{"id":398,"date":"2025-02-07T18:05:20","date_gmt":"2025-02-07T16:05:20","guid":{"rendered":"https:\/\/afinica.ru\/?page_id=398"},"modified":"2025-05-12T16:40:46","modified_gmt":"2025-05-12T13:40:46","slug":"kalkulyator-srednego-balla-po-grecheskoj-sisteme-obrazovaniya","status":"publish","type":"page","link":"https:\/\/afinica.ru\/el\/kalkulyator-srednego-balla-po-grecheskoj-sisteme-obrazovaniya\/","title":{"rendered":"\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e \u0431\u0430\u043b\u043b\u0430 \u043f\u043e \u0433\u0440\u0435\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"398\" class=\"elementor elementor-398\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-329eb4e e-flex e-con-boxed e-con e-parent\" data-id=\"329eb4e\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-13255b2 e-con-full e-flex e-con e-child\" data-id=\"13255b2\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f94a0bb elementor-widget elementor-widget-heading\" data-id=\"f94a0bb\" 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<h1 class=\"elementor-heading-title elementor-size-default\">\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e \u0431\u0430\u043b\u043b\u0430 \u043f\u043e \u0433\u0440\u0435\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b10b72e elementor-widget elementor-widget-shortcode\" data-id=\"b10b72e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div id=\"calculator-container\">\r\n      <!-- \u0428\u0430\u0433 1: \u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 -->\r\n      <div id=\"step1\" class=\"step active\">\r\n        <h1>\u0414\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c!<\/h1>\r\n        <p>\r\n          \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u043c, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u0431\u0430\u043b\u043b \u0432 \u0433\u0440\u0435\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0448\u0430\u043d\u0441 \u043d\u0430 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u0444\u0430\u043a\u0443\u043b\u044c\u0442\u0435\u0442. \u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u041c\u0438\u043d\u0438\u0441\u0442\u0435\u0440\u0441\u0442\u0432\u043e\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0413\u0440\u0435\u0446\u0438\u0438!\r\n          <br>\r\n<p>\u0427\u0442\u043e\u0431\u044b \u0432\u044b \u043c\u043e\u0433\u043b\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0432\u0430\u0448\u0438 \u0448\u0430\u043d\u0441\u044b \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043d\u044b\u0439 \u0444\u0430\u043a\u0443\u043b\u044c\u0442\u0435\u0442, \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0438\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u0446\u0435\u0432 \u0437\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0433\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e\u0442\u0441\u044f \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u041c\u0438\u043d\u0438\u0441\u0442\u0435\u0440\u0441\u0442\u0432\u0430 \u041e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0413\u0440\u0435\u0446\u0438\u0438:<\/p>\r\n<p><a href=\"https:\/\/www.minedu.gov.gr\/allogeneis-m\/anakoinwseis-allodapoi\">https:\/\/www.minedu.gov.gr\/allogeneis-m\/anakoinwseis-allodapoi<\/a><\/p>\r\n<p>\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0443\u0441\u043b\u0443\u0433\u0438.<\/p>\r\n<p><a href=\"https:\/\/afinica.ru\/uslugi-po-postupleniyu\/\">https:\/\/afinica.ru\/uslugi-po-postupleniyu\/<\/a><\/p>\r\n<p>\u0422\u0430\u043a\u0436\u0435, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441 \u043d\u0430\u043c\u0438 \u0434\u043b\u044f \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u0446\u0438\u0438 (\u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e)<\/p>\r\n<p>(+30) 6937757870 (Viber\/WhatsAp\u0440\/Telegram) \u041a\u0440\u0443\u0442\u043e\u0432\u0435\u0440\u0446\u0435\u0432\u0430 \u041e\u043b\u044c\u0433\u0430 \u041c\u0438\u0445\u0430\u0439\u043b\u043e\u0432\u043d\u0430<\/p><br>\r\n          \u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e:\r\n          <ul>\r\n            <li>\u0418\u043c\u0435\u0442\u044c \u0430\u0442\u0442\u0435\u0441\u0442\u0430\u0442 \u0437\u0430 10\/11\/12 \u043a\u043b\u0430\u0441\u0441 \u0438\u043b\u0438 \u0434\u0438\u043f\u043b\u043e\u043c \u043a\u043e\u043b\u043b\u0435\u0434\u0436\u0430\/\u0443\u0447\u0438\u043b\u0438\u0449\u0430\/\u0442\u0435\u0445\u043d\u0438\u043a\u0443\u043c\u0430.<\/li>\r\n            <li>\u0421\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u0431\u0430\u043b\u043b \u0430\u0442\u0442\u0435\u0441\u0442\u0430\u0442\u0430\/\u0434\u0438\u043f\u043b\u043e\u043c\u0430.<\/li>\r\n            <li>\u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u044b\u043f\u0443\u0441\u043a\u043d\u0438\u043a \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0433\u043e\u0434\u0430 \u2013 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u0430\u043b\u043b.<\/li>\r\n          <\/ul>\r\n        <p>\u0412\u0430\u0448 \u0431\u0430\u043b\u043b, \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u043f\u0435\u0440\u0435\u0440\u0430\u0441\u0447\u0435\u0442\u0443 \u043d\u0430 20-\u0442\u0438 \u0431\u0430\u043b\u044c\u043d\u0443\u044e \u0433\u0440\u0435\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u2026..<\/p>\r\n\t\t  <\/p>\r\n        <button id=\"startButton\">\u041d\u0410\u0427\u0410\u0422\u042c<\/button>\r\n      <\/div>\r\n  \r\n      <!-- \u0428\u0430\u0433 2: \u0412\u044b\u0431\u043e\u0440 \u0441\u0442\u0440\u0430\u043d\u044b -->\r\n      <div id=\"step2\" class=\"step\">\r\n        <h2>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0443 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0430\u0442\u0442\u0435\u0441\u0442\u0430\u0442\u0430 (\u0434\u0438\u043f\u043b\u043e\u043c\u0430)<\/h2>\r\n        <form id=\"countryForm\">\r\n          <input type=\"radio\" name=\"country\" value=\"a\" id=\"countryA\">\r\n          <label for=\"countryA\">\u0420\u043e\u0441\u0441\u0438\u044f, \u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d<\/label><br>\r\n          \r\n          <input type=\"radio\" name=\"country\" value=\"b\" id=\"countryB\">\r\n          <label for=\"countryB\">\u0423\u043a\u0440\u0430\u0438\u043d\u0430<\/label><br>\r\n          \r\n          <input type=\"radio\" name=\"country\" value=\"c\" id=\"countryC\">\r\n          <label for=\"countryC\">\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c, \u041c\u043e\u043b\u0434\u043e\u0432\u0430, \u041b\u0430\u0442\u0432\u0438\u044f, \u0410\u0440\u043c\u0435\u043d\u0438\u044f, \u0413\u0440\u0443\u0437\u0438\u044f<\/label><br>\r\n          \r\n          <input type=\"radio\" name=\"country\" value=\"d\" id=\"countryD\">\r\n          <label for=\"countryD\">\u0411\u043e\u043b\u0433\u0430\u0440\u0438\u044f<\/label><br>\r\n          \r\n          <input type=\"radio\" name=\"country\" value=\"e\" id=\"countryE\">\r\n          <label for=\"countryE\">\u041b\u0438\u0442\u0432\u0430<\/label><br>\r\n          \r\n          <button type=\"button\" id=\"countryOk\">OK<\/button>\r\n        <\/form>\r\n        <p>\u0415\u0441\u043b\u0438 \u0432\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u044b \u043d\u0435\u0442 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435, \u0442\u043e <a href=\"\/kontakty\/\">\u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u0437\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u0446\u0438\u0435\u0439<\/a>.<\/p>\r\n      <\/div>\r\n  \r\n      <!-- \u0428\u0430\u0433 3: \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0440\u0430\u0441\u0447\u0451\u0442\u0443 -->\r\n      <div id=\"step3\" class=\"step\">\r\n        <h2>\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0440\u0430\u0441\u0447\u0451\u0442\u0443 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e \u0431\u0430\u043b\u043b\u0430<\/h2>\r\n        <div id=\"instructionText\"><\/div>\r\n        <button id=\"instructionOk\">\u041f\u043e\u043d\u044f\u0442\u043d\u043e, \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c<\/button>\r\n      <\/div>\r\n  \r\n      <!-- \u0428\u0430\u0433 4: \u0412\u0432\u043e\u0434 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e \u0431\u0430\u043b\u043b\u0430 -->\r\n      <div id=\"step4\" class=\"step\">\r\n        <h2>\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u0431\u0430\u043b\u043b \u0430\u0442\u0442\u0435\u0441\u0442\u0430\u0442\u0430\/\u0434\u0438\u043f\u043b\u043e\u043c\u0430<\/h2>\r\n        <input type=\"number\" step=\"0.01\" id=\"inputScore\" placeholder=\"0,00\">\r\n        <br>\r\n        <button id=\"scoreOk\">\u041e\u041a<\/button>\r\n      <\/div>\r\n  \r\n      <!-- \u0428\u0430\u0433 5: \u041e\u043f\u043b\u0430\u0442\u0430 -->\r\n      <div id=\"step5\" class=\"step\">\r\n        <h2>\u041e\u043f\u043b\u0430\u0442\u0430<\/h2>\r\n        <p>\u0414\u043b\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c\u00bb.<br>\r\n           \u0412\u044b\u0431\u043e\u0440 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u043f\u043b\u0430\u0442\u044b \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0451\u043d \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430.<br>\r\n\t\t\t\u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0443\u0441\u043b\u0443\u0433\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 <strong>20 \u0435\u0432\u0440\u043e<\/strong> (\u0432 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u0435 \u043c\u0435\u0441\u0442\u043d\u043e\u0439 \u0432\u0430\u043b\u044e\u0442\u043e\u0439)<\/p>\r\n        <button id=\"paymentButton\">\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c<\/button>\r\n      <\/div>\r\n  \r\n      <!-- \u0428\u0430\u0433 6: \u0421\u0442\u0430\u0442\u0443\u0441 \u043e\u043f\u043b\u0430\u0442\u044b -->\r\n      <div id=\"step6\" class=\"step\">\r\n        <h2>\u0421\u0442\u0430\u0442\u0443\u0441 \u043e\u043f\u043b\u0430\u0442\u044b<\/h2>\r\n        <p id=\"paymentStatus\"><\/p>\r\n      <\/div>\r\n  \r\n      <!-- \u0428\u0430\u0433 7: \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0441\u0447\u0451\u0442\u0430 -->\r\n      <div id=\"step7\" class=\"step\">\r\n        <h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h2>\r\n        <p>\u0412\u0430\u0448 \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u0431\u0430\u043b\u043b \u043f\u043e \u0433\u0440\u0435\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f: <span id=\"resultScore\"><\/span><\/p>\r\n        <p>\r\n          \u0415\u0441\u043b\u0438 \u0432\u0430\u0448 \u0431\u0430\u043b\u043b \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u0431\u0430\u043b\u043b\u0430 \u0432 \u0441\u043f\u0440\u0430\u0432\u043a\u0435, \u0432\u044b\u0434\u0430\u043d\u043d\u043e\u0439 \u041c\u0438\u043d\u0438\u0441\u0442\u0435\u0440\u0441\u0442\u0432\u043e\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0413\u0440\u0435\u0446\u0438\u0438 \u2013 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u043d\u0430\u043c \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0435.\r\n          \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0441\u043c. \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <a href=\"\/postuplenie\/uslugi-bakalavr\/dopolnitelnye-uslugi\/\">\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0443\u0441\u043b\u0443\u0433\u0438<\/a>.\r\n        <\/p>\r\n      <\/div>\r\n    <\/div>\r\n  \r\n    <style>\r\n      \/* \u0412\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u0448\u0430\u0433\u043e\u0432 *\/\r\n      .step { display: none; margin-bottom: 20px; padding: 10px; }\r\n      .step.active { display: block; }\r\n      button { margin-top: 10px; padding: 8px 12px; font-size: 1em; }\r\n    <\/style>\r\n  \r\n    <script type=\"text\/javascript\">\r\n      (function($){\r\n        \/\/ \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0448\u0430\u0433\u0430\u043c\u0438\r\n        function showStep(stepId) {\r\n          $('.step').removeClass('active');\r\n          $('#' + stepId).addClass('active');\r\n        }\r\n  \r\n        \/\/ \u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043e\u0442 \u0448\u0430\u0433\u0430 1 \u043a \u0448\u0430\u0433\u0443 2\r\n        $('#startButton').on('click', function(){\r\n          showStep('step2');\r\n        });\r\n  \r\n        var selectedCountry = null;\r\n  \r\n        \/\/ \u0412\u044b\u0431\u043e\u0440 \u0441\u0442\u0440\u0430\u043d\u044b (\u0448\u0430\u0433 2)\r\n        $('#countryOk').on('click', function(){\r\n          $('input[name=\"country\"]').each(function(){\r\n            if($(this).is(':checked')) {\r\n              selectedCountry = $(this).val();\r\n            }\r\n          });\r\n          if(!selectedCountry) {\r\n            alert(\"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0443.\");\r\n            return;\r\n          }\r\n  \r\n          \/\/ \u0412\u044b\u0431\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u044b\r\n          var instruction = \"\";\r\n          switch(selectedCountry) {\r\n            case 'a':\r\n              instruction = \"\u0421\u043b\u043e\u0436\u0438\u0442\u0435 \u0432\u0441\u0435 \u043e\u0446\u0435\u043d\u043a\u0438. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e \u0441\u0443\u043c\u043c\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435 \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0446\u0435\u043d\u043e\u043a (\u043d\u0435 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043e\u0432).\";\r\n              break;\r\n            case 'b':\r\n              instruction = \"\u0421\u043b\u043e\u0436\u0438\u0442\u0435 \u0432\u0441\u0435 \u043e\u0446\u0435\u043d\u043a\u0438. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e \u0441\u0443\u043c\u043c\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435 \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0446\u0435\u043d\u043e\u043a (\u043d\u0435 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043e\u0432).\";\r\n              break;\r\n            case 'c':\r\n              instruction = \"\u0415\u0441\u043b\u0438 \u0432 \u0430\u0442\u0442\u0435\u0441\u0442\u0430\u0442\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043e\u0446\u0435\u043d\u043a\u0438 \u044d\u043a\u0437\u0430\u043c\u0435\u043d\u043e\u0432, \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430: (\u043e\u0446\u0435\u043d\u043a\u0430 \u0430\u0442\u0442\u0435\u0441\u0442\u0430\u0442\u0430 + \u043e\u0446\u0435\u043d\u043a\u0430 \u044d\u043a\u0437\u0430\u043c\u0435\u043d\u0430) \/ 2. \u0414\u0430\u043b\u0435\u0435 \u2013 \u0441\u043b\u043e\u0436\u0438\u0442\u0435 \u0432\u0441\u0435 \u043e\u0446\u0435\u043d\u043a\u0438 \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435 \u043d\u0430 \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e.\";\r\n              break;\r\n            case 'd':\r\n              instruction = \"\u0421\u043b\u043e\u0436\u0438\u0442\u0435 \u0432\u0441\u0435 \u043e\u0446\u0435\u043d\u043a\u0438. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e \u0441\u0443\u043c\u043c\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435 \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0446\u0435\u043d\u043e\u043a.\";\r\n              break;\r\n            case 'e':\r\n              instruction = \"\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u0432 \u041c\u0438\u043d\u0438\u0441\u0442\u0435\u0440\u0441\u0442\u0432\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0451\u0442\u0430 \u0431\u0430\u043b\u043b\u0430.\";\r\n              break;\r\n            default:\r\n              instruction = \"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430.\";\r\n          }\r\n          $('#instructionText').text(instruction);\r\n          showStep('step3');\r\n        });\r\n  \r\n        \/\/ \u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043e\u0442 \u0448\u0430\u0433\u0430 3 \u043a \u0448\u0430\u0433\u0443 4\r\n        $('#instructionOk').on('click', function(){\r\n          showStep('step4');\r\n        });\r\n  \r\n        var inputScore = 0;\r\n\t\t\/\/ \u0412\u0432\u043e\u0434 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e \u0431\u0430\u043b\u043b\u0430 (\u0448\u0430\u0433 4) \u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0430\r\n\t\t$('#scoreOk').on('click', function(){\r\n\t\t  inputScore = parseFloat($('#inputScore').val().replace(',', '.'));\r\n\t\t  if(isNaN(inputScore)) {\r\n\t\t\talert(\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e!\");\r\n\t\t\treturn;\r\n\t\t  }\r\n\r\n\t\t  \/\/ \u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043f\u043e \u0441\u0442\u0440\u0430\u043d\u0435\r\n\t\t  let maxScore = 0;\r\n\t\t  switch(selectedCountry) {\r\n\t\t\tcase 'a': maxScore = 5; break;     \/\/ \u0420\u043e\u0441\u0441\u0438\u044f, \u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d\r\n\t\t\tcase 'b': maxScore = 12; break;    \/\/ \u0423\u043a\u0440\u0430\u0438\u043d\u0430\r\n\t\t\tcase 'c': maxScore = 10; break;    \/\/ \u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c, \u041c\u043e\u043b\u0434\u043e\u0432\u0430 \u0438 \u0434\u0440.\r\n\t\t\tcase 'd': maxScore = 6; break;     \/\/ \u0411\u043e\u043b\u0433\u0430\u0440\u0438\u044f\r\n\t\t\tcase 'e': maxScore = 10; break;    \/\/ \u041b\u0438\u0442\u0432\u0430\r\n\t\t\tdefault:\r\n\t\t\t  alert(\"\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u0430\u043d\u044b.\");\r\n\t\t\t  return;\r\n\t\t  }\r\n\r\n\t\t  if (inputScore < 1 || inputScore > maxScore) {\r\n\t\t\talert(\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0431\u0430\u043b\u043b \u043e\u0442 1 \u0434\u043e \" + maxScore + \" \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f.\");\r\n\t\t\treturn;\r\n\t\t  }\r\n\r\n\t\t  showStep('step5');\r\n\t\t});\r\n\r\n  \r\n        \/\/ \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043d\u0430\u0436\u0430\u0442\u0438\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \u043e\u043f\u043b\u0430\u0442\u044b (\u0448\u0430\u0433 5)\r\n        $('#paymentButton').on('click', function(){\r\n          $('#paymentStatus').text(\"\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043e\u043f\u043b\u0430\u0442\u044b...\");\r\n          showStep('step6');\r\n  \r\n          \/\/ \u0412\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438\r\n          var convertedScore = convertScore(inputScore, selectedCountry);\r\n  \r\n          \/\/ \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c AJAX-\u0437\u0430\u043f\u0440\u043e\u0441 \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430\r\n          $.post(\"https:\/\/afinica.ru\/wp-admin\/admin-ajax.php\", {\r\n            action: 'add_calculator_product',\r\n            calc_country: selectedCountry,\r\n            calc_score: inputScore,\r\n            calc_result: convertedScore\r\n          }, function(response){\r\n            if(response.success){\r\n              \/\/ \u041f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430 WooCommerce\r\n              window.location.href = \"https:\/\/afinica.ru\/checkout\/\";\r\n            } else {\r\n              $('#paymentStatus').text(\"\u041e\u0448\u0438\u0431\u043a\u0430: \" + response.data);\r\n            }\r\n          });\r\n        });\r\n  \r\n        \/**\r\n         * \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e \u0431\u0430\u043b\u043b\u0430 \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0430\u043c:\r\n         *  \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b a (\u0420\u043e\u0441\u0441\u0438\u044f, \u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d): (score - 3) * (10 \/ 2) + 10\r\n         *  \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b b (\u0423\u043a\u0440\u0430\u0438\u043d\u0430): (score - 4) * (10 \/ 8) + 10\r\n         *  \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b c (\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c, \u041c\u043e\u043b\u0434\u043e\u0432\u0430, \u041b\u0430\u0442\u0432\u0438\u044f, \u0410\u0440\u043c\u0435\u043d\u0438\u044f, \u0413\u0440\u0443\u0437\u0438\u044f): (score - 3) * (10 \/ 7) + 10\r\n         *  \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b d (\u0411\u043e\u043b\u0433\u0430\u0440\u0438\u044f): (score - 3) * (10 \/ 3) + 10\r\n         *  \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b e (\u041b\u0438\u0442\u0432\u0430): (score - 4) * (10 \/ 6) + 10\r\n         *\/\r\n        function convertScore(score, country) {\r\n          var offset = 0, divisor = 1;\r\n          switch(country) {\r\n            case 'a':\r\n              offset = 3; divisor = 2;\r\n              break;\r\n            case 'b':\r\n              offset = 4; divisor = 8;\r\n              break;\r\n            case 'c':\r\n              offset = 3; divisor = 7;\r\n              break;\r\n            case 'd':\r\n              offset = 3; divisor = 3;\r\n              break;\r\n            case 'e':\r\n              offset = 4; divisor = 6;\r\n              break;\r\n            default:\r\n              return 0;\r\n          }\r\n          var result = (score - offset) * (10 \/ divisor) + 10;\r\n          return result.toFixed(2);\r\n        }\r\n      })(jQuery);\r\n    <\/script>\r\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-398","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/afinica.ru\/el\/wp-json\/wp\/v2\/pages\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afinica.ru\/el\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/afinica.ru\/el\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/afinica.ru\/el\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afinica.ru\/el\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":22,"href":"https:\/\/afinica.ru\/el\/wp-json\/wp\/v2\/pages\/398\/revisions"}],"predecessor-version":[{"id":1109,"href":"https:\/\/afinica.ru\/el\/wp-json\/wp\/v2\/pages\/398\/revisions\/1109"}],"wp:attachment":[{"href":"https:\/\/afinica.ru\/el\/wp-json\/wp\/v2\/media?parent=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}