// source --> https://www.tierarzt-sommer.de/wp-content/plugins/wp-sentry-integration/public/wp-sentry-init.js 
;(function () {
    if (typeof wp_sentry === 'object') {
        var listsWithRegexes = ['allowUrls', 'denyUrls', 'ignoreErrors', 'ignoreTransactions'];
        var parseListWithRegexes = function (list) {
            for (var url in list) {
                if (list.hasOwnProperty(url)) {
                    if (list[url].startsWith('regex:')) {
                        list[url] = new RegExp(list[url].slice(6), 'i');
                    }
                }
            }
        };

        for (var i = 0; i < listsWithRegexes.length; i++) {
            if (typeof wp_sentry[listsWithRegexes[i]] === 'object') {
                parseListWithRegexes(wp_sentry[listsWithRegexes[i]]);
            }
        }

        wp_sentry.integrations = [];

        // Enable replay if a sample rate is set
        if (wp_sentry.replaysSessionSampleRate && wp_sentry.replaysSessionSampleRate > 0) {
            wp_sentry.replaysSessionSampleRate = parseFloat(wp_sentry.replaysSessionSampleRate);
        }
        if (wp_sentry.replaysOnErrorSampleRate && wp_sentry.replaysOnErrorSampleRate > 0) {
            wp_sentry.replaysOnErrorSampleRate = parseFloat(wp_sentry.replaysOnErrorSampleRate);
        }
        if (wp_sentry.replaysSessionSampleRate > 0 || wp_sentry.replaysOnErrorSampleRate > 0) {
            wp_sentry.integrations.push(Sentry.replayIntegration(wp_sentry.wpSessionReplayOptions));
        }

        // Enable tracing if a sample rate is set
        if (wp_sentry.tracesSampleRate) {
            wp_sentry.tracesSampleRate = parseFloat(wp_sentry.tracesSampleRate);
        }
        if (wp_sentry.tracesSampleRate && wp_sentry.tracesSampleRate > 0) {
            wp_sentry.integrations.push(Sentry.browserTracingIntegration(wp_sentry.wpBrowserTracingOptions));
        }

        // Enable feedback integration if options were provided
        if (wp_sentry.wpBrowserFeedbackOptions && wp_sentry.wpBrowserFeedbackOptions.enabled === true) {
            wp_sentry.integrations.push(Sentry.feedbackIntegration(wp_sentry.wpBrowserFeedbackOptions));
        }

        // If the hook is defined we call it with the Sentry object so that the user can modify it
        if (typeof wp_sentry_hook === 'function') {
            var hookResult = wp_sentry_hook(wp_sentry);

            // If the hook returns false we do not continue to initialize Sentry
            if (hookResult === false) {
                return;
            }
        }

        Sentry.init(wp_sentry);

        if (typeof wp_sentry.context === 'object') {
            if (typeof wp_sentry.context.user === 'object') {
                Sentry.setUser(wp_sentry.context.user);
            }

            if (typeof wp_sentry.context.tags === 'object') {
                for (var tag in wp_sentry.context.tags) {
                    if (wp_sentry.context.tags.hasOwnProperty(tag)) {
                        Sentry.setTag(tag, wp_sentry.context.tags[tag]);
                    }
                }
            }
        }
    }
})();
// source --> https://www.tierarzt-sommer.de/wp-content/plugins/easyappointments/public/js/easyappointments-iframe.js 
/* ----------------------------------------------------------------------------
 * Easy!Appointments - WordPress Plugin
 *
 * @license GPLv3
 * @copyright A.Tselegidis (C) 2017
 * @link http://easyappointments.org
 * @since v1.0.0
 * ---------------------------------------------------------------------------- */

/**
 * Easy!Appointments IFrame Handler
 *
 * This module will handle the booking wizard iframe operations.
 */
(function ($) {
    'use strict';

    var $iframe = $('.easyappointments-iframe');
    var initialHeight = $iframe.height();

    // Add "resize" watcher on the iframe content element so that the iframe always show the whole page content
    // (mostly useful for mobile views - vertical resize).
    function resizeWatcher() {
        var $iframeContent = $('#book-appointment-wizard', $iframe.contents()),
            lastHeight = $iframeContent.height();

        setInterval(function () {
            $iframeContent = $('#book-appointment-wizard', $iframe.contents());

            if (lastHeight === $iframeContent.height()) {
                return;
            }

            var newHeight = ($iframeContent.height() > initialHeight) ? $iframeContent.height() : initialHeight;
            $iframe.height(newHeight);
            lastHeight = $iframeContent.height();
        }, 500);
    }

    $iframe.on('load', resizeWatcher);
})(jQuery);