<?php if (isset($component)) { $__componentOriginal3f3781c4a8379d81811d15e49692f257 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3f3781c4a8379d81811d15e49692f257 = $attributes; } ?>
<?php $component = App\View\Components\DeshboardLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('Deshboard-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\DeshboardLayout::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>

    <!-- Table Section -->
    <div class=" py-10 ">
        <!-- Card -->
        <div class="flex flex-col">
            <div class="-m-1.5 overflow-x-auto">
                <div class="p-1.5 min-w-full inline-block align-middle">
                    <div
                        class="bg-white border border-gray-200 rounded-xl shadow-sm overflow-hidden dark:bg-slate-900 dark:border-gray-700">
                        <!-- Header -->
                        <div
                            class="px-6 py-4 grid gap-3 md:flex md:justify-between md:items-center border-b border-gray-200 dark:border-gray-700">
                            <div>
                                <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">
                                    Pages
                                </h2>
                                <p class="text-sm text-gray-600 dark:text-gray-400">
                                    Create pages and more.
                                </p>
                            </div>


                        </div>
                        <form id='pages-create' action="<?php echo e(route('pages.update', $page->id)); ?>" method="post"
                            enctype="multipart/form-data">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('put'); ?>
                            <!-- End Header -->
                            <div class="overflow-y-auto grid grid-cols-12  gap-4">
                                <div class="space-y-2  col-span-8 p-4 sm:p-10  bg-[#fbfbfb]">

                                    <div>
                                        <?php if (isset($component)) { $__componentOriginale997ded79ddaf38dceb79598bb7493fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale997ded79ddaf38dceb79598bb7493fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.input-label','data' => ['value' => 'Name','for' => 'name']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.input-label'); ?>
<?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(['value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('Name'),'for' => 'name']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale997ded79ddaf38dceb79598bb7493fb)): ?>
<?php $attributes = $__attributesOriginale997ded79ddaf38dceb79598bb7493fb; ?>
<?php unset($__attributesOriginale997ded79ddaf38dceb79598bb7493fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale997ded79ddaf38dceb79598bb7493fb)): ?>
<?php $component = $__componentOriginale997ded79ddaf38dceb79598bb7493fb; ?>
<?php unset($__componentOriginale997ded79ddaf38dceb79598bb7493fb); ?>
<?php endif; ?>
                                        <?php if (isset($component)) { $__componentOriginal520997795032a081472e524d174f39d0 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal520997795032a081472e524d174f39d0 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.input-field','data' => ['type' => 'text','name' => 'name','id' => 'name','value' => $page->name,'placeholder' => 'Enter name']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.input-field'); ?>
<?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(['type' => 'text','name' => 'name','id' => 'name','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($page->name),'placeholder' => 'Enter name']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal520997795032a081472e524d174f39d0)): ?>
<?php $attributes = $__attributesOriginal520997795032a081472e524d174f39d0; ?>
<?php unset($__attributesOriginal520997795032a081472e524d174f39d0); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal520997795032a081472e524d174f39d0)): ?>
<?php $component = $__componentOriginal520997795032a081472e524d174f39d0; ?>
<?php unset($__componentOriginal520997795032a081472e524d174f39d0); ?>
<?php endif; ?>

                                    </div>
                                    <div>
                                        <?php if (isset($component)) { $__componentOriginale997ded79ddaf38dceb79598bb7493fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale997ded79ddaf38dceb79598bb7493fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.input-label','data' => ['value' => 'Permalink','for' => 'permalink ']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.input-label'); ?>
<?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(['value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('Permalink'),'for' => 'permalink ']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale997ded79ddaf38dceb79598bb7493fb)): ?>
<?php $attributes = $__attributesOriginale997ded79ddaf38dceb79598bb7493fb; ?>
<?php unset($__attributesOriginale997ded79ddaf38dceb79598bb7493fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale997ded79ddaf38dceb79598bb7493fb)): ?>
<?php $component = $__componentOriginale997ded79ddaf38dceb79598bb7493fb; ?>
<?php unset($__componentOriginale997ded79ddaf38dceb79598bb7493fb); ?>
<?php endif; ?>
                                        <div tabindex="0"
                                            class="url bg-white flex items-center border rounded-lg focus:border-none focus:outline-none   focus:ring-2 focus:ring-blue-500 ">
                                            <span
                                                class="text-sm url  text-gray-400 pl-4  whitespace-nowrap "><?php echo e(Request::root()); ?>/</span>
                                            <?php if (isset($component)) { $__componentOriginal520997795032a081472e524d174f39d0 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal520997795032a081472e524d174f39d0 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.input-field','data' => ['type' => 'text','name' => 'permalink','id' => 'permalink','value' => $page->permalink,'placeholder' => 'Enter permalink','class' => 'perma-link clas outline-none border-none focus:outline-none focus:border-none focus:ring-transparent !pl-0 ']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.input-field'); ?>
<?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(['type' => 'text','name' => 'permalink','id' => 'permalink','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($page->permalink),'placeholder' => 'Enter permalink','class' => 'perma-link clas outline-none border-none focus:outline-none focus:border-none focus:ring-transparent !pl-0 ']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal520997795032a081472e524d174f39d0)): ?>
<?php $attributes = $__attributesOriginal520997795032a081472e524d174f39d0; ?>
<?php unset($__attributesOriginal520997795032a081472e524d174f39d0); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal520997795032a081472e524d174f39d0)): ?>
<?php $component = $__componentOriginal520997795032a081472e524d174f39d0; ?>
<?php unset($__componentOriginal520997795032a081472e524d174f39d0); ?>
<?php endif; ?>
                                        </div>
                                    </div>
                                    <div>
                                        <?php if (isset($component)) { $__componentOriginal5f7d7f83bb85967be96d56cff0748d06 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal5f7d7f83bb85967be96d56cff0748d06 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.button','data' => ['type' => 'button','value' => 'Add UI Block','class' => ' bg-blue-100 text-blue-800 !text-[12px] !py-2 !px-3  ','dataHsOverlay' => '#ui-model']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.button'); ?>
<?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(['type' => 'button','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('Add UI Block'),'class' => ' bg-blue-100 text-blue-800 !text-[12px] !py-2 !px-3  ','data-hs-overlay' => '#ui-model']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal5f7d7f83bb85967be96d56cff0748d06)): ?>
<?php $attributes = $__attributesOriginal5f7d7f83bb85967be96d56cff0748d06; ?>
<?php unset($__attributesOriginal5f7d7f83bb85967be96d56cff0748d06); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal5f7d7f83bb85967be96d56cff0748d06)): ?>
<?php $component = $__componentOriginal5f7d7f83bb85967be96d56cff0748d06; ?>
<?php unset($__componentOriginal5f7d7f83bb85967be96d56cff0748d06); ?>
<?php endif; ?>
                                    </div>

                                    <div id='sortable' class="ui space-y-2">
                                        <?php $__currentLoopData = $page->component; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <div id='<?php echo e($value->name . $value->id); ?>'
                                                class="flex flex-col bg-white component-parent border shadow-sm rounded-xl dark:bg-slate-900 dark:border-gray-700 dark:shadow-slate-700/[.7]">
                                                <div
                                                    class="flex justify-between items-center border-b rounded-t-xl py-3 px-4 md:px-5 dark:border-gray-700">
                                                    <h3 class="text-md  font-semibold text-gray-800 dark:text-white">
                                                        <?php echo e($value->name); ?>

                                                    </h3>
                                                    <input type="hidden" name='component_id[]'
                                                        value='<?php echo e($value->id); ?>' />
                                                    <input type="hidden" id='limit' name='display[]'
                                                        value=' <?php echo e($value->limits->limit); ?>' />

                                                    <div class="flex items-center gap-x-1">
                                                        <div class="hs-tooltip inline-block">
                                                            <button type="button"
                                                                target='<?php echo e($value->name . $value->id); ?>'
                                                                class="componet-edit hs-tooltip-toggle size-8 inline-flex justify-center items-center gap-x-2 text-sm font-semibold rounded-full border border-transparent text-gray-500 hover:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600">
                                                                <i class="fa-solid fa-pen-to-square"></i>
                                                                <span
                                                                    class="hs-tooltip-content hs-tooltip-shown:opacity-100 hs-tooltip-shown:visible opacity-0 transition-opacity inline-block absolute invisible z-10 py-1 px-2 bg-gray-900 text-xs font-medium text-white rounded shadow-sm dark:bg-slate-700"
                                                                    role="tooltip">
                                                                    Edit
                                                                </span>
                                                            </button>
                                                        </div>

                                                        <div class="hs-tooltip inline-block">
                                                            <button type="button"
                                                                class="hs-tooltip-toggle removeComonent size-8 inline-flex justify-center items-center gap-x-2 text-sm font-semibold rounded-full border border-transparent text-gray-500 hover:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600">
                                                                <i class="fa-solid fa-xmark"></i>
                                                                <span
                                                                    class="hs-tooltip-content hs-tooltip-shown:opacity-100 hs-tooltip-shown:visible opacity-0 transition-opacity inline-block absolute invisible z-10 py-1 px-2 bg-gray-900 text-xs font-medium text-white rounded shadow-sm dark:bg-slate-700"
                                                                    role="tooltip">
                                                                    Delete
                                                                </span>
                                                            </button>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </div>
                                    <div>
                                        <?php if (isset($component)) { $__componentOriginale997ded79ddaf38dceb79598bb7493fb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale997ded79ddaf38dceb79598bb7493fb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.input-label','data' => ['value' => 'Description','for' => 'description']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.input-label'); ?>
<?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(['value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('Description'),'for' => 'description']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale997ded79ddaf38dceb79598bb7493fb)): ?>
<?php $attributes = $__attributesOriginale997ded79ddaf38dceb79598bb7493fb; ?>
<?php unset($__attributesOriginale997ded79ddaf38dceb79598bb7493fb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale997ded79ddaf38dceb79598bb7493fb)): ?>
<?php $component = $__componentOriginale997ded79ddaf38dceb79598bb7493fb; ?>
<?php unset($__componentOriginale997ded79ddaf38dceb79598bb7493fb); ?>
<?php endif; ?>
                                        <?php if (isset($component)) { $__componentOriginal2448535d54dae428785bbd82aa2a39db = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal2448535d54dae428785bbd82aa2a39db = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.input-textarea','data' => ['name' => 'description','text' => $page->description,'placeholder' => 'Enter Description','required' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.input-textarea'); ?>
<?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(['name' => 'description','text' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($page->description),'placeholder' => 'Enter Description','required' => true]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal2448535d54dae428785bbd82aa2a39db)): ?>
<?php $attributes = $__attributesOriginal2448535d54dae428785bbd82aa2a39db; ?>
<?php unset($__attributesOriginal2448535d54dae428785bbd82aa2a39db); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal2448535d54dae428785bbd82aa2a39db)): ?>
<?php $component = $__componentOriginal2448535d54dae428785bbd82aa2a39db; ?>
<?php unset($__componentOriginal2448535d54dae428785bbd82aa2a39db); ?>
<?php endif; ?>
                                    </div>

                                </div>
                                <div class="space-y-6  col-span-4  p-2 sm:p-4  bg-[#fbfbfb]">
                                    <div
                                        class="flex flex-col bg-white border shadow-sm rounded-xl dark:bg-slate-900 dark:border-gray-700 dark:shadow-slate-700/[.7]">
                                        <div
                                            class="border-b rounded-t-xl py-3 px-4 md:py-4 md:px-5 dark:border-gray-700">
                                            <p class="mt-1  text-gray-700 text-md">
                                                Publish
                                            </p>
                                        </div>
                                        <div class="flex gap-3 p-5">
                                            <button type="submit"
                                                class="py-3 px-4 inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600">
                                                <i class="fa-solid fa-floppy-disk"></i>
                                                Save

                                            </button>
                                            <button type="button"
                                                class="py-3 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-slate-900 dark:border-gray-700 dark:text-white dark:hover:bg-gray-800 dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600">
                                                <i class="fa-solid fa-arrow-right-from-bracket"></i>
                                                Save & Exit
                                            </button>
                                        </div>
                                    </div>
                                    <div
                                        class=" bg-white border shadow-sm rounded-xl dark:bg-slate-900 dark:border-gray-700 dark:shadow-slate-700/[.7]">
                                        <div
                                            class="border-b rounded-t-xl py-3 px-4 md:py-4 md:px-5 dark:border-gray-700">
                                            <p class="mt-1  text-gray-700 text-md">
                                                Status
                                            </p>
                                            <div class="pt-4">
                                                <?php if (isset($component)) { $__componentOriginaleaf4d3fa0aec9033615c0afdc9c537c1 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginaleaf4d3fa0aec9033615c0afdc9c537c1 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.input-select','data' => ['name' => 'status','id' => 'component','values' => ['0' => 'Pending', '1' => 'Published'],'placeholder' => 'Select one','selected' => $page->status,'required' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.input-select'); ?>
<?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(['name' => 'status','id' => 'component','values' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(['0' => 'Pending', '1' => 'Published']),'placeholder' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('Select one'),'selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($page->status),'required' => true]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginaleaf4d3fa0aec9033615c0afdc9c537c1)): ?>
<?php $attributes = $__attributesOriginaleaf4d3fa0aec9033615c0afdc9c537c1; ?>
<?php unset($__attributesOriginaleaf4d3fa0aec9033615c0afdc9c537c1); ?>
<?php endif; ?>
<?php if (isset($__componentOriginaleaf4d3fa0aec9033615c0afdc9c537c1)): ?>
<?php $component = $__componentOriginaleaf4d3fa0aec9033615c0afdc9c537c1; ?>
<?php unset($__componentOriginaleaf4d3fa0aec9033615c0afdc9c537c1); ?>
<?php endif; ?>
                                            </div>
                                        </div>

                                    </div>
                                    <div
                                        class=" bg-white border shadow-sm rounded-xl dark:bg-slate-900 dark:border-gray-700 dark:shadow-slate-700/[.7]">
                                        <div
                                            class="border-b rounded-t-xl py-3 px-4 md:py-4 md:px-5 dark:border-gray-700">
                                            <p class="mt-1  text-gray-700 text-md">
                                                Image
                                            </p>

                                        </div>
                                        <!-- Body -->
                                        <div class="p-5 space-y-4"> <!-- Drag 'n Drop -->
                                            <div
                                                class="p-12 hv4ig flex pdrgo f0dty l66z3 i1v1o dmrud k3u76 dark:bg-neutral-800 dark:border-neutral-600">
                                                <div class="text-center">
                                                    <?php if($page->image): ?>
                                                        <img src="<?php echo e(asset('images/' . $page->image)); ?>" height="50"
                                                            alt="">
                                                    <?php else: ?>
                                                        <i class="fa-regular fa-image text-5xl"></i>
                                                    <?php endif; ?>


                                                    <div class="mt-4 flex flex-wrap pdrgo dtjcu m11p8 text-stone-600">
                                                        <span class="pe-1 eass7 j4ei7 dark:text-neutral-200"> Drop your
                                                            files
                                                            here or </span> <label for="hs-pro-deuuf"
                                                            class="relative cursor-pointer f0dty kxhcs mq8xz w25pk nq4w8 cmffi cdcib pgmdi pi3re b9h40 q8e5i dark:bg-neutral-800">
                                                            <span class="text-green-500">browse</span> <input
                                                                id="hs-pro-deuuf" type="file" class="sr-only"
                                                                name="image"> </label>
                                                    </div>
                                                    <p class="mt-1 rvi38 qv2j8 dark:text-neutral-400"> JPG, PNG, JPEG
                                                    </p>
                                                </div>
                                            </div> <!-- End Drag 'n Drop -->

                                        </div> <!-- End Body -->
                                    </div>

                                </div>

                            </div>
                        </form>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <!-- End Card -->
    </div>
    <!-- End Table Section -->
    
    <?php echo $__env->make('backend.pages.pages.model.ui-model', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo $__env->make('backend.pages.pages.model.field-data-model', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    
    <?php if($message = Session::get('success')): ?>
        <?php if (isset($component)) { $__componentOriginalc7ecd09853420589bd35ad19c48b8af4 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc7ecd09853420589bd35ad19c48b8af4 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.flash-error','data' => ['message' => $message,'type' => 'success']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.flash-error'); ?>
<?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(['message' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($message),'type' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('success')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc7ecd09853420589bd35ad19c48b8af4)): ?>
<?php $attributes = $__attributesOriginalc7ecd09853420589bd35ad19c48b8af4; ?>
<?php unset($__attributesOriginalc7ecd09853420589bd35ad19c48b8af4); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc7ecd09853420589bd35ad19c48b8af4)): ?>
<?php $component = $__componentOriginalc7ecd09853420589bd35ad19c48b8af4; ?>
<?php unset($__componentOriginalc7ecd09853420589bd35ad19c48b8af4); ?>
<?php endif; ?>
    <?php endif; ?>

 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal3f3781c4a8379d81811d15e49692f257)): ?>
<?php $attributes = $__attributesOriginal3f3781c4a8379d81811d15e49692f257; ?>
<?php unset($__attributesOriginal3f3781c4a8379d81811d15e49692f257); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3f3781c4a8379d81811d15e49692f257)): ?>
<?php $component = $__componentOriginal3f3781c4a8379d81811d15e49692f257; ?>
<?php unset($__componentOriginal3f3781c4a8379d81811d15e49692f257); ?>
<?php endif; ?>

<?php if (isset($component)) { $__componentOriginal5ac6c2f371cc0db095a19bf5670c5d41 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal5ac6c2f371cc0db095a19bf5670c5d41 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.backend.server-error','data' => ['formId' => 'pages-create','requestForm' => 'Pages\PagesUpadateRequest']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('backend.server-error'); ?>
<?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(['form_id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('pages-create'),'request_form' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('Pages\PagesUpadateRequest')]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal5ac6c2f371cc0db095a19bf5670c5d41)): ?>
<?php $attributes = $__attributesOriginal5ac6c2f371cc0db095a19bf5670c5d41; ?>
<?php unset($__attributesOriginal5ac6c2f371cc0db095a19bf5670c5d41); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal5ac6c2f371cc0db095a19bf5670c5d41)): ?>
<?php $component = $__componentOriginal5ac6c2f371cc0db095a19bf5670c5d41; ?>
<?php unset($__componentOriginal5ac6c2f371cc0db095a19bf5670c5d41); ?>
<?php endif; ?>

<script>
    $(function() {
        $("#sortable").sortable();
    });
    $(document).on('click', '.removeComonent', function() {
        $(this).parents('.component-parent').remove();
    })
    $(document).on('click', '.componet-edit', function() {
        let target = $(this).attr('target');
        $('.' + target).trigger('click');
        let val = $(this).parents('#' + target).find('#limit').val();

        $('#display').val(Number(val))

    })
</script>
<?php /**PATH /home/khawajashipping/mrglogisticsbd.com/resources/views/backend/pages/pages/edit.blade.php ENDPATH**/ ?>