<?php
    $settings = fetchRow('settings');
?>
<!DOCTYPE html>
<html lang="ar-SA">

<head>
    <?php echo $__env->make('main.layouts.master.meta', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <title><?php echo e($settings->website_name); ?> - <?php echo $__env->yieldContent('title'); ?></title>
    <?php echo $__env->make('main.layouts.master.styles', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <!-- Tiktok -->
    <script>
        ! function(w, d, t) {
            w.TiktokAnalyticsObject = t;
            var ttq = w[t] = w[t] || [];
            ttq.methods = ["page", "track", "identify", "instances", "debug", "on", "off", "once", "ready", "alias",
                "group", "enableCookie", "disableCookie"
            ], ttq.setAndDefer = function(t, e) {
                t[e] = function() {
                    t.push([e].concat(Array.prototype.slice.call(arguments, 0)))
                }
            };
            for (var i = 0; i < ttq.methods.length; i++) ttq.setAndDefer(ttq, ttq.methods[i]);
            ttq.instance = function(t) {
                for (var e = ttq._i[t] || [], n = 0; n < ttq.methods.length; n++) ttq.setAndDefer(e, ttq.methods[n]);
                return e
            }, ttq.load = function(e, n) {
                var i = "https://analytics.tiktok.com/i18n/pixel/events.js";
                ttq._i = ttq._i || {}, ttq._i[e] = [], ttq._i[e]._u = i, ttq._t = ttq._t || {}, ttq._t[e] = +new Date,
                    ttq._o = ttq._o || {}, ttq._o[e] = n || {};
                var o = document.createElement("script");
                o.type = "text/javascript", o.async = !0, o.src = i + "?sdkid=" + e + "&lib=" + t;
                var a = document.getElementsByTagName("script")[0];
                a.parentNode.insertBefore(o, a)
            };

            ttq.load('COTU72JC77U8DR5JQ480');
            ttq.page();
        }(window, document, 'ttq');
    </script>
    <!-- Google-->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-208HLPLJXQ"></script>
    <script>
        window.dataLayer = window.dataLayer || [];

        function gtag() {
            dataLayer.push(arguments);
        }
        gtag('js', new Date());
        gtag('config', 'G-208HLPLJXQ');
    </script>

</head>

<body>
    <?php echo $__env->make('main.layouts.master.navbar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>


    <?php echo $__env->yieldContent('content'); ?>



    <?php
        $removePhone = isset($removePhone) ? $removePhone : false;

    ?>
    <?php if($removePhone != true): ?>


        <?php if($settings->phone != null): ?>
            <div class="fixed-phone">
                <a target="__blank" href="tel:+<?php echo e(explode('|', $settings->phone)[0]); ?>"><img
                        src="<?php echo e(asset('assets/images/telephone.svg')); ?>" alt=""></a>
            </div>
        <?php endif; ?>
        <?php if($settings->whatsapp != null): ?>
            <div class="fixed-whatsapp">
                <a target="__blank" href="<?php echo e($settings->whatsapp); ?>"><img src="<?php echo e(asset('assets/images/whatsapp.svg')); ?>"
                        alt=""></a>
            </div>
        <?php endif; ?>

    <?php endif; ?>




    <?php echo $__env->make('main.layouts.master.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <?php echo $__env->make('main.layouts.master.scripts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</body>

</html>
<?php /**PATH C:\xampp\htdocs\wjhatna\resources\views/main/layouts/master.blade.php ENDPATH**/ ?>