1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="8188f39b-c7c0-45af-9603-25e635d092f0",e._sentryDebugIdIdentifier="sentry-dbid-8188f39b-c7c0-45af-9603-25e635d092f0")}catch(e){}}();import"./_sentry-release-injection-file-SYOkQ1Km.js";import{a as e}from"./rolldown-runtime-BBzOAo5_.js";import{t as s}from"./react-DuV36FPs.js";import{t as a}from"./prop-types-Ccm1EFGL.js";import{K as t,at as r}from"./index-CRc22cjs.js";import{t as o}from"./commonValidators-Bv9l42OX.js";import{t as i}from"./FormField-DM_MQnEG.js";import{t as m}from"./Submit-CHUFd811.js";import{t as l}from"./SuccessMessage-D1FypT3L.js";import{t as n}from"./BasicFinalForm-BXHiGXP7.js";import{t as d}from"./FormError-DCBM5X0M.js";s();var u=e(a()),c=r(),f=t(),g=({canSubmit:e})=>e?(0,f.jsxs)(n,{endpoint:"/catalogues/create",children:[(0,f.jsx)(d,{}),(0,f.jsx)(i,{name:"cat_title",label:(0,f.jsx)(c.T,{message:"Catalogue title:"}),autocomplete:!1,maxLength:40,required:!0,notes:(0,f.jsx)(c.T,{message:"Enter a title for your catalogue (maximum 40 characters)"})}),(0,f.jsx)(i,{name:"cat_descr",label:(0,f.jsx)(c.T,{message:"Description:"}),rows:2,type:"textarea",maxLength:80,required:!0,notes:(0,f.jsx)(c.T,{message:"Provide a description of the subjects included. A maximum of 80 characters is allowed. (Upper and lower case, please.)"})}),(0,f.jsx)(i,{name:"dealer_name",label:(0,f.jsx)(c.T,{message:"Bookseller:"}),maxLength:40,required:!0,notes:(0,f.jsx)(c.T,{message:"Maximum 40 characters"})}),(0,f.jsx)(i,{name:"cat_url",label:(0,f.jsx)(c.T,{message:"Catalogue PDF URL:"}),required:!0,validate:[o.url()],notes:(0,f.jsx)(c.T,{message:"Please give the complete URL address for the PDF file containing your catalogue."})}),(0,f.jsx)(i,{name:"cat_items",label:(0,f.jsx)(c.T,{message:"Number of items:"}),min:0,max:2e3,required:!0,validate:[o.catalogueItemsLength],notes:(0,f.jsx)(c.T,{message:"Enter the total number of items listed in the catalogue."})}),(0,f.jsx)(i,{name:"web_url",label:(0,f.jsx)(c.T,{message:"Website URL:"}),required:!0,validate:[o.url(120)],notes:(0,f.jsx)(c.T,{message:"Please also enter a URL address for the home page of your website."})}),(0,f.jsx)(m,{label:(0,f.jsx)(c.T,{message:"Submit"})}),(0,f.jsx)(l,{children:(0,f.jsx)(c.T,{message:"Thank you for your catalogue submission. The information you provided will appear on the viaLibri home page as soon as we have had a chance to review it. If you discover any errors after it appears please let us know by email and we will correct them as quickly as possible."})})]}):(0,f.jsx)("div",{className:"form-message form-message--error",children:(0,f.jsx)(c.T,{message:"Sorry, you must wait a minimum of two weeks between each catalogue listing."})});g.propTypes={canSubmit:u.default.bool};export{g as default}; 2//# sourceMappingURL=CreateCatalogueForm-BKHKWGGq.js.map
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.