{"id":2276,"date":"2026-07-08T15:51:04","date_gmt":"2026-07-08T12:21:04","guid":{"rendered":"https:\/\/ploan.ir\/services\/?page_id=2276"},"modified":"2026-07-09T10:31:16","modified_gmt":"2026-07-09T07:01:16","slug":"apply-zarinpoor","status":"publish","type":"page","link":"https:\/\/ploan.ir\/services\/apply-zarinpoor\/","title":{"rendered":"\u0627\u0639\u062a\u0628\u0627\u0631 \u062f\u0631\u0645\u0627\u0646\u06cc &#8211; \u062f\u06a9\u062a\u0631 \u0632\u0631\u06cc\u0646 \u067e\u0648\u0631"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2276\" class=\"elementor elementor-2276\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-17976d5 e-con e-atomic-element e-flexbox-base e-17976d5-59736cd \" data-id=\"17976d5\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"17976d5\" data-e-type=\"e-flexbox\" data-id=\"17976d5\">\n    \t\t<div class=\"elementor-element elementor-element-cc8cdcc elementor-widget elementor-widget-html\" data-id=\"cc8cdcc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div class=\"zarinpoor-embed-wrap\">\r\n  <iframe\r\n    id=\"zarinpoorFrame\"\r\n    src=\"\/zarinpoor\/\"\r\n    title=\"Zarinpoor App\"\r\n    scrolling=\"no\"\r\n  ><\/iframe>\r\n<\/div>\r\n\r\n<style>\r\n  .zarinpoor-embed-wrap {\r\n    width: 100%;\r\n    overflow: hidden;\r\n    line-height: 0; \/* \u062d\u0630\u0641 \u0641\u0627\u0635\u0644\u0647\u200c\u0647\u0627\u06cc \u0645\u062a\u0646\u06cc \u0627\u062d\u062a\u0645\u0627\u0644\u06cc *\/\r\n  }\r\n\r\n  #zarinpoorFrame {\r\n    width: 100%;\r\n    border: 0;\r\n    display: block;\r\n    min-height: 200px;\r\n    \/* \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u067e\u0631\u0634 \u0646\u0627\u06af\u0647\u0627\u0646\u06cc *\/\r\n    transition: height 0.2s ease-out; \r\n  }\r\n<\/style>\r\n\r\n<style>\r\n  \/* \u062d\u0630\u0641 \u06a9\u0627\u0645\u0644 \u0641\u0627\u0635\u0644\u0647\u200c\u0647\u0627\u06cc \u062e\u0627\u0631\u062c\u06cc \u0648 \u062f\u0627\u062e\u0644\u06cc \u06a9\u0627\u0646\u062a\u06cc\u0646\u0631 *\/\r\n  .zarinpoor-embed-wrap {\r\n    width: 100vw !important; \/* \u062a\u0645\u0627\u0645 \u0639\u0631\u0636 \u0635\u0641\u062d\u0647 \u0646\u0645\u0627\u06cc\u0634 *\/\r\n    margin-left: calc(-50vw + 50%) !important; \/* \u062a\u0631\u0641\u0646\u062f \u0628\u0631\u0627\u06cc \u0628\u06cc\u0631\u0648\u0646 \u0632\u062f\u0646 \u0627\u0632 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200c\u0647\u0627\u06cc \u0627\u0644\u0645\u0646\u062a\u0648\u0631 *\/\r\n    margin-right: calc(-50vw + 50%) !important;\r\n    overflow: hidden !important;\r\n    padding: 0 !important;\r\n  }\r\n\r\n  #zarinpoorFrame {\r\n    width: 100% !important;\r\n    border: 0 !important;\r\n    display: block !important;\r\n    padding: 0 !important;\r\n    margin: 0 !important;\r\n  }\r\n<\/style>\r\n\r\n<script>\r\n  function resizeZarinpoorFrame() {\r\n    const iframe = document.getElementById('zarinpoorFrame');\r\n    if (!iframe || !iframe.contentWindow) return;\r\n\r\n    try {\r\n      const doc = iframe.contentWindow.document;\r\n      \r\n      \/\/ \u062f\u0631 \u0645\u0648\u0628\u0627\u06cc\u0644\u060c \u0628\u0647 \u062c\u0627\u06cc \u06a9\u0644 \u0635\u0641\u062d\u0647\u060c \u0627\u0631\u062a\u0641\u0627\u0639 \u0627\u0644\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0645\u062d\u062a\u0648\u0627 \u062f\u0627\u062e\u0644\u0634 \u0647\u0633\u062a \u0631\u0627 \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u0645\r\n      \/\/ \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u06cc\u0627 body \u0627\u0633\u062a \u06cc\u0627 \u0627\u0648\u0644\u06cc\u0646 div \u062f\u0627\u062e\u0644 \u0622\u0646\r\n      const contentHeight = Math.max(\r\n        doc.body.scrollHeight, \r\n        doc.documentElement.scrollHeight,\r\n        doc.body.offsetHeight\r\n      );\r\n\r\n      \/\/ \u062a\u0631\u0641\u0646\u062f \u0627\u0635\u0644\u06cc: \u0627\u06af\u0631 \u0627\u0631\u062a\u0641\u0627\u0639 \u0645\u062d\u0627\u0633\u0628\u0647 \u0634\u062f\u0647 \u062e\u06cc\u0644\u06cc \u0632\u06cc\u0627\u062f \u0628\u0648\u062f (\u0628\u06cc\u0634 \u0627\u0632 \u06f1.\u06f5 \u0628\u0631\u0627\u0628\u0631 \u0627\u0631\u062a\u0641\u0627\u0639 \u0641\u0639\u0644\u06cc \u062f\u0631 \u0645\u0648\u0628\u0627\u06cc\u0644)\r\n      \/\/ \u06cc\u0627 \u0627\u06af\u0631 \u0645\u0642\u062f\u0627\u0631 \u062b\u0627\u0628\u062a \u0639\u062c\u06cc\u0628\u06cc \u0628\u0648\u062f\u060c \u0622\u0646 \u0631\u0627 \u062a\u0639\u062f\u06cc\u0644 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.\r\n      \/\/ \u0627\u0645\u0627 \u062f\u0631 \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u06cc\u0646 \u062d\u0627\u0644\u062a\u060c \u0645\u0627 \u0641\u0642\u0637 \u0645\u0642\u062f\u0627\u0631 \u062f\u0642\u06cc\u0642 \u0631\u0627 \u0628\u062f\u0648\u0646 \u062d\u0627\u0634\u06cc\u0647 \u0627\u0636\u0627\u0641\u0647 \u0633\u062a \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645:\r\n      if (contentHeight > 0) {\r\n        iframe.style.height = contentHeight + 'px';\r\n      }\r\n    } catch (e) {\r\n      console.warn('Access denied to iframe content');\r\n    }\r\n  }\r\n\r\n  const iframe = document.getElementById('zarinpoorFrame');\r\n  if (iframe) {\r\n    iframe.addEventListener('load', function () {\r\n      \/\/ \u06cc\u06a9 \u0628\u0627\u0631 \u0627\u062c\u0631\u0627 \u0628\u0644\u0627\u0641\u0627\u0635\u0644\u0647\r\n      resizeZarinpoorFrame();\r\n      \r\n      \/\/ \u0627\u062c\u0631\u0627\u06cc \u0628\u0627 \u062a\u0627\u062e\u06cc\u0631 \u0628\u0631\u0627\u06cc \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0639\u06a9\u0633\u200c\u0647\u0627 \u062f\u0631 \u0645\u0648\u0628\u0627\u06cc\u0644 \u0644\u0648\u062f \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\r\n      setTimeout(resizeZarinpoorFrame, 500);\r\n      setTimeout(resizeZarinpoorFrame, 1500);\r\n    });\r\n  }\r\n\r\n  \/\/ \u0627\u0635\u0644\u0627\u062d \u0628\u0631\u0627\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u0647\u0646\u06af\u0627\u0645 \u0686\u0631\u062e\u0627\u0646\u062f\u0646 \u06af\u0648\u0634\u06cc \u06cc\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0633\u0627\u06cc\u0632\r\n  window.addEventListener('resize', () => {\r\n    setTimeout(resizeZarinpoorFrame, 200);\r\n  });\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\n<\/div>\n\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":-1,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2276","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/pages\/2276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/comments?post=2276"}],"version-history":[{"count":4,"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/pages\/2276\/revisions"}],"predecessor-version":[{"id":2281,"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/pages\/2276\/revisions\/2281"}],"wp:attachment":[{"href":"https:\/\/ploan.ir\/services\/wp-json\/wp\/v2\/media?parent=2276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}