PageSourceSearch

https://www.handelskammer.dk/build/assets/contact-finder-container-wrapper-mUkjJ5Yi.js

js handelskammer.dk collected 2026-10-02 11:06:03 UTC 722 bytes, 1 lines download raw bytes

1import{d as c,o as f,c as d,e as m,A as v,r as a,ac as p}from"./app-BQ-43nIL.js";const C=c({__name:"contact-finder-container-wrapper",setup(_){const o=a(),n=a([]),r=a(!1),i=e=>{const t=n.value.indexOf(e);t>-1&&n.value.splice(t,1),l()},s=(e,t,S)=>{n.value.includes(e)||n.value.push(e),l()},l=()=>r.value=!1;p("formContainer",{addInvalidField:s,removeInvalidField:i,formSubmitted:r}),f(()=>{o.value.querySelector("form").setAttribute("novalidate","")});function u(e){if(n.value.length){e.preventDefault();const t=o.value.querySelector(`#${n.value[0]}`);t.focus(),t.scrollIntoView()}r.value=!0}return(e,t)=>(d(),m("div",{ref_key:"formContainer",ref:o,onSubmitCapture:u},[v(e.$slots,"default")],544))}});export{C 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.