PageSourceSearch

https://www.weleda.co.uk/_nuxt/CIlx93vF.js

js weleda.co.uk collected 2026-09-25 19:00:59 UTC 14,697 bytes, 1 lines download raw bytes

1import{n as L,t as j,a as Q,w as ce,p as Z,i as se,b as de,c as fe,u as ve,d as me,e as pe,f as k,g as he,h as ge,j as be,k as we,l as re}from"./C5O_NNo-.js";import{F as E,l as $,R as ye,T as I,p as N,U as ee,V as Y,n as Se,I as Ee,W as Te,Q as xe,X as Ie,E as Ae,Y as Me}from"./2fLglP_K.js";const C=se?window:void 0,le=se?window.navigator:void 0;function O(e){var n;const i=I(e);return(n=i?.$el)!==null&&n!==void 0?n:i}function W(...e){const n=(o,u,r,l)=>(o.addEventListener(u,r,l),()=>o.removeEventListener(u,r,l)),i=N(()=>{const o=k(I(e[0])).filter(u=>u!=null);return o.every(u=>typeof u!="string")?o:void 0});return de(()=>{var o,u;return[(o=(u=i.value)===null||u===void 0?void 0:u.map(r=>O(r)))!==null&&o!==void 0?o:[C].filter(r=>r!=null),k(I(i.value?e[1]:e[0])),k(Ae(i.value?e[2]:e[1])),I(i.value?e[3]:e[2])]},([o,u,r,l],v,d)=>{if(!o?.length||!u?.length||!r?.length)return;const a=ge(l)?{...l}:l,s=o.flatMap(t=>u.flatMap(b=>r.map(f=>n(t,b,f,a))));d(()=>{s.forEach(t=>t())})},{flush:"post"})}function Be(e,n,i={}){const{window:o=C,ignore:u=[],capture:r=!0,detectIframe:l=!1,controls:v=!1}=i;if(!o)return v?{stop:L,cancel:L,trigger:L}:L;let d=!0;const a=c=>I(u).some(m=>{if(typeof m=="string")return Array.from(o.document.querySelectorAll(m)).some(p=>p===c.target||c.composedPath().includes(p));{const p=O(m);return p&&(c.target===p||c.composedPath().includes(p))}});function s(c){const m=I(c);return m&&m.$.subTree.shapeFlag===16}function t(c,m){const p=I(c),A=p.$.subTree&&p.$.subTree.children;return A==null||!Array.isArray(A)?!1:A.some(R=>R.el===m.target||m.composedPath().includes(R.el))}const b=c=>{const m=O(e);if(c.target!=null&&!(!(m instanceof Element)&&s(e)&&t(e,c))&&!(!m||m===c.target||c.composedPath().includes(m))){if("detail"in c&&c.detail===0&&(d=!a(c)),!d){d=!0;return}n(c)}};let f=!1;const w=[W(o,"click",c=>{f||(f=!0,setTimeout(()=>{f=!1},0),b(c))},{passive:!0,capture:r}),W(o,"pointerdown",c=>{const m=O(e);d=!a(c)&&!!(m&&!c.composedPath().includes(m))},{passive:!0}),l&&W(o,"blur",c=>{setTimeout(()=>{const m=O(e);let p=o.document.activeElement;for(;p?.shadowRoot;)p=p.shadowRoot.activeElement;p?.tagName==="IFRAME"&&!m?.contains(o.document.activeElement)&&n(c)},0)},{passive:!0})].filter(Boolean),x=()=>w.forEach(c=>c());return v?{stop:x,cancel:()=>{d=!1},trigger:c=>{d=!0,b(c),d=!1}}:x}function Oe(){const e=E(!1),n=Ie();return n&&xe(()=>{e.value=!0},n),e}function B(e){const n=Oe();return N(()=>(n.value,!!e()))}function ue(e,n,i={}){const{window:o=C,...u}=i;let r;const l=B(()=>o&&"MutationObserver"in o),v=()=>{r&&(r.disconnect(),r=void 0)},d=$(N(()=>{const t=k(I(e)).map(O).filter(re);return new Set(t)}),t=>{v(),l.value&&t.size&&(r=new MutationObserver(n),t.forEach(b=>r.observe(b,u)))},{immediate:!0,flush:"post"}),a=()=>r?.takeRecords(),s=()=>{d(),v()};return Q(s),{isSupported:l,stop:s,takeRecords:a}}function te(e,n={}){const{immediate:i=!0,fpsLimit:o=null,window:u=C,once:r=!1}=n,l=E(!1),v=N(()=>{const f=I(o);return f?1e3/f:null});let d=0,a=null;function s(f){if(!l.value||!u)return;d||(d=f);const w=f-d;if(v.value&&w<v.value){a=u.requestAnimationFrame(s);return}if(d=f,e({delta:w,timestamp:f}),r){l.value=!1,a=null;return}a=u.requestAnimationFrame(s)}function t(){!l.value&&u&&(l.value=!0,d=0,a=u.requestAnimationFrame(s))}function b(){l.value=!1,a!=null&&u&&(u.cancelAnimationFrame(a),a=null)}return i&&t(),Q(b),{isActive:Y(l),pause:b,resume:t}}const Re=Symbol("vueuse-ssr-width");function _e(){const e=Te()?me(Re,null):null;return typeof e=="number"?e:void 0}function Ce(e,n={}){const{window:i=C,ssrWidth:o=_e()}=n,u=B(()=>i&&"matchMedia"in i&&typeof i.matchMedia=="function"),r=E(typeof o=="number"),l=E(),v=E(!1),d=a=>{v.value=a.matches};return ye(()=>{if(r.value){r.value=!u.value,v.value=I(e).split(",").some(a=>{const s=a.includes("not all"),t=a.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),b=a.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(t||b);return t&&f&&(f=o>=Z(t[1])),b&&f&&(f=o<=Z(b[1])),s?!f:f});return}u.value&&(l.value=i.matchMedia(I(e)),v.value=l.value.matches)}),W(l,"change",d,{passive:!0}),N(()=>v.value)}function ne(e,n={}){const{controls:i=!1,navigator:o=le}=n,u=B(()=>o&&"permissions"in o),r=E(),l=typeof e=="string"?{name:e}:e,v=E(),d=()=>{var s,t;v.value=(s=(t=r.value)===null||t===void 0?void 0:t.state)!==null&&s!==void 0?s:"prompt"};W(r,"change",d,{passive:!0});const a=he(async()=>
1{if(u.value){if(!r.value)try{r.value=await o.permissions.query(l)}catch{r.value=void 0}finally{d()}if(i)return Me(r.value)}});return a(),i?{state:v,isSupported:u,query:a}:v}function je(e={}){const{navigator:n=le,read:i=!1,source:o,copiedDuring:u=1500,legacy:r=!1}=e,l=B(()=>n&&"clipboard"in n),v=ne("clipboard-read"),d=ne("clipboard-write"),a=N(()=>l.value||r),s=E(""),t=E(!1),b=E(!1),f=ve(()=>t.value=!1,u,{immediate:!1});let w=0;async function x(){let T=!(l.value&&R(v.value));if(!T)try{s.value=await n.clipboard.readText()}catch{T=!0}T&&(s.value=A())}a.value&&i&&W(["copy","cut"],x,{passive:!0});async function c(T){const S=T??I(o);if(a.value&&S!=null){b.value=!0;let _=!(l.value&&R(d.value));if(!_)try{const P=m(S);await n.clipboard.write([P])}catch{_=!0}if(_)if(typeof S=="string")s.value=S,p(S);else{const P=++w,h=await S();h!=null&&P===w&&(s.value=h,p(h))}t.value=!0,f.start(),b.value=!1}}function m(T){return typeof T=="string"?(s.value=T,new ClipboardItem({"text/plain":T})):new ClipboardItem({"text/plain":T().then((S="")=>(s.value=S,new Blob([S],{type:"text/plain"})))})}function p(T){const S=document.createElement("textarea");S.value=T,S.style.position="absolute",S.style.opacity="0",S.setAttribute("readonly",""),document.body.appendChild(S),S.select(),document.execCommand("copy"),S.remove()}function A(){var T,S,_;return(T=(S=document)===null||S===void 0||(_=S.getSelection)===null||_===void 0||(_=_.call(S))===null||_===void 0?void 0:_.toString())!==null&&T!==void 0?T:""}function R(T){return T==="granted"||T==="prompt"}return{copyPending:Y(b),isSupported:a,text:Y(s),copied:Y(t),copy:c}}const q=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},J="__vueuse_ssr_handlers__",We=Ve();function Ve(){return J in q||(q[J]=q[J]||{}),q[J]}function Fe(e,n){return We[e]||n}function Ne(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ze={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},oe="vueuse-storage";function Pe(e,n,i,o={}){var u;const{flush:r="pre",deep:l=!0,listenToStorageChanges:v=!0,writeDefaults:d=!0,mergeDefaults:a=!1,shallow:s,window:t=C,eventFilter:b,onError:f=g=>{},initOnMounted:w}=o,x=(s?E:Se)(n),c=N(()=>I(e));if(!i)try{i=Fe("getDefaultStorage",()=>C?.localStorage)()}catch(g){f(g)}if(!i)return x;const m=I(n),p=Ne(m),A=(u=o.serializer)!==null&&u!==void 0?u:ze[p],{pause:R,resume:T}=fe(x,g=>z(g),{flush:r,deep:l,eventFilter:b});$(c,()=>F(),{flush:r});let S=!1;const _=g=>{w&&!S||F(g)},P=g=>{w&&!S||D(g)};t&&v&&(i instanceof Storage?W(t,"storage",_,{passive:!0}):W(t,oe,P)),w?j(()=>{S=!0,F()}):F();function h(g,y){if(t){const M={key:c.value,oldValue:g,newValue:y,storageArea:i};t.dispatchEvent(i instanceof Storage?new StorageEvent("storage",M):new CustomEvent(oe,{detail:M}))}}function z(g){try{const y=i.getItem(c.value);if(g==null)h(y,null),i.removeItem(c.value);else{const M=A.write(g);y!==M&&(i.setItem(c.value,M),h(y,M))}}catch(y){f(y)}}function V(g){const y=g?g.newValue:i.getItem(c.value);if(y==null)return d&&m!=null&&i.setItem(c.value,A.write(m)),m;if(!g&&a){const M=A.read(y);return typeof a=="function"?a(M,m):p==="object"&&!Array.isArray(M)?{...m,...M}:M}else return typeof y!="string"?y:A.read(y)}function F(g){if(!(g&&g.storageArea!==i)){if(g&&g.key==null){x.value=m;return}if(!(g&&g.key!==c.value)){R();try{const y=A.write(x.value);(g===void 0||g?.newValue!==y)&&(x.value=V(g))}catch(y){f(y)}finally{g?Ee(T):T()}}}}function D(g){F(g.detail)}return x}function ae(e,n,i={}){const{window:o=C,...u}=i;let r;const l=B(()=>o&&"ResizeObserver"in o),v=()=>{r&&(r.disconnect(),r=void 0)},d=$(N(()=>{const s=I(e);return Array.isArray(s)?s.map(t=>O(t)):[O(s)]}),s=>{if(v(),l.value&&o){r=new ResizeObserver(n);for(const t of s)t&&r.observe(t,u)}},{immediate:!0,flush:"post"}),a=()=>{v(),d()};return Q(a),{isSupported:l,stop:a}}function qe(e,n={}){const{reset:i=!0,windowResize:o=!0,windowScroll:u=!0,immediate:r=!0,updateTiming:l="sync"}=n,v=E(0),d=E(0),a=E(0),s=E(0),t=E(0),b=E(0),f=E(0),w=E(0);function x(){const m=O(e);if(!m){i&&(v.value=0,d.value=0,a.value=0,s.value=0,t.value=0,b.value=0,f.value=0,w.value=0);return}const p=m.getBoundingClientRect();v.value=p.height,d.value=p.bottom,a.value=p.left,s.value=p.right,t.value=p.top,b.value=p.width,f.value=p.x,w.value=p.y}function c(){l==="sync"?x():l==="next-frame"&&requestAnimationFrame(()=>x())}return ae(e,c),$(()=>O(e),m=>!m&&c()),ue(e,c,{attributeFilter:["style","class"]}),u&&W("scroll",c,{capture:!0,passive:!0}),o&&W("resize",c,{passive:!0}),j(()=>{r&&c()}
1),{height:v,bottom:d,left:a,right:s,top:t,width:b,x:f,y:w,update:c}}function Je(e,n={width:0,height:0},i={}){const{window:o=C,box:u="content-box"}=i,r=N(()=>{var t;return(t=O(e))===null||t===void 0||(t=t.namespaceURI)===null||t===void 0?void 0:t.includes("svg")}),l=E(n.width),v=E(n.height),{stop:d}=ae(e,([t])=>{const b=u==="border-box"?t.borderBoxSize:u==="content-box"?t.contentBoxSize:t.devicePixelContentBoxSize;if(o&&r.value){const f=O(e);if(f){const w=f.getBoundingClientRect();l.value=w.width,v.value=w.height}}else if(b){const f=k(b);l.value=f.reduce((w,{inlineSize:x})=>w+x,0),v.value=f.reduce((w,{blockSize:x})=>w+x,0)}else l.value=t.contentRect.width,v.value=t.contentRect.height},i);j(()=>{const t=O(e);t&&(l.value="offsetWidth"in t?t.offsetWidth:n.width,v.value="offsetHeight"in t?t.offsetHeight:n.height)});const a=$(()=>O(e),t=>{l.value=t?n.width:0,v.value=t?n.height:0});function s(){d(),a()}return{width:l,height:v,stop:s}}function Le(e,n,i={}){const{root:o,rootMargin:u,threshold:r=0,window:l=C,immediate:v=!0}=i,d=B(()=>l&&"IntersectionObserver"in l),a=N(()=>k(I(e)).map(O).filter(re));let s=L;const t=E(v),b=d.value?$(()=>[a.value,O(o),I(u),t.value],([w,x,c])=>{if(s(),!t.value||!w.length)return;const m=new IntersectionObserver(n,{root:O(x),rootMargin:c,threshold:r});w.forEach(p=>p&&m.observe(p)),s=()=>{m.disconnect(),s=L}},{immediate:v,flush:"post"}):L,f=()=>{s(),b(),t.value=!1};return Q(f),{isSupported:d,isActive:t,pause(){s(),t.value=!1},resume(){t.value=!0},stop:f}}function Ye(e,n={}){const{window:i=C,scrollTarget:o,threshold:u=0,rootMargin:r,once:l=!1,initialValue:v=!1}=n,d=E(v),a=Le(e,s=>{let t=d.value,b=0;for(const f of s)f.time>=b&&(b=f.time,t=f.isIntersecting);d.value=t,l&&ce(d,()=>{a.stop()})},{root:o,window:i,threshold:u,rootMargin:r});return n.controls?{...a,isVisible:d}:d}const ie=1;function De(e,n={}){const{throttle:i=0,idle:o=200,onStop:u=L,onScroll:r=L,offset:l={left:0,right:0,top:0,bottom:0},observe:v={mutation:!1},eventListenerOptions:d={capture:!1,passive:!0},behavior:a="auto",window:s=C,onError:t=h=>{}}=n,b=typeof v=="boolean"?{mutation:v}:v,f=E(0),w=E(0),x=N({get(){return f.value},set(h){m(h,void 0)}}),c=N({get(){return w.value},set(h){m(void 0,h)}});function m(h,z){var V,F,D,g;if(!s)return;const y=I(e);if(!y)return;(V=y instanceof Document?s.document.body:y)===null||V===void 0||V.scrollTo({top:(F=I(z))!==null&&F!==void 0?F:c.value,left:(D=I(h))!==null&&D!==void 0?D:x.value,behavior:I(a)});const M=(y==null||(g=y.document)===null||g===void 0?void 0:g.documentElement)||y?.documentElement||y;x!=null&&(f.value=M.scrollLeft),c!=null&&(w.value=M.scrollTop)}const p=E(!1),A=ee({left:!0,right:!1,top:!0,bottom:!1}),R=ee({left:!1,right:!1,top:!1,bottom:!1}),T=h=>{p.value&&(p.value=!1,R.left=!1,R.right=!1,R.top=!1,R.bottom=!1,u(h))},S=we(T,i+o),_=h=>{var z;if(!s)return;const V=(h==null||(z=h.document)===null||z===void 0?void 0:z.documentElement)||h?.documentElement||O(h),{display:F,flexDirection:D,direction:g}=s.getComputedStyle(V),y=g==="rtl"?-1:1,M=V.scrollLeft;R.left=M<f.value,R.right=M>f.value;const X=Math.abs(M*y)<=(l.left||0),U=Math.abs(M*y)+V.clientWidth>=V.scrollWidth-(l.right||0)-ie;F==="flex"&&D==="row-reverse"?(A.left=U,A.right=X):(A.left=X,A.right=U),f.value=M;let H=V.scrollTop;h===s.document&&!H&&(H=s.document.body.scrollTop),R.top=H<w.value,R.bottom=H>w.value;const G=Math.abs(H)<=(l.top||0),K=Math.abs(H)+V.clientHeight>=V.scrollHeight-(l.bottom||0)-ie;F==="flex"&&D==="column-reverse"?(A.top=K,A.bottom=G):(A.top=G,A.bottom=K),w.value=H},P=h=>{var z;s&&(_((z=h.target.documentElement)!==null&&z!==void 0?z:h.target),p.value=!0,S(h),r(h))};return W(e,"scroll",i?be(P,i,!0,!1):P,d),j(()=>{try{const h=I(e);if(!h)return;_(h)}catch(h){t(h)}}),b?.mutation&&e!=null&&e!==s&&e!==document&&ue(e,()=>{const h=I(e);h&&_(h)},{attributes:!0,childList:!0,subtree:!0}),W(e,"scrollend",T,d),{x,y:c,isScrolling:p,arrivedState:A,directions:R,measure(){const h=I(e);s&&h&&_(h)}}}function He(e){if("interval"in e||"immediate"in e){const{interval:n="requestAnimationFrame",immediate:i=!0}=e;return n==="requestAnimationFrame"?o=>te(o,{immediate:i}):o=>pe(o,n,e)}return te}function Qe(e={}){const{controls:n=!1,scheduler:i=He(e)}=e,o=E(new Date),r=i(()=>o.value=new Date);return n?{now:o,...r}:o}function Xe(e,n,i={}){const{window:o=C}=i;return Pe(e,n,o?.sessionStorage,i)}function Ue(e={}){const{window:n=C,...i}=e;return De(n,i)}function Ge(e={}){const{window:n=C,initialWidth:i=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:u=!0,includeScrollbar:r=!0,type:l="inner"}=e,v=E(i),d=E(o),a=()=>
1{if(n)if(l==="outer")v.value=n.outerWidth,d.value=n.outerHeight;else if(l==="visual"&&n.visualViewport){const{width:t,height:b,scale:f}=n.visualViewport;v.value=Math.round(t*f),d.value=Math.round(b*f)}else r?(v.value=n.innerWidth,d.value=n.innerHeight):(v.value=n.document.documentElement.clientWidth,d.value=n.document.documentElement.clientHeight)};a(),j(a);const s={passive:!0};return W("resize",a,s),n&&l==="visual"&&n.visualViewport&&W(n.visualViewport,"resize",a,s),u&&$(Ce("(orientation: portrait)"),()=>a()),{width:v,height:d}}export{Le as a,je as b,Qe as c,Je as d,Xe as e,W as f,qe as g,Ue as h,Ye as i,Ce as j,Be as o,Ge 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.