{"id":8877,"date":"2018-09-04T15:36:17","date_gmt":"2018-09-04T15:36:17","guid":{"rendered":"https:\/\/wasuhege.myhostpoint.ch\/triathloncoach-royhinnen.ch\/royfitwatt-test\/"},"modified":"2022-06-03T08:47:42","modified_gmt":"2022-06-03T08:47:42","slug":"royfitwatt-test","status":"publish","type":"page","link":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/formulas\/royfitwatt-test\/","title":{"rendered":"RoyFitWatt test"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"8877\" class=\"elementor elementor-8877 elementor-1437\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fae335a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fae335a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d61d888\" data-id=\"d61d888\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-76a73eb elementor-widget elementor-widget-shortcode\" data-id=\"76a73eb\" 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\">    <style>\n        #vueGlobalBox {\n            flex-direction: column;\n        }\n    <\/style>\n\n    <!---------Start----->\n    <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/vue\/2.5.16\/vue.min.js\"><\/script>\n\n\n    <div id=\"vueGlobalBox\">\n        <div id=\"stopwatchBox\">\n            <div class=\"watt_box\">\n                <h5>\n                    Watt\n                <\/h5>\n                <input v-model=\"watt\">\n            <\/div>\n            <div class=\"kg_box\">\n                <h5>\n                    KG\n                <\/h5>\n                <input v-model=\"kg\">\n            <\/div>\n        <\/div>\n\n        <div id=\"horizontal_scroll_container\">\n            <div id=\"inner_horizontal_scroll_container\">\n\n                <div id=\"FormelCalculations\">\n\n                    <!--Erste Sektion -->\n                    <div class=\"tableSection\">\n                        <div class=\"mainTableRow row\">\n                            <div class=\"col-xs-1\">KG<\/div>\n                            <div class=\"col-xs-1\">Watt<\/div>\n                            <div class=\"col-xs-1\">Vo2max<\/div>\n                            <div class=\"col-xs-1\">Watt\/Kg<\/div>\n                            <div class=\"col-xs-2\">ftp-20min<\/div>\n                            <div class=\"col-xs-2\">ftp-60min<\/div>\n                            <div class=\"col-xs-2\">70,3 Watt<\/div>\n                            <div class=\"col-xs-2\">Ironman Watt<\/div>\n                        <\/div>\n\n                        <div class=\"regularTableRow row\">\n                            <div class=\"col-xs-1\">{{ kg }}<\/div>\n                            <div class=\"col-xs-1\">{{ watt }}<\/div>\n                            <div class=\"col-xs-1\">{{ vo2max}} ml\/kg\/min<\/div>\n                            <div class=\"col-xs-1 calculatedCell\">{{ wattperKG }}<\/div>\n                            <div class=\"col-xs-2\">{{ ftp20min }}<\/div>\n                            <div class=\"col-xs-2\">{{ calc5150watt }}<\/div>\n                            <div class=\"col-xs-2\">{{ calc703watt }}<\/div>\n                            <div class=\"col-xs-2\">{{ ironmanWatt }}<\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <script>\n        \/\/Globale Zeit des Users\n        var globalUserTime = new Vue({\n            el: '#vueGlobalBox',\n            data: {\n                watt: 200,\n                kg: 60,\n            },\n            computed: {\n\n                wattperKG: function() {\n                    return (this.watt \/ this.kg).toFixed(2);\n                },\n                ftp20min: function() {\n                    return (this.watt * 0.82).toFixed(0);\n                },\n                calc5150watt: function() {\n                    return (Number(this.ftp20min) * 0.91).toFixed(0);\n                },\n                calc703watt: function() {\n                    return (this.calc5150watt * 0.81).toFixed(0);\n                },\n                ironmanWatt: function() {\n                    return (this.calc703watt * 0.9).toFixed(0);\n                },\n                vo2max: function() {\n                    return ((((this.watt * 0.95) * 10.8) \/ this.kg) + 7).toFixed(2);\n                },\n            }\n        })\n    <\/script>\n\n    <!--#Start-->\n\n\n\n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":5,"featured_media":0,"parent":8913,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":""},"class_list":["post-8877","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/wp-json\/wp\/v2\/pages\/8877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/wp-json\/wp\/v2\/comments?post=8877"}],"version-history":[{"count":1,"href":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/wp-json\/wp\/v2\/pages\/8877\/revisions"}],"predecessor-version":[{"id":8882,"href":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/wp-json\/wp\/v2\/pages\/8877\/revisions\/8882"}],"up":[{"embeddable":true,"href":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/wp-json\/wp\/v2\/pages\/8913"}],"wp:attachment":[{"href":"https:\/\/www.triathloncoach-royhinnen.ch\/en\/wp-json\/wp\/v2\/media?parent=8877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}