PageSourceSearch

https://wepc.io/_nuxt/DS674NR0.js

js wepc.io collected 2026-10-08 09:45:03 UTC 11,387 bytes, 1 lines download raw bytes

1import{j as I,C as M,D as c,$ as P,a0 as T,G as v,X as G,E as L,l as F,c as u,o as d,m as g,a as t,b as k,n as U,t as b,J as $,K as o,L as s,F as y,x as w,d as a,a1 as _,a2 as m,w as Y,a3 as z,a4 as E,N as H,p as O,_ as W}from"./4eUF_KIF.js";import{u as h}from"./Ci-3CYKV.js";import{B as X}from"./Domrb9R_.js";const J={key:0,class:"post"},K={class:"post__container"},Q={class:"article-header"},Z=["innerHTML"],ee={class:"form"},te={class:"form__container"},le={class:"field"},ne={class:"field"},oe={class:"field"},se={class:"field"},ae={class:"field"},ie={class:"field"},ue={class:"field"},de={class:"mb-2"},re=["value"],pe={class:"flex mb-2"},me={class:"flex-shrink-1 flex gap-1 align-items-center mr-3"},fe=["checked"],_e={class:"field"},ve={class:"field"},ge={class:"mb-2"},be=["value"],ye={class:"field"},xe={class:"mb-2"},Ve=["value"],ke={class:"flex mb-2"},Ue={class:"flex-shrink-1 flex gap-1 align-items-center mr-3"},we=["checked"],Ce={class:"field"},qe={class:"field"},ce={class:"field"},Pe={class:"field"},Re={class:"mb-2"},Ne={key:0,class:"field"},Se={class:"field"},je={class:"field"},Ae={class:"mb-2"},Be={key:1,class:"field"},De={class:"field"},Ie={class:"mb-2"},Me={class:"mb-2"},Te={key:2,class:"field"},Ge={class:"field"},Le={class:"field"},Fe={class:"field"},$e={class:"field"},Ye={class:"field"},ze=I({__name:"funding",setup(Ee){const x=M("recaptcha"),C={type:"funding",name:"",contact_person:"",email:"",phone:"",country:"",game_title:"",game_genre:[],other_genre:"",description:"",project_stage:[],development_platform:[],other_platform:"",target_audience:"",request_grant_amount:0,planned_fund_use:"",support_needing:!1,support_details:"",developers_quantity:0,has_experience:!1,experience_details:"",has_prototypes:!1,prototype_link:"",fund_reason:"",marketing_plan:"",additional_info:"",captcha_answer:"",form_is_true:!1,doc_agree:!1},l=c({...C}),p=T(255),R=["Action","Adventure","Puzzle","Role-playing game (RPG)","Strategy","Simulator"],N=["Concept","Prototype","Development","Final stage"],S=["PC","Consoles","Mobile devices","VR/AR"],j=c({name:{required:v,max255:p},contact_person:{max255:p},email:{required:v,max255:p,email:G},phone:{max255:p},country:{required:v,max255:p},game_title:{required:v,max255:p},support_details:{requiredIfSupportNeed:P(()=>l.support_needing)},experience_details:{requiredWithExperience:P(()=>l.has_experience)},form_is_true:{shouldTrue:i=>i},doc_agree:{shouldTrue:i=>i}}),A=L(j,l),B=async i=>{var e;i.preventDefault(),await A.value.$validate()&&((e=x.value)==null||e.executeRecaptcha())},{wrapAsyncCall:q}=F(),D=i=>{l.captcha_answer=i,q(async()=>{var r;const e={...l};e.other_genre&&e.game_genre.push(e.other_genre),delete e.other_genre,e.game_genre=e.game_genre.map(n=>n+""),e.other_platform&&e.development_platform.push(e.other_platform),delete e.other_platform,e.development_platform=e.development_platform.map(n=>n+""),delete e.form_is_true,delete e.doc_agree,await H("developer-requests",e),Object.assign(l,C),(r=x.value)==null||r.resetRecaptcha()},e=>{var r;return(r=x.value)==null||r.resetRecaptcha(),!1},"Request submitted")},{data:V}=h(async()=>{const i=await q(()=>O("posts/funding"));return i==null?void 0:i.post},"$XC3MSb3Nbe");return(i,e)=>{const r=E;return d(),u(y,null,[U(V)?(d(),u("div",J,[t("div",K,[k(X,{to:{name:"news"},title:"Back to news"}),t("h1",Q,b(U(V).title),1),t("div",{class:"post__content",innerHTML:U(V).c
1ontent},null,8,Z)])])):g("",!0),t("div",ee,[t("div",te,[t("form",{class:"shadow-1 p-4 bg-white mb-5",onSubmit:$(B,["prevent"])},[e[63]||(e[63]=t("h2",null,"Applicant information",-1)),t("div",le,[e[30]||(e[30]=t("label",null,"Full name or studio name",-1)),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[0]||(e[0]=n=>l.name=n)},null,512),[[s,l.name]])]),t("div",ne,[e[31]||(e[31]=t("label",null,"Contact person (if applying as a studio)",-1)),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[1]||(e[1]=n=>l.contact_person=n)},null,512),[[s,l.contact_person]])]),t("div",oe,[e[32]||(e[32]=t("label",null,"E-mail",-1)),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[2]||(e[2]=n=>l.email=n),type:"email"},null,512),[[s,l.email]])]),t("div",se,[e[33]||(e[33]=t("label",null,"Phone number",-1)),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[3]||(e[3]=n=>l.phone=n)},null,512),[[s,l.phone]])]),t("div",ae,[e[34]||(e[34]=t("label",null,"Country of residence",-1)),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[4]||(e[4]=n=>l.country=n)},null,512),[[s,l.country]])]),e[64]||(e[64]=t("h2",null,"Project information",-1)),t("div",ie,[e[35]||(e[35]=t("label",null,"Game title",-1)),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[5]||(e[5]=n=>l.game_title=n)},null,512),[[s,l.game_title]])]),t("div",ue,[e[37]||(e[37]=t("label",null,"Game genre",-1)),(d(),u(y,null,w(R,n=>t("div",de,[t("label",null,[o(t("input",{type:"checkbox",name:"gameGenre",value:n,"onUpdate:modelValue":e[6]||(e[6]=f=>l.game_genre=f)},null,8,re),[[_,l.game_genre]]),a(" "+b(n),1)])])),64)),t("div",pe,[t("label",me,[t("input",{type:"checkbox",disabled:"",checked:l.other_genre.length>0},null,8,fe),e[36]||(e[36]=a(" Other "))]),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[7]||(e[7]=n=>l.other_genre=n)},null,512),[[s,l.other_genre]])])]),t("div",_e,[e[38]||(e[38]=t("label",null,"Brief description of the game (up to 300 words)",-1)),o(t("textarea",{class:"custom-input-text","onUpdate:modelValue":e[8]||(e[8]=n=>l.description=n),rows:"5"},null,512),[[s,l.description]])]),t("div",ve,[e[39]||(e[39]=t("label",null,"What stage is the project currently at?",-1)),(d(),u(y,null,w(N,n=>t("div",ge,[t("label",null,[o(t("input",{type:"checkbox",name:"gameStage",value:n,"onUpdate:modelValue":e[9]||(e[9]=f=>l.project_stage=f)},null,8,be),[[_,l.project_stage]]),a(" "+b(n),1)])])),64))]),t("div",ye,[e[41]||(e[41]=t("label",null,"Primary development platform",-1)),(d(),u(y,null,w(S,n=>t("div",xe,[t("label",null,[o(t("input",{type:"checkbox",name:"gamePlatform",value:n,"onUpdate:modelValue":e[10]||(e[10]=f=>l.development_platform=f)},null,8,Ve),[[_,l.development_platform]]),a(" "+b(n),1)])])),64)),t("div",ke,[t("label",Ue,[t("input",{type:"checkbox",readonly:"",checked:l.other_platform.length>0},null,8,we),e[40]||(e[40]=a(" Other "))]),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[11]||(e[11]=n=>l.other_platform=n)},null,512),[[s,l.other_platform]])])]),t("div",Ce,[e[42]||(e[42]=t("label",null,"Target audience",-1)),o(t("textarea",{class:"custom-input-text","onUpdate:modelValue":e[12]||(e[12]=n=>l.target_audience=n),rows:"5"},null,512),[[s,l.target_audience]])]),e[65]||(e[65]=t("h2",null,"Financial Information",-1)),t("div",qe,[e[43]||(e[43]=t("label",null,"Requested grant amount ($)",-1)),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[13]||(e[13]=n=>l.request_grant_amount=n),type:"number"},null,512),[[s,l.request_grant_amount]])]),t("div",ce,[e[44]||(e[44]=t("label",null,"Planned use of funds (briefly list expense categories)",-1)),o(t("textarea",{class:"custom-input-text","onUpdate:modelValue":e[14]||(e[14]=n=>l.planned_fund_use=n),rows:"5"},null,512),[[s,l.planned_fund_use]])]),t("div",Pe,[e[47]||(e[47]=t("label",null,"Do you need additional support (marketing, localization, testing, etc.)?",-1)),t("div",Re,[t("label",null,[o(t("input",{type:"radio",name:"supporting","onUpdate:modelValue":e[15]||(e[15]=n=>l.support_needing=n),value:!0},null,512),[[m,l.support_needing]]),e[45]||(e[45]=a(" Yes "))])]),t("div",null,[t("label",null,[o(t("input",{type:"radio",name:"supporting","onUpdate:modelValue":e[16]||(e[16]=n=>l.support_needing=n),value:!1},null,512),[[m,l.support_needing]]),e[46]||(e[46]=a(" No "))])])]),l.support_needing?(d(),u("div",Ne,[e[48]||(e[48]=t("label",null,"If yes, specify",-1)),o(t("textarea",{class:"custom-input-text","onUpdate:modelValue":e[17]||(e[17]=n=>l.support_details=n),rows:"5"},null,512),[[s,l.support_details]])])):g("",!0),e[66]||(e[66]=t("h2",null,"About You or Your Studio",-1)),t("div",Se,[e[49]||(e[49]=t("label",null,"How many people are working on the project?",-1)),o(t("input",{class:"custom-input-text",type:"number","onUpdate:modelValue":e[18]||(e[18]=n=>l.developers_quantity=n)},null,512),[[s,l.developers_quantity]])]),t("div",je,[e[52]||(e[52]=t("label",null,"Do you have experience in game development?",-1)),t("div",Ae,[t("label",null,[o(t("input",{type:"radio",name:"experience","onUpdate:modelValue":e[19]||(e[19]=n=>
1l.has_experience=n),value:!0},null,512),[[m,l.has_experience]]),e[50]||(e[50]=a(" Yes "))])]),t("div",null,[t("label",null,[o(t("input",{type:"radio",name:"experience","onUpdate:modelValue":e[20]||(e[20]=n=>l.has_experience=n),value:!1},null,512),[[m,l.has_experience]]),e[51]||(e[51]=a(" No "))])])]),l.has_experience?(d(),u("div",Be,[e[53]||(e[53]=t("label",null,"If yes, specify",-1)),o(t("textarea",{class:"custom-input-text","onUpdate:modelValue":e[21]||(e[21]=n=>l.experience_details=n),rows:"5"},null,512),[[s,l.experience_details]])])):g("",!0),t("div",De,[e[56]||(e[56]=t("label",null,"Do you have a prototype or demo of the game?",-1)),t("div",Ie,[t("label",null,[o(t("input",{type:"radio",name:"has_prototypes","onUpdate:modelValue":e[22]||(e[22]=n=>l.has_prototypes=n),value:!0},null,512),[[m,l.has_prototypes]]),e[54]||(e[54]=a(" Yes "))])]),t("div",Me,[t("label",null,[o(t("input",{type:"radio",name:"has_prototypes","onUpdate:modelValue":e[23]||(e[23]=n=>l.has_prototypes=n),value:!1},null,512),[[m,l.has_prototypes]]),e[55]||(e[55]=a(" No "))])])]),l.has_prototypes?(d(),u("div",Te,[e[57]||(e[57]=t("label",null,"Prototype link",-1)),o(t("input",{class:"custom-input-text","onUpdate:modelValue":e[24]||(e[24]=n=>l.prototype_link=n)},null,512),[[s,l.prototype_link]])])):g("",!0),e[67]||(e[67]=t("h2",null,"Additional information",-1)),t("div",Ge,[e[58]||(e[58]=t("label",null,"Why does your project deserve a grant? (up to 300 words)",-1)),o(t("textarea",{class:"custom-input-text","onUpdate:modelValue":e[25]||(e[25]=n=>l.fund_reason=n),rows:"5"},null,512),[[s,l.fund_reason]])]),t("div",Le,[e[59]||(e[59]=t("label",null,"How do you plan to attract players to your game?",-1)),o(t("textarea",{class:"custom-input-text","onUpdate:modelValue":e[26]||(e[26]=n=>l.marketing_plan=n),rows:"5"},null,512),[[s,l.marketing_plan]])]),t("div",Fe,[e[60]||(e[60]=t("label",null,"Provide any additional information that may be relevant",-1)),o(t("textarea",{class:"custom-input-text","onUpdate:modelValue":e[27]||(e[27]=n=>l.additional_info=n),rows:"5"},null,512),[[s,l.additional_info]])]),e[68]||(e[68]=t("h2",null,"Confirmation",-1)),t("div",$e,[t("label",null,[o(t("input",{type:"checkbox","onUpdate:modelValue":e[28]||(e[28]=n=>l.form_is_true=n)},null,512),[[_,l.form_is_true]]),e[61]||(e[61]=a(" I confirm that the information provided in this form is accurate and truthful "))])]),t("div",Ye,[t("label",null,[o(t("input",{type:"checkbox","onUpdate:modelValue":e[29]||(e[29]=n=>l.doc_agree=n)},null,512),[[_,l.doc_agree]]),e[62]||(e[62]=a(" I agree to provide additional documents upon request "))])]),e[69]||(e[69]=t("div",{class:"field"},[t("button",{class:"confirm-modal__btn btn btn_green-linear"},"Send")],-1))],32)])]),k(r,null,{default:Y(()=>[k(z,{onLoadCallback:D,ref:"recaptcha"},null,512)]),_:1})],64)}}}),he=W(ze,[["__scopeId","data-v-6f3d98b5"]]);export{he 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.