PageSourceSearch

https://www.uu.se/webapp-resource/4.692ea0931791cf2417f1f640/360.5…/1789459857162/webapp-assets.js

js uu.se collected 2026-09-27 20:54:51 UTC 24,819 bytes, 3 lines download raw bytes

1AppRegistry.registerBundle({applicationId:'se.uu.uit.webb.webapp-tree-menu|2.2.0',bundle: {}});
2AppRegistry.registerModule({applicationId:'se.uu.uit.webb.webapp-tree-menu|2.2.0',path:'/main',module:function(define){'use strict';define(["router","app","requester"],(function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var r=i(e),o=i(t),a=i(n);function s(){}(o.default?.portletId||"preview").replace(".","_"),document.documentElement.classList.contains("sv-edit-mode");const l=e=>e;function c(e){return e()}function u(){return Object.create(null)}function d(e){e.forEach(c)}function f(e){return"function"==typeof e}function h(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}const m="undefined"!=typeof window;let p=m?()=>window.performance.now():()=>Date.now(),g=m?e=>requestAnimationFrame(e):s;const $=new Set;function b(e){$.forEach((t=>{t.c(e)||($.delete(t),t.f())})),0!==$.size&&g(b)}const v="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;let y=!1;function _(e,t,n,i){for(;e<t;){const r=e+(t-e>>1);n(r)<=i?e=r+1:t=r}return e}function x(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function E(e){const t=M("style");return t.textContent="/* empty */",function(e,t){(function(e,t){e.appendChild(t)})(e.head||e,t),t.sheet}(x(e),t),t.sheet}function w(e,t){if(y){for(!function(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if("HEAD"===e.nodeName){const e=[];for(let n=0;n<t.length;n++){const i=t[n];void 0!==i.claim_order&&e.push(i)}t=e}const n=new Int32Array(t.length+1),i=new Int32Array(t.length);n[0]=-1;let r=0;for(let e=0;e<t.length;e++){const o=t[e].claim_order,a=(r>0&&t[n[r]].claim_order<=o?r+1:_(1,r,(e=>t[n[e]].claim_order),o))-1;i[e]=n[a]+1;const s=a+1;n[s]=e,r=Math.max(s,r)}const o=[],a=[];let s=t.length-1;for(let e=n[r]+1;0!=e;e=i[e-1]){for(o.push(t[e-1]);s>=e;s--)a.push(t[s]);s--}for(;s>=0;s--)a.push(t[s]);o.reverse(),a.sort(((e,t)=>e.claim_order-t.claim_order));for(let t=0,n=0;t<a.length;t++){for(;n<o.length&&a[t].claim_order>=o[n].claim_order;)n++;const i=n<o.length?o[n]:null;e.insertBefore(a[t],i)}}(e),(void 0===e.actual_end_child||null!==e.actual_end_child&&e.actual_end_child.parentNode!==e)&&(e.actual_end_child=e.firstChild);null!==e.actual_end_child&&void 0===e.actual_end_child.claim_order;)e.actual_end_child=e.actual_end_child.nextSibling;t!==e.actual_end_child?void 0===t.claim_order&&t.parentNode===e||e.insertBefore(t,e.actual_end_child):e.actual_end_child=t.nextSibling}else t.parentNode===e&&null===t.nextSibling||e.appendChild(t)}function k(e,t,n){e.insertBefore(t,n||null)}function L(e,t,n){y&&!n?w(e,t):t.parentNode===e&&t.nextSibling==n||e.insertBefore(t,n||null)}function N(e){e.parentNode&&e.parentNode.removeChild(e)}function M(e){return document.createElement(e)}function A(e){return document.createTextNode(e)}function T(){return A(" ")}function S(){return A("")}function C(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function q(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function H(e){return Array.from(e.childNodes)}function D(e){void 0===e.claim_info&&(e.claim_info={last_index:0,total_claimed:0})}function I(e,t,n,i,r=!1){D(e);const o=(()=>{for(let i=e.claim_info.last_index;i<e.length;i++){const o=e[i];if(t(o)){const t=n(o);return void 0===t?e.splice(i,1):e[i]=t,r||(e.claim_info.last_index=i),o}}for(let i=e.claim_info.last_index-1;i>=0;i--){const o=e[i];if(t(o)){const t=n(o);return void 0===t?e.splice(i,1):e[i]=t,r?void 0===t&&e.claim_info.last_index--:e.claim_info.last_index=i,o}}return i()})();return o.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,o}function P(e,t,n){return function(e,t,n,i){return I(e,(e=>e.nodeName===t),(e=>{const t=[];for(let i=0;i<e.attributes.length;i++){const r=e.attributes[i];n[r.name]||t.push(r.name)}t.forEach((t=>e.removeAttribute(t)))}),(()=>i(t)))}(e,t,n,M)}function V(e,t){return I(e,(e=>3===e.nodeType),(e=>{const n=""+t;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n}),(()=>A(t)),!0)}function O(e){return V(e," ")}function F(e,t,n){for(let i=n;i<e.length;i+=1){const n=e[i];if(8===n.nodeType&&n.textContent.trim()===t)return i}return-1}function j(e,t,n,i){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function B(e,t,n){e.classList.toggle(t,!!n)}class R{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(e=!1){this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){var i;this.e||(this.is_svg?this.e=(i=t.nodeName,document.createElementNS("http://www.w3.org/2000/svg",i)):this.e=M(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)k(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}
2d(){this.n.forEach(N)}}class U extends R{l=void 0;constructor(e=!1,t){super(e),this.e=this.n=null,this.l=t}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let t=0;t<this.n.length;t+=1)L(this.t,this.n[t],e)}}const W=new Map;let Q,z=0;function G(e,t,n,i,r,o,a,s=0){const l=16.666/i;let c="{\n";for(let e=0;e<=1;e+=l){const i=t+(n-t)*o(e);c+=100*e+`%{${a(i,1-i)}}\n`}const u=c+`100% {${a(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(u)}_${s}`,f=x(e),{stylesheet:h,rules:m}=W.get(f)||function(e,t){const n={stylesheet:E(t),rules:{}};return W.set(e,n),n}(f,e);m[d]||(m[d]=!0,h.insertRule(`@keyframes ${d} ${u}`,h.cssRules.length));const p=e.style.animation||"";return e.style.animation=`${p?`${p}, `:""}${d} ${i}ms linear ${r}ms 1 both`,z+=1,d}function K(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-i.length;r&&(e.style.animation=i.join(", "),z-=r,z||g((()=>{z||(W.forEach((e=>{const{ownerNode:t}=e.stylesheet;t&&N(t)})),W.clear())})))}function J(e){Q=e}const X=[],Y=[];let Z=[];const ee=[],te=Promise.resolve();let ne=!1;function ie(e){Z.push(e)}const re=new Set;let oe,ae=0;function se(){if(0!==ae)return;const e=Q;do{try{for(;ae<X.length;){const e=X[ae];ae++,J(e),le(e.$$)}}catch(e){throw X.length=0,ae=0,e}for(J(null),X.length=0,ae=0;Y.length;)Y.pop()();for(let e=0;e<Z.length;e+=1){const t=Z[e];re.has(t)||(re.add(t),t())}Z.length=0}while(X.length);for(;ee.length;)ee.pop()();ne=!1,re.clear(),J(e)}function le(e){if(null!==e.fragment){e.update(),d(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ie)}}function ce(e,t,n){e.dispatchEvent(function(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}(`${t?"intro":"outro"}${n}`))}const ue=new Set;let de;function fe(){de={r:0,c:[],p:de}}function he(){de.r||d(de.c),de=de.p}function me(e,t){e&&e.i&&(ue.delete(e),e.i(t))}function pe(e,t,n,i){if(e&&e.o){if(ue.has(e))return;ue.add(e),de.c.push((()=>{ue.delete(e),i&&(n&&e.d(1),i())})),e.o(t)}else i&&i()}const ge={duration:0};function $e(e,t,n,i){let r,o=t(e,n,{direction:"both"}),a=i?0:1,c=null,u=null,h=null;function m(){h&&K(e,h)}function v(e,t){const n=e.b-a;return t*=Math.abs(n),{a:a,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function y(t){const{delay:n=0,duration:i=300,easing:f=l,tick:y=s,css:_}=o||ge,x={start:p()+n,b:t};t||(x.group=de,de.r+=1),"inert"in e&&(t?void 0!==r&&(e.inert=r):(r=e.inert,e.inert=!0)),c||u?u=x:(_&&(m(),h=G(e,a,t,i,n,f,_)),t&&y(0,1),c=v(x,i),ie((()=>ce(e,t,"start"))),function(e){let t;0===$.size&&g(b),new Promise((n=>{$.add(t={c:e,f:n})}))}((t=>{if(u&&t>u.start&&(c=v(u,i),u=null,ce(e,c.b,"start"),_&&(m(),h=G(e,a,c.b,c.duration,0,f,o.css))),c)if(t>=c.end)y(a=c.b,1-a),ce(e,c.b,"end"),u||(c.b?m():--c.group.r||d(c.group.c)),c=null;else if(t>=c.start){const e=t-c.start;a=c.a+c.d*f(e/c.duration),y(a,1-a)}return!(!c&&!u)})))}return{run(e){f(o)?(oe||(oe=Promise.resolve(),oe.then((()=>{oe=null}))),oe).then((()=>{o=o({direction:e?"in":"out"}),y(e)})):y(e)},end(){m(),c=u=null}}}function be(e){return void 0!==e?.length?e:Array.from(e)}function ve(e,t){pe(e,1,1,(()=>{t.delete(e.key)}))}function ye(e){e&&e.c()}function _e(e,t){e&&e.l(t)}function xe(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),ie((()=>{const t=e.$$.on_mount.map(c).filter(f);e.$$.on_destroy?e.$$.on_destroy.push(...t):d(t),e.$$.on_mount=[]})),r.forEach(ie)}function Ee(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];Z.forEach((i=>-1===e.indexOf(i)?t.push(i):n.push(i))),n.forEach((e=>e())),Z=t}(n.after_update),d(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function we(e,t){-1===e.$$.dirty[0]&&(X.push(e),ne||(ne=!0,te.then(se)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ke(e,t,n,i,r,o,a=null,l=[-1]){const c=Q;J(e);const f=e.$$={fragment:null,ctx:[],props:o,update:s,not_equal:r,bound:u(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:u(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};a&&a(f.root);let h=!1;if(f.ctx=n?n(e,t.props||{},((t,n,...i)=>{const o=i.length?i[0]:n;return f.ctx&&r(f.ctx[t],f.ctx[t]=o)&&(!f.skip_bound&&f.bound[t]&&f.bound[t](o),h&&we(e,t)),n}
2)):[],f.update(),h=!0,d(f.before_update),f.fragment=!!i&&i(f.ctx),t.target){if(t.hydrate){y=!0;const e=H(t.target);f.fragment&&f.fragment.l(e),e.forEach(N)}else f.fragment&&f.fragment.c();t.intro&&me(e.$$.fragment),xe(e,t.target,t.anchor),y=!1,se()}J(c)}class Le{$$=void 0;$$set=void 0;$destroy(){Ee(this,1),this.$destroy=s}$on(e,t){if(!f(t))return s;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");const Ne="top";let Me=o.default?.locale||"en",Ae=Me;function Te(e,t,n=void 0){const i=n=>String.prototype.split.call(t,n).filter(Boolean).reduce(((e,t)=>null!=e?e[t]:e),e),r=i(/[,[\]]+?/)||i(/[,[\].]+?/);return void 0===r||r===e?n:r}function Se(e){const t=Object.keys(e);if(0===t.length||t.includes(Me))return Me;const n=Me.split("-")[0],i=t.find((e=>e.startsWith(`${n}-`)));return i||((!e.en?!!e.sv&&"sv":"en")||t[0])}function Ce(e,t,n={}){let i=Te(e[Ae],t);return null==i?(console.warn(`[@soleil-api/i18n] No translation is avaliable for '${t}' in app '${o.default.webAppId}'.`),t):(Object.keys(n).forEach((e=>{const t=n[e],r=new RegExp(`{${e}}`,"g");i=i.replace(r,t)})),i)}var qe=function(e){let t=e;Ae=Se(t);const n=(e,n={})=>Ce(t,e,n);return n.addMessages=(e,i)=>(t={...t,[e]:i},Ae=Se(t),n),n.getMessages=()=>t[Ae],n.localeExists=()=>!!t[Ae],n.messageExists=e=>!!Te(t[Ae],e),n.translate=(e,n={})=>Ce(t,e,n),n}({en:{and:"and",closeMenu:"Close menu",for:"for",mainMenu:"Main menu",menu:"Menu",menuAndQuickLinks:"Menu and quick links",openMenu:"Open menu",sideMenu:"Side menu",submenu:"Subpages for {displayName}"},sv:{and:"och",closeMenu:"Stäng meny",for:"för",mainMenu:"Huvudmeny",menu:"Meny",menuAndQuickLinks:"Meny och snabblänkar",openMenu:"Öppna meny",sideMenu:"Sidomeny",submenu:"Undersidor för {displayName}"}});function He(e){const t=e-1;return t*t*t+1}function De(e,{delay:t=0,duration:n=400,easing:i=He,axis:r="y"}={}){const o=getComputedStyle(e),a=+o.opacity,s="y"===r?"height":"width",l=parseFloat(o[s]),c="y"===r?["top","bottom"]:["left","right"],u=c.map((e=>`${e[0].toUpperCase()}${e.slice(1)}`)),d=parseFloat(o[`padding${u[0]}`]),f=parseFloat(o[`padding${u[1]}`]),h=parseFloat(o[`margin${u[0]}`]),m=parseFloat(o[`margin${u[1]}`]),p=parseFloat(o[`border${u[0]}Width`]),g=parseFloat(o[`border${u[1]}Width`]);return{delay:t,duration:n,easing:i,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*a};${s}: ${e*l}px;padding-${c[0]}: ${e*d}px;padding-${c[1]}: ${e*f}px;margin-${c[0]}: ${e*h}px;margin-${c[1]}: ${e*m}px;border-${c[0]}-width: ${e*p}px;border-${c[1]}-width: ${e*g}px;`}}function Ie(e,t,n){const i=e.slice();return i[4]=t[n],i}function Pe(e){let t,n,i=[],r=new Map,o=be(e[0]);const a=e=>e[4].id;for(let t=0;t<o.length;t+=1){let n=Ie(e,o,t),s=a(n);r.set(s,i[t]=Fe(s,n))}return{c(){t=M("ul");for(let e=0;e<i.length;e+=1)i[e].c();this.h()},l(e){t=P(e,"UL",{class:!0});var n=H(t);for(let e=0;e<i.length;e+=1)i[e].l(n);n.forEach(N),this.h()},h(){q(t,"class","nav")},m(e,r){L(e,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);n=!0},p(e,n){3&n&&(o=be(e[0]),fe(),i=function(e,t,n,i,r,o,a,s,l,c,u,f){let h=e.length,m=o.length,p=h;const g={};for(;p--;)g[e[p].key]=p;const $=[],b=new Map,v=new Map,y=[];for(p=m;p--;){const e=f(r,o,p),s=n(e);let l=a.get(s);l?i&&y.push((()=>l.p(e,t))):(l=c(s,e),l.c()),b.set(s,$[p]=l),s in g&&v.set(s,Math.abs(p-g[s]))}const _=new Set,x=new Set;function E(e){me(e,1),e.m(s,u),a.set(e.key,e),u=e.first,m--}for(;h&&m;){const t=$[m-1],n=e[h-1],i=t.key,r=n.key;t===n?(u=t.first,h--,m--):b.has(r)?!a.has(i)||_.has(i)?E(t):x.has(r)?h--:v.get(i)>v.get(r)?(x.add(i),E(t)):(_.add(r),h--):(l(n,a),h--)}for(;h--;){const t=e[h];b.has(t.key)||l(t,a)}for(;m;)E($[m-1]);return d(y),$}(i,n,a,1,e,o,r,t,ve,Fe,null,Ie),he())},i(e){if(!n){for(let e=0;e<o.length;e+=1)me(i[e]);n=!0}},o(e){for(let e=0;e<i.length;e+=1)pe(i[e]);n=!1},d(e){e&&N(t);for(let e=0;e<i.length;e+=1)i[e].d()}}}function Ve(e){let t,n,i,r,o;function a(){return e[2](e[4])}return{c(){t=M("button"),this.h()},l(e){t=P(e,"BUTTON",{class:!0,"aria-expanded":!0,"aria-label":!0,tabindex:!0}),H(t).forEach(N),this.h()},h(){q(t,"class","button-text button-icon nav-button"),q(t,"aria-expanded",n=e[4].isExpanded),q(t,"aria-label",i=qe("submenu",{displayName:e[4].displayName})),q(t,"tabindex","0"),B(t,"icon-down",!e[4].isExpanded&&!e[4].isError),B(t,"icon-up",e[4].isExpanded&&!e[4].isError),B(t,"icon-warning",e[4].isError)},m(e,n){L(e,t,n),r||(o=C(t,"click",a),r=!0)},p(r,o){e=r,1&o&&n!==(n=e[4].isExpanded)&&q(t,"aria-expanded",n),1&o&&i!==(i=qe("submenu",{displayName:e[4].displayName}
2))&&q(t,"aria-label",i),1&o&&B(t,"icon-down",!e[4].isExpanded&&!e[4].isError),1&o&&B(t,"icon-up",e[4].isExpanded&&!e[4].isError),1&o&&B(t,"icon-warning",e[4].isError)},d(e){e&&N(t),r=!1,o()}}}function Oe(e){let t,n,i,r;return n=new Re({props:{items:e[4].children}}),{c(){t=M("div"),ye(n.$$.fragment)},l(e){t=P(e,"DIV",{});var i=H(t);_e(n.$$.fragment,i),i.forEach(N)},m(e,i){L(e,t,i),xe(n,t,null),r=!0},p(e,t){const i={};1&t&&(i.items=e[4].children),n.$set(i)},i(e){r||(me(n.$$.fragment,e),e&&ie((()=>{r&&(i||(i=$e(t,De,{duration:400},!0)),i.run(1))})),r=!0)},o(e){pe(n.$$.fragment,e),e&&(i||(i=$e(t,De,{duration:400},!1)),i.run(0)),r=!1},d(e){e&&N(t),Ee(n),e&&i&&i.end()}}}function Fe(e,t){let n,i,r,o,a,s,l,c,u,d,f=t[4].displayName+"",h=t[4].hasChildren&&Ve(t),m=t[4].isExpanded&&t[4].children?.length>0&&Oe(t);return{key:e,first:null,c(){n=M("li"),i=M("div"),r=M("a"),o=A(f),l=T(),h&&h.c(),c=T(),m&&m.c(),u=T(),this.h()},l(e){n=P(e,"LI",{class:!0});var t=H(n);i=P(t,"DIV",{class:!0});var a=H(i);r=P(a,"A",{class:!0,"aria-current":!0,href:!0});var s=H(r);o=V(s,f),s.forEach(N),l=O(a),h&&h.l(a),a.forEach(N),c=O(t),m&&m.l(t),u=O(t),t.forEach(N),this.h()},h(){q(r,"class","nav-link"),q(r,"aria-current",a=t[4].isCurrent?"page":void 0),q(r,"href",s=t[4].uri),q(i,"class","d-flex"),q(n,"class","nav-item"),B(n,"expanded",t[4].isExpanded),B(n,"has-children",t[4].hasChildren),this.first=n},m(e,t){L(e,n,t),w(n,i),w(i,r),w(r,o),w(i,l),h&&h.m(i,null),w(n,c),m&&m.m(n,null),w(n,u),d=!0},p(e,l){t=e,(!d||1&l)&&f!==(f=t[4].displayName+"")&&function(e,t){t=""+t,e.data!==t&&(e.data=t)}(o,f),(!d||1&l&&a!==(a=t[4].isCurrent?"page":void 0))&&q(r,"aria-current",a),(!d||1&l&&s!==(s=t[4].uri))&&q(r,"href",s),t[4].hasChildren?h?h.p(t,l):(h=Ve(t),h.c(),h.m(i,null)):h&&(h.d(1),h=null),t[4].isExpanded&&t[4].children?.length>0?m?(m.p(t,l),1&l&&me(m,1)):(m=Oe(t),m.c(),me(m,1),m.m(n,u)):m&&(fe(),pe(m,1,1,(()=>{m=null})),he()),(!d||1&l)&&B(n,"expanded",t[4].isExpanded),(!d||1&l)&&B(n,"has-children",t[4].hasChildren)},i(e){d||(me(m),d=!0)},o(e){pe(m),d=!1},d(e){e&&N(n),h&&h.d(),m&&m.d()}}}function je(e){let t,n,i=e[0]?.length>0&&Pe(e);return{c(){i&&i.c(),t=S()},l(e){i&&i.l(e),t=S()},m(e,r){i&&i.m(e,r),L(e,t,r),n=!0},p(e,[n]){e[0]?.length>0?i?(i.p(e,n),1&n&&me(i,1)):(i=Pe(e),i.c(),me(i,1),i.m(t.parentNode,t)):i&&(fe(),pe(i,1,1,(()=>{i=null})),he())},i(e){n||(me(i),n=!0)},o(e){pe(i),n=!1},d(e){e&&N(t),i&&i.d(e)}}}function Be(e,t,n){let{items:i=[]}=t;function o(e){e.isExpanded=!e.isExpanded,!e.isExpanded||!e.hasChildren||e.children&&0!==e.children.length||function(e){a.default.doGet({url:r.default.getStandaloneUrl("/items",{id:e.id,level:e.level})}).then((t=>{e.children=t||[],e.isError=!1,n(0,i)})).catch((()=>{e.isError=!0,n(0,i)}))}(e),n(0,i)}return e.$$set=e=>{"items"in e&&n(0,i=e.items)},[i,o,e=>o(e)]}class Re extends Le{constructor(e){super(),ke(this,e,Be,je,h,{items:0})}}const{window:Ue}=v;function We(e){let t,n;return{c(){t=new U(!1),n=S(),this.h()},l(e){t=function(e,t){const n=F(e,"HTML_TAG_START",0),i=F(e,"HTML_TAG_END",n+1);if(-1===n||-1===i)return new U(t);D(e);const r=e.splice(n,i-n+1);N(r[0]),N(r[r.length-1]);const o=r.slice(1,r.length-1);if(0===o.length)return new U(t);for(const t of o)t.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1;return new U(t,o)}(e,!1),n=S(),this.h()},h(){t.a=n},m(i,r){t.m(e[2],i,r),L(i,n,r)},p(e,n){4&n&&t.p(e[2])},d(e){e&&(N(n),t.d())}}}function Qe(e){let t,n,i,r,o,a,s,l,c,u,f,h,m,p,g,$,b,v=qe("menu")+"",y=`${e[8]}px`;ie(e[13]),u=new Re({props:{items:e[1]}});let _=e[2]&&We(e);return{c(){t=M("div"),n=M("nav"),i=M("button"),r=M("span"),o=A(v),a=T(),s=M("div"),l=M("div"),c=M("div"),ye(u.$$.fragment),f=T(),h=M("div"),_&&_.c(),this.h()},l(e){t=P(e,"DIV",{class:!0});var d=H(t);n=P(d,"NAV",{"aria-label":!0});var m=H(n);i=P(m,"BUTTON",{class:!0,"aria-controls":!0,"aria-expanded":!0,"aria-label":!0});var p=H(i);r=P(p,"SPAN",{class:!0});var g=H(r);o=V(g,v),g.forEach(N),p.forEach(N),a=O(m),s=P(m,"DIV",{id:!0,class:!0,"aria-label":!0,role:!0,tabindex:!0});var $=H(s);l=P($,"DIV",{class:!0});var b=H(l);c=P(b,"DIV",{class:!0});var y=H(c);
2_e(u.$$.fragment,y),y.forEach(N),f=O(b),h=P(b,"DIV",{class:!0});var x=H(h);_&&_.l(x),x.forEach(N),b.forEach(N),$.forEach(N),m.forEach(N),d.forEach(N),this.h()},h(){q(r,"class","visually-hidden-md"),q(i,"class","tree-menu-button button-icon button-text"),q(i,"aria-controls","tree-menu-panel"),q(i,"aria-expanded",e[4]),q(i,"aria-label",qe("openMenu")),B(i,"active",e[4]),B(i,"icon-clear",e[4]),B(i,"icon-menu",!e[4]),q(c,"class","tree-menu-panel-content-list"),q(h,"class","tree-menu-panel-content-quick-links"),q(l,"class","tree-menu-panel-content"),j(l,"height","0px"),q(s,"id","tree-menu-panel"),q(s,"class","tree-menu-panel"),q(s,"aria-label",m=qe(e[2]?"menuAndQuickLinks":"menu")),s.hidden=p=!e[4],q(s,"role","region"),q(s,"tabindex","-1"),j(s,"--header-height",y),q(n,"aria-label",e[0]),q(t,"class","nav-expandable")},m(d,m){L(d,t,m),w(t,n),w(n,i),w(i,r),w(r,o),e[14](i),w(n,a),w(n,s),w(s,l),w(l,c),xe(u,c,null),w(l,f),w(l,h),_&&_.m(h,null),e[16](l),e[17](t),g=!0,$||(b=[C(Ue,"click",e[11]),C(Ue,"keydown",e[12]),C(Ue,"resize",e[13]),C(i,"click",e[15])],$=!0)},p(e,[t]){(!g||16&t)&&q(i,"aria-expanded",e[4]),(!g||16&t)&&B(i,"active",e[4]),(!g||16&t)&&B(i,"icon-clear",e[4]),(!g||16&t)&&B(i,"icon-menu",!e[4]);const r={};2&t&&(r.items=e[1]),u.$set(r),e[2]?_?_.p(e,t):(_=We(e),_.c(),_.m(h,null)):_&&(_.d(1),_=null),(!g||4&t&&m!==(m=qe(e[2]?"menuAndQuickLinks":"menu")))&&q(s,"aria-label",m),(!g||16&t&&p!==(p=!e[4]))&&(s.hidden=p),256&t&&y!==(y=`${e[8]}px`)&&j(s,"--header-height",y),(!g||1&t)&&q(n,"aria-label",e[0])},i(e){g||(me(u.$$.fragment,e),g=!0)},o(e){pe(u.$$.fragment,e),g=!1},d(n){n&&N(t),e[14](null),Ee(u),_&&_.d(),e[16](null),e[17](null),$=!1,d(b)}}}function ze(e,t,n){const i=(r=function(){window.scrollTo(0,0),document.body.style.overflow="hidden",n(4,d=!0),s.classList.add("hide-scrollbar-thumb");const e=()=>{a.setAttribute("aria-label",qe("closeMenu")),s.classList.remove("hide-scrollbar-thumb"),n(7,s.style.outline="1px solid transparent",s),s.offsetHeight,n(7,s.style.outline="",s)};return setTimeout((()=>{f||n(7,s.scrollTop=0,s),n(7,s.style.height="calc(100vh - var(--header-height))",s);const t=n=>{if("height"===n.propertyName){if(s.removeEventListener("transitionend",t),f)return o.focus(),void e();const n=document.querySelector('.nav-item .nav-link[aria-current="page"]');n?(n.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout((()=>{n.focus(),e()}),300)):(o.focus(),e()),f=!0}};s.addEventListener("transitionend",t)}),0),r?i?i(t):t:(t&&t.then||(t=Promise.resolve(t)),i?t.then(i):t);var t,i,r},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(r.apply(this,e))}catch(e){return Promise.reject(e)}});var r;let o,a,s,{ariaLabel:l=""}=t,{items:c=[]}=t,{quickLinksHtml:u=""}=t,d=!1,f=!1,h=0,m=0;function p(){s.classList.add("hide-scrollbar-thumb"),n(7,s.style.height="0px",s);const e=t=>{"height"===t.propertyName&&(s.removeEventListener("transitionend",e),document.body.style.overflow="",n(4,d=!1),a.setAttribute("aria-label",qe("openMenu")))};s.addEventListener("transitionend",e)}return e.$$set=e=>{"ariaLabel"in e&&n(0,l=e.ariaLabel),"items"in e&&n(1,c=e.items),"quickLinksHtml"in e&&n(2,u=e.quickLinksHtml)},e.$$.update=()=>{if(8&e.$$.dirty&&h){const e=document.querySelector("header");e&&n(8,m=e.offsetHeight)}},[l,c,u,h,d,o,a,s,m,i,p,function(e){d&&e.target!==o&&!o.contains(e.target)&&p()},function(e){d&&("Escape"===e.key?(p(),a.focus()):"Tab"===e.key&&function(e){const t=o.querySelectorAll("a, button, [tabindex]"),n=t[0],i=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),i.focus()):e.shiftKey||document.activeElement!==i||(e.preventDefault(),n.focus())}(e))},function(){n(3,h=Ue.innerWidth)},function(e){Y[e?"unshift":"push"]((()=>{a=e,n(6,a)}))},()=>d?p():i(),function(e){Y[e?"unshift":"push"]((()=>{s=e,n(7,s)}))},function(e){Y[e?"unshift":"push"]((()=>{o=e,n(5,o)}))}]}class Ge extends Le{constructor(e){super(),ke(this,e,ze,Qe,h,{ariaLabel:0,items:1,quickLinksHtml:2})}}function Ke(e){let t,n,i,r,o;return r=new Re({props:{items:e[1]}}),{c(){t=M("div"),n=M("nav"),i=M("div"),ye(r.$$.fragment),this.h()},l(e){t=P(e,"DIV",{class:!0});var o=H(t);
2n=P(o,"NAV",{class:!0,"aria-label":!0});var a=H(n);i=P(a,"DIV",{class:!0});var s=H(i);_e(r.$$.fragment,s),s.forEach(N),a.forEach(N),o.forEach(N),this.h()},h(){q(i,"class","navbar-collapse"),q(n,"class","navbar-expand-lg"),q(n,"aria-label",e[0]),q(t,"class","nav-expandable")},m(e,a){L(e,t,a),w(t,n),w(n,i),xe(r,i,null),o=!0},p(e,[t]){const i={};2&t&&(i.items=e[1]),r.$set(i),(!o||1&t)&&q(n,"aria-label",e[0])},i(e){o||(me(r.$$.fragment,e),o=!0)},o(e){pe(r.$$.fragment,e),o=!1},d(e){e&&N(t),Ee(r)}}}function Je(e,t,n){let{ariaLabel:i=""}=t,{items:r=[]}=t;return e.$$set=e=>{"ariaLabel"in e&&n(0,i=e.ariaLabel),"items"in e&&n(1,r=e.items)},[i,r]}class Xe extends Le{constructor(e){super(),ke(this,e,Je,Ke,h,{ariaLabel:0,items:1})}}function Ye(e){let t,n;return t=new Xe({props:{ariaLabel:e[0],items:e[1]}}),{c(){ye(t.$$.fragment)},l(e){_e(t.$$.fragment,e)},m(e,i){xe(t,e,i),n=!0},p(e,n){const i={};1&n&&(i.ariaLabel=e[0]),2&n&&(i.items=e[1]),t.$set(i)},i(e){n||(me(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){Ee(t,e)}}}function Ze(e){let t,n;return t=new Ge({props:{ariaLabel:e[0],items:e[1],quickLinksHtml:e[2]}}),{c(){ye(t.$$.fragment)},l(e){_e(t.$$.fragment,e)},m(e,i){xe(t,e,i),n=!0},p(e,n){const i={};1&n&&(i.ariaLabel=e[0]),2&n&&(i.items=e[1]),4&n&&(i.quickLinksHtml=e[2]),t.$set(i)},i(e){n||(me(t.$$.fragment,e),n=!0)},o(e){pe(t.$$.fragment,e),n=!1},d(e){Ee(t,e)}}}function et(e){let t,n,i,r;const o=[Ze,Ye],a=[];function s(e,t){return e[3]===Ne?0:1}return t=s(e),n=a[t]=o[t](e),{c(){n.c(),i=S()},l(e){n.l(e),i=S()},m(e,n){a[t].m(e,n),L(e,i,n),r=!0},p(e,[r]){let l=t;t=s(e),t===l?a[t].p(e,r):(fe(),pe(a[l],1,1,(()=>{a[l]=null})),he(),n=a[t],n?n.p(e,r):(n=a[t]=o[t](e),n.c()),me(n,1),n.m(i.parentNode,i))},i(e){r||(me(n),r=!0)},o(e){pe(n),r=!1},d(e){e&&N(i),a[t].d(e)}}}function tt(e,t,n){let{ariaLabel:i=""}=t,{items:r=[]}=t,{quickLinksHtml:o=""}=t,{type:a=Ne}=t;return e.$$set=e=>{"ariaLabel"in e&&n(0,i=e.ariaLabel),"items"in e&&n(1,r=e.items),"quickLinksHtml"in e&&n(2,o=e.quickLinksHtml),"type"in e&&n(3,a=e.type)},[i,r,o,a]}class nt extends Le{constructor(e){super(),ke(this,e,tt,et,h,{ariaLabel:0,items:1,quickLinksHtml:2,type:3})}}return(e,t)=>{!function(e,{target:t,props:n,intro:i=!1,hydrate:r=t.hasChildNodes()}={}){new e({hydrate:r,target:t,props:n,intro:i})}(nt,{props:e,target:t})}}));
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.