Viewing file: 32b407ac839de49f3868ca0f5c09e5a8.php (14.16 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?> <?php foreach($attributes->onlyProps([ 'ad' => null, ]) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $attributes = $attributes->exceptProps([ 'ad' => null, ]); ?> <?php foreach (array_filter(([ 'ad' => null, ]), '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); ?>
<div id="ad-details_offcanvas_<?php echo e($ad->id); ?>" class="fixed top-0 right-0 z-40 h-screen px-4 pb-6 overflow-y-auto duration-500 transition-all translate-x-full bg-white w-full 2xl:max-w-[60%] lg:max-w-[80%] max-w-[96%] dark:bg-gray-800" tabindex="-1" aria-labelledby="drawer-right-label"> <div class="flex py-5 justify-between items-center"> <button class="text-primary-500 p-1" type="button" data-drawer-hide="ad-details_offcanvas_<?php echo e($ad->id); ?>" aria-controls="ad-details_offcanvas_<?php echo e($ad->id); ?>" class=""> <?php if (isset($component)) { $__componentOriginalbbe20cb576c31acf34729bc2fed7e9bc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalbbe20cb576c31acf34729bc2fed7e9bc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.arrow-left','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.arrow-left'); ?> <?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([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalbbe20cb576c31acf34729bc2fed7e9bc)): ?> <?php $attributes = $__attributesOriginalbbe20cb576c31acf34729bc2fed7e9bc; ?> <?php unset($__attributesOriginalbbe20cb576c31acf34729bc2fed7e9bc); ?> <?php endif; ?> <?php if (isset($__componentOriginalbbe20cb576c31acf34729bc2fed7e9bc)): ?> <?php $component = $__componentOriginalbbe20cb576c31acf34729bc2fed7e9bc; ?> <?php unset($__componentOriginalbbe20cb576c31acf34729bc2fed7e9bc); ?> <?php endif; ?> </button> <a href="<?php echo e(route('frontend.addetails', $ad?->slug)); ?>" class="text-primary-500 dark:text-primary-300 hover:text-primary-600 transition-all duration-300 text-base font-semibold inline-flex gap-3 items-center"> <span class="underline"><?php echo e(__('open_details_in_a_new_window')); ?></span> <?php if (isset($component)) { $__componentOriginalab2f4312ecd50f7966fb4d0ea94af320 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalab2f4312ecd50f7966fb4d0ea94af320 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.external-link','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.external-link'); ?> <?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([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalab2f4312ecd50f7966fb4d0ea94af320)): ?> <?php $attributes = $__attributesOriginalab2f4312ecd50f7966fb4d0ea94af320; ?> <?php unset($__attributesOriginalab2f4312ecd50f7966fb4d0ea94af320); ?> <?php endif; ?> <?php if (isset($__componentOriginalab2f4312ecd50f7966fb4d0ea94af320)): ?> <?php $component = $__componentOriginalab2f4312ecd50f7966fb4d0ea94af320; ?> <?php unset($__componentOriginalab2f4312ecd50f7966fb4d0ea94af320); ?> <?php endif; ?> </a> </div> <div> <div class="flex flex-col xl:flex-row gap-6 overflow-hidden"> <div class="details-wrap w-full"> <?php if (isset($component)) { $__componentOriginalc853dc3449edb1b391ef7fd0f0477b9f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc853dc3449edb1b391ef7fd0f0477b9f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.header','data' => ['ad' => $ad]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.header'); ?> <?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(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc853dc3449edb1b391ef7fd0f0477b9f)): ?> <?php $attributes = $__attributesOriginalc853dc3449edb1b391ef7fd0f0477b9f; ?> <?php unset($__attributesOriginalc853dc3449edb1b391ef7fd0f0477b9f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc853dc3449edb1b391ef7fd0f0477b9f)): ?> <?php $component = $__componentOriginalc853dc3449edb1b391ef7fd0f0477b9f; ?> <?php unset($__componentOriginalc853dc3449edb1b391ef7fd0f0477b9f); ?> <?php endif; ?> <div class="flex flex-col lg:flex-row gap-5"> <div class="w-full flex-grow lg:max-w-[70%] max-w-full overflow-hidden"> <?php if (isset($component)) { $__componentOriginal5e1d37653a9feb6b3a5e97265bb1ac34 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5e1d37653a9feb6b3a5e97265bb1ac34 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.slider2','data' => ['ad' => $ad]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.slider2'); ?> <?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(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal5e1d37653a9feb6b3a5e97265bb1ac34)): ?> <?php $attributes = $__attributesOriginal5e1d37653a9feb6b3a5e97265bb1ac34; ?> <?php unset($__attributesOriginal5e1d37653a9feb6b3a5e97265bb1ac34); ?> <?php endif; ?> <?php if (isset($__componentOriginal5e1d37653a9feb6b3a5e97265bb1ac34)): ?> <?php $component = $__componentOriginal5e1d37653a9feb6b3a5e97265bb1ac34; ?> <?php unset($__componentOriginal5e1d37653a9feb6b3a5e97265bb1ac34); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal727990d58de71e37c417985a35530029 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal727990d58de71e37c417985a35530029 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.info','data' => ['ad' => $ad,'productCustomFieldGroups' => []]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.info'); ?> <?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(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad),'product_custom_field_groups' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([])]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal727990d58de71e37c417985a35530029)): ?> <?php $attributes = $__attributesOriginal727990d58de71e37c417985a35530029; ?> <?php unset($__attributesOriginal727990d58de71e37c417985a35530029); ?> <?php endif; ?> <?php if (isset($__componentOriginal727990d58de71e37c417985a35530029)): ?> <?php $component = $__componentOriginal727990d58de71e37c417985a35530029; ?> <?php unset($__componentOriginal727990d58de71e37c417985a35530029); ?> <?php endif; ?> </div> <div class="flex flex-col lg:max-w-[30%] gap-6"> <?php if (isset($component)) { $__componentOriginal0af44811ff667067adccee1f31713b5b = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal0af44811ff667067adccee1f31713b5b = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.sidebar-top','data' => ['ad' => $ad,'hidereport' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.sidebar-top'); ?> <?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(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad),'hidereport' => true]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal0af44811ff667067adccee1f31713b5b)): ?> <?php $attributes = $__attributesOriginal0af44811ff667067adccee1f31713b5b; ?> <?php unset($__attributesOriginal0af44811ff667067adccee1f31713b5b); ?> <?php endif; ?> <?php if (isset($__componentOriginal0af44811ff667067adccee1f31713b5b)): ?> <?php $component = $__componentOriginal0af44811ff667067adccee1f31713b5b; ?> <?php unset($__componentOriginal0af44811ff667067adccee1f31713b5b); ?> <?php endif; ?> <div class="border border-gray-100 rounded-l-lg"> <div class="px-5 pt-5 pb-3 flex flex-col gap-2"> <h3 class="body-lg-500 text-gray-900 dark:text-white"><?php echo e(__('location')); ?></h3> <p class="body-md-400 text-gray-700"> <?php echo e($ad->district ? $ad->district . ', ' : ''); ?>
<?php echo e($ad->region ? $ad->region . ', ' : ''); ?>
<?php echo e($ad->country ?? ''); ?>
</p> </div> </div> </div> </div> <?php if (isset($component)) { $__componentOriginal688f7583a6d7b19c99b63269835b4bde = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal688f7583a6d7b19c99b63269835b4bde = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.footer','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.footer'); ?> <?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([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal688f7583a6d7b19c99b63269835b4bde)): ?> <?php $attributes = $__attributesOriginal688f7583a6d7b19c99b63269835b4bde; ?> <?php unset($__attributesOriginal688f7583a6d7b19c99b63269835b4bde); ?> <?php endif; ?> <?php if (isset($__componentOriginal688f7583a6d7b19c99b63269835b4bde)): ?> <?php $component = $__componentOriginal688f7583a6d7b19c99b63269835b4bde; ?> <?php unset($__componentOriginal688f7583a6d7b19c99b63269835b4bde); ?> <?php endif; ?> </div> </div> </div> </div> <?php /**PATH /home/picotech/domains/classify.picotech.app/public_html/resources/views/components/frontend/ad-card/card-drawer.blade.php ENDPATH**/ ?>
|