PageSourceSearch

https://zvelta.eu/_nuxt/D1xQXnhA.js

js zvelta.eu collected 2026-10-03 01:01:25 UTC 16,572 bytes, 1 lines download raw bytes

1import{f as R,bq as b,br as ve,P as x,bs as H,bt as U,D,bu as pe,as as X,a7 as oe,aA as ue,bv as j,bw as ie,bx as k,by as me,at as F,bz as ae,bA as he,bB as we,o as be,ak as ge,bC as ye,E as Ee,r as Se,bD as xe,bE as Oe,b as Me,bF as We,bG as Te,bH as Re,bd as _e}from"./mnXqLSze.js";function Be(e,t,s){var f;let h;Ee(s)?h={evaluating:s}:h=s||{};const{lazy:c=!1,flush:d="pre",evaluating:n=void 0,shallow:l=!0,onError:i=(f=globalThis.reportError)!=null?f:H}=h,r=b(!c),u=l?b(t):Se(t);let p=0;return ue(async o=>{if(!r.value)return;p++;const a=p;let g=!1;n&&Promise.resolve().then(()=>{n.value=!0});try{const v=await e(w=>{o(()=>{n&&(n.value=!1),g||w()})});a===p&&(u.value=v)}catch(v){i(v)}finally{n&&a===p&&(n.value=!1),g=!0}},{flush:d}),c?R(()=>(r.value=!0,u.value)):u}const _=ie?window:void 0,ce=ie?window.navigator:void 0;function W(e){var t;const s=x(e);return(t=s?.$el)!=null?t:s}function O(...e){const t=[],s=()=>{t.forEach(n=>n()),t.length=0},f=(n,l,i,r)=>(n.addEventListener(l,i,r),()=>n.removeEventListener(l,i,r)),h=R(()=>{const n=k(x(e[0])).filter(l=>l!=null);return n.every(l=>typeof l!="string")?n:void 0}),c=me(()=>{var n,l;return[(l=(n=h.value)==null?void 0:n.map(i=>W(i)))!=null?l:[_].filter(i=>i!=null),k(x(h.value?e[1]:e[0])),k(Me(h.value?e[2]:e[1])),x(h.value?e[3]:e[2])]},([n,l,i,r])=>{if(s(),!n?.length||!l?.length||!i?.length)return;const u=Oe(r)?{...r}:r;t.push(...n.flatMap(p=>l.flatMap(o=>i.map(a=>f(p,o,a,u)))))},{flush:"post"}),d=()=>{c(),s()};return F(s),d}let se=!1;function Ye(e,t,s={}){const{window:f=_,ignore:h=[],capture:c=!0,detectIframe:d=!1,controls:n=!1}=s;if(!f)return n?{stop:H,cancel:H,trigger:H}:H;if(U&&!se){se=!0;const v={passive:!0};Array.from(f.document.body.children).forEach(w=>w.addEventListener("click",H,v)),f.document.documentElement.addEventListener("click",H,v)}let l=!0;const i=v=>x(h).some(w=>{if(typeof w=="string")return Array.from(f.document.querySelectorAll(w)).some(m=>m===v.target||v.composedPath().includes(m));{const m=W(w);return m&&(v.target===m||v.composedPath().includes(m))}});function r(v){const w=x(v);return w&&w.$.subTree.shapeFlag===16}function u(v,w){const m=x(v),y=m.$.subTree&&m.$.subTree.children;return y==null||!Array.isArray(y)?!1:y.some(M=>M.el===w.target||w.composedPath().includes(M.el))}const p=v=>{const w=W(e);if(v.target!=null&&!(!(w instanceof Element)&&r(e)&&u(e,v))&&!(!w||w===v.target||v.composedPath().includes(w))){if("detail"in v&&v.detail===0&&(l=!i(v)),!l){l=!0;return}t(v)}};let o=!1;const a=[O(f,"click",v=>{o||(o=!0,setTimeout(()=>{o=!1},0),p(v))},{passive:!0,capture:c}),O(f,"pointerdown",v=>{const w=W(e);l=!i(v)&&!!(w&&!v.composedPath().includes(w))},{passive:!0}),d&&O(f,"blur",v=>{setTimeout(()=>{var w;const m=W(e);((w=f.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!m?.contains(f.document.activeElement)&&t(v)},0)},{passive:!0})].filter(Boolean),g=()=>a.forEach(v=>v());return n?{stop:g,cancel:()=>{l=!1},trigger:v=>{l=!0,p(v),l=!1}}:g}function Ie(){const e=b(!1),t=ge();return t&&be(()=>{e.value=!0},t),e}function V(e){const t=Ie();return R(()=>(t.value,!!e()))}function Q(e,t,s={}){const{window:f=_,...h}=s;let c;const d=V(()=>f&&"MutationObserver"in f),n=()=>{c&&(c.disconnect(),c=void 0)},l=R(()=>{const p=x(e),o=k(p).map(W).filter(ae);return new Set(o)}),i=D(l,p=>{n(),d.value&&p.size&&(c=new MutationObserver(t),p.forEach(o=>c.observe(o,h)))},{immediate:!0,flush:"post"}),r=()=>c?.takeRecords(),u=()=>{i(),n()};return F(u),{isSupported:d,stop:u,takeRecords:r}}function Ae(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ke(...e){let t,s,f={};e.length===3?(t=e[0],s=e[1],f=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,s=e[0],f=e[1]):(t=e[0],s=e[1]):(t=!0,s=e[0]);const{target:h=_,eventName:c="keydown",passive:d=!1,dedupe:n=!1}=f,l=Ae(t);return O(h,c,r=>{r.repeat&&x(n)||l(r)&&s(r)},d)}const He=Symbol("vueuse-ssr-width");function fe(){const e=xe()?he(He,null):null;return typeof e=="number"?e:void 0}function Y(e,t={}){const{window:s=_,ssrWidth:f=fe()}=t,h=V(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function"),c=b(typeof f=="number"),d=b(),n=b(!1),l=i=>{n.value=i.matches};return ue(()=>{if(c.value){c.value=!h.value;const i=x(e).split(",");n.value=i.some(r=>{const u=r.includes("not all"),p=r.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),o=r.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let a=!!(p||o);return p&&a&&(a=f>=j(p[1])),o&&a&&(a=f<=j(o[1])),u?!a:a});return}h.value&&(d.value=s.matchMedia(x(e)),n.value=d.value.matches)}),O(d,"change",l,{passive:!0}),R(()=>n.value)}
1const Xe={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function Ve(e,t={}){function s(o,a){let g=x(e[x(o)]);return a!=null&&(g=we(g,a)),typeof g=="number"&&(g=`${g}px`),g}const{window:f=_,strategy:h="min-width",ssrWidth:c=fe()}=t,d=typeof c=="number",n=d?b(!1):{value:!0};d&&X(()=>n.value=!!f);function l(o,a){return!n.value&&d?o==="min"?c>=j(a):c<=j(a):f?f.matchMedia(`(${o}-width: ${a})`).matches:!1}const i=o=>Y(()=>`(min-width: ${s(o)})`,t),r=o=>Y(()=>`(max-width: ${s(o)})`,t),u=Object.keys(e).reduce((o,a)=>(Object.defineProperty(o,a,{get:()=>h==="min-width"?i(a):r(a),enumerable:!0,configurable:!0}),o),{});function p(){const o=Object.keys(e).map(a=>[a,u[a],j(s(a))]).sort((a,g)=>a[2]-g[2]);return R(()=>o.filter(([,a])=>a.value).map(([a])=>a))}return Object.assign(u,{greaterOrEqual:i,smallerOrEqual:r,greater(o){return Y(()=>`(min-width: ${s(o,.1)})`,t)},smaller(o){return Y(()=>`(max-width: ${s(o,-.1)})`,t)},between(o,a){return Y(()=>`(min-width: ${s(o)}) and (max-width: ${s(a,-.1)})`,t)},isGreater(o){return l("min",s(o,.1))},isGreaterOrEqual(o){return l("min",s(o))},isSmaller(o){return l("max",s(o,-.1))},isSmallerOrEqual(o){return l("max",s(o))},isInBetween(o,a){return l("min",s(o))&&l("max",s(a,-.1))},current:p,active(){const o=p();return R(()=>o.value.length===0?"":o.value.at(h==="min-width"?-1:0))}})}function re(e,t={}){const{controls:s=!1,navigator:f=ce}=t,h=V(()=>f&&"permissions"in f),c=b(),d=typeof e=="string"?{name:e}:e,n=b(),l=()=>{var r,u;n.value=(u=(r=c.value)==null?void 0:r.state)!=null?u:"prompt"};O(c,"change",l,{passive:!0});const i=ye(async()=>{if(h.value){if(!c.value)try{c.value=await f.permissions.query(d)}catch{c.value=void 0}finally{l()}if(s)return We(c.value)}});return i(),s?{state:n,isSupported:h,query:i}:n}function $e(e={}){const{navigator:t=ce,read:s=!1,source:f,copiedDuring:h=1500,legacy:c=!1}=e,d=V(()=>t&&"clipboard"in t),n=re("clipboard-read"),l=re("clipboard-write"),i=R(()=>d.value||c),r=b(""),u=b(!1),p=ve(()=>u.value=!1,h,{immediate:!1});async function o(){let m=!(d.value&&w(n.value));if(!m)try{r.value=await t.clipboard.readText()}catch{m=!0}m&&(r.value=v())}i.value&&s&&O(["copy","cut"],o,{passive:!0});async function a(m=x(f)){if(i.value&&m!=null){let y=!(d.value&&w(l.value));if(!y)try{await t.clipboard.writeText(m)}catch{y=!0}y&&g(m),r.value=m,u.value=!0,p.start()}}function g(m){const y=document.createElement("textarea");y.value=m??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function v(){var m,y,M;return(M=(y=(m=document?.getSelection)==null?void 0:m.call(document))==null?void 0:y.toString())!=null?M:""}function w(m){return m==="granted"||m==="prompt"}return{isSupported:i,text:r,copied:u,copy:a}}function J(e,t,s={}){const{window:f=_,...h}=s;let c;const d=V(()=>f&&"ResizeObserver"in f),n=()=>{c&&(c.disconnect(),c=void 0)},l=R(()=>{const u=x(e);return Array.isArray(u)?u.map(p=>W(p)):[W(u)]}),i=D(l,u=>{if(n(),d.value&&f){c=new ResizeObserver(t);for(const p of u)p&&c.observe(p,h)}},{immediate:!0,flush:"post"}),r=()=>{n(),i()};return F(r),{isSupported:d,stop:r}}function Ne(e,t={}){const{reset:s=!0,windowResize:f=!0,windowScroll:h=!0,immediate:c=!0,updateTiming:d="sync"}=t,n=b(0),l=b(0),i=b(0),r=b(0),u=b(0),p=b(0),o=b(0),a=b(0);function g(){const w=W(e);if(!w){s&&(n.value=0,l.value=0,i.value=0,r.value=0,u.value=0,p.value=0,o.value=0,a.value=0);return}const m=w.getBoundingClientRect();n.value=m.height,l.value=m.bottom,i.value=m.left,r.value=m.right,u.value=m.top,p.value=m.width,o.value=m.x,a.value=m.y}function v(){d==="sync"?g():d==="next-frame"&&requestAnimationFrame(()=>g())}return J(e,v),D(()=>W(e),w=>!w&&v()),Q(e,v,{attributeFilter:["style","class"]}),h&&O("scroll",v,{capture:!0,passive:!0}),f&&O("resize",v,{passive:!0}),X(()=>{c&&v()}),{height:n,bottom:l,left:i,right:r,top:u,width:p,x:o,y:a,update:v}}function je(e,t={width:0,height:0},s={}){const{window:f=_,box:h="content-box"}=s,c=R(()=>{var u,p;return(p=(u=W(e))==null?void 0:u.namespaceURI)==null?void 0:p.includes("svg")}),d=b(t.width),n=b(t.height),{stop:l}=J(e,([u])=>{const p=h==="border-box"?u.borderBoxSize:h==="content-box"?u.contentBoxSize:u.devicePixelContentBoxSize;if(f&&c.value){const o=W(e);if(o){const a=o.getBoundingClientRect();d.value=a.width,n.value=a.height}}else if(p){const o=k(p);d.value=o.reduce((a,{inlineSize:g})=>a+g,0),n.value=o.reduce((a,{blockSize:g})=>a+g,0)}else d.value=u.contentRect.width,n.value=u.contentRect.height},s);X(()=>{const u=W(e);u&&(d.value="offsetWidth"in u?u.offsetWidth:t.width,n.value="offsetHeight"in u?u.offsetHeight:t.height)});const i=D(()=>W(e),u=>{d.value=u?t.width:0,n.value=u?t.height:0});function r(){l(),i()}return{width:d,height:n,stop:r}}function Fe(e,t,s={}){const{root:f,rootMargin:h="0px",threshold:c=0,window:d=_,immediate:n=!0}=s,l=V(()=>d&&"IntersectionObserver"in d),i=R(()=>{const a=x(e);return k(a).map(W).filter(ae)});let r=H;const u=b(n),p=l.value?D(()=>[i.value,W(f),u.value],([a,g])=>
1{if(r(),!u.value||!a.length)return;const v=new IntersectionObserver(t,{root:W(g),rootMargin:h,threshold:c});a.forEach(w=>w&&v.observe(w)),r=()=>{v.disconnect(),r=H}},{immediate:n,flush:"post"}):H,o=()=>{r(),p(),u.value=!1};return F(o),{isSupported:l,isActive:u,pause(){r(),u.value=!1},resume(){u.value=!0},stop:o}}function G(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const le=1;function Ce(e,t={}){const{throttle:s=0,idle:f=200,onStop:h=H,onScroll:c=H,offset:d={left:0,right:0,top:0,bottom:0},observe:n={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:i="auto",window:r=_,onError:u=E=>{console.error(E)}}=t,p=typeof n=="boolean"?{mutation:n}:n,o=b(0),a=b(0),g=R({get(){return o.value},set(E){w(E,void 0)}}),v=R({get(){return a.value},set(E){w(void 0,E)}});function w(E,C){var T,$,N,q;if(!r)return;const L=x(e);if(!L)return;(N=L instanceof Document?r.document.body:L)==null||N.scrollTo({top:(T=x(C))!=null?T:v.value,left:($=x(E))!=null?$:g.value,behavior:x(i)});const P=((q=L?.document)==null?void 0:q.documentElement)||L?.documentElement||L;g!=null&&(o.value=P.scrollLeft),v!=null&&(a.value=P.scrollTop)}const m=b(!1),y=oe({left:!0,right:!1,top:!0,bottom:!1}),M=oe({left:!1,right:!1,top:!1,bottom:!1}),I=E=>{m.value&&(m.value=!1,M.left=!1,M.right=!1,M.top=!1,M.bottom=!1,h(E))},z=Re(I,s+f),S=E=>{var C;if(!r)return;const T=((C=E?.document)==null?void 0:C.documentElement)||E?.documentElement||W(E),{display:$,flexDirection:N,direction:q}=getComputedStyle(T),L=q==="rtl"?-1:1,P=T.scrollLeft;M.left=P<o.value,M.right=P>o.value;const Z=Math.abs(P*L)<=(d.left||0),ee=Math.abs(P*L)+T.clientWidth>=T.scrollWidth-(d.right||0)-le;$==="flex"&&N==="row-reverse"?(y.left=ee,y.right=Z):(y.left=Z,y.right=ee),o.value=P;let B=T.scrollTop;E===r.document&&!B&&(B=r.document.body.scrollTop),M.top=B<a.value,M.bottom=B>a.value;const te=Math.abs(B)<=(d.top||0),ne=Math.abs(B)+T.clientHeight>=T.scrollHeight-(d.bottom||0)-le;$==="flex"&&N==="column-reverse"?(y.top=ne,y.bottom=te):(y.top=te,y.bottom=ne),a.value=B},A=E=>{var C;if(!r)return;const T=(C=E.target.documentElement)!=null?C:E.target;S(T),m.value=!0,z(E),c(E)};return O(e,"scroll",s?Te(A,s,!0,!1):A,l),X(()=>{try{const E=x(e);if(!E)return;S(E)}catch(E){u(E)}}),p?.mutation&&e!=null&&e!==r&&e!==document&&Q(e,()=>{const E=x(e);E&&S(E)},{attributes:!0,childList:!0,subtree:!0}),O(e,"scrollend",I,l),{x:g,y:v,isScrolling:m,arrivedState:y,directions:M,measure(){const E=x(e);r&&E&&S(E)}}}function qe(e,t){const f=_e(new Map),h=(...r)=>JSON.stringify(r),c=(r,...u)=>(f.set(r,e(...u)),f.get(r)),d=(...r)=>c(h(...r),...r),n=(...r)=>{f.delete(h(...r))},l=()=>{f.clear()},i=(...r)=>{const u=h(...r);return f.has(u)?f.get(u):c(u,...r)};return i.load=d,i.delete=n,i.clear=l,i.generateKey=h,i.cache=f,i}const Le={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function Pe(e={}){const{type:t="page",touch:s=!0,resetOnTouchEnds:f=!1,initialValue:h={x:0,y:0},window:c=_,target:d=c,scroll:n=!0,eventFilter:l}=e;let i=null,r=0,u=0;const p=b(h.x),o=b(h.y),a=b(null),g=typeof t=="function"?t:Le[t],v=S=>{const A=g(S);i=S,A&&([p.value,o.value]=A,a.value="mouse"),c&&(r=c.scrollX,u=c.scrollY)},w=S=>{if(S.touches.length>0){const A=g(S.touches[0]);A&&([p.value,o.value]=A,a.value="touch")}},m=()=>{if(!i||!c)return;const S=g(i);i instanceof MouseEvent&&S&&(p.value=S[0]+c.scrollX-r,o.value=S[1]+c.scrollY-u)},y=()=>{p.value=h.x,o.value=h.y},M=l?S=>l(()=>v(S),{}):S=>v(S),I=l?S=>l(()=>w(S),{}):S=>w(S),z=l?()=>l(()=>m(),{}):()=>m();if(d){const S={passive:!0};O(d,["mousemove","dragover"],M,S),s&&t!=="movement"&&(O(d,["touchstart","touchmove"],I,S),f&&O(d,"touchend",y,S)),n&&t==="page"&&O(c,"scroll",z,S)}return{x:p,y:o,sourceType:a}}function Ge(e,t={}){const{windowResize:s=!0,windowScroll:f=!0,handleOutside:h=!0,window:c=_}=t,d=t.type||"page",{x:n,y:l,sourceType:i}=Pe(t),r=b(e??c?.document.body),u=b(0),p=b(0),o=b(0),a=b(0),g=b(0),v=b(0),w=b(!0);function m(){if(!c)return;const I=W(r);if(!I||!(I instanceof Element))return;const{left:z,top:S,width:A,height:E}=I.getBoundingClientRect();o.value=z+(d==="page"?c.pageXOffset:0),a.value=S+(d==="page"?c.pageYOffset:0),g.value=E,v.value=A;const C=n.value-o.value,T=l.value-a.value;w.value=A===0||E===0||C<0||T<0||C>A||T>E,(h||!w.value)&&(u.value=C,p.value=T)}const y=[];
1function M(){y.forEach(I=>I()),y.length=0}if(X(()=>{m()}),c){const{stop:I}=J(r,m),{stop:z}=Q(r,m,{attributeFilter:["style","class"]}),S=D([r,n,l],m);y.push(I,z,S),O(document,"mouseleave",()=>w.value=!0,{passive:!0}),f&&y.push(O("scroll",m,{capture:!0,passive:!0})),s&&y.push(O("resize",m,{passive:!0}))}return{x:n,y:l,sourceType:i,elementX:u,elementY:p,elementPositionX:o,elementPositionY:a,elementHeight:g,elementWidth:v,isOutside:w,stop:M}}function Ke(e){const t=Y("(prefers-reduced-motion: reduce)",e);return R(()=>t.value?"reduce":"no-preference")}function de(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const s=e.parentNode;return!s||s.tagName==="BODY"?!1:de(s)}}function De(e){const t=e||window.event,s=t.target;return de(s)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const K=new WeakMap;function Ue(e,t=!1){const s=b(t);let f=null,h="";D(pe(e),n=>{const l=G(x(n));if(l){const i=l;if(K.get(i)||K.set(i,i.style.overflow),i.style.overflow!=="hidden"&&(h=i.style.overflow),i.style.overflow==="hidden")return s.value=!0;if(s.value)return i.style.overflow="hidden"}},{immediate:!0});const c=()=>{const n=G(x(e));!n||s.value||(U&&(f=O(n,"touchmove",l=>{De(l)},{passive:!1})),n.style.overflow="hidden",s.value=!0)},d=()=>{const n=G(x(e));!n||!s.value||(U&&f?.(),n.style.overflow=h,K.delete(n),s.value=!1)};return F(d),R({get(){return s.value},set(n){n?c():d()}})}function Qe(e={}){const{window:t=_,...s}=e;return Ce(t,s)}function Je(e={}){const{window:t=_,initialWidth:s=Number.POSITIVE_INFINITY,initialHeight:f=Number.POSITIVE_INFINITY,listenOrientation:h=!0,includeScrollbar:c=!0,type:d="inner"}=e,n=b(s),l=b(f),i=()=>{if(t)if(d==="outer")n.value=t.outerWidth,l.value=t.outerHeight;else if(d==="visual"&&t.visualViewport){const{width:u,height:p,scale:o}=t.visualViewport;n.value=Math.round(u*o),l.value=Math.round(p*o)}else c?(n.value=t.innerWidth,l.value=t.innerHeight):(n.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};i(),X(i);const r={passive:!0};if(O("resize",i,r),t&&d==="visual"&&t.visualViewport&&O(t.visualViewport,"resize",i,r),h){const u=Y("(orientation: portrait)");D(u,()=>i())}return{width:n,height:l}}export{Ne as a,Je as b,Ye as c,Y as d,J as e,O as f,Fe as g,Ce as h,$e as i,Be as j,W as k,Ve as l,Xe as m,Qe as n,ke as o,je as p,Ge as q,qe as r,Ke as s,Ue as u};

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.