{"version":3,"file":"ConfigLoad_New.BbaUfbos.mjs","names":["useState","_Fragment","useState","useRef","host"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/qLct3GSkOHnZNlchU3Tv/qGJ3gK4LB1V7u4bT1YHj/ConfigLoad_New.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useState,useRef}from\"react\";import{forwardRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{useAnimation,motion}from\"framer-motion\";export const acessosStore=createStore();export const customerIdStore=createStore();export const prevCustomerIdStore=createStore();export const emailsStore=createStore();export const clinicaStore=createStore();export const estabelecimentosStore=createStore();export const servicosStore=createStore();export const vendasMiaStore=createStore();export const prevVendasMiaStore=createStore();export const vendasServicosMiaStore=createStore();export const vendasClientesMiaStore=createStore();export const avaliacoesStore=createStore();export const alertasStore=createStore();export const kpiStore=createStore();export const qtdAvaliacoesStore=createStore();export const qtdAlertasStore=createStore();export const conversoesStore=createStore();export const conversasStore=createStore();export const prevConversasStore=createStore();export const conversas_filtradasStore=createStore();export const conversas_filtroStore=createStore(\"\");export const conversaStore=createStore();export const conversa_filtradaStore=createStore();export const conversaScheduleStore=createStore(false);export const conversa_filtroStore=createStore(\"\");export const conversaTelefoneStore=createStore();export const instrucoesStore=createStore();export const gbqfetchStore=createStore()//{ tables: [\"acessos\"] } primeira do flow (automatica)\n;export const secaoStore=createStore(\"Mia 🧠\");export const helpStore=createStore(\"Vou passar orienta\\xe7\\xf5es por aqui. Aperte firme. Vamos juntos!\");export const timeStore=createStore(timeNow());export const linkStore=createStore();export const closeContainersStore=createStore(true);//NUMERO DE DIAS DO HISTORICO DE CONVERSAS LEADS\nexport const n_dias_padrao=\"90\"//90 dias\n;export const n_conversasStore=createStore(n_dias_padrao);/*Funcao Principal para Fetch Autorizado via Email e CID na API*///const userGmail = localStorage.getItem(\"gmail\")\n//const googleToken = localStorage.getItem(\"google_token\")\nconst urlFetch=\"https://mias-236565270025.us-central1.run.app/web-fetch\";//WEB LOGIN\nexport const googleTokenStore=createStore(\"\");export const userGmailStore=createStore(\"\");export const userNameStore=createStore(\"\");export const cidLoadingStore=createStore(false);export const firestoreTokenStore=createStore(\"\");export const firestoreHookStore=createStore();export const firebaseConfigStore=createStore({});// Função para obter a data de hoje em São Paulo\nfunction getTodayInSaoPaulo(){const now=new Date;const saoPauloTime=new Date(now.toLocaleString(\"en-US\",{timeZone:\"America/Sao_Paulo\"}));// Zera as horas para comparar apenas a data\nsaoPauloTime.setHours(0,0,0,0);return saoPauloTime;}// Função para verificar se uma data é hoje (São Paulo)\nfunction isToday(dateString){const todaySP=getTodayInSaoPaulo();const date=new Date(dateString);// Converte a data para o timezone de São Paulo\nconst dateSP=new Date(date.toLocaleString(\"en-US\",{timeZone:\"America/Sao_Paulo\"}));dateSP.setHours(0,0,0,0);return dateSP.getDate()===todaySP.getDate()&&dateSP.getMonth()===todaySP.getMonth()&&dateSP.getFullYear()===todaySP.getFullYear();}// Função para remover keys de hoje do objeto antigo\nfunction removeToday(obj){const filtered={};Object.entries(obj).forEach(([key,value])=>{// Mantém apenas conversas que NÃO são de hoje\nif(!isToday(key)){filtered[key]=value;}});return filtered;}// Função principal que atualiza as conversas\nexport function updateToday2(old_obj,new_obj){// Combina antigas (sem hoje) com as novas\nreturn{...removeToday(old_obj),...new_obj};}export function CheckSubscription(){const[google_token,set_google_token]=googleTokenStore();const[firestore_token,set_firestore_token]=firestoreTokenStore();const[firabase_config,set_firebase_config]=firebaseConfigStore();const[user_gmail,set_user_gmail]=userGmailStore();const[user_name,set_user_name]=userNameStore();const[cidLoading,setCidLoading]=cidLoadingStore();const[acessos,setAcessos]=acessosStore();useEffect(()=>{if(inEditorIframe())return;// evita travar o Canvas\nsetCidLoading(true);const deny=()=>{window.location.href=\"/login\";};const params=new URLSearchParams(window.location.hash.substring(1));const googleTokenURL=params.get(\"access_token\");const params_search=new URLSearchParams(window.location.search);const whatsappTokenURL=params_search.get(\"whatsapp_token\");if(!googleTokenURL&&!whatsappTokenURL){deny();return;}const url=`https://mias-236565270025.us-central1.run.app/web-login`;// helpers seguros para LocalStorage\nconst safeGet=k=>{try{return localStorage.getItem(k);}catch{return null;}};const ensureSession=()=>{const ex=safeGet(\"session_id\");if(ex)return ex;};const session_id=ensureSession()//localStorage.getItem(\"session_id\") ?? \"\"\n;fetch(url,{method:\"GET\",headers:{Authorization:`Bearer ${googleTokenURL??\"\"}`,Session:session_id??\"\",WhatsApp:whatsappTokenURL??\"\"}}).then(r=>r.json()).then(d=>{if(d.cid){if(d.email){set_google_token(googleTokenURL);set_user_gmail(d.email);}if(d.telefone){set_google_token(\"whatsapp\");set_user_gmail(d.telefone);}if(d.nome){set_user_name(d.nome);}if(d.firebase&&d.firestore){set_firebase_config(d.firebase);set_firestore_token(d.firestore);}setAcessos(d.cid);setCidLoading(false);window.history.replaceState({},document.title,window.location.pathname);}else{deny();}}).catch(deny);},[]);/* Invisível em produção; troque por <></> se preferir */return /*#__PURE__*/_jsx(_Fragment,{});}export default function FetchAPI(){const[gbqfetch,setGbqfetch]=gbqfetchStore();const[prevGbqfetch,setPrevGbqfetch]=useState({});const[acessos,setAcessos]=acessosStore();const[cid,setCid]=customerIdStore();const[emails,setEmails]=emailsStore();const[instrucoes,setInstrucoes]=instrucoesStore();const[servicos,setServicos]=servicosStore();const[vendasMia,setVendasMia]=vendasMiaStore();const[prevVendasMia,setPrevVendasMia]=prevVendasMiaStore();const[vendasServicosMia,setVendasServicosMia]=vendasServicosMiaStore();const[vendasClientesMia,setVendasClientesMia]=vendasClientesMiaStore();const[avaliacoes,setAvaliacoes]=avaliacoesStore();const[alertas,setAlertas]=alertasStore();const[qtdAvaliacoes,setQtdAvaliacoes]=qtdAvaliacoesStore();const[qtdAlertas,setQtdAlertas]=qtdAlertasStore();const[kpis,setKpis]=kpiStore();const[conversoes,setConversoes]=conversoesStore();const[conversas,setConversas]=conversasStore();const[prevConversas,setPrevConversas]=prevConversasStore();const[n_conversas,set_n_conversas]=n_conversasStore();const[conversa,setConversa]=conversaStore();const[conversaTelefone,setConversaTelefone]=conversaTelefoneStore();const[system,setSystem]=conversaScheduleStore();const[clinica,setClinica]=clinicaStore();const[closeContainers,setCloseContainers]=closeContainersStore();const[cidLoading,setCidLoading]=cidLoadingStore();const[google_token,set_google_token]=googleTokenStore();const[user_gmail,set_user_gmail]=userGmailStore();const[firestoreHook,setFirestoreHook]=firestoreHookStore();useEffect(()=>{if(!google_token||!user_gmail){//console.warn(\"google_token ausente\")\n//window.location.href = \"/login\"\nreturn;}const load=async()=>{let tables=gbqfetch.tables||[];let n_fechamentos=gbqfetch.n_fechamentos??n_dias_padrao;let filtro=gbqfetch?.filtro||\"\";let body={tables:tables,cid:[],email:user_gmail,n_conversas:n_conversas,n_fechamentos:n_fechamentos,filtro:filtro,telefone:conversaTelefone,system:system};if(cid)body.cid=[cid];setPrevGbqfetch(gbqfetch);try{const response=await fetch(urlFetch,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",Authorization:`Bearer ${google_token}`},body:JSON.stringify(body)});if(!response.ok){window.location.href=\"/login\";return;}const payload=await response.json();// Direciona para o store correto com base em `tables`\n// Primeiro todos os acessos do email (caso tenha mais de 1 assinatura)\nif(tables.includes(\"acessos\"))setAcessos(payload);// Depois os dados de uma assinatura selecionada com base no cid\nif(tables.includes(\"emails\"))setEmails(payload[cid].emails);if(tables.includes(\"clinica\"))setClinica(payload[cid].clinica);if(tables.includes(\"instrucoes\")||tables.includes(\"instrucoes_wink\"))setInstrucoes(payload[cid].instrucoes);if(tables.includes(\"servicos\")||tables.includes(\"servicos_ia\")||tables.includes(\"servico_novo\")){setServicos({servicos:payload[cid].servicos});}if(tables.includes(\"conversas\")){setPrevConversas({conversas:payload[cid].conversas,horario:Date.now()});//setFirestoreHook(`conversas-${Date.now()}`)\n}if(tables.includes(\"vendas_mia\")){//if (n_fechamentos == 0) {\n//console.log(\"Recebendo apenas fechamentos de hoje\")\n//const new_obj = payload[cid][\"vendas_mia\"]\n//const old_obj = vendasMia?.vendas\n//const updated_obj = updateToday(old_obj, new_obj)\n//setVendasMia({ vendas: updated_obj })\n//}\nsetPrevVendasMia({vendas:payload[cid][\"vendas_mia\"],horario:Date.now()});//setFirestoreHook(`vendas-${Date.now()}`)\n}if(tables.includes(\"vendas_servicos_mia\"))setVendasServicosMia({vendas:payload[cid][\"vendas_servicos_mia\"]});if(tables.includes(\"vendas_clientes_mia\"))setVendasClientesMia({vendas:payload[cid][\"vendas_clientes_mia\"]});if(tables.includes(\"qtd_avaliacoes\")){setQtdAvaliacoes({qtd:payload[cid][\"qtd_avaliacoes\"]});}if(tables.includes(\"qtd_alertas\")){setQtdAlertas({qtd:payload[cid][\"qtd_alertas\"]});}if(tables.includes(\"avaliacoes\"))setAvaliacoes({avaliacoes:payload[cid][\"avaliacoes\"]});if(tables.includes(\"alertas\"))setAlertas({alertas:payload[cid][\"alertas\"]});if(tables.includes(\"kpis\")){setKpis({kpis:payload[cid][\"kpis\"]});}if(tables.includes(\"taxa_conversao\"))setConversoes(payload[cid][\"taxa_conversao\"]);if(tables.includes(\"conversa\")){//|| tables.includes(\"conversa_novo\") DEPRECATED (streaming snapshot)\nsetConversa({conversa:payload[cid].conversa,horario:Date.now()});setFirestoreHook(`conversa-${conversaTelefone}-${Date.now()}`);}}catch(err){console.warn(\"Erro no Fetch\"+err);window.location.href=\"/login\";return;}};load();},[gbqfetch,cid]);return /*#__PURE__*/_jsx(_Fragment,{});}/* ── Texto que mostrará o gmail ───────────────────────────────────── */export function ShowGmail(Component){return props=>{const[cidLoading]=cidLoadingStore();const[acessos]=acessosStore();const[texto,setTexto]=useState(\"\");const[user_gmail]=userGmailStore();const[user_name]=userNameStore();useEffect(()=>{if(!acessos)return;if(user_name)setTexto(user_name);else setTexto(user_gmail)//userGmail\n;},[acessos]);if(!texto)return /*#__PURE__*/_jsx(_Fragment,{});return /*#__PURE__*/_jsx(Component,{...props,text:texto});};}//Exibir config ou nao\nexport function showConfig(Component){return props=>{const[clicado,setClicado]=useState(false);const[closeContainers,setCloseContainers]=closeContainersStore();const supportsPointer=typeof window!==\"undefined\"&&\"PointerEvent\"in window;const handleChange=()=>{if(!clicado){setClicado(true);setCloseContainers(false);}else{setClicado(false);setCloseContainers(true);}};return /*#__PURE__*/_jsx(Component,{...props,onClick:supportsPointer?undefined:handleChange,onPointerUp:supportsPointer?handleChange:undefined,variant:clicado?\"Clicked\":\"Default\"});};}//Funcao para fechar todos containers quando mudar de Customer no form\nexport function ShowResultsContainer(Component){return props=>{const[clinica,setClinica]=clinicaStore();const[visivel,setVisivel]=useState(false);useEffect(()=>{if(!clinica)setVisivel(false);else{//alert(JSON.stringify(clinica))\nconst ativo=clinica.ativo||false;if(ativo){setVisivel(true);}else setVisivel(false);}},[clinica]);// Se não estiver visível, não renderiza nada\nif(!visivel)return null;// Preserva todos os estilos originais sem modificar o display\nreturn /*#__PURE__*/_jsx(Component,{...props});};}export function ShowContainer(Component){return props=>{const[clinica,setClinica]=clinicaStore();const[visivel,setVisivel]=useState(false);const[closeContainers,setCloseContainers]=closeContainersStore();useEffect(()=>{if(!clinica)setVisivel(false);else{//alert(JSON.stringify(clinica))\nconst ativo=clinica.ativo||false;if(ativo){if(closeContainers)setVisivel(false);else setVisivel(true);}else setVisivel(false);}},[clinica,closeContainers]);// Se não estiver visível, não renderiza nada\nif(!visivel)return null;// Preserva todos os estilos originais sem modificar o display\nreturn /*#__PURE__*/_jsx(Component,{...props});};}export function ShowContainer_Conta(Component){return props=>{const[clinica,setClinica]=clinicaStore();const[visivel,setVisivel]=useState(false);const[closeContainers,setCloseContainers]=closeContainersStore();useEffect(()=>{if(!clinica)setVisivel(false);if(closeContainers)setVisivel(false);else setVisivel(true);},[clinica,closeContainers]);// Se não estiver visível, não renderiza nada\nif(!visivel)return null;// Preserva todos os estilos originais sem modificar o display\nreturn /*#__PURE__*/_jsx(Component,{...props});};}export function ShowContainer_Dev(Component){return props=>{const[cid,setCid]=customerIdStore();const[gmail]=userGmailStore();const[clinica,setClinica]=clinicaStore();const[visivel,setVisivel]=useState(false);const[closeContainers,setCloseContainers]=closeContainersStore();useEffect(()=>{if(!cid)setVisivel(false);if(!clinica)setVisivel(false);else{if(cid==\"barra\"||cid==\"parkjpa\"||cid==\"cus_SHw1amNGzOQRMh\"||//Karine\ngmail==\"douglimas.dev@gmail.com\"||gmail==\"rodpaschoal@gmail.com\"){if(closeContainers)setVisivel(false)//momentaneamente enquanto troca de cid\n;else setVisivel(true);}else setVisivel(false);}},[clinica,closeContainers]);// Se não estiver visível, não renderiza nada\nif(!visivel)return null;// Preserva todos os estilos originais sem modificar o display\nreturn /*#__PURE__*/_jsx(Component,{...props});};}//customer_id em todos os forms para envio\nexport function labelCid(Component){return /*#__PURE__*/forwardRef((props,parentRef)=>{const[cid,setCid]=customerIdStore();const hostRef=useRef(null);/* junta refs (não perca a ref original) */const setRef=node=>{if(!node)return;hostRef.current=node;if(typeof parentRef===\"function\")parentRef(node);else if(parentRef)parentRef.current=node;};useEffect(()=>{if(!cid)return;const host=hostRef.current;if(!host)return;/* função que tenta preencher */const fill=()=>{if(!cid)return;const host=hostRef.current;if(!host)return;const input=host.querySelector(\"input[name='unidade_id']\");if(!input)return;// ainda não montou\n//if (input.value == cid) return\ninput.value=cid// valor visual\n;input.setAttribute(\"value\",cid)// valor do submit\n;input.dispatchEvent(new Event(\"input\",{bubbles:true}));input.dispatchEvent(new Event(\"change\",{bubbles:true}));};/* 1 ◂ tentativa imediata (caso já esteja montado) */fill();/* 2 ◂ observa SOMENTE o host, não o document inteiro */const mo=new MutationObserver(fill);mo.observe(host,{childList:true,subtree:true});return()=>mo.disconnect();},[cid])// ⇠ se cid mudar, reescreve de novo\n;if(cid)return /*#__PURE__*/_jsx(Component,{ref:setRef,...props},`unidade_id=${cid}`);else return /*#__PURE__*/_jsx(Component,{ref:setRef,...props});});}//FormClinica - Conexao com Trinks\nexport function ShowTrinksContainer(Component){return props=>{const[clinica,setClinica]=clinicaStore();const[visivel,setVisivel]=useState(false);const[closeContainers,setCloseContainers]=closeContainersStore();useEffect(()=>{if(!clinica)setVisivel(false);else{//alert(JSON.stringify(clinica))\nconst plano=clinica.plano||\"\";if(plano==\"Empresa\"){const ativo=clinica.ativo||false;if(ativo){if(closeContainers)setVisivel(false);else setVisivel(true);}else setVisivel(false);}else setVisivel(false);}},[clinica,closeContainers]);// Se não estiver visível, não renderiza nada\nif(!visivel)return null;// Preserva todos os estilos originais sem modificar o display\nreturn /*#__PURE__*/_jsx(Component,{...props});};}//FormClinica - Conexao com Trinks\nexport function ShowCalendarContainer(Component){return props=>{const[clinica,setClinica]=clinicaStore();const[visivel,setVisivel]=useState(false);const[closeContainers,setCloseContainers]=closeContainersStore();useEffect(()=>{if(!clinica)setVisivel(false);else{//alert(JSON.stringify(clinica))\nconst plano=clinica.plano||\"\";if(plano==\"Individual\"){const ativo=clinica.ativo||false;if(ativo){if(closeContainers)setVisivel(false);else setVisivel(true);}else setVisivel(false);}else setVisivel(false);}},[clinica,closeContainers]);// Se não estiver visível, não renderiza nada\nif(!visivel)return null;// Preserva todos os estilos originais sem modificar o display\nreturn /*#__PURE__*/_jsx(Component,{...props});};}//Horario\nexport function timeNow(){const now=new Date;const hours=now.getHours();const minutes=now.getMinutes().toString().padStart(2,\"0\");const timeString=`${hours}:${minutes}`;return timeString;}//Helps\nexport function exibeHelp(Component){return props=>{const[acessos]=acessosStore();const[help,setHelp]=helpStore();const[secao,setSecao]=secaoStore();const[time,setTime]=timeStore();const[visible,setVisible]=useState(false);const controls=useAnimation();useEffect(()=>{if(!acessos)return;// Entrada: slide down\ncontrols.set({y:-500,opacity:0});setVisible(true);setTimeout(()=>{controls.start({y:0,opacity:1,transition:{duration:.5,ease:\"easeOut\"}});},500);// Saída: slide up\nsetTimeout(()=>{controls.start({y:-500,opacity:0,transition:{duration:.5,ease:\"easeIn\"}}).then(()=>setVisible(false));},1e4);},[help,acessos]);if(!visible)return;return /*#__PURE__*/_jsx(Component,{...props,time:time,title:secao,description:help,as:motion.div,initial:{y:-500,opacity:0},animate:controls,style:{position:visible?\"fixed\":\"absolute\",//top: visible ? \"10px\" : \"-9999px\",\n//left: visible ? \"10px\" : \"-9999px\",\n//transform: visible ? \"translateX(-50%)\" : \"none\",\nzIndex:visible?1:-1,pointerEvents:visible?\"auto\":\"none\",visibility:visible?\"visible\":\"hidden\"}});};}export function helpClinica(Component){return(props,ref)=>{const[help,setHelp]=helpStore();const[time,setTime]=timeStore();const[secao,setSecao]=secaoStore();const timeoutRef=useRef(null);const callHelp=()=>{//e\nsetSecao(\"Dados B\\xe1sicos 🧠\");setHelp(\"A foto \\xe9 uma \\xf3tima op\\xe7\\xe3o para deixar o atendimento ainda mais humanizado\");setTime(timeNow());};function handlePointerDown(){timeoutRef.current=setTimeout(()=>{callHelp();},60)// meio segundo de toque\n;}function handlePointerUp(){if(timeoutRef.current)clearTimeout(timeoutRef.current);}return /*#__PURE__*/_jsx(Component,{...props,ref:ref,onPointerDown:handlePointerDown,onPointerUp:handlePointerUp,onPointerLeave:handlePointerUp});//whileTap={handleHelp}\n};}export function helpIA(Component){return(props,ref)=>{const[help,setHelp]=helpStore();const[time,setTime]=timeStore();const[secao,setSecao]=secaoStore();const timeoutRef=useRef(null);const callHelp=()=>{setSecao(\"Respostas da IA 🧠\");setHelp(\"Preencha o m\\xe1ximo de informa\\xe7\\xf5es que puder, teste e ajuste o quanto precisar\");setTime(timeNow());};function handlePointerDown(){timeoutRef.current=setTimeout(()=>{callHelp();},60)// meio segundo de toque\n;}function handlePointerUp(){if(timeoutRef.current)clearTimeout(timeoutRef.current);}return /*#__PURE__*/_jsx(Component,{...props,ref:ref,onPointerDown:handlePointerDown,onPointerUp:handlePointerUp,onPointerLeave:handlePointerUp});};}export function helpServicos(Component){return(props,ref)=>{const[help,setHelp]=helpStore();const[time,setTime]=timeStore();const[secao,setSecao]=secaoStore();const timeoutRef=useRef(null);const callHelp=()=>{setSecao(\"Lembretes de Retorno 🧠\");setHelp(\"Ap\\xf3s quantos dias devo lembrar o cliente para retornar?\");setTime(timeNow());};function handlePointerDown(){timeoutRef.current=setTimeout(()=>{callHelp();},60)// meio segundo de toque\n;}function handlePointerUp(){if(timeoutRef.current)clearTimeout(timeoutRef.current);}return /*#__PURE__*/_jsx(Component,{...props,ref:ref,onPointerDown:handlePointerDown,onPointerUp:handlePointerUp,onPointerLeave:handlePointerUp});};}export function helpEmails(Component){return(props,ref)=>{const[help,setHelp]=helpStore();const[time,setTime]=timeStore();const[secao,setSecao]=secaoStore();const timeoutRef=useRef(null);const callHelp=()=>{setSecao(\"Controle de Acesso 🧠\");setHelp(\"Libere para mais administradores acesso ao meu c\\xe9rebro e ao painel\");setTime(timeNow());};function handlePointerDown(){timeoutRef.current=setTimeout(()=>{callHelp();},60)// meio segundo de toque\n;}function handlePointerUp(){if(timeoutRef.current)clearTimeout(timeoutRef.current);}return /*#__PURE__*/_jsx(Component,{...props,ref:ref,onPointerDown:handlePointerDown,onPointerUp:handlePointerUp,onPointerLeave:handlePointerUp});};}//Funcao help Ver Pagamentos\nexport function helpPagamentos(Component){return(props,ref)=>{const[help,setHelp]=helpStore();const[time,setTime]=timeStore();const[secao,setSecao]=secaoStore();const timeoutRef=useRef(null);const callHelp=()=>{setSecao(\"Pagamentos 🧠\");setHelp(\"Use o email que voc\\xea fez o pagamento para gerenciar\");setTime(timeNow());const timer=setTimeout(()=>{window.open(\"https://billing.stripe.com/p/login/cNi8wP4gl227dXl9eI4gg00\",\"_self\");},3500);};function handlePointerDown(){timeoutRef.current=setTimeout(()=>{callHelp();},10)// meio segundo de toque\n;}function handlePointerUp(){if(timeoutRef.current)clearTimeout(timeoutRef.current);}return /*#__PURE__*/_jsx(Component,{...props,ref:ref,onPointerDown:handlePointerDown,onPointerUp:handlePointerUp,onPointerLeave:handlePointerUp});};}export function helpPainel(Component){return(props,ref)=>{const[help,setHelp]=helpStore();const[time,setTime]=timeStore();const[secao,setSecao]=secaoStore();const timeoutRef=useRef(null);const callHelp=()=>{setSecao(\"Aten\\xe7\\xe3o 🧠\");setHelp(\"Na pr\\xf3xima p\\xe1gina clique no link azul para aceitar os cookies do Google e abra o painel\");setTime(timeNow());const timer=setTimeout(()=>{window.open(\"https://miassistente.com/painel\",\"_self\");},3500);};function handlePointerDown(){timeoutRef.current=setTimeout(()=>{callHelp();},10)// meio segundo de toque\n;}function handlePointerUp(){if(timeoutRef.current)clearTimeout(timeoutRef.current);}return /*#__PURE__*/_jsx(Component,{...props,ref:ref,onPointerDown:handlePointerDown,onPointerUp:handlePointerUp,onPointerLeave:handlePointerUp});};}/* Detecta se estamos dentro do editor do Framer (canvas) */export function inEditorIframe(){if(typeof window===\"undefined\")return true;try{return window.self!==window.top// true = dentro do canvas do editor\n;}catch{return true// falhou (cross-origin) → assuma editor\n;}}\nexport const __FramerMetadata__ = {\"exports\":{\"timeStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"prevConversasStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conversa_filtradaStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"inEditorIframe\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"kpiStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"secaoStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conversaTelefoneStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"firebaseConfigStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"helpStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"alertasStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conversaStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"userGmailStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowContainer_Conta\":{\"type\":\"reactHoc\",\"name\":\"ShowContainer_Conta\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateToday2\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowGmail\":{\"type\":\"reactHoc\",\"name\":\"ShowGmail\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowContainer\":{\"type\":\"reactHoc\",\"name\":\"ShowContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"gbqfetchStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FetchAPI\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"labelCid\":{\"type\":\"reactHoc\",\"name\":\"labelCid\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"firestoreTokenStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"helpPagamentos\":{\"type\":\"reactHoc\",\"name\":\"helpPagamentos\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"firestoreHookStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"estabelecimentosStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"googleTokenStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowCalendarContainer\":{\"type\":\"reactHoc\",\"name\":\"ShowCalendarContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"avaliacoesStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"vendasMiaStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showConfig\":{\"type\":\"reactHoc\",\"name\":\"showConfig\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"qtdAvaliacoesStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"helpIA\":{\"type\":\"reactHoc\",\"name\":\"helpIA\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conversaScheduleStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"exibeHelp\":{\"type\":\"reactHoc\",\"name\":\"exibeHelp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"acessosStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emailsStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"timeNow\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"helpServicos\":{\"type\":\"reactHoc\",\"name\":\"helpServicos\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowResultsContainer\":{\"type\":\"reactHoc\",\"name\":\"ShowResultsContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"servicosStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"helpEmails\":{\"type\":\"reactHoc\",\"name\":\"helpEmails\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"prevCustomerIdStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"prevVendasMiaStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conversas_filtroStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"closeContainersStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conversa_filtroStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"customerIdStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conversasStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"helpPainel\":{\"type\":\"reactHoc\",\"name\":\"helpPainel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CheckSubscription\":{\"type\":\"reactComponent\",\"name\":\"CheckSubscription\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"cidLoadingStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conversoesStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"instrucoesStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"userNameStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"helpClinica\":{\"type\":\"reactHoc\",\"name\":\"helpClinica\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"vendasServicosMiaStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"n_conversasStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"vendasClientesMiaStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"n_dias_padrao\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowTrinksContainer\":{\"type\":\"reactHoc\",\"name\":\"ShowTrinksContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"clinicaStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowContainer_Dev\":{\"type\":\"reactHoc\",\"name\":\"ShowContainer_Dev\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"qtdAlertasStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conversas_filtradasStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"linkStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ConfigLoad_New.map"],"mappings":"wQAA8E,SAAgB,EAAY,EAAO,CACjH,IAAM,EAAU,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAG,EAAO,CAAC,CAAC,CAAC,CAClD,EAAa,GAAU,CAC1B,OAAO,GAAW,aAAY,EAAS,EAAS,EAAU,MAAM,EAAE,EAAU,MAAM,OAAO,OAAO,CAAC,GAAG,EAAU,MAAM,GAAG,EAAS,CAAC,EAChI,EAAW,O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