{"id":2882,"date":"2022-11-25T13:45:56","date_gmt":"2022-11-25T12:45:56","guid":{"rendered":"https:\/\/www.maccaferri.com\/me\/?page_id=2882"},"modified":"2022-12-29T07:28:16","modified_gmt":"2022-12-29T06:28:16","slug":"search","status":"publish","type":"page","link":"https:\/\/www.maccaferri.com\/ae\/search\/","title":{"rendered":"Search"},"content":{"rendered":"<div class=\"wp-block-mac-h1-title-hero-block container-fluid block-txt-container\" style=\"background:linear-gradient(180deg,rgb(1,94,111) 0%,rgb(0,72,87) 100%)\"><div class=\"row\"><div class=\"col\"><div class=\"gts__picture\"><img style=\"display:none\" \/><div class=\"gts__picture__image\" style=\"background-image:url(undefined)\"><\/div><\/div><div class=\"container box-container\"><div class=\"row\"><div class=\"col title-box-txt\"><h1 class=\"wp-block-mac-h1-title-hero-block\" style=\"color:#ffffff;text-align:none\">SEARCH PAGE<\/h1><\/div><\/div><\/div><\/div><\/div><\/div><div id=\"search-block\">\n    <div class=\"wp-container wp-block-column has-white-background-color has-background\">\n        <div class=\"wp-block-mac-h2-title-block block-txt-container box-container\">\n            <div class=\"row\">\n                <div class=\"col-12 title-box-txt\">\n                    \n                    <h2 style=\"text-align: left\"><\/h2>\n                <\/div>\n            <\/div>\n            <form id=\"main-search-form\" method=\"GET\" action=\"https:\/\/www.maccaferri.com\/ae\/search\/\">\n                <input type=\"hidden\" name=\"category-link\" value=\"\">\n                <div class=\"row\">\n                    <div class=\"col-12\">\n                        <div class=\"form-group position\">\n                            <input type=\"text\" class=\"form-control form-control-lg search\" id=\"search-text\" name=\"r\" value=\"\" placeholder=\"Search for Products, Solutions or everything\">\n                            <span class=\"submit-search\"><\/span>\n                        <\/div>\n                    <\/div>\n                <\/div>\n\n                <div class=\"row\">\n                    <div class=\"col-12\">\n                        <div class=\"title\">Filter by:<\/div>\n                    <\/div>\n                    <div class=\"col-12 col-lg-3\">\n                        <div class=\"form-group\">\n                            <select class=\"form-control form-control-lg select\" name=\"sectors-select\" id=\"sectors-select\">\n                                <option value=\"\">Sector<\/option>\n                                <option value=\"79603\" >Agribusiness<\/option><option value=\"79588\" >Building, Industry, Sport<\/option><option value=\"79612\" >Coastal &#038; River Control Works<\/option><option value=\"79591\" >Defence &#038; Security<\/option><option value=\"79615\" >Emergency &#038; Flood<\/option><option value=\"79609\" >Environmental Protection<\/option><option value=\"79597\" >Mining<\/option><option value=\"79600\" >Oil &#038; Gas \/ Energy<\/option><option value=\"79606\" >Transportation Infrastructure<\/option><option value=\"79594\" >Urban Infrastructure<\/option>                            <\/select>\n                        <\/div>\n                    <\/div>\n                    <div class=\"col-12 col-lg-3\">\n                        <div class=\"form-group\">\n                            <select class=\"form-control form-control-lg select\" name=\"applications-select\" id=\"applications-select\">\n                                <option value=\"\">Application<\/option>\n                                <option value=\"79654\" >Aquaculture Nets \/ Cages<\/option><option value=\"79648\" >Basal Reinforcement<\/option><option value=\"79624\" >Coastal Protection, Marine Structures &#038; Pipeline Protection<\/option><option value=\"79636\" >Concrete Flooring,  Precast &#038; Other uses<\/option><option value=\"79627\" >Drainage of Structures<\/option><option value=\"79633\" >Environment, Dewatering &#038; Landfills<\/option><option value=\"79618\" >Erosion Control<\/option><option value=\"79639\" >Fencing &#038; Wire<\/option><option value=\"79657\" >Hydraulic Works<\/option><option value=\"79642\" >Industrial Manufacturing<\/option><option value=\"79663\" >Landscape &#038; Architecture<\/option><option value=\"79651\" >Retaining Walls &#038; Soil Reinforcement<\/option><option value=\"79645\" >Rockfall Protection &#038; Snow Barriers<\/option><option value=\"79660\" >Safety &#038; Noise Barriers<\/option><option value=\"79630\" >Soil Stabilisation &#038; Pavements<\/option><option value=\"79621\" >Tunnelling<\/option>                            <\/select>\n                        <\/div>\n                    <\/div>\n                    <div class=\"col-12 col-lg-3\"><!-- col-lg-4 -->\n                        <div class=\"form-group\">\n                            <select class=\"form-control form-control-lg select\" name=\"solutions-select\" id=\"solutions-select\">\n                                <option value=\"\">Solution<\/option>\n                                <option value=\"79764\" >Anti-predator net<\/option><option value=\"79785\" >Asphalt Pavement Reinforcement<\/option><option value=\"79761\" >Attenuator Barriers<\/option><option value=\"79725\" >Breakwaters and Groynes<\/option><option value=\"79692\" >Channelling Works<\/option><option value=\"79701\" >Concrete Flooring,  Precast &#038; Other uses Solutions<\/option><option value=\"79713\" >Consolidation and Reinforcement<\/option><option value=\"79788\" >Consolidation by Drainage Systems<\/option><option value=\"79674\" >Construction over Soft Soils<\/option><option value=\"79680\" >Construction over Voids<\/option><option value=\"79671\" >Debris Flow Barriers<\/option><option value=\"79755\" >Dewatering<\/option><option value=\"79776\" >Dune Reconstruction<\/option><option value=\"79665\" >Dynamic Rockfall Barriers<\/option><option value=\"79794\" >Fencing and Wire Solutions<\/option><option value=\"79818\" >Final Lining<\/option><option value=\"79773\" >Fish net pens<\/option><option value=\"79686\" >Force Protection Barriers<\/option><option value=\"79746\" >Industrial Manufacturing Solutions<\/option><option value=\"79695\" >Lining Systems &#8211; Base<\/option><option value=\"79752\" >Lining Systems &#8211; Capping<\/option><option value=\"79821\" >Longitudinal Protection<\/option><option value=\"79716\" >Mass Gravity Retaining Walls<\/option><option value=\"79737\" >Noise Barriers<\/option><option value=\"79719\" >Offshore Aquaculture<\/option><option value=\"79791\" >Other Solutions for Drainage<\/option><option value=\"79689\" >Piggybacking<\/option><option value=\"79770\" >Piled Embankments<\/option><option value=\"79731\" >Pipeline Protection<\/option><option value=\"79728\" >Planar and horizontal drainage<\/option><option value=\"79797\" >Primary Lining<\/option><option value=\"79815\" >Quays, Piers and Jetties<\/option><option value=\"79779\" >Reinforced Soil Walls and Slope Reinforcement<\/option><option value=\"79743\" >Reinforcement of Marginal Soils and Waste<\/option><option value=\"79767\" >Rockfall Embankments<\/option><option value=\"79740\" >Safety Barriers<\/option><option value=\"79812\" >Seagrass Meadows and Reef Reconstruction<\/option><option value=\"79683\" >Seawalls and Shoreline Structures<\/option><option value=\"79698\" >Sediment Capping<\/option><option value=\"79803\" >Simple Drapery<\/option><option value=\"79722\" >Slope Protection<\/option><option value=\"79710\" >Snow Fences and Avalanche Protection<\/option><option value=\"79806\" >Soil Nailing<\/option><option value=\"79749\" >Soil Veneer Applications<\/option><option value=\"79734\" >Sub-grade and Pavement Drainage<\/option><option value=\"79782\" >Sub-grade Improvement<\/option><option value=\"79704\" >Surface Strengthening and Support<\/option><option value=\"79668\" >Vertical Drainage Works<\/option><option value=\"79707\" >Vertical Walls with Concrete Facing Panels<\/option><option value=\"79677\" >Waterproofing of Reservoirs, Lakes and Channels<\/option><option value=\"79758\" >Weirs, Culverts and Transverse Structures<\/option>                            <\/select>\n                        <\/div>\n                    <\/div>\n                    <div class=\"col-12 col-lg-3\"> <!-- order-lg-2 -->\n                        <div class=\"form-group\">\n                            <select class=\"form-control form-control-lg select\" name=\"products-select\" id=\"products-select\">\n                                <option value=\"\">Products<\/option>\n                                <option value=\"84106\" >ACBM<\/option><option value=\"84064\" >Automated Tunnel Ribs<\/option><option value=\"84178\" >Biaxial Geogrids<\/option><option value=\"84097\" >BioMaterials<\/option><option value=\"84166\" >Debris Flow Barriers<\/option><option value=\"84151\" >Drainage Geocomposites<\/option><option value=\"84172\" >EBS MAC<\/option><option value=\"84187\" >Erdox Snow<\/option><option value=\"84112\" >Fencing Systems<\/option><option value=\"84082\" >FlexMac DT<\/option><option value=\"84103\" >Gabions<\/option><option value=\"84127\" >GCL<\/option><option value=\"84157\" >HELLOMAC<\/option><option value=\"84145\" >KikkoNet<\/option><option value=\"84929\" >MacArmour &#038; SteelGrid<\/option><option value=\"84139\" >MacGrid AR<\/option><option value=\"84148\" >MacMat<\/option><option value=\"84100\" >MacMat HS<\/option><option value=\"84088\" >MacMat R<\/option><option value=\"84190\" >MACRES<\/option><option value=\"84076\" >MacSafe<\/option><option value=\"84130\" >MACWALL<\/option><option value=\"84184\" >MacWeb<\/option><option value=\"84163\" >MonoAxial GeoGrids<\/option><option value=\"84175\" >Multicomposite<\/option><option value=\"84067\" >Multiple Plates Culverts Technology<\/option><option value=\"84193\" >Netting<\/option><option value=\"84109\" >Nonwoven Geotextiles<\/option><option value=\"84196\" >Panels<\/option><option value=\"84136\" >PET Woven \/ Composite Geotextiles<\/option><option value=\"84160\" >Polymeric Geomembranes<\/option><option value=\"84142\" >PP\/PE Woven Geotextiles<\/option><option value=\"84124\" >Reno Mattress Plus<\/option><option value=\"84181\" >RenoMesh<\/option><option value=\"84079\" >Road Safety Barriers<\/option><option value=\"84169\" >Rockfall Barriers<\/option><option value=\"84091\" >SARMAC<\/option><option value=\"84118\" >Snow Fencing<\/option><option value=\"84073\" >SubMac<\/option><option value=\"84070\" >Synthetic Marine Solutions<\/option><option value=\"84094\" >Tarp<\/option><option value=\"84154\" >TerraMesh<\/option><option value=\"84121\" >Tunnelling &#8211; Drain Pipes<\/option><option value=\"84133\" >Tunnelling GFRP Solutions<\/option><option value=\"84085\" >Tunnelling &#8211; Valves<\/option>                            <\/select>\n                        <\/div>\n                    <\/div>\n                    <div class=\"col-12 col-lg-3 order-lg-3 d-none hide\">\n                        <div class=\"form-group\">\n                            <select class=\"form-control form-control-lg select\" name=\"location-select\" id=\"location-select\">\n                                <option value=\"\"><\/option>\n                            <\/select>\n                        <\/div>\n                    <\/div>\n                    <!--                     <div class=\"col-12 col-lg-2\">\n                        <div class=\"form-group\">\n                            <button type=\"button\" class=\"btn-filter\" style=\"width: 100%; height: 40px;\">Filter<\/button>\n                        <\/div>\n                    <\/div> -->\n                <\/div>\n                <div class=\"row\">\n                    <div class=\"col-12\">\n                        <div class=\"adv-open-pan\">Advanced Search<\/div>\n                    <\/div>\n                    <div class=\"col-12 toggle-adv-options close d-none\">\n                        <div class=\"container-full\">\n                            <div class=\"row\">\n                                <div class=\"col-12 height-all\">\n                                    <label class=\"checkbox\">\n                                        <input type=\"checkbox\" name=\"full\" id=\"full\" class=\"all-type\" checked><span class=\"all\">ALL<\/span>\n                                    <\/label>\n                                <\/div>\n                                <div class=\"col-12 col-lg-3 adv-types\"><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_prodotti\" value=\"1\" > <span>Products<\/span><\/label><br \/><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_success-stories\" value=\"1\" > <span>Success Stories<\/span><\/label><br \/><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_case-histories\" value=\"1\" > <span>Case Histories<\/span><\/label><br \/><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_brochures\" value=\"1\" > <span>Brochures<\/span><\/label><br \/><\/div><div class=\"col-12 col-lg-3 adv-types\"><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_press\" value=\"1\" > <span>Press Releases<\/span><\/label><br \/><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_news\" value=\"1\" > <span>Company News<\/span><\/label><br \/><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_article\" value=\"1\" > <span>Technical Papers<\/span><\/label><br \/><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_wpdmpro\" value=\"1\" > <span>Other Documents<\/span><\/label><br \/><\/div><div class=\"col-12 col-lg-3 adv-types\"><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_installation-documents\" value=\"1\" > <span>Installation Documents<\/span><\/label><br \/><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_techical-documents\" value=\"1\" > <span>Other Technical Documents<\/span><\/label><br \/><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_webinar\" value=\"1\" > <span>Webinars<\/span><\/label><br \/><label class=\"checkbox\"><input type=\"checkbox\" name=\"find_softwares\" value=\"1\" > <span>Softwares<\/span><\/label><br \/><\/div>                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n                <div class=\"row\">\n                    <div class=\"col-12 text-end\">\n                        <div class=\"form-group\">\n                            <button type=\"button\" class=\"btn-filter\">Filter<\/button>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/form>\n        <\/div>\n    <\/div>\n<\/div>\n<div id=\"search-result\" class=\"text-center\" style=\"display: none;\">\n    <!-- ?php echo __('Loading....', 'maccaferri') ? -->\n    <div class=\"loader-result text-center\"><\/div>\n<\/div>\n<script type=\"text\/javascript\">\n    (function($) {\n        let sectorsSelect = jQuery('#sectors-select');\n        let applicationsSelect = jQuery('#applications-select');\n        let solutionsSelect = jQuery('#solutions-select');\n        let productsSelect = jQuery('#products-select');\n\n        let originalApplicationsOptions = applicationsSelect.find('option').not(':first');\n        let originalSolutionsOptions = solutionsSelect.find('option').not(':first');\n        let originalProductsOptions = productsSelect.find('option').not(':first');\n\n\n        function dynamicDropdown_readAndFill(results, parent, parentId, dropDownInstance) {\n            let url = \"https:\/\/www.maccaferri.com\/ae\/wp-admin\/admin-ajax.php?action=maccaferri_search_dropdown&results=\" + results + \"&parent=\" + parent + \"&parentId=\" + parentId;\n            \/\/alert(url);\n            jQuery.ajax({\n                url: url,\n                type: \"GET\",\n                dataType: \"json\",\n                success: function(response) {\n                    if (response.status == 'success') {\n                        var res = response.data;\n                        console.log(res);\n                        $.each(res, function(i, v) {\n                            console.log(v);\n                            dropDownInstance.append(\n                                jQuery('<option><\/option>').val(v.ID).html(v.title)\n                            );\n                        });\n                    }\n                }\n            });\n        }\n\n        function dynamicDropdown_handleSectors(sectorId) {\n\n            \/\/Clear applications, solutions and products\n            applicationsSelect.find('option').not(':first').remove();\n            solutionsSelect.find('option').not(':first').remove();\n            productsSelect.find('option').not(':first').remove();\n            if (sectorId == '') {\n                \/\/Restore original select options\n                applicationsSelect.append(originalApplicationsOptions);\n                solutionsSelect.append(originalSolutionsOptions);\n                productsSelect.append(originalProductsOptions);\n            } else {\n                \/\/Get all applications, solutions and products with the given sector id\n                dynamicDropdown_readAndFill(\"applications\", \"sector\", sectorId, applicationsSelect);\n                dynamicDropdown_readAndFill(\"solutions\", \"sector\", sectorId, solutionsSelect);\n                dynamicDropdown_readAndFill(\"products\", \"sector\", sectorId, productsSelect);\n            }\n        }\n\n        function dynamicDropdown_handleApplications(applicationId) {\n            \/\/Clear solutions and products\n            solutionsSelect.find('option').not(':first').remove();\n            productsSelect.find('option').not(':first').remove();\n            if (applicationId == '') {\n                \/\/Call parent\n                let sectorId = sectorsSelect.val();\n                dynamicDropdown_handleSectors(sectorId);\n            } else {\n                \/\/Get all solutions and products with the given sector id\n                dynamicDropdown_readAndFill(\"solutions\", \"application\", applicationId, solutionsSelect);\n                dynamicDropdown_readAndFill(\"products\", \"application\", applicationId, productsSelect);\n            }\n        }\n\n        function dynamicDropdown_handleSolutions(solutionId) {\n            \/\/Clear products\n            productsSelect.find('option').not(':first').remove();\n            if (solutionId == '') {\n                \/\/Call parent\n                let applicationId = applicationsSelect.val();\n                dynamicDropdown_handleApplications(applicationId);\n            } else {\n                \/\/Get all products with the given sector id\n                dynamicDropdown_readAndFill(\"products\", \"solution\", solutionId, productsSelect);\n            }\n        }\n\n        sectorsSelect.change(function(e) {\n            e.preventDefault();\n            \/\/Read sectors id\n            let sectorId = this.value;\n            dynamicDropdown_handleSectors(sectorId);\n        });\n        applicationsSelect.change(function(e) {\n            e.preventDefault();\n            \/\/Read applications id\n            let applicationId = this.value;\n            dynamicDropdown_handleApplications(applicationId);\n        });\n        solutionsSelect.change(function(e) {\n            e.preventDefault();\n            \/\/Read solutions id\n            let solutionId = this.value;\n            dynamicDropdown_handleSolutions(solutionId);\n        });\n\n        function checkFilter() {\n            var check = false;\n            $('.toggle-adv-options input[type=checkbox]').each(function() {\n                if ($(this).is(':checked')) {\n                    check = true;\n                }\n            });\n\n            if (check) {\n                $('.adv-open-pan').prepend('<span class=\"filter-on\" style=\"position: absolute; margin-left: -21px; margin-top: 4px;\"><span class=\"material-symbols-outlined\" style=\"font-size: 19px;\">filter_alt<\/span><\/span>');\n            } else {\n                $('.filter-on').remove();\n            }\n        }\n\n        checkFilter();\n        $('.adv-open-pan').click(function(e) {\n            e.preventDefault();\n            if ($('.toggle-adv-options').hasClass('close')) {\n                $('.toggle-adv-options').hide().removeClass('d-none').removeClass('close').slideDown();\n            } else {\n                $('.toggle-adv-options').addClass('close').slideUp('fast', function() {\n                    $(this).addClass('d-none');\n                });\n                \/\/ $('.adv-types input, .all-type').prop('checked', false);\n            }\n        });\n        $('.all-type').change(function(e) {\n            e.preventDefault();\n            if ($(this).is(':checked')) {\n                $('.adv-types input').prop('checked', true);\n            } else {\n                $('.adv-types input').prop('checked', false);\n            }\n            checkFilter();\n        });\n        $('.adv-types input').change(function(e) {\n            e.preventDefault();\n            if (!$(this).is(':checked')) {\n                $('.all-type').prop('checked', false);\n            }\n            if (checkAdv()) {\n                $('.all-type').prop('checked', true);\n            }\n            checkFilter();\n        });\n        var checkAdv = function() {\n            var check = true;\n            $('.adv-types input').each(function(index) {\n                if (!$(this).is(':checked')) {\n                    check = false;\n                }\n            });\n            return check;\n        };\n        $('.adv-open-pan').click(function() {\n            $(this).toggleClass('close');\n        });\n\n        function runSearch() {\n            let dataForm = $('#main-search-form').serialize();\n                            $('#search-result').slideDown('fast');\n                $.ajax({\n                    url: \"https:\/\/www.maccaferri.com\/ae\/wp-admin\/admin-ajax.php?action=maccaferri_search\",\n                    type: \"GET\",\n                    data: dataForm,\n                    dataType: \"json\",\n                    success: function(response) {\n                        \/\/ console.log(response);\n                        if (response.status == 'success') {\n                            var res = response.data;\n                            var output = '<div class=\"wp-block-mac-container-block box-container\"><div class=\"row\">';\n                            output += '<div class=\"col-12\"><h2 style=\"font-family: titillium web,titillium_webbold,sans-serif; color: #004857; font-weight: bold; font-size: 40px;\">Results [<span style=\"color:#ed791d;\">' + response.total + '<\/span>]<\/h2><\/div>';\n                            $.each(res, function(i, v) {\n                                if (v.title != undefined) {\n                                    var catPan = '';\n                                    if (v.wpdmcategory) {\n                                        catPan = v.wpdmcategory;\n                                    }\n                                    var checkSoftware = false;\n                                    if (catPan.length > 1) {\n                                        if ($.inArray('software', catPan) != -1) {\n                                            checkSoftware = true;\n                                        }\n                                    } else {\n                                        if (catPan == 'software') {\n                                            checkSoftware = true;\n                                        }\n                                    }\n                                    var cta = 'View';\n                                    if (v.type == 'post')\n                                        cta = 'Read';\n                                    if (v.type == 'prodotti')\n                                        cta = 'View';\n                                    if (v.type == 'wpdmpro' && checkSoftware)\n                                        cta = 'Get Software';\n                                    output += '<div class=\"col-12 col-sm-12 col-md-12 col-lg-3 col-xl-3 col-xxl-3\">';\n                                    output += '<div class=\"wp-block-mac-card-new-block block-latest-news-container\">';\n                                    output += '<div class=\"card\" style=\"padding: 0 !important;\">';\n                                    output += '<div class=\"content-images\">';\n                                    if (v.imgHeader) {\n                                        output += '<img decoding=\"async\" class=\"box-image\" src=\"' + v.imgHeader + '\" alt=\"' + v.title + '\" title=\"' + v.title + '\" \/>';\n                                    } else {\n                                        output += '<div class=\"box-image\" style=\"background: #004857; height: 144px;\"><\/div>';\n                                    }\n                                    output += '<\/div>';\n                                    output += '<div class=\"card-body\">';\n\n                                    output += '<h6>' + v.title + '<\/h6>';\n                                    output += '<span class=\"abstract\">' + v.excerpt + '<\/span>';\n                                    output += '<a href=\"' + v.url + '\" class=\"cta\" rel=\"noopener\" title=\"' + v.title + '\">' + cta + ' <span class = \"text\" value = \"\"\/><\/a>';\n                                    output += '<div data-post-id=\"' + v.postId + '\" class=\"star\" title=\"Add to wishlist\"><span class=\"material-symbols-rounded starrate\">star<\/span><\/div>';\n                                    output += '<\/div>';\n                                    output += '<\/div>'; \/\/fine card     \n                                    output += '<\/div>'; \/\/ fine colonne  \n                                    output += '<\/div>'; \/\/ fine colonne\n\n\n                                    \/\/ output += '<div class=\"col-12 col-sm-12 col-md-12 col-lg-3 col-xl-3 col-xxl-3 margin-card\">';\n                                    \/\/ output += '<div class=\"card\">';\n                                    \/\/ if (v.icon) {\n                                    \/\/     output += '<div class = \"box-images\">';\n                                    \/\/     output += '<img decoding=\"async\" src=\"' + v.icon + '\">';\n                                    \/\/     output += '<\/div>';\n                                    \/\/ }\n                                    \/\/ output += '<div class=\"subtitle\">' + v.title + '<\/div>';\n                                    \/\/ output += '<p>' + v.excerpt + '<\/p>';\n                                    \/\/ output += '<a class=\"cta\" href=\"' + v.url + '\">' + cta + '<\/a>';\n                                    \/\/ output += '<div data-post-id=\"' + v.postid + '\" class=\"star ' + (v.favorite ? 'starred' : '') + '\" title=\"Add to wishlist\"><span class=\"material-symbols-rounded starrate\">star<\/span><\/div>';\n                                    \/\/ output += '<\/div>';\n                                    \/\/ output += '<\/div>';\n                                }\n                            });\n                            output += '<\/div><\/div>';\n                            $('#search-result').slideUp('fast', function() {\n                                $(this).html(output).slideDown();\n                            });\n                            var scrollRes = ($(\".adv-open-pan\").offset().top - $(\"#masthead\").height() - 20);\n                            $('html,body').animate({\n                                scrollTop: scrollRes\n                            }, 100);\n                            window.history.replaceState('Results', \"Result Page\", \"\" + response.save_search + \"\");\n                        } else {\n                            $('#search-result').slideUp('fast', function() {\n                                \/\/ $(this).html(response.status).slideDown();\n                                $(this).html('<span class=\"no-result\" style=\"color: red; display: inline-block; padding: 15px;\">No results<\/span>').slideDown();\n                            });\n                        }\n                    },\n                    error: function() {\n                        $('#search-result').html('Search Error');\n                    }\n                })\n                    }\n\n\n        $('#main-search-form').submit(function(e) {\n            e.preventDefault();\n            $('input.category-link').val('');\n            runSearch();\n            return false;\n        });\n\n        $('.btn-filter, .submit-search').click(function(e) {\n            e.preventDefault();\n            $('input.category-link').val('');\n            runSearch();\n        });\n\n            })(jQuery);\n<\/script><div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"custom-search-page.php","meta":{"_acf_changed":false,"_joinchat":[],"footnotes":""},"class_list":["post-2882","page","type-page","status-publish","hentry"],"acf":{"uuid_products":"","product-documents":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Search - Maccaferri Middle East<\/title>\n<meta name=\"description\" content=\"SEARCH PAGE\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.maccaferri.com\/ae\/search\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Search - Maccaferri Middle East\" \/>\n<meta property=\"og:description\" content=\"SEARCH PAGE\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.maccaferri.com\/ae\/search\/\" \/>\n<meta property=\"og:site_name\" content=\"Maccaferri Middle East\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-29T06:28:16+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.maccaferri.com\/ae\/search\/\",\"url\":\"https:\/\/www.maccaferri.com\/ae\/search\/\",\"name\":\"Search - Maccaferri Middle East\",\"isPartOf\":{\"@id\":\"https:\/\/www.maccaferri.com\/ae\/#website\"},\"datePublished\":\"2022-11-25T12:45:56+00:00\",\"dateModified\":\"2022-12-29T06:28:16+00:00\",\"description\":\"SEARCH PAGE\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.maccaferri.com\/ae\/search\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.maccaferri.com\/ae\/#website\",\"url\":\"https:\/\/www.maccaferri.com\/ae\/\",\"name\":\"Maccaferri Middle East\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.maccaferri.com\/ae\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.maccaferri.com\/ae\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.maccaferri.com\/ae\/#organization\",\"name\":\"Maccaferri Middle East\",\"url\":\"https:\/\/www.maccaferri.com\/ae\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.maccaferri.com\/ae\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.maccaferri.com\/ae\/wp-content\/uploads\/2022\/07\/logo-maccaferri.png\",\"contentUrl\":\"https:\/\/www.maccaferri.com\/ae\/wp-content\/uploads\/2022\/07\/logo-maccaferri.png\",\"width\":152,\"height\":32,\"caption\":\"Maccaferri Middle East\"},\"image\":{\"@id\":\"https:\/\/www.maccaferri.com\/ae\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Search - Maccaferri Middle East","description":"SEARCH PAGE","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.maccaferri.com\/ae\/search\/","og_locale":"en_US","og_type":"article","og_title":"Search - Maccaferri Middle East","og_description":"SEARCH PAGE","og_url":"https:\/\/www.maccaferri.com\/ae\/search\/","og_site_name":"Maccaferri Middle East","article_modified_time":"2022-12-29T06:28:16+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.maccaferri.com\/ae\/search\/","url":"https:\/\/www.maccaferri.com\/ae\/search\/","name":"Search - Maccaferri Middle East","isPartOf":{"@id":"https:\/\/www.maccaferri.com\/ae\/#website"},"datePublished":"2022-11-25T12:45:56+00:00","dateModified":"2022-12-29T06:28:16+00:00","description":"SEARCH PAGE","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.maccaferri.com\/ae\/search\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.maccaferri.com\/ae\/#website","url":"https:\/\/www.maccaferri.com\/ae\/","name":"Maccaferri Middle East","description":"","publisher":{"@id":"https:\/\/www.maccaferri.com\/ae\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.maccaferri.com\/ae\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.maccaferri.com\/ae\/#organization","name":"Maccaferri Middle East","url":"https:\/\/www.maccaferri.com\/ae\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.maccaferri.com\/ae\/#\/schema\/logo\/image\/","url":"https:\/\/www.maccaferri.com\/ae\/wp-content\/uploads\/2022\/07\/logo-maccaferri.png","contentUrl":"https:\/\/www.maccaferri.com\/ae\/wp-content\/uploads\/2022\/07\/logo-maccaferri.png","width":152,"height":32,"caption":"Maccaferri Middle East"},"image":{"@id":"https:\/\/www.maccaferri.com\/ae\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.maccaferri.com\/ae\/wp-json\/wp\/v2\/pages\/2882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.maccaferri.com\/ae\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.maccaferri.com\/ae\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.maccaferri.com\/ae\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.maccaferri.com\/ae\/wp-json\/wp\/v2\/comments?post=2882"}],"version-history":[{"count":3,"href":"https:\/\/www.maccaferri.com\/ae\/wp-json\/wp\/v2\/pages\/2882\/revisions"}],"predecessor-version":[{"id":4935,"href":"https:\/\/www.maccaferri.com\/ae\/wp-json\/wp\/v2\/pages\/2882\/revisions\/4935"}],"wp:attachment":[{"href":"https:\/\/www.maccaferri.com\/ae\/wp-json\/wp\/v2\/media?parent=2882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}