1import{_ as n,o as t,g as o,a2 as i,av as u,a as d,L as p,t as l,l as s,H as m,s as v}from"./index-MSa8avpS.js";const $=v({name:"InputUrl",emits:["update:modelValue"],props:{placeholder:{type:String,default:"..."},modelValue:{type:String,default:""},v:{type:Object}},computed:{url:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{blurIfMandatory(){this.v&&this.v.$touch()}}}),f=["placeholder"],h={key:0,class:"input--errors"},y={key:0,class:"input--error"},c={key:1,class:"input--error"};function V(e,r,g,k,U,b){return t(),o(m,null,[i(d("input",p({type:"url",class:"input input--border input--radius",name:"input-url","onUpdate:modelValue":r[0]||(r[0]=a=>e.url=a),placeholder:e.placeholder,onBlur:r[1]||(r[1]=a=>e.blurIfMandatory())},e.$attrs),null,16,f),[[u,e.url]]),e.v&&e.v.$error?(t(),o("div",h,[e.v.required&&e.v.required.$invalid?(t(),o("span",y,l(e.$i18n.t("errors.input_url_required")),1)):s("",!0),e.v.validVideoUrl&&e.v.validVideoUrl.$invalid?(t(),o("span",c,l(e.$i18n.t("errors.invalid_input_url")),1)):s("",!0)])):s("",!0)],64)}const I=n($,[["render",V]]);export{I 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.