1AppRegistry.registerBundle({applicationId:'se.soleil.malfunctions|2.2.6',bundle: {}}); 2AppRegistry.registerModule({applicationId:'se.soleil.malfunctions|2.2.6',path:'/main',module:function(define){'use strict';define(["router","app"],(function(t,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=n(e);const i=/^(\/)*/g;function r(){}o.default.portletId.replace(".","_"),document.documentElement.classList.contains("sv-edit-mode");const s=t=>t;function l(t,e){for(const n in e)t[n]=e[n];return t}function a(t){return t()}function c(){return Object.create(null)}function u(t){t.forEach(a)}function d(t){return"function"==typeof t}function f(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function h(t,e,n,o){if(t){const i=m(t,e,n,o);return t[0](i)}}function m(t,e,n,o){return t[1]&&o?l(n.ctx.slice(),t[1](o(e))):n.ctx}function p(t,e,n,o){if(t[2]&&o){const i=t[2](o(n));if(void 0===e.dirty)return i;if("object"==typeof i){const t=[],n=Math.max(e.dirty.length,i.length);for(let o=0;o<n;o+=1)t[o]=e.dirty[o]|i[o];return t}return e.dirty|i}return e.dirty}function g(t,e,n,o,i,r){if(i){const s=m(e,n,o,r);t.p(s,i)}}function v(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let t=0;t<n;t++)e[t]=-1;return e}return-1}function $(t){return null==t?"":t}const y="undefined"!=typeof window;let b=y?()=>window.performance.now():()=>Date.now(),w=y?t=>requestAnimationFrame(t):r;const _=new Set;function x(t){_.forEach((e=>{e.c(t)||(_.delete(e),e.f())})),0!==_.size&&w(x)}let E=!1;function N(){E=!0}function S(){E=!1}function M(t,e,n,o){for(;t<e;){const i=t+(e-t>>1);n(i)<=o?t=i+1:e=i}return t}function D(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function A(t){const e=C("style");return function(t,e){!function(t,e){t.appendChild(e)}(t.head||t,e)}(D(t),e),e.sheet}function T(t,e){if(E){for(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if("HEAD"===t.nodeName){const t=[];for(let n=0;n<e.length;n++){const o=e[n];void 0!==o.claim_order&&t.push(o)}e=t}const n=new Int32Array(e.length+1),o=new Int32Array(e.length);n[0]=-1;let i=0;for(let t=0;t<e.length;t++){const r=e[t].claim_order,s=(i>0&&e[n[i]].claim_order<=r?i+1:M(1,i,(t=>e[n[t]].claim_order),r))-1;o[t]=n[s]+1;const l=s+1;n[l]=t,i=Math.max(l,i)}const r=[],s=[];let l=e.length-1;for(let t=n[i]+1;0!=t;t=o[t-1]){for(r.push(e[t-1]);l>=t;l--)s.push(e[l]);l--}for(;l>=0;l--)s.push(e[l]);r.reverse(),s.sort(((t,e)=>t.claim_order-e.claim_order));for(let e=0,n=0;e<s.length;e++){for(;n<r.length&&s[e].claim_order>=r[n].claim_order;)n++;const o=n<r.length?r[n]:null;t.insertBefore(s[e],o)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentElement!==t)&&(t.actual_end_child=t.firstChild);null!==t.actual_end_child&&void 0===t.actual_end_child.claim_order;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?void 0===e.claim_order&&e.parentNode===t||t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else e.parentNode===t&&null===e.nextSibling||t.appendChild(e)}function V(t,e,n){t.insertBefore(e,n||null)}function I(t,e,n){E&&!n?T(t,e):e.parentNode===t&&e.nextSibling==n||t.insertBefore(e,n||null)}function k(t){t.parentNode.removeChild(t)}function C(t){return document.createElement(t)}function P(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function H(t){return document.createTextNode(t)}function L(){return H(" ")}function O(){return H("")}function B(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function F(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function U(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}function j(t){return Array.from(t.childNodes)}function z(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}function R(t,e,n,o){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];z(t);const r=(()=>{for(let o=t.claim_info.last_index;o<t.length;o++){const r=t[o];if(e(r)){const e=n(r);
2return void 0===e?t.splice(o,1):t[o]=e,i||(t.claim_info.last_index=o),r}}for(let o=t.claim_info.last_index-1;o>=0;o--){const r=t[o];if(e(r)){const e=n(r);return void 0===e?t.splice(o,1):t[o]=e,i?void 0===e&&t.claim_info.last_index--:t.claim_info.last_index=o,r}}return o()})();return r.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,r}function W(t,e,n,o){return R(t,(t=>t.nodeName===e),(t=>{const e=[];for(let o=0;o<t.attributes.length;o++){const i=t.attributes[o];n[i.name]||e.push(i.name)}e.forEach((e=>t.removeAttribute(e)))}),(()=>o(e)))}function Y(t,e,n){return W(t,e,n,C)}function Z(t,e,n){return W(t,e,n,P)}function G(t,e){return R(t,(t=>3===t.nodeType),(t=>{const n=""+e;if(t.data.startsWith(n)){if(t.data.length!==n.length)return t.splitText(n.length)}else t.data=n}),(()=>H(e)),!0)}function J(t){return G(t," ")}function q(t,e,n){for(let o=n;o<t.length;o+=1){const n=t[o];if(8===n.nodeType&&n.textContent.trim()===e)return o}return t.length}function K(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function Q(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=document.createEvent("CustomEvent");return o.initCustomEvent(t,n,!1,e),o}class X extends class{constructor(){this.e=this.n=null}c(t){this.h(t)}m(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.e||(this.e=C(e.nodeName),this.t=e,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)V(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(k)}}{constructor(t){super(),this.e=this.n=null,this.l=t}c(t){this.l?this.n=this.l:super.c(t)}i(t){for(let e=0;e<this.n.length;e+=1)I(this.t,this.n[e],t)}}const tt=new Map;let et,nt=0;function ot(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function it(t,e){const n={stylesheet:A(e),rules:{}};return tt.set(t,n),n}function rt(t,e,n,o,i,r,s){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0;const a=16.666/o;let c="{\n";for(let t=0;t<=1;t+=a){const o=e+(n-e)*r(t);c+=100*t+`%{${s(o,1-o)}}\n`}const u=c+`100% {${s(n,1-n)}}\n}`,d=`__svelte_${ot(u)}_${l}`,f=D(t),{stylesheet:h,rules:m}=tt.get(f)||it(f,t);m[d]||(m[d]=!0,h.insertRule(`@keyframes ${d} ${u}`,h.cssRules.length));const p=t.style.animation||"";return t.style.animation=`${p?`${p}, `:""}${d} ${o}ms linear ${i}ms 1 both`,nt+=1,d}function st(t,e){const n=(t.style.animation||"").split(", "),o=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),i=n.length-o.length;i&&(t.style.animation=o.join(", "),nt-=i,nt||w((()=>{nt||(tt.forEach((t=>{const{stylesheet:e}=t;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.rules={}})),tt.clear())})))}function lt(t){et=t}function at(){if(!et)throw new Error("Function called outside component initialization");return et}function ct(){const t=at();return(e,n)=>{const o=t.$$.callbacks[e];if(o){const i=Q(e,n);o.slice().forEach((e=>{e.call(t,i)}))}}}const ut=[],dt=[],ft=[],ht=[],mt=Promise.resolve();let pt=!1;function gt(){pt||(pt=!0,mt.then(xt))}function vt(){return gt(),mt}function $t(t){ft.push(t)}function yt(t){ht.push(t)}const bt=new Set;let wt,_t=0;function xt(){const t=et;do{for(;_t<ut.length;){const t=ut[_t];_t++,lt(t),Et(t.$$)}for(lt(null),ut.length=0,_t=0;dt.length;)dt.pop()();for(let t=0;t<ft.length;t+=1){const e=ft[t];bt.has(e)||(bt.add(e),e())}ft.length=0}while(ut.length);for(;ht.length;)ht.pop()();pt=!1,bt.clear(),lt(t)}function Et(t){if(null!==t.fragment){t.update(),u(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach($t)}}function Nt(t,e,n){t.dispatchEvent(Q(`${e?"intro":"outro"}${n}`))}const St=new Set;let Mt;function Dt(){Mt={r:0,c:[],p:Mt}}function At(){Mt.r||u(Mt.c),Mt=Mt.p}function Tt(t,e){t&&t.i&&(St.delete(t),t.i(e))}function Vt(t,e,n,o){if(t&&t.o){if(St.has(t))return;St.add(t),Mt.c.push((()=>{St.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}const It={duration:0};function kt(t,e,n,o){let i=e(t,n),l=o?0:1,a=null,c=null,f=null;function h(){f&&st(t,f)}function m(t,e){const n=t.b-l;return e*=Math.abs(n),{a:l,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function p(e){const{delay:n=0,duration:o=300,easing:d=s,tick:p=r,css:g}=i||It,v={start:b()+n,b:e};e||(v.group=Mt,Mt.r+=1),a||c?c=v:(g&&(h(),f=rt(t,l,e,o,n,d,g)),e&&p(0,1),a=m(v,o),$t((()=>Nt(t,e,"start"))),function(t){let e;0===_.size&&w(x),new Promise((n=>{_.add(e={c:t,f:n})}))}((e=>{if(c&&e>c.start&&(a=m(c,o),c=null,Nt(t,a.b,"start"),g&&(h(),f=rt(t,l,a.b,a.duration,0,d,i.css))),a)if(e>=a.end)p(l=a.b,1-l),Nt(t,a.b,"end"),c||(a.b?h():--a.group.r||u(a.group.c)),a=null;else if(e>=a.start){const t=e-a.start;l=a.a+a.d*d(t/a.duration),p(l,1-l)}return!(!a&&!c)})))}return{run(t){d(i)?(wt||(wt=Promise.resolve(),wt.then((()=>{wt=null}))),wt).then((()=>{i=i(),p(t)})):p(t)},end(){h(),a=c=null}}}const Ct="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function Pt(t,e){Vt(t,1,1,(()=>{e.delete(t.key)}))}function Ht(t,e,n,o,i,r,s,l,a,c,u,d){let f=t.length,h=r.length,m=f;const p={};for(;m--;
2)p[t[m].key]=m;const g=[],v=new Map,$=new Map;for(m=h;m--;){const t=d(i,r,m),l=n(t);let a=s.get(l);a?o&&a.p(t,e):(a=c(l,t),a.c()),v.set(l,g[m]=a),l in p&&$.set(l,Math.abs(m-p[l]))}const y=new Set,b=new Set;function w(t){Tt(t,1),t.m(l,u),s.set(t.key,t),u=t.first,h--}for(;f&&h;){const e=g[h-1],n=t[f-1],o=e.key,i=n.key;e===n?(u=e.first,f--,h--):v.has(i)?!s.has(o)||y.has(o)?w(e):b.has(i)?f--:$.get(o)>$.get(i)?(b.add(o),w(e)):(y.add(i),f--):(a(n,s),f--)}for(;f--;){const e=t[f];v.has(e.key)||a(e,s)}for(;h;)w(g[h-1]);return g}function Lt(t,e){const n={},o={},i={$$scope:1};let r=t.length;for(;r--;){const s=t[r],l=e[r];if(l){for(const t in s)t in l||(o[t]=1);for(const t in l)i[t]||(n[t]=l[t],i[t]=1);t[r]=l}else for(const t in s)i[t]=1}for(const t in o)t in n||(n[t]=void 0);return n}function Ot(t){return"object"==typeof t&&null!==t?t:{}}function Bt(t,e,n){const o=t.$$.props[e];void 0!==o&&(t.$$.bound[o]=n,n(t.$$.ctx[o]))}function Ft(t){t&&t.c()}function Ut(t,e){t&&t.l(e)}function jt(t,e,n,o){const{fragment:i,on_mount:r,on_destroy:s,after_update:l}=t.$$;i&&i.m(e,n),o||$t((()=>{const e=r.map(a).filter(d);s?s.push(...e):u(e),t.$$.on_mount=[]})),l.forEach($t)}function zt(t,e){const n=t.$$;null!==n.fragment&&(u(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Rt(t,e){-1===t.$$.dirty[0]&&(ut.push(t),gt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Wt(t,e,n,o,i,s,l){let a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1];const d=et;lt(t);const f=t.$$={fragment:null,ctx:null,props:s,update:r,not_equal:i,bound:c(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(d?d.$$.context:[])),callbacks:c(),dirty:a,skip_bound:!1,root:e.target||d.$$.root};l&&l(f.root);let h=!1;if(f.ctx=n?n(t,e.props||{},(function(e,n){const o=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return f.ctx&&i(f.ctx[e],f.ctx[e]=o)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](o),h&&Rt(t,e)),n})):[],f.update(),h=!0,u(f.before_update),f.fragment=!!o&&o(f.ctx),e.target){if(e.hydrate){N();const t=j(e.target);f.fragment&&f.fragment.l(t),t.forEach(k)}else f.fragment&&f.fragment.c();e.intro&&Tt(t.$$.fragment),jt(t,e.target,e.anchor,e.customElement),S(),xt()}lt(d)}class Yt{$destroy(){zt(this,1),this.$destroy=r}$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 Zt(t){const e=t-1;return e*e*e+1}function Gt(t){let{delay:e=0,duration:n=400,easing:o=s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:o,css:t=>"opacity: "+t*i}}function Jt(t){let{delay:e=0,duration:n=400,easing:o=Zt}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=getComputedStyle(t),r=+i.opacity,s=parseFloat(i.height),l=parseFloat(i.paddingTop),a=parseFloat(i.paddingBottom),c=parseFloat(i.marginTop),u=parseFloat(i.marginBottom),d=parseFloat(i.borderTopWidth),f=parseFloat(i.borderBottomWidth);return{delay:e,duration:n,easing:o,css:t=>`overflow: hidden;opacity: ${Math.min(20*t,1)*r};height: ${t*s}px;padding-top: ${t*l}px;padding-bottom: ${t*a}px;margin-top: ${t*c}px;margin-bottom: ${t*u}px;border-top-width: ${t*d}px;border-bottom-width: ${t*f}px;`}}function qt(t){let{delay:e=0,duration:n=400,easing:o=Zt,start:i=0,opacity:r=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=getComputedStyle(t),l=+s.opacity,a="none"===s.transform?"":s.transform,c=1-i,u=l*(1-r);return{delay:e,duration:n,easing:o,css:(t,e)=>`\n\t\t\ttransform: ${a} scale(${1-c*e});\n\t\t\topacity: ${l-u*e}\n\t\t`}}var Kt=(()=>{const t=navigator.userAgent||navigator.vendor||window.opera;return!!(/android/i.test(t)||/iPad|iPhone|iPod/.test(t)&&!window.MSStream)})();const Qt=t=>{const e=.01*window.innerHeight;t.style.setProperty("--vh",`${e}px`)};function Xt(t){if(Kt){const e=()=>{t.parentNode||window.removeEventListener("resize",e,!0),Qt(t)};window.addEventListener("resize",e,!0),Qt(t)}}function te(t,e,n){if(n)return e?e(t()):t();try{var o=Promise.resolve(t());return e?o.then(e):o}catch(t){return Promise.reject(t)}}const{window:ee}=Ct;const ne=t=>({}),oe=t=>({}),ie=t=>({}),re=t=>({});function se(t){let e,n,o,i,r,s,l,a,c,d,f,m,y,b,w,_,x,E;const N=t[26].default,S=h(N,t,t[25],null);let M=!t[4]&&le(t),D=t[4]&&ae(t);return{c(){e=C("div"),i=L(),r=C("div"),s=L(),l=C("div"),a=C("div"),S&&S.c(),c=L(),M&&M.c(),y=L(),D&&D.c(),b=L(),w=C("div"),this.h()},l(t){e=Y(t,"DIV",{class:!0}),j(e).forEach(k),i=J(t),r=Y(t,"DIV",{tabindex:!0,class:!0}),j(r).forEach(k),s=J(t),l=Y(t,"DIV",{class:!0});var n=j(l);a=Y(n,"DIV",{class:!0,role:!0,"aria-label":!0,"aria-labelledby":!0,"aria-modal":!0,tabindex:!0});var o=j(a);
2S&&S.l(o),c=J(o),M&&M.l(o),o.forEach(k),n.forEach(k),y=J(t),D&&D.l(t),b=J(t),w=Y(t,"DIV",{tabindex:!0,class:!0}),j(w).forEach(k),this.h()},h(){F(e,"class",n=$(t[19]("modal__mask"))+" modal-lowp06"),F(r,"tabindex","0"),F(r,"class","modal-lowp06"),F(a,"class",d=$(t[19]("modal__container"))+" modal-lowp06"),F(a,"role",t[0]),F(a,"aria-label",t[1]),F(a,"aria-labelledby",t[2]),F(a,"aria-modal","true"),F(a,"tabindex","-1"),F(l,"class",m=$(t[19]("modal__wrapper"))+" modal-lowp06"),F(w,"tabindex","0"),F(w,"class","modal-lowp06")},m(n,o){I(n,e,o),t[27](e),I(n,i,o),I(n,r,o),I(n,s,o),I(n,l,o),T(l,a),S&&S.m(a,null),T(a,c),M&&M.m(a,null),t[30](a),t[31](l),I(n,y,o),D&&D.m(n,o),I(n,b,o),I(n,w,o),_=!0,x||(E=[B(e,"click",t[17]),B(e,"introend",t[28]),B(e,"outroend",t[29]),B(r,"focus",t[16]),B(a,"introend",t[13]),B(l,"click",t[17]),B(w,"focus",t[15])],x=!0)},p(e,n){t=e,S&&S.p&&(!_||33554432&n[0])&&g(S,N,t,t[25],_?p(N,t[25],n,null):v(t[25]),null),t[4]?M&&(Dt(),Vt(M,1,1,(()=>{M=null})),At()):M?(M.p(t,n),16&n[0]&&Tt(M,1)):(M=le(t),M.c(),Tt(M,1),M.m(a,null)),(!_||1&n[0])&&F(a,"role",t[0]),(!_||2&n[0])&&F(a,"aria-label",t[1]),(!_||4&n[0])&&F(a,"aria-labelledby",t[2]),t[4]?D?(D.p(t,n),16&n[0]&&Tt(D,1)):(D=ae(t),D.c(),Tt(D,1),D.m(b.parentNode,b)):D&&(Dt(),Vt(D,1,1,(()=>{D=null})),At())},i(n){_||(n&&$t((()=>{o||(o=kt(e,Gt,{duration:t[3]},!0)),o.run(1)})),Tt(S,n),Tt(M),n&&$t((()=>{f||(f=kt(a,t[5],{duration:t[3]+100,start:.8},!0)),f.run(1)})),Tt(D),_=!0)},o(n){n&&(o||(o=kt(e,Gt,{duration:t[3]},!1)),o.run(0)),Vt(S,n),Vt(M),n&&(f||(f=kt(a,t[5],{duration:t[3]+100,start:.8},!1)),f.run(0)),Vt(D),_=!1},d(n){n&&k(e),t[27](null),n&&o&&o.end(),n&&k(i),n&&k(r),n&&k(s),n&&k(l),S&&S.d(n),M&&M.d(),t[30](null),n&&f&&f.end(),t[31](null),n&&k(y),D&&D.d(n),n&&k(b),n&&k(w),x=!1,u(E)}}}function le(t){let e,n,o,i;const r=t[26].button,s=h(r,t,t[25],re),l=s||function(t){let e,n,o,i,r;return{c(){e=C("span"),n=H("Ã"),o=L(),i=C("span"),r=H("Stäng"),this.h()},l(t){e=Y(t,"SPAN",{"aria-hidden":!0,class:!0});var s=j(e);n=G(s,"Ã"),s.forEach(k),o=J(t),i=Y(t,"SPAN",{class:!0});var l=j(i);r=G(l,"Stäng"),l.forEach(k),this.h()},h(){F(e,"aria-hidden","true"),F(e,"class","modal-lowp06"),F(i,"class","modal-lowp06")},m(t,s){I(t,e,s),T(e,n),I(t,o,s),I(t,i,s),T(i,r)},d(t){t&&k(e),t&&k(o),t&&k(i)}}}();return{c(){e=C("button"),l&&l.c(),this.h()},l(t){e=Y(t,"BUTTON",{class:!0});var n=j(e);l&&l.l(n),n.forEach(k),this.h()},h(){F(e,"class",$(t[19]("modal__close"))+" modal-lowp06")},m(r,s){I(r,e,s),l&&l.m(e,null),n=!0,o||(i=B(e,"click",t[18]),o=!0)},p(t,e){s&&s.p&&(!n||33554432&e[0])&&g(s,r,t,t[25],n?p(r,t[25],e,ie):v(t[25]),re)},i(t){n||(Tt(l,t),n=!0)},o(t){Vt(l,t),n=!1},d(t){t&&k(e),l&&l.d(t),o=!1,i()}}}function ae(t){let e,n,o,i;const r=t[26].button,s=h(r,t,t[25],oe),l=s||function(t){let e,n,o,i,r;return{c(){e=C("span"),n=H("Ã"),o=L(),i=C("span"),r=H("Stäng"),this.h()},l(t){e=Y(t,"SPAN",{"aria-hidden":!0,class:!0});var s=j(e);n=G(s,"Ã"),s.forEach(k),o=J(t),i=Y(t,"SPAN",{class:!0});var l=j(i);r=G(l,"Stäng"),l.forEach(k),this.h()},h(){F(e,"aria-hidden","true"),F(e,"class","modal-lowp06"),F(i,"class","modal-lowp06")},m(t,s){I(t,e,s),T(e,n),I(t,o,s),I(t,i,s),T(i,r)},d(t){t&&k(e),t&&k(o),t&&k(i)}}}();return{c(){e=C("button"),l&&l.c(),this.h()},l(t){e=Y(t,"BUTTON",{class:!0});var n=j(e);l&&l.l(n),n.forEach(k),this.h()},h(){F(e,"class",$(t[19](["modal__close","modal__close--outside"]))+" modal-lowp06")},m(r,s){I(r,e,s),l&&l.m(e,null),n=!0,o||(i=B(e,"click",t[18]),o=!0)},p(t,e){s&&s.p&&(!n||33554432&e[0])&&g(s,r,t,t[25],n?p(r,t[25],e,ne):v(t[25]),oe)},i(t){n||(Tt(l,t),n=!0)},o(t){Vt(l,t),n=!1},d(t){t&&k(e),l&&l.d(t),o=!1,i()}}}function ce(t){let e,n,o,i,r,s=t[7]&&se(t);return{c(){e=C("div"),s&&s.c(),this.h()},l(t){e=Y(t,"DIV",{class:!0});var n=j(e);s&&s.l(n),n.forEach(k),this.h()},h(){F(e,"class",n=t[19]("modal")+" "+t[6]+" modal-lowp06")},m(n,l){I(n,e,l),s&&s.m(e,null),t[32](e),o=!0,i||(r=B(ee,"keydown",t[14]),i=!0)},p(t,i){t[7]?s?(s.p(t,i),128&i[0]&&Tt(s,1)):(s=se(t),s.c(),Tt(s,1),s.m(e,null)):s&&(Dt(),Vt(s,1,1,(()=>{s=null})),At()),(!o||64&i[0]&&n!==(n=t[19]("modal")+" "+t[6]+" modal-lowp06"))&&F(e,"class",n)},i(t){o||(Tt(s),o=!0)},o(t){Vt(s),o=!1},d(n){n&&k(e),s&&s.d(),t[32](null),i=!1,r()}}}function ue(t,e,n){let{$$slots:o={},$$scope:i}=e,{id:r="modal"}=e,{role:s="dialog"}=e,{label:l}=e,{labelledBy:a}=e,{duration:c=200}=e,{buttonOutside:u=!1}=e,{prefix:d}=e,{transition:f=qt}=e,{disableHash:h=!1}=e,{class:m=""}=e;const p=ct();let g,v,$,y,b,w=!1;const _=()=>{document.body.style.overflow="hidden",document.body.style.height="100%",document.body.style.width="100%"},x=()=>{document.body.style.overflow="",document.body.style.height="",document.body.style.width="",document.body.style.position=""},E=t=>{const e=v.parentNode.children;Array.from(e).filter((t=>"SCRIPT"!==t.tagName)).filter((t=>
2t!==v)).forEach((e=>{t?(e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","-1")):(e.removeAttribute("aria-hidden"),e.removeAttribute("tabindex"))}))},N=()=>{const t=`${window.location.pathname}${window.location.search}`;window.history.pushState({},"",t)},S=()=>{window.history.replaceState(void 0,void 0,`#${r}`)},M=()=>{window.history.replaceState(void 0,void 0,"#")},D=t=>{t.preventDefault(),V()},A=(T=function(){let{referer:t=document.activeElement,changeHash:e=!0,event:o="open"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g=t,n(7,w=!0),_(),!h&&e&&(N(),S()),te(vt,(function(){Xt(v),E(!0),window.addEventListener("popstate",D,!1),p(o)}))},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];try{return Promise.resolve(T.apply(this,t))}catch(t){return Promise.reject(t)}});var T;const V=function(){let{event:t="close"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(7,w=!1),x(),E(!1),g&&(g.focus(),g=null),h||(window.removeEventListener("popstate",D),M()),p(t)};var I;I=()=>{h||(window.location.hash===`#${r}`&&A({changeHash:!1}),window.addEventListener("popstate",(()=>{window.location.hash===`#${r}`&&A({changeHash:!1})}),!0))},at().$$.on_mount.push(I);return t.$$set=t=>{"id"in t&&n(20,r=t.id),"role"in t&&n(0,s=t.role),"label"in t&&n(1,l=t.label),"labelledBy"in t&&n(2,a=t.labelledBy),"duration"in t&&n(3,c=t.duration),"buttonOutside"in t&&n(4,u=t.buttonOutside),"prefix"in t&&n(21,d=t.prefix),"transition"in t&&n(5,f=t.transition),"disableHash"in t&&n(22,h=t.disableHash),"class"in t&&n(6,m=t.class),"$$scope"in t&&n(25,i=t.$$scope)},[s,l,a,c,u,f,m,w,v,$,y,b,p,()=>{const t=b.querySelector("*[tabindex], input, textarea");t?t.focus():b.focus()},t=>{w&&"Escape"===t.key&&(t.preventDefault(),V())},()=>{const t=v.querySelectorAll("*:not(div)"),e=Array.from(t).find((t=>t.tabIndex>=0));e&&e.focus()},()=>{const t=v.querySelectorAll("*:not(div)"),e=Array.from(t).reverse().find((t=>t.tabIndex>=0));e&&e.focus()},t=>{t.target!==$&&t.target!==y||(t.preventDefault(),V())},()=>{p("closeClick"),V()},t=>[].concat(t).map((t=>`${t} ${d?`${d}-${t}`:""}`)).join(" "),r,d,h,A,V,i,o,function(t){dt[t?"unshift":"push"]((()=>{$=t,n(9,$)}))},()=>p("afterOpen"),()=>p("afterClose"),function(t){dt[t?"unshift":"push"]((()=>{b=t,n(11,b)}))},function(t){dt[t?"unshift":"push"]((()=>{y=t,n(10,y)}))},function(t){dt[t?"unshift":"push"]((()=>{v=t,n(8,v)}))}]}class de extends Yt{constructor(t){super(),Wt(this,t,ue,ce,f,{id:20,role:0,label:1,labelledBy:2,duration:3,buttonOutside:4,prefix:21,transition:5,disableHash:22,class:6,open:23,close:24},null,[-1,-1])}get open(){return this.$$.ctx[23]}get close(){return this.$$.ctx[24]}}let fe=document.documentElement.lang||"en",he={};const me=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const o=n=>String.prototype.split.call(e,n).filter(Boolean).reduce(((t,e)=>null!=t?t[e]:t),t),i=o(/[,[\]]+?/)||o(/[,[\].]+?/);return void 0===i||i===t?n:i},pe=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=me(t[fe],e);return null==o?(console.warn(`[@soleil-api/i18n] No translation avaliable for ${e}`),e):(Object.keys(n).forEach((t=>{const e=n[t],i=new RegExp(`{${t}}`,"g");o=o.replace(i,e)})),o)};function ge(t,e){he={...he,[t]:e}}function ve(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return pe(he,t,e)}function $e(t,e,n){const o=t.slice();return o[17]=e[n].profileId,o[18]=e[n].profileName,o[20]=n,o}function ye(t){let e,n,o,i,r,s,l,a,c,f,h,m,p,g=t[18]+"",v=t[5](t[17])+"";return{c(){e=C("li"),n=C("input"),i=L(),r=C("label"),s=C("span"),l=H(g),a=L(),c=C("span"),f=H(v),this.h()},l(t){e=Y(t,"LI",{});var o=j(e);n=Y(o,"INPUT",{id:!0,class:!0,type:!0}),i=J(o),r=Y(o,"LABEL",{for:!0,class:!0});var u=j(r);s=Y(u,"SPAN",{class:!0});var d=j(s);l=G(d,g),d.forEach(k),a=J(u),c=Y(u,"SPAN",{class:!0});var h=j(c);f=G(h,v),h.forEach(k),u.forEach(k),o.forEach(k),this.h()},h(){F(n,"id",o=t[17]),F(n,"class","env-assistive-text sidebar-856esm"),F(n,"type","radio"),n.__value=t[20],n.value=n.__value,t[11][0].push(n),F(s,"class","sidebar-856esm"),F(c,"class","sidebar-856esm"),F(r,"for",h=t[17]),F(r,"class","sidebar-856esm")},m(o,u){I(o,e,u),T(e,n),n.checked=n.__value===t[4],T(e,i),T(e,r),T(r,s),T(s,l),T(r,a),T(r,c),T(c,f),m||(p=[B(n,"change",t[13]),B(n,"click",(function(){d(t[7](Number(t[17])))&&t[7](Number(t[17])).apply(this,arguments)}))],m=!0)},p(e,i){t=e,1&i&&o!==(o=t[17])&&F(n,"id",o),16&i&&(n.checked=n.__value===t[4]),1&i&&g!==(g=t[18]+"")&&K(l,g),1&i&&v!==(v=t[5](t[17])+"")&&K(f,v),1&i&&h!==(h=t[17])&&F(r,"for",h)}
2,d(o){o&&k(e),t[11][0].splice(t[11][0].indexOf(n),1),m=!1,u(p)}}}function be(t){let e,n=t[17]&&ye(t);return{c(){n&&n.c(),e=O()},l(t){n&&n.l(t),e=O()},m(t,o){n&&n.m(t,o),I(t,e,o)},p(t,o){t[17]?n?n.p(t,o):(n=ye(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(t){n&&n.d(t),t&&k(e)}}}function we(t){let e,n,o,i,r,s,l,a,c,d,f;return{c(){e=C("li"),n=C("input"),o=L(),i=C("label"),r=C("span"),s=H(t[3]),l=L(),a=C("span"),c=H(t[2]),this.h()},l(u){e=Y(u,"LI",{});var d=j(e);n=Y(d,"INPUT",{id:!0,class:!0,type:!0}),o=J(d),i=Y(d,"LABEL",{for:!0,class:!0});var f=j(i);r=Y(f,"SPAN",{class:!0});var h=j(r);s=G(h,t[3]),h.forEach(k),l=J(f),a=Y(f,"SPAN",{class:!0});var m=j(a);c=G(m,t[2]),m.forEach(k),f.forEach(k),d.forEach(k),this.h()},h(){F(n,"id","siteVision"),F(n,"class","env-assistive-text sidebar-856esm"),F(n,"type","radio"),n.__value="siteVision",n.value=n.__value,t[11][0].push(n),F(r,"class","sidebar-856esm"),F(a,"class","sidebar-856esm"),F(i,"for","siteVision"),F(i,"class","sidebar-856esm")},m(u,h){I(u,e,h),T(e,n),n.checked=n.__value===t[4],T(e,o),T(e,i),T(i,r),T(r,s),T(i,l),T(i,a),T(a,c),d||(f=[B(n,"change",t[14]),B(n,"click",t[15])],d=!0)},p(t,e){16&e&&(n.checked=n.__value===t[4]),8&e&&K(s,t[3]),4&e&&K(c,t[2])},d(o){o&&k(e),t[11][0].splice(t[11][0].indexOf(n),1),d=!1,u(f)}}}function _e(t){let e,n,o,i,s,l,a,c,d,f,h,m,p,g,v,$=ve("all")+"",y=t[6](t[2])+"",b=t[0],w=[];for(let e=0;e<b.length;e+=1)w[e]=be($e(t,b,e));let _=t[1]&&we(t);return{c(){e=C("div"),n=C("ul"),o=C("li"),i=C("input"),s=L(),l=C("label"),a=C("span"),c=H($),d=L(),f=C("span"),h=H(y),m=L();for(let t=0;t<w.length;t+=1)w[t].c();p=L(),_&&_.c(),this.h()},l(t){e=Y(t,"DIV",{class:!0});var r=j(e);n=Y(r,"UL",{class:!0});var u=j(n);o=Y(u,"LI",{});var g=j(o);i=Y(g,"INPUT",{id:!0,class:!0,type:!0}),s=J(g),l=Y(g,"LABEL",{for:!0,class:!0});var v=j(l);a=Y(v,"SPAN",{class:!0});var b=j(a);c=G(b,$),b.forEach(k),d=J(v),f=Y(v,"SPAN",{class:!0});var x=j(f);h=G(x,y),x.forEach(k),v.forEach(k),g.forEach(k),m=J(u);for(let t=0;t<w.length;t+=1)w[t].l(u);p=J(u),_&&_.l(u),u.forEach(k),r.forEach(k),this.h()},h(){F(i,"id","all"),F(i,"class","env-assistive-text sidebar-856esm"),F(i,"type","radio"),i.__value="all",i.value=i.__value,t[11][0].push(i),F(a,"class","sidebar-856esm"),F(f,"class","sidebar-856esm"),F(l,"for","all"),F(l,"class","sidebar-856esm"),F(n,"class","sidebar-856esm"),F(e,"class","list sidebar-856esm")},m(r,u){I(r,e,u),T(e,n),T(n,o),T(o,i),i.checked=i.__value===t[4],T(o,s),T(o,l),T(l,a),T(a,c),T(l,d),T(l,f),T(f,h),T(n,m);for(let t=0;t<w.length;t+=1)w[t].m(n,null);T(n,p),_&&_.m(n,null),g||(v=[B(i,"change",t[10]),B(i,"click",t[12])],g=!0)},p(t,e){let[o]=e;if(16&o&&(i.checked=i.__value===t[4]),4&o&&y!==(y=t[6](t[2])+"")&&K(h,y),177&o){let e;for(b=t[0],e=0;e<b.length;e+=1){const i=$e(t,b,e);w[e]?w[e].p(i,o):(w[e]=be(i),w[e].c(),w[e].m(n,p))}for(;e<w.length;e+=1)w[e].d(1);w.length=b.length}t[1]?_?_.p(t,o):(_=we(t),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},i:r,o:r,d(n){n&&k(e),t[11][0].splice(t[11][0].indexOf(i),1),function(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}(w,n),_&&_.d(),g=!1,u(v)}}}function xe(t,e,n){let{id:o=0}=e,{profiles:i}=e,{messages:r}=e,{siteVisionItems:s}=e,{siteVisionCount:l}=e,{siteVisionLabel:a}=e,c="all";const u=t=>{n(8,o=Number(t))};return t.$$set=t=>{"id"in t&&n(8,o=t.id),"profiles"in t&&n(0,i=t.profiles),"messages"in t&&n(9,r=t.messages),"siteVisionItems"in t&&n(1,s=t.siteVisionItems),"siteVisionCount"in t&&n(2,l=t.siteVisionCount),"siteVisionLabel"in t&&n(3,a=t.siteVisionLabel)},[i,s,l,a,c,t=>{if(t){return r.filter((e=>Number(e.profileId)===Number(t)&&!e.noActiveMessages)).length}return 0},t=>{const e=r.filter((t=>!t.noActiveMessages));return Number(e.length)+Number(t)},u,o,r,function(){c=this.__value,n(4,c)},[[]],()=>u(0),function(){c=this.__value,n(4,c)},function(){c=this.__value,n(4,c)},()=>u(1)]}ge("en",{all:"All",critical:"Critical",completed:"Completed",created:"Message created:",showInfo:"Show information",hideInfo:"Hide information",moreInfo:"More information",noActiveMessages:"No active messages",siteVision:"SiteVision",currentDisruptions:"Current disruptions in Bengtsfors right now",amountOfDisruptions:"Amou
2nt of active disruptions"}),ge("sv",{all:"Alla",critical:"Kritisk",completed:"Avslutad",created:"Meddelande skapat:",showInfo:"Visa information",hideInfo:"Dölj information",moreInfo:"Mer information",noActiveMessages:"Inga aktiva meddelanden",siteVision:"SiteVision",currentDisruptions:"Aktuell driftinformation",amountOfDisruptions:"Antal aktiva driftstörningar"}),ge("de",{all:"Alle",critical:"Kritisk",completed:"Fullført",created:"Melding opprettet:",showInfo:"Se informasjon",hideInfo:"Skjul informasjon",moreInfo:"Mer informasjon",noActiveMessages:"Ingen aktive meldinger",siteVision:"SiteVision"});class Ee extends Yt{constructor(t){super(),Wt(this,t,xe,_e,f,{id:8,profiles:0,messages:9,siteVisionItems:1,siteVisionCount:2,siteVisionLabel:3})}}var Ne=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,Se=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,Me=/[^-+\dA-Z]/g;var De={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},Ae={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},Te=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return String(t).padStart(e,"0")},Ve=function(t){var e=t.y,n=t.m,o=t.d,i=t._,r=t.dayName,s=t.short,l=void 0!==s&&s,a=new Date,c=new Date;c.setDate(c[i+"Date"]()-1);var u=new Date;u.setDate(u[i+"Date"]()+1);return a[i+"FullYear"]()===e&&a[i+"Month"]()===n&&a[i+"Date"]()===o?l?"Tdy":"Today":c[i+"FullYear"]()===e&&c[i+"Month"]()===n&&c[i+"Date"]()===o?l?"Ysd":"Yesterday":u[i+"FullYear"]()===e&&u[i+"Month"]()===n&&u[i+"Date"]()===o?l?"Tmw":"Tomorrow":r},Ie=function(t){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);var n=new Date(e.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var o=e.getTimezoneOffset()-n.getTimezoneOffset();e.setHours(e.getHours()-o);var i=(e-n)/6048e5;return 1+Math.floor(i)},ke=function(t){var e=t.getDay();return 0===e&&(e=7),e},Ce=function(t){return(String(t).match(Se)||[""]).pop().replace(Me,"").replace(/GMT\+0000/g,"UTC")};function Pe(t){let e,n,o=ve(t[1])+"";return{c(){e=C("span"),n=H(o),this.h()},l(t){e=Y(t,"SPAN",{class:!0});var i=j(e);n=G(i,o),i.forEach(k),this.h()},h(){F(e,"class","tooltip icon-trhow2")},m(t,o){I(t,e,o),T(e,n)},p(t,e){2&e&&o!==(o=ve(t[1])+"")&&K(n,o)},d(t){t&&k(e)}}}function He(t){let e,n,o,i,s,l,a=t[1]&&Pe(t);return{c(){e=C("div"),n=P("svg"),o=P("use"),s=L(),a&&a.c(),this.h()},l(t){e=Y(t,"DIV",{class:!0});var i=j(e);n=Z(i,"svg",{class:!0,"aria-hidden":!0});var r=j(n);o=Z(r,"use",{"xlink:href":!0}),j(o).forEach(k),r.forEach(k),s=J(i),a&&a.l(i),i.forEach(k),this.h()},h(){U(o,"xlink:href",t[2]),F(n,"class",i="bi bi-"+t[0]+" icon-trhow2"),F(n,"aria-hidden","true"),F(e,"class",l=$(t[0])+" icon-trhow2")},m(t,i){I(t,e,i),T(e,n),T(n,o),T(e,s),a&&a.m(e,null)},p(t,r){let[s]=r;4&s&&U(o,"xlink:href",t[2]),1&s&&i!==(i="bi bi-"+t[0]+" icon-trhow2")&&F(n,"class",i),t[1]?a?a.p(t,s):(a=Pe(t),a.c(),a.m(e,null)):a&&(a.d(1),a=null),1&s&&l!==(l=$(t[0])+" icon-trhow2")&&F(e,"class",l)},i:r,o:r,d(t){t&&k(e),a&&a.d()}}}function Le(t,e,n){let r,{name:s}=e,{tooltip:l}=e;return t.$$set=t=>{"name"in t&&n(0,s=t.name),"tooltip"in t&&n(1,l=t.tooltip)},t.$$.update=()=>{1&t.$$.dirty&&n(2,r=`${function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{webAppId:e,webAppVersion:n}=o.default,r=t.replace(i,"");return`/webapp-files/${e}/${n}/${r}`}(`/${s}.svg`)}#${s}`)},[s,l,r]}class Oe extends Yt{constructor(t){super(),Wt(this,t,Le,He,f,{name:0,tooltip:1})}}function Be(t){let e,n,o,i,r,s,l,a,c,u,d,f,h,m,p,g,v,$,y,b,w,_,x,E=t[9](t[0])+"",N=ve("moreInfo")+"";n=new Oe({props:{name:t[8]?"chevron-up":"chevron-down"}});let S=t[6]&&Ue(),M=t[5]&&je(),D=t[8]&&ze(t);return{c(){e=C("div"),Ft(n.$$.fragment),o=L(),i=C("h2"),r=C("button"),s=C("span"),l=C("span"),a=H(t[1]),c=L(),u=C("span"),d=H(t[2]),f=L(),S&&S.c(),h=L(),M&&M.c(),m=L(),p=C("time"),g=H(E),v=L(),$=C("span"),y=H(N),b=L(),D&&D.c(),this.h()},l(w){e=Y(w,"DIV",{class:!0});var _=j(e);Ut(n.$$.fragment,_),o=J(_),i=Y(_,"H2",{class:!0});var x=j(i);r=Y(x,"BUTTON",{"aria-expanded":!0,class:!0});var A=j(r);s=Y(A,"SPAN",{class:!0});var T=j(s);l=Y(T,"SPAN",{class:!0});var V=j(l);
2a=G(V,t[1]),V.forEach(k),c=J(T),u=Y(T,"SPAN",{class:!0});var I=j(u);d=G(I,t[2]),I.forEach(k),f=J(T),S&&S.l(T),h=J(T),M&&M.l(T),T.forEach(k),m=J(A),p=Y(A,"TIME",{class:!0});var C=j(p);g=G(C,E),C.forEach(k),v=J(A),$=Y(A,"SPAN",{class:!0});var P=j($);y=G(P,N),P.forEach(k),A.forEach(k),x.forEach(k),b=J(_),D&&D.l(_),_.forEach(k),this.h()},h(){F(l,"class","profilename item-1wiuynl"),F(u,"class","title item-1wiuynl"),F(s,"class","item-1wiuynl"),F(p,"class","item-1wiuynl"),F($,"class","env-assistive-text item-1wiuynl"),F(r,"aria-expanded",t[8]),F(r,"class","item-1wiuynl"),F(i,"class","item-1wiuynl"),F(e,"class","sol-card env-card item-1wiuynl")},m(E,N){I(E,e,N),jt(n,e,null),T(e,o),T(e,i),T(i,r),T(r,s),T(s,l),T(l,a),T(s,c),T(s,u),T(u,d),T(s,f),S&&S.m(s,null),T(s,h),M&&M.m(s,null),T(r,m),T(r,p),T(p,g),T(r,v),T(r,$),T($,y),T(e,b),D&&D.m(e,null),w=!0,_||(x=B(r,"click",t[10]),_=!0)},p(t,o){const i={};256&o&&(i.name=t[8]?"chevron-up":"chevron-down"),n.$set(i),(!w||2&o)&&K(a,t[1]),(!w||4&o)&&K(d,t[2]),t[6]?S?64&o&&Tt(S,1):(S=Ue(),S.c(),Tt(S,1),S.m(s,h)):S&&(Dt(),Vt(S,1,1,(()=>{S=null})),At()),t[5]?M?32&o&&Tt(M,1):(M=je(),M.c(),Tt(M,1),M.m(s,null)):M&&(Dt(),Vt(M,1,1,(()=>{M=null})),At()),(!w||1&o)&&E!==(E=t[9](t[0])+"")&&K(g,E),(!w||256&o)&&F(r,"aria-expanded",t[8]),t[8]?D?(D.p(t,o),256&o&&Tt(D,1)):(D=ze(t),D.c(),Tt(D,1),D.m(e,null)):D&&(Dt(),Vt(D,1,1,(()=>{D=null})),At())},i(t){w||(Tt(n.$$.fragment,t),Tt(S),Tt(M),Tt(D),w=!0)},o(t){Vt(n.$$.fragment,t),Vt(S),Vt(M),Vt(D),w=!1},d(t){t&&k(e),zt(n),S&&S.d(),M&&M.d(),D&&D.d(),_=!1,x()}}}function Fe(t){let e,n,o,i=ve("noActiveMessages")+"";return{c(){e=C("div"),n=C("p"),o=H(i),this.h()},l(t){e=Y(t,"DIV",{class:!0});var r=j(e);n=Y(r,"P",{class:!0});var s=j(n);o=G(s,i),s.forEach(k),r.forEach(k),this.h()},h(){F(n,"class","item-1wiuynl"),F(e,"class","sol-card sol-card-content sol-card-noActive env-card env-shadow-small item-1wiuynl")},m(t,i){I(t,e,i),T(e,n),T(n,o)},p:r,i:r,o:r,d(t){t&&k(e)}}}function Ue(t){let e,n;return e=new Oe({props:{name:"exclamation-triangle-fill",tooltip:"critical"}}),{c(){Ft(e.$$.fragment)},l(t){Ut(e.$$.fragment,t)},m(t,o){jt(e,t,o),n=!0},i(t){n||(Tt(e.$$.fragment,t),n=!0)},o(t){Vt(e.$$.fragment,t),n=!1},d(t){zt(e,t)}}}function je(t){let e,n;return e=new Oe({props:{name:"check-circle-fill",tooltip:"completed"}}),{c(){Ft(e.$$.fragment)},l(t){Ut(e.$$.fragment,t)},m(t,o){jt(e,t,o),n=!0},i(t){n||(Tt(e.$$.fragment,t),n=!0)},o(t){Vt(e.$$.fragment,t),n=!1},d(t){zt(e,t)}}}function ze(t){let e,n,o,i,r,s=t[4]&&Re(t);return{c(){e=C("div"),n=C("strong"),o=L(),s&&s.c(),this.h()},l(t){e=Y(t,"DIV",{class:!0});var i=j(e);n=Y(i,"STRONG",{}),j(n).forEach(k),o=J(i),s&&s.l(i),i.forEach(k),this.h()},h(){F(e,"class","sol-card-content item-1wiuynl")},m(i,l){I(i,e,l),T(e,n),n.innerHTML=t[3],T(e,o),s&&s.m(e,null),r=!0},p(t,o){(!r||8&o)&&(n.innerHTML=t[3]),t[4]?s?s.p(t,o):(s=Re(t),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i(t){r||(t&&$t((()=>{i||(i=kt(e,Jt,{},!0)),i.run(1)})),r=!0)},o(t){t&&(i||(i=kt(e,Jt,{},!1)),i.run(0)),r=!1},d(t){t&&k(e),s&&s.d(),t&&i&&i.end()}}}function Re(t){let e,n;return{c(){e=new X,n=O(),this.h()},l(t){e=function(t){const e=q(t,"HTML_TAG_START",0),n=q(t,"HTML_TAG_END",e);if(e===n)return new X;z(t);const o=t.splice(e,n-e+1);k(o[0]),k(o[o.length-1]);const i=o.slice(1,o.length-1);for(const e of i)e.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new X(i)}(t),n=O(),this.h()},h(){e.a=n},m(o,i){e.m(t[4],o,i),I(o,n,i)},p(t,n){16&n&&e.p(t[4])},d(t){t&&k(n),t&&e.d()}}}function We(t){let e,n,o,i;const r=[Fe,Be],s=[];function l(t,e){return t[7]?0:1}return e=l(t),n=s[e]=r[e](t),{c(){n.c(),o=O()},l(t){n.l(t),o=O()},m(t,n){s[e].m(t,n),I(t,o,n),i=!0},p(t,i){let[a]=i,c=e;e=l(t),e===c?s[e].p(t,a):(Dt(),Vt(s[c],1,1,(()=>{s[c]=null})),At(),n=s[e],n?n.p(t,a):(n=s[e]=r[e](t),n.c()),Tt(n,1),n.m(o.parentNode,o))},i(t){i||(Tt(n),i=!0)},o(t){Vt(n),i=!1},d(t){s[e].d(t),t&&k(o)}}}function Ye(t,e,n){let o,{dateCreatedUtc:i}=e,{profileName:r}=e,{title:s}=e,{text:l}=e,{textContent:a}=e,{completed:c}=e,{criticalStatus:u}=e,{noActiveMessages:d}=e;return t.$$set=t=>{"dateCreatedUtc"in t&&n(0,i=t.dateCreatedUtc),"profileName"in t&&n(1,r=t.profileName),"title"in t&&n(2,s=t.title),"text"in t&&n(3,l=t.text),"textContent"in t&&n(4,a=t.textContent),"completed"in t&&n(5,c=t.completed),"critical
2Status"in t&&n(6,u=t.criticalStatus),"noActiveMessages"in t&&n(7,d=t.noActiveMessages)},n(8,o=!1),[i,r,s,l,a,c,u,d,o,t=>function(t,e,n,o){if(1!==arguments.length||"string"!=typeof t||/\d/.test(t)||(e=t,t=void 0),(t=t||0===t?t:new Date)instanceof Date||(t=new Date(t)),isNaN(t))throw TypeError("Invalid date");var i=(e=String(De[e]||e||De.default)).slice(0,4);"UTC:"!==i&&"GMT:"!==i||(e=e.slice(4),n=!0,"GMT:"===i&&(o=!0));var r=function(){return n?"getUTC":"get"},s=function(){return t[r()+"Date"]()},l=function(){return t[r()+"Day"]()},a=function(){return t[r()+"Month"]()},c=function(){return t[r()+"FullYear"]()},u=function(){return t[r()+"Hours"]()},d=function(){return t[r()+"Minutes"]()},f=function(){return t[r()+"Seconds"]()},h=function(){return t[r()+"Milliseconds"]()},m=function(){return n?0:t.getTimezoneOffset()},p=function(){return Ie(t)},g=function(){return ke(t)},v={d:function(){return s()},dd:function(){return Te(s())},ddd:function(){return Ae.dayNames[l()]},DDD:function(){return Ve({y:c(),m:a(),d:s(),_:r(),dayName:Ae.dayNames[l()],short:!0})},dddd:function(){return Ae.dayNames[l()+7]},DDDD:function(){return Ve({y:c(),m:a(),d:s(),_:r(),dayName:Ae.dayNames[l()+7]})},m:function(){return a()+1},mm:function(){return Te(a()+1)},mmm:function(){return Ae.monthNames[a()]},mmmm:function(){return Ae.monthNames[a()+12]},yy:function(){return String(c()).slice(2)},yyyy:function(){return Te(c(),4)},h:function(){return u()%12||12},hh:function(){return Te(u()%12||12)},H:function(){return u()},HH:function(){return Te(u())},M:function(){return d()},MM:function(){return Te(d())},s:function(){return f()},ss:function(){return Te(f())},l:function(){return Te(h(),3)},L:function(){return Te(Math.floor(h()/10))},t:function(){return u()<12?Ae.timeNames[0]:Ae.timeNames[1]},tt:function(){return u()<12?Ae.timeNames[2]:Ae.timeNames[3]},T:function(){return u()<12?Ae.timeNames[4]:Ae.timeNames[5]},TT:function(){return u()<12?Ae.timeNames[6]:Ae.timeNames[7]},Z:function(){return o?"GMT":n?"UTC":Ce(t)},o:function(){return(m()>0?"-":"+")+Te(100*Math.floor(Math.abs(m())/60)+Math.abs(m())%60,4)},p:function(){return(m()>0?"-":"+")+Te(Math.floor(Math.abs(m())/60),2)+":"+Te(Math.floor(Math.abs(m())%60),2)},S:function(){return["th","st","nd","rd"][s()%10>3?0:(s()%100-s()%10!=10)*s()%10]},W:function(){return p()},WW:function(){return Te(p())},N:function(){return g()}};return e.replace(Ne,(function(t){return t in v?v[t]():t.slice(1,t.length-1)}))}(new Date(t),"yyyy-mm-dd HH:mm"),()=>n(8,o=!o)]}class Ze extends Yt{constructor(t){super(),Wt(this,t,Ye,We,f,{dateCreatedUtc:0,profileName:1,title:2,text:3,textContent:4,completed:5,criticalStatus:6,noActiveMessages:7})}}function Ge(t){let e,n,o,i,s,l,a,c,u,d;return{c(){e=C("div"),n=C("button"),o=C("span"),i=H(t[0]),s=L(),l=C("span"),a=C("span"),c=H(t[1]),this.h()},l(r){e=Y(r,"DIV",{class:!0});var u=j(e);n=Y(u,"BUTTON",{class:!0});var d=j(n);o=Y(d,"SPAN",{class:!0});var f=j(o);i=G(f,t[0]),f.forEach(k),s=J(d),l=Y(d,"SPAN",{class:!0,"aria-hidden":!0});var h=j(l);a=Y(h,"SPAN",{class:!0});var m=j(a);c=G(m,t[1]),m.forEach(k),h.forEach(k),d.forEach(k),u.forEach(k),this.h()},h(){F(o,"class","text modal-button-15pfoz"),F(a,"class","messageCount modal-button-15pfoz"),F(l,"class","icon modal-button-15pfoz"),F(l,"aria-hidden","true"),F(n,"class","modal-button-15pfoz"),F(e,"class","button-container modal-button-15pfoz")},m(r,f){I(r,e,f),T(e,n),T(n,o),T(o,i),T(n,s),T(n,l),T(l,a),T(a,c),u||(d=B(n,"click",t[2]),u=!0)},p(t,e){let[n]=e;1&n&&K(i,t[0]),2&n&&K(c,t[1])},i:r,o:r,d(t){t&&k(e),u=!1,d()}}}function Je(t,e,n){let{minimalText:o}=e,{counter:i}=e;const r=ct();return t.$$set=t=>{"minimalText"in t&&n(0,o=t.minimalText),"counter"in t&&n(1,i=t.counter)},[o,i,()=>{r("open")}]}class qe extends Yt{constructor(t){super(),Wt(this,t,Je,Ge,f,{minimalText:0,counter:1})}}function Ke(t){return t.sort(((t,e)=>new Date(e.dateCreatedUtc)-new Date(t.dateCreatedUtc)))}function Qe(t,e,n){const o=t.slice();return o[17]=e[n],o}function Xe(t,e,n){const o=t.slice();return o[17]=e[n],o}function tn(t){let e,n,o,i,r,s,l,a,c,u,d=ve("currentDisruptions")+"",f="useProfileSorting"===t[5]&&nn(t),h="noProfileSorting"===t[5]&&on(t);const m=[sn,rn],p=[];function g(t,e){return t[11].length?0:1}return a=g(t),c=p[a]=m[a](t),{c(){e=C("div"),f&&f.c(),n=L(),o=C("div"),i=C("h2"),r=H(d),s=L(),h&&h.c(),l=L(),c.c(),this.h()},l(t){e=Y(t,"DIV",{class:!0,style:!0});var a=j(e);
2f&&f.l(a),n=J(a),o=Y(a,"DIV",{class:!0});var u=j(o);i=Y(u,"H2",{class:!0});var m=j(i);r=G(m,d),m.forEach(k),s=J(u),h&&h.l(u),l=J(u),c.l(u),u.forEach(k),a.forEach(k),this.h()},h(){F(i,"class","app-12mnc45"),F(o,"class","items app-12mnc45"),F(e,"class","container app-12mnc45"),F(e,"style",t[12]())},m(t,c){I(t,e,c),f&&f.m(e,null),T(e,n),T(e,o),T(o,i),T(i,r),T(o,s),h&&h.m(o,null),T(o,l),p[a].m(o,null),u=!0},p(t,i){"useProfileSorting"===t[5]?f?(f.p(t,i),32&i&&Tt(f,1)):(f=nn(t),f.c(),Tt(f,1),f.m(e,n)):f&&(Dt(),Vt(f,1,1,(()=>{f=null})),At()),"noProfileSorting"===t[5]?h?h.p(t,i):(h=on(t),h.c(),h.m(o,l)):h&&(h.d(1),h=null);let r=a;a=g(t),a===r?p[a].p(t,i):(Dt(),Vt(p[r],1,1,(()=>{p[r]=null})),At(),c=p[a],c?c.p(t,i):(c=p[a]=m[a](t),c.c()),Tt(c,1),c.m(o,null))},i(t){u||(Tt(f),Tt(c),u=!0)},o(t){Vt(f),Vt(c),u=!1},d(t){t&&k(e),f&&f.d(),h&&h.d(),p[a].d()}}}function en(t){let e,n,o,i;const r=[t[4],t[6],{counter:t[11].length||0}];let s={};for(let t=0;t<r.length;t+=1)s=l(s,r[t]);return e=new qe({props:s}),e.$on("open",t[8]),o=new de({props:{$$slots:{default:[hn]},$$scope:{ctx:t}}}),t[15](o),{c(){Ft(e.$$.fragment),n=L(),Ft(o.$$.fragment)},l(t){Ut(e.$$.fragment,t),n=J(t),Ut(o.$$.fragment,t)},m(t,r){jt(e,t,r),I(t,n,r),jt(o,t,r),i=!0},p(t,n){const i=2128&n?Lt(r,[16&n&&Ot(t[4]),64&n&&Ot(t[6]),2048&n&&{counter:t[11].length||0}]):{};e.$set(i);const s={};4197039&n&&(s.$$scope={dirty:n,ctx:t}),o.$set(s)},i(t){i||(Tt(e.$$.fragment,t),Tt(o.$$.fragment,t),i=!0)},o(t){Vt(e.$$.fragment,t),Vt(o.$$.fragment,t),i=!1},d(i){zt(e,i),i&&k(n),t[15](null),zt(o,i)}}}function nn(t){let e,n,o;function i(e){t[16](e)}let r={profiles:t[0],messages:t[1],siteVisionItems:t[2],siteVisionCount:t[3],siteVisionLabel:t[7]};return void 0!==t[9]&&(r.id=t[9]),e=new Ee({props:r}),dt.push((()=>Bt(e,"id",i))),{c(){Ft(e.$$.fragment)},l(t){Ut(e.$$.fragment,t)},m(t,n){jt(e,t,n),o=!0},p(t,o){const i={};1&o&&(i.profiles=t[0]),2&o&&(i.messages=t[1]),4&o&&(i.siteVisionItems=t[2]),8&o&&(i.siteVisionCount=t[3]),128&o&&(i.siteVisionLabel=t[7]),!n&&512&o&&(n=!0,i.id=t[9],yt((()=>n=!1))),e.$set(i)},i(t){o||(Tt(e.$$.fragment,t),o=!0)},o(t){Vt(e.$$.fragment,t),o=!1},d(t){zt(e,t)}}}function on(t){let e,n,o,i,r=ve("amountOfDisruptions")+"",s=t[11].length+"";return{c(){e=C("p"),n=H(r),o=H(": "),i=H(s),this.h()},l(t){e=Y(t,"P",{class:!0});var l=j(e);n=G(l,r),o=G(l,": "),i=G(l,s),l.forEach(k),this.h()},h(){F(e,"class","app-12mnc45")},m(t,r){I(t,e,r),T(e,n),T(e,o),T(e,i)},p(t,e){2048&e&&s!==(s=t[11].length+"")&&K(i,s)},d(t){t&&k(e)}}}function rn(t){let e,n;return e=new Ze({props:{noActiveMessages:!0}}),{c(){Ft(e.$$.fragment)},l(t){Ut(e.$$.fragment,t)},m(t,o){jt(e,t,o),n=!0},p:r,i(t){n||(Tt(e.$$.fragment,t),n=!0)},o(t){Vt(e.$$.fragment,t),n=!1},d(t){zt(e,t)}}}function sn(t){let e,n,o=[],i=new Map,r=Ke(t[11]);const s=t=>t[17].id;for(let e=0;e<r.length;e+=1){let n=Qe(t,r,e),l=s(n);i.set(l,o[e]=ln(l,n))}return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=O()},l(t){for(let e=0;e<o.length;e+=1)o[e].l(t);e=O()},m(t,i){for(let e=0;e<o.length;e+=1)o[e].m(t,i);I(t,e,i),n=!0},p(t,n){2048&n&&(r=Ke(t[11]),Dt(),o=Ht(o,n,s,1,t,r,i,e.parentNode,Pt,ln,e,Qe),At())},i(t){if(!n){for(let t=0;t<r.length;t+=1)Tt(o[t]);n=!0}},o(t){for(let t=0;t<o.length;t+=1)Vt(o[t]);n=!1},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&k(e)}}}function ln(t,e){let n,o,i;const r=[e[17]];let s={};for(let t=0;t<r.length;t+=1)s=l(s,r[t]);return o=new Ze({props:s}),{key:t,first:null,c(){n=O(),Ft(o.$$.fragment),this.h()},l(t){n=O(),Ut(o.$$.fragment,t),this.h()},h(){this.first=n},m(t,e){I(t,n,e),jt(o,t,e),i=!0},p(t,n){e=t;const i=2048&n?Lt(r,[Ot(e[17])]):{};o.$set(i)},i(t){i||(Tt(o.$$.fragment,t),i=!0)},o(t){Vt(o.$$.fragment,t),i=!1},d(t){t&&k(n),zt(o,t)}}}function an(t){let e,n,o;function i(e){t[14](e)}let r={profiles:t[0],messages:t[1],siteVisionItems:t[2],siteVisionCount:t[3],siteVisionLabel:t[7]};return void 0!==t[9]&&(r.id=t[9]),e=new Ee({props:r}),dt.push((()=>Bt(e,"id",i))),{c(){Ft(e.$$.fragment)},l(t){Ut(e.$$.fragment,t)},m(t,n){jt(e,t,n),o=!0},p(t,o){const i={};1&o&&(i.profiles=t[0]),2&o&&(i.messages=t[1]),4&o&&(i.siteVisionItems=t[2]),8&o&&(i.siteVisionCount=t[3]),128&o&&(i.siteVisionLabel=t[7]),!n&&512&o&&(n=!0,i.id=t[9],yt((()=>n=!1))),e.$set(i)},i(t){o||(Tt(e.$$.fragment,t),o=!0)},o(t){Vt(e.$$.fragment,t),o=!1},d(t){zt(e,t)}}}function cn(t){let e,n,o,i,r=ve("amountOfDisruptions")+"",s=t[11].length+"";return{c(){e=C("p"),n=H(r),o=H(": "),i=H(s),this.h()},l(t){e=Y(t,"P",{class:!0});var l=j(e);n=G(l,r),o=G(l,": "),i=G(l,s),l.forEach(k),this.h()},h(){F(e,"class","app-12mnc45")},m(t,r){I(t,e,r),T(e,n),T(e,o),T(e,i)},p(t,e){2048&e&&s!==(s=t[11].length+"")&&K(i,s)},d(t){t&&k(e)}}}function un(t){let e,n;return e=new Ze({props:{noActiveMessages:!0}}),{c(){Ft(e.$$.fragment)},l(t){Ut(e.$$.fragment,t)},m(t,o){jt(e,t,o),n=!0},p:r,i(t){n||(Tt(e.$$.fragment,t),n=!0)},o(t){Vt(e.$$.fragment,t),n=!1},d(t){zt(e,t)}}}function dn(t){let e,n,o=[],i=new Map,r=Ke(t[11]);const s=t=>t[17].id;for(let e=0;e<r.length;e+=1){let n=Xe(t,r,e),l=s(n);i.set(l,o[e]=fn(l,n))}return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=O()},l(t){for(let e=0;e<o.length;e+=1)o[e].l(t);e=O()},m(t,i){for(let e=0;e<o.length;e+=1)o[e].m(t,i);I(t,e,i),n=!0},p(t,n){2048&n&&(r=Ke(t[11]),Dt(),o=Ht(o,n,s,1,t,r,i,e.parentNode,Pt,fn,e,Xe),At())},i(t){if(!n){for(let t=0;t<r.length;t+=1)Tt(o[t]);n=!0}},o(t){for(let t=0;t<o.length;t+=1)Vt(o[t]);n=!1},d(t){for(let e=0;e<o.length;e+=1)o[e].d(t);t&&k(e)}}}function fn(t,e){let n,o,i;const r=[e[17]];let s={};for(let t=0;t<r.length;t+=1)s=l(s,r[t]);return o=new Ze({props:s}),{key:t,first:null,c(){n=O(),Ft(o.$$.fragment),this.h()},l(t){n=O(),Ut(o.$$.fragment,t),this.h()},h(){this.first=n},m(t,e){I(t,n,e),jt(o,t,e),i=!0},p(t,n){e=t;
2const i=2048&n?Lt(r,[Ot(e[17])]):{};o.$set(i)},i(t){i||(Tt(o.$$.fragment,t),i=!0)},o(t){Vt(o.$$.fragment,t),i=!1},d(t){t&&k(n),zt(o,t)}}}function hn(t){let e,n,o,i,r,s,l,a,c,u,d=ve("currentDisruptions")+"",f="useProfileSorting"===t[5]&&an(t),h="noProfileSorting"===t[5]&&cn(t);const m=[dn,un],p=[];function g(t,e){return t[11].length?0:1}return a=g(t),c=p[a]=m[a](t),{c(){e=C("div"),f&&f.c(),n=L(),o=C("div"),i=C("h2"),r=H(d),s=L(),h&&h.c(),l=L(),c.c(),this.h()},l(t){e=Y(t,"DIV",{class:!0,style:!0});var a=j(e);f&&f.l(a),n=J(a),o=Y(a,"DIV",{class:!0});var u=j(o);i=Y(u,"H2",{class:!0});var m=j(i);r=G(m,d),m.forEach(k),s=J(u),h&&h.l(u),l=J(u),c.l(u),u.forEach(k),a.forEach(k),this.h()},h(){F(i,"class","app-12mnc45"),F(o,"class","items app-12mnc45"),F(e,"class","container app-12mnc45"),F(e,"style",t[12]())},m(t,c){I(t,e,c),f&&f.m(e,null),T(e,n),T(e,o),T(o,i),T(i,r),T(o,s),h&&h.m(o,null),T(o,l),p[a].m(o,null),u=!0},p(t,i){"useProfileSorting"===t[5]?f?(f.p(t,i),32&i&&Tt(f,1)):(f=an(t),f.c(),Tt(f,1),f.m(e,n)):f&&(Dt(),Vt(f,1,1,(()=>{f=null})),At()),"noProfileSorting"===t[5]?h?h.p(t,i):(h=cn(t),h.c(),h.m(o,l)):h&&(h.d(1),h=null);let r=a;a=g(t),a===r?p[a].p(t,i):(Dt(),Vt(p[r],1,1,(()=>{p[r]=null})),At(),c=p[a],c?c.p(t,i):(c=p[a]=m[a](t),c.c()),Tt(c,1),c.m(o,null))},i(t){u||(Tt(f),Tt(c),u=!0)},o(t){Vt(f),Vt(c),u=!1},d(t){t&&k(e),f&&f.d(),h&&h.d(),p[a].d()}}}function mn(t){let e,n,o,i;const r=[en,tn],s=[];function l(t,e){return t[4].useMinimal?0:1}return n=l(t),o=s[n]=r[n](t),{c(){e=C("div"),o.c(),this.h()},l(t){e=Y(t,"DIV",{class:!0});var n=j(e);o.l(n),n.forEach(k),this.h()},h(){F(e,"class","malfunctions-wrapper app-12mnc45")},m(t,o){I(t,e,o),s[n].m(e,null),i=!0},p(t,i){let[a]=i,c=n;n=l(t),n===c?s[n].p(t,a):(Dt(),Vt(s[c],1,1,(()=>{s[c]=null})),At(),o=s[n],o?o.p(t,a):(o=s[n]=r[n](t),o.c()),Tt(o,1),o.m(e,null))},i(t){i||(Tt(o),i=!0)},o(t){Vt(o),i=!1},d(t){t&&k(e),s[n].d()}}}function pn(t,e,n){let o,i,{profiles:r}=e,{messages:s}=e,{siteVisionItems:l}=e,{siteVisionCount:a}=e,{minimalSettings:c}=e,{profileSorting:u}=e,{colors:d}=e,{siteVisionLabel:f}=e;let h;return t.$$set=t=>{"profiles"in t&&n(0,r=t.profiles),"messages"in t&&n(1,s=t.messages),"siteVisionItems"in t&&n(2,l=t.siteVisionItems),"siteVisionCount"in t&&n(3,a=t.siteVisionCount),"minimalSettings"in t&&n(4,c=t.minimalSettings),"profileSorting"in t&&n(5,u=t.profileSorting),"colors"in t&&n(6,d=t.colors),"siteVisionLabel"in t&&n(7,f=t.siteVisionLabel)},t.$$.update=()=>{518&t.$$.dirty&&n(11,o=function(){let{id:t,messages:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t?e.filter((e=>Number(e.profileId)===Number(t))):e.filter((t=>!t?.noActiveMessages));return n=n.filter(((t,e,n)=>e===n.findIndex((e=>e?.id===t?.id)))),n}({id:h,messages:[...s,...l]}))},[r,s,l,a,c,u,d,f,()=>{i.open()},h,i,o,()=>[`--background-color: ${d.backgroundColor};`,`--active-tab-color: ${d.activeTabColor};`,`--minimal-background-color: ${d.minimalBackgroundColor};`,`--grid-distribution: ${"useProfileSorting"===u?"30% 70%":"100%"};`].join(" "),()=>{i.close()},function(t){h=t,n(9,h)},function(t){dt[t?"unshift":"push"]((()=>{i=t,n(10,i)}))},function(t){h=t,n(9,h)}]}class gn extends Yt{constructor(t){super(),Wt(this,t,pn,mn,f,{profiles:0,messages:1,siteVisionItems:2,siteVisionCount:3,minimalSettings:4,profileSorting:5,colors:6,siteVisionLabel:7,open:8,close:13})}get open(){return this.$$.ctx[8]}get close(){return this.$$.ctx[13]}}return(t,e)=>{!function(t){let{target:e,props:n,intro:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=e.childElementCount>0;new t({hydrate:i,target:e,props:n,intro:o})}(gn,{props:t,target:e})}})); 3}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.