<?php foreach (([ 'tableName','isTailwind','isBootstrap','isBootstrap4','isBootstrap5', 'localisationPath']) as $__key => $__value) {
    $__consumeVariable = is_string($__key) ? $__key : $__value;
    $$__consumeVariable = is_string($__key) ? $__env->getConsumableComponentData($__key, $__value) : $__env->getConsumableComponentData($__value);
} ?>
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([]));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter(([]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars); ?>

<div 
                class="<?php echo \Illuminate\Support\Arr::toCssClasses([
                    'ml-0 ml-md-2 mb-3 mb-md-0' => $isBootstrap4,
                    'ms-0 ms-md-2 mb-3 mb-md-0' => $isBootstrap5 && $this->searchIsEnabled(),
                    'mb-3 mb-md-0' => $isBootstrap5 && !$this->searchIsEnabled(),
                ]); ?>"
>
    <div
        <?php if($this->isFilterLayoutPopover()): ?>
            x-data="{ filterPopoverOpen: false }"
            x-on:keydown.escape.stop="if (!this.childElementOpen) { filterPopoverOpen = false }"
            x-on:mousedown.away="if (!this.childElementOpen) { filterPopoverOpen = false }"
        <?php endif; ?>
        class="<?php echo \Illuminate\Support\Arr::toCssClasses([
            'btn-group d-block d-md-inline' => $isBootstrap,
            'relative block md:inline-block text-left' => $isTailwind,
        ]); ?>"
    >
        <div>
            <button
                type="button"
                class="<?php echo \Illuminate\Support\Arr::toCssClasses([
                    'btn dropdown-toggle d-block w-100 d-md-inline' => $isBootstrap,
                    'inline-flex justify-center w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 dark:bg-gray-700 dark:text-white dark:border-gray-600 dark:hover:bg-gray-600' => $isTailwind,
                ]); ?>"
                <?php if($this->isFilterLayoutPopover()): ?> x-on:click="filterPopoverOpen = !filterPopoverOpen"
                    aria-haspopup="true"
                    x-bind:aria-expanded="filterPopoverOpen"
                    aria-expanded="true"
                <?php endif; ?>
                <?php if($this->isFilterLayoutSlideDown()): ?> x-on:click="filtersOpen = !filtersOpen" <?php endif; ?>
            >
                <?php echo e(__($localisationPath.'Filters')); ?>


                <!--[if BLOCK]><![endif]--><?php if($count = $this->getFilterBadgeCount()): ?>
                    <span class="<?php echo \Illuminate\Support\Arr::toCssClasses([
                            'badge badge-info' => $isBootstrap,
                            'ml-1 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium leading-4 bg-indigo-100 text-indigo-800 capitalize dark:bg-indigo-200 dark:text-indigo-900' => $isTailwind,
                        ]); ?>">
                        <?php echo e($count); ?>

                    </span>
                <?php endif; ?><!--[if ENDBLOCK]><![endif]-->

                <!--[if BLOCK]><![endif]--><?php if($isTailwind): ?>
                    <?php if (isset($component)) { $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c = $attributes; } ?>
<?php $component = BladeUI\Icons\Components\Svg::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('heroicon-o-funnel'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\BladeUI\Icons\Components\Svg::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => '-mr-1 ml-2 h-5 w-5']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $attributes = $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $component = $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
                <?php else: ?>
                <span class="<?php echo \Illuminate\Support\Arr::toCssClasses([
                    'caret' => $isBootstrap,
                ]); ?>"></span>
                <?php endif; ?><!--[if ENDBLOCK]><![endif]-->

            </button>
        </div>

        <!--[if BLOCK]><![endif]--><?php if($this->isFilterLayoutPopover()): ?>
            <?php if (isset($component)) { $__componentOriginal719e049ded0dab506b564078a99ff589 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal719e049ded0dab506b564078a99ff589 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'livewire-tables::components.tools.toolbar.items.filter-popover','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('livewire-tables::tools.toolbar.items.filter-popover'); ?>
<?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($__attributesOriginal719e049ded0dab506b564078a99ff589)): ?>
<?php $attributes = $__attributesOriginal719e049ded0dab506b564078a99ff589; ?>
<?php unset($__attributesOriginal719e049ded0dab506b564078a99ff589); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal719e049ded0dab506b564078a99ff589)): ?>
<?php $component = $__componentOriginal719e049ded0dab506b564078a99ff589; ?>
<?php unset($__componentOriginal719e049ded0dab506b564078a99ff589); ?>
<?php endif; ?>
        <?php endif; ?><!--[if ENDBLOCK]><![endif]-->

    </div>
</div>
<?php /**PATH C:\xampp\htdocs\kcofbms\vendor\rappasoft\laravel-livewire-tables\src/../resources/views/components/tools/toolbar/items/filter-button.blade.php ENDPATH**/ ?>