PageSourceSearch

https://buddy-fc.com/wp-content/plugins/dp-ex-shortcodes/inc/js/script.min.js

js buddy-fc.com collected 2026-10-04 04:37:32 UTC 16,785 bytes, 1 lines download raw bytes

1var j$=jQuery,mainBody=j$("body"),faqMqWidth=736,skillsDiv=j$(".dp_sc_skillbars"),circularSkillDiv=j$(".dp_sc_skillcircles"),countUpDiv=j$(".dp_sc_countup"),faqDiv=j$(".dp_sc_faq"),faqCatDiv=j$(".dp_sc_faq_cats"),faqCat=j$(".dp_sc_faq_cat"),faqTitle=j$(".dp_sc_faq_trigger"),faqItemUl=j$(".dp_sc_faq_item_ul"),faqContent=j$(".dp_sc_faq_content"),faqMqClose=j$(".dp_sc_faq_mq_close"),timeLineItems=document.querySelectorAll(".fadefx > .tl_item"),cssSliderHashLinks=document.querySelectorAll(".dp_sc_css_slider .to_target_slide"),dpScRvBarTxt=document.querySelectorAll(".dp_sc_txtrevealbar"),dpScTxtReveal=document.querySelectorAll(".dp_sc_txtreveal"),dpScImgCompareItems=document.querySelectorAll(".dp_sc__imgcompare");function dp_ex_sc_accordion(){Array.prototype.forEach.call(document.querySelectorAll(".dp_sc_acdn_dl"),function(a){if(a.classList.contains("acdn")){let dts=a.querySelectorAll(".dp_sc_acdn_dt");Array.prototype.forEach.call(dts,function(d,c,b){d.addEventListener("click",function(){if(this.classList.contains("in-open")){return}let currentDt=this,dp_ex_sc_accordion_timer;Array.prototype.forEach.call(dts,function(f){f.classList.remove("in-open")});this.classList.add("in-open");clearTimeout(dp_ex_sc_accordion_timer);dp_ex_sc_accordion_timer=setTimeout(function(){let rect=currentDt.getBoundingClientRect(),scrollTop=window.pageYOffset||document.documentElement.scrollTop,thisDtTop=rect.top+scrollTop;j$("html,body").animate({scrollTop:thisDtTop-100},300)},410)})})}else{if(a.classList.contains("tgl")){Array.prototype.forEach.call(a.querySelectorAll(".dp_sc_acdn_dt"),function(d,c,b){d.addEventListener("click",function(){this.classList.toggle("in-open")})})}}})}function dp_ex_sc_tab(){let tabs=document.querySelectorAll(".dp_sc_tab");if(!tabs){return}Array.prototype.forEach.call(tabs,function(d,c,b){let tab=d.querySelectorAll('[role="tab"]'),tabPanel=d.querySelectorAll('[role="tabpanel"]');Array.prototype.forEach.call(tab,function(h,g,f){h.addEventListener("click",function(){let isSelect=h.getAttribute("aria-selected");if(isSelect==="true"){return}let id=h.getAttribute("aria-controls"),targetPanel=document.getElementById(id);Array.prototype.forEach.call(tab,function(l,k,j){l.setAttribute("aria-selected",fal
1se)});h.setAttribute("aria-selected",true);Array.prototype.forEach.call(tabPanel,function(l,k,j){l.setAttribute("aria-hidden",true)});targetPanel.setAttribute("aria-hidden",false)})})})}function dp_ex_sc_slideshow(){let objSlider=j$(".dp_sc_slideshow");objSlider.each(function(){let sliderHeight=0,current=j$(this),currentWidth=current.width(),currentHeight=current.height(),currentSlider=current.find(".bjqs"),bjParent=null,fx=current.data("fx"),speed=current.data("speed"),duration=current.data("duration"),autoplay=current.data("autoplay"),control=current.data("control"),centerCtrl=current.data("center-ctrl"),nextText=current.data("next-text"),prevText=current.data("prev-text"),pageNavi=current.data("pagenavi"),centerMarkers=current.data("center-markers"),hoverPause=current.data("hover-pause"),captions=current.data("captions"),random=current.data("random"),responsive=current.data("responsive");current.bjqs({animtype:fx,animspeed:speed,animduration:duration,automatic:autoplay,showcontrols:control,centercontrols:centerCtrl,nexttext:nextText,prevtext:prevText,showmarkers:pageNavi,centermarkers:centerMarkers,hoverpause:hoverPause,usecaptions:captions,randomstart:random,responsive:responsive,width:currentWidth,height:currentHeight});current.removeClass("loading").addClass("loaded")})}function dp_ex_sc_table_show(){j$(".dp_sc_table").each(function(){let current=j$(this);if(current.hasClass("sortable")){current.tablesorter()}})}j$.fn.dp_ex_sc_highlighter=function(a){a=j$.extend({time:3000,fadetime:2000,type:"default",fx:"fade",pause:0,loop:1},a||{});this.each(function(){var e=j$(this);var c=0;var b=1;var d=1;var f="hl-1";e.fadeIn(1200);function g(h){if(f=="hl-"+d){switch(a.type){case"slideshow":h.css("z-index",0);h.eq(d-1).css("z-index",10);h.stop().animate({opacity:0}
1,a.fadetime,"easeOutCubic");h.eq(d-1).stop().animate({opacity:1},a.fadetime,"easeOutCubic");break;default:h.stop().animate({opacity:0},a.fadetime,"easeOutCubic");setTimeout(function(){h.css("z-index",0);h.eq(d-1).css("z-index",10);h.eq(d-1).stop().animate({opacity:1},a.fadetime,"easeOutCubic")},a.fadetime);break}}if(d==b-1){f="hl-1";d=1}else{f="hl-"+(d+1);d++}setTimeout(g,a.time+a.fadetime,h)}j$(".dp_sc_highlight",this).each(function(){if(j$(this).height()>c){c=j$(this).height()}e.height(c);j$(this).addClass("hl-"+b);b++});switch(a.fx){case"slide":transition_fx="";break;default:transition_fx="";break}setTimeout(g,1500,j$(".dp_sc_highlight",this))})};function dp_ex_sc_highlighter(){j$(".dp_sc_highlighter").each(function(){let current=j$(this);current.dp_ex_sc_highlighter({time:current.data("time"),fadetime:current.data("fadetime"),type:current.data("type"),fx:current.data("fx"),loop:current.data("loop")})})}function dp_ex_sc_skillbar(a){if(skillsDiv[0]){let skillsT=null;skillsDiv.each(function(){let currentDiv=j$(this);if(dp_ex_sc_is_element_in_viewport(this,200)||a){if(!currentDiv.hasClass("done")){currentDiv.find(".skillbar").each(function(){j$(this).find(".bar").css({width:j$(this).data("percent")})});currentDiv.addClass("done")}}})}}function dp_ex_sc_circular_skillbar(a){if(circularSkillDiv[0]){let skillsT=null,size=0,rate=0,thickness=0,duration=0,startRate=0,startAngle=0,reverse=false,barColorParam="",barColor="",barColor2="",blankColor="";circularSkillDiv.each(function(){let currentDiv=j$(this);if(dp_ex_sc_is_element_in_viewport(this,200)||a){if(!currentDiv.hasClass("done")){currentDiv.find(".scircle").each(function(){let currentBar=j$(this);size=currentBar.data("size");size=size!==undefined?parseInt(size,10):120;rate=currentBar.data("rate");rate=rate!==undefined?parseFloat(rate):0;thickness=currentBar.data("thickness");thickness=thickness!==undefined?parseInt(thickness,10):"auto";duration=currentBar.data("duration");duration=duration!==undefined?parseInt(duration,10):1200;startRate=currentBar.data("start-rate");startRate=startRate!==undefined?parseFloat(startRate):1;startAngle=currentBar.data("start-angle");startAngle=startAngle!==undefined?parseFloat(startAngle):90;startRate=currentBar.data("start-rate");startRate=startRate!==undefined?parseFloat(startRate):0;reverse=currentBar.data("reverse");reverse=reverse!==undefined?true:false;barColor=currentBar.data("fill-color");barColor=barColor!==undefined?barColor:"#82daca";barColor2=currentBar.data("fill-color2");if(barColor2!==undefined){barColor2=barColor2}else{barColor2=barColor}blankColor=currentBar.data("blank-color");blankColor=blankColor!==undefined?blankColor:"rgba(0,0,0,0.1)";currentBar.circleProgress({value:rate,size:size,animationStartValue:startRate,reverse:reverse,thickness:thickness,startAngle:-(startAngle*Math.PI/180),fill:{gradient:[barColor,barColor2]},emptyFill:blankColor,animation:{duration:duration}}).on("circle-animation-progress",function(d,c,b){currentBar.find(".rate-num").text(String(Math.floor(b*100)))});currentBar.addClass("show")});currentDiv.addClass("done")}}})}}function dp_ex_sc_countup(a){if(countUpDiv[0]){let counterT=null,countNum=0,params="",decimal=0,duration=1,minstep=1,maxstep=100;countUpDiv.each(function(){let currentDiv=j$(this);if(!currentDiv.hasClass("done")){if(dp_ex_sc_is_element_in_viewport(this,200)||a){currentDiv.find(".counter").each(function(){let counter=j$(this);countNum=parseFloat(counter.data("count"));decimal=counter.data("decimal");decimal=decimal!==undefined?parseInt(decimal,10):0;maxstep=counter.data("maxstep");maxstep=maxstep!==undefined?parseInt(maxstep,10):100;minstep=counter.data("minstep");minstep=minstep!==undefined?parseInt(minstep,10):1;duration=counter.data("duration");duration=duration!==undefined?parseInt(duration,10):1;counter.find(".count_num").countTo(countNum,{decimals:decimal,min_steps:minstep,max_steps:maxstep,duration:duration})});currentDiv.addClass("done")}}})}}function dp_ex_sc_crtable_scroll_right_end(){let table_wrapper=j$(".crtable_wrapper");if(table_wrapper[0]){table_wrapper.each(function(){let current=j$(this),col_num=current.find(".crtable_col").length;current.on("scroll",function(a){parent_table=current.parent(".dp_sc_crtable");let total_table_width=parseInt(current.children(".crtable_container").css("width").replace("px","")),table_viewport=parseInt(parent_table.css("width").replace("px",""));if(current.scrollLeft()>=total_table_width-table_viewport-col_num){parent_table.addClass("scrl-end")}else{parent_table.removeClass("scrl-end")}})})}}
1function dp_ex_sc_faq(){if(!faqDiv[0]&&!faqCatDiv[0]){return}let winW=window.innerWidth||document.documentElement.clientWidth,floatSelector="float";if(winW>faqMqWidth){faqTitle.on("click.faqTitle",function(b){var a=j$(this);a.toggleClass("open");a.next().slideToggle(200)})}else{faqCatDiv.removeClass(floatSelector).css({top:"auto",left:"auto"})}faqCatDiv.find("a").on("click.faqCatDiv",function(a){a.preventDefault();let current=j$(this),target=current.attr("href");target=j$(target);if(winW>faqMqWidth){let speed=200,position=target.offset().top-120;j$("body,html").animate({scrollTop:position},speed,"linear");return false}else{let faqItems=current.parent().parent().next(".dp_sc_faq_items");mainBody.addClass("dp_sc_body_overlay");faqCatDiv.addClass("block");faqMqClose.addClass("show");faqItems.addClass("opened").scrollTop(0);faqItems.children(".dp_sc_faq_item_ul").hide();target.show()}})}function dp_ex_sc_faq_scroll(a){if(!faqDiv[0]&&!faqCatDiv[0]){return}let floatSelector="float",topMargin=125,faqDivTop=null,faqDivBottom=null,currentBottom=null;faqDiv.each(function(){let currentFaq=j$(this);faqDivTop=currentFaq.offset().top;faqDivBottom=faqDivTop+currentFaq.height();currentFaq.children(".dp_sc_faq_cats").each(function(){let currentCats=j$(this),currentTop=currentCats.offset().top;currentBottom=a+currentCats.height()+topMargin;if(currentTop-topMargin<=a&&faqDivTop-topMargin<=a){currentCats.addClass(floatSelector).css({left:faqDiv.offset().left});if(currentBottom<faqDivBottom){currentCats.css({top:topMargin})}else{currentCats.css({top:topMargin-(currentBottom-faqDivBottom)})}}else{currentCats.removeClass(floatSelector).css({top:0,left:0})}})})}function dp_ex_sc_faq_resize(){if(!faqDiv[0]&&!faqCatDiv[0]){return}let winW=window.innerWidth||document.documentElement.clientWidth,floatSelector="float";if(winW>faqMqWidth){faqItemUl.show();faqContent.hide();faqCat.removeClass("selected")}else{faqContent.show();faqCatDiv.removeClass(floatSelector).css({top:"auto",left:"auto"})}faqCatDiv.find("a").off("click.faqCatDiv");faqTitle.off("click.faqTitle");dp_ex_sc_faq()}function dp_ex_sc_faq_select_category(a){if(!faqDiv[0]&&!faqCatDiv[0]){return}let topMargin=120;faqItemUl.each(function(){let current=j$(this),activeCategory=faqCatDiv.find('a[href="#'+current.attr("id")+'"]'),topSection=(activeCategory.parent("li").is(":first-child"))?0:Math.round(current.offset().top);if((topSection-topMargin-20<a)&&(Math.round(current.offset().top)+current.height()-topMargin-20>a)){activeCategory.addClass("selected")}else{activeCategory.removeClass("selected")}})}function dp_ex_sc_url_navigate(a){if(!a[0]){return}a.each(function(){let current=j$(this),url=current.data("link");if(url){current.on("click",function(b){if(current.data("link-ext")){window.open(url,"_blank")}else{window.location=url}})}})}function dp_ex_sc_sticky_content(c){if(typeof StickySidebar=="undefined"){return}let txtFadingDiv=document.querySelectorAll(c);if(txtFadingDiv.length==0){return}function d(){let thresholds=[];let numSteps=20;for(let i=1;i<=numSteps;i++){let ratio=i/numSteps;thresholds.push(ratio)}return thresholds}function e(f){Array.prototype.forEach.call(f,function(g){if(g.isIntersecting){g.target.style.setProperty("--bg-position",Math.round(g.intersectionRatio*100)+"%")}})}const b={root:null,rootMargin:"0px 0px -10% 0px",threshold:d()};const a=new IntersectionObserver(e,b);Array.prototype.forEach.call(txtFadingDiv,function(f){let mgTop=f.dataset.topSpacing||200,mgBtm=f.dataset.btmSpacing||80;let sticky=new StickySidebar("#"+f.id+" .sticky__content",{topSpacing:mgTop,bottomSpacing:mgBtm,containerSelector:"#"+f.id,innerWrapperSelector:"#"+f.id+" .sticky__inner"});let scrolled=0,cHeight=0,si=f.querySelector(".sticky__inner"),fText=si.querySelector(".fade-text"),imgSrc=si.querySelector(".latter-img"),rectCur=f.getBoundingClientRect(),rectFText=fText.getBoundingClientRect(),rectSi=si.getBoundingClientRect();let ticking=false;if(imgSrc!=null){let img=new Image();img.onload=function(){sticky.updateSticky()};img.src=imgSrc.getAttribute("src")}a.observe(f);let queue;let wait=Math.floor(1000/60*10);window.addEventListener("resize",function(g){if(queue!==false){clearTimeout(queue)}queue=setTimeout(function(){sticky.updateSticky()},wait)})})}function dp_ex_sc_is_element_in_viewport(a,b){let rect=a.getBoundingClientRect();b=b||0;return(rect.top>=0&&rect.left>=0&&rect.top+b<=(window.innerHeight||document.documentElement.clientHeight)&&rect.right<=(window.innerWidth||document.documentElement.clientWidth))}
1function dp_ex_sc_css_slider_disable_hashlink(a){if(a.length===0){return}Array.prototype.forEach.call(a,function(b){b.addEventListener("click",function(c){let id=b.getAttribute("href").substr(1),target=document.getElementById(id),parent=target.parentNode,slides=parent.children;if(!target.classList.contains("target")){Array.prototype.forEach.call(slides,function(d){d.classList.remove("target")});target.classList.add("target")}c.preventDefault()})})}function dp_ex_sc_txtrevealbar(a){Array.prototype.forEach.call(a,function(b){if(b.isIntersecting){b.target.classList.add("is-show","in-view")}})}function dp_sc_imgcompare(a){if(typeof ImageCompare=="undefined"){return}Array.prototype.forEach.call(a,function(c){const b={controlColor:c.dataset.controlColor,controlShadow:c.dataset.controlShadow=="false"||c.dataset.controlShadow==0?false:true,addCircle:c.dataset.addCircle=="true"||c.dataset.addCircle==1?true:false,addCircleBlur:c.dataset.addCircleBlur=="false"||c.dataset.addCircleBlur==0?false:true,showLabels:c.dataset.showLabels=="true"||c.dataset.showLabels==1?true:false,labelOptions:{before:c.dataset.labelBefore,after:c.dataset.labelAfter,onHover:c.dataset.labelOnHover=="true"||c.dataset.labelOnHover==1?true:false},smoothing:c.dataset.smoothing=="false"||c.dataset.smoothing==0?false:true,smoothingAmount:parseInt(c.dataset.smoothingAmount),hoverStart:c.dataset.hoverStart=="true"||c.dataset.hoverStart==1?true:false,verticalMode:c.dataset.verticalMode=="true"||c.dataset.verticalMode==1?true:false,startingPoint:parseInt(c.dataset.startingPoint)};let view=new ImageCompare(c,b).mount()})}function dp_ex_sc_load_event(){dp_ex_sc_slideshow();dp_ex_sc_highlighter()}let dpScResizeTimer;let dpScResizeWait=Math.floor(1000/60*10);function dp_ex_sc_resize_event(){if(dpScResizeTimer!==false){clearTimeout(dpScResizeTimer)}dpScResizeTimer=setTimeout(function(){dp_ex_sc_faq_resize()},dpScResizeWait)}let dpExScScrollFrameId;function dp_ex_sc_scroll_event(a){cancelAnimationFrame(dpExScScrollFrameId);dpExScScrollFrameId=window.requestAnimationFrame(function(){let scrollTop=document.documentElement.scrollTop||document.body.scrollTop;dp_ex_sc_skillbar(this.immediately);dp_ex_sc_circular_skillbar(this.immediately);dp_ex_sc_countup(this.immediately);if(window.innerWidth>faqMqWidth||document.documentElement.clientWidth>faqMqWidth){dp_ex_sc_faq_scroll(scrollTop);dp_ex_sc_faq_select_category(scrollTop)}})}window.addEventListener("load",dp_ex_sc_load_event);window.addEventListener("resize",dp_ex_sc_resize_event);window.addEventListener("scroll",{handleEvent:dp_ex_sc_scroll_event,immediately:false});window.dispatchEvent(new Event("scroll"));(function(){dp_ex_sc_accordion();dp_ex_sc_tab();dp_ex_sc_table_show();dp_ex_sc_crtable_scroll_right_end();dp_ex_sc_faq();dp_ex_sc_url_navigate(j$(".dp_sc_flip_card").find(".card_item"));dp_ex_sc_url_navigate(j$(".dp_sc_spanel").find(".spanel_item"));dp_ex_sc_css_slider_disable_hashlink(cssSliderHashLinks);dp_ex_sc_sticky_content(".dp_sc_txtfading");dp_sc_imgcompare(dpScImgCompareItems);const b={rootMargin:"0px 0px -20% 0px"};const a=new IntersectionObserver(dp_ex_sc_txtrevealbar,b);Array.prototype.forEach.call(dpScRvBarTxt,function(c){a.observe(c)});Array.prototype.forEach.call(dpScTxtReveal,function(c){a.observe(c)});Array.prototype.forEach.call(timeLineItems,function(c){a.observe(c)});mainBody.on("click touchstart",function(c){if(j$(c.target).is("body.dp_sc_body_overlay")||j$(c.target).is(".dp_sc_faq_mq_close")){c.stopPropagation();j$(this).removeClass("dp_sc_body_overlay");faqMqClose.removeClass("show");j$(".dp_sc_faq_items").removeClass("opened");setTimeout(function(){faqCatDiv.removeClass("block")},200)}})})();

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.