// source --> https://fuzehub.com/wp-content/themes/fuzehub/assets/js/main.js?ver=b868b0d419fba3b8b84e33992c44e4ef 
; (function ($) {
    $(function () {

        console.log('FuzeHub Works 1.7.3!');

        var success_filters = '.success-filters';
        var filter_post_type = $(success_filters).attr('data-post-type');
        var success_filter_anchor = '.success-filters .filter-values a';
        var success_filter_group = '.success-filters .filter-group';
        var success_filter_grid = '.success-stories .stories-list';
        var success_search = '.success-filters .filter-group.search .form-field-search .list-drop-name';
        var cls = 'active';
        var cls_event = 'selected-event';
        var cls_loading = 'loading';
        var calendar_results = '.wrapper-calendar .wrap-results';
        var filter_selected = {};
        var stories_pagination = '.post-type-archive-success-stories .pagination';
        var cls_filters = 'filters-selected';
        var cls_has_filter = 'has_filter';
        //var btn_clear_filters = '.clear-group .btn-clear';
        var btn_clear_filters = '.success-filters .filter-values .clearfilter';

        const month_year = '.month_year';
        const calendar_body = '.calendar-body';
        const months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
        const today = new Date();

        var currentMonth = today.getMonth();
        var currentYear = today.getFullYear();
        var defaultCurrentMonth = currentMonth;
        var defaultCurrentYear = currentYear;

        var filter_calendar_selected = [];
        var calendar_td = '.wrapper-calendar .calendar-body td';
        var calendar_filter_checks = '.wrapper-calendar .filters ul li input';

        //$('.field-limit-amount .ginput_amount').attr('type', 'number');


        $(document).on('keydown', '.field-limit-amount .ginput_amount', function (event) {
            if (isNaN(event.key) && event.key !== 'Backspace') {
                event.preventDefault();
            }
        });

        $(document).on('input', '.field-limit-amount .ginput_amount', function () {

            let _class = $(this).closest('.field-limit-amount').attr('class').split(' ');
            let _val = $(this).val();

            let _class_limit = _class.filter(e => {
                var regex = /limit\-[(\d+)]/gi;
                return regex.test(e);
            })

            if (_class_limit.length > 0) {

                let num = _class_limit[0].split('limit-');
                num = Number(num[1]);
                _val = Number(_val);
  
                _val = (_val > num) ? num : _val;
            }

            $(this).val(_val);

        });

        $('.btn-download-pdf.download').on('click', function (e) {
            e.preventDefault();
            let pdf = $(this).attr('data-pdf');
            setTimeout(function () {
                if (pdf) {
                    $('.form-download .pdf-field input').val(pdf)
                }
            }, 1000);
        });

        /* Grant Awardees */
        $('.grant-awardee-list .accordion-head').on('click', function () {

            let parent = $(this).closest('.wrap-accordion');

            $('.grant-awardee-list .accordion-content').slideUp();

            if (parent.hasClass(cls)) {
                $('.grant-awardee-list .wrap-accordion').removeClass(cls);
                return false;
            }
            $('.grant-awardee-list .wrap-accordion').removeClass(cls);

            parent.addClass(cls);

            parent.find('.accordion-content').slideDown({
                start: function () {
                    $(this).css({
                        display: "flex"
                    })
                }
            }).end();

        });

        /* NYSTAR MAP */
        $(document).on('click', '.nystar-map  g[id]', function () {
            let _id = $(this).attr('id').replaceAll('_', '-');
            window.location.href = 'https://fuzehub.com/nystar-asset-guide/' + _id;
            $('.nystar-map').addClass(cls);
            return false;
        });


        /** EVENTON CALENDAR */


        var events_calendar = [  /*{
                'title': 'Holaasas',
                'desc': 'a good desc',
                'day': '12',
                'month': '4',
                'year': '2022',
                'location': 'Peterjas',
                'date_m': 'April 12',
                'date_details': '9:00am - 5:00pm // April.'
            }*/
        ];

        const daysInMonth = function (iMonth, iYear) {
            return 32 - new Date(iYear, iMonth, 32).getDate();
        };


        const doFilterCalendarAjax = function (filters) {

            $('body').addClass(cls_loading);

            let _obj;
            let _filters = filters || {};

            _obj = {
                action: 'filter_calendar_eventon',
                nonce: fuzehub.nonce,
                filters: _filters
            }



            $.ajax({
                url: fuzehub.ajax_url,
                data: _obj,
                type: 'POST',
                success: function (data) {

                    $('body').removeClass(cls_loading).removeClass(cls_event);

                    events_calendar = data.data;


                    if (data.data) {

                        /*defaultCurrentMonth = data.data[0].month -1;
                        defaultCurrentYear = data.data[0].year; */

                        /* $(calendar_results).removeClass('hide');
                         $(calendar_results + ' .found').text(data.data.length);*/

                        showCalendar(defaultCurrentMonth, defaultCurrentYear);
                    }
                }
            });
        }

        const next = function () {
            currentYear = (currentMonth === 11) ? currentYear + 1 : currentYear;
            currentMonth = (currentMonth + 1) % 12;
            showCalendar(currentMonth, currentYear);
        }

        const previous = function () {
            currentYear = (currentMonth === 0) ? currentYear - 1 : currentYear;
            currentMonth = (currentMonth === 0) ? 11 : currentMonth - 1;
            showCalendar(currentMonth, currentYear);
        }


        const showCalendar = function (month, year) {

            let firstDay = (new Date(year, month)).getDay();

            $(calendar_body).empty();

            $(month_year).html(months[month] + " " + year);


            // creating all cells
            let date = 1;
            for (let i = 0; i < 6; i++) {
                // creates a table row

                let row = $('<tr>');

                //creating individual cells, filing them up with data.
                for (let j = 0; j < 7; j++) {
                    if (i === 0 && j < firstDay) {
                        cell = $('<td>').text('');
                        row.append(cell);
                    }
                    else if (date > daysInMonth(month, year)) {
                        break;
                    }

                    else {
                        let eval_day = null;

                        events_calendar.forEach(function (el, idx) {

                            if (el.day == date && el.month == (month + 1) && year == el.year) {
                                eval_day = el.year + '-' + el.month + '-' + el.day;
                                // eval_day = idx;
                            }
                        });

                        cell = $("<td>").html(date);

                        if (eval_day !== null) {

                            cell.addClass('has_event').attr('data-idx', eval_day);
                        }

                        if (date === today.getDate() && year === today.getFullYear() && month === today.getMonth()) {
                            cell.addClass("bg-info");
                        }

                        row.append(cell);
                        date++;
                    }


                }

                $(calendar_body).append(row[0]); // appending each row into calendar body.
            }

        };

        doFilterCalendarAjax();

        $('.calendar-next').on('click', next);
        $('.calendar-prev').on('click', previous);



        $(document).on('click', calendar_td + '.has_event', function () {

            $('.calendar-content .wrap-events').empty();

            var idx = $(this).attr('data-idx');

            var event_tpl = '';

            var events = events_calendar.filter(e => {
                let event_date = e.year + '-' + e.month + '-' + e.day;

                return event_date == idx;
            });

            if (events.length == 0) return;


            events.forEach(cur_event => {

                let _date = (cur_event.sdate == cur_event.edate) ? cur_event.sdate : cur_event.sdate + ' - ' + cur_event.edate;
                let location_class = (cur_event.location == false) ? 'hide' : '';

                event_tpl += `<div class="selected-event">
                <div class="event-date">${cur_event.date_m}</div>
                <div class="event-info">
                    <!-- <div class="wrap-img"></div> -->
                    <div class="wrap-details">
                        <div class="date-details">${cur_event.date_details}</div>
                        <div class="event-title">${cur_event.title}</div>
                        <div class="event-location ${location_class}">
                            <strong>LOCATION:</strong>
                            <span class="name">${cur_event.location}</span>
                        </div>
                    </div>
                </div>
                <!-- end event info -->
                <!-- event desc -->
                <div class="event-desc">${cur_event.desc}</div>
                <div class="event-cta">
                    <a href="${cur_event.link.url}" target="${cur_event.link.target}" class="btn-one open-popup">Learn More <i class="arrow1"></i></a>
                </div>
                <!-- end event desc -->
            </div>`;




            });

            if (event_tpl) {
                $('.calendar-content .wrap-events').html(event_tpl);
                $('body').addClass(cls_event);
                $(calendar_td).removeClass(cls);
                $(calendar_td + '.has_event').removeClass(cls);
                $(this).addClass(cls);
            }

            /* 
            
                $('.wrapper-calendar .calendar-content .event-date').text(cur_event.date_m);
                $('.wrapper-calendar .calendar-content .date-details').text(cur_event.date_details);


                $('.wrapper-calendar .calendar-content .event-location .name').text(cur_event.location);
                if (cur_event.location == false) {
                    $('.wrapper-calendar .calendar-content .event-location').hide();
                } else {
                    $('.wrapper-calendar .calendar-content .event-location').show();
                }
                $('.wrapper-calendar .calendar-content .event-title').html(cur_event.title);
                $('.wrapper-calendar .calendar-content .event-desc').html(cur_event.desc);
                $('.wrapper-calendar .calendar-content .wrap-img').css('background-image', 'url("' + cur_event.img + '")');
                $('.wrapper-calendar .calendar-content .event-cta a').attr('href', cur_event.link.url).attr('target', cur_event.link.target);

            $('.popup-event-calendar .title').html(cur_event.title);
              $('.popup-event-calendar .info').html(cur_event.content);
              $('.popup-event-calendar .date-txt').text(_date);
              $('.popup-event-calendar .hours').text(cur_event.date_details);
  
              $('.popup-event-calendar .location').text(cur_event.location);
              $('.popup-event-calendar .img').css('background-image', 'url("' + cur_event.img + '")');
              console.log('PAPA', cur_event);
              $('.popup-event-calendar .event-cta a').attr('href', cur_event.link.url).attr('target', cur_event.link.target);
  
  */
        });


        /*$(document).on('click', '.wrapper-calendar .calendar-content .event-cta a', function () {
            $('body').addClass('popup');
        });
        $(document).on('click', '.popup-event-calendar .close ', function () {
            $('body').removeClass('popup');
        });*/

        $(document).on('keyup', function (evt) {
            if (evt.keyCode == 27) {
                $('body').removeClass('popup');
            }
        });

        $(calendar_filter_checks).on('change', function () {

            let filters = [];

            $(calendar_filter_checks + ':checked').each(function () {
                filters.push($(this).val());
            });

            doFilterCalendarAjax(filters)
        });


        const paginationCondition = function () {

            if ($(success_filter_anchor + '.active').length === 0) {
                $(stories_pagination).show();
                return false;
            }

            $(stories_pagination).hide();

        }

        const doFilterAjax = function () {

            $('body').addClass(cls_loading);

            let _obj;
            let search_val = $('.success-filters .filter-group.search .form-field-search input').val().trim();


            _obj = {
                action: 'filter_success_story',
                post_type: filter_post_type,
                nonce: fuzehub.nonce,
                tax: filter_selected,
                search_term: search_val
            }


            $.ajax({
                url: fuzehub.ajax_url,
                data: _obj,
                type: 'POST',
                success: function (html) {

                    $('body').removeClass(cls_loading);

                    if (html == 0) {

                        $(success_filter_grid).html("<div class='no-found'>We couldn't find any results. Try using others filters.</div>");
                        return false;
                    }

                    paginationCondition();

                    $(success_filter_grid).html(html);
                }
            });
        }

        const filter_manage = function (tax, value, action, el) {

            // console.log(typeof filter_selected[tax]);
            $('body').addClass(cls_filters);

            let filter_group = el.closest('.filter-group');

            if (filter_selected[tax] === undefined) {

                filter_selected[tax] = [value];

            } else {

                Object.entries(filter_selected).forEach((val) => {
                    //Adding 
                    if (val[0] == tax) {
                        if (action == 'add') {
                            if (val[1].indexOf(value) === -1) {
                                filter_selected[tax].push(value);

                            }

                        } else {
                            //Removing
                            let item_for_remove = val[1].indexOf(value);

                            if (item_for_remove !== -1) {
                                filter_selected[tax].splice(item_for_remove, 1);

                            }
                        }
                    }


                });

            }

            if (filter_selected[tax].length > 0) {
                filter_group.addClass(cls_has_filter);
            } else {
                filter_group.removeClass(cls_has_filter);
            }

            // console.log(filter_selected);
            doFilterAjax();

        }

        $('.success-filters .filter-values .list-drop-name').on('click', function () {

            if ($(this).closest('.filter-group').hasClass(cls)) {
                $(success_filter_group).removeClass(cls);
                return false;
            }

            $(success_filter_group).removeClass(cls);
            $(this).closest('.filter-group').addClass(cls);
            return false;
        });



        $(btn_clear_filters).on('click', function () {

            let tax = $(this).closest('.filter-values').find('.list-drop a:eq(0)').attr('data-tax');
            let filter_group = $(this).closest('.filter-group');

            delete filter_selected[tax];


            $('body').removeClass(cls_filters);

            filter_group.removeClass(cls_has_filter).removeClass(cls);
            filter_group.find('.list-drop a').removeClass(cls);
            doFilterAjax();
            return false;
        });

        $(".success-filters .filter-group.search .form-field-search input").on("keydown", function (event) {
            if (event.which == 13) {
                doFilterAjax();
            }

        });

        $(success_search).on('click', function () {

            doFilterAjax();

            return false;
        });

        $(success_filter_anchor).on('click', function (e) {

            e.preventDefault();

            let val = $(this).attr('data-id');
            let mode = $(this).attr('data-mode');
            let tax = $(this).attr('data-tax');


            if ($(this).hasClass(cls)) {

                filter_manage(tax, val, 'remove', $(this));
                $(this).removeClass(cls);
                doFilterAjax();
                return false;

            }

            $(this).addClass(cls);

            filter_manage(tax, val, 'add', $(this));
            $(success_filter_group).removeClass(cls);
            //doFilterAjax()

            return false;
        });


    });
})(jQuery);
// source --> https://fuzehub.com/wp-content/plugins/elementor/assets/lib/font-awesome/js/v4-shims.min.js?ver=3.33.2 
/*!
 * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 */
(function(){var l,a;l=this,a=function(){"use strict";var l={},a={};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(a=document)}catch(l){}var e=(l.navigator||{}).userAgent,r=void 0===e?"":e,n=l,o=a,u=(n.document,!!o.documentElement&&!!o.head&&"function"==typeof o.addEventListener&&o.createElement,~r.indexOf("MSIE")||r.indexOf("Trident/"),"___FONT_AWESOME___"),t=function(){try{return"production"===process.env.NODE_ENV}catch(l){return!1}}();var f=n||{};f[u]||(f[u]={}),f[u].styles||(f[u].styles={}),f[u].hooks||(f[u].hooks={}),f[u].shims||(f[u].shims=[]);var i=f[u],s=[["glass",null,"glass-martini"],["meetup","fab",null],["star-o","far","star"],["remove",null,"times"],["close",null,"times"],["gear",null,"cog"],["trash-o","far","trash-alt"],["file-o","far","file"],["clock-o","far","clock"],["arrow-circle-o-down","far","arrow-alt-circle-down"],["arrow-circle-o-up","far","arrow-alt-circle-up"],["play-circle-o","far","play-circle"],["repeat",null,"redo"],["rotate-right",null,"redo"],["refresh",null,"sync"],["list-alt","far",null],["dedent",null,"outdent"],["video-camera",null,"video"],["picture-o","far","image"],["photo","far","image"],["image","far","image"],["pencil",null,"pencil-alt"],["map-marker",null,"map-marker-alt"],["pencil-square-o","far","edit"],["share-square-o","far","share-square"],["check-square-o","far","check-square"],["arrows",null,"arrows-alt"],["times-circle-o","far","times-circle"],["check-circle-o","far","check-circle"],["mail-forward",null,"share"],["expand",null,"expand-alt"],["compress",null,"compress-alt"],["eye","far",null],["eye-slash","far",null],["warning",null,"exclamation-triangle"],["calendar",null,"calendar-alt"],["arrows-v",null,"arrows-alt-v"],["arrows-h",null,"arrows-alt-h"],["bar-chart","far","chart-bar"],["bar-chart-o","far","chart-bar"],["twitter-square","fab",null],["facebook-square","fab",null],["gears",null,"cogs"],["thumbs-o-up","far","thumbs-up"],["thumbs-o-down","far","thumbs-down"],["heart-o","far","heart"],["sign-out",null,"sign-out-alt"],["linkedin-square","fab","linkedin"],["thumb-tack",null,"thumbtack"],["external-link",null,"external-link-alt"],["sign-in",null,"sign-in-alt"],["github-square","fab",null],["lemon-o","far","lemon"],["square-o","far","square"],["bookmark-o","far","bookmark"],["twitter","fab",null],["facebook","fab","facebook-f"],["facebook-f","fab","facebook-f"],["github","fab",null],["credit-card","far",null],["feed",null,"rss"],["hdd-o","far","hdd"],["hand-o-right","far","hand-point-right"],["hand-o-left","far","hand-point-left"],["hand-o-up","far","hand-point-up"],["hand-o-down","far","hand-point-down"],["arrows-alt",null,"expand-arrows-alt"],["group",null,"users"],["chain",null,"link"],["scissors",null,"cut"],["files-o","far","copy"],["floppy-o","far","save"],["navicon",null,"bars"],["reorder",null,"bars"],["pinterest","fab",null],["pinterest-square","fab",null],["google-plus-square","fab",null],["google-plus","fab","google-plus-g"],["money","far","money-bill-alt"],["unsorted",null,"sort"],["sort-desc",null,"sort-down"],["sort-asc",null,"sort-up"],["linkedin","fab","linkedin-in"],["rotate-left",null,"undo"],["legal",null,"gavel"],["tachometer",null,"tachometer-alt"],["dashboard",null,"tachometer-alt"],["comment-o","far","comment"],["comments-o","far","comments"],["flash",null,"bolt"],["clipboard","far",null],["paste","far","clipboard"],["lightbulb-o","far","lightbulb"],["exchange",null,"exchange-alt"],["cloud-download",null,"cloud-download-alt"],["cloud-upload",null,"cloud-upload-alt"],["bell-o","far","bell"],["cutlery",null,"utensils"],["file-text-o","far","file-alt"],["building-o","far","building"],["hospital-o","far","hospital"],["tablet",null,"tablet-alt"],["mobile",null,"mobile-alt"],["mobile-phone",null,"mobile-alt"],["circle-o","far","circle"],["mail-reply",null,"reply"],["github-alt","fab",null],["folder-o","far","folder"],["folder-open-o","far","folder-open"],["smile-o","far","smile"],["frown-o","far","frown"],["meh-o","far","meh"],["keyboard-o","far","keyboard"],["flag-o","far","flag"],["mail-reply-all",null,"reply-all"],["star-half-o","far","star-half"],["star-half-empty","far","star-half"],["star-half-full","far","star-half"],["code-fork",null,"code-branch"],["chain-broken",null,"unlink"],["shield",null,"shield-alt"],["calendar-o","far","calendar"],["maxcdn","fab",null],["html5","fab",null],["css3","fab",null],["ticket",null,"ticket-alt"],["minus-square-o","far","minus-square"],["level-up",null,"level-up-alt"],["level-down",null,"level-down-alt"],["pencil-square",null,"pen-square"],["external-link-square",null,"external-link-square-alt"],["compass","far",null],["caret-square-o-down","far","caret-square-down"],["toggle-down","far","caret-square-down"],["caret-square-o-up","far","caret-square-up"],["toggle-up","far","caret-square-up"],["caret-square-o-right","far","caret-square-right"],["toggle-right","far","caret-square-right"],["eur",null,"euro-sign"],["euro",null,"euro-sign"],["gbp",null,"pound-sign"],["usd",null,"dollar-sign"],["dollar",null,"dollar-sign"],["inr",null,"rupee-sign"],["rupee",null,"rupee-sign"],["jpy",null,"yen-sign"],["cny",null,"yen-sign"],["rmb",null,"yen-sign"],["yen",null,"yen-sign"],["rub",null,"ruble-sign"],["ruble",null,"ruble-sign"],["rouble",null,"ruble-sign"],["krw",null,"won-sign"],["won",null,"won-sign"],["btc","fab",null],["bitcoin","fab","btc"],["file-text",null,"file-alt"],["sort-alpha-asc",null,"sort-alpha-down"],["sort-alpha-desc",null,"sort-alpha-down-alt"],["sort-amount-asc",null,"sort-amount-down"],["sort-amount-desc",null,"sort-amount-down-alt"],["sort-numeric-asc",null,"sort-numeric-down"],["sort-numeric-desc",null,"sort-numeric-down-alt"],["youtube-square","fab",null],["youtube","fab",null],["xing","fab",null],["xing-square","fab",null],["youtube-play","fab","youtube"],["dropbox","fab",null],["stack-overflow","fab",null],["instagram","fab",null],["flickr","fab",null],["adn","fab",null],["bitbucket","fab",null],["bitbucket-square","fab","bitbucket"],["tumblr","fab",null],["tumblr-square","fab",null],["long-arrow-down",null,"long-arrow-alt-down"],["long-arrow-up",null,"long-arrow-alt-up"],["long-arrow-left",null,"long-arrow-alt-left"],["long-arrow-right",null,"long-arrow-alt-right"],["apple","fab",null],["windows","fab",null],["android","fab",null],["linux","fab",null],["dribbble","fab",null],["skype","fab",null],["foursquare","fab",null],["trello","fab",null],["gratipay","fab",null],["gittip","fab","gratipay"],["sun-o","far","sun"],["moon-o","far","moon"],["vk","fab",null],["weibo","fab",null],["renren","fab",null],["pagelines","fab",null],["stack-exchange","fab",null],["arrow-circle-o-right","far","arrow-alt-circle-right"],["arrow-circle-o-left","far","arrow-alt-circle-left"],["caret-square-o-left","far","caret-square-left"],["toggle-left","far","caret-square-left"],["dot-circle-o","far","dot-circle"],["vimeo-square","fab",null],["try",null,"lira-sign"],["turkish-lira",null,"lira-sign"],["plus-square-o","far","plus-square"],["slack","fab",null],["wordpress","fab",null],["openid","fab",null],["institution",null,"university"],["bank",null,"university"],["mortar-board",null,"graduation-cap"],["yahoo","fab",null],["google","fab",null],["reddit","fab",null],["reddit-square","fab",null],["stumbleupon-circle","fab",null],["stumbleupon","fab",null],["delicious","fab",null],["digg","fab",null],["pied-piper-pp","fab",null],["pied-piper-alt","fab",null],["drupal","fab",null],["joomla","fab",null],["spoon",null,"utensil-spoon"],["behance","fab",null],["behance-square","fab",null],["steam","fab",null],["steam-square","fab",null],["automobile",null,"car"],["envelope-o","far","envelope"],["spotify","fab",null],["deviantart","fab",null],["soundcloud","fab",null],["file-pdf-o","far","file-pdf"],["file-word-o","far","file-word"],["file-excel-o","far","file-excel"],["file-powerpoint-o","far","file-powerpoint"],["file-image-o","far","file-image"],["file-photo-o","far","file-image"],["file-picture-o","far","file-image"],["file-archive-o","far","file-archive"],["file-zip-o","far","file-archive"],["file-audio-o","far","file-audio"],["file-sound-o","far","file-audio"],["file-video-o","far","file-video"],["file-movie-o","far","file-video"],["file-code-o","far","file-code"],["vine","fab",null],["codepen","fab",null],["jsfiddle","fab",null],["life-ring","far",null],["life-bouy","far","life-ring"],["life-buoy","far","life-ring"],["life-saver","far","life-ring"],["support","far","life-ring"],["circle-o-notch",null,"circle-notch"],["rebel","fab",null],["ra","fab","rebel"],["resistance","fab","rebel"],["empire","fab",null],["ge","fab","empire"],["git-square","fab",null],["git","fab",null],["hacker-news","fab",null],["y-combinator-square","fab","hacker-news"],["yc-square","fab","hacker-news"],["tencent-weibo","fab",null],["qq","fab",null],["weixin","fab",null],["wechat","fab","weixin"],["send",null,"paper-plane"],["paper-plane-o","far","paper-plane"],["send-o","far","paper-plane"],["circle-thin","far","circle"],["header",null,"heading"],["sliders",null,"sliders-h"],["futbol-o","far","futbol"],["soccer-ball-o","far","futbol"],["slideshare","fab",null],["twitch","fab",null],["yelp","fab",null],["newspaper-o","far","newspaper"],["paypal","fab",null],["google-wallet","fab",null],["cc-visa","fab",null],["cc-mastercard","fab",null],["cc-discover","fab",null],["cc-amex","fab",null],["cc-paypal","fab",null],["cc-stripe","fab",null],["bell-slash-o","far","bell-slash"],["trash",null,"trash-alt"],["copyright","far",null],["eyedropper",null,"eye-dropper"],["area-chart",null,"chart-area"],["pie-chart",null,"chart-pie"],["line-chart",null,"chart-line"],["lastfm","fab",null],["lastfm-square","fab",null],["ioxhost","fab",null],["angellist","fab",null],["cc","far","closed-captioning"],["ils",null,"shekel-sign"],["shekel",null,"shekel-sign"],["sheqel",null,"shekel-sign"],["meanpath","fab","font-awesome"],["buysellads","fab",null],["connectdevelop","fab",null],["dashcube","fab",null],["forumbee","fab",null],["leanpub","fab",null],["sellsy","fab",null],["shirtsinbulk","fab",null],["simplybuilt","fab",null],["skyatlas","fab",null],["diamond","far","gem"],["intersex",null,"transgender"],["facebook-official","fab","facebook"],["pinterest-p","fab",null],["whatsapp","fab",null],["hotel",null,"bed"],["viacoin","fab",null],["medium","fab",null],["y-combinator","fab",null],["yc","fab","y-combinator"],["optin-monster","fab",null],["opencart","fab",null],["expeditedssl","fab",null],["battery-4",null,"battery-full"],["battery",null,"battery-full"],["battery-3",null,"battery-three-quarters"],["battery-2",null,"battery-half"],["battery-1",null,"battery-quarter"],["battery-0",null,"battery-empty"],["object-group","far",null],["object-ungroup","far",null],["sticky-note-o","far","sticky-note"],["cc-jcb","fab",null],["cc-diners-club","fab",null],["clone","far",null],["hourglass-o","far","hourglass"],["hourglass-1",null,"hourglass-start"],["hourglass-2",null,"hourglass-half"],["hourglass-3",null,"hourglass-end"],["hand-rock-o","far","hand-rock"],["hand-grab-o","far","hand-rock"],["hand-paper-o","far","hand-paper"],["hand-stop-o","far","hand-paper"],["hand-scissors-o","far","hand-scissors"],["hand-lizard-o","far","hand-lizard"],["hand-spock-o","far","hand-spock"],["hand-pointer-o","far","hand-pointer"],["hand-peace-o","far","hand-peace"],["registered","far",null],["creative-commons","fab",null],["gg","fab",null],["gg-circle","fab",null],["tripadvisor","fab",null],["odnoklassniki","fab",null],["odnoklassniki-square","fab",null],["get-pocket","fab",null],["wikipedia-w","fab",null],["safari","fab",null],["chrome","fab",null],["firefox","fab",null],["opera","fab",null],["internet-explorer","fab",null],["television",null,"tv"],["contao","fab",null],["500px","fab",null],["amazon","fab",null],["calendar-plus-o","far","calendar-plus"],["calendar-minus-o","far","calendar-minus"],["calendar-times-o","far","calendar-times"],["calendar-check-o","far","calendar-check"],["map-o","far","map"],["commenting",null,"comment-dots"],["commenting-o","far","comment-dots"],["houzz","fab",null],["vimeo","fab","vimeo-v"],["black-tie","fab",null],["fonticons","fab",null],["reddit-alien","fab",null],["edge","fab",null],["credit-card-alt",null,"credit-card"],["codiepie","fab",null],["modx","fab",null],["fort-awesome","fab",null],["usb","fab",null],["product-hunt","fab",null],["mixcloud","fab",null],["scribd","fab",null],["pause-circle-o","far","pause-circle"],["stop-circle-o","far","stop-circle"],["bluetooth","fab",null],["bluetooth-b","fab",null],["gitlab","fab",null],["wpbeginner","fab",null],["wpforms","fab",null],["envira","fab",null],["wheelchair-alt","fab","accessible-icon"],["question-circle-o","far","question-circle"],["volume-control-phone",null,"phone-volume"],["asl-interpreting",null,"american-sign-language-interpreting"],["deafness",null,"deaf"],["hard-of-hearing",null,"deaf"],["glide","fab",null],["glide-g","fab",null],["signing",null,"sign-language"],["viadeo","fab",null],["viadeo-square","fab",null],["snapchat","fab",null],["snapchat-ghost","fab",null],["snapchat-square","fab",null],["pied-piper","fab",null],["first-order","fab",null],["yoast","fab",null],["themeisle","fab",null],["google-plus-official","fab","google-plus"],["google-plus-circle","fab","google-plus"],["font-awesome","fab",null],["fa","fab","font-awesome"],["handshake-o","far","handshake"],["envelope-open-o","far","envelope-open"],["linode","fab",null],["address-book-o","far","address-book"],["vcard",null,"address-card"],["address-card-o","far","address-card"],["vcard-o","far","address-card"],["user-circle-o","far","user-circle"],["user-o","far","user"],["id-badge","far",null],["drivers-license",null,"id-card"],["id-card-o","far","id-card"],["drivers-license-o","far","id-card"],["quora","fab",null],["free-code-camp","fab",null],["telegram","fab",null],["thermometer-4",null,"thermometer-full"],["thermometer",null,"thermometer-full"],["thermometer-3",null,"thermometer-three-quarters"],["thermometer-2",null,"thermometer-half"],["thermometer-1",null,"thermometer-quarter"],["thermometer-0",null,"thermometer-empty"],["bathtub",null,"bath"],["s15",null,"bath"],["window-maximize","far",null],["window-restore","far",null],["times-rectangle",null,"window-close"],["window-close-o","far","window-close"],["times-rectangle-o","far","window-close"],["bandcamp","fab",null],["grav","fab",null],["etsy","fab",null],["imdb","fab",null],["ravelry","fab",null],["eercast","fab","sellcast"],["snowflake-o","far","snowflake"],["superpowers","fab",null],["wpexplorer","fab",null],["cab",null,"taxi"]];return function(l){try{l()}catch(l){if(!t)throw l}}(function(){var l;"function"==typeof i.hooks.addShims?i.hooks.addShims(s):(l=i.shims).push.apply(l,s)}),s},"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):l["fontawesome-free-shims"]=a();})();
// source --> https://fuzehub.com/wp-content/plugins/team-members-pro/inc/js/tmm.min.js?ver=b868b0d419fba3b8b84e33992c44e4ef 
/**
 * Team Members Front JS (minified)
 */

;(function($){$(document).ready(function(){$('body').on('click','.tmm_more_info',function(){$(this).find(".tmm_comp_text").slideToggle(100)});function tmm_equalize(){$('.tmm_container').each(function(){if($(this).hasClass('tmm-equalizer')){var current_container=$(this);var members=[];current_container.find('.tmm_member').each(function(){var current_member=$(this);members.push(current_member.outerHeight())});biggestMember=Math.max.apply(Math,members);if(parseInt($(window).width())>640){current_container.find('.tmm_member').css('min-height',biggestMember)}else{current_container.find('.tmm_member').css('min-height','auto')}}})}
tmm_equalize();setTimeout(function(){tmm_equalize()},1000);setTimeout(function(){tmm_equalize()},3000);$(window).resize(function(){tmm_equalize()})})})(jQuery);