import{j as e}from"./ui-vendor-D7Fh8Ky-.js";import{H as t}from"./Header-DoX5cJO3.js";import{F as n}from"./Footer-QqNSxhyl.js";import{AppDownload as o}from"./AppDownload-CpQGuVW7.js";import{W as r}from"./WhatsAppFormDialog-C4Wxa_Ak.js";import{S as a}from"./SEOBreadcrumb-Br6WhKjy.js";import{e as i,r as s,L as l}from"./react-vendor-1IeSgoWF.js";import{u as c,S as m,B as d,H as u,s as p}from"./index-CZimzP54.js";import{u as f}from"./useQuery-BGK3QRGt.js";import{S as h}from"./SEOHead-BtoBN09U.js";import{C as g,a as b,b as y,c as x}from"./card-Dn35oEAi.js";import{A as N,a as w,b as j,c as v}from"./accordion-ChNsWVfC.js";import{_ as T,a4 as S,a5 as _,a6 as A,a7 as E,a8 as C,P as O,c as k}from"./icons-DJUmn7CM.js";import"./logo-oficial-BW9aD_Pb.js";import"./blur-D_WzlEf2.js";import"./app-screenshot-new-BdNMJL0p.js";import"./dialog-B-eVFNV6.js";import"./input-IlHHKVKf.js";import"./label-CfL2fxGm.js";import"./validators-B6ObMgjW.js";import"./useMutation-DmaUyt31.js";import"./registrarLead-Dw0HT5Fo.js";import"./supabase-vendor-Dr45T5gF.js";
/*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE */function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function D(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t);else for(;!(l=(o=a.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(m){c=!0,r=m}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return R(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const I=Object.entries,L=Object.setPrototypeOf,M=Object.isFrozen,z=Object.getPrototypeOf,P=Object.getOwnPropertyDescriptor;let F=Object.freeze,U=Object.seal,B=Object.create,H="undefined"!=typeof Reflect&&Reflect,q=H.apply,W=H.construct;F||(F=function(e){return e}),U||(U=function(e){return e}),q||(q=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return e.apply(t,o)}),W||(W=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return new e(...n)});const $=ue(Array.prototype.forEach),G=ue(Array.prototype.lastIndexOf),Y=ue(Array.prototype.pop),V=ue(Array.prototype.push),X=ue(Array.prototype.splice),K=Array.isArray,J=ue(String.prototype.toLowerCase),Q=ue(String.prototype.toString),Z=ue(String.prototype.match),ee=ue(String.prototype.replace),te=ue(String.prototype.indexOf),ne=ue(String.prototype.trim),oe=ue(Number.prototype.toString),re=ue(Boolean.prototype.toString),ae="undefined"==typeof BigInt?null:ue(BigInt.prototype.toString),ie="undefined"==typeof Symbol?null:ue(Symbol.prototype.toString),se=ue(Object.prototype.hasOwnProperty),le=ue(Object.prototype.toString),ce=ue(RegExp.prototype.test),me=(de=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return W(de,t)});var de;function ue(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return q(e,t,o)}}function pe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:J;if(L&&L(e,null),!K(t))return e;let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(M(t)||(t[o]=e),r=e)}e[r]=!0}return e}function fe(e){for(let t=0;t<e.length;t++){se(e,t)||(e[t]=null)}return e}function he(e){const t=B(null);for(const o of I(e)){var n=D(o,2);const r=n[0],a=n[1];se(e,r)&&(K(a)?t[r]=fe(a):a&&"object"==typeof a&&a.constructor===Object?t[r]=he(a):t[r]=a)}return t}function ge(e,t){for(;null!==e;){const n=P(e,t);if(n){if(n.get)return ue(n.get);if("function"==typeof n.value)return ue(n.value)}e=z(e)}return function(){return null}}const be=F(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ye=F(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),xe=F(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ne=F(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),we=F(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),je=F(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ve=F(["#text"]),Te=F(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Se=F(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),_e=F(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ae=F(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ee=U(/{{[\w\W]*|^[\w\W]*}}/g),Ce=U(/<%[\w\W]*|^[\w\W]*%>/g),Oe=U(/\${[\w\W]*/g),ke=U(/^data-[\-\w.\u00B7-\uFFFF]+$/),Re=U(/^aria-[\-\w]+$/),De=U(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ie=U(/^(?:\w+script|data):/i),Le=U(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Me=U(/^html$/i),ze=U(/^[a-z][.\w]*(-[.\w]+)+$/i),Pe=U(/<[/\w!]/g),Fe=U(/<[/\w]/g),Ue=U(/<\/no(script|embed|frames)/i),Be=U(/\/>/i),He=1,qe=3,We=7,$e=8,Ge=9,Ye=11,Ve=function(e,t,n,o){return se(e,t)&&K(e[t])?pe(o.base?he(o.base):{},e[t],o.transform):n};var Xe=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.4.12",n.removed=[],!t||!t.document||t.document.nodeType!==Ge||!t.Element)return n.isSupported=!1,n;let o=t.document;const r=o,a=r.currentScript;t.DocumentFragment;const i=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter,m=t.NamedNodeMap;void 0===m&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const d=t.DOMParser,u=t.trustedTypes,p=l.prototype,f=ge(p,"cloneNode"),h=ge(p,"remove"),g=ge(p,"nextSibling"),b=ge(p,"childNodes"),y=ge(p,"parentNode"),x=ge(p,"shadowRoot"),N=ge(p,"attributes"),w=s&&s.prototype?ge(s.prototype,"nodeType"):null,j=s&&s.prototype?ge(s.prototype,"nodeName"):null;if("function"==typeof i){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let v,T,S="",_=!1,A=0;const E=function(){if(A>0)throw me('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},C=function(e){E(),A++;try{return v.createHTML(e)}finally{A--}},O=o,k=O.implementation,R=O.createNodeIterator,D=O.createDocumentFragment,L=O.getElementsByTagName,M=r.importNode;let z={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof I&&"function"==typeof y&&k&&void 0!==k.createHTMLDocument;const P=Ee,H=Ce,q=Oe,W=ke,de=Re,ue=Ie,fe=Le,Xe=ze;let Ke=De,Je=null;const Qe=pe({},[...be,...ye,...xe,...we,...ve]);let Ze=null;const et=pe({},[...Te,...Se,..._e,...Ae]);let tt=Object.seal(B(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),nt=null,ot=null;const rt=Object.seal(B(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let at=!0,it=!0,st=!1,lt=!0,ct=!1,mt=!0,dt=!1,ut=!1,pt=null,ft=null,ht=!1,gt=!1,bt=!1,yt=!1,xt=!0,Nt=!1;const wt="user-content-";let jt=!0,vt=!1,Tt={},St=null;const _t=pe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let At=null;const Et=pe({},["audio","video","img","source","image","track"]);let Ct=null;const Ot=pe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),kt="http://www.w3.org/1998/Math/MathML",Rt="http://www.w3.org/2000/svg",Dt="http://www.w3.org/1999/xhtml";let It=Dt,Lt=!1,Mt=null;const zt=pe({},[kt,Rt,Dt],Q),Pt=F(["mi","mo","mn","ms","mtext"]);let Ft=pe({},Pt);const Ut=F(["annotation-xml"]);let Bt=pe({},Ut);const Ht=pe({},["title","style","font","a","script"]);let qt=null;const Wt=["application/xhtml+xml","text/html"];let $t=null,Gt=null;const Yt=o.createElement("form"),Vt=function(e){return e instanceof RegExp||e instanceof Function},Xt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Gt&&Gt===e)return;e&&"object"==typeof e||(e={}),e=he(e),qt=-1===Wt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,$t="application/xhtml+xml"===qt?Q:J,Je=Ve(e,"ALLOWED_TAGS",Qe,{transform:$t}),Ze=Ve(e,"ALLOWED_ATTR",et,{transform:$t}),Mt=Ve(e,"ALLOWED_NAMESPACES",zt,{transform:Q}),Ct=Ve(e,"ADD_URI_SAFE_ATTR",Ot,{transform:$t,base:Ot}),At=Ve(e,"ADD_DATA_URI_TAGS",Et,{transform:$t,base:Et}),St=Ve(e,"FORBID_CONTENTS",_t,{transform:$t}),nt=Ve(e,"FORBID_TAGS",he({}),{transform:$t}),ot=Ve(e,"FORBID_ATTR",he({}),{transform:$t}),Tt=!!se(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?he(e.USE_PROFILES):e.USE_PROFILES),at=!1!==e.ALLOW_ARIA_ATTR,it=!1!==e.ALLOW_DATA_ATTR,st=e.ALLOW_UNKNOWN_PROTOCOLS||!1,lt=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ct=e.SAFE_FOR_TEMPLATES||!1,mt=!1!==e.SAFE_FOR_XML,dt=e.WHOLE_DOCUMENT||!1,gt=e.RETURN_DOM||!1,bt=e.RETURN_DOM_FRAGMENT||!1,yt=e.RETURN_TRUSTED_TYPE||!1,ht=e.FORCE_BODY||!1,xt=!1!==e.SANITIZE_DOM,Nt=e.SANITIZE_NAMED_PROPS||!1,jt=!1!==e.KEEP_CONTENT,vt=e.IN_PLACE||!1,Ke=function(e){try{return ce(e,""),!0}catch(t){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:De,It="string"==typeof e.NAMESPACE?e.NAMESPACE:Dt,Ft=se(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?he(e.MATHML_TEXT_INTEGRATION_POINTS):pe({},Pt),Bt=se(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?he(e.HTML_INTEGRATION_POINTS):pe({},Ut);const t=se(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?he(e.CUSTOM_ELEMENT_HANDLING):B(null);if(tt=B(null),se(t,"tagNameCheck")&&Vt(t.tagNameCheck)&&(tt.tagNameCheck=t.tagNameCheck),se(t,"attributeNameCheck")&&Vt(t.attributeNameCheck)&&(tt.attributeNameCheck=t.attributeNameCheck),se(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(tt.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),U(tt),ct&&(it=!1),bt&&(gt=!0),Tt&&(Je=pe({},ve),Ze=B(null),!0===Tt.html&&(pe(Je,be),pe(Ze,Te)),!0===Tt.svg&&(pe(Je,ye),pe(Ze,Se),pe(Ze,Ae)),!0===Tt.svgFilters&&(pe(Je,xe),pe(Ze,Se),pe(Ze,Ae)),!0===Tt.mathMl&&(pe(Je,we),pe(Ze,_e),pe(Ze,Ae))),rt.tagCheck=null,rt.attributeCheck=null,se(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?rt.tagCheck=e.ADD_TAGS:K(e.ADD_TAGS)&&(Je===Qe&&(Je=he(Je)),pe(Je,e.ADD_TAGS,$t))),se(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?rt.attributeCheck=e.ADD_ATTR:K(e.ADD_ATTR)&&(Ze===et&&(Ze=he(Ze)),pe(Ze,e.ADD_ATTR,$t))),se(e,"ADD_URI_SAFE_ATTR")&&K(e.ADD_URI_SAFE_ATTR)&&pe(Ct,e.ADD_URI_SAFE_ATTR,$t),se(e,"FORBID_CONTENTS")&&K(e.FORBID_CONTENTS)&&(St===_t&&(St=he(St)),pe(St,e.FORBID_CONTENTS,$t)),se(e,"ADD_FORBID_CONTENTS")&&K(e.ADD_FORBID_CONTENTS)&&(St===_t&&(St=he(St)),pe(St,e.ADD_FORBID_CONTENTS,$t)),jt&&(Je["#text"]=!0),dt&&pe(Je,["html","head","body"]),Je.table&&(pe(Je,["tbody"]),delete nt.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw me('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw me('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=v;v=e.TRUSTED_TYPES_POLICY;try{S=C("")}catch(n){throw v=t,n}}else null===e.TRUSTED_TYPES_POLICY?(v=void 0,S=""):(void 0===v&&(_||(T=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(a){return null}}(u,a),_=!0),v=T),v&&"string"==typeof S&&(S=C("")));F&&F(e),Gt=e},Kt=pe({},[...ye,...xe,...Ne]),Jt=pe({},[...we,...je]),Qt=function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:It,tagName:"template"});const n=J(e.tagName),o=J(t.tagName);return!!Mt[e.namespaceURI]&&(e.namespaceURI===Rt?function(e,t,n){return t.namespaceURI===Dt?"svg"===e:t.namespaceURI===kt?"svg"===e&&("annotation-xml"===n||Ft[n]):Boolean(Kt[e])}(n,t,o):e.namespaceURI===kt?function(e,t,n){return t.namespaceURI===Dt?"math"===e:t.namespaceURI===Rt?"math"===e&&Bt[n]:Boolean(Jt[e])}(n,t,o):e.namespaceURI===Dt?function(e,t,n){return!(t.namespaceURI===Rt&&!Bt[n])&&!(t.namespaceURI===kt&&!Ft[n])&&!Jt[e]&&(Ht[e]||!Kt[e])}(n,t,o):!("application/xhtml+xml"!==qt||!Mt[e.namespaceURI]))},Zt=function(e){V(n.removed,{element:e});try{y(e).removeChild(e)}catch(t){if(h(e),!y(e))throw me("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},en=function(e){on(e);const t=b(e);if(t){const e=[];$(t,t=>{V(e,t)}),$(e,e=>{try{h(e)}catch(t){}})}const n=N(e);if(n)for(let r=n.length-1;r>=0;--r){const t=n[r],a=t&&t.name;if("string"==typeof a)try{e.removeAttribute(a)}catch(o){}}},tn=function(e,t){try{V(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(o){V(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(gt||bt)try{Zt(t)}catch(o){}else try{t.setAttribute(e,"")}catch(o){}},nn=function(e){const t=N(e);if(t)for(let o=t.length-1;o>=0;--o){const r=t[o],a=r&&r.name;if("string"==typeof a&&!Ze[$t(a)])try{e.removeAttribute(a)}catch(n){}}},on=function(e){const t=[e];for(;t.length>0;){const e=t.pop();(w?w(e):e.nodeType)===He&&nn(e);const n=b(e);if(n)for(let o=n.length-1;o>=0;--o)t.push(n[o])}},rn=function(e){let t=null,n=null;if(ht)e="<remove></remove>"+e;else{const t=Z(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===qt&&It===Dt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=v?C(e):e;if(It===Dt)try{t=(new d).parseFromString(r,qt)}catch(i){}if(!t||!t.documentElement){t=k.createDocument(It,"template",null);try{t.documentElement.innerHTML=Lt?S:r}catch(i){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),It===Dt?L.call(t,dt?"html":"body")[0]:dt?t.documentElement:a},an=function(e){return R.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},sn=function(e){return e=ee(e,P," "),e=ee(e,H," "),e=ee(e,q," ")},ln=function(e){var t;e.normalize();const n=R.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let o=n.nextNode();for(;o;)o.data=sn(o.data),o=n.nextNode();const r=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");r&&$(r,e=>{mn(e.content)&&ln(e.content)})},cn=function(e){const t=j?j(e):null;return"string"==typeof t&&("form"===$t(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==N(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==w(e)||e.childNodes!==b(e)))},mn=function(e){if(!w||"object"!=typeof e||null===e)return!1;try{return w(e)===Ye}catch(t){return!1}},dn=function(e){if(!w||"object"!=typeof e||null===e)return!1;try{return"number"==typeof w(e)}catch(t){return!1}};function un(e,t,o){0!==e.length&&$(e,e=>{e.call(n,t,o,Gt)})}const pn=function(e,t){if(un(z.beforeSanitizeElements,e,null),e!==t&&null===y(e))return!0;if(cn(e))return Zt(e),!0;const o=$t(j?j(e):e.nodeName);if(un(z.uponSanitizeElement,e,{tagName:o,allowedTags:Je}),e!==t&&null===y(e))return!0;if(function(e,t){return!!(mt&&e.hasChildNodes()&&!dn(e.firstElementChild)&&ce(Pe,e.textContent)&&ce(Pe,e.innerHTML))||!(!mt||e.namespaceURI!==Dt||"style"!==t||!dn(e.firstElementChild))||e.nodeType===We||!(!mt||e.nodeType!==$e||!ce(Fe,e.data))}(e,o))return Zt(e),!0;if(nt[o]||!(rt.tagCheck instanceof Function&&rt.tagCheck(o))&&!Je[o]){const t=function(e,t){if(!nt[t]&&gn(t)){if(tt.tagNameCheck instanceof RegExp&&ce(tt.tagNameCheck,t))return!1;if(tt.tagNameCheck instanceof Function&&tt.tagNameCheck(t))return!1}if(jt&&!St[t]){const t=y(e),n=b(e);if(n&&t)for(let o=n.length-1;o>=0;--o){const r=vt?n[o]:f(n[o],!0);t.insertBefore(r,g(e))}}return Zt(e),!0}(e,o);return!1===t&&un(z.afterSanitizeElements,e,null),t}if((w?w(e):e.nodeType)===He&&!Qt(e))return Zt(e),!0;if(("noscript"===o||"noembed"===o||"noframes"===o)&&ce(Ue,e.innerHTML))return Zt(e),!0;if(ct&&e.nodeType===qe){const t=sn(e.textContent);e.textContent!==t&&(V(n.removed,{element:e.cloneNode()}),e.textContent=t)}return un(z.afterSanitizeElements,e,null),!1},fn=function(e,t,n){if(ot[t])return!1;if(mt&&"patchsrc"===t)return!1;if(mt&&"for"===t&&"label"!==e&&"output"!==e)return!1;if(xt&&("id"===t||"name"===t)&&(n in o||n in Yt))return!1;const r=Ze[t]||rt.attributeCheck instanceof Function&&rt.attributeCheck(t,e);if(it&&ce(W,t));else if(at&&ce(de,t));else if(r)if(Ct[t]);else if(ce(Ke,ee(n,fe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==te(n,"data:")||!At[e]){if(st&&!ce(ue,ee(n,fe,"")));else if(n)return!1}else;else if(!(gn(e)&&(tt.tagNameCheck instanceof RegExp&&ce(tt.tagNameCheck,e)||tt.tagNameCheck instanceof Function&&tt.tagNameCheck(e))&&(tt.attributeNameCheck instanceof RegExp&&ce(tt.attributeNameCheck,t)||tt.attributeNameCheck instanceof Function&&tt.attributeNameCheck(t,e))||"is"===t&&tt.allowCustomizedBuiltInElements&&(tt.tagNameCheck instanceof RegExp&&ce(tt.tagNameCheck,n)||tt.tagNameCheck instanceof Function&&tt.tagNameCheck(n))))return!1;return!0},hn=pe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),gn=function(e){return!hn[J(e)]&&ce(Xe,e)},bn=function(e,t,n,o){if(v&&"object"==typeof u&&"function"==typeof u.getAttributeType&&!n)switch(u.getAttributeType(e,t)){case"TrustedHTML":return C(o);case"TrustedScriptURL":return function(e){E(),A++;try{return v.createScriptURL(e)}finally{A--}}(o)}return o},yn=function(e,t,o,r){try{o?e.setAttributeNS(o,t,r):e.setAttribute(t,r),cn(e)?Zt(e):Y(n.removed)}catch(a){tn(t,e)}},xn=function(e){un(z.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||cn(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ze,forceKeepAttr:void 0};let o=t.length;const r=$t(e.nodeName);for(;o--;){const a=t[o],i=a.name,s=a.namespaceURI,l=a.value,c=$t(i),m=l;let d="value"===i?m:ne(m);n.attrName=c,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,un(z.uponSanitizeAttribute,e,n),d=n.attrValue,!Nt||"id"!==c&&"name"!==c||0===te(d,wt)||(tn(i,e),d=wt+d),mt&&ce(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)?tn(i,e):"attributename"===c&&Z(d,"href")?tn(i,e):n.forceKeepAttr||(n.keepAttr&&(lt||!ce(Be,d))?(ct&&(d=sn(d)),fn(r,c,d)?(d=bn(r,c,s,d),d!==m&&yn(e,i,s,d)):tn(i,e)):tn(i,e))}un(z.afterSanitizeAttributes,e,null)},Nn=function(e){let t=null;const n=an(e);for(un(z.beforeSanitizeShadowDOM,e,null);t=n.nextNode();){un(z.uponSanitizeShadowNode,t,null),pn(t,e),xn(t),mn(t.content)&&Nn(t.content);if((w?w(t):t.nodeType)===He){const e=x(t);mn(e)&&(wn(e),Nn(e))}}un(z.afterSanitizeShadowDOM,e,null)},wn=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){Nn(e.shadow);continue}const n=e.node,o=(w?w(n):n.nodeType)===He,r=b(n);if(r)for(let a=r.length-1;a>=0;--a)t.push({node:r[a],shadow:null});if(o){const e=j?j(n):null;if("string"==typeof e&&"template"===$t(e)){const e=n.content;mn(e)&&t.push({node:e,shadow:null})}}if(o){const e=x(n);mn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,a=null,i=null,s=null;if(Lt=!e,Lt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dn(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return oe(e);case"boolean":return re(e);case"bigint":return ae?ae(e):"0";case"symbol":return ie?ie(e):"Symbol()";case"undefined":default:return le(e);case"function":case"object":{if(null===e)return le(e);const t=e,n=ge(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:le(e)}return le(e)}}}(e)))throw me("dirty is not a string, aborting");if(!n.isSupported)return e;ut?(Je=pt,Ze=ft):Xt(t),(z.uponSanitizeElement.length>0||z.uponSanitizeAttribute.length>0)&&(Je=he(Je)),z.uponSanitizeAttribute.length>0&&(Ze=he(Ze)),n.removed=[];const l=vt&&"string"!=typeof e&&dn(e);if(l){!function(e){if(!mt)return;const t=[e];for(;t.length>0;){const e=t.pop(),o=w?w(e):e.nodeType;if(o===We||o===$e&&ce(Fe,e.data)){try{h(e)}catch(n){}continue}if(o===He){const t=e,o=$t(j?j(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&"label"!==o&&"output"!==o&&t.removeAttribute("for")}catch(n){}}const r=b(e);if(r)for(let n=r.length-1;n>=0;--n)t.push(r[n])}}(e);const t=j?j(e):e.nodeName;if("string"==typeof t){const n=$t(t);if(!Je[n]||nt[n])throw en(e),me("root node is forbidden and cannot be sanitized in-place")}if(cn(e))throw en(e),me("root node is clobbered and cannot be sanitized in-place");try{wn(e)}catch(u){throw en(e),u}}else if(dn(e))o=rn("\x3c!----\x3e"),a=o.ownerDocument.importNode(e,!0),a.nodeType===He&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a),wn(a);else{if(!gt&&!ct&&!dt&&-1===e.indexOf("<"))return v&&yt?C(e):e;if(o=rn(e),!o)return gt?null:yt?S:""}o&&ht&&Zt(o.firstChild);const c=l?e:o,m=an(c);try{for(;i=m.nextNode();)pn(i,c),xn(i),mn(i.content)&&Nn(i.content)}catch(u){throw l&&(en(e),$(n.removed,e=>{e.element&&on(e.element)})),u}if(l)return $(n.removed,e=>{e.element&&on(e.element)}),ct&&ln(e),e;if(gt){if(ct&&ln(o),bt)for(s=D.call(o.ownerDocument);o.firstChild;)s.appendChild(o.firstChild);else s=o;return(Ze.shadowroot||Ze.shadowrootmode)&&(s=M.call(r,s,!0)),s}let d=dt?o.outerHTML:o.innerHTML;return dt&&Je["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&ce(Me,o.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+d),ct&&(d=sn(d)),v&&yt?C(d):d},n.setConfig=function(){Xt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ut=!0,pt=Je,ft=Ze},n.clearConfig=function(){Gt=null,ut=!1,pt=null,ft=null,v=T,S=""},n.isValidAttribute=function(e,t,n){Gt||Xt({});const o=$t(e),r=$t(t);return fn(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&se(z,e)&&V(z[e],t)},n.removeHook=function(e,t){if(se(z,e)){if(void 0!==t){const n=G(z[e],t);return-1===n?void 0:X(z[e],n,1)[0]}return Y(z[e])}},n.removeHooks=function(e){se(z,e)&&(z[e]=[])},n.removeAllHooks=function(){z={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Ke=()=>{var R,D,I,L;const{slug:M}=i(),{toast:z}=c(),[P,F]=s.useState("client"),U=M?M.split("-").filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "):"Blog Sempre Comigo";s.useEffect(()=>{window.scrollTo(0,0)},[M]);const{data:B,isLoading:H,error:q}=f({queryKey:["blog-post",M],queryFn:async()=>{const{data:e,error:t}=await p.from("blog_posts").select("*").eq("slug",M).eq("status","published").single();if(t)throw t;return await p.rpc("increment_blog_post_view",{p_slug:M||""}),e},retry:!1}),W={"rastreamento-veicular":["gestao-frotas","seguros-protecao"],"seguros-protecao":["assistencia-24h","rastreamento-veicular"],"assistencia-24h":["seguros-protecao","dicas-utilidades"],"gestao-frotas":["rastreamento-veicular","pequenas-medias-empresas"],franquias:[],"pequenas-medias-empresas":["gestao-frotas","rastreamento-veicular"],"dicas-utilidades":["assistencia-24h","seguros-protecao"],"gestao-pessoas-motoristas":["gestao-frotas","rastreamento-veicular"]},{data:$}=f({queryKey:["related-articles",null==B?void 0:B.category,null==B?void 0:B.id],queryFn:async()=>{if(!B)return[];const{data:e}=await p.from("blog_posts").select("id, title, slug, excerpt, featured_image, published_at, category").eq("category",B.category).eq("status","published").neq("id",B.id).order("published_at",{ascending:!1}).limit(2),t=e||[];if(t.length<3){const e=W[B.category]||[];if(e.length>0){const{data:n}=await p.from("blog_posts").select("id, title, slug, excerpt, featured_image, published_at, category").in("category",e).eq("status","published").neq("id",B.id).order("published_at",{ascending:!1}).limit(3-t.length);n&&t.push(...n)}}return t},enabled:!!B}),G="undefined"!=typeof window?window.location.href:"",Y=e=>{const t=encodeURIComponent(G),n={facebook:`https://www.facebook.com/sharer/sharer.php?u=${t}`,twitter:`https://twitter.com/intent/tweet?url=${t}&text=${encodeURIComponent((null==B?void 0:B.title)||"")}`,linkedin:`https://www.linkedin.com/sharing/share-offsite/?url=${t}`,copy:G};"copy"===e?(navigator.clipboard.writeText(G),z({title:"Link copiado!",description:"O link foi copiado para a área de transferência."})):window.open(n[e],"_blank","width=600,height=400")},V=B?Math.ceil(B.content.replace(/<[^>]*>/g," ").split(/\s+/).length/200):0,X=(null==B?void 0:B.title)||U,K=(null==B?void 0:B.meta_description)||`Leia conteúdos sobre ${U.toLowerCase()}, assistência 24h, rastreamento e segurança veicular com orientações práticas da Sempre Comigo.`,J=`/blog/${M||""}`;if(H)return e.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white",children:[e.jsx(h,{title:X,description:K,canonical:J,type:"article"}),e.jsx(t,{viewMode:P,onViewModeChange:F}),e.jsx("div",{className:"container mx-auto px-4 py-12",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsx(m,{className:"h-8 w-3/4 mb-4"}),e.jsx(m,{className:"h-4 w-1/2 mb-8"}),e.jsx(m,{className:"h-96 w-full mb-8"}),e.jsx(m,{className:"h-4 w-full mb-2"}),e.jsx(m,{className:"h-4 w-full mb-2"}),e.jsx(m,{className:"h-4 w-3/4"})]})}),e.jsx(n,{})]});if(q||!B)return e.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white",children:[e.jsx(h,{title:"Artigo não encontrado",description:"Este artigo não está mais disponível. Explore outros conteúdos no nosso blog sobre rastreamento, assistência 24h e segurança veicular.",canonical:J,noIndex:!0}),e.jsx(t,{viewMode:P,onViewModeChange:F}),e.jsx("main",{className:"container mx-auto px-4 py-24",children:e.jsxs("div",{className:"max-w-2xl mx-auto text-center",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:"Artigo não encontrado"}),e.jsx("p",{className:"text-lg text-muted-foreground mb-8",children:"Este conteúdo pode ter sido movido ou despublicado. Confira outros artigos no nosso blog."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[e.jsx(d,{asChild:!0,size:"lg",children:e.jsx(l,{to:"/blog",children:"Ver todos os artigos"})}),e.jsx(d,{asChild:!0,size:"lg",variant:"outline",children:e.jsx(l,{to:"/",children:"Ir para a página inicial"})})]})]})}),e.jsx(n,{})]});const Q=B,Z=Q.tldr||null,ee=Array.isArray(Q.citations)?Q.citations.filter(e=>Boolean((null==e?void 0:e.name)&&(null==e?void 0:e.url))):[],te=B.cta_links??{},ne=Array.isArray(te.faqs)?te.faqs.filter(e=>(null==e?void 0:e.question)&&(null==e?void 0:e.answer)):[],oe=(null==(R=te.final_cta)?void 0:R.text)&&(null==(D=te.final_cta)?void 0:D.url)?te.final_cta:null,re=te.howto&&"object"==typeof te.howto&&te.howto.step?te.howto:null,ae=B.content?B.content.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim():"",ie=((e,t)=>{if(e.length<=t)return e;const n=e.slice(0,t),o=n.lastIndexOf(" ");return o>t-100?n.slice(0,o):n})(Z?`${Z} ${ae}`:ae,5e3),se={"@context":"https://schema.org","@type":"BlogPosting",headline:B.title,description:B.meta_description,image:(le=B.featured_image,le?le.startsWith("http://")||le.startsWith("https://")?le:`https://semprecomigo.com.br${le}`:"https://semprecomigo.com.br/assets/logo.png"),author:{"@type":"Organization",name:B.author||"Sempre Comigo"},publisher:{"@type":"Organization",name:"Sempre Comigo",logo:{"@type":"ImageObject",url:"https://semprecomigo.com.br/assets/logo.png"}},datePublished:B.published_at,dateModified:B.updated_at||B.published_at,mainEntityOfPage:{"@type":"WebPage","@id":`https://semprecomigo.com.br/blog/${B.slug}`},articleBody:ie,inLanguage:"pt-BR",keywords:null==(I=B.keywords)?void 0:I.join(", ")};var le;ee.length>0&&(se.citation=ee.map(e=>({"@type":e.type||"CreativeWork",name:e.name,url:e.url})));const ce=ne.length>0?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:ne.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))}:null,me={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://semprecomigo.com.br"},{"@type":"ListItem",position:2,name:"Blog",item:"https://semprecomigo.com.br/blog"},{"@type":"ListItem",position:3,name:B.title,item:`https://semprecomigo.com.br/blog/${B.slug}`}]};return e.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white",children:[e.jsx(h,{title:X,description:K,image:B.featured_image,canonical:J,type:"article",publishedTime:B.published_at,author:B.author,keywords:null==(L=B.keywords)?void 0:L.join(", "),preloadImage:!0}),e.jsxs(u,{children:[e.jsx("script",{type:"application/ld+json",children:JSON.stringify(se)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(me)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"Sempre Comigo",url:"https://semprecomigo.com.br",logo:"https://semprecomigo.com.br/assets/logo.png",description:"Empresa especializada em rastreamento veicular, assistência 24h e seguros desde 2014.",foundingDate:"2014",numberOfEmployees:{"@type":"QuantitativeValue",value:40},address:{"@type":"PostalAddress",streetAddress:"Rua Rio Beberibe, 30A - Emaús",addressLocality:"Parnamirim",addressRegion:"RN",postalCode:"59141-050",addressCountry:"BR"},contactPoint:{"@type":"ContactPoint",telephone:"+55-0800-111-8686",contactType:"customer service",availableLanguage:"Portuguese"},sameAs:["https://www.facebook.com/semprecomigobr","https://www.instagram.com/semprecomigobr_oficial/","https://br.linkedin.com/company/semprecomigo","https://www.youtube.com/@semprecomigo"]})}),ce&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify(ce)}),re&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify(re)})]}),e.jsx(t,{viewMode:P,onViewModeChange:F}),e.jsx(a,{items:[{label:"Blog",href:"/blog"},{label:B.category.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),href:`/blog?category=${B.category}`},{label:B.title}]}),e.jsx("article",{className:"container mx-auto px-4 py-12",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsx("div",{className:"mb-6 flex justify-end",children:e.jsx(d,{variant:"outline",size:"sm",asChild:!0,children:e.jsx(l,{to:"/blog",children:"← Voltar ao Blog"})})}),e.jsx(g,{className:"mb-8 bg-gradient-to-r from-primary/10 to-primary/5 border-primary/20",children:e.jsxs(b,{className:"p-6 flex flex-col md:flex-row items-center justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-lg mb-1",children:"Precisa de Proteção para seu Veículo?"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Faça uma cotação gratuita em menos de 2 minutos"})]}),e.jsx(d,{asChild:!0,children:e.jsx("a",{href:"https://semprecomigo.com.br/loja?utm_source=blog&utm_medium=banner&utm_campaign=top-cta",target:"_blank",rel:"noopener noreferrer",children:"Cotar Agora"})})]})}),e.jsxs("header",{className:"mb-8",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4 leading-tight",children:B.title}),Z&&e.jsxs("aside",{"aria-label":"Resumo do artigo",className:"my-6 p-4 bg-primary/5 border-l-4 border-primary rounded",children:[e.jsx("p",{className:"text-xs font-semibold uppercase tracking-wide text-primary mb-1",children:"TL;DR"}),e.jsx("p",{className:"text-base leading-relaxed text-foreground/90",children:Z})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-muted-foreground mb-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(T,{className:"h-4 w-4"}),e.jsx("span",{children:B.author})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4"}),e.jsx("span",{children:new Date(B.published_at).toLocaleDateString("pt-BR",{day:"2-digit",month:"long",year:"numeric"})})]}),e.jsx("div",{className:"flex items-center gap-2",children:e.jsxs("span",{children:[V," min de leitura"]})})]}),B.featured_image&&e.jsx("div",{className:"relative w-full h-[400px] rounded-lg overflow-hidden mb-8 bg-gray-100",children:e.jsx("img",{src:B.featured_image,alt:B.image_alt||B.title,className:"w-full h-full object-cover",loading:"eager",fetchPriority:"high",width:"1200",height:"630",decoding:"async",onError:e=>{e.currentTarget.src="/assets/blog-fallback.jpg"}})}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"text-sm font-semibold",children:"Compartilhar:"}),e.jsx(d,{variant:"outline",size:"sm",onClick:()=>Y("facebook"),children:e.jsx(_,{className:"h-4 w-4"})}),e.jsx(d,{variant:"outline",size:"sm",onClick:()=>Y("twitter"),children:e.jsx(A,{className:"h-4 w-4"})}),e.jsx(d,{variant:"outline",size:"sm",onClick:()=>Y("linkedin"),children:e.jsx(E,{className:"h-4 w-4"})}),e.jsx(d,{variant:"outline",size:"sm",onClick:()=>Y("copy"),children:e.jsx(C,{className:"h-4 w-4"})})]})]}),e.jsx("div",{className:"prose prose-xl max-w-none mb-12 blog-content",dangerouslySetInnerHTML:{__html:Xe.sanitize(B.content,{ALLOWED_TAGS:["p","br","strong","em","u","h1","h2","h3","h4","h5","h6","ul","ol","li","a","img","blockquote","code","pre","span","div","table","thead","tbody","tfoot","tr","th","td","caption","colgroup","col"],ALLOWED_ATTR:["href","src","alt","title","class","id","target","rel","style","colspan","rowspan","scope"],ALLOW_DATA_ATTR:!1})}}),ee.length>0&&e.jsxs("section",{"aria-label":"Fontes citadas no artigo",className:"mb-12 p-6 bg-muted/30 rounded-lg border border-muted",children:[e.jsx("h2",{className:"text-xl font-bold mb-4",children:"Fontes"}),e.jsx("ol",{className:"list-decimal list-inside space-y-2 text-sm text-foreground/90",children:ee.map((t,n)=>e.jsxs("li",{children:[e.jsx("a",{href:t.url,target:"_blank",rel:"noopener noreferrer nofollow",className:"text-primary hover:underline",children:t.name}),t.type&&"CreativeWork"!==t.type&&e.jsxs("span",{className:"text-muted-foreground",children:[" (",t.type,")"]})]},`${n}-${t.url}`))})]}),ne.length>0&&e.jsxs("section",{"aria-label":"Perguntas frequentes",className:"mb-12",children:[e.jsx("h2",{className:"text-2xl font-bold mb-6",children:"Perguntas frequentes"}),e.jsx(N,{type:"single",collapsible:!0,className:"w-full",children:ne.map((t,n)=>e.jsxs(w,{value:`faq-${n}`,children:[e.jsx(j,{className:"text-left text-base font-semibold",children:t.question}),e.jsx(v,{className:"text-base leading-relaxed text-foreground/90",children:t.answer})]},n))})]}),oe&&e.jsx(g,{className:"mb-12 border-2 border-primary/30 bg-primary/5",children:e.jsxs(b,{className:"pt-6",children:[e.jsx("p",{className:"text-lg text-foreground mb-4 text-center",children:oe.text}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[e.jsx(d,{asChild:!0,size:"lg",children:e.jsx(l,{to:oe.url,children:"Acionar Assistência 24h"})}),oe.phone&&e.jsx(d,{asChild:!0,size:"lg",variant:"outline",children:e.jsxs("a",{href:`tel:${oe.phone}`,children:[e.jsx(O,{className:"h-4 w-4 mr-2"}),oe.phone.replace(/(\d{4})(\d{3})(\d{4})/,"$1-$2-$3")]})}),e.jsx(r,{whatsappUrl:"https://wa.me/5584996380412",formName:`Lead Blog Post - ${B.slug}`,formId:"blog_post_form",servico:"institucional",whatsappMessage:`Olá! Li o artigo "${B.title}" no blog Sempre Comigo e gostaria de mais informações.`,children:e.jsxs(d,{size:"lg",variant:"outline",children:[e.jsx(k,{className:"h-4 w-4 mr-2"}),"WhatsApp"]})})]})]})}),(B.category.toLowerCase().includes("franquia")||B.keywords.some(e=>e.toLowerCase().includes("franquia")))&&e.jsx(g,{className:"mb-12 border-2 border-primary/20 bg-primary/5",children:e.jsx(b,{className:"pt-6",children:e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx("h3",{className:"text-2xl font-bold text-foreground",children:"Quer Abrir Sua Própria Franquia Sempre Comigo?"}),e.jsx("p",{className:"text-lg text-muted-foreground",children:"Invista em um negócio consolidado com 12 anos de mercado e receita recorrente. Modelos a partir de R$ 35.000."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[e.jsx(d,{size:"lg",asChild:!0,children:e.jsx(l,{to:"/franquia",children:"Conhecer a Franquia"})}),e.jsx(r,{whatsappUrl:"https://wa.me/5584996380412",formName:`Lead Blog Franquia - ${B.slug}`,formId:"franquia_form",servico:"franquia",whatsappMessage:"Olá! Vi o artigo sobre franquia no blog Sempre Comigo e gostaria de mais informações.",children:e.jsx(d,{size:"lg",variant:"outline",children:"Falar no WhatsApp"})})]})]})})}),e.jsxs("aside",{className:"mt-12 mb-12",children:[e.jsx("h3",{className:"text-2xl font-bold mb-6",children:"Nossos Serviços"}),e.jsxs("div",{className:"grid md:grid-cols-3 gap-4",children:[e.jsxs(g,{className:"hover:shadow-lg transition-shadow",children:[e.jsx(y,{children:e.jsx(x,{className:"text-lg",children:"Rastreamento GPS"})}),e.jsxs(b,{children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Monitoramento 24h do seu veículo com tecnologia de ponta"}),e.jsx(d,{size:"sm",asChild:!0,className:"w-full",children:e.jsx("a",{href:"https://semprecomigo.com.br/loja/plano-rastreamento?utm_source=blog&utm_medium=related&utm_campaign=rastreamento",target:"_blank",rel:"noopener noreferrer",children:"Ver Planos"})})]})]}),e.jsxs(g,{className:"hover:shadow-lg transition-shadow",children:[e.jsx(y,{children:e.jsx(x,{className:"text-lg",children:"Assistência 24h"})}),e.jsxs(b,{children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Socorro completo para seu veículo quando você mais precisa"}),e.jsx(d,{size:"sm",asChild:!0,className:"w-full",children:e.jsx("a",{href:"https://semprecomigo.com.br/loja/plano-assistencia?utm_source=blog&utm_medium=related&utm_campaign=assistencia",target:"_blank",rel:"noopener noreferrer",children:"Contratar"})})]})]}),e.jsxs(g,{className:"hover:shadow-lg transition-shadow",children:[e.jsx(y,{children:e.jsx(x,{className:"text-lg",children:"Seguros"})}),e.jsxs(b,{children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Proteção completa do seu veículo com as melhores coberturas"}),e.jsx(d,{size:"sm",asChild:!0,className:"w-full",children:e.jsx("a",{href:"https://semprecomigo.com.br/loja?utm_source=blog&utm_medium=related&utm_campaign=seguros",target:"_blank",rel:"noopener noreferrer",children:"Cotar Seguro"})})]})]})]})]}),$&&$.length>0&&e.jsxs("aside",{className:"mt-12",children:[e.jsx("h3",{className:"text-2xl font-bold mb-6",children:"Artigos Relacionados"}),e.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:$.map((t,n)=>e.jsxs(l,{to:`/blog/${t.slug}`,className:"group hover:shadow-lg transition-all rounded-lg overflow-hidden bg-white",children:[t.featured_image&&e.jsx("div",{className:"relative h-40 overflow-hidden",children:e.jsx("img",{src:t.featured_image,alt:t.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-300",loading:"lazy",width:"400",height:"225",decoding:"async"})}),e.jsxs("div",{className:"p-4",children:[e.jsx("h4",{className:"font-bold mb-2 group-hover:text-primary transition-colors line-clamp-2",children:t.title}),e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:t.excerpt})]})]},t.id))})]})]})}),e.jsx(o,{}),e.jsx(n,{})]})};export{Ke as default};