PageSourceSearch

https://www.unionen.se/_nuxt/qXXtHHjc.js

js unionen.se collected 2026-09-24 17:18:18 UTC 1,816 bytes, 1 lines download raw bytes

vendor: 1,816 bytes, line 1
1import{St as e,Tt as t,f as n,kt as r,mt as i,st as a,wt as o,yt as s}from"./82eqqkYy.js";import{f as c,i as l,o as u,p as d}from"./CVupgFdN.js";function f(e){return typeof e==`object`&&!!e&&`$el`in e}function p(e){if(f(e)){let t=e.$el;return d(t)&&c(t)===`#comment`?null:t}return e}function m(e){return{name:`arrow`,options:e,fn(t){let n=p(r(e.element));return n==null?{}:l({element:n,padding:e.padding}).fn(t)}}}function h(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function g(e,t){let n=h(e);return Math.round(t*n)/n}function _(c,l,d){d===void 0&&(d={});let f=d.whileElementsMounted,m=n(()=>r(d.open)??!0),_=n(()=>r(d.middleware)),v=n(()=>r(d.placement)??`bottom`),y=n(()=>r(d.strategy)??`absolute`),b=n(()=>r(d.transform)??!0),x=n(()=>p(c.value)),S=n(()=>p(l.value)),C=e(0),w=e(0),T=e(y.value),E=e(v.value),D=t({}),O=e(!1),k=n(()=>{let e={position:T.value,left:`0`,top:`0`};if(!S.value)return e;let t=g(S.value,C.value),n=g(S.value,w.value);return b.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...h(S.value)>=1.5&&{willChange:`transform`}}:{position:T.value,left:t+`px`,top:n+`px`}}),A;function j(){if(x.value==null||S.value==null)return;let e=m.value;u(x.value,S.value,{middleware:_.value,placement:v.value,strategy:y.value}).then(t=>{C.value=t.x,w.value=t.y,T.value=t.strategy,E.value=t.placement,D.value=t.middlewareData,O.value=e!==!1})}function M(){typeof A==`function`&&(A(),A=void 0)}function N(){if(M(),f===void 0){j();return}if(x.value!=null&&S.value!=null){A=f(x.value,S.value,j);return}}function P(){m.value||(O.value=!1)}return a([_,v,y,m],j,{flush:`sync`}),a([x,S],N,{flush:`sync`}),a(m,P,{flush:`sync`}),i()&&s(M),{x:o(C),y:o(w),strategy:o(T),placement:o(E),middlewareData:o(D),isPositioned:o(O),floatingStyles:k,update:j}}export{_ as n,m 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.