@kedem/okdb 1.0.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 (260) hide show
  1. package/LICENSE +57 -0
  2. package/README.md +344 -0
  3. package/banner.jpg +0 -0
  4. package/bin/okdb.js +2 -0
  5. package/docs/OKDB-ARCHITECTURE.md +1036 -0
  6. package/docs/auth-and-sync.md +558 -0
  7. package/docs/auth-permissions.md +143 -0
  8. package/docs/change-log.md +169 -0
  9. package/docs/data-model.md +174 -0
  10. package/docs/embeddings.md +338 -0
  11. package/docs/files.md +131 -0
  12. package/docs/fts.md +139 -0
  13. package/docs/functions.md +514 -0
  14. package/docs/getting-started.md +233 -0
  15. package/docs/http-api.md +705 -0
  16. package/docs/index.md +115 -0
  17. package/docs/indexes.md +207 -0
  18. package/docs/logging.md +116 -0
  19. package/docs/manifest.json +38 -0
  20. package/docs/migration.md +154 -0
  21. package/docs/pipelines.md +598 -0
  22. package/docs/plugins.md +144 -0
  23. package/docs/querying.md +204 -0
  24. package/docs/queue.md +637 -0
  25. package/docs/sync.md +156 -0
  26. package/docs/transactions.md +140 -0
  27. package/docs/ttl.md +375 -0
  28. package/okdb.js +1 -0
  29. package/package.json +26 -0
  30. package/public/admin-app.js +1 -0
  31. package/public/android-chrome-192x192.png +0 -0
  32. package/public/android-chrome-512x512.png +0 -0
  33. package/public/apple-touch-icon.png +0 -0
  34. package/public/components/admin-route-host.ok.js +1 -0
  35. package/public/components/env-picker.ok.js +1 -0
  36. package/public/components/field-path-input.ok.js +1 -0
  37. package/public/components/field.html +6 -0
  38. package/public/components/geo-map.ok.js +1 -0
  39. package/public/components/ok-cron-input.ok.js +1 -0
  40. package/public/components/ok-dropzone.ok.js +1 -0
  41. package/public/components/ok-js-input.ok.js +1 -0
  42. package/public/components/ok-json-input.ok.js +1 -0
  43. package/public/components/ok-text-monaco-input.ok.js +1 -0
  44. package/public/components/theme-toggle.ok.js +1 -0
  45. package/public/favicon-16x16.png +0 -0
  46. package/public/favicon-32x32.png +0 -0
  47. package/public/favicon.ico +0 -0
  48. package/public/images/logo.png +0 -0
  49. package/public/images/logo.svg +333 -0
  50. package/public/index.html +6 -0
  51. package/public/layouts/_default.ok.html +1 -0
  52. package/public/layouts/okdb-cube.ok.html +1 -0
  53. package/public/login-app.js +1 -0
  54. package/public/login.html +1 -0
  55. package/public/modules/ok.js +1 -0
  56. package/public/sections/api/index.ok.html +1 -0
  57. package/public/sections/api/parts/api-endpoint.ok.js +1 -0
  58. package/public/sections/auth/index.ok.html +1 -0
  59. package/public/sections/auth/modals/create-token-modal.ok.js +1 -0
  60. package/public/sections/auth/modals/edit-token-modal.ok.js +1 -0
  61. package/public/sections/auth/modals/perm-info-popover.ok.js +1 -0
  62. package/public/sections/auth/parts/token-detail.ok.js +1 -0
  63. package/public/sections/auth/parts/token-list.ok.js +1 -0
  64. package/public/sections/db/index.ok.html +1 -0
  65. package/public/sections/db/modals/add-item-modal.ok.js +1 -0
  66. package/public/sections/db/modals/create-env-modal.ok.js +1 -0
  67. package/public/sections/db/modals/create-fts-modal.ok.js +1 -0
  68. package/public/sections/db/modals/create-index-modal.ok.js +1 -0
  69. package/public/sections/db/modals/create-pipeline-modal.ok.js +1 -0
  70. package/public/sections/db/modals/demo-env-modal.ok.js +1 -0
  71. package/public/sections/db/modals/remove-env-modal.ok.js +1 -0
  72. package/public/sections/db/modals/schema-edit-modal.ok.js +1 -0
  73. package/public/sections/db/parts/db-overview.ok.js +1 -0
  74. package/public/sections/db/parts/db-pipelines-panel.ok.js +1 -0
  75. package/public/sections/db/parts/edit-row.ok.js +1 -0
  76. package/public/sections/db/parts/tm-timeline.ok.js +1 -0
  77. package/public/sections/db/parts/type-changelog.ok.js +1 -0
  78. package/public/sections/db/parts/type-list.ok.js +1 -0
  79. package/public/sections/db/parts/type-pipelines-tab.ok.js +1 -0
  80. package/public/sections/db/parts/type-schema-tab.ok.js +1 -0
  81. package/public/sections/db/parts/type-viewer.ok.js +1 -0
  82. package/public/sections/db/parts/type-violations-tab.ok.js +1 -0
  83. package/public/sections/docs/index.ok.html +1 -0
  84. package/public/sections/embeddings/index.ok.html +1 -0
  85. package/public/sections/embeddings/modals/register-model-modal.ok.js +1 -0
  86. package/public/sections/embeddings/parts/embed-create-panel.ok.js +1 -0
  87. package/public/sections/embeddings/parts/embed-embedder-panel.ok.js +1 -0
  88. package/public/sections/embeddings/parts/embed-engine-declaration-editor.ok.js +1 -0
  89. package/public/sections/embeddings/parts/embed-engine-list.ok.js +1 -0
  90. package/public/sections/embeddings/parts/embed-indexer-panel.ok.js +1 -0
  91. package/public/sections/embeddings/parts/embed-lifecycle-bar.ok.js +1 -0
  92. package/public/sections/embeddings/parts/embed-model-catalog.ok.js +1 -0
  93. package/public/sections/embeddings/parts/embed-overview.ok.js +1 -0
  94. package/public/sections/embeddings/parts/embed-search-panel.ok.js +1 -0
  95. package/public/sections/embeddings/parts/embed-worker-panel.ok.js +1 -0
  96. package/public/sections/embeddings/parts/embeddings-engine-panel.ok.js +1 -0
  97. package/public/sections/embeddings/parts/engines-overview.ok.js +1 -0
  98. package/public/sections/embeddings/parts/pipeline-create-panel.ok.js +1 -0
  99. package/public/sections/engines/engine-panel-shared-style.js +1 -0
  100. package/public/sections/engines/engine-ui-utils.js +1 -0
  101. package/public/sections/engines/index.ok.html +1 -0
  102. package/public/sections/engines/modals/engine-modal.ok.js +1 -0
  103. package/public/sections/engines/parts/engine-declaration-editor.ok.js +1 -0
  104. package/public/sections/engines/parts/engine-lifecycle-actions.ok.js +1 -0
  105. package/public/sections/engines/parts/engine-panel-shell.ok.js +1 -0
  106. package/public/sections/engines/parts/engine-resource-card.ok.js +1 -0
  107. package/public/sections/engines/parts/engine-row-item.ok.js +1 -0
  108. package/public/sections/engines/parts/generic-engine-panel.ok.js +1 -0
  109. package/public/sections/files/index.ok.html +1 -0
  110. package/public/sections/files/parts/files-blob-status.ok.js +1 -0
  111. package/public/sections/files/parts/files-collection-list.ok.js +1 -0
  112. package/public/sections/files/parts/files-collection-panel.ok.js +1 -0
  113. package/public/sections/files/parts/files-file-list.ok.js +1 -0
  114. package/public/sections/files/parts/files-overview.ok.js +1 -0
  115. package/public/sections/files/parts/files-path-browser.ok.js +1 -0
  116. package/public/sections/files/parts/files-upload-panel.ok.js +1 -0
  117. package/public/sections/functions/index.ok.html +1 -0
  118. package/public/sections/functions/modals/function-modal.ok.js +1 -0
  119. package/public/sections/functions/parts/function-detail.ok.js +1 -0
  120. package/public/sections/functions/parts/function-logs.ok.js +1 -0
  121. package/public/sections/functions/parts/function-runner.ok.js +1 -0
  122. package/public/sections/functions/parts/functions-list.ok.js +1 -0
  123. package/public/sections/license/index.ok.html +1 -0
  124. package/public/sections/license/parts/license-panel.ok.js +1 -0
  125. package/public/sections/processors/index.ok.html +1 -0
  126. package/public/sections/queue/index.ok.html +1 -0
  127. package/public/sections/queue/modals/create-bucket-modal.ok.js +1 -0
  128. package/public/sections/queue/modals/edit-bucket-modal.ok.js +1 -0
  129. package/public/sections/queue/modals/edit-job-modal.ok.js +1 -0
  130. package/public/sections/queue/modals/enqueue-job-modal.ok.js +1 -0
  131. package/public/sections/queue/modals/job-type-modal.ok.js +1 -0
  132. package/public/sections/queue/parts/ok-job-form.ok.js +1 -0
  133. package/public/sections/queue/parts/queue-buckets.ok.js +1 -0
  134. package/public/sections/queue/parts/queue-job-types.ok.js +1 -0
  135. package/public/sections/queue/parts/queue-jobs.ok.js +1 -0
  136. package/public/sections/queue/parts/queue-types.ok.js +1 -0
  137. package/public/sections/queue/parts/queue-workers.ok.js +1 -0
  138. package/public/sections/sync/index.ok.html +5 -0
  139. package/public/sections/sync/parts/sync-node-detail.ok.js +1 -0
  140. package/public/sections/sync/parts/sync-retention.ok.js +1 -0
  141. package/public/sections/sync/parts/sync-topology.ok.js +1 -0
  142. package/public/sections/system/index.ok.html +1 -0
  143. package/public/sections/system/modals/data-ops-modal.ok.js +1 -0
  144. package/public/sections/system/parts/system-api-panel.ok.js +1 -0
  145. package/public/sections/system/parts/system-auth-panel.ok.js +1 -0
  146. package/public/sections/system/parts/system-log-history.ok.js +1 -0
  147. package/public/sections/system/parts/system-log.ok.js +1 -0
  148. package/public/sections/system/parts/system-status.ok.js +1 -0
  149. package/public/sections/system/parts/system-sync-panel.ok.js +1 -0
  150. package/public/sections/views/index.ok.html +1 -0
  151. package/public/sections/views/modals/create-view-modal.ok.js +1 -0
  152. package/public/sections/views/parts/view-detail.ok.js +1 -0
  153. package/public/sections/views/parts/views-list.ok.js +1 -0
  154. package/public/sections/views/parts/views-overview.ok.js +1 -0
  155. package/public/setup-app.js +1 -0
  156. package/public/setup.html +1 -0
  157. package/public/site.webmanifest +1 -0
  158. package/public/stores/auth-store.js +1 -0
  159. package/public/stores/events-store.js +1 -0
  160. package/public/stores/functions-store.js +1 -0
  161. package/public/stores/okdb-store.js +1 -0
  162. package/public/stores/theme-store.js +1 -0
  163. package/public/styles.css +1 -0
  164. package/public/test-cron-input.html +10 -0
  165. package/public/test-json-input.html +101 -0
  166. package/public/util/permissions.js +1 -0
  167. package/public/util/sift-schema.js +1 -0
  168. package/public/vendor/okjs/ok.esm.min.js +2 -0
  169. package/public/vendor/okjs/toolkit/behavior/async.ok.js +1 -0
  170. package/public/vendor/okjs/toolkit/components/ok-chart.ok.js +1 -0
  171. package/public/vendor/okjs/toolkit/components/ok-doc-viewer.ok.js +1 -0
  172. package/public/vendor/okjs/toolkit/components/ok-marked.ok.js +1 -0
  173. package/public/vendor/okjs/toolkit/components/ok-monaco.ok.js +1 -0
  174. package/public/vendor/okjs/toolkit/core/ok-layer-service.ok.js +1 -0
  175. package/public/vendor/okjs/toolkit/core/ok-layer.ok.js +1 -0
  176. package/public/vendor/okjs/toolkit/core/ok-overlay.ok.js +1 -0
  177. package/public/vendor/okjs/toolkit/core/ok-sandbox.ok.js +1 -0
  178. package/public/vendor/okjs/toolkit/core/transition.ok.js +1 -0
  179. package/public/vendor/okjs/toolkit/core/virtualized.ok.js +1 -0
  180. package/public/vendor/okjs/toolkit/devtools/ok-console-service.ok.js +1 -0
  181. package/public/vendor/okjs/toolkit/devtools/ok-console.ok.js +1 -0
  182. package/public/vendor/okjs/toolkit/devtools/ok-fps-monitor-service.ok.js +1 -0
  183. package/public/vendor/okjs/toolkit/devtools/ok-fps-monitor.ok.js +1 -0
  184. package/public/vendor/okjs/toolkit/devtools/ok-inspector-service.ok.js +1 -0
  185. package/public/vendor/okjs/toolkit/devtools/ok-inspector.ok.js +1 -0
  186. package/public/vendor/okjs/toolkit/devtools/ok-js-tree.ok.js +1 -0
  187. package/public/vendor/okjs/toolkit/devtools/ok-timeline-service.ok.js +1 -0
  188. package/public/vendor/okjs/toolkit/devtools/ok-timeline.ok.js +1 -0
  189. package/public/vendor/okjs/toolkit/docs/doc-viewer.ok.js +1 -0
  190. package/public/vendor/okjs/toolkit/editor/ok-live-component.ok.js +1 -0
  191. package/public/vendor/okjs/toolkit/editor/ok-live-example.ok.js +1 -0
  192. package/public/vendor/okjs/toolkit/editor/ok-live-shell.ok.js +1 -0
  193. package/public/vendor/okjs/toolkit/elements/ok-dropdown.ok.js +1 -0
  194. package/public/vendor/okjs/toolkit/elements/ok-icon.ok.js +1 -0
  195. package/public/vendor/okjs/toolkit/elements/ok-select.ok.js +1 -0
  196. package/public/vendor/okjs/toolkit/elements/ok-table.ok.js +1 -0
  197. package/public/vendor/okjs/toolkit/errors/ok-crash-boundary.ok.js +1 -0
  198. package/public/vendor/okjs/toolkit/errors/ok-crash-info.ok.js +1 -0
  199. package/public/vendor/okjs/toolkit/i18n/i18n-editor-examples.ok.js +1 -0
  200. package/public/vendor/okjs/toolkit/i18n/i18n-editor.ok.js +1 -0
  201. package/public/vendor/okjs/toolkit/i18n/i18n-key-editor-tips.ok.js +1 -0
  202. package/public/vendor/okjs/toolkit/i18n/i18n-key-editor.ok.js +1 -0
  203. package/public/vendor/okjs/toolkit/i18n/i18n-service.ok.js +1 -0
  204. package/public/vendor/okjs/toolkit/i18n/ok-i18n.js +1 -0
  205. package/public/vendor/okjs/toolkit/interaction/ok-contextmenu.ok.js +1 -0
  206. package/public/vendor/okjs/toolkit/interaction/ok-dismiss-service.ok.js +1 -0
  207. package/public/vendor/okjs/toolkit/interaction/ok-draggable.ok.js +1 -0
  208. package/public/vendor/okjs/toolkit/interaction/ok-flyover-panel.ok.js +1 -0
  209. package/public/vendor/okjs/toolkit/interaction/ok-flyover.ok.js +1 -0
  210. package/public/vendor/okjs/toolkit/interaction/ok-highlight-service.ok.js +1 -0
  211. package/public/vendor/okjs/toolkit/interaction/ok-highlight.ok.js +1 -0
  212. package/public/vendor/okjs/toolkit/interaction/ok-hotkeys-service.ok.js +1 -0
  213. package/public/vendor/okjs/toolkit/interaction/ok-picker-service.ok.js +1 -0
  214. package/public/vendor/okjs/toolkit/interaction/ok-popout-service.ok.js +1 -0
  215. package/public/vendor/okjs/toolkit/interaction/ok-popout.ok.js +1 -0
  216. package/public/vendor/okjs/toolkit/interaction/ok-portal-service.ok.js +1 -0
  217. package/public/vendor/okjs/toolkit/interaction/ok-submenu.ok.js +1 -0
  218. package/public/vendor/okjs/toolkit/layout/ok-resizer.ok.js +1 -0
  219. package/public/vendor/okjs/toolkit/manifest.js +1 -0
  220. package/public/vendor/okjs/toolkit/modals/ok-modal-service.ok.js +1 -0
  221. package/public/vendor/okjs/toolkit/modals/ok-modal.ok.js +1 -0
  222. package/public/vendor/okjs/toolkit/modals/ok-toast-service.ok.js +1 -0
  223. package/public/vendor/okjs/toolkit/modals/ok-window.ok.js +1 -0
  224. package/public/vendor/okjs/toolkit/navigation/hash-router.ok.js +1 -0
  225. package/public/vendor/okjs/toolkit/navigation/history-router.ok.js +1 -0
  226. package/public/vendor/okjs/toolkit/navigation/router.ok.js +1 -0
  227. package/public/vendor/okjs/toolkit/sync/reactive-sync-service.ok.js +1 -0
  228. package/public/vendor/okjs/toolkit/sync/reactive-sync.js +1 -0
  229. package/public/vendor/okjs/toolkit/theming/blocks/ok-design-button.css.js +1 -0
  230. package/public/vendor/okjs/toolkit/theming/blocks/ok-design-input.css.js +1 -0
  231. package/public/vendor/okjs/toolkit/theming/ok-design-style.js +1 -0
  232. package/public/vendor/okjs/toolkit/theming/ok-design-vars.js +1 -0
  233. package/public/vendor/okjs/toolkit/theming/ok-design.ok.js +1 -0
  234. package/public/vendor/okjs/toolkit/theming/ok-theme-editor/ok-theme-editor-input.ok.js +1 -0
  235. package/public/vendor/okjs/toolkit/theming/ok-theme-editor/ok-theme-editor-service.ok.js +1 -0
  236. package/public/vendor/okjs/toolkit/theming/ok-theme-editor/ok-theme-editor-style.js +1 -0
  237. package/public/vendor/okjs/toolkit/theming/ok-theme-editor/ok-theme-editor-utils.js +1 -0
  238. package/public/vendor/okjs/toolkit/theming/ok-theme-editor/ok-theme-editor-variable.ok.js +1 -0
  239. package/public/vendor/okjs/toolkit/theming/ok-theme-editor/ok-theme-editor-vm.js +1 -0
  240. package/public/vendor/okjs/toolkit/theming/ok-theme-editor/ok-theme-editor.ok.js +1 -0
  241. package/public/vendor/okjs/toolkit/theming/ok-theme.ok.js +1 -0
  242. package/public/view-models/type-query-vm.js +1 -0
  243. package/types/environment.d.ts +130 -0
  244. package/types/errors.d.ts +98 -0
  245. package/types/features/admin.d.ts +4 -0
  246. package/types/features/api.d.ts +18 -0
  247. package/types/features/auth.d.ts +31 -0
  248. package/types/features/embeddings.d.ts +39 -0
  249. package/types/features/engines.d.ts +23 -0
  250. package/types/features/files.d.ts +29 -0
  251. package/types/features/fts.d.ts +25 -0
  252. package/types/features/functions.d.ts +23 -0
  253. package/types/features/mcp.d.ts +17 -0
  254. package/types/features/pipelines.d.ts +19 -0
  255. package/types/features/queue.d.ts +189 -0
  256. package/types/features/sync.d.ts +34 -0
  257. package/types/features/time-machine.d.ts +32 -0
  258. package/types/features/views.d.ts +16 -0
  259. package/types/index.d.ts +153 -0
  260. package/types/options.d.ts +202 -0
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@kedem/okdb",
3
+ "version": "1.0.0",
4
+ "description": "A lightweight key-value database",
5
+ "license": "SEE LICENSE IN LICENSE",
6
+ "engines": {
7
+ "node": ">=18"
8
+ },
9
+ "main": "okdb.js",
10
+ "types": "./types/index.d.ts",
11
+ "bin": {
12
+ "okdb": "./bin/okdb.js"
13
+ },
14
+ "scripts": {
15
+ "start": "node bin/okdb.js"
16
+ },
17
+ "dependencies": {
18
+ "croner": "^10.0.1",
19
+ "hnswlib-node": "^3.0.0",
20
+ "lmdb": "^3.5.1",
21
+ "shmbuf": "^0.1.0",
22
+ "sift": "^17.1.3",
23
+ "usearch": "^2.25.1",
24
+ "uuid": "^11.0.3"
25
+ }
26
+ }
@@ -0,0 +1 @@
1
+ function _0x3aab(){const _0x1a6153=['editor','ADMIN_API','setTheme','monaco','okdb','init','./session','stores','__ENV__','./setup.html','API','198zLmhEE','19DXUMnk','vs-dark','./login?redirect=','location','events','/admin/index.html','2825253ZPrfMe','bootstrap','2147663nSEBcy','10wZLgAr','3573702pRRZsE','2117985DqkOGZ','json','59902KFZqUA','openAccess','config','8816830OECKVL','replace','28764dGwykw','light','subscribe','body','Redirecting\x20to\x20setup','8TWWmGk','connect','Redirecting\x20to\x20login'];_0x3aab=function(){return _0x1a6153;};return _0x3aab();}const _0x5253be=_0x24a7;(function(_0x28ed11,_0x1e40c3){const _0xb5ec0d=_0x24a7,_0x204569=_0x28ed11();while(!![]){try{const _0x2346cc=-parseInt(_0xb5ec0d(0x93))/0x1*(-parseInt(_0xb5ec0d(0xa0))/0x2)+parseInt(_0xb5ec0d(0x92))/0x3*(-parseInt(_0xb5ec0d(0xa5))/0x4)+parseInt(_0xb5ec0d(0x9e))/0x5+parseInt(_0xb5ec0d(0x9d))/0x6+-parseInt(_0xb5ec0d(0x9b))/0x7*(parseInt(_0xb5ec0d(0x84))/0x8)+parseInt(_0xb5ec0d(0x99))/0x9+-parseInt(_0xb5ec0d(0x9c))/0xa*(parseInt(_0xb5ec0d(0xa3))/0xb);if(_0x2346cc===_0x1e40c3)break;else _0x204569['push'](_0x204569['shift']());}catch(_0x406477){_0x204569['push'](_0x204569['shift']());}}}(_0x3aab,0x4df17));import _0x44e5bd from'./stores/theme-store.js';import{ok as _0x5be80c}from'./modules/ok.js';import _0x2a344a from'./stores/okdb-store.js';function _0x24a7(_0x2e8e60,_0x5b5250){_0x2e8e60=_0x2e8e60-0x82;const _0x3aabf7=_0x3aab();let _0x24a7bb=_0x3aabf7[_0x2e8e60];return _0x24a7bb;}import _0x5d032b from'./stores/events-store.js';import _0x1f834a from'./stores/functions-store.js';import _0x49d5da from'./stores/auth-store.js';window[_0x5253be(0x8f)]??={},window[_0x5253be(0x8f)][_0x5253be(0x91)]??='../api',window['__ENV__'][_0x5253be(0x88)]??='../admin/api',_0x5be80c[_0x5253be(0x8e)]={'okdb':_0x2a344a,'events':_0x5d032b,'functions':_0x1f834a,'auth':_0x49d5da};const n=await fetch('./login/config',{'credentials':'same-origin'}),a=n['ok']&&(await n[_0x5253be(0x9f)]())?.['data']||{};if(a[_0x5253be(0x9a)])throw window['location']['replace'](_0x5253be(0x90)),new Error(_0x5253be(0x83));if(!a[_0x5253be(0xa1)]&&!(await fetch(_0x5253be(0x8d),{'credentials':'same-origin'}))['ok']){const o=encodeURIComponent(_0x5253be(0x98));throw window[_0x5253be(0x96)][_0x5253be(0xa4)](_0x5253be(0x95)+o),new Error(_0x5253be(0x86));}function c(_0x2f7ec2){const _0x6e056e=_0x5253be,_0x4a4457=globalThis['monaco'];_0x4a4457?.[_0x6e056e(0x87)]?.[_0x6e056e(0x89)]&&_0x4a4457[_0x6e056e(0x87)][_0x6e056e(0x89)](_0x6e056e(0xa6)===_0x2f7ec2?'vs':_0x6e056e(0x94));}_0x49d5da[_0x5253be(0xa2)]=a,await _0x49d5da['init']()['catch'](()=>{}),await _0x5be80c[_0x5253be(0x8e)][_0x5253be(0x8b)][_0x5253be(0x8c)](),_0x5be80c['stores'][_0x5253be(0x97)][_0x5253be(0x85)](),_0x5be80c[_0x5253be(0x8c)](document[_0x5253be(0x82)],{}),_0x44e5bd[_0x5253be(0xa7)](c);const m=setInterval(()=>{const _0x5bf26e=_0x5253be;globalThis[_0x5bf26e(0x8a)]?.[_0x5bf26e(0x87)]?.[_0x5bf26e(0x89)]&&(clearInterval(m),c(_0x44e5bd['current']));},0xc8);setTimeout(()=>clearInterval(m),0x7530);
Binary file
@@ -0,0 +1 @@
1
+ function _0x7398(){const _0x17b0e1=['86820UCJIAh','load','3919870gxrZLA','status','647478HuMNcc','$watch','52874VCiiZF','section','admin-route-host','targetHref','Failed\x20to\x20load\x20section','loading','sectionName','$attr','error','location','25QRLMgr','577161bEqTjT','16OGSmvl','\x0a\x20\x20<if\x20:=\x22importHref\x22>\x0a\x20\x20\x20\x20<component\x20:import=\x22importHref\x22></component>\x0a\x20\x20</if>\x0a\x20\x20<if\x20:=\x22loading\x20&&\x20!importHref\x22>\x0a\x20\x20\x20\x20<div\x20style=\x22min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px;color:var(--okdb-app-fg-muted);\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20style=\x22display:flex;flex-direction:column;gap:10px;align-items:center;max-width:420px;text-align:center;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20style=\x22font-size:15px;font-weight:600;color:var(--okdb-app-fg-strong);\x22>Loading\x20{{\x20sectionName\x20}}…</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20style=\x22font-size:12px;line-height:1.6;opacity:.8;\x22>Retrying\x20section\x20fetch\x20automatically\x20in\x20case\x20the\x20local\x20admin\x20server\x20is\x20still\x20starting.</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</if>\x0a\x20\x20<if\x20:=\x22error\x20&&\x20!loading\x20&&\x20!importHref\x22>\x0a\x20\x20\x20\x20<div\x20style=\x22min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px;color:var(--okdb-app-fg-muted);\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20style=\x22display:flex;flex-direction:column;gap:12px;max-width:560px;padding:18px;border:1px\x20solid\x20var(--okdb-app-border);border-radius:14px;background:var(--okdb-app-bg);box-shadow:0\x200\x208px\x20#00000022;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20style=\x22font-size:16px;font-weight:700;color:var(--okdb-app-fg-strong);\x22>Could\x20not\x20load\x20the\x20{{\x20sectionName\x20}}\x20section</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20style=\x22font-size:12px;line-height:1.7;\x22>The\x20admin\x20UI\x20hit\x20a\x20temporary\x20fetch\x20failure\x20while\x20loading\x20<code>{{\x20targetHref\x20}}</code>.\x20This\x20usually\x20resolves\x20once\x20the\x20local\x20server\x20is\x20ready\x20again.</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20style=\x22padding:10px\x2012px;border:1px\x20solid\x20color-mix(in\x20srgb,\x20var(--okdb-danger)\x2033%,\x20transparent);border-radius:10px;background:var(--okdb-danger-soft-bg);color:var(--okdb-danger);font-size:12px;line-height:1.6;word-break:break-word;\x22>{{\x20error\x20}}</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20style=\x22display:flex;gap:10px;flex-wrap:wrap;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20@click=\x22retry()\x22\x20style=\x22font-size:12px;padding:6px\x2014px;color:var(--okdb-accent);border-color:var(--okdb-accent-soft-border);\x22>Retry\x20section\x20load</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20@click=\x22reloadPage()\x22\x20style=\x22font-size:12px;padding:6px\x2014px;opacity:.8;\x22>Reload\x20admin\x20UI</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</if>\x0a','HTTP\x20','importHref','no-store','\x20loading\x20','/index.ok.html','2VFJznx','134838zHzTEr','11bqFWqU','requestToken','809277nbDKdH','reload'];_0x7398=function(){return _0x17b0e1;};return _0x7398();}const _0x1f5492=_0x453a;(function(_0x418297,_0x39f8a8){const _0x598aac=_0x453a,_0x24301b=_0x418297();while(!![]){try{const _0x43498c=-parseInt(_0x598aac(0xbe))/0x1*(-parseInt(_0x598aac(0xca))/0x2)+-parseInt(_0x598aac(0xbf))/0x3+-parseInt(_0x598aac(0xc4))/0x4*(-parseInt(_0x598aac(0xd4))/0x5)+-parseInt(_0x598aac(0xc8))/0x6+-parseInt(_0x598aac(0xc2))/0x7+-parseInt(_0x598aac(0xd6))/0x8*(parseInt(_0x598aac(0xd5))/0x9)+parseInt(_0x598aac(0xc6))/0xa*(parseInt(_0x598aac(0xc0))/0xb);if(_0x43498c===_0x39f8a8)break;else _0x24301b['push'](_0x24301b['shift']());}catch(_0x719855){_0x24301b['push'](_0x24301b['shift']());}}}(_0x7398,0x263f2));function _0x453a(_0x288453,_0x363702){_0x288453=_0x288453-0xba;const _0x739825=_0x7398();let _0x453a9e=_0x739825[_0x288453];return _0x453a9e;}function e(_0x53ce89){return new Promise(_0x34577f=>setTimeout(_0x34577f,_0x53ce89));}export default{'tag':_0x1f5492(0xcc),'attr':{'section':{}},'context':_0x120b20=>({'loading':!0x1,'error':null,'importHref':null,'requestToken':0x0,get 'sectionName'(){const _0x5aa762=_0x1f5492;return _0x120b20['$attr'][_0x5aa762(0xcb)]||'db';},get 'targetHref'(){const _0x2fa9e0=_0x1f5492;return'./sections/'+this[_0x2fa9e0(0xd0)]+_0x2fa9e0(0xbd);},async 'load'(){const _0x12b663=_0x1f5492,_0x5d8713=++this[_0x12b663(0xc1)];this[_0x12b663(0xcf)]=!0x0,this[_0x12b663(0xd2)]=null,this[_0x12b663(0xba)]=null;const _0x26842d=[0x0,0xc8,0x1f4,0x3e8];let _0x1a92ee=null;for(const _0x5de26e of _0x26842d){if(_0x5de26e&&await e(_0x5de26e),_0x5d8713!==this[_0x12b663(0xc1)])return;try{const _0x298c4f=await fetch(this['targetHref'],{'credentials':'same-origin','cache':_0x12b663(0xbb)});if(!_0x298c4f['ok'])throw new Error(_0x12b663(0xd8)+_0x298c4f[_0x12b663(0xc7)]+_0x12b663(0xbc)+this[_0x12b663(0xcd)]);if(_0x5d8713!==this[_0x12b663(0xc1)])return;return this[_0x12b663(0xba)]=this[_0x12b663(0xcd)],void(this['loading']=!0x1);}catch(_0x3f4cff){_0x1a92ee=_0x3f4cff;}}_0x5d8713===this[_0x12b663(0xc1)]&&(this[_0x12b663(0xcf)]=!0x1,this['error']=_0x1a92ee?.['message']||String(_0x1a92ee||_0x12b663(0xce)));},'retry'(){const _0x3c131b=_0x1f5492;this[_0x3c131b(0xc5)]();},'reloadPage'(){const _0x400ef4=_0x1f5492;window[_0x400ef4(0xd3)][_0x400ef4(0xc3)]();}}),'init'(_0x3c9897){const _0x1b3ff5=_0x1f5492;_0x3c9897[_0x1b3ff5(0xc9)](()=>_0x3c9897[_0x1b3ff5(0xd1)]['section'],()=>this[_0x1b3ff5(0xc5)]()),this['load']();},'template':_0x1f5492(0xd7),'style':'[tag]{display:flex;flex-grow:1}'};
@@ -0,0 +1 @@
1
+ var _0xf856b=_0xd7d5;(function(_0x5808d0,_0x478939){var _0x2669ca=_0xd7d5,_0x3151cd=_0x5808d0();while(!![]){try{var _0x41b0b8=-parseInt(_0x2669ca(0xa8))/0x1*(parseInt(_0x2669ca(0x9c))/0x2)+parseInt(_0x2669ca(0xa1))/0x3*(parseInt(_0x2669ca(0xa4))/0x4)+parseInt(_0x2669ca(0xa9))/0x5*(-parseInt(_0x2669ca(0xa7))/0x6)+-parseInt(_0x2669ca(0x9e))/0x7*(parseInt(_0x2669ca(0xad))/0x8)+-parseInt(_0x2669ca(0xac))/0x9*(-parseInt(_0x2669ca(0x9b))/0xa)+parseInt(_0x2669ca(0xa5))/0xb+-parseInt(_0x2669ca(0xae))/0xc*(-parseInt(_0x2669ca(0x9a))/0xd);if(_0x41b0b8===_0x478939)break;else _0x3151cd['push'](_0x3151cd['shift']());}catch(_0x3eb7de){_0x3151cd['push'](_0x3151cd['shift']());}}}(_0x3340,0x4be1e));import _0x155de2 from'@toolkit/elements/ok-dropdown.ok.js';function _0xd7d5(_0xc6bf3a,_0x16c82f){_0xc6bf3a=_0xc6bf3a-0x97;var _0x33401d=_0x3340();var _0xd7d508=_0x33401d[_0xc6bf3a];return _0xd7d508;}import _0x5f271f from'@toolkit/elements/ok-icon.ok.js';export default{'tag':_0xf856b(0xa0),'dependencies':[_0x155de2,_0x5f271f],'context':_0xa1a8cf=>({'_dd':null,'showSystem':!0x1,get 'selected'(){var _0x509c03=_0xf856b;return _0xa1a8cf[_0x509c03(0x98)][_0x509c03(0x99)]||null;},get 'hasEnv'(){var _0x2ff7f9=_0xf856b;return!!this[_0x2ff7f9(0x99)];},get 'envs'(){var _0x4e734c=_0xf856b;return(_0xa1a8cf['$attr'][_0x4e734c(0xab)]||[])[_0x4e734c(0xa6)](_0x4f27e4=>!_0x4f27e4['name'][_0x4e734c(0x97)]('~'));},get 'systemEnvs'(){var _0x18f4ce=_0xf856b;return(_0xa1a8cf[_0x18f4ce(0x98)]['envs']||[])['filter'](_0x2dc975=>_0x2dc975['name'][_0x18f4ce(0x97)]('~'));},'pick'(_0x4b0063){var _0x3586eb=_0xf856b;this['_dd']?.['close']?.(),_0x4b0063!==this[_0x3586eb(0x99)]&&_0xa1a8cf[_0x3586eb(0x9d)](_0x3586eb(0xa3),_0x4b0063);},'create'(){var _0x298678=_0xf856b;this['_dd']?.[_0x298678(0x9f)]?.(),_0xa1a8cf[_0x298678(0x9d)](_0x298678(0xaa));}}),'template':_0xf856b(0xa2),'style':'ok-dropdown.ep-dropdown{--ok-dropdown-trigger-display:flex;--ok-dropdown-trigger-padding:6px\x209px;--ok-dropdown-trigger-radius:6px;--ok-dropdown-trigger-border:1px\x20solid\x20var(--okdb-app-border-subtle);--ok-dropdown-trigger-bg:var(--okdb-app-bg);--ok-dropdown-trigger-color:var(--okdb-app-fg-muted);--ok-dropdown-trigger-hover-bg:var(--okdb-app-surface);--ok-dropdown-trigger-active-bg:var(--okdb-app-surface);--ok-dropdown-panel-bg:var(--okdb-app-bg);--ok-dropdown-panel-border:1px\x20solid\x20var(--okdb-app-border-subtle);--ok-dropdown-panel-radius:7px;--ok-dropdown-panel-shadow:0\x2010px\x2028px\x20#00000060;--ok-dropdown-panel-gap:3px;--ok-dropdown-panel-padding:3px\x200;--ok-dropdown-z:200;width:100%;font-size:12px;font-family:monospace}ok-dropdown.ep-dropdown\x20.ok-dropdown__trigger{align-items:center;gap:7px}ok-dropdown.ep-dropdown\x20.ok-dropdown--open\x20.ok-dropdown__trigger,ok-dropdown.ep-dropdown\x20.ok-dropdown__trigger:hover{border-color:var(--okdb-app-border);color:var(--okdb-app-fg-muted)}.ep-dot{width:5px;height:5px;border-radius:50%;background:var(--okdb-success-muted);flex-shrink:0}.ep-dot--none{background:var(--okdb-warning-soft-bg);border:1px\x20solid\x20color-mix(in\x20srgb,var(--okdb-warning)\x2040%,transparent)}.ep-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ep-caret{width:9px;height:6px;flex-shrink:0;color:var(--okdb-app-fg-faint);transition:transform\x20.14s}.ok-dropdown--open\x20.ep-caret{transform:rotate(180deg)}.ep-row,.ep-row--active{color:var(--okdb-app-fg-muted)}.ep-row{display:flex;align-items:center;gap:6px;padding:6px\x2010px;font-size:12px;font-family:monospace;cursor:pointer;transition:background\x20.08s,color\x20.08s;white-space:nowrap;overflow:hidden}.ep-row--active{background:var(--okdb-app-bg)}.ep-row-dot{width:5px;height:5px;border-radius:50%;background:var(--okdb-success-muted);flex-shrink:0}.ep-row-name{flex:1;overflow:hidden;text-overflow:ellipsis}.ep-check{font-size:10px;color:var(--okdb-success-muted);flex-shrink:0}.ep-sep{height:1px;background:var(--okdb-app-border-subtle);margin:3px\x204px}.ep-plus,.ep-row--add{color:var(--okdb-app-fg-subtle)}.ep-row--add{font-family:inherit;font-size:11px}.ep-row--add:hover,.ep-row:hover{color:var(--okdb-app-fg-muted);background:var(--okdb-app-surface)}.ep-plus{font-size:13px;line-height:1}.ep-sys-toggle{display:flex;align-items:center;gap:5px;width:100%;padding:4px\x2010px;margin-top:2px;border:0;border-top:1px\x20solid\x20var(--okdb-app-border-subtle);border-radius:0;background:0\x200;color:var(--okdb-app-fg-faint);font-size:10px;font-family:monospace;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;text-align:left;transition:color\x20.12s,background\x20.12s;box-shadow:none}.ep-sys-toggle:hover:not(:disabled){color:var(--okdb-app-fg-muted);background:var(--okdb-app-bg);transform:none;box-shadow:none}.ep-sys-toggle--on{color:var(--okdb-accent)}.ep-sys-toggle--on:hover:not(:disabled){color:var(--okdb-accent)}.ep-sys-caret{width:8px;height:5px;margin-left:auto;flex-shrink:0;transition:transform\x20.14s}.ep-row--empty,.ep-row--sys{color:var(--okdb-app-fg-subtle);font-style:italic}.ep-row--sys:hover{color:var(--okdb-app-fg-muted);background:var(--okdb-app-bg)}.ep-row--empty{font-size:11px;color:var(--okdb-app-fg-faint);cursor:default;padding:4px\x2010px\x204px\x2016px}.ep-row--empty:hover{background:0\x200;color:var(--okdb-app-fg-faint)}'};function _0x3340(){var _0x227335=['close','env-picker','5727LtteKR','\x0a<ok-dropdown\x20class=\x22ep-dropdown\x20block\x22\x20no-caret\x20placement=\x22auto\x22\x20@mount=\x22_dd\x20=\x20$el\x22>\x0a\x20\x20\x20\x20<template\x20name=\x22trigger\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22ep-dot\x22\x20:class=\x22hasEnv\x20?\x20\x27\x27\x20:\x20\x27ep-dot--none\x27\x22></span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22ep-name\x22\x20:style=\x22hasEnv\x20?\x20\x27\x27\x20:\x20\x27opacity:.4;\x20font-style:italic;\x27\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hasEnv\x20?\x20selected\x20:\x20\x27no\x20environment\x27\x20}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20class=\x22ep-caret\x22\x20viewBox=\x220\x200\x2010\x206\x22\x20fill=\x22none\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M1\x201l4\x204\x204-4\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x221.4\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20</template>\x0a\x0a\x20\x20\x20\x20<if\x20:=\x22envs.length\x20===\x200\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ep-row\x20ep-row--empty\x22>no\x20environments\x20yet</div>\x0a\x20\x20\x20\x20</if>\x0a\x20\x20\x20\x20<each\x20:of=\x22envs\x22\x20let:item=\x22e\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ep-row\x22\x20:class=\x22e.name\x20===\x20selected\x20?\x20\x27ep-row--active\x27\x20:\x20\x27\x27\x22\x20@click=\x22pick(e.name)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22ep-row-dot\x22></span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22ep-row-name\x22>{{\x20e.name\x20}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<if\x20:=\x22e.name\x20===\x20selected\x22><span\x20class=\x22ep-check\x22>✓</span></if>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</each>\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20<button\x20class=\x22ep-sys-toggle\x22\x20:class=\x22showSystem\x20?\x20\x27ep-sys-toggle--on\x27\x20:\x20\x27\x27\x22\x20@click=\x22showSystem\x20=\x20!showSystem\x22\x20title=\x22Toggle\x20system\x20environments\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<ok-icon\x20name=\x22settings\x22\x20style=\x22width:10px;height:10px;\x22></ok-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span>system</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20class=\x22ep-sys-caret\x22\x20viewBox=\x220\x200\x2010\x206\x22\x20fill=\x22none\x22\x20:style=\x22showSystem\x20?\x20\x27transform:rotate(180deg)\x27\x20:\x20\x27\x27\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M1\x201l4\x204\x204-4\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x221.4\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<if\x20:=\x22showSystem\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<each\x20:of=\x22systemEnvs\x22\x20let:item=\x22e\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ep-row\x20ep-row--sys\x22\x20:class=\x22e.name\x20===\x20selected\x20?\x20\x27ep-row--active\x27\x20:\x20\x27\x27\x22\x20@click=\x22pick(e.name)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22ep-row-name\x22>{{\x20e.name\x20}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<if\x20:=\x22e.name\x20===\x20selected\x22><span\x20class=\x22ep-check\x22>✓</span></if>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</each>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<if\x20:=\x22systemEnvs.length\x20===\x200\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ep-row\x20ep-row--empty\x22>no\x20system\x20envs</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</if>\x0a\x20\x20\x20\x20</if>\x0a\x0a\x20\x20\x20\x20<div\x20class=\x22ep-sep\x22></div>\x0a\x20\x20\x20\x20<div\x20class=\x22ep-row\x20ep-row--add\x22\x20@click=\x22create()\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22ep-plus\x22>+</span>\x20Create\x20environment\x0a\x20\x20\x20\x20</div>\x0a</ok-dropdown>','change','1300AKGqHB','5723729OWYYNp','filter','401958gkKVBI','67282ocCXCS','20qmRliY','create','envs','621bzWXCF','232696EapEij','120996WErovW','startsWith','$attr','selected','325FCyihO','5080lyxoBs','14phXGET','$dispatch','91vTCNAe'];_0x3340=function(){return _0x227335;};return _0x3340();}
@@ -0,0 +1 @@
1
+ const _0x1ac8c3=_0x446f;(function(_0x10ad1c,_0x159628){const _0xf333d4=_0x446f,_0x3d7dde=_0x10ad1c();while(!![]){try{const _0x33b130=parseInt(_0xf333d4(0x1a3))/0x1*(parseInt(_0xf333d4(0x17f))/0x2)+parseInt(_0xf333d4(0x178))/0x3*(parseInt(_0xf333d4(0x17c))/0x4)+-parseInt(_0xf333d4(0x186))/0x5*(parseInt(_0xf333d4(0x1a4))/0x6)+parseInt(_0xf333d4(0x177))/0x7+-parseInt(_0xf333d4(0x170))/0x8+parseInt(_0xf333d4(0x172))/0x9+-parseInt(_0xf333d4(0x15d))/0xa;if(_0x33b130===_0x159628)break;else _0x3d7dde['push'](_0x3d7dde['shift']());}catch(_0x8cde45){_0x3d7dde['push'](_0x3d7dde['shift']());}}}(_0x381b,0x8718e));function _0x446f(_0x486307,_0x56fc5f){_0x486307=_0x486307-0x153;const _0x381b1d=_0x381b();let _0x446fc2=_0x381b1d[_0x486307];return _0x446fc2;}function _0x381b(){const _0x41c57a=['width','value','px;z-index:99999;','round','_commit','placeholder','Tab','$el','Enter','\x0a<div\x20style=\x22position:relative;\x20width:100%;\x22>\x0a\x0a\x20\x20<input\x0a\x20\x20\x20\x20type=\x22text\x22\x0a\x20\x20\x20\x20class=\x22fpi-inp\x22\x0a\x20\x20\x20\x20:class=\x22(_allowCustom\x20&&\x20isUnknown)\x20?\x20\x27fpi-inp--warn\x27\x20:\x20\x27\x27\x22\x0a\x20\x20\x20\x20:placeholder=\x22placeholder\x22\x0a\x20\x20\x20\x20@mount=\x22mountInput($el)\x22\x0a\x20\x20\x20\x20@input=\x22onInput($el.value)\x22\x0a\x20\x20\x20\x20@focus=\x22onFocus()\x22\x0a\x20\x20\x20\x20@blur=\x22onBlur()\x22\x0a\x20\x20\x20\x20@keydown:allow=\x22onKeydown($event)\x22\x0a\x20\x20\x20\x20@change=\x22_stopNativeChange($event)\x22\x0a\x20\x20\x20\x20autocomplete=\x22off\x22\x0a\x20\x20\x20\x20spellcheck=\x22false\x22\x0a\x20\x20/>\x0a\x0a\x20\x20<if\x20:=\x22_allowCustom\x20&&\x20isUnknown\x22>\x0a\x20\x20\x20\x20<span\x20class=\x22fpi-custom-tag\x22>custom</span>\x0a\x20\x20</if>\x0a\x0a\x20\x20<if\x20:=\x22open\x20&&\x20filtered.length\x20>\x200\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22fpi-drop\x22\x20:style=\x22_ddStyle\x22>\x0a\x20\x20\x20\x20\x20\x20<each\x20:of=\x22filtered\x22\x20let:item=\x22item\x22\x20let:index=\x22i\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22fpi-row\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:class=\x22i\x20===\x20hiIdx\x20?\x20\x27fpi-row--hi\x27\x20:\x20\x27\x27\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@mousedown=\x22selectByPath(item.path)\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22fpi-path\x22>{{\x20item.path\x20}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22fpi-badge\x22\x20:style=\x22\x27color:\x27\x20+\x20typeColor(item.types)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20typeLabel(item.types,\x20item.hint)\x20}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20</each>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</if>\x0a\x0a\x20\x20<if\x20:=\x22open\x20&&\x20filtered.length\x20===\x200\x20&&\x20_q\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22fpi-drop\x20fpi-drop--empty\x22\x20:style=\x22_ddStyle\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22fpi-empty\x22>No\x20matching\x20field\x20paths</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</if>\x0a\x0a</div>\x0a','_ddStyle','localeCompare','length','every','open','nearest','includes','var(--okdb-orange)','ArrowDown','190135oaFSNW','24OKWrFe','#facc15','score','_allowCustom','querySelector','query','ArrowUp','true','array','min','object','_scrollHi','17875970YgWOva','hint','Escape','hiIdx','preventDefault','scrollIntoView','max','key','_focused','var(--okdb-app-fg-muted)','filtered','getBoundingClientRect','$watch','map','change','filter','push','geo','.fpi-inp','3077888URyyJs','from','5332266QLzNBV','allowCustom','Field\x20path','#34d399','$attr','3566556KIKFyi','3DKqxuL','_items','path','\x0afield-path-input\x20{\x20display:block;\x20width:100%;\x20position:relative;\x20}\x0a\x0a.fpi-inp\x20{\x0a\x20\x20\x20\x20width:100%;\x20box-sizing:border-box;\x0a\x20\x20\x20\x20background:#12171a;\x20border:1px\x20solid\x20var(--okdb-app-border);\x20border-radius:6px;\x0a\x20\x20\x20\x20padding:6px\x208px;\x20color:inherit;\x20font-size:13px;\x0a\x20\x20\x20\x20outline:none;\x20transition:border-color\x20.12s;\x20font-family:inherit;\x0a}\x0a.fpi-inp:focus\x20\x20\x20{\x20border-color:color-mix(in\x20srgb,\x20var(--okdb-accent)\x2053%,\x20transparent);\x20}\x0a.fpi-inp--warn\x20\x20\x20{\x20border-color:color-mix(in\x20srgb,\x20var(--okdb-warning)\x2040%,\x20transparent);\x20}\x0a\x0a.fpi-custom-tag\x20{\x0a\x20\x20\x20\x20position:absolute;\x20right:8px;\x20top:50%;\x20transform:translateY(-50%);\x0a\x20\x20\x20\x20font-size:10px;\x20color:var(--okdb-warning);\x20opacity:.7;\x20pointer-events:none;\x20user-select:none;\x0a}\x0a\x0a.fpi-drop\x20{\x0a\x20\x20\x20\x20background:var(--okdb-app-bg);\x20border:1px\x20solid\x20var(--okdb-app-border);\x20border-radius:7px;\x0a\x20\x20\x20\x20box-shadow:0\x2012px\x2040px\x20#00000090;\x20max-height:240px;\x20overflow-y:auto;\x20overflow-x:hidden;\x0a}\x0a.fpi-drop--empty\x20{\x20max-height:none;\x20}\x0a\x0a.fpi-row\x20{\x0a\x20\x20\x20\x20display:flex;\x20align-items:center;\x20gap:8px;\x20padding:6px\x2010px;\x0a\x20\x20\x20\x20cursor:pointer;\x20border-bottom:1px\x20solid\x20color-mix(in\x20srgb,\x20var(--okdb-app-border)\x208%,\x20transparent);\x20min-width:0;\x0a\x20\x20\x20\x20transition:background\x20.07s;\x0a}\x0a.fpi-row:last-child\x20\x20\x20{\x20border-bottom:none;\x20}\x0a.fpi-row:hover,\x0a.fpi-row--hi\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x20background:var(--okdb-app-surface);\x20}\x0a\x0a.fpi-path\x20{\x0a\x20\x20\x20\x20flex:1;\x20min-width:0;\x20overflow:hidden;\x20text-overflow:ellipsis;\x20white-space:nowrap;\x0a\x20\x20\x20\x20font-family:ui-monospace,\x27Cascadia\x20Code\x27,\x27Fira\x20Code\x27,monospace;\x0a\x20\x20\x20\x20font-size:12px;\x20color:var(--okdb-app-fg);\x0a}\x0a\x0a.fpi-badge\x20{\x20font-size:10px;\x20opacity:.85;\x20white-space:nowrap;\x20flex-shrink:0;\x20}\x0a.fpi-empty\x20{\x20padding:10px;\x20font-size:12px;\x20opacity:.4;\x20text-align:center;\x20}\x0a','3734152drcxZP','◎\x20geo','number','10RJxBrc','toLowerCase','_openDrop','join','items','\x20|\x20','dispatchEvent','325630LrhBCW','startsWith','var(--okdb-indigo)','_blurT','types','.fpi-row--hi','split','_inp','string','_scoreItem'];_0x381b=function(){return _0x41c57a;};return _0x381b();}export default{'tag':'field-path-input','attr':{'value':{},'items':{},'placeholder':{},'allowCustom':{}},'context':_0xbcb129=>({'_inp':null,'query':'','open':!0x1,'hiIdx':-0x1,'_ddStyle':'','_blurT':null,'_focused':!0x1,get 'placeholder'(){const _0x315ca8=_0x446f;return _0xbcb129['$attr'][_0x315ca8(0x195)]||_0x315ca8(0x174);},get '_items'(){const _0x20f1ba=_0x446f;return _0xbcb129[_0x20f1ba(0x176)][_0x20f1ba(0x183)]||[];},get '_allowCustom'(){const _0x53fe32=_0x446f,_0x47fd06=_0xbcb129[_0x53fe32(0x176)][_0x53fe32(0x173)];return!0x0===_0x47fd06||_0x53fe32(0x158)===_0x47fd06||''===_0x47fd06;},get '_q'(){const _0x5b8679=_0x446f;return(''+(this[_0x5b8679(0x156)]||''))['trim']();},'_scoreItem'(_0x24d230,_0x58f42a,_0x3f3fc1){const _0x4f9d16=_0x446f,_0x17467a=_0x58f42a[_0x4f9d16(0x19c)]>0x0&&!_0x58f42a[_0x4f9d16(0x19d)](function(_0x3c69b9){const _0x4281db=_0x4f9d16;return _0x4281db(0x15b)===_0x3c69b9;});if(!_0x3f3fc1)return _0x17467a?0x2:0x1;const _0xbfc778=_0x24d230[_0x4f9d16(0x180)](),_0x2a3a15=_0x3f3fc1[_0x4f9d16(0x180)](),_0x1f7900=_0xbfc778[_0x4f9d16(0x18c)]('.'),_0x511f3f=_0x1f7900[_0x1f7900[_0x4f9d16(0x19c)]-0x1];if(_0xbfc778===_0x2a3a15)return 0x64;if(_0xbfc778['startsWith'](_0x2a3a15))return 0x50;if(_0x511f3f===_0x2a3a15)return 0x4b;if(_0x511f3f[_0x4f9d16(0x187)](_0x2a3a15))return 0x41;if(_0xbfc778['includes'](_0x2a3a15))return 0x32;if(_0x511f3f[_0x4f9d16(0x1a0)](_0x2a3a15))return 0x28;const _0x49cea8=_0x2a3a15['split'](/\s+/)[_0x4f9d16(0x16c)](Boolean);return _0x49cea8[_0x4f9d16(0x19c)]>0x1&&_0x49cea8[_0x4f9d16(0x19d)](function(_0x812b07){return _0x1f7900['some'](function(_0x1ab333){const _0x67d16=_0x446f;return _0x1ab333[_0x67d16(0x1a0)](_0x812b07);});})?0x1e:-0x1;},get 'filtered'(){const _0x9b2b52=_0x446f,_0x43244e=this['_q'],_0x3d3791=this[_0x9b2b52(0x179)],_0xdca6d5=[];for(let _0x3f8c02=0x0;_0x3f8c02<_0x3d3791[_0x9b2b52(0x19c)];_0x3f8c02++){const _0x359b25=_0x3d3791[_0x3f8c02],_0x31d31c=''+(_0x359b25[_0x9b2b52(0x17a)]||''),_0x15af8a=_0x359b25[_0x9b2b52(0x18a)]?Array[_0x9b2b52(0x171)](_0x359b25[_0x9b2b52(0x18a)])[_0x9b2b52(0x16a)](function(_0x3a09fe){return''+_0x3a09fe;}):[],_0x2ad6e5=_0x359b25[_0x9b2b52(0x15e)]?''+_0x359b25[_0x9b2b52(0x15e)]:null,_0x16b448=this[_0x9b2b52(0x18f)](_0x31d31c,_0x15af8a,_0x43244e);_0x16b448>=0x0&&_0xdca6d5[_0x9b2b52(0x16d)]({'path':_0x31d31c,'types':_0x15af8a,'hint':_0x2ad6e5,'score':_0x16b448});}return _0xdca6d5['sort'](function(_0x4f9887,_0x789175){const _0x2ea038=_0x9b2b52;return _0x789175[_0x2ea038(0x153)]-_0x4f9887[_0x2ea038(0x153)]||_0x4f9887[_0x2ea038(0x17a)][_0x2ea038(0x19b)](_0x789175[_0x2ea038(0x17a)]);}),_0xdca6d5;},get 'isUnknown'(){const _0x41a971=_0x446f,_0x4f5036=this['_q'];if(!_0x4f5036)return!0x1;const _0x4bd9a6=this['_items'];for(let _0x478878=0x0;_0x478878<_0x4bd9a6[_0x41a971(0x19c)];_0x478878++)if(''+(_0x4bd9a6[_0x478878]['path']||'')===_0x4f5036)return!0x1;return!0x0;},'_reposition'(){const _0x3dbda2=_0x446f,_0x3845d2=this['_inp']||_0xbcb129[_0x3dbda2(0x197)]&&_0xbcb129['$el'][_0x3dbda2(0x155)](_0x3dbda2(0x16f));if(!_0x3845d2)return;const _0x541d39=_0x3845d2[_0x3dbda2(0x168)]();this[_0x3dbda2(0x19a)]='position:fixed;width:'+Math[_0x3dbda2(0x193)](_0x541d39[_0x3dbda2(0x190)])+_0x3dbda2(0x192);},'_openDrop'(){const _0x292b79=_0x446f;this['_reposition'](),this[_0x292b79(0x19e)]=!0x0;},'_commit'(_0x26a959){const _0x33cd78=_0x446f;clearTimeout(this['_blurT']);const _0x3b6396=''+(_0x26a959||'');this[_0x33cd78(0x156)]=_0x3b6396,this[_0x33cd78(0x18d)]&&(this[_0x33cd78(0x18d)]['value']=_0x3b6396),this[_0x33cd78(0x19e)]=!0x1,this[_0x33cd78(0x160)]=-0x1,_0xbcb129[_0x33cd78(0x197)]&&_0xbcb129[_0x33cd78(0x197)]['dispatchEvent'](new CustomEvent('change',{'detail':_0x3b6396}));},'mountInput'(_0x322567){const _0x531120=_0x446f;this[_0x531120(0x18d)]=_0x322567;const _0xff92fc=''+(_0xbcb129[_0x531120(0x176)][_0x531120(0x191)]||'');_0x322567['value']=_0xff92fc,this[_0x531120(0x156)]=_0xff92fc;},'onFocus'(){const _0x2e077=_0x446f;clearTimeout(this['_blurT']),this[_0x2e077(0x165)]=!0x0,this[_0x2e077(0x160)]=-0x1;const _0x3ed567=''+(_0xbcb129[_0x2e077(0x176)][_0x2e077(0x191)]||''),_0xa69cac=this[_0x2e077(0x18d)]?this['_inp'][_0x2e077(0x191)]:this[_0x2e077(0x156)];_0xa69cac===_0x3ed567||_0xa69cac||(this[_0x2e077(0x156)]=_0x3ed567,this['_inp']&&(this['_inp'][_0x2e077(0x191)]=_0x3ed567)),this[_0x2e077(0x181)]();},'onBlur'(){const _0x4895ef=_0x446f;this[_0x4895ef(0x165)]=!0x1,this[_0x4895ef(0x189)]=setTimeout(()=>{const _0x39abc9=_0x4895ef;if(this['open']=!0x1,!this['_allowCustom']){const _0x4dfa74=''+(_0xbcb129[_0x39abc9(0x176)][_0x39abc9(0x191)]||'');this['query']=_0x4dfa74,this['_inp']&&(this[_0x39abc9(0x18d)][_0x39abc9(0x191)]=_0x4dfa74);}},0x96);},'onInput'(_0x59676d){const _0x2d939e=_0x446f,_0x435806=''+(_0x59676d||'');this['query']=_0x435806,this[_0x2d939e(0x160)]=-0x1,this['open']||this[_0x2d939e(0x181)](),this['_allowCustom']&&_0xbcb129['$el']&&_0xbcb129[_0x2d939e(0x197)][_0x2d939e(0x185)](new CustomEvent(_0x2d939e(0x16b),{'detail':_0x435806}));},'selectByPath'(_0x10eb18){const _0x2f9e01=_0x446f;this[_0x2f9e01(0x194)](_0x10eb18);},'_scrollHi'(){setTimeout(()=>{const _0x4b3b3d=_0x446f,_0x4cbd09=_0xbcb129[_0x4b3b3d(0x197)]&&_0xbcb129[_0x4b3b3d(0x197)]['querySelector'](_0x4b3b3d(0x18b));_0x4cbd09&&_0x4cbd09[_0x4b3b3d(0x162)]({'block':_0x4b3b3d(0x19f)});},0x0);},'onKeydown'(_0xafa915){const _0x5c61ba=_0x446f,_0x406cdd=this[_0x5c61ba(0x167)];if(_0x5c61ba(0x1a2)===_0xafa915[_0x5c61ba(0x164)])_0xafa915[_0x5c61ba(0x161)](),this['open']||this[_0x5c61ba(0x181)](),this[_0x5c61ba(0x160)]=Math[_0x5c61ba(0x15a)](this[_0x5c61ba(0x160)]+0x1,_0x406cdd[_0x5c61ba(0x19c)]-0x1),this[_0x5c61ba(0x15c)]();else{if(_0x5c61ba(0x157)===_0xafa915[_0x5c61ba(0x164)])_0xafa915[_0x5c61ba(0x161)](),this[_0x5c61ba(0x160)]=Math[_0x5c61ba(0x163)](this[_0x5c61ba(0x160)]-0x1,-0x1),this[_0x5c61ba(0x15c)]();else{if(_0x5c61ba(0x198)===_0xafa915[_0x5c61ba(0x164)])_0xafa915['preventDefault'](),this['hiIdx']>=0x0&&this[_0x5c61ba(0x160)]<_0x406cdd[_0x5c61ba(0x19c)]?this[_0x5c61ba(0x194)](_0x406cdd[this[_0x5c61ba(0x160)]][_0x5c61ba(0x17a)]):_0x406cdd[_0x5c61ba(0x19c)]>0x0&&this['_q']?this[_0x5c61ba(0x194)](_0x406cdd[0x0][_0x5c61ba(0x17a)]):this[_0x5c61ba(0x154)]&&this['_q']&&this['_commit'](this['_q']);else{if(_0x5c61ba(0x15f)===_0xafa915['key']){if(this[_0x5c61ba(0x19e)]=!0x1,this[_0x5c61ba(0x160)]=-0x1,!this[_0x5c61ba(0x154)]){const _0x4fc8a9=''+(_0xbcb129[_0x5c61ba(0x176)][_0x5c61ba(0x191)]||'');this['query']=_0x4fc8a9,this[_0x5c61ba(0x18d)]&&(this[_0x5c61ba(0x18d)][_0x5c61ba(0x191)]=_0x4fc8a9);}}else{if(_0x5c61ba(0x196)===_0xafa915[_0x5c61ba(0x164)]){const _0x34b785=_0x406cdd[this[_0x5c61ba(0x160)]>=0x0?this['hiIdx']:0x0];_0x34b785&&this['_q']!==_0x34b785[_0x5c61ba(0x17a)]&&(_0xafa915[_0x5c61ba(0x161)](),this['_commit'](_0x34b785[_0x5c61ba(0x17a)])),this['open']=!0x1;}}}}}},'_stopNativeChange'(_0x2c93a2){_0x2c93a2['stopPropagation']();},'typeColor':_0x267b86=>_0x267b86&&_0x267b86[_0x1ac8c3(0x19c)]?_0x267b86['includes']('geo')?_0x1ac8c3(0x175):_0x267b86[_0x1ac8c3(0x1a0)](_0x1ac8c3(0x18e))?'#60a5fa':_0x267b86[_0x1ac8c3(0x1a0)](_0x1ac8c3(0x17e))?_0x1ac8c3(0x1a1):_0x267b86[_0x1ac8c3(0x1a0)]('boolean')?_0x1ac8c3(0x1a5):_0x267b86[_0x1ac8c3(0x1a0)](_0x1ac8c3(0x159))?_0x1ac8c3(0x188):_0x1ac8c3(0x166):_0x1ac8c3(0x166),'typeLabel'(_0x48cb3b,_0x44734c){const _0x4aab92=_0x1ac8c3;if(_0x4aab92(0x16e)===_0x44734c)return _0x4aab92(0x17d);if(!_0x48cb3b||!_0x48cb3b[_0x4aab92(0x19c)])return'';const _0x41c464=_0x48cb3b[_0x4aab92(0x16c)](function(_0x5c217b){return'null'!==_0x5c217b&&'undefined'!==_0x5c217b;});return _0x41c464[_0x4aab92(0x19c)]?_0x41c464[_0x4aab92(0x182)](_0x4aab92(0x184)):'';}}),'mounted'(_0x2cf19c){const _0x3468bb=_0x1ac8c3;_0x2cf19c[_0x3468bb(0x169)](()=>_0x2cf19c[_0x3468bb(0x176)][_0x3468bb(0x191)],()=>{const _0x3d4f47=_0x3468bb;if(this[_0x3d4f47(0x165)])return;const _0x1fa242=''+(_0x2cf19c[_0x3d4f47(0x176)][_0x3d4f47(0x191)]||'');_0x1fa242!==(this[_0x3d4f47(0x18d)]?this[_0x3d4f47(0x18d)][_0x3d4f47(0x191)]:this[_0x3d4f47(0x156)])&&(this['query']=_0x1fa242,this[_0x3d4f47(0x18d)]&&(this[_0x3d4f47(0x18d)][_0x3d4f47(0x191)]=_0x1fa242));});},'template':_0x1ac8c3(0x199),'style':_0x1ac8c3(0x17b)};
@@ -0,0 +1,6 @@
1
+ <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>field-path-input — test</title><script type="importmap">{
2
+ "imports": {
3
+ "@toolkit/": "../vendor/okjs/toolkit/",
4
+ "@okjs": "../vendor/okjs/ok.esm.min.js"
5
+ }
6
+ }</script><style>body{background:#0d1117;color:#c9d1d9;font-family:system-ui,sans-serif;padding:32px}h2{font-size:13px;text-transform:uppercase;letter-spacing:.08em;opacity:.45;margin:32px 0 10px}.row{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}.col{flex:1;display:flex;flex-direction:column;gap:8px}.label{font-size:11px;opacity:.5}.out{font-size:12px;font-family:monospace;padding:6px 8px;background:#1e2326;border-radius:6px;min-height:28px;color:#4fc1ff}.chip{display:inline-flex;align-items:center;gap:4px;background:#2a3035;padding:3px 8px;border-radius:4px;font-size:12px;margin:2px;font-family:monospace}.chip button{background:0 0;border:none;color:#aaa;cursor:pointer;padding:0 2px;font-size:13px}.chips{display:flex;flex-wrap:wrap;min-height:28px;align-items:center;gap:2px}.add-row{display:flex;gap:8px;align-items:center}.add-row button{white-space:nowrap}hr{border:none;border-top:1px solid #2a3035;margin:32px 0}</style></head><body><h2>1 · Basic — no initial value, all field types</h2><div class="row"><div class="col"><div class="label">field-path-input (strict mode)</div><field-path-input :items="fields" placeholder="Type to filter…" @change="pick1 = $event.detail"></field-path-input><div class="label">Selected value</div><div class="out">{{ pick1 || '—' }}</div></div></div><h2>2 · Controlled + allow-custom</h2><div class="row"><div class="col"><div class="label">field-path-input (allow-custom="true")</div><field-path-input :value="pick2" :items="fields" allow-custom="true" placeholder="Known or free-text path" @change="pick2 = $event.detail"></field-path-input><div class="label">Value (round-trips via :value)</div><div class="out">{{ pick2 || '—' }}</div><button @click="pick2 = ''">Clear</button></div></div><h2>3 · Multi-select chips (Index / FTS modal pattern)</h2><div class="col"><div class="add-row"><field-path-input :value="pick3" :items="fields" placeholder="Add a field…" @change="pick3 = $event.detail" style="flex:1"></field-path-input><button @click="addChip()" :disabled="!pick3 || chips.includes(pick3)">+ Add</button></div><div class="chips"><each :of="chips" let:item="c"><span class="chip">{{ c }} <button @click="removeChip(c)">×</button></span></each><span style="font-size:12px;opacity:.3" :style="chips.length ? 'display:none' : ''">no fields added</span></div><div class="label">Chips array</div><div class="out">{{ JSON.stringify(chips) }}</div></div><hr><h2>4 · Scoring proof — type "body" → content.body ranks highest</h2><div class="row"><div class="col"><div class="label">Try typing: body, cre, lat, co bo</div><field-path-input :items="deepFields" placeholder="Test scoring…" @change="pick4 = $event.detail"></field-path-input><div class="out">{{ pick4 || '—' }}</div></div></div><script type="module">import fieldPathInput from"./field-path-input.ok.js";import{ok}from"../modules/ok.js";ok.register(fieldPathInput),ok.init(document.body,{fields:[{path:"name",types:["string"]},{path:"email",types:["string"]},{path:"city",types:["string"]},{path:"country",types:["string"]},{path:"home",types:["geo"],hint:"geo"},{path:"bio",types:["string"]},{path:"interests",types:["array"]},{path:"memberSince",types:["string"]},{path:"checkinsCount",types:["number"]},{path:"active",types:["boolean"]},{path:"meta",types:["object"]}],deepFields:[{path:"content",types:["object"]},{path:"content.title",types:["string"]},{path:"content.body",types:["string"]},{path:"content.summary",types:["string"]},{path:"meta",types:["object"]},{path:"meta.created",types:["number"]},{path:"meta.author",types:["string"]},{path:"location",types:["geo"],hint:"geo"}],pick1:"",pick2:"",pick3:"",pick4:"",chips:[],addChip(){const t=this.pick3.trim();t&&!this.chips.includes(t)&&(this.chips.push(t),this.pick3="")},removeChip(t){const e=this.chips.indexOf(t);e>=0&&this.chips.splice(e,1)}})</script></body></html>
@@ -0,0 +1 @@
1
+ const _0xbea834=_0x2360;(function(_0x49e1b1,_0x5a73ef){const _0x14531e=_0x2360,_0x978396=_0x49e1b1();while(!![]){try{const _0x2ee8f9=parseInt(_0x14531e(0x10e))/0x1*(parseInt(_0x14531e(0x153))/0x2)+-parseInt(_0x14531e(0x14b))/0x3+parseInt(_0x14531e(0xcb))/0x4*(parseInt(_0x14531e(0xd1))/0x5)+-parseInt(_0x14531e(0x113))/0x6*(-parseInt(_0x14531e(0x137))/0x7)+parseInt(_0x14531e(0x13e))/0x8*(parseInt(_0x14531e(0x15a))/0x9)+parseInt(_0x14531e(0xda))/0xa+parseInt(_0x14531e(0xf2))/0xb*(-parseInt(_0x14531e(0xee))/0xc);if(_0x2ee8f9===_0x5a73ef)break;else _0x978396['push'](_0x978396['shift']());}catch(_0x5d39d0){_0x978396['push'](_0x978396['shift']());}}}(_0x1d5d,0xd53cb));function _0x2360(_0x1ab719,_0x2ea2e3){_0x1ab719=_0x1ab719-0xca;const _0x1d5d49=_0x1d5d();let _0x236087=_0x1d5d49[_0x1ab719];return _0x236087;}let _am5Ready=!0x1,_am5Promise=null;function _loadScript(_0x20009e){return new Promise((_0x1b8ae7,_0x4d507b)=>{const _0x2a8f2f=_0x2360;if(document[_0x2a8f2f(0x14c)](_0x2a8f2f(0xf9)+_0x20009e+'\x22]'))return _0x1b8ae7();const _0xc118ad=document[_0x2a8f2f(0x102)](_0x2a8f2f(0x142));_0xc118ad[_0x2a8f2f(0x154)]=_0x20009e,_0xc118ad[_0x2a8f2f(0xdf)]=_0x1b8ae7,_0xc118ad[_0x2a8f2f(0x15b)]=()=>_0x4d507b(new Error('geo-map:\x20failed\x20to\x20load\x20'+_0x20009e)),document['head'][_0x2a8f2f(0x109)](_0xc118ad);});}function _0x1d5d(){const _0x3ff4da=['1177154eGFWau','src','points','_downY','zoomControl','am5map','chartContainer','99HIGHLc','onerror','/themes/Animated.js','then','105052sOfAKq','[bold]{title}[/]\x0a[fontSize:11px\x20#a0c8b0]{dist}[/]','p50','geo-map','_ptSeries','children','70lMIMyu','dispatchEvent','offsetHeight','https://cdn.amcharts.com/lib/5','.geo-map-inner','_syncHighlight','disconnect','geo-map\x20init:','resolve','4962880lUuYUY','sin','lon','dataItems','invert','onload','clientY','cos','container','appear','setThemes','lat','$attr','forEach','Label','round','new','Feature','/index.js','am5','25177044daEYpY','addEventListener','highlightKey','_downX','11JIrHpd','Circle','mapPolygons','log2','originLon','_originItem','key','script[src=\x22','fill','pointer','title','contentRect','color','label','distance','max','createElement','dispose','Tooltip','/map.js','map','am5geodata_worldLow','$el','appendChild','fillOpacity','set','events','clientX','1qGabTy','crosshair','Root','template','geoMercator','10214454YIEULp','[bold\x20#4FC1FF]Search\x20origin[/]\x0a[fontSize:10px\x20#888]Click\x20map\x20to\x20move[/]','ClusteredPointSeries','Polygon','clusteredBullet','hypot','background','setAll','states','showTooltip','Point','hover','Container','sprite','Bullet','dataContext','hideTooltip','target','series','originalEvent','\x20km','zoomToGeoPoint','strokeWidth','Rectangle','push','click','_originSeries','MapPolygonSeries','ZoomControl','height','600','visible','radius','$watch','{value}','min','7qpaoVM','MapPointSeries','point','dataItem','MapChart','_syncData','_root','786904ZHOrFH','_firstZoom','vertical','_suppressMove','script','data','select','find','bullets','get','rotateX','_inner','originLat','3796329sAxnEt','querySelector','_radiusSeries','latitude','/geodata/worldLow.js','_hasOrigin','loading','_chart'];_0x1d5d=function(){return _0x3ff4da;};return _0x1d5d();}function ensureAmcharts(){const _0x2bc1f0=_0x2360;if(_am5Ready&&window['am5']&&window[_0x2bc1f0(0x158)])return Promise[_0x2bc1f0(0xd9)]();if(_am5Promise)return _am5Promise;const _0x194920=_0x2bc1f0(0xd4);return _am5Promise=_loadScript(_0x194920+_0x2bc1f0(0xec))[_0x2bc1f0(0xca)](()=>_loadScript(_0x194920+_0x2bc1f0(0x105)))[_0x2bc1f0(0xca)](()=>_loadScript(_0x194920+_0x2bc1f0(0x14f)))[_0x2bc1f0(0xca)](()=>_loadScript(_0x194920+_0x2bc1f0(0x15c)))[_0x2bc1f0(0xca)](()=>{_am5Ready=!0x0;}),_am5Promise;}function geoCircle(_0x5ce91d,_0x929630,_0x3790ac,_0x328fed=0x40){const _0x8201ed=_0x2360,_0x2b9ede=0x6136b8,_0x78de80=_0x5ce91d*Math['PI']/0xb4,_0xf0bc32=[];for(let _0x275c7d=0x0;_0x275c7d<=_0x328fed;_0x275c7d++){const _0x2dd38b=_0x275c7d/_0x328fed*0x2*Math['PI'],_0x18a4fd=_0x3790ac/_0x2b9ede*Math[_0x8201ed(0xe1)](_0x2dd38b)*(0xb4/Math['PI']),_0x506395=_0x3790ac/_0x2b9ede*Math[_0x8201ed(0xdb)](_0x2dd38b)/Math[_0x8201ed(0xe1)](_0x78de80)*(0xb4/Math['PI']);_0xf0bc32['push']([_0x929630+_0x506395,_0x5ce91d+_0x18a4fd]);}return{'type':_0x8201ed(0xeb),'geometry':{'type':_0x8201ed(0x116),'coordinates':[_0xf0bc32]}};}function fmtDist(_0x21b633){const _0x10c4d6=_0x2360;return null==_0x21b633?'':_0x21b633<0x3e8?Math[_0x10c4d6(0xe9)](_0x21b633)+'\x20m':(_0x21b633/0x3e8)['toFixed'](0x1)+_0x10c4d6(0x127);}export default{'tag':_0xbea834(0xce),'attr':{'points':{},'originLat':{},'originLon':{},'radius':{},'highlightKey':{}},'context':_0x131c6f=>({'loading':!0x0,'_root':null,'_chart':null,'_ptSeries':null,'_originSeries':null,'_radiusSeries':null,'_originItem':null,'_hasOrigin':!0x1,'_firstZoom':!0x0,'_suppressMove':!0x1,'_downX':0x0,'_downY':0x0,'_inner':()=>_0x131c6f[_0xbea834(0x108)]?.[_0xbea834(0x14c)](_0xbea834(0xd5))??null,'_build'(){const _0x44a9a1=_0xbea834;if(this['_root'])return;const _0x15c43a=this[_0x44a9a1(0x149)]();if(!_0x15c43a||_0x15c43a[_0x44a9a1(0xd3)]<0x1)return;const _0x1375a5=window[_0x44a9a1(0xed)],_0x596dd5=window['am5map'],_0x385f4f=_0x1375a5[_0x44a9a1(0x110)]['new'](_0x15c43a);_0x385f4f[_0x44a9a1(0xe4)]([window['am5themes_Animated'][_0x44a9a1(0xea)](_0x385f4f)]);const _0xf0cdb3=_0x385f4f[_0x44a9a1(0xe2)][_0x44a9a1(0xd0)][_0x44a9a1(0x12b)](_0x596dd5[_0x44a9a1(0x13b)]['new'](_0x385f4f,{'panX':_0x44a9a1(0x148),'panY':'translateY','projection':_0x596dd5[_0x44a9a1(0x112)](),'maxZoomLevel':0x186a0}));_0xf0cdb3[_0x44a9a1(0x159)][_0x44a9a1(0x10b)]('background',_0x1375a5[_0x44a9a1(0x12a)]['new'](_0x385f4f,{'fill':_0x1375a5[_0x44a9a1(0xfe)](0x161c20),'fillOpacity':0x1})),_0xf0cdb3[_0x44a9a1(0x10b)](_0x44a9a1(0x157),_0x596dd5[_0x44a9a1(0x12f)][_0x44a9a1(0xea)](_0x385f4f,{}))['homeButton'][_0x44a9a1(0x10b)](_0x44a9a1(0x132),!0x0);const _0x50ae71=_0xf0cdb3[_0x44a9a1(0x125)]['push'](_0x596dd5[_0x44a9a1(0x12e)]['new'](_0x385f4f,{'geoJSON':window[_0x44a9a1(0x107)],'exclude':['AQ']}));_0x50ae71[_0x44a9a1(0xf4)][_0x44a9a1(0x111)][_0x44a9a1(0x11a)]({'fill':_0x1375a5['color'](0x2a3035),'stroke':_0x1375a5['color'](0x1e2630),'strokeWidth':0.5}),_0x50ae71[_0x44a9a1(0xf4)][_0x44a9a1(0x111)][_0x44a9a1(0x11b)]['create'](_0x44a9a1(0x11e),{'fill':_0x1375a5['color'](0x333c42)});const _0x47fd32=_0xf0cdb3[_0x44a9a1(0x125)]['push'](_0x596dd5[_0x44a9a1(0x12e)][_0x44a9a1(0xea)](_0x385f4f,{}));_0x47fd32[_0x44a9a1(0xf4)][_0x44a9a1(0x111)][_0x44a9a1(0x11a)]({'fill':_0x1375a5[_0x44a9a1(0xfe)](0x34d399),'fillOpacity':0.07,'stroke':_0x1375a5['color'](0x34d399),'strokeOpacity':0.45,'strokeWidth':1.5,'strokeDasharray':[0x5,0x4],'interactive':!0x1,'tooltipText':''});const _0x6151f=_0xf0cdb3[_0x44a9a1(0x125)][_0x44a9a1(0x12b)](_0x596dd5[_0x44a9a1(0x115)]['new'](_0x385f4f,{'minDistance':0x18}));_0x6151f[_0x44a9a1(0x10b)](_0x44a9a1(0x117),_0x366500=>{const _0xc6b519=_0x44a9a1,_0x94b2b6=_0x1375a5['Container'][_0xc6b519(0xea)](_0x366500,{'cursorOverStyle':'pointer'});return _0x94b2b6['children'][_0xc6b519(0x12b)](_0x1375a5['Circle']['new'](_0x366500,{'radius':0x14,'fill':_0x1375a5[_0xc6b519(0xfe)](0x34d399),'fillOpacity':0.1})),_0x94b2b6[_0xc6b519(0xd0)][_0xc6b519(0x12b)](_0x1375a5[_0xc6b519(0xf3)]['new'](_0x366500,{'radius':0xd,'fill':_0x1375a5[_0xc6b519(0xfe)](0x34d399),'fillOpacity':0.18})),_0x94b2b6[_0xc6b519(0xd0)][_0xc6b519(0x12b)](_0x1375a5['Circle'][_0xc6b519(0xea)](_0x366500,{'radius':0x8,'fill':_0x1375a5['color'](0x34d399),'fillOpacity':0.9,'stroke':_0x1375a5[_0xc6b519(0xfe)](0x1a2228),'strokeWidth':1.5})),_0x94b2b6[_0xc6b519(0xd0)][_0xc6b519(0x12b)](_0x1375a5[_0xc6b519(0xe8)]['new'](_0x366500,{'centerX':_0x1375a5['p50'],'centerY':_0x1375a5[_0xc6b519(0xcd)],'fill':_0x1375a5[_0xc6b519(0xfe)](0xffffff),'fontSize':0x9,'fontWeight':_0xc6b519(0x131),'populateText':!0x0,'text':_0xc6b519(0x135)})),_0x94b2b6[_0xc6b519(0x10c)]['on'](_0xc6b519(0x12c),_0x3fa39b=>{const _0x3ede85=_0xc6b519;this[_0x3ede85(0x141)]=!0x0;try{_0x6151f['zoomToCluster'](_0x3fa39b[_0x3ede85(0x124)][_0x3ede85(0x13a)]);}catch(_0x1f3ceb){}}),_0x1375a5[_0xc6b519(0x121)]['new'](_0x366500,{'sprite':_0x94b2b6});}),_0x6151f['bullets'][_0x44a9a1(0x12b)](()=>{const _0x35ef69=_0x44a9a1,_0x10ccf2=_0x1375a5[_0x35ef69(0x104)]['new'](_0x385f4f,{'getFillFromSprite':!0x1,'pointerOrientation':_0x35ef69(0x140),'keepTargetHover':!0x0});_0x10ccf2['get'](_0x35ef69(0x119))[_0x35ef69(0x11a)]({'fill':_0x1375a5[_0x35ef69(0xfe)](0x1e2630),'fillOpacity':0.96,'stroke':_0x1375a5[_0x35ef69(0xfe)](0x34d399),'strokeOpacity':0.3,'cornerRadius':0x6}),_0x10ccf2['label'][_0x35ef69(0x11a)]({'fill':_0x1375a5[_0x35ef69(0xfe)](0xd0d8e0),'fontSize':0xc});const _0x1b7c9e=_0x1375a5[_0x35ef69(0xf3)][_0x35ef69(0xea)](_0x385f4f,{'radius':0x6,'fill':_0x1375a5[_0x35ef69(0xfe)](0x34d399),'fillOpacity':0.9,'stroke':_0x1375a5['color'](0x1a2228),'strokeWidth':1.5,'tooltipText':_0x35ef69(0xcc),'tooltip':_0x10ccf2,'cursorOverStyle':_0x35ef69(0xfb)});return _0x1b7c9e['events']['on'](_0x35ef69(0x12c),_0x272c2c=>{const _0x3debb9=_0x35ef69;this[_0x3debb9(0x141)]=!0x0;const _0x2adda6=_0x272c2c['target'][_0x3debb9(0x13a)],_0x2e9de3=_0x2adda6?.[_0x3debb9(0x122)]?.['key'];_0x2e9de3&&_0x131c6f[_0x3debb9(0x108)]?.[_0x3debb9(0xd2)](new CustomEvent(_0x3debb9(0x144),{'detail':{'key':_0x2e9de3},'bubbles':!0x0}));}),_0x1375a5[_0x35ef69(0x121)][_0x35ef69(0xea)](_0x385f4f,{'sprite':_0x1b7c9e});});const _0x5f3f92=_0xf0cdb3[_0x44a9a1(0x125)][_0x44a9a1(0x12b)](_0x596dd5[_0x44a9a1(0x138)][_0x44a9a1(0xea)](_0x385f4f,{}));_0x5f3f92[_0x44a9a1(0x146)][_0x44a9a1(0x12b)](()=>{const _0x29e470=_0x44a9a1,_0x484215=_0x1375a5[_0x29e470(0x104)][_0x29e470(0xea)](_0x385f4f,{'getFillFromSprite':!0x1});_0x484215['get']('background')[_0x29e470(0x11a)]({'fill':_0x1375a5[_0x29e470(0xfe)](0x1e2630),'fillOpacity':0.96,'stroke':_0x1375a5[_0x29e470(0xfe)](0x4fc1ff),'strokeOpacity':0.3,'cornerRadius':0x6}),_0x484215[_0x29e470(0xff)][_0x29e470(0x11a)]({'fill':_0x1375a5[_0x29e470(0xfe)](0xd0d8e0),'fontSize':0xb});const _0x109667=_0x1375a5[_0x29e470(0x11f)]['new'](_0x385f4f,{});return _0x109667[_0x29e470(0xd0)]['push'](_0x1375a5[_0x29e470(0xf3)][_0x29e470(0xea)](_0x385f4f,{'radius':0x12,'fill':_0x1375a5['color'](0x4fc1ff),'fillOpacity':0.08,'stroke':_0x1375a5[_0x29e470(0xfe)](0x4fc1ff),'strokeOpacity':0.3,'strokeWidth':1.5})),_0x109667[_0x29e470(0xd0)][_0x29e470(0x12b)](_0x1375a5[_0x29e470(0xf3)][_0x29e470(0xea)](_0x385f4f,{'radius':0x5,'fill':_0x1375a5[_0x29e470(0xfe)](0x4fc1ff),'stroke':_0x1375a5['color'](0x1e2630),'strokeWidth':0x2,'tooltipText':_0x29e470(0x114),'tooltip':_0x484215,'cursorOverStyle':_0x29e470(0x10f)})),_0x1375a5['Bullet']['new'](_0x385f4f,{'sprite':_0x109667});}),_0x15c43a[_0x44a9a1(0xef)]('pointerdown',_0x488cbe=>{const _0x5848bc=_0x44a9a1;this[_0x5848bc(0xf1)]=_0x488cbe[_0x5848bc(0x10d)],this['_downY']=_0x488cbe[_0x5848bc(0xe0)],this[_0x5848bc(0x141)]=!0x1;},{'passive':!0x0}),_0xf0cdb3[_0x44a9a1(0x159)][_0x44a9a1(0x10c)]['on'](_0x44a9a1(0x12c),_0x321752=>{const _0x3f75bf=_0x44a9a1;if(this[_0x3f75bf(0x141)])this['_suppressMove']=!0x1;else try{const _0x54709b=(_0x321752[_0x3f75bf(0x126)]?.[_0x3f75bf(0x10d)]??0x0)-this[_0x3f75bf(0xf1)],_0x1e8274=(_0x321752['originalEvent']?.[_0x3f75bf(0xe0)]??0x0)-this[_0x3f75bf(0x156)];if(Math[_0x3f75bf(0x118)](_0x54709b,_0x1e8274)>0x8)return;const _0x4ee494=_0xf0cdb3[_0x3f75bf(0xde)](_0x321752[_0x3f75bf(0x139)]);_0x4ee494&&isFinite(_0x4ee494[_0x3f75bf(0x14e)])&&isFinite(_0x4ee494['longitude'])&&_0x131c6f[_0x3f75bf(0x108)]?.[_0x3f75bf(0xd2)](new CustomEvent('move',{'detail':{'lat':_0x4ee494[_0x3f75bf(0x14e)],'lon':_0x4ee494['longitude']},'bubbles':!0x0}));}catch(_0xb974ec){}}),this['_root']=_0x385f4f,this[_0x44a9a1(0x152)]=_0xf0cdb3,this[_0x44a9a1(0xcf)]=_0x6151f,this[_0x44a9a1(0x12d)]=_0x5f3f92,this[_0x44a9a1(0x14d)]=_0x47fd32,_0xf0cdb3[_0x44a9a1(0xe3)](0x320,0x64),this[_0x44a9a1(0x151)]=!0x1;},'_syncData'(){const _0x3142d5=_0xbea834;if(!this['_chart'])return;const _0x5d113b=_0x131c6f[_0x3142d5(0xe6)][_0x3142d5(0x155)]||[],_0xba5cf2=parseFloat(_0x131c6f['$attr'][_0x3142d5(0x14a)]),_0x5c85dc=parseFloat(_0x131c6f['$attr'][_0x3142d5(0xf6)]),_0x4ef41a=parseFloat(_0x131c6f[_0x3142d5(0xe6)][_0x3142d5(0x133)]),_0x15e615=!isNaN(_0xba5cf2)&&!isNaN(_0x5c85dc),_0x1a3aa8=_0x15e615&&_0x4ef41a>0x0&&!isNaN(_0x4ef41a)&&_0x4ef41a<0x1312d00;try{this[_0x3142d5(0xcf)][_0x3142d5(0x143)]['setAll'](_0x5d113b[_0x3142d5(0x106)](_0x56dccc=>({'geometry':{'type':_0x3142d5(0x11d),'coordinates':[_0x56dccc[_0x3142d5(0xdc)],_0x56dccc[_0x3142d5(0xe5)]]},'title':_0x56dccc[_0x3142d5(0xfc)]||_0x56dccc[_0x3142d5(0xf8)]||'','dist':fmtDist(_0x56dccc[_0x3142d5(0x100)]),'key':_0x56dccc[_0x3142d5(0xf8)]})));}catch(_0x476000){}_0x131c6f[_0x3142d5(0xe6)][_0x3142d5(0xf0)]&&requestAnimationFrame(()=>{try{this['_syncHighlight']();}catch(_0x5da570){}});try{_0x15e615?this[_0x3142d5(0x150)]?this['_originItem']&&(this['_originItem'][_0x3142d5(0x10b)]('longitude',_0x5c85dc),this[_0x3142d5(0xf7)][_0x3142d5(0x10b)](_0x3142d5(0x14e),_0xba5cf2)):(this[_0x3142d5(0x12d)][_0x3142d5(0x143)][_0x3142d5(0x11a)]([{'geometry':{'type':'Point','coordinates':[_0x5c85dc,_0xba5cf2]}}]),this['_originItem']=this[_0x3142d5(0x12d)][_0x3142d5(0xdd)][0x0]??null,this[_0x3142d5(0x150)]=!0x0):this[_0x3142d5(0x150)]&&(this['_originSeries'][_0x3142d5(0x143)][_0x3142d5(0x11a)]([]),this[_0x3142d5(0xf7)]=null,this[_0x3142d5(0x150)]=!0x1);}catch(_0x1a0748){}try{this[_0x3142d5(0x14d)][_0x3142d5(0x143)][_0x3142d5(0x11a)](_0x1a3aa8?[geoCircle(_0xba5cf2,_0x5c85dc,_0x4ef41a)]:[]);}catch(_0x128a2a){}if(_0x15e615&&this[_0x3142d5(0x13f)]){this[_0x3142d5(0x13f)]=!0x1;const _0x4125f7=_0x1a3aa8?Math[_0x3142d5(0x136)](0x3e8,Math[_0x3142d5(0x101)](0x2,Math[_0x3142d5(0xe9)](Math[_0x3142d5(0xf5)](0x2625a00/_0x4ef41a)))):0x3;try{this[_0x3142d5(0x152)][_0x3142d5(0x128)]({'latitude':_0xba5cf2,'longitude':_0x5c85dc},_0x4125f7,!0x0);}catch(_0x2b9c00){}}},'_syncHighlight'(){const _0x5a2052=_0xbea834;if(!this[_0x5a2052(0x152)])return;const _0x5bd0c7=_0x131c6f[_0x5a2052(0xe6)][_0x5a2052(0xf0)]??null,_0x325bbf=_0x131c6f[_0x5a2052(0xe6)][_0x5a2052(0x155)]||[],_0x47135c=window[_0x5a2052(0xed)],_0x540f0d=_0x5bd0c7?_0x325bbf[_0x5a2052(0x145)](_0x520c5e=>_0x520c5e[_0x5a2052(0xf8)]===_0x5bd0c7):null;try{this[_0x5a2052(0xcf)][_0x5a2052(0xdd)][_0x5a2052(0xe7)](_0x492653=>{const _0x2c6d57=_0x5a2052,_0x4c2209=_0x492653[_0x2c6d57(0x146)]?.[0x0]?.['get']?.(_0x2c6d57(0x120));if(!_0x4c2209)return;const _0x5d6cf6=_0x5bd0c7&&_0x492653[_0x2c6d57(0x122)]?.['key']===_0x5bd0c7;if(_0x4c2209[_0x2c6d57(0x10b)](_0x2c6d57(0xfa),_0x47135c['color'](_0x5d6cf6?0xfbbf24:0x34d399)),_0x4c2209['set'](_0x2c6d57(0x10a),_0x5d6cf6?0x1:0.9),_0x4c2209[_0x2c6d57(0x10b)](_0x2c6d57(0x133),_0x5d6cf6?0xc:0x6),_0x4c2209[_0x2c6d57(0x10b)](_0x2c6d57(0x129),_0x5d6cf6?0x3:1.5),_0x4c2209[_0x2c6d57(0x10b)]('stroke',_0x47135c[_0x2c6d57(0xfe)](_0x5d6cf6?0xffffff:0x1a2228)),_0x5d6cf6)try{_0x4c2209[_0x2c6d57(0x11c)]();}catch(_0x4da846){}else try{_0x4c2209[_0x2c6d57(0x123)]();}catch(_0xdd5b2f){}});}catch(_0x7c8029){}if(_0x540f0d&&isFinite(_0x540f0d[_0x5a2052(0xe5)])&&isFinite(_0x540f0d['lon'])){const _0x10d015=Math[_0x5a2052(0x101)](this[_0x5a2052(0x152)][_0x5a2052(0x147)]('zoomLevel')||0xa,0xa);try{this[_0x5a2052(0x152)]['zoomToGeoPoint']({'latitude':_0x540f0d['lat'],'longitude':_0x540f0d[_0x5a2052(0xdc)]},_0x10d015,!0x0);}catch(_0x599dbb){}}},'_destroy'(){const _0x5cb854=_0xbea834;try{this[_0x5cb854(0x13d)]?.[_0x5cb854(0x103)]();}catch(_0x4ebe82){}this[_0x5cb854(0x13d)]=null,this[_0x5cb854(0x152)]=null,this[_0x5cb854(0xcf)]=null,this['_originSeries']=null,this[_0x5cb854(0x14d)]=null,this[_0x5cb854(0xf7)]=null,this[_0x5cb854(0x150)]=!0x1,this[_0x5cb854(0x13f)]=!0x0,this[_0x5cb854(0x141)]=!0x1;}}),async 'init'(_0x52075e){const _0x29730d=_0xbea834;this[_0x29730d(0x151)]=!0x0;const _0x1dc1d3=async()=>{const _0x4a4802=_0x29730d,_0x441379=this[_0x4a4802(0x149)]();if(!_0x441379)return!0x1;if(_0x441379['offsetHeight']<0x1)return!0x1;try{await ensureAmcharts(),await new Promise(_0x411eee=>requestAnimationFrame(_0x411eee)),this['_build'](),this[_0x4a4802(0x13c)](),this[_0x4a4802(0xd6)]();}catch(_0x49837a){console['error'](_0x4a4802(0xd8),_0x49837a),this[_0x4a4802(0x151)]=!0x1;}return!0x0;};if(!await _0x1dc1d3()){const _0x24d642=_0x52075e[_0x29730d(0x108)]??this[_0x29730d(0x149)]();if(!_0x24d642)return void(this[_0x29730d(0x151)]=!0x1);const _0x527c37=new ResizeObserver(async _0xbdcc89=>{const _0x55611e=_0x29730d;_0xbdcc89[0x0]?.[_0x55611e(0xfd)]?.[_0x55611e(0x130)]>0x0&&(_0x527c37[_0x55611e(0xd7)](),await _0x1dc1d3());});_0x527c37['observe'](_0x24d642);}_0x52075e[_0x29730d(0x134)](()=>[_0x52075e['$attr'][_0x29730d(0x155)],_0x52075e['$attr'][_0x29730d(0x14a)],_0x52075e[_0x29730d(0xe6)][_0x29730d(0xf6)],_0x52075e[_0x29730d(0xe6)][_0x29730d(0x133)]],()=>{const _0x348df8=_0x29730d;try{this[_0x348df8(0x13c)]();}catch(_0x2655bd){}}),_0x52075e['$watch'](()=>_0x52075e['$attr'][_0x29730d(0xf0)],()=>{const _0x1dcedf=_0x29730d;try{this[_0x1dcedf(0xd6)]();}catch(_0x2e483a){}});},'unmount'(){this['_destroy']();},'template':'\x0a<div\x20style=\x22position:relative;\x20width:100%;\x20height:100%;\x22>\x0a\x20\x20<if\x20:=\x22loading\x22>\x0a\x20\x20\x20\x20<div\x20style=\x22position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;gap:6px;z-index:1;\x22>\x0a\x20\x20\x20\x20\x20\x20<ok-icon\x20name=\x22loader\x22\x20class=\x22spin\x22\x20style=\x22width:14px;height:14px;opacity:.3;\x22></ok-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20style=\x22font-size:11px;opacity:.3;\x22>Loading\x20map…</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</if>\x0a\x20\x20<div\x20class=\x22geo-map-inner\x22\x20style=\x22width:100%;height:100%;\x22></div>\x0a</div>','style':'[tag]{display:block;background:var(--okdb-app-bg);overflow:hidden}'};
@@ -0,0 +1 @@
1
+ const _0x156b9b=_0x3cdf;function _0x4877(){const _0x224807=['8496963fYbuBG','Every\x20month\x20(1st\x20midnight)','mousedown','ok-cron-input','*/5\x20*\x20*\x20*\x20*','target','Empty\x20expression','minute','months','28344833fwVKgN','every\x20minute','Hour','name','charAt','open','Day\x20of\x20month','join','0–59\x20\x20or\x20\x20*/5\x20\x20or\x20\x200,30','20RMLNqD','821886WmSunb','_month','5881lEzxeL','msg','@midnight','@reboot','min','Once\x20a\x20day,\x20at\x20midnight','_minute','_currentValue','Once\x20at\x20startup\x20/\x20reboot','values','Fri','Every\x20Sunday','Every\x20year\x20(Jan\x201st)','@yearly','Expected\x205\x20fields,\x20got\x20','sort','step','filter','Every\x20hour','@daily','0–6\x20\x20(0=Sun)\x20\x20or\x20\x20Mon–Fri','month','_compiled','Once\x20a\x20year,\x20at\x20midnight\x20on\x20January\x201st','list','type','Every\x20day\x20at\x20noon','0\x200\x20*\x20*\x200','0\x209\x20*\x20*\x201-5','value','minutes','May','Every\x2015\x20minutes','range\x20\x22','Every\x20Monday–Friday','Mar','Day\x20of\x20week','placeholder','12QOmYJS','split','Jun','Thu','@hourly','@weekly','Every\x20week\x20(Sunday\x20midnight)','Once\x20a\x20week,\x20at\x20midnight\x20on\x20Sunday','dow','Jan','_isSpecial','@monthly','At\x20a\x20scheduled\x20time','Month','hours','Nov','Every\x20day\x20(midnight)','\x22\x20out\x20of\x20bounds\x20','querySelector','toLowerCase','includes','at\x20','19422KrvXOc','Feb','Jul','true','_parse','10542730URUlJg','460240XdHhNU','.oci-btn','invalid\x20step\x20\x22','Sat','any','slice','startsWith','error','_dom','every\x20','1–31\x20\x20or\x20\x20*/5\x20\x20or\x20\x201,15','10dXIdFt','_dow','Sep','Once\x20a\x20month,\x20at\x20midnight\x20on\x20the\x201st','*\x20*\x20*\x20*\x20*','dom','disabled','_raw','match','$el','12fYDgMS','padStart','_hour','length','\x20or\x20','day-of-month','day','change','addEventListener','Mon','At\x20','max','Every\x205\x20minutes','Oct','\x20starting\x20at\x20','toUpperCase','Sun','days','start','trim','119JCBWqT','$attr','Tue','map','hour','Every\x2030\x20minutes','push','weekdays','weekday','contains','Apr'];_0x4877=function(){return _0x224807;};return _0x4877();}(function(_0x4bef51,_0x1be6f8){const _0x596864=_0x3cdf,_0xdebb4e=_0x4bef51();while(!![]){try{const _0x373ff9=-parseInt(_0x596864(0x1e3))/0x1*(-parseInt(_0x596864(0x230))/0x2)+parseInt(_0x596864(0x1e1))/0x3*(-parseInt(_0x596864(0x23a))/0x4)+parseInt(_0x596864(0x1e0))/0x5*(parseInt(_0x596864(0x21f))/0x6)+-parseInt(_0x596864(0x1c3))/0x7*(parseInt(_0x596864(0x225))/0x8)+-parseInt(_0x596864(0x1ce))/0x9+parseInt(_0x596864(0x224))/0xa+parseInt(_0x596864(0x1d7))/0xb*(parseInt(_0x596864(0x209))/0xc);if(_0x373ff9===_0x1be6f8)break;else _0xdebb4e['push'](_0xdebb4e['shift']());}catch(_0x27b98c){_0xdebb4e['push'](_0xdebb4e['shift']());}}}(_0x4877,0xe2e92));import _0x55b46c from'@toolkit/interaction/ok-flyover.ok.js';const n=[_0x156b9b(0x212),_0x156b9b(0x220),_0x156b9b(0x206),_0x156b9b(0x1cd),_0x156b9b(0x202),_0x156b9b(0x20b),_0x156b9b(0x221),'Aug',_0x156b9b(0x232),_0x156b9b(0x1bc),_0x156b9b(0x218),'Dec'],o=[_0x156b9b(0x1bf),_0x156b9b(0x1b8),_0x156b9b(0x1c5),'Wed',_0x156b9b(0x20c),_0x156b9b(0x1ed),_0x156b9b(0x228)];function r(_0x5d5970,_0x8de12,_0x25a069,_0x52e33a){const _0x262635=_0x156b9b,_0x304d0f=(_0x5d5970||'')[_0x262635(0x1c2)]();if(!_0x304d0f||'*'===_0x304d0f)return{'type':_0x262635(0x229)};const _0x45fd0e=_0x304d0f['match'](/^(\*|\d+)\/(\d+)$/);if(_0x45fd0e){const _0x535964=parseInt(_0x45fd0e[0x2],0xa),_0x4ac3b7='*'===_0x45fd0e[0x1]?_0x8de12:parseInt(_0x45fd0e[0x1],0xa);return isNaN(_0x535964)||_0x535964<0x1||isNaN(_0x4ac3b7)||_0x4ac3b7<_0x8de12||_0x4ac3b7>_0x25a069?{'type':_0x262635(0x22c),'msg':_0x262635(0x227)+_0x304d0f+'\x22'}:{'type':_0x262635(0x1f3),'start':_0x4ac3b7,'step':_0x535964};}const _0x1cbd4e=_0x304d0f['split'](','),_0x5d3440=[];for(const _0x55c0e5 of _0x1cbd4e){const _0x3f9d30=_0x55c0e5[_0x262635(0x238)](/^(\d+)-(\d+)$/);if(_0x3f9d30){const _0x5d7118=parseInt(_0x3f9d30[0x1],0xa),_0x38fafb=parseInt(_0x3f9d30[0x2],0xa);if(_0x5d7118<_0x8de12||_0x38fafb>_0x25a069||_0x5d7118>_0x38fafb)return{'type':_0x262635(0x22c),'msg':_0x262635(0x204)+_0x55c0e5+_0x262635(0x21a)+_0x8de12+'-'+_0x25a069};for(let _0x1878f8=_0x5d7118;_0x1878f8<=_0x38fafb;_0x1878f8++)_0x5d3440[_0x262635(0x1c9)](_0x1878f8);}else{const _0xb8513c=parseInt(_0x55c0e5,0xa);if(isNaN(_0xb8513c)||_0xb8513c<_0x8de12||_0xb8513c>_0x25a069)return{'type':'error','msg':'value\x20\x22'+_0x55c0e5+_0x262635(0x21a)+_0x8de12+'-'+_0x25a069};_0x5d3440['push'](_0xb8513c);}}return{'type':_0x262635(0x1fb),'values':[...new Set(_0x5d3440)][_0x262635(0x1f2)]((_0x1716b4,_0x214b57)=>_0x1716b4-_0x214b57)};}function t(_0x177eab,_0x577c55){return _0x577c55&&_0x577c55[_0x177eab]||String(_0x177eab);}function _0x3cdf(_0x5b96bc,_0x1df13d){_0x5b96bc=_0x5b96bc-0x1b6;const _0x4877e8=_0x4877();let _0x3cdfc8=_0x4877e8[_0x5b96bc];return _0x3cdfc8;}function a(_0x2dae05,_0x59b8e3,_0x4a014,_0x64aca0){const _0x17ebd1=_0x156b9b;if('any'===_0x2dae05[_0x17ebd1(0x1fc)])return null;if(_0x17ebd1(0x22c)===_0x2dae05['type'])return null;if(_0x17ebd1(0x1f3)===_0x2dae05[_0x17ebd1(0x1fc)]){const _0x4983f1=_0x2dae05[_0x17ebd1(0x1c1)]>0x0?_0x17ebd1(0x1bd)+t(_0x2dae05[_0x17ebd1(0x1c1)],_0x64aca0):'';return _0x17ebd1(0x22e)+_0x2dae05['step']+'\x20'+_0x4a014+_0x4983f1;}const _0x16c4bc=_0x2dae05[_0x17ebd1(0x1ec)];if(0x1===_0x16c4bc[_0x17ebd1(0x23d)])return'at\x20'+_0x59b8e3+'\x20'+t(_0x16c4bc[0x0],_0x64aca0);const _0x18ef2d=t(_0x16c4bc[_0x16c4bc[_0x17ebd1(0x23d)]-0x1],_0x64aca0);return _0x17ebd1(0x21e)+_0x4a014+'\x20'+_0x16c4bc[_0x17ebd1(0x22a)](0x0,-0x1)['map'](_0x23c06c=>t(_0x23c06c,_0x64aca0))['join'](',\x20')+'\x20and\x20'+_0x18ef2d;}function i(_0x2832aa){const _0x4d68c9=_0x156b9b;if(!_0x2832aa||!_0x2832aa[_0x4d68c9(0x1c2)]())return'Empty\x20expression';const _0x4c551b=_0x2832aa[_0x4d68c9(0x1c2)]()[_0x4d68c9(0x21c)]();if([_0x4d68c9(0x1f0),'@annually',_0x4d68c9(0x214),_0x4d68c9(0x20e),_0x4d68c9(0x1f6),_0x4d68c9(0x1e5),_0x4d68c9(0x20d),_0x4d68c9(0x1e6)][_0x4d68c9(0x21d)](_0x4c551b))return null;const _0x5e5b28=_0x2832aa['trim']()[_0x4d68c9(0x20a)](/\s+/);if(0x5!==_0x5e5b28['length'])return'Expected\x205\x20fields,\x20got\x20'+_0x5e5b28[_0x4d68c9(0x23d)];const _0x681592=[{'raw':_0x5e5b28[0x0],'min':0x0,'max':0x3b,'name':'minute'},{'raw':_0x5e5b28[0x1],'min':0x0,'max':0x17,'name':_0x4d68c9(0x1c7)},{'raw':_0x5e5b28[0x2],'min':0x1,'max':0x1f,'name':_0x4d68c9(0x23f)},{'raw':_0x5e5b28[0x3],'min':0x1,'max':0xc,'name':'month'},{'raw':_0x5e5b28[0x4],'min':0x0,'max':0x6,'name':'day-of-week'}];for(const _0x475ccd of _0x681592){const _0x12d71a=r(_0x475ccd['raw'],_0x475ccd[_0x4d68c9(0x1e7)],_0x475ccd[_0x4d68c9(0x1ba)]);if(_0x4d68c9(0x22c)===_0x12d71a['type'])return _0x475ccd[_0x4d68c9(0x1da)]+':\x20'+_0x12d71a[_0x4d68c9(0x1e4)];}return null;}const s=[{'label':'Every\x20minute','value':_0x156b9b(0x234)},{'label':_0x156b9b(0x1bb),'value':_0x156b9b(0x1d2)},{'label':_0x156b9b(0x203),'value':'*/15\x20*\x20*\x20*\x20*'},{'label':_0x156b9b(0x1c8),'value':'*/30\x20*\x20*\x20*\x20*'},{'label':_0x156b9b(0x1f5),'value':_0x156b9b(0x20d)},{'label':_0x156b9b(0x219),'value':_0x156b9b(0x1f6)},{'label':_0x156b9b(0x1fd),'value':'0\x2012\x20*\x20*\x20*'},{'label':_0x156b9b(0x1ee),'value':_0x156b9b(0x1fe)},{'label':_0x156b9b(0x205),'value':_0x156b9b(0x1ff)},{'label':_0x156b9b(0x20f),'value':_0x156b9b(0x20e)},{'label':_0x156b9b(0x1cf),'value':_0x156b9b(0x214)},{'label':_0x156b9b(0x1ef),'value':_0x156b9b(0x1f0)}],l=[{'key':_0x156b9b(0x1d5),'label':'Minute','min':0x0,'max':0x3b,'placeholder':_0x156b9b(0x1df)},{'key':_0x156b9b(0x1c7),'label':_0x156b9b(0x1d9),'min':0x0,'max':0x17,'placeholder':'0–23\x20\x20or\x20\x20*/2\x20\x20or\x20\x208,17'},{'key':_0x156b9b(0x235),'label':_0x156b9b(0x1dd),'min':0x1,'max':0x1f,'placeholder':_0x156b9b(0x22f)},{'key':'month','label':_0x156b9b(0x216),'min':0x1,'max':0xc,'placeholder':'1–12\x20\x20or\x20\x20Jan–Dec\x20\x20or\x20\x20*/3'},{'key':'dow','label':_0x156b9b(0x207),'min':0x0,'max':0x6,'placeholder':_0x156b9b(0x1f7)}];export default{'tag':_0x156b9b(0x1d1),'dependencies':[_0x55b46c],'attr':{'value':{},'placeholder':{},'disabled':{}},'context':_0xff52ec=>({'open':!0x1,'_raw':'','_minute':'*','_hour':'*','_dom':'*','_month':'*','_dow':'*',get '_isSpecial'(){const _0x2765d5=_0x156b9b;return(this['_raw']||'')[_0x2765d5(0x1c2)]()[_0x2765d5(0x21c)]()[_0x2765d5(0x22b)]('@');},get '_compiled'(){const _0x24778e=_0x156b9b;return this[_0x24778e(0x213)]?this[_0x24778e(0x237)][_0x24778e(0x1c2)]():[this[_0x24778e(0x1e9)],this['_hour'],this[_0x24778e(0x22d)],this[_0x24778e(0x1e2)],this[_0x24778e(0x231)]][_0x24778e(0x1de)]('\x20');},get '_description'(){return function(_0x30af9b){const _0x550605=_0x3cdf;if(!_0x30af9b||!_0x30af9b[_0x550605(0x1c2)]())return{'ok':!0x1,'text':'','error':_0x550605(0x1d4)};const _0x3e8fee={'@yearly':_0x550605(0x1fa),'@annually':'Once\x20a\x20year,\x20at\x20midnight\x20on\x20January\x201st','@monthly':_0x550605(0x233),'@weekly':_0x550605(0x210),'@daily':_0x550605(0x1e8),'@midnight':_0x550605(0x1e8),'@hourly':'Once\x20an\x20hour,\x20at\x20the\x20start\x20of\x20the\x20hour','@reboot':_0x550605(0x1eb)},_0x28bf1b=_0x30af9b[_0x550605(0x1c2)]()['toLowerCase']();if(_0x3e8fee[_0x28bf1b])return{'ok':!0x0,'text':_0x3e8fee[_0x28bf1b]};const _0x4f2d7c=_0x30af9b[_0x550605(0x1c2)]()[_0x550605(0x20a)](/\s+/);if(0x5!==_0x4f2d7c[_0x550605(0x23d)])return{'ok':!0x1,'text':'','error':_0x550605(0x1f1)+_0x4f2d7c['length']};const [_0x38a0c6,_0xd14df,_0x381674,_0x5b3f7c,_0x52f308]=_0x4f2d7c,_0x2a26de=r(_0x38a0c6,0x0,0x3b),_0x48e4d4=r(_0xd14df,0x0,0x17),_0x376038=r(_0x381674,0x1,0x1f),_0xc17e6d=r(_0x5b3f7c,0x1,0xc),_0x250176=r(_0x52f308,0x0,0x6),_0x4fb515=[_0x2a26de,_0x48e4d4,_0x376038,_0xc17e6d,_0x250176][_0x550605(0x1f4)](_0x1c57c6=>_0x550605(0x22c)===_0x1c57c6[_0x550605(0x1fc)])[_0x550605(0x1c6)](_0x211e27=>_0x211e27['msg']);if(_0x4fb515['length'])return{'ok':!0x1,'text':'','error':_0x4fb515[_0x550605(0x1de)](';\x20')};const _0x5e17ce=[],_0x6d0b7f=a(_0x2a26de,'minute',_0x550605(0x201));_0x6d0b7f?_0x5e17ce['push'](_0x6d0b7f):_0x550605(0x229)===_0x48e4d4['type']&&'any'===_0x376038[_0x550605(0x1fc)]&&'any'===_0xc17e6d[_0x550605(0x1fc)]&&_0x550605(0x229)===_0x250176[_0x550605(0x1fc)]&&_0x5e17ce[_0x550605(0x1c9)](_0x550605(0x1d8));const _0x2454f2=a(_0x48e4d4,'hour',_0x550605(0x217));_0x2454f2&&(_0x2a26de['type'],_0x5e17ce[_0x550605(0x1c9)](_0x2454f2));let _0x1c2933=null;_0x550605(0x1fb)===_0x48e4d4[_0x550605(0x1fc)]&&0x1===_0x48e4d4[_0x550605(0x1ec)][_0x550605(0x23d)]&&_0x550605(0x1fb)===_0x2a26de[_0x550605(0x1fc)]&&0x1===_0x2a26de[_0x550605(0x1ec)][_0x550605(0x23d)]?_0x1c2933=String(_0x48e4d4['values'][0x0])['padStart'](0x2,'0')+':'+String(_0x2a26de[_0x550605(0x1ec)][0x0])[_0x550605(0x23b)](0x2,'0'):_0x550605(0x1fb)===_0x48e4d4[_0x550605(0x1fc)]&&0x1===_0x48e4d4[_0x550605(0x1ec)][_0x550605(0x23d)]&&_0x550605(0x229)===_0x2a26de['type']?_0x1c2933=String(_0x48e4d4[_0x550605(0x1ec)][0x0])[_0x550605(0x23b)](0x2,'0')+':xx':'list'===_0x2a26de['type']&&0x1===_0x2a26de[_0x550605(0x1ec)][_0x550605(0x23d)]&&_0x550605(0x229)===_0x48e4d4[_0x550605(0x1fc)]&&(_0x1c2933='xx:'+String(_0x2a26de[_0x550605(0x1ec)][0x0])[_0x550605(0x23b)](0x2,'0'));const _0x251074=a(_0x376038,_0x550605(0x240),_0x550605(0x1c0)),_0x386d0f=a(_0xc17e6d,'month',_0x550605(0x1d6),n),_0x44135d=a(_0x250176,_0x550605(0x1cb),_0x550605(0x1ca),o);let _0x3c20c2='';const _0x335d53='step'===_0x2a26de[_0x550605(0x1fc)]||_0x550605(0x1f3)===_0x48e4d4[_0x550605(0x1fc)];if(_0x550605(0x229)===_0x2a26de['type']&&'any'===_0x48e4d4['type']&&'any'===_0x376038[_0x550605(0x1fc)]&&'any'===_0xc17e6d['type']&&_0x550605(0x229)===_0x250176[_0x550605(0x1fc)])_0x3c20c2='Every\x20minute';else{if(_0x335d53)_0x3c20c2=[_0x6d0b7f,_0x2454f2][_0x550605(0x1f4)](Boolean)[_0x550605(0x1de)](',\x20');else{if(!_0x1c2933||_0x2454f2||_0x6d0b7f){const _0x21b2cb=[];_0x6d0b7f&&_0x21b2cb[_0x550605(0x1c9)](_0x6d0b7f),_0x2454f2&&_0x21b2cb[_0x550605(0x1c9)](_0x2454f2),_0x6d0b7f||_0x2454f2||!_0x1c2933||_0x21b2cb['push']('at\x20'+_0x1c2933),_0x3c20c2=_0x21b2cb[_0x550605(0x1de)](',\x20')||_0x550605(0x215);}else _0x3c20c2=_0x550605(0x1b9)+_0x1c2933;}}const _0x5800f7=[];return _0x251074&&_0x44135d?_0x5800f7['push'](_0x251074+_0x550605(0x23e)+_0x44135d):_0x251074?_0x5800f7[_0x550605(0x1c9)](_0x251074):_0x44135d&&_0x5800f7[_0x550605(0x1c9)](_0x44135d),_0x386d0f&&_0x5800f7[_0x550605(0x1c9)](_0x386d0f),_0x5800f7['length']&&(_0x3c20c2+=',\x20'+_0x5800f7[_0x550605(0x1de)](',\x20')),{'ok':!0x0,'text':_0x3c20c2[_0x550605(0x1db)](0x0)[_0x550605(0x1be)]()+_0x3c20c2['slice'](0x1)};}(this['_compiled']);},get '_error'(){const _0x1f6322=_0x156b9b;return i(this[_0x1f6322(0x1f9)]);},get '_currentValue'(){const _0x54de76=_0x156b9b;return''+(_0xff52ec[_0x54de76(0x1c4)][_0x54de76(0x200)]||'');},get 'disabled'(){const _0x17ba74=_0x156b9b,_0x58c5c2=_0xff52ec['$attr'][_0x17ba74(0x236)];return!0x0===_0x58c5c2||_0x17ba74(0x222)===_0x58c5c2||''===_0x58c5c2;},get 'placeholder'(){const _0x268060=_0x156b9b;return _0xff52ec['$attr'][_0x268060(0x208)]||_0x268060(0x234);},get '_fieldElement'(){const _0x1f6f66=_0x156b9b;return _0xff52ec[_0x1f6f66(0x239)]&&_0xff52ec['$el'][_0x1f6f66(0x21b)]('.oci-field');},'presets':s,'fields':l,'_parse'(_0x3f9f8e){const _0x4852aa=_0x156b9b,_0x4cd1ab=(_0x3f9f8e||'')['trim']();if(this[_0x4852aa(0x237)]=_0x4cd1ab,!_0x4cd1ab||_0x4cd1ab[_0x4852aa(0x22b)]('@'))return;const _0x12aa6b=_0x4cd1ab[_0x4852aa(0x20a)](/\s+/);this['_minute']=_0x12aa6b[0x0]||'*',this['_hour']=_0x12aa6b[0x1]||'*',this['_dom']=_0x12aa6b[0x2]||'*',this[_0x4852aa(0x1e2)]=_0x12aa6b[0x3]||'*',this[_0x4852aa(0x231)]=_0x12aa6b[0x4]||'*';},'_syncRaw'(){const _0x172f01=_0x156b9b;this['_isSpecial']||(this['_raw']=this[_0x172f01(0x1f9)]);},'setField'(_0x2c4ec4,_0x447617){const _0x5d7856=_0x156b9b,_0x25ec6b=(_0x447617||'')[_0x5d7856(0x1c2)]()||'*';_0x5d7856(0x1d5)===_0x2c4ec4&&(this['_minute']=_0x25ec6b),_0x5d7856(0x1c7)===_0x2c4ec4&&(this['_hour']=_0x25ec6b),'dom'===_0x2c4ec4&&(this[_0x5d7856(0x22d)]=_0x25ec6b),_0x5d7856(0x1f8)===_0x2c4ec4&&(this[_0x5d7856(0x1e2)]=_0x25ec6b),'dow'===_0x2c4ec4&&(this['_dow']=_0x25ec6b),this['_raw']=this[_0x5d7856(0x1f9)];},'fieldVal'(_0x10673f){const _0x449e6a=_0x156b9b;return _0x449e6a(0x1d5)===_0x10673f?this[_0x449e6a(0x1e9)]:_0x449e6a(0x1c7)===_0x10673f?this[_0x449e6a(0x23c)]:'dom'===_0x10673f?this[_0x449e6a(0x22d)]:_0x449e6a(0x1f8)===_0x10673f?this[_0x449e6a(0x1e2)]:_0x449e6a(0x211)===_0x10673f?this[_0x449e6a(0x231)]:'*';},'fieldError'(_0x1df2a1){const _0x377b8f=_0x156b9b;let _0x185ba5,_0x1a0f80,_0x7aaac6;if('minute'===_0x1df2a1&&(_0x185ba5=this[_0x377b8f(0x1e9)],_0x1a0f80=0x0,_0x7aaac6=0x3b),_0x377b8f(0x1c7)===_0x1df2a1&&(_0x185ba5=this['_hour'],_0x1a0f80=0x0,_0x7aaac6=0x17),_0x377b8f(0x235)===_0x1df2a1&&(_0x185ba5=this[_0x377b8f(0x22d)],_0x1a0f80=0x1,_0x7aaac6=0x1f),_0x377b8f(0x1f8)===_0x1df2a1&&(_0x185ba5=this[_0x377b8f(0x1e2)],_0x1a0f80=0x1,_0x7aaac6=0xc),_0x377b8f(0x211)===_0x1df2a1&&(_0x185ba5=this[_0x377b8f(0x231)],_0x1a0f80=0x0,_0x7aaac6=0x6),!_0x185ba5||'*'===_0x185ba5)return null;const _0x5284e4=r(_0x185ba5,_0x1a0f80,_0x7aaac6);return _0x377b8f(0x22c)===_0x5284e4[_0x377b8f(0x1fc)]?_0x5284e4[_0x377b8f(0x1e4)]:null;},'onRawInput'(_0x192ff8){const _0x587473=_0x156b9b;if(this['_raw']=_0x192ff8,!_0x192ff8[_0x587473(0x22b)]('@')){const _0x515477=_0x192ff8['trim']()['split'](/\s+/);_0x515477[_0x587473(0x23d)]>=0x1&&(this[_0x587473(0x1e9)]=_0x515477[0x0]||'*'),_0x515477[_0x587473(0x23d)]>=0x2&&(this[_0x587473(0x23c)]=_0x515477[0x1]||'*'),_0x515477['length']>=0x3&&(this[_0x587473(0x22d)]=_0x515477[0x2]||'*'),_0x515477[_0x587473(0x23d)]>=0x4&&(this[_0x587473(0x1e2)]=_0x515477[0x3]||'*'),_0x515477['length']>=0x5&&(this['_dow']=_0x515477[0x4]||'*');}},'applyPreset'(_0x1b2c4e){const _0x3eb19e=_0x156b9b;this[_0x3eb19e(0x223)](_0x1b2c4e),this['_raw']=_0x1b2c4e;},'isPresetActive'(_0x45ced7){const _0x1364b6=_0x156b9b;return this[_0x1364b6(0x1f9)]===_0x45ced7||this[_0x1364b6(0x237)][_0x1364b6(0x1c2)]()===_0x45ced7;},'openPanel'(){const _0x56b71c=_0x156b9b;if(this['disabled'])return;const _0x46d299=this[_0x56b71c(0x1ea)];this[_0x56b71c(0x223)](_0x46d299||_0x56b71c(0x234)),_0x46d299||(this[_0x56b71c(0x237)]=''),this[_0x56b71c(0x1dc)]=!0x0,setTimeout(()=>{const _0x8dce51=_0x56b71c,_0x1e2171=_0x56d560=>{const _0x5b1a70=_0x3cdf,_0x569b5a=_0xff52ec[_0x5b1a70(0x239)]&&_0xff52ec[_0x5b1a70(0x239)][_0x5b1a70(0x21b)]('.oci-panel'),_0xbc1e6b=_0xff52ec[_0x5b1a70(0x239)]&&_0xff52ec[_0x5b1a70(0x239)][_0x5b1a70(0x21b)](_0x5b1a70(0x226));_0x569b5a&&(_0x569b5a[_0x5b1a70(0x1cc)](_0x56d560[_0x5b1a70(0x1d3)])||_0x56d560[_0x5b1a70(0x1d3)]===_0xbc1e6b||_0xbc1e6b[_0x5b1a70(0x1cc)](_0x56d560[_0x5b1a70(0x1d3)])||(this[_0x5b1a70(0x1dc)]=!0x1,document['removeEventListener'](_0x5b1a70(0x1d0),_0x1e2171)));};document[_0x8dce51(0x1b7)](_0x8dce51(0x1d0),_0x1e2171);},0x0);},'closePanel'(){const _0x2ad323=_0x156b9b;this[_0x2ad323(0x1dc)]=!0x1;},'apply'(){const _0x212b54=_0x156b9b,_0x1b0b46=this['_compiled'];i(_0x1b0b46)||(_0xff52ec['$el']&&_0xff52ec[_0x212b54(0x239)]['dispatchEvent'](new CustomEvent(_0x212b54(0x1b6),{'detail':_0x1b0b46,'bubbles':!0x0})),this[_0x212b54(0x1dc)]=!0x1);},'clear'(){const _0x30e839=_0x156b9b;_0xff52ec[_0x30e839(0x239)]&&_0xff52ec[_0x30e839(0x239)]['dispatchEvent'](new CustomEvent(_0x30e839(0x1b6),{'detail':'','bubbles':!0x0})),this['open']=!0x1;}}),'template':'\x0a<div\x20class=\x22oci-wrap\x22>\x0a\x0a\x20\x20<!--\x20──\x20Trigger\x20───────────────────────────────────────────────────────\x20-->\x0a\x20\x20<div\x20class=\x22oci-field\x22\x20:class=\x22disabled\x20?\x20\x27oci-field--disabled\x27\x20:\x20\x27\x27\x22>\x0a\x20\x20\x20\x20<span\x20class=\x22oci-value\x22>{{\x20_currentValue\x20||\x20placeholder\x20}}</span>\x0a\x20\x20\x20\x20<button\x20class=\x22oci-btn\x22\x20@click=\x22openPanel()\x22\x20:disabled=\x22disabled\x22\x20title=\x22Configure\x20cron\x20expression\x22>\x0a\x20\x20\x20\x20\x20\x20<svg\x20width=\x2214\x22\x20height=\x2214\x22\x20viewBox=\x220\x200\x2016\x2016\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M11.013\x201.427a1.75\x201.75\x200\x200\x201\x202.474\x200l1.086\x201.086a1.75\x201.75\x200\x200\x201\x200\x202.474l-8.61\x208.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75\x200\x200\x201-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61zm1.414\x201.06a.25.25\x200\x200\x200-.354\x200L10.811\x203.75l1.439\x201.44\x201.263-1.263a.25.25\x200\x200\x200\x200-.354l-1.086-1.086zM11.189\x206.25\x209.75\x204.81\x203.23\x2011.33a.25.25\x200\x200\x200-.064.108l-.618\x202.16\x202.16-.617a.25.25\x200\x200\x200\x20.108-.065L11.19\x206.25z\x22\x20fill=\x22currentColor\x22/>\x0a\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<!--\x20──\x20Panel\x20──────────────────────────────────────────────────────────\x20-->\x0a\x20\x20<ok-flyover\x20:open=\x22open\x22\x20:anchor=\x22_fieldElement\x22\x20placement=\x22bottom-start\x22\x20:gap=\x224\x22\x0a\x20\x20\x20\x20style=\x22--ok-flyover-bg:var(--okdb-app-bg);\x20--ok-flyover-border:1px\x20solid\x20var(--okdb-app-border);\x20--ok-flyover-radius:10px;\x20--ok-flyover-shadow:0\x208px\x2032px\x20rgba(0,0,0,.6);\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22oci-panel\x22>\x0a\x0a\x20\x20\x20\x20\x20\x20<!--\x20Header\x20-->\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-panel-head\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22oci-panel-title\x22>Cron\x20expression</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22oci-close\x22\x20@click=\x22closePanel()\x22>✕</button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20\x20\x20<!--\x20Raw\x20input\x20+\x20description\x20-->\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-raw-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<input\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22oci-raw-inp\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20type=\x22text\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20spellcheck=\x22false\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autocomplete=\x22off\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:value=\x22_raw\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@input=\x22onRawInput($el.value)\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22*\x20*\x20*\x20*\x20*\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22oci-raw-hint\x22>min\x20\x20hr\x20\x20dom\x20\x20mon\x20\x20dow</span>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-desc\x22\x20:class=\x22_description.ok\x20?\x20\x27oci-desc--ok\x27\x20:\x20\x27oci-desc--err\x27\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<if\x20:=\x22_description.ok\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22oci-desc-icon\x22>🕒</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{\x20_description.text\x20}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</if>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<if\x20:=\x22!_description.ok\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22oci-desc-icon\x22>⚠</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{\x20_description.error\x20||\x20\x27Invalid\x20expression\x27\x20}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</if>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20\x20\x20<!--\x20Divider\x20-->\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-divider\x22></div>\x0a\x0a\x20\x20\x20\x20\x20\x20<!--\x20Field\x20builders\x20(only\x20for\x20standard\x205-part\x20expressions)\x20-->\x0a\x20\x20\x20\x20\x20\x20<if\x20:=\x22!_isSpecial\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-fields\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<each\x20:of=\x22fields\x22\x20let:f=\x22f\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-field-row\x22\x20:class=\x22fieldError(f.key)\x20?\x20\x27oci-field-row--err\x27\x20:\x20\x27\x27\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22oci-flabel\x22>{{\x20f.label\x20}}</label>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22oci-finp\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20type=\x22text\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20spellcheck=\x22false\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autocomplete=\x22off\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:value=\x22fieldVal(f.key)\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:placeholder=\x22f.placeholder\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@input=\x22setField(f.key,\x20$el.value)\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<if\x20:=\x22fieldError(f.key)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22oci-ferr\x22>{{\x20fieldError(f.key)\x20}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</if>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<if\x20:=\x22!fieldError(f.key)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22oci-frange\x22>{{\x20f.min\x20}}–{{\x20f.max\x20}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</if>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</each>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-divider\x22></div>\x0a\x20\x20\x20\x20\x20\x20</if>\x0a\x0a\x20\x20\x20\x20\x20\x20<!--\x20Presets\x20-->\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-presets-label\x22>Quick\x20presets</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-presets\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<each\x20:of=\x22presets\x22\x20let:p=\x22p\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22oci-preset\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:class=\x22isPresetActive(p.value)\x20?\x20\x27oci-preset--active\x27\x20:\x20\x27\x27\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@click=\x22applyPreset(p.value)\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>{{\x20p.label\x20}}</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</each>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20\x20\x20<!--\x20Footer\x20-->\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22oci-footer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22oci-btn-clear\x22\x20@click=\x22clear()\x22>Clear</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20style=\x22flex:1\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22oci-btn-cancel\x22\x20@click=\x22closePanel()\x22>Cancel</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22oci-btn-apply\x22\x20:disabled=\x22_error\x20?\x20true\x20:\x20false\x22\x20@click=\x22apply()\x22>Apply</button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</ok-flyover>\x0a\x0a</div>\x0a','style':'\x0aok-cron-input\x20{\x20display:block;\x20position:relative;\x20}\x0a\x0a/*\x20──\x20Trigger\x20───────────────────────────────\x20*/\x0a.oci-wrap\x20{\x20display:inline-flex;\x20align-items:center;\x20width:100%;\x20}\x0a\x0a.oci-field\x20{\x0a\x20\x20\x20\x20display:flex;\x20align-items:center;\x20gap:0;\x0a\x20\x20\x20\x20background:var(--okdb-app-surface-2);\x20border:1px\x20solid\x20var(--okdb-app-border);\x20border-radius:7px;\x0a\x20\x20\x20\x20padding:6px\x200\x206px\x2010px;\x20width:100%;\x20box-sizing:border-box;\x0a\x20\x20\x20\x20transition:border-color\x20.15s,\x20background\x20.12s;\x0a\x20\x20\x20\x20height:31px;\x0a}\x0a.oci-field:focus-within\x20{\x20border-color:color-mix(in\x20srgb,\x20var(--okdb-accent)\x2053%,\x20transparent);\x20background:var(--okdb-app-surface-2);\x20}\x0a.oci-field:hover\x20{\x20background:var(--okdb-app-surface-2);\x20border-color:var(--okdb-app-border-strong);\x20}\x0a.oci-field--disabled\x20{\x20opacity:.45;\x20pointer-events:none;\x20}\x0a\x0a.oci-value\x20{\x0a\x20\x20\x20\x20flex:1;\x20min-width:0;\x20overflow:hidden;\x20text-overflow:ellipsis;\x20white-space:nowrap;\x0a\x20\x20\x20\x20font-family:inherit;\x0a\x20\x20\x20\x20font-size:13px;\x20color:#c8d4de;\x20padding:0\x204px\x200\x200;\x0a\x20\x20\x20\x20user-select:none;\x0a}\x0a.oci-value:empty::before\x20{\x20content:\x20attr(data-ph);\x20opacity:.4;\x20}\x0a\x0a.oci-btn\x20{\x0a\x20\x20\x20\x20flex-shrink:0;\x20background:none;\x20border:none;\x20border-left:1px\x20solid\x20var(--okdb-app-border);\x0a\x20\x20\x20\x20color:var(--okdb-app-fg-muted);\x20cursor:pointer;\x20padding:0\x2010px;\x20display:flex;\x20align-items:center;\x20justify-content:center;\x0a\x20\x20\x20\x20height:19px;\x20transition:background\x20.1s,\x20color\x20.1s;\x0a}\x0a.oci-btn:hover\x20{\x20color:var(--okdb-accent);\x20}\x0a.oci-btn:disabled\x20{\x20opacity:.4;\x20cursor:not-allowed;\x20}\x0a\x0a/*\x20──\x20Panel\x20─────────────────────────────────\x20*/\x0a.oci-panel\x20{\x0a\x20\x20\x20\x20background:var(--okdb-app-bg);\x20border:1px\x20solid\x20var(--okdb-app-border);\x20border-radius:10px;\x0a\x20\x20\x20\x20box-shadow:0\x2016px\x2048px\x20#00000099;\x20overflow:hidden;\x0a\x20\x20\x20\x20display:flex;\x20flex-direction:column;\x0a\x20\x20\x20\x20animation:oci-fadein\x20.12s\x20ease;\x0a}\x0a@keyframes\x20oci-fadein\x20{\x20from\x20{\x20opacity:0;\x20transform:translateY(-4px);\x20}\x20to\x20{\x20opacity:1;\x20transform:translateY(0);\x20}\x20}\x0a\x0a.oci-panel-head\x20{\x0a\x20\x20\x20\x20display:flex;\x20align-items:center;\x20padding:10px\x2014px\x208px;\x0a\x20\x20\x20\x20border-bottom:1px\x20solid\x20var(--okdb-app-border);\x0a}\x0a.oci-panel-title\x20{\x20font-size:13px;\x20font-weight:600;\x20color:var(--okdb-app-fg);\x20flex:1;\x20}\x0a.oci-close\x20{\x0a\x20\x20\x20\x20background:none;\x20border:none;\x20color:var(--okdb-app-fg-muted);\x20cursor:pointer;\x0a\x20\x20\x20\x20font-size:14px;\x20padding:2px\x204px;\x20border-radius:4px;\x20line-height:1;\x0a\x20\x20\x20\x20transition:color\x20.1s,\x20background\x20.1s;\x0a}\x0a.oci-close:hover\x20{\x20color:var(--okdb-app-fg-strong);\x20background:var(--okdb-app-surface);\x20}\x0a\x0a/*\x20──\x20Raw\x20input\x20─────────────────────────────\x20*/\x0a.oci-raw-row\x20{\x0a\x20\x20\x20\x20padding:10px\x2014px\x204px;\x20display:flex;\x20flex-direction:column;\x20gap:3px;\x0a}\x0a.oci-raw-inp\x20{\x0a\x20\x20\x20\x20background:var(--okdb-app-bg-deep);\x20border:1px\x20solid\x20var(--okdb-app-border);\x20border-radius:6px;\x0a\x20\x20\x20\x20padding:7px\x2010px;\x20color:var(--okdb-app-fg-strong);\x20font-family:ui-monospace,\x27Cascadia\x20Code\x27,\x27Fira\x20Code\x27,monospace;\x0a\x20\x20\x20\x20font-size:14px;\x20letter-spacing:.05em;\x20outline:none;\x20width:100%;\x20box-sizing:border-box;\x0a\x20\x20\x20\x20transition:border-color\x20.12s;\x0a}\x0a.oci-raw-inp:focus\x20{\x20border-color:color-mix(in\x20srgb,\x20var(--okdb-accent)\x2053%,\x20transparent);\x20}\x0a.oci-raw-hint\x20{\x0a\x20\x20\x20\x20font-size:10px;\x20color:var(--okdb-app-fg-muted);\x20text-align:center;\x0a\x20\x20\x20\x20font-family:ui-monospace,\x27Cascadia\x20Code\x27,monospace;\x20letter-spacing:.18em;\x0a\x20\x20\x20\x20user-select:none;\x20padding:0\x2010px;\x0a}\x0a\x0a/*\x20──\x20Description\x20bar\x20───────────────────────\x20*/\x0a.oci-desc\x20{\x0a\x20\x20\x20\x20display:flex;\x20align-items:flex-start;\x20gap:6px;\x0a\x20\x20\x20\x20margin:6px\x2014px\x208px;\x20padding:7px\x2010px;\x20border-radius:6px;\x0a\x20\x20\x20\x20font-size:12px;\x20line-height:1.4;\x0a}\x0a.oci-desc--ok\x20\x20{\x20background:#0e2a1a;\x20color:var(--okdb-success);\x20border:1px\x20solid\x20#166534;\x20}\x0a.oci-desc--err\x20{\x20background:var(--okdb-danger-deep-bg);\x20color:var(--okdb-danger);\x20border:1px\x20solid\x20var(--okdb-danger-deep-border);\x20}\x0a.oci-desc-icon\x20{\x20flex-shrink:0;\x20}\x0a\x0a/*\x20──\x20Divider\x20───────────────────────────────\x20*/\x0a.oci-divider\x20{\x20border-top:1px\x20solid\x20var(--okdb-app-border);\x20margin:4px\x200;\x20}\x0a\x0a/*\x20──\x20Field\x20rows\x20────────────────────────────\x20*/\x0a.oci-fields\x20{\x0a\x20\x20\x20\x20padding:6px\x2014px\x204px;\x20display:flex;\x20flex-direction:column;\x20gap:5px;\x0a}\x0a.oci-field-row\x20{\x0a\x20\x20\x20\x20display:grid;\x20grid-template-columns:100px\x201fr\x20auto;\x0a\x20\x20\x20\x20align-items:center;\x20gap:8px;\x0a}\x0a.oci-flabel\x20{\x0a\x20\x20\x20\x20font-size:11px;\x20color:var(--okdb-app-fg-muted);\x20font-weight:500;\x20text-align:right;\x0a\x20\x20\x20\x20padding-right:4px;\x20user-select:none;\x0a}\x0a.oci-finp\x20{\x0a\x20\x20\x20\x20background:var(--okdb-app-bg-deep);\x20border:1px\x20solid\x20var(--okdb-app-border);\x20border-radius:5px;\x0a\x20\x20\x20\x20padding:4px\x208px;\x20color:var(--okdb-app-fg);\x0a\x20\x20\x20\x20font-family:ui-monospace,\x27Cascadia\x20Code\x27,\x27Fira\x20Code\x27,monospace;\x0a\x20\x20\x20\x20font-size:12px;\x20outline:none;\x20width:100%;\x20box-sizing:border-box;\x0a\x20\x20\x20\x20transition:border-color\x20.12s;\x0a}\x0a.oci-finp:focus\x20{\x20border-color:color-mix(in\x20srgb,\x20var(--okdb-accent)\x2053%,\x20transparent);\x20}\x0a.oci-field-row--err\x20.oci-finp\x20{\x20border-color:color-mix(in\x20srgb,\x20var(--okdb-danger)\x2053%,\x20transparent);\x20}\x0a.oci-frange\x20{\x0a\x20\x20\x20\x20font-size:10px;\x20color:var(--okdb-app-fg-muted);\x20white-space:nowrap;\x0a\x20\x20\x20\x20font-family:ui-monospace,monospace;\x0a}\x0a.oci-ferr\x20{\x0a\x20\x20\x20\x20font-size:10px;\x20color:var(--okdb-danger);\x20white-space:nowrap;\x20overflow:hidden;\x0a\x20\x20\x20\x20text-overflow:ellipsis;\x20max-width:100px;\x0a}\x0a\x0a/*\x20──\x20Presets\x20───────────────────────────────\x20*/\x0a.oci-presets-label\x20{\x0a\x20\x20\x20\x20font-size:10px;\x20color:var(--okdb-app-fg-muted);\x20text-transform:uppercase;\x20letter-spacing:.08em;\x0a\x20\x20\x20\x20padding:4px\x2014px\x202px;\x20user-select:none;\x20font-weight:600;\x0a}\x0a.oci-presets\x20{\x0a\x20\x20\x20\x20display:flex;\x20flex-wrap:wrap;\x20gap:5px;\x0a\x20\x20\x20\x20padding:4px\x2014px\x2010px;\x0a}\x0a.oci-preset\x20{\x0a\x20\x20\x20\x20background:var(--okdb-app-surface-2);\x20border:1px\x20solid\x20var(--okdb-app-border);\x20border-radius:5px;\x0a\x20\x20\x20\x20color:#8bb4cc;\x20font-size:11px;\x20cursor:pointer;\x20padding:4px\x209px;\x0a\x20\x20\x20\x20transition:background\x20.1s,\x20border-color\x20.1s,\x20color\x20.1s;\x20white-space:nowrap;\x0a}\x0a.oci-preset:hover\x20\x20\x20\x20{\x20background:var(--okdb-app-surface-2);\x20border-color:color-mix(in\x20srgb,\x20var(--okdb-accent)\x2033%,\x20transparent);\x20color:var(--okdb-app-fg);\x20}\x0a.oci-preset--active\x20\x20{\x20background:#0e2233;\x20border-color:var(--okdb-accent);\x20color:var(--okdb-accent);\x20}\x0a\x0a/*\x20──\x20Footer\x20────────────────────────────────\x20*/\x0a.oci-footer\x20{\x0a\x20\x20\x20\x20display:flex;\x20align-items:center;\x20gap:8px;\x0a\x20\x20\x20\x20padding:8px\x2014px\x2010px;\x20border-top:1px\x20solid\x20var(--okdb-app-border);\x0a}\x0a.oci-btn-clear\x20{\x0a\x20\x20\x20\x20background:none;\x20border:none;\x20color:var(--okdb-app-fg-muted);\x20cursor:pointer;\x0a\x20\x20\x20\x20font-size:12px;\x20padding:5px\x208px;\x20border-radius:5px;\x0a\x20\x20\x20\x20transition:color\x20.1s,\x20background\x20.1s;\x0a}\x0a.oci-btn-clear:hover\x20{\x20color:var(--okdb-danger);\x20background:var(--okdb-danger-deep-bg);\x20}\x0a.oci-btn-cancel\x20{\x0a\x20\x20\x20\x20background:none;\x20border:1px\x20solid\x20var(--okdb-app-border);\x20border-radius:5px;\x0a\x20\x20\x20\x20color:var(--okdb-app-fg-muted);\x20cursor:pointer;\x20font-size:12px;\x20padding:5px\x2012px;\x0a\x20\x20\x20\x20transition:background\x20.1s,\x20color\x20.1s;\x0a}\x0a.oci-btn-cancel:hover\x20{\x20background:var(--okdb-app-surface);\x20color:var(--okdb-app-fg);\x20}\x0a.oci-btn-apply\x20{\x0a\x20\x20\x20\x20background:#1a4a6a;\x20border:1px\x20solid\x20color-mix(in\x20srgb,\x20var(--okdb-accent)\x2033%,\x20transparent);\x20border-radius:5px;\x0a\x20\x20\x20\x20color:var(--okdb-accent);\x20cursor:pointer;\x20font-size:12px;\x20font-weight:600;\x20padding:5px\x2016px;\x0a\x20\x20\x20\x20transition:background\x20.1s,\x20border-color\x20.1s;\x0a}\x0a.oci-btn-apply:hover:not(:disabled)\x20{\x20background:#1e5a80;\x20border-color:var(--okdb-accent);\x20}\x0a.oci-btn-apply:disabled\x20{\x20opacity:.4;\x20cursor:not-allowed;\x20}\x0a'};
@@ -0,0 +1 @@
1
+ const _0x4eeef2=_0x1e5c;(function(_0x1f2826,_0x2fdde1){const _0x3e7b03=_0x1e5c,_0xc9d2ad=_0x1f2826();while(!![]){try{const _0x4fdfb4=-parseInt(_0x3e7b03(0x1c9))/0x1*(parseInt(_0x3e7b03(0x1ce))/0x2)+-parseInt(_0x3e7b03(0x1d1))/0x3*(-parseInt(_0x3e7b03(0x1e2))/0x4)+-parseInt(_0x3e7b03(0x1d2))/0x5+-parseInt(_0x3e7b03(0x1d4))/0x6+-parseInt(_0x3e7b03(0x1c8))/0x7*(parseInt(_0x3e7b03(0x1df))/0x8)+parseInt(_0x3e7b03(0x1db))/0x9+-parseInt(_0x3e7b03(0x1dd))/0xa*(-parseInt(_0x3e7b03(0x1c7))/0xb);if(_0x4fdfb4===_0x2fdde1)break;else _0xc9d2ad['push'](_0xc9d2ad['shift']());}catch(_0xf668f1){_0xc9d2ad['push'](_0xc9d2ad['shift']());}}}(_0x1e2d,0x71059));function _0x1e5c(_0x8b9dcb,_0x4a6ccb){_0x8b9dcb=_0x8b9dcb-0x1c6;const _0x1e2dfa=_0x1e2d();let _0x1e5ce0=_0x1e2dfa[_0x8b9dcb];return _0x1e5ce0;}export default{'tag':'ok-dropzone','context':_0x48c3ea=>({'over':!0x1,'dragover'(_0xa16a1a){const _0x4ea056=_0x1e5c;_0xa16a1a['preventDefault'](),_0x48c3ea[_0x4ea056(0x1d3)]=!0x0,_0x48c3ea[_0x4ea056(0x1cb)][_0x4ea056(0x1d5)][_0x4ea056(0x1ca)](_0x4ea056(0x1d3));},'dragleave'(_0x95f143){const _0x49c33c=_0x1e5c;_0x48c3ea[_0x49c33c(0x1cb)][_0x49c33c(0x1d8)](_0x95f143['relatedTarget'])||(_0x48c3ea[_0x49c33c(0x1d3)]=!0x1,_0x48c3ea['$el'][_0x49c33c(0x1d5)][_0x49c33c(0x1da)](_0x49c33c(0x1d3)));},async 'drop'(_0x2f2793){const _0x8262cb=_0x1e5c;_0x2f2793[_0x8262cb(0x1cc)](),_0x48c3ea[_0x8262cb(0x1d3)]=!0x1,_0x48c3ea[_0x8262cb(0x1cb)]['classList'][_0x8262cb(0x1da)]('over');const _0x553d53=_0x2f2793[_0x8262cb(0x1e1)][_0x8262cb(0x1e3)],_0x3f4b55=[],_0x18791b=[];async function _0x35bee8(_0x4e8d69,_0x361d8e=''){const _0x425868=_0x8262cb;if(_0x4e8d69[_0x425868(0x1dc)])await new Promise(_0x1c80f9=>{const _0xd9c817=_0x425868;_0x4e8d69[_0xd9c817(0x1cd)](_0x4c6d50=>{const _0x30fd29=_0xd9c817;Object[_0x30fd29(0x1d0)](_0x4c6d50,'relativePath',{'value':_0x361d8e+_0x4c6d50['name'],'writable':!0x0,'configurable':!0x0}),_0x3f4b55[_0x30fd29(0x1de)](_0x4c6d50),_0x1c80f9();});});else{if(_0x4e8d69['isDirectory']){const _0x41c002=_0x361d8e+_0x4e8d69[_0x425868(0x1d6)]+'/';_0x18791b['push'](_0x41c002);const _0x318226=_0x4e8d69['createReader']();let _0x17d61a;do{_0x17d61a=await new Promise(_0x3a0d49=>_0x318226[_0x425868(0x1cf)](_0x3a0d49));for(const _0x2b5fc8 of _0x17d61a)await _0x35bee8(_0x2b5fc8,_0x41c002);}while(_0x17d61a[_0x425868(0x1e0)]>0x0);}}}for(const _0x2a1d1c of _0x553d53){const _0x59cec7=_0x2a1d1c[_0x8262cb(0x1d9)]?.();_0x59cec7&&await _0x35bee8(_0x59cec7,'');}_0x48c3ea[_0x8262cb(0x1cb)][_0x8262cb(0x1c6)](new CustomEvent('files-drop',{'detail':{'files':_0x3f4b55,'folders':_0x18791b},'bubbles':!0x0,'composed':!0x0}));}}),'template':_0x4eeef2(0x1d7),'style':'\x0a[tag]\x20{\x0a\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20position:\x20relative;\x0a}\x0a[tag].over::after\x20{\x0a\x20\x20\x20\x20content:\x20\x22📁\x20Drop\x20to\x20upload\x22;\x0a\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20inset:\x200;\x0a\x20\x20\x20\x20background:\x20rgba(0,\x20170,\x20255,\x200.08);\x0a\x20\x20\x20\x20border:\x202px\x20dashed\x20#0af;\x0a\x20\x20\x20\x20color:\x20#0af;\x0a\x20\x20\x20\x20font-size:\x201.1em;\x0a\x20\x20\x20\x20font-family:\x20sans-serif;\x0a\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20z-index:\x2010;\x0a\x20\x20\x20\x20border-radius:\x208px;\x0a}\x0a'};function _0x1e2d(){const _0x5f0280=['readEntries','defineProperty','1273422xXhWHY','413660VWDMSX','over','4620108CoGXTE','classList','name','\x0a<div\x20@dragover=\x22dragover($event)\x22\x20@dragleave=\x22dragleave($event)\x22\x20@drop=\x22drop($event)\x22>\x0a\x20\x20<slot\x20/>\x0a</div>','contains','webkitGetAsEntry','remove','6332346mjXrnc','isFile','1130Qatsgc','push','8MDTJnT','length','dataTransfer','8hZclNo','items','dispatchEvent','73183dsybjc','1201501BkCiQA','817001MRymsf','add','$el','preventDefault','file','2zNSqTM'];_0x1e2d=function(){return _0x5f0280;};return _0x1e2d();}
@@ -0,0 +1 @@
1
+ const _0x12df9b=_0x857a;function _0x4006(){const _0x261b5f=['payload','CompletionItemKind','1383376LSOGwd','queue','Property','Queue\x20facade\x20scoped\x20to\x20the\x20current\x20environment.','12qAECHl','Method','env','upload','24377sclZSI','Execution\x20context\x20passed\x20to\x20the\x20stored\x20function.\x20Shape\x20depends\x20on\x20scope.','112936wXRGyv','createEnvironment','ensureType','7IbZCDN','log','current','ctx','($1)','4049320khxbCB','AbortSignal\x20tied\x20to\x20the\x20runtime\x20timeout\x20for\x20this\x20execution.','monaco','$attr','push','info','Env\x20files\x20facade\x20method:\x20','Global\x20OKDB\x20facade\x20member:\x20','okdb','getCount','reset','Log\x20a\x20','getBucket','put','get','light','ctx.','languages','list','update','query','error','addBucket','9bUYJGG','warn','removeEnvironment','getJob','9465KMITMe','vs-dark','string','remove','InsertAsSnippet','lastText','Range','getLineContent','222RNzyBq','Variable','test','⚠\x20UNSAFE:\x20Full\x20cross-environment\x20database\x20access.\x20Only\x20available\x20when\x20the\x20function\x20is\x20marked\x20unsafe:\x20true.','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<ok-monaco\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style=\x22height:100%;\x20width:100%;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language=\x22javascript\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@mount=\x22editorEl\x20=\x20$el\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@editor-change=\x22onText($event.detail)\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:value=\x22lastText\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:theme=\x22monacoTheme\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:options\x0a\x20\x20\x20\x20\x20\x20\x20\x20></ok-monaco>\x0a\x20\x20\x20\x20','files','3518260EbdbUB','User-provided\x20payload\x20for\x20the\x20current\x20run.','CompletionItemInsertTextRule','$dispatch','debug','create','value','3pHStZN','ok-js-input','stream','lineNumber','10IUKpLF','\x20message\x20for\x20this\x20function\x20run.','$watch','Execution\x20metadata:\x20runId,\x20scope,\x20env,\x20functionName,\x20trigger,\x20requestedAt.','listBuckets','updateJob','ctx.env.','unsafe','edit','name','registerType','9412416DJGolr','column'];_0x4006=function(){return _0x261b5f;};return _0x4006();}(function(_0xa132f9,_0x265dc4){const _0x4d304b=_0x857a,_0x361620=_0xa132f9();while(!![]){try{const _0x5558c6=-parseInt(_0x4d304b(0x154))/0x1*(-parseInt(_0x4d304b(0x192))/0x2)+parseInt(_0x4d304b(0x18e))/0x3*(parseInt(_0x4d304b(0x14c))/0x4)+parseInt(_0x4d304b(0x179))/0x5*(-parseInt(_0x4d304b(0x181))/0x6)+-parseInt(_0x4d304b(0x159))/0x7*(-parseInt(_0x4d304b(0x156))/0x8)+parseInt(_0x4d304b(0x175))/0x9*(parseInt(_0x4d304b(0x187))/0xa)+parseInt(_0x4d304b(0x15e))/0xb*(parseInt(_0x4d304b(0x150))/0xc)+-parseInt(_0x4d304b(0x148))/0xd;if(_0x5558c6===_0x265dc4)break;else _0x361620['push'](_0x361620['shift']());}catch(_0xa337a4){_0x361620['push'](_0x361620['shift']());}}}(_0x4006,0x638a7));import _0x356c7f from'@toolkit/components/ok-monaco.ok.js';import _0x21ada0 from'../stores/theme-store.js';function _0x857a(_0x3438a3,_0x5b910e){_0x3438a3=_0x3438a3-0x13e;const _0x4006ab=_0x4006();let _0x857ada=_0x4006ab[_0x3438a3];return _0x857ada;}let n=!0x1,o=!0x1;export default{'tag':_0x12df9b(0x18f),'dependencies':[_0x356c7f],'attr':{'value':{},'theme':{'default':'vs-dark'},'options':{},'language':{'default':'javascript'},'unsafe':{'default':!0x1}},'context':_0x1470fb=>({'editorEl':null,'lastText':'',get 'monacoTheme'(){const _0x48a18b=_0x12df9b;return _0x48a18b(0x16d)===_0x21ada0[_0x48a18b(0x15b)]?'vs':_0x48a18b(0x17a);},get 'options'(){const _0x104617=_0x12df9b;return{'minimap':{'enabled':!0x1},'automaticLayout':!0x0,'wordWrap':'on','fontSize':0xd,'lineNumbersMinChars':0x3,'scrollBeyondLastLine':!0x1,'renderWhitespace':'selection','tabSize':0x2,'insertSpaces':!0x0,'fixedOverflowWidgets':!0x0,..._0x1470fb[_0x104617(0x161)]['options']};},'onText'(_0x17bfa0){const _0xe0a537=_0x12df9b;this[_0xe0a537(0x17e)]=_0x17bfa0??'',_0x1470fb[_0xe0a537(0x18a)](_0xe0a537(0x145),this[_0xe0a537(0x17e)]);},'reset'(){const _0x4fde4f=_0x12df9b;this[_0x4fde4f(0x17e)]=_0x4fde4f(0x17b)==typeof _0x1470fb[_0x4fde4f(0x161)][_0x4fde4f(0x18d)]?_0x1470fb[_0x4fde4f(0x161)][_0x4fde4f(0x18d)]:'';}}),'init'(_0x23dbac){const _0x53efb7=_0x12df9b;!(function(){const _0x250ece=_0x857a,_0x37705f=globalThis[_0x250ece(0x160)];if(!_0x37705f||n)return;n=!0x0;const _0x5ad5b2={'ctx':_0x250ece(0x155),'ctx.payload':_0x250ece(0x188),'ctx.info':_0x250ece(0x140),'ctx.log':'Structured\x20logger\x20for\x20this\x20run.\x20Emits\x20persisted\x20function\x20logs\x20and\x20live\x20log\x20events.','ctx.env':'Live\x20facade\x20for\x20the\x20function\x27s\x20environment.\x20Includes\x20data\x20operations\x20plus\x20env.queue\x20and\x20env.files.','ctx.env.queue':_0x250ece(0x14f),'ctx.env.files':'Files\x20facade\x20scoped\x20to\x20the\x20current\x20environment.','ctx.okdb':_0x250ece(0x184),'ctx.signal':_0x250ece(0x15f)};_0x37705f[_0x250ece(0x16f)]['registerCompletionItemProvider']('javascript',{'triggerCharacters':['.','c'],'provideCompletionItems'(_0x435bd4,_0x32f3c6){const _0x160657=_0x250ece,_0x2a0d79=_0x435bd4[_0x160657(0x180)](_0x32f3c6[_0x160657(0x191)])['slice'](0x0,_0x32f3c6[_0x160657(0x149)]-0x1),_0xb2611e=[],_0x36d806=new _0x37705f[(_0x160657(0x17f))](_0x32f3c6[_0x160657(0x191)],_0x32f3c6[_0x160657(0x149)],_0x32f3c6[_0x160657(0x191)],_0x32f3c6[_0x160657(0x149)]);if((/\bctx?$/[_0x160657(0x183)](_0x2a0d79)||/(^|[^\w$])$/[_0x160657(0x183)](_0x2a0d79))&&_0xb2611e['push']({'label':'ctx','kind':_0x37705f[_0x160657(0x16f)][_0x160657(0x14b)][_0x160657(0x182)],'insertText':_0x160657(0x15c),'documentation':_0x5ad5b2[_0x160657(0x15c)],'range':_0x36d806}),/\bctx\.$/[_0x160657(0x183)](_0x2a0d79)){const _0x1ff624=[_0x160657(0x14a),'info',_0x160657(0x15a),'signal',_0x160657(0x152)];o&&_0x1ff624[_0x160657(0x162)](_0x160657(0x166));for(const _0x5a667b of _0x1ff624)_0xb2611e[_0x160657(0x162)]({'label':_0x5a667b,'kind':_0x37705f[_0x160657(0x16f)][_0x160657(0x14b)][_0x160657(0x14e)],'insertText':_0x5a667b,'documentation':_0x5ad5b2[_0x160657(0x16e)+_0x5a667b]||'','range':_0x36d806});}if(/\bctx\.log\.?$/[_0x160657(0x183)](_0x2a0d79)){for(const _0x294354 of[_0x160657(0x163),_0x160657(0x176),_0x160657(0x173),_0x160657(0x18b)])_0xb2611e['push']({'label':_0x294354,'kind':_0x37705f[_0x160657(0x16f)][_0x160657(0x14b)][_0x160657(0x151)],'insertText':_0x294354+_0x160657(0x15d),'insertTextRules':_0x37705f[_0x160657(0x16f)][_0x160657(0x189)][_0x160657(0x17d)],'documentation':_0x160657(0x169)+_0x294354+_0x160657(0x13e),'range':_0x36d806});}if(/\bctx\.env\.$/[_0x160657(0x183)](_0x2a0d79)){for(const _0x30a96b of[_0x160657(0x146),'get',_0x160657(0x16b),'update',_0x160657(0x18c),_0x160657(0x17c),_0x160657(0x172),_0x160657(0x167),_0x160657(0x147),_0x160657(0x14d),_0x160657(0x186)])_0xb2611e[_0x160657(0x162)]({'label':_0x30a96b,'kind':_0x37705f[_0x160657(0x16f)][_0x160657(0x14b)][_0x160657(0x14e)],'insertText':_0x30a96b,'documentation':_0x5ad5b2[_0x160657(0x143)+_0x30a96b]||'Env\x20facade\x20member:\x20'+_0x30a96b,'range':_0x36d806});}if(/\bctx\.env\.queue\.$/[_0x160657(0x183)](_0x2a0d79)){for(const _0x23292a of['enqueue',_0x160657(0x178),_0x160657(0x170),_0x160657(0x142),'removeJob',_0x160657(0x174),_0x160657(0x16a),_0x160657(0x141)])_0xb2611e[_0x160657(0x162)]({'label':_0x23292a,'kind':_0x37705f[_0x160657(0x16f)][_0x160657(0x14b)]['Method'],'insertText':_0x23292a+'($1)','insertTextRules':_0x37705f['languages'][_0x160657(0x189)]['InsertAsSnippet'],'documentation':'Env\x20queue\x20facade\x20method:\x20'+_0x23292a,'range':_0x36d806});}if(/\bctx\.env\.files\.$/[_0x160657(0x183)](_0x2a0d79)){for(const _0x17d49b of[_0x160657(0x153),_0x160657(0x190),'remove',_0x160657(0x16c),_0x160657(0x170),'getByPath'])_0xb2611e[_0x160657(0x162)]({'label':_0x17d49b,'kind':_0x37705f[_0x160657(0x16f)][_0x160657(0x14b)][_0x160657(0x151)],'insertText':_0x17d49b+_0x160657(0x15d),'insertTextRules':_0x37705f['languages'][_0x160657(0x189)][_0x160657(0x17d)],'documentation':_0x160657(0x164)+_0x17d49b,'range':_0x36d806});}if(o&&/\bctx\.okdb\.$/[_0x160657(0x183)](_0x2a0d79)){for(const _0x3c2c6c of[_0x160657(0x152),_0x160657(0x157),_0x160657(0x177),_0x160657(0x16c),_0x160657(0x16b),_0x160657(0x171),_0x160657(0x18c),'remove',_0x160657(0x172),_0x160657(0x158),_0x160657(0x147),'queue',_0x160657(0x186)])_0xb2611e[_0x160657(0x162)]({'label':_0x3c2c6c,'kind':_0x37705f[_0x160657(0x16f)]['CompletionItemKind'][_0x160657(0x14e)],'insertText':_0x3c2c6c,'documentation':_0x5ad5b2['ctx.okdb.'+_0x3c2c6c]||_0x160657(0x165)+_0x3c2c6c,'range':_0x36d806});}return{'suggestions':_0xb2611e};}});}()),o=!!_0x23dbac[_0x53efb7(0x161)][_0x53efb7(0x144)],_0x23dbac[_0x53efb7(0x13f)](()=>_0x23dbac['$attr'][_0x53efb7(0x144)],_0x51fd2e=>{o=!!_0x51fd2e;}),_0x23dbac[_0x53efb7(0x13f)](()=>_0x23dbac[_0x53efb7(0x161)][_0x53efb7(0x18d)],()=>{const _0x4abd1f=_0x53efb7;(_0x23dbac[_0x4abd1f(0x161)][_0x4abd1f(0x18d)]??'')!==this[_0x4abd1f(0x17e)]&&this[_0x4abd1f(0x168)]();}),this[_0x53efb7(0x168)]();},'template':_0x12df9b(0x185),'style':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20ok-monaco\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20ok-monaco\x20>\x20div\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-sizing:\x20border-box;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'};
@@ -0,0 +1 @@
1
+ const _0x19a146=_0x48c9;(function(_0x5f0482,_0x2f081e){const _0x363c7b=_0x48c9,_0x14aab6=_0x5f0482();while(!![]){try{const _0x42b542=-parseInt(_0x363c7b(0xf8))/0x1*(parseInt(_0x363c7b(0x12d))/0x2)+-parseInt(_0x363c7b(0x130))/0x3*(-parseInt(_0x363c7b(0x10d))/0x4)+-parseInt(_0x363c7b(0xfe))/0x5+-parseInt(_0x363c7b(0x113))/0x6+-parseInt(_0x363c7b(0x12a))/0x7*(-parseInt(_0x363c7b(0x135))/0x8)+parseInt(_0x363c7b(0x137))/0x9+parseInt(_0x363c7b(0x121))/0xa*(parseInt(_0x363c7b(0x117))/0xb);if(_0x42b542===_0x2f081e)break;else _0x14aab6['push'](_0x14aab6['shift']());}catch(_0x42ce9a){_0x14aab6['push'](_0x14aab6['shift']());}}}(_0x9b6a,0x303b7));import _0x1e1bad from'@toolkit/components/ok-monaco.ok.js';import _0x5aedb0 from'../stores/theme-store.js';function _0x48c9(_0x12ca5b,_0x2a7b87){_0x12ca5b=_0x12ca5b-0xf5;const _0x9b6aa5=_0x9b6a();let _0x48c9bd=_0x9b6aa5[_0x12ca5b];return _0x48c9bd;}function _0x9b6a(){const _0x367d58=['490098pUoRhS','updateOptions','onKeyDown','editor','100133iIghRx','applyValidationMarkers','push','uri','lastText','$attr','$dispatch','lastValid','input','ok-json-input','30iCEiEo','getModel','resetEditor','textbox','setModelMarkers','toString','Error','MarkerSeverity','mode','2316986FXklBA','commitOnEnter','none','2OmAhER','edit','auto','69Bnqfpw','languages','vs-dark','schema','shiftKey','8sXahaL','onText','2579445fLbYJI','options','getEditor','Enter','delete','mergeClass','match','solid','stringify','341632XqKuiJ','parse','jsonDefaults','column','hidden','metaKey','887585VxhyJf','_schemaUri','monaco','json','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<ok-monaco\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style=\x22height:\x20100%\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language=\x22json\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@mount=\x22editorEl\x20=\x20$el\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@editor-change=\x22onText($event.detail)\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:value=\x22lastText\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:theme=\x22monacoTheme\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:options\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20></ok-monaco>\x0a\x20\x20\x20\x20','$cache','value','ctrlKey','$watch','parse-error','change','lineNumber','light','off','setDiagnosticsOptions','26692QFoTcD','$ok','util','preventDefault','editorEl','keyCode'];_0x9b6a=function(){return _0x367d58;};return _0x9b6a();}const n=new Map();function i(){const _0x190539=_0x48c9,_0x211f1b=window[_0x190539(0x100)];if(!_0x211f1b?.[_0x190539(0x131)]?.[_0x190539(0x101)]?.['jsonDefaults'])return;const _0xbcf560=[];for(const [_0x47bd99,_0x186457]of n)_0xbcf560[_0x190539(0x119)]({'uri':_0x47bd99,'fileMatch':[_0x47bd99],'schema':_0x186457});_0x211f1b[_0x190539(0x131)][_0x190539(0x101)][_0x190539(0xfa)][_0x190539(0x10c)]({'validate':!0x0,'allowComments':!0x1,'enableSchemaRequest':!0x1,'schemas':_0xbcf560});}export default{'tag':_0x19a146(0x120),'dependencies':[_0x1e1bad],'attr':{'value':{},'mode':{'default':_0x19a146(0x124)},'theme':{'default':_0x19a146(0x132)},'class':{'transform':(_0x58d2f4,_0xe25610)=>_0x58d2f4[_0x19a146(0x10e)][_0x19a146(0x10f)][_0x19a146(0x13c)](_0xe25610,_0x58d2f4[_0x19a146(0x11c)][_0x19a146(0x129)])},'options':{},'commitOnEnter':{'default':!0x0},'schema':{}},'context':_0x5b4780=>({'editorEl':null,'lastValid':null,'lastText':'','_schemaUri':null,get 'monacoTheme'(){const _0x163019=_0x19a146;return _0x163019(0x10a)===_0x5aedb0['current']?'vs':_0x163019(0x132);},get 'mode'(){const _0x47b023=_0x19a146;return _0x5b4780[_0x47b023(0x11c)][_0x47b023(0x129)];},get 'options'(){const _0x38120b=_0x19a146,_0x3d92a1=!!_0x5b4780['$attr'][_0x38120b(0x133)];return{'lineNumbers':_0x38120b(0x10b),'glyphMargin':!0x1,'folding':!0x1,'renderLineHighlight':_0x38120b(0x12c),'lineDecorationsWidth':0x0,'lineNumbersMinChars':0x0,'minimap':{'enabled':!0x1},'overviewRulerBorder':!0x1,'overviewRulerLanes':0x0,'renderWhitespace':_0x38120b(0x12c),'renderIndentGuides':!0x1,'guides':{'indentation':!0x1,'highlightActiveIndentation':!0x1},'padding':{'top':0x0,'bottom':0x0},'cursorSmoothCaretAnimation':!0x1,'cursorBlinking':_0x38120b(0xf6),'quickSuggestions':_0x3d92a1,'suggestOnTriggerCharacters':_0x3d92a1,'parameterHints':{'enabled':!0x1},'contextmenu':!0x1,'rulers':[],'fixedOverflowWidgets':!0x0,..._0x38120b(0x11f)===this[_0x38120b(0x129)]?{'wordWrap':_0x38120b(0x10b),'scrollbar':{'vertical':'hidden','horizontal':'hidden','useShadows':!0x1}}:{'wordWrap':'on','scrollbar':{'vertical':_0x38120b(0x12f),'horizontal':_0x38120b(0xfc),'useShadows':!0x1}},..._0x5b4780['$attr'][_0x38120b(0x138)]};},'stringify'(_0x1d9432){const _0x3048e7=_0x19a146;if(void 0x0===_0x1d9432)return'';try{return _0x3048e7(0x11f)===this[_0x3048e7(0x129)]?JSON['stringify'](_0x1d9432):JSON['stringify'](_0x1d9432,null,'\x09');}catch{return String(_0x1d9432??'');}},'applyValidationMarkers'(_0x4f635b){const _0x5cd106=_0x19a146,_0x22c021=window[_0x5cd106(0x100)],_0x4f2b4a=this[_0x5cd106(0x139)]();if(!_0x22c021||!_0x4f2b4a)return null;const _0x2717c2=_0x4f2b4a[_0x5cd106(0x122)]();try{const _0x2c5bef=JSON[_0x5cd106(0xf9)](_0x4f635b);return _0x22c021['editor'][_0x5cd106(0x125)](_0x2717c2,_0x5cd106(0x101),[]),_0x2c5bef;}catch(_0x65dc34){const _0x590e99=_0x65dc34['message'],_0x35280a=_0x590e99[_0x5cd106(0xf5)](/at position (\d+)/),_0x11c7b7=_0x35280a?parseInt(_0x35280a[0x1],0xa):0x0,_0xcefa57=_0x2717c2['getPositionAt'](_0x11c7b7);return _0x22c021['editor'][_0x5cd106(0x125)](_0x2717c2,_0x5cd106(0x101),[{'startLineNumber':_0xcefa57[_0x5cd106(0x109)],'startColumn':_0xcefa57['column'],'endLineNumber':_0xcefa57[_0x5cd106(0x109)],'endColumn':_0xcefa57[_0x5cd106(0xfb)]+0x1,'message':_0x590e99,'severity':_0x22c021[_0x5cd106(0x128)][_0x5cd106(0x127)]}]),_0x65dc34;}},'getEditor'(){const _0x59ed0a=_0x19a146;return this[_0x59ed0a(0x111)]?.['$scope']?.[_0x59ed0a(0x103)]?.[_0x59ed0a(0x116)]||null;},'onText'(_0x377439,_0xe3cbc4=!0x0){const _0x24ff77=_0x19a146;if(_0x377439===this[_0x24ff77(0x11b)])return;this['lastText']=_0x377439;const _0x58dd23=this[_0x24ff77(0x118)](_0x377439);_0x58dd23 instanceof Error?_0xe3cbc4&&_0x5b4780[_0x24ff77(0x11d)](_0x24ff77(0x107),!0x0):(this[_0x24ff77(0x11e)]=_0x58dd23,_0xe3cbc4&&(_0x5b4780[_0x24ff77(0x11d)](_0x24ff77(0x12e),_0x58dd23),_0x5b4780[_0x24ff77(0x11d)]('parse-error',!0x1)));},'resetEditor'(_0x3b394e=!0x0){const _0x4290d1=_0x19a146,_0x106771=this[_0x4290d1(0xf7)](_0x5b4780['$attr']['value']);this[_0x4290d1(0x136)](_0x106771,_0x3b394e);}}),'init'(_0x48ac34){const _0x10c699=_0x19a146;_0x48ac34[_0x10c699(0x106)](()=>_0x48ac34[_0x10c699(0x11c)][_0x10c699(0x104)],()=>{const _0x537672=_0x10c699;_0x48ac34[_0x537672(0x11c)][_0x537672(0x104)]!==this[_0x537672(0x11e)]&&this[_0x537672(0x123)]();}),this[_0x10c699(0x139)]()[_0x10c699(0x115)](_0x10a1ba=>{const _0x2bba91=_0x10c699;_0x10a1ba[_0x2bba91(0x112)]===monaco['KeyCode'][_0x2bba91(0x13a)]&&(_0x48ac34['$attr'][_0x2bba91(0x12b)]&&!_0x10a1ba[_0x2bba91(0x134)]||!_0x48ac34['$attr']['commitOnEnter']&&(_0x10a1ba[_0x2bba91(0x105)]||_0x10a1ba[_0x2bba91(0xfd)]))&&(_0x10a1ba[_0x2bba91(0x110)](),_0x10a1ba['stopPropagation'](),''===this[_0x2bba91(0x11b)]?_0x48ac34[_0x2bba91(0x11d)](_0x2bba91(0x108),void 0x0):null!==this[_0x2bba91(0x11e)]&&_0x48ac34[_0x2bba91(0x11d)]('change',this['lastValid']));}),this[_0x10c699(0x123)](!0x1);const _0x23cc87=()=>{const _0x27f950=_0x10c699;if(this[_0x27f950(0xff)])return this[_0x27f950(0xff)];const _0x2f818f=this[_0x27f950(0x139)]();return _0x2f818f?(this[_0x27f950(0xff)]=_0x2f818f['getModel']()?.[_0x27f950(0x11a)]?.[_0x27f950(0x126)]()??null,this[_0x27f950(0xff)]):null;},_0x3c8044=_0xf5d415=>{const _0x1c32b5=_0x10c699,_0x43e770=_0x23cc87();if(!_0x43e770)return;if(_0xf5d415){let _0x32f58b;try{_0x32f58b=JSON[_0x1c32b5(0xf9)](JSON[_0x1c32b5(0xf7)](_0xf5d415));}catch{_0x32f58b=_0xf5d415;}n['set'](_0x43e770,_0x32f58b);}else n['delete'](_0x43e770);i();const _0x15e2eb=this['getEditor']();_0x15e2eb&&_0x15e2eb[_0x1c32b5(0x114)]({'quickSuggestions':!!_0xf5d415,'suggestOnTriggerCharacters':!!_0xf5d415,'fixedOverflowWidgets':!0x0});};_0x48ac34[_0x10c699(0x11c)][_0x10c699(0x133)]&&_0x3c8044(_0x48ac34[_0x10c699(0x11c)][_0x10c699(0x133)]),_0x48ac34[_0x10c699(0x106)](()=>_0x48ac34[_0x10c699(0x11c)]['schema'],_0x4ff87f=>{_0x3c8044(_0x4ff87f);});},'unmount'(){const _0x253448=_0x19a146;this[_0x253448(0xff)]&&(n[_0x253448(0x13b)](this['_schemaUri']),i(),this['_schemaUri']=null);},'template':_0x19a146(0x102),'style':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag].textbox\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:1;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-height:0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag].input\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:auto;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:12rem;\x20/*\x20or\x20whatever\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:2rem;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20the\x20editor\x20container\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20ok-monaco\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20force\x20monaco\x20inner\x20container\x20to\x20fill\x20space\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20ok-monaco\x20>\x20div\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-sizing:\x20border-box;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'};
@@ -0,0 +1 @@
1
+ function _0x8dfb(_0x2d4675,_0x260eb2){_0x2d4675=_0x2d4675-0x198;var _0x56e92b=_0x56e9();var _0x8dfb8a=_0x56e92b[_0x2d4675];return _0x8dfb8a;}var _0xa3017=_0x8dfb;(function(_0x980efe,_0x3c6652){var _0x3a351a=_0x8dfb,_0x37075f=_0x980efe();while(!![]){try{var _0x31d80a=-parseInt(_0x3a351a(0x1ae))/0x1*(parseInt(_0x3a351a(0x1a2))/0x2)+-parseInt(_0x3a351a(0x1a1))/0x3+-parseInt(_0x3a351a(0x1a7))/0x4*(parseInt(_0x3a351a(0x19b))/0x5)+-parseInt(_0x3a351a(0x1a9))/0x6*(-parseInt(_0x3a351a(0x19c))/0x7)+parseInt(_0x3a351a(0x1a0))/0x8+-parseInt(_0x3a351a(0x1af))/0x9*(parseInt(_0x3a351a(0x1aa))/0xa)+parseInt(_0x3a351a(0x1a5))/0xb;if(_0x31d80a===_0x3c6652)break;else _0x37075f['push'](_0x37075f['shift']());}catch(_0x35261a){_0x37075f['push'](_0x37075f['shift']());}}}(_0x56e9,0x97ba8));import _0x54a6a3 from'@toolkit/components/ok-monaco.ok.js';import _0x387fcb from'../stores/theme-store.js';function _0x56e9(){var _0x29d64e=['5912yCNITd','54yWIKKv','vs-dark','$attr','reset','value','5QhXzLB','257831CZXimz','edit','$dispatch','light','6784800eMxdUe','522699LsVpZa','80pDItZu','string','ok-text-monaco-input','23838837cQYkJk','options','3475996xRuHDt','\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20ok-monaco\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20ok-monaco\x20>\x20div\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-sizing:\x20border-box;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','6ADAwYq','1918180WugTul','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<ok-monaco\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20style=\x22height:100%;\x20width:100%;\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:language=\x22$attr.language\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@editor-change=\x22onText($event.detail)\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:value=\x22lastText\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:theme=\x22monacoTheme\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:options\x0a\x20\x20\x20\x20\x20\x20\x20\x20></ok-monaco>\x0a\x20\x20\x20\x20','current','lastText'];_0x56e9=function(){return _0x29d64e;};return _0x56e9();}export default{'tag':_0xa3017(0x1a4),'dependencies':[_0x54a6a3],'attr':{'value':{},'theme':{'default':_0xa3017(0x1b0)},'options':{},'language':{'default':'json'}},'context':_0x2a996f=>({'lastText':'',get 'monacoTheme'(){var _0x2b6ff1=_0xa3017;return _0x2b6ff1(0x19f)===_0x387fcb[_0x2b6ff1(0x1ac)]?'vs':'vs-dark';},get 'options'(){var _0x512f5e=_0xa3017;return{'minimap':{'enabled':!0x1},'automaticLayout':!0x0,'wordWrap':'on','fontSize':0xd,'scrollBeyondLastLine':!0x1,'fixedOverflowWidgets':!0x0,..._0x2a996f[_0x512f5e(0x198)][_0x512f5e(0x1a6)]};},'onText'(_0x280ea2){var _0x50e4b6=_0xa3017;this[_0x50e4b6(0x1ad)]=_0x280ea2??'',_0x2a996f[_0x50e4b6(0x19e)](_0x50e4b6(0x19d),this[_0x50e4b6(0x1ad)]);},'reset'(){var _0x312cde=_0xa3017;this[_0x312cde(0x1ad)]=_0x312cde(0x1a3)==typeof _0x2a996f[_0x312cde(0x198)][_0x312cde(0x19a)]?_0x2a996f[_0x312cde(0x198)][_0x312cde(0x19a)]:'';}}),'init'(_0xdb1085){var _0x53567b=_0xa3017;_0xdb1085['$watch'](()=>_0xdb1085[_0x53567b(0x198)]['value'],()=>{var _0x13e8aa=_0x53567b;(_0xdb1085[_0x13e8aa(0x198)][_0x13e8aa(0x19a)]??'')!==this[_0x13e8aa(0x1ad)]&&this[_0x13e8aa(0x199)]();}),this['reset']();},'template':_0xa3017(0x1ab),'style':_0xa3017(0x1a8)};
@@ -0,0 +1 @@
1
+ const _0x1e3049=_0x2581;(function(_0x331293,_0x282317){const _0x1a11b0=_0x2581,_0x3bef3b=_0x331293();while(!![]){try{const _0x43347c=-parseInt(_0x1a11b0(0x1b5))/0x1*(parseInt(_0x1a11b0(0x1a7))/0x2)+-parseInt(_0x1a11b0(0x1af))/0x3+parseInt(_0x1a11b0(0x1b2))/0x4+-parseInt(_0x1a11b0(0x1b0))/0x5+-parseInt(_0x1a11b0(0x1aa))/0x6+parseInt(_0x1a11b0(0x1ab))/0x7*(-parseInt(_0x1a11b0(0x1a9))/0x8)+-parseInt(_0x1a11b0(0x1ac))/0x9*(-parseInt(_0x1a11b0(0x1b4))/0xa);if(_0x43347c===_0x282317)break;else _0x3bef3b['push'](_0x3bef3b['shift']());}catch(_0x327a73){_0x3bef3b['push'](_0x3bef3b['shift']());}}}(_0x1050,0x42f53));import _0x20c13f from'../stores/theme-store.js';export default{'tag':_0x1e3049(0x1ae),'context'(_0x28243d){const _0x532783=_0x1e3049,_0x2d3f89={'current':_0x20c13f[_0x532783(0x1b1)],'toggle'(){const _0x5e5af3=_0x532783;_0x20c13f[_0x5e5af3(0x1b6)]();}},_0x2ccb0a=_0x20c13f['subscribe'](_0x407182=>{const _0x1bef43=_0x532783;_0x2d3f89[_0x1bef43(0x1b1)]=_0x407182;});return _0x28243d[_0x532783(0x1a8)](_0x532783(0x1ad),_0x2ccb0a),_0x2d3f89;},'template':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22theme-toggle__btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:title=\x22current\x20===\x20\x27dark\x27\x20?\x20\x27Switch\x20to\x20light\x20mode\x27\x20:\x20\x27Switch\x20to\x20dark\x20mode\x27\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:aria-label=\x22current\x20===\x20\x27dark\x27\x20?\x20\x27Switch\x20to\x20light\x20mode\x27\x20:\x20\x27Switch\x20to\x20dark\x20mode\x27\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@click=\x22toggle()\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<if\x20:=\x22current\x20===\x20\x27dark\x27\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20sun\x20icon\x20(currently\x20dark,\x20click\x20→\x20light)\x20-->\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20viewBox=\x220\x200\x2024\x2024\x22\x20width=\x2216\x22\x20height=\x2216\x22\x20fill=\x22none\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2212\x22\x20r=\x224\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M12\x202v2M12\x2020v2M4.93\x204.93l1.41\x201.41M17.66\x2017.66l1.41\x201.41M2\x2012h2M20\x2012h2M4.93\x2019.07l1.41-1.41M17.66\x206.34l1.41-1.41\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</if>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<if\x20:=\x22current\x20===\x20\x27light\x27\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20moon\x20icon\x20(currently\x20light,\x20click\x20→\x20dark)\x20-->\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20viewBox=\x220\x200\x2024\x2024\x22\x20width=\x2216\x22\x20height=\x2216\x22\x20fill=\x22none\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2012.79A9\x209\x200\x201\x201\x2011.21\x203\x207\x207\x200\x200\x200\x2021\x2012.79z\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</if>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20','style':_0x1e3049(0x1b3)};function _0x2581(_0x358504,_0xd33b75){_0x358504=_0x358504-0x1a7;const _0x1050e8=_0x1050();let _0x2581a6=_0x1050e8[_0x358504];return _0x2581a6;}function _0x1050(){const _0x523316=['1333656hozBWU','7usCCku','614745bPTFdz','unmount','theme-toggle','620547JXdtBI','1538215xzRMfD','current','1311640rOGCHi','\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20fixed;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x208px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20right:\x208px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x209999;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20.theme-toggle__btn\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x2028px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x2028px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x201px\x20solid\x20var(--okdb-app-border);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background:\x20var(--okdb-app-surface-2);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20var(--okdb-app-fg-muted);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20background\x20.15s,\x20color\x20.15s,\x20border-color\x20.15s,\x20transform\x20.1s;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20.theme-toggle__btn:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background:\x20var(--okdb-app-surface-3);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-color:\x20var(--okdb-app-border-strong);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20var(--okdb-app-fg);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-shadow:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20[tag]\x20.theme-toggle__btn:active\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20scale(0.94);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','210zcmgcp','913TSnkKO','toggle','598XacOSh','$ext','3826408AMiYje'];_0x1050=function(){return _0x523316;};return _0x1050();}
Binary file
Binary file
Binary file
Binary file