{"id":41,"date":"2026-07-30T11:47:58","date_gmt":"2026-07-30T11:47:58","guid":{"rendered":"https:\/\/italianyard.ge\/?p=41"},"modified":"2026-07-30T11:47:58","modified_gmt":"2026-07-30T11:47:58","slug":"41","status":"publish","type":"post","link":"https:\/\/italianyard.ge\/?p=41","title":{"rendered":""},"content":{"rendered":"\n<div class=\"gzad-container\" style=\"max-width: 500px; margin: 0 auto; font-family: sans-serif; padding: 15px;\">\n    <!-- \u10e1\u10d0\u10d7\u10d0\u10e3\u10e0\u10d8 \u10d3\u10d0 \u10d1\u10e0\u10d4\u10dc\u10d3\u10d8 -->\n    <div style=\"text-align: center; margin-bottom: 20px;\">\n        <h2 style=\"color: #0d233a; margin: 0; font-size: 24px;\">Gzad<span style=\"color: #10b981;\">.app<\/span><\/h2>\n        <p style=\"color: #6b7280; margin: 5px 0 0 0; font-size: 14px;\">\u10e2\u10d0\u10e5\u10e1\u10d6\u10d4 \u10d8\u10d0\u10e4\u10d8, \u10e1\u10d0\u10d6\u10dd\u10d2\u10d0\u10d3\u10dd\u10d4\u10d1\u10e0\u10d8\u10d5\u10d6\u10d4 \u10d9\u10dd\u10db\u10e4\u10dd\u10e0\u10e2\u10e3\u10da\u10d8<\/p>\n    <\/div>\n\n    <!-- \u10db\u10d8\u10e1\u10d0\u10db\u10d0\u10e0\u10d7\u10d4\u10d1\u10d8\u10e1 \u10e8\u10d4\u10e7\u10d5\u10d0\u10dc\u10d0 -->\n    <div style=\"background: #ffffff; padding: 15px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 15px;\">\n        <input id=\"origin-input\" type=\"text\" placeholder=\"\u10e1\u10d0\u10d8\u10d3\u10d0\u10dc? (\u10db\u10d0\u10d2: \u10de\u10d4\u10d9\u10d8\u10dc\u10d8\u10e1 34)\" style=\"width: 100%; padding: 12px; margin-bottom: 10px; border: 1px solid #e5e7eb; border-radius: 8px; box-sizing: border-box;\">\n        <input id=\"destination-input\" type=\"text\" placeholder=\"\u10e1\u10d0\u10d3 \u10db\u10d8\u10d3\u10d8\u10ee\u10d0\u10e0\u10d7?\" style=\"width: 100%; padding: 12px; border: 1px solid #e5e7eb; border-radius: 8px; box-sizing: border-box;\">\n    <\/div>\n\n    <!-- \u10e0\u10d4\u10d0\u10da\u10e3\u10e0 \u10d3\u10e0\u10dd\u10e8\u10d8 \u10e4\u10d0\u10e1\u10d8\u10e1 \u10e9\u10d5\u10d4\u10dc\u10d4\u10d1\u10d0 -->\n    <div id=\"fare-box\" style=\"display: none; background: #ecfdf5; border: 1px solid #10b981; padding: 15px; border-radius: 12px; text-align: center; margin-bottom: 15px;\">\n        <span style=\"color: #065f46; font-size: 14px; display: block;\">\u10e4\u10d8\u10e5\u10e1\u10d8\u10e0\u10d4\u10d1\u10e3\u10da\u10d8 \u10db\u10d2\u10d6\u10d0\u10d5\u10e0\u10dd\u10d1\u10d8\u10e1 \u10e1\u10d0\u10e4\u10d0\u10e1\u10e3\u10e0\u10d8:<\/span>\n        <strong id=\"calculated-fare\" style=\"color: #10b981; font-size: 24px;\">0.00 \u10da\u10d0\u10e0\u10d8<\/strong>\n    <\/div>\n\n    <!-- \u10e0\u10e3\u10d9\u10d8\u10e1 \u10d0\u10d3\u10d2\u10d8\u10da\u10d8 -->\n    <div id=\"map\" style=\"width: 100%; height: 350px; border-radius: 12px; background: #e5e7eb; box-shadow: 0 4px 6px rgba(0,0,0,0.05);\"><\/div>\n    \n    <!-- \u10eb\u10d4\u10d1\u10dc\u10d8\u10e1 \u10e6\u10d8\u10da\u10d0\u10d9\u10d8 -->\n    <button id=\"search-btn\" style=\"width: 100%; background: #10b981; color: white; border: none; padding: 15px; border-radius: 8px; font-size: 16px; font-weight: bold; margin-top: 15px; cursor: pointer; display: none;\">\u10d2\u10d6\u10d0\u10d3 \u10db\u10e7\u10dd\u10e4\u10d8 \u10db\u10d0\u10dc\u10e5\u10d0\u10dc\u10d8\u10e1 \u10eb\u10d4\u10d1\u10dc\u10d0<\/button>\n<\/div>\n\n<!-- Google Maps \u10e1\u10d9\u10e0\u10d8\u10de\u10e2\u10d4\u10d1\u10d8\u10e1 \u10e9\u10d0\u10e2\u10d5\u10d8\u10e0\u10d7\u10d5\u10d0 -->\n<script src=\"https:\/\/googleapis.com\" async defer><\/script>\n\n<script>\nlet map, directionsService, directionsRenderer;\n\nfunction initGzadApp() {\n    \/\/ \u10e1\u10d0\u10ec\u10e7\u10d8\u10e1\u10d8 \u10ec\u10d4\u10e0\u10e2\u10d8\u10da\u10d8: \u10d7\u10d1\u10d8\u10da\u10d8\u10e1\u10d8\n    const tbilisi = { lat: 41.7151, lng: 44.8271 };\n    \n    map = new google.maps.Map(document.getElementById(\"map\"), {\n        zoom: 12,\n        center: tbilisi,\n        disableDefaultUI: true\n    });\n\n    directionsService = new google.maps.DirectionsService();\n    directionsRenderer = new google.maps.DirectionsRenderer();\n    directionsRenderer.setMap(map);\n\n    \/\/ \u10db\u10d8\u10e1\u10d0\u10db\u10d0\u10e0\u10d7\u10d4\u10d1\u10d8\u10e1 \u10d0\u10d5\u10e2\u10dd\u10db\u10d0\u10e2\u10e3\u10e0\u10d8 \u10e8\u10d4\u10d5\u10e1\u10d4\u10d1\u10d0 (Autocomplete)\n    const originInput = document.getElementById(\"origin-input\");\n    const destInput = document.getElementById(\"destination-input\");\n    \n    const options = { componentRestrictions: { country: \"ge\" } };\n    const autocompleteOrigin = new google.maps.places.Autocomplete(originInput, options);\n    const autocompleteDest = new google.maps.places.Autocomplete(destInput, options);\n\n    autocompleteOrigin.addListener(\"place_changed\", calculateRoute);\n    autocompleteDest.addListener(\"place_changed\", calculateRoute);\n}\n\nfunction calculateRoute() {\n    const origin = document.getElementById(\"origin-input\").value;\n    const destination = document.getElementById(\"destination-input\").value;\n\n    if (!origin || !destination) return;\n\n    directionsService.route({\n        origin: origin,\n        destination: destination,\n        travelMode: google.maps.TravelMode.DRIVING\n    }, (response, status) => {\n        if (status === \"OK\") {\n            directionsRenderer.setDirections(response);\n            \n            \/\/ \u10db\u10d0\u10dc\u10eb\u10d8\u10da\u10d8\u10e1 \u10d2\u10d0\u10d2\u10d4\u10d1\u10d0 \u10d9\u10d8\u10da\u10dd\u10db\u10d4\u10e2\u10e0\u10d4\u10d1\u10e8\u10d8\n            const distanceInKm = response.routes[0].legs[0].distance.value \/ 1000;\n            \n            \/\/ \u10e9\u10d5\u10d4\u10dc\u10d8 \u10e4\u10d0\u10e1\u10d8\u10e1 \u10d0\u10da\u10d2\u10dd\u10e0\u10d8\u10d7\u10db\u10d8: 1 \u10da\u10d0\u10e0\u10d8 \u10e9\u10d0\u10ef\u10d3\u10dd\u10db\u10d0 + 40 \u10d7\u10d4\u10d7\u10e0\u10d8 \u10e7\u10dd\u10d5\u10d4\u10da\u10d8 \u10d9\u10db\n            const baseFare = 1.00;\n            const perKmRate = 0.40;\n            const totalFare = baseFare + (distanceInKm * perKmRate);\n\n            \/\/ \u10d4\u10d9\u10e0\u10d0\u10dc\u10d6\u10d4 \u10d2\u10d0\u10db\u10dd\u10e2\u10d0\u10dc\u10d0\n            document.getElementById(\"calculated-fare\").innerText = totalFare.toFixed(2) + \" \u10da\u10d0\u10e0\u10d8\";\n            document.getElementById(\"fare-box\").style.display = \"block\";\n            document.getElementById(\"search-btn\").style.display = \"block\";\n        }\n    });\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Gzad.app \u10e2\u10d0\u10e5\u10e1\u10d6\u10d4 \u10d8\u10d0\u10e4\u10d8, \u10e1\u10d0\u10d6\u10dd\u10d2\u10d0\u10d3\u10dd\u10d4\u10d1\u10e0\u10d8\u10d5\u10d6\u10d4 \u10d9\u10dd\u10db\u10e4\u10dd\u10e0\u10e2\u10e3\u10da\u10d8 \u10e4\u10d8\u10e5\u10e1\u10d8\u10e0\u10d4\u10d1\u10e3\u10da\u10d8 \u10db\u10d2\u10d6\u10d0\u10d5\u10e0\u10dd\u10d1\u10d8\u10e1 \u10e1\u10d0\u10e4\u10d0\u10e1\u10e3\u10e0\u10d8: 0.00 \u10da\u10d0\u10e0\u10d8 \u10d2\u10d6\u10d0\u10d3 \u10db\u10e7\u10dd\u10e4\u10d8 \u10db\u10d0\u10dc\u10e5\u10d0\u10dc\u10d8\u10e1 \u10eb\u10d4\u10d1\u10dc\u10d0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/italianyard.ge\/index.php?rest_route=\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/italianyard.ge\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/italianyard.ge\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/italianyard.ge\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/italianyard.ge\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=41"}],"version-history":[{"count":1,"href":"https:\/\/italianyard.ge\/index.php?rest_route=\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":42,"href":"https:\/\/italianyard.ge\/index.php?rest_route=\/wp\/v2\/posts\/41\/revisions\/42"}],"wp:attachment":[{"href":"https:\/\/italianyard.ge\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/italianyard.ge\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/italianyard.ge\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}