1AppRegistry.registerBundle({applicationId:'se.soleil.crisisMessage|1.2.5',bundle: {}}); 2AppRegistry.registerModule({applicationId:'se.soleil.crisisMessage|1.2.5',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(t),r=n(e);function a(t){const e=(n="PortletContextUtil","undefined"!=typeof __non_webpack_require__?__non_webpack_require__(n):require(n));var n;const o=e.getCurrentPage(),r=e.getCurrentPortlet();if(o&&r){return`/appresource/${o.getIdentifier().replace("_sitePage","")}/${r.getIdentifier()}/${t}`}return"/"}const i=/^(\/)*/g,s=/(\/)*$/g,l=(r.default?.portletId||"preview").replace(".","_"),c=document.documentElement.classList.contains("sv-edit-mode");function u(t="",e=void 0){const n=t.replace(i,""),r=function(t={},{addQueryPrefix:e=!1}={}){const n=Object.keys(t).map(e=>{const n=t[e];if(null!=n&&""!==n)return Array.isArray(n)?n.map(t=>`${encodeURIComponent(`${e}[]`)}=${encodeURIComponent(t)}`).join("&"):`${encodeURIComponent(e)}=${encodeURIComponent(n)}`}).filter(t=>!!t).join("&");return n?e?`?${n}`:n:""}({version:c?"0":void 0,...e},{addQueryPrefix:!0});return o.default?.getStandaloneUrl?o.default.getStandaloneUrl((""!==n?`/${n}`:n).replace(s,"")).replace("?version=0","")+r:a(n).replace(s,"")+r}function d(){}const f=t=>t;function p(t){return t()}function h(){return Object.create(null)}function m(t){t.forEach(p)}function g(t){return"function"==typeof t}function $(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}const _="undefined"!=typeof window;let b=_?()=>window.performance.now():()=>Date.now(),v=_?t=>requestAnimationFrame(t):d;const y=new Set;function x(t){y.forEach(e=>{e.c(t)||(y.delete(e),e.f())}),0!==y.size&&v(x)}let k=!1;function E(t,e,n,o){for(;t<e;){const r=t+(e-t>>1);n(r)<=o?t=r+1:e=r}return t}function w(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function z(t){const e=S("style");return function(t,e){(function(t,e){t.appendChild(e)})(t.head||t,e),e.sheet}(w(t),e),e.sheet}function N(t,e){if(k){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 r=0;for(let t=0;t<e.length;t++){const a=e[t].claim_order,i=(r>0&&e[n[r]].claim_order<=a?r+1:E(1,r,t=>e[n[t]].claim_order,a))-1;o[t]=n[i]+1;const s=i+1;n[s]=t,r=Math.max(s,r)}const a=[],i=[];let s=e.length-1;for(let t=n[r]+1;0!=t;t=o[t-1]){for(a.push(e[t-1]);s>=t;s--)i.push(e[s]);s--}for(;s>=0;s--)i.push(e[s]);a.reverse(),i.sort((t,e)=>t.claim_order-e.claim_order);for(let e=0,n=0;e<i.length;e++){for(;n<a.length&&i[e].claim_order>=a[n].claim_order;)n++;const o=n<a.length?a[n]:null;t.insertBefore(i[e],o)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentNode!==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 P(t,e,n){k&&!n?N(t,e):e.parentNode===t&&e.nextSibling==n||t.insertBefore(e,n||null)}function A(t){t.parentNode&&t.parentNode.removeChild(t)}function S(t){return document.createElement(t)}function C(t){return document.createTextNode(t)}function I(){return C(" ")}function D(){return C("")}function M(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function T(t){return Array.from(t.childNodes)}function U(t,e,n,o,r=!1){!function(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}(t);const a=(()=>{for(let o=t.claim_info.last_index;o<t.length;o++){const a=t[o];if(e(a)){const e=n(a);return void 0===e?t.splice(o,1):t[o]=e,r||(t.claim_info.last_index=o),a}}for(let o=t.claim_info.last_index-1;o>=0;o--){const a=t[o];if(e(a)){const e=n(a);return void 0===e?t.splice(o,1):t[o]=e,r?void 0===e&&t.claim_info.last_index--:t.claim_info.last_index=o,a}}return o()})();return a.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,a}function R(t,e,n){return function(t,e,n,o){return U(t,t=>t.nodeName===e,t=>{const e=[];for(let o=0;o<t.attributes.length;o++){const r=t.attributes[o];n[r.name]||e.push(r.name)}
2e.forEach(e=>t.removeAttribute(e))},()=>o(e))}(t,e,n,S)}function j(t,e){return U(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},()=>C(e),!0)}function O(t){return j(t," ")}function q(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}const B=new Map;let F,L=0;function V(t,e,n,o,r,a,i,s=0){const l=16.666/o;let c="{\n";for(let t=0;t<=1;t+=l){const o=e+(n-e)*a(t);c+=100*t+`%{${i(o,1-o)}}\n`}const u=c+`100% {${i(n,1-n)}}\n}`,d=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(u)}_${s}`,f=w(t),{stylesheet:p,rules:h}=B.get(f)||function(t,e){const n={stylesheet:z(e),rules:{}};return B.set(t,n),n}(f,t);h[d]||(h[d]=!0,p.insertRule(`@keyframes ${d} ${u}`,p.cssRules.length));const m=t.style.animation||"";return t.style.animation=`${m?`${m}, `:""}${d} ${o}ms linear ${r}ms 1 both`,L+=1,d}function W(t,e){const n=(t.style.animation||"").split(", "),o=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),r=n.length-o.length;r&&(t.style.animation=o.join(", "),L-=r,L||v(()=>{L||(B.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&A(e)}),B.clear())}))}function H(t){F=t}function Q(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(t=>t.call(this,e))}const G=[],J=[],K=[],X=[],Y=Promise.resolve();let Z=!1;function tt(t){K.push(t)}const et=new Set;let nt,ot=0;function rt(){if(0!==ot)return;const t=F;do{try{for(;ot<G.length;){const t=G[ot];ot++,H(t),at(t.$$)}}catch(t){throw G.length=0,ot=0,t}for(H(null),G.length=0,ot=0;J.length;)J.pop()();for(let t=0;t<K.length;t+=1){const e=K[t];et.has(e)||(et.add(e),e())}K.length=0}while(G.length);for(;X.length;)X.pop()();Z=!1,et.clear(),H(t)}function at(t){if(null!==t.fragment){t.update(),m(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(tt)}}function it(t,e,n){t.dispatchEvent(function(t,e,{bubbles:n=!1,cancelable:o=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n,o,e),r}(`${e?"intro":"outro"}${n}`))}const st=new Set;let lt;function ct(t,e){t&&t.i&&(st.delete(t),t.i(e))}function ut(t,e,n,o){if(t&&t.o){if(st.has(t))return;st.add(t),lt.c.push(()=>{st.delete(t),o&&(n&&t.d(1),o())}),t.o(e)}else o&&o()}const dt={duration:0};function ft(t,e,n,o){const r={direction:"both"};let a=e(t,n,r),i=o?0:1,s=null,l=null,c=null;function u(){c&&W(t,c)}function p(t,e){const n=t.b-i;return e*=Math.abs(n),{a:i,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function h(e){const{delay:n=0,duration:o=300,easing:r=f,tick:h=d,css:g}=a||dt,$={start:b()+n,b:e};e||($.group=lt,lt.r+=1),s||l?l=$:(g&&(u(),c=V(t,i,e,o,n,r,g)),e&&h(0,1),s=p($,o),tt(()=>it(t,e,"start")),function(t){let e;0===y.size&&v(x),new Promise(n=>{y.add(e={c:t,f:n})})}(e=>{if(l&&e>l.start&&(s=p(l,o),l=null,it(t,s.b,"start"),g&&(u(),c=V(t,i,s.b,s.duration,0,r,a.css))),s)if(e>=s.end)h(i=s.b,1-i),it(t,s.b,"end"),l||(s.b?u():--s.group.r||m(s.group.c)),s=null;else if(e>=s.start){const t=e-s.start;i=s.a+s.d*r(t/s.duration),h(i,1-i)}return!(!s&&!l)}))}return{run(t){g(a)?(nt||(nt=Promise.resolve(),nt.then(()=>{nt=null})),nt).then(()=>{a=a(r),h(t)}):h(t)},end(){u(),s=l=null}}}function pt(t,e,n,o){const{fragment:r,after_update:a}=t.$$;r&&r.m(e,n),o||tt(()=>{const e=t.$$.on_mount.map(p).filter(g);t.$$.on_destroy?t.$$.on_destroy.push(...e):m(e),t.$$.on_mount=[]}),a.forEach(tt)}function ht(t,e){const n=t.$$;null!==n.fragment&&(m(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function mt(t,e){-1===t.$$.dirty[0]&&(G.push(t),Z||(Z=!0,Y.then(rt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function gt(t,e,n,o,r,a,i,s=[-1]){const l=F;H(t);const c=t.$$={fragment:null,ctx:[],props:a,update:d,not_equal:r,bound:h(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:h(),dirty:s,skip_bound:!1,root:e.target||l.$$.root};i&&i(c.root);let u=!1;if(c.ctx=n?n(t,e.props||{},(e,n,...o)=>{const a=o.length?o[0]:n;return c.ctx&&r(c.ctx[e],c.ctx[e]=a)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](a),u&&mt(t,e)),n}
2):[],c.update(),u=!0,m(c.before_update),c.fragment=!!o&&o(c.ctx),e.target){if(e.hydrate){k=!0;const t=T(e.target);c.fragment&&c.fragment.l(t),t.forEach(A)}else c.fragment&&c.fragment.c();e.intro&&ct(t.$$.fragment),pt(t,e.target,e.anchor,e.customElement),k=!1,rt()}H(l)}class $t{$destroy(){ht(this,1),this.$destroy=d}$on(t,e){if(!g(e))return d;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 _t(t){const e=t-1;return e*e*e+1}function bt(t,{delay:e=0,duration:n=400,easing:o=_t}={}){const r=getComputedStyle(t),a=+r.opacity,i=parseFloat(r.height),s=parseFloat(r.paddingTop),l=parseFloat(r.paddingBottom),c=parseFloat(r.marginTop),u=parseFloat(r.marginBottom),d=parseFloat(r.borderTopWidth),f=parseFloat(r.borderBottomWidth);return{delay:e,duration:n,easing:o,css:t=>`overflow: hidden;opacity: ${Math.min(20*t,1)*a};height: ${t*i}px;padding-top: ${t*s}px;padding-bottom: ${t*l}px;margin-top: ${t*c}px;margin-bottom: ${t*u}px;border-top-width: ${t*d}px;border-bottom-width: ${t*f}px;`}}let vt=r.default?.locale||"en",yt=vt;function xt(t,e,n=void 0){const o=n=>String.prototype.split.call(e,n).filter(Boolean).reduce((t,e)=>null!=t?t[e]:t,t),r=o(/[,[\]]+?/)||o(/[,[\].]+?/);return void 0===r||r===t?n:r}function kt(t){const e=Object.keys(t);if(0===e.length||e.includes(vt))return vt;const n=vt.split("-")[0],o=e.find(t=>t.startsWith(`${n}-`));return o||((!t.en?!!t.sv&&"sv":"en")||e[0])}function Et(t,e,n={}){let o=xt(t[yt],e);return null==o?(console.warn(`[@soleil-se/i18n] No translation is avaliable for '${e}'${r.default?.webAppId?` in app ${r.default.webAppId}.`:"."}`),e):(Object.keys(n).forEach(t=>{const e=n[t],r=new RegExp(`{${t}}`,"g");o=o.replace(r,e)}),o)}var wt=function(t){let e=t;yt=kt(e);const n=(t,n={})=>Et(e,t,n);return n.addMessages=(t,o)=>(e={...e,[t]:o},yt=kt(e),n),n.getMessages=()=>e[yt],n.localeExists=()=>!!e[yt],n.messageExists=t=>!!xt(e[yt],t),n.translate=(t,n={})=>Et(e,t,n),n}({en:{updated:"Updated",published:"Published",readMore:"Read more",about:"about",closeMessage:"Close message"},sv:{updated:"Uppdaterad",published:"Publicerad",readMore:"Läs mer",about:"om",closeMessage:"Stäng meddelande"}});function zt(t){let e,n,o,r,a,i,s,l=wt("closeMessage")+"";return{c(){e=S("button"),n=S("span"),o=C(l),r=I(),a=S("span"),this.h()},l(t){e=R(t,"BUTTON",{class:!0});var i=T(e);n=R(i,"SPAN",{class:!0});var s=T(n);o=j(s,l),s.forEach(A),r=O(i),a=R(i,"SPAN",{class:!0,"aria-hidden":!0}),T(a).forEach(A),i.forEach(A),this.h()},h(){M(n,"class","close-ppogfq"),M(a,"class","bi bi-x close-ppogfq"),M(a,"aria-hidden","true"),M(e,"class","close-ppogfq")},m(l,c){var u,d,f,p;P(l,e,c),N(e,n),N(n,o),N(e,r),N(e,a),i||(u=e,d="click",f=t[0],u.addEventListener(d,f,p),s=()=>u.removeEventListener(d,f,p),i=!0)},p:d,i:d,o:d,d(t){t&&A(e),i=!1,s()}}}function Nt(t){return[function(e){Q.call(this,t,e)}]}class Pt extends $t{constructor(t){super(),gt(this,t,Nt,zt,$,{})}}function At(t){let e,n,o,r,a,i,s,l,c,u,d,f,p,h,m,g,$,_,b,v,y,x,k,E,w,z,D,U,B,F=wt("published")+"",L=wt("readMore")+"",V=wt("about")+"",W=t[4]!==t[3]&&St(t);return D=new Pt({}),D.$on("click",t[7]),{c(){var N;e=S("div"),n=S("div"),o=S("span"),r=I(),a=S("div"),i=S("h2"),s=C(t[0]),l=I(),c=S("div"),W&&W.c(),u=I(),d=S("span"),f=C(F),p=C(": "),h=S("time"),m=C(t[3]),g=I(),$=S("p"),_=C(t[1]),b=I(),v=S("a"),y=C(L),x=S("span"),k=C(V),E=I(),w=C(t[0]),z=I(),(N=D.$$.fragment)&&N.c(),this.h()},l(N){e=R(N,"DIV",{class:!0,role:!0,"aria-atomic":!0,"aria-labelledby":!0});var P=T(e);n=R(P,"DIV",{class:!0});var S=T(n);o=R(S,"SPAN",{class:!0,"aria-hidden":!0}),T(o).forEach(A),r=O(S),a=R(S,"DIV",{class:!0});var C=T(a);i=R(C,"H2",{id:!0,class:!0});var I=T(i);s=j(I,t[0]),I.forEach(A),l=O(C),c=R(C,"DIV",{class:!0});var M=T(c);W&&W.l(M),u=O(M),d=R(M,"SPAN",{class:!0});var U=T(d);f=j(U,F),p=j(U,": "),h=R(U,"TIME",{datetime:!0,class:!0});var q=T(h);
2m=j(q,t[3]),q.forEach(A),U.forEach(A),M.forEach(A),g=O(C),$=R(C,"P",{class:!0});var B=T($);_=j(B,t[1]),B.forEach(A),b=O(C),v=R(C,"A",{class:!0,href:!0});var H=T(v);y=j(H,L),x=R(H,"SPAN",{class:!0});var Q,G,J=T(x);k=j(J,V),E=O(J),w=j(J,t[0]),J.forEach(A),H.forEach(A),C.forEach(A),z=O(S),Q=D.$$.fragment,G=S,Q&&Q.l(G),S.forEach(A),P.forEach(A),this.h()},h(){M(o,"class","icon app-11zkzkf"),M(o,"aria-hidden","true"),M(i,"id",t[6]),M(i,"class","app-11zkzkf"),M(h,"datetime",t[3]),M(h,"class","app-11zkzkf"),M(d,"class","app-11zkzkf"),M(c,"class","dates app-11zkzkf"),M($,"class","app-11zkzkf"),M(x,"class","sr-only app-11zkzkf"),M(v,"class","env-button env-button--danger app-11zkzkf"),M(v,"href",t[2]),M(a,"class","content app-11zkzkf"),M(n,"class","sol-grid message app-11zkzkf"),M(e,"class","wrapper app-11zkzkf"),M(e,"role","alert"),M(e,"aria-atomic","true"),M(e,"aria-labelledby",t[6])},m(t,A){P(t,e,A),N(e,n),N(n,o),N(n,r),N(n,a),N(a,i),N(i,s),N(a,l),N(a,c),W&&W.m(c,null),N(c,u),N(c,d),N(d,f),N(d,p),N(d,h),N(h,m),N(a,g),N(a,$),N($,_),N(a,b),N(a,v),N(v,y),N(v,x),N(x,k),N(x,E),N(x,w),N(n,z),pt(D,n,null),B=!0},p(t,e){(!B||1&e)&&q(s,t[0]),t[4]!==t[3]?W?W.p(t,e):(W=St(t),W.c(),W.m(c,u)):W&&(W.d(1),W=null),(!B||8&e)&&q(m,t[3]),(!B||8&e)&&M(h,"datetime",t[3]),(!B||2&e)&&q(_,t[1]),(!B||1&e)&&q(w,t[0]),(!B||4&e)&&M(v,"href",t[2])},i(t){B||(ct(D.$$.fragment,t),tt(()=>{U||(U=ft(e,bt,{duration:250},!0)),U.run(1)}),B=!0)},o(t){ut(D.$$.fragment,t),U||(U=ft(e,bt,{duration:250},!1)),U.run(0),B=!1},d(t){t&&A(e),W&&W.d(),ht(D),t&&U&&U.end()}}}function St(t){let e,n,o,r,a,i=wt("updated")+"";return{c(){e=S("span"),n=C(i),o=C(": "),r=S("time"),a=C(t[4]),this.h()},l(s){e=R(s,"SPAN",{class:!0});var l=T(e);n=j(l,i),o=j(l,": "),r=R(l,"TIME",{datetime:!0,class:!0});var c=T(r);a=j(c,t[4]),c.forEach(A),l.forEach(A),this.h()},h(){M(r,"datetime",t[4]),M(r,"class","app-11zkzkf"),M(e,"class","app-11zkzkf")},m(t,i){P(t,e,i),N(e,n),N(e,o),N(e,r),N(r,a)},p(t,e){16&e&&q(a,t[4]),16&e&&M(r,"datetime",t[4])},d(t){t&&A(e)}}}function Ct(t){let e,n,o=t[5]&&At(t);return{c(){o&&o.c(),e=D()},l(t){o&&o.l(t),e=D()},m(t,r){o&&o.m(t,r),P(t,e,r),n=!0},p(t,[n]){t[5]?o?(o.p(t,n),32&n&&ct(o,1)):(o=At(t),o.c(),ct(o,1),o.m(e.parentNode,e)):o&&(lt={r:0,c:[],p:lt},ut(o,1,1,()=>{o=null}),lt.r||m(lt.c),lt=lt.p)},i(t){n||(ct(o),n=!0)},o(t){ut(o),n=!1},d(t){o&&o.d(t),t&&A(e)}}}function It(t,e,n){let{title:o}=e,{text:r}=e,{uri:a}=e,{publishDate:i}=e,{lastPublishDate:s}=e,c=!0;const d=function(t="app"){return`${t}_${l}`}("heading");return t.$$set=t=>{"title"in t&&n(0,o=t.title),"text"in t&&n(1,r=t.text),"uri"in t&&n(2,a=t.uri),"publishDate"in t&&n(3,i=t.publishDate),"lastPublishDate"in t&&n(4,s=t.lastPublishDate)},[o,r,a,i,s,c,d,function(){n(5,c=!1),fetch(u("/close"),{method:"PUT"})}]}class Dt extends $t{constructor(t){super(),gt(this,t,It,Ct,$,{title:0,text:1,uri:2,publishDate:3,lastPublishDate:4})}}return(t,e)=>{!function(t,e){(function(t,{target:e,props:n,intro:o=!1,hydrate:r=e.hasChildNodes()}={}){new t({hydrate:r,target:e,props:n,intro:o})})(t,e)}(Dt,{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.