PageSourceSearch

https://burghhouse.org.uk//skins/burgh_house/static/dist/assets/Form.a2a1be62bc.js

js burghhouse.org.uk collected 2026-10-02 06:22:40 UTC 1,321 bytes, 1 lines download raw bytes

1import{$ as p,G as g,e as i,o as a,c as o,j as y,h as c,k as u,F as x,f as w,y as b,n as h,b as k,g as d,a as S,E as _,C as f}from"./index.a2a1be62bc.js";import $ from"./Field.a2a1be62bc.js";const q={class:"flex mt-[10px] items-center"},B={__name:"Form",props:{activity:{type:Function,required:!1},link:{type:String,required:!0},submission_lang:{type:String,required:!1,default:"Submit"},fields:{type:Array,required:!1,default:()=>[]},legend:{type:String,required:!1,default:""},gap:{type:String,required:!1,default:"14px"}},setup(e){const n=e,r=n.activity?n.activity:s=>p.page.load(n.link,{method:"POST",data:window.xhr.form_to_obj(s)});return(s,l)=>{const m=g("Clicker");return a(),i("form",{class:"flex flex-col gap-[10px]",onSubmit:l[0]||(l[0]=_((...t)=>f(r)&&f(r)(...t),["prevent"]))},[e.legend?(a(),o(u,{key:0,class:"text-minor",content:e.legend,tag:"legend"},null,8,["content"])):y("",!0),c("fieldset",{class:"flex flex-wrap justify-between",style:h({gap:`${e.gap} 0`})},[(a(!0),i(x,null,w(e.fields,t=>(a(),o($,b({ref_for:!0},t,{style:{width:t.width?`calc(${t.width}% - ${t.width<100?5:0}px)`:"100%"}}),null,16,["style"]))),256))],4),c("div",q,[k(s.$slots,"footer"),d(m,{class:"btn ml-auto",type:"submit"},{default:S(()=>[d(u,{content:e.submission_lang},null,8,["content"])]),_:1})])],32)}}};export{B 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.