PageSourceSearch

https://di-volio.com/pl/_nuxt/BbNUvtWk.js

js di-volio.com collected 2026-10-05 05:31:41 UTC 3,737 bytes, 1 lines download raw bytes

1import{u as V,c as v,d as _,t as d,g as e,h as s,w as h,G as F,o as y,f as T,r as i,_ as B,e as O,O as P,Q as S,a2 as q,X as R,W as k}from"./CjXW0tVs.js";import{_ as $}from"./JLJNVxuV.js";import E from"./CtiQUI44.js";const I={class:"min-h-[90vh]"},J={class:"container my-6 text-xl border-b border-neutral-300 pb-6"},K={class:"container pb-6"},L={class:"w-[95vw] md:max-w-[624px] mx-auto my-auto"},A={__name:"index",setup(M){const{t}=V(),g=i(null),m=i(!1),o=i(null),b=i(!1),n=i([]),f=i(null),p=l=>{l.target.closest(".formkit-outer").dataset.invalid?n.value=n.value.filter(a=>a!==l.target.name):n.value.includes(l.target.name)||(n.value=[...n.value,l.target.name])},w=async()=>{const l=JSON.stringify(g?.value?.node?.value);if(o.value!==""){b.value=!1;const{data:a}=await q("/_turnstile/validate",{method:"POST",body:{token:o.value}},"$QgHkUg9q3n");if(a.value?.success){const{data:r,error:u}=await R("/report_error",{method:"POST",body:l});u.value?Object.keys(u.value.data).forEach(c=>{k("error",[{text:c+" - "+u.value.data[c][0]}])}):k("success",[{text:t("global.Bug_reported")}])}}},C=()=>{o.value="waiting",b.value=!1,f.value.reset()};return(l,a)=>{const r=F("FormKit"),u=B,c=$,N=E;return y(),v("div",I,[_("h1",J,d(e(t)("global.Report_bug_on_site")),1),_("p",K,d(e(t)("global.Report_page_description")),1),_("div",L,[s(r,{type:"form","outher-class":"my-auto",ref_key:"issueForm",ref:g,"submit-attrs":{inputClass:"hidden"},config:{classes:{message:"text-red-500 text-xs mt-2"}}
1},{default:h(()=>[s(r,{type:"textarea","input-class":"block w-full rounded-md border-neutral-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm mt-1","label-class":"block text-sm font-medium text-neutral-700 mt-2",label:e(t)("global.Issue_description")+"*",name:"description",validation:"required",onChange:p},null,8,["label"]),s(r,{type:"text","input-class":"block w-full rounded-md border-neutral-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm mt-1","label-class":"block text-sm font-medium text-neutral-700 mt-2",validation:"required",label:e(t)("global.Link_to_issue")+"*",name:"url",onChange:p},null,8,["label"]),s(r,{type:"email","input-class":"block w-full rounded-md border-neutral-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm mt-1","label-class":"block text-sm font-medium text-neutral-700 mt-2",label:e(t)("global.Email_to_correspondence")+"*",validation:"required|*email",onChange:p,name:"email"},null,8,["label"]),s(r,{type:"checkbox","input-class":"block rounded border-neutral-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm mt-1","label-class":"block text-sm font-medium text-neutral-700 mt-2","wrapper-class":"flex items-center gap-2 mt-2",onChange:a[0]||(a[0]=x=>m.value=!e(m)),label:e(t)("global.Policy_privacy_accept")+"*",validation:"required|min:1",config:{classes:{message:"text-red-500 text-xs mt-2"}}
1,"validation-messages":{min:e(t)("global.Policy_privacy_accept_please")},autocomplete:"off"},null,8,["label","validation-messages"]),s(u,{to:e(t)("url.privacy_policy"),target:"_blank",class:"text-sm text-red-400 hover:text-red-500"},{default:h(()=>[O(d(e(t)("global.View_privacy_policy")),1)]),_:1},8,["to"]),s(c,{class:"my-4 mx-auto w-min",ref_key:"trustline",ref:f,modelValue:e(o),"onUpdate:modelValue":a[1]||(a[1]=x=>P(o)?o.value=x:null),options:{theme:"light"}},null,8,["modelValue"]),e(b)?(y(),v("button",{key:0,class:"bg-neutral-100 px-4 py-2 mx-auto block mb-4 rounded hover:bg-neutral-200",onClick:C},d(e(t)("global.Try_again")),1)):T("",!0),s(N,{onClick:S(w,["prevent"]),content:e(t)("global.Report_bug"),extStyles:"mt-4",disabled:!e(m)||e(n).length!==3||!e(o)},null,8,["content","disabled"])]),_:1},512)])])}}};export{A 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.