@foreach($list_item as $k=>$item)
@php $image_url = get_file_url($item['image_id'], 'full'); @endphp
@if( !empty( $item_cat = $categories->firstWhere('id',$item['category_id']) ))
@php
$translate = $item_cat->translateOrOrigin(app()->getLocale());
$page_search = $item_cat->getLinkForPageSearch(false , [ 'cat_id[]' => $item_cat->id] );
@endphp
@endif
@endforeach