<?php $__env->startSection('title', $uuid ? 'Formulário Editar Serviço' : 'Formulário Cadastrar Serviço - ZEINER'); ?>
<?php $__env->startSection('content'); ?>
<div class="bg-gray-100">

        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('dashboard.client.header', []);

$key = null;

$key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-1816785201-0', null);

$__html = app('livewire')->mount($__name, $__params, $key);

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
        <?php if (isset($component)) { $__componentOriginal0333221d2829e137521a391cd9bef91c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal0333221d2829e137521a391cd9bef91c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.admin-side-bar','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.admin-side-bar'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal0333221d2829e137521a391cd9bef91c)): ?>
<?php $attributes = $__attributesOriginal0333221d2829e137521a391cd9bef91c; ?>
<?php unset($__attributesOriginal0333221d2829e137521a391cd9bef91c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal0333221d2829e137521a391cd9bef91c)): ?>
<?php $component = $__componentOriginal0333221d2829e137521a391cd9bef91c; ?>
<?php unset($__componentOriginal0333221d2829e137521a391cd9bef91c); ?>
<?php endif; ?>

        <!-- OVERLAY -->
        <div id="overlay" class="hidden fixed inset-0 bg-black bg-opacity-40 z-40 lg:hidden"></div>

        <!-- CONTEÚDO PRINCIPAL -->
        <main class="lg:ml-64 pt-15 p-6">

            <h1 class="text-3xl font-bold text-gray-700 mb-6">
                Adicionar Serviço
            </h1>

            <!-- FORMULÁRIO -->
            <div class="bg-white rounded-xl shadow-md p-6 max-w-4xl">
                <form id="app-upload-form" action="<?php echo e(route('dashboard.admin.store.application')); ?>" method="POST" enctype="multipart/form-data">
            <?php echo csrf_field(); ?>

        <!-- GRID PARA CAMPOS -->
        <div class="grid grid-cols-1 md:grid-cols-2 gap-6">

            <!-- Nome -->
            <div>
                <label class="block text-sm font-medium text-gray-600 mb-1">Nome do Aplicativo</label>
                <input type="text" name="app_name" value="<?php echo e(old('app_name')); ?>"
                    class="w-full px-3 py-2 rounded-md border border-gray-300 focus:outline-none focus:border-blue-400"
                    placeholder="Ex: ZEINER Manager">
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['app_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-400"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>

            <!-- Versão -->
            <div>
                <label class="block text-sm font-medium text-gray-600 mb-1">Versão</label>
                <input type="text" name="app_version" value="<?php echo e(old('app_version')); ?>"
                    class="w-full px-3 py-2 rounded-md border border-gray-300 focus:outline-none focus:border-blue-400"
                    placeholder="Ex: 1.0.0">
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['app_version'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-400"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>

            <!-- Formato -->
            <div>
                <label class="block text-sm font-medium text-gray-600 mb-1">Formato</label>
                <select name="app_format_type"
                    class="w-full px-3 bg-white py-2 rounded-md border border-gray-300 focus:outline-none focus:border-blue-400">
                    <option value="">Selecionar</option>
                    <option value="zip">zip</option>
                    <option value="exe">exe</option>
                    <option value="apk">apk</option>
                    <option value="msi">msi</option>
                    <option value="dmg">dmg</option>
                    <option value="deb">deb</option>
                    <option value="rpm">rpm</option>
                    <option value="gz">gz</option>
                    <option value="7z">7z</option>
                </select>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['app_format_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-400"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>

            <!-- Tamanho -->
            <div>
                <label class="block text-sm font-medium text-gray-600 mb-1">Tamanho (MB)</label>
                <input type="number" name="app_size" value="<?php echo e(old('app_size')); ?>" min="0"
                    class="w-full px-3 py-2 rounded-md border border-gray-300 focus:outline-none focus:border-blue-400"
                    placeholder="Ex: 150">
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['app_size'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-400"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>

        </div>

        <!-- Outras infos -->
        <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mt-4">
            <div>
                <label class="block text-sm font-medium text-gray-600 mb-1">Preço</label>
                <input type="number" name="app_price" value="<?php echo e(old('app_price')); ?>" min="0"
                    class="w-full px-3 py-2 rounded-md border border-gray-300 focus:outline-none focus:border-blue-400"
                    placeholder="Ex: 1.000.000">
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['app_price'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-400"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>

            <div>
                <label class="block text-sm font-medium text-gray-600 mb-1">Tempo de duração de teste</label>
                <select name="app_test_duration"
                    class="w-full px-3 bg-white py-2 rounded-md border border-gray-300 focus:outline-none focus:border-blue-400">
                    <option value="">Selecionar</option>
                    <option value="7">Semanal</option>
                    <option value="30">Mensal</option>
                    <option value="365">Anual</option>
                </select>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['app_test_duration'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-400"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>
        </div>

        <!-- Descrição -->
        <div class="mt-4">
            <label class="block text-sm font-medium text-gray-600 mb-1">Descrição</label>
            <textarea name="app_description" rows="4"
                class="w-full px-3 py-2 rounded-md border border-gray-300 focus:outline-none focus:border-blue-400"
                placeholder="Descrição da aplicação..."><?php echo e(old('app_description')); ?></textarea>
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['app_description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-400"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>
  

        <button type="submit"
            class="mt-4 bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-md font-semibold">Enviar</button>
    </form>


                
    </div>

        </main>

        <?php if (isset($component)) { $__componentOriginale952b3d353171969826bf1f75b41d2c9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale952b3d353171969826bf1f75b41d2c9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.home.whatsapp-floating-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('home.whatsapp-floating-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale952b3d353171969826bf1f75b41d2c9)): ?>
<?php $attributes = $__attributesOriginale952b3d353171969826bf1f75b41d2c9; ?>
<?php unset($__attributesOriginale952b3d353171969826bf1f75b41d2c9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale952b3d353171969826bf1f75b41d2c9)): ?>
<?php $component = $__componentOriginale952b3d353171969826bf1f75b41d2c9; ?>
<?php unset($__componentOriginale952b3d353171969826bf1f75b41d2c9); ?>
<?php endif; ?>

    </div>

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


<?php echo $__env->make('layouts.dashboard.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\www\sites\zeiner\zeiner-platform\resources\views\dashboard\forms\form-service.blade.php ENDPATH**/ ?>