PageSourceSearch

https://atendimento-pagamentos.vindi.com.br/_nuxt/DlM9GgiV.js

js vindi.com.br collected 2026-10-09 22:39:40 UTC 2,996 bytes, 1 lines download raw bytes

1import{bb as R,b2 as V,bs as $,bl as H,bt as M,bu as O,bz as U,cc as j,bk as _,b8 as m,b3 as c,bc as e,b4 as g,bo as z,b7 as b,b6 as P,bi as W,bn as G,b9 as v,ba as J,bp as K,bj as t}from"./DVKR6D2q.js";import{u as Q,T as X,_ as Y}from"./ByVGcN7H.js";import{_ as Z}from"./CLpEsBmQ.js";import"./DQJeOOzA.js";import"./KVW1jhOy.js";import"./BQ77zyE_.js";import"./2RVJxNfa.js";import"./BfH2CooI.js";import"./DnRWIRB3.js";import"./8YS-q7nV.js";import"./C-DV0Fpb.js";import"./SKL_hXGU.js";import"./CL-nRrYq.js";import"./Q6_apbK7.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new o.Error().stack;s&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[s]="57875a8b-7c8c-4f07-ab02-808a6ad3adbe",o._sentryDebugIdIdentifier="sentry-dbid-57875a8b-7c8c-4f07-ab02-808a6ad3adbe")}catch{}})();const ee={key:0,class:"text-xs text-red-500"},pe=R({__name:"new-ticket",async setup(o){let s,l;V({title:"Nova solicitação"});const f=$(),y=H(),{isLogged:u,userLogged:d}=M(),{helpcenterConfig:r,loadConfig:k,canCreateTicketsWithoutLogin:x}=O(),{ticketFormRef:h,submitting:p,submitForm:C}=Q();try{[s,l]=U(()=>k()),await s,l()}catch(a){console.warn("[new-ticket] Failed to load helpcenter config",a)}!x.value&&!u.value&&j("/login");const i=K(""),w=t(()=>r.value?.formId||""),F=t(()=>d.value?.id),T=t(()=>d.value?.name),q=t(()=>d.value?.email),I=t(()=>r.value?.includeCCAndCCO),N=t(()=>r.value?.isSmartForm),S=t(()=>!!r.value?.formId);async function A(){i.value="";try{const a=await C();if(!a)return;y.add({title:`Solicitação #${a} criada com sucesso`,color:"success"}),u.value?f.push(`/helpcenter/ticket/${a}`):f.push("/login")}catch{i.value="Erro ao criar solicitação. Tente novamente."}}return(a,n)=>{const D=G,E=Y,B=J,L=Z;return c(),_(L,{title:"Nova solicitação",subtitle:"Preencha os campos abaixo para enviar sua solicitação.","hide-background":""},{default:m(()=>[e(S)?(c(),g("form",{key:0,class:"flex flex-col gap-5",onSubmit:z(A,["prevent"])},[b(X,{ref_key:"ticketFormRef",ref:h,"form-id":e(w),"is-logged":e(u),"requester-id":e(F),"requester-name":e(T),"requester-mail":e(q),"include-cc-and-cco":e(I),"is-smart-form":e(N)},null,8,["form-id","is-logged","requester-id","requester-name","requester-mail","include-cc-and-cco","is-smart-form"]),e(i)?(c(),g("p",ee,P(e(i)),1)):W("",!0),b(D,{type:"submit",block:"",loading:e(p),disabled:e(p),ui:{base:"rounded-xl py-3.5"}},{default:m(()=>[...n[0]||(n[0]=[v(" Enviar solicitação ",-1)])]),_:1},8,["loading","disabled"])],32)):(c(),_(E,{key:1,title:"Formulário indisponível",description:"Este help center não possui um formulário configurado para abertura de solicitações.",color:"warning",variant:"soft",icon:"i-mdi-alert-circle-outline",class:"rounded-xl"})),b(B,{to:"/login",class:"text-xs font-bold text-blue-500 hover:text-blue-600 md:text-left"},{default:m(()=>[...n[1]||(n[1]=[v(" Voltar para o login ",-1)])]),_:1})]),_:1})}}});
1export{pe as default};

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.