{"id":797,"date":"2024-09-05T16:30:41","date_gmt":"2024-09-05T16:30:41","guid":{"rendered":"https:\/\/fwateery.com\/arabic\/?page_id=797"},"modified":"2025-07-15T03:07:59","modified_gmt":"2025-07-15T03:07:59","slug":"fwateery-create-ad","status":"publish","type":"page","link":"https:\/\/fwateery.com\/arabic\/fwateery-create-ad\/","title":{"rendered":"\u0637\u0644\u0628 \u0625\u0639\u0644\u0627\u0646"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"797\" class=\"elementor elementor-797\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8c49b68 ban-cl elementor-section-stretched elementor-reverse-mobile elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8c49b68\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;shape_divider_bottom&quot;:&quot;tilt&quot;,&quot;stretch_section&quot;:&quot;section-stretched&quot;}\">\n\t\t\t\t\t<div class=\"elementor-shape elementor-shape-bottom\" aria-hidden=\"true\" data-negative=\"false\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 1000 100\" preserveAspectRatio=\"none\">\n\t<path class=\"elementor-shape-fill\" d=\"M0,6V0h1000v100L0,6z\"\/>\n<\/svg>\t\t<\/div>\n\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-e732c7d\" data-id=\"e732c7d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4c55f2c elementor-widget elementor-widget-image\" data-id=\"4c55f2c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"363\" height=\"565\" src=\"https:\/\/fwateery.com\/arabic\/wp-content\/uploads\/2025\/07\/Untitled-1-0244.png\" class=\"attachment-full size-full wp-image-1005\" alt=\"\" srcset=\"https:\/\/fwateery.com\/arabic\/wp-content\/uploads\/2025\/07\/Untitled-1-0244.png 363w, https:\/\/fwateery.com\/arabic\/wp-content\/uploads\/2025\/07\/Untitled-1-0244-193x300.png 193w\" sizes=\"(max-width: 363px) 100vw, 363px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-78c91cd\" data-id=\"78c91cd\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c5c3046 elementor-widget elementor-widget-heading\" data-id=\"c5c3046\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0625\u0639\u0644\u0627\u0646\u0627\u062a \u0641\u0648\u0627\u062a\u064a\u0631\u064a<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c8808ee elementor-widget elementor-widget-text-editor\" data-id=\"c8808ee\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u064a\u0642\u062f\u0645 \u062a\u0637\u0628\u064a\u0642 \u0641\u0648\u0627\u062a\u064a\u0631\u064a \u0645\u0633\u0627\u062d\u0627\u062a \u0648\u0628\u0646\u0631\u0627\u062a \u0625\u0639\u0644\u0627\u0646\u064a\u0629 \u0628\u0623\u0645\u0627\u0643\u0646 \u0645\u062e\u062a\u0644\u0641\u0647 \u0641\u064a \u0627\u0644\u062a\u0637\u0628\u064a\u0642<\/p>\n<p>\u0625\u0628\u062f\u0623 \u0628\u0646\u0634\u0631 \u0625\u0639\u0644\u0627\u0646\u0643 \u0648 \u0627\u0644\u062a\u0631\u0648\u064a\u062c \u0644\u0645\u0646\u062a\u062c\u0627\u062a\u0643 \u0648 \u062e\u062f\u0645\u0627\u062a\u0643 \u0644\u062a\u0635\u0644 \u0644\u0639\u062f\u062f \u0643\u0628\u064a\u0631 \u0645\u0646 \u0645\u0633\u062a\u062e\u062f\u0645\u064a \u062a\u0637\u0628\u064a\u0642 \u0641\u0648\u0627\u062a\u064a\u0631\u064a<\/p>\n<p>\u0628\u0628\u0633\u0627\u0637\u0629 \u0642\u062f\u0651\u0645 \u0637\u0644\u0628 \u0625\u0639\u0644\u0627\u0646\u0643 \u0627\u0644\u0622\u0646 \u0628\u062a\u0639\u0628\u0626\u0629 \u0627\u0644\u0646\u0645\u0648\u0630\u062e \u0623\u062f\u0646\u0627\u0647 \u062b\u0645 \u0623\u0631\u0633\u0644\u0647 \u0644\u0646\u0627<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2298444c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2298444c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-61ad49ec\" data-id=\"61ad49ec\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5a7e73c8 elementor-widget elementor-widget-text-editor\" data-id=\"5a7e73c8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n<style>\n  body {\n    margin: 0%s;\n    font-family: Montserrat;\n  }\n\n  .main {\n    width: 100%;\n    border: 1px solid #dbdbdb;\n    border-radius: 10px;\n    -webkit-border-radius: 10px;\n    -moz-border-radius: 10px;\n    -ms-border-radius: 10px;\n    -o-border-radius: 10px;\n    background: linear-gradient(180deg, #FFFFFF 0%, #E8F3FF 100%);\n    margin: 40px 0px;\n  }\n\n\n  .main .tag {\n    display: flex;\n    flex-direction: row;\n    align-items: center;\n    background-color: #4085d2;\n    padding: 0% 60px;\n    margin-bottom: 40px;\n    border-top-left-radius: 10px;\n    border-top-right-radius: 10px;\n  }\n\n  .main .tag img {\n    width: 127px;\n    height: 116.77px;\n    top: 5px;\n    left: 71px;\n    gap: 0px;\n    opacity: 0px;\n  }\n\n  .main .tag h2 {\n    margin: 0% auto;\n    color: #ffffff;\n    font-size: 28px;\n    font-weight: 700;\n    line-height: 19.36px;\n    text-align: left;\n    text-transform: uppercase;\n  }\n\n  .row {\n    display: flex;\n    flex-direction: row;\n    padding: 0px 30px;\n    justify-content: space-between;\n    margin-bottom: 60px;\n  }\n\n  .col-8 {\n    width: 70%;\n  }\n\n  .col-8 .sub_main {\n    display: flex;\n    flex-direction: row;\n    justify-content: space-between;\n    margin-bottom: 20px;\n  }\n\n  .col-8 .sub_main .box {\n    width: 48%;\n  }\n\n  .col-8 .sub_main .box2 {\n    width: 100%;\n  }\n\n  .col-8 .sub_main label {\n    font-size: 18px;\n    font-weight: 500;\n    line-height: 29.4px;\n    text-align: left;\n    color: #606D82;\n  }\n\n  .red {\n    color: red;\n  }\n\n  .blue {\n    color: #4085D2 !important;\n  }\n\n  .py-3 {\n    padding: 20px 0px !important;\n  }\n\n  .col-8 .sub_main input,\n  .col-8 .sub_main select {\n    width: 100%;\n    border-radius: 10px;\n    font-size: 18px;\n    color: #606D82;\n    border: 1px solid #9CACD6;\n    box-sizing: border-box;\n  }\n\n  .col-8 .sub_main h6 {\n    font-size: 12px;\n    font-weight: 600;\n    color: #F30B0B;\n    margin: 0%;\n    margin-top: 5px;\n  }\n\n  .col-4 {\n    width: 25%;\n  }\n\n  .col-4 h6 {\n    font-size: 14px;\n    font-weight: 700;\n    color: #4085D2;\n    margin: 0%;\n    margin-bottom: 25px;\n  }\n\n  .col-4 .box {\n    text-align: center;\n  }\n\n  .col-4 .box img {\n    width: 90%;\n    height: 490px;\n  }\n\n  .tag2 {\n    background-color: #4085D2;\n    padding: 10px 35px;\n    margin-bottom: 50px;\n    margin-top: 50px;\n  }\n\n  .tag2 h2 {\n    font-size: 28px;\n    font-weight: 500;\n    color: #ffffff;\n    margin: 0px;\n  }\n\n  .location {\n    padding: 0px 30px;\n    margin-bottom: 30px;\n    display: flex;\n    flex-direction: row;\n  }\n\n  .location .checkbox {\n    width: 25%;\n    display: flex;\n    flex-direction: row;\n    align-items: center;\n  }\n\n  .location .days {\n    width: 16.6%;\n    display: flex;\n    flex-direction: row;\n    align-items: center;\n  }\n\n  .location input {\n    width: 20px;\n    height: 20px;\n  }\n\n  .location label {\n    font-size: 16px;\n    font-weight: 500;\n    line-height: 21.94px;\n    margin-left: 10px;\n  }\n\n  .text-center {\n    text-align: center;\n  }\n\n  .policy {\n    margin: 50px 0px;\n    display: flex;\n    flex-direction: row;\n    justify-content: center;\n  }\n\n  .policy input {\n    width: 20px;\n    height: 20px;\n  }\n\n  .policy label {\n    font-size: 16px;\n    font-weight: 500;\n    line-height: 21.94px;\n    margin-left: 10px;\n  }\n\n  .submit {\n    width: 25%;\n    margin: 0% auto;\n    margin-bottom: 60px;\n  }\n\n  .submit button {\n    background-color: #4086D2;\n    font-size: 18px;\n    font-weight: 500;\n    line-height: 16px;\n    text-align: center;\n    color: #ffffff;\n    border: none;\n    padding: 15px 10px;\n    border-radius: 20px;\n    -webkit-border-radius: 20px;\n    -moz-border-radius: 20px;\n    -ms-border-radius: 20px;\n    -o-border-radius: 20px;\n    width: 100%;\n  }\n\n  .text-sm {\n    font-size: 11px !important;\n    padding: 10px 16px 10px 16px !important;\n    background-color: #ffffff;\n  }\n<\/style>\n<link rel=\"stylesheet\" type=\"text\/css\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/pikaday\/css\/pikaday.css\">\n\n\n<!-- <form class=\"main\"> -->\n\n  <!-- ===== Advertisement Request form ===== -->\n  \n  <div class=\"row\">\n    <div class=\"col-8\">\n      <div class=\"sub_main\">\n        <div class=\"box\">\n          <label>\n              \u0625\u0633\u0645 \u0627\u0644\u0639\u0645\u064a\u0644\/\u0627\u0644\u0628\u0631\u0627\u0646\u062f\n          <\/label>\n          <input type=\"text\" name=\"clientName\" placeholder=\"Customer\/Brand name\">\n        <\/div>\n        <div class=\"box\">\n          <label>\n              \u0631\u0642\u0645 \u0627\u0644\u0645\u0648\u0628\u0627\u064a\u0644\n          <\/label>\n          <input type=\"text\" name=\"mobileNumber\" placeholder=\"Mobile no\">\n        <\/div>\n      <\/div>\n      <div class=\"sub_main\">\n        <div class=\"box\">\n          <label>\n              \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a\n          <\/label>\n          <input type=\"email\" name=\"email\" placeholder=\"Email Address\">\n        <\/div>\n        <div class=\"box\">\n          <label>\n              <span class=\"red\"> ( \u0627\u062e\u062a\u064a\u0627\u0631\u064a) <\/span>\u0627\u062e\u062a\u0631 \u062c\u0645\u0639\u064a\u062a\u0643 \u0627\u0644\u062a\u0639\u0627\u0648\u0646\u064a\u0647 \n          <\/label>\n          <select id=\"selectVendor\" name=\"vendor\" class=\"blue\">\n            <option value=\"\">\u0627\u062e\u062a\u0631 \u0627\u0644\u062c\u0645\u0639\u064a\u0629 \u0627\u0644\u062a\u0639\u0627\u0648\u0646\u064a\u0629<\/option>\n          <\/select>\n        <\/div>\n      <\/div>\n      <div class=\"sub_main\">\n        <div class=\"box\">\n          <label>\n              \u062a\u0627\u0631\u064a\u062e \u0627\u0644\u0628\u062f\u0627\u064a\u0629\n          <\/label>\n          <input type=\"text\" id=\"startDate\" name=\"startDate\" onchange=\"setEndDate();\" placeholder=\"Select Stating date\">\n        <\/div>\n        <div class=\"box\">\n          <label>\n              \u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u0625\u0639\u0644\u0627\u0646\n          <\/label>\n          <select id=\"selectAreas\" name=\"area\">\n            <option value=\"\">Select Area<\/option>\n          <\/select>\n        <\/div>\n      <\/div>\n      <div class=\"sub_main\">\n        <div class=\"box\">\n          <label>\n              \u0627\u062e\u062a\u0631 \u0646\u0648\u0639 \u0627\u0644\u0625\u0639\u0644\u0627\u0646\n          <\/label>\n          <select name=\"fileType\" id=\"fileType\" class=\"blue\">\n            <option checked value=\"POPUP\">Popup &#8211; \u0645\u0646\u0628\u062b\u0642<\/option>\n            <option value=\"BANNER\">Banner &#8211; \u062b\u0627\u0628\u062a<\/option>\n          <\/select>\n        <\/div>\n        <div class=\"box\">\n          <label>\n              \u0631\u0641\u0639 \u0645\u0644\u0641 \u0627\u0644\u0625\u0639\u0644\u0627\u0646\n          <\/label>\n          <input type=\"file\" id=\"imageUpload\" name=\"banner\" accept=\"image\/*\" class=\"text-sm\">\n          <h6 id=\"file-size-text\">(\u0645\u0646\u0628\u062b\u0642) .5m \u062d\u062c\u0645 \u0627\u0644\u0635\u0648\u0631\u0629 \u064a\u062c\u0628 \u0627\u0646 \u064a\u0643\u0648\u0646 1024\u00d71024 \u0648 \u0623\u0642\u0644 \u0645\u0646<\/h6>\n        <\/div>\n      <\/div>\n      <div class=\"sub_main\">\n        <div class=\"box2\">\n          <label>\n            <span class=\"red\"> (\u0627\u062e\u062a\u064a\u0627\u0631\u064a)<\/span> \u0625\u0636\u0627\u0641\u0629 \u0631\u0627\u0628\u0637 \u0645\u0648\u0642\u0639 URL \n          <\/label>\n          <input type=\"url\" name=\"url\" value=\"https:\/\/\" placeholder=\"Enter Ad Url\">\n        <\/div>\n      <\/div>\n    <\/div>\n    <div class=\"col-4\">\n      <h6 id=\"end-date\" style=\"display: none;\">The Ad will end at 11 September 2024<\/h6>\n      <div class=\"box\">\n        <img decoding=\"async\" id=\"phone-img\" src=\"assets\/images\/phone.png\" alt=\"phone\">\n      <\/div>\n    <\/div>\n  <\/div>\n\n  <!-- ===== Ad location in-ap ===== -->\n<div id=\"in-app-locations\" style=\"display:none\">\n  <div class=\"tag2\">\n    <h2>\u0645\u0648\u0642\u0639 \u0627\u0644\u0625\u0639\u0644\u0627\u0646 \u0641\u064a \u0627\u0644\u062a\u0637\u0628\u064a\u0642<\/h2>\n  <\/div>\n  <div id=\"in-app-locations-div\">\n  <\/div>\n<\/div>\n\n\n<!-- ====== Display Time ====== -->\n<div id=\"display-time\">\n    <div class=\"tag2\">\n      <h2>\u0648\u0642\u062a \u0639\u0631\u0636 \u0627\u0644\u0625\u0639\u0644\u0627\u0646<\/h2>\n    <\/div>\n    <div id=\"display-time-div\">\n    <\/div>\n<\/div>\n\n<!-- ===== Days of your Ad ===== -->\n<div id=\"no-of-days\">\n    <div class=\"tag2\">\n    <h2>\u0645\u062f\u0629 \u0639\u0631\u0636 \u0627\u0644\u0625\u0639\u0644\u0627\u0646    <\/h2>\n    <\/div>\n    <div id=\"no-of-days-div\">\n    <\/div>\n<\/div>\n\n  <!-- ====== Total Cost 250 KD ====== -->\n  <div class=\"tag2 text-center py-3\" style=\"display: none;\" id=\"total-cast-outer-div\">\n    <h2 id=\"total-cost\">250 KD \u0633\u0639\u0631 \u0627\u0644\u0625\u0639\u0644\u0627\u0646<\/h2>\n  <\/div>\n  <div class=\"policy\">\n    <input type=\"checkbox\" name=\"term-conditions\">\n    <label class=\"text-center\">\u0627\u0644\u0631\u062c\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 <a class=\"blue\" href=\"https:\/\/firebasestorage.googleapis.com\/v0\/b\/fwateery-a350e.appspot.com\/o\/public%2FF-Ads%20Terms%26Conditions.pdf?alt=media\" target=\"_blank\" style=\"cursor: pointer;\" rel=\"noopener\">\u0627\u0644\u0634\u0631\u0648\u0637 \u0648 \u0627\u0644\u0623\u062d\u0643\u0627\u0645<\/a>  \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u062e\u062f\u0645\u0629 \u0625\u0639\u0644\u0627\u0646\u0627\u062a \u0641\u0648\u0627\u062a\u064a\u0631\u064a \u0642\u0628\u0644 \u062a\u0642\u062f\u064a\u0645 \u0627\u0644\u0637\u0644\u0628<\/label>\n  <\/div>\n  <div class=\"submit\">\n    <button style=\"cursor: pointer;\" id=\"submit-button\" onclick=\"submitForm()\">\u062a\u0642\u062f\u064a\u0645<\/button>\n    <ul style=\"color: red;\" id=\"error\">\n        \n    <\/ul>\n  <\/div>\n  <div id=\"popup\" class=\"popup\">\n      <h3>Request Submitted!<\/h3>\n      <p>Your ad request has been submitted successfully!<\/p>\n      <p>An agent will contact you within 3 working days.<\/p>\n      <button onclick=\"closePopup()\">Close<\/button>\n  <\/div>\n   <!-- Overlay -->\n   <div id=\"overlay\" class=\"overlay\"><\/div>\n<!-- <\/form> -->\n\n\n\n<p><\/p>\n\n<script src=\"https:\/\/www.gstatic.com\/firebasejs\/8.10.0\/firebase-app.js\"><\/script>\n<!-- Firebase Storage (v8) -->\n<script src=\"https:\/\/www.gstatic.com\/firebasejs\/8.10.0\/firebase-storage.js\"><\/script>\n<style>\n \/* The popup container *\/\n .popup {\n            display: none;\n            position: fixed;\n            left: 50%;\n            top: 50%;\n            transform: translate(-50%, -50%);\n            width: 300px;\n            padding: 20px;\n            background-color: white;\n            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n            border-radius: 8px;\n            text-align: center;\n            z-index: 1000;\n        }\n\n        \/* Popup visible *\/\n        .popup.active {\n            display: block;\n        }\n\n        \/* Popup content *\/\n        .popup h3 {\n            margin-bottom: 10px;\n            color: #4085D2;\n        }\n\n        .popup p {\n            margin-bottom: 20px;\n        }\n\n        \/* Overlay *\/\n        .overlay {\n            display: none;\n            position: fixed;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n            background: rgba(0, 0, 0, 0.5);\n            z-index: 999;\n        }\n\n        .overlay.active {\n            display: block;\n        }\n\n        \/* Close button *\/\n        .popup button {\n            background-color: #4085D2;\n            color: white;\n            border: none;\n            padding: 10px 20px;\n            border-radius: 5px;\n            cursor: pointer;\n        }\n\n        .popup button:hover {\n            background-color: #4085D2;\n        }\n<\/style>\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/pikaday\/pikaday.js\"><\/script>\n<script>\n  var picker;\n  window.onload = function() {\n            \/\/ Get today's date\n            var today = new Date();\n            \n            \/\/ Add 3 days to the current date\n            today.setDate(today.getDate() + 3);\n            \n            \/\/ Format the date to YYYY-MM-DD\n            \/\/ var minDate = today.toISOString().split('T')[0];\n            \n            \/\/ Set the min attribute of the input field\n            \/\/ document.getElementById('startDate').setAttribute('min', minDate);\n            picker = new Pikaday({\n              field: document.getElementById('startDate'),\n              minDate: today,  \/\/ You can set min date here\n              format: 'YYYY-MM-DD',\n              toString(date, format) {\n                const day = (\"0\" + date.getDate()).slice(-2);\n                var month = (\"0\" + (date.getMonth() + 1)).slice(-2);\n                const year = date.getFullYear();\n                return `${year}-${month}-${day}`;\n              }\n            });\n    }\n    function openPopup() {\n      document.getElementById(\"popup\").classList.add(\"active\");\n      document.getElementById(\"overlay\").classList.add(\"active\");\n    }\n\n    \/\/ Function to close the popup\n    function closePopup() {\n      document.getElementById(\"popup\").classList.remove(\"active\");\n      document.getElementById(\"overlay\").classList.remove(\"active\");\n    }\n    let popupValue = null;\n    let storageURL = 'https:\/\/firebasestorage.googleapis.com\/v0\/b\/fwateery-a350e.appspot.com\/o\/';\n    let inAppLocations = [];\n    let fileTypeElement = document.getElementById('fileType');\n    let phoneImageElement = document.getElementById(\"phone-img\");\n    let termConditions = document.querySelector(\"input[name='term-conditions']\");\n\n     function getArabicNameOfLocation(name) {\n           if(name==='Home Screen (Banner 1)') {\n               return '\u0627\u0644\u0634\u0627\u0634\u0629 \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629 (1)';\n           } else if(name==='Home Screen (Banner 2)') {\n               return '\u0627\u0644\u0634\u0627\u0634\u0629 \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629 (2)';\n           } else if(name==='Reports (1st Quarter)') {\n              return '\u0627\u0644\u062a\u0642\u0627\u0631\u064a\u0631 (\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0623\u0648\u0644)';\n           } else if(name==='Reports (2nd Quarter)') {\n              return '\u0627\u0644\u062a\u0642\u0627\u0631\u064a\u0631 (\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u062b\u0627\u0646\u064a)';\n           } else if(name==='Reports (3rd Quarter)') {\n              return '\u0627\u0644\u062a\u0642\u0627\u0631\u064a\u0631 (\u0627\u0644\u0631\u0628\u0639  \u0627\u0644\u062b\u0627\u0644\u062b)';\n           } else if(name==='Reports (4th Quarter)') {\n              return '\u0627\u0644\u062a\u0642\u0627\u0631\u064a\u0631 (\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0631\u0627\u0628\u0639)';\n           } else if(name==='Reports (By Vendors)') {\n              return '\u0627\u0644\u062a\u0642\u0627\u0631\u064a\u0631 (\u0627\u0644\u0645\u0643\u0627\u0646)';\n           } else if(name==='Reports (Shared)') {\n              return '\u0627\u0644\u062a\u0642\u0627\u0631\u064a\u0631 (\u0627\u0644\u0645\u0634\u0627\u0631\u0643\u0629)';\n           } else {\n              return name;\n           }\n    }\n\n    function getArabicNameOfTime(name) {\n          if(name==='12AM-6AM') {\n              return '12\u0635 - 6\u0635';\n           } else if(name==='6AM-12PM') {\n              return '6\u0635 - 12\u0645';\n           } else if(name==='12PM-6PM') {\n              return '12\u0645 - 6\u0645'\n           } else if(name==='6PM-12AM') {\n              return '6\u0645 - 12\u0635';\n            } else if(name==='24-HOURS') {\n              return '24 \u0633\u0627\u0639\u0629';\n           } else {\n             return name;\n        }\n    }\n    function populateLocations(locations) {\n      const container = document.getElementById('in-app-locations-div');\n      \n      \/\/ Clear any previous content if needed\n      container.innerHTML = '';\n    \n      \/\/ Create the first wrapper div for the location\n      let locationDiv = document.createElement('div');\n      locationDiv.classList.add('location');\n    \n      \/\/ Loop through the locations array and create checkboxes\n      locations.forEach((location, index) => {\n        \/\/ Create checkbox container div\n        const checkboxDiv = document.createElement('div');\n        checkboxDiv.classList.add('checkbox');\n        \n        \/\/ Create input (checkbox)\n        const checkboxInput = document.createElement('input');\n        checkboxInput.type = 'radio';\n        checkboxInput.name = 'inAppLocation';\n        checkboxInput.value = location._id;\n        checkboxInput.addEventListener('change', changeInAppLocation);\n        \/\/ checkboxInput.checked = location.checked; \/\/ Set checked state\n    \n        \/\/ Create label\n        const label = document.createElement('label');\n        label.textContent = getArabicNameOfLocation(location.name);\n    \n        \/\/ Append input and label to checkbox div\n        checkboxDiv.appendChild(checkboxInput);\n        checkboxDiv.appendChild(label);\n    \n        \/\/ Append checkbox div to the current location div\n        locationDiv.appendChild(checkboxDiv);\n    \n        \/\/ After every 4 elements, append the current location div to the container and start a new one\n        if ((index + 1) % 4 === 0) {\n          \/\/ Append the current location div to the container\n          container.appendChild(locationDiv);\n    \n          \/\/ Create a new location div for the next set of checkboxes\n          locationDiv = document.createElement('div');\n          locationDiv.classList.add('location');\n        }\n      });\n    \n      \/\/ Append any remaining elements in the last location div (if not a multiple of 4)\n      if (locationDiv.children.length > 0) {\n        container.appendChild(locationDiv);\n      }\n    }\n\n    function setTimeSlots(timeSlots) {\n      const container = document.getElementById('display-time-div');\n      \n      \/\/ Clear any previous content if needed\n      container.innerHTML = '';\n    \n      \/\/ Create the first wrapper div for the location\n      let locationDiv = document.createElement('div');\n      locationDiv.classList.add('location');\n    \n      \/\/ Loop through the locations array and create checkboxes\n      timeSlots.forEach((timeSlot, index) => {\n        \/\/ Create checkbox container div\n        const checkboxDiv = document.createElement('div');\n        checkboxDiv.classList.add('days');\n        \n        \/\/ Create input (checkbox)\n        const checkboxInput = document.createElement('input');\n        checkboxInput.type = 'radio';\n        checkboxInput.name = 'timeSlot';\n        checkboxInput.value = timeSlot.timeSlot;\n        checkboxInput.addEventListener('change', changeTimeSlot);\n        if(index===0) {\n            checkboxInput.checked = true;\n        }\n        \/\/ checkboxInput.addEventListener('change', changeInAppLocation);\n    \n        \/\/ Create label\n        const label = document.createElement('label');\n        label.textContent = getArabicNameOfTime(timeSlot.timeSlot);\n        label.dir='rtl'; \n        \/\/ Append input and label to checkbox div\n        checkboxDiv.appendChild(checkboxInput);\n        checkboxDiv.appendChild(label);\n    \n        \/\/ Append checkbox div to the current location div\n        locationDiv.appendChild(checkboxDiv);\n    \n        \/\/ After every 4 elements, append the current location div to the container and start a new one\n        if ((index + 1) % 4 === 0) {\n          \/\/ Append the current location div to the container\n          container.appendChild(locationDiv);\n    \n          \/\/ Create a new location div for the next set of checkboxes\n          locationDiv = document.createElement('div');\n          locationDiv.classList.add('location');\n        }\n      });\n    \n      \/\/ Append any remaining elements in the last location div (if not a multiple of 4)\n      if (locationDiv.children.length > 0) {\n        container.appendChild(locationDiv);\n      }\n    }\n   function getDaysArabicName(name) {\n      if(name==='1 days') {\n         return '1 \u064a\u0648\u0645';\n      } else if(name==='7 days') {\n         return '7 \u0623\u064a\u0627\u0645';\n      } else if(name==='15 days') {\n         return '15 \u064a\u0648\u0645';\n      } else if(name==='30 days') {\n         return '30 \u064a\u0648\u0645';\n      } else {\n         return name;\n      }\n   }\n\n    function setNoOfDays(noOfDays) {\n    \n      const container = document.getElementById('no-of-days-div');\n      \n      \/\/ Clear any previous content if needed\n      container.innerHTML = '';\n    \n      \/\/ Create the first wrapper div for the location\n      let locationDiv = document.createElement('div');\n      locationDiv.classList.add('location');\n    \n      \/\/ Loop through the locations array and create checkboxes\n      noOfDays.forEach((noOfDay, index) => {\n        \/\/ Create checkbox container div\n        const checkboxDiv = document.createElement('div');\n        checkboxDiv.classList.add('days');\n        \n        \/\/ Create input (checkbox)\n        const checkboxInput = document.createElement('input');\n        checkboxInput.type = 'radio';\n        checkboxInput.name = 'noOfDays';\n        checkboxInput.value = noOfDay.noOfDays;\n        checkboxInput.addEventListener('change', setTotalCost);\n        if(index===0) {\n            checkboxInput.checked = true;\n        }\n        \/\/ checkboxInput.addEventListener('change', changeInAppLocation);\n    \n        \/\/ Create label\n        const label = document.createElement('label');\n        label.textContent = getDaysArabicName(noOfDay.noOfDays + (noOfDay.noOfDays>0 ? ' days' : 'day'));\n    label.dir='rtl';\n        \/\/ Append input and label to checkbox div\n        checkboxDiv.appendChild(checkboxInput);\n        checkboxDiv.appendChild(label);\n    \n        \/\/ Append checkbox div to the current location div\n        locationDiv.appendChild(checkboxDiv);\n    \n        \/\/ After every 4 elements, append the current location div to the container and start a new one\n        if ((index + 1) % 4 === 0) {\n          \/\/ Append the current location div to the container\n          container.appendChild(locationDiv);\n    \n          \/\/ Create a new location div for the next set of checkboxes\n          locationDiv = document.createElement('div');\n          locationDiv.classList.add('location');\n        }\n      });\n    \n      \/\/ Append any remaining elements in the last location div (if not a multiple of 4)\n      if (locationDiv.children.length > 0) {\n        container.appendChild(locationDiv);\n      }\n    }\n\n    function getTotalCost() {\n        const selectedFileType = fileTypeElement.value;\n        let selectedInAppLocation = null;\n        let selectedTimeSlot = null;\n        let selectedNoOfDays = null;\n        let totalPrice = 0;\n        if(selectedFileType==='POPUP') {\n                selectedInAppLocation = popupValue._id;\n        } else {\n            if(document.querySelector('input[name=\"inAppLocation\"]:checked')) {\n                selectedInAppLocation = document.querySelector('input[name=\"inAppLocation\"]:checked').value;\n            }\n        }\n\n        if(document.querySelector('input[name=\"timeSlot\"]:checked')) {\n            selectedTimeSlot = document.querySelector('input[name=\"timeSlot\"]:checked').value;\n        }\n\n        if(document.querySelector('input[name=\"noOfDays\"]:checked')) {\n            selectedNoOfDays = document.querySelector('input[name=\"noOfDays\"]:checked').value;\n        }\n\n        if(selectedInAppLocation && selectedTimeSlot && selectedNoOfDays) {\n            if(selectedFileType==='POPUP') {\n                totalPrice = totalPrice + popupValue.price;\n                let timeSlotObj = popupValue.timeSlots.filter(o => o.timeSlot===selectedTimeSlot);\n                timeSlotObj = timeSlotObj.length>0 ? timeSlotObj[0] : null;\n                if(timeSlotObj) {\n                    let noOfDaysObj = timeSlotObj.days.filter(o => Number(o.noOfDays)===Number(selectedNoOfDays));\n                    noOfDaysObj = noOfDaysObj.length>0 ? noOfDaysObj[0] : null;\n                    if(noOfDaysObj) {\n                        totalPrice = totalPrice + noOfDaysObj.price; \n                    }\n                }\n            } else {\n                if(document.querySelector('input[name=\"inAppLocation\"]:checked')) {\n                    selectedInAppLocation = document.querySelector('input[name=\"inAppLocation\"]:checked').value;\n                    let inAppLocationObj = inAppLocations.filter(o => o._id===selectedInAppLocation);\n                    inAppLocationObj = inAppLocationObj.length>0 ? inAppLocationObj[0] : null;\n                    if(inAppLocationObj) {\n                        totalPrice = totalPrice + inAppLocationObj.price;\n                        let timeSlotObj = inAppLocationObj.timeSlots.filter(o => o.timeSlot===selectedTimeSlot);\n                        timeSlotObj = timeSlotObj.length>0 ? timeSlotObj[0] : null;\n                        if(timeSlotObj) {\n                            let noOfDaysObj = timeSlotObj.days.filter(o => Number(o.noOfDays)===Number(selectedNoOfDays));\n                            noOfDaysObj = noOfDaysObj.length>0 ? noOfDaysObj[0] : null;\n                            if(noOfDaysObj) {\n                                totalPrice = totalPrice + noOfDaysObj.price; \n                            }\n                        }\n                    }\n                }\n            }\n        }\n        return totalPrice;\n    }\n\n    function setEndDate() {\n      let startDate = document.querySelector('input[name=\"startDate\"]').value;\n      startDate =  startDate ? new Date(startDate) : null;\n      if(startDate) {\n        const end = new Date(startDate);\n        const noOfDays = document.querySelector('input[name=\"noOfDays\"]:checked') ? document.querySelector('input[name=\"noOfDays\"]:checked').value : null;\n        if(end && noOfDays) {\n          end.setDate(end.getDate() + parseInt(noOfDays));\n          const options = { day: 'numeric', month: 'long', year: 'numeric' };\n          const formattedDate = end.toLocaleDateString('en-GB', options);\n          document.getElementById(\"end-date\").style.display = 'block';\n          document.getElementById(\"end-date\").innerHTML = `The Ad will end at ${formattedDate}`;;\n        }\n      }\n    }\n    function setTotalCost(){\n        const totalPrice = getTotalCost();\n        if(totalPrice>0) {\n            document.getElementById(\"total-cast-outer-div\").style.display = 'block';\n            document.getElementById(\"total-cost\").innerHTML = `${totalPrice} KD \u0633\u0639\u0631 \u0627\u0644\u0625\u0639\u0644\u0627\u0646`;\n        } else {\n            document.getElementById(\"total-cast-outer-div\").style.display = 'none';\n        }\n        setEndDate();\n    }\n\n    function changeTimeSlot() {\n        let selectedValue = null;\n        if(document.querySelector('input[name=\"timeSlot\"]:checked')) {\n            selectedValue = document.querySelector('input[name=\"timeSlot\"]:checked').value;\n            const selectedFileType = fileTypeElement.value;\n            let inAppLocationID = null;\n            if(selectedFileType=='POPUP') {\n                inAppLocationID = popupValue._id;\n            } else {\n                if(document.querySelector('input[name=\"inAppLocation\"]:checked')) {\n                    inAppLocationID = document.querySelector('input[name=\"inAppLocation\"]:checked').value;\n                }\n            }\n\n            inAppLocations.forEach(item => {\n                if(inAppLocationID===item._id) {\n                    const obj = item.timeSlots.filter(ts => ts.timeSlot===selectedValue);\n                    setNoOfDays(obj.length>0 ? obj[0].days : []);\n                }\n            });\n\n        }\n        setTotalCost();\n    }\n\n    function changeInAppLocation() {\n        const selectedFileType = fileTypeElement.value;\n        if(selectedFileType=='POPUP') {\n            if(popupValue) phoneImageElement.src = storageURL + popupValue.image;\n\n            setTimeSlots(popupValue.timeSlots);\n        } else {\n            let selectedValue = null;\n            if(document.querySelector('input[name=\"inAppLocation\"]:checked')) {\n                selectedValue  = document.querySelector('input[name=\"inAppLocation\"]:checked').value;\n            }\n            inAppLocations.forEach(item => {\n                if(selectedValue===item._id) {\n                    setTimeSlots(item.timeSlots);\n                    phoneImageElement.src = storageURL + item.image;\n                }\n            });\n        }\n        setTotalCost();\n    }\n\n    function changeFileType() {\n        const selectedFileType = fileTypeElement.value;\n        if(selectedFileType=='POPUP') {\n          document.getElementById(\"in-app-locations\").style.display=\"none\";\n          document.getElementById('file-size-text').innerHTML = '(\u0645\u0646\u0628\u062b\u0642) .5m \u062d\u062c\u0645 \u0627\u0644\u0635\u0648\u0631\u0629 \u064a\u062c\u0628 \u0627\u0646 \u064a\u0643\u0648\u0646 1024\u00d71024 \u0648 \u0623\u0642\u0644 \u0645\u0646';\n        } else {\n            document.getElementById('file-size-text').innerHTML = '(\u062b\u0627\u0628\u062a) .5m \u062d\u062c\u0645 \u0627\u0644\u0635\u0648\u0631\u0629 \u064a\u062c\u0628 \u0627\u0646 \u064a\u0643\u0648\u0646 2800\u00d71200 \u0648 \u0623\u0642\u0644 \u0645\u0646 ';\n            document.getElementById(\"in-app-locations\").style.display=\"block\";\n            if(inAppLocations.length>0 && document.querySelector('input[name=\"inAppLocation\"]')) document.querySelector('input[name=\"inAppLocation\"]').checked = true;\n            \/\/ document.querySelector('input[name=\"inAppLocation\"]').addEventListener('change', changeInAppLocation);\n            \n        }\n\n        changeInAppLocation();\n    }\n\n    (async function() {\n        const responseData = await fetch(\"https:\/\/fwateery-e36122065f2e.herokuapp.com\/api\/get-website-data\");\n        if (!responseData.ok) {\n            throw new Error(`HTTP error! Status: ${response.status}`);\n        }\n        const data = await responseData.json();\n        const selectAreasElement = document.getElementById('selectAreas');\n        const selectVendorElement = document.getElementById('selectVendor');\n        const areas = data.areasOfAd;\n        const vendors = data.vendors;\n        inAppLocations = data.inAppLocations;\n        inAppLocations = inAppLocations.filter(item => {\n            if(item.alias==='POP_UP') {\n                popupValue = item;\n                document.getElementById(\"phone-img\").src = storageURL + item.image;\n                setTimeSlots(popupValue.timeSlots);\n                setNoOfDays(popupValue.timeSlots.length > 0 ? popupValue.timeSlots[0].days : []);\n                setTotalCost();\n                return false;\n            } else {\n                return true;\n            }\n        });\n        populateLocations(inAppLocations);\n        areas.forEach(option => {\n            const newOption = document.createElement('option');\n            newOption.value = option._id;\n            newOption.textContent = option.name;\n            selectAreasElement.appendChild(newOption);\n        });\n        vendors.forEach(option => {\n            const newOption = document.createElement('option');\n            newOption.value = option._id;\n            newOption.textContent = option.nameAr;\n            selectVendorElement.appendChild(newOption);\n        });\n        fileTypeElement.addEventListener('change', changeFileType);\n\n        document.getElementById('imageUpload').addEventListener('change', function(event) {\n          const file = event.target.files[0];\n          \n\n          if (file) {\n            const maxFileSize = 5 * 1024 * 1024; \/\/ 5MB\n              \/\/ Check file size\n              if (file.size > maxFileSize) {\n                  alert('File size exceeds the 5MB limit.');\n                  document.getElementById('imageUpload').value = \"\"; \n                  return;\n              }\n\n              \/\/ Check image dimensions (using JavaScript Image object)\n              const img = new Image();\n              img.src = URL.createObjectURL(file);\n              img.onload = function() {\n                  const selectedFileType = fileTypeElement.value;\n                  if(selectedFileType=='POPUP') {\n                    if (img.width!==1024 || img.height!==1024) {\n                        alert('Image dimensions should be 1024X1024.');\n                        document.getElementById('imageUpload').value = \"\"; \n                    }\n                  } else {\n                    if (img.width!==2800 || img.height!==1200) {\n                        alert('Image dimensions should not exceed 1200X2800 pixels.');\n                        document.getElementById('imageUpload').value = \"\"; \n                    }   \n                  }\n              };\n          }\n      });\n\n    })();\n\n    function validateImage(file) {\n        return new Promise((resolve, reject) => {\n            const img = new Image();\n            img.onload = function () {\n                if (this.width === 200 && this.height === 200) {\n                    resolve(true);\n                } else {\n                    resolve(false);\n                }\n            };\n            img.onerror = reject;\n            img.src = URL.createObjectURL(file);\n        });\n    }\n\n\n    function showErrorMessages(message) {\n        const messagesDiv = document.getElementById('error');\n        console.log(\"messagesDiv\", messagesDiv);\n        const li = document.createElement('li');\n        li.textContent = message;\n        messagesDiv.appendChild(li);\n    }\n\n    function generateTimestampFilename() {\n        const timestamp = Date.now().toString(36);\n        const randomString = Math.random().toString(36).substring(2, 7);\n        return `${timestamp}-${randomString}`;\n    }\n\n    function uploadFile(filename, image) {\n        const file = image;\n        if (!file) {\n            return false; \/\/ Handle no file selected case\n        }\n        return new Promise((resolve, reject) => {\n            try {\n                const firebaseConfig = {\n                apiKey: \"AIzaSyBJWPIVEeULNQ6oGNJLq5NN0B4njXOXYG8\",\n                authDomain: \"fwateery-a350e.firebaseapp.com\",\n                projectId: \"fwateery-a350e\",\n                storageBucket: \"fwateery-a350e.appspot.com\",\n                messagingSenderId: \"732506173257\",\n                appId: \"1:732506173257:web:db9c94f05d87fee203f498\"\n            };\n            const app = firebase.initializeApp(firebaseConfig);\n\n            const storagee = firebase.storage();\n            const storageRef = storagee.ref();\n            const imageRef = storageRef.child('public\/' + filename + file.name)\n            console.log(\"imageRef\", imageRef);\n            imageRef.put(file).then((snapshot) => {\n                console.log(\"snapshot\", encodeURIComponent(snapshot.metadata.fullPath) + \"?alt=media\");\n                resolve(encodeURIComponent(snapshot.metadata.fullPath) + \"?alt=media\");\n                \/\/ console.log('Uploaded a blob or file!', snapshot);\n            }).catch(err => {\n                console.log(\"err\", err);\n                resolve(false);\n            });\n            } catch (e) {\n            console.log(\"error\", e);\n            resolve(false);\n            }\n        });\n    }\n\n    async function submitForm() {\n        document.getElementById('submit-button').innerHTML = 'Submitting';\n        document.getElementById('error').innerHTML = '';\n        const clientName = document.querySelector('input[name=\"clientName\"]').value;\n        const mobileNumber = document.querySelector('input[name=\"mobileNumber\"]').value;\n        const email = document.querySelector('input[name=\"email\"]').value;\n        const vendor = document.querySelector('select[name=\"vendor\"]').value;\n        const startDate = document.querySelector('input[name=\"startDate\"]').value;\n        const area = document.querySelector('select[name=\"area\"]').value;\n        const fileType = document.querySelector('select[name=\"fileType\"]').value;\n        const url = document.querySelector('input[name=\"url\"]').value;\n        const inAppLocation = document.querySelector('input[name=\"inAppLocation\"]:checked') ? document.querySelector('input[name=\"inAppLocation\"]:checked').value : null;\n        const timeSlot = document.querySelector('input[name=\"timeSlot\"]:checked') ? document.querySelector('input[name=\"timeSlot\"]:checked').value : null;\n        const noOfDays = document.querySelector('input[name=\"noOfDays\"]:checked') ? document.querySelector('input[name=\"noOfDays\"]:checked').value : null;\n        const banner = document.querySelector('input[name=\"banner\"]');\n        const imageFile = banner.files[0];\n        const isValidImage = imageFile ? (true || (await validateImage(imageFile))) : false;\n\n        if( clientName && mobileNumber && email && startDate && area && isValidImage && termConditions.checked ) {\n\n            \n            const filename = generateTimestampFilename();\n            const fileUrl = await uploadFile(filename, imageFile);\n            if (!fileUrl) {\n                showErrorMessages('Image Uploading Error!')\n                document.getElementById('submit-button').innerHTML = 'Submit';\n                return;\n            }\n            const totalCost = getTotalCost();\n            let res = await fetch('https:\/\/fwateery-e36122065f2e.herokuapp.com\/api\/send-ad-request', {\n                method: 'POST',\n                headers: {\n                    'Content-Type': 'application\/json',\n                },\n                body: JSON.stringify({\n                    clientName, \n                    mobileNumber, \n                    email, \n                    startDate, \n                    area, \n                    fileUrl: 'https:\/\/firebasestorage.googleapis.com\/v0\/b\/fwateery-a350e.appspot.com\/o\/' + fileUrl, \n                    url, \n                    inAppLocation, \n                    timeSlot, \n                    noOfDays, \n                    vendor,\n                    totalCost,\n                    fileType\n                }),\n            });\n            res = await res.json();\n            if(res.status === 'success') {\n              document.getElementById('submit-button').innerHTML = 'Submit';\n              openPopup();\n            } else {\n              document.getElementById('submit-button').innerHTML = 'Submit';\n              showErrorMessages(res.message)\n            }\n\n        } else {\n            if(!clientName) showErrorMessages('Client Name is required.');\n            if(!mobileNumber) showErrorMessages('Mobile Number is required.');\n            if(!email) showErrorMessages('Email is required.');\n            if(!startDate) showErrorMessages('Start Date is required.');\n            if(!area) showErrorMessages('Area is required.');\n            if(!isValidImage) showErrorMessages('Banner is not valid.');\n            if(!termConditions.checked) showErrorMessages('Please checked terms & conditions.');\n\n            document.getElementById('submit-button').innerHTML = 'Submit';\n        }\n\n\n    }\n\n<\/script>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0625\u0639\u0644\u0627\u0646\u0627\u062a \u0641\u0648\u0627\u062a\u064a\u0631\u064a \u064a\u0642\u062f\u0645 \u062a\u0637\u0628\u064a\u0642 \u0641\u0648\u0627\u062a\u064a\u0631\u064a \u0645\u0633\u0627\u062d\u0627\u062a \u0648\u0628\u0646\u0631\u0627\u062a \u0625\u0639\u0644\u0627\u0646\u064a\u0629 \u0628\u0623\u0645\u0627\u0643\u0646 \u0645\u062e\u062a\u0644\u0641\u0647 \u0641\u064a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0625\u0628\u062f\u0623 \u0628\u0646\u0634\u0631 \u0625\u0639\u0644\u0627\u0646\u0643 \u0648 \u0627\u0644\u062a\u0631\u0648\u064a\u062c \u0644\u0645\u0646\u062a\u062c\u0627\u062a\u0643 \u0648 \u062e\u062f\u0645\u0627\u062a\u0643 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-797","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fwateery.com\/arabic\/wp-json\/wp\/v2\/pages\/797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwateery.com\/arabic\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fwateery.com\/arabic\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fwateery.com\/arabic\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwateery.com\/arabic\/wp-json\/wp\/v2\/comments?post=797"}],"version-history":[{"count":107,"href":"https:\/\/fwateery.com\/arabic\/wp-json\/wp\/v2\/pages\/797\/revisions"}],"predecessor-version":[{"id":1017,"href":"https:\/\/fwateery.com\/arabic\/wp-json\/wp\/v2\/pages\/797\/revisions\/1017"}],"wp:attachment":[{"href":"https:\/\/fwateery.com\/arabic\/wp-json\/wp\/v2\/media?parent=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}