@kedem/okdb 2.3.5 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +349 -0
  2. package/algorithm-worker-thread.js +1 -1
  3. package/bin/okdb.js +1 -1
  4. package/docs/auth-and-sync.md +28 -4
  5. package/docs/auth-permissions.md +19 -6
  6. package/docs/change-log.md +79 -59
  7. package/docs/data-model.md +20 -18
  8. package/docs/deployment.md +25 -0
  9. package/docs/diagnostics.md +59 -17
  10. package/docs/embeddings.md +57 -6
  11. package/docs/fts.md +50 -5
  12. package/docs/functions.md +21 -8
  13. package/docs/http-api.md +139 -98
  14. package/docs/http-cluster.md +30 -8
  15. package/docs/indexes.md +5 -4
  16. package/docs/logging.md +18 -0
  17. package/docs/migration.md +94 -2
  18. package/docs/pipelines.md +6 -1
  19. package/docs/plugins.md +12 -18
  20. package/docs/process-registry.md +50 -39
  21. package/docs/processors.md +40 -22
  22. package/docs/querying.md +50 -36
  23. package/docs/queue.md +110 -14
  24. package/docs/subscriptions.md +35 -24
  25. package/docs/sync.md +96 -37
  26. package/docs/time-machine.md +23 -17
  27. package/docs/transactions.md +11 -19
  28. package/docs/ttl.md +118 -67
  29. package/docs/upgrade-2.0.md +2 -2
  30. package/docs/views.md +71 -52
  31. package/okdb-functions-sandbox-worker.js +1 -1
  32. package/okdb-http-worker-child.js +1 -1
  33. package/okdb-views-bootstrap-worker.js +1 -1
  34. package/okdb.js +1 -1
  35. package/package.json +1 -1
  36. package/public/sections/db/parts/type-viewer.ok.js +1 -1
  37. package/public/sections/embeddings/parts/engines-overview.ok.js +1 -1
  38. package/public/sections/queue/parts/queue-jobs.ok.js +1 -1
  39. package/public/sections/system/modals/data-ops-modal.ok.js +1 -1
  40. package/types/environment.d.ts +320 -52
  41. package/types/features/admin.d.ts +8 -2
  42. package/types/features/api.d.ts +10 -16
  43. package/types/features/auth.d.ts +135 -16
  44. package/types/features/embeddings.d.ts +639 -31
  45. package/types/features/engines.d.ts +368 -14
  46. package/types/features/files.d.ts +0 -3
  47. package/types/features/fts.d.ts +98 -26
  48. package/types/features/functions.d.ts +175 -15
  49. package/types/features/mcp.d.ts +23 -10
  50. package/types/features/pipelines.d.ts +268 -9
  51. package/types/features/queue.d.ts +230 -34
  52. package/types/features/sync.d.ts +177 -14
  53. package/types/features/time-machine.d.ts +117 -16
  54. package/types/features/views.d.ts +230 -39
  55. package/types/index.d.ts +357 -254
  56. package/types/okdb.d.ts +377 -0
  57. package/types/options.d.ts +309 -48
  58. package/public/test-cron-input.html +0 -60
  59. package/public/test-json-input.html +0 -280
@@ -1 +1 @@
1
- 'use strict';const _0x131c2e=_0x543f;function _0x543f(_0x23f6d1,_0x378d83){_0x23f6d1=_0x23f6d1-0xd4;const _0x55053f=_0x5505();let _0x543f68=_0x55053f[_0x23f6d1];return _0x543f68;}(function(_0x2ef663,_0x43de20){const _0x43fe53=_0x543f,_0x48bc86=_0x2ef663();while(!![]){try{const _0x4692ab=parseInt(_0x43fe53(0x122))/0x1+-parseInt(_0x43fe53(0x116))/0x2+-parseInt(_0x43fe53(0xdc))/0x3*(parseInt(_0x43fe53(0x10c))/0x4)+-parseInt(_0x43fe53(0x107))/0x5*(-parseInt(_0x43fe53(0x113))/0x6)+parseInt(_0x43fe53(0x129))/0x7*(-parseInt(_0x43fe53(0x124))/0x8)+parseInt(_0x43fe53(0xf1))/0x9+-parseInt(_0x43fe53(0xe9))/0xa*(-parseInt(_0x43fe53(0x12f))/0xb);if(_0x4692ab===_0x43de20)break;else _0x48bc86['push'](_0x48bc86['shift']());}catch(_0x421b02){_0x48bc86['push'](_0x48bc86['shift']());}}}(_0x5505,0x44499));function _0x5505(){const _0x16c886=['creating','ref:violation_resolved','5RAtSLt','system:env_release','_prepareViewDict','type:registered','index:drop','672564kNFGrq','stopped','call','ttl:clear','events','bus:poke','_runBootstrapScanPhases','2125806udsSzk','prototype','halted','962256UEsfya','clearTtl','license:invalid','registerType','system:stopped','dropping','postMessage','name','started','waiting','starting','./okdb','155115fUBbBn','bus:proc','152HKVYcf','txn:start','put','dropSchema','resetIndex','88291kEqNIu','license:activated','VIEW_PROGRESS','dropType','stack','worker_threads','592713oOaNzj','message','txn:end','resetFts','txn:rollback','done','bus:type_drop','setTtl','system:clock_change','exports','hasOwnProperty','fts:drop','9BrAOEO','schema:set','fts:registered','__esModule','resetting','setSchema','sync:apply','bus:drain','item:update','item:create','item:remove','bus:env_release','freeze','120TpJNcG','system:proc','_activateViewStorage','system:ready','view:progress','system:bus_state_change','ttl:set','default','3140019qHnIok','index:reset','stopping','env:removed','progress','type:drop','exit','registerFts','license:added','unique:violation_resolved','index:progress','error','index:registered','env:opened','dropFts','ref:violation','ready','system:poke','views','license:removed'];_0x5505=function(){return _0x16c886;};return _0x5505();}var require$$0=require(_0x131c2e(0x12e)),require$$1=require(_0x131c2e(0x121));function getDefaultExportFromCjs(_0x26f9f4){const _0x4f2152=_0x131c2e;return _0x26f9f4&&_0x26f9f4[_0x4f2152(0xdf)]&&Object[_0x4f2152(0x114)][_0x4f2152(0xda)][_0x4f2152(0x10e)](_0x26f9f4,_0x4f2152(0xf0))?_0x26f9f4[_0x4f2152(0xf0)]:_0x26f9f4;}var okdbViewsBootstrapWorker$1={},okdbEnums,hasRequiredOkdbEnums;function requireOkdbEnums(){const _0x3eddb5=_0x131c2e;if(hasRequiredOkdbEnums)return okdbEnums;hasRequiredOkdbEnums=0x1;const _0x25a438={'PUT':_0x3eddb5(0x126),'REMOVE':'remove','INDEX_DROP':'dropIndex','INDEX_REGISTER':'registerIndex','INDEX_RESET':_0x3eddb5(0x128),'TYPE_REGISTER':_0x3eddb5(0x119),'TYPE_DROP':_0x3eddb5(0x12c),'FTS_REGISTER':_0x3eddb5(0xf8),'FTS_DROP':_0x3eddb5(0xff),'FTS_RESET':_0x3eddb5(0x132),'SCHEMA_SET':_0x3eddb5(0xe1),'SCHEMA_DROP':_0x3eddb5(0x127),'TTL_SET':_0x3eddb5(0xd7),'TTL_CLEAR':_0x3eddb5(0x117)},_0x3bbb05={'SYSTEM_READY':_0x3eddb5(0xec),'FIELD_RESOLVER_REGISTERED':'field:resolver_registered','SYSTEM_STOPPED':_0x3eddb5(0x11a),'SYSTEM_CLOCK_CHANGE':_0x3eddb5(0xd8),'SYSTEM_POKE':_0x3eddb5(0x102),'SYSTEM_DRAIN':'system:drain','SYSTEM_TYPE_DROP':'system:type_drop','SYSTEM_PROC':_0x3eddb5(0xea),'SYSTEM_BUS_STATE_CHANGE':_0x3eddb5(0xee),'ITEM_CREATE':_0x3eddb5(0xe5),'ITEM_UPDATE':_0x3eddb5(0xe4),'ITEM_REMOVE':_0x3eddb5(0xe6),'INDEX_RESET':_0x3eddb5(0xf2),'INDEX_READY':'index:ready','INDEX_PROGRESS':_0x3eddb5(0xfb),'VIEW_PROGRESS':_0x3eddb5(0xed),'INDEX_DROP':_0x3eddb5(0x10b),'INDEX_REGISTERED':_0x3eddb5(0xfd),'FTS_REGISTERED':_0x3eddb5(0xde),'FTS_DROP':_0x3eddb5(0xdb),'FTS_RESET':'fts:reset','SCHEMA_SET':_0x3eddb5(0xdd),'SCHEMA_DROP':'schema:drop','UNIQUE_VIOLATION':'unique:violation','UNIQUE_VIOLATION_RESOLVED':_0x3eddb5(0xfa),'REF_VIOLATION':_0x3eddb5(0x100),'REF_VIOLATION_RESOLVED':_0x3eddb5(0x106),'SYNC_APPLY':_0x3eddb5(0xe2),'TXN_START':_0x3eddb5(0x125),'TXN_END':_0x3eddb5(0x131),'TXN_ROLLBACK':_0x3eddb5(0xd4),'TYPE_REGISTERED':_0x3eddb5(0x10a),'TYPE_DROP':_0x3eddb5(0xf6),'ENV_OPENED':_0x3eddb5(0xfe),'ENV_REMOVED':_0x3eddb5(0xf4),'SYSTEM_ENV_RELEASE':_0x3eddb5(0x108),'TTL_EXPIRED':'ttl:expired','TTL_SET':_0x3eddb5(0xef),'TTL_CLEAR':_0x3eddb5(0x10f),'LICENSE_INVALID':_0x3eddb5(0x118),'LICENSE_ADDED':_0x3eddb5(0xf9),'LICENSE_ACTIVATED':_0x3eddb5(0x12a),'LICENSE_REMOVED':_0x3eddb5(0x104)},_0x1b0b6b={'CREATING':_0x3eddb5(0x105),'RESETTING':_0x3eddb5(0xe0),'READY':_0x3eddb5(0x101),'DROPPING':_0x3eddb5(0x11b),'WAITING':_0x3eddb5(0x11f),'ERROR':_0x3eddb5(0xfc)},_0xcc10d6={'CREATED':'created','STARTING':_0x3eddb5(0x120),'STARTED':_0x3eddb5(0x11e),'STOPPING':_0x3eddb5(0xf3),'STOPPED':_0x3eddb5(0x10d)},_0x179b4c={'CREATING':_0x3eddb5(0x105),'READY':_0x3eddb5(0x101),'HALTED':_0x3eddb5(0x115),'STOPPED':'stopped','RESETTING':_0x3eddb5(0xe0)},_0x378511=Object[_0x3eddb5(0xe8)]({'POKE':_0x3eddb5(0x111),'DRAIN':_0x3eddb5(0xe3),'TYPE_DROP':_0x3eddb5(0xd6),'PROC':_0x3eddb5(0x123),'ENV_RELEASE':_0x3eddb5(0xe7)});return okdbEnums={'BUS_EVENTS':_0x378511,'CHANGE_ACTIONS':_0x25a438,'EVENTS':_0x3bbb05,'INDEX_STATE':_0x1b0b6b,'OKDB_STATE':_0xcc10d6,'VIEW_STATE':_0x179b4c},okdbEnums;}var hasRequiredOkdbViewsBootstrapWorker;function requireOkdbViewsBootstrapWorker(){if(hasRequiredOkdbViewsBootstrapWorker)return okdbViewsBootstrapWorker$1;hasRequiredOkdbViewsBootstrapWorker=0x1;const {parentPort:_0x40fe12,workerData:_0x5b8719}=require$$0,_0x565f10=require$$1,{EVENTS:_0x4bd1d9}=requireOkdbEnums();async function _0x3f6672(){const _0x15a5ed=_0x543f,{rootPath:_0x19e708,envName:_0x54b6a1,viewName:_0x57fdc1,definition:_0x2520ed}=_0x5b8719,_0x4b5a85=new _0x565f10(_0x19e708,{'admin':![],'mcp':![],'timeMachine':![],'engines':![],'processors':![],'compaction':![],'_skipBootRuntime':!![],'processes':![]});await _0x4b5a85['open']();const _0x2ad6ba=_0x4b5a85['env'](_0x54b6a1);_0x2ad6ba[_0x15a5ed(0x110)]['on'](_0x4bd1d9[_0x15a5ed(0x12b)],_0x1cc5d1=>{const _0x3160ed=_0x15a5ed;if(_0x1cc5d1?.[_0x3160ed(0x11d)]!==_0x57fdc1)return;try{_0x40fe12['postMessage']({'type':_0x3160ed(0xf5),'event':_0x1cc5d1});}catch{}}),await _0x2ad6ba[_0x15a5ed(0x103)][_0x15a5ed(0x109)](_0x2520ed),await _0x2ad6ba[_0x15a5ed(0x103)][_0x15a5ed(0xeb)](_0x57fdc1,_0x2520ed),await _0x2ad6ba[_0x15a5ed(0x103)][_0x15a5ed(0x112)](_0x57fdc1,_0x2520ed),_0x40fe12['postMessage']({'type':_0x15a5ed(0xd5)}),await _0x4b5a85['close'](),process[_0x15a5ed(0xf7)](0x0);}return _0x3f6672()['catch'](_0x246be5=>{const _0x4f8fad=_0x543f;try{_0x40fe12[_0x4f8fad(0x11c)]({'type':_0x4f8fad(0xfc),'error':_0x246be5[_0x4f8fad(0x130)]??String(_0x246be5),'stack':_0x246be5[_0x4f8fad(0x12d)]});}catch{}process['exit'](0x1);}),okdbViewsBootstrapWorker$1;}var okdbViewsBootstrapWorkerExports=requireOkdbViewsBootstrapWorker(),okdbViewsBootstrapWorker=getDefaultExportFromCjs(okdbViewsBootstrapWorkerExports);module[_0x131c2e(0xd9)]=okdbViewsBootstrapWorker;
1
+ 'use strict';const _0x3f18a5=_0x48f2;(function(_0x16eee9,_0x5831f4){const _0x3599e2=_0x48f2,_0x39fb45=_0x16eee9();while(!![]){try{const _0x4ba972=-parseInt(_0x3599e2(0xa3))/0x1*(-parseInt(_0x3599e2(0xb3))/0x2)+parseInt(_0x3599e2(0xcf))/0x3+-parseInt(_0x3599e2(0x86))/0x4+-parseInt(_0x3599e2(0xba))/0x5+parseInt(_0x3599e2(0xa6))/0x6+-parseInt(_0x3599e2(0xbf))/0x7+parseInt(_0x3599e2(0x91))/0x8*(parseInt(_0x3599e2(0x8d))/0x9);if(_0x4ba972===_0x5831f4)break;else _0x39fb45['push'](_0x39fb45['shift']());}catch(_0x5e30fd){_0x39fb45['push'](_0x39fb45['shift']());}}}(_0x1adb,0x977b3));var require$$0=require('worker_threads'),require$$1=require(_0x3f18a5(0xcd));function _0x1adb(){const _0xe73346=['./okdb','system:clock_change','3082008GTUocO','_bootstrapCancelRequested','created','type','exports','ready','views','type:registered','item:pending','unref','bus:proc','system:stopped','dropIndex','dropFts','unique:violation_resolved','code','field:resolver_registered','schema:drop','system:drain','index:progress','registerFts','fts:registered','3433140qoGUqV','race','registerType','bus:env_release','index:drop','license:invalid','system:proc','706059gRjKod','bus:type_drop','waiting','message','72JHnnPk','fts:reset','clearTtl','ref:violation','stopped','txn:end','cancelled','type:drop','index:ready','VIEW_PROGRESS','resetting','license:activated','system:ready','error','postMessage','creating','txn:start','dropping','2666JwNLqi','_prepareViewDict','item:update','1354602eukoFi','stopping','system:env_release','env','resetIndex','schema:set','open','resetFts','exit','index:reset','VIEW_BOOTSTRAP_CANCELLED','cancel','freeze','146ssWVkP','name','setTtl','put','index:registered','stack','fts:drop','455005pWBxlA','prototype','started','dropType','txn:rollback','4088189cVxNxv','dropSchema','item:remove','sync:apply','call','license:added','ref:violation_resolved','_runBootstrapScanPhases','default','_activateViewStorage','env:removed','system:type_drop','done','item:create'];_0x1adb=function(){return _0xe73346;};return _0x1adb();}function getDefaultExportFromCjs(_0x73c908){const _0x587d7a=_0x3f18a5;return _0x73c908&&_0x73c908['__esModule']&&Object[_0x587d7a(0xbb)]['hasOwnProperty'][_0x587d7a(0xc3)](_0x73c908,_0x587d7a(0xc7))?_0x73c908['default']:_0x73c908;}var okdbViewsBootstrapWorker$1={},okdbEnums,hasRequiredOkdbEnums;function requireOkdbEnums(){const _0x27dd4a=_0x3f18a5;if(hasRequiredOkdbEnums)return okdbEnums;hasRequiredOkdbEnums=0x1;const _0x3b65ae={'PUT':_0x27dd4a(0xb6),'REMOVE':'remove','INDEX_DROP':_0x27dd4a(0xdb),'INDEX_REGISTER':'registerIndex','INDEX_RESET':_0x27dd4a(0xaa),'TYPE_REGISTER':_0x27dd4a(0x88),'TYPE_DROP':_0x27dd4a(0xbd),'FTS_REGISTER':_0x27dd4a(0x84),'FTS_DROP':_0x27dd4a(0xdc),'FTS_RESET':_0x27dd4a(0xad),'SCHEMA_SET':'setSchema','SCHEMA_DROP':_0x27dd4a(0xc0),'TTL_SET':_0x27dd4a(0xb5),'TTL_CLEAR':_0x27dd4a(0x93)},_0x94f82={'SYSTEM_READY':_0x27dd4a(0x9d),'FIELD_RESOLVER_REGISTERED':_0x27dd4a(0xdf),'SYSTEM_STOPPED':_0x27dd4a(0xda),'SYSTEM_CLOCK_CHANGE':_0x27dd4a(0xce),'SYSTEM_POKE':'system:poke','SYSTEM_DRAIN':_0x27dd4a(0xe1),'SYSTEM_TYPE_DROP':_0x27dd4a(0xca),'SYSTEM_PROC':_0x27dd4a(0x8c),'SYSTEM_BUS_STATE_CHANGE':'system:bus_state_change','ITEM_CREATE':_0x27dd4a(0xcc),'ITEM_UPDATE':_0x27dd4a(0xa5),'ITEM_REMOVE':_0x27dd4a(0xc1),'ITEM_PENDING':_0x27dd4a(0xd7),'INDEX_RESET':_0x27dd4a(0xaf),'INDEX_READY':_0x27dd4a(0x99),'INDEX_PROGRESS':_0x27dd4a(0x83),'VIEW_PROGRESS':'view:progress','INDEX_DROP':_0x27dd4a(0x8a),'INDEX_REGISTERED':_0x27dd4a(0xb7),'FTS_REGISTERED':_0x27dd4a(0x85),'FTS_DROP':_0x27dd4a(0xb9),'FTS_RESET':_0x27dd4a(0x92),'SCHEMA_SET':_0x27dd4a(0xab),'SCHEMA_DROP':_0x27dd4a(0xe0),'UNIQUE_VIOLATION':'unique:violation','UNIQUE_VIOLATION_RESOLVED':_0x27dd4a(0xdd),'REF_VIOLATION':_0x27dd4a(0x94),'REF_VIOLATION_RESOLVED':_0x27dd4a(0xc5),'SYNC_APPLY':_0x27dd4a(0xc2),'TXN_START':_0x27dd4a(0xa1),'TXN_END':_0x27dd4a(0x96),'TXN_ROLLBACK':_0x27dd4a(0xbe),'TYPE_REGISTERED':_0x27dd4a(0xd6),'TYPE_DROP':_0x27dd4a(0x98),'ENV_OPENED':'env:opened','ENV_REMOVED':_0x27dd4a(0xc9),'SYSTEM_ENV_RELEASE':_0x27dd4a(0xa8),'TTL_EXPIRED':'ttl:expired','TTL_SET':'ttl:set','TTL_CLEAR':'ttl:clear','LICENSE_INVALID':_0x27dd4a(0x8b),'LICENSE_ADDED':_0x27dd4a(0xc4),'LICENSE_ACTIVATED':_0x27dd4a(0x9c),'LICENSE_REMOVED':'license:removed'},_0x111908={'CREATING':_0x27dd4a(0xa0),'RESETTING':_0x27dd4a(0x9b),'READY':_0x27dd4a(0xd4),'DROPPING':_0x27dd4a(0xa2),'WAITING':_0x27dd4a(0x8f),'ERROR':_0x27dd4a(0x9e)},_0x22b789={'CREATED':_0x27dd4a(0xd1),'STARTING':'starting','STARTED':_0x27dd4a(0xbc),'STOPPING':_0x27dd4a(0xa7),'STOPPED':_0x27dd4a(0x95)},_0x375b3c={'CREATING':_0x27dd4a(0xa0),'READY':_0x27dd4a(0xd4),'HALTED':'halted','STOPPED':'stopped','RESETTING':_0x27dd4a(0x9b)},_0x580b4d=Object[_0x27dd4a(0xb2)]({'POKE':'bus:poke','DRAIN':'bus:drain','TYPE_DROP':_0x27dd4a(0x8e),'PROC':_0x27dd4a(0xd9),'ENV_RELEASE':_0x27dd4a(0x89)});return okdbEnums={'BUS_EVENTS':_0x580b4d,'CHANGE_ACTIONS':_0x3b65ae,'EVENTS':_0x94f82,'INDEX_STATE':_0x111908,'OKDB_STATE':_0x22b789,'VIEW_STATE':_0x375b3c},okdbEnums;}var hasRequiredOkdbViewsBootstrapWorker;function _0x48f2(_0x1edb8b,_0x1d3358){_0x1edb8b=_0x1edb8b-0x83;const _0x1adb21=_0x1adb();let _0x48f2c6=_0x1adb21[_0x1edb8b];return _0x48f2c6;}function requireOkdbViewsBootstrapWorker(){const _0x486e5d=_0x3f18a5;if(hasRequiredOkdbViewsBootstrapWorker)return okdbViewsBootstrapWorker$1;hasRequiredOkdbViewsBootstrapWorker=0x1;const {parentPort:_0x36f530,workerData:_0x3ad1a8}=require$$0,_0x2f6046=require$$1,{EVENTS:_0xa001e}=requireOkdbEnums();let _0x3664c7=![];_0x36f530['on'](_0x486e5d(0x90),_0x1269a8=>{const _0x327f2d=_0x486e5d;if(_0x1269a8?.[_0x327f2d(0xd2)]===_0x327f2d(0xb1))_0x3664c7=!![];});let _0x31d6a7=null;async function _0x221b06(){const _0x16d189=_0x486e5d,_0x51993f=_0x31d6a7;_0x31d6a7=null;if(!_0x51993f)return;try{await Promise[_0x16d189(0x87)]([_0x51993f['close'](),new Promise(_0x29a2d0=>setTimeout(_0x29a2d0,0x1388)[_0x16d189(0xd8)]())]);}catch{}}async function _0x46047b(){const _0x2b2d59=_0x486e5d,{rootPath:_0x27711e,envName:_0x4fd600,viewName:_0x4d3a3f,definition:_0x257051,startClock:_0x552aeb}=_0x3ad1a8;_0x31d6a7=new _0x2f6046(_0x27711e,{'admin':![],'mcp':![],'timeMachine':![],'engines':![],'processors':![],'compaction':![],'_skipBootRuntime':!![],'processes':![]}),await _0x31d6a7[_0x2b2d59(0xac)]();if(_0x3664c7)return'cancelled';const _0x5cc10b=_0x31d6a7[_0x2b2d59(0xa9)](_0x4fd600);return _0x5cc10b[_0x2b2d59(0xd5)][_0x2b2d59(0xd0)]=()=>_0x3664c7,_0x5cc10b['events']['on'](_0xa001e[_0x2b2d59(0x9a)],_0x5b813a=>{const _0x255b7b=_0x2b2d59;if(_0x5b813a?.[_0x255b7b(0xb4)]!==_0x4d3a3f)return;try{_0x36f530[_0x255b7b(0x9f)]({'type':'progress','event':_0x5b813a});}catch{}}),await _0x5cc10b['views'][_0x2b2d59(0xa4)](_0x257051),await _0x5cc10b['views'][_0x2b2d59(0xc8)](_0x4d3a3f,_0x257051),await _0x5cc10b[_0x2b2d59(0xd5)][_0x2b2d59(0xc6)](_0x4d3a3f,_0x257051,{'startClock':_0x552aeb}),_0x2b2d59(0xcb);}return _0x46047b()['then'](async _0x1e94c5=>{const _0x194e5f=_0x486e5d;await _0x221b06();try{_0x36f530[_0x194e5f(0x9f)]({'type':_0x1e94c5});}catch{}process['exit'](0x0);},async _0x2e278b=>{const _0x21e247=_0x486e5d;await _0x221b06();const _0x9a8d9a=_0x2e278b?.[_0x21e247(0xde)]===_0x21e247(0xb0);try{_0x36f530[_0x21e247(0x9f)](_0x9a8d9a?{'type':_0x21e247(0x97)}:{'type':_0x21e247(0x9e),'error':_0x2e278b?.[_0x21e247(0x90)]??String(_0x2e278b),'stack':_0x2e278b?.[_0x21e247(0xb8)]});}catch{}process[_0x21e247(0xae)](_0x9a8d9a?0x0:0x1);}),okdbViewsBootstrapWorker$1;}var okdbViewsBootstrapWorkerExports=requireOkdbViewsBootstrapWorker(),okdbViewsBootstrapWorker=getDefaultExportFromCjs(okdbViewsBootstrapWorkerExports);module[_0x3f18a5(0xd3)]=okdbViewsBootstrapWorker;