<!DOCTYPE html>
<?php
    use App\Models\Utility;

    $setting = Utility::settings();
    $company_logo = $setting['company_logo_dark'] ?? '';
    $company_logos = $setting['company_logo_light'] ?? '';
    $company_favicon = $setting['company_favicon'] ?? '';

    $logo = \App\Models\Utility::get_file('uploads/logo/');

    $color = !empty($setting['color']) ? $setting['color'] : 'theme-3';

    if(isset($setting['color_flag']) && $setting['color_flag'] == 'true')
    {
        $themeColor = 'custom-color';
    }
    else {
        $themeColor = $color;
    }

    $company_logo = \App\Models\Utility::GetLogo();
    $SITE_RTL = isset($setting['SITE_RTL']) ? $setting['SITE_RTL'] : 'off';

    $lang = \App::getLocale();
    if ($lang == 'ar' || $lang == 'he') {
        $SITE_RTL = 'on';
    }
    elseif($SITE_RTL == 'on')
    {
        $SITE_RTL = 'on';
    }
    else {
        $SITE_RTL = 'off';
    }

    $metatitle = isset($setting['meta_title']) ? $setting['meta_title'] : '';
    $metsdesc = isset($setting['meta_desc']) ? $setting['meta_desc'] : '';
    $meta_image = \App\Models\Utility::get_file('uploads/meta/');
    $meta_logo = isset($setting['meta_image']) ? $setting['meta_image'] : '';
    $get_cookie = isset($setting['enable_cookie']) ? $setting['enable_cookie'] : '';
    $is_local_runtime = app()->environment('local') || request()->getHost() === 'erp.cleversys.local';

?>


<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>"
    dir="<?php echo e($SITE_RTL == 'on' ? 'rtl' : ''); ?>">

<head>
    <?php if($is_local_runtime): ?>
        <meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' data: blob:; script-src 'none'; object-src 'none'; base-uri 'self';">
    <?php endif; ?>
    <title>
        <?php echo e(Utility::getValByName('title_text') ? Utility::getValByName('title_text') : config('app.name', 'ERPGO')); ?>

        - <?php echo $__env->yieldContent('page-title'); ?></title>

    <meta name="title" content="<?php echo e($metatitle); ?>">
    <meta name="description" content="<?php echo e($metsdesc); ?>">

    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website">
    <meta property="og:url" content="<?php echo e(env('APP_URL')); ?>">
    <meta property="og:title" content="<?php echo e($metatitle); ?>">
    <meta property="og:description" content="<?php echo e($metsdesc); ?>">
    <meta property="og:image" content="<?php echo e($meta_image . $meta_logo); ?>">

    <!-- Twitter -->
    <meta property="twitter:card" content="summary_large_image">
    <meta property="twitter:url" content="<?php echo e(env('APP_URL')); ?>">
    <meta property="twitter:title" content="<?php echo e($metatitle); ?>">
    <meta property="twitter:description" content="<?php echo e($metsdesc); ?>">
    <meta property="twitter:image" content="<?php echo e($meta_image . $meta_logo); ?>">


    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="description" content="Dashboard Template Description" />
    <meta name="keywords" content="Dashboard Template" />
    <meta name="author" content="WorkDo" />

    <!-- Favicon icon -->
    <link rel="icon"
        href="<?php echo e($logo . '/' . (isset($company_favicon) && !empty($company_favicon) ? $company_favicon : 'favicon.png')); ?>"
        type="image/x-icon" />

    <!-- font css -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/fonts/tabler-icons.min.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('assets/fonts/feather.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('assets/fonts/fontawesome.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('assets/fonts/material.css')); ?>">

    <!-- vendor css -->

    <?php if($SITE_RTL == 'on'): ?>
        <link rel="stylesheet" href="<?php echo e(asset('assets/css/style-rtl.css')); ?>" id="main-style-link">
    <?php endif; ?>

    <?php if($setting['cust_darklayout'] == 'on'): ?>
        <link rel="stylesheet" href="<?php echo e(asset('assets/css/style-dark.css')); ?>">
    <?php endif; ?>

    <?php if($SITE_RTL != 'on' && $setting['cust_darklayout'] != 'on'): ?>
        <link rel="stylesheet" href="<?php echo e(asset('assets/css/style.css')); ?>" id="main-style-link">
    <?php endif; ?>


    <?php if($SITE_RTL == 'on'): ?>
        <link rel="stylesheet" href="<?php echo e(asset('assets/css/custom-auth-rtl.css')); ?>" id="main-style-link">
        <?php else: ?>
        <link rel="stylesheet" href="<?php echo e(asset('assets/css/custom-auth.css')); ?>" id="main-style-link">
    <?php endif; ?>

    <?php if($setting['cust_darklayout'] == 'on'): ?>
        <link rel="stylesheet" href="<?php echo e(asset('assets/css/custom-auth-dark.css')); ?>" id="main-style-link">
    <?php endif; ?>

    <style>
        :root {
            --color-customColor: <?= $color ?>;
        }
    </style>

    <link rel="stylesheet" href="<?php echo e(asset('css/custom-color.css')); ?>">

    <link rel="stylesheet" href="<?php echo e(asset('assets/css/customizer.css')); ?>">

    <link rel="stylesheet" href="<?php echo e(asset('css/custom.css')); ?>">

</head>

<body class="<?php echo e($themeColor); ?>">
    <div class="custom-login">
        <div class="login-bg-img">
            <img src="<?php echo e(isset($setting['color_flag']) && $setting['color_flag'] == 'false' ? asset('assets/images/auth/'.$color.'.svg') : asset('assets/images/auth/theme-3.svg')); ?>" class="login-bg-1">
            <img src="<?php echo e(asset('assets/images/auth/common.svg')); ?>" class="login-bg-2">
        </div>
        <div class="bg-login bg-primary"></div>
        <div class="custom-login-inner">
            <header class="dash-header">
                <nav class="navbar navbar-expand-md default">
                    <div class="container">
                        <div class="navbar-brand">

                        <a class="navbar-brand" href="#">
                            <?php if($setting['cust_darklayout'] == 'on'): ?>
                                <img class="logo"
                                    src="<?php echo e($logo . (isset($company_logo) && !empty($company_logo) ? $company_logo : 'logo-light.png') . '?' . time()); ?>"
                                    alt="" loading="lazy"/>
                            <?php else: ?>
                                <img class="logo"
                                    src="<?php echo e($logo . (isset($company_logo) && !empty($company_logo) ? $company_logo : 'logo-dark.png') . '?' . time()); ?>"
                                    alt="" loading="lazy"/>
                            <?php endif; ?>
                        </a>


                        </div>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
                            data-bs-target="#navbarlogin">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarlogin">
                            <ul class="navbar-nav align-items-center ms-auto mb-2 mb-lg-0">
                                <?php echo $__env->make('landingpage::layouts.buttons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                <?php echo $__env->yieldContent('language-bar'); ?>
                            </ul>
                        </div>
                    </div>
                </nav>
            </header>
            <main class="custom-wrapper">
                <div class="custom-row">
                    <div class="card">
                        <?php echo $__env->yieldContent('content'); ?>
                    </div>
                </div>
            </main>
            <footer>
                <div class="auth-footer">
                    <div class="container">
                        <div class="row">
                            <div class="col-12">
                                <span>&copy; <?php echo e(date('Y')); ?>

                                    <?php echo e(App\Models\Utility::getValByName('footer_text') ? App\Models\Utility::getValByName('footer_text') : config('app.name', 'Storego Saas')); ?>

                                </span>
                            </div>
                        </div>
                    </div>
                </div>
            </footer>
        </div>
    </div>

    <?php if($get_cookie == 'on' && !$is_local_runtime): ?>
        <?php echo $__env->make('layouts.cookie_consent', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>

    <!-- [ auth-signup ] end -->

    <!-- Required Js -->
    <?php if(!$is_local_runtime): ?>
        <script src="<?php echo e(asset('assets/js/vendor-all.js')); ?>"></script>
        <script src="<?php echo e(asset('assets/js/plugins/bootstrap.min.js')); ?>"></script>
        <script src="<?php echo e(asset('assets/js/plugins/feather.min.js')); ?>"></script>
        <script src="<?php echo e(asset('js/jquery.min.js')); ?>"></script>
        <script src="<?php echo e(asset('js/custom.js')); ?>"></script>
    <?php endif; ?>


    <?php if(!$is_local_runtime): ?>
        <script>
            feather.replace();
        </script>
    <?php endif; ?>

    <?php if(\App\Models\Utility::getValByName('cust_darklayout') == 'on'): ?>
        <style>
            .g-recaptcha {
                filter: invert(1) hue-rotate(180deg) !important;
            }
        </style>
    <?php endif; ?>


    <?php if(!$is_local_runtime): ?>
        <script>
            feather.replace();
            var pctoggle = document.querySelector("#pct-toggler");
            if (pctoggle) {
                pctoggle.addEventListener("click", function() {
                    if (
                        !document.querySelector(".pct-customizer").classList.contains("active")
                    ) {
                        document.querySelector(".pct-customizer").classList.add("active");
                    } else {
                        document.querySelector(".pct-customizer").classList.remove("active");
                    }
                });
            }

            var themescolors = document.querySelectorAll(".themes-color > a");
            for (var h = 0; h < themescolors.length; h++) {
                var c = themescolors[h];

                c.addEventListener("click", function(event) {
                    var targetElement = event.target;
                    if (targetElement.tagName == "SPAN") {
                        targetElement = targetElement.parentNode;
                    }
                    var temp = targetElement.getAttribute("data-value");
                    removeClassByPrefix(document.querySelector("body"), "theme-");
                    document.querySelector("body").classList.add(temp);
                });
            }
            function removeClassByPrefix(node, prefix) {
                for (let i = 0; i < node.classList.length; i++) {
                    let value = node.classList[i];
                    if (value.startsWith(prefix)) {
                        node.classList.remove(value);
                    }
                }
            }
        </script>
    <?php endif; ?>
        <script>
    (function () {
        if (window.__phoneCountryPickerInitialized) {
            return;
        }
        window.__phoneCountryPickerInitialized = true;

                const eastAfricaOptions = [
            { code: '+254', label: 'KE +254' },
            { code: '+255', label: 'TZ +255' },
            { code: '+256', label: 'UG +256' },
            { code: '+250', label: 'RW +250' },
            { code: '+257', label: 'BI +257' },
            { code: '+211', label: 'SS +211' },
            { code: '+251', label: 'ET +251' },
            { code: '+252', label: 'SO +252' },
            { code: '+253', label: 'DJ +253' },
            { code: '+291', label: 'ER +291' },
            { code: '+269', label: 'KM +269' },
            { code: '+248', label: 'SC +248' },
            { code: '+261', label: 'MG +261' },
            { code: '+230', label: 'MU +230' }
        ];

        const africaOptions = [
            { code: '+213', label: 'DZ +213' },
            { code: '+244', label: 'AO +244' },
            { code: '+229', label: 'BJ +229' },
            { code: '+267', label: 'BW +267' },
            { code: '+226', label: 'BF +226' },
            { code: '+237', label: 'CM +237' },
            { code: '+238', label: 'CV +238' },
            { code: '+236', label: 'CF +236' },
            { code: '+235', label: 'TD +235' },
            { code: '+242', label: 'CG +242' },
            { code: '+243', label: 'CD +243' },
            { code: '+225', label: 'CI +225' },
            { code: '+20', label: 'EG +20' },
            { code: '+240', label: 'GQ +240' },
            { code: '+241', label: 'GA +241' },
            { code: '+220', label: 'GM +220' },
            { code: '+233', label: 'GH +233' },
            { code: '+224', label: 'GN +224' },
            { code: '+245', label: 'GW +245' },
            { code: '+266', label: 'LS +266' },
            { code: '+231', label: 'LR +231' },
            { code: '+218', label: 'LY +218' },
            { code: '+265', label: 'MW +265' },
            { code: '+223', label: 'ML +223' },
            { code: '+222', label: 'MR +222' },
            { code: '+212', label: 'MA +212' },
            { code: '+258', label: 'MZ +258' },
            { code: '+264', label: 'NA +264' },
            { code: '+227', label: 'NE +227' },
            { code: '+234', label: 'NG +234' },
            { code: '+239', label: 'ST +239' },
            { code: '+221', label: 'SN +221' },
            { code: '+232', label: 'SL +232' },
            { code: '+27', label: 'ZA +27' },
            { code: '+249', label: 'SD +249' },
            { code: '+268', label: 'SZ +268' },
            { code: '+228', label: 'TG +228' },
            { code: '+216', label: 'TN +216' },
            { code: '+260', label: 'ZM +260' },
            { code: '+263', label: 'ZW +263' }
        ];

        const worldOptions = [
            { code: '+93', label: 'AF +93' },
            { code: '+355', label: 'AL +355' },
            { code: '+376', label: 'AD +376' },
            { code: '+1', label: 'AG +1' },
            { code: '+54', label: 'AR +54' },
            { code: '+374', label: 'AM +374' },
            { code: '+61', label: 'AU +61' },
            { code: '+43', label: 'AT +43' },
            { code: '+994', label: 'AZ +994' },
            { code: '+1', label: 'BS +1' },
            { code: '+973', label: 'BH +973' },
            { code: '+880', label: 'BD +880' },
            { code: '+1', label: 'BB +1' },
            { code: '+375', label: 'BY +375' },
            { code: '+32', label: 'BE +32' },
            { code: '+501', label: 'BZ +501' },
            { code: '+975', label: 'BT +975' },
            { code: '+591', label: 'BO +591' },
            { code: '+387', label: 'BA +387' },
            { code: '+55', label: 'BR +55' },
            { code: '+673', label: 'BN +673' },
            { code: '+359', label: 'BG +359' },
            { code: '+855', label: 'KH +855' },
            { code: '+1', label: 'CA +1' },
            { code: '+56', label: 'CL +56' },
            { code: '+86', label: 'CN +86' },
            { code: '+57', label: 'CO +57' },
            { code: '+506', label: 'CR +506' },
            { code: '+385', label: 'HR +385' },
            { code: '+53', label: 'CU +53' },
            { code: '+357', label: 'CY +357' },
            { code: '+420', label: 'CZ +420' },
            { code: '+45', label: 'DK +45' },
            { code: '+1767', label: 'DM +1767' },
            { code: '+1', label: 'DO +1' },
            { code: '+593', label: 'EC +593' },
            { code: '+503', label: 'SV +503' },
            { code: '+372', label: 'EE +372' },
            { code: '+679', label: 'FJ +679' },
            { code: '+358', label: 'FI +358' },
            { code: '+33', label: 'FR +33' },
            { code: '+995', label: 'GE +995' },
            { code: '+49', label: 'DE +49' },
            { code: '+30', label: 'GR +30' },
            { code: '+1473', label: 'GD +1473' },
            { code: '+502', label: 'GT +502' },
            { code: '+592', label: 'GY +592' },
            { code: '+509', label: 'HT +509' },
            { code: '+504', label: 'HN +504' },
            { code: '+36', label: 'HU +36' },
            { code: '+354', label: 'IS +354' },
            { code: '+91', label: 'IN +91' },
            { code: '+62', label: 'ID +62' },
            { code: '+98', label: 'IR +98' },
            { code: '+964', label: 'IQ +964' },
            { code: '+353', label: 'IE +353' },
            { code: '+972', label: 'IL +972' },
            { code: '+39', label: 'IT +39' },
            { code: '+1', label: 'JM +1' },
            { code: '+81', label: 'JP +81' },
            { code: '+962', label: 'JO +962' },
            { code: '+7', label: 'KZ +7' },
            { code: '+965', label: 'KW +965' },
            { code: '+996', label: 'KG +996' },
            { code: '+856', label: 'LA +856' },
            { code: '+371', label: 'LV +371' },
            { code: '+961', label: 'LB +961' },
            { code: '+423', label: 'LI +423' },
            { code: '+370', label: 'LT +370' },
            { code: '+352', label: 'LU +352' },
            { code: '+60', label: 'MY +60' },
            { code: '+960', label: 'MV +960' },
            { code: '+356', label: 'MT +356' },
            { code: '+692', label: 'MH +692' },
            { code: '+52', label: 'MX +52' },
            { code: '+691', label: 'FM +691' },
            { code: '+373', label: 'MD +373' },
            { code: '+377', label: 'MC +377' },
            { code: '+976', label: 'MN +976' },
            { code: '+382', label: 'ME +382' },
            { code: '+95', label: 'MM +95' },
            { code: '+674', label: 'NR +674' },
            { code: '+977', label: 'NP +977' },
            { code: '+31', label: 'NL +31' },
            { code: '+64', label: 'NZ +64' },
            { code: '+505', label: 'NI +505' },
            { code: '+47', label: 'NO +47' },
            { code: '+968', label: 'OM +968' },
            { code: '+92', label: 'PK +92' },
            { code: '+680', label: 'PW +680' },
            { code: '+507', label: 'PA +507' },
            { code: '+675', label: 'PG +675' },
            { code: '+595', label: 'PY +595' },
            { code: '+51', label: 'PE +51' },
            { code: '+63', label: 'PH +63' },
            { code: '+48', label: 'PL +48' },
            { code: '+351', label: 'PT +351' },
            { code: '+974', label: 'QA +974' },
            { code: '+40', label: 'RO +40' },
            { code: '+7', label: 'RU +7' },
            { code: '+1784', label: 'VC +1784' },
            { code: '+685', label: 'WS +685' },
            { code: '+378', label: 'SM +378' },
            { code: '+966', label: 'SA +966' },
            { code: '+381', label: 'RS +381' },
            { code: '+65', label: 'SG +65' },
            { code: '+421', label: 'SK +421' },
            { code: '+386', label: 'SI +386' },
            { code: '+677', label: 'SB +677' },
            { code: '+34', label: 'ES +34' },
            { code: '+94', label: 'LK +94' },
            { code: '+597', label: 'SR +597' },
            { code: '+46', label: 'SE +46' },
            { code: '+41', label: 'CH +41' },
            { code: '+963', label: 'SY +963' },
            { code: '+886', label: 'TW +886' },
            { code: '+992', label: 'TJ +992' },
            { code: '+66', label: 'TH +66' },
            { code: '+670', label: 'TL +670' },
            { code: '+676', label: 'TO +676' },
            { code: '+1868', label: 'TT +1868' },
            { code: '+90', label: 'TR +90' },
            { code: '+993', label: 'TM +993' },
            { code: '+688', label: 'TV +688' },
            { code: '+380', label: 'UA +380' },
            { code: '+971', label: 'AE +971' },
            { code: '+44', label: 'UK +44' },
            { code: '+1', label: 'US +1' },
            { code: '+598', label: 'UY +598' },
            { code: '+998', label: 'UZ +998' },
            { code: '+678', label: 'VU +678' },
            { code: '+39', label: 'VA +39' },
            { code: '+58', label: 'VE +58' },
            { code: '+84', label: 'VN +84' },
            { code: '+967', label: 'YE +967' },
            { code: '+383', label: 'XK +383' }
        ];

        const countryOptions = eastAfricaOptions
            .concat(africaOptions, worldOptions)
            .filter(function (opt, index, list) {
                return list.findIndex(function (item) {
                    return item.code === opt.code && item.label === opt.label;
                }) === index;
            });

        const sortedCodes = countryOptions
            .map(function (c) { return c.code; })
            .sort(function (a, b) { return b.length - a.length; });

        function detectCode(value) {
            const val = (value || '').trim();
            for (let i = 0; i < sortedCodes.length; i++) {
                const code = sortedCodes[i];
                if (val.indexOf(code) === 0) {
                    return code;
                }
            }
                        return null;
        }

        function normalizeLocalPart(value) {
            let digits = (value || '').replace(/\D/g, '');
            if (!digits) {
                return '';
            }
            if (digits.charAt(0) === '0') {
                digits = digits.substring(1);
            }
            return digits;
        }

        function stripLeadingZero(value) {
            const raw = (value || '');
            if (raw.indexOf('+') === 0) {
                return raw;
            }
            return raw.replace(/^\s*0+/, '').replace(/^\s+/, '');
        }

        function targetPhoneInput(input) {
            if (!input || input.dataset.phoneEnhanced === '1') {
                return false;
            }
            if (input.type === 'hidden' || input.readOnly || input.disabled) {
                return false;
            }
            const name = (input.getAttribute('name') || '').toLowerCase();
            const id = (input.getAttribute('id') || '').toLowerCase();
            if (
                name.indexOf('phone') !== -1 ||
                id.indexOf('phone') !== -1 ||
                name.indexOf('contact') !== -1 ||
                id.indexOf('contact') !== -1
            ) {
                return true;
            }

            const group = input.closest('.form-group');
            if (!group) {
                return false;
            }

            const groupText = (group.textContent || '').toLowerCase();
            return groupText.indexOf('please use with country code') !== -1 || groupText.indexOf('ex. +254') !== -1 || groupText.indexOf('without zero') !== -1;
        }

        function enhancePhoneInput(input) {
            if (!targetPhoneInput(input)) {
                return;
            }

            const parent = input.parentNode;
            if (!parent) {
                return;
            }

            const wrapper = document.createElement('div');
            wrapper.className = 'input-group phone-country-picker-wrapper';

            const select = document.createElement('select');
            select.className = 'form-select phone-country-code';
            select.style.maxWidth = '115px';
            select.style.flex = '0 0 115px';
            select.setAttribute('aria-label', 'Country code');

            countryOptions.forEach(function (opt) {
                const option = document.createElement('option');
                option.value = opt.code;
                option.textContent = opt.label;
                select.appendChild(option);
            });

            const existingValue = (input.value || '').trim();
            const matchedCode = detectCode(existingValue) || '+254';
            select.value = matchedCode;

            if (existingValue.indexOf('+') === 0) {
                input.value = existingValue.substring(matchedCode.length).replace(/^[\s-]+/, '');
            } else {
                input.value = stripLeadingZero(existingValue);
            }

            parent.insertBefore(wrapper, input);
            wrapper.appendChild(select);
            wrapper.appendChild(input);

            input.dataset.phoneEnhanced = '1';
            input.dataset.phoneCodeSelectId = 'phone-country-' + Math.random().toString(36).slice(2, 10);
            select.id = input.dataset.phoneCodeSelectId;
            input.addEventListener('input', function () {
                input.value = stripLeadingZero(input.value);
            });
            input.addEventListener('blur', function () {
                input.value = stripLeadingZero(input.value);
            });
        }

        function syncPhoneNumbersBeforeSubmit(form) {
            const inputs = form.querySelectorAll('input[data-phone-enhanced="1"]');
            inputs.forEach(function (input) {
                const selectId = input.dataset.phoneCodeSelectId;
                const select = selectId ? document.getElementById(selectId) : null;
                if (!select) {
                    return;
                }

                const raw = (input.value || '').trim();
                if (!raw || raw.indexOf('+') === 0) {
                    return;
                }

                const normalized = normalizeLocalPart(raw);
                if (!normalized) {
                    return;
                }

                input.value = select.value + normalized;
            });
        }

        function initPhoneFields(root) {
            const scope = root || document;
            const phoneInputs = scope.querySelectorAll('input[type="text"], input[type="tel"], input:not([type])');
            phoneInputs.forEach(enhancePhoneInput);

            const forms = scope.querySelectorAll('form');
            forms.forEach(function (form) {
                if (form.dataset.phoneSubmitBound === '1') {
                    return;
                }
                form.dataset.phoneSubmitBound = '1';
                form.addEventListener('submit', function () {
                    syncPhoneNumbersBeforeSubmit(form);
                });
            });
        }

        document.addEventListener('DOMContentLoaded', function () {
            initPhoneFields(document);
            const observer = new MutationObserver(function (mutations) {
                mutations.forEach(function (mutation) {
                    mutation.addedNodes.forEach(function (node) {
                        if (node.nodeType === 1) {
                            initPhoneFields(node);
                        }
                    });
                });
            });
            observer.observe(document.body, { childList: true, subtree: true });
        });
    })();
</script>
    <?php echo $__env->make('partials.admin.address-enhancer-script', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo $__env->yieldPushContent('custom-scripts'); ?>

</body>

</html>








<?php /**PATH D:\FromHardDisk\Davies\CleverSys\The Systems\erp.cleversys.co.ke\resources\views/layouts/auth.blade.php ENDPATH**/ ?>