{"id":12,"date":"2026-04-27T16:00:23","date_gmt":"2026-04-27T13:00:23","guid":{"rendered":"http:\/\/82.148.18.120\/?page_id=12"},"modified":"2026-04-27T16:00:23","modified_gmt":"2026-04-27T13:00:23","slug":"%d0%bb%d0%b8%d1%87%d0%bd%d1%8b%d0%b9-%d0%ba%d0%b0%d0%b1%d0%b8%d0%bd%d0%b5%d1%82","status":"publish","type":"page","link":"https:\/\/test.yogarazuma.ru\/%d0%bb%d0%b8%d1%87%d0%bd%d1%8b%d0%b9-%d0%ba%d0%b0%d0%b1%d0%b8%d0%bd%d0%b5%d1%82\/","title":{"rendered":"\u041b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442"},"content":{"rendered":"<div x-data=\"yrCabinet()\" x-cloak class=\"yr-cabinet\">\n\n    <!-- \u2500\u2500 \u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f (\u0442\u0430\u0431\u044b) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n    <nav class=\"yr-cabinet-nav\" role=\"tablist\">\n        <button @click=\"tab='bookings'\"\n                :class=\"{'yr-active': tab==='bookings'}\"\n                role=\"tab\" :aria-selected=\"tab==='bookings'\">\n            \u0417\u0430\u043f\u0438\u0441\u0438        <\/button>\n        <button @click=\"tab='subscriptions'\"\n                :class=\"{'yr-active': tab==='subscriptions'}\"\n                role=\"tab\" :aria-selected=\"tab==='subscriptions'\">\n            \u0410\u0431\u043e\u043d\u0435\u043c\u0435\u043d\u0442\u044b        <\/button>\n        <button @click=\"tab='promos'\"\n                :class=\"{'yr-active': tab==='promos'}\"\n                role=\"tab\" :aria-selected=\"tab==='promos'\">\n            \u041f\u0440\u043e\u043c\u043e\u043a\u043e\u0434\u044b        <\/button>\n        <button @click=\"tab='profile'\"\n                :class=\"{'yr-active': tab==='profile'}\"\n                role=\"tab\" :aria-selected=\"tab==='profile'\">\n            \u041c\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435        <\/button>\n    <\/nav>\n\n    <!-- \u2500\u2500 \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n    <template x-if=\"loading\">\n        <div class=\"yr-cabinet-loading\" role=\"status\">\n            \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...        <\/div>\n    <\/template>\n\n    <!-- \u2500\u2500 \u0417\u0430\u043f\u0438\u0441\u0438 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n    <div x-show=\"tab==='bookings' && !loading\" role=\"tabpanel\">\n\n        <h3 class=\"yr-section-title\">\u041f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u0449\u0438\u0435<\/h3>\n        <template x-for=\"b in upcoming\" :key=\"b.id\">\n            <div class=\"yr-booking-card\">\n                <div class=\"yr-booking-service\" x-text=\"b.service_name\"><\/div>\n                <div class=\"yr-booking-time\"\n                     x-text=\"formatDate(b.start_at) + ' \u0432 ' + formatTime(b.start_at)\"><\/div>\n                <div class=\"yr-booking-status\" x-text=\"statusLabel(b.status)\"><\/div>\n                <div class=\"yr-booking-amount\"\n                     x-show=\"b.payment_amount\"\n                     x-text=\"b.payment_amount + ' \u20bd'\"><\/div>\n                <div class=\"yr-booking-actions\">\n                    <button x-show=\"b.can_cancel\"\n                            @click=\"cancelBooking(b.id)\"\n                            class=\"yr-cancel-btn\">\n                        \u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c                    <\/button>\n                <\/div>\n            <\/div>\n        <\/template>\n        <template x-if=\"upcoming.length === 0\">\n            <p class=\"yr-empty\">\u041d\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u0449\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439<\/p>\n        <\/template>\n\n        <h3 class=\"yr-section-title yr-section-history\">\u0418\u0441\u0442\u043e\u0440\u0438\u044f<\/h3>\n        <template x-for=\"b in history\" :key=\"b.id\">\n            <div class=\"yr-booking-card yr-history\">\n                <div class=\"yr-booking-service\" x-text=\"b.service_name\"><\/div>\n                <div class=\"yr-booking-time\" x-text=\"formatDate(b.start_at)\"><\/div>\n                <div class=\"yr-booking-status\" x-text=\"statusLabel(b.status)\"><\/div>\n                <a :href=\"'\/zapis\/?service=' + b.service_slug\" class=\"yr-rebook\">\n                    \u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0441\u043d\u043e\u0432\u0430 \u2192                <\/a>\n            <\/div>\n        <\/template>\n        <template x-if=\"history.length === 0\">\n            <p class=\"yr-empty\">\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043f\u0443\u0441\u0442\u0430<\/p>\n        <\/template>\n    <\/div>\n\n    <!-- \u2500\u2500 \u0410\u0431\u043e\u043d\u0435\u043c\u0435\u043d\u0442\u044b \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n    <div x-show=\"tab==='subscriptions' && !loading\" role=\"tabpanel\">\n        <template x-for=\"s in subscriptions\" :key=\"s.id\">\n            <div class=\"yr-sub-card\" :class=\"'yr-sub-' + s.status\">\n                <div class=\"yr-sub-name\" x-text=\"s.service_name || s.slug\"><\/div>\n                <div class=\"yr-sub-sessions\"\n                     x-text=\"'\u0417\u0430\u043d\u044f\u0442\u0438\u0439: ' + s.sessions_left + '\/' + s.sessions_total\"><\/div>\n                <div class=\"yr-sub-dates\"\n                     x-text=\"'\u0414\u043e ' + formatDate(s.valid_until)\"><\/div>\n                <div class=\"yr-sub-status\" x-text=\"statusLabel(s.status)\"><\/div>\n                <button x-show=\"s.status === 'active' && !s.pause_used\"\n                        @click=\"pauseSubscription(s.id)\"\n                        class=\"yr-pause-btn\">\n                    \u0412\u0437\u044f\u0442\u044c \u043f\u0430\u0443\u0437\u0443                <\/button>\n                <div x-show=\"s.status === 'paused'\" class=\"yr-pause-info\"\n                     x-text=\"'\u041f\u0430\u0443\u0437\u0430 \u0434\u043e ' + formatDate(s.pause_until)\">\n                <\/div>\n            <\/div>\n        <\/template>\n        <template x-if=\"subscriptions.length === 0\">\n            <p class=\"yr-empty\">\u041d\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0430\u0431\u043e\u043d\u0435\u043c\u0435\u043d\u0442\u043e\u0432<\/p>\n        <\/template>\n    <\/div>\n\n    <!-- \u2500\u2500 \u041f\u0440\u043e\u043c\u043e\u043a\u043e\u0434\u044b \u0438 \u043a\u0440\u0435\u0434\u0438\u0442\u044b \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n    <div x-show=\"tab==='promos' && !loading\" role=\"tabpanel\">\n\n        <template x-if=\"promos.length > 0\">\n            <div class=\"yr-promos-list\">\n                <template x-for=\"p in promos\" :key=\"p.code\">\n                    <div class=\"yr-promo-card\" :class=\"{'yr-credit': p.is_credit}\">\n                        <div class=\"yr-promo-code\" x-text=\"p.code\"><\/div>\n                        <div class=\"yr-promo-discount\"\n                             x-text=\"p.discount_type === 'percent'\n                                 ? '-' + p.discount_amount + '%'\n                                 : '-' + p.discount_amount + ' \u20bd'\"><\/div>\n                        <div class=\"yr-promo-until\"\n                             x-show=\"p.valid_until\"\n                             x-text=\"'\u0414\u043e ' + formatDate(p.valid_until)\"><\/div>\n                        <div class=\"yr-promo-badge\" x-show=\"p.is_credit\">\n                            \u041a\u0440\u0435\u0434\u0438\u0442                        <\/div>\n                    <\/div>\n                <\/template>\n            <\/div>\n        <\/template>\n        <template x-if=\"promos.length === 0\">\n            <p class=\"yr-empty\">\u041d\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u043f\u0440\u043e\u043c\u043e\u043a\u043e\u0434\u043e\u0432<\/p>\n        <\/template>\n\n        <!-- \u0420\u0435\u0444\u0435\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 -->\n        <template x-if=\"referral && referral.code\">\n            <div class=\"yr-referral\">\n                <h4 class=\"yr-referral-title\">\u0420\u0435\u0444\u0435\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430<\/h4>\n                <div class=\"yr-ref-link\">\n                    <input type=\"text\"\n                           :value=\"'https:\/\/yogarazuma.ru\/zapis\/?ref=' + referral.code\"\n                           readonly\n                           class=\"yr-ref-input\">\n                    <button @click=\"copyRefLink()\" class=\"yr-copy-btn\">\n                        \u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c                    <\/button>\n                <\/div>\n                <div class=\"yr-ref-stats\"\n                     x-text=\"'\u041f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u043e: ' + referral.invited_count\"><\/div>\n            <\/div>\n        <\/template>\n    <\/div>\n\n    <!-- \u2500\u2500 \u041f\u0440\u043e\u0444\u0438\u043b\u044c \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n    <div x-show=\"tab==='profile' && !loading\" role=\"tabpanel\">\n\n        <div class=\"yr-profile-form\">\n\n            <div class=\"yr-field\">\n                <label for=\"yr-cab-phone\">\u0422\u0435\u043b\u0435\u0444\u043e\u043d<\/label>\n                <input id=\"yr-cab-phone\" type=\"tel\" x-model=\"profile.phone\"\n                       placeholder=\"+7 (___) ___-__-__\"\n                       autocomplete=\"tel\">\n            <\/div>\n\n            <div class=\"yr-field\" x-show=\"!profile.gender_locked\">\n                <span class=\"yr-field-label\">\u041f\u043e\u043b<\/span>\n                <div class=\"yr-radio-group\">\n                    <label>\n                        <input type=\"radio\" value=\"female\" x-model=\"profile.gender\">\n                        \u0416\u0435\u043d\u0449\u0438\u043d\u0430                    <\/label>\n                    <label>\n                        <input type=\"radio\" value=\"male\" x-model=\"profile.gender\">\n                        \u041c\u0443\u0436\u0447\u0438\u043d\u0430                    <\/label>\n                    <label>\n                        <input type=\"radio\" value=\"unspecified\" x-model=\"profile.gender\">\n                        \u041d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c                    <\/label>\n                <\/div>\n            <\/div>\n\n            <div class=\"yr-field\">\n                <label for=\"yr-cab-contra\">\u041f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f<\/label>\n                <textarea id=\"yr-cab-contra\" x-model=\"profile.contraindications\" rows=\"2\"><\/textarea>\n            <\/div>\n\n            <div class=\"yr-field\">\n                <label for=\"yr-cab-notes\">\u0417\u0430\u043c\u0435\u0442\u043a\u0438 \u0434\u043b\u044f \u042e\u0440\u0438\u044f<\/label>\n                <textarea id=\"yr-cab-notes\" x-model=\"profile.notes\" rows=\"3\"><\/textarea>\n            <\/div>\n\n            <h4 class=\"yr-notif-title\">\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f<\/h4>\n\n            <div class=\"yr-notif-options\">\n                <label class=\"yr-checkbox-label\">\n                    <input type=\"checkbox\" x-model=\"profile.notif_reminders\">\n                    \u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043e \u0437\u0430\u043f\u0438\u0441\u044f\u0445                <\/label>\n                <label class=\"yr-checkbox-label\">\n                    <input type=\"checkbox\" x-model=\"profile.notif_promos\">\n                    \u041f\u0440\u043e\u043c\u043e\u043a\u043e\u0434\u044b \u0438 \u0430\u043a\u0446\u0438\u0438                <\/label>\n                <label class=\"yr-checkbox-label\">\n                    <input type=\"checkbox\" x-model=\"profile.notif_broadcast\">\n                    \u0420\u0430\u0441\u0441\u044b\u043b\u043a\u0438                <\/label>\n            <\/div>\n\n            <button @click=\"saveProfile()\" class=\"yr-save-btn\" :disabled=\"saving\">\n                <span x-text=\"saving\n                    ? '\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435...'\n                    : '\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c'\">\n                <\/span>\n            <\/button>\n\n            <div x-show=\"saveSuccess\" class=\"yr-save-ok\" role=\"alert\">\n                \u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043e \u2713            <\/div>\n        <\/div>\n\n        <!-- \u041f\u0440\u043e\u0433\u0440\u0435\u0441\u0441 -->\n        <div class=\"yr-progress\" x-show=\"profile.progress\">\n            <div class=\"yr-progress-item\"\n                 x-text=\"'\u0421 \u043d\u0430\u043c\u0438 \u0441 ' + formatDate(profile.member_since)\"><\/div>\n            <div class=\"yr-progress-item\"\n                 x-text=\"'\u0412\u0441\u0435\u0433\u043e \u0432\u0438\u0437\u0438\u0442\u043e\u0432: ' + profile.total_visits\"><\/div>\n        <\/div>\n\n    <\/div>\n\n    <!-- \u2500\u2500 \u041e\u0448\u0438\u0431\u043a\u0430 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n    <div x-show=\"error\"\n         class=\"yr-error-toast\"\n         x-text=\"error\"\n         @click=\"error = null\"\n         role=\"alert\"><\/div>\n\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-12","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/test.yogarazuma.ru\/wp-json\/wp\/v2\/pages\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.yogarazuma.ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.yogarazuma.ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.yogarazuma.ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.yogarazuma.ru\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":1,"href":"https:\/\/test.yogarazuma.ru\/wp-json\/wp\/v2\/pages\/12\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/test.yogarazuma.ru\/wp-json\/wp\/v2\/pages\/12\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/test.yogarazuma.ru\/wp-json\/wp\/v2\/media?parent=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}