PageSourceSearch

https://gsk-china.com/_nuxt/DE_MmExY.js

js gsk-china.com collected 2026-10-02 10:22:31 UTC 5,309 bytes, 1 lines download raw bytes

1import{w as I,n as C,i as V,t as L,a as R,b as _,m as j,c as F,u as q,d as K,e as N}from"./_fjEa2xo.js";import{R as O,e as Q,X as U,r as E,a6 as B,d as T,V as P,o as z,a1 as D}from"./BVac8k8f.js";function Y(t={}){const{inheritAttrs:s=!0}=t,r=U(),a=P({setup(l,{slots:n}){return()=>{r.value=n.default}}}),u=P({inheritAttrs:s,setup(l,{attrs:n,slots:i}){return()=>{var h;r.value;const p=(h=r.value)==null?void 0:h.call(r,{...X(n),$slots:i});return s&&(p==null?void 0:p.length)===1?p[0]:p}}});return j({define:a,reuse:u},[a,u])}function X(t){const s={};for(const r in t)s[K(r)]=t[r];return s}function b(t){var s;const r=L(t);return(s=r==null?void 0:r.$el)!=null?s:r}const $=_?window:void 0,W=_?window.navigator:void 0;function g(...t){let s,r,a,u;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,a,u]=t,s=$):[s,r,a,u]=t,!s)return C;Array.isArray(r)||(r=[r]),Array.isArray(a)||(a=[a]);const l=[],n=()=>{l.forEach(m=>m()),l.length=0},i=(m,v,o,d)=>(m.addEventListener(v,o,d),()=>m.removeEventListener(v,o,d)),h=Q(()=>[b(s),L(u)],([m,v])=>{if(n(),!m)return;const o=V(v)?{...v}:v;l.push(...r.flatMap(d=>a.map(y=>i(m,d,y,o))))},{immediate:!0,flush:"post"}),p=()=>{h(),n()};return R(p),p}let M=!1;function Z(t,s,r={}){const{window:a=$,ignore:u=[],capture:l=!0,detectIframe:n=!1}=r;if(!a)return C;F&&!M&&(M=!0,Array.from(a.document.body.children).forEach(o=>o.addEventListener("click",C)),a.document.documentElement.addEventListener("click",C));let i=!0;const h=o=>u.some(d=>{if(typeof d=="string")return Array.from(a.document.querySelectorAll(d)).some(y=>y===o.target||o.composedPath().includes(y));{const y=b(d);return y&&(o.target===y||o.composedPath().includes(y))}}),m=[g(a,"click",o=>{const d=b(t);if(!(!d||d===o.target||o.composedPath().includes(d))){if(o.detail===0&&(i=!h(o)),!i){i=!0;return}s(o)}},{passive:!0,capture:l}),g(a,"pointerdown",o=>{const d=b(t);i=!h(o)&&!!(d&&!o.composedPath().includes(d))},{passive:!0}),n&&g(a,"blur",o=>{setTimeout(()=>{var d;const y=b(t);((d=a.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(y!=null&&y.contains(a.document.activeElement))&&s(o)},0)})].filter(Boolean);return()=>m.forEach(o=>o())}function G(){const t=E(!1),s=D();return s&&z(()=>{t.value=!0},s),t}function x(t){const s=G();return T(()=>(s.value,!!t()))}function ee(t,s={}){const{window:r=$}=s,a=x(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let u;const l=E(!1),n=p=>{l.value=p.matches},i=()=>{u&&("removeEventListener"in u?u.removeEventListener("change",n):u.removeListener(n))},h=B(()=>{a.value&&(i(),u=r.matchMedia(L(t)),"addEventListener"in u?u.addEventListener("change",n):u.addListener(n),l.value=u.matches)});return R(()=>{h(),i(),u=void 0}),l}function k(t,s={}){const{controls:r=!1,navigator:a=W}=s,u=x(()=>a&&"permissions"in a);let l;const n=typeof t=="string"?{name:t}:t,i=E(),h=()=>{l&&(i.value=l.state)},p=N(async()=>{if(u.value){if(!l)try{l=await a.permissions.query(n),g(l,"change",h),h()}catch{i.value="prompt"}return l}});return p(),r?{state:i,isSupported:u,query:p}:i}function te(t={}){const{navigator:s=W,read:r=!1,source:a,copiedDuring:u=1500,legacy:l=!1}=t,n=x(()=>s&&"clipboard"in s),i=k("clipboard-read"),h=k("clipboard-write"),p=T(()=>n.value||l),m=E(""),v=E(!1),o=q(()=>v.value=!1,u);function d(){n.value&&f(i.value)?s.clipboard.readText().then(e=>{m.value=e}):m.value=A()}p.value&&r&&g(["copy","cut"],d);async function y(e=L(a)){p.value&&e!=null&&(n.value&&f(h.value)?await s.clipboard.writeText(e):S(e),m.value=e,v.value=!0,o.start())}function S(e){const c=document.createElement("textarea");c.value=e??"",c.style.position="absolute",c.style.opacity="0",document.body.appendChild(c),c.select(),document.execCommand("copy"),c.remove()}function A(){var e,c,w;return(w=(c=(e=document==null?void 0:document.getSelection)==null?void 0:e.call(document))==null?void 0:c.toString())!=null?w:""}function f(e){return e==="granted"||e==="prompt"}return{isSupported:p,text:m,copied:v,copy:y}}function ne(t="history",s={}){const{initialValue:r={},removeNullishValues:a=!0,removeFalsyValues:u=!1,write:l=!0,window:n=$}=s;if(!n)return O(r);const i=O({});function h(){if(t==="history")return n.location.search||"";if(t==="hash"){const f=n.location.hash||"",e=f.indexOf("?");return e>0?f.slice(e):""}else return(n.location.hash||"").replace(/^#/,"")}function p(f){const e=f.toString();if(t==="history")return`${e?`?${e}`:""}${n.location.hash||""}`;if(t==="hash-params")return`${n.location.search||""}${e?`#${e}`:""}`;const c=n.location.hash||"#",w=c.indexOf("?");return w>0?`${c.slice(0,w)}${e?`?${e}`:""}`:`${c}${e?`?${e}`:""}`}function m(){return new URLSearchParams(h())}function v(f){const e=new Set(Object.keys(i));for(const c of f.keys()){const w=f.getAll(c);i[c]=w.length>1?w:f.get(c)||"",e.delete(c)}Array.from(e).forEach(c=>delete i[c])}const{pause:o,resume:d}=I(i,()=>{const f=new URLSearchParams("");
1Object.keys(i).forEach(e=>{const c=i[e];Array.isArray(c)?c.forEach(w=>f.append(e,w)):a&&c==null||u&&!c?f.delete(e):f.set(e,c)}),y(f)},{deep:!0});function y(f,e){o(),e&&v(f),n.history.replaceState(n.history.state,n.document.title,n.location.pathname+p(f)),d()}function S(){l&&y(m(),!0)}g(n,"popstate",S,!1),t!=="history"&&g(n,"hashchange",S,!1);const A=m();return A.keys().next().value?v(A):Object.assign(i,r),i}export{g as a,ee as b,Y as c,te as d,Z as o,ne 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.