PageSourceSearch

https://aunivers.no/815d0d87/_nuxt/4jbAPral2.js

js aunivers.no collected 2026-10-09 04:39:24 UTC 7,547 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="13f501fb-37d8-5437-be18-219355130485")}catch(e){}}();
3import{rt as e}from"./DVU2nKuA.js";import{A as t,Ct as n,Gt as o,It as r,O as a,Pt as u,Y as s,bt as i,ct as l,it as c,nt as d,yt as f,z as p}from"./CV1VnGLa.js";import{S as v,_ as m,c as y,g as h,i as g,l as b,t as E,v as w,y as A}from"./BAMiKQSA.js";import{t as S}from"./KBdKX4zc.js";import{o as F}from"./RX7VmAol2.js";var N=m(()=>{const t=r(new Map),n=r(),o=a(()=>{for(const e of t.value.values())if(e)return!0;return!1}),u=F({scrollBody:r(!0)});let i=null;return f(o,(t,r)=>{if(!w)return;if(!t)return void(r&&(document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=n.value??"",A&&i?.(),n.value=void 0));void 0===n.value&&(n.value=document.body.style.overflow);const a=window.innerWidth-document.documentElement.clientWidth,l={padding:a,margin:0},c=u.scrollBody?.value?"object"==typeof u.scrollBody.value?e({padding:!0===u.scrollBody.value.padding?a:u.scrollBody.value.padding,margin:!0===u.scrollBody.value.margin?a:u.scrollBody.value.margin},l):l:{padding:0,margin:0};a>0&&(document.body.style.paddingRight="number"==typeof c.padding?`${c.padding}px`:String(c.padding),document.body.style.marginRight="number"==typeof c.margin?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${a}px`),document.body.style.overflow="hidden"),A&&(i=b(document,"touchmove",e=>function(e){const t=e||window.event,n=t.target;if(n instanceof Element&&T(n))return!1;if(t.touches.length>1)return!0;t.preventDefault&&t.cancelable&&t.preventDefault();return!1}(e),{passive:!1})),s(()=>{o.value&&(document.body.style.pointerEvents="none",document.body.style.overflow="hidden")})},{immediate:!0,flush:"sync"}),t});function L(e){const t=Math.random().toString(36).substring(2,7),n=N();n.value.set(t,e??!1);const o=a({get:()=>n.value.get(t)??!1,set:e=>n.value.set(t,e)});return v(()=>{n.value.delete(t)}),o}function T(e){const t=window.getComputedStyle(e);if("scroll"===t.overflowX||"scroll"===t.overflowY||"auto"===t.overflowX&&e.clientWidth<e.scrollWidth||"auto"===t.overflowY&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return t instanceof Element&&"BODY"!==t.tagName&&T(t)}}var B=new WeakMap,M=new WeakMap,W={},C=0,k=function(e){return e&&(e.host||k(e.parentNode))},x=function(e,t,n,o){var r=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=k(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);W[n]||(W[n]=new WeakMap);var a=W[n],u=[],s=new Set,i=new Set(r),l=function(e){e&&!s.has(e)&&(s.add(e),l(e.parentNode))};r.forEach(l);var c=function(e){e&&!i.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(o),r=null!==t&&"false"!==t,i=(B.get(e)||0)+1,l=(a.get(e)||0)+1;B.set(e,i),a.set(e,l),u.push(e),1===i&&r&&M.set(e,!0),1===l&&e.setAttribute(n,"true"),r||e.setAttribute(o,"true")}catch(d){console.error("aria-hidden: cannot operate on ",e,d)}})};return c(t),s.clear(),C++,function(){u.forEach(function(e){var t=B.get(e)-1,r=a.get(e)-1;B.set(e,t),a.set(e,r),t||(M.has(e)||e.removeAttribute(o),M.delete(e)),r||e.removeAttribute(n)}),--C||(B=new WeakMap,B=new WeakMap,M=new WeakMap,W={})}},I=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),x(o,r,n,"aria-hidden")):function(){return null}};function P(e){let t;f(()=>y(e),e=>{let n=!1;try{n=!!e?.closest("[popover]:not(:popover-open)")}catch{}e&&!n?t=I(e):t&&t()}),d(()=>{t&&t()})}var R=h(()=>r([]));function _(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}var D="focusScope.autoFocusOnMount",K="focusScope.autoFocusOnUnmount",O={bubbles:!1,cancelable:!0};function j(e,{select:t=!1}={}){const n=S();for(const o of e)if($(o,{select:t}),S()!==n)return!0}function q(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function H(e,t){for(const n of e)if(!Y(n,{upTo:t}))return n}function Y(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function $(e,{select:t=!1}={}){if(e&&e.focus){const n=S();e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}var U=p({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:a}){const d=e,f=a,{currentRef:p,currentElement:v}=g(),m=r(null),y=function(){const e=R();return{add(t){const n=e.value[0];t!==n&&n?.pause(),e.value=_(e.value,t),e.value.unshift(t)},remove(t){e.value=_(e.value,t),e.value[0]?.resume()}}}(),h=u({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});function b(e){if(!d.loop&&!d.trapped)return;if(h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=S();if(t&&n){const t=e.currentTarget,[o,r]=function(e){const t=q(e);return[H(t,e),H(t.reverse(),e)]}(t);o&&r?e.shiftKey||n!==r?e.shiftKey&&n===o&&(e.preventDefault(),d.loop&&$(r,{select:!0})):(e.preventDefault(),d.loop&&$(o,{select:!0})):n===t&&e.preventDefault()}}return i(e=>{if(!w)return;const t=v.value;if(!d.trapped)return;function n(e){if(h.paused||!t)return;const n=e.target;t.contains(n)?m.value=n:$(m.value,{select:!0})}function o(e){if(h.paused||!t)return;const n=e.relatedTarget;null!==n&&(t.contains(n)||$(m.value,{select:!0}))}document.addEventListener("focusin",n),document.addEventListener("focusout",o);const r=new MutationObserver(function(e){const n=m.value;null!==n&&e.some(e=>e.removedNodes.length>0)&&(t.contains(n)||$(t))});t&&r.observe(t,{childList:!0,subtree:!0}),e(()=>{document.removeEventListener("focusin",n),document.removeEventListener("focusout",o),r.disconnect()})}),i(async e=>{const t=v.value;if(await s(),!t)return;y.add(h);const n=S();if(!t.contains(n)){const e=new CustomEvent(D,O);
3t.addEventListener(D,e=>f("mountAutoFocus",e)),t.dispatchEvent(e),e.defaultPrevented||(j(q(t),{select:!0}),S()===n&&$(t))}e(()=>{t.removeEventListener(D,e=>f("mountAutoFocus",e));const e=new CustomEvent(K,O),o=e=>{f("unmountAutoFocus",e)};t.addEventListener(K,o),t.dispatchEvent(e),setTimeout(()=>{e.defaultPrevented||$(n??document.body,{select:!0}),t.removeEventListener(K,o),y.remove(h)},0)})}),(e,r)=>(c(),t(o(E),{ref_key:"currentRef",ref:p,tabindex:"-1","as-child":e.asChild,as:e.as,onKeydown:b},{default:n(()=>[l(e.$slots,"default")]),_:3},8,["as-child","as"]))}});export{L as a,P as i,j as n,q as r,U as t};
4//# debugId=13f501fb-37d8-5437-be18-219355130485

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.