{"id":958,"date":"2017-12-15T11:24:06","date_gmt":"2017-12-15T11:24:06","guid":{"rendered":"https:\/\/edu-bridge.org\/?page_id=958"},"modified":"2024-03-20T02:03:23","modified_gmt":"2024-03-20T02:03:23","slug":"%d9%86%d8%b4%d8%b1-%d9%88%d8%b8%d9%8a%d9%81%d8%a9-%d8%ac%d8%af%d9%8a%d8%af%d8%a9","status":"publish","type":"page","link":"https:\/\/edu-bridge.org\/ar\/%d9%86%d8%b4%d8%b1-%d9%88%d8%b8%d9%8a%d9%81%d8%a9-%d8%ac%d8%af%d9%8a%d8%af%d8%a9\/","title":{"rendered":"\u0646\u0634\u0631 \u0648\u0638\u064a\u0641\u0629 \u062c\u062f\u064a\u062f\u0629"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column]            <script type=\"text\/javascript\">\r\n\r\n                var jobsearch_sloc_type = '1',\r\n                    jobsearch_is_admin = '',\r\n                    totl_countries_detail, totl_preselected_states_saved,\r\n                    jobsearch_is_post_page = 'index.php';\r\n\r\n                \r\n                var inc_countries = \"\", inc_countries_code = \"\",\r\n                    exec_countries = \"\", contry_presel_contry, ajax_flag = false,\r\n                    contry_preselct = 'none',\r\n                    contry_presel_contry_code = 'BH';\r\n\r\n                \/*\r\n                * Scrapper Events\r\n                * *\/\r\n                var api_scrapper = {\r\n                    getCountryCode: function (jobsearch_sloc_country) {\r\n                        var country_code_from_country_name = '';\r\n                        jQuery.each(totl_countries_detail, function (index, element) {\r\n                            if (element.country_name == jobsearch_sloc_country) {\r\n                                country_code_from_country_name = element.country_code;\r\n                            }\r\n                        });\r\n                        return country_code_from_country_name;\r\n                    },\r\n                    readCityOnlyFiles: function (country_detail, state_name, selector) {\r\n\r\n                        if (jobsearch_is_admin == '' || ajax_flag == true) {\r\n                            jQuery('#jobsearch-gdapilocs-citycon').empty();\r\n                            jQuery('#jobsearch-gdapilocs-citycon').append('<select placeholder=\"Select City\" name=\"location_location3\" class=\"cities\" id=\"cityId\"><option value=\"0\">Select City<\/option><\/select>');\r\n                            selector = jQuery(document).find(\"#cityId\");\r\n                        }\r\n\r\n                        var request = jQuery.ajax({\r\n                            url: jobsearch_plugin_vars.ajax_url,\r\n                            method: \"POST\",\r\n                            data: {\r\n                                country_detail: country_detail,\r\n                                state: state_name,\r\n                                action: 'jobsearch_location_load_cities_data',\r\n                            },\r\n                            dataType: 'json',\r\n                        });\r\n\r\n                        request.done(function (response) {\r\n\r\n                            var _result_cities = response;\r\n                            if (jobsearch_is_admin == '' || ajax_flag == true) {\r\n                                if (selector.length > 0) {\r\n                                    selector.selectize()[0].selectize.destroy();\r\n                                }\r\n                            }\r\n\r\n                            setTimeout(function () {\r\n\r\n                                if(jQuery('.vc_ui-panel-window-inner').find('.jobsearch-vcloc-dropdwn-con').length>0){\r\n                                    selector    = jQuery('.location2-city');\r\n                                }\r\n                                selector.html('');\r\n                                \/\/if (jobsearch_is_admin == 1 && ajax_flag == false) {\r\n                                selector.append('<option value=\"\">Select City<\/option>');\r\n                                \/\/ }\r\n\r\n                                var _option_select = '';\r\n                                if (_result_cities.result.length != 0) {\r\n                                    jQuery.each(_result_cities.result, function (index, element) {\r\n\r\n                                        if (jQuery.trim(element.city_name) != \"Enter Any City\") {\r\n                                            if (jobsearch_sloc_city != \"\") {\r\n                                                _option_select = jobsearch_sloc_city == element.city_name ? 'selected' : '';\r\n                                            }\r\n                                            if (_option_select != \"\") {\r\n                                                selector.append(jQuery(\"<option><\/option>\").attr(\"value\", element.city_name).attr(\"selected\", \"selected\").text(element.city_name));\r\n                                            } else {\r\n                                                selector.append(jQuery(\"<option><\/option>\").attr(\"value\", element.city_name).text(element.city_name));\r\n                                            }\r\n                                        }\r\n                                    });\r\n                                } else {\r\n                                    selector.html('');\r\n                                    selector.append(jQuery(\"<option><\/option>\").attr(\"value\", \"\").text('No cities exits.'));\r\n                                }\r\n                            }, 50);\r\n\r\n                            if (jobsearch_is_admin == '' || ajax_flag == true) {\r\n                                if (_result_cities.result.length != 0) {\r\n                                    setTimeout(function () {\r\n                                        selector.selectize({\r\n                                            maxOptions: 30000,\r\n                                            sortField: [{\r\n                                                field: 'text',\r\n                                                direction: 'asc'\r\n                                            }],\r\n                                        });\r\n                                    }, 100);\r\n                                }\r\n                            }\r\n                            jQuery('#cityId').trigger('change');\r\n                        });\r\n                        request.fail(function (jqXHR, textStatus) {\r\n\r\n                        });\r\n                    },\r\n                    readStateFile: function (country_code, selector) {\r\n\r\n                        var request, _result_states;\r\n                        if (jobsearch_is_admin == '' || ajax_flag == true) {\r\n                            jQuery('#jobsearch-gdapilocs-statecon').empty();\r\n                            jQuery('#jobsearch-gdapilocs-statecon').append('<select placeholder=\"\u0623\u062e\u062a\u0631 \u0627\u0644\u0645\u0646\u0637\u0642\u0629\"  class=\"states location2-states\" id=\"stateId\" name=\"location_location2\"><option value=\"\">\u0623\u062e\u062a\u0631 \u0627\u0644\u0645\u0646\u0637\u0642\u0629<\/option><\/select>');\r\n                            selector = jQuery(document).find(\"#stateId, .location2-states\");\r\n                        }\r\n                        selector.html('');\r\n                        request = jQuery.ajax({\r\n                            url: jobsearch_plugin_vars.ajax_url,\r\n                            method: \"POST\",\r\n                            data: {\r\n                                country_code: country_code,\r\n                                action: 'jobsearch_location_load_states_data',\r\n                            },\r\n                            dataType: 'json',\r\n                        });\r\n\r\n                        if(jQuery('.vc_ui-panel-window-inner').find('.jobsearch-vcloc-dropdwn-con').length>0){\r\n                            selector    = jQuery('.location2-state');\r\n                        }\r\n\r\n                        request.done(function (response) {\r\n\r\n                            if (jobsearch_is_admin == '' || ajax_flag == true) {\r\n                                \/\/selector.selectize()[0].selectize.destroy();\r\n                            }\r\n                            _result_states = response;\r\n                            setTimeout(function () {\r\n                                selector.html('');\r\n                                \/\/if (jobsearch_is_admin == 1 && ajax_flag == false) {\r\n                                selector.append('<option value=\"\">\u0623\u062e\u062a\u0631 \u0627\u0644\u0645\u0646\u0637\u0642\u0629<\/option>');\r\n                                \/\/}\r\n                                var _option_select = '';\r\n                                jQuery.each(_result_states.result, function (index, element) {\r\n\r\n                                    if (jQuery.trim(element.state_name) != \"Enter Any State\") {\r\n                                        if (jobsearch_sloc_state != \"\") {\r\n                                            _option_select = jobsearch_sloc_state == element.state_name ? 'selected' : '';\r\n                                        }\r\n\r\n                                        if (_option_select != \"\") {\r\n                                            selector.append(jQuery(\"<option><\/option>\").attr(\"value\", element.state_name).attr(\"selected\", \"selected\").text(element.state_name));\r\n                                            \/\/ selector.append(jQuery('<option>', {\r\n                                            \/\/     value: element,\r\n                                            \/\/     text: element,\r\n                                            \/\/     selected: _option_select,\r\n                                            \/\/ }));\r\n                                        } else {\r\n                                            selector.append(jQuery(\"<option><\/option>\").attr(\"value\", element.state_name).text(element.state_name));\r\n                                            \/\/ selector.append(jQuery('<option>', {\r\n                                            \/\/     value: element,\r\n                                            \/\/     text: element,\r\n                                            \/\/ }));\r\n                                        }\r\n                                    }\r\n                                });\r\n                            }, 50);\r\n\r\n                            \/*\r\n                            * If city is saved then this code will execute.\r\n                            * *\/\r\n                            if (jobsearch_sloc_city != \"\") {\r\n                                setTimeout(function () {\r\n                                    console.info(\"triggered second\");\r\n                                    jQuery('#stateId').trigger('change');\r\n                                }, 1000)\r\n                            }\r\n                            \/*\r\n                            * Initialize Selectize\r\n                            * *\/\r\n                            if (jobsearch_is_admin == '' || ajax_flag == true) {\r\n                                setTimeout(function () {\r\n                                    selector.selectize();\r\n                                }, 100)\r\n                            }\r\n                        });\r\n                        request.fail(function (jqXHR, textStatus) {\r\n\r\n                        });\r\n                    },\r\n                    stripslashes: function (str) {\r\n                        if (str == undefined) {\r\n                            return;\r\n                        }\r\n                        return str.replace(\/\\\\\/g, '');\r\n                    },\r\n                    readCountryFile: function (selector, country) {\r\n                        var _result_countries, request;\r\n\r\n                        request = jQuery.ajax({\r\n                            url: jobsearch_plugin_vars.ajax_url,\r\n                            method: \"POST\",\r\n                            data: {\r\n                                action: 'jobsearch_location_load_countries_data',\r\n                            },\r\n                            dataType: \"json\"\r\n                        });\r\n                        request.done(function (response) {\r\n                            _result_countries = response;\r\n                            selector.html('');\r\n                            if (jobsearch_is_admin == 1 && ajax_flag == true) {\r\n                                selector.append('<option value=\"\">\u0623\u062e\u062a\u0631 \u0627\u0644\u062f\u0648\u0644\u0629<\/option>');\r\n                            } else {\r\n                                var $opt = jQuery('<option>');\r\n                                $opt.val('').text('\u0623\u062e\u062a\u0631 \u0627\u0644\u062f\u0648\u0644\u0629');\r\n                                $opt.appendTo(selector);\r\n                            }\r\n                            \/*\r\n                            * Alphabetic countries\r\n                            * *\/\r\n                                                        _result_countries.sort(function (a, b) {\r\n                                return api_scrapper.compareStrings(a.name, b.name);\r\n                            });\r\n                                                        \/*\r\n                            * Code will execute if Include only countries option will be selected.\r\n                            * *\/\r\n                                                        inc_countries_code = [\"BH\",\"EG\",\"JO\",\"KW\",\"OM\",\"SA\",\"AE\"];\r\n                            inc_countries = [\"Bahrain\",\"Egypt\",\"Jordan\",\"Kuwait\",\"Oman\",\"Saudi Arabia\",\"United Arab Emirates\"];\r\n                            \/*\r\n                            * Code will execute if Exclude only countries option will be selected.\r\n                            * *\/\r\n                            ;\r\n                            \/*\r\n                            * Code will execute if Random countries option will be selected.\r\n                            * *\/\r\n                                                        \/*\r\n                            * Include only countries\r\n                            * *\/\r\n                            if (inc_countries != \"\" && jobsearch_is_loc_editor != 'jobsearch-location-sett-editor') {\r\n                                var _inc_flag = false;\r\n                                jQuery.each(_result_countries, function (i, element) {\r\n                                    if (i < inc_countries.length) {\r\n                                        if (jobsearch_sloc_country == inc_countries[i]) {\r\n\r\n                                            selector.append(jQuery(\"<option><\/option>\")\r\n                                                .attr(\"data-index\", i)\r\n                                                .attr(\"code\", inc_countries_code[i])\r\n                                                .attr(\"selected\", \"selected\")\r\n                                                .attr(\"value\", inc_countries[i])\r\n                                                .text(inc_countries[i]));\r\n                                            _inc_flag = true;\r\n\r\n                                        } else if (contry_preselct == 'by_contry' && contry_presel_contry_code == inc_countries_code[i] && ajax_flag == false && _inc_flag == false) {\r\n                                            selector.append(jQuery(\"<option><\/option>\")\r\n                                                .attr(\"data-index\", i)\r\n                                                .attr(\"code\", inc_countries_code[i])\r\n                                                .attr(\"selected\", \"selected\")\r\n                                                .attr(\"value\", inc_countries[i])\r\n                                                .text(inc_countries[i]));\r\n\r\n                                        } else {\r\n                                            selector.append(jQuery(\"<option><\/option>\")\r\n                                                .attr(\"data-index\", i)\r\n                                                .attr(\"code\", inc_countries_code[i])\r\n                                                .attr(\"value\", inc_countries[i])\r\n                                                .text(inc_countries[i]));\r\n                                        }\r\n                                    }\r\n                                })\r\n                            } else if (exec_countries != '' && jobsearch_is_loc_editor != 'jobsearch-location-sett-editor') {\r\n                                \/*\r\n                                * code will execute if \"Exclude countries selected\" filter option will be selected\r\n                                * *\/\r\n                                var _exec_flag = false;\r\n                                jQuery.each(_result_countries, function (index, element) {\r\n                                    if (element != \"\") {\r\n                                        if (exec_countries.indexOf(element.name) == -1) {\r\n                                            \/*\r\n                                            * code will execute if Country Name is from save in metavalue\r\n                                            * *\/\r\n\r\n                                            if (jobsearch_sloc_country == element.name) {\r\n                                                selector.append(jQuery(\"<option><\/option>\")\r\n                                                    .attr(\"data-index\", index)\r\n                                                    .attr(\"code\", element.code)\r\n                                                    .attr(\"selected\", \"selected\")\r\n                                                    .attr(\"value\", element.name)\r\n                                                    .text(element.name));\r\n                                                _exec_flag = true;\r\n                                            } else if (contry_preselct == 'by_contry' && contry_presel_contry_code == element.code && ajax_flag == false && _exec_flag == false) {\r\n                                                selector.append(jQuery(\"<option><\/option>\")\r\n                                                    .attr(\"data-index\", index)\r\n                                                    .attr(\"code\", element.code)\r\n                                                    .attr(\"selected\", \"selected\")\r\n                                                    .attr(\"value\", element.name)\r\n                                                    .text(element.name));\r\n\r\n                                            } else {\r\n                                                selector.append(jQuery(\"<option><\/option>\")\r\n                                                    .attr(\"data-index\", index)\r\n                                                    .attr(\"code\", element.code)\r\n                                                    .attr(\"value\", element.name)\r\n                                                    .text(element.name));\r\n                                            }\r\n                                        }\r\n                                    }\r\n                                })\r\n                            } else {\r\n                                var pres_selected_saved_contry = api_scrapper.getCountryCode(jobsearch_sloc_country);\r\n                                jQuery.each(_result_countries, function (index, element) {\r\n                                    if (element != \"\") {\r\n                                        \/*\r\n                                        * code will execute if Preselect Country option will be selected\r\n                                        * *\/\r\n                                        \r\n                                        if (jobsearch_sloc_type != 2 && jobsearch_sloc_type != 3) {\r\n\r\n                                            var _option_select = '';\r\n                                            if (jobsearch_sloc_country != '') {\r\n                                                if (api_scrapper.stripslashes(jobsearch_sloc_country) == api_scrapper.stripslashes(element.name)) {\r\n                                                    selector.append(jQuery(\"<option><\/option>\")\r\n                                                        .attr(\"data-index\", index)\r\n                                                        .attr(\"code\", element.code)\r\n                                                        .attr(\"selected\", \"selected\")\r\n                                                        .attr(\"value\", element.name)\r\n                                                        .text(api_scrapper.stripslashes(element.name)));\r\n                                                } else {\r\n                                                    selector.append(jQuery(\"<option><\/option>\")\r\n                                                        .attr(\"data-index\", index)\r\n                                                        .attr(\"code\", element.code)\r\n                                                        .attr(\"value\", element.name)\r\n                                                        .text(api_scrapper.stripslashes(element.name)));\r\n                                                }\r\n                                            } else {\r\n                                                selector.append(jQuery(\"<option><\/option>\")\r\n                                                    .attr(\"data-index\", index)\r\n                                                    .attr(\"code\", element.code)\r\n                                                    .attr(\"value\", element.name)\r\n                                                    .text(api_scrapper.stripslashes(element.name)));\r\n                                            }\r\n\r\n                                        } else if (jobsearch_is_loc_editor == 'jobsearch-location-sett-editor') {\r\n                                            selector.append(jQuery(\"<option><\/option>\")\r\n                                                .attr(\"data-index\", index)\r\n                                                .attr(\"code\", element.code)\r\n                                                .attr(\"value\", element.name)\r\n                                                .text(api_scrapper.stripslashes(element.name)));\r\n                                        }\r\n\r\n\r\n                                                                            }\r\n                                });\r\n                                                            }\r\n                            \/*\r\n                            * Initialize Selectize\r\n                            * *\/\r\n\r\n                            if (jobsearch_is_admin == '' || ajax_flag == true) {\r\n                                if (jobsearch_sloc_type == 0 || jobsearch_sloc_type == 1) {\r\n                                    selector.selectize({\r\n                                        placeholder: '\u0623\u062e\u062a\u0631 \u0627\u0644\u062f\u0648\u0644\u0629',\r\n                                    });\r\n                                }\r\n                            }\r\n                        });\r\n                        request.fail(function (jqXHR, textStatus) {\r\n\r\n                        });\r\n                    },\r\n                    predictByIP: function () {\r\n                        var request = jQuery.ajax({\r\n                            url: \"https:\/\/ipinfo.io\/json\",\r\n                            dataType: \"json\"\r\n                        });\r\n                        request.done(function (result) {\r\n                            if (result != '') {\r\n                                api_scrapper.readCountryFile(jQuery('#countryId'), result.country);\r\n                            } else {\r\n                                \/*\r\n                                * Second Request will be sent if first request will fail.\r\n                                * *\/\r\n                                api_scrapper.apiSecondRequest();\r\n                            }\r\n                        });\r\n                        request.fail(function (jqXHR, textStatus) {\r\n                            api_scrapper.apiSecondRequest();\r\n                        });\r\n                    },\r\n                    shuffleArray: function (a) {\r\n                        var j, x, i;\r\n                        for (i = a.length - 1; i > 0; i--) {\r\n                            j = Math.floor(Math.random() * (i + 1));\r\n                            x = a[i];\r\n                            a[i] = a[j];\r\n                            a[j] = x;\r\n                        }\r\n                        return a;\r\n                    },\r\n                    apiSecondRequest: function () {\r\n                        var request = jQuery.ajax({\r\n                            url: \"http:\/\/ip-api.com\/json\",\r\n                            dataType: \"json\"\r\n                        });\r\n                        request.done(function (result) {\r\n                            api_scrapper.readCountryFile(jQuery('#countryId'), result.countryCode);\r\n                            api_scrapper.readStateFile(result.countryCode, jQuery('#stateId'))\r\n                        });\r\n                        request.fail(function (jqXHR, textStatus) {\r\n\r\n                        });\r\n                    },\r\n                    compareStrings: function (a, b) {\r\n                        a = a.toLowerCase();\r\n                        b = b.toLowerCase();\r\n                        return (a < b) ? -1 : (a > b) ? 1 : 0;\r\n                    },\r\n                    getBulkCitiesByStates: function (preselected_states, jobsearch_sloc_city) {\r\n\r\n                        jQuery('.cities').html('');\r\n                        jQuery.ajax({\r\n                            url: jobsearch_plugin_vars.ajax_url,\r\n                            method: \"POST\",\r\n                            data: {\r\n                                preselected_states: JSON.parse(preselected_states),\r\n                                action: 'jobsearch_get_selected_states_cities',\r\n                            },\r\n                            dataType: 'json',\r\n                            success: function (response) {\r\n                                jQuery.each(response.all_cities, function (index, city_name) {\r\n                                    if (jobsearch_sloc_city == city_name) {\r\n                                        jQuery('.cities')\r\n                                            .append(jQuery(\"<option><\/option>\")\r\n                                                .attr(\"value\", city_name)\r\n                                                .attr(\"selected\", \"selected\")\r\n                                                .text(city_name));\r\n                                    } else {\r\n                                        jQuery('.cities')\r\n                                            .append(jQuery(\"<option><\/option>\")\r\n                                                .attr(\"value\", city_name)\r\n                                                .text(city_name));\r\n\r\n                                    }\r\n                                });\r\n\r\n                                if (jobsearch_is_admin == '' || ajax_flag == true) {\r\n                                    setTimeout(function () {\r\n                                        jQuery('.cities').selectize({\r\n                                            sortField: 'text'\r\n                                        });\r\n                                    }, 100)\r\n                                }\r\n                            }\r\n                        });\r\n                    }\r\n                };\r\n                \/*\r\n                * Scrapper Events end\r\n                * *\/\r\n\r\n                                jQuery(window).on('load', function () {\r\n                    \/\/\r\n                                            totl_countries_detail = JSON.parse('[{\"country_code\":\"AF\",\"country_name\":\"Afghanistan\"},{\"country_code\":\"AL\",\"country_name\":\"Albania\"},{\"country_code\":\"DZ\",\"country_name\":\"Algeria\"},{\"country_code\":\"AD\",\"country_name\":\"Andorra\"},{\"country_code\":\"AO\",\"country_name\":\"Angola\"},{\"country_code\":\"AI\",\"country_name\":\"Anguilla\"},{\"country_code\":\"AG\",\"country_name\":\"Antigua and Barbuda\"},{\"country_code\":\"AR\",\"country_name\":\"Argentina\"},{\"country_code\":\"AM\",\"country_name\":\"Armenia\"},{\"country_code\":\"AU\",\"country_name\":\"Australia\"},{\"country_code\":\"AT\",\"country_name\":\"Austria\"},{\"country_code\":\"AZ\",\"country_name\":\"Azerbaijan\"},{\"country_code\":\"BS\",\"country_name\":\"Bahamas\"},{\"country_code\":\"BH\",\"country_name\":\"Bahrain\"},{\"country_code\":\"BD\",\"country_name\":\"Bangladesh\"},{\"country_code\":\"BB\",\"country_name\":\"Barbados\"},{\"country_code\":\"BY\",\"country_name\":\"Belarus\"},{\"country_code\":\"BE\",\"country_name\":\"Belgium\"},{\"country_code\":\"BZ\",\"country_name\":\"Belize\"},{\"country_code\":\"BJ\",\"country_name\":\"Benin\"},{\"country_code\":\"BM\",\"country_name\":\"Bermuda\"},{\"country_code\":\"BT\",\"country_name\":\"Bhutan\"},{\"country_code\":\"BO\",\"country_name\":\"Bolivia\"},{\"country_code\":\"BA\",\"country_name\":\"Bosnia and Herzegovina\"},{\"country_code\":\"BW\",\"country_name\":\"Botswana\"},{\"country_code\":\"BR\",\"country_name\":\"Brazil\"},{\"country_code\":\"BN\",\"country_name\":\"Brunei Darussalam\"},{\"country_code\":\"BG\",\"country_name\":\"Bulgaria\"},{\"country_code\":\"BF\",\"country_name\":\"Burkina Faso\"},{\"country_code\":\"BI\",\"country_name\":\"Burundi\"},{\"country_code\":\"KH\",\"country_name\":\"Cambodia\"},{\"country_code\":\"CM\",\"country_name\":\"Cameroon\"},{\"country_code\":\"CA\",\"country_name\":\"Canada\"},{\"country_code\":\"CV\",\"country_name\":\"Cape Verde\"},{\"country_code\":\"KY\",\"country_name\":\"Cayman Islands\"},{\"country_code\":\"CF\",\"country_name\":\"Central African Republic\"},{\"country_code\":\"TD\",\"country_name\":\"Chad\"},{\"country_code\":\"CL\",\"country_name\":\"Chile\"},{\"country_code\":\"CN\",\"country_name\":\"China\"},{\"country_code\":\"CO\",\"country_name\":\"Colombia\"},{\"country_code\":\"KM\",\"country_name\":\"Comoros\"},{\"country_code\":\"CG\",\"country_name\":\"Congo\"},{\"country_code\":\"CR\",\"country_name\":\"Costa Rica\"},{\"country_code\":\"HR\",\"country_name\":\"Croatia (Hrvatska)\"},{\"country_code\":\"CU\",\"country_name\":\"Cuba\"},{\"country_code\":\"CY\",\"country_name\":\"Cyprus\"},{\"country_code\":\"CZ\",\"country_name\":\"Czech Republic\"},{\"country_code\":\"DK\",\"country_name\":\"Denmark\"},{\"country_code\":\"DJ\",\"country_name\":\"Djibouti\"},{\"country_code\":\"DM\",\"country_name\":\"Dominica\"},{\"country_code\":\"DO\",\"country_name\":\"Dominican Republic\"},{\"country_code\":\"EC\",\"country_name\":\"Ecuador\"},{\"country_code\":\"EG\",\"country_name\":\"Egypt\"},{\"country_code\":\"SV\",\"country_name\":\"El Salvador\"},{\"country_code\":\"GQ\",\"country_name\":\"Equatorial Guinea\"},{\"country_code\":\"ER\",\"country_name\":\"Eritrea\"},{\"country_code\":\"EE\",\"country_name\":\"Estonia\"},{\"country_code\":\"ET\",\"country_name\":\"Ethiopia\"},{\"country_code\":\"FO\",\"country_name\":\"Faroe Islands\"},{\"country_code\":\"FJ\",\"country_name\":\"Fiji\"},{\"country_code\":\"FI\",\"country_name\":\"Finland\"},{\"country_code\":\"FR\",\"country_name\":\"France\"},{\"country_code\":\"GF\",\"country_name\":\"French Guiana\"},{\"country_code\":\"PF\",\"country_name\":\"French Polynesia\"},{\"country_code\":\"TF\",\"country_name\":\"French Southern Territories\"},{\"country_code\":\"GA\",\"country_name\":\"Gabon\"},{\"country_code\":\"GM\",\"country_name\":\"Gambia\"},{\"country_code\":\"GE\",\"country_name\":\"Georgia\"},{\"country_code\":\"DE\",\"country_name\":\"Germany\"},{\"country_code\":\"GH\",\"country_name\":\"Ghana\"},{\"country_code\":\"GR\",\"country_name\":\"Greece\"},{\"country_code\":\"GL\",\"country_name\":\"Greenland\"},{\"country_code\":\"GD\",\"country_name\":\"Grenada\"},{\"country_code\":\"GP\",\"country_name\":\"Guadeloupe\"},{\"country_code\":\"GU\",\"country_name\":\"Guam\"},{\"country_code\":\"GT\",\"country_name\":\"Guatemala\"},{\"country_code\":\"GN\",\"country_name\":\"Guinea\"},{\"country_code\":\"GW\",\"country_name\":\"Guinea-Bissau\"},{\"country_code\":\"GY\",\"country_name\":\"Guyana\"},{\"country_code\":\"HT\",\"country_name\":\"Haiti\"},{\"country_code\":\"HN\",\"country_name\":\"Honduras\"},{\"country_code\":\"HK\",\"country_name\":\"Hong Kong\"},{\"country_code\":\"HU\",\"country_name\":\"Hungary\"},{\"country_code\":\"IS\",\"country_name\":\"Iceland\"},{\"country_code\":\"IN\",\"country_name\":\"India\"},{\"country_code\":\"IM\",\"country_name\":\"Isle of Man\"},{\"country_code\":\"ID\",\"country_name\":\"Indonesia\"},{\"country_code\":\"IR\",\"country_name\":\"Iran\"},{\"country_code\":\"IQ\",\"country_name\":\"Iraq\"},{\"country_code\":\"IE\",\"country_name\":\"Ireland\"},{\"country_code\":\"IL\",\"country_name\":\"Israel\"},{\"country_code\":\"IT\",\"country_name\":\"Italy\"},{\"country_code\":\"CI\",\"country_name\":\"Ivory Coast\"},{\"country_code\":\"JE\",\"country_name\":\"Jersey\"},{\"country_code\":\"JM\",\"country_name\":\"Jamaica\"},{\"country_code\":\"JP\",\"country_name\":\"Japan\"},{\"country_code\":\"JO\",\"country_name\":\"Jordan\"},{\"country_code\":\"KZ\",\"country_name\":\"Kazakhstan\"},{\"country_code\":\"KE\",\"country_name\":\"Kenya\"},{\"country_code\":\"KI\",\"country_name\":\"Kiribati\"},{\"country_code\":\"KP\",\"country_name\":\"North Korea\"},{\"country_code\":\"KR\",\"country_name\":\"South Korea\"},{\"country_code\":\"XK\",\"country_name\":\"Kosovo\"},{\"country_code\":\"KW\",\"country_name\":\"Kuwait\"},{\"country_code\":\"KG\",\"country_name\":\"Kyrgyzstan\"},{\"country_code\":\"LA\",\"country_name\":\"Lao\"},{\"country_code\":\"LV\",\"country_name\":\"Latvia\"},{\"country_code\":\"LB\",\"country_name\":\"Lebanon\"},{\"country_code\":\"LS\",\"country_name\":\"Lesotho\"},{\"country_code\":\"LR\",\"country_name\":\"Liberia\"},{\"country_code\":\"LY\",\"country_name\":\"Libyan Arab Jamahiriya\"},{\"country_code\":\"LI\",\"country_name\":\"Liechtenstein\"},{\"country_code\":\"LT\",\"country_name\":\"Lithuania\"},{\"country_code\":\"LU\",\"country_name\":\"Luxembourg\"},{\"country_code\":\"MK\",\"country_name\":\"Macedonia\"},{\"country_code\":\"MG\",\"country_name\":\"Madagascar\"},{\"country_code\":\"MW\",\"country_name\":\"Malawi\"},{\"country_code\":\"MY\",\"country_name\":\"Malaysia\"},{\"country_code\":\"MV\",\"country_name\":\"Maldives\"},{\"country_code\":\"ML\",\"country_name\":\"Mali\"},{\"country_code\":\"MT\",\"country_name\":\"Malta\"},{\"country_code\":\"MH\",\"country_name\":\"Marshall Islands\"},{\"country_code\":\"MQ\",\"country_name\":\"Martinique\"},{\"country_code\":\"MR\",\"country_name\":\"Mauritania\"},{\"country_code\":\"MU\",\"country_name\":\"Mauritius\"},{\"country_code\":\"MX\",\"country_name\":\"Mexico\"},{\"country_code\":\"FM\",\"country_name\":\"Micronesia, Federated States of\"},{\"country_code\":\"MD\",\"country_name\":\"Moldova\"},{\"country_code\":\"MC\",\"country_name\":\"Monaco\"},{\"country_code\":\"MN\",\"country_name\":\"Mongolia\"},{\"country_code\":\"ME\",\"country_name\":\"Montenegro\"},{\"country_code\":\"MS\",\"country_name\":\"Montserrat\"},{\"country_code\":\"MA\",\"country_name\":\"Morocco\"},{\"country_code\":\"MZ\",\"country_name\":\"Mozambique\"},{\"country_code\":\"MM\",\"country_name\":\"Myanmar\"},{\"country_code\":\"NA\",\"country_name\":\"Namibia\"},{\"country_code\":\"NR\",\"country_name\":\"Nauru\"},{\"country_code\":\"NP\",\"country_name\":\"Nepal\"},{\"country_code\":\"NL\",\"country_name\":\"Netherlands\"},{\"country_code\":\"AN\",\"country_name\":\"Netherlands Antilles\"},{\"country_code\":\"NC\",\"country_name\":\"New Caledonia\"},{\"country_code\":\"NZ\",\"country_name\":\"New Zealand\"},{\"country_code\":\"NI\",\"country_name\":\"Nicaragua\"},{\"country_code\":\"NE\",\"country_name\":\"Niger\"},{\"country_code\":\"NG\",\"country_name\":\"Nigeria\"},{\"country_code\":\"MP\",\"country_name\":\"Northern Mariana Islands\"},{\"country_code\":\"NO\",\"country_name\":\"Norway\"},{\"country_code\":\"OM\",\"country_name\":\"Oman\"},{\"country_code\":\"PK\",\"country_name\":\"Pakistan\"},{\"country_code\":\"PW\",\"country_name\":\"Palau\"},{\"country_code\":\"PS\",\"country_name\":\"Palestine\"},{\"country_code\":\"PA\",\"country_name\":\"Panama\"},{\"country_code\":\"PG\",\"country_name\":\"Papua New Guinea\"},{\"country_code\":\"PY\",\"country_name\":\"Paraguay\"},{\"country_code\":\"PE\",\"country_name\":\"Peru\"},{\"country_code\":\"PH\",\"country_name\":\"Philippines\"},{\"country_code\":\"PL\",\"country_name\":\"Poland\"},{\"country_code\":\"PT\",\"country_name\":\"Portugal\"},{\"country_code\":\"PR\",\"country_name\":\"Puerto Rico\"},{\"country_code\":\"QA\",\"country_name\":\"Qatar\"},{\"country_code\":\"RE\",\"country_name\":\"Reunion\"},{\"country_code\":\"RO\",\"country_name\":\"Romania\"},{\"country_code\":\"RU\",\"country_name\":\"Russian Federation\"},{\"country_code\":\"RW\",\"country_name\":\"Rwanda\"},{\"country_code\":\"KN\",\"country_name\":\"Saint Kitts and Nevis\"},{\"country_code\":\"LC\",\"country_name\":\"Saint Lucia\"},{\"country_code\":\"VC\",\"country_name\":\"Saint Vincent and the Grenadines\"},{\"country_code\":\"WS\",\"country_name\":\"Samoa\"},{\"country_code\":\"SM\",\"country_name\":\"San Marino\"},{\"country_code\":\"ST\",\"country_name\":\"Sao Tome and Principe\"},{\"country_code\":\"SA\",\"country_name\":\"Saudi Arabia\"},{\"country_code\":\"SN\",\"country_name\":\"Senegal\"},{\"country_code\":\"RS\",\"country_name\":\"Serbia\"},{\"country_code\":\"SC\",\"country_name\":\"Seychelles\"},{\"country_code\":\"SL\",\"country_name\":\"Sierra Leone\"},{\"country_code\":\"SG\",\"country_name\":\"Singapore\"},{\"country_code\":\"SK\",\"country_name\":\"Slovakia\"},{\"country_code\":\"SI\",\"country_name\":\"Slovenia\"},{\"country_code\":\"SB\",\"country_name\":\"Solomon Islands\"},{\"country_code\":\"SO\",\"country_name\":\"Somalia\"},{\"country_code\":\"ZA\",\"country_name\":\"South Africa\"},{\"country_code\":\"ES\",\"country_name\":\"Spain\"},{\"country_code\":\"LK\",\"country_name\":\"Sri Lanka\"},{\"country_code\":\"SH\",\"country_name\":\"St. Helena\"},{\"country_code\":\"PM\",\"country_name\":\"St. Pierre and Miquelon\"},{\"country_code\":\"SD\",\"country_name\":\"Sudan\"},{\"country_code\":\"SR\",\"country_name\":\"Suriname\"},{\"country_code\":\"SJ\",\"country_name\":\"Svalbard and Jan Mayen Islands\"},{\"country_code\":\"SZ\",\"country_name\":\"Swaziland\"},{\"country_code\":\"SE\",\"country_name\":\"Sweden\"},{\"country_code\":\"CH\",\"country_name\":\"Switzerland\"},{\"country_code\":\"SY\",\"country_name\":\"Syrian Arab Republic\"},{\"country_code\":\"TW\",\"country_name\":\"Taiwan\"},{\"country_code\":\"TJ\",\"country_name\":\"Tajikistan\"},{\"country_code\":\"TZ\",\"country_name\":\"Tanzania\"},{\"country_code\":\"TH\",\"country_name\":\"Thailand\"},{\"country_code\":\"TG\",\"country_name\":\"Togo\"},{\"country_code\":\"TK\",\"country_name\":\"Tokelau\"},{\"country_code\":\"TO\",\"country_name\":\"Tonga\"},{\"country_code\":\"TT\",\"country_name\":\"Trinidad and Tobago\"},{\"country_code\":\"TN\",\"country_name\":\"Tunisia\"},{\"country_code\":\"TR\",\"country_name\":\"Turkey\"},{\"country_code\":\"TM\",\"country_name\":\"Turkmenistan\"},{\"country_code\":\"TV\",\"country_name\":\"Tuvalu\"},{\"country_code\":\"UG\",\"country_name\":\"Uganda\"},{\"country_code\":\"UA\",\"country_name\":\"Ukraine\"},{\"country_code\":\"AE\",\"country_name\":\"United Arab Emirates\"},{\"country_code\":\"GB\",\"country_name\":\"United Kingdom\"},{\"country_code\":\"US\",\"country_name\":\"United States\"},{\"country_code\":\"UM\",\"country_name\":\"United States minor outlying islands\"},{\"country_code\":\"UY\",\"country_name\":\"Uruguay\"},{\"country_code\":\"UZ\",\"country_name\":\"Uzbekistan\"},{\"country_code\":\"VU\",\"country_name\":\"Vanuatu\"},{\"country_code\":\"VE\",\"country_name\":\"Venezuela\"},{\"country_code\":\"VN\",\"country_name\":\"Vietnam\"},{\"country_code\":\"VI\",\"country_name\":\"Virgin Islands (U.S.)\"},{\"country_code\":\"WF\",\"country_name\":\"Wallis and Futuna Islands\"},{\"country_code\":\"YE\",\"country_name\":\"Yemen\"},{\"country_code\":\"ZM\",\"country_name\":\"Zambia\"},{\"country_code\":\"ZW\",\"country_name\":\"Zimbabwe\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"},{\"country_code\":\"cg-^X\",\"country_name\":\"vW\\\"'d?=#;8<\"}]');\r\n                                            totl_preselected_states_saved = '\"\"';\r\n\r\n                    \r\n                    var _single_country_code = '';\r\n\r\n                    if (jobsearch_sloc_type == '2' || jobsearch_sloc_type == '3') {\r\n                        _single_country_code = jQuery(\"#countryId\").val();\r\n                    } else {\r\n                        if (jobsearch_sloc_country != 0 && contry_preselct != 'by_contry') {\r\n                            _single_country_code = api_scrapper.getCountryCode(jobsearch_sloc_country);\r\n                        }\r\n                    }\r\n\r\n                    \/*\r\n                    * If location type is single country (cities)\r\n                    * *\/\r\n\r\n                    if (jobsearch_sloc_type == 4) {\r\n                        api_scrapper.getBulkCitiesByStates(totl_preselected_states_saved, jobsearch_sloc_city);\r\n                    }\r\n\r\n                    \r\n                                        api_scrapper.readCountryFile(jQuery('#countryId'), '');\r\n\r\n                    \r\n                    if (jobsearch_sloc_state != \"\") {\r\n                        api_scrapper.readStateFile(_single_country_code, jQuery(\"#stateId\"))\r\n                    }\r\n\r\n                    if ((jobsearch_sloc_type == 2 || jobsearch_sloc_type == 3) && jobsearch_is_loc_editor != 'jobsearch-location-sett-editor') {\r\n                        if (_single_country_code != \"\") {\r\n                            api_scrapper.readStateFile(_single_country_code, jQuery(\"#stateId\"))\r\n                        }\r\n                        if (jobsearch_sloc_city != \"\") {\r\n                            setTimeout(function () {\r\n                                console.info(\"done first\");\r\n                                jQuery('#stateId').trigger('change');\r\n                            }, 4000);\r\n                        }\r\n                    }\r\n\r\n                                        \/*\r\n                    * Pre select Country\r\n                    * *\/\r\n                                                        });\r\n                \r\n                \/*\r\n                 *countries change event\r\n                 **\/\r\n\r\n                jQuery(document).on('change', '#countryId', function () {\r\n                    var _this = jQuery(this);\r\n                    if (_this.val() != 0 && _this.val() != undefined) {\r\n                        var _country_code = '';\r\n                        if (inc_countries != \"\") {\r\n                            _country_code = api_scrapper.getCountryCode(_this.val());\r\n                        } else {\r\n                            _country_code = jobsearch_is_admin == 1 && _this.find('option:selected').attr(\"code\") != undefined ? _this.find('option:selected').attr(\"code\") : api_scrapper.getCountryCode(_this.val());\r\n                        }\r\n                        api_scrapper.readStateFile(_country_code, jQuery(\"#stateId\"));\r\n                    }\r\n                });\r\n\r\n                \/*\r\n                * state change event\r\n                * *\/\r\n\r\n                jQuery(document).on('change', '#stateId', function () {\r\n                    var _this = jQuery(this), _single_country_detail;\r\n                    if (jobsearch_sloc_type == 1) {\r\n                        _single_country_detail = jQuery(\"#countryId\").find('option:selected').val();\r\n\r\n                    } else if (jobsearch_sloc_type == '2' || jobsearch_sloc_type == '3') {\r\n                        _single_country_detail = jQuery(\"#countryId\").val();\r\n                    } else {\r\n                        if (jobsearch_sloc_country != 0 && contry_preselct != 'by_contry') {\r\n                            _single_country_detail = api_scrapper.getCountryCode(jobsearch_sloc_country);\r\n                        }\r\n                    }\r\n\r\n                    if (_this.val() != 0 && _this.val() != undefined) {\r\n                        if(jQuery('.vc_ui-panel-window-inner').find('.jobsearch-vcloc-dropdwn-con').length>0){\r\n                            _single_country_detail = jQuery(\".location2-countries\").val();\r\n                        }\r\n                        api_scrapper.readCityOnlyFiles(_single_country_detail, _this.val(), jQuery('#cityId'));\r\n                    }\r\n                });\r\n            <\/script>\r\n                <div class=\"jobsearch-employer-dasboard jobsearch-typo-wrap\">\r\n\r\n                    <form autocomplete=\"off\" id=\"job-posting-form\"\r\n                  method=\"post\"  class=\"user-logform-err\"                  enctype=\"multipart\/form-data\">\r\n                <div class=\"jobsearch-employer-box-section\">\r\n\r\n                                            <div class=\"jobsearch-profile-title\">\r\n                                                            <h2>\u0646\u0634\u0631 \u0648\u0638\u064a\u0641\u0629 \u062c\u062f\u064a\u062f\u0629<\/h2>\r\n                                                    <\/div>\r\n                        <nav class=\"jobsearch-employer-jobnav\">\r\n                            <ul>\r\n                                <li class=\"active\">\r\n                                    <a href=\"javascript:void(0);\">\r\n                                        <i class=\"jobsearch-icon jobsearch-briefcase-1\"><\/i>\r\n                                        <span>\u062a\u0641\u0627\u0635\u064a\u0644 \u0627\u0644\u0648\u0638\u064a\u0641\u0629<\/span>\r\n                                    <\/a>\r\n                                <\/li>\r\n                                                                    <li>\r\n                                        <a href=\"javascript:void(0);\">\r\n                                            <i class=\"jobsearch-icon jobsearch-credit-card\"><\/i>\r\n                                            <span>\u0627\u0644\u062d\u0632\u0645\u0629 \u0648\u0627\u0644\u0645\u062f\u0641\u0648\u0639\u0627\u062a<\/span>\r\n                                        <\/a>\r\n                                    <\/li>\r\n                                                                    <li>\r\n                                    <a href=\"javascript:void(0);\">\r\n                                        <i class=\"jobsearch-icon jobsearch-checked\"><\/i>\r\n                                        <span>\u062a\u0623\u0643\u064a\u062f<\/span>\r\n                                    <\/a>\r\n                                <\/li>\r\n                            <\/ul>\r\n                        <\/nav>\r\n                                                <script>\r\n                                jQuery(document).ready(function () {\r\n                                    var todayDate = new Date().getDate();\r\n                                    jQuery('#jobsearch_job_application_deadline').datetimepicker({\r\n                                        timepicker: true,\r\n                                        format: 'd-m-Y',\r\n                                                                                minDate: new Date(new Date().setDate(todayDate)),\r\n                                        maxDate: new Date(new Date().setDate(todayDate + 15)),\r\n                                        scrollInput: false,\r\n                                        scrollMonth: false,\r\n                                                                            });\r\n                                });\r\n                            <\/script>\r\n                            <ul class=\"jobsearch-row jobsearch-employer-profile-form\">\r\n                                                                <li class=\"jobsearch-column-12\">\r\n                                    <label>\u0645\u0633\u0645\u0649 \u0648\u0638\u064a\u0641\u064a *<\/label>                                    <input id=\"ad-posting-title\"\r\n                                           class=\"jobsearch-req-field\" value=\"\" \r\n                                           name=\"job_title\" type=\"text\"\r\n                                           placeholder=\"Example: php developer\">\r\n                                    <span class=\"field-error\"><\/span>\r\n                                <\/li>\r\n                                                                <li class=\"jobsearch-column-12\">\r\n                                    <label>\u062a\u0641\u0627\u0635\u064a\u0644 \u0627\u0644\u0648\u0638\u064a\u0641\u0629 *<\/label>                                    <div id=\"wp-job_detail-wrap\" class=\"wp-core-ui wp-editor-wrap tmce-active\"><link rel='stylesheet' id='dashicons-css' href='https:\/\/edu-bridge.org\/wp-includes\/css\/dashicons.min.css?ver=6.9.4' type='text\/css' media='all' \/>\n<link rel='stylesheet' id='editor-buttons-rtl-css' href='https:\/\/edu-bridge.org\/wp-includes\/css\/editor-rtl.min.css?ver=6.9.4' type='text\/css' media='all' \/>\n<div id=\"wp-job_detail-editor-tools\" class=\"wp-editor-tools hide-if-no-js\"><div class=\"wp-editor-tabs\"><button type=\"button\" id=\"job_detail-tmce\" aria-pressed=\"true\" class=\"wp-switch-editor switch-tmce\" data-wp-editor-id=\"job_detail\">\u0645\u0631\u0626\u064a<\/button>\n<button type=\"button\" id=\"job_detail-html\" class=\"wp-switch-editor switch-html\" data-wp-editor-id=\"job_detail\">Code<\/button>\n<\/div>\n<\/div>\n<div id=\"wp-job_detail-editor-container\" class=\"wp-editor-container\"><div id=\"qt_job_detail_toolbar\" class=\"quicktags-toolbar hide-if-no-js\"><\/div><textarea class=\"jobsearch-req-field wp-editor-area\" rows=\"20\" autocomplete=\"off\" cols=\"40\" name=\"job_detail\" id=\"job_detail\"><\/textarea><\/div>\n<\/div>\n\n                                    <span class=\"field-error\"><\/span>\r\n                                <\/li>\r\n                                                                    <li class=\"jobsearch-column-6\">\r\n                                        <label>\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a *<\/label>\r\n                                        <input type=\"text\" name=\"reg_user_email\" class=\"jobsearch-req-field\">\r\n                                        <span class=\"field-error\"><\/span>\r\n                                    <\/li>\r\n                                                                        <li class=\"jobsearch-column-6\">\r\n                                        <label>\u0627\u0633\u0645 \u0627\u0644\u0634\u0631\u0643\u0629<\/label>\r\n                                        <input type=\"text\" name=\"pt_user_organization\">\r\n                                    <\/li>\r\n                                                                        <li class=\"jobsearch-column-4\">\r\n                                        <label>\u0622\u062e\u0631 \u0645\u0648\u0639\u062f \u0644\u0644\u062a\u0633\u062c\u064a\u0644 *<\/label>                                        <input type=\"text\" id=\"jobsearch_job_application_deadline\"\r\n                                               class=\"job-aplication-deadline\"\r\n                                               name=\"application_deadline\" >\r\n                                    <\/li>\r\n                                                                            <li class=\"jobsearch-column-4\">\r\n                                            <label>\u0642\u0637\u0627\u0639 \u0627\u0644\u0639\u0645\u0644 *<\/label>                                            <div class=\"jobsearch-profile-select\">\r\n                                                <select  name='job_sector' id='job-sector' class='jobsearch-req-field selectize-select'>\n\t<option value='0'>\u0623\u062e\u062a\u0631 \u0627\u0644\u0642\u0637\u0627\u0639<\/option>\n\t<option class=\"level-0\" value=\"120\">\u0627\u0644\u0625\u062f\u0627\u0631\u064a\u0629 \u0648\u0627\u0644\u0642\u064a\u0627\u062f\u064a\u0629<\/option>\n\t<option class=\"level-1\" value=\"118\">&nbsp;&nbsp;&nbsp;\u0645\u062f\u0631\u0627\u0621 \u0627\u0644\u0623\u0639\u0645\u0627\u0644<\/option>\n\t<option class=\"level-1\" value=\"111\">&nbsp;&nbsp;&nbsp;\u0645\u0633\u0626\u0648\u0644\u064a \u0627\u0644\u0642\u0628\u0648\u0644<\/option>\n\t<option class=\"level-0\" value=\"122\">\u0627\u0644\u0645\u062f\u0631\u0628\u0648\u0646 \u0627\u0644\u0644\u0627\u0645\u0646\u0647\u062c\u064a\u0648\u0646 \u0648\u0642\u0627\u062f\u0629 \u0627\u0644\u0623\u0646\u0634\u0637\u0629<\/option>\n\t<option class=\"level-0\" value=\"121\">\u0645\u0637\u0648\u0631\u0648 \u0648\u0645\u0646\u0633\u0642\u0648 \u0627\u0644\u0645\u0646\u0627\u0647\u062c<\/option>\n\t<option class=\"level-0\" value=\"114\">\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u062a\u062f\u0631\u064a\u0633<\/option>\n<\/select>\n                                            <\/div>\r\n                                        <\/li>\r\n                                                                                <li class=\"jobsearch-column-4\">\r\n                                        <label>\u0646\u0648\u0639 \u0627\u0644\u0648\u0638\u064a\u0641\u0629<\/label>                                            <div class=\"jobsearch-profile-select\">\r\n                                                <select  name='job_type' id='job-type' class='selectize-select'>\n\t<option value='0'>\u0627\u062e\u062a\u0631 \u0635\u0646\u0641<\/option>\n\t<option class=\"level-0\" value=\"107\">\u062f\u0648\u0627\u0645 \u062c\u0632\u0626\u0649<\/option>\n\t<option class=\"level-0\" value=\"106\">\u062f\u0648\u0627\u0645 \u0643\u0627\u0645\u0644<\/option>\n\t<option class=\"level-0\" value=\"108\">\u0645\u0624\u0642\u062a<\/option>\n\t<option class=\"level-0\" value=\"105\">\u0645\u0633\u062a\u0642\u0644<\/option>\n<\/select>\n                                            <\/div>\r\n                                        <\/li>\r\n                                                                            <li class=\"jobsearch-column-12\">\r\n                                                                                <div class=\"jobseach-skills-con\">\r\n                                                                                        <label>\u0627\u0644\u0645\u0647\u0627\u0631\u0627\u062a \u0627\u0644\u0645\u0637\u0644\u0648\u0628\u0629<\/label>                                            <ul id=\"job-skills\" class=\"jobseach-job-skills\">\r\n                                                                                            <\/ul>\r\n                                                                                                <div class=\"suggested-skills-con\">\r\n                                                        <label>\u0627\u0644\u0645\u0647\u0627\u0631\u0627\u062a \u0627\u0644\u0645\u0642\u062a\u0631\u062d\u0629<\/label>\r\n                                                                                                                <ul class=\"suggested-skills all-suggs-skills\">\r\n                                                                                                                            <li class=\"skills-cloud\" onclick=\"return jobsearch_add_skill_tolist('\u0623\u0644\u0628\u0627\u0646');\">\u0623\u0644\u0628\u0627\u0646<\/li>\r\n                                                                                                                                <li class=\"skills-cloud\" onclick=\"return jobsearch_add_skill_tolist('\u0639\u0631\u0636 \u062a\u0642\u062f\u064a\u0645\u064a');\">\u0639\u0631\u0636 \u062a\u0642\u062f\u064a\u0645\u064a<\/li>\r\n                                                                                                                                <li class=\"skills-cloud\" onclick=\"return jobsearch_add_skill_tolist('\u062d\u0627\u0633\u0648\u0628');\">\u062d\u0627\u0633\u0648\u0628<\/li>\r\n                                                                                                                                <li class=\"skills-cloud\" onclick=\"return jobsearch_add_skill_tolist('\u0627\u0644\u0645\u062f\u0646\u064a\u0648\u0646');\">\u0627\u0644\u0645\u062f\u0646\u064a\u0648\u0646<\/li>\r\n                                                                                                                                <li class=\"skills-cloud\" onclick=\"return jobsearch_add_skill_tolist('\u0627\u0644\u0645\u0647\u0627\u0631\u0627\u062a \u0627\u0644\u0646\u0627\u0639\u0645\u0629');\">\u0627\u0644\u0645\u0647\u0627\u0631\u0627\u062a \u0627\u0644\u0646\u0627\u0639\u0645\u0629<\/li>\r\n                                                                                                                                <li class=\"skills-cloud\" onclick=\"return jobsearch_add_skill_tolist('\u062a\u0639\u0644\u064a\u0645');\">\u062a\u0639\u0644\u064a\u0645<\/li>\r\n                                                                                                                        <\/ul>\r\n                                                    <\/div>\r\n                                                                                            <\/div>\r\n                                        <script>\r\n                                            jQuery(document).on('change', '#job-sector', function () {\r\n                                                var sector_id = jQuery(this).val();\r\n                                                var skills_area_con = jQuery('.suggested-skills-con');\r\n                                                skills_area_con.find('.no-sugge-skills').hide();\r\n                                                skills_area_con.find('.all-suggs-skills').hide();\r\n                                                skills_area_con.find('.suggested-skills').hide();\r\n                                                if (skills_area_con.find('.suggested-skills-sector-' + sector_id).length > 0) {\r\n                                                    skills_area_con.find('.suggested-skills-sector-' + sector_id).show();\r\n                                                } else {\r\n                                                    skills_area_con.find('.all-suggs-skills').show();\r\n                                                }\r\n                                            });\r\n                                            jQuery(document).on('change', '#job-sector-multi', function () {\r\n                                                var sector_ids = jQuery(this).val();\r\n                                                var skills_area_con = jQuery('.suggested-skills-con');\r\n                                                skills_area_con.find('.no-sugge-skills').hide();\r\n                                                skills_area_con.find('.all-suggs-skills').hide();\r\n                                                skills_area_con.find('.suggested-skills').hide();\r\n                                                if (sector_ids.length > 0) {\r\n                                                    for (var sec_i = 0; sec_i <= sector_ids.length; sec_i++) {\r\n                                                        var sector_id = sector_ids[sec_i];\r\n                                                        skills_area_con.find('.suggested-skills-sector-' + sector_id).show();\r\n                                                    }\r\n                                                } else {\r\n                                                    skills_area_con.find('.all-suggs-skills').show();\r\n                                                }\r\n                                            });\r\n                                        <\/script>\r\n                                    <\/li>\r\n                                                                        <li class=\"jobsearch-column-6\">\r\n                                        <label>\u0646\u0648\u0639 \u0627\u0644\u062a\u0642\u062f\u064a\u0645 \u0644\u0644\u0648\u0638\u064a\u0641\u0629<\/label>                                        <div class=\"jobsearch-profile-select\">\r\n                                            <select id=\"jobsearch_job_apply_type\"                                                    class=\"selectize-select\"\r\n                                                    name=\"job_apply_type\">\r\n                                                                                                    <option value=\"internal\" >\u062f\u0627\u062e\u0644\u064a<\/option>\r\n                                                                                                        <option value=\"external\" >\u0631\u0627\u0628\u0637 \u062e\u0627\u0631\u062c\u064a<\/option>\r\n                                                                                                    <option value=\"with_email\" >\u0628\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0627\u0644\u0643\u062a\u0631\u0648\u0646\u064a<\/option>\r\n                                                                                            <\/select>\r\n                                        <\/div>\r\n                                    <\/li>\r\n                                                                    <li id=\"job-apply-external-url\" class=\"jobsearch-column-6\"\r\n                                        style=\"display: none;\">\r\n                                        <label>\u0639\u0646\u0648\u0627\u0646 URL \u0627\u0644\u062e\u0627\u0631\u062c\u064a \u0644\u062a\u0642\u062f\u064a\u0645 \u0627\u0644\u0648\u0638\u064a\u0641\u0629 *<\/label>\r\n                                        <input type=\"text\" name=\"job_apply_url\"\r\n                                               class=\"external-url-input\" >\r\n                                    <\/li>\r\n                                                                    <li id=\"job-apply-by-email\" class=\"jobsearch-column-6\"\r\n                                        style=\"display: none;\">\r\n                                        <label>\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0644\u0644\u062a\u0642\u062f\u0645 \u0644\u0644\u0648\u0638\u064a\u0641\u0629 *<\/label>\r\n                                        <input type=\"text\" name=\"job_apply_email\"\r\n                                               class=\"apply-email-input\"\r\n                                            value=\"\">\r\n                                    <\/li>\r\n                                                                        <li class=\"jobsearch-column-12\">\r\n                                        <label>\u0627\u0644\u0631\u0627\u062a\u0628<\/label>                                        <div class=\"salary-type\">\r\n                                            <div class=\"jobsearch-profile-select\">\r\n                                                <select name=\"job_salary_type\" class=\"selectize-select\">\r\n                                                                                                                <option value=\"type_1\" >\u0634\u0647\u0631\u064a\u064b\u0627<\/option>\r\n                                                                                                            <\/select>\r\n                                            <\/div>\r\n                                        <\/div>\r\n\r\n                                        <div class=\"salary-input salary-input-fordev\"\r\n                                             style=\"display: block;\">\r\n                                                                                        <div class=\"min-salary\">\r\n                                                <span>EGP<\/span>\r\n                                                <input type=\"number\" min=\"0\" step=\"1\" onkeypress=\"return isNumberKey(this, event);\" placeholder=\"\u0627\u0644\u062d\u062f \u0627\u0644\u0623\u062f\u0646\u0649\"\r\n                                                       name=\"job_salary\" value=\"\">\r\n                                            <\/div>\r\n                                            <div class=\"max-salary\">\r\n                                                <span>EGP<\/span>\r\n                                                <input type=\"number\" min=\"0\" step=\"1\" onkeypress=\"return isNumberKey(this, event);\" placeholder=\"\u0623\u0642\u0635\u0649\"\r\n                                                       name=\"job_max_salary\" value=\"\">\r\n                                            <\/div>\r\n                                        <\/div>\r\n                                    <\/li>\r\n                                                                <\/ul>\r\n                                            <\/div>\r\n\r\n                \r\n            <div class=\"jobsearch-employer-box-section custom_fields_skillid\">\r\n            <div class=\"jobsearch-profile-title\"><h2>\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0623\u062e\u0631\u0649<\/h2><\/div>\r\n            <ul class=\"jobsearch-row jobsearch-employer-profile-form\">        <li class=\"jobsearch-column-6\">\r\n            <label>\u0627\u0644\u0645\u0633\u062a\u0648\u0649 \u0627\u0644\u0648\u0638\u064a\u0641\u064a<\/label>                    <div class=\"jobsearch-profile-select\">\r\n                        <input type=\"hidden\" name=\"career-level\" value=\"\" \/>\r\n                        <select name=\"career-level\"\r\n                            placeholder=\"\u0627\u0644\u0645\u0633\u062a\u0648\u0649 \u0627\u0644\u0648\u0638\u064a\u0641\u064a\"\r\n                            class=\" selectize-select\">\r\n                            <option value=\"\">\u0627\u0644\u0645\u0633\u062a\u0648\u0649 \u0627\u0644\u0648\u0638\u064a\u0641\u064a<\/option><option  value=\"manager\">\u0627\u0644\u0645\u062f\u064a\u0631<\/option><option  value=\"officer\">Officer<\/option><option  value=\"student\">\u0637\u0627\u0644\u0628<\/option><option  value=\"executive\">\u062a\u0646\u0641\u064a\u0630\u064a<\/option><option  value=\"others\">\u0623\u062e\u0631\u0648\u0646<\/option>                        <\/select>\r\n                                            <\/div>\r\n                            <\/li>\r\n                <li class=\"jobsearch-column-6\">\r\n            <label>\u0627\u0644\u062e\u0628\u0631\u0629 *<\/label>                    <div class=\"jobsearch-profile-select\">\r\n                        <input type=\"hidden\" name=\"experience\" value=\"\" \/>\r\n                        <select name=\"experience\"\r\n                            placeholder=\"\u0627\u0644\u062e\u0628\u0631\u0629\"\r\n                            class=\"Experience selectize-select\" required=\"required\">\r\n                            <option value=\"\">\u0627\u0644\u062e\u0628\u0631\u0629<\/option><option  value=\"fresh\">\u062d\u062f\u064a\u062b \u0627\u0644\u062a\u062e\u0631\u062c<\/option><option  value=\"less-than-1-year\">\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645 <\/option><option  value=\"2-years\">\u0639\u0627\u0645\u0627\u0646<\/option><option  value=\"3-years\">\u062b\u0644\u0627\u062b\u0629 \u0623\u0639\u0648\u0627\u0645<\/option><option  value=\"4-years\">\u0623\u0631\u0628\u0639 \u0623\u0639\u0648\u0627\u0645<\/option><option  value=\"5-years\">\u062e\u0645\u0633 \u0623\u0639\u0648\u0627\u0645<\/option><option  value=\"6-years\">\u0633\u062a \u0623\u0639\u0648\u0627\u0645<\/option><option  value=\"7-years\">\u0633\u0628\u0639 \u0623\u0639\u0648\u0627\u0645<\/option><option  value=\"8-years-+\">\u062a\u0645\u0646 \u0623\u0639\u0648\u0627\u0645 +<\/option>                        <\/select>\r\n                                            <\/div>\r\n                            <\/li>\r\n                <li class=\"jobsearch-column-6\">\r\n            <label>\u0645\u0624\u0647\u0644\u0627\u062a *<\/label>                    <div class=\"jobsearch-profile-select\">\r\n                        <input type=\"hidden\" name=\"qualifications\" value=\"\" \/>\r\n                        <select name=\"qualifications\"\r\n                            placeholder=\"\u0645\u0624\u0647\u0644\u0627\u062a\"\r\n                            class=\"qualifications selectize-select\" required=\"required\">\r\n                            <option value=\"\">\u0645\u0624\u0647\u0644\u0627\u062a<\/option><option  value=\"certificate\">\u0634\u0647\u0627\u062f\u0629<\/option><option  value=\"diploma\">\u062f\u0628\u0644\u0648\u0645\u0647<\/option><option  value=\"associate\">\u0645\u0633\u0627\u0639\u062f<\/option><option  value=\"degree-bachelor\">\u062f\u0631\u062c\u0629 \u0627\u0644\u0628\u0643\u0627\u0644\u0648\u0631\u064a\u0648\u0633<\/option><option  value=\"associate\">\u0645\u0633\u0627\u0639\u062f<\/option><option  value=\"masters-degree\">\u0645\u0627\u062c\u064a\u0633\u062a\u064a\u0631<\/option>                        <\/select>\r\n                                            <\/div>\r\n                            <\/li>\r\n        \r\n            <\/ul>\r\n            <\/div>            <div class=\"jobsearch-employer-box-section\">\r\n                                    <div class=\"jobsearch-profile-title\"><h2>\u062a\u0637\u0628\u064a\u0642 \u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u0648\u0638\u064a\u0641\u0629<\/h2><\/div>\r\n                                    <div class=\"jobsearch-applyquests-dash\">\r\n                    <div class=\"dash-applyquests-apendcon\">\r\n                                            <\/div>\r\n                                            <div class=\"addnew-questtypes-btnscon\">\r\n                            <div class=\"select-questype-hding\"><strong>\u062d\u062f\u062f \u0646\u0648\u0639 \u0627\u0644\u0633\u0624\u0627\u0644<\/strong><\/div>\r\n                            <div class=\"addnew-questtypes-btnsiner\">\r\n                                                                    <a href=\"javascript:void();\" class=\"aplyquest-type-slectbtn active-type-itm\" data-type=\"dropdown\">\r\n                                        <i class=\"jobsearch-icon jobsearch-list\"><\/i><span>\u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u0646\u0633\u062f\u0644\u0629<\/span>\r\n                                    <\/a>\r\n                                                                        <a href=\"javascript:void();\" class=\"aplyquest-type-slectbtn\" data-type=\"checkboxes\">\r\n                                        <i class=\"jobsearch-icon jobsearch-check-square\"><\/i><span>Checkboxes<\/span>\r\n                                    <\/a>\r\n                                                                        <a href=\"javascript:void();\" class=\"aplyquest-type-slectbtn\" data-type=\"number\">\r\n                                        <i class=\"jobsearch-icon jobsearch-newspaper\"><\/i><span>Number<\/span>\r\n                                    <\/a>\r\n                                                                        <a href=\"javascript:void();\" class=\"aplyquest-type-slectbtn\" data-type=\"text\">\r\n                                        <i class=\"jobsearch-icon jobsearch-paper\"><\/i><span>Text<\/span>\r\n                                    <\/a>\r\n                                                                        <a href=\"javascript:void();\" class=\"aplyquest-type-slectbtn\" data-type=\"textarea\">\r\n                                        <i class=\"jobsearch-icon jobsearch-credit-card\"><\/i><span>Textarea<\/span>\r\n                                    <\/a>\r\n                                                                        <a href=\"javascript:void();\" class=\"aplyquest-type-slectbtn\" data-type=\"upload\">\r\n                                        <i class=\"jobsearch-icon jobsearch-upload\"><\/i><span>Upload Field<\/span>\r\n                                    <\/a>\r\n                                                                <\/div>\r\n                            <div class=\"addnew-aplyquestbtn-con\">\r\n                                <button class=\"add-new-applyquestbtn\">\u0625\u0636\u0627\u0641\u0629 \u0633\u0624\u0627\u0644 \u062c\u062f\u064a\u062f<\/button>\r\n                            <\/div>\r\n                        <\/div>\r\n                                        <\/div>\r\n            <\/div>\r\n                                        <div class=\"jobsearch-employer-box-section\">\r\n                                <div class=\"jobsearch-profile-title\">\r\n                                    <h2>\u0645\u0631\u0641\u0642\u0627\u062a \u0627\u0644\u0645\u0644\u0641\u0627\u062a<\/h2>\r\n                                <\/div>\r\n                                                                <div class=\"jobsearch-fileUpload\">\r\n                                    <span><i class=\"jobsearch-icon jobsearch-upload\"><\/i> \u0623\u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641\u0627\u062a<\/span>\r\n                                    <input id=\"job_attach_files\" name=\"job_attach_files[]\" type=\"file\"\r\n                                           class=\"upload jobsearch-upload\" multiple=\"multiple\"\r\n                                           onchange=\"jobsearch_job_attach_files_url(event)\"\/>\r\n                                <\/div>\r\n                                <div id=\"attach-files-holder\" class=\"gallery-imgs-holder jobsearch-company-gallery\">\r\n                                                                    <\/div>\r\n                                                            <\/div>\r\n                            <div class=\"jobsearch-employer-box-section\">            <script type=\"text\/javascript\">\r\n                var jobsearch_sloc_country = \"\";\r\n                var jobsearch_sloc_state = \"\";\r\n                var jobsearch_sloc_city = \"\";\r\n                var jobsearch_is_admin = \"\";\r\n            <\/script>\r\n                        <div class=\"jobsearch-profile-title location_address_skillid\">\r\n                <h2>Address \/ Location<\/h2>\r\n            <\/div>\r\n                        <ul class=\"jobsearch-row jobsearch-employer-profile-form\" style=\"background:none; padding:0;\">\r\n                                        <li class=\"jobsearch-column-6\" data-randid=\"59944018\" style=\"display: inline-block;\">\r\n                            <label>\u0627\u0644\u062f\u0648\u0644\u0629<\/label>                            <div id=\"jobsearch-gdapilocs-contrycon\" data-val=\"\"\r\n                                 class=\"jobsearch-profile-select\">\r\n                                <select name=\"jobsearch_field_location_location1\"\r\n                                        data-randid=\"59944018\"\r\n                                        class=\"countries\"\r\n                                        id=\"countryId\">\r\n                                    <option value=\"\">\u0623\u062e\u062a\u0631 \u0627\u0644\u062f\u0648\u0644\u0629<\/option>\r\n                                <\/select>\r\n                            <\/div>\r\n                        <\/li>\r\n                                                                <li class=\"jobsearch-column-6\" data-randid=\"59944018\" style=\"display: inline-block;\">\r\n                            <label>\u0627\u0644\u0645\u0646\u0637\u0642\u0629<\/label>                                                        <div id=\"jobsearch-gdapilocs-statecon\" data-val=\"\"\r\n                                 class=\"jobsearch-profile-select\">\r\n                                <select name=\"jobsearch_field_location_location2\"\r\n                                        data-randid=\"59944018\"\r\n                                        class=\"states\"\r\n                                        id=\"stateId\">\r\n                                    <option value=\"\">\u0623\u062e\u062a\u0631 \u0627\u0644\u0645\u0646\u0637\u0642\u0629<\/option>\r\n                                <\/select>\r\n                            <\/div>\r\n                        <\/li>\r\n                                                                <li class=\"jobsearch-column-6\" data-randid=\"59944018\" style=\"display: inline-block;\">\r\n                            <label>City<\/label>                            <div id=\"jobsearch-gdapilocs-citycon\" data-val=\"\"\r\n                                 class=\"jobsearch-profile-select\">\r\n                                <select name=\"jobsearch_field_location_location3\"\r\n                                        data-randid=\"59944018\"\r\n                                        class=\"cities order-alpha\"\r\n                                        id=\"cityId\">\r\n                                    <option value=\"\">Select City<\/option>\r\n                                <\/select>\r\n                            <\/div>\r\n                        <\/li>\r\n                                            <li class=\"jobsearch-column-6\" style=\"display: none;\">\r\n                        <label>Postal Code<\/label>                        <input type=\"hidden\" name=\"jobsearch_location_old_postalcode\" value=\"\">\r\n                        <input id=\"jobsearch_loc_postalcode_59944018\" type=\"text\" name=\"jobsearch_field_location_postalcode\" placeholder=\"Postal Code\" value=\"\">\r\n                    <\/li>\r\n                                    <li class=\"jobsearch-column-12\" >\r\n                    <label>Full Address<\/label>                                            <input type=\"text\" id=\"jobsearch_location_address_59944018\"\r\n                               name=\"jobsearch_field_location_address\"\r\n                               class=\"\"\r\n                               placeholder=\"Enter a location\"\r\n                               value=\"\">\r\n                                        <input id=\"check_loc_addr_59944018\" type=\"hidden\" value=\"\">\r\n                <\/li>\r\n\r\n                                    <li id=\"find-on-mapbtn\" class=\"jobsearch-column-2\" style=\"display: none;\">\r\n                        <button id=\"jobsearch-findmap-59944018\" class=\"jobsearch-findmap-btn\">Find on Map<\/button>\r\n                    <\/li>\r\n                    \r\n                <li class=\"jobsearch-column-4 dash-maploc-latfield\" style=\"display: none;\">\r\n                    <label>Latitude<\/label>                    <input type=\"text\" id=\"jobsearch_location_lat_59944018\" name=\"jobsearch_field_location_lat\" value=\"37.090240\" \/>                <\/li>\r\n                <li class=\"jobsearch-column-4 dash-maploc-lngfield\" style=\"display: none;\">\r\n                    <label>Longitude<\/label>                    <input type=\"text\" id=\"jobsearch_location_lng_59944018\" name=\"jobsearch_field_location_lng\" value=\"-95.712891\" \/>                <\/li>\r\n                <li class=\"jobsearch-column-4 dash-maploc-zoomfield\" style=\"display: none;\">\r\n                    <label>Zoom<\/label>                    <input type=\"text\" id=\"jobsearch_location_zoom_59944018\" name=\"jobsearch_field_location_zoom\" value=\"12\" \/>                <\/li>\r\n                                <li class=\"jobsearch-column-12\" style=\"display: none;\">\r\n                    <div class=\"jobsearch-profile-map\">\r\n                        <div id=\"jobsearch-map-59944018\"\r\n                             style=\"width: 100%; height: 0px;\"><\/div>\r\n                    <\/div>\r\n                    <span class=\"jobsearch-short-message\" style=\"display: none;\">For the precise location, you can drag and drop the pin.<\/span>\r\n                <\/li>\r\n            <\/ul>\r\n            <\/div>            <script>\r\n                jQuery(document).ready(function () {\r\n                    const observer = new MutationObserver(function (mutationsList, observer) {\r\n                        for (const mutation of mutationsList) {\r\n                            if (mutation.attributeName == 'autocomplete' && jQuery(mutation.target).attr('autocomplete') == 'off') {\r\n                                observer.disconnect();\r\n                                jQuery(mutation.target).attr('autocomplete', 'none');\r\n                            }\r\n                        }\r\n                    });\r\n\r\n                    observer.observe(document.querySelector('select'), { attributes: true });\r\n                    observer.observe(document.querySelector('input'), { attributes: true });\r\n                });\r\n                                var map;\r\n                var getinAutoAdresFormtd = '';\r\n                var markers = [];\r\n                jQuery(document).ready(function () {\r\n                    function jobsearch_map_autocomplete_fields_59944018() {\r\n                        var autocomplete_input = document.getElementById('jobsearch_location_address_59944018');\r\n                        var autcomplete_options = {};\r\n                                                var autcomplete_options = {\r\n                            types: ['(cities)'],\r\n                        };\r\n                                                var selected_contries_json = '';\r\n                        var selected_contries = '[\"EG\",\"SA\",\"AE\"]';\r\n                        if (selected_contries != '') {\r\n                            var selected_contries_tojs = jQuery.parseJSON(selected_contries);\r\n                            selected_contries_json = {country: selected_contries_tojs};\r\n                            autcomplete_options.componentRestrictions = selected_contries_json;\r\n                        }\r\n\r\n                        const observer = new MutationObserver(function (mutationsList, observer) {\r\n                            for (const mutation of mutationsList) {\r\n                                if (mutation.attributeName == 'autocomplete' && jQuery(mutation.target).attr('autocomplete') == 'off') {\r\n                                    observer.disconnect();\r\n                                    jQuery(mutation.target).attr('autocomplete', 'none');\r\n                                }\r\n                            }\r\n                        });\r\n\r\n                        observer.observe(document.getElementById('jobsearch_location_address_59944018'), { attributes: true });\r\n\r\n                        var autocomplete = new google.maps.places.Autocomplete(autocomplete_input, autcomplete_options);\r\n                        google.maps.event.addListener(autocomplete, 'place_changed', function () {\r\n                            var getinAutoAdres = autocomplete.getPlace();\r\n                            getinAutoAdresFormtd = getinAutoAdres.formatted_address;\r\n                            find_on_map59944018($('#jobsearch_location_address_59944018'), getinAutoAdresFormtd);\r\n                        });\r\n                    }\r\n\r\n                    \/\/google.maps.event.addDomListener(window, 'load', jobsearch_map_autocomplete_fields_59944018);\r\n                    jobsearch_map_autocomplete_fields_59944018();\r\n                                        function initMap59944018() {\r\n                        var myLatLng = {lat: 37.090240, lng: -95.712891};\r\n                        map = new google.maps.Map(document.getElementById('jobsearch-map-59944018'), {\r\n                            zoom: 12,\r\n                            center: myLatLng,\r\n                            streetViewControl: false,\r\n                            scrollwheel: false,\r\n                            mapTypeControl: false,\r\n                        });\r\n                                                var styles = '[{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#444444\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#46bcec\"},{\"visibility\":\"on\"}]}]';\r\n                        if (styles != '') {\r\n                            styles = jQuery.parseJSON(styles);\r\n                            var styledMap = new google.maps.StyledMapType(\r\n                                styles,\r\n                                {name: 'Styled Map'}\r\n                            );\r\n                            map.mapTypes.set('map_style', styledMap);\r\n                            map.setMapTypeId('map_style');\r\n                        }\r\n                        \r\n                        var marker = new google.maps.Marker({\r\n                            position: myLatLng,\r\n                            map: map,\r\n                            draggable: true,\r\n                            title: '',\r\n                            icon: '',\r\n                        });\r\n\r\n                        markers.push(marker);\r\n\r\n                        google.maps.event.addListener(map, 'zoom_changed', function () {\r\n                            var zoom_lvl = map.getZoom();\r\n                            document.getElementById(\"jobsearch_location_zoom_59944018\").value = zoom_lvl;\r\n                        });\r\n                        google.maps.event.addListener(marker, 'dragend', function (event) {\r\n                            document.getElementById(\"jobsearch_location_lat_59944018\").value = this.getPosition().lat();\r\n                            document.getElementById(\"jobsearch_location_lng_59944018\").value = this.getPosition().lng();\r\n                        });\r\n\r\n                        \/\/ check for google geocoder\r\n                        var geocodr_chek_loc = 'London, United Kingdom';\r\n                        var geocoder_chek = new google.maps.Geocoder();\r\n                        geocoder_chek.geocode({address: geocodr_chek_loc}, function (results, status) {\r\n                            if (status == google.maps.GeocoderStatus.OK) {\r\n                                \/\/console.log(results);\r\n                            } else {\r\n                                jQuery('#find-on-mapbtn').hide();\r\n                            }\r\n                        });\r\n                    }\r\n\r\n                    \/\/google.maps.event.addDomListener(window, 'load', initMap59944018);\r\n                    initMap59944018();\r\n\r\n                    function find_on_map59944018(_this, std_val) {\r\n                        var $ = jQuery;\r\n                        var geocoder = new google.maps.Geocoder();\r\n                        var addres = _this.val();\r\n\r\n                        if (typeof std_val !== 'undefined' && std_val != '') {\r\n                            addres = std_val;\r\n                        }\r\n                        var lat_con = $('#jobsearch_location_lat_59944018');\r\n                        var lng_con = $('#jobsearch_location_lng_59944018');\r\n                        geocoder.geocode({address: addres}, function (results, status) {\r\n                            if (status == google.maps.GeocoderStatus.OK) {\r\n                                var new_latitude = results[0].geometry.location.lat();\r\n                                var new_longitude = results[0].geometry.location.lng();\r\n                                lat_con.val(new_latitude);\r\n                                lng_con.val(new_longitude);\r\n                                map.setCenter(results[0].geometry.location);\/\/center the map over the result\r\n\r\n                                \/\/\r\n                                document.getElementById(\"jobsearch_location_lat_59944018\").value = new_latitude;\r\n                                jQuery('#jobsearch_location_lat_59944018').attr('value', new_latitude);\r\n                                document.getElementById(\"jobsearch_location_lng_59944018\").value = new_longitude;\r\n                                jQuery('#jobsearch_location_lng_59944018').attr('value', new_longitude);\r\n                                \/\/\r\n\r\n                                \/\/ clear markers\r\n                                for (var i = 0; i < markers.length; i++) {\r\n                                    markers[i].setMap(null);\r\n                                }\r\n                                \/\/\r\n\r\n                                \/\/place a marker at the location\r\n                                var marker = new google.maps.Marker({\r\n                                    map: map,\r\n                                    position: results[0].geometry.location,\r\n                                    draggable: true,\r\n                                    title: '',\r\n                                    icon: '',\r\n                                });\r\n\r\n                                markers.push(marker);\r\n\r\n                                google.maps.event.addListener(marker, 'dragend', function (event) {\r\n                                    document.getElementById(\"jobsearch_location_lat_59944018\").value = this.getPosition().lat();\r\n                                    document.getElementById(\"jobsearch_location_lng_59944018\").value = this.getPosition().lng();\r\n                                });\r\n                            }\r\n                        });\r\n                    }\r\n\r\n                    jQuery(document).on('change', '#jobsearch_location_address_59944018', function () {\r\n                        var $ = jQuery;\r\n                                                $(this).val($(this).val() + ' EG');\r\n                                                find_on_map59944018($(this));\r\n                    });\r\n\r\n                    jQuery(document).on('click', '#jobsearch-findmap-59944018', function (e) {\r\n                        e.preventDefault();\r\n                        find_on_map59944018($('#jobsearch_location_address_59944018'));\r\n                        false;\r\n                    });\r\n                                    });\r\n                            <\/script>\r\n                        <script>\r\n                jQuery(document).ready(function () {\r\n                    if (jQuery('.location_location1').length > 0) {\r\n                        jQuery('.location_location1').trigger('change');\r\n                    }\r\n                });\r\n            <\/script>\r\n                                        <input type=\"hidden\" name=\"pt_user_role\" value=\"jobsearch_employer\">\r\n                                                <input type=\"hidden\" name=\"user_job_posting\" value=\"1\">\r\n                                        <div class=\"terms-priv-chek-con\">\r\n                    <p>\r\n                        <input type=\"checkbox\" name=\"terms_cond_check\" >\r\n                        <span class=\"terms-priv-check-inner\">\r\n                            \u0628\u0627\u0644\u0646\u0642\u0631 \u0639\u0644\u0649 \u0645\u0631\u0628\u0639 \u0627\u0644\u0627\u062e\u062a\u064a\u0627\u0631\u060c \u0641\u0625\u0646\u0643 \u062a\u0648\u0627\u0641\u0642 \u0639\u0644\u0649 <a href=\"https:\/\/edu-bridge.org\/ar\/%d8%a7%d9%84%d8%a3%d8%ad%d9%83%d8%a7%d9%85-%d9%88%d8%a7%d9%84%d8%b4%d8%b1%d9%88%d8%b7\/\" target=\"_blank\">\u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062d\u0643\u0627\u0645<\/a> \u0648<a href=\"https:\/\/edu-bridge.org\/ar\/%d8%b3%d9%8a%d8%a7%d8%b3%d8%a9-%d8%a7%d9%84%d8%ae%d8%b5%d9%88%d8%b5%d9%8a%d8%a9\/\" target=\"_blank\">\u0633\u064a\u0627\u0633\u0629 \u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629<\/a>.                        <\/span>\r\n                    <\/p>\r\n                <\/div>\r\n                                            <input type=\"submit\" class=\"jobsearch-employer-profile-submit jobsearch-postjob-btn\"\r\n                                   value=\"\u0623\u0646\u0634\u0631 \u0648\u0638\u064a\u0641\u0629\">\r\n                                        <\/form>\r\n                <\/div>\r\n    [\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":42,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-958","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/edu-bridge.org\/ar\/wp-json\/wp\/v2\/pages\/958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edu-bridge.org\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/edu-bridge.org\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/edu-bridge.org\/ar\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/edu-bridge.org\/ar\/wp-json\/wp\/v2\/comments?post=958"}],"version-history":[{"count":2,"href":"https:\/\/edu-bridge.org\/ar\/wp-json\/wp\/v2\/pages\/958\/revisions"}],"predecessor-version":[{"id":960,"href":"https:\/\/edu-bridge.org\/ar\/wp-json\/wp\/v2\/pages\/958\/revisions\/960"}],"wp:attachment":[{"href":"https:\/\/edu-bridge.org\/ar\/wp-json\/wp\/v2\/media?parent=958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}