PageSourceSearch

https://www.weleda.at/_nuxt/ZoC9Meah.js

js weleda.at collected 2026-10-02 13:01:07 UTC 6,499 bytes, 1 lines download raw bytes

1import{bo as k,bp as $,Q as R,a0 as E,l as A,$ as _,n as P,X as H,a6 as L,O as N,v,bq as T,br as j,bs as M,bt as O}from"./weQc1KCP.js";function W(r={}){const s=[];let u=-1;const e=(t=!1)=>({get(i,f,l){if(!t){const a=Reflect.get(i,f,l);if(typeof a<"u")return a;u++,s[u]=[]}return s[u].push({type:"get",key:f}),new Proxy(()=>{},e(!0))},apply(i,f,l){s[u].push({type:"apply",key:"",args:l})}});return{proxy:new Proxy(r||{},e()),stack:s}}function q(r){const s={get(u,e,t){const i=Reflect.get(u,e,t);return typeof i=="object"?new Proxy(i,s):i},apply(u,e,t){Reflect.apply(u,e,t)}};return new Proxy(r,s)}function I(r,s){s.forEach(u=>{let e=r,t=r;u.forEach(({type:i,key:f,args:l})=>{i==="get"?(t=e,e=e[f]):i==="apply"&&(e=e.call(t,...l))})})}function D(r){return r.key||r.src||(typeof r.innerHTML=="string"?r.innerHTML:"")}const F=["preconnect","dns-prefetch"];function K(r,s,u){const e=typeof s=="string"?{src:s}:s,t=u||{},i=D(e),f=r._scripts?.[i];if(f)return f.setupTriggerHandler(t.trigger),f;t.beforeInit?.();const l=o=>{n.status=o,r.hooks.callHook("script:updated",C)};
1k.forEach(o=>{const c=o,g=typeof e[c]=="function"?e[c].bind(t.eventContext):null;e[c]=p=>{l(o==="onload"?"loaded":o==="onerror"?"error":"loading"),g?.(p)}});const a={loaded:[],error:[]},d=new Set,h=(o,c,g)=>{if(!r.ssr){if(g?.key){const p=`${g?.key}:${g.key}`;if(d.has(p))return;d.add(p)}if(a[o]){const p=a[o].push(c);return()=>a[o]?.splice(p-1,1)}return c(n.instance),()=>{}}},m=new Promise(o=>{if(r.ssr)return;const c=p=>requestAnimationFrame(()=>o(p)),g=r.hooks.hook("script:updated",({script:p})=>{const y=p.status;if(p.id===i&&(y==="loaded"||y==="error")){if(y==="loaded")if(typeof t.use=="function"){const w=t.use();w&&c(w)}else c({});else y==="error"&&o(!1);g()}})}),n={_loadPromise:m,instance:!r.ssr&&t?.use?.()||null,proxy:null,id:i,status:"awaitingLoad",remove(){return n._triggerAbortControllers?.forEach(o=>o.abort()),n._triggerAbortControllers?.clear(),n._triggerPromises=[],n._warmupEl?.dispose(),n.entry?(n.entry.dispose(),n.entry=void 0,l("removed"),delete r._scripts?.[i],!0):!1},warmup(o){const{src:c}=e,g=!c.startsWith("/")||c.startsWith("//"),p=o&&F.includes(o);let y=c;if(!o||p&&!g)return;if(p){const b=new URL(c);y=`${b.protocol}//${b.host}`}const w={href:y,rel:o,crossorigin:typeof e.crossorigin<"u"?e.crossorigin:g?"anonymous":void 0,referrerpolicy:typeof e.referrerpolicy<"u"?e.referrerpolicy:g?"no-referrer":void 0,fetchpriority:typeof e.fetchpriority<"u"?e.fetchpriority:"low",integrity:e.integrity,as:o==="preload"?"script":void 0};return n._warmupEl=r.push({link:[w]},{head:r,tagPriority:"high"}),n._warmupEl},load(o){if(n._triggerAbortControllers?.forEach(c=>c.abort()),n._triggerAbortControllers?.clear(),n._triggerPromises=[],!n.entry){l("loading");const c={defer:!0,fetchpriority:"low"};e.src&&(e.src.startsWith("http")||e.src.startsWith("//"))&&(c.crossorigin="anonymous",c.referrerpolicy="no-referrer"),n.entry=r.push({script:[{...c,...e}]},t)}return o&&h("loaded",o),m},onLoaded(o,c){return h("loaded",o,c)},onError(o,c){return h("error",o,c)},setupTriggerHandler(o){if(n.status==="awaitingLoad")if((typeof o>"u"||o==="client")&&!r.ssr||o==="server")n.load();else if(o instanceof Promise){if(r.ssr)return;const c=new AbortController;n._triggerAbortControllers=n._triggerAbortControllers||new Set,n._triggerAbortControllers.add(c);const g=new Promise(y=>{c.signal.addEventListener("abort",()=>{n._triggerAbortControllers?.delete(c),y()})});n._triggerAbortController=c,n._triggerPromises=n._triggerPromises||[];const p=n._triggerPromises.push(Promise.race([o.then(y=>typeof y>"u"||y?n.load:void 0),g]).catch(()=>{}).then(y=>{y?.()}).finally(()=>{n._triggerPromises?.splice(p,1)}))}else typeof o=="function"&&o(n.load)},_cbs:a};m.then(o=>{o!==!1?(n.instance=o,a.loaded?.forEach(c=>c(o)),a.loaded=null):(a.error?.forEach(c=>c()),a.error=null)});const C={script:n};if(n.setupTriggerHandler(t.trigger),t.use){const{proxy:o,stack:c}=W(r.ssr?{}:t.use()||{});n.proxy=o,n.onLoaded(g=>{I(g,c),n.proxy=q(g)})}return!t.warmupStrategy&&(typeof t.trigger>"u"||t.trigger==="client")&&(t.warmupStrategy="preload"),t.warmupStrategy&&n.warmup(t.
1warmupStrategy),r._scripts=Object.assign(r._scripts||{},{[i]:n}),n}function J(r,s){if(!s)return;const u=(t,i)=>{if(!r._cbs[t])return i(r.instance),()=>{};let f=r._cbs[t].push(i);const l=()=>{f&&(r._cbs[t]?.splice(f-1,1),f=null)};return _(l),l};r.onLoaded=t=>u("loaded",t),r.onError=t=>u("error",t);const e=r._triggerAbortController;_(()=>{e?.abort()})}function x(r,s){const u=typeof r=="string"?{src:r}:r,e=s||{},t=e?.head||$();e.head=t;const i=H();if(e.eventContext=i,i&&typeof e.trigger>"u")e.trigger=R;else if(E(e.trigger)||typeof e.trigger=="function"&&e.trigger.length===0){const l=e.trigger;let a;e.trigger=new Promise(d=>{a=A(l,h=>{h&&d(!0)},{immediate:!0}),_(()=>d(!1),!0)}).then(d=>(a?.(),d))}t._scriptStatusWatcher=t._scriptStatusWatcher||t.hooks.hook("script:updated",({script:l})=>{l._statusRef&&(l._statusRef.value=l.status)});const f=K(t,u,e);return f._statusRef=f._statusRef||P(f.status),J(f,i),new Proxy(f,{get(l,a,d){return Reflect.get(l,a==="status"?"_statusRef":a,d)}})}function Q(r){return null}function S(r){r.$scripts||(r.$scripts={})}function U(){return O().public["nuxt-scripts"]}function V(r){return r.key||r.src||(typeof r.innerHTML=="string"?r.innerHTML:"")}function z(r,s){if(r=typeof r=="string"?{src:r}:r,s=L(s,U()?.defaultScriptOptions),s.partytown){const a=r.src;if(!a)throw new Error("useScript with partytown requires a src");N({script:[{src:a,type:"text/partytown"}]});const d=v();S(d);const h=P("loaded"),m={id:a,status:h,load:()=>Promise.resolve({}),remove:()=>!1,entry:void 0};return d.$scripts[a]=m,m}s.trigger&&typeof s.trigger=="object"&&!("then"in s.trigger)&&Q(s.trigger);const u=v(),e=String(V(r));if(s.head=s.head||T(),!s.head)throw new Error("useScript() has been called without Nuxt context.");s.head.hooks,S(u),u.$scripts?.[e];const t=s._validate?.();(s.trigger==="onNuxtReady"||s.trigger==="client")&&(s.warmupStrategy||(s.warmupStrategy="preload"),s.trigger==="onNuxtReady"&&(s.trigger=j));const i=x(r,s),f=i.remove;i.remove=()=>(u.$scripts[e]=void 0,f());const l=i.load;return i.load=async()=>t?Promise.reject(t):l(),i.reload=async()=>{i.remove();const a=typeof r=="string"?{src:r,key:`${e}-${Date.now()}`}:{...r,key:`${e}-${Date.now()}`},d=x(a,{...s,trigger:"client"});return Object.assign(i,{status:d.status,entry:d.entry}),d.load()},u.$scripts[e]=i,M(i),i.toJSON=()=>({id:i.id,status:i.status.value}),i}export{z 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.