PageSourceSearch

https://app.textmagic.com/assets/CFb7PzL_2.js

js textmagic.com collected 2026-09-24 08:32:14 UTC 3,972 bytes, 2 lines download raw bytes

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]=`d1110354-3c27-4b18-a59a-03bbd65b9e4f`,e._sentryDebugIdIdentifier=`sentry-dbid-d1110354-3c27-4b18-a59a-03bbd65b9e4f`)}catch{}})();import{cr as e}from"./DLkVZSuR.js";import{E as t,Ft as n,H as r,Mt as i,kt as a,yt as o}from"./B_mscWxu.js";import"./Cf_pgd7T.js";import{Hd as s,Ht as c,Vt as l,ms as u,ps as d}from"./BmC5PC1V.js";import{t as f}from"./B4xeZWeb2.js";a(),r();function p(e){try{return d().getService(e).getDomainRepository()}catch{return u().getRepository(e)}}function m({listId:e,entity:t,tableConstructor:n,paginationSettings:r,filterFactory:i,subscriptions:a,withRelations:o,paginatorFactory:s,gridService:u,reloadOnSubscription:d,savePagination:p,defaultSorter:m,schemaEndpoint:g,sortEntityName:_,excludeRelatedModels:v,beforeRefreshRowsBySubscriptionHook:y,fastInsert:b,canBeRestored:x,ignoreRefreshRowsOnSubscriptions:S,tableWrapperParamsToSave:C,isSilentRefreshRowsOnSubscriptions:w,isRowOrderByPageNumber:T,variablePagination:E}){let{id:D,initLoading:O}=f({tableModelId:e,entity:t,columnFactory:`NoColumnsServiceFactory`,supportedSearchFilters:[],paginationSettings:r,tableConstructor:c(n??l,{reloadOnSubscriptions:d??!1,savePagination:p??!1,ignoreRefreshRowsOnSubscriptions:S??!1,beforeRefreshRowsBySubscriptionHook:y,isSilentRefreshRowsOnSubscriptions:w,isRowOrderByPageNumber:T}),filterFactory:i,subscriptions:a,paginatorFactory:s,gridService:u,defaultSorter:m,schemaEndpoint:g,sortEntityName:_,excludeRelatedModels:v,fastInsert:b,canBeRestored:x,tableWrapperParamsToSave:C,variablePagination:E});return{listServiceId:D,initLoading:O,...h(D,t,{withRelations:o})}}function h(r,a,{withRelations:c=[]}={}){let l=p(a),u=s().getTable(r),d=t(()=>u.getSearch().getSearchQuery()),f=async e=>{u.search(e)},m=e(f,1e3);i(()=>{m.cancel()});let h=t(()=>{let e=u.getCurrentPageRowsIds();return l.query().with(c).whereIdIn(e).get()}),g=t(()=>u.getPrependedIds()),_=t(()=>u.getPagination().getTotal()+g.value.length),v=t(()=>u.getPagination().getTotal()),y=t(()=>u.getCurrentPageRowsIds()),b=n(!1),x=()=>{u.nextPage(),b.value=!0},S=t(()=>!!(d.value&&!u.isLoading()&&!h.value.length)),C=t(()=>u.isLoading());o(C,e=>{e||(b.value=!1)});let w=t(()=>u.getPagination().getPerPage()),T=(e,t)=>u.refreshRows({isSilent:e,isReset:t}),E=t(()=>u.getSelectedRowsIds()),D=e=>u.isSelectedRow(e),O=e=>u.selectRows(e),k=e=>u.unselectRows(e),A=()=>u.getPagination().moveToFirstPage(),j=t(()=>u.isEmptyState()),M=e=>u.prependRecords(e);return{items:h,hasMore:t(()=>{let e=u.getPagination().getData();return e?.page<e?.pageCount}),data:t(()=>u.getPagination().getData()),getMore:x,getMoreWithLoadingPromise:()=>new Promise(e=>{let t=o(C,n=>{n||(t(),e())});x()}),searchQuery:d,onSearch:f,onSearchDebounced:m,isNoResults:S,isLoading:C,isNextPageLoading:b,perPage:w,totalCount:_,totalCountWithoutPrepended:v,prependedIds:g,selectedItemIds:E,isSelectedItem:D,selectItem:O,unselectItem:k,prependRecords:M,refresh:T,moveToFirstPage:A,isEmptyState:j,service:u,handleDeleteItem:async(e,t=!0)=>{b.value=!0;try{if(!await e())return;let n=+u.getPagination().getData().lastId;u.getPagination().setLastId(`${Math.max(0,n-1)}`),await u.updateTotalCount(),t&&await T(!1,!1)}finally{b.value=!1}},handleAddItem:async(e,t)=>{b.value=!0;try{M([await e()]),await u.updateTotalCount(),t&&await T(!1,!1)}finally{b.value=!1}},currentPageRowsIds:y}}export{h as n,m as t};
2//# sourceMappingURL=CFb7PzL_2.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.