{"version":3,"file":"UtmCapture.BPDBpLQb.mjs","names":["useState","useRef","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","_e","p","ce","de","useIsStaticRenderer","init_framer_DKgW_P28","ControlType","addPropertyControls","trackPixelEvent","evt","name","w","fired","META_STANDARD_EVENTS","FormSuccessWatcher","props","done","setDone","isStatic","firedRef","isSubmitUrl","u","fire","pixelEvent","redirectUrl","delayMs","origFetch","args","res","origOpen","origSend","rest","url","method","po","e","list","status","radius","INK","REC","title","JOST","MUTED","body","init_FormSuccessWatcher","init_jsx_runtime","UtmCapture","PADRAO","nomes","campos","s","limpar","v","SEGURO","LIMITE","busca","daUrl","n","tudo","limpo","valores","persistir","guardado","chave","antes","preencher","form","campo","naCaptura","alvo","obs","init_UtmCapture"],"sources":["https:/framerusercontent.com/modules/EfiRAUda6Yca1GtI7EWO/bC8Ps1QQarqaI1zl1yNO/FormSuccessWatcher.js","https:/framerusercontent.com/modules/QBjHIYSypUJ9acTJSm7O/IUsafir2Bjf0C22pXqxn/UtmCapture.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useEffect,useRef,useState}from\"react\";/**\n * Eventos padrão do Meta Pixel. Um nome desta lista vai por `track`; qualquer\n * outro vai por `trackCustom`, que é a chamada correta para evento próprio.\n * Enviar um nome fora da lista por `track` faz o Events Manager registrar o\n * evento como não reconhecido.\n */const META_STANDARD_EVENTS=new Set([\"AddPaymentInfo\",\"AddToCart\",\"AddToWishlist\",\"CompleteRegistration\",\"Contact\",\"CustomizeProduct\",\"Donate\",\"FindLocation\",\"InitiateCheckout\",\"Lead\",\"Purchase\",\"Schedule\",\"Search\",\"StartTrial\",\"SubmitApplication\",\"Subscribe\",\"ViewContent\"]);/**\n * Dispara a conversão no Meta Pixel. Uma vez por nome de evento por\n * carregamento de página: `firedRef` já protege contra dois disparos da mesma\n * instância, e a trava em `window` cobre o caso de o componente remontar.\n * O snippet do pixel define `window.fbq` de forma sincrona e enfileira as\n * chamadas até o fbevents.js carregar, então não há corrida na chegada.\n */function trackPixelEvent(name){const evt=String(name||\"\").trim();if(!evt||typeof window===\"undefined\")return;const w=window;if(typeof w.fbq!==\"function\")return;const fired=w.__paretoPixelFired=w.__paretoPixelFired||{};if(fired[evt])return;fired[evt]=true;try{if(META_STANDARD_EVENTS.has(evt))w.fbq(\"track\",evt);else w.fbq(\"trackCustom\",evt);}catch{}}const REC=\"Recoleta, Georgia, serif\";const JOST=\"Jost, sans-serif\";const INK=\"#2B313B\";const MUTED=\"#524E43\";/**\n * Form Success Watcher — invisible overlay that sits on top of a Framer\n * native form card. It observes the page's network layer (fetch, XHR and a\n * PerformanceObserver fallback) for a successful POST to the Framer Forms\n * submit endpoint, then shows a success panel — and, when `redirectUrl` is\n * set, also navigates there after `delayMs`. When `pixelEvent` is set, it\n * also fires that conversion on the Meta Pixel. It never intercepts or alters\n * the submission itself — Framer's own runtime keeps handling validation,\n * anti-spam and the actual POST.\n *\n * Idle, it renders a pointer-events-none passthrough so the form stays\n * fully interactive. Place it as an absolute inset-0 child of the form card\n * (and set pointerEvents=\"none\" on the instance node itself).\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FormSuccessWatcher(props){const{pixelEvent=\"\",redirectUrl=\"\",delayMs=1100,title=\"Enviado com sucesso ✓\",body=\"Recebemos suas informa\\xe7\\xf5es. Em breve, um dos nossos especialistas vai entrar em contato.\",background=\"#FFFEF9\",radius=16}=props;const[done,setDone]=useState(false);const isStatic=useIsStaticRenderer();const firedRef=useRef(false);useEffect(()=>{if(isStatic||typeof window===\"undefined\")return;const isSubmitUrl=u=>typeof u===\"string\"&&u.includes(\"api.framer.com\")&&u.includes(\"/submit\");const fire=()=>{if(firedRef.current)return;firedRef.current=true;setDone(true);trackPixelEvent(pixelEvent);if(redirectUrl){window.setTimeout(()=>window.location.assign(redirectUrl),Math.max(0,delayMs));}};// Primary: patch fetch — Framer's runtime calls the global at submit time.\nconst origFetch=window.fetch;window.fetch=async function(...args){const res=await origFetch.apply(this,args);try{const u=typeof args[0]===\"string\"?args[0]:args[0]?.url;if(isSubmitUrl(u)&&res&&res.ok)fire();}catch{}return res;};// Secondary: patch XHR in case the runtime uses it instead.\nconst origOpen=XMLHttpRequest.prototype.open;const origSend=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.open=function(method,url,...rest){this.__fswUrl=url;return origOpen.call(this,method,url,...rest);};XMLHttpRequest.prototype.send=function(...args){if(isSubmitUrl(this.__fswUrl)){this.addEventListener(\"load\",()=>{if(this.status>=200&&this.status<300)fire();});}return origSend.apply(this,args);};// Fallback: resource timing catches the request even if both patches\n// are bypassed (e.g. a captured fetch reference). Requires 2xx when\n// the browser reports responseStatus; fires blind where unsupported.\nlet po=null;try{po=new PerformanceObserver(list=>{for(const e of list.getEntries()){const status=e.responseStatus;if(isSubmitUrl(e.name)&&(status===undefined||status>=200&&status<300))fire();}});po.observe({type:\"resource\",buffered:false});}catch{}return()=>{window.fetch=origFetch;XMLHttpRequest.prototype.open=origOpen;XMLHttpRequest.prototype.send=origSend;if(po)po.disconnect();};},[isStatic,redirectUrl,delayMs,pixelEvent]);if(!done){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",pointerEvents:\"none\",...props.style}});}return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:\"clamp(10px, 2.6vw, 14px)\",background,borderRadius:radius,padding:\"clamp(24px, 7vw, 40px) clamp(20px, 6vw, 44px)\",textAlign:\"center\",pointerEvents:\"auto\",boxSizing:\"border-box\",...props.style},children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:\"clamp(44px, 12.5vw, 52px)\",height:\"clamp(44px, 12.5vw, 52px)\",borderRadius:\"50%\",background:INK,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",marginBottom:6,flex:\"0 0 auto\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M4.5 12.5l5 5 10-11\",stroke:\"#FCF8EA\",strokeWidth:\"2.4\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:REC,fontWeight:400,fontSize:\"clamp(22px, 5.9vw, 28px)\",lineHeight:1.2,color:INK},children:title}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:JOST,fontWeight:300,fontSize:\"clamp(15px, 4.1vw, 16.5px)\",lineHeight:1.55,color:MUTED,maxWidth:400},children:body}),redirectUrl&&/*#__PURE__*/_jsx(\"a\",{href:redirectUrl,style:{marginTop:10,fontFamily:JOST,fontWeight:400,fontSize:\"clamp(14px, 3.9vw, 15px)\",color:INK,textDecoration:\"underline\",textUnderlineOffset:3},children:\"N\\xe3o abriu? Toque aqui para ir ao WhatsApp\"})]});}addPropertyControls(FormSuccessWatcher,{pixelEvent:{type:ControlType.String,title:\"Pixel Event\",defaultValue:\"\",placeholder:\"Lead\",description:\"Evento do Meta Pixel disparado no envio. Vazio = n\\xe3o dispara nada.\"},redirectUrl:{type:ControlType.String,title:\"Redirect Url\",defaultValue:\"\"},delayMs:{type:ControlType.Number,title:\"Delay Ms\",defaultValue:1100,min:0,max:5e3,step:100},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Enviado com sucesso ✓\"},body:{type:ControlType.String,title:\"Body\",displayTextArea:true,defaultValue:\"Recebemos suas informa\\xe7\\xf5es. Em breve, um dos nossos especialistas vai entrar em contato.\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFEF9\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:16,min:0,max:60}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FormSuccessWatcher\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FormSuccessWatcher.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useEffect}from\"react\";const PADRAO=\"utm_source,utm_medium,utm_campaign,utm_content,utm_term\";const LIMITE=200;// so o que faz sentido num valor de campanha: alfanumerico, faixa latina\n// acentuada (nome de anuncio em portugues chega intacto) e pontuacao de\n// slug. Descarta o resto, incluindo caractere de controle e aspas vindos\n// de URL manipulada, que sujariam a planilha a jusante.\nconst SEGURO=/[^A-Za-z0-9\\u00C0-\\u024F ._+%@,:/|()-]/g;/**\n * UTM Capture — lê os parâmetros de campanha da URL e os escreve nos campos\n * ocultos do formulário nativo do Framer, para que a origem do lead chegue\n * junto com o envio.\n *\n * Por que escrever direto no DOM: medi o envio real do formulário do\n * /diagnostico interceptando o POST para api.framer.com, e o Framer monta o\n * corpo como FormData a partir do DOM — uma escrita crua em `input.value`,\n * sem evento de React, chegou intacta no servidor. Então não é preciso\n * sincronizar estado de React; basta garantir que o valor esteja no DOM no\n * instante em que o FormData é construído.\n *\n * Daí os três momentos de escrita: na montagem, na fase de captura do clique\n * no botão de envio e no evento `submit` do formulário. Os dois últimos\n * existem porque um re-render do React pode repor o valor inicial do campo\n * entre a montagem e o envio; escrever na captura garante precedência sobre\n * o handler do Framer.\n *\n * Os campos precisam existir como inputs ocultos de verdade no formulário do\n * Framer, criados no editor. Injetar input novo no DOM em tempo de execução\n * quebraria a contagem anti-spam que o Framer envia nos campos `__framer_*`.\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function UtmCapture(props){const{campos=PADRAO,persistir=true,chave=\"pareto_utm\"}=props;const isStatic=useIsStaticRenderer();useEffect(()=>{if(isStatic||typeof window===\"undefined\")return;const nomes=String(campos).split(\",\").map(s=>s.trim()).filter(Boolean);if(!nomes.length)return;const limpar=v=>String(v??\"\").replace(SEGURO,\"\").trim().slice(0,LIMITE);// 1. o que veio na URL desta visita\nconst busca=new URLSearchParams(window.location.search);const daUrl={};for(const n of nomes){// \"parametros\": todos os parametros da URL num campo so, pra parametro novo chegar sem mexer no form\nif(n===\"parametros\"){const tudo=String(busca.toString()).replace(/[^A-Za-z0-9\\u00C0-\\u024F ._+%@,:/|()=&-]/g,\"\").slice(0,1500);if(tudo)daUrl[n]=tudo;continue;}const v=busca.get(n);if(v){const limpo=limpar(v);if(limpo)daUrl[n]=limpo;}}// 2. primeiro toque da sessão: a URL vence, e o que veio antes sobrevive\n//    à navegação interna até o visitante chegar ao formulário\nlet valores=daUrl;if(persistir){try{const guardado=window.sessionStorage.getItem(chave);const antes=guardado?JSON.parse(guardado):{};valores=Object.keys(daUrl).length?daUrl:antes;if(Object.keys(valores).length){window.sessionStorage.setItem(chave,JSON.stringify(valores));}}catch{// navegador sem sessionStorage: segue só com o que está na URL\nvalores=daUrl;}}if(!Object.keys(valores).length)return;const preencher=()=>{for(const form of Array.from(document.querySelectorAll(\"form\"))){for(const n of nomes){const v=valores[n];if(!v)continue;const campo=form.querySelector(`input[name=\"${n}\"], textarea[name=\"${n}\"]`);if(campo&&campo.value!==v)campo.value=v;}}};preencher();// reescreve no instante do envio: o FormData é montado depois daqui\nconst naCaptura=e=>{const alvo=e.target;if(!alvo||!alvo.closest)return;if(alvo.closest(\"form\"))preencher();};document.addEventListener(\"pointerdown\",naCaptura,true);document.addEventListener(\"click\",naCaptura,true);document.addEventListener(\"submit\",naCaptura,true);// formulário que só monta depois (troca de breakpoint, entrada em cena)\nconst obs=new MutationObserver(()=>preencher());obs.observe(document.body,{childList:true,subtree:true});return()=>{document.removeEventListener(\"pointerdown\",naCaptura,true);document.removeEventListener(\"click\",naCaptura,true);document.removeEventListener(\"submit\",naCaptura,true);obs.disconnect();};},[isStatic,campos,persistir,chave]);return /*#__PURE__*/_jsx(\"div\",{style:{width:1,height:1,opacity:0,pointerEvents:\"none\"},\"aria-hidden\":\"true\"});}addPropertyControls(UtmCapture,{campos:{type:ControlType.String,title:\"Campos\",defaultValue:PADRAO,description:\"Nomes dos par\\xe2metros da URL, separados por v\\xedrgula. Precisam existir como campos ocultos no formul\\xe1rio, com o mesmo nome.\"},persistir:{type:ControlType.Boolean,title:\"Guardar na Sess\\xe3o\",defaultValue:true,description:\"Mant\\xe9m a UTM se o visitante navegar pelo site antes de preencher.\"},chave:{type:ControlType.String,title:\"Chave\",defaultValue:\"pareto_utm\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"UtmCapture\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1\",\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UtmCapture.map"],"mappings":"A,0MAWG,SAASc,EAAgB,EAAK,CAAC,IAAMC,EAAI,OAAOC,GAAM,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,CAACD,GAAYV,IAAS,OAAY,OAAO,IAAMY,EAAEZ,EAAO,GAAG,OAAOY,EAAE,KAAM,WAAW,OAAO,IAAMC,EAAM,EAAE,mBAAmBD,EAAE,oBAAoB,CAAC,EAAE,GAAG,GAAMF,GAAY,GAAMA,GAAK,GAAK,GAAG,CAAII,EAAqB,IAAIJ,CAAG,EAAEE,EAAE,IAAI,QAAQF,CAAG,EAAOE,EAAE,IAAI,cAAcF,CAAG,CAAE,MAAM,CAAC,CAAlG,CAAmG,CAgB7V,SAAwBK,EAAmB,EAAM,CAAC,GAAK,CAAC,aAAW,GAAG,cAAY,GAAG,UAAQ,KAAK,QAAM,wBAAwB,OAAK,2FAAiG,a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