@enablerr-ui/dashboard 0.2.99 → 0.2.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/dist/index.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["@enablerr-ui/layout","@enablerr-ui/form","@enablerr-ui/auth","@enablerr-ui/detail","@enablerr-ui/collab"],(function(t){"use strict";var e,n,o,r,s,l,i,a,c,d,u,m,f,g,p;return{setters:[function(t){e=t.getAttractions,n=t.getGrid,o=t.getGridHelp},function(t){r=t.Request,s=t.Storage,l=t.settings,i=t.task_notification,a=t.approval_notification,c=t.communication_notification,d=t.attachment_notification,u=t.currentRoles},function(t){m=t.user},function(t){f=t.List},function(t){g=t.SupportModule,p=t.ChatModule}],execute:function(){t("version","0.2.99");function $(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var v,h,x=(v=function(t,e){function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function o(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?n(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("object"!==s(t))throw new Error("single-spa-svelte requires a configuration object");var e=o(o({},l),t);if(!e.component)throw new Error("single-spa-svelte must be passed opts.component");var n={};return{bootstrap:i.bind(null,e,n),mount:a.bind(null,e,n),unmount:c.bind(null,e,n),update:d.bind(null,e,n)}};var l={component:null,domElementGetter:null,props:{}};function i(t){return Promise.resolve()}function a(t,e,n){var r=Object.keys(l),s=Object.keys(t).reduce((function(e,n){return r.includes(n)||(e[n]=t[n]),e}),{});return Promise.resolve().then((function(){var r=function(t,e){return(e=e&&e.customProps?e.customProps:e).domElement?function(){return e.domElement}:e.domElementGetter?function(){return e.domElementGetter(e)}:t.domElementGetter?function(){return t.domElementGetter(e)}:function(t){var e=t.appName||t.name;if(!e)throw Error("single-spa-svelte was not given an application name as a prop, so it can't make a unique dom element container for the svelte application");var n="single-spa-application:".concat(e);return function(){var t=document.getElementById(n);return t||((t=document.createElement("div")).id=n,document.body.appendChild(t)),t}}(e)}(t,n),l=r();e.instance=new t.component(o(o({},s),{},{target:l,props:Object.assign({},n,t.props)}))}))}function c(t,e){return Promise.resolve().then((function(){e.instance.$destroy?e.instance.$destroy():e.instance.destroy()}))}function d(t,e,n){return Promise.resolve().then((function(){e.instance.$set?e.instance.$set(n):e.instance.set(n)}))}},v(h={exports:{}},h.exports),h.exports),w=$(x);function b(){}function k(t){return t()}function y(){return Object.create(null)}function _(t){t.forEach(k)}function D(t){return"function"==typeof t}function C(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function E(t,e,n){t.$$.on_destroy.push(function(t,...e){if(null==t)return b;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}(e,n))}function z(t){return null==t?"":t}function T(t,e){t.appendChild(e)}function I(t,e,n){t.insertBefore(e,n||null)}function O(t){t.parentNode.removeChild(t)}function F(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function S(t){return document.createElement(t)}function A(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function P(t){return document.createTextNode(t)}function N(){return P(" ")}function W(){return P("")}function M(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function L(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function j(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function B(t,e,n){e in t?t[e]="boolean"==typeof t[e]&&""===n||n:j(t,e,n)}function q(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function U(t,e){t.value=null==e?"":e}function H(t,e,n,o){t.style.setProperty(e,n,o?"important":"")}function R(t,e,n){t.classList[n?"add":"remove"](e)}let V;function G(t){V=t}function J(){if(!V)throw new Error("Function called outside component initialization");return V}function Z(){const t=J();return(e,n)=>{const o=t.$$.callbacks[e];if(o){const r=function(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}(e,n);o.slice().forEach((e=>{e.call(t,r)}))}}}const Y=[],K=[],Q=[],X=[],tt=Promise.resolve();let et=!1;function nt(t){Q.push(t)}function ot(t){X.push(t)}let rt=!1;const st=new Set;function lt(){if(!rt){rt=!0;do{for(let t=0;t<Y.length;t+=1){const e=Y[t];G(e),it(e.$$)}for(G(null),Y.length=0;K.length;)K.pop()();for(let t=0;t<Q.length;t+=1){const e=Q[t];st.has(e)||(st.add(e),e())}Q.length=0}while(Y.length);for(;X.length;)X.pop()();et=!1,rt=!1,st.clear()}}function it(t){if(null!==t.fragment){t.update(),_(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(nt)}}const at=new Set;let ct;function dt(){ct={r:0,c:[],p:ct}}function ut(){ct.r||_(ct.c),ct=ct.p}function mt(t,e){t&&t.i&&(at.delete(t),t.i(e))}function ft(t,e,n,o){if(t&&t.o){if(at.has(t))return;at.add(t),ct&&ct.c.push((()=>{at.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}function gt(t,e){const n=e.token={};function o(t,o,r,s){if(e.token!==n)return;e.resolved=s;let l=e.ctx;void 0!==r&&(l=l.slice(),l[r]=s);const i=t&&(e.current=t)(l);let a=!1;e.block&&(e.blocks?e.blocks.forEach(((t,n)=>{n!==o&&t&&(dt(),ft(t,1,1,(()=>{e.blocks[n]===t&&(e.blocks[n]=null)})),ut())})):e.block.d(1),i.c(),mt(i,1),i.m(e.mount(),e.anchor),a=!0),e.block=i,e.blocks&&(e.blocks[o]=i),a&<()}if((r=t)&&"object"==typeof r&&"function"==typeof r.then){const n=J();if(t.then((t=>{G(n),o(e.then,1,e.value,t),G(null)}),(t=>{if(G(n),o(e.catch,2,e.error,t),G(null),!e.hasCatch)throw t})),e.current!==e.pending)return o(e.pending,0),!0}else{if(e.current!==e.then)return o(e.then,1,e.value,t),!0;e.resolved=t}var r}function pt(t,e,n){const o=e.slice(),{resolved:r}=t;t.current===t.then&&(o[t.value]=r),t.current===t.catch&&(o[t.error]=r),t.block.p(o,n)}const $t="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function vt(t,e){ft(t,1,1,(()=>{e.delete(t.key)}))}function ht(t,e,n,o,r,s,l,i,a,c,d,u){let m=t.length,f=s.length,g=m;const p={};for(;g--;)p[t[g].key]=g;const $=[],v=new Map,h=new Map;for(g=f;g--;){const t=u(r,s,g),i=n(t);let a=l.get(i);a?o&&a.p(t,e):(a=c(i,t),a.c()),v.set(i,$[g]=a),i in p&&h.set(i,Math.abs(g-p[i]))}const x=new Set,w=new Set;function b(t){mt(t,1),t.m(i,d),l.set(t.key,t),d=t.first,f--}for(;m&&f;){const e=$[f-1],n=t[m-1],o=e.key,r=n.key;e===n?(d=e.first,m--,f--):v.has(r)?!l.has(o)||x.has(o)?b(e):w.has(r)?m--:h.get(o)>h.get(r)?(w.add(o),b(e)):(x.add(r),m--):(a(n,l),m--)}for(;m--;){const e=t[m];v.has(e.key)||a(e,l)}for(;f;)b($[f-1]);return $}function xt(t,e,n){const o=t.$$.props[e];void 0!==o&&(t.$$.bound[o]=n,n(t.$$.ctx[o]))}function wt(t){t&&t.c()}function bt(t,e,n,o){const{fragment:r,on_mount:s,on_destroy:l,after_update:i}=t.$$;r&&r.m(e,n),o||nt((()=>{const e=s.map(k).filter(D);l?l.push(...e):_(e),t.$$.on_mount=[]})),i.forEach(nt)}function kt(t,e){const n=t.$$;null!==n.fragment&&(_(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function yt(t,e){-1===t.$$.dirty[0]&&(Y.push(t),et||(et=!0,tt.then(lt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function _t(t,e,n,o,r,s,l=[-1]){const i=V;G(t);const a=t.$$={fragment:null,ctx:null,props:s,update:b,not_equal:r,bound:y(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(i?i.$$.context:e.context||[]),callbacks:y(),dirty:l,skip_bound:!1};let c=!1;if(a.ctx=n?n(t,e.props||{},((e,n,...o)=>{const s=o.length?o[0]:n;return a.ctx&&r(a.ctx[e],a.ctx[e]=s)&&(!a.skip_bound&&a.bound[e]&&a.bound[e](s),c&&yt(t,e)),n})):[],a.update(),c=!0,_(a.before_update),a.fragment=!!o&&o(a.ctx),e.target){if(e.hydrate){const t=function(t){return Array.from(t.childNodes)}(e.target);a.fragment&&a.fragment.l(t),t.forEach(O)}else a.fragment&&a.fragment.c();e.intro&&mt(t.$$.fragment),bt(t,e.target,e.anchor,e.customElement),lt()}G(i)}class Dt{$destroy(){kt(this,1),this.$destroy=b}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function Ct(t){let e,n,o,r;return{c(){e=A("svg"),n=A("line"),o=A("polyline"),j(n,"x1","19"),j(n,"y1","12"),j(n,"x2","5"),j(n,"y2","12"),j(o,"points","12 19 5 12 12 5"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",r="feather feather-arrow-left "+t[2])},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&r!==(r="feather feather-arrow-left "+t[2])&&j(e,"class",r)},i:b,o:b,d(t){t&&O(e)}}}function Et(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class zt extends Dt{constructor(t){super(),_t(this,t,Et,Ct,C,{size:0,strokeWidth:1,class:2})}}function Tt(t){let e,n,o,r;return{c(){e=A("svg"),n=A("polyline"),o=A("path"),j(n,"points","9 11 12 14 22 4"),j(o,"d","M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",r="feather feather-check-square "+t[2])},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&r!==(r="feather feather-check-square "+t[2])&&j(e,"class",r)},i:b,o:b,d(t){t&&O(e)}}}function It(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Ot extends Dt{constructor(t){super(),_t(this,t,It,Tt,C,{size:0,strokeWidth:1,class:2})}}function Ft(t){let e,n,o;return{c(){e=A("svg"),n=A("polyline"),j(n,"points","6 9 12 15 18 9"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-chevron-down "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-chevron-down "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function St(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class At extends Dt{constructor(t){super(),_t(this,t,St,Ft,C,{size:0,strokeWidth:1,class:2})}}function Pt(t){let e,n,o,r,s;return{c(){e=A("svg"),n=A("path"),o=A("polyline"),r=A("line"),j(n,"d","M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"),j(o,"points","7 10 12 15 17 10"),j(r,"x1","12"),j(r,"y1","15"),j(r,"x2","12"),j(r,"y2","3"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",s="feather feather-download "+t[2])},m(t,s){I(t,e,s),T(e,n),T(e,o),T(e,r)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&s!==(s="feather feather-download "+t[2])&&j(e,"class",s)},i:b,o:b,d(t){t&&O(e)}}}function Nt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Wt extends Dt{constructor(t){super(),_t(this,t,Nt,Pt,C,{size:0,strokeWidth:1,class:2})}}function Mt(t){let e,n,o,r,s,l;return{c(){e=A("svg"),n=A("rect"),o=A("rect"),r=A("rect"),s=A("rect"),j(n,"x","3"),j(n,"y","3"),j(n,"width","7"),j(n,"height","7"),j(o,"x","14"),j(o,"y","3"),j(o,"width","7"),j(o,"height","7"),j(r,"x","14"),j(r,"y","14"),j(r,"width","7"),j(r,"height","7"),j(s,"x","3"),j(s,"y","14"),j(s,"width","7"),j(s,"height","7"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",l="feather feather-grid "+t[2])},m(t,l){I(t,e,l),T(e,n),T(e,o),T(e,r),T(e,s)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&l!==(l="feather feather-grid "+t[2])&&j(e,"class",l)},i:b,o:b,d(t){t&&O(e)}}}function Lt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class jt extends Dt{constructor(t){super(),_t(this,t,Lt,Mt,C,{size:0,strokeWidth:1,class:2})}}function Bt(t){let e,n,o,r,s,l,i,a;return{c(){e=A("svg"),n=A("line"),o=A("line"),r=A("line"),s=A("line"),l=A("line"),i=A("line"),j(n,"x1","8"),j(n,"y1","6"),j(n,"x2","21"),j(n,"y2","6"),j(o,"x1","8"),j(o,"y1","12"),j(o,"x2","21"),j(o,"y2","12"),j(r,"x1","8"),j(r,"y1","18"),j(r,"x2","21"),j(r,"y2","18"),j(s,"x1","3"),j(s,"y1","6"),j(s,"x2","3.01"),j(s,"y2","6"),j(l,"x1","3"),j(l,"y1","12"),j(l,"x2","3.01"),j(l,"y2","12"),j(i,"x1","3"),j(i,"y1","18"),j(i,"x2","3.01"),j(i,"y2","18"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",a="feather feather-list "+t[2])},m(t,a){I(t,e,a),T(e,n),T(e,o),T(e,r),T(e,s),T(e,l),T(e,i)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&a!==(a="feather feather-list "+t[2])&&j(e,"class",a)},i:b,o:b,d(t){t&&O(e)}}}function qt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Ut extends Dt{constructor(t){super(),_t(this,t,qt,Bt,C,{size:0,strokeWidth:1,class:2})}}function Ht(t){let e,n,o;return{c(){e=A("svg"),n=A("path"),j(n,"d","M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-maximize "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-maximize "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function Rt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Vt extends Dt{constructor(t){super(),_t(this,t,Rt,Ht,C,{size:0,strokeWidth:1,class:2})}}function Gt(t){let e,n,o;return{c(){e=A("svg"),n=A("path"),j(n,"d","M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-message-circle "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-message-circle "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function Jt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Zt extends Dt{constructor(t){super(),_t(this,t,Jt,Gt,C,{size:0,strokeWidth:1,class:2})}}function Yt(t){let e,n,o;return{c(){e=A("svg"),n=A("path"),j(n,"d","M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-minimize "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-minimize "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function Kt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Qt extends Dt{constructor(t){super(),_t(this,t,Kt,Yt,C,{size:0,strokeWidth:1,class:2})}}function Xt(t){let e,n,o,r;return{c(){e=A("svg"),n=A("line"),o=A("line"),j(n,"x1","12"),j(n,"y1","5"),j(n,"x2","12"),j(n,"y2","19"),j(o,"x1","5"),j(o,"y1","12"),j(o,"x2","19"),j(o,"y2","12"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",r="feather feather-plus "+t[2])},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&r!==(r="feather feather-plus "+t[2])&&j(e,"class",r)},i:b,o:b,d(t){t&&O(e)}}}function te(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class ee extends Dt{constructor(t){super(),_t(this,t,te,Xt,C,{size:0,strokeWidth:1,class:2})}}function ne(t){let e,n,o;return{c(){e=A("svg"),n=A("path"),j(n,"d","M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-triangle "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-triangle "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function oe(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class re extends Dt{constructor(t){super(),_t(this,t,oe,ne,C,{size:0,strokeWidth:1,class:2})}}function se(t){let e,n,o,r;return{c(){e=A("svg"),n=A("line"),o=A("line"),j(n,"x1","18"),j(n,"y1","6"),j(n,"x2","6"),j(n,"y2","18"),j(o,"x1","6"),j(o,"y1","6"),j(o,"x2","18"),j(o,"y2","18"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",r="feather feather-x "+t[2])},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&r!==(r="feather feather-x "+t[2])&&j(e,"class",r)},i:b,o:b,d(t){t&&O(e)}}}function le(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class ie extends Dt{constructor(t){super(),_t(this,t,le,se,C,{size:0,strokeWidth:1,class:2})}}const ae=(t,e)=>{const n={...e};return(t.display?.reduce(((e,o)=>{let[r,s]=o.split(".");if(t.list?.find((({name:t})=>t===r))&&s&&void 0!==n[r]){const t=`${r}_${s}`;n[t]=n[r][s],r=t}return e.find((t=>t===r))||e.push(r),e}),[]).map((t=>{return"string"!=typeof(e=n["_"+t]||n[t])||e.length<20||!(o=e.split(" · "))?e:o.map((t=>2===t.split("T").length&&3===t.split("T")[0].split("-").length?new Date(t).toLocaleDateString():t)).filter((t=>!!t)).join(" · ");var e,o}))||t.items.map((t=>"object"===t.type?e["_"+t.name]:"list"===t.type?"":e[t.name]))).map((t=>t?.split(" · ").filter((t=>!!t)).join(" · "))).filter((t=>!!t)).join(" • ")};function ce(t){let e,n,o,r;return{c(){e=A("svg"),n=A("circle"),o=A("circle"),r=A("path"),j(n,"cx","165"),j(n,"cy","30"),j(n,"r","24"),j(n,"stroke","currentColor"),j(n,"stroke-width","12"),j(o,"cx","30"),j(o,"cy","30"),j(o,"r","24"),j(o,"stroke","currentColor"),j(o,"stroke-width","12"),j(r,"d","M129.828 32.8284C131.391 31.2663 131.391 28.7337 129.828 27.1716L104.373 1.71573C102.81 0.153633 100.278 0.153633 98.7157 1.71573C97.1536 3.27783 97.1536 5.81049 98.7157 7.37258L121.343 30L98.7157 52.6274C97.1536 54.1895 97.1536 56.7222 98.7157 58.2843C100.278 59.8464 102.81 59.8464 104.373 58.2843L129.828 32.8284ZM60 34L127 34V26L60 26V34Z"),j(r,"fill","currentColor"),j(e,"width","20"),j(e,"height","20"),j(e,"viewBox","0 0 195 60"),j(e,"fill","none"),j(e,"xmlns","http://www.w3.org/2000/svg")},m(t,s){I(t,e,s),T(e,n),T(e,o),T(e,r)},p:b,i:b,o:b,d(t){t&&O(e)}}}class de extends Dt{constructor(t){super(),_t(this,t,null,ce,C,{})}}function ue(t){let e,n,o;var r=t[3];return r&&(e=new r({props:{size:"20"}})),{c(){e&&wt(e.$$.fragment),n=W()},m(t,r){e&&bt(e,t,r),I(t,n,r),o=!0},p(t,o){if(r!==(r=t[3])){if(e){dt();const t=e;ft(t.$$.fragment,1,0,(()=>{kt(t,1)})),ut()}r?(e=new r({props:{size:"20"}}),wt(e.$$.fragment),mt(e.$$.fragment,1),bt(e,n.parentNode,n)):e=null}},i(t){o||(e&&mt(e.$$.fragment,t),o=!0)},o(t){e&&ft(e.$$.fragment,t),o=!1},d(t){t&&O(n),e&&kt(e,t)}}}function me(t){let e,n;return e=new t[5]({props:{class:"btnChip",small:!0,noPadding:!0,$$slots:{default:[fe]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};144&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function fe(t){let e;return{c(){e=P(t[4])},m(t,n){I(t,e,n)},p(t,n){16&n&&q(e,t[4])},d(t){t&&O(e)}}}function ge(t){let e,n,o,r,s,l=t[3]&&ue(t),i=t[4]&&me(t);return{c(){e=S("button"),l&&l.c(),n=N(),i&&i.c(),j(e,"title",t[0]),j(e,"class","action-btns svelte-1eqq678"),R(e,"btn-workflow",t[1]),R(e,"btn-highlight",t[2])},m(a,c){I(a,e,c),l&&l.m(e,null),T(e,n),i&&i.m(e,null),o=!0,r||(s=M(e,"click",L(t[6])),r=!0)},p(t,[r]){t[3]?l?(l.p(t,r),8&r&&mt(l,1)):(l=ue(t),l.c(),mt(l,1),l.m(e,n)):l&&(dt(),ft(l,1,1,(()=>{l=null})),ut()),t[4]?i?(i.p(t,r),16&r&&mt(i,1)):(i=me(t),i.c(),mt(i,1),i.m(e,null)):i&&(dt(),ft(i,1,1,(()=>{i=null})),ut()),(!o||1&r)&&j(e,"title",t[0]),2&r&&R(e,"btn-workflow",t[1]),4&r&&R(e,"btn-highlight",t[2])},i(t){o||(mt(l),mt(i),o=!0)},o(t){ft(l),ft(i),o=!1},d(t){t&&O(e),l&&l.d(),i&&i.d(),r=!1,s()}}}function pe(t,n,o){const{Chip:r}=e;let{title:s=""}=n,{btnWorkflow:l=!1}=n,{btnHighlight:i=!1}=n,{iconComponent:a}=n,{chipContent:c=!1}=n;return t.$$set=t=>{"title"in t&&o(0,s=t.title),"btnWorkflow"in t&&o(1,l=t.btnWorkflow),"btnHighlight"in t&&o(2,i=t.btnHighlight),"iconComponent"in t&&o(3,a=t.iconComponent),"chipContent"in t&&o(4,c=t.chipContent)},[s,l,i,a,c,r,function(e){!function(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach((t=>t(e)))}(t,e)}]}class $e extends Dt{constructor(t){var e;super(),document.getElementById("svelte-1eqq678-style")||((e=S("style")).id="svelte-1eqq678-style",e.textContent=".action-btns.svelte-1eqq678{align-items:center;cursor:pointer;display:flex;font-weight:500;outline:none;background:none;border-radius:1.5625em;font-size:1rem;padding:0.5em 0.8em;border:1px solid #326173;color:#326173;position:relative}.action-btns.svelte-1eqq678 .btnChip{position:absolute;padding:0.2em !important;min-width:1.2em !important;background-color:white !important;font-style:italic;border:1px solid black;color:#111212 !important;font-weight:800 !important;font-size:0.8em !important;transform:translate(18px, -10px)}.action-btns.svelte-1eqq678:hover,.action-btns.svelte-1eqq678:focus{background:rgba(50, 97, 115, 0.05)}.btn-workflow.svelte-1eqq678{background-color:#dfaff9}.btn-workflow.svelte-1eqq678:hover{background-color:hsl(279deg, 100%, 83%)}.btn-highlight.svelte-1eqq678{background-color:#afeeee}.btn-highlight.svelte-1eqq678:hover{background-color:hsl(180deg, 100%, 80%)}",T(document.head,e)),_t(this,t,pe,ge,C,{title:0,btnWorkflow:1,btnHighlight:2,iconComponent:3,chipContent:4})}}function ve(t){let e;return{c(){e=P(t[2])},m(t,n){I(t,e,n)},p(t,n){4&n&&q(e,t[2])},d(t){t&&O(e)}}}function he(t){let e,n=t[0].priority+"";return{c(){e=P(n)},m(t,n){I(t,e,n)},p(t,o){1&o&&n!==(n=t[0].priority+"")&&q(e,n)},d(t){t&&O(e)}}}function xe(t){let e,n,o,r,s,l,i,a=t[0].event.approval&&be(t);return n=new $e({props:{title:t[3].title,btnWorkflow:1===t[3].numberOfFollowers,btnHighlight:t[3].numberOfFollowers>1,iconComponent:de,chipContent:t[3].numberOfFollowers}}),n.$on("click",t[11]),r=new $e({props:{title:"Unterhaltung",btnHighlight:t[0].chat,iconComponent:Zt,chipContent:t[0].chat}}),r.$on("click",t[12]),l=new $e({props:{title:"Dokumente",btnHighlight:t[0].report,iconComponent:Wt,chipContent:t[0].report}}),l.$on("click",t[13]),{c(){a&&a.c(),e=N(),wt(n.$$.fragment),o=N(),wt(r.$$.fragment),s=N(),wt(l.$$.fragment)},m(t,c){a&&a.m(t,c),I(t,e,c),bt(n,t,c),I(t,o,c),bt(r,t,c),I(t,s,c),bt(l,t,c),i=!0},p(t,n){t[0].event.approval?a?(a.p(t,n),1&n&&mt(a,1)):(a=be(t),a.c(),mt(a,1),a.m(e.parentNode,e)):a&&(dt(),ft(a,1,1,(()=>{a=null})),ut());const o={};1&n&&(o.btnHighlight=t[0].chat),1&n&&(o.chipContent=t[0].chat),r.$set(o);const s={};1&n&&(s.btnHighlight=t[0].report),1&n&&(s.chipContent=t[0].report),l.$set(s)},i(t){i||(mt(a),mt(n.$$.fragment,t),mt(r.$$.fragment,t),mt(l.$$.fragment,t),i=!0)},o(t){ft(a),ft(n.$$.fragment,t),ft(r.$$.fragment,t),ft(l.$$.fragment,t),i=!1},d(t){a&&a.d(t),t&&O(e),kt(n,t),t&&O(o),kt(r,t),t&&O(s),kt(l,t)}}}function we(t){let e,n,o,r;return e=new $e({props:{title:"Neuer Task",iconComponent:ee}}),e.$on("click",t[8]),o=new $e({props:{title:"Liste der Tasks",iconComponent:Ut}}),o.$on("click",t[9]),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function be(t){let e,n;return e=new $e({props:{title:"Visum",btnHighlight:!t[0].approval,iconComponent:Ot}}),e.$on("click",t[10]),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.btnHighlight=!t[0].approval),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function ke(t){let e,n,o,r,s,l,i,a,c,d,u,m,f,g,p,$,v,h,x,w,b,k,y,_,D,C,E=ye(t[0])+"",F=t[0].event.domain+"",A=t[0].dueDate&&new Date(t[0].dueDate).getFullYear()<3e3,W=A&&ve(t),B=t[0].priority<4&&he(t);const U=[we,xe],H=[];function R(t,e){return null===t[0].data?0:1}return b=R(t),k=H[b]=U[b](t),{c(){e=S("tr"),n=S("td"),r=N(),s=S("td"),l=S("h4"),i=P(E),a=N(),c=S("td"),d=P(F),u=N(),m=S("td"),f=S("div"),W&&W.c(),g=N(),p=S("div"),$=N(),v=S("td"),B&&B.c(),h=N(),x=S("td"),w=S("div"),k.c(),j(n,"class",o="domain domain_"+t[1].indexOf(t[0].event.domain)+" svelte-1ua34uw"),j(l,"class","task_name svelte-1ua34uw"),j(s,"title",t[7]()),j(s,"class","svelte-1ua34uw"),j(c,"class","svelte-1ua34uw"),j(f,"class","display-full svelte-1ua34uw"),j(m,"class","svelte-1ua34uw"),j(v,"class","txt-center svelte-1ua34uw"),j(w,"class","action-column--container display-full svelte-1ua34uw"),j(x,"class","action-column svelte-1ua34uw"),j(e,"class",y=z(null===t[0].data?"empty lined":"lined")+" svelte-1ua34uw")},m(o,k){I(o,e,k),T(e,n),T(e,r),T(e,s),T(s,l),T(l,i),T(e,a),T(e,c),T(c,d),T(e,u),T(e,m),T(m,f),W&&W.m(f,null),T(f,g),T(f,p),T(e,$),T(e,v),B&&B.m(v,null),T(e,h),T(e,x),T(x,w),H[b].m(w,null),_=!0,D||(C=M(e,"click",L(t[14])),D=!0)},p(t,[r]){(!_||3&r&&o!==(o="domain domain_"+t[1].indexOf(t[0].event.domain)+" svelte-1ua34uw"))&&j(n,"class",o),(!_||1&r)&&E!==(E=ye(t[0])+"")&&q(i,E),(!_||1&r)&&F!==(F=t[0].event.domain+"")&&q(d,F),1&r&&(A=t[0].dueDate&&new Date(t[0].dueDate).getFullYear()<3e3),A?W?W.p(t,r):(W=ve(t),W.c(),W.m(f,g)):W&&(W.d(1),W=null),t[0].priority<4?B?B.p(t,r):(B=he(t),B.c(),B.m(v,null)):B&&(B.d(1),B=null);let s=b;b=R(t),b===s?H[b].p(t,r):(dt(),ft(H[s],1,1,(()=>{H[s]=null})),ut(),k=H[b],k?k.p(t,r):(k=H[b]=U[b](t),k.c()),mt(k,1),k.m(w,null)),(!_||1&r&&y!==(y=z(null===t[0].data?"empty lined":"lined")+" svelte-1ua34uw"))&&j(e,"class",y)},i(t){_||(mt(k),_=!0)},o(t){ft(k),_=!1},d(t){t&&O(e),W&&W.d(),B&&B.d(),H[b].d(),D=!1,C()}}}const ye=t=>t.data?.item?ae(t.schema,t.data.item):t.event?.title;function _e(t,e,n){let o;const l=Z();let{task:i}=e,{domains:a}=e;const c={title:1===i.workflow?.numberOfFollowers?i.workflow.designation:"Nachfolge Tasks",numberOfFollowers:i.workflow?i.workflow.numberOfFollowers:0};function d(t,e){l("rowClicked",{task:t,tab:e})}function u(t){d(t,1===c.numberOfFollowers?`task/${t.workflow.id}`:"workflow")}async function m(t){const e=await r.getTasksList(t);let n=e.data;const o=e.schema,s=o.identity.designation,a=o.class;let c=[],d=o.display;d&&d.length?d.map((t=>{const[e,r]=t.split(".");let s=o.list?.find((t=>t.name===e))?.item.find((t=>t.name===r));s&&(s={...s},s.name=`${e}_${r}`,n=n.map((t=>(t[e]&&(t[s.name]=t[e][r]),t)))),s||(s=o.items.find((t=>t.name===e))),c.find((t=>t?.name===e))||c.push(s)})):c=o.items,l("viewTaskList",{task:i,list:n,className:a,items:c,title:s})}const f={weekday:"short",year:"numeric",month:"short",day:"numeric"};return t.$$set=t=>{"task"in t&&n(0,i=t.task),"domains"in t&&n(1,a=t.domains)},t.$$.update=()=>{1&t.$$.dirty&&n(2,o=function(t){const e=new Date(t),n=JSON.parse(s.getItem("Locale"));return e.toLocaleDateString(n.id,f)}(i?.dueDate))},[i,a,o,c,d,u,m,()=>i.data?i.event.title:"",()=>d(i,"task"),()=>m(i.event.id),()=>d(i,"visum"),()=>u(i),()=>d(i,"collab"),()=>d(i,"report"),()=>d(i,"task")]}class De extends Dt{constructor(t){var e;super(),document.getElementById("svelte-1ua34uw-style")||((e=S("style")).id="svelte-1ua34uw-style",e.textContent="td.svelte-1ua34uw.svelte-1ua34uw{padding:0 0.5em 0 1em;border-bottom:1px solid #ccc;vertical-align:middle}tr.svelte-1ua34uw.svelte-1ua34uw:hover{cursor:zoom-in}.lined.svelte-1ua34uw.svelte-1ua34uw:nth-child(2n){background-color:#eee}.lined.svelte-1ua34uw.svelte-1ua34uw:nth-child(2n+1){background-color:#f7f7f7}.lined.svelte-1ua34uw.svelte-1ua34uw:hover{background-color:#ddd}.empty.svelte-1ua34uw.svelte-1ua34uw{background-color:#f7f7f7;font-style:italic}.task_name.svelte-1ua34uw.svelte-1ua34uw{display:inline-flex}.display-full.svelte-1ua34uw.svelte-1ua34uw{width:max-content}.action-column.svelte-1ua34uw .action-column--container.svelte-1ua34uw{display:flex;flex-flow:row wrap;gap:0.4em}.domain.svelte-1ua34uw.svelte-1ua34uw{width:1em;padding:0 !important}.domain_0.svelte-1ua34uw.svelte-1ua34uw{background-color:#A9C0CE}.domain_1.svelte-1ua34uw.svelte-1ua34uw{background-color:#7E7F80}.domain_2.svelte-1ua34uw.svelte-1ua34uw{background-color:#55C1D9}.domain_3.svelte-1ua34uw.svelte-1ua34uw{background-color:#66A649}.domain_4.svelte-1ua34uw.svelte-1ua34uw{background-color:#F2CF63}.domain_5.svelte-1ua34uw.svelte-1ua34uw{background-color:#BF5A50}.txt-center.svelte-1ua34uw.svelte-1ua34uw{text-align:center}",T(document.head,e)),_t(this,t,_e,ke,C,{task:0,domains:1})}}function Ce(t){let e,n,o,r,s,l=t[4](t[0])+"";return{c(){e=S("div"),o=N(),r=S("div"),s=P(l),j(e,"class",n="domain_card domain_card_"+t[1].indexOf(t[0].event.domain)+" svelte-4fixfb"),j(r,"title",t[3]()),j(r,"class","task_name svelte-4fixfb")},m(t,n){I(t,e,n),I(t,o,n),I(t,r,n),T(r,s)},p(t,o){3&o&&n!==(n="domain_card domain_card_"+t[1].indexOf(t[0].event.domain)+" svelte-4fixfb")&&j(e,"class",n),1&o&&l!==(l=t[4](t[0])+"")&&q(s,l)},d(t){t&&O(e),t&&O(o),t&&O(r)}}}function Ee(t){let e,n,o,r,s;return n=new t[2]({props:{class:"lined taskCard",$$slots:{default:[Ce]},$$scope:{ctx:t}}}),{c(){e=S("div"),wt(n.$$.fragment),j(e,"class","click_div svelte-4fixfb")},m(l,i){I(l,e,i),bt(n,e,null),o=!0,r||(s=M(e,"click",t[5]),r=!0)},p(t,[e]){const o={};67&e&&(o.$$scope={dirty:e,ctx:t}),n.$set(o)},i(t){o||(mt(n.$$.fragment,t),o=!0)},o(t){ft(n.$$.fragment,t),o=!1},d(t){t&&O(e),kt(n),r=!1,s()}}}function ze(t,n,o){let{task:r}=n,{domains:s}=n;const{Card:l}=e;return t.$$set=t=>{"task"in t&&o(0,r=t.task),"domains"in t&&o(1,s=t.domains)},[r,s,l,()=>r.data?r.event.title:"",()=>{const t=ye(r);return t.length<57?t:t.slice(0,57)+"..."},()=>function(t){window.singleSpaNavigate(`/task/${t.event.id}/${t.id}/task`)}(r)]}class Te extends Dt{constructor(t){var e;super(),document.getElementById("svelte-4fixfb-style")||((e=S("style")).id="svelte-4fixfb-style",e.textContent=".task_name.svelte-4fixfb{font-weight:bold;text-align:center;margin:auto;word-wrap:break-word;max-width:100%}.click_div.svelte-4fixfb{align-content:space-between;justify-content:center;display:inline-flex;cursor:pointer;height:fit-content;width:fit-content}.taskCard{width:10em;height:8em;margin:1em;display:flex;position:relative}.domain_card.svelte-4fixfb{position:absolute;top:0;left:0;height:2.3em;width:13em}.domain_card_0.svelte-4fixfb{background-color:#A9C0CE}.domain_card_1.svelte-4fixfb{background-color:#7E7F80}.domain_card_2.svelte-4fixfb{background-color:#55C1D9}.domain_card_3.svelte-4fixfb{background-color:#66A649}.domain_card_4.svelte-4fixfb{background-color:#F2CF63}.domain_card_5.svelte-4fixfb{background-color:#BF5A50}",T(document.head,e)),_t(this,t,ze,Ee,C,{task:0,domains:1})}}const{Map:Ie,document:Oe}=$t;function Fe(t,e,n){const o=t.slice();return o[75]=e[n],o}function Se(t,e,n){const o=t.slice();return o[75]=e[n],o}function Ae(t,e,n){const o=t.slice();return o[81]=e[n],o}function Pe(t,e,n){const o=t.slice();return o[84]=e[n],o}function Ne(t,e,n){const o=t.slice();return o[87]=e[n],o}function We(t){let e,n;return e=new Qt({props:{size:"24"}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Me(t){let e,n;return e=new Vt({props:{size:"24"}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Le(t){let e,n,o,r;const s=[Me,We],l=[];function i(t,e){return t[11]?1:0}return e=i(t),n=l[e]=s[e](t),{c(){n.c(),o=W()},m(t,n){l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut(),n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o))},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){l[e].d(t),t&&O(o)}}}function je(t){let e,n;return e=new t[24]({props:{$$slots:{default:[He,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};1&n[0]|268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Be(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Domain\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[44]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function qe(t){let e,n,o,r,s,l,i,a,c,d,u,m=t[87]+"";return{c(){e=S("input"),r=N(),s=S("label"),l=P(m),i=N(),j(e,"class",n="checkbox-tools domain-border--"+t[0].indexOf(t[87])+" svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].DOMAIN),j(e,"id",o=t[87]),j(s,"class",a="for-checkbox-tools domain-border domain-border--"+t[0].indexOf(t[87])+" svelte-8gvx0m"),j(s,"for",c=t[87])},m(n,o){I(n,e,o),I(n,r,o),I(n,s,o),T(s,l),T(s,i),d||(u=M(e,"change",t[37]),d=!0)},p(t,r){1&r[0]&&n!==(n="checkbox-tools domain-border--"+t[0].indexOf(t[87])+" svelte-8gvx0m")&&j(e,"class",n),1&r[0]&&o!==(o=t[87])&&j(e,"id",o),1&r[0]&&m!==(m=t[87]+"")&&q(l,m),1&r[0]&&a!==(a="for-checkbox-tools domain-border domain-border--"+t[0].indexOf(t[87])+" svelte-8gvx0m")&&j(s,"class",a),1&r[0]&&c!==(c=t[87])&&j(s,"for",c)},d(t){t&&O(e),t&&O(r),t&&O(s),d=!1,u()}}}function Ue(t){let e,n=t[0],o=[];for(let e=0;e<n.length;e+=1)o[e]=qe(Ne(t,n,e));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=W()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);I(t,e,n)},p(t,r){if(134217729&r[0]|64&r[1]){let s;for(n=t[0],s=0;s<n.length;s+=1){const l=Ne(t,n,s);o[s]?o[s].p(l,r):(o[s]=qe(l),o[s].c(),o[s].m(e.parentNode,e))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}},d(t){F(o,t),t&&O(e)}}}function He(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].DOMAIN,$$slots:{default:[Be]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[Ue]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};1&r[0]|268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Re(t){let e,n;return e=new t[24]({props:{$$slots:{default:[Ze,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};2&n[0]|268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Ve(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Ereignis\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[45]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function Ge(t){let e,n,o,r,s,l,i,a,c,d,u,m=t[84]+"";return{c(){e=S("input"),r=N(),s=S("label"),l=P(m),i=N(),j(e,"class",n="checkbox-tools domain-border--"+t[1].indexOf(t[84])+" svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].EVENT),j(e,"id",o=t[84]),j(s,"class",a="for-checkbox-tools domain-border domain-border--"+t[1].indexOf(t[84])+" svelte-8gvx0m"),j(s,"for",c=t[84])},m(n,o){I(n,e,o),I(n,r,o),I(n,s,o),T(s,l),T(s,i),d||(u=M(e,"change",t[37]),d=!0)},p(t,r){2&r[0]&&n!==(n="checkbox-tools domain-border--"+t[1].indexOf(t[84])+" svelte-8gvx0m")&&j(e,"class",n),2&r[0]&&o!==(o=t[84])&&j(e,"id",o),2&r[0]&&m!==(m=t[84]+"")&&q(l,m),2&r[0]&&a!==(a="for-checkbox-tools domain-border domain-border--"+t[1].indexOf(t[84])+" svelte-8gvx0m")&&j(s,"class",a),2&r[0]&&c!==(c=t[84])&&j(s,"for",c)},d(t){t&&O(e),t&&O(r),t&&O(s),d=!1,u()}}}function Je(t){let e,n=t[1],o=[];for(let e=0;e<n.length;e+=1)o[e]=Ge(Pe(t,n,e));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=W()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);I(t,e,n)},p(t,r){if(134217730&r[0]|64&r[1]){let s;for(n=t[1],s=0;s<n.length;s+=1){const l=Pe(t,n,s);o[s]?o[s].p(l,r):(o[s]=Ge(l),o[s].c(),o[s].m(e.parentNode,e))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}},d(t){F(o,t),t&&O(e)}}}function Ze(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].EVENT,$$slots:{default:[Ve]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[Je]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};2&r[0]|268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Ye(t){let e,n;return e=new t[24]({props:{$$slots:{default:[nn,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Ke(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Status\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[46]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function Qe(t){let e,n,o,r,s;return{c(){e=S("input"),n=N(),o=S("label"),o.textContent="Vorlage\n ",j(e,"class","checkbox-tools svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].STATUS),j(e,"id","vorlage"),j(o,"class","for-checkbox-tools svelte-8gvx0m"),j(o,"for","vorlage")},m(l,i){I(l,e,i),I(l,n,i),I(l,o,i),r||(s=M(e,"change",t[37]),r=!0)},p:b,d(t){t&&O(e),t&&O(n),t&&O(o),r=!1,s()}}}function Xe(t){let e,n,o,r,s,l,i,a=t[81]+"";return{c(){e=S("input"),n=N(),o=S("label"),r=P(a),s=N(),j(e,"class","checkbox-tools svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].STATUS),j(e,"id",t[81]),j(o,"class","for-checkbox-tools svelte-8gvx0m"),j(o,"for",t[81])},m(a,c){I(a,e,c),I(a,n,c),I(a,o,c),T(o,r),T(o,s),l||(i=M(e,"change",t[37]),l=!0)},p:b,d(t){t&&O(e),t&&O(n),t&&O(o),l=!1,i()}}}function tn(t){let e;let n=function(t,e){return t[81]?Xe:Qe}(t),o=n(t);return{c(){o.c(),e=W()},m(t,n){o.m(t,n),I(t,e,n)},p(t,e){o.p(t,e)},d(t){o.d(t),t&&O(e)}}}function en(t){let e,n=t[28].size>0&&function(t){let e,n=[...t[28]],o=[];for(let e=0;e<n.length;e+=1)o[e]=tn(Ae(t,n,e));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=W()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);I(t,e,n)},p(t,r){if(402653184&r[0]|64&r[1]){let s;for(n=[...t[28]],s=0;s<n.length;s+=1){const l=Ae(t,n,s);o[s]?o[s].p(l,r):(o[s]=tn(l),o[s].c(),o[s].m(e.parentNode,e))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}},d(t){F(o,t),t&&O(e)}}}(t);return{c(){n&&n.c(),e=W()},m(t,o){n&&n.m(t,o),I(t,e,o)},p(t,e){t[28].size>0&&n.p(t,e)},d(t){n&&n.d(t),t&&O(e)}}}function nn(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].STATUS,$$slots:{default:[Ke]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[en]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function on(t){let e,n;return e=new t[24]({props:{$$slots:{default:[ln,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function rn(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Prio\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[47]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function sn(t){let e,n,o,r,s,l,i,a,c,d,u,m,f;return{c(){e=S("input"),n=N(),o=S("label"),o.textContent="1",r=N(),s=S("input"),l=N(),i=S("label"),i.textContent="2",a=N(),c=S("input"),d=N(),u=S("label"),u.textContent="3",j(e,"class","checkbox-tools prio1 svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].PRIO),j(e,"id","1"),j(o,"class","for-checkbox-tools prio prio1 svelte-8gvx0m"),j(o,"for","1"),j(s,"class","checkbox-tools prio2 svelte-8gvx0m"),j(s,"type","checkbox"),j(s,"name",t[27].PRIO),j(s,"id","2"),j(i,"class","for-checkbox-tools prio prio2 svelte-8gvx0m"),j(i,"for","2"),j(c,"class","checkbox-tools prio3 svelte-8gvx0m"),j(c,"type","checkbox"),j(c,"name",t[27].PRIO),j(c,"id","3"),j(u,"class","for-checkbox-tools prio prio3 svelte-8gvx0m"),j(u,"for","3")},m(g,p){I(g,e,p),I(g,n,p),I(g,o,p),I(g,r,p),I(g,s,p),I(g,l,p),I(g,i,p),I(g,a,p),I(g,c,p),I(g,d,p),I(g,u,p),m||(f=[M(e,"change",t[37]),M(s,"change",t[37]),M(c,"change",t[37])],m=!0)},p:b,d(t){t&&O(e),t&&O(n),t&&O(o),t&&O(r),t&&O(s),t&&O(l),t&&O(i),t&&O(a),t&&O(c),t&&O(d),t&&O(u),m=!1,_(f)}}}function ln(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].PRIO,$$slots:{default:[rn]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[sn]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function an(t){let e,n;return e=new t[24]({props:{$$slots:{default:[un,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};8192&n[0]|268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function cn(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Fälligkeit\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[48]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function dn(t){let e,n,o;function r(e){t[49](e)}let s={range:!0,below:!0};return void 0!==t[13]&&(s.value=t[13]),e=new t[26]({props:s}),K.push((()=>xt(e,"value",r))),e.$on("change",t[37]),{c(){wt(e.$$.fragment)},m(t,n){bt(e,t,n),o=!0},p(t,o){const r={};!n&&8192&o[0]&&(n=!0,r.value=t[13],ot((()=>n=!1))),e.$set(r)},i(t){o||(mt(e.$$.fragment,t),o=!0)},o(t){ft(e.$$.fragment,t),o=!1},d(t){kt(e,t)}}}function un(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].DUEDATE,$$slots:{default:[cn]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[dn]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};8192&r[0]|268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function mn(t){let e,n;return e=new t[24]({props:{$$slots:{default:[wn,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};248&n[0]|268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function fn(t){let e,n,o;return e=new ee({props:{size:"24"}}),{c(){wt(e.$$.fragment),n=P("\n Neuer Filter")},m(t,r){bt(e,t,r),I(t,n,r),o=!0},p:b,i(t){o||(mt(e.$$.fragment,t),o=!0)},o(t){ft(e.$$.fragment,t),o=!1},d(t){kt(e,t),t&&O(n)}}}function gn(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Domain",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[50]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function pn(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Ereignis",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[51]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function $n(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Status",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[52]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function vn(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Priorität",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[53]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function hn(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Fäligkeit",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[54]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function xn(t){let e,n,o,r,s,l,i,a,c=!t[5]&&gn(t),d=!t[7]&&pn(t),u=!t[4]&&$n(t),m=!t[3]&&vn(t),f=!t[6]&&hn(t);return{c(){e=S("div"),n=S("div"),n.textContent="Wähle Filtertyp:",o=N(),c&&c.c(),r=N(),d&&d.c(),s=N(),u&&u.c(),l=N(),m&&m.c(),i=N(),f&&f.c(),j(n,"class","dropdown-content--header svelte-8gvx0m"),j(e,"class","dropdown-content svelte-8gvx0m")},m(t,g){I(t,e,g),T(e,n),T(e,o),c&&c.m(e,null),T(e,r),d&&d.m(e,null),T(e,s),u&&u.m(e,null),T(e,l),m&&m.m(e,null),T(e,i),f&&f.m(e,null),a=!0},p(t,n){t[5]?c&&(dt(),ft(c,1,1,(()=>{c=null})),ut()):c?(c.p(t,n),32&n[0]&&mt(c,1)):(c=gn(t),c.c(),mt(c,1),c.m(e,r)),t[7]?d&&(dt(),ft(d,1,1,(()=>{d=null})),ut()):d?(d.p(t,n),128&n[0]&&mt(d,1)):(d=pn(t),d.c(),mt(d,1),d.m(e,s)),t[4]?u&&(dt(),ft(u,1,1,(()=>{u=null})),ut()):u?(u.p(t,n),16&n[0]&&mt(u,1)):(u=$n(t),u.c(),mt(u,1),u.m(e,l)),t[3]?m&&(dt(),ft(m,1,1,(()=>{m=null})),ut()):m?(m.p(t,n),8&n[0]&&mt(m,1)):(m=vn(t),m.c(),mt(m,1),m.m(e,i)),t[6]?f&&(dt(),ft(f,1,1,(()=>{f=null})),ut()):f?(f.p(t,n),64&n[0]&&mt(f,1)):(f=hn(t),f.c(),mt(f,1),f.m(e,null))},i(t){a||(mt(c),mt(d),mt(u),mt(m),mt(f),a=!0)},o(t){ft(c),ft(d),ft(u),ft(m),ft(f),a=!1},d(t){t&&O(e),c&&c.d(),d&&d.d(),u&&u.d(),m&&m.d(),f&&f.d()}}}function wn(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",$$slots:{default:[fn]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{verticalAlignment:"bottom",$$slots:{default:[xn]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};248&r[0]|268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function bn(t){let e,n,o=[],r=new Ie,s=t[12];const l=t=>t[75].id;for(let e=0;e<s.length;e+=1){let n=Fe(t,s,e),i=l(n);r.set(i,o[e]=yn(i,n))}return{c(){e=S("div");for(let t=0;t<o.length;t+=1)o[t].c();j(e,"class","task-list svelte-8gvx0m")},m(t,r){I(t,e,r);for(let t=0;t<o.length;t+=1)o[t].m(e,null);n=!0},p(t,n){4097&n[0]&&(s=t[12],dt(),o=ht(o,n,l,1,t,s,r,e,vt,yn,null,Fe),ut())},i(t){if(!n){for(let t=0;t<s.length;t+=1)mt(o[t]);n=!0}},o(t){for(let t=0;t<o.length;t+=1)ft(o[t]);n=!1},d(t){t&&O(e);for(let t=0;t<o.length;t+=1)o[t].d()}}}function kn(t){let e,n,o,r,s,l,i,a,c,d,u,m,f,g,p,$,v,h,x,w,b,k,y,_=[],D=new Ie;a=new t[20]({props:{name:"sort",class:"sorting",$$slots:{default:[zn]},$$scope:{ctx:t}}}),a.$on("click",t[55]),u=new t[20]({props:{name:"sort",class:" sorting",$$slots:{default:[Sn]},$$scope:{ctx:t}}}),u.$on("click",t[56]),g=new t[20]({props:{name:"sort",class:"sorting",$$slots:{default:[Mn]},$$scope:{ctx:t}}}),g.$on("click",t[57]),v=new t[20]({props:{name:"sort",class:"sorting",$$slots:{default:[Un]},$$scope:{ctx:t}}}),v.$on("click",t[58]),w=new t[20]({props:{name:"sort",class:"sorting",disabled:!0,$$slots:{default:[Hn]},$$scope:{ctx:t}}});let C=t[12];const E=t=>t[75].id;for(let e=0;e<C.length;e+=1){let n=Se(t,C,e),o=E(n);D.set(o,_[e]=Rn(o,n))}return{c(){e=S("div"),n=S("table"),o=S("thead"),r=S("tr"),s=S("th"),l=N(),i=S("th"),wt(a.$$.fragment),c=N(),d=S("th"),wt(u.$$.fragment),m=N(),f=S("th"),wt(g.$$.fragment),p=N(),$=S("th"),wt(v.$$.fragment),h=N(),x=S("th"),wt(w.$$.fragment),b=N(),k=S("tbody");for(let t=0;t<_.length;t+=1)_[t].c();j(r,"class","tabletitle svelte-8gvx0m"),j(n,"class","no_border_spacing tableFixHead svelte-8gvx0m"),j(e,"class","task-list svelte-8gvx0m")},m(t,D){I(t,e,D),T(e,n),T(n,o),T(o,r),T(r,s),T(r,l),T(r,i),bt(a,i,null),T(r,c),T(r,d),bt(u,d,null),T(r,m),T(r,f),bt(g,f,null),T(r,p),T(r,$),bt(v,$,null),T(r,h),T(r,x),bt(w,x,null),T(n,b),T(n,k);for(let t=0;t<_.length;t+=1)_[t].m(k,null);y=!0},p(t,e){const n={};512&e[0]|268435456&e[2]&&(n.$$scope={dirty:e,ctx:t}),a.$set(n);const o={};512&e[0]|268435456&e[2]&&(o.$$scope={dirty:e,ctx:t}),u.$set(o);const r={};512&e[0]|268435456&e[2]&&(r.$$scope={dirty:e,ctx:t}),g.$set(r);const s={};512&e[0]|268435456&e[2]&&(s.$$scope={dirty:e,ctx:t}),v.$set(s);const l={};268435456&e[2]&&(l.$$scope={dirty:e,ctx:t}),w.$set(l),1073745921&e[0]|1&e[1]&&(C=t[12],dt(),_=ht(_,e,E,1,t,C,D,k,vt,Rn,null,Se),ut())},i(t){if(!y){mt(a.$$.fragment,t),mt(u.$$.fragment,t),mt(g.$$.fragment,t),mt(v.$$.fragment,t),mt(w.$$.fragment,t);for(let t=0;t<C.length;t+=1)mt(_[t]);y=!0}},o(t){ft(a.$$.fragment,t),ft(u.$$.fragment,t),ft(g.$$.fragment,t),ft(v.$$.fragment,t),ft(w.$$.fragment,t);for(let t=0;t<_.length;t+=1)ft(_[t]);y=!1},d(t){t&&O(e),kt(a),kt(u),kt(g),kt(v),kt(w);for(let t=0;t<_.length;t+=1)_[t].d()}}}function yn(t,e){let n,o,r;return o=new Te({props:{task:e[75],domains:e[0]}}),{key:t,first:null,c(){n=W(),wt(o.$$.fragment),this.first=n},m(t,e){I(t,n,e),bt(o,t,e),r=!0},p(t,n){e=t;const r={};4096&n[0]&&(r.task=e[75]),1&n[0]&&(r.domains=e[0]),o.$set(r)},i(t){r||(mt(o.$$.fragment,t),r=!0)},o(t){ft(o.$$.fragment,t),r=!1},d(t){t&&O(n),kt(o,t)}}}function _n(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Dn(t){let e,n,o,r;const s=[En,Cn],l=[];function i(t,e){return"asc"===t[9].sortDir?0:"desc"===t[9].sortDir?1:-1}return~(e=i(t))&&(n=l[e]=s[e](t)),{c(){n&&n.c(),o=W()},m(t,n){~e&&l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(n&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut()),~e?(n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o)):n=null)},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){~e&&l[e].d(t),t&&O(o)}}}function Cn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function En(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function zn(t){let e,n,o,r,s;const l=[Dn,_n],i=[];function a(t,e){return t[9].orderField==eo?0:1}return n=a(t),o=i[n]=l[n](t),{c(){e=S("div"),o.c(),r=P("\n Name"),j(e,"class","sorting-indicator svelte-8gvx0m")},m(t,o){I(t,e,o),i[n].m(e,null),I(t,r,o),s=!0},p(t,r){let s=n;n=a(t),n===s?i[n].p(t,r):(dt(),ft(i[s],1,1,(()=>{i[s]=null})),ut(),o=i[n],o?o.p(t,r):(o=i[n]=l[n](t),o.c()),mt(o,1),o.m(e,null))},i(t){s||(mt(o),s=!0)},o(t){ft(o),s=!1},d(t){t&&O(e),i[n].d(),t&&O(r)}}}function Tn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function In(t){let e,n,o,r;const s=[Fn,On],l=[];function i(t,e){return"asc"===t[9].sortDir?0:"desc"===t[9].sortDir?1:-1}return~(e=i(t))&&(n=l[e]=s[e](t)),{c(){n&&n.c(),o=W()},m(t,n){~e&&l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(n&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut()),~e?(n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o)):n=null)},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){~e&&l[e].d(t),t&&O(o)}}}function On(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Fn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Sn(t){let e,n,o,r,s;const l=[In,Tn],i=[];function a(t,e){return t[9].orderField==no?0:1}return n=a(t),o=i[n]=l[n](t),{c(){e=S("div"),o.c(),r=P("\n Domäne"),j(e,"class","sorting-indicator svelte-8gvx0m")},m(t,o){I(t,e,o),i[n].m(e,null),I(t,r,o),s=!0},p(t,r){let s=n;n=a(t),n===s?i[n].p(t,r):(dt(),ft(i[s],1,1,(()=>{i[s]=null})),ut(),o=i[n],o?o.p(t,r):(o=i[n]=l[n](t),o.c()),mt(o,1),o.m(e,null))},i(t){s||(mt(o),s=!0)},o(t){ft(o),s=!1},d(t){t&&O(e),i[n].d(),t&&O(r)}}}function An(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Pn(t){let e,n,o,r;const s=[Wn,Nn],l=[];function i(t,e){return"asc"===t[9].sortDir?0:"desc"===t[9].sortDir?1:-1}return~(e=i(t))&&(n=l[e]=s[e](t)),{c(){n&&n.c(),o=W()},m(t,n){~e&&l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(n&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut()),~e?(n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o)):n=null)},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){~e&&l[e].d(t),t&&O(o)}}}function Nn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Wn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Mn(t){let e,n,o,r,s;const l=[Pn,An],i=[];function a(t,e){return t[9].orderField==oo?0:1}return n=a(t),o=i[n]=l[n](t),{c(){e=S("div"),o.c(),r=P("\n Frist"),j(e,"class","sorting-indicator svelte-8gvx0m")},m(t,o){I(t,e,o),i[n].m(e,null),I(t,r,o),s=!0},p(t,r){let s=n;n=a(t),n===s?i[n].p(t,r):(dt(),ft(i[s],1,1,(()=>{i[s]=null})),ut(),o=i[n],o?o.p(t,r):(o=i[n]=l[n](t),o.c()),mt(o,1),o.m(e,null))},i(t){s||(mt(o),s=!0)},o(t){ft(o),s=!1},d(t){t&&O(e),i[n].d(),t&&O(r)}}}function Ln(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function jn(t){let e,n,o,r;const s=[qn,Bn],l=[];function i(t,e){return"asc"===t[9].sortDir?0:"desc"===t[9].sortDir?1:-1}return~(e=i(t))&&(n=l[e]=s[e](t)),{c(){n&&n.c(),o=W()},m(t,n){~e&&l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(n&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut()),~e?(n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o)):n=null)},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){~e&&l[e].d(t),t&&O(o)}}}function Bn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function qn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Un(t){let e,n,o,r,s;const l=[jn,Ln],i=[];function a(t,e){return t[9].orderField==ro?0:1}return n=a(t),o=i[n]=l[n](t),{c(){e=S("div"),o.c(),r=P("\n Priorität"),j(e,"class","sorting-indicator svelte-8gvx0m")},m(t,o){I(t,e,o),i[n].m(e,null),I(t,r,o),s=!0},p(t,r){let s=n;n=a(t),n===s?i[n].p(t,r):(dt(),ft(i[s],1,1,(()=>{i[s]=null})),ut(),o=i[n],o?o.p(t,r):(o=i[n]=l[n](t),o.c()),mt(o,1),o.m(e,null))},i(t){s||(mt(o),s=!0)},o(t){ft(o),s=!1},d(t){t&&O(e),i[n].d(),t&&O(r)}}}function Hn(t){let e;return{c(){e=P("Aktionen")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function Rn(t,e){let n,o,r;return o=new De({props:{task:e[75],domains:e[0]}}),o.$on("viewTaskList",e[30]),o.$on("rowClicked",e[31]),{key:t,first:null,c(){n=W(),wt(o.$$.fragment),this.first=n},m(t,e){I(t,n,e),bt(o,t,e),r=!0},p(t,n){e=t;const r={};4096&n[0]&&(r.task=e[75]),1&n[0]&&(r.domains=e[0]),o.$set(r)},i(t){r||(mt(o.$$.fragment,t),r=!0)},o(t){ft(o.$$.fragment,t),r=!1},d(t){t&&O(n),kt(o,t)}}}function Vn(t){let e,n,o;function r(e){t[60](e)}let s={class:"tModal",noClickaway:!0,$$slots:{default:[Qn]},$$scope:{ctx:t}};return void 0!==t[14]&&(s.open=t[14]),e=new t[21]({props:s}),K.push((()=>xt(e,"open",r))),{c(){wt(e.$$.fragment)},m(t,n){bt(e,t,n),o=!0},p(t,o){const r={};32768&o[0]|268435456&o[2]&&(r.$$scope={dirty:o,ctx:t}),!n&&16384&o[0]&&(n=!0,r.open=t[14],ot((()=>n=!1))),e.$set(r)},i(t){o||(mt(e.$$.fragment,t),o=!0)},o(t){ft(e.$$.fragment,t),o=!1},d(t){kt(e,t)}}}function Gn(t){let e;return{c(){e=P("Abbrechen")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function Jn(t){let e;return{c(){e=P("Neu")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function Zn(t){let e;return{c(){e=S("div"),e.textContent="Es existieren noch keine Tasks von diesem Typ."},m(t,n){I(t,e,n)},p:b,i:b,o:b,d(t){t&&O(e)}}}function Yn(t){let e,n;return e=new f({props:{className:t[15].className,rowId:t[15].recID}}),e.$on("choose",t[59]),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};32768&n[0]&&(o.className=t[15].className),32768&n[0]&&(o.rowId=t[15].recID),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Kn(t){let e,n,o,r,s,l,i,a,c,d,u;e=new t[23]({}),r=new t[20]({props:{outline:!0,$$slots:{default:[Gn]},$$scope:{ctx:t}}}),r.$on("click",t[29]),l=new t[20]({props:{filled:!0,$$slots:{default:[Jn]},$$scope:{ctx:t}}}),l.$on("click",(function(){D(t[32](t[15].task,"task"))&&t[32](t[15].task,"task").apply(this,arguments)}));const m=[Yn,Zn],f=[];function g(t,e){return t[15].list&&t[15].list.length?0:1}return a=g(t),c=f[a]=m[a](t),{c(){wt(e.$$.fragment),n=N(),o=S("div"),wt(r.$$.fragment),s=N(),wt(l.$$.fragment),i=N(),c.c(),d=W(),j(o,"class","form--buttons svelte-8gvx0m")},m(t,c){bt(e,t,c),I(t,n,c),I(t,o,c),bt(r,o,null),T(o,s),bt(l,o,null),I(t,i,c),f[a].m(t,c),I(t,d,c),u=!0},p(e,n){t=e;const o={};268435456&n[2]&&(o.$$scope={dirty:n,ctx:t}),r.$set(o);const s={};268435456&n[2]&&(s.$$scope={dirty:n,ctx:t}),l.$set(s);let i=a;a=g(t),a===i?f[a].p(t,n):(dt(),ft(f[i],1,1,(()=>{f[i]=null})),ut(),c=f[a],c?c.p(t,n):(c=f[a]=m[a](t),c.c()),mt(c,1),c.m(d.parentNode,d))},i(t){u||(mt(e.$$.fragment,t),mt(r.$$.fragment,t),mt(l.$$.fragment,t),mt(c),u=!0)},o(t){ft(e.$$.fragment,t),ft(r.$$.fragment,t),ft(l.$$.fragment,t),ft(c),u=!1},d(t){kt(e,t),t&&O(n),t&&O(o),kt(r),kt(l),t&&O(i),f[a].d(t),t&&O(d)}}}function Qn(t){let e,n;return e=new t[22]({props:{title:t[15].title,$$slots:{default:[Kn]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};32768&n[0]&&(o.title=t[15].title),32768&n[0]|268435456&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Xn(t){let e,n,o,r,s,l,i,a,c,d,u,m,f,g,p,$,v,h,x,w,b,k,y,C,E,z,F,A,W,L,B,H,R,V,G,J,Z,Y=(t[18].listTitle||"Aufgabenliste")+"";l=new t[20]({props:{class:"task-maximize",$$slots:{default:[Le]},$$scope:{ctx:t}}}),l.$on("click",t[38]);let K=t[5]&&je(t),Q=t[7]&&Re(t),X=t[4]&&Ye(t),tt=t[3]&&on(t),et=t[6]&&an(t),nt=!t[17]&&mn(t);y=new Ut({}),A=new jt({});const ot=[kn,bn],rt=[];function st(t,e){return t[10]?0:1}L=st(t),B=rt[L]=ot[L](t);let lt=t[14]&&t[15]&&Vn(t);return{c(){e=S("div"),n=S("div"),o=S("h2"),r=P(Y),s=N(),wt(l.$$.fragment),i=N(),a=S("div"),c=S("div"),d=S("div"),u=S("input"),m=N(),K&&K.c(),f=N(),Q&&Q.c(),g=N(),X&&X.c(),p=N(),tt&&tt.c(),$=N(),et&&et.c(),v=N(),nt&&nt.c(),h=N(),x=S("div"),w=S("input"),b=N(),k=S("label"),wt(y.$$.fragment),C=N(),E=S("input"),z=N(),F=S("label"),wt(A.$$.fragment),W=N(),B.c(),H=N(),lt&<.c(),R=N(),V=S("div"),j(o,"class","svelte-8gvx0m"),j(n,"class","task-header--title svelte-8gvx0m"),j(e,"id","TitleModuleContainer"),j(e,"class","task-header svelte-8gvx0m"),j(u,"type","search ms-auto w-auto"),j(u,"class","task--search svelte-8gvx0m"),j(u,"placeholder","Suche"),j(d,"class","inside_card--top__left svelte-8gvx0m"),j(w,"class","radiobutton-tools svelte-8gvx0m"),j(w,"type","radio"),j(w,"name","tools"),j(w,"id","tool-1"),w.checked=!0,j(k,"class","for-radiobutton-tools svelte-8gvx0m"),j(k,"for","tool-1"),j(E,"class","radiobutton-tools svelte-8gvx0m"),j(E,"type","radio"),j(E,"name","tools"),j(E,"id","tool-2"),j(F,"class","for-radiobutton-tools svelte-8gvx0m"),j(F,"for","tool-2"),j(c,"class","inside_card--top svelte-8gvx0m"),j(V,"class","footer_spacer svelte-8gvx0m"),j(a,"class","inside_card svelte-8gvx0m")},m(_,O){I(_,e,O),T(e,n),T(n,o),T(o,r),T(n,s),bt(l,n,null),I(_,i,O),I(_,a,O),T(a,c),T(c,d),T(d,u),U(u,t[8]),T(d,m),K&&K.m(d,null),T(d,f),Q&&Q.m(d,null),T(d,g),X&&X.m(d,null),T(d,p),tt&&tt.m(d,null),T(d,$),et&&et.m(d,null),T(d,v),nt&&nt.m(d,null),T(c,h),T(c,x),T(x,w),T(x,b),T(x,k),bt(y,k,null),T(x,C),T(x,E),T(x,z),T(x,F),bt(A,F,null),T(a,W),rt[L].m(a,null),T(a,H),lt&<.m(a,null),T(a,R),T(a,V),t[61](a),G=!0,J||(Z=[M(n,"pointerdown",(function(){D(t[2])&&t[2].apply(this,arguments)})),M(u,"input",t[43]),M(w,"change",t[39]),M(E,"change",t[39])],J=!0)},p(e,n){t=e,(!G||262144&n[0])&&Y!==(Y=(t[18].listTitle||"Aufgabenliste")+"")&&q(r,Y);const o={};2048&n[0]|268435456&n[2]&&(o.$$scope={dirty:n,ctx:t}),l.$set(o),256&n[0]&&U(u,t[8]),t[5]?K?(K.p(t,n),32&n[0]&&mt(K,1)):(K=je(t),K.c(),mt(K,1),K.m(d,f)):K&&(dt(),ft(K,1,1,(()=>{K=null})),ut()),t[7]?Q?(Q.p(t,n),128&n[0]&&mt(Q,1)):(Q=Re(t),Q.c(),mt(Q,1),Q.m(d,g)):Q&&(dt(),ft(Q,1,1,(()=>{Q=null})),ut()),t[4]?X?(X.p(t,n),16&n[0]&&mt(X,1)):(X=Ye(t),X.c(),mt(X,1),X.m(d,p)):X&&(dt(),ft(X,1,1,(()=>{X=null})),ut()),t[3]?tt?(tt.p(t,n),8&n[0]&&mt(tt,1)):(tt=on(t),tt.c(),mt(tt,1),tt.m(d,$)):tt&&(dt(),ft(tt,1,1,(()=>{tt=null})),ut()),t[6]?et?(et.p(t,n),64&n[0]&&mt(et,1)):(et=an(t),et.c(),mt(et,1),et.m(d,v)):et&&(dt(),ft(et,1,1,(()=>{et=null})),ut()),t[17]?nt&&(dt(),ft(nt,1,1,(()=>{nt=null})),ut()):nt?(nt.p(t,n),131072&n[0]&&mt(nt,1)):(nt=mn(t),nt.c(),mt(nt,1),nt.m(d,null));let s=L;L=st(t),L===s?rt[L].p(t,n):(dt(),ft(rt[s],1,1,(()=>{rt[s]=null})),ut(),B=rt[L],B?B.p(t,n):(B=rt[L]=ot[L](t),B.c()),mt(B,1),B.m(a,H)),t[14]&&t[15]?lt?(lt.p(t,n),49152&n[0]&&mt(lt,1)):(lt=Vn(t),lt.c(),mt(lt,1),lt.m(a,R)):lt&&(dt(),ft(lt,1,1,(()=>{lt=null})),ut())},i(t){G||(mt(l.$$.fragment,t),mt(K),mt(Q),mt(X),mt(tt),mt(et),mt(nt),mt(y.$$.fragment,t),mt(A.$$.fragment,t),mt(B),mt(lt),G=!0)},o(t){ft(l.$$.fragment,t),ft(K),ft(Q),ft(X),ft(tt),ft(et),ft(nt),ft(y.$$.fragment,t),ft(A.$$.fragment,t),ft(B),ft(lt),G=!1},d(n){n&&O(e),kt(l),n&&O(i),n&&O(a),K&&K.d(),Q&&Q.d(),X&&X.d(),tt&&tt.d(),et&&et.d(),nt&&nt.d(),kt(y),kt(A),rt[L].d(),lt&<.d(),t[61](null),J=!1,_(Z)}}}const to="ENABLERR_SORTORDER",eo="sortName",no="sortDomain",oo="sortDeadline",ro="sortPriority";function so(t,e){e&&window.setTimeout((()=>{const e="filterbutton-"+t;document.getElementById(e).click()}))}function lo(t,n,o){let s,f,g,p;E(t,l,(t=>o(18,p=t)));const{loggedIn:$}=m;E(t,$,(t=>o(63,g=t)));const v=g.tenant+"-ENABLERR-FILTER",{Button:h,Modal:x,Dialog:w,Divider:b,DropdownShell:k,Dropdown:y,DatePicker:_}=e;let D,{allTasks:C}=n,{domains:z}=n,{events:T}=n,{movePointerDown:I}=n,O=[],F=!0,S=!1,A=[...s||[]],P={start:new Date,end:new Date};const N={DOMAIN:"domain",EVENT:"event",STATUS:"status",PRIO:"prio",DUEDATE:"dueDate"};let W=!1,M=!1,L=!1,j=!1,B=!1,q=new Set;!function(t){J().$$.on_mount.push(t)}((()=>{D=window.localStorage.getItem(v),D=JSON.parse(D),D||(D={[N.DOMAIN]:[],[N.EVENT]:[],[N.STATUS]:[],[N.DUEDATE]:{start:void 0,end:void 0},[N.PRIO]:[]},window.localStorage.setItem(v,JSON.stringify(D))),D[N.DOMAIN].length&&(nt(N.DOMAIN),rt(N.DOMAIN,!0)),D[N.EVENT]?.length&&(nt(N.EVENT),rt(N.EVENT,!0)),D[N.STATUS].length&&(nt(N.STATUS),rt(N.STATUS,!0)),D[N.PRIO].length&&(nt(N.PRIO),rt(N.PRIO,!0)),D[N.DUEDATE].start&&D[N.DUEDATE].end&&(nt(N.DUEDATE),o(13,P.start=new Date(D[N.DUEDATE].start),P),o(13,P.end=new Date(D[N.DUEDATE].end),P),st()),function(){const t=JSON.parse(window.localStorage.getItem(to));if(!t)return;t.sortCallback=X.get(t.orderField),o(9,Q=t)}()}));let U,H=!1;function R(){o(14,H=!1),o(15,U=void 0)}function V(t,e){window.singleSpaNavigate(`/task/${t.event.id}/${t.id}/${e}`),R()}const G=(t,e,n)=>{V({event:{id:e.event.id},id:t.detail.row._task._id},n)};let Z="";function Y(t){if(!t.sortDir)return void ot();const e="asc"==t.sortDir?1:-1;o(42,s=s.sort(((n,o)=>{const r=t.sortCallback(n),s=t.sortCallback(o);return r>s?e:r<s?-1*e:0})))}let Q={orderField:"",sortCallback:()=>null,sortDir:""};const X=new Map([[eo,ye],[no,t=>t.event.domain.toLowerCase()],[oo,t=>t.dueDate],[ro,t=>t.priority],["sortFavorite",t=>t.event.step.endsWith("xecution")]]);function tt(t){if(!t)return void console.error("doSort: No field to orderBy defined");const e=Q.orderField;o(9,Q.sortCallback=X.get(t),Q),o(9,Q.orderField=t,Q),Q.sortDir&&e==t?"asc"===Q.sortDir?o(9,Q.sortDir="desc",Q):(o(9,Q.sortDir="",Q),o(9,Q.orderField="",Q),o(9,Q.sortCallback=null,Q)):o(9,Q.sortDir="asc",Q),function(){const t=JSON.stringify(Q);window.localStorage.setItem(to,t)}()}function et(t){nt(t),function(t){if(t==N.DUEDATE)o(13,P={start:new Date,end:new Date}),D[N.DUEDATE]={start:void 0,end:void 0},window.localStorage.setItem(v,JSON.stringify(D)),o(6,j=!1);else{let e=document.getElementsByName(t.toLowerCase());for(let t of e)t.checked=!1}ot()}(t)}function nt(t){switch(t){case N.EVENT:o(7,B=!B),so(N.EVENT,B);break;case N.DOMAIN:o(5,L=!L),so(N.DOMAIN,L);break;case N.STATUS:o(4,M=!M),so(N.STATUS,M);break;case N.PRIO:o(3,W=!W),so(N.PRIO,W);break;case N.DUEDATE:o(6,j=!j),so(N.DUEDATE,j)}}function ot(t){o(42,s=[...O]),rt(N.DOMAIN),rt(N.EVENT),rt(N.STATUS),rt(N.PRIO),st(),Q.sortDir&&Y(Q)}async function rt(t,e=!1){if(!D)return;let n=await document.getElementsByName(t),r=[];if(e)r=D[t],n.forEach((t=>{r.includes(t.id.toLowerCase())&&(t.checked=!0)}));else{for(let t of n)t.checked&&r.push(t.id.toLowerCase());D[t]=r,window.localStorage.setItem(v,JSON.stringify(D))}0!=r.length&&(t==N.DOMAIN?o(42,s=s.filter((t=>r.indexOf(t.event.domain.toLowerCase())>=0))):t==N.EVENT?o(42,s=s.filter((t=>r.indexOf(t.event.designation.toLowerCase())>=0))):t==N.STATUS?o(42,s=s.filter((t=>t.status?r.indexOf(t.status.toLowerCase())>=0:r.indexOf("vorlage")>=0))):t==N.PRIO&&o(42,s=s.filter((t=>{if(t.priority){return r.indexOf(t.priority.toString())>=0}return r.indexOf("1")>=0}))))}function st(){P&&(P.start||P.end)&&j&&(o(42,s=s.filter((t=>{if(t.dueDate){const e=new Date(t.dueDate).setHours(0,0,0,0),n=P.start.setHours(0,0,0,0),o=P.end.setHours(0,0,0,0);return e>=n&&e<=o}return!1}))),D[N.DUEDATE]=P)}let lt;i.subscribe((async t=>{t&&r.getTaskqueue(null,t.objectId).then((({task:e})=>{const n=O.findIndex((e=>e.id===t.objectId));if(n+1)o(41,O[n]=e,O);else{if("Information"===e.event?.stream?.task)return;if(!e.workflow?.numberOfFollowers&&"WaitingForApproval"!==e.status)return;O.unshift(e)}N&&ot()}))})),a.subscribe((async t=>{if(!t)return;const e=O.findIndex((e=>e.id===t.objectId));e+1&&r.getTaskqueue(null,t.objectId).then((({task:t})=>{o(41,O[e]=t,O),N&&ot()}))})),c.subscribe((t=>{if(!t)return;const e=t.url.split("/")[3],n=O.find((t=>t.id===e));n&&(n.chat+=1,N&&ot())})),d.subscribe((t=>{if(!t)return;const e=t.taskId,n=O.find((t=>t.id===e));n&&("INSERT"===t.status?n.report+=1:"DELETE"===t.status&&(n.report-=1),N&&ot())}));u.subscribe((t=>{o(41,O=(t=>{if(!C)return{};let e={...C};return void 0===t?queue:(e=C.filter((e=>!e.event.authorization?.length||e.event.authorization.some((e=>t?.find((t=>t===e.role)))))),e)})(t)),ot()}));return t.$$set=t=>{"allTasks"in t&&o(40,C=t.allTasks),"domains"in t&&o(0,z=t.domains),"events"in t&&o(1,T=t.events),"movePointerDown"in t&&o(2,I=t.movePointerDown)},t.$$.update=()=>{1024&t.$$.dirty[1]&&o(42,s=[...O]),248&t.$$.dirty[0]&&o(17,f=W&&M&&L&&j&&B),1024&t.$$.dirty[1]&&function(t){q.clear(),t.forEach((t=>{q.add(t.status)}))}(O),512&t.$$.dirty[0]&&Y(Q),256&t.$$.dirty[0]|2048&t.$$.dirty[1]&&(Z.length<3&&o(12,A=[...s]),Z.toString().length>2&&o(12,A=[...s.filter((t=>{const e=t=>t?.toLowerCase()?.match(`${Z.toString().toLowerCase()}.*`);return e(t.event.name)||e(t.event.description)||e(ye(t))}))]))},[z,T,I,W,M,L,j,B,Z,Q,F,S,A,P,H,U,lt,f,p,$,h,x,w,b,k,y,_,N,q,R,function(t){t.detail&&(o(14,H=!0),o(15,U=t.detail),o(15,U.recID=void 0,U))},function(t){if(!t||!t.detail)return;const e=t.detail.task,n=t.detail.tab;e&&n&&V(e,n)},V,G,tt,et,nt,ot,function(){o(11,S=!S),S?lt.parentElement.parentElement.classList.add("maximizeTaskModule"):lt.parentElement.parentElement.classList.remove("maximizeTaskModule")},function(){o(10,F=!F)},C,O,s,function(){Z=this.value,o(8,Z)},()=>et(N.DOMAIN),()=>et(N.EVENT),()=>et(N.STATUS),()=>et(N.PRIO),()=>et(N.DUEDATE),function(t){P=t,o(13,P)},()=>nt(N.DOMAIN),()=>nt(N.EVENT),()=>nt(N.STATUS),()=>nt(N.PRIO),()=>nt(N.DUEDATE),()=>tt(eo),()=>tt(no),()=>tt(oo),()=>tt(ro),t=>G(t,U.task,"task"),function(t){H=t,o(14,H)},function(t){K[t?"unshift":"push"]((()=>{lt=t,o(16,lt)}))}]}class io extends Dt{constructor(t){var e;super(),Oe.getElementById("svelte-8gvx0m-style")||((e=S("style")).id="svelte-8gvx0m-style",e.textContent='.tabletitle.svelte-8gvx0m.svelte-8gvx0m{border-top:0}.maximizeTaskModule{width:95vw !important;height:90vh !important;position:fixed !important;top:20px;z-index:2}.inside_card.svelte-8gvx0m.svelte-8gvx0m{margin:1.4em;display:flex;flex-flow:column;height:90%}.inside_card--top.svelte-8gvx0m.svelte-8gvx0m{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;row-gap:1em;margin-bottom:1em}.inside_card--top.svelte-8gvx0m .add_filter_button{border-radius:5px !important;border:2px solid #326173 !important;padding:0.8em}.inside_card--top.svelte-8gvx0m .filter_button--icon.svelte-8gvx0m{height:24px;margin-right:0.5em}.inside_card--top.svelte-8gvx0m .inside_card--top__left.svelte-8gvx0m{display:flex;gap:1em;flex-flow:row wrap}.inside_card--top.svelte-8gvx0m .inside_card--top__left .task--search.svelte-8gvx0m{padding:1em;width:20em}.inside_card--top.svelte-8gvx0m .inside_card--top__left.svelte-8gvx0m .dropdown-filter{padding:1em}.dropdown-content.svelte-8gvx0m.svelte-8gvx0m{width:180px;padding:1.2em}.dropdown-content--header.svelte-8gvx0m.svelte-8gvx0m{padding-bottom:1em;width:100%;font-weight:600}.dropdown-content--element.svelte-8gvx0m.svelte-8gvx0m{display:flex;justify-content:space-between;align-items:center;color:#326173;padding-bottom:0.5em;width:100%;cursor:pointer}.task-header.svelte-8gvx0m.svelte-8gvx0m{padding:0 1.4em;display:flex;flex-flow:column;background-color:#326173;color:white}.task-header--title.svelte-8gvx0m.svelte-8gvx0m{height:65px;display:flex;flex:0 1 auto;justify-content:space-between;align-items:center;margin-right:1.5em;user-select:none;cursor:grab}.task-header--title.svelte-8gvx0m h2.svelte-8gvx0m{margin:0}.task-header--title.svelte-8gvx0m .task-maximize{color:#fff;padding:0}.task-list.svelte-8gvx0m.svelte-8gvx0m{display:flex;flex-flow:row wrap;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;width:100%;border:1px solid #ccc;border-radius:0.5em}.task-list.svelte-8gvx0m .sorting .sorting-indicator.svelte-8gvx0m{height:16px;width:9px;padding-right:5px}.task-list.svelte-8gvx0m .no_border_spacing.svelte-8gvx0m{border-spacing:0px}.task-list.svelte-8gvx0m .sorting{color:black !important}.task-list.svelte-8gvx0m .tableFixHead{overflow:auto;height:100px;border-collapse:separate}.task-list.svelte-8gvx0m .tableFixHead thead th{position:sticky;top:0;background-color:#f8f8fe;color:black;border-bottom:2px solid;z-index:1}.task-list.svelte-8gvx0m .triangle_not_active{fill:#ababab;stroke:#ababab;height:8px;transform:translateY(-8px)}.task-list.svelte-8gvx0m .triangle_active{fill:black;stroke:black;height:8px;transform:translateY(-8px)}.task-list.svelte-8gvx0m .rotated{transform:rotate(180deg) translateY(16px)}.task-list.svelte-8gvx0m .bottom_dropdown{top:2.5em}.prio.svelte-8gvx0m.svelte-8gvx0m{border-width:thick;border-style:solid;width:50px !important;text-align:center}.prio1.svelte-8gvx0m.svelte-8gvx0m{border-color:red !important}.prio1.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:red !important}.prio2.svelte-8gvx0m.svelte-8gvx0m{border-color:orange !important}.prio2.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:orange !important}.prio3.svelte-8gvx0m.svelte-8gvx0m{border-color:green !important}.prio3.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:green !important}.domain-border.svelte-8gvx0m.svelte-8gvx0m{border-width:thick;border-style:solid}.domain-border--0.svelte-8gvx0m.svelte-8gvx0m{border-color:#A9C0CE !important}.domain-border--0.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#A9C0CE !important}.domain-border--1.svelte-8gvx0m.svelte-8gvx0m{border-color:#7E7F80 !important}.domain-border--1.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#7E7F80 !important}.domain-border--2.svelte-8gvx0m.svelte-8gvx0m{border-color:#55C1D9 !important}.domain-border--2.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#55C1D9 !important}.domain-border--3.svelte-8gvx0m.svelte-8gvx0m{border-color:#66A649 !important}.domain-border--3.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#66A649 !important}.domain-border--4.svelte-8gvx0m.svelte-8gvx0m{border-color:#F2CF63 !important}.domain-border--4.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#F2CF63 !important}.domain-border--5.svelte-8gvx0m.svelte-8gvx0m{border-color:#BF5A50 !important}.domain-border--5.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#BF5A50 !important}.footer_spacer.svelte-8gvx0m.svelte-8gvx0m{flex:0 1 4.2em}[type=radio].svelte-8gvx0m.svelte-8gvx0m:checked,[type=radio].svelte-8gvx0m.svelte-8gvx0m:not(:checked){position:absolute;left:-9999px;width:0;height:0;visibility:hidden}.radiobutton-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m,.radiobutton-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m{position:relative;display:inline-block;padding:15px;width:25px;height:25px;font-size:17px;font-weight:bold;line-height:20px;letter-spacing:1px;margin:0 0 0 10px;text-align:center;vertical-align:middle;border-radius:15px;overflow:hidden;cursor:pointer;text-transform:uppercase;color:#000000;-webkit-transition:all 300ms linear;transition:all 300ms linear}.radiobutton-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m{background-color:#DAE1E5;color:#000000;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1)}.radiobutton-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#326173;color:#ffffff;box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2)}.radiobutton-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m:hover{box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2)}.radiobutton-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m::before,.radiobutton-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m::before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;border-radius:15px;z-index:-1}[type=checkbox].svelte-8gvx0m.svelte-8gvx0m:checked,[type=checkbox].svelte-8gvx0m.svelte-8gvx0m:not(:checked){position:absolute;left:-9999px;width:0;height:0;visibility:hidden}.checkbox-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m,.checkbox-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m{position:relative;display:inline-block;padding:0.6em 1.1em;height:15px;width:max-content;font-size:15px;font-weight:bold;line-height:17px;letter-spacing:1px;margin:5px;text-align:center;vertical-align:middle;border-width:thick;border-style:solid;border-radius:30px;overflow:hidden;cursor:pointer;text-transform:uppercase;color:#000000;-webkit-transition:all 300ms linear;transition:all 300ms linear}.checkbox-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m{background-color:#DAE1E5;border-color:#DAE1E5;color:#000000;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1)}.checkbox-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#326173;border-color:#326173;color:#ffffff;box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2)}.checkbox-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m:hover{box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2)}.checkbox-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m::before,.checkbox-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m::before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;border-radius:15px;z-index:-1}.form--buttons.svelte-8gvx0m.svelte-8gvx0m{display:flex;gap:1em;padding-bottom:0.5em}.modal-overlay.tModal{overflow:inherit !important}',T(Oe.head,e)),_t(this,t,lo,Xn,C,{allTasks:40,domains:0,events:1,movePointerDown:2},[-1,-1,-1])}}function ao(t){let e,n=t[0].name+"";return{c(){e=P(n)},m(t,n){I(t,e,n)},p(t,o){1&o&&n!==(n=t[0].name+"")&&q(e,n)},d(t){t&&O(e)}}}function co(t){let e;return{c(){e=P("i")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function uo(t){let e;return{c(){e=P("activate")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function mo(t){let e,n,o,r,s,l,i,a;return n=new t[2]({props:{$$slots:{default:[ao]},$$scope:{ctx:t}}}),r=new t[1]({props:{filled:!0,class:"info",$$slots:{default:[co]},$$scope:{ctx:t}}}),i=new t[1]({props:{filled:!0,$$slots:{default:[uo]},$$scope:{ctx:t}}}),i.$on("click",t[6]),{c(){e=S("div"),wt(n.$$.fragment),o=N(),wt(r.$$.fragment),s=N(),l=S("div"),wt(i.$$.fragment),j(e,"class","module-name svelte-15g6xoi"),j(l,"class","activate svelte-15g6xoi")},m(t,c){I(t,e,c),bt(n,e,null),T(e,o),bt(r,e,null),I(t,s,c),I(t,l,c),bt(i,l,null),a=!0},p(t,[e]){const o={};129&e&&(o.$$scope={dirty:e,ctx:t}),n.$set(o);const s={};128&e&&(s.$$scope={dirty:e,ctx:t}),r.$set(s);const l={};128&e&&(l.$$scope={dirty:e,ctx:t}),i.$set(l)},i(t){a||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),mt(i.$$.fragment,t),a=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),ft(i.$$.fragment,t),a=!1},d(t){t&&O(e),kt(n),kt(r),t&&O(s),t&&O(l),kt(i)}}}function fo(t,n,o){const{Button:r,Label:s}=e;let{module:l}=n,{list:i}=n,{functionProp:a=(()=>{})}=n;const c=t=>{a(t)};return t.$$set=t=>{"module"in t&&o(0,l=t.module),"list"in t&&o(4,i=t.list),"functionProp"in t&&o(5,a=t.functionProp)},[l,r,s,c,i,a,()=>{c(l)}]}class go extends Dt{constructor(t){var e;super(),document.getElementById("svelte-15g6xoi-style")||((e=S("style")).id="svelte-15g6xoi-style",e.textContent=".module-name.svelte-15g6xoi{padding-left:0.5em;display:flex;align-items:center}.activate.svelte-15g6xoi{align-self:center}.module-name.svelte-15g6xoi .info{width:10px;height:10px;padding:0.9em 0.9em 0.9em 0.6em;margin-left:0.4em;float:left}",T(document.head,e)),_t(this,t,fo,mo,C,{module:0,list:4,functionProp:5})}}function po(t,e,n){const o=t.slice();return o[10]=e[n],o}function $o(t){let e,n,o,r,s,l,i,a,c,d,u,m,f;o=new zt({props:{size:"24",class:"ml"}}),i=new t[6]({});let g={ctx:t,current:null,token:null,hasCatch:!1,pending:bo,then:xo,catch:ho,value:9,blocks:[,,,]};return gt(d=t[3],g),{c(){e=S("div"),n=S("div"),wt(o.$$.fragment),r=N(),s=S("div"),s.innerHTML='<h4 class="svelte-4o0fgs">Module</h4> \n <input type="search" placeholder="Suche" class="svelte-4o0fgs"/>',l=N(),wt(i.$$.fragment),a=N(),c=S("div"),g.block.c(),j(n,"class","back-button svelte-4o0fgs"),j(s,"class","header svelte-4o0fgs"),j(c,"class","content svelte-4o0fgs"),j(e,"class","table_list svelte-4o0fgs")},m(d,p){I(d,e,p),T(e,n),bt(o,n,null),T(e,r),T(e,s),T(e,l),bt(i,e,null),T(e,a),T(e,c),g.block.m(c,g.anchor=null),g.mount=()=>c,g.anchor=null,u=!0,m||(f=M(n,"click",t[7]),m=!0)},p(e,n){t=e,g.ctx=t,8&n&&d!==(d=t[3])&>(d,g)||pt(g,t,n)},i(t){u||(mt(o.$$.fragment,t),mt(i.$$.fragment,t),mt(g.block),u=!0)},o(t){ft(o.$$.fragment,t),ft(i.$$.fragment,t);for(let t=0;t<3;t+=1){ft(g.blocks[t])}u=!1},d(t){t&&O(e),kt(o),kt(i),g.block.d(),g.token=null,g=null,m=!1,f()}}}function vo(t){let e,n,o;return n=new t[5]({props:{filled:!0,$$slots:{default:[ko]},$$scope:{ctx:t}}}),n.$on("click",t[7]),{c(){e=S("div"),wt(n.$$.fragment),j(e,"class","add-button svelte-4o0fgs")},m(t,r){I(t,e,r),bt(n,e,null),o=!0},p(t,e){const o={};8193&e&&(o.$$scope={dirty:e,ctx:t}),n.$set(o)},i(t){o||(mt(n.$$.fragment,t),o=!0)},o(t){ft(n.$$.fragment,t),o=!1},d(t){t&&O(e),kt(n)}}}function ho(t){return{c:b,m:b,p:b,i:b,o:b,d:b}}function xo(t){let e,n,o=t[9],r=[];for(let e=0;e<o.length;e+=1)r[e]=wo(po(t,o,e));const s=t=>ft(r[t],1,1,(()=>{r[t]=null}));return{c(){for(let t=0;t<r.length;t+=1)r[t].c();e=W()},m(t,o){for(let e=0;e<r.length;e+=1)r[e].m(t,o);I(t,e,o),n=!0},p(t,n){if(10&n){let l;for(o=t[9],l=0;l<o.length;l+=1){const s=po(t,o,l);r[l]?(r[l].p(s,n),mt(r[l],1)):(r[l]=wo(s),r[l].c(),mt(r[l],1),r[l].m(e.parentNode,e))}for(dt(),l=o.length;l<r.length;l+=1)s(l);ut()}},i(t){if(!n){for(let t=0;t<o.length;t+=1)mt(r[t]);n=!0}},o(t){r=r.filter(Boolean);for(let t=0;t<r.length;t+=1)ft(r[t]);n=!1},d(t){F(r,t),t&&O(e)}}}function wo(t){let e,n,o,r;return n=new go({props:{module:t[10],list:t[9],functionProp:t[8]}}),{c(){e=S("div"),wt(n.$$.fragment),o=N(),j(e,"class","module svelte-4o0fgs")},m(t,s){I(t,e,s),bt(n,e,null),T(e,o),r=!0},p(t,e){const o={};8&e&&(o.module=t[10]),8&e&&(o.list=t[9]),2&e&&(o.functionProp=t[8]),n.$set(o)},i(t){r||(mt(n.$$.fragment,t),r=!0)},o(t){ft(n.$$.fragment,t),r=!1},d(t){t&&O(e),kt(n)}}}function bo(t){return{c:b,m:b,p:b,i:b,o:b,d:b}}function ko(t){let e,n=t[0].text+"";return{c(){e=P(n)},m(t,n){I(t,e,n)},p(t,o){1&o&&n!==(n=t[0].text+"")&&q(e,n)},d(t){t&&O(e)}}}function yo(t){let e,n,o,r;const s=[vo,$o],l=[];function i(t,e){return t[2]?1:0}return e=i(t),n=l[e]=s[e](t),{c(){n.c(),o=W()},m(t,n){l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e===a?l[e].p(t,r):(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut(),n=l[e],n?n.p(t,r):(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o))},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){l[e].d(t),t&&O(o)}}}function _o(t){let e,n;return e=new t[4]({props:{class:"db",$$slots:{default:[yo]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,[n]){const o={};8207&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Do(t,n,o){let s;const{Dialog:l,Button:i,Divider:a}=e;let{dataItem:c}=n,d=!1,{functionProp:u=(()=>{})}=n;return t.$$set=t=>{"dataItem"in t&&o(0,c=t.dataItem),"functionProp"in t&&o(1,u=t.functionProp)},o(3,s=r.getAllModules()),[c,u,d,s,l,i,a,function(){o(2,d=!d)},t=>u(t)]}class Co extends Dt{constructor(t){var e;super(),document.getElementById("svelte-4o0fgs-style")||((e=S("style")).id="svelte-4o0fgs-style",e.textContent=".add-button.svelte-4o0fgs.svelte-4o0fgs{display:grid;place-items:center;height:100%}.back-button.svelte-4o0fgs.svelte-4o0fgs{width:30px;height:24px;cursor:pointer}.table_list.svelte-4o0fgs.svelte-4o0fgs{height:100%;padding:1em}.table_list.svelte-4o0fgs .header.svelte-4o0fgs{display:grid;grid-template-columns:0.5fr 1fr;margin:0.5em;gap:1em}.table_list.svelte-4o0fgs .header h4.svelte-4o0fgs{align-self:center;margin:0}.table_list.svelte-4o0fgs .header input.svelte-4o0fgs{padding:0.2em}.table_list.svelte-4o0fgs .content.svelte-4o0fgs{overflow-y:auto;height:calc(100% - 115px)}.table_list.svelte-4o0fgs .content .module.svelte-4o0fgs{display:flex;justify-content:space-between;border-bottom:1px solid #ccc;padding:0.8em 0.5em 0.8em 0}",T(document.head,e)),_t(this,t,Do,_o,C,{dataItem:0,functionProp:1})}}function Eo(t){let e;return{c(){e=S("m-box"),e.innerHTML="<h3>Keine Tasks vorhanden!</h3>"},m(t,n){I(t,e,n)},p:b,i:b,o:b,d(t){t&&O(e)}}}function zo(t){let e,n,o,r;const s=[Fo,Oo,Io,To],l=[];function i(t,e){return 1111===t[0].id?0:3333===t[0].id?1:4444===t[0].id?2:3}return e=i(t),n=l[e]=s[e](t),{c(){n.c(),o=W()},m(t,n){l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e===a?l[e].p(t,r):(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut(),n=l[e],n?n.p(t,r):(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o))},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){l[e].d(t),t&&O(o)}}}function To(t){let e,n;return e=new Co({props:{dataItem:t[0],functionProp:t[7]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.dataItem=t[0]),32&n&&(o.functionProp=t[7]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Io(t){let e,n;return e=new t[6]({props:{class:"db",$$slots:{default:[So]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};256&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Oo(t){let e,n;return e=new t[6]({props:{class:"db",$$slots:{default:[Ao]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};258&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Fo(t){let e,n;return e=new t[6]({props:{class:"db",$$slots:{default:[Po]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};286&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function So(t){let e,n;return e=new g({}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Ao(t){let e,n;return e=new p({props:{movePointerDown:t[1]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};2&n&&(o.movePointerDown=t[1]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Po(t){let e,n;return e=new io({props:{allTasks:t[2].task,movePointerDown:t[1],domains:t[3],events:t[4]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};4&n&&(o.allTasks=t[2].task),2&n&&(o.movePointerDown=t[1]),8&n&&(o.domains=t[3]),16&n&&(o.events=t[4]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function No(t){let e,n,o,r;const s=[zo,Eo],l=[];function i(t,e){return t[2]?.task?.length>0?0:1}return e=i(t),n=l[e]=s[e](t),{c(){n.c(),o=W()},m(t,n){l[e].m(t,n),I(t,o,n),r=!0},p(t,[r]){let a=e;e=i(t),e===a?l[e].p(t,r):(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut(),n=l[e],n?n.p(t,r):(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o))},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){l[e].d(t),t&&O(o)}}}function Wo(t,n,o){const{Dialog:r}=e;let{dataItem:s}=n,{movePointerDown:l}=n,{allTasks:i}=n,{domains:a}=n,{events:c}=n,{functionProp:d=(()=>{})}=n;return t.$$set=t=>{"dataItem"in t&&o(0,s=t.dataItem),"movePointerDown"in t&&o(1,l=t.movePointerDown),"allTasks"in t&&o(2,i=t.allTasks),"domains"in t&&o(3,a=t.domains),"events"in t&&o(4,c=t.events),"functionProp"in t&&o(5,d=t.functionProp)},[s,l,i,a,c,d,r,t=>d(t)]}class Mo extends Dt{constructor(t){super(),_t(this,t,Wo,No,C,{dataItem:0,movePointerDown:1,allTasks:2,domains:3,events:4,functionProp:5})}}function Lo(t){let e,n;return e=new t[5]({props:{class:"btn--close",$$slots:{default:[jo]},$$scope:{ctx:t}}}),e.$on("click",(function(){return t[9](t[14])})),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(n,o){t=n;const r={};65536&o&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function jo(t){let e,n;return e=new ie({}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Bo(t){let e,n;return e=new Mo({props:{allTasks:t[2],dataItem:t[14],settings:t[1],movePointerDown:t[15],functionProp:t[11]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};4&n&&(o.allTasks=t[2]),16384&n&&(o.dataItem=t[14]),2&n&&(o.settings=t[1]),32768&n&&(o.movePointerDown=t[15]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function qo(t){let e,n;return e=new Mo({props:{allTasks:t[2],domains:t[3],events:t[4],dataItem:t[14],settings:t[1],movePointerDown:t[15],functionProp:t[10]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};4&n&&(o.allTasks=t[2]),8&n&&(o.domains=t[3]),16&n&&(o.events=t[4]),16384&n&&(o.dataItem=t[14]),2&n&&(o.settings=t[1]),32768&n&&(o.movePointerDown=t[15]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Uo(t){let e,n,o,r,s,l=9999!==t[14].id&&Lo(t);const i=[qo,Bo],a=[];function c(t,e){return 1111===t[14].id?0:1}return n=c(t),o=a[n]=i[n](t),{c(){l&&l.c(),e=N(),o.c(),r=W()},m(t,o){l&&l.m(t,o),I(t,e,o),a[n].m(t,o),I(t,r,o),s=!0},p(t,s){9999!==t[14].id?l?(l.p(t,s),16384&s&&mt(l,1)):(l=Lo(t),l.c(),mt(l,1),l.m(e.parentNode,e)):l&&(dt(),ft(l,1,1,(()=>{l=null})),ut());let d=n;n=c(t),n===d?a[n].p(t,s):(dt(),ft(a[d],1,1,(()=>{a[d]=null})),ut(),o=a[n],o?o.p(t,s):(o=a[n]=i[n](t),o.c()),mt(o,1),o.m(r.parentNode,r))},i(t){s||(mt(l),mt(o),s=!0)},o(t){ft(l),ft(o),s=!1},d(t){l&&l.d(t),t&&O(e),a[n].d(t),t&&O(r)}}}function Ho(t){let e,o,r,s,l;function i(e){t[12](e)}let a={fillSpace:!1,rowHeight:150,cols:t[6],$$slots:{default:[Uo,({dataItem:t,movePointerDown:e})=>({14:t,15:e}),({dataItem:t,movePointerDown:e})=>(t?16384:0)|(e?32768:0)]},$$scope:{ctx:t}};return void 0!==t[0]&&(a.items=t[0]),r=new n({props:a}),K.push((()=>xt(r,"items",i))),{c(){e=N(),o=S("section"),wt(r.$$.fragment),document.title="enablerr - Dashboard",j(o,"id","main"),j(o,"class","svelte-1uegt2l")},m(t,n){I(t,e,n),I(t,o,n),bt(r,o,null),l=!0},p(t,[e]){const n={};114718&e&&(n.$$scope={dirty:e,ctx:t}),!s&&1&e&&(s=!0,n.items=t[0],ot((()=>s=!1))),r.$set(n)},i(t){l||(mt(r.$$.fragment,t),l=!0)},o(t){ft(r.$$.fragment,t),l=!1},d(t){t&&O(e),t&&O(o),kt(r)}}}function Ro(t,n,r){const{Dialog:s,Button:l}=e;let{module:i}=n,{settings:a}=n,{allTasks:c}=n,{domains:d}=n,{events:u}=n;const m=t=>{r(0,i=i.filter((e=>e.id!==t.id))),r(0,i=o.adjust(i,6)),r(0,i=o.normalize(i,6))};async function f(t){if(null!=i.find((e=>e.id==t.id)))return;let e=o.findSpace(t,i,6),n={...t,6:{...t[6],...e},5:{...t[5],...e},4:{...t[4],...e},3:{...t[3],...e},2:{...t[2],...e},1:{...t[1],...e}};i.push(n),r(0,i=o.adjust(i,6)),r(0,i=o.normalize(i,6))}return t.$$set=t=>{"module"in t&&r(0,i=t.module),"settings"in t&&r(1,a=t.settings),"allTasks"in t&&r(2,c=t.allTasks),"domains"in t&&r(3,d=t.domains),"events"in t&&r(4,u=t.events)},[i,a,c,d,u,l,[[9e3,6],[2e3,5],[1500,4],[1200,3],[900,2],[600,1]],m,f,t=>m(t),t=>f(t),t=>f(t),function(t){i=t,r(0,i)}]}class Vo extends Dt{constructor(t){var e;super(),document.getElementById("svelte-1uegt2l-style")||((e=S("style")).id="svelte-1uegt2l-style",e.textContent="section#main.svelte-1uegt2l{position:relative;width:100%;right:1em;padding-top:0.25em;padding-bottom:0.25em}section#main.svelte-1uegt2l .btn--close{position:absolute;height:1.25em;top:1.45em;right:1em;z-index:1;color:white;padding:0 !important}.feather.moveIcon{margin-right:0.25em}.dialog.db{width:auto !important;height:100%;overflow-y:visible;padding:0 !important}:root{--task-header-color:rgba(217, 178, 103, 0.55)}.svlt-grid-item{transition:none !important}",T(document.head,e)),_t(this,t,Ro,Ho,C,{module:0,settings:1,allTasks:2,domains:3,events:4})}}const Go=[{day:"Sonntag",status:!1,value:"Su"},{day:"Montag",status:!1,value:"Mo"},{day:"Dienstag",status:!1,value:"Tu"},{day:"Mittwoch",status:!1,value:"We"},{day:"Donnerstag",status:!1,value:"Th"},{day:"Freitag",status:!1,value:"Fr"},{day:"Samstag",status:!1,value:"Sa"}];var Jo=(t=new Date)=>Go[t.getDay()];function Zo(t){t[12]=t[16].domains,t[13]=t[16].events,t[14]=t[16].module,t[15]=t[16].moduleList}function Yo(t){return{c:b,m:b,p:b,i:b,o:b,d:b}}function Ko(t){let e,n;return Zo(t),e=new Vo({props:{module:t[14],allTasks:t[0],domains:t[12],events:t[13],settings:t[15]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){Zo(t);const o={};1&n&&(o.allTasks=t[0]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Qo(t){return{c:b,m:b,p:b,i:b,o:b,d:b}}function Xo(t){let e,n,o,r,s=!t[2]&&function(t){let e,n,o={ctx:t,current:null,token:null,hasCatch:!1,pending:Qo,then:Ko,catch:Yo,value:16,blocks:[,,,]};return gt(t[3](),o),{c(){e=W(),o.block.c()},m(t,r){I(t,e,r),o.block.m(t,o.anchor=r),o.mount=()=>e.parentNode,o.anchor=e,n=!0},p(e,n){pt(o,t=e,n)},i(t){n||(mt(o.block),n=!0)},o(t){for(let t=0;t<3;t+=1)ft(o.blocks[t]);n=!1},d(t){t&&O(e),o.block.d(t),o.token=null,o=null}}}(t);return{c(){e=N(),n=S("section"),o=S("l-container"),s&&s.c(),document.title="enablerr - Dashboard",B(o,"class","shadow"),B(o,"maxwidth","ld"),j(n,"class","svelte-i05i0l")},m(t,l){I(t,e,l),I(t,n,l),T(n,o),s&&s.m(o,null),r=!0},p(t,[e]){t[2]||s.p(t,e)},i(t){r||(mt(s),r=!0)},o(t){ft(s),r=!1},d(t){t&&O(e),t&&O(n),s&&s.d()}}}function tr(t,e,n){let o,s;E(t,l,(t=>n(6,s=t)));const{getModules:i,getDefaultLayout:a}=r,{loggedIn:c}=m;let d,f;E(t,c,(t=>n(5,o=t)));const g=-1!==window.location.search.indexOf("view=standalone");return[d,c,g,async function(){if(f=await r.getUserSettings(),!f?.setting){const t=Math.floor(1e3+9e3*Math.random()).toString();f=await r.saveDefaultSettings(o.user,t)}l.set(f),f.role&&u.set(f.role);const t=function(t){const e=[...t.task];return t.task=e.filter((t=>t.data?"Information"!==t.event.stream.task&&("WaitingForApproval"===t.status||!!t.workflow?.numberOfFollowers):!s.role?.length||(!t.event.authorization?.length||t.event.authorization.some((t=>s.role?.find((e=>e===t.role))))))),t}(await r.getTaskqueue(o.tenant)),e=t.task.map((t=>t.event.domain));let c=[...new Set(e)];c=c.sort(((t,e)=>{let n=t.toLowerCase(),o=e.toLowerCase();return n<o?-1:n>o?1:0}));let m=[...new Set(t.task.map((t=>t.event.designation)))];m=m.sort(((t,e)=>{let n=t.toLowerCase(),o=e.toLowerCase();return n<o?-1:n>o?1:0}));const{module:g,moduleList:p}=await async function(){const t=function(t){const e=a();if(!t?.setting?.dashboardLayout?.length)return e[0];const n=t.setting.dashboardLayout.filter((t=>t.activated&&t.days.includes(Jo().value)));if(null==n||0==n.length)return e[0];return n[0]}(s);let e=[];t&&(e=[].concat.apply([],t.moduleList?.map((t=>Number(t.moduleId)))));return{module:i(e),moduleList:t}}();return n(0,d=t),{domains:c,events:m,module:g,moduleList:p}}]}function er(t){let e,n,o;return{c(){e=A("svg"),n=A("circle"),o=A("path"),j(n,"cx","10"),j(n,"cy","10"),j(n,"r","9.5"),j(n,"fill","#FF8686"),j(n,"stroke","#383F51"),j(o,"d","M11.3281 3.91406L11.0542 12.3062H9.06201L8.77979 3.91406H11.3281ZM8.71338 14.9043C8.71338 14.5501 8.83512 14.2568 9.07861 14.0244C9.32764 13.7865 9.65413 13.6675 10.0581 13.6675C10.4676 13.6675 10.7941 13.7865 11.0376 14.0244C11.2811 14.2568 11.4028 14.5501 11.4028 14.9043C11.4028 15.2474 11.2811 15.5379 11.0376 15.7759C10.7941 16.0138 10.4676 16.1328 10.0581 16.1328C9.65413 16.1328 9.32764 16.0138 9.07861 15.7759C8.83512 15.5379 8.71338 15.2474 8.71338 14.9043Z"),j(o,"fill","#383F51"),j(e,"class",t[0]),H(e,"margin-left",t[1]),j(e,"width","20"),j(e,"height","20"),j(e,"viewBox","0 0 20 20"),j(e,"fill","none"),j(e,"xmlns","http://www.w3.org/2000/svg")},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"class",t[0]),2&n&&H(e,"margin-left",t[1])},i:b,o:b,d(t){t&&O(e)}}}function nr(t,e,n){let{css:o}=e,{margin:r}=e;return t.$$set=t=>{"css"in t&&n(0,o=t.css),"margin"in t&&n(1,r=t.margin)},[o,r]}function or(t){let e,n,o;return{c(){e=A("svg"),n=A("circle"),o=A("path"),j(n,"cx","10"),j(n,"cy","10"),j(n,"r","9.5"),j(n,"fill","#FFFFFF"),j(n,"stroke","#383F51"),j(o,"d","M11.3281 3.91406L11.0542 12.3062H9.06201L8.77979 3.91406H11.3281ZM8.71338 14.9043C8.71338 14.5501 8.83512 14.2568 9.07861 14.0244C9.32764 13.7865 9.65413 13.6675 10.0581 13.6675C10.4676 13.6675 10.7941 13.7865 11.0376 14.0244C11.2811 14.2568 11.4028 14.5501 11.4028 14.9043C11.4028 15.2474 11.2811 15.5379 11.0376 15.7759C10.7941 16.0138 10.4676 16.1328 10.0581 16.1328C9.65413 16.1328 9.32764 16.0138 9.07861 15.7759C8.83512 15.5379 8.71338 15.2474 8.71338 14.9043Z"),j(o,"fill","#383F51"),j(e,"class",t[0]),H(e,"margin-left",t[1]),j(e,"width","20"),j(e,"height","20"),j(e,"viewBox","0 0 20 20"),j(e,"fill","none"),j(e,"xmlns","http://www.w3.org/2000/svg")},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"class",t[0]),2&n&&H(e,"margin-left",t[1])},i:b,o:b,d(t){t&&O(e)}}}function rr(t,e,n){let{css:o}=e,{margin:r}=e;return t.$$set=t=>{"css"in t&&n(0,o=t.css),"margin"in t&&n(1,r=t.margin)},[o,r]}function sr(t){let e,n,o,r,s,l,i,a,c,d,u,m,f;return{c(){e=A("svg"),n=A("circle"),o=A("path"),r=A("ellipse"),s=A("ellipse"),l=A("ellipse"),i=A("ellipse"),a=A("ellipse"),c=A("ellipse"),d=A("ellipse"),u=A("ellipse"),m=A("ellipse"),f=A("ellipse"),j(n,"cx","41"),j(n,"cy","41"),j(n,"r","41"),j(n,"fill","#53C6D6"),j(o,"d","M59.3297 56.7273C62.706 62.5455 52.7918 64 41.6031 64C30.4144 64 20.5001 63.0303 22.1884 56.7273C22.1884 51.3939 27.8822 48 39.0709 48C50.2596 48 59.3297 51.3718 59.3297 56.7273Z"),j(o,"fill","#4F4F4F"),j(r,"cx","41"),j(r,"cy","50.5"),j(r,"rx","30"),j(r,"ry","9.5"),j(r,"fill","#828282"),j(s,"cx","31"),j(s,"cy","21.5"),j(s,"rx","5"),j(s,"ry","5.5"),j(s,"fill","#4F4F4F"),j(l,"cx","51"),j(l,"cy","21.5"),j(l,"rx","5"),j(l,"ry","5.5"),j(l,"fill","#4F4F4F"),j(i,"cx","40.5"),j(i,"cy","35"),j(i,"rx","19"),j(i,"ry","12.5"),j(i,"transform","rotate(-90 40.5 35)"),j(i,"fill","#828282"),j(a,"cx","30.5"),j(a,"cy","48.0002"),j(a,"rx","2.5"),j(a,"ry","3"),j(a,"transform","rotate(-27.8822 30.5 48.0002)"),j(a,"fill","#C4C4C4"),j(c,"cx","49.6651"),j(c,"cy","47.8481"),j(c,"rx","2.5"),j(c,"ry","3"),j(c,"transform","rotate(30 49.6651 47.8481)"),j(c,"fill","#C4C4C4"),j(d,"cx","36"),j(d,"cy","34.5"),j(d,"rx","2"),j(d,"ry","5.5"),j(d,"fill","#F2F2F2"),j(u,"cx","36"),j(u,"cy","37"),j(u,"rx","2"),j(u,"ry","3"),j(u,"fill","#4F4F4F"),j(m,"cx","44"),j(m,"cy","34.5"),j(m,"rx","2"),j(m,"ry","5.5"),j(m,"fill","#F2F2F2"),j(f,"cx","44"),j(f,"cy","37"),j(f,"rx","2"),j(f,"ry","3"),j(f,"fill","#4F4F4F"),j(e,"class",t[0]),H(e,"float",t[1]),j(e,"width","1.5em"),j(e,"height","1.5em"),j(e,"viewBox","0 0 82 82"),j(e,"fill","none"),j(e,"xmlns","http://www.w3.org/2000/svg")},m(t,g){I(t,e,g),T(e,n),T(e,o),T(e,r),T(e,s),T(e,l),T(e,i),T(e,a),T(e,c),T(e,d),T(e,u),T(e,m),T(e,f)},p(t,[n]){1&n&&j(e,"class",t[0]),2&n&&H(e,"float",t[1])},i:b,o:b,d(t){t&&O(e)}}}function lr(t,e,n){let{css:o}=e,{direction:r}=e;return t.$$set=t=>{"css"in t&&n(0,o=t.css),"direction"in t&&n(1,r=t.direction)},[o,r]}var ir={IconImportant:class extends Dt{constructor(t){super(),_t(this,t,nr,er,C,{css:0,margin:1})}},IconImportantDefault:class extends Dt{constructor(t){super(),_t(this,t,rr,or,C,{css:0,margin:1})}},IconAssistant:class extends Dt{constructor(t){super(),_t(this,t,lr,sr,C,{css:0,direction:1})}}};const ar=w({component:class extends Dt{constructor(t){var e;super(),document.getElementById("svelte-i05i0l-style")||((e=S("style")).id="svelte-i05i0l-style",e.textContent="section.svelte-i05i0l{margin-left:1.5em}",T(document.head,e)),_t(this,t,tr,Xo,C,{})}},domElementGetter:()=>document.getElementById("view-app")}),{bootstrap:cr,mount:dr,unmount:ur}=ar;t({bootstrap:cr,mount:dr,unmount:ur});t("Icon",ir)}}}));
|
|
1
|
+
System.register(["@enablerr-ui/layout","@enablerr-ui/form","@enablerr-ui/auth","@enablerr-ui/detail","@enablerr-ui/collab"],(function(t){"use strict";var e,n,o,r,s,l,i,a,c,d,u,m,f,g,p;return{setters:[function(t){e=t.getAttractions,n=t.getGrid,o=t.getGridHelp},function(t){r=t.Request,s=t.Storage,l=t.settings,i=t.task_notification,a=t.approval_notification,c=t.communication_notification,d=t.attachment_notification,u=t.currentRoles},function(t){m=t.user},function(t){f=t.List},function(t){g=t.SupportModule,p=t.ChatModule}],execute:function(){t("version","0.2.100");function $(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var v,h,x=(v=function(t,e){function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function o(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?n(Object(o),!0).forEach((function(e){r(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("object"!==s(t))throw new Error("single-spa-svelte requires a configuration object");var e=o(o({},l),t);if(!e.component)throw new Error("single-spa-svelte must be passed opts.component");var n={};return{bootstrap:i.bind(null,e,n),mount:a.bind(null,e,n),unmount:c.bind(null,e,n),update:d.bind(null,e,n)}};var l={component:null,domElementGetter:null,props:{}};function i(t){return Promise.resolve()}function a(t,e,n){var r=Object.keys(l),s=Object.keys(t).reduce((function(e,n){return r.includes(n)||(e[n]=t[n]),e}),{});return Promise.resolve().then((function(){var r=function(t,e){return(e=e&&e.customProps?e.customProps:e).domElement?function(){return e.domElement}:e.domElementGetter?function(){return e.domElementGetter(e)}:t.domElementGetter?function(){return t.domElementGetter(e)}:function(t){var e=t.appName||t.name;if(!e)throw Error("single-spa-svelte was not given an application name as a prop, so it can't make a unique dom element container for the svelte application");var n="single-spa-application:".concat(e);return function(){var t=document.getElementById(n);return t||((t=document.createElement("div")).id=n,document.body.appendChild(t)),t}}(e)}(t,n),l=r();e.instance=new t.component(o(o({},s),{},{target:l,props:Object.assign({},n,t.props)}))}))}function c(t,e){return Promise.resolve().then((function(){e.instance.$destroy?e.instance.$destroy():e.instance.destroy()}))}function d(t,e,n){return Promise.resolve().then((function(){e.instance.$set?e.instance.$set(n):e.instance.set(n)}))}},v(h={exports:{}},h.exports),h.exports),w=$(x);function b(){}function k(t){return t()}function y(){return Object.create(null)}function _(t){t.forEach(k)}function D(t){return"function"==typeof t}function C(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function E(t,e,n){t.$$.on_destroy.push(function(t,...e){if(null==t)return b;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}(e,n))}function z(t){return null==t?"":t}function T(t,e){t.appendChild(e)}function I(t,e,n){t.insertBefore(e,n||null)}function O(t){t.parentNode.removeChild(t)}function F(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function S(t){return document.createElement(t)}function A(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function P(t){return document.createTextNode(t)}function N(){return P(" ")}function W(){return P("")}function M(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function L(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function j(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function B(t,e,n){e in t?t[e]="boolean"==typeof t[e]&&""===n||n:j(t,e,n)}function q(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function U(t,e){t.value=null==e?"":e}function H(t,e,n,o){t.style.setProperty(e,n,o?"important":"")}function R(t,e,n){t.classList[n?"add":"remove"](e)}let V;function G(t){V=t}function J(){if(!V)throw new Error("Function called outside component initialization");return V}function Z(){const t=J();return(e,n)=>{const o=t.$$.callbacks[e];if(o){const r=function(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}(e,n);o.slice().forEach((e=>{e.call(t,r)}))}}}const Y=[],K=[],Q=[],X=[],tt=Promise.resolve();let et=!1;function nt(t){Q.push(t)}function ot(t){X.push(t)}let rt=!1;const st=new Set;function lt(){if(!rt){rt=!0;do{for(let t=0;t<Y.length;t+=1){const e=Y[t];G(e),it(e.$$)}for(G(null),Y.length=0;K.length;)K.pop()();for(let t=0;t<Q.length;t+=1){const e=Q[t];st.has(e)||(st.add(e),e())}Q.length=0}while(Y.length);for(;X.length;)X.pop()();et=!1,rt=!1,st.clear()}}function it(t){if(null!==t.fragment){t.update(),_(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(nt)}}const at=new Set;let ct;function dt(){ct={r:0,c:[],p:ct}}function ut(){ct.r||_(ct.c),ct=ct.p}function mt(t,e){t&&t.i&&(at.delete(t),t.i(e))}function ft(t,e,n,o){if(t&&t.o){if(at.has(t))return;at.add(t),ct&&ct.c.push((()=>{at.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}function gt(t,e){const n=e.token={};function o(t,o,r,s){if(e.token!==n)return;e.resolved=s;let l=e.ctx;void 0!==r&&(l=l.slice(),l[r]=s);const i=t&&(e.current=t)(l);let a=!1;e.block&&(e.blocks?e.blocks.forEach(((t,n)=>{n!==o&&t&&(dt(),ft(t,1,1,(()=>{e.blocks[n]===t&&(e.blocks[n]=null)})),ut())})):e.block.d(1),i.c(),mt(i,1),i.m(e.mount(),e.anchor),a=!0),e.block=i,e.blocks&&(e.blocks[o]=i),a&<()}if((r=t)&&"object"==typeof r&&"function"==typeof r.then){const n=J();if(t.then((t=>{G(n),o(e.then,1,e.value,t),G(null)}),(t=>{if(G(n),o(e.catch,2,e.error,t),G(null),!e.hasCatch)throw t})),e.current!==e.pending)return o(e.pending,0),!0}else{if(e.current!==e.then)return o(e.then,1,e.value,t),!0;e.resolved=t}var r}function pt(t,e,n){const o=e.slice(),{resolved:r}=t;t.current===t.then&&(o[t.value]=r),t.current===t.catch&&(o[t.error]=r),t.block.p(o,n)}const $t="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function vt(t,e){ft(t,1,1,(()=>{e.delete(t.key)}))}function ht(t,e,n,o,r,s,l,i,a,c,d,u){let m=t.length,f=s.length,g=m;const p={};for(;g--;)p[t[g].key]=g;const $=[],v=new Map,h=new Map;for(g=f;g--;){const t=u(r,s,g),i=n(t);let a=l.get(i);a?o&&a.p(t,e):(a=c(i,t),a.c()),v.set(i,$[g]=a),i in p&&h.set(i,Math.abs(g-p[i]))}const x=new Set,w=new Set;function b(t){mt(t,1),t.m(i,d),l.set(t.key,t),d=t.first,f--}for(;m&&f;){const e=$[f-1],n=t[m-1],o=e.key,r=n.key;e===n?(d=e.first,m--,f--):v.has(r)?!l.has(o)||x.has(o)?b(e):w.has(r)?m--:h.get(o)>h.get(r)?(w.add(o),b(e)):(x.add(r),m--):(a(n,l),m--)}for(;m--;){const e=t[m];v.has(e.key)||a(e,l)}for(;f;)b($[f-1]);return $}function xt(t,e,n){const o=t.$$.props[e];void 0!==o&&(t.$$.bound[o]=n,n(t.$$.ctx[o]))}function wt(t){t&&t.c()}function bt(t,e,n,o){const{fragment:r,on_mount:s,on_destroy:l,after_update:i}=t.$$;r&&r.m(e,n),o||nt((()=>{const e=s.map(k).filter(D);l?l.push(...e):_(e),t.$$.on_mount=[]})),i.forEach(nt)}function kt(t,e){const n=t.$$;null!==n.fragment&&(_(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function yt(t,e){-1===t.$$.dirty[0]&&(Y.push(t),et||(et=!0,tt.then(lt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function _t(t,e,n,o,r,s,l=[-1]){const i=V;G(t);const a=t.$$={fragment:null,ctx:null,props:s,update:b,not_equal:r,bound:y(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(i?i.$$.context:e.context||[]),callbacks:y(),dirty:l,skip_bound:!1};let c=!1;if(a.ctx=n?n(t,e.props||{},((e,n,...o)=>{const s=o.length?o[0]:n;return a.ctx&&r(a.ctx[e],a.ctx[e]=s)&&(!a.skip_bound&&a.bound[e]&&a.bound[e](s),c&&yt(t,e)),n})):[],a.update(),c=!0,_(a.before_update),a.fragment=!!o&&o(a.ctx),e.target){if(e.hydrate){const t=function(t){return Array.from(t.childNodes)}(e.target);a.fragment&&a.fragment.l(t),t.forEach(O)}else a.fragment&&a.fragment.c();e.intro&&mt(t.$$.fragment),bt(t,e.target,e.anchor,e.customElement),lt()}G(i)}class Dt{$destroy(){kt(this,1),this.$destroy=b}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function Ct(t){let e,n,o,r;return{c(){e=A("svg"),n=A("line"),o=A("polyline"),j(n,"x1","19"),j(n,"y1","12"),j(n,"x2","5"),j(n,"y2","12"),j(o,"points","12 19 5 12 12 5"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",r="feather feather-arrow-left "+t[2])},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&r!==(r="feather feather-arrow-left "+t[2])&&j(e,"class",r)},i:b,o:b,d(t){t&&O(e)}}}function Et(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class zt extends Dt{constructor(t){super(),_t(this,t,Et,Ct,C,{size:0,strokeWidth:1,class:2})}}function Tt(t){let e,n,o,r;return{c(){e=A("svg"),n=A("polyline"),o=A("path"),j(n,"points","9 11 12 14 22 4"),j(o,"d","M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",r="feather feather-check-square "+t[2])},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&r!==(r="feather feather-check-square "+t[2])&&j(e,"class",r)},i:b,o:b,d(t){t&&O(e)}}}function It(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Ot extends Dt{constructor(t){super(),_t(this,t,It,Tt,C,{size:0,strokeWidth:1,class:2})}}function Ft(t){let e,n,o;return{c(){e=A("svg"),n=A("polyline"),j(n,"points","6 9 12 15 18 9"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-chevron-down "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-chevron-down "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function St(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class At extends Dt{constructor(t){super(),_t(this,t,St,Ft,C,{size:0,strokeWidth:1,class:2})}}function Pt(t){let e,n,o,r,s;return{c(){e=A("svg"),n=A("path"),o=A("polyline"),r=A("line"),j(n,"d","M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"),j(o,"points","7 10 12 15 17 10"),j(r,"x1","12"),j(r,"y1","15"),j(r,"x2","12"),j(r,"y2","3"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",s="feather feather-download "+t[2])},m(t,s){I(t,e,s),T(e,n),T(e,o),T(e,r)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&s!==(s="feather feather-download "+t[2])&&j(e,"class",s)},i:b,o:b,d(t){t&&O(e)}}}function Nt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Wt extends Dt{constructor(t){super(),_t(this,t,Nt,Pt,C,{size:0,strokeWidth:1,class:2})}}function Mt(t){let e,n,o,r,s,l;return{c(){e=A("svg"),n=A("rect"),o=A("rect"),r=A("rect"),s=A("rect"),j(n,"x","3"),j(n,"y","3"),j(n,"width","7"),j(n,"height","7"),j(o,"x","14"),j(o,"y","3"),j(o,"width","7"),j(o,"height","7"),j(r,"x","14"),j(r,"y","14"),j(r,"width","7"),j(r,"height","7"),j(s,"x","3"),j(s,"y","14"),j(s,"width","7"),j(s,"height","7"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",l="feather feather-grid "+t[2])},m(t,l){I(t,e,l),T(e,n),T(e,o),T(e,r),T(e,s)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&l!==(l="feather feather-grid "+t[2])&&j(e,"class",l)},i:b,o:b,d(t){t&&O(e)}}}function Lt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class jt extends Dt{constructor(t){super(),_t(this,t,Lt,Mt,C,{size:0,strokeWidth:1,class:2})}}function Bt(t){let e,n,o,r,s,l,i,a;return{c(){e=A("svg"),n=A("line"),o=A("line"),r=A("line"),s=A("line"),l=A("line"),i=A("line"),j(n,"x1","8"),j(n,"y1","6"),j(n,"x2","21"),j(n,"y2","6"),j(o,"x1","8"),j(o,"y1","12"),j(o,"x2","21"),j(o,"y2","12"),j(r,"x1","8"),j(r,"y1","18"),j(r,"x2","21"),j(r,"y2","18"),j(s,"x1","3"),j(s,"y1","6"),j(s,"x2","3.01"),j(s,"y2","6"),j(l,"x1","3"),j(l,"y1","12"),j(l,"x2","3.01"),j(l,"y2","12"),j(i,"x1","3"),j(i,"y1","18"),j(i,"x2","3.01"),j(i,"y2","18"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",a="feather feather-list "+t[2])},m(t,a){I(t,e,a),T(e,n),T(e,o),T(e,r),T(e,s),T(e,l),T(e,i)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&a!==(a="feather feather-list "+t[2])&&j(e,"class",a)},i:b,o:b,d(t){t&&O(e)}}}function qt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Ut extends Dt{constructor(t){super(),_t(this,t,qt,Bt,C,{size:0,strokeWidth:1,class:2})}}function Ht(t){let e,n,o;return{c(){e=A("svg"),n=A("path"),j(n,"d","M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-maximize "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-maximize "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function Rt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Vt extends Dt{constructor(t){super(),_t(this,t,Rt,Ht,C,{size:0,strokeWidth:1,class:2})}}function Gt(t){let e,n,o;return{c(){e=A("svg"),n=A("path"),j(n,"d","M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-message-circle "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-message-circle "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function Jt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Zt extends Dt{constructor(t){super(),_t(this,t,Jt,Gt,C,{size:0,strokeWidth:1,class:2})}}function Yt(t){let e,n,o;return{c(){e=A("svg"),n=A("path"),j(n,"d","M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-minimize "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-minimize "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function Kt(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class Qt extends Dt{constructor(t){super(),_t(this,t,Kt,Yt,C,{size:0,strokeWidth:1,class:2})}}function Xt(t){let e,n,o,r;return{c(){e=A("svg"),n=A("line"),o=A("line"),j(n,"x1","12"),j(n,"y1","5"),j(n,"x2","12"),j(n,"y2","19"),j(o,"x1","5"),j(o,"y1","12"),j(o,"x2","19"),j(o,"y2","12"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",r="feather feather-plus "+t[2])},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&r!==(r="feather feather-plus "+t[2])&&j(e,"class",r)},i:b,o:b,d(t){t&&O(e)}}}function te(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class ee extends Dt{constructor(t){super(),_t(this,t,te,Xt,C,{size:0,strokeWidth:1,class:2})}}function ne(t){let e,n,o;return{c(){e=A("svg"),n=A("path"),j(n,"d","M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",o="feather feather-triangle "+t[2])},m(t,o){I(t,e,o),T(e,n)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&o!==(o="feather feather-triangle "+t[2])&&j(e,"class",o)},i:b,o:b,d(t){t&&O(e)}}}function oe(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class re extends Dt{constructor(t){super(),_t(this,t,oe,ne,C,{size:0,strokeWidth:1,class:2})}}function se(t){let e,n,o,r;return{c(){e=A("svg"),n=A("line"),o=A("line"),j(n,"x1","18"),j(n,"y1","6"),j(n,"x2","6"),j(n,"y2","18"),j(o,"x1","6"),j(o,"y1","6"),j(o,"x2","18"),j(o,"y2","18"),j(e,"xmlns","http://www.w3.org/2000/svg"),j(e,"width",t[0]),j(e,"height",t[0]),j(e,"fill","none"),j(e,"viewBox","0 0 24 24"),j(e,"stroke","currentColor"),j(e,"stroke-width",t[1]),j(e,"stroke-linecap","round"),j(e,"stroke-linejoin","round"),j(e,"class",r="feather feather-x "+t[2])},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"width",t[0]),1&n&&j(e,"height",t[0]),2&n&&j(e,"stroke-width",t[1]),4&n&&r!==(r="feather feather-x "+t[2])&&j(e,"class",r)},i:b,o:b,d(t){t&&O(e)}}}function le(t,e,n){let{size:o="100%"}=e,{strokeWidth:r=2}=e,{class:s=""}=e;return"100%"!==o&&(o="x"===o.slice(-1)?o.slice(0,o.length-1)+"em":parseInt(o)+"px"),t.$$set=t=>{"size"in t&&n(0,o=t.size),"strokeWidth"in t&&n(1,r=t.strokeWidth),"class"in t&&n(2,s=t.class)},[o,r,s]}class ie extends Dt{constructor(t){super(),_t(this,t,le,se,C,{size:0,strokeWidth:1,class:2})}}const ae=(t,e)=>{const n={...e};return(t.display?.reduce(((e,o)=>{let[r,s]=o.split(".");if(t.list?.find((({name:t})=>t===r))&&s&&void 0!==n[r]){const t=`${r}_${s}`;n[t]=n[r][s],r=t}return e.find((t=>t===r))||e.push(r),e}),[]).map((t=>{return"string"!=typeof(e=n["_"+t]||n[t])||e.length<20||!(o=e.split(" · "))?e:o.map((t=>2===t.split("T").length&&3===t.split("T")[0].split("-").length?new Date(t).toLocaleDateString():t)).filter((t=>!!t)).join(" · ");var e,o}))||t.items.map((t=>"object"===t.type?e["_"+t.name]:"list"===t.type?"":e[t.name]))).map((t=>t?.split(" · ").filter((t=>!!t)).join(" · "))).filter((t=>!!t)).join(" • ")};function ce(t){let e,n,o,r;return{c(){e=A("svg"),n=A("circle"),o=A("circle"),r=A("path"),j(n,"cx","165"),j(n,"cy","30"),j(n,"r","24"),j(n,"stroke","currentColor"),j(n,"stroke-width","12"),j(o,"cx","30"),j(o,"cy","30"),j(o,"r","24"),j(o,"stroke","currentColor"),j(o,"stroke-width","12"),j(r,"d","M129.828 32.8284C131.391 31.2663 131.391 28.7337 129.828 27.1716L104.373 1.71573C102.81 0.153633 100.278 0.153633 98.7157 1.71573C97.1536 3.27783 97.1536 5.81049 98.7157 7.37258L121.343 30L98.7157 52.6274C97.1536 54.1895 97.1536 56.7222 98.7157 58.2843C100.278 59.8464 102.81 59.8464 104.373 58.2843L129.828 32.8284ZM60 34L127 34V26L60 26V34Z"),j(r,"fill","currentColor"),j(e,"width","20"),j(e,"height","20"),j(e,"viewBox","0 0 195 60"),j(e,"fill","none"),j(e,"xmlns","http://www.w3.org/2000/svg")},m(t,s){I(t,e,s),T(e,n),T(e,o),T(e,r)},p:b,i:b,o:b,d(t){t&&O(e)}}}class de extends Dt{constructor(t){super(),_t(this,t,null,ce,C,{})}}function ue(t){let e,n,o;var r=t[3];return r&&(e=new r({props:{size:"20"}})),{c(){e&&wt(e.$$.fragment),n=W()},m(t,r){e&&bt(e,t,r),I(t,n,r),o=!0},p(t,o){if(r!==(r=t[3])){if(e){dt();const t=e;ft(t.$$.fragment,1,0,(()=>{kt(t,1)})),ut()}r?(e=new r({props:{size:"20"}}),wt(e.$$.fragment),mt(e.$$.fragment,1),bt(e,n.parentNode,n)):e=null}},i(t){o||(e&&mt(e.$$.fragment,t),o=!0)},o(t){e&&ft(e.$$.fragment,t),o=!1},d(t){t&&O(n),e&&kt(e,t)}}}function me(t){let e,n;return e=new t[5]({props:{class:"btnChip",small:!0,noPadding:!0,$$slots:{default:[fe]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};144&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function fe(t){let e;return{c(){e=P(t[4])},m(t,n){I(t,e,n)},p(t,n){16&n&&q(e,t[4])},d(t){t&&O(e)}}}function ge(t){let e,n,o,r,s,l=t[3]&&ue(t),i=t[4]&&me(t);return{c(){e=S("button"),l&&l.c(),n=N(),i&&i.c(),j(e,"title",t[0]),j(e,"class","action-btns svelte-1eqq678"),R(e,"btn-workflow",t[1]),R(e,"btn-highlight",t[2])},m(a,c){I(a,e,c),l&&l.m(e,null),T(e,n),i&&i.m(e,null),o=!0,r||(s=M(e,"click",L(t[6])),r=!0)},p(t,[r]){t[3]?l?(l.p(t,r),8&r&&mt(l,1)):(l=ue(t),l.c(),mt(l,1),l.m(e,n)):l&&(dt(),ft(l,1,1,(()=>{l=null})),ut()),t[4]?i?(i.p(t,r),16&r&&mt(i,1)):(i=me(t),i.c(),mt(i,1),i.m(e,null)):i&&(dt(),ft(i,1,1,(()=>{i=null})),ut()),(!o||1&r)&&j(e,"title",t[0]),2&r&&R(e,"btn-workflow",t[1]),4&r&&R(e,"btn-highlight",t[2])},i(t){o||(mt(l),mt(i),o=!0)},o(t){ft(l),ft(i),o=!1},d(t){t&&O(e),l&&l.d(),i&&i.d(),r=!1,s()}}}function pe(t,n,o){const{Chip:r}=e;let{title:s=""}=n,{btnWorkflow:l=!1}=n,{btnHighlight:i=!1}=n,{iconComponent:a}=n,{chipContent:c=!1}=n;return t.$$set=t=>{"title"in t&&o(0,s=t.title),"btnWorkflow"in t&&o(1,l=t.btnWorkflow),"btnHighlight"in t&&o(2,i=t.btnHighlight),"iconComponent"in t&&o(3,a=t.iconComponent),"chipContent"in t&&o(4,c=t.chipContent)},[s,l,i,a,c,r,function(e){!function(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach((t=>t(e)))}(t,e)}]}class $e extends Dt{constructor(t){var e;super(),document.getElementById("svelte-1eqq678-style")||((e=S("style")).id="svelte-1eqq678-style",e.textContent=".action-btns.svelte-1eqq678{align-items:center;cursor:pointer;display:flex;font-weight:500;outline:none;background:none;border-radius:1.5625em;font-size:1rem;padding:0.5em 0.8em;border:1px solid #326173;color:#326173;position:relative}.action-btns.svelte-1eqq678 .btnChip{position:absolute;padding:0.2em !important;min-width:1.2em !important;background-color:white !important;font-style:italic;border:1px solid black;color:#111212 !important;font-weight:800 !important;font-size:0.8em !important;transform:translate(18px, -10px)}.action-btns.svelte-1eqq678:hover,.action-btns.svelte-1eqq678:focus{background:rgba(50, 97, 115, 0.05)}.btn-workflow.svelte-1eqq678{background-color:#dfaff9}.btn-workflow.svelte-1eqq678:hover{background-color:hsl(279deg, 100%, 83%)}.btn-highlight.svelte-1eqq678{background-color:#afeeee}.btn-highlight.svelte-1eqq678:hover{background-color:hsl(180deg, 100%, 80%)}",T(document.head,e)),_t(this,t,pe,ge,C,{title:0,btnWorkflow:1,btnHighlight:2,iconComponent:3,chipContent:4})}}function ve(t){let e;return{c(){e=P(t[2])},m(t,n){I(t,e,n)},p(t,n){4&n&&q(e,t[2])},d(t){t&&O(e)}}}function he(t){let e,n=t[0].priority+"";return{c(){e=P(n)},m(t,n){I(t,e,n)},p(t,o){1&o&&n!==(n=t[0].priority+"")&&q(e,n)},d(t){t&&O(e)}}}function xe(t){let e,n,o,r,s,l,i,a=t[0].event.approval&&be(t);return n=new $e({props:{title:t[3].title,btnWorkflow:1===t[3].numberOfFollowers,btnHighlight:t[3].numberOfFollowers>1,iconComponent:de,chipContent:t[3].numberOfFollowers}}),n.$on("click",t[11]),r=new $e({props:{title:"Unterhaltung",btnHighlight:t[0].chat,iconComponent:Zt,chipContent:t[0].chat}}),r.$on("click",t[12]),l=new $e({props:{title:"Dokumente",btnHighlight:t[0].report,iconComponent:Wt,chipContent:t[0].report}}),l.$on("click",t[13]),{c(){a&&a.c(),e=N(),wt(n.$$.fragment),o=N(),wt(r.$$.fragment),s=N(),wt(l.$$.fragment)},m(t,c){a&&a.m(t,c),I(t,e,c),bt(n,t,c),I(t,o,c),bt(r,t,c),I(t,s,c),bt(l,t,c),i=!0},p(t,n){t[0].event.approval?a?(a.p(t,n),1&n&&mt(a,1)):(a=be(t),a.c(),mt(a,1),a.m(e.parentNode,e)):a&&(dt(),ft(a,1,1,(()=>{a=null})),ut());const o={};1&n&&(o.btnHighlight=t[0].chat),1&n&&(o.chipContent=t[0].chat),r.$set(o);const s={};1&n&&(s.btnHighlight=t[0].report),1&n&&(s.chipContent=t[0].report),l.$set(s)},i(t){i||(mt(a),mt(n.$$.fragment,t),mt(r.$$.fragment,t),mt(l.$$.fragment,t),i=!0)},o(t){ft(a),ft(n.$$.fragment,t),ft(r.$$.fragment,t),ft(l.$$.fragment,t),i=!1},d(t){a&&a.d(t),t&&O(e),kt(n,t),t&&O(o),kt(r,t),t&&O(s),kt(l,t)}}}function we(t){let e,n,o,r;return e=new $e({props:{title:"Neuer Task",iconComponent:ee}}),e.$on("click",t[8]),o=new $e({props:{title:"Liste der Tasks",iconComponent:Ut}}),o.$on("click",t[9]),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function be(t){let e,n;return e=new $e({props:{title:"Visum",btnHighlight:!t[0].approval,iconComponent:Ot}}),e.$on("click",t[10]),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.btnHighlight=!t[0].approval),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function ke(t){let e,n,o,r,s,l,i,a,c,d,u,m,f,g,p,$,v,h,x,w,b,k,y,_,D,C,E=ye(t[0])+"",F=t[0].event.domain+"",A=t[0].dueDate&&new Date(t[0].dueDate).getFullYear()<3e3,W=A&&ve(t),B=t[0].priority<4&&he(t);const U=[we,xe],H=[];function R(t,e){return null===t[0].data?0:1}return b=R(t),k=H[b]=U[b](t),{c(){e=S("tr"),n=S("td"),r=N(),s=S("td"),l=S("h4"),i=P(E),a=N(),c=S("td"),d=P(F),u=N(),m=S("td"),f=S("div"),W&&W.c(),g=N(),p=S("div"),$=N(),v=S("td"),B&&B.c(),h=N(),x=S("td"),w=S("div"),k.c(),j(n,"class",o="domain domain_"+t[1].indexOf(t[0].event.domain)+" svelte-1ua34uw"),j(l,"class","task_name svelte-1ua34uw"),j(s,"title",t[7]()),j(s,"class","svelte-1ua34uw"),j(c,"class","svelte-1ua34uw"),j(f,"class","display-full svelte-1ua34uw"),j(m,"class","svelte-1ua34uw"),j(v,"class","txt-center svelte-1ua34uw"),j(w,"class","action-column--container display-full svelte-1ua34uw"),j(x,"class","action-column svelte-1ua34uw"),j(e,"class",y=z(null===t[0].data?"empty lined":"lined")+" svelte-1ua34uw")},m(o,k){I(o,e,k),T(e,n),T(e,r),T(e,s),T(s,l),T(l,i),T(e,a),T(e,c),T(c,d),T(e,u),T(e,m),T(m,f),W&&W.m(f,null),T(f,g),T(f,p),T(e,$),T(e,v),B&&B.m(v,null),T(e,h),T(e,x),T(x,w),H[b].m(w,null),_=!0,D||(C=M(e,"click",L(t[14])),D=!0)},p(t,[r]){(!_||3&r&&o!==(o="domain domain_"+t[1].indexOf(t[0].event.domain)+" svelte-1ua34uw"))&&j(n,"class",o),(!_||1&r)&&E!==(E=ye(t[0])+"")&&q(i,E),(!_||1&r)&&F!==(F=t[0].event.domain+"")&&q(d,F),1&r&&(A=t[0].dueDate&&new Date(t[0].dueDate).getFullYear()<3e3),A?W?W.p(t,r):(W=ve(t),W.c(),W.m(f,g)):W&&(W.d(1),W=null),t[0].priority<4?B?B.p(t,r):(B=he(t),B.c(),B.m(v,null)):B&&(B.d(1),B=null);let s=b;b=R(t),b===s?H[b].p(t,r):(dt(),ft(H[s],1,1,(()=>{H[s]=null})),ut(),k=H[b],k?k.p(t,r):(k=H[b]=U[b](t),k.c()),mt(k,1),k.m(w,null)),(!_||1&r&&y!==(y=z(null===t[0].data?"empty lined":"lined")+" svelte-1ua34uw"))&&j(e,"class",y)},i(t){_||(mt(k),_=!0)},o(t){ft(k),_=!1},d(t){t&&O(e),W&&W.d(),B&&B.d(),H[b].d(),D=!1,C()}}}const ye=t=>t.data?.item?ae(t.schema,t.data.item):t.event?.title;function _e(t,e,n){let o;const l=Z();let{task:i}=e,{domains:a}=e;const c={title:1===i.workflow?.numberOfFollowers?i.workflow.designation:"Nachfolge Tasks",numberOfFollowers:i.workflow?i.workflow.numberOfFollowers:0};function d(t,e){l("rowClicked",{task:t,tab:e})}function u(t){d(t,1===c.numberOfFollowers?`task/${t.workflow.id}`:"workflow")}async function m(t){const e=await r.getTasksList(t);let n=e.data;const o=e.schema,s=o.identity.designation,a=o.class;let c=[],d=o.display;d&&d.length?d.map((t=>{const[e,r]=t.split(".");let s=o.list?.find((t=>t.name===e))?.item.find((t=>t.name===r));s&&(s={...s},s.name=`${e}_${r}`,n=n.map((t=>(t[e]&&(t[s.name]=t[e][r]),t)))),s||(s=o.items.find((t=>t.name===e))),c.find((t=>t?.name===e))||c.push(s)})):c=o.items,l("viewTaskList",{task:i,list:n,className:a,items:c,title:s})}const f={weekday:"short",year:"numeric",month:"short",day:"numeric"};return t.$$set=t=>{"task"in t&&n(0,i=t.task),"domains"in t&&n(1,a=t.domains)},t.$$.update=()=>{1&t.$$.dirty&&n(2,o=function(t){const e=new Date(t),n=JSON.parse(s.getItem("Locale"));return e.toLocaleDateString(n.id,f)}(i?.dueDate))},[i,a,o,c,d,u,m,()=>i.data?i.event.title:"",()=>d(i,"task"),()=>m(i.event.id),()=>d(i,"visum"),()=>u(i),()=>d(i,"collab"),()=>d(i,"report"),()=>d(i,"task")]}class De extends Dt{constructor(t){var e;super(),document.getElementById("svelte-1ua34uw-style")||((e=S("style")).id="svelte-1ua34uw-style",e.textContent="td.svelte-1ua34uw.svelte-1ua34uw{padding:0 0.5em 0 1em;border-bottom:1px solid #ccc;vertical-align:middle}tr.svelte-1ua34uw.svelte-1ua34uw:hover{cursor:zoom-in}.lined.svelte-1ua34uw.svelte-1ua34uw:nth-child(2n){background-color:#eee}.lined.svelte-1ua34uw.svelte-1ua34uw:nth-child(2n+1){background-color:#f7f7f7}.lined.svelte-1ua34uw.svelte-1ua34uw:hover{background-color:#ddd}.empty.svelte-1ua34uw.svelte-1ua34uw{background-color:#f7f7f7;font-style:italic}.task_name.svelte-1ua34uw.svelte-1ua34uw{display:inline-flex}.display-full.svelte-1ua34uw.svelte-1ua34uw{width:max-content}.action-column.svelte-1ua34uw .action-column--container.svelte-1ua34uw{display:flex;flex-flow:row wrap;gap:0.4em}.domain.svelte-1ua34uw.svelte-1ua34uw{width:1em;padding:0 !important}.domain_0.svelte-1ua34uw.svelte-1ua34uw{background-color:#A9C0CE}.domain_1.svelte-1ua34uw.svelte-1ua34uw{background-color:#7E7F80}.domain_2.svelte-1ua34uw.svelte-1ua34uw{background-color:#55C1D9}.domain_3.svelte-1ua34uw.svelte-1ua34uw{background-color:#66A649}.domain_4.svelte-1ua34uw.svelte-1ua34uw{background-color:#F2CF63}.domain_5.svelte-1ua34uw.svelte-1ua34uw{background-color:#BF5A50}.txt-center.svelte-1ua34uw.svelte-1ua34uw{text-align:center}",T(document.head,e)),_t(this,t,_e,ke,C,{task:0,domains:1})}}function Ce(t){let e,n,o,r,s,l=t[4](t[0])+"";return{c(){e=S("div"),o=N(),r=S("div"),s=P(l),j(e,"class",n="domain_card domain_card_"+t[1].indexOf(t[0].event.domain)+" svelte-4fixfb"),j(r,"title",t[3]()),j(r,"class","task_name svelte-4fixfb")},m(t,n){I(t,e,n),I(t,o,n),I(t,r,n),T(r,s)},p(t,o){3&o&&n!==(n="domain_card domain_card_"+t[1].indexOf(t[0].event.domain)+" svelte-4fixfb")&&j(e,"class",n),1&o&&l!==(l=t[4](t[0])+"")&&q(s,l)},d(t){t&&O(e),t&&O(o),t&&O(r)}}}function Ee(t){let e,n,o,r,s;return n=new t[2]({props:{class:"lined taskCard",$$slots:{default:[Ce]},$$scope:{ctx:t}}}),{c(){e=S("div"),wt(n.$$.fragment),j(e,"class","click_div svelte-4fixfb")},m(l,i){I(l,e,i),bt(n,e,null),o=!0,r||(s=M(e,"click",t[5]),r=!0)},p(t,[e]){const o={};67&e&&(o.$$scope={dirty:e,ctx:t}),n.$set(o)},i(t){o||(mt(n.$$.fragment,t),o=!0)},o(t){ft(n.$$.fragment,t),o=!1},d(t){t&&O(e),kt(n),r=!1,s()}}}function ze(t,n,o){let{task:r}=n,{domains:s}=n;const{Card:l}=e;return t.$$set=t=>{"task"in t&&o(0,r=t.task),"domains"in t&&o(1,s=t.domains)},[r,s,l,()=>r.data?r.event.title:"",()=>{const t=ye(r);return t.length<57?t:t.slice(0,57)+"..."},()=>function(t){window.singleSpaNavigate(`/task/${t.event.id}/${t.id}/task`)}(r)]}class Te extends Dt{constructor(t){var e;super(),document.getElementById("svelte-4fixfb-style")||((e=S("style")).id="svelte-4fixfb-style",e.textContent=".task_name.svelte-4fixfb{font-weight:bold;text-align:center;margin:auto;word-wrap:break-word;max-width:100%}.click_div.svelte-4fixfb{align-content:space-between;justify-content:center;display:inline-flex;cursor:pointer;height:fit-content;width:fit-content}.taskCard{width:10em;height:8em;margin:1em;display:flex;position:relative}.domain_card.svelte-4fixfb{position:absolute;top:0;left:0;height:2.3em;width:13em}.domain_card_0.svelte-4fixfb{background-color:#A9C0CE}.domain_card_1.svelte-4fixfb{background-color:#7E7F80}.domain_card_2.svelte-4fixfb{background-color:#55C1D9}.domain_card_3.svelte-4fixfb{background-color:#66A649}.domain_card_4.svelte-4fixfb{background-color:#F2CF63}.domain_card_5.svelte-4fixfb{background-color:#BF5A50}",T(document.head,e)),_t(this,t,ze,Ee,C,{task:0,domains:1})}}const{Map:Ie,document:Oe}=$t;function Fe(t,e,n){const o=t.slice();return o[75]=e[n],o}function Se(t,e,n){const o=t.slice();return o[75]=e[n],o}function Ae(t,e,n){const o=t.slice();return o[81]=e[n],o}function Pe(t,e,n){const o=t.slice();return o[84]=e[n],o}function Ne(t,e,n){const o=t.slice();return o[87]=e[n],o}function We(t){let e,n;return e=new Qt({props:{size:"24"}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Me(t){let e,n;return e=new Vt({props:{size:"24"}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Le(t){let e,n,o,r;const s=[Me,We],l=[];function i(t,e){return t[11]?1:0}return e=i(t),n=l[e]=s[e](t),{c(){n.c(),o=W()},m(t,n){l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut(),n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o))},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){l[e].d(t),t&&O(o)}}}function je(t){let e,n;return e=new t[24]({props:{$$slots:{default:[He,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};1&n[0]|268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Be(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Domain\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[44]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function qe(t){let e,n,o,r,s,l,i,a,c,d,u,m=t[87]+"";return{c(){e=S("input"),r=N(),s=S("label"),l=P(m),i=N(),j(e,"class",n="checkbox-tools domain-border--"+t[0].indexOf(t[87])+" svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].DOMAIN),j(e,"id",o=t[87]),j(s,"class",a="for-checkbox-tools domain-border domain-border--"+t[0].indexOf(t[87])+" svelte-8gvx0m"),j(s,"for",c=t[87])},m(n,o){I(n,e,o),I(n,r,o),I(n,s,o),T(s,l),T(s,i),d||(u=M(e,"change",t[37]),d=!0)},p(t,r){1&r[0]&&n!==(n="checkbox-tools domain-border--"+t[0].indexOf(t[87])+" svelte-8gvx0m")&&j(e,"class",n),1&r[0]&&o!==(o=t[87])&&j(e,"id",o),1&r[0]&&m!==(m=t[87]+"")&&q(l,m),1&r[0]&&a!==(a="for-checkbox-tools domain-border domain-border--"+t[0].indexOf(t[87])+" svelte-8gvx0m")&&j(s,"class",a),1&r[0]&&c!==(c=t[87])&&j(s,"for",c)},d(t){t&&O(e),t&&O(r),t&&O(s),d=!1,u()}}}function Ue(t){let e,n=t[0],o=[];for(let e=0;e<n.length;e+=1)o[e]=qe(Ne(t,n,e));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=W()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);I(t,e,n)},p(t,r){if(134217729&r[0]|64&r[1]){let s;for(n=t[0],s=0;s<n.length;s+=1){const l=Ne(t,n,s);o[s]?o[s].p(l,r):(o[s]=qe(l),o[s].c(),o[s].m(e.parentNode,e))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}},d(t){F(o,t),t&&O(e)}}}function He(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].DOMAIN,$$slots:{default:[Be]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[Ue]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};1&r[0]|268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Re(t){let e,n;return e=new t[24]({props:{$$slots:{default:[Ze,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};2&n[0]|268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Ve(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Ereignis\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[45]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function Ge(t){let e,n,o,r,s,l,i,a,c,d,u,m=t[84]+"";return{c(){e=S("input"),r=N(),s=S("label"),l=P(m),i=N(),j(e,"class",n="checkbox-tools domain-border--"+t[1].indexOf(t[84])+" svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].EVENT),j(e,"id",o=t[84]),j(s,"class",a="for-checkbox-tools domain-border domain-border--"+t[1].indexOf(t[84])+" svelte-8gvx0m"),j(s,"for",c=t[84])},m(n,o){I(n,e,o),I(n,r,o),I(n,s,o),T(s,l),T(s,i),d||(u=M(e,"change",t[37]),d=!0)},p(t,r){2&r[0]&&n!==(n="checkbox-tools domain-border--"+t[1].indexOf(t[84])+" svelte-8gvx0m")&&j(e,"class",n),2&r[0]&&o!==(o=t[84])&&j(e,"id",o),2&r[0]&&m!==(m=t[84]+"")&&q(l,m),2&r[0]&&a!==(a="for-checkbox-tools domain-border domain-border--"+t[1].indexOf(t[84])+" svelte-8gvx0m")&&j(s,"class",a),2&r[0]&&c!==(c=t[84])&&j(s,"for",c)},d(t){t&&O(e),t&&O(r),t&&O(s),d=!1,u()}}}function Je(t){let e,n=t[1],o=[];for(let e=0;e<n.length;e+=1)o[e]=Ge(Pe(t,n,e));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=W()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);I(t,e,n)},p(t,r){if(134217730&r[0]|64&r[1]){let s;for(n=t[1],s=0;s<n.length;s+=1){const l=Pe(t,n,s);o[s]?o[s].p(l,r):(o[s]=Ge(l),o[s].c(),o[s].m(e.parentNode,e))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}},d(t){F(o,t),t&&O(e)}}}function Ze(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].EVENT,$$slots:{default:[Ve]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[Je]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};2&r[0]|268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Ye(t){let e,n;return e=new t[24]({props:{$$slots:{default:[nn,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Ke(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Status\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[46]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function Qe(t){let e,n,o,r,s;return{c(){e=S("input"),n=N(),o=S("label"),o.textContent="Vorlage\n ",j(e,"class","checkbox-tools svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].STATUS),j(e,"id","vorlage"),j(o,"class","for-checkbox-tools svelte-8gvx0m"),j(o,"for","vorlage")},m(l,i){I(l,e,i),I(l,n,i),I(l,o,i),r||(s=M(e,"change",t[37]),r=!0)},p:b,d(t){t&&O(e),t&&O(n),t&&O(o),r=!1,s()}}}function Xe(t){let e,n,o,r,s,l,i,a=t[81]+"";return{c(){e=S("input"),n=N(),o=S("label"),r=P(a),s=N(),j(e,"class","checkbox-tools svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].STATUS),j(e,"id",t[81]),j(o,"class","for-checkbox-tools svelte-8gvx0m"),j(o,"for",t[81])},m(a,c){I(a,e,c),I(a,n,c),I(a,o,c),T(o,r),T(o,s),l||(i=M(e,"change",t[37]),l=!0)},p:b,d(t){t&&O(e),t&&O(n),t&&O(o),l=!1,i()}}}function tn(t){let e;let n=function(t,e){return t[81]?Xe:Qe}(t),o=n(t);return{c(){o.c(),e=W()},m(t,n){o.m(t,n),I(t,e,n)},p(t,e){o.p(t,e)},d(t){o.d(t),t&&O(e)}}}function en(t){let e,n=t[28].size>0&&function(t){let e,n=[...t[28]],o=[];for(let e=0;e<n.length;e+=1)o[e]=tn(Ae(t,n,e));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=W()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);I(t,e,n)},p(t,r){if(402653184&r[0]|64&r[1]){let s;for(n=[...t[28]],s=0;s<n.length;s+=1){const l=Ae(t,n,s);o[s]?o[s].p(l,r):(o[s]=tn(l),o[s].c(),o[s].m(e.parentNode,e))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}},d(t){F(o,t),t&&O(e)}}}(t);return{c(){n&&n.c(),e=W()},m(t,o){n&&n.m(t,o),I(t,e,o)},p(t,e){t[28].size>0&&n.p(t,e)},d(t){n&&n.d(t),t&&O(e)}}}function nn(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].STATUS,$$slots:{default:[Ke]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[en]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function on(t){let e,n;return e=new t[24]({props:{$$slots:{default:[ln,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function rn(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Prio\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[47]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function sn(t){let e,n,o,r,s,l,i,a,c,d,u,m,f;return{c(){e=S("input"),n=N(),o=S("label"),o.textContent="1",r=N(),s=S("input"),l=N(),i=S("label"),i.textContent="2",a=N(),c=S("input"),d=N(),u=S("label"),u.textContent="3",j(e,"class","checkbox-tools prio1 svelte-8gvx0m"),j(e,"type","checkbox"),j(e,"name",t[27].PRIO),j(e,"id","1"),j(o,"class","for-checkbox-tools prio prio1 svelte-8gvx0m"),j(o,"for","1"),j(s,"class","checkbox-tools prio2 svelte-8gvx0m"),j(s,"type","checkbox"),j(s,"name",t[27].PRIO),j(s,"id","2"),j(i,"class","for-checkbox-tools prio prio2 svelte-8gvx0m"),j(i,"for","2"),j(c,"class","checkbox-tools prio3 svelte-8gvx0m"),j(c,"type","checkbox"),j(c,"name",t[27].PRIO),j(c,"id","3"),j(u,"class","for-checkbox-tools prio prio3 svelte-8gvx0m"),j(u,"for","3")},m(g,p){I(g,e,p),I(g,n,p),I(g,o,p),I(g,r,p),I(g,s,p),I(g,l,p),I(g,i,p),I(g,a,p),I(g,c,p),I(g,d,p),I(g,u,p),m||(f=[M(e,"change",t[37]),M(s,"change",t[37]),M(c,"change",t[37])],m=!0)},p:b,d(t){t&&O(e),t&&O(n),t&&O(o),t&&O(r),t&&O(s),t&&O(l),t&&O(i),t&&O(a),t&&O(c),t&&O(d),t&&O(u),m=!1,_(f)}}}function ln(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].PRIO,$$slots:{default:[rn]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[sn]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function an(t){let e,n;return e=new t[24]({props:{$$slots:{default:[un,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};8192&n[0]|268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function cn(t){let e,n,o,r,s,l,i;return n=new ie({props:{size:"24",class:"ml"}}),r=new At({props:{size:"24",class:"ml dropdown-chevron"}}),{c(){e=S("div"),wt(n.$$.fragment),o=P("\n Fälligkeit\n "),wt(r.$$.fragment),j(e,"class","filter_button--icon svelte-8gvx0m")},m(a,c){I(a,e,c),bt(n,e,null),I(a,o,c),bt(r,a,c),s=!0,l||(i=M(e,"click",t[48]),l=!0)},p:b,i(t){s||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),s=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(n),t&&O(o),kt(r,t),l=!1,i()}}}function dn(t){let e,n,o;function r(e){t[49](e)}let s={range:!0,below:!0};return void 0!==t[13]&&(s.value=t[13]),e=new t[26]({props:s}),K.push((()=>xt(e,"value",r))),e.$on("change",t[37]),{c(){wt(e.$$.fragment)},m(t,n){bt(e,t,n),o=!0},p(t,o){const r={};!n&&8192&o[0]&&(n=!0,r.value=t[13],ot((()=>n=!1))),e.$set(r)},i(t){o||(mt(e.$$.fragment,t),o=!0)},o(t){ft(e.$$.fragment,t),o=!1},d(t){kt(e,t)}}}function un(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",id:"filterbutton-"+t[27].DUEDATE,$$slots:{default:[cn]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{class:"dropdown-filter",verticalAlignment:"bottom",$$slots:{default:[dn]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};8192&r[0]|268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function mn(t){let e,n;return e=new t[24]({props:{$$slots:{default:[wn,({toggle:t})=>({80:t}),({toggle:t})=>[0,0,t?262144:0]]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};248&n[0]|268697600&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function fn(t){let e,n,o;return e=new ee({props:{size:"24"}}),{c(){wt(e.$$.fragment),n=P("\n Neuer Filter")},m(t,r){bt(e,t,r),I(t,n,r),o=!0},p:b,i(t){o||(mt(e.$$.fragment,t),o=!0)},o(t){ft(e.$$.fragment,t),o=!1},d(t){kt(e,t),t&&O(n)}}}function gn(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Domain",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[50]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function pn(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Ereignis",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[51]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function $n(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Status",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[52]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function vn(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Priorität",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[53]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function hn(t){let e,n,o,r,s,l,i;return r=new ee({props:{size:"24"}}),{c(){e=S("div"),n=S("div"),n.textContent="Fäligkeit",o=N(),wt(r.$$.fragment),j(e,"class","dropdown-content--element svelte-8gvx0m")},m(a,c){I(a,e,c),T(e,n),T(e,o),bt(r,e,null),s=!0,l||(i=M(e,"click",t[54]),l=!0)},p:b,i(t){s||(mt(r.$$.fragment,t),s=!0)},o(t){ft(r.$$.fragment,t),s=!1},d(t){t&&O(e),kt(r),l=!1,i()}}}function xn(t){let e,n,o,r,s,l,i,a,c=!t[5]&&gn(t),d=!t[7]&&pn(t),u=!t[4]&&$n(t),m=!t[3]&&vn(t),f=!t[6]&&hn(t);return{c(){e=S("div"),n=S("div"),n.textContent="Wähle Filtertyp:",o=N(),c&&c.c(),r=N(),d&&d.c(),s=N(),u&&u.c(),l=N(),m&&m.c(),i=N(),f&&f.c(),j(n,"class","dropdown-content--header svelte-8gvx0m"),j(e,"class","dropdown-content svelte-8gvx0m")},m(t,g){I(t,e,g),T(e,n),T(e,o),c&&c.m(e,null),T(e,r),d&&d.m(e,null),T(e,s),u&&u.m(e,null),T(e,l),m&&m.m(e,null),T(e,i),f&&f.m(e,null),a=!0},p(t,n){t[5]?c&&(dt(),ft(c,1,1,(()=>{c=null})),ut()):c?(c.p(t,n),32&n[0]&&mt(c,1)):(c=gn(t),c.c(),mt(c,1),c.m(e,r)),t[7]?d&&(dt(),ft(d,1,1,(()=>{d=null})),ut()):d?(d.p(t,n),128&n[0]&&mt(d,1)):(d=pn(t),d.c(),mt(d,1),d.m(e,s)),t[4]?u&&(dt(),ft(u,1,1,(()=>{u=null})),ut()):u?(u.p(t,n),16&n[0]&&mt(u,1)):(u=$n(t),u.c(),mt(u,1),u.m(e,l)),t[3]?m&&(dt(),ft(m,1,1,(()=>{m=null})),ut()):m?(m.p(t,n),8&n[0]&&mt(m,1)):(m=vn(t),m.c(),mt(m,1),m.m(e,i)),t[6]?f&&(dt(),ft(f,1,1,(()=>{f=null})),ut()):f?(f.p(t,n),64&n[0]&&mt(f,1)):(f=hn(t),f.c(),mt(f,1),f.m(e,null))},i(t){a||(mt(c),mt(d),mt(u),mt(m),mt(f),a=!0)},o(t){ft(c),ft(d),ft(u),ft(m),ft(f),a=!1},d(t){t&&O(e),c&&c.d(),d&&d.d(),u&&u.d(),m&&m.d(),f&&f.d()}}}function wn(t){let e,n,o,r;return e=new t[20]({props:{class:"add_filter_button",$$slots:{default:[fn]},$$scope:{ctx:t}}}),e.$on("click",(function(){D(t[80])&&t[80].apply(this,arguments)})),o=new t[25]({props:{verticalAlignment:"bottom",$$slots:{default:[xn]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p(n,r){t=n;const s={};268435456&r[2]&&(s.$$scope={dirty:r,ctx:t}),e.$set(s);const l={};248&r[0]|268435456&r[2]&&(l.$$scope={dirty:r,ctx:t}),o.$set(l)},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function bn(t){let e,n,o=[],r=new Ie,s=t[12];const l=t=>t[75].id;for(let e=0;e<s.length;e+=1){let n=Fe(t,s,e),i=l(n);r.set(i,o[e]=yn(i,n))}return{c(){e=S("div");for(let t=0;t<o.length;t+=1)o[t].c();j(e,"class","task-list svelte-8gvx0m")},m(t,r){I(t,e,r);for(let t=0;t<o.length;t+=1)o[t].m(e,null);n=!0},p(t,n){4097&n[0]&&(s=t[12],dt(),o=ht(o,n,l,1,t,s,r,e,vt,yn,null,Fe),ut())},i(t){if(!n){for(let t=0;t<s.length;t+=1)mt(o[t]);n=!0}},o(t){for(let t=0;t<o.length;t+=1)ft(o[t]);n=!1},d(t){t&&O(e);for(let t=0;t<o.length;t+=1)o[t].d()}}}function kn(t){let e,n,o,r,s,l,i,a,c,d,u,m,f,g,p,$,v,h,x,w,b,k,y,_=[],D=new Ie;a=new t[20]({props:{name:"sort",class:"sorting",$$slots:{default:[zn]},$$scope:{ctx:t}}}),a.$on("click",t[55]),u=new t[20]({props:{name:"sort",class:" sorting",$$slots:{default:[Sn]},$$scope:{ctx:t}}}),u.$on("click",t[56]),g=new t[20]({props:{name:"sort",class:"sorting",$$slots:{default:[Mn]},$$scope:{ctx:t}}}),g.$on("click",t[57]),v=new t[20]({props:{name:"sort",class:"sorting",$$slots:{default:[Un]},$$scope:{ctx:t}}}),v.$on("click",t[58]),w=new t[20]({props:{name:"sort",class:"sorting",disabled:!0,$$slots:{default:[Hn]},$$scope:{ctx:t}}});let C=t[12];const E=t=>t[75].id;for(let e=0;e<C.length;e+=1){let n=Se(t,C,e),o=E(n);D.set(o,_[e]=Rn(o,n))}return{c(){e=S("div"),n=S("table"),o=S("thead"),r=S("tr"),s=S("th"),l=N(),i=S("th"),wt(a.$$.fragment),c=N(),d=S("th"),wt(u.$$.fragment),m=N(),f=S("th"),wt(g.$$.fragment),p=N(),$=S("th"),wt(v.$$.fragment),h=N(),x=S("th"),wt(w.$$.fragment),b=N(),k=S("tbody");for(let t=0;t<_.length;t+=1)_[t].c();j(r,"class","tabletitle svelte-8gvx0m"),j(n,"class","no_border_spacing tableFixHead svelte-8gvx0m"),j(e,"class","task-list svelte-8gvx0m")},m(t,D){I(t,e,D),T(e,n),T(n,o),T(o,r),T(r,s),T(r,l),T(r,i),bt(a,i,null),T(r,c),T(r,d),bt(u,d,null),T(r,m),T(r,f),bt(g,f,null),T(r,p),T(r,$),bt(v,$,null),T(r,h),T(r,x),bt(w,x,null),T(n,b),T(n,k);for(let t=0;t<_.length;t+=1)_[t].m(k,null);y=!0},p(t,e){const n={};512&e[0]|268435456&e[2]&&(n.$$scope={dirty:e,ctx:t}),a.$set(n);const o={};512&e[0]|268435456&e[2]&&(o.$$scope={dirty:e,ctx:t}),u.$set(o);const r={};512&e[0]|268435456&e[2]&&(r.$$scope={dirty:e,ctx:t}),g.$set(r);const s={};512&e[0]|268435456&e[2]&&(s.$$scope={dirty:e,ctx:t}),v.$set(s);const l={};268435456&e[2]&&(l.$$scope={dirty:e,ctx:t}),w.$set(l),1073745921&e[0]|1&e[1]&&(C=t[12],dt(),_=ht(_,e,E,1,t,C,D,k,vt,Rn,null,Se),ut())},i(t){if(!y){mt(a.$$.fragment,t),mt(u.$$.fragment,t),mt(g.$$.fragment,t),mt(v.$$.fragment,t),mt(w.$$.fragment,t);for(let t=0;t<C.length;t+=1)mt(_[t]);y=!0}},o(t){ft(a.$$.fragment,t),ft(u.$$.fragment,t),ft(g.$$.fragment,t),ft(v.$$.fragment,t),ft(w.$$.fragment,t);for(let t=0;t<_.length;t+=1)ft(_[t]);y=!1},d(t){t&&O(e),kt(a),kt(u),kt(g),kt(v),kt(w);for(let t=0;t<_.length;t+=1)_[t].d()}}}function yn(t,e){let n,o,r;return o=new Te({props:{task:e[75],domains:e[0]}}),{key:t,first:null,c(){n=W(),wt(o.$$.fragment),this.first=n},m(t,e){I(t,n,e),bt(o,t,e),r=!0},p(t,n){e=t;const r={};4096&n[0]&&(r.task=e[75]),1&n[0]&&(r.domains=e[0]),o.$set(r)},i(t){r||(mt(o.$$.fragment,t),r=!0)},o(t){ft(o.$$.fragment,t),r=!1},d(t){t&&O(n),kt(o,t)}}}function _n(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Dn(t){let e,n,o,r;const s=[En,Cn],l=[];function i(t,e){return"asc"===t[9].sortDir?0:"desc"===t[9].sortDir?1:-1}return~(e=i(t))&&(n=l[e]=s[e](t)),{c(){n&&n.c(),o=W()},m(t,n){~e&&l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(n&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut()),~e?(n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o)):n=null)},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){~e&&l[e].d(t),t&&O(o)}}}function Cn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function En(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function zn(t){let e,n,o,r,s;const l=[Dn,_n],i=[];function a(t,e){return t[9].orderField==eo?0:1}return n=a(t),o=i[n]=l[n](t),{c(){e=S("div"),o.c(),r=P("\n Name"),j(e,"class","sorting-indicator svelte-8gvx0m")},m(t,o){I(t,e,o),i[n].m(e,null),I(t,r,o),s=!0},p(t,r){let s=n;n=a(t),n===s?i[n].p(t,r):(dt(),ft(i[s],1,1,(()=>{i[s]=null})),ut(),o=i[n],o?o.p(t,r):(o=i[n]=l[n](t),o.c()),mt(o,1),o.m(e,null))},i(t){s||(mt(o),s=!0)},o(t){ft(o),s=!1},d(t){t&&O(e),i[n].d(),t&&O(r)}}}function Tn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function In(t){let e,n,o,r;const s=[Fn,On],l=[];function i(t,e){return"asc"===t[9].sortDir?0:"desc"===t[9].sortDir?1:-1}return~(e=i(t))&&(n=l[e]=s[e](t)),{c(){n&&n.c(),o=W()},m(t,n){~e&&l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(n&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut()),~e?(n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o)):n=null)},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){~e&&l[e].d(t),t&&O(o)}}}function On(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Fn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Sn(t){let e,n,o,r,s;const l=[In,Tn],i=[];function a(t,e){return t[9].orderField==no?0:1}return n=a(t),o=i[n]=l[n](t),{c(){e=S("div"),o.c(),r=P("\n Domäne"),j(e,"class","sorting-indicator svelte-8gvx0m")},m(t,o){I(t,e,o),i[n].m(e,null),I(t,r,o),s=!0},p(t,r){let s=n;n=a(t),n===s?i[n].p(t,r):(dt(),ft(i[s],1,1,(()=>{i[s]=null})),ut(),o=i[n],o?o.p(t,r):(o=i[n]=l[n](t),o.c()),mt(o,1),o.m(e,null))},i(t){s||(mt(o),s=!0)},o(t){ft(o),s=!1},d(t){t&&O(e),i[n].d(),t&&O(r)}}}function An(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Pn(t){let e,n,o,r;const s=[Wn,Nn],l=[];function i(t,e){return"asc"===t[9].sortDir?0:"desc"===t[9].sortDir?1:-1}return~(e=i(t))&&(n=l[e]=s[e](t)),{c(){n&&n.c(),o=W()},m(t,n){~e&&l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(n&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut()),~e?(n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o)):n=null)},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){~e&&l[e].d(t),t&&O(o)}}}function Nn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Wn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Mn(t){let e,n,o,r,s;const l=[Pn,An],i=[];function a(t,e){return t[9].orderField==oo?0:1}return n=a(t),o=i[n]=l[n](t),{c(){e=S("div"),o.c(),r=P("\n Frist"),j(e,"class","sorting-indicator svelte-8gvx0m")},m(t,o){I(t,e,o),i[n].m(e,null),I(t,r,o),s=!0},p(t,r){let s=n;n=a(t),n===s?i[n].p(t,r):(dt(),ft(i[s],1,1,(()=>{i[s]=null})),ut(),o=i[n],o?o.p(t,r):(o=i[n]=l[n](t),o.c()),mt(o,1),o.m(e,null))},i(t){s||(mt(o),s=!0)},o(t){ft(o),s=!1},d(t){t&&O(e),i[n].d(),t&&O(r)}}}function Ln(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},p:b,i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function jn(t){let e,n,o,r;const s=[qn,Bn],l=[];function i(t,e){return"asc"===t[9].sortDir?0:"desc"===t[9].sortDir?1:-1}return~(e=i(t))&&(n=l[e]=s[e](t)),{c(){n&&n.c(),o=W()},m(t,n){~e&&l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e!==a&&(n&&(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut()),~e?(n=l[e],n||(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o)):n=null)},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){~e&&l[e].d(t),t&&O(o)}}}function Bn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_active"}}),o=new re({props:{size:"8",class:"triangle_not_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function qn(t){let e,n,o,r;return e=new re({props:{size:"8",class:"triangle_not_active"}}),o=new re({props:{size:"8",class:"triangle_active rotated"}}),{c(){wt(e.$$.fragment),n=N(),wt(o.$$.fragment)},m(t,s){bt(e,t,s),I(t,n,s),bt(o,t,s),r=!0},i(t){r||(mt(e.$$.fragment,t),mt(o.$$.fragment,t),r=!0)},o(t){ft(e.$$.fragment,t),ft(o.$$.fragment,t),r=!1},d(t){kt(e,t),t&&O(n),kt(o,t)}}}function Un(t){let e,n,o,r,s;const l=[jn,Ln],i=[];function a(t,e){return t[9].orderField==ro?0:1}return n=a(t),o=i[n]=l[n](t),{c(){e=S("div"),o.c(),r=P("\n Priorität"),j(e,"class","sorting-indicator svelte-8gvx0m")},m(t,o){I(t,e,o),i[n].m(e,null),I(t,r,o),s=!0},p(t,r){let s=n;n=a(t),n===s?i[n].p(t,r):(dt(),ft(i[s],1,1,(()=>{i[s]=null})),ut(),o=i[n],o?o.p(t,r):(o=i[n]=l[n](t),o.c()),mt(o,1),o.m(e,null))},i(t){s||(mt(o),s=!0)},o(t){ft(o),s=!1},d(t){t&&O(e),i[n].d(),t&&O(r)}}}function Hn(t){let e;return{c(){e=P("Aktionen")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function Rn(t,e){let n,o,r;return o=new De({props:{task:e[75],domains:e[0]}}),o.$on("viewTaskList",e[30]),o.$on("rowClicked",e[31]),{key:t,first:null,c(){n=W(),wt(o.$$.fragment),this.first=n},m(t,e){I(t,n,e),bt(o,t,e),r=!0},p(t,n){e=t;const r={};4096&n[0]&&(r.task=e[75]),1&n[0]&&(r.domains=e[0]),o.$set(r)},i(t){r||(mt(o.$$.fragment,t),r=!0)},o(t){ft(o.$$.fragment,t),r=!1},d(t){t&&O(n),kt(o,t)}}}function Vn(t){let e,n,o;function r(e){t[60](e)}let s={class:"tModal",noClickaway:!0,$$slots:{default:[Qn]},$$scope:{ctx:t}};return void 0!==t[14]&&(s.open=t[14]),e=new t[21]({props:s}),K.push((()=>xt(e,"open",r))),{c(){wt(e.$$.fragment)},m(t,n){bt(e,t,n),o=!0},p(t,o){const r={};32768&o[0]|268435456&o[2]&&(r.$$scope={dirty:o,ctx:t}),!n&&16384&o[0]&&(n=!0,r.open=t[14],ot((()=>n=!1))),e.$set(r)},i(t){o||(mt(e.$$.fragment,t),o=!0)},o(t){ft(e.$$.fragment,t),o=!1},d(t){kt(e,t)}}}function Gn(t){let e;return{c(){e=P("Abbrechen")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function Jn(t){let e;return{c(){e=P("Neu")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function Zn(t){let e;return{c(){e=S("div"),e.textContent="Es existieren noch keine Tasks von diesem Typ."},m(t,n){I(t,e,n)},p:b,i:b,o:b,d(t){t&&O(e)}}}function Yn(t){let e,n;return e=new f({props:{className:t[15].className,rowId:t[15].recID}}),e.$on("choose",t[59]),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};32768&n[0]&&(o.className=t[15].className),32768&n[0]&&(o.rowId=t[15].recID),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Kn(t){let e,n,o,r,s,l,i,a,c,d,u;e=new t[23]({}),r=new t[20]({props:{outline:!0,$$slots:{default:[Gn]},$$scope:{ctx:t}}}),r.$on("click",t[29]),l=new t[20]({props:{filled:!0,$$slots:{default:[Jn]},$$scope:{ctx:t}}}),l.$on("click",(function(){D(t[32](t[15].task,"task"))&&t[32](t[15].task,"task").apply(this,arguments)}));const m=[Yn,Zn],f=[];function g(t,e){return t[15].list&&t[15].list.length?0:1}return a=g(t),c=f[a]=m[a](t),{c(){wt(e.$$.fragment),n=N(),o=S("div"),wt(r.$$.fragment),s=N(),wt(l.$$.fragment),i=N(),c.c(),d=W(),j(o,"class","form--buttons svelte-8gvx0m")},m(t,c){bt(e,t,c),I(t,n,c),I(t,o,c),bt(r,o,null),T(o,s),bt(l,o,null),I(t,i,c),f[a].m(t,c),I(t,d,c),u=!0},p(e,n){t=e;const o={};268435456&n[2]&&(o.$$scope={dirty:n,ctx:t}),r.$set(o);const s={};268435456&n[2]&&(s.$$scope={dirty:n,ctx:t}),l.$set(s);let i=a;a=g(t),a===i?f[a].p(t,n):(dt(),ft(f[i],1,1,(()=>{f[i]=null})),ut(),c=f[a],c?c.p(t,n):(c=f[a]=m[a](t),c.c()),mt(c,1),c.m(d.parentNode,d))},i(t){u||(mt(e.$$.fragment,t),mt(r.$$.fragment,t),mt(l.$$.fragment,t),mt(c),u=!0)},o(t){ft(e.$$.fragment,t),ft(r.$$.fragment,t),ft(l.$$.fragment,t),ft(c),u=!1},d(t){kt(e,t),t&&O(n),t&&O(o),kt(r),kt(l),t&&O(i),f[a].d(t),t&&O(d)}}}function Qn(t){let e,n;return e=new t[22]({props:{title:t[15].title,$$slots:{default:[Kn]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};32768&n[0]&&(o.title=t[15].title),32768&n[0]|268435456&n[2]&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Xn(t){let e,n,o,r,s,l,i,a,c,d,u,m,f,g,p,$,v,h,x,w,b,k,y,C,E,z,F,A,W,L,B,H,R,V,G,J,Z,Y=(t[18].listTitle||"Aufgabenliste")+"";l=new t[20]({props:{class:"task-maximize",$$slots:{default:[Le]},$$scope:{ctx:t}}}),l.$on("click",t[38]);let K=t[5]&&je(t),Q=t[7]&&Re(t),X=t[4]&&Ye(t),tt=t[3]&&on(t),et=t[6]&&an(t),nt=!t[17]&&mn(t);y=new Ut({}),A=new jt({});const ot=[kn,bn],rt=[];function st(t,e){return t[10]?0:1}L=st(t),B=rt[L]=ot[L](t);let lt=t[14]&&t[15]&&Vn(t);return{c(){e=S("div"),n=S("div"),o=S("h2"),r=P(Y),s=N(),wt(l.$$.fragment),i=N(),a=S("div"),c=S("div"),d=S("div"),u=S("input"),m=N(),K&&K.c(),f=N(),Q&&Q.c(),g=N(),X&&X.c(),p=N(),tt&&tt.c(),$=N(),et&&et.c(),v=N(),nt&&nt.c(),h=N(),x=S("div"),w=S("input"),b=N(),k=S("label"),wt(y.$$.fragment),C=N(),E=S("input"),z=N(),F=S("label"),wt(A.$$.fragment),W=N(),B.c(),H=N(),lt&<.c(),R=N(),V=S("div"),j(o,"class","svelte-8gvx0m"),j(n,"class","task-header--title svelte-8gvx0m"),j(e,"id","TitleModuleContainer"),j(e,"class","task-header svelte-8gvx0m"),j(u,"type","search ms-auto w-auto"),j(u,"class","task--search svelte-8gvx0m"),j(u,"placeholder","Suche"),j(d,"class","inside_card--top__left svelte-8gvx0m"),j(w,"class","radiobutton-tools svelte-8gvx0m"),j(w,"type","radio"),j(w,"name","tools"),j(w,"id","tool-1"),w.checked=!0,j(k,"class","for-radiobutton-tools svelte-8gvx0m"),j(k,"for","tool-1"),j(E,"class","radiobutton-tools svelte-8gvx0m"),j(E,"type","radio"),j(E,"name","tools"),j(E,"id","tool-2"),j(F,"class","for-radiobutton-tools svelte-8gvx0m"),j(F,"for","tool-2"),j(c,"class","inside_card--top svelte-8gvx0m"),j(V,"class","footer_spacer svelte-8gvx0m"),j(a,"class","inside_card svelte-8gvx0m")},m(_,O){I(_,e,O),T(e,n),T(n,o),T(o,r),T(n,s),bt(l,n,null),I(_,i,O),I(_,a,O),T(a,c),T(c,d),T(d,u),U(u,t[8]),T(d,m),K&&K.m(d,null),T(d,f),Q&&Q.m(d,null),T(d,g),X&&X.m(d,null),T(d,p),tt&&tt.m(d,null),T(d,$),et&&et.m(d,null),T(d,v),nt&&nt.m(d,null),T(c,h),T(c,x),T(x,w),T(x,b),T(x,k),bt(y,k,null),T(x,C),T(x,E),T(x,z),T(x,F),bt(A,F,null),T(a,W),rt[L].m(a,null),T(a,H),lt&<.m(a,null),T(a,R),T(a,V),t[61](a),G=!0,J||(Z=[M(n,"pointerdown",(function(){D(t[2])&&t[2].apply(this,arguments)})),M(u,"input",t[43]),M(w,"change",t[39]),M(E,"change",t[39])],J=!0)},p(e,n){t=e,(!G||262144&n[0])&&Y!==(Y=(t[18].listTitle||"Aufgabenliste")+"")&&q(r,Y);const o={};2048&n[0]|268435456&n[2]&&(o.$$scope={dirty:n,ctx:t}),l.$set(o),256&n[0]&&U(u,t[8]),t[5]?K?(K.p(t,n),32&n[0]&&mt(K,1)):(K=je(t),K.c(),mt(K,1),K.m(d,f)):K&&(dt(),ft(K,1,1,(()=>{K=null})),ut()),t[7]?Q?(Q.p(t,n),128&n[0]&&mt(Q,1)):(Q=Re(t),Q.c(),mt(Q,1),Q.m(d,g)):Q&&(dt(),ft(Q,1,1,(()=>{Q=null})),ut()),t[4]?X?(X.p(t,n),16&n[0]&&mt(X,1)):(X=Ye(t),X.c(),mt(X,1),X.m(d,p)):X&&(dt(),ft(X,1,1,(()=>{X=null})),ut()),t[3]?tt?(tt.p(t,n),8&n[0]&&mt(tt,1)):(tt=on(t),tt.c(),mt(tt,1),tt.m(d,$)):tt&&(dt(),ft(tt,1,1,(()=>{tt=null})),ut()),t[6]?et?(et.p(t,n),64&n[0]&&mt(et,1)):(et=an(t),et.c(),mt(et,1),et.m(d,v)):et&&(dt(),ft(et,1,1,(()=>{et=null})),ut()),t[17]?nt&&(dt(),ft(nt,1,1,(()=>{nt=null})),ut()):nt?(nt.p(t,n),131072&n[0]&&mt(nt,1)):(nt=mn(t),nt.c(),mt(nt,1),nt.m(d,null));let s=L;L=st(t),L===s?rt[L].p(t,n):(dt(),ft(rt[s],1,1,(()=>{rt[s]=null})),ut(),B=rt[L],B?B.p(t,n):(B=rt[L]=ot[L](t),B.c()),mt(B,1),B.m(a,H)),t[14]&&t[15]?lt?(lt.p(t,n),49152&n[0]&&mt(lt,1)):(lt=Vn(t),lt.c(),mt(lt,1),lt.m(a,R)):lt&&(dt(),ft(lt,1,1,(()=>{lt=null})),ut())},i(t){G||(mt(l.$$.fragment,t),mt(K),mt(Q),mt(X),mt(tt),mt(et),mt(nt),mt(y.$$.fragment,t),mt(A.$$.fragment,t),mt(B),mt(lt),G=!0)},o(t){ft(l.$$.fragment,t),ft(K),ft(Q),ft(X),ft(tt),ft(et),ft(nt),ft(y.$$.fragment,t),ft(A.$$.fragment,t),ft(B),ft(lt),G=!1},d(n){n&&O(e),kt(l),n&&O(i),n&&O(a),K&&K.d(),Q&&Q.d(),X&&X.d(),tt&&tt.d(),et&&et.d(),nt&&nt.d(),kt(y),kt(A),rt[L].d(),lt&<.d(),t[61](null),J=!1,_(Z)}}}const to="ENABLERR_SORTORDER",eo="sortName",no="sortDomain",oo="sortDeadline",ro="sortPriority";function so(t,e){e&&window.setTimeout((()=>{const e="filterbutton-"+t;document.getElementById(e).click()}))}function lo(t,n,o){let s,f,g,p;E(t,l,(t=>o(18,p=t)));const{loggedIn:$}=m;E(t,$,(t=>o(63,g=t)));const v=g.tenant+"-ENABLERR-FILTER",{Button:h,Modal:x,Dialog:w,Divider:b,DropdownShell:k,Dropdown:y,DatePicker:_}=e;let D,{allTasks:C}=n,{domains:z}=n,{events:T}=n,{movePointerDown:I}=n,O=[],F=!0,S=!1,A=[...s||[]],P={start:new Date,end:new Date};const N={DOMAIN:"domain",EVENT:"event",STATUS:"status",PRIO:"prio",DUEDATE:"dueDate"};let W=!1,M=!1,L=!1,j=!1,B=!1,q=new Set;!function(t){J().$$.on_mount.push(t)}((()=>{D=window.localStorage.getItem(v),D=JSON.parse(D),D||(D={[N.DOMAIN]:[],[N.EVENT]:[],[N.STATUS]:[],[N.DUEDATE]:{start:void 0,end:void 0},[N.PRIO]:[]},window.localStorage.setItem(v,JSON.stringify(D))),D[N.DOMAIN].length&&(nt(N.DOMAIN,!1),rt(N.DOMAIN,!0)),D[N.EVENT]?.length&&(nt(N.EVENT,!1),rt(N.EVENT,!0)),D[N.STATUS].length&&(nt(N.STATUS,!1),rt(N.STATUS,!0)),D[N.PRIO].length&&(nt(N.PRIO,!1),rt(N.PRIO,!0)),D[N.DUEDATE].start&&D[N.DUEDATE].end&&(nt(N.DUEDATE,!1),o(13,P.start=new Date(D[N.DUEDATE].start),P),o(13,P.end=new Date(D[N.DUEDATE].end),P),st()),function(){const t=JSON.parse(window.localStorage.getItem(to));if(!t)return;t.sortCallback=X.get(t.orderField),o(9,Q=t)}()}));let U,H=!1;function R(){o(14,H=!1),o(15,U=void 0)}function V(t,e){window.singleSpaNavigate(`/task/${t.event.id}/${t.id}/${e}`),R()}const G=(t,e,n)=>{V({event:{id:e.event.id},id:t.detail.row._task._id},n)};let Z="";function Y(t){if(!t.sortDir)return void ot();const e="asc"==t.sortDir?1:-1;o(42,s=s.sort(((n,o)=>{const r=t.sortCallback(n),s=t.sortCallback(o);return r>s?e:r<s?-1*e:0})))}let Q={orderField:"",sortCallback:()=>null,sortDir:""};const X=new Map([[eo,ye],[no,t=>t.event.domain.toLowerCase()],[oo,t=>t.dueDate],[ro,t=>t.priority],["sortFavorite",t=>t.event.step.endsWith("xecution")]]);function tt(t){if(!t)return void console.error("doSort: No field to orderBy defined");const e=Q.orderField;o(9,Q.sortCallback=X.get(t),Q),o(9,Q.orderField=t,Q),Q.sortDir&&e==t?"asc"===Q.sortDir?o(9,Q.sortDir="desc",Q):(o(9,Q.sortDir="",Q),o(9,Q.orderField="",Q),o(9,Q.sortCallback=null,Q)):o(9,Q.sortDir="asc",Q),function(){const t=JSON.stringify(Q);window.localStorage.setItem(to,t)}()}function et(t){nt(t),function(t){if(t==N.DUEDATE)o(13,P={start:new Date,end:new Date}),D[N.DUEDATE]={start:void 0,end:void 0},window.localStorage.setItem(v,JSON.stringify(D)),o(6,j=!1);else{let e=document.getElementsByName(t.toLowerCase());for(let t of e)t.checked=!1}ot()}(t)}function nt(t,e=!0){switch(t){case N.EVENT:o(7,B=!B),so(N.EVENT,e&&B);break;case N.DOMAIN:o(5,L=!L),so(N.DOMAIN,e&&L);break;case N.STATUS:o(4,M=!M),so(N.STATUS,e&&M);break;case N.PRIO:o(3,W=!W),so(N.PRIO,e&&W);break;case N.DUEDATE:o(6,j=!j),so(N.DUEDATE,e&&j)}}function ot(t){o(42,s=[...O]),rt(N.DOMAIN),rt(N.EVENT),rt(N.STATUS),rt(N.PRIO),st(),Q.sortDir&&Y(Q)}async function rt(t,e=!1){if(!D)return;let n=await document.getElementsByName(t),r=[];if(e)r=D[t],n.forEach((t=>{r.includes(t.id.toLowerCase())&&(t.checked=!0)}));else{for(let t of n)t.checked&&r.push(t.id.toLowerCase());D[t]=r,window.localStorage.setItem(v,JSON.stringify(D))}0!=r.length&&(t==N.DOMAIN?o(42,s=s.filter((t=>r.indexOf(t.event.domain.toLowerCase())>=0))):t==N.EVENT?o(42,s=s.filter((t=>r.indexOf(t.event.designation.toLowerCase())>=0))):t==N.STATUS?o(42,s=s.filter((t=>t.status?r.indexOf(t.status.toLowerCase())>=0:r.indexOf("vorlage")>=0))):t==N.PRIO&&o(42,s=s.filter((t=>{if(t.priority){return r.indexOf(t.priority.toString())>=0}return r.indexOf("1")>=0}))))}function st(){P&&(P.start||P.end)&&j&&(o(42,s=s.filter((t=>{if(t.dueDate){const e=new Date(t.dueDate).setHours(0,0,0,0),n=P.start.setHours(0,0,0,0),o=P.end.setHours(0,0,0,0);return e>=n&&e<=o}return!1}))),D[N.DUEDATE]=P)}let lt;i.subscribe((async t=>{t&&r.getTaskqueue(null,t.objectId).then((({task:e})=>{const n=O.findIndex((e=>e.id===t.objectId));if(n+1)o(41,O[n]=e,O);else{if("Information"===e.event?.stream?.task)return;if(!e.workflow?.numberOfFollowers&&"WaitingForApproval"!==e.status)return;O.unshift(e)}N&&ot()}))})),a.subscribe((async t=>{if(!t)return;const e=O.findIndex((e=>e.id===t.objectId));e+1&&r.getTaskqueue(null,t.objectId).then((({task:t})=>{o(41,O[e]=t,O),N&&ot()}))})),c.subscribe((t=>{if(!t)return;const e=t.url.split("/")[3],n=O.find((t=>t.id===e));n&&(n.chat+=1,N&&ot())})),d.subscribe((t=>{if(!t)return;const e=t.taskId,n=O.find((t=>t.id===e));n&&("INSERT"===t.status?n.report+=1:"DELETE"===t.status&&(n.report-=1),N&&ot())}));u.subscribe((t=>{o(41,O=(t=>{if(!C)return{};let e={...C};return void 0===t?queue:(e=C.filter((e=>!e.event.authorization?.length||e.event.authorization.some((e=>t?.find((t=>t===e.role)))))),e)})(t)),ot()}));return t.$$set=t=>{"allTasks"in t&&o(40,C=t.allTasks),"domains"in t&&o(0,z=t.domains),"events"in t&&o(1,T=t.events),"movePointerDown"in t&&o(2,I=t.movePointerDown)},t.$$.update=()=>{1024&t.$$.dirty[1]&&o(42,s=[...O]),248&t.$$.dirty[0]&&o(17,f=W&&M&&L&&j&&B),1024&t.$$.dirty[1]&&function(t){q.clear(),t.forEach((t=>{q.add(t.status)}))}(O),512&t.$$.dirty[0]&&Y(Q),256&t.$$.dirty[0]|2048&t.$$.dirty[1]&&(Z.length<3&&o(12,A=[...s]),Z.toString().length>2&&o(12,A=[...s.filter((t=>{const e=t=>t?.toLowerCase()?.match(`${Z.toString().toLowerCase()}.*`);return e(t.event.name)||e(t.event.description)||e(ye(t))}))]))},[z,T,I,W,M,L,j,B,Z,Q,F,S,A,P,H,U,lt,f,p,$,h,x,w,b,k,y,_,N,q,R,function(t){t.detail&&(o(14,H=!0),o(15,U=t.detail),o(15,U.recID=void 0,U))},function(t){if(!t||!t.detail)return;const e=t.detail.task,n=t.detail.tab;e&&n&&V(e,n)},V,G,tt,et,nt,ot,function(){o(11,S=!S),S?lt.parentElement.parentElement.classList.add("maximizeTaskModule"):lt.parentElement.parentElement.classList.remove("maximizeTaskModule")},function(){o(10,F=!F)},C,O,s,function(){Z=this.value,o(8,Z)},()=>et(N.DOMAIN),()=>et(N.EVENT),()=>et(N.STATUS),()=>et(N.PRIO),()=>et(N.DUEDATE),function(t){P=t,o(13,P)},()=>nt(N.DOMAIN),()=>nt(N.EVENT),()=>nt(N.STATUS),()=>nt(N.PRIO),()=>nt(N.DUEDATE),()=>tt(eo),()=>tt(no),()=>tt(oo),()=>tt(ro),t=>G(t,U.task,"task"),function(t){H=t,o(14,H)},function(t){K[t?"unshift":"push"]((()=>{lt=t,o(16,lt)}))}]}class io extends Dt{constructor(t){var e;super(),Oe.getElementById("svelte-8gvx0m-style")||((e=S("style")).id="svelte-8gvx0m-style",e.textContent='.tabletitle.svelte-8gvx0m.svelte-8gvx0m{border-top:0}.maximizeTaskModule{width:95vw !important;height:90vh !important;position:fixed !important;top:20px;z-index:2}.inside_card.svelte-8gvx0m.svelte-8gvx0m{margin:1.4em;display:flex;flex-flow:column;height:90%}.inside_card--top.svelte-8gvx0m.svelte-8gvx0m{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;row-gap:1em;margin-bottom:1em}.inside_card--top.svelte-8gvx0m .add_filter_button{border-radius:5px !important;border:2px solid #326173 !important;padding:0.8em}.inside_card--top.svelte-8gvx0m .filter_button--icon.svelte-8gvx0m{height:24px;margin-right:0.5em}.inside_card--top.svelte-8gvx0m .inside_card--top__left.svelte-8gvx0m{display:flex;gap:1em;flex-flow:row wrap}.inside_card--top.svelte-8gvx0m .inside_card--top__left .task--search.svelte-8gvx0m{padding:1em;width:20em}.inside_card--top.svelte-8gvx0m .inside_card--top__left.svelte-8gvx0m .dropdown-filter{padding:1em}.dropdown-content.svelte-8gvx0m.svelte-8gvx0m{width:180px;padding:1.2em}.dropdown-content--header.svelte-8gvx0m.svelte-8gvx0m{padding-bottom:1em;width:100%;font-weight:600}.dropdown-content--element.svelte-8gvx0m.svelte-8gvx0m{display:flex;justify-content:space-between;align-items:center;color:#326173;padding-bottom:0.5em;width:100%;cursor:pointer}.task-header.svelte-8gvx0m.svelte-8gvx0m{padding:0 1.4em;display:flex;flex-flow:column;background-color:#326173;color:white}.task-header--title.svelte-8gvx0m.svelte-8gvx0m{height:65px;display:flex;flex:0 1 auto;justify-content:space-between;align-items:center;margin-right:1.5em;user-select:none;cursor:grab}.task-header--title.svelte-8gvx0m h2.svelte-8gvx0m{margin:0}.task-header--title.svelte-8gvx0m .task-maximize{color:#fff;padding:0}.task-list.svelte-8gvx0m.svelte-8gvx0m{display:flex;flex-flow:row wrap;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;width:100%;border:1px solid #ccc;border-radius:0.5em}.task-list.svelte-8gvx0m .sorting .sorting-indicator.svelte-8gvx0m{height:16px;width:9px;padding-right:5px}.task-list.svelte-8gvx0m .no_border_spacing.svelte-8gvx0m{border-spacing:0px}.task-list.svelte-8gvx0m .sorting{color:black !important}.task-list.svelte-8gvx0m .tableFixHead{overflow:auto;height:100px;border-collapse:separate}.task-list.svelte-8gvx0m .tableFixHead thead th{position:sticky;top:0;background-color:#f8f8fe;color:black;border-bottom:2px solid;z-index:1}.task-list.svelte-8gvx0m .triangle_not_active{fill:#ababab;stroke:#ababab;height:8px;transform:translateY(-8px)}.task-list.svelte-8gvx0m .triangle_active{fill:black;stroke:black;height:8px;transform:translateY(-8px)}.task-list.svelte-8gvx0m .rotated{transform:rotate(180deg) translateY(16px)}.task-list.svelte-8gvx0m .bottom_dropdown{top:2.5em}.prio.svelte-8gvx0m.svelte-8gvx0m{border-width:thick;border-style:solid;width:50px !important;text-align:center}.prio1.svelte-8gvx0m.svelte-8gvx0m{border-color:red !important}.prio1.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:red !important}.prio2.svelte-8gvx0m.svelte-8gvx0m{border-color:orange !important}.prio2.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:orange !important}.prio3.svelte-8gvx0m.svelte-8gvx0m{border-color:green !important}.prio3.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:green !important}.domain-border.svelte-8gvx0m.svelte-8gvx0m{border-width:thick;border-style:solid}.domain-border--0.svelte-8gvx0m.svelte-8gvx0m{border-color:#A9C0CE !important}.domain-border--0.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#A9C0CE !important}.domain-border--1.svelte-8gvx0m.svelte-8gvx0m{border-color:#7E7F80 !important}.domain-border--1.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#7E7F80 !important}.domain-border--2.svelte-8gvx0m.svelte-8gvx0m{border-color:#55C1D9 !important}.domain-border--2.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#55C1D9 !important}.domain-border--3.svelte-8gvx0m.svelte-8gvx0m{border-color:#66A649 !important}.domain-border--3.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#66A649 !important}.domain-border--4.svelte-8gvx0m.svelte-8gvx0m{border-color:#F2CF63 !important}.domain-border--4.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#F2CF63 !important}.domain-border--5.svelte-8gvx0m.svelte-8gvx0m{border-color:#BF5A50 !important}.domain-border--5.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#BF5A50 !important}.footer_spacer.svelte-8gvx0m.svelte-8gvx0m{flex:0 1 4.2em}[type=radio].svelte-8gvx0m.svelte-8gvx0m:checked,[type=radio].svelte-8gvx0m.svelte-8gvx0m:not(:checked){position:absolute;left:-9999px;width:0;height:0;visibility:hidden}.radiobutton-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m,.radiobutton-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m{position:relative;display:inline-block;padding:15px;width:25px;height:25px;font-size:17px;font-weight:bold;line-height:20px;letter-spacing:1px;margin:0 0 0 10px;text-align:center;vertical-align:middle;border-radius:15px;overflow:hidden;cursor:pointer;text-transform:uppercase;color:#000000;-webkit-transition:all 300ms linear;transition:all 300ms linear}.radiobutton-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m{background-color:#DAE1E5;color:#000000;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1)}.radiobutton-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#326173;color:#ffffff;box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2)}.radiobutton-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m:hover{box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2)}.radiobutton-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m::before,.radiobutton-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m::before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;border-radius:15px;z-index:-1}[type=checkbox].svelte-8gvx0m.svelte-8gvx0m:checked,[type=checkbox].svelte-8gvx0m.svelte-8gvx0m:not(:checked){position:absolute;left:-9999px;width:0;height:0;visibility:hidden}.checkbox-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m,.checkbox-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m{position:relative;display:inline-block;padding:0.6em 1.1em;height:15px;width:max-content;font-size:15px;font-weight:bold;line-height:17px;letter-spacing:1px;margin:5px;text-align:center;vertical-align:middle;border-width:thick;border-style:solid;border-radius:30px;overflow:hidden;cursor:pointer;text-transform:uppercase;color:#000000;-webkit-transition:all 300ms linear;transition:all 300ms linear}.checkbox-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m{background-color:#DAE1E5;border-color:#DAE1E5;color:#000000;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1)}.checkbox-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m{background-color:#326173;border-color:#326173;color:#ffffff;box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2)}.checkbox-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m:hover{box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2)}.checkbox-tools.svelte-8gvx0m:checked+label.svelte-8gvx0m::before,.checkbox-tools.svelte-8gvx0m:not(:checked)+label.svelte-8gvx0m::before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;border-radius:15px;z-index:-1}.form--buttons.svelte-8gvx0m.svelte-8gvx0m{display:flex;gap:1em;padding-bottom:0.5em}.modal-overlay.tModal{overflow:inherit !important}',T(Oe.head,e)),_t(this,t,lo,Xn,C,{allTasks:40,domains:0,events:1,movePointerDown:2},[-1,-1,-1])}}function ao(t){let e,n=t[0].name+"";return{c(){e=P(n)},m(t,n){I(t,e,n)},p(t,o){1&o&&n!==(n=t[0].name+"")&&q(e,n)},d(t){t&&O(e)}}}function co(t){let e;return{c(){e=P("i")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function uo(t){let e;return{c(){e=P("activate")},m(t,n){I(t,e,n)},d(t){t&&O(e)}}}function mo(t){let e,n,o,r,s,l,i,a;return n=new t[2]({props:{$$slots:{default:[ao]},$$scope:{ctx:t}}}),r=new t[1]({props:{filled:!0,class:"info",$$slots:{default:[co]},$$scope:{ctx:t}}}),i=new t[1]({props:{filled:!0,$$slots:{default:[uo]},$$scope:{ctx:t}}}),i.$on("click",t[6]),{c(){e=S("div"),wt(n.$$.fragment),o=N(),wt(r.$$.fragment),s=N(),l=S("div"),wt(i.$$.fragment),j(e,"class","module-name svelte-15g6xoi"),j(l,"class","activate svelte-15g6xoi")},m(t,c){I(t,e,c),bt(n,e,null),T(e,o),bt(r,e,null),I(t,s,c),I(t,l,c),bt(i,l,null),a=!0},p(t,[e]){const o={};129&e&&(o.$$scope={dirty:e,ctx:t}),n.$set(o);const s={};128&e&&(s.$$scope={dirty:e,ctx:t}),r.$set(s);const l={};128&e&&(l.$$scope={dirty:e,ctx:t}),i.$set(l)},i(t){a||(mt(n.$$.fragment,t),mt(r.$$.fragment,t),mt(i.$$.fragment,t),a=!0)},o(t){ft(n.$$.fragment,t),ft(r.$$.fragment,t),ft(i.$$.fragment,t),a=!1},d(t){t&&O(e),kt(n),kt(r),t&&O(s),t&&O(l),kt(i)}}}function fo(t,n,o){const{Button:r,Label:s}=e;let{module:l}=n,{list:i}=n,{functionProp:a=(()=>{})}=n;const c=t=>{a(t)};return t.$$set=t=>{"module"in t&&o(0,l=t.module),"list"in t&&o(4,i=t.list),"functionProp"in t&&o(5,a=t.functionProp)},[l,r,s,c,i,a,()=>{c(l)}]}class go extends Dt{constructor(t){var e;super(),document.getElementById("svelte-15g6xoi-style")||((e=S("style")).id="svelte-15g6xoi-style",e.textContent=".module-name.svelte-15g6xoi{padding-left:0.5em;display:flex;align-items:center}.activate.svelte-15g6xoi{align-self:center}.module-name.svelte-15g6xoi .info{width:10px;height:10px;padding:0.9em 0.9em 0.9em 0.6em;margin-left:0.4em;float:left}",T(document.head,e)),_t(this,t,fo,mo,C,{module:0,list:4,functionProp:5})}}function po(t,e,n){const o=t.slice();return o[10]=e[n],o}function $o(t){let e,n,o,r,s,l,i,a,c,d,u,m,f;o=new zt({props:{size:"24",class:"ml"}}),i=new t[6]({});let g={ctx:t,current:null,token:null,hasCatch:!1,pending:bo,then:xo,catch:ho,value:9,blocks:[,,,]};return gt(d=t[3],g),{c(){e=S("div"),n=S("div"),wt(o.$$.fragment),r=N(),s=S("div"),s.innerHTML='<h4 class="svelte-4o0fgs">Module</h4> \n <input type="search" placeholder="Suche" class="svelte-4o0fgs"/>',l=N(),wt(i.$$.fragment),a=N(),c=S("div"),g.block.c(),j(n,"class","back-button svelte-4o0fgs"),j(s,"class","header svelte-4o0fgs"),j(c,"class","content svelte-4o0fgs"),j(e,"class","table_list svelte-4o0fgs")},m(d,p){I(d,e,p),T(e,n),bt(o,n,null),T(e,r),T(e,s),T(e,l),bt(i,e,null),T(e,a),T(e,c),g.block.m(c,g.anchor=null),g.mount=()=>c,g.anchor=null,u=!0,m||(f=M(n,"click",t[7]),m=!0)},p(e,n){t=e,g.ctx=t,8&n&&d!==(d=t[3])&>(d,g)||pt(g,t,n)},i(t){u||(mt(o.$$.fragment,t),mt(i.$$.fragment,t),mt(g.block),u=!0)},o(t){ft(o.$$.fragment,t),ft(i.$$.fragment,t);for(let t=0;t<3;t+=1){ft(g.blocks[t])}u=!1},d(t){t&&O(e),kt(o),kt(i),g.block.d(),g.token=null,g=null,m=!1,f()}}}function vo(t){let e,n,o;return n=new t[5]({props:{filled:!0,$$slots:{default:[ko]},$$scope:{ctx:t}}}),n.$on("click",t[7]),{c(){e=S("div"),wt(n.$$.fragment),j(e,"class","add-button svelte-4o0fgs")},m(t,r){I(t,e,r),bt(n,e,null),o=!0},p(t,e){const o={};8193&e&&(o.$$scope={dirty:e,ctx:t}),n.$set(o)},i(t){o||(mt(n.$$.fragment,t),o=!0)},o(t){ft(n.$$.fragment,t),o=!1},d(t){t&&O(e),kt(n)}}}function ho(t){return{c:b,m:b,p:b,i:b,o:b,d:b}}function xo(t){let e,n,o=t[9],r=[];for(let e=0;e<o.length;e+=1)r[e]=wo(po(t,o,e));const s=t=>ft(r[t],1,1,(()=>{r[t]=null}));return{c(){for(let t=0;t<r.length;t+=1)r[t].c();e=W()},m(t,o){for(let e=0;e<r.length;e+=1)r[e].m(t,o);I(t,e,o),n=!0},p(t,n){if(10&n){let l;for(o=t[9],l=0;l<o.length;l+=1){const s=po(t,o,l);r[l]?(r[l].p(s,n),mt(r[l],1)):(r[l]=wo(s),r[l].c(),mt(r[l],1),r[l].m(e.parentNode,e))}for(dt(),l=o.length;l<r.length;l+=1)s(l);ut()}},i(t){if(!n){for(let t=0;t<o.length;t+=1)mt(r[t]);n=!0}},o(t){r=r.filter(Boolean);for(let t=0;t<r.length;t+=1)ft(r[t]);n=!1},d(t){F(r,t),t&&O(e)}}}function wo(t){let e,n,o,r;return n=new go({props:{module:t[10],list:t[9],functionProp:t[8]}}),{c(){e=S("div"),wt(n.$$.fragment),o=N(),j(e,"class","module svelte-4o0fgs")},m(t,s){I(t,e,s),bt(n,e,null),T(e,o),r=!0},p(t,e){const o={};8&e&&(o.module=t[10]),8&e&&(o.list=t[9]),2&e&&(o.functionProp=t[8]),n.$set(o)},i(t){r||(mt(n.$$.fragment,t),r=!0)},o(t){ft(n.$$.fragment,t),r=!1},d(t){t&&O(e),kt(n)}}}function bo(t){return{c:b,m:b,p:b,i:b,o:b,d:b}}function ko(t){let e,n=t[0].text+"";return{c(){e=P(n)},m(t,n){I(t,e,n)},p(t,o){1&o&&n!==(n=t[0].text+"")&&q(e,n)},d(t){t&&O(e)}}}function yo(t){let e,n,o,r;const s=[vo,$o],l=[];function i(t,e){return t[2]?1:0}return e=i(t),n=l[e]=s[e](t),{c(){n.c(),o=W()},m(t,n){l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e===a?l[e].p(t,r):(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut(),n=l[e],n?n.p(t,r):(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o))},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){l[e].d(t),t&&O(o)}}}function _o(t){let e,n;return e=new t[4]({props:{class:"db",$$slots:{default:[yo]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,[n]){const o={};8207&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Do(t,n,o){let s;const{Dialog:l,Button:i,Divider:a}=e;let{dataItem:c}=n,d=!1,{functionProp:u=(()=>{})}=n;return t.$$set=t=>{"dataItem"in t&&o(0,c=t.dataItem),"functionProp"in t&&o(1,u=t.functionProp)},o(3,s=r.getAllModules()),[c,u,d,s,l,i,a,function(){o(2,d=!d)},t=>u(t)]}class Co extends Dt{constructor(t){var e;super(),document.getElementById("svelte-4o0fgs-style")||((e=S("style")).id="svelte-4o0fgs-style",e.textContent=".add-button.svelte-4o0fgs.svelte-4o0fgs{display:grid;place-items:center;height:100%}.back-button.svelte-4o0fgs.svelte-4o0fgs{width:30px;height:24px;cursor:pointer}.table_list.svelte-4o0fgs.svelte-4o0fgs{height:100%;padding:1em}.table_list.svelte-4o0fgs .header.svelte-4o0fgs{display:grid;grid-template-columns:0.5fr 1fr;margin:0.5em;gap:1em}.table_list.svelte-4o0fgs .header h4.svelte-4o0fgs{align-self:center;margin:0}.table_list.svelte-4o0fgs .header input.svelte-4o0fgs{padding:0.2em}.table_list.svelte-4o0fgs .content.svelte-4o0fgs{overflow-y:auto;height:calc(100% - 115px)}.table_list.svelte-4o0fgs .content .module.svelte-4o0fgs{display:flex;justify-content:space-between;border-bottom:1px solid #ccc;padding:0.8em 0.5em 0.8em 0}",T(document.head,e)),_t(this,t,Do,_o,C,{dataItem:0,functionProp:1})}}function Eo(t){let e;return{c(){e=S("m-box"),e.innerHTML="<h3>Keine Tasks vorhanden!</h3>"},m(t,n){I(t,e,n)},p:b,i:b,o:b,d(t){t&&O(e)}}}function zo(t){let e,n,o,r;const s=[Fo,Oo,Io,To],l=[];function i(t,e){return 1111===t[0].id?0:3333===t[0].id?1:4444===t[0].id?2:3}return e=i(t),n=l[e]=s[e](t),{c(){n.c(),o=W()},m(t,n){l[e].m(t,n),I(t,o,n),r=!0},p(t,r){let a=e;e=i(t),e===a?l[e].p(t,r):(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut(),n=l[e],n?n.p(t,r):(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o))},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){l[e].d(t),t&&O(o)}}}function To(t){let e,n;return e=new Co({props:{dataItem:t[0],functionProp:t[7]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.dataItem=t[0]),32&n&&(o.functionProp=t[7]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Io(t){let e,n;return e=new t[6]({props:{class:"db",$$slots:{default:[So]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};256&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Oo(t){let e,n;return e=new t[6]({props:{class:"db",$$slots:{default:[Ao]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};258&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Fo(t){let e,n;return e=new t[6]({props:{class:"db",$$slots:{default:[Po]},$$scope:{ctx:t}}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};286&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function So(t){let e,n;return e=new g({}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Ao(t){let e,n;return e=new p({props:{movePointerDown:t[1]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};2&n&&(o.movePointerDown=t[1]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Po(t){let e,n;return e=new io({props:{allTasks:t[2].task,movePointerDown:t[1],domains:t[3],events:t[4]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};4&n&&(o.allTasks=t[2].task),2&n&&(o.movePointerDown=t[1]),8&n&&(o.domains=t[3]),16&n&&(o.events=t[4]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function No(t){let e,n,o,r;const s=[zo,Eo],l=[];function i(t,e){return t[2]?.task?.length>0?0:1}return e=i(t),n=l[e]=s[e](t),{c(){n.c(),o=W()},m(t,n){l[e].m(t,n),I(t,o,n),r=!0},p(t,[r]){let a=e;e=i(t),e===a?l[e].p(t,r):(dt(),ft(l[a],1,1,(()=>{l[a]=null})),ut(),n=l[e],n?n.p(t,r):(n=l[e]=s[e](t),n.c()),mt(n,1),n.m(o.parentNode,o))},i(t){r||(mt(n),r=!0)},o(t){ft(n),r=!1},d(t){l[e].d(t),t&&O(o)}}}function Wo(t,n,o){const{Dialog:r}=e;let{dataItem:s}=n,{movePointerDown:l}=n,{allTasks:i}=n,{domains:a}=n,{events:c}=n,{functionProp:d=(()=>{})}=n;return t.$$set=t=>{"dataItem"in t&&o(0,s=t.dataItem),"movePointerDown"in t&&o(1,l=t.movePointerDown),"allTasks"in t&&o(2,i=t.allTasks),"domains"in t&&o(3,a=t.domains),"events"in t&&o(4,c=t.events),"functionProp"in t&&o(5,d=t.functionProp)},[s,l,i,a,c,d,r,t=>d(t)]}class Mo extends Dt{constructor(t){super(),_t(this,t,Wo,No,C,{dataItem:0,movePointerDown:1,allTasks:2,domains:3,events:4,functionProp:5})}}function Lo(t){let e,n;return e=new t[5]({props:{class:"btn--close",$$slots:{default:[jo]},$$scope:{ctx:t}}}),e.$on("click",(function(){return t[9](t[14])})),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(n,o){t=n;const r={};65536&o&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function jo(t){let e,n;return e=new ie({}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Bo(t){let e,n;return e=new Mo({props:{allTasks:t[2],dataItem:t[14],settings:t[1],movePointerDown:t[15],functionProp:t[11]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};4&n&&(o.allTasks=t[2]),16384&n&&(o.dataItem=t[14]),2&n&&(o.settings=t[1]),32768&n&&(o.movePointerDown=t[15]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function qo(t){let e,n;return e=new Mo({props:{allTasks:t[2],domains:t[3],events:t[4],dataItem:t[14],settings:t[1],movePointerDown:t[15],functionProp:t[10]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){const o={};4&n&&(o.allTasks=t[2]),8&n&&(o.domains=t[3]),16&n&&(o.events=t[4]),16384&n&&(o.dataItem=t[14]),2&n&&(o.settings=t[1]),32768&n&&(o.movePointerDown=t[15]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Uo(t){let e,n,o,r,s,l=9999!==t[14].id&&Lo(t);const i=[qo,Bo],a=[];function c(t,e){return 1111===t[14].id?0:1}return n=c(t),o=a[n]=i[n](t),{c(){l&&l.c(),e=N(),o.c(),r=W()},m(t,o){l&&l.m(t,o),I(t,e,o),a[n].m(t,o),I(t,r,o),s=!0},p(t,s){9999!==t[14].id?l?(l.p(t,s),16384&s&&mt(l,1)):(l=Lo(t),l.c(),mt(l,1),l.m(e.parentNode,e)):l&&(dt(),ft(l,1,1,(()=>{l=null})),ut());let d=n;n=c(t),n===d?a[n].p(t,s):(dt(),ft(a[d],1,1,(()=>{a[d]=null})),ut(),o=a[n],o?o.p(t,s):(o=a[n]=i[n](t),o.c()),mt(o,1),o.m(r.parentNode,r))},i(t){s||(mt(l),mt(o),s=!0)},o(t){ft(l),ft(o),s=!1},d(t){l&&l.d(t),t&&O(e),a[n].d(t),t&&O(r)}}}function Ho(t){let e,o,r,s,l;function i(e){t[12](e)}let a={fillSpace:!1,rowHeight:150,cols:t[6],$$slots:{default:[Uo,({dataItem:t,movePointerDown:e})=>({14:t,15:e}),({dataItem:t,movePointerDown:e})=>(t?16384:0)|(e?32768:0)]},$$scope:{ctx:t}};return void 0!==t[0]&&(a.items=t[0]),r=new n({props:a}),K.push((()=>xt(r,"items",i))),{c(){e=N(),o=S("section"),wt(r.$$.fragment),document.title="enablerr - Dashboard",j(o,"id","main"),j(o,"class","svelte-1uegt2l")},m(t,n){I(t,e,n),I(t,o,n),bt(r,o,null),l=!0},p(t,[e]){const n={};114718&e&&(n.$$scope={dirty:e,ctx:t}),!s&&1&e&&(s=!0,n.items=t[0],ot((()=>s=!1))),r.$set(n)},i(t){l||(mt(r.$$.fragment,t),l=!0)},o(t){ft(r.$$.fragment,t),l=!1},d(t){t&&O(e),t&&O(o),kt(r)}}}function Ro(t,n,r){const{Dialog:s,Button:l}=e;let{module:i}=n,{settings:a}=n,{allTasks:c}=n,{domains:d}=n,{events:u}=n;const m=t=>{r(0,i=i.filter((e=>e.id!==t.id))),r(0,i=o.adjust(i,6)),r(0,i=o.normalize(i,6))};async function f(t){if(null!=i.find((e=>e.id==t.id)))return;let e=o.findSpace(t,i,6),n={...t,6:{...t[6],...e},5:{...t[5],...e},4:{...t[4],...e},3:{...t[3],...e},2:{...t[2],...e},1:{...t[1],...e}};i.push(n),r(0,i=o.adjust(i,6)),r(0,i=o.normalize(i,6))}return t.$$set=t=>{"module"in t&&r(0,i=t.module),"settings"in t&&r(1,a=t.settings),"allTasks"in t&&r(2,c=t.allTasks),"domains"in t&&r(3,d=t.domains),"events"in t&&r(4,u=t.events)},[i,a,c,d,u,l,[[9e3,6],[2e3,5],[1500,4],[1200,3],[900,2],[600,1]],m,f,t=>m(t),t=>f(t),t=>f(t),function(t){i=t,r(0,i)}]}class Vo extends Dt{constructor(t){var e;super(),document.getElementById("svelte-1uegt2l-style")||((e=S("style")).id="svelte-1uegt2l-style",e.textContent="section#main.svelte-1uegt2l{position:relative;width:100%;right:1em;padding-top:0.25em;padding-bottom:0.25em}section#main.svelte-1uegt2l .btn--close{position:absolute;height:1.25em;top:1.45em;right:1em;z-index:1;color:white;padding:0 !important}.feather.moveIcon{margin-right:0.25em}.dialog.db{width:auto !important;height:100%;overflow-y:visible;padding:0 !important}:root{--task-header-color:rgba(217, 178, 103, 0.55)}.svlt-grid-item{transition:none !important}",T(document.head,e)),_t(this,t,Ro,Ho,C,{module:0,settings:1,allTasks:2,domains:3,events:4})}}const Go=[{day:"Sonntag",status:!1,value:"Su"},{day:"Montag",status:!1,value:"Mo"},{day:"Dienstag",status:!1,value:"Tu"},{day:"Mittwoch",status:!1,value:"We"},{day:"Donnerstag",status:!1,value:"Th"},{day:"Freitag",status:!1,value:"Fr"},{day:"Samstag",status:!1,value:"Sa"}];var Jo=(t=new Date)=>Go[t.getDay()];function Zo(t){t[12]=t[16].domains,t[13]=t[16].events,t[14]=t[16].module,t[15]=t[16].moduleList}function Yo(t){return{c:b,m:b,p:b,i:b,o:b,d:b}}function Ko(t){let e,n;return Zo(t),e=new Vo({props:{module:t[14],allTasks:t[0],domains:t[12],events:t[13],settings:t[15]}}),{c(){wt(e.$$.fragment)},m(t,o){bt(e,t,o),n=!0},p(t,n){Zo(t);const o={};1&n&&(o.allTasks=t[0]),e.$set(o)},i(t){n||(mt(e.$$.fragment,t),n=!0)},o(t){ft(e.$$.fragment,t),n=!1},d(t){kt(e,t)}}}function Qo(t){return{c:b,m:b,p:b,i:b,o:b,d:b}}function Xo(t){let e,n,o,r,s=!t[2]&&function(t){let e,n,o={ctx:t,current:null,token:null,hasCatch:!1,pending:Qo,then:Ko,catch:Yo,value:16,blocks:[,,,]};return gt(t[3](),o),{c(){e=W(),o.block.c()},m(t,r){I(t,e,r),o.block.m(t,o.anchor=r),o.mount=()=>e.parentNode,o.anchor=e,n=!0},p(e,n){pt(o,t=e,n)},i(t){n||(mt(o.block),n=!0)},o(t){for(let t=0;t<3;t+=1)ft(o.blocks[t]);n=!1},d(t){t&&O(e),o.block.d(t),o.token=null,o=null}}}(t);return{c(){e=N(),n=S("section"),o=S("l-container"),s&&s.c(),document.title="enablerr - Dashboard",B(o,"class","shadow"),B(o,"maxwidth","ld"),j(n,"class","svelte-i05i0l")},m(t,l){I(t,e,l),I(t,n,l),T(n,o),s&&s.m(o,null),r=!0},p(t,[e]){t[2]||s.p(t,e)},i(t){r||(mt(s),r=!0)},o(t){ft(s),r=!1},d(t){t&&O(e),t&&O(n),s&&s.d()}}}function tr(t,e,n){let o,s;E(t,l,(t=>n(6,s=t)));const{getModules:i,getDefaultLayout:a}=r,{loggedIn:c}=m;let d,f;E(t,c,(t=>n(5,o=t)));const g=-1!==window.location.search.indexOf("view=standalone");return[d,c,g,async function(){if(f=await r.getUserSettings(),!f?.setting){const t=Math.floor(1e3+9e3*Math.random()).toString();f=await r.saveDefaultSettings(o.user,t)}l.set(f),f.role&&u.set(f.role);const t=function(t){const e=[...t.task];return t.task=e.filter((t=>t.data?"Information"!==t.event.stream.task&&("WaitingForApproval"===t.status||!!t.workflow?.numberOfFollowers):!s.role?.length||(!t.event.authorization?.length||t.event.authorization.some((t=>s.role?.find((e=>e===t.role))))))),t}(await r.getTaskqueue(o.tenant)),e=t.task.map((t=>t.event.domain));let c=[...new Set(e)];c=c.sort(((t,e)=>{let n=t.toLowerCase(),o=e.toLowerCase();return n<o?-1:n>o?1:0}));let m=[...new Set(t.task.map((t=>t.event.designation)))];m=m.sort(((t,e)=>{let n=t.toLowerCase(),o=e.toLowerCase();return n<o?-1:n>o?1:0}));const{module:g,moduleList:p}=await async function(){const t=function(t){const e=a();if(!t?.setting?.dashboardLayout?.length)return e[0];const n=t.setting.dashboardLayout.filter((t=>t.activated&&t.days.includes(Jo().value)));if(null==n||0==n.length)return e[0];return n[0]}(s);let e=[];t&&(e=[].concat.apply([],t.moduleList?.map((t=>Number(t.moduleId)))));return{module:i(e),moduleList:t}}();return n(0,d=t),{domains:c,events:m,module:g,moduleList:p}}]}function er(t){let e,n,o;return{c(){e=A("svg"),n=A("circle"),o=A("path"),j(n,"cx","10"),j(n,"cy","10"),j(n,"r","9.5"),j(n,"fill","#FF8686"),j(n,"stroke","#383F51"),j(o,"d","M11.3281 3.91406L11.0542 12.3062H9.06201L8.77979 3.91406H11.3281ZM8.71338 14.9043C8.71338 14.5501 8.83512 14.2568 9.07861 14.0244C9.32764 13.7865 9.65413 13.6675 10.0581 13.6675C10.4676 13.6675 10.7941 13.7865 11.0376 14.0244C11.2811 14.2568 11.4028 14.5501 11.4028 14.9043C11.4028 15.2474 11.2811 15.5379 11.0376 15.7759C10.7941 16.0138 10.4676 16.1328 10.0581 16.1328C9.65413 16.1328 9.32764 16.0138 9.07861 15.7759C8.83512 15.5379 8.71338 15.2474 8.71338 14.9043Z"),j(o,"fill","#383F51"),j(e,"class",t[0]),H(e,"margin-left",t[1]),j(e,"width","20"),j(e,"height","20"),j(e,"viewBox","0 0 20 20"),j(e,"fill","none"),j(e,"xmlns","http://www.w3.org/2000/svg")},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"class",t[0]),2&n&&H(e,"margin-left",t[1])},i:b,o:b,d(t){t&&O(e)}}}function nr(t,e,n){let{css:o}=e,{margin:r}=e;return t.$$set=t=>{"css"in t&&n(0,o=t.css),"margin"in t&&n(1,r=t.margin)},[o,r]}function or(t){let e,n,o;return{c(){e=A("svg"),n=A("circle"),o=A("path"),j(n,"cx","10"),j(n,"cy","10"),j(n,"r","9.5"),j(n,"fill","#FFFFFF"),j(n,"stroke","#383F51"),j(o,"d","M11.3281 3.91406L11.0542 12.3062H9.06201L8.77979 3.91406H11.3281ZM8.71338 14.9043C8.71338 14.5501 8.83512 14.2568 9.07861 14.0244C9.32764 13.7865 9.65413 13.6675 10.0581 13.6675C10.4676 13.6675 10.7941 13.7865 11.0376 14.0244C11.2811 14.2568 11.4028 14.5501 11.4028 14.9043C11.4028 15.2474 11.2811 15.5379 11.0376 15.7759C10.7941 16.0138 10.4676 16.1328 10.0581 16.1328C9.65413 16.1328 9.32764 16.0138 9.07861 15.7759C8.83512 15.5379 8.71338 15.2474 8.71338 14.9043Z"),j(o,"fill","#383F51"),j(e,"class",t[0]),H(e,"margin-left",t[1]),j(e,"width","20"),j(e,"height","20"),j(e,"viewBox","0 0 20 20"),j(e,"fill","none"),j(e,"xmlns","http://www.w3.org/2000/svg")},m(t,r){I(t,e,r),T(e,n),T(e,o)},p(t,[n]){1&n&&j(e,"class",t[0]),2&n&&H(e,"margin-left",t[1])},i:b,o:b,d(t){t&&O(e)}}}function rr(t,e,n){let{css:o}=e,{margin:r}=e;return t.$$set=t=>{"css"in t&&n(0,o=t.css),"margin"in t&&n(1,r=t.margin)},[o,r]}function sr(t){let e,n,o,r,s,l,i,a,c,d,u,m,f;return{c(){e=A("svg"),n=A("circle"),o=A("path"),r=A("ellipse"),s=A("ellipse"),l=A("ellipse"),i=A("ellipse"),a=A("ellipse"),c=A("ellipse"),d=A("ellipse"),u=A("ellipse"),m=A("ellipse"),f=A("ellipse"),j(n,"cx","41"),j(n,"cy","41"),j(n,"r","41"),j(n,"fill","#53C6D6"),j(o,"d","M59.3297 56.7273C62.706 62.5455 52.7918 64 41.6031 64C30.4144 64 20.5001 63.0303 22.1884 56.7273C22.1884 51.3939 27.8822 48 39.0709 48C50.2596 48 59.3297 51.3718 59.3297 56.7273Z"),j(o,"fill","#4F4F4F"),j(r,"cx","41"),j(r,"cy","50.5"),j(r,"rx","30"),j(r,"ry","9.5"),j(r,"fill","#828282"),j(s,"cx","31"),j(s,"cy","21.5"),j(s,"rx","5"),j(s,"ry","5.5"),j(s,"fill","#4F4F4F"),j(l,"cx","51"),j(l,"cy","21.5"),j(l,"rx","5"),j(l,"ry","5.5"),j(l,"fill","#4F4F4F"),j(i,"cx","40.5"),j(i,"cy","35"),j(i,"rx","19"),j(i,"ry","12.5"),j(i,"transform","rotate(-90 40.5 35)"),j(i,"fill","#828282"),j(a,"cx","30.5"),j(a,"cy","48.0002"),j(a,"rx","2.5"),j(a,"ry","3"),j(a,"transform","rotate(-27.8822 30.5 48.0002)"),j(a,"fill","#C4C4C4"),j(c,"cx","49.6651"),j(c,"cy","47.8481"),j(c,"rx","2.5"),j(c,"ry","3"),j(c,"transform","rotate(30 49.6651 47.8481)"),j(c,"fill","#C4C4C4"),j(d,"cx","36"),j(d,"cy","34.5"),j(d,"rx","2"),j(d,"ry","5.5"),j(d,"fill","#F2F2F2"),j(u,"cx","36"),j(u,"cy","37"),j(u,"rx","2"),j(u,"ry","3"),j(u,"fill","#4F4F4F"),j(m,"cx","44"),j(m,"cy","34.5"),j(m,"rx","2"),j(m,"ry","5.5"),j(m,"fill","#F2F2F2"),j(f,"cx","44"),j(f,"cy","37"),j(f,"rx","2"),j(f,"ry","3"),j(f,"fill","#4F4F4F"),j(e,"class",t[0]),H(e,"float",t[1]),j(e,"width","1.5em"),j(e,"height","1.5em"),j(e,"viewBox","0 0 82 82"),j(e,"fill","none"),j(e,"xmlns","http://www.w3.org/2000/svg")},m(t,g){I(t,e,g),T(e,n),T(e,o),T(e,r),T(e,s),T(e,l),T(e,i),T(e,a),T(e,c),T(e,d),T(e,u),T(e,m),T(e,f)},p(t,[n]){1&n&&j(e,"class",t[0]),2&n&&H(e,"float",t[1])},i:b,o:b,d(t){t&&O(e)}}}function lr(t,e,n){let{css:o}=e,{direction:r}=e;return t.$$set=t=>{"css"in t&&n(0,o=t.css),"direction"in t&&n(1,r=t.direction)},[o,r]}var ir={IconImportant:class extends Dt{constructor(t){super(),_t(this,t,nr,er,C,{css:0,margin:1})}},IconImportantDefault:class extends Dt{constructor(t){super(),_t(this,t,rr,or,C,{css:0,margin:1})}},IconAssistant:class extends Dt{constructor(t){super(),_t(this,t,lr,sr,C,{css:0,direction:1})}}};const ar=w({component:class extends Dt{constructor(t){var e;super(),document.getElementById("svelte-i05i0l-style")||((e=S("style")).id="svelte-i05i0l-style",e.textContent="section.svelte-i05i0l{margin-left:1.5em}",T(document.head,e)),_t(this,t,tr,Xo,C,{})}},domElementGetter:()=>document.getElementById("view-app")}),{bootstrap:cr,mount:dr,unmount:ur}=ar;t({bootstrap:cr,mount:dr,unmount:ur});t("Icon",ir)}}}));
|