{"id":5986,"date":"2022-08-10T11:59:15","date_gmt":"2022-08-10T11:59:15","guid":{"rendered":"https:\/\/soyleal.com\/?page_id=5986"},"modified":"2026-04-08T23:34:53","modified_gmt":"2026-04-08T23:34:53","slug":"elementor-5986","status":"publish","type":"page","link":"https:\/\/soyleal.com\/test\/elementor-5986\/","title":{"rendered":"Elementor #5986"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"5986\" class=\"elementor elementor-5986\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cb04c40 elementor-section-height-min-height elementor-section-items-top elementor-section-boxed elementor-section-height-default\" data-id=\"cb04c40\" 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-68ec77a\" data-id=\"68ec77a\" data-element_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-a0f5414 elementor-widget elementor-widget-html\" data-id=\"a0f5414\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"calc-premium\" style=\"max-width:900px;margin:auto;font-family:sans-serif;\"> \n\n  <h2 style=\"text-align:center;\">Calculadora Profesional HIFU<\/h2>\n\n  <div class=\"grid\">\n\n    <!-- COLUMNA IZQUIERDA -->\n    <div class=\"left\">\n\n      <label>Seleccion\u00e1 tu inversi\u00f3n (USD)<\/label>\n      <select id=\"inversion\">\n        <option value=\"\">-- Eleg\u00ed un monto --<\/option>\n      <\/select>\n\n      <div id=\"resumen\" style=\"margin-top:20px;\"><\/div>\n\n    <\/div>\n\n    <!-- COLUMNA DERECHA -->\n    <div class=\"right\">\n      <h3>Costo por cartucho<\/h3>\n      <div id=\"tabla\"><\/div>\n    <\/div>\n\n  <\/div>\n\n<\/div>\n\n<style>\n#calc-premium .grid {\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  gap: 30px;\n}\n\n#calc-premium select {\n  width: 100%;\n  padding: 12px;\n  margin-top: 10px;\n}\n\n#calc-premium table {\n  width: 100%;\n  border-collapse: collapse;\n}\n\n#calc-premium th, #calc-premium td {\n  border: 1px solid #ccc;\n  padding: 8px;\n  text-align: left;\n}\n\n#calc-premium th {\n  background: #f0f0f0;\n}\n\n\/* MOBILE *\/\n@media (max-width: 768px) {\n  #calc-premium .grid {\n    grid-template-columns: 1fr;\n  }\n}\n<\/style>\n\n<script>\nconst API_URL = \"https:\/\/script.google.com\/macros\/s\/AKfycbwS1U99wKRs2N1gf3c9h_ZtYm4GsnQu0E5kkw9EbfMJuAnQ9-f1CvzhihQC5-E3ilNJ\/exec\";\n\nlet opciones = [];\n\nfetch(API_URL)\n  .then(res => res.json())\n  .then(data => {\n    opciones = Array.isArray(data) ? data : [data];\n    cargarSelector();\n  });\n\nconst select = document.getElementById(\"inversion\");\nconst resumen = document.getElementById(\"resumen\");\nconst tabla = document.getElementById(\"tabla\");\n\nfunction cargarSelector() {\n  opciones.forEach((op, i) => {\n    const opt = document.createElement(\"option\");\n    opt.value = i;\n    opt.textContent = \"USD \" + op.Compra;\n    select.appendChild(opt);\n  });\n\n  select.addEventListener(\"change\", renderizar);\n}\n\nfunction renderizar() {\n  if (select.value === \"\") {\n    resumen.innerHTML = \"\";\n    tabla.innerHTML = \"\";\n    return;\n  }\n\n  const op = opciones[select.value];\n\n  const costoCredito = op.Compra \/ op.Recibido;\n\n  \/\/ RESUMEN IZQUIERDA\n  resumen.innerHTML = `\n    <div style=\"background:#f5f5f5;padding:20px;border-radius:12px;\">\n      <h3>Resumen<\/h3>\n      <p><strong>Invert\u00eds:<\/strong> USD ${op.Compra}<\/p>\n      <p><strong>Recib\u00eds:<\/strong> ${op.Recibido} cr\u00e9ditos<\/p>\n      <p><strong>Costo por cr\u00e9dito:<\/strong> USD ${costoCredito.toFixed(4)}<\/p>\n      <p style=\"color:green;\"><strong>\u26a1 A mayor inversi\u00f3n, menor costo por disparo<\/strong><\/p>\n    <\/div>\n  `;\n\n  \/\/ TABLA DERECHA\n  let html = `<table>\n    <tr>\n      <th>Equipo<\/th>\n      <th>Costo<\/th>\n    <\/tr>`;\n\n  Object.keys(op).forEach(key => {\n    if (key.includes(\"Costo\")) {\n      html += `\n        <tr>\n          <td>${key.replace(\"Costo de carga llena \", \"\")}<\/td>\n          <td>USD ${op[key].toFixed(2)}<\/td>\n        <\/tr>\n      `;\n    }\n  });\n\n  html += \"<\/table>\";\n  tabla.innerHTML = html;\n}\n<\/script>\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":"<p>Calculadora Profesional HIFU Seleccion\u00e1 tu inversi\u00f3n (USD) &#8212; Eleg\u00ed un monto &#8212; Costo por cartucho<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-5986","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Elementor #5986 - SoyLeal<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/soyleal.com\/test\/elementor-5986\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elementor #5986 - SoyLeal\" \/>\n<meta property=\"og:description\" content=\"Calculadora Profesional HIFU Seleccion\u00e1 tu inversi\u00f3n (USD) &#8212; Eleg\u00ed un monto &#8212; Costo por cartucho\" \/>\n<meta property=\"og:url\" content=\"https:\/\/soyleal.com\/test\/elementor-5986\/\" \/>\n<meta property=\"og:site_name\" content=\"SoyLeal\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-08T23:34:53+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/soyleal.com\/test\/elementor-5986\/\",\"url\":\"https:\/\/soyleal.com\/test\/elementor-5986\/\",\"name\":\"Elementor #5986 - SoyLeal\",\"isPartOf\":{\"@id\":\"https:\/\/soyleal.com\/test\/#website\"},\"datePublished\":\"2022-08-10T11:59:15+00:00\",\"dateModified\":\"2026-04-08T23:34:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/soyleal.com\/test\/elementor-5986\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/soyleal.com\/test\/elementor-5986\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/soyleal.com\/test\/elementor-5986\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/soyleal.com\/test\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elementor #5986\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/soyleal.com\/test\/#website\",\"url\":\"https:\/\/soyleal.com\/test\/\",\"name\":\"SoyLeal\",\"description\":\"Hosting en Argentina\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/soyleal.com\/test\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Elementor #5986 - SoyLeal","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/soyleal.com\/test\/elementor-5986\/","og_locale":"es_ES","og_type":"article","og_title":"Elementor #5986 - SoyLeal","og_description":"Calculadora Profesional HIFU Seleccion\u00e1 tu inversi\u00f3n (USD) &#8212; Eleg\u00ed un monto &#8212; Costo por cartucho","og_url":"https:\/\/soyleal.com\/test\/elementor-5986\/","og_site_name":"SoyLeal","article_modified_time":"2026-04-08T23:34:53+00:00","twitter_card":"summary_large_image","twitter_misc":{"Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/soyleal.com\/test\/elementor-5986\/","url":"https:\/\/soyleal.com\/test\/elementor-5986\/","name":"Elementor #5986 - SoyLeal","isPartOf":{"@id":"https:\/\/soyleal.com\/test\/#website"},"datePublished":"2022-08-10T11:59:15+00:00","dateModified":"2026-04-08T23:34:53+00:00","breadcrumb":{"@id":"https:\/\/soyleal.com\/test\/elementor-5986\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/soyleal.com\/test\/elementor-5986\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/soyleal.com\/test\/elementor-5986\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/soyleal.com\/test\/"},{"@type":"ListItem","position":2,"name":"Elementor #5986"}]},{"@type":"WebSite","@id":"https:\/\/soyleal.com\/test\/#website","url":"https:\/\/soyleal.com\/test\/","name":"SoyLeal","description":"Hosting en Argentina","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/soyleal.com\/test\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"}]}},"_links":{"self":[{"href":"https:\/\/soyleal.com\/test\/wp-json\/wp\/v2\/pages\/5986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soyleal.com\/test\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/soyleal.com\/test\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/soyleal.com\/test\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soyleal.com\/test\/wp-json\/wp\/v2\/comments?post=5986"}],"version-history":[{"count":21,"href":"https:\/\/soyleal.com\/test\/wp-json\/wp\/v2\/pages\/5986\/revisions"}],"predecessor-version":[{"id":6052,"href":"https:\/\/soyleal.com\/test\/wp-json\/wp\/v2\/pages\/5986\/revisions\/6052"}],"wp:attachment":[{"href":"https:\/\/soyleal.com\/test\/wp-json\/wp\/v2\/media?parent=5986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}