<?php $__env->startSection('content'); ?>
<div class="side-title">
    <h3><?php echo e($head ?? ''); ?></h3>
</div>

<div class="border-item">
    <form class="form-row" method="post" action="<?php echo e($action); ?>" enctype="multipart/form-data">
        
        <?php if($package ?? ''  && $package->id): ?>
            <?php echo method_field('PUT'); ?>
        <?php endif; ?>
        <?php echo csrf_field(); ?>
         <div class="form-group col-lg-6">
            <label><?php echo e(__('selects.month')); ?> </label>
            
               
                    
                        <select  class="form-control <?php echo e($errors->has('type') ? 'is-invalid' : ''); ?>" onchange="selectTime(this)" id="month" name="month">
                          <?php for($i=1; $i <= 12 ;$i++): ?>
                          <?php $meta = 'selects.month_'.$i; ?>
                         <option <?php if($i == date('m')): ?> selected  <?php endif; ?>  value="<?php echo e($i); ?>"><?php echo e(__($meta)); ?></option>
                         <?php endfor; ?>
                         </select>
                        </div>
                         <div class="form-group col-lg-6">
            <label><?php echo e(__('selects.year')); ?> </label>
            
               
                    
                        <select  class="form-control <?php echo e($errors->has('type') ? 'is-invalid' : ''); ?>" onchange="selectTime(this)" id="year" name="year">
                         <?php for($i=0; $i < 5 ;$i++): ?>
                         <?php 
                         $date = date('Y');
                         ?>
                         <option  <?php if($i == '0'): ?> selected <?php endif; ?>  value="<?php echo e($date+$i); ?>" ><?php echo e($date+$i); ?></option>
                         <?php endfor; ?>
                         </select>
                        </div>
                        <div id="selectTime" class="col-12">
             <div class="row pricing-list-item border-item mb-4" style="background-color: rgba(21,97,203,0.1);height:auto;width:100%">
                   <div class="col-lg-12">
                       <h3>
                    <button class="btn btn-link btn-block text-left"  type="button" onclick="collapseDataAll(this)" target-id="six">
                                    <?php echo e(__('packages.weekssix')); ?>

                                </button>
                   </h3>
                   </div>
                  <div class="col-lg-12"id="Allsix" style="height:100%;display:none">
                      <div  class="row pricing-list-item border-item mb-4" style="background-color: white;height:auto">
                          <?php for($i=1;$i<=6;$i++): ?>
                            <div class="col-lg-12">
                               
                                 <h3>
                    <button class="btn btn-link btn-block text-left"  type="button" onclick="collapseData(this)" target-id="six<?php echo e($i); ?>">
                                     <?php echo e(__('packages.day')); ?> : <?php echo e($i); ?>

                                </button>
                                
                   </h3>
                    <div class="col-lg-12" style="height:100%;display:none" id="datasix<?php echo e($i); ?>">
                         <div class="row pricing-list-item border-item mb-4"  style="background-color: rgba(21,97,203,0.1);height:auto">
                             <div class="col-lg-12"><?php echo e(__('packages.meals')); ?></div>
                             <div class="col-lg-12"><?php echo e(__('packages.chicken')); ?></div>
                             <?php $__currentLoopData = $chicken; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'6',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <div class="col-lg-12"><?php echo e(__('packages.meat')); ?></div>
                             <?php $__currentLoopData = $meat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'6',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <div class="col-lg-12"><?php echo e(__('packages.seafood')); ?></div>
                             <?php $__currentLoopData = $seafood; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'6',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                         </div>
                    </div>
                            </div>
                          <?php endfor; ?>
                      </div>
                      </div>
             </div>
              <div class="row pricing-list-item border-item mb-4" style="background-color: rgba(21,97,203,0.1);height:auto;width:100%">
                   <div class="col-lg-12">
                       <h3>
                    <button class="btn btn-link btn-block text-left"  type="button" onclick="collapseDataAll(this)" target-id="seven">
                                    <?php echo e(__('packages.weeksseven')); ?>

                                </button>
                   </h3>
                   </div>
                  <div class="col-lg-12"id="Allseven" style="height:100%;display:none">
                      <div  class="row pricing-list-item border-item mb-4" style="background-color: white;height:auto">
                          <?php for($i=1;$i<=7;$i++): ?>
                            <div class="col-lg-12">
                               
                                 <h3>
                    <button class="btn btn-link btn-block text-left"  type="button" onclick="collapseData(this)" target-id="seven<?php echo e($i); ?>">
                                     <?php echo e(__('packages.day')); ?> : <?php echo e($i); ?>

                                </button>
                                
                   </h3>
                    <div class="col-lg-12" style="height:100%;display:none" id="dataseven<?php echo e($i); ?>">
                         <div class="row pricing-list-item border-item mb-4"  style="background-color: rgba(21,97,203,0.1);height:auto">
                             <div class="col-lg-12"><?php echo e(__('packages.meals')); ?></div>
                            <div class="col-lg-12"><?php echo e(__('packages.chicken')); ?></div>
                             <?php $__currentLoopData = $chicken; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'7',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <div class="col-lg-12"><?php echo e(__('packages.meat')); ?></div>
                             <?php $__currentLoopData = $meat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'7',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <div class="col-lg-12"><?php echo e(__('packages.seafood')); ?></div>
                             <?php $__currentLoopData = $seafood; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'7',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                         </div>
                    </div>
                            </div>
                          <?php endfor; ?>
                      </div>
                      </div>
             </div>
             
              <div class="row pricing-list-item border-item mb-4" style="background-color: rgba(21,97,203,0.1);height:auto;width:100%">
                   <div class="col-lg-12">
                       <h3>
                    <button class="btn btn-link btn-block text-left"  type="button" onclick="collapseDataAll(this)" target-id="twintysix">
                                    <?php echo e(__('packages.weekstwintysix')); ?>

                                </button>
                   </h3>
                   </div>
                  <div class="col-lg-12"id="Alltwintysix" style="height:100%;display:none">
                      <div  class="row pricing-list-item border-item mb-4" style="background-color: white;height:auto">
                          <?php for($i=1;$i<=26;$i++): ?>
                            <div class="col-lg-12">
                               
                                 <h3>
                    <button class="btn btn-link btn-block text-left"  type="button" onclick="collapseData(this)" target-id="twintysix<?php echo e($i); ?>">
                                     <?php echo e(__('packages.day')); ?> : <?php echo e($i); ?>

                                </button>
                                
                   </h3>
                    <div class="col-lg-12" style="height:100%;display:none" id="datatwintysix<?php echo e($i); ?>">
                         <div class="row pricing-list-item border-item mb-4"  style="background-color: rgba(21,97,203,0.1);height:auto">
                             <div class="col-lg-12"><?php echo e(__('packages.meals')); ?></div>
                            <div class="col-lg-12"><?php echo e(__('packages.chicken')); ?></div>
                             <?php $__currentLoopData = $chicken; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'26',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <div class="col-lg-12"><?php echo e(__('packages.meat')); ?></div>
                             <?php $__currentLoopData = $meat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'26',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <div class="col-lg-12"><?php echo e(__('packages.seafood')); ?></div>
                             <?php $__currentLoopData = $seafood; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'26',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                         </div>
                    </div>
                            </div>
                          <?php endfor; ?>
                      </div>
                      </div>
             </div>
             
              <div class="row pricing-list-item border-item mb-4" style="background-color: rgba(21,97,203,0.1);height:auto;width:100%">
                   <div class="col-lg-12">
                       <h3>
                    <button class="btn btn-link btn-block text-left"  type="button" onclick="collapseDataAll(this)" target-id="thirty">
                                    <?php echo e(__('packages.weeksthirty')); ?>

                                </button>
                   </h3>
                   </div>
                  <div class="col-lg-12"id="Allthirty" style="height:100%;display:none">
                      <div  class="row pricing-list-item border-item mb-4" style="background-color: white;height:auto">
                          <?php for($i=1;$i<=30;$i++): ?>
                            <div class="col-lg-12">
                               
                                 <h3>
                    <button class="btn btn-link btn-block text-left"  type="button" onclick="collapseData(this)" target-id="thirty<?php echo e($i); ?>">
                                     <?php echo e(__('packages.day')); ?> : <?php echo e($i); ?>

                                </button>
                                
                   </h3>
                    <div class="col-lg-12" style="height:100%;display:none" id="datathirty<?php echo e($i); ?>">
                         <div class="row pricing-list-item border-item mb-4"  style="background-color: rgba(21,97,203,0.1);height:auto">
                             <div class="col-lg-12"><?php echo e(__('packages.meals')); ?></div>
                        <div class="col-lg-12"><?php echo e(__('packages.chicken')); ?></div>
                             <?php $__currentLoopData = $chicken; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'30',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <div class="col-lg-12"><?php echo e(__('packages.meat')); ?></div>
                             <?php $__currentLoopData = $meat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'30',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <div class="col-lg-12"><?php echo e(__('packages.seafood')); ?></div>
                             <?php $__currentLoopData = $seafood; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <div class="form-group col-lg-3">
                   <input type="checkbox" name="meals_6_<?php echo e($i); ?>[]" <?php if($package ?? ''  && $package->id): ?> <?php if(packagemeals($row->id,$package->id,'30',$i)): ?> checked <?php endif; ?> <?php endif; ?> value="<?php echo e($row->id); ?>"> <?php echo e(mealname($row->id)); ?>

               </div>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                         </div>
                    </div>
                            </div>
                          <?php endfor; ?>
                      </div>
                      </div>
             </div>
             </div>
       
      
      
        <div class="text-center mt-5 col-12">
            <button class="butn"><span><?php echo e(__('dashboard.save')); ?></span></button>
        </div>
    </form>
</div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
    <!-- Editor JS files -->
    <script>
        function selectTime(elem){
            let year = $('#year').val();
            let month = $('#month').val();
            $.ajax({
          url : urls_time+'/'+year+','+month+','+<?php echo json_encode($id); ?>,
          type : 'GET',
          data : 'nothing',
          success:function(data)
          {
            $('#selectTime').html(data);
          }
        }) 
        }
function saveproduct(elem){
    
       event.preventDefault();
       $('.ajaxErrorResponse').css("display", "none");
       $('form *').removeClass('is-invalid');
       var action = $(elem).attr('action');
       
       var urls = action;
       var dataform = new FormData( $(elem)[0]);
      
       $.ajax({
          url : urls,
          type : 'POST',
          data : dataform,
          dataType : 'json',
  processData: false,
  contentType: false,
          success:function(data)
          {
              window.location.replace("<?php echo e(url(getCurrentLocale().'/admin/packages')); ?>");
          }
          ,error: function (data) {
              
   $('.ajaxErrorResponse').html('<label>'+<?php echo json_encode(__('packages.fill')); ?>+'</label>');
             
    $('.ajaxErrorResponse').css("display", "block");
   $.each(data.responseJSON.errors, function(key,value) {
     
     var keys = key.replaceAll(".","_");
     console.log(keys);
     $('#'+keys).attr('class','form-control is-invalid');
     
 }); 
 
}
        })
   
}
    </script>
    <script>
        
function remove(elem){
            $(elem).closest('.row').remove();
        }
        
        function addfile(elem){
        var num = $(elem).attr('data-id');
        
        var newrow = parseInt(num)+1; 
        $(elem).attr('data-id', newrow);
        
        $.ajax({
          url : urls_file+'/'+num,
          type : 'GET',
          data : 'nothing',
          success:function(data)
          {
            $('#files').append(data);
          }
        }) 
    }
    function addadvice(elem){
        var num = $(elem).attr('data-id');
        
        var newrow = parseInt(num)+1; 
        $(elem).attr('data-id', newrow);
        
        $.ajax({
          url : urls_advice+'/'+num,
          type : 'GET',
          data : 'nothing',
          success:function(data)
          {
            $('#advices').append(data);
          }
        }) 
    }
    function addrecipe(elem){
        var num = $(elem).attr('data-id');
        
        var newrow = parseInt(num)+1; 
        $(elem).attr('data-id', newrow);
        
        $.ajax({
          url : urls_recipe+'/'+num,
          type : 'GET',
          data : 'nothing',
          success:function(data)
          {
            $('#recipes').append(data);
          }
        }) 
    }
    function addvideo(elem){
        var target = $(elem).attr('target-id');
        var num = $(elem).attr('data-id');
        
        var newrow = parseInt(num)+1; 
        $(elem).attr('data-id', newrow);
        
        $.ajax({
          url : urls_video+'/'+num+','+target,
          type : 'GET',
          data : 'nothing',
          success:function(data)
          {
            $('#link'+target).append(data);
          }
        }) 
    }
    function addvideoEight(elem){
         var target = $(elem).attr('target-id');
        var num = $(elem).attr('data-id');
        
        var newrow = parseInt(num)+1; 
        $(elem).attr('data-id', newrow);
        
        $.ajax({
          url : urls_videos+'/'+num+','+target,
          type : 'GET',
          data : 'nothing',
          success:function(data)
          {
            $('#linkEight'+target).append(data);
          }
        }) 
    }
    function additem(elem){
        var num = $(elem).attr('data-id');
        
        var newrow = parseInt(num)+2; 
        $(elem).attr('data-id', newrow);
        
        $.ajax({
          url : urls+'/'+num,
          type : 'GET',
          data : 'nothing',
          success:function(data)
          {
            $('#items').append(data);
          }
        }) 
    }
    function days(elem){
        var num = parseInt($(elem).val())*30 ;
        
        
        
        $.ajax({
          url : url_day+'/'+num,
          type : 'GET',
          data : 'nothing',
          success:function(data)
          {
            $('#days').html(data);
          }
        }) 
    }
    function restday(elem){
        let data = $(elem).attr('data-id');
        let valuing = $(elem).val();
        
        //alert(valuing);
        if(valuing == '0'){
        $('#link'+data).css('display','none');
        $('#increase'+data).css('display','none');
        }
        else{
            $('#link'+data).css('display','block');
            $('#increase'+data).css('display','block');
        }
        
        
        
    }
    
    </script>
     <script>
        function initImageUpload(box) {
            let uploadField = box.querySelector('.image-upload');

            uploadField.addEventListener('change', getFile);

            function getFile(e) {
                let file = e.currentTarget.files[0];
                checkType(file);
            }

            function previewImage(file) {
                let name = file.name;
                let arr = name.split(".");
                
                let thumb = box.querySelector('.js--image-preview'),
                    reader = new FileReader();
                if(arr[1] == 'pdf'){
                   
                   reader.onload = function() {
                    thumb.style.backgroundImage = 'url(https://nawalgym.omar.alyomhost.net/public/assets/web/pdf.png)';
                   }
                }
                else{
                reader.onload = function() {
                    thumb.style.backgroundImage = 'url(' + reader.result + ')';
                
                }
                }
                reader.readAsDataURL(file);
                thumb.className += ' js--no-default';
            }

            function checkType(file) {
                // let imageType = /image.*/;
                // if (!file.type.match(imageType)) {
                //     throw 'Datei ist kein Bild';
                // } else if (!file) {
                //     throw 'Kein Bild gew채hlt';
                // } else {
                    previewImage(file);
                // }
            }

        }

        // initialize box-scope
        var boxes = document.querySelectorAll('.box');

        for (let i = 0; i < boxes.length; i++) {
            let box = boxes[i];
            initDropEffect(box);
            initImageUpload(box);
        }



        /// drop-effect
        function initDropEffect(box) {
            let area, drop, areaWidth, areaHeight, maxDistance, dropWidth, dropHeight, x, y;
            
            // get clickable area for drop effect
            area = box.querySelector('.js--image-preview');
            area.addEventListener('click', fireRipple);

            function fireRipple(e) {
                area = e.currentTarget
                
                    // create drop
                if (!drop) {
                    drop = document.createElement('span');
                    drop.className = 'drop';
                    this.appendChild(drop);
                }
                // reset animate class
                drop.className = 'drop';

                // calculate dimensions of area (longest side)
                areaWidth = getComputedStyle(this, null).getPropertyValue("width");
                areaHeight = getComputedStyle(this, null).getPropertyValue("height");
                maxDistance = Math.max(parseInt(areaWidth, 10), parseInt(areaHeight, 10));

                // set drop dimensions to fill area
                drop.style.width = maxDistance + 'px';
                drop.style.height = maxDistance + 'px';

                // calculate dimensions of drop
                dropWidth = getComputedStyle(this, null).getPropertyValue("width");
                dropHeight = getComputedStyle(this, null).getPropertyValue("height");

                // calculate relative coordinates of click
                // logic: click coordinates relative to page - parent's position relative to page - half of self height/width to make it controllable from the center
                x = e.pageX - this.offsetLeft - (parseInt(dropWidth, 10) / 2);
                y = e.pageY - this.offsetTop - (parseInt(dropHeight, 10) / 2) - 30;

                // position drop and animate
                drop.style.top = y + 'px';
                drop.style.left = x + 'px';
                drop.className += ' animate';
                e.stopPropagation();

            }
        }
        function collapseDataAll(elem){
            let data = $(elem).attr('target-id');
            $('#All'+data).fadeToggle(500);
        }
        function collapseData(elem){
            let data = $(elem).attr('target-id');
            $('#data'+data).fadeToggle(500);
        }
    </script>
    	
    <script>
        $(".form-group").delegate( ".edit_btn", "click", function() {
            $(this).parentsUntil(".form-group").siblings(".box").toggleClass("d-block");
        })
    </script>
  <script src="<?php echo e(asset('/assets/admin/js/lib/tinymce.min.js')); ?>"></script>
        
    <script>
        let route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>",
            url = "<?php echo e(url('/')); ?>/",
            urls = "<?php echo e(url('/')); ?>/admin/additem",
            url_type = <?php echo json_encode(url(getCurrentLocale().'/admin/type/')); ?>,
            urls_video = <?php echo json_encode(url(getCurrentLocale().'/admin/addvideo/')); ?>,
            urls_videos = <?php echo json_encode(url(getCurrentLocale().'/admin/addvideos/')); ?>,
            urls_file = <?php echo json_encode(url(getCurrentLocale().'/admin/addfile/')); ?>,
            urls_advice = <?php echo json_encode(url(getCurrentLocale().'/admin/addadvice/')); ?>,
            urls_recipe = <?php echo json_encode(url(getCurrentLocale().'/admin/addrecipe/')); ?>,
            urls_time = <?php echo json_encode(url(getCurrentLocale().'/admin/selecttime/')); ?>,
            url_day = <?php echo json_encode(url(getCurrentLocale().'/admin/days/')); ?>,
            
            currentLanguage = "<?php echo e(getCurrentLocale()); ?>",
            imagePath = "<?php echo e(asset('')); ?>";
    </script>
    <script src="<?php echo e(asset('assets/admin/js/editor.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/lfm.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/articles.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/cobons.js')); ?>"></script>
<?php $__env->stopSection(); ?>




<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/healthy/resources/views/admin/selects/form.blade.php ENDPATH**/ ?>