PageSourceSearch

https://www.brecon-radnor.co.uk/_next/static/chunks/5830.4b25539f2f5a204c.js

js brecon-radnor.co.uk collected 2026-10-02 11:32:21 UTC 19,636 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3303,5830],{23303:(e,t,i)=>{i.r(t),i.d(t,{default:()=>x});var a=i(66352);i(95132);var n=i(71924);let o=(0,n.AH)(["border-radius:20px;background-color:",";border:",";box-shadow:"," inset;-webkit-appearance:none;height:40px;"],({theme:e})=>e.default.color.backgrounds.white,({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>`0 0 0 0 ${e.default.color.text.light}`),r=(0,n.AH)(["height:40px;border-radius:20px;"]),l=(0,n.AH)(["height:40px;border-radius:20px;"]),s=n.Ay.input.withConfig({componentId:"sc-742cd590-0"})(["background-color:",";font-family:",";outline:0;width:100%;font-size:16px;font-style:normal;font-weight:600;line-height:24px;border:",";padding:20px;border-radius:20px;box-sizing:border-box;&:focus{border:",";}&:hover{border:",";}&::placeholder{color:grey;}"," "," ",""],({theme:e})=>e.default.color.backgrounds.white,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>`2px solid ${e.default.color.primary}`,({theme:e})=>`1px solid ${e.default.color.primary}`,({$inputStyles:e})=>"default"===e&&l,({$inputStyles:e})=>"frosted"===e&&o,({$inputStyles:e})=>"form"===e&&r),d=n.Ay.span.withConfig({componentId:"sc-742cd590-1"})(["color:red;font-size:10px;padding-left:1rem;position:absolute;bottom:5px;"]),c=n.Ay.span.withConfig({componentId:"sc-742cd590-2"})(["color:red;font-size:10px;position:absolute;"]),p=n.Ay.div.withConfig({componentId:"sc-742cd590-3"})(["position:relative;white-space:nowrap;"]),h=n.Ay.p.withConfig({componentId:"sc-742cd590-4"})(["font-weight:bold;font-family:",";span{color:",";}"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.primary),u=n.Ay.div.withConfig({componentId:"sc-742cd590-5"})(["display:flex;align-items:flex-start;flex-direction:column;width:100%;span{margin-right:1rem;}"]),g=n.Ay.div.withConfig({componentId:"sc-742cd590-6"})(["width:100%;"]),x=({inputType:e="text",placeholder:t,handleChange:i,value:n,name:o,error:r,inputStyles:l="default",onBlur:x,label:f,required:m,pattern:b,prefix:v,checkbox:y,bottom_error:j,className:w})=>(0,a.jsxs)(a.Fragment,{children:[r&&(0,a.jsx)(p,{children:(0,a.jsx)(d,{children:r})}),(0,a.jsxs)(u,{className:w,children:[(0,a.jsxs)(h,{children:[f,m&&(0,a.jsx)("span",{children:" *"})]}),v&&(0,a.jsx)("span",{children:v}),(0,a.jsx)(s,{$inputStyles:l,type:e,onBlur:x,placeholder:t,onChange:i,autoComplete:"off",value:n,name:o,"data-testid":"input",pattern:b}),y&&(0,a.jsx)(g,{children:y})]}),j&&(0,a.jsx)(p,{children:(0,a.jsx)(c,{children:j})})]})},35830:(e,t,i)=>{i.r(t),i.d(t,{default:()=>z});var a=i(66352),n=i(95132),o=i(47452),r=i(64600),l=i(23303),s=i(37282),d=i(28865),c=i(49843),p=i(64028),h=i(71924);let u=h.Ay.input.withConfig({componentId:"sc-9f433961-0"})(["font-family:inherit;background-color:white;outline:0;width:100%;margin:auto 0;border:0;padding:0 12px;width:100%;box-sizing:border-box;color:grey;box-shadow:"," inset;-webkit-appearance:none;-moz-box-shadow:"," inset;-webkit-box-shadow:"," inset;&:focus{box-shadow:"," inset;}&::placeholder{color:grey;}border-radius:8px;background-color:",";border:0;box-shadow:"," inset;-webkit-appearance:none;height:38px;"],({theme:e})=>`0 0 0 1px ${e.default.color.text.light}`,({theme:e})=>`0 0 0 1px ${e.default.color.text.light}`,({theme:e})=>`0 0 0 1px ${e.default.color.text.light}`,({theme:e})=>`0 0 0 1px ${e.default.color.text.light}`,({theme:e})=>e.default.color.backgrounds.light,({theme:e})=>`0 0 0 0 ${e.default.color.text.light}`),g=h.Ay.p.withConfig({componentId:"sc-9f433961-1"})(["font-weight:bold;span{color:",";}"],({theme:e})=>e.default.color.primary),x=({label:e,value:t,name:i,required:n,handleChange:o})=>{var r=6e4*new Date().getTimezoneOffset();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(g,{children:[e,n&&(0,a.jsx)("span",{children:" *"})]}),(0,a.jsx)(u,{type:"datetime-local",name:i,onChange:o,value:new Date(t-r).toISOString().split(".")[0].substring(0,16),min:new Date().toISOString().split(".")[0].substring(0,16)})]})};var f=i(30849),m=i(14),b=i(41957),v=i(25338),y=i(37763),j=i(74079),w=i(49094),A=i(34039),C=i(5274);let k=h.Ay.p.withConfig({componentId:"sc-5a14e4a8-0"})(["font-weight:bold;span{color:",";}"],({theme:e})=>e.default.color.primary),I=h.Ay.div.withConfig({componentId:"sc-5a14e4a8-1"})(["border:1px solid #f1f1f1;background:#fff;.tiptap-editor{padding:0 14px;min-height:180px;.ProseMirror{min-height:180px;outline:none;}}"]),$=h.Ay.div.withConfig({componentId:"sc-5a14e4a8-2"})(["display:flex;flex-wrap:wrap;gap:4px;padding:6px;border-bottom:1px solid #f1f1f1;"]),S=h.Ay.button.withConfig({componentId:"sc-5a14e4a8-3"})(["border:1px solid #f1f1f1;border-radius:2px;background:#fff;min-width:30px;height:30px;padding:0 8px;cursor:pointer;&:hover{box-shadow:1px 1px 0px #bfbdbd;}",""],({$active:e})=>e&&(0,h.AH)(["box-shadow:1px 1px 0px #bfbdbd inset;background:#f1f1f1;"])),D=h.Ay.span.withConfig({componentId:"sc-5a14e4a8-4"})(["width:1px;margin:0 4px;background:#f1f1f1;"]),F=({label:e,value:t,required:i,onChange:n})=>{let o=(0,w.hG)({extensions:[A.A.configure({heading:{levels:[2,3]},code:!1,codeBlock:!1,horizontalRule:!1}
1),C.A.configure({types:["heading","paragraph"]})],content:t,immediatelyRender:!1,shouldRerenderOnTransaction:!0,editorProps:{attributes:{"aria-label":e,class:"tiptap-editor"}},onUpdate:({editor:e})=>n(e.isEmpty?"":e.getHTML())});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(k,{children:[e,i&&(0,a.jsx)("span",{children:" *"})]}),(0,a.jsxs)(I,{children:[o&&(0,a.jsxs)($,{children:[(0,a.jsx)(S,{type:"button","aria-label":"Bold","aria-pressed":o.isActive("bold"),$active:o.isActive("bold"),onClick:()=>o.chain().focus().toggleBold().run(),children:(0,a.jsx)("strong",{children:"B"})}),(0,a.jsx)(S,{type:"button","aria-label":"Italic","aria-pressed":o.isActive("italic"),$active:o.isActive("italic"),onClick:()=>o.chain().focus().toggleItalic().run(),children:(0,a.jsx)("em",{children:"I"})}),(0,a.jsx)(S,{type:"button","aria-label":"Underline","aria-pressed":o.isActive("underline"),$active:o.isActive("underline"),onClick:()=>o.chain().focus().toggleUnderline().run(),children:(0,a.jsx)("u",{children:"U"})}),(0,a.jsx)(S,{type:"button","aria-label":"Strikethrough","aria-pressed":o.isActive("strike"),$active:o.isActive("strike"),onClick:()=>o.chain().focus().toggleStrike().run(),children:(0,a.jsx)("s",{children:"S"})}),(0,a.jsx)(D,{}),(0,a.jsx)(S,{type:"button","aria-label":"Paragraph","aria-pressed":o.isActive("paragraph"),$active:o.isActive("paragraph"),onClick:()=>o.chain().focus().setParagraph().run(),children:"P"}),(0,a.jsx)(S,{type:"button","aria-label":"Heading 2","aria-pressed":o.isActive("heading",{level:2}),$active:o.isActive("heading",{level:2}),onClick:()=>o.chain().focus().toggleHeading({level:2}).run(),children:"H2"}),(0,a.jsx)(S,{type:"button","aria-label":"Heading 3","aria-pressed":o.isActive("heading",{level:3}),$active:o.isActive("heading",{level:3}),onClick:()=>o.chain().focus().toggleHeading({level:3}).run(),children:"H3"}),(0,a.jsx)(D,{}),(0,a.jsx)(S,{type:"button","aria-label":"Bullet list","aria-pressed":o.isActive("bulletList"),$active:o.isActive("bulletList"),onClick:()=>o.chain().focus().toggleBulletList().run(),children:"•–"}),(0,a.jsx)(S,{type:"button","aria-label":"Ordered list","aria-pressed":o.isActive("orderedList"),$active:o.isActive("orderedList"),onClick:()=>o.chain().focus().toggleOrderedList().run(),children:"1."}),(0,a.jsx)(S,{type:"button","aria-label":"Blockquote","aria-pressed":o.isActive("blockquote"),$active:o.isActive("blockquote"),onClick:()=>o.chain().focus().toggleBlockquote().run(),children:"“"}),(0,a.jsx)(D,{}),(0,a.jsx)(S,{type:"button","aria-label":"Align left","aria-pressed":o.isActive({textAlign:"left"}),$active:o.isActive({textAlign:"left"}),onClick:()=>o.chain().focus().toggleTextAlign("left").run(),children:"⇤"}),(0,a.jsx)(S,{type:"button","aria-label":"Align centre","aria-pressed":o.isActive({textAlign:"center"}),$active:o.isActive({textAlign:"center"}),onClick:()=>o.chain().focus().toggleTextAlign("center").run(),children:"↔"}),(0,a.jsx)(S,{type:"button","aria-label":"Align right","aria-pressed":o.isActive({textAlign:"right"}),$active:o.isActive({textAlign:"right"}),onClick:()=>o.chain().focus().toggleTextAlign("right").run(),children:"⇥"})]}),(0,a.jsx)(w.$Z,{editor:o})]})]})};var B=i(3069),q=i(59085);let L=b.Ik().shape({email:(0,v.E)("Invalid email"),location:b.Yj().required("Required"),name:b.Yj().required("Required"),password_confirm:b.Yj().oneOf([b.KR("password")],"Passwords must match")}),z=({setSuccess:e})=>{let{publication:t}=(0,n.useContext)(q.I),[i,h]=(0,n.useState)(!1),[u,g]=(0,n.useState)([]),[b,v]=(0,n.useState)("#"),[w,A]=(0,n.use
1State)(""),[C,k]=(0,n.useState)(()=>({publication:t,startDate:Date.now(),endDate:Date.now(),updated:!1})),[I]=(0,n.useState)(()=>({publication:t,timestamp:Date.now(),category:"",ageRestriction:!0,description:"",website:"",email:"",phone:"",price:"",name:"",location:"",ageRestrictionVal:"",img:"",freeEvent:!0,terms_agreement:!1,uuid:(0,f.A)()})),$=e=>{k({...C,[e.target.name]:new Date(e.target.value).getTime(),updated:!0})};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.hE,{children:"Submit your event"}),(0,a.jsx)(m.l1,{initialValues:I,onSubmit:async t=>{try{let i=(0,B.hA)();if(!i)throw Error("Not logged in to Piano");let a={headers:{Authorization:`Bearer ${i}`}};if("#"===b)await p.A.post("/api/events",{...t,...C,ttl:Math.floor(C.startDate/1e3),description:w},a),e(!0);else{let i=(0,f.A)(),n=`https://flowservice-prod.s3.eu-west-2.amazonaws.com/${i}`;await p.A.post("/api/events",{...t,...C,img:n,ttl:Math.floor(C.startDate/1e3),description:w},a);let o=await p.A.post("/api/s3",{imageId:i});await p.A.put(o.data.res,b),e(!0)}}catch(e){console.log(e),h(!1)}},validationSchema:L,children:({values:e,handleChange:t,handleBlur:n,isSubmitting:p,errors:h,touched:f})=>(0,a.jsxs)(m.lV,{children:[(0,a.jsx)(r.fz,{children:"If you are hosting a fundraiser, arranging a fun day, planning a concert or event or want to keep people up-to-date with your regular gatherings, then submit your event using the easy form below."}),(0,a.jsxs)("span",{children:[(0,a.jsx)("span",{className:"point",children:"*"})," Indicate a required field"]}),(0,a.jsx)("div",{style:{padding:"0 0 10px 0"},children:(0,a.jsx)(o.A,{options:["Car boot and jumble sales","Clubs / groups / societies","Charity events","Family fun days / events","Film","Markets","On stage (music, theatre, performance)","Sports / fitness / outdoors activities","Students","Other"],onChange:t,name:"category",value:e.category,label:"Type of event",required:!0})}),(0,a.jsxs)(r.oi,{children:[(0,a.jsx)("div",{children:(0,a.jsx)(x,{name:"startDate",handleChange:$,value:C.startDate,label:"Start date",required:!0})}),(0,a.jsx)("div",{children:(0,a.jsx)(x,{name:"endDate",handleChange:$,value:C.endDate,label:"End date",required:!0})})]}),(0,a.jsxs)(r.oi,{children:[(0,a.jsx)("div",{children:(0,a.jsx)(y.A,{placeholder:"Event name",inputStyles:"frosted",label:"Name of event",required:!0,handleChange:t,onBlur:n,name:"name",value:e.name,bottom_error:f.name&&h.name})}),(0,a.jsx)("div",{children:(0,a.jsx)(y.A,{placeholder:"eg. Farnham",inputStyles:"frosted",label:"Location of event",required:!0,handleChange:t,onBlur:n,name:"location",value:e.location,bottom_error:f.location&&h.location})})]}),(0,a.jsx)(s.A,{label:"Upload a flyer or logo for your event",cropData:b,setCropData:v,files:u,setFiles:g}),(0,a.jsxs)(r.ul,{children:[(0,a.jsx)("div",{style:{padding:"0 0 10px 0"},children:(0,a.jsx)(o.A,{options:["18+","15+"],onChange:t,value:e.ageRestrictionVal,name:"ageRestrictionVal",label:"Age restriction",required:!1,checkbox:(0,a.jsx)(c.A,{label:"No age restriction",value:e.ageRestriction,name:"ageRestriction",handleChange:t})})})," ",(0,a.jsx)("div",{style:{padding:"0 0 10px 0"},children:(0,a.jsx)(l.default,{placeholder:"20",inputStyles:"frosted",label:"Price",required:!0,prefix:"\xa3",handleChange:t,onBlur:n,name:"price",checkbox:(0,a.jsx)(c.A,{label:"Free event",handleChange:t,value:e.freeEvent,name:"freeEvent"})})}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{style:{padding:"0 0 10px 0"},children:(0,a.jsx)(y.A,{placeholder:"eg. 07000000",bottom_error:f.phone&&h.phone,label:"Contact phone",required:!1,value:e.phone,handleChange:t,onBlur:n,name:"phone"})}),(0,a.jsx)("div",{style:{padding:"0 0 10px 0"},children:(0,a.jsx)(y.A,{placeholder:"eg. [email protected]",inputStyles:"frosted",label:"Contact email address",required:!1,value:e.email,bottom_error:f.email&&h.email,handleChange:t,onBlur:n,name:"email"})}),(0,a.jsx)("div",{style:{padding:"0 0 10px 0"},children:(0,a.jsx)(y.A,{placeholder:"eg. www.tindlenews.co.uk",inputStyles:"frosted",label:"Website address",required:!1,handleChange:t,onBlur:n,name:"website"})})]}),(0,a.jsx)(F,{value:w,onChange:A,label:"Description of event",required:!0}),(0,a.jsx)(c.A,{label:'By submitting this event I agree to the <a href="/terms" >terms and conditions</a>. ',handleChange:t,value:e.terms_agreement,name:"terms_agreement"}),(0,a.jsx)(r.uC,{children:(0,a.jsx)(d.A,{loading:i,disabled:p||(0,j.I)(h)||!1===C.updated||""===e.name||""===e.location||""===e.category||!1===e.terms_agreement,buttonType:"submit",buttonStyles:"primary",fullwidth:!0,children:(0,a.jsx)("span",{className:"submit_button",children:"Submit your event"})})})]})})]})}},37282:(e,t,i)=>{i.d(t,{A:()=>j});var a=i(66352),n=i(95132),o=i(22527),r=i(71924);let l=r.Ay.div.withConfig({componentId:"sc-447beaac-0"})(["border:",";border-radius:20px;
1display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.4rem;cursor:pointer;font-size:12px;margin:1rem 0;background:",";&:hover{border:","}&:invalid{border:","}&:focus{border:","}svg{font-size:36px;margin-bottom:1rem;}span{border-bottom:",";}p{font-family:",";font-size:10px;font-style:normal;font-weight:900;line-height:22px;letter-spacing:0.05em;text-align:center;margin:0;}"],({$isDragActive:e,theme:t})=>e?`dashed 2px ${t.default.color.primary}`:`dashed 1px${t.default.color.text.light}`,({$isDragActive:e,theme:t})=>e?t.default.color.backgrounds.blue:t.default.color.backgrounds.white,({theme:e})=>`dashed 1px ${e.default.color.primary}`,({theme:e})=>"dashed 1px red",({theme:e})=>`dashed 2px ${e.default.color.primary}`,({theme:e})=>`1px solid ${e.default.color.text.dark}`,({theme:e})=>e.default.fontFamily.secondaryFont),s=()=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,a.jsx)("path",{d:"M3 16L10 13L21 18M21 3.6V20.4C21 20.7314 20.7314 21 20.4 21H3.6C3.26863 21 3 20.7314 3 20.4V3.6C3 3.26863 3.26863 3 3.6 3H20.4C20.7314 3 21 3.26863 21 3.6ZM16 10C14.8954 10 14 9.10457 14 8C14 6.89543 14.8954 6 16 6C17.1046 6 18 6.89543 18 8C18 9.10457 17.1046 10 16 10Z",stroke:"#272727",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),d=({setFiles:e,cropData:t,files:i})=>{let r=(0,n.useCallback)(t=>{e(t.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})))},[e]),{getRootProps:d,getInputProps:c,isDragActive:p}=(0,o.VB)({onDrop:r});return"#"!==t||i[0]?null:(0,a.jsxs)(l,{...d(),$isDragActive:p,children:[(0,a.jsx)("input",{...c()}),(0,a.jsx)(s,{}),(0,a.jsx)("p",{children:" Drag and drop "}),(0,a.jsx)("p",{children:" or "}),(0,a.jsx)("span",{children:(0,a.jsx)("p",{children:" Browse files"})})]})};var c=i(11308),p=i(28865);i(88153);let h=r.Ay.div.withConfig({componentId:"sc-6dc0951c-0"})(["span{margin-left:auto;display:flex;}button{margin-top:1rem;margin-left:1rem;}"]),u=r.Ay.div.withConfig({componentId:"sc-6dc0951c-1"})(["display:flex;justify-content:flex-end;.ghost-btn{background-color:transparent;color:",";border:",";}"],({theme:e})=>e.default.color.primary,({theme:e})=>`1px solid ${e.default.color.primary}`),g=({setCropData:e,files:t,setFiles:i})=>{let[o,r]=(0,n.useState)(),l=(0,n.useRef)(null);return t[0]?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.A,{ref:l,src:t[0].preview,guides:!1,crop:()=>{new FileReader().onload=()=>{}},style:{height:200,width:"100%"},onInitialized:e=>{r(e)}}),(0,a.jsx)(h,{children:(0,a.jsx)(u,{children:(0,a.jsxs)("span",{children:[(0,a.jsx)(p.A,{handleClick:()=>{i([])},buttonStyles:"secondary",className:"ghost-btn",children:"Cancel"}),(0,a.jsx)(p.A,{handleClick:()=>{void 0!==o&&(o.getCroppedCanvas().toBlob(t=>e(t)),i([]))},buttonStyles:"primary",children:"Crop"})]})})})]}):null};var x=i(44258);let f=r.Ay.div.withConfig({componentId:"sc-8b9b50bc-0"})(["background-color:",";display:flex;justify-content:center;flex-direction:column;align-items:center;padding:1rem;margin-top:1rem;border-radius:8px;.ghost-btn{background-color:transparent;color:",";border:",";}"],({theme:e})=>e.default.color.backgrounds.light,({theme:e})=>e.default.color.primary,({theme:e})=>`1px solid ${e.default.color.primary}`),m=r.Ay.img.withConfig({componentId:"sc-8b9b50bc-1"})(["height:100px;width:50%;object-fit:contain;margin-bottom:1rem;@media (max-width:","){width:100%;}"],x.KL.medium),b=({cropData:e,setCropData:t})=>"#"===e?null:(0,a.jsxs)(f,{children:[(0,a.jsx)(m,{src:URL.createObjectURL(e),alt:"cropped"}),(0,a.jsx)(p.A,{handleClick:()=>t("#"),buttonStyles:"secondary",className:"ghost-btn",children:"Cancel"})]}),v=r.Ay.div.withConfig({componentId:"sc-46a90850-0"})(["width:45%;border-radius:20px;margin-top:5px;@media (max-width:","){width:100%;margin-top:0;}"],x.KL.medium),y=r.Ay.p.withConfig({componentId:"sc-46a90850-1"})(["font-family:",";font-size:12px;font-style:normal;font-weight:600;line-height:16px;"],({theme:e})=>e.default.fontFamily.primaryFont),j=({cropData:e,className:t,label:i,setCropData:n,files:o,setFiles:r})=>(0,a.jsxs)(v,{className:t,children:[(0,a.jsx)(y,{children:i}),(0,a.jsx)(b,{cropData:e,setCropData:n}),(0,a.jsx)(d,{cropData:e,setFiles:r,files:o}),(0,a.jsx)(g,{setCropData:n,files:o,setFiles:r})]})},47452:(e,t,i)=>{i.d(t,{A:()=>d});var a=i(66352),n=i(71924);let o=n.Ay.select.withConfig({componentId:"sc-359fda70-0"})(["max-width:250px;width:100%;flex-grow:1;height:40px;background:",";color:",";padding:4px 24px;font-size:16px;border-radius:32px;border:1px solid ",';&:focus{outline:none;}background:url(\'data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke="%23272727" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\') #fff no-repeat 99% 50%;-moz-appearance:none;-webkit-appearance:none;appearance:none;option{color:',";background:",";display:flex;white-space:pre;min-height:20px;padding:0px 2px 1px;}"],({theme:e})=>e.default.color.backgrounds.white,({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.color.text.light,({theme:e})=>e.default.color.text.dark,({theme:e})=>e.default.color.backgrounds.white),r=n.Ay.p.withConfig({componentId:"sc-359fda70-1"})(["font-weight:bold;font-family:",";span{color:",";}"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.primary),l=n.Ay.div.withConfig({componentId:"sc-359fda70-2"})(["width:100%;"]),s=n.Ay.div.withConfig({componentId:"sc-359fda70-3"})(["display:flex;width:100%;"]),d=({options:e,onChange:t,name:i,value:n,label:d,id:c,required:p,checkbox:h,placeholderOverWrite:u})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r,{children:[d,p&&(0,a.jsx)("span",{children:" *"})]}),(0,a.jsxs)(s,{children:[(0,a.jsxs)(o,{defaultValue:"",name:i,value:n,onChange:t,id:c,children:[(0,a.jsx)("option",{value:"",disabled:!0,children:u||"Please select"}),e.map((e,t)=>(0,a.jsx)("option",{value:e,children:e},t))]}),h&&(0,a.jsxs)(l,{children:[" ",h]})]})]})}}]);

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.