PageSourceSearch

https://www.ps-regensdorf.ch/dist/Popover-kUw0HW1-.js

js ps-regensdorf.ch collected 2026-10-07 21:38:55 UTC 22,628 bytes, 1 lines download raw bytes

vendor: 4,120 bytes, line 1
1import{B as e,Dt as t,Et as n,M as r,Nt as i,Q as a,S as o,T as s,_t as c,cn as l,ct as u,dt as d,en as f,ft as p,jt as m,kt as h,mt as g,nn as _,t as v,tt as y,ut as b,w as x,wt as S,x as C,xt as w}from"./vue.runtime.esm-bundler-CQND_IVA.js";import{t as T}from"./lib-BQWog59f.js";import{r as E,x as ee}from"./core-hDH_FBV0.js";import{a as te,n as ne}from"./components-CBcOPWBk.js";function re(e,t,n){return N(e,M(t,n))}function D(e,t){return typeof e==`function`?e(t):e}function O(e){return e.split(`-`)[0]}function k(e){return e.split(`-`)[1]}function ie(e){return e===`x`?`y`:`x`}function ae(e){return e===`y`?`height`:`width`}function A(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function oe(e){return ie(A(e))}function se(e,t,n){n===void 0&&(n=!1);let r=k(e),i=oe(e),a=ae(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=fe(o)),[o,fe(o)]}function ce(e){let t=fe(e);return[le(e),t,le(t)]}function le(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}function ue(e,t,n){switch(e){case`top`:case`bottom`:return n?t?_e:ge:t?ge:_e;case`left`:case`right`:return t?ve:ye;default:return[]}}function de(e,t,n,r){let i=k(e),a=ue(O(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(le)))),a}function fe(e){let t=O(e);return he[t]+e.slice(t.length)}function pe(e){return{top:0,right:0,bottom:0,left:0,...e}}function me(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:pe(e)}function j(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}var M,N,P,F,I,he,ge,_e,ve,ye,be=l((()=>{M=Math.min,N=Math.max,P=Math.round,F=Math.floor,I=e=>({x:e,y:e}),he={left:`right`,right:`left`,bottom:`top`,top:`bottom`},ge=[`left`,`right`],_e=[`right`,`left`],ve=[`top`,`bottom`],ye=[`bottom`,`top`]}));function xe(e,t,n){let{reference:r,floating:i}=e,a=A(t),o=oe(t),s=ae(o),c=O(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(k(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function Se(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=D(t,e),p=me(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=j(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=j(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}async function Ce(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=O(n),s=k(n),c=A(n)===`y`,l=De.has(o)?-1:1,u=a&&c?-1:1,d=D(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var we,Te,Ee,De,Oe,ke,Ae,je=l((()=>{be(),we=50,Te=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Se},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}
1),{x:u,y:d}=xe(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<we&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=xe(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Ee=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=D(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=O(r),_=A(o),v=O(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[fe(o)]:ce(o)),x=p!==`none`;!d&&x&&b.push(...de(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=se(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==A(t))||T.every(e=>A(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=A(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},De=new Set([`left`,`top`]),Oe=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Ce(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},ke=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=D(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=A(O(i)),p=ie(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=re(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=re(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Ae=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=D(e,t),u=await o.detectOverflow(t,l),d=O(i),f=k(i),p=A(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=M(h-u[g],v),x=M(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=N(u.left,0),t=N(u.right,0),n=N(u.top,0),r=N(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:N(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:N(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}}}));function L(){return typeof window<`u`}function R(e){return Me(e)?(e.nodeName||``).toLowerCase():`#document`}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function B(e){return((Me(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Me(e){return L()?e instanceof Node||e instanceof z(e).Node:!1}function V(e){return L()?e instanceof Element||e instanceof z(e).Element:!1}function H(e){return L()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function Ne(e){return!L()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}function U(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Pe(e){return/^(table|td|th)$/.test(R(e))}function W(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}function Fe(e){let t=V(e)?K(e):e;return X(t.transform)||X(t.translate)||X(t.scale)||X(t.rotate)||X(t.perspective)||!Le()&&(X(t.backdropFilter)||X(t.filter))||Be.test(t.willChange||``)||Ve.test(t.contain||``)}function Ie(e){let t=J(e);for(;H(t)&&!G(t);){if(Fe(t))return t;if(W(t))return null;t=J(t)}return null}function Le(){return He??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),He}function G(e){return/^(html|body|#document)$/.test(R(e))}function K(e){return z(e).getComputedStyle(e)}function q(e){return V(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if(R(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Ne(e)&&e.host||B(e);return Ne(t)?t.host:t}function Re(e){let t=J(e);return G(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&U(t)?t:Re(t)}function Y(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Re(e),i=r===e.ownerDocument?.body,a=z(r);if(i){let e=ze(a);
vendor: 6,068 bytes, line 1
1return t.concat(a,a.visualViewport||[],U(r)?r:[],e&&n?Y(e):[])}else return t.concat(r,Y(r,[],n))}function ze(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var Be,Ve,X,He,Ue=l((()=>{Be=/transform|translate|scale|rotate|perspective|filter/,Ve=/paint|layout|strict|content/,X=e=>!!e&&e!==`none`}));function We(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=H(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=P(n)!==a||P(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Ge(e){return V(e)?e:e.contextElement}function Z(e){let t=Ge(e);if(!H(t))return I(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=We(t),o=(a?P(n.width):n.width)/r,s=(a?P(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}function Ke(e){let t=z(e);return!Le()||!t.visualViewport?mt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function qe(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==z(e)?!1:t}function Q(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Ge(e),o=I(1);t&&(r?V(r)&&(o=Z(r)):o=Z(e));let s=qe(a,n,r)?Ke(a):I(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=z(a),t=r&&V(r)?z(r):r,n=e,i=ze(n);for(;i&&r&&t!==n;){let e=Z(i),t=i.getBoundingClientRect(),r=K(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=z(i),i=ze(n)}}return j({width:u,height:d,x:c,y:l})}function Je(e,t){let n=q(e).scrollLeft;return t?t.left+n:Q(B(e)).left+n}function Ye(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Je(e,n),y:n.top+t.scrollTop}}function Xe(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=B(r),s=t?W(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=I(1),u=I(0),d=H(r);if((d||!d&&!a)&&((R(r)!==`body`||U(o))&&(c=q(r)),d)){let e=Q(r);l=Z(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Ye(o,c):I(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Ze(e){return Array.from(e.getClientRects())}function Qe(e){let t=B(e),n=q(e),r=e.ownerDocument.body,i=N(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=N(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Je(e),s=-n.scrollTop;return K(r).direction===`rtl`&&(o+=N(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function $e(e,t){let n=z(e),r=B(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Le();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Je(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=ht&&(a-=o)}else l<=ht&&(a+=l);return{width:a,height:o,x:s,y:c}}function et(e,t){let n=Q(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=H(e)?Z(e):I(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function tt(e,t,n){let r;if(t===`viewport`)r=$e(e,n);else if(t===`document`)r=Qe(B(e));else if(V(t))r=et(t,n);else{let n=Ke(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return j(r)}function nt(e,t){let n=J(e);return n===t||!V(n)||G(n)?!1:K(n).position===`fixed`||nt(n,t)}function rt(e,t){let n=t.get(e);if(n)return n;let r=Y(e,[],!1).filter(e=>V(e)&&R(e)!==`body`),i=null,a=K(e).position===`fixed`,o=a?J(e):e;for(;V(o)&&!G(o);){let t=K(o),n=Fe(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||U(o)&&!n&&nt(e,o))?r=r.filter(e=>e!==o):i=t,o=J(o)}return t.set(e,r),r}function it(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?W(t)?[]:rt(t,this._c):[].concat(n),r],o=tt(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=tt(t,a[e],i);s=N(n.top,s),c=M(n.right,c),l=M(n.bottom,l),u=N(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function at(e){let{width:t,height:n}=We(e);return{width:t,height:n}}function ot(e,t,n){let r=H(t),i=B(t),a=n===`fixed`,o=Q(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=I(0);function l(){c.x=Je(i)}if(r||!r&&!a)if((R(t)!==`body`||U(i))&&(s=q(t)),r){let e=Q(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?Ye(i,s):I(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function st(e){return K(e).position===`static`}function ct(e,t){if(!H(e)||K(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return B(e)===n&&(n=n.ownerDocument.body),n}function lt(e,t){let n=z(e);if(W(e))return n;if(!H(e)){let t=J(e);for(;t&&!G(t);){if(V(t)&&!st(t))return t;t=J(t)}return n}let r=ct(e,t);for(;r&&Pe(r)&&st(r);)r=ct(r,t);return r&&G(r)&&st(r)&&!Fe(r)?n:r||Ie(e)||n}function ut(e){return K(e).direction===`rtl`}function dt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ft(e,t){let n=null,r,i=B(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=F(d),h=F(i.clientWidth-(u+f)),g=F(i.clientHeight-(d+p)),_=F(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:N(0,M(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!dt(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function pt(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Ge(e),u=i||a?[...l?Y(l):[],...t?Y(t):[]]:[];
1u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?ft(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Q(e):null;c&&g();function g(){let t=Q(e);h&&!dt(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var mt,ht,gt,_t,vt,yt,bt,xt,St,Ct=l((()=>{je(),be(),Ue(),mt=I(0),ht=25,gt=async function(e){let t=this.getOffsetParent||lt,n=this.getDimensions,r=await n(e.floating);return{reference:ot(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},_t={convertOffsetParentRelativeRectToViewportRelativeRect:Xe,getDocumentElement:B,getClippingRect:it,getOffsetParent:lt,getElementRects:gt,getClientRects:Ze,getDimensions:at,getScale:Z,isElement:V,isRTL:ut},vt=Oe,yt=ke,bt=Ee,xt=Ae,St=(e,t,n)=>{let r=new Map,i={platform:_t,...n},a={...i.platform,_c:r};return Te(e,t,{...i,platform:a})}}));function wt(e){return typeof e==`object`&&!!e&&`$el`in e}function Tt(e){if(wt(e)){let t=e.$el;return Me(t)&&R(t)===`#comment`?null:t}return e}function $(e){return typeof e==`function`?e():i(e)}function Et(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Dt(e,t){let n=Et(e);return Math.round(t*n)/n}function Ot(e,r,i){i===void 0&&(i={});let a=i.whileElementsMounted,o=C(()=>$(i.open)??!0),s=C(()=>$(i.middleware)),l=C(()=>$(i.placement)??`bottom`),u=C(()=>$(i.strategy)??`absolute`),f=C(()=>$(i.transform)??!0),p=C(()=>Tt(e.value)),m=C(()=>Tt(r.value)),h=S(0),g=S(0),_=S(u.value),v=S(l.value),y=t({}),b=S(!1),x=C(()=>{let e={position:_.value,left:`0`,top:`0`};if(!m.value)return e;let t=Dt(m.value,h.value),n=Dt(m.value,g.value);return f.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...Et(m.value)>=1.5&&{willChange:`transform`}}:{position:_.value,left:t+`px`,top:n+`px`}}),T;function E(){if(p.value==null||m.value==null)return;let e=o.value;St(p.value,m.value,{middleware:s.value,placement:l.value,strategy:u.value}).then(t=>{h.value=t.x,g.value=t.y,_.value=t.strategy,v.value=t.placement,y.value=t.middlewareData,b.value=e!==!1})}function ee(){typeof T==`function`&&(T(),T=void 0)}function te(){if(ee(),a===void 0){E();return}if(p.value!=null&&m.value!=null){T=a(p.value,m.value,E);return}}function ne(){o.value||(b.value=!1)}return d([s,l,u,o],E,{flush:`sync`}),d([p,m],te,{flush:`sync`}),d(o,ne,{flush:`sync`}),c()&&w(ee),{x:n(h),y:n(g),strategy:n(_),placement:n(v),middlewareData:n(y),isPositioned:n(b),floatingStyles:x,update:E}}var kt=l((()=>{Ct(),Ue(),T()}));function At(e){return e*parseFloat(getComputedStyle(document.documentElement).fontSize)}var jt=l((()=>{}));function Mt(...e){return e.reduce((e,t)=>e+t,0)}var Nt=l((()=>{}));function Pt(e){return e===!1?!1:e===!0||e===void 0?zt:e}function Ft(e){if(e===!1)return!1;if(!(e===!0||e===void 0))return e}function It(e){return{padding:Rt,apply({elements:t,rects:n,availableWidth:r,availableHeight:i}){if(e===`Trigger`||e===`MinTrigger`){let r=e===`Trigger`?`width`:`minWidth`;t.floating.style[r]=`${n.reference.width}px`}if(t.floating.style.getPropertyValue(`--popover-available-width`)!==``||t.floating.style.getPropertyValue(`--popover-available-height`)!==``)return;let a=getComputedStyle(t.floating);t.floating.style.setProperty(`--popover-available-width`,`${r-Mt(...[a.paddingLeft,a.paddingRight,a.borderLeftWidth,a.borderRightWidth].map(e=>parseFloat(e)))}px`),t.floating.style.setProperty(`--popover-available-height`,`${i-Mt(...[a.paddingTop,a.paddingBottom,a.borderTopWidth,a.borderBottomWidth].map(e=>parseFloat(e)))}px`)}}}function Lt(e,t,n,r,i,a){let o=C(()=>{let e=[],t=Pt(m(r));t!==!1&&e.push(vt(t));let n=Ft(m(i));n!==!1&&(e.push(bt(n)),e.push(yt({padding:Rt})));let o=It(m(a));return e.push(xt(o)),e}),{floatingStyles:s}=Ot(h(e),t,{strategy:`fixed`,placement:n,middleware:o,whileElementsMounted:pt});return{targetStyle:s}}var Rt,zt,Bt=l((()=>{kt(),v(),jt(),Nt(),Rt=At(1),zt=At(.5)}));function Vt(e){switch(e){case`White`:return`text-eds-primary bg-eds-primary border border-eds-primary`;case`Black`:return`text-eds-primary-inverse bg-eds-inverse`;case`Education`:return`text-eds-primary-inverse bg-[#938edf]`;case`Website`:return`text-eds-primary-inverse bg-[#dc87c4]`;case`Administration`:return`text-eds-primary-inverse bg-[#ff8483]`;case`Protocol`:return`text-eds-primary-inverse bg-[#faa37a]`;case`Services`:return`text-eds-primary-inverse bg-[#e0a025]`;case`SpecialNeedsEducation`:return`text-eds-primary-inverse bg-[#65cfce]`;case`OtherPages`:return`text-eds-primary-inverse bg-[#90a4ae]`}}var Ht=l((()=>{})),Ut,Wt,Gt,Kt=l((()=>{v(),ne(),E(),Bt(),Ht(),Ut={class:`contents`},Wt=[`popover`],Gt=r({__name:`Popover`,props:e({nativePopover:{type:Boolean,default:!0},placement:{default:`bottom-start`},offset:{type:[Boolean,Number,Object,Function],default:void 0},flip:{type:[Boolean,Object],default:()=>void 0},zIndex:{default:10},variant:{default:`White`},width:{default:`Content`},padding:{type:Boolean,default:!0},disabled:{type:Boolean},interactive:{type:Boolean,default:!0},ignoreClickOutside:{type:Boolean}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:[`update:isOpen`],setup(e){let t=u(e,`isOpen`),n=b(`trigger`),r=b(`content`),c=C(()=>h(n.value?.firstElementChild??null)),l=C(()=>v(n.value)),{targetStyle:d}=Lt(c,r,()=>e.placement,()=>e.offset,()=>e.flip,()=>e.width),m=C(()=>Vt(e.variant));function h(e){if(!(e instanceof HTMLElement))return null;let{display:t}=getComputedStyle(e);return t===`contents`?h(e.firstElementChild):e}function v(e){if(!(e instanceof HTMLElement))return null;let{overflowY:t}=getComputedStyle(e);return t!==`scroll`&&t!==`auto`||e.scrollHeight<=e.clientHeight?e.matches(`:modal, :popover-open`)?null:v(e.parentNode):e}function S(){t.value=!0}function w(e){e instanceof PointerEvent&&n.value!==null&&e.composedPath().includes(n.value)||(t.value=!1)}function T(){t.value=!t.value}function E(t){e.ignoreClickOutside||w(t)}return p(()=>
1{e.nativePopover&&r.value?.showPopover()}),ee(c,([e])=>{e!==void 0&&(t.value&&=e.isIntersecting)},{root:l,threshold:0}),(c,l)=>(a(),s(`div`,Ut,[o(`div`,{ref_key:`trigger`,ref:n,class:`contents`},[y(c.$slots,`trigger`,{show:S,hide:w,toggle:T})],512),t.value&&!e.disabled?g((a(),s(`div`,{key:0,ref_key:`content`,ref:r,popover:e.nativePopover?`manual`:void 0,style:_({...i(d),zIndex:e.zIndex}),class:f([`p-[unset] m-[unset] rounded-eds-s shadow-md overflow-y-auto`,m.value,{"px-eds-m py-eds-s":e.padding,"pointer-events-none":!e.interactive}])},[y(c.$slots,`content`)],14,Wt)),[[i(te),E]]):x(``,!0)]))}})})),qt,Jt=l((()=>{Kt(),Kt(),qt=Gt}));export{At as i,Jt as n,jt as r,qt as t};

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.