<?php

/* default/template/extension/module/xtensions/checkout/xguest.twig */
class __TwigTemplate_da81d22a4a5bb84fad99e137149badb8163d60fe17f18f700989dd567aed2a1b extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        if ((isset($context["force_redirect"]) ? $context["force_redirect"] : null)) {
            // line 2
            echo "<script type=\"text/javascript\">
location = '";
            // line 3
            echo (isset($context["force_redirect"]) ? $context["force_redirect"] : null);
            echo "';
</script>
";
        } else {
            // line 5
            echo " 
";
            // line 6
            echo (isset($context["payment_modal_form"]) ? $context["payment_modal_form"] : null);
            echo " 
";
            // line 7
            echo (((isset($context["shipping_required"]) ? $context["shipping_required"] : null)) ? ((isset($context["shipping_modal_form"]) ? $context["shipping_modal_form"] : null)) : (""));
            echo " 
<div id=\"guestPage\" class=\"container\">
<div class=\"row equal is_guest_page\">
<div id=\"existingAddress\">
 <div class=\"col-md-9\">
<div id=\"guestPanel\" ";
            // line 12
            echo (((((isset($context["payment_address"]) ? $context["payment_address"] : null) || (isset($context["shipping_address1"]) ? $context["shipping_address1"] : null)) || (isset($context["address_modal"]) ? $context["address_modal"] : null))) ? ("") : ("style=\"display: none;\""));
            echo ">
";
            // line 13
            if ((((isset($context["shipping_address1"]) ? $context["shipping_address1"] : null) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null)) &&  !(isset($context["xshipping_method"]) ? $context["xshipping_method"] : null))) {
                echo " 
\t<div class=\"alert alert-danger noshipping margintop20 marginbottom0\">";
                // line 14
                echo (isset($context["shipping_error"]) ? $context["shipping_error"] : null);
                echo "</div>
";
            }
            // line 15
            echo " 
<div class=\"clearfix\"></div>
              <div class=\"row\" >
                ";
            // line 18
            if (( !(isset($context["shipping_required"]) ? $context["shipping_required"] : null) || (isset($context["same_shipping"]) ? $context["same_shipping"] : null))) {
                echo " 
              \t\t<input type=\"hidden\" name=\"xshipping_address_check\" value=\"1\"  />
            \t";
            } else {
                // line 20
                echo " 
              \t\t<div class=\"col-md-12\">\t
              \t\t<div class=\"checkbox is_checkbox info-back-checkout text-center\">
              \t\t<label for=\"shipping_check\">
                \t<input onchange=\"same_guest_shipping(this,'";
                // line 24
                echo (isset($context["text_psaddress"]) ? $context["text_psaddress"] : null);
                echo "','";
                echo (isset($context["text_paddress"]) ? $context["text_paddress"] : null);
                echo "',";
                echo (((isset($context["payment_address"]) ? $context["payment_address"] : null)) ? ("true") : ("false"));
                echo ")\" type=\"checkbox\" class=\"input-checkbox\" name=\"xshipping_address_check\" value=\"1\" id=\"shipping_check\" ";
                echo (((isset($context["shipping_same"]) ? $context["shipping_same"] : null)) ? ("checked=\"checked\"") : (""));
                echo " />
        \t\t\t";
                // line 25
                echo (isset($context["entry_shipping"]) ? $context["entry_shipping"] : null);
                echo " 
              \t\t</label>
           \t   </div>
           \t   \t\t</div>
            \t";
            }
            // line 29
            echo "           \t              
                <div class=\"payment-address-panel ";
            // line 30
            echo ((( !(isset($context["shipping_required"]) ? $context["shipping_required"] : null) || ((isset($context["shipping_required"]) ? $context["shipping_required"] : null) && (isset($context["shipping_same"]) ? $context["shipping_same"] : null)))) ? ("col-md-12") : ("col-md-6"));
            echo "\">
                  <div class=\"panel-address\">                   
                   <div class=\"panel-address-heading address-type\"><i class=\"fa fa-money\" aria-hidden=\"true\"></i>&nbsp;<span class=\"padd\">";
            // line 32
            echo (((((isset($context["shipping_required"]) ? $context["shipping_required"] : null) && (isset($context["shipping_same"]) ? $context["shipping_same"] : null)) || (isset($context["same_shipping"]) ? $context["same_shipping"] : null))) ? ((isset($context["text_psaddress"]) ? $context["text_psaddress"] : null)) : ((isset($context["text_paddress"]) ? $context["text_paddress"] : null)));
            echo "</span>
                   ";
            // line 33
            if ((isset($context["payment_address"]) ? $context["payment_address"] : null)) {
                echo " 
                   <small class=\"pull-right\">
                   ";
                // line 35
                if ((isset($context["address_modal"]) ? $context["address_modal"] : null)) {
                    echo " 
                   <a class=\"pointer\" data-toggle=\"modal\" data-target=\"#addressModalpayment\" >";
                    // line 36
                    echo (isset($context["text_edit_address"]) ? $context["text_edit_address"] : null);
                    echo "</a>
                   ";
                } else {
                    // line 37
                    echo " 
                   <a class=\"pointer\" onclick=\"toggleElement('#guestPanel, #guest_payment_panel');\$('.col-md-3.lborder').addClass('xblur');\">";
                    // line 38
                    echo (isset($context["text_edit_address"]) ? $context["text_edit_address"] : null);
                    echo "</a>
                   ";
                }
                // line 39
                echo "                   
                   </small>
                   ";
            }
            // line 41
            echo " 
                   </div>                    
                    <div class=\"panel-address-body payment-address";
            // line 43
            echo (( !(isset($context["payment_address"]) ? $context["payment_address"] : null)) ? (" no-address") : (""));
            echo "\">
                    \t<div class=\"text-justified\">
                    \t<div class=\"selected-address\">
                    \t";
            // line 46
            if ((isset($context["payment_address"]) ? $context["payment_address"] : null)) {
                // line 47
                echo "                   \t\t";
                echo (isset($context["payment_address"]) ? $context["payment_address"] : null);
                echo "
                   \t\t";
            } else {
                // line 49
                echo "                   \t\t<h4 class=\"text-center\">
                   \t\t";
                // line 50
                if ((isset($context["address_modal"]) ? $context["address_modal"] : null)) {
                    // line 51
                    echo "                   \t\t<a data-toggle=\"modal\" data-target=\"#addressModalpayment\">";
                    echo (isset($context["text_address_new"]) ? $context["text_address_new"] : null);
                    echo "</a>
                   \t\t";
                } else {
                    // line 53
                    echo "                   \t\t<a class=\"pointer\" onclick=\"toggleElement('#guestPanel, #guest_payment_panel');\"><span class=\"glyphicon glyphicon-plus\"></span>";
                    echo (isset($context["text_address_new"]) ? $context["text_address_new"] : null);
                    echo "</a>
                   \t\t";
                }
                // line 54
                echo "                   \t\t
                   \t\t</h4>
                   \t\t";
            }
            // line 57
            echo "                    \t</div>                  \t
                    </div>
                  </div>
                </div>
                </div>
                 ";
            // line 62
            if (((isset($context["shipping_required"]) ? $context["shipping_required"] : null) &&  !(isset($context["same_shipping"]) ? $context["same_shipping"] : null))) {
                // line 63
                echo "                 <div class=\"col-md-6 shipping-address-panel xshipping\" style=\"";
                if ((isset($context["shipping_same"]) ? $context["shipping_same"] : null)) {
                    echo " ";
                    echo "display:none;";
                }
                echo "\">
                  <div class=\"panel-address\">                   
                   <div class=\"panel-address-heading address-type\"><i class=\"fa fa-address-card-o\" aria-hidden=\"true\"></i>&nbsp;";
                // line 65
                echo (isset($context["text_saddress"]) ? $context["text_saddress"] : null);
                echo " 
                   ";
                // line 66
                if ((isset($context["payment_address"]) ? $context["payment_address"] : null)) {
                    echo "                   
                   <small class=\"pull-right\">
                   ";
                    // line 68
                    if ((isset($context["address_modal"]) ? $context["address_modal"] : null)) {
                        echo " 
                   <a class=\"pointer\" data-toggle=\"modal\" data-target=\"#addressModalshipping\" >";
                        // line 69
                        echo (isset($context["text_edit_address"]) ? $context["text_edit_address"] : null);
                        echo "</a>
                   ";
                    } else {
                        // line 70
                        echo " 
                   <a class=\"pointer\" onclick=\"toggleElement('#guestPanel, #guest_shipping_panel');\$('.col-md-3.lborder').addClass('xblur');\">";
                        // line 71
                        echo (((isset($context["shipping_address1"]) ? $context["shipping_address1"] : null)) ? ((isset($context["text_edit_address"]) ? $context["text_edit_address"] : null)) : ((isset($context["text_address_new"]) ? $context["text_address_new"] : null)));
                        echo "</a>
                   ";
                    }
                    // line 72
                    echo "                                      
                   </small>
                   ";
                }
                // line 74
                echo " 
                   </div>                    
                    <div class=\"panel-address-body shipping-address";
                // line 76
                echo (( !(isset($context["shipping_address1"]) ? $context["shipping_address1"] : null)) ? (" no-address") : (""));
                echo "\" >
                    \t<div class=\"text-justified\">
                    \t<div class=\"selected-address\">
                    \t";
                // line 79
                if ((isset($context["shipping_address1"]) ? $context["shipping_address1"] : null)) {
                    echo " 
                   \t\t";
                    // line 80
                    echo (isset($context["shipping_address1"]) ? $context["shipping_address1"] : null);
                    echo " 
                   \t\t";
                } else {
                    // line 81
                    echo " 
                   \t\t<h4 class=\"text-center\">
                   \t\t";
                    // line 83
                    if ((isset($context["address_modal"]) ? $context["address_modal"] : null)) {
                        echo " 
                   \t\t<a data-toggle=\"modal\" data-target=\"#addressModalshipping\">";
                        // line 84
                        echo (isset($context["text_address_new"]) ? $context["text_address_new"] : null);
                        echo "</a>
                   \t\t";
                    } else {
                        // line 85
                        echo " 
                   \t\t<a class=\"pointer\" onclick=\"toggleElement('#guestPanel, #guest_shipping_panel');\"><span class=\"glyphicon glyphicon-plus\"></span>";
                        // line 86
                        echo (isset($context["text_add_saddress"]) ? $context["text_add_saddress"] : null);
                        echo "</a>
                   \t\t";
                    }
                    // line 87
                    echo "                   \t\t
                   \t\t</h4>
                   \t\t";
                }
                // line 89
                echo " 
                    \t</div>                  \t
                    </div>
                  </div>
                </div>
                </div>
                 ";
            }
            // line 95
            echo "                          
                <div class=\"clearfix\"></div>                
              </div>    
\t\t\t";
            // line 98
            if ( !(isset($context["address_block"]) ? $context["address_block"] : null)) {
                echo " 
\t\t\t\t<div class=\"row\">
\t\t\t  \t\t";
                // line 100
                if (((isset($context["shipping_required"]) ? $context["shipping_required"] : null) && (isset($context["shipping_address1"]) ? $context["shipping_address1"] : null))) {
                    echo " 
                \t<div class=\"";
                    // line 101
                    echo (((isset($context["display_comments"]) ? $context["display_comments"] : null)) ? ("col-md-6") : ("col-md-12"));
                    echo "\">
                \t<div id=\"shipping_method\" class=\"container_panel\">                \t              
        \t\t\t<div class=\"heading\"><i class=\"fa fa-truck\" aria-hidden=\"true\"></i>&nbsp;";
                    // line 103
                    echo (isset($context["text_shipping_method"]) ? $context["text_shipping_method"] : null);
                    echo "</div>
          \t\t\t<div class=\"shipping-table\">
          \t\t\t";
                    // line 105
                    if ((((isset($context["shipping_address1"]) ? $context["shipping_address1"] : null) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null)) &&  !(isset($context["xshipping_method"]) ? $context["xshipping_method"] : null))) {
                        echo " 
\t\t\t\t\t<div class=\"col-sm-12\"><div class=\"alert alert-danger noshipping margintop20 marginbottom0\">";
                        // line 106
                        echo (isset($context["shipping_error"]) ? $context["shipping_error"] : null);
                        echo "</div></div>
\t\t\t\t\t";
                    } else {
                        // line 107
                        echo " 
\t\t\t\t\t";
                        // line 108
                        echo (isset($context["xshipping_method"]) ? $context["xshipping_method"] : null);
                        echo " 
\t\t\t\t\t";
                    }
                    // line 109
                    echo " 
\t\t\t\t\t</div>
          \t\t\t</div>
                </div>
                ";
                }
                // line 113
                echo " 
                ";
                // line 114
                if (((((isset($context["payment_address"]) ? $context["payment_address"] : null) &&  !(isset($context["shipping_required"]) ? $context["shipping_required"] : null)) || (((isset($context["payment_address"]) ? $context["payment_address"] : null) && (isset($context["shipping_address1"]) ? $context["shipping_address1"] : null)) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null))) && (isset($context["display_comments"]) ? $context["display_comments"] : null))) {
                    echo " 
                <div class=\"";
                    // line 115
                    echo (((isset($context["shipping_required"]) ? $context["shipping_required"] : null)) ? ("col-md-6") : ("col-md-12"));
                    echo "\">
                \t<div id=\"comment\">
                \t\t<div id=\"order-comment\" class=\"container_panel\" >              
        \t\t\t\t\t<div class=\"heading\"><i class=\"fa fa-comment\" aria-hidden=\"true\"></i>&nbsp;";
                    // line 118
                    echo (isset($context["comment_text"]) ? $context["comment_text"] : null);
                    echo "</div>
        \t\t\t\t\t<textarea name=\"comment\" class=\"form-control\" rows=\"3\" placeholder=\"";
                    // line 119
                    echo (isset($context["comment_placeholder_text"]) ? $context["comment_placeholder_text"] : null);
                    echo "\">";
                    echo (isset($context["comment"]) ? $context["comment"] : null);
                    echo "</textarea>
        \t\t\t\t</div>
        \t\t\t</div>
                 </div>
                ";
                }
                // line 123
                echo " 
             </div>        
             <div class=\"clearfix\"></div>               
             <div id=\"checkout-button row\">
\t\t\t";
                // line 127
                if ((((isset($context["payment_address"]) ? $context["payment_address"] : null) &&  !(isset($context["shipping_required"]) ? $context["shipping_required"] : null)) || (((isset($context["payment_address"]) ? $context["payment_address"] : null) && (isset($context["shipping_address1"]) ? $context["shipping_address1"] : null)) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null)))) {
                    // line 128
                    echo "\t\t\t";
                    if ((isset($context["isMobile"]) ? $context["isMobile"] : null)) {
                        echo "  
    \t      \t<div id=\"options\">";
                        // line 129
                        echo (isset($context["xoptions"]) ? $context["xoptions"] : null);
                        echo "</div>
    \t      \t<div class=\"clearfix\"></div>
      \t    ";
                    }
                    // line 131
                    echo " 
              ";
                    // line 132
                    if (( !array_key_exists("error_stock_warning", $context) &&  !array_key_exists("error_minimum_warning", $context))) {
                        echo " 
              <div class=\"row margintop20\">
       \t\t\t<div id=\"agree-panel\" ";
                        // line 134
                        echo (((((isset($context["shipping_address1"]) ? $context["shipping_address1"] : null) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null)) &&  !(isset($context["xshipping_method"]) ? $context["xshipping_method"] : null))) ? ("style=\"display:none;\"") : (""));
                        echo " class=\"col-md-12 agree-panel\">
       \t\t\t";
                        // line 135
                        if ((isset($context["text_agree"]) ? $context["text_agree"] : null)) {
                            // line 136
                            echo "       \t\t\t\t<div id=\"agreeText\" class=\"col-md-6 agreeText\">
          \t\t\t<label class=\"pointer checkbox is_checkbox\"><input type=\"checkbox\" class=\"input-checkbox\" name=\"agree\" value=\"1\" ";
                            // line 137
                            echo (((isset($context["agree"]) ? $context["agree"] : null)) ? ("checked=\"checked\"") : (""));
                            echo "><span>";
                            echo (isset($context["text_agree"]) ? $context["text_agree"] : null);
                            echo "</span></label>          \t\t\t
    \t\t\t\t</div>
    \t\t\t";
                        }
                        // line 140
                        echo "    \t\t\t<div class=\"";
                        echo (((isset($context["text_agree"]) ? $context["text_agree"] : null)) ? ("col-md-6 large-pull-right paddingright0") : ("col-md-12 nopadding"));
                        echo "\">
    \t\t\t\t<div class=\"progress progress-continue-disabled\" id=\"progress-continue-disabled\" ";
                        // line 141
                        echo ((((isset($context["text_agree"]) ? $context["text_agree"] : null) &&  !(isset($context["agree"]) ? $context["agree"] : null))) ? ("style=\"display: block\"") : ("style=\"display: none\""));
                        echo " >
                    \t<div data-trigger=\"focus\" tabindex=\"0\" data-placement=\"top\" data-toggle=\"popover\" title=\"";
                        // line 142
                        echo (isset($context["info_title"]) ? $context["info_title"] : null);
                        echo "\" data-content=\"";
                        echo (isset($context["agree_content"]) ? $context["agree_content"] : null);
                        echo "\" class=\"progress-bar\" role=\"progressbar\" id=\"button-payment-disabled\" aria-valuenow=\"45\" aria-valuemin=\"0\" aria-valuemax=\"100\">
                      \t\t<span>";
                        // line 143
                        echo (isset($context["text_payment_continue"]) ? $context["text_payment_continue"] : null);
                        echo "<i class=\"fa fa-lock\"></i></span>
                    \t</div>
                \t</div>
        \t\t\t<div class=\"progress progress-continue\" id=\"progress-continue\" ";
                        // line 146
                        echo ((((isset($context["text_agree"]) ? $context["text_agree"] : null) &&  !(isset($context["agree"]) ? $context["agree"] : null))) ? ("style=\"display: none\"") : (""));
                        echo " >
                    \t<div class=\"progress-bar progress-bar-success\" role=\"progressbar\" onclick=\"callPaymentFromGuest();\" id=\"button-payment\" aria-valuenow=\"45\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 100%\">
                      \t\t<span>";
                        // line 148
                        echo (isset($context["text_payment_continue"]) ? $context["text_payment_continue"] : null);
                        echo "</span>
                    \t</div>
                 \t</div>
                 </div>
        \t\t</div>
        \t\t</div>
        \t\t";
                    } else {
                        // line 154
                        echo " 
\t\t\t        ";
                        // line 155
                        if (array_key_exists("error_stock_warning", $context)) {
                            echo " 
\t\t\t\t\t\t<div class=\"alert alert-danger noshipping margintop20 marginbottom0\">";
                            // line 156
                            echo (isset($context["error_stock_warning"]) ? $context["error_stock_warning"] : null);
                            echo "</div>
\t\t\t\t\t";
                        }
                        // line 157
                        echo " 
\t\t\t\t\t";
                        // line 158
                        if (array_key_exists("error_minimum_warning", $context)) {
                            echo " 
\t\t\t\t\t\t<div class=\"alert alert-danger noshipping margintop20 marginbottom0\">";
                            // line 159
                            echo (isset($context["error_minimum_warning"]) ? $context["error_minimum_warning"] : null);
                            echo "</div>
\t\t\t\t\t";
                        }
                        // line 160
                        echo " 
\t\t       ";
                    }
                    // line 161
                    echo "\t
      \t\t   ";
                }
                // line 162
                echo " 
</div>   \t\t   
";
            }
            // line 164
            echo " 
</div>
";
            // line 166
            if ( !(isset($context["address_modal"]) ? $context["address_modal"] : null)) {
                echo " 
<div id=\"guest_payment_panel\" ";
                // line 167
                echo ((((isset($context["payment_address"]) ? $context["payment_address"] : null) || (isset($context["shipping_address1"]) ? $context["shipping_address1"] : null))) ? ("style=\"display: none;\"") : (""));
                echo " class=\"inlineaddress margintop20  zoomIn\">";
                echo (isset($context["payment_inline_form"]) ? $context["payment_inline_form"] : null);
                echo "</div>
";
            }
            // line 168
            echo " 
";
            // line 169
            if (( !(isset($context["address_modal"]) ? $context["address_modal"] : null) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null))) {
                echo " 
<div id=\"guest_shipping_panel\" style=\"display: none;\" class=\"inlineaddress margintop20  zoomIn\">";
                // line 170
                echo (isset($context["shipping_inline_form"]) ? $context["shipping_inline_form"] : null);
                echo "</div>
";
            }
            // line 171
            echo " 
</div>
</div>
<div  class=\"col-md-3 lborder\">
<div id=\"sLoader\" class=\"loader\"></div>    
";
            // line 176
            if ((((isset($context["address_block"]) ? $context["address_block"] : null) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null)) && (isset($context["shipping_address1"]) ? $context["shipping_address1"] : null))) {
                echo " 
<div id=\"shipping_method\" class=\"panel panel-green1\">
<div class=\"panel-heading\"><i class=\"fa fa-truck\" aria-hidden=\"true\"></i>&nbsp;";
                // line 178
                echo (isset($context["text_shipping_method"]) ? $context["text_shipping_method"] : null);
                echo "</div>
<div class=\"shipping-table\">
";
                // line 180
                if ((((isset($context["shipping_address1"]) ? $context["shipping_address1"] : null) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null)) &&  !(isset($context["xshipping_method"]) ? $context["xshipping_method"] : null))) {
                    echo " 
<span class=\"xerror noshipping marginbottom0\">";
                    // line 181
                    echo (isset($context["shipping_error"]) ? $context["shipping_error"] : null);
                    echo "</span>
";
                } else {
                    // line 182
                    echo " 
";
                    // line 183
                    echo (isset($context["xshipping_method"]) ? $context["xshipping_method"] : null);
                    echo " 
";
                }
                // line 184
                echo " 
</div>
</div>
";
            }
            // line 187
            echo " 
";
            // line 188
            if ((((((isset($context["payment_address"]) ? $context["payment_address"] : null) &&  !(isset($context["shipping_required"]) ? $context["shipping_required"] : null)) || (((isset($context["payment_address"]) ? $context["payment_address"] : null) && (isset($context["shipping_address1"]) ? $context["shipping_address1"] : null)) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null))) && (isset($context["address_block"]) ? $context["address_block"] : null)) && (isset($context["isMobile"]) ? $context["isMobile"] : null))) {
                echo "    
<div id=\"options\" class=\"animated1 zoomIn1\">";
                // line 189
                echo (isset($context["xoptions"]) ? $context["xoptions"] : null);
                echo "</div>
<div class=\"clearfix\"></div>
";
            }
            // line 191
            echo " 
";
            // line 192
            if (( !(isset($context["shipping_required"]) ? $context["shipping_required"] : null) &&  !(isset($context["isMobile"]) ? $context["isMobile"] : null))) {
                // line 193
                echo "<div id=\"xcart\" class=\"animated1 zoomIn1\">";
                echo (isset($context["xcart"]) ? $context["xcart"] : null);
                echo "</div>
<div class=\"clearfix\"></div>
";
            }
            // line 195
            echo " 
";
            // line 196
            if (((((isset($context["payment_address"]) ? $context["payment_address"] : null) &&  !(isset($context["shipping_required"]) ? $context["shipping_required"] : null)) || (((isset($context["payment_address"]) ? $context["payment_address"] : null) && (isset($context["shipping_address1"]) ? $context["shipping_address1"] : null)) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null))) && (isset($context["address_block"]) ? $context["address_block"] : null))) {
                echo "        
       \t\t\t";
                // line 197
                if (( !array_key_exists("error_stock_warning", $context) &&  !array_key_exists("error_minimum_warning", $context))) {
                    echo " 
       \t\t\t<div id=\"agree-panel\" ";
                    // line 198
                    echo (((((isset($context["addresses"]) ? $context["addresses"] : null) && (isset($context["shipping_required"]) ? $context["shipping_required"] : null)) &&  !(isset($context["xshipping_method"]) ? $context["xshipping_method"] : null))) ? ("style=\"display:none;\"") : (""));
                    echo " class=\"agree-panel\">
       \t\t\t";
                    // line 199
                    if ((isset($context["text_agree"]) ? $context["text_agree"] : null)) {
                        // line 200
                        echo "       \t\t\t\t<div id=\"agreeText\" class=\"agreeText agreeTextalternate text-center\">
          \t\t\t\t<label class=\"pointer checkbox is_checkbox\"><input type=\"checkbox\" class=\"input-checkbox\" name=\"agree\" value=\"1\" ";
                        // line 201
                        echo (((isset($context["agree"]) ? $context["agree"] : null)) ? ("checked=\"checked\"") : (""));
                        echo "><span>";
                        echo (isset($context["text_agree"]) ? $context["text_agree"] : null);
                        echo "</span></label>
    \t\t\t\t</div>       \t\t\t\t
    \t\t\t";
                    }
                    // line 203
                    echo "    \t\t\t
    \t\t\t<div class=\"progress progress-continue-disabled\" id=\"progress-continue-disabled\" ";
                    // line 204
                    echo ((((isset($context["text_agree"]) ? $context["text_agree"] : null) &&  !(isset($context["agree"]) ? $context["agree"] : null))) ? ("style=\"display: block\"") : ("style=\"display: none\""));
                    echo " >
                    \t<div data-trigger=\"focus\" tabindex=\"0\" data-placement=\"top\" data-toggle=\"popover\" title=\"";
                    // line 205
                    echo (isset($context["info_title"]) ? $context["info_title"] : null);
                    echo "\" data-content=\"";
                    echo (isset($context["agree_content"]) ? $context["agree_content"] : null);
                    echo "\" class=\"progress-bar\" role=\"progressbar\" id=\"button-payment-disabled\" aria-valuenow=\"45\" aria-valuemin=\"0\" aria-valuemax=\"100\">
                      \t\t<span>";
                    // line 206
                    echo (isset($context["text_payment_continue"]) ? $context["text_payment_continue"] : null);
                    echo "<i class=\"fa fa-lock\"></i></span>
                    \t</div>
                </div>
        \t\t<div class=\"progress progress-continue\" id=\"progress-continue\" ";
                    // line 209
                    echo ((((isset($context["text_agree"]) ? $context["text_agree"] : null) &&  !(isset($context["agree"]) ? $context["agree"] : null))) ? ("style=\"display: none\"") : (""));
                    echo " >
                  \t<div class=\"progress-bar progress-bar-success\" onclick=\"callPaymentFromGuest();\" role=\"progressbar\" id=\"button-payment\" aria-valuenow=\"45\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 100%\">
                  \t\t<span>";
                    // line 211
                    echo (isset($context["text_payment_continue"]) ? $context["text_payment_continue"] : null);
                    echo "</span>
                   \t</div>
                \t</div>
                 </div>   
\t\t";
                } else {
                    // line 215
                    echo " 
\t\t\t        ";
                    // line 216
                    if (array_key_exists("error_stock_warning", $context)) {
                        echo " 
\t\t\t\t\t\t<div class=\"alert alert-danger noshipping margintop20 marginbottom0\">";
                        // line 217
                        echo (isset($context["error_stock_warning"]) ? $context["error_stock_warning"] : null);
                        echo "</div>
\t\t\t\t\t";
                    }
                    // line 218
                    echo " 
\t\t\t\t\t";
                    // line 219
                    if (array_key_exists("error_minimum_warning", $context)) {
                        echo " 
\t\t\t\t\t\t<div class=\"alert alert-danger noshipping margintop20 marginbottom0\">";
                        // line 220
                        echo (isset($context["error_minimum_warning"]) ? $context["error_minimum_warning"] : null);
                        echo "</div>
\t\t\t\t\t";
                    }
                    // line 221
                    echo " 
\t\t       ";
                }
                // line 222
                echo "       \t\t

      ";
            }
            // line 225
            if (((isset($context["shipping_required"]) ? $context["shipping_required"] : null) || (isset($context["isMobile"]) ? $context["isMobile"] : null))) {
                echo "    
<div id=\"xcart\" class=\"animated1 zoomIn1\">";
                // line 226
                echo (isset($context["xcart"]) ? $context["xcart"] : null);
                echo "</div>
<div class=\"clearfix\"></div>
";
            }
            // line 229
            if ( !(isset($context["isMobile"]) ? $context["isMobile"] : null)) {
                // line 230
                echo "<div id=\"options\">";
                echo (isset($context["xoptions"]) ? $context["xoptions"] : null);
                echo "</div>    
<div class=\"clearfix\"></div>
";
            }
            // line 233
            echo "<div id=\"totals\">";
            echo (isset($context["xtotals"]) ? $context["xtotals"] : null);
            echo "</div>  
<div class=\"clearfix\"></div>
</div>
</div></div>
";
            // line 237
            if ((isset($context["mask"]) ? $context["mask"] : null)) {
                echo " 
<script type=\"text/javascript\" src=\"catalog/view/javascript/xtensions/stylesheet/bs/js/jquery.maskedinput.min.js\"></script>
<script type=\"text/javascript\">
jQuery(function(\$){
";
                // line 241
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable((isset($context["mask"]) ? $context["mask"] : null));
                foreach ($context['_seq'] as $context["key"] => $context["value"]) {
                    echo "\t      
\$(\"#guestfieldspayment #";
                    // line 242
                    echo $context["key"];
                    echo "\").mask(\"";
                    echo $context["value"];
                    echo "\");
";
                    // line 243
                    if (((isset($context["shipping_required"]) ? $context["shipping_required"] : null) &&  !(isset($context["same_shipping"]) ? $context["same_shipping"] : null))) {
                        echo " 
\$(\"#guestfieldsshipping #";
                        // line 244
                        echo $context["key"];
                        echo "\").mask(\"";
                        echo $context["value"];
                        echo "\");
";
                    }
                    // line 245
                    echo " 
";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 247
                echo "});
</script>
";
            }
            // line 249
            echo " 
<script type=\"text/javascript\" src=\"catalog/view/javascript/xtensions/stylesheet/bs/js/xcustom.js\"></script>
<script type=\"text/javascript\">
";
            // line 252
            if ((( !(isset($context["address_modal"]) ? $context["address_modal"] : null) &&  !(isset($context["payment_address"]) ? $context["payment_address"] : null)) &&  !(isset($context["shipping_address1"]) ? $context["shipping_address1"] : null))) {
                echo " 
\$(document).ready(function() {
\t\$('.col-md-3.lborder').addClass('xblur');
});
";
            }
            // line 256
            echo " 
";
            // line 257
            if ((((isset($context["address_modal"]) ? $context["address_modal"] : null) &&  !(isset($context["payment_address"]) ? $context["payment_address"] : null)) &&  !(isset($context["shipping_address1"]) ? $context["shipping_address1"] : null))) {
                echo " 
\$(document).ready(function() {
    \$('#addressModalpayment').modal('show');
});
";
            } else {
                // line 262
                echo "\$(document).ready(function() {
\t\$('body').removeClass('modal-open');
});
";
            }
            // line 265
            echo " 
\$(function () {
    \$('[data-toggle=\"tooltip\"]').tooltip();
    \$('[data-toggle=\"popover\"]').popover();
  }); 
\$('#step1 a').click(function(event){
    event.preventDefault();               
  click1();
});
\$(\"#click1\").click(function() {
  click1();
});
function click1(){
  \$('#step3').removeClass('active');
  \$('#step3').addClass('disabled');
  \$('#step2').removeClass('active');
  \$('#step2').removeClass('complete');
  \$('#step2').addClass('disabled');
  \$('#click2').removeClass('clickable');
  \$('#undo2').hide();
  \$('#step1').removeClass('complete');
    \$('#step1').addClass('active');
    \$('#click1').removeClass('clickable');          
  \$('#step1 a').removeAttr('href');
  \$('#undo1').hide(); 
  \$('#step_payment_panel').hide();
  \$('#step_payment_panel').html('');
  \$('#step_address_panel').hide();
  \$('#step_address_panel').html('');
  \$('#step_login_panel').show();
};
\$('input[type=\"checkbox\"][name=\"agree\"]').change(function() {
  if(this.checked){
      \$('#progress-continue').css('display','block');
      \$('#progress-continue-disabled').css('display','none');
    }else{
      \$('#progress-continue').css('display','none');
      \$('#progress-continue-disabled').css('display','block');        
    }
});
</script>
<script type=\"text/javascript\">
\$('.date').datetimepicker({
\tlanguage: '";
            // line 308
            echo (isset($context["datepicker"]) ? $context["datepicker"] : null);
            echo "',
\tpickTime: false
});
\$('.time').datetimepicker({
\tlanguage: '";
            // line 312
            echo (isset($context["datepicker"]) ? $context["datepicker"] : null);
            echo "',
\tpickDate: false
});
\$('.datetime').datetimepicker({
\tlanguage: '";
            // line 316
            echo (isset($context["datepicker"]) ? $context["datepicker"] : null);
            echo "',
\tpickDate: true,
\tpickTime: true
});
</script>
";
        }
        // line 321
        echo " 
";
    }

    public function getTemplateName()
    {
        return "default/template/extension/module/xtensions/checkout/xguest.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  819 => 321,  810 => 316,  803 => 312,  796 => 308,  751 => 265,  745 => 262,  737 => 257,  734 => 256,  726 => 252,  721 => 249,  716 => 247,  709 => 245,  702 => 244,  698 => 243,  692 => 242,  686 => 241,  679 => 237,  671 => 233,  664 => 230,  662 => 229,  656 => 226,  652 => 225,  647 => 222,  643 => 221,  638 => 220,  634 => 219,  631 => 218,  626 => 217,  622 => 216,  619 => 215,  611 => 211,  606 => 209,  600 => 206,  594 => 205,  590 => 204,  587 => 203,  579 => 201,  576 => 200,  574 => 199,  570 => 198,  566 => 197,  562 => 196,  559 => 195,  552 => 193,  550 => 192,  547 => 191,  541 => 189,  537 => 188,  534 => 187,  528 => 184,  523 => 183,  520 => 182,  515 => 181,  511 => 180,  506 => 178,  501 => 176,  494 => 171,  489 => 170,  485 => 169,  482 => 168,  475 => 167,  471 => 166,  467 => 164,  462 => 162,  458 => 161,  454 => 160,  449 => 159,  445 => 158,  442 => 157,  437 => 156,  433 => 155,  430 => 154,  420 => 148,  415 => 146,  409 => 143,  403 => 142,  399 => 141,  394 => 140,  386 => 137,  383 => 136,  381 => 135,  377 => 134,  372 => 132,  369 => 131,  363 => 129,  358 => 128,  356 => 127,  350 => 123,  340 => 119,  336 => 118,  330 => 115,  326 => 114,  323 => 113,  316 => 109,  311 => 108,  308 => 107,  303 => 106,  299 => 105,  294 => 103,  289 => 101,  285 => 100,  280 => 98,  275 => 95,  266 => 89,  261 => 87,  256 => 86,  253 => 85,  248 => 84,  244 => 83,  240 => 81,  235 => 80,  231 => 79,  225 => 76,  221 => 74,  216 => 72,  211 => 71,  208 => 70,  203 => 69,  199 => 68,  194 => 66,  190 => 65,  181 => 63,  179 => 62,  172 => 57,  167 => 54,  161 => 53,  155 => 51,  153 => 50,  150 => 49,  144 => 47,  142 => 46,  136 => 43,  132 => 41,  127 => 39,  122 => 38,  119 => 37,  114 => 36,  110 => 35,  105 => 33,  101 => 32,  96 => 30,  93 => 29,  85 => 25,  75 => 24,  69 => 20,  63 => 18,  58 => 15,  53 => 14,  49 => 13,  45 => 12,  37 => 7,  33 => 6,  30 => 5,  24 => 3,  21 => 2,  19 => 1,);
    }
}
/* {% if force_redirect %}*/
/* <script type="text/javascript">*/
/* location = '{{ force_redirect }}';*/
/* </script>*/
/* {% else %} */
/* {{ payment_modal_form }} */
/* {{ shipping_required?shipping_modal_form:'' }} */
/* <div id="guestPage" class="container">*/
/* <div class="row equal is_guest_page">*/
/* <div id="existingAddress">*/
/*  <div class="col-md-9">*/
/* <div id="guestPanel" {{ payment_address or shipping_address1 or address_modal?'':'style="display: none;"' }}>*/
/* {% if shipping_address1 and shipping_required and not xshipping_method  %} */
/* 	<div class="alert alert-danger noshipping margintop20 marginbottom0">{{ shipping_error }}</div>*/
/* {% endif %} */
/* <div class="clearfix"></div>*/
/*               <div class="row" >*/
/*                 {% if not shipping_required or same_shipping  %} */
/*               		<input type="hidden" name="xshipping_address_check" value="1"  />*/
/*             	{% else %} */
/*               		<div class="col-md-12">	*/
/*               		<div class="checkbox is_checkbox info-back-checkout text-center">*/
/*               		<label for="shipping_check">*/
/*                 	<input onchange="same_guest_shipping(this,'{{ text_psaddress }}','{{ text_paddress }}',{{ payment_address?'true':'false' }})" type="checkbox" class="input-checkbox" name="xshipping_address_check" value="1" id="shipping_check" {{ shipping_same ?'checked="checked"':'' }} />*/
/*         			{{ entry_shipping }} */
/*               		</label>*/
/*            	   </div>*/
/*            	   		</div>*/
/*             	{% endif %}           	              */
/*                 <div class="payment-address-panel {{ not shipping_required or shipping_required and shipping_same?'col-md-12':'col-md-6' }}">*/
/*                   <div class="panel-address">                   */
/*                    <div class="panel-address-heading address-type"><i class="fa fa-money" aria-hidden="true"></i>&nbsp;<span class="padd">{{ shipping_required and shipping_same or same_shipping? text_psaddress:text_paddress }}</span>*/
/*                    {% if payment_address  %} */
/*                    <small class="pull-right">*/
/*                    {% if address_modal  %} */
/*                    <a class="pointer" data-toggle="modal" data-target="#addressModalpayment" >{{ text_edit_address }}</a>*/
/*                    {% else %} */
/*                    <a class="pointer" onclick="toggleElement('#guestPanel, #guest_payment_panel');$('.col-md-3.lborder').addClass('xblur');">{{ text_edit_address }}</a>*/
/*                    {% endif %}                   */
/*                    </small>*/
/*                    {% endif %} */
/*                    </div>                    */
/*                     <div class="panel-address-body payment-address{{ not payment_address?' no-address':''  }}">*/
/*                     	<div class="text-justified">*/
/*                     	<div class="selected-address">*/
/*                     	{% if payment_address %}*/
/*                    		{{ payment_address }}*/
/*                    		{% else %}*/
/*                    		<h4 class="text-center">*/
/*                    		{% if address_modal %}*/
/*                    		<a data-toggle="modal" data-target="#addressModalpayment">{{ text_address_new }}</a>*/
/*                    		{% else %}*/
/*                    		<a class="pointer" onclick="toggleElement('#guestPanel, #guest_payment_panel');"><span class="glyphicon glyphicon-plus"></span>{{ text_address_new }}</a>*/
/*                    		{% endif %}                   		*/
/*                    		</h4>*/
/*                    		{% endif %}*/
/*                     	</div>                  	*/
/*                     </div>*/
/*                   </div>*/
/*                 </div>*/
/*                 </div>*/
/*                  {% if shipping_required and not same_shipping  %}*/
/*                  <div class="col-md-6 shipping-address-panel xshipping" style="{% if shipping_same  %} {{ 'display:none;' }}{% endif %}">*/
/*                   <div class="panel-address">                   */
/*                    <div class="panel-address-heading address-type"><i class="fa fa-address-card-o" aria-hidden="true"></i>&nbsp;{{ text_saddress }} */
/*                    {% if payment_address  %}                   */
/*                    <small class="pull-right">*/
/*                    {% if address_modal  %} */
/*                    <a class="pointer" data-toggle="modal" data-target="#addressModalshipping" >{{ text_edit_address }}</a>*/
/*                    {% else %} */
/*                    <a class="pointer" onclick="toggleElement('#guestPanel, #guest_shipping_panel');$('.col-md-3.lborder').addClass('xblur');">{{ shipping_address1?text_edit_address:text_address_new }}</a>*/
/*                    {% endif %}                                      */
/*                    </small>*/
/*                    {% endif %} */
/*                    </div>                    */
/*                     <div class="panel-address-body shipping-address{{ not shipping_address1?' no-address':''  }}" >*/
/*                     	<div class="text-justified">*/
/*                     	<div class="selected-address">*/
/*                     	{% if shipping_address1  %} */
/*                    		{{ shipping_address1 }} */
/*                    		{% else %} */
/*                    		<h4 class="text-center">*/
/*                    		{% if address_modal  %} */
/*                    		<a data-toggle="modal" data-target="#addressModalshipping">{{ text_address_new }}</a>*/
/*                    		{% else %} */
/*                    		<a class="pointer" onclick="toggleElement('#guestPanel, #guest_shipping_panel');"><span class="glyphicon glyphicon-plus"></span>{{ text_add_saddress }}</a>*/
/*                    		{% endif %}                   		*/
/*                    		</h4>*/
/*                    		{% endif %} */
/*                     	</div>                  	*/
/*                     </div>*/
/*                   </div>*/
/*                 </div>*/
/*                 </div>*/
/*                  {% endif %}                          */
/*                 <div class="clearfix"></div>                */
/*               </div>    */
/* 			{% if not address_block  %} */
/* 				<div class="row">*/
/* 			  		{% if shipping_required and shipping_address1  %} */
/*                 	<div class="{{ display_comments?'col-md-6':'col-md-12' }}">*/
/*                 	<div id="shipping_method" class="container_panel">                	              */
/*         			<div class="heading"><i class="fa fa-truck" aria-hidden="true"></i>&nbsp;{{ text_shipping_method }}</div>*/
/*           			<div class="shipping-table">*/
/*           			{% if shipping_address1 and shipping_required and not xshipping_method  %} */
/* 					<div class="col-sm-12"><div class="alert alert-danger noshipping margintop20 marginbottom0">{{ shipping_error }}</div></div>*/
/* 					{% else %} */
/* 					{{ xshipping_method }} */
/* 					{% endif %} */
/* 					</div>*/
/*           			</div>*/
/*                 </div>*/
/*                 {% endif %} */
/*                 {% if ((payment_address and not shipping_required) or (payment_address and shipping_address1 and shipping_required)) and display_comments  %} */
/*                 <div class="{{ shipping_required?'col-md-6':'col-md-12' }}">*/
/*                 	<div id="comment">*/
/*                 		<div id="order-comment" class="container_panel" >              */
/*         					<div class="heading"><i class="fa fa-comment" aria-hidden="true"></i>&nbsp;{{ comment_text }}</div>*/
/*         					<textarea name="comment" class="form-control" rows="3" placeholder="{{ comment_placeholder_text }}">{{ comment }}</textarea>*/
/*         				</div>*/
/*         			</div>*/
/*                  </div>*/
/*                 {% endif %} */
/*              </div>        */
/*              <div class="clearfix"></div>               */
/*              <div id="checkout-button row">*/
/* 			{% if (payment_address and not shipping_required) or (payment_address and shipping_address1 and shipping_required)  %}*/
/* 			{% if isMobile %}  */
/*     	      	<div id="options">{{ xoptions }}</div>*/
/*     	      	<div class="clearfix"></div>*/
/*       	    {% endif %} */
/*               {% if error_stock_warning is not defined and error_minimum_warning is not defined  %} */
/*               <div class="row margintop20">*/
/*        			<div id="agree-panel" {{ shipping_address1 and shipping_required and not xshipping_method?'style="display:none;"':'' }} class="col-md-12 agree-panel">*/
/*        			{% if text_agree  %}*/
/*        				<div id="agreeText" class="col-md-6 agreeText">*/
/*           			<label class="pointer checkbox is_checkbox"><input type="checkbox" class="input-checkbox" name="agree" value="1" {{ agree?'checked="checked"':'' }}><span>{{ text_agree }}</span></label>          			*/
/*     				</div>*/
/*     			{% endif %}*/
/*     			<div class="{{ text_agree?'col-md-6 large-pull-right paddingright0':'col-md-12 nopadding' }}">*/
/*     				<div class="progress progress-continue-disabled" id="progress-continue-disabled" {{ text_agree and not agree?'style="display: block"':'style="display: none"' }} >*/
/*                     	<div data-trigger="focus" tabindex="0" data-placement="top" data-toggle="popover" title="{{ info_title }}" data-content="{{ agree_content }}" class="progress-bar" role="progressbar" id="button-payment-disabled" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100">*/
/*                       		<span>{{ text_payment_continue }}<i class="fa fa-lock"></i></span>*/
/*                     	</div>*/
/*                 	</div>*/
/*         			<div class="progress progress-continue" id="progress-continue" {{ text_agree and not agree?'style="display: none"':'' }} >*/
/*                     	<div class="progress-bar progress-bar-success" role="progressbar" onclick="callPaymentFromGuest();" id="button-payment" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 100%">*/
/*                       		<span>{{ text_payment_continue }}</span>*/
/*                     	</div>*/
/*                  	</div>*/
/*                  </div>*/
/*         		</div>*/
/*         		</div>*/
/*         		{% else %} */
/* 			        {% if error_stock_warning is defined  %} */
/* 						<div class="alert alert-danger noshipping margintop20 marginbottom0">{{ error_stock_warning }}</div>*/
/* 					{% endif %} */
/* 					{% if error_minimum_warning is defined  %} */
/* 						<div class="alert alert-danger noshipping margintop20 marginbottom0">{{ error_minimum_warning }}</div>*/
/* 					{% endif %} */
/* 		       {% endif %}	*/
/*       		   {% endif %} */
/* </div>   		   */
/* {% endif %} */
/* </div>*/
/* {% if not address_modal  %} */
/* <div id="guest_payment_panel" {{ payment_address or shipping_address1?'style="display: none;"':'' }} class="inlineaddress margintop20  zoomIn">{{ payment_inline_form }}</div>*/
/* {% endif %} */
/* {% if not address_modal and shipping_required  %} */
/* <div id="guest_shipping_panel" style="display: none;" class="inlineaddress margintop20  zoomIn">{{ shipping_inline_form }}</div>*/
/* {% endif %} */
/* </div>*/
/* </div>*/
/* <div  class="col-md-3 lborder">*/
/* <div id="sLoader" class="loader"></div>    */
/* {% if address_block and shipping_required and shipping_address1  %} */
/* <div id="shipping_method" class="panel panel-green1">*/
/* <div class="panel-heading"><i class="fa fa-truck" aria-hidden="true"></i>&nbsp;{{ text_shipping_method }}</div>*/
/* <div class="shipping-table">*/
/* {% if shipping_address1 and shipping_required and not xshipping_method  %} */
/* <span class="xerror noshipping marginbottom0">{{ shipping_error }}</span>*/
/* {% else %} */
/* {{ xshipping_method }} */
/* {% endif %} */
/* </div>*/
/* </div>*/
/* {% endif %} */
/* {% if ((payment_address and not shipping_required) or (payment_address and shipping_address1 and shipping_required)) and address_block and isMobile %}    */
/* <div id="options" class="animated1 zoomIn1">{{ xoptions }}</div>*/
/* <div class="clearfix"></div>*/
/* {% endif %} */
/* {% if not shipping_required and not isMobile %}*/
/* <div id="xcart" class="animated1 zoomIn1">{{ xcart }}</div>*/
/* <div class="clearfix"></div>*/
/* {% endif %} */
/* {% if ((payment_address and not shipping_required) or (payment_address and shipping_address1 and shipping_required)) and address_block  %}        */
/*        			{% if error_stock_warning is not defined and error_minimum_warning is not defined  %} */
/*        			<div id="agree-panel" {{ addresses and shipping_required and not xshipping_method?'style="display:none;"':'' }} class="agree-panel">*/
/*        			{% if text_agree  %}*/
/*        				<div id="agreeText" class="agreeText agreeTextalternate text-center">*/
/*           				<label class="pointer checkbox is_checkbox"><input type="checkbox" class="input-checkbox" name="agree" value="1" {{ agree?'checked="checked"':'' }}><span>{{ text_agree }}</span></label>*/
/*     				</div>       				*/
/*     			{% endif %}    			*/
/*     			<div class="progress progress-continue-disabled" id="progress-continue-disabled" {{ text_agree and not agree?'style="display: block"':'style="display: none"' }} >*/
/*                     	<div data-trigger="focus" tabindex="0" data-placement="top" data-toggle="popover" title="{{ info_title }}" data-content="{{ agree_content }}" class="progress-bar" role="progressbar" id="button-payment-disabled" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100">*/
/*                       		<span>{{ text_payment_continue }}<i class="fa fa-lock"></i></span>*/
/*                     	</div>*/
/*                 </div>*/
/*         		<div class="progress progress-continue" id="progress-continue" {{ text_agree and not agree?'style="display: none"':'' }} >*/
/*                   	<div class="progress-bar progress-bar-success" onclick="callPaymentFromGuest();" role="progressbar" id="button-payment" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 100%">*/
/*                   		<span>{{ text_payment_continue }}</span>*/
/*                    	</div>*/
/*                 	</div>*/
/*                  </div>   */
/* 		{% else %} */
/* 			        {% if error_stock_warning is defined  %} */
/* 						<div class="alert alert-danger noshipping margintop20 marginbottom0">{{ error_stock_warning }}</div>*/
/* 					{% endif %} */
/* 					{% if error_minimum_warning is defined  %} */
/* 						<div class="alert alert-danger noshipping margintop20 marginbottom0">{{ error_minimum_warning }}</div>*/
/* 					{% endif %} */
/* 		       {% endif %}       		*/
/* */
/*       {% endif %}*/
/* {% if shipping_required or isMobile %}    */
/* <div id="xcart" class="animated1 zoomIn1">{{ xcart }}</div>*/
/* <div class="clearfix"></div>*/
/* {% endif %}*/
/* {% if not isMobile %}*/
/* <div id="options">{{ xoptions }}</div>    */
/* <div class="clearfix"></div>*/
/* {% endif %}*/
/* <div id="totals">{{ xtotals }}</div>  */
/* <div class="clearfix"></div>*/
/* </div>*/
/* </div></div>*/
/* {% if mask  %} */
/* <script type="text/javascript" src="catalog/view/javascript/xtensions/stylesheet/bs/js/jquery.maskedinput.min.js"></script>*/
/* <script type="text/javascript">*/
/* jQuery(function($){*/
/* {% for key,value in mask %}	      */
/* $("#guestfieldspayment #{{ key }}").mask("{{ value }}");*/
/* {% if shipping_required and not same_shipping  %} */
/* $("#guestfieldsshipping #{{ key }}").mask("{{ value }}");*/
/* {% endif %} */
/* {% endfor %}*/
/* });*/
/* </script>*/
/* {% endif %} */
/* <script type="text/javascript" src="catalog/view/javascript/xtensions/stylesheet/bs/js/xcustom.js"></script>*/
/* <script type="text/javascript">*/
/* {% if not address_modal and not payment_address and not shipping_address1  %} */
/* $(document).ready(function() {*/
/* 	$('.col-md-3.lborder').addClass('xblur');*/
/* });*/
/* {% endif %} */
/* {% if address_modal and not payment_address and not shipping_address1  %} */
/* $(document).ready(function() {*/
/*     $('#addressModalpayment').modal('show');*/
/* });*/
/* {% else %}*/
/* $(document).ready(function() {*/
/* 	$('body').removeClass('modal-open');*/
/* });*/
/* {% endif %} */
/* $(function () {*/
/*     $('[data-toggle="tooltip"]').tooltip();*/
/*     $('[data-toggle="popover"]').popover();*/
/*   }); */
/* $('#step1 a').click(function(event){*/
/*     event.preventDefault();               */
/*   click1();*/
/* });*/
/* $("#click1").click(function() {*/
/*   click1();*/
/* });*/
/* function click1(){*/
/*   $('#step3').removeClass('active');*/
/*   $('#step3').addClass('disabled');*/
/*   $('#step2').removeClass('active');*/
/*   $('#step2').removeClass('complete');*/
/*   $('#step2').addClass('disabled');*/
/*   $('#click2').removeClass('clickable');*/
/*   $('#undo2').hide();*/
/*   $('#step1').removeClass('complete');*/
/*     $('#step1').addClass('active');*/
/*     $('#click1').removeClass('clickable');          */
/*   $('#step1 a').removeAttr('href');*/
/*   $('#undo1').hide(); */
/*   $('#step_payment_panel').hide();*/
/*   $('#step_payment_panel').html('');*/
/*   $('#step_address_panel').hide();*/
/*   $('#step_address_panel').html('');*/
/*   $('#step_login_panel').show();*/
/* };*/
/* $('input[type="checkbox"][name="agree"]').change(function() {*/
/*   if(this.checked){*/
/*       $('#progress-continue').css('display','block');*/
/*       $('#progress-continue-disabled').css('display','none');*/
/*     }else{*/
/*       $('#progress-continue').css('display','none');*/
/*       $('#progress-continue-disabled').css('display','block');        */
/*     }*/
/* });*/
/* </script>*/
/* <script type="text/javascript">*/
/* $('.date').datetimepicker({*/
/* 	language: '{{ datepicker }}',*/
/* 	pickTime: false*/
/* });*/
/* $('.time').datetimepicker({*/
/* 	language: '{{ datepicker }}',*/
/* 	pickDate: false*/
/* });*/
/* $('.datetime').datetimepicker({*/
/* 	language: '{{ datepicker }}',*/
/* 	pickDate: true,*/
/* 	pickTime: true*/
/* });*/
/* </script>*/
/* {% endif %} */
/* */
