<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
      <title><?php echo $__env->yieldContent('title'); ?></title>
      <?php echo $__env->yieldContent('meta-data'); ?>
      <link rel="icon" href="<?php echo e(asset('public/img').'/'.$setting->favicon); ?>" type="image/x-icon">
      <link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
      <link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
      <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css">
      <link href="<?php echo e(asset('public/front/Docpro/assets/css/font-awesome-all.css')); ?>" rel="stylesheet">
      <link href="<?php echo e(asset('public/front/Docpro/assets/css/flaticon.css')); ?>" rel="stylesheet">
      <link href="<?php echo e(asset('public/front/Docpro/assets/css/owl.css')); ?>" rel="stylesheet">
      <link href="<?php echo e(asset('public/front/Docpro/assets/css/bootstrap.css')); ?>" rel="stylesheet">
      <link href="<?php echo e(asset('public/front/Docpro/assets/css/jquery.fancybox.min.css')); ?>" rel="stylesheet">
      <link href="<?php echo e(asset('public/front/Docpro/assets/css/animate.css')); ?>" rel="stylesheet">
      <link href="<?php echo e(asset('public/front/Docpro/assets/css/color.css')); ?>" rel="stylesheet">
      <link href="<?php echo e(asset('public/front/Docpro/assets/css/nice-select.css')); ?>" rel="stylesheet">
     
     <!--model -->
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
        
      <?php if($setting->is_rtl==1): ?>
         <link href="<?php echo e(asset('public/front/Docpro/assets/css/app-rtl.min.css?v=123')); ?>" rel="stylesheet" />
      <?php else: ?>
         <link href="<?php echo e(asset('public/front/Docpro/assets/css/style.css?v=2323')); ?>" rel="stylesheet">
      <?php endif; ?>       
      <link href="<?php echo e(asset('public/front/Docpro/assets/css/responsive.css')); ?>" rel="stylesheet">
      <link rel="stylesheet" href="//code.jquery.com/ui/1.13.0/themes/base/jquery-ui.css">  
      <?php echo $__env->make('front.cssclass', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
      <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
      <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.2.0/sweetalert2.min.css">
  <style>
   .nice-select .list {
                           max-height: 200px;
                           overflow-y: auto;
                      }
.icon-Trust-1 {
   display: none;
    color: black;
}
.check:checked + label .icon-Trust-1 {
   padding-left:30px ;
   font-size: 20px;
   display: inline-block;
    color: #5cb85c;
}
/* .nice-select{
   display: none;
} */
  </style>
   </head>
   <body>     
      <div class="boxed_wrapper">
         <div class="preloader"></div>
         <header class="main-header style-two">
            <div class="header-top">
              
               <div class="outer-container">
                  <div class="top-inner clearfix">
                     <?php if($setting->is_rtl==1): ?>
                     <div class="top-left pull-right">
                        <?php else: ?>
                        <div class="top-left pull-left">
                        <?php endif; ?>
                        <ul class="info clearfix">
                           <li><i class="fas fa-map-marker-alt"></i><?php echo e($setting->address); ?></li>
                           <li><i class="fas fa-phone"></i><a href="javascript::void(0)"><?php echo e($setting->phone); ?></a></li>
                        </ul>
                     </div>
                     <?php if($setting->is_rtl==1): ?>

                     <div class="top-right pull-left">
                        <?php else: ?>
                         <div class="top-right pull-right">
                        <?php endif; ?>
                        <ul class="info clearfix">
                           <?php if(Auth::id()): ?>
                              <?php if(Auth::id() != 1): ?>
                                 <li><a href="<?php echo e(route('dashboard')); ?>"><?php echo e(__('message.My Account')); ?></a></li>
                             <?php else: ?>
                                 <li><a href="<?php echo e(route('user-login')); ?>"><?php echo e(__('message.Sign In')); ?></a></li>
                             <?php endif; ?>
                           <?php else: ?>
                             <li><a href="<?php echo e(route('user-login')); ?>"><?php echo e(__('message.Sign In')); ?></a></li>
                           <?php endif; ?>
                           <?php $cartCollection = Cart::getContent();?>
                           <?php if(Session::has("user")): ?>
                           <li><a href="<?php echo e(route('checkout')); ?>"><i class="fa fa-shopping-cart"></i><div class="e-nav-cricle"><h1 id="totalcart"><?php echo e(isset($totalcartmember)?$totalcartmember:''); ?></h1></div></a></li>
                        
                           <?php else: ?>
                            <!--<li><a><i type="button" data-toggle="modal" data-target="#myModal" class="fa fa-shopping-cart"></i><div class="e-nav-cricle"><h1 id="totalcart"><?php echo e(isset($totalcartmember)?$totalcartmember:''); ?></h1></div></a></li>-->
                        
                           <?php endif; ?>
                        </ul>
                     </div>
                  </div>
               </div>
            </div>
            
            <div class="header-lower">
               <div class="outer-container">
                  <div class="outer-box">
                     <div class="logo-box">
                        <figure class="logo"><a href="<?php echo e(route('home')); ?>"><img src="<?php echo e(asset('public/img').'/'.$setting->logo); ?>" alt=""></a></figure>
                     </div>
                     <div class="menu-area">
                        <div class="mobile-nav-toggler">
                           <i class="icon-bar"></i>
                           <i class="icon-bar"></i>
                           <i class="icon-bar"></i>
                        </div>
                        <nav class="main-menu navbar-expand-md navbar-light">
                           <div class="collapse navbar-collapse show clearfix" id="navbarSupportedContent">
                              <ul class="navigation clearfix">
                                 <li class="<?=Session::get("active_menu")==1?'current':''?>"><a href="<?php echo e(route('home')); ?>"><?php echo e(__('message.Home')); ?></a></li>
                                 <li class="<?=Session::get("active_menu")==2?'current':''?>"><a href="<?php echo e(route('aboutus')); ?>"><?php echo e(__('message.About Us')); ?></a></li>
                                 <li class="<?=Session::get("active_menu")==3?'current':''?>"><a href="<?php echo e(route('service')); ?>"><?php echo e(__('message.Service')); ?></a></li>
                                 <li class="dropdown <?=Session::get("active_menu")==4?'current':''?>">
                                    <a href="#"><?php echo e(__('message.Popular Package')); ?></a>
                                    <ul>
                                       <?php $__currentLoopData = $popular_package; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                          <li>
                                             <?php if($p->type==1): ?>
                                                <a href="<?php echo e(route('package-detail', ['id' => $p->type_id ])); ?>">
                                             <?php elseif($p->type==2): ?>
                                                 <a href="<?php echo e(route('parameter-detail', ['id' => $p->type_id ])); ?>">
                                             <?php elseif($p->type==3): ?>
                                                <a href="<?php echo e(route('profile-detail', ['id' => $p->type_id ])); ?>">
                                             <?php endif; ?>
                                                <?php echo e($p->name); ?>

                                              </a>
                                          </li>
                                       <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </ul>
                                 </li>
                                 <li class="<?=Session::get("active_menu")==5?'current':''?>">
                                    <a href="<?php echo e(route('category-list')); ?>"><?php echo e(__('message.Category')); ?></a>
                                    
                                 </li>
                                 <li class="<?=Session::get("active_menu")==6?'current':''?>"><a href="<?php echo e(route('contact-us')); ?>"><?php echo e(__('message.Contact Us')); ?></a></li>
                              </ul>
                           </div>
                        </nav>
                     </div>
                     
                     <?php if(Auth::id()): ?>
                        <?php if(Auth::id() != 1): ?>
                           <div class="btn-box"><a href="<?php echo e(route('dashboard')); ?>" class="theme-btn-one"><i class="icon-image"></i><?php echo e(__('message.My Account')); ?></a></div>
                        <?php else: ?>
                           <div class="btn-box"> <a href="<?php echo e(route('user-register')); ?>" class="theme-btn-one"><i class="icon-image"></i><?php echo e(__('message.Join Now')); ?></a></div>
                        <?php endif; ?>
                     <?php else: ?>
                     <div class="btn-box"> <a href="<?php echo e(route('user-register')); ?>" class="theme-btn-one"><i class="icon-image"></i><?php echo e(__('message.Join Now')); ?></a></div>
                     <?php endif; ?>
                  </div>
               </div>
            </div>
            <div class="sticky-header">
               <div class="auto-container">
                  <div class="outer-box">
                     <div class="logo-box">
                        <figure class="logo"><a href="<?php echo e(route('home')); ?>"><img src="<?php echo e(asset('public/img').'/'.$setting->logo); ?>" alt=""></a></figure>
                     </div>
                     <div class="menu-area">
                        <nav class="main-menu clearfix">
                        </nav>
                     </div>
                     
                     <?php if(Auth::id()): ?>
                        <?php if(Auth::id() != 1): ?>
                           <div class="btn-box"><a href="<?php echo e(route('dashboard')); ?>" class="theme-btn-one"><i class="icon-image"></i><?php echo e(__('message.My Account')); ?></a></div>
                        <?php else: ?>
                           <div class="btn-box"> <a href="<?php echo e(route('user-register')); ?>" class="theme-btn-one"><i class="icon-image"></i><?php echo e(__('message.Join Now')); ?></a></div>
                        <?php endif; ?>
                     <?php else: ?>
                     <div class="btn-box"> <a href="<?php echo e(route('user-register')); ?>" class="theme-btn-one"><i class="icon-image"></i><?php echo e(__('message.Join Now')); ?></a></div>
                     <?php endif; ?>
                  </div>
               </div>
            </div>
         </header>
         <div class="mobile-menu">
            <div class="menu-backdrop"></div>
            <div class="close-btn"><i class="fas fa-times"></i></div>
            <nav class="menu-box">
               <div class="nav-logo"><a href="#"><img src="<?php echo e(asset('public/img').'/'.$setting->logo); ?>" alt="" title=""></a></div>
               <div class="menu-outer">
               </div>
               <div class="contact-info">
                  <h4><?php echo e(__('message.Contact Info')); ?></h4>
                  <ul>
                     <li><?php echo e($setting->address); ?></li>
                     <li><a href="javascript::void(0)"><?php echo e($setting->phone); ?></a></li>
                     <li><a href="javascript::void(0)"><?php echo e($setting->email); ?></a></li>
                  </ul>
               </div>
               <div class="social-links">
                  <ul class="clearfix">
                     <li><a href="#"><span class="fab fa-twitter"></span></a></li>
                     <li><a href="#"><span class="fab fa-facebook-square"></span></a></li>
                     <li><a href="#"><span class="fab fa-pinterest-p"></span></a></li>
                     <li><a href="#"><span class="fab fa-instagram"></span></a></li>
                     <li><a href="#"><span class="fab fa-youtube"></span></a></li>
                  </ul>
               </div>
            </nav>
         </div>
          <?php echo $__env->yieldContent('content'); ?>
         <section class="agent-section">
            <div class="auto-container">
               <div class="inner-container bg-color-2">
                  <div class="row clearfix">
                     <div class="col-lg-6 col-md-12 col-sm-12 left-column">
                        <div class="content_block_3">
                           <div class="content-box">
                              <h3><?php echo e(__('message.Emergency call')); ?></h3>
                              <div class="support-box">
                                 <div class="icon-box"><i class="fas fa-phone"></i></div>
                                 <span><?php echo e(__('message.Telephone')); ?></span>
                                 <h3><a href="javascript::void(0)"><?php echo e($setting->phone); ?></a></h3>
                              </div>
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-6 col-md-12 col-sm-12 right-column">
                        <div class="content_block_4">
                           <div class="content-box">
                              <h3><?php echo e(__('message.Sign up for Email')); ?></h3>
                              <form action="#" method="post" class="subscribe-form">
                                 <div class="form-group">
                                    <input type="email" name="email" id="emailnews" placeholder="<?php echo e(__('message.Enter Email')); ?>" required="">
                                    <button type="button" onclick="addnewsletter()" class="theme-btn-one"><?php echo e(__('message.Submit now')); ?><i class="icon-Arrow-Right"></i></button>
                                 </div>
                              </form>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </section>
         <footer class="main-footer">
            <div class="footer-top">
               <div class="pattern-layer">
                  <?php 
                     $sharp30 = asset('public/front/Docpro/assets/images/shape/shape-30.png');
                     $sharp31 = asset('public/front/Docpro/assets/images/shape/shape-31.png');
                     ?>
                  <div class="pattern-1" style="background-image: url('<?php echo e($sharp30); ?>');"></div>
                  <div class="pattern-2" style="background-image: url('<?php echo e($sharp31); ?>');"></div>
               </div>
               <div class="auto-container">
                  <div class="widget-section">
                     <div class="row clearfix">
                        <div class="col-lg-4 col-md-6 col-sm-12 footer-column">
                           <div class="footer-widget logo-widget">
                              <figure class="footer-logo"><a href="#"><img src="<?php echo e(asset('public/img').'/'.$setting->footer_logo); ?>" alt=""></a></figure>
                              <div class="text">
                                 <p><?php echo e(__('message.footer text')); ?></p>
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-2 col-md-6 col-sm-12 footer-column">
                           <div class="footer-widget links-widget">
                              <div class="widget-title">
                                 <h3>About</h3>
                              </div>
                              <div class="widget-content">
                                 <ul class="links clearfix">
                                    <li><a href="<?php echo e(route('aboutus')); ?>"><?php echo e(__('message.About Us')); ?></a></li>
                                    <li><a href="<?php echo e(route('service')); ?>"><?php echo e(__('message.Our Services')); ?></a></li>
                                    <li><a href="<?php echo e(route('contact-us')); ?>"><?php echo e(__('message.Contact Us')); ?></a></li>                                   
                                    <li><a href="<?php echo e(url('/#download_app')); ?>"><?php echo e(__('message.Download apps')); ?></a></li>
                                 </ul>
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-6 col-sm-12 footer-column">
                           <div class="footer-widget links-widget">
                              <div class="widget-title">
                                 <h3><?php echo e(__('message.Useful Links')); ?></h3>
                              </div>
                              <div class="widget-content">
                                 <ul class="links clearfix">
                                    <li><a href="<?php echo e(route('show-package-list')); ?>"><?php echo e(__('message.Popular Package')); ?></a></li>
                                    <li><a href="<?php echo e(url('categorylist')); ?>"><?php echo e(__('message.Category')); ?></a></li>
                                    
                                    <?php if(Auth::id()): ?>
                                       <li><a href="<?php echo e(route('dashboard')); ?>"><?php echo e(__('message.My Account')); ?></a></li>
                                    <?php else: ?>
                                       <li><a href="<?php echo e(route('user-login')); ?>"><?php echo e(__('message.Sign In')); ?></a></li>
                                    <?php endif; ?>
                                    <li><a href="<?php echo e(route('checkout')); ?>"><?php echo e(__('message.CheckOut')); ?></a></li>
                                 </ul>
                              </div>
                           </div>
                        </div>
                        <div class="col-lg-3 col-md-6 col-sm-12 footer-column">
                           <div class="footer-widget contact-widget">
                              <div class="widget-title">
                                 <h3><?php echo e(__('message.Contacts')); ?></h3>
                              </div>
                              <div class="widget-content">
                                 <ul class="info-list clearfix">
                                    <li><i class="fas fa-map-marker-alt"></i>
                                       <?php echo e($setting->address); ?>

                                    </li>
                                    <li><i class="fas fa-microphone"></i>
                                       <a href="javascript::void(0)"><?php echo e($setting->phone); ?></a>
                                    </li>
                                    <li><i class="fas fa-envelope"></i>
                                       <a href="javascript::void(0)"><?php echo e($setting->email); ?></a>
                                    </li>
                                 </ul>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
            <div class="footer-bottom">
               <div class="auto-container">
                  <div class="inner-box clearfix">
                     <div class="copyright pull-left">
                        <p><a href="#"><?php echo e(__("message.site_name")); ?></a> &copy; <?php echo e(date('Y')); ?> <?php echo e(__("message.All Right Reserved")); ?></p>
                     </div>
                     <ul class="footer-nav pull-right clearfix">
                        <li><a href="<?php echo e(route('terms_user')); ?>"><?php echo e(__("message.Terms of Service")); ?></a></li>
                        <li><a href="#"><?php echo e(__("message.Privacy Policy")); ?></a></li>
                     </ul>
                  </div>
               </div>
            </div>
         </footer>
         <button class="scroll-top scroll-to-target" data-target="html">
         <span class="fa fa-arrow-up"></span>
         </button>
      </div>
      <div class="modal" id="addaddress">
         <div class="modal-dialog modal-lg">
            <div class="modal-content" id="member_list">
               <!-- Modal Header -->
               <div class="modal-header">
                  <h4 class="modal-title"><?php echo e(__("message.Select Member")); ?></h4>
                  <button type="button" class="close" data-dismiss="modal">&times;</button>
               </div>
               <!-- Modal body -->
               <div class="modal-body" id="memeber_list">
                  <button type="button" id="address_submit_button" onclick="closecontent('member_list','add_member')" class="btn btn-success mb-3"><?php echo e(__("message.Add Member")); ?></button>
                  <form action="<?php echo e(route('add-cart-member')); ?>" method="post" id="user_address" class="registration-form boxed">
                     <?php echo e(csrf_field()); ?>

                     <input type="hidden" name="type" id="book_type" value="">
                     <input type="hidden" name="type_id" id="book_type_id" value="">
                     <input type="hidden" name="mrp" id="book_mrp" value="">
                     <input type="hidden" name="price" id="book_price" value="">
                     <input type="hidden" name="parameter" id="book_parameter" value="">
                     <div id="member_list_div">
                  <?php if(isset($member_list)): ?>
                    <?php $__currentLoopData = $member_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ml): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                       <input type="checkbox" id="member_<?php echo e($ml->id); ?>" name="member[]" value="<?php echo e($ml->id); ?>" class="check">
                        <label for="member_<?php echo e($ml->id); ?>"><?php echo e($ml->name); ?> <i class="icon-Trust-1"></i> </br> <p><?php echo e($ml->relation); ?></p>
                                                   <p><?php echo e($ml->gender); ?> | <?php echo e($ml->age); ?></p></label>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  <?php endif; ?>
               </div>
               </div>

               <div class="modal-footer">
                  
               <button type="submit" id="address_submit_button" class="btn btn-success"><?php echo e(__("message.Book Now")); ?></button>
               <button type="button" class="btn btn-danger" data-dismiss="modal" ><?php echo e(__("message.Close")); ?></button>
               </div>
               </form>
            </div>
             <div class="modal-content" id="add_member" style="display: none;">
               <!-- Modal Header -->
               <div class="modal-header">
                  <h4 class="modal-title"><?php echo e(__("message.Add New Family Member")); ?></h4>
                  <button type="button" class="close" data-dismiss="modal">&times;</button>
               </div>
               <form action="#" method="post" id="member_form" class="registration-form">
               <!-- Modal body -->
               <div class="modal-body">
                     <div class="row clearfix">
                        <div class="col-lg-4 col-md-6 col-sm-12 form-group">
                           <label><?php echo e(__("message.Relation")); ?><span class="error">*</span></label>
                           <select  name="relation" id="relation1" required="" style="display: none;">
                              <option value=""><?php echo e(__("message.Select Relation")); ?></option>
                              <option value="Self"><?php echo e(__("message.Self")); ?></option>
                              <option value="Spouse"><?php echo e(__("message.Spouse")); ?></option>
                              <option value="Child"><?php echo e(__("message.Child")); ?></option>
                              <option value="Parent"><?php echo e(__("message.Parent")); ?></option>
                              <option value="Grand Parent"><?php echo e(__("message.Grand Parent")); ?></option>
                              <option value="Sibling"><?php echo e(__("message.Sibling")); ?></option>
                              <option value="Friend"><?php echo e(__("message.Friend")); ?></option>
                              <option value="Relative"><?php echo e(__("message.Relative")); ?></option>
                              <option value="Neighbour"><?php echo e(__("message.Neighbour")); ?></option>
                              <option value="Colleague"><?php echo e(__("message.Colleague")); ?></option>
                              <option value="Others"><?php echo e(__("message.Others")); ?></option>
                           </select>
                           <span id="error_relation" class="error"></span>
                        </div>
                        <div class="col-lg-4 col-md-6 col-sm-12 form-group">
                           <label><?php echo e(__("message.Name")); ?><span class="error">*</span></label>
                           <input type="text" name="name" id="member_name" placeholder="<?php echo e(__('message.Enter Name')); ?>" required="">
                           <span id="error_name" class="error"></span>
                        </div>
                        <div class="col-lg-4 col-md-12 col-sm-12 form-group">
                           <label><?php echo e(__("message.email")); ?><span class="error">*</span></label>
                           <input type="email" name="email" id="member_email" placeholder="<?php echo e(__('message.Enter Email')); ?>" required="">
                           <span id="error_email" class="error"></span>
                        </div>
                        <div class="col-lg-4 col-md-6 col-sm-12 form-group">
                           <label><?php echo e(__("message.Phone")); ?><span class="error">*</span></label>
                           <input type="text" name="phone" id="member_phone" placeholder="<?php echo e(__('message.Enter Phone')); ?>" required="">
                           <span id="error_phone" class="error"></span>
                        </div>
                        <div class="col-lg-4 col-md-6 col-sm-12 form-group">
                           <label><?php echo e(__("message.Age")); ?><span class="error">*</span></label>
                           <input type="number" name="age" id="member_age" placeholder="<?php echo e(__('message.Enter Age')); ?>" required="">
                           <span id="error_age" class="error"></span>
                        </div>
                        <div class="col-lg-4 col-md-6 col-sm-12 form-group">
                           <label><?php echo e(__("message.DOB")); ?><span class="error">*</span></label>
                           <input type="date" name="dob" id="member_dob"  required="">
                           <span id="error_dob" class="error"></span>
                        </div>
                        <div class="col-lg-4 col-md-6 col-sm-12 form-group">
                           <label><?php echo e(__("message.Gender")); ?><span class="error">*</span></label>
                           <div class="custom-check-box">
                              <div class="custom-controls-stacked">
                                 <label class="custom-control material-checkbox">
                                 <input type="radio" name="gender" id="gender_1" value="Male" class="material-control-input">
                                 <span class="material-control-indicator"></span>
                                 <span class="description"><?php echo e(__("message.Male")); ?></span>
                                 </label>
                              </div>
                           </div>
                           <div class="custom-check-box">
                              <div class="custom-controls-stacked">
                                 <label class="custom-control material-checkbox">
                                 <input type="radio" name="gender" id="gender_2" value="Female" class="material-control-input">
                                 <span class="material-control-indicator"></span>
                                 <span class="description"><?php echo e(__("message.Female")); ?></span>
                                 </label>
                              </div>
                           </div>
                           <span id="error_gender" class="error"></span>
                        </div>
                     </div>
               </div>
               <!-- Modal footer -->
               <div class="modal-footer">
               <button type="button" class="btn btn-success" onclick="addmemberdata()"><?php echo e(__("message.Add Member")); ?></button>
               <button type="button" class="btn btn-success" onclick="closecontent('add_member','member_list')"><?php echo e(__("message.Back to list")); ?></button>
               <button type="button" class="btn btn-danger" data-dismiss="modal" ><?php echo e(__("message.Close")); ?></button>
               </div>
               </form>
            </div>
         </div>
      </div>
      <input type="hidden" id="url_path" value="<?php echo e(url('/')); ?>">
      
      <input type="hidden" name="password_match_error" id="password_match_error" value="<?php echo e(__('message.Password and Confirm Password Must Be Same')); ?>">

      <input type="hidden" name="package_add_cart" id="package_add_cart" value="<?php echo e(__('message.Package Add Into Cart Successfully')); ?>">
      
      <input type="hidden" name="email_enter_error" id="email_enter_error" value="<?php echo e(__('message.Please Enter Your Email')); ?>">

      <input type="hidden" name="thanks_msg" id="thanks_msg" value="<?php echo e(__('message.Thank you for getting in touch!')); ?>">

      <input type="hidden" name="email_invalid_err" id="email_invalid_err" value="<?php echo e(__('message.Email Id Is Invaild')); ?>">

      <input type="hidden" name="delete_member_err" id="delete_member_err" value="<?php echo e(__('message.Are You Sure Want To Delete This Member')); ?>?">

      <input type="hidden" name="delete_address_err" id="delete_address_err" value="<?php echo e(__('message.Are You Sure Want To Delete This Address')); ?>?">

      <input type="hidden" name="currect_pass_err" id="currect_pass_err" value="<?php echo e(__('message.Please Enter Correct Currect Password')); ?>">

      <input type="hidden" name="new_con_pass_err" id="new_con_pass_err" value="<?php echo e(__('message.New Password And Re-enter Password Must Be Same')); ?>">
      
      <script type="text/javascript" src='https://maps.google.com/maps/api/js?key=<?php echo e(Config::get("mapdetail.key")); ?>&sensor=false&libraries=places'></script>
        <script src="https://code.jquery.com/jquery-3.6.0.js"></script>

      <script src="<?php echo e(asset('public/front/Docpro/assets/js/jquery.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/popper.min.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/bootstrap.min.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/owl.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/wow.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/validation.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/jquery.fancybox.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/appear.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/scrollbar.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/tilt.jquery.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/jquery.paroller.min.js')); ?>"></script>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/jquery.nice-select.min.js')); ?>"></script>
      <?php if($setting->is_rtl==1): ?>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/script_rtl.js')); ?>"></script>
      <?php else: ?>
      <script src="<?php echo e(asset('public/front/Docpro/assets/js/script.js')); ?>"></script>
      <?php endif; ?>
      <script src="<?php echo e(asset('public/locationpicker.js')); ?>"></script>
      <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.0/sweetalert.min.js"></script>
      <script src="https://code.jquery.com/ui/1.13.0/jquery-ui.js"></script>
      <script type="text/javascript" src="//cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
      
      <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.2.0/sweetalert2.all.min.js"></script>
      <script src="<?php echo e(asset('public/front.js')); ?>"></script>
      
      <script>
          function showmember(id,mrp,price,parameter,type){
        // alert(parameter);
         $("#book_type_id").val(id);
         $("#book_mrp").val(mrp);
         $("#book_price").val(price);
         $("#book_parameter").val(parameter);
         $("#book_type").val(type);
    }
      $(document).on('click', '#link', function(e) {
          swal({
            title: "Please login with your account", 
            text: "", 
            type: "warning",
            confirmButtonText: "Login",
            showCancelButton: true
          })
            .then((result) => {
               if (result.value) {
                   window.location = $("#url_path").val()+'/login';
               } else if (result.dismiss === 'cancel') {
                   swal(
                     'Cancelled',
                     'Your stay here :)',
                     'error'
                   )
               }
            })
      });

      function closecontent(close,open){
         $("#"+close).css("display","none");
         $("#"+open).css("display","block");
      }
      
        function addmemberdata(){
            var relation = $("#relation").val();
            var name = $("#member_name").val();
            var email = $("#member_email").val();
            var phone = $("#member_phone").val();
            var age = $("#member_age").val();
            var dob = $("#member_dob").val();
            var gender = $('input[name=gender]:checked').val();
            var msg = "";
             if(relation==""){
                 $("#error_relation").html("Please Select Relation");
               msg=1;
             }
             if(name==""){
                 $("#error_name").html("Please Add Member Name");
               msg=1;
             }
             if(email==""){
                 $("#error_email").html("Please Enter Your Email");
               msg=1;
             }else{
               if (!validateEmail(email)) {
                  $("#error_email").html("Please Enter Vaild Email");
                  msg=1;
                 }
             }
             if(phone==""){
               $("#error_phone").html("Please Enter Phone no");
               msg=1;
            }
            if(age==""){
               $("#error_age").html("Please Enter Member Age");
               msg=1;
            }
            if($("#dob").val()==""){
               $("#error_dob").html("Please Enter DOB");
               msg=1;
             }
             if(gender==""){
               $("#error_gender").html("Please Select Gender");
               msg=1;
               }
   
               if(msg==""){
                  $.ajaxSetup({
                     headers: {
                              'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                           }
                  });
                  $.ajax({
                           url: $("#url_path").val()+'/save_member_detail',
                           method: 'post',
                           data: $('#member_form').serialize(),
                           success: function(response){
                                             $("#relation").val("");
                                             $("#member_name").val("");
                                             $("#member_email").val("");
                                             $("#member_phone").val("");
                                             $("#member_age").val("");
                                             $("#member_dob").val("");
                                               $("#error_relation").html("");
                                               $("#error_name").html("");
                                               $("#error_email").html("");
                                               $("#error_phone").html("");
                                               $("#error_age").html("");
                                               $("#error_dob").html("");
                                               $("#error_gender").html("");
                                               $("#gender").attr("checked",true);
                                               $("#gender").attr("checked",false);
                                               var txt = ' <input type="checkbox" id="member_'+response+'" name="member[]" value="'+response+'"><label for="member_'+response+'">'+name+'</br> <p>'+relation+'</p><p>'+gender+' | '+age+'</p></label>';
                                               $("#member_list_div").append(txt);
                                               $("#add_member").css("display","none");
                                               $("#member_list").css("display","block");

                                }
                    });
                }
      }

        var showBtns = document.querySelectorAll('.show-btn');
    
        showBtns.forEach(function(btn) {
        
            btn.addEventListener('click', function() {
                
                this.nextElementSibling.classList.toggle('active');
            });
        });
    

      </script>
      <?php echo $__env->yieldContent('footer'); ?>

   </body>
</html><?php /**PATH /home2/freakd1c/public_html/demo/laboratory/resources/views/front/layout.blade.php ENDPATH**/ ?>