1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`99a35b949180902b49ee3b987c2e56a30adb6e38`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:pronounspageapp":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`951ee6a5-053a-4d7b-a0ad-d3205bad764e`,e._sentryDebugIdIdentifier=`sentry-dbid-951ee6a5-053a-4d7b-a0ad-d3205bad764e`)}catch{}})();import{a as e}from"./CIOSJrj5.js";import{$ as t,Bt as n,C as r,I as i,Mt as a,O as o,S as s,T as c,X as l,at as u,dt as d,ft as f,gt as p,h as m,i as h,j as g,k as _,st as v,tn as y,u as b,w as x,x as S,z as C}from"./DEvUviGG.js";import{t as w}from"./pSA9CX07.js";import{t as T}from"./Ca2CxMpS2.js";import{t as E}from"./Ddniro-n2.js";import{t as D}from"./BYd0GpCG2.js";i(),h(),p(),n();var O={class:`sticky-top bg-white rounded`},k={class:`input-group`},A={class:`input-group-text`},j=[`placeholder`],M=[`title`],N=[`tabindex`,`onClick`],P=Object.assign(E(g({__name:`FilterBar`,props:C({categories:{},submitButton:{type:Boolean}},{modelValue:{},modelModifiers:{},category:{},categoryModifiers:{}}),emits:C([`submitClicked`],[`update:modelValue`,`update:category`]),setup(n,{expose:i,emit:p}){let h=u(n,`modelValue`),g=u(n,`category`),C=n,E=p,P=v(`filterInput`),{$translator:F}=e(),I={key:``,text:F.translate(`crud.all`),icon:`fa-light:clipboard-list`},L=S(()=>[I,...C.categories??[]]);i({focus:()=>P.value?.focus()});let R=v(`categoryList`),z=e=>{if(g.value===void 0)return;let t=L.value.map(e=>e.key).indexOf(g.value);t!==-1&&((e.key===`ArrowUp`||e.key===`ArrowLeft`)&&t>0?(g.value=L.value[t-1].key,(R.value?.children[t-1])?.focus()):(e.key===`ArrowDown`||e.key===`ArrowRight`)&&t<L.value.length-1&&(g.value=L.value[t+1].key,(R.value?.children[t+1])?.focus()))};return(e,i)=>{let u=w,p=T,v=D;return l(),c(`section`,O,[s(`div`,k,[s(`span`,A,[_(u,{name:`fa-light:filter`})]),i[5]||=o(),f(s(`input`,{ref_key:`filterInput`,ref:P,"onUpdate:modelValue":i[0]||=e=>h.value=e,type:`search`,class:`form-control border-primary`,placeholder:e.$t(`crud.filterLong`)},null,8,j),[[b,h.value]]),i[6]||=o(),h.value?(l(),c(`button`,{key:0,type:`button`,class:`btn btn-outline-danger`,title:e.$t(`crud.resetFilter`),onClick:i[1]||=e=>{h.value=``,a(P)?.focus()}},[_(u,{name:`fa-light:times`})],8,M)):x(``,!0),i[7]||=o(),n.submitButton?(l(),c(`button`,{key:1,type:`button`,class:`btn btn-success`,onClick:i[2]||=e=>E(`submitClicked`)},[_(u,{name:`fa-light:plus-circle`}),i[4]||=o(),_(p,null,{default:d(()=>[...i[3]||=[o(`nouns.submit.action`,-1)]]),_:1})])):x(``,!0)]),i[9]||=o(),n.categories&&n.categories.length>0?(l(),c(`div`,{key:0,ref_key:`categoryList`,ref:R,class:`d-flex flex-wrap mt-1 border border-primary rounded overflow-hidden`},[(l(!0),c(m,null,t(a(L),e=>(l(),c(`button`,{key:e.text,type:`button`,class:y([`btn btn-sm btn-wrapped flex-grow-1 d-flex justify-content-center align-items-center gap-1 rounded-0`,[g.value===e.key?`btn-primary`:`btn-outline-primary`]]),tabindex:g.value===e.key?0:-1,onClick:t=>g.value=e.key,onKeydown:z},[e.icon?(l(),r(u,{key:0,name:e.icon},null,8,[`name`])):x(``,!0),i[8]||=o(),_(v,{text:e.text},null,8,[`text`])],42,N))),128))],512)):x(``,!0)])}}}),[[`__scopeId`,`data-v-5177cb1b`]]),{__name:`FilterBar`});export{P as t};
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.