'+btn_whatsapp+''+btn_whatsapp_sublabel+"
",request_type="WhatsApp",cfpwhatsapp="cfp-whatsapp"):sb_cfp_btn_name="fusterlegacy.myshopify.com"==Shopify.shop?'
'+sb_cfp_btn_name:''+sb_cfp_btn_name;var hidePriceList_cfp=cfp_configuration.hidePriceList,collection_name="";translate_fields=cfp_configuration.translate_fields;var required_form_fields=cfp_configuration.required_form_fields,form_fields=cfp_configuration.show_form_fields,gdpr_msg=cfp_configuration.gdpr_msg,submit_btn_name=cfp_configuration.submit,success_message=cfp_configuration.form_success_message,sb_cfp_form_title=cfp_configuration.title,app_type=cfp_configuration.app_type,is_redirect=cfp_configuration.is_redirect,redirect_page=cfp_configuration.redirect_url,get_selected_product="46436905222365",save_customer=cfp_configuration.save_customer,rfq_quantity=cfp_configuration.quantity_form_field;if("rfq"==app_type){if(form_fields=cfp_configuration.rfq_show_fields,required_form_fields=cfp_configuration.rfq_required_fields,translate_fields=cfp_configuration.rfq_translation_fields,rfq_quantity=cfp_configuration.rfq_quantity_form_field,gdpr_msg=cfp_configuration.rfq_gdpr_msg,save_customer=cfp_configuration.rfq_save_customer,submit_btn_name=cfp_configuration.rfq_button_form_field,success_message=cfp_configuration.rfq_form_success_message,sb_cfp_form_title=cfp_configuration.rfq_title,is_redirect=cfp_configuration.is_redirect_rfq,redirect_page=cfp_configuration.rfq_redirect_url,"0"==cfp_configuration.rfq_hideprice)var doNotHidePrice=!0,doNotHidePriceOnRefresh=!0;if("0"==cfp_configuration.rfq_hideaddtocart)var doNotHideaddtoCart=!0;var sb_shop_currency="{{amount}}TL";sb_shop_currency=sb_shop_currency.split("{")[0].trim()}var chooseFormOption=cfp_configuration.rfq_form_template;void 0===chooseFormOption&&(chooseFormOption="1");var customer_group_tags=cfp_configuration.customer_group_tags;void 0===customer_group_tags&&(customer_group_tags="");var customer_group=cfp_configuration.customer_group;void 0===customer_group&&(customer_group="all");var sb_shop_domain="draeng.online",shop_for_products="draeng.online",name_vald=translate_fields.name_vald,email_blank_vald=translate_fields.email_blank_vald,email_invalid_vald=translate_fields.email_invalid_vald,message_vald=translate_fields.message_vald,quantity_vald=translate_fields.quantity_vald;void 0===quantity_vald&&(quantity_vald="Please Enter Quantity");var phone_blank_vald=translate_fields.phone_blank_vald,servings_vald="",date_vald="",phone_cc_vald=translate_fields.phone_cc_vald,country_vald=translate_fields.country_vald,variant_blank_vald=translate_fields.variant_form_field_msg,image_vald=translate_fields.image_vald,variants_enable=cfp_configuration.variants_enable,country_enable=cfp_configuration.country_enable,form_theme=cfp_configuration.form_theme,form_template=cfp_configuration.form_template,email=cfp_configuration.email,pay_status=cfp_configuration.pay_status,plan_name=cfp_configuration.plan_name,mail_chimp_enable=cfp_configuration.mail_chimp_enable,shop=Shopify.shop,sb_cfp_is_all_products=cfp_configuration.is_all_products;""==sb_cfp_is_all_products&&(sb_cfp_is_all_products=0),hidePriceList_cfp=cfp_configuration.hidePriceList;var prod_ID_arr,prod_array,col_ID_arr,col_array,sb_cfp_enable=cfp_configuration.is_enabled,sender_email=cfp_configuration.email,cfp_btn_customize_for=cfp_configuration.cfp_btn_customize_for,cfp_text_colorValue=cfp_configuration.cfp_text_colorValue,cfp_bg_colorValue=cfp_configuration.cfp_bg_colorValue,cfp_text_hvr_colorValue=cfp_configuration.cfp_text_hvr_colorValue,cfp_bg_hvr_colorValue=cfp_configuration.cfp_bg_hvr_colorValue,cfp_custom_css=cfp_configuration.cfp_custom_css,cfp_custom_js=cfp_configuration.cfp_custom_js,prod_array_url=[],cfp_current_collection_list_prodPage="\n422261260509,\n",cfpCollectionLabelClass="cfp-checked",product_id_sb=curr_hundle_pid,product_tags_sb="",product_vendor_sb="TABA",sb_cfp_colAllresults=filterConvertArray(sb_cfp_ProIDsCollections),gdpr_vald=translate_fields.gdpr_vald,rfq_from_on_prod=cfp_configuration.quote_from_prod,rfq_from_on_coll=cfp_configuration.quote_from_coll;if(void 0!==cfp_configuration.variant_form_field)var variant_form_field=cfp_configuration.variant_form_field;else variant_form_field="Select";var cfp_custom_css_style=``,cfp_custom_js_script="";if((cfp_custom_js_script=document.createElement("script")).type="text/javascript",cfp_custom_js_script.text=cfp_custom_js,"undefined"==typeof timeDelay&&(timeDelay=0),"undefined"==typeof additional_hide_element&&(additional_hide_element=""),"undefined"==typeof hide_cfp_modal_sec&&(hide_cfp_modal_sec=3e3),void 0===cfp_additional_field)var cfp_additional_field="";if(void 0===sb_cfp_do_not_show_fields)var sb_cfp_do_not_show_fields="";if(void 0===sb_cfp_do_not_require_fields)var sb_cfp_do_not_require_fields="";if(void 0===sb_cfp_whatsapp_api)var sb_cfp_whatsapp_api="web";if(void 0!==window.BOOMR)var originThemeName=window.BOOMR.themeName;else originThemeName=Shopify.theme.name;if(void 0!==cfp_configuration.phone_default_country_code)var phone_default_country_code="+"+cfp_configuration.phone_default_country_code;else phone_default_country_code="";function filterConvertArray(t){var e=t.replace(/(\r\n|\n|\r)/gm,"");return(e=(e=e.replace(/ /g,"")).split(",")).filter((t=>""!==t))}var variant_glob_data=[],rfq_login_customer="0",customer_tags_rfq=[],cfp_customer_full_name="Guest",b2b_customer=!1,b2b_customer_info={},customer_tag=customer_group_tags;customer_tag=customer_tag.split(",");var customer_visible="1";"guest"==customer_group&&"0"!=rfq_login_customer||"login_customer"==customer_group&&"1"!=rfq_login_customer?customer_visible="0":"customer_tag"!=customer_group||customer_tag.some((t=>-1!==customer_tags_rfq.indexOf(t)))||(customer_visible="0");var loadScript=function(t,e){var r=document.createElement("script");r.type="text/javascript",r.readyState?r.onreadystatechange=function(){"loaded"!=r.readyState&&"complete"!=r.readyState||(r.onreadystatechange=null,e())}:r.onload=function(){e()},r.src=t,document.getElementsByTagName("head")[0].appendChild(r)};if(is_payment_enable="1",void 0===sb_repload_script)var sb_repload_script="v26";function loadrfqScriptFile(){var t=document.createElement("script");"rfq"==app_type?"088c1b-3.myshopify.com"==Shopify.shop&&cfp_plan_name.includes("cfp special")?t.src="0"==chooseFormOption?"https://setubridgeapps.com/call-for-price/CFP-Extension/client-customization/088c1b-3/sb-rfq-extension.js?"+sb_repload_script:"https://setubridgeapps.com/call-for-price/CFP-Extension/client-customization/088c1b-3/sb-rfq_form_1.js?"+sb_repload_script:"tce3db-z3.myshopify.com"==Shopify.shop&&cfp_plan_name.includes("cfp special")?t.src="0"==chooseFormOption?"https://setubridgeapps.com/call-for-price/CFP-Extension/client-customization/tce3db-z3/sb-rfq-extension-compact.js?"+sb_repload_script:"https://setubridgeapps.com/call-for-price/CFP-Extension/client-customization/tce3db-z3/sb-rfq-extension-3step.js?"+sb_repload_script:t.src="0"==chooseFormOption?"https://setubridgeapps.com/call-for-price/CFP-Extension/sb-rfq-extension.js?"+sb_repload_script:"https://setubridgeapps.com/call-for-price/CFP-Extension/sb-rfq_form_1.js?"+sb_repload_script:t.src="https://setubridgeapps.com/call-for-price/CFP-Extension/sb-cfp-extension.js?"+sb_repload_script,t.onload=function(){},document.head.appendChild(t)}function myAppJavaScript_cfp(t){if("1"==sb_cfp_enable&&"1"==is_payment_enable&&"1"==customer_visible){detectSocialPlatform="";var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Instagram")>-1?detectSocialPlatform="Instagram":e.indexOf("FBAN")>-1||e.indexOf("FBAV")>-1?detectSocialPlatform="Facebook":e.indexOf("Twitter")>-1?detectSocialPlatform="Twitter":e.indexOf("LinkedInApp")>-1?detectSocialPlatform="LinkedIn":e.indexOf("Pinterest")>-1?detectSocialPlatform="Pinterest":e.indexOf("Googlebot")>-1?detectSocialPlatform="Google":detectSocialPlatform="Online Store",t(".cfp-sb-old-wrapper").remove(),t(".cfp-sb-old-modal-wrapper").remove(),void 0===doNotHidePriceOnRefresh&&t("body").append(""),t("body").append(""),setTimeout((function(){t("body").append(cfp_custom_css_style),t("body").append(cfp_custom_js_script),buttonStyles="",""!==cfp_btn_customize_for&&"undefined"!==cfp_btn_customize_for&&("customize_wp"==cfp_btn_customize_for&&"show_cfp_whatsapp"==form_button_display_option||"customize_mail"==cfp_btn_customize_for&&"show_cfp_form"==form_button_display_option||"customize_call"==cfp_btn_customize_for&&"show_cfp_button"==form_button_display_option)?"customize_wp"==cfp_btn_customize_for?(buttonStyles="padding:15px 20px 15px 20px;border-radius:50px;",t("body").append(""),t("body").append("")):(t("body").append(""),t("body").append("")):t("body").append(""),function(){var e=filterConvertArray(cfp_current_collection_list_prodPage),i=cfpcolIDSresults,a="no";if("yes"!=a)for(collection_name of i)for(current_collection of e)current_collection.length>=2&&collection_name.length>=2&¤t_collection.replace(/ /g,"")==collection_name.replace(/ /g,"")&&(a="yes");"1"==sb_cfp_is_all_products&&"yes"!=a&&(a="yes"),cfpprodAllresults.includes(product_id_sb.toString())&&"yes"!=a&&(a="yes");var c=product_tags_sb.split(",");if((c=(c=c.map((t=>t.trim()))).filter((t=>""!==t))).some((t=>sb_cfp_tags.includes(t)))&&(a="yes"),sb_cfp_vendor.includes(product_vendor_sb.trim())&&(a="yes"),"yes"==a){if("show_cfp_button"==form_button_display_option)var p='";else p='";"0"==rfq_from_on_prod&&(p='');var l="";t("form").each((function(e){if(void 0===(i=t(this).attr("action"))||t(this).hasClass("do_not_check"))var i="";if(i.includes("/cart/add")&&0==t(".cfp-prod-wrapper-detail").length&&0==t(".cfp-prod-wrapper-detail-call").length){t(".cfp-pdp-custom-position").length<=0&&t(this).after(p),t(".cfp-prod-button").show(),o(),l=r(t(this)),void 0===doNotHidePrice&&(""==l&&n(t(this)),n(t(this)));var a=t('form[action*="/cart/add"]').find(".sb-call-for-price-title,.product-meta__title,.product-meta,.product__title,.gt_heading,.product-title,.product-single__title,.product-single__vendor,.cfp-pdp-custom-position");void 0===doNotHideaddtoCart&&(a.length>0?(t('form[action*="/cart/add"]').find("button").not(".sb_cfp_btn_not_remove").remove(),t('form[action*="/cart/add"]').find('input[type="submit"][name="button"]').remove()):(t(this).remove(),t('form[action*="/cart/add"]').remove())),t(".cfp-pdp-custom-position").length<=0||t(".cfp-pdp-custom-position").append(p)}})),""!=l&&(checkFreeTheme()&&void 0===doNotHidePrice&&t("product-info .no-js-hidden").each((function(){t(this).find(".price").length>0&&t(this).remove()})),void 0===doNotHidePrice&&l.remove())}else t('form[action="/cart/add"]').show()}(),t(".cfp_custom_position").length>0?t(".cfp_custom_position").each((function(){if(!t(this).hasClass("cfp-checked")){var e=t(this),i=t(this).attr("product_handle"),n="/products/"+i;try{fetch(n+".json",{credentials:"same-origin"}).then((function(n){n.json().then((function(n){var c=n.product,p=checkProductInCFP(t,c.id,e,c.tags,c.vendor);if("1"==sb_cfp_enable&&p){var l="";if(o(),l=r(e),"show_cfp_button"==form_button_display_option)var s='";else s='/products/'+c.handle+'
'+c.id+'
'+c.title+'
'+c.handle+'
";"0"==rfq_from_on_coll&&(s=""),""!=l&&(t(e).hasClass(cfpCollectionLabelClass)||(t(".cfp-prod-wrapper."+c.handle).length>0||l.parent().parent().parent().find(".cfp-prod-wrapper-detail").length>0?(t(".cfp-prod-wrapper."+c.handle).parent().parent().parent().find(".cfp-prod-wrapper."+c.handle).length>0||l.parent().parent().parent().find(".cfp-prod-wrapper-detail").length,t(".cfp_custom_position."+i).html(s)):t(".cfp_custom_position."+i).html(s),void 0===doNotHidePrice&&l.remove(),a(t(e)),t(e).addClass(cfpCollectionLabelClass)))}}))}))}catch(t){}}})):t("a").each((function(){var e=t(this),i=e.attr("href");t(e).closest("div").find("img").first(),void 0!==i&&i.indexOf("products/")>=1&&"LI"!=t(this).parent().get(0).tagName&&!t(this).hasClass("doNotAdd_cfp")&&(i=i.split("?")[0],fetch(i+".json",{credentials:"same-origin"}).then((function(i){i.json().then((function(i){var n=i.product,c=checkProductInCFP(t,n.id,e,n.tags,n.vendor);if("1"==sb_cfp_enable&&c){var p="";if(o(),t(e).find("img").first().length>0?t(e).find("img").first().hasClass(cfpCollectionLabelClass)||(p=r(e),t(e).find("img").first().addClass(cfpCollectionLabelClass)):t(e).closest("div").find("img").first().length>0?t(e).closest("div").find("img").first().hasClass(cfpCollectionLabelClass)||(p=r(e),t(e).closest("div").find("img").first().addClass(cfpCollectionLabelClass)):t(e).closest("div").parent().find("img").first().length>0?t(e).closest("div").parent().find("img").first().hasClass(cfpCollectionLabelClass)||(p=r(e),t(e).closest("div").parent().find("img").first().addClass(cfpCollectionLabelClass)):t(e).closest("div").parent().parent().find("img").first().length>0?t(e).closest("div").parent().parent().find("img").first().hasClass(cfpCollectionLabelClass)||(p=r(e),t(e).closest("div").parent().parent().find("img").first().addClass(cfpCollectionLabelClass)):t(e).closest("div").parent().parent().parent().find("img").first().length>0?t(e).closest("div").parent().parent().parent().find("img").first().hasClass(cfpCollectionLabelClass)||(p=r(e),t(e).closest("div").parent().parent().parent().find("img").first().addClass(cfpCollectionLabelClass)):t(e).closest("div").parent().parent().parent().parent().find("img").first().length>0?t(e).closest("div").parent().parent().parent().parent().find("img").first().hasClass(cfpCollectionLabelClass)||(p=r(e),t(e).closest("div").parent().parent().parent().parent().find("img").first().addClass(cfpCollectionLabelClass)):t(e).closest("div").parent().parent().parent().parent().parent().find("img").first().length>0&&(t(e).closest("div").parent().parent().parent().parent().parent().find("img").first().hasClass(cfpCollectionLabelClass)||(p=r(e),t(e).closest("div").parent().parent().parent().parent().parent().find("img").first().addClass(cfpCollectionLabelClass))),"show_cfp_button"==form_button_display_option)var l='";else l='/products/'+n.handle+'
'+n.id+'
'+n.title+'
'+n.handle+'
";"0"==rfq_from_on_coll&&(l=""),""!=p&&(t(e).hasClass(cfpCollectionLabelClass)||(t(e).addClass(cfpCollectionLabelClass),(t(".cfp-prod-wrapper."+n.handle).length>0||p.parent().parent().parent().find(".cfp-prod-wrapper-detail").length>0||p.parent().parent().parent().find(".cfp-prod-wrapper-detail-call").length>0)&&(t(".cfp-prod-wrapper."+n.handle).parent().parent().parent().find(".cfp-prod-wrapper."+n.handle).length>0||p.parent().parent().parent().find(".cfp-prod-wrapper-detail").length>0||p.parent().parent().parent().find(".cfp-prod-wrapper-detail-call").length>0)||p.after(l),void 0===doNotHidePrice&&p.remove(),a(t(e))))}}))})))})),setTimeout((function(){t("body").append("")}),800)}),timeDelay)}function r(e){var r="",o=!1;return o||""!=(r=i(t(e).closest("div").find("div,h3,h2,a,span,ul,dl")))&&(o=!0),o||""!=(r=i(t(e).closest("div").parent().find("div,h3,h2,a,span,ul,dl")))&&(o=!0),o||""!=(r=i(t(e).closest("div").parent().parent().find("div,span,ul,dl")))&&(o=!0),o||""!=(r=i(t(e).closest("div").parent().parent().find("a,h2,h3,h4,h1,span,ul,dl")))&&(o=!0),o||""!=(r=i(t(e).closest("div").parent().parent().parent().find("div,h2,h3,a,span,ul,dl")))&&(o=!0),o||""!=(r=i(t(e).closest("div").parent().parent().parent().parent().find("div,h2,h3,a,span,ul,dl")))&&(o=!0),o||""!=(r=i(t(e).closest("div").parent().parent().parent().parent().parent().find("div,h2,h3,a,span,ul,dl")))&&(o=!0),r}function i(e){var r="";return t(e).each((function(e){var i=t(this).attr("class");if(void 0!==i&&(i.includes("price")||i.includes("money"))&&!i.includes("sb-not-price"))return r=t(this),!1})),r}function o(){"Warehouse"==originThemeName&&(hidePriceList_cfp+=",.price-list,.product-form__price-info"),"Influence"==originThemeName&&(t("product-price").addClass("price"),hidePriceList_cfp+=",.payment-buttons"),"Kalles"==originThemeName&&t(".t4s-sticky-atc__btns").remove(),"Wokiee"==originThemeName&&t(".tt-fixed-product-wrapper").remove(),"Avone"==originThemeName&&(t(".stickyCart").remove(),hidePriceList_cfp+=",.psinglePriceWr"),"Prestige"==originThemeName&&t(".product-sticky-bar").remove(),"Leo ftshop 3"==originThemeName&&t(".ap-productstickyform").remove()}function n(e){t(e).find(hidePriceList_cfp).length>0?t(e).find(hidePriceList_cfp).remove():t(e).closest("div").find(hidePriceList_cfp).length>0?t(e).closest("div").find(hidePriceList_cfp).remove():t(e).closest("div").parent().find(hidePriceList_cfp).length>0?t(e).closest("div").parent().find(hidePriceList_cfp).remove():t(e).closest("div").parent().parent().find(hidePriceList_cfp).length>0?t(e).closest("div").parent().parent().find(hidePriceList_cfp).remove():t(e).closest("div").parent().parent().parent().find(hidePriceList_cfp).length>0||t(e).closest("div").parent().parent().parent().find(hidePriceList_cfp).length>0?t(e).closest("div").parent().parent().parent().find(hidePriceList_cfp).remove():t(e).closest("div").parent().parent().parent().parent().find(hidePriceList_cfp).length>0?t(e).closest("div").parent().parent().parent().parent().find(hidePriceList_cfp).remove():t(e).closest("div").parent().parent().parent().parent().parent().find(hidePriceList_cfp).length>0&&t(e).closest("div").parent().parent().parent().parent().parent().find(hidePriceList_cfp).remove()}function a(e){var r='form[action*="/cart/add"],.quick-view,.t4s-pr-quickview,.t4s-pr-addtocart,.add-to-cart,.quick-view-btn,.boost-pfs-quickview-btn,.quick-add,.product-form__quantity,.quickbuy-toggle,product-to-cart,.m-product-quickview-button,.tt-btn-quickview,.quickShop,.woodmart-buttons,.product-buttons,.product-cta,.product-cta-upright,.quickview-icon,.btn-quickview,.productitem--actions,.quick-product__btn,.product-item__quick-form';void 0!==doNotHideaddtoCart&&(r="NOT-HIDE"),"undefined"!=typeof doHideaddtoCartOnCollection&&(r=doHideaddtoCartOnCollection);var i=".product-name,.title,.product-title,.sb-call-for-price-title,.product-single__title";t(e).find(r).length>0?t(e).children().find(r).find(i).length<=0&&t(e).find(r).remove():t(e).closest("div").find(r).length>0?t(e).closest("div").find(r).children().find(i).length<=0&&t(e).closest("div").find(r).remove():t(e).closest("div").parent().find(r).length>0?t(e).closest("div").parent().find(r).children().find(i).length<=0&&t(e).closest("div").parent().find(r).remove():t(e).closest("div").parent().parent().find(r).length>0?t(e).closest("div").parent().parent().find(r).children().find(i).length<=0&&t(e).closest("div").parent().parent().find(r).remove():t(e).closest("div").parent().parent().parent().find(r).length>0||t(e).closest("div").parent().parent().parent().find(r).length>0?t(e).closest("div").parent().parent().parent().find(r).children().find(i).length<=0&&t(e).closest("div").parent().parent().parent().find(r).remove():t(e).closest("div").parent().parent().parent().parent().find(r).length>0?t(e).closest("div").parent().parent().parent().parent().find(r).children().find(i).length<=0&&t(e).closest("div").parent().parent().parent().parent().find(r).remove():t(e).closest("div").parent().parent().parent().parent().parent().find(r).length>0&&t(e).closest("div").parent().parent().parent().parent().parent().find(r).children().find(i).length<=0&&t(e).closest("div").parent().parent().parent().parent().parent().find(r).remove()}setTimeout((function(){hideSearchPrice(t)}),1e3)}function checkProductInCFP(t,e,r,i,o){var n=!1;"1"==sb_cfp_is_all_products&&1!=n&&(n=!0),(cfpprodAllresults.includes(e.toString())||sb_cfp_colAllresults.includes(e.toString())&&1!=n)&&(n=!0),1!=n&&t.each(sb_cfp_ProIDsCollectionsTest,(function(t,r){r.includes(e.toString())&&(t.split("_")[0],n=!0)}));var a=t(r).attr("collection-id");if(void 0!==a&&(a=filterConvertArray(a),1!=n))for(collection_ID of cfpcolIDSresults)-1!=t.inArray(collection_ID.replace(/ /g,""),a)&&""!=collection_ID&&(n=!0);if(i&&"string"==typeof i){var c=i.split(",");(c=(c=c.map((t=>t.trim()))).filter((t=>""!==t))).some((t=>sb_cfp_tags.includes(t)))&&(n=!0)}return o&&"string"==typeof o&&sb_cfp_vendor.includes(o.trim())&&(n=!0),n}function setCookieCFP(t,e,r){const i=new Date;i.setTime(i.getTime()+24*r*60*60*1e3);let o="; expires="+i.toUTCString();document.cookie=t+"="+e+";"+o+"; path=/"}function getCookieCFP(t){for(var e=t+"=",r=document.cookie.split(";"),i=0;i