{"id":15,"date":"2023-06-08T20:59:20","date_gmt":"2023-06-08T20:59:20","guid":{"rendered":"https:\/\/dev.dynastytradecalculator.com\/?page_id=15"},"modified":"2023-06-08T21:00:18","modified_gmt":"2023-06-08T21:00:18","slug":"calculator","status":"publish","type":"page","link":"https:\/\/dev.dynastytradecalculator.com\/index.php\/calculator\/","title":{"rendered":"Calculator"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"15\" class=\"elementor elementor-15\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fe64d90 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fe64d90\" data-element_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-daa46c9\" data-id=\"daa46c9\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-95e4e4e elementor-widget elementor-widget-text-editor\" data-id=\"95e4e4e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.13.3 - 28-05-2023 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>        \n         <!-- <a href=\"#\" class=\"export-png\">Save PNG<\/a>--><div id=\"img-out\"><\/div>\n        <div class=\"dtc-calculator-wrapper-remove\">\n        \t<div class=\"dtc-calculator-wrapper\">\n        \t\t<div class=\"dtc-filters\">\n        \t\t\t    \n    \n    \t<div class=\"dtc-filters-wrapper\">\n            \n            \n                        \n            \n            <script type=\"text\/javascript\">\n\t\t\t\n\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t$( \".dtc-leauge-size\" ).each(function( index ) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif($(this).attr(\"data-id\") == \"12\"){\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t$(this).addClass('filter-active');\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t});\n\t\t\t\t\t\n\t\t\t\t\t$( \".dtc-leauge-type\" ).each(function( index ) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif($(this).attr(\"data-id\") == \"ppr\"){\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t$(this).addClass('filter-active');\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t});\n\t\t\t\t\t\n\t\t\t\t\t$( \".dtc-leauge-format\" ).each(function( index ) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif($(this).attr(\"data-id\") == \"standard\"){\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t$(this).addClass('filter-active');\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t});\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t});\n\t\t\t<\/script>\n           \n            <input type=\"hidden\" class=\"dtc-team-size-val\" value=\"12\">\n            <input type=\"hidden\" class=\"dtc-team-type-val\" value=\"ppr\">\n             <input type=\"hidden\" class=\"dtc-team-format-val\" value=\"standard\">\n          <div style=\"position:absolute;left:-10000000px;\"> <input type=\"text\" id=\"dtc-share-url\" value=\"\"><\/div>\n            <input type=\"hidden\" class=\"dtc-team-option-val\" value=\"\">\n           \t\t\t\n                           <h3 style=\"margin-top:0px !important\">Player Pool<\/h3>\n                <div class=\"dtc-filter-buttons dtc-thirty-button\">\n                 <a href=\"#\" class=\"dtc-leauge-format-alt dtc-recalculate  dtc-offense-actions left-top-round left-bottom-round filter-active\" data-id=\"idp\" data-enabled=\"1\"><span class=\"desktop-text\">Offense<\/span><span class=\"mobile-text\">Offense<\/span><\/a>\n                 <a href=\"#\" class=\"dtc-leauge-format-alt dtc-recalculate  dtc-idp-actions\" data-id=\"idp\" data-enabled=\"0\"><span class=\"desktop-text\">Defense<\/span><span class=\"mobile-text\">IDP<\/span><\/a>\n                   <a href=\"#\" class=\"dtc-leauge-format-alt dtc-recalculate right-bottom-round  dtc-devy-actions right-top-round right-bottom-round\" data-id=\"devy\" data-enabled=\"0\">Devy<\/a>\n                 \n                 <\/div>\n                <div style=\"clear:both\"><\/div> \n           \n            <div class=\"dtc-teams-size-buttons\">\n            <h3 >League Size<\/h3>\n            <div class=\"dtc-filter-buttons\">\n            <a href=\"#\" class=\"dtc-leauge-size dtc-recalculate left-round \" data-id=\"10\">10<\/a>\n            <a href=\"#\" class=\"dtc-leauge-size dtc-recalculate  \" data-id=\"12\">12<\/a>\n            <a href=\"#\" class=\"dtc-leauge-size dtc-recalculate \" data-id=\"14\">14<\/a>\n            <a href=\"#\" class=\"dtc-leauge-size dtc-recalculate right-round\" data-id=\"16\">16<\/a>\n            <div style=\"clear:both\"><\/div>\n            <\/div>\n            <div style=\"clear:both\"><\/div>\n       \t\t<\/div>\n            \n            \n            \n            <div class=\"dtc-teams-filter-buttons\">\n               \n                 <h3>Scoring Options<\/h3>\n                <div class=\"dtc-filter-buttons dtc-thirty-button\">\n                <a href=\"#\" class=\"dtc-leauge-type left-round dtc-recalculate\" data-id=\"ppr\">PPR<\/a>\n                <a href=\"#\" class=\"dtc-leauge-type  dtc-recalculate\" data-id=\"half_ppr\">.5 PPR<\/a>\n                <a href=\"#\" class=\"dtc-leauge-type right-round dtc-recalculate\" data-id=\"nonppr\">Non-PPR<\/a>\n                <div style=\"clear:both\"><\/div>            \n                <\/div>\n            \n               \n                <h3>League Format<\/h3>\n                <div class=\"dtc-filter-buttons dtc-thirty-button\">\n                <a href=\"#\" class=\"dtc-leauge-format left-top-round dtc-recalculate\" data-id=\"standard\" style=\"margin-bottom:1px\">Standard<\/a>\n                <a href=\"#\" class=\"dtc-leauge-format dtc-recalculate \" data-id=\"sf\" style=\"margin-bottom:1px\">SF<\/a>\n                <a href=\"#\" class=\"dtc-leauge-format dtc-recalculate right-top-round\" data-id=\"2qb\" style=\"margin-bottom:1px\">2-QB<\/a> \n                <div class=\"dtc-half-button\">\n                 <a href=\"#\" class=\"dtc-leauge-format-alt dtc-recalculate left-bottom-round dtc-te-premium-actions\"  data-id=\"\">TE Prem<\/a>\n                  <a href=\"#\" class=\"dtc-leauge-format-alt dtc-recalculate dtc-rb-ppc-premium-actions right-bottom-round\" data-id=\"\">RB PPC<\/a>\n                   <\/div>\n                    <div style=\"clear:both\"><\/div>         \n                \n                <\/div>\n            \n                 <div class=\"dtc-filter-buttons dtc-fifty-button dtc-border-top\">\n                \n                \n                <div style=\"clear:both\"><\/div>       \n                <\/div>\n              \n                \n                \n                \n            \n                 <div class=\"dtc-filter-buttons dtc-fifty-button dtc-border-top\">\n                \n             \n              \n                <div style=\"clear:both\"><\/div>       \n                <\/div>\n           \n\t\t\t\t\t\t <h3>Settings<\/h3>\n\t\t\n\t\t <div class=\"dtc-filter-buttons dtc-clear-filter-button\">\n            <a href=\"#\" class=\"dtc-under-calc-buttons left-top-round left-bottom-round right-top-round right-bottom-round dtc-showbadges\" data-id=\"badges\">Disable Badges<\/a>\n\t\t\t<a href=\"#dtc-mfl-modal\" class=\"dtc-under-calc-buttons left-top-round left-bottom-round right-top-round right-bottom-round\">League Import<\/a>\n\t\t\n                <\/div>\n\t\t\n              <div style=\"clear:both\"><\/div> \n                <div class=\"dtc-filter-buttons dtc-clear-filter-button\">\n                <a href=\"\" class=\"dtc-under-calc-buttons dtc-clear-calculator left-top-round left-bottom-round right-top-round right-bottom-round\">Clear Calc<\/a>\n\t\t\t<a href=\"#\" class=\"dtc-under-calc-buttons left-top-round left-bottom-round right-top-round right-bottom-round dtc-copy-url-click \">Copy URL<\/a><div style=\"clear:both\"><\/div>\n\t\t\t\t\t<a href=\"#\" class=\"dtc-under-calc-buttons left-top-round left-bottom-round right-top-round right-bottom-round dtc-unbalanced-trade \" style=\"width:auto;float:none;\">Unbalanced Trade Reduction<\/a>\n\t\t\t\t\t\n             <a href=\"#\" class=\"dtc-recalculate-calculator dtc-copy-url\" style=\"display:none\">Recalculate Calculator<\/a>\n                <div style=\"clear:both\"><\/div>            \n                <\/div>\n                \n                \n                          \t<div >\n                <h3>Mode<\/h3>\n                <div class=\"dtc-filter-buttons \">\n                 <a href=\"#\" class=\"dtc-under-calc-buttons dtc-under-calc-button-normal dtc-recalculate-calculator dtc-calculator-mode left-top-round left-bottom-round right-top-round right-bottom-round filter-active\" data-id=\"normal\" >Normal Trade<\/a>\n                  <a  href=\"#dtc-startup-mode\" class=\"dtc-under-calc-buttons dtc-under-calc-button-startup dtc-recalculate-calculator dtc-calculator-mode left-top-round left-bottom-round right-top-round right-bottom-round\" data-id=\"startup\" data-rookie-draft=\"no\" >Startup<\/a>\n                <div style=\"clear:both\"><\/div>            \n                <\/div>\n                \n                \n                \n                <div class=\"remodal-grey\" style=\"display:none\">\n         <button data-remodal-action=\"close\" class=\"remodal-close\"><\/button>\n          <div class=\"remodal remodal-grey\" data-remodal-id=\"dtc-startup-mode\"  >\n          <div style=\"padding:20px\">\n          <h2 style=\"color:#FFF;margin-bottom:20px\">Will your league have a seperate rookie draft?<\/h2>\n          <div class=\"modal-buttons\" style=\"margin-bottom:50px\">\n          \n          <a href=\"#\" class=\"startup-choice dtc-yellow-button\" data-id=\"yes\">Yes<\/a>\n            <a href=\"#\" class=\"startup-choice dtc-yellow-button\" data-id=\"no\">No<\/a>\n          <\/div>\n          <div style=\"color:#FFF;text-align:left\">\n          <p >\n     \n           <strong>Startup Pick Values:<\/strong> Determined by the calculated value of the draft pick position vs. the value of the players and future rookie draft picks that are ranked at each of those positions.<\/p>\n           \n           <p>\n <strong>Cost of Preference:<\/strong> While some picks may have the same or similar value, there is always a cost of preference to trade up into that position.<\/p><p>\n*Remember; All drafts are different, so it\u2019s up to you to decide your price. We\u2019re the guide, not the gospel.\n          <\/p>\n          <\/div>\n          <\/div>\n          <\/div><\/div>\n          \n          \n          <\/div>\n                        \n                \t                <div style=\"clear:both\"><\/div>\n            <\/div>\n            \n            \n           \n            \n            \n            <\/div>\n    \n    \n    \n    \n    \n    \n<div class=\"remodal-grey\" style=\"display:none\">\n\n\n\n          <div class=\"remodal remodal-grey\" data-remodal-id=\"dtc-login\"  data-remodal-options=\"hashTracking: false\">\n        <button data-remodal-action=\"close\" class=\"remodal-close\"><\/button>  \n          <div style=\"padding:20px\">\n          <h1 style=\"color:#FFF\">Please login or signup to modify the list settings.<\/h1>\n      \n          \n         <span style=\"margin-right:20px\"><a class=\"fusion-button button-flat fusion-button-round button-large button-default button-1\" target=\"_self\" href=\"\/login\/\"><span class=\"fusion-button-text\" >Log In<\/span><\/a>\n          <\/span>\n           <span >\n          <a class=\"fusion-button button-flat fusion-button-round button-large button-default button-1\" target=\"_self\" href=\"\/pricing\/\"><span class=\"fusion-button-text\">Signup<\/span><\/a>\n          <\/span>\n          <\/div>\n          <\/div>\n\n\n<\/div>\n    \n    \n            \t\t<\/div>\n        \n\t\t\t\t<div id=\"main_calculator\" class=\"dtc-calculator\">\n\t\t\t\t\t<div class=\"dtc-calc-header\">\n\t\t\t\t\t\t<div class=\"dtc-calc-header-left\"><h3>Give<\/h3><\/div>\n\t\t\t\t\t\t<div class=\"dtc-calc-header-right\"><h3>Receive<\/h3><\/div>\n\t\t\t\t\t\t<div style=\"clear:both\"><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\t<div class=\"dtc-calc-body\">\n\t\t\t\t\n\t\t\t\t\t\t<div class=\"dtc-player-picker dtc-player-picker-left dtc-total-column\" data-id=\"dtc-left-total\">\n\t\t\t\t\t\t\t<div class=\"dtc-player-input dtc-player-input-items\"><a href=\"#\" class=\"dtc-add-player \">Add Player \/ Pick <\/a><\/div><div class=\"dtc-player-input dtc-player-input-items\"><a href=\"#\" class=\"dtc-add-player \">Add Player \/ Pick <\/a><\/div><div class=\"dtc-player-input dtc-player-input-items\"><a href=\"#\" class=\"dtc-add-player dtc-add-another\">Add Player \/ Pick <\/a><\/div>\t\n\t\t\t\t\t\t\t<div class=\"dtc-player-input-total left-bottom-round\">\n\t\t\t\t\t\t\t\t<h3>Total<\/h3>\n\t\t\t\t\t\t\t\t<div class=\"dtc-left-total dtc-column-total\">0.0<\/div>\n\t\t\t\t\t\t\t\t<span>VAL<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"dtc-player-picker dtc-player-picker-right dtc-total-column\" data-id=\"dtc-right-total\">\n\t\t\t\t\t\t\t<div class=\"dtc-player-input dtc-player-input-items\"><a href=\"#\" class=\"dtc-add-player \">Add Player \/ Pick <\/a><\/div><div class=\"dtc-player-input dtc-player-input-items\"><a href=\"#\" class=\"dtc-add-player \">Add Player \/ Pick <\/a><\/div><div class=\"dtc-player-input dtc-player-input-items\"><a href=\"#\" class=\"dtc-add-player dtc-add-another\">Add Player \/ Pick <\/a><\/div>\n\t\t\t\t\t\t\t<div class=\"dtc-player-input-total right-bottom-round\">\n\t\t\t\t\t\t\t\t<h3>Total<\/h3>\n\t\t\t\t\t\t\t\t<div class=\"dtc-right-total dtc-column-total\">0.0<\/div>\n\t\t\t\t\t\t\t\t<span>VAL<\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div style=\"clear:both\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"adbanner\">\n\t\t\t\t\t\t<a href=\"https:\/\/seranking.com\/website-audit.html?ga=1842887&source=banner\"><img decoding=\"async\" src=\"https:\/\/promo.seranking.com\/promo-banners\/27078db0544a1ab8122a16cda3bc1266.png\" width=\"100%\" height=\"90\"><\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div style=\"clear:both\"><\/div>\n\t\t\t<\/div>\n        <\/div>\n\t\t<div style=\"clear:both\"><\/div>\n\n\n    <script type=\"text\/javascript\">\n\t\tjQuery(document).ready(function($) {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t$(\".dtc-recalculate-calculator\").trigger( \"click\" );\n\t\t});\n\t<\/script>\n    \n \n    \n     \t<div class=\"remodal-grey\" style=\"display:none\">\n        \n        \n        \n          <div style=\"background-color:#343536 !important\" data-remodal-id=\"dtc-idp-modal\" >\n          \n           <button data-remodal-action=\"close\" class=\"remodal-close\"><\/button>\n       \n               <div style=\"padding:20px\">\n          <h2 style=\"color:#FFF;margin-bottom:20px\">We're excited to introduce the addition of IDP into the Dynasty Trade Calculator!<br \/>Some information about the new IDP function<\/h2>\n   \n          <div style=\"color: #FFF;\n    text-align: left;\n    max-width: 750px;\n    margin: 0px auto;\n    margin-top: 40px;\">\n         \n<p>&bull; The IDP values are powered by our partners; <img decoding=\"async\" style=\"width:40px\" src=\"https:\/\/dev.dynastytradecalculator.com\/wp-content\/plugins\/dynasty-trade-calculator\/asetts\/images\/idpguys.png\" \/>. For more IDP content, visit <a href=\"http:\/\/idpguys.org\" target=\"_blank\">idpguys.org<\/a><\/p>\n<p>&bull; Our IDP values are based on basic league rosters & scoring settings: 6 total IDPs (2 LB, 2 DT, 2DB)<\/p>\n<p>&bull; We are currently working to develop additional IDP calculator settings for more accuracy in your trade evaluations.<\/p>\n\n          <\/div>\n           <div class=\"modal-buttons\" style=\"margin-bottom:50px;margin-top:50px;\">\n          \n         \n            <a href=\"#\" class=\"dtc-yellow-button\" data-remodal-action=\"close\" class=\"remodal-close\">Close Window<\/a>\n          <\/div>\n          \n          <\/div>\n           \n           \n           \n          <\/div>\n        \n         \n          <div class=\"remodal remodal-black\" data-remodal-id=\"dtc-player-modal\"  data-remodal-options=\"hashTracking: false\">\n     <button data-remodal-action=\"close\" class=\"remodal-close\"><\/button>\n     \n     \n     \t<div class=\"dtc-player-card-wrapper\">\n        \n        \n\t\t\t<div class=\"dtc-player-card-tabs\">\n\t\t\t<a href=\"#\" data-id=\"dtc-player-information\" class=\"active\"  data-dtc-id=\"\" data-mfl-id=\"\">Player Info<\/a> \n\t\t\t<a href=\"#\"  data-id=\"dtc-player-recent-trades\" data-dtc-id=\"\" data-mfl-id=\"\">Trade Wire<\/a> \n\t\t\t<a href=\"#\" data-id=\"dtc-player-recent-suggestions\"  data-dtc-id=\"\" data-mfl-id=\"\">Value Comps<\/a>\n\t\t\t\n\t\t\t<\/div>\n     \n     \n     <div class=\"dtc-player-information dtc-player-profile-tab\" style=\"display:block\">\n      <div class=\"dtc-stats-player-card\">\n         \n         <\/div>     \n         <div class=\"dtc-stats-settings-card\"><\/div> \n        \n          <div style=\"clear:both\"><\/div>\n         <div style=\"text-align:right;margin:10px 0px\">\n          <button data-remodal-action=\"close\" class=\"remodal-close\"><\/button>\n          <select class=\"stat-years\" data-player-id=\"0\" data-type=\"\">\n          <option value=\"12\">Last 12 Months<\/option>\n          <option value=\"24\">Last 24 Months<\/option>\n        \n          <\/select>\n          <\/div>\n          <div class=\"ranking-chart-item\">\n          \n          <\/div>\n          \n\t<\/div>\n\n\n\n\n\t<div class=\"dtc-player-recent-trades dtc-player-profile-tab\">\n\t <div class=\"dtc-stats-player-card\">\n         \n     <\/div>   \n     <div class=\"dtc-stats-settings-card\"><\/div>\n     \n     \t<div class=\"dtc-stats-recent-trade-content\">\n       <div style=\"text-align:center;padding:100px\"><img decoding=\"async\" src=\"https:\/\/dev.dynastytradecalculator.com\/wp-content\/plugins\/dynasty-trade-calculator\/asetts\/images\/loading.gif\"><\/div> \n        <\/div>\n          \n    <\/div>\n<div class=\"dtc-player-recent-suggestions dtc-player-profile-tab\">\n <div class=\"dtc-stats-player-card\">\n         \n         <\/div>  \n         <div class=\"dtc-stats-settings-card\"><\/div>\n         <div class=\"dtc-stats-trade-suggestion-content\">\n        <div style=\"text-align:center;padding:100px\"><img decoding=\"async\" src=\"https:\/\/dev.dynastytradecalculator.com\/wp-content\/plugins\/dynasty-trade-calculator\/asetts\/images\/loading.gif\"><\/div>\n        <\/div>   \n          \n<\/div>\n\t\t\t\t\n\t\t\t\t\n<\/div>\n\n\n\n  \n  <\/div>\n        <\/div>\n\n\n\n\n\n\n\n    \t<script type=\"text\/javascript\">\n\t\t\n\t\n\t\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\t\t\n\t\t});\n    <\/script>\n    \n                <style type=\"text\/css\">\n\t\t.remodal{background-color: #000;margin-top:50px}\n\t\t\n\t\t.dtc-error {\n    background-color: white;\n    color: red;\n    padding: 15px;\n    font-weight: bold;\n    margin: 10px 0px;\n    font-size: 18px;\n    text-align: center;\n}\t\t\n\t\t.league-import-item{min-height:500px;}\n\t\t.mfl-loader{background-color:#000000;color:#c3c6ca;min-height:500px;}\n\t\t.mfl-loader select{width:100%;}\n\t\t.mfl-loader a{color:#c3c6ca;}\n\t\t .dtc-mfl-half table{border-top:5px solid #ecb62e;margin-top:10px;width:100%;}\n\t\t\n\t\t\n\t\t\n\t\t.dtc-mfl-half thead th{background-color:#444444;text-align:center;font-weight:bold; cursor: pointer;}\n\t\t .dtc-mfl-half tbody tr:nth-child(even){background-color:#080809}\n         .dtc-mfl-half tbody tr:nth-child(odd){background-color:#121212}\n\t\t .dtc-mfl-half{float:left;width:50%;}\n        .dtc-mfl-half .dtc-half-inner{padding:10px;}\n         .dtc-mfl-nav{padding:10px;text-align:right;}\n\t\t .dtc-refresh-main-loader{font-weight:bold}\n\t\t .dtc-nav-active{background-color:#ECB62E !important;color:#000 !important;  !important}\n\t     .mfl-import-calc{padding:10px 0px;text-align:center;}\n\t\t .mfl-login {background-color:#FFF;min-height:500px;color:#2a3c5f;padding:15px;}\n\t\t .mfl-login a {color:red;}\n\t\t .mfl-login table{}\n\t\t .mfl-login table thead{border-bottom:5px solid #2a3c5f;background-image: url(\/wp-content\/plugins\/dynasty-trade-calculator\/asetts\/images\/bg-opacity-grey.png);\n    box-shadow: inset 0 0 10px rgba(38,62,104,.4);\n    box-shadow: inset 0 0 0.625rem rgba(38,62,104,.4);}\n\t\t .mfl-login .mfl-login-block{max-width:320px;margin:0px auto;border-radius:5px;border:1px solid #2a3c5f;margin-bottom:15px;margin-top:15px}\n\t\t .mfl-login table input[type=text], .mfl-login table input[type=password] {\n    padding: 8px;\n    background-color: #e9f0fd !important;\n    color: #000 !important;\n    border: 1px solid #c3c3c3;\n    font-size: 14px;\n    border-radius: 5px;\n    line-height: 15px;\n    height: auto;\n}\n .mfl-login table input[type=submit] {cursor: pointer;}\n\n\n .mfl-login table td{padding:4px;border-radius:5px;}\t\n .mfl-login thead h3{font-size:17px;  \n    padding-left: 2.813rem;\n    background: url(\/wp-content\/plugins\/dynasty-trade-calculator\/asetts\/images\/mfl-cap.png)no-repeat;\n    background-size: contain;\n    background-position: 2px 0;\n    background-position: .125rem 0;color:#263e68;margin-top:8px;margin-bottom:8px;text-transform: uppercase;text-align:left;}\n .mfl-login table .footer{background-color:#e9ebef;text-align:center;}\n .mfl-login table .footer input{    background: #cd2122;color:#FFF;padding:10px;padding:3px;border-radius:5px;border:none }\t\n.mfl-team-gutter{    min-height: 300px;}\t\n\t\ta.mfl-button{padding:5px;  margin: 5px auto;border:none;\n    border-radius: 5px;\n    background-color: #dddddd;color: #1a1a1a;font-weight:bold;}\n\t\t .mfl-import-calc-button {\n    display: block;\n    max-width: 200px;\n    margin: 0px auto;\n    border-radius: 5px;\n    background-color: #ECB62E;\n    color: #1a1a1a !important;\n    text-align: center;\n    padding: 5px;\n    font-size: 16px;\n    font-weight: bold;\n}\n.dtc-mfl-overlay-wrap{}\n.dtc-mfl-overlay{padding:10px;background-color:#FFF;margin:50px auto;width:100px;text-align:center;; border-radius: 50%;}\n.dtc-mfl-overlay h3{color:#000;}\n.league-import-button{margin-top:20px;}\n.league-import-button a {float:left;padding:5px;;margin:5px; border-radius:5px;background-color:#EFEFEF;color:#000 !important;}\n.league-import-button a img{width:100%}\n@media screen and (max-width: 600px) {\n\t.dtc-mfl-half{font-size:.9em}\n\t\n\t.mfl-loader{font-size:.8em}\n}\n\t    <\/style>\n        \n        <script type=\"text\/javascript\">\n\t\t\n\t\t\/\/mfl stuff\n\tfunction add_dtc_mfl_create_overlay(div){\n\t\t\n\tjQuery(div).html('<div class=\"dtc-mfl-overlay\"><div class=\"dtc-mfl-overlay-wrap\"><img decoding=\"async\" src=\"https:\/\/dev.dynastytradecalculator.com\/wp-content\/plugins\/dynasty-trade-calculator\/asetts\/images\/loading.gif\"><\/div><\/div>');\n\t\n\t}\n\t\n\tfunction dtc_mfl_load_team(league_id,franchise_id,team_name,location,side){\n\t\tadd_dtc_mfl_create_overlay(location);\n\t\t\tjQuery.post(dtc.ajaxurl, {'action':'dtc_ajax_get_league_players','side':side, 'league_id':league_id,'my_team_id':franchise_id,'my_team_name':team_name}, function(response) {\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tjQuery(location).html(response);\n\t\t\t\t\t\/\/jQuery(location).prepend('<h3>' + team_name + '<\/h3>');\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t}\n\tfunction dtc_refresh_main_loader(){\n\tadd_dtc_mfl_create_overlay(\".mfl-loader\");\n\tconsole.log(Cookies.get('import_loader') );\n\tvar importer_type = Cookies.get('import_loader');\n\tif(importer_type == ''){\n\tvar slug = 'mfl';\t\n\t\n\t}else{\n\tvar slug = Cookies.get('import_loader');\t\n\t}\n\t\n\tjQuery(\".dtc-refresh-main-loader\").removeClass('dtc-nav-active');\n\tjQuery(\".\"+slug+\"-loader-button\").addClass('dtc-nav-active');\n\t\n\t\n\tjQuery(\".league-import-item\").hide();\n\tjQuery.post(dtc.ajaxurl, {'action':'dtc_ajax_'+slug+'_main_loader'}, function(response) {\t\t\t\t\t\n\t\t\t\t\t\n\t\t\tjQuery(\".\"+slug+\"-loader\").html(response);\n\t\t\tjQuery(\".\"+slug+\"-loader\").show();\n\t\t\t\t});\n\t\t\n\t\t\n\t}\n\tjQuery(document).ready(function($) {\n\t\tdtc_refresh_main_loader();\n\t\n\t\n\t\n\t\n\t\n    \t$( '.mfl-loader-nav').on( \"click\", \".dtc-refresh-main-loader\", function(e) {\n\t\t\te.preventDefault();\n\t\t\tconsole.log(Cookies.get('import_loader') );\n\t\t\tvar slug = $(this).attr('data-id');\n\t\t\tconsole.log(1);\n\t\t\t$(\".league-import-item\").hide();\n\t\t\t\n\t\t\t\n\t\t\tjQuery.post(dtc.ajaxurl, {'action':'dtc_ajax_'+slug+'_main_loader'}, function(response) {\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\tjQuery(\".\"+slug+\"-loader\").html(response);\n\t\t\t\tjQuery(\".\"+slug+\"-loader\").show();\n\t\t\t});\n\t\t\t\n\t\t\t$(\".\"+slug).show();\n\t\t\t\t$(\".dtc-refresh-main-loader\").removeClass('dtc-nav-active');\n\t$(\".\"+slug+\"-loader-button\").addClass('dtc-nav-active');\n\t\t\tCookies.set('import_loader',slug, { expires: 7, path: '\/' })\n\t\t\n\t\t});\n\n\n\n\t\t\n$( document ).on( \"click\", \".mfl-import-calc-button\", function() {\n\n\tvar count_players_left = 0;\n\tvar count_picks_left = 0;\n\tvar count_players_right = 0;\n\tvar count_picks_right = 0;\n\tvar import_type = $(this).attr('data-id');\n\tdtc_ga_track('Import '+  import_type,'Import to calculator');\n\tvar calc_template_left = '<div class=\"dtc-player-input mfl-last-entry-left\"><a href=\"#\" class=\"dtc-add-player dtc-add-another\">Add Player \/ Pick <\/a><\/div>';\n\tvar calc_template_right = '<div class=\"dtc-player-input mfl-last-entry-right\"><a href=\"#\" class=\"dtc-add-player dtc-add-another\">Add Player \/ Pick <\/a><\/div>';\n\t$(\".dtc-player-picker-left .dtc-player-input\").remove(); \n\t$(\".dtc-player-picker-right .dtc-player-input\").remove();\n\t\t\n\t\t\n\t\t$(\".dtc-player-picker-left .dtc-player-input-total\").before(calc_template_left);\n\t\t$(\".dtc-player-picker-right .dtc-player-input-total\").before(calc_template_right);\n\t$( \".mfl-trade-object:checkbox:checked\" ).each(function( index ) {\n\t\n\n\t\t\n\t\t\/\/insert into calc\n\t\tvar side = $(this).attr('data-side');\n\t\t var type = $(this).attr(\"data-id\");\n\t\t  var type_player = $(this).attr(\"data-type\");\n\t\t  console.log(type_player );\n\t\t  var value = $(this).val();\n\t\t   \n\t\tvar team_size = $(\".mfl-rule-team-size\").val();\n\t\tvar team_type = $(\".mfl-rule-team-type\").val();\n\t\t  \n\t\tvar parent = $(this).parent();\n\t\t\n\t\t\t\n\t\t$.post(dtc.ajaxurl, {\"action\":\"dtc_ajax_get_player_input\",\"id\": value, \"type\": type,\"team_size\":team_size,\"team_type\":team_type,\"type_player\":type_player}, function(response) {\n\t\t\t\n\t\t\t\n\t\t\t$(\".mfl-last-entry-\"+side).before('<div class=\"dtc-player-input\"><div class=\"dtc-player-select2\">'+response+'<\/div><\/div>');\n\t\t\tconsole.log(\".dtc-player-picker-\"+side);\n\t\t\t\n\t\t\t  $('.cycle-slideshow').cycle();\n\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t \n\t\t\t\t  if($(\".dtc-showbadges\").attr('data-enabled') == 1){\n\t\t\t\t\t\t\n\t\t\t\t\t$(\".dtc-badge-logo\").hide();\n\t\t\t\t\t}else{\n\t\t\t\t\t$(\".dtc-badge-logo\").show();\t\n\t\t\t\t\t}\n\t\t\t}) .always(function() {\n   recalculatePlayers()\n  });\t\n\t\t\t\n\t\t\t\tif($(this).attr('data-side') == 'left'){\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(type == 'player'){\n\t\t\t\t\t\t\tcount_players_left +=1;\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\tcount_picks_left +=1;\n\t\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t}else{\n\t\t\t\t\tif(type == 'player'){\n\t\t\t\t\t\t\tcount_players_right +=1;\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\tcount_picks_right +=1;\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}).promise().done( function(){\n\t\t\n\t\t\n\t\t\n\t\t\t$( \".dtc-leauge-size\" ).each(function( index ) {\n\t\t\t\tconsole.log($(this).attr('data-id'));\n\t\tif($(this).attr('data-id') == $('.mfl-rule-team-size').val()){\n\t\t\tconsole.log('click this');\n\t\t\tconsole.log(this);\n\t\t\t$(this).click();\n\t\t}\n\t});\n\t\t\n\t\t$( \".dtc-leauge-format\" ).each(function( index ) {\n\t\t\t\n\tif($(this).attr('data-id') == $('.mfl-rule-team-format').val()){\n\t\t\t\t\t\t$(this).click();\n\t}\n\t\t\t\t\t\n\t\t\t\n\t\t});\n\t\t\n\t\n\t\t$( \".dtc-leauge-type\" ).each(function( index ) {\n\t\t\t\n\tif($(this).attr('data-id') == $('.mfl-rule-team-type').val()){\n\t\t\t\t\t\t$(this).click();\n\t}\n\t\t\t\t\t\n\t\t\t\n\t\t});\n\t\n\t$( \".dtc-leauge-format-alt\" ).each(function( index ) {\n\tif($(this).hasClass('dtc-te-premium-actions') && $('.mfl-rule-team-tepre').val() >= 1 && $(this).attr('data-enabled') !=1){\n\t\t\t\t$(this).click();\t\n\t}\n\t\n\tif($(this).hasClass('dtc-te-premium-actions') && $('.mfl-rule-team-tepre').val() ==0 && $(this).attr('data-enabled') == 1){\n\t\t\t\t$(this).click();\t\n\t}\n\t\n\tif($(this).hasClass('dtc-rb-ppc-premium-actions') && $('.mfl-rule-team-rbppc').val() >= 1 && $(this).attr('data-enabled') !=1){\n\t\t\t\t$(this).click();\t\n\t}\t\n\t\n\tif($(this).hasClass('dtc-rb-ppc-premium-actions') && $('.mfl-rule-team-rbppc').val() ==0 && $(this).attr('data-enabled') == 1){\n\t\t\t\t$(this).click();\t\n\t}\n\t\n\t});\n\t\n\t\tif($(\".dtc-devy-actions\").attr(\"data-enabled\") == 1){\n\t\t\t$(\".dtc-devy-actions\").click();\n\t\t}\n\t\t\n\t\n\t\tvar inst = $('[data-remodal-id=dtc-mfl-modal]').remodal();\n\t\tinst.close();\n\t\t } );\n\t\n\t\n\t\n\t\n\treturn false;\n\t\n});\n\n$( document ).on( \"click\", \".mfl-logout\", function() {\n\n\t\t$.post(dtc.ajaxurl, {'action':'dtc_mfl_ajax_logout', 'user_id':$(this).attr('data-id')}, function(response) {\t\t\t\t\t\n\t\t\t\t\tdtc_refresh_main_loader();\t\t\t\t\t\n\t\t\t\t\tdtc_ga_track('MFL API','User Logout');\n\t\t\t\t});\n\t\treturn false;\t\t\n\t});\n\t\t$( document ).on( \"click\", \".mfl-refresh-data\", function() {\n\t\t\n\t\t\t\n\t\t\t\t$.post(dtc.ajaxurl, {'action':'dtc_ajax_refresh_data', 'user_id':$(this).attr('data-id')}, function(response) {\t\t\t\t\t\n\t\t\t\t\tdtc_refresh_main_loader();\n\t\t\t\t\talert(\"Refreshed League Data\");\n\t\t\t\t\tdtc_ga_track('MFL API','Refresh Data');\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t});\n\t\t\t\n\t\t\t\treturn false;\n\t\t});\n\t\t\n\t\t\n\t\t$( document ).on( \"submit\", \".mfl-import-login\", function() {\n\t\t\n\t\t\t$.post(dtc.ajaxurl, {'action':'dtc_ajax_mfl_login', 'mfl-username':$(\".mfl-username\").val(),'mfl-password':$(\".mfl-password\").val()}, function(response) {\t\t\t\t\t\n\t\t\t\t\t\n\t\t$(\".mfl-loader\").html(response);\n\t\tdtc_ga_track('MFL API','User Login');\n\t\t\t\t});\n\t\t\t\n\t\t\t\t\n\t\n\t\t\treturn false;\n\t\t});\n\t\t\n\t\t\n\t\t$( document ).on( \"change\", \".mfl_load_opposing_team\", function() {\n\n\t\t\t\n\t\tdtc_mfl_load_team(jQuery(this).attr('data-id'),jQuery(this).val(),jQuery('option:selected', this).attr('data-my-team-name'),\".mfl-import-team-two\",\"right\");\t\n\t\t\tdtc_ga_track('MFL API','Load Opposing Team');\n\t\t\t\n\t\t});\n\t\t\n\t\t\n\t\t\n\t\n\t\t$( document ).on( \"change\", \".mfl_league_id\", function() {\n\t\t\n\t\t\n\t\t$(\".mfl-import-team-two\").empty();\n\t\t$(\".mfl-import-team-one\").empty();\t\n\t\t$(\".mfl_load_opposing_team\").val(\"\");\n\t\tdtc_mfl_load_team(jQuery(this).val(),jQuery('option:selected', this).attr('data-my-team-id'),jQuery('option:selected', this).attr('data-my-team-name'),\".mfl-import-team-one\",\"left\");\n\t\t\t\n\t\t$.post(dtc.ajaxurl, {'action':'dtc_ajax_get_opposing_players_dropdown', 'league_id':$(this).val(),'my_team_id':$('option:selected', this).attr('data-my-team-id'),'my_team_name':$('option:selected', this).attr('data-my-team-name')}, function(response) {\t\t\t\t\t\n\t\t\t\t\t\n\t\t$(\".mf-opposing-teams\").html(response);\n\t\tdtc_ga_track('MFL API','Load League');\n\t\t\/\/\n\t\n\t\t\n\t\t\n\t\t\n\t\t\t\t});\n\t\t\t\n\t\t\t\t\n\t\t});\n\t\t\n\t});\n\t\/\/mfl stuff  \n\t\t<\/script>\n\t\n       <div class=\"remodal\" data-remodal-id=\"dtc-mfl-modal\">\n       <button data-remodal-action=\"close\" class=\"remodal-close\"><\/button>\n       \n       <div class=\"mfl-loader-nav league-import-button\">\n       <a href=\"\" class=\"dtc-refresh-main-loader mfl-loader-button\" data-id=\"mfl\">My Fantasty League<\/a>\n              <div style=\"clear:both\"><\/div>\n       <\/div>\n       \n        <div class=\"mfl-loader league-import-item\">\n        \n        <\/div>\n                 <\/div>\n   \n    \n    \n                \t\n    \t<script type=\"text\/javascript\">\n\t\t\n\t\t\n\t\t\n\t\n\t\tjQuery( document ).on( \"dtc_recalculate\", function(){\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tvar settings = dtc_get_rules();\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif(settings.mode == 'startup'){\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\/\/console.log('is startup');\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n              \tvar rookie_mode = jQuery(\".dtc-under-calc-button-startup\").attr('data-rookie-draft');\n               if(rookie_mode == 'yes'){\n\t\t\t\tvar rookie_mode = 0;   \n\t\t\t   }else{\n\t\t\t\tvar rookie_mode = 1;   \n\t\t\t   }\n         \t\t \n\t\t\t\t\t\n\t\t\t\tjQuery.getJSON(\"https:\/\/dev.dynastytradecalculator.com\/index.php\/wp-json\/dtc\/v1\/top\/?type=all&&rookie=0&include_rookies=\"+rookie_mode+\"&cloud=0&type=all&team_size=\"+settings.team_size+\"&team_type=\"+settings.team_type+\"&team_format=\"+settings.team_format+\"&tepre=\"+settings.tepre+\"&rbppc=\"+settings.rbppc+\"&devy=\"+settings.devy+\"\", function(json){\t\t\n\t\t\t\t\t\n\t\t\t\t\tjQuery( \".dtc-calc-num\" ).each(function( index ) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(jQuery(this).attr('data-pick-type') == 'startup'){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tvar parent =  jQuery(this).parent().parent();\n\t\t\t\t\t\t\t\t\t\t\tvar pick_input =  jQuery(this);\n\t\t\t\t\t\t\t\t\t\t\tvar round_num = pick_input.attr('data-round');\n\t\t\t\t\t\t\t\t\t\t\tvar pick_num = pick_input.attr('data-pick');\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\/\/console.log(json);\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tvar round_total =0;\n\t\t\t\t\t\t\t\t\t\t\tif(parseFloat(round_num)>1){\n\t\t\t\t\t\t\t\t\t\t\tvar round_total = (\tparseFloat(round_num) - 1 ) * parseFloat(settings.team_size);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tvar pick_number = parseFloat(pick_num) + parseFloat(round_total);\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tpick_number = parseFloat(pick_number) - 1;\n\t\t\t\t\t\t\t\t\t\t\t\/\/console.log(pick_num);\n\t\t\t\t\t\t\t\t\t\t\t\/\/console.log(round_num);\n\t\t\t\t\t\t\t\t\t\t\t\/\/console.log(pick_number);\n\t\t\t\t\t\t\t\t\t\t\tvar comparable_player = json[pick_number];\n\t\t\t\t\t\t\t\t\t\t\tvar comparable_player_total = parseFloat(comparable_player.average);\n\t\t\t\t\t\t\t\t\t\t\t\/\/console.log(comparable_player);\n\t\t\t\t\t\t\t\t\t\t\t\/\/console.log(comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\/\/console.log(comparable_player_total);\n\t\t\t\t\t\t\tconsole.log('compare player for round '+round_num+' and pick '+ pick_num+' and top id '+ pick_number) ;\t\n\t\t\t\t\t\t\tconsole.log(comparable_player);\t\n\t\t\t\t\t\t\tconsole.log('original score: ' + \t comparable_player_total);\t\n\t\t\t\t\t\t\tif(round_num>1){\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\/\/ get first pick for this round\n\t\t\t\t\t\t\tvar first_pick = \tround_total;\n\t\t\t\t\t\t\/\/console.log('First pick top_id:' +first_pick);\n\t\t\t\t\t\t\tconsole.log('First pick top_id: '+json[first_pick].name+ ' - '+json[first_pick].average+ ' ' +first_pick);\n\t\t\t\t\t\t\t\/\/ get last pick for this round\n\t\t\t\t\t\t\tvar last_pick =     parseInt(round_total) + (parseInt(settings.team_size) - parseInt(1));\n\t\t\t\t\t\t\t\/\/console.log('Last pick top_id:' +last_pick);\n\t\t\t\t\t\t\tconsole.log('Last pick top_id: '+json[last_pick].name+ '- '+json[last_pick].average+ ' '  +last_pick);\n\t\t\t\nif(parseInt(pick_num)>1){\t\t\t\t\t\t\t\n\/\/figure out the total using the formula\nvar team_size_multiplier = parseFloat(settings.team_size) -parseFloat(1);\nconsole.log(team_size_multiplier)\nvar degrade = (parseFloat(json[first_pick].average) - parseFloat(json[last_pick].average))\t \/ team_size_multiplier \t;\nconsole.log('('+json[first_pick].average+' - '+json[last_pick].average+' \/ '+team_size_multiplier+' ) degrade amount: ' + degrade);\nvar degrade = parseFloat(degrade) * (parseFloat(pick_num) - 1);\n}else{\nvar \tdegrade = 0;\t\n}\n\tconsole.log('Degrade '+ degrade);\n\tvar comparable_player_total = parseFloat(json[first_pick].average) - parseFloat(degrade);\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tconsole.log('Round '+round_num+' Boost');\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(round_num == 2){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ if  a round 2 pick then boost with setting\t\t\t\t\t\t\t\n\t\t\t\t\tvar \tcomparable_player_total = (comparable_player_total * parseFloat(dtc.settings.startup_round_two_boost))+ comparable_player_total ;\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t   \t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(round_num == 3){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ if  a round 2 pick then boost with setting\t\t\t\t\t\t\t\n\t\t\t\t\tvar \tcomparable_player_total = (comparable_player_total * parseFloat(dtc.settings.startup_round_3_boost))+ comparable_player_total ;\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(round_num == 4){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ if  a round 2 pick then boost with setting\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar \tcomparable_player_total = (comparable_player_total * parseFloat(dtc.settings.startup_round_4_boost))+ comparable_player_total ;\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(round_num >= 5 && round_num <= 7){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ if  a round 2 pick then boost with setting\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar \tcomparable_player_total = (comparable_player_total * parseFloat(dtc.settings.startup_round_5_7_boost))+ comparable_player_total ;\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(round_num >= 8 && round_num <= 10){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ if  a round 2 pick then boost with setting\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar \tcomparable_player_total = (comparable_player_total * parseFloat(dtc.settings.startup_round_8_10_boost))+ comparable_player_total ;\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(round_num >= 8 && round_num <= 10){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ if  a round 2 pick then boost with setting\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar \tcomparable_player_total = (comparable_player_total * parseFloat(dtc.settings.startup_round_8_10_boost))+ comparable_player_total ;\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(round_num >= 11 && round_num <= 15){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ if  a round 2 pick then boost with setting\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar \tcomparable_player_total = (comparable_player_total * parseFloat(dtc.settings.startup_round_11_15_boost))+ comparable_player_total ;\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(round_num >= 16 && round_num <= 20){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ if  a round 2 pick then boost with setting\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tvar \tcomparable_player_total = (comparable_player_total * parseFloat(dtc.settings.startup_round_16_20_boost))+ comparable_player_total ;\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\/\/ if round 1 pick then boost with setting\t\t\t\t\t\t\n\t\t\t\t\tvar \tcomparable_player_total = (comparable_player_total * parseFloat(dtc.settings.startup_round_one_boost))+ comparable_player_total ;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tvar  comparable_player_total = dtc_round_num(comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tconsole.log('final score: ' + \t comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tconsole.log(comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('value',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-ten',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-twelve',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-fourteen',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-sixteen',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-tensf',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-twelvesf',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-fourteensf',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-sixteensf',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-calculated',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\tpick_input.attr('data-sixteensf',comparable_player_total);\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tjQuery(\".dtc-calc-item-player-score .dtc-calc-item-inner,.dtc-calc-item-player-score-mobile .dtc-calc-item-inner\",pick_input.parent()).text(comparable_player_total);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}).promise().done(function () {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\tvar left_total = 0;\n\t\t\t\t\t\tjQuery( \".dtc-player-picker-left .dtc-calc-num\" ).each(function( index ) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(jQuery(this).attr('data-calculated')){\n\t\t\t\t\t\t\tleft_total += parseFloat(jQuery(this).attr('data-calculated'));\t\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tleft_total += parseFloat(jQuery(this).val);\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\".dtc-left-total\").text(dtc_round_num(left_total));\n\t\t\t\t\t\t\/\/console.log('left total' +dtc_round_num(left_total));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tvar right_total = 0;\n\t\t\t\t\t\tjQuery( \".dtc-player-picker-right .dtc-calc-num\" ).each(function( index ) {\n\t\t\t\t\t\t\tif(jQuery(this).attr('data-calculated')){\n\t\t\t\t\t\t\tright_total += parseFloat(jQuery(this).attr('data-calculated'));\t\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tright_total += parseFloat(jQuery(this).val());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t});\n\t\t\t\t\t\tjQuery(\".dtc-right-total\").text(dtc_round_num(right_total));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\/\/\tconsole.log('right total' +dtc_round_num(right_total));\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t});\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t});\n\t\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\n\t\t\n\t\t\t\t\t\t\n\t\t\t\n\t\t\t$(\"a.dtc-calculator-mode\").on(\"click\",function(){\n\t\t\t\t\n\t\t\t\t$(\".dtc-calculator-mode\").removeClass('filter-active');\n\t\t\t\t$(this).addClass(\"filter-active\");\n\t\t\t\tdtc_clear_calculator();\n\t\t\t\treturn false\n\t\t\t});\n\t\t\t\n\t\t\t\n\t\t\t$(\".startup-choice\").on(\"click\",function(){\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t$(\".dtc-under-calc-button-startup\").attr('data-rookie-draft', $(this).attr('data-id'));\n\t\t\t\tvar inst = $('[data-remodal-id=dtc-startup-mode]').remodal();\n\t\t\t\tinst.close();\n\t\t\t\t\n\t\t\t\treturn false;\n\t\t\t});\n\t\t\t\n\t\t\t$(\".dtc-under-calc-button-startup\").on(\"click\",function(){\n\t\t\t\t\n\t\t\t\tvar inst = $('[data-remodal-id=dtc-startup-mode]').remodal();\n\t\t\t\tinst.open();\n\t\t\t});\n\t\t\t\n\t\t});\n\t\t\n\t\t\n\t<\/script>\n        \t\t\t\t<p><\/p>\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\t\t<\/div>\n\t\t<\/section>\n\t\t\t\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":"","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-15","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/dev.dynastytradecalculator.com\/index.php\/wp-json\/wp\/v2\/pages\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.dynastytradecalculator.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev.dynastytradecalculator.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev.dynastytradecalculator.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.dynastytradecalculator.com\/index.php\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":6,"href":"https:\/\/dev.dynastytradecalculator.com\/index.php\/wp-json\/wp\/v2\/pages\/15\/revisions"}],"predecessor-version":[{"id":21,"href":"https:\/\/dev.dynastytradecalculator.com\/index.php\/wp-json\/wp\/v2\/pages\/15\/revisions\/21"}],"wp:attachment":[{"href":"https:\/\/dev.dynastytradecalculator.com\/index.php\/wp-json\/wp\/v2\/media?parent=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}