1import{u as C,_ as y}from"./qOH4ZtKl.js";import{d as D,cg as b,s as d,a_ as P,b as V,a as k,aH as v,c as B,z as q,x as H,Z as $,g as N,j as T,i as _,k as e,t as j,B as A,p as I,ae as M,n as R,h as f,L as z}from"./CTwjLVo9.js";import{_ as K}from"./2W-_wj3d.js";import{u as L}from"./BinXVSQ2.js";import"./BLjCje-F.js";import"./DG4mbCNi.js";import"./C0uakEXe.js";import"./BzlAXRn5.js";import"./Bjy1_8mI.js";import"./BLXxdsiG.js";import"./DyJ9bgkC.js";import"./B_dCBO1A.js";import"./hBKOvaze.js";import"./BbON9zhe.js";import"./DMsxsjxB.js";import"./D8B-1ICt.js";import"./w1MSXho_.js";import"./BXWXHAo2.js";import"./Doz9SQD6.js";import"./CRMOhQ4l.js";import"./BizVsW3B.js";import"./DgJsqxrV.js";import"./BWxOVg1T.js";import"./B4T6mMwU.js";import"./Cu3muj1h.js";import"./Bzhfe_B_.js";import"./Msxk8-9u.js";import"./DEkXRZ63.js";import"./DzjCX4Hv.js";import"./BceJSyN2.js";import"./Ct3LZDQM.js";import"./B3PAvqFw.js";import"./SMfikpvB.js";const Z={class:"view-wrapper--narrow-lg"},G={class:"text-body-l mb-4"},J={class:"bg-white rounded-xl"},O=D({__name:"call-for-papers",async setup(Q){let r,n;M(t=>({"21a308eb":e(w)}));const l=b(),{draftEvent:p}=d(l),{singleEvent:c}=d(P()),{t:a}=V(),m=k();c.value.id?([r,n]=v(()=>l.getEventDraft(c.value.id,!1)),await r,n()):([r,n]=v(()=>R("/events/"+m.params.slug+"/admin",{replace:!0})),await r,n()),B({title:()=>a("events.adminMenu.callForPapers")+" - "+c.value.name});const{initialEventData:g,isConference:u,reloadFormKey:h,reloadForm:F,storeValues:E,saveEventData:S}=C(),s=q(),x=()=>{var t;(t=s.value)==null||t.submitStep()},w=H(()=>{var i;const t=(i=s.value)==null?void 0:i.$el.querySelector(".ql-editor"),{top:o}=L(t);return`calc(100vh - ${o.value}px - 48px)`});return $(()=>!!m.query.validate&&!!s.value,t=>{var o;t&&((o=s.value)==null||o.validateForm())}),(t,o)=>{const i=y;return f(),N("div",Z,[T(i,{header:e(a)("events.adminMenu.callForPapers"),class:"!mb-2",onSaveChanges:x,onDiscardChanges:e(F)},null,8,["header","onDiscardChanges"]),_("p",G,j(e(a)("events.callForPapers.callForPapersText",{subject:e(u)?e(a)("events.conference"):e(a)("events.event")})),1),_("div",J,[e(p).id?(f(),A(K,{key:e(h),ref_key:"callForPapersForm",ref:s,class:"event-settings-description","initial-event-data":e(g),"is-conference":e(u),"event-status":e(p).eventStatus,"external-form":"",onStepForward:e(S),onStoreValues:e(E)},null,8,["initial-event-data","is-conference","event-status","onStepForward","onStoreValues"])):I("",!0)])])}}}),Ve=z(O,[["__scopeId","data-v-4a9e8c57"]]);export{Ve 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.