PageSourceSearch

https://www.storexppen.sg/_nuxt/BnyBOTcy.js

js storexppen.sg collected 2026-09-28 10:41:26 UTC 29,911 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./GANfPR_Q.js","./Deie1YYH.js","./Bdsq-2Hc.js","./BHyX0zGx.js","./BFU_sm0N.js","./entry.qMaPnK2u.css","./DzfRu6lQ.js","./hV5BZvcf.js","./C5AY_amu.js","./CZ9w5ngk.js","./ZNc5PjZr.js","./DPjQhL7z.js","./CKbJSpm8.js","./index.BJDjTz-Q.css","./order.SGDB8GG3.css","./BuIU4M7K.js","./index.azlZmD2w.css","./Result.1QFFYf0n.css","./PaymentRiskControlFail.B64W-qGN.css","./index.BsoSh4LY.css","./ClEn5SkI.js","./NumberFieldInput.BdNI_USw.css","./Dy7LalTF.js","./StoreSiteSwitch.B9M_r6hg.css","./CZHOnaNv.js","./D5xziSVP.js","./index.My_WA-NL.css","./assetSizeHints.BCC4ZQ6M.css","./Bl9z7Pne.js","./BBHFXknx.js","./Badge.DdVID2I5.css","./default.C4ZN1EiA.css","./MobileNavMenu.DbfVPEnL.css"])))=>i.map(i=>d[i]);
2var Y=(n,w,s)=>new Promise((h,i)=>{var r=a=>{try{f(s.next(a))}catch(_){i(_)}},u=a=>{try{f(s.throw(a))}catch(_){i(_)}},f=a=>a.done?h(a.value):Promise.resolve(a.value).then(r,u);f((s=s.apply(n,w)).next())});import{_ as Ke,u as Ve,d as Fe,e as je,f as qe}from"./DzfRu6lQ.js";import{i as pe,d as A,a4 as xe,Y as c,K as t,N as L,L as z,a5 as te,u as S,R as e,m as p,f as G,n as se,o as Te,J as F,O as T,a6 as Xe,F as U,z as we,W as Me,S as E,a3 as q,U as ge,M as ue,Z as Q,q as Z,C as Le,p as be,T as Ee,ag as Ye,ae as Ie,V as Ge,a7 as Je}from"./Bdsq-2Hc.js";import{_ as X,d as ye,h as ne,r as de,s as ke,c as Qe,f as ve,w as Ae,b as Re,k as He,T as Ze,ai as et,u as tt,aj as nt,x as at,X as st,ak as Ce,al as ot,am as lt,an as it,e as rt}from"./Deie1YYH.js";import{d as Ne}from"./hV5BZvcf.js";import{b as ct}from"./Bl9z7Pne.js";import{o as ut,c as dt}from"./CZHOnaNv.js";(function(){try{var n=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};n.SENTRY_RELEASE={id:"90e6ae45135811f53903a6406dd98a720cc380a5"};var w=new n.Error().stack;w&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[w]="cc4a849c-4c8f-413a-a605-c9eb43c55800",n._sentryDebugIdIdentifier="sentry-dbid-cc4a849c-4c8f-413a-a605-c9eb43c55800")}catch(s){}})();const vt={class:"nav_logo"},_t={key:0,class:"img_mobile",width:"32px",height:"32px",border:"0",alt:"image"},ht={key:1,class:"img_mobile",width:"32px",height:"32px",border:"0",alt:"image"},mt={border:"0",width:"",height:"",alt:"image"},ft={__name:"NavbarLogo",setup(n){const{shouldShow:w}=ye(),s=pe("globalStore"),h=A(()=>{var u;return((u=s.siteInfo)==null?void 0:u.logo)||""}),i=A(()=>{var u;return((u=s.siteInfo)==null?void 0:u.logo_mobile)||""}),r=A(()=>"https://resource.xp-pen.com/img/xppen/xppenMobileLogoWhite.png");return(u,f)=>{const a=ne,_=xe("lazy");return t(),c("div",vt,[L(a,{href:"/","aria-label":"link"},{default:z(()=>[S(w)("HeaderLogoWhite")?te((t(),c("img",_t,null,512)),[[_,r.value]]):te((t(),c("img",ht,null,512)),[[_,i.value]]),te(e("img",mt,null,512),[[_,h.value]])]),_:1})])}}},pt=X(ft,[["__scopeId","data-v-acd80486"]]),gt=Xe(()=>Qe(()=>import("./GANfPR_Q.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]),import.meta.url).then(n=>n.default||n)),yt={class:"mobile_navtoggle",id:"mobile_navtoggle"},bt={__name:"MobileToggle",setup(n){const w=de(),{isMobile:s}=ke(w),h=pe("mainHeaderShowSearch",null),i=p(!1),r=p(!1),u=()=>{i.value||(r.value=!0),i.value=!i.value},f=()=>{i.value=!1},a=()=>{typeof window!="undefined"&&window.innerWidth>1024&&f()};return G(s,_=>{_||f()}),G(()=>h==null?void 0:h.value,_=>{_&&f()}),se(()=>{window.addEventListener("resize",a)}),Te(()=>{window.removeEventListener("resize",a)}),(_,m)=>{const o=gt;return t(),c(U,null,[e("div",yt,[e("button",{type:"button",class:"mobile_navtoggle__btn navbar-toggler","aria-label":"toggle mobile menu",onClick:m[0]||(m[0]=y=>u())},m[1]||(m[1]=[e("i",{class:"iconfont icon-a-SystemIcons-15"},null,-1)]))]),r.value?(t(),F(o,{key:0,visible:i.value,onClose:f},null,8,["visible"])):T("",!0)],64)}}},wt=X(bt,[["__scopeId","data-v-a2bbc796"]]),kt={class:"navbar_right_content"},St={class:"navbar_right member"},$t={class:"navmenu_hover navbar_right_cart nav_carts",id:"nav_carts"}
2,Mt={class:"iconfont icon-a-SystemIcons-35",id:"cart_icon"},Ct={class:"mb-2"},xt=["id"],Tt={key:1,class:"cursor-pointer"},Lt=["src"],Et={class:"bg-white shadow-lg lg:rounded-md p-[16px] w-full lg:w-[274px] border border-gray-100 flex flex-col gap-3"},It={class:"w-full bg-white border border-black text-black py-[12px] rounded text-sm text-center hover:bg-gray-50 transition"},At={class:"text-[14px] text-[rgba(0,0,0,1)] text-center mt-1"},Rt={__name:"NavActions",emits:["toggleSearch"],setup(n,{emit:w}){const{t:s}=ve(),{shouldShow:h}=ye(),i=Ae(),r=de(),u=Ne(),f=Re(),{isMobile:a}=ke(r),_=A(()=>f.is_new_after_sales),m=A(()=>Number(u.cartCount)||0),o=A(()=>_.value===!0),y=p(!1),g=p(null),x=()=>{y.value=!y.value},W=H=>{!o.value||!y.value||g.value&&!g.value.contains(H.target)&&(y.value=!1)},O=p(!1);function R(H){H.stopPropagation(),O.value=!O.value}function C(){O.value=!1}function J(H){var D,K;if(!O.value)return;const b=H==null?void 0:H.target;(D=b==null?void 0:b.closest)!=null&&D.call(b,".nav_currency")||(K=b==null?void 0:b.closest)!=null&&K.call(b,".nav_currency_select_content")||C()}se(()=>{document.addEventListener("click",W),window.addEventListener("pointerdown",J)}),we(()=>{document.removeEventListener("click",W),window.removeEventListener("pointerdown",J)});const B=w,{$track:M}=He();function P(){B("toggleSearch"),M("SearchStart")}return(H,b)=>{const D=ct,K=ne;return t(),c("div",kt,[e("div",St,[e("div",{class:"menu-search",onClick:P},b[4]||(b[4]=[e("i",{class:"iconfont icon-a-SystemIcons-36"},null,-1)])),e("div",$t,[L(K,{href:"/cart",class:"shownavcart","aria-label":"link"},{default:z(()=>[e("i",Mt,[L(D,{count:m.value,class:"icon_cart_num"},null,8,["count"])])]),_:1})]),S(h)("MultiCurrencyFeature")?(t(),c("div",{key:0,class:"navmenu_hover nav_currency xl:flex hidden",onClick:Me(R,["stop"])},[b[5]||(b[5]=e("i",{class:"iconfont icon-a-SystemIcons-25"},null,-1)),O.value?(t(),c("div",{key:0,class:"nav_currency_dropdown",onClick:b[0]||(b[0]=Me(()=>{},["stop"]))},[e("p",Ct,E(S(s)("LOCATION"))+":",1),L(Ke,{"trigger-class":"nav_currency_select_trigger","content-class":"nav_currency_select_content z-[1000]"})])):T("",!0)])):T("",!0),e("div",{class:"navmenu_hover navbar_right_account group relative",id:o.value?"nav_accounts":"nav_accounts_old",ref:o.value?"accountRef":void 0},[S(r).isLogin?T("",!0):(t(),c("i",{key:0,class:"iconfont icon-a-SystemIcons-34 cursor-pointer",onClick:b[1]||(b[1]=k=>o.value&&S(a)?x():S(i).redirectToLogin())})),S(r).isLogin?(t(),c("div",Tt,[L(K,{href:"/user/index.html"},{default:z(()=>{var k;return[e("img",{src:((k=S(r).userInfo)==null?void 0:k.faceurl)||"https://resource.xp-pen.com/static/images/user/name.webp",alt:"",width:"30",height:"30",class:"rounded-full cursor-pointer"},null,8,Lt)]}),_:1})])):T("",!0),o.value&&!S(r).isLogin?(t(),c("div",{key:2,class:q(["absolute top-full w-[100vw] lg:w-[auto] right-[-12px] lg:right-0 pt-2 z-50 transition-all duration-300",S(a)?y.value?"visible opacity-100":"invisible opacity-0":"invisible opacity-0 group-hover:visible group-hover:opacity-100"])},[e("div",Et,[e("button",{onClick:b[2]||(b[2]=(...k)=>S(i).redirectToLogin&&S(i).redirectToLogin(...k)),class:"w-full bg-[#000] text-white py-[12px] rounded text-[14px] font-bold hover:bg-[rgba(0,0,0,0.8)] transition text-center"},E(S(s)("SIGN_IN")),1),L(K,{href:"/trackorder",class:"block w-full"},{default:z(()=>[e("button",It,E(S(s)("FIND_YOUR_ORDER")),1)]),_:1}),e("div",At,[ge(E(S(s)("NO_ACCOUNT_YET"))+" ",1),e("span",{class:"text-blue-500 cursor-pointer underline",onClick:b[3]||(b[3]=(...k)=>S(i).redirectToLogin&&S(i).redirectToLogin(...k))},E(S(s)("REGISTER")),1)])])],2)):T("",!0)],8,xt),L(wt)])])}}},Ht=X(Rt,[["__scopeId","data-v-8e0e6345"]]);function Se(n){if(!n)return"";const{id:w,route_name:s,buy_url:h,url:i}=n;if(h)return h;if(s){const r=s.split(",");return r.length>1?`/buy/${r[r.length-1]}`:`/buy/${s}`}return i||`/buy/${w}`}const Nt={class:"nav-mega-header"},Pt={class:"nav-mega-header__left"},Ot={class:"nav-mega-header__title"},Bt=["aria-label"],Dt={__name:"NavMenuMegaHeader",props:{title:{type:String,default:""},viewMoreHref:{type:String,default:""},viewMoreLabel:{type:String,default:""},closeAriaLabel:{type:String,default:"Close"}},emits:["close"],setup(n){return(w,s)=>{const h=ne;return t(),c("div",Nt,[e("div",Pt,[e("h3",Ot,E(n.title),1),n.viewMoreHref?(t(),F(h,{key:0,href:n.viewMoreHref,class:"nav-mega-header__more","aria-label":"link"},{default:z(()=>
2[ge(E(n.viewMoreLabel),1)]),_:1},8,["href"])):T("",!0)]),e("button",{type:"button",class:"nav-mega-header__close","aria-label":n.closeAriaLabel,onClick:s[0]||(s[0]=i=>w.$emit("close"))},s[1]||(s[1]=[e("i",{class:"iconfont icon-a-icon1x-31"},null,-1)]),8,Bt)])}}},Pe=X(Dt,[["__scopeId","data-v-44b573dd"]]),Ut={class:"nav-mega-card__media"},zt=["alt"],Wt={class:"nav-mega-card__title"},Kt={class:"nav-mega-card__title-text"},Vt={__name:"NavMenuMegaProductCard",props:{href:{type:String,default:""},thumb:{type:String,default:""},title:{type:String,default:""},enter:{type:Boolean,default:!1},index:{type:Number,default:0}},setup(n){const w=n,s=A(()=>({"--nav-mega-enter-delay":`${.12+w.index*.12}s`}));return(h,i)=>{const r=ne,u=xe("lazy");return t(),F(r,{href:n.href,class:q(["nav-mega-card",[n.enter&&"nav-mega-card--enter",n.enter&&(n.index%2===0?"nav-mega-card--wave-low":"nav-mega-card--wave-high")]]),style:ue(s.value)},{default:z(()=>[e("div",Ut,[te(e("img",{alt:n.title},null,8,zt),[[u,n.thumb]])]),e("div",Wt,[e("p",Kt,E(n.title),1)])]),_:1},8,["href","class","style"])}}},Oe=X(Vt,[["__scopeId","data-v-626d6d82"]]),Ft={key:0,class:"nml-not-category"},jt={class:"nml-not-category__inner uiux2026-content-inset"},qt={class:"nml-not-category__grid"},Xt={__name:"NavMenuNotCategoryPopup",props:{tagNav:{type:Object,default:()=>({})}},emits:["close"],setup(n){const{t:w}=ve();return(s,h)=>{var i,r;return n.tagNav?(t(),c("div",Ft,[e("div",jt,[L(Pe,{title:n.tagNav.name,"view-more-href":n.tagNav.url,"view-more-label":S(w)("VIEW_MORE"),onClose:h[0]||(h[0]=u=>s.$emit("close"))},null,8,["title","view-more-href","view-more-label"]),e("div",qt,[(t(!0),c(U,null,Q((r=(i=n.tagNav.single_goods_list)==null?void 0:i.goods_list)==null?void 0:r.slice(0,5),u=>(t(),F(Oe,{key:u.id,href:S(Se)(u),thumb:u.thumb,title:u.goods_name},null,8,["href","thumb","title"]))),128))])])])):T("",!0)}}},Yt=X(Xt,[["__scopeId","data-v-ff675080"]]),Be=Symbol("navMegaPanelEntered"),Gt={class:"nml-warpper uiux2026-content-inset"},Jt={class:"nw-category-tablist"},Qt={class:"nw-category-tablist__scroll"},Zt={class:"nw-category-tab__text"},en={class:"nw-category-main"},tn={__name:"NavMenuHasCategoryPopup",props:{tagNav:{type:Object,default:()=>({})}},emits:["content-change","close"],setup(n,{emit:w}){const{t:s}=ve(),h=n,i=w,r=pe(Be,p(!1)),u=p(!1),f=p({}),a=p(0),_=g=>Object.values((g==null?void 0:g.arcchild_list)||{}).filter(x=>x.parent_id===g.id&&x.status===1&&x.typeid!==4).sort((x,W)=>x.sort-W.sort),m=()=>Y(this,null,function*(){u.value=!1,yield Z(),r.value&&(u.value=!0)}),o=g=>Y(this,null,function*(){const x=_(g);a.value=0,f.value=x[0]||{},yield Z(),i("content-change"),yield m()});G(()=>h.tagNav,g=>{g&&o(g)},{immediate:!0}),G(r,g=>{if(g){u.value=!0;return}u.value=!1});const y=(g,x)=>Y(this,null,function*(){a.value!==x&&(a.value=x,f.value=g,yield Z(),i("content-change"),yield m())});return(g,x)=>{var O;const W=ne;return n.tagNav&&n.tagNav.single_goods_list?(t(),c("div",{key:0,class:q(["nml-category",{"nml-category--enter":S(r)&&u.value}])},[e("div",Gt,[e("aside",Jt,[e("div",Qt,[(t(!0),c(U,null,Q(_(n.tagNav),(R,C)=>(t(),F(W,{key:R.id,href:R.url,class:q(["nw-category-tab",{"nw-category-tab--active":a.value===C}]),onMouseenter:J=>y(R,C)},{default:z(()=>[e("span",Zt,E(R.name),1)]),_:2},1032,["href","class","onMouseenter"]))),128))])]),e("div",en,[L(Pe,{class:"nw-category-main__header",title:f.value.name||n.tagNav.name,"view-more-href":f.value.url||n.tagNav.url,"view-more-label":S(s)("VIEW_MORE"),onClose:x[0]||(x[0]=R=>g.$emit("close"))},null,8,["title","view-more-href","view-more-label"]),(O=f.value.goods_list)!=null&&O.length?(t(),c("div",{key:`grid-${a.value}`,class:"nw-category-grid"},[(t(!0),c(U,null,Q(f.value.goods_list,(R,C)=>(t(),F(Oe,{key:R.id,enter:S(r)&&u.value,index:C,href:S(Se)(R),thumb:R.thumb,title:R.goods_name},null,8,["enter","index","href","thumb","title"]))),128))])):T("",!0)])])],2)):T("",!0)}}},nn=X(tn,[["__scopeId","data-v-85bf57f9"]]),ce=350;function an(n,w){const s=p(0),h=p(!1);let i=0,r=null;const u=()=>{var o,y;return(y=(o=n.value)==null?void 0:o.scrollHeight)!=null?y:0},f=()=>{r&&(clearTimeout(r),r=null)},a=()=>{f(),h.value=!0,r=setTimeout(()=>{h.value=!1},ce)},_=()=>Y(this,null,function*(){w.value&&(yield Z(),i&&cancelAnimationFrame(i),i=requestAnimationFrame(()=>{if(i=0,!w.value||!n.value)return;const o=u();Math.abs(o-s.value)<1||(a(),s.value=o)}))}),m=()=>{f(),h.value=!0,s.value=0,r=setTimeout(()=>{h.value=!1},ce)};return G(w,o=>Y(this,null,function*(){o&&(yield _())}
2)),we(()=>{i&&cancelAnimationFrame(i),f()}),{panelHeight:s,isHeightAnimating:h,syncHeight:_,collapse:m,transitionMs:ce}}const sn=Le({__name:"NavMenuMegaPanel",props:{activeNav:{type:Object,default:null}},emits:["close"],setup(n,{emit:w}){const s=n,h=w,i=p(null),r=p(!1),u=p(!1);be(Be,u);const f=p(null),a=p(null),_=p(0);let m=null;const o=A(()=>{var l;const d=s.activeNav;return!d||d.typeid!==1?!1:!!((l=d.single_goods_list)!=null&&l.goods_list)}),y=d=>{if(!d||d.typeid!==1)return null;const l=d.arcchild_list;return l!=null&&l.has_goods_list?"has-category":"not-category"},{panelHeight:g,isHeightAnimating:x,syncHeight:W,collapse:O,transitionMs:R}=an(i,r),C=()=>{if(typeof document=="undefined")return;const d=document.getElementById("navbar_header_height");_.value=d?d.getBoundingClientRect().bottom:64},J=A(()=>({top:`${_.value}px`})),B=A(()=>({height:`${g.value}px`,transitionDuration:`${R}ms`})),M=()=>{m&&(clearTimeout(m),m=null)},P=d=>Y(this,null,function*(){if(!d)return;const l=y(d),oe=a.value!==null&&a.value!==l;f.value=d,a.value=l,yield Z(),oe&&(yield Z()),yield W()}),H=()=>{u.value=!1,setTimeout(()=>{requestAnimationFrame(()=>{u.value=!0})},ce)},b=d=>Y(this,null,function*(){M(),r.value=!0,C(),yield P(d),H()}),D=()=>{u.value=!1,O(),M(),m=setTimeout(()=>{r.value=!1,f.value=null,a.value=null,g.value=0},ce)},K=()=>{h("close")},k=A(()=>g.value>0),I=()=>{k.value&&h("close")};return G(()=>s.activeNav,d=>Y(this,null,function*(){!o.value||!d||r.value&&(yield P(d),H())})),G(o,d=>{if(d){b(s.activeNav);return}D()}),(d,l)=>(t(),F(Ee,{to:"body"},[r.value?(t(),c("div",{key:0,class:"nav-mega-root",style:ue(J.value)},[e("div",{class:q(["nav-mega-backdrop",{"nav-mega-backdrop--interactive":k.value}]),"aria-hidden":"true",onMouseenter:I},null,34),e("div",{class:q(["nav-mega-panel",{"nav-mega-panel--sidebar":a.value==="has-category","nav-mega-panel--animating":S(x)}]),style:ue(B.value)},[e("div",{ref_key:"contentRef",ref:i,class:"nav-mega-panel__content"},[a.value==="not-category"&&f.value?(t(),F(Yt,{key:0,"tag-nav":f.value,onClose:K},null,8,["tag-nav"])):a.value==="has-category"&&f.value?(t(),F(nn,{key:1,"tag-nav":f.value,onContentChange:S(W),onClose:K},null,8,["tag-nav","onContentChange"])):T("",!0)],512)],6)],4)):T("",!0)]))}}),on=X(sn,[["__scopeId","data-v-078acda0"]]),ln={class:"nav-dropdown-list__row"},rn={__name:"NavMenuNormalPopup",props:{visible:{type:Boolean,default:!1},tagNav:{type:Object,default:()=>({})}},emits:["mouseleave"],setup(n,{emit:w}){const s=n,h=p(null),i=w,r=()=>{i("mouseleave")},u=a=>{if(!(a!=null&&a.arcchild_list)||!(a!=null&&a.arcchild))return[];const _=Object.values(a.arcchild_list).filter(o=>o.parent_id===a.id&&o.status===1&&o.typeid!==4),m=a.arcchild.split(",").filter(o=>o);return _.sort((o,y)=>{const g=m.indexOf(String(o.id)),x=m.indexOf(String(y.id));return g-x})},f=A(()=>{if(!h.value)return{};const a=h.value.getBoundingClientRect();return{right:`${document.documentElement.clientWidth-a.right}px`,top:`${a.bottom+6}px`,minWidth:`${Math.max(a.width,177)}px`}});return se(()=>{var a;h.value=document.querySelector(`[data-nav-id="${(a=s.tagNav)==null?void 0:a.id}"]`)}),(a,_)=>{const m=ne;return t(),F(Ye,{name:"dropdown"},{default:z(()=>{var o;return[n.visible&&((o=n.tagNav)!=null&&o.id)?(t(),c("div",{key:0,class:"nav-dropdown-list",style:ue(f.value),onMouseleave:r,onMouseenter:_[0]||(_[0]=y=>a.$emit("mouseenter"))},[(t(!0),c(U,null,Q(u(n.tagNav),y=>(t(),c("div",{key:y.id,class:"nav-dropdown-list__item"},[e("div",ln,[L(m,{class:"nav-dropdown-list__link",href:S(Se)(y),"aria-label":"link"},{default:z(()=>[ge(E(y.name),1)]),_:2},1032,["href"])])]))),128))],36)):T("",!0)]}),_:1})}}},cn=X(rn,[["__scopeId","data-v-ff7a488f"]]),un=["onMouseenter"],dn={class:"navbar-menu-list-title__text"},vn=["onMouseenter"],_n={class:"navbar-menu-list-title__text"},hn=["data-nav-id","onMouseenter"],mn={class:"navbar-menu-list-title__text"},fn={class:"navbar-menu-list-title__text"},pn={key:1,class:"navbar-menu-nav-controls"},gn=["disabled"],yn=["disabled"],bn={__name:"NavMenu",setup(n){const{t:w}=ve(),{shouldShow:s}=ye(),h=de(),{isMobile:i}=ke(h),r=pe("globalStore"),u=A(()=>r.menuList),f=A(()=>s("MultiCurrencyFeature")),a=p(null),_=k=>{i.value||(a.value=k)},m=()=>{a.value=null},o=p(null),y=p(!1);let g=null;G(i,k=>{k&&(m(),o.value=null,y.value=!1,g&&(clearTimeout(g),g=null))}),G(u,()=>{Z(()=>b())},{deep:!0});const x=k=>{i.value||(clearTimeout(g),o.value=k.id,y.value=!1,m())},W=()=>{g=setTimeout(()=>{y.value||(o.value=null)},200)},O=()=>{clearTimeout(g),y.value=!0},R=()=>{y.value=!1,o.value=null};p(!1),A(()=>{var k,I,d,l;return((l=(d=(I=(k=u.value)==null?void 0:k.single_goods_list)==null?void 0:I.goods_list)==null?void 0:d[0])==null?void 0:l.cat_id)||0});const C=p(null),J=p(null),B=p(!1),M=p(!0),P=p(!1),H=(k,I)=>{let d=null;return(...l)=>{clearTimeout(d),d=setTimeout(()=>k.apply(this,l),I)}},b=()=>{if(!C.value)return;const{scrollLeft:k,scrollWidth:I,clientWidth:d}=C.value;B.value=I>d+1,M.value=k<=0,P.value=k+d>=I-1};se(()=>{if(!C.value)return;b(),C.value.addEventListener("scroll",b);const k=H(()=>{b()},100);window.addEventListener("resize",k)}),we(()=>{C.value&&C.value.removeEventListener("scroll",b)});const D=()=>
2{if(!C.value||!B.value||P.value)return;const{scrollLeft:k,scrollWidth:I,clientWidth:d}=C.value,l=Math.min(k+d*.8,I-d);C.value.scrollTo({left:l,behavior:"smooth"})},K=()=>{if(!C.value||!B.value||M.value)return;const k=Math.max(C.value.scrollLeft-C.value.clientWidth*.8,0);C.value.scrollTo({left:k,behavior:"smooth"})};return(k,I)=>{const d=ne;return t(),c("div",{class:q(["navbar-menu-waprrer",{"navbar-menu-waprrer--currency":f.value}]),ref_key:"navbarMenuWrapper",ref:J},[e("div",{class:"navbar-menu",ref_key:"navbarMenu",ref:C},[(t(!0),c(U,null,Q(u.value,(l,oe)=>{var le,_e,he,ie,ee;return t(),c(U,{key:l.id},[(l==null?void 0:l.status)==1?(t(),c(U,{key:0},[l.typeid===1&&!((le=l.arcchild_list)!=null&&le.has_goods_list)&&l.parent_id===0?(t(),c(U,{key:0},[(_e=l.single_goods_list)!=null&&_e.goods_list?(t(),c("div",{key:0,class:"navbar-menu-list",onMouseenter:me=>_(l)},[L(d,{href:l.url,class:"navbar-menu-list-title","aria-label":"link"},{default:z(()=>[e("span",dn,E(l.name),1)]),_:2},1032,["href"])],40,un)):T("",!0)],64)):l.typeid===1&&((he=l.arcchild_list)!=null&&he.has_goods_list)&&l.parent_id===0?(t(),c(U,{key:1},[(ie=l.single_goods_list)!=null&&ie.goods_list?(t(),c("div",{key:0,class:"navbar-menu-list",onMouseenter:me=>_(l)},[L(d,{href:l.url,class:"navbar-menu-list-title","aria-label":"link"},{default:z(()=>[e("span",_n,E(l.name),1)]),_:2},1032,["href"])],40,vn)):T("",!0)],64)):l.typeid!==4&&l.parent_id===0?(t(),c(U,{key:2},[oe===0&&l.typeid===3?(t(),c("div",{key:0,class:"navbar-sale-activity",onMouseenter:m},[I[0]||(I[0]=e("img",{src:"https://resource.xp-pen.com/img/xppen/fire.png",width:"32",height:"32",alt:"image"},null,-1)),L(d,{href:l.url},{default:z(()=>[ge(E(l.name),1)]),_:2},1032,["href"])],32)):(ee=l.arcchild_list)!=null&&ee.is_normal_arcchild?(t(),c("div",{key:1,class:"navbar-menu-list","data-nav-id":l.id,onMouseenter:me=>x(l),onMouseleave:W},[L(d,{href:l.url,class:"navbar-menu-list-title"},{default:z(()=>[e("span",mn,E(l.name),1)]),_:2},1032,["href"]),L(cn,{visible:o.value===l.id,tagNav:l,onMouseenter:O,onMouseleave:R},null,8,["visible","tagNav"])],40,hn)):(t(),c("div",{key:2,class:"navbar-menu-list",onMouseenter:m},[L(d,{href:l.url,class:"navbar-menu-list-title"},{default:z(()=>[e("span",fn,E(l.name),1)]),_:2},1032,["href"])],32))],64)):T("",!0)],64)):T("",!0)],64)}),128))],512),S(i)?T("",!0):(t(),F(on,{key:0,"active-nav":a.value,onClose:m},null,8,["active-nav"])),B.value?(t(),c("div",pn,[e("button",{type:"button",class:"navbar-menu-nav-controls__btn left-icon",disabled:M.value,"aria-label":"scroll navigation left",onClick:K},I[1]||(I[1]=[e("i",{class:"iconfont icon-a-SystemIcons-32"},null,-1)]),8,gn),e("button",{type:"button",class:"navbar-menu-nav-controls__btn right-icon",disabled:P.value,"aria-label":"scroll navigation right",onClick:D},I[2]||(I[2]=[e("i",{class:"iconfont icon-a-SystemIcons-33"},null,-1)]),8,yn)])):T("",!0)],2)}}},wn=X(bn,[["__scopeId","data-v-4b81f2a8"]]),kn={class:"nav_search nav_search--uiux2026"},Sn=["action"],$n={class:"search_form_wrapper"},Mn={class:"search_form_input"},Cn={class:"input_box"},xn=["placeholder"],Tn={class:"search-overlay-panel"},Ln={class:"search-overlay-panel__content"},En=["aria-hidden","aria-label"],In={key:0,class:"search-panel-section search-panel-section--history"},An={class:"search-panel-section__title"},Rn={class:"search-panel-section__body search-panel-badges"},Hn=["onClick"],Nn={class:"search-panel-badge__text"},Pn={key:1,class:"search-panel-section search-panel-section--recommendations"},On={class:"search-panel-section__title"},Bn={class:"search-panel-section__body search-panel-list"},Dn=["onClick"],Un={class:"search-panel-list__row"},zn=["innerHTML"],Wn={key:2,class:"search-panel-section search-panel-section--recommendations search-panel-section--compact"},Kn={class:"search-panel-empty"},Vn={key:3,class:"search-panel-section search-panel-section--recommendations"},Fn={class:"search-panel-section__title"},jn={class:"search-panel-section__body search-panel-list"},qn=["onClick"],Xn={class:"search-panel-list__row"},Yn=["innerHTML"],Gn={key:0,class:"search-panel-hot-badge"},Jn=Le({__name:"SearchBar",props:{visible:{type:Boolean,default:!1}},emits:["update:visible","closeSearch"],setup(n,{emit:w}){const{$track:s}=He(),{trackConvboxEvent:h}=Ze(),{trackSearchResultClick:i}=et(),r=tt(),u=de(),f=A(()=>u.isMobile),a=r.public.NUXT_BASE_URL.endsWith("/")?r.public.NUXT_BASE_URL.slice(0,-1):r.public.NUXT_BASE_URL,{t:_}=ve(),m=n,o=p(!1),y=p(""),g=p(null),x=p(null),W=p(null),O=p(0),R=p("");se(()=>{setTimeout(()=>{y.value=_("SEARCH")},0),B.initSearchHistory(),window.addEventListener("resize",C)}),Te(()=>{window.removeEventListener("resize",C),typeof document!="undefined"&&m.visible&&(document.body.style.overflow=R.value)});const C=()=>{I()},J=w;nt();const B=Ve(),M=p(""),P=p([]),H=A(()=>B.hotSearchList),b=A(()=>H.value.filter(v=>v.search_type!==2)),D=A(()=>B.searchHistoryList),K=A(()=>({top:`${O.value}px`,"--search-mask-top":`${O.value}px`})),k=A(()=>m.visible?M.value?!P.value.length:o.value?H.value.length===0&&D.value.length===0:D.value.length===0&&b.value.length===0:!1),I=()=>
2{if(typeof document=="undefined")return;const v=x.value;O.value=v?v.getBoundingClientRect().bottom:64};ut(x,v=>{var $;m.visible&&(($=W.value)!=null&&$.contains(v.target)||d())});function d(){P.value=[],o.value=!1,M.value="",J("closeSearch")}function l(){M.value?(o.value=!0,he()):(P.value=[],o.value=!1)}function oe(){if(o.value=!0,M.value){const v={keyword:M.value};it.getSearchRecommend(v).then($=>{var j;$.code===200&&(P.value=((j=$.data)==null?void 0:j.goods_list)||[])}).catch($=>{}).finally(()=>{o.value=!1}),fe(D.value,"history_words"),fe(P.value,"recommend_words",1)}else o.value=!1}function le(){M.value&&(B.addSearchHistory(M.value),$e(M.value,"direct_words"))}function _e(){if(M.value){le();const v=document.querySelector(".search_form_bar");v==null||v.submit()}}const he=dt(oe,800);function ie(v,$){B.addSearchHistory(v),window.xpstoreNavigateTo(`/search/index.html?search_word=${v}&key_word_type=${$}`),$e(v,$)}function ee(v){return v.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function me(v,$){const j=ee(v),N=$.trim();if(!N)return j;const V=v.toLowerCase(),ae=N.toLowerCase(),re=V.indexOf(ae);if(re===-1)return j;const Ue=ee(v.slice(0,re)),ze=ee(v.slice(re,re+N.length)),We=ee(v.slice(re+N.length));return`${Ue}<span class="search-panel-list__highlight">${ze}</span>${We}`}function De(v,$){if(M.value&&B.addSearchHistory(M.value),i({product:v,keyword:Ce(M.value),clickType:"input_suggestion",positionIndex:$}),ot(v.buy_url)){window.location.href=lt(v.buy_url,"related_words");return}window.location.href=v.buy_url}G(()=>m.visible,v=>Y(this,null,function*(){var $;typeof document!="undefined"&&(v?(R.value=document.body.style.overflow,document.body.style.overflow="hidden"):document.body.style.overflow=R.value),v&&(yield Z(),I(),($=g.value)==null||$.focus(),H.value.length===0?(o.value=!0,B.getHotSearchList().finally(()=>{o.value=!1})):o.value=!1),m.visible&&(H.value.length>0&&fe(H.value,"recommend_words"),D.value.length>0&&fe(D.value,"history_words"))}));function $e(v,$){const j=Ce(v);s("SearchKeywords",{key_word:j,key_word_type:$}),h("Search",{searchString:j})}function fe(v,$,j=0){let N=[];v.forEach((V,ae)=>{N.push({key_word:j===1?V.goods_name:V.key_word_type==="history_words"?V:V.hot_word,key_word_type:$,key_word_number:ae+1})}),s("KeyWordExp",N)}return(v,$)=>{const j=st;return t(),c(U,null,[te(e("div",{class:q(["search-warpper",{"search-warpper--desktop":!f.value}]),ref_key:"searchWrapperRef",ref:x},[e("div",kn,[e("form",{class:"search_form_bar",action:`${S(a)}/search/index.html`,method:"get"},[e("div",$n,[e("div",Mn,[e("div",Cn,[L(S(at),{type:"button",variant:"ghost",class:"search_btn !p-0 !h-auto !bg-transparent !shadow-none hover:!bg-transparent","aria-label":"search button"},{default:z(()=>$[1]||($[1]=[e("i",{class:"iconfont icon-a-SystemIcons-36"},null,-1)])),_:1}),te(e("input",{ref_key:"searchInputRef",ref:g,class:"search_input",name:"search_word",type:"search",placeholder:y.value,autocomplete:"off","onUpdate:modelValue":$[0]||($[0]=N=>M.value=N),onInput:l,onKeyup:Ge(le,["enter"])},null,40,xn),[[Je,M.value]]),$[3]||($[3]=e("input",{type:"hidden",name:"key_word_type",value:"direct_words"},null,-1)),e("button",{type:"button",class:"search_close_btn","aria-label":"close search",onClick:d},$[2]||($[2]=[e("i",{class:"iconfont icon-a-SystemIcons-26"},null,-1)]))]),e("button",{type:"button",class:"inp_search search_btn",onClick:_e},E(v.$t("SEARCH")),1)])])],8,Sn)])],2),[[Ie,n.visible]]),(t(),F(Ee,{to:"body"},[n.visible?(t(),c("div",{key:0,ref_key:"overlayPanelRef",ref:W,class:q(["search-overlay-root",{"search-overlay-root--mobile":f.value}]),style:ue(K.value)},[e("div",{class:"search-overlay-backdrop","aria-hidden":"true",onClick:d}),e("div",Tn,[e("div",{class:q(["search-overlay-panel__inner",{"search-overlay-panel__inner--compact":k.value}])},[e("div",Ln,[e("div",{class:q(["search-overlay-panel__loading",{"search-overlay-panel__loading--active":o.value}]),"aria-busy":"true","aria-hidden":!o.value,"aria-label":S(_)("PROCESSING")},[L(j,{size:8,color:"#1c2024"})],10,En),D.value.length&&!M.value?(t(),c("section",In,[e("h3",An,E(v.$t("HISTORIC_RECORDS")),1),e("div",Rn,[(t(!0),c(U,null,Q(D.value,(N,V)=>(t(),c("button",{key:V,type:"button",class:"search-panel-badge search-panel-badge--history",onClick:ae=>ie(N,"history_words")},[e("span",Nn,E(N),1)],8,Hn))),128))])])):T("",!0),M.value&&P.value.length?(t(),c("section",Pn,[e("h3",On,E(v.$t("RECOMMENDATIONS")),1),e("ul",Bn,[(t(!0),c(U,null,Q(P.value,(N,V)=>(t(),c("li",{key:V,class:"search-panel-list__item",onClick:ae=>De(N,V)},[e("div",Un,[e("span",{class:"search-panel-list__text",innerHTML:N.goods_name},null,8,zn)])],8,Dn))),128))])])):M.value&&!o.value&&!P.value.length?(t(),c("section",Wn,[e("p",Kn,E(v.$t("SEARCH_NO_DATA")),1)])):T("",!0),!M.value&&b.value.length?(t(),c("section",Vn,[e("h3",Fn,E(v.$t("RECOMMENDATIONS")),1),e("ul",jn,[(t(!0),c(U,null,Q(b.value,(N,V)=>(t(),c("li",{key:V,class:"search-panel-list__item",onClick:ae=>
2ie(N.hot_word,"recommend_words")},[e("div",Xn,[e("span",{class:"search-panel-list__text",innerHTML:me(N.hot_word,M.value)},null,8,Yn),N.label_type==="hot"?(t(),c("span",Gn,E(v.$t("HOT")),1)):T("",!0)])],8,qn))),128))])])):T("",!0)])],2)])],6)):T("",!0)]))],64)}}}),Qn=X(Jn,[["__scopeId","data-v-fe3b2992"]]),Zn={class:"navbar_header-warpper"},ea={class:"store_nav_top",id:"nav"},ta={class:"store_nav_top_box uiux2026-content-inset"},na={__name:"index",setup(n){const{shouldShow:w}=ye(),s=p(!1);function h(){s.value=!s.value}function i(){s.value=!1}function r(){const _=rt(),m={};return["channel","utm_content","clickid","iaclick_id","irclickid","admitad_uid","wgu","fbclid","papClickId","utm_medium","utm_campaign"].forEach(y=>{_.query[y]&&(m[y]=_.query[y])}),m}const u=Ae();de();const f=Ne();se(()=>{u.checkLoginStatus();const _=r();f.getCartCount(_)});const a=Re();return be("globalStore",a),be("mainHeaderShowSearch",s),(_,m)=>{const o=je,y=qe;return t(),c("header",{class:q(["navbar_header uiux2026-main-header top-0 z-50",S(w)("MainHeaderSticky")?"sticky":"relative"]),id:"navbar_header_height"},[L(Fe),L(o),e("div",Zn,[te(e("div",ea,[e("div",ta,[L(pt),L(wn),L(Ht,{onToggleSearch:h})])],512),[[Ie,!s.value]]),L(Qn,{visible:s.value,"onUpdate:visible":m[0]||(m[0]=g=>s.value=g),onCloseSearch:i},null,8,["visible"])]),S(w)("MainHeaderJpTipsAd")?(t(),F(y,{key:0})):T("",!0)],2)}}},aa=X(na,[["__scopeId","data-v-6479d4cf"]]),da=Object.freeze(Object.defineProperty({__proto__:null,default:aa},Symbol.toStringTag,{value:"Module"}));export{da as i,Se as r};

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.