abstra 3.24.7__py3-none-any.whl → 3.24.8__py3-none-any.whl
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.
Potentially problematic release.
This version of abstra might be problematic. Click here for more details.
- {abstra-3.24.7.dist-info → abstra-3.24.8.dist-info}/METADATA +1 -1
- {abstra-3.24.7.dist-info → abstra-3.24.8.dist-info}/RECORD +173 -173
- abstra_internals/contracts_generated.py +2873 -2735
- abstra_internals/repositories/git/native.py +1 -1
- abstra_internals/repositories/tasks.py +22 -21
- abstra_internals/services/fs.py +25 -0
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.905e8d9e.js +2 -0
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.11067aac.js +2 -0
- abstra_statics/dist/assets/{ApiKeys.0ebb0b5f.js → ApiKeys.c2a1c483.js} +2 -2
- abstra_statics/dist/assets/App.608af2ed.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.8bbdcede.js +2 -0
- abstra_statics/dist/assets/BaseLayout.b03df2cd.js +2 -0
- abstra_statics/dist/assets/Billing.f84cedb5.js +2 -0
- abstra_statics/dist/assets/{Breadcrumb.bc48ca6d.js → Breadcrumb.9686bc9b.js} +2 -2
- abstra_statics/dist/assets/{Builds.5c884494.js → Builds.c90a1506.js} +2 -2
- abstra_statics/dist/assets/{Card.eab9832f.js → Card.95a0c7f0.js} +2 -2
- abstra_statics/dist/assets/{CircularLoading.a4bd5a70.js → CircularLoading.6ab785c3.js} +2 -2
- abstra_statics/dist/assets/CloseCircleOutlined.66e5f1b1.js +2 -0
- abstra_statics/dist/assets/{ConnectorsView.89e278ce.js → ConnectorsView.bac282fa.js} +2 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.e768f033.js +2 -0
- abstra_statics/dist/assets/ContentLayout.2ae39d29.js +2 -0
- abstra_statics/dist/assets/{CrudView.f8f7347d.js → CrudView.391f0e9f.js} +2 -2
- abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.264a92d9.js → DocsButton.vue_vue_type_script_setup_true_lang.e6d1d3ad.js} +2 -2
- abstra_statics/dist/assets/{EditorLogin.b8cbc772.js → EditorLogin.feee5e85.js} +2 -2
- abstra_statics/dist/assets/{EditorsView.580cabb0.js → EditorsView.b9309eb9.js} +2 -2
- abstra_statics/dist/assets/EnvVars.facbb73b.js +2 -0
- abstra_statics/dist/assets/Error.cec1d9ae.js +2 -0
- abstra_statics/dist/assets/ExclamationCircleOutlined.81063754.js +2 -0
- abstra_statics/dist/assets/{ExecutionContext.3f4e1ec7.js → ExecutionContext.8c367ef7.js} +2 -2
- abstra_statics/dist/assets/{ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.4f510b9a.js → ExecutionStatusIcon.vue_vue_type_script_setup_true_lang.7bd1f43d.js} +2 -2
- abstra_statics/dist/assets/{Files.db0a38ea.js → Files.325d463d.js} +2 -2
- abstra_statics/dist/assets/{Form.7ffaca31.js → Form.48029b6f.js} +2 -2
- abstra_statics/dist/assets/{FormRunner.eae15d54.js → FormRunner.7e7ce26d.js} +2 -2
- abstra_statics/dist/assets/Home.72bb903d.js +2 -0
- abstra_statics/dist/assets/{Home.31aa421b.js → Home.fb4fb018.js} +2 -2
- abstra_statics/dist/assets/LoadingContainer.e7fd3862.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.eb1ab7c7.js +2 -0
- abstra_statics/dist/assets/Login.ab4296a6.js +2 -0
- abstra_statics/dist/assets/{Login.779e9007.js → Login.f25e3cc8.js} +2 -2
- abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.f1a48ab2.js → Login.vue_vue_type_script_setup_true_lang.c0c3af9a.js} +2 -2
- abstra_statics/dist/assets/{Logo.c4ca8242.js → Logo.417950ea.js} +2 -2
- abstra_statics/dist/assets/{Logs.ef6eb243.js → Logs.eff00ffa.js} +2 -2
- abstra_statics/dist/assets/Main.9c7e6552.js +2 -0
- abstra_statics/dist/assets/{MockForm.2aa4fc17.js → MockForm.a8c36e57.js} +2 -2
- abstra_statics/dist/assets/{Navbar.89b7a1da.js → Navbar.36275768.js} +2 -2
- abstra_statics/dist/assets/{NewEditor.0cd895fd.js → NewEditor.652251d2.js} +2 -2
- abstra_statics/dist/assets/OidcLoginCallback.31318c8c.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.af3bbbed.js +2 -0
- abstra_statics/dist/assets/{OmniChat.00da5ca5.js → OmniChat.6d49a0d2.js} +2 -2
- abstra_statics/dist/assets/{OnboardingView.86178ead.js → OnboardingView.ec680bc2.js} +2 -2
- abstra_statics/dist/assets/{Organization.9bf814e7.js → Organization.640cf320.js} +2 -2
- abstra_statics/dist/assets/{Organizations.7473e524.js → Organizations.be19ecba.js} +2 -2
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.9a0ef441.js → PhArrowCounterClockwise.vue.44a61827.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.e64bebdd.js → PhArrowSquareOut.vue.d71d80fc.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.090be995.js → PhClockCounterClockwise.vue.701e6c6a.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.2163dc9b.js → PhCopy.vue.5aeb9248.js} +2 -2
- abstra_statics/dist/assets/{PhCopySimple.vue.df39762b.js → PhCopySimple.vue.33922e71.js} +2 -2
- abstra_statics/dist/assets/{PhCube.vue.099137c1.js → PhCube.vue.3f7281ae.js} +2 -2
- abstra_statics/dist/assets/PhDatabase.vue.09fef09d.js +2 -0
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.e9b1faec.js → PhDotsThreeVertical.vue.b3fda5f6.js} +2 -2
- abstra_statics/dist/assets/{PhDownloadSimple.vue.cba09010.js → PhDownloadSimple.vue.db22067f.js} +2 -2
- abstra_statics/dist/assets/{PhFileArrowUp.vue.8f2790df.js → PhFileArrowUp.vue.1e3b8493.js} +2 -2
- abstra_statics/dist/assets/{PhFilePlus.vue.18b183d7.js → PhFilePlus.vue.1b7fc04b.js} +2 -2
- abstra_statics/dist/assets/{PhFolderPlus.vue.8dc4e304.js → PhFolderPlus.vue.7b02d45f.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.15aaccf5.js → PhGear.vue.3049f8f5.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.55642d36.js → PhKey.vue.3fb1fd34.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.ea9f0def.js → PhPencil.vue.8e94a4bd.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimple.vue.2d6e76ca.js → PhPencilSimple.vue.c30ff752.js} +2 -2
- abstra_statics/dist/assets/{PhRocket.vue.ec0249c6.js → PhRocket.vue.1927fd55.js} +2 -2
- abstra_statics/dist/assets/{PhSignOut.vue.1cca1af4.js → PhSignOut.vue.0c10fd8d.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.5ff46bd3.js → PhSparkle.vue.88da054d.js} +2 -2
- abstra_statics/dist/assets/{PhTranslate.vue.077070e7.js → PhTranslate.vue.5fd55ee3.js} +2 -2
- abstra_statics/dist/assets/{PhUsersThree.vue.a78365b2.js → PhUsersThree.vue.506e9873.js} +2 -2
- abstra_statics/dist/assets/{PhWarningCircle.vue.40ea25aa.js → PhWarningCircle.vue.139a2f32.js} +2 -2
- abstra_statics/dist/assets/{PhWebhooksLogo.vue.a73cf99c.js → PhWebhooksLogo.vue.28d1edea.js} +2 -2
- abstra_statics/dist/assets/{PlayerConfigProvider.8a1d38e8.js → PlayerConfigProvider.f7be8491.js} +2 -2
- abstra_statics/dist/assets/{PlayerNavbar.53f81c7f.js → PlayerNavbar.fb3a012d.js} +2 -2
- abstra_statics/dist/assets/{Project.1b9b8eee.js → Project.6af32e98.js} +2 -2
- abstra_statics/dist/assets/{ProjectLogin.972cff72.js → ProjectLogin.7f541a88.js} +2 -2
- abstra_statics/dist/assets/{ProjectSettings.183e39d3.js → ProjectSettings.52805237.js} +2 -2
- abstra_statics/dist/assets/{ProjectsView.31637152.js → ProjectsView.53e4ed94.js} +2 -2
- abstra_statics/dist/assets/{SaveButton.8e4a5fbe.js → SaveButton.bf92f582.js} +2 -2
- abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.2a9a82d1.js → ScrollArea.vue_vue_type_script_setup_true_lang.b4f189da.js} +2 -2
- abstra_statics/dist/assets/{Sidebar.adfed738.js → Sidebar.af08c680.js} +2 -2
- abstra_statics/dist/assets/{Sql.bf31b294.js → Sql.fd118d60.js} +4 -4
- abstra_statics/dist/assets/Steps.27508a86.js +2 -0
- abstra_statics/dist/assets/{TableCard.f71238a1.js → TableCard.0bcd184a.js} +2 -2
- abstra_statics/dist/assets/{TableEditor.1f5f6b45.js → TableEditor.0b14bc7b.js} +2 -2
- abstra_statics/dist/assets/{Tables.ae22a918.js → Tables.8dabe248.js} +2 -2
- abstra_statics/dist/assets/{TablesDiagram.29966818.js → TablesDiagram.547215e0.js} +2 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.9027b106.js +2 -0
- abstra_statics/dist/assets/Tasks.6d16250c.js +2 -0
- abstra_statics/dist/assets/{UploadOutlined.654fb655.js → UploadOutlined.736aa5bc.js} +2 -2
- abstra_statics/dist/assets/{View.64f7c00a.js → View.b4fa346f.js} +2 -2
- abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.8892f80d.js → View.vue_vue_type_script_setup_true_lang.d5d3a410.js} +2 -2
- abstra_statics/dist/assets/{Watermark.2b4d030d.js → Watermark.e6c4654b.js} +2 -2
- abstra_statics/dist/assets/{WebEditor.a5e97d7a.js → WebEditor.49aee538.js} +2 -2
- abstra_statics/dist/assets/{WidgetPreview.40cbebe3.js → WidgetPreview.e0916bed.js} +2 -2
- abstra_statics/dist/assets/{WorkflowViewer.b9f96c37.js → WorkflowViewer.b2b3ee29.js} +2 -2
- abstra_statics/dist/assets/ant-design.805ab95d.js +2 -0
- abstra_statics/dist/assets/apiKey.1b1aafc4.js +2 -0
- abstra_statics/dist/assets/asyncComputed.0308626b.js +2 -0
- abstra_statics/dist/assets/{build.bfc699c6.js → build.1cc9147c.js} +2 -2
- abstra_statics/dist/assets/colorHelpers.93df70ab.js +2 -0
- abstra_statics/dist/assets/{console.21189c1b.js → console.c2a83def.js} +2 -2
- abstra_statics/dist/assets/constants.ba2d8460.js +2 -0
- abstra_statics/dist/assets/{contracts.generated.0a04f0c8.js → contracts.generated.bc42bf02.js} +2 -2
- abstra_statics/dist/assets/{cssMode.766de8eb.js → cssMode.da3677b5.js} +2 -2
- abstra_statics/dist/assets/{datetime.0048a7b9.js → datetime.049cd1b4.js} +2 -2
- abstra_statics/dist/assets/dayjs.ba8d5e03.js +2 -0
- abstra_statics/dist/assets/editor.4df699e8.js +2 -0
- abstra_statics/dist/assets/editor.main.1441c190.js +2 -0
- abstra_statics/dist/assets/fetch.6b0b8dbd.js +2 -0
- abstra_statics/dist/assets/{files.8583d431.js → files.a48976ba.js} +2 -2
- abstra_statics/dist/assets/folder.1303b3cc.js +2 -0
- abstra_statics/dist/assets/{freemarker2.a1e074e9.js → freemarker2.78f622a4.js} +2 -2
- abstra_statics/dist/assets/{handlebars.ef746198.js → handlebars.f24ca206.js} +3 -3
- abstra_statics/dist/assets/{html.36bc618f.js → html.d6232cb7.js} +3 -3
- abstra_statics/dist/assets/{htmlMode.2557714f.js → htmlMode.66845b4f.js} +2 -2
- abstra_statics/dist/assets/{index.cfbca287.js → index.4073d3ba.js} +2 -2
- abstra_statics/dist/assets/{index.95966207.js → index.5654c649.js} +2 -2
- abstra_statics/dist/assets/{index.36af13ac.js → index.5eda0243.js} +2 -2
- abstra_statics/dist/assets/{index.6a5e28c0.js → index.680764ed.js} +2 -2
- abstra_statics/dist/assets/{index.0389f2ff.js → index.705ce630.js} +2 -2
- abstra_statics/dist/assets/{index.8391f105.js → index.aa2603a0.js} +2 -2
- abstra_statics/dist/assets/{index.88a43c5d.js → index.bbb3a202.js} +2 -2
- abstra_statics/dist/assets/index.c25fb6e2.js +2 -0
- abstra_statics/dist/assets/{index.cb46e99b.js → index.fd17682d.js} +2 -2
- abstra_statics/dist/assets/{javascript.3ef3ca8e.js → javascript.1009e690.js} +3 -3
- abstra_statics/dist/assets/{jsonMode.bc3f9dc2.js → jsonMode.bd88eaca.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.b9bb33e7.js → jwt-decode.esm.4071145e.js} +8 -8
- abstra_statics/dist/assets/linters.5d49f0b2.js +2 -0
- abstra_statics/dist/assets/{liquid.b8dbec9f.js → liquid.fd06ec69.js} +3 -3
- abstra_statics/dist/assets/{member.a66ab498.js → member.d4cf4c10.js} +2 -2
- abstra_statics/dist/assets/{metadata.17375f25.js → metadata.bd34dda0.js} +2 -2
- abstra_statics/dist/assets/{omniChatStore.c81c7dd1.js → omniChatStore.3d16b4ad.js} +4 -4
- abstra_statics/dist/assets/{organization.31d7490b.js → organization.1b235ed0.js} +2 -2
- abstra_statics/dist/assets/{os.cc382050.js → os.b6b83ab9.js} +2 -2
- abstra_statics/dist/assets/player.9c3751ac.js +2 -0
- abstra_statics/dist/assets/{plotly.min.e2ba2e19.js → plotly.min.5ef097da.js} +2 -2
- abstra_statics/dist/assets/polling.cabdf3a3.js +2 -0
- abstra_statics/dist/assets/{project.f3f1cd2e.js → project.794c2cba.js} +2 -2
- abstra_statics/dist/assets/{python.ca19a8f2.js → python.014e8707.js} +2 -2
- abstra_statics/dist/assets/{razor.b73e652a.js → razor.eee706f7.js} +3 -3
- abstra_statics/dist/assets/{record.c01e7f08.js → record.daabed01.js} +2 -2
- abstra_statics/dist/assets/redirect.8303afd7.js +2 -0
- abstra_statics/dist/assets/{repository.819ee626.js → repository.010eeaad.js} +2 -2
- abstra_statics/dist/assets/{repository.88fdba21.js → repository.997243c1.js} +2 -2
- abstra_statics/dist/assets/router.e1e467ab.js +2 -0
- abstra_statics/dist/assets/{router.135b49e3.js → router.ef7a08cf.js} +5 -5
- abstra_statics/dist/assets/{string.04644599.js → string.0157e442.js} +2 -2
- abstra_statics/dist/assets/{tables.d6f8baad.js → tables.59457dad.js} +2 -2
- abstra_statics/dist/assets/{tasksController.866fa385.js → tasksController.a5bd1328.js} +3 -3
- abstra_statics/dist/assets/{toggleHighContrast.5c061b5e.js → toggleHighContrast.2a096764.js} +7 -7
- abstra_statics/dist/assets/{tsMode.75ac2754.js → tsMode.5a841751.js} +2 -2
- abstra_statics/dist/assets/{typescript.3c9ee25c.js → typescript.a8946c53.js} +3 -3
- abstra_statics/dist/assets/url.4aa6f272.js +2 -0
- abstra_statics/dist/assets/{useCodebaseEvents.fd37c61f.js → useCodebaseEvents.c0197501.js} +2 -2
- abstra_statics/dist/assets/useTables.413ae4ce.js +2 -0
- abstra_statics/dist/assets/userStore.1004ebc1.js +2 -0
- abstra_statics/dist/assets/uuid.14c9b73e.js +2 -0
- abstra_statics/dist/assets/{vue-flow-background.6bb2a806.js → vue-flow-background.cc5881af.js} +2 -2
- abstra_statics/dist/assets/{vue-flow-core.0cbcaed0.js → vue-flow-core.64ea4397.js} +2 -2
- abstra_statics/dist/assets/{vue-quill.esm-bundler.6713b0a3.js → vue-quill.esm-bundler.404d7a1a.js} +2 -2
- abstra_statics/dist/assets/{workspaceStore.583d9afd.js → workspaceStore.260ac7fc.js} +2 -2
- abstra_statics/dist/assets/{xml.046c0d24.js → xml.6d7ee5c8.js} +3 -3
- abstra_statics/dist/assets/{yaml.ebe5a918.js → yaml.a48b0813.js} +3 -3
- abstra_statics/dist/console.html +14 -14
- abstra_statics/dist/editor.html +13 -13
- abstra_statics/dist/player.html +9 -9
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.865dcbf3.js +0 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.8204f8e4.js +0 -2
- abstra_statics/dist/assets/App.fa5bd988.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.35b9297a.js +0 -2
- abstra_statics/dist/assets/BaseLayout.31267389.js +0 -2
- abstra_statics/dist/assets/Billing.44f40d95.js +0 -2
- abstra_statics/dist/assets/CloseCircleOutlined.87d100e7.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.b3c015f9.js +0 -2
- abstra_statics/dist/assets/ContentLayout.8cfadb43.js +0 -2
- abstra_statics/dist/assets/EnvVars.8f5b7bdb.js +0 -2
- abstra_statics/dist/assets/Error.ee721fce.js +0 -2
- abstra_statics/dist/assets/ExclamationCircleOutlined.40ff37b4.js +0 -2
- abstra_statics/dist/assets/Home.5a499863.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.6b2e55a8.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.bcf2a831.js +0 -2
- abstra_statics/dist/assets/Login.53d97380.js +0 -2
- abstra_statics/dist/assets/Main.b3e5d5fe.js +0 -2
- abstra_statics/dist/assets/OidcLoginCallback.9dd86a22.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.a60b6160.js +0 -2
- abstra_statics/dist/assets/PhDatabase.vue.33681014.js +0 -2
- abstra_statics/dist/assets/Steps.a55d381b.js +0 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.9567dc60.js +0 -2
- abstra_statics/dist/assets/Tasks.db070216.js +0 -2
- abstra_statics/dist/assets/ant-design.5ec0b6b3.js +0 -2
- abstra_statics/dist/assets/apiKey.1bb9c6d2.js +0 -2
- abstra_statics/dist/assets/asyncComputed.7ddee0b0.js +0 -2
- abstra_statics/dist/assets/colorHelpers.53158244.js +0 -2
- abstra_statics/dist/assets/constants.0deee127.js +0 -2
- abstra_statics/dist/assets/dayjs.618c5367.js +0 -2
- abstra_statics/dist/assets/editor.64e4d209.js +0 -2
- abstra_statics/dist/assets/editor.main.08984606.js +0 -2
- abstra_statics/dist/assets/fetch.7b0def40.js +0 -2
- abstra_statics/dist/assets/folder.c07afb46.js +0 -2
- abstra_statics/dist/assets/index.b57ea477.js +0 -2
- abstra_statics/dist/assets/linters.f033aedb.js +0 -2
- abstra_statics/dist/assets/player.4ba2218c.js +0 -2
- abstra_statics/dist/assets/polling.bdac3134.js +0 -2
- abstra_statics/dist/assets/redirect.9d08109f.js +0 -2
- abstra_statics/dist/assets/router.d8fe262e.js +0 -2
- abstra_statics/dist/assets/url.7fa35693.js +0 -2
- abstra_statics/dist/assets/useTables.1d5bf2b4.js +0 -2
- abstra_statics/dist/assets/userStore.3a2d2697.js +0 -2
- abstra_statics/dist/assets/uuid.40423699.js +0 -2
- {abstra-3.24.7.dist-info → abstra-3.24.8.dist-info}/WHEEL +0 -0
- {abstra-3.24.7.dist-info → abstra-3.24.8.dist-info}/entry_points.txt +0 -0
- {abstra-3.24.7.dist-info → abstra-3.24.8.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./jwt-decode.esm.4071145e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f73ec602-67de-452e-97f5-a957f62ebd08",e._sentryDebugIdIdentifier="sentry-dbid-f73ec602-67de-452e-97f5-a957f62ebd08")}catch{}})();const i=1e3,f=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var o;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(o=e.interval)!=null?o:i)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{f as u};
|
|
2
|
+
//# sourceMappingURL=polling.cabdf3a3.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var h=Object.defineProperty;var l=(a,t,e)=>t in a?h(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var o=(a,t,e)=>(l(a,typeof t!="symbol"?t+"":t,e),e);import{a as g}from"./record.
|
|
2
|
-
//# sourceMappingURL=project.
|
|
1
|
+
var h=Object.defineProperty;var l=(a,t,e)=>t in a?h(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var o=(a,t,e)=>(l(a,typeof t!="symbol"?t+"":t,e),e);import{a as g}from"./record.daabed01.js";import{k as s}from"./router.ef7a08cf.js";import"./jwt-decode.esm.4071145e.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="a80e6f0a-3ae7-4494-a3be-56097dc842d6",a._sentryDebugIdIdentifier="sentry-dbid-a80e6f0a-3ae7-4494-a3be-56097dc842d6")}catch{}})();class y extends Error{constructor(){super("Subdomain already in use")}}class m{constructor(){o(this,"urlPath","projects")}async create({name:t,organizationId:e,folderId:r}){return s.post(`organizations/${e}/${this.urlPath}`,{name:t,folderId:r})}async delete(t){await s.delete(`/${this.urlPath}/${t}`)}async duplicate(t){return await new Promise(e=>setTimeout(e,5e3)),s.post(`/${this.urlPath}/${t}/duplicate`,{})}async list(t){return s.get(`organizations/${t}/${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}async update(t,e){const r=await s.patch(`${this.urlPath}/${t}`,e);if("error"in r&&r.error==="subdomain-already-in-use")throw new y;if("error"in r)throw new Error("Unknown error");return r}async checkSubdomain(t,e){return s.get(`${this.urlPath}/${t}/check-subdomain/${e}`)}async getStatus(t){return s.get(`${this.urlPath}/${t}/deploy-status`)}async startWebEditor(t){return s.post(`${this.urlPath}/${t}/web-editor/start`,{})}async executeQuery(t,e,r){return s.post(`projects/${t}/execute`,{query:e,params:r})}}const n=new m;class i{constructor(t){o(this,"record");this.record=g.create(n,t)}static formatSubdomain(t){const r=t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),c=/[a-z0-9]+/g,u=r.matchAll(c);return Array.from(u).map(d=>d[0]).join("-")}static async list(t){return(await n.list(t)).map(r=>new i(r))}static async create(t){const e=await n.create(t);return new i(e)}get folderId(){return this.record.get("folderId")}static async get(t){const e=await n.get(t);return new i(e)}static async getStatus(t){return await n.getStatus(t)}async delete(){await n.delete(this.id)}async duplicate(){const t=await n.duplicate(this.id);return new i(t)}static async executeQuery(t,e,r){return n.executeQuery(t,e,r)}async save(){return this.record.save()}resetChanges(){this.record.resetChanges()}hasChanges(){return this.record.hasChanges()}hasChangesDeep(t){return this.record.hasChangesDeep(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}set name(t){this.record.set("name",t)}get organizationId(){return this.record.get("organizationId")}get subdomain(){return this.record.get("subdomain")}set subdomain(t){this.record.set("subdomain",t)}async checkSubdomain(){return await n.checkSubdomain(this.id,this.subdomain)}static async startWebEditor(t){return await n.startWebEditor(t)}getUrl(t=""){const e=t.startsWith("/")?t.slice(1):t;return`https://${this.subdomain}.abstra.app/${e}`}}export{m as P,i as a};
|
|
2
|
+
//# sourceMappingURL=project.794c2cba.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{m as a}from"./toggleHighContrast.
|
|
1
|
+
import{m as a}from"./toggleHighContrast.2a096764.js";import"./jwt-decode.esm.4071145e.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a855743d-b0ba-4973-bb7b-2745a6e04d72",t._sentryDebugIdIdentifier="sentry-dbid-a855743d-b0ba-4973-bb7b-2745a6e04d72")}catch{}})();/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/var l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,o=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of p(e))!d.call(t,r)&&r!==n&&l(t,r,{get:()=>e[r],enumerable:!(s=c(e,r))||s.enumerable});return t},g=(t,e,n)=>(o(t,e,"default"),n&&o(n,e,"default")),i={};g(i,a);var m={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},f={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}};export{m as conf,f as language};
|
|
7
|
-
//# sourceMappingURL=python.
|
|
7
|
+
//# sourceMappingURL=python.014e8707.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{m as s}from"./toggleHighContrast.
|
|
1
|
+
import{m as s}from"./toggleHighContrast.2a096764.js";import"./jwt-decode.esm.4071145e.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="188cbd18-15f4-4622-98cf-9b0e276b437b",t._sentryDebugIdIdentifier="sentry-dbid-188cbd18-15f4-4622-98cf-9b0e276b437b")}catch{}})();/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,r,
|
|
7
|
-
//# sourceMappingURL=razor.
|
|
6
|
+
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!p.call(t,o)&&o!==r&&c(t,o,{get:()=>e[o],enumerable:!(a=l(e,o))||a.enumerable});return t},h=(t,e,r)=>(i(t,e,"default"),r&&i(r,e,"default")),n={};h(n,s);var m=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],y={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},k={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{y as conf,k as language};
|
|
7
|
+
//# sourceMappingURL=razor.eee706f7.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
2
|
-
//# sourceMappingURL=record.
|
|
1
|
+
var o=Object.defineProperty;var d=(e,s,t)=>s in e?o(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var n=(e,s,t)=>(d(e,typeof s!="symbol"?s+"":s,t),t);import{$ as p,eK as u,en as r}from"./jwt-decode.esm.4071145e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="927b0245-461c-48b2-a40c-69d400c2ccd1",e._sentryDebugIdIdentifier="sentry-dbid-927b0245-461c-48b2-a40c-69d400c2ccd1")}catch{}})();class b{constructor(){n(this,"topics");n(this,"subUid");this.topics={},this.subUid=-1}subscribe(s,t){const i=(++this.subUid).toString();return this.topics[s]||(this.topics[s]=[]),this.topics[s].push({token:i,func:t}),i}async wait(s){return new Promise(t=>{const i=this.subscribe(s,a=>{this.unsubscribe(i),t(a)})})}async publish(s,...t){if(!this.topics[s])return!1;const i=this.topics[s];let a=i?i.length:0;for(;a--;)await i[a].func(t[0]);return!0}unsubscribe(s){for(const t in this.topics)if(this.topics[t]){for(let i=0,a=this.topics[t].length;i<a;i++)if(this.topics[t][i].token===s)return this.topics[t].splice(i,1),s}return!1}reset(){this.topics={},this.subUid=-1}}class h{constructor(s){n(this,"initialState");n(this,"pubsub");n(this,"_changes");this.initialState=s,this.pubsub=new b,this._changes=p({})}static from(s){return u(new h(s))}get changes(){return this._changes.value}get(s){var t;return(t=this.changes[s])!=null?t:this.initialState[s]}set(s,t){this._changes.value={...this.changes,[s]:t}}hasChanges(s){return s?s in this.changes:Object.keys(this.changes).length>0}hasChangesDeep(s){return s in this.changes&&!r.exports.isEqual(this.initialState[s],this.changes[s])}get state(){return{...this.initialState,...this.changes}}resetChanges(){const s={...this.changes};this._changes.value={},this.pubsub.publish("update",s)}onUpdate(s){this.pubsub.subscribe("update",s)}commit(){this.initialState=this.state,this._changes.value={}}toDTO(){return{...this.state,...this._changes.value}}update(s){this._changes.value={...this.changes,...s}}}class l extends h{constructor(t,i){super(i);n(this,"api");this.api=t}static create(t,i){return u(new l(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},c=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...c},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}class g extends h{constructor(t,i){super(i);n(this,"api");n(this,"debouncedSave");this.api=t,this.debouncedSave=r.exports.debounce(()=>{this.save()},500)}static create(t,i){return u(new g(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}set(t,i){super.set(t,i),this.debouncedSave()}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},c=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...c},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}export{g as A,h as E,b as P,l as a};
|
|
2
|
+
//# sourceMappingURL=record.daabed01.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{i as s}from"./url.4aa6f272.js";import"./jwt-decode.esm.4071145e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c46a00e3-5dcf-43ee-8308-29ac6560511a",e._sentryDebugIdIdentifier="sentry-dbid-c46a00e3-5dcf-43ee-8308-29ac6560511a")}catch{}})();function c(e){return e.startsWith("/")?e.slice(1):e}function f(e,r,n={}){if(s(r)){const a=new URL(r),t=new URLSearchParams(n),i=new URLSearchParams(a.search),o=new URLSearchParams([...i,...t]);return a.search=o.toString(),{action:"REPLACE_LOCAL_HREF",newHref:a.toString()}}else{const a=r.replace(/\/$/,"");if(e==="player")return{action:"GOTO_FORM_PLAYER",path:c(a),queryParams:n};if(e==="editor")return{action:"GOTO_FORM_EDITOR",path:c(a),queryParams:n};if(e==="preview")return{action:"GOTO_FORM_PLAYER",path:c(a),queryParams:n};throw new Error(`Invalid routing ${e}`)}}async function w(e,r,n,a={}){const t=f(e,n,a);switch(t.action){case"REPLACE_LOCAL_HREF":window.location.href=t.newHref;break;case"GOTO_FORM_EDITOR":await r.push({name:"formEditor",params:{formPath:t.path},query:t.queryParams});break;case"GOTO_FORM_PLAYER":await r.push({name:e==="preview"?"formPreview":"formPlayer",params:{formPath:t.path},query:t.queryParams});break;default:throw new Error("Invalid routing")}}export{w as r};
|
|
2
|
+
//# sourceMappingURL=redirect.8303afd7.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var p=Object.defineProperty;var h=(r,t,e)=>t in r?p(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var i=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{k as a}from"./router.
|
|
2
|
-
//# sourceMappingURL=repository.
|
|
1
|
+
var p=Object.defineProperty;var h=(r,t,e)=>t in r?p(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var i=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{k as a}from"./router.ef7a08cf.js";import{l as u}from"./fetch.6b0b8dbd.js";import{E as l}from"./record.daabed01.js";import"./jwt-decode.esm.4071145e.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="332065db-5bd4-41ec-9f82-c4c47d40df78",r._sentryDebugIdIdentifier="sentry-dbid-332065db-5bd4-41ec-9f82-c4c47d40df78")}catch{}})();class c{constructor(t){i(this,"record");this.record=l.from(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}get description(){return this.record.get("description")||""}set description(t){this.record.set("description",t)}get projectId(){return this.record.get("projectId")}static from(t){return new c(t)}commit(){this.record.commit()}hasChanges(){return this.record.hasChanges()}get changes(){return this.record.changes}update(t){this.record.update(t)}}class f{constructor(){i(this,"urlPath","roles")}async create(t,e){return a.post(`projects/${t}/${this.urlPath}`,e)}async delete(t,e){await a.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t,{limit:e,offset:s}){const o={};e&&(o.limit=e.toString()),s&&(o.offset=s.toString());const d=new URLSearchParams(o);return a.get(`projects/${t}/${this.urlPath}?${d.toString()}`)}async update(t,e,s){return a.patch(`projects/${t}/${this.urlPath}/${e}`,s)}}const n=new f;class I{constructor(t){this.projectId=t}async list(t,e){return(await n.list(this.projectId,{limit:t,offset:e})).map(c.from)}async create(t){await n.create(this.projectId,t)}async update(t,e){await n.update(this.projectId,t,e)}async delete(t){await n.delete(this.projectId,t)}}class ${constructor(t=u){this.fetch=t}async list(t,e){const s={};t&&(s.limit=t.toString()),e&&(s.offset=e.toString());const o=new URLSearchParams(s);return(await(await this.fetch(`/_editor/api/roles?${o.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(c.from)}}export{I as C,$ as E};
|
|
2
|
+
//# sourceMappingURL=repository.010eeaad.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var c=Object.defineProperty;var i=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var d=(a,t,e)=>(i(a,typeof t!="symbol"?t+"":t,e),e);import{k as
|
|
2
|
-
//# sourceMappingURL=repository.
|
|
1
|
+
var c=Object.defineProperty;var i=(a,t,e)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var d=(a,t,e)=>(i(a,typeof t!="symbol"?t+"":t,e),e);import{k as n}from"./router.ef7a08cf.js";import"./jwt-decode.esm.4071145e.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="0f02a0e4-89d7-4f64-ad59-ef2a006e0773",a._sentryDebugIdIdentifier="sentry-dbid-0f02a0e4-89d7-4f64-ad59-ef2a006e0773")}catch{}})();class y{async createTask(t,e,s){return fetch("/_editor/api/tasks",{method:"POST",body:JSON.stringify({name:t,payload:s,stage_id:e}),headers:{"Content-Type":"application/json"}}).then(r=>r.json())}async getAllTasks(t,e){const s={offset:t.currentIndex*t.pageSize,limit:t.pageSize,filter:{stage:e.stage,status:e.status,startDate:e.dateRange?e.dateRange[0]:void 0,endDate:e.dateRange?e.dateRange[1]:void 0}};return fetch("/_editor/api/tasks/list",{method:"POST",body:JSON.stringify(s),headers:{"Content-Type":"application/json"}}).then(r=>r.json())}async getStageTasks(t){return fetch(`/_editor/api/tasks/${t}`).then(e=>e.json())}async getSentStageTasks(t){return fetch(`/_editor/api/tasks/${t}/sent`).then(e=>e.json())}async updateTaskStatus(t,e){return fetch(`/_editor/api/tasks/${t}/status`,{method:"PUT",body:JSON.stringify({status:e}),headers:{"Content-Type":"application/json"}}).then(s=>s.json())}async clearAllTasks(){return fetch("/_editor/api/tasks/clear",{method:"DELETE"}).then(t=>t.json())}}class h{constructor(t){d(this,"projectId");this.projectId=t}async createTask(t,e,s){return await n.post(`projects/${this.projectId}/tasks`,{name:t,stageId:e,payload:s})}async getAllTasks(t,e){const s={offset:(t.currentIndex*t.pageSize).toString(),limit:t.pageSize.toString(),stageId:e.stage,status:e.status,startDate:e.dateRange?e.dateRange[0]:void 0,endDate:e.dateRange?e.dateRange[1]:void 0};return Object.keys(s).forEach(o=>s[o]===void 0&&delete s[o]),await n.get(`projects/${this.projectId}/tasks`,s)}async getTasksStatistics(){return await n.get(`projects/${this.projectId}/tasks/statistics`)}async getStageTasks(t){const e={stageId:t,offset:"0",limit:"1000"};return await n.get(`projects/${this.projectId}/tasks`,e)}async getSentStageTasks(t){const e={sourceStageId:t,offset:"0",limit:"1000"};return await n.get(`projects/${this.projectId}/tasks`,e)}async updateTaskStatus(t,e){await n.patch(`projects/${this.projectId}/tasks/${t}`,{status:e})}async fetchStages(){throw new Error("Method not implemented.")}async fetchStatuses(){throw new Error("Method not implemented.")}async clearAllTasks(){throw new Error("Method not implemented.")}}export{y as L,h as R};
|
|
2
|
+
//# sourceMappingURL=repository.997243c1.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{x as c,y as d,z as t,B as m}from"./jwt-decode.esm.4071145e.js";import{a as u}from"./workspaceStore.260ac7fc.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="72d3f850-b87d-4a15-aec3-3cce5dd66a39",a._sentryDebugIdIdentifier="sentry-dbid-72d3f850-b87d-4a15-aec3-3cce5dd66a39")}catch{}})();const f=async()=>{try{const a=await fetch("/_editor/api/workspace/version");return a.ok&&(await a.json()).version||"a6075228a4fb22bd4bfd7cf56bad33b283b0a40f"}catch(a){return console.error("Failed to fetch Abstra version:",a),"a6075228a4fb22bd4bfd7cf56bad33b283b0a40f"}},p=[{path:"/oidc-login-callback",name:"oidcLoginCallback",component:()=>t(()=>import("./OidcLoginCallback.31318c8c.js"),["assets/OidcLoginCallback.31318c8c.js","assets/workspaceStore.260ac7fc.js","assets/jwt-decode.esm.4071145e.js","assets/jwt-decode.aa5b9ed3.css","assets/userStore.1004ebc1.js","assets/url.4aa6f272.js","assets/colorHelpers.93df70ab.js"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>t(()=>import("./OidcLogoutCallback.af3bbbed.js"),["assets/OidcLogoutCallback.af3bbbed.js","assets/workspaceStore.260ac7fc.js","assets/jwt-decode.esm.4071145e.js","assets/jwt-decode.aa5b9ed3.css","assets/userStore.1004ebc1.js","assets/url.4aa6f272.js","assets/colorHelpers.93df70ab.js"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>t(()=>import("./Login.ab4296a6.js"),["assets/Login.ab4296a6.js","assets/Login.vue_vue_type_script_setup_true_lang.c0c3af9a.js","assets/jwt-decode.esm.4071145e.js","assets/jwt-decode.aa5b9ed3.css","assets/workspaceStore.260ac7fc.js","assets/userStore.1004ebc1.js","assets/url.4aa6f272.js","assets/colorHelpers.93df70ab.js","assets/CircularLoading.6ab785c3.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.417950ea.js","assets/Logo.b7d81119.css","assets/string.0157e442.js","assets/index.4073d3ba.js","assets/Login.ac75228f.css","assets/Login.3b76812d.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>t(()=>import("./Main.9c7e6552.js"),["assets/Main.9c7e6552.js","assets/PlayerNavbar.fb3a012d.js","assets/userStore.1004ebc1.js","assets/jwt-decode.esm.4071145e.js","assets/jwt-decode.aa5b9ed3.css","assets/workspaceStore.260ac7fc.js","assets/url.4aa6f272.js","assets/colorHelpers.93df70ab.js","assets/metadata.bd34dda0.js","assets/PhWebhooksLogo.vue.28d1edea.js","assets/LoadingOutlined.eb1ab7c7.js","assets/PhSignOut.vue.0c10fd8d.js","assets/index.680764ed.js","assets/PlayerNavbar.4dc29a45.css","assets/Main.201c14c9.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>t(()=>import("./Home.fb4fb018.js"),["assets/Home.fb4fb018.js","assets/metadata.bd34dda0.js","assets/jwt-decode.esm.4071145e.js","assets/jwt-decode.aa5b9ed3.css","assets/PhWebhooksLogo.vue.28d1edea.js","assets/Watermark.e6c4654b.js","assets/workspaceStore.260ac7fc.js","assets/userStore.1004ebc1.js","assets/url.4aa6f272.js","assets/colorHelpers.93df70ab.js","assets/constants.ba2d8460.js","assets/Watermark.b0916e90.css","assets/PhArrowSquareOut.vue.d71d80fc.js","assets/index.5eda0243.js","assets/Card.95a0c7f0.js","assets/LoadingOutlined.eb1ab7c7.js","assets/Home.e8bf9440.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"error/:status",name:"error",component:()=>t(()=>import("./Error.cec1d9ae.js"),["assets/Error.cec1d9ae.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.11067aac.js","assets/Logo.417950ea.js","assets/jwt-decode.esm.4071145e.js","assets/jwt-decode.aa5b9ed3.css","assets/Logo.b7d81119.css","assets/constants.ba2d8460.js","assets/workspaceStore.260ac7fc.js","assets/userStore.1004ebc1.js","assets/url.4aa6f272.js","assets/colorHelpers.93df70ab.js","assets/Card.95a0c7f0.js","assets/Error.ef2624eb.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>t(()=>import("./Form.48029b6f.js"),["assets/Form.48029b6f.js","assets/userStore.1004ebc1.js","assets/jwt-decode.esm.4071145e.js","assets/jwt-decode.aa5b9ed3.css","assets/FormRunner.7e7ce26d.js","assets/Login.vue_vue_type_script_setup_true_lang.c0c3af9a.js","assets/workspaceStore.260ac7fc.js","assets/url.4aa6f272.js","assets/colorHelpers.93df70ab.js","assets/CircularLoading.6ab785c3.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.417950ea.js","assets/Logo.b7d81119.css","assets/string.0157e442.js","assets/index.4073d3ba.js","assets/Login.ac75228f.css","assets/Steps.27508a86.js","assets/index.705ce630.js","assets/Steps.2880920a.css","assets/Watermark.e6c4654b.js","assets/constants.ba2d8460.js","assets/Watermark.b0916e90.css","assets/FormRunner.1e6e7d2a.css","assets/redirect.8303afd7.js","assets/asyncComputed.0308626b.js","assets/uuid.14c9b73e.js","assets/Form.7d1b0423.css"]),meta:{hideLogin:!0}}]}],o=c({history:d("/"),routes:p,scrollBehavior(a){if(a.hash)return{el:a.hash}}}),l=a=>async(e,r)=>{if(m(e,r),e.meta.allowUnauthenticated)return;const n=await u(e.path),{redirect:i,...s}=e.query;switch(n.status){case"ALLOWED":break;case"UNAUTHORIZED":await a.push({name:"playerLogin",query:{...s,redirect:i||e.path},params:e.params});break;case"NOT_FOUND":await a.push({name:"error",params:{status:"404"}});break;default:await a.push({name:"error",params:{status:"403"}})}};o.beforeEach(l(o));export{f as a,o as b,l as g,p as r};
|
|
2
|
+
//# sourceMappingURL=router.e1e467ab.js.map
|