{"id":279,"date":"2026-08-10T22:40:17","date_gmt":"2026-08-10T22:40:17","guid":{"rendered":"https:\/\/fxmotorsbroker.com\/?page_id=279"},"modified":"2026-08-10T22:40:18","modified_gmt":"2026-08-10T22:40:18","slug":"calculadora-copart","status":"publish","type":"page","link":"https:\/\/fxmotorsbroker.com\/en\/calculadora-copart\/","title":{"rendered":"Calculadora Copart"},"content":{"rendered":"\n[et_pb_section fb_built=\u00bb1&#8243; theme_builder_area=\u00bbpost_content\u00bb _builder_version=\u00bb4.27.0&#8243; _module_preset=\u00bbdefault\u00bb][et_pb_row _builder_version=\u00bb4.27.0&#8243; _module_preset=\u00bbdefault\u00bb theme_builder_area=\u00bbpost_content\u00bb][et_pb_column _builder_version=\u00bb4.27.0&#8243; _module_preset=\u00bbdefault\u00bb type=\u00bb4_4&#8243; theme_builder_area=\u00bbpost_content\u00bb][et_pb_code _builder_version=\u00bb4.27.0&#8243; _module_preset=\u00bbdefault\u00bb theme_builder_area=\u00bbpost_content\u00bb hover_enabled=\u00bb0&#8243; sticky_enabled=\u00bb0&#8243;]    <style>\n    .fxc-wrap{max-width:980px;margin:36px auto;padding:0 16px;font-family:Arial,Helvetica,sans-serif;color:#111827}\n    .fxc-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(15,23,42,.08)}\n    .fxc-head{padding:28px 30px 22px;background:linear-gradient(135deg,#0f172a,#1e3a8a);color:#fff}\n    .fxc-head h2{margin:0 0 8px!important;color:#fff!important;font-size:32px!important;line-height:1.15!important;font-weight:800!important}\n    .fxc-head p{margin:0;color:#fff;opacity:.9}\n    .fxc-badge{display:inline-block;margin-top:10px;padding:6px 10px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.1);font-size:12px;font-weight:700}\n    .fxc-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:26px 30px 10px}\n    .fxc-field label{display:block;font-weight:700;margin-bottom:8px;font-size:14px}\n    .fxc-field input,.fxc-field select{width:100%;padding:13px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;font-size:16px}\n    .fxc-actions{padding:10px 30px 22px}\n    .fxc-btn{width:100%;padding:15px;border:0;border-radius:12px;background:#1d4ed8;color:#fff;font-size:16px;font-weight:800;cursor:pointer}\n    .fxc-results{margin:0 30px 22px;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}\n    .fxc-row{display:flex;justify-content:space-between;gap:20px;padding:13px 16px;border-bottom:1px solid #e5e7eb}\n    .fxc-row:last-child{border-bottom:0}\n\n    .fxc-broker{\n      background:#f8fafc;\n      font-weight:800;\n    }\n\n    .fxc-broker strong{\n      color:#1d4ed8;\n    }\n\n    .fxc-total{background:#eff6ff;font-size:20px;font-weight:800}\n    .fxc-total span:last-child{color:#1d4ed8}\n\n    .fxc-note{margin:0 30px 28px;padding:14px 16px;border-radius:12px;background:#f8fafc;color:#6b7280;font-size:12px;line-height:1.5}\n\n    @media(max-width:720px){\n      .fxc-grid{grid-template-columns:1fr;padding:22px 18px 8px}\n      .fxc-actions{padding:10px 18px 20px}\n      .fxc-results,.fxc-note{margin-left:18px;margin-right:18px}\n      .fxc-head{padding:24px 20px}\n      .fxc-head h2{font-size:26px!important}\n    }\n    <\/style>\n\n    <div class=\"fxc-wrap\" id=\"fxc-calculator\">\n      <div class=\"fxc-card\">\n\n        <div class=\"fxc-head\">\n          <h2>Calculadora de Costos Copart<\/h2>\n          <p>Estima cu\u00e1nto terminar\u00edas pagando antes de hacer tu oferta.<\/p>\n          <div class=\"fxc-badge\">FX Motors Broker \u00b7 Estimaci\u00f3n educativa<\/div>\n        <\/div>\n\n        <div class=\"fxc-grid\">\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-bid\">Precio final \/ oferta estimada ($)<\/label>\n            <input id=\"fxc-bid\" type=\"number\" min=\"0\" step=\"1\" placeholder=\"Ej. 4000\">\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-title\">Tipo de t\u00edtulo<\/label>\n            <select id=\"fxc-title\">\n              <option value=\"nonclean\">Non-Clean \/ Salvage<\/option>\n              <option value=\"clean\">Clean Title<\/option>\n            <\/select>\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-bidtype\">Tipo de oferta<\/label>\n            <select id=\"fxc-bidtype\">\n              <option value=\"pre\">Pre-Bid \/ Buy It Now<\/option>\n              <option value=\"live\">Live Bid<\/option>\n            <\/select>\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-transport\">Transporte opcional ($)<\/label>\n            <input id=\"fxc-transport\" type=\"number\" min=\"0\" step=\"1\" value=\"0\">\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-repairs\">Reparaciones estimadas ($)<\/label>\n            <input id=\"fxc-repairs\" type=\"number\" min=\"0\" step=\"1\" value=\"0\">\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-other\">Otros costos ($)<\/label>\n            <input id=\"fxc-other\" type=\"number\" min=\"0\" step=\"1\" value=\"0\">\n          <\/div>\n\n        <\/div>\n\n        <div class=\"fxc-actions\">\n          <button type=\"button\" class=\"fxc-btn\" id=\"fxc-calc\">\n            CALCULAR COSTO TOTAL\n          <\/button>\n        <\/div>\n\n        <div class=\"fxc-results\">\n\n          <div class=\"fxc-row\">\n            <span>Precio del veh\u00edculo<\/span>\n            <strong id=\"fxc-rbid\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Buyer Fee<\/span>\n            <strong id=\"fxc-rbuyer\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Virtual Bid Fee<\/span>\n            <strong id=\"fxc-rvirtual\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Gate Fee<\/span>\n            <strong id=\"fxc-rgate\">$95.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Environmental Fee<\/span>\n            <strong id=\"fxc-renv\">$15.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row fxc-broker\">\n            <span>FX Motors Broker Fee<\/span>\n            <strong id=\"fxc-rbroker\">$350.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Transporte<\/span>\n            <strong id=\"fxc-rtransport\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Reparaciones<\/span>\n            <strong id=\"fxc-rrepairs\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Otros costos<\/span>\n            <strong id=\"fxc-rother\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row fxc-total\">\n            <span>TOTAL ESTIMADO<\/span>\n            <span id=\"fxc-rtotal\">$460.00<\/span>\n          <\/div>\n\n        <\/div>\n\n        <div class=\"fxc-note\">\n          <strong>Importante:<\/strong>\n          estimaci\u00f3n basada en Copart U.S. Non-Licensed, Standard Pricing,\n          veh\u00edculo est\u00e1ndar y m\u00e9todo de pago asegurado.\n          El FX Motors Broker Fee est\u00e1 incluido en el total.\n          No incluye impuestos, title\/documentation fees, storage,\n          late fees, title shipping ni cargos especiales.\n          Las tarifas de Copart pueden cambiar; verifica siempre\n          los cargos vigentes antes de ofertar.\n        <\/div>\n\n      <\/div>\n    <\/div>\n\n    <script>\n    (function(){\n\n      const $ = id => document.getElementById(id);\n\n      const money = n =>\n        new Intl.NumberFormat('en-US',{\n          style:'currency',\n          currency:'USD'\n        }).format(n || 0);\n\n\n      const clean = [\n        [0,49.99,25],[50,99.99,45],[100,199.99,80],[200,299.99,120],\n        [300,349.99,120],[350,399.99,120],[400,449.99,160],[450,499.99,160],\n        [500,549.99,185],[550,599.99,185],[600,699.99,210],[700,799.99,230],\n        [800,899.99,250],[900,999.99,275],[1000,1199.99,325],[1200,1299.99,350],\n        [1300,1399.99,365],[1400,1499.99,380],[1500,1599.99,390],[1600,1699.99,410],\n        [1700,1799.99,420],[1800,1999.99,440],[2000,2399.99,470],[2400,2499.99,480],\n        [2500,2999.99,500],[3000,3499.99,600],[3500,3999.99,675],[4000,4499.99,710],\n        [4500,4999.99,750],[5000,5499.99,750],[5500,5999.99,750],[6000,6499.99,800],\n        [6500,6999.99,800],[7000,7499.99,800],[7500,7999.99,815],[8000,8499.99,840],\n        [8500,8999.99,840],[9000,9999.99,840],[10000,10499.99,850],[10500,10999.99,850],\n        [11000,11499.99,850],[11500,11999.99,850],[12000,12499.99,850],[12500,14999.99,850]\n      ];\n\n      const nonclean = [\n        [0,49.99,25],[50,99.99,45],[100,199.99,80],[200,299.99,130],\n        [300,349.99,137.5],[350,399.99,145],[400,449.99,175],[450,499.99,185],\n        [500,549.99,205],[550,599.99,210],[600,699.99,240],[700,799.99,270],\n        [800,899.99,295],[900,999.99,320],[1000,1199.99,375],[1200,1299.99,395],\n        [1300,1399.99,410],[1400,1499.99,430],[1500,1599.99,445],[1600,1699.99,465],\n        [1700,1799.99,485],[1800,1999.99,510],[2000,2399.99,535],[2400,2499.99,570],\n        [2500,2999.99,610],[3000,3499.99,655],[3500,3999.99,705],[4000,4499.99,725],\n        [4500,4999.99,750],[5000,5499.99,775],[5500,5999.99,800],[6000,6499.99,825],\n        [6500,6999.99,845],[7000,7499.99,880],[7500,7999.99,900],[8000,8499.99,925],\n        [8500,8999.99,945],[9000,9999.99,945],[10000,10499.99,1000],[10500,10999.99,1000],\n        [11000,11499.99,1000],[11500,11999.99,1000],[12000,12499.99,1000],[12500,14999.99,1000]\n      ];\n\n\n      function buyerFee(bid,type){\n\n        if(type === 'clean'){\n\n          if(bid >= 15000)\n            return bid * 0.0725;\n\n          const r =\n            clean.find(x => bid >= x[0] && bid <= x[1]);\n\n          return r ? r[2] : 0;\n\n        } else {\n\n          if(bid >= 15000)\n            return bid * 0.075;\n\n          const r =\n            nonclean.find(x => bid >= x[0] && bid <= x[1]);\n\n          return r ? r[2] : 0;\n        }\n      }\n\n\n      function virtualFee(bid,kind,title){\n\n        const cleanPre=[\n          [0,99.99,0],[100,499.99,39],[500,999.99,49],\n          [1000,1499.99,69],[1500,1999.99,79],\n          [2000,3999.99,89],[4000,5999.99,99],\n          [6000,7999.99,119],[8000,Infinity,129]\n        ];\n\n        const cleanLive=[\n          [0,99.99,0],[100,499.99,49],[500,999.99,59],\n          [1000,1499.99,79],[1500,1999.99,89],\n          [2000,3999.99,99],[4000,5999.99,109],\n          [6000,7999.99,139],[8000,Infinity,149]\n        ];\n\n        const nonPre=[\n          [0,99.99,0],[100,499.99,40],[500,999.99,55],\n          [1000,1499.99,75],[1500,1999.99,85],\n          [2000,3999.99,100],[4000,5999.99,110],\n          [6000,7999.99,125],[8000,Infinity,140]\n        ];\n\n        const nonLive=[\n          [0,99.99,0],[100,499.99,50],[500,999.99,65],\n          [1000,1499.99,85],[1500,1999.99,95],\n          [2000,3999.99,110],[4000,5999.99,125],\n          [6000,7999.99,145],[8000,Infinity,160]\n        ];\n\n        const table =\n          title === 'clean'\n            ? (kind === 'live' ? cleanLive : cleanPre)\n            : (kind === 'live' ? nonLive : nonPre);\n\n        const r =\n          table.find(x => bid >= x[0] && bid <= x[1]);\n\n        return r ? r[2] : 0;\n      }\n\n\n      function brokerFee(bid){\n\n        if(bid <= 10000){\n          return 350;\n        }\n\n        if(bid <= 20000){\n          return 600;\n        }\n\n        return null;\n      }\n\n\n      function calc(){\n\n        const bid =\n          Math.max(0,Number($('fxc-bid').value) || 0);\n\n        const title =\n          $('fxc-title').value;\n\n        const kind =\n          $('fxc-bidtype').value;\n\n        const transport =\n          Math.max(0,Number($('fxc-transport').value) || 0);\n\n        const repairs =\n          Math.max(0,Number($('fxc-repairs').value) || 0);\n\n        const other =\n          Math.max(0,Number($('fxc-other').value) || 0);\n\n\n        const buyer =\n          buyerFee(bid,title);\n\n        const virtual =\n          virtualFee(bid,kind,title);\n\n        const gate =\n          title === 'clean' ? 79 : 95;\n\n        const env = 15;\n\n        const broker =\n          brokerFee(bid);\n\n\n        $('fxc-rbid').textContent =\n          money(bid);\n\n        $('fxc-rbuyer').textContent =\n          money(buyer);\n\n        $('fxc-rvirtual').textContent =\n          money(virtual);\n\n        $('fxc-rgate').textContent =\n          money(gate);\n\n        $('fxc-renv').textContent =\n          money(env);\n\n        $('fxc-rtransport').textContent =\n          money(transport);\n\n        $('fxc-rrepairs').textContent =\n          money(repairs);\n\n        $('fxc-rother').textContent =\n          money(other);\n\n\n        if(broker === null){\n\n          $('fxc-rbroker').textContent =\n            'Contactar FX Motors Broker';\n\n          $('fxc-rtotal').textContent =\n            'Consultar';\n\n        } else {\n\n          $('fxc-rbroker').textContent =\n            money(broker);\n\n          const total =\n            bid +\n            buyer +\n            virtual +\n            gate +\n            env +\n            broker +\n            transport +\n            repairs +\n            other;\n\n          $('fxc-rtotal').textContent =\n            money(total);\n        }\n      }\n\n\n      $('fxc-calc').addEventListener('click',calc);\n\n\n      [\n        'fxc-bid',\n        'fxc-title',\n        'fxc-bidtype',\n        'fxc-transport',\n        'fxc-repairs',\n        'fxc-other'\n      ].forEach(id=>{\n\n        $(id).addEventListener('change',calc);\n\n      });\n\n\n      calc();\n\n    })();\n    <\/script>\n\n    [\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"    <style>\n    .fxc-wrap{max-width:980px;margin:36px auto;padding:0 16px;font-family:Arial,Helvetica,sans-serif;color:#111827}\n    .fxc-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(15,23,42,.08)}\n    .fxc-head{padding:28px 30px 22px;background:linear-gradient(135deg,#0f172a,#1e3a8a);color:#fff}\n    .fxc-head h2{margin:0 0 8px!important;color:#fff!important;font-size:32px!important;line-height:1.15!important;font-weight:800!important}\n    .fxc-head p{margin:0;color:#fff;opacity:.9}\n    .fxc-badge{display:inline-block;margin-top:10px;padding:6px 10px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.1);font-size:12px;font-weight:700}\n    .fxc-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:26px 30px 10px}\n    .fxc-field label{display:block;font-weight:700;margin-bottom:8px;font-size:14px}\n    .fxc-field input,.fxc-field select{width:100%;padding:13px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;font-size:16px}\n    .fxc-actions{padding:10px 30px 22px}\n    .fxc-btn{width:100%;padding:15px;border:0;border-radius:12px;background:#1d4ed8;color:#fff;font-size:16px;font-weight:800;cursor:pointer}\n    .fxc-results{margin:0 30px 22px;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}\n    .fxc-row{display:flex;justify-content:space-between;gap:20px;padding:13px 16px;border-bottom:1px solid #e5e7eb}\n    .fxc-row:last-child{border-bottom:0}\n\n    .fxc-broker{\n      background:#f8fafc;\n      font-weight:800;\n    }\n\n    .fxc-broker strong{\n      color:#1d4ed8;\n    }\n\n    .fxc-total{background:#eff6ff;font-size:20px;font-weight:800}\n    .fxc-total span:last-child{color:#1d4ed8}\n\n    .fxc-note{margin:0 30px 28px;padding:14px 16px;border-radius:12px;background:#f8fafc;color:#6b7280;font-size:12px;line-height:1.5}\n\n    @media(max-width:720px){\n      .fxc-grid{grid-template-columns:1fr;padding:22px 18px 8px}\n      .fxc-actions{padding:10px 18px 20px}\n      .fxc-results,.fxc-note{margin-left:18px;margin-right:18px}\n      .fxc-head{padding:24px 20px}\n      .fxc-head h2{font-size:26px!important}\n    }\n    <\/style>\n\n    <div class=\"fxc-wrap\" id=\"fxc-calculator\">\n      <div class=\"fxc-card\">\n\n        <div class=\"fxc-head\">\n          <h2>Calculadora de Costos Copart<\/h2>\n          <p>Estima cu\u00e1nto terminar\u00edas pagando antes de hacer tu oferta.<\/p>\n          <div class=\"fxc-badge\">FX Motors Broker \u00b7 Estimaci\u00f3n educativa<\/div>\n        <\/div>\n\n        <div class=\"fxc-grid\">\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-bid\">Precio final \/ oferta estimada ($)<\/label>\n            <input id=\"fxc-bid\" type=\"number\" min=\"0\" step=\"1\" placeholder=\"Ej. 4000\">\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-title\">Tipo de t\u00edtulo<\/label>\n            <select id=\"fxc-title\">\n              <option value=\"nonclean\">Non-Clean \/ Salvage<\/option>\n              <option value=\"clean\">Clean Title<\/option>\n            <\/select>\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-bidtype\">Tipo de oferta<\/label>\n            <select id=\"fxc-bidtype\">\n              <option value=\"pre\">Pre-Bid \/ Buy It Now<\/option>\n              <option value=\"live\">Live Bid<\/option>\n            <\/select>\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-transport\">Transporte opcional ($)<\/label>\n            <input id=\"fxc-transport\" type=\"number\" min=\"0\" step=\"1\" value=\"0\">\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-repairs\">Reparaciones estimadas ($)<\/label>\n            <input id=\"fxc-repairs\" type=\"number\" min=\"0\" step=\"1\" value=\"0\">\n          <\/div>\n\n          <div class=\"fxc-field\">\n            <label for=\"fxc-other\">Otros costos ($)<\/label>\n            <input id=\"fxc-other\" type=\"number\" min=\"0\" step=\"1\" value=\"0\">\n          <\/div>\n\n        <\/div>\n\n        <div class=\"fxc-actions\">\n          <button type=\"button\" class=\"fxc-btn\" id=\"fxc-calc\">\n            CALCULAR COSTO TOTAL\n          <\/button>\n        <\/div>\n\n        <div class=\"fxc-results\">\n\n          <div class=\"fxc-row\">\n            <span>Precio del veh\u00edculo<\/span>\n            <strong id=\"fxc-rbid\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Buyer Fee<\/span>\n            <strong id=\"fxc-rbuyer\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Virtual Bid Fee<\/span>\n            <strong id=\"fxc-rvirtual\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Gate Fee<\/span>\n            <strong id=\"fxc-rgate\">$95.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Environmental Fee<\/span>\n            <strong id=\"fxc-renv\">$15.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row fxc-broker\">\n            <span>FX Motors Broker Fee<\/span>\n            <strong id=\"fxc-rbroker\">$350.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Transporte<\/span>\n            <strong id=\"fxc-rtransport\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Reparaciones<\/span>\n            <strong id=\"fxc-rrepairs\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row\">\n            <span>Otros costos<\/span>\n            <strong id=\"fxc-rother\">$0.00<\/strong>\n          <\/div>\n\n          <div class=\"fxc-row fxc-total\">\n            <span>TOTAL ESTIMADO<\/span>\n            <span id=\"fxc-rtotal\">$460.00<\/span>\n          <\/div>\n\n        <\/div>\n\n        <div class=\"fxc-note\">\n          <strong>Importante:<\/strong>\n          estimaci\u00f3n basada en Copart U.S. Non-Licensed, Standard Pricing,\n          veh\u00edculo est\u00e1ndar y m\u00e9todo de pago asegurado.\n          El FX Motors Broker Fee est\u00e1 incluido en el total.\n          No incluye impuestos, title\/documentation fees, storage,\n          late fees, title shipping ni cargos especiales.\n          Las tarifas de Copart pueden cambiar; verifica siempre\n          los cargos vigentes antes de ofertar.\n        <\/div>\n\n      <\/div>\n    <\/div>\n\n    <script>\n    (function(){\n\n      const $ = id => document.getElementById(id);\n\n      const money = n =>\n        new Intl.NumberFormat('en-US',{\n          style:'currency',\n          currency:'USD'\n        }).format(n || 0);\n\n\n      const clean = [\n        [0,49.99,25],[50,99.99,45],[100,199.99,80],[200,299.99,120],\n        [300,349.99,120],[350,399.99,120],[400,449.99,160],[450,499.99,160],\n        [500,549.99,185],[550,599.99,185],[600,699.99,210],[700,799.99,230],\n        [800,899.99,250],[900,999.99,275],[1000,1199.99,325],[1200,1299.99,350],\n        [1300,1399.99,365],[1400,1499.99,380],[1500,1599.99,390],[1600,1699.99,410],\n        [1700,1799.99,420],[1800,1999.99,440],[2000,2399.99,470],[2400,2499.99,480],\n        [2500,2999.99,500],[3000,3499.99,600],[3500,3999.99,675],[4000,4499.99,710],\n        [4500,4999.99,750],[5000,5499.99,750],[5500,5999.99,750],[6000,6499.99,800],\n        [6500,6999.99,800],[7000,7499.99,800],[7500,7999.99,815],[8000,8499.99,840],\n        [8500,8999.99,840],[9000,9999.99,840],[10000,10499.99,850],[10500,10999.99,850],\n        [11000,11499.99,850],[11500,11999.99,850],[12000,12499.99,850],[12500,14999.99,850]\n      ];\n\n      const nonclean = [\n        [0,49.99,25],[50,99.99,45],[100,199.99,80],[200,299.99,130],\n        [300,349.99,137.5],[350,399.99,145],[400,449.99,175],[450,499.99,185],\n        [500,549.99,205],[550,599.99,210],[600,699.99,240],[700,799.99,270],\n        [800,899.99,295],[900,999.99,320],[1000,1199.99,375],[1200,1299.99,395],\n        [1300,1399.99,410],[1400,1499.99,430],[1500,1599.99,445],[1600,1699.99,465],\n        [1700,1799.99,485],[1800,1999.99,510],[2000,2399.99,535],[2400,2499.99,570],\n        [2500,2999.99,610],[3000,3499.99,655],[3500,3999.99,705],[4000,4499.99,725],\n        [4500,4999.99,750],[5000,5499.99,775],[5500,5999.99,800],[6000,6499.99,825],\n        [6500,6999.99,845],[7000,7499.99,880],[7500,7999.99,900],[8000,8499.99,925],\n        [8500,8999.99,945],[9000,9999.99,945],[10000,10499.99,1000],[10500,10999.99,1000],\n        [11000,11499.99,1000],[11500,11999.99,1000],[12000,12499.99,1000],[12500,14999.99,1000]\n      ];\n\n\n      function buyerFee(bid,type){\n\n        if(type === 'clean'){\n\n          if(bid >= 15000)\n            return bid * 0.0725;\n\n          const r =\n            clean.find(x => bid >= x[0] && bid <= x[1]);\n\n          return r ? r[2] : 0;\n\n        } else {\n\n          if(bid >= 15000)\n            return bid * 0.075;\n\n          const r =\n            nonclean.find(x => bid >= x[0] && bid <= x[1]);\n\n          return r ? r[2] : 0;\n        }\n      }\n\n\n      function virtualFee(bid,kind,title){\n\n        const cleanPre=[\n          [0,99.99,0],[100,499.99,39],[500,999.99,49],\n          [1000,1499.99,69],[1500,1999.99,79],\n          [2000,3999.99,89],[4000,5999.99,99],\n          [6000,7999.99,119],[8000,Infinity,129]\n        ];\n\n        const cleanLive=[\n          [0,99.99,0],[100,499.99,49],[500,999.99,59],\n          [1000,1499.99,79],[1500,1999.99,89],\n          [2000,3999.99,99],[4000,5999.99,109],\n          [6000,7999.99,139],[8000,Infinity,149]\n        ];\n\n        const nonPre=[\n          [0,99.99,0],[100,499.99,40],[500,999.99,55],\n          [1000,1499.99,75],[1500,1999.99,85],\n          [2000,3999.99,100],[4000,5999.99,110],\n          [6000,7999.99,125],[8000,Infinity,140]\n        ];\n\n        const nonLive=[\n          [0,99.99,0],[100,499.99,50],[500,999.99,65],\n          [1000,1499.99,85],[1500,1999.99,95],\n          [2000,3999.99,110],[4000,5999.99,125],\n          [6000,7999.99,145],[8000,Infinity,160]\n        ];\n\n        const table =\n          title === 'clean'\n            ? (kind === 'live' ? cleanLive : cleanPre)\n            : (kind === 'live' ? nonLive : nonPre);\n\n        const r =\n          table.find(x => bid >= x[0] && bid <= x[1]);\n\n        return r ? r[2] : 0;\n      }\n\n\n      function brokerFee(bid){\n\n        if(bid <= 10000){\n          return 350;\n        }\n\n        if(bid <= 20000){\n          return 600;\n        }\n\n        return null;\n      }\n\n\n      function calc(){\n\n        const bid =\n          Math.max(0,Number($('fxc-bid').value) || 0);\n\n        const title =\n          $('fxc-title').value;\n\n        const kind =\n          $('fxc-bidtype').value;\n\n        const transport =\n          Math.max(0,Number($('fxc-transport').value) || 0);\n\n        const repairs =\n          Math.max(0,Number($('fxc-repairs').value) || 0);\n\n        const other =\n          Math.max(0,Number($('fxc-other').value) || 0);\n\n\n        const buyer =\n          buyerFee(bid,title);\n\n        const virtual =\n          virtualFee(bid,kind,title);\n\n        const gate =\n          title === 'clean' ? 79 : 95;\n\n        const env = 15;\n\n        const broker =\n          brokerFee(bid);\n\n\n        $('fxc-rbid').textContent =\n          money(bid);\n\n        $('fxc-rbuyer').textContent =\n          money(buyer);\n\n        $('fxc-rvirtual').textContent =\n          money(virtual);\n\n        $('fxc-rgate').textContent =\n          money(gate);\n\n        $('fxc-renv').textContent =\n          money(env);\n\n        $('fxc-rtransport').textContent =\n          money(transport);\n\n        $('fxc-rrepairs').textContent =\n          money(repairs);\n\n        $('fxc-rother').textContent =\n          money(other);\n\n\n        if(broker === null){\n\n          $('fxc-rbroker').textContent =\n            'Contactar FX Motors Broker';\n\n          $('fxc-rtotal').textContent =\n            'Consultar';\n\n        } else {\n\n          $('fxc-rbroker').textContent =\n            money(broker);\n\n          const total =\n            bid +\n            buyer +\n            virtual +\n            gate +\n            env +\n            broker +\n            transport +\n            repairs +\n            other;\n\n          $('fxc-rtotal').textContent =\n            money(total);\n        }\n      }\n\n\n      $('fxc-calc').addEventListener('click',calc);\n\n\n      [\n        'fxc-bid',\n        'fxc-title',\n        'fxc-bidtype',\n        'fxc-transport',\n        'fxc-repairs',\n        'fxc-other'\n      ].forEach(id=>{\n\n        $(id).addEventListener('change',calc);\n\n      });\n\n\n      calc();\n\n    })();\n    <\/script>\n\n    \n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","_joinchat":[],"footnotes":""},"class_list":["post-279","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fxmotorsbroker.com\/en\/wp-json\/wp\/v2\/pages\/279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fxmotorsbroker.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fxmotorsbroker.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fxmotorsbroker.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fxmotorsbroker.com\/en\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":3,"href":"https:\/\/fxmotorsbroker.com\/en\/wp-json\/wp\/v2\/pages\/279\/revisions"}],"predecessor-version":[{"id":284,"href":"https:\/\/fxmotorsbroker.com\/en\/wp-json\/wp\/v2\/pages\/279\/revisions\/284"}],"wp:attachment":[{"href":"https:\/\/fxmotorsbroker.com\/en\/wp-json\/wp\/v2\/media?parent=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}