{"id":12046,"date":"2026-03-12T23:45:16","date_gmt":"2026-03-12T20:45:16","guid":{"rendered":"https:\/\/www.mitsu.co.il\/?page_id=12046"},"modified":"2026-04-21T10:32:24","modified_gmt":"2026-04-21T07:32:24","slug":"%d7%91%d7%93%d7%99%d7%a7%d7%aa-%d7%9e%d7%a1%d7%a4%d7%a8-%d7%a8%d7%99%d7%a9%d7%95%d7%99-%d7%a9%d7%9c-%d7%9b%d7%9c%d7%99-%d7%a8%d7%9b%d7%91-%d7%91%d7%a2%d7%9c-%d7%aa%d7%95-%d7%a0%d7%9b%d7%94","status":"publish","type":"page","link":"https:\/\/www.mitsu.co.il\/?page_id=12046","title":{"rendered":"\u05d1\u05d3\u05d9\u05e7\u05ea \u05ea\u05d5 \u05e0\u05db\u05d4 \u05dc\u05e4\u05d9 \u05de\u05e1\u05e4\u05e8 \u05e8\u05d9\u05e9\u05d5\u05d9"},"content":{"rendered":"<p>\u05d3\u05e3 \u05d6\u05d4 \u05de\u05d9\u05d5\u05e2\u05d3 \u05dc\u05e9\u05d9\u05de\u05d5\u05e9 \u05d0\u05d9\u05e9\u05d9 \u05d1\u05dc\u05d1\u05d3. \u05e0\u05d9\u05e6\u05d5\u05dc \u05dc\u05e8\u05e2\u05d4 \u05e9\u05dc \u05d4\u05d3\u05e3 \u05d5\u05d4\u05e4\u05e2\u05dc\u05ea \u05e2\u05d5\u05de\u05e1 \u05de\u05d9\u05d5\u05ea\u05e8 \u05e2\u05dc \u05d4\u05d0\u05ea\u05e8 \u05ea\u05d6\u05db\u05d4 \u05d0\u05ea\u05db\u05dd \u05d1\u05d7\u05e1\u05d9\u05de\u05d4 \u05dc\u05d0\u05dc\u05ea\u05e8 \u05dc\u05dc\u05d0 \u05d0\u05d6\u05d4\u05e8\u05d4 \u05de\u05e8\u05d0\u05e9.<\/p>\n<div id=\"vehicle-search\" style=\"font-family: Arial, sans-serif; direction: rtl;\">\n  <input\n    type=\"text\"\n    id=\"license-input\"\n    placeholder=\"\u05d4\u05db\u05e0\u05e1 \u05de\u05e1\u05e4\u05e8 \u05e8\u05d9\u05e9\u05d5\u05d9...\"\n    maxlength=\"8\"\n    style=\"padding: 8px 12px; font-size: 16px; width: 200px; border: 1px solid #ccc; border-radius: 4px;\"\n  \/>\n  <button\n    id=\"search-btn\"\n    onclick=\"searchVehicle()\"\n    style=\"padding: 8px 16px; font-size: 16px; background: #0073aa; color: white; border: none; border-radius: 4px; cursor: pointer; margin-right: 8px;\"\n  >\n    \u05d7\u05e4\u05e9\n  <\/button>\n  <div id=\"rate-msg\" style=\"margin-top: 8px; font-size: 14px; color: #c0392b;\"><\/div>\n  <div id=\"search-result\" style=\"margin-top: 16px;\"><\/div>\n<\/div>\n\n<script>\nvar lastQueryTime = 0;\nvar queryCount = 0;\nvar windowStart = 0;\nvar cooldownTimer = null;\n\nvar COOLDOWN_SECONDS = 10;\nvar MAX_PER_MINUTE = 10;\n\nfunction formatDateYYYYMMDD(val) {\n  if (!val) return '-';\n  var s = String(val);\n  if (s.length !== 8) return s;\n  return s.substring(6, 8) + '\/' + s.substring(4, 6) + '\/' + s.substring(0, 4);\n}\n\nfunction searchVehicle() {\n  var now = Date.now();\n  var licenseNum = document.getElementById('license-input').value.trim();\n  var resultDiv = document.getElementById('search-result');\n  var rateMsg = document.getElementById('rate-msg');\n  var btn = document.getElementById('search-btn');\n\n  rateMsg.innerHTML = '';\n\n  if (!licenseNum) {\n    resultDiv.innerHTML = '<p style=\"color: red;\">\u05d9\u05e9 \u05dc\u05d4\u05d6\u05d9\u05df \u05de\u05e1\u05e4\u05e8 \u05e8\u05d9\u05e9\u05d5\u05d9.<\/p>';\n    return;\n  }\n\n  var elapsed = (now - lastQueryTime) \/ 1000;\n  if (lastQueryTime > 0 && elapsed < COOLDOWN_SECONDS) {\n    var remaining = Math.ceil(COOLDOWN_SECONDS - elapsed);\n    disableButton(remaining);\n    return;\n  }\n\n  if (now - windowStart > 60000) {\n    windowStart = now;\n    queryCount = 0;\n  }\n  if (queryCount >= MAX_PER_MINUTE) {\n    var waitSec = Math.ceil((60000 - (now - windowStart)) \/ 1000);\n    rateMsg.innerHTML = '\u05d4\u05d2\u05e2\u05ea \u05dc\u05de\u05d2\u05d1\u05dc\u05ea \u05d4\u05e9\u05d0\u05d9\u05dc\u05ea\u05d5\u05ea. \u05e0\u05e1\u05d4 \u05e9\u05d5\u05d1 \u05d1\u05e2\u05d5\u05d3 ' + waitSec + ' \u05e9\u05e0\u05d9\u05d5\u05ea.';\n    btn.disabled = true;\n    btn.style.background = '#aaa';\n    btn.style.cursor = 'not-allowed';\n    setTimeout(function() {\n      btn.disabled = false;\n      btn.style.background = '#0073aa';\n      btn.style.cursor = 'pointer';\n      rateMsg.innerHTML = '';\n      queryCount = 0;\n    }, waitSec * 1000);\n    return;\n  }\n\n  lastQueryTime = now;\n  queryCount++;\n  disableButton(COOLDOWN_SECONDS);\n\n  resultDiv.innerHTML = '<p>\u05de\u05d7\u05e4\u05e9...<\/p>';\n\n  var filters = '{\"MISPAR RECHEV\":\"' + licenseNum + '\"}';\n  var url = 'https:\/\/data.gov.il\/api\/3\/action\/datastore_search?resource_id=c8b9f9c8-4612-4068-934f-d4acd2e3c06e&filters=' + encodeURIComponent(filters);\n\n  fetch(url)\n    .then(function(response) { return response.json(); })\n    .then(function(data) {\n      var records = data.result.records;\n\n      if (records.length === 0) {\n        resultDiv.innerHTML = '<p style=\"color: #c0392b;\">\u05dc\u05e8\u05db\u05d1 \u05d6\u05d4 \u05dc\u05d0 \u05e7\u05d9\u05d9\u05dd \u05ea\u05d5 \u05e0\u05db\u05d4 \u05e0\u05db\u05d5\u05df \u05dc\u05e8\u05d2\u05e2 \u05d6\u05d4.<\/p>';\n        return;\n      }\n\n      var v = records[0];\n      var tagDate = formatDateYYYYMMDD(v['TAARICH HAFAKAT TAG']);\n      var sugTav = v['SUG TAV'];\n      var tavType = sugTav === 1 ? '\u05ea\u05d5 \u05e0\u05db\u05d4 \u05e8\u05d2\u05d9\u05dc' : sugTav === 2 ? '\u05ea\u05d5 \u05e0\u05db\u05d4 \u05dc\u05db\u05d9\u05e1\u05d0 \u05d2\u05dc\u05d2\u05dc\u05d9\u05dd' : '\u05e1\u05d5\u05d2 ' + sugTav;\n\n      var html = '<table style=\"border-collapse: collapse; width: 100%; max-width: 600px;\">';\n      html += '<tr style=\"background:#f9f9f9;\">';\n      html += '<td style=\"padding: 6px 12px; border: 1px solid #ddd; font-weight: bold; width: 50%;\">\u05de\u05e1\u05e4\u05e8 \u05e8\u05d9\u05e9\u05d5\u05d9<\/td>';\n      html += '<td style=\"padding: 6px 12px; border: 1px solid #ddd;\">' + v['MISPAR RECHEV'] + '<\/td>';\n      html += '<\/tr>';\n      html += '<tr style=\"background:#ffffff;\">';\n      html += '<td style=\"padding: 6px 12px; border: 1px solid #ddd; font-weight: bold;\">\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05e4\u05e7\u05ea \u05ea\u05d2<\/td>';\n      html += '<td style=\"padding: 6px 12px; border: 1px solid #ddd;\">' + tagDate + '<\/td>';\n      html += '<\/tr>';\n      html += '<tr style=\"background:#f9f9f9;\">';\n      html += '<td style=\"padding: 6px 12px; border: 1px solid #ddd; font-weight: bold;\">\u05e1\u05d5\u05d2 \u05ea\u05d5<\/td>';\n      html += '<td style=\"padding: 6px 12px; border: 1px solid #ddd;\">' + tavType + '<\/td>';\n      html += '<\/tr>';\n      html += '<\/table>';\n      html += '<p style=\"color: #27ae60; font-weight: bold; margin-top: 12px;\">\u05dc\u05e8\u05db\u05d1 \u05d6\u05d4 \u05d9\u05e9 \u05ea\u05d5 \u05e0\u05db\u05d4 \u05d1\u05ea\u05d5\u05e7\u05e3.<\/p>';\n      resultDiv.innerHTML = html;\n    })\n    .catch(function() {\n      resultDiv.innerHTML = '<p style=\"color: red;\">\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05d2\u05d9\u05e9\u05d4 \u05dc\u05de\u05d0\u05d2\u05e8 \u05d4\u05de\u05d9\u05d3\u05e2. \u05e0\u05e1\u05d4 \u05e9\u05d5\u05d1 \u05de\u05d0\u05d5\u05d7\u05e8 \u05d9\u05d5\u05ea\u05e8.<\/p>';\n    });\n}\n\nfunction disableButton(seconds) {\n  var btn = document.getElementById('search-btn');\n  var remaining = seconds;\n\n  btn.disabled = true;\n  btn.style.background = '#aaa';\n  btn.style.cursor = 'not-allowed';\n  btn.innerText = '\u05d4\u05de\u05ea\u05df ' + remaining + ' \u05e9\u05e0\u05d9\u05d5\u05ea';\n\n  if (cooldownTimer) clearInterval(cooldownTimer);\n\n  cooldownTimer = setInterval(function() {\n    remaining--;\n    if (remaining <= 0) {\n      clearInterval(cooldownTimer);\n      btn.disabled = false;\n      btn.style.background = '#0073aa';\n      btn.style.cursor = 'pointer';\n      btn.innerText = '\u05d7\u05e4\u05e9';\n    } else {\n      btn.innerText = '\u05d4\u05de\u05ea\u05df ' + remaining + ' \u05e9\u05e0\u05d9\u05d5\u05ea';\n    }\n  }, 1000);\n}\n\ndocument.getElementById('license-input').addEventListener('keydown', function(e) {\n  if (e.key === 'Enter') searchVehicle();\n});\n<\/script>\n<p>\u05d4\u05e2\u05e8\u05d4: \u05de\u05d9\u05d3\u05e2 \u05d6\u05d4 \u05de\u05d5\u05d1\u05d0 \u05db\u05de\u05d5 \u05e9\u05d4\u05d5\u05d0, \u05dc\u05dc\u05d0 \u05e2\u05e8\u05d9\u05db\u05d4 \u05d5\u05dc\u05dc\u05d0 \u05d1\u05d3\u05d9\u05e7\u05d4 \u05e0\u05d5\u05e1\u05e4\u05ea. \u05db\u05dc \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05de\u05d9\u05d3\u05e2 \u05d6\u05d4 \u05d1\u05d0\u05d7\u05e8\u05d9\u05d5\u05ea \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d1\u05dc\u05d1\u05d3.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-12052\" src=\"https:\/\/www.mitsu.co.il\/wp-content\/uploads\/2026\/03\/tav-neche-parking-1024x683.png\" alt=\"\" width=\"678\" height=\"452\" srcset=\"https:\/\/www.mitsu.co.il\/wp-content\/uploads\/2026\/03\/tav-neche-parking-1024x683.png 1024w, https:\/\/www.mitsu.co.il\/wp-content\/uploads\/2026\/03\/tav-neche-parking-300x200.png 300w, https:\/\/www.mitsu.co.il\/wp-content\/uploads\/2026\/03\/tav-neche-parking-768x512.png 768w, https:\/\/www.mitsu.co.il\/wp-content\/uploads\/2026\/03\/tav-neche-parking.png 1152w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/p>\n<p><a href=\"https:\/\/www.mitsu.co.il\/?page_id=12057\">\u05d7\u05d6\u05e8\u05d4 \u05dc\u05db\u05dc\u05d9\u05dd \u05e9\u05d9\u05de\u05d5\u05e9\u05d9\u05d9\u05dd<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u05d3\u05e3 \u05d6\u05d4 \u05de\u05d9\u05d5\u05e2\u05d3 \u05dc\u05e9\u05d9\u05de\u05d5\u05e9 \u05d0\u05d9\u05e9\u05d9 \u05d1\u05dc\u05d1\u05d3. \u05e0\u05d9\u05e6\u05d5\u05dc \u05dc\u05e8\u05e2\u05d4 \u05e9\u05dc \u05d4\u05d3\u05e3 \u05d5\u05d4\u05e4\u05e2\u05dc\u05ea \u05e2\u05d5\u05de\u05e1 \u05de\u05d9\u05d5\u05ea\u05e8 \u05e2\u05dc \u05d4\u05d0\u05ea\u05e8 \u05ea\u05d6\u05db\u05d4 \u05d0\u05ea\u05db\u05dd \u05d1\u05d7\u05e1\u05d9\u05de\u05d4 \u05dc\u05d0\u05dc\u05ea\u05e8 \u05dc\u05dc\u05d0 \u05d0\u05d6\u05d4\u05e8\u05d4 \u05de\u05e8\u05d0\u05e9. \u05d4\u05e2\u05e8\u05d4: \u05de\u05d9\u05d3\u05e2 \u05d6\u05d4 \u05de\u05d5\u05d1\u05d0 \u05db\u05de\u05d5 \u05e9\u05d4\u05d5\u05d0, \u05dc\u05dc\u05d0 \u05e2\u05e8\u05d9\u05db\u05d4 \u05d5\u05dc\u05dc\u05d0 \u05d1\u05d3\u05d9\u05e7\u05d4 \u05e0\u05d5\u05e1\u05e4\u05ea. \u05db\u05dc \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05de\u05d9\u05d3\u05e2 \u05d6\u05d4 \u05d1\u05d0\u05d7\u05e8\u05d9\u05d5\u05ea \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d1\u05dc\u05d1\u05d3. \u05d7\u05d6\u05e8\u05d4 \u05dc\u05db\u05dc\u05d9\u05dd \u05e9\u05d9\u05de\u05d5\u05e9\u05d9\u05d9\u05dd<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-12046","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.mitsu.co.il\/index.php?rest_route=\/wp\/v2\/pages\/12046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mitsu.co.il\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mitsu.co.il\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mitsu.co.il\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mitsu.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12046"}],"version-history":[{"count":5,"href":"https:\/\/www.mitsu.co.il\/index.php?rest_route=\/wp\/v2\/pages\/12046\/revisions"}],"predecessor-version":[{"id":12156,"href":"https:\/\/www.mitsu.co.il\/index.php?rest_route=\/wp\/v2\/pages\/12046\/revisions\/12156"}],"wp:attachment":[{"href":"https:\/\/www.mitsu.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}