<?php if (isset($component)) { $__componentOriginal60fdcebc2cddd900cd96c2c6c7c2c461 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal60fdcebc2cddd900cd96c2c6c7c2c461 = $attributes; } ?>
<?php $component = App\View\Components\SelectTwo::resolve(['name' => 'agency_id','id' => 'agency_id'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('select-two'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\SelectTwo::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <?php $__currentLoopData = $agencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $agency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <option value="<?php echo e($agency->id); ?>"
            <?php echo e(old('agency_id', isset($model) ? $model->agency_id : '') == $agency->id ? 'selected' : ''); ?>>
            <?php echo e($agency->name); ?></option>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal60fdcebc2cddd900cd96c2c6c7c2c461)): ?>
<?php $attributes = $__attributesOriginal60fdcebc2cddd900cd96c2c6c7c2c461; ?>
<?php unset($__attributesOriginal60fdcebc2cddd900cd96c2c6c7c2c461); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal60fdcebc2cddd900cd96c2c6c7c2c461)): ?>
<?php $component = $__componentOriginal60fdcebc2cddd900cd96c2c6c7c2c461; ?>
<?php unset($__componentOriginal60fdcebc2cddd900cd96c2c6c7c2c461); ?>
<?php endif; ?>
<?php /**PATH /home/oday/public_html/mazdashboard.alialzahabia.com/resources/views/components/agencies-select.blade.php ENDPATH**/ ?>