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:`20260924-39003-d97a9715`},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:textmagic-web-app":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8ad2bdb3-a1e5-48b3-98f8-04aefcb77506`,e._sentryDebugIdIdentifier=`sentry-dbid-8ad2bdb3-a1e5-48b3-98f8-04aefcb77506`)}catch{}})();import{A as e,At as t,Ct as n,D as r,F as i,Ft as a,H as o,L as s,O as c,Qt as l,Wt as u,gn as d,it as f,k as p,kt as m,lt as h,q as g}from"./B_mscWxu.js";import"./Cf_pgd7T.js";import{a as _}from"./BdV1yl7S.js";import{J as v,q as y}from"./BGPWR1KF.js";import{Lr as b,pi as x,ti as S}from"./index_Dp5kRkmW.js";import{t as C}from"./DAggQlwU.js";import{n as w}from"./DLJ51kOs.js";o(),m(),l();var T={class:`truncate`},E={key:0,class:`field-single-select__search`},D={class:`field-single-select__option`},O=[`title`],k=_(s({inheritAttrs:!1,__name:`FieldSingleSelect`,props:{modelValue:{},options:{default:()=>[]},withRadio:{type:Boolean,default:!1},placeholder:{default:``},isFocused:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},size:{default:``},searchThreshold:{default:6}},emits:[`update:model-value`,`update:open`,`blur`],setup(o,{expose:s,emit:l}){let m=o,_=l,k=a(null),{searchText:A,hasSearch:j,filteredOptions:M}=w(()=>m.options,()=>m.searchThreshold),N=()=>{A.value=``,_(`update:open`,!0)},P=e=>_(`update:model-value`,e??``);return s({focus:()=>k.value?.focus()}),(a,s)=>(f(),c(b,g({ref_key:`fieldSelectRef`,ref:k}
1,a.$attrs,{class:`field-single-select`,"popup-content-class":`field-single-select__popup`,"model-value":o.modelValue,options:u(M),placeholder:o.placeholder,size:o.size,"is-disabled":o.isDisabled,"is-focused":o.isFocused,clearable:!1,"map-options":``,"emit-value":``,"onUpdate:modelValue":P,onPopupShow:N,onPopupHide:s[1]||(s[1]=e=>_(`update:open`,!1)),onBlur:s[2]||(s[2]=e=>_(`blur`))}),{"selected-item":n(({opt:e})=>[h(a.$slots,`selected-item`,{opt:e},()=>[e?(f(),c(S,{key:0},{default:n(()=>[r(`span`,T,d(e[u(y)]),1)]),_:2},1024)):p(``,!0)],!0)]),"before-options":n(()=>[u(j)?(f(),e(`div`,E,[i(x,{modelValue:u(A),"onUpdate:modelValue":s[0]||(s[0]=e=>t(A)?A.value=e:null),size:`medium`,placeholder:a.$t(`common.search`)},null,8,[`modelValue`,`placeholder`])])):p(``,!0)]),option:n(({opt:e})=>[h(a.$slots,`option`,{opt:e},()=>[r(`div`,D,[o.withRadio?(f(),c(C,{key:0,class:`field-single-select__control`,"model-value":o.modelValue,val:e[u(v)],"tab-index":`-1`,"aria-hidden":`true`},null,8,[`model-value`,`val`])):p(``,!0),r(`span`,{class:`truncate`,title:(e[u(`text`)]?.length??0)>25?e[u(y)]:void 0},d(e[u(y)]),9,O)])],!0)]),_:3},16,[`model-value`,`options`,`placeholder`,`size`,`is-disabled`,`is-focused`]))}}),[[`__scopeId`,`data-v-e58c96a6`]]);export{k as t}; 2//# sourceMappingURL=Bdfqhf3d.js.map
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.