(()=>{var M,z,b,p={30560(M,z,b){"use strict";var p=b(85471),O=("undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function c(M,z){if(void 0===z&&(z=[]),null===M||"object"!=typeof M)return M;var b,p=(b=function(z){return z.original===M},z.filter(b)[0]);if(p)return p.copy;var O=Array.isArray(M)?[]:{};return z.push({original:M,copy:O}),Object.keys(M).forEach(function(b){O[b]=c(M[b],z)}),O}function A(M,z){Object.keys(M).forEach(function(b){return z(M[b],b)})}function o(M){return null!==M&&"object"==typeof M}var q=function(M,z){this.runtime=z,this._children=Object.create(null),this._rawModule=M;var b=M.state;this.state=("function"==typeof b?b():b)||{}},n={namespaced:{configurable:!0}};n.namespaced.get=function(){return!!this._rawModule.namespaced},q.prototype.addChild=function(M,z){this._children[M]=z},q.prototype.removeChild=function(M){delete this._children[M]},q.prototype.getChild=function(M){return this._children[M]},q.prototype.hasChild=function(M){return M in this._children},q.prototype.update=function(M){this._rawModule.namespaced=M.namespaced,M.actions&&(this._rawModule.actions=M.actions),M.mutations&&(this._rawModule.mutations=M.mutations),M.getters&&(this._rawModule.getters=M.getters)},q.prototype.forEachChild=function(M){A(this._children,M)},q.prototype.forEachGetter=function(M){this._rawModule.getters&&A(this._rawModule.getters,M)},q.prototype.forEachAction=function(M){this._rawModule.actions&&A(this._rawModule.actions,M)},q.prototype.forEachMutation=function(M){this._rawModule.mutations&&A(this._rawModule.mutations,M)},Object.defineProperties(q.prototype,n);var W,e=function(M){this.register([],M,!1)};function a(M,z,b){if(z.update(b),b.modules)for(var p in b.modules){if(!z.getChild(p))return;a(M.concat(p),z.getChild(p),b.modules[p])}}e.prototype.get=function(M){return M.reduce(function(M,z){return M.getChild(z)},this.root)},e.prototype.getNamespace=function(M){var z=this.root;return M.reduce(function(M,b){return M+((z=z.getChild(b)).namespaced?b+"/":"")},"")},e.prototype.update=function(M){a([],this.root,M)},e.prototype.register=function(M,z,b){var p=this;void 0===b&&(b=!0);var O=new q(z,b);0===M.length?this.root=O:this.get(M.slice(0,-1)).addChild(M[M.length-1],O),z.modules&&A(z.modules,function(z,O){p.register(M.concat(O),z,b)})},e.prototype.unregister=function(M){var z=this.get(M.slice(0,-1)),b=M[M.length-1],p=z.getChild(b);p&&p.runtime&&z.removeChild(b)},e.prototype.isRegistered=function(M){var z=this.get(M.slice(0,-1)),b=M[M.length-1];return!!z&&z.hasChild(b)};var d=function(M){var z=this;void 0===M&&(M={}),!W&&"undefined"!=typeof window&&window.Vue&&L(window.Vue);var b=M.plugins;void 0===b&&(b=[]);var p=M.strict;void 0===p&&(p=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new e(M),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new W,this._makeLocalGettersCache=Object.create(null);var c=this,A=this.dispatch,o=this.commit;this.dispatch=function(M,z){return A.call(c,M,z)},this.commit=function(M,z,b){return o.call(c,M,z,b)},this.strict=p;var q=this._modules.root.state;s(this,q,[],this._modules.root),u(this,q),b.forEach(function(M){return M(z)}),(void 0!==M.devtools?M.devtools:W.config.devtools)&&function(M){O&&(M._devtoolHook=O,O.emit("vuex:init",M),O.on("vuex:travel-to-state",function(z){M.replaceState(z)}),M.subscribe(function(M,z){O.emit("vuex:mutation",M,z)},{prepend:!0}),M.subscribeAction(function(M,z){O.emit("vuex:action",M,z)},{prepend:!0}))}(this)},i={state:{configurable:!0}};function r(M,z,b){return z.indexOf(M)<0&&(b&&b.prepend?z.unshift(M):z.push(M)),function(){var b=z.indexOf(M);b>-1&&z.splice(b,1)}}function R(M,z){M._actions=Object.create(null),M._mutations=Object.create(null),M._wrappedGetters=Object.create(null),M._modulesNamespaceMap=Object.create(null);var b=M.state;s(M,b,[],M._modules.root,!0),u(M,b,z)}function u(M,z,b){var p=M._vm;M.getters={},M._makeLocalGettersCache=Object.create(null);var O=M._wrappedGetters,c={};A(O,function(z,b){c[b]=function(M,z){return function(){return M(z)}}(z,M),Object.defineProperty(M.getters,b,{get:function(){return M._vm[b]},enumerable:!0})});var o=W.config.silent;W.config.silent=!0,M._vm=new W({data:{$$state:z},computed:c}),W.config.silent=o,M.strict&&function(M){M._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}(M),p&&(b&&M._withCommit(function(){p._data.$$state=null}),W.nextTick(function(){return p.$destroy()}))}function s(M,z,b,p,O){var c=!b.length,A=M._modules.getNamespace(b);if(p.namespaced&&(M._modulesNamespaceMap[A],M._modulesNamespaceMap[A]=p),!c&&!O){var o=f(z,b.slice(0,-1)),q=b[b.length-1];M._withCommit(function(){W.set(o,q,p.state)})}var n=p.context=function(M,z,b){var p=""===z,O={dispatch:p?M.dispatch:function(b,p,O){var c=l(b,p,O),A=c.payload,o=c.options,q=c.type;return o&&o.root||(q=z+q),M.dispatch(q,A)},commit:p?M.commit:function(b,p,O){var c=l(b,p,O),A=c.payload,o=c.options,q=c.type;o&&o.root||(q=z+q),M.commit(q,A,o)}};return Object.defineProperties(O,{getters:{get:p?function(){return M.getters}:function(){return function(M,z){if(!M._makeLocalGettersCache[z]){var b={},p=z.length;Object.keys(M.getters).forEach(function(O){if(O.slice(0,p)===z){var c=O.slice(p);Object.defineProperty(b,c,{get:function(){return M.getters[O]},enumerable:!0})}}),M._makeLocalGettersCache[z]=b}return M._makeLocalGettersCache[z]}(M,z)}},state:{get:function(){return f(M.state,b)}}}),O}(M,A,b);p.forEachMutation(function(z,b){!function(M,z,b,p){(M._mutations[z]||(M._mutations[z]=[])).push(function(z){b.call(M,p.state,z)})}(M,A+b,z,n)}),p.forEachAction(function(z,b){var p=z.root?b:A+b,O=z.handler||z;!function(M,z,b,p){(M._actions[z]||(M._actions[z]=[])).push(function(z){var O,c=b.call(M,{dispatch:p.dispatch,commit:p.commit,getters:p.getters,state:p.state,rootGetters:M.getters,rootState:M.state},z);return(O=c)&&"function"==typeof O.then||(c=Promise.resolve(c)),M._devtoolHook?c.catch(function(z){throw M._devtoolHook.emit("vuex:error",z),z}):c})}(M,p,O,n)}),p.forEachGetter(function(z,b){!function(M,z,b,p){M._wrappedGetters[z]||(M._wrappedGetters[z]=function(M){return b(p.state,p.getters,M.state,M.getters)})}(M,A+b,z,n)}),p.forEachChild(function(p,c){s(M,z,b.concat(c),p,O)})}function f(M,z){return z.reduce(function(M,z){return M[z]},M)}function l(M,z,b){return o(M)&&M.type&&(b=z,z=M,M=M.type),{type:M,payload:z,options:b}}function L(M){W&&M===W||function(M){if(Number(M.version.split(".")[0])>=2)M.mixin({beforeCreate:b});else{var z=M.prototype._init;M.prototype._init=function(M){void 0===M&&(M={}),M.init=M.init?[b].concat(M.init):b,z.call(this,M)}}function b(){var M=this.$options;M.store?this.$store="function"==typeof M.store?M.store():M.store:M.parent&&M.parent.$store&&(this.$store=M.parent.$store)}}(W=M)}i.state.get=function(){return this._vm._data.$$state},i.state.set=function(M){},d.prototype.commit=function(M,z,b){var p=this,O=l(M,z,b),c=O.type,A=O.payload,o=(O.options,{type:c,payload:A}),q=this._mutations[c];q&&(this._withCommit(function(){q.forEach(function(M){M(A)})}),this._subscribers.slice().forEach(function(M){return M(o,p.state)}))},d.prototype.dispatch=function(M,z){var b=this,p=l(M,z),O=p.type,c=p.payload,A={type:O,payload:c},o=this._actions[O];if(o){try{this._actionSubscribers.slice().filter(function(M){return M.before}).forEach(function(M){return M.before(A,b.state)})}catch(M){}var q=o.length>1?Promise.all(o.map(function(M){return M(c)})):o[0](c);return new Promise(function(M,z){q.then(function(z){try{b._actionSubscribers.filter(function(M){return M.after}).forEach(function(M){return M.after(A,b.state)})}catch(M){}M(z)},function(M){try{b._actionSubscribers.filter(function(M){return M.error}).forEach(function(z){return z.error(A,b.state,M)})}catch(M){}z(M)})})}},d.prototype.subscribe=function(M,z){return r(M,this._subscribers,z)},d.prototype.subscribeAction=function(M,z){return r("function"==typeof M?{before:M}:M,this._actionSubscribers,z)},d.prototype.watch=function(M,z,b){var p=this;return this._watcherVM.$watch(function(){return M(p.state,p.getters)},z,b)},d.prototype.replaceState=function(M){var z=this;this._withCommit(function(){z._vm._data.$$state=M})},d.prototype.registerModule=function(M,z,b){void 0===b&&(b={}),"string"==typeof M&&(M=[M]),this._modules.register(M,z),s(this,this.state,M,this._modules.get(M),b.preserveState),u(this,this.state)},d.prototype.unregisterModule=function(M){var z=this;"string"==typeof M&&(M=[M]),this._modules.unregister(M),this._withCommit(function(){var b=f(z.state,M.slice(0,-1));W.delete(b,M[M.length-1])}),R(this)},d.prototype.hasModule=function(M){return"string"==typeof M&&(M=[M]),this._modules.isRegistered(M)},d.prototype.hotUpdate=function(M){this._modules.update(M),R(this,!0)},d.prototype._withCommit=function(M){var z=this._committing;this._committing=!0,M(),this._committing=z},Object.defineProperties(d.prototype,i);var N=g(function(M,z){var b={};return h(z).forEach(function(z){var p=z.key,O=z.val;b[p]=function(){var z=this.$store.state,b=this.$store.getters;if(M){var p=C(this.$store,0,M);if(!p)return;z=p.context.state,b=p.context.getters}return"function"==typeof O?O.call(this,z,b):z[O]},b[p].vuex=!0}),b}),B=g(function(M,z){var b={};return h(z).forEach(function(z){var p=z.key,O=z.val;b[p]=function(){for(var z=[],b=arguments.length;b--;)z[b]=arguments[b];var p=this.$store.commit;if(M){var c=C(this.$store,0,M);if(!c)return;p=c.context.commit}return"function"==typeof O?O.apply(this,[p].concat(z)):p.apply(this.$store,[O].concat(z))}}),b}),X=g(function(M,z){var b={};return h(z).forEach(function(z){var p=z.key,O=z.val;O=M+O,b[p]=function(){if(!M||C(this.$store,0,M))return this.$store.getters[O]},b[p].vuex=!0}),b}),m=g(function(M,z){var b={};return h(z).forEach(function(z){var p=z.key,O=z.val;b[p]=function(){for(var z=[],b=arguments.length;b--;)z[b]=arguments[b];var p=this.$store.dispatch;if(M){var c=C(this.$store,0,M);if(!c)return;p=c.context.dispatch}return"function"==typeof O?O.apply(this,[p].concat(z)):p.apply(this.$store,[O].concat(z))}}),b});function h(M){return function(M){return Array.isArray(M)||o(M)}(M)?Array.isArray(M)?M.map(function(M){return{key:M,val:M}}):Object.keys(M).map(function(z){return{key:z,val:M[z]}}):[]}function g(M){return function(z,b){return"string"!=typeof z?(b=z,z=""):"/"!==z.charAt(z.length-1)&&(z+="/"),M(z,b)}}function C(M,z,b){return M._modulesNamespaceMap[b]}function T(M,z,b){var p=b?M.groupCollapsed:M.group;try{p.call(M,z)}catch(b){M.log(z)}}function v(M){try{M.groupEnd()}catch(z){M.log("—— log end ——")}}function w(){var M=new Date;return" @ "+k(M.getHours(),2)+":"+k(M.getMinutes(),2)+":"+k(M.getSeconds(),2)+"."+k(M.getMilliseconds(),3)}function k(M,z){return b=z-M.toString().length,new Array(b+1).join("0")+M;var b}var E={Store:d,install:L,version:"3.6.2",mapState:N,mapMutations:B,mapGetters:X,mapActions:m,createNamespacedHelpers:function(M){return{mapState:N.bind(null,M),mapGetters:X.bind(null,M),mapMutations:B.bind(null,M),mapActions:m.bind(null,M)}},createLogger:function(M){void 0===M&&(M={});var z=M.collapsed;void 0===z&&(z=!0);var b=M.filter;void 0===b&&(b=function(M,z,b){return!0});var p=M.transformer;void 0===p&&(p=function(M){return M});var O=M.mutationTransformer;void 0===O&&(O=function(M){return M});var A=M.actionFilter;void 0===A&&(A=function(M,z){return!0});var o=M.actionTransformer;void 0===o&&(o=function(M){return M});var q=M.logMutations;void 0===q&&(q=!0);var n=M.logActions;void 0===n&&(n=!0);var W=M.logger;return void 0===W&&(W=console),function(M){var e=c(M.state);void 0!==W&&(q&&M.subscribe(function(M,A){var o=c(A);if(b(M,e,o)){var q=w(),n=O(M),t="mutation "+M.type+q;T(W,t,z),W.log("%c prev state","color: #9E9E9E; font-weight: bold",p(e)),W.log("%c mutation","color: #03A9F4; font-weight: bold",n),W.log("%c next state","color: #4CAF50; font-weight: bold",p(o)),v(W)}e=o}),n&&M.subscribeAction(function(M,b){if(A(M,b)){var p=w(),O=o(M),c="action "+M.type+p;T(W,c,z),W.log("%c action","color: #03A9F4; font-weight: bold",O),v(W)}}))}}};const y=E;var S=b(9165),_=b(81222),x=b(63814),P=b(74095),D=b(42507),j=b(6695),I=b(88837),V=b(25384),G=b(33388),U=b(53334);const F={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};for(const M in F)Object.freeze(F[M]);const H=Object.freeze(F),K=Object.create(null);for(const M in H)Object.hasOwn(H,M)&&(K[H[M]]=M);const Q={to:{},get:{}};function J(M,z,b){return Math.min(Math.max(z,M),b)}function $(M){const z=Math.round(M).toString(16).toUpperCase();return z.length<2?"0"+z:z}Q.get=function(M){let z,b;switch(M.slice(0,3).toLowerCase()){case"hsl":z=Q.get.hsl(M),b="hsl";break;case"hwb":z=Q.get.hwb(M),b="hwb";break;default:z=Q.get.rgb(M),b="rgb"}return z?{model:b,value:z}:null},Q.get.rgb=function(M){if(!M)return null;let z,b,p,O=[0,0,0,1];if(z=M.match(/^#([a-f\d]{6})([a-f\d]{2})?$/i)){for(p=z[2],z=z[1],b=0;b<3;b++){const M=2*b;O[b]=Number.parseInt(z.slice(M,M+2),16)}p&&(O[3]=Number.parseInt(p,16)/255)}else if(z=M.match(/^#([a-f\d]{3,4})$/i)){for(z=z[1],p=z[3],b=0;b<3;b++)O[b]=Number.parseInt(z[b]+z[b],16);p&&(O[3]=Number.parseInt(p+p,16)/255)}else if(z=M.match(/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i)){for(b=0;b<3;b++)O[b]=Number.parseFloat(z[b+1]);z[4]&&(O[3]=z[5]?.01*Number.parseFloat(z[4]):Number.parseFloat(z[4]))}else{if(!(z=M.match(/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i)))return(z=M.toLowerCase().match(/^(\w+)$/))?"transparent"===z[1]?[0,0,0,0]:Object.hasOwn(H,z[1])?(O=H[z[1]].slice(),O[3]=1,O):null:null;for(b=0;b<3;b++)O[b]=Math.round(2.55*Number.parseFloat(z[b+1]));z[4]&&(O[3]=z[5]?.01*Number.parseFloat(z[4]):Number.parseFloat(z[4]))}for(b=0;b<3;b++)O[b]=J(O[b],0,255);return O[3]=J(O[3],0,1),O},Q.get.hsl=function(M){if(!M)return null;const z=M.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i);if(z){const M=Number.parseFloat(z[4]);return[(Number.parseFloat(z[1])%360+360)%360,J(Number.parseFloat(z[2]),0,100),J(Number.parseFloat(z[3]),0,100),J(Number.isNaN(M)?1:M,0,1)]}return null},Q.get.hwb=function(M){if(!M)return null;const z=M.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i);if(z){const M=Number.parseFloat(z[4]);return[(Number.parseFloat(z[1])%360+360)%360,J(Number.parseFloat(z[2]),0,100),J(Number.parseFloat(z[3]),0,100),J(Number.isNaN(M)?1:M,0,1)]}return null},Q.to.hex=function(...M){return"#"+$(M[0])+$(M[1])+$(M[2])+(M[3]<1?$(Math.round(255*M[3])):"")},Q.to.rgb=function(...M){return M.length<4||1===M[3]?"rgb("+Math.round(M[0])+", "+Math.round(M[1])+", "+Math.round(M[2])+")":"rgba("+Math.round(M[0])+", "+Math.round(M[1])+", "+Math.round(M[2])+", "+M[3]+")"},Q.to.rgb.percent=function(...M){const z=Math.round(M[0]/255*100),b=Math.round(M[1]/255*100),p=Math.round(M[2]/255*100);return M.length<4||1===M[3]?"rgb("+z+"%, "+b+"%, "+p+"%)":"rgba("+z+"%, "+b+"%, "+p+"%, "+M[3]+")"},Q.to.hsl=function(...M){return M.length<4||1===M[3]?"hsl("+M[0]+", "+M[1]+"%, "+M[2]+"%)":"hsla("+M[0]+", "+M[1]+"%, "+M[2]+"%, "+M[3]+")"},Q.to.hwb=function(...M){let z="";return M.length>=4&&1!==M[3]&&(z=", "+M[3]),"hwb("+M[0]+", "+M[1]+"%, "+M[2]+"%"+z+")"},Q.to.keyword=function(...M){return K[M.slice(0,3)]};const Y=Q,Z={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};for(const M in Z)Object.freeze(Z[M]);const MM=Object.freeze(Z),zM={};for(const M of Object.keys(MM))zM[MM[M]]=M;const bM={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},pM=bM,OM=(6/29)**3;function cM(M){const z=M>.0031308?1.055*M**(1/2.4)-.055:12.92*M;return Math.min(Math.max(0,z),1)}function AM(M){return M>.04045?((M+.055)/1.055)**2.4:M/12.92}for(const M of Object.keys(bM)){if(!("channels"in bM[M]))throw new Error("missing channels property: "+M);if(!("labels"in bM[M]))throw new Error("missing channel labels property: "+M);if(bM[M].labels.length!==bM[M].channels)throw new Error("channel and label counts mismatch: "+M);const{channels:z,labels:b}=bM[M];delete bM[M].channels,delete bM[M].labels,Object.defineProperty(bM[M],"channels",{value:z}),Object.defineProperty(bM[M],"labels",{value:b})}function oM(M,z){return(M[0]-z[0])**2+(M[1]-z[1])**2+(M[2]-z[2])**2}function qM(M,z){return function(b){return z(M(b))}}function nM(M,z){const b=[z[M].parent,M];let p=pM[z[M].parent][M],O=z[M].parent;for(;z[O].parent;)b.unshift(z[O].parent),p=qM(pM[z[O].parent][O],p),O=z[O].parent;return p.conversion=b,p}bM.rgb.hsl=function(M){const z=M[0]/255,b=M[1]/255,p=M[2]/255,O=Math.min(z,b,p),c=Math.max(z,b,p),A=c-O;let o,q;switch(c){case O:o=0;break;case z:o=(b-p)/A;break;case b:o=2+(p-z)/A;break;case p:o=4+(z-b)/A}o=Math.min(60*o,360),o<0&&(o+=360);const n=(O+c)/2;return q=c===O?0:n<=.5?A/(c+O):A/(2-c-O),[o,100*q,100*n]},bM.rgb.hsv=function(M){let z,b,p,O,c;const A=M[0]/255,o=M[1]/255,q=M[2]/255,n=Math.max(A,o,q),W=n-Math.min(A,o,q),e=function(M){return(n-M)/6/W+.5};if(0===W)O=0,c=0;else{switch(c=W/n,z=e(A),b=e(o),p=e(q),n){case A:O=p-b;break;case o:O=1/3+z-p;break;case q:O=2/3+b-z}O<0?O+=1:O>1&&(O-=1)}return[360*O,100*c,100*n]},bM.rgb.hwb=function(M){const z=M[0],b=M[1];let p=M[2];const O=bM.rgb.hsl(M)[0],c=1/255*Math.min(z,Math.min(b,p));return p=1-1/255*Math.max(z,Math.max(b,p)),[O,100*c,100*p]},bM.rgb.oklab=function(M){const z=AM(M[0]/255),b=AM(M[1]/255),p=AM(M[2]/255),O=Math.cbrt(.4122214708*z+.5363325363*b+.0514459929*p),c=Math.cbrt(.2119034982*z+.6806995451*b+.1073969566*p),A=Math.cbrt(.0883024619*z+.2817188376*b+.6299787005*p);return[100*(.2104542553*O+.793617785*c-.0040720468*A),100*(1.9779984951*O-2.428592205*c+.4505937099*A),100*(.0259040371*O+.7827717662*c-.808675766*A)]},bM.rgb.cmyk=function(M){const z=M[0]/255,b=M[1]/255,p=M[2]/255,O=Math.min(1-z,1-b,1-p);return[100*((1-z-O)/(1-O)||0),100*((1-b-O)/(1-O)||0),100*((1-p-O)/(1-O)||0),100*O]},bM.rgb.keyword=function(M){const z=zM[M];if(z)return z;let b,p=Number.POSITIVE_INFINITY;for(const z of Object.keys(MM)){const O=oM(M,MM[z]);O
OM?b**(1/3):7.787*b+16/116,p=p>OM?p**(1/3):7.787*p+16/116,O=O>OM?O**(1/3):7.787*O+16/116,[116*p-16,500*(b-p),200*(p-O)]},bM.hsl.rgb=function(M){const z=M[0]/360,b=M[1]/100,p=M[2]/100;let O,c;if(0===b)return c=255*p,[c,c,c];const A=p<.5?p*(1+b):p+b-p*b,o=2*p-A,q=[0,0,0];for(let M=0;M<3;M++)O=z+1/3*-(M-1),O<0&&O++,O>1&&O--,c=6*O<1?o+6*(A-o)*O:2*O<1?A:3*O<2?o+(A-o)*(2/3-O)*6:o,q[M]=255*c;return q},bM.hsl.hsv=function(M){const z=M[0];let b=M[1]/100,p=M[2]/100,O=b;const c=Math.max(p,.01);return p*=2,b*=p<=1?p:2-p,O*=c<=1?c:2-c,[z,100*(0===p?2*O/(c+O):2*b/(p+b)),(p+b)/2*100]},bM.hsv.rgb=function(M){const z=M[0]/60,b=M[1]/100;let p=M[2]/100;const O=Math.floor(z)%6,c=z-Math.floor(z),A=255*p*(1-b),o=255*p*(1-b*c),q=255*p*(1-b*(1-c));switch(p*=255,O){case 0:return[p,q,A];case 1:return[o,p,A];case 2:return[A,p,q];case 3:return[A,o,p];case 4:return[q,A,p];case 5:return[p,A,o]}},bM.hsv.hsl=function(M){const z=M[0],b=M[1]/100,p=M[2]/100,O=Math.max(p,.01);let c,A;A=(2-b)*p;const o=(2-b)*O;return c=b*O,c/=o<=1?o:2-o,c=c||0,A/=2,[z,100*c,100*A]},bM.hwb.rgb=function(M){const z=M[0]/360;let b=M[1]/100,p=M[2]/100;const O=b+p;let c;O>1&&(b/=O,p/=O);const A=Math.floor(6*z),o=1-p;c=6*z-A,1&A&&(c=1-c);const q=b+c*(o-b);let n,W,e;switch(A){default:case 6:case 0:n=o,W=q,e=b;break;case 1:n=q,W=o,e=b;break;case 2:n=b,W=o,e=q;break;case 3:n=b,W=q,e=o;break;case 4:n=q,W=b,e=o;break;case 5:n=o,W=b,e=q}return[255*n,255*W,255*e]},bM.cmyk.rgb=function(M){const z=M[0]/100,b=M[1]/100,p=M[2]/100,O=M[3]/100;return[255*(1-Math.min(1,z*(1-O)+O)),255*(1-Math.min(1,b*(1-O)+O)),255*(1-Math.min(1,p*(1-O)+O))]},bM.xyz.rgb=function(M){const z=M[0]/100,b=M[1]/100,p=M[2]/100;let O,c,A;return O=3.2404542*z+-1.5371385*b+-.4985314*p,c=-.969266*z+1.8760108*b+.041556*p,A=.0556434*z+-.2040259*b+1.0572252*p,O=cM(O),c=cM(c),A=cM(A),[255*O,255*c,255*A]},bM.xyz.lab=function(M){let z=M[0],b=M[1],p=M[2];return z/=95.047,b/=100,p/=108.883,z=z>OM?z**(1/3):7.787*z+16/116,b=b>OM?b**(1/3):7.787*b+16/116,p=p>OM?p**(1/3):7.787*p+16/116,[116*b-16,500*(z-b),200*(b-p)]},bM.xyz.oklab=function(M){const z=M[0]/100,b=M[1]/100,p=M[2]/100,O=Math.cbrt(.8189330101*z+.3618667424*b-.1288597137*p),c=Math.cbrt(.0329845436*z+.9293118715*b+.0361456387*p),A=Math.cbrt(.0482003018*z+.2643662691*b+.633851707*p);return[100*(.2104542553*O+.793617785*c-.0040720468*A),100*(1.9779984951*O-2.428592205*c+.4505937099*A),100*(.0259040371*O+.7827717662*c-.808675766*A)]},bM.oklab.oklch=function(M){return bM.lab.lch(M)},bM.oklab.xyz=function(M){const z=M[0]/100,b=M[1]/100,p=M[2]/100,O=(.999999998*z+.396337792*b+.215803758*p)**3,c=(1.000000008*z-.105561342*b-.063854175*p)**3,A=(1.000000055*z-.089484182*b-1.291485538*p)**3;return[100*(1.227013851*O-.55779998*c+.281256149*A),100*(-.040580178*O+1.11225687*c-.071676679*A),100*(-.076381285*O-.421481978*c+1.58616322*A)]},bM.oklab.rgb=function(M){const z=M[0]/100,b=M[1]/100,p=M[2]/100,O=(z+.3963377774*b+.2158037573*p)**3,c=(z-.1055613458*b-.0638541728*p)**3,A=(z-.0894841775*b-1.291485548*p)**3;return[255*cM(4.0767416621*O-3.3077115913*c+.2309699292*A),255*cM(-1.2684380046*O+2.6097574011*c-.3413193965*A),255*cM(-.0041960863*O-.7034186147*c+1.707614701*A)]},bM.oklch.oklab=function(M){return bM.lch.lab(M)},bM.lab.xyz=function(M){let z,b,p;b=(M[0]+16)/116,z=M[1]/500+b,p=b-M[2]/200;const O=b**3,c=z**3,A=p**3;return b=O>OM?O:(b-16/116)/7.787,z=c>OM?c:(z-16/116)/7.787,p=A>OM?A:(p-16/116)/7.787,z*=95.047,b*=100,p*=108.883,[z,b,p]},bM.lab.lch=function(M){const z=M[0],b=M[1],p=M[2];let O;return O=360*Math.atan2(p,b)/2/Math.PI,O<0&&(O+=360),[z,Math.sqrt(b*b+p*p),O]},bM.lch.lab=function(M){const z=M[0],b=M[1],p=M[2]/360*2*Math.PI;return[z,b*Math.cos(p),b*Math.sin(p)]},bM.rgb.ansi16=function(M,z=null){const[b,p,O]=M;let c=null===z?bM.rgb.hsv(M)[2]:z;if(c=Math.round(c/50),0===c)return 30;let A=30+(Math.round(O/255)<<2|Math.round(p/255)<<1|Math.round(b/255));return 2===c&&(A+=60),A},bM.hsv.ansi16=function(M){return bM.rgb.ansi16(bM.hsv.rgb(M),M[2])},bM.rgb.ansi256=function(M){const z=M[0],b=M[1],p=M[2];return z>>4==b>>4&&b>>4==p>>4?z<8?16:z>248?231:Math.round((z-8)/247*24)+232:16+36*Math.round(z/255*5)+6*Math.round(b/255*5)+Math.round(p/255*5)},bM.ansi16.rgb=function(M){let z=(M=M[0])%10;if(0===z||7===z)return M>50&&(z+=3.5),z=z/10.5*255,[z,z,z];const b=.5*(Math.trunc(M>50)+1);return[(1&z)*b*255,(z>>1&1)*b*255,(z>>2&1)*b*255]},bM.ansi256.rgb=function(M){if((M=M[0])>=232){const z=10*(M-232)+8;return[z,z,z]}let z;return M-=16,[Math.floor(M/36)/5*255,Math.floor((z=M%36)/6)/5*255,z%6/5*255]},bM.rgb.hex=function(M){const z=(((255&Math.round(M[0]))<<16)+((255&Math.round(M[1]))<<8)+(255&Math.round(M[2]))).toString(16).toUpperCase();return"000000".slice(z.length)+z},bM.hex.rgb=function(M){const z=M.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!z)return[0,0,0];let b=z[0];3===z[0].length&&(b=[...b].map(M=>M+M).join(""));const p=Number.parseInt(b,16);return[p>>16&255,p>>8&255,255&p]},bM.rgb.hcg=function(M){const z=M[0]/255,b=M[1]/255,p=M[2]/255,O=Math.max(Math.max(z,b),p),c=Math.min(Math.min(z,b),p),A=O-c;let o;return o=A<=0?0:O===z?(b-p)/A%6:O===b?2+(p-z)/A:4+(z-b)/A,o/=6,o%=1,[360*o,100*A,100*(A<1?c/(1-A):0)]},bM.hsl.hcg=function(M){const z=M[1]/100,b=M[2]/100,p=b<.5?2*z*b:2*z*(1-b);let O=0;return p<1&&(O=(b-.5*p)/(1-p)),[M[0],100*p,100*O]},bM.hsv.hcg=function(M){const z=M[1]/100,b=M[2]/100,p=z*b;let O=0;return p<1&&(O=(b-p)/(1-p)),[M[0],100*p,100*O]},bM.hcg.rgb=function(M){const z=M[0]/360,b=M[1]/100,p=M[2]/100;if(0===b)return[255*p,255*p,255*p];const O=[0,0,0],c=z%1*6,A=c%1,o=1-A;let q=0;switch(Math.floor(c)){case 0:O[0]=1,O[1]=A,O[2]=0;break;case 1:O[0]=o,O[1]=1,O[2]=0;break;case 2:O[0]=0,O[1]=1,O[2]=A;break;case 3:O[0]=0,O[1]=o,O[2]=1;break;case 4:O[0]=A,O[1]=0,O[2]=1;break;default:O[0]=1,O[1]=0,O[2]=o}return q=(1-b)*p,[255*(b*O[0]+q),255*(b*O[1]+q),255*(b*O[2]+q)]},bM.hcg.hsv=function(M){const z=M[1]/100,b=z+M[2]/100*(1-z);let p=0;return b>0&&(p=z/b),[M[0],100*p,100*b]},bM.hcg.hsl=function(M){const z=M[1]/100,b=M[2]/100*(1-z)+.5*z;let p=0;return b>0&&b<.5?p=z/(2*b):b>=.5&&b<1&&(p=z/(2*(1-b))),[M[0],100*p,100*b]},bM.hcg.hwb=function(M){const z=M[1]/100,b=z+M[2]/100*(1-z);return[M[0],100*(b-z),100*(1-b)]},bM.hwb.hcg=function(M){const z=M[1]/100,b=1-M[2]/100,p=b-z;let O=0;return p<1&&(O=(b-p)/(1-p)),[M[0],100*p,100*O]},bM.apple.rgb=function(M){return[M[0]/65535*255,M[1]/65535*255,M[2]/65535*255]},bM.rgb.apple=function(M){return[M[0]/255*65535,M[1]/255*65535,M[2]/255*65535]},bM.gray.rgb=function(M){return[M[0]/100*255,M[0]/100*255,M[0]/100*255]},bM.gray.hsl=function(M){return[0,0,M[0]]},bM.gray.hsv=bM.gray.hsl,bM.gray.hwb=function(M){return[0,100,M[0]]},bM.gray.cmyk=function(M){return[0,0,0,M[0]]},bM.gray.lab=function(M){return[M[0],0,0]},bM.gray.hex=function(M){const z=255&Math.round(M[0]/100*255),b=((z<<16)+(z<<8)+z).toString(16).toUpperCase();return"000000".slice(b.length)+b},bM.rgb.gray=function(M){return[(M[0]+M[1]+M[2])/3/255*100]};const WM=function(M){const z=function(M){const z=function(){const M={},z=Object.keys(pM);for(let{length:b}=z,p=0;p0;){const M=b.pop(),p=Object.keys(pM[M]);for(let{length:O}=p,c=0;c1&&(z=b),M(z))};return"conversion"in M&&(z.conversion=M.conversion),z}function dM(M){const z=function(...z){const b=z[0];if(null==b)return b;b.length>1&&(z=b);const p=M(z);if("object"==typeof p)for(let{length:M}=p,z=0;z0){this.model=z||"rgb",p=iM[this.model].channels;const b=Array.prototype.slice.call(M,0,p);this.color=NM(b,p),this.valpha="number"==typeof M[p]?M[p]:1}else if("number"==typeof M)this.model="rgb",this.color=[M>>16&255,M>>8&255,255&M],this.valpha=1;else{this.valpha=1;const z=Object.keys(M);"alpha"in M&&(z.splice(z.indexOf("alpha"),1),this.valpha="number"==typeof M.alpha?M.alpha:0);const p=z.sort().join("");if(!(p in RM))throw new Error("Unable to parse color from object: "+JSON.stringify(M));this.model=RM[p];const{labels:O}=iM[this.model],c=[];for(b=0;b(M%360+360)%360),saturationl:lM("hsl",1,LM(100)),lightness:lM("hsl",2,LM(100)),saturationv:lM("hsv",1,LM(100)),value:lM("hsv",2,LM(100)),chroma:lM("hcg",1,LM(100)),gray:lM("hcg",2,LM(100)),white:lM("hwb",1,LM(100)),wblack:lM("hwb",2,LM(100)),cyan:lM("cmyk",0,LM(100)),magenta:lM("cmyk",1,LM(100)),yellow:lM("cmyk",2,LM(100)),black:lM("cmyk",3,LM(100)),x:lM("xyz",0,LM(95.047)),y:lM("xyz",1,LM(100)),z:lM("xyz",2,LM(108.833)),l:lM("lab",0,LM(100)),a:lM("lab",1),b:lM("lab",2),keyword(M){return void 0!==M?new sM(M):iM[this.model].keyword(this.color)},hex(M){return void 0!==M?new sM(M):Y.to.hex(...this.rgb().round().color)},hexa(M){if(void 0!==M)return new sM(M);const z=this.rgb().round().color;let b=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===b.length&&(b="0"+b),Y.to.hex(...z)+b},rgbNumber(){const M=this.rgb().color;return(255&M[0])<<16|(255&M[1])<<8|255&M[2]},luminosity(){const M=this.rgb().color,z=[];for(const[b,p]of M.entries()){const M=p/255;z[b]=M<=.04045?M/12.92:((M+.055)/1.055)**2.4}return.2126*z[0]+.7152*z[1]+.0722*z[2]},contrast(M){const z=this.luminosity(),b=M.luminosity();return z>b?(z+.05)/(b+.05):(b+.05)/(z+.05)},level(M){const z=this.contrast(M);return z>=7?"AAA":z>=4.5?"AA":""},isDark(){const M=this.rgb().color;return(2126*M[0]+7152*M[1]+722*M[2])/1e4<128},isLight(){return!this.isDark()},negate(){const M=this.rgb();for(let z=0;z<3;z++)M.color[z]=255-M.color[z];return M},lighten(M){const z=this.hsl();return z.color[2]+=z.color[2]*M,z},darken(M){const z=this.hsl();return z.color[2]-=z.color[2]*M,z},saturate(M){const z=this.hsl();return z.color[1]+=z.color[1]*M,z},desaturate(M){const z=this.hsl();return z.color[1]-=z.color[1]*M,z},whiten(M){const z=this.hwb();return z.color[1]+=z.color[1]*M,z},blacken(M){const z=this.hwb();return z.color[2]+=z.color[2]*M,z},grayscale(){const M=this.rgb().color,z=.3*M[0]+.59*M[1]+.11*M[2];return sM.rgb(z,z,z)},fade(M){return this.alpha(this.valpha-this.valpha*M)},opaquer(M){return this.alpha(this.valpha+this.valpha*M)},rotate(M){const z=this.hsl();let b=z.color[0];return b=(b+M)%360,b=b<0?360+b:b,z.color[0]=b,z},mix(M,z){if(!M||!M.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof M);const b=M.rgb(),p=this.rgb(),O=void 0===z?.5:z,c=2*O-1,A=b.alpha()-p.alpha(),o=((c*A===-1?c:(c+A)/(1+c*A))+1)/2,q=1-o;return sM.rgb(o*b.red()+q*p.red(),o*b.green()+q*p.green(),o*b.blue()+q*p.blue(),b.alpha()*O+p.alpha()*(1-O))}};for(const M of Object.keys(iM)){if(rM.includes(M))continue;const{channels:z}=iM[M];sM.prototype[M]=function(...z){return this.model===M?new sM(this):z.length>0?new sM(z,M):new sM([...(b=iM[this.model][M].raw(this.color),Array.isArray(b)?b:[b]),this.valpha],M);var b},sM[M]=function(...b){let p=b[0];return"number"==typeof p&&(p=NM(b,z)),new sM(p,M)}}function fM(M){return function(z){return function(M,z){return Number(M.toFixed(z))}(z,M)}}function lM(M,z,b){M=Array.isArray(M)?M:[M];for(const p of M)(uM[p]||=[])[z]=b;return M=M[0],function(p){let O;return void 0!==p?(b&&(p=b(p)),O=this[M](),O.color[z]=p,O):(O=this[M]().color[z],b&&(O=b(O)),O)}}function LM(M){return function(z){return Math.max(0,Math.min(M,z))}}function NM(M,z){for(let b=0;b({"5e0cd2ad":z.color,"5a6cf4c2":z.backgroundColor,e2fa5f72:z.iconFilter}));const b=(0,p.KR)(),O=(0,p.KR)("var(--color-main-text)"),c=(0,p.EW)(()=>z.colored?z.operation.color||"var(--color-primary-element)":"transparent");(0,p.wB)(c,async()=>{if("transparent"===c.value)return void(O.value="var(--color-main-text)");if("var(--color-primary-element)"===c.value)return void(O.value="var(--color-primary-element-text)");let M=c.value;M.startsWith("#")||(await(0,p.dY)(),M=window.getComputedStyle(b.value).backgroundColor);try{const z=BM(M).contrast(BM("#ffffff"));O.value=z>4.5?"#ffffff":"#000000"}catch{O.value="var(--color-main-text)"}},{immediate:!0});const A=(0,p.EW)(()=>"#000000"===O.value?"invert(100%)":"none");return{__sfc:!0,props:z,operationElement:b,color:O,backgroundColor:c,iconFilter:A,t:U.t,NcButton:P.A}}});var mM=b(85072),hM=b.n(mM),gM=b(97825),CM=b.n(gM),TM=b(77659),vM=b.n(TM),wM=b(55056),kM=b.n(wM),EM=b(10540),yM=b.n(EM),SM=b(41113),_M=b.n(SM),xM=b(14814),PM={};PM.styleTagTransform=_M(),PM.setAttributes=kM(),PM.insert=vM().bind(null,"head"),PM.domAPI=CM(),PM.insertStyleElement=yM(),hM()(xM.A,PM),xM.A&&xM.A.locals&&xM.A.locals;var DM=b(14486);const jM=(0,DM.A)(XM,function(){var M=this,z=M._self._c,b=M._self._setupProxy;return z("div",{ref:"operationElement",staticClass:"actions__item",class:{colored:M.colored}},[z("div",{staticClass:"icon",class:M.operation.iconClass,style:{backgroundImage:M.operation.iconClass?"":`url(${M.operation.icon})`}}),M._v(" "),z("div",{staticClass:"actions__item__description"},[z("h3",[M._v(M._s(M.operation.name))]),M._v(" "),z("small",[M._v(M._s(M.operation.description))]),M._v(" "),M.colored?z(b.NcButton,[M._v("\n\t\t\t"+M._s(b.t("workflowengine","Add new flow"))+"\n\t\t")]):M._e()],1),M._v(" "),z("div",{staticClass:"actions__item_options"},[M._t("default")],2)])},[],!1,null,"0300ce72",null).exports;var IM=b(57505),VM=b(24764),GM=b(33691),UM=b(54373),FM=b(66001),HM=b(2895),KM=b.n(HM),QM=b(67607);const JM=(0,b(35947).YK)().detectLogLevel().setApp("workflowengine").build(),$M={name:"Check",components:{NcActionButton:IM.A,NcActions:VM.A,NcSelect:QM.default,CloseIcon:FM.A},directives:{ClickOutside:KM()},props:{check:{type:Object,required:!0},rule:{type:Object,required:!0}},data:()=>({deleteVisible:!1,currentOption:null,currentOperator:null,options:[],valid:!1}),computed:{checks(){return this.$store.getters.getChecksForEntity(this.rule.entity)},operators(){if(!this.currentOption)return[];const M=this.checks[this.currentOption.class].operators;return"function"==typeof M?M(this.check):M},currentElement(){return!!this.check.class&&this.checks[this.check.class].element},currentComponent(){return this.currentOption?this.checks[this.currentOption.class].component:[]},valuePlaceholder(){return this.currentOption&&this.currentOption.placeholder?this.currentOption.placeholder(this.check):""}},watch:{"check.operator":function(){this.validate()}},mounted(){this.options=Object.values(this.checks),this.currentOption=this.checks[this.check.class],this.currentOperator=this.operators.find(M=>M.operator===this.check.operator),this.currentElement?this.$refs.checkComponent.modelValue=void 0:this.currentOption?.component&&JM.warn("Developer warning: `CheckPlugin.options` is deprecated. Use `CheckPlugin.element` instead."),null===this.check.class&&this.$nextTick(()=>this.$refs.checkSelector.$el.focus()),this.validate()},methods:{showDelete(){this.deleteVisible=!0},hideDelete(){this.deleteVisible=!1},validate(){this.valid=!0,this.currentOption&&this.currentOption.validate&&(this.valid=!!this.currentOption.validate(this.check)),this.check.invalid=!this.valid,this.$emit("validate",this.valid)},updateCheck(M){const z=M?.operator||this.currentOperator?.operator||this.check.operator,b=this.operators.findIndex(M=>z===M.operator);this.check.class===this.currentOption.class&&-1!==b||(this.currentOperator=this.operators[0]),M?.detail&&(this.check.value=M.detail[0]),this.check.class=this.currentOption.class,this.check.operator=this.currentOperator.operator,this.validate(),this.$emit("update",this.check)}}};var YM=b(43148),ZM={};ZM.styleTagTransform=_M(),ZM.setAttributes=kM(),ZM.insert=vM().bind(null,"head"),ZM.domAPI=CM(),ZM.insertStyleElement=yM(),hM()(YM.A,ZM),YM.A&&YM.A.locals&&YM.A.locals;const Mz=(0,DM.A)($M,function(){var M=this,z=M._self._c;return z("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:M.hideDelete,expression:"hideDelete"}],staticClass:"check",on:{click:M.showDelete}},[z("NcSelect",{ref:"checkSelector",attrs:{options:M.options,label:"name",clearable:!1,placeholder:M.t("workflowengine","Select a filter")},on:{input:M.updateCheck},model:{value:M.currentOption,callback:function(z){M.currentOption=z},expression:"currentOption"}}),M._v(" "),z("NcSelect",{staticClass:"comparator",attrs:{disabled:!M.currentOption,options:M.operators,label:"name",clearable:!1,placeholder:M.t("workflowengine","Select a comparator")},on:{input:M.updateCheck},model:{value:M.currentOperator,callback:function(z){M.currentOperator=z},expression:"currentOperator"}}),M._v(" "),M.currentElement?z(M.currentElement,{ref:"checkComponent",tag:"component",staticClass:"option",attrs:{disabled:!M.currentOption,operator:M.check.operator,"model-value":M.check.value},on:{"update:model-value":M.updateCheck,valid:function(z){(M.valid=!0)&&M.validate()},invalid:function(z){!(M.valid=!1)&&M.validate()}}}):M.currentOperator&&M.currentComponent?z(M.currentOption.component,{tag:"component",staticClass:"option",attrs:{disabled:!M.currentOption,check:M.check},on:{input:M.updateCheck,valid:function(z){(M.valid=!0)&&M.validate()},invalid:function(z){!(M.valid=!1)&&M.validate()}},model:{value:M.check.value,callback:function(z){M.$set(M.check,"value",z)},expression:"check.value"}}):z("input",{directives:[{name:"model",rawName:"v-model",value:M.check.value,expression:"check.value"}],staticClass:"option",class:{invalid:!M.valid},attrs:{type:"text",disabled:!M.currentOption,placeholder:M.valuePlaceholder},domProps:{value:M.check.value},on:{input:[function(z){z.target.composing||M.$set(M.check,"value",z.target.value)},M.updateCheck]}}),M._v(" "),M.deleteVisible||!M.currentOption?z("NcActions",[z("NcActionButton",{attrs:{title:M.t("workflowengine","Remove filter")},on:{click:function(z){return M.$emit("remove")}},scopedSlots:M._u([{key:"icon",fn:function(){return[z("CloseIcon",{attrs:{size:20}})]},proxy:!0}],null,!1,2428343285)})],1):M._e()],1)},[],!1,null,"0263c74b",null).exports;var zz=b(85168);const bz={name:"Event",components:{NcSelect:QM.default},props:{rule:{type:Object,required:!0}},computed:{entity(){return this.$store.getters.getEntityForOperation(this.operation)},operation(){return this.$store.getters.getOperationForRule(this.rule)},allEvents(){return this.$store.getters.getEventsForOperation(this.operation)},currentEvent(){return this.allEvents.filter(M=>M.entity.id===this.rule.entity&&-1!==this.rule.events.indexOf(M.eventName))},placeholderString:()=>t("workflowengine","Select a trigger")},methods:{updateEvent(M){if(0===M.length)return void(0,zz.I9)(t("workflowengine","At least one event must be selected"));const z=this.rule.entity,b=M.map(M=>M.entity.id).filter((M,z,b)=>b.indexOf(M)===z);let p=null;p=b.length>1?b.filter(M=>M!==z)[0]:b[0],this.$set(this.rule,"entity",p),this.$set(this.rule,"events",M.filter(M=>M.entity.id===p).map(M=>M.eventName)),this.$emit("update",this.rule)}}},pz=bz;var Oz=b(35546),cz={};cz.styleTagTransform=_M(),cz.setAttributes=kM(),cz.insert=vM().bind(null,"head"),cz.domAPI=CM(),cz.insertStyleElement=yM(),hM()(Oz.A,cz),Oz.A&&Oz.A.locals&&Oz.A.locals;const Az={name:"Rule",components:{Check:Mz,Event:(0,DM.A)(pz,function(){var M=this,z=M._self._c;return z("div",{staticClass:"event"},[M.operation.isComplex&&""!==M.operation.fixedEntity?z("div",{staticClass:"isComplex"},[z("img",{staticClass:"option__icon",attrs:{src:M.entity.icon,alt:""}}),M._v(" "),z("span",{staticClass:"option__title option__title_single"},[M._v(M._s(M.operation.triggerHint))])]):z("NcSelect",{staticClass:"event__trigger",attrs:{disabled:M.allEvents.length<=1,multiple:!0,options:M.allEvents,"model-value":M.currentEvent,placeholder:M.placeholderString,label:"displayName"},on:{input:M.updateEvent},scopedSlots:M._u([{key:"option",fn:function(b){return[z("img",{staticClass:"option__icon",attrs:{src:b.entity.icon,alt:""}}),M._v(" "),z("span",{staticClass:"option__title"},[M._v(M._s(b.displayName))])]}},{key:"selected-option",fn:function(b){return[z("img",{staticClass:"option__icon",attrs:{src:b.entity.icon,alt:""}}),M._v(" "),z("span",{staticClass:"option__title"},[M._v(M._s(b.displayName))])]}}])})],1)},[],!1,null,"3a004759",null).exports,NcActionButton:IM.A,NcActions:VM.A,NcButton:P.A,Operation:jM},props:{rule:{type:Object,required:!0}},data(){return{editing:!1,checks:[],error:null,dirty:this.rule.id<0,originalRule:null,element:null,inputValue:""}},computed:{operation(){return this.$store.getters.getOperationForRule(this.rule)},ruleStatus(){return this.error||!this.rule.valid||0===this.rule.checks.length||this.rule.checks.some(M=>!0===M.invalid)?{title:t("workflowengine","The configuration is invalid"),icon:FM.A,type:"warning",tooltip:this.error}:this.dirty?{title:t("workflowengine","Save"),icon:GM.A,type:"primary"}:{title:t("workflowengine","Active"),icon:UM.A,type:"success"}},lastCheckComplete(){const M=this.rule.checks[this.rule.checks.length-1];return void 0===M||null!==M.class}},mounted(){this.originalRule=JSON.parse(JSON.stringify(this.rule)),this.operation?.element?this.inputValue=this.rule.operation:this.operation?.options&&JM.warn("Developer warning: `OperatorPlugin.options` is deprecated. Use `OperatorPlugin.element` instead.")},methods:{async updateOperation(M){this.$set(this.rule,"operation",M),this.updateRule()},async updateOperationByEvent(M){this.inputValue=M.detail[0],this.$set(this.rule,"operation",M.detail[0]),this.updateRule()},validate(){this.error=null,this.$store.dispatch("updateRule",this.rule)},updateRule(){this.dirty||(this.dirty=!0),this.error=null,this.$store.dispatch("updateRule",this.rule)},async saveRule(){try{await this.$store.dispatch("pushUpdateRule",this.rule),this.dirty=!1,this.error=null,this.originalRule=JSON.parse(JSON.stringify(this.rule))}catch(M){JM.error("Failed to save operation",{error:M}),this.error=M.response.data.ocs.meta.message}},async deleteRule(){try{await this.$store.dispatch("deleteRule",this.rule)}catch(M){JM.error("Failed to delete operation",{error:M}),this.error=M.response.data.ocs.meta.message}},cancelRule(){this.rule.id<0?this.$store.dispatch("removeRule",this.rule):(this.inputValue=this.originalRule.operation,this.$store.dispatch("updateRule",this.originalRule),this.originalRule=JSON.parse(JSON.stringify(this.rule)),this.dirty=!1)},async removeCheck(M){const z=this.rule.checks.findIndex(z=>z===M);z>-1&&this.$delete(this.rule.checks,z),this.$store.dispatch("updateRule",this.rule)},onAddFilter(){this.rule.checks.push({class:null,operator:null,value:""})}}},oz=Az;var qz=b(36579),nz={};nz.styleTagTransform=_M(),nz.setAttributes=kM(),nz.insert=vM().bind(null,"head"),nz.domAPI=CM(),nz.insertStyleElement=yM(),hM()(qz.A,nz),qz.A&&qz.A.locals&&qz.A.locals;var Wz=(0,DM.A)(oz,function(){var M=this,z=M._self._c;return M.operation?z("div",{staticClass:"section rule",style:{borderLeftColor:M.operation.color||""}},[z("div",{staticClass:"trigger"},[z("p",[z("span",[M._v(M._s(M.t("workflowengine","When")))]),M._v(" "),z("Event",{attrs:{rule:M.rule},on:{update:M.updateRule}})],1),M._v(" "),M._l(M.rule.checks,function(b,p){return z("p",{key:p},[z("span",[M._v(M._s(M.t("workflowengine","and")))]),M._v(" "),z("Check",{attrs:{check:b,rule:M.rule},on:{update:M.updateRule,validate:M.validate,remove:function(z){return M.removeCheck(b)}}})],1)}),M._v(" "),z("p",[z("span"),M._v(" "),M.lastCheckComplete?z("input",{staticClass:"check--add",attrs:{type:"button",value:M.t("workflowengine","Add a new filter")},on:{click:M.onAddFilter}}):M._e()])],2),M._v(" "),z("div",{staticClass:"flow-icon icon-confirm"}),M._v(" "),z("div",{staticClass:"action"},[z("Operation",{attrs:{operation:M.operation}},[M.operation.element?z(M.operation.element,{tag:"component",attrs:{"model-value":M.inputValue},on:{"update:model-value":M.updateOperationByEvent}}):M.operation.options?z(M.operation.options,{tag:"component",on:{input:M.updateOperation},model:{value:M.rule.operation,callback:function(z){M.$set(M.rule,"operation",z)},expression:"rule.operation"}}):M._e()],1),M._v(" "),z("div",{staticClass:"buttons"},[M.rule.id<-1||M.dirty?z("NcButton",{on:{click:M.cancelRule}},[M._v("\n\t\t\t\t"+M._s(M.t("workflowengine","Cancel"))+"\n\t\t\t")]):M.dirty?M._e():z("NcButton",{on:{click:M.deleteRule}},[M._v("\n\t\t\t\t"+M._s(M.t("workflowengine","Delete"))+"\n\t\t\t")]),M._v(" "),z("NcButton",{attrs:{type:M.ruleStatus.type,title:M.ruleStatus.tooltip},on:{click:M.saveRule},scopedSlots:M._u([{key:"icon",fn:function(){return[z(M.ruleStatus.icon,{tag:"component",attrs:{size:20}})]},proxy:!0}],null,!1,2383918876)},[M._v("\n\t\t\t\t"+M._s(M.ruleStatus.title)+"\n\t\t\t")])],1),M._v(" "),M.error?z("p",{staticClass:"error-message"},[M._v("\n\t\t\t"+M._s(M.error)+"\n\t\t")]):M._e()],1)]):M._e()},[],!1,null,"4760cf20",null);const ez=Wz.exports,tz={name:"Workflow",components:{MenuDown:V.A,MenuUp:G.A,NcButton:P.A,NcEmptyContent:D.A,NcIconSvgWrapper:j.A,NcSettingsSection:I.A,Operation:jM,Rule:ez},setup:()=>({mdiPlus:S.biz}),data:()=>({showMoreOperations:!1,appstoreUrl:(0,x.Jv)("settings/apps/workflow"),workflowDocUrl:(0,_.C)("workflowengine","doc-url"),WorkflowOffSvg:'\n'}),computed:{...X({rules:"getRules"}),...N({appstoreEnabled:"appstoreEnabled",scope:"scope",operations:"operations"}),hasMoreOperations(){return Object.keys(this.operations).length>3},mainOperations(){return this.showMoreOperations?Object.values(this.operations):Object.values(this.operations).slice(0,3)},showAppStoreHint(){return this.appstoreEnabled&&OC.isUserAdmin()},isUserAdmin:()=>OC.isUserAdmin(),isAdminScope(){return 0===this.scope}},mounted(){this.$store.dispatch("fetchRules")},methods:{createNewRule(M){this.$store.dispatch("createNewRule",M)}}};var az=b(89606),dz={};dz.styleTagTransform=_M(),dz.setAttributes=kM(),dz.insert=vM().bind(null,"head"),dz.domAPI=CM(),dz.insertStyleElement=yM(),hM()(az.A,dz),az.A&&az.A.locals&&az.A.locals;const iz=(0,DM.A)(tz,function(){var M=this,z=M._self._c;return z("div",{attrs:{id:"workflowengine"}},[z("NcSettingsSection",{attrs:{name:M.t("workflowengine","Available flows"),"doc-url":M.workflowDocUrl}},[M.isAdminScope?z("p",{staticClass:"settings-hint"},[z("a",{attrs:{href:"https://nextcloud.com/developer/"}},[M._v(M._s(M.t("workflowengine","For details on how to write your own flow, check out the development documentation.")))])]):M._e(),M._v(" "),M.isUserAdmin||0!==M.mainOperations.length?z("transition-group",{staticClass:"actions",attrs:{name:"slide",tag:"div"}},[M._l(M.mainOperations,function(b){return z("Operation",{key:b.id,attrs:{operation:b,colored:""},nativeOn:{click:function(z){return M.createNewRule(b)}}})}),M._v(" "),M.showAppStoreHint?z("a",{key:"add",staticClass:"actions__item colored more",attrs:{href:M.appstoreUrl}},[z("NcIconSvgWrapper",{staticClass:"actions__itemMore__icon",attrs:{path:M.mdiPlus,size:50}}),M._v(" "),z("div",{staticClass:"actions__item__description"},[z("h3",[M._v(M._s(M.t("workflowengine","More flows")))]),M._v(" "),z("small",[M._v(M._s(M.t("workflowengine","Browse the App Store")))])])],1):M._e()],2):z("NcEmptyContent",{attrs:{name:M.t("workflowengine","No flows installed"),description:M.isUserAdmin?void 0:M.t("workflowengine","Ask your administrator to install new flows.")},scopedSlots:M._u([{key:"icon",fn:function(){return[z("NcIconSvgWrapper",{attrs:{svg:M.WorkflowOffSvg,size:20}})]},proxy:!0}],null,!1,233236213)}),M._v(" "),M.hasMoreOperations?z("div",{staticClass:"actions__more"},[z("NcButton",{on:{click:function(z){M.showMoreOperations=!M.showMoreOperations}},scopedSlots:M._u([{key:"icon",fn:function(){return[M.showMoreOperations?z("MenuUp",{attrs:{size:20}}):z("MenuDown",{attrs:{size:20}})]},proxy:!0}],null,!1,3801522717)},[M._v("\n\t\t\t\t"+M._s(M.showMoreOperations?M.t("workflowengine","Show less"):M.t("workflowengine","Show more"))+"\n\t\t\t")])],1):M._e()],1),M._v(" "),M.mainOperations.length>0?z("NcSettingsSection",{attrs:{name:M.isAdminScope?M.t("workflowengine","Configured flows"):M.t("workflowengine","Your flows")}},[M.rules.length>0?z("transition-group",{attrs:{name:"slide"}},M._l(M.rules,function(M){return z("Rule",{key:M.id,attrs:{rule:M}})}),1):z("NcEmptyContent",{attrs:{name:M.t("workflowengine","No flows configured")},scopedSlots:M._u([{key:"icon",fn:function(){return[z("NcIconSvgWrapper",{attrs:{svg:M.WorkflowOffSvg,size:20}})]},proxy:!0}],null,!1,233236213)})],1):M._e()],1)},[],!1,null,"4075784a",null).exports;var rz=b(83194);const Rz={name:"FileMimeType",components:{NcEllipsisedOption:rz.A,NcSelect:QM.default},props:{modelValue:{type:String,default:""}},emits:["update:model-value"],data:()=>({predefinedTypes:[{iconUrl:(0,x.d0)("core","filetypes/audio"),label:t("workflowengine","Audio"),id:"/audio\\/.*/"},{icon:"icon-folder",label:t("workflowengine","Folder"),id:"httpd/unix-directory"},{icon:"icon-picture",label:t("workflowengine","Images"),id:"/image\\/.*/"},{iconUrl:(0,x.d0)("core","filetypes/x-office-document"),label:t("workflowengine","Office documents"),id:"/(vnd\\.(ms-|openxmlformats-|oasis\\.opendocument).*)$/"},{iconUrl:(0,x.d0)("core","filetypes/application-pdf"),label:t("workflowengine","PDF documents"),id:"application/pdf"},{iconUrl:(0,x.d0)("core","filetypes/video"),label:t("workflowengine","Video"),id:"/video\\/.*/"}],newValue:""}),computed:{options(){return[...this.predefinedTypes,this.customValue]},isPredefined(){return!!this.predefinedTypes.find(M=>this.newValue===M.id)},customValue:()=>({icon:"icon-settings-dark",label:t("workflowengine","Custom MIME type"),id:""}),currentValue(){return this.predefinedTypes.find(M=>this.newValue===M.id)||{icon:"icon-settings-dark",label:t("workflowengine","Custom MIME type"),id:this.newValue}}},watch:{modelValue(){this.updateInternalValue()}},methods:{validateRegex:M=>null!==/^\/(.*)\/([gui]{0,3})$/.exec(M),updateInternalValue(){this.newValue=this.modelValue},setValue(M){null!==M&&(this.newValue=M.id,this.$emit("update:model-value",this.newValue))},updateCustom(M){this.newValue=M.target.value||M.detail[0],this.$emit("update:model-value",this.newValue)}}};var uz=b(27106),sz={};sz.styleTagTransform=_M(),sz.setAttributes=kM(),sz.insert=vM().bind(null,"head"),sz.domAPI=CM(),sz.insertStyleElement=yM(),hM()(uz.A,sz),uz.A&&uz.A.locals&&uz.A.locals;const fz=(0,DM.A)(Rz,function(){var M=this,z=M._self._c;return z("div",[z("NcSelect",{attrs:{"model-value":M.currentValue,placeholder:M.t("workflowengine","Select a file type"),label:"label",options:M.options,clearable:!1},on:{input:M.setValue},scopedSlots:M._u([{key:"option",fn:function(b){return[b.icon?z("span",{staticClass:"option__icon",class:b.icon}):z("span",{staticClass:"option__icon-img"},[z("img",{attrs:{src:b.iconUrl,alt:""}})]),M._v(" "),z("span",{staticClass:"option__title"},[z("NcEllipsisedOption",{attrs:{name:String(b.label)}})],1)]}},{key:"selected-option",fn:function(b){return[b.icon?z("span",{staticClass:"option__icon",class:b.icon}):z("span",{staticClass:"option__icon-img"},[z("img",{attrs:{src:b.iconUrl,alt:""}})]),M._v(" "),z("span",{staticClass:"option__title"},[z("NcEllipsisedOption",{attrs:{name:String(b.label)}})],1)]}}])}),M._v(" "),M.isPredefined?M._e():z("input",{attrs:{type:"text",placeholder:M.t("workflowengine","e.g. httpd/unix-directory")},domProps:{value:M.currentValue.id},on:{input:M.updateCustom}})],1)},[],!1,null,"dbaf171a",null).exports,lz={name:"FileSystemTag",components:{NcSelectTags:b(93697).N},props:{modelValue:{type:String,default:""}},emits:["update:model-value"],data:()=>({newValue:[]}),watch:{modelValue(){this.updateValue()}},beforeMount(){this.updateValue()},methods:{updateValue(){""!==this.modelValue?this.newValue=parseInt(this.modelValue):this.newValue=null},update(){this.$emit("update:model-value",this.newValue||"")}}},Lz=(0,DM.A)(lz,function(){var M=this;return(0,M._self._c)("NcSelectTags",{attrs:{multiple:!1},on:{input:M.update},model:{value:M.newValue,callback:function(z){M.newValue=z},expression:"newValue"}})},[],!1,null,null,null).exports,Nz=/^\/(.*)\/([gui]{0,3})$/,Bz=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/(3[0-2]|[1-2][0-9]|[1-9])$/,Xz=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(1([01][0-9]|2[0-8])|[1-9][0-9]|[0-9])$/;var mz=b(26422);function hz(M,z){const b=(0,mz.A)(p.Ay,M);if(window.customElements.get(z))throw JM.error("Custom element with ID "+z+" is already defined!"),new Error("Custom element with ID "+z+" is already defined!");return window.customElements.define(z,b),Object.defineProperty(b.prototype,"attachShadow",{value(){return this}}),Object.defineProperty(b.prototype,"shadowRoot",{get(){return this}}),z}function gz(){return[{operator:"matches",name:t("workflowengine","matches")},{operator:"!matches",name:t("workflowengine","does not match")},{operator:"is",name:t("workflowengine","is")},{operator:"!is",name:t("workflowengine","is not")}]}const Cz=[{class:"OCA\\WorkflowEngine\\Check\\FileName",name:t("workflowengine","File name"),operators:gz,placeholder:M=>"matches"===M.operator||"!matches"===M.operator?"/^dummy-.+$/i":"filename.txt",validate:function(M){return"matches"!==M.operator&&"!matches"!==M.operator||!!(z=M.value)&&null!==Nz.exec(z);var z}},{class:"OCA\\WorkflowEngine\\Check\\FileMimeType",name:t("workflowengine","File MIME type"),operators:gz,element:hz(fz,"oca-workflowengine-checks-file_mime_type")},{class:"OCA\\WorkflowEngine\\Check\\FileSize",name:t("workflowengine","File size (upload)"),operators:[{operator:"less",name:t("workflowengine","less")},{operator:"!greater",name:t("workflowengine","less or equals")},{operator:"!less",name:t("workflowengine","greater or equals")},{operator:"greater",name:t("workflowengine","greater")}],placeholder:()=>"5 MB",validate:M=>!!M.value&&null!==M.value.match(/^[0-9]+[ ]?[kmgt]?b$/i)},{class:"OCA\\WorkflowEngine\\Check\\RequestRemoteAddress",name:t("workflowengine","Request remote address"),operators:[{operator:"matchesIPv4",name:t("workflowengine","matches IPv4")},{operator:"!matchesIPv4",name:t("workflowengine","does not match IPv4")},{operator:"matchesIPv6",name:t("workflowengine","matches IPv6")},{operator:"!matchesIPv6",name:t("workflowengine","does not match IPv6")}],placeholder:M=>"matchesIPv6"===M.operator||"!matchesIPv6"===M.operator?"::1/128":"127.0.0.1/32",validate:M=>{return"matchesIPv6"===M.operator||"!matchesIPv6"===M.operator?!!(z=M.value)&&null!==Xz.exec(z):function(M){return!!M&&null!==Bz.exec(M)}(M.value);var z}},{class:"OCA\\WorkflowEngine\\Check\\FileSystemTags",name:t("workflowengine","File system tag"),operators:[{operator:"is",name:t("workflowengine","is tagged with")},{operator:"!is",name:t("workflowengine","is not tagged with")}],element:hz(Lz,"oca-workflowengine-file_system_tag")}];var Tz=b(84743),vz=b.n(Tz);const wz=vz().tz.names(),kz={name:"RequestTime",components:{NcSelect:QM.default},props:{modelValue:{type:String,default:"[]"}},emits:["update:model-value"],data:()=>({timezones:wz,valid:!1,newValue:{startTime:null,endTime:null,timezone:vz().tz.guess()},stringifiedValue:"[]"}),watch:{modelValue(){this.updateInternalValue()}},beforeMount(){this.updateInternalValue()},methods:{updateInternalValue(){try{const M=JSON.parse(this.modelValue);2===M.length&&(this.newValue={startTime:M[0].split(" ",2)[0],endTime:M[1].split(" ",2)[0],timezone:M[0].split(" ",2)[1]},this.stringifiedValue=`["${this.newValue.startTime} ${this.newValue.timezone}","${this.newValue.endTime} ${this.newValue.timezone}"]`,this.validate())}catch{}},validate(){return this.valid=this.newValue.startTime&&null!==this.newValue.startTime.match(/^(0[0-9]|1[0-9]|2[0-3]|[0-9]):[0-5][0-9]$/i)&&this.newValue.endTime&&null!==this.newValue.endTime.match(/^(0[0-9]|1[0-9]|2[0-3]|[0-9]):[0-5][0-9]$/i)&&null!==vz().tz.zone(this.newValue.timezone),this.valid?this.$emit("valid"):this.$emit("invalid"),this.valid},update(){null===this.newValue.timezone&&(this.newValue.timezone=vz().tz.guess()),this.validate()&&(this.stringifiedValue=`["${this.newValue.startTime} ${this.newValue.timezone}","${this.newValue.endTime} ${this.newValue.timezone}"]`,this.$emit("update:model-value",this.stringifiedValue))}}};var Ez=b(63595),yz={};yz.styleTagTransform=_M(),yz.setAttributes=kM(),yz.insert=vM().bind(null,"head"),yz.domAPI=CM(),yz.insertStyleElement=yM(),hM()(Ez.A,yz),Ez.A&&Ez.A.locals&&Ez.A.locals;const Sz=(0,DM.A)(kz,function(){var M=this,z=M._self._c;return z("div",{staticClass:"timeslot"},[z("input",{directives:[{name:"model",rawName:"v-model",value:M.newValue.startTime,expression:"newValue.startTime"}],staticClass:"timeslot--start",attrs:{type:"text",placeholder:"e.g. 08:00"},domProps:{value:M.newValue.startTime},on:{input:[function(z){z.target.composing||M.$set(M.newValue,"startTime",z.target.value)},M.update]}}),M._v(" "),z("input",{directives:[{name:"model",rawName:"v-model",value:M.newValue.endTime,expression:"newValue.endTime"}],attrs:{type:"text",placeholder:"e.g. 18:00"},domProps:{value:M.newValue.endTime},on:{input:[function(z){z.target.composing||M.$set(M.newValue,"endTime",z.target.value)},M.update]}}),M._v(" "),M.valid?M._e():z("p",{staticClass:"invalid-hint"},[M._v("\n\t\t"+M._s(M.t("workflowengine","Please enter a valid time span"))+"\n\t")]),M._v(" "),z("NcSelect",{directives:[{name:"show",rawName:"v-show",value:M.valid,expression:"valid"}],attrs:{clearable:!1,options:M.timezones},on:{input:M.update},model:{value:M.newValue.timezone,callback:function(z){M.$set(M.newValue,"timezone",z)},expression:"newValue.timezone"}})],1)},[],!1,null,"9b060ffc",null).exports,_z={data:()=>({newValue:[]}),watch:{modelValue(){this.updateInternalValue()}},methods:{updateInternalValue(){this.newValue=this.modelValue}}},xz={name:"RequestURL",components:{NcEllipsisedOption:rz.A,NcSelect:QM.default},mixins:[_z],props:{modelValue:{type:String,default:""},operator:{type:String,default:""}},emits:["update:model-value"],data:()=>({newValue:"",predefinedTypes:[{icon:"icon-files-dark",id:"webdav",label:t("workflowengine","Files WebDAV")}]}),computed:{options(){return[...this.predefinedTypes,this.customValue]},placeholder(){return"matches"===this.operator||"!matches"===this.operator?"/^https\\:\\/\\/localhost\\/index\\.php$/i":"https://localhost/index.php"},matchingPredefined(){return this.predefinedTypes.find(M=>this.newValue===M.id)},isPredefined(){return!!this.matchingPredefined},customValue:()=>({icon:"icon-settings-dark",label:t("workflowengine","Custom URL"),id:""}),currentValue(){return this.matchingPredefined?this.matchingPredefined:{icon:"icon-settings-dark",label:t("workflowengine","Custom URL"),id:this.newValue}}},methods:{validateRegex:M=>null!==/^\/(.*)\/([gui]{0,3})$/.exec(M),setValue(M){null!==M&&(this.newValue=M.id,this.$emit("update:model-value",this.newValue))},updateCustom(M){this.newValue=M.target.value,this.$emit("update:model-value",this.newValue)}}};var Pz=b(65798),Dz={};Dz.styleTagTransform=_M(),Dz.setAttributes=kM(),Dz.insert=vM().bind(null,"head"),Dz.domAPI=CM(),Dz.insertStyleElement=yM(),hM()(Pz.A,Dz),Pz.A&&Pz.A.locals&&Pz.A.locals;const jz=(0,DM.A)(xz,function(){var M=this,z=M._self._c;return z("div",[z("NcSelect",{attrs:{"model-value":M.currentValue,placeholder:M.t("workflowengine","Select a request URL"),label:"label",clearable:!1,options:M.options},on:{input:M.setValue},scopedSlots:M._u([{key:"option",fn:function(b){return[z("span",{staticClass:"option__icon",class:b.icon}),M._v(" "),z("span",{staticClass:"option__title"},[z("NcEllipsisedOption",{attrs:{name:String(b.label)}})],1)]}},{key:"selected-option",fn:function(b){return[z("span",{staticClass:"option__icon",class:b.icon}),M._v(" "),z("span",{staticClass:"option__title"},[z("NcEllipsisedOption",{attrs:{name:String(b.label)}})],1)]}}]),model:{value:M.newValue,callback:function(z){M.newValue=z},expression:"newValue"}}),M._v(" "),M.isPredefined?M._e():z("input",{attrs:{type:"text",placeholder:M.placeholder},domProps:{value:M.currentValue.id},on:{input:M.updateCustom}})],1)},[],!1,null,"14ce9f69",null).exports,Iz={name:"RequestUserAgent",components:{NcEllipsisedOption:rz.A,NcSelect:QM.default},mixins:[_z],props:{modelValue:{type:String,default:""}},emits:["update:model-value"],data:()=>({newValue:"",predefinedTypes:[{id:"android",label:t("workflowengine","Android client"),icon:"icon-phone"},{id:"ios",label:t("workflowengine","iOS client"),icon:"icon-phone"},{id:"desktop",label:t("workflowengine","Desktop client"),icon:"icon-desktop"},{id:"mail",label:t("workflowengine","Thunderbird & Outlook addons"),icon:"icon-mail"}]}),computed:{options(){return[...this.predefinedTypes,this.customValue]},matchingPredefined(){return this.predefinedTypes.find(M=>this.newValue===M.id)},isPredefined(){return!!this.matchingPredefined},customValue:()=>({icon:"icon-settings-dark",label:t("workflowengine","Custom user agent"),id:""}),currentValue:{get(){return this.matchingPredefined?this.matchingPredefined:{icon:"icon-settings-dark",label:t("workflowengine","Custom user agent"),id:this.newValue}},set(M){this.newValue=M}}},methods:{validateRegex:M=>null!==/^\/(.*)\/([gui]{0,3})$/.exec(M),setValue(M){null!==M&&(this.newValue=M.id,this.$emit("update:model-value",this.newValue))},updateCustom(){this.newValue=this.currentValue.id,this.$emit("update:model-value",this.newValue)}}};var Vz=b(92042),Gz={};Gz.styleTagTransform=_M(),Gz.setAttributes=kM(),Gz.insert=vM().bind(null,"head"),Gz.domAPI=CM(),Gz.insertStyleElement=yM(),hM()(Vz.A,Gz),Vz.A&&Vz.A.locals&&Vz.A.locals;const Uz=(0,DM.A)(Iz,function(){var M=this,z=M._self._c;return z("div",[z("NcSelect",{attrs:{placeholder:M.t("workflowengine","Select a user agent"),label:"label",options:M.options,clearable:!1},on:{input:M.setValue},scopedSlots:M._u([{key:"option",fn:function(b){return[z("span",{staticClass:"option__icon",class:b.icon}),M._v(" "),z("span",{staticClass:"option__title"},[z("NcEllipsisedOption",{attrs:{name:String(b.label)}})],1)]}},{key:"selected-option",fn:function(b){return[z("span",{staticClass:"option__icon",class:b.icon}),M._v(" "),z("span",{staticClass:"option__title"},[z("NcEllipsisedOption",{attrs:{name:String(b.label)}})],1)]}}]),model:{value:M.currentValue,callback:function(z){M.currentValue=z},expression:"currentValue"}}),M._v(" "),M.isPredefined?M._e():z("input",{directives:[{name:"model",rawName:"v-model",value:M.newValue,expression:"newValue"}],attrs:{type:"text"},domProps:{value:M.newValue},on:{input:[function(z){z.target.composing||(M.newValue=z.target.value)},M.updateCustom]}})],1)},[],!1,null,"31db6870",null).exports;var Fz=b(19051);const Hz=[],Kz=[],Qz={isLoading:!1},Jz={name:"RequestUserGroup",components:{NcSelect:QM.default},props:{modelValue:{type:String,default:""},check:{type:Object,default:()=>({})}},emits:["update:model-value"],data:()=>({groups:Hz,status:Qz,wantedGroups:Kz,newValue:""}),computed:{currentValue:{get(){return this.groups.find(M=>M.id===this.newValue)||null},set(M){this.newValue=M}}},watch:{modelValue(){this.updateInternalValue()}},async mounted(){0===this.groups.length&&await this.searchAsync(""),null===this.currentValue&&this.newValue&&await this.searchAsync(this.newValue)},methods:{t:U.t,searchAsync(M){if(!this.status.isLoading)return this.status.isLoading=!0,Fz.Ay.get((0,x.KT)("cloud/groups/details?limit=20&search={searchQuery}",{searchQuery:M})).then(M=>{M.data.ocs.data.groups.forEach(M=>{this.addGroup({id:M.id,displayname:M.displayname})}),this.status.isLoading=!1,this.findGroupByQueue()},M=>{JM.error("Error while loading group list",{error:M})});M&&this.enqueueWantedGroup(M)},async updateInternalValue(){this.newValue||await this.searchAsync(this.modelValue),this.newValue=this.modelValue},addGroup(M){-1===this.groups.findIndex(z=>z.id===M.id)&&this.groups.push(M)},hasGroup(M){return this.groups.findIndex(z=>z.id===M)>-1},update(M){this.newValue=M.id,this.$emit("update:model-value",this.newValue)},enqueueWantedGroup(M){-1===this.wantedGroups.findIndex(z=>z===M)&&this.wantedGroups.push(M)},async findGroupByQueue(){let M;do{M=this.wantedGroups.shift(),this.hasGroup(M)&&(M=void 0)}while(!M&&this.wantedGroups.length>0);M&&await this.searchAsync(M)}}};var $z=b(42214),Yz={};Yz.styleTagTransform=_M(),Yz.setAttributes=kM(),Yz.insert=vM().bind(null,"head"),Yz.domAPI=CM(),Yz.insertStyleElement=yM(),hM()($z.A,Yz),$z.A&&$z.A.locals&&$z.A.locals;const Zz=(0,DM.A)(Jz,function(){var M=this,z=M._self._c;return z("div",[z("NcSelect",{attrs:{"aria-label-combobox":M.t("workflowengine","Select groups"),"aria-label-listbox":M.t("workflowengine","Groups"),clearable:!1,loading:M.status.isLoading&&0===M.groups.length,placeholder:M.t("workflowengine","Type to search for group …"),options:M.groups,"model-value":M.currentValue,label:"displayname"},on:{search:M.searchAsync,input:M.update}})],1)},[],!1,null,"9969ea1c",null).exports,Mb=[...Cz,{class:"OCA\\WorkflowEngine\\Check\\RequestURL",name:t("workflowengine","Request URL"),operators:[{operator:"is",name:t("workflowengine","is")},{operator:"!is",name:t("workflowengine","is not")},{operator:"matches",name:t("workflowengine","matches")},{operator:"!matches",name:t("workflowengine","does not match")}],element:hz(jz,"oca-workflowengine-checks-request_url")},{class:"OCA\\WorkflowEngine\\Check\\RequestTime",name:t("workflowengine","Request time"),operators:[{operator:"in",name:t("workflowengine","between")},{operator:"!in",name:t("workflowengine","not between")}],element:hz(Sz,"oca-workflowengine-checks-request_time")},{class:"OCA\\WorkflowEngine\\Check\\RequestUserAgent",name:t("workflowengine","Request user agent"),operators:[{operator:"is",name:t("workflowengine","is")},{operator:"!is",name:t("workflowengine","is not")},{operator:"matches",name:t("workflowengine","matches")},{operator:"!matches",name:t("workflowengine","does not match")}],element:hz(Uz,"oca-workflowengine-checks-request_user_agent")},{class:"OCA\\WorkflowEngine\\Check\\UserGroupMembership",name:t("workflowengine","Group membership"),operators:[{operator:"is",name:t("workflowengine","is member of")},{operator:"!is",name:t("workflowengine","is not member of")}],element:hz(Zz,"oca-workflowengine-checks-request_user_group")}];var zb=b(77690);const bb=0===(0,_.C)("workflowengine","scope")?"global":"user";function pb(M){return(0,x.KT)("apps/workflowengine/api/v1/workflows/{scopeValue}",{scopeValue:bb})+M+"?format=json"}p.Ay.use(y);const Ob=new d({state:{rules:[],scope:(0,_.C)("workflowengine","scope"),appstoreEnabled:(0,_.C)("workflowengine","appstoreenabled"),operations:(0,_.C)("workflowengine","operators"),plugins:p.Ay.observable({checks:{},operators:{}}),entities:(0,_.C)("workflowengine","entities"),events:(0,_.C)("workflowengine","entities").map(M=>M.events.map(z=>({id:`${M.id}::${z.eventName}`,entity:M,...z}))).flat(),checks:(0,_.C)("workflowengine","checks")},mutations:{addRule(M,z){M.rules.push({...z,valid:!0})},updateRule(M,z){const b=M.rules.findIndex(M=>z.id===M.id),O={...z};p.Ay.set(M.rules,b,O)},removeRule(M,z){const b=M.rules.findIndex(M=>z.id===M.id);M.rules.splice(b,1)},addPluginCheck(M,z){p.Ay.set(M.plugins.checks,z.class,z)},addPluginOperator(M,z){z={color:"var(--color-primary-element)",...z,...M.operations[z.id]||{}},void 0!==M.operations[z.id]&&p.Ay.set(M.operations,z.id,z)}},actions:{async fetchRules(M){const{data:z}=await Fz.Ay.get(pb(""));Object.values(z.ocs.data).flat().forEach(z=>{M.commit("addRule",z)})},async createNewRule(M,z){await(0,zb.C5)();let b=null,p=[];!1===z.isComplex&&""===z.fixedEntity&&(b=M.state.entities.find(M=>z.entities&&z.entities[0]===M.id),b=b||Object.values(M.state.entities)[0],p=[b.events[0].eventName]),M.commit("addRule",{id:-(new Date).getTime(),class:z.id,entity:b?b.id:z.fixedEntity,events:p,name:"",checks:[{class:null,operator:null,value:""}],operation:z.operation||""})},updateRule(M,z){M.commit("updateRule",{...z,events:"string"==typeof z.events?JSON.parse(z.events):z.events})},removeRule(M,z){M.commit("removeRule",z)},async pushUpdateRule(M,z){let b;await(0,zb.C5)(),b=z.id<0?await Fz.Ay.post(pb(""),z):await Fz.Ay.put(pb(`/${z.id}`),z),p.Ay.set(z,"id",b.data.ocs.data.id),M.commit("updateRule",z)},async deleteRule(M,z){await(0,zb.C5)(),await Fz.Ay.delete(pb(`/${z.id}`)),M.commit("removeRule",z)},setValid(M,{rule:z,valid:b}){z.valid=b,M.commit("updateRule",z)}},getters:{getRules:M=>M.rules.filter(z=>void 0!==M.operations[z.class]).sort((M,z)=>M.id-z.id||z.class-M.class),getOperationForRule:M=>z=>M.operations[z.class],getEntityForOperation:M=>z=>M.entities.find(M=>z.fixedEntity===M.id),getEventsForOperation:M=>()=>M.events,getChecksForEntity:M=>z=>Object.values(M.checks).filter(M=>M.supportedEntities.indexOf(z)>-1||0===M.supportedEntities.length).map(z=>M.plugins.checks[z.id]).reduce((M,z)=>(M[z.class]=z,M),{})}}),cb=Ob;window.OCA.WorkflowEngine={...OCA.WorkflowEngine,registerCheck(M){cb.commit("addPluginCheck",M)},registerOperator(M){cb.commit("addPluginOperator",M)}},Mb.forEach(M=>window.OCA.WorkflowEngine.registerCheck(M)),p.Ay.use(y),p.Ay.prototype.t=t,new(p.Ay.extend(iz))({store:cb}).$mount("#workflowengine")},43148(M,z,b){"use strict";b.d(z,{A:()=>o});var p=b(71354),O=b.n(p),c=b(76314),A=b.n(c)()(O());A.push([M.id,".check[data-v-0263c74b]{display:flex;flex-wrap:wrap;align-items:flex-start;width:100%;padding-inline-end:20px}.check>*[data-v-0263c74b]:not(.close){width:180px}.check>.comparator[data-v-0263c74b]{min-width:200px;width:200px}.check>.option[data-v-0263c74b]{min-width:260px;width:260px;min-height:48px}.check>.option>input[type=text][data-v-0263c74b]{min-height:48px}.check>.v-select[data-v-0263c74b],.check>.button-vue[data-v-0263c74b],.check>input[type=text][data-v-0263c74b]{margin-inline-end:5px;margin-bottom:5px}input[type=text][data-v-0263c74b]{margin:0}.invalid[data-v-0263c74b]{border-color:var(--color-border-error) !important}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Check.vue"],names:[],mappings:"AACA,wBACC,YAAA,CACA,cAAA,CACA,sBAAA,CACA,UAAA,CACA,uBAAA,CAEA,sCACC,WAAA,CAED,oCACC,eAAA,CACA,WAAA,CAED,gCACC,eAAA,CACA,WAAA,CACA,eAAA,CAEA,iDACC,eAAA,CAGF,+GAGC,qBAAA,CACA,iBAAA,CAIF,kCACC,QAAA,CAGD,0BACC,iDAAA",sourcesContent:["\n.check {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: flex-start; // to not stretch components vertically\n\twidth: 100%;\n\tpadding-inline-end: 20px;\n\n\t& > *:not(.close) {\n\t\twidth: 180px;\n\t}\n\t& > .comparator {\n\t\tmin-width: 200px;\n\t\twidth: 200px;\n\t}\n\t& > .option {\n\t\tmin-width: 260px;\n\t\twidth: 260px;\n\t\tmin-height: 48px;\n\n\t\t& > input[type=text] {\n\t\t\tmin-height: 48px;\n\t\t}\n\t}\n\t& > .v-select,\n\t& > .button-vue,\n\t& > input[type=text] {\n\t\tmargin-inline-end: 5px;\n\t\tmargin-bottom: 5px;\n\t}\n}\n\ninput[type=text] {\n\tmargin: 0;\n}\n\n.invalid {\n\tborder-color: var(--color-border-error) !important;\n}\n"],sourceRoot:""}]);const o=A},27106(M,z,b){"use strict";b.d(z,{A:()=>o});var p=b(71354),O=b.n(p),c=b(76314),A=b.n(c)()(O());A.push([M.id,".v-select[data-v-dbaf171a],input[type=text][data-v-dbaf171a]{width:100%}input[type=text][data-v-dbaf171a]{min-height:48px}.option__icon[data-v-dbaf171a],.option__icon-img[data-v-dbaf171a]{display:inline-block;min-width:30px;background-position:center;vertical-align:middle}.option__icon-img[data-v-dbaf171a]{text-align:center}.option__title[data-v-dbaf171a]{display:inline-flex;width:calc(100% - 36px);vertical-align:middle}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/FileMimeType.vue"],names:[],mappings:"AACA,6DAEC,UAAA,CAGD,kCACC,eAAA,CAGD,kEAEC,oBAAA,CACA,cAAA,CACA,0BAAA,CACA,qBAAA,CAGD,mCACC,iBAAA,CAGD,gCACC,mBAAA,CACA,uBAAA,CACA,qBAAA",sourcesContent:["\n.v-select,\ninput[type='text'] {\n\twidth: 100%;\n}\n\ninput[type=text] {\n\tmin-height: 48px;\n}\n\n.option__icon,\n.option__icon-img {\n\tdisplay: inline-block;\n\tmin-width: 30px;\n\tbackground-position: center;\n\tvertical-align: middle;\n}\n\n.option__icon-img {\n\ttext-align: center;\n}\n\n.option__title {\n\tdisplay: inline-flex;\n\twidth: calc(100% - 36px);\n\tvertical-align: middle;\n}\n"],sourceRoot:""}]);const o=A},63595(M,z,b){"use strict";b.d(z,{A:()=>o});var p=b(71354),O=b.n(p),c=b(76314),A=b.n(c)()(O());A.push([M.id,".timeslot[data-v-9b060ffc]{display:flex;flex-grow:1;flex-wrap:wrap;max-width:180px}.timeslot .multiselect[data-v-9b060ffc]{width:100%;margin-bottom:5px}.timeslot .multiselect[data-v-9b060ffc] .multiselect__tags:not(:hover):not(:focus):not(:active){border:1px solid rgba(0,0,0,0)}.timeslot input[type=text][data-v-9b060ffc]{width:50%;margin:0;margin-bottom:5px;min-height:48px}.timeslot input[type=text].timeslot--start[data-v-9b060ffc]{margin-inline-end:5px;width:calc(50% - 5px)}.timeslot .invalid-hint[data-v-9b060ffc]{color:var(--color-text-maxcontrast)}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestTime.vue"],names:[],mappings:"AACA,2BACC,YAAA,CACA,WAAA,CACA,cAAA,CACA,eAAA,CAEA,wCACC,UAAA,CACA,iBAAA,CAGD,gGACC,8BAAA,CAGD,4CACC,SAAA,CACA,QAAA,CACA,iBAAA,CACA,eAAA,CAEA,4DACC,qBAAA,CACA,qBAAA,CAIF,yCACC,mCAAA",sourcesContent:["\n.timeslot {\n\tdisplay: flex;\n\tflex-grow: 1;\n\tflex-wrap: wrap;\n\tmax-width: 180px;\n\n\t.multiselect {\n\t\twidth: 100%;\n\t\tmargin-bottom: 5px;\n\t}\n\n\t.multiselect:deep(.multiselect__tags:not(:hover):not(:focus):not(:active)) {\n\t\tborder: 1px solid transparent;\n\t}\n\n\tinput[type=text] {\n\t\twidth: 50%;\n\t\tmargin: 0;\n\t\tmargin-bottom: 5px;\n\t\tmin-height: 48px;\n\n\t\t&.timeslot--start {\n\t\t\tmargin-inline-end: 5px;\n\t\t\twidth: calc(50% - 5px);\n\t\t}\n\t}\n\n\t.invalid-hint {\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n}\n"],sourceRoot:""}]);const o=A},65798(M,z,b){"use strict";b.d(z,{A:()=>o});var p=b(71354),O=b.n(p),c=b(76314),A=b.n(c)()(O());A.push([M.id,".v-select[data-v-14ce9f69],input[type=text][data-v-14ce9f69]{width:100%}input[type=text][data-v-14ce9f69]{min-height:48px}.option__icon[data-v-14ce9f69]{display:inline-block;min-width:30px;background-position:center;vertical-align:middle}.option__title[data-v-14ce9f69]{display:inline-flex;width:calc(100% - 36px);vertical-align:middle}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestURL.vue"],names:[],mappings:"AACA,6DAEC,UAAA,CAGD,kCACC,eAAA,CAGD,+BACC,oBAAA,CACA,cAAA,CACA,0BAAA,CACA,qBAAA,CAGD,gCACC,mBAAA,CACA,uBAAA,CACA,qBAAA",sourcesContent:["\n.v-select,\ninput[type='text'] {\n\twidth: 100%;\n}\n\ninput[type='text'] {\n\tmin-height: 48px;\n}\n\n.option__icon {\n\tdisplay: inline-block;\n\tmin-width: 30px;\n\tbackground-position: center;\n\tvertical-align: middle;\n}\n\n.option__title {\n\tdisplay: inline-flex;\n\twidth: calc(100% - 36px);\n\tvertical-align: middle;\n}\n"],sourceRoot:""}]);const o=A},35546(M,z,b){"use strict";b.d(z,{A:()=>o});var p=b(71354),O=b.n(p),c=b(76314),A=b.n(c)()(O());A.push([M.id,".event[data-v-3a004759]{margin-bottom:5px}.event__trigger[data-v-3a004759]{max-width:550px}.isComplex img[data-v-3a004759]{vertical-align:text-top}.isComplex span[data-v-3a004759]{padding-top:2px;display:inline-block}.option__title[data-v-3a004759]{margin-inline-start:5px;color:var(--color-main-text)}.option__icon[data-v-3a004759]{width:16px;height:16px;filter:var(--background-invert-if-dark)}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Event.vue"],names:[],mappings:"AACA,wBACC,iBAAA,CAEA,iCACC,eAAA,CAKD,gCACC,uBAAA,CAED,iCACC,eAAA,CACA,oBAAA,CAIF,gCACC,uBAAA,CACA,4BAAA,CAGD,+BACC,UAAA,CACA,WAAA,CACA,uCAAA",sourcesContent:["\n.event {\n\tmargin-bottom: 5px;\n\n\t&__trigger {\n\t\tmax-width: 550px;\n\t}\n}\n\n.isComplex {\n\timg {\n\t\tvertical-align: text-top;\n\t}\n\tspan {\n\t\tpadding-top: 2px;\n\t\tdisplay: inline-block;\n\t}\n}\n\n.option__title {\n\tmargin-inline-start: 5px;\n\tcolor: var(--color-main-text);\n}\n\n.option__icon {\n\twidth: 16px;\n\theight: 16px;\n\tfilter: var(--background-invert-if-dark);\n}\n"],sourceRoot:""}]);const o=A},14814(M,z,b){"use strict";b.d(z,{A:()=>o});var p=b(71354),O=b.n(p),c=b(76314),A=b.n(c)()(O());A.push([M.id,"/*!\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */.actions__item[data-v-0300ce72]{display:flex;flex-wrap:wrap;flex-direction:column;flex-grow:1;padding:10px;border-radius:var(--border-radius-large);margin-inline:-1px 20px;margin-bottom:20px}.actions__item .icon[data-v-0300ce72]{display:block;width:100%;height:50px;background-size:50px 50px;background-position:center center;margin-top:10px;margin-bottom:10px;background-repeat:no-repeat}.actions__item__description[data-v-0300ce72]{text-align:center;flex-grow:1;display:flex;flex-direction:column;align-items:center}.actions__item_options[data-v-0300ce72]{width:100%;margin-top:10px;padding-inline-start:60px}h3[data-v-0300ce72],small[data-v-0300ce72]{padding:6px;display:block}h3[data-v-0300ce72]{margin:0;padding:0;font-weight:600}small[data-v-0300ce72]{font-size:10pt;flex-grow:1}.actions__item[data-v-0300ce72]:not(.colored){flex-direction:row}.actions__item:not(.colored) .actions__item__description[data-v-0300ce72]{padding-top:5px;text-align:start;width:calc(100% - 105px)}.actions__item:not(.colored) .actions__item__description small[data-v-0300ce72]{padding:0}.actions__item:not(.colored) .icon[data-v-0300ce72]{width:50px;margin:0;margin-inline-end:10px}.actions__item:not(.colored) .icon[data-v-0300ce72]:not(.icon-invert){filter:var(--background-invert-if-bright)}.colored .icon-invert[data-v-0300ce72]{filter:var(--background-invert-if-bright)}.actions__item[data-v-0300ce72]{color:var(--5e0cd2ad);background-color:var(--5a6cf4c2)}.actions__item h3[data-v-0300ce72]{color:var(--5e0cd2ad)}.actions__item .icon[data-v-0300ce72]{filter:var(--e2fa5f72)}","",{version:3,sources:["webpack://./apps/workflowengine/src/styles/operation.scss","webpack://./apps/workflowengine/src/components/Operation.vue"],names:[],mappings:"AAAA;;;EAAA,CAIA,gCACC,YAAA,CACA,cAAA,CACA,qBAAA,CACA,WAAA,CACA,YAAA,CACA,wCAAA,CACA,uBAAA,CACA,kBAAA,CAGD,sCACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,yBAAA,CACA,iCAAA,CACA,eAAA,CACA,kBAAA,CACA,2BAAA,CAGD,6CACC,iBAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CAGD,wCACC,UAAA,CACA,eAAA,CACA,yBAAA,CAGD,2CACC,WAAA,CACA,aAAA,CAGD,oBACC,QAAA,CACA,SAAA,CACA,eAAA,CAGD,uBACC,cAAA,CACA,WAAA,CAGD,8CACC,kBAAA,CAEA,0EACC,eAAA,CACA,gBAAA,CACA,wBAAA,CACA,gFACC,SAAA,CAGF,oDACC,UAAA,CACA,QAAA,CACA,sBAAA,CACA,sEACC,yCAAA,CAKH,uCACC,yCAAA,CC3ED,gCACC,qBAAA,CACA,gCAAA,CAEA,mCACC,qBAAA,CAGD,sCACC,sBAAA",sourcesContent:["/*!\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n.actions__item {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tpadding: 10px;\n\tborder-radius: var(--border-radius-large);\n\tmargin-inline: -1px 20px;\n\tmargin-bottom: 20px;\n}\n\n.actions__item .icon {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 50px;\n\tbackground-size: 50px 50px;\n\tbackground-position: center center;\n\tmargin-top: 10px;\n\tmargin-bottom: 10px;\n\tbackground-repeat: no-repeat;\n}\n\n.actions__item__description {\n\ttext-align: center;\n\tflex-grow: 1;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n}\n\n.actions__item_options {\n\twidth: 100%;\n\tmargin-top: 10px;\n\tpadding-inline-start: 60px;\n}\n\nh3, small {\n\tpadding: 6px;\n\tdisplay: block;\n}\n\nh3 {\n\tmargin: 0;\n\tpadding: 0;\n\tfont-weight: 600;\n}\n\nsmall {\n\tfont-size: 10pt;\n\tflex-grow: 1;\n}\n\n.actions__item:not(.colored) {\n\tflex-direction: row;\n\n\t.actions__item__description {\n\t\tpadding-top: 5px;\n\t\ttext-align: start;\n\t\twidth: calc(100% - 105px);\n\t\tsmall {\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\t.icon {\n\t\twidth: 50px;\n\t\tmargin: 0;\n\t\tmargin-inline-end: 10px;\n\t\t&:not(.icon-invert) {\n\t\t\tfilter: var(--background-invert-if-bright);\n\t\t}\n\t}\n}\n\n.colored .icon-invert {\n\tfilter: var(--background-invert-if-bright);\n}\n","\n@use \"./../styles/operation.scss\" as *;\n\n.actions__item {\n\tcolor: v-bind('color');\n\tbackground-color: v-bind('backgroundColor');\n\n\th3 {\n\t\tcolor: v-bind('color');\n\t}\n\n\t.icon {\n\t\tfilter: v-bind('iconFilter');\n\t}\n}\n"],sourceRoot:""}]);const o=A},36579(M,z,b){"use strict";b.d(z,{A:()=>o});var p=b(71354),O=b.n(p),c=b(76314),A=b.n(c)()(O());A.push([M.id,".buttons[data-v-4760cf20]{display:flex;justify-content:end}.buttons button[data-v-4760cf20]{margin-inline-start:5px}.buttons button[data-v-4760cf20]:last-child{margin-inline-end:10px}.error-message[data-v-4760cf20]{float:right;margin-inline-end:10px}.flow-icon[data-v-4760cf20]{width:44px}.rule[data-v-4760cf20]{display:flex;flex-wrap:wrap;border-inline-start:5px solid var(--color-primary-element)}.rule .trigger[data-v-4760cf20],.rule .action[data-v-4760cf20]{flex-grow:1;min-height:100px;max-width:920px}.rule .action[data-v-4760cf20]{max-width:400px;position:relative}.rule .icon-confirm[data-v-4760cf20]{background-position:right 27px;padding-inline-end:20px;margin-inline-end:20px}.trigger p[data-v-4760cf20],.action p[data-v-4760cf20]{min-height:34px;display:flex}.trigger p>span[data-v-4760cf20],.action p>span[data-v-4760cf20]{min-width:50px;text-align:end;color:var(--color-text-maxcontrast);padding-inline-end:10px;padding-top:6px}.trigger p .multiselect[data-v-4760cf20],.action p .multiselect[data-v-4760cf20]{flex-grow:1;max-width:300px}.trigger p:first-child span[data-v-4760cf20]{padding-top:3px}.trigger p[data-v-4760cf20]:last-child{padding-top:8px}.check--add[data-v-4760cf20]{background-position:7px center;background-color:rgba(0,0,0,0);padding-inline-start:6px;margin:0;width:180px;border-radius:var(--border-radius);color:var(--color-text-maxcontrast);font-weight:normal;text-align:start;font-size:1em}@media(max-width: 1400px){.rule[data-v-4760cf20],.rule .trigger[data-v-4760cf20],.rule .action[data-v-4760cf20]{width:100%;max-width:100%}.rule .flow-icon[data-v-4760cf20]{display:none}}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Rule.vue"],names:[],mappings:"AAEA,0BACC,YAAA,CACA,mBAAA,CAEA,iCACC,uBAAA,CAED,4CACC,sBAAA,CAIF,gCACC,WAAA,CACA,sBAAA,CAGD,4BACC,UAAA,CAGD,uBACC,YAAA,CACA,cAAA,CACA,0DAAA,CAEA,+DAEC,WAAA,CACA,gBAAA,CACA,eAAA,CAED,+BACC,eAAA,CACA,iBAAA,CAED,qCACC,8BAAA,CACA,uBAAA,CACA,sBAAA,CAIF,uDACC,eAAA,CACA,YAAA,CAEA,iEACC,cAAA,CACA,cAAA,CACA,mCAAA,CACA,uBAAA,CACA,eAAA,CAED,iFACC,WAAA,CACA,eAAA,CAIF,6CACE,eAAA,CAGF,uCACE,eAAA,CAGF,6BACC,8BAAA,CACA,8BAAA,CACA,wBAAA,CACA,QAAA,CACA,WAAA,CACA,kCAAA,CACA,mCAAA,CACA,kBAAA,CACA,gBAAA,CACA,aAAA,CAGD,0BAEE,sFACC,UAAA,CACA,cAAA,CAED,kCACC,YAAA,CAAA",sourcesContent:["\n\n.buttons {\n\tdisplay: flex;\n\tjustify-content: end;\n\n\tbutton {\n\t\tmargin-inline-start: 5px;\n\t}\n\tbutton:last-child{\n\t\tmargin-inline-end: 10px;\n\t}\n}\n\n.error-message {\n\tfloat: right;\n\tmargin-inline-end: 10px;\n}\n\n.flow-icon {\n\twidth: 44px;\n}\n\n.rule {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tborder-inline-start: 5px solid var(--color-primary-element);\n\n\t.trigger,\n\t.action {\n\t\tflex-grow: 1;\n\t\tmin-height: 100px;\n\t\tmax-width: 920px;\n\t}\n\t.action {\n\t\tmax-width: 400px;\n\t\tposition: relative;\n\t}\n\t.icon-confirm {\n\t\tbackground-position: right 27px;\n\t\tpadding-inline-end: 20px;\n\t\tmargin-inline-end: 20px;\n\t}\n}\n\n.trigger p, .action p {\n\tmin-height: 34px;\n\tdisplay: flex;\n\n\t& > span {\n\t\tmin-width: 50px;\n\t\ttext-align: end;\n\t\tcolor: var(--color-text-maxcontrast);\n\t\tpadding-inline-end: 10px;\n\t\tpadding-top: 6px;\n\t}\n\t.multiselect {\n\t\tflex-grow: 1;\n\t\tmax-width: 300px;\n\t}\n}\n\n.trigger p:first-child span {\n\t\tpadding-top: 3px;\n}\n\n.trigger p:last-child {\n\t\tpadding-top: 8px;\n}\n\n.check--add {\n\tbackground-position: 7px center;\n\tbackground-color: transparent;\n\tpadding-inline-start: 6px;\n\tmargin: 0;\n\twidth: 180px;\n\tborder-radius: var(--border-radius);\n\tcolor: var(--color-text-maxcontrast);\n\tfont-weight: normal;\n\ttext-align: start;\n\tfont-size: 1em;\n}\n\n@media (max-width:1400px) {\n\t.rule {\n\t\t&, .trigger, .action {\n\t\t\twidth: 100%;\n\t\t\tmax-width: 100%;\n\t\t}\n\t\t.flow-icon {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n"],sourceRoot:""}]);const o=A},89606(M,z,b){"use strict";b.d(z,{A:()=>o});var p=b(71354),O=b.n(p),c=b(76314),A=b.n(c)()(O());A.push([M.id,"/*!\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */.actions__item[data-v-4075784a]{display:flex;flex-wrap:wrap;flex-direction:column;flex-grow:1;padding:10px;border-radius:var(--border-radius-large);margin-inline:-1px 20px;margin-bottom:20px}.actions__item .icon[data-v-4075784a]{display:block;width:100%;height:50px;background-size:50px 50px;background-position:center center;margin-top:10px;margin-bottom:10px;background-repeat:no-repeat}.actions__item__description[data-v-4075784a]{text-align:center;flex-grow:1;display:flex;flex-direction:column;align-items:center}.actions__item_options[data-v-4075784a]{width:100%;margin-top:10px;padding-inline-start:60px}h3[data-v-4075784a],small[data-v-4075784a]{padding:6px;display:block}h3[data-v-4075784a]{margin:0;padding:0;font-weight:600}small[data-v-4075784a]{font-size:10pt;flex-grow:1}.actions__item[data-v-4075784a]:not(.colored){flex-direction:row}.actions__item:not(.colored) .actions__item__description[data-v-4075784a]{padding-top:5px;text-align:start;width:calc(100% - 105px)}.actions__item:not(.colored) .actions__item__description small[data-v-4075784a]{padding:0}.actions__item:not(.colored) .icon[data-v-4075784a]{width:50px;margin:0;margin-inline-end:10px}.actions__item:not(.colored) .icon[data-v-4075784a]:not(.icon-invert){filter:var(--background-invert-if-bright)}.colored .icon-invert[data-v-4075784a]{filter:var(--background-invert-if-bright)}#workflowengine[data-v-4075784a]{border-bottom:1px solid var(--color-border)}.section[data-v-4075784a]{max-width:100vw}.section h2.configured-flows[data-v-4075784a]{margin-top:50px;margin-bottom:0}.actions[data-v-4075784a]{display:flex;flex-wrap:wrap;max-width:1200px}.actions .actions__item[data-v-4075784a]{max-width:280px;flex-basis:250px}.actions__more[data-v-4075784a]{margin-bottom:10px}.actions__itemMore__icon[data-v-4075784a]{margin-block:10px}.slide-enter-active[data-v-4075784a]{-moz-transition-duration:.3s;-webkit-transition-duration:.3s;-o-transition-duration:.3s;transition-duration:.3s;-moz-transition-timing-function:ease-in;-webkit-transition-timing-function:ease-in;-o-transition-timing-function:ease-in;transition-timing-function:ease-in}.slide-leave-active[data-v-4075784a]{-moz-transition-duration:.3s;-webkit-transition-duration:.3s;-o-transition-duration:.3s;transition-duration:.3s;-moz-transition-timing-function:cubic-bezier(0, 1, 0.5, 1);-webkit-transition-timing-function:cubic-bezier(0, 1, 0.5, 1);-o-transition-timing-function:cubic-bezier(0, 1, 0.5, 1);transition-timing-function:cubic-bezier(0, 1, 0.5, 1)}.slide-enter-to[data-v-4075784a],.slide-leave[data-v-4075784a]{max-height:500px;overflow:hidden}.slide-enter[data-v-4075784a],.slide-leave-to[data-v-4075784a]{overflow:hidden;max-height:0;padding-top:0;padding-bottom:0}.actions__item.more[data-v-4075784a]{background-color:var(--color-background-dark)}","",{version:3,sources:["webpack://./apps/workflowengine/src/styles/operation.scss","webpack://./apps/workflowengine/src/components/Workflow.vue"],names:[],mappings:"AAAA;;;EAAA,CAIA,gCACC,YAAA,CACA,cAAA,CACA,qBAAA,CACA,WAAA,CACA,YAAA,CACA,wCAAA,CACA,uBAAA,CACA,kBAAA,CAGD,sCACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,yBAAA,CACA,iCAAA,CACA,eAAA,CACA,kBAAA,CACA,2BAAA,CAGD,6CACC,iBAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CAGD,wCACC,UAAA,CACA,eAAA,CACA,yBAAA,CAGD,2CACC,WAAA,CACA,aAAA,CAGD,oBACC,QAAA,CACA,SAAA,CACA,eAAA,CAGD,uBACC,cAAA,CACA,WAAA,CAGD,8CACC,kBAAA,CAEA,0EACC,eAAA,CACA,gBAAA,CACA,wBAAA,CACA,gFACC,SAAA,CAGF,oDACC,UAAA,CACA,QAAA,CACA,sBAAA,CACA,sEACC,yCAAA,CAKH,uCACC,yCAAA,CC3ED,iCACC,2CAAA,CAGD,0BACC,eAAA,CAEA,8CACC,eAAA,CACA,eAAA,CAIF,0BACC,YAAA,CACA,cAAA,CACA,gBAAA,CACA,yCACC,eAAA,CACA,gBAAA,CAIF,gCACC,kBAAA,CAGD,0CACC,iBAAA,CAGD,qCACC,4BAAA,CACA,+BAAA,CACA,0BAAA,CACA,uBAAA,CACA,uCAAA,CACA,0CAAA,CACA,qCAAA,CACA,kCAAA,CAGD,qCACC,4BAAA,CACA,+BAAA,CACA,0BAAA,CACA,uBAAA,CACA,0DAAA,CACA,6DAAA,CACA,wDAAA,CACA,qDAAA,CAGD,+DACC,gBAAA,CACA,eAAA,CAGD,+DACC,eAAA,CACA,YAAA,CACA,aAAA,CACA,gBAAA,CAGD,qCACC,6CAAA",sourcesContent:["/*!\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n.actions__item {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tpadding: 10px;\n\tborder-radius: var(--border-radius-large);\n\tmargin-inline: -1px 20px;\n\tmargin-bottom: 20px;\n}\n\n.actions__item .icon {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 50px;\n\tbackground-size: 50px 50px;\n\tbackground-position: center center;\n\tmargin-top: 10px;\n\tmargin-bottom: 10px;\n\tbackground-repeat: no-repeat;\n}\n\n.actions__item__description {\n\ttext-align: center;\n\tflex-grow: 1;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n}\n\n.actions__item_options {\n\twidth: 100%;\n\tmargin-top: 10px;\n\tpadding-inline-start: 60px;\n}\n\nh3, small {\n\tpadding: 6px;\n\tdisplay: block;\n}\n\nh3 {\n\tmargin: 0;\n\tpadding: 0;\n\tfont-weight: 600;\n}\n\nsmall {\n\tfont-size: 10pt;\n\tflex-grow: 1;\n}\n\n.actions__item:not(.colored) {\n\tflex-direction: row;\n\n\t.actions__item__description {\n\t\tpadding-top: 5px;\n\t\ttext-align: start;\n\t\twidth: calc(100% - 105px);\n\t\tsmall {\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\t.icon {\n\t\twidth: 50px;\n\t\tmargin: 0;\n\t\tmargin-inline-end: 10px;\n\t\t&:not(.icon-invert) {\n\t\t\tfilter: var(--background-invert-if-bright);\n\t\t}\n\t}\n}\n\n.colored .icon-invert {\n\tfilter: var(--background-invert-if-bright);\n}\n",'\n@use "./../styles/operation.scss";\n\n#workflowengine {\n\tborder-bottom: 1px solid var(--color-border);\n}\n\n.section {\n\tmax-width: 100vw;\n\n\th2.configured-flows {\n\t\tmargin-top: 50px;\n\t\tmargin-bottom: 0;\n\t}\n}\n\n.actions {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tmax-width: 1200px;\n\t.actions__item {\n\t\tmax-width: 280px;\n\t\tflex-basis: 250px;\n\t}\n}\n\n.actions__more {\n\tmargin-bottom: 10px;\n}\n\n.actions__itemMore__icon {\n\tmargin-block: 10px;\n}\n\n.slide-enter-active {\n\t-moz-transition-duration: 0.3s;\n\t-webkit-transition-duration: 0.3s;\n\t-o-transition-duration: 0.3s;\n\ttransition-duration: 0.3s;\n\t-moz-transition-timing-function: ease-in;\n\t-webkit-transition-timing-function: ease-in;\n\t-o-transition-timing-function: ease-in;\n\ttransition-timing-function: ease-in;\n}\n\n.slide-leave-active {\n\t-moz-transition-duration: 0.3s;\n\t-webkit-transition-duration: 0.3s;\n\t-o-transition-duration: 0.3s;\n\ttransition-duration: 0.3s;\n\t-moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n\t-webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n\t-o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n\ttransition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n}\n\n.slide-enter-to, .slide-leave {\n\tmax-height: 500px;\n\toverflow: hidden;\n}\n\n.slide-enter, .slide-leave-to {\n\toverflow: hidden;\n\tmax-height: 0;\n\tpadding-top: 0;\n\tpadding-bottom: 0;\n}\n\n.actions__item.more {\n\tbackground-color: var(--color-background-dark);\n}\n'],sourceRoot:""}]);const o=A},92042(M,z,b){"use strict";b.d(z,{A:()=>o});var p=b(71354),O=b.n(p),c=b(76314),A=b.n(c)()(O());A.push([M.id,"\n.v-select[data-v-31db6870],\ninput[type='text'][data-v-31db6870] {\n\twidth: 100%;\n}\ninput[type='text'][data-v-31db6870] {\n\tmin-height: 48px;\n}\n.option__icon[data-v-31db6870] {\n\tdisplay: inline-block;\n\tmin-width: 30px;\n\tbackground-position: center;\n\tvertical-align: middle;\n}\n.option__title[data-v-31db6870] {\n\tdisplay: inline-flex;\n\twidth: calc(100% - 36px);\n\tvertical-align: middle;\n}\n","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestUserAgent.vue"],names:[],mappings:";AA6JA;;CAEA,WAAA;AACA;AAEA;CACA,gBAAA;AACA;AAEA;CACA,qBAAA;CACA,eAAA;CACA,2BAAA;CACA,sBAAA;AACA;AAEA;CACA,oBAAA;CACA,wBAAA;CACA,sBAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t
\n\n\n