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]=`744998c4-2d43-4486-9fe5-80fb8f7e6e23`,e._sentryDebugIdIdentifier=`sentry-dbid-744998c4-2d43-4486-9fe5-80fb8f7e6e23`)}catch{}})();import{Tr as e}from"./DLkVZSuR.js";import"./Cf_pgd7T.js";import{Kd as t,Mp as n,Si as r,pu as i,qd as a}from"./BmC5PC1V.js";var o=()=>{let e=a(),n=t(),r=i(),o=t=>{let r=e.parseTagsFromQuery(t),i=[];return r.forEach(e=>{let t=n.findEntityByIdOrNull(e);t&&i.push(t)}),i};return{getTags:o,getTagsAsync:async t=>{let r=e.parseTagsFromQuery(t);return await n.findOrFillEntitiesByIds(r),o(t)},clearTagsFromUrl:async()=>{let e={...r.currentRoute.value.query};`tags`in e&&(delete e.tags,await r.replace({query:e}))}}},s=t=>{let i=e(`tm::${t.entity}::lastTagsUrlFilters`,`[]`),{getTags:a,...s}=o(),c=n(),l=e=>JSON.stringify(e)!==i.value,u=e=>{i.value=JSON.stringify(e)},d=(e,t)=>{let n=c.getParams(e.getTableWrapperId()),i=(n.filters??[]).filter(e=>!(`tags`in e));return{...n,[r]:t.length?[...i,{tags:{id:{in:t}}}]:i}};return{applyTagsForTable:async(e,t)=>{let n=a(t).map(e=>e.id);l(n)&&e.setIsInit(!1),u(n),c.setParamsByTableData(e.getTableWrapperId(),d(e,n),{})},...s}};export{o as n,s as t}; 2//# sourceMappingURL=CoSk_njG.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.