1import{aQ as o,d$ as h,dz as q,N as m,bb as E,U as l,Z as d,dp as p,V as v,a2 as V,X as y,Y as B}from"./OpK-3wCV.js";import{u as I}from"./ByrvA0Lz.js";import{V as k}from"./DMkobGh7.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="4601df27-be63-4094-9b2a-7496517472fc",r._sentryDebugIdIdentifier="sentry-dbid-4601df27-be63-4094-9b2a-7496517472fc")}catch{}})();function S(r){return o(()=>h(r)?!!q(r)?.closest("form"):!0)}var w=m({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(r){const e=r,{primitiveElement:i,currentElement:s}=I(),t=o(()=>e.checked??e.value);return E(t,(a,u)=>{if(!s.value)return;const n=s.value,b=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(b,"value").set;if(f&&a!==u){const _=new Event("input",{bubbles:!0}),g=new Event("change",{bubbles:!0});f.call(n,a),n.dispatchEvent(_),n.dispatchEvent(g)}}),(a,u)=>(l(),d(k,p({ref_key:"primitiveElement",ref:i},{...e,...a.$attrs},{as:"input"}),null,16))}}),c=w,$=m({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(r){const e=r,i=o(()=>typeof e.value=="object"&&Array.isArray(e.value)&&e.value.length===0&&e.required),s=o(()=>typeof e.value=="string"||typeof e.value=="number"||typeof e.value=="boolean"||e.value===null||e.value===void 0?[{name:e.name,value:e.value}]:typeof e.value=="object"&&Array.isArray(e.value)?e.value.flatMap((t,a)=>typeof t=="object"?Object.entries(t).map(([u,n])=>({name:`${e.name}[${a}][${u}]`,value:n})):{name:`${e.name}[${a}]`,value:t}):e.value!==null&&typeof e.value=="object"&&!Array.isArray(e.value)?Object.entries(e.value).map(([t,a])=>({name:`${e.name}[${t}]`,value:a})):[]);return(t,a)=>(l(),v(y,null,[V(" We render single input if it's required "),i.value?(l(),d(c,p({key:t.name},{...e,...t.$attrs},{name:t.name,value:t.value}),null,16,["name","value"])):(l(!0),v(y,{key:1},B(s.value,u=>(l(),d(c,p({key:u.name},{ref_for:!0},{...e,...t.$attrs},{name:u.name,value:u.value}),null,16,["name","value"]))),128))],2112))}}),O=$;export{O as V,S as u};
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.