// source --> https://www.fengshuilondon.net/wp-content/themes/vantage/premium/extras/mobilenav/js/mobilenav.min.js?ver=2.2 

jQuery(function($){$.fn.mnShowFrame=function(){$("html, body").scrollTop(0);var $$=$(this);$$.css({right:$(document).width()}).show().animate({right:0},'fast',function(){$(window).resize();});return $$;};$.fn.mnHideFrame=function(){var $$=$(this);$$.add('.mobile-nav-frame').css({right:0}).animate({right:$(document).width()},'fast',function(){$(this).hide();$(window).resize();});$('body').animate({'padding-left':0},'fast');};var doneIds=[];$('.so-mobilenav-standard').each(function(){var id=$(this).data('id');if(typeof doneIds[id]!='undefined')return true;else{doneIds[id]=true;}
var $nav=$(this).next();var $mnav=$('#so-mobilenav-mobile-'+id).next();var frame;$(document).on('click','a.mobilenav-main-link[data-id="'+id+'"]',function(event){event.preventDefault();if(frame==null){frame=$('<div class="mobile-nav-frame"><div class="title"><h3>'+mobileNav.text.navigate+'</h3></div><div class="slides"><div class="slides-container"></div></div></div>').appendTo('body');frame.find('.title').prepend('<a href="#" class="back">&larr;</a><a href="#" class="close">X</a>')
$("<form method='get' action='"+mobileNav.search.url+"' class='search'>"+"<input type='search' placeholder='"+mobileNav.search.placeholder+"' results='5' name='s' />"+"<input type='submit' class='search-submit' /> "+"</form>").insertAfter(frame.find('.title'));frame.find('.close').click(function(event){event.preventDefault();frame.mnHideFrame();});$(window).resize(function(){if(!frame.is(':visible'))return;frame.hide();frame.height($(document).height());frame.width($(window).width());frame.show();});$('body').bind('orientationchange',function(){$(window).resize();});activeSlide=null;showSlide=function(i){$("html, body").scrollTop(0);frame.find('.slides-container .slide').hide();activeSlide=frame.find('.slides-container .slide').eq(i).show();if(i==0)frame.find('a.back').hide();else frame.find('a.back').show();if(i!=0){frame.find('.title h3').html(activeSlide.data('title'));}
else{frame.find('.title h3').html(mobileNav.text.navigate);}}
frame.find('a.back').click(function(){var parent=activeSlide.data('parent-slide');if(parent!=undefined){showSlide(parent);}
return false;});var createMenu=function(root){var slide=$('<div class="slide"><ul class="mobile"></ul></div>').appendTo(frame.find('.slides-container'));root.find('> li').each(function(){var $$=$(this);var ln=$('<a></a>').html($$.find('> a').html()).attr('href',$$.find('> a').attr('href')).addClass('link');var li=$('<li></li>').append(ln);slide.find('ul').append(li);if($$.find('> ul').length>0){var image=$('<img />').attr('src',mobileNav.nextIconUrl).attr('width',18).attr('height',26);var next=$('<a href="#" class="next"></a>').append(image);li.prepend(next);var child=$$.find('> ul').eq(0);var childSlide=createMenu(child);childSlide.data('parent-slide',slide.index());childSlide.data('title',ln.html());li.find('a.next').click(function(){showSlide(childSlide.index());return false;});li.find('a[href="#"]').not('.next').click(function(){next.click();return false;});}});return slide;}
createMenu($nav.find('ul').eq(0));showSlide(0);}
$(window).resize();frame.mnShowFrame();showSlide(0);return false;});});});
// source --> https://www.fengshuilondon.net/wp-includes/js/wp-embed.min.js?ver=6.9.4 
/*! This file is auto-generated */
!function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document);