-1)return e2[t].src.substring(e2[t].src.indexOf("shop=")+5,e2[t].src.length);return document.domain}function tuuu(e2,a2){(e2=String(e2).replace(/[^0-9a-f]/gi,"")).length<6&&(e2=e2[0]+e2[0]+e2[1]+e2[1]+e2[2]+e2[2]),a2=a2||0;var t,n2,r2="#";for(n2=0;n2<3;n2++)t=parseInt(e2.substr(2*n2,2),16),r2+=("00"+(t=Math.round(Math.min(Math.max(0,t+t*a2),255)).toString(16))).substr(t.length);return r2}function r(e2,a2){var t=new XMLHttpRequest;t.open("GET",e2),t.setRequestHeader("X-Requested-With","XMLHttpRequest"),a2&&(t.onload=function(){t.readyState==4&&t.status==200||t.status==401?a2(null,t.responseText):a2(t.status,t.responseText)}),t.send()}function e(){return new Promise(function(n2,e2){r("/index.json?q="+d.id+"&view=pwhatsapp&cache=false",function(e3,a2){var t=!1;e3==null&&(a2=function(e4){e4=e4.replace(//gm,"");try{return JSON.parse(e4)}catch{var siteoriginn="https://way2enjoy.com/shopify/1/whatsapp-chat/",resultuu="";jQuery.ajax({url:siteoriginn+"pab_get_chat.php?shop="+pouty(),method:"GET",dataType:"json",async:!1,success:function(euup){resultuu=JSON.stringify(euup)},error:function(){console.log("Error")}});var resultuuppp="",resultuuppp=resultuu,epo=resultuuppp.replace(//gm,"");return JSON.parse(epo)}}(a2))&&(d.shop=a2.metafields.shop,d.settings=a2.metafields.settings,d.settings.charge==0&&(d.settings.block_order=d.settings.block_order.slice(0,1)),t=!0),n2(t)})})}function _(){return d.settings.charge==0?'':""}function o(){if(setTimeout(function(){jQuery("#pushdaddy-share").addClass("hide_share")},d.settings.style.customized.auto_hide_share),d.settings.style.customized.share_icons_display!="Whatsapp"&&d.settings.style.customized.updown_share=="30")var share_position_finaal="60";else var share_position_finaal=d.settings.style.customized.updown_share;var share_position="#pushdaddy-share{bottom: "+share_position_finaal+"%;}";if(setTimeout(function(){jQuery("head").append("")},400),d.settings.style.customized.share_icons_display=="Whatsapp"){var e2='<%= widget_share_label %><%= widget_whatsapp_icon %>
';return e2=e2.replace(/<%= widget_share_label %>/g,d.settings.share.texts.button.length?''+d.settings.share.texts.button+"
":"").replace(/<%= widget_whatsapp_icon %>/g,' ')}else{if(d.settings.style.customized.share_trans!="1"&&d.settings.style.customized.share_trans!="")var sharebggg="";else var sharebggg="background-color: transparent;";var onlysizeee=d.settings.style.customized.share_size+"px";if(d.settings.style.customized.share_radius!="")var final_share_radius=d.settings.style.customized.share_radius;else var final_share_radius="0";var share_iconnss=d.settings.style.customized.share_icons_display,sizingggg='style="width:'+d.settings.style.customized.share_size+"px;height:"+d.settings.style.customized.share_size+"px;line-height:"+d.settings.style.customized.share_size+"px;border-radius: "+final_share_radius+"%; "+sharebggg+'"',siteaddress=window.location;if(share_iconnss.indexOf("Telegram")!==-1)var linksharewapp="https://telegram.me/share/url?url="+siteaddress,telegramss=' ';if(share_iconnss.indexOf("Whatsapp")!==-1){var opoaluu=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/.test(navigator.userAgent)&&!window.MSStream,IOS=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;if(opoaluu==!0)if(IOS==!0)var pathhhughgg="whatsapp://send";else var pathhhughgg="https://api.whatsapp.com/send";else var pathhhughgg="https://web.whatsapp.com/send";var linksharewapp=pathhhughgg+"?text="+siteaddress,whatsapp=' '}if(share_iconnss.indexOf("Facebook")!==-1)var linksharewapp="https://www.facebook.com/sharer/sharer.php?u="+siteaddress,facebook=' ';if(share_iconnss.indexOf("Instagram")!==-1)var linksharewapp="https://web.whatsapp.com/send?text="+siteaddress,instagram=' ';if(share_iconnss.indexOf("Twitter")!==-1)var linksharewapp="https://twitter.com/intent/tweet?url="+siteaddress,twitter='';if(share_iconnss.indexOf("Pinterest")!==-1)var linksharewapp="http://pinterest.com/pin/create/button/?url="+siteaddress,pinterest=' ';if(share_iconnss.indexOf("Reddit")!==-1)var linksharewapp="https://reddit.com/submit?url="+siteaddress,reddit=' ';if(share_iconnss.indexOf("VK")!==-1)var linksharewapp="https://vk.com/share.php?act=count&url="+siteaddress,vk=' ';if(share_iconnss.indexOf("Snapchat")!==-1)var linksharewapp="https://snapchat.com/scan?attachmentUrl="+siteaddress,snapchat=' ';if(share_iconnss.indexOf("Wechat")!==-1)var linksharewapp="https://web.whatsapp.com/send?text="+siteaddress,wechat=' ';var final_ee=''+whatsapp+" "+facebook+" "+instagram+" "+twitter+" "+pinterest+" "+reddit+" "+vk+" "+snapchat+" "+wechat+" "+telegramss+" ",e2=final_ee.replace("undefined","").replace("undefined","").replace("undefined","").replace("undefined","").replace("undefined","").replace("undefined","").replace("undefined","").replace("undefined","").replace("undefined","").replace("undefined","");return e2}}function g(){if(d.settings.style.customized.font_size=="")var label_fontsizee="font-size: 14px;";else var label_fontsizee="font-size: "+d.settings.style.customized.font_size+"px;";if(d.settings.style.pattern=="100")var colooorrs=d.settings.style.customized.secondary_button_tcolor;else var colooorrs="#FFFFFF";var final_background_img_url=d.settings.style.customized.background_img,final_background_img_url2=d.settings.style.customized.background_img_main;if(d.settings.style.customized.icon_width<=70){var smallimgiconpp=d.settings.style.customized.background_img_main;if(smallimgiconpp.match("1905.png"))var final_widthhhtt="70",final_heighttt="70";else var final_heighttt=d.settings.style.customized.icon_width;var svg_imgggg_width_height=d.settings.style.customized.icon_width*.6,svg_imgggg_marginn=d.settings.style.customized.icon_width*.3,leeftt_marginnn="50";if(d.settings.desktop.position!="left"){var lable_marginnn=d.settings.style.customized.icon_width/4;if(d.settings.style.customized.leftt_rightt<=50)var left_right_secondary_first="right";else var left_right_secondary_first="left";if(d.settings.style.customized.leftt_rightt_sec<=50)var left_right_secondary="right";else var left_right_secondary="left";var left_right_secondary_first2=d.settings.style.customized.final_leftright_second_position,lable_rightt_marginnn_secon=""+left_right_secondary_first2+": 100%;"}else{var lable_marginnn=d.settings.style.customized.icon_width/4;if(d.settings.style.customized.leftt_rightt<=50)var left_right_secondary_first="left";else var left_right_secondary_first="right";if(d.settings.style.customized.leftt_rightt_sec<=50)var left_right_secondary="right";else var left_right_secondary="left";var left_right_secondary_first2=d.settings.style.customized.final_leftright_second_position,lable_rightt_marginnn_secon=""+left_right_secondary_first2+": 100%;"}var lable_rightt_marginnn=";",lable_paddinggg1=d.settings.style.customized.icon_width/6,lable_paddinggg2=d.settings.style.customized.icon_width/4,lable_bgroundcolor=";";if(d.settings.style.customized.remove_bg=="1")var lable_bgroundcolor2="background-color: transparent;color: "+colooorrs+";box-shadow:none;";else var lable_bgroundcolor2="background-color: "+d.settings.style.customized.secondary_button_bgcolor+";color: "+colooorrs+";box-shadow:none;";var lable_bgroundcolor21="background-color: transparent;color: "+d.settings.style.customized.secondary_button_lcolor+";box-shadow:none;"}else{var final_widthhhtt=d.settings.style.customized.icon_width;if(d.settings.style.customized.icon_width<=130){if(d.settings.style.customized.compact_normal=="0")var final_heighttt=d.settings.style.customized.icon_width/3;else if(d.settings.style.customized.compact_normal=="1")var final_heighttt=parseFloat(d.settings.style.customized.icon_width/3,10)-5;else if(d.settings.style.customized.compact_normal=="2")var final_heighttt=parseFloat(d.settings.style.customized.icon_width/3,10)-10;else if(d.settings.style.customized.compact_normal=="3")var final_heighttt=d.settings.style.customized.icon_width/2;else var final_heighttt=d.settings.style.customized.icon_width/3;var svg_imgggg_width_height=d.settings.style.customized.icon_width*.2,svg_imgggg_marginn=d.settings.style.customized.icon_width*.1,leeftt_marginnn=d.settings.style.customized.icon_position;if(d.settings.desktop.position!="left"){if(d.settings.style.customized.leftt_rightt<=50)var lable_rightt_marginnn="right: unset;",left_right_secondary_first="right";else var lable_rightt_marginnn="right: unset;",left_right_secondary_first="left";if(d.settings.style.customized.leftt_rightt_sec<=50)var left_right_secondary="right",lable_rightt_marginnn_secon="right: unset;";else var left_right_secondary="left",lable_rightt_marginnn_secon="right: unset;";var left_right_secondary_first2=d.settings.style.customized.final_leftright_second_position}else{if(d.settings.style.customized.leftt_rightt<=50)var lable_rightt_marginnn="left: unset;",left_right_secondary_first="left";else var lable_rightt_marginnn="left: unset;",left_right_secondary_first="right";if(d.settings.style.customized.leftt_rightt_sec<=50)var left_right_secondary="right",lable_rightt_marginnn_secon="right: unset;";else var left_right_secondary="left",lable_rightt_marginnn_secon="right: unset;";var left_right_secondary_first2=d.settings.style.customized.final_leftright_second_position}var lable_paddinggg1="4",lable_paddinggg2="4",lable_bgroundcolor="background-color: transparent;color: "+d.settings.style.customized.chatnow_color+";box-shadow:none;";if(d.settings.style.customized.remove_bg=="1")var lable_bgroundcolor2="background-color: transparent;color: "+colooorrs+";box-shadow:none;";else var lable_bgroundcolor2="background-color: "+d.settings.style.customized.secondary_button_bgcolor+";color: "+colooorrs+";box-shadow:none;";var lable_bgroundcolor21="background-color: transparent;color: "+d.settings.style.customized.secondary_button_lcolor+";box-shadow:none;",lable_marginnn=parseFloat(d.settings.style.customized.icon_width*.3,10)-5}else{if(d.settings.style.customized.compact_normal=="0")var final_heighttt=45;else if(d.settings.style.customized.compact_normal=="1")var final_heighttt=35;else if(d.settings.style.customized.compact_normal=="2")var final_heighttt=30;else if(d.settings.style.customized.compact_normal=="3")var final_heighttt=55;else var final_heighttt=d.settings.style.customized.icon_width/3;var svg_imgggg_width_height="26",svg_imgggg_marginn="13",leeftt_marginnn=d.settings.style.customized.icon_position;if(d.settings.desktop.position!="left"){if(d.settings.style.customized.leftt_rightt<=50)var lable_rightt_marginnn="right: unset;",left_right_secondary_first="right";else var lable_rightt_marginnn="right: unset;",left_right_secondary_first="left";if(d.settings.style.customized.leftt_rightt_sec<=50)var left_right_secondary="right",lable_rightt_marginnn_secon="right: unset;";else var left_right_secondary="left",lable_rightt_marginnn_secon="right: unset;";var left_right_secondary_first2=d.settings.style.customized.final_leftright_second_position}else{if(d.settings.style.customized.leftt_rightt<=50)var lable_rightt_marginnn="left: unset;",left_right_secondary_first="left";else var lable_rightt_marginnn="left: unset;",left_right_secondary_first="right";if(d.settings.style.customized.leftt_rightt_sec<=50)var left_right_secondary="right",lable_rightt_marginnn_secon="right: unset;";else var left_right_secondary="left",lable_rightt_marginnn_secon="right: unset;";var left_right_secondary_first2=d.settings.style.customized.final_leftright_second_position}var lable_paddinggg1="4",lable_paddinggg2="4",lable_bgroundcolor="background-color: transparent;color: "+d.settings.style.customized.chatnow_color+";box-shadow:none;";if(d.settings.style.customized.remove_bg=="1")var lable_bgroundcolor2="background-color: transparent;color: "+colooorrs+";box-shadow:none;";else var lable_bgroundcolor2="background-color: "+d.settings.style.customized.secondary_button_bgcolor+";color: "+colooorrs+";box-shadow:none;";var lable_bgroundcolor21="background-color: transparent;color: "+d.settings.style.customized.secondary_button_lcolor+";box-shadow:none;",lable_marginnn="34"}}if(d.settings.style.customized.leftright_label==""||d.settings.style.customized.leftright_label=="0"||d.settings.style.customized.leftright_label===void 0)var lable_marginnn_finnnnn=lable_marginnn;else var lable_marginnn_finnnnn=d.settings.style.customized.leftright_label;if(d.settings.style.customized.compact_normal=="3")if(d.settings.style.customized.icon_width>=70){var svg_imgggg_width_height_finaluu=svg_imgggg_width_height*1.4;if(svg_imgggg_width_height_finaluu<="25")var svg_imgggg_width_height_final="25";else var svg_imgggg_width_height_final=svg_imgggg_width_height_finaluu;var lable_marginnn_finnnnn_finaaalll=parseFloat(lable_marginnn_finnnnn,10)+6,svg_imgggg_marginn=svg_imgggg_width_height_final/2,svg_imgggg_marginn1_final=svg_imgggg_marginn}else var svg_imgggg_width_height_final=svg_imgggg_width_height*1.4,lable_marginnn_finnnnn_finaaalll="10",svg_imgggg_marginn=svg_imgggg_width_height_final/2,svg_imgggg_marginn1_final=svg_imgggg_marginn;else if(d.settings.style.customized.compact_normal=="0")if(d.settings.style.customized.icon_width>=70){var svg_imgggg_width_height_finaluu=svg_imgggg_width_height*1.2;if(svg_imgggg_width_height_finaluu<="25")var svg_imgggg_width_height_final="25";else var svg_imgggg_width_height_final=svg_imgggg_width_height_finaluu;var lable_marginnn_finnnnn_finaaalll=parseFloat(lable_marginnn_finnnnn,10),svg_imgggg_marginn=svg_imgggg_width_height_final/2,svg_imgggg_marginn1_final=svg_imgggg_marginn}else var svg_imgggg_width_height_final=svg_imgggg_width_height*1.2,lable_marginnn_finnnnn_finaaalll="10",svg_imgggg_marginn=svg_imgggg_width_height_final/2,svg_imgggg_marginn1_final=svg_imgggg_marginn;else if(d.settings.style.customized.compact_normal=="1")if(d.settings.style.customized.icon_width>=70){var svg_imgggg_width_height_finaluu=svg_imgggg_width_height*1.1;if(svg_imgggg_width_height_finaluu<="25")var svg_imgggg_width_height_final="25";else var svg_imgggg_width_height_final=svg_imgggg_width_height_finaluu;var lable_marginnn_finnnnn_finaaalll=parseFloat(lable_marginnn_finnnnn,10),svg_imgggg_marginn=svg_imgggg_width_height_final/2,svg_imgggg_marginn1_final=svg_imgggg_marginn}else var svg_imgggg_width_height_final=svg_imgggg_width_height*1.1,lable_marginnn_finnnnn_finaaalll="10",svg_imgggg_marginn=svg_imgggg_width_height_final/2,svg_imgggg_marginn1_final=svg_imgggg_marginn;else if(d.settings.style.customized.compact_normal=="2")if(d.settings.style.customized.icon_width>=70){var svg_imgggg_width_height_finaluu=svg_imgggg_width_height*1;if(svg_imgggg_width_height_finaluu<="25")var svg_imgggg_width_height_final="25";else var svg_imgggg_width_height_final=svg_imgggg_width_height_finaluu;var lable_marginnn_finnnnn_finaaalll=parseFloat(lable_marginnn_finnnnn,10),svg_imgggg_marginn=svg_imgggg_width_height_final/2,svg_imgggg_marginn1_final=svg_imgggg_marginn}else var svg_imgggg_width_height_final=svg_imgggg_width_height*1,lable_marginnn_finnnnn_finaaalll="10",svg_imgggg_marginn=svg_imgggg_width_height_final/2,svg_imgggg_marginn1_final=svg_imgggg_marginn;else var svg_imgggg_marginn=svg_imgggg_width_height/2,svg_imgggg_width_height_final=svg_imgggg_width_height,svg_imgggg_marginn1_final=svg_imgggg_marginn,lable_marginnn_finnnnn_finaaalll=lable_marginnn_finnnnn;if(d.settings.style.customized.font!="Helvetica"){var fonturllpp="https://fonts.googleapis.com/css?family="+d.settings.style.customized.font.replace(/ /g,"+"),faviconuu=document.createElement("link");faviconuu.rel="stylesheet",faviconuu.type="text/css",faviconuu.href=fonturllpp,document.head.appendChild(faviconuu)}if(setTimeout(function(){d.settings.style.customized.extend_header_img=="1"&&jQuery(".pushdaddy-note").css("background","transparent"),d.settings.style.customized.header_bg_color!=""&&d.settings.style.customized.header_bg_color!="#"&&jQuery(".pushdaddy-note").css("background","transparent")},1300),d.settings.style.customized.secondary_text.length=="0")var display_yn333="display:none;";else var display_yn333="display:inline;";var fb_page_id=d.settings.style.customized.secondary_button_link.replace("https://m.me/","");if(d.settings.style.customized.secondary_button=="0")var secondary_btnn="";else{if(d.settings.style.customized.secondary_button=="1"){var svgpathh=' ';setTimeout(function(){jQuery("body").append("
")},400);var greeting_message=d.block.chat.greeting.replace(/&/g,"&").replace(/>/g,">").replace(/.fb_iframe_widget iframe {right: 90.29999999999995px!important;bottom: 60px!important;min-height: 0!important;}@media screen and (max-width:768px) {.fb_iframe_widget iframe {right: 1px!important;bottom: 80px!important;bottom: 60px!important;width: 255px;}.fb_iframe_widget.fb_iframe_widget_fluid iframe.fb_customer_chat_bounce_in_v2_mobile_chat_started {right: 0px!important;}}.fb_dialog {right: 10%!important;}.fb_dialog {display: none!important;}.fb_dialog.fb_dialog_mobile{bottom: -100px!important;width: 0px!important;display: block!important;}.pd-fb-logo.facebook-chat-button {display: none!important;background-color: #ffffff;fill: #0084FF;box-shadow: 0 3pt 12pt rgba(0,0,0,.15);border-radius: 30px;width: auto;}.pd-fb-logo.facebook-chat-button.medium svg {width: 32px;height: 32px;}.pd-fb-logo.facebook-chat-button.medium span {font-size: 16px;margin-top: 3px;}.pd-fb-logo.facebook-chat-button.small svg {width: 24px;height: 24px;}.pd-fb-logo.facebook-chat-button.small span {font-size: 14px;margin-top: 2px;}.pd-fb-logo.facebook-chat-button.large {}.pd-fb-logo.facebook-chat-button.large svg {width: 40px;height: 40px;}.pd-fb-logo.facebook-chat-button.large span {font-size: 20px;margin-top: 3px;}