{"id":2,"date":"2024-01-16T21:10:53","date_gmt":"2024-01-17T00:10:53","guid":{"rendered":"https:\/\/app.assemedlatinamerica.com\/?page_id=2"},"modified":"2025-09-19T19:10:48","modified_gmt":"2025-09-19T22:10:48","slug":"pagina-exemplo","status":"publish","type":"page","link":"https:\/\/app.assemedlatinamerica.com\/","title":{"rendered":"Home"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2\" class=\"elementor elementor-2\">\n\t\t\t\t<div class=\"elementor-element elementor-element-59b7d2d e-flex e-con-boxed e-con e-parent\" data-id=\"59b7d2d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3f8f2c6 elementor-widget elementor-widget-image\" data-id=\"3f8f2c6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/app.assemedlatinamerica.com\/wp-content\/uploads\/2025\/09\/ASSEMED-LATIN-AMERICA-LOGO.png\" title=\"ASSEMED LATIN AMERICA LOGO\" alt=\"ASSEMED LATIN AMERICA LOGO\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-55c6b29 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"55c6b29\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-eea7116\" data-id=\"eea7116\" 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-cbe194e elementor-widget elementor-widget-html\" data-id=\"cbe194e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<iframe id=\"iframe\" height=\"800px\" width=\"100%\" title=\"Telemedicina\" style=\"border: 0px\" allow=\"camera; microphone; clipboard-write;\"><\/iframe>\n\n<script>\n\tconst iFrame = document.getElementById(\"iframe\");\n\tconst appBaseUrl = \"https:\/\/app.clickuscare.com\";\n\tconst plataforma = \"latinamerica\";\n\tconst exibirLogo = false;\n\n\tfunction setIframeSource(customPath, customParams = \"\") {\n\t\tlet queryParams = `showLogo=${exibirLogo}&plataforma=${plataforma}`;\n\n\t\tif(customParams) \n\t\t\tqueryParams +=(`&${customParams}`);\n\n\t\tiFrame.setAttribute(\"src\", `${appBaseUrl}${customPath}?${queryParams}`);\n\t}\n\n\t\/\/ Recupera os par\u00e2metros para altera\u00e7\u00e3o de link do iFrame, se houverem\n\tconst urlParams = new URLSearchParams(window.location.search);\n\tconst sala = urlParams.get('sala');\n\tconst rs = urlParams.get('rs');\n\tconst pa = urlParams.get('pa');\n\tconst menu = urlParams.get('menu');\n\tconst ad = urlParams.get('ad');\n\tconst ag = urlParams.get('ag');\n\tconst vendedor = urlParams.get('vendedor');\n\n\tif (sala != null) \/\/ Redireciona para o link da consulta\n\t\tsetIframeSource(`\/sala-espera-externa\/${sala}`);\n\telse if (rs != null) \/\/ Redireciona para o link da recupera\u00e7\u00e3o de senha\n\t\tsetIframeSource(`\/authentication\/recuperar-senha\/${rs}`);\n\telse if (pa != null) \/\/ Redireciona para o link de ativacao de conta \n\t\tsetIframeSource(`\/authentication\/bem-vindo\/${pa}`);\n\telse if (menu === \"atendimento\") \/\/ Redireciona para o a p\u00e1gina do par\u00e2metro\n\t\tsetIframeSource(`\/atendimentos`);\n\telse if (menu === \"cancelamento-conta\") \/\/ Redireciona para a p\u00e1gina de exclus\u00e3o de dados\n\t\tsetIframeSource(`\/editar-perfil\/excluir-conta`);\n\telse if (ad != null) \/\/ Redireciona para o link de detalhe do atendimento \n\t\tsetIframeSource(`\/atendimentos\/detalhe\/${ad}`);\n\telse if (ag != null) \/\/ Redireciona para o link de detalhe do agendamento \n\t\tsetIframeSource(`\/agendamentos`, `ag=${ag}`);\t\n\telse if (vendedor != null) \/\/ Redireciona para o link de cadastro do vendedor \n\t\tsetIframeSource(`\/authentication\/desejo-me-cadastrar`, `idVendedor=${vendedor}`);\n\telse  \/\/ Redireciona para o link padr\u00e3o do iFrame\n\t\tsetIframeSource(\"\/authentication\/login\");\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":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/app.assemedlatinamerica.com\/index.php\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app.assemedlatinamerica.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/app.assemedlatinamerica.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/app.assemedlatinamerica.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/app.assemedlatinamerica.com\/index.php\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":92,"href":"https:\/\/app.assemedlatinamerica.com\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":154,"href":"https:\/\/app.assemedlatinamerica.com\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions\/154"}],"wp:attachment":[{"href":"https:\/\/app.assemedlatinamerica.com\/index.php\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}