nextcloud/dist/workflowengine-workflowengine.js

3 lines
866 KiB
JavaScript
Raw Normal View History

/*! For license information please see workflowengine-workflowengine.js.LICENSE.txt */
!function(){var M,z,b,p={42394:function(M,z,b){"use strict";var p=b(20144),O=b(20629),A=b(93664),c=b(43554),o=b(79753),q=0===(0,c.j)("workflowengine","scope")?"global":"user",W=function(M){return(0,o.generateOcsUrl)("apps/workflowengine/api/v1/workflows/{scopeValue}",{scopeValue:q})+M+"?format=json"},n=b(7820);function e(M){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(M){return typeof M}:function(M){return M&&"function"==typeof Symbol&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},e(M)}function d(){d=function(){return M};var M={},z=Object.prototype,b=z.hasOwnProperty,p=Object.defineProperty||function(M,z,b){M[z]=b.value},O="function"==typeof Symbol?Symbol:{},A=O.iterator||"@@iterator",c=O.asyncIterator||"@@asyncIterator",o=O.toStringTag||"@@toStringTag";function q(M,z,b){return Object.defineProperty(M,z,{value:b,enumerable:!0,configurable:!0,writable:!0}),M[z]}try{q({},"")}catch(M){q=function(M,z,b){return M[z]=b}}function W(M,z,b,O){var A=z&&z.prototype instanceof a?z:a,c=Object.create(A.prototype),o=new h(O||[]);return p(c,"_invoke",{value:B(M,b,o)}),c}function n(M,z,b){try{return{type:"normal",arg:M.call(z,b)}}catch(M){return{type:"throw",arg:M}}}M.wrap=W;var t={};function a(){}function i(){}function r(){}var R={};q(R,A,(function(){return this}));var f=Object.getPrototypeOf,u=f&&f(f(g([])));u&&u!==z&&b.call(u,A)&&(R=u);var L=r.prototype=a.prototype=Object.create(R);function s(M){["next","throw","return"].forEach((function(z){q(M,z,(function(M){return this._invoke(z,M)}))}))}function l(M,z){function O(p,A,c,o){var q=n(M[p],M,A);if("throw"!==q.type){var W=q.arg,t=W.value;return t&&"object"==e(t)&&b.call(t,"__await")?z.resolve(t.__await).then((function(M){O("next",M,c,o)}),(function(M){O("throw",M,c,o)})):z.resolve(t).then((function(M){W.value=M,c(W)}),(function(M){return O("throw",M,c,o)}))}o(q.arg)}var A;p(this,"_invoke",{value:function(M,b){function p(){return new z((function(z,p){O(M,b,z,p)}))}return A=A?A.then(p,p):p()}})}function B(M,z,b){var p="suspendedStart";return function(O,A){if("executing"===p)throw new Error("Generator is already running");if("completed"===p){if("throw"===O)throw A;return{value:void 0,done:!0}}for(b.method=O,b.arg=A;;){var c=b.delegate;if(c){var o=N(c,b);if(o){if(o===t)continue;return o}}if("next"===b.method)b.sent=b._sent=b.arg;else if("throw"===b.method){if("suspendedStart"===p)throw p="completed",b.arg;b.dispatchException(b.arg)}else"return"===b.method&&b.abrupt("return",b.arg);p="executing";var q=n(M,z,b);if("normal"===q.type){if(p=b.done?"completed":"suspendedYield",q.arg===t)continue;return{value:q.arg,done:b.done}}"throw"===q.type&&(p="completed",b.method="throw",b.arg=q.arg)}}}function N(M,z){var b=z.method,p=M.iterator[b];if(void 0===p)return z.delegate=null,"throw"===b&&M.iterator.return&&(z.method="return",z.arg=void 0,N(M,z),"throw"===z.method)||"return"!==b&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+b+"' method")),t;var O=n(p,M.iterator,z.arg);if("throw"===O.type)return z.method="throw",z.arg=O.arg,z.delegate=null,t;var A=O.arg;return A?A.done?(z[M.resultName]=A.value,z.next=M.nextLoc,"return"!==z.method&&(z.method="next",z.arg=void 0),z.delegate=null,t):A:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,t)}function X(M){var z={tryLoc:M[0]};1 in M&&(z.catchLoc=M[1]),2 in M&&(z.finallyLoc=M[2],z.afterLoc=M[3]),this.tryEntries.push(z)}function m(M){var z=M.completion||{};z.type="normal",delete z.arg,M.completion=z}function h(M){this.tryEntries=[{tryLoc:"root"}],M.forEach(X,this),this.reset(!0)}function g(M){if(M){var z=M[A];if(z)return z.call(M);if("function"==typeof M.next)return M;if(!isNaN(M.length)){var p=-1,O=function z(){for(;++p<M.length;)if(b.call(M,p))return z.value=M[p],z.done=!1,z;return z.value=void 0,z.done=!0,z};return O.next=O}}return{next:C}}function C(){return{value:void 0,done:!0}}return i.prototype=r,p(L,"constructor",{value:r,configurable:!0}),p(r,"constructor",{value:i,configurable:!0}),i.displayName=q(r,o,"GeneratorFunction"),M.isGener
//# sourceMappingURL=workflowengine-workflowengine.js.map?v=789151d06bbb0bea9210