PageSourceSearch

https://www.hetgoedemoment.org/assets/InputSelect-B8ihtFQz.js

js hetgoedemoment.org collected 2026-10-04 01:25:31 UTC 22,766 bytes, 4 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AppSpinner-DDG9gVUD.js","assets/index-MSa8avpS.js","assets/index-DY-sP-Wx.css","assets/AppSpinner-CO7qFeDR.css"])))=>i.map(i=>d[i]);
2import{X as fe,o as r,g as u,h as d,Y as g,Z as y,a as b,H as M,$ as ee,f as B,t as $,c as V,a0 as x,l as m,L as I,a1 as ge,a2 as P,a3 as j,e as N,w,d as te,n as K,T as ye,u as me,i as be,p as L,a4 as ve,r as Oe,b as p,a5 as E,m as k,I as we,J as Se}from"./index-MSa8avpS.js";import $e from"./InputSelectDeselect-8zafBO9y.js";var _e=Object.defineProperty,Ve=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,se=(e,t,o)=>t in e?_e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,_=(e,t)=>{for(var o in t||(t={}))Ce.call(t,o)&&se(e,o,t[o]);if(oe)for(var o of oe(t))Ae.call(t,o)&&se(e,o,t[o]);return e},le=(e,t)=>Ve(e,Be(t));const Le={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(e){this.autoscroll&&e&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var e;const t=((e=this.$refs.dropdownMenu)==null?void 0:e.children[this.typeAheadPointer])||!1;if(t){const o=this.getDropdownViewport(),{top:a,bottom:n,height:s}=t.getBoundingClientRect();if(a<o.top)return this.$refs.dropdownMenu.scrollTop=t.offsetTop;if(n>o.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(o.height-s)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},ke={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let e=0;e<this.filteredOptions.length;e++)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},open(e){e&&this.typeAheadToLastSelected()},selectedValue(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp(){for(let e=this.typeAheadPointer-1;e>=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown(){for(let e=this.typeAheadPointer+1;e<this.filteredOptions.length;e++)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadSelect(){const e=this.filteredOptions[this.typeAheadPointer];e&&this.selectable(e)&&this.select(e)},typeAheadToLastSelected(){this.typeAheadPointer=this.selectedValue.length!==0?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1}}},Pe={props:{loading:{type:Boolean,default:!1}},data(){return{mutableLoading:!1}},watch:{search(){this.$emit("search",this.search,this.toggleLoading)},loading(e){this.mutableLoading=e}},methods:{toggleLoading(e=null){return e==null?this.mutableLoading=!this.mutableLoading:this.mutableLoading=e}}},z=(e,t)=>{const o=e.__vccOpts||e;for(const[a,n]of t)o[a]=n;return o},De={},Fe={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},Te=b("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),xe=[Te];function Ee(e,t){return r(),u("svg",Fe,xe)}const Me=z(De,[["render",Ee]]),Ie={},je={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},Ne=b("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),Ke=[Ne];function ze(e,t){return r(),u("svg",je,Ke)}const Re=z(Ie,[["render",ze]]),ie={Deselect:Me,OpenIndicator:Re},qe={mounted(e,{instance:t}){if(t.appendToBody){const{height:o,top:a,left:n,width:s}=t.$refs.toggle.getBoundingClientRect();let S=window.scrollX||window.pageXOffset,i=window.scrollY||window.pageYOffset;e.unbindPosition=t.calculatePosition(e,t,{width:s+"px",left:S+n+"px",top:i+a+o+"px"}),document.body.appendChild(e)}},unmounted(e,{instance:t}){t.appendToBody&&(e.unbindPosition&&typeof e.unbindPosition=="function"&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}};function Ue(e){const t={};
2return Object.keys(e).sort().forEach(o=>{t[o]=e[o]}),JSON.stringify(t)}let Xe=0;function Ye(){return++Xe}const Je={components:_({},ie),directives:{appendToBody:qe},mixins:[Le,ke,Pe],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:e=>e},selectable:{type:Function,default:e=>!0},getOptionLabel:{type:Function,default(e){return typeof e=="object"?e.hasOwnProperty(this.label)?e[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}.
3https://vue-select.org/api/props.html#getoptionlabel`):e}},getOptionKey:{type:Function,default(e){if(typeof e!="object")return e;try{return e.hasOwnProperty("id")?e.id:Ue(e)}catch(t){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
4https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(e,t,o){return(t||"").toLocaleLowerCase().indexOf(o.toLocaleLowerCase())>-1}},filter:{type:Function,default(e,t){return e.filter(o=>{let a=this.getOptionLabel(o);return typeof a=="number"&&(a=a.toString()),this.filterBy(o,a,t)})}},createOption:{type:Function,default(e){return typeof this.optionList[0]=="object"?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>["function","boolean"].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:o,top:a,left:n}){e.style.top=a,e.style.left=n,e.style.width=o}},dropdownShouldOpen:{type:Function,default({noDrop:e,open:t,mutableLoading:o}){return e?!1:t&&!o}},uid:{type:[String,Number],default:()=>Ye()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),e!=null&&e!==""?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:_({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input
4:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:le(_({},e),{deselect:this.deselect}),footer:le(_({},e),{deselect:this.deselect})}},childComponents(){return _(_({},ie),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;const t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){const o=this.createOption(this.search);this.optionExists(o)||t.unshift(o)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){const o=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&o()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(t=>this.findOptionFromReducedValue(t)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit("option:selecting",e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit("option:created",e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect(e){this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit("option:deselected",e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(e){typeof this.modelValue>"u"&&(this.$data._value=e),e!==null&&(Array.isArray(e)?e=e.map(t=>this.reduce(t)):e=this.reduce(e)),this.$emit("update:modelValue",e)},toggleDropdown(e){const t=e.target!==this.searchEl;t&&e.preventDefault();const o=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||o.filter(Boolean).some(a=>a.contains(e.target)||a===e.target)){e.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){const t=a=>JSON.stringify(this.reduce(a))===JSON.stringify(e),o=[...this.options,...this.pushedTags].filter(t);return o.length===1?o[0]:o.find(a=>this.optionComparator(a,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return typeof e=="object"?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){const t=n=>(n.preventDefault(),!this.isComposing&&this.typeAheadSelect()),o={8:n=>this.maybeDeleteValue(),9:n=>this.onTab(),27:n=>this.onEscape(),38:n=>(n.preventDefault(),this.typeAheadUp()),40:n=>(n.preventDefault(),this.typeAheadDown())};
4this.selectOnKeyCodes.forEach(n=>o[n]=t);const a=this.mapKeydown(o,this);if(typeof a[e.keyCode]=="function")return a[e.keyCode](e)}}},He=["dir"],Qe=["id","aria-expanded","aria-owns"],Ze={ref:"selectedOptions",class:"vs__selected-options"},Ge=["disabled","title","aria-label","onClick"],We={ref:"actions",class:"vs__actions"},et=["disabled"],tt={class:"vs__spinner"},ot=["id"],st=["id","aria-selected","onMouseover","onClick"],lt={key:0,class:"vs__no-options"},it=B(" Sorry, no matching options. "),nt=["id"];function at(e,t,o,a,n,s){const S=fe("append-to-body");return r(),u("div",{dir:o.dir,class:K(["v-select",s.stateClasses])},[d(e.$slots,"header",g(y(s.scope.header))),b("div",{id:`vs${o.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":s.dropdownOpen.toString(),"aria-owns":`vs${o.uid}__listbox`,"aria-label":"Search for option",onMousedown:t[1]||(t[1]=i=>s.toggleDropdown(i))},[b("div",Ze,[(r(!0),u(M,null,ee(s.selectedValue,(i,h)=>d(e.$slots,"selected-option-container",{option:s.normalizeOptionForSlot(i),deselect:s.deselect,multiple:o.multiple,disabled:o.disabled},()=>[(r(),u("span",{key:o.getOptionKey(i),class:"vs__selected"},[d(e.$slots,"selected-option",g(y(s.normalizeOptionForSlot(i))),()=>[B($(o.getOptionLabel(i)),1)]),o.multiple?(r(),u("button",{key:0,ref_for:!0,ref:v=>n.deselectButtons[h]=v,disabled:o.disabled,type:"button",class:"vs__deselect",title:`Deselect ${o.getOptionLabel(i)}`,"aria-label":`Deselect ${o.getOptionLabel(i)}`,onClick:v=>s.deselect(i)},[(r(),V(x(s.childComponents.Deselect)))],8,Ge)):m("",!0)]))])),256)),d(e.$slots,"search",g(y(s.scope.search)),()=>[b("input",I({class:"vs__search"},s.scope.search.attributes,ge(s.scope.search.events)),null,16)])],512),b("div",We,[P(b("button",{ref:"clearButton",disabled:o.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...i)=>s.clearSelection&&s.clearSelection(...i))},[(r(),V(x(s.childComponents.Deselect)))],8,et),[[j,s.showClearButton]]),d(e.$slots,"open-indicator",g(y(s.scope.openIndicator)),()=>[o.noDrop?m("",!0):(r(),V(x(s.childComponents.OpenIndicator),g(I({key:0},s.scope.openIndicator.attributes)),null,16))]),d(e.$slots,"spinner",g(y(s.scope.spinner)),()=>[P(b("div",tt,"Loading...",512),[[j,e.mutableLoading]])])],512)],40,Qe),N(ye,{name:o.transition},{default:w(()=>[s.dropdownOpen?P((r(),u("ul",{id:`vs${o.uid}__listbox`,ref:"dropdownMenu",key:`vs${o.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=te((...i)=>s.onMousedown&&s.onMousedown(...i),["prevent"])),onMouseup:t[3]||(t[3]=(...i)=>s.onMouseUp&&s.onMouseUp(...i))},[d(e.$slots,"list-header",g(y(s.scope.listHeader))),(r(!0),u(M,null,ee(s.filteredOptions,(i,h)=>(r(),u("li",{id:`vs${o.uid}__option-${h}`,key:o.getOptionKey(i),role:"option",class:K(["vs__dropdown-option",{"vs__dropdown-option--deselect":s.isOptionDeselectable(i)&&h===e.typeAheadPointer,"vs__dropdown-option--selected":s.isOptionSelected(i),"vs__dropdown-option--highlight":h===e.typeAheadPointer,"vs__dropdown-option--disabled":!o.selectable(i)}]),"aria-selected":h===e.typeAheadPointer?!0:null,onMouseover:v=>o.selectable(i)?e.typeAheadPointer=h:null,onClick:te(v=>o.selectable(i)?s.select(i):null,["prevent","stop"])},[d(e.$slots,"option",g(y(s.normalizeOptionForSlot(i))),()=>[B($(o.getOptionLabel(i)),1)])],42,st))),128)),s.filteredOptions.length===0?(r(),u("li",lt,[d(e.$slots,"no-options",g(y(s.scope.noOptions)),()=>[it])])):m("",!0),d(e.$slots,"list-footer",g(y(s.scope.listFooter)))],40,ot)),[[S]]):(r(),u("ul",{key:1,id:`vs${o.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,nt))]),_:3},8,["name"]),d(e.$slots,"footer",g(y(s.scope.footer)))],10,He)}const ne=z(Je,[["render",at]]),rt={class:"input__container"},ct={key:0,class:"vs__selected"},dt={key:0,class:"input--errors"},ut={key:0,class:"input--error"},pt={key:1,class:"input--error"},gt={__name:"InputSelect",props:{id:String,max:Number,multiple:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},placeholder:{type:String,default:"..."},modelValue:{default:""},disabled:{type:Boolean,default:!1},options:{type:Array,default:()=>[]},clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},taggable:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},paginable:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},deselectFromDropdown:{type:Boolean,default:!1},displayUnmatchedOption:{type:Boolean,default:!0},label:{type:String,default:"label"},selectable:{type:Function,default:e=>e},reduce:{type:Function,default:e=>e.value},reduceAttribute:{type:Function,default:e=>e.value},createOption:{type:Function,default:e=>({value:e,label:e})},perPage:{type:Number,default:100},positionX:{type:String,default:"left",validator:e=>["left","center","right"].includes(e)},positionY:{type:String,default:"bottom",validator:e=>["top","bottom"].includes(e)},filterBy:Function,v:Object},emits:["search","update:modelValue"],setup(e,{emit:t}){const o=we(()=>Se(()=>import("./AppSpinner-DDG9gVUD.js"),__vite__mapDeps([0,1,2,3])));ne.props.components.default=()=>({Deselect:$e});const a=t,n=e,{t:s,translate:S}
4=me(),{max:i,multiple:h,modelValue:v,paginable:R,v:C,reduceAttribute:D,perPage:q,label:A,displayUnmatchedOption:ae}=be(n),U=L(),X=L(),Y=L(q.value),F=L(null),J=k(()=>F.value?n.options.filter(l=>W(l,l[A.value],F.value)):n.options),H=k(()=>R.value?J.value.slice(0,Y.value):n.options),Q=k(()=>H.value.length<J.value.length),Z=k({get:()=>h.value?Array.from(v.value).map(l=>G(l)).filter(l=>l):G(v.value),set:l=>{h.value&&Array.isArray(l)&&i.value&&l.length>i.value||a("update:modelValue",h.value&&Array.isArray(l)?l.filter(f=>f):l)}}),G=l=>n.options.find(f=>D.value(f)===l)||(ae.value?l:null),re=l=>h.value?v.value.includes(D.value(l)):v.value===D.value(l),W=(l,f,O)=>n.filterBy?n.filterBy(l,f,O):(S(f)||"").toLowerCase().includes(O.toLowerCase()),ce=()=>{Q.value&&E(()=>T.observe(X.value)),E(()=>{U.value?.$el.querySelector(".vs__dropdown-option--selected")?.scrollIntoView({block:"nearest"})})},de=()=>T.disconnect(),ue=(l,f)=>a("search",F.value=l,f),pe=()=>C.value?.$touch(),he=([{isIntersecting:l,target:f}])=>{if(!l)return;const O=f.offsetParent,c=f.offsetParent.scrollTop;Y.value+=q.value,E(()=>O.scrollTop=c)},T=new IntersectionObserver(he);return ve(()=>T.disconnect()),(l,f)=>{const O=Oe("fa-icon");return r(),u("div",rt,[N(p(ne),{class:K(["input--border input--radius",{multiple:p(h),[`position-x--${e.positionX}`]:e.positionX,[`position-y--${e.positionY}`]:e.positionY}]),modelValue:Z.value,"onUpdate:modelValue":f[0]||(f[0]=c=>Z.value=c),"input-id":e.id,multiple:p(h),placeholder:e.placeholder,label:p(A),reduce:e.reduce,options:H.value,clearable:e.clearable,selectable:e.selectable,"close-on-select":e.closeOnSelect,"filter-by":W,disabled:e.disabled||e.isLoading,searchable:e.searchable,taggable:e.taggable,filterable:e.filterable,loading:e.isLoading,"create-option":e.createOption,"deselect-from-dropdown":e.deselectFromDropdown,ref_key:"vselect",ref:U,autoscroll:!1,onSearch:ue,"onSearch:blur":pe,onOpen:ce,onClose:de},{"selected-option-container":w(()=>[d(l.$slots,"selected-option-container",{},()=>[e.isLoading?(r(),u("span",ct)):m("",!0)])]),"selected-option":w(c=>[d(l.$slots,"selected-option",{option:c},()=>[B($(p(S)(c[p(A)])||""),1)])]),option:w(c=>[b("span",null,[p(h)?(r(),u(M,{key:0},[re(c)?(r(),V(O,{key:0,class:"margin__r--12 color--success",icon:["fal","check-square"],size:"lg"})):(r(),V(O,{key:1,class:"margin__r--12 color--lg",icon:["fal","square"],size:"lg"}))],64)):m("",!0),d(l.$slots,"option",{option:c},()=>[B($(p(S)(c[p(A)])||""),1)])])]),"no-options":w(c=>[d(l.$slots,"no-options",{option:c})]),"open-indicator":w(({attributes:c})=>[d(l.$slots,"open-indicator",{attributes:c},()=>[b("span",I({class:"cursor--pointer"},c),[N(O,{icon:["fas","chevron-down"]})],16)])]),spinner:w(({loading:c})=>[d(l.$slots,"spinner",{loading:c},()=>[c?(r(),V(p(o),{key:0,class:"margin__l--6",size:"2"})):m("",!0)])]),"list-footer":w(()=>[d(l.$slots,"list-footer",{},()=>[p(R)?P((r(),u("li",{key:0,class:"vs__pagination padding--12 align--center color--vlg",ref_key:"loadmore",ref:X},$(p(s)("literal.loading_more_options")),513)),[[j,Q.value]]):m("",!0)])]),_:3},8,["class","modelValue","input-id","multiple","placeholder","label","reduce","options","clearable","selectable","close-on-select","disabled","searchable","taggable","filterable","loading","create-option","deselect-from-dropdown"]),p(C)?.$error?(r(),u("div",dt,[p(C).required?.$invalid?(r(),u("p",ut,$(p(s)("errors.input_select_required")),1)):m("",!0),p(C).sameAs?.$invalid?(r(),u("p",pt,$(p(s)("errors.input_select_required")),1)):m("",!0)])):m("",!0)])}}};export{gt 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.