OwlCyberSecurity - MANAGER
Edit File: 9f2d60f80fc68ac25ddcf4b944457923.php
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?> <?php foreach($attributes->onlyProps([ 'icon', 'theme', ]) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $attributes = $attributes->exceptProps([ 'icon', 'theme', ]); ?> <?php foreach (array_filter(([ 'icon', 'theme', ]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $__defined_vars = get_defined_vars(); ?> <?php foreach ($attributes as $__key => $__value) { if (array_key_exists($__key, $__defined_vars)) unset($$__key); } ?> <?php unset($__defined_vars); ?> <?php $label = __("filament-panels::layout.actions.theme_switcher.{$theme}.label"); ?> <button aria-label="<?php echo e($label); ?>" type="button" x-on:click="(theme = <?php echo \Illuminate\Support\Js::from($theme)->toHtml() ?>) && close()" x-tooltip="{ content: <?php echo \Illuminate\Support\Js::from($label)->toHtml() ?>, theme: $store.theme, }" class="fi-theme-switcher-btn flex justify-center rounded-md p-2 outline-none transition duration-75 hover:bg-gray-50 focus-visible:bg-gray-50 dark:hover:bg-white/5 dark:focus-visible:bg-white/5" x-bind:class=" theme === <?php echo \Illuminate\Support\Js::from($theme)->toHtml() ?> ? 'fi-active bg-gray-50 text-primary-500 dark:bg-white/5 dark:text-primary-400' : 'text-gray-400 hover:text-gray-500 focus-visible:text-gray-500 dark:text-gray-500 dark:hover:text-gray-400 dark:focus-visible:text-gray-400' " > <?php if (isset($component)) { $__componentOriginalbfc641e0710ce04e5fe02876ffc6f950 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.icon','data' => ['alias' => 'panels::theme-switcher.' . $theme . '-button','icon' => $icon,'class' => 'h-5 w-5']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('filament::icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['alias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('panels::theme-switcher.' . $theme . '-button'),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => 'h-5 w-5']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950)): ?> <?php $attributes = $__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950; ?> <?php unset($__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950); ?> <?php endif; ?> <?php if (isset($__componentOriginalbfc641e0710ce04e5fe02876ffc6f950)): ?> <?php $component = $__componentOriginalbfc641e0710ce04e5fe02876ffc6f950; ?> <?php unset($__componentOriginalbfc641e0710ce04e5fe02876ffc6f950); ?> <?php endif; ?> </button> <?php /**PATH /var/www/back/vendor/filament/filament/src/../resources/views/components/theme-switcher/button.blade.php ENDPATH**/ ?>