PageSourceSearch

https://app.easybuilder.com.br/_next/static/chunks/7212-8212684a818ed6fe.js

js easybuilder.com.br collected 2026-09-24 13:11:45 UTC 13,723 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7212],{3998:(e,t,a)=>{a.d(t,{Button:()=>l});var s=a(95155),r=a(69599),n=a(83101),i=a(64269);let o=(0,n.F)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:a="default",size:n="default",render:l,...d}=e;return(0,s.jsx)(r.$,{"data-slot":"button",className:(0,i.cn)(o({variant:a,size:n,className:t})),render:l,nativeButton:!l&&void 0,...d})}},25116:(e,t,a)=>{a.d(t,{UpgradeCTA:()=>c});var s=a(95155),r=a(81950),n=a(43885),i=a(45914),o=a(93836),l=a(3998);let d={PAGE:"p\xe1ginas",SECTION:"se\xe7\xf5es",COMPONENT:"componentes"};function c(e){let{comercialContact:t,suporteContact:a,quotaContext:c,lockedFeature:u,upsellReason:m}=e,x=!!(t||a),p=(null==t?void 0:t.value)||(null==a?void 0:a.value)||"mailto:[email protected]?subject=Quero%20fazer%20upgrade%20do%20meu%20plano",h=p.startsWith("mailto:");return(0,s.jsxs)("div",{className:"rounded-2xl overflow-hidden bg-gray-950 shadow-lg",children:[(0,s.jsxs)("div",{className:"px-6 sm:px-8 pt-8 pb-6 text-center",children:[(0,s.jsx)("div",{className:"inline-flex items-center justify-center w-14 h-14 rounded-2xl bg-lime/15 mb-4",children:(0,s.jsx)(r.A,{className:"w-7 h-7 text-lime"})}),function(e,t,a){if(e){let t=d[e.resourceType]||"recursos";return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("h3",{className:"text-2xl sm:text-3xl font-bold text-white mb-2",children:["Limite ",(0,s.jsx)("span",{className:"text-lime",children:"atingido!"})]}),(0,s.jsxs)("p",{className:"text-sm text-white/70 mb-3",children:["Voc\xea usou ",e.used,"/",e.limit," c\xf3pias de"," ",t," dispon\xedveis no plano gratuito."]}),(0,s.jsx)("p",{className:"text-sm sm:text-base text-white/80 max-w-md mx-auto",children:"Fa\xe7a upgrade para o plano Pro e tenha c\xf3pias ilimitadas de p\xe1ginas, se\xe7\xf5es e componentes."})]})}return(null==t?void 0:t.kind)==="community_link"?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("h3",{className:"text-2xl sm:text-3xl font-bold text-white mb-2",children:["Recurso ",(0,s.jsx)("span",{className:"text-lime",children:"bloqueado!"})]}),(0,s.jsxs)("p",{className:"text-sm sm:text-base text-white/80 max-w-md mx-auto",children:["O acesso a ",(0,s.jsx)("strong",{className:"text-white",children:t.resourceName})," ","requer um plano superior. Entre em contato com nosso comercial para fazer o upgrade do seu plano e desbloquear as comunidades do Easy Builder."]})]}):(null==t?void 0:t.kind)==="my_resources"?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("h3",{className:"text-2xl sm:text-3xl font-bold text-white mb-2",children:["Recurso ",(0,s.jsx)("span",{className:"text-lime",children:"exclusivo!"})]}),(0,s.jsxs)("p",{className:"text-sm sm:text-base text-white/80 max-w-md mx-auto",children:["A \xe1rea ",(0,s.jsx)("strong",{className:"text-white",children:"Meus Recursos"})," — onde voc\xea salva, organiza em pastas e compartilha seus templates — n\xe3o est\xe1 inclu\xedda no seu plano atual. Fa\xe7a upgrade para desbloquear."]})]}):(null==t?void 0:t.kind)==="page_builder"?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("h3",{className:"text-2xl sm:text-3xl font-bold text-white mb-2",children:["Recurso ",(0,s.jsx)("span",{className:"text-lime",children:"exclusivo!"})]}),(0,s.jsxs)("p",{className:"text-sm sm:text-base text-white/80 max-w-md mx-auto",children:["O ",(0,s.jsx)("strong",{className:"text-white",children:"Page Builder"})," — onde voc\xea acumula p\xe1ginas e se\xe7\xf5es para copiar de uma vez no Elementor — n\xe3o est\xe1 inclu\xeddo no seu plano atual. Fa\xe7a upgrade para desbloquear."]})]}):(null==t?void 0:t.kind)==="resource_sharing"?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("h3",{className:"text-2xl sm:text-3xl font-bold text-white mb-2",children:["Recurso ",(0,s.jsx)("span",{className:"text-lime",children:"bloqueado!"})]}),(0,s.jsx)("p",{className:"text-sm sm:text-base text-white/80 max-w-md mx-auto",children:"O compartilhamento de pastas com outros usu\xe1rios requer um plano superior. Entre em contato com nosso comercial para fazer o upgrade e ativar a colabora\xe7\xe3o."})]}):"paid_with_limits"===a?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("h3",{className:"text-2xl sm:text-3xl font-bold text-white mb-2",children:["Quer ",(0,s.jsx)("span",{className:"text-lime",children:"mais espa\xe7o"})," pra criar?"]}),(0,s.jsx)("p",{className:"text-sm sm:text-base text-white/80 max-w-md mx-auto",children:"Fa\xe7a upgrade para o Pro e tenha c\xf3pias ilimitadas de p\xe1ginas, se\xe7\xf5es e componentes — sem precisar pensar em limite."})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("h3",{className:"text-2xl sm:text-3xl font-bold text-white mb-2",children:["Seja ",(0,s.jsx)("span",{className:"text-lime",children:"Pro!"})]}),(0,s.jsx)("p",{className:"text-sm sm:text-base text-white/80 max-w-md mx-auto",children:"Tenha acesso ilimitado a todos os templates, se\xe7\xf5es, componentes e ferramentas exclusivas."})]})}(c,u,m),(0,s.jsx)("a",{href:p,target:h?void 0:"_blank",rel:h?void 0:"noopener noreferrer",className:"inline-block mt-5",children:(0,s.jsxs)(l.Button,{className:"gap-2 bg-lime hover:bg-lime-hover text-brand-950 font-semibold px-8 h-11 text-sm",children:[(0,s.jsx)(n.A,{className:"w-4 h-4"}),"Quero ser Pro"]})})]}),x&&(0,s.jsxs)("div",{className:"border-t border-white/10 px-6 sm:px-8 py-4 flex flex-col sm:flex-row items-center gap-3 sm:gap-4",children:[(0,s.jsx)("span",{className:"text-xs text-white/70 sm:mr-auto",children:"Ficou com alguma d\xfavida?"}),(0,s.jsxs)("div",{className:"flex gap-3",children:[a&&(0,s.jsx)("a",{href:a.value,target:"_blank",rel:"noopener noreferrer",children:(0,s.jsxs)(l.Button,{variant:"ghost",size:"sm",className:"gap-2 text-white/70 hover:text-white hover:bg-white/10 text-xs",children:[(0,s.jsx)(i.A,{className:"w-3.5 h-3.5"}),"Falar com o Suporte"]})}),t&&(0,s.jsx)("a",{href:t.value,target:"_blank",rel:"noopener noreferrer",children:(0,s.jsxs)(l.Button,{variant:"ghost",size:"sm",className:"gap-2 text-white/70 hover:text-white hover:bg-white/10 text-xs",children:[(0,s.jsx)(o.A,{className:"w-3.5 h-3.5"}),"Falar com o Comercial"]})})]})]})]})}},49454:(e,t,a)=>{a.r(t),a.d(t,{UpgradeDialog:()=>l});var s=a(95155),r=a(12115),n=a(51834),i=a(25116),o=a(53273);function l(e){let{open:t,onOpenChange:a,quotaContext:l,lockedFeature:d}=e,[c,u]=(0,r.useState)([]);(0,r.useEffect)(()=>
1{if(!t)return;let e=!1;return(0,o._)().then(t=>{e||u(t)}),()=>{e=!0}},[t]);let m=c.find(e=>"Comercial"===e.department),x=c.find(e=>"Suporte"===e.department);return(0,s.jsx)(n.lG,{open:t,onOpenChange:a,children:(0,s.jsx)(n.Cf,{className:"bg-transparent border-none shadow-none ring-0 p-0 sm:max-w-xl",showCloseButton:!1,children:(0,s.jsx)(i.UpgradeCTA,{comercialContact:m,suporteContact:x,quotaContext:l,lockedFeature:d})})})}},51834:(e,t,a)=>{a.d(t,{Cf:()=>j,Es:()=>N,HM:()=>b,L3:()=>y,c7:()=>w,lG:()=>h,rr:()=>k,zM:()=>g});var s=a(95155);a(12115);var r=a(90684),n=a(6422),i=a(38336),o=a(35966),l=a(27588),d=a(45669),c=a(72482),u=a(99170),m=a(64269),x=a(3998),p=a(34788);function h(e){let{...t}=e;return(0,s.jsx)(r.D,{"data-slot":"dialog",...t})}function g(e){let{...t}=e;return(0,s.jsx)(n.z,{"data-slot":"dialog-trigger",...t})}function f(e){let{...t}=e;return(0,s.jsx)(i.Z,{"data-slot":"dialog-portal",...t})}function b(e){let{...t}=e;return(0,s.jsx)(o.H,{"data-slot":"dialog-close",...t})}function v(e){let{className:t,...a}=e;return(0,s.jsx)(l.X,{"data-slot":"dialog-overlay",className:(0,m.cn)("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",t),...a})}function j(e){let{className:t,children:a,showCloseButton:r=!0,...n}=e;return(0,s.jsxs)(f,{children:[(0,s.jsx)(v,{}),(0,s.jsxs)(d.h,{"data-slot":"dialog-content",className:(0,m.cn)("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",t),...n,children:[a,r&&(0,s.jsxs)(o.H,{"data-slot":"dialog-close",render:(0,s.jsx)(x.Button,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm"}),children:[(0,s.jsx)(p.A,{}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function w(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"dialog-header",className:(0,m.cn)("flex flex-col gap-2",t),...a})}function N(e){let{className:t,showCloseButton:a=!1,children:r,...n}=e;return(0,s.jsxs)("div",{"data-slot":"dialog-footer",className:(0,m.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",t),...n,children:[r,a&&(0,s.jsx)(o.H,{render:(0,s.jsx)(x.Button,{variant:"outline"}),children:"Close"})]})}function y(e){let{className:t,...a}=e;return(0,s.jsx)(c.L,{"data-slot":"dialog-title",className:(0,m.cn)("font-heading text-base leading-none font-medium",t),...a})}function k(e){let{className:t,...a}=e;return(0,s.jsx)(u.r,{"data-slot":"dialog-description",className:(0,m.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",t),...a})}},53273:(e,t,a)=>{a.d(t,{_:()=>n});let s="eb:contacts:v1",r=null;function n(){let e=function(){try{let e=window.localStorage.getItem(s);if(!e)return null;let t=JSON.parse(e);if(!t||!Array.isArray(t.contacts)||"number"!=typeof t.savedAt||Date.now()-t.savedAt>864e5)return null;return t.contacts}catch(e){return null}}();return e?Promise.resolve(e):r||(r=fetch("/api/contacts").then(e=>e.ok?e.json():[]).then(e=>{let t=Array.isArray(e)?e:[];return t.length>0&&function(e){try{let t={contacts:e,savedAt:Date.now()};window.localStorage.setItem(s,JSON.stringify(t))}catch(e){}}(t),t}).catch(()=>[]).finally(()=>{r=null}))}},58203:(e,t,a)=>{a.d(t,{OZ:()=>u,_S:()=>r,nD:()=>c,sE:()=>m,xj:()=>l});let s=new Set(["freemium","freemium-easy-builder","free"]);function r(e){return!e||s.has(e)}let n=new Set(["pro","web","essencial","builder"]),i=["web","pro","essencial","builder"];function o(e){if(!e)return null;if(s.has(e))return e;for(let t of i)if(e===t||e.startsWith("".concat(t,"-")))return t;return e}function l(e,t){if(!t||!Array.isArray(e)||0===e.length)return!1;let a=o(t);return e.some(e=>o(e)===a)}let d=new Set(["lifetime","parceiro_eb"]);function c(e){return!(!e||s.has(e))&&(!!(d.has(e)||n.has(e))||i.some(t=>e.startsWith("".concat(t,"-"))))}function u(e){return!e||s.has(e)||n.has(e)?{label:"Free",icon:null}:"lifetime"===e?{label:"Lifetime",icon:"crown"}:"parceiro_eb"===e?{label:"Parceiro EB",icon:"heart-handshake"}:e.startsWith("web-")?{label:"Web",icon:"chevrons-up"}:e.startsWith("pro-")?{label:"Pro",icon:"crown"}:e.startsWith("essencial-")?{label:"Essencial",icon:"leaf"}:e.startsWith("builder-")?{label:"Builder",icon:"play"}:{label:"Free",icon:null}}function m(e){var t,a;let r=null!=(t=e.planSlug)?t:null,n=null!=(a=e.planConfig)?a:null;return{slug:r,name:n&&"string"==typeof n.name&&n.name.trim().length>0?n.name:"Free",active:!!(null==n?void 0:n.active),isFree:!r||s.has(r)}}},64269:(e,t,a)=>{a.d(t,{cn:()=>n});var s=a(2821),r=a(75889);function n(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.QP)((0,s.$)(t))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.