From 4baf41b1c957c4484ef516245272c423e7a57492 Mon Sep 17 00:00:00 2001 From: "97694732@qq.com" Date: Wed, 3 Jun 2026 15:59:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E4=B8=B4=E6=97=B6=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- temp_kongfz_chunk_index1.txt | 1 - temp_kongfz_chunk_index2.txt | 1 - temp_kongfz_main_js.txt | 11 --- temp_kongfz_preload.txt | 42 ---------- temp_kongfz_search.html | 156 ----------------------------------- temp_kongfz_search_vue2.html | 98 ---------------------- temp_kongfz_vendor.txt | 25 ------ 7 files changed, 334 deletions(-) delete mode 100644 temp_kongfz_chunk_index1.txt delete mode 100644 temp_kongfz_chunk_index2.txt delete mode 100644 temp_kongfz_main_js.txt delete mode 100644 temp_kongfz_preload.txt delete mode 100644 temp_kongfz_search.html delete mode 100644 temp_kongfz_search_vue2.html delete mode 100644 temp_kongfz_vendor.txt diff --git a/temp_kongfz_chunk_index1.txt b/temp_kongfz_chunk_index1.txt deleted file mode 100644 index b5212ff..0000000 --- a/temp_kongfz_chunk_index1.txt +++ /dev/null @@ -1 +0,0 @@ -import{t as E,am as P,r as m,x as a,G as u,A as i,O as v,ad as p,I as V,g as S,v as s,F as N,ao as T,ap as M,a3 as B}from"./chunk-vendor.BEvyqpzI.js";import{u as D,A as O,q as w,f as q,a as F,b as G}from"./product-BETIuZ_J.js";import{d as L}from"./chunk-elementPlus.BwuzvisO.js";import{i as U}from"./chunk-preload-helper.C2F1rpzq.js";/* empty css */import"./chunk-object.BU-HPFRj.js";import"./chunk-SearchTypeEnum.DVsuZ0pI.js";const J=_=>(T("data-v-3694c412"),_=_(),M(),_),W={key:0,class:"more-view-container"},z={class:"result-title"},H={class:"result-list"},K=["onClick"],Q={key:0,class:"item-num"},X=J(()=>i("p",{class:"result-title-sket"},null,-1)),Y={class:"result-list"},Z=E({name:"MoreView",__name:"index",setup(_){const{query:g}=P(),j=m(!1),I=m(""),A=m([]),[b]=O(g,{});b().then(e=>{if(e.status===1){const c=e.data.labels.reduce((t,l,r)=>{const o=Math.floor(r/12);return t[o]||(t[o]=[]),t[o].push(l),t},[]).reduce((t,l,r)=>{const o=Math.floor(r/3);return t[o]||(t[o]=[]),t[o].push(l),t},[]);A.value=c,I.value=e.data.tplName,document.title=e.data.tplName,j.value=!0}}).catch(e=>{$(e)});const f=m(!0),h=D();function $(e){var n,d,c,t,l,r,o;if(e.type==="data")switch(((n=e.data)==null?void 0:n.errType)||""){case"102":h.setRequestRejectInfo({requestRejectAction:(c=(d=e.data)==null?void 0:d.data)==null?void 0:c.requestRejectAction,requestRejectCause:(l=(t=e.data)==null?void 0:t.data)==null?void 0:l.requestRejectCause,requestVerifyUrl:((o=(r=e.data)==null?void 0:r.data)==null?void 0:o.requestVerifyWebUrl)||""}),f.value=!1;break;default:h.setRequestRejectInfo({requestRejectAction:"DATA_ERROR",requestRejectCause:e.message}),f.value=!1;break}else if(e.type==="status"){switch(e.typeDetail){case"netError":h.setRequestRejectInfo({requestRejectAction:"NET_ERROR",requestRejectCause:"网络好像迷路了,请注意检查您的网络连接~"});break;case"serverError":h.setRequestRejectInfo({requestRejectAction:"SERVER_ERROR",requestRejectCause:"服务器开小差了,我们正在抓紧恢复中~"});break}f.value=!1}else e.type!=="cancel"&&L({message:e.message,grouping:!0,type:"error",offset:130})}const R=S(),k=(R==null?void 0:R.appContext.config.globalProperties.$sites)||{},y=e=>G(e.name,g.actionPath||"",e.name),x=e=>{const n=B(e.params);switch(n.searchType){case"keyword":window.open("".concat(k.s_search,"product/").concat(w(q(n)),"&actionPath=").concat(y(e)),"_self");break;case"category":window.open("".concat(k.s_search,"product/category/").concat(w(q(n)),"&actionPath=").concat(y(e)),"_self");break;case"latest":window.open("".concat(k.s_search,"product/latest/").concat(w(q(n)),"&actionPath=").concat(y(e)),"_self");break}};return(e,n)=>f.value?(s(),a("div",W,[j.value?(s(),a(u,{key:0},[i("h6",z,v(I.value),1),i("div",H,[(s(!0),a(u,null,p(A.value,(d,c)=>(s(),a("div",{class:"result-list__row clearfix",key:c},[(s(!0),a(u,null,p(d,(t,l)=>(s(),a("ul",{class:"result-list__column",key:l},[(s(!0),a(u,null,p(t,(r,o)=>(s(),a("li",{class:"result-list__item",key:o},[i("a",{href:"javascript:;",class:"item-name",onClick:C=>x(r)},v(r.showName),9,K),r.showValue!=0?(s(),a("span",Q,"("+v(r.showValue)+")",1)):N("",!0)]))),128))]))),128))]))),128))])],64)):(s(),a(u,{key:1},[X,i("div",Y,[(s(),a(u,null,p(3,d=>i("div",{class:"result-list__row clearfix",key:d},[(s(),a(u,null,p(3,c=>i("ul",{class:"result-list__column",key:c},[(s(),a(u,null,p(9,t=>i("li",{class:"result-list-sket__item",key:t})),64))])),64))])),64))])],64))])):(s(),V(F,{key:1}))}}),ce=U(Z,[["__scopeId","data-v-3694c412"]]);export{ce as default}; diff --git a/temp_kongfz_chunk_index2.txt b/temp_kongfz_chunk_index2.txt deleted file mode 100644 index 9210f5a..0000000 --- a/temp_kongfz_chunk_index2.txt +++ /dev/null @@ -1 +0,0 @@ -import{i as c}from"./chunk-preload-helper.C2F1rpzq.js";import{E as n}from"./chunk-elementPlus.BwuzvisO.js";import{t as r,x as i,L as p,J as _,v as d,a2 as l,ao as m,ap as f,A as t}from"./chunk-vendor.BEvyqpzI.js";const h="https://static.kongfz.com/search-v3/assets/images/not-found-_sPryl7V.png",e=o=>(m("data-v-7389e0ba"),o=o(),f(),o),u={class:"not-found-view"},w=e(()=>t("img",{class:"placeholder-img",src:h,alt:""},null,-1)),x=e(()=>t("p",{class:"error-title"},"抱歉,您要找的页面不存在",-1)),b=r({name:"NotFoundView",__name:"index",setup(o){const s=()=>{window.location.href="https://www.kongfz.com/"};return(g,k)=>{const a=n;return d(),i("div",u,[w,x,p(a,{class:"el-button--primary back-btn",onClick:s},{default:_(()=>[l("返回首页")]),_:1})])}}}),I=c(b,[["__scopeId","data-v-7389e0ba"]]);export{I as default}; diff --git a/temp_kongfz_main_js.txt b/temp_kongfz_main_js.txt deleted file mode 100644 index 72f94e4..0000000 --- a/temp_kongfz_main_js.txt +++ /dev/null @@ -1,11 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/chunk-index.Ckf9DnCF.js","assets/chunk-vendor.BEvyqpzI.js","assets/chunk-elementPlus.BwuzvisO.js","assets/chunk-preload-helper.C2F1rpzq.js","assets/preload-helper-pD0ob2W0.css","assets/chunk-object.BU-HPFRj.js","assets/chunk-SearchTypeEnum.DVsuZ0pI.js","assets/SearchTypeEnum-iU9jAdZr.css","assets/index-CwdvnYo6.css","assets/el-select-jitKNRXQ.css","assets/chunk-index.DJmKRj2o.js","assets/index-DqDwwmBo.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -var Ze=Object.defineProperty;var et=(e,t,o)=>t in e?Ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var ge=(e,t,o)=>(et(e,typeof t!="symbol"?t+"":t,o),o);import{_ as _sfc_main$t,K as KSearchBar,a as _sfc_main$u,b as _sfc_main$v,c as _sfc_main$w,d as _sfc_main$x,e as _sfc_main$y,f as KAreaSelect,g as KSelectAddressPopover,h as axios,i as _export_sfc,j as getSites,k as __vitePreload,l as index,m as mitt}from"./chunk-preload-helper.C2F1rpzq.js";import{al as defineStore,r as ref,a3 as toRaw,t as defineComponent,am as useRoute,c as computed,w as watch,C as onUnmounted,x as createElementBlock,L as createVNode,u as unref,J as withCtx,G as Fragment,v as openBlock,an as RouterView,g as getCurrentInstance,i as inject,f as onMounted,I as createBlock,F as createCommentVNode,A as createBaseVNode,O as toDisplayString,ao as pushScopeId,ap as popScopeId,H as normalizeClass,a2 as createTextVNode,ad as renderList,aq as mergeModels,ar as useModel,R as withDirectives,S as vShow,ab as resolveComponent,M as withModifiers,n as nextTick,y as renderSlot,as as createStaticVNode,Q as onBeforeUnmount,af as vModelText,ae as withKeys,P as normalizeStyle,B as toRef,ac as resolveDirective,at as useRouter,au as createRouter,av as createWebHistory,aw as createApp,ax as createPinia}from"./chunk-vendor.BEvyqpzI.js";/* empty css */import{E as ElButton,a as ElInput,c as commonjsGlobal,b as ElMessageBox,d as ElMessage,e as ElPagination}from"./chunk-elementPlus.BwuzvisO.js";import{i as isEmptyObject}from"./chunk-object.BU-HPFRj.js";import{S as SearchDropdown,a as SearchTypeEnum,C as CategoryBuilder,b as CategoryTypeEnum}from"./chunk-SearchTypeEnum.DVsuZ0pI.js";function __vite_legacy_guard(){import.meta.url,import("_").catch(()=>1),async function*(){}().next()}var getCookie=function(t){for(var o=document.cookie.split("; "),s=0;s2&&arguments[2]!==void 0?arguments[2]:"",l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"/",n="".concat(t,"=").concat(encodeURIComponent(o));s&&(n+="; expires=".concat(s.toUTCString())),n+="; path=".concat(c),l&&(n+="; domain=".concat(l)),document.cookie=n},removeCookie=function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"/";setCookie(t,"",new Date(0),o,s)};const cookieUtil={getCookie,setCookie,removeCookie},useMatchInfoStore=defineStore("matchInfo",()=>{const e=ref({});return{matchInfo:e,setMatchInfo:o=>{e.value=o}}}),useQueryStore=defineStore("query",()=>{const e=ref({}),t=useMatchInfoStore(),o=ref("filter"),s=ref(0),l=a=>{(a==="filter"||a==="order"||a==="mode")&&(s.value+=1)};return{query:e,action:o,actionSeq:s,setQuery:(a,r="filter")=>{console.log("set query >>>",a);const u={...toRaw(a)};t.matchInfo.searchMode==1&&(r==="order"||r==="filter")&&(u.searchMode=t.matchInfo.searchMode),e.value=u,o.value=r,l(r)},mergeQuery:(a,r="filter")=>{console.log("merge query >>>",e.value,a);const u={...toRaw(e.value),...toRaw(a)};t.matchInfo.searchMode==1&&(r==="order"||r==="filter")&&(u.searchMode=t.matchInfo.searchMode),e.value=u,o.value=r,l(r)}}}),useStateStore=defineStore("state",()=>{const e=ref(!1),t=c=>{e.value=c},o=ref({quality:!1,stock:!1,pubDate:!1});return{isSearching:e,setSearchState:t,customHoverState:o,setCustomHoverState:(c,n)=>{o.value={...o.value,[c]:n}},resetCustomHoverState:()=>{o.value={quality:!1,stock:!1,pubDate:!1}}}}),_sfc_main$s=defineComponent({__name:"App",setup(e){const t=useRoute(),o=computed(()=>t.name),s=getCurrentInstance(),l=computed(()=>(s==null?void 0:s.appContext.config.globalProperties.$sites)||{}),c=useQueryStore(),n=useStateStore(),a=computed(()=>c.query.dataType||"0"),r=d=>{switch(d.searchType){case"shop":{const _={dataType:0,keyword:d.searchWord,page:1};c.query.isNewBook&&(_.isNewBook=!0,_.quality="100~100",_.actionPath="quality"),o.value==="home"?(n.setSearchState(!0),c.setQuery(_,"searchbar")):window.location.href="".concat(l.value.s_search,"product/?keyword=").concat(d.searchWord)}break;case"pm":window.location.href="".concat(l.value.s_search,"pm-search-web/pc/").concat(d.status==="1"?"endauction":"auction","/search?key=").concat(encodeURIComponent(d.searchWord));break}},u=computed(()=>n.isSearching),g=computed(()=>o.value==="home"?"search":"index");let f=null;const k=ref("");return setTimeout(()=>{f=watch(()=>c.query,d=>{g.value==="search"&&(k.value=d.keyword||"")})},0),onUnmounted(()=>{f&&f()}),(d,_)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(_sfc_main$t),{layout:2,type:3,site:l.value,"no-border":""},null,8,["site"]),createVNode(unref(KSearchBar),{ref:"searchBarRef",layout:2,site:l.value,"page-type":g.value,"fixed-top":!0,"use-status-select":!1,"search-word-query-name":"keyword",modelValue:k.value,"onUpdate:modelValue":_[0]||(_[0]=B=>k.value=B),"use-custom-search":"",status:a.value,"is-searching":u.value,onSearch:r},null,8,["site","page-type","modelValue","status","is-searching"]),createVNode(unref(_sfc_main$v),{fixedWidth:!0},{default:withCtx(()=>[createVNode(unref(_sfc_main$u),{style:{padding:"0 20px"}},{default:withCtx(()=>[createVNode(unref(RouterView))]),_:1})]),_:1}),createVNode(unref(_sfc_main$w),{quickType:1}),createVNode(unref(_sfc_main$y),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$x),{layout:2,type:2})]),_:1})],64))}}),_imports_0$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAFeUlEQVRYR8WXe2xTVRzHz+mDbX0/dtd1fb8v7V4FmRvgHxhMEF8JGIfGKNEgfxgCkmhC+AuNhGhE5C+DAYV/mBqI+AATjcTIy+Hc1rVbt97udmu7rutzfawbfRxzR0iGdN3thHj+Pb/f9/s5v3Pu75wLwf884Gr8UTIpXgBAUiiVuFQ+i8HI1gAQhyJRolo92gAIIXYsHF6XjARensukNszlMqpi/o6UMmSy18Rq63h+Hk9wW4Qpz0tlsr8hhHk6MLQA5qJRRSjoOzwTCexMpeINhUIeMJgswGAwFz1KpSIoFQuAxWIDgUAy04ApL8gV2g859fXBlSBWBEgFg5ZIItxDeBztxWIe8LiCO3yhdJBbx3MCFntq0aCQb8rmMs3p2VhbJptaw2KygFyh/10t1+8RqlSeShAVAXKJhIbwOHqCfqKTwWQCmUz9p1QsOy5UqK/y+fzIUuF0Oo3NBie3xBLhg9NT5OMIAIBbOwhZo3JrnVg8sRzEsgAoEuGPBojPJ8iRVwBCQKtvvqRSG/dxpFJ/pRXNz84aI+HguZHh3i4qT6OxnDerTHshhqXL5S0LMD3hfdbj7u/JZGa5Gg1+TaMxd3Mx7G7JVxi5REJLjA2eCQS8W3g8YdaE23c1agw/0gZACNWM9N34miRdLwjF9UkL3rEDUyqvrmS8dD4SCGwZdfdenE1ERTqd7dLa9Ru7IYQL/9YoW4H5ZNIwOHD911gkqNUZWr7H7Z07IYSFagAQQix3/60LpHfoeSnW5GuzP/FUrVBI0AKY8pPbRh03rxSLRaAzNh8wWO2fVWN+L9Y73L+fJJwnqM8Vb+t6ukml+5kWwMSIYw9BOE4tJtq6tsu12iurAZjxk9tcjltXqD5hNLa+pVnb+gUtANI9uJ9wD5xg19SCda2dmwUKzfXVAMQniE2O4b5r+YV5YMTbD+jwtgcqWfYMhHze7W5X708Uuclkf1ON286sBmDS7XrD4+k/fbeSHc/ItYbLtCqQicdbBv767eZcNs3V6m0nzW0d+1cDMOa4fdLnde7jcPjZ9g1PdvEkkiFaAKlUqp4c7vshMDnWKZNrXDZbx/Y6iWSyGohcPK52uXovh0MTNqXafEtnXf+cQCCI0gKggryu/kOk13mUwWAAjc56RG9t/wBCWKQDgRBikiOOI75x5+FSqQR0Btshg23dMdqNiAqcT6XMzsEbF6kViMQNSb3edrBRbzoLISxVgkAIMab93td8HueJeCwspCrY3LZxR61AMFYVABUc8LhfCk2Nn5oJ+4VYgzLapDSeUgglx5br69T94YuG3p4O+Q7GoyFMLJUl1Gp8r9KEf7scdMXbECEEg4T7kwnfyJ5kIsLj8gT5xkb1Lwp+w26+yXT/bejxYP509OzMtG9rNpNiiyUNGYXCcFyNt7xfaetWfA9QLTXodb8a9BOHo5EpI5cnBEaz/XWl0XJu6aqCxPCuUffA+dxcGtRjTYRcbTqq0lu+ghBSN/OyY0WAe5lh3/i7zqEbH0EIgQW371IYrV8vVZ0kRru97r4eqnc0t256T6bVf0znwNIGuGeAAKoIsNz8qs5AuRXm8wtAp2+5XkDF+NJ5FmRKyPGhTSz2mrKA/xkgRI7tHnHd/jI3l6lY2ToOD5it67uVevybh7oFqWgUnwlNnk7GpwWVhLFGdUEmU75YKxJ5HyoAJUZ953McDq+SMIfDSUEIs3TMqRjah3ARACG2b3ToHVQq1UCE7nshIQhZkMFY0FpaPqX7U1I1QDYa3TA48EdvNlv2gQs4HD5ob9/8GBfD+h5JBdKxmDXkJ74LhXymcgZyudaj1lq21YpE448EgBLNJZO6EgDiBwwKBWYJwixfKh2ma171FlQjTDf2HyTpYz8jZXXFAAAAAElFTkSuQmCC",_imports_1$2="https://static.kongfz.com/search-v3/assets/ai-loading-xkP_TRKn.webp",_imports_1$1="https://static.kongfz.com/search-v3/assets/images/loading-CZuKZDq2.gif",_withScopeId$m=e=>(pushScopeId("data-v-f835f2b3"),e=e(),popScopeId(),e),_hoisted_1$r={class:"my-address"},_hoisted_2$r=_withScopeId$m(()=>createBaseVNode("div",{class:"delivery-label"},"配送至:",-1)),_hoisted_3$n={class:"address-select-wrap"},_hoisted_4$l={class:"area-text"},_hoisted_5$i={class:"text-content"},_hoisted_6$h={class:"arrow"},_hoisted_7$g={key:0,class:"k-iconfont k-icon-xiajiantou"},_hoisted_8$e={key:1,class:"k-iconfont k-icon-shangjiantou"},LocalStorageExpires$3=365*24*3600*1e3,_sfc_main$r=defineComponent({name:"MyAddress",__name:"index",setup(e){const t=ref(!1),s=ref((()=>{let h={areaId:"",areaName:"",cityId:"1001000000",cityName:"东城",provId:"1000000000",provName:"北京市"};const p=cookieUtil.getCookie("areaText")||"";p&&(h.provName=p.split("/")[0],h.cityName=p.split("/")[1]);const y=cookieUtil.getCookie("areaIds")||"";return y&&(h.provId=y.split("/")[0],h.cityId=y.split("/")[1]),h})()||{areaId:"",areaName:"",cityId:"",cityName:"",provId:"",provName:""}),l=ref(""),c=ref([]),n=ref(!1),a=ref(""),r=ref({}),u=getCurrentInstance(),g=(u==null?void 0:u.appContext.config.globalProperties.$sites)||{},f=h=>{var C;k==null||k(h);const p=new Date;p.setTime(p.getTime()+LocalStorageExpires$3);const y="".concat(h.areaInfo.provName,"/").concat(h.areaInfo.cityName);cookieUtil.setCookie("reciever_area",h.area,p,".kongfz.com"),cookieUtil.setCookie("addressId",(((C=r.value)==null?void 0:C.userId)||"")+"_"+((h==null?void 0:h.addrId)||""),p,".kongfz.com"),cookieUtil.setCookie("areaText",y,p,".kongfz.com"),cookieUtil.setCookie("areaIds",h.areaInfo.provId+"/"+h.areaInfo.cityId,p,".kongfz.com"),v.emit("deliveryAddressUpdate")},k=h=>{a.value=(h==null?void 0:h.addrId)||"",l.value=h.areaInfo.provName+h.areaInfo.cityName+h.areaInfo.areaName+h.address},d=()=>{const h=cookieUtil.getCookie("addressId"),p=cookieUtil.getCookie("areaText")||"北京市/东城";let y=0,C=0;h&&(y=Number(h.split("_")[0]),C=Number(h.split("_")[1]));let D={};axios({method:"get",url:"/pc-gw/user-service/client/pc/address/list"}).then(q=>{if(q.data.status){const K=q.data.data;K&&K.length?(K.forEach(H=>{H.addrId==C&&H.userId==y&&(D=H)}),c.value=K||[],Object.keys(D).length?k(D):l.value=p):l.value=p}else t.value=!0}).catch(()=>{t.value=!0})},_=()=>{n.value=!1},B=()=>{n.value=!0};watch(s,h=>{const p=new Date;p.setTime(p.getTime()+LocalStorageExpires$3),cookieUtil.setCookie("reciever_area",h.cityId||h.areaId,p,".kongfz.com");const y="".concat(h.provName,"/").concat(h.cityName);cookieUtil.setCookie("areaText",y,p,".kongfz.com"),cookieUtil.setCookie("areaIds",h.provId+"/"+h.cityId,p,".kongfz.com"),v.emit("deliveryAddressUpdate")},{deep:!0});const v=inject("$eventBus");return v.on("userInfoUpdate",h=>{r.value=h}),onMounted(()=>{d(),v.emit("getUserInfoRequest")}),(h,p)=>(openBlock(),createElementBlock("div",_hoisted_1$r,[_hoisted_2$r,t.value?(openBlock(),createBlock(unref(KAreaSelect),{key:0,class:"custom-area-select",size:"mini",modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=y=>s.value=y),theme:"buyer",lastLevel:2},null,8,["modelValue"])):createCommentVNode("",!0),t.value?createCommentVNode("",!0):(openBlock(),createBlock(unref(KSelectAddressPopover),{key:1,addressList:c.value,site:unref(g),addressId:a.value,onChange:f,onHide:_,onShow:B},{reference:withCtx(()=>[createBaseVNode("div",_hoisted_3$n,[createBaseVNode("div",_hoisted_4$l,[createBaseVNode("span",_hoisted_5$i,toDisplayString(l.value),1),createBaseVNode("span",_hoisted_6$h,[n.value?(openBlock(),createElementBlock("i",_hoisted_8$e)):(openBlock(),createElementBlock("span",_hoisted_7$g))])])])]),_:1},8,["addressList","site","addressId"]))]))}}),MyAddress=_export_sfc(_sfc_main$r,[["__scopeId","data-v-f835f2b3"]]),ParamKeyGroupMap={exKey:["exKey"],itemName:["itemName"],catId:["catId","siBuId"],siBuId:["siBuId","catId"],authorNum:["authorNum","author"],author:["author","authorNum"],pressNum:["pressNum","press"],press:["press","pressNum"],shopId:["shopId","shopName"],shopName:["shopName","shopId"],quality:["quality"],stock:["stock"],tplYears:["tplYears","pubDate"],pubDate:["pubDate","tplYears"],tplBinding:["tplBinding"],price:["price"],deliveryAreaName:["deliveryAreaName"],deliverTime:["deliverTime"],hasStock:["hasStock"],enableSmartSort:["enableSmartSort"],postageTags:["postageTags"],tplForm:["tplForm"],tplKind:["tplKind"],tplMaterial:["tplMaterial"],tplMount:["tplMount"],tplPaper:["tplPaper"],tplPressOrg:["tplPressOrg"],tplPrintType:["tplPrintType"],tplProductPromise:["tplProductPromise"],tplInscriptionYear:["tplInscriptionYear"],tplSuit:["tplSuit"],artTags:["artTags"]},FilterNameSet=["catId","siBuId","quality","stock","shopId","price","deliveryAreaName","exKey","itemName","author","press","shopName","deliverTime","postageTags","authorNum","pressNum","pubDate","tplMaterial","tplYears","tplInscriptionYear","tplKind","tplMount","tplPrintType","tplPressOrg","tplBinding","tplForm","tplProductPromise","tplPaper"],CatBlockNameSet=["kfz_special","normal","art","design"],AdvancedSearchOrder=["keyword","itemName","author","press","shopName"],ToOldKeyMap={keyword:"key",itemName:"itemname",author:"author",press:"press",shopName:"shopname"},findSelected=e=>{if(!e)return null;for(let t=0;t{let e=0;return(t,o,s)=>{var c,n;if(e&&Date.now()-e<500)return;e=Date.now();const l=ParamKeyGroupMap[o.name];switch(t){case"back":{const a=JSON.parse(JSON.stringify(s.query));switch(a.page=1,o.name){case"catId":case"siBuId":delete a.catId,delete a.siBuId,a.tplParams&&(delete a.tplParams.tplForm,delete a.tplParams.tplKind,delete a.tplParams.tplMaterial,delete a.tplParams.tplMount,delete a.tplParams.tplPaper,delete a.tplParams.tplPressOrg,delete a.tplParams.tplPrintType,delete a.tplParams.tplProductPromise,delete a.tplParams.tplInscriptionYear,delete a.tplParams.tplSuit),delete a.artTags;break;case"quality":delete a.quality,delete a.quaSelect,delete a.isNewBook;break;case"tplYears":case"pubDate":a.tplParams&&(delete a.tplParams.tplYears,delete a.tplParams.pubDate);break;case"press":case"pressNum":delete a.press,a.tplParams&&delete a.tplParams.pressNum;break;case"author":case"authorNum":delete a.author,a.tplParams&&delete a.tplParams.authorNum;break;case"tplBinding":case"tplForm":case"tplKind":case"tplMaterial":case"tplMount":case"tplPaper":case"tplPressOrg":case"tplPrintType":case"tplProductPromise":case"tplInscriptionYear":case"tplSuit":a.tplParams&&delete a.tplParams[o.name];break;case"hasStock":a.hasStock=!1;break;default:l.forEach(r=>{delete a[r]});break}a.actionPath=updateActionPath(o.name,a.actionPath||""),a.actionPath&&(a.actionPath=a.actionPath.split(",").filter(r=>r in a||a.tplParams&&r in a.tplParams).join(",")),a.actionPath||delete a.actionPath,s.setQuery(a)}break;case"filter":if(!o.params)return;{const a=o.params;s.query.sortType!==a.sortType&&(a.sortType=s.query.sortType);const r=o.name==="artTags"?"catId":o.name;let u=updateActionPath(r,s.query.actionPath||"",r);u&&(u=u.split(",").filter(g=>g==="catId"?"catId"in a||"artTags"in a:g in a||a.tplParams&&g in a.tplParams).join(",")),s.setQuery(Object.assign({},a,{page:1},u?{actionPath:u}:null))}break;case"link":(c=o.link)!=null&&c.pc&&window.open((n=o.link)==null?void 0:n.pc,"_blank");break}}})(),updateActionPath=(e,t,o,s)=>{const l=e?ParamKeyGroupMap[e]:[];let c=t?t.split(","):[];if(s){if(c=c.filter(n=>n&&(!l.includes(n)||n===e)),o){const n=c.findIndex(a=>a===e);n!==-1&&c.splice(n,1,o)}}else c=c.filter(n=>n&&!l.includes(n)),o&&c.push(o);return c.join(",")},typeOf=e=>Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),getCookieMap=e=>{const t=new Map;return document.cookie.split("; ").forEach(o=>{const[s,l]=o.split("=");t.set(s,l)}),t.get(e)},queryString=(e,t={sort:!1})=>{const o=Object.keys(e);t.sort&&o.sort((l,c)=>l.localeCompare(c));const s=o.map(l=>"".concat(l,"=").concat(e[l])).join("&");return s?"?"+s:""},convertToString=e=>{const t={};for(const o in e){const s=e[o];s!=null&&s!==""&&(typeOf(s)==="object"?Object.keys(s).length&&(t[o]=encodeURIComponent(JSON.stringify(s))):t[o]=s.toString())}return t},throttleForApi=(e,t)=>{let o=0;return function(...s){const l=Date.now();l-o>=t&&(e.apply(this,s),o=l)}},_withScopeId$l=e=>(pushScopeId("data-v-c7628dbf"),e=e(),popScopeId(),e),_hoisted_1$q={class:"component tab-bar"},_hoisted_2$q={class:"tab-bar__inner"},_hoisted_3$m=_withScopeId$l(()=>createBaseVNode("div",{class:"tab-bar__underline"},null,-1)),_hoisted_4$k={class:"state-switch no-spacing"},_sfc_main$q=defineComponent({name:"TabBar",__name:"index",setup(e){const t=useQueryStore(),o=n=>{switch(n){case"product":t.setQuery(l());break;case"item":window.open("/booklib/".concat(queryString(l(!1))),"_self");break;case"newBook":{const a=l(),r=a.actionPath?a.actionPath.split(","):[];a.quality="100~100",a.isNewBook=!0,a.actionPath=(r.push("quality"),r.join(",")),t.setQuery(a)}break;case"auction":window.open("/pm-search-web/pc/auction/search".concat(queryString(c())),"_self");break}},s=()=>{var a,r;const n={};t.query.dataType!==1&&(n.dataType=1);for(const u of AdvancedSearchOrder.slice(0,4)){const g=t.query[u]||((r=(a=t.query)==null?void 0:a.tplParams)==null?void 0:r[u])||"";if(g){n[u]=g,u!=="keyword"&&(n.actionPath=u);break}}t.query.isNewBook&&(n.isNewBook=!0,n.quality="100~100",n.actionPath=updateActionPath("quality",n.actionPath||"","quality")),t.setQuery(n)},l=(n=!0)=>{var f;const a=t.query,r=n?AdvancedSearchOrder:AdvancedSearchOrder.slice(0,4),u=[],g={};for(let k=0;k{var u;const n=t.query,a=AdvancedSearchOrder.slice(0,4);let r={};for(let g=0;g(openBlock(),createElementBlock("div",_hoisted_1$q,[createBaseVNode("div",_hoisted_2$q,[createBaseVNode("div",{class:normalizeClass(["tab-item",{active:!unref(t).query.isNewBook}]),onClick:a[0]||(a[0]=r=>o("product"))}," 所有商品 ",2),createBaseVNode("div",{class:"tab-item",onClick:a[1]||(a[1]=r=>o("item"))},"图书条目"),createBaseVNode("div",{class:normalizeClass(["tab-item",{active:unref(t).query.isNewBook}]),onClick:a[2]||(a[2]=r=>o("newBook"))}," 新书 ",2),createBaseVNode("div",{class:"tab-item",onClick:a[3]||(a[3]=r=>o("auction"))},"在线拍卖")]),_hoisted_3$m,createBaseVNode("div",_hoisted_4$k,[createBaseVNode("span",{class:normalizeClass(["state-switch__trigger",{active:!unref(t).query.dataType}]),onClick:s},"在售",2),createBaseVNode("span",{class:normalizeClass(["state-switch__trigger",{active:unref(t).query.dataType===1}]),onClick:s},"已售",2)])]))}}),TabBar=_export_sfc(_sfc_main$q,[["__scopeId","data-v-c7628dbf"]]),_withScopeId$k=e=>(pushScopeId("data-v-90a2237a"),e=e(),popScopeId(),e),_hoisted_1$p={class:"component crumb-bar"},_hoisted_2$p={key:0,class:"fuzzy-tip"},_hoisted_3$l=["textContent"],_hoisted_4$j={key:0},_hoisted_5$h={key:1,class:"crumb-bar__inner"},_hoisted_6$g={class:"base-info"},_hoisted_7$f={class:"result-count"},_hoisted_8$d=["textContent"],_hoisted_9$e=_withScopeId$k(()=>createBaseVNode("span",{class:"ml-4"},"条结果",-1)),_hoisted_10$d=_withScopeId$k(()=>createBaseVNode("span",{class:"divider--text"},null,-1)),_hoisted_11$d=["textContent"],_hoisted_12$d={key:0,class:"match-type-box"},_hoisted_13$c=["onClick"],_hoisted_14$b=_withScopeId$k(()=>createBaseVNode("span",{class:"k-iconfont k-icon-guanbi"},null,-1)),_hoisted_15$b={key:1,class:"match-type-box"},_sfc_main$p=defineComponent({name:"CrumbBar",__name:"index",props:{searchMode:{default:0},isAutoFuzzy:{type:Boolean,default:!1},isShowSubscription:{type:Boolean,default:!1},total:{default:-1},totalText:{default:""},navList:{},params:{default:()=>({})}},emits:["create-subscription"],setup(e,{emit:t}){const o=useQueryStore(),s=e,l=computed(()=>FilterNameSet.some(k=>{var _,B;const d=(B=s.params[k])!=null?B:(_=s.params.tplParams)==null?void 0:_[k];return d!=null})),c=computed(()=>{const k={name:"",label:"",value:""};for(const d of AdvancedSearchOrder.slice(0,4)){const _=s.params[d]||"";if(_){k.name=d,k.value=_;break}}return k}),n=computed(()=>s.navList.map(k=>{let d=[];return a(k,d),d.slice(-1)[0]}));function a(k,d){var _;d.push({name:k.name,showName:k.showName,showValue:k.showValue,params:k.params||null}),(_=k.subLabels)!=null&&_.length&&a(k.subLabels[0],d)}const r=k=>{var h;const d=k.params||{};let _=((h=s.params)==null?void 0:h.actionPath)||"";const v=ParamKeyGroupMap[k.name].find(p=>p in d||d.tplParams&&p in d.tplParams);v?_=updateActionPath(k.name,_,v,!0):_=updateActionPath(k.name,_),_&&(_=_.split(",").filter(p=>p==="catId"?"catId"in d||"artTags"in d:p in d||d.tplParams&&p in d.tplParams).join(",")),o.setQuery(Object.assign({},d,{page:1},_?{actionPath:_}:null))},u=k=>{o.mergeQuery({searchMode:k,page:1,sortType:0,hasStock:!0},"mode")},g=t,f=()=>{g("create-subscription",c.value.value)};return(k,d)=>(openBlock(),createElementBlock("div",_hoisted_1$p,[k.searchMode===3&&k.isAutoFuzzy&&!l.value?(openBlock(),createElementBlock("div",_hoisted_2$p,[createTextVNode(" 搜索"),createBaseVNode("span",{class:"highlight--red mr-4 ml-4",textContent:toDisplayString(c.value.value)},null,8,_hoisted_3$l),createTextVNode("没有精确结果,我们为您模糊搜索到一些相关商品。"),k.isShowSubscription?(openBlock(),createElementBlock("span",_hoisted_4$j,[createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:f},"添加订阅"),createTextVNode(",及时获取上新通知~")])):createCommentVNode("",!0)])):(openBlock(),createElementBlock("div",_hoisted_5$h,[createBaseVNode("div",_hoisted_6$g,[createBaseVNode("span",_hoisted_7$f,[createBaseVNode("span",{class:"result-count__number",textContent:toDisplayString(k.totalText)},null,8,_hoisted_8$d),_hoisted_9$e]),c.value.name==="keyword"&&c.value.value?(openBlock(),createElementBlock(Fragment,{key:0},[_hoisted_10$d,createBaseVNode("span",{class:"highlight--red",textContent:toDisplayString(c.value.value)},null,8,_hoisted_11$d)],64)):createCommentVNode("",!0)]),k.total===0?(openBlock(),createElementBlock("div",_hoisted_12$d,[createTextVNode(" 搜索结果太少?切换为"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:d[0]||(d[0]=_=>u(3))},"模糊搜索"),createTextVNode("的结果 "),k.isShowSubscription?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode("|"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:f},"添加订阅"),createTextVNode(",及时获取上新通知~")],64)):createCommentVNode("",!0)])):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(n.value,_=>(openBlock(),createElementBlock(Fragment,null,[_?(openBlock(),createElementBlock("div",{key:_.name,class:"nav-item",onClick:B=>r(_)},[createBaseVNode("span",null,toDisplayString(_.showName)+": "+toDisplayString(_.showValue),1),_hoisted_14$b],8,_hoisted_13$c)):createCommentVNode("",!0)],64))),256)),c.value.value&&k.total>0?(openBlock(),createElementBlock("span",_hoisted_15$b,[k.searchMode===0?(openBlock(),createElementBlock(Fragment,{key:0},[k.total<=50?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(" 搜索结果太少?切换为"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:d[1]||(d[1]=_=>u(3))},"模糊搜索"),createTextVNode("的结果 ")],64)):createCommentVNode("",!0),k.total>50?(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(" 搜索结果太多?只看"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:d[2]||(d[2]=_=>u(1))},"精确搜索"),createTextVNode("的结果,或只看"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:d[3]||(d[3]=_=>u(2))},"完全匹配"),createTextVNode("的结果 ")],64)):createCommentVNode("",!0)],64)):k.searchMode===1?(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(" 现在是精确搜索的结果,您可以切换为"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:d[4]||(d[4]=_=>u(0))},"普通搜索"),createTextVNode(",或"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:d[5]||(d[5]=_=>u(2))},"完全匹配")],64)):k.searchMode===2?(openBlock(),createElementBlock(Fragment,{key:2},[createTextVNode(" 现在是完全匹配的结果,您可以切换为"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:d[6]||(d[6]=_=>u(0))},"普通搜索"),createTextVNode(",或"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:d[7]||(d[7]=_=>u(1))},"精确搜索")],64)):k.searchMode===3?(openBlock(),createElementBlock(Fragment,{key:3},[k.isAutoFuzzy&&l.value?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode("现在是模糊搜索的结果")],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(" 现在是模糊搜索的结果,您可以切换为"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:d[8]||(d[8]=_=>u(0))},"普通搜索"),createTextVNode("的结果 ")],64))],64)):createCommentVNode("",!0),k.isShowSubscription?(openBlock(),createElementBlock(Fragment,{key:4},[createTextVNode("|"),createBaseVNode("a",{href:"javascript:void(0);",class:"button--text mr-4 ml-4",onClick:f},"添加订阅"),createTextVNode(",及时获取上新通知~")],64)):createCommentVNode("",!0)])):createCommentVNode("",!0)]))]))}}),CrumbBar=_export_sfc(_sfc_main$p,[["__scopeId","data-v-90a2237a"]]),_withScopeId$j=e=>(pushScopeId("data-v-3b4733c9"),e=e(),popScopeId(),e),_hoisted_1$o={class:"component crumb-bar-skeleton"},_hoisted_2$o=_withScopeId$j(()=>createBaseVNode("div",{class:"skeleton-row",style:{width:"220px"}},null,-1)),_hoisted_3$k=[_hoisted_2$o],_sfc_main$o=defineComponent({name:"CrumbBarSkeleton",__name:"skeleton",setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$o,_hoisted_3$k))}}),CrumbBarSkeleton=_export_sfc(_sfc_main$o,[["__scopeId","data-v-3b4733c9"]]),padStart=(e,t,o="0")=>{for(;e.length"ontouchstart"in window||navigator.maxTouchPoints>0,getScrollParent=e=>{const t=/(auto|scroll)/,o=(a,r)=>a.parentNode===null?r:o(a.parentNode,r.concat([a])),s=(a,r)=>getComputedStyle(a,null).getPropertyValue(r),l=a=>s(a,"overflow")+s(a,"overflow-y")+s(a,"overflow-x"),c=a=>t.test(l(a));return(a=>{if(!(a instanceof HTMLElement||a instanceof SVGElement))return;const r=o(a.parentNode,[]);for(let u=0;u{var o=null;return function(){var s=this,l=arguments,c=new Date().getTime();(!o||c-o>=t)&&(e.apply(s,l),o=new Date().getTime())}},_withScopeId$i=e=>(pushScopeId("data-v-f5b9456f"),e=e(),popScopeId(),e),_hoisted_1$n={class:"quality-select__inner"},_hoisted_2$n=["textContent"],_hoisted_3$j=["textContent"],_hoisted_4$i=_withScopeId$i(()=>createBaseVNode("span",{class:"k-iconfont k-icon-xiajiantou"},null,-1)),_hoisted_5$g=_withScopeId$i(()=>createBaseVNode("span",{class:"k-iconfont k-icon-shangjiantou"},null,-1)),_hoisted_6$f={class:"quality-select__options"},_hoisted_7$e=["textContent","onClick"],_sfc_main$n=defineComponent({name:"KfzSelect",__name:"index",props:mergeModels({placeholder:{default:"请选择"},options:{default:()=>[]}},{modelValue:{required:!0,default:""},modelModifiers:{}}),emits:mergeModels(["focus","blur","change","visible-change"],["update:modelValue"]),setup(e,{emit:t}){const o=e,s=useModel(e,"modelValue"),l=t,c=computed(()=>{var h;return((h=o.options.find(p=>p.value===s.value))==null?void 0:h.label)||""}),n=h=>{s.value=h.value},a=ref(),r=ref(!1),u=()=>{var h;(h=a.value)==null||h.focus(),r.value=!0,v(),l("visible-change",!0)},g=()=>{r.value=!1,l("visible-change",!1)},f=h=>{l("focus",h)},k=h=>{l("blur",h)},d=ref(),_=ref(),B=ref("bottom"),v=throttle(()=>{if(!r.value)return!1;const{top:h,height:p}=d.value.getBoundingClientRect(),{height:y}=_.value.getBoundingClientRect();window.innerHeight-h-p>y?B.value="bottom":B.value="top"},100);return onMounted(()=>{const h=getScrollParent(),p=h&&h.tagName!=="HTML"?h:window;p.addEventListener("scroll",v),window.addEventListener("resize",v),onUnmounted(()=>{p.removeEventListener("scroll",v),window.removeEventListener("resize",v)})}),watch(()=>o.options,v,{deep:!0}),(h,p)=>(openBlock(),createElementBlock("div",{class:"component quality-select",ref_key:"select",ref:d,onMouseenter:u,onMouseleave:g},[createBaseVNode("div",_hoisted_1$n,[withDirectives(createBaseVNode("span",{class:"quality-select__placeholder",textContent:toDisplayString(h.placeholder)},null,8,_hoisted_2$n),[[vShow,!c.value]]),withDirectives(createBaseVNode("span",{class:"quality-select__label",textContent:toDisplayString(c.value)},null,8,_hoisted_3$j),[[vShow,c.value]]),_hoisted_4$i,_hoisted_5$g,createBaseVNode("input",{type:"text",ref_key:"hiddenInput",ref:a,readonly:"",class:"inner-input",onFocus:f,onBlur:k},null,544)]),createBaseVNode("div",{class:normalizeClass(["quality-select__options-wrapper",{"is-top":B.value==="top"}]),ref_key:"optionsWrapper",ref:_},[createBaseVNode("ul",_hoisted_6$f,[(openBlock(!0),createElementBlock(Fragment,null,renderList(h.options,y=>(openBlock(),createElementBlock("li",{key:y.value,textContent:toDisplayString(y.label),class:normalizeClass(["quality-select__option",{"is-active":y.value===s.value}]),onClick:C=>n(y)},null,10,_hoisted_7$e))),128))])],2)],544))}}),KfzSelect=_export_sfc(_sfc_main$n,[["__scopeId","data-v-f5b9456f"]]),_withScopeId$h=e=>(pushScopeId("data-v-379c423b"),e=e(),popScopeId(),e),_hoisted_1$m={class:"filter-box"},_hoisted_2$m=["title","textContent"],_hoisted_3$i=["textContent"],_hoisted_4$h=["onClick"],_hoisted_5$f=_withScopeId$h(()=>createBaseVNode("span",{class:"as-icon icon-plus mr-4"},"+",-1)),_hoisted_6$e=["title","onClick"],_hoisted_7$d=["textContent"],_hoisted_8$c={key:0,class:"filter__count"},_hoisted_9$d=["title","onClick"],_hoisted_10$c=_withScopeId$h(()=>createBaseVNode("span",{class:"k-iconfont k-icon-fenye_zuojiantou"},null,-1)),_hoisted_11$c=["textContent"],_hoisted_12$c=["title","onClick"],_hoisted_13$b=["textContent"],_hoisted_14$a={key:0,class:"filter__count"},_hoisted_15$a={class:"custom-filter__inner quality-select-box"},_hoisted_16$8={class:"custom-filter__main"},_hoisted_17$7=_withScopeId$h(()=>createBaseVNode("span",{class:"icon-dash"},null,-1)),_hoisted_18$6={class:"custom-filter__inner stock-input-box"},_hoisted_19$6={class:"custom-filter__main"},_hoisted_20$6=_withScopeId$h(()=>createBaseVNode("span",{class:"icon-dash"},null,-1)),_hoisted_21$6={class:"custom-filter__inner pub-date-box"},_hoisted_22$6={class:"custom-filter__main"},_hoisted_23$6={class:"pub-date-area",style:{width:"72px"}},_hoisted_24$6=_withScopeId$h(()=>createBaseVNode("span",{class:"icon-dash"},null,-1)),_hoisted_25$6={class:"pub-date-area",style:{width:"72px"}},_hoisted_26$6={key:0,style:{"margin-left":"16px"},class:"fold-controller"},_hoisted_27$5=_withScopeId$h(()=>createBaseVNode("span",{class:"as-icon icon-plus mr-4"},"+",-1)),_hoisted_28$5=_withScopeId$h(()=>createBaseVNode("span",{class:"as-icon icon-plus mr-4"},"-",-1)),_sfc_main$m=defineComponent({name:"AsideFilter",__name:"index",props:{name:{default:""},level:{default:1},data:{},foldable:{type:Boolean},unfoldCountMax:{default:6},selectedItem:{}},setup(e){const t=e,o=useQueryStore(),s=computed(()=>t.foldable&&!t.selectedItem&&t.level===1&&t.data.length>t.unfoldCountMax),l=ref(!0),c=$=>{l.value=$},n=computed(()=>s.value&&l.value?t.data.slice(0,t.unfoldCountMax):t.data),a=computed(()=>t.name==="quality"&&t.level===1&&t.data.findIndex($=>$.type==="CUSTOM")!==-1),r=ref(["",""]),u=()=>{var m,I;const $=t.data.find(T=>T.type==="CUSTOM");if($){const[T,R]=((I=(m=$.params)==null?void 0:m.quality)==null?void 0:I.split("~"))||["",""];r.value=[T||"",R||""]}};a.value&&u();const g=[{label:"四品",value:"40"},{label:"五品",value:"50"},{label:"六品",value:"60"},{label:"七品",value:"70"},{label:"八品",value:"80"},{label:"九品",value:"90"},{label:"九五品",value:"95"}],f=(()=>{let $=0;return m=>{console.log(m);const I=Date.now();if($&&I-$<500)return;$=I;let T=r.value[0],R=r.value[1],w="";if(!T&&!R)return;T&&R&&parseInt(T)>parseInt(R)&&(r.value[0]=R,r.value[1]=T,T=r.value[0],R=r.value[1]),w=updateActionPath("quality",o.query.actionPath||"","quality");const j={quality:"".concat(T,"~").concat(R),quaSelect:3,actionPath:w,page:1};o.mergeQuery(j),M(!1,!0,!0)}})(),k=computed(()=>t.name==="stock"&&t.level===1&&t.data.findIndex($=>$.type==="CUSTOM")!==-1),d=ref(["",""]),_=()=>{var m,I;const $=t.data.find(T=>T.type==="CUSTOM");if($){const[T,R]=((I=(m=$.params)==null?void 0:m.stock)==null?void 0:I.split("~"))||["",""];d.value=[T||"",R||""]}};k.value&&_();const B=($,m)=>{let I="";const T=m==="start"?0:1;$==="0"&&(d.value[T]="1"),I=parseInt(d.value[T]).toString(),d.value[T]=I==="NaN"?"":I},v=(()=>{let $=0;return m=>{console.log(m);const I=Date.now();if($&&I-$<500)return;$=I;let T=d.value[0],R=d.value[1],w="";if(!T&&!R)return;T&&R&&parseInt(T)>parseInt(R)&&(d.value[0]=R,d.value[1]=T,T=d.value[0],R=d.value[1]),w=updateActionPath("stock",o.query.actionPath||"","stock"),w=updateActionPath("hasStock",w);const j={stock:"".concat(T,"~").concat(R),actionPath:w,page:1,hasStock:!1};o.mergeQuery(j),M(!1,!0,!0)}})(),h=computed(()=>["tplYears","pubDate"].includes(t.name)&&t.level===1&&t.data.findIndex($=>$.type==="CUSTOM")!==-1),p=ref(["","","",""]),y=()=>{var m,I,T;const $=t.data.find(R=>R.type==="CUSTOM");if($){const[R,w]=((T=(I=(m=$.params)==null?void 0:m.tplParams)==null?void 0:I.pubDate)==null?void 0:T.split("~"))||["",""],j=R?R.substring(0,4):"",oe=R?R.substring(4):"",re=w?w.substring(0,4):"",b=w?w.substring(4):"";p.value=[j||"",oe||"",re||"",b||""]}};h.value&&y();const C=ref(),D=ref(),q=ref(),K=ref(),H=[C,D,q,K],Q=($,m)=>{const I=$.replace(/[^0-9]+/g,"");(p.value[m]=I).length===(m%2?2:4)&&m<3&&nextTick(()=>{var R,w;(w=(R=H[m+1].value)==null?void 0:R[0])==null||w.focus()})},J=$=>{const m=!!($%2);let I=p.value[$];I&&(m&&parseInt(I)>12&&(I=p.value[$]="12"),parseInt(I)>0?p.value[$]=padStart(I,m?2:4,"0"):p.value[$]=m?"01":"0000")},x=(()=>{let $=0;return m=>{console.log(m);const I=Date.now();if($&&I-$<500)return;$=I,J(0),J(1),J(2),J(3);let[T,R,w,j]=p.value;if(!T&&R&&(R=p.value[1]=""),!w&&j&&(j=p.value[3]=""),!T&&!R&&!w&&!j)return;const oe=T?"".concat(T).concat(R||"01"):"",re=w?"".concat(w).concat(j||"12"):"";oe&&re&&+oe>+re&&(p.value[0]=w,p.value[1]=j,p.value[2]=T,p.value[3]=R,T=p.value[0],R=p.value[1],w=p.value[2],j=p.value[3]),T&&!R&&(R=p.value[1]="01"),w&&!j&&(j=p.value[3]="12");const b={...o.query.tplParams,pubDate:"".concat(T).concat(R,"~").concat(w).concat(j)};delete b.tplYears;const i=updateActionPath("pubDate",o.query.actionPath||"","pubDate"),P={tplParams:b,actionPath:i,page:1};o.mergeQuery(P),M(!1,!0,!0)}})();if(a.value||k.value||h.value){const $=watch(()=>o.query,m=>{var I;if(m.quaSelect===3&&m.quality?r.value=m.quality.split("~"):r.value=["",""],m.stock?d.value=m.stock.split("~"):d.value=["",""],(I=m.tplParams)!=null&&I.pubDate){const[T,R]=m.tplParams.pubDate.split("~");p.value=[T?T.substring(0,4):"",T?T.substring(4):"",R?R.substring(0,4):"",R?R.substring(4):""]}else p.value=["","","",""]});onUnmounted($)}const E=($,m)=>m?$==="tplYears"?m=/民国\d/g.test(m)?m:m.replace(/\([^(]*\)$/g,""):m:"",L=($,m)=>{if($.key!=="Enter")return!1;switch(m){case"stock":v();break;case"pubDate":x();break}},Z=useStateStore(),ie=computed(()=>Z.customHoverState[t.name]),ce=isTouchScreen(),M=($,m,I)=>{m?ce===I&&(Z.resetCustomHoverState(),Z.setCustomHoverState(t.name,$)):(Z.resetCustomHoverState(),Z.setCustomHoverState(t.name,$))},ue=()=>{if(!ce)return!1;Z.resetCustomHoverState()};document.documentElement.addEventListener("click",ue),onUnmounted(()=>{document.documentElement.removeEventListener("click",ue)});const pe=()=>!1;return($,m)=>{const I=ElButton,T=ElInput,R=resolveComponent("aside-filter");return openBlock(),createElementBlock("div",_hoisted_1$m,[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.value,w=>{var j,oe,re,b;return openBlock(),createElementBlock("div",{key:"".concat(w.name,"_").concat(w.showName,"_").concat(w.value,"_").concat($.level),class:normalizeClass(["filter",{"is-plain":w.type==="PLAIN","is-link":w.type==="LINK","is-text":w.type==="TEXT","is-custom":w.type==="CUSTOM","is-back-link":w.type==="LINK"&&((j=w.subLabels)==null?void 0:j.length),"is-more-link":w.link,"is-selected":w.selected,"no-indent":($.level===1||w.type==="LINK"&&w.subType!=="title")&&((oe=w.subLabels)==null?void 0:oe.length)}])},[w.type==="TEXT"?(openBlock(),createElementBlock("span",{key:0,title:w.showName,class:"filter__text",textContent:toDisplayString(E(w.name,w.showName))},null,8,_hoisted_2$m)):w.type==="PLAIN"?(openBlock(),createElementBlock("span",{key:1,class:"filter__text",textContent:toDisplayString(w.showName)},null,8,_hoisted_3$i)):w.type==="LINK"?(openBlock(),createElementBlock(Fragment,{key:2},[w.link?(openBlock(),createElementBlock("a",{key:0,href:"javascript:void(0);",class:"filter__trigger",onClick:i=>unref(handleNavigate)("link",w,unref(o))},[_hoisted_5$f,createTextVNode("查看更多")],8,_hoisted_4$h)):(re=w.subLabels)!=null&&re.length?(openBlock(),createElementBlock(Fragment,{key:1},[w.subType==="title"?(openBlock(),createElementBlock("a",{key:0,href:"javascript:void(0);",title:w.showName,class:"filter__trigger is-title",onClick:i=>unref(handleNavigate)("filter",w,unref(o))},[createBaseVNode("span",{textContent:toDisplayString(E(w.name,w.showName))},null,8,_hoisted_7$d),w.showValue&&w.showValue!=="0"?(openBlock(),createElementBlock("span",_hoisted_8$c,"("+toDisplayString(w.showValue)+")",1)):createCommentVNode("",!0)],8,_hoisted_6$e)):(openBlock(),createElementBlock("a",{key:1,href:"javascript:void(0);",title:w.showName,class:"filter__trigger",onClick:i=>unref(handleNavigate)("filter",w,unref(o))},[_hoisted_10$c,createBaseVNode("span",{textContent:toDisplayString(E(w.name,w.showName))},null,8,_hoisted_11$c)],8,_hoisted_9$d))],64)):(openBlock(),createElementBlock("a",{key:2,href:"javascript:void(0);",title:w.showName,class:"filter__trigger",onClick:i=>unref(handleNavigate)("filter",w,unref(o))},[createBaseVNode("span",{textContent:toDisplayString(E(w.name,w.showName))},null,8,_hoisted_13$b),w.showValue&&w.showValue!=="0"?(openBlock(),createElementBlock("span",_hoisted_14$a,"("+toDisplayString(w.showValue)+")",1)):createCommentVNode("",!0)],8,_hoisted_12$c))],64)):w.type==="CUSTOM"?(openBlock(),createElementBlock(Fragment,{key:3},[w.name==="quality"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["custom-filter",{"is-hover":ie.value}]),onMouseenter:m[4]||(m[4]=i=>M(!0,!0,!1)),onMouseleave:m[5]||(m[5]=i=>M(!1,!0,!1)),onClick:withModifiers(pe,["stop"])},[createBaseVNode("div",_hoisted_15$a,[createBaseVNode("div",_hoisted_16$8,[createVNode(KfzSelect,{modelValue:r.value[0],"onUpdate:modelValue":m[0]||(m[0]=i=>r.value[0]=i),options:g,placeholder:"品相",class:"quality-select",style:{width:"72px"},onFocus:m[1]||(m[1]=i=>M(!0,!0,!0))},null,8,["modelValue"]),_hoisted_17$7,createVNode(KfzSelect,{modelValue:r.value[1],"onUpdate:modelValue":m[2]||(m[2]=i=>r.value[1]=i),options:g,placeholder:"品相",class:"quality-select",style:{width:"72px"},onFocus:m[3]||(m[3]=i=>M(!0,!0,!0))},null,8,["modelValue"])]),createVNode(I,{type:"primary",size:"small",class:"btn-submit",onClick:withModifiers(unref(f),["stop"])},{default:withCtx(()=>[createTextVNode("筛选")]),_:1},8,["onClick"])])],34)):createCommentVNode("",!0),w.name==="stock"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["custom-filter",{"is-hover":ie.value}]),onMouseenter:m[14]||(m[14]=i=>M(!0,!0,!1)),onMouseleave:m[15]||(m[15]=i=>M(!1,!0,!1)),onClick:withModifiers(pe,["stop"])},[createBaseVNode("div",_hoisted_18$6,[createBaseVNode("div",_hoisted_19$6,[createVNode(T,{modelValue:d.value[0],"onUpdate:modelValue":m[6]||(m[6]=i=>d.value[0]=i),modelModifiers:{trim:!0},maxlength:"4",size:"small",placeholder:"库存",class:normalizeClass(["stock-input",{"is-center":d.value[0]}]),style:{width:"72px"},onInput:m[7]||(m[7]=i=>B(i,"start")),onFocus:m[8]||(m[8]=i=>M(!0,!0,!0)),onKeypress:m[9]||(m[9]=i=>L(i,"stock"))},null,8,["modelValue","class"]),_hoisted_20$6,createVNode(T,{modelValue:d.value[1],"onUpdate:modelValue":m[10]||(m[10]=i=>d.value[1]=i),modelModifiers:{trim:!0},maxlength:"4",size:"small",placeholder:"库存",class:normalizeClass(["stock-input",{"is-center":d.value[1]}]),style:{width:"72px"},onInput:m[11]||(m[11]=i=>B(i,"end")),onFocus:m[12]||(m[12]=i=>M(!0,!0,!0)),onKeypress:m[13]||(m[13]=i=>L(i,"stock"))},null,8,["modelValue","class"])]),createVNode(I,{type:"primary",size:"small",class:"btn-submit",onClick:withModifiers(unref(v),["stop"])},{default:withCtx(()=>[createTextVNode("筛选")]),_:1},8,["onClick"])])],34)):createCommentVNode("",!0),w.name==="tplYears"?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(["custom-filter",{"is-hover":ie.value}]),onMouseenter:m[36]||(m[36]=i=>M(!0,!0,!1)),onMouseleave:m[37]||(m[37]=i=>M(!1,!0,!1)),onClick:withModifiers(pe,["stop"])},[createBaseVNode("div",_hoisted_21$6,[createBaseVNode("div",_hoisted_22$6,[createBaseVNode("div",_hoisted_23$6,[createVNode(T,{ref_for:!0,ref_key:"pubDateInputRef0",ref:C,modelValue:p.value[0],"onUpdate:modelValue":m[16]||(m[16]=i=>p.value[0]=i),modelModifiers:{trim:!0},size:"small",maxlength:4,placeholder:"年",class:normalizeClass(["pub-date-input pub-date__year",{"is-center":p.value[0]}]),onInput:m[17]||(m[17]=i=>Q(i,0)),onBlur:m[18]||(m[18]=i=>J(0)),onFocus:m[19]||(m[19]=i=>M(!0,!0,!0)),onKeypress:m[20]||(m[20]=i=>L(i,"pubDate"))},null,8,["modelValue","class"]),createVNode(T,{ref_for:!0,ref_key:"pubDateInputRef1",ref:D,modelValue:p.value[1],"onUpdate:modelValue":m[21]||(m[21]=i=>p.value[1]=i),modelModifiers:{trim:!0},size:"small",maxlength:2,placeholder:"月",class:normalizeClass(["pub-date-input pub-date__month",{"is-center":p.value[1]}]),onInput:m[22]||(m[22]=i=>Q(i,1)),onBlur:m[23]||(m[23]=i=>J(1)),onFocus:m[24]||(m[24]=i=>M(!0,!0,!0)),onKeypress:m[25]||(m[25]=i=>L(i,"pubDate"))},null,8,["modelValue","class"])]),_hoisted_24$6,createBaseVNode("div",_hoisted_25$6,[createVNode(T,{ref_for:!0,ref_key:"pubDateInputRef2",ref:q,modelValue:p.value[2],"onUpdate:modelValue":m[26]||(m[26]=i=>p.value[2]=i),modelModifiers:{trim:!0},size:"small",maxlength:4,placeholder:"年",class:normalizeClass(["pub-date-input pub-date__year",{"is-center":p.value[2]}]),onInput:m[27]||(m[27]=i=>Q(i,2)),onBlur:m[28]||(m[28]=i=>J(2)),onFocus:m[29]||(m[29]=i=>M(!0,!0,!0)),onKeypress:m[30]||(m[30]=i=>L(i,"pubDate"))},null,8,["modelValue","class"]),createVNode(T,{ref_for:!0,ref_key:"pubDateInputRef3",ref:K,modelValue:p.value[3],"onUpdate:modelValue":m[31]||(m[31]=i=>p.value[3]=i),modelModifiers:{trim:!0},size:"small",maxlength:2,placeholder:"月",class:normalizeClass(["pub-date-input pub-date__month",{"is-center":p.value[3]}]),onInput:m[32]||(m[32]=i=>Q(i,3)),onBlur:m[33]||(m[33]=i=>J(3)),onFocus:m[34]||(m[34]=i=>M(!0,!0,!0)),onKeypress:m[35]||(m[35]=i=>L(i,"pubDate"))},null,8,["modelValue","class"])])]),createVNode(I,{type:"primary",size:"small",class:"btn-submit",onClick:withModifiers(unref(x),["stop"])},{default:withCtx(()=>[createTextVNode("筛选")]),_:1},8,["onClick"])])],34)):createCommentVNode("",!0)],64)):createCommentVNode("",!0),(b=w.subLabels)!=null&&b.length?(openBlock(),createBlock(R,{key:4,data:w.subLabels,level:$.level+1,name:$.name,foldable:$.foldable},null,8,["data","level","name","foldable"])):createCommentVNode("",!0)],2)}),128)),s.value?(openBlock(),createElementBlock("div",_hoisted_26$6,[withDirectives(createBaseVNode("a",{href:"javascript:void(0);",class:"fold-controller__trigger",onClick:m[38]||(m[38]=w=>c(!1))},[_hoisted_27$5,createTextVNode("展开更多")],512),[[vShow,l.value]]),withDirectives(createBaseVNode("a",{href:"javascript:void(0);",class:"fold-controller__trigger",onClick:m[39]||(m[39]=w=>c(!0))},[_hoisted_28$5,createTextVNode("收起")],512),[[vShow,!l.value]])])):createCommentVNode("",!0)])}}}),AsideFilterBox=_export_sfc(_sfc_main$m,[["__scopeId","data-v-379c423b"]]),_withScopeId$g=e=>(pushScopeId("data-v-63c35e47"),e=e(),popScopeId(),e),_hoisted_1$l={class:"component category-filter-section filter-section"},_hoisted_2$l={class:"filter-section__title"},_hoisted_3$h={key:0,class:"filter filter--back"},_hoisted_4$g=_withScopeId$g(()=>createBaseVNode("span",{class:"k-iconfont k-icon-fenye_zuojiantou"},null,-1)),_hoisted_5$e={key:0,class:"filter-block__title"},_sfc_main$l=defineComponent({name:"CategoryFiltersSection",__name:"index",props:{data:{type:Array,default:()=>[]},showBackAll:{type:Boolean,default:!0},titleText:{type:String,default:"分类筛选"}},setup(e){const t=useQueryStore(),o=e,s=computed(()=>findSelected(o.data)),l=CatBlockNameSet.slice(1),c=computed(()=>{var n;return((n=o.data[0])==null?void 0:n.type)==="GROUP"?o.data.map(a=>{const r={code:a.name,label:a.showName,children:(a==null?void 0:a.subLabels)||[]},u=findSelected(r.children);return Object.assign(r,u?{selectedItem:u}:{})}):[Object.assign({code:"cat_",label:"",children:o.data||[]},s.value?{selectedItem:s.value}:{})]});return(n,a)=>(openBlock(),createElementBlock("div",_hoisted_1$l,[createBaseVNode("h1",_hoisted_2$l,toDisplayString(e.titleText)+":",1),s.value&&e.showBackAll?(openBlock(),createElementBlock("div",_hoisted_3$h,[createBaseVNode("a",{href:"javascript:void(0);",class:"filter__trigger",onClick:a[0]||(a[0]=r=>unref(handleNavigate)("back",s.value,unref(t)))},[_hoisted_4$g,createTextVNode("所有")])])):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(c.value,r=>(openBlock(),createElementBlock("div",{key:r.code+r.label,class:"filter-block"},[r.label?(openBlock(),createElementBlock("h3",_hoisted_5$e,toDisplayString(r.label),1)):createCommentVNode("",!0),createVNode(AsideFilterBox,{data:r.children,"back-inside":!1,name:r.code,foldable:unref(l).includes(r.code),"unfold-count-max":6,"selected-item":r.selectedItem},null,8,["data","name","foldable","selected-item"])]))),128)),renderSlot(n.$slots,"default",{},void 0,!0)]))}}),CategoryFiltersSection=_export_sfc(_sfc_main$l,[["__scopeId","data-v-63c35e47"]]),_hoisted_1$k={class:"component category-filters-skeleton"},_hoisted_2$k=createStaticVNode('
',10),_hoisted_12$b=[_hoisted_2$k],_sfc_main$k=defineComponent({name:"CategoryFiltersSkeleton",__name:"skeleton",setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$k,_hoisted_12$b))}}),CategoryFiltersSkeleton=_export_sfc(_sfc_main$k,[["__scopeId","data-v-c1a08db9"]]),_withScopeId$f=e=>(pushScopeId("data-v-0dfd6076"),e=e(),popScopeId(),e),_hoisted_1$j=["textContent"],_hoisted_2$j={key:0,class:"filter is-back-link"},_hoisted_3$g=_withScopeId$f(()=>createBaseVNode("span",{class:"k-iconfont k-icon-fenye_zuojiantou"},null,-1)),_sfc_main$j=defineComponent({name:"AsideFilterBlock",__name:"index",props:{data:{type:Object,defualt:()=>({}),required:!0}},setup(e){const t=useQueryStore(),o=e,s=computed(()=>findSelected(o.data.children||[])||void 0),l=computed(()=>{var c;return(c=o.data.children)==null?void 0:c.some(n=>n.type==="CUSTOM")})||!1;return(c,n)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["component aside-filter-block",{"with-custom":unref(l)}])},[createBaseVNode("h3",{class:"aside-filter-block__title",textContent:toDisplayString(e.data.label)},null,8,_hoisted_1$j),s.value?(openBlock(),createElementBlock("div",_hoisted_2$j,[createBaseVNode("a",{href:"javascript:void(0);",class:"filter__trigger",onClick:n[0]||(n[0]=a=>unref(handleNavigate)("back",s.value,unref(t)))},[_hoisted_3$g,createTextVNode("所有")])])):createCommentVNode("",!0),createVNode(AsideFilterBox,{name:e.data.code,data:e.data.children,"selected-item":s.value},null,8,["name","data","selected-item"])],2))}}),AsideFilterBlock=_export_sfc(_sfc_main$j,[["__scopeId","data-v-0dfd6076"]]),sortItems=[{label:"综合",value:["0"]},{label:"出版时间",name:"pubTime",value:["1","2"],type:"switch",switchItem:{1:"最早出版",2:"最新出版"}},{label:"最新上架",value:["3"]},{label:"店铺",value:["4"]}],priceSelectList={label:"价格",value:["7","8","5","6"],type:"select",children:[{label:"总价从低到高",tips:"",value:["7"]},{label:"总价从高到低",tips:"",value:["8"]},{label:"价格从低到高",tips:"(不含运费)",value:["5"]},{label:"价格从高到低",tips:"(不含运费)",value:["6"]}]},sortItemsSold=[{label:"综合",value:["0"]},{label:"售罄时间",value:["10"]},{label:"出版时间",name:"pubTime",value:["1","2"],type:"switch",switchItem:{1:"最早出版",2:"最新出版"}},{label:"价格",name:"soldPrice",value:["5","6"],type:"switch",switchItem:{5:"价格从低到高",6:"价格从高到低"}}],qualityList={"100~":"全新","~99":"古 | 旧 | 二手","95~":"九五品以上","90~":"九品以上","85~":"八五品以上","80~":"八品以上","70~":"七品以上","~":"全部品相"},areaData=[["北京","上海","广州","深圳","杭州","海外","江浙沪","珠三角","京津冀","东三省","港澳台","江浙沪皖"],["长沙","长春","成都","重庆","大连","东莞","佛山","福州","贵阳","合肥","金华","济南","嘉兴","昆明","宁波","南昌","南京","青岛","泉州","沈阳","苏州","天津","温州","无锡","武汉","西安","厦门","郑州","中山","石家庄","哈尔滨"],["安徽","福建","甘肃","广东","广西","贵州","海南","河北","河南","湖北","湖南","江苏","江西","吉林","辽宁","宁夏","青海","山东","山西","陕西","云南","四川","西藏","新疆","浙江","澳门","香港","台湾","内蒙古","黑龙江"]],deliverTimeItems=[{label:"当日发",value:"today"},{label:"24小时发",value:"24h"}],postageTagOptions=[{label:"包邮",value:"freeShipping"},{label:"满包邮",value:"freeConditionShipping"}],_withScopeId$e=e=>(pushScopeId("data-v-66728af1"),e=e(),popScopeId(),e),_hoisted_1$i={class:"top-filter-wrap"},_hoisted_2$i={class:"main-filter"},_hoisted_3$f={class:"main-filter-left"},_hoisted_4$f={class:"order-group"},_hoisted_5$d=["onClick"],_hoisted_6$d={class:"indicator-box"},_hoisted_7$c={key:1},_hoisted_8$b=_withScopeId$e(()=>createBaseVNode("i",{class:"k-iconfont k-icon-xiajiantou jiantou"},null,-1)),_hoisted_9$c=_withScopeId$e(()=>createBaseVNode("i",{class:"k-iconfont k-icon-shangjiantou jiantou"},null,-1)),_hoisted_10$b={class:"select-item-wrap"},_hoisted_11$b=["onClick"],_hoisted_12$a={class:"price-input-box"},_hoisted_13$a=_withScopeId$e(()=>createBaseVNode("span",{class:"split-line"},null,-1)),_hoisted_14$9={class:"price-input-box"},_hoisted_15$9={class:"main-filter-right"},_hoisted_16$7={class:"select-group"},_hoisted_17$6={class:"select-label"},_hoisted_18$5=_withScopeId$e(()=>createBaseVNode("i",{class:"k-iconfont k-icon-xiajiantou jiantou"},null,-1)),_hoisted_19$5=_withScopeId$e(()=>createBaseVNode("i",{class:"k-iconfont k-icon-shangjiantou jiantou"},null,-1)),_hoisted_20$5={class:"quality-list"},_hoisted_21$5=["onClick"],_hoisted_22$5=_withScopeId$e(()=>createBaseVNode("span",{class:"select-label"},"发货地",-1)),_hoisted_23$5=_withScopeId$e(()=>createBaseVNode("i",{class:"k-iconfont k-icon-xiajiantou jiantou"},null,-1)),_hoisted_24$5=_withScopeId$e(()=>createBaseVNode("i",{class:"k-iconfont k-icon-shangjiantou jiantou"},null,-1)),_hoisted_25$5={class:"ship-place-list"},_hoisted_26$5=["onClick"],_hoisted_27$4={class:"ship-list-item"},_hoisted_28$4={key:0,class:"clean"},_hoisted_29$3=_withScopeId$e(()=>createBaseVNode("i",{class:"k-iconfont k-icon-guanbi"},null,-1)),_hoisted_30$3=[_hoisted_29$3],_hoisted_31$3=_withScopeId$e(()=>createBaseVNode("span",null,"结果中筛选",-1)),_hoisted_32$3={key:0,class:"k-iconfont k-icon-shangjiantou jiantou"},_hoisted_33$3={key:1,class:"k-iconfont k-icon-xiajiantou jiantou"},_hoisted_34$3={class:"mini-pagination-box"},_hoisted_35$3={class:"current-page-num"},_hoisted_36$3={class:"extra-filter"},_hoisted_37$1={class:"input-item"},_hoisted_38$1=_withScopeId$e(()=>createBaseVNode("span",{class:"input-label"},"排除关键词",-1)),_hoisted_39$1={class:"input-item"},_hoisted_40$1=_withScopeId$e(()=>createBaseVNode("span",{class:"input-label"},"商品名称",-1)),_hoisted_41$1={class:"input-item"},_hoisted_42$1=_withScopeId$e(()=>createBaseVNode("span",{class:"input-label"},"作者",-1)),_hoisted_43$1={class:"input-item"},_hoisted_44$1=_withScopeId$e(()=>createBaseVNode("span",{class:"input-label"},"出版社",-1)),_hoisted_45$1={class:"input-item"},_hoisted_46$1=_withScopeId$e(()=>createBaseVNode("span",{class:"input-label"},"店铺",-1)),_hoisted_47$1=["onClick"],_hoisted_48$1={key:0,class:"k-iconfont k-icon-duoxuankuanggouxuan"},_hoisted_49$1={key:1,class:"k-iconfont k-icon-duoxuankuangweigouxuan"},_hoisted_50$1=["textContent"],_hoisted_51$1=["onClick"],_hoisted_52$1={key:0,class:"k-iconfont k-icon-duoxuankuanggouxuan"},_hoisted_53$1={key:1,class:"k-iconfont k-icon-duoxuankuangweigouxuan"},_hoisted_54$1=["textContent"],_sfc_main$i=defineComponent({name:"TopFilter",__name:"index",props:{currentPage:{type:Number,default:1},pageCount:{type:Number,default:0}},emits:["currentChange"],setup(e,{emit:t}){const o=e,s=t,l=b=>{let i;switch(b){case"prev":if(o.currentPage==1)return;i=o.currentPage-1;break;case"next":if(o.currentPage>=o.pageCount)return;i=o.currentPage+1;break}s("currentChange",i)},c=useQueryStore();let n={...c.query,page:1};const a=ref(n.dataType==1?1:0),r=computed(()=>a.value==1?sortItemsSold:sortItems);let u=n.actionPath||"";const g=(b,i)=>{if(u){const P=u.split(","),N=P.indexOf(b);N!==-1&&P.splice(N,1),i==="update"&&P.push(b),u=P.join(",")}else i==="update"&&(u=b)},f=ref(n.sortType?String(n.sortType):"0"),k=({value:b,type:i,name:P})=>{const[N]=b;if(f.value===N&&i!=="switch")return;let ee=N;if(i==="switch"){if(P==="pubTime")switch(f.value){case"1":ee="2";break;case"2":ee="1";break;default:ee="2";break}if(P==="soldPrice")switch(f.value){case"5":ee="6";break;case"6":ee="5";break;default:ee="5";break}}f.value=ee,g("sortType","update"),c.mergeQuery({sortType:Number(f.value),page:1,actionPath:u},"order")},d=ref(!1),_=ref(0);priceSelectList.value.includes(f.value)&&priceSelectList.children.forEach((b,i)=>{b.value.includes(f.value)&&(_.value=i)});const B=({value:b},i)=>{const[P]=b;d.value=!1,f.value!==P&&(f.value=P,_.value=i,g("sortType","update"),c.mergeQuery({sortType:Number(f.value),page:1,actionPath:u},"order"))},v=ref(!1),h=()=>{var i;return((i=n.price)==null?void 0:i.split("~"))||["",""]},p=ref(h()[0]),y=ref(h()[1]),C=b=>{let i=b==="priceFrom"?p.value:y.value;if(i=i.replace(/[^0-9.]/g,""),i.indexOf(".")===0&&(i="0"+i),(i.match(/\./g)||[]).length>1){let N=i.lastIndexOf(".");i=i.slice(0,N)}const P=i.split(".");if(P.length===2&&P[1].length>2){const N=P[1].slice(0,2);i=P[0]+"."+N}switch(Number(i)>9999999999e-2&&(i="99999999.99"),b){case"priceFrom":p.value=i;break;case"priceEnd":y.value=i;break}},D=ref(),q=ref(),K=()=>{if(p.value&&y.value&&Number(p.value)>Number(y.value)){let b=p.value;p.value=y.value,y.value=b}if(Number(p.value)||Number(y.value)){const[b,i]=[p.value,y.value];p.value=b?Number(b).toFixed(2):"",y.value=i?Number(i).toFixed(2):"",g("price","update"),c.mergeQuery({price:"".concat(p.value,"~").concat(y.value),page:1,actionPath:u})}else{const[b,i]=h();if(b||i){delete n.price,g("price","delete");const P={...n,page:1,actionPath:u};P.actionPath===""&&delete P.actionPath,c.setQuery(P)}}v.value=!1,D.value.blur(),q.value.blur()},H=ref(n.isNewBook||!1),Q=ref(!1),J=ref(n.quality||""),x=b=>{if(Q.value=!1,b==="~"){if(J.value==="")return;J.value="",g("quality","delete");const i={...c.query,page:1,actionPath:u};delete i.quality,delete i.quaSelect,c.setQuery(i);return}J.value!==b&&(J.value=b,g("quality","update"),c.mergeQuery({quality:J.value,quaSelect:2,page:1,actionPath:u}))},E=computed(()=>qualityList[J.value]||""),L=ref(n.deliveryAreaName||""),Z=ref(!1),ie=b=>{if(L.value===b){L.value="",delete n.deliveryAreaName,g("deliveryAreaName","delete");const i={...n,page:1,actionPath:u};i.actionPath===""&&delete i.actionPath,c.setQuery(i)}else L.value=b,g("deliveryAreaName","update"),c.mergeQuery({deliveryAreaName:L.value,page:1,actionPath:u})},ce=ref(n.deliverTime||""),M=b=>{const i=new Set(ce.value.length?ce.value.split(","):[]);if(i.has(b)?i.delete(b):i.add(b),ce.value=Array.from(i).join(","),i.size===0){delete n.deliverTime,g("deliverTime","delete");const P={...n,page:1,actionPath:u};P.actionPath===""&&delete P.actionPath,c.setQuery(P)}else g("deliverTime","update"),c.mergeQuery({deliverTime:ce.value,page:1,actionPath:u})},ue=ref(n.postageTags||""),pe=b=>{const i=new Set(ue.value.length?ue.value.split(","):[]);if(i.has(b)?i.delete(b):i.add(b),ue.value=Array.from(i).join(","),i.size===0){delete n.postageTags,g("postageTags","delete");const P={...n,page:1,actionPath:u};P.actionPath===""&&delete P.actionPath,c.setQuery(P)}else g("postageTags","update"),c.mergeQuery({postageTags:ue.value,page:1,actionPath:u})},$=ref(!0),m=()=>{$.value=!$.value},I=ref({exKey:n.exKey||"",itemName:n.itemName||"",author:n.author||"",press:n.press||"",shopName:n.shopName||""});let T=JSON.parse(JSON.stringify(I.value));const R=b=>{b.target.nodeName==="INPUT"&&b.target.blur();const i={};for(const N in I.value){const ee=I.value[N].replace(/^\s+|\s+$/g,"");ee===""?(delete n[N],w(N),g(N,"delete")):ee!==T[N]&&(i[N]=ee,w(N),g(N,"update"))}const P={...n,...i,page:1,actionPath:u};P.actionPath===""&&delete P.actionPath,c.setQuery(P)};function w(b){switch(b){case"author":n.tplParams&&delete n.tplParams.authorNum;break;case"press":n.tplParams&&delete n.tplParams.pressNum;break;case"shopName":n.shopId&&delete n.shopId;break}}watch(()=>c.query,b=>{var i;if(b){n=b,f.value=n.sortType?String(n.sortType):"0",J.value=n.quality||"";const[P,N]=((i=n.price)==null?void 0:i.split("~"))||["",""];p.value=P,y.value=N,L.value=n.deliveryAreaName||"",I.value.exKey=n.exKey||"",I.value.itemName=n.itemName||"",I.value.author=n.author||"",I.value.press=n.press||"",I.value.shopName=n.shopName||"",u=n.actionPath||"",T=JSON.parse(JSON.stringify(I.value)),a.value=n.dataType==1?1:0,H.value=n.isNewBook||!1,ce.value=n.deliverTime||"",ue.value=n.postageTags||""}});const j=isTouchScreen(),oe=b=>{if(j)switch(b){case"showPriceSelectList":d.value=!d.value,v.value=!1,Q.value=!1,Z.value=!1;break;case"showPriceConfirmBtn":d.value=!1,Q.value=!1,Z.value=!1;break;case"showQualityList":Q.value=!Q.value,d.value=!1,v.value=!1,Z.value=!1;break;case"showDeliveryList":Z.value=!Z.value,d.value=!1,v.value=!1,Q.value=!1;break}},re=()=>{j&&(d.value=!1,v.value=!1,Q.value=!1,Z.value=!1)};return document.addEventListener("click",re),onBeforeUnmount(()=>{document.removeEventListener("click",re)}),(b,i)=>{const P=ElInput;return openBlock(),createElementBlock("div",_hoisted_1$i,[createBaseVNode("div",_hoisted_2$i,[createBaseVNode("div",_hoisted_3$f,[createBaseVNode("div",_hoisted_4$f,[(openBlock(!0),createElementBlock(Fragment,null,renderList(r.value,(N,ee)=>(openBlock(),createElementBlock("div",{key:ee,class:normalizeClass(["filter-item",{active:N.value.includes(f.value)}]),onClick:he=>k(N)},[N.type==="switch"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",null,toDisplayString(N.value.includes(f.value)?N.switchItem[f.value]:N.label),1),createBaseVNode("div",_hoisted_6$d,[createBaseVNode("i",{class:normalizeClass(["k-iconfont k-icon-shurukuang-jiantou-shouqi",{light:f.value==="1"&&N.name==="pubTime"||f.value==="5"&&N.name==="soldPrice"}])},null,2),createBaseVNode("i",{class:normalizeClass(["k-iconfont k-icon-shurukuang-jiantou-zhankai",{light:f.value==="2"&&N.name==="pubTime"||f.value==="6"&&N.name==="soldPrice"}])},null,2)])],64)):(openBlock(),createElementBlock("span",_hoisted_7$c,toDisplayString(N.label),1))],10,_hoisted_5$d))),128)),a.value!=1?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["filter-item select-type",{active:unref(priceSelectList).value.includes(f.value),"like-hover":d.value}]),onMouseenter:i[0]||(i[0]=N=>!unref(j)&&(d.value=!0)),onMouseleave:i[1]||(i[1]=N=>!unref(j)&&(d.value=!1)),onClick:i[2]||(i[2]=withModifiers(N=>oe("showPriceSelectList"),["stop"]))},[createBaseVNode("span",null,toDisplayString(unref(priceSelectList).value.includes(f.value)?unref(priceSelectList).children[_.value].label:unref(priceSelectList).label),1),_hoisted_8$b,_hoisted_9$c,createBaseVNode("ul",_hoisted_10$b,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(priceSelectList).children,(N,ee)=>(openBlock(),createElementBlock("li",{key:ee,class:"select-item",onClick:withModifiers(he=>B(N,ee),["stop"])},toDisplayString(N.label+N.tips),9,_hoisted_11$b))),128))])],34)):createCommentVNode("",!0)]),createBaseVNode("div",{class:normalizeClass(["price-box",{"like-hover":v.value}]),onMouseenter:i[9]||(i[9]=N=>!unref(j)&&(v.value=!0)),onMouseleave:i[10]||(i[10]=N=>!unref(j)&&(v.value=!1)),onClick:i[11]||(i[11]=withModifiers(N=>oe("showPriceConfirmBtn"),["stop"]))},[createBaseVNode("div",_hoisted_12$a,[withDirectives(createBaseVNode("input",{ref_key:"priceStartRef",ref:D,class:"price-input-item","onUpdate:modelValue":i[3]||(i[3]=N=>p.value=N),placeholder:"¥",onInput:i[4]||(i[4]=N=>C("priceFrom")),onKeyup:withKeys(K,["enter"]),onFocus:i[5]||(i[5]=N=>unref(j)&&(v.value=!0))},null,544),[[vModelText,p.value,void 0,{trim:!0}]])]),_hoisted_13$a,createBaseVNode("div",_hoisted_14$9,[withDirectives(createBaseVNode("input",{ref_key:"priceEndRef",ref:q,class:"price-input-item","onUpdate:modelValue":i[6]||(i[6]=N=>y.value=N),placeholder:"¥",onInput:i[7]||(i[7]=N=>C("priceEnd")),onKeyup:withKeys(K,["enter"]),onFocus:i[8]||(i[8]=N=>unref(j)&&(v.value=!0))},null,544),[[vModelText,y.value,void 0,{trim:!0}]])]),withDirectives(createBaseVNode("button",{class:"confirm-button",onClick:K}," 筛选 ",512),[[vShow,v.value]])],34)]),createBaseVNode("div",_hoisted_15$9,[createBaseVNode("div",_hoisted_16$7,[H.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["quality-select select-box",{active:E.value,"like-hover":Q.value}]),onMouseenter:i[12]||(i[12]=N=>!unref(j)&&(Q.value=!0)),onMouseleave:i[13]||(i[13]=N=>!unref(j)&&(Q.value=!1)),onClick:i[14]||(i[14]=withModifiers(N=>oe("showQualityList"),["stop"]))},[createBaseVNode("span",_hoisted_17$6,toDisplayString(E.value||"品相"),1),_hoisted_18$5,_hoisted_19$5,createBaseVNode("ul",_hoisted_20$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qualityList),(N,ee)=>(openBlock(),createElementBlock("li",{class:"quality-item",key:ee,onClick:withModifiers(he=>x(ee),["stop"])},toDisplayString(N),9,_hoisted_21$5))),128))])],34)),a.value!=1?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["ship-place-select select-box",{active:L.value,"like-hover":Z.value}]),onMouseenter:i[15]||(i[15]=N=>!unref(j)&&(Z.value=!0)),onMouseleave:i[16]||(i[16]=N=>!unref(j)&&(Z.value=!1)),onClick:i[17]||(i[17]=withModifiers(N=>oe("showDeliveryList"),["stop"]))},[_hoisted_22$5,_hoisted_23$5,_hoisted_24$5,createBaseVNode("div",_hoisted_25$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(areaData),(N,ee)=>(openBlock(),createElementBlock("div",{class:"ship-list-module",key:ee},[(openBlock(!0),createElementBlock(Fragment,null,renderList(N,(he,ye)=>(openBlock(),createElementBlock("span",{key:ye,class:normalizeClass(["ship-list-box",{active:he===L.value,isFirstLine:ee===0}]),style:normalizeStyle({width:he==="江浙沪皖"?"auto":""}),onClick:withModifiers(ve=>ie(he),["stop"])},[createBaseVNode("span",_hoisted_27$4,[createTextVNode(toDisplayString(he)+" ",1),he==L.value?(openBlock(),createElementBlock("div",_hoisted_28$4,_hoisted_30$3)):createCommentVNode("",!0)])],14,_hoisted_26$5))),128))]))),128))])],34)):createCommentVNode("",!0)]),createBaseVNode("div",{class:normalizeClass(["filter-from-result",{active:$.value}]),onClick:m},[_hoisted_31$3,$.value?(openBlock(),createElementBlock("i",_hoisted_32$3)):(openBlock(),createElementBlock("i",_hoisted_33$3))],2),createBaseVNode("div",_hoisted_34$3,[createBaseVNode("i",{class:normalizeClass(["k-iconfont k-icon-fenye_zuojiantou",{disable:e.currentPage===1}]),onClick:i[18]||(i[18]=N=>l("prev"))},null,2),createBaseVNode("span",null,[createBaseVNode("i",_hoisted_35$3,toDisplayString(e.currentPage),1),createTextVNode(" / "+toDisplayString(e.pageCount>0?e.pageCount:1),1)]),createBaseVNode("i",{class:normalizeClass(["k-iconfont k-icon-fenye_youjiantou",{disable:e.currentPage===e.pageCount}]),onClick:i[19]||(i[19]=N=>l("next"))},null,2)])])]),withDirectives(createBaseVNode("div",_hoisted_36$3,[createBaseVNode("div",_hoisted_37$1,[_hoisted_38$1,createVNode(P,{class:"k-input",modelValue:I.value.exKey,"onUpdate:modelValue":i[20]||(i[20]=N=>I.value.exKey=N),maxlength:"50",onKeyup:withKeys(R,["enter"])},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_39$1,[_hoisted_40$1,createVNode(P,{class:"k-input",modelValue:I.value.itemName,"onUpdate:modelValue":i[21]||(i[21]=N=>I.value.itemName=N),maxlength:"50",onKeyup:withKeys(R,["enter"])},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_41$1,[_hoisted_42$1,createVNode(P,{class:"k-input",modelValue:I.value.author,"onUpdate:modelValue":i[22]||(i[22]=N=>I.value.author=N),maxlength:"50",onKeyup:withKeys(R,["enter"])},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_43$1,[_hoisted_44$1,createVNode(P,{class:"k-input",modelValue:I.value.press,"onUpdate:modelValue":i[23]||(i[23]=N=>I.value.press=N),maxlength:"50",onKeyup:withKeys(R,["enter"])},null,8,["modelValue"])]),a.value!=1?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",_hoisted_45$1,[_hoisted_46$1,createVNode(P,{class:"k-input",modelValue:I.value.shopName,"onUpdate:modelValue":i[24]||(i[24]=N=>I.value.shopName=N),maxlength:"50",onKeyup:withKeys(R,["enter"])},null,8,["modelValue"])]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(postageTagOptions),(N,ee)=>(openBlock(),createElementBlock("div",{key:N.value,class:normalizeClass(["as-checkbox",{"ml-4":ee===0}]),onClick:he=>pe(N.value)},[ue.value.indexOf(N.value)!==-1?(openBlock(),createElementBlock("i",_hoisted_48$1)):(openBlock(),createElementBlock("i",_hoisted_49$1)),createBaseVNode("span",{class:"stock-label",textContent:toDisplayString(N.label)},null,8,_hoisted_50$1)],10,_hoisted_47$1))),128)),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(deliverTimeItems),N=>(openBlock(),createElementBlock("div",{key:N.value,class:"as-checkbox",onClick:ee=>M(N.value)},[ce.value.indexOf(N.value)!==-1?(openBlock(),createElementBlock("i",_hoisted_52$1)):(openBlock(),createElementBlock("i",_hoisted_53$1)),createBaseVNode("span",{class:"stock-label",textContent:toDisplayString(N.label)},null,8,_hoisted_54$1)],8,_hoisted_51$1))),128))],64)):createCommentVNode("",!0),createBaseVNode("div",{class:"filter-btn",onClick:R},"筛选")],512),[[vShow,$.value]])])}}}),TopFilter=_export_sfc(_sfc_main$i,[["__scopeId","data-v-66728af1"]]),_withScopeId$d=e=>(pushScopeId("data-v-703edbe7"),e=e(),popScopeId(),e),_hoisted_1$h={class:"isbn-info-wrap"},_hoisted_2$h=_withScopeId$d(()=>createBaseVNode("h6",{class:"isbn-title"},"图书条目",-1)),_hoisted_3$e=["href"],_hoisted_4$e={key:0,class:"item-info book-name"},_hoisted_5$c={class:"zhulu-info"},_hoisted_6$c={key:0,class:"item-info"},_hoisted_7$b={key:1,class:"item-info"},_hoisted_8$a={key:2,class:"item-info"},_hoisted_9$b={key:3,class:"item-info"},_hoisted_10$a={key:4,class:"item-info"},_hoisted_11$a={class:"isbn-total"},_hoisted_12$9=["href"],_hoisted_13$9=_withScopeId$d(()=>createBaseVNode("span",null,"查看全部",-1)),_hoisted_14$8={class:"total-num"},_hoisted_15$8=_withScopeId$d(()=>createBaseVNode("span",null,"个条目",-1)),_sfc_main$h=defineComponent({name:"IsbnInfo",__name:"index",props:{isbnSearchItems:{type:Array,default:()=>[]},isbnTotal:{type:Number,default:0},isbnShowMoreLink:{type:String}},setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$h,[_hoisted_2$h,(openBlock(!0),createElementBlock(Fragment,null,renderList(e.isbnSearchItems,(s,l)=>{var c;return openBlock(),createElementBlock("p",{class:"isbn-item",key:l},[createBaseVNode("a",{class:"item-link",href:(c=s.link)==null?void 0:c.pc,target:"_blank"},[s.bookName?(openBlock(),createElementBlock("span",_hoisted_4$e,toDisplayString(s.bookName)+toDisplayString(s.subTitle?": "+s.subTitle:""),1)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$c,[s.author?(openBlock(),createElementBlock("span",_hoisted_6$c,toDisplayString(s.author),1)):createCommentVNode("",!0),s.press?(openBlock(),createElementBlock("span",_hoisted_7$b,toDisplayString(s.press),1)):createCommentVNode("",!0),s.pubDate?(openBlock(),createElementBlock("span",_hoisted_8$a,toDisplayString(s.pubDate),1)):createCommentVNode("",!0),s.binding?(openBlock(),createElementBlock("span",_hoisted_9$b,toDisplayString(s.binding),1)):createCommentVNode("",!0),s.prodNum?(openBlock(),createElementBlock("span",_hoisted_10$a,"("+toDisplayString(s.prodNum)+")",1)):createCommentVNode("",!0)])],8,_hoisted_3$e)])}),128)),createBaseVNode("p",_hoisted_11$a,[createBaseVNode("a",{class:"item-link",href:e.isbnShowMoreLink},[_hoisted_13$9,createBaseVNode("span",_hoisted_14$8,toDisplayString(e.isbnTotal),1),_hoisted_15$8],8,_hoisted_12$9)])]))}}),IsbnInfo=_export_sfc(_sfc_main$h,[["__scopeId","data-v-703edbe7"]]),_withScopeId$c=e=>(pushScopeId("data-v-22d58855"),e=e(),popScopeId(),e),_hoisted_1$g={class:"isbn-info-skeleton"},_hoisted_2$g=_withScopeId$c(()=>createBaseVNode("div",{class:"skeleton-title"},null,-1)),_hoisted_3$d=_withScopeId$c(()=>createBaseVNode("div",{class:"skeleton-content"},null,-1)),_hoisted_4$d=_withScopeId$c(()=>createBaseVNode("div",{class:"skeleton-total"},null,-1)),_hoisted_5$b=[_hoisted_2$g,_hoisted_3$d,_hoisted_4$d],_sfc_main$g=defineComponent({name:"IsbnInfoSkeleton",__name:"skeleton",setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$g,_hoisted_5$b))}}),IsbnInfoSkeleton=_export_sfc(_sfc_main$g,[["__scopeId","data-v-22d58855"]]),DefaultResponseErrMsg="服务器开小差了,我们正在抓紧恢复中~",service=axios.create({baseURL:"/",timeout:1e4});service.interceptors.request.use(e=>e,e=>Promise.reject(new CustomErrorExcutor({from:"request",type:"other",message:"抱歉,您的请求出错了。错误信息[".concat(e.message,"]"),error:e})));service.interceptors.response.use(e=>{const t=e.data;return(t==null?void 0:t.status)===1||(t==null?void 0:t.status)===!0?t:Promise.reject(new CustomErrorExcutor({from:"response",type:"data",message:(t==null?void 0:t.message)||(t==null?void 0:t.errMessage)||DefaultResponseErrMsg,data:t}))},e=>Promise.reject(formatResponseError(e)));class CustomErrorExcutor{constructor(t){ge(this,"from");ge(this,"type");ge(this,"message");ge(this,"error");ge(this,"data");this.from=t.from,this.type=t.type,this.message=t.message,t.error&&(this.error=t.error),t.data&&(this.data=t.data)}}const formatResponseError=e=>{const t={from:"response",type:"status",typeDetail:"",message:"",error:e},o=e.message;return e.response?(o!=null&&o.indexOf("timeout")!=-1?(t.message="您的请求超时,可能是由于您当前的网络不稳定,请重试~",t.typeDetail="netError"):o!=null&&o.indexOf("Network Error")!=-1?(t.message="您的网络出错了,可能是由于您当前的网络不稳定,请重试~",t.typeDetail="netError"):o!=null&&o.indexOf("Request failed with status")!=-1?(t.message="抱歉,您的请求处理失败,请稍后再试",t.typeDetail="serverError"):(t.message="抱歉,您的请求出错了。 错误信息[".concat(o,"]"),t.typeDetail="serverError"),t.type="status"):e.name==="CanceledError"?(t.type="cancel",t.message="请求被取消"):e.request?o==="Network Error"?(t.type="network",t.message="您的网络出错了,可能是由于您当前的网络不稳定,请重试~"):o.indexOf("timeout")!==-1?(t.type="timeout",t.message="您的请求超时,可能是由于您当前的网络不稳定,请重试~"):(t.type="other",t.message="抱歉,您的请求出错了。错误信息[".concat(o,"]")):(t.type="other",t.message="抱歉,您的请求出错了。错误信息[".concat(o,"]")),t};(function(e){e()})(function(){function e(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function t(v,h){for(var p=0;p"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}function a(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function r(v,h){if(h&&(typeof h=="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return a(v)}function u(v){var h=n();return function(){var y=l(v),C;if(h){var D=l(this).constructor;C=Reflect.construct(y,arguments,D)}else C=y.apply(this,arguments);return r(this,C)}}function g(v,h){for(;!Object.prototype.hasOwnProperty.call(v,h)&&(v=l(v),v!==null););return v}function f(){return typeof Reflect<"u"&&Reflect.get?f=Reflect.get.bind():f=function(h,p,y){var C=g(h,p);if(C){var D=Object.getOwnPropertyDescriptor(C,p);return D.get?D.get.call(arguments.length<3?h:y):D.value}},f.apply(this,arguments)}var k=function(){function v(){e(this,v),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return o(v,[{key:"addEventListener",value:function(p,y,C){p in this.listeners||(this.listeners[p]=[]),this.listeners[p].push({callback:y,options:C})}},{key:"removeEventListener",value:function(p,y){if(p in this.listeners){for(var C=this.listeners[p],D=0,q=C.length;D"u")C=new Error("This operation was aborted"),C.name="AbortError";else try{C=new DOMException("signal is aborted without reason")}catch(D){C=new Error("This operation was aborted"),C.name="AbortError"}this.signal.reason=C,this.signal.dispatchEvent(y)}},{key:"toString",value:function(){return"[object AbortController]"}}]),v}();typeof Symbol<"u"&&Symbol.toStringTag&&(_.prototype[Symbol.toStringTag]="AbortController",d.prototype[Symbol.toStringTag]="AbortSignal");function B(v){return v.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof v.Request=="function"&&!v.Request.prototype.hasOwnProperty("signal")||!v.AbortController}(function(v){B(v)&&(v.AbortController=_,v.AbortSignal=d)})(typeof self<"u"?self:commonjsGlobal)});class RequestUrls{}ge(RequestUrls,"FETCH_DISCOUNT_COUPON","/pc-gw/store-web/pc/v1/coupon/batchGetCouponInfos"),ge(RequestUrls,"CHECK_CAN_CREATE_SUBSCRIPTION","/pc-gw/user-service/client/pc/subscription/check");const ApiGetNormalFilters=(e,t,o)=>{const s=new AbortController;return[()=>service({url:"/pc-gw/search-web/client/pc/product/".concat(t,"/normal/facet"),method:"GET",params:e,signal:s.signal,...o}),()=>{s.abort()}]},ApiGetTplFilters=(e,t,o)=>{const s=new AbortController;return[()=>service({url:"/pc-gw/search-web/client/pc/product/".concat(t,"/more/facet"),method:"GET",params:e,signal:s.signal,...o}),()=>{s.abort()}]},ApiGetItemList=(e,t,o)=>{const s=new AbortController;return[()=>{const n="/pc-gw/search-web/client/pc/product/".concat(t,"/list");if(location.href.includes("mockSentinelAction")){const a=location.href.split("mockSentinelAction=")[1];e.mockSentinelAction=a}return service({url:n,method:"GET",params:e,signal:s.signal,...o})},()=>{s.abort()}]},ApiGetIsbnInfo=(e,t)=>{const o=new AbortController;return[()=>service({url:"/pc-gw/search-web/client/pc/product/keyword/isbnList",method:"GET",params:e,signal:o.signal,...t}),()=>{o.abort()}]},ApiMoreInfo=(e,t)=>[()=>service({url:"/pc-gw/search-web/client/pc/product/".concat(e.searchType,"/more/").concat(e.filterType,"/facet"),method:"GET",params:e,...t})],ApiDiscountCoupon=e=>{const t=new AbortController;return[()=>service({url:RequestUrls.FETCH_DISCOUNT_COUPON,method:"POST",data:e,signal:t.signal}),()=>{t.abort()}]},ApiGetEarliestCartItem=e=>{const t=new AbortController;return[()=>service({url:"/pc-gw/cart-web/pc/v1/cart/earlyCartItem",method:"GET",signal:t.signal,...e}),()=>{t.abort()}]},ApiGetShopRecommendItems=(e,t,o)=>{const s=new AbortController;return[()=>service({url:e.api,method:e.method,params:{...e.params,...t},...e.timeout!=null?{timeout:e.timeout}:{},signal:s.signal,...o}),()=>{s.abort()}]},ApiMoveEarliestCartItemToFavorites=(e,t)=>{const o=new AbortController;return[()=>service({url:"/pc-gw/cart-web/pc/v1/cart/cartToFavBook",method:"POST",signal:o.signal,data:e,...t}),()=>{o.abort()}]},ApiGetSearchRecommendWords=(e,t)=>{const o=new AbortController;return[()=>service({url:"/pc-gw/search-web/client/pc/v2/api/word/recommend",method:"GET",params:e,signal:o.signal,...t}),()=>{o.abort()}]},useVisibleRecommendWords=(e,t,o={})=>{const{itemGap:s=10,itemHorizontalPadding:l=24,itemHorizontalBorder:c=2,itemFont:n="13px sans-serif"}=o,a=ref(0);let r=null;const g=document.createElement("canvas").getContext("2d");g&&(g.font=n);const f=_=>g?g.measureText(_).width+l+c:0,k=()=>{t.value&&(a.value=t.value.clientWidth)},d=computed(()=>{var h;const _=(h=e.value)!=null?h:[];if(!_.length||!a.value)return[];const B=[];let v=0;for(const p of _){const y=f(p.recommendWord),C=B.length?v+s+y:v+y;if(C>a.value)break;B.push(p),v=C}return B});return onMounted(()=>{t.value&&(r=new ResizeObserver(()=>{k()}),r.observe(t.value),k())}),onBeforeUnmount(()=>{r&&t.value&&r.unobserve(t.value),r=null}),{visibleRecommendWordsList:d,updateRecommondKeysWidth:k}};function useExposure(e,t={}){const{threshold:o=.7,duration:s=1e3,once:l=!0,autoStart:c=!0}=t,n=ref(null),a=ref(!1);let r=null,u=null;const g=()=>{r&&(clearTimeout(r),r=null)},f=()=>{u&&n.value&&(u.unobserve(n.value),u.disconnect()),u=null,g()},k=()=>{if(f(),!n.value){console.warn('useExposure: targetRef is null. Ensure ref="targetRef" is added to the element.');return}u=new IntersectionObserver(_=>{_.forEach(B=>{if(B.isIntersecting&&B.intersectionRatio>=o){if(l&&a.value)return;r||(r=setTimeout(()=>{e(),a.value=!0,l&&f()},s))}else g()})},{threshold:[0,o,1]}),u.observe(n.value)},d=async()=>{a.value=!1,g(),await nextTick(),k()};return onMounted(()=>{c&&nextTick(()=>{setTimeout(()=>k(),0)})}),onUnmounted(()=>{f()}),{targetRef:n,hasExposed:a,reset:d}}const _hoisted_1$f={class:"recommond-bar-tips"},_hoisted_2$f={key:0,class:"recommond-bar-tips-tiny"},_hoisted_3$c=["onClick","title"],_sfc_main$f=defineComponent({name:"RecommondBar",__name:"index",props:{hasExactData:{type:Boolean}},setup(e,{expose:t}){const o=useQueryStore(),s=ref([]),l=ref(!1),c=ref(null),n=getCurrentInstance(),a=(n==null?void 0:n.appContext.config.globalProperties.$sites)||{},r=ref(null),{visibleRecommendWordsList:u,updateRecommondKeysWidth:g}=useVisibleRecommendWords(s,r),{targetRef:f,reset:k}=useExposure(()=>{window.trackPro.send("c_schResult_ux",{scene:"Recommend_Word_Exposure",key:o.query.keyword,recommend:u.value.map(v=>v.recommendWord).join(","),sortType:o.query.sortType||"",selfpage:"bkschResult"})},{threshold:0,duration:0,autoStart:!1,once:!0}),d=()=>{s.value=[],l.value=!1;const[v]=ApiGetSearchRecommendWords({query:o.query.keyword,scene:"productSearch"},{});v().then(h=>{var y;console.log(h);const p=((y=h==null?void 0:h.data)==null?void 0:y.recommendWordList)||[];s.value=p,l.value=!0,nextTick(()=>{g(),l.value&&k()})}).catch(()=>{l.value=!1})},_=()=>s.value.map(v=>String((v==null?void 0:v.recommendWord)||"").trim()).filter(v=>!!v).join(",");onUnmounted(()=>{c.value&&(c.value.disconnect(),c.value=null)}),t({getSearchRecommendWords:d,getRecommendWordsJoined:_});const B=v=>{window.trackPro.send("c_schResult_ux",{scene:"Recommend_Word_Click",key:o.query.keyword,recommend:v,selfpage:"bkschResult"}),window.open("".concat(a.s_search,"product/?keyword=").concat(v,"&querySource=recommend"),"_blank")};return(v,h)=>(openBlock(),createElementBlock("div",{ref_key:"targetRef",ref:f,class:normalizeClass(["recommond-bar",{"no-exact-data":!v.hasExactData}])},[createBaseVNode("span",_hoisted_1$f,toDisplayString(v.hasExactData?"当前结果较少,为您推荐相关商品":"抱歉,没有找到商品,为您推荐相关商品"),1),unref(u).length>0?(openBlock(),createElementBlock("span",_hoisted_2$f,"也可以试试搜:")):createCommentVNode("",!0),createBaseVNode("ul",{class:"recommond-keys",ref_key:"recommondKeysRef",ref:r},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(u),(p,y)=>(openBlock(),createElementBlock("li",{class:"recommond-key-item",key:y,onClick:C=>B(p.recommendWord),title:p.recommendWord},toDisplayString(p.recommendWord),9,_hoisted_3$c))),128))],512)],2))}}),RecommendBar=_export_sfc(_sfc_main$f,[["__scopeId","data-v-60764462"]]),errImg="https://static.kongfz.com/search-v3/assets/images/img-error-B5-M_qMz.jpg",jsonp=e=>new Promise((t,o)=>{const s=e.url,l=e.callback||("jsonp_"+Math.random()).replace(".",""),c=e.data?"&"+formatParams(e.data):"",n=getUrl(s)+(~s.indexOf("?")?"&":"?")+"callback="+l+c,a=e.timeout||2e4;let r;window[l]=k=>{clearTimeout(g),r=k};const u=({type:k})=>{let d=0,_;k==="load"&&r!==null?(d=200,_="OK"):k==="error"?(d=500,_="error load"):k==="abort"&&(d=400,_="timeout",o(new Error("JSONP request to ".concat(n," timed out")))),d&&window[l]&&(delete window[l],document.head.removeChild(f)),t(t({body:r,status:d,statusText:_}))},g=setTimeout(function(){window[l]=null,document.head.removeChild(f),u({type:"abort"})},a),f=document.createElement("script");f.src=n,f.type="text/javascript",f.async=!0,f.onload=u,f.onerror=u,document.head.appendChild(f)}),getUrl=e=>!~e.indexOf("http")&&~e.indexOf(".com")?window.location.protocol+e:e,formatParams=e=>{const t=[];for(const o in e)t.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return t.join("&")};class Fly{constructor(t,o){ge(this,"settings");ge(this,"$element");const s={autoPlay:!0,vertex_Rtop:20,speed:1.2,start:{},end:{},onEnd:()=>{}};this.$element=t,this.settings={...s,...o},this.init()}init(){this.setOptions(),this.settings.autoPlay&&this.play()}setOptions(){const{start:t,end:o}=this.settings;this.$element.style.marginTop="0px",this.$element.style.marginLeft="0px",this.$element.style.position="fixed",document.body.appendChild(this.$element),o.width!=null&&o.height!=null&&(t.width=this.$element.offsetWidth,t.height=this.$element.offsetHeight);let s=Math.min(t.top,o.top)-Math.abs(t.left-o.left)/3;sthis.move());o===s&&(window.cancelAnimationFrame(a),this.settings.onEnd())}destroy(){this.$element.remove()}}const cartFullPopover={show:({itemInfo:e,anchor:t},o)=>{window.KfzPopover&&window.KfzPopover.show({height:"240px",anchor:t,placement:"top",center:!0,title:"购物车已满",content:'
\n
您可以点击继续加购,同时将下面这件最早加购的商品移入收藏夹。
\n
\n \n \n \n
\n
'),okBtn:{text:"继续加购",width:"216px",onClick:function(){typeof o=="function"&&o()}}})},hide:()=>{window.KfzPopover&&window.KfzPopover.hide()},isVisible:()=>window.KfzPopover?window.KfzPopover.isVisible():!1};function useAddToCart(e,t){const o=ref(""),s=inject("$eventBus"),l=getCurrentInstance(),c=(l==null?void 0:l.appContext.config.globalProperties.$sites)||{},{shopId:n,itemId:a}=e.itemData,r=d=>{if(!d.target)return;const _=d.target,{top:B,left:v}=_.getBoundingClientRect(),h=document.querySelector(".quick-menu-wrap li a");if(!h)return;const{top:p,left:y}=h.getBoundingClientRect(),C=new Image;C.src=e.itemData.imgUrl,C.onerror=q=>{q.target.src=errImg},C.className="u-flyer";const D=new Fly(C,{start:{left:v+20,top:B-20},end:{left:y+20,top:p+20,width:16,height:16},onEnd:function(){D.destroy()}})},u=async d=>{const[_]=ApiMoveEarliestCartItemToFavorites([d]);try{return await _(),!0}catch(B){return o.value=B.message||"移入收藏夹失败,请重试",setTimeout(()=>{o.value=""},2e3),!1}},g=async d=>{const[_]=ApiGetEarliestCartItem();try{const B=await _();cartFullPopover.show({itemInfo:{imgUrl:B.result.imgUrl},anchor:d.target},async()=>{await u(B.result.cartId)&&(cartFullPopover.hide(),f(d))})}catch(B){o.value=B.message||"获取购物车最早加入的商品失败,请重试",setTimeout(()=>{o.value=""},2e3)}},f=d=>{const _={itemId:a,shopId:n,numbers:1};jsonp({url:(c==null?void 0:c.s_cart)+"jsonp/add",data:_}).then(B=>{B.status===200&&B.statusText==="OK"?B.body.status?(s.emit("addToCart"),o.value="",r(d)):B.body.errCode==="00320008"?g(d):(o.value=B.body.errMessage||"加入购物车失败,请重试",setTimeout(()=>{o.value=""},2e3)):(o.value="对不起,服务器开小差了,请重新加入购物车",setTimeout(()=>{o.value=""},2e3))}).catch(()=>{o.value="对不起,服务器开小差了,请重新加入购物车",setTimeout(()=>{o.value=""},2e3)})};return{errorTip:o,handleAddCart:d=>{t("c_addCart"),f(d)}}}const globalSites=getSites(),showLoginWindow=(e,t,o)=>{if(document.getElementById("loginWinMask")!==null)return;let s;const l=globalSites.s_login,c=document.createElement("div"),n=document.createElement("div"),a=document.getElementsByTagName("BODY")[0];c.id="loginWinMask",n.id="loginWin",c.style.cssText="position: fixed;top: 0px;left: 0px;z-index: 100000000;width: 100%;height: 100%;background-color: #000;filter: alpha(opacity=50); opacity: .5;",n.style.cssText="position: fixed;top: 50%;left: 50%;z-index: 100000001;width: 450px;height: 472px;margin-top: -236px;margin-left: -200px;font-family: 'microsoft yahei';";const r=location.href;r.charAt(r.length-1)=="#"?e=="login"?s=l+"Pc/Login/iframe?returnUrl="+r:e=="register"&&(s=l+"Pc/Login/iframe#tab-2?returnUrl="+r):e=="login"?t?s="".concat(l,"Pc/Login/iframe?title=").concat(t,"&returnUrl=").concat(r).concat(o?"&easybuyId=".concat(o):""):s="".concat(l,"Pc/Login/iframe?returnUrl=").concat(r).concat(o?"&easybuyId=".concat(o):""):e=="register"&&(s="".concat(l,"Pc/Login/iframe#tab-2?returnUrl=").concat(r).concat(o?"&easybuyId=".concat(o):""));const u="
";n.innerHTML=u,a.appendChild(c),a.appendChild(n);const g=document.getElementById("loginWinCloseBtn");g.onclick=function(){k(c),k(n)};const f=document.getElementById("iframe_login");f.attachEvent?f.attachEvent("onload",function(){g.style.display="block"}):f.onload=function(){g.style.display="block"};function k(d){const _=d.parentNode;_&&_.removeChild(d)}};function useGoBuy(e,t){const o=getCurrentInstance(),s=(o==null?void 0:o.appContext.config.globalProperties.$sites)||{},{shopId:l,itemId:c,price:n}=e.itemData,a=()=>{var g;if(!((g=window.KFZ)!=null&&g.isLogin)){showLoginWindow("login","",e.itemData.itemId);return}const r={itemId:c,shopId:l,price:n,numbers:1,isQuickBuy:1},u=e.triggerEasyBuy?{}:window.open();jsonp({url:(s==null?void 0:s.s_order)+"jsonp/easybuyCheck/",data:r}).then(f=>{if(f.status===200&&f.statusText==="OK")if(f.body.status===1){const{check:k,easybuyPCUrl:d}=f.body.result;k.status===0?(u.close&&u.close(),k.isBlock===1?ElMessageBox.alert(k.errorMsg,"",{distinguishCancelAndClose:!0,autofocus:!1,confirmButtonText:"知道了",callback:_=>{_!=="close"&&document.location.reload()}}):ElMessageBox.confirm(k.errorMsg,"",{distinguishCancelAndClose:!0,confirmButtonText:"继续购买",cancelButtonText:"查看详情",cancelButtonClass:"message-box-cancel",autofocus:!1}).then(()=>{window.open(d)}).catch(_=>{var B;_==="cancel"&&window.open((B=e.itemData.link)==null?void 0:B.pc)})):e.triggerEasyBuy?window.location.href=d:u.location=d}else u.close&&u.close(),f.body.errCode==="0001"?showLoginWindow("login","",e.itemData.itemId):ElMessage({message:f.body.errMessage||"操作失败,请稍后重试",type:"error"});else u.close&&u.close(),ElMessage({message:"操作失败,请稍后重试",type:"error"})}).catch(()=>{u.close&&u.close(),ElMessage({message:"操作失败,请稍后重试",type:"error"})}),t("c_easybuy")};return e.triggerEasyBuy&&a(),{handleGoBuy:a}}const moveItem=(e,t,o)=>{const s=e.splice(t,1)[0];return e.splice(o,0,s),e},splitArray=e=>{const t=Math.ceil(e.length/2),o=e.slice(0,t),s=e.slice(t);return[o,s]};function useHighlight(e){const t={titleWords:"title",importantDescWords:"importantDesc"},o=ref({}),s=ref(!1),l=(a,r)=>{const u=r.filter(_=>!!_).map(_=>_.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).sort((_,B)=>B.length-_.length);if(u.length===0)return[];let g;try{g=new RegExp("(?=(".concat(u.join("|"),"))"),"g")}catch(_){return[]}const f=[];let k=g.exec(a);for(;k;){const _=k[1];_&&f.push({start:k.index,end:k.index+_.length}),g.lastIndex=k.index+1,k=g.exec(a)}if(f.length===0)return[];f.sort((_,B)=>_.start-B.start);const d=[f[0]];for(let _=1;_{if(!a||!r||r.length===0)return a;const u=r.filter(d=>!!d);if(u.length===0)return a;const g=l(a,u);if(g.length===0)return a;let f="",k=0;return g.forEach(d=>{k".concat(a.slice(d.start,d.end),""),k=d.end}),k{if(!a)return;const{highlightInfo:r}=a;if(r)for(const g in t){const f=t[g],k=r[g];k&&k.length>0?o.value[f]=c(e.itemData[f],k):o.value[f]=e.itemData[f]}const{tplRecords:u}=a;if(u&&u.length>0){const{authorWords:g,pressWords:f,pubDateWords:k}=r||{},d=["出版时间","年代","创作时间","发行时间","传拓年代"];let _=-1;const B=["作者","题名","责任人/主编","绘制者","拍摄者","制作者"],v=["出版社","出版单位","出版人"];if(u.forEach((y,C)=>{if(B.includes(y.key)&&g&&g.length>0||v.includes(y.key)&&f&&f.length>0||d.includes(y.key)&&k&&k.length>0){let D;B.includes(y.key)&&(D=g),v.includes(y.key)&&(D=f),d.includes(y.key)&&(D=k),y.value=c(y.value,D)}d.includes(y.key)&&(_=C)}),_>-1){const y=Math.ceil(u.length/2);moveItem(u,_,y)}const[h,p]=splitArray(u);o.value.leftRecords=h,o.value.rightRecords=p,s.value=!0}else s.value=!1};return n(e.itemData),watch(()=>e.itemData,a=>{n(a)}),{highlightResult:o,hasTplRecords:s}}function useProductImage(e){const t=computed(()=>{var r,u;return(u=(r=e.itemData)==null?void 0:r.imgBigUrl)==null?void 0:u.includes("crypt")}),o=ref(!1),s=ref(!0),l=()=>{o.value=!0},c=computed(()=>o.value?e.itemData.imgBigUrl:"");return{hasCrypt:t,setBigImgUrl:o,showBigImg:s,bigImgSrc:c,handleShowBigImg:l,handleImgError:r=>{const u=r.target||r.srcElement;u&&(u.src=errImg),s.value=!1},handleBigImgError:r=>{const u=r.target||r.srcElement;u&&(u.src=errImg)}}}const _withScopeId$b=e=>(pushScopeId("data-v-b8d14073"),e=e(),popScopeId(),e),_hoisted_1$e=["href"],_hoisted_2$e={class:"related-card-item"},_hoisted_3$b={class:"related-card-item-img"},_hoisted_4$c=["src"],_hoisted_5$a=["innerHTML"],_hoisted_6$b={class:"related-card-info start"},_hoisted_7$a={class:"author-info"},_hoisted_8$9={key:0,class:"press-info"},_hoisted_9$a={class:"related-card-info between"},_hoisted_10$9={class:"price-info"},_hoisted_11$9=_withScopeId$b(()=>createBaseVNode("i",{class:"price-symble"},"¥",-1)),_sfc_main$e=defineComponent({name:"RelatedCard",__name:"index",props:{item:{type:Object,default:()=>({})},exposureSourceKey:{type:[String,Number],default:""}},setup(e){const t=e,o=computed(()=>{const{title:a,titleHighlightWords:r}=t.item;if(!a)return"";if(!r||r.length===0)return a;const u=r.map(g=>g.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).sort((g,f)=>f.length-g.length);try{const g=new RegExp(u.join("|"),"g");return a.replace(g,"$&")}catch(g){return a}}),s=a=>{const r=a.target||a.srcElement;r&&(r.src=errImg)},l=()=>{window.trackPro.send("c_schResult_click",t.item.cardMetrics)},{targetRef:c,reset:n}=useExposure(()=>{var a;(a=t.item)!=null&&a.cardMetrics&&window.trackPro.send("v_schResult_item_view",t.item.cardMetrics)},{threshold:0,duration:1e3,once:!0});return watch(()=>t.exposureSourceKey,()=>{n()}),(a,r)=>(openBlock(),createElementBlock("a",{ref_key:"targetRef",ref:c,href:e.item.productDetailLink,target:"_blank",class:"related-card-container",onClick:l},[createBaseVNode("div",_hoisted_2$e,[createBaseVNode("div",_hoisted_3$b,[createBaseVNode("img",{src:e.item.imgUrl,onError:s},null,40,_hoisted_4$c)]),createBaseVNode("p",{class:"related-card-title",innerHTML:o.value},null,8,_hoisted_5$a),createBaseVNode("div",_hoisted_6$b,[createBaseVNode("span",_hoisted_7$a,toDisplayString(e.item.author),1),e.item.press?(openBlock(),createElementBlock("span",_hoisted_8$9,toDisplayString(e.item.press),1)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_9$a,[createBaseVNode("span",_hoisted_10$9,[_hoisted_11$9,createTextVNode(toDisplayString(e.item.priceText),1)]),createBaseVNode("span",{class:normalizeClass(["quality-info",{"brand-new":e.item.qualityText=="全新"}])},toDisplayString(e.item.qualityText),3)])])],8,_hoisted_1$e))}}),RelatedCard=_export_sfc(_sfc_main$e,[["__scopeId","data-v-b8d14073"]]),_hoisted_1$d={class:"related-card-skeleton"},_hoisted_2$d=createStaticVNode('
',4),_hoisted_6$a=[_hoisted_2$d],_sfc_main$d=defineComponent({name:"RelatedCardSkeleton",__name:"skeleton",setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$d,_hoisted_6$a))}}),RelatedCardSkeleton=_export_sfc(_sfc_main$d,[["__scopeId","data-v-64d9152d"]]),_withScopeId$a=e=>(pushScopeId("data-v-b950b6e2"),e=e(),popScopeId(),e),_hoisted_1$c={class:"related-group-skeleton"},_hoisted_2$c=createStaticVNode('
',1),_hoisted_3$a={class:"skeleton-main"},_hoisted_4$b=_withScopeId$a(()=>createBaseVNode("div",{class:"skeleton-arrow"},null,-1)),_hoisted_5$9={class:"skeleton-card-wrap"},_hoisted_6$9={class:"skeleton-card-inner"},_hoisted_7$9=_withScopeId$a(()=>createBaseVNode("div",{class:"skeleton-arrow"},null,-1)),_sfc_main$c=defineComponent({name:"RelatedGroupSkeleton",__name:"skeleton",setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$c,[_hoisted_2$c,createBaseVNode("div",_hoisted_3$a,[_hoisted_4$b,createBaseVNode("div",_hoisted_5$9,[createBaseVNode("div",_hoisted_6$9,[(openBlock(),createElementBlock(Fragment,null,renderList(5,s=>createVNode(RelatedCardSkeleton,{key:s})),64))])]),_hoisted_7$9])]))}}),RelatedGroupSkeleton=_export_sfc(_sfc_main$c,[["__scopeId","data-v-b950b6e2"]]);function useCardScroll(e=180,t,o={}){const{boundary:s="content",pageSize:l=5}=o,c=ref(0),n=ref(null),a=ref(null),r=ref(-1/0),u=()=>{if(s==="page"){const _=(t==null?void 0:t.value)||[],B=l>0?Math.ceil(_.length/l):1;r.value=B>1?-((B-1)*e):0;return}if(n.value&&a.value){const _=n.value.clientWidth,B=a.value.scrollWidth;r.value=B>_?-(B-_):0}};onMounted(()=>{u()}),t&&watch(t,()=>{nextTick(()=>{u(),c.value=0})},{deep:!1});const g=computed(()=>c.value>=0),f=computed(()=>c.value<=r.value);return{translateX:c,wrapRef:n,innerRef:a,isLeftDisabled:g,isRightDisabled:f,handleScrollRight:()=>{f.value||(c.value=Math.max(c.value-e,r.value))},handleScrollLeft:()=>{g.value||(c.value=Math.min(c.value+e,0))}}}function useSort(e){var n;const o=(n=useQueryStore().query.sortType)!=null?n:0,s=ref(o);return{localSortType:s,handleSortChange:a=>{s.value!==a&&(s.value=a,e(a))},handleTotalPriceSortToggle:()=>{const a=s.value===7?8:7;s.value=a,e(a)}}}const _withScopeId$9=e=>(pushScopeId("data-v-00a88806"),e=e(),popScopeId(),e),_hoisted_1$b={key:1,class:"related-group-container"},_hoisted_2$b={class:"related-group-filter"},_hoisted_3$9={class:"related-group-title"},_hoisted_4$a={class:"filter-box"},_hoisted_5$8={class:"sort-group"},_hoisted_6$8=_withScopeId$9(()=>createBaseVNode("span",null,"总价",-1)),_hoisted_7$8={class:"indicator-box"},_hoisted_8$8=["href"],_hoisted_9$9={class:"related-group-main"},_hoisted_10$8=_withScopeId$9(()=>createBaseVNode("i",{class:"k-iconfont k-icon-fenye_zuojiantou"},null,-1)),_hoisted_11$8=[_hoisted_10$8],_hoisted_12$8=_withScopeId$9(()=>createBaseVNode("i",{class:"k-iconfont k-icon-fenye_youjiantou"},null,-1)),_hoisted_13$8=[_hoisted_12$8],_sfc_main$b=defineComponent({name:"RelatedGroup",__name:"index",props:{blockTitle:{type:String,default:()=>""},lookMoreLink:{type:String,default:()=>""},total:{type:Number,default:()=>0},lookMore:{type:Boolean,default:!1},items:{type:Array,default:()=>[]}},emits:["sort-change"],setup(e,{emit:t}){const o=t,s=e,{localSortType:l,handleSortChange:c,handleTotalPriceSortToggle:n}=useSort(_=>o("sort-change",_)),{translateX:a,wrapRef:r,innerRef:u,isLeftDisabled:g,isRightDisabled:f,handleScrollRight:k,handleScrollLeft:d}=useCardScroll(900,toRef(s,"items"),{boundary:"page",pageSize:5});return(_,B)=>e.items.length===0?(openBlock(),createBlock(RelatedGroupSkeleton,{key:0})):(openBlock(),createElementBlock("div",_hoisted_1$b,[createBaseVNode("div",_hoisted_2$b,[createBaseVNode("span",_hoisted_3$9,toDisplayString(e.blockTitle),1),createBaseVNode("div",_hoisted_4$a,[createBaseVNode("div",_hoisted_5$8,[createBaseVNode("div",{class:normalizeClass(["sort-item",{active:unref(l)===0}]),onClick:B[0]||(B[0]=v=>unref(c)(0))}," 综合 ",2),createBaseVNode("div",{class:normalizeClass(["sort-item sort-item--switch",{active:unref(l)===7||unref(l)===8}]),onClick:B[1]||(B[1]=(...v)=>unref(n)&&unref(n)(...v))},[_hoisted_6$8,createBaseVNode("div",_hoisted_7$8,[createBaseVNode("i",{class:normalizeClass(["k-iconfont k-icon-shurukuang-jiantou-shouqi",{light:unref(l)===7}])},null,2),createBaseVNode("i",{class:normalizeClass(["k-iconfont k-icon-shurukuang-jiantou-zhankai",{light:unref(l)===8}])},null,2)])],2)]),createBaseVNode("a",{href:e.lookMoreLink,target:"_blank"},"查看全部("+toDisplayString(e.total)+")",9,_hoisted_8$8)])]),createBaseVNode("div",_hoisted_9$9,[e.items.length>0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["arrow-box",{disabled:unref(g)}]),onClick:B[2]||(B[2]=(...v)=>unref(d)&&unref(d)(...v))},_hoisted_11$8,2)):createCommentVNode("",!0),createBaseVNode("div",{class:"related-card-wrap",ref_key:"wrapRef",ref:r},[createBaseVNode("div",{class:"related-card-inner",ref_key:"innerRef",ref:u,style:normalizeStyle({transform:"translateX(".concat(unref(a),"px)")})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.items,v=>(openBlock(),createBlock(RelatedCard,{key:v.itemId,item:v,exposureSourceKey:unref(l)},null,8,["item","exposureSourceKey"]))),128))],4)],512),e.items.length>0?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["arrow-box",{disabled:unref(f)}]),onClick:B[3]||(B[3]=(...v)=>unref(k)&&unref(k)(...v))},_hoisted_13$8,2)):createCommentVNode("",!0)])]))}}),RelatedGroup=_export_sfc(_sfc_main$b,[["__scopeId","data-v-00a88806"]]);function useRecommendItems(e){const o=ref(!1),s=ref([]),l=ref(""),c=ref(0),n=ref(!1),a=ref(""),r=ref(!1),u=ref(!1);let g=null,f=null;const k=ref(!1);let d=null;const _=async(y=0,C=!1,D=!1)=>{var Q,J;const q=(J=(Q=e.itemData)==null?void 0:Q.recommendBlock)==null?void 0:J.expandNetwork;if(!q)return;if(D&&d){r.value=!0;try{await d}finally{r.value=!1}return}g==null||g(),r.value=!0;const[K,H]=ApiGetShopRecommendItems(q,{userArea:getCookieMap("reciever_area")||1006e6,...C||y!==0?{sortType:y}:{},...q.params.tplParams&&Object.keys(q.params.tplParams).length!==0?{tplParams:JSON.stringify(q.params.tplParams)}:{}});g=H,d=(async()=>{var x,E,L,Z,ie,ce,M,ue,pe,$,m;try{const I=await K();s.value=(E=(x=I==null?void 0:I.data)==null?void 0:x.itemList)!=null?E:[],l.value=(Z=(L=I==null?void 0:I.data)==null?void 0:L.blockTitle)!=null?Z:"",c.value=(M=(ce=(ie=I==null?void 0:I.data)==null?void 0:ie.page)==null?void 0:ce.recordCount)!=null?M:0,n.value=(ue=I==null?void 0:I.data)==null?void 0:ue.lookMore,a.value=(m=($=(pe=I==null?void 0:I.data)==null?void 0:pe.lookMoreLink)==null?void 0:$.link)!=null?m:"",u.value=!0}catch(I){}})();try{await d}finally{d=null,r.value=!1}},B=async()=>{o.value=!o.value,!(!o.value||u.value)&&await _(0,!1,!0)},v=()=>{var y,C;u.value||k.value||(C=(y=e.itemData)==null?void 0:y.recommendBlock)!=null&&C.expandNetwork&&(f&&clearTimeout(f),f=window.setTimeout(async()=>{u.value||k.value||(k.value=!0,await _(0,!1),k.value=!1)},300))},h=()=>{f&&(clearTimeout(f),f=null)},p=async y=>{await _(y,!0)};return onUnmounted(()=>{g==null||g(),f&&(clearTimeout(f),f=null)}),{showRelatedGroup:o,recommendItems:s,blockTitle:l,total:c,lookMore:n,lookMoreLink:a,isLoadingRecommend:r,handleMouseEnterPrefetch:v,handleMouseLeavePrefetch:h,handleToggleRecommend:B,handleRecommendSortChange:p}}const _withScopeId$8=e=>(pushScopeId("data-v-b1470555"),e=e(),popScopeId(),e),_hoisted_1$a={class:"product-info-left"},_hoisted_2$a=["href"],_hoisted_3$8={key:0,class:"pic-count"},_hoisted_4$9={key:0,class:"big-item-img"},_hoisted_5$7={class:"item-info-box"},_hoisted_6$7={class:"item-name"},_hoisted_7$7={key:0,class:"self-support-icon"},_hoisted_8$7=["href","title","innerHTML"],_hoisted_9$8=["innerHTML"],_hoisted_10$7={key:0,class:"zl-isbn-info"},_hoisted_11$7=["innerHTML","title"],_hoisted_12$7={key:1,class:"zl-normal-info"},_hoisted_13$7={class:"zl-info-left"},_hoisted_14$7={class:"zl-info-name"},_hoisted_15$7=["innerHTML"],_hoisted_16$6={class:"zl-info-right"},_hoisted_17$5={class:"zl-info-name"},_hoisted_18$4=["innerHTML"],_hoisted_19$4={class:"shop-info"},_hoisted_20$4={class:"flex-center"},_hoisted_21$4={key:0,class:"shop-icon icon-holiday"},_hoisted_22$4={key:1,class:"icon-bought"},_hoisted_23$4={key:2,class:"icon-followed"},_hoisted_24$4=["href"],_hoisted_25$4={key:0},_hoisted_26$4=["href","title"],_hoisted_27$3={key:0,class:"k-iconfont k-icon-online active"},_hoisted_28$3={key:1,class:"k-iconfont k-icon-offline"},_hoisted_29$2=["href"],_hoisted_30$2={key:0,class:"k-iconfont k-icon-dianpudengji-zuanshi"},_hoisted_31$2={key:0,class:"shop-success-order-rate"},_hoisted_32$2={key:1,class:"shop-avg-shipping-time"},_hoisted_33$2={key:0,class:"unlogin-tips"},_hoisted_34$2=_withScopeId$8(()=>createBaseVNode("i",{class:"k-iconfont k-icon-attention"},null,-1)),_hoisted_35$2=_withScopeId$8(()=>createBaseVNode("span",{class:"unlogin-label"},"卖家超过10天未登录",-1)),_hoisted_36$2=[_hoisted_34$2,_hoisted_35$2],_hoisted_37={class:"recommend-item-list"},_hoisted_38={class:"recommend-item-item-img-wrap"},_hoisted_39=["src"],_hoisted_40=_withScopeId$8(()=>createBaseVNode("span",{class:"recommend-item-item-img-mask","aria-hidden":"true"},null,-1)),_hoisted_41={class:"recommend-text"},_hoisted_42={class:"collapse-box"},_hoisted_43={class:"product-info-right"},_hoisted_44={class:"info-top"},_hoisted_45={key:0,class:"price-info"},_hoisted_46=_withScopeId$8(()=>createBaseVNode("i",{class:"price-symble"},"¥",-1)),_hoisted_47={class:"price-int"},_hoisted_48=_withScopeId$8(()=>createBaseVNode("span",{class:"price-dot"},".",-1)),_hoisted_49={class:"price-float"},_hoisted_50={key:0,class:"sold-time"},_hoisted_51={key:0,class:"sold-out"},_hoisted_52={key:0,class:"tag-box"},_hoisted_53={key:0,class:"coupon-tag"},_hoisted_54={key:1,class:"ship-fee-box"},_hoisted_55={key:0,class:"ship-fee-info is-seller mb6"},_hoisted_56={key:1,class:"ship-fee-info"},_hoisted_57={key:0,class:"ship-tips"},_hoisted_58={key:2,class:"ship-fee-info"},_hoisted_59=_withScopeId$8(()=>createBaseVNode("div",{class:"ship-fee-item mb6"},[createBaseVNode("span",null,"运费未知")],-1)),_hoisted_60=[_hoisted_59],_hoisted_61={key:2,class:"add-time"},_hoisted_62={key:0,class:"button-bottom"},_hoisted_63={class:"error-tip"},_sfc_main$a=defineComponent({name:"ProductItem",__name:"index",props:{itemData:{type:Object,default:()=>({})},index:{type:Number},dataType:{type:Number,default:0},triggerEasyBuy:{type:Boolean,default:!1},onlineUserIds:{type:Array,default:()=>[]},sellerLastLoginStatus:{type:Object,default:()=>({})},supplyTrackInfo:{type:Object,default:()=>({})},discountCoupon:{type:Object},exposureSourceKey:{type:[String,Number],default:""}},setup(e){const t=e,o=useQueryStore(),{shopId:s,itemId:l,price:c,priceText:n}=t.itemData,[a,r]=n?n.split("."):["",""];function u(pe){let $;switch(pe){case"v_schResult_item_view":case"c_schResult_click":$={...t.itemData.cardMetrics};break;case"c_shopclick":case"c_easybuy":case"c_addCart":$={key:o.query.keyword,itemid:l,itemname:t.itemData.title,shopid:s,shopname:t.itemData.shopName,isbn:t.itemData.isbn,catnum:t.itemData.catId,selfpage:"bkschResult",price:c,res_pos:t.itemData.orderIndex,abTestTag:t.itemData.abTestTag,...t.supplyTrackInfo};{const{sortType:m,enableSmartSort:I}=o.query,T=[5,6,7,8].includes(Number(m)),R=Object.prototype.hasOwnProperty.call(o.query,"enableSmartSort");T&&R&&I===!1&&($.without_intelligence=!0)}break}window.trackPro.send(pe,$)}const{errorTip:g,handleAddCart:f}=useAddToCart(t,u),{handleGoBuy:k}=useGoBuy(t,u),{highlightResult:d,hasTplRecords:_}=useHighlight(t),{hasCrypt:B,setBigImgUrl:v,showBigImg:h,bigImgSrc:p,handleShowBigImg:y,handleImgError:C,handleBigImgError:D}=useProductImage(t),{showRelatedGroup:q,recommendItems:K,blockTitle:H,total:Q,lookMore:J,lookMoreLink:x,isLoadingRecommend:E,handleMouseEnterPrefetch:L,handleMouseLeavePrefetch:Z,handleToggleRecommend:ie,handleRecommendSortChange:ce}=useRecommendItems(t),{targetRef:M,reset:ue}=useExposure(()=>{var pe;(pe=t.itemData)!=null&&pe.cardMetrics&&u("v_schResult_item_view")},{threshold:.7,duration:1e3});return watch(()=>t.exposureSourceKey,()=>{ue()}),(pe,$)=>{var I,T,R,w,j,oe,re;const m=resolveDirective("lazy");return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",{ref_key:"targetRef",ref:M,class:"product-item-wrap",onMouseenter:$[9]||($[9]=(...b)=>unref(L)&&unref(L)(...b)),onMouseleave:$[10]||($[10]=(...b)=>unref(Z)&&unref(Z)(...b))},[createBaseVNode("div",_hoisted_1$a,[createBaseVNode("div",{class:"item-img-box",onMouseenterOnce:$[3]||($[3]=(...b)=>unref(y)&&unref(y)(...b))},[createBaseVNode("a",{href:(I=e.itemData.link)==null?void 0:I.pc,class:"img-box",target:"_blank",onClick:$[1]||($[1]=b=>u("c_schResult_click"))},[withDirectives(createBaseVNode("img",{class:"item-img",onError:$[0]||($[0]=(...b)=>unref(C)&&unref(C)(...b))},null,544),[[m,e.itemData.imgUrl||unref(errImg)]]),e.itemData.imgCount>1?(openBlock(),createElementBlock("span",_hoisted_3$8,toDisplayString(e.itemData.imgCount),1)):createCommentVNode("",!0)],8,_hoisted_2$a),e.itemData.imgUrl&&unref(v)&&unref(h)?(openBlock(),createElementBlock("div",_hoisted_4$9,[withDirectives(createBaseVNode("img",{class:normalizeClass(["item-img",{hasCrypt:unref(B)}]),onError:$[2]||($[2]=(...b)=>unref(D)&&unref(D)(...b))},null,34),[[m,{src:unref(p)||unref(errImg),loading:(unref(B)?unref(_imports_1$1):e.itemData.imgUrl)||unref(errImg)}]])])):createCommentVNode("",!0)],32),createBaseVNode("div",_hoisted_5$7,[createBaseVNode("p",_hoisted_6$7,[e.itemData.shopIsOfficialStore?(openBlock(),createElementBlock("span",_hoisted_7$7,"自营")):createCommentVNode("",!0),createBaseVNode("a",{class:normalizeClass(["item-link",{"is-black":e.dataType==1}]),href:(T=e.itemData.link)==null?void 0:T.pc,title:e.itemData.title,target:"_blank",onClick:$[4]||($[4]=b=>u("c_schResult_click")),innerHTML:unref(d).title},null,10,_hoisted_8$7)]),e.itemData.importantDesc?(openBlock(),createElementBlock("p",{key:0,class:"recommend-desc",innerHTML:unref(d).importantDesc},null,8,_hoisted_9$8)):createCommentVNode("",!0),unref(_)?(openBlock(),createElementBlock(Fragment,{key:1},[e.itemData.isRelatedIsbn?(openBlock(),createElementBlock("div",_hoisted_10$7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.itemData.tplRecords,(b,i)=>(openBlock(),createElementBlock("span",{class:"zl-info",key:i,innerHTML:b.value,title:b.value},null,8,_hoisted_11$7))),128))])):(openBlock(),createElementBlock("div",_hoisted_12$7,[createBaseVNode("div",_hoisted_13$7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(d).leftRecords,(b,i)=>(openBlock(),createElementBlock("div",{class:"zl-info-item",key:i},[createBaseVNode("span",_hoisted_14$7,toDisplayString(b.key)+": ",1),createBaseVNode("span",{class:"zl-info-value",innerHTML:b.value},null,8,_hoisted_15$7)]))),128))]),createBaseVNode("div",_hoisted_16$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(d).rightRecords,(b,i)=>(openBlock(),createElementBlock("div",{class:"zl-info-item",key:i},[createBaseVNode("span",_hoisted_17$5,toDisplayString(b.key)+": ",1),createBaseVNode("span",{class:"zl-info-value",innerHTML:b.value},null,8,_hoisted_18$4)]))),128))])]))],64)):createCommentVNode("",!0),e.dataType!=1&&!e.itemData.isSoldOut?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",_hoisted_19$4,[createBaseVNode("div",_hoisted_20$4,[e.itemData.shopIsHoliday?(openBlock(),createElementBlock("span",_hoisted_21$4,"休假中")):createCommentVNode("",!0),e.itemData.isUserBoughtShop?(openBlock(),createElementBlock("span",_hoisted_22$4,"买过的店")):e.itemData.isUserFollowedShop?(openBlock(),createElementBlock("span",_hoisted_23$4,"收藏的店")):createCommentVNode("",!0),createBaseVNode("a",{href:(R=e.itemData.shopLink)==null?void 0:R.pc,class:"shop-name item-link",target:"_blank",onClick:$[5]||($[5]=b=>u("c_shopclick"))},[e.itemData.shopName?(openBlock(),createElementBlock("span",_hoisted_25$4,toDisplayString(e.itemData.shopName),1)):createCommentVNode("",!0)],8,_hoisted_24$4),createBaseVNode("a",{href:(w=e.itemData.shopTalkLink)==null?void 0:w.pc,class:"shop-message item-link",target:"_blank",title:"与店主"+e.itemData.shopNickName+"联系"},[e.onlineUserIds.includes(String(e.itemData.shopkeeperId))?(openBlock(),createElementBlock("i",_hoisted_27$3)):(openBlock(),createElementBlock("i",_hoisted_28$3))],8,_hoisted_26$4),e.itemData.shopClass?(openBlock(),createElementBlock("a",{key:3,href:(j=e.itemData.shopCreditLink)==null?void 0:j.pc,class:"shop-class",target:"_blank"},[e.itemData.shopClass<=5?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(e.itemData.shopClass,b=>(openBlock(),createElementBlock("i",{class:"k-iconfont k-icon-dianpudengji-xing",key:b}))),128)):createCommentVNode("",!0),e.itemData.shopClass>5&&e.itemData.shopClass<=8?(openBlock(),createElementBlock(Fragment,{key:1},[e.itemData.shopClass==6?(openBlock(),createElementBlock("i",_hoisted_30$2)):createCommentVNode("",!0),e.itemData.shopClass==7?(openBlock(),createElementBlock(Fragment,{key:1},renderList(2,b=>createBaseVNode("i",{class:"k-iconfont k-icon-dianpudengji-zuanshi",key:b})),64)):createCommentVNode("",!0),e.itemData.shopClass==8?(openBlock(),createElementBlock(Fragment,{key:2},renderList(3,b=>createBaseVNode("i",{class:"k-iconfont k-icon-dianpudengji-zuanshi",key:b})),64)):createCommentVNode("",!0)],64)):createCommentVNode("",!0),e.itemData.shopClass>8?(openBlock(),createElementBlock(Fragment,{key:2},renderList(3,b=>createBaseVNode("i",{class:"k-iconfont k-icon-a-dianpudengji-zuanshi21",key:b})),64)):createCommentVNode("",!0)],8,_hoisted_29$2)):createCommentVNode("",!0)]),e.itemData.shopSuccessOrderRate?(openBlock(),createElementBlock("span",_hoisted_31$2,toDisplayString(e.itemData.shopSuccessOrderRate),1)):createCommentVNode("",!0),e.itemData.shopAvgShippingTime&&!e.itemData.deliverTag?(openBlock(),createElementBlock("span",_hoisted_32$2,toDisplayString(e.itemData.shopAvgShippingTime),1)):createCommentVNode("",!0)]),e.sellerLastLoginStatus[e.itemData.shopkeeperId]?(openBlock(),createElementBlock("div",_hoisted_33$2,_hoisted_36$2)):createCommentVNode("",!0),e.itemData.recommendBlock?(openBlock(),createElementBlock("div",{key:1,class:"recommend-box",onClick:$[6]||($[6]=(...b)=>unref(ie)&&unref(ie)(...b))},[createBaseVNode("div",_hoisted_37,[(openBlock(!0),createElementBlock(Fragment,null,renderList((oe=e.itemData.recommendBlock)==null?void 0:oe.itemList,(b,i)=>(openBlock(),createElementBlock("div",{class:"recommend-item-item",key:i},[createBaseVNode("div",_hoisted_38,[createBaseVNode("img",{class:"recommend-item-item-img",src:b.imgUrl,alt:""},null,8,_hoisted_39),_hoisted_40])]))),128))]),createBaseVNode("span",_hoisted_41,toDisplayString((re=e.itemData.recommendBlock)==null?void 0:re.showText),1),createBaseVNode("div",_hoisted_42,[createBaseVNode("i",{class:normalizeClass(["k-iconfont k-icon-doublearrow_down",{"is-active":unref(q)}])},null,2)])])):createCommentVNode("",!0)],64)):createCommentVNode("",!0)])]),createBaseVNode("div",_hoisted_43,[createBaseVNode("div",_hoisted_44,[createBaseVNode("div",{class:normalizeClass(["quality-and-price mb8",{"is-black":e.dataType==1||e.itemData.isSoldOut}])},[createBaseVNode("span",{class:normalizeClass(["quality-info",{new:e.itemData.quality==100}])},toDisplayString(e.itemData.qualityText),3),unref(a)!==""&&unref(r)!==""?(openBlock(),createElementBlock("span",_hoisted_45,[_hoisted_46,createBaseVNode("span",_hoisted_47,toDisplayString(unref(a)),1),_hoisted_48,createBaseVNode("span",_hoisted_49,toDisplayString(unref(r)),1)])):createCommentVNode("",!0)],2),e.dataType==1?(openBlock(),createElementBlock("div",_hoisted_50,toDisplayString(e.itemData.showTimeText),1)):(openBlock(),createElementBlock(Fragment,{key:1},[e.itemData.isSoldOut?(openBlock(),createElementBlock("div",_hoisted_51,"暂时无货")):(openBlock(),createElementBlock(Fragment,{key:1},[e.discountCoupon||e.itemData.deliverTag?(openBlock(),createElementBlock("div",_hoisted_52,[e.discountCoupon?(openBlock(),createElementBlock("span",_hoisted_53,toDisplayString(e.discountCoupon.content),1)):createCommentVNode("",!0),e.itemData.deliverTag?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(["deliver-time-tag","deliver-time-tag-"+e.itemData.deliverType])},toDisplayString(e.itemData.deliverTag),3)):createCommentVNode("",!0)])):createCommentVNode("",!0),e.itemData.postage?(openBlock(),createElementBlock("div",_hoisted_54,[e.itemData.postage.sellerPayFreight?(openBlock(),createElementBlock("div",_hoisted_55,"包邮")):e.itemData.postage.shippingList&&e.itemData.postage.shippingList.length>0?(openBlock(),createElementBlock("div",_hoisted_56,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.itemData.postage.shippingList,(b,i)=>(openBlock(),createElementBlock("div",{class:"ship-fee-item mb6",key:i},[createBaseVNode("span",null,toDisplayString(b.shippingText),1),b.freeCondit?(openBlock(),createElementBlock("span",_hoisted_57," "+toDisplayString(b.freeCondit),1)):createCommentVNode("",!0)]))),128))])):(openBlock(),createElementBlock("div",_hoisted_58,_hoisted_60))])):createCommentVNode("",!0),e.itemData.showTimeText?(openBlock(),createElementBlock("div",_hoisted_61,toDisplayString(e.itemData.showTimeText),1)):createCommentVNode("",!0)],64))],64))]),e.dataType!=1&&!e.itemData.isSoldOut?(openBlock(),createElementBlock("div",_hoisted_62,[createBaseVNode("div",{class:"buy-button item-button",onClick:$[7]||($[7]=(...b)=>unref(k)&&unref(k)(...b))},"立即购买"),createBaseVNode("div",{class:"add-cart-button item-button",onClick:$[8]||($[8]=(...b)=>unref(f)&&unref(f)(...b))},"加入购物车"),createBaseVNode("span",_hoisted_63,toDisplayString(unref(g)),1)])):createCommentVNode("",!0)])],544),withDirectives(createVNode(RelatedGroup,{blockTitle:unref(H),lookMoreLink:unref(x),total:unref(Q),lookMore:unref(J),items:unref(K),loading:unref(E),onSortChange:unref(ce)},null,8,["blockTitle","lookMoreLink","total","lookMore","items","loading","onSortChange"]),[[vShow,unref(q)]])],64)}}}),ProductItem=_export_sfc(_sfc_main$a,[["__scopeId","data-v-b1470555"]]),_hoisted_1$9={class:"produc-list-skeleton"},_hoisted_2$9=createStaticVNode('
',2),_hoisted_4$8=[_hoisted_2$9],_sfc_main$9=defineComponent({name:"ProductListSkeleton",__name:"skeleton",setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$9,[(openBlock(),createElementBlock(Fragment,null,renderList(50,s=>createBaseVNode("div",{class:"product-item-skeleton",key:s},_hoisted_4$8)),64))]))}}),ProductListSkeleton=_export_sfc(_sfc_main$9,[["__scopeId","data-v-b18ae130"]]),_imports_0$2="https://static.kongfz.com/search-v3/assets/images/empty-list-BtszgNPS.png",_imports_1="https://static.kongfz.com/search-v3/assets/images/forbid-CR3eOUO2.png",_imports_2="https://static.kongfz.com/search-v3/assets/images/net-error-CEQ5TT8R.png",_imports_3="https://static.kongfz.com/search-v3/assets/images/page-error-CQxN00fJ.png",useRejectInfoStore=defineStore("rejectInfo",()=>{const e=ref({});return{requestRejectInfo:e,setRequestRejectInfo:o=>{e.value=o}}}),errorCode={F001:"验证不通过。",F002:"您传入的CaptchaVerifyParam参数为空。",F003:"您传入的CaptchaVerifyParam格式不合法,请参考集成文档检查您的集成代码。",F004:"控制台开启测试模式下的验证不通过。",F005:"场景ID不存在。",F006:"场景ID不归属该账户。",F007:"验证超出时间限制。",F008:"验证数据重复提交。",F009:"检测到虚拟设备环境,请使用真实设备。",F010:"同IP访问频率超出限制。",F011:"同设备访问频率超出限制。",F012:"您传入的SceneID与CaptchaVerifyParam内的场景ID不一致。",F013:"您传入的CaptchaVerifyParam缺少参数。",F014:"查询不到初始化记录。",F015:"验证交互不通过。",F016:"控制台自定义策略配置URL验证导致不通过。",F017:"疑似攻击请求,协议或参数异常不通过。"};let apiUrl="",hasInitScript=!1;const initVerifyFn=e=>{e.includes("bizType=search")?apiUrl=e:apiUrl=e+(e.indexOf("?")>-1?"&":"?")+"bizType=search",hasInitScript?initCaptchaFn():loadScript()};function initCaptchaFn(){let e;console.log(e);try{window.initAliyunCaptcha({SceneId:"10fy8qj4",prefix:"aa01em",mode:"embed",element:"#captcha-element",button:"#captcha-button",captchaVerifyCallback:o,onBizResultCallback:s,getInstance:t,slideStyle:{width:360,height:40},language:"cn",immediate:!0,region:"cn"})}catch(l){console.error(l),window.track.send("c_captcha",{bizType:"sentinel-captcha-verify",scene:"search",errorCode:"F000",errorMessage:"验证码初始化失败"})}function t(l){e=l}async function o(l){let c={data:{verifyResult:!1}};try{c=await service.post(apiUrl,l,{headers:{"Content-Type":"application/json"}})}catch(a){console.error(a),ElMessage({message:a.message||"抱歉,您的请求处理失败,请稍后再试",grouping:!0,type:"error",offset:130}),window.track.send("c_captcha",{bizType:"sentinel-captcha-verify",scene:"search",errorCode:"F000",errorMessage:"验证接口调用失败。"})}const n={captchaResult:c.data.verifyResult,bizResult:c.data.verifyResult};return!c.data.verifyResult&&c.data.verifyCode?(["F001","F015"].includes(c.data.verifyCode)||ElMessage({message:errorCode[c.data.verifyCode],grouping:!0,type:"error",offset:130}),window.track.send("c_captcha",{bizType:"sentinel-captcha-verify",scene:"search",errorCode:c.data.verifyCode,errorMessage:errorCode[c.data.verifyCode]})):window.track.send("c_captcha",{bizType:"sentinel-captcha-verify",scene:"search",errorCode:"none"}),n}function s(l){l===!0&&window.location.reload()}}const captchaSrc="https://o.alicdn.com/captcha-frontend/aliyunCaptcha/AliyunCaptcha.js";function loadScript(){const e=document.createElement("script");e.type="text/javascript",e.src=captchaSrc,e.addEventListener("load",()=>{initCaptchaFn(),hasInitScript=!0},!1),document.body.appendChild(e)}const _withScopeId$7=e=>(pushScopeId("data-v-bd834d89"),e=e(),popScopeId(),e),_hoisted_1$8={class:"abnormal-view"},_hoisted_2$8={key:0},_hoisted_3$7=_withScopeId$7(()=>createBaseVNode("img",{class:"placeholder-img",src:_imports_0$2,alt:""},null,-1)),_hoisted_4$7=_withScopeId$7(()=>createBaseVNode("p",{class:"error-title"},"请输入搜索词",-1)),_hoisted_5$6=[_hoisted_3$7,_hoisted_4$7],_hoisted_6$6={key:1},_hoisted_7$6=_withScopeId$7(()=>createBaseVNode("img",{class:"placeholder-img",src:_imports_0$2,alt:""},null,-1)),_hoisted_8$6={class:"error-title"},_hoisted_9$7=["innerHTML"],_hoisted_10$6={key:2},_hoisted_11$6=_withScopeId$7(()=>createBaseVNode("img",{class:"placeholder-img",src:_imports_1,alt:""},null,-1)),_hoisted_12$6=_withScopeId$7(()=>createBaseVNode("p",{class:"error-title"},"很抱歉,您当前的搜索次数已达到上限,请稍后访问!",-1)),_hoisted_13$6={class:"error-tips"},_hoisted_14$6={key:3},_hoisted_15$6=_withScopeId$7(()=>createBaseVNode("img",{class:"placeholder-img",src:_imports_1,alt:""},null,-1)),_hoisted_16$5={class:"error-title"},_hoisted_17$4={key:4},_hoisted_18$3={class:"error-tips is-verify"},_hoisted_19$3=_withScopeId$7(()=>createBaseVNode("div",{id:"captcha-button"},null,-1)),_hoisted_20$3=_withScopeId$7(()=>createBaseVNode("div",{id:"captcha-element"},null,-1)),_hoisted_21$3={key:5},_hoisted_22$3=_withScopeId$7(()=>createBaseVNode("img",{class:"placeholder-img",src:_imports_2,alt:""},null,-1)),_hoisted_23$3={class:"error-title"},_hoisted_24$3={key:6},_hoisted_25$3=_withScopeId$7(()=>createBaseVNode("img",{class:"placeholder-img",src:_imports_3,alt:""},null,-1)),_hoisted_26$3={class:"error-title"},_sfc_main$8=defineComponent({name:"AbnormalView",__name:"index",props:{isProhibited:{type:Boolean}},setup(e){const t=useRoute(),o=computed(()=>t.name),s=e,l=useRejectInfoStore(),c=()=>{window.location.replace("https://www.kongfz.com/")},n=()=>{window.location.reload()},a=()=>{o.value==="home"?showLoginWindow("login","请登录后再进行搜索"):showLoginWindow("login","请登录后再进行浏览")};switch(l.requestRejectInfo.requestRejectAction){case"GO_LOGIN":a();break;case"GO_VERIFY":nextTick(()=>{initVerifyFn(l.requestRejectInfo.requestVerifyUrl)});break}return onBeforeUnmount(()=>{var r;(r=document.getElementById("aliyunCaptcha-window-embed"))==null||r.remove()}),(r,u)=>{const g=ElButton;return openBlock(),createElementBlock("div",_hoisted_1$8,[unref(l).requestRejectInfo.requestRejectAction==="NO_KEYWORD"?(openBlock(),createElementBlock("div",_hoisted_2$8,_hoisted_5$6)):createCommentVNode("",!0),unref(l).requestRejectInfo.requestRejectAction==="NO_RESULT"?(openBlock(),createElementBlock("div",_hoisted_6$6,[_hoisted_7$6,createBaseVNode("p",_hoisted_8$6,toDisplayString(s.isProhibited?"无结果":"暂无结果"),1),s.isProhibited?createCommentVNode("",!0):(openBlock(),createElementBlock("span",{key:0,class:"error-tips",innerHTML:unref(l).requestRejectInfo.requestRejectCause},null,8,_hoisted_9$7))])):createCommentVNode("",!0),unref(l).requestRejectInfo.requestRejectAction==="FORBID"?(openBlock(),createElementBlock("div",_hoisted_10$6,[_hoisted_11$6,_hoisted_12$6,createBaseVNode("span",_hoisted_13$6,toDisplayString(unref(l).requestRejectInfo.requestRejectCause),1),createBaseVNode("div",null,[createVNode(g,{class:"el-button--primary back-btn",onClick:c},{default:withCtx(()=>[createTextVNode("返回首页")]),_:1}),createVNode(g,{class:"el-button--plain back-btn",onClick:n},{default:withCtx(()=>[createTextVNode("重新搜索")]),_:1})])])):createCommentVNode("",!0),unref(l).requestRejectInfo.requestRejectAction==="GO_LOGIN"?(openBlock(),createElementBlock("div",_hoisted_14$6,[_hoisted_15$6,createBaseVNode("p",_hoisted_16$5,"请登录后再进行"+toDisplayString(o.value==="home"?"搜索":"浏览")+"!",1),createBaseVNode("div",null,[createVNode(g,{class:"el-button--plain back-btn",onClick:c},{default:withCtx(()=>[createTextVNode("返回首页")]),_:1}),createVNode(g,{class:"el-button--primary back-btn",onClick:a},{default:withCtx(()=>[createTextVNode("立即登录")]),_:1})])])):createCommentVNode("",!0),unref(l).requestRejectInfo.requestRejectAction==="GO_VERIFY"?(openBlock(),createElementBlock("div",_hoisted_17$4,[createBaseVNode("p",_hoisted_18$3,toDisplayString(unref(l).requestRejectInfo.requestRejectCause||"很抱歉,您的查询类似计算机软件的自动请求,请您进行验证后再继续搜索。"),1),_hoisted_19$3,_hoisted_20$3])):createCommentVNode("",!0),unref(l).requestRejectInfo.requestRejectAction==="NET_ERROR"?(openBlock(),createElementBlock("div",_hoisted_21$3,[_hoisted_22$3,createBaseVNode("p",_hoisted_23$3,toDisplayString(unref(l).requestRejectInfo.requestRejectCause),1),createVNode(g,{class:"el-button--primary back-btn",onClick:n},{default:withCtx(()=>[createTextVNode("点击重试")]),_:1})])):createCommentVNode("",!0),["DATA_ERROR","SERVER_ERROR"].includes(unref(l).requestRejectInfo.requestRejectAction)?(openBlock(),createElementBlock("div",_hoisted_24$3,[_hoisted_25$3,createBaseVNode("p",_hoisted_26$3,toDisplayString(unref(l).requestRejectInfo.requestRejectCause),1),createVNode(g,{class:"el-button--primary back-btn",onClick:n},{default:withCtx(()=>[createTextVNode("点击重试")]),_:1})])):createCommentVNode("",!0)])}}}),AbnormalView=_export_sfc(_sfc_main$8,[["__scopeId","data-v-bd834d89"]]),_withScopeId$6=e=>(pushScopeId("data-v-491e7e2a"),e=e(),popScopeId(),e),_hoisted_1$7={class:"empty-list-component"},_hoisted_2$7=_withScopeId$6(()=>createBaseVNode("img",{src:_imports_0$2,class:"empty-img",alt:""},null,-1)),_hoisted_3$6=_withScopeId$6(()=>createBaseVNode("p",{class:"empty-tips"},"暂无符合条件的商品",-1)),_hoisted_4$6=[_hoisted_2$7,_hoisted_3$6],_sfc_main$7=defineComponent({name:"EmptyList",__name:"index",props:{isShowSubscription:{type:Boolean},params:{}},setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$7,_hoisted_4$6))}}),EmptyList=_export_sfc(_sfc_main$7,[["__scopeId","data-v-491e7e2a"]]),SearchTypeMap={searchMode:returnTrueType("number"),isAutoFuzzy:returnTrueType("boolean"),catId:returnTrueType("number"),siBuId:returnTrueType("number"),dataType:returnTrueType("number"),hasStock:returnTrueType("boolean"),enableSmartSort:returnTrueType("boolean"),isNewBook:returnTrueType("boolean"),shopId:returnTrueType("number"),sortType:returnTrueType("number"),userArea:returnTrueType("number"),shopCatId:returnTrueType("number"),quaSelect:returnTrueType("number"),page:returnTrueType("number"),size:returnTrueType("number"),actionPath:returnTrueType("string")},convertQueryType=(e={})=>{var o,s,l;if(e==null)return null;const t={};for(const c in e){const a=isEncodedURIComponentFn(((o=e[c])==null?void 0:o.trim())||"")?decodeURIComponent(((s=e[c])==null?void 0:s.trim())||""):((l=e[c])==null?void 0:l.trim())||"";if(a)if(c==="tplParams")try{t.tplParams=JSON.parse(a)}catch(r){console.log("tplParams 转换失败",r)}else{const r=SearchTypeMap[c],u=r?r(a):a;u!==null&&(t[c]=u)}}return t};function isEncodedURIComponentFn(e){try{return decodeURIComponent(e),!0}catch(t){return!1}}function returnTrueType(type){let handler;switch(type){case"string":handler=e=>e.trim();break;case"number":handler=e=>(e=e.trim(),!e||Number.isNaN(Number(e))?null:Number(e));break;case"boolean":handler=raw=>(raw=raw.trim(),["true","false"].includes(raw)?eval(raw):null);break}return handler}const formatRequestParams=e=>{const t={...e};if(e.tplParams)if(Object.keys(e.tplParams).length===0)delete t.tplParams;else try{t.tplParams=JSON.stringify(e.tplParams)}catch(o){delete t.tplParams,console.log("formatRequestParams 失败",o)}return t};class Storage{constructor(){}getItem(t){const o=localStorage.getItem(t);let s=null;if(o)try{const{data:l,expires:c}=JSON.parse(o);Date.now()>=new Date(c).getTime()?this.removeItem(t):s=l}catch(l){console.log(l)}return s}setItem(t,o,s){localStorage.setItem(t,JSON.stringify({data:o,expires:s}))}removeItem(t){localStorage.removeItem(t)}}const storage=new Storage;class DiscountCouponBO{constructor(t){ge(this,"content");ge(this,"minAmount");ge(this,"favorableAmount");var o,s,l;this.dto=t,this.content=((o=this.dto)==null?void 0:o.couponAmountName)||"",this.minAmount=((s=this.dto)==null?void 0:s.minAmount)||0,this.favorableAmount=((l=this.dto)==null?void 0:l.favorableAmount)||0}}class ProductConverters{static convertDiscountCoupon(t){return new DiscountCouponBO(t)}}class FetchDiscojuntCouponUseCase{constructor(){ge(this,"abortBatchFetch");ge(this,"abortFetch")}async batchFetch(t){const[o,s]=ApiDiscountCoupon(t);return this.abortBatchFetch=s,o().then(l=>{const c=new Map;if(!l.result)return new Map;for(const n in l.result)if(Object.prototype.hasOwnProperty.call(l.result,n)){const a=ProductConverters.convertDiscountCoupon(l.result[n]);c.set(parseInt(n),a)}return c})}async fetch(t,o){const[s,l]=ApiDiscountCoupon([{sellerId:t,itemId:o}]);return this.abortFetch=l,s().then(c=>{if(!c.result||isEmptyObject(c.result))return null;const n=parseInt(Object.keys(c.result)[0]);return ProductConverters.convertDiscountCoupon(c.result[n])})}}const useDiscountCoupon=()=>{const e=new FetchDiscojuntCouponUseCase,t=ref(new Map),o=async n=>{l();const a=await e.batchFetch(n);t.value=a},s=async(n,a)=>{c();const r=await e.fetch(n,a);t.value=new Map().set(a,r)},l=()=>{var n;(n=e.abortBatchFetch)==null||n.call(e)},c=()=>{var n;(n=e.abortFetch)==null||n.call(e)};return{discountCouponUseCase:e,discountCouponMap:t,batchFetchDiscountCoupon:o,abortBatchFetchDiscountCoupon:l,fetchDiscountCoupon:s,abortFetchDiscountCoupon:c}},useSubscription=e=>{const t="".concat(e.s_user,"user-center/subscription/"),o=l=>{axios({method:"get",url:"/pc-gw/user-service/client/pc/subscription/check"}).then(c=>{const{data:n,status:a}=c;if(a!==200||!n){ElMessage.error("获取订阅信息失败,请稍后重试");return}n.status===1&&n.data?setTimeout(()=>{window.open("".concat(t,"?action=create&keyword=").concat(encodeURIComponent(l),"&refpage=bkschResult"),"_blank")},0):n.errType==="100"?s():n.errType==="1001"?ElMessageBox({customClass:"search-bar-subscription-message-box",message:n.message,confirmButtonText:"管理我的订阅",center:!0,showClose:!1,showCancelButton:!0,cancelButtonText:"我知道了",beforeClose:(r,u,g)=>{r==="confirm"&&window.open(t+"?refpage=bkschResult","_blank"),g()}}):ElMessage.error(n.message||"获取订阅信息失败,请稍后重试")}).catch(c=>{console.log(c),ElMessage.error(c.message||"获取订阅信息失败,请稍后重试")})},s=()=>{typeof window.loginWin=="function"?window.loginWin(e.s_login,"login"):window.location.href=e.s_login+"?mustLogin=1&returnUrl="+encodeURIComponent(window.location.href)};return{create:o}},_withScopeId$5=e=>(pushScopeId("data-v-8ff6ecea"),e=e(),popScopeId(),e),_hoisted_1$6={key:0,class:"home-view-container"},_hoisted_2$6={class:"crumb-bar-wrap"},_hoisted_3$5={key:0,class:"intention-bar"},_hoisted_4$5=_withScopeId$5(()=>createBaseVNode("img",{src:_imports_0$3,alt:"",class:"icon-tip mr-4"},null,-1)),_hoisted_5$5={class:"intention__text"},_hoisted_6$5=["href"],_hoisted_7$5=_withScopeId$5(()=>createBaseVNode("i",{class:"k-iconfont k-icon-fenye_youjiantou"},null,-1)),_hoisted_8$5={class:"flex",style:{"align-items":"stretch","margin-top":"14px","min-height":"800px"}},_hoisted_9$6={class:"page-aside"},_hoisted_10$5={key:1,class:"tip--default"},_hoisted_11$5=_withScopeId$5(()=>createBaseVNode("span",null,"筛选项加载失败",-1)),_hoisted_12$5={key:2,class:"tip--default"},_hoisted_13$5={key:0,class:"tip--default"},_hoisted_14$5=_withScopeId$5(()=>createBaseVNode("div",{class:"tpl-filters-load-trigger__inner"},[createTextVNode(" 展开更多筛选"),createBaseVNode("i",{class:"k-iconfont k-icon-doublearrow_down ml-4 arrow-down"})],-1)),_hoisted_15$5=["textContent"],_hoisted_16$4={key:4,class:"tip--default"},_hoisted_17$3=_withScopeId$5(()=>createBaseVNode("span",null,"筛选项加载失败",-1)),_hoisted_18$2={key:5,class:"tpl-filters-section"},_hoisted_19$2={class:"page-main"},_hoisted_20$2={key:0,class:"isbn-info-container"},_hoisted_21$2={key:1,class:"isbn-info-container"},_hoisted_22$2={class:"data-content"},_hoisted_23$2={class:"product-item-box"},_hoisted_24$2={key:0,class:"recommend-loading"},_hoisted_25$2=_withScopeId$5(()=>createBaseVNode("img",{src:_imports_1$2,alt:""},null,-1)),_hoisted_26$2=_withScopeId$5(()=>createBaseVNode("span",null,"AI正在匹配相关商品",-1)),_hoisted_27$2=[_hoisted_25$2,_hoisted_26$2],_hoisted_28$2={key:0,class:"suggest-list"},_hoisted_29$1={class:"pagination-box"},_hoisted_30$1={class:"jump-page-box"},_hoisted_31$1=_withScopeId$5(()=>createBaseVNode("span",null,"前往",-1)),_hoisted_32$1=_withScopeId$5(()=>createBaseVNode("span",null,"页",-1)),_hoisted_33$1={key:0,class:"list-loading-wrap"},_hoisted_34$1=_withScopeId$5(()=>createBaseVNode("img",{src:_imports_1$1,alt:""},null,-1)),_hoisted_35$1=[_hoisted_34$1],_hoisted_36$1={key:1,class:"empty-wrap"},LocalStorageName$2="search_auto_load_tpl_filters",LocalStorageExpires$2=7*24*3600*1e3,_sfc_main$6=defineComponent({name:"HomeView",__name:"index",setup(e){const t=useQueryStore(),o=useStateStore(),s=useRoute(),l=useRouter(),c=getCurrentInstance(),n=(c==null?void 0:c.appContext.config.globalProperties.$sites)||{},a=computed(()=>t.actionSeq),r={ApiGetNormalFilters:null,ApiGetTplFilters:null,ApiGetItemList:null},u=()=>getCookieMap("reciever_area")||1006e6,g=ref(!0),f=ref(!1),k=ref(s.query.dataType!=="1"),d=ref(!0);let _=!1,B=!1;const v=ref([]),h=ref(0),p=ref("");let y={};const C=A=>{const[Y]=ApiGetIsbnInfo({...A},{});_=!0,Y().then(O=>{var U,fe,_e,de,te;O.status===1?(_=!1,(!f.value||!B)&&(v.value=((U=O.data)==null?void 0:U.list)||[],h.value=(fe=O.data)==null?void 0:fe.total,p.value=((te=(de=(_e=O.data)==null?void 0:_e.attachData)==null?void 0:de.showMoreLink)==null?void 0:te.pc)||""),y=O.data||{}):h.value=0}).catch(()=>{h.value=0}).finally(()=>{k.value=!1})},D=ref(!1),q=ref(),K=ref([]),H=ref({}),Q=ref([]),J=ref(0),x=ref(1),E=ref(0),L=ref(0),Z=ref(""),ie=useRejectInfoStore(),ce=useMatchInfoStore(),M=ref(),ue=ref(!1),pe=ref(!1),$=ref(!1);let m=null;const I=ref(),T=A=>{R();const[Y]=ApiGetItemList({...A,userArea:u()},"keyword",{});B=!0,oe.value=!1,Y().then(O=>{var U,fe,_e,de,te,Se,Re,Ae,De,je,Ke,Qe;if(O.status===1){if(m&&(clearTimeout(m),m=null),B=!1,d.value=!1,ue.value=(U=O.data.isShowSubscription)!=null?U:!1,pe.value=(fe=O.data.isProhibited)!=null?fe:!1,g.value=!0,_||(v.value=y.list||[],h.value=y.total,p.value=((de=(_e=y.attachData)==null?void 0:_e.showMoreLink)==null?void 0:de.pc)||""),K.value=O.data.navList||[],Q.value=((te=O.data.itemResponse)==null?void 0:te.list)||[],J.value=t.query.dataType||0,x.value=((Re=(Se=O.data.itemResponse)==null?void 0:Se.pager)==null?void 0:Re.page)||1,E.value=((De=(Ae=O.data.itemResponse)==null?void 0:Ae.pager)==null?void 0:De.pages)||0,$.value=O.data.isLoadKeywordRecommend,j.value=[],O.data.isLoadKeywordRecommend?(i(A),nextTick(()=>{var Be,Me;(Me=(Be=I.value)==null?void 0:Be.getSearchRecommendWords)==null||Me.call(Be)})):oe.value=!0,M.value={totalfound:O.data.totalFound,schmode:((je=O.data.searchMetrics)==null?void 0:je.schmode)||"",order:((Ke=O.data.searchMetrics)==null?void 0:Ke.order)||"",isfilter:(Qe=O.data.searchMetrics)==null?void 0:Qe.isfilter},Q.value.length>0){const Be=[];for(const Me of Q.value)Be.push(Me.shopkeeperId);N(Be),he(Be)}Ye(O);const We=[];for(const Be of Q.value)We.push({sellerId:Be.shopkeeperId,itemId:Be.itemId});Xe(We)}}).catch(O=>{oe.value=!0,w(O)}).finally(()=>{D.value=!0,f.value=!0,o.setSearchState(!1)})};function R(){D.value&&(m&&(clearTimeout(m),m=null),m=setTimeout(()=>{d.value=!!B},500))}function w(A){var Y,O,U,fe,_e,de,te,Se,Re,Ae,De;if(A.type==="data")switch(((Y=A.data)==null?void 0:Y.errType)||""){case"102":if(((U=(O=A.data)==null?void 0:O.data)==null?void 0:U.requestRejectAction)==="GO_LOGIN"&&f.value){showLoginWindow("login","请登录后再进行搜索");return}ie.setRequestRejectInfo({requestRejectAction:(_e=(fe=A.data)==null?void 0:fe.data)==null?void 0:_e.requestRejectAction,requestRejectCause:(te=(de=A.data)==null?void 0:de.data)==null?void 0:te.requestRejectCause,requestVerifyUrl:((Re=(Se=A.data)==null?void 0:Se.data)==null?void 0:Re.requestVerifyWebUrl)||""}),g.value=!1;break;default:f.value?ElMessage({message:A.message,grouping:!0,type:"error",offset:130}):(ie.setRequestRejectInfo({requestRejectAction:"DATA_ERROR",requestRejectCause:A.message}),g.value=!1);break}else if(A.type==="status"&&((De=(Ae=A==null?void 0:A.error)==null?void 0:Ae.message)!=null?De:"")==="Request failed with status code 403")ie.setRequestRejectInfo({requestRejectAction:"FORBID",requestRejectCause:"请求错误,请降低搜索频次或更换真实账号使用。"}),g.value=!1;else if(A.type==="status"&&!f.value){switch(A.typeDetail){case"netError":ie.setRequestRejectInfo({requestRejectAction:"NET_ERROR",requestRejectCause:"网络好像迷路了,请注意检查您的网络连接~"});break;case"serverError":ie.setRequestRejectInfo({requestRejectAction:"SERVER_ERROR",requestRejectCause:"服务器开小差了,我们正在抓紧恢复中~"});break}g.value=!1}else A.type!=="cancel"&&ElMessage({message:A.message,grouping:!0,type:"error",offset:130})}const j=ref([]),oe=ref(!1),re=ref(!0),b=computed(()=>!D.value||Q.value.length!==0?!1:$.value?oe.value&&j.value.length===0:!0),i=A=>{const Y=[],O=[];for(const[de,te]of Q.value.entries())Y.push(String(te.itemId)),de<5&&te.isbn&&O.push(String(te.isbn));const U=Y.join(","),fe=O.join(",");re.value=!0;const[_e]=ApiGetItemList({...A,userArea:u(),searchActionType:"keywordRecommendProducts",exItemIds:U,searchIsbns:fe},"keyword",{});_e().then(de=>{var te;console.log(de),j.value=((te=de.data.itemResponse)==null?void 0:te.list)||[]}).catch(de=>{w(de)}).finally(()=>{oe.value=!0,re.value=!1})},P=ref([]),N=A=>{let Y=A.length>3?"Interface/User/getUserOnlineState":"Interface/User/getUserRealOnlineState",O={userIds:A};jsonp({url:n.s_message+Y,data:O}).then(U=>{U.status===200&&U.statusText==="OK"&&(P.value=U.body.responseData||[])})},ee=ref({}),he=A=>{let Y=n.s_user+"interface/jsonp/beforeLoginCheck";jsonp({url:Y,data:{userIds:A,beforeDay:10}}).then(U=>{U.status===200&&U.statusText==="OK"&&U.body.data&&U.body.data.length>0&&U.body.data.forEach(({userId:fe,lastLoginStatus:_e})=>{ee.value[fe]=_e})})},ye=A=>{A!==x.value&&t.mergeQuery({page:A},"pager")},ve=ref(""),Fe=()=>{ve.value=ve.value.replace(/[^0-9]/g,"")},$e=ref(),be=()=>{ve.value&&Number(ve.value)===0&&(ve.value="1"),!(Number(ve.value)==x.value||Number(ve.value)==0)&&(Number(ve.value)>E.value&&(ve.value=String(E.value)),t.mergeQuery({page:Number(ve.value)},"pager"),ve.value="",$e.value.blur())};let Ve=storage.getItem(LocalStorageName$2);const Le=ref(!1),we=ref(!1),Te=ref(!1),Ce=ref(),Pe=ref(),Ee=ref(),xe=ref(),F=ref(""),ae=A=>{r.ApiGetNormalFilters&&(r.ApiGetNormalFilters(),r.ApiGetNormalFilters=null),r.ApiGetTplFilters&&(r.ApiGetTplFilters(),r.ApiGetTplFilters=null),we.value=!0;const[Y,O]=ApiGetNormalFilters({...A,userArea:u()},"keyword");Y().then(U=>{var fe,_e,de,te,Se,Re,Ae,De;Ce.value=((fe=U.data)==null?void 0:fe.categories)||[],Pe.value=(_e=U.data)!=null&&_e.qualities?{code:"quality",label:"品相",children:((de=U.data)==null?void 0:de.qualities)||[]}:void 0,Ee.value=(te=U.data)!=null&&te.stocks?{code:"stock",label:"库存",children:U.data.stocks||[]}:void 0,xe.value=((Se=U.data)==null?void 0:Se.intentionNotice)||null,F.value=((Re=U.data)==null?void 0:Re.loadMoreTitle)||"",Le.value=!0,Te.value=!1,we.value=!1,r.ApiGetNormalFilters=null,q.value=U.data.matchInfo,ce.setMatchInfo(q.value),L.value=(Ae=U.data.matchInfo)==null?void 0:Ae.totalFound,Z.value=(De=U.data)==null?void 0:De.totalFoundText,H.value=JSON.parse(JSON.stringify(t.query)),Ve&&ne(A)}).catch(U=>{U.type!=="cancel"&&(Le.value=!0,we.value=!1,Te.value=!0,r.ApiGetNormalFilters=null)}),r.ApiGetNormalFilters=O},le=()=>{ae(formatRequestParams(toRaw(t.query)))},W=()=>{ne(formatRequestParams(toRaw(t.query)))},S=()=>{storage.setItem(LocalStorageName$2,!0,new Date(Date.now()+LocalStorageExpires$2).getTime()),Ve=!0,ne(formatRequestParams(toRaw(t.query)))},z=ref(!1),G=ref(!1),V=ref(!1),se=ref(),ne=A=>{r.ApiGetTplFilters&&(r.ApiGetTplFilters(),r.ApiGetTplFilters=null),G.value=!0;const[Y,O]=ApiGetTplFilters({...A,userArea:u()},"keyword");Y().then(U=>{var fe,_e;se.value=((_e=(fe=U.data)==null?void 0:fe.tplFilterList)==null?void 0:_e.map(de=>({code:de.tplCode,label:de.tplName,children:de.labels})))||[],z.value=!0,V.value=!1,G.value=!1,r.ApiGetTplFilters=null}).catch(U=>{U.type!=="cancel"&&(z.value=!0,G.value=!1,V.value=!0,r.ApiGetTplFilters=null)}),r.ApiGetTplFilters=O},me=["keyword","author","itemName","press","shopName","catId","isbn"],X=()=>me.some(Y=>t.query[Y])?!1:(ie.setRequestRejectInfo({requestRejectAction:"NO_KEYWORD",requestRejectCause:""}),g.value=!1,!0),ke=ref(0),Ne=()=>{let A={...s.query};if(A.easybuyId){ke.value=Number(A.easybuyId),delete A.easybuyId;let Y=[];for(const O in A)if(Object.prototype.hasOwnProperty.call(A,O)){const U=A[O];Y.push("".concat(O,"=").concat(U))}window.history.replaceState(null,"","?".concat(Y.join("&")))}return A};(()=>{const A=Ne();if(t.setQuery(convertQueryType(A)),ze(),X())return;const Y=formatRequestParams(toRaw(t.query));T(Y),t.query.dataType!=1&&C(Y),ae(Y)})();const qe=throttleForApi(T,500),Oe=throttleForApi(C,500),He=watch(()=>t.query,A=>{if(A){if(ze(),l.push({name:"home",query:convertToString(toRaw(A))}).then(()=>{sessionStorage.setItem("_href",window.location.href)}),X())return;const Y=document.documentElement.scrollLeft||document.body.scrollLeft,O=document.documentElement.scrollTop||document.body.scrollTop;window.scrollTo(Y,O>245?0:O);const U=formatRequestParams(toRaw(A));t.action==="searchbar"?T(U):qe(U),A.dataType!=1&&Oe(U),(t.action==="filter"||t.action==="searchbar"||t.action==="mode")&&ae(U)}});onUnmounted(He),sessionStorage.setItem("_href",window.location.href);const Ue=()=>{window.location.href!==sessionStorage.getItem("_href")&&location.reload()};window.addEventListener("popstate",Ue),onUnmounted(()=>{window.removeEventListener("popstate",Ue)}),inject("$eventBus").on("deliveryAddressUpdate",()=>{const A=formatRequestParams(toRaw(t.query));t.query.dataType!=1&&(T(A),ae(A))});function Ye(A){var O,U;const Y=new Date().getTime()-window.KFZ_PAGE_INIT_TIME;window.track.send("v_schResult_view",{selfpage:"bkschResult",abTestTag:A.data.abTestTag,firstView:D.value===!1?1:0,firstViewTime:Y,key:t.query.keyword,page:(U=(O=A.data.itemResponse)==null?void 0:O.pager)==null?void 0:U.page,totalfound:A.data.totalFound,...A.data.searchMetrics})}function ze(){let A="孔网搜索:";for(const Y of AdvancedSearchOrder){const O=t.query[Y];if(O){A+=O;break}}setTimeout(()=>{document.title=A},0)}const{discountCouponMap:Je,batchFetchDiscountCoupon:Xe}=useDiscountCoupon(),{create:Ge}=useSubscription(n);return onUnmounted(()=>{for(let A in r)try{r[A]&&r[A]()}catch(Y){}}),(A,Y)=>{var fe,_e,de;const O=ElInput,U=ElPagination;return openBlock(),createElementBlock(Fragment,null,[createVNode(TabBar),g.value?(openBlock(),createElementBlock("div",_hoisted_1$6,[createBaseVNode("div",_hoisted_2$6,[q.value?(openBlock(),createBlock(CrumbBar,{key:0,"search-mode":q.value.searchMode,"is-auto-fuzzy":q.value.isAutoFuzzy||!1,"is-show-subscription":ue.value,total:L.value,"total-text":Z.value,"nav-list":K.value,params:H.value,style:{"margin-top":"20px"},onCreateSubscription:unref(Ge)},null,8,["search-mode","is-auto-fuzzy","is-show-subscription","total","total-text","nav-list","params","onCreateSubscription"])):(openBlock(),createBlock(CrumbBarSkeleton,{key:1,class:"placeholder",style:{"margin-top":"20px","margin-bottom":"6px"}})),createVNode(MyAddress)]),xe.value?(openBlock(),createElementBlock("div",_hoisted_3$5,[_hoisted_4$5,createTextVNode("您是否想找“"),createBaseVNode("span",_hoisted_5$5,toDisplayString(xe.value.name),1),createTextVNode("”分类下的商品"),createBaseVNode("a",{href:((fe=xe.value.link)==null?void 0:fe.pc)||"javascript:void(0);",target:"_self",class:"intention__link ml-4"},[createTextVNode("去看看"),_hoisted_7$5],8,_hoisted_6$5)])):createCommentVNode("",!0),createBaseVNode("main",_hoisted_8$5,[createBaseVNode("div",_hoisted_9$6,[Le.value?Te.value?(openBlock(),createElementBlock("div",_hoisted_10$5,[we.value?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode("筛选条件加载中...")],64)):(openBlock(),createElementBlock(Fragment,{key:1},[_hoisted_11$5,createBaseVNode("a",{href:"javascript:void(0);",class:"button--text ml-2 inline-block",onClick:le},"刷新")],64))])):!((_e=Ce.value)!=null&&_e.length)&&!Pe.value&&!Ee.value?(openBlock(),createElementBlock("div",_hoisted_12$5," 暂无筛选条件 ")):(openBlock(),createElementBlock(Fragment,{key:3},[(de=Ce.value)!=null&&de.length?(openBlock(),createBlock(CategoryFiltersSection,{key:0,data:Ce.value},null,8,["data"])):createCommentVNode("",!0),Pe.value?(openBlock(),createBlock(AsideFilterBlock,{key:1,data:Pe.value,class:"quality-filter"},null,8,["data"])):createCommentVNode("",!0),Ee.value?(openBlock(),createBlock(AsideFilterBlock,{key:2,data:Ee.value,class:"stock-filter"},null,8,["data"])):createCommentVNode("",!0),z.value?V.value?(openBlock(),createElementBlock("div",_hoisted_16$4,[G.value?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode("筛选条件加载中...")],64)):(openBlock(),createElementBlock(Fragment,{key:1},[_hoisted_17$3,createBaseVNode("a",{href:"javascript:void(0);",class:"button--text ml-2 inline-block",onClick:W},"刷新")],64))])):(openBlock(),createElementBlock("div",_hoisted_18$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(se.value,te=>(openBlock(),createBlock(AsideFilterBlock,{key:te.code+te.label,data:te},null,8,["data"]))),128))])):(openBlock(),createElementBlock(Fragment,{key:3},[G.value?(openBlock(),createElementBlock("div",_hoisted_13$5,"筛选条件加载中...")):(openBlock(),createElementBlock("div",{key:1,class:"tpl-filters-load-trigger",onClick:S},[_hoisted_14$5,createBaseVNode("p",{class:"tpl-filters-load-trigger__desc mt-4",textContent:toDisplayString(F.value)},null,8,_hoisted_15$5)]))],64))],64)):(openBlock(),createBlock(CategoryFiltersSkeleton,{key:0}))]),createBaseVNode("div",_hoisted_19$2,[k.value?(openBlock(),createElementBlock("div",_hoisted_20$2,[createVNode(IsbnInfoSkeleton)])):h.value>0&&J.value!==1?(openBlock(),createElementBlock("div",_hoisted_21$2,[createVNode(IsbnInfo,{isbnSearchItems:v.value,isbnTotal:h.value,isbnShowMoreLink:p.value},null,8,["isbnSearchItems","isbnTotal","isbnShowMoreLink"])])):createCommentVNode("",!0),createVNode(TopFilter,{currentPage:x.value,pageCount:E.value,onCurrentChange:ye},null,8,["currentPage","pageCount"]),createBaseVNode("div",_hoisted_22$2,[d.value?(openBlock(),createBlock(ProductListSkeleton,{key:0})):(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode("div",_hoisted_23$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Q.value,(te,Se)=>(openBlock(),createBlock(ProductItem,{key:te.itemId,index:Se,itemData:te,dataType:J.value,triggerEasyBuy:te.itemId===ke.value,onlineUserIds:P.value,sellerLastLoginStatus:ee.value,supplyTrackInfo:M.value,discountCoupon:unref(Je).get(te.itemId),exposureSourceKey:a.value},null,8,["index","itemData","dataType","triggerEasyBuy","onlineUserIds","sellerLastLoginStatus","supplyTrackInfo","discountCoupon","exposureSourceKey"]))),128)),$.value&&J.value!=1?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(RecommendBar,{ref_key:"recommendBarRef",ref:I,hasExactData:Q.value.length>0},null,8,["hasExactData"]),re.value?(openBlock(),createElementBlock("div",_hoisted_24$2,_hoisted_27$2)):(openBlock(),createElementBlock(Fragment,{key:1},[j.value.length>0?(openBlock(),createElementBlock("div",_hoisted_28$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(j.value,te=>(openBlock(),createBlock(ProductItem,{key:te.itemId,itemData:te,dataType:J.value},null,8,["itemData","dataType"]))),128))])):createCommentVNode("",!0)],64))],64)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_29$1,[createVNode(U,{"current-page":x.value,"page-size":50,layout:"prev, pager, next, slot","prev-text":"上一页","next-text":"下一页","pager-count":7,"page-count":E.value,"hide-on-single-page":!0,onCurrentChange:ye},{default:withCtx(()=>[createBaseVNode("div",_hoisted_30$1,[_hoisted_31$1,createVNode(O,{ref_key:"jumpPageInput",ref:$e,class:"jump-page-input",modelValue:ve.value,"onUpdate:modelValue":Y[0]||(Y[0]=te=>ve.value=te),modelModifiers:{trim:!0},onInput:Fe,onKeyup:withKeys(be,["enter"]),onBlur:be},null,8,["modelValue"]),_hoisted_32$1,createBaseVNode("button",{class:"jump-page-btn el-button--plain",onClick:be}," 确定 ")])]),_:1},8,["current-page","page-count"])]),D.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_33$1,_hoisted_35$1)),b.value?(openBlock(),createElementBlock("div",_hoisted_36$1,[createVNode(EmptyList,{"is-show-subscription":ue.value,params:H.value,onCreateSubscription:unref(Ge)},null,8,["is-show-subscription","params","onCreateSubscription"])])):createCommentVNode("",!0)],64))])])])])):(openBlock(),createBlock(AbnormalView,{key:1,"is-prohibited":pe.value},null,8,["is-prohibited"]))],64)}}}),Home=_export_sfc(_sfc_main$6,[["__scopeId","data-v-8ff6ecea"]]),_imports_0$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAFeUlEQVRYR8WXe2xTVRzHz+mDbX0/dtd1fb8v7V4FmRvgHxhMEF8JGIfGKNEgfxgCkmhC+AuNhGhE5C+DAYV/mBqI+AATjcTIy+Hc1rVbt97udmu7rutzfawbfRxzR0iGdN3thHj+Pb/f9/s5v3Pu75wLwf884Gr8UTIpXgBAUiiVuFQ+i8HI1gAQhyJRolo92gAIIXYsHF6XjARensukNszlMqpi/o6UMmSy18Rq63h+Hk9wW4Qpz0tlsr8hhHk6MLQA5qJRRSjoOzwTCexMpeINhUIeMJgswGAwFz1KpSIoFQuAxWIDgUAy04ApL8gV2g859fXBlSBWBEgFg5ZIItxDeBztxWIe8LiCO3yhdJBbx3MCFntq0aCQb8rmMs3p2VhbJptaw2KygFyh/10t1+8RqlSeShAVAXKJhIbwOHqCfqKTwWQCmUz9p1QsOy5UqK/y+fzIUuF0Oo3NBie3xBLhg9NT5OMIAIBbOwhZo3JrnVg8sRzEsgAoEuGPBojPJ8iRVwBCQKtvvqRSG/dxpFJ/pRXNz84aI+HguZHh3i4qT6OxnDerTHshhqXL5S0LMD3hfdbj7u/JZGa5Gg1+TaMxd3Mx7G7JVxi5REJLjA2eCQS8W3g8YdaE23c1agw/0gZACNWM9N34miRdLwjF9UkL3rEDUyqvrmS8dD4SCGwZdfdenE1ERTqd7dLa9Ru7IYQL/9YoW4H5ZNIwOHD911gkqNUZWr7H7Z07IYSFagAQQix3/60LpHfoeSnW5GuzP/FUrVBI0AKY8pPbRh03rxSLRaAzNh8wWO2fVWN+L9Y73L+fJJwnqM8Vb+t6ukml+5kWwMSIYw9BOE4tJtq6tsu12iurAZjxk9tcjltXqD5hNLa+pVnb+gUtANI9uJ9wD5xg19SCda2dmwUKzfXVAMQniE2O4b5r+YV5YMTbD+jwtgcqWfYMhHze7W5X708Uuclkf1ON286sBmDS7XrD4+k/fbeSHc/ItYbLtCqQicdbBv767eZcNs3V6m0nzW0d+1cDMOa4fdLnde7jcPjZ9g1PdvEkkiFaAKlUqp4c7vshMDnWKZNrXDZbx/Y6iWSyGohcPK52uXovh0MTNqXafEtnXf+cQCCI0gKggryu/kOk13mUwWAAjc56RG9t/wBCWKQDgRBikiOOI75x5+FSqQR0Btshg23dMdqNiAqcT6XMzsEbF6kViMQNSb3edrBRbzoLISxVgkAIMab93td8HueJeCwspCrY3LZxR61AMFYVABUc8LhfCk2Nn5oJ+4VYgzLapDSeUgglx5br69T94YuG3p4O+Q7GoyFMLJUl1Gp8r9KEf7scdMXbECEEg4T7kwnfyJ5kIsLj8gT5xkb1Lwp+w26+yXT/bejxYP509OzMtG9rNpNiiyUNGYXCcFyNt7xfaetWfA9QLTXodb8a9BOHo5EpI5cnBEaz/XWl0XJu6aqCxPCuUffA+dxcGtRjTYRcbTqq0lu+ghBSN/OyY0WAe5lh3/i7zqEbH0EIgQW371IYrV8vVZ0kRru97r4eqnc0t256T6bVf0znwNIGuGeAAKoIsNz8qs5AuRXm8wtAp2+5XkDF+NJ5FmRKyPGhTSz2mrKA/xkgRI7tHnHd/jI3l6lY2ToOD5it67uVevybh7oFqWgUnwlNnk7GpwWVhLFGdUEmU75YKxJ5HyoAJUZ953McDq+SMIfDSUEIs3TMqRjah3ARACG2b3ToHVQq1UCE7nshIQhZkMFY0FpaPqX7U1I1QDYa3TA48EdvNlv2gQs4HD5ob9/8GBfD+h5JBdKxmDXkJ74LhXymcgZyudaj1lq21YpE448EgBLNJZO6EgDiBwwKBWYJwixfKh2ma171FlQjTDf2HyTpYz8jZXXFAAAAAElFTkSuQmCC",categoryList=[{title:"特色",catColumns:[[{label:"线装古籍",catId:"8"},{label:"民国旧书",catId:"9"},{label:"期刊",catId:"10"},{label:"报纸",catId:"41"},{label:"名人墨迹",catId:"21"},{label:"名人字画",catId:"37"},{label:"外文古旧书",catId:"6"}]]},{title:"图书",catColumns:[[{label:"小说",catId:"43"},{label:"文学",catId:"1"},{label:"语言文字",catId:"13"},{label:"历史",catId:"3"},{label:"地理",catId:"23"},{label:"艺术",catId:"4"},{label:"政治",catId:"18"}],[{label:"法律",catId:"5"},{label:"军事",catId:"24"},{label:"哲学心理学",catId:"44"},{label:"宗教",catId:"29"},{label:"经济",catId:"14"},{label:"社会文化",catId:"7"},{label:"教育",catId:"28"}],[{label:"管理",catId:"25"},{label:"童书",catId:"27"},{label:"生活",catId:"26"},{label:"体育",catId:"19"},{label:"工程技术",catId:"11"},{label:"计算机与互联网",catId:"31"},{label:"自然科学",catId:"15"}],[{label:"医药卫生",catId:"17"},{label:"综合性图书",catId:"20"},{label:"教材教辅考试",catId:"32"},{label:"国学古籍",catId:"12"},{label:"收藏与鉴赏",catId:"59"},{label:"红色文献",catId:"34"},{label:"连环画",catId:"35"}]]},{title:"艺术品收藏",catColumns:[[{label:"古旧地图",catId:"55"},{label:"照片影像",catId:"38"},{label:"版画宣传画",catId:"56"},{label:"邮票税票",catId:"36"},{label:"钱币",catId:"46"},{label:"碑帖",catId:"57"},{label:"印谱",catId:"54"}],[{label:"文房雅玩",catId:"61"},{label:"玉石金银木器",catId:"62"},{label:"漆器",catId:"63"},{label:"陶器瓷器",catId:"64"},{label:"工艺品",catId:"65"},{label:"红色收藏",catId:"60"},{label:"收藏杂项",catId:"58"}]]},{title:"文创与周边",catColumns:[[{label:"笔墨",catId:"66"},{label:"纸本",catId:"67"},{label:"卡片",catId:"68"},{label:"日历",catId:"69"},{label:"包袋",catId:"70"},{label:"壳套",catId:"71"},{label:"摆件挂画",catId:"72"}],[{label:"器皿",catId:"73"},{label:"动漫影视周边",catId:"74"}]]}],hideNewBookIds=["8","9","10","41","21","37","62","58","65","46","57","64","63","35","55","54","61","36","38","60","56"],_withScopeId$4=e=>(pushScopeId("data-v-5a611ea4"),e=e(),popScopeId(),e),_hoisted_1$5={class:"component dynamic-tab-bar"},_hoisted_2$5={class:"tab-bar__inner"},_hoisted_3$4={class:"tab-bar__left"},_hoisted_4$4=_withScopeId$4(()=>createBaseVNode("div",{class:"tab-item all-category"},[createBaseVNode("span",null,"所有分类"),createBaseVNode("i",{class:"k-iconfont k-icon-shurukuang-jiantou-zhankai"}),createBaseVNode("i",{class:"k-iconfont k-icon-shurukuang-jiantou-shouqi"})],-1)),_hoisted_5$4={class:"category-list clearfix"},_hoisted_6$4={class:"cat-item__title"},_hoisted_7$4={class:"cat-item__list clearfix"},_hoisted_8$4=["onClick"],_hoisted_9$5={class:"cat-link__label"},_hoisted_10$4=_withScopeId$4(()=>createBaseVNode("div",{class:"mask-line"},null,-1)),_hoisted_11$4={class:"category-crumb"},_hoisted_12$4=_withScopeId$4(()=>createBaseVNode("i",{class:"k-iconfont k-icon-fenye_youjiantou"},null,-1)),_hoisted_13$4={class:"tab-bar__right"},_hoisted_14$4=["onClick"],_hoisted_15$4=_withScopeId$4(()=>createBaseVNode("div",{class:"tab-bar__underline"},null,-1)),_sfc_main$5=defineComponent({name:"DynamicTabBar",__name:"index",props:{crumbs:{type:Array,default:()=>[]},jumpTab:{type:Array,default:()=>[]}},setup(e){const t=e,{name:o}=useRoute(),s=useQueryStore(),l=f=>{!f.selected&&f.link&&window.open("".concat(f.link.pc),"_self")},c=isTouchScreen(),n=ref(!1),a=()=>{c&&(n.value=!n.value)},r=()=>{c&&(n.value=!1)};document.addEventListener("click",r),onBeforeUnmount(()=>{document.removeEventListener("click",r)});const u=useRouter(),g=f=>{switch(o){case"category":s.query.isNewBook&&!hideNewBookIds.includes(f)?s.setQuery({catId:Number(f),isNewBook:!0,quality:"100~100",actionPath:"quality"}):s.setQuery({catId:Number(f)}),n.value=!1;break;case"latest":u.push({name:"category",query:{catId:f}});break}};return(f,k)=>(openBlock(),createElementBlock("div",_hoisted_1$5,[createBaseVNode("div",_hoisted_2$5,[createBaseVNode("div",_hoisted_3$4,[createBaseVNode("div",{class:normalizeClass(["category-box",{"like-hover":n.value}]),onMouseenter:k[0]||(k[0]=d=>!unref(c)&&(n.value=!0)),onMouseleave:k[1]||(k[1]=d=>!unref(c)&&(n.value=!1)),onClick:withModifiers(a,["stop"])},[_hoisted_4$4,createBaseVNode("div",_hoisted_5$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(categoryList),(d,_)=>(openBlock(),createElementBlock("div",{class:"cat-item",key:_},[createBaseVNode("div",_hoisted_6$4,toDisplayString(d.title),1),createBaseVNode("div",_hoisted_7$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(d.catColumns,(B,v)=>(openBlock(),createElementBlock("div",{class:"cat-list__column",key:v},[(openBlock(!0),createElementBlock(Fragment,null,renderList(B,h=>(openBlock(),createElementBlock("div",{class:"cat-list__link",key:h.label,onClick:withModifiers(p=>g(h.catId),["stop"])},[createBaseVNode("span",_hoisted_9$5,toDisplayString(h.label),1)],8,_hoisted_8$4))),128))]))),128))])]))),128))]),_hoisted_10$4],34),createBaseVNode("div",_hoisted_11$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.crumbs,(d,_)=>(openBlock(),createElementBlock("div",{class:"category-crumb__item",key:_},[_hoisted_12$4,createBaseVNode("span",null,toDisplayString(d),1)]))),128))])]),withDirectives(createBaseVNode("div",_hoisted_13$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.jumpTab,(d,_)=>(openBlock(),createElementBlock("div",{key:_,class:normalizeClass(["tab-item",{active:d.selected}]),onClick:B=>l(d)},toDisplayString(d.showName),11,_hoisted_14$4))),128))],512),[[vShow,!n.value]])]),_hoisted_15$4]))}}),DynamicTabBar=_export_sfc(_sfc_main$5,[["__scopeId","data-v-5a611ea4"]]),useListMode=defineStore("listMode",()=>{const e=sessionStorage.getItem("listMode"),t=e?ref(Number(e)):ref(0);return{listMode:t,setListMode:s=>{t.value=s}}}),_withScopeId$3=e=>(pushScopeId("data-v-8f74171a"),e=e(),popScopeId(),e),_hoisted_1$4={class:"component dynamic-crumb-bar clearfix"},_hoisted_2$4=["onClick"],_hoisted_3$3=_withScopeId$3(()=>createBaseVNode("span",{class:"k-iconfont k-icon-guanbi"},null,-1)),_hoisted_4$3={class:"base-info"},_hoisted_5$3={class:"result-count"},_hoisted_6$3=["textContent"],_hoisted_7$3=_withScopeId$3(()=>createBaseVNode("span",{class:"ml-4"},"条结果",-1)),_hoisted_8$3={class:"search-from-res-box"},_hoisted_9$4={class:"input-box"},_hoisted_10$3={key:0,class:"switch-image-mode"},_hoisted_11$3=_withScopeId$3(()=>createBaseVNode("i",{class:"k-iconfont k-icon-imgtext"},null,-1)),_hoisted_12$3=_withScopeId$3(()=>createBaseVNode("span",{class:"icon-label"},"有图",-1)),_hoisted_13$3=[_hoisted_11$3,_hoisted_12$3],_hoisted_14$3=_withScopeId$3(()=>createBaseVNode("i",{class:"k-iconfont k-icon-textlist"},null,-1)),_hoisted_15$3=_withScopeId$3(()=>createBaseVNode("span",{class:"icon-label"},"无图",-1)),_hoisted_16$3=[_hoisted_14$3,_hoisted_15$3],_sfc_main$4=defineComponent({name:"CrumbBar",__name:"index",props:{total:{default:0},totalText:{default:""},navList:{},params:{default:()=>({})},showSwitchMode:{type:Boolean,default:!1}},setup(e){const t=getCurrentInstance(),o=computed(()=>{var x,E;return(E=(x=t==null?void 0:t.appContext.config.globalProperties)==null?void 0:x.$sites)!=null?E:{}}),s=ref(!1),l=computed(()=>{var x;return{searchType:"shop",status:String((x=_.query.dataType)!=null?x:"0")}}),c=ref(null);let n=null;const a=()=>{n!=null&&(clearTimeout(n),n=null)},r=()=>{a(),s.value=!0},u=()=>{a(),s.value=!0},g=()=>{a(),n=setTimeout(()=>{n=null,s.value=!1},200)},f=()=>{s.value=!0},k=x=>{var E,L;(L=(E=c.value)==null?void 0:E.onInputKeydown)==null||L.call(E,x)},d=x=>{x.searchType==="shop"&&(D.value=x.searchWord,H())};onUnmounted(a);const _=useQueryStore(),B=useListMode(),v=e,h=computed(()=>v.navList.map(x=>{let E=[];return p(x,E),E.slice(-1)[0]}));function p(x,E){var L;E.push({name:x.name,showName:x.showName,showValue:x.showValue,params:x.params||null}),(L=x.subLabels)!=null&&L.length&&p(x.subLabels[0],E)}const y=x=>{var ce;const E=x.params||{};let L=((ce=v.params)==null?void 0:ce.actionPath)||"";const ie=ParamKeyGroupMap[x.name].find(M=>M in E||E.tplParams&&M in E.tplParams);ie?L=updateActionPath(x.name,L,ie,!0):L=updateActionPath(x.name,L),L&&(L=L.split(",").filter(M=>M==="catId"?"catId"in E||"artTags"in E:M in E||E.tplParams&&M in E.tplParams).join(",")),_.setQuery(Object.assign({},E,{page:1},L?{actionPath:L}:null))},C=_.query.keyword,D=ref(C||""),q=()=>{D.value="";const x={..._.query};if(x.keyword){delete x.keyword;const E={...x,page:1};_.setQuery(E)}},K=ref(),H=()=>{var E;const x=D.value.replace(/^\s+|\s+$/g,"");if(x!==""){const Z={...{..._.query},keyword:x,page:1};_.setQuery(Z)}x===""&&_.query.keyword&&q(),(E=K.value)==null||E.blur()},Q=computed(()=>B.listMode?Number(B.listMode):0),J=x=>{sessionStorage.setItem("listMode",String(x)),B.setListMode(x)};return watch(()=>_.query,x=>{x&&(D.value=x.keyword?x.keyword:"")}),(x,E)=>(openBlock(),createElementBlock("div",_hoisted_1$4,[createBaseVNode("div",{class:"crumb-bar__inner",style:normalizeStyle({"max-width":x.showSwitchMode?"1090px":"unset"})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(h.value,L=>(openBlock(),createElementBlock(Fragment,null,[L?(openBlock(),createElementBlock("div",{key:L.name,class:"nav-item",onClick:Z=>y(L)},[createBaseVNode("span",null,toDisplayString(L.showName)+": "+toDisplayString(L.showValue),1),_hoisted_3$3],8,_hoisted_2$4)):createCommentVNode("",!0)],64))),256)),createBaseVNode("div",_hoisted_4$3,[createBaseVNode("span",_hoisted_5$3,[createBaseVNode("span",{class:"result-count__number",textContent:toDisplayString(x.totalText)},null,8,_hoisted_6$3),_hoisted_7$3])]),createBaseVNode("div",_hoisted_8$3,[createVNode(unref(SearchDropdown),{ref_key:"searchDropdownRef",ref:c,visible:s.value,"onUpdate:visible":E[1]||(E[1]=L=>s.value=L),"search-word":D.value,"onUpdate:searchWord":E[2]||(E[2]=L=>D.value=L),"search-info":l.value,site:o.value,width:"340px",onSearch:d},{default:withCtx(()=>[createBaseVNode("div",_hoisted_9$4,[withDirectives(createBaseVNode("input",{ref_key:"fromResultRef",ref:K,class:"search-from-res-input","onUpdate:modelValue":E[0]||(E[0]=L=>D.value=L),placeholder:"在结果中查找",maxlength:"50",autocomplete:"off",onClick:r,onFocus:u,onBlur:g,onInput:f,onKeydown:k,onKeyup:withKeys(H,["enter"])},null,544),[[vModelText,D.value]]),createBaseVNode("i",{class:"k-iconfont k-icon-search",onClick:H})])]),_:1},8,["visible","search-word","search-info","site"]),withDirectives(createBaseVNode("span",{class:"clear-btn",onClick:q},"清除",512),[[vShow,D.value!==""]])])],4),createVNode(MyAddress,{style:{"margin-top":"0"}}),x.showSwitchMode?(openBlock(),createElementBlock("div",_hoisted_10$3,[createBaseVNode("a",{href:"javascript:;",class:normalizeClass(["image-mode-item",{active:!Q.value}]),onClick:E[3]||(E[3]=L=>J(0))},_hoisted_13$3,2),createBaseVNode("a",{href:"javascript:;",class:normalizeClass(["image-mode-item",{active:Q.value===1}]),onClick:E[4]||(E[4]=L=>J(1))},_hoisted_16$3,2)])):createCommentVNode("",!0)]))}}),DynamicCrumbBar=_export_sfc(_sfc_main$4,[["__scopeId","data-v-8f74171a"]]);class DynamicTabFactory{constructor(t,o,s,l){ge(this,"name");ge(this,"selected");ge(this,"showName");ge(this,"link");this.name=t,this.selected=o,this.showName=s,l&&(this.link=l)}}var DynamicTabNameEnum=(e=>(e.PRODUCT="PRODUCT",e.BOOK_LIB="BOOK_LIB",e.NEW_BOOK="NEW_BOOK",e.PM="PM",e))(DynamicTabNameEnum||{}),DynamicTabLabelEnum=(e=>(e.PRODUCT="所有商品",e.BOOK_LIB="图书条目",e.NEW_BOOK="新书",e.PM="在线拍卖",e))(DynamicTabLabelEnum||{});function isShowBookLibTab(e,t){if(e===SearchTypeEnum.LATEST&&!t)return!1;let o=!0;if(t){const s=CategoryBuilder.getLongCatId(t),l=CategoryBuilder.getTopCatId(s!=null?s:""),c=CategoryBuilder.getCategoryType(l!=null?l:""),n=c===CategoryTypeEnum.KFZ_SPECIAL||c===CategoryTypeEnum.ART||c===CategoryTypeEnum.DESIGN;(l=="34000000000000000"||l!="6000000000000000"&&n)&&(o=!1)}return o}function isShowNewBookTab(e,t){if(e===SearchTypeEnum.LATEST&&!t)return!0;let o=!0;if(t){const s=CategoryBuilder.getLongCatId(t),l=CategoryBuilder.getTopCatId(s!=null?s:""),c=CategoryBuilder.getCategoryType(l!=null?l:""),n=c===CategoryTypeEnum.KFZ_SPECIAL||c===CategoryTypeEnum.ART;l!=="6000000000000000"&&n&&(o=!1)}return o}const computeCategoryTabs=(e,t,o)=>{const s=[new DynamicTabFactory(DynamicTabNameEnum.PRODUCT,o===DynamicTabNameEnum.PRODUCT,DynamicTabLabelEnum.PRODUCT)];return isShowBookLibTab(t,e)&&s.push(new DynamicTabFactory(DynamicTabNameEnum.BOOK_LIB,o===DynamicTabNameEnum.BOOK_LIB,DynamicTabLabelEnum.BOOK_LIB)),isShowNewBookTab(t,e)&&s.push(new DynamicTabFactory(DynamicTabNameEnum.NEW_BOOK,o===DynamicTabNameEnum.NEW_BOOK,DynamicTabLabelEnum.NEW_BOOK)),s.push(new DynamicTabFactory(DynamicTabNameEnum.PM,o===DynamicTabNameEnum.PM,DynamicTabLabelEnum.PM)),s},_withScopeId$2=e=>(pushScopeId("data-v-76d4b3d3"),e=e(),popScopeId(),e),_hoisted_1$3={key:0,class:"home-view-container"},_hoisted_2$3={key:2,class:"intention-bar"},_hoisted_3$2=_withScopeId$2(()=>createBaseVNode("img",{src:_imports_0$1,alt:"",class:"icon-tip mr-4"},null,-1)),_hoisted_4$2={class:"intention__text"},_hoisted_5$2=["href"],_hoisted_6$2=_withScopeId$2(()=>createBaseVNode("i",{class:"k-iconfont k-icon-fenye_youjiantou"},null,-1)),_hoisted_7$2={class:"flex",style:{"align-items":"stretch","margin-top":"14px","min-height":"800px"}},_hoisted_8$2={class:"page-aside"},_hoisted_9$3={key:1,class:"tip--default"},_hoisted_10$2=_withScopeId$2(()=>createBaseVNode("span",null,"筛选项加载失败",-1)),_hoisted_11$2={key:2,class:"tip--default"},_hoisted_12$2={key:0,class:"tip--default"},_hoisted_13$2=_withScopeId$2(()=>createBaseVNode("div",{class:"tpl-filters-load-trigger__inner"},[createTextVNode(" 展开更多筛选"),createBaseVNode("i",{class:"k-iconfont k-icon-doublearrow_down ml-4"})],-1)),_hoisted_14$2=["textContent"],_hoisted_15$2={key:4,class:"tip--default"},_hoisted_16$2=_withScopeId$2(()=>createBaseVNode("span",null,"筛选项加载失败",-1)),_hoisted_17$2={key:5,class:"tpl-filters-section"},_hoisted_18$1={class:"page-main"},_hoisted_19$1={class:"data-content"},_hoisted_20$1={class:"product-item-box"},_hoisted_21$1={class:"pagination-box"},_hoisted_22$1={class:"jump-page-box"},_hoisted_23$1=_withScopeId$2(()=>createBaseVNode("span",null,"前往",-1)),_hoisted_24$1=_withScopeId$2(()=>createBaseVNode("span",null,"页",-1)),_hoisted_25$1={key:0,class:"list-loading-wrap"},_hoisted_26$1=_withScopeId$2(()=>createBaseVNode("img",{src:_imports_1$1,alt:""},null,-1)),_hoisted_27$1=[_hoisted_26$1],_hoisted_28$1={key:1,class:"empty-wrap"},LocalStorageName$1="search_auto_load_tpl_filters",LocalStorageExpires$1=7*24*3600*1e3,_sfc_main$3=defineComponent({name:"CategoryView",__name:"index",setup(e){const t=useQueryStore(),o=useStateStore(),s=useRoute(),l=useRouter(),c=getCurrentInstance(),n=(c==null?void 0:c.appContext.config.globalProperties.$sites)||{};window.track.send("v_bkcateFilter");const a={ApiGetNormalFilters:null,ApiGetTplFilters:null,ApiGetItemList:null},r=ref(!0),u=ref(!1),g=ref(!0);let f=!1;const k=ref(!1),d=ref(),_=ref([]),B=ref([{name:"PRODUCT",showName:"所有商品",selected:!0},{name:"PM",showName:"在线拍卖",selected:!1}]),v=ref([]),h=ref({}),p=ref([]),y=ref(1),C=ref(0),D=ref(0),q=ref(""),K=useRejectInfoStore();let H=null;const Q=F=>{J();const ae=getCookieMap("reciever_area")||1006e6,le=t.action,[W]=ApiGetItemList({...F,userArea:ae},"category",{});f=!0,W().then(S=>{var z,G,V,se,ne;if(S.status===1){if(H&&(clearTimeout(H),H=null),f=!1,g.value=!1,r.value=!0,d.value=S.data.matchInfo,_.value=S.data.crumbs,B.value=S.data.jumpTab,v.value=S.data.navList||[],p.value=((z=S.data.itemResponse)==null?void 0:z.list)||[],y.value=((V=(G=S.data.itemResponse)==null?void 0:G.pager)==null?void 0:V.page)||1,C.value=((ne=(se=S.data.itemResponse)==null?void 0:se.pager)==null?void 0:ne.pages)||0,D.value=S.data.totalFound||0,q.value=S.data.totalFoundText||"",document.title=S.data.pageTitle||"孔夫子旧书网",p.value.length>0){const X=[];for(const ke of p.value)X.push(ke.shopkeeperId);L(X),ie(X)}le==="order"&&i(F),h.value=JSON.parse(JSON.stringify(t.query)),!u.value&&D.value>0&&window.track.send("v_schResult_view",{selfpage:"bkcateList",abTestTag:S.data.abTestTag});const me=[];for(const X of p.value)me.push({sellerId:X.shopkeeperId,itemId:X.itemId});xe(me)}}).catch(S=>{x(S)}).finally(()=>{k.value=!0,u.value=!0,o.setSearchState(!1)})};function J(){k.value&&(H&&(clearTimeout(H),H=null),H=setTimeout(()=>{g.value=!!f},500))}function x(F){var ae,le,W,S,z,G,V,se,ne,me,X;if(F.type==="data")switch(((ae=F.data)==null?void 0:ae.errType)||""){case"102":if(((W=(le=F.data)==null?void 0:le.data)==null?void 0:W.requestRejectAction)==="GO_LOGIN"&&u.value){showLoginWindow("login","请登录后再进行浏览");return}K.setRequestRejectInfo({requestRejectAction:(z=(S=F.data)==null?void 0:S.data)==null?void 0:z.requestRejectAction,requestRejectCause:(V=(G=F.data)==null?void 0:G.data)==null?void 0:V.requestRejectCause,requestVerifyUrl:((ne=(se=F.data)==null?void 0:se.data)==null?void 0:ne.requestVerifyWebUrl)||""}),r.value=!1;break;default:u.value?ElMessage({message:F.message,grouping:!0,type:"error",offset:130}):(K.setRequestRejectInfo({requestRejectAction:"DATA_ERROR",requestRejectCause:F.message}),r.value=!1);break}else if(F.type==="status"&&((X=(me=F==null?void 0:F.error)==null?void 0:me.message)!=null?X:"")==="Request failed with status code 403")K.setRequestRejectInfo({requestRejectAction:"FORBID",requestRejectCause:"请求错误,请降低搜索频次或更换真实账号使用。"}),r.value=!1;else if(F.type==="status"&&!u.value){switch(F.typeDetail){case"netError":K.setRequestRejectInfo({requestRejectAction:"NET_ERROR",requestRejectCause:"网络好像迷路了,请注意检查您的网络连接~"});break;case"serverError":K.setRequestRejectInfo({requestRejectAction:"SERVER_ERROR",requestRejectCause:"服务器开小差了,我们正在抓紧恢复中~"});break}r.value=!1}else F.type!=="cancel"&&ElMessage({message:F.message,grouping:!0,type:"error",offset:130})}const E=ref([]),L=F=>{let ae=F.length>3?"Interface/User/getUserOnlineState":"Interface/User/getUserRealOnlineState",le={userIds:F};jsonp({url:n.s_message+ae,data:le}).then(W=>{W.status===200&&W.statusText==="OK"&&(E.value=W.body.responseData||[])})},Z=ref({}),ie=F=>{let ae=n.s_user+"interface/jsonp/beforeLoginCheck";jsonp({url:ae,data:{userIds:F,beforeDay:10}}).then(W=>{W.status===200&&W.statusText==="OK"&&W.body.data&&W.body.data.length>0&&W.body.data.forEach(({userId:S,lastLoginStatus:z})=>{Z.value[S]=z})})},ce=F=>{F!==y.value&&t.mergeQuery({page:F},"pager")},M=ref(""),ue=()=>{M.value=M.value.replace(/[^0-9]/g,"")},pe=ref(),$=()=>{M.value&&Number(M.value)===0&&(M.value="1"),!(Number(M.value)==y.value||Number(M.value)==0)&&(Number(M.value)>C.value&&(M.value=String(C.value)),t.mergeQuery({page:Number(M.value)},"pager"),M.value="",pe.value.blur())};//! <<<=========== 列表部分 ============== -let m=storage.getItem(LocalStorageName$1);const I=ref(!1),T=ref(!1),R=ref(!1),w=ref(),j=ref(),oe=ref(),re=ref(),b=ref(""),i=F=>{a.ApiGetNormalFilters&&(a.ApiGetNormalFilters(),a.ApiGetNormalFilters=null),a.ApiGetTplFilters&&(a.ApiGetTplFilters(),a.ApiGetTplFilters=null),T.value=!0;const[ae,le]=ApiGetNormalFilters(F,"category");ae().then(W=>{var S,z,G,V,se,ne;w.value=((S=W.data)==null?void 0:S.categories)||[],j.value=(z=W.data)!=null&&z.qualities?{code:"quality",label:"品相",children:((G=W.data)==null?void 0:G.qualities)||[]}:void 0,oe.value=(V=W.data)!=null&&V.stocks?{code:"stock",label:"库存",children:W.data.stocks||[]}:void 0,re.value=((se=W.data)==null?void 0:se.intentionNotice)||null,b.value=((ne=W.data)==null?void 0:ne.loadMoreTitle)||"",I.value=!0,R.value=!1,T.value=!1,a.ApiGetNormalFilters=null,m&&$e(F)}).catch(W=>{W.type!=="cancel"&&(I.value=!0,T.value=!1,R.value=!0,a.ApiGetNormalFilters=null)}),a.ApiGetNormalFilters=le},P=()=>{i(formatRequestParams(toRaw(t.query)))},N=()=>{$e(formatRequestParams(toRaw(t.query)))};//! <<<=========== 左侧筛选-普通筛选(分类、品相、库存) ============== -const ee=()=>{storage.setItem(LocalStorageName$1,!0,new Date(Date.now()+LocalStorageExpires$1).getTime()),m=!0,$e(formatRequestParams(toRaw(t.query)))},he=ref(!1),ye=ref(!1),ve=ref(!1),Fe=ref(),$e=F=>{a.ApiGetTplFilters&&(a.ApiGetTplFilters(),a.ApiGetTplFilters=null),ye.value=!0;const[ae,le]=ApiGetTplFilters(F,"category");ae().then(W=>{var S,z;Fe.value=((z=(S=W.data)==null?void 0:S.tplFilterList)==null?void 0:z.map(G=>({code:G.tplCode,label:G.tplName,children:G.labels})))||[],he.value=!0,ve.value=!1,ye.value=!1,a.ApiGetTplFilters=null}).catch(W=>{W.type!=="cancel"&&(he.value=!0,ye.value=!1,ve.value=!0,a.ApiGetTplFilters=null)}),a.ApiGetTplFilters=le};//! <<<=========== 左侧筛选-著录项筛选 ============== -const be=ref(0),Ve=()=>{let F={...s.query};if(F.easybuyId){be.value=Number(F.easybuyId),delete F.easybuyId;let ae=[];for(const le in F)if(Object.prototype.hasOwnProperty.call(F,le)){const W=F[le];ae.push("".concat(le,"=").concat(W))}window.history.replaceState(null,"","?".concat(ae.join("&")))}return F};(()=>{var le;const F=Ve();t.setQuery(convertQueryType(F));const ae=formatRequestParams(toRaw(t.query));Q(ae),i(ae),B.value=computeCategoryTabs((le=t.query.catId)!=null?le:0,SearchTypeEnum.CATEGORY,t.query.isNewBook?DynamicTabNameEnum.NEW_BOOK:DynamicTabNameEnum.PRODUCT)})();const we=throttleForApi(Q,500),Te=watch(()=>t.query,F=>{if(F){l.push({name:"category",query:convertToString(toRaw(F))}).then(()=>{sessionStorage.setItem("_href",window.location.href)});const ae=document.documentElement.scrollLeft||document.body.scrollLeft,le=document.documentElement.scrollTop||document.body.scrollTop;window.scrollTo(ae,le>245?0:le);const W=formatRequestParams(toRaw(F));we(W),t.action==="filter"&&i(W)}});onUnmounted(Te),sessionStorage.setItem("_href",window.location.href);const Ce=()=>{window.location.href!==sessionStorage.getItem("_href")&&location.reload()};window.addEventListener("popstate",Ce),onUnmounted(()=>{window.removeEventListener("popstate",Ce)}),inject("$eventBus").on("deliveryAddressUpdate",()=>{const F=formatRequestParams(toRaw(t.query));Q(F)});//! <<<=========== 初始化逻辑 ============== -onUnmounted(()=>{for(let F in a)try{a[F]&&a[F]()}catch(ae){}}),onMounted(()=>{});const{discountCouponMap:Ee,batchFetchDiscountCoupon:xe}=useDiscountCoupon();return(F,ae)=>{var S,z,G;const le=ElInput,W=ElPagination;return openBlock(),createElementBlock(Fragment,null,[createVNode(DynamicTabBar,{crumbs:_.value,jumpTab:B.value},null,8,["crumbs","jumpTab"]),r.value?(openBlock(),createElementBlock("div",_hoisted_1$3,[d.value?(openBlock(),createBlock(DynamicCrumbBar,{key:0,total:D.value,"total-text":q.value,"nav-list":v.value,params:h.value,style:{"margin-top":"20px"}},null,8,["total","total-text","nav-list","params"])):(openBlock(),createBlock(CrumbBarSkeleton,{key:1,class:"placeholder",style:{"margin-top":"20px","margin-bottom":"6px"}})),re.value?(openBlock(),createElementBlock("div",_hoisted_2$3,[_hoisted_3$2,createTextVNode("您是否想找“"),createBaseVNode("span",_hoisted_4$2,toDisplayString(re.value.name),1),createTextVNode("”分类下的商品"),createBaseVNode("a",{href:((S=re.value.link)==null?void 0:S.pc)||"javascript:void(0);",target:"_self",class:"intention__link ml-4"},[createTextVNode("去看看"),_hoisted_6$2],8,_hoisted_5$2)])):createCommentVNode("",!0),createBaseVNode("main",_hoisted_7$2,[createBaseVNode("div",_hoisted_8$2,[I.value?R.value?(openBlock(),createElementBlock("div",_hoisted_9$3,[T.value?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode("筛选条件加载中...")],64)):(openBlock(),createElementBlock(Fragment,{key:1},[_hoisted_10$2,createBaseVNode("a",{href:"javascript:void(0);",class:"button--text ml-2 inline-block",onClick:P},"刷新")],64))])):!((z=w.value)!=null&&z.length)&&!j.value&&!oe.value?(openBlock(),createElementBlock("div",_hoisted_11$2," 暂无筛选条件 ")):(openBlock(),createElementBlock(Fragment,{key:3},[(G=w.value)!=null&&G.length?(openBlock(),createBlock(CategoryFiltersSection,{key:0,data:w.value,showBackAll:!1,titleText:"子类筛选"},null,8,["data"])):createCommentVNode("",!0),j.value?(openBlock(),createBlock(AsideFilterBlock,{key:1,data:j.value,class:"quality-filter"},null,8,["data"])):createCommentVNode("",!0),oe.value?(openBlock(),createBlock(AsideFilterBlock,{key:2,data:oe.value,class:"stock-filter"},null,8,["data"])):createCommentVNode("",!0),he.value?ve.value?(openBlock(),createElementBlock("div",_hoisted_15$2,[ye.value?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode("筛选条件加载中...")],64)):(openBlock(),createElementBlock(Fragment,{key:1},[_hoisted_16$2,createBaseVNode("a",{href:"javascript:void(0);",class:"button--text ml-2 inline-block",onClick:N},"刷新")],64))])):(openBlock(),createElementBlock("div",_hoisted_17$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Fe.value,V=>(openBlock(),createBlock(AsideFilterBlock,{key:V.code+V.label,data:V},null,8,["data"]))),128))])):(openBlock(),createElementBlock(Fragment,{key:3},[ye.value?(openBlock(),createElementBlock("div",_hoisted_12$2,"筛选条件加载中...")):(openBlock(),createElementBlock("div",{key:1,class:"tpl-filters-load-trigger",onClick:ee},[_hoisted_13$2,createBaseVNode("p",{class:"tpl-filters-load-trigger__desc mt-4",textContent:toDisplayString(b.value)},null,8,_hoisted_14$2)]))],64))],64)):(openBlock(),createBlock(CategoryFiltersSkeleton,{key:0}))]),createBaseVNode("div",_hoisted_18$1,[createVNode(TopFilter,{currentPage:y.value,pageCount:C.value,onCurrentChange:ce},null,8,["currentPage","pageCount"]),createBaseVNode("div",_hoisted_19$1,[g.value?(openBlock(),createBlock(ProductListSkeleton,{key:0})):(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode("div",_hoisted_20$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(p.value,(V,se)=>(openBlock(),createBlock(ProductItem,{key:V.itemId,index:se,itemData:V,triggerEasyBuy:V.itemId===be.value,onlineUserIds:E.value,sellerLastLoginStatus:Z.value,discountCoupon:unref(Ee).get(V.itemId)},null,8,["index","itemData","triggerEasyBuy","onlineUserIds","sellerLastLoginStatus","discountCoupon"]))),128))]),createBaseVNode("div",_hoisted_21$1,[createVNode(W,{"current-page":y.value,"page-size":50,layout:"prev, pager, next, slot","prev-text":"上一页","next-text":"下一页","pager-count":7,"page-count":C.value,"hide-on-single-page":!0,onCurrentChange:ce},{default:withCtx(()=>[createBaseVNode("div",_hoisted_22$1,[_hoisted_23$1,createVNode(le,{ref_key:"jumpPageInput",ref:pe,class:"jump-page-input",modelValue:M.value,"onUpdate:modelValue":ae[0]||(ae[0]=V=>M.value=V),modelModifiers:{trim:!0},onInput:ue,onKeyup:withKeys($,["enter"]),onBlur:$},null,8,["modelValue"]),_hoisted_24$1,createBaseVNode("button",{class:"jump-page-btn el-button--plain",onClick:$}," 确定 ")])]),_:1},8,["current-page","page-count"])]),k.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_25$1,_hoisted_27$1)),k.value&&p.value.length===0?(openBlock(),createElementBlock("div",_hoisted_28$1,[createVNode(EmptyList)])):createCommentVNode("",!0)],64))])])])])):(openBlock(),createBlock(AbnormalView,{key:1}))],64)}}}),Category=_export_sfc(_sfc_main$3,[["__scopeId","data-v-76d4b3d3"]]),_imports_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAFeUlEQVRYR8WXe2xTVRzHz+mDbX0/dtd1fb8v7V4FmRvgHxhMEF8JGIfGKNEgfxgCkmhC+AuNhGhE5C+DAYV/mBqI+AATjcTIy+Hc1rVbt97udmu7rutzfawbfRxzR0iGdN3thHj+Pb/f9/s5v3Pu75wLwf884Gr8UTIpXgBAUiiVuFQ+i8HI1gAQhyJRolo92gAIIXYsHF6XjARensukNszlMqpi/o6UMmSy18Rq63h+Hk9wW4Qpz0tlsr8hhHk6MLQA5qJRRSjoOzwTCexMpeINhUIeMJgswGAwFz1KpSIoFQuAxWIDgUAy04ApL8gV2g859fXBlSBWBEgFg5ZIItxDeBztxWIe8LiCO3yhdJBbx3MCFntq0aCQb8rmMs3p2VhbJptaw2KygFyh/10t1+8RqlSeShAVAXKJhIbwOHqCfqKTwWQCmUz9p1QsOy5UqK/y+fzIUuF0Oo3NBie3xBLhg9NT5OMIAIBbOwhZo3JrnVg8sRzEsgAoEuGPBojPJ8iRVwBCQKtvvqRSG/dxpFJ/pRXNz84aI+HguZHh3i4qT6OxnDerTHshhqXL5S0LMD3hfdbj7u/JZGa5Gg1+TaMxd3Mx7G7JVxi5REJLjA2eCQS8W3g8YdaE23c1agw/0gZACNWM9N34miRdLwjF9UkL3rEDUyqvrmS8dD4SCGwZdfdenE1ERTqd7dLa9Ru7IYQL/9YoW4H5ZNIwOHD911gkqNUZWr7H7Z07IYSFagAQQix3/60LpHfoeSnW5GuzP/FUrVBI0AKY8pPbRh03rxSLRaAzNh8wWO2fVWN+L9Y73L+fJJwnqM8Vb+t6ukml+5kWwMSIYw9BOE4tJtq6tsu12iurAZjxk9tcjltXqD5hNLa+pVnb+gUtANI9uJ9wD5xg19SCda2dmwUKzfXVAMQniE2O4b5r+YV5YMTbD+jwtgcqWfYMhHze7W5X708Uuclkf1ON286sBmDS7XrD4+k/fbeSHc/ItYbLtCqQicdbBv767eZcNs3V6m0nzW0d+1cDMOa4fdLnde7jcPjZ9g1PdvEkkiFaAKlUqp4c7vshMDnWKZNrXDZbx/Y6iWSyGohcPK52uXovh0MTNqXafEtnXf+cQCCI0gKggryu/kOk13mUwWAAjc56RG9t/wBCWKQDgRBikiOOI75x5+FSqQR0Btshg23dMdqNiAqcT6XMzsEbF6kViMQNSb3edrBRbzoLISxVgkAIMab93td8HueJeCwspCrY3LZxR61AMFYVABUc8LhfCk2Nn5oJ+4VYgzLapDSeUgglx5br69T94YuG3p4O+Q7GoyFMLJUl1Gp8r9KEf7scdMXbECEEg4T7kwnfyJ5kIsLj8gT5xkb1Lwp+w26+yXT/bejxYP509OzMtG9rNpNiiyUNGYXCcFyNt7xfaetWfA9QLTXodb8a9BOHo5EpI5cnBEaz/XWl0XJu6aqCxPCuUffA+dxcGtRjTYRcbTqq0lu+ghBSN/OyY0WAe5lh3/i7zqEbH0EIgQW371IYrV8vVZ0kRru97r4eqnc0t256T6bVf0znwNIGuGeAAKoIsNz8qs5AuRXm8wtAp2+5XkDF+NJ5FmRKyPGhTSz2mrKA/xkgRI7tHnHd/jI3l6lY2ToOD5it67uVevybh7oFqWgUnwlNnk7GpwWVhLFGdUEmU75YKxJ5HyoAJUZ953McDq+SMIfDSUEIs3TMqRjah3ARACG2b3ToHVQq1UCE7nshIQhZkMFY0FpaPqX7U1I1QDYa3TA48EdvNlv2gQs4HD5ob9/8GBfD+h5JBdKxmDXkJ74LhXymcgZyudaj1lq21YpE448EgBLNJZO6EgDiBwwKBWYJwixfKh2ma171FlQjTDf2HyTpYz8jZXXFAAAAAElFTkSuQmCC",_withScopeId$1=e=>(pushScopeId("data-v-54daff8b"),e=e(),popScopeId(),e),_hoisted_1$2={class:"product-item-wihout-img-wrap"},_hoisted_2$2=["href","title","innerHTML"],_hoisted_3$1=["innerHTML"],_hoisted_4$1=["innerHTML"],_hoisted_5$1={class:"row-quality"},_hoisted_6$1={class:"row-price"},_hoisted_7$1=_withScopeId$1(()=>createBaseVNode("span",{class:"row-price__symble"},"¥",-1)),_hoisted_8$1={class:"row-price__value"},_hoisted_9$2=_withScopeId$1(()=>createBaseVNode("i",{class:"k-iconfont k-icon-cart_outline2"},null,-1)),_hoisted_10$1=_withScopeId$1(()=>createBaseVNode("i",{class:"k-iconfont k-icon-cart2"},null,-1)),_hoisted_11$1={class:"suc-tip"},_hoisted_12$1=_withScopeId$1(()=>createBaseVNode("span",{class:"k-iconfont k-icon-select_base1"},null,-1)),_hoisted_13$1=_withScopeId$1(()=>createBaseVNode("span",{class:"suc-text"},"成功加入购物车",-1)),_hoisted_14$1=[_hoisted_12$1,_hoisted_13$1],_hoisted_15$1={class:"err-tip"},_hoisted_16$1=_withScopeId$1(()=>createBaseVNode("span",{class:"k-iconfont k-icon-zhuyi-yansetianchong"},null,-1)),_hoisted_17$1={class:"err-text"},_sfc_main$2=defineComponent({name:"ProductItemWithoutImg",__name:"without-img",props:{itemData:{type:Object,default:()=>({})},index:{type:Number},dataType:{type:Number,default:0},triggerEasyBuy:{type:Boolean,default:!1},onlineUserIds:{type:Array,default:()=>[]},sellerLastLoginStatus:{type:Object,default:()=>({})}},setup(e){const t=e,o=useQueryStore(),s=getCurrentInstance(),l=(s==null?void 0:s.appContext.config.globalProperties.$sites)||{},c=inject("$eventBus"),n=isTouchScreen(),{shopId:a,itemId:r}=t.itemData,u=ref(!1),g=ref(""),f=()=>{const v={itemId:r,shopId:a,numbers:1};jsonp({url:(l==null?void 0:l.s_cart)+"jsonp/add",data:v}).then(h=>{h.status===200&&h.statusText==="OK"?h.body.status?(c.emit("addToCart"),g.value="",u.value=!0,setTimeout(()=>{u.value=!1},2e3)):(g.value=h.body.errMessage||"加入购物车失败,请重试",setTimeout(()=>{g.value=""},2e3)):(g.value="对不起,服务器开小差了,请重新加入购物车",setTimeout(()=>{g.value=""},2e3))}).catch(()=>{g.value="对不起,服务器开小差了,请重新加入购物车",setTimeout(()=>{g.value=""},2e3)}),B("c_addCart")},k={titleWords:"title",authorWords:"author",pressWords:"press"},d={},_=v=>{const{highlightInfo:h}=v;for(const p in k){const y=k[p],C=h[p];if(C&&C.length>0){const D=C.map(q=>q.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).sort((q,K)=>K.length-q.length);try{const q=new RegExp(D.join("|"),"g");d[y]=t.itemData[y].replace(q,"$&")}catch(q){d[y]=t.itemData[y]}}else d[y]=t.itemData[y]}};_(t.itemData),watch(()=>t.itemData,v=>{_(v)});function B(v){let h;switch(v){case"c_schResult_click":h={querytype:"",key:o.query.keyword,block_pos:"1",block_name:"商品搜索结果",res_type:"book",res_pos:t.index,res_id:r,res_name:t.itemData.title,shopid:a,abTestTag:t.itemData.abTestTag};break;case"c_easybuy":case"c_addCart":h={itemid:r,itemname:t.itemData.title,shopid:a,shopname:t.itemData.shopName,isbn:t.itemData.isbn,catnum:t.itemData.catId};break}window.track.send(v,h)}return(v,h)=>{var p;return openBlock(),createElementBlock("div",_hoisted_1$2,[createBaseVNode("a",{class:"row-name",href:(p=e.itemData.link)==null?void 0:p.pc,title:e.itemData.title,target:"_blank",onClick:h[0]||(h[0]=y=>B("c_schResult_click")),innerHTML:d.title},null,8,_hoisted_2$2),createBaseVNode("div",{class:"row-author",innerHTML:d.author},null,8,_hoisted_3$1),createBaseVNode("div",{class:"row-press",innerHTML:d.press},null,8,_hoisted_4$1),createBaseVNode("div",{class:normalizeClass(["row-years",{"is-touch-screen":unref(n)}])},toDisplayString(e.itemData.pubDateText),3),createBaseVNode("div",_hoisted_5$1,toDisplayString(e.itemData.qualityText),1),createBaseVNode("div",_hoisted_6$1,[_hoisted_7$1,createBaseVNode("span",_hoisted_8$1,toDisplayString(e.itemData.priceText),1)]),createBaseVNode("div",{class:"row-btn",onClick:f},[_hoisted_9$2,_hoisted_10$1,withDirectives(createBaseVNode("div",_hoisted_11$1,_hoisted_14$1,512),[[vShow,u.value]]),withDirectives(createBaseVNode("div",_hoisted_15$1,[_hoisted_16$1,createBaseVNode("span",_hoisted_17$1,toDisplayString(g.value),1)],512),[[vShow,g.value]])])])}}}),ProductItemWithoutImg=_export_sfc(_sfc_main$2,[["__scopeId","data-v-54daff8b"]]),_hoisted_1$1={class:"produc-list-text-skeleton"},_hoisted_2$1=createStaticVNode('
',7),_hoisted_9$1=[_hoisted_2$1],_sfc_main$1=defineComponent({name:"ProductListTextSkeleton",__name:"skeleton2",setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$1,[(openBlock(),createElementBlock(Fragment,null,renderList(50,s=>createBaseVNode("div",{class:"product-item-text-skeleton",key:s},_hoisted_9$1)),64))]))}}),ProductListTextSkeleton=_export_sfc(_sfc_main$1,[["__scopeId","data-v-8db2b959"]]),_withScopeId=e=>(pushScopeId("data-v-e765058e"),e=e(),popScopeId(),e),_hoisted_1={key:0,class:"home-view-container"},_hoisted_2={key:2,class:"intention-bar"},_hoisted_3=_withScopeId(()=>createBaseVNode("img",{src:_imports_0,alt:"",class:"icon-tip mr-4"},null,-1)),_hoisted_4={class:"intention__text"},_hoisted_5=["href"],_hoisted_6=_withScopeId(()=>createBaseVNode("i",{class:"k-iconfont k-icon-fenye_youjiantou"},null,-1)),_hoisted_7={class:"flex",style:{"align-items":"stretch","margin-top":"14px","min-height":"800px"}},_hoisted_8={class:"page-aside"},_hoisted_9={key:1,class:"tip--default"},_hoisted_10=_withScopeId(()=>createBaseVNode("span",null,"筛选项加载失败",-1)),_hoisted_11={key:2,class:"tip--default"},_hoisted_12={key:0,class:"tip--default"},_hoisted_13=_withScopeId(()=>createBaseVNode("div",{class:"tpl-filters-load-trigger__inner"},[createTextVNode(" 展开更多筛选"),createBaseVNode("i",{class:"k-iconfont k-icon-doublearrow_down ml-4"})],-1)),_hoisted_14=["textContent"],_hoisted_15={key:4,class:"tip--default"},_hoisted_16=_withScopeId(()=>createBaseVNode("span",null,"筛选项加载失败",-1)),_hoisted_17={key:5,class:"tpl-filters-section"},_hoisted_18={class:"page-main"},_hoisted_19={class:"data-content"},_hoisted_20={key:0,class:"text-list-header"},_hoisted_21=_withScopeId(()=>createBaseVNode("div",{class:"row-name"},"书名",-1)),_hoisted_22=_withScopeId(()=>createBaseVNode("div",{class:"row-author"},"作者",-1)),_hoisted_23=_withScopeId(()=>createBaseVNode("div",{class:"row-press"},"出版社",-1)),_hoisted_24=_withScopeId(()=>createBaseVNode("div",{class:"row-quality"},"品相",-1)),_hoisted_25=_withScopeId(()=>createBaseVNode("div",{class:"row-price"},"价格",-1)),_hoisted_26=_withScopeId(()=>createBaseVNode("div",{class:"row-btn"},"购买",-1)),_hoisted_27={key:0,class:"product-item-box-without-img"},_hoisted_28={key:1,class:"product-item-box"},_hoisted_29={class:"pagination-box"},_hoisted_30={class:"jump-page-box"},_hoisted_31=_withScopeId(()=>createBaseVNode("span",null,"前往",-1)),_hoisted_32=_withScopeId(()=>createBaseVNode("span",null,"页",-1)),_hoisted_33={key:2,class:"list-loading-wrap"},_hoisted_34=_withScopeId(()=>createBaseVNode("img",{src:_imports_1$1,alt:""},null,-1)),_hoisted_35=[_hoisted_34],_hoisted_36={key:3,class:"empty-wrap"},LocalStorageName="search_auto_load_tpl_filters",LocalStorageExpires=7*24*3600*1e3,_sfc_main=defineComponent({name:"LatestView",__name:"index",setup(e){const t=isTouchScreen(),o=useQueryStore(),s=useStateStore(),l=useListMode(),c=useRoute(),n=useRouter(),a=getCurrentInstance(),r=(a==null?void 0:a.appContext.config.globalProperties.$sites)||{},u={ApiGetNormalFilters:null,ApiGetTplFilters:null,ApiGetItemList:null},g=()=>getCookieMap("reciever_area")||1006e6,f=ref(!0),k=ref(!1),d=ref(!0);let _=!1;const B=ref(!1),v=ref(),h=ref([]),p=ref([{name:"PRODUCT",showName:"所有商品",selected:!0},{name:"NEW_BOOK",showName:"新书",selected:!1},{name:"PM",showName:"在线拍卖",selected:!1}]),y=ref([]),C=ref({}),D=ref(!0),q=ref([]),K=ref(1),H=ref(0),Q=ref(0),J=ref(""),x=useRejectInfoStore();let E=null;const L=S=>{Z();const z=o.action,[G]=ApiGetItemList({...S,userArea:g()},"latest",{});_=!0,G().then(V=>{var se,ne,me,X,ke;if(V.status===1){if(E&&(clearTimeout(E),E=null),_=!1,d.value=!1,f.value=!0,v.value=V.data.matchInfo,h.value=V.data.crumbs,p.value=V.data.jumpTab,y.value=V.data.navList||[],D.value=V.data.displayShowMode||!1,q.value=((se=V.data.itemResponse)==null?void 0:se.list)||[],K.value=((me=(ne=V.data.itemResponse)==null?void 0:ne.pager)==null?void 0:me.page)||1,H.value=((ke=(X=V.data.itemResponse)==null?void 0:X.pager)==null?void 0:ke.pages)||0,Q.value=V.data.totalFound||0,J.value=V.data.totalFoundText||"",document.title=V.data.pageTitle||"最新上书",q.value.length>0){const Ie=[];for(const qe of q.value)Ie.push(qe.shopkeeperId);M(Ie),pe(Ie)}z==="order"&&he(S),C.value=JSON.parse(JSON.stringify(o.query)),!k.value&&Q.value>0&&window.track.send("v_schResult_view",{selfpage:"newbookList",abTestTag:V.data.abTestTag});const Ne=[];for(const Ie of q.value)Ne.push({sellerId:Ie.shopkeeperId,itemId:Ie.itemId});W(Ne)}}).catch(V=>{ie(V)}).finally(()=>{B.value=!0,k.value=!0,s.setSearchState(!1)})};function Z(){B.value&&(E&&(clearTimeout(E),E=null),E=setTimeout(()=>{d.value=!!_},500))}function ie(S){var z,G,V,se,ne,me,X,ke,Ne,Ie,qe;if(S.type==="data")switch(((z=S.data)==null?void 0:z.errType)||""){case"102":if(((V=(G=S.data)==null?void 0:G.data)==null?void 0:V.requestRejectAction)==="GO_LOGIN"&&k.value){showLoginWindow("login","请登录后再进行浏览");return}x.setRequestRejectInfo({requestRejectAction:(ne=(se=S.data)==null?void 0:se.data)==null?void 0:ne.requestRejectAction,requestRejectCause:(X=(me=S.data)==null?void 0:me.data)==null?void 0:X.requestRejectCause,requestVerifyUrl:((Ne=(ke=S.data)==null?void 0:ke.data)==null?void 0:Ne.requestVerifyWebUrl)||""}),f.value=!1;break;default:k.value?ElMessage({message:S.message,grouping:!0,type:"error",offset:130}):(x.setRequestRejectInfo({requestRejectAction:"DATA_ERROR",requestRejectCause:S.message}),f.value=!1);break}else if(S.type==="status"&&((qe=(Ie=S==null?void 0:S.error)==null?void 0:Ie.message)!=null?qe:"")==="Request failed with status code 403")x.setRequestRejectInfo({requestRejectAction:"FORBID",requestRejectCause:"请求错误,请降低搜索频次或更换真实账号使用。"}),f.value=!1;else if(S.type==="status"&&!k.value){switch(S.typeDetail){case"netError":x.setRequestRejectInfo({requestRejectAction:"NET_ERROR",requestRejectCause:"网络好像迷路了,请注意检查您的网络连接~"});break;case"serverError":x.setRequestRejectInfo({requestRejectAction:"SERVER_ERROR",requestRejectCause:"服务器开小差了,我们正在抓紧恢复中~"});break}f.value=!1}else S.type!=="cancel"&&ElMessage({message:S.message,grouping:!0,type:"error",offset:130})}const ce=ref([]),M=S=>{let z=S.length>3?"Interface/User/getUserOnlineState":"Interface/User/getUserRealOnlineState",G={userIds:S};jsonp({url:r.s_message+z,data:G}).then(V=>{V.status===200&&V.statusText==="OK"&&(ce.value=V.body.responseData||[])})},ue=ref({}),pe=S=>{let z=r.s_user+"interface/jsonp/beforeLoginCheck";jsonp({url:z,data:{userIds:S,beforeDay:10}}).then(V=>{V.status===200&&V.statusText==="OK"&&V.body.data&&V.body.data.length>0&&V.body.data.forEach(({userId:se,lastLoginStatus:ne})=>{ue.value[se]=ne})})},$=S=>{S!==K.value&&o.mergeQuery({page:S},"pager")},m=ref(""),I=()=>{m.value=m.value.replace(/[^0-9]/g,"")},T=ref(),R=()=>{m.value&&Number(m.value)===0&&(m.value="1"),!(Number(m.value)==K.value||Number(m.value)==0)&&(Number(m.value)>H.value&&(m.value=String(H.value)),o.mergeQuery({page:Number(m.value)},"pager"),m.value="",T.value.blur())};let w=storage.getItem(LocalStorageName);const j=ref(!1),oe=ref(!1),re=ref(!1),b=ref(),i=ref(),P=ref(),N=ref(),ee=ref(""),he=S=>{u.ApiGetNormalFilters&&(u.ApiGetNormalFilters(),u.ApiGetNormalFilters=null),u.ApiGetTplFilters&&(u.ApiGetTplFilters(),u.ApiGetTplFilters=null),oe.value=!0;const[z,G]=ApiGetNormalFilters({...S,userArea:g()},"latest");z().then(V=>{var se,ne,me,X,ke,Ne;b.value=((se=V.data)==null?void 0:se.categories)||[],i.value=(ne=V.data)!=null&&ne.qualities?{code:"quality",label:"品相",children:((me=V.data)==null?void 0:me.qualities)||[]}:void 0,P.value=(X=V.data)!=null&&X.stocks?{code:"stock",label:"库存",children:V.data.stocks||[]}:void 0,N.value=((ke=V.data)==null?void 0:ke.intentionNotice)||null,ee.value=((Ne=V.data)==null?void 0:Ne.loadMoreTitle)||"",j.value=!0,re.value=!1,oe.value=!1,u.ApiGetNormalFilters=null,w&&we(S)}).catch(V=>{V.type!=="cancel"&&(j.value=!0,oe.value=!1,re.value=!0,u.ApiGetNormalFilters=null)}),u.ApiGetNormalFilters=G},ye=()=>{he(formatRequestParams(toRaw(o.query)))},ve=()=>{we(formatRequestParams(toRaw(o.query)))},Fe=()=>{storage.setItem(LocalStorageName,!0,new Date(Date.now()+LocalStorageExpires).getTime()),w=!0,we(formatRequestParams(toRaw(o.query)))},$e=ref(!1),be=ref(!1),Ve=ref(!1),Le=ref(),we=S=>{u.ApiGetTplFilters&&(u.ApiGetTplFilters(),u.ApiGetTplFilters=null),be.value=!0;const[z,G]=ApiGetTplFilters({...S,userArea:g()},"latest");z().then(V=>{var se,ne;Le.value=((ne=(se=V.data)==null?void 0:se.tplFilterList)==null?void 0:ne.map(me=>({code:me.tplCode,label:me.tplName,children:me.labels})))||[],$e.value=!0,Ve.value=!1,be.value=!1,u.ApiGetTplFilters=null}).catch(V=>{V.type!=="cancel"&&($e.value=!0,be.value=!1,Ve.value=!0,u.ApiGetTplFilters=null)}),u.ApiGetTplFilters=G},Te=ref(0),Ce=()=>{let S={...c.query};if(S.easybuyId){Te.value=Number(S.easybuyId),delete S.easybuyId;let z=[];for(const G in S)if(Object.prototype.hasOwnProperty.call(S,G)){const V=S[G];z.push("".concat(G,"=").concat(V))}window.history.replaceState(null,"","?".concat(z.join("&")))}return S};(()=>{const S=Ce();o.setQuery(convertQueryType(S));const z=formatRequestParams(toRaw(o.query));L(z),he(z)})();const Ee=throttleForApi(L,500),xe=watch(()=>o.query,S=>{if(S){n.push({name:"latest",query:convertToString(toRaw(S))}).then(()=>{sessionStorage.setItem("_href",window.location.href)});const z=document.documentElement.scrollLeft||document.body.scrollLeft,G=document.documentElement.scrollTop||document.body.scrollTop;window.scrollTo(z,G>245?0:G);const V=formatRequestParams(toRaw(S));Ee(V),o.action==="filter"&&he(V)}});onUnmounted(xe),sessionStorage.setItem("_href",window.location.href);const F=()=>{window.location.href!==sessionStorage.getItem("_href")&&location.reload()};window.addEventListener("popstate",F),onUnmounted(()=>{window.removeEventListener("popstate",F)}),inject("$eventBus").on("deliveryAddressUpdate",()=>{const S=formatRequestParams(toRaw(o.query));L(S),he(S)}),onUnmounted(()=>{for(let S in u)try{u[S]&&u[S]()}catch(z){}});const{discountCouponMap:le,batchFetchDiscountCoupon:W}=useDiscountCoupon();return(S,z)=>{var se,ne,me;const G=ElInput,V=ElPagination;return openBlock(),createElementBlock(Fragment,null,[createVNode(DynamicTabBar,{crumbs:h.value,jumpTab:p.value},null,8,["crumbs","jumpTab"]),f.value?(openBlock(),createElementBlock("div",_hoisted_1,[v.value?(openBlock(),createBlock(DynamicCrumbBar,{key:0,total:Q.value,"total-text":J.value,"nav-list":y.value,params:C.value,showSwitchMode:D.value,style:{"margin-top":"20px"}},null,8,["total","total-text","nav-list","params","showSwitchMode"])):(openBlock(),createBlock(CrumbBarSkeleton,{key:1,class:"placeholder",style:{"margin-top":"20px","margin-bottom":"6px"}})),N.value?(openBlock(),createElementBlock("div",_hoisted_2,[_hoisted_3,createTextVNode("您是否想找“"),createBaseVNode("span",_hoisted_4,toDisplayString(N.value.name),1),createTextVNode("”分类下的商品"),createBaseVNode("a",{href:((se=N.value.link)==null?void 0:se.pc)||"javascript:void(0);",target:"_self",class:"intention__link ml-4"},[createTextVNode("去看看"),_hoisted_6],8,_hoisted_5)])):createCommentVNode("",!0),createBaseVNode("main",_hoisted_7,[createBaseVNode("div",_hoisted_8,[j.value?re.value?(openBlock(),createElementBlock("div",_hoisted_9,[oe.value?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode("筛选条件加载中...")],64)):(openBlock(),createElementBlock(Fragment,{key:1},[_hoisted_10,createBaseVNode("a",{href:"javascript:void(0);",class:"button--text ml-2 inline-block",onClick:ye},"刷新")],64))])):!((ne=b.value)!=null&&ne.length)&&!i.value&&!P.value?(openBlock(),createElementBlock("div",_hoisted_11," 暂无筛选条件 ")):(openBlock(),createElementBlock(Fragment,{key:3},[(me=b.value)!=null&&me.length?(openBlock(),createBlock(CategoryFiltersSection,{key:0,data:b.value},null,8,["data"])):createCommentVNode("",!0),i.value?(openBlock(),createBlock(AsideFilterBlock,{key:1,data:i.value,class:"quality-filter"},null,8,["data"])):createCommentVNode("",!0),P.value?(openBlock(),createBlock(AsideFilterBlock,{key:2,data:P.value,class:"stock-filter"},null,8,["data"])):createCommentVNode("",!0),$e.value?Ve.value?(openBlock(),createElementBlock("div",_hoisted_15,[be.value?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode("筛选条件加载中...")],64)):(openBlock(),createElementBlock(Fragment,{key:1},[_hoisted_16,createBaseVNode("a",{href:"javascript:void(0);",class:"button--text ml-2 inline-block",onClick:ve},"刷新")],64))])):(openBlock(),createElementBlock("div",_hoisted_17,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Le.value,X=>(openBlock(),createBlock(AsideFilterBlock,{key:X.code+X.label,data:X},null,8,["data"]))),128))])):(openBlock(),createElementBlock(Fragment,{key:3},[be.value?(openBlock(),createElementBlock("div",_hoisted_12,"筛选条件加载中...")):(openBlock(),createElementBlock("div",{key:1,class:"tpl-filters-load-trigger",onClick:Fe},[_hoisted_13,createBaseVNode("p",{class:"tpl-filters-load-trigger__desc mt-4",textContent:toDisplayString(ee.value)},null,8,_hoisted_14)]))],64))],64)):(openBlock(),createBlock(CategoryFiltersSkeleton,{key:0}))]),createBaseVNode("div",_hoisted_18,[createVNode(TopFilter,{currentPage:K.value,pageCount:H.value,onCurrentChange:$},null,8,["currentPage","pageCount"]),createBaseVNode("div",_hoisted_19,[D.value&&unref(l).listMode===1?(openBlock(),createElementBlock("div",_hoisted_20,[_hoisted_21,_hoisted_22,_hoisted_23,createBaseVNode("div",{class:normalizeClass(["row-years",{"is-touch-screen":unref(t)}])},"出版时间",2),_hoisted_24,_hoisted_25,_hoisted_26])):createCommentVNode("",!0),d.value?(openBlock(),createElementBlock(Fragment,{key:1},[D.value&&unref(l).listMode===1?(openBlock(),createBlock(ProductListTextSkeleton,{key:0})):(openBlock(),createBlock(ProductListSkeleton,{key:1}))],64)):(openBlock(),createElementBlock(Fragment,{key:2},[D.value&&unref(l).listMode===1?(openBlock(),createElementBlock("div",_hoisted_27,[(openBlock(!0),createElementBlock(Fragment,null,renderList(q.value,(X,ke)=>(openBlock(),createBlock(ProductItemWithoutImg,{key:X.itemId,index:ke,itemData:X},null,8,["index","itemData"]))),128))])):(openBlock(),createElementBlock("div",_hoisted_28,[(openBlock(!0),createElementBlock(Fragment,null,renderList(q.value,(X,ke)=>(openBlock(),createBlock(ProductItem,{key:X.itemId,index:ke,itemData:X,triggerEasyBuy:X.itemId===Te.value,onlineUserIds:ce.value,sellerLastLoginStatus:ue.value,discountCoupon:unref(le).get(X.itemId)},null,8,["index","itemData","triggerEasyBuy","onlineUserIds","sellerLastLoginStatus","discountCoupon"]))),128))])),createBaseVNode("div",_hoisted_29,[createVNode(V,{"current-page":K.value,"page-size":50,layout:"prev, pager, next, slot","prev-text":"上一页","next-text":"下一页","pager-count":7,"page-count":H.value,"hide-on-single-page":!0,onCurrentChange:$},{default:withCtx(()=>[createBaseVNode("div",_hoisted_30,[_hoisted_31,createVNode(G,{ref_key:"jumpPageInput",ref:T,class:"jump-page-input",modelValue:m.value,"onUpdate:modelValue":z[0]||(z[0]=X=>m.value=X),modelModifiers:{trim:!0},onInput:I,onKeyup:withKeys(R,["enter"]),onBlur:R},null,8,["modelValue"]),_hoisted_32,createBaseVNode("button",{class:"jump-page-btn el-button--plain",onClick:R}," 确定 ")])]),_:1},8,["current-page","page-count"])]),B.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_33,_hoisted_35)),B.value&&q.value.length===0?(openBlock(),createElementBlock("div",_hoisted_36,[createVNode(EmptyList)])):createCommentVNode("",!0)],64))])])])])):(openBlock(),createBlock(AbnormalView,{key:1}))],64)}}}),Latest=_export_sfc(_sfc_main,[["__scopeId","data-v-e765058e"]]),routes=[{path:"/",name:"home",component:Home,meta:{title:"孔网搜索"}},{path:"/category",name:"category",component:Category,meta:{title:"孔夫子旧书网"}},{path:"/latest",name:"latest",component:Latest,meta:{title:"最新上书"}},{path:"/more",name:"more",component:()=>__vitePreload(()=>import("./chunk-index.Ckf9DnCF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])),meta:{title:""}},{path:"/:pathMatch(.*)",redirect:"/404"},{path:"/404",name:"404",component:()=>__vitePreload(()=>import("./chunk-index.DJmKRj2o.js"),__vite__mapDeps([10,3,1,2,4,11])),meta:{title:"404"}}],router=createRouter({history:createWebHistory("/product"),routes});router.beforeEach((...e)=>{const t=e[0],o=e[2];window.document.title=t.meta.title,o()});const app=createApp(_sfc_main$s);app.use(createPinia());app.use(router);app.use(index,{observerOptions:{rootMargin:"800px",threshold:.1}});app.config.globalProperties.$sites=getSites();const eventBus=mitt();app.config.globalProperties.$eventBus=eventBus;app.provide("$eventBus",eventBus);app.mount("#app");export{ApiMoreInfo as A,__vite_legacy_guard,AbnormalView as a,updateActionPath as b,formatRequestParams as f,queryString as q,useRejectInfoStore as u}; diff --git a/temp_kongfz_preload.txt b/temp_kongfz_preload.txt deleted file mode 100644 index 215cf66..0000000 --- a/temp_kongfz_preload.txt +++ /dev/null @@ -1,42 +0,0 @@ -var T8=Object.defineProperty;var E8=(t,e,r)=>e in t?T8(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var U=(t,e,r)=>(E8(t,typeof e!="symbol"?e+"":e,r),r);import{t as tt,r as ce,v as g,x as v,y as ge,H as T,P as ve,A as u,G as P,u as O,F as b,g as Pt,ad as oe,O as C,i as oa,f as S3,L as B,a2 as V,as as it,n as I8,c as He,R as le,S as fe,ab as se,M as ue,af as k8,J as F,T as x8,I as ne,ai as T3,w as Bo,p as L8,a7 as At,ac as E3,z as zr,aj as I3,ak as O8,b as N8,ae as Wt,a8 as k3,ao as aa,ap as la,ay as R8,az as D8,K as B8}from"./chunk-vendor.BEvyqpzI.js";import{g as $8,c as Ti,f as P8,d as Me,b as M8,h as x3,i as L3,j as O3,E as F8,k as U8,l as z8,a as Zr,m as ss,n as os,o as N3,p as R3,q as V8}from"./chunk-elementPlus.BwuzvisO.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();var It=(t=>(t.LOADING="loading",t.LOADED="loaded",t.ERROR="error",t))(It||{});const j8=typeof window<"u"&&window!==null,H8=W8(),q8=Object.prototype.propertyIsEnumerable,mc=Object.getOwnPropertySymbols;function Oi(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function K8(t){return typeof t=="object"?t===null:typeof t!="function"}function Q8(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function W8(){return j8&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function G8(t,...e){if(!Oi(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof mc!="function")return t;for(const r of e){const n=mc(r);for(const i of n)q8.call(r,i)&&(t[i]=r[i])}return t}function D3(t,...e){let r=0;for(K8(t)&&(t=e[r++]),t||(t={});r{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,n,s,o,a)}update(e,r){var a;if(!e)return;(a=this._realObserver(e))==null||a.unobserve(e);const{src:n,error:i,lifecycle:s,delay:o}=this._valueFormatter(typeof r=="string"?r:r.value);this._initIntersectionObserver(e,n,i,s,o)}unmount(e){var r;e&&((r=this._realObserver(e))==null||r.unobserve(e),this._images.delete(e))}loadImages(e,r,n,i){this._setImageSrc(e,r,n,i)}_setImageSrc(e,r,n,i){e.tagName.toLowerCase()==="img"?(r&&e.getAttribute("src")!==r&&e.setAttribute("src",r),this._listenImageStatus(e,()=>{this._lifecycle(It.LOADED,i,e)},()=>{var s;e.onload=null,this._lifecycle(It.ERROR,i,e),(s=this._realObserver(e))==null||s.disconnect(),n&&e.getAttribute("src")!==n&&e.setAttribute("src",n),this._log(()=>{this._logger("Image failed to load!And failed src was: ".concat(r," "))})})):e.style.backgroundImage="url('".concat(r,"')")}_initIntersectionObserver(e,r,n,i,s){var a;const o=this.options.observerOptions;this._images.set(e,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{s&&s>0?this._delayedIntersectionCallback(e,c,s,r,n,i):this._intersectionCallback(e,c,r,n,i)})},o)),(a=this._realObserver(e))==null||a.observe(e)}_intersectionCallback(e,r,n,i,s){var o;r.isIntersecting&&((o=this._realObserver(e))==null||o.unobserve(r.target),this._setImageSrc(e,n,i,s))}_delayedIntersectionCallback(e,r,n,i,s,o){if(r.isIntersecting){if(r.target.hasAttribute(sn))return;const a=setTimeout(()=>{this._intersectionCallback(e,r,i,s,o),r.target.removeAttribute(sn)},n);r.target.setAttribute(sn,String(a))}else r.target.hasAttribute(sn)&&(clearTimeout(Number(r.target.getAttribute(sn))),r.target.removeAttribute(sn))}_listenImageStatus(e,r,n){e.onload=r,e.onerror=n}_valueFormatter(e){let r=e,n=this.options.loading,i=this.options.error,s=this.options.lifecycle,o=this.options.delay;return Oi(e)&&(r=e.src,n=e.loading||this.options.loading,i=e.error||this.options.error,s=e.lifecycle||this.options.lifecycle,o=e.delay||this.options.delay),{src:r,loading:n,error:i,lifecycle:s,delay:o}}_log(e){this.options.log&&e()}_lifecycle(e,r,n){switch(e){case It.LOADING:n==null||n.setAttribute("lazy",It.LOADING),r!=null&&r.loading&&r.loading(n);break;case It.LOADED:n==null||n.setAttribute("lazy",It.LOADED),r!=null&&r.loaded&&r.loaded(n);break;case It.ERROR:n==null||n.setAttribute("lazy",It.ERROR),r!=null&&r.error&&r.error(n);break}}_realObserver(e){return this._images.get(e)}_logger(e,...r){let n=console.error;switch(this.options.logLevel){case"error":n=console.error;break;case"warn":n=console.warn;break;case"info":n=console.info;break;case"debug":n=console.debug;break}n(e,r)}}const uie={install(t,e){const r=new J8(e);t.config.globalProperties.$Lazyload=r,t.provide("Lazyload",r),t.directive("lazy",{mounted:r.mount.bind(r),updated:r.update.bind(r),unmounted:r.unmount.bind(r)})}};function hie(t){return{all:t=t||new Map,on:function(e,r){var n=t.get(e);n?n.push(r):t.set(e,[r])},off:function(e,r){var n=t.get(e);n&&(r?n.splice(n.indexOf(r)>>>0,1):t.set(e,[]))},emit:function(e,r){var n=t.get(e);n&&n.slice().map(function(i){i(r)}),(n=t.get("*"))&&n.slice().map(function(i){i(e,r)})}}}const X8={pcgateway:"http://pc-gateway.kongfz.com/",s_live:"https://live.kongfz.com/",im:"http://im.kongfz.com/",s_app:"https://app.kongfz.com/",s_sub2:"https://sub.kongfz.com/",s_book:"https://book.kongfz.com/",uie:"http://uie-service.kongfz.com/",video:"http://video.kfzimg.com/",s_shop:"https://shop.kongfz.com/",s_booklibimg2:"https://booklibimg.kfzimg.com/data/book_lib_img_v2/",s_mmessage:"https://mmessage.kongfz.com/",booklibimg2:"http://booklibimg.kfzimg.com/data/book_lib_img_v2/",open:"https://open.kongfz.com/",s_pm:"https://www.kongfz.cn/",seller:"http://seller.kongfz.com/",static:"http://static.kongfz.com/","cover-crop":"http://cover-crop.kongfz.com/",s_mpm:"https://m.kongfz.cn/",cart:"http://cart.kongfz.com/",s_img0:"https://img0.kfzimg.com/",s_cn_sub:"wss://sub.kongfz.cn/",sms:"http://sms.kongfz.com/",message:"http://message.kongfz.com/",search:"http://search.kongfz.com/",s_appdownload:"https://appdownload.kongfz.com/",s_shuhua:"https://shuhua.kongfz.com/",item:"http://item.kongfz.com/",xinyu:"http://xinyu.kongfz.com/",pm:"http://www.kongfz.cn/",mpm:"http://m.kongfz.cn/",s_upload:"https://upload.kongfz.com/",s_express:"https://express.kongfz.com/",s_www_kongpm:"https://www.kongpm.com/",ws_im:"ws://im.kongfz.com/",verify:"http://verify.kongfz.com/",sub:"ws://sub.kongfz.com/",s_im:"https://im.kongfz.com/",s_bigdata:"https://bigdata.kongfz.com/",s_msearch:"https://msearch.kongfz.com/",s_user_img:"https://user.kfzimg.com/",s_booklib:"https://booklib.kongfz.com/",s_wechat:"https://wechat.kongfz.com/",s_social:"https://t.kongfz.com/",mzixun:"http://mzixun.kongfz.com/",s_download:"https://download.kongfz.com/",s_imgmanage:"https://imgmanage.kongfz.com/",s_cn_message:"https://message.kongfz.cn/",s_cart:"https://cart.kongfz.com/",book:"http://book.kongfz.com/",wechat:"https://wechat.kongfz.com/",s_promotion:"https://promotion.kongfz.com/",kfzsearch:"http://kfzsearch.kongfz.com/",s_mpay:"https://mpay.kongfz.com/",s_muser:"https://muser.kongfz.com/",res:"https://res.kongfz.com/",s_kfzimg:"https://www0.kfzimg.com/",s_cn_login:"https://login.kongfz.cn/",tan:"http://tan.kongfz.com/",s_m:"https://m.kongfz.com/",res2:"https://res2.kongfz.com/",order:"http://order.kongfz.com/",s_item:"https://item.kongfz.com/","ocr-service":"http://ocr-service.kongfz.com/",s_user:"https://user.kongfz.com/",s_xinyuapi:"https://xinyuapi.kongfz.com/",www:"http://www.kongfz.com/",dav:"http://dav.kongfz.com/",s_bq:"https://bq.kongfz.com/",pay_in:"http://pay.kongfz.com/",s_cn_img:"https://img.kongfz.cn/",cn_message:"http://message.kongfz.cn/",s_mshop:"https://mshop.kongfz.com/",s_pmadmin:"https://pmadmin.kongfz.com/",imageDav:"http://imagedav.kongfz.com/",img0:"http://img0.kfzimg.com/",s_mbook:"https://mbook.kongfz.com/",social:"https://t.kongfz.com/",s_brand:"https://brand.kongfz.com/",pmgs:"http://pmgs.kongfz.com/",s_mlogin:"https://mlogin.kongfz.com/",commonWebdav:"http://dav.kongfz.com/",s_zashuguan:"https://www.zashuguan.cn/",s_vod:"https://vod.kongfz.com/",mbq:"http://mbq.kongfz.com/",wss_kongpm:"wss://sub.kongpm.com/",wss_im:"wss:/im.kongfz.com/",s_cn_cart:"https://cart.kongfz.cn/",s_res:"https://res.kongfz.com/",bigdata:"http://bigdata.kongfz.com/",www_kongpm:"http://www.kongpm.com/",s_tan:"https://tan.kongfz.com/",s_photo:"https://photo.kongfz.com/",s_static:"https://static.kongfz.com/",s_pmgsadmin:"https://pmgsadmin.kongfz.com/",s_library:"https://admin.zashuguan.cn/",s_www:"https://www.kongfz.com/",s_tj:"https://tj.kongfz.com/",s_search:"https://search.kongfz.com/",gateway:"http://gateway.kongfz.com/",s_m_kongpm:"https://m.kongpm.com/",tempImg:"http://temp.kfzimg.com/",login:"http://login.kongfz.com/",service:"http://service.kongfz.com/",user:"http://user.kongfz.com/",s_shopimg:"https://shopimg.kongfz.com.cn/",s_pay:"https://pay.kongfz.com/",s_video:"https://video.kongfz.com/",s_kpm:"https://kpm.kongfz.com/",mlogin:"https://mlogin.kongfz.com/",shequ:"http://shequ.kongfz.com/","classify-image":"http://classify-image.kongfz.com/",s_open:"https://open.kongfz.com/",s_mbq:"https://mbq.kongfz.com/",s_cn_user:"https://user.kongfz.cn/",s_res2:"https://res2.kongfz.com/",s_cn_seller:"https://seller.kongfz.cn/",s_seller:"https://seller.kongfz.com/",s_help:"https://help.kongfz.com/",s_cn_download:"https://download.kongfz.cn/",pmseller:"http://seller.kongfz.cn/",cartService:"http://cart-service.kongfz.com/",mmessage:"http://mmessage.kongfz.com/",s_xinyu:"https://xinyu.kongfz.com/",pay:"https://pay.kongfz.com/",s_t:"https://t.kongfz.com/",webdav:"http://dav.kongfz.cn/",shoushu:"http://shoushu.kongfz.com/",img:"http://shopimg.kfzimg.com/",auctionimg:"https://img.kongfz.cn/",users:"https://user.kongfz.com/",cn_cart:"http://cart.kongfz.cn/",s_newhelp:"https://newhelp.kongfz.com/",live:"http://live.kongfz.com/","s_seller-operation":"https://seller-operation.kongfz.com/",t:"http://t.kongfz.com/",screenshooter:"http://screenshooter.kongfz.com/",sub2:"http://sub.kongfz.com/",m:"https://m.kongfz.com/",shop:"http://shop.kongfz.com/",s_tousu:"https://tousu.kongfz.com/",s_auth:"https://auth.kongfz.com/",s_pmgs:"https://pmgs.kongfz.com/",s_pmgs_img:"https://pmgs.kfzimg.com/",s_sms:"https://sms.kongfz.com/",cn_sub:"ws://sub.kongfz.cn/",s_operation:"https://operation.kongfz.com/",s_pmcom:"https://pm.kongfz.com/",s_cn_tj:"https://tj.kongfz.cn/","s_app-package":"https://app-package.kongfz.com/",user_img:"http://user.kfzimg.com/",tousu:"http://tousu.kongfz.com/",s_message:"https://message.kongfz.com/",app:"http://app.kongfz.com/",ocr:"http://ocr-php-service.kongfz.com/",mshop:"http://mshop.kongfz.com/",s_service:"https://service.kongfz.com/",s_qrcode:"https://qrcode.kongfz.com/",carts:"https://cart.kongfz.com/",s_sub:"wss://sub.kongfz.com/",imageupload:"http://imgmanage.kongfz.com/",s_shoushu:"https://shoushu.kongfz.com/",mpay:"https://mpay.kongfz.com/",s_tempImg:"https://temp.kfzimg.com/",operation:"http://operation.kongfz.com/",s_order:"https://order.kongfz.com/",kfzimg:"http://www0.kfzimg.com/",shopimg:"https://www0.kfzimg.com/",s_jiaocai:"https://jiaocai.kongfz.com/",auctionimgcc:"https://img.kongfz.cn/",s_login:"https://login.kongfz.com/",mpays:"https://mpay.kongfz.com/",muser:"http://muser.kongfz.com/",davUpload:"http://image-upload.kfz.com/",s_booklibimg:"https://booklibimg.kfzimg.com/",mbook:"http://mbook.kongfz.com/",help:"http://help.kongfz.com/",msearch:"http://msearch.kongfz.com/",s_zsg_img:"https://zsg.kfzimg.com/","s_image-upload":"https://image-upload.kongfz.com/",subs:"wss://sub.kongfz.com/",cn_user:"http://user.kongfz.cn/"},eg="20251222175835-006eb2c425f2b915",tg={sites:X8,releaseKey:eg},rg=(t,e)=>e?t.replace(/^(https?|wss?):\/\//,"$&neibu"):t,B3=()=>{const t={BASE_URL:"https://static.kongfz.com/search-v3/",MODE:"production",DEV:!1,PROD:!0,SSR:!1,LEGACY:!1}.VITE_PROXY_ENV==="neibu",e=tg.sites||{};if(!e||typeof e!="object")return{};const r={};return Object.entries(e).forEach(([n,i])=>{typeof i!="string"?r[n]=String(i||""):r[n]=rg(i,t)}),r},fie=tt({name:"KLayout",__name:"layout",props:{horizontal:{type:Boolean,default:!1},floatLeft:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},breakpoint:{type:String}},setup(t){const e=t,r=ce(1240);function n(){const s=window.innerWidth;if(s<=1024){r.value=1024;return}if(e.breakpoint=="xl"&&s<=1920&&s>=1240){console.log(1240),r.value=1240;return}if(s>=1920){console.log(1920),r.value=1920;return}r.value=s}function i(){if(e.fixedWidth){r.value=1240;return}n(),window.onresize=()=>{n()}}return i(),(s,o)=>(g(),v("div",{class:T(["k-layout",[t.horizontal?"is-horizontal":"",t.floatLeft?"is-float-left":""]]),style:ve({width:r.value+"px"})},[ge(s.$slots,"default")],6))}}),ng={class:"k-main"},die=tt({name:"KMain",__name:"main",setup(t){return(e,r)=>(g(),v("div",ng,[ge(e.$slots,"default")]))}}),ig={class:"k-footer"},pie=tt({name:"KFooter",__name:"footer",setup(t){return(e,r)=>(g(),v("div",ig,[ge(e.$slots,"default")]))}});(function(t){var e=encodeURIComponent(location.href),r=encodeURIComponent(document.referrer),n=window.screen.width,i=window.screen.height,s={resolution:n+"x"+i,selfUrl:e,refUrl:r},o=function(){this.v="1.0.2"};o.prototype.send=function(a,l){var c="";l&&typeof l=="object"&&(c=encodeURIComponent(JSON.stringify(l)));var h="";window.location.href.indexOf("kongfz.com")!=-1?(h="//tj.kongfz.com/web/collect/1.gif",window.location.href.indexOf("neibu")>-1&&(h="//neibutj.kongfz.com/web/collect/1.gif")):window.location.href.indexOf("kongfz.cn")!=-1&&(h="//tj.kongfz.cn/web/collect/1.gif",window.location.href.indexOf("neibu")>-1&&(h="//neibutj.kongfz.cn/web/collect/1.gif")),h+="?event="+a+"&resolution="+s.resolution+"&selfUrl="+s.selfUrl+"&refUrl="+s.refUrl+"&eventAttr="+c+"&n_"+Math.random();var f=document.getElementById("__trackImg");if(f)f.src=h;else{var d=document.createElement("img");d.src=h,d.id="__trackImg",d.style.display="none",document.body.appendChild(d)}},t.track=new o})(window);/** - * cross-storage - Cross domain local storage - * - * @version 1.0.0 - * @link https://github.com/zendesk/cross-storage - * @author Daniel St. Jules - * @copyright Zendesk - * @license Apache-2.0 - * @updatedate 2022.02.07 修改为 es 版 - */function xe(t,e){e=e||{},this._id=xe._generateUUID(),this._promise=e.promise||Promise,this._frameId=e.frameId||"CrossStorageClient-"+this._id,this._origin=xe._getOrigin(t),this._requests={},this._connected=!1,this._closed=!1,this._count=0,this._timeout=e.timeout||5e3,this._listener=null,this._installListener();var r;e.frameId&&(r=document.getElementById(e.frameId)),r&&this._poll(),r=r||this._createFrame(t),this._hub=r.contentWindow}xe.frameStyle={display:"none",position:"absolute",top:"-999px",left:"-999px"};xe._getOrigin=function(t){var e,r,n;return e=document.createElement("a"),e.href=t,e.host||(e=window.location),!e.protocol||e.protocol===":"?r=window.location.protocol:r=e.protocol,n=r+"//"+e.host,n=n.replace(/:80$|:443$/,""),n};xe._generateUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,r=t=="x"?e:e&3|8;return r.toString(16)})};xe.prototype.onConnect=function(){var t=this;return this._connected?this._promise.resolve():this._closed?this._promise.reject(new Error("CrossStorageClient has closed")):(this._requests.connect||(this._requests.connect=[]),new this._promise(function(e,r){var n=setTimeout(function(){r(new Error("CrossStorageClient could not connect"))},t._timeout);t._requests.connect.push(function(i){if(clearTimeout(n),i)return r(i);e()})}))};xe.prototype.set=function(t,e){return this._request("set",{key:t,value:e})};xe.prototype.get=function(t){var e=Array.prototype.slice.call(arguments);return this._request("get",{keys:e})};xe.prototype.del=function(){var t=Array.prototype.slice.call(arguments);return this._request("del",{keys:t})};xe.prototype.clear=function(){return this._request("clear")};xe.prototype.getKeys=function(){return this._request("getKeys")};xe.prototype.close=function(){var t=document.getElementById(this._frameId);t&&t.parentNode.removeChild(t),window.removeEventListener?window.removeEventListener("message",this._listener,!1):window.detachEvent("onmessage",this._listener),this._connected=!1,this._closed=!0};xe.prototype._installListener=function(){var t=this;this._listener=function(e){var r,n,i,s;if(!(t._closed||!e.data||typeof e.data!="string")&&(n=e.origin==="null"?"file://":e.origin,n===t._origin)){if(e.data==="cross-storage:unavailable"){if(t._closed||t.close(),!t._requests.connect)return;for(i=new Error("Closing client. Could not access localStorage in hub."),r=0;re=>{const r=sg.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Mt=t=>(t=t.toLowerCase(),e=>ca(e)===t),ua=t=>e=>typeof e===t,{isArray:qn}=Array,Zi=ua("undefined");function og(t){return t!==null&&!Zi(t)&&t.constructor!==null&&!Zi(t.constructor)&&ct(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const P3=Mt("ArrayBuffer");function ag(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&P3(t.buffer),e}const lg=ua("string"),ct=ua("function"),M3=ua("number"),ha=t=>t!==null&&typeof t=="object",cg=t=>t===!0||t===!1,_o=t=>{if(ca(t)!=="object")return!1;const e=F2(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},ug=Mt("Date"),hg=Mt("File"),fg=Mt("Blob"),dg=Mt("FileList"),pg=t=>ha(t)&&ct(t.pipe),gg=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ct(t.append)&&((e=ca(t))==="formdata"||e==="object"&&ct(t.toString)&&t.toString()==="[object FormData]"))},vg=Mt("URLSearchParams"),yg=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function as(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),qn(t))for(n=0,i=t.length;n0;)if(i=r[n],e===i.toLowerCase())return i;return null}const U3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,z3=t=>!Zi(t)&&t!==U3;function N0(){const{caseless:t}=z3(this)&&this||{},e={},r=(n,i)=>{const s=t&&F3(e,i)||i;_o(e[s])&&_o(n)?e[s]=N0(e[s],n):_o(n)?e[s]=N0({},n):qn(n)?e[s]=n.slice():e[s]=n};for(let n=0,i=arguments.length;n(as(e,(i,s)=>{r&&ct(i)?t[s]=$3(i,r):t[s]=i},{allOwnKeys:n}),t),bg=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),_g=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},wg=(t,e,r,n)=>{let i,s,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)o=i[s],(!n||n(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=r!==!1&&F2(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Cg=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Ag=t=>{if(!t)return null;if(qn(t))return t;let e=t.length;if(!M3(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Sg=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&F2(Uint8Array)),Tg=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},Eg=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Ig=Mt("HTMLFormElement"),kg=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),_c=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),xg=Mt("RegExp"),V3=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};as(r,(i,s)=>{let o;(o=e(i,s,t))!==!1&&(n[s]=o||i)}),Object.defineProperties(t,n)},Lg=t=>{V3(t,(e,r)=>{if(ct(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(ct(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Og=(t,e)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return qn(t)?n(t):n(String(t).split(e)),r},Ng=()=>{},Rg=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ja="abcdefghijklmnopqrstuvwxyz",wc="0123456789",j3={DIGIT:wc,ALPHA:Ja,ALPHA_DIGIT:Ja+Ja.toUpperCase()+wc},Dg=(t=16,e=j3.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r};function Bg(t){return!!(t&&ct(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const $g=t=>{const e=new Array(10),r=(n,i)=>{if(ha(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[i]=n;const s=qn(n)?[]:{};return as(n,(o,a)=>{const l=r(o,i+1);!Zi(l)&&(s[a]=l)}),e[i]=void 0,s}}return n};return r(t,0)},Pg=Mt("AsyncFunction"),Mg=t=>t&&(ha(t)||ct(t))&&ct(t.then)&&ct(t.catch),E={isArray:qn,isArrayBuffer:P3,isBuffer:og,isFormData:gg,isArrayBufferView:ag,isString:lg,isNumber:M3,isBoolean:cg,isObject:ha,isPlainObject:_o,isUndefined:Zi,isDate:ug,isFile:hg,isBlob:fg,isRegExp:xg,isFunction:ct,isStream:pg,isURLSearchParams:vg,isTypedArray:Sg,isFileList:dg,forEach:as,merge:N0,extend:mg,trim:yg,stripBOM:bg,inherits:_g,toFlatObject:wg,kindOf:ca,kindOfTest:Mt,endsWith:Cg,toArray:Ag,forEachEntry:Tg,matchAll:Eg,isHTMLForm:Ig,hasOwnProperty:_c,hasOwnProp:_c,reduceDescriptors:V3,freezeMethods:Lg,toObjectSet:Og,toCamelCase:kg,noop:Ng,toFiniteNumber:Rg,findKey:F3,global:U3,isContextDefined:z3,ALPHABET:j3,generateString:Dg,isSpecCompliantForm:Bg,toJSONObject:$g,isAsyncFn:Pg,isThenable:Mg};function ie(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}E.inherits(ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const H3=ie.prototype,q3={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{q3[t]={value:t}});Object.defineProperties(ie,q3);Object.defineProperty(H3,"isAxiosError",{value:!0});ie.from=(t,e,r,n,i,s)=>{const o=Object.create(H3);return E.toFlatObject(t,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ie.call(o,t.message,e,r,n,i),o.cause=t,o.name=t.name,s&&Object.assign(o,s),o};const Fg=null;function R0(t){return E.isPlainObject(t)||E.isArray(t)}function K3(t){return E.endsWith(t,"[]")?t.slice(0,-2):t}function Cc(t,e,r){return t?t.concat(e).map(function(i,s){return i=K3(i),!r&&s?"["+i+"]":i}).join(r?".":""):e}function Ug(t){return E.isArray(t)&&!t.some(R0)}const zg=E.toFlatObject(E,{},null,function(e){return/^is[A-Z]/.test(e)});function fa(t,e,r){if(!E.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=E.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,_){return!E.isUndefined(_[m])});const n=r.metaTokens,i=r.visitor||h,s=r.dots,o=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(e);if(!E.isFunction(i))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(E.isDate(y))return y.toISOString();if(!l&&E.isBlob(y))throw new ie("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(y)||E.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function h(y,m,_){let A=y;if(y&&!_&&typeof y=="object"){if(E.endsWith(m,"{}"))m=n?m:m.slice(0,-2),y=JSON.stringify(y);else if(E.isArray(y)&&Ug(y)||(E.isFileList(y)||E.endsWith(m,"[]"))&&(A=E.toArray(y)))return m=K3(m),A.forEach(function(L,S){!(E.isUndefined(L)||L===null)&&e.append(o===!0?Cc([m],S,s):o===null?m:m+"[]",c(L))}),!1}return R0(y)?!0:(e.append(Cc(_,m,s),c(y)),!1)}const f=[],d=Object.assign(zg,{defaultVisitor:h,convertValue:c,isVisitable:R0});function p(y,m){if(!E.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(y),E.forEach(y,function(A,x){(!(E.isUndefined(A)||A===null)&&i.call(e,A,E.isString(x)?x.trim():x,m,d))===!0&&p(A,m?m.concat(x):[x])}),f.pop()}}if(!E.isObject(t))throw new TypeError("data must be an object");return p(t),e}function Ac(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function U2(t,e){this._pairs=[],t&&fa(t,this,e)}const Q3=U2.prototype;Q3.append=function(e,r){this._pairs.push([e,r])};Q3.toString=function(e){const r=e?function(n){return e.call(this,n,Ac)}:Ac;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function Vg(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function W3(t,e,r){if(!e)return t;const n=r&&r.encode||Vg,i=r&&r.serialize;let s;if(i?s=i(e,r):s=E.isURLSearchParams(e)?e.toString():new U2(e,r).toString(n),s){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class Sc{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){E.forEach(this.handlers,function(n){n!==null&&e(n)})}}const G3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jg=typeof URLSearchParams<"u"?URLSearchParams:U2,Hg=typeof FormData<"u"?FormData:null,qg=typeof Blob<"u"?Blob:null,Kg={isBrowser:!0,classes:{URLSearchParams:jg,FormData:Hg,Blob:qg},protocols:["http","https","file","blob","url","data"]},Z3=typeof window<"u"&&typeof document<"u",Qg=(t=>Z3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Wg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Z3,hasStandardBrowserEnv:Qg,hasStandardBrowserWebWorkerEnv:Wg},Symbol.toStringTag,{value:"Module"})),Nt={...Gg,...Kg};function Zg(t,e){return fa(t,new Nt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,s){return Nt.isNode&&E.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Yg(t){return E.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Jg(t){const e={},r=Object.keys(t);let n;const i=r.length;let s;for(n=0;n=r.length;return o=!o&&E.isArray(i)?i.length:o,l?(E.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a):((!i[o]||!E.isObject(i[o]))&&(i[o]=[]),e(r,n,i[o],s)&&E.isArray(i[o])&&(i[o]=Jg(i[o])),!a)}if(E.isFormData(t)&&E.isFunction(t.entries)){const r={};return E.forEachEntry(t,(n,i)=>{e(Yg(n),i,r,0)}),r}return null}function Xg(t,e,r){if(E.isString(t))try{return(e||JSON.parse)(t),E.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const z2={transitional:G3,adapter:["xhr","http"],transformRequest:[function(e,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,s=E.isObject(e);if(s&&E.isHTMLForm(e)&&(e=new FormData(e)),E.isFormData(e))return i?JSON.stringify(Y3(e)):e;if(E.isArrayBuffer(e)||E.isBuffer(e)||E.isStream(e)||E.isFile(e)||E.isBlob(e))return e;if(E.isArrayBufferView(e))return e.buffer;if(E.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Zg(e,this.formSerializer).toString();if((a=E.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return fa(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),Xg(e)):e}],transformResponse:[function(e){const r=this.transitional||z2.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(e&&E.isString(e)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?ie.from(a,ie.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Nt.classes.FormData,Blob:Nt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],t=>{z2.headers[t]={}});const V2=z2,ev=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tv=t=>{const e={};let r,n,i;return t&&t.split("\n").forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||e[r]&&ev[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},Tc=Symbol("internals");function ci(t){return t&&String(t).trim().toLowerCase()}function wo(t){return t===!1||t==null?t:E.isArray(t)?t.map(wo):String(t)}function rv(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const nv=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Xa(t,e,r,n,i){if(E.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!E.isString(e)){if(E.isString(n))return e.indexOf(n)!==-1;if(E.isRegExp(n))return n.test(e)}}function iv(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function sv(t,e){const r=E.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(i,s,o){return this[n].call(this,e,i,s,o)},configurable:!0})})}class da{constructor(e){e&&this.set(e)}set(e,r,n){const i=this;function s(a,l,c){const h=ci(l);if(!h)throw new Error("header name must be a non-empty string");const f=E.findKey(i,h);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||l]=wo(a))}const o=(a,l)=>E.forEach(a,(c,h)=>s(c,h,l));return E.isPlainObject(e)||e instanceof this.constructor?o(e,r):E.isString(e)&&(e=e.trim())&&!nv(e)?o(tv(e),r):e!=null&&s(r,e,n),this}get(e,r){if(e=ci(e),e){const n=E.findKey(this,e);if(n){const i=this[n];if(!r)return i;if(r===!0)return rv(i);if(E.isFunction(r))return r.call(this,i,n);if(E.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=ci(e),e){const n=E.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Xa(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let i=!1;function s(o){if(o=ci(o),o){const a=E.findKey(n,o);a&&(!r||Xa(n,n[a],a,r))&&(delete n[a],i=!0)}}return E.isArray(e)?e.forEach(s):s(e),i}clear(e){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!e||Xa(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const r=this,n={};return E.forEach(this,(i,s)=>{const o=E.findKey(n,s);if(o){r[o]=wo(i),delete r[s];return}const a=e?iv(s):String(s).trim();a!==s&&delete r[s],r[a]=wo(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return E.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&E.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){const n=(this[Tc]=this[Tc]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=ci(o);n[a]||(sv(i,o),n[a]=!0)}return E.isArray(e)?e.forEach(s):s(e),this}}da.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(da.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}});E.freezeMethods(da);const Gt=da;function el(t,e){const r=this||V2,n=e||r,i=Gt.from(n.headers);let s=n.data;return E.forEach(t,function(a){s=a.call(r,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function J3(t){return!!(t&&t.__CANCEL__)}function ls(t,e,r){ie.call(this,t==null?"canceled":t,ie.ERR_CANCELED,e,r),this.name="CanceledError"}E.inherits(ls,ie,{__CANCEL__:!0});function ov(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new ie("Request failed with status code "+r.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const av=Nt.hasStandardBrowserEnv?{write(t,e,r,n,i,s){const o=[t+"="+encodeURIComponent(e)];E.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),E.isString(n)&&o.push("path="+n),E.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function lv(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function cv(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function X3(t,e){return t&&!lv(e)?cv(t,e):e}const uv=Nt.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(s){let o=s;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){const a=E.isString(o)?i(o):o;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}();function hv(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function fv(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i=0,s=0,o;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),h=n[s];o||(o=c),r[i]=l,n[i]=c;let f=s,d=0;for(;f!==i;)d+=r[f++],f=f%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-o{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-r,l=n(a),c=s<=o;r=s;const h={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&c?(o-s)/l:void 0,event:i};h[e?"download":"upload"]=!0,t(h)}}const dv=typeof XMLHttpRequest<"u",pv=dv&&function(t){return new Promise(function(r,n){let i=t.data;const s=Gt.from(t.headers).normalize();let{responseType:o,withXSRFToken:a}=t,l;function c(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}let h;if(E.isFormData(i)){if(Nt.hasStandardBrowserEnv||Nt.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((h=s.getContentType())!==!1){const[m,..._]=h?h.split(";").map(A=>A.trim()).filter(Boolean):[];s.setContentType([m||"multipart/form-data",..._].join("; "))}}let f=new XMLHttpRequest;if(t.auth){const m=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.set("Authorization","Basic "+btoa(m+":"+_))}const d=X3(t.baseURL,t.url);f.open(t.method.toUpperCase(),W3(d,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function p(){if(!f)return;const m=Gt.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),A={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:m,config:t,request:f};ov(function(L){r(L),c()},function(L){n(L),c()},A),f=null}if("onloadend"in f?f.onloadend=p:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(p)},f.onabort=function(){f&&(n(new ie("Request aborted",ie.ECONNABORTED,t,f)),f=null)},f.onerror=function(){n(new ie("Network Error",ie.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const A=t.transitional||G3;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),n(new ie(_,A.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,t,f)),f=null},Nt.hasStandardBrowserEnv&&(a&&E.isFunction(a)&&(a=a(t)),a||a!==!1&&uv(d))){const m=t.xsrfHeaderName&&t.xsrfCookieName&&av.read(t.xsrfCookieName);m&&s.set(t.xsrfHeaderName,m)}i===void 0&&s.setContentType(null),"setRequestHeader"in f&&E.forEach(s.toJSON(),function(_,A){f.setRequestHeader(A,_)}),E.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),o&&o!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",Ec(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Ec(t.onUploadProgress)),(t.cancelToken||t.signal)&&(l=m=>{f&&(n(!m||m.type?new ls(null,t,f):m),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l)));const y=hv(d);if(y&&Nt.protocols.indexOf(y)===-1){n(new ie("Unsupported protocol "+y+":",ie.ERR_BAD_REQUEST,t));return}f.send(i||null)})},D0={http:Fg,xhr:pv};E.forEach(D0,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(r){}Object.defineProperty(t,"adapterName",{value:e})}});const Ic=t=>"- ".concat(t),gv=t=>E.isFunction(t)||t===null||t===!1,e5={getAdapter:t=>{t=E.isArray(t)?t:[t];const{length:e}=t;let r,n;const i={};for(let s=0;s"adapter ".concat(a," ")+(l===!1?"is not supported by the environment":"is not available in the build"));let o=e?s.length>1?"since :\n"+s.map(Ic).join("\n"):" "+Ic(s[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:D0};function tl(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ls(null,t)}function kc(t){return tl(t),t.headers=Gt.from(t.headers),t.data=el.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),e5.getAdapter(t.adapter||V2.adapter)(t).then(function(n){return tl(t),n.data=el.call(t,t.transformResponse,n),n.headers=Gt.from(n.headers),n},function(n){return J3(n)||(tl(t),n&&n.response&&(n.response.data=el.call(t,t.transformResponse,n.response),n.response.headers=Gt.from(n.response.headers))),Promise.reject(n)})}const xc=t=>t instanceof Gt?{...t}:t;function $n(t,e){e=e||{};const r={};function n(c,h,f){return E.isPlainObject(c)&&E.isPlainObject(h)?E.merge.call({caseless:f},c,h):E.isPlainObject(h)?E.merge({},h):E.isArray(h)?h.slice():h}function i(c,h,f){if(E.isUndefined(h)){if(!E.isUndefined(c))return n(void 0,c,f)}else return n(c,h,f)}function s(c,h){if(!E.isUndefined(h))return n(void 0,h)}function o(c,h){if(E.isUndefined(h)){if(!E.isUndefined(c))return n(void 0,c)}else return n(void 0,h)}function a(c,h,f){if(f in e)return n(c,h);if(f in t)return n(void 0,c)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,h)=>i(xc(c),xc(h),!0)};return E.forEach(Object.keys(Object.assign({},t,e)),function(h){const f=l[h]||i,d=f(t[h],e[h],h);E.isUndefined(d)&&f!==a||(r[h]=d)}),r}const t5="1.6.8",j2={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{j2[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Lc={};j2.transitional=function(e,r,n){function i(s,o){return"[Axios v"+t5+"] Transitional option '"+s+"'"+o+(n?". "+n:"")}return(s,o,a)=>{if(e===!1)throw new ie(i(o," has been removed"+(r?" in "+r:"")),ie.ERR_DEPRECATED);return r&&!Lc[o]&&(Lc[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}};function vv(t,e,r){if(typeof t!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const s=n[i],o=e[s];if(o){const a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new ie("option "+s+" must be "+l,ie.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ie("Unknown option "+s,ie.ERR_BAD_OPTION)}}const B0={assertOptions:vv,validators:j2},ar=B0.validators;class $o{constructor(e){this.defaults=e,this.interceptors={request:new Sc,response:new Sc}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+s):n.stack=s}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=$n(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&B0.assertOptions(n,{silentJSONParsing:ar.transitional(ar.boolean),forcedJSONParsing:ar.transitional(ar.boolean),clarifyTimeoutError:ar.transitional(ar.boolean)},!1),i!=null&&(E.isFunction(i)?r.paramsSerializer={serialize:i}:B0.assertOptions(i,{encode:ar.function,serialize:ar.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&E.merge(s.common,s[r.method]);s&&E.forEach(["delete","get","head","post","put","patch","common"],y=>{delete s[y]}),r.headers=Gt.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(r)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let h,f=0,d;if(!l){const y=[kc.bind(this),void 0];for(y.unshift.apply(y,a),y.push.apply(y,c),d=y.length,h=Promise.resolve(r);f{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{n.subscribe(a),s=a}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},e(function(s,o,a){n.reason||(n.reason=new ls(s,o,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new H2(function(i){e=i}),cancel:e}}}const yv=H2;function mv(t){return function(r){return t.apply(null,r)}}function bv(t){return E.isObject(t)&&t.isAxiosError===!0}const $0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($0).forEach(([t,e])=>{$0[e]=t});const _v=$0;function r5(t){const e=new Co(t),r=$3(Co.prototype.request,e);return E.extend(r,Co.prototype,e,{allOwnKeys:!0}),E.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return r5($n(t,i))},r}const Z=r5(V2);Z.Axios=Co;Z.CanceledError=ls;Z.CancelToken=yv;Z.isCancel=J3;Z.VERSION=t5;Z.toFormData=fa;Z.AxiosError=ie;Z.Cancel=Z.CanceledError;Z.all=function(e){return Promise.all(e)};Z.spread=mv;Z.isAxiosError=bv;Z.mergeConfig=$n;Z.AxiosHeaders=Gt;Z.formToJSON=t=>Y3(E.isHTMLForm(t)?new FormData(t):t);Z.getAdapter=e5.getAdapter;Z.HttpStatusCode=_v;Z.default=Z;function wv(t,e){var r;return function(){var n=this,i=arguments;clearTimeout(r),r=setTimeout(function(){t.apply(n,i)},e)}}const ye=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r};new xe("https://www.kongfz.com/search-suggest-history-iframe.html");const Cv="https://static.kongfz.com/search-v3/assets/images/code-app-QCzWBt1d.png",Av="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAADLElEQVR42rXXzYscRRgG8F/XTFx2IwbFgzEQIuIH5pAQXUQFD+IHIYr/gCdRRNGDoAePXiLsQTyIJwVRwS80EhSNh4goIhESNReNSGIkejDRsIlkk5nuylAUDJvdmiE9k/dlmC6663meet6q7iqtoyO4ZFHpgDWDvCTwFbZYcNQnph4BM160KIoO6E5bPXN2ifrOivaqpg0fvCXqqfVFrzBNig4eT/BRTAQPoTNN/escETUZ/nszqKap/4kM3wyydj/CdA3anbTXg4yemwy+0hlkJf8nqKsdzObUnscaVbrTFVQXqXZFh8uw2fFU3p9sX+F9WH003cJSqs2Zt80mfb87MMglnPC5yoc+0zdj6yBv0nXSL/YPfoREPyZCMuVRP+iJOZfss+B2nax7gxd864yoyb9/vW8+9x5byBvsSd1qPf1B9hJEVDvkI2/a6//UbuT7+ql9zkvmGEURcIvDYuqYYDNUXy0OM5E3y9vpiT2uKlNUWO9QXqkrMxElqqZw95zoKwFV6SX8doZvkYn2H48IZfe3i+p28KnfX24bvfjeTe63VX/KXeiW/d/otDiB/mcyfNGgxyQlLbIv2md2teIGwxHciqb1i/xTZ3TFAkGKDYitv9PfZXmrElT6uGKCj0ffiTK3TBK0j2DtaIIqlaptRMEmVCWCqINTrWsQcWOJYBh/ompNcDfq8jSN2I/Qehbd6Q5RGPXIFr2JVvKuhFON2hIea7uWc79n0RmkYQwblZ7rzWsEbeM+Z32jEF3syIOdxKgv7XB5qQpX+lnUn4Qi9X516M3QjkbXfz6ecK8ZktWvI65e6Gscb1/oPPo3yiIDdk74VT5pKzplgmv9lrxsq38hwY89YtQt59CveV80Jna3mEvpxGD8iUfAdY4WRtGkLNmzcwg/juJhPc0yilp9AWD/guv3CuYUKvGkvANNRL2sf8mi07kV5c1von7HHMLFnccWDTfof3vNvdabtc5mD3rZH2I27LCnVaurr0ZQ1LZ5ygPW+tEXPnBEJUqRrja6x82ig752rHz4GF0LZsyqMmVQ5QzLDllVsbSjizJUlQDqVWyMCJryhu08cGYEKhyl7XgAAAAASUVORK5CYII=",Sv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAuCAYAAABap1twAAAGgUlEQVR42u2YXYyVRx3Gn2fed4EipTalQWNjtLB7vsCWtI2JqVWqFM4eMCaoiTHGpBf2xphQTYy9kfZCLwyaaKpJrzTqhaEXDbBnWVutJJoQxSplz9dCo7ZK+GhFEFh2eWce/287cc8Wz+6Ch7VN+CVP/nP+M5nz7JyZ2ZkhroKxVvkWL/8YXPrEcLFxYbRdZrXY1Giz4ILVU6BgEKKF4XIn1NslDhdbqnfKy5FlO5m6b1UL7TNYICkWyJ7mWm4uNc+ONocGFLKvWOoJ+Szdc3goVMsdj/+C1SUKIbHitLx/FOSSYTO3d7zEbeta6qvBASbIcY7fyAKerrcKHxkudQ4cPFFy+9ulVV5axaCVguF4zjm+lq5wr216T2N6tFn8sBAesIpPwUhcwEIhroJ6s5gMl9t+tFX6oIJ/XOReS2+CVAR4K6CVb/TJs4DOgGgT/IXltpF8vFpqHxxtFJJqpeP7bnDEOq5Zx/Xxwgo5PEJop4QVVqWe/cQ646LFnQHhh1vLR8+PNIeSWnnC981gvVmwket4i/dKeArQhi5jmcm9qT/FGExpl9HDFL5oI/i7esP6XMBIcn5zQ2ZuwtviuE/CHgHvsvRFEj+1eJuE7XONnukAyD9C+pyVbzedJPlJ+4MPjowPJrV1R+c06eYZOZebM5MVAU9Hczm7Lf9ImuCzJI7MGJptjuC5NL1pe63c2UHy27FutaTdNhfX5+YsumsyONYqMN/HpAcJYZeE91p6GgbJ99tCWR2UFgCu6vnLUMuDLm0YO3bXckjlWDdluiMQu9pnas5+7rC/XeZVbzOZl7Pg663j2yxujnNtCQxJD0j+gBVXmt7dY6FIQiqv3cFPvgJgfcwvNWWQNv35xLFPWPkZ7y87i/6qRvBChgCDCtu7frYQ5U2FaM7Prouaya2M5vzsOisEfRpGrdJ7HroeWwo/c/eEbN9bLqDWNdouKkEklt2curJdCoNg7dnW3e+Asb9ZYc+f2Ja8CxK2rpsI+5qDBEFLy6UDzmdTT1p5wCT0FwrKwMkEhsdl2nfD9kntHV/jnEtge2WYPXIv30MsPnN6IIyx5tA7PfGoxI0Emg785pZy+6+jL5VuDZd8vt8tMwX0F5qyxPFLW0qdY/ubxfcF6OsCyiSeN323WuycSWF4cZekhwFlAu4PxIaxv2z6kPev5PUPRoMyEf3Fi1rxWx3k2dYXdku6Nzct4X6Ad1j5YY40SkOA/yWAPJFFEw7OfTRZ7l7w57PT0aDvs0GavEtRCcHdjhB+07UjpAD/ZiY+lpL+Fgk3w+hedQxYbc1C/Bzr+j6CiUn5dyl+nplKulnmzc0xtwIWjd4e4qj832GvvMNbnBsGbxjszQ2DbxODmn2fIGKZFrRIWyQhYcYHYzkoN5gm7mWLf4/JLDbwcGxhOsRz4HVDEFI618oNdV1jc47n3tzmQvsUnfteNJ7CIPkDewVowmPp9TZoWral1Oo48MmYSwjC0X0/95bCGC61n7Lj/QuCNlLuxZvSgeewOAiRJWm6YyrzI2L4AIlf2wD9/j8jtr85SDugHrLioXhZd4gslslLfjq/PI1ZMRf2jRe4dV1HKYwt5aPKL+mCSDkxgWZ1sAg4UvVG0YmBDpQ96YVZ9+LhPBGpTxTZw9x8D0UzzN+O3VE0D5V2WNA+SE/kpFpyjsSpBb7lsFsLPFpNgsnxN5JOC96oq6WW9tk83DR4eIrgDtPx+Owxacp6jMqlbvU4hGaxj2kSr5Luq9VC62T9xbWsFtu65ue35yfuWToZpm5jkp4P0xcfs9TXTN7kTCRxMiHvgzAZHzBTL40KuqvrhSEh8KMlzu3w0lIuGzj30J3jk3ZzZHVNS9f8r27fkbXcOPSHqZBNnagO/ukcybNvnnMSQhZ0enO586rpdKaBUwIud7eLXPh4qf3PSa9Tubl6Y3DG3LUa3Lr+mMZaFYJkTCXzzS1CnOOShJTkaKfI4cpR9eWwsLnUkELQPNuOZgqcs00WpGqhrcU8zeja2/XfIP/XnK6HQc584akYM8SFQPIfAwMDGSK1yhGfbyNd7UwGeRJGqsC+G3TOCQalX1k4Hp9DXHT/44eGGpmtSpc/uuN1+LOuhbHU9C+SIzBc6vpvcLgyEUYaQ65amThGcJvp5wAPkPwy0/Q7yHGJ8kf319uX2z8h+HkQz1l8hg41O6EcqreGXK1ibRaT+vidvGL/bKy5IvfsS5WrPqL/G0YU7YI6d77kAAAAAElFTkSuQmCC",Tv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAQAAAC0NkA6AAABzElEQVR42u3YvYrUUACG4fdLsiiLgoqFjYWdYiMIFnsVFgqKiI2TzFrabqOFlYUgrM64CIq4vQheguAlyFZiJfizIA6iOfkECQObGPLDgk2e052c5E1yUkXscUtBiAGMirlplyoVg02iqfinyvQbvTrDUUxfYjfaefyrJZLqidMjPOQiBxH9LXi9km4uppqZioSShbXu6+QkGNOHEIe4lu9w1zF5Y2SrANYAMP033wQiX4DC0BgB8AEgQnzgCxHdiJxjnELACgSXL6wpQsFfunP8xbfDKujAyaOv06vFNoEEg2h4kpof90L2fR7oIEvAC8CUukYiQFPRgQUIoG/EgGemg8xAy8qIfTFGxsgYGSNjZIyMkTEyRsbIfkqAuhgcp+p4hZx4SOQnKJ8XdJABhCGR8+lnr6bViIkJqDIZp7ucA9Qz4g026MEAcceNl5ZnFZWRA091Ws+AUDtqltwW4fdylfYMiEAv5++1RSBGlUEpBzRzY2QSgd8CriVUrlrP1nybGJez9dt4ByuieU8iQ7RZnOUKOaIu+BKXG78kE7HNfXBo+bdyQ8+dnfQJDNQFyjumTvq0+vGBaTfRRAx2s/EfU206FWIAeW7+pz/q1Z9aXAhkwgAAAABJRU5ErkJggg==",Ev="https://static.kongfz.com/search-v3/assets/images/code-mp-B0TQTJJd.png",n5=function(t){t.url=t.url||"",t.client=t.client||"m",t.clientVersion=t.clientVersion||"1.0.1",t.talkId=t.talkId||"",t.init=t.init||!1,this.config=t,this.debug=!1,this.data={},this.data.t="",this.data.t1="",this.data.reTime=5e3,this.data.self=!1,this.data.heartTime=0,this.data.ie={t:"",ts:""},this.ims={},this.ims.ws="",this.on={},this.on.message=t.on.message||"",this.on.close=t.on.close||"",this.on.error=t.on.error||"",this.on.open=t.on.open||"",this.config.init&&this.connect()};n5.prototype={connect:function(){this.webSocket(),this.isOnline()},webSocket:function(){var t=this,e="";this.initStatus();try{this.config.talkId?e=this.config.url+"?client="+this.config.client+"&clientVersion="+this.config.clientVersion+"&talkerId="+this.config.talkId:e=this.config.url+"?client="+this.config.client+"&clientVersion="+this.config.clientVersion,"WebSocket"in window?(this.ims.ws=new WebSocket(e),this.onopen(),this.onmessage(),this.onclose(),this.onerror()):this.config.talkId?this.imServiceIe():this.SubService()}catch(n){t.initStatus();var r=setTimeout(function(){t.reconnect(),clearTimeout(r)},3e4)}},initStatus:function(){var t=this;t.ims.ws&&(t.ims.ws.close&&t.ims.ws.close(),t.ims.ws=""),t.data.t1&&(clearTimeout(t.data.t1),t.data.t1=""),t.data.t&&(clearTimeout(t.data.t),t.data.t="")},onopen:function(){var t=this;this.ims.ws.onopen=function(){t.startHeartcheck(),t.on.open&&t.on.open({result:"open"})}},onmessage:function(){var t=this;this.ims.ws.onmessage=function(e){try{var r=e.data;t.data.heartTime=t.data.heartTime-1,t.data.heartTime<0&&(t.data.heartTime=0),t.receivedMsgRender(r),t.data.reTime=5e3}catch(n){}}},onclose:function(){var t=this;this.ims.ws.onclose=function(){t.on.close&&t.on.close({result:"close"}),!t.data.self&&(t.data.t1||(t.data.t1&&(clearTimeout(t.data.t1),t.data.t1=""),t.reconnect()),t.data.t&&(clearInterval(t.data.t),t.data.t=""))}},onerror:function(){var t=this;this.ims.ws.onerror=function(e){t.on.error&&t.on.error(e)}},startHeartcheck:function(){var t=this;t.ims.ws.readyState===1&&(t.ims.ws.send("i"),t.data.heartTime=+t.data.heartTime+1,t.data.t=setInterval(function(){t.ims.ws.send("i"),t.data.heartTime=+t.data.heartTime+1;var e=setTimeout(function(){t.data.heartTime>3&&(t.reconnect(),t.data.heartTime=0),clearTimeout(e)},200)},18e3))},reconnect:function(){var t=this;if(t.data.t1)return!1;t.data.t1=setTimeout(function(){t.webSocket(),t.data.reTime<=8e4?t.data.reTime=t.data.reTime+t.data.reTime:t.data.reTime=16e4+ +t.randomNum(-50,50),clearTimeout(t.data.t1),t.data.t1=""},t.data.reTime)},close:function(t){t=="self"&&(this.data.self=!0),clearInterval(this.data.t),this.data.t="",this.ims.ws&&this.ims.ws.close(),clearInterval(this.data.ie.t),clearInterval(this.data.ie.ts)},receivedMsgRender:function(t){var e=this,r="";t=="o"||t=="i"||(r=e.messageFilter(t),r&&e.on.message&&e.on.message(r))},messageFilter:function(t){var e=this,r=t.slice(0,1),n=t.slice(1,7),i=JSON.parse(t.slice(7,t.length));return e.ims.ws.send("a"+n),r=="m"?i:!1},randomNum:function(t,e){switch(arguments.length){case 1:return parseInt(Math.random()*t+1,10);case 2:return parseInt(Math.random()*(e-t+1)+t,10);default:return 0}},isOnline:function(){var t=this;try{t.addHandler(window,"online",function(){t.online()}),t.addHandler(window,"offline",function(){t.offline()})}catch(e){}},online:function(){this.reconnect()},offline:function(){this.close("self"),this.on.error&&this.on.error({result:"offline"})},addHandler:function(t,e,r){t.addEventListener?t.addEventListener(e,r,!1):t.attachEvent?t.attachEvent("on"+e,r):t["on"+e]=r},imServiceIe:function(){var t=this;t.socketMessages()},socketMessages:function(){var t=this,e="https://"+this.config.url.split("/")[2];t.data.ie.t=setInterval(function(){t.config.talkId&&$.ajax({url:e+"ajax/pull/socketMessages/"+t.config.talkId,type:"GET",dataType:"JSONP",timeout:3e3,success:function(r){if($.isArray(r))for(var n=0;n"u"||!Pe?ee:Pe(Uint8Array),jr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ee:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ee:ArrayBuffer,"%ArrayIteratorPrototype%":on&&Pe?Pe([][Symbol.iterator]()):ee,"%AsyncFromSyncIteratorPrototype%":ee,"%AsyncFunction%":yn,"%AsyncGenerator%":yn,"%AsyncGeneratorFunction%":yn,"%AsyncIteratorPrototype%":yn,"%Atomics%":typeof Atomics>"u"?ee:Atomics,"%BigInt%":typeof BigInt>"u"?ee:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ee:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ee:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ee:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Gv,"%eval%":eval,"%EvalError%":Zv,"%Float32Array%":typeof Float32Array>"u"?ee:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ee:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ee:FinalizationRegistry,"%Function%":s5,"%GeneratorFunction%":yn,"%Int8Array%":typeof Int8Array>"u"?ee:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ee:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ee:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":on&&Pe?Pe(Pe([][Symbol.iterator]())):ee,"%JSON%":typeof JSON=="object"?JSON:ee,"%Map%":typeof Map>"u"?ee:Map,"%MapIteratorPrototype%":typeof Map>"u"||!on||!Pe?ee:Pe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ee:Promise,"%Proxy%":typeof Proxy>"u"?ee:Proxy,"%RangeError%":Yv,"%ReferenceError%":Jv,"%Reflect%":typeof Reflect>"u"?ee:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ee:Set,"%SetIteratorPrototype%":typeof Set>"u"||!on||!Pe?ee:Pe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ee:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":on&&Pe?Pe(""[Symbol.iterator]()):ee,"%Symbol%":on?Symbol:ee,"%SyntaxError%":Pn,"%ThrowTypeError%":e7,"%TypedArray%":r7,"%TypeError%":En,"%Uint8Array%":typeof Uint8Array>"u"?ee:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ee:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ee:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ee:Uint32Array,"%URIError%":Xv,"%WeakMap%":typeof WeakMap>"u"?ee:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ee:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ee:WeakSet};if(Pe)try{null.error}catch(t){var n7=Pe(Pe(t));jr["%Error.prototype%"]=n7}var i7=function t(e){var r;if(e==="%AsyncFunction%")r=nl("async function () {}");else if(e==="%GeneratorFunction%")r=nl("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=nl("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Pe&&(r=Pe(i.prototype))}return jr[e]=r,r},Rc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},us=q2,Po=Wv,s7=us.call(Function.call,Array.prototype.concat),o7=us.call(Function.apply,Array.prototype.splice),Dc=us.call(Function.call,String.prototype.replace),Mo=us.call(Function.call,String.prototype.slice),a7=us.call(Function.call,RegExp.prototype.exec),l7=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,c7=/\\(\\)?/g,u7=function(e){var r=Mo(e,0,1),n=Mo(e,-1);if(r==="%"&&n!=="%")throw new Pn("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Pn("invalid intrinsic syntax, expected opening `%`");var i=[];return Dc(e,l7,function(s,o,a,l){i[i.length]=a?Dc(l,c7,"$1"):o||s}),i},h7=function(e,r){var n=e,i;if(Po(Rc,n)&&(i=Rc[n],n="%"+i[0]+"%"),Po(jr,n)){var s=jr[n];if(s===yn&&(s=i7(n)),typeof s>"u"&&!r)throw new En("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new Pn("intrinsic "+e+" does not exist!")},Kn=function(e,r){if(typeof e!="string"||e.length===0)throw new En("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new En('"allowMissing" argument must be a boolean');if(a7(/^%?[^%]*%?$/,e)===null)throw new Pn("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=u7(e),i=n.length>0?n[0]:"",s=h7("%"+i+"%",r),o=s.name,a=s.value,l=!1,c=s.alias;c&&(i=c[0],o7(n,s7([0,1],c)));for(var h=1,f=!0;h=n.length){var m=Vr(a,d);f=!!m,f&&"get"in m&&!("originalValue"in m.get)?a=m.get:a=a[d]}else f=Po(a,d),a=a[d];f&&!l&&(jr[o]=a)}}return a},o5={exports:{}},sl,Bc;function K2(){if(Bc)return sl;Bc=1;var t=Kn,e=t("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch(r){e=!1}return sl=e,sl}var f7=Kn,Ao=f7("%Object.getOwnPropertyDescriptor%",!0);if(Ao)try{Ao([],"length")}catch(t){Ao=null}var a5=Ao,$c=K2(),d7=i5,an=cs,Pc=a5,p7=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new an("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new an("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new an("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new an("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new an("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new an("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,l=!!Pc&&Pc(e,r);if($c)$c(e,r,{configurable:o===null&&l?l.configurable:!o,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:s===null&&l?l.writable:!s});else if(a||!i&&!s&&!o)e[r]=n;else throw new d7("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},P0=K2(),l5=function(){return!!P0};l5.hasArrayLengthDefineBug=function(){if(!P0)return null;try{return P0([],"length",{value:1}).length!==1}catch(e){return!0}};var g7=l5,v7=Kn,Mc=p7,y7=g7(),Fc=a5,Uc=cs,m7=v7("%Math.floor%"),b7=function(e,r){if(typeof e!="function")throw new Uc("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||m7(r)!==r)throw new Uc("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in e&&Fc){var o=Fc(e,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(s=!1)}return(i||s||!n)&&(y7?Mc(e,"length",r,!0,!0):Mc(e,"length",r)),e};(function(t){var e=q2,r=Kn,n=b7,i=cs,s=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(o,s),l=K2(),c=r("%Math.max%");t.exports=function(d){if(typeof d!="function")throw new i("a function is required");var p=a(e,o,arguments);return n(p,1+c(0,d.length-(arguments.length-1)),!0)};var h=function(){return a(e,s,arguments)};l?l(t.exports,"apply",{value:h}):t.exports.apply=h})(o5);var _7=o5.exports,c5=Kn,u5=_7,w7=u5(c5("String.prototype.indexOf")),C7=function(e,r){var n=c5(e,!!r);return typeof n=="function"&&w7(e,".prototype.")>-1?u5(n):n};const A7={},S7=Object.freeze(Object.defineProperty({__proto__:null,default:A7},Symbol.toStringTag,{value:"Module"})),T7=$8(S7);var Q2=typeof Map=="function"&&Map.prototype,ol=Object.getOwnPropertyDescriptor&&Q2?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Fo=Q2&&ol&&typeof ol.get=="function"?ol.get:null,zc=Q2&&Map.prototype.forEach,W2=typeof Set=="function"&&Set.prototype,al=Object.getOwnPropertyDescriptor&&W2?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Uo=W2&&al&&typeof al.get=="function"?al.get:null,Vc=W2&&Set.prototype.forEach,E7=typeof WeakMap=="function"&&WeakMap.prototype,Ni=E7?WeakMap.prototype.has:null,I7=typeof WeakSet=="function"&&WeakSet.prototype,Ri=I7?WeakSet.prototype.has:null,k7=typeof WeakRef=="function"&&WeakRef.prototype,jc=k7?WeakRef.prototype.deref:null,x7=Boolean.prototype.valueOf,L7=Object.prototype.toString,O7=Function.prototype.toString,N7=String.prototype.match,G2=String.prototype.slice,yr=String.prototype.replace,R7=String.prototype.toUpperCase,Hc=String.prototype.toLowerCase,h5=RegExp.prototype.test,qc=Array.prototype.concat,Lt=Array.prototype.join,D7=Array.prototype.slice,Kc=Math.floor,M0=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ll=Object.getOwnPropertySymbols,F0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Mn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",qe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Mn||!0)?Symbol.toStringTag:null,f5=Object.prototype.propertyIsEnumerable,Qc=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Wc(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||h5.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Kc(-t):Kc(t);if(n!==t){var i=String(n),s=G2.call(e,i.length+1);return yr.call(i,r,"$&_")+"."+yr.call(yr.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return yr.call(e,r,"$&_")}var U0=T7,Gc=U0.custom,Zc=p5(Gc)?Gc:null,B7=function t(e,r,n,i){var s=r||{};if(fr(s,"quoteStyle")&&s.quoteStyle!=="single"&&s.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(fr(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=fr(s,"customInspect")?s.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(fr(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(fr(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=s.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return v5(e,s);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return a?Wc(e,l):l}if(typeof e=="bigint"){var c=String(e)+"n";return a?Wc(e,c):c}var h=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=h&&h>0&&typeof e=="object")return z0(e)?"[Array]":"[Object]";var f=X7(s,n);if(typeof i>"u")i=[];else if(g5(i,e)>=0)return"[Circular]";function d(Ce,sr,or){if(sr&&(i=D7.call(i),i.push(sr)),or){var li={depth:s.depth};return fr(s,"quoteStyle")&&(li.quoteStyle=s.quoteStyle),t(Ce,li,n+1,i)}return t(Ce,s,n+1,i)}if(typeof e=="function"&&!Yc(e)){var p=H7(e),y=Os(e,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(y.length>0?" { "+Lt.call(y,", ")+" }":"")}if(p5(e)){var m=Mn?yr.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):F0.call(e);return typeof e=="object"&&!Mn?ui(m):m}if(Z7(e)){for(var _="<"+Hc.call(String(e.nodeName)),A=e.attributes||[],x=0;x",_}if(z0(e)){if(e.length===0)return"[]";var L=Os(e,d);return f&&!J7(L)?"["+V0(L,f)+"]":"[ "+Lt.call(L,", ")+" ]"}if(M7(e)){var S=Os(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!f5.call(e,"cause")?"{ ["+String(e)+"] "+Lt.call(qc.call("[cause]: "+d(e.cause),S),", ")+" }":S.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Lt.call(S,", ")+" }"}if(typeof e=="object"&&o){if(Zc&&typeof e[Zc]=="function"&&U0)return U0(e,{depth:h-n});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(q7(e)){var N=[];return zc&&zc.call(e,function(Ce,sr){N.push(d(sr,e,!0)+" => "+d(Ce,e))}),Jc("Map",Fo.call(e),N,f)}if(W7(e)){var w=[];return Vc&&Vc.call(e,function(Ce){w.push(d(Ce,e))}),Jc("Set",Uo.call(e),w,f)}if(K7(e))return cl("WeakMap");if(G7(e))return cl("WeakSet");if(Q7(e))return cl("WeakRef");if(U7(e))return ui(d(Number(e)));if(V7(e))return ui(d(M0.call(e)));if(z7(e))return ui(x7.call(e));if(F7(e))return ui(d(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===Ti)return"{ [object globalThis] }";if(!P7(e)&&!Yc(e)){var Q=Os(e,d),G=Qc?Qc(e)===Object.prototype:e instanceof Object||e.constructor===Object,re=e instanceof Object?"":"null prototype",j=!G&&qe&&Object(e)===e&&qe in e?G2.call(Ir(e),8,-1):re?"Object":"",R=G||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",W=R+(j||re?"["+Lt.call(qc.call([],j||[],re||[]),": ")+"] ":"");return Q.length===0?W+"{}":f?W+"{"+V0(Q,f)+"}":W+"{ "+Lt.call(Q,", ")+" }"}return String(e)};function d5(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function $7(t){return yr.call(String(t),/"/g,""")}function z0(t){return Ir(t)==="[object Array]"&&(!qe||!(typeof t=="object"&&qe in t))}function P7(t){return Ir(t)==="[object Date]"&&(!qe||!(typeof t=="object"&&qe in t))}function Yc(t){return Ir(t)==="[object RegExp]"&&(!qe||!(typeof t=="object"&&qe in t))}function M7(t){return Ir(t)==="[object Error]"&&(!qe||!(typeof t=="object"&&qe in t))}function F7(t){return Ir(t)==="[object String]"&&(!qe||!(typeof t=="object"&&qe in t))}function U7(t){return Ir(t)==="[object Number]"&&(!qe||!(typeof t=="object"&&qe in t))}function z7(t){return Ir(t)==="[object Boolean]"&&(!qe||!(typeof t=="object"&&qe in t))}function p5(t){if(Mn)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!F0)return!1;try{return F0.call(t),!0}catch(e){}return!1}function V7(t){if(!t||typeof t!="object"||!M0)return!1;try{return M0.call(t),!0}catch(e){}return!1}var j7=Object.prototype.hasOwnProperty||function(t){return t in this};function fr(t,e){return j7.call(t,e)}function Ir(t){return L7.call(t)}function H7(t){if(t.name)return t.name;var e=N7.call(O7.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function g5(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;re.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return v5(G2.call(t,0,e.maxStringLength),e)+n}var i=yr.call(yr.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Y7);return d5(i,"single",e)}function Y7(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+R7.call(e.toString(16))}function ui(t){return"Object("+t+")"}function cl(t){return t+" { ? }"}function Jc(t,e,r,n){var i=n?V0(r,n):Lt.call(r,", ");return t+" ("+e+") {"+i+"}"}function J7(t){for(var e=0;e=0)return!1;return!0}function X7(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=Lt.call(Array(t.indent+1)," ");else return null;return{base:r,prev:Lt.call(Array(e+1),r)}}function V0(t,e){if(t.length===0)return"";var r="\n"+e.prev+e.base;return r+Lt.call(t,","+r)+"\n"+e.prev}function Os(t,e){var r=z0(t),n=[];if(r){n.length=t.length;for(var i=0;i1;){var r=e.pop(),n=r.obj[r.prop];if(Ur(n)){for(var i=[],s=0;s=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||s===py.RFC1738&&(c===40||c===41)){a+=o.charAt(l);continue}if(c<128){a=a+St[c];continue}if(c<2048){a=a+(St[192|c>>6]+St[128|c&63]);continue}if(c<55296||c>=57344){a=a+(St[224|c>>12]+St[128|c>>6&63]+St[128|c&63]);continue}l+=1,c=65536+((c&1023)<<10|o.charCodeAt(l)&1023),a+=St[240|c>>18]+St[128|c>>12&63]+St[128|c>>6&63]+St[128|c&63]}return a},_y=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i"u"&&(N=0)}if(typeof h=="function"?L=h(r,L):L instanceof Date?L=p(L):n==="comma"&&kt(L)&&(L=So.maybeMap(L,function(Ya){return Ya instanceof Date?p(Ya):Ya})),L===null){if(o)return c&&!_?c(r,De.encoder,A,"key",y):r;L=""}if(ky(L)||So.isBuffer(L)){if(c){var G=_?r:c(r,De.encoder,A,"key",y);return[m(G)+"="+m(c(L,De.encoder,A,"value",y))]}return[m(r)+"="+m(String(L))]}var re=[];if(typeof L>"u")return re;var j;if(n==="comma"&&kt(L))_&&c&&(L=So.maybeMap(L,c)),j=[{value:L.length>0?L.join(",")||null:void 0}];else if(kt(h))j=h;else{var R=Object.keys(L);j=f?R.sort(f):R}var W=l?r.replace(/\./g,"%2E"):r,Ce=i&&kt(L)&&L.length===1?W+"[]":W;if(s&&kt(L)&&L.length===0)return Ce+"[]";for(var sr=0;sr"u"?e.encodeDotInKeys===!0?!0:De.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:De.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:De.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:De.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?De.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:De.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:De.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:De.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:De.encodeValuesOnly,filter:s,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:De.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:De.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:De.strictNullHandling}},Oy=function(t,e){var r=t,n=Ly(e),i,s;typeof n.filter=="function"?(s=n.filter,r=s("",r)):kt(n.filter)&&(s=n.filter,i=s);var o=[];if(typeof r!="object"||r===null)return"";var a=w5[n.arrayFormat],l=a==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var c=_5(),h=0;h0?p+d:""},Fn=b5,j0=Object.prototype.hasOwnProperty,Ny=Array.isArray,Se={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:Fn.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Ry=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},A5=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},Dy="utf8=%26%2310003%3B",By="utf8=%E2%9C%93",$y=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,s=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,s),a=-1,l,c=r.charset;if(r.charsetSentinel)for(l=0;l-1&&(y=Ny(y)?[y]:y);var m=j0.call(n,p);m&&r.duplicates==="combine"?n[p]=Fn.combine(n[p],y):(!m||r.duplicates==="last")&&(n[p]=y)}return n},Py=function(t,e,r,n){for(var i=n?e:A5(e,r),s=t.length-1;s>=0;--s){var o,a=t[s];if(a==="[]"&&r.parseArrays)o=r.allowEmptyArrays&&i===""?[]:[].concat(i);else{o=r.plainObjects?Object.create(null):{};var l=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,c=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,h=parseInt(c,10);!r.parseArrays&&c===""?o={0:i}:!isNaN(h)&&a!==c&&String(h)===c&&h>=0&&r.parseArrays&&h<=r.arrayLimit?(o=[],o[h]=i):c!=="__proto__"&&(o[c]=i)}i=o}return i},My=function(e,r,n,i){if(e){var s=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,l=n.depth>0&&o.exec(s),c=l?s.slice(0,l.index):s,h=[];if(c){if(!n.plainObjects&&j0.call(Object.prototype,c)&&!n.allowPrototypes)return;h.push(c)}for(var f=0;n.depth>0&&(l=a.exec(s))!==null&&f"u"?Se.charset:e.charset,n=typeof e.duplicates>"u"?Se.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:Se.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:Se.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Se.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Se.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Se.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Se.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Se.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:Se.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:Se.decoder,delimiter:typeof e.delimiter=="string"||Fn.isRegExp(e.delimiter)?e.delimiter:Se.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Se.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Se.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Se.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Se.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Se.strictNullHandling}},Uy=function(t,e){var r=Fy(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?$y(t,r):t,i=r.plainObjects?Object.create(null):{},s=Object.keys(n),o=0;onew Promise((e,r)=>{let n=t.url,i=t.callback||("jsonp_"+Math.random()).replace(".",""),s=t.data?"&"+S5.stringify(t.data):"",o=qy(n)+(~n.indexOf("?")?"&":"?")+"callback="+i+s,a=t.timeout||2e4,l=null,c,h,f;window[i]=d=>{clearTimeout(f),l=d},c=({type:d})=>{let p=0,y;d==="load"&&l!==null?(p=200,y="OK"):d==="error"?(p=500,y="error load"):d==="abort"&&(p=400,y="timeout",r(new Error("JSONP request to ".concat(o," timed out")))),p&&window[i]&&(delete window[i],document.head.removeChild(h)),e(e({body:l,status:p,statusText:y}))},f=setTimeout(function(){window[i]=null,document.head.removeChild(h),c({type:"abort"})},a),h=document.createElement("script"),h.src=o,h.type="text/javascript",h.async=!0,h.onload=c,h.onerror=c,document.head.appendChild(h)}),qy=t=>!~t.indexOf("http")&&~t.indexOf(".com")?window.location.protocol+t:t;var Vo={remindIframe:null,remindIframeUrl:"",service:"",userId:""};const eu=(t=0)=>{Vo.userId=t||0,Vo.service=pa()},Ky=async(t=[])=>{try{const e=await zo({url:Vo.service+"v1/pc/user/batch/online",data:{userIds:t.join(",")}}),{status:r}=e;if(!r)throw"getOnlineState error";const{result:n}=e.body;return n}catch(e){return Promise.reject(e)}},Qy=(t,e=!1)=>{if(Vo.userId<=0){alert("请登录");return}let r="".concat(pa(),"?talkId=").concat(t);e&&(r="".concat(r,"$sendReferer=1$url=").concat(window.location.href)),T5(r)},Wy=()=>{const t="".concat(pa(),"#customerService");T5(t)},T5=t=>{const e=t||pa();window.open(e,"_blank")},pa=()=>{var t=window.location.href.match(/^http[s]?:\/\/(\w+)\.([\w\.]+)/);if(t&&t.length>1){if(/neibu|dev/.test(t[1]))return document.location.protocol+"//neibumessage.kongfz.com/";if(/kfz\.(com|cn)/.test(t[2]))return document.location.protocol+"//message.kfz.com/"}return document.location.protocol+"//message.kongfz.com/"},Gy={appName:"WEB_KFZ_WEB_NOTICE",site:{message:"",subs:""},$interface:{},$eventBus:null,init:function(t,e){return this.site.message=t.siteMessage,this.site.subs=t.siteSubs,this.$eventBus=t.$eventBus,this.$interface={getOnlineState:Ky,talk:Qy,openCustomService:Wy},Z({method:"get",url:"/message-web/v2/pc/message/init"}).then(r=>{if(r.data.status){let n={settings:r.data.data.settings};e&&e(n),this.msgNotice({unreadNum:r.data.data.unreadTotal,isInit:!0}),this.initSubsockets();const i=r.data.data.userId;eu(i)}else eu(0)}).catch(()=>{}),this.$interface},initSubsockets:function(){new n5({init:!0,url:this.site.subs+"ws",client:"pc",clientVersion:"1.1",on:{message:t=>{this.updateMessage(t)},open:t=>{},close:t=>{},error:t=>{}}})},updateMessage:function(t){t.channel=="UNREAD_NUM"?t.data&&(t.data.isInit=!1,this.msgNotice(t.data)):t.channel=="AUCTION_BID"?this.auctionBidNotice(t.data):t.channel=="LIVE_ROOM"&&this.liveRoomNotice(t.data)},msgNotice:function(t){this.$eventBus.emit("msgNotice",t)},auctionBidNotice:function(t){this.$eventBus.emit("bidNotice",t)},liveRoomNotice:function(t){this.$eventBus.emit("liveRoomNotice",t)}},Zy={class:"info-domain"},Yy=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-dianpu"}),u("span",{class:"text"},"店铺")],-1),Jy=["href"],Xy=["href"],e9=["href"],t9=["href"],r9=["href"],n9={class:"info-domain"},i9=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-bid"}),u("span",{class:"text"},"拍卖")],-1),s9=["href"],o9=["href"],a9=["href"],l9=["href"],c9={key:0,class:"info-domain"},u9=u("div",{class:"title"},null,-1),h9=["href"],f9=tt({name:"SellerLayer",__name:"SellerLayer",props:{userType:{type:String,default:""}},setup(t){const e=Pt(),r=(e==null?void 0:e.appContext.config.globalProperties.$sites)||{};return(n,i)=>(g(),v("div",{class:T((t.userType.indexOf("shopkeeper")!=-1||t.userType.indexOf("bookstaller")!=-1)&&t.userType.indexOf("auctioneer")!=-1?"seller-center":"no-seller-center")},[u("div",Zy,[Yy,t.userType.indexOf("shopkeeper")!=-1||t.userType.indexOf("bookstaller")!=-1?(g(),v(P,{key:0},[u("a",{href:O(r).s_seller+"pc/upbook/index#/",class:"item",target:"_blank"},"添加商品",8,Jy),u("a",{href:O(r).s_seller+"shop/item.html#unsold_9743",class:"item",target:"_blank"},"商品管理",8,Xy),u("a",{href:O(r).s_order+"order-views/management/seller/list",class:"item",target:"_blank"},"订单管理",8,e9)],64)):(g(),v(P,{key:1},[u("a",{href:O(r).s_shop+"seller/apply/tan.html",class:"item",target:"_blank"},"免费摆书摊",8,t9),u("a",{href:O(r).s_shop+"seller/apply/shop.html",class:"item",target:"_blank"},"申请开店",8,r9)],64))]),u("div",n9,[i9,t.userType.indexOf("auctioneer")!=-1?(g(),v(P,{key:0},[u("a",{href:O(r).s_pm+"seller/product.html#add",class:"item",target:"_blank"},"添加拍品",8,s9),u("a",{href:O(r).s_pm+"seller/product_list.html",class:"item",target:"_blank"},"拍品管理",8,o9),u("a",{href:O(r).s_pm+"trade-views/management/seller/list",class:"item",target:"_blank"},"交易管理",8,a9)],64)):(g(),v("a",{key:1,href:O(r).s_pm+"index/apply/",class:"item",target:"_blank",rel:"nofollow"},"申请拍卖会员",8,l9))]),t.userType.indexOf("shopkeeper")!=-1||t.userType.indexOf("bookstaller")!=-1||t.userType.indexOf("auctioneer")!=-1?(g(),v("div",c9,[u9,u("a",{href:O(r).pay+"m-pc-finance/merchant/account",class:"item",target:"_blank"},"卖家收入",8,h9)])):b("",!0)],2))}}),d9="https://static.kongfz.com/search-v3/assets/images/bg-kong-D_NbBnsy.png",p9={key:0,class:"no-login-cart-none-box"},g9=u("div",{class:"tip"},[u("span",{class:"text"},"您的购物车是空的,"),u("span",{class:"text"},"登录后可以同步购物车中的商品哦")],-1),v9={key:1,class:"cart-none-box"},y9=u("div",{class:"iconfont icon-gouwuche-empty"},null,-1),m9=u("div",{class:"tip"},"您的购物车是空的,快去挑点好书放进来吧。",-1),b9=[y9,m9],_9={key:2,class:"cart-list-box"},w9=u("div",{class:"title"},"最近加入的商品:",-1),C9={class:"item-list"},A9=["href"],S9=["src","onError"],T9=["href"],E9={class:"info"},I9={class:"price"},k9={class:"del-box"},x9=["onClick"],L9={class:"btn-box clearfix"},O9={key:0,class:"tip"},N9=u("span",null,"购物车里还有",-1),R9={class:"num"},D9=u("span",null,"件商品",-1),B9=["href"],$9=tt({name:"CartLayer",__name:"CartLayer",props:{isLogin:{type:Boolean,default:!1},list:{type:Array,default:()=>[]},cartNum:{type:Number},upCartItem:{type:Function}},emits:["loginClick"],setup(t,{emit:e}){const r=t,n=e,i=Pt(),s=(i==null?void 0:i.appContext.config.globalProperties.$sites)||{},o={},a=ce(!1),l=f=>{f.imgUrl=d9},c=(f,d,p)=>{o.shopId=f,o.itemId=p,o.num=1,zo({url:"".concat(s.s_cart,"jsonp/delCartItem"),data:{carts:[{cartId:d,itemId:p}]}}).then(y=>{y.body.status&&(r.upCartItem&&r.upCartItem(),a.value=!0)})},h=()=>{zo({url:"".concat(s.s_cart,"jsonp/add/"),data:{shopId:o.shopId,itemId:o.itemId,number:1,note:""}}).then(f=>{f.body.status&&(r.upCartItem&&r.upCartItem(),a.value=!1)})};return(f,d)=>(g(),v("div",null,[!t.isLogin&&!t.list.length?(g(),v("div",p9,[g9,u("div",{class:"login-btn",onClick:d[0]||(d[0]=p=>n("loginClick"))},"登录")])):b("",!0),t.isLogin&&!t.list.length?(g(),v("div",v9,b9)):b("",!0),t.list.length?(g(),v("div",_9,[w9,u("div",C9,[(g(!0),v(P,null,oe(t.list,p=>(g(),v("div",{key:p.itemId,class:"item clearfix"},[u("a",{class:T(["img-box",p.imgUrl.indexOf("bg-kong")>-1?"err-img":""]),href:O(s).book+p.shopId+"/"+p.itemId+"/",target:"_blank"},[u("img",{src:p.imgUrl,onError:y=>l(p),alt:""},null,40,S9)],10,A9),u("a",{href:O(s).book+p.shopId+"/"+p.itemId+"/",class:"name",target:"_blank"},C(p.itemName),9,T9),u("div",E9,[u("div",I9,"¥"+C(p.price),1),u("div",k9,[u("span",{class:"del-btn",onClick:y=>c(p.shopId,p.cartId,p.itemId)},"删除",8,x9)])])]))),128))]),a.value?(g(),v("div",{key:0,class:"revoke-btn",onClick:h},"误删了?点击这里找回商品")):b("",!0),u("div",L9,[t.cartNum&&t.cartNum>5?(g(),v("div",O9,[N9,u("span",R9,C(t.cartNum-5),1),D9])):b("",!0),u("a",{href:O(s).s_cart+"list",class:"btn",target:"_blank"},"查看我的购物车",8,B9)])])):b("",!0)]))}});window.loginWin=function(t,e,r){var n,i=document.createElement("div"),s=document.createElement("div"),o=document.getElementsByTagName("BODY")[0];i.id="loginWinMask",s.id="loginWin",i.style.cssText="position: fixed;top: 0px;left: 0px;z-index: 100000000;width: 100%;height: 100%;background-color: #000;filter: alpha(opacity=50); opacity: .5;",s.style.cssText="position: fixed;top: 50%;left: 50%;z-index: 100000001;width: 450px;height: 472px;margin-top: -236px;margin-left: -200px;font-family: 'microsoft yahei';";var a=location.href;r?a.charAt(a.length-1)=="#"?e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a+"hashAction-"+r:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a+"hashAction-"+r):e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a+"#hashAction-"+r:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a+"#hashAction-"+r):(a.charAt(a.length-1)=="#",e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a));var l="
";s.innerHTML=l,o.appendChild(i),o.appendChild(s);var c=document.getElementById("loginWinCloseBtn");c.onclick=function(){f(i),f(s)};var h=document.getElementById("iframe_login");h.attachEvent?h.attachEvent("onload",function(){c.style.display="block"}):h.onload=function(){c.style.display="block"};function f(d){var p=d.parentNode;p&&p.removeChild(d)}};window.onload=function(){var t,e=window.location.search.substr(1).split("&"),r={},n;for(t=0;t{}}},emits:["loginClick"],setup(t,{emit:e}){const r=e,n=Pt(),i=(n==null?void 0:n.appContext.config.globalProperties.$sites)||{},s=()=>{typeof window.loginWin=="function"&&window.loginWin(i.s_login,"register")},o=()=>{location.href=i.s_login+"logout/"+a()},a=()=>{let c=window.location.hash.substr(1).replace(/\?.*/g,""),h=window.location.href.replace(/#[\w-/]*/gi,"").replace(/\?returnUrl=.*$/,"");return h="?returnUrl="+encodeURIComponent(h+(c?(/\?/.test(h)?"&":"?")+"hash="+c:"")),h},l=c=>{let h="";switch(c){case"weixin":h="Pc/Openweixin/loginOAuth2";break;case"qq":h="/Pc/Openqq/loginOAuth2";break;case"weibo":h="Pc/Openweibo/loginOAuth2";break}location.href=i.s_login+h+a()};return(c,h)=>(g(),v("div",null,[t.userInfo.isLogin?(g(),v("div",Z9,[u("a",{href:O(i).s_user+"person/person_info.html",class:"pic-box",target:"_blank"},[u("img",{class:"pic-img",src:t.userInfo.photo,alt:""},null,8,J9),X9],8,Y9),u("div",em,[u("a",{href:O(i).s_user+"person/person_info.html",class:"btn",target:"_blank"},"账号管理",8,tm),rm,u("span",{class:"btn logout-btn",onClick:o},"退出")])])):(g(),v("div",P9,[u("div",{class:"login-btn",onClick:h[0]||(h[0]=f=>r("loginClick"))},"登    录"),u("div",{class:"register-btn",onClick:s},"免费注册"),u("div",M9,[F9,u("div",U9,[u("div",{class:"login-weixin icon-btn",type:"weixin",onClick:h[1]||(h[1]=f=>l("weixin"))},j9),u("div",{class:"login-qq icon-btn",type:"qq",onClick:h[2]||(h[2]=f=>l("qq"))},K9),u("div",{class:"login-weibo icon-btn",type:"weibo",onClick:h[3]||(h[3]=f=>l("weibo"))},G9)])])]))]))}});var hi=function(t){return t&&t.Math===Math&&t},ae=hi(typeof globalThis=="object"&&globalThis)||hi(typeof window=="object"&&window)||hi(typeof self=="object"&&self)||hi(typeof Ti=="object"&&Ti)||hi(typeof Ti=="object"&&Ti)||function(){return this}()||Function("return this")(),Wn={},K=function(t){try{return!!t()}catch(e){return!0}},im=K,Oe=!im(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),sm=K,ga=!sm(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),om=ga,Ds=Function.prototype.call,Ee=om?Ds.bind(Ds):function(){return Ds.apply(Ds,arguments)},J2={},E5={}.propertyIsEnumerable,I5=Object.getOwnPropertyDescriptor,am=I5&&!E5.call({1:2},1);J2.f=am?function(e){var r=I5(this,e);return!!r&&r.enumerable}:E5;var Gn=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},k5=ga,x5=Function.prototype,H0=x5.call,lm=k5&&x5.bind.bind(H0,H0),Y=k5?lm:function(t){return function(){return H0.apply(t,arguments)}},L5=Y,cm=L5({}.toString),um=L5("".slice),er=function(t){return um(cm(t),8,-1)},hm=Y,fm=K,dm=er,dl=Object,pm=hm("".split),X2=fm(function(){return!dl("z").propertyIsEnumerable(0)})?function(t){return dm(t)==="String"?pm(t,""):dl(t)}:dl,Zn=function(t){return t==null},gm=Zn,vm=TypeError,Ft=function(t){if(gm(t))throw new vm("Can't call method on "+t);return t},ym=X2,mm=Ft,tr=function(t){return ym(mm(t))},pl=typeof document=="object"&&document.all,me=typeof pl>"u"&&pl!==void 0?function(t){return typeof t=="function"||t===pl}:function(t){return typeof t=="function"},bm=me,be=function(t){return typeof t=="object"?t!==null:bm(t)},gl=ae,_m=me,wm=function(t){return _m(t)?t:void 0},kr=function(t,e){return arguments.length<2?wm(gl[t]):gl[t]&&gl[t][e]},Cm=Y,Ut=Cm({}.isPrototypeOf),Am=ae,tu=Am.navigator,ru=tu&&tu.userAgent,hs=ru?String(ru):"",O5=ae,vl=hs,nu=O5.process,iu=O5.Deno,su=nu&&nu.versions||iu&&iu.version,ou=su&&su.v8,mt,jo;ou&&(mt=ou.split("."),jo=mt[0]>0&&mt[0]<4?1:+(mt[0]+mt[1]));!jo&&vl&&(mt=vl.match(/Edge\/(\d+)/),(!mt||mt[1]>=74)&&(mt=vl.match(/Chrome\/(\d+)/),mt&&(jo=+mt[1])));var va=jo,au=va,Sm=K,Tm=ae,Em=Tm.String,Yn=!!Object.getOwnPropertySymbols&&!Sm(function(){var t=Symbol("symbol detection");return!Em(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&au&&au<41}),Im=Yn,N5=Im&&!Symbol.sham&&typeof Symbol.iterator=="symbol",km=kr,xm=me,Lm=Ut,Om=N5,Nm=Object,Jn=Om?function(t){return typeof t=="symbol"}:function(t){var e=km("Symbol");return xm(e)&&Lm(e.prototype,Nm(t))},Rm=String,Yr=function(t){try{return Rm(t)}catch(e){return"Object"}},Dm=me,Bm=Yr,$m=TypeError,Xn=function(t){if(Dm(t))return t;throw new $m(Bm(t)+" is not a function")},Pm=Xn,Mm=Zn,fs=function(t,e){var r=t[e];return Mm(r)?void 0:Pm(r)},yl=Ee,ml=me,bl=be,Fm=TypeError,Um=function(t,e){var r,n;if(e==="string"&&ml(r=t.toString)&&!bl(n=yl(r,t))||ml(r=t.valueOf)&&!bl(n=yl(r,t))||e!=="string"&&ml(r=t.toString)&&!bl(n=yl(r,t)))return n;throw new Fm("Can't convert object to primitive value")},R5={exports:{}},zm=!1,lu=ae,Vm=Object.defineProperty,e1=function(t,e){try{Vm(lu,t,{value:e,configurable:!0,writable:!0})}catch(r){lu[t]=e}return e},jm=ae,Hm=e1,cu="__core-js_shared__",uu=R5.exports=jm[cu]||Hm(cu,{});(uu.versions||(uu.versions=[])).push({version:"3.42.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"});var t1=R5.exports,hu=t1,ei=function(t,e){return hu[t]||(hu[t]=e||{})},qm=Ft,Km=Object,ut=function(t){return Km(qm(t))},Qm=Y,Wm=ut,Gm=Qm({}.hasOwnProperty),Ie=Object.hasOwn||function(e,r){return Gm(Wm(e),r)},Zm=Y,Ym=0,Jm=Math.random(),Xm=Zm(1 .toString),ds=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Xm(++Ym+Jm,36)},eb=ae,tb=ei,fu=Ie,rb=ds,nb=Yn,ib=N5,An=eb.Symbol,_l=tb("wks"),sb=ib?An.for||An:An&&An.withoutSetter||rb,de=function(t){return fu(_l,t)||(_l[t]=nb&&fu(An,t)?An[t]:sb("Symbol."+t)),_l[t]},ob=Ee,du=be,pu=Jn,ab=fs,lb=Um,cb=de,ub=TypeError,hb=cb("toPrimitive"),r1=function(t,e){if(!du(t)||pu(t))return t;var r=ab(t,hb),n;if(r){if(e===void 0&&(e="default"),n=ob(r,t,e),!du(n)||pu(n))return n;throw new ub("Can't convert object to primitive value")}return e===void 0&&(e="number"),lb(t,e)},fb=r1,db=Jn,ya=function(t){var e=fb(t,"string");return db(e)?e:e+""},pb=ae,gu=be,q0=pb.document,gb=gu(q0)&&gu(q0.createElement),n1=function(t){return gb?q0.createElement(t):{}},vb=Oe,yb=K,mb=n1,D5=!vb&&!yb(function(){return Object.defineProperty(mb("div"),"a",{get:function(){return 7}}).a!==7}),bb=Oe,_b=Ee,wb=J2,Cb=Gn,Ab=tr,Sb=ya,Tb=Ie,Eb=D5,vu=Object.getOwnPropertyDescriptor;Wn.f=bb?vu:function(e,r){if(e=Ab(e),r=Sb(r),Eb)try{return vu(e,r)}catch(n){}if(Tb(e,r))return Cb(!_b(wb.f,e,r),e[r])};var Ke={},Ib=Oe,kb=K,B5=Ib&&kb(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),xb=be,Lb=String,Ob=TypeError,Qe=function(t){if(xb(t))return t;throw new Ob(Lb(t)+" is not an object")},Nb=Oe,Rb=D5,Db=B5,Bs=Qe,yu=ya,Bb=TypeError,wl=Object.defineProperty,$b=Object.getOwnPropertyDescriptor,Cl="enumerable",Al="configurable",Sl="writable";Ke.f=Nb?Db?function(e,r,n){if(Bs(e),r=yu(r),Bs(n),typeof e=="function"&&r==="prototype"&&"value"in n&&Sl in n&&!n[Sl]){var i=$b(e,r);i&&i[Sl]&&(e[r]=n.value,n={configurable:Al in n?n[Al]:i[Al],enumerable:Cl in n?n[Cl]:i[Cl],writable:!1})}return wl(e,r,n)}:wl:function(e,r,n){if(Bs(e),r=yu(r),Bs(n),Rb)try{return wl(e,r,n)}catch(i){}if("get"in n||"set"in n)throw new Bb("Accessors not supported");return"value"in n&&(e[r]=n.value),e};var Pb=Oe,Mb=Ke,Fb=Gn,zt=Pb?function(t,e,r){return Mb.f(t,e,Fb(1,r))}:function(t,e,r){return t[e]=r,t},$5={exports:{}},K0=Oe,Ub=Ie,P5=Function.prototype,zb=K0&&Object.getOwnPropertyDescriptor,i1=Ub(P5,"name"),Vb=i1&&(function(){}).name==="something",jb=i1&&(!K0||K0&&zb(P5,"name").configurable),ps={EXISTS:i1,PROPER:Vb,CONFIGURABLE:jb},Hb=Y,qb=me,Q0=t1,Kb=Hb(Function.toString);qb(Q0.inspectSource)||(Q0.inspectSource=function(t){return Kb(t)});var M5=Q0.inspectSource,Qb=ae,Wb=me,mu=Qb.WeakMap,F5=Wb(mu)&&/native code/.test(String(mu)),Gb=ei,Zb=ds,bu=Gb("keys"),ma=function(t){return bu[t]||(bu[t]=Zb(t))},gs={},Yb=F5,U5=ae,Jb=be,Xb=zt,Tl=Ie,El=t1,e_=ma,t_=gs,_u="Object already initialized",W0=U5.TypeError,r_=U5.WeakMap,Ho,Yi,qo,n_=function(t){return qo(t)?Yi(t):Ho(t,{})},i_=function(t){return function(e){var r;if(!Jb(e)||(r=Yi(e)).type!==t)throw new W0("Incompatible receiver, "+t+" required");return r}};if(Yb||El.state){var Tt=El.state||(El.state=new r_);Tt.get=Tt.get,Tt.has=Tt.has,Tt.set=Tt.set,Ho=function(t,e){if(Tt.has(t))throw new W0(_u);return e.facade=t,Tt.set(t,e),e},Yi=function(t){return Tt.get(t)||{}},qo=function(t){return Tt.has(t)}}else{var ln=e_("state");t_[ln]=!0,Ho=function(t,e){if(Tl(t,ln))throw new W0(_u);return e.facade=t,Xb(t,ln,e),e},Yi=function(t){return Tl(t,ln)?t[ln]:{}},qo=function(t){return Tl(t,ln)}}var ht={set:Ho,get:Yi,has:qo,enforce:n_,getterFor:i_},s1=Y,s_=K,o_=me,$s=Ie,G0=Oe,a_=ps.CONFIGURABLE,l_=M5,z5=ht,c_=z5.enforce,u_=z5.get,wu=String,To=Object.defineProperty,h_=s1("".slice),f_=s1("".replace),d_=s1([].join),p_=G0&&!s_(function(){return To(function(){},"length",{value:8}).length!==8}),g_=String(String).split("String"),v_=$5.exports=function(t,e,r){h_(wu(e),0,7)==="Symbol("&&(e="["+f_(wu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!$s(t,"name")||a_&&t.name!==e)&&(G0?To(t,"name",{value:e,configurable:!0}):t.name=e),p_&&r&&$s(r,"arity")&&t.length!==r.arity&&To(t,"length",{value:r.arity});try{r&&$s(r,"constructor")&&r.constructor?G0&&To(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var n=c_(t);return $s(n,"source")||(n.source=d_(g_,typeof e=="string"?e:"")),t};Function.prototype.toString=v_(function(){return o_(this)&&u_(this).source||l_(this)},"toString");var V5=$5.exports,y_=me,m_=Ke,b_=V5,__=e1,ft=function(t,e,r,n){n||(n={});var i=n.enumerable,s=n.name!==void 0?n.name:e;if(y_(r)&&b_(r,s,n),n.global)i?t[e]=r:__(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch(o){}i?t[e]=r:m_.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},xr={},w_=Math.ceil,C_=Math.floor,A_=Math.trunc||function(e){var r=+e;return(r>0?C_:w_)(r)},S_=A_,Vt=function(t){var e=+t;return e!==e||e===0?0:S_(e)},T_=Vt,E_=Math.max,I_=Math.min,ti=function(t,e){var r=T_(t);return r<0?E_(r+e,0):I_(r,e)},k_=Vt,x_=Math.min,rr=function(t){var e=k_(t);return e>0?x_(e,9007199254740991):0},L_=rr,st=function(t){return L_(t.length)},O_=tr,N_=ti,R_=st,Cu=function(t){return function(e,r,n){var i=O_(e),s=R_(i);if(s===0)return!t&&-1;var o=N_(n,s),a;if(t&&r!==r){for(;s>o;)if(a=i[o++],a!==a)return!0}else for(;s>o;o++)if((t||o in i)&&i[o]===r)return t||o||0;return!t&&-1}},ba={includes:Cu(!0),indexOf:Cu(!1)},D_=Y,Il=Ie,B_=tr,$_=ba.indexOf,P_=gs,Au=D_([].push),j5=function(t,e){var r=B_(t),n=0,i=[],s;for(s in r)!Il(P_,s)&&Il(r,s)&&Au(i,s);for(;e.length>n;)Il(r,s=e[n++])&&(~$_(i,s)||Au(i,s));return i},o1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],M_=j5,F_=o1,U_=F_.concat("length","prototype");xr.f=Object.getOwnPropertyNames||function(e){return M_(e,U_)};var _a={};_a.f=Object.getOwnPropertySymbols;var z_=kr,V_=Y,j_=xr,H_=_a,q_=Qe,K_=V_([].concat),Q_=z_("Reflect","ownKeys")||function(e){var r=j_.f(q_(e)),n=H_.f;return n?K_(r,n(e)):r},Su=Ie,W_=Q_,G_=Wn,Z_=Ke,a1=function(t,e,r){for(var n=W_(e),i=Z_.f,s=G_.f,o=0;o0;(i>>>=1)&&(r+=r))i&1&&(n+=r);return n},q5=Y,Tw=rr,Tu=Je,Ew=c1,Iw=Ft,kw=q5(Ew),xw=q5("".slice),Lw=Math.ceil,Eu=function(t){return function(e,r,n){var i=Tu(Iw(e)),s=Tw(r),o=i.length,a=n===void 0?" ":Tu(n),l,c;return s<=o||a===""?i:(l=s-o,c=kw(a,Lw(l/a.length)),c.length>l&&(c=xw(c,0,l)),t?i+c:c+i)}},Ow={start:Eu(!1),end:Eu(!0)},Nw=hs,Rw=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(Nw),Dw=ke,Bw=Ow.start,$w=Rw;Dw({target:"String",proto:!0,forced:$w},{padStart:function(e){return Bw(this,e,arguments.length>1?arguments[1]:void 0)}});var Pw=l1,Mw=Lr,Fw=Pw?{}.toString:function(){return"[object "+Mw(this)+"]"},Uw=l1,zw=ft,Vw=Fw;Uw||zw(Object.prototype,"toString",Vw,{unsafe:!0});var jw=Qe,K5=function(){var t=jw(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Hw=Ee,qw=Ie,Kw=Ut,Qw=K5,Iu=RegExp.prototype,Q5=function(t){var e=t.flags;return e===void 0&&!("flags"in Iu)&&!qw(t,"flags")&&Kw(Iu,t)?Hw(Qw,t):e},Ww=ps.PROPER,Gw=ft,Zw=Qe,ku=Je,Yw=K,Jw=Q5,u1="toString",W5=RegExp.prototype,G5=W5[u1],Xw=Yw(function(){return G5.call({source:"a",flags:"b"})!=="/a/b"}),eC=Ww&&G5.name!==u1;(Xw||eC)&&Gw(W5,u1,function(){var e=Zw(this),r=ku(e.source),n=ku(Jw(e));return"/"+r+"/"+n},{unsafe:!0});var h1=K,tC=ae,f1=tC.RegExp,d1=h1(function(){var t=f1("a","y");return t.lastIndex=2,t.exec("abcd")!==null}),rC=d1||h1(function(){return!f1("a","y").sticky}),nC=d1||h1(function(){var t=f1("^r","gy");return t.lastIndex=2,t.exec("str")!==null}),Z5={BROKEN_CARET:nC,MISSED_STICKY:rC,UNSUPPORTED_Y:d1},p1={},iC=j5,sC=o1,Y5=Object.keys||function(e){return iC(e,sC)},oC=Oe,aC=B5,lC=Ke,cC=Qe,uC=tr,hC=Y5;p1.f=oC&&!aC?Object.defineProperties:function(e,r){cC(e);for(var n=uC(r),i=hC(r),s=i.length,o=0,a;s>o;)lC.f(e,a=i[o++],n[a]);return e};var fC=kr,dC=fC("document","documentElement"),pC=Qe,gC=p1,xu=o1,vC=gs,yC=dC,mC=n1,bC=ma,Lu=">",Ou="<",Z0="prototype",Y0="script",J5=bC("IE_PROTO"),kl=function(){},X5=function(t){return Ou+Y0+Lu+t+Ou+"/"+Y0+Lu},Nu=function(t){t.write(X5("")),t.close();var e=t.parentWindow.Object;return t=null,e},_C=function(){var t=mC("iframe"),e="java"+Y0+":",r;return t.style.display="none",yC.appendChild(t),t.src=String(e),r=t.contentWindow.document,r.open(),r.write(X5("document.F=Object")),r.close(),r.F},Ms,Io=function(){try{Ms=new ActiveXObject("htmlfile")}catch(e){}Io=typeof document<"u"?document.domain&&Ms?Nu(Ms):_C():Nu(Ms);for(var t=xu.length;t--;)delete Io[Z0][xu[t]];return Io()};vC[J5]=!0;var Jr=Object.create||function(e,r){var n;return e!==null?(kl[Z0]=pC(e),n=new kl,kl[Z0]=null,n[J5]=e):n=Io(),r===void 0?n:gC.f(n,r)},wC=K,CC=ae,AC=CC.RegExp,ep=wC(function(){var t=AC(".","s");return!(t.dotAll&&t.test("\n")&&t.flags==="s")}),SC=K,TC=ae,EC=TC.RegExp,tp=SC(function(){var t=EC("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),Sn=Ee,Ca=Y,IC=Je,kC=K5,xC=Z5,LC=ei,OC=Jr,NC=ht.get,RC=ep,DC=tp,BC=LC("native-string-replace",String.prototype.replace),Ko=RegExp.prototype.exec,J0=Ko,$C=Ca("".charAt),PC=Ca("".indexOf),MC=Ca("".replace),xl=Ca("".slice),X0=function(){var t=/a/,e=/b*/g;return Sn(Ko,t,"a"),Sn(Ko,e,"a"),t.lastIndex!==0||e.lastIndex!==0}(),rp=xC.BROKEN_CARET,e2=/()??/.exec("")[1]!==void 0,FC=X0||e2||rp||RC||DC;FC&&(J0=function(e){var r=this,n=NC(r),i=IC(e),s=n.raw,o,a,l,c,h,f,d;if(s)return s.lastIndex=r.lastIndex,o=Sn(J0,s,i),r.lastIndex=s.lastIndex,o;var p=n.groups,y=rp&&r.sticky,m=Sn(kC,r),_=r.source,A=0,x=i;if(y&&(m=MC(m,"y",""),PC(m,"g")===-1&&(m+="g"),x=xl(i,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&$C(i,r.lastIndex-1)!=="\n")&&(_="(?: "+_+")",x=" "+x,A++),a=new RegExp("^(?:"+_+")",m)),e2&&(a=new RegExp("^"+_+"$(?!\\s)",m)),X0&&(l=r.lastIndex),c=Sn(Ko,y?a:r,x),y?c?(c.input=xl(c.input,A),c[0]=xl(c[0],A),c.index=r.lastIndex,r.lastIndex+=c[0].length):r.lastIndex=0:X0&&c&&(r.lastIndex=r.global?c.index+c[0].length:l),e2&&c&&c.length>1&&Sn(BC,c[0],a,function(){for(h=1;h=s?t?"":void 0:(o=Fu(n,i),o<55296||o>56319||i+1===s||(a=Fu(n,i+1))<56320||a>57343?t?WC(n,i):o:t?GC(n,i,i+2):(o-55296<<10)+(a-56320)+65536)}},op={codeAt:Uu(!1),charAt:Uu(!0)},ZC=op.charAt,ap=function(t,e,r){return e+(r?ZC(t,e).length:1)},y1=Y,YC=ut,JC=Math.floor,Ol=y1("".charAt),XC=y1("".replace),Nl=y1("".slice),eA=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tA=/\$([$&'`]|\d{1,2})/g,rA=function(t,e,r,n,i,s){var o=r+t.length,a=n.length,l=tA;return i!==void 0&&(i=YC(i),l=eA),XC(s,l,function(c,h){var f;switch(Ol(h,0)){case"$":return"$";case"&":return t;case"`":return Nl(e,0,r);case"'":return Nl(e,o);case"<":f=i[Nl(h,1,-1)];break;default:var d=+h;if(d===0)return c;if(d>a){var p=JC(d/10);return p===0?c:p<=a?n[p-1]===void 0?Ol(h,1):n[p-1]+Ol(h,1):c}f=n[d-1]}return f===void 0?"":f})},zu=Ee,nA=Qe,iA=me,sA=er,oA=g1,aA=TypeError,lp=function(t,e){var r=t.exec;if(iA(r)){var n=zu(r,t,e);return n!==null&&nA(n),n}if(sA(t)==="RegExp")return zu(oA,t,e);throw new aA("RegExp#exec called on incompatible receiver")},lA=ys,Vu=Ee,Aa=Y,cA=sp,uA=K,hA=Qe,fA=me,dA=be,pA=Vt,gA=rr,cn=Je,vA=Ft,yA=ap,mA=fs,bA=rA,_A=lp,wA=de,t2=wA("replace"),CA=Math.max,AA=Math.min,SA=Aa([].concat),Rl=Aa([].push),ju=Aa("".indexOf),Hu=Aa("".slice),TA=function(t){return t===void 0?t:String(t)},EA=function(){return"a".replace(/./,"$0")==="$0"}(),qu=function(){return/./[t2]?/./[t2]("a","$0")==="":!1}(),IA=!uA(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$")!=="7"});cA("replace",function(t,e,r){var n=qu?"$":"$0";return[function(s,o){var a=vA(this),l=dA(s)?mA(s,t2):void 0;return l?Vu(l,s,a,o):Vu(e,cn(a),s,o)},function(i,s){var o=hA(this),a=cn(i);if(typeof s=="string"&&ju(s,n)===-1&&ju(s,"$<")===-1){var l=r(e,o,a,s);if(l.done)return l.value}var c=fA(s);c||(s=cn(s));var h=o.global,f;h&&(f=o.unicode,o.lastIndex=0);for(var d=[],p;p=_A(o,a),!(p===null||(Rl(d,p),!h));){var y=cn(p[0]);y===""&&(o.lastIndex=yA(a,gA(o.lastIndex),f))}for(var m="",_=0,A=0;A=_&&(m+=Hu(a,_,L)+N,_=L+x.length)}return m+Hu(a,_)}]},!IA||!EA||qu);var kA=Ee,xA=sp,LA=Qe,OA=be,NA=rr,Dl=Je,RA=Ft,DA=fs,BA=ap,Ku=lp;xA("match",function(t,e,r){return[function(i){var s=RA(this),o=OA(i)?DA(i,t):void 0;return o?kA(o,i,s):new RegExp(i)[t](Dl(s))},function(n){var i=LA(this),s=Dl(n),o=r(e,i,s);if(o.done)return o.value;if(!i.global)return Ku(i,s);var a=i.unicode;i.lastIndex=0;for(var l=[],c=0,h;(h=Ku(i,s))!==null;){var f=Dl(h[0]);l[c]=f,f===""&&(i.lastIndex=BA(s,NA(i.lastIndex),a)),c++}return c===0?null:l}]});var m1={},$A=Y,Xr=$A([].slice),PA=er,MA=tr,cp=xr.f,FA=Xr,up=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],UA=function(t){try{return cp(t)}catch(e){return FA(up)}};m1.f=function(e){return up&&PA(e)==="Window"?UA(e):cp(MA(e))};var Qu=V5,zA=Ke,Or=function(t,e,r){return r.get&&Qu(r.get,e,{getter:!0}),r.set&&Qu(r.set,e,{setter:!0}),zA.f(t,e,r)},b1={},VA=de;b1.f=VA;var jA=ae,hp=jA,Wu=hp,HA=Ie,qA=b1,KA=Ke.f,fp=function(t){var e=Wu.Symbol||(Wu.Symbol={});HA(e,t)||KA(e,t,{value:qA.f(t)})},QA=Ee,WA=kr,GA=de,ZA=ft,YA=function(){var t=WA("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=GA("toPrimitive");e&&!e[n]&&ZA(e,n,function(i){return QA(r,this)},{arity:1})},JA=Ke.f,XA=Ie,eS=de,Gu=eS("toStringTag"),ri=function(t,e,r){t&&!r&&(t=t.prototype),t&&!XA(t,Gu)&&JA(t,Gu,{configurable:!0,value:e})},tS=er,rS=Y,_1=function(t){if(tS(t)==="Function")return rS(t)},Zu=_1,nS=Xn,iS=ga,sS=Zu(Zu.bind),ms=function(t,e){return nS(t),e===void 0?t:iS?sS(t,e):function(){return t.apply(e,arguments)}},oS=er,Sa=Array.isArray||function(e){return oS(e)==="Array"},aS=Y,lS=K,dp=me,cS=Lr,uS=kr,hS=M5,pp=function(){},gp=uS("Reflect","construct"),w1=/^\s*(?:class|function)\b/,fS=aS(w1.exec),dS=!w1.test(pp),fi=function(e){if(!dp(e))return!1;try{return gp(pp,[],e),!0}catch(r){return!1}},vp=function(e){if(!dp(e))return!1;switch(cS(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return dS||!!fS(w1,hS(e))}catch(r){return!0}};vp.sham=!0;var Ta=!gp||lS(function(){var t;return fi(fi.call)||!fi(Object)||!fi(function(){t=!0})||t})?vp:fi,Yu=Sa,pS=Ta,gS=be,vS=de,yS=vS("species"),Ju=Array,mS=function(t){var e;return Yu(t)&&(e=t.constructor,pS(e)&&(e===Ju||Yu(e.prototype))?e=void 0:gS(e)&&(e=e[yS],e===null&&(e=void 0))),e===void 0?Ju:e},bS=mS,yp=function(t,e){return new(bS(t))(e===0?0:e)},_S=ms,wS=Y,CS=X2,AS=ut,SS=st,TS=yp,Xu=wS([].push),lr=function(t){var e=t===1,r=t===2,n=t===3,i=t===4,s=t===6,o=t===7,a=t===5||s;return function(l,c,h,f){for(var d=AS(l),p=CS(d),y=SS(p),m=_S(c,h),_=0,A=f||TS,x=e?A(l,y):r||o?A(l,0):void 0,L,S;y>_;_++)if((a||_ in p)&&(L=p[_],S=m(L,_,d),t))if(e)x[_]=S;else if(S)switch(t){case 3:return!0;case 5:return L;case 6:return _;case 2:Xu(x,L)}else switch(t){case 4:return!1;case 7:Xu(x,L)}return s?-1:n||i?i:x}},wt={forEach:lr(0),map:lr(1),filter:lr(2),some:lr(3),every:lr(4),find:lr(5),findIndex:lr(6),filterReject:lr(7)},Ea=ke,bs=ae,C1=Ee,ES=Y,Un=Oe,zn=Yn,IS=K,Fe=Ie,kS=Ut,r2=Qe,Ia=tr,A1=ya,xS=Je,n2=Gn,Vn=Jr,mp=Y5,LS=xr,bp=m1,OS=_a,_p=Wn,wp=Ke,NS=p1,Cp=J2,Bl=ft,RS=Or,S1=ei,DS=ma,Ap=gs,eh=ds,BS=de,$S=b1,PS=fp,MS=YA,FS=ri,Sp=ht,ka=wt.forEach,Xe=DS("hidden"),xa="Symbol",Ji="prototype",US=Sp.set,th=Sp.getterFor(xa),ot=Object[Ji],Hr=bs.Symbol,Ei=Hr&&Hr[Ji],zS=bs.RangeError,VS=bs.TypeError,$l=bs.QObject,Tp=_p.f,qr=wp.f,Ep=bp.f,jS=Cp.f,Ip=ES([].push),Zt=S1("symbols"),_s=S1("op-symbols"),HS=S1("wks"),i2=!$l||!$l[Ji]||!$l[Ji].findChild,kp=function(t,e,r){var n=Tp(ot,e);n&&delete ot[e],qr(t,e,r),n&&t!==ot&&qr(ot,e,n)},s2=Un&&IS(function(){return Vn(qr({},"a",{get:function(){return qr(this,"a",{value:7}).a}})).a!==7})?kp:qr,Pl=function(t,e){var r=Zt[t]=Vn(Ei);return US(r,{type:xa,tag:t,description:e}),Un||(r.description=e),r},La=function(e,r,n){e===ot&&La(_s,r,n),r2(e);var i=A1(r);return r2(n),Fe(Zt,i)?(n.enumerable?(Fe(e,Xe)&&e[Xe][i]&&(e[Xe][i]=!1),n=Vn(n,{enumerable:n2(0,!1)})):(Fe(e,Xe)||qr(e,Xe,n2(1,Vn(null))),e[Xe][i]=!0),s2(e,i,n)):qr(e,i,n)},T1=function(e,r){r2(e);var n=Ia(r),i=mp(n).concat(Op(n));return ka(i,function(s){(!Un||C1(o2,n,s))&&La(e,s,n[s])}),e},qS=function(e,r){return r===void 0?Vn(e):T1(Vn(e),r)},o2=function(e){var r=A1(e),n=C1(jS,this,r);return this===ot&&Fe(Zt,r)&&!Fe(_s,r)?!1:n||!Fe(this,r)||!Fe(Zt,r)||Fe(this,Xe)&&this[Xe][r]?n:!0},xp=function(e,r){var n=Ia(e),i=A1(r);if(!(n===ot&&Fe(Zt,i)&&!Fe(_s,i))){var s=Tp(n,i);return s&&Fe(Zt,i)&&!(Fe(n,Xe)&&n[Xe][i])&&(s.enumerable=!0),s}},Lp=function(e){var r=Ep(Ia(e)),n=[];return ka(r,function(i){!Fe(Zt,i)&&!Fe(Ap,i)&&Ip(n,i)}),n},Op=function(t){var e=t===ot,r=Ep(e?_s:Ia(t)),n=[];return ka(r,function(i){Fe(Zt,i)&&(!e||Fe(ot,i))&&Ip(n,Zt[i])}),n};zn||(Hr=function(){if(kS(Ei,this))throw new VS("Symbol is not a constructor");var e=!arguments.length||arguments[0]===void 0?void 0:xS(arguments[0]),r=eh(e),n=function(i){var s=this===void 0?bs:this;s===ot&&C1(n,_s,i),Fe(s,Xe)&&Fe(s[Xe],r)&&(s[Xe][r]=!1);var o=n2(1,i);try{s2(s,r,o)}catch(a){if(!(a instanceof zS))throw a;kp(s,r,o)}};return Un&&i2&&s2(ot,r,{configurable:!0,set:n}),Pl(r,e)},Ei=Hr[Ji],Bl(Ei,"toString",function(){return th(this).tag}),Bl(Hr,"withoutSetter",function(t){return Pl(eh(t),t)}),Cp.f=o2,wp.f=La,NS.f=T1,_p.f=xp,LS.f=bp.f=Lp,OS.f=Op,$S.f=function(t){return Pl(BS(t),t)},Un&&(RS(Ei,"description",{configurable:!0,get:function(){return th(this).description}}),Bl(ot,"propertyIsEnumerable",o2,{unsafe:!0})));Ea({global:!0,constructor:!0,wrap:!0,forced:!zn,sham:!zn},{Symbol:Hr});ka(mp(HS),function(t){PS(t)});Ea({target:xa,stat:!0,forced:!zn},{useSetter:function(){i2=!0},useSimple:function(){i2=!1}});Ea({target:"Object",stat:!0,forced:!zn,sham:!Un},{create:qS,defineProperty:La,defineProperties:T1,getOwnPropertyDescriptor:xp});Ea({target:"Object",stat:!0,forced:!zn},{getOwnPropertyNames:Lp});MS();FS(Hr,xa);Ap[Xe]=!0;var KS=Yn,Np=KS&&!!Symbol.for&&!!Symbol.keyFor,QS=ke,WS=kr,GS=Ie,ZS=Je,Rp=ei,YS=Np,Ml=Rp("string-to-symbol-registry"),JS=Rp("symbol-to-string-registry");QS({target:"Symbol",stat:!0,forced:!YS},{for:function(t){var e=ZS(t);if(GS(Ml,e))return Ml[e];var r=WS("Symbol")(e);return Ml[e]=r,JS[r]=e,r}});var XS=ke,eT=Ie,tT=Jn,rT=Yr,nT=ei,iT=Np,rh=nT("symbol-to-string-registry");XS({target:"Symbol",stat:!0,forced:!iT},{keyFor:function(e){if(!tT(e))throw new TypeError(rT(e)+" is not a symbol");if(eT(rh,e))return rh[e]}});var sT=Y,nh=Sa,oT=me,ih=er,aT=Je,sh=sT([].push),lT=function(t){if(oT(t))return t;if(nh(t)){for(var e=t.length,r=[],n=0;n=e.length)return t.target=null,js(void 0,!0);switch(t.kind){case"keys":return js(r,!1);case"values":return js(e[r],!1)}return js([r,e[r]],!1)},"values"),Ch=wh.Arguments=wh.Array;k1("keys");k1("values");k1("entries");if(ME&&Ch.name!=="values")try{$E(Ch,"name",{value:"values"})}catch(t){}var zE=op.charAt,VE=Je,Qp=ht,jE=E1,Ah=I1,Wp="String Iterator",HE=Qp.set,qE=Qp.getterFor(Wp);jE(String,"String",function(t){HE(this,{type:Wp,string:VE(t),index:0})},function(){var e=qE(this),r=e.string,n=e.index,i;return n>=r.length?Ah(void 0,!0):(i=zE(r,n),e.index+=i.length,Ah(i,!1))});var Gp={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},KE=n1,Vl=KE("span").classList,Sh=Vl&&Vl.constructor&&Vl.constructor.prototype,Zp=Sh===Object.prototype?void 0:Sh,Th=ae,Yp=Gp,QE=Zp,Ii=Kp,Eh=zt,WE=ri,GE=de,jl=GE("iterator"),Hl=Ii.values,Jp=function(t,e){if(t){if(t[jl]!==Hl)try{Eh(t,jl,Hl)}catch(n){t[jl]=Hl}if(WE(t,e,!0),Yp[e]){for(var r in Ii)if(t[r]!==Ii[r])try{Eh(t,r,Ii[r])}catch(n){t[r]=Ii[r]}}}};for(var ql in Yp)Jp(Th[ql]&&Th[ql].prototype,ql);Jp(QE,"DOMTokenList");var ZE=Oe,YE=Ke,JE=Gn,x1=function(t,e,r){ZE?YE.f(t,e,JE(0,r)):t[e]=r},XE=K,eI=de,tI=va,rI=eI("species"),Xp=function(t){return tI>=51||!XE(function(){var e=[],r=e.constructor={};return r[rI]=function(){return{foo:1}},e[t](Boolean).foo!==1})},nI=ke,Ih=Sa,iI=Ta,sI=be,kh=ti,oI=st,aI=tr,lI=x1,cI=de,uI=Xp,hI=Xr,fI=uI("slice"),dI=cI("species"),Kl=Array,pI=Math.max;nI({target:"Array",proto:!0,forced:!fI},{slice:function(e,r){var n=aI(this),i=oI(n),s=kh(e,i),o=kh(r===void 0?i:r,i),a,l,c;if(Ih(n)&&(a=n.constructor,iI(a)&&(a===Kl||Ih(a.prototype))?a=void 0:sI(a)&&(a=a[dI],a===null&&(a=void 0)),a===Kl||a===void 0))return hI(n,s,o);for(l=new(a===void 0?Kl:a)(pI(o-s,0)),c=0;s1?arguments[1]:void 0,o=s!==void 0;o&&(s=zI(s,i>2?arguments[2]:void 0));var a=GI(r),l=0,c,h,f,d,p,y;if(a&&!(this===Nh&&qI(a)))for(h=n?new this:[],d=WI(r,a),p=d.next;!(f=VI(p,d)).done;l++)y=o?HI(d,s,[f.value,l],!0):f.value,Oh(h,l,y);else for(c=QI(r),h=n?new this(c):Nh(c);c>l;l++)y=o?s(r[l],l):r[l],Oh(h,l,y);return h.length=l,h},YI=de,i6=YI("iterator"),s6=!1;try{var JI=0,Rh={next:function(){return{done:!!JI++}},return:function(){s6=!0}};Rh[i6]=function(){return this},Array.from(Rh,function(){throw 2})}catch(t){}var N1=function(t,e){try{if(!e&&!s6)return!1}catch(i){return!1}var r=!1;try{var n={};n[i6]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(i){}return r},XI=ke,ek=ZI,tk=N1,rk=!tk(function(t){Array.from(t)});XI({target:"Array",stat:!0,forced:rk},{from:ek});var nk=me,ik=be,Dh=As,Ss=function(t,e,r){var n,i;return Dh&&nk(n=e.constructor)&&n!==r&&ik(i=n.prototype)&&i!==r.prototype&&Dh(t,i),t},sk=Y,o6=sk(1 .valueOf),ok=" \n\v\f\r                 \u2028\u2029\uFEFF",ak=Y,lk=Ft,ck=Je,h2=ok,Bh=ak("".replace),uk=RegExp("^["+h2+"]+"),hk=RegExp("(^|[^"+h2+"])["+h2+"]+$"),Ql=function(t){return function(e){var r=ck(lk(e));return t&1&&(r=Bh(r,uk,"")),t&2&&(r=Bh(r,hk,"$1")),r}},fk={start:Ql(1),end:Ql(2),trim:Ql(3)},dk=ke,a6=zm,pk=Oe,l6=ae,c6=hp,u6=Y,gk=wa,$h=Ie,vk=Ss,yk=Ut,mk=Jn,h6=r1,bk=K,_k=xr.f,wk=Wn.f,Ck=Ke.f,Ak=o6,Sk=fk.trim,Ra="Number",In=l6[Ra];c6[Ra];var R1=In.prototype,Tk=l6.TypeError,Ek=u6("".slice),Hs=u6("".charCodeAt),Ik=function(t){var e=h6(t,"number");return typeof e=="bigint"?e:kk(e)},kk=function(t){var e=h6(t,"number"),r,n,i,s,o,a,l,c;if(mk(e))throw new Tk("Cannot convert a Symbol value to a number");if(typeof e=="string"&&e.length>2){if(e=Sk(e),r=Hs(e,0),r===43||r===45){if(n=Hs(e,2),n===88||n===120)return NaN}else if(r===48){switch(Hs(e,1)){case 66:case 98:i=2,s=49;break;case 79:case 111:i=8,s=55;break;default:return+e}for(o=Ek(e,2),a=o.length,l=0;ls)return NaN;return parseInt(o,i)}}return+e},D1=gk(Ra,!In(" 0o1")||!In("0b1")||In("+0x1")),xk=function(t){return yk(R1,t)&&bk(function(){Ak(t)})},Da=function(e){var r=arguments.length<1?0:In(Ik(e));return xk(this)?vk(Object(r),this,Da):r};Da.prototype=R1;D1&&!a6&&(R1.constructor=Da);dk({global:!0,constructor:!0,wrap:!0,forced:D1},{Number:Da});var Lk=function(t,e){for(var r=pk?_k(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),n=0,i;r.length>n;n++)$h(e,i=r[n])&&!$h(t,i)&&Ck(t,i,wk(e,i))};(D1||a6)&&Lk(c6[Ra],In);var Ok=ke,B1=Y,Nk=Vt,Rk=o6,Dk=c1,Ph=K,Bk=RangeError,f6=String,d6=Math.floor,f2=B1(Dk),Mh=B1("".slice),gi=B1(1 .toFixed),Tn=function(t,e,r){return e===0?r:e%2===1?Tn(t,e-1,r*t):Tn(t*t,e/2,r)},$k=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e},un=function(t,e,r){for(var n=-1,i=r;++n<6;)i+=e*t[n],t[n]=i%1e7,i=d6(i/1e7)},Wl=function(t,e){for(var r=6,n=0;--r>=0;)n+=t[r],t[r]=d6(n/e),n=n%e*1e7},Fh=function(t){for(var e=6,r="";--e>=0;)if(r!==""||e===0||t[e]!==0){var n=f6(t[e]);r=r===""?n:r+f2("0",7-n.length)+n}return r},Pk=Ph(function(){return gi(8e-5,3)!=="0.000"||gi(.9,0)!=="1"||gi(1.255,2)!=="1.25"||gi(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!Ph(function(){gi({})});Ok({target:"Number",proto:!0,forced:Pk},{toFixed:function(e){var r=Rk(this),n=Nk(e),i=[0,0,0,0,0,0],s="",o="0",a,l,c,h;if(n<0||n>20)throw new Bk("Incorrect fraction digits");if(r!==r)return"NaN";if(r<=-1e21||r>=1e21)return f6(r);if(r<0&&(s="-",r=-r),r>1e-21)if(a=$k(r*Tn(2,69,1))-69,l=a<0?r*Tn(2,-a,1):r/Tn(2,a,1),l*=4503599627370496,a=52-a,a>0){for(un(i,0,l),c=n;c>=7;)un(i,1e7,0),c-=7;for(un(i,Tn(10,c,1),0),c=a-1;c>=23;)Wl(i,1<<23),c-=23;Wl(i,1<0?(h=o.length,o=s+(h<=n?"0."+f2("0",n-h)+o:Mh(o,0,h-n)+"."+Mh(o,h-n))):o=s+o,o}});var p6={exports:{}},Mk=K,Fk=Mk(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Uk=K,zk=be,Vk=er,Uh=Fk,ko=Object.isExtensible,jk=Uk(function(){ko(1)}),Hk=jk||Uh?function(e){return!zk(e)||Uh&&Vk(e)==="ArrayBuffer"?!1:ko?ko(e):!0}:ko,qk=K,g6=!qk(function(){return Object.isExtensible(Object.preventExtensions({}))}),Kk=ke,Qk=Y,Wk=gs,Gk=be,$1=Ie,Zk=Ke.f,zh=xr,Yk=m1,P1=Hk,Jk=ds,Xk=g6,v6=!1,Yt=Jk("meta"),ex=0,M1=function(t){Zk(t,Yt,{value:{objectID:"O"+ex++,weakData:{}}})},tx=function(t,e){if(!Gk(t))return typeof t=="symbol"?t:(typeof t=="string"?"S":"P")+t;if(!$1(t,Yt)){if(!P1(t))return"F";if(!e)return"E";M1(t)}return t[Yt].objectID},rx=function(t,e){if(!$1(t,Yt)){if(!P1(t))return!0;if(!e)return!1;M1(t)}return t[Yt].weakData},nx=function(t){return Xk&&v6&&P1(t)&&!$1(t,Yt)&&M1(t),t},ix=function(){sx.enable=function(){},v6=!0;var t=zh.f,e=Qk([].splice),r={};r[Yt]=1,t(r).length&&(zh.f=function(n){for(var i=t(n),s=0,o=i.length;sf;f++)if(p=A(t[f]),p&&Vh(Hh,p))return p;return new xo(!1)}c=fx(t,h)}for(y=s?t.next:c.next;!(m=ax(y,c)).done;){try{p=A(m.value)}catch(x){jh(c,"throw",x)}if(typeof p=="object"&&p&&Vh(Hh,p))return p}return new xo(!1)},gx=Ut,vx=TypeError,Ts=function(t,e){if(gx(e,t))return t;throw new vx("Incorrect invocation")},yx=ke,mx=ae,bx=Y,qh=wa,_x=ft,wx=Ba,Cx=F1,Ax=Ts,Sx=me,Tx=Zn,Gl=be,Zl=K,Ex=N1,Ix=ri,kx=Ss,$a=function(t,e,r){var n=t.indexOf("Map")!==-1,i=t.indexOf("Weak")!==-1,s=n?"set":"add",o=mx[t],a=o&&o.prototype,l=o,c={},h=function(A){var x=bx(a[A]);_x(a,A,A==="add"?function(S){return x(this,S===0?0:S),this}:A==="delete"?function(L){return i&&!Gl(L)?!1:x(this,L===0?0:L)}:A==="get"?function(S){return i&&!Gl(S)?void 0:x(this,S===0?0:S)}:A==="has"?function(S){return i&&!Gl(S)?!1:x(this,S===0?0:S)}:function(S,N){return x(this,S===0?0:S,N),this})},f=qh(t,!Sx(o)||!(i||a.forEach&&!Zl(function(){new o().entries().next()})));if(f)l=r.getConstructor(e,t,n,s),wx.enable();else if(qh(t,!0)){var d=new l,p=d[s](i?{}:-0,1)!==d,y=Zl(function(){d.has(1)}),m=Ex(function(A){new o(A)}),_=!i&&Zl(function(){for(var A=new o,x=5;x--;)A[s](x,x);return!A.has(-0)});m||(l=e(function(A,x){Ax(A,a);var L=kx(new o,A,l);return Tx(x)||Cx(x,L[s],{that:L,AS_ENTRIES:n}),L}),l.prototype=a,a.constructor=l),(y||_)&&(h("delete"),h("has"),n&&h("get")),(_||p)&&h(s),i&&a.clear&&delete a.clear}return c[t]=l,yx({global:!0,constructor:!0,forced:l!==o},c),Ix(l,t),i||r.setStrong(l,t,n),l},xx=ft,Pa=function(t,e,r){for(var n in e)xx(t,n,e[n],r);return t},Lx=Y,Kh=Pa,qs=Ba.getWeakData,Ox=Ts,Nx=Qe,Rx=Zn,Yl=be,Dx=F1,y6=wt,Qh=Ie,m6=ht,Bx=m6.set,$x=m6.getterFor,Px=y6.find,Mx=y6.findIndex,Fx=Lx([].splice),Ux=0,Ks=function(t){return t.frozen||(t.frozen=new b6)},b6=function(){this.entries=[]},Jl=function(t,e){return Px(t.entries,function(r){return r[0]===e})};b6.prototype={get:function(t){var e=Jl(this,t);if(e)return e[1]},has:function(t){return!!Jl(this,t)},set:function(t,e){var r=Jl(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=Mx(this.entries,function(r){return r[0]===t});return~e&&Fx(this.entries,e,1),!!~e}};var _6={getConstructor:function(t,e,r,n){var i=t(function(l,c){Ox(l,s),Bx(l,{type:e,id:Ux++,frozen:null}),Rx(c)||Dx(c,l[n],{that:l,AS_ENTRIES:r})}),s=i.prototype,o=$x(e),a=function(l,c,h){var f=o(l),d=qs(Nx(c),!0);return d===!0?Ks(f).set(c,h):d[f.id]=h,l};return Kh(s,{delete:function(l){var c=o(this);if(!Yl(l))return!1;var h=qs(l);return h===!0?Ks(c).delete(l):h&&Qh(h,c.id)&&delete h[c.id]},has:function(c){var h=o(this);if(!Yl(c))return!1;var f=qs(c);return f===!0?Ks(h).has(c):f&&Qh(f,h.id)}}),Kh(s,r?{get:function(c){var h=o(this);if(Yl(c)){var f=qs(c);if(f===!0)return Ks(h).get(c);if(f)return f[h.id]}},set:function(c,h){return a(this,c,h)}}:{add:function(c){return a(this,c,!0)}}),i}},zx=$a,Vx=_6;zx("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Vx);var jx=g6,Wh=ae,Lo=Y,Gh=Pa,Hx=Ba,qx=$a,w6=_6,Qs=be,Ws=ht.enforce,Kx=K,Qx=F5,Es=Object,Wx=Array.isArray,Gs=Es.isExtensible,C6=Es.isFrozen,Gx=Es.isSealed,A6=Es.freeze,Zx=Es.seal,Yx=!Wh.ActiveXObject&&"ActiveXObject"in Wh,vi,S6=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},T6=qx("WeakMap",S6,w6),mn=T6.prototype,Oo=Lo(mn.set),Jx=function(){return jx&&Kx(function(){var t=A6([]);return Oo(new T6,t,1),!C6(t)})};if(Qx)if(Yx){vi=w6.getConstructor(S6,"WeakMap",!0),Hx.enable();var Zh=Lo(mn.delete),Zs=Lo(mn.has),Yh=Lo(mn.get);Gh(mn,{delete:function(t){if(Qs(t)&&!Gs(t)){var e=Ws(this);return e.frozen||(e.frozen=new vi),Zh(this,t)||e.frozen.delete(t)}return Zh(this,t)},has:function(e){if(Qs(e)&&!Gs(e)){var r=Ws(this);return r.frozen||(r.frozen=new vi),Zs(this,e)||r.frozen.has(e)}return Zs(this,e)},get:function(e){if(Qs(e)&&!Gs(e)){var r=Ws(this);return r.frozen||(r.frozen=new vi),Zs(this,e)?Yh(this,e):r.frozen.get(e)}return Yh(this,e)},set:function(e,r){if(Qs(e)&&!Gs(e)){var n=Ws(this);n.frozen||(n.frozen=new vi),Zs(this,e)?Oo(this,e,r):n.frozen.set(e,r)}else Oo(this,e,r);return this}})}else Jx()&&Gh(mn,{set:function(e,r){var n;return Wx(e)&&(C6(e)?n=A6:Gx(e)&&(n=Zx)),Oo(this,e,r),n&&n(e),this}});var Xx=kr,eL=Or,tL=de,rL=Oe,Jh=tL("species"),U1=function(t){var e=Xx(t);rL&&e&&!e[Jh]&&eL(e,Jh,{configurable:!0,get:function(){return this}})},Xh=Jr,nL=Or,ef=Pa,iL=ms,sL=Ts,oL=Zn,aL=F1,lL=E1,Ys=I1,cL=U1,yi=Oe,tf=Ba.fastKey,E6=ht,rf=E6.set,Xl=E6.getterFor,I6={getConstructor:function(t,e,r,n){var i=t(function(c,h){sL(c,s),rf(c,{type:e,index:Xh(null),first:null,last:null,size:0}),yi||(c.size=0),oL(h)||aL(h,c[n],{that:c,AS_ENTRIES:r})}),s=i.prototype,o=Xl(e),a=function(c,h,f){var d=o(c),p=l(c,h),y,m;return p?p.value=f:(d.last=p={index:m=tf(h,!0),key:h,value:f,previous:y=d.last,next:null,removed:!1},d.first||(d.first=p),y&&(y.next=p),yi?d.size++:c.size++,m!=="F"&&(d.index[m]=p)),c},l=function(c,h){var f=o(c),d=tf(h),p;if(d!=="F")return f.index[d];for(p=f.first;p;p=p.next)if(p.key===h)return p};return ef(s,{clear:function(){for(var h=this,f=o(h),d=f.first;d;)d.removed=!0,d.previous&&(d.previous=d.previous.next=null),d=d.next;f.first=f.last=null,f.index=Xh(null),yi?f.size=0:h.size=0},delete:function(c){var h=this,f=o(h),d=l(h,c);if(d){var p=d.next,y=d.previous;delete f.index[d.index],d.removed=!0,y&&(y.next=p),p&&(p.previous=y),f.first===d&&(f.first=p),f.last===d&&(f.last=y),yi?f.size--:h.size--}return!!d},forEach:function(h){for(var f=o(this),d=iL(h,arguments.length>1?arguments[1]:void 0),p;p=p?p.next:f.first;)for(d(p.value,p.key,this);p&&p.removed;)p=p.previous},has:function(h){return!!l(this,h)}}),ef(s,r?{get:function(h){var f=l(this,h);return f&&f.value},set:function(h,f){return a(this,h===0?0:h,f)}}:{add:function(h){return a(this,h=h===0?0:h,h)}}),yi&&nL(s,"size",{configurable:!0,get:function(){return o(this).size}}),i},setStrong:function(t,e,r){var n=e+" Iterator",i=Xl(e),s=Xl(n);lL(t,e,function(o,a){rf(this,{type:n,target:o,state:i(o),kind:a,last:null})},function(){for(var o=s(this),a=o.kind,l=o.last;l&&l.removed;)l=l.previous;return!o.target||!(o.last=l=l?l.next:o.state.first)?(o.target=null,Ys(void 0,!0)):Ys(a==="keys"?l.key:a==="values"?l.value:[l.key,l.value],!1)},r?"entries":"values",!r,!0),cL(e)}},uL=$a,hL=I6;uL("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},hL);var fL=K,k6=function(t,e){var r=[][t];return!!r&&fL(function(){r.call(null,e||function(){return 1},1)})},dL=wt.forEach,pL=k6,gL=pL("forEach"),vL=gL?[].forEach:function(e){return dL(this,e,arguments.length>1?arguments[1]:void 0)},nf=ae,sf=Gp,yL=Zp,e0=vL,mL=zt,x6=function(t){if(t&&t.forEach!==e0)try{mL(t,"forEach",e0)}catch(e){t.forEach=e0}};for(var t0 in sf)sf[t0]&&x6(nf[t0]&&nf[t0].prototype);x6(yL);var bL=$a,_L=I6;bL("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},_L);var wL=be,CL=er,AL=de,SL=AL("match"),L6=function(t){var e;return wL(t)&&((e=t[SL])!==void 0?!!e:CL(t)==="RegExp")},TL=Ke.f,EL=function(t,e,r){r in t||TL(t,r,{configurable:!0,get:function(){return e[r]},set:function(n){e[r]=n}})},IL=Oe,z1=ae,Is=Y,kL=wa,xL=Ss,LL=zt,OL=Jr,NL=xr.f,of=Ut,RL=L6,af=Je,DL=Q5,O6=Z5,BL=EL,$L=ft,PL=K,ML=Ie,FL=ht.enforce,UL=U1,zL=de,N6=ep,R6=tp,VL=zL("match"),Cr=z1.RegExp,bn=Cr.prototype,jL=z1.SyntaxError,HL=Is(bn.exec),Qo=Is("".charAt),lf=Is("".replace),cf=Is("".indexOf),uf=Is("".slice),qL=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Kr=/a/g,r0=/a/g,KL=new Cr(Kr)!==Kr,D6=O6.MISSED_STICKY,QL=O6.UNSUPPORTED_Y,WL=IL&&(!KL||D6||N6||R6||PL(function(){return r0[VL]=!1,Cr(Kr)!==Kr||Cr(r0)===r0||String(Cr(Kr,"i"))!=="/a/i"})),GL=function(t){for(var e=t.length,r=0,n="",i=!1,s;r<=e;r++){if(s=Qo(t,r),s==="\\"){n+=s+Qo(t,++r);continue}!i&&s==="."?n+="[\\s\\S]":(s==="["?i=!0:s==="]"&&(i=!1),n+=s)}return n},ZL=function(t){for(var e=t.length,r=0,n="",i=[],s=OL(null),o=!1,a=!1,l=0,c="",h;r<=e;r++){if(h=Qo(t,r),h==="\\")h+=Qo(t,++r);else if(h==="]")o=!1;else if(!o)switch(!0){case h==="[":o=!0;break;case h==="(":if(n+=h,uf(t,r+1,r+3)==="?:")continue;HL(qL,uf(t,r+1))&&(r+=2,a=!0),l++;continue;case(h===">"&&a):if(c===""||ML(s,c))throw new jL("Invalid capture group name");s[c]=!0,i[i.length]=[c,l],a=!1,c="";continue}a?c+=h:n+=h}return[n,i]};if(kL("RegExp",WL)){for(var Rr=function(e,r){var n=of(bn,this),i=RL(e),s=r===void 0,o=[],a=e,l,c,h,f,d,p;if(!n&&i&&s&&e.constructor===Rr)return e;if((i||of(bn,e))&&(e=e.source,s&&(r=DL(a))),e=e===void 0?"":af(e),r=r===void 0?"":af(r),a=e,N6&&"dotAll"in Kr&&(c=!!r&&cf(r,"s")>-1,c&&(r=lf(r,/s/g,""))),l=r,D6&&"sticky"in Kr&&(h=!!r&&cf(r,"y")>-1,h&&QL&&(r=lf(r,/y/g,""))),R6&&(f=ZL(e),e=f[0],o=f[1]),d=xL(Cr(e,r),n?this:bn,Rr),(c||h||o.length)&&(p=FL(d),c&&(p.dotAll=!0,p.raw=Rr(GL(e),l)),h&&(p.sticky=!0),o.length&&(p.groups=o)),e!==a)try{LL(d,"source",a===""?"(?:)":a)}catch(y){}return d},hf=NL(Cr),ff=0;hf.length>ff;)BL(Rr,Cr,hf[ff++]);bn.constructor=Rr,Rr.prototype=bn,$L(z1,"RegExp",Rr,{constructor:!0})}UL("RegExp");var YL=function(e,r,n){var i,s,o,a,l,c=function f(){var d=Date.now()-a;d=0?i=setTimeout(f,r-d):(i=null,n||(l=e.apply(o,s),i||(o=s=null)))},h=function(){o=this,s=arguments,a=Date.now();var d=n&&!i;return i||(i=setTimeout(c,r)),d&&(l=e.apply(o,s),o=s=null),l};return h.cancel=function(){i&&(clearTimeout(i),i=null)},h};const d2={debounce:YL};var z=window.navigator.userAgent.toLowerCase(),B6=z&&/msie|trident/.test(z),$6=z&&z.indexOf("msie 6.0")!=-1,P6=z&&z.indexOf("msie 7.0")!=-1,M6=z&&z.indexOf("msie 8.0")!=-1,F6=z&&z.indexOf("msie 9.0")>0,JL=z&&z.indexOf("msie 10.0")>0,XL=z&&z.indexOf("trident/")>0&&z.indexOf("rv:11.")>0,eO=B6&&($6||P6||M6||F6),U6=z&&(z.indexOf("edge/")>0||z.indexOf("edg/")>0),V1=z&&z.indexOf("android")>-1,j1=z&&/iphone|ipad|ipod|ios/.test(z),tO=z&&/chrome\/\d+/.test(z)&&!U6,H1=z&&z.indexOf("kfz_com")>-1,z6=z&&z.indexOf("alipayclient")>-1&&z.indexOf("miniprogram")>-1,V6=z&&z.indexOf("swan")>-1,j6=z&&z.indexOf("toutiaomicroapp")>-1,q1=z&&z.indexOf("micromessenger")>-1&&(z.indexOf("miniprogram")>-1||window.__wxjs_environment==="miniprogram"),K1=z&&z.indexOf("micromessenger")>-1&&!q1,rO=z&&z.indexOf("baiduboxapp")>-1,nO=z&&z.indexOf("newsarticle")>-1||z&&z.indexOf("newslite")>-1,Q1=V6||z6||q1||j6,iO=!Q1&&!K1&&!H1&&(j1||V1),sO=!Q1&&!K1&&!H1&&!j1&&!V1,oO=z&&z.indexOf("weibo")>-1,aO=/macintosh|mac os x/i.test(z)&&window.screen.height>window.screen.width&&!z.match(/(iPhone\sOS)\s([\d_]+)/)||z.match(/(iPad).*OS\s([\d_]+)/);const Qr={UA:z,isIE:B6,isIE6:$6,isIE7:P6,isIE8:M6,isIE9:F6,isIE10:JL,isIE11:XL,isIELower:eO,isEdge:U6,isAndroid:V1,isIOS:j1,isChrome:tO,isKFZApp:H1,isAliMiniP:z6,isBaiDuMiniP:V6,isTouTiaoMiniP:j6,isWXMiniP:q1,isWXWeb:K1,isBDApp:rO,isTTApp:nO,isMiniP:Q1,isMobileBrowser:iO,isPCBrowser:sO,isWeiBo:oO,isIpad:aO};var lO=TypeError,cO=9007199254740991,uO=function(t){if(t>cO)throw lO("Maximum allowed index exceeded");return t},hO=ke,fO=K,dO=Sa,pO=be,gO=ut,vO=st,df=uO,pf=x1,yO=yp,mO=Xp,bO=de,_O=va,H6=bO("isConcatSpreadable"),wO=_O>=51||!fO(function(){var t=[];return t[H6]=!1,t.concat()[0]!==t}),CO=function(t){if(!pO(t))return!1;var e=t[H6];return e!==void 0?!!e:dO(t)},AO=!wO||!mO("concat");hO({target:"Array",proto:!0,arity:1,forced:AO},{concat:function(e){var r=gO(this),n=yO(r,0),i=0,s,o,a,l,c;for(s=-1,a=arguments.length;sr||l!==l?o*(1/0):o*l},BO=DO,$O=11920928955078125e-23,PO=34028234663852886e22,MO=11754943508222875e-54,FO=Math.fround||function(e){return BO(e,$O,PO,MO)},UO=Array,zO=Math.abs,qt=Math.pow,VO=Math.floor,jO=Math.log,HO=Math.LN2,qO=function(t,e,r){var n=UO(r),i=r*8-e-1,s=(1<>1,a=e===23?qt(2,-24)-qt(2,-77):0,l=t<0||t===0&&1/t<0?1:0,c=0,h,f,d;for(t=zO(t),t!==t||t===1/0?(f=t!==t?1:0,h=s):(h=VO(jO(t)/HO),d=qt(2,-h),t*d<1&&(h--,d*=2),h+o>=1?t+=a/d:t+=a*qt(2,1-o),t*d>=2&&(h++,d/=2),h+o>=s?(f=0,h=s):h+o>=1?(f=(t*d-1)*qt(2,e),h+=o):(f=t*qt(2,o-1)*qt(2,e),h=0));e>=8;)n[c++]=f&255,f/=256,e-=8;for(h=h<0;)n[c++]=h&255,h/=256,i-=8;return n[c-1]|=l*128,n},KO=function(t,e){var r=t.length,n=r*8-e-1,i=(1<>1,o=n-7,a=r-1,l=t[a--],c=l&127,h;for(l>>=7;o>0;)c=c*256+t[a--],o-=8;for(h=c&(1<<-o)-1,c>>=-o,o+=e;o>0;)h=h*256+t[a--],o-=8;if(c===0)c=1-s;else{if(c===i)return h?NaN:l?-1/0:1/0;h+=qt(2,e),c-=s}return(l?-1:1)*h*qt(2,c-e)},QO={pack:qO,unpack:KO},WO=ut,vf=ti,GO=st,Q6=function(e){for(var r=WO(this),n=GO(r),i=arguments.length,s=vf(i>1?arguments[1]:void 0,n),o=i>2?arguments[2]:void 0,a=o===void 0?n:vf(o,n);a>s;)r[s++]=e;return r},Ma=ae,W1=Y,n0=Oe,ZO=q6,W6=ps,YO=zt,JO=Or,yf=Pa,i0=K,Js=Ts,XO=Vt,eN=rr,Wo=K6,tN=FO,G6=QO,rN=Oa,mf=As,nN=Q6,iN=Xr,sN=Ss,oN=a1,Z6=ri,G1=ht,aN=W6.PROPER,bf=W6.CONFIGURABLE,kn="ArrayBuffer",Fa="DataView",xn="prototype",lN="Wrong length",Y6="Wrong index",_f=G1.getterFor(kn),Bi=G1.getterFor(Fa),wf=G1.set,dt=Ma[kn],rt=dt,hn=rt&&rt[xn],Ot=Ma[Fa],Dr=Ot&&Ot[xn],Cf=Object.prototype,cN=Ma.Array,Go=Ma.RangeError,uN=W1(nN),hN=W1([].reverse),J6=G6.pack,Af=G6.unpack,Sf=function(t){return[t&255]},Tf=function(t){return[t&255,t>>8&255]},Ef=function(t){return[t&255,t>>8&255,t>>16&255,t>>24&255]},If=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},fN=function(t){return J6(tN(t),23,4)},dN=function(t){return J6(t,52,8)},Xs=function(t,e,r){JO(t[xn],e,{configurable:!0,get:function(){return r(this)[e]}})},cr=function(t,e,r,n){var i=Bi(t),s=Wo(r),o=!!n;if(s+e>i.byteLength)throw new Go(Y6);var a=i.bytes,l=s+i.byteOffset,c=iN(a,l,l+e);return o?c:hN(c)},ur=function(t,e,r,n,i,s){var o=Bi(t),a=Wo(r),l=n(+i),c=!!s;if(a+e>o.byteLength)throw new Go(Y6);for(var h=o.bytes,f=a+o.byteOffset,d=0;ds)throw new Go("Wrong offset");if(n=n===void 0?s-o:eN(n),o+n>s)throw new Go(lN);wf(this,{type:Fa,buffer:e,byteLength:n,byteOffset:o,bytes:i.bytes}),n0||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},Dr=Ot[xn],n0&&(Xs(rt,"byteLength",_f),Xs(Ot,"buffer",Bi),Xs(Ot,"byteLength",Bi),Xs(Ot,"byteOffset",Bi)),yf(Dr,{getInt8:function(e){return cr(this,1,e)[0]<<24>>24},getUint8:function(e){return cr(this,1,e)[0]},getInt16:function(e){var r=cr(this,2,e,arguments.length>1?arguments[1]:!1);return(r[1]<<8|r[0])<<16>>16},getUint16:function(e){var r=cr(this,2,e,arguments.length>1?arguments[1]:!1);return r[1]<<8|r[0]},getInt32:function(e){return If(cr(this,4,e,arguments.length>1?arguments[1]:!1))},getUint32:function(e){return If(cr(this,4,e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(e){return Af(cr(this,4,e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(e){return Af(cr(this,8,e,arguments.length>1?arguments[1]:!1),52)},setInt8:function(e,r){ur(this,1,e,Sf,r)},setUint8:function(e,r){ur(this,1,e,Sf,r)},setInt16:function(e,r){ur(this,2,e,Tf,r,arguments.length>2?arguments[2]:!1)},setUint16:function(e,r){ur(this,2,e,Tf,r,arguments.length>2?arguments[2]:!1)},setInt32:function(e,r){ur(this,4,e,Ef,r,arguments.length>2?arguments[2]:!1)},setUint32:function(e,r){ur(this,4,e,Ef,r,arguments.length>2?arguments[2]:!1)},setFloat32:function(e,r){ur(this,4,e,fN,r,arguments.length>2?arguments[2]:!1)},setFloat64:function(e,r){ur(this,8,e,dN,r,arguments.length>2?arguments[2]:!1)}});else{var kf=aN&&dt.name!==kn;!i0(function(){dt(1)})||!i0(function(){new dt(-1)})||i0(function(){return new dt,new dt(1.5),new dt(NaN),dt.length!==1||kf&&!bf})?(rt=function(e){return Js(this,hn),sN(new dt(Wo(e)),this,rt)},rt[xn]=hn,hn.constructor=rt,oN(rt,dt)):kf&&bf&&YO(dt,"name",kn),mf&&rN(Dr)!==Cf&&mf(Dr,Cf);var eo=new Ot(new rt(2)),xf=W1(Dr.setInt8);eo.setInt8(0,2147483648),eo.setInt8(1,2147483649),(eo.getInt8(0)||!eo.getInt8(1))&&yf(Dr,{setInt8:function(e,r){xf(this,e,r<<24>>24)},setUint8:function(e,r){xf(this,e,r<<24>>24)}},{unsafe:!0})}Z6(rt,kn);Z6(Ot,Fa);var X6={ArrayBuffer:rt,DataView:Ot},pN=ke,Z1=_1,gN=K,e4=X6,Lf=Qe,Of=ti,vN=rr,Y1=e4.ArrayBuffer,p2=e4.DataView,t4=p2.prototype,Nf=Z1(Y1.prototype.slice),yN=Z1(t4.getUint8),mN=Z1(t4.setUint8),bN=gN(function(){return!new Y1(2).slice(1,void 0).byteLength});pN({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:bN},{slice:function(e,r){if(Nf&&r===void 0)return Nf(Lf(this),e);for(var n=Lf(this).byteLength,i=Of(e,n),s=Of(r===void 0?n:r,n),o=new Y1(vN(s-i)),a=new p2(this),l=new p2(o),c=0;i255?255:e&255},WN=Ta,GN=Yr,ZN=TypeError,YN=function(t){if(WN(t))return t;throw new ZN(GN(t)+" is not a constructor")},JN=Lr,XN=function(t){var e=JN(t);return e==="BigInt64Array"||e==="BigUint64Array"},eR=r1,tR=TypeError,u4=function(t){var e=eR(t,"number");if(typeof e=="number")throw new tR("Can't convert number to bigint");return BigInt(e)},rR=ms,nR=Ee,iR=YN,sR=ut,oR=st,aR=O1,lR=Na,cR=L1,uR=XN,hR=he.aTypedArrayConstructor,fR=u4,dR=function(e){var r=iR(this),n=sR(e),i=arguments.length,s=i>1?arguments[1]:void 0,o=s!==void 0,a=lR(n),l,c,h,f,d,p,y,m;if(a&&!cR(a))for(y=aR(n,a),m=y.next,n=[];!(p=nR(m,y)).done;)n.push(p.value);for(o&&i>2&&(s=rR(s,arguments[2])),c=oR(n),h=new(hR(r))(c),f=uR(h),l=0;c>l;l++)d=o?s(n[l],l):n[l],h[l]=f?fR(d):+d;return h},pR=st,h4=function(t,e,r){for(var n=0,i=arguments.length>2?r:pR(e),s=new t(i);i>n;)s[n]=e[n++];return s},$f=ke,f4=ae,Pf=Ee,gR=Oe,vR=PN,ks=he,d4=X6,Mf=Ts,yR=Gn,mi=zt,mR=UN,bR=rr,Ff=K6,o0=c4,_R=QN,p4=ya,bi=Ie,wR=Lr,b2=be,CR=Jn,AR=Jr,SR=Ut,to=As,TR=xr.f,Uf=dR,ER=wt.forEach,IR=U1,kR=Or,g4=Ke,v4=Wn,zf=h4,rc=ht,xR=Ss,_2=rc.get,LR=rc.set,OR=rc.enforce,y4=g4.f,NR=v4.f,a0=f4.RangeError,m4=d4.ArrayBuffer,RR=m4.prototype,DR=d4.DataView,ro=ks.NATIVE_ARRAY_BUFFER_VIEWS,Vf=ks.TYPED_ARRAY_TAG,jf=ks.TypedArray,_i=ks.TypedArrayPrototype,w2=ks.isTypedArray,no="BYTES_PER_ELEMENT",l0="Wrong length",io=function(t,e){kR(t,e,{configurable:!0,get:function(){return _2(this)[e]}})},Hf=function(t){var e;return SR(RR,t)||(e=wR(t))==="ArrayBuffer"||e==="SharedArrayBuffer"},b4=function(t,e){return w2(t)&&!CR(e)&&e in t&&mR(+e)&&e>=0},qf=function(e,r){return r=p4(r),b4(e,r)?yR(2,e[r]):NR(e,r)},Kf=function(e,r,n){return r=p4(r),b4(e,r)&&b2(n)&&bi(n,"value")&&!bi(n,"get")&&!bi(n,"set")&&!n.configurable&&(!bi(n,"writable")||n.writable)&&(!bi(n,"enumerable")||n.enumerable)?(e[r]=n.value,e):y4(e,r,n)};gR?(ro||(v4.f=qf,g4.f=Kf,io(_i,"buffer"),io(_i,"byteOffset"),io(_i,"byteLength"),io(_i,"length")),$f({target:"Object",stat:!0,forced:!ro},{getOwnPropertyDescriptor:qf,defineProperty:Kf}),g2.exports=function(t,e,r){var n=t.match(/\d+/)[0]/8,i=t+(r?"Clamped":"")+"Array",s="get"+t,o="set"+t,a=f4[i],l=a,c=l&&l.prototype,h={},f=function(m,_){var A=_2(m);return A.view[s](_*n+A.byteOffset,!0)},d=function(m,_,A){var x=_2(m);x.view[o](_*n+x.byteOffset,r?_R(A):A,!0)},p=function(m,_){y4(m,_,{get:function(){return f(this,_)},set:function(A){return d(this,_,A)},enumerable:!0})};ro?vR&&(l=e(function(m,_,A,x){return Mf(m,c),xR(function(){return b2(_)?Hf(_)?x!==void 0?new a(_,o0(A,n),x):A!==void 0?new a(_,o0(A,n)):new a(_):w2(_)?zf(l,_):Pf(Uf,l,_):new a(Ff(_))}(),m,l)}),to&&to(l,jf),ER(TR(a),function(m){m in l||mi(l,m,a[m])}),l.prototype=c):(l=e(function(m,_,A,x){Mf(m,c);var L=0,S=0,N,w,Q;if(!b2(_))Q=Ff(_),w=Q*n,N=new m4(w);else if(Hf(_)){N=_,S=o0(A,n);var G=_.byteLength;if(x===void 0){if(G%n)throw new a0(l0);if(w=G-S,w<0)throw new a0(l0)}else if(w=bR(x)*n,w+S>G)throw new a0(l0);Q=w/n}else return w2(_)?zf(l,_):Pf(Uf,l,_);for(LR(m,{buffer:N,byteOffset:S,byteLength:w,length:Q,view:new DR(N)});L2?arguments[2]:void 0,l=VR((a===void 0?i:c0(a,i))-o,i-s),c=1;for(o0;)o in n?n[s]=n[o]:zR(n,s),s+=c,o+=c;return n},HR=Y,_4=he,qR=jR,KR=HR(qR),QR=_4.aTypedArray,WR=_4.exportTypedArrayMethod;WR("copyWithin",function(e,r){return KR(QR(this),e,r,arguments.length>2?arguments[2]:void 0)});var w4=he,GR=wt.every,ZR=w4.aTypedArray,YR=w4.exportTypedArrayMethod;YR("every",function(e){return GR(ZR(this),e,arguments.length>1?arguments[1]:void 0)});var C4=he,JR=Q6,XR=u4,eD=Lr,tD=Ee,rD=Y,nD=K,iD=C4.aTypedArray,sD=C4.exportTypedArrayMethod,oD=rD("".slice),aD=nD(function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),t!==1});sD("fill",function(e){var r=arguments.length;iD(this);var n=oD(eD(this),0,3)==="Big"?XR(e):+e;return tD(JR,this,n,r>1?arguments[1]:void 0,r>2?arguments[2]:void 0)},aD);var lD=h4,cD=he.getTypedArrayConstructor,uD=function(t,e){return lD(cD(t),e)},A4=he,hD=wt.filter,fD=uD,dD=A4.aTypedArray,pD=A4.exportTypedArrayMethod;pD("filter",function(e){var r=hD(dD(this),e,arguments.length>1?arguments[1]:void 0);return fD(this,r)});var S4=he,gD=wt.find,vD=S4.aTypedArray,yD=S4.exportTypedArrayMethod;yD("find",function(e){return gD(vD(this),e,arguments.length>1?arguments[1]:void 0)});var T4=he,mD=wt.findIndex,bD=T4.aTypedArray,_D=T4.exportTypedArrayMethod;_D("findIndex",function(e){return mD(bD(this),e,arguments.length>1?arguments[1]:void 0)});var E4=he,wD=wt.forEach,CD=E4.aTypedArray,AD=E4.exportTypedArrayMethod;AD("forEach",function(e){wD(CD(this),e,arguments.length>1?arguments[1]:void 0)});var I4=he,SD=ba.includes,TD=I4.aTypedArray,ED=I4.exportTypedArrayMethod;ED("includes",function(e){return SD(TD(this),e,arguments.length>1?arguments[1]:void 0)});var k4=he,ID=ba.indexOf,kD=k4.aTypedArray,xD=k4.exportTypedArrayMethod;xD("indexOf",function(e){return ID(kD(this),e,arguments.length>1?arguments[1]:void 0)});var LD=ae,OD=K,nc=Y,x4=he,ic=Kp,ND=de,sc=ND("iterator"),Wf=LD.Uint8Array,RD=nc(ic.values),DD=nc(ic.keys),BD=nc(ic.entries),oc=x4.aTypedArray,Va=x4.exportTypedArrayMethod,_n=Wf&&Wf.prototype,ja=!OD(function(){_n[sc].call([1])}),L4=!!_n&&_n.values&&_n[sc]===_n.values&&_n.values.name==="values",O4=function(){return RD(oc(this))};Va("entries",function(){return BD(oc(this))},ja);Va("keys",function(){return DD(oc(this))},ja);Va("values",O4,ja||!L4,{name:"values"});Va(sc,O4,ja||!L4,{name:"values"});var N4=he,$D=Y,PD=N4.aTypedArray,MD=N4.exportTypedArrayMethod,FD=$D([].join);MD("join",function(e){return FD(PD(this),e)});var UD=ys,zD=tr,VD=Vt,jD=st,HD=k6,qD=Math.min,C2=[].lastIndexOf,R4=!!C2&&1/[1].lastIndexOf(1,-0)<0,KD=HD("lastIndexOf"),QD=R4||!KD,WD=QD?function(e){if(R4)return UD(C2,this,arguments)||0;var r=zD(this),n=jD(r);if(n===0)return-1;var i=n-1;for(arguments.length>1&&(i=qD(i,VD(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in r&&r[i]===e)return i||0;return-1}:C2,D4=he,GD=ys,ZD=WD,YD=D4.aTypedArray,JD=D4.exportTypedArrayMethod;JD("lastIndexOf",function(e){var r=arguments.length;return GD(ZD,YD(this),r>1?[e,arguments[1]]:[e])});var ac=he,XD=wt.map,eB=ac.aTypedArray,tB=ac.getTypedArrayConstructor,rB=ac.exportTypedArrayMethod;rB("map",function(e){return XD(eB(this),e,arguments.length>1?arguments[1]:void 0,function(r,n){return new(tB(r))(n)})});var nB=Xn,iB=ut,sB=X2,oB=st,Gf=TypeError,Zf="Reduce of empty array with no initial value",Yf=function(t){return function(e,r,n,i){var s=iB(e),o=sB(s),a=oB(s);if(nB(r),a===0&&n<2)throw new Gf(Zf);var l=t?a-1:0,c=t?-1:1;if(n<2)for(;;){if(l in o){i=o[l],l+=c;break}if(l+=c,t?l<0:a<=l)throw new Gf(Zf)}for(;t?l>=0:a>l;l+=c)l in o&&(i=r(i,o[l],l,s));return i}},B4={left:Yf(!1),right:Yf(!0)},$4=he,aB=B4.left,lB=$4.aTypedArray,cB=$4.exportTypedArrayMethod;cB("reduce",function(e){var r=arguments.length;return aB(lB(this),e,r,r>1?arguments[1]:void 0)});var P4=he,uB=B4.right,hB=P4.aTypedArray,fB=P4.exportTypedArrayMethod;fB("reduceRight",function(e){var r=arguments.length;return uB(hB(this),e,r,r>1?arguments[1]:void 0)});var M4=he,dB=M4.aTypedArray,pB=M4.exportTypedArrayMethod,gB=Math.floor;pB("reverse",function(){for(var e=this,r=dB(e).length,n=gB(r/2),i=0,s;i1?arguments[1]:void 0,1),n=mB(e);if(S2)return U4(V4,this,n,r);var i=this.length,s=vB(n),o=0;if(s+r>i)throw new bB("Wrong length");for(;os;)a[s]=n[s++];return a},kB);var j4=he,xB=wt.some,LB=j4.aTypedArray,OB=j4.exportTypedArrayMethod;OB("some",function(e){return xB(LB(this),e,arguments.length>1?arguments[1]:void 0)});var Xf=Xr,NB=Math.floor,T2=function(t,e){var r=t.length;if(r<8)for(var n=1,i,s;n0;)t[s]=t[--s];s!==n++&&(t[s]=i)}else for(var o=NB(r/2),a=T2(Xf(t,0,o),e),l=T2(Xf(t,o),e),c=a.length,h=l.length,f=0,d=0;f0&&1/r<0?1:-1:e>r}};KB("sort",function(e){return e!==void 0&&VB(e),sd?On(this,e):jB(qB(this),WB(e))},!sd||QB);var uc=he,GB=rr,od=ti,ZB=uc.aTypedArray,YB=uc.getTypedArrayConstructor,JB=uc.exportTypedArrayMethod;JB("subarray",function(e,r){var n=ZB(this),i=n.length,s=od(e,i),o=YB(n);return new o(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,GB((r===void 0?i:od(r,i))-s))});var XB=ae,e$=ys,q4=he,I2=K,ad=Xr,Jo=XB.Int8Array,ld=q4.aTypedArray,t$=q4.exportTypedArrayMethod,K4=[].toLocaleString,r$=!!Jo&&I2(function(){K4.call(new Jo(1))}),n$=I2(function(){return[1,2].toLocaleString()!==new Jo([1,2]).toLocaleString()})||!I2(function(){Jo.prototype.toLocaleString.call([1,2])});t$("toLocaleString",function(){return e$(K4,r$?ad(ld(this)):ld(this),ad(arguments))},n$);var i$=he.exportTypedArrayMethod,s$=K,o$=ae,a$=Y,cd=o$.Uint8Array,l$=cd&&cd.prototype||{},Xo=[].toString,c$=a$([].join);s$(function(){Xo.call({})})&&(Xo=function(){return c$(this)});var u$=l$.toString!==Xo;i$("toString",Xo,u$);var h$=ke,f$=c1;h$({target:"String",proto:!0},{repeat:f$});var d$=ke,p$=ba.includes,g$=K,v$=Fp,y$=g$(function(){return!Array(1).includes()});d$({target:"Array",proto:!0,forced:y$},{includes:function(e){return p$(this,e,arguments.length>1?arguments[1]:void 0)}});v$("includes");var m$=L6,b$=TypeError,_$=function(t){if(m$(t))throw new b$("The method doesn't accept regular expressions");return t},w$=de,C$=w$("match"),A$=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[C$]=!1,"/./"[t](e)}catch(n){}}return!1},S$=ke,T$=Y,E$=_$,I$=Ft,ud=Je,k$=A$,x$=T$("".indexOf);S$({target:"String",proto:!0,forced:!k$("includes")},{includes:function(e){return!!~x$(ud(I$(this)),ud(E$(e)),arguments.length>1?arguments[1]:void 0)}});const L$={class:"header-wrap"},O$=u("div",{class:"slogan-box"},[u("span",{class:"text"},"网罗天下图书"),u("span",null,"传承中华文明")],-1),N$={class:"index-link-box clearfix"},R$={class:"item-info"},D$=["href"],B$=u("span",{class:"info-text"},"首页",-1),$$=[B$],P$={class:"item-info"},M$=["href"],F$=u("span",{class:"info-text"},"书店区",-1),U$=[F$],z$={class:"item-info"},V$=["href"],j$=u("span",{class:"info-text"},"书摊区",-1),H$=[j$],q$={class:"item-info"},K$=["href"],Q$=u("span",{class:"info-text"},"新书",-1),W$=[Q$],G$={class:"item-info"},Z$=["href"],Y$=u("span",{class:"info-text"},"在线拍卖",-1),J$=[Y$],X$={class:"item-info"},eP=["href"],tP=u("span",{class:"info-text"},"艺术品专场",-1),rP=[tP],nP={class:"user-info-box clearfix"},iP={id:"nickName",class:"info-normal"},sP={key:0,class:"info-text user-name-text"},oP=u("span",{class:"info-text"},"登录",-1),aP=u("span",{class:"info-text"},"/",-1),lP=u("span",{class:"info-text"},"注册",-1),cP={id:"loginWin",class:"info-win"},uP={class:"item-info message-win"},hP=["href"],fP={class:"info-text un-read-style"},dP={id:"unReadNum",class:"num"},pP=u("span",{class:"info-text normal-style"},"消息",-1),gP={key:0,class:"notice-play"},vP=["src"],yP=["href"],mP=u("span",{class:"global-iconfont global-icon-cart"},null,-1),bP={class:"info-text"},_P={key:0,id:"cartNum",class:"num"},wP={id:"cartListWin",class:"info-win"},CP={class:"item-info"},AP=["href"],SP=u("span",{class:"info-text"},"我的订单",-1),TP=[SP],EP=["href"],IP=u("span",{class:"info-text"},"个人中心",-1),kP=[IP],xP={class:"info-win"},LP={class:"personal-center"},OP={class:"info-domain"},NP=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-dianpu"}),u("span",{class:"text"},"店铺")],-1),RP=["href"],DP=["href"],BP={class:"info-domain"},$P=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-bid"}),u("span",{class:"text"},"拍卖")],-1),PP=["href"],MP=["href"],FP=["href"],UP={class:"info-domain"},zP=u("div",{class:"title"},null,-1),VP=["href"],jP=["href"],HP=["href"],qP=u("span",{class:"info-text"},"卖家中心",-1),KP=[qP],QP={id:"sellerWin",class:"info-win"},WP=u("span",{class:"info-normal"},[u("span",{class:"info-text"},"客服")],-1),GP=u("span",{class:"line-right-test"},"|",-1),ZP={class:"info-win"},YP={class:"help-center"},JP={class:"other_info_inner"},XP=["href"],eM=u("span",{class:"global-iconfont global-icon-question"},null,-1),tM=u("span",{class:"tip"},"9:00-20:30",-1),rM=["href"],nM=u("span",{class:"global-iconfont global-icon-service"},null,-1),iM=it('
客服电话
010-89648155
服务时间
客服咨询 08:00-21:00
纠纷处理
09:00-12:30
13:30-18:00
图书审核 09:00-18:00
',1),sM=["href"],oM=u("span",{class:"global-iconfont global-icon-message"},null,-1),aM={key:0,class:"item-info",id:"wzaBtnBox"},lM=u("span",{class:"info-text"},"网站无障碍",-1),cM=[lM],uM=["href"],hM=u("span",{class:"info-text"},"手机孔网",-1),fM=[hM],dM={id:"codeWin",class:"info-win"},pM={class:"info-win__item app-code clearfix"},gM={class:"code f_left"},vM=["href"],yM=u("img",{src:Cv,alt:"",class:"code-img"},null,-1),mM=[yM],bM=it('

下载手机孔网

功能更全、体验更好

iPhone

Android

iPad

',1),_M=it('

微信扫码逛孔网

无需下载,扫码即刻访问

抢5折好券
',1),fn="info-focus-active",gie=tt({name:"TopBar",__name:"index",props:{layout:{type:Number,default:1},type:{type:Number,default:1}},setup(t){const e=t,r=oa("$eventBus"),n=Pt(),i=(n==null?void 0:n.appContext.config.globalProperties.$sites)||{},s=ce(""),o=ce(0),a=ce(!1),l=()=>{const j=document.createElement("script");j.src="//res2.kongfz.com/libs/wza/aria.js",j.id="ariascripts",j.setAttribute("appid","75552398750e32b9610c27d545d89951"),j.setAttribute("aria-autofixedbtn","false"),j.setAttribute("wapForceOldFixed","false"),j.setAttribute("loadData","false"),j.setAttribute("charset","utf-8"),document.body.appendChild(j)},c=()=>{window.aria.start()};!Qr.isIpad&&!Qr.isAndroid&&!Qr.isIOS&&(a.value=!0,l());const h=j=>{if(s.value=j,j==="cart"){let R=new Date().getTime();R-o.value>1e3&&(o.value=R,m(!0))}},f=()=>{s.value=""},d=ce({}),p=ce([]),y=ce(0),m=j=>{zo({url:"".concat(i==null?void 0:i.s_cart,"jsonp/listcart"),data:{limit:5}}).then(R=>{let W=R.body;W.status&&(p.value=W.result.data,y.value=W.result.page.recordCount,r.emit("cartNumNotice",{cartNum:y.value}),j&&!d.value.isLogin&&A(!1))})};let _=!1;const A=j=>{_||(_=!0,Z({method:"get",url:"/common-web/v1/api/userInfo"}).then(R=>{R.data.status?(d.value=R.data.data,d.value.isLogin=!0,r.emit("userInfoUpdate",{...d.value}),window.KFZ||(window.KFZ={}),window.KFZ.isLogin=!0):(d.value.isLogin=!1,j&&typeof window.loginWin=="function"&&window.loginWin(i==null?void 0:i.s_login,"login")),_=!1}).catch(()=>{d.value.isLogin=!1,j&&typeof window.loginWin=="function"&&window.loginWin(i==null?void 0:i.s_login,"login"),_=!1}))};r.on("getUserInfoRequest",()=>{d.value&&d.value.isLogin?r.emit("userInfoUpdate",{...d.value}):A(!1)});const x=ce({}),L=ce(0),S=ce(""),N=ce(null),w=()=>{I8(()=>{N.value.play()})},Q=()=>"visibilityState"in document?document.visibilityState:null,G=()=>{A(!0)},re=()=>{m(!1)};return A(!1),setTimeout(()=>{m(!1)},200),e.type==1?S.value="":e.type==2?S.value="page-nav-red-style":S.value="page-nav-style",S3(()=>{setTimeout(()=>{const j=Gy.init({siteMessage:i==null?void 0:i.s_mmessage,siteSubs:i==null?void 0:i.subs,$eventBus:r},R=>{x.value=R.settings,r.on("msgNotice",W=>{L.value=W.unreadNum,x.value.openVoice==1&&Q()!="hidden"&&!W.isInit&&w()})});r.emit("onIMInit",j),r.on("addToCart",()=>{m(!1)})},200)}),(j,R)=>(g(),v("div",{id:"navHeader",class:T(["nav-header-box",[S.value,t.layout===2?"wide":""]])},[u("div",L$,[O$,u("div",N$,[u("div",R$,[u("a",{href:O(i).s_www,class:"info-link"},$$,8,D$)]),u("div",P$,[u("a",{href:O(i).s_shop,class:"info-link"},U$,8,M$)]),u("div",z$,[u("a",{href:O(i).s_tan,class:"info-link"},H$,8,V$)]),u("div",q$,[u("a",{href:O(i).s_item,class:"info-link"},W$,8,K$)]),u("div",G$,[u("a",{href:O(i).s_pm,class:"info-link"},J$,8,Z$)]),u("div",X$,[u("a",{href:O(i).s_pm+"/special",class:"info-link"},rP,8,eP)])]),u("div",nP,[u("div",{class:T(["item-info login-win",s.value=="login"?fn:""]),onMouseenter:R[0]||(R[0]=W=>h("login")),onMouseleave:f,onClick:R[1]||(R[1]=W=>h("login"))},[u("span",iP,[d.value.isLogin?(g(),v("span",sP,C(d.value.nickname),1)):(g(),v(P,{key:1},[oP,aP,lP],64))]),u("div",cP,[B(nm,{userInfo:d.value,onLoginClick:G},null,8,["userInfo"])])],34),u("div",uP,[u("a",{id:"msgNum",href:O(i).s_message+"message/myMessage/myMessage.html#/?category=inbox&page=1",class:T(["info-link no-win",L.value?"msg-un-read":"msg-normal"]),target:"_blank",rel:"nofollow"},[u("span",{class:T(["global-iconfont global-icon-contactnotice un-read-style",[t.type===3?"icon-xiaoxi-red":"icon-xiaoxi"]])},null,2),u("span",fP,[V("未读消息 "),u("span",dP,C(L.value),1)]),pP],10,hP),x.value.voice?(g(),v("div",gP,[u("audio",{ref_key:"noticePlay",ref:N,preload:"metadata",src:O(i).s_message+"images/voice/"+x.value.voice+".mp3"},null,8,vP)])):b("",!0)]),u("div",{class:T(["item-info",s.value=="cart"?fn:""]),onMouseenter:R[2]||(R[2]=W=>h("cart")),onMouseleave:f},[u("a",{id:"cartLink",href:O(i).s_cart,class:"info-link",target:"_blank",rel:"nofollow"},[mP,u("span",bP,[V("购物车 "),y.value?(g(),v("span",_P,C(y.value),1)):b("",!0)])],8,yP),u("div",wP,[B($9,{isLogin:d.value.isLogin,list:p.value,cartNum:y.value,onLoginClick:G,upCartItem:re},null,8,["isLogin","list","cartNum"])])],34),u("div",CP,[u("a",{href:O(i).s_order+"order-views/management/buyer/list",class:"info-link no-win",target:"_blank",rel:"nofollow"},TP,8,AP)]),u("div",{class:T(["item-info",s.value=="ucenter"?fn:""]),onMouseenter:R[3]||(R[3]=W=>h("ucenter")),onMouseleave:f,onClick:R[4]||(R[4]=W=>h("ucenter"))},[u("a",{href:O(i).s_user,class:"info-link",target:"_blank",rel:"nofollow"},kP,8,EP),u("div",xP,[u("div",LP,[u("div",OP,[NP,u("a",{href:O(i).s_order+"order-views/management/buyer/list",class:"item",target:"_blank",rel:"nofollow"},"我的订单",8,RP),u("a",{href:O(i).s_user+"buyer/favorite_manage.html#product",class:"item",target:"_blank",rel:"nofollow"},"收藏商品",8,DP)]),u("div",BP,[$P,u("a",{href:O(i).s_pm+"trade-views/management/buyer/list",class:"item",target:"_blank",rel:"nofollow"},"拍卖交易",8,PP),u("a",{href:O(i).s_pm+"pm-buyer/bid-manage-pc/",class:"item",target:"_blank",rel:"nofollow"},"我的竞拍",8,MP),u("a",{href:O(i).s_pm+"pm-buyer/bid-manage-pc/favorite",class:"item",target:"_blank",rel:"nofollow"},"收藏拍品",8,FP)]),u("div",UP,[zP,u("a",{href:O(i).s_message+"message/safety/safety.html#/friends",class:"item",target:"_blank",rel:"nofollow"},"我的好友",8,VP),u("a",{href:O(i).pay,class:"item",target:"_blank",rel:"nofollow"},"资金账户",8,jP)])])])],34),u("div",{class:T(["item-info",s.value=="seller"?fn:""]),onMouseenter:R[5]||(R[5]=W=>h("seller")),onMouseleave:f,onClick:R[6]||(R[6]=W=>h("seller"))},[u("a",{href:O(i).s_shop+"seller/",class:"info-link",target:"_blank"},KP,8,HP),u("div",QP,[B(f9,{userType:d.value.userType},null,8,["userType"])])],34),u("div",{class:T(["item-info",s.value=="help"?fn:""]),onMouseenter:R[7]||(R[7]=W=>h("help")),onMouseleave:f,onClick:R[8]||(R[8]=W=>h("help"))},[WP,GP,u("div",ZP,[u("div",YP,[u("div",JP,[u("a",{href:O(i).s_help,class:"help_btn",target:"_blank",rel:"nofollow"},[eM,V(" 帮助中心 ")],8,XP),tM,u("a",{href:O(i).s_message+"#customerService",class:"help_btn",target:"_blank",rel:"nofollow"},[nM,V(" 在线留言 ")],8,rM),iM,u("div",null,[u("a",{href:O(i).s_message+"?talkId=1654692",class:"help_qq",target:"_blank",rel:"nofollow"},[oM,V(" 监督与建议 ")],8,sM)])])])])],34),a.value?(g(),v("div",aM,[u("a",{class:"info-link",href:"javascript:void(0)",onClick:c},cM)])):b("",!0),u("div",{class:T(["item-info mobile-win",s.value=="mobile"?fn:""]),onMouseenter:R[9]||(R[9]=W=>h("mobile")),onMouseleave:f},[u("a",{href:O(i).m,class:"info-link",target:"_blank"},fM,8,uM),u("div",dM,[u("div",pM,[u("div",gM,[u("a",{href:O(i).s_app+"kfz.html",class:"code-link",target:"_blank"},mM,8,vM)]),bM]),_M])],34)])])],2))}}),wM={class:"quick-menu-wrap"},CM={key:0},AM=["href"],SM=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-quick-cart"})],-1),TM=u("div",{class:"fixedtool_line"},null,-1),EM=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"购物车"),u("div",{class:"quick-mark"})],-1),IM={key:1},kM=["href"],xM=it('
新手指南
新手指南
',3),LM=[xM],OM={key:2,class:"first quick-bid"},NM=["href"],RM=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-bid"})],-1),DM={key:0,class:"quick-num"},BM=u("div",{class:"fixedtool_line"},null,-1),$M=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"我的竞拍"),u("div",{class:"quick-mark"})],-1),PM=["href"],MM=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-message"})],-1),FM={key:0,class:"quick-num"},UM=u("div",{class:"fixedtool_line"},null,-1),zM=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"我的消息"),u("div",{class:"quick-mark"})],-1),VM={key:3},jM=["href"],HM=it('
我的收藏
',3),qM=[HM],KM={class:"feed-back"},QM=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-feedback"})],-1),WM={class:"fixedtool_line"},GM=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"意见反馈"),u("div",{class:"quick-mark"})],-1),ZM=it('
返回顶部
',2),YM=[ZM],vie=tt({name:"QuickMenu",__name:"index",props:{quickType:{type:Number,default:3}},setup(t){const e=t,r=oa("$eventBus"),n=Pt(),i=(n==null?void 0:n.appContext.config.globalProperties.$sites)||{},s=ce(0),o=ce(0),a=ce(0),l=ce(!1),c=i.s_help+"feedback/?returnUrl="+encodeURIComponent(location.href),h=He(()=>e.quickType===1?"".concat(i.s_user,"buyer/favorite_manage.html#product"):"".concat(i.s_pm,"buyer/favorite_manage.html"));r.on("msgNotice",y=>{s.value=y.unreadNum}),r.on("cartNumNotice",y=>{o.value=y.cartNum}),S3(()=>{e.quickType===2&&f(),document.addEventListener("scroll",()=>{d()})});const f=async()=>{const y=await Z.get("/common-web/v1/api/bidding/itemNum");y.status&&+y.data&&(y.data>99?a.value="99+":a.value=y.data)},d=wv(function(){(document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop)>window.innerHeight?l.value=!0:l.value=!1},10),p=()=>{window.scrollTo(0,0)};return(y,m)=>(g(),v("div",wM,[u("ul",null,[t.quickType===1?(g(),v("li",CM,[u("a",{target:"_blank",href:O(i).s_cart+"store-cart/cart/"},[SM,le(u("div",{class:"quick-num",id:"cart-count"},C(o.value>99?"99+":o.value),513),[[fe,o.value>0]]),TM,EM],8,AM)])):b("",!0),t.quickType===2?(g(),v("li",IM,[u("a",{target:"_blank",href:O(i).s_help+"?act=list&catId=2020000"},LM,8,kM)])):b("",!0),t.quickType===2?(g(),v("li",OM,[u("a",{href:O(i).s_pm+"pm-buyer/bid-manage-pc/",target:"_blank"},[RM,+a.value>0?(g(),v("div",DM,C(+a.value>99?"99+":a.value),1)):b("",!0),BM,$M],8,NM)])):b("",!0),u("li",null,[u("a",{target:"_blank",href:O(i).s_message+"message/index/index.html",class:"msg"},[MM,s.value>0?(g(),v("div",FM,C(s.value>99?"99+":s.value),1)):b("",!0),UM,zM],8,PM)]),t.quickType===1||t.quickType===2?(g(),v("li",VM,[u("a",{target:"_blank",href:h.value},qM,8,jM)])):b("",!0),u("li",KM,[u("a",{href:c,target:"_blank"},[QM,le(u("div",WM,null,512),[[fe,l.value]]),GM])]),le(u("li",{class:"last backTop",onClick:p},YM,512),[[fe,l.value]])])]))}}),JM={class:"f_left mar-top20"},XM={class:"f_right link_box mar-top20"},eF=["href"],tF=["href"],rF=["href"],nF=["href"],iF=["href"],sF=["href"],oF=["href"],aF=["href"],lF=["href"],cF=["href"],uF=["href"],hF={class:"mar-top20"},fF={class:"mar-top12"},dF=u("span",{class:"mar-r15"},"Copyright © 孔夫子拍卖网",-1),pF={class:"mar-r15"},gF=u("a",{class:"mar-r15",target:"_blank",href:"https://beian.miit.gov.cn/#/Integrated/index"},"京ICP证110332号",-1),vF=u("span",{class:"mar-r15"},"京ICP备11010397号-1",-1),yF={key:2,class:"mar-top20 text-center"},mF=u("span",{class:"mar-r15"},"Copyright © 孔夫子拍卖网",-1),bF={class:"mar-r15"},_F=u("a",{class:"mar-r15",target:"_blank",href:"https://beian.miit.gov.cn/#/Integrated/index"},"京ICP证110332号",-1),wF=u("span",{class:"mar-r15"},"京ICP备11010397号-1",-1),yie=tt({name:"FooterComp",__name:"index",props:{top:{type:String,default:"150px"},layout:{type:Number,default:1},type:{type:Number,default:1}},setup(t){const e=Pt(),r=(e==null?void 0:e.appContext.config.globalProperties.$sites)||{},n=new Date().getFullYear();return(i,s)=>(g(),v("div",{class:T(["footer",t.layout===2?"w_1200":""])},[u("div",{class:"foot_box clearfix",style:ve({marginTop:t.top})},[t.type===1||t.type===2?(g(),v(P,{key:0},[u("div",JM,"© 2002-"+C(O(n))+" Kongfz.com 孔夫子旧书网 版权所有",1),u("div",XM,[u("a",{target:"_blank",href:O(r).s_www+"help/aboutus.php"},"关于孔网",8,eF),u("a",{target:"_blank",href:O(r).s_www+"help/lianxi.html"},"联系我们",8,tF),u("a",{target:"_blank",href:O(r).s_help},"帮助中心",8,rF),u("a",{target:"_blank",href:O(r).s_www+"help/copyright.php"},"版权隐私",8,nF),u("a",{target:"_blank",href:O(r).s_www+"help/guanggao.php"},"广告业务",8,iF),u("a",{target:"_blank",href:O(r).s_www+"help/zhaopin.php"},"工作机会",8,sF),u("a",{target:"_blank",href:O(r).m},"移动版",8,oF),t.type===2?(g(),v(P,{key:0},[u("a",{target:"_blank",href:O(r).s_book},"图书目录",8,aF),u("a",{target:"_blank",href:O(r).s_bq},"图书标签",8,lF),u("a",{target:"_blank",href:O(r).s_www+"topic/"},"热搜书籍",8,cF),u("a",{target:"_blank",href:O(r).s_www+"writer/"},"作家大全",8,uF)],64)):b("",!0)])],64)):b("",!0),t.type===3?(g(),v(P,{key:1},[u("div",hF,"© 2002-"+C(O(n))+" Kongfz.com 孔夫子旧书网 版权所有",1),u("div",fF,[dF,u("span",pF,"2002-"+C(O(n))+" , All Rights Reserved",1),gF,vF,V("海淀分局备案编号110108007036")])],64)):b("",!0),t.type===4?(g(),v("div",yF,[mF,u("span",bF,"2002-"+C(O(n))+" , All Rights Reserved",1),_F,wF,V("海淀分局备案编号110108007036")])):b("",!0)],4)],2))}}),ze=(t,e)=>{if(t.install=r=>{for(const n of[t,...Object.values(e!=null?e:{})])r.component(n.name,n)},e)for(const[r,n]of Object.entries(e))t[r]=n;return t},Q4=function(t){t.url=t.url||"",t.client=t.client||"m",t.clientVersion=t.clientVersion||"1.0.1",t.talkId=t.talkId||"",t.init=t.init||!1,this.config=t,this.debug=!1,this.data={},this.data.t="",this.data.t1="",this.data.reTime=5e3,this.data.self=!1,this.data.heartTime=0,this.data.ie={t:"",ts:""},this.ims={},this.ims.ws="",this.on={},this.on.message=t.on.message||"",this.on.close=t.on.close||"",this.on.error=t.on.error||"",this.on.open=t.on.open||"",this.config.init&&this.connect()};Q4.prototype={connect:function(){this.webSocket(),this.isOnline()},webSocket:function(){var t=this,e="";this.initStatus();try{this.config.talkId?e=this.config.url+"?client="+this.config.client+"&clientVersion="+this.config.clientVersion+"&talkerId="+this.config.talkId:e=this.config.url+"?client="+this.config.client+"&clientVersion="+this.config.clientVersion,"WebSocket"in window?(this.ims.ws=new WebSocket(e),this.onopen(),this.onmessage(),this.onclose(),this.onerror()):this.config.talkId?this.imServiceIe():this.SubService()}catch(n){t.initStatus();var r=setTimeout(function(){t.reconnect(),clearTimeout(r)},3e4)}},initStatus:function(){var t=this;t.ims.ws&&(t.ims.ws.close&&t.ims.ws.close(),t.ims.ws=""),t.data.t1&&(clearTimeout(t.data.t1),t.data.t1=""),t.data.t&&(clearTimeout(t.data.t),t.data.t="")},onopen:function(){var t=this;this.ims.ws.onopen=function(){t.startHeartcheck(),t.on.open&&t.on.open({result:"open"})}},onmessage:function(){var t=this;this.ims.ws.onmessage=function(e){try{var r=e.data;t.data.heartTime=t.data.heartTime-1,t.data.heartTime<0&&(t.data.heartTime=0),t.receivedMsgRender(r),t.data.reTime=5e3}catch(n){console.log("subscribe.onmessage error",n)}}},onclose:function(){var t=this;this.ims.ws.onclose=function(){t.on.close&&t.on.close({result:"close"}),!t.data.self&&(t.data.t1||(t.data.t1&&(clearTimeout(t.data.t1),t.data.t1=""),t.reconnect()),t.data.t&&(clearInterval(t.data.t),t.data.t=""))}},onerror:function(){var t=this;this.ims.ws.onerror=function(e){t.on.error&&t.on.error(e)}},startHeartcheck:function(){var t=this;t.ims.ws.readyState===1&&(t.ims.ws.send("i"),t.data.heartTime=+t.data.heartTime+1,t.data.t=setInterval(function(){t.ims.ws.send("i"),t.data.heartTime=+t.data.heartTime+1;var e=setTimeout(function(){t.data.heartTime>3&&(t.reconnect(),t.data.heartTime=0),clearTimeout(e)},200)},18e3))},reconnect:function(){var t=this;if(t.data.t1)return!1;t.data.t1=setTimeout(function(){t.webSocket(),t.data.reTime<=8e4?t.data.reTime=t.data.reTime+t.data.reTime:t.data.reTime=16e4+ +t.randomNum(-50,50),clearTimeout(t.data.t1),t.data.t1=""},t.data.reTime)},close:function(t){t=="self"&&(this.data.self=!0),clearInterval(this.data.t),this.data.t="",this.ims.ws&&this.ims.ws.close(),clearInterval(this.data.ie.t),clearInterval(this.data.ie.ts)},receivedMsgRender:function(t){var e=this,r="";t=="o"||t=="i"||(r=e.messageFilter(t),r&&e.on.message&&e.on.message(r))},messageFilter:function(t){var e=this,r=t.slice(0,1),n=t.slice(1,7),i=JSON.parse(t.slice(7,t.length));return e.ims.ws.send("a"+n),r=="m"?i:!1},randomNum:function(t,e){switch(arguments.length){case 1:return parseInt(Math.random()*t+1,10);case 2:return parseInt(Math.random()*(e-t+1)+t,10);default:return 0}},isOnline:function(){var t=this;try{t.addHandler(window,"online",function(){t.online()}),t.addHandler(window,"offline",function(){t.offline()})}catch(e){console.log("subscribe.isOnline error",e)}},online:function(){this.reconnect()},offline:function(){this.close("self"),this.on.error&&this.on.error({result:"offline"})},addHandler:function(t,e,r){t.addEventListener?t.addEventListener(e,r,!1):t.attachEvent?t.attachEvent("on"+e,r):t["on"+e]=r},imServiceIe:function(){var t=this;t.socketMessages()},socketMessages:function(){var t=this,e="https://"+this.config.url.split("/")[2];t.data.ie.t=setInterval(function(){t.config.talkId&&window.$.ajax({url:e+"ajax/pull/socketMessages/"+t.config.talkId,type:"GET",dataType:"JSONP",timeout:3e3,success:function(r){if(window.$.isArray(r))for(var n=0;nnew Promise((e,r)=>{let n=t.url,i=t.callback||("jsonp_"+Math.random()).replace(".",""),s=t.data?"&"+S5.stringify(t.data):"",o=CF(n)+(~n.indexOf("?")?"&":"?")+"callback="+i+s,a=t.timeout||2e4,l=null,c,h,f;window[i]=d=>{clearTimeout(f),l=d},c=({type:d})=>{let p=0,y;d==="load"&&l!==null?(p=200,y="OK"):d==="error"?(p=500,y="error load"):d==="abort"&&(p=400,y="timeout",r(new Error("JSONP request to ".concat(o," timed out")))),p&&window[i]&&(delete window[i],document.head.removeChild(h)),e(e({body:l,status:p,statusText:y}))},f=setTimeout(function(){window[i]=null,document.head.removeChild(h),c({type:"abort"})},a),h=document.createElement("script"),h.src=o,h.type="text/javascript",h.async=!0,h.onload=c,h.onerror=c,document.head.appendChild(h)}),CF=t=>!~t.indexOf("http")&&~t.indexOf(".com")?window.location.protocol+t:t;var ea={remindIframe:null,remindIframeUrl:"",service:"",userId:""};const hd=(t=0)=>{ea.userId=t||0,ea.service=Ha()},AF=async(t=[])=>{try{const e=await es({url:ea.service+"v1/pc/user/batch/online",data:{userIds:t.join(",")}}),{status:r}=e;if(!r)throw"getOnlineState error";const{result:n}=e.body;return n}catch(e){return Promise.reject(e)}},SF=(t,e=!1)=>{if(ea.userId<=0){alert("请登录");return}let r="".concat(Ha(),"?talkId=").concat(t);e&&(r="".concat(r,"$sendReferer=1$url=").concat(window.location.href)),W4(r)},TF=()=>{const t="".concat(Ha(),"#customerService");W4(t)},W4=t=>{const e=t||Ha();window.open(e,"_blank")},Ha=()=>{var t=window.location.href.match(/^http[s]?:\/\/(\w+)\.([\w.]+)/);if(t&&t.length>1){if(/neibu|dev/.test(t[1]))return document.location.protocol+"//neibumessage.kongfz.com/";if(/kfz\.(com|cn)/.test(t[2]))return document.location.protocol+"//message.kfz.com/"}return document.location.protocol+"//message.kongfz.com/"},EF={appName:"WEB_KFZ_WEB_NOTICE",site:{message:"",subs:""},$interface:{},$eventBus:null,init:function(t,e){return this.site.message=t.siteMessage,this.site.subs=t.siteSubs,this.$eventBus=t.$eventBus,this.$interface={getOnlineState:AF,talk:SF,openCustomService:TF},Z({method:"get",url:"/message-web/v2/pc/message/init"}).then(r=>{if(r.data.status){let n={settings:r.data.data.settings};e&&e(n),this.msgNotice({unreadNum:r.data.data.unreadTotal,isInit:!0}),this.initSubsockets();const i=r.data.data.userId;hd(i)}else hd(0)}).catch(r=>{console.log("imNotice.init error >>>",r)}),this.$interface},initSubsockets:function(){new Q4({init:!0,url:this.site.subs+"ws",client:"pc",clientVersion:"1.1",on:{message:t=>{this.updateMessage(t)},open:t=>{console.log("imNotice.initSubsockets.open >>>",t)},close:t=>{console.log("imNotice.initSubsockets.close >>>",t)},error:t=>{console.log("imNotice.initSubsockets.open >>>",t)}}})},updateMessage:function(t){t.channel=="UNREAD_NUM"?t.data&&(t.data.isInit=!1,this.msgNotice(t.data)):t.channel=="AUCTION_BID"?this.auctionBidNotice(t.data):t.channel=="LIVE_ROOM"&&this.liveRoomNotice(t.data)},msgNotice:function(t){this.$eventBus.emit("msgNotice",t)},auctionBidNotice:function(t){this.$eventBus.emit("bidNotice",t)},liveRoomNotice:function(t){this.$eventBus.emit("liveRoomNotice",t)}},IF={name:"SellerLayer",props:{userType:{type:String,default:""},site:{type:Object,default:()=>({})}}},kF={class:"info-domain"},xF=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-dianpu"}),u("span",{class:"text"},"店铺")],-1),LF=["href"],OF=["href"],NF=["href"],RF=["href"],DF=["href"],BF={class:"info-domain"},$F=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-bid"}),u("span",{class:"text"},"拍卖")],-1),PF=["href"],MF=["href"],FF=["href"],UF=["href"],zF={key:0,class:"info-domain"},VF=u("div",{class:"title"},null,-1),jF=["href"];function HF(t,e,r,n,i,s){return g(),v("div",{class:T((r.userType.indexOf("shopkeeper")!=-1||r.userType.indexOf("bookstaller")!=-1)&&r.userType.indexOf("auctioneer")!=-1?"seller-center":"no-seller-center")},[u("div",kF,[xF,r.userType.indexOf("shopkeeper")!=-1||r.userType.indexOf("bookstaller")!=-1?(g(),v(P,{key:0},[u("a",{href:r.site.s_seller+"pc/upbook/index#/",class:"item",target:"_blank"},"添加商品",8,LF),u("a",{href:r.site.s_seller+"shop/item.html#unsold_9743",class:"item",target:"_blank"},"商品管理",8,OF),u("a",{href:r.site.s_order+"order-views/management/seller/list",class:"item",target:"_blank"},"订单管理",8,NF)],64)):(g(),v(P,{key:1},[u("a",{href:r.site.s_shop+"seller/apply/tan.html",class:"item",target:"_blank"},"免费摆书摊",8,RF),u("a",{href:r.site.s_shop+"seller/apply/shop.html",class:"item",target:"_blank"},"申请开店",8,DF)],64))]),u("div",BF,[$F,r.userType.indexOf("auctioneer")!=-1?(g(),v(P,{key:0},[u("a",{href:r.site.s_pm+"seller/product.html#add",class:"item",target:"_blank"},"添加拍品",8,PF),u("a",{href:r.site.s_seller+"management/auction/lot/manage",class:"item",target:"_blank"},"拍品管理",8,MF),u("a",{href:r.site.s_pm+"trade-views/management/seller/list",class:"item",target:"_blank"},"交易管理",8,FF)],64)):(g(),v("a",{key:1,href:r.site.s_pm+"index/apply/",class:"item",target:"_blank",rel:"nofollow"},"申请拍卖会员",8,UF))]),r.userType.indexOf("shopkeeper")!=-1||r.userType.indexOf("bookstaller")!=-1||r.userType.indexOf("auctioneer")!=-1?(g(),v("div",zF,[VF,u("a",{href:r.site.pay+"m-pc-finance/merchant/account",class:"item",target:"_blank"},"卖家收入",8,jF)])):b("",!0)],2)}const qF=ye(IF,[["render",HF]]),KF="https://static.kongfz.com/search-v3/assets/images/bg-kong-D_NbBnsy.png",QF={name:"CartLayer",props:{isLogin:{type:Boolean,default:!1},site:{type:Object,default:()=>({})},list:{type:Array,default:()=>[]},cartNum:{type:Number},loginClick:{type:Function},upCartItem:{type:Function}},data(){return{addParams:{},addCartShow:!1}},methods:{toLogin(){typeof window.loginWin=="function"&&window.loginWin(this.site.s_login,"login","list")},showDefaultImg(t){t.imgUrl=KF},delCartItem(t,e,r){this.addParams.shopId=t,this.addParams.itemId=r,this.addParams.num=1,es({url:"".concat(this.site.s_cart,"jsonp/delCartItem"),data:{carts:[{cartId:e,itemId:r}]}}).then(n=>{n.body.status?(this.upCartItem(),this.addCartShow=!0):console.log("接口异常!")}).catch(n=>{console.log("TopBar.CartLayer.delCartItem() >>>",n)})},addCartItem(){es({url:"".concat(this.site.s_cart,"jsonp/add/"),data:{shopId:this.addParams.shopId,itemId:this.addParams.itemId,number:1,note:""}}).then(t=>{t.body.status?(this.upCartItem(),this.addCartShow=!1):console.log("接口异常!")}).catch(t=>{console.log("TopBar.CartLayer.addCartItem() >>>",t)})}}},WF={key:0,class:"no-login-cart-none-box"},GF=u("div",{class:"tip"},[u("span",{class:"text"},"您的购物车是空的,"),u("span",{class:"text"},"登录后可以同步购物车中的商品哦")],-1),ZF={key:1,class:"cart-none-box"},YF=u("div",{class:"iconfont icon-gouwuche-empty"},null,-1),JF=u("div",{class:"tip"},"您的购物车是空的,快去挑点好书放进来吧。",-1),XF=[YF,JF],eU={key:2,class:"cart-list-box"},tU=u("div",{class:"title"},"最近加入的商品:",-1),rU={class:"item-list"},nU=["href"],iU=["src","onError"],sU=["href"],oU={class:"info"},aU={class:"price"},lU={class:"del-box"},cU=["onClick"],uU={class:"btn-box clearfix"},hU={key:0,class:"tip"},fU=u("span",null,"购物车里还有",-1),dU={class:"num"},pU=u("span",null,"件商品",-1),gU=["href"];function vU(t,e,r,n,i,s){return g(),v("div",null,[!r.isLogin&&!r.list.length?(g(),v("div",WF,[GF,u("div",{class:"login-btn",onClick:e[0]||(e[0]=(...o)=>r.loginClick&&r.loginClick(...o))},"登录")])):b("",!0),r.isLogin&&!r.list.length?(g(),v("div",ZF,XF)):b("",!0),r.list.length?(g(),v("div",eU,[tU,u("div",rU,[(g(!0),v(P,null,oe(r.list,o=>(g(),v("div",{key:o.itemId,class:"item clearfix"},[u("a",{class:T(["img-box",o.imgUrl.indexOf("bg-kong")>-1?"err-img":""]),href:r.site.book+o.shopId+"/"+o.itemId+"/",target:"_blank"},[u("img",{src:o.imgUrl,onError:a=>s.showDefaultImg(o),alt:""},null,40,iU)],10,nU),u("a",{href:r.site.book+o.shopId+"/"+o.itemId+"/",class:"name",target:"_blank"},C(o.itemName),9,sU),u("div",oU,[u("div",aU,"¥"+C(o.price),1),u("div",lU,[u("span",{class:"del-btn",onClick:a=>s.delCartItem(o.shopId,o.cartId,o.itemId)},"删除",8,cU)])])]))),128))]),i.addCartShow?(g(),v("div",{key:0,class:"revoke-btn",onClick:e[1]||(e[1]=(...o)=>s.addCartItem&&s.addCartItem(...o))},"误删了?点击这里找回商品")):b("",!0),u("div",uU,[r.cartNum>5?(g(),v("div",hU,[fU,u("span",dU,C(r.cartNum-5),1),pU])):b("",!0),u("a",{href:r.site.s_cart+"list",class:"btn",target:"_blank"},"查看我的购物车",8,gU)])])):b("",!0)])}const yU=ye(QF,[["render",vU]]);window.loginWin=function(t,e,r){var n,i=document.createElement("div"),s=document.createElement("div"),o=document.getElementsByTagName("BODY")[0];i.id="loginWinMask",s.id="loginWin",i.style.cssText="position: fixed;top: 0px;left: 0px;z-index: 100000000;width: 100%;height: 100%;background-color: #000;filter: alpha(opacity=50); opacity: .5;",s.style.cssText="position: fixed;top: 50%;left: 50%;z-index: 100000001;width: 450px;height: 472px;margin-top: -236px;margin-left: -200px;font-family: 'microsoft yahei';";var a=location.href;r?a.charAt(a.length-1)=="#"?e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a+"hashAction-"+r:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a+"hashAction-"+r):e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a+"#hashAction-"+r:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a+"#hashAction-"+r):(a.charAt(a.length-1)=="#",e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a));var l="
";s.innerHTML=l,o.appendChild(i),o.appendChild(s);var c=document.getElementById("loginWinCloseBtn");c.onclick=function(){f(i),f(s)};var h=document.getElementById("iframe_login");h.attachEvent?h.attachEvent("onload",function(){c.style.display="block"}):h.onload=function(){c.style.display="block"};function f(d){var p=d.parentNode;p&&p.removeChild(d)}};window.onload=function(){var t,e=window.location.search.substr(1).split("&"),r={},n;for(t=0;t({})},site:{type:Object,default:()=>({})},loginClick:{type:Function}},methods:{register(){typeof window.loginWin=="function"&&window.loginWin(this.site.s_login,"register")},logout(){location.href=this.site.s_login+"logout/"+this.currentUrl()},currentUrl(){let t=window.location.hash.substr(1).replace(/\?.*/g,""),e=window.location.href.replace(/#[\w-/]*/gi,"").replace(/\?returnUrl=.*$/,"");return e="?returnUrl="+encodeURIComponent(e+(t?(/\?/.test(e)?"&":"?")+"hash="+t:"")),e},otherLogin(t){let e="";switch(t){case"weixin":e="Pc/Openweixin/loginOAuth2";break;case"qq":e="/Pc/Openqq/loginOAuth2";break;case"weibo":e="Pc/Openweibo/loginOAuth2";break}location.href=this.site.s_login+e+this.currentUrl()}}},bU={key:0,class:"login-box"},_U={class:"other-login"},wU=u("div",{class:"title"},"其他方式",-1),CU={class:"login-list clearfix"},AU=u("div",{class:"icon-box"},[u("span",{class:"iconfont icon-weixin"})],-1),SU=u("div",{class:"text"},"微信",-1),TU=[AU,SU],EU=u("div",{class:"icon-box"},[u("span",{class:"iconfont icon-qq"})],-1),IU=u("div",{class:"text"},"QQ",-1),kU=[EU,IU],xU=u("div",{class:"icon-box"},[u("span",{class:"iconfont icon-weibo"})],-1),LU=u("div",{class:"text"},"微博",-1),OU=[xU,LU],NU={key:1,class:"account-box clearfix"},RU=["href"],DU=["src"],BU=u("span",{class:"iconfont icon-yonghutouxiang pic-ico hide"},null,-1),$U={class:"btn-group"},PU=["href"],MU=u("span",{class:"btn-split"},"|",-1);function FU(t,e,r,n,i,s){return g(),v("div",null,[r.userInfo.isLogin?(g(),v("div",NU,[u("a",{href:r.site.s_user+"person/person_info.html",class:"pic-box",target:"_blank"},[u("img",{class:"pic-img",src:r.userInfo.photo,alt:""},null,8,DU),BU],8,RU),u("div",$U,[u("a",{href:r.site.s_user+"person/person_info.html",class:"btn",target:"_blank"},"账号管理",8,PU),MU,u("span",{class:"btn logout-btn",onClick:e[5]||(e[5]=(...o)=>s.logout&&s.logout(...o))},"退出")])])):(g(),v("div",bU,[u("div",{class:"login-btn",onClick:e[0]||(e[0]=(...o)=>r.loginClick&&r.loginClick(...o))},"登    录"),u("div",{class:"register-btn",onClick:e[1]||(e[1]=(...o)=>s.register&&s.register(...o))},"免费注册"),u("div",_U,[wU,u("div",CU,[u("div",{class:"login-weixin icon-btn",type:"weixin",onClick:e[2]||(e[2]=o=>s.otherLogin("weixin"))},TU),u("div",{class:"login-qq icon-btn",type:"qq",onClick:e[3]||(e[3]=o=>s.otherLogin("qq"))},kU),u("div",{class:"login-weibo icon-btn",type:"weibo",onClick:e[4]||(e[4]=o=>s.otherLogin("weibo"))},OU)])])]))])}const UU=ye(mU,[["render",FU]]),zU="https://static.kongfz.com/search-v3/assets/images/code-app-QCzWBt1d.png",VU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAADLElEQVR42rXXzYscRRgG8F/XTFx2IwbFgzEQIuIH5pAQXUQFD+IHIYr/gCdRRNGDoAePXiLsQTyIJwVRwS80EhSNh4goIhESNReNSGIkejDRsIlkk5nuylAUDJvdmiE9k/dlmC6663meet6q7iqtoyO4ZFHpgDWDvCTwFbZYcNQnph4BM160KIoO6E5bPXN2ifrOivaqpg0fvCXqqfVFrzBNig4eT/BRTAQPoTNN/escETUZ/nszqKap/4kM3wyydj/CdA3anbTXg4yemwy+0hlkJf8nqKsdzObUnscaVbrTFVQXqXZFh8uw2fFU3p9sX+F9WH003cJSqs2Zt80mfb87MMglnPC5yoc+0zdj6yBv0nXSL/YPfoREPyZCMuVRP+iJOZfss+B2nax7gxd864yoyb9/vW8+9x5byBvsSd1qPf1B9hJEVDvkI2/a6//UbuT7+ql9zkvmGEURcIvDYuqYYDNUXy0OM5E3y9vpiT2uKlNUWO9QXqkrMxElqqZw95zoKwFV6SX8doZvkYn2H48IZfe3i+p28KnfX24bvfjeTe63VX/KXeiW/d/otDiB/mcyfNGgxyQlLbIv2md2teIGwxHciqb1i/xTZ3TFAkGKDYitv9PfZXmrElT6uGKCj0ffiTK3TBK0j2DtaIIqlaptRMEmVCWCqINTrWsQcWOJYBh/ompNcDfq8jSN2I/Qehbd6Q5RGPXIFr2JVvKuhFON2hIea7uWc79n0RmkYQwblZ7rzWsEbeM+Z32jEF3syIOdxKgv7XB5qQpX+lnUn4Qi9X516M3QjkbXfz6ecK8ZktWvI65e6Gscb1/oPPo3yiIDdk74VT5pKzplgmv9lrxsq38hwY89YtQt59CveV80Jna3mEvpxGD8iUfAdY4WRtGkLNmzcwg/juJhPc0yilp9AWD/guv3CuYUKvGkvANNRL2sf8mi07kV5c1von7HHMLFnccWDTfof3vNvdabtc5mD3rZH2I27LCnVaurr0ZQ1LZ5ygPW+tEXPnBEJUqRrja6x82ig752rHz4GF0LZsyqMmVQ5QzLDllVsbSjizJUlQDqVWyMCJryhu08cGYEKhyl7XgAAAAASUVORK5CYII=",jU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAuCAYAAABap1twAAAGgUlEQVR42u2YXYyVRx3Gn2fed4EipTalQWNjtLB7vsCWtI2JqVWqFM4eMCaoiTHGpBf2xphQTYy9kfZCLwyaaKpJrzTqhaEXDbBnWVutJJoQxSplz9dCo7ZK+GhFEFh2eWce/287cc8Wz+6Ch7VN+CVP/nP+M5nz7JyZ2ZkhroKxVvkWL/8YXPrEcLFxYbRdZrXY1Giz4ILVU6BgEKKF4XIn1NslDhdbqnfKy5FlO5m6b1UL7TNYICkWyJ7mWm4uNc+ONocGFLKvWOoJ+Szdc3goVMsdj/+C1SUKIbHitLx/FOSSYTO3d7zEbeta6qvBASbIcY7fyAKerrcKHxkudQ4cPFFy+9ulVV5axaCVguF4zjm+lq5wr216T2N6tFn8sBAesIpPwUhcwEIhroJ6s5gMl9t+tFX6oIJ/XOReS2+CVAR4K6CVb/TJs4DOgGgT/IXltpF8vFpqHxxtFJJqpeP7bnDEOq5Zx/Xxwgo5PEJop4QVVqWe/cQ646LFnQHhh1vLR8+PNIeSWnnC981gvVmwket4i/dKeArQhi5jmcm9qT/FGExpl9HDFL5oI/i7esP6XMBIcn5zQ2ZuwtviuE/CHgHvsvRFEj+1eJuE7XONnukAyD9C+pyVbzedJPlJ+4MPjowPJrV1R+c06eYZOZebM5MVAU9Hczm7Lf9ImuCzJI7MGJptjuC5NL1pe63c2UHy27FutaTdNhfX5+YsumsyONYqMN/HpAcJYZeE91p6GgbJ99tCWR2UFgCu6vnLUMuDLm0YO3bXckjlWDdluiMQu9pnas5+7rC/XeZVbzOZl7Pg663j2yxujnNtCQxJD0j+gBVXmt7dY6FIQiqv3cFPvgJgfcwvNWWQNv35xLFPWPkZ7y87i/6qRvBChgCDCtu7frYQ5U2FaM7Prouaya2M5vzsOisEfRpGrdJ7HroeWwo/c/eEbN9bLqDWNdouKkEklt2curJdCoNg7dnW3e+Asb9ZYc+f2Ja8CxK2rpsI+5qDBEFLy6UDzmdTT1p5wCT0FwrKwMkEhsdl2nfD9kntHV/jnEtge2WYPXIv30MsPnN6IIyx5tA7PfGoxI0Emg785pZy+6+jL5VuDZd8vt8tMwX0F5qyxPFLW0qdY/ubxfcF6OsCyiSeN323WuycSWF4cZekhwFlAu4PxIaxv2z6kPev5PUPRoMyEf3Fi1rxWx3k2dYXdku6Nzct4X6Ad1j5YY40SkOA/yWAPJFFEw7OfTRZ7l7w57PT0aDvs0GavEtRCcHdjhB+07UjpAD/ZiY+lpL+Fgk3w+hedQxYbc1C/Bzr+j6CiUn5dyl+nplKulnmzc0xtwIWjd4e4qj832GvvMNbnBsGbxjszQ2DbxODmn2fIGKZFrRIWyQhYcYHYzkoN5gm7mWLf4/JLDbwcGxhOsRz4HVDEFI618oNdV1jc47n3tzmQvsUnfteNJ7CIPkDewVowmPp9TZoWral1Oo48MmYSwjC0X0/95bCGC61n7Lj/QuCNlLuxZvSgeewOAiRJWm6YyrzI2L4AIlf2wD9/j8jtr85SDugHrLioXhZd4gslslLfjq/PI1ZMRf2jRe4dV1HKYwt5aPKL+mCSDkxgWZ1sAg4UvVG0YmBDpQ96YVZ9+LhPBGpTxTZw9x8D0UzzN+O3VE0D5V2WNA+SE/kpFpyjsSpBb7lsFsLPFpNgsnxN5JOC96oq6WW9tk83DR4eIrgDtPx+Owxacp6jMqlbvU4hGaxj2kSr5Luq9VC62T9xbWsFtu65ue35yfuWToZpm5jkp4P0xcfs9TXTN7kTCRxMiHvgzAZHzBTL40KuqvrhSEh8KMlzu3w0lIuGzj30J3jk3ZzZHVNS9f8r27fkbXcOPSHqZBNnagO/ukcybNvnnMSQhZ0enO586rpdKaBUwIud7eLXPh4qf3PSa9Tubl6Y3DG3LUa3Lr+mMZaFYJkTCXzzS1CnOOShJTkaKfI4cpR9eWwsLnUkELQPNuOZgqcs00WpGqhrcU8zeja2/XfIP/XnK6HQc584akYM8SFQPIfAwMDGSK1yhGfbyNd7UwGeRJGqsC+G3TOCQalX1k4Hp9DXHT/44eGGpmtSpc/uuN1+LOuhbHU9C+SIzBc6vpvcLgyEUYaQ65amThGcJvp5wAPkPwy0/Q7yHGJ8kf319uX2z8h+HkQz1l8hg41O6EcqreGXK1ibRaT+vidvGL/bKy5IvfsS5WrPqL/G0YU7YI6d77kAAAAAElFTkSuQmCC",HU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAQAAAC0NkA6AAABzElEQVR42u3YvYrUUACG4fdLsiiLgoqFjYWdYiMIFnsVFgqKiI2TzFrabqOFlYUgrM64CIq4vQheguAlyFZiJfizIA6iOfkECQObGPLDgk2e052c5E1yUkXscUtBiAGMirlplyoVg02iqfinyvQbvTrDUUxfYjfaefyrJZLqidMjPOQiBxH9LXi9km4uppqZioSShbXu6+QkGNOHEIe4lu9w1zF5Y2SrANYAMP033wQiX4DC0BgB8AEgQnzgCxHdiJxjnELACgSXL6wpQsFfunP8xbfDKujAyaOv06vFNoEEg2h4kpof90L2fR7oIEvAC8CUukYiQFPRgQUIoG/EgGemg8xAy8qIfTFGxsgYGSNjZIyMkTEyRsbIfkqAuhgcp+p4hZx4SOQnKJ8XdJABhCGR8+lnr6bViIkJqDIZp7ucA9Qz4g026MEAcceNl5ZnFZWRA091Ws+AUDtqltwW4fdylfYMiEAv5++1RSBGlUEpBzRzY2QSgd8CriVUrlrP1nybGJez9dt4ByuieU8iQ7RZnOUKOaIu+BKXG78kE7HNfXBo+bdyQ8+dnfQJDNQFyjumTvq0+vGBaTfRRAx2s/EfU206FWIAeW7+pz/q1Z9aXAhkwgAAAABJRU5ErkJggg==",qU="https://static.kongfz.com/search-v3/assets/images/code-mp-B0TQTJJd.png",KU={name:"KTopBar",components:{SellerLayer:qF,CartLayer:yU,LoginLayer:UU},props:{layout:{type:Number,default:1},type:{type:Number,default:1},site:{type:Object,default:()=>({})},noBorder:{type:Boolean,default:!1}},data(){return{tagName:"",activeClass:"info-focus-active",userInfo:{},cartList:[],cartNum:0,cartTime:0,reqUserInfoStatus:!1,msgSettings:{},unreadNum:0,className:"",layoutClassName:"",isCNDomain:!1}},watch:{layout:function(t){t==1&&(this.layoutClassName=""),t==2&&(this.layoutClassName="wide"),t==3&&(this.layoutClassName="w-auto-xl"),t==4&&(this.layoutClassName="w-auto-xxl")}},created(){location.hostname.indexOf(".cn")>-1&&(this.isCNDomain=!0),this.getUserInfo(),this.getCartList(),this.type==1?this.className="":this.type==2?this.className="page-nav-red-style":this.type==3?this.className="page-nav-style":this.type==4?this.className="page-nav-white-style":this.className="page-nav-style",this.layout==1&&(this.layoutClassName=""),this.layout==2&&(this.layoutClassName="wide"),this.layout==3&&(this.layoutClassName="w-auto-xl"),this.layout==4&&(this.layoutClassName="w-auto-xxl"),this.noBorder&&(this.className+=" no-border")},mounted(){this.$eventBus.on("getUserInfoRequest",()=>{this.userInfo&&this.userInfo.hasOwnProperty("isLogin")?this.$eventBus.emit("userInfoUpdate",this.userInfo):this.getUserInfo()});const t=EF.init({siteMessage:this.site.s_mmessage,siteSubs:this.isCNDomain?this.site.s_cn_sub:this.site.subs,$eventBus:this.$eventBus},e=>{this.msgSettings=e.settings,this.$eventBus.on("msgNotice",r=>{this.unreadNum=r.unreadNum,this.msgSettings.openVoice==1&&this.getVisibilityState()!="hidden"&&!r.isInit&&this.playVoice()})});this.$eventBus.emit("onIMInit",t)},methods:{playVoice(){this.$nextTick(()=>{this.$refs.notice_play.play()})},getVisibilityState(){return"visibilityState"in document?document.visibilityState:null},mouseenterFun(t){if(this.tagName=t,t==="cart"){let e=new Date().getTime();e-this.cartTime>1e3&&(this.cartTime=e,this.getCartList(!0))}},mouseleaveFun(){this.tagName=""},loginClick(){this.getUserInfo(!0)},getUserInfo(t){this.reqUserInfoStatus||(this.reqUserInfoStatus=!0,Z({method:"get",url:"/common-web/v1/api/userInfo"}).then(e=>{e.data.status?(this.userInfo=e.data.data,this.userInfo.isLogin=!0,this.$eventBus.emit("userInfoUpdate",{...this.userInfo})):(this.userInfo.isLogin=!1,t&&typeof window.loginWin=="function"&&window.loginWin(this.site.s_login,"login")),this.reqUserInfoStatus=!1}).catch(e=>{console.log("TopBar.index.getUserInfo() >>>",e),this.userInfo.isLogin=!1,t&&typeof window.loginWin=="function"&&window.loginWin(this.site.s_login,"login"),this.reqUserInfoStatus=!1}))},getCartList(t){es({url:this.isCNDomain?this.site.s_cn_cart+"jsonp/listcart":this.site.s_cart+"jsonp/listcart",data:{limit:5}}).then(e=>{let r=e.body;r.status&&(this.cartList=r.result.data,this.cartNum=r.result.page.recordCount,this.$eventBus.emit("cartNumNotice",{cartNum:this.cartNum}),t&&!this.userInfo.isLogin&&this.getUserInfo())}).catch(e=>{console.log("TopBar.getCartList err:",e)})},upCartItem(){this.getCartList()}}},QU={class:"header-wrap"},WU=u("div",{class:"slogan-box"},[u("span",{class:"text"},"网罗天下图书"),u("span",null,"传承中华文明")],-1),GU={class:"index-link-box clearfix"},ZU={class:"item-info"},YU=["href"],JU=u("span",{class:"info-text"},"首页",-1),XU=[JU],ez={class:"item-info"},tz=["href"],rz=u("span",{class:"info-text"},"书店区",-1),nz=[rz],iz={class:"item-info"},sz=["href"],oz=u("span",{class:"info-text"},"书摊区",-1),az=[oz],lz={class:"item-info"},cz=["href"],uz=u("span",{class:"info-text"},"新书",-1),hz=[uz],fz={class:"item-info"},dz=["href"],pz=u("span",{class:"info-text"},"在线拍卖",-1),gz=[pz],vz={class:"item-info"},yz=["href"],mz=u("span",{class:"info-text"},"艺术品专场",-1),bz=[mz],_z={class:"user-info-box clearfix"},wz={id:"nickName",class:"info-normal"},Cz={key:0,class:"info-text user-name-text"},Az=u("span",{class:"info-text"},"登录",-1),Sz=u("span",{class:"info-text"},"/",-1),Tz=u("span",{class:"info-text"},"注册",-1),Ez={id:"loginWin",class:"info-win"},Iz={class:"item-info message-win"},kz=["href"],xz={class:"info-text un-read-style"},Lz={id:"unReadNum",class:"num"},Oz=u("span",{class:"info-text normal-style"},"消息",-1),Nz={key:0,class:"notice-play"},Rz=["src"],Dz=["href"],Bz=u("span",{class:"global-iconfont global-icon-cart"},null,-1),$z={class:"info-text"},Pz={key:0,id:"cartNum",class:"num"},Mz={id:"cartListWin",class:"info-win"},Fz={class:"item-info"},Uz=["href"],zz=u("span",{class:"info-text"},"我的订单",-1),Vz=[zz],jz=["href"],Hz=u("span",{class:"info-text"},"个人中心",-1),qz=[Hz],Kz={class:"info-win"},Qz={class:"personal-center"},Wz={class:"info-domain"},Gz=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-dianpu"}),u("span",{class:"text"},"店铺")],-1),Zz=["href"],Yz=["href"],Jz={class:"info-domain"},Xz=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-bid"}),u("span",{class:"text"},"拍卖")],-1),eV=["href"],tV=["href"],rV=["href"],nV={class:"info-domain"},iV=u("div",{class:"title"},null,-1),sV=["href"],oV=["href"],aV=["href"],lV=u("span",{class:"info-text"},"卖家中心",-1),cV=[lV],uV={id:"sellerWin",class:"info-win"},hV=u("span",{class:"info-normal"},[u("span",{class:"info-text"},"客服")],-1),fV=u("span",{class:"line-right-test"},"|",-1),dV={class:"info-win"},pV={class:"help-center"},gV={class:"other_info_inner"},vV=["href"],yV=u("span",{class:"global-iconfont global-icon-question"},null,-1),mV=u("span",{class:"tip"},"9:00-20:30",-1),bV=["href"],_V=u("span",{class:"global-iconfont global-icon-service"},null,-1),wV=it('
客服电话
010-89648155
服务时间
客服咨询 09:00-21:00
纠纷处理
09:00-12:30
13:30-18:00
图书审核 09:00-18:00
',1),CV=["href"],AV=u("span",{class:"global-iconfont global-icon-message"},null,-1),SV=["href"],TV=u("span",{class:"info-text"},"手机孔网",-1),EV=[TV],IV={id:"codeWin",class:"info-win"},kV={class:"info-win__item app-code clearfix"},xV={class:"code f_left"},LV=["href"],OV=u("img",{src:zU,alt:"",class:"code-img"},null,-1),NV=[OV],RV=it('

下载手机孔网

功能更全、体验更好

iPhone

Android

iPad

',1),DV=it('

微信扫码逛孔网

无需下载,扫码即刻访问

抢5折好券
',1);function BV(t,e,r,n,i,s){const o=se("LoginLayer"),a=se("CartLayer"),l=se("SellerLayer");return g(),v("div",{id:"navHeader",class:T(["nav-header-box",[i.className,i.layoutClassName]])},[u("div",QU,[WU,u("div",GU,[u("div",ZU,[u("a",{href:r.site.s_www,class:"info-link"},XU,8,YU)]),u("div",ez,[u("a",{href:r.site.s_shop,class:"info-link"},nz,8,tz)]),u("div",iz,[u("a",{href:r.site.s_tan,class:"info-link"},az,8,sz)]),u("div",lz,[u("a",{href:r.site.s_item,class:"info-link"},hz,8,cz)]),u("div",fz,[u("a",{href:r.site.s_pm,class:"info-link"},gz,8,dz)]),u("div",vz,[u("a",{href:r.site.s_pm+"special",class:"info-link"},bz,8,yz)])]),u("div",_z,[u("div",{class:T(["item-info login-win",i.tagName=="login"?i.activeClass:""]),onMouseenter:e[0]||(e[0]=c=>s.mouseenterFun("login")),onMouseleave:e[1]||(e[1]=c=>s.mouseleaveFun("login")),onClick:e[2]||(e[2]=c=>s.mouseenterFun("login"))},[u("span",wz,[i.userInfo.isLogin?(g(),v("span",Cz,C(i.userInfo.nickname),1)):(g(),v(P,{key:1},[Az,Sz,Tz],64))]),u("div",Ez,[B(o,{site:r.site,userInfo:i.userInfo,loginClick:s.loginClick},null,8,["site","userInfo","loginClick"])])],34),u("div",Iz,[u("a",{id:"msgNum",href:r.site.s_message+"message/myMessage/myMessage.html#/?category=inbox&page=1",class:T(["info-link no-win",i.unreadNum?"msg-un-read":"msg-normal"]),target:"_blank",rel:"nofollow"},[u("span",{class:T(["global-iconfont global-icon-message un-read-style",[r.type===3?"icon-xiaoxi-red":"icon-xiaoxi"]])},null,2),u("span",xz,[V("未读消息 "),u("span",Lz,C(i.unreadNum),1)]),Oz],10,kz),i.msgSettings.voice?(g(),v("div",Nz,[u("audio",{ref:"notice_play",preload:"metadata",src:r.site.s_message+"images/voice/"+i.msgSettings.voice+".mp3"},null,8,Rz)])):b("",!0)]),u("div",{class:T(["item-info",i.tagName=="cart"?i.activeClass:""]),onMouseenter:e[3]||(e[3]=c=>s.mouseenterFun("cart")),onMouseleave:e[4]||(e[4]=c=>s.mouseleaveFun("cart"))},[u("a",{id:"cartLink",href:r.site.s_cart,class:"info-link",target:"_blank",rel:"nofollow"},[Bz,u("span",$z,[V("购物车 "),i.cartNum?(g(),v("span",Pz,C(i.cartNum),1)):b("",!0)])],8,Dz),u("div",Mz,[B(a,{site:r.site,isLogin:i.userInfo.isLogin,list:i.cartList,cartNum:i.cartNum,loginClick:s.loginClick,upCartItem:s.upCartItem},null,8,["site","isLogin","list","cartNum","loginClick","upCartItem"])])],34),u("div",Fz,[u("a",{href:r.site.s_order+"order-views/management/buyer/list",class:"info-link no-win",target:"_blank",rel:"nofollow"},Vz,8,Uz)]),u("div",{class:T(["item-info",i.tagName=="ucenter"?i.activeClass:""]),onMouseenter:e[5]||(e[5]=c=>s.mouseenterFun("ucenter")),onMouseleave:e[6]||(e[6]=c=>s.mouseleaveFun("ucenter")),onClick:e[7]||(e[7]=c=>s.mouseenterFun("ucenter"))},[u("a",{href:r.site.s_user,class:"info-link",target:"_blank",rel:"nofollow"},qz,8,jz),u("div",Kz,[u("div",Qz,[u("div",Wz,[Gz,u("a",{href:r.site.s_order+"order-views/management/buyer/list",class:"item",target:"_blank",rel:"nofollow"},"我的订单",8,Zz),u("a",{href:r.site.s_user+"user-views/pc-favorite/products",class:"item",target:"_blank",rel:"nofollow"},"收藏商品",8,Yz)]),u("div",Jz,[Xz,u("a",{href:r.site.s_pm+"trade-views/management/buyer/list",class:"item",target:"_blank",rel:"nofollow"},"拍卖交易",8,eV),u("a",{href:r.site.s_pm+"pm-buyer/bid-manage-pc/",class:"item",target:"_blank",rel:"nofollow"},"我的竞拍",8,tV),u("a",{href:r.site.s_pm+"pm-buyer/bid-manage-pc/favorite",class:"item",target:"_blank",rel:"nofollow"},"收藏拍品",8,rV)]),u("div",nV,[iV,u("a",{href:r.site.s_message+"message/safety/safety.html#/friends",class:"item",target:"_blank",rel:"nofollow"},"我的好友",8,sV),u("a",{href:r.site.pay,class:"item",target:"_blank",rel:"nofollow"},"资金账户",8,oV)])])])],34),u("div",{class:T(["item-info",i.tagName=="seller"?i.activeClass:""]),onMouseenter:e[8]||(e[8]=c=>s.mouseenterFun("seller")),onMouseleave:e[9]||(e[9]=c=>s.mouseleaveFun("seller")),onClick:e[10]||(e[10]=c=>s.mouseenterFun("seller"))},[u("a",{href:r.site.s_shop+"seller/",class:"info-link",target:"_blank"},cV,8,aV),u("div",uV,[B(l,{site:r.site,userType:i.userInfo.userType},null,8,["site","userType"])])],34),u("div",{class:T(["item-info",i.tagName=="help"?i.activeClass:""]),onMouseenter:e[11]||(e[11]=c=>s.mouseenterFun("help")),onMouseleave:e[12]||(e[12]=c=>s.mouseleaveFun("help")),onClick:e[13]||(e[13]=c=>s.mouseenterFun("help"))},[hV,fV,u("div",dV,[u("div",pV,[u("div",gV,[u("a",{href:r.site.s_help,class:"help_btn",target:"_blank",rel:"nofollow"},[yV,V(" 帮助中心 ")],8,vV),mV,u("a",{href:r.site.s_message+"#customerService",class:"help_btn",target:"_blank",rel:"nofollow"},[_V,V(" 在线留言 ")],8,bV),wV,u("div",null,[u("a",{href:r.site.s_message+"?talkId=1654692",class:"help_qq",target:"_blank",rel:"nofollow"},[AV,V(" 监督与建议 ")],8,CV)])])])])],34),u("div",{class:T(["item-info mobile-win",i.tagName=="mobile"?i.activeClass:""]),onMouseenter:e[14]||(e[14]=c=>s.mouseenterFun("mobile")),onMouseleave:e[15]||(e[15]=c=>s.mouseleaveFun("mobile"))},[u("a",{href:r.site.m,class:"info-link",target:"_blank"},EV,8,SV),u("div",IV,[u("div",kV,[u("div",xV,[u("a",{href:r.site.s_app+"kfz.html",class:"code-link",target:"_blank"},NV,8,LV)]),RV]),DV])],34)])])],2)}const $V=ye(KU,[["render",BV]]),PV=ze($V);(function(t){var e=encodeURIComponent(location.href),r=encodeURIComponent(document.referrer),n=window.screen.width,i=window.screen.height,s={resolution:n+"x"+i,selfUrl:e,refUrl:r},o=function(){this.v="1.0.2"};o.prototype.send=function(a,l){var c="";l&&typeof l=="object"&&(c=encodeURIComponent(JSON.stringify(l)));var h="";window.location.href.indexOf("kongfz.com")!=-1?(h="//tj.kongfz.com/web/collect/1.gif",window.location.href.indexOf("neibu")>-1&&(h="//neibutj.kongfz.com/web/collect/1.gif")):window.location.href.indexOf("kongfz.cn")!=-1&&(h="//tj.kongfz.cn/web/collect/1.gif",window.location.href.indexOf("neibu")>-1&&(h="//neibutj.kongfz.cn/web/collect/1.gif")),h+="?event="+a+"&resolution="+s.resolution+"&selfUrl="+s.selfUrl+"&refUrl="+s.refUrl+"&eventAttr="+c+"&n_"+Math.random();var f=document.getElementById("__trackImg");if(f)f.src=h;else{var d=document.createElement("img");d.src=h,d.id="__trackImg",d.style.display="none",document.body.appendChild(d)}},t.track=new o})(window);/** - * cross-storage - Cross domain local storage - * - * @version 1.0.0 - * @link https://github.com/zendesk/cross-storage - * @author Daniel St. Jules - * @copyright Zendesk - * @license Apache-2.0 - * @updatedate 2022.02.07 修改为 es 版 - */function Le(t,e){e=e||{},this._id=Le._generateUUID(),this._promise=e.promise||Promise,this._frameId=e.frameId||"CrossStorageClient-"+this._id,this._origin=Le._getOrigin(t),this._requests={},this._connected=!1,this._closed=!1,this._count=0,this._timeout=e.timeout||5e3,this._listener=null,this._installListener();var r;e.frameId&&(r=document.getElementById(e.frameId)),r&&this._poll(),r=r||this._createFrame(t),this._hub=r.contentWindow}Le.frameStyle={display:"none",position:"absolute",top:"-999px",left:"-999px"};Le._getOrigin=function(t){var e,r,n;return e=document.createElement("a"),e.href=t,e.host||(e=window.location),!e.protocol||e.protocol===":"?r=window.location.protocol:r=e.protocol,n=r+"//"+e.host,n=n.replace(/:80$|:443$/,""),n};Le._generateUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,r=t=="x"?e:e&3|8;return r.toString(16)})};Le.prototype.onConnect=function(){var t=this;return this._connected?this._promise.resolve():this._closed?this._promise.reject(new Error("CrossStorageClient has closed")):(this._requests.connect||(this._requests.connect=[]),new this._promise(function(e,r){var n=setTimeout(function(){r(new Error("CrossStorageClient could not connect"))},t._timeout);t._requests.connect.push(function(i){if(clearTimeout(n),i)return r(i);e()})}))};Le.prototype.set=function(t,e){return this._request("set",{key:t,value:e})};Le.prototype.get=function(){var t=Array.prototype.slice.call(arguments);return this._request("get",{keys:t})};Le.prototype.del=function(){var t=Array.prototype.slice.call(arguments);return this._request("del",{keys:t})};Le.prototype.clear=function(){return this._request("clear")};Le.prototype.getKeys=function(){return this._request("getKeys")};Le.prototype.close=function(){var t=document.getElementById(this._frameId);t&&t.parentNode.removeChild(t),window.removeEventListener?window.removeEventListener("message",this._listener,!1):window.detachEvent("onmessage",this._listener),this._connected=!1,this._closed=!0};Le.prototype._installListener=function(){var t=this;this._listener=function(e){var r,n,i,s;if(!(t._closed||!e.data||typeof e.data!="string")&&(n=e.origin==="null"?"file://":e.origin,n===t._origin)){if(e.data==="cross-storage:unavailable"){if(t._closed||t.close(),!t._requests.connect)return;for(i=new Error("Closing client. Could not access localStorage in hub."),r=0;r-1,r=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1&&!e,n=t.indexOf("Windows NT 6.1; Trident/7.0;")>-1&&!r,i=t.indexOf("Firefox")>-1,s=t.indexOf("Safari")>-1&&t.indexOf("Chrome")==-1,o=t.indexOf("Chrome")>-1&&t.indexOf("Safari")>-1;if(r){new RegExp("MSIE (\\d+\\.\\d+);").test(t);const l=parseFloat(RegExp.$1);return l==7?"IE7":l==8?"IE8":l==9?"IE9":l==10?"IE10":l==11?"IE11":"0"}if(i)return"FF";if(e)return"Opera";if(s)return"Safari";if(o)return"Chrome";if(n)return"Edge"}function MV(t,e){let r=null;return function(){let n=this,i=arguments;r||(r=setTimeout(function(){t.apply(n,i),r=null},e))}}function FV(t,e){var r;return function(){var n=this,i=arguments;clearTimeout(r),r=setTimeout(function(){t.apply(n,i)},e)}}function fd(t){if(!t)return t;for(var e="",r=0;r65248&&t.charCodeAt(r)<65375?e+=String.fromCharCode(t.charCodeAt(r)-65248):e+=String.fromCharCode(t.charCodeAt(r));return e}const UV=()=>{const t=navigator.userAgent.toLowerCase(),e=t&&t.indexOf("msie 7.0")!==-1,r=t&&t.indexOf("msie 8.0")!==-1,n=t&&t.indexOf("msie 9.0")!==-1,i=t&&t.indexOf("msie 10.0")!==-1,s=t&&t.indexOf("trident/")!==-1&&t.indexOf("rv:11.")!==-1,o=t&&t.indexOf("ubrowser")!==-1,a=t&&t.indexOf("theworld")!==-1,l=t&&t.match(/chrome\/(\d+)\./);let c=!1;l&&l.length>1&&Number(l[1])<69&&(c=!0);const h=t&&t.match(/version\/(\d+)\./);let f=!1;return h&&h.length>1&&Number(h[1])<11&&(f=!0),e||r?"jquery":n||i||s||c||f||o||a?"vue2":"vue3"},zV={default:0,isbn:1,shop:2,pm:3,store:4,storeItem:5},VV={shop:"商品名称、作者、出版社、ISBN",pm:"拍品名称",pmended:"拍品名称"};class jV{constructor(e,r,n,i){U(this,"searchType");U(this,"status");U(this,"searchWord");U(this,"_stpmt");this.searchType=e,this.status=r,this.searchWord=n,this._stpmt=i}}const HV={shopName:{icon:"global-iconfont global-icon-dianpu",prefix:"",suffix:"进店",useLinkIcon:!0},auctioneerName:{icon:"global-iconfont global-icon-dianpu",prefix:"",suffix:"看拍主",useLinkIcon:!0},unionName:{icon:"global-iconfont global-icon-dianpu",prefix:"",suffix:"看拍主",useLinkIcon:!0},normal:{icon:"global-iconfont global-icon-search",prefix:"",suffix:"",useLinkIcon:!1},auctionComShortName:{icon:"global-iconfont global-icon-dianpu",prefix:"",suffix:"看拍主",useLinkIcon:!0},suit:{icon:"global-iconfont global-icon-wodeshufang-cunfangweizhi",prefix:"",suffix:"套装书",useLinkIcon:!1},cat:{icon:"global-iconfont global-icon-tabfenlei",prefix:"浏览",suffix:"分类下的商品",useLinkIcon:!1},press:{icon:"global-iconfont global-icon-womaidaodeshu",prefix:"",suffix:"出版的书",useLinkIcon:!1},author:{icon:"global-iconfont global-icon-zhaoshuyou",prefix:"查看作者是",suffix:"的商品",useLinkIcon:!1},ab:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},bp:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},ps:{icon:"global-iconfont global-icon-wodeshufang-cunfangweizhi",prefix:"",suffix:"套装书",useLinkIcon:!1},ap:{icon:"global-iconfont global-icon-zhaoshuyou",prefix:"查看作者是",suffix:"的商品",useLinkIcon:!1},abp:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},bip:{icon:"global-iconfont global-icon-womaidaodeshu",prefix:"",suffix:"出版的书",useLinkIcon:!1},bbi:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},bc:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},bcp:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},aps:{icon:"global-iconfont global-icon-zhaoshuyou",prefix:"查看作者是",suffix:"的商品",useLinkIcon:!1},cp:{icon:"global-iconfont global-icon-womaidaodeshu",prefix:"",suffix:"",useLinkIcon:!1},bbip:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1}},qV={area:{icon:""},author:{icon:""},author_lead:{icon:""},binding:{icon:""},book_name:{icon:""},cat:{icon:""},date:{icon:""},discard_word:{icon:""},double_word:{icon:""},goods:{icon:""},isbn:{icon:""},other:{icon:""},person_name:{icon:""},press:{icon:""},record:{icon:""},sensitive_word:{icon:""},shop_name:{icon:""},single_word:{icon:""},stop_word:{icon:""},suit:{icon:""},three_word:{icon:""}},u0=["suit","cat","press","author","ab","bp","ps","ap","abp","bip","bbi","bc","bcp","aps","cp","bbip"],KV="https://static.kongfz.com/search-v3/assets/images/code-app-DHToanuS.png",QV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAABQElEQVRIS+2VsU7DQAyGfycSIwjGCFaeAYmyMTHCKzTn5gmABZ1YgCdo75JXgJGJjSLxDKygjFR0REqMLqJVGzVNWtGJZjn5bH+y/7NiQsWntd4IguBaRBSA7VLYgIhsmqZXWuvvWQiqAltrb0XkvMrv7onoTil1sRDYGPPpKvV9v9Vut18mk5MkOcyyrA9gwMw7i4LFJTDzzK6MMXP9ZIx5BtCa1/ISvv7qwKNq6lqrq7qcP9ZvDa6VotfrualBp9M5cmfZrnqjWnC32y3mNYqiIrZsr8Fjaf6RFCsbt7p/xNIa/wX4C8Cm53l7YRh+NAW6uDiOd/M8fwcwZOatYm1NtHIP4JSIHomIm8IdVESMiJwAeGDmsymwtXZfRF5nbOSmxbvNfaCUepsCO+MXfgPg2MnSkDgE8ERElyOoy/sB1bkSRGrU0/IAAAAASUVORK5CYII=",WV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAABTklEQVRIS+2VsUvDUBDGv3sBR8WuNRlF+sBZsG5Ojvo/6KLJqC5SXNQx0UX/Bx2d3KzgLKSIY2LXBjsKeSdPTDEhaZJSB6HZXu59P+6+O+4RCr4OWnMNi06ZsQtgMXMtIsLNIOCTDnqfeQgqAnuWPGfGYVFc/yfChR34R7XArikHOlNBaB8E/tNv8aUl1xWjCyByQr9RF8xa4IR+blWuKcfGyTXlI4D2uJIniHX/DpxkU1ZaWdZZ/ci/GbjUip+p0WO3oX3Onot6VAWcmteiXtRuXlYwA492xr+wQi+p6Y9b2Y6YeI6nAG59ADRPyjDt/st7VaC+5zVXl1jEIcBDJ+wtfD9bCcAz5S0D24LonmOxVxWuoWSoa8W8RcCdHfo7KfBVc2U5FsZzzotcNfnIUPHafv/1LQXWBw1Xwjhj8Ka2pRqRhwR6ECo+TqBa9wVWkxFg+ZenQAAAAABJRU5ErkJggg==",GV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACyRJREFUeF7tnWti0zoQhetujHYXhM0Am2m6C8LGYlDbQEqTMDp6zMj6+HV/aDyj88ixb/1Y7ir9+/Lly7d1XT/d3d09VDokhwEBBYHDsiw/n56evinF/9YspQf5/Pnzw7IsP0qPQz0I1EZgWZbvpUYpMshbanytvTGOBwK1EFjX9fH5+fmgHq/IILvdblUbUwcCnRA47Pf7R7WXbBDSQ4Wcut4IlKQIBunNFv08EJBTRDbIbrdLF+b8HysPuumZiwAGyUWM9VMhgEGmopvN5iKAQXIRY/1UCGCQqehms7kIYJBcxFg/FQLDGOTlPpmpqGGzVREQ7/cbwyA17o2pijYHGw4B8Q/UGGQ4phlYQgCDSLBRNAsCGGQWptmnhAAGkWCjaBYEMMgsTLNPCQEMIsFG0SwIYJBZmGafEgIYRIKNolkQwCCzMM0+JQQwiAQbRbMggEFmYZp9SghgEAk2imZBAIPMwjT7lBDAIBJsFM2CAAaZhWn2KSGAQSTYKJoFAQwyC9PsU0IAg0iwUTQLAhhkFqbZp4QABpFgo2gWBDDILEyzTwkBDCLBRtEsCGCQWZhmnxICGESCbfyi9K3HtIv7+/uH4/F4KPls2PhoXN8BBtkyuxf2dotwXrT3ETAMMpFBLGRjkveCsGB2QUK8WXE0X+UQjUn+spuD25kmMMhoBsn9QnDJhyhHw+bWvBhkS2xe2YtCMgZ5BVPB7ve3NEmQkXylkMxpFgYZSeNFs2IQHT4FOxJEx9ulUiGZBCFBXMTq0RSD6Kgr2JEgOt4ulQrJJAgJ4iJWj6YYREddwY4E0fF2qVRIJkFIEBexejTFIDrqCnYkiI63S6VCMglCgriI1aMpBtFRV7AjQXS8XSoVkkkQEsRFrB5NMYiOuoIdCaLj7VKpkEyCkCAuYvVoikF01BXsSBAdb5dKhWQShARxEatHUwyio65gR4LoeLtUKiSTICSIi1g9mmIQHXUFOxJEx9ulUiGZBCFBXMTq0RSD6Kgr2JEgOt4ulQrJJAgJ4iJWj6YYREddwY4E0fF2qVRIJkFIEBexejTFIDrqCnYkiI63S6VCMglCgriI9dT09PmBHkOkTxys6/o1s9dhXdfvmTXy8qifX1B+XEgQUQbJFMuyJKG+fJuDf+8RSKkV7VslGKSTSkWgO00Xq02k0zuRN97NmyMpEeScFptbG+Xl2SJ3GCRHkbmfHsg59obXyiKriQkGqYnmhWO9XXf8aNxmk4ePkCIYpLG0RIAbTzXG4TFIBk+73S79Cmf9358IF3skSAbJ/yyNwJ/4AyefHi4qXBhERW7cOhIkg7tRDZK2qMyeAc1ml+73e/kHtRYoJEgtJG8ch9OsfJAjnF6lqTFIPndShQi01Gv0oijmwCCdlZSSRLwvqvOkbu1e7v+KdF+W+MPGRXqphHrerKjc/3W6L6p0n9b6SKY4nxmDWBkceJ1CcqTTHE/oFey4m9eTMaG3QjIGeQVawQ6DCCL1LFFIxiAYxFOzXXtjEB1uBTsSRMfbpVIhmQQhQVzE6tEUg+ioK9iRIDreLpUKySQICeIiVo+mGERHXcGOBNHxdqlUSCZBSBAXsXo0xSA66gp2JIiOt0ulQjIJQoK4iNWjKQbRUVewI0F0vF0qFZJJEBLERaweTTGIjrqCHQmi4+1SqZBMgpAgLmL1aIpBdNQV7EgQHW+XSoVkEoQEcRGrR1MMoqOuYEeC6Hi7VCokkyAkiItYPZpiEB11BTsSRMfbpVIhmQQhQVzE6tEUg+ioK9iRIDreLpUKySQICeIiVo+mGERHXcGOBNHxdqlUSCZBSBAXsXo0VV6ejUEwiIdW3XrmficxwqcH3MA6a6ykL6dYEZjLnCGHaNLjL7g5uJ1RwsurM/UZYrmFbMzxnioLZhfIxSAhFC8McYtwzPERUAwiiGwLJadvlRyPx0PaT9TPD3hjjUG8GaB/aAQwSGh6GM4bAQzizQD9QyOAQULTw3DeCGAQbwboHxoBDBKaHobzRgCDeDNA/9AIYJDQ9DCcNwIYxJsB+odGAIOEpofhvBHAIN4M0D80AhgkND0M540ABvFmgP6hEcAgoelhOG8EMIg3A/QPjQAGCU0Pw3kjgEG8GaB/aAQwSGh6GM4bAQzizQD9QyOAQULTw3DeCGAQbwboHxoBDBKaHobzRgCDeDNA/9AIYJDQ9DCcNwIYxJsB+odGAIOEpqfdcOnNiudH582Kl7HGIO00GO7Ib98J+fr79fzvzHE+KO/nfU8bBgkn4/oDKSRjlFceFOz4Pkh9DTc5oiUx/tP4sCzLz6enp29NBhzgoBhkAJKUEUViL7aaOU1EHPk+iCLaHjXK9witc81oFAxiVUfwdRVOp0w7nM0kGMQki9iLRBKLNjWLUURsOcUqUlel4l6pcWPcw7qu37f8NxQMUkmsvQ8jEtdkzC2niYgzCdJEaYaDBkiNq1Nu0SgYxCDKKEt2u92PW38FjzDn1kyCQSKo6j8ziCS57mwrRhGx5xSrh/o6nE69/KV8Xdd0f1b1f8kk6TPTI1/EY5DqsqhzQJEYc/N1XR9Pwm3da+Q0EbEhQcxKzFzYIzX2+/3jpbFEMZh3OKJRREwwiFkVGQsbX4Sb/mYhCsK8y9FMIuKBQcyKMCxsef9Uaq+IUhSGYbevS5SZzAevuFDEAYPU4KDH6VTJX7rTfPf39w8tL+Kj30qPQWooXTiGCLy5U81f6JFmNQNkXCjunQQx4vthWY/UuHYRrs58qhPFYm0b8uEscc8YxMr6+ToRbGsr00W49WDX1jXeQ7hrE3G/GCRHaBEvwnPmn/l/CWOQUqXcqO9xOlVyEV669db7q3kdpe4Vg6jI/adOBNY8TQTxdLo2cT3tEnnkFOuaklv/qqZXynimxi0Hi2Ky/ii47FvcEwbxOC8/v3/Kqqre60RBmcfsnZzifjDIOaOtU6O3KMxqvbFQFJa5dS9MxH1gkBOTEe6fMquq88I3cX1q9ZBXD5NgEFE0InDmbj3INw9TuHBkrMTZ502Q1qdTkS/CC32ivufW1LbVw1kYxAT/6yIRLHOHES7CzZu5srA1hrWTV5x3rgTpkRqt7p8qFXSrelF45nFqGUWccx6DcBFu1mT2QlF85j41TCLOuH2DbPH+KbOyOi8URWiessQo4mzbNUiP06mofwk3K67BwqgPZ2GQM7JFMMxyKfklMzcZfGE0DsR5tpUgPVJjtovwUp+KwrS2NT+cJc6xHYOIAJiJ4HTKCtXHdY25Md0lLM4wvkG4CNeF27tSFKl5zFunvmLvcQ3S43SK1DBr07ywNW/XTDKVQcTNmknkItwMlbywN4div7ESpPWvz5bvn5KV3LhQFK51qj8PZ4l9xjFIQqTVi8/ejv3nJdBW9FlXBwFRvObm6YxA1M8YBjEjISzkdEoArVFJa6MIY09tEJdnowWSpip5M0mzh7MywZzTIKRGpkwclgdJk+kMQmo4iL2kpbNR5jHIDA8xlQgxcq2jSaYwiLzJyKKZcTYHo8jaWVSCGj+4dD4Wp1MqSYHrOptkmwbhIjywwiuN1skomzMIqVFJgCMcpvXDWenOCvXxhnCnWKTGCJJuM2PDNNmEQeRNtKGLo3oh0MAosrYiJAinU15KDNy3sknGNAinU4EVGmS0GkYp0ZmcIIVPAJIaQQQ4whilj0e4GCQBu9vt1lyAS4bN7cX6bSGgpsl+v5eDQC5M0GcOTGpsS69uu8nRXekPcpFBrCbh/ik3LW22scUkpeZI4BUb5MRAGjj997qu6RmAl3+8LGGz+gyzsQvPnby8Y+t4PB6en58PpYP+Ag9XrJsVREZpAAAAAElFTkSuQmCC",ZV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAC1JJREFUeF7tne11FDkQRbtNGutNwOQATggOEdiOYA8kZJODSQBIA/eeHhiOv2ZGeiWppOrLz12VpLpVb57a09M9T4X+ff737fW8LO+WaXpfaEqmgUA2gXma7pZ5/vrx+/11dvArAbN1kv/+efv+bF5urfMQD4HiBOb5xioUk0BW15iW5ap4YkwIgUIEHpb58tPP+zt1OptAzi8WdWHiINCCwHrk+vDj26W6liwQ3ENFTlxrAhYXQSCtq8V6zQlYXEQWyJfzi1v+YtW81iwoEEAgAjRCtkMAgWyn1mQqEEAgAjRCtkMAgWyn1mQqEEAgAjRCtkNgGIHs75PZTmnItDQB5X6/YQQyFbg3pjRw5huLgPIFNQIZq8bs1kAAgRjgERqfAAKJX2MyNBBAIAZ4hMYngEDi15gMDQQQiAEeofEJIJD4NSZDAwEEYoBHaHwCCCR+jcnQQACBGOARGp8AAolfYzI0EEAgBniExieAQOLXmAwNBBCIAR6h8QkgkPg1JkMDAQRigEdofAIIJH6NydBAAIEY4BEanwACiV9jMjQQQCAGeITGJ4BA4teYDA0EEIgBHqHxCSCQ+DUmQwMBBGKAN3Lo+q7Hdf9nZ9P7h4fpzvLasJE5nNo7AjlFKNj/P1pwHrT3otoIJJgAjqWTVGxE8gRhErNn0Hmy4oCiyio0Ivlb4Sxuf6IQyIgCyXxDsOVFlAPiObhlBBKpmgdyUYqMQH7DVNjhIIOJSikyT8ZHIIO1ub5dBNKWHQ6i83aJRCA6doUdAtF5u0QqReaIxRHLpVk9FkUgOnWFHQ6i83aJVIqMg+AgLs3qsSgC0akr7HAQnbdLpFJkHAQHcWlWj0URiE5dYYeD6LxdIpUi4yA4iEuzeiyKQHTqCjscROftEqkUGQfBQVya1WNRBKJTV9jhIDpvl0ilyDgIDuLSrB6LIhCdusIOB9F5u0QqRcZBcBCXZvVYFIHo1BV2OIjO2yVSKTIOgoO4NKvHoghEp66ww0F03i6RSpFxEBzEpVk9FkUgOnWFHQ6i83aJVIqMg+AgLs3qsSgC0akr7HAQnbdLpFJkHAQHcWlWj0URiE5dYYeD6Lz/Ru5fP1BgqpNTrK84mJbl6uTARwPWIv9a5pucGMvYXl+/gEAsVc2MXUXxZl6ulmnavZuDf88IzPNNb+8qQSCNulQB3Whr/S3T0dPllbpxxMpsKQVy5hLhhvfy8Gyldggksx0/Z756IHP6kMMtTVYSCAIpSfOVudbrjrN5ua28TMjpe3ARBFK5tRTAlbc0zPQIJKNUX84vbrP/+tPBxR4OklHk50M7qJ/yAWc5Hs4qLgSikhs3DgfJqN2oAllTlPaewSbq0I8/vskfqKWY4CClSB6Zh2OWALmD49W6awQi1E4JUUAr64SI6UQcCKRxN+2cRLgvqvE23Zbb3//V031ZygcbF+kFWqjlzYrS/V9/7osqkGrSFD2J4vGGEUhS+cYepBSZ34P8rrnCDgcZTC9KkREIAhmszfXtIpC27HAQnbdLJALRsSvsEIjO2yVSKTJHLI5YLs3qsSgC0akr7HAQnbdLpFJkHAQHcWlWj0URiE5dYYeD6LxdIpUi4yA4iEuzeiyKQHTqCjscROftEqkUGQfBQVya1WNRBKJTV9jhIDpvl0ilyDgIDuLSrB6LIhCdusIOB9F5u0QqRcZBcBCXZvVYFIHo1BV2OIjO2yVSKTIOgoO4NKvHoghEp66ww0F03i6RSpFxEBzEpVk9FkUgOnWFHQ6i83aJVIqMg+AgLs3qsSgC0akr7HAQnbdLpFJkHAQHcWlWj0URiE5dYYeD6LxdIpUi4yA4iEuzeiwqPTy7o+fjejDbr6l8uOAgnhUT1859T2IPrx4QUy0ahkCK4ux3sqxC4x5/C5nF7U8UDtKvDo7uLKnYiOMJwyRmz6gjkEEFsm77aMERx4vKIpCBm92y9f27Sh4eprt1nl5fP2DJsUQsAilBkTnCEkAgYUtLYiUIIJASFJkjLAEEEra0JFaCAAIpQZE5whJAIGFLS2IlCCCQEhSZIywBBBK2tCRWggACKUGROcISQCBhS0tiJQggkBIUmSMsAQQStrQkVoIAAilBkTnCEkAgYUtLYiUIIJASFJkjLAEEEra0JFaCAAIpQZE5whJAIGFLS2IlCCCQEhSZIywBBBK2tCRWggACKUGROcISQCBhS0tiJQggkBIUmSMsAQQStrQkVoIAAilBkTnCEkAgYUt7PLH1yYqPR/Bkxdd5IZANCWQVxZt5uVqm6Yk4niDg+bxPcCCQDQhEKTJvmPrdGAo7nu4+iKiSHONILmuhl3n++vH7/fUgKRffJgIpjrSPCZXCHtz5ho9dCkccpA8NvLoL6X2EqflsUCgIJLU5Oh9nPU4lp7cxkSCQ5M7od6BSRHM2GxGKwpYjlrm7ykzQzDUObHdthF/LfBP5OxQEUqZXm8+iFK7aJgO7icIZB6nWaacn9naNozsMKBQEcronuxnx5fzi9ui34D3sNJhIEEgPTXViD0qR3NMKIhSFPUesRt1X+zi1/6Z8WparKinN8836mumRL+IRSJXOsE+qFCZn1Ydlvtw3bu21Rr6vS2GDg+R0YubYFq7x4ce3y9e2pTRDVnoDHrsUJggkqyvSB9e8CE/9zkJpiPQMp2k0N1F4IJCsjjg9uOr9U+vywie30hinM300QthT1vyFBiscEEgh+C2OU5ZvunfCPZve17yI7/1WegRSqNlzp1HAZ61R8BN6pL1mMUoYrOSOgySAPTSkhWscugg3bHsXqjRL6pq9/jhLyRmBpFb92TgFdupSqRfhqfMdGlczh92aBZ3Pmqv6oYBAMsn3eBGemcKL4VsRipInAknsrhbHKctFeGIaB4fVzq8HN0Eg1i45EK+AzdpKR0eRyLkqueEgRzq59qdqq2uNLLH+Gaw0U+o6XnkrOSEQJ9d4fP9UamO1Hqc0VNYeGzunkg8CeVbR2q7Rw1k8q4kr/0m45V+7EEhu5Z+N7+H+KWMK1cLX5pqX5V21H3k1cBMEIraHAi5rqQbFz9qPYfDIrJS9b/qIVfs45XUxauj/5FCl2ZInr/TjLGXPmxWIAiu5wNM0jXARnpPPa2NrMyx9vabsd3MCaeEate6fsjZ0rXil8bL2UuiIquxzUwLhIjyrLbMGK82XtUABkSh73IRAIt4/ldVcDQcrTZi1PYNQlL2FFkiL45Tn/VNZjdVwcK8/zkIgj5pAgZHVQ4ZPsqx1Bh7cWw2U/YRzkBausbWLcKtGlcZMXTPnx1nKPkIJRAGQUwiOU6m0Xo6rWZvdagmOruwhhEC4CNcbt3Wk0qRZezwiFGXtoQXS4jiFa2S1Z9Lg2nU75CabEoiSbFL19oMSLDtrPga/INC6hsp6wzlI7U+fyPdP9apRpXFTc3lcT2WdoQSyg1Lr6eUbuX8qtbFaj1OaN2uP83yj9M84AsmikTmY41QmsHrDqwslc+ubFgjHqcxuaTR8FUnVH2dl5LFdgeAaGW3iM7QHN9mcQHANn2a3rOoplE0JZAs/YrI0Ys+xXiLZhEAsSfbcNFvcW2uhWHpnVgtU84dLj/fEcUqtUN9xLUUSVyBchPfd5QV210Io4QSCaxTovIGmqP3jrFgCwTUGau2yW63lJiEEYkmibJmYzZtAaaFYesv9Ip3jlHc79rl+SZGMKxCOU312Z0e7KiIUQ5/JDmL5BSCu0VEHDrAV888jPASycv18frFk8zVsNnstAkIRUN3k449vshHIgTuB/Pv2OvW3HbhGqF51TSan71IeBHEsGZNAUkXC/VOu/RRy8SSRFDitmAWyp7/b8PrklmV5t/9vPCwhZG92ldTz353sn7H18DDdffp5f2fd7P+UF1ib0FTOtAAAAABJRU5ErkJggg==",YV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAABDUlEQVQoU22SvUrEQBSFzyWTgF2CPywILpaChYVgL/oES7BNCJk8U26TvIGonaggYiFipeBDiETLMMWVCdlldsy0832He88MAaCqqs76vn9t2/YHE6coinkQBDNmfrHwuYjcAvgwxpw2TfPlOmVZHhHRHYAYwIyyLIujKHoCcOhLDrxJRJd1XS/IpuV5vh2G4YMrKaV2x2QLX4lIysxmEHxJRD6JaAfAGmy5lbCUlFKPRHQwXBLdiMjCJi+D1wR35hH4V8RK8Ba0yftTRQyCBw8LGmNivwhbOY2P8ja1oNfee9d1x6S1PgHwTETXInLhLui0dw9gD8B8GElrvcXM3wBk6mukaRolSbLBzL9/mxKWmrW9ojsAAAAASUVORK5CYII=",JV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAABLklEQVQoU22SzUrDQBSFz52an4KLQFVSK20VERq6cCG4F32CIj5CNyKKL+ADCC3ie4h2JyqIuCjSlX8gUgoREUSx4CIS45VJbZymme2c73DvN0MAqJ4vL7P4vNrqdD6QcPazpcJ3iuzNp7umDK8Q8zFAN+R7Sxsvj68qU8s580LQCRiW/+PbVCsWLRGMXgBcjkNRGMgI4GDdva2QbNuzZ8dZM89UKEjpubAZyAB8aLrp1SpafggMQ7gHMBEPy1wE/EPGOYDS32XDcM2KbO4XDwDqzL3AsIgIUMMENBg0nSQiBAabewt+2V0rLkIqJ/kowYhoJS2o2iPw9buLBapPOYsEuhSEI90119QF+yKg6acA8obmFcKRdifnxrafH94I4KSvsQNHz8546Wq73f0FqWePiYKSLsIAAAAASUVORK5CYII=",XV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACLtJREFUeF7tmuFNHEkYRGdwGocTgCAgISMiYDeC0zohNoglASANM6dFwrJ8spmt6v1qNP38e6pr+vU8fdvC48A/CEDgjwRG2EAAAn8mgCB8HRD4CwEE4fOAAILwDUBAI8AE0biR6oQAgnRy0GxTI4AgGjdSnRBAkE4Omm1qBBBE40aqEwII0slBs02NAIJo3Eh1QgBBOjlotqkRQBCNG6lOCCBIJwfNNjUCCKJxI9UJAQTp5KDZpkYAQTRupDohgCALOuh//7m+Ob7O/ethv6DX6vpVECR8/EcpvozTwzQM73L8/DeO27vnwyb8et3XI0jwEzjKcTFOj397hbdpvGWi5A4JQXLsh93l1TSnHknmUDrPMwhyHq6frrr7er0Zpunh0weHYRiHYf/t5el2zrM805YAgrTlOXu1udPjY8G7lyfOajbddg8CvR3L2SvNuXv8vhg/s2bjbfoggjTFOW8xBJnHaQlPIUjgFBAkAF2sRBARnBNDEIdebRZBanm/tyFIALpYiSAiOCeGIA692iyC1PJmggR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5Wnl2Q48cgvttqYxcXw80wTQ8nbXAct29vw/6kTAcP378ezsrkLIIcpfgyTg/TMCBHBx9pfIvjuL17PmzO8R7NBVF+PpxjY6zZH4G3abxtPVGaC7K7vJr6Oxp2vBQCdy9PTb/ppovtvl5vTv5tvRSyvMcqCIzDsP/28nTbajNtBWF6tDoX1jEItJwiCGIcBNFlEmh5F2kmCJfzZX4sPb7VIgU5HgQX9B4/x+XtebE/sb5fXj3yt4/lfTBdvVHjv4k0+4n1cQhMka4+x8VttuX0OG6uuSDcRRb3zXTzQi3vHh/Qmgvyc5LwN5FuPsz0Ro9/+/gxjdvWf0U/ywT5HRb/WfH/nw//WbGdUueQ4te3O9sEaYdgfSspP0PP8fNhfWTb7whB2jP9dEUE+RTRYh5AkMBRIEgAuliJICI4J4YgDr3aLILU8n5vQ5AAdLESQURwTgxBHHq1WQSp5c0ECfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcG9tdXk2nrHH38sRZnQKs0bNAbwTy1GW+X149TsNwMys3jtu758Nm1rM81JQAgjTFOX+xU35mMT3mc239JIK0JnrCenMkeZvG2/vXw/6EZXm0IQEEaQhTXWr39XozTNPDr/lxGPY/pnGLHCrVNjkEacOx2SrHqYIUzXDaCyGIjZAF1kwAQdZ8uuzNJoAgNkIWWDMBBFnz6bI3mwCC2AhZYM0EEGTNp8vebAIIYiNkgTUTQJA1ny57swkgiI2QBdZMAEHWfLrszSaAIDZCFlgzAQRZ8+myN5sAgtgIWWDNBBBkzafL3mwCCGIjZIE1E0CQNZ8ue7MJIIiNkAXWTABB1ny67M0m8B9qxvwFf8kx1QAAAABJRU5ErkJggg==",ej="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACDBJREFUeF7t3Wty20gMhVFmZ+HKbK+M2tkkTOSJokhWN/qiH8DnP6mpYYONC5yS85jMt40vEiCBpwl8IxsSIIHnCQCE7SCBLxIACOtBAgBhB0jAlgCfILbcOJUkAYAkGTRt2hIAiC03TiVJACBJBk2btgQAYsuNU0kSAEiSQdOmLQGA2HLjVJIEAJJk0LRpSwAgttw4lSQBgCQZNG3aEgCILTdOJUkAIEkGTZu2BABiy41TSRIASJJB06YtAYDYcuNUkgQAkmTQtGlLACC23DiVJAGAJBk0bdoSAIgtN04lSQAgSQZNm7YEAGLLjVNJEgBIkkHTpi0BgNhy41SSBACSZNC0aUsAILbcOJUkAYAkGTRt2hIAiC03TiVJACBJBk2btgQAYsuNU0kSAEiSQdOmLQGA2HLjVJIEAJJk0LRpSwAgttw4lSQBgCQZNG3aEgCILTdOJUkAIEkGTZu2BABiy41TSRIASJJBR2jzOI7v27a9bdt2/nj79XH+w77v7+o+AaJOlHouCRzHcTyAcf+uDzUSgLiMk6LKBApxfL7ysv9Uono/QFRJUsclgUocciQAcRkrRRUJGHF8vvr8ILm03gMgrQly3iWBRhznnSTfagHEZbwUbUlAgOPX6/d9b97v5gItQXCWBO4TUOEACLsVLgElDoCEW4/cDalxACT3PoXq3gPHtm2S3zTk5yChVm29ZpxwnEEAZL114Ma3CcyO47wrnyDsbPcEvvhDh4q7SH7/4/MiAFGMhBrFCVxxnH/w0ONLioNPEI8RUfNpAqvhAAjL3C2BFXEApNt65H7RqjgAkntvu3S/Mg6AdFmRvC9ZHQdA8u6ue+cRcADEfU1yviAKDoDk3F/XriPhAIjrquQrHg0HQPLtsFvHEXEAxG1dchWOigMgufbYpdvIOADisjJ5ikbHAZA8uyzvNAMOgMjXJkfBLDgAkmOfpV1mwgEQ6erEL5YNB0Di77Ssw4w4ACJbn9iFsuIASOy9lnSXGQdAJCsUt0h2HACJu9vNnYHjd4T8tT/NqxSvADj+zBQg8fa7qSNw/B0fQJrWKdZhcPw7T4DE2nFzN+B4HB1AzCsV5yA4ns8SIHH23NQJOL6ODSCmtYpxCByv5wiQ1xmFfAIcZWMFSFlOoZ4CR/k4AVKeVYgnwVE3RoDU5bX00+CoHx9A6jNb8gQ4bGMDiC23pU6Bwz4ugNizW+IkONrGBJC2/KY+DY728bgBuQ7nvOH3m2ue/xfSS/u1qfAqAXC8Sqjs38uBXAfzdgfj/jYf+76/l12Rp2oTAEdtYs+flwI5juNc+hNHyRdISlKqfAYclYG9eFwGpBLH57VAIpwnOIRhXkspgfxnvB5IjMHdHgOHIMQHJSRAjJ8et9cBScN8wdEQXo9vsQRAzmuCxDBncBhCqzii+gSxfnvFr25VDOv+UXA0hFd4dDYgfJIUDg4chUE1PjYjEJC8GCo4Gre+4rgKyPHiNwYrrvT/o/yc5EFq4LCskv2MCsj5x0lOJOovkNwkCg71er2uJwFyvub4+UtZDp8ifLt1nSE4Xi+zxxNKIF6fIumRgMNj9ctqyoBcP0Vq/ixW2Q3/PJXy2y1w1K6J9nkpEJBohwMObZ6WanIgILGM4d8z4NDk2FrFBQhI2sYCjrb8lKfdgIDENiZw2HLzOuUKBCR1YwNHXV49nnYHApKyMYKjLKfeT3UBApKvxwqO3mtf/r5uQEDyeCjgKF/WEU92BQKSv0cMjhErX/fO7kBA8ntA4Khb1FFPDwGSHQk4Rq17/XuHAcmKBBz1SzryxFAg2ZCAY+Sq2949HEgWJOCwLejoU1MAiY4EHKPX3P7+aYBERQIO+3LOcHIqINGQgGOGFW+7w3RAoiABR9tiznJ6SiCrIwHHLOvdfo9pgayKBBztSzlThamBrIYEHDOttuYu0wNZBQk4NAs5W5UlgMyOBByzrbXuPssAmRUJOHTLOGOlpYDMhgQcM6609k7LAZkFCTi0izhrtSWBjEYCjlnXWX+vZYGMQgIO/RLOXHFpIL2RgGPmVfa52/JAeiEBh88Czl41BJAeSLZte3Ma5mXf992pNmUbEwgDpAOSxqgfHgeHR6rCmqGALIYEHMJF9ioVDsgiSMDhtdHiuiGBTI4EHOIl9iwXFsikSMDhuc0OtUMDmQwJOBwW2LtkeCCTIAGH9yY71U8BZDAScDgtb4+yaYAMQgKOHlvs+I5UQDojAYfj4vYqnQ5IJyTg6LXBzu9JCcQZCTicl7Zn+bRAnJCAo+f2dnhXaiBiJODosLC9X5EeiAgJOHpvbqf3AeQa9HEc78b/5gMcnZZ1xGsAcpO6AQk4Rmxtx3cC5C7sCiTg6Lioo14FkCfJfwHlsm3bx77v5498BU8AIAUDvv6FDRsoCsIK9ghAgg2UdrQJAESbJ9WCJQCQYAOlHW0CANHmSbVgCQAk2EBpR5sAQLR5Ui1YAgAJNlDa0SYAEG2eVAuWAECCDZR2tAkARJsn1YIlAJBgA6UdbQIA0eZJtWAJACTYQGlHmwBAtHlSLVgCAAk2UNrRJgAQbZ5UC5YAQIINlHa0CQBEmyfVgiUAkGADpR1tAgDR5km1YAkAJNhAaUebAEC0eVItWAIACTZQ2tEmABBtnlQLlgBAgg2UdrQJAESbJ9WCJQCQYAOlHW0CANHmSbVgCQAk2EBpR5sAQLR5Ui1YAgAJNlDa0SYAEG2eVAuWAECCDZR2tAkARJsn1YIlAJBgA6UdbQIA0eZJtWAJACTYQGlHmwBAtHlSLVgCAAk2UNrRJgAQbZ5UC5bAD+GSLPaM/dMkAAAAAElFTkSuQmCC",Et=new Le("https://www.kongfz.com/search-suggest-history-iframe.html"),tj={name:"SearchBar",props:{layout:{type:Number,default:1},logoType:{type:Number,default:1},searchType:{type:String,default:"shop"},site:{type:Object,default:()=>({})},pageType:{type:String,default:""},showQrCode:{type:Boolean,default:!1},bgType:{type:Number,default:1},logoColor:{type:String,default:"#9B0D16"},logoText:{type:String,default:"个人中心"},fixedTop:{type:Boolean,default:!1},useCustomSearch:{type:Boolean,default:!1},useStatusSelect:{type:Boolean,default:!0},isSearching:{type:Boolean,default:!1},searchWordQueryName:{type:String,default:"key"},modelValue:{type:String,default:""},status:{type:String,default:"0"},hideSearch:{type:Boolean,default:!1}},data(){return{abTestTag:"-",search_type:"active",search_pos:"",search_key:"",searchHistoryType:zV,searchInfo:{searchType:this.searchType,status:"0",shop:["在售","已售"],pm:["在拍","已结束"]},searchPlaceholder:VV,statusHoverClassName:"",searchWord:this.modelValue,placeholderShow:!0,isLogin:!0,currentSugIndex:0,keyUpTimeIndex:0,maxSearchHistory:100,searchHistoryList:[],historyList:[],suggestList:[],historyBoxShow:!1,sugKey:"",layoutClassName:"",supportiveLib:UV(),fixedTopStatus:!1,searchOffsetTop:136,wordType:"normal",jumpUrl:"",entityId:"",SearchWordUIConfigMap:HV,SearchWordTagUIConfigMap:qV,mode:"none",hasSubscription:!1,subscriptionCountHasNewArrivals:0,subscriptionList:[],subscriptionLink:"".concat(this.site.s_user,"user-center/subscription/")}},watch:{modelValue:{handler(t){this.searchWord=t,this.syncPlaceholderVisibleByWord()},immediate:!0},searchWord:{handler(t){this.$emit("update:modelValue",t)}},status:{handler(t){this.searchInfo.status=t},immediate:!0}},emits:["search","update:modelValue"],mounted(){setTimeout(()=>{this.init()},0)},methods:{syncPlaceholderVisibleByWord(t=!1){if(t){this.placeholderShow=!1;return}this.placeholderShow=!(this.searchWord&&String(this.searchWord).trim().length>0)},init(){let t=this.pageType;(t=="index"||t=="search"||t=="shop")&&this.$refs.searchInput.focus(),(t=="search"||t=="isbnsearch")&&this.initSearchKey(),this.searchHistoryInit(),this.layout==1&&(this.layoutClassName=""),this.layout==2&&(this.layoutClassName="search"),this.layout==3&&(this.layoutClassName="w-auto-xl"),this.layout==4&&(this.layoutClassName="w-auto-xxl"),this.fixedTop&&this.fixedTopInit()},fixedTopInit(){const t=document.querySelector(".header-search-box");this.searchOffsetTop=t.offsetTop+t.offsetHeight;const e=()=>{(document.documentElement.scrollTop||document.body.scrollTop)>=this.searchOffsetTop?this.fixedTopStatus=!0:this.fixedTopStatus=!1};window.addEventListener("scroll",MV(e,100))},searchTypeChange(t){this.searchInfo.searchType=t,this.searchInfo.status="0"},searchStatusChange(){this.searchInfo.status=this.searchInfo.status==="1"?"0":"1",this.statusHoverClassName=""},mouseenterFun(){this.statusHoverClassName="search-status-box-hover"},mouseleaveFun(){this.statusHoverClassName=""},searchStatusChangeClick(){this.statusHoverClassName=this.statusHoverClassName?"":"search-status-box-hover"},initSearchKey(){const t=this.getUrlParam();let e="";if(t.oldKey)e=this.unicodeToChar(t.oldKey),e!=""&&(this.searchWord=e);else{const r=decodeURIComponent((t[this.searchWordQueryName]||"").replace(/\+/g,"%20"));r!=""&&(this.searchWord=r)}},searchSubmit(t=!1){if(this.historyBoxShow=!1,this.searchWord==""||this.isSearching)return;let e="";const n=this.getUrlParam().xinshu;this.search_key=this.searchWord,t&&this._resetWordType(),this.search_type=="suggest"?e=this.baseEncode({search_type:this.search_type,search_pos:this.search_pos,search_key:this.search_key}):e=this.baseEncode({search_type:this.search_type});const i={keyword:this.searchWord,search_time:Math.floor(new Date().getTime()/1e3),type:this.searchHistoryType[this.searchInfo.searchType]||0,wordType:this.wordType||"normal",jumpUrl:this.jumpUrl||"",entityId:this.entityId||"0"};this.addLocalSearchHistory(i);try{window.track&&track.send("c_schword_click",{type:this.searchInfo.searchType=="shop"?"book":"auction",querytype:this.search_type,key:this.searchWord,pos:this.search_pos||0,orikey:this.searchWord,abTestTag:this.search_type==="suggest"&&this.abTestTag||"-"})}catch(s){console.error(s)}if(this.wordType!=="normal"){this.isLogin&&this.uploadKeyWord(i),window.open(this.jumpUrl,u0.includes(this.wordType)?"_self":"_blank"),this.wordType="normal",this.jumpUrl="",this.entityId="0";return}if(this.useCustomSearch){this.$emit("search",new jV(this.searchInfo.searchType,this.searchInfo.status,this.searchWord,e));return}this.searchInfo.searchType=="shop"&&(this.pageType=="isbnsearch"?window.location.href="".concat(this.site.s_search,"item_result/?key=").concat(encodeURIComponent(this.searchWord),"&status=").concat(this.searchInfo.status,"&_stpmt=").concat(e):window.location.href="".concat(this.site.s_search,"product/").concat(this.supportiveLib==="vue3"?"":"ie/","?keyword=").concat(encodeURIComponent(this.searchWord)).concat(n?"&isNewBook=true":"","&dataType=").concat(this.searchInfo.status)),this.searchInfo.searchType=="pm"&&(this.searchInfo.status=="1"?window.location.href="".concat(this.site.s_search,"pm-search-web/pc/endauction/search?key=").concat(encodeURIComponent(this.searchWord)):window.location.href="".concat(this.site.s_search,"pm-search-web/pc/auction/search?key=").concat(encodeURIComponent(this.searchWord)))},advSearch(){let t="";this.searchInfo.searchType=="shop"?t=this.site.s_search+"adv.html?key="+this.searchWord+"&status="+this.searchInfo.status:t=this.site.s_search+"adv.html?type=pm&key="+this.searchWord+"&status="+this.searchInfo.status,window.open(t)},getUrlParam(){let t={};return location.search.replace(/([^&=?]+)=([^&]+)/g,function(e,r,n){t[r]=n}),t},baseEncode(t){let e=this,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="",i,s,o,a,l,c,h,f=0;for(t=e._utf8_encode(t);f>2,l=(i&3)<<4|s>>4,c=(s&15)<<2|o>>6,h=o&63,isNaN(s)?c=h=64:isNaN(o)&&(h=64),n=n+r.charAt(a)+r.charAt(l)+r.charAt(c)+r.charAt(h);return n},_utf8_encode(t){t=JSON.stringify(t).replace(/\r\n/g,"\n");let e="";for(var r=0;r127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(n&63|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(n&63|128))}return e},unicodeToChar(t){if(typeof t>"u")return"";let e="",r=t.split("k"),n=0,i=r.length;for(;nthis.suggestList.length&&(this.currentSugIndex=1),this.currentSugIndex<1&&(this.currentSugIndex=this.suggestList.length);const n=this.currentSugIndex-1,i=this.suggestList[n];if(!i)return;this.syncPlaceholderVisibleByWord(!0),this.searchWord=i.word,this.wordType=i.wordType,this.jumpUrl=i.jumpUrl,this.entityId=i.entityId,this.search_type=this._getSearchType(this.wordType),this.search_pos=n}this.keyUpTimeIndex&&this.searchWord!=""&&(clearTimeout(this.keyUpTimeIndex),this.keyUpTimeIndex=0)},inputKeyup(t){if(jt()!="IE9")return;let e=t.keyCode||t.charCode;if(e==13){this.historyBoxShow=!1;return}e==38||e==40||(this.keyUpTimeIndex=setTimeout(()=>{this.updateSearchSugDropdown()},200))},inputFun(){jt()!="IE9"&&(this.syncPlaceholderVisibleByWord(!0),this.updateSearchSugDropdown())},stopPropagationHide(t){t.stopPropagation()},searchHistoryInit(){jt()=="Safari"&&(this.maxSearchHistory=20),this.getSearchHistory(),document.body.onclick=()=>{this.historyBoxShow=!1}},getScene(){return this.searchInfo.searchType==="shop"?"product":"auction"},filterHistoryList(t,e){(this.getScene()=="product"&&e.wordType=="shopName"||this.getScene()=="product"&&this.searchInfo.status=="0"&&u0.includes(e.wordType))&&t.push({word:e.keyword,wordType:e.wordType||"normal",jumpUrl:e.jumpUrl||"",entityId:e.entityId||"0"}),this.getScene()=="auction"&&(e.wordType=="unionName"||e.wordType=="auctioneerName")&&t.push({word:e.keyword,wordType:e.wordType||"normal",jumpUrl:e.jumpUrl||"",entityId:e.entityId||"0"}),(e.wordType=="normal"||!e.wordType)&&t.push({word:e.keyword,wordType:e.wordType||"normal",jumpUrl:e.jumpUrl||"",entityId:e.entityId||"0"})},getSearchHistory(t){this.isLogin?Z({method:"get",url:"/pc-gw/search-web/client/pc/v2/api/word/history",params:{scene:this.getScene()}}).then(e=>{e.data.status?(t&&t(e.data.data),this.historyOfSearchSync()):e.data.errType==100&&(this.isLogin=!1)}):this.getLocalSearchHistory(e=>{let r=[];if(e.length>0){this.searchHistoryList=e;for(let n=0;n{this.requestIdSearchSug===t&&(this.historyList=e.historyList,this.historyBoxShow=this.historyList.length>0,this.subscriptionList=e.subscriptionList||[],this.subscriptionCountHasNewArrivals=e.subscriptionHasNewItemNum||0,this.hasSubscription=e.isSetSubscription||!1)})},renderSearchSug(t){let e=this.searchWord;this.getSearchSug(r=>{if(this.requestIdSearchSug===t){if(r.historyList.length==0&&r.suggestList.length==0&&!r.queryLead?this.historyBoxShow=!1:this.historyBoxShow=!0,r.suggestList.length>0&&r.suggestList[0].word.indexOf(e)!=-1&&(this.sugKey=e),r.queryLead&&r.queryLead.segmentTypes&&r.queryLead.segmentTypes.length){const n={word:r.queryLead.word||"",wordType:r.queryLead.wordType||"normal",jumpUrl:r.queryLead.jumpUrl?r.queryLead.jumpUrl.pc:"",entityId:"0",liveUrl:r.queryLead.liveUrl||"",segmentTypes:r.queryLead.segmentTypes||[]};r.suggestList.unshift(n);const i=r.queryLead.segmentTypes[0].intentType==="press"?r.queryLead.segmentTypes[0].word:null,s=r.suggestList.findIndex(o=>i===o.word&&o.wordType==="shopName");if(s!==-1){const o=r.suggestList.splice(s,1)[0];r.suggestList.unshift(o)}}this.suggestList=r.suggestList,this.historyList=r.historyList,this.abTestTag=r.abTestTag||"-"}})},getSearchSug(t){const e=this.searchWord;Z({method:"get",url:"/pc-gw/search-web/client/pc/v2/api/word/suggest",params:{query:e,scene:this.getScene(),status:this.searchInfo.status}}).then(r=>{r.data.status&&(this.isLogin?t&&t(r.data.data):this.getLocalSearchHistory(n=>{let i=[];if(n.length){this.searchHistoryList=n;for(var s=0;s{Et.get("searchHistoryList").then(e=>{let r=e?JSON.parse(e):[];t&&t(r)})})},setLocalSearchHistory(t){this.searchHistoryList=t,this.searchHistoryList.length>this.maxSearchHistory&&this.searchHistoryList.splice(this.maxSearchHistory),jt()=="Safari"?$i("searchHistoryList",encodeURIComponent(JSON.stringify(this.searchHistoryList)),30,".kongfz.com"):Et.onConnect().then(()=>{Et.set("searchHistoryList",JSON.stringify(this.searchHistoryList))})},getHistoryOfSearchSynchronized(t){if(jt()=="Safari"){if(ki("historyOfSearchSynchronized")){let e=ki("historyOfSearchSynchronized");t&&t(e)}}else Et.onConnect().then(()=>{Et.get("historyOfSearchSynchronized").then(e=>{t&&t(e)})})},setHistoryOfSearchSynchronized(t){jt()=="Safari"?$i("historyOfSearchSynchronized",t,30,".kongfz.com"):Et.onConnect().then(()=>{Et.set("historyOfSearchSynchronized",t)})},uploadKeyWord(t){Z({method:"post",url:"/common-web/v1/api/word/upload",data:{history:[t]}}).then(()=>{}).catch(e=>{console.log(e)})},historyOfSearchSync(){this.getHistoryOfSearchSynchronized(t=>{+t||this.getLocalSearchHistory(e=>{e.length>0&&Z({method:"post",url:"/common-web/v1/api/word/upload",data:{history:e}}).then(r=>{r.data.data&&this.setHistoryOfSearchSynchronized(1)}).catch(r=>{console.error(r)})})})},searchHistoryClick(t,e){switch(this.mode){case"edit":this.deleteSearchHistory(t,e);break;case"subscribe":t.isSubscribed||this.subscribeSearchHistory(t,e);break;default:this.jumpUrl=t.jumpUrl,this.wordType=t.wordType,this.entityId=t.entityId,this.search_type=this.suggestList.length>0?"suggest_his":"history",this.search_pos=e,this.syncPlaceholderVisibleByWord(!0),this.searchWord=t.word,this.searchSubmit();break}},searchSubClick(t,e){this.jumpUrl=t.jumpUrl,this.wordType=t.wordType,this.entityId=t.entityId,this.search_type=this._getSearchType(t.wordType),this.search_pos=e,this.syncPlaceholderVisibleByWord(!0),this.searchWord=t.word||"",this.searchSubmit()},clearSearchHistory(){this.isLogin?Z({method:"get",url:"/common-web/v1/api/word/delete/all"}).then(t=>{t.data.data&&(this.historyBoxShow=!1)}):(this.historyBoxShow=!1,this.setLocalSearchHistory([]))},deleteSearchHistory(t,e){this.isLogin?Z({method:"get",url:"/pc-gw/search-web/client/pc/v2/api/word/delete/single",params:{query:t.word,wordType:t.wordType}}).then(r=>{r.data.data&&(this.historyList.splice(e,1),this.searchHistoryList.splice(e,1),this.historyList.length||(this.historyBoxShow=!1))}):(this.historyList.splice(e,1),this.searchHistoryList.splice(e,1),this.setLocalSearchHistory(this.searchHistoryList),this.historyList.length||(this.historyBoxShow=!1))},addLocalSearchHistory(t){this.isLogin||(this.getIndexOf(this.searchHistoryList,t)!=-1&&this.searchHistoryList.splice(this.getIndexOf(this.searchHistoryList,t),1),jt()=="Safari"&&(t.keyword=t.keyword.slice(0,20)),this.searchHistoryList.unshift(t),this.searchHistoryList.length>this.maxSearchHistory&&this.searchHistoryList.splice(this.maxSearchHistory),jt()=="Safari"?$i("searchHistoryList",encodeURIComponent(JSON.stringify(this.searchHistoryList)),30,".kongfz.com"):Et.onConnect().then(()=>{Et.set("searchHistoryList",JSON.stringify(this.searchHistoryList))}),this.setHistoryOfSearchSynchronized(0))},getIndexOf(t,e){for(let r=0;r{const{data:r,status:n}=e;if(n!==200||!r){Me.error("获取订阅信息失败,请稍后重试");return}r.status===1&&r.data?setTimeout(()=>{window.open("".concat(this.subscriptionLink,"?action=create&keyword=").concat(encodeURIComponent(t.word),"&refpage=historypanel"),"_blank")},0):r.errType==="100"?(this.isLogin=!1,this.handleLogin()):r.errType==="1001"?M8({customClass:"search-bar-subscription-message-box",message:r.message,confirmButtonType:"primary",confirmButtonText:"管理我的订阅",center:!0,showClose:!1,showCancelButton:!0,cancelButtonText:"我知道了",cancelButtonType:"default",beforeClose:(i,s,o)=>{i==="confirm"&&window.open(this.subscriptionLink+"?refpage=historypanel","_blank"),o()}}):Me.error(r.message||"获取订阅信息失败,请稍后重试")}).catch(e=>{console.log(e),Me.error(e.message||"获取订阅信息失败,请稍后重试")})},onSubscriptionClick(t){window.open("".concat(this.subscriptionLink,"new-arrivals/").concat(t.settingId,"?snapshotId=").concat(t.snapshotId,"&refpage=search"),"_blank")},handleChangeMode(t){switch(t){case"subscribe":this.isLogin?(this.mode="subscribe",window.track&&window.track.send&&window.track.send("v_historypanel",{userid:this._getUserId(),client:"pc",selfpage:"historypanel",selfpagename:"历史词面板"})):this.handleLogin();break;case"edit":this.mode="edit";break;case"none":this.mode="none";break}},handleLogin(){typeof window.loginWin=="function"?window.loginWin(this.site.s_login,"login"):window.location.href=this.site.s_login+"?mustLogin=1&returnUrl="+encodeURIComponent(window.location.href)},_getUserId(){return window.KFZ&&window.KFZ.userInfo?Number(window.KFZ.userInfo.userId||"0"):window.KFZ&&window.KFZ.user?Number(window.KFZ.user.userId||"0"):window.KFZ&&window.KFZ.session?Number(window.KFZ.session.userId||"0"):0},_resetWordType(){this.wordType="normal",this.jumpUrl="",this.entityId="0"},_resetSearchType(){this.abTestTag="-",this.search_type="active",this.search_pos=""},_resetSubscription(){this.subscriptionCountHasNewArrivals=0,this.hasSubscription=!1,this.subscriptionList=[]},_getSearchType(t){return t==="shopName"?"shop":u0.includes(t)?"Recognize":"suggest"}}},rj=["href"],nj=u("span",{class:"global-iconfont global-icon-logo red-logo"},null,-1),ij=[nj],sj=["href"],oj=u("span",{class:"global-iconfont global-icon-logo black-logo"},null,-1),aj=[oj],lj=["href"],cj=u("span",{class:"global-iconfont global-icon-logo-pm black-logo"},null,-1),uj=[cj],hj=["href"],fj=u("span",{class:"global-iconfont global-icon-logo-art black-logo"},null,-1),dj=[fj],pj=["href"],gj=u("span",{class:"global-iconfont global-icon-small-logo"},null,-1),vj={class:"small-logo-text"},yj=u("img",{src:KV,alt:"",class:"code-img"},null,-1),mj={class:"clearfix"},bj=["type"],_j=["type"],wj=u("div",{class:"indicator"},null,-1),Cj={class:"cur-status"},Aj={class:"text"},Sj=u("span",{class:"icon-tab-down"},null,-1),Tj=u("span",{class:"icon-tab-up"},null,-1),Ej={class:"text"},Ij={id:"searchHistoryBox",class:"search-history-box search-history-box-flag"},kj={class:"search-history-title"},xj=u("span",{class:"title-name"},"搜索历史",-1),Lj={class:"toggle_btns f_right"},Oj=u("img",{class:"icon_delete_img",src:QV,alt:""},null,-1),Nj=u("img",{class:"icon_delete_img_hover",src:WV,alt:""},null,-1),Rj=u("span",{class:"delete_btn_text"},"删除",-1),Dj=[Oj,Nj,Rj],Bj=u("span",{class:"text-divider"},null,-1),$j=u("img",{class:"icon_subscribe_img",src:GV,alt:""},null,-1),Pj=u("img",{class:"icon_subscribe_img_hover",src:ZV,alt:""},null,-1),Mj=u("span",{class:"subscribe_btn_text"},"订阅",-1),Fj=[$j,Pj,Mj],Uj={class:"edit_btns f_right"},zj={class:"subscribe_btns f_right"},Vj={key:0,class:"history-title"},jj=["onClick"],Hj={class:"text"},qj={class:"icon icon_delete_item"},Kj=u("img",{class:"icon_delete_item_img",src:YV,alt:""},null,-1),Qj=u("img",{class:"icon_delete_item_img_hover",src:JV,alt:""},null,-1),Wj=[Kj,Qj],Gj={class:"icon icon_subscribe_item"},Zj=u("img",{class:"icon_subscribe_item_img",src:XV,alt:""},null,-1),Yj=u("img",{class:"icon_subscribe_item_img_done",src:ej,alt:""},null,-1),Jj=[Zj,Yj],Xj={key:0,class:"search-sug-list"},eH=["onClick"],tH=["textContent"],rH={key:1,class:"is-highlight k_text_ellipsis"},nH={key:2,class:"k_text_ellipsis"},iH={class:"current-text"},sH={key:3,class:"k_text_ellipsis"},oH=["textContent"],aH={key:5,class:"global-iconfont global-icon-more"},lH=["href"],cH={class:"search-word-tag__content"},uH=["href"],hH=u("i",{class:"search-word-tag__icon global-iconfont global-icon-live"},null,-1),fH=u("span",{class:"search-word-tag__content"},"直播中",-1),dH=[hH,fH],pH=u("span",{class:"global-iconfont global-icon-search"},null,-1),gH={class:"current-text"},vH={key:1,class:"subscription-part mb-20"},yH={class:"subscription-title"},mH=u("span",null,"我的订阅",-1),bH=["href"],_H={key:0},wH={key:1},CH=u("i",{class:"global-iconfont global-icon-more f_right"},null,-1),AH={key:0,class:"subscription-list clearfix"},SH=["onClick"],TH=u("i",{class:"global-iconfont global-icon-search"},null,-1),EH={class:"subscription-item__text"},IH={class:"subscription-item__count"},kH={class:"search-link"},xH=u("ul",{id:"hotwordsList",class:"hotwords-list",style:{display:"none"}},null,-1),LH={key:0,class:"kong"};function OH(t,e,r,n,i,s){return g(),v("div",{class:T(["header-search-box",[i.layoutClassName,r.bgType===2?"index":""]])},[u("div",{class:T([i.fixedTopStatus?"fixed-top":""])},[u("div",{class:T(["header-search",{"hide-search":r.hideSearch}])},[r.logoType==1?(g(),v("a",{key:0,href:r.site.s_www,class:"logo-text clearfix"},ij,8,rj)):b("",!0),r.logoType==2?(g(),v("a",{key:1,href:r.site.s_www,class:"logo-text clearfix"},aj,8,sj)):b("",!0),r.logoType==3?(g(),v("a",{key:2,href:r.site.s_pm,class:"logo-text clearfix"},uj,8,lj)):b("",!0),r.logoType==4?(g(),v("a",{key:3,href:r.site.s_pm+"special",class:"logo-text clearfix"},dj,8,hj)):b("",!0),r.logoType==5?(g(),v("a",{key:4,href:r.site.s_user,class:"logo-text clearfix"},[u("span",{class:"small-logo",style:ve({color:r.logoColor})},[gj,u("span",vj,[u("span",{class:"dot",style:ve({backgroundColor:r.logoColor})},null,4),V(" "+C(r.logoText),1)])],4)],8,pj)):b("",!0),r.showQrCode?(g(),v("div",{key:5,id:"search-bar__code-box",class:T({dwarf:r.layout===1})},[yj,b("",!0)],2)):b("",!0),u("div",{class:T(["search-box",{short:r.layout===1&&r.logoType===4&&r.showQrCode}])},[u("div",mj,[u("form",{id:"searchForm",class:"search-con",onSubmit:e[20]||(e[20]=ue(o=>s.searchSubmit(),["prevent"]))},[u("div",{class:T(["search-type",i.searchInfo.searchType])},[u("div",{class:"item-type",type:i.searchInfo.searchType==="shop"?"shop":"",onClick:e[0]||(e[0]=o=>s.searchTypeChange("shop"))},"商品",8,bj),u("div",{class:"item-type",type:i.searchInfo.searchType==="pm"?"pm":"",onClick:e[1]||(e[1]=o=>s.searchTypeChange("pm"))},"拍卖区",8,_j),wj],2),u("div",{class:"search-input-box",onClick:e[18]||(e[18]=(...o)=>s.stopPropagationHide&&s.stopPropagationHide(...o))},[r.useStatusSelect?(g(),v("div",{key:0,class:T(["search-status-box",i.statusHoverClassName]),onMouseenter:e[3]||(e[3]=(...o)=>s.mouseenterFun&&s.mouseenterFun(...o)),onMouseleave:e[4]||(e[4]=(...o)=>s.mouseleaveFun&&s.mouseleaveFun(...o)),onClick:e[5]||(e[5]=(...o)=>s.searchStatusChangeClick&&s.searchStatusChangeClick(...o))},[u("div",Cj,[u("span",Aj,C(i.searchInfo[i.searchInfo.searchType][i.searchInfo.status]),1),Sj,Tj]),u("div",{class:"status-other",onClick:e[2]||(e[2]=ue((...o)=>s.searchStatusChange&&s.searchStatusChange(...o),["stop"]))},[u("div",Ej,C(i.searchInfo[i.searchInfo.searchType][i.searchInfo.status==1?0:1]),1)])],34)):b("",!0),le(u("input",{ref:"searchInput",type:"text",name:"searchWord","onUpdate:modelValue":e[6]||(e[6]=o=>i.searchWord=o),autocomplete:"off",maxlength:"200",style:ve({paddingRight:r.useStatusSelect?"84px":"10px"}),onClick:e[7]||(e[7]=(...o)=>s.inputClick&&s.inputClick(...o)),onBlur:e[8]||(e[8]=(...o)=>s.inputBlur&&s.inputBlur(...o)),onKeydown:e[9]||(e[9]=(...o)=>s.inputKeydown&&s.inputKeydown(...o)),onInput:e[10]||(e[10]=(...o)=>s.inputFun&&s.inputFun(...o)),onKeyup:e[11]||(e[11]=(...o)=>s.inputKeyup&&s.inputKeyup(...o))},null,36),[[k8,i.searchWord,void 0,{trim:!0}]]),le(u("label",{class:"search-label"},C(i.searchPlaceholder[i.searchInfo.searchType]),513),[[fe,i.placeholderShow]]),le(u("div",Ij,[le(u("div",kj,[xj,le(u("div",Lj,[u("span",{class:"delete_btn",onClick:e[12]||(e[12]=o=>s.handleChangeMode("edit"))},Dj),Bj,u("span",{class:"subscribe_btn",onClick:e[13]||(e[13]=o=>s.handleChangeMode("subscribe"))},Fj)],512),[[fe,i.mode==="none"]]),le(u("div",Uj,[u("span",{class:"delete_all_btn",onClick:e[14]||(e[14]=(...o)=>s.clearSearchHistory&&s.clearSearchHistory(...o))},"全部删除"),u("span",{class:"finish_btn",onClick:e[15]||(e[15]=o=>s.handleChangeMode("none"))},"完成")],512),[[fe,i.mode==="edit"]]),le(u("div",zj,[u("span",{class:"subscribe_finish_btn",onClick:e[16]||(e[16]=o=>s.handleChangeMode("none"))},"完成")],512),[[fe,i.mode==="subscribe"]])],512),[[fe,!i.suggestList.length]]),u("ul",{class:T(["search-history-list",{editor:i.mode==="edit",subscribe:i.mode==="subscribe","mb-6":i.suggestList.length>0,"mb-20":i.suggestList.length===0}])},[i.suggestList.length&&i.historyList.length>0?(g(),v("li",Vj,"搜索历史")):b("",!0),(g(!0),v(P,null,oe(i.historyList,(o,a)=>(g(),v("li",{class:T(["search-history-item",{"is-subscribed":o.isSubscribed}]),key:o.word+a,onClick:l=>s.searchHistoryClick(o,a)},[i.SearchWordUIConfigMap[o.wordType]&&i.SearchWordUIConfigMap[o.wordType].icon?(g(),v("i",{key:0,class:T(i.SearchWordUIConfigMap[o.wordType].icon)},null,2)):b("",!0),u("span",Hj,C(o.word),1),le(u("i",qj,Wj,512),[[fe,i.mode==="edit"]]),le(u("i",Gj,Jj,512),[[fe,i.mode==="subscribe"]])],10,jj))),128))],2),i.suggestList.length>0?(g(),v("ul",Xj,[(g(!0),v(P,null,oe(i.suggestList,(o,a)=>(g(),v("li",{class:T(["search-sug-item k_flex k_justify_start k_align_items_center",i.currentSugIndex-1==a?"sug_hover":""]),key:o.word+a,onClick:l=>s.searchSubClick(o,a)},[i.SearchWordUIConfigMap[o.wordType]?(g(),v(P,{key:0},[u("i",{class:T(["search-sug-item__icon",i.SearchWordUIConfigMap[o.wordType].icon])},null,2),i.SearchWordUIConfigMap[o.wordType].prefix?(g(),v("span",{key:0,class:"search-sug-item__prefix",textContent:C(i.SearchWordUIConfigMap[o.wordType].prefix)},null,8,tH)):b("",!0),o.segmentTypes&&o.segmentTypes.length>0?(g(),v("span",rH,C(o.segmentTypes[0].word),1)):i.sugKey&&o.word.indexOf(i.sugKey)===0&&o.wordType==="normal"?(g(),v("span",nH,[u("span",iH,C(i.sugKey),1),u("span",null,C(o.word.replace(i.sugKey,"")),1)])):(g(),v("span",sH,C(o.word),1)),i.SearchWordUIConfigMap[o.wordType].suffix?(g(),v("span",{key:4,class:"search-sug-item__suffix",textContent:C(i.SearchWordUIConfigMap[o.wordType].suffix)},null,8,oH)):b("",!0),i.SearchWordUIConfigMap[o.wordType].useLinkIcon?(g(),v("i",aH)):b("",!0),o.segmentTypes&&o.segmentTypes.length?(g(!0),v(P,{key:6},oe(o.segmentTypes.slice(1),l=>(g(),v("a",{key:l.intentType+"_"+l.word,href:l.jumpLink||"javascript:;",class:"search-word-tag"},[i.SearchWordTagUIConfigMap[l.intentType]&&i.SearchWordTagUIConfigMap[l.intentType].icon?(g(),v("i",{key:0,class:T(["search-word-tag__icon",i.SearchWordTagUIConfigMap[l.intentType].icon])},null,2)):b("",!0),u("span",cH,C(l.word),1)],8,lH))),128)):b("",!0),o.liveUrl?(g(),v("a",{key:7,href:o.liveUrl,class:"search-word-tag is-live-tag",target:"_blank",onClick:e[17]||(e[17]=ue(()=>{},["stop"]))},dH,8,uH)):b("",!0)],64)):(g(),v(P,{key:1},[pH,u("span",gH,C(i.sugKey),1),u("span",null,C(o.word.replace(i.sugKey,"")),1)],64))],10,eH))),128))])):b("",!0),i.isLogin&&i.hasSubscription?le((g(),v("div",vH,[u("h3",yH,[mH,u("a",{href:i.subscriptionLink+"?refpage=search",target:"_blank",class:"subscription-link f_right"},[i.subscriptionCountHasNewArrivals>0?(g(),v("span",_H,C(i.subscriptionCountHasNewArrivals)+"个订阅有上新",1)):(g(),v("span",wH,"暂无订阅上新")),CH],8,bH)]),i.subscriptionList.length>0?(g(),v("ul",AH,[(g(!0),v(P,null,oe(i.subscriptionList,o=>(g(),v("li",{key:o.settingId,class:"subscription-item f_left",onClick:a=>s.onSubscriptionClick(o)},[TH,u("span",EH,C(o.keyword),1),u("span",IH,C(o.newItemNumText),1)],8,SH))),128))])):b("",!0)],512)),[[fe,i.mode==="none"]]):b("",!0)],512),[[fe,i.historyBoxShow]])]),u("div",{id:"searchBtn",class:T(["btn",{"is-loading":r.isSearching}]),onClick:e[19]||(e[19]=o=>s.searchSubmit(!0))},"搜索",2)],32),u("div",kH,[u("a",{class:"adv-search-btn",href:"javascript:;",rel:"nofollow",onClick:e[21]||(e[21]=(...o)=>s.advSearch&&s.advSearch(...o))},"高级搜索")])]),xH],2)],2)],2),i.fixedTopStatus?(g(),v("div",LH)):b("",!0)],2)}const NH=ye(tj,[["render",OH]]),mie=ze(NH),RH={name:"KQuickMenu",props:{quickType:{type:Number,default:3},site:{type:Object}},data(){return{unreadNum:0,cartNum:0,bidNum:0,showTopStatus:!1,feedbackUrl:this.site.s_help+"feedback/?returnUrl="+encodeURIComponent(location.href)}},computed:{collectUrl(){return this.quickType===1?"".concat(this.site.s_user,"user-views/pc-favorite/products"):"".concat(this.site.s_pm,"pm-buyer/bid-manage-pc/favorite")}},created(){this.$eventBus.on("msgNotice",t=>{this.unreadNum=t.unreadNum}),this.$eventBus.on("cartNumNotice",t=>{this.cartNum=t.cartNum})},mounted(){this.getBidNum(),document.addEventListener("scroll",()=>{this.showTop()})},methods:{async getBidNum(){const t=await Z.get("/common-web/v1/api/bidding/itemNum");t.status&&+t.data&&(t.data>99?this.bidNum="99+":this.bidNum=t.data)},showTop:FV(function(){(document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop)>window.innerHeight?this.showTopStatus=!0:this.showTopStatus=!1},10),goTop(){window.scrollTo(0,0)}}},DH={class:"quick-menu-wrap"},BH={key:0},$H=["href"],PH=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-quick-cart"})],-1),MH=u("div",{class:"fixedtool_line"},null,-1),FH=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"购物车"),u("div",{class:"quick-mark"})],-1),UH={key:1},zH=["href"],VH=it('
新手指南
新手指南
',3),jH=[VH],HH={key:2,class:"first quick-bid"},qH=["href"],KH=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-bid"})],-1),QH={key:0,class:"quick-num"},WH=u("div",{class:"fixedtool_line"},null,-1),GH=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"我的竞拍"),u("div",{class:"quick-mark"})],-1),ZH=["href"],YH=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-message"})],-1),JH={key:0,class:"quick-num"},XH=u("div",{class:"fixedtool_line"},null,-1),eq=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"我的消息"),u("div",{class:"quick-mark"})],-1),tq={key:3},rq=["href"],nq=it('
我的收藏
',3),iq=[nq],sq={class:"feed-back"},oq=["href"],aq=it('
意见反馈
',3),lq=[aq],cq=it('
返回顶部
',2),uq=[cq];function hq(t,e,r,n,i,s){return g(),v("div",DH,[u("ul",null,[r.quickType===1?(g(),v("li",BH,[u("a",{target:"_blank",href:r.site.s_cart+"store-cart/cart/"},[PH,le(u("div",{class:"quick-num",id:"cart-count"},C(i.cartNum>99?"99+":i.cartNum),513),[[fe,i.cartNum>0]]),MH,FH],8,$H)])):b("",!0),r.quickType===2?(g(),v("li",UH,[u("a",{target:"_blank",href:r.site.s_help+"?act=list&catId=2020000"},jH,8,zH)])):b("",!0),r.quickType===2?(g(),v("li",HH,[u("a",{href:r.site.s_pm+"pm-buyer/bid-manage-pc/",target:"_blank"},[KH,i.bidNum>0?(g(),v("div",QH,C(i.bidNum>99?"99+":i.bidNum),1)):b("",!0),WH,GH],8,qH)])):b("",!0),u("li",null,[u("a",{target:"_blank",href:r.site.s_message+"message/index/index.html",class:"msg"},[YH,i.unreadNum>0?(g(),v("div",JH,C(i.unreadNum>99?"99+":i.unreadNum),1)):b("",!0),XH,eq],8,ZH)]),r.quickType===1||r.quickType===2?(g(),v("li",tq,[u("a",{target:"_blank",href:s.collectUrl},iq,8,rq)])):b("",!0),u("li",sq,[u("a",{href:i.feedbackUrl,target:"_blank"},lq,8,oq)]),i.showTopStatus?(g(),v("li",{key:4,class:"last backTop",onClick:e[0]||(e[0]=(...o)=>s.goTop&&s.goTop(...o))},uq)):b("",!0)])])}const fq=ye(RH,[["render",hq]]),dq=ze(fq),pq={name:"KBizFooter",props:{top:{type:String,default:"150px"},layout:{type:Number,default:1},type:{type:Number,default:1},site:{type:Object}},data(){return{year:new Date().getFullYear(),layoutClassName:""}},mounted(){this.layout==1&&(this.layoutClassName=""),this.layout==2&&(this.layoutClassName="w_1200"),this.layout==3&&(this.layoutClassName="w-auto")}},gq={class:"f_left mar-top20"},vq={class:"f_right link_box mar-top20"},yq=["href"],mq=["href"],bq=["href"],_q=["href"],wq=["href"],Cq=["href"],Aq=["href"],Sq=["href"],Tq=["href"],Eq=["href"],Iq=["href"],kq={class:"mar-top20"},xq={class:"mar-top12 link_box"},Lq=u("span",{class:"mar-r15"},"Copyright © 孔夫子拍卖网",-1),Oq={class:"mar-r15"},Nq=u("a",{target:"_blank",href:"https://beian.miit.gov.cn/#/Integrated/index"},"京ICP备2023030489号-1",-1),Rq=u("span",null," | ",-1),Dq=u("a",{href:"https://static.kongfz.com/pm-web/static/assets/images/icp-2024.jpg",target:"_blank"},"ICP",-1),Bq=u("a",{href:"https://beian.mps.gov.cn/#/query/webSearch?code=11010502055726",rel:"noreferrer",target:"_blank"},"京公网安备11010502055726",-1),$q={key:2,class:"mar-top20 link_box text-center"},Pq=u("span",{class:"mar-r15"},"Copyright © 孔夫子拍卖网",-1),Mq={class:"mar-r15"},Fq=u("a",{target:"_blank",href:"https://beian.miit.gov.cn/#/Integrated/index"},"京ICP备2023030489号-1",-1),Uq=u("span",null," | ",-1),zq=u("a",{href:"https://static.kongfz.com/pm-web/static/assets/images/icp-2024.jpg",target:"_blank"},"ICP",-1),Vq=u("a",{href:"https://beian.mps.gov.cn/#/query/webSearch?code=11010502055726",rel:"noreferrer",target:"_blank"},"京公网安备11010502055726",-1);function jq(t,e,r,n,i,s){return g(),v("div",{class:T(["footer",i.layoutClassName])},[u("div",{class:"foot_box clearfix",style:ve({marginTop:r.top})},[r.type===1||r.type===2?(g(),v(P,{key:0},[u("div",gq," © 2002-"+C(i.year)+" Kongfz.com 孔夫子旧书网 版权所有 ",1),u("div",vq,[u("a",{target:"_blank",href:r.site.s_www+"help/aboutus.php"},"关于孔网",8,yq),u("a",{target:"_blank",href:r.site.s_www+"help/lianxi.html"},"联系我们",8,mq),u("a",{target:"_blank",href:r.site.s_help},"帮助中心",8,bq),u("a",{target:"_blank",href:r.site.s_www+"help/copyright.php"},"版权隐私",8,_q),u("a",{target:"_blank",href:r.site.s_www+"help/guanggao.php"},"广告业务",8,wq),u("a",{target:"_blank",href:r.site.s_www+"help/zhaopin.php"},"工作机会",8,Cq),u("a",{target:"_blank",href:r.site.m},"移动版",8,Aq),r.type===2?(g(),v(P,{key:0},[u("a",{target:"_blank",href:r.site.s_book},"图书目录",8,Sq),u("a",{target:"_blank",href:r.site.s_bq},"图书标签",8,Tq),u("a",{target:"_blank",href:r.site.s_www+"topic/"},"热搜书籍",8,Eq),u("a",{target:"_blank",href:r.site.s_www+"writer/"},"作家大全",8,Iq)],64)):b("",!0)])],64)):b("",!0),r.type===3?(g(),v(P,{key:1},[u("div",kq,"© 2002-"+C(i.year)+" Kongfz.com 孔夫子旧书网 版权所有",1),u("div",xq,[Lq,u("span",Oq,"2002-"+C(i.year)+" , All Rights Reserved",1),Nq,Rq,Dq,Bq])],64)):b("",!0),r.type===4?(g(),v("div",$q,[Pq,u("span",Mq,"2002-"+C(i.year)+" , All Rights Reserved",1),Fq,Uq,zq,Vq])):b("",!0)],4)],2)}const Hq=ye(pq,[["render",jq]]),qq=ze(Hq);class Kq{constructor(e=!0){this.storage=e?localStorage:sessionStorage}setItem(e,r){typeof r=="object"&&(r=JSON.stringify(r)),this.storage.setItem(e,r)}getItem(e){try{return JSON.parse(this.storage.getItem(e))}catch(r){return this.storage.getItem(e)}}removeItem(e){this.storage.removeItem(e)}clear(){this.storage.clear()}key(e){return this.storage.key(e)}length(){return this.storage.length}}const jn=new Kq,Qq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-100%3c/title%3e%3cg%20id='icon-100'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M9,1.5%20C4.85786263,1.5%201.5,4.85786263%201.5,9%20C1.5,13.1421374%204.85786263,16.5%209,16.5%20C13.1421374,16.5%2016.5,13.1421374%2016.5,9%20C16.5,4.85786263%2013.1421374,1.5%209,1.5%20Z%20M9,2.5%20C12.5898526,2.5%2015.5,5.41014737%2015.5,9%20C15.5,12.5898526%2012.5898526,15.5%209,15.5%20C5.41014737,15.5%202.5,12.5898526%202.5,9%20C2.5,5.41014737%205.41014737,2.5%209,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,4.65%20C7.75736763,4.65%206.75,5.65736763%206.75,6.9%20C6.75,8.14263237%207.75736763,9.15%209,9.15%20C10.2426324,9.15%2011.25,8.14263237%2011.25,6.9%20C11.25,5.65736763%2010.2426324,4.65%209,4.65%20Z%20M9,5.65%20C9.69034763,5.65%2010.25,6.20965237%2010.25,6.9%20C10.25,7.59034763%209.69034763,8.15%209,8.15%20C8.30965237,8.15%207.75,7.59034763%207.75,6.9%20C7.75,6.20965237%208.30965237,5.65%209,5.65%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.4,10.25%20C12.5066671,10.25%2014.2484513,11.8837824%2014.3906924,13.9750246%20C14.4094316,14.2505304%2014.2012812,14.4890632%2013.9257754,14.5078024%20C13.6502696,14.5265416%2013.4117368,14.3183912%2013.3929976,14.0428854%20C13.2863892,12.4755185%2011.9798573,11.25%2010.4,11.25%20L7.6,11.25%20C6.01784073,11.25%204.71016781,12.4789873%204.60661613,14.0491043%20C4.58844359,14.3246481%204.35033947,14.5332887%204.0747957,14.5151161%20C3.79925193,14.4969436%203.59061132,14.2588395%203.60878387,13.9832957%20C3.74694435,11.8884178%205.49026147,10.25%207.6,10.25%20L10.4,10.25%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Wq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-100-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='0%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%23FFFFFF'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23EB2F3C'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-100-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M1.90325188,11.4152041%20C2.12348215,8.07593139%205.07947732,5.25126904%208.47449645,5.25126904%20L9.27437729,5.25126904%20C12.6649111,5.25126904%2016.3256126,8.06894707%2016.5523146,11.4019403%20C13.4380402,14.633286%2010.8893552,16.249729%208.90625944,16.251269%20C6.90883523,16.2526765%204.57449938,14.6406548%201.90325188,11.4152041%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M9,1.5%20C4.85786263,1.5%201.5,4.85786263%201.5,9%20C1.5,13.1421374%204.85786263,16.5%209,16.5%20C13.1421374,16.5%2016.5,13.1421374%2016.5,9%20C16.5,4.85786263%2013.1421374,1.5%209,1.5%20Z%20M9,2.5%20C12.5898526,2.5%2015.5,5.41014737%2015.5,9%20C15.5,12.5898526%2012.5898526,15.5%209,15.5%20C5.41014737,15.5%202.5,12.5898526%202.5,9%20C2.5,5.41014737%205.41014737,2.5%209,2.5%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,4.65%20C7.75736763,4.65%206.75,5.65736763%206.75,6.9%20C6.75,8.14263237%207.75736763,9.15%209,9.15%20C10.2426324,9.15%2011.25,8.14263237%2011.25,6.9%20C11.25,5.65736763%2010.2426324,4.65%209,4.65%20Z%20M9,5.65%20C9.69034763,5.65%2010.25,6.20965237%2010.25,6.9%20C10.25,7.59034763%209.69034763,8.15%209,8.15%20C8.30965237,8.15%207.75,7.59034763%207.75,6.9%20C7.75,6.20965237%208.30965237,5.65%209,5.65%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.4,10.25%20C12.5066671,10.25%2014.2484513,11.8837824%2014.3906924,13.9750246%20C14.4094316,14.2505304%2014.2012812,14.4890632%2013.9257754,14.5078024%20C13.6502696,14.5265416%2013.4117368,14.3183912%2013.3929976,14.0428854%20C13.2863892,12.4755185%2011.9798573,11.25%2010.4,11.25%20L7.6,11.25%20C6.01784073,11.25%204.71016781,12.4789873%204.60661613,14.0491043%20C4.58844359,14.3246481%204.35033947,14.5332887%204.0747957,14.5151161%20C3.79925193,14.4969436%203.59061132,14.2588395%203.60878387,13.9832957%20C3.74694435,11.8884178%205.49026147,10.25%207.6,10.25%20L10.4,10.25%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Gq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-101%3c/title%3e%3cg%20id='icon-101'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M9.44324408,1.52005847%20L9.3502452,1.50222066%20L9.2559703,1.50222066%20C9.22461572,1.50518559%209.19347304,1.5111195%209.16296684,1.52002244%20L2.85992308,3.3595063%20C2.64662821,3.42175439%202.5,3.61729131%202.5,3.83948385%20L2.5,7.61007505%20C2.5,11.7226936%205.10473778,15.1295%209.14292916,16.4746247%20C9.24551627,16.5087966%209.35641664,16.5087916%209.4590007,16.4746106%20C13.4961565,15.1294304%2016.1000675,11.7234466%2016.1000675,7.61182506%20L16.1000675,3.83948385%20C16.1000675,3.61733892%2015.953501,3.4218319%2015.7402678,3.35954232%20L9.44324408,1.52005847%20Z%20M9.302,2.52%20L15.1000675,4.214%20L15.1000675,7.61182506%20L15.0955121,7.89280718%20C14.9833523,11.3422611%2012.8077436,14.1909041%209.42019215,15.4290484%20L9.3,15.47%20L9.18157726,15.4290351%20C5.70151624,14.1574166%203.5,11.1862965%203.5,7.61007505%20L3.5,4.214%20L9.302,2.52%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.2188527,6.31311883%20C12.4141148,6.11785669%2012.7306973,6.11785669%2012.9259594,6.31311883%20C13.1212216,6.50838098%2013.1212216,6.82496347%2012.9259594,7.02022561%20L9.23812684,10.7080582%20C9.0428647,10.9033203%208.72628221,10.9033203%208.53102006,10.7080582%20L6.37978439,8.55682252%20C6.18452224,8.36156038%206.18452224,8.04497789%206.37978439,7.84971574%20C6.57504653,7.6544536%206.89162902,7.6544536%207.08689117,7.84971574%20L8.88433778,9.64767222%20L12.2188527,6.31311883%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Zq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-101-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='0%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%23FFFFFF'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23EB2F3C'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-101-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3.3267563,5.80501534%20L9.39632872,4.33345278%20L15.4601041,5.80501534%20L15.4601041,8.82283801%20C15.4601041,11.9947821%2013.0166501,14.5307695%209.39430649,15.5334661%20C5.77098551,14.5307975%203.3267563,11.9941661%203.3267563,8.82143802%20L3.3267563,5.80501534%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M9.44324408,1.52005847%20L9.3502452,1.50222066%20L9.2559703,1.50222066%20C9.22461572,1.50518559%209.19347304,1.5111195%209.16296684,1.52002244%20L2.85992308,3.3595063%20C2.64662821,3.42175439%202.5,3.61729131%202.5,3.83948385%20L2.5,7.61007505%20C2.5,11.7226936%205.10473778,15.1295%209.14292916,16.4746247%20C9.24551627,16.5087966%209.35641664,16.5087916%209.4590007,16.4746106%20C13.4961565,15.1294304%2016.1000675,11.7234466%2016.1000675,7.61182506%20L16.1000675,3.83948385%20C16.1000675,3.61733892%2015.953501,3.4218319%2015.7402678,3.35954232%20L9.44324408,1.52005847%20Z%20M9.302,2.52%20L15.1000675,4.214%20L15.1000675,7.61182506%20L15.0955121,7.89280718%20C14.9833523,11.3422611%2012.8077436,14.1909041%209.42019215,15.4290484%20L9.3,15.47%20L9.18157726,15.4290351%20C5.70151624,14.1574166%203.5,11.1862965%203.5,7.61007505%20L3.5,4.214%20L9.302,2.52%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.2188527,6.31311883%20C12.4141148,6.11785669%2012.7306973,6.11785669%2012.9259594,6.31311883%20C13.1212216,6.50838098%2013.1212216,6.82496347%2012.9259594,7.02022561%20L9.23812684,10.7080582%20C9.0428647,10.9033203%208.72628221,10.9033203%208.53102006,10.7080582%20L6.37978439,8.55682252%20C6.18452224,8.36156038%206.18452224,8.04497789%206.37978439,7.84971574%20C6.57504653,7.6544536%206.89162902,7.6544536%207.08689117,7.84971574%20L8.88433778,9.64767222%20L12.2188527,6.31311883%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Yq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-102%3c/title%3e%3cg%20id='icon-102'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M15.1176471,4.32352941%20L3,4.32352941%20C2.17157288,4.32352941%201.5,4.99510229%201.5,5.82352941%20L1.5,14%20C1.5,14.8284271%202.17157288,15.5%203,15.5%20L15.1176471,15.5%20C15.9460742,15.5%2016.6176471,14.8284271%2016.6176471,14%20L16.6176471,5.82352941%20C16.6176471,4.99510229%2015.9460742,4.32352941%2015.1176471,4.32352941%20Z%20M15.1176471,5.32352941%20C15.3937894,5.32352941%2015.6176471,5.54738704%2015.6176471,5.82352941%20L15.6176471,14%20C15.6176471,14.2761424%2015.3937894,14.5%2015.1176471,14.5%20L3,14.5%20C2.72385763,14.5%202.5,14.2761424%202.5,14%20L2.5,5.82352941%20C2.5,5.54738704%202.72385763,5.32352941%203,5.32352941%20L15.1176471,5.32352941%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.70527014,1.64644661%20L5.88174073,4.46997602%20C5.5667583,4.78495845%205.78984169,5.32352941%206.23529412,5.32352941%20L11.8823529,5.32352941%20C12.3278054,5.32352941%2012.5508888,4.78495845%2012.2359063,4.46997602%20L9.41237692,1.64644661%20C9.21711477,1.45118446%208.90053228,1.45118446%208.70527014,1.64644661%20Z%20M9.05829412,2.707%20L10.6742941,4.323%20L7.44229412,4.323%20L9.05829412,2.707%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.1764706,7.5%20C11.452613,7.5%2011.6764706,7.72385763%2011.6764706,8%20C11.6764706,8.27614237%2011.452613,8.5%2011.1764706,8.5%20L4.82352941,8.5%20C4.54738704,8.5%204.32352941,8.27614237%204.32352941,8%20C4.32352941,7.72385763%204.54738704,7.5%204.82352941,7.5%20L11.1764706,7.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.64705882,10.3235294%20C7.9232012,10.3235294%208.14705882,10.547387%208.14705882,10.8235294%20C8.14705882,11.0996718%207.9232012,11.3235294%207.64705882,11.3235294%20L4.82352941,11.3235294%20C4.54738704,11.3235294%204.32352941,11.0996718%204.32352941,10.8235294%20C4.32352941,10.547387%204.54738704,10.3235294%204.82352941,10.3235294%20L7.64705882,10.3235294%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Jq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-102-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='0%25'%20x2='50%25'%20y2='99.2182378%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%23FFFFFF'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23EB2F3C'%20stop-opacity='0.6'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-102-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3crect%20id='path'%20fill='url(%23linearGradient-1)'%20x='2'%20y='6'%20width='14.1176471'%20height='9'%20rx='1'%3e%3c/rect%3e%3cpath%20d='M15.1176471,4.32352941%20L3,4.32352941%20C2.17157288,4.32352941%201.5,4.99510229%201.5,5.82352941%20L1.5,14%20C1.5,14.8284271%202.17157288,15.5%203,15.5%20L15.1176471,15.5%20C15.9460742,15.5%2016.6176471,14.8284271%2016.6176471,14%20L16.6176471,5.82352941%20C16.6176471,4.99510229%2015.9460742,4.32352941%2015.1176471,4.32352941%20Z%20M15.1176471,5.32352941%20C15.3937894,5.32352941%2015.6176471,5.54738704%2015.6176471,5.82352941%20L15.6176471,14%20C15.6176471,14.2761424%2015.3937894,14.5%2015.1176471,14.5%20L3,14.5%20C2.72385763,14.5%202.5,14.2761424%202.5,14%20L2.5,5.82352941%20C2.5,5.54738704%202.72385763,5.32352941%203,5.32352941%20L15.1176471,5.32352941%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.70527014,1.64644661%20L5.88174073,4.46997602%20C5.5667583,4.78495845%205.78984169,5.32352941%206.23529412,5.32352941%20L11.8823529,5.32352941%20C12.3278054,5.32352941%2012.5508888,4.78495845%2012.2359063,4.46997602%20L9.41237692,1.64644661%20C9.21711477,1.45118446%208.90053228,1.45118446%208.70527014,1.64644661%20Z%20M9.05829412,2.707%20L10.6742941,4.323%20L7.44229412,4.323%20L9.05829412,2.707%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.1764706,7.5%20C11.452613,7.5%2011.6764706,7.72385763%2011.6764706,8%20C11.6764706,8.27614237%2011.452613,8.5%2011.1764706,8.5%20L4.82352941,8.5%20C4.54738704,8.5%204.32352941,8.27614237%204.32352941,8%20C4.32352941,7.72385763%204.54738704,7.5%204.82352941,7.5%20L11.1764706,7.5%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.64705882,10.3235294%20C7.9232012,10.3235294%208.14705882,10.547387%208.14705882,10.8235294%20C8.14705882,11.0996718%207.9232012,11.3235294%207.64705882,11.3235294%20L4.82352941,11.3235294%20C4.54738704,11.3235294%204.32352941,11.0996718%204.32352941,10.8235294%20C4.32352941,10.547387%204.54738704,10.3235294%204.82352941,10.3235294%20L7.64705882,10.3235294%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Xq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-103%3c/title%3e%3cg%20id='icon-103'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.8333333,1.5%20L3.16666667,1.5%20C2.24619007,1.5%201.5,2.24619351%201.5,3.16667056%20L1.5,14.8333333%20C1.5,15.7538191%202.24620662,16.5%203.16668611,16.5%20L14.8333333,16.5%20C15.7538257,16.5%2016.5,15.7538257%2016.5,14.8333333%20L16.5,3.16667833%20C16.5,2.24619649%2015.7538207,1.5%2014.8333333,1.5%20Z%20M14.8333333,2.5%20C15.2015308,2.5%2015.5,2.79847609%2015.5,3.16667833%20L15.5,14.8333333%20C15.5,15.201541%2015.201541,15.5%2014.8333333,15.5%20L3.16668611,15.5%20C2.79848364,15.5%202.5,15.2015267%202.5,14.8333333%20L2.5,3.16667056%20C2.5,2.79847723%202.79847585,2.5%203.16666667,2.5%20L14.8333333,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.55075516,6.56954243%20L7.53982222,8.63051667%20L5.24407426,8.96410232%20L5.16008744,8.98339279%20C4.81312457,9.09435454%204.69130333,9.54761691%204.96628711,9.81645428%20L6.62982222,11.4425167%20L6.23337156,13.7029267%20L6.22549308,13.783596%20C6.21853077,14.1528761%206.61781607,14.4137038%206.96103088,14.2307357%20L8.99982222,13.1435167%20L11.0390067,14.2307558%20L11.1131913,14.2632666%20C11.461822,14.3844678%2011.8335615,14.086407%2011.766737,13.7035464%20L11.3718222,11.4435167%20L13.0340632,9.81614951%20L13.090453,9.75108716%20C13.3050079,9.45707725%2013.1365441,9.01959279%2012.7563567,8.96415933%20L10.4708222,8.63051667%20L9.44764058,6.56723541%20C9.26333549,6.19587956%208.73314738,6.19724334%208.55075516,6.56954243%20Z%20M9.00182222,7.91851667%20L9.69265942,9.3103257%20L9.74415971,9.39283165%20C9.82265126,9.49491201%209.93849842,9.56387349%2010.0683933,9.58281289%20L11.6128222,9.80751667%20L10.484659,10.9132283%20L10.4219229,10.9879911%20C10.3489301,11.0946075%2010.3193012,11.2266467%2010.3419519,11.3564203%20L10.6048222,12.8655167%20L9.2349433,12.1360331%20L9.14368319,12.0984236%20C9.01855732,12.0608156%208.88215494,12.0733592%208.76455245,12.1360531%20L7.39582222,12.8645167%20L7.66120622,11.3570399%20L7.66864891,11.2595081%20C7.66581683,11.1300458%207.61270953,11.0052265%207.51829623,10.9129235%20L6.38882222,9.80851667%20L7.94544796,9.5828699%20C8.10887422,9.55917366%208.2500605,9.45631394%208.32271151,9.30801868%20L9.00182222,7.91851667%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.2105611,4.07895556%20C11.4867035,4.07895556%2011.7105611,4.30281318%2011.7105611,4.57895556%20C11.7105611,4.85509793%2011.4867035,5.07895556%2011.2105611,5.07895556%20L6.78951667,5.07895556%20C6.51337429,5.07895556%206.28951667,4.85509793%206.28951667,4.57895556%20C6.28951667,4.30281318%206.51337429,4.07895556%206.78951667,4.07895556%20L11.2105611,4.07895556%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",eK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-103-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='0%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%23FFFFFF'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23EB2F3C'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-103-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M16,15.1666667%20L16,6.83334167%20C16,6.37310278%2015.4776833,6%2014.8333333,6%20L3.16666667,6%20C2.52233222,6%202,6.37309722%202,6.83333611%20L2,15.1666667%20C2,15.6269167%202.52235556,16%203.16668611,16%20L14.8333333,16%20C15.4776833,16%2016,15.6269167%2016,15.1666667%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M14.8333333,1.5%20L3.16666667,1.5%20C2.24619007,1.5%201.5,2.24619351%201.5,3.16667056%20L1.5,14.8333333%20C1.5,15.7538191%202.24620662,16.5%203.16668611,16.5%20L14.8333333,16.5%20C15.7538257,16.5%2016.5,15.7538257%2016.5,14.8333333%20L16.5,3.16667833%20C16.5,2.24619649%2015.7538207,1.5%2014.8333333,1.5%20Z%20M14.8333333,2.5%20C15.2015308,2.5%2015.5,2.79847609%2015.5,3.16667833%20L15.5,14.8333333%20C15.5,15.201541%2015.201541,15.5%2014.8333333,15.5%20L3.16668611,15.5%20C2.79848364,15.5%202.5,15.2015267%202.5,14.8333333%20L2.5,3.16667056%20C2.5,2.79847723%202.79847585,2.5%203.16666667,2.5%20L14.8333333,2.5%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.55075516,6.56954243%20L7.53982222,8.63051667%20L5.24407426,8.96410232%20L5.16008744,8.98339279%20C4.81312457,9.09435454%204.69130333,9.54761691%204.96628711,9.81645428%20L6.62982222,11.4425167%20L6.23337156,13.7029267%20L6.22549308,13.783596%20C6.21853077,14.1528761%206.61781607,14.4137038%206.96103088,14.2307357%20L8.99982222,13.1435167%20L11.0390067,14.2307558%20L11.1131913,14.2632666%20C11.461822,14.3844678%2011.8335615,14.086407%2011.766737,13.7035464%20L11.3718222,11.4435167%20L13.0340632,9.81614951%20L13.090453,9.75108716%20C13.3050079,9.45707725%2013.1365441,9.01959279%2012.7563567,8.96415933%20L10.4708222,8.63051667%20L9.44764058,6.56723541%20C9.26333549,6.19587956%208.73314738,6.19724334%208.55075516,6.56954243%20Z%20M9.00182222,7.91851667%20L9.69265942,9.3103257%20L9.74415971,9.39283165%20C9.82265126,9.49491201%209.93849842,9.56387349%2010.0683933,9.58281289%20L11.6128222,9.80751667%20L10.484659,10.9132283%20L10.4219229,10.9879911%20C10.3489301,11.0946075%2010.3193012,11.2266467%2010.3419519,11.3564203%20L10.6048222,12.8655167%20L9.2349433,12.1360331%20L9.14368319,12.0984236%20C9.01855732,12.0608156%208.88215494,12.0733592%208.76455245,12.1360531%20L7.39582222,12.8645167%20L7.66120622,11.3570399%20L7.66864891,11.2595081%20C7.66581683,11.1300458%207.61270953,11.0052265%207.51829623,10.9129235%20L6.38882222,9.80851667%20L7.94544796,9.5828699%20C8.10887422,9.55917366%208.2500605,9.45631394%208.32271151,9.30801868%20L9.00182222,7.91851667%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.2105611,4.07895556%20C11.4867035,4.07895556%2011.7105611,4.30281318%2011.7105611,4.57895556%20C11.7105611,4.85509793%2011.4867035,5.07895556%2011.2105611,5.07895556%20L6.78951667,5.07895556%20C6.51337429,5.07895556%206.28951667,4.85509793%206.28951667,4.57895556%20C6.28951667,4.30281318%206.51337429,4.07895556%206.78951667,4.07895556%20L11.2105611,4.07895556%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",tK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-200%3c/title%3e%3cg%20id='icon-200'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3.10526316,5.52631579%20L3.10526316,13.6513158%20C3.10526316,14.6868783%203.60894441,15.5263158%204.23026316,15.5263158%20L13.9802632,15.5263158%20C14.6016007,15.5263158%2015.1052632,14.6868783%2015.1052632,13.6513158%20L15.1052632,5.52631579%20L3.10526316,5.52631579%20Z'%20id='path'%3e%3c/path%3e%3cpath%20d='M14.8947368,9.13157895%20C15.1708792,9.13157895%2015.3947368,9.35543657%2015.3947368,9.63157895%20L15.3947368,14.4210526%20C15.3947368,15.3076318%2014.6760529,16.0263158%2013.7894737,16.0263158%20L4.21052632,16.0263158%20C3.32396045,16.0263158%202.60526316,15.3076268%202.60526316,14.4210526%20L2.60526316,9.63157895%20C2.60526316,9.35543657%202.82912078,9.13157895%203.10526316,9.13157895%20C3.38140553,9.13157895%203.60526316,9.35543657%203.60526316,9.63157895%20L3.60526316,14.4210526%20C3.60526316,14.7553394%203.87624262,15.0263158%204.21052632,15.0263158%20L13.7894737,15.0263158%20C14.1237682,15.0263158%2014.3947368,14.7553471%2014.3947368,14.4210526%20L14.3947368,9.63157895%20C14.3947368,9.35543657%2014.6185945,9.13157895%2014.8947368,9.13157895%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M15.2631579,4.71052632%20L2.73684211,4.71052632%20C2.05375023,4.71052632%201.5,5.26427081%201.5,5.94736842%20L1.5,8.89473684%20C1.5,9.57783445%202.05375023,10.1315789%202.73684211,10.1315789%20L15.2631579,10.1315789%20C15.9462582,10.1315789%2016.5,9.57783711%2016.5,8.89473684%20L16.5,5.94736842%20C16.5,5.26426815%2015.9462582,4.71052632%2015.2631579,4.71052632%20Z%20M15.2631579,5.71052632%20C15.3939734,5.71052632%2015.5,5.8165529%2015.5,5.94736842%20L15.5,8.89473684%20C15.5,9.02555236%2015.3939734,9.13157895%2015.2631579,9.13157895%20L2.73684211,9.13157895%20C2.60603266,9.13157895%202.5,9.02554738%202.5,8.89473684%20L2.5,5.94736842%20C2.5,5.81655788%202.60603266,5.71052632%202.73684211,5.71052632%20L15.2631579,5.71052632%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8421053,2.5%20C11.5252029,2.5%2012.0789474,3.05375023%2012.0789474,3.73684211%20L12.0789474,5.21052632%20C12.0789474,5.48666869%2011.8550897,5.71052632%2011.5789474,5.71052632%20C11.302805,5.71052632%2011.0789474,5.48666869%2011.0789474,5.21052632%20L11.0789474,3.73684211%20C11.0789474,3.60603266%2010.9729158,3.5%2010.8421053,3.5%20L7.15789474,3.5%20C7.02708419,3.5%206.92105263,3.60603266%206.92105263,3.73684211%20L6.92105263,5.21052632%20C6.92105263,5.48666869%206.69719501,5.71052632%206.42105263,5.71052632%20C6.14491026,5.71052632%205.92105263,5.48666869%205.92105263,5.21052632%20L5.92105263,3.73684211%20C5.92105263,3.05375023%206.47479712,2.5%207.15789474,2.5%20L10.8421053,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M5.68421053,8.39473684%20C5.9603529,8.39473684%206.18421053,8.61859447%206.18421053,8.89473684%20L6.18421053,11.1052632%20C6.18421053,11.3814055%205.9603529,11.6052632%205.68421053,11.6052632%20C5.40806815,11.6052632%205.18421053,11.3814055%205.18421053,11.1052632%20L5.18421053,8.89473684%20C5.18421053,8.61859447%205.40806815,8.39473684%205.68421053,8.39473684%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.3157895,8.39473684%20C12.5919318,8.39473684%2012.8157895,8.61859447%2012.8157895,8.89473684%20L12.8157895,11.1052632%20C12.8157895,11.3814055%2012.5919318,11.6052632%2012.3157895,11.6052632%20C12.0396471,11.6052632%2011.8157895,11.3814055%2011.8157895,11.1052632%20L11.8157895,8.89473684%20C11.8157895,8.61859447%2012.0396471,8.39473684%2012.3157895,8.39473684%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",rK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-200-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='25.9992173%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-200-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3.10526316,5.52631579%20L3.10526316,13.6513158%20C3.10526316,14.6868783%203.60894441,15.5263158%204.23026316,15.5263158%20L13.9802632,15.5263158%20C14.6016007,15.5263158%2015.1052632,14.6868783%2015.1052632,13.6513158%20L15.1052632,5.52631579%20L3.10526316,5.52631579%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M14.8947368,9.13157895%20C15.1708792,9.13157895%2015.3947368,9.35543657%2015.3947368,9.63157895%20L15.3947368,14.4210526%20C15.3947368,15.3076318%2014.6760529,16.0263158%2013.7894737,16.0263158%20L4.21052632,16.0263158%20C3.32396045,16.0263158%202.60526316,15.3076268%202.60526316,14.4210526%20L2.60526316,9.63157895%20C2.60526316,9.35543657%202.82912078,9.13157895%203.10526316,9.13157895%20C3.38140553,9.13157895%203.60526316,9.35543657%203.60526316,9.63157895%20L3.60526316,14.4210526%20C3.60526316,14.7553394%203.87624262,15.0263158%204.21052632,15.0263158%20L13.7894737,15.0263158%20C14.1237682,15.0263158%2014.3947368,14.7553471%2014.3947368,14.4210526%20L14.3947368,9.63157895%20C14.3947368,9.35543657%2014.6185945,9.13157895%2014.8947368,9.13157895%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M15.2631579,4.71052632%20L2.73684211,4.71052632%20C2.05375023,4.71052632%201.5,5.26427081%201.5,5.94736842%20L1.5,8.89473684%20C1.5,9.57783445%202.05375023,10.1315789%202.73684211,10.1315789%20L15.2631579,10.1315789%20C15.9462582,10.1315789%2016.5,9.57783711%2016.5,8.89473684%20L16.5,5.94736842%20C16.5,5.26426815%2015.9462582,4.71052632%2015.2631579,4.71052632%20Z%20M15.2631579,5.71052632%20C15.3939734,5.71052632%2015.5,5.8165529%2015.5,5.94736842%20L15.5,8.89473684%20C15.5,9.02555236%2015.3939734,9.13157895%2015.2631579,9.13157895%20L2.73684211,9.13157895%20C2.60603266,9.13157895%202.5,9.02554738%202.5,8.89473684%20L2.5,5.94736842%20C2.5,5.81655788%202.60603266,5.71052632%202.73684211,5.71052632%20L15.2631579,5.71052632%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8421053,2.5%20C11.5252029,2.5%2012.0789474,3.05375023%2012.0789474,3.73684211%20L12.0789474,5.21052632%20C12.0789474,5.48666869%2011.8550897,5.71052632%2011.5789474,5.71052632%20C11.302805,5.71052632%2011.0789474,5.48666869%2011.0789474,5.21052632%20L11.0789474,3.73684211%20C11.0789474,3.60603266%2010.9729158,3.5%2010.8421053,3.5%20L7.15789474,3.5%20C7.02708419,3.5%206.92105263,3.60603266%206.92105263,3.73684211%20L6.92105263,5.21052632%20C6.92105263,5.48666869%206.69719501,5.71052632%206.42105263,5.71052632%20C6.14491026,5.71052632%205.92105263,5.48666869%205.92105263,5.21052632%20L5.92105263,3.73684211%20C5.92105263,3.05375023%206.47479712,2.5%207.15789474,2.5%20L10.8421053,2.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M5.68421053,8.39473684%20C5.9603529,8.39473684%206.18421053,8.61859447%206.18421053,8.89473684%20L6.18421053,11.1052632%20C6.18421053,11.3814055%205.9603529,11.6052632%205.68421053,11.6052632%20C5.40806815,11.6052632%205.18421053,11.3814055%205.18421053,11.1052632%20L5.18421053,8.89473684%20C5.18421053,8.61859447%205.40806815,8.39473684%205.68421053,8.39473684%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.3157895,8.39473684%20C12.5919318,8.39473684%2012.8157895,8.61859447%2012.8157895,8.89473684%20L12.8157895,11.1052632%20C12.8157895,11.3814055%2012.5919318,11.6052632%2012.3157895,11.6052632%20C12.0396471,11.6052632%2011.8157895,11.3814055%2011.8157895,11.1052632%20L11.8157895,8.89473684%20C11.8157895,8.61859447%2012.0396471,8.39473684%2012.3157895,8.39473684%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",nK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-201%3c/title%3e%3cg%20id='icon-201'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20fill='%234EFFBE'%20opacity='0'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M6.59375,2.53125%20L4.1875,2.53125%20C3.53166169,2.53125%203,3.06291169%203,3.71875%20L3,15.0625%20C3,15.7183462%203.53165929,16.25%204.1875,16.25%20L13.8125,16.25%20C14.4683486,16.25%2015,15.7183486%2015,15.0625%20L15,3.71875%20C15,3.06290929%2014.4683462,2.53125%2013.8125,2.53125%20L11.40625,2.53125%20L11.3163744,2.53930567%20C11.0831252,2.58164163%2010.90625,2.78579011%2010.90625,3.03125%20L10.906,3.56225%20L7.093,3.56225%20L7.09375,3.03125%20C7.09375,2.75510763%206.86989237,2.53125%206.59375,2.53125%20Z%20M11.90625,4.0625%20L11.906,3.53125%20L13.8125,3.53125%20C13.9160592,3.53125%2014,3.61519172%2014,3.71875%20L14,15.0625%20C14,15.1660639%2013.9160639,15.25%2013.8125,15.25%20L4.1875,15.25%20C4.08394172,15.25%204,15.1660592%204,15.0625%20L4,3.71875%20L4.00955886,3.65948543%20C4.03436286,3.58497572%204.10465715,3.53125%204.1875,3.53125%20L6.093,3.53125%20L6.09375,4.0625%20C6.09375,4.33864237%206.31760763,4.5625%206.59375,4.5625%20L11.40625,4.5625%20C11.6823924,4.5625%2011.90625,4.33864237%2011.90625,4.0625%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.40625,1.5%20L6.59375,1.5%20C6.31760763,1.5%206.09375,1.72385763%206.09375,2%20L6.09375,4.0625%20C6.09375,4.33864237%206.31760763,4.5625%206.59375,4.5625%20L11.40625,4.5625%20C11.6823924,4.5625%2011.90625,4.33864237%2011.90625,4.0625%20L11.90625,2%20C11.90625,1.72385763%2011.6823924,1.5%2011.40625,1.5%20Z%20M10.90575,2.5%20L10.90575,3.562%20L7.09375,3.562%20L7.09375,2.5%20L10.90575,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.7020022,7.64644661%20C11.8972643,7.45118446%2012.2138468,7.45118446%2012.4091089,7.64644661%20C12.6043711,7.84170876%2012.6043711,8.15829124%2012.4091089,8.35355339%20L10.1868867,10.5757756%20C9.95376302,10.8088993%209.56278218,10.7565399%209.39921176,10.4702917%20L8.613,9.093%20L6.85355339,10.8535534%20C6.67998704,11.0271197%206.41056264,11.0464049%206.2156945,10.9114088%20L6.14644661,10.8535534%20C5.95118446,10.6582912%205.95118446,10.3417088%206.14644661,10.1464466%20L8.36866883,7.92422439%20C8.60179254,7.69110068%208.99277338,7.74346008%209.15634379,8.02970831%20L9.942,9.405%20L11.7020022,7.64644661%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",iK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-201-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='18.8427523%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-201-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20fill='%234EFFBE'%20opacity='0'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M12.1109031,4%20L13.8125,4%20C14.1922062,4%2014.5,4.29040973%2014.5,4.64864865%20L14.5,15.3513514%20C14.5,15.7096%2014.1922062,16%2013.8125,16%20L4.1875,16%20C3.80780406,16%203.5,15.7096%203.5,15.3513514%20L3.5,4.64864865%20C3.5,4.29040973%203.80780406,4%204.1875,4%20L6.25,4%20L6.59375,4%20L6.59375,4.97297297%20L11.40625,4.97297297%20L11.40625,4%20L12.1109031,4%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M6.59375,2.53125%20L4.1875,2.53125%20C3.53166169,2.53125%203,3.06291169%203,3.71875%20L3,15.0625%20C3,15.7183462%203.53165929,16.25%204.1875,16.25%20L13.8125,16.25%20C14.4683486,16.25%2015,15.7183486%2015,15.0625%20L15,3.71875%20C15,3.06290929%2014.4683462,2.53125%2013.8125,2.53125%20L11.40625,2.53125%20L11.3163744,2.53930567%20C11.0831252,2.58164163%2010.90625,2.78579011%2010.90625,3.03125%20L10.906,3.56225%20L7.093,3.56225%20L7.09375,3.03125%20C7.09375,2.75510763%206.86989237,2.53125%206.59375,2.53125%20Z%20M11.90625,4.0625%20L11.906,3.53125%20L13.8125,3.53125%20C13.9160592,3.53125%2014,3.61519172%2014,3.71875%20L14,15.0625%20C14,15.1660639%2013.9160639,15.25%2013.8125,15.25%20L4.1875,15.25%20C4.08394172,15.25%204,15.1660592%204,15.0625%20L4,3.71875%20L4.00955886,3.65948543%20C4.03436286,3.58497572%204.10465715,3.53125%204.1875,3.53125%20L6.093,3.53125%20L6.09375,4.0625%20C6.09375,4.33864237%206.31760763,4.5625%206.59375,4.5625%20L11.40625,4.5625%20C11.6823924,4.5625%2011.90625,4.33864237%2011.90625,4.0625%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.40625,1.5%20L6.59375,1.5%20C6.31760763,1.5%206.09375,1.72385763%206.09375,2%20L6.09375,4.0625%20C6.09375,4.33864237%206.31760763,4.5625%206.59375,4.5625%20L11.40625,4.5625%20C11.6823924,4.5625%2011.90625,4.33864237%2011.90625,4.0625%20L11.90625,2%20C11.90625,1.72385763%2011.6823924,1.5%2011.40625,1.5%20Z%20M10.90575,2.5%20L10.90575,3.562%20L7.09375,3.562%20L7.09375,2.5%20L10.90575,2.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.7020022,7.64644661%20C11.8972643,7.45118446%2012.2138468,7.45118446%2012.4091089,7.64644661%20C12.6043711,7.84170876%2012.6043711,8.15829124%2012.4091089,8.35355339%20L10.1868867,10.5757756%20C9.95376302,10.8088993%209.56278218,10.7565399%209.39921176,10.4702917%20L8.613,9.093%20L6.85355339,10.8535534%20C6.67998704,11.0271197%206.41056264,11.0464049%206.2156945,10.9114088%20L6.14644661,10.8535534%20C5.95118446,10.6582912%205.95118446,10.3417088%206.14644661,10.1464466%20L8.36866883,7.92422439%20C8.60179254,7.69110068%208.99277338,7.74346008%209.15634379,8.02970831%20L9.942,9.405%20L11.7020022,7.64644661%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",sK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-202%3c/title%3e%3cg%20id='icon-202'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3,4.1%20L3,14.6%20C3,15.2666667%204,15.2666667%204,14.6%20L4.00438974,14.4156843%20C4.03914569,13.7898206%204.30737412,13.7%205.74,13.7%20L14.7,13.7%20C14.9761424,13.7%2015.2,13.4761424%2015.2,13.2%20L15.2,3%20C15.2,2.17157288%2014.5284271,1.5%2013.7,1.5%20L5.74,1.5%20C4.23370016,1.5%203,2.6565909%203,4.1%20Z%20M13.7,2.5%20L13.7898756,2.50805567%20C14.0231248,2.55039163%2014.2,2.75454011%2014.2,3%20L14.2,12.699%20L5.74,12.7%20L5.52617638,12.7016374%20C4.89999117,12.7115491%204.4105765,12.7672427%204.03632815,12.8899421%20L4,12.902%20L4,4.1%20C4,3.22381754%204.77207404,2.5%205.74,2.5%20L13.7,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.7,12.7%20L4.9,12.7%20C3.85066269,12.7%203,13.5506686%203,14.6%20C3,15.6493314%203.85066269,16.5%204.9,16.5%20L13.7,16.5%20C14.5284271,16.5%2015.2,15.8284271%2015.2,15%20L15.2,13.2%20C15.2,12.9238576%2014.9761424,12.7%2014.7,12.7%20Z%20M14.2,13.7%20L14.2,15%20C14.2,15.2761424%2013.9761424,15.5%2013.7,15.5%20L4.9,15.5%20C4.40294898,15.5%204,15.0970482%204,14.6%20C4,14.1029518%204.40294898,13.7%204.9,13.7%20L14.2,13.7%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.74644661,5.14644661%20C8.94155557,4.95133764%209.25783555,4.95116218%209.45316088,5.14605454%20L11.5531609,7.24139954%20C11.7486396,7.43644491%2011.7489908,7.7530272%2011.5539455,7.94850588%20C11.3589001,8.14398456%2011.0423178,8.14433583%2010.8468391,7.94929046%20L9.1,6.206%20L7.35355339,7.95355339%20C7.17998704,8.12711974%206.91056264,8.14640489%206.7156945,8.01140884%20L6.64644661,7.95355339%20C6.45118446,7.75829124%206.45118446,7.44170876%206.64644661,7.24644661%20L8.74644661,5.14644661%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.1,5%20C9.37614237,5%209.6,5.22385763%209.6,5.5%20L9.6,10.4%20C9.6,10.6761424%209.37614237,10.9%209.1,10.9%20C8.82385763,10.9%208.6,10.6761424%208.6,10.4%20L8.6,5.5%20C8.6,5.22385763%208.82385763,5%209.1,5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",oK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-202-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-202-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3.5,15.6%20C3.5,14.3777778%203.5,6.43333333%203.5,6.43333333%20C3.5,5.42081083%204.50289,4.6%205.74,4.6%20C6.97913929,4.6%207.90849375,4.6%208.52806339,4.6%20C10.2520423,4.6%2011.9760211,4.6%2013.7,4.6%20C14.2522847,4.6%2014.7,5.04771525%2014.7,5.6%20C14.7,7.16235931%2014.7,8.72471862%2014.7,10.2870779%20C14.7,11.1961223%2014.7,12.9670964%2014.7,15.6%20C14.7,15.6%204.30701079,15.6%203.5,15.6%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M3,4.1%20L3,14.6%20C3,15.2666667%204,15.2666667%204,14.6%20L4.00438974,14.4156843%20C4.03914569,13.7898206%204.30737412,13.7%205.74,13.7%20L14.7,13.7%20C14.9761424,13.7%2015.2,13.4761424%2015.2,13.2%20L15.2,3%20C15.2,2.17157288%2014.5284271,1.5%2013.7,1.5%20L5.74,1.5%20C4.23370016,1.5%203,2.6565909%203,4.1%20Z%20M13.7,2.5%20L13.7898756,2.50805567%20C14.0231248,2.55039163%2014.2,2.75454011%2014.2,3%20L14.2,12.699%20L5.74,12.7%20L5.52617638,12.7016374%20C4.89999117,12.7115491%204.4105765,12.7672427%204.03632815,12.8899421%20L4,12.902%20L4,4.1%20C4,3.22381754%204.77207404,2.5%205.74,2.5%20L13.7,2.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.7,12.7%20L4.9,12.7%20C3.85066269,12.7%203,13.5506686%203,14.6%20C3,15.6493314%203.85066269,16.5%204.9,16.5%20L13.7,16.5%20C14.5284271,16.5%2015.2,15.8284271%2015.2,15%20L15.2,13.2%20C15.2,12.9238576%2014.9761424,12.7%2014.7,12.7%20Z%20M14.2,13.7%20L14.2,15%20C14.2,15.2761424%2013.9761424,15.5%2013.7,15.5%20L4.9,15.5%20C4.40294898,15.5%204,15.0970482%204,14.6%20C4,14.1029518%204.40294898,13.7%204.9,13.7%20L14.2,13.7%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.74644661,5.14644661%20C8.94155557,4.95133764%209.25783555,4.95116218%209.45316088,5.14605454%20L11.5531609,7.24139954%20C11.7486396,7.43644491%2011.7489908,7.7530272%2011.5539455,7.94850588%20C11.3589001,8.14398456%2011.0423178,8.14433583%2010.8468391,7.94929046%20L9.1,6.206%20L7.35355339,7.95355339%20C7.17998704,8.12711974%206.91056264,8.14640489%206.7156945,8.01140884%20L6.64644661,7.95355339%20C6.45118446,7.75829124%206.45118446,7.44170876%206.64644661,7.24644661%20L8.74644661,5.14644661%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.1,5%20C9.37614237,5%209.6,5.22385763%209.6,5.5%20L9.6,10.4%20C9.6,10.6761424%209.37614237,10.9%209.1,10.9%20C8.82385763,10.9%208.6,10.6761424%208.6,10.4%20L8.6,5.5%20C8.6,5.22385763%208.82385763,5%209.1,5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",aK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-203%3c/title%3e%3cg%20id='icon-203'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M13.1391309,3.5%20L4.86086656,3.5%20C4.26744716,3.5%203.76690792,3.94186463%203.69330291,4.53069293%20L2.50918564,14.0036209%20C2.42140232,14.7058992%202.96899209,15.3262137%203.6767359,15.3262137%20L14.323248,15.3262137%20C15.0309921,15.3262137%2015.5785931,14.7059035%2015.4908158,14.0036261%20L14.3066981,4.53069409%20C14.2330991,3.94186703%2013.7325518,3.5%2013.1391309,3.5%20Z%20M13.1391309,4.5%20C13.2282308,4.5%2013.3033712,4.56633152%2013.3144197,4.65472523%20L14.4985373,14.1276558%20C14.5117142,14.2330796%2014.4294967,14.3262137%2014.323248,14.3262137%20L3.6767359,14.3262137%20C3.57049518,14.3262137%203.48828503,14.2330853%203.50146364,14.1276547%20L4.68558063,4.65472895%20C4.69663069,4.56633022%204.77176881,4.5%204.86086656,4.5%20L13.1391309,4.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.5976577,7.15958499%20C11.7211524,6.91259574%2012.0214889,6.81248357%2012.2684781,6.93597819%20C12.5154674,7.05947282%2012.6155795,7.35980934%2012.4920849,7.60679859%20C12.3738244,7.84331964%2012.123442,8.15959219%2011.7046087,8.46419819%20C11.0369883,8.94974029%2010.1409627,9.2364685%208.99999872,9.2364685%20C7.85903477,9.2364685%206.96300911,8.94974029%206.29538872,8.46419819%20C5.87655548,8.15959219%205.62617304,7.84331964%205.50791251,7.60679859%20C5.38441789,7.35980934%205.48453006,7.05947282%205.73151931,6.93597819%20C5.95106531,6.82620519%206.21276224,6.89310917%206.35494089,7.08280039%20L6.4023397,7.15958499%20C6.45323876,7.26138311%206.60461035,7.45258933%206.88356042,7.6554621%20C7.3789122,8.01571795%208.06875769,8.2364685%208.99999872,8.2364685%20C9.93123974,8.2364685%2010.6210852,8.01571795%2011.116437,7.6554621%20C11.3555371,7.48157116%2011.500906,7.31625155%2011.5696134,7.20846007%20L11.5976577,7.15958499%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",lK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-203-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-203-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M4.1894417,8.20944841%20C4.23176881,7.99051029%204.519604,7.82621372%204.86086656,7.82621372%20L13.1391309,7.82621372%20C13.4803934,7.82621372%2013.7682354,7.99051029%2013.8105591,8.20944841%20L14.9946762,14.3344418%20C15.0451535,14.5955637%2014.730246,14.8262137%2014.323248,14.8262137%20L3.6767359,14.8262137%20C3.26974131,14.8262137%202.95484396,14.5955637%203.00532457,14.3344418%20L4.1894417,8.20944841%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M13.1391309,3.5%20L4.86086656,3.5%20C4.26744716,3.5%203.76690792,3.94186463%203.69330291,4.53069293%20L2.50918564,14.0036209%20C2.42140232,14.7058992%202.96899209,15.3262137%203.6767359,15.3262137%20L14.323248,15.3262137%20C15.0309921,15.3262137%2015.5785931,14.7059035%2015.4908158,14.0036261%20L14.3066981,4.53069409%20C14.2330991,3.94186703%2013.7325518,3.5%2013.1391309,3.5%20Z%20M13.1391309,4.5%20C13.2282308,4.5%2013.3033712,4.56633152%2013.3144197,4.65472523%20L14.4985373,14.1276558%20C14.5117142,14.2330796%2014.4294967,14.3262137%2014.323248,14.3262137%20L3.6767359,14.3262137%20C3.57049518,14.3262137%203.48828503,14.2330853%203.50146364,14.1276547%20L4.68558063,4.65472895%20C4.69663069,4.56633022%204.77176881,4.5%204.86086656,4.5%20L13.1391309,4.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.5976577,7.15958499%20C11.7211524,6.91259574%2012.0214889,6.81248357%2012.2684781,6.93597819%20C12.5154674,7.05947282%2012.6155795,7.35980934%2012.4920849,7.60679859%20C12.3738244,7.84331964%2012.123442,8.15959219%2011.7046087,8.46419819%20C11.0369883,8.94974029%2010.1409627,9.2364685%208.99999872,9.2364685%20C7.85903477,9.2364685%206.96300911,8.94974029%206.29538872,8.46419819%20C5.87655548,8.15959219%205.62617304,7.84331964%205.50791251,7.60679859%20C5.38441789,7.35980934%205.48453006,7.05947282%205.73151931,6.93597819%20C5.95106531,6.82620519%206.21276224,6.89310917%206.35494089,7.08280039%20L6.4023397,7.15958499%20C6.45323876,7.26138311%206.60461035,7.45258933%206.88356042,7.6554621%20C7.3789122,8.01571795%208.06875769,8.2364685%208.99999872,8.2364685%20C9.93123974,8.2364685%2010.6210852,8.01571795%2011.116437,7.6554621%20C11.3555371,7.48157116%2011.500906,7.31625155%2011.5696134,7.20846007%20L11.5976577,7.15958499%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",cK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-204%3c/title%3e%3cg%20id='icon-204'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M15,3.5%20L3,3.5%20C2.72385763,3.5%202.5,3.72385763%202.5,4%20L2.5,7.41661156%20C2.5,7.62932963%202.6345879,7.81875951%202.83545767,7.88876177%20C3.2854218,8.04557235%203.590908,8.46428114%203.590908,8.93828912%20C3.590908,9.41229711%203.2854218,9.83100589%202.83545767,9.98781648%20C2.6345879,10.0578187%202.5,10.2472486%202.5,10.4599667%20L2.5,14%20C2.5,14.2761424%202.72385763,14.5%203,14.5%20L15,14.5%20C15.2761424,14.5%2015.5,14.2761424%2015.5,14%20L15.5,10.4599667%20C15.5,10.2472494%2015.3654131,10.0578201%2015.1645444,9.9878172%20C14.714578,9.83100359%2014.40908,9.41228762%2014.40908,8.93828912%20C14.40908,8.46429063%2014.714578,8.04557465%2015.1645444,7.88876104%20C15.3654131,7.81875817%2015.5,7.62932883%2015.5,7.41661156%20L15.5,4%20C15.5,3.72385763%2015.2761424,3.5%2015,3.5%20Z%20M14.5,4.5%20L14.5,7.095%20L14.3892908,7.16056093%20C13.7915437,7.54130862%2013.40908,8.20332054%2013.40908,8.93828912%20L13.4157932,9.10650735%20C13.4691944,9.77344141%2013.8375242,10.3645579%2014.3892908,10.7160173%20L14.5,10.781%20L14.5,13.5%20L3.5,13.5%20L3.5,10.78%20L3.6107078,10.7160195%20C4.20845372,10.3352737%204.590908,9.67326256%204.590908,8.93828912%20L4.58419496,8.77006987%20C4.53079496,8.10313211%204.16247326,7.51201641%203.6107078,7.16055876%20L3.5,7.095%20L3.5,4.5%20L14.5,4.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.14644661,6.14644661%20C7.34170876,5.95118446%207.65829124,5.95118446%207.85355339,6.14644661%20L9,7.293%20L10.1464466,6.14644661%20C10.320013,5.97288026%2010.5894374,5.95359511%2010.7843055,6.08859116%20L10.8535534,6.14644661%20C11.0488155,6.34170876%2011.0488155,6.65829124%2010.8535534,6.85355339%20L9.35355339,8.35355339%20C9.15829124,8.54881554%208.84170876,8.54881554%208.64644661,8.35355339%20L7.14644661,6.85355339%20C6.95118446,6.65829124%206.95118446,6.34170876%207.14644661,6.14644661%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8,7.8%20C11.0761424,7.8%2011.3,8.02385763%2011.3,8.3%20C11.3,8.57614237%2011.0761424,8.8%2010.8,8.8%20L7.2,8.8%20C6.92385763,8.8%206.7,8.57614237%206.7,8.3%20C6.7,8.02385763%206.92385763,7.8%207.2,7.8%20L10.8,7.8%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8,9.65001%20C11.0761424,9.65001%2011.3,9.87386763%2011.3,10.15001%20C11.3,10.4261524%2011.0761424,10.65001%2010.8,10.65001%20L7.2,10.65001%20C6.92385763,10.65001%206.7,10.4261524%206.7,10.15001%20C6.7,9.87386763%206.92385763,9.65001%207.2,9.65001%20L10.8,9.65001%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,7.8%20C9.27614237,7.8%209.5,8.02385763%209.5,8.3%20L9.5,11.9%20C9.5,12.1761424%209.27614237,12.4%209,12.4%20C8.72385763,12.4%208.5,12.1761424%208.5,11.9%20L8.5,8.3%20C8.5,8.02385763%208.72385763,7.8%209,7.8%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",uK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-204-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-204-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3,8.36141935%20L3,5.7%20L15,5.7%20L15,8.36141935%20C14.36445,8.55625806%2013.90908,9.0820129%2013.90908,9.7%20C13.90908,10.3179871%2014.36445,10.8437419%2015,11.0385806%20L15,13.7%20L3,13.7%20L3,11.0385806%20C3.635559,10.8437419%204.090908,10.3179871%204.090908,9.7%20C4.090908,9.0820129%203.635559,8.55625806%203,8.36141935%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M15,3.5%20L3,3.5%20C2.72385763,3.5%202.5,3.72385763%202.5,4%20L2.5,7.41661156%20C2.5,7.62932963%202.6345879,7.81875951%202.83545767,7.88876177%20C3.2854218,8.04557235%203.590908,8.46428114%203.590908,8.93828912%20C3.590908,9.41229711%203.2854218,9.83100589%202.83545767,9.98781648%20C2.6345879,10.0578187%202.5,10.2472486%202.5,10.4599667%20L2.5,14%20C2.5,14.2761424%202.72385763,14.5%203,14.5%20L15,14.5%20C15.2761424,14.5%2015.5,14.2761424%2015.5,14%20L15.5,10.4599667%20C15.5,10.2472494%2015.3654131,10.0578201%2015.1645444,9.9878172%20C14.714578,9.83100359%2014.40908,9.41228762%2014.40908,8.93828912%20C14.40908,8.46429063%2014.714578,8.04557465%2015.1645444,7.88876104%20C15.3654131,7.81875817%2015.5,7.62932883%2015.5,7.41661156%20L15.5,4%20C15.5,3.72385763%2015.2761424,3.5%2015,3.5%20Z%20M14.5,4.5%20L14.5,7.095%20L14.3892908,7.16056093%20C13.7915437,7.54130862%2013.40908,8.20332054%2013.40908,8.93828912%20L13.4157932,9.10650735%20C13.4691944,9.77344141%2013.8375242,10.3645579%2014.3892908,10.7160173%20L14.5,10.781%20L14.5,13.5%20L3.5,13.5%20L3.5,10.78%20L3.6107078,10.7160195%20C4.20845372,10.3352737%204.590908,9.67326256%204.590908,8.93828912%20L4.58419496,8.77006987%20C4.53079496,8.10313211%204.16247326,7.51201641%203.6107078,7.16055876%20L3.5,7.095%20L3.5,4.5%20L14.5,4.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.14644661,6.14644661%20C7.34170876,5.95118446%207.65829124,5.95118446%207.85355339,6.14644661%20L9,7.293%20L10.1464466,6.14644661%20C10.320013,5.97288026%2010.5894374,5.95359511%2010.7843055,6.08859116%20L10.8535534,6.14644661%20C11.0488155,6.34170876%2011.0488155,6.65829124%2010.8535534,6.85355339%20L9.35355339,8.35355339%20C9.15829124,8.54881554%208.84170876,8.54881554%208.64644661,8.35355339%20L7.14644661,6.85355339%20C6.95118446,6.65829124%206.95118446,6.34170876%207.14644661,6.14644661%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8,7.8%20C11.0761424,7.8%2011.3,8.02385763%2011.3,8.3%20C11.3,8.57614237%2011.0761424,8.8%2010.8,8.8%20L7.2,8.8%20C6.92385763,8.8%206.7,8.57614237%206.7,8.3%20C6.7,8.02385763%206.92385763,7.8%207.2,7.8%20L10.8,7.8%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8,9.65001%20C11.0761424,9.65001%2011.3,9.87386763%2011.3,10.15001%20C11.3,10.4261524%2011.0761424,10.65001%2010.8,10.65001%20L7.2,10.65001%20C6.92385763,10.65001%206.7,10.4261524%206.7,10.15001%20C6.7,9.87386763%206.92385763,9.65001%207.2,9.65001%20L10.8,9.65001%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,7.8%20C9.27614237,7.8%209.5,8.02385763%209.5,8.3%20L9.5,11.9%20C9.5,12.1761424%209.27614237,12.4%209,12.4%20C8.72385763,12.4%208.5,12.1761424%208.5,11.9%20L8.5,8.3%20C8.5,8.02385763%208.72385763,7.8%209,7.8%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",hK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-205%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='25.9992173%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%235EA0F7'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-205'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20opacity='0'%20points='14.1228395%2015.0246914%2014.1228395%207.80987654%203.90185185%207.80987654%203.90185185%2015.0246914'%3e%3c/polygon%3e%3cpath%20d='M14.1228395,7.30987654%20L3.90185185,7.30987654%20C3.62570948,7.30987654%203.40185185,7.53373417%203.40185185,7.80987654%20L3.40185185,15.0246914%20C3.40185185,15.3008337%203.62570948,15.5246914%203.90185185,15.5246914%20L14.1228395,15.5246914%20C14.3989819,15.5246914%2014.6228395,15.3008337%2014.6228395,15.0246914%20L14.6228395,7.80987654%20C14.6228395,7.53373417%2014.3989819,7.30987654%2014.1228395,7.30987654%20Z%20M13.6218519,8.30987654%20L13.6218519,14.5238765%20L4.40185185,14.5238765%20L4.40185185,8.30987654%20L13.6218519,8.30987654%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.01234568,7.30987654%20C9.28848805,7.30987654%209.51234568,7.53373417%209.51234568,7.80987654%20L9.51234568,15.0246914%20C9.51234568,15.3008337%209.28848805,15.5246914%209.01234568,15.5246914%20C8.7362033,15.5246914%208.51234568,15.3008337%208.51234568,15.0246914%20L8.51234568,7.80987654%20C8.51234568,7.53373417%208.7362033,7.30987654%209.01234568,7.30987654%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cline%20x1='14.1228395'%20y1='15.0246914'%20x2='3.90185185'%20y2='15.0246914'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/line%3e%3cpath%20d='M15.0246914,4.90493827%20L3,4.90493827%20C2.72385763,4.90493827%202.5,5.1287959%202.5,5.40493827%20L2.5,7.80987654%20C2.5,8.08601892%202.72385763,8.30987654%203,8.30987654%20L15.0246914,8.30987654%20C15.3008337,8.30987654%2015.5246914,8.08601892%2015.5246914,7.80987654%20L15.5246914,5.40493827%20C15.5246914,5.1287959%2015.3008337,4.90493827%2015.0246914,4.90493827%20Z%20M14.524,5.90493827%20L14.524,7.30893827%20L3.5,7.30893827%20L3.5,5.90493827%20L14.524,5.90493827%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6.25385402,2.64644661%20C6.44911616,2.45118446%206.76569865,2.45118446%206.9609608,2.64644661%20L9.01240741,4.698%20L11.0637306,2.64644661%20C11.2372969,2.47288026%2011.5067213,2.45359511%2011.7015895,2.58859116%20L11.7708373,2.64644661%20C11.9660995,2.84170876%2011.9660995,3.15829124%2011.7708373,3.35355339%20L9.36589907,5.75849166%20C9.17063692,5.95375381%208.85405443,5.95375381%208.65879229,5.75849166%20L6.25385402,3.35355339%20C6.05859187,3.15829124%206.05859187,2.84170876%206.25385402,2.64644661%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",fK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-205-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-205-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='14.1228395%2015.0246914%2014.1228395%207.80987654%203.90185185%207.80987654%203.90185185%2015.0246914'%3e%3c/polygon%3e%3cpath%20d='M14.1228395,7.30987654%20L3.90185185,7.30987654%20C3.62570948,7.30987654%203.40185185,7.53373417%203.40185185,7.80987654%20L3.40185185,15.0246914%20C3.40185185,15.3008337%203.62570948,15.5246914%203.90185185,15.5246914%20L14.1228395,15.5246914%20C14.3989819,15.5246914%2014.6228395,15.3008337%2014.6228395,15.0246914%20L14.6228395,7.80987654%20C14.6228395,7.53373417%2014.3989819,7.30987654%2014.1228395,7.30987654%20Z%20M13.6218519,8.30987654%20L13.6218519,14.5238765%20L4.40185185,14.5238765%20L4.40185185,8.30987654%20L13.6218519,8.30987654%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.01234568,7.30987654%20C9.28848805,7.30987654%209.51234568,7.53373417%209.51234568,7.80987654%20L9.51234568,15.0246914%20C9.51234568,15.3008337%209.28848805,15.5246914%209.01234568,15.5246914%20C8.7362033,15.5246914%208.51234568,15.3008337%208.51234568,15.0246914%20L8.51234568,7.80987654%20C8.51234568,7.53373417%208.7362033,7.30987654%209.01234568,7.30987654%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cline%20x1='14.1228395'%20y1='15.0246914'%20x2='3.90185185'%20y2='15.0246914'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/line%3e%3cpath%20d='M15.0246914,4.90493827%20L3,4.90493827%20C2.72385763,4.90493827%202.5,5.1287959%202.5,5.40493827%20L2.5,7.80987654%20C2.5,8.08601892%202.72385763,8.30987654%203,8.30987654%20L15.0246914,8.30987654%20C15.3008337,8.30987654%2015.5246914,8.08601892%2015.5246914,7.80987654%20L15.5246914,5.40493827%20C15.5246914,5.1287959%2015.3008337,4.90493827%2015.0246914,4.90493827%20Z%20M14.524,5.90493827%20L14.524,7.30893827%20L3.5,7.30893827%20L3.5,5.90493827%20L14.524,5.90493827%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6.25385402,2.64644661%20C6.44911616,2.45118446%206.76569865,2.45118446%206.9609608,2.64644661%20L9.01240741,4.698%20L11.0637306,2.64644661%20C11.2372969,2.47288026%2011.5067213,2.45359511%2011.7015895,2.58859116%20L11.7708373,2.64644661%20C11.9660995,2.84170876%2011.9660995,3.15829124%2011.7708373,3.35355339%20L9.36589907,5.75849166%20C9.17063692,5.95375381%208.85405443,5.95375381%208.65879229,5.75849166%20L6.25385402,3.35355339%20C6.05859187,3.15829124%206.05859187,2.84170876%206.25385402,2.64644661%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",dK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-206%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='25.9992173%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%235EA0F7'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-206'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20opacity='0'%20points='14.1228395%2015.0246914%2014.1228395%207.80987654%203.90185185%207.80987654%203.90185185%2015.0246914'%3e%3c/polygon%3e%3cpath%20d='M4.36863683,8%20L4.36863683,14.5%20L14.0346368,14.5%20L14.0353168,8%20L15.0353168,8%20L15.0353168,15%20C15.0353168,15.2761424%2014.8114592,15.5%2014.5353168,15.5%20L3.86863683,15.5%20C3.59249446,15.5%203.36863683,15.2761424%203.36863683,15%20L3.36863683,8%20L4.36863683,8%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.2668502,2.5%20L4.13736016,2.5%20C3.93071812,2.5%203.74536483,2.62711853%203.67092732,2.8198878%20L2.66995399,5.4120878%20C2.03384299,7.0594346%203.25812678,8.83333333%205.02535016,8.83333333%20L5.18983137,8.82801246%20C5.89676281,8.7821367%206.5248991,8.44271907%206.952186,7.9306747%20L7.03,7.831%20L7.10849064,7.9309606%20C7.56707008,8.48232369%208.25828643,8.83333333%209.0314835,8.83333333%20L9.37095016,8.83333333%20L9.53532554,8.82801564%20C10.2417055,8.78216689%2010.8681193,8.44294061%2011.293943,7.9309606%20L11.372,7.83%20L11.4503845,7.93065774%20C11.9106338,8.48209425%2012.6038389,8.83333333%2013.3774502,8.83333333%20C15.1454827,8.83333333%2016.3706621,7.05852949%2015.7340952,5.41059984%20L14.733258,2.81982303%20C14.6588029,2.62708776%2014.4734668,2.5%2014.2668502,2.5%20Z%20M13.924,3.5%20L14.8012757,5.77094364%20C15.1841582,6.76214104%2014.4446946,7.83333333%2013.3774502,7.83333333%20C12.5472859,7.83333333%2011.8709502,7.16002068%2011.8709502,6.33333333%20C11.8709502,5.66666667%2010.8709502,5.66666667%2010.8709502,6.33333333%20C10.8709502,7.16175763%2010.1993745,7.83333333%209.37095016,7.83333333%20L9.0314835,7.83333333%20C8.20305921,7.83333333%207.5314835,7.16175763%207.5314835,6.33333333%20C7.5314835,5.66666667%206.5314835,5.66666667%206.5314835,6.33333333%20C6.5314835,7.16011838%205.85541643,7.83333333%205.02535016,7.83333333%20L4.89381412,7.82784202%20C3.89933715,7.74427955%203.23620119,6.72174993%203.60282053,5.77230998%20L4.479,3.5%20L13.924,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",pK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-206-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-206-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='14.1228395%2015.0246914%2014.1228395%207.80987654%203.90185185%207.80987654%203.90185185%2015.0246914'%3e%3c/polygon%3e%3cpath%20d='M4.36863683,8%20L4.36863683,14.5%20L14.0346368,14.5%20L14.0353168,8%20L15.0353168,8%20L15.0353168,15%20C15.0353168,15.2761424%2014.8114592,15.5%2014.5353168,15.5%20L3.86863683,15.5%20C3.59249446,15.5%203.36863683,15.2761424%203.36863683,15%20L3.36863683,8%20L4.36863683,8%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.2668502,2.5%20L4.13736016,2.5%20C3.93071812,2.5%203.74536483,2.62711853%203.67092732,2.8198878%20L2.66995399,5.4120878%20C2.03384299,7.0594346%203.25812678,8.83333333%205.02535016,8.83333333%20L5.18983137,8.82801246%20C5.89676281,8.7821367%206.5248991,8.44271907%206.952186,7.9306747%20L7.03,7.831%20L7.10849064,7.9309606%20C7.56707008,8.48232369%208.25828643,8.83333333%209.0314835,8.83333333%20L9.37095016,8.83333333%20L9.53532554,8.82801564%20C10.2417055,8.78216689%2010.8681193,8.44294061%2011.293943,7.9309606%20L11.372,7.83%20L11.4503845,7.93065774%20C11.9106338,8.48209425%2012.6038389,8.83333333%2013.3774502,8.83333333%20C15.1454827,8.83333333%2016.3706621,7.05852949%2015.7340952,5.41059984%20L14.733258,2.81982303%20C14.6588029,2.62708776%2014.4734668,2.5%2014.2668502,2.5%20Z%20M13.924,3.5%20L14.8012757,5.77094364%20C15.1841582,6.76214104%2014.4446946,7.83333333%2013.3774502,7.83333333%20C12.5472859,7.83333333%2011.8709502,7.16002068%2011.8709502,6.33333333%20C11.8709502,5.66666667%2010.8709502,5.66666667%2010.8709502,6.33333333%20C10.8709502,7.16175763%2010.1993745,7.83333333%209.37095016,7.83333333%20L9.0314835,7.83333333%20C8.20305921,7.83333333%207.5314835,7.16175763%207.5314835,6.33333333%20C7.5314835,5.66666667%206.5314835,5.66666667%206.5314835,6.33333333%20C6.5314835,7.16011838%205.85541643,7.83333333%205.02535016,7.83333333%20L4.89381412,7.82784202%20C3.89933715,7.74427955%203.23620119,6.72174993%203.60282053,5.77230998%20L4.479,3.5%20L13.924,3.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",gK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-207%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='25.9992173%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%235EA0F7'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-207'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M4.2347161,7.41940305%20C6.27695036,7.35032805%207.86536298,7.31580305%209,7.31580305%20C10.134766,7.31580305%2011.7237681,7.35035305%2013.7669971,7.41942805%20L13.7669971,7.41942805%20C14.8730354,7.45682805%2015.7675997,8.04377805%2015.8598524,8.79260305%20C15.9532841,9.55110305%2016,10.219153%2016,10.796753%20C16,11.381453%2015.952142,12.058803%2015.8563893,12.828853%20L15.8563893,12.828853%20C15.7644313,13.568378%2014.8893196,14.151103%2013.7979445,14.199528%20C12.0511106,14.277053%2010.4517927,14.315803%209,14.315803%20C7.54840993,14.315803%205.94968151,14.277053%204.20380553,14.199578%20L4.20380553,14.199578%20C3.1128062,14.151153%202.23787137,13.568778%202.14546388,12.829553%20C2.04848796,12.053753%202,11.376153%202,10.796753%20C2,10.224328%202.04732743,9.55605305%202.14198966,8.79190305%20L2.14199334,8.79190305%20C2.23471768,8.04337805%203.1290978,7.45680305%204.2347161,7.41940305%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%20opacity='0'%3e%3c/path%3e%3cpath%20d='M9,3.5%20L8.20210685,3.50705105%20C7.15008415,3.52427939%205.81989444,3.57304016%204.20982457,3.65329386%20C2.85412673,3.72087636%201.75744828,4.78082591%201.6437505,6.13342651%20L1.60589031,6.60966035%20C1.53528627,7.55437271%201.5,8.39344108%201.5,9.1298278%20C1.5,9.99895528%201.54915734,11.0113104%201.64725293,12.1677963%20C1.76056362,13.5036084%202.83340966,14.5559535%204.17116982,14.6434576%20L4.82068928,14.6837068%20C6.32735316,14.7717831%207.71979264,14.815803%209,14.815803%20C10.4633592,14.815803%2012.0734902,14.7583023%2013.8305761,14.6433842%20C15.1688014,14.5558798%2016.2418603,13.5028873%2016.3546188,12.1665453%20L16.3929127,11.6862548%20C16.4643187,10.7329255%2016.5,9.88175609%2016.5,9.1298278%20C16.5,8.26365678%2016.4526376,7.26553551%2016.3581149,6.13469193%20C16.2449947,4.78154096%2015.1480852,3.7209124%2013.7918821,3.65333038%20L12.5364848,3.59469571%20C11.077736,3.53158475%209.89934409,3.5%209,3.5%20Z%20M8.21483488,4.50696509%20L9.00155703,4.49999758%20L9.78656291,4.50697659%20C10.634616,4.52093385%2011.6716739,4.55582867%2012.8965052,4.61168605%20L13.7426176,4.65211601%20C14.5979812,4.69474057%2015.2902044,5.36406804%2015.3615905,6.21799323%20C15.4539307,7.32272579%2015.5,8.29359659%2015.5,9.1298278%20C15.5,9.85516506%2015.4653474,10.6817947%2015.3958904,11.6091779%20L15.3579706,12.0847717%20C15.2870016,12.9257865%2014.6098304,13.5902945%2013.76532,13.6455157%20C12.029044,13.7590727%2010.4404864,13.815803%209,13.815803%20C7.74012146,13.815803%206.3670077,13.772394%204.88078958,13.685516%20L4.23472775,13.645481%20C3.39222695,13.5903693%202.71518116,12.9262611%202.64367469,12.0832761%20C2.54781857,10.9531921%202.5,9.96840783%202.5,9.1298278%20C2.5,8.42006452%202.53425817,7.60544326%202.60292784,6.68654067%20L2.64042119,6.21492731%20C2.71198717,5.36360735%203.40407002,4.69470307%204.25961054,4.65205377%20L5.50520314,4.59384482%20C6.55681799,4.54831868%207.46017022,4.51936423%208.21483488,4.50696509%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.5342947,7.08496624%20C7.44376336,7.21971488%207.39546302,7.3781282%207.39546302,7.54023624%20L7.39546302,10.7811668%20C7.39546302,11.2317162%207.76071713,11.5969409%208.21123712,11.5969409%20C8.37114236,11.5969409%208.52753447,11.549957%208.66095203,11.4618367%20L11.0917813,9.85521097%20C11.4676491,9.60678989%2011.5709323,9.10067566%2011.3225202,8.7248215%20C11.2631468,8.63500024%2011.1866088,8.55785917%2011.0973334,8.49777181%20L8.66644686,6.8632533%20C8.29263792,6.61182681%207.78573615,6.71113505%207.5342947,7.08496624%20Z%20M8.39546302,7.88640567%20L10.308463,9.17340567%20L8.39546302,10.4384057%20L8.39546302,7.88640567%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",vK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-207-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-207-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M4.2347161,7.41940305%20C6.27695036,7.35032805%207.86536298,7.31580305%209,7.31580305%20C10.134766,7.31580305%2011.7237681,7.35035305%2013.7669971,7.41942805%20L13.7669971,7.41942805%20C14.8730354,7.45682805%2015.7675997,8.04377805%2015.8598524,8.79260305%20C15.9532841,9.55110305%2016,10.219153%2016,10.796753%20C16,11.381453%2015.952142,12.058803%2015.8563893,12.828853%20L15.8563893,12.828853%20C15.7644313,13.568378%2014.8893196,14.151103%2013.7979445,14.199528%20C12.0511106,14.277053%2010.4517927,14.315803%209,14.315803%20C7.54840993,14.315803%205.94968151,14.277053%204.20380553,14.199578%20L4.20380553,14.199578%20C3.1128062,14.151153%202.23787137,13.568778%202.14546388,12.829553%20C2.04848796,12.053753%202,11.376153%202,10.796753%20C2,10.224328%202.04732743,9.55605305%202.14198966,8.79190305%20L2.14199334,8.79190305%20C2.23471768,8.04337805%203.1290978,7.45680305%204.2347161,7.41940305%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M9,3.5%20L8.20210685,3.50705105%20C7.15008415,3.52427939%205.81989444,3.57304016%204.20982457,3.65329386%20C2.85412673,3.72087636%201.75744828,4.78082591%201.6437505,6.13342651%20L1.60589031,6.60966035%20C1.53528627,7.55437271%201.5,8.39344108%201.5,9.1298278%20C1.5,9.99895528%201.54915734,11.0113104%201.64725293,12.1677963%20C1.76056362,13.5036084%202.83340966,14.5559535%204.17116982,14.6434576%20L4.82068928,14.6837068%20C6.32735316,14.7717831%207.71979264,14.815803%209,14.815803%20C10.4633592,14.815803%2012.0734902,14.7583023%2013.8305761,14.6433842%20C15.1688014,14.5558798%2016.2418603,13.5028873%2016.3546188,12.1665453%20L16.3929127,11.6862548%20C16.4643187,10.7329255%2016.5,9.88175609%2016.5,9.1298278%20C16.5,8.26365678%2016.4526376,7.26553551%2016.3581149,6.13469193%20C16.2449947,4.78154096%2015.1480852,3.7209124%2013.7918821,3.65333038%20L12.5364848,3.59469571%20C11.077736,3.53158475%209.89934409,3.5%209,3.5%20Z%20M8.21483488,4.50696509%20L9.00155703,4.49999758%20L9.78656291,4.50697659%20C10.634616,4.52093385%2011.6716739,4.55582867%2012.8965052,4.61168605%20L13.7426176,4.65211601%20C14.5979812,4.69474057%2015.2902044,5.36406804%2015.3615905,6.21799323%20C15.4539307,7.32272579%2015.5,8.29359659%2015.5,9.1298278%20C15.5,9.85516506%2015.4653474,10.6817947%2015.3958904,11.6091779%20L15.3579706,12.0847717%20C15.2870016,12.9257865%2014.6098304,13.5902945%2013.76532,13.6455157%20C12.029044,13.7590727%2010.4404864,13.815803%209,13.815803%20C7.74012146,13.815803%206.3670077,13.772394%204.88078958,13.685516%20L4.23472775,13.645481%20C3.39222695,13.5903693%202.71518116,12.9262611%202.64367469,12.0832761%20C2.54781857,10.9531921%202.5,9.96840783%202.5,9.1298278%20C2.5,8.42006452%202.53425817,7.60544326%202.60292784,6.68654067%20L2.64042119,6.21492731%20C2.71198717,5.36360735%203.40407002,4.69470307%204.25961054,4.65205377%20L5.50520314,4.59384482%20C6.55681799,4.54831868%207.46017022,4.51936423%208.21483488,4.50696509%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.5342947,7.08496624%20C7.44376336,7.21971488%207.39546302,7.3781282%207.39546302,7.54023624%20L7.39546302,10.7811668%20C7.39546302,11.2317162%207.76071713,11.5969409%208.21123712,11.5969409%20C8.37114236,11.5969409%208.52753447,11.549957%208.66095203,11.4618367%20L11.0917813,9.85521097%20C11.4676491,9.60678989%2011.5709323,9.10067566%2011.3225202,8.7248215%20C11.2631468,8.63500024%2011.1866088,8.55785917%2011.0973334,8.49777181%20L8.66644686,6.8632533%20C8.29263792,6.61182681%207.78573615,6.71113505%207.5342947,7.08496624%20Z%20M8.39546302,7.88640567%20L10.308463,9.17340567%20L8.39546302,10.4384057%20L8.39546302,7.88640567%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",yK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-208%3c/title%3e%3cg%20id='icon-208'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='矩形'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cg%20id='编组'%20transform='translate(3.500000,%201.500000)'%20fill-rule='nonzero'%3e%3cpath%20d='M3.59375,1.03125%20L1.1875,1.03125%20C0.531661688,1.03125%200,1.56291169%200,2.21875%20L0,13.5625%20C0,14.2183462%200.531659286,14.75%201.1875,14.75%20L10.8125,14.75%20C11.4683486,14.75%2012,14.2183486%2012,13.5625%20L12,2.21875%20C12,1.56290929%2011.4683462,1.03125%2010.8125,1.03125%20L8.40625,1.03125%20L8.31637437,1.03930567%20C8.08312516,1.08164163%207.90625,1.28579011%207.90625,1.53125%20L7.906,2.06225%20L4.093,2.06225%20L4.09375,1.53125%20C4.09375,1.25510763%203.86989237,1.03125%203.59375,1.03125%20Z%20M8.90625,2.5625%20L8.906,2.03125%20L10.8125,2.03125%20C10.9160592,2.03125%2011,2.11519172%2011,2.21875%20L11,13.5625%20C11,13.6660639%2010.9160639,13.75%2010.8125,13.75%20L1.1875,13.75%20C1.08394172,13.75%201,13.6660592%201,13.5625%20L1,2.21875%20L1.00955886,2.15948543%20C1.03436286,2.08497572%201.10465715,2.03125%201.1875,2.03125%20L3.093,2.03125%20L3.09375,2.5625%20C3.09375,2.83864237%203.31760763,3.0625%203.59375,3.0625%20L8.40625,3.0625%20C8.68239237,3.0625%208.90625,2.83864237%208.90625,2.5625%20Z'%20id='路径'%20fill='%23595959'%3e%3c/path%3e%3cpath%20d='M8.40625,0%20L3.59375,0%20C3.31760763,0%203.09375,0.223857625%203.09375,0.5%20L3.09375,2.5625%20C3.09375,2.83864237%203.31760763,3.0625%203.59375,3.0625%20L8.40625,3.0625%20C8.68239237,3.0625%208.90625,2.83864237%208.90625,2.5625%20L8.90625,0.5%20C8.90625,0.223857625%208.68239237,0%208.40625,0%20Z%20M7.90575,1%20L7.90575,2.062%20L4.09375,2.062%20L4.09375,1%20L7.90575,1%20Z'%20id='矩形'%20fill='%23595959'%3e%3c/path%3e%3cg%20id='锤子'%20transform='translate(2.500000,%203.500000)'%3e%3crect%20id='矩形'%20fill='%23000000'%20opacity='0'%20x='0'%20y='0'%20width='7'%20height='7'%3e%3c/rect%3e%3cpath%20d='M4.78423907,7.5%20C5.06038144,7.5%205.28423907,7.72385763%205.28423907,8%20C5.28423907,8.27614237%205.06038144,8.5%204.78423907,8.5%20L1.60776381,8.5%20C1.33162143,8.5%201.10776381,8.27614237%201.10776381,8%20C1.10776381,7.72385763%201.33162143,7.5%201.60776381,7.5%20L4.78423907,7.5%20Z'%20id='路径-4'%20fill='%23595959'%3e%3c/path%3e%3cpath%20d='M2.85758852,1.43024223%20L0.555100526,3.7331677%20L0.496932546,3.79742215%20C0.169139085,4.21085435%200.201584553,4.7723518%200.554308034,5.12585189%20L1.70969661,6.28124089%20L1.77044308,6.33639216%20C2.18179702,6.66709406%202.74752923,6.63608979%203.10280948,6.2807973%20L5.40580339,3.97780339%20L5.46400495,3.91351535%20C5.79096016,3.5024771%205.76048887,2.93982745%205.40668091,2.58513717%20L4.208593,1.39142491%20L4.09516768,1.30315522%20L4.07230474,1.28817016%20C3.68342082,1.04821915%203.18060517,1.10702799%202.85758852,1.43024223%20Z%20M3.5555153,2.14533616%20L3.57026982,2.15615728%20L4.6885153,3.28033616%20L2.4055153,5.56333616%20L1.2715153,4.42933616%20L3.5555153,2.14533616%20Z'%20id='形状'%20fill='%23595959'%3e%3c/path%3e%3cpath%20d='M3.85360147,4.34394415%20C4.05978358,4.16024998%204.37584075,4.17848006%204.55953492,4.38466217%20L6.04188794,6.04848567%20C6.22558211,6.25466778%206.20735203,6.57072496%206.00116992,6.75441913%20C5.79498781,6.9381133%205.47893063,6.91988322%205.29523646,6.7137011%20L3.81288344,5.0498776%20C3.62918928,4.84369549%203.64741936,4.52763832%203.85360147,4.34394415%20Z'%20id='路径-3'%20fill='%23595959'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",mK="https://static.kongfz.com/search-v3/assets/images/icon-208-active-9zKz5pxG.svg",bK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-209%3c/title%3e%3cg%20id='icon-209'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cg%20id='编组-2'%20transform='translate(1.500000,%202.500000)'%3e%3cpolygon%20id='path'%20points='0.5%202.68181818%2014.5%202.68181818%2014.5%2012.0432579%2012.4423783%2012.0432579%2012.4423783%2010.3181818%203.10929363%2010.3181818%203.10929363%2012.0432579%200.5%2012.0432579'%3e%3c/polygon%3e%3cpath%20d='M1.68181818,0%20L1.5,0%20C0.671572875,0%200,0.671572875%200,1.5%20L0,11.5%20C0,12.3284271%200.671572875,13%201.5,13%20L1.68181818,13%20C2.51024531,13%203.18181818,12.3284271%203.18181818,11.5%20L3.18181818,1.5%20C3.18181818,0.671572875%202.51024531,0%201.68181818,0%20Z%20M1.68181818,1%20C1.95796056,1%202.18181818,1.22385763%202.18181818,1.5%20L2.18181818,11.5%20C2.18181818,11.7761424%201.95796056,12%201.68181818,12%20L1.5,12%20C1.22385763,12%201,11.7761424%201,11.5%20L1,1.5%20C1,1.22385763%201.22385763,1%201.5,1%20L1.68181818,1%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M13.6818182,0%20L13.5,0%20C12.6715729,0%2012,0.671572875%2012,1.5%20L12,11.5%20C12,12.3284271%2012.6715729,13%2013.5,13%20L13.6818182,13%20C14.5102453,13%2015.1818182,12.3284271%2015.1818182,11.5%20L15.1818182,1.5%20C15.1818182,0.671572875%2014.5102453,0%2013.6818182,0%20Z%20M13.6818182,1%20C13.9579606,1%2014.1818182,1.22385763%2014.1818182,1.5%20L14.1818182,11.5%20C14.1818182,11.7761424%2013.9579606,12%2013.6818182,12%20L13.5,12%20C13.2238576,12%2013,11.7761424%2013,11.5%20L13,1.5%20C13,1.22385763%2013.2238576,1%2013.5,1%20L13.6818182,1%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.5,2.18181818%20L2.68181818,2.18181818%20C2.40567581,2.18181818%202.18181818,2.40567581%202.18181818,2.68181818%20L2.18181818,10.3181818%20C2.18181818,10.5943242%202.40567581,10.8181818%202.68181818,10.8181818%20L12.5,10.8181818%20C12.7761424,10.8181818%2013,10.5943242%2013,10.3181818%20L13,2.68181818%20C13,2.40567581%2012.7761424,2.18181818%2012.5,2.18181818%20Z%20M11.9998182,3.18181818%20L11.9998182,9.81781818%20L3.18181818,9.81781818%20L3.18181818,3.18181818%20L11.9998182,3.18181818%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.1685622,4%20C10.4447046,4%2010.6685622,4.22385763%2010.6685622,4.5%20L10.6685622,8.5%20C10.6685622,8.77614237%2010.4447046,9%2010.1685622,9%20C9.89241983,9%209.6685622,8.77614237%209.6685622,8.5%20L9.6685622,4.5%20C9.6685622,4.22385763%209.89241983,4%2010.1685622,4%20Z'%20id='路径-5'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.92661705,4%20C8.20275942,4%208.42661705,4.22385763%208.42661705,4.5%20L8.42661705,6.7495%20C8.42661705,7.02564237%208.20275942,7.2495%207.92661705,7.2495%20C7.65047467,7.2495%207.42661705,7.02564237%207.42661705,6.7495%20L7.42661705,4.5%20C7.42661705,4.22385763%207.65047467,4%207.92661705,4%20Z'%20id='路径-6'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",_K="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-209-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-209-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cg%20id='编组-2'%20transform='translate(1.500000,%202.500000)'%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='0.5%202.68181818%2014.5%202.68181818%2014.5%2012.0432579%2012.4423783%2012.0432579%2012.4423783%2010.3181818%203.10929363%2010.3181818%203.10929363%2012.0432579%200.5%2012.0432579'%3e%3c/polygon%3e%3cpath%20d='M1.68181818,0%20L1.5,0%20C0.671572875,0%200,0.671572875%200,1.5%20L0,11.5%20C0,12.3284271%200.671572875,13%201.5,13%20L1.68181818,13%20C2.51024531,13%203.18181818,12.3284271%203.18181818,11.5%20L3.18181818,1.5%20C3.18181818,0.671572875%202.51024531,0%201.68181818,0%20Z%20M1.68181818,1%20C1.95796056,1%202.18181818,1.22385763%202.18181818,1.5%20L2.18181818,11.5%20C2.18181818,11.7761424%201.95796056,12%201.68181818,12%20L1.5,12%20C1.22385763,12%201,11.7761424%201,11.5%20L1,1.5%20C1,1.22385763%201.22385763,1%201.5,1%20L1.68181818,1%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M13.6818182,0%20L13.5,0%20C12.6715729,0%2012,0.671572875%2012,1.5%20L12,11.5%20C12,12.3284271%2012.6715729,13%2013.5,13%20L13.6818182,13%20C14.5102453,13%2015.1818182,12.3284271%2015.1818182,11.5%20L15.1818182,1.5%20C15.1818182,0.671572875%2014.5102453,0%2013.6818182,0%20Z%20M13.6818182,1%20C13.9579606,1%2014.1818182,1.22385763%2014.1818182,1.5%20L14.1818182,11.5%20C14.1818182,11.7761424%2013.9579606,12%2013.6818182,12%20L13.5,12%20C13.2238576,12%2013,11.7761424%2013,11.5%20L13,1.5%20C13,1.22385763%2013.2238576,1%2013.5,1%20L13.6818182,1%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.5,2.18181818%20L2.68181818,2.18181818%20C2.40567581,2.18181818%202.18181818,2.40567581%202.18181818,2.68181818%20L2.18181818,10.3181818%20C2.18181818,10.5943242%202.40567581,10.8181818%202.68181818,10.8181818%20L12.5,10.8181818%20C12.7761424,10.8181818%2013,10.5943242%2013,10.3181818%20L13,2.68181818%20C13,2.40567581%2012.7761424,2.18181818%2012.5,2.18181818%20Z%20M11.9998182,3.18181818%20L11.9998182,9.81781818%20L3.18181818,9.81781818%20L3.18181818,3.18181818%20L11.9998182,3.18181818%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.1685622,4%20C10.4447046,4%2010.6685622,4.22385763%2010.6685622,4.5%20L10.6685622,8.5%20C10.6685622,8.77614237%2010.4447046,9%2010.1685622,9%20C9.89241983,9%209.6685622,8.77614237%209.6685622,8.5%20L9.6685622,4.5%20C9.6685622,4.22385763%209.89241983,4%2010.1685622,4%20Z'%20id='路径-5'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.92661705,4%20C8.20275942,4%208.42661705,4.22385763%208.42661705,4.5%20L8.42661705,6.7495%20C8.42661705,7.02564237%208.20275942,7.2495%207.92661705,7.2495%20C7.65047467,7.2495%207.42661705,7.02564237%207.42661705,6.7495%20L7.42661705,4.5%20C7.42661705,4.22385763%207.65047467,4%207.92661705,4%20Z'%20id='路径-6'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",wK="https://static.kongfz.com/search-v3/assets/images/icon-210-CID4Zr5D.svg",CK="https://static.kongfz.com/search-v3/assets/images/icon-210-active-DpXLVNiE.svg",AK="https://static.kongfz.com/search-v3/assets/images/icon-211-T4WV4kWk.svg",SK="https://static.kongfz.com/search-v3/assets/images/icon-211-active-OY89SXzP.svg",TK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-212%3c/title%3e%3cg%20id='icon-212'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='rect'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M13.5,4.9%20L3.7,4.9%20C2.98202742,4.9%202.4,5.48202138%202.4,6.2%20L2.4,15.3%20C2.4,16.0179786%202.98202742,16.6%203.7,16.6%20L13.5,16.6%20C14.2179808,16.6%2014.8,16.0179808%2014.8,15.3%20L14.8,6.2%20C14.8,5.48201915%2014.2179808,4.9%2013.5,4.9%20Z%20M13.5,6.1%20C13.5552392,6.1%2013.6,6.14476085%2013.6,6.2%20L13.6,15.3%20C13.6,15.3552392%2013.5552392,15.4%2013.5,15.4%20L3.7,15.4%20C3.64476633,15.4%203.6,15.3552341%203.6,15.3%20L3.6,6.2%20C3.6,6.14476587%203.64476633,6.1%203.7,6.1%20L13.5,6.1%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.6,1.4%20C10.2844698,1.4%2011.65,2.76553157%2011.65,4.45%20L11.65,6.9%20C11.65,7.23137085%2011.3813708,7.5%2011.05,7.5%20C10.7186292,7.5%2010.45,7.23137085%2010.45,6.9%20L10.45,4.45%20C10.45,3.42827301%209.62172781,2.6%208.6,2.6%20C7.57827219,2.6%206.75,3.42827301%206.75,4.45%20L6.75,6.9%20C6.75,7.23137085%206.48137085,7.5%206.15,7.5%20C5.81862915,7.5%205.55,7.23137085%205.55,6.9%20L5.55,4.45%20C5.55,2.76553157%206.91553023,1.4%208.6,1.4%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",EK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-212-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-212-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='矩形'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cg%20id='编组'%20transform='translate(2.500000,%201.500000)'%3e%3cpath%20d='M11,5.5%20L1.2,5.5%20C0.8134005,5.5%200.5,5.76862%200.5,6.1%20L0.5,13.9%20C0.5,14.23138%200.8134005,14.5%201.2,14.5%20L11,14.5%20C11.38661,14.5%2011.7,14.23138%2011.7,13.9%20L11.7,6.1%20C11.7,5.76862%2011.38661,5.5%2011,5.5%20Z'%20id='路径'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M11,3.5%20L1.2,3.5%20C0.537255658,3.5%200,4.03725009%200,4.7%20L0,13.8%20C0,14.4627499%200.537255658,15%201.2,15%20L11,15%20C11.6627524,15%2012.2,14.4627524%2012.2,13.8%20L12.2,4.7%20C12.2,4.03724763%2011.6627524,3.5%2011,3.5%20Z%20M11,4.5%20C11.1104676,4.5%2011.2,4.58953237%2011.2,4.7%20L11.2,13.8%20C11.2,13.9104676%2011.1104676,14%2011,14%20L1.2,14%20C1.08953809,14%201,13.9104628%201,13.8%20L1,4.7%20C1,4.58953716%201.08953809,4.5%201.2,4.5%20L11,4.5%20Z'%20id='路径'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6.1,0%20C7.72924128,0%209.05,1.32076003%209.05,2.95%20L9.05,5.4%20C9.05,5.67614237%208.82614237,5.9%208.55,5.9%20C8.27385763,5.9%208.05,5.67614237%208.05,5.4%20L8.05,2.95%20C8.05,1.87304456%207.17695631,1%206.1,1%20C5.02304369,1%204.15,1.87304456%204.15,2.95%20L4.15,5.4%20C4.15,5.67614237%203.92614237,5.9%203.65,5.9%20C3.37385763,5.9%203.15,5.67614237%203.15,5.4%20L3.15,2.95%20C3.15,1.32076003%204.47075872,0%206.1,0%20Z'%20id='路径'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",IK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-213%3c/title%3e%3cg%20id='icon-213'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M16,2.5%20L2,2.5%20C1.72385763,2.5%201.5,2.72385763%201.5,3%20L1.5,12.1%20C1.5,12.3761424%201.72385763,12.6%202,12.6%20L16,12.6%20C16.2761424,12.6%2016.5,12.3761424%2016.5,12.1%20L16.5,3%20C16.5,2.72385763%2016.2761424,2.5%2016,2.5%20Z%20M15.5,3.5%20L15.5,11.6%20L2.5,11.6%20L2.5,3.5%20L15.5,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,11.6%20C9.27614237,11.6%209.5,11.8238576%209.5,12.1%20L9.5,14.2%20C9.5,14.4761424%209.27614237,14.7%209,14.7%20C8.72385763,14.7%208.5,14.4761424%208.5,14.2%20L8.5,12.1%20C8.5,11.8238576%208.72385763,11.6%209,11.6%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,4.5%20C8.18691355,4.5%207.52777778,5.15913642%207.52777778,5.97222222%20C7.52777778,6.78530904%208.18691318,7.44444444%209,7.44444444%20C9.81308682,7.44444444%2010.4722222,6.78530904%2010.4722222,5.97222222%20C10.4722222,5.15913642%209.81308645,4.5%209,4.5%20Z%20M9,5.5%20C9.26080148,5.5%209.47222222,5.71142095%209.47222222,5.97222222%20C9.47222222,6.23302429%209.26080207,6.44444444%209,6.44444444%20C8.73919793,6.44444444%208.52777778,6.23302429%208.52777778,5.97222222%20C8.52777778,5.71142095%208.73919852,5.5%209,5.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.91715842,7.55721848%20C7.33282073,7.56414686%207.14301509,7.59698412%206.87969583,7.73114416%20C6.57653335,7.88561338%206.33006253,8.13208942%206.17559987,8.4352429%20C6.04380732,8.6939006%206.00857503,8.92622384%206.00155631,9.44995491%20L5.99999995,9.99977111%20C5.9998736,10.2760028%206.22376824,10.5%206.49999995,10.5%20L11.4999999,10.5%20C11.7761424,10.5%2011.9999999,10.2761424%2011.9999999,10%20L11.9983371,9.4726833%20C11.9914087,8.88837629%2011.9585714,8.69857065%2011.8244114,8.43525138%20C11.6699406,8.13208981%2011.4234657,7.88561497%2011.1203174,7.73115087%20C10.8616493,7.59936061%2010.6293275,7.56413008%2010.1055995,7.55711177%20L7.91715842,7.55721848%20Z%20M8.11891605,8.55584692%20L9.91710625,8.55571986%20L10.199209,8.55915385%20C10.4782769,8.56631574%2010.5936788,8.58514351%2010.6663347,8.6221614%20C10.781312,8.68074614%2010.8748094,8.77424352%2010.9334009,8.88923403%20L10.9459207,8.91687604%20C10.972698,8.98399828%2010.9871058,9.08229517%2010.9941601,9.29722079%20L10.998,9.49955556%20L7.001,9.49955556%20L7.00740172,9.24608691%20C7.01651133,9.04518489%207.03487729,8.95150534%207.06660752,8.88923117%20C7.12519927,8.77423709%207.21869013,8.68074426%207.33367608,8.6221559%20C7.42968287,8.57324085%207.5738417,8.5580406%208.11891605,8.55584692%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M13.2,14.4%20C13.4761424,14.4%2013.7,14.6238576%2013.7,14.9%20C13.7,15.1761424%2013.4761424,15.4%2013.2,15.4%20L4.8,15.4%20C4.52385763,15.4%204.3,15.1761424%204.3,14.9%20C4.3,14.6238576%204.52385763,14.4%204.8,14.4%20L13.2,14.4%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",kK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-213-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-213-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='4.8%2012.1%202%2012.1%202%205.1%2016%205.1%2016%2012.1%2013.2%2012.1'%3e%3c/polygon%3e%3cpath%20d='M16,2.5%20L2,2.5%20C1.72385763,2.5%201.5,2.72385763%201.5,3%20L1.5,12.1%20C1.5,12.3761424%201.72385763,12.6%202,12.6%20L16,12.6%20C16.2761424,12.6%2016.5,12.3761424%2016.5,12.1%20L16.5,3%20C16.5,2.72385763%2016.2761424,2.5%2016,2.5%20Z%20M15.5,3.5%20L15.5,11.6%20L2.5,11.6%20L2.5,3.5%20L15.5,3.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,11.6%20C9.27614237,11.6%209.5,11.8238576%209.5,12.1%20L9.5,14.2%20C9.5,14.4761424%209.27614237,14.7%209,14.7%20C8.72385763,14.7%208.5,14.4761424%208.5,14.2%20L8.5,12.1%20C8.5,11.8238576%208.72385763,11.6%209,11.6%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,4.5%20C8.18691355,4.5%207.52777778,5.15913642%207.52777778,5.97222222%20C7.52777778,6.78530904%208.18691318,7.44444444%209,7.44444444%20C9.81308682,7.44444444%2010.4722222,6.78530904%2010.4722222,5.97222222%20C10.4722222,5.15913642%209.81308645,4.5%209,4.5%20Z%20M9,5.5%20C9.26080148,5.5%209.47222222,5.71142095%209.47222222,5.97222222%20C9.47222222,6.23302429%209.26080207,6.44444444%209,6.44444444%20C8.73919793,6.44444444%208.52777778,6.23302429%208.52777778,5.97222222%20C8.52777778,5.71142095%208.73919852,5.5%209,5.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.91715842,7.55721848%20C7.33282073,7.56414686%207.14301509,7.59698412%206.87969583,7.73114416%20C6.57653335,7.88561338%206.33006253,8.13208942%206.17559987,8.4352429%20C6.04380732,8.6939006%206.00857503,8.92622384%206.00155631,9.44995491%20L5.99999995,9.99977111%20C5.9998736,10.2760028%206.22376824,10.5%206.49999995,10.5%20L11.4999999,10.5%20C11.7761424,10.5%2011.9999999,10.2761424%2011.9999999,10%20L11.9983371,9.4726833%20C11.9914087,8.88837629%2011.9585714,8.69857065%2011.8244114,8.43525138%20C11.6699406,8.13208981%2011.4234657,7.88561497%2011.1203174,7.73115087%20C10.8616493,7.59936061%2010.6293275,7.56413008%2010.1055995,7.55711177%20L7.91715842,7.55721848%20Z%20M8.11891605,8.55584692%20L9.91710625,8.55571986%20L10.199209,8.55915385%20C10.4782769,8.56631574%2010.5936788,8.58514351%2010.6663347,8.6221614%20C10.781312,8.68074614%2010.8748094,8.77424352%2010.9334009,8.88923403%20L10.9459207,8.91687604%20C10.972698,8.98399828%2010.9871058,9.08229517%2010.9941601,9.29722079%20L10.998,9.49955556%20L7.001,9.49955556%20L7.00740172,9.24608691%20C7.01651133,9.04518489%207.03487729,8.95150534%207.06660752,8.88923117%20C7.12519927,8.77423709%207.21869013,8.68074426%207.33367608,8.6221559%20C7.42968287,8.57324085%207.5738417,8.5580406%208.11891605,8.55584692%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M13.2,14.4%20C13.4761424,14.4%2013.7,14.6238576%2013.7,14.9%20C13.7,15.1761424%2013.4761424,15.4%2013.2,15.4%20L4.8,15.4%20C4.52385763,15.4%204.3,15.1761424%204.3,14.9%20C4.3,14.6238576%204.52385763,14.4%204.8,14.4%20L13.2,14.4%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",xK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-214%3c/title%3e%3cg%20id='icon-214'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.875,3.5%20L8,3.5%20C7.3786722,3.5%206.875,4.00367742%206.875,4.625%20L6.875,11.5%20C6.875,12.1213299%207.37867013,12.625%208,12.625%20L14.875,12.625%20C15.4963299,12.625%2016,12.1213299%2016,11.5%20L16,4.625%20C16,4.00367742%2015.4963278,3.5%2014.875,3.5%20Z%20M14.875,4.5%20C14.9440407,4.5%2015,4.55595985%2015,4.625%20L15,11.5%20C15,11.5690451%2014.9440451,11.625%2014.875,11.625%20L8,11.625%20C7.93095487,11.625%207.875,11.5690451%207.875,11.5%20L7.875,4.625%20C7.875,4.55595985%207.93095927,4.5%208,4.5%20L14.875,4.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.375,7.25%20L5.1875,7.25%20C5.0618055,7.25%204.94072204,7.29734147%204.84836104,7.38259727%20L2.66086104,9.40181602%20C2.55831928,9.49646939%202.5,9.62966921%202.5,9.76921875%20L2.5,12.125%20C2.5,12.4011424%202.72385763,12.625%203,12.625%20L7.375,12.625%20C7.65114237,12.625%207.875,12.4011424%207.875,12.125%20L7.875,7.75%20C7.875,7.47385763%207.65114237,7.25%207.375,7.25%20Z%20M6.875,8.25%20L6.875,11.625%20L3.5,11.625%20L3.5,9.987%20L5.382,8.25%20L6.875,8.25%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.375,12.25%20C7.65114237,12.25%207.875,12.4738576%207.875,12.75%20C7.875,13.7164861%207.09148612,14.5%206.125,14.5%20C5.15851388,14.5%204.375,13.7164861%204.375,12.75%20C4.375,12.4738576%204.59885763,12.25%204.875,12.25%20C5.15114237,12.25%205.375,12.4738576%205.375,12.75%20C5.375,13.1642014%205.71079862,13.5%206.125,13.5%20C6.50468459,13.5%206.8184891,13.2178359%206.86815315,12.851768%20L6.875,12.75%20C6.875,12.4738576%207.09885763,12.25%207.375,12.25%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.25,12.15%20C14.5813708,12.15%2014.85,12.4186292%2014.85,12.75%20C14.85,13.7717146%2014.0217146,14.6%2013,14.6%20C11.9782854,14.6%2011.15,13.7717146%2011.15,12.75%20C11.15,12.4186292%2011.4186292,12.15%2011.75,12.15%20C12.0482338,12.15%2012.2956468,12.3675896%2012.342147,12.6526769%20L12.35,12.75%20C12.35,13.1089729%2012.6410271,13.4%2013,13.4%20C13.326339,13.4%2013.5965244,13.1594817%2013.6429521,12.8460495%20L13.65,12.75%20C13.65,12.4186292%2013.9186292,12.15%2014.25,12.15%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",LK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-214-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-214-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.875,6.125%20L8,6.125%20C7.6548125,6.125%207.375,6.33163769%207.375,6.58653846%20L7.375,7.89526218%20L5.35847231,8.0625%20C3.99769523,8.97712635%203.31730669,9.488523%203.31730669,9.59668997%20C3.31730669,10.1877749%203.31730669,10.8766988%203.31730669,11.6634615%20C3.31730669,11.9183692%207.6548125,12.125%208,12.125%20L14.875,12.125%20C15.2201875,12.125%2015.5,11.9183692%2015.5,11.6634615%20L15.5,6.58653846%20C15.5,6.33163769%2015.2201875,6.125%2014.875,6.125%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M14.875,3.5%20L8,3.5%20C7.3786722,3.5%206.875,4.00367742%206.875,4.625%20L6.875,11.5%20C6.875,12.1213299%207.37867013,12.625%208,12.625%20L14.875,12.625%20C15.4963299,12.625%2016,12.1213299%2016,11.5%20L16,4.625%20C16,4.00367742%2015.4963278,3.5%2014.875,3.5%20Z%20M14.875,4.5%20C14.9440407,4.5%2015,4.55595985%2015,4.625%20L15,11.5%20C15,11.5690451%2014.9440451,11.625%2014.875,11.625%20L8,11.625%20C7.93095487,11.625%207.875,11.5690451%207.875,11.5%20L7.875,4.625%20C7.875,4.55595985%207.93095927,4.5%208,4.5%20L14.875,4.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.375,7.25%20L5.1875,7.25%20C5.0618055,7.25%204.94072204,7.29734147%204.84836104,7.38259727%20L2.66086104,9.40181602%20C2.55831928,9.49646939%202.5,9.62966921%202.5,9.76921875%20L2.5,12.125%20C2.5,12.4011424%202.72385763,12.625%203,12.625%20L7.375,12.625%20C7.65114237,12.625%207.875,12.4011424%207.875,12.125%20L7.875,7.75%20C7.875,7.47385763%207.65114237,7.25%207.375,7.25%20Z%20M6.875,8.25%20L6.875,11.625%20L3.5,11.625%20L3.5,9.987%20L5.382,8.25%20L6.875,8.25%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.375,12.25%20C7.65114237,12.25%207.875,12.4738576%207.875,12.75%20C7.875,13.7164861%207.09148612,14.5%206.125,14.5%20C5.15851388,14.5%204.375,13.7164861%204.375,12.75%20C4.375,12.4738576%204.59885763,12.25%204.875,12.25%20C5.15114237,12.25%205.375,12.4738576%205.375,12.75%20C5.375,13.1642014%205.71079862,13.5%206.125,13.5%20C6.50468459,13.5%206.8184891,13.2178359%206.86815315,12.851768%20L6.875,12.75%20C6.875,12.4738576%207.09885763,12.25%207.375,12.25%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.25,12.15%20C14.5813708,12.15%2014.85,12.4186292%2014.85,12.75%20C14.85,13.7717146%2014.0217146,14.6%2013,14.6%20C11.9782854,14.6%2011.15,13.7717146%2011.15,12.75%20C11.15,12.4186292%2011.4186292,12.15%2011.75,12.15%20C12.0482338,12.15%2012.2956468,12.3675896%2012.342147,12.6526769%20L12.35,12.75%20C12.35,13.1089729%2012.6410271,13.4%2013,13.4%20C13.326339,13.4%2013.5965244,13.1594817%2013.6429521,12.8460495%20L13.65,12.75%20C13.65,12.4186292%2013.9186292,12.15%2014.25,12.15%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",OK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-215%3c/title%3e%3cg%20id='icon-215'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.6666667,3.5%20C15.3110067,3.5%2015.8333333,4.022332%2015.8333333,4.66666667%20L15.8333333,13.3333333%20C15.8333333,13.9776757%2015.311009,14.5%2014.6666667,14.5%20L12,14.5%20C11.7238576,14.5%2011.5,14.2761424%2011.5,14%20C11.5,13.7238576%2011.7238576,13.5%2012,13.5%20L14.6666667,13.5%20C14.7587243,13.5%2014.8333333,13.425391%2014.8333333,13.3333333%20L14.8333333,4.66666667%20C14.8333333,4.57461443%2014.7587197,4.5%2014.6666667,4.5%20L2.66666667,4.5%20C2.57461904,4.5%202.5,4.57461904%202.5,4.66666667%20L2.5,13.3333333%20C2.5,13.4253863%202.57461443,13.5%202.66666667,13.5%20L9.33333333,13.5%20C9.60947571,13.5%209.83333333,13.7238576%209.83333333,14%20C9.83333333,14.2761424%209.60947571,14.5%209.33333333,14.5%20L2.66666667,14.5%20C2.022332,14.5%201.5,13.9776734%201.5,13.3333333%20L1.5,4.66666667%20C1.5,4.02233429%202.02233429,3.5%202.66666667,3.5%20L14.6666667,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.6666667,6.16666667%20C12.942809,6.16666667%2013.1666667,6.39052429%2013.1666667,6.66666667%20C13.1666667,6.94280904%2012.942809,7.16666667%2012.6666667,7.16666667%20L4.66666667,7.16666667%20C4.39052429,7.16666667%204.16666667,6.94280904%204.16666667,6.66666667%20C4.16666667,6.39052429%204.39052429,6.16666667%204.66666667,6.16666667%20L12.6666667,6.16666667%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6.66666667,8.5%20C6.94280904,8.5%207.16666667,8.72385763%207.16666667,9%20C7.16666667,9.27614237%206.94280904,9.5%206.66666667,9.5%20L4.66666667,9.5%20C4.39052429,9.5%204.16666667,9.27614237%204.16666667,9%20C4.16666667,8.72385763%204.39052429,8.5%204.66666667,8.5%20L6.66666667,8.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6,10.8333333%20C6.27614237,10.8333333%206.5,11.057191%206.5,11.3333333%20C6.5,11.6094757%206.27614237,11.8333333%206,11.8333333%20L4.66666667,11.8333333%20C4.39052429,11.8333333%204.16666667,11.6094757%204.16666667,11.3333333%20C4.16666667,11.057191%204.39052429,10.8333333%204.66666667,10.8333333%20L6,10.8333333%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.6666667,8.5%20C9.28595763,8.5%208.16666667,9.61929096%208.16666667,11%20C8.16666667,12.380709%209.28595763,13.5%2010.6666667,13.5%20C12.0473757,13.5%2013.1666667,12.380709%2013.1666667,11%20C13.1666667,9.61929096%2012.0473757,8.5%2010.6666667,8.5%20Z%20M10.6666667,9.5%20C11.495091,9.5%2012.1666667,10.1715757%2012.1666667,11%20C12.1666667,11.8284243%2011.495091,12.5%2010.6666667,12.5%20C9.83824237,12.5%209.16666667,11.8284243%209.16666667,11%20C9.16666667,10.1715757%209.83824237,9.5%2010.6666667,9.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.6568813,12.1261631%20L11.5993401,12.1916152%20C11.5890343,12.2054196%2011.5355095,12.2559865%2011.4352807,12.315563%20C11.2439482,12.4292921%2010.9926569,12.5%2010.6666667,12.5%20C10.2248749,12.5%209.94138056,12.3831943%209.77949462,12.2422018%20L9.71366627,12.1754282%20C9.41198333,11.8219164%208.83333333,12.0352601%208.83333333,12.5%20L8.83333333,16%20L8.84007217,16.0833416%20C8.89316385,16.4064689%209.2500627,16.6006523%209.55694013,16.4472136%20L10.6663333,15.8917333%20L11.7763932,16.4472136%20C12.1088437,16.6134389%2012.5,16.371691%2012.5,16%20L12.5,12.4907333%20C12.5,12.0397356%2011.9613449,11.8326555%2011.6568813,12.1261631%20Z%20M11.4993333,13.3737333%20L11.4993333,15.1907333%20L10.8902735,14.8861197%20L10.8032233,14.8523364%20C10.6842322,14.8185531%2010.5556709,14.8298142%2010.4430599,14.8861197%20L9.83333333,15.1907333%20L9.83333333,13.3797333%20L9.89115314,13.3985632%20C10.1186258,13.4632665%2010.3768021,13.5%2010.6666667,13.5%20C10.9569532,13.5%2011.2209278,13.4607291%2011.4580878,13.3888993%20L11.4993333,13.3737333%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",NK="https://static.kongfz.com/search-v3/assets/images/icon-215-active-DjCUd_Ox.svg",RK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-216%3c/title%3e%3cg%20id='icon-216'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.4,3.5%20L3.60000002,3.5%20C2.99248679,3.5%202.5,3.99248679%202.5,4.60000002%20L2.5,12.4%20L2.50645465,12.5198571%20C2.56617613,13.0709893%203.03298767,13.5%203.60000002,13.5%20L7.293,13.5%20L8.64644661,14.8535534%20L8.7156945,14.9114088%20C8.91056264,15.0464049%209.17998704,15.0271197%209.35355339,14.8535534%20L10.706,13.5%20L14.4,13.5%20C15.0075132,13.5%2015.5,13.0075132%2015.5,12.4%20L15.5,4.60000002%20C15.5,3.99248679%2015.0075132,3.5%2014.4,3.5%20Z%20M14.4,4.5%20C14.4552285,4.5%2014.5,4.54477154%2014.5,4.60000002%20L14.5,12.4%20C14.5,12.4552285%2014.4552285,12.5%2014.4,12.5%20L10.5,12.5%20L10.4213106,12.5062287%20C10.3178573,12.522715%2010.2214612,12.5714321%2010.1464466,12.6464466%20L9,13.793%20L7.85355339,12.6464466%20C7.7597852,12.5526784%207.63260824,12.5%207.5,12.5%20L3.60000002,12.5%20C3.54477154,12.5%203.5,12.4552285%203.5,12.4%20L3.5,4.60000002%20C3.5,4.54477154%203.54477154,4.5%203.60000002,4.5%20L14.4,4.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,8%20C9.27614237,8%209.5,8.22385763%209.5,8.5%20L9.5,11.2%20C9.5,11.4761424%209.27614237,11.7%209,11.7%20C8.72385763,11.7%208.5,11.4761424%208.5,11.2%20L8.5,8.5%20C8.5,8.22385763%208.72385763,8%209,8%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,6.3%20C9.33137085,6.3%209.6,6.56862915%209.6,6.9%20C9.6,7.23137085%209.33137085,7.5%209,7.5%20C8.66862915,7.5%208.4,7.23137085%208.4,6.9%20C8.4,6.56862915%208.66862915,6.3%209,6.3%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",DK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-216-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-216-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='15%205.5%203%205.5%203%2013.2142857%207.5%2013.2142857%209%2014.5%2010.5%2013.2142857%2015%2013.2142857'%3e%3c/polygon%3e%3cpath%20d='M14.4,3.5%20L3.60000002,3.5%20C2.99248679,3.5%202.5,3.99248679%202.5,4.60000002%20L2.5,12.4%20L2.50645465,12.5198571%20C2.56617613,13.0709893%203.03298767,13.5%203.60000002,13.5%20L7.293,13.5%20L8.64644661,14.8535534%20L8.7156945,14.9114088%20C8.91056264,15.0464049%209.17998704,15.0271197%209.35355339,14.8535534%20L10.706,13.5%20L14.4,13.5%20C15.0075132,13.5%2015.5,13.0075132%2015.5,12.4%20L15.5,4.60000002%20C15.5,3.99248679%2015.0075132,3.5%2014.4,3.5%20Z%20M14.4,4.5%20C14.4552285,4.5%2014.5,4.54477154%2014.5,4.60000002%20L14.5,12.4%20C14.5,12.4552285%2014.4552285,12.5%2014.4,12.5%20L10.5,12.5%20L10.4213106,12.5062287%20C10.3178573,12.522715%2010.2214612,12.5714321%2010.1464466,12.6464466%20L9,13.793%20L7.85355339,12.6464466%20C7.7597852,12.5526784%207.63260824,12.5%207.5,12.5%20L3.60000002,12.5%20C3.54477154,12.5%203.5,12.4552285%203.5,12.4%20L3.5,4.60000002%20C3.5,4.54477154%203.54477154,4.5%203.60000002,4.5%20L14.4,4.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,8%20C9.27614237,8%209.5,8.22385763%209.5,8.5%20L9.5,11.2%20C9.5,11.4761424%209.27614237,11.7%209,11.7%20C8.72385763,11.7%208.5,11.4761424%208.5,11.2%20L8.5,8.5%20C8.5,8.22385763%208.72385763,8%209,8%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,6.3%20C9.33137085,6.3%209.6,6.56862915%209.6,6.9%20C9.6,7.23137085%209.33137085,7.5%209,7.5%20C8.66862915,7.5%208.4,7.23137085%208.4,6.9%20C8.4,6.56862915%208.66862915,6.3%209,6.3%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",BK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-217%3c/title%3e%3cg%20id='icon-217'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M4.76917664,3.2754031%20C5.35496308,2.68961666%206.30471055,2.68961666%206.89049699,3.2754031%20L9.45223682,5.83714293%20C9.64749896,6.03240507%209.64749896,6.34898756%209.45223682,6.54424971%20C9.25697467,6.73951186%208.94039218,6.73951186%208.74513004,6.54424971%20L6.18339021,3.98250988%20C5.98812806,3.78724773%205.67154557,3.78724773%205.47628343,3.98250988%20L1.97053883,7.48825447%20C1.77856593,7.68022738%201.77486308,7.99031557%201.9621971,8.18681788%20L8.65576185,15.2072176%20C8.85522459,15.3981867%209.17173219,15.3913014%209.36270138,15.1918386%20L13.6455852,10.7184692%20C13.8365543,10.5190064%2014.1530619,10.512121%2014.3525247,10.7030902%20C14.5519874,10.8940594%2014.5588728,11.210567%2014.3679036,11.4100297%20L10.0850198,15.8833992%20C9.54791901,16.4443881%208.67980867,16.4976048%208.08033624,16.0300042%20L7.94605024,15.9118376%20L1.23840684,8.87683793%20C0.67640479,8.28733098%200.687513337,7.35706641%201.26343205,6.78114769%20L4.76917664,3.2754031%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.3068699,3.2754031%20L6.85398306,7.72828991%20C6.74090795,7.84136501%206.64680188,7.97193022%206.5752869,8.11496017%20C6.20781517,8.84990363%206.50570987,9.74358771%207.24065332,10.1110594%20L7.40568383,10.185976%20C8.29522608,10.5501097%209.32480617,10.3491328%2010.0127248,9.66121417%20L11.1169988,8.55621356%20L13.625665,11.4232185%20C13.8161256,11.6408878%2014.1509888,11.6520376%2014.3555067,11.4475196%20L16.9172466,8.8857798%20C17.503033,8.29999336%2017.503033,7.35024589%2016.9172466,6.76445945%20L13.4281902,3.2754031%20C12.8424038,2.68961666%2011.8926563,2.68961666%2011.3068699,3.2754031%20Z%20M12.7210834,3.98250988%20L16.2101398,7.47156623%20L16.2679952,7.54081412%20C16.4029913,7.73568226%2016.3837061,8.00510666%2016.2101398,8.17867302%20L14.0259988,10.3622136%20L11.5180009,7.49586732%20C11.3275403,7.27819802%2010.9926771,7.26704829%2010.7881592,7.47156623%20L9.30561802,8.95410739%20C8.87906474,9.38066067%208.22741889,9.48640823%207.68786692,9.21663225%20C7.44690196,9.09614977%207.34923161,8.80313873%207.46971409,8.56217377%20C7.49316162,8.51527872%207.52401605,8.47247048%207.56108984,8.43539669%20L12.0139766,3.98250988%20C12.2092388,3.78724773%2012.5258213,3.78724773%2012.7210834,3.98250988%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.15373586,12.783442%20C9.34899801,12.5881798%209.6655805,12.5881798%209.86084264,12.783442%20L11.0866601,14.0092595%20C11.2819223,14.2045216%2011.2819223,14.5211041%2011.0866601,14.7163662%20C10.891398,14.9116284%2010.5748155,14.9116284%2010.3795533,14.7163662%20L9.15373586,13.4905488%20C8.95847372,13.2952866%208.95847372,12.9787041%209.15373586,12.783442%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.7881592,11.1490187%20C10.9834213,10.9537565%2011.3000038,10.9537565%2011.495266,11.1490187%20L12.7210834,12.3748362%20C12.9163456,12.5700983%2012.9163456,12.8866808%2012.7210834,13.0819429%20C12.5258213,13.2772051%2012.2092388,13.2772051%2012.0139766,13.0819429%20L10.7881592,11.8561255%20C10.592897,11.6608633%2010.592897,11.3442808%2010.7881592,11.1490187%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",$K="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-217-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='23.7269479%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-217-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='1.3240918%207.8%203.95485015%204.92260301%206.91799881%208.5%208.12149793%2010%2014.4235969%204.92260301%2016.7784361%207.8%209.13936659%2015.8117413'%3e%3c/polygon%3e%3cpath%20d='M4.76917664,3.2754031%20C5.35496308,2.68961666%206.30471055,2.68961666%206.89049699,3.2754031%20L9.45223682,5.83714293%20C9.64749896,6.03240507%209.64749896,6.34898756%209.45223682,6.54424971%20C9.25697467,6.73951186%208.94039218,6.73951186%208.74513004,6.54424971%20L6.18339021,3.98250988%20C5.98812806,3.78724773%205.67154557,3.78724773%205.47628343,3.98250988%20L1.97053883,7.48825447%20C1.77856593,7.68022738%201.77486308,7.99031557%201.9621971,8.18681788%20L8.65576185,15.2072176%20C8.85522459,15.3981867%209.17173219,15.3913014%209.36270138,15.1918386%20L13.6455852,10.7184692%20C13.8365543,10.5190064%2014.1530619,10.512121%2014.3525247,10.7030902%20C14.5519874,10.8940594%2014.5588728,11.210567%2014.3679036,11.4100297%20L10.0850198,15.8833992%20C9.54791901,16.4443881%208.67980867,16.4976048%208.08033624,16.0300042%20L7.94605024,15.9118376%20L1.23840684,8.87683793%20C0.67640479,8.28733098%200.687513337,7.35706641%201.26343205,6.78114769%20L4.76917664,3.2754031%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.3068699,3.2754031%20L6.85398306,7.72828991%20C6.74090795,7.84136501%206.64680188,7.97193022%206.5752869,8.11496017%20C6.20781517,8.84990363%206.50570987,9.74358771%207.24065332,10.1110594%20L7.40568383,10.185976%20C8.29522608,10.5501097%209.32480617,10.3491328%2010.0127248,9.66121417%20L11.1169988,8.55621356%20L13.625665,11.4232185%20C13.8161256,11.6408878%2014.1509888,11.6520376%2014.3555067,11.4475196%20L16.9172466,8.8857798%20C17.503033,8.29999336%2017.503033,7.35024589%2016.9172466,6.76445945%20L13.4281902,3.2754031%20C12.8424038,2.68961666%2011.8926563,2.68961666%2011.3068699,3.2754031%20Z%20M12.7210834,3.98250988%20L16.2101398,7.47156623%20L16.2679952,7.54081412%20C16.4029913,7.73568226%2016.3837061,8.00510666%2016.2101398,8.17867302%20L14.0259988,10.3622136%20L11.5180009,7.49586732%20C11.3275403,7.27819802%2010.9926771,7.26704829%2010.7881592,7.47156623%20L9.30561802,8.95410739%20C8.87906474,9.38066067%208.22741889,9.48640823%207.68786692,9.21663225%20C7.44690196,9.09614977%207.34923161,8.80313873%207.46971409,8.56217377%20C7.49316162,8.51527872%207.52401605,8.47247048%207.56108984,8.43539669%20L12.0139766,3.98250988%20C12.2092388,3.78724773%2012.5258213,3.78724773%2012.7210834,3.98250988%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.15373586,12.783442%20C9.34899801,12.5881798%209.6655805,12.5881798%209.86084264,12.783442%20L11.0866601,14.0092595%20C11.2819223,14.2045216%2011.2819223,14.5211041%2011.0866601,14.7163662%20C10.891398,14.9116284%2010.5748155,14.9116284%2010.3795533,14.7163662%20L9.15373586,13.4905488%20C8.95847372,13.2952866%208.95847372,12.9787041%209.15373586,12.783442%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.7881592,11.1490187%20C10.9834213,10.9537565%2011.3000038,10.9537565%2011.495266,11.1490187%20L12.7210834,12.3748362%20C12.9163456,12.5700983%2012.9163456,12.8866808%2012.7210834,13.0819429%20C12.5258213,13.2772051%2012.2092388,13.2772051%2012.0139766,13.0819429%20L10.7881592,11.8561255%20C10.592897,11.6608633%2010.592897,11.3442808%2010.7881592,11.1490187%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",PK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-218%3c/title%3e%3cg%20id='icon-218'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M12.6,2.5%20L5,2.5%20C4.17157288,2.5%203.5,3.17157288%203.5,4%20L3.5,14%20C3.5,14.8284271%204.17157288,15.5%205,15.5%20L12.6,15.5%20C13.4284271,15.5%2014.1,14.8284271%2014.1,14%20L14.1,4%20C14.1,3.17157288%2013.4284271,2.5%2012.6,2.5%20Z%20M12.6,3.5%20C12.8761424,3.5%2013.1,3.72385763%2013.1,4%20L13.1,14%20C13.1,14.2761424%2012.8761424,14.5%2012.6,14.5%20L5,14.5%20C4.72385763,14.5%204.5,14.2761424%204.5,14%20L4.5,4%20C4.5,3.72385763%204.72385763,3.5%205,3.5%20L12.6,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.1,2.5%20L6.4,2.5%20C6.12385763,2.5%205.9,2.72385763%205.9,3%20L5.9,7.8%20L5.9065899,7.88349186%20C5.96713181,8.25965359%206.431228,8.44121925%206.73218192,8.17370466%20L7.75,7.269%20L8.76781808,8.17370466%20C9.09026871,8.46032744%209.6,8.23142441%209.6,7.8%20L9.6,3%20C9.6,2.72385763%209.37614237,2.5%209.1,2.5%20Z%20M8.6,3.5%20L8.6,6.686%20L8.08218192,6.22629534%20L8.00701429,6.17104113%20C7.82287,6.06053271%207.58358072,6.07895078%207.41781808,6.22629534%20L6.9,6.686%20L6.9,3.5%20L8.6,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.4,9.7%20C9.67614237,9.7%209.9,9.92385763%209.9,10.2%20C9.9,10.4761424%209.67614237,10.7%209.4,10.7%20L6.4,10.7%20C6.12385763,10.7%205.9,10.4761424%205.9,10.2%20C5.9,9.92385763%206.12385763,9.7%206.4,9.7%20L9.4,9.7%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.2,11.5%20C11.4761424,11.5%2011.7,11.7238576%2011.7,12%20C11.7,12.2761424%2011.4761424,12.5%2011.2,12.5%20L6.4,12.5%20C6.12385763,12.5%205.9,12.2761424%205.9,12%20C5.9,11.7238576%206.12385763,11.5%206.4,11.5%20L11.2,11.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",MK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-218-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='23.7269479%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-218-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='14%207.5%204%207.5%204%2015.2142857%2014%2015.2142857'%3e%3c/polygon%3e%3cpath%20d='M12.6,2.5%20L5,2.5%20C4.17157288,2.5%203.5,3.17157288%203.5,4%20L3.5,14%20C3.5,14.8284271%204.17157288,15.5%205,15.5%20L12.6,15.5%20C13.4284271,15.5%2014.1,14.8284271%2014.1,14%20L14.1,4%20C14.1,3.17157288%2013.4284271,2.5%2012.6,2.5%20Z%20M12.6,3.5%20C12.8761424,3.5%2013.1,3.72385763%2013.1,4%20L13.1,14%20C13.1,14.2761424%2012.8761424,14.5%2012.6,14.5%20L5,14.5%20C4.72385763,14.5%204.5,14.2761424%204.5,14%20L4.5,4%20C4.5,3.72385763%204.72385763,3.5%205,3.5%20L12.6,3.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.1,2.5%20L6.4,2.5%20C6.12385763,2.5%205.9,2.72385763%205.9,3%20L5.9,7.8%20L5.9065899,7.88349186%20C5.96713181,8.25965359%206.431228,8.44121925%206.73218192,8.17370466%20L7.75,7.269%20L8.76781808,8.17370466%20C9.09026871,8.46032744%209.6,8.23142441%209.6,7.8%20L9.6,3%20C9.6,2.72385763%209.37614237,2.5%209.1,2.5%20Z%20M8.6,3.5%20L8.6,6.686%20L8.08218192,6.22629534%20L8.00701429,6.17104113%20C7.82287,6.06053271%207.58358072,6.07895078%207.41781808,6.22629534%20L6.9,6.686%20L6.9,3.5%20L8.6,3.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.4,9.7%20C9.67614237,9.7%209.9,9.92385763%209.9,10.2%20C9.9,10.4761424%209.67614237,10.7%209.4,10.7%20L6.4,10.7%20C6.12385763,10.7%205.9,10.4761424%205.9,10.2%20C5.9,9.92385763%206.12385763,9.7%206.4,9.7%20L9.4,9.7%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.2,11.5%20C11.4761424,11.5%2011.7,11.7238576%2011.7,12%20C11.7,12.2761424%2011.4761424,12.5%2011.2,12.5%20L6.4,12.5%20C6.12385763,12.5%205.9,12.2761424%205.9,12%20C5.9,11.7238576%206.12385763,11.5%206.4,11.5%20L11.2,11.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e";class M{}U(M,"ICON_100",Qq),U(M,"ICON_100_ACTIVE",Wq),U(M,"ICON_101",Gq),U(M,"ICON_101_ACTIVE",Zq),U(M,"ICON_102",Yq),U(M,"ICON_102_ACTIVE",Jq),U(M,"ICON_103",Xq),U(M,"ICON_103_ACTIVE",eK),U(M,"ICON_200",tK),U(M,"ICON_200_ACTIVE",rK),U(M,"ICON_201",nK),U(M,"ICON_201_ACTIVE",iK),U(M,"ICON_202",sK),U(M,"ICON_202_ACTIVE",oK),U(M,"ICON_203",aK),U(M,"ICON_203_ACTIVE",lK),U(M,"ICON_204",cK),U(M,"ICON_204_ACTIVE",uK),U(M,"ICON_205",hK),U(M,"ICON_205_ACTIVE",fK),U(M,"ICON_206",dK),U(M,"ICON_206_ACTIVE",pK),U(M,"ICON_207",gK),U(M,"ICON_207_ACTIVE",vK),U(M,"ICON_208",yK),U(M,"ICON_208_ACTIVE",mK),U(M,"ICON_209",bK),U(M,"ICON_209_ACTIVE",_K),U(M,"ICON_210",wK),U(M,"ICON_210_ACTIVE",CK),U(M,"ICON_211",AK),U(M,"ICON_211_ACTIVE",SK),U(M,"ICON_212",TK),U(M,"ICON_212_ACTIVE",EK),U(M,"ICON_213",IK),U(M,"ICON_213_ACTIVE",kK),U(M,"ICON_214",xK),U(M,"ICON_214_ACTIVE",LK),U(M,"ICON_215",OK),U(M,"ICON_215_ACTIVE",NK),U(M,"ICON_216",RK),U(M,"ICON_216_ACTIVE",DK),U(M,"ICON_217",BK),U(M,"ICON_217_ACTIVE",$K),U(M,"ICON_218",PK),U(M,"ICON_218_ACTIVE",MK);const FK=new Date("2025-07-29 09:00:00").getTime()+90*24*60*60*1e3,UK={name:"KSideBarBuyer",props:{site:{type:Object,required:!0},pageFlag:{type:String,required:!1,default:""},current:{type:Number,default:0},collapsible:{type:Boolean,default:!0},defaultCollapsed:{type:Boolean,default:!1}},data(){return{menus:null,collapsed:!1,popupPos:{left:0,top:0},submenuPopup:!1,submenuData:[],sideBarHeight:{height:"calc(100vh - 200px)"}}},created(){this.menus=[{id:100,opened:!0,current:!1,title:"我是买家",icon:M.ICON_100,icon_hover:M.ICON_100_ACTIVE,children:[{icon:"ico1",title:"我的购物车",link:"".concat(this.site.cart,"list/"),divider:!1,target:"_blank",tagNew:!1,pageFlag:null},{icon:"ico2",title:"我的订单",link:"".concat(this.site.s_order,"order-views/management/buyer/list"),divider:!1,target:"",tagNew:!1,pageFlag:"order_list"},{icon:"ico3",title:"我收藏的商品",link:"".concat(this.site.s_user,"buyer/favorite_manage.html#product"),divider:!1,target:"",tagNew:!1,pageFlag:"favorite_book"},{icon:"ico11",title:"我买到的书",link:"".concat(this.site.s_user,"ucenter/purchased/purchased.html"),divider:!0,target:"",tagNew:!1,pageFlag:"purchased"},{icon:"ico4",title:"我的竞拍",link:"".concat(this.site.s_pm,"pm-buyer/bid-manage-pc/"),divider:!1,target:"",tagNew:!1,pageFlag:"bidding_manage"},{icon:"ico5",title:"我的拍卖交易",link:"".concat(this.site.s_pm,"trade-views/management/buyer/list"),divider:!1,target:"",tagNew:!1,pageFlag:"trade_list"},{icon:"ico6",title:"我收藏的拍品",link:"".concat(this.site.s_pm,"buyer/favorite_manage.html"),divider:!0,target:"",tagNew:!1,pageFlag:"favorite_auction"},{icon:"ico7",title:"我的订阅",link:"".concat(this.site.s_user,"user-center/subscription/"),divider:!1,target:"",tagNew:!0,pageFlag:"buyer_dingyue"},{icon:"ico8",title:"我收藏的店铺",link:"".concat(this.site.s_user,"buyer/favorite_manage.html#shop"),divider:!1,target:"",tagNew:!1,pageFlag:"favorite_shop"},{icon:"ico9",title:"我的收货地址",link:"".concat(this.site.s_user,"buyer/receive_address.html"),divider:!1,target:"",tagNew:!1,pageFlag:"receive_address"},{icon:"ico12",title:"我的寄件服务",link:"".concat(this.site.s_express,"express-views/pc-express"),divider:!1,target:"_blank",tagNew:!1,pageFlag:"pc_express",isShow:!0,key:"express"}]},{id:101,opened:!0,current:!1,title:"账户管理",icon:M.ICON_101,icon_hover:M.ICON_101_ACTIVE,children:[{icon:"",title:"个人资料",link:"".concat(this.site.s_user,"person/person_info.html"),divider:!1,target:"",tagNew:!1,pageFlag:"person_info"},{icon:"",title:"我的优惠券",link:"".concat(this.site.s_user,"buyer/my_coupon.html"),divider:!1,target:"",tagNew:!1,pageFlag:"my_coupon"},{icon:"",title:"修改登录密码",link:"".concat(this.site.s_user,"person/edit_password.html"),divider:!1,target:"",tagNew:!1,pageFlag:"edit_password"},{icon:"",title:"修改密保问题",link:"".concat(this.site.s_user,"person/edit_question.html"),divider:!1,target:"",tagNew:!1,pageFlag:"edit_question"},{icon:"",title:"绑定手机",link:"".concat(this.site.s_user,"person/bind_phone.html"),divider:!1,target:"",tagNew:!1,pageFlag:"bind_phone"},{icon:"",title:"绑定邮箱",link:"".concat(this.site.s_user,"person/bind_email.html"),divider:!1,target:"",tagNew:!1,pageFlag:"bind_email"},{icon:"",title:"交易提醒设置",link:"".concat(this.site.s_user,"person/trade_reminder.html"),divider:!1,target:"",tagNew:!1,pageFlag:"trade_reminder"},{icon:"",title:"我的好友",link:"".concat(this.site.message,"message/safety/safety.html#/friends"),divider:!1,target:"",tagNew:!1,pageFlag:"my_friend"},{icon:"",title:"消息黑名单",link:"".concat(this.site.message,"message/safety/safety.html#/blacklist"),divider:!1,target:"",tagNew:!1,pageFlag:"my_myblacklist"}]},{id:102,opened:!0,current:!1,title:"信誉档案",icon:M.ICON_102,icon_hover:M.ICON_102_ACTIVE,children:[{icon:"",title:"我的信誉",link:"".concat(this.site.s_xinyu,"buyer/"),divider:!1,target:"",tagNew:!1,pageFlag:"my_xinyu"},{icon:"",title:"店铺投诉",link:"".concat(this.site.s_tousu,"web/view/complaint/complaint.html#bookStore"),divider:!1,target:"_blank",tagNew:!1,pageFlag:null},{icon:"",title:"拍卖投诉",link:"".concat(this.site.s_tousu,"web/view/complaint/complaint.html#bid"),divider:!1,target:"_blank",tagNew:!1,pageFlag:null},{icon:"",title:"违规信息",link:"".concat(this.site.s_user,"info/illegal_info.html"),divider:!1,target:"",tagNew:!1,pageFlag:"illegal_info"}]},{id:103,opened:!0,current:!1,title:"客户服务",icon:M.ICON_103,icon_hover:M.ICON_103_ACTIVE,children:[{icon:"",title:"客服消息",link:"".concat(this.site.message,"#customerService"),divider:!1,target:"_blank",tagNew:!1,pageFlag:null}]}],this.collapsed=this.defaultCollapsed;const t=jn.getItem("__buyer_collapsed");this.collapsed=t||!1,this.checkTagNewVisible()},mounted(){this.checkBuyerMenu(),this.menus.forEach(e=>{e.id===this.current&&(e.current=!0)});const t=setTimeout(()=>{this.$refs.sidebarScrollbar.update(),clearTimeout(t)},0);Qr.isIpad||document.addEventListener("scroll",d2.debounce(this.sideBuyerBarPos,10)),this.sideBarHeight.height=window.innerHeight-200+"px"},methods:{sideBuyerBarPos(){const t=window.scrollY||document.documentElement.scrollTop;t>=149?this.sideBarHeight.height=window.innerHeight-62+"px":this.sideBarHeight.height=window.innerHeight+t-200+"px"},getElePos(t){let e=0,r=0,n=t;for(;n;)e+=n.offsetTop,r+=n.offsetLeft,n=n.offsetParent;return{x:r,y:e}},mouseenterFun(t,e){if(!this.collapsed)return;this.submenuPopup=!0;const r=t.target.getBoundingClientRect();this.popupPos.left=r.left+r.width+5+"px",this.popupPos.top=r.top+"px",this.submenuData=e.children},mouseleaveFun(){this.submenuPopup=!1},collapseBtnClick(){this.collapsed=!this.collapsed,this.submenuPopup&&(this.submenuPopup=!1),jn.setItem("__buyer_collapsed",this.collapsed)},toggleSubmenu(t,e){if(this.collapsed)return;t.opened=!t.opened,this.$refs.sidebarScrollbar.update();const r=setTimeout(()=>{this.updateSideBarPos(e),clearTimeout(r)},10)},updateSideBarPos(t){const r=document.querySelector("#sideBarBuyerBox"+t).getBoundingClientRect(),n=this.$refs.sidebarScrollbar.$el.querySelector(".el-scrollbar__wrap");console.log("curr_submenu_pos",r.bottom),console.log("clientHeight",n.clientHeight),r.bottom>n.clientHeight&&(console.log("有菜单隐藏"),console.log("befor",n.scrollTop),console.log("计算出来的",n.scrollTop+(r.bottom-n.clientHeight)),n.scrollTop=n.scrollTop+(r.bottom-n.clientHeight),console.log("after",n.scrollTop)),this.$refs.sidebarScrollbar.update()},async checkBuyerMenu(){try{const{data:{data:t,status:e}}=await Z.get("/common-web/v1/api/buyerMenu/entries");if(!e)return;this.updateMenuVisible([{key:"express",value:t.express}])}catch(t){console.log("side-bar-buyer error ->",t)}},updateMenuVisible(t){const e=this.menus.reduce((r,n)=>n.children.reduce((i,s)=>(s.key&&(i[s.key]=s),i),r),{});t.forEach(r=>{const n=e[r.key];n&&(n.isShow=r.value)})},checkTagNewVisible(){this.isTagNewVisible=new Date().getTime()s.mouseleaveFun&&s.mouseleaveFun(...a))},[B(o,{ref:"sidebarScrollbar"},{default:F(()=>[u("div",{class:"side-bar",style:ve(i.sideBarHeight),ref:"sideBuyerBar"},[(g(!0),v(P,null,oe(i.menus,(a,l)=>(g(),v("div",{class:"side-bar_box",id:"sideBarBuyerBox"+l,key:a.title+l},[u("div",{class:T(["side-bar_tit",a.current?"current":""]),onClick:c=>s.toggleSubmenu(a,l),onMouseenter:c=>s.mouseenterFun(c,a)},[u("i",jK,[u("img",{src:a.icon,class:"icon-d"},null,8,HK),u("img",{src:a.icon_hover,class:"icon-h"},null,8,qK)]),u("h3",null,C(a.title),1),a.opened?(g(),v("span",QK)):(g(),v("span",KK))],42,VK),le(u("ul",WK,[(g(!0),v(P,null,oe(a.children,(c,h)=>(g(),v(P,null,[c.isShow===void 0||c.isShow?(g(),v("li",{class:T(c.icon),key:c.title+h},[u("a",{target:c.target,href:c.link,class:T({now:c.pageFlag===r.pageFlag})},[V(C(c.title),1),c.tagNew?(g(),v("span",ZK,"新")):b("",!0)],10,GK)],2)):b("",!0),c.divider?(g(),v("div",{class:"divider",key:"divider"+h})):b("",!0)],64))),256))],512),[[fe,a.opened]])],8,zK))),128))],4)]),_:1},512),r.collapsible?(g(),v("div",{key:0,class:T(["btn-collapse-wrap",i.collapsed?"btn-collapse-center":""])},[u("div",{class:"btn-collapse",onClick:e[0]||(e[0]=(...a)=>s.collapseBtnClick&&s.collapseBtnClick(...a))},[i.collapsed?(g(),v("span",JK)):(g(),v("span",YK)),u("span",XK,C(i.collapsed?"展开":"收起"),1)])],2)):b("",!0),i.submenuPopup?(g(),v("div",{key:1,class:"sidebar-submenu-popup",style:ve(i.popupPos),onMouseleave:e[1]||(e[1]=(...a)=>s.mouseleaveFun&&s.mouseleaveFun(...a))},[u("div",eQ,[u("ul",tQ,[(g(!0),v(P,null,oe(i.submenuData,(a,l)=>(g(),v(P,null,[a.isShow===void 0||a.isShow?(g(),v("li",{key:a.title+l},[u("a",{target:a.target,href:a.link,class:T({now:a.pageFlag===r.pageFlag})},[V(C(a.title),1),a.tagNew?(g(),v("span",nQ,"新")):b("",!0)],10,rQ)])):b("",!0)],64))),256))])])],36)):b("",!0)],34)}const sQ=ye(UK,[["render",iQ],["__scopeId","data-v-9222f2eb"]]);ze(sQ);const oQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACSUlEQVRYR+2UwUsUcRTHv29mNldYsAw6eKiLHSoKanO1glQKNguyoHFdgyBodxYUg/4C/4IOpuS4h6BDu+tEpJAlEWkHdce2IKQOeamDBw+LwpLK7syL2TxUbDsz28HLvNOP+b33vp/f9/1+Q9jloF3WhwfgOeA54DlQ0YFQRJ1jIr9kCF0L2p38//ysQtdH9pN/zzSbvKVnlPa/e1UG6FWXARwDI2eYuJDTlI1aIIKy2iAKeANCEMCynlaOOwI42TdySDJ874hwEKD5glEMf9b6C24gjsqjgYDomwH4LDO+l4rF8x+fDXxzBGAlnZJHm0VRmiOgicGzkvHj8oJ2b9MJxBn5fr0pBqYZ3MHAqmGU2j9o/SuVaqu+grZI8ohJ5iyAAyCaya9vda+8HNyuBtHcNVzXuNc/CeYwgDWBhY7FTOzLv2psn2FrNHmC2XwLoJGAqdJX3MjllGKlhsGg6pMO4ykDVwHkiYTObCr2qRqwLYBV3BIZbyHi1wAaQND00r4otB7jj8byhBiS1p+AuQfABsAX9XTivd3IHAFYTU7ffHhOMIRXAAIgeqynVm8DQ+YvgSEhFG16BOZbAAoMCi+l4/N24ta+YwArubVP7WSTXwBUT8B4Nq0kyt971TEG4gBvkklXshOKNTJH4QqgPI7o2CUwPSegjoBhEDEz32VgG8TXllIJyyXH4RqgfOJIspvJ1AD4dpSKxIKczcQmHSvvJNYE8BvEA2stgAYW0/Ept+Ku70AtAnY1NTtg19jpvgfgOeA54DnwE1ecwiH8BFc6AAAAAElFTkSuQmCC",aQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACOElEQVRYR+2UwUsUcRTHv29+s6iwoOwhqENd7FBIUJu76iGVArVAOzTuKHSIXMYQPfQX+BcEhsLO2iGC3F2nQwZlC0UalO3mFhTVIS918NBhS1hQ2Zl5sdQejHV3Zjt4mbnOe+/z4QMzhAN+6ID58AS8Al4Br0DdBTrU+KANngUYxGIyk4ou1fNTq0sgHIkNMZEBwPcXWiSWlHokXAu0j8T6wfSQgAYimgEzMTDFwC6IL79NjD91U8KVQHhY72WJHwPUREA8k9TGS7CwGtMZFAV4myS6lFnQXjiVcCzQrsa7CJwG4AfRvWxi8xowbf8BTUsh9fBdAFcBFGxh96/fv/HKiYQjgZAaOwvQMwDNIFrMmi2jMIatPQBlUYTknwkwFABbgHwhm7y+XkuipkB4ZP4Us11KGiDgkfkVV3I5rVjpcDCo++TjeMDAIIA8kdSbSUQ/VJOoKtARmT9hk70C4BCI0vlfO0Mby1O71Q62DtxuCLQ0LoG5D8APiaWeN6nol/129hU4o8y1CiGvEnCEQCuSVbi4ZtzcrpW09L5TudVkC/8TBvcwsGlZZvc7Y2Kj0m5FgdOjs8dky/eSCEcBel2win2fjYmCE3h55qQy5/cLXxrgLmZ8N4U4935h7Nu/NyoKhFT9I4A2MHKWjfM5Q9tyAy/PBhW9WUh4DkIQwKdsUmtzJhDRV5moUbakgTVjLF8PvLzTqdwJmMJeJuadbErrdiTwP0C3uzU/Q7cH3c57Al4Br4BX4De0H7khs2uemgAAAABJRU5ErkJggg==",dd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEzElEQVRYR91XXUwcZRQ9d2cXWagSU6RVH4hPbUysqcCSojHEVH3QlxoXZsF/7A7VSv17aLQKq9X4oEYUyw610WqAgTXti0YjfcCktmEWUqsvGk1MTVTQ2koqsLA7e83d3aGzsD+gNY1+Tzsz39zvzL33nHuWcJEXXeTz8d8CUOvft8HlVu5mcEl0sL3Tmb26QDgERpwtT2Q80vbtSjO7ogz4AuEtzK4QgW91BA6ZhtYl1z5VFzCp37KYcQREnVEjeKwYkKIANrf0VHuSnh8AEAMzBP4YoLsAUsDJASZiArUCbAF0iMF3EFAuOOKu+DUnBnaeKgSiKICGe3urEnHXFIBpy0L1RESb9qnhNoD2Cyj7o8EImkPaOzV+vUJRIIdWxC1P1YnIQ7/9IwBb/K97LaV8FsCcaWhldrDa5j7V5cJVcp1M4ufxoaBhP/Opuuz3lpWWeEffezC2agCSdsTLZivK6dxsLL4L4FckSNnkL57R0a5EoYB+/7BySjmb2UO7FevPN2cS3ksVr+XNVY5lJahT+xoIfNSRXoDBRHhszNDedh7u23ZwrVybh+//3Xm/XtUfZcZboCyaM8h9oznYdty5dzmAZn2ECFul5gBKJJUE7LQPl56wEsozzKwCWJcJNkVExlzMevmrwzt+lXspEECPlA7AgvQEg0aiRvC2vABq7zmwwZVIfCPdnrRwtTScpDQSabJSQVv213DS+gig9Zkg8uUMoDJDwElyKXeODWyfkOvGxi63lEwa06XgJ2FH0rI2jkceWdSJrAzUqeE9BHoR4GHTaG92Ik2zgU7K4cz0BYAnokPBqOypadWvU5LoAeNmgCdj83y9nYnzjRkeAqgJhD3moPaSfT8bQCAcIqbnASTA2CG0sjfWB/reYOZdAI5a3+GWiQkt7gR4rX+4ZI377IiAIKLuscHg447DhbZhAG4mfsGpost6IK1q1CmZTTK12PTyqfqk1JxdtDk6EPwyFxNqmvUbFIKkf8o0tFSZUnQlHkhLBot6hgo2oTz0qXo/gBYmPB0d1F7z3XdwLRZipwGcNg3tikI09Km6CE8l5ksrhR11Af0pYrwKYMA0tNal7+ZUwosKwKfqXYD0AYOYWsYyCmeXAOA602gfz5WF+sC+TczKyb9dAhmpK2jCz89Mz9/+/Scd804QQtcf3X98ysxblzVhs/4wCL3ShAAWp6i8n1UCX0B/Foy9AA2bRjAvDQk0mlC4Y6Jf+1pi+NRwDUDdABry07BvCOAmBj8XNdr35qRhynAoSpYQ2WKSR4hmUpQFKnIJkS1i2ULk3ug0LLlmwWcZ43HhpZhxJDqkOU3Nck8o7gdppTsPLt8wEnrKMHp/ZcOIQTctdUk5aSjj2KsocxybO2cpazrscVxtXe6250I+LZCSza6/MqOStLus1NN9Zjp22YrH8dLAjQ+8WzobW5CJtmpDolgzZccjT8q7eVdRS7ZpW29V6SVLLFmaVn1Zlgy83TTaDzgtmduTXHfsg/R4zreKAihkShncTyye1NWSNqV8iEEX1pQKcnFJYA5ljIr9MV32YEmrJxb/J4jxIEp2moPtWe4nVxaKZsD5khgWSsT9BHLb/wns5ykVBS0kE9aHTsNRKP3LlLDY5n/j+aoy8L8E8BfuYZM/UMphPgAAAABJRU5ErkJggg==",lQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADpUlEQVRYR+1XTWgUZxh+3p3MZndFK4lGD4IItliVklB3paml/rQHLxYraSYGtSo4UcSDnkTzpxZPvYhoNmBqlWQnBgVPHqw/pWpwVomHVkUCttBDrRqQYLLZyewr325mM7s7k9lEMAh+p2Xen+95f773eZcwzYem+X68XwA+r4sukRi1TOyLxxqa7dkL17W1gmnUJ/HFu50ND4vNbFEZCCvt1QQcBbAGYMumVdfUFnFRRIkKMOnfADHA1wGzVdf2/OEFxBNA1eaTC+WU/FR4znWWvig2dmmdDZilxobPWNTXtfefiUB4Aqjecrpi1PA984rESW6YckVfz47nbwVg9Y+/BIYSyeGpAAgF/MGbZ7cnJg1ApB1GaOijGTQ4NJw8AMKxqQAA43Ao6P954FVilhQ0g07lKChBRDn1FSD9XljzPAgMBuFl+iujHOT5pJlBq+Larjt2Tw4Aor8BWOceMf8HH/1kGHK3Vd+qmo65smzUIsWHAJrvaku4ocfUta4AVta3LWXT96dDR1s2vYY58l1fzz7HxqqqOTFXlkovA/jCGQSxRLy0N6Y+tuQ5GQgr0UYCjrhE8C/8gUr93LZM2l1OZOuv5UgmHgBY4KLSomtqqyOAiBIVwyRnwo0r0s672q6OYppxpdK+g8FnnHSZ+Ih9ijr1QDNAzXllSMqhkjm3O3YOFgPgyw1nZiZDoy8I8I/rpweXmJ7Z6IXMcRBFlLYugOqyxox+vVv9uJjLLZ2IEn0CwG7TpWtqfb4PFwDRTgCbLWUGHsc19dPJAAgr0UcELBm34ZiuNWR9OvaA+JjpA2rKK8HQwKuRsv4r+0aKAbF4/YnSslmlAyCEJlUCQanE4vLCw8yb4t0Nl4oBEK5t+56ILrroZlm0oAdyabXA/K9QwL/Ca7aPccc9AMscAwGa4poqqD19cnogs3DQQ7dBRMClZwF//d8uBCNSXz470Cmy5Rw9MUmp5faFxeEZtl8DOGdc5jgjesBIHYyPll1Fzw9mWlZzQQqXDHxLKToOQuUEZbqma+o3dnkBgMz2w7c8yQhpIhJPTZxPAJR79AcD5tf5W5LjMxR0HJSkYU4MD5q+GfvfKR3nR/E2C4lkvg719uyfcJnxXMk+23i6IlA6tZWsRE7Nu3N+9/8TlcYTwLQvpZnpmN6SBEmttT3RLK3msqggHdxgoDF/+3HKhGcG7EZiYUmZtIkAyfpPYMnHpmjKJHTfty0cXpNzUgC8nE1F/gHAG1SCZjD6Ty+RAAAAAElFTkSuQmCC",h0={"00":200,"001000000":201,"002000000":202,"003000000":203,"004000000":204,"018000000":205,"005000000":206,"020000000":207,"006000000":208,"015000000":209,"016000000":210,"007000000":211,"010000000":212,"008000000":213,"009000000":214,"011000000":215,"012000000":216,"013000000":217,"017000000":218},cQ={name:"KSideBarSeller",props:{pageFlag:{type:String,required:!1,default:null},openId:{type:Number,required:!1,default:null},collapsible:{type:Boolean,default:!0},defaultCollapsed:{type:Boolean,default:!1},collapseCallBack:{type:Function,default:()=>{}}},data(){return{imgDown:oQ,imgUp:aQ,imgSetCurrent:dd,setShowed:!1,menus:[],statistics:[],newTags:[113],setShow:!1,offenMenus:[],alwaysOpendCodes:{com:["001000000","002000000","003000000"],cn:["006000000"]},env:"",openedMenuCodes:[],error:null,collapsed:!1,popupPos:{left:0,top:0},submenuPopup:!1,submenuData:[],sideBarHeight:{height:"calc(100vh - 184px)"},marginTop:"40px"}},created(){this.collapsed=this.defaultCollapsed,window.location.href.indexOf("kongfz.com")!=-1?this.env="com":window.location.href.indexOf("kongfz.cn")!=-1?this.env="cn":this.env="com",this.getMenus(),this.getStatistic();const t=jn.getItem("__seller_collapsed");this.collapsed=t||!1},mounted(){Qr.isIpad||document.addEventListener("scroll",d2.debounce(this.sideSellerBarPos,10)),this.sideBarHeight.height=window.innerHeight-184+"px",window.addEventListener("resize",d2.debounce(this.initSetDialogPos,100))},methods:{initSetDialogPos(){if(!this.setShowed)return;const t=window.innerHeight;let e=165;this.$nextTick(()=>{let r=this.$refs.setBarMainWrap,n=r.clientHeight+e,i=(t-n)/2;i<=40?r.style.height=t-e-80+"px":(r.style.height="auto",this.marginTop=i+"px")})},sideSellerBarPos(){const t=window.scrollY||document.documentElement.scrollTop;t>=134?this.sideBarHeight.height=window.innerHeight-62+"px":this.sideBarHeight.height=window.innerHeight+t-184+"px"},getSvgIcon(t,e){if(h0[t])return e?M["ICON_".concat(h0[t],"_ACTIVE")]:M["ICON_".concat(h0[t])]},mouseenterFun(t,e,r){if(!this.collapsed)return;this.submenuPopup=!0;const n=t.target.getBoundingClientRect(),i=window.innerHeight;this.popupPos.left=n.left+n.width+5+"px",this.popupPos.top=n.top+"px",this.submenuData=JSON.parse(JSON.stringify(e.children)),r===0&&e.code=="00"&&this.submenuData[0].code!=="set"&&this.submenuData.unshift({code:"set",name:"设置常用菜单"}),this.$nextTick(()=>{const s=this.$refs.sidebarSubmenuPopup.getBoundingClientRect();if(s.bottom>i){const o=n.top-(s.bottom-i);this.popupPos.top=o+"px"}})},mouseleaveFun(){this.submenuPopup=!1},collapseBtnClick(){this.collapsed=!this.collapsed,this.setShowed&&(this.setShowed=!1),this.submenuPopup&&(this.submenuPopup=!1),jn.setItem("__seller_collapsed",this.collapsed),this.collapseCallBack()},toogleSet(){this.setShowed=!this.setShowed,this.setShowed&&this.getOftenMenu()},toSet(){this.imgSetCurrent=dd},toSetHover(){this.imgSetCurrent=lQ},toogleMenu(t,e){t.opened=!t.opened,t.opened?$i("__seller_menu_open_id",t.id,1e5,"kongfz.".concat(this.env)):$i("__seller_menu_open_id","",1e5,"kongfz.".concat(this.env)),this.$refs.sidebarScrollbar.update();const r=setTimeout(()=>{this.updateSideBarPos(e),clearTimeout(r)},10)},updateSideBarPos(t){const r=document.querySelector("#sideBarSellerBox"+t).getBoundingClientRect(),n=this.$refs.sidebarScrollbar.$el.querySelector(".el-scrollbar__wrap");console.log("curr_submenu_pos",r.bottom),console.log("clientHeight",n.clientHeight),r.bottom>n.clientHeight&&(console.log("有菜单隐藏"),console.log("befor",n.scrollTop),console.log("计算出来的",n.scrollTop+(r.bottom-n.clientHeight)),n.scrollTop=n.scrollTop+(r.bottom-n.clientHeight),console.log("after",n.scrollTop)),this.$refs.sidebarScrollbar.update()},getMenus(){Z({method:"get",url:"/common-web/v1/common/sellerMenu/new?referUrl=".concat(encodeURIComponent(window.location.href),"&v=").concat(Math.random())}).then(t=>{var e,r;if(((e=t.data)==null?void 0:e.status)===1){let n=(r=t==null?void 0:t.data)==null?void 0:r.data;this.menus.splice(0,this.menus.length),n.userOftenMenuList&&n.userOftenMenuList.length&&this.menus.push({opened:!0,id:0,code:"00",name:"常用菜单",isUp:n.userOftenMenuList[0].isUp,children:n.userOftenMenuList}),this.menus.push(...n.sellerMenuList),this.menus.forEach(i=>{i.opened=!1}),this.initOpened()}else console.error(t.statusText)}).catch(t=>{console.log("SideBarSeller.index.getMenus() >>>",t)})},getStatistic(){Z({method:"get",url:"/common-web/v1/api/statistic"}).then(t=>{var e;if(((e=t.data)==null?void 0:e.status)===1){let r=t==null?void 0:t.data.data;this.statistics=r}else console.error(t.statusText)}).catch(t=>{console.log("SideBarSeller.index.getStatistic() >>>",t)})},colHave(t){let e=!1;return t.forEach(r=>{r&&(e=!0)}),e},getOftenMenu(){Z({method:"get",url:"/common-web/v1/common/oftenMenu/new"}).then(t=>{var e;if(((e=t.data)==null?void 0:e.status)===1){console.log(t);let r=t.data.data,n=[["001000000","002000000","003000000"],["004000000","018000000","005000000","020000000"],["006000000","015000000","013000000","016000000","017000000"],["009000000","007000000","008000000","010000000","011000000"]];n.forEach(i=>{i.forEach((s,o)=>{i[o]=r[s]})}),this.offenMenus=n,this.initSetDialogPos()}else console.error(t.statusText)}).catch(t=>{console.log("SideBarSeller.index.getOftenMenu() >>>",t)})},handleSubmit(){let t=[];this.offenMenus.forEach(r=>{r.forEach(n=>{n&&n.children&&n.children.forEach(i=>{i&&i.isChecked&&t.push(i.id)})})});let e=new FormData;e.append("menuList",t),Z({method:"post",url:"/common-web/v1/api/setOftenMenu",data:e}).then(r=>{var n;((n=r.data)==null?void 0:n.status)===1?(this.setShowed=!1,this.getMenus()):console.error(r.statusText)}).catch(r=>{console.log("SideBarSeller.index.handleSubmit() >>>",r)})},handleClean(){this.offenMenus.forEach(t=>{t.forEach(e=>{e&&e.children&&e.children.forEach(r=>{r&&r.isChecked&&(r.isChecked=!1)})})})},initOpened(){let t=[0],e=ki("__seller_menu_open_id");e&&t.push(Number(e)),this.openId!==void 0&&this.openId!==null&&this.openId!==""&&t.push(Number(this.openId)),this.menus.forEach(n=>{t.includes(n.id)&&(n.opened=!0),n.id===this.openId&&(n.isChoose=!0)});const r=setTimeout(()=>{this.$refs.sidebarScrollbar.update(),clearTimeout(r)},0)},getNewTagShow(t){return this.newTags.some(e=>e===t)},getBatchNumShow(t){return this.statistics.some(e=>e.id===t)&&this.statistics.find(e=>e.id===t).num>0},getBatchNumText(t){return this.statistics.find(e=>e.id===t).num}}},uQ=["id"],hQ=["onClick","onMouseenter"],fQ={class:"icon-svg"},dQ=["src"],pQ=["src"],gQ={key:0,class:"global-iconfont global-icon-xiajiantou"},vQ={key:1,class:"global-iconfont global-icon-shangjiantou"},yQ={class:"side-bar_con"},mQ=["target","href"],bQ={key:0,class:"tag-new"},_Q=["textContent"],wQ=["target","href"],CQ={key:0,class:"tag-new"},AQ=["textContent"],SQ={key:0,class:"global-iconfont global-icon-shouqi"},TQ={key:1,class:"global-iconfont global-icon-zhankai"},EQ={class:"text"},IQ={class:"side-bar-seller-set"},kQ=u("div",{class:"side-bar-set_header"},[u("div",{class:"side-bar-set_header_title"},[u("span",null,"请勾选您经常使用的菜单,最多可选10个。")])],-1),xQ={class:"side-bar-set_main_wrap",ref:"setBarMainWrap"},LQ={class:"side-bar-set_main"},OQ=["textContent"],NQ={class:"side-bar-set_footer"},RQ={class:"btn-w"},DQ={class:"submenu-wrap"},BQ={class:"submenu-list"},$Q=u("span",{class:"global-iconfont global-icon-shezhi1"},null,-1),PQ=["target","href"],MQ={key:0,class:"tag-new"},FQ=["textContent"],UQ=["target","href"],zQ={key:0,class:"tag-new"},VQ=["textContent"];function jQ(t,e,r,n,i,s){const o=x3,a=O3,l=F8,c=L3;return g(),v("div",{class:T(["side-bar-seller-wrap",i.collapsed?"side-bar-wrap-collapsed":""]),onMouseleave:e[7]||(e[7]=(...h)=>s.mouseleaveFun&&s.mouseleaveFun(...h))},[B(o,{ref:"sidebarScrollbar"},{default:F(()=>[u("div",{class:"side-bar",style:ve(i.sideBarHeight),ref:"sideSellerBar"},[(g(!0),v(P,null,oe(i.menus,(h,f)=>(g(),v("div",{class:"side-bar_box",id:"sideBarSellerBox"+f,key:h.name+f},[u("div",{class:T(["side-bar_tit",h.isChoose?"current":""]),onClick:d=>s.toogleMenu(h,f),onMouseenter:d=>s.mouseenterFun(d,h,f)},[u("i",fQ,[u("img",{src:s.getSvgIcon(h.code),class:"icon-d"},null,8,dQ),u("img",{src:s.getSvgIcon(h.code,1),class:"icon-h"},null,8,pQ)]),u("h3",null,C(h.name),1),f==0&&h.code=="00"?(g(),v("span",{key:0,class:"set-menu",onClick:e[0]||(e[0]=ue((...d)=>s.toogleSet&&s.toogleSet(...d),["stop"]))},"设置")):(g(),v(P,{key:1},[h.opened?(g(),v("span",vQ)):(g(),v("span",gQ))],64))],42,hQ),le(u("ul",yQ,[(g(!0),v(P,null,oe(h.children,(d,p)=>(g(),v(P,{key:d.name+p},[u("li",{class:T({now:d.id==r.pageFlag})},[u("a",{target:d.target?"_blank":"",href:d.url?d.url:"javascript:void(0)",class:T({now:d.id==r.pageFlag,nolink:!d.url})},[V(C(d.name),1),s.getNewTagShow(d.id)?(g(),v("span",bQ,"新")):b("",!0),s.getBatchNumShow(d.id)?(g(),v("span",{key:1,class:"batch_num",textContent:C(s.getBatchNumText(d.id))},null,8,_Q)):b("",!0)],10,mQ)],2),d.children&&d.children.length?(g(!0),v(P,{key:0},oe(d.children,(y,m)=>(g(),v("li",{key:y.name+m,class:T(["second",{now:y.id==r.pageFlag}])},[u("a",{target:y.target?"_blank":"",href:y.url?y.url:"javascript:void(0)",class:T({nolink:!y.url})},[V(C(y.name),1),s.getNewTagShow(y.id)?(g(),v("span",CQ,"新")):b("",!0),s.getBatchNumShow(y.id)?(g(),v("span",{key:1,class:"batch_num",textContent:C(s.getBatchNumText(y.id))},null,8,AQ)):b("",!0)],10,wQ)],2))),128)):b("",!0)],64))),128))],512),[[fe,h.opened]])],8,uQ))),128))],4)]),_:1},512),r.collapsible?(g(),v("div",{key:0,class:T(["btn-collapse-wrap",i.collapsed?"btn-collapse-center":""])},[u("div",{class:"btn-collapse",onClick:e[1]||(e[1]=(...h)=>s.collapseBtnClick&&s.collapseBtnClick(...h))},[i.collapsed?(g(),v("span",TQ)):(g(),v("span",SQ)),u("span",EQ,C(i.collapsed?"展开":"收起"),1)])],2)):b("",!0),B(c,{title:"设置常用菜单",modelValue:i.setShowed,"onUpdate:modelValue":e[4]||(e[4]=h=>i.setShowed=h),"append-to-body":!0,top:i.marginTop,"lock-scroll":!0,class:"side-bar-dialog","close-on-click-modal":!1,width:"750px"},{default:F(()=>[u("div",IQ,[kQ,u("div",xQ,[u("div",LQ,[(g(!0),v(P,null,oe(i.offenMenus,(h,f)=>(g(),v(P,null,[s.colHave(h)?(g(),v("div",{key:"col"+f,class:"col"},[(g(!0),v(P,null,oe(h,(d,p)=>(g(),v(P,null,[d?(g(),v("div",{key:"row"+p,class:"row"},[u("p",{class:"title",textContent:C(d.name)},null,8,OQ),(g(!0),v(P,null,oe(d.children,(y,m)=>(g(),v("p",{key:"item"+m},[B(a,{label:y.name,modelValue:y.isChecked,"onUpdate:modelValue":_=>y.isChecked=_},null,8,["label","modelValue","onUpdate:modelValue"])]))),128))])):b("",!0)],64))),256))])):b("",!0)],64))),256))])],512),u("div",NQ,[u("a",{href:"javascript:;",class:"clear",onClick:e[2]||(e[2]=(...h)=>s.handleClean&&s.handleClean(...h))},"清空已选项"),u("div",RQ,[B(l,{type:"primary",onClick:s.handleSubmit},{default:F(()=>[V("确定")]),_:1},8,["onClick"]),B(l,{onClick:e[3]||(e[3]=h=>i.setShowed=!1)},{default:F(()=>[V("返回")]),_:1})])])])]),_:1},8,["modelValue","top"]),i.submenuPopup?(g(),v("div",{key:1,class:"sidebar-submenu-popup",ref:"sidebarSubmenuPopup",style:ve(i.popupPos),onMouseleave:e[6]||(e[6]=(...h)=>s.mouseleaveFun&&s.mouseleaveFun(...h))},[u("div",DQ,[u("ul",BQ,[(g(!0),v(P,null,oe(i.submenuData,h=>(g(),v(P,null,[h.code=="set"?(g(),v("li",{key:"if_"+h.code},[u("a",{href:"javascript:void(0)'",class:"set",onClick:e[5]||(e[5]=ue((...f)=>s.toogleSet&&s.toogleSet(...f),["stop"]))},[$Q,V(" "+C(h.name),1)])])):(g(),v("li",{key:"else_"+h.code},[u("a",{target:h.target?"_blank":"",href:h.url?h.url:"javascript:void(0)",class:T({now:h.id==r.pageFlag})},[V(C(h.name),1),s.getNewTagShow(h.id)?(g(),v("span",MQ,"新")):b("",!0),s.getBatchNumShow(h.id)?(g(),v("span",{key:1,class:"batch_num",textContent:C(s.getBatchNumText(h.id))},null,8,FQ)):b("",!0)],10,PQ)])),h.children&&h.children.length?(g(!0),v(P,{key:2},oe(h.children,f=>(g(),v("li",{key:f.code,class:"second"},[u("a",{target:f.target?"_blank":"",href:f.url?f.url:"javascript:void(0)",class:T({now:f.id==r.pageFlag})},[V(C(f.name),1),s.getNewTagShow(f.id)?(g(),v("span",zQ,"新")):b("",!0),s.getBatchNumShow(f.id)?(g(),v("span",{key:1,class:"batch_num",textContent:C(s.getBatchNumText(f.id))},null,8,VQ)):b("",!0)],10,UQ)]))),128)):b("",!0)],64))),256))])])],36)):b("",!0)],34)}const HQ=ye(cQ,[["render",jQ]]),qQ=ze(HQ),KQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAFaElEQVRYCe2YzU9cVRjGZwYQ0r1KUky7NLErdaOZkKB1aWshMECiAqmmWzcNmjaNxSbav0ADKWAMTCGQUpdtQ0IwbrSrNt1qoBHafVM+Zqa/53LOybmXO/dOYaZ20ZOced/zfj5zvs/NZF6V+vZAth7hKpVKbn5+/o1yufwWfIdiZrPZ9Vwut9bb2/sIvnzYPAcGurCwcGxnZ+dTgJ0CRCe0NQ4MILeQr0BvtrS0/N7T0/NvnF2a7LmBFovFdwH1I/WTtOBxegDfoo729/ffjdNXk9UMdHZ2VsN6lSQFqPOj/YTgt6n34B+iW1cy+A54TYN3qCfhj0iugo5m5Tr0/MDAwNqeNPnXJUwym5uby5dKpUWCv27tSLIEP97e3n6nq6vrqZXH0eXl5baNjY2P0X1FjNOezaOmpqbuQqHwhyeLZVOBMtTDBP+Z+pqJsNrc3Hy+r6/vz9iIKUJG5kNi/YRZXqb84W3qOabCZJJrIlCBZCVfswEIOEbAS9CKlR2EAjRL7MvQC9afHWIkCWxVoGa475iefAq4IebTdRu4HpTe1XyfIlYb8bcB+1G1aRALVAsH578JEsxJgvTXG6T9owZsUW3yPIa8F7fActbBpwC86oEcaxRI5VRsAI6JV07lFh8t+3rU7JN/4SDdKoE6CXSoORlNGm0rFz27gjyvXNT3o/vsvh7FSZt58Ae0uhsNUqCVQ7nEK7cwiPdLCKiORYyCEwfnpYNuQX6CWnnlUk7ZC4Ow+L4hoDq7PeW4x8eyDNc3MzMzD6CfxxogRP8l+nXoD9VsPLnLGcGSCQHln+iCoaF4ohPHCxDLYv81irep04AZiRppHybWJHZHocNRfbStnMotucVibRxQFOI7jeJ22rFo7K4QGNdgXo2r92xg8RwWE9LJhvqt1VWjJqfuDSq6kTl8zXuyTGZxcfFNFPaqdt/Kk+jg4OBv9FoLfhPYKeg1erZMW7uETjTJyoA8yyr+Fb6Wcg+jU8IiTPD/yckhZk50SKBC4JpuNLI1x94IrC7HORJMQafFUyVLPBrRhwq5H1qBj8kBJYEPNLiqWYc0Ss8KmIY9AAvNkbAkmdHB1lbA4XL7mBxQPwxzK9hHfVktPOA05EEhCc3sgeLYGD51QInp/gn8Ud8ojTeLaBpwTfiWVPEJpoG/wNLiSI9v7Mg6oLxnHFC/y9OCm23JLRx8h1Txs9NAC2wkLY7V+7n1OLRyB7S7u3uTf6OHmMqJPZL8CwBt9BNUxQkWjnYCVZIMG5l0E7X2LECD3MKiFyy+QXFAUSjRipGf1PPB8FUJQb+j4pqtAOysv3C0HUkmnbG5UjWQUSgn9nqyqOjlKkxBcUDVQnFTlMBHzBtHzaTyCz4PsP/CbFMhW8nQD1G15UyGlDGNzc1N9wi0WKxZaFXqIrC1tfWPlBguccX7zBq+CMpUusGfDh5/ra2tx/1vAKEelQKAtwRKDjxHPngRAJUDkHr0BSCFwQcpfQioBBiNUoP9cHd3Vzf9UK/Lpt5FOah6mSq/Jv1oNMc+oMyruzjZR1yes/z7qFO92+S4TMy84iq3MERz7AMqA/6RbvZ6aMnxIsNSEN+IotjkuKDYyqnccXligbKI1vQFA6dtORFoqhFgDcgp5VAutrMzyq12tMQClRFPg1WczxmHNsAWCayPBoees4phYhWJH+zXylXtTS8MqUl1Sydw3T7paCfRIiV3MCfVkwIZtw8LoC2pQGXYqI9kAHys4U7qyecCKmOGKu2z430Sr9P7+tIMqdjPjjq73YmjWNhJX//PjgpuC1Ph5f6Qa4Fa+tJ/GrdAfcow5vQQ0xtHQy6dpoHuuOb66G5Bvt8r/v/sgWdr/PNRad4zgwAAAABJRU5ErkJggg==",QQ=[32e9,4e10,33e9,34e9];let wi=null,WQ=0;const f0="close-other-area-select",GQ={name:"KAreaSelect",props:{site:{type:Object,required:!1},modelValue:{type:[Object],default(){return{areaId:"",areaName:"",cityId:"",cityName:"",provId:"",provName:""}}},placeholder:{type:String,default:"请选择"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},lastLevel:{type:Number,default:3,validator(t){return[1,2,3].includes(t)}},justMainland:{type:Boolean,default:!1},trigger:{type:String,default:"click",validator(t){return["click","hover"].includes(t)}},size:{type:String,default:"medium",validator(t){return["medium","small","mini"].includes(t)}},theme:{type:String,default:"seller",validator(t){return["seller","buyer"].includes(t)}}},data(){return{seed:++WQ,comein:!1,currentTab:"1",areaSelectName:"",defaultClass:!0,areaData:null,currentAreaArr:{provArr:{},cityArr:{},areaArr:{}},selectedArea:{areaId:"",areaName:"",cityId:"",cityName:"",provId:"",provName:""}}},computed:{currentAreaInfo(){return this.modelValue}},methods:{initArea(t){var r;let e=document.createElement("script");e.type="text/javascript",e.src=(((r=this.site)==null?void 0:r.s_res)||"https://res.kongfz.com/")+"js/data/area.js",e.id="__areaDataTag",document.body.appendChild(e),e.readyState?e.onreadystatechange=()=>{(e.readyState=="complete"||e.readyState=="loaded")&&typeof window.___AREADATA<"u"&&t(window.___AREADATA.result)}:e.onload=()=>{typeof window.___AREADATA<"u"&&t(window.___AREADATA.result)}},initWithOption(){if(!window.___AREADATA)this.initArea(t=>{this.justMainland&&(t=this.getMainlandAreaData(t)),this.areaData={prov:t.province,city:t.cities},this.init()});else{if(!this.areaData){let t=window.___AREADATA.result;this.justMainland&&(t=this.getMainlandAreaData(t)),this.areaData={prov:t.province,city:t.cities}}this.init()}},init(){this.currentTab="1",this.currentAreaInfo&&(this.currentAreaArr.provArr=this.areaData.prov,this.currentAreaInfo.cityId?(this.defaultClass=!1,this.currentAreaArr.cityArr=this.areaData.city[this.currentAreaInfo.provId],this.currentAreaInfo.areaId?(this.currentAreaArr.areaArr=this.areaData.city[this.currentAreaInfo.cityId],this.currentTab="3",this.areaSelectName=this.currentAreaInfo.provName+"/"+this.currentAreaInfo.cityName+"/"+this.currentAreaInfo.areaName):this.currentAreaInfo.cityId&&(this.currentTab="2",this.areaSelectName=this.currentAreaInfo.provName+"/"+this.currentAreaInfo.cityName)):this.currentAreaInfo.provId?this.areaSelectName=this.currentAreaInfo.provName:this.areaSelectName="",this.selectedArea=JSON.parse(JSON.stringify(this.currentAreaInfo)))},selectProv(t,e){if(this.currentTab="2",this.selectedArea.provId=t,this.selectedArea.provName=e,this.selectedArea.cityName="城市",this.lastLevel==1){this.comein=!1,this.selectedArea.cityName="",this.selectedArea.cityId="",this.selectedArea.areaName="",this.selectedArea.areaId="",this.$emit("update:modelValue",this.selectedArea);return}this.currentAreaArr.cityArr=this.areaData.city[t],this.currentAreaArr.areaArr={}},selectCity(t,e){if(this.selectedArea.cityId=t,this.selectedArea.cityName=e,this.selectedArea.areaName="区县",this.currentAreaArr.areaArr=this.areaData.city[t]||{},JSON.stringify(this.currentAreaArr.areaArr)=="{}"||this.lastLevel==2){this.comein=!1,this.areaSelectName=this.selectedArea.provName+"/"+e,this.selectedArea.areaName="",this.selectedArea.areaId="",this.defaultClass=!1,this.$emit("update:modelValue",this.selectedArea);return}this.currentTab="3"},selectarea(t,e){this.selectedArea.areaId=t,this.selectedArea.areaName=e,this.comein=!1,this.areaSelectName=this.selectedArea.provName+"/"+this.selectedArea.cityName+"/"+this.selectedArea.areaName,this.$emit("update:modelValue",this.selectedArea),this.defaultClass=!1},chanTab(t){this.currentTab=t},handleCome(){this.trigger=="hover"&&(this.disabled||this.readonly?this.comein=!1:this.comein=!0)},handleLeave(){this.trigger=="hover"&&(this.disabled||this.readonly?this.comein=!1:this.comein=!1)},handleClick(){this.closeOtherInstance(),!(this.trigger!="click"||this.disabled||this.readonly)&&(this.comein=!this.comein)},clearArea(){this.comein=!1,this.areaSelectName="",this.currentTab="1",this.defaultClass=!0,this.selectedArea={areaId:"",areaName:"",cityId:"",cityName:"",provId:"",provName:""},this.$emit("update:modelValue",this.selectedArea)},getMainlandAreaData(t){let e={};for(let n in t.province)e[n]=[],t.province[n].forEach((i,s)=>{QQ.includes(i.code)||e[n].push(i)});return{cities:t.cities,province:e}},closeOtherInstance(){document.body.dispatchEvent(new CustomEvent(f0,{detail:{seed:this.seed}}))}},watch:{currentAreaInfo(){this.initWithOption()}},created(){this.initWithOption(),wi=t=>{if(t.detail.seed){this.seed!=t.detail.seed&&(this.comein=!1);return}this.comein=!1},document.body.addEventListener(f0,wi),this.trigger=="click"&&document.body.addEventListener("click",wi)},unmounted(){document.body.removeEventListener(f0,wi),document.body.removeEventListener("click",wi)}},ZQ={key:0,class:"global-iconfont global-icon-xiajiantou arrow"},YQ={key:1,class:"global-iconfont global-icon-shangjiantou arrow"},JQ={class:"area-tab"},XQ={class:"area-content"},eW=["onClick"],tW=["onClick"],rW={class:"area"},nW=["onClick"];function iW(t,e,r,n,i,s){return g(),v("div",{class:T(["k-area-select-wrap",{disable:r.disabled,readonly:r.readonly,small:r.size=="small",mini:r.size=="mini","theme-red":r.theme=="buyer"}]),onMouseenter:e[6]||(e[6]=(...o)=>s.handleCome&&s.handleCome(...o)),onMouseleave:e[7]||(e[7]=(...o)=>s.handleLeave&&s.handleLeave(...o))},[u("div",{class:"area-text",onClick:e[1]||(e[1]=ue((...o)=>s.handleClick&&s.handleClick(...o),["stop"]))},[u("span",{class:T({defaule:i.areaSelectName==""})},C(i.areaSelectName==""?r.placeholder:i.areaSelectName),3),le(u("img",{class:"clear-img",src:KQ,alt:"",onClick:e[0]||(e[0]=ue((...o)=>s.clearArea&&s.clearArea(...o),["stop"]))},null,512),[[fe,i.areaSelectName&&r.clearable]]),i.comein?b("",!0):(g(),v("span",ZQ)),i.comein?(g(),v("span",YQ)):b("",!0)]),B(x8,{name:"options"},{default:F(()=>[le(u("div",{class:"area-wrap",onClick:e[5]||(e[5]=ue(()=>{},["stop"]))},[u("div",JQ,[u("a",{class:T(["tab-prov",i.currentTab=="1"?"now":""]),href:"javascript:;",onClick:e[2]||(e[2]=ue(o=>s.chanTab("1"),["stop"]))},C(i.selectedArea.provName||"省份"),3),le(u("a",{class:T(["tab-city",i.currentTab=="2"?"now":""]),href:"javascript:;",onClick:e[3]||(e[3]=ue(o=>s.chanTab("2"),["stop"]))},C(i.selectedArea.cityName),3),[[fe,JSON.stringify(i.currentAreaArr.cityArr)!="{}"&&i.selectedArea.cityName]]),le(u("a",{class:T(["tab-area",i.currentTab=="3"?"now":""]),href:"javascript:;",onClick:e[4]||(e[4]=ue(o=>s.chanTab("3"),["stop"]))},C(i.selectedArea.areaName),3),[[fe,JSON.stringify(i.currentAreaArr.areaArr)!="{}"&&i.selectedArea.areaName]])]),u("div",XQ,[i.areaData?(g(),v("div",{key:0,class:T(["prov",i.currentTab=="1"?"show":"hide"])},[(g(!0),v(P,null,oe(i.areaData.prov,(o,a)=>(g(),v("dl",{class:"k-clearfix",key:a},[u("dt",null,C(a),1),u("dd",null,[(g(!0),v(P,null,oe(o,(l,c)=>(g(),v("a",{class:T(l.code==i.selectedArea.provId?"active":""),href:"javascript:;",key:c,onClick:ue(h=>s.selectProv(l.code,l.address),["stop","prevent"])},C(l.simple),11,eW))),128))])]))),128))],2)):b("",!0),u("div",{class:T(["city",i.currentTab=="2"?"show":"hide"])},[u("dl",null,[u("dd",null,[(g(!0),v(P,null,oe(i.currentAreaArr.cityArr,(o,a)=>(g(),v("a",{class:T(a==i.selectedArea.cityId?"active":""),href:"javascript:;",key:a,onClick:ue(l=>s.selectCity(a,o),["stop"])},C(o),11,tW))),128))])])],2),le(u("div",rW,[u("dl",null,[u("dd",null,[(g(!0),v(P,null,oe(i.currentAreaArr.areaArr,(o,a)=>(g(),v("a",{class:T(a==i.selectedArea.areaId?"active":""),href:"javascript:;",key:a,onClick:ue(l=>s.selectarea(a,o),["stop"])},C(o),11,nW))),128))])])],512),[[fe,i.currentTab=="3"&&JSON.stringify(i.currentAreaArr.areaArr)!="{}"]])])],512),[[fe,i.comein]])]),_:1})],34)}const sW=ye(GQ,[["render",iW]]),bie=ze(sW),oW="https://static.kongfz.com/search-v3/assets/images/icon-auto-p_Vnol5q.svg",aW="https://static.kongfz.com/search-v3/assets/images/icon-auto-active-CrLyKjWS.svg",lW="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='160px'%20height='120px'%20viewBox='0%200%20160%20120'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e固定模式%3c/title%3e%3cg%20id='固定模式'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='react'%20fill='%230068F2'%20opacity='0'%20x='0'%20y='0'%20width='160'%20height='120'%3e%3c/rect%3e%3cpath%20d='M132,14.25%20L28,14.25%20C23.1675084,14.25%2019.25,18.1675084%2019.25,23%20L19.25,97%20C19.25,101.832492%2023.1675084,105.75%2028,105.75%20L132,105.75%20C136.832492,105.75%20140.75,101.832492%20140.75,97%20L140.75,23%20C140.75,18.1675084%20136.832492,14.25%20132,14.25%20Z%20M132,15.75%20C136.004064,15.75%20139.25,18.9959356%20139.25,23%20L139.25,97%20C139.25,101.004064%20136.004064,104.25%20132,104.25%20L28,104.25%20C23.9959356,104.25%2020.75,101.004064%2020.75,97%20L20.75,23%20C20.75,18.9959356%2023.9959356,15.75%2028,15.75%20L132,15.75%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,31.5%20C107.552285,31.5%20108,31.9477153%20108,32.5%20C108,33.0522847%20107.552285,33.5%20107,33.5%20L53,33.5%20C52.4477153,33.5%2052,33.0522847%2052,32.5%20C52,31.9477153%2052.4477153,31.5%2053,31.5%20L107,31.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,45.5%20C107.552285,45.5%20108,45.9477153%20108,46.5%20C108,47.0522847%20107.552285,47.5%20107,47.5%20L53,47.5%20C52.4477153,47.5%2052,47.0522847%2052,46.5%20C52,45.9477153%2052.4477153,45.5%2053,45.5%20L107,45.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,59.5%20C107.552285,59.5%20108,59.9477153%20108,60.5%20C108,61.0522847%20107.552285,61.5%20107,61.5%20L53,61.5%20C52.4477153,61.5%2052,61.0522847%2052,60.5%20C52,59.9477153%2052.4477153,59.5%2053,59.5%20L107,59.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,73.5%20C107.552285,73.5%20108,73.9477153%20108,74.5%20C108,75.0522847%20107.552285,75.5%20107,75.5%20L53,75.5%20C52.4477153,75.5%2052,75.0522847%2052,74.5%20C52,73.9477153%2052.4477153,73.5%2053,73.5%20L107,73.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,87.5%20C107.552285,87.5%20108,87.9477153%20108,88.5%20C108,89.0522847%20107.552285,89.5%20107,89.5%20L53,89.5%20C52.4477153,89.5%2052,89.0522847%2052,88.5%20C52,87.9477153%2052.4477153,87.5%2053,87.5%20L107,87.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M46.00003,60.25%20C46.4142436,60.25%2046.75003,60.5857864%2046.75003,61%20C46.75003,61.4142136%2046.4142436,61.75%2046.00003,61.75%20L32.00003,61.75%20C31.5858164,61.75%2031.25003,61.4142136%2031.25003,61%20C31.25003,60.5857864%2031.5858164,60.25%2032.00003,60.25%20L46.00003,60.25%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%20transform='translate(39.000030,%2061.000000)%20scale(-1,%201)%20translate(-39.000030,%20-61.000000)%20'%3e%3c/path%3e%3cpath%20d='M45.7803881,54.4696706%20C46.0732809,54.176777%2046.5481547,54.1767764%2046.8410483,54.4696693%20C47.1339419,54.7625621%2047.1339424,55.2374358%2046.8410496,55.5303294%20L41.3717338,61%20L46.8410496,66.4696706%20C47.1073158,66.7359375%2047.1315214,67.1526012%2046.9136665,67.4462124%20L46.8410483,67.5303307%20C46.5481547,67.8232236%2046.0732809,67.823223%2045.7803881,67.5303294%20L39.250075,61%20L45.7803881,54.4696706%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%20transform='translate(43.155397,%2061.000000)%20scale(-1,%201)%20translate(-43.155397,%20-61.000000)%20'%3e%3c/path%3e%3cpath%20d='M128.00006,60.25%20C128.414274,60.25%20128.75006,60.5857864%20128.75006,61%20C128.75006,61.4142136%20128.414274,61.75%20128.00006,61.75%20L114.00006,61.75%20C113.585846,61.75%20113.25006,61.4142136%20113.25006,61%20C113.25006,60.5857864%20113.585846,60.25%20114.00006,60.25%20L128.00006,60.25%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M119.469684,54.4696706%20C119.762577,54.176777%20120.237451,54.1767764%20120.530344,54.4696693%20C120.823238,54.7625621%20120.823239,55.2374358%20120.530346,55.5303294%20L115.06103,61%20L120.530346,66.4696706%20C120.796612,66.7359375%20120.820818,67.1526012%20120.602963,67.4462124%20L120.530344,67.5303307%20C120.237451,67.8232236%20119.762577,67.823223%20119.469684,67.5303294%20L112.939371,61%20L119.469684,54.4696706%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",cW="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='160px'%20height='120px'%20viewBox='0%200%20160%20120'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e固定模式-hover%3c/title%3e%3cg%20id='固定模式-hover'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='react'%20fill='%230068F2'%20opacity='0'%20x='0'%20y='0'%20width='160'%20height='120'%3e%3c/rect%3e%3cpath%20d='M132,14.25%20L28,14.25%20C23.1675084,14.25%2019.25,18.1675084%2019.25,23%20L19.25,97%20C19.25,101.832492%2023.1675084,105.75%2028,105.75%20L132,105.75%20C136.832492,105.75%20140.75,101.832492%20140.75,97%20L140.75,23%20C140.75,18.1675084%20136.832492,14.25%20132,14.25%20Z%20M132,15.75%20C136.004064,15.75%20139.25,18.9959356%20139.25,23%20L139.25,97%20C139.25,101.004064%20136.004064,104.25%20132,104.25%20L28,104.25%20C23.9959356,104.25%2020.75,101.004064%2020.75,97%20L20.75,23%20C20.75,18.9959356%2023.9959356,15.75%2028,15.75%20L132,15.75%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,31.5%20C107.552285,31.5%20108,31.9477153%20108,32.5%20C108,33.0522847%20107.552285,33.5%20107,33.5%20L53,33.5%20C52.4477153,33.5%2052,33.0522847%2052,32.5%20C52,31.9477153%2052.4477153,31.5%2053,31.5%20L107,31.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,45.5%20C107.552285,45.5%20108,45.9477153%20108,46.5%20C108,47.0522847%20107.552285,47.5%20107,47.5%20L53,47.5%20C52.4477153,47.5%2052,47.0522847%2052,46.5%20C52,45.9477153%2052.4477153,45.5%2053,45.5%20L107,45.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,59.5%20C107.552285,59.5%20108,59.9477153%20108,60.5%20C108,61.0522847%20107.552285,61.5%20107,61.5%20L53,61.5%20C52.4477153,61.5%2052,61.0522847%2052,60.5%20C52,59.9477153%2052.4477153,59.5%2053,59.5%20L107,59.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,73.5%20C107.552285,73.5%20108,73.9477153%20108,74.5%20C108,75.0522847%20107.552285,75.5%20107,75.5%20L53,75.5%20C52.4477153,75.5%2052,75.0522847%2052,74.5%20C52,73.9477153%2052.4477153,73.5%2053,73.5%20L107,73.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,87.5%20C107.552285,87.5%20108,87.9477153%20108,88.5%20C108,89.0522847%20107.552285,89.5%20107,89.5%20L53,89.5%20C52.4477153,89.5%2052,89.0522847%2052,88.5%20C52,87.9477153%2052.4477153,87.5%2053,87.5%20L107,87.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M46.00003,60.25%20C46.4142436,60.25%2046.75003,60.5857864%2046.75003,61%20C46.75003,61.4142136%2046.4142436,61.75%2046.00003,61.75%20L32.00003,61.75%20C31.5858164,61.75%2031.25003,61.4142136%2031.25003,61%20C31.25003,60.5857864%2031.5858164,60.25%2032.00003,60.25%20L46.00003,60.25%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%20transform='translate(39.000030,%2061.000000)%20scale(-1,%201)%20translate(-39.000030,%20-61.000000)%20'%3e%3c/path%3e%3cpath%20d='M45.7803881,54.4696706%20C46.0732809,54.176777%2046.5481547,54.1767764%2046.8410483,54.4696693%20C47.1339419,54.7625621%2047.1339424,55.2374358%2046.8410496,55.5303294%20L41.3717338,61%20L46.8410496,66.4696706%20C47.1073158,66.7359375%2047.1315214,67.1526012%2046.9136665,67.4462124%20L46.8410483,67.5303307%20C46.5481547,67.8232236%2046.0732809,67.823223%2045.7803881,67.5303294%20L39.250075,61%20L45.7803881,54.4696706%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%20transform='translate(43.155397,%2061.000000)%20scale(-1,%201)%20translate(-43.155397,%20-61.000000)%20'%3e%3c/path%3e%3cpath%20d='M128.00006,60.25%20C128.414274,60.25%20128.75006,60.5857864%20128.75006,61%20C128.75006,61.4142136%20128.414274,61.75%20128.00006,61.75%20L114.00006,61.75%20C113.585846,61.75%20113.25006,61.4142136%20113.25006,61%20C113.25006,60.5857864%20113.585846,60.25%20114.00006,60.25%20L128.00006,60.25%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M119.469684,54.4696706%20C119.762577,54.176777%20120.237451,54.1767764%20120.530344,54.4696693%20C120.823238,54.7625621%20120.823239,55.2374358%20120.530346,55.5303294%20L115.06103,61%20L120.530346,66.4696706%20C120.796612,66.7359375%20120.820818,67.1526012%20120.602963,67.4462124%20L120.530344,67.5303307%20C120.237451,67.8232236%20119.762577,67.823223%20119.469684,67.5303294%20L112.939371,61%20L119.469684,54.4696706%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",uW={name:"KSellerHeader",components:{TopBar:PV},props:{layout:{type:Number,default:1},site:{type:Object,default:()=>({})},type:{type:Number,default:3},showLayoutSet:{type:Boolean,default:!1},bizType:{type:String,default:"shop"}},data(){return{show:!1,isStaff:!1,staffName:"",shopName:"",auctioneerName:"",layoutClassName:"",layoutSetDialog:!1,layoutActive:1,layoutTips:!0,isCNDomain:!1}},watch:{layout:function(t){t==1&&(this.layoutClassName="size-1000"),t==2&&(this.layoutClassName=""),t==3&&(this.layoutClassName="w-auto-xl"),t==4&&(this.layoutClassName="w-auto-xxl")}},async created(){location.hostname.indexOf(".cn")>-1&&(this.isCNDomain=!0),location.pathname.includes("/preview/example/SellerHeaderPreview")||this.getStaffInfo(),this.layout==1&&(this.layoutClassName="size-1000"),this.layout==2&&(this.layoutClassName=""),this.layout==3&&(this.layoutClassName="w-auto-xl"),this.layout==4&&(this.layoutClassName="w-auto-xxl"),this.initLayout()},methods:{initLayout(){const t=jn.getItem("__layout");t&&(this.layoutActive=t,this.$eventBus.emit("layout",t))},setLayout(t){this.layoutActive=t,this.$eventBus.emit("layout",t),jn.setItem("__layout",t)},async getStaffInfo(){try{const{body:t}=await es({url:this.isCNDomain?"".concat(this.site.s_cn_seller,"jsonp/baseInfo"):"".concat(this.site.s_seller,"jsonp/baseInfo")});if(!t)return;const{status:e,data:r}=t;if(e!==1)return;const{staffName:n,shopName:i,auctioneerName:s}=r;n&&(this.isStaff=!0,this.staffName=n),this.shopName=i,this.auctioneerName=s}catch(t){console.log(t)}}}},hW={class:"common-seller-header-wrap"},fW={class:"seller-logo float-left"},dW=["href"],pW=u("span",{class:"small-logo"},[u("span",{class:"global-iconfont global-icon-small-logo"}),u("span",{class:"small-logo-text"}," 卖家中心 ")],-1),gW=[pW],vW={class:"seller-right-content"},yW={class:"shop-name"},mW={key:0,id:"seller-shop-name"},bW={key:1,id:"seller-shop-name"},_W={key:0,class:"staff-box"},wW=["href"],CW=u("span",{class:"global-iconfont global-icon-shezhikuandu"},null,-1),AW={class:"set-layout-box"},SW=u("div",{class:"icon"},[u("img",{src:oW,class:"icon-d"}),u("img",{src:aW,class:"icon-a"})],-1),TW=u("button",{class:"btn"},"全屏模式",-1),EW=[SW,TW],IW=u("div",{class:"icon"},[u("img",{src:lW,class:"icon-d"}),u("img",{src:cW,class:"icon-a"})],-1),kW=u("button",{class:"btn"},"固定模式",-1),xW=[IW,kW];function LW(t,e,r,n,i,s){const o=se("TopBar"),a=L3;return g(),v("div",null,[i.isStaff?b("",!0):(g(),ne(o,{key:0,site:r.site,layout:r.layout,type:r.type},null,8,["site","layout","type"])),u("div",hW,[u("div",{class:T(["common-seller-header clearfix",i.layoutClassName])},[u("div",fW,[u("a",{href:"".concat(r.site.s_shop,"seller"),class:"logo-text"},gW,8,dW)]),u("div",vW,[u("h2",yW,[r.bizType=="shop"?(g(),v("span",mW,C(i.shopName),1)):b("",!0),r.bizType=="auctioneer"&&i.auctioneerName?(g(),v("span",bW,"拍主:"+C(i.auctioneerName),1)):b("",!0)]),i.isStaff?(g(),v("div",_W,[u("span",null,"员工账号:"+C(i.staffName),1),u("a",{href:"".concat(r.site.s_seller,"Pc/Staff/logout"),class:"staff-link"},"退出",8,wW)])):b("",!0),r.showLayoutSet?(g(),v("div",{key:1,class:"set-layout",onClick:e[0]||(e[0]=l=>i.layoutSetDialog=!0)},[CW,V(" 页面设置 ")])):b("",!0)])],2),B(a,{title:"页面设置",modelValue:i.layoutSetDialog,"onUpdate:modelValue":e[3]||(e[3]=l=>i.layoutSetDialog=l),class:"set-layout-dialog",width:"400px"},{default:F(()=>[u("div",AW,[u("div",{class:T(["item",i.layoutActive==2?"active":""]),onClick:e[1]||(e[1]=l=>s.setLayout(2))},EW,2),u("div",{class:T(["item",i.layoutActive==1?"active":""]),onClick:e[2]||(e[2]=l=>s.setLayout(1))},xW,2)])]),_:1},8,["modelValue"])])])}const OW=ye(uW,[["render",LW]]),NW=ze(OW),Ct=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r},RW={name:"KButton",props:{theme:{type:String,default:"primary"},type:{type:String,default:"fill"},minWidth:{type:[String,Number]},width:{type:[String,Number]},height:{type:[String,Number],default:40},borderRadius:{type:[String,Number]},fontSize:{type:[String,Number]},customClass:{type:String},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},forceBlur:{type:Boolean,default:!1},effect:{type:String}},data(){return{styleObject:{}}},methods:{_getNumber(t){return typeof t=="string"?Number(t.replace("px","")):t},_matchFontSize(t){const e=this._getNumber(t);return this._getNumber(this.fontSize)||(e===24||e===26?12:e===28?13:e===48||e===44?16:14)},_matchFontWeight(t){const e=this._getNumber(t);return this.type!=="fill"?400:[36,40,44,48].includes(e)?700:400},handleClick(t){this.$emit("click",t)}},directives:{"force-blur":{bind(t,e){if(!e.value)return;const r=()=>{t.blur()};t.addEventListener("click",r),t.__clickHandler__=r},unbind:function(t){const e=t.__clickHandler__;e&&(t.removeEventListener("click",e),delete t.__clickHandler__)}}}},DW=["disabled"],BW={key:0,class:"k-iconfont k-icon-jiazai"},$W={key:1,class:"k-iconfont k-icon-liaotian"};function PW(t,e,r,n,i,s){const o=E3("force-blur");return le((g(),v("button",{type:"button",class:T(["k-button",["k-button--".concat(r.theme),"k-button--".concat(r.type),r.customClass?r.customClass:"",r.disabled?"k-button--disabled":"",r.effect?"k-button--plain k-button--".concat(r.effect):""]]),style:ve({height:"".concat(s._getNumber(r.height),"px"),padding:"".concat(r.type==="text"?0:"0 ".concat(s._getNumber(r.height)/2,"px")),minWidth:"".concat(s._getNumber(r.minWidth),"px"),width:"".concat(s._getNumber(r.width),"px"),borderRadius:"".concat(s._getNumber(r.borderRadius),"px"),fontSize:"".concat(s._matchFontSize(r.height),"px"),fontWeight:"".concat(s._matchFontWeight(r.height))}),disabled:r.disabled},[r.loading?(g(),v("span",BW)):b("",!0),r.effect?(g(),v("span",$W)):b("",!0),ge(t.$slots,"default",{},void 0,!0)],14,DW)),[[o,r.forceBlur]])}const Nn=Ct(RW,[["render",PW],["__scopeId","data-v-4518ad4e"]]);Nn.install=function(t){t.component(Nn.name,Nn)};const MW={name:"KTabs",model:{prop:"current",event:"update:current"},props:{current:{type:[String,Number],default:""},tabs:{type:Array,default:()=>[]},currentDisabled:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},maxTabCount:{type:Number,default:0,validate:t=>t>=0&&/^\d+$/.test(t.toString())},foldTabLabel:{type:String,default:"其他"},theme:{type:String,default:"primary"}},data(){return{sliderWidth:0,left:0,isShow:!1}},mounted(){document.addEventListener("click",this._handleClick)},beforeDestroy(){document.removeEventListener("click",this._handleClick)},directives:{active:{mounted:(t,e,r)=>{const n=e.instance;e.value&&n.computedSliderPosition(t)},updated:(t,e,r)=>{const n=e.instance;e.value&&n.computedSliderPosition(t)}}},computed:{mainTabs(){return this.maxTabCount===0?this.tabs:this.maxTabCount>=this.tabs.length?this.tabs:this.tabs.slice(0,this.maxTabCount)},foldTabs(){return this.maxTabCount===0?[]:this.maxTabCount>=this.tabs.length?[]:this.tabs.slice(this.maxTabCount,this.tabs.length)},isSubTab(){return this.foldTabs.some(t=>t.name===this.current)}},methods:{_handleClick(){this.isShow=!1},handleChangeTab(t){this.isShow=!1,!(t.disabled||this.disabled)&&(this.currentDisabled&&t.name===this.current||(this.$emit("update:current",t.name),this.$emit("change",t)))},computedSliderPosition(t){t&&(this.sliderWidth=t.getBoundingClientRect().width,this.left=t.offsetLeft)}}},FW={class:"k-tabs__wrapper"},UW=["onClick"],zW={class:"k-tabs-bar__text"},VW=["textContent"],jW={class:"k-tabs-bar__text k-tabs-bar__text--hide"},HW=["textContent"],qW={class:"k-tabs-bar__text"},KW=["textContent"],QW={key:0,class:"k-tabs-popover-wrapper"},WW={class:"k-tabs-popover"},GW=["onClick"],ZW={class:"k-tabs-bar__sub-tab__text"},YW=["textContent"];function JW(t,e,r,n,i,s){const o=E3("active");return g(),v("div",FW,[u("ul",{class:T(["k-tabs",["k-tabs--".concat(r.theme)]])},[(g(!0),v(P,null,oe(s.mainTabs,a=>(g(),v("li",{ref_for:!0,ref:"tabs",key:a.name,class:T(["k-tabs-bar",{active:a.name===r.current}]),onClick:ue(l=>s.handleChangeTab(a),["stop"])},[le((g(),v("span",zW,[u("span",{textContent:C(a.label)},null,8,VW),ge(t.$slots,"sub-text",zr({ref_for:!0},{isSub:!1,tab:a}),void 0,!0)])),[[o,a.name===r.current]]),u("span",jW,[u("span",{textContent:C(a.label)},null,8,HW),ge(t.$slots,"sub-text",zr({ref_for:!0},{isSub:!1,tab:a}),void 0,!0)])],10,UW))),128)),s.foldTabs.length>0?le((g(),v("li",{key:0,class:T(["k-tabs-bar k-tabs-extra",{active:s.isSubTab}]),onClick:e[0]||(e[0]=ue(a=>i.isShow=!i.isShow,["stop"]))},[u("div",qW,[u("span",{textContent:C(r.foldTabLabel)},null,8,KW),u("i",{class:T(["k-iconfont k-icon-xiajiantou k-tabs-popover__triangle",{rotate:i.isShow}])},null,2)]),i.isShow?(g(),v("ul",QW,[e[1]||(e[1]=u("li",{class:"k-tabs-popover-bar"},null,-1)),u("div",WW,[(g(!0),v(P,null,oe(s.foldTabs,a=>(g(),v("li",{key:a.name,class:T(["k-tabs-bar__sub-tab",{active:a.name===r.current}]),onClick:ue(l=>s.handleChangeTab(a),["stop"])},[u("span",ZW,[u("span",{textContent:C(a.label)},null,8,YW),ge(t.$slots,"sub-text",zr({ref_for:!0},{isSub:!0,tab:a}),void 0,!0)])],10,GW))),128))])])):b("",!0)],2)),[[o,s.isSubTab]]):b("",!0)],2),u("div",{class:"k-tabs-slider",style:ve({width:"".concat(i.sliderWidth,"px"),transform:"translateX(".concat(i.left,"px)")})},null,4)])}const Pi=Ct(MW,[["render",JW],["__scopeId","data-v-c84244d5"]]);Pi.install=function(t){t.component(Pi.name,Pi)};const d0={fill:{light_red:{color:"#DB121F",bgColor:"rgba(219, 18, 31, 10%)"},light_vermilion:{color:"#D03411",bgColor:"rgba(208, 52, 17, 10%)"},gradient_vermilion:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #F53D14 0%, #F57614 100%)"},gradient_red:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #DB121F 0%, #F53D14 100%)"},gradient_yellow:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #D3850F 0%, #F5AE14 100%)"},light_yellow:{color:"#B3710D",bgColor:"#FCEACC"},light_green:{color:"#0C8F60",bgColor:"rgba(12, 143, 96, 10%)"},gradient_green:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #0C8F60 0%, #0EA889 100%)"},gray:{color:"#FFFFFF",bgColor:"#999999"},gradient_blue:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #105FB3 0%, #129ACC 100%)"},dark_red:{color:"#9B0D16",bgColor:"rgba(155, 13, 22, 10%)"},light_orange:{color:"#F57614",bgColor:"rgba(245, 118, 20, 10%)"},light_gray:{color:"#999999",bgColor:"rgba(153, 153, 153, 10%)"}},icon_fill:{light_yellow:{color:"#D3850F",iconColor:"#D3850F",bgColor:"rgba(211, 133, 15, 10%)"},dark_red:{color:"#9B0D16",iconColor:"#9B0D16",bgColor:"rgba(155, 13, 22, 10%)"},gradient_yellow:{color:"#FFFFFF",iconColor:"#FFFFFF",bgColor:"linear-gradient(315deg, #D3850F 0%, #F5AE14 100%)"},gradient_vermilion:{color:"#FFFFFF",iconColor:"#FFFFFF",bgColor:"linear-gradient(315deg, #F53D14 0%, #F57614 100%)"},gradient_red:{color:"#FFFFFF",iconColor:"#FFFFFF",bgColor:"linear-gradient(315deg, #DB121F 0%, #F53D14 100%)"},gradient_green:{color:"#FFFFFF",iconColor:"#FFFFFF",bgColor:"linear-gradient(315deg, #0C8F60 0%, #0EA889 100%)"}},outline:{red:{color:"#DB121F",borderColor:"rgba(219, 18, 31, 50%)"},green:{color:"#0C8F60",borderColor:"rgba(12, 143, 96, 50%)"},vermilion:{color:"#D03411",borderColor:"rgba(208, 52, 17, 50%)"},yellow:{color:"#D3850F",borderColor:"rgba(211, 133, 15, 50%)"},gray:{color:"#595959",borderColor:"rgba(191, 191, 191)"},blue:{color:"#105FB3",borderColor:"rgba(16, 95, 179, 50%)"},orange:{color:"#F57614",borderColor:"rgba(245, 118, 20, 50%)"},dark_red:{color:"#9B0D16",borderColor:"rgba(155, 13, 22, 50%)"}},icon_outline:{gradient_red:{color:"#DB121F",iconColor:"#FFFFFF",iconBgColor:"linear-gradient(315deg, #DB121F 0%, #F53D14 100%)",borderColor:"rgba(219,18,31, 20%)"},gradient_vermilion:{color:"#D03411",iconColor:"#FFFFFF",iconBgColor:"linear-gradient(315deg, #F53D14 0%, #F57614 100%)",borderColor:"rgba(208,52,17, 20%)"},gradient_yellow:{color:"#D3850F",iconColor:"#FFFFFF",iconBgColor:"linear-gradient(315deg, #D3850F 0%, #F5AE14 100%)",borderColor:"rgba(211,133,15, 20%)"}}};/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const XW=Object.prototype.hasOwnProperty,pd=(t,e)=>XW.call(t,e),eG=Array.isArray;var gd;const tG=(gd=Pt())==null?void 0:gd.appContext.config.globalProperties.$isServer;function G4(t){return Object.prototype.toString.call(t)==="[object String]"}function Z4(t){return Object.prototype.toString.call(t)==="[object Object]"}let k2=t=>{var e={};return t&&e.toString.call(t)==="[object Function]"};typeof/./!="function"&&typeof Int8Array!="object"&&(tG||typeof document.childNodes!="function")&&(k2=function(t){return typeof t=="function"||!1});const rG=t=>t===void 0,vd=t=>typeof Element>"u"?!1:t instanceof Element,nG=t=>typeof t=="number";var yd;(yd=Pt())==null||yd.appContext.config.globalProperties.$isServer;const Ci=function(t){return typeof t=="string"?Number(t.replace("px","")):t},iG={name:"KTag",props:{type:{type:String,default:"fill"},effect:{type:String,default:"light_red"},text:{type:String},size:{type:[String,Number],default:"12px"},height:{type:String},color:{type:String},iconColor:{type:String},bgColor:{type:String},iconBgColor:{type:String},borderColor:{type:String},borderRadius:{type:String,default:"2px"}},data(){return{Colors:d0,padding:"0px 4px",iconEle:null}},computed:{styles(){const t=d0[this.type];if(!t)return{};const e=t[this.effect],r={color:this.color||e.color,fontSize:"".concat(Ci(this.size),"px"),borderRadius:this.borderRadius,padding:this.padding};return(this.type==="fill"||this.type==="icon_fill")&&(r.background=this.bgColor||e.bgColor),(this.type==="outline"||this.type==="icon_outline")&&(r.border="1px solid ".concat(this.borderColor||e.borderColor)),Ci(this.size)===12?r.height="18px":Ci(this.size)===14&&(r.height="20px"),this.height&&(r.height=this.height),r},iconStyles(){if(!this.type.includes("icon"))return{};const t=d0[this.type];if(!t)return{};const e=t[this.effect]||{},r={color:this.iconColor||e.iconColor};return this.type==="icon_fill"&&(r.marginLeft="2px"),this.type==="icon_outline"&&(r.background=this.iconBgColor||e.iconBgColor,r.marginLeft="-1px",r.marginRight="3px",r.borderRadius=this.parseBorderRadius(this.borderRadius)),Ci(this.size)===12?(this.$nextTick(()=>{this.setIconFontSize(14)}),r.width=this.height||"18px",r.height=this.height||"18px"):Ci(this.size)===14&&(this.$nextTick(()=>{this.setIconFontSize(16)}),r.width=this.height||"20px",r.height=this.height||"20px"),r}},watch:{borderRadius:{handler(t){t==="2px"?(this.padding="0px 4px",["icon_fill","icon_outline"].includes(this.type)&&(this.padding="0px 4px 0 0")):(this.padding="0px 6px",["icon_fill","icon_outline"].includes(this.type)&&(this.padding="0px 6px 0 0"))},immediate:!0}},methods:{setIconFontSize(t){if(this.hasIcon()){if(!this.$refs.iconWrap)return;if(this.$refs.iconWrap.children.length){const e=this.$refs.iconWrap.children[0];e.style.fontSize="".concat(t,"px")}}},hasIcon(){return!!this.$slots.icon},parseBorderRadius(t){let e=t.split(" ").filter(r=>r!=="");if(e.length===1)return"".concat(e[0]," 0 0 ").concat(e[0]);if(e.length===2||e.length===3)return"".concat(e[0]," 0 0 ").concat(e[1]);if(e.length===4)return"".concat(e[0]," 0 0 ").concat(e[3])}}};function sG(t,e,r,n,i,s){return g(),v("div",{class:"k-tag",style:ve(s.styles)},[t.$slots.default?ge(t.$slots,"default",{key:0},void 0,!0):(g(),v(P,{key:1},[t.$slots.icon?(g(),v("span",{key:0,class:"k-tag-icon--wrapper",style:ve(s.iconStyles),ref:"iconWrap"},[ge(t.$slots,"icon",{},void 0,!0)],4)):b("",!0),V(" "+C(r.text),1)],64))],4)}const Mi=Ct(iG,[["render",sG],["__scopeId","data-v-05b9ec5e"]]);Mi.install=function(t){t.component(Mi.name,Mi)};const oG=/([\:\-\_]+(.))/g,aG=/^moz([A-Z])/,md=Number(document.documentMode),lG=function(t){return t.replace(oG,function(e,r,n,i){return i?n.toUpperCase():n}).replace(aG,"Moz$1")},bd=function(t,e){if(!t||!e)return null;if(e=lG(e),e==="float"&&(e=md<9?"styleFloat":"cssFloat"),md<9)try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(n){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}else try{var r=document.defaultView.getComputedStyle(t,"");return t.style[e]||r?r[e]:null}catch(n){return t.style[e]}},hc=function(t,e){if(!t||!e)return!1;if(e.indexOf(" ")!==-1)throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1},Rn=function(t,e){if(t){for(var r=t.className,n=(e||"").split(" "),i=0,s=n.length;iRn(a,l)),r&&r.parentNode&&r.parentNode.nodeType!==11?r.parentNode.appendChild(a):document.body.appendChild(a),e&&(a.style.zIndex=e),a.tabIndex=0,a.style.display="",s&&(a.style.backgroundColor=s),this.modalStack.push({id:t,zIndex:e,modalClass:n})},closeModal:function(t){const e=this.modalStack,r=_d();if(e.length>0){const n=e[e.length-1];if(n.id===t)n.modalClass&&n.modalClass.trim().split(/\s+/).forEach(i=>ta(r,i)),e.pop(),e.length>0&&(r.style.zIndex=e[e.length-1].zIndex);else for(let i=e.length-1;i>=0;i--)if(e[i].id===t){e.splice(i,1);break}}e.length===0&&e.length===0&&(r.parentNode&&r.parentNode.removeChild(r),r.style.display="none",Ve.modalDom=void 0),x2=1900}};Object.defineProperty(Ve,"zIndex",{configurable:!0,get(){return x2},set(t){x2=t}});function cG(t){for(let e=1,r=arguments.length;e0&&(n||i==="scroll")&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+p0+"px"),Rn(document.body,"k-popup-parent--hidden")}r.style.zIndex=Ve.nextZIndex()},close(){Ve.closeModal(this._popupId),this._closing=!1},getScrollBarWidth(){let t;if(t!==void 0)return t;const e=document.createElement("div");e.className="k-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const r=e.offsetWidth;e.style.overflow="scroll";const n=document.createElement("div");n.style.width="100%",e.appendChild(n);const i=n.offsetWidth;return e.parentNode.removeChild(e),t=r-i,t},restoreBodyStyle(){this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,ta(document.body,"k-popup-parent--hidden")),this.withoutHiddenClass=!0}},beforeUnmount(){this.restoreBodyStyle(),Ve.deregister(this._popupId),Ve.closeModal(this._popupId)}},hG={name:"KDialog",mixins:[Y4],props:{visible:{type:Boolean,default:!1},theme:{type:String,default:"primary"},headerBorder:{type:Boolean,default:!0},title:{type:String,default:""},center:{type:Boolean,default:!1},top:{type:String,default:"30vh"},width:{type:String,default:"480px"},okText:{type:String,default:null},cancelText:{type:String,default:null},footerAlign:{type:String,default:"center"},footerBorder:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},modalBgColor:{type:String,default:"rgba(0, 0, 0, 0.5)"},showClose:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1},customClass:{type:String,default:""},lockScroll:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},modalAppendToBody:{type:Boolean,default:!0},destroyOnClose:{type:Boolean,default:!0}},data(){return{key:0}},watch:{visible(t){t?(this.$nextTick(()=>{this.$refs["k-dialog"].scrollTop=0}),this.appendToBody&&document.body.appendChild(this.$el)):this.destroyOnClose&&this.$nextTick(()=>{this.key++})}},mounted(){this.visible&&(this.open(),this.appendToBody&&document.body.appendChild(this.$el))},methods:{handleWrapperClick(){this.closeOnClickModal&&this.cancel("closeByModal")},confirm(){this.$emit("confirm")},cancel(t){this.$emit("cancel",t)}},destoryed(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},fG={class:"k-dialog__title"},dG={class:"k-dialog__body"};function pG(t,e,r,n,i,s){const o=se("k-button");return le((g(),v("div",{class:"k-dialog__wrapper",onClick:e[2]||(e[2]=ue((...a)=>s.handleWrapperClick&&s.handleWrapperClick(...a),["self"]))},[(g(),v("div",{style:ve({marginTop:r.top,width:r.width}),class:T(["k-dialog",r.customClass,{"k-dialog--center":r.center}]),ref:"k-dialog",key:i.key},[r.title||t.$slots.title?(g(),v("div",{key:0,class:T(["k-dialog__header",{"k-dialog__header--border":r.headerBorder}])},[ge(t.$slots,"title",{},()=>[u("span",fG,C(r.title),1)],!0),r.showClose?(g(),v("span",{key:0,class:T(["k-iconfont k-icon-guanbi k-dialog__close",["k-dialog__close--".concat(r.theme)]]),onClick:e[0]||(e[0]=ue(a=>s.cancel("closeByIcon"),["self"]))},null,2)):b("",!0)],2)):b("",!0),ge(t.$slots,"top",{},void 0,!0),u("div",dG,[ge(t.$slots,"default",{},void 0,!0)]),ge(t.$slots,"bottom",{},void 0,!0),t.$slots.footer||r.okText||r.cancelText?(g(),v("div",{key:1,style:ve({textAlign:r.footerAlign}),class:T([{"k-dialog__footer--border":r.footerBorder},"k-dialog__footer"])},[ge(t.$slots,"footer",{},()=>[r.okText?(g(),ne(o,{key:0,class:"ok-btn",theme:r.theme,height:"32",loading:r.loading,onClick:ue(s.confirm,["stop"])},{default:F(()=>[V(C(r.okText),1)]),_:1},8,["theme","loading","onClick"])):b("",!0),r.cancelText?(g(),ne(o,{key:1,class:"cancel-btn",theme:r.theme,height:"32",type:"plain",onClick:e[1]||(e[1]=a=>s.cancel("closeByBtn"))},{default:F(()=>[V(C(r.cancelText),1)]),_:1},8,["theme"])):b("",!0)],!0)],6)):b("",!0)],6))],512)),[[fe,r.visible]])}const Fi=Ct(hG,[["render",pG],["__scopeId","data-v-47f58ff1"]]);Fi.install=function(t){t.component(Fi.name,Fi)};var je=je||{};je.Utils=je.Utils||{};je.Utils.focusFirstDescendant=function(t){for(var e=0;e=0;e--){var r=t.childNodes[e];if(je.Utils.attemptFocus(r)||je.Utils.focusLastDescendant(r))return!0}return!1};je.Utils.attemptFocus=function(t){if(!je.Utils.isFocusable(t))return!1;je.Utils.IgnoreUtilFocusChanges=!0;try{t.focus()}catch(e){}return je.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===t};je.Utils.isFocusable=function(t){if(t.tabIndex>0||t.tabIndex===0&&t.getAttribute("tabIndex")!==null)return!0;if(t.disabled)return!1;switch(t.nodeName){case"A":return!!t.href&&t.rel!=="ignore";case"INPUT":return t.type!=="hidden"&&t.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}};je.Utils.triggerEvent=function(t,e,...r){let n;/^mouse|click/.test(e)?n="MouseEvents":/^key/.test(e)?n="KeyboardEvent":n="HTMLEvents";const i=document.createEvent(n);return i.initEvent(e,...r),t.dispatchEvent?t.dispatchEvent(i):t.fireEvent("on"+e,i),t};je.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27};const No=je.Utils;var en=en||{},fc;en.Dialog=function(t,e,r){if(this.dialogNode=t,this.dialogNode===null||this.dialogNode.getAttribute("role")!=="dialog")throw new Error("Dialog() requires a DOM element with ARIA role of dialog.");typeof e=="string"?this.focusAfterClosed=document.getElementById(e):typeof e=="object"?this.focusAfterClosed=e:this.focusAfterClosed=null,typeof r=="string"?this.focusFirst=document.getElementById(r):typeof r=="object"?this.focusFirst=r:this.focusFirst=null,this.focusFirst?this.focusFirst.focus():No.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement,fc=n=>{this.trapFocus(n)},this.addListeners()};en.Dialog.prototype.addListeners=function(){document.addEventListener("focus",fc,!0)};en.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",fc,!0)};en.Dialog.prototype.closeDialog=function(){this.removeListeners(),this.focusAfterClosed&&setTimeout(()=>{this.focusAfterClosed.focus()})};en.Dialog.prototype.trapFocus=function(t){No.IgnoreUtilFocusChanges||(this.dialogNode.contains(t.target)?this.lastFocus=t.target:(No.focusFirstDescendant(this.dialogNode),this.lastFocus===document.activeElement&&No.focusLastDescendant(this.dialogNode),this.lastFocus=document.activeElement))};const gG=en.Dialog;let g0,wd={success:"success",info:"info",warning:"warning",error:"error"};const vG={name:"KMessageBox",inheritAttrs:!1,mixins:[Y4],components:{KButton:Nn},props:{modal:{default:!0},lockScroll:{default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{default:!0},closeOnPressEscape:{default:!0},closeOnHashChange:{default:!0},center:{default:!1,type:Boolean},modalBgColor:{default:"rgba(0, 0, 0, 0.5)",type:String}},computed:{icon(){const{type:t,iconClass:e}=this;return e||(t&&wd[t]?"el-icon-".concat(wd[t]):"")}},methods:{getSafeClose(){const t=this.uid;return()=>this.$nextTick(()=>{t===this.uid&&this.doClose()})},doClose(){this.visible&&(this.visible=!1,this._closing=!0,this.onClose&&this.onClose(),g0.closeDialog(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.close(),this.action&&this.$emit("action",this.action),this.$nextTick(()=>{this.$emit("vanish")}))},handleWrapperClick(){this.closeOnClickModal&&this.handleAction(this.distinguishCancelAndClose?"close":"cancel")},handleInputEnter(){if(this.inputType!=="textarea")return this.handleAction("confirm")},handleAction(t){this.$type==="prompt"&&t==="confirm"&&!this.validate()||(this.action=t,typeof this.beforeClose=="function"?(this._closeFn=this.getSafeClose(),this.beforeClose(t,this,this._closeFn)):this.doClose())},validate(){if(this.$type==="prompt"){const t=this.inputPattern;if(t&&!t.test(this.inputValue||""))return this.editorErrorMessage=this.inputErrorMessage,Rn(this.getInputElement(),"invalid"),!1;const e=this.inputValidator;if(typeof e=="function"){const r=e(this.inputValue);if(r===!1)return this.editorErrorMessage=this.inputErrorMessage,Rn(this.getInputElement(),"invalid"),!1;if(typeof r=="string")return this.editorErrorMessage=r,Rn(this.getInputElement(),"invalid"),!1}}return this.editorErrorMessage="",ta(this.getInputElement(),"invalid"),!0},getFirstFocus(){const t=this.$el.querySelector(".k-message-box__btns .el-button"),e=this.$el.querySelector(".k-message-box__btns .k-message-box__title");return t||e},getInputElement(){const t=this.$refs.input.$refs;return t.input||t.textarea},handleClose(){this.handleAction("close")}},watch:{inputValue:{immediate:!0,handler(t){this.$nextTick(e=>{this.$type==="prompt"&&t!==null&&this.validate()})}},visible(t){if(t){this.uid++;const e=document.activeElement;e&&e.tagName!=="TBODY"&&(this.focusAfterClosed=document.activeElement),g0=new gG(this.$el,this.focusAfterClosed,this.getFirstFocus())}this.$type==="prompt"&&(t?setTimeout(()=>{this.$refs.input&&this.$refs.input.$el&&this.getInputElement().focus()},500):(this.editorErrorMessage="",ta(this.getInputElement(),"invalid")))}},mounted(){this.$nextTick(()=>{this.closeOnHashChange&&window.addEventListener("hashchange",this._closeFn)})},beforeDestroy(){this.closeOnHashChange&&window.removeEventListener("hashchange",this._closeFn),setTimeout(()=>{g0.closeDialog()})},data(){return{uid:1,action:"",editorErrorMessage:null,callback:null,dangerouslyUseHTMLString:!1,focusAfterClosed:null,isOnComposition:!1,top:"30vh",width:"480px",theme:"primary",headerBorder:!0,title:null,message:"",type:"",iconClass:"",customClass:"",showInput:!1,inputPlaceholder:"",inputValue:null,inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",okText:"",showOkBtn:!0,cancelText:"",showCancelBtn:!1,okBtnLoading:!1,cancelBtnLoading:!1,okBtnClass:"",cancelBtnClass:"",beforeClose:null,dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,footerBorder:!1,visible:!1}}},yG=["aria-label"],mG={class:"k-message-box__title"},bG={class:"k-message-box__content"},_G={class:"k-message-box__container"},wG={key:1,class:"k-message-box__message"},CG={key:0},AG=["innerHTML"],SG={class:"k-message-box__input"};function TG(t,e,r,n,i,s){const o=se("k-button");return le((g(),v("div",{class:"k-message-box__wrapper",tabindex:"-1",onClick:e[6]||(e[6]=ue((...a)=>s.handleWrapperClick&&s.handleWrapperClick(...a),["self"])),role:"dialog","aria-modal":"true","aria-label":i.title||"dialog"},[u("div",{class:T(["k-message-box",[i.customClass,r.center&&"k-message-box--center"]]),style:ve({marginTop:i.top,width:i.width})},[i.title?(g(),v("div",{key:0,class:T(["k-message-box__header",{"k-message-box__header--border":i.headerBorder}])},[u("div",mG,[s.icon&&r.center?(g(),v("div",{key:0,class:T(["k-message-box__status",s.icon])},null,2)):b("",!0),u("span",null,C(i.title),1)]),r.showClose?(g(),v("button",{key:0,type:"button",class:"k-message-box__headerbtn","aria-label":"Close",onClick:e[0]||(e[0]=a=>s.handleAction(i.distinguishCancelAndClose?"close":"cancel")),onKeydown:e[1]||(e[1]=Wt(a=>s.handleAction(i.distinguishCancelAndClose?"close":"cancel"),["enter"]))},[u("span",{class:T(["k-message-box__close k-iconfont k-icon-guanbi",["k-message-box__close--".concat(i.theme)]])},null,2)],32)):b("",!0)],2)):b("",!0),u("div",bG,[u("div",_G,[s.icon&&!r.center&&i.message!==""?(g(),v("div",{key:0,class:T(["k-message-box__status",s.icon])},null,2)):b("",!0),i.message!==""?(g(),v("div",wG,[ge(t.$slots,"default",{},()=>[i.dangerouslyUseHTMLString?(g(),v("p",{key:1,innerHTML:i.message},null,8,AG)):(g(),v("p",CG,C(i.message),1))],!0)])):b("",!0)]),le(u("div",SG,[e[7]||(e[7]=u("input",{type:"text"},null,-1)),u("div",{class:"k-message-box__errormsg",style:ve({visibility:i.editorErrorMessage?"visible":"hidden"})},C(i.editorErrorMessage),5)],512),[[fe,i.showInput]])]),u("div",{class:T(["k-message-box__btns",{"k-message-box__btns--border":i.footerBorder}])},[i.showOkBtn?(g(),ne(o,{key:0,loading:i.okBtnLoading,class:T([i.okBtnClass]),theme:i.theme,height:"32",onClick:e[2]||(e[2]=a=>s.handleAction("confirm")),onKeydown:e[3]||(e[3]=Wt(a=>s.handleAction("confirm"),["enter"]))},{default:F(()=>[V(C(i.okText||"确定"),1)]),_:1},8,["loading","class","theme"])):b("",!0),i.showCancelBtn?(g(),ne(o,{key:1,loading:i.cancelBtnLoading,class:T([i.cancelBtnClass]),theme:i.theme,type:"plain",height:"32",onClick:e[4]||(e[4]=a=>s.handleAction("cancel")),onKeydown:e[5]||(e[5]=Wt(a=>s.handleAction("cancel"),["enter"]))},{default:F(()=>[V(C(i.cancelText||"取消"),1)]),_:1},8,["loading","class","theme"])):b("",!0)],2)],6)],8,yG)),[[fe,i.visible]])}const EG=Ct(vG,[["render",TG],["__scopeId","data-v-1d93ecea"]]),ts=new Map,IG=t=>{let e=document.body;return t.appendTo&&(G4(t.appendTo)&&(e=document.querySelectort.appendTo),vd(t.appendTo)&&(e=t.appendTo),vd(e)||(e=document.body)),e},kG=(t,e,r=null)=>{const n=B(EG,t,k2(t.message)||T3(t.message)?{default:k2(t.message)?t.message:()=>t.message}:null);return n.appContext=r,I3(n,e),IG(t).appendChild(e.firstElementChild),n.component},xG=()=>document.createElement("div"),LG=(t,e)=>{const r=xG();t.onVanish=()=>{I3(null,r),ts.delete(i)},t.onAction=s=>{const o=ts.get(i);let a;t.showInput?a={value:i.inputValue,action:s}:a=s,t.callback?t.callback(a,n.proxy):s==="cancel"||s==="close"?t.distinguishCancelAndClose&&s!=="cancel"?o.reject("close"):o.reject("cancel"):o.resolve(a)};const n=kG(t,r,e),i=n.proxy;for(const s in t)pd(t,s)&&!pd(i.$props,s)&&(s==="closeIcon"&&Z4(t[s])?i[s]=O8(t[s]):i[s]=t[s]);return i.visible=!0,i};function Ue(t,e){let r;return G4(t)||T3(t)?t={message:t}:r=t.callback,new Promise((n,i)=>{const s=LG(t,e!=null?e:Ue._context);ts.set(s,{options:t,callback:r,resolve:n,reject:i})})}const OG=["alert","confirm","prompt"],NG={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelBtn:!0},prompt:{showCancelBtn:!0,showInput:!0}};OG.forEach(t=>{Ue[t]=RG(t)});function RG(t){return(e,r,n,i)=>{let s="";return Z4(r)?(n=r,s=""):rG(r)?s="":s=r,Ue(Object.assign({title:s,message:e,type:"",...NG[t]},n,{boxType:t}),i)}}Ue.close=()=>{ts.forEach((t,e)=>{e.doClose()}),ts.clear()};Ue._context=null;const v0="k",DG="is-",$r=(t,e,r,n,i)=>{let s="".concat(t,"-").concat(e);return r&&(s+="-".concat(r)),n&&(s+="__".concat(n)),i&&(s+="--".concat(i)),s},BG=Symbol("namespaceContextKey"),$G=t=>{const e=Pt()?oa(BG,ce(v0)):ce(v0);return He(()=>O(e)||v0)},$t=(t,e)=>{const r=$G();return{namespace:r,b:(n="")=>$r(r.value,t,n,"",""),e:n=>n?$r(r.value,t,"",n,""):"",m:n=>n?$r(r.value,t,"","",n):"",be:(n,i)=>n&&i?$r(r.value,t,n,i,""):"",em:(n,i)=>n&&i?$r(r.value,t,"",n,i):"",bm:(n,i)=>n&&i?$r(r.value,t,n,"",i):"",bem:(n,i,s)=>n&&i&&s?$r(r.value,t,n,i,s):"",is:(n,...i)=>{const s=i.length>=1?i[0]:!0;return n&&s?"".concat(DG).concat(n):""},cssVar:n=>{const i={};for(const s in n)n[s]&&(i["--".concat(r.value,"-").concat(s)]=n[s]);return i},cssVarName:n=>"--".concat(r.value,"-").concat(n),cssVarBlock:n=>{const i={};for(const s in n)n[s]&&(i["--".concat(r.value,"-").concat(t,"-").concat(s)]=n[s]);return i},cssVarBlockName:n=>"--".concat(r.value,"-").concat(t,"-").concat(n)}},J4=Symbol("kPaginationKey"),xs=()=>oa(J4,{}),PG=["disabled"],MG=Object.assign({name:"KPaginationJumper"},{__name:"jumper",setup(t){const e=$t("pagination"),{pageCount:r,disabled:n,currentPage:i,handleInputValChange:s,changeEvent:o}=xs(),a=ce(),l=He(()=>{var d;return(d=a.value)!=null?d:i==null?void 0:i.value});function c(d){a.value=d?+d:""}function h(d){d=Math.trunc(+d),s==null||s(d)}function f(){o==null||o(l.value)}return(d,p)=>(g(),v("span",{class:T(O(e).e("jump")),disabled:O(n)},[p[0]||(p[0]=V(" 前往 ")),B(O(Zr),{size:"small",class:T([O(e).e("editor"),O(e).is("in-pagination")]),min:1,max:O(r),disabled:O(n),"model-value":l.value,"validate-event":!1,type:"number","onUpdate:modelValue":c,onChange:h,onKeyup:Wt(f,["enter"])},null,8,["class","max","disabled","model-value"]),p[1]||(p[1]=V(" 页 "))],10,PG))}}),FG={disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},small:Boolean},UG=["disabled"],zG=Object.assign({name:"KPaginationNext"},{__name:"next",props:FG,emits:["click"],setup(t){const e=$t("pagination"),r=t,n=He(()=>r.disabled||r.currentPage===r.pageCount||r.pageCount===0);return(i,s)=>(g(),v("button",{type:"button",class:T(["btn-next",i.small?O(e).is("small"):""]),disabled:n.value,onClick:s[0]||(s[0]=o=>i.$emit("click",o))},[V(C(i.small?"":"下一页")+" ",1),s[1]||(s[1]=u("i",{class:"k-iconfont k-icon-fenye_youjiantou btn-next__icon"},null,-1))],10,UG))}});/*! Element Plus Icons Vue v2.3.1 */var VG=tt({name:"DArrowLeft",__name:"d-arrow-left",setup(t){return(e,r)=>(g(),v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[u("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),jG=VG,HG=tt({name:"DArrowRight",__name:"d-arrow-right",setup(t){return(e,r)=>(g(),v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[u("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),qG=HG,KG=tt({name:"MoreFilled",__name:"more-filled",setup(t){return(e,r)=>(g(),v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[u("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Cd=KG;const QG={currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean},WG=["tabindex"],GG=["tabindex"],ZG=["tabindex"],YG=["tabindex"],JG=["tabindex"],XG=Object.assign({name:"KPaginationPager"},{__name:"pager",props:QG,emits:["change"],setup(t,{emit:e}){const r=t,n=e,i=$t("pager"),s=$t("icon"),o=ce(!1),a=ce(!1),l=ce(!1),c=ce(!1),h=ce(!1),f=ce(!1),d=He(()=>{const S=r.pagerCount,N=(S-1)/2,w=Number(r.currentPage),Q=Number(r.pageCount);let G=!1,re=!1;Q>S&&(w>S-N&&(G=!0),w["more","btn-quickprev",s.b(),i.is("disabled",r.disabled)]),y=He(()=>["more","btn-quicknext",s.b(),i.is("disabled",r.disabled)]),m=He(()=>r.disabled?-1:0);N8(()=>{const S=(r.pagerCount-1)/2;o.value=!1,a.value=!1,r.pageCount>r.pagerCount&&(r.currentPage>r.pagerCount-S&&(o.value=!0),r.currentPageQ&&(w=Q)),w!==G&&n("change",w)}return(S,N)=>(g(),v("ul",{class:T(O(i).b()),onClick:L,onKeyup:Wt(x,["enter"])},[S.pageCount>0?(g(),v("li",{key:0,class:T([[O(i).is("active",S.currentPage===1),O(i).is("disabled",S.disabled)],"number"]),tabindex:m.value}," 1 ",10,WG)):b("",!0),o.value?(g(),v("li",{key:1,class:T(p.value),tabindex:m.value,onMouseenter:N[0]||(N[0]=w=>_(!0)),onMouseleave:N[1]||(N[1]=w=>l.value=!1),onFocus:N[2]||(N[2]=w=>A(!0)),onBlur:N[3]||(N[3]=w=>h.value=!1)},[(l.value||h.value)&&!S.disabled?(g(),ne(O(jG),{key:0})):(g(),ne(O(Cd),{key:1}))],42,GG)):b("",!0),(g(!0),v(P,null,oe(d.value,w=>(g(),v("li",{key:w,class:T([[O(i).is("active",S.currentPage===w),O(i).is("disabled",S.disabled)],"number"]),tabindex:m.value},C(w),11,ZG))),128)),a.value?(g(),v("li",{key:2,class:T(y.value),tabindex:m.value,onMouseenter:N[4]||(N[4]=w=>_()),onMouseleave:N[5]||(N[5]=w=>c.value=!1),onFocus:N[6]||(N[6]=w=>A()),onBlur:N[7]||(N[7]=w=>f.value=!1)},[(c.value||f.value)&&!S.disabled?(g(),ne(O(qG),{key:0})):(g(),ne(O(Cd),{key:1}))],42,YG)):b("",!0),S.pageCount>1?(g(),v("li",{key:3,class:T([[O(i).is("active",S.currentPage===S.pageCount),O(i).is("disabled",S.disabled)],"number"]),tabindex:m.value},C(S.pageCount),11,JG)):b("",!0)],34))}}),eZ={disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},small:Boolean},tZ={click:t=>t instanceof MouseEvent},rZ=["disabled"],nZ={class:"k-iconfont k-icon-fenye_zuojiantou btn-prev__icon"},iZ=Object.assign({name:"KPaginationPrev"},{__name:"prev",props:eZ,emits:tZ,setup(t){const e=$t("pagination"),r=t,n=He(()=>r.disabled||r.currentPage<=1);return(i,s)=>(g(),v("button",{type:"button",class:T(["btn-prev",i.small?O(e).is("small"):""]),disabled:n.value,onClick:s[0]||(s[0]=o=>i.$emit("click",o))},[u("i",nZ,C(i.small?"":"上一页"),1)],10,rZ))}});var X4=typeof global=="object"&&global&&global.Object===Object&&global,sZ=typeof self=="object"&&self&&self.Object===Object&&self,nr=X4||sZ||Function("return this")(),Hn=nr.Symbol,e8=Object.prototype,oZ=e8.hasOwnProperty,aZ=e8.toString,Ai=Hn?Hn.toStringTag:void 0;function lZ(t){var e=oZ.call(t,Ai),r=t[Ai];try{t[Ai]=void 0;var n=!0}catch(s){}var i=aZ.call(t);return n&&(e?t[Ai]=r:delete t[Ai]),i}var cZ=Object.prototype,uZ=cZ.toString;function hZ(t){return uZ.call(t)}var fZ="[object Null]",dZ="[object Undefined]",Ad=Hn?Hn.toStringTag:void 0;function Ls(t){return t==null?t===void 0?dZ:fZ:Ad&&Ad in Object(t)?lZ(t):hZ(t)}function rs(t){return t!=null&&typeof t=="object"}var ra=Array.isArray;function t8(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var pZ="[object AsyncFunction]",gZ="[object Function]",vZ="[object GeneratorFunction]",yZ="[object Proxy]";function r8(t){if(!t8(t))return!1;var e=Ls(t);return e==gZ||e==vZ||e==pZ||e==yZ}var y0=nr["__core-js_shared__"],Sd=function(){var t=/[^.]+$/.exec(y0&&y0.keys&&y0.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function mZ(t){return!!Sd&&Sd in t}var bZ=Function.prototype,_Z=bZ.toString;function tn(t){if(t!=null){try{return _Z.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var wZ=/[\\^$.*+?()[\]{}|]/g,CZ=/^\[object .+?Constructor\]$/,AZ=Function.prototype,SZ=Object.prototype,TZ=AZ.toString,EZ=SZ.hasOwnProperty,IZ=RegExp("^"+TZ.call(EZ).replace(wZ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kZ(t){if(!t8(t)||mZ(t))return!1;var e=r8(t)?IZ:CZ;return e.test(tn(t))}function xZ(t,e){return t==null?void 0:t[e]}function ii(t,e){var r=xZ(t,e);return kZ(r)?r:void 0}var L2=ii(nr,"WeakMap"),LZ=9007199254740991,OZ=/^(?:0|[1-9]\d*)$/;function NZ(t,e){var r=typeof t;return e=e!=null?e:LZ,!!e&&(r=="number"||r!="symbol"&&OZ.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=RZ}function DZ(t){return t!=null&&i8(t.length)&&!r8(t)}var BZ=Object.prototype;function $Z(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||BZ;return t===r}function PZ(t,e){for(var r=-1,n=Array(t);++r-1}function HY(t,e){var r=this.__data__,n=qa(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function ir(t){var e=-1,r=t==null?0:t.length;for(this.clear();++ea))return!1;var c=s.get(t),h=s.get(e);if(c&&h)return c==e&&h==t;var f=-1,d=!0,p=r&CJ?new na:void 0;for(s.set(t,e),s.set(e,t);++f[10,20,30,40,50,100]},popperClass:{type:String},disabled:Boolean,teleported:Boolean,appendSizeTo:String},h8=Object.assign({name:"KPaginationSizes"},{__name:"sizes",props:QJ,emits:["page-size-change"],setup(t,{emit:e}){const r=t,n=e,i=$t("pagination"),s=xs(),o=ce(r.pageSize);Bo(()=>r.pageSizes,(c,h)=>{if(!KJ(c,h)&&eG(c)){const f=c.includes(r.pageSize)?r.pageSize:r.pageSizes[0];n("page-size-change",f)}}),Bo(()=>r.pageSize,c=>{o.value=c});const a=He(()=>r.pageSizes);function l(c){var h;c!==o.value&&(o.value=c,(h=s.handleSizeChange)==null||h.call(s,Number(c)))}return(c,h)=>(g(),v("span",{class:T(O(i).e("sizes"))},[B(O(z8),{"model-value":o.value,disabled:c.disabled,"popper-class":c.popperClass,size:"small","validate-event":!1,"append-to":c.appendSizeTo,teleported:!1,onChange:l},{default:F(()=>[(g(!0),v(P,null,oe(a.value,f=>(g(),ne(O(U8),{key:f,value:f,label:f+"条/页"},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","append-to"])],2))}}),WJ={total:{type:Number,default:1e3}},GJ=["disabled"],ZJ=tt({name:"KPaginationTotal",__name:"total",props:WJ,setup(t){const e=$t("pagination"),{disabled:r}=xs();return(n,i)=>(g(),v("span",{class:T(O(e).e("total")),disabled:O(r)}," 共"+C(n.total)+"条",11,GJ))}}),YJ={theme:{type:String,default:"primary"}},JJ=Object.assign({name:"KPaginationConfirm"},{__name:"confirm",props:YJ,setup(t){const e=$t("pagination"),{changeEvent:r,inputCurrentPage:n}=xs();function i(){r(n.value)}return(s,o)=>{const a=se("k-button");return g(),ne(a,{theme:s.theme,type:"plain",height:"24px",class:T(O(e).e("jump__confirm")),onClick:i},{default:F(()=>o[0]||(o[0]=[V(" 确定 ")])),_:1},8,["theme","class"])}}}),XJ={pageSize:{type:Number,required:!0},pageSizes:{type:Array,default:()=>[10,20,30,40,50,100]},popperClass:{type:String},disabled:Boolean,appendSizeTo:String,showPageSizes:{type:Boolean,default:!0}},eX={class:"cur-page"},tX={class:"total-pages"},rX=Object.assign({name:"KPaginationSmall"},{__name:"small",props:XJ,setup(t){const e=$t("pagination"),{total:r,currentPage:n}=xs();return(i,s)=>(g(),v("span",null,[i.showPageSizes?(g(),ne(h8,{key:0,pageSize:i.pageSize,pageSizes:i.pageSizes,popperClass:i.popperClass,disabled:i.disabled,appendSizeTo:i.appendSizeTo},null,8,["pageSize","pageSizes","popperClass","disabled","appendSizeTo"])):b("",!0),u("span",{class:T(O(e).e("small"))},[u("i",eX,C(O(n)),1),u("i",tX," /"+C(Math.ceil(O(r)/i.pageSize)),1)],2)]))}}),We=t=>typeof t!="number",nX="k-pagination",zi=tt({name:nX,props:{theme:{type:String,default:"primary"},pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:t=>nG(t)&&Math.trunc(t)===t&&t>4&&t<22&&t%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:Array,default:()=>[10,20,30,40,50,100]},popperClass:{type:String,default:""},prevText:{type:String,default:""},nextText:{type:String,default:""},small:{type:Boolean,default:!1},showPageSizes:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},hideOnSinglePage:Boolean,appendSizeTo:String},setup(t,{emit:e,slots:r}){const n=$t("pagination"),i=Pt().vnode.props||{},s="onUpdate:currentPage"in i||"onUpdate:current-page"in i||"onCurrentChange"in i,o="onUpdate:pageSize"in i||"onUpdate:page-size"in i||"onSizeChange"in i,a=He(()=>{if(We(t.total)&&We(t.pageCount)||!We(t.currentPage)&&!s)return!1;if(t.layout.includes("sizes")){if(We(t.pageCount)){if(!We(t.total)&&!We(t.pageSize)&&!o)return!1}else if(!o)return!1}return!0}),l=ce(We(t.defaultPageSize)?10:t.defaultPageSize),c=ce(We(t.defaultCurrentPage)?1:t.defaultCurrentPage),h=ce(c.value),f=He({get(){return We(t.pageSize)?l.value:t.pageSize},set(S){We(t.pageSize)&&(l.value=S),o&&(e("update:page-size",S),e("size-change",S))}}),d=He(()=>{let S=0;return We(t.pageCount)?We(t.total)||(S=Math.max(1,Math.ceil(t.total/f.value))):S=t.pageCount,S}),p=He({get(){return We(t.currentPage)?c.value:t.currentPage},set(S){let N=S;S<1?N=1:S>d.value&&(N=d.value),We(t.currentPage)&&(c.value=N),s&&(e("update:current-page",N),e("current-change",N))}});Bo(d,S=>{p.value>S&&(p.value=S)}),Bo([p,f],S=>{e("change",...S)},{flush:"post"});function y(S){p.value=S}function m(S){h.value=S}function _(S){f.value=S;const N=d.value;p.value>N&&(p.value=N)}function A(){t.disabled||(p.value-=1,e("prev-click",p.value))}function x(){t.disabled||(p.value+=1,e("next-click",p.value))}function L(S,N){S&&(S.props||(S.props={}),S.props.class=[S.props.class,N].join(" "))}return L8(J4,{pageCount:d,inputCurrentPage:h,total:He(()=>t.total),pageSize:f,disabled:He(()=>t.disabled),currentPage:p,changeEvent:y,handleSizeChange:_,handleInputValChange:m}),()=>{var R;var S;if(!a.value||!t.layout||t.hideOnSinglePage&&d.value<=1)return null;const N=[],w=[],Q=At("div",{class:n.e("rightwrapper")},w),G={prev:At(iZ,{disabled:t.disabled,currentPage:p.value,prevText:t.prevText,onClick:A,small:t.small}),jumper:At(MG),pager:At(XG,{currentPage:p.value,pageCount:d.value,pagerCount:t.pagerCount,onChange:y,disabled:t.disabled}),next:At(zG,{disabled:t.disabled,currentPage:p.value,pageCount:d.value,nextText:t.nextText,onClick:x,small:t.small}),sizes:At(h8,{pageSize:f.value,pageSizes:t.pageSizes,popperClass:t.popperClass,disabled:t.disabled,appendSizeTo:t.appendSizeTo}),slot:(R=(S=r==null?void 0:r.default)==null?void 0:S.call(r))!=null?R:null,total:At(ZJ,{total:We(t.total)?0:t.total}),confirm:At(JJ,{theme:t.theme})},re=t.layout.split(",").map(W=>W.trim());let j=!1;return t.small?N.push(At(rX,{showPageSizes:t.showPageSizes,pageSize:f.value,pageSizes:t.pageSizes,popperClass:t.popperClass,disabled:t.disabled,appendSizeTo:t.appendSizeTo}),G.prev,G.next):re.forEach(W=>{if(W==="->"){j=!0;return}j?w.push(G[W]):N.push(G[W])}),L(N[0],n.is("first")),L(N[N.length-1],n.is("last")),j&&w.length>0&&(L(w[0],n.is("first")),L(w[w.length-1],n.is("last")),N.push(Q)),At("div",{class:[n.b(),t.small?n.is("small"):n.is("background"),n.m(t.theme)]},N)}}});zi.install=function(t){t.component(zi.name,zi)};const iX={name:"KLayout",props:{horizontal:{type:Boolean,default:!1},floatLeft:{type:Boolean,default:!1},layoutWidth:{type:String,default:""}},data(){return{widthClassName:""}},watch:{layoutWidth:function(t){t==="fixed"&&(this.widthClassName="k-layout-1240"),t==="xl"&&(this.widthClassName="k-layout-xl"),t==="xxl"&&(this.widthClassName="k-layout-xxl")}},methods:{init(){this.layoutWidth==="fixed"&&(this.widthClassName="k-layout-1240"),this.layoutWidth==="xl"&&(this.widthClassName="k-layout-xl"),this.layoutWidth==="xxl"&&(this.widthClassName="k-layout-xxl")}},created(){this.init()}};function sX(t,e,r,n,i,s){return g(),v("div",{class:T(["k-layout",[r.horizontal?"is-horizontal":"",r.floatLeft?"is-float-left":"",i.widthClassName]])},[ge(t.$slots,"default")],2)}const Vi=Ct(iX,[["render",sX]]),oX={name:"KContainer",props:{vertical:{type:Boolean,default:!1}},methods:{init(){}},created(){this.init()}};function aX(t,e,r,n,i,s){return g(),v("div",{class:T(["k-container",[r.vertical?"is-vertical":""]])},[ge(t.$slots,"default")],2)}const ji=Ct(oX,[["render",aX]]),lX={name:"KMain",methods:{init(){}},created(){this.init()}},cX={class:"k-main"};function uX(t,e,r,n,i,s){return g(),v("div",cX,[ge(t.$slots,"default")])}const Hi=Ct(lX,[["render",uX]]),hX={name:"KHeader",props:{height:{type:Number,default:60}},methods:{init(){}},created(){this.init()}},fX={class:"k-header"};function dX(t,e,r,n,i,s){return g(),v("div",fX,[ge(t.$slots,"default")])}const qi=Ct(hX,[["render",dX]]),pX={name:"KFooter",props:{height:{type:Number,default:40}},methods:{init(){}},created(){this.init()}},gX={class:"k-footer"};function vX(t,e,r,n,i,s){return g(),v("div",gX,[ge(t.$slots,"default")])}const Ki=Ct(pX,[["render",vX]]),yX={name:"KAside",methods:{init(){}},created(){this.init()}},mX={class:"k-aside"};function bX(t,e,r,n,i,s){return g(),v("div",mX,[ge(t.$slots,"default")])}const Qi=Ct(yX,[["render",bX]]);Vi.install=function(t){t.component(Vi.name,Vi)};Qi.install=function(t){t.component(Qi.name,Qi)};Ki.install=function(t){t.component(Ki.name,Ki)};qi.install=function(t){t.component(qi.name,qi)};Hi.install=function(t){t.component(Hi.name,Hi)};ji.install=function(t){t.component(ji.name,ji)};const _X=[Nn,Pi,Mi,Fi,zi,Vi,ji,Hi,qi,Ki,Qi,Ue],f8=function(t){_X.forEach(e=>{t.component(e.name,e)}),t.config.globalProperties.$kmsgbox=Ue,t.config.globalProperties.$alert=Ue.alert,t.config.globalProperties.$kconfirm=Ue.confirm,t.config.globalProperties.$kprompt=Ue.prompt};typeof window<"u"&&window.Vue&&f8(window.Vue);const wX={install:f8,KButton:Nn,KTabs:Pi,KTag:Mi,KDialog:Fi,KPagination:zi,KLayout:Vi,KContainer:ji,KMain:Hi,KHeader:qi,KFooter:Ki,KAside:Qi,KMessageBox:Ue},{KLayout:CX,KContainer:AX,KMain:SX,KFooter:TX,KAside:EX}=wX,IX={name:"KSellerLayout",components:{KLayout:CX,KMain:SX,KFooter:TX,KContainer:AX,KAside:EX,SellerHeader:NW,SideBarSeller:qQ,BizFooter:qq,QuickMenu:dq},props:{showHeader:{type:Boolean,default:!0},showSideBar:{type:Boolean,default:!0},site:{type:Object,default:()=>({})},pageFlag:{type:String,required:!1,default:null},openId:{type:Number,required:!1,default:null}},data(){return{layoutWidth:"xl",layout:3,sideBarStyle:{},mainStyle:{},sideBarWidth:192}},methods:{initMainStyle(){this.$nextTick(()=>{this.mainStyle={width:"calc(100% - ".concat(this.$refs.asideBar.$el.clientWidth,"px)")}})}},created(){this.$eventBus.on("layout",t=>{t==1&&(this.layoutWidth="xl",this.layout=3,this.sideBarStyle={marginLeft:"20px",borderRadius:"2px"}),t==2&&(this.layoutWidth="xxl",this.layout=4,this.sideBarStyle={marginLeft:0,borderRadius:"0 2px 2px 0"}),this.initMainStyle()})}};function kX(t,e,r,n,i,s){const o=se("SellerHeader"),a=se("SideBarSeller"),l=se("k-aside"),c=se("k-main"),h=se("k-container"),f=se("biz-footer"),d=se("k-footer"),p=se("k-layout"),y=se("QuickMenu");return g(),v("div",null,[r.showHeader?(g(),ne(o,{key:0,layout:i.layout,type:4,site:r.site,showLayoutSet:!0},null,8,["layout","site"])):b("",!0),B(p,{layoutWidth:i.layoutWidth},{default:F(()=>[B(h,null,{default:F(()=>[r.showSideBar?(g(),ne(l,{key:0,ref:"asideBar"},{default:F(()=>[B(a,{pageFlag:r.pageFlag,openId:r.openId,collapseCallBack:s.initMainStyle,style:ve(i.sideBarStyle)},null,8,["pageFlag","openId","collapseCallBack","style"])]),_:1},512)):b("",!0),B(c,{style:ve(i.mainStyle)},{default:F(()=>[ge(t.$slots,"default")]),_:3},8,["style"])]),_:3}),B(d,null,{default:F(()=>[B(f,{site:r.site,layout:3,type:1,top:"16px"},null,8,["site"])]),_:1})]),_:3},8,["layoutWidth"]),B(y,{quickType:3,site:r.site},null,8,["site"])])}const xX=ye(IX,[["render",kX]]);ze(xX);const LX={name:"KAddAddressDialog",emits:["confirm","close"],props:{addressInfo:{type:Object,default:()=>({})},isClose:{type:Boolean,default:!1},areaSelectLabel:{type:String,default:"所在地区:"},receiverLabel:{type:String,default:"联系人姓名"},visible:{type:Boolean,default:!1},dialogOptions:{type:Object,default:()=>({})},showSetDefault:{type:Boolean,default:!1},showShippingFeeTip:{type:Boolean,default:!1},theme:{type:String,default:"primary"}},data(){return{innerOptions:{title:"".concat(Object.keys(this.addressInfo).length?"修改":"添加新","地址"),footerBorder:!0,width:"640px",okText:"确定",cancelText:"返回",theme:this.theme},formData:{areaInfo:{areaId:"",areaName:"",cityId:"",cityName:"",provId:"",provName:""},address:"",phoneNum:"",receiverName:"",zipCode:"",isDefault:!1},formRules:{areaInfo:[{required:!0,validator:this.validateAreaInfo,trigger:"change"}],address:[{required:!0,validator:this.validateAddress,trigger:"blur"}],phoneNum:[{required:!0,validator:this.validatePhoneNum,trigger:"blur"}],receiverName:[{required:!0,validator:this.validateReceiverName,trigger:"blur"}],zipCode:[{validator:this.validateZipCode,trigger:"blur"}]},text:"",pasteBtnShow:!0,showTip:!1,cacheAreaInfo:{}}},mounted(){if(Object.keys(this.addressInfo).length){const{address:t,phoneNum:e,receiverName:r,zipCode:n,isDefault:i,areaInfo:{areaName:s,areaId:o,cityName:a,cityId:l,provName:c,provId:h}={}}=this.addressInfo;this.formData={address:t,phoneNum:e,receiverName:r,zipCode:n,isDefault:i===1,areaInfo:{areaId:o,areaName:s,cityId:l,cityName:a,provId:h,provName:c}},this.cacheAreaInfo=this.formData.areaInfo}},computed:{isOverSeas(){const{provId:t}=this.formData.areaInfo;return Number(t)>=32e9}},watch:{text(t){t?this.pasteBtnShow=!1:this.pasteBtnShow=!0},"formData.areaInfo":{handler(t){const e=JSON.stringify(this.cacheAreaInfo);JSON.stringify(t)!==e&&(this.showTip=!0)},deep:!0}},methods:{validatePhoneNum(t,e,r){const n=fd(this.formData.phoneNum).replace(/\s/g,"");n||r(new Error("手机号码不能为空")),this.isValidPhoneNum(n,this.isOverSeas)||r(new Error("手机号码格式不正确")),r()},isValidPhoneNum(t,e){return e?/^\+(?:[1-9]\d{1,14}|(?:[1-9]\d?)(?:[1-9]\d{1,3})?\s?\d{1,4})$/.test(t):/^1[3-9]\d{9}$/.test(t)||/^((0\d{2,3}\d{7,8})|(0\d{2,3}\d{7,8}))$/.test(t)},validateAddress(t,e,r){e?e.length>200?r(new Error("详细地址不能超过200个字")):r():r(new Error("请输入详细地址"))},validateReceiverName(t,e,r){e?e.length<2||e.length>30?r(new Error("联系人姓名为2-30个字")):r():r(new Error("请填写联系人姓名"))},validateAreaInfo(t,e,r){if(!e.provId){r(new Error("请选择所在地"));return}r()},validateZipCode(t,e,r){e&&!/\d{6}/.test(e)&&!this.isOverSeas?r(new Error("邮编应为6位数字")):r()},async confirm(){try{const t=await this.$refs.form.validate(),{areaInfo:{areaId:e,areaName:r,cityId:n,cityName:i,provName:s,provId:o}={},address:a,phoneNum:l,receiverName:c,zipCode:h,isDefault:f}=this.formData;this.$emit("confirm",{area:Number(e||n),address:a,receiverName:c,phoneNum:fd(l).replace(/\s/g,""),zipCode:h,isDefault:f?1:0,areaInfo:{provName:s,provId:o,cityName:i,cityId:n,areaName:r}})}catch(t){console.log("KAddAddressDialog confirm error ->",t)}},close(t){this.$emit("close",t)},async autoFill(){if(this.text)try{const t=await Z.post("/pc-gw/express-web/pc/v1/address/parse",null,{params:{source:this.text}});if(t.status!==200)throw new Error("识别地址信息失败");const{status:e,errMessage:r,result:{areaId:n,areaName:i,cityId:s,cityName:o,provId:a,provName:l,address:c,mobile:h,name:f,zipCode:d,isLeafArea:p}}=t.data;if(!e)throw r;if(!s&&!f&&!h&&!c)return Me.error("识别地址信息失败,请手动输入");this.formData.phoneNum=h||"",this.formData.address=c||"",this.formData.receiverName=f||"",this.formData.zipCode=d||"",p?this.formData.areaInfo={provName:l||"",provId:a||"",cityName:o||"",cityId:s||"",areaName:i||"",areaId:n||""}:this.formData.areaInfo={}}catch(t){Me.error(t)}},pasteAddress(){if(navigator.userAgent.indexOf("Firefox")>-1){Me.warning("您的浏览器不支持自动粘贴,请手动粘贴地址信息"),this.pasteBtnShow=!1;return}navigator.clipboard?navigator.clipboard.readText().then(t=>{console.log("clipText",t),t&&(this.text=t,this.autoFill(),this.pasteBtnShow=!1)}):(Me.warning("您的浏览器不支持自动粘贴,请手动粘贴地址信息"),this.pasteBtnShow=!1)}}},OX={class:"auto-fill-btn"},NX={class:"tip"};function RX(t,e,r,n,i,s){const o=Zr,a=se("k-button"),l=ss,c=se("KAreaSelect"),h=O3,f=os,d=se("k-dialog");return g(),ne(d,zr({...i.innerOptions,...r.dialogOptions},{visible:r.visible,customClass:"add-address-dialog",onConfirm:s.confirm,onCancel:s.close}),{default:F(()=>[B(f,{ref:"form",model:i.formData,class:"add-address-form","label-width":"110px",rules:i.formRules},{default:F(()=>[B(l,{label:"智能填写地址"},{default:F(()=>[B(o,{modelValue:i.text,"onUpdate:modelValue":e[0]||(e[0]=p=>i.text=p),type:"textarea",maxlength:"200",placeholder:"请粘贴包含地址的信息,系统可自动识别拆分;识别后,请核对地址信息是否正确。"},null,8,["modelValue"]),u("div",OX,[i.pasteBtnShow?(g(),ne(a,{key:0,theme:r.theme,height:"28px",type:"fill",onClick:s.pasteAddress},{default:F(()=>[V("粘贴并识别")]),_:1},8,["theme","onClick"])):(g(),ne(a,{key:1,theme:r.theme,type:"fill",height:"28px",onClick:s.autoFill},{default:F(()=>[V("识别")]),_:1},8,["theme","onClick"]))])]),_:1}),B(l,{label:r.areaSelectLabel,prop:"areaInfo"},{default:F(()=>[B(c,{modelValue:i.formData.areaInfo,"onUpdate:modelValue":e[1]||(e[1]=p=>i.formData.areaInfo=p)},null,8,["modelValue"]),le(u("div",NX," 切换地址后,实际发货的运费可能发生变化,请谨慎操作 ",512),[[fe,r.showShippingFeeTip&&i.showTip]])]),_:1},8,["label"]),B(l,{label:"详细地址:",prop:"address"},{default:F(()=>[B(o,{modelValue:i.formData.address,"onUpdate:modelValue":e[2]||(e[2]=p=>i.formData.address=p),modelModifiers:{trim:!0},placeholder:"请填写详细到 门牌号、楼层及房间号的详细地址"},null,8,["modelValue"])]),_:1}),B(l,{label:"联系方式:",prop:"phoneNum"},{default:F(()=>[B(o,{modelValue:i.formData.phoneNum,"onUpdate:modelValue":e[3]||(e[3]=p=>i.formData.phoneNum=p),modelModifiers:{trim:!0},placeholder:"手机号码",class:"short-input"},null,8,["modelValue"])]),_:1}),B(l,{label:"".concat(r.receiverLabel,":"),prop:"receiverName"},{default:F(()=>[B(o,{placeholder:"请填写".concat(r.receiverLabel),modelValue:i.formData.receiverName,"onUpdate:modelValue":e[4]||(e[4]=p=>i.formData.receiverName=p),modelModifiers:{trim:!0},class:"short-input"},null,8,["placeholder","modelValue"])]),_:1},8,["label"]),B(l,{label:"邮政编码:",prop:"zipCode"},{default:F(()=>[B(o,{modelValue:i.formData.zipCode,"onUpdate:modelValue":e[5]||(e[5]=p=>i.formData.zipCode=p),class:"short-input",maxlength:s.isOverSeas?"":6,placeholder:"邮局方式配送时需要"},null,8,["modelValue","maxlength"])]),_:1}),r.showSetDefault?(g(),ne(l,{key:0},{default:F(()=>[B(h,{modelValue:i.formData.isDefault,"onUpdate:modelValue":e[6]||(e[6]=p=>i.formData.isDefault=p)},{default:F(()=>[V(" 设为我的默认地址 ")]),_:1},8,["modelValue"])]),_:1})):b("",!0)]),_:1},8,["model","rules"])]),_:1},16,["visible","onConfirm","onCancel"])}const DX=ye(LX,[["render",RX],["__scopeId","data-v-c90f36b0"]]);ze(DX);const BX={name:"KSelectAddressDialog",emits:["close","confirm","action"],props:{addressList:{type:Array,default:()=>[]},showTips:{type:Boolean,default:!1},dialogOptions:{type:Object,default:()=>({})},visible:{type:Boolean,default:!1},addressLimit:{type:Number,default:20},theme:{type:String,default:"primary"},addressId:{type:[Number,String]}},data(){return{innerOptions:{width:"640px",title:"选择地址",footerBorder:!0,okText:"确定",theme:this.theme,cancelText:"返回"},addressIndex:-1}},methods:{close(){this.$emit("close")},confirm(){this.$emit("confirm",{index:this.addressIndex,addressInfo:this.addressList[this.addressIndex]})},handleAction(t,e={}){this.$emit("action",{type:t,addressInfo:e})},_isInViewport(t,e){const r=t.getBoundingClientRect(),n=e.getBoundingClientRect();return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}},mounted(){if(this.addressId){const t=document.querySelector(".select-content-wrap");this.addressIndex=this.addressList.findIndex(r=>r.id===this.addressId);const e=(document.querySelectorAll(".select-content-wrap .content")||[])[this.addressIndex];t&&e&&!this._isInViewport(e,t)&&e.scrollIntoView()}}},d8=t=>(aa("data-v-556663a8"),t=t(),la(),t),$X=d8(()=>u("div",{class:"tips k_tv_14_warning"}," 修改地址会影响物流时效,只能原价修改且付款后只能修改一次,若商品已发货、运费及配送方式变更等原因,可能会导致修改地址失败,请您谅解。 ",-1)),PX={class:"address-list"},MX={class:"left-content"},FX={class:"address-text k_tv_14_text_primary"},UX=["onClick"],zX=d8(()=>u("div",{class:"k_flex k_align_items_center k-iconfont k-icon-jiahao k_tv_14_text_primary k_ta_seller_primary"}," 添加新地址 ",-1)),VX=[zX];function jX(t,e,r,n,i,s){const o=N3,a=R3,l=se("k-dialog");return g(),ne(l,zr({"custom-class":"select-addr-dialog"},{...i.innerOptions,...r.dialogOptions},{visible:r.visible,onCancel:s.close,onConfirm:s.confirm}),k3({default:F(()=>[u("div",{class:T(["address-list-wrap","address-list-wrap-".concat(r.theme)])},[u("div",PX,[B(a,{modelValue:i.addressIndex,"onUpdate:modelValue":e[0]||(e[0]=c=>i.addressIndex=c),class:"select-content-wrap"},{default:F(()=>[(g(!0),v(P,null,oe(r.addressList,(c,h)=>(g(),v("div",{key:h,class:T(["content",[h===i.addressIndex?"active":""]])},[u("div",MX,[B(o,{value:h},{default:F(()=>[u("div",FX,C(c.receiverName)+", "+C(c.mobile||c.phoneNum)+", "+C(c.areaInfo.provName)+C(c.areaInfo.cityName)+C(c.areaInfo.areaName)+C(c.address)+" "+C(c.zipCode?",".concat(c.zipCode):""),1)]),_:2},1032,["value"])]),u("div",{class:"right-content k_tv_13_text_primary k_ta_seller_primary",onClick:f=>s.handleAction("edit",c)}," 修改 ",8,UX)],2))),128))]),_:1},8,["modelValue"]),r.addressList.lengths.handleAction("add"))},VX)):b("",!0)])],2)]),_:2},[r.showTips?{name:"top",fn:F(()=>[$X]),key:"0"}:void 0]),1040,["visible","onCancel","onConfirm"])}const HX=ye(BX,[["render",jX],["__scopeId","data-v-556663a8"]]);ze(HX);var qX="0123456789abcdefghijklmnopqrstuvwxyz";function Kt(t){return qX.charAt(t)}function KX(t,e){return t&e}function ao(t,e){return t|e}function Vd(t,e){return t^e}function jd(t,e){return t&~e}function QX(t){if(t==0)return-1;var e=0;return t&65535||(t>>=16,e+=16),t&255||(t>>=8,e+=8),t&15||(t>>=4,e+=4),t&3||(t>>=2,e+=2),t&1||++e,e}function WX(t){for(var e=0;t!=0;)t&=t-1,++e;return e}var wn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p8="=";function Wi(t){var e,r,n="";for(e=0;e+3<=t.length;e+=3)r=parseInt(t.substring(e,e+3),16),n+=wn.charAt(r>>6)+wn.charAt(r&63);for(e+1==t.length?(r=parseInt(t.substring(e,e+1),16),n+=wn.charAt(r<<2)):e+2==t.length&&(r=parseInt(t.substring(e,e+2),16),n+=wn.charAt(r>>2)+wn.charAt((r&3)<<4));(n.length&3)>0;)n+=p8;return n}function Hd(t){var e="",r,n=0,i=0;for(r=0;r>2),i=s&3,n=1):n==1?(e+=Kt(i<<2|s>>4),i=s&15,n=2):n==2?(e+=Kt(i),e+=Kt(s>>2),i=s&3,n=3):(e+=Kt(i<<2|s>>4),e+=Kt(s&15),n=0))}return n==1&&(e+=Kt(i<<2)),e}var dn,GX={decode:function(t){var e;if(dn===void 0){var r="0123456789ABCDEF",n=" \f\n\r  \u2028\u2029";for(dn={},e=0;e<16;++e)dn[r.charAt(e)]=e;for(r=r.toLowerCase(),e=10;e<16;++e)dn[r.charAt(e)]=e;for(e=0;e=2?(i[i.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return i}},Pr,B2={decode:function(t){var e;if(Pr===void 0){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="= \f\n\r  \u2028\u2029";for(Pr=Object.create(null),e=0;e<64;++e)Pr[r.charAt(e)]=e;for(Pr["-"]=62,Pr._=63,e=0;e=4?(i[i.length]=s>>16,i[i.length]=s>>8&255,i[i.length]=s&255,s=0,o=0):s<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:i[i.length]=s>>10;break;case 3:i[i.length]=s>>16,i[i.length]=s>>8&255;break}return i},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=B2.re.exec(t);if(e)if(e[1])t=e[1];else if(e[2])t=e[2];else throw new Error("RegExp out of sync");return B2.decode(t)}},pn=1e13,xi=function(){function t(e){this.buf=[+e||0]}return t.prototype.mulAdd=function(e,r){var n=this.buf,i=n.length,s,o;for(s=0;s0&&(n[s]=r)},t.prototype.sub=function(e){var r=this.buf,n=r.length,i,s;for(i=0;i=0;--i)n+=(pn+r[i]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var e=this.buf,r=0,n=e.length-1;n>=0;--n)r=r*pn+e[n];return r},t.prototype.simplify=function(){var e=this.buf;return e.length==1?e[0]:this},t}(),g8="…",ZX=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,YX=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Dn(t,e){return t.length>e&&(t=t.substring(0,e)+g8),t}var _0=function(){function t(e,r){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=r)}return t.prototype.get=function(e){if(e===void 0&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset ".concat(e," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(e):this.enc[e]},t.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(e&15)},t.prototype.hexDump=function(e,r,n){for(var i="",s=e;s176)return!1}return!0},t.prototype.parseStringISO=function(e,r){for(var n="",i=e;i191&&s<224?n+=String.fromCharCode((s&31)<<6|this.get(i++)&63):n+=String.fromCharCode((s&15)<<12|(this.get(i++)&63)<<6|this.get(i++)&63)}return n},t.prototype.parseStringBMP=function(e,r){for(var n="",i,s,o=e;o127,s=i?255:0,o,a="";n==s&&++e4){for(a=n,o<<=3;!((+a^s)&128);)a=+a<<1,--o;a="("+o+" bit)\n"}i&&(n=n-256);for(var l=new xi(n),c=e+1;c=h;--f)a+=c>>f&1?"1":"0";if(a.length>n)return o+Dn(a,n)}return o+a},t.prototype.parseOctetString=function(e,r,n){if(this.isASCII(e,r))return Dn(this.parseStringISO(e,r),n);var i=r-e,s="("+i+" byte)\n";n/=2,i>n&&(r=e+n);for(var o=e;on&&(s+=g8),s},t.prototype.parseOID=function(e,r,n){for(var i="",s=new xi,o=0,a=e;an)return Dn(i,n);s=new xi,o=0}}return o>0&&(i+=".incomplete"),i},t}(),JX=function(){function t(e,r,n,i,s){if(!(i instanceof qd))throw new Error("Invalid tag value.");this.stream=e,this.header=r,this.length=n,this.tag=i,this.sub=s}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(e){if(this.tag===void 0)return null;e===void 0&&(e=1/0);var r=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);switch(this.tag.tagNumber){case 1:return this.stream.get(r)===0?"false":"true";case 2:return this.stream.parseInteger(r,r+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(r,r+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);case 6:return this.stream.parseOID(r,r+n,e);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return Dn(this.stream.parseStringUTF(r,r+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return Dn(this.stream.parseStringISO(r,r+n),e);case 30:return Dn(this.stream.parseStringBMP(r,r+n),e);case 23:case 24:return this.stream.parseTime(r,r+n,this.tag.tagNumber==23)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(e){e===void 0&&(e="");var r=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(r+="+"),r+=this.length,this.tag.tagConstructed?r+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(r+=" (encapsulates)"),r+="\n",this.sub!==null){e+=" ";for(var n=0,i=this.sub.length;n6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(n===0)return null;r=0;for(var i=0;i>6,this.tagConstructed=(r&32)!==0,this.tagNumber=r&31,this.tagNumber==31){var n=new xi;do r=e.get(),n.mulAdd(128,r&127);while(r&128);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return this.tagClass===0},t.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},t}(),Sr,XX=0xdeadbeefcafe,Kd=(XX&16777215)==15715070,Ge=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],eee=(1<<26)/Ge[Ge.length-1],H=function(){function t(e,r,n){e!=null&&(typeof e=="number"?this.fromNumber(e,r,n):r==null&&typeof e!="string"?this.fromString(e,256):this.fromString(e,r))}return t.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var r;if(e==16)r=4;else if(e==8)r=3;else if(e==2)r=1;else if(e==32)r=5;else if(e==4)r=2;else return this.toRadix(e);var n=(1<0)for(l>l)>0&&(s=!0,o=Kt(i));a>=0;)l>(l+=this.DB-r)):(i=this[a]>>(l-=r)&n,l<=0&&(l+=this.DB,--a)),i>0&&(s=!0),s&&(o+=Kt(i));return s?o:"0"},t.prototype.negate=function(){var e=J();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(e){var r=this.s-e.s;if(r!=0)return r;var n=this.t;if(r=n-e.t,r!=0)return this.s<0?-r:r;for(;--n>=0;)if((r=this[n]-e[n])!=0)return r;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+lo(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var r=J();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.modPowInt=function(e,r){var n;return e<256||r.isEven()?n=new Qd(r):n=new Wd(r),this.exp(e,n)},t.prototype.clone=function(){var e=J();return this.copyTo(e),e},t.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<>24},t.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var e=this.t,r=[];r[0]=this.s;var n=this.DB-e*this.DB%8,i,s=0;if(e-- >0)for(n>n)!=(this.s&this.DM)>>n&&(r[s++]=i|this.s<=0;)n<8?(i=(this[e]&(1<>(n+=this.DB-8)):(i=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),i&128&&(i|=-256),s==0&&(this.s&128)!=(i&128)&&++s,(s>0||i!=this.s)&&(r[s++]=i);return r},t.prototype.equals=function(e){return this.compareTo(e)==0},t.prototype.min=function(e){return this.compareTo(e)<0?this:e},t.prototype.max=function(e){return this.compareTo(e)>0?this:e},t.prototype.and=function(e){var r=J();return this.bitwiseTo(e,KX,r),r},t.prototype.or=function(e){var r=J();return this.bitwiseTo(e,ao,r),r},t.prototype.xor=function(e){var r=J();return this.bitwiseTo(e,Vd,r),r},t.prototype.andNot=function(e){var r=J();return this.bitwiseTo(e,jd,r),r},t.prototype.not=function(){for(var e=J(),r=0;r=this.t?this.s!=0:(this[r]&1<1){var f=J();for(o.sqrTo(a[1],f);l<=h;)a[l]=J(),o.mulTo(f,a[l-2],a[l]),l+=2}var d=e.t-1,p,y=!0,m=J(),_;for(n=lo(e[d])-1;d>=0;){for(n>=c?p=e[d]>>n-c&h:(p=(e[d]&(1<0&&(p|=e[d-1]>>this.DB+n-c)),l=i;!(p&1);)p>>=1,--l;if((n-=l)<0&&(n+=this.DB,--d),y)a[p].copyTo(s),y=!1;else{for(;l>1;)o.sqrTo(s,m),o.sqrTo(m,s),l-=2;l>0?o.sqrTo(s,m):(_=s,s=m,m=_),o.mulTo(m,a[p],s)}for(;d>=0&&!(e[d]&1<=0?(n.subTo(i,n),r&&s.subTo(a,s),o.subTo(l,o)):(i.subTo(n,i),r&&a.subTo(s,a),l.subTo(o,l))}if(i.compareTo(t.ONE)!=0)return t.ZERO;if(l.compareTo(e)>=0)return l.subtract(e);if(l.signum()<0)l.addTo(e,l);else return l;return l.signum()<0?l.add(e):l},t.prototype.pow=function(e){return this.exp(e,new tee)},t.prototype.gcd=function(e){var r=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(r.compareTo(n)<0){var i=r;r=n,n=i}var s=r.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return r;for(s0&&(r.rShiftTo(o,r),n.rShiftTo(o,n));r.signum()>0;)(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),r.compareTo(n)>=0?(r.subTo(n,r),r.rShiftTo(1,r)):(n.subTo(r,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},t.prototype.isProbablePrime=function(e){var r,n=this.abs();if(n.t==1&&n[0]<=Ge[Ge.length-1]){for(r=0;r=0;--r)e[r]=this[r];e.t=this.t,e.s=this.s},t.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},t.prototype.fromString=function(e,r){var n;if(r==16)n=4;else if(r==8)n=3;else if(r==256)n=8;else if(r==2)n=1;else if(r==32)n=5;else if(r==4)n=2;else{this.fromRadix(e,r);return}this.t=0,this.s=0;for(var i=e.length,s=!1,o=0;--i>=0;){var a=n==8?+e[i]&255:Zd(e,i);if(a<0){e.charAt(i)=="-"&&(s=!0);continue}s=!1,o==0?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<>this.DB-o):this[this.t-1]|=a<=this.DB&&(o-=this.DB)}n==8&&+e[0]&128&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},t.prototype.dlShiftTo=function(e,r){var n;for(n=this.t-1;n>=0;--n)r[n+e]=this[n];for(n=e-1;n>=0;--n)r[n]=0;r.t=this.t+e,r.s=this.s},t.prototype.drShiftTo=function(e,r){for(var n=e;n=0;--l)r[l+o+1]=this[l]>>i|a,a=(this[l]&s)<=0;--l)r[l]=0;r[o]=a,r.t=this.t+o+1,r.s=this.s,r.clamp()},t.prototype.rShiftTo=function(e,r){r.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){r.t=0;return}var i=e%this.DB,s=this.DB-i,o=(1<>i;for(var a=n+1;a>i;i>0&&(r[this.t-n-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i-=e.s}r.s=i<0?-1:0,i<-1?r[n++]=this.DV+i:i>0&&(r[n++]=i),r.t=n,r.clamp()},t.prototype.multiplyTo=function(e,r){var n=this.abs(),i=e.abs(),s=n.t;for(r.t=s+i.t;--s>=0;)r[s]=0;for(s=0;s=0;)e[n]=0;for(n=0;n=r.DV&&(e[n+r.t]-=r.DV,e[n+r.t+1]=1)}e.t>0&&(e[e.t-1]+=r.am(n,r[n],e,2*n,0,1)),e.s=0,e.clamp()},t.prototype.divRemTo=function(e,r,n){var i=e.abs();if(!(i.t<=0)){var s=this.abs();if(s.t0?(i.lShiftTo(c,o),s.lShiftTo(c,n)):(i.copyTo(o),s.copyTo(n));var h=o.t,f=o[h-1];if(f!=0){var d=f*(1<1?o[h-2]>>this.F2:0),p=this.FV/d,y=(1<=0&&(n[n.t++]=1,n.subTo(x,n)),t.ONE.dlShiftTo(h,x),x.subTo(o,o);o.t=0;){var L=n[--_]==f?this.DM:Math.floor(n[_]*p+(n[_-1]+m)*y);if((n[_]+=o.am(0,L,n,A,0,h))0&&n.rShiftTo(c,n),a<0&&t.ZERO.subTo(n,n)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(!(e&1))return 0;var r=e&3;return r=r*(2-(e&15)*r)&15,r=r*(2-(e&255)*r)&255,r=r*(2-((e&65535)*r&65535))&65535,r=r*(2-e*r%this.DV)%this.DV,r>0?this.DV-r:-r},t.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var n=J(),i=J(),s=r.convert(this),o=lo(e)-1;for(s.copyTo(n);--o>=0;)if(r.sqrTo(n,i),(e&1<0)r.mulTo(i,s,n);else{var a=n;n=i,i=a}return r.revert(n)},t.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},t.prototype.toRadix=function(e){if(e==null&&(e=10),this.signum()==0||e<2||e>36)return"0";var r=this.chunkSize(e),n=Math.pow(e,r),i=pr(n),s=J(),o=J(),a="";for(this.divRemTo(i,s,o);s.signum()>0;)a=(n+o.intValue()).toString(e).substring(1)+a,s.divRemTo(i,s,o);return o.intValue().toString(e)+a},t.prototype.fromRadix=function(e,r){this.fromInt(0),r==null&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),s=!1,o=0,a=0,l=0;l=n&&(this.dMultiply(i),this.dAddOffset(a,0),o=0,a=0)}o>0&&(this.dMultiply(Math.pow(r,o)),this.dAddOffset(a,0)),s&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,r,n){if(typeof r=="number")if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),ao,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var i=[],s=e&7;i.length=(e>>3)+1,r.nextBytes(i),s>0?i[0]&=(1<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i+=e.s}r.s=i<0?-1:0,i>0?r[n++]=i:i<-1&&(r[n++]=this.DV+i),r.t=n,r.clamp()},t.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(e,r){if(e!=0){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=e;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}},t.prototype.multiplyLowerTo=function(e,r,n){var i=Math.min(this.t+e.t,r);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var s=n.t-this.t;i=0;)n[i]=0;for(i=Math.max(r-this.t,0);i0)if(r==0)n=this[0]%e;else for(var i=this.t-1;i>=0;--i)n=(r*n+this[i])%e;return n},t.prototype.millerRabin=function(e){var r=this.subtract(t.ONE),n=r.getLowestSetBit();if(n<=0)return!1;var i=r.shiftRight(n);e=e+1>>1,e>Ge.length&&(e=Ge.length);for(var s=J(),o=0;o0&&(n.rShiftTo(a,n),i.rShiftTo(a,i));var l=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(l,0):(a>0&&i.lShiftTo(a,i),setTimeout(function(){r(i)},0))};setTimeout(l,10)},t.prototype.fromNumberAsync=function(e,r,n,i){if(typeof r=="number")if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),ao,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>e&&s.subTo(t.ONE.shiftLeft(e-1),s),s.isProbablePrime(r)?setTimeout(function(){i()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],l=e&7;a.length=(e>>3)+1,r.nextBytes(a),l>0?a[0]&=(1<=0?e.mod(this.m):e},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),Wd=function(){function t(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(r,r),r},t.prototype.revert=function(e){var r=J();return e.copyTo(r),this.reduce(r),r},t.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var r=0;r>15)*this.mpl&this.um)<<15)&e.DM;for(n=r+this.m.t,e[n]+=this.m.am(0,i,e,r,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),ree=function(){function t(e){this.m=e,this.r2=J(),this.q3=J(),H.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return t.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var r=J();return e.copyTo(r),this.reduce(r),r},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}();function J(){return new H(null)}function _e(t,e){return new H(t,e)}var Gd=typeof navigator<"u";Gd&&Kd&&navigator.appName=="Microsoft Internet Explorer"?(H.prototype.am=function(e,r,n,i,s,o){for(var a=r&32767,l=r>>15;--o>=0;){var c=this[e]&32767,h=this[e++]>>15,f=l*c+h*a;c=a*c+((f&32767)<<15)+n[i]+(s&1073741823),s=(c>>>30)+(f>>>15)+l*h+(s>>>30),n[i++]=c&1073741823}return s},Sr=30):Gd&&Kd&&navigator.appName!="Netscape"?(H.prototype.am=function(e,r,n,i,s,o){for(;--o>=0;){var a=r*this[e++]+n[i]+s;s=Math.floor(a/67108864),n[i++]=a&67108863}return s},Sr=26):(H.prototype.am=function(e,r,n,i,s,o){for(var a=r&16383,l=r>>14;--o>=0;){var c=this[e]&16383,h=this[e++]>>14,f=l*c+h*a;c=a*c+((f&16383)<<14)+n[i]+s,s=(c>>28)+(f>>14)+l*h,n[i++]=c&268435455}return s},Sr=28);H.prototype.DB=Sr;H.prototype.DM=(1<>>16)!=0&&(t=r,e+=16),(r=t>>8)!=0&&(t=r,e+=8),(r=t>>4)!=0&&(t=r,e+=4),(r=t>>2)!=0&&(t=r,e+=2),(r=t>>1)!=0&&(t=r,e+=1),e}H.ZERO=pr(0);H.ONE=pr(1);var nee=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(e){var r,n,i;for(r=0;r<256;++r)this.S[r]=r;for(n=0,r=0;r<256;++r)n=n+this.S[r]+e[r%e.length]&255,i=this.S[r],this.S[r]=this.S[n],this.S[n]=i;this.i=0,this.j=0},t.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},t}();function iee(){return new nee}var v8=256,co,br=null,vt;if(br==null){br=[],vt=0;var uo=void 0;if(typeof window<"u"&&self.crypto&&self.crypto.getRandomValues){var w0=new Uint32Array(256);for(self.crypto.getRandomValues(w0),uo=0;uo=256||vt>=v8){self.removeEventListener?self.removeEventListener("mousemove",fo,!1):self.detachEvent&&self.detachEvent("onmousemove",fo);return}try{var e=t.x+t.y;br[vt++]=e&255,ho+=1}catch(r){}};typeof window<"u"&&(self.addEventListener?self.addEventListener("mousemove",fo,!1):self.attachEvent&&self.attachEvent("onmousemove",fo))}function see(){if(co==null){for(co=iee();vt>>4&15)+e.charAt(i&15)}return r}function oee(t){for(var e=Array(t.length>>2),r=0;r>5]|=(t.charCodeAt(r/8)&255)<<24-r%32;return e}function aee(t){for(var e="",r=0;r>5]>>>24-r%32&255);return e}function Dt(t,e){return t>>>e|t<<32-e}function y8(t,e){return t>>>e}function lee(t,e,r){return t&e^~t&r}function cee(t,e,r){return t&e^t&r^e&r}function uee(t){return Dt(t,2)^Dt(t,13)^Dt(t,22)}function hee(t){return Dt(t,6)^Dt(t,11)^Dt(t,25)}function fee(t){return Dt(t,7)^Dt(t,18)^y8(t,3)}function dee(t){return Dt(t,17)^Dt(t,19)^y8(t,10)}var pee=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function gee(t,e){var r=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),n=new Array(64),i,s,o,a,l,c,h,f,d,p,y,m;for(t[e>>5]|=128<<24-e%32,t[(e+64>>9<<4)+15]=e,d=0;d>16)+(e>>16)+(r>>16);return n<<16|r&65535}function vee(t,e){if(e=0&&e>0;){var i=t.charCodeAt(n--);i<128?r[--e]=i:i>127&&i<2048?(r[--e]=i&63|128,r[--e]=i>>6|192):(r[--e]=i&63|128,r[--e]=i>>6&63|128,r[--e]=i>>12|224)}r[--e]=0;for(var s=new ia,o=[];e>2;){for(o[0]=0;o[0]==0;)s.nextBytes(o);r[--e]=o[0]}return r[--e]=2,r[--e]=0,new H(r)}function Jd(t,e,r){for(var n="",i=0;n.length>24,(i&16711680)>>16,(i&65280)>>8,i&255]))),i+=1;return n}var mee=32;function bee(t,e){var r=mee,n=$2;if(t.length+2*r+2>e)throw"Message too long for RSA";var i="",s;for(s=0;s0&&r.length>0?(this.n=_e(e,16),this.e=parseInt(r,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(e,r){typeof r>"u"&&(r=yee);var n=this.n.bitLength()+7>>3,i=r(e,n);if(i==null)return null;var s=this.doPublic(i);if(s==null)return null;for(var o=s.toString(16),a=o.length,l=0;l0&&r.length>0?(this.n=_e(e,16),this.e=parseInt(r,16),this.d=_e(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(e,r,n,i,s,o,a,l){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=_e(e,16),this.e=parseInt(r,16),this.d=_e(n,16),this.p=_e(i,16),this.q=_e(s,16),this.dmp1=_e(o,16),this.dmq1=_e(a,16),this.coeff=_e(l,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(e,r){var n=new ia,i=e>>1;this.e=parseInt(r,16);for(var s=new H(r,16);;){for(;this.p=new H(e-i,1,n),!(this.p.subtract(H.ONE).gcd(s).compareTo(H.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new H(i,1,n),!(this.q.subtract(H.ONE).gcd(s).compareTo(H.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(H.ONE),l=this.q.subtract(H.ONE),c=a.multiply(l);if(c.gcd(s).compareTo(H.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(e){var r=_e(e,16),n=this.doPrivate(r);return n==null?null:wee(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(e,r,n){var i=new ia,s=e>>1;this.e=parseInt(r,16);var o=new H(r,16),a=this,l=function(){var c=function(){if(a.p.compareTo(a.q)<=0){var d=a.p;a.p=a.q,a.q=d}var p=a.p.subtract(H.ONE),y=a.q.subtract(H.ONE),m=p.multiply(y);m.gcd(o).compareTo(H.ONE)==0?(a.n=a.p.multiply(a.q),a.d=o.modInverse(m),a.dmp1=a.d.mod(p),a.dmq1=a.d.mod(y),a.coeff=a.q.modInverse(a.p),setTimeout(function(){n()},0)):setTimeout(l,0)},h=function(){a.q=J(),a.q.fromNumberAsync(s,1,i,function(){a.q.subtract(H.ONE).gcda(o,function(d){d.compareTo(H.ONE)==0&&a.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(h,0)})})},f=function(){a.p=J(),a.p.fromNumberAsync(e-s,1,i,function(){a.p.subtract(H.ONE).gcda(o,function(d){d.compareTo(H.ONE)==0&&a.p.isProbablePrime(10)?setTimeout(h,0):setTimeout(f,0)})})};setTimeout(f,0)};setTimeout(l,0)},t.prototype.sign=function(e,r,n){var i=Cee(n),s=i+r(e).toString(),o=this.n.bitLength()/4,a=vee(s,o);if(a==null)return null;var l=this.doPrivate(a);if(l==null)return null;for(var c=l.toString(16),h=c.length,f=0;f=r.length)return null;for(var i="";++n191&&s<224?(i+=String.fromCharCode((s&31)<<6|r[n+1]&63),++n):(i+=String.fromCharCode((s&15)<<12|(r[n+1]&63)<<6|r[n+2]&63),n+=2)}return i}var Ro={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function Cee(t){return Ro[t]||""}function Aee(t){for(var e in Ro)if(Ro.hasOwnProperty(e)){var r=Ro[e],n=r.length;if(t.substring(0,n)==r)return t.substring(n)}return t}function Ne(t,e,r){if(!e||!t)throw new Error("extend failed, please check that all dependencies are included.");var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e)}/** - * @fileOverview - * @name asn1-1.0.js - * @author Kenji Urushima kenji.urushima@gmail.com - * @version asn1 1.0.13 (2017-Jun-02) - * @since jsrsasign 2.1 - * @license MIT License - */var I={};(typeof I.asn1>"u"||!I.asn1)&&(I.asn1={});I.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if(e.substring(0,1)!="-")e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var r=e.substring(1),n=r.length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var i="",s=0;s"u"||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+t.length+",v="+this.hV;var e=this.hV.length/2,r=e.toString(16);if(r.length%2==1&&(r="0"+r),e<128)return r;var n=r.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var i=128+n;return i.toString(16)+r},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}};I.asn1.DERAbstractString=function(t){I.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t=="string"?this.setString(t):typeof t.str<"u"?this.setString(t.str):typeof t.hex<"u"&&this.setStringHex(t.hex))};Ne(I.asn1.DERAbstractString,I.asn1.ASN1Object);I.asn1.DERAbstractTime=function(t){I.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){utc=e.getTime()+e.getTimezoneOffset()*6e4;var r=new Date(utc);return r},this.formatDate=function(e,r,n){var i=this.zeroPadding,s=this.localDateToUTC(e),o=String(s.getFullYear());r=="utc"&&(o=o.substring(2,4));var a=i(String(s.getMonth()+1),2),l=i(String(s.getDate()),2),c=i(String(s.getHours()),2),h=i(String(s.getMinutes()),2),f=i(String(s.getSeconds()),2),d=o+a+l+c+h+f;if(n===!0){var p=s.getMilliseconds();if(p!=0){var y=i(String(p),3);y=y.replace(/[0]+$/,""),d=d+"."+y}}return d+"Z"},this.zeroPadding=function(e,r){return e.length>=r?e:new Array(r-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,r,n,i,s,o){var a=new Date(Date.UTC(e,r-1,n,i,s,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}};Ne(I.asn1.DERAbstractTime,I.asn1.ASN1Object);I.asn1.DERAbstractStructured=function(t){I.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,typeof t<"u"&&typeof t.array<"u"&&(this.asn1Array=t.array)};Ne(I.asn1.DERAbstractStructured,I.asn1.ASN1Object);I.asn1.DERBoolean=function(){I.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"};Ne(I.asn1.DERBoolean,I.asn1.ASN1Object);I.asn1.DERInteger=function(t){I.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=I.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var r=new H(String(e),10);this.setByBigInteger(r)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.bigint<"u"?this.setByBigInteger(t.bigint):typeof t.int<"u"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex<"u"&&this.setValueHex(t.hex))};Ne(I.asn1.DERInteger,I.asn1.ASN1Object);I.asn1.DERBitString=function(t){if(t!==void 0&&typeof t.obj<"u"){var e=I.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}I.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(r){this.hTLV=null,this.isModified=!0,this.hV=r},this.setUnusedBitsAndHexValue=function(r,n){if(r<0||7"u"&&typeof this.s>"u"&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{12}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date))};Ne(I.asn1.DERUTCTime,I.asn1.DERAbstractTime);I.asn1.DERGeneralizedTime=function(t){I.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{14}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date),t.millis===!0&&(this.withMillis=!0))};Ne(I.asn1.DERGeneralizedTime,I.asn1.DERAbstractTime);I.asn1.DERSequence=function(t){I.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var e="",r=0;rr=>e(r)?!0:(console.error("PaymentChannel: ".concat(t," 参数错误,请检查 ").concat(t," 的值是否正确")),!1),gr=t=>t==null||t===""||Array.isArray(t)&&t.length===0||typeof t=="object"&&Object.keys(t).length===0,kee=(t,e)=>{const r=new Iee;return r.setPublicKey(t),r.encrypt(e)},e3=B3(),m8=t=>{const e=Z.create({timeout:1e4,...t});return e.interceptors.request.use(r=>(r.method==="get"&&(r.params={...r.params,_t:Date.now()}),r)),e.interceptors.response.use(r=>{if(r.status===200){const{status:n,errMessage:i,message:s,errCode:o}=r.data;if(!n){if(o&&Number(o)===100)return sessionStorage.__isJumpToLogin==="true"||(sessionStorage.__isJumpToLogin=!0,e3&&window.location.replace("".concat(e3.s_login,"?mustLogin=1&returnUrl=").concat(encodeURIComponent(window.location.href))),sessionStorage.__isJumpToLogin=!1),Promise.reject();if(r.config.isBypassInterceptor)return r.data;{const a=i||s||"Error: Request failed";return Me.error(a),Promise.reject(a)}}return r.config.isBypassInterceptor,r.data}return r},r=>{const n=r.toString();return n.includes("canceled")||Me.error("网络异常,请稍后再试"),Promise.reject(n)}),e},nn=m8({baseURL:"/pay-web/pc/pay"}),xee=t=>nn.get("/getPayChannelInfo",{params:t}),Lee=t=>nn.post("/payAuthCheckInit",null,{params:t,baseURL:"/pay-web/pc/payAuth",isBypassInterceptor:!0}),Oee=t=>nn.post("/payAuthCheck",null,{params:t,baseURL:"/pay-web/pc/payAuth",isBypassInterceptor:!0}),Nee=()=>nn.get("/getPayRandomKey"),Ree=t=>nn.post("/submitPay",null,{params:t,isBypassInterceptor:!0}),Dee=t=>nn.get("/getRealPayResult",{params:t,isBypassInterceptor:!0}),Bee=t=>nn.post("/sendAuthSmsCode",null,{params:t,baseURL:"/pay-web/pc/payAuth",isBypassInterceptor:!0}),t3=Object.freeze(Object.defineProperty({__proto__:null,getChannelInfo:xee,getPayRandomKey:Nee,getPayResult:Dee,payAuthCheck:Oee,payAuthCheckInit:Lee,sendCode:Bee,submitPay:Ree},Symbol.toStringTag,{value:"Module"})),Wa=m8({baseURL:"/pay-web/pc/fill"}),$ee=({payReqUnifiedID:t,isDefault:e})=>Wa.get("/getPcFillChannelInfo",{params:{fillReqUnifiedID:t,isDefault:e}}),Pee=()=>Wa.get("/getFillRandomKey"),Mee=({payReqUnifiedID:t,selChannelID:e,sign:r})=>Wa.post("/submitFill",null,{params:{fillReqUnifiedID:t,selChannelID:e,sign:r},isBypassInterceptor:!0}),Fee=({payReqUnifiedID:t,keyForParams:e})=>Wa.get("/getRealFillResult",{params:{fillReqUnifiedID:t,keyForParams:e},isBypassInterceptor:!0}),Uee=Object.freeze(Object.defineProperty({__proto__:null,getChannelInfo:$ee,getPayRandomKey:Pee,getPayResult:Fee,submitPay:Mee},Symbol.toStringTag,{value:"Module"})),nt={QR_CODE_REQUEST_FREQUENT:"325",QR_CODE_PAGE_TIME_OUT:"19",CHECK_TIME_OUT:"212",ACCOUNT_NOT_ACTIVE:"200",PASSWORD_LOCKED:"204",NOT_BIND_PHONE:"101",CHECK_PAY_AUTN_TOKEN_INVALID:"206",SUBMIT_PAY_AUTN_TOKEN_INVALID:"316",PAY_PASSWORD_ERROR:"205",SMS_CODE_ERROR:"208",SMS_CODE_CHECK_ERROR:"209",NOT_CURRENT_USER:"320",PAY_RESULT_NOT_ALLOWED_OPERATE:"107"},bt={OLD_PASS:"oldPass",VERIFY:"verify",NUM_PASS:"num"},D={NEXT:"next",SHOW_OLD_PASS:"showOldPass",SHOW_NUM_PASS:"showNumPass",SHOW_VERIFY_CODE:"showVerifyCode",SHOW_DIALOG:"showDialog",ERROR:"error",SHOW_INNER_ERROR:"showInnerError",SHOW_QRCODE:"showQrcode",THIRD_PAY:"thirdPay",PAY_SUBMIT_SUCCESS:"paySubmitSuccess",PAY_SUCCESS:"paySuccess",ACCOUNT_NOT_ACTIVE:"accountNotActive",NOT_BIND_PHONE:"notBindPhone",PASSWORD_LOCKED:"passwordLocked",SHOW_SMS_ERROR:"showSmsError"},Te={SELF:0,SCAN:1,THIRD:2},zee=["JDPC","ABC"],Ae={NONE:"none",ERROR:"error",VALIDATOR:"validator",QRCODE:"qrcode",BANKS:"banks",PAY_BUTTON:"payButton",COMBINED:"combined"},pt={NONE_AUTH:0,OLD_PASS:1,NUM_PASS:2,SMS_CODE:5},r3={pay:"PAY",draw:"DRAW",transfer:"TRANSFER"},Vee="TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFpQllad3JjU1YyRk91UHRsVzRROVlHN2RLRXBDamVYVWdLRFFEWHBOQWVveVV5NExyYS9OdDlaa1ZoZXZ6Q1BOSTh0d3pjNkJ3bDRmeGhZZC9TZzUyRUlTSXpyYVR1Q0FwWXVBM2V1dUU0RSs5U3B6Y01lWmhvSGo4WHBIT1ROeld5MzlYMXNjRUlRUEY4NFZqbjBpTzhzd0UybGVDMDBPalZCNkZTY3dHNWtRNFU2M1IxcndQbExIaHlySE9mUytrUTl3NnVINEtZN2VOdnRTWUxuZVpYMFhtWHFnaFkva0hzaW9VUWtPTkNad3ZFQkIvVHNIM1NyR1d1bTNwc0hYaUUzWFJhOE5DQW91eTk2dUdiUGdsempRRG8waXdBb0dWT0tLSGJGMWVDeVJMS2JTNzFuellyT2JtMTdzVVZONHQzaUMrNDdGWHphYSs2ejU1eUtidndJREFRQUI=";var S0={exports:{}},T0={exports:{}},n3;function jee(){return n3||(n3=1,function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(r,n){return r<>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return e.rotl(r,8)&16711935|e.rotl(r,24)&4278255360;for(var n=0;n0;r--)n.push(Math.floor(Math.random()*256));return n},bytesToWords:function(r){for(var n=[],i=0,s=0;i>>5]|=r[i]<<24-s%32;return n},wordsToBytes:function(r){for(var n=[],i=0;i>>5]>>>24-i%32&255);return n},bytesToHex:function(r){for(var n=[],i=0;i>>4).toString(16)),n.push((r[i]&15).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],i=0;i>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],i=0,s=0;i>>6-s*2);return n}};T0.exports=e}()),T0.exports}var E0,i3;function s3(){if(i3)return E0;i3=1;var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],n=0;n - * @license MIT - */var I0,o3;function Hee(){if(o3)return I0;o3=1,I0=function(r){return r!=null&&(t(r)||e(r)||!!r._isBuffer)};function t(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function e(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&t(r.slice(0,0))}return I0}var a3;function qee(){return a3||(a3=1,function(){var t=jee(),e=s3().utf8,r=Hee(),n=s3().bin,i=function(s,o){s.constructor==String?o&&o.encoding==="binary"?s=n.stringToBytes(s):s=e.stringToBytes(s):r(s)?s=Array.prototype.slice.call(s,0):!Array.isArray(s)&&s.constructor!==Uint8Array&&(s=s.toString());for(var a=t.bytesToWords(s),l=s.length*8,c=1732584193,h=-271733879,f=-1732584194,d=271733878,p=0;p>>24)&16711935|(a[p]<<24|a[p]>>>8)&4278255360;a[l>>>5]|=128<>>9<<4)+14]=l;for(var y=i._ff,m=i._gg,_=i._hh,A=i._ii,p=0;p>>0,h=h+L>>>0,f=f+S>>>0,d=d+N>>>0}return t.endian([c,h,f,d])};i._ff=function(s,o,a,l,c,h,f){var d=s+(o&a|~o&l)+(c>>>0)+f;return(d<>>32-h)+o},i._gg=function(s,o,a,l,c,h,f){var d=s+(o&l|a&~l)+(c>>>0)+f;return(d<>>32-h)+o},i._hh=function(s,o,a,l,c,h,f){var d=s+(o^a^l)+(c>>>0)+f;return(d<>>32-h)+o},i._ii=function(s,o,a,l,c,h,f){var d=s+(a^(o|~l))+(c>>>0)+f;return(d<>>32-h)+o},i._blocksize=16,i._digestsize=16,S0.exports=function(s,o){if(s==null)throw new Error("Illegal argument "+s);var a=t.wordsToBytes(i(s,o));return o&&o.asBytes?a:o&&o.asString?n.bytesToString(a):t.bytesToHex(a)}}()),S0.exports}const Kee=qee(),k0={PAY:"pay",TOP_UP:"topUp"};class b8{constructor(e){U(this,"applyType","");this.applyType=e.applyType}get API(){return this.applyType===k0.PAY?t3:this.applyType===k0.TOP_UP?Uee:t3}async getChannelInfo(e){try{const{amount:r,isBatch:n,business:i,payId:s,isDefault:o}=e,a=await this.API.getChannelInfo({amount:r,isBatch:n,business:i,payReqUnifiedID:s,isDefault:o}),{channels:l,canCombinedInfo:c,showNonePayFeeIcon:h,kfzAppPayChannel:f,hiddenChannels:d}=a.result;let p=JSON.parse(JSON.stringify(l))||[];if(!gr(c)&&!gr(c.canCombinedPayAccounts)){const y=p.findIndex(m=>m.disable);y>-1?p.splice(y,0,...c.canCombinedPayAccounts):p=p.concat(c.canCombinedPayAccounts)}return{channelList:p,hiddenChannels:d,canCombinedInfo:c,showNonePayFeeIcon:h,kfzAppPayChannel:f}}catch(r){console.log("paymentChannel getChannelInfo error ->",r),Promise.reject(r)}}setActionData(e,r={status:"",errCode:"",errMessage:"",result:{}}){return{action:e,status:r.status,errCode:r.errCode,errMessage:r.errMessage,data:r.result||{}}}getValidatorType(e){return{1:bt.OLD_PASS,2:bt.NUM_PASS,5:bt.VERIFY}[e]}getFullSignature(e){const{payReqUnifiedID:r,selChannelID:n,randomKey:i}=e,s=String(i).toLowerCase().split("").reverse().join(""),o="".concat(this.applyType===k0.PAY?"payReqUnifiedID":"fillReqUnifiedID","=").concat(r,"&selChannelID=").concat(n,"d4f2e9e8d7e3f8f9a4b7c6d3e2f1a5b4").concat(s);return Kee(o)}isDisabled(e){return!!(e.isFrozen||e.locked||e.disable)}setCountdown(e=0,r,n,i=1e3){let s=null;const o=Date.now()+e*1e3,a=()=>{if(s&&clearTimeout(s),e<=0){clearTimeout(s),s=null,typeof n=="function"&&n();return}typeof r=="function"&&r(e,s),s=setTimeout(()=>{e=Math.round((o-Date.now())/1e3),a()},i)};return{start:a,stop:()=>{s&&clearTimeout(s)}}}async payAuthCheckInit(e){try{const r=await this.API.payAuthCheckInit(e);if(r.status||r.errCode===nt.CHECK_TIME_OUT){const n=r.result.availAuthTypes[0];return n===pt.NONE_AUTH?this.setActionData(D.NEXT,r):n===pt.OLD_PASS?this.setActionData(D.SHOW_OLD_PASS,r):n===pt.NUM_PASS?this.setActionData(D.SHOW_NUM_PASS,r):n===pt.SMS_CODE?this.setActionData(D.SHOW_VERIFY_CODE,r):this.setActionData(D.NEXT,r)}else return r.errCode===nt.ACCOUNT_NOT_ACTIVE?this.setActionData(D.ACCOUNT_NOT_ACTIVE,r):this.setActionData(D.ERROR,r)}catch(r){return console.log("paymentChannel payAuthCheckInit error ->",r),Promise.reject(r)}}async payAuthCheck(e){try{const r={authType:e.authType,payAuthToken:e.payAuthToken,rsaEncryptData:kee(atob(Vee),e.value)};console.log("payAuthCheck",r);const n=await this.API.payAuthCheck(r);if(n.status){const i=n.result.nextAuthType;return i===pt.NONE_AUTH?this.setActionData(D.NEXT,n):i===pt.OLD_PASS?this.setActionData(D.SHOW_OLD_PASS,n):i===pt.NUM_PASS?this.setActionData(D.SHOW_NUM_PASS,n):i===pt.SMS_CODE?n.result.smsSendResult&&n.result.smsSendResult.sendStatus===!1?n.result.smsSendResult.sendRetCode===101?this.setActionData(D.NOT_BIND_PHONE,n):this.setActionData(D.SHOW_SMS_ERROR,n):this.setActionData(D.SHOW_VERIFY_CODE,n):this.setActionData(D.NEXT,n)}else return[nt.PAY_PASSWORD_ERROR,nt.SMS_CODE_ERROR,nt.SMS_CODE_CHECK_ERROR].includes(n.errCode)?this.setActionData(D.SHOW_INNER_ERROR,n):n.errCode===nt.PASSWORD_LOCKED?this.setActionData(D.PASSWORD_LOCKED,n):n.errCode===nt.NOT_BIND_PHONE?this.setActionData(D.NOT_BIND_PHONE,n):this.setActionData(D.ERROR,n)}catch(r){console.log("paymentChannel payAuthCheck error ->",r)}}parseStr(e){let r=document.createElement("div");r.innerHTML=e;const n=r.innerHTML;return r=null,n}async submitPay(e){try{const{result:r}=await this.API.getPayRandomKey(),{payId:n,paychannelSeqID:i,payAuthToken:s,payType:o}=e,a={payReqUnifiedID:n,selChannelID:i,sign:this.getFullSignature({payReqUnifiedID:n,selChannelID:i,randomKey:r})};s&&(a.payAuthToken=s);const l=await this.API.submitPay(a);if(l.status)if(o===Te.SCAN){const c={...l.result,payChannelData:JSON.parse(l.result.payChannelData||"{}")};return this.setActionData(D.SHOW_QRCODE,{...l,result:c})}else if(o===Te.THIRD){console.log("第三方支付获取结果",l);const c=JSON.parse(l.result.payChannelData||"{}"),{gateway:h,requestParams:f}=c,d=JSON.parse(f),p={...l.result,payChannelData:{gateway:decodeURIComponent(c.gateway),requestParams:d}};return this.setActionData(D.THIRD_PAY,{...l,result:p})}else return this.setActionData(D.PAY_SUBMIT_SUCCESS,l);else return(l.result||{}).popupVo?this.setActionData(D.SHOW_DIALOG,l):o===Te.SCAN?[nt.QR_CODE_REQUEST_FREQUENT,nt.QR_CODE_PAGE_TIME_OUT].includes(l.errCode)?this.setActionData(D.SHOW_INNER_ERROR,l):this.setActionData(D.ERROR,l):this.setActionData(D.ERROR,l)}catch(r){console.log("paymentChannel paySubmit error ->",r)}}sendDataByForm(e,r){const n=document.createElement("form");n.action=e,n.method="post",n.style.display="none";for(const i in r)if(r.hasOwnProperty(i)){const s=document.createElement("input");s.type="hidden",s.name=i,s.value=this.parseStr(r[i]),n.appendChild(s)}document.body.appendChild(n),n.submit(),setTimeout(()=>{document.body.removeChild(n)},100)}async getPayResult(e){try{const r=await this.API.getPayResult(e);return r.status?r.result.payResult==="paySuccess"?this.setActionData(D.PAY_SUCCESS,r):this.setActionData(D.NEXT,r):this.setActionData(D.ERROR,r)}catch(r){console.log("paymentChannel getPayResult error ->",r)}}async resendCode(e){try{const r=await this.API.sendCode(e);return r.status?this.setActionData(D.SHOW_VERIFY_CODE,r):r.result.sendStatus===!1?this.setActionData(D.SHOW_SMS_ERROR,r):this.setActionData(D.SHOW_INNER_ERROR,r)}catch(r){console.log("paymentChannel resendCode error ->",r)}}}const Qee={name:"payment-validator",props:{data:{type:Object,default:()=>({applyType:"",confirmText:"确认",errMsg:"",verifyData:{}})},sites:{type:Object,default:()=>({})}},data(){return{APPLY_TYPE:bt,btnActive:!1}},emits:["confirm","verifyCode:resend"],computed:{title(){return this.data.applyType===bt.OLD_PASS||this.data.applyType===bt.NUM_PASS?"支付密码":""}},methods:{async confirm(){const t=await this.$refs.validator.validate();t.validate&&this.$emit("confirm",{...t.data,applyType:this.data.applyType})},handleResend(t){this.$emit("verifyCode:resend",t)},handleFinish(t){t?this.btnActive=!0:this.btnActive=!1},clear(){this.$refs.validator.clear()}}},Wee={class:"validator-wrap"},Gee={key:0,class:"title"};function Zee(t,e,r,n,i,s){const o=se("k-password"),a=se("k-verify-code"),l=se("k-num-password"),c=se("k-button");return g(),v("div",Wee,[s.title?(g(),v("div",Gee,C(s.title)+":",1)):b("",!0),r.data.applyType===i.APPLY_TYPE.OLD_PASS?(g(),ne(o,{key:1,ref:"validator",errMsg:r.data.errMsg,sites:r.sites,width:"252px",failNum:r.data.failNum,"onPassword:finish":s.handleFinish,"onPassword:enter":s.confirm},null,8,["errMsg","sites","failNum","onPassword:finish","onPassword:enter"])):b("",!0),r.data.applyType===i.APPLY_TYPE.VERIFY?(g(),ne(a,{key:2,ref:"validator",data:r.data.verifyData,errMsg:r.data.errMsg,width:"252px",failNum:r.data.failNum,"onVerifyCode:resend":s.handleResend,"onVerifyCode:finish":s.handleFinish,"onVerifyCode:enter":s.confirm},null,8,["data","errMsg","failNum","onVerifyCode:resend","onVerifyCode:finish","onVerifyCode:enter"])):b("",!0),r.data.applyType===i.APPLY_TYPE.NUM_PASS?(g(),ne(l,{key:3,ref:"validator",errMsg:r.data.errMsg,sites:r.sites,failNum:r.data.failNum,"onNumPassword:finish":s.handleFinish,"onNumPassword:enter":s.confirm},null,8,["errMsg","sites","failNum","onNumPassword:finish","onNumPassword:enter"])):b("",!0),B(c,{class:T(["pay-btn",{"pay-btn-gray":!i.btnActive}]),type:"fill",width:"252px",onClick:s.confirm},{default:F(()=>[V(C(r.data.confirmText||"确认"),1)]),_:1},8,["class","onClick"])])}const Yee=ye(Qee,[["render",Zee],["__scopeId","data-v-133cc0c6"]]),Si=60*10,Jee={name:"QRCode",props:{applyType:{type:String,default:"pay"},payId:{type:[String,Number]},codeType:{type:String,default:""},data:{type:Object,default:()=>({business:"shop",isBatch:0,keyForParamsInRedis:"",leftPayTime:0,payAmount:0,payDesc:"",payoutUserID:"",payreqSeqID:"",qrImgUrl:"",sitepayreqRefID:"",errMessage:"",errCode:""})},top:{type:Number,default:0},isOnlyKfzAppChannel:{type:Boolean,default:!1}},emits:["qrcode:refresh","qrcode:error"],created(){this.useCase=new b8({applyType:this.applyType}),this.data.qrImgUrl&&(sessionStorage.setItem("qrCodeUrl",this.data.qrImgUrl),this.stopTimerFn=this.loopGetResult()),window.addEventListener("beforeunload",this.beforeUnload)},beforeUnmount(){this.clearTimeout(),window.removeEventListener("beforeunload",this.beforeUnload)},data(){return{loopTime:Si,time:0,maskText:"",showMask:!1,isScan:!1,stopTimerFn:null,imgLoaded:!1,init:!0}},watch:{"data.errMessage":{handler(t){t?(setTimeout(()=>{this.clearTimeout()}),this.showMask=!0):this.showMask=!1},immediate:!0},"data.qrImgUrl"(t){t&&!this.init&&(sessionStorage.setItem("qrCodeUrl",this.data.qrImgUrl),this.resetData(),this.stopTimerFn=this.loopGetResult())}},computed:{qrImgUrl(){let t=this.data.qrImgUrl||sessionStorage.getItem("qrCodeUrl");return t||""},codeText(){return{weixin:"微信",ALIPAY:"支付宝",kfzApp:"孔网APP"}[this.codeType]},isKfzApp(){return this.codeType==="kfzApp"},hasError(){return!!this.data.errMessage}},methods:{onImgLoad(){this.$nextTick(()=>this.imgLoaded=!0)},beforeUnload(){sessionStorage.removeItem("qrCodeUrl")},async getPayResult(){try{const t=await this.useCase.getPayResult({payReqUnifiedID:this.payId,keyForParams:this.data.keyForParamsInRedis});if(t.action===D.PAY_SUCCESS)this.clearTimeout(),t.data.webReturnUrl&&(location.href=t.data.webReturnUrl);else if(t.action===D.NEXT){const{timeLeftForPcQrCode:e,isScannedForPc:r}=t.data;if(r){if(this.applyType==="pay"||this.codeType!=="kfzApp"){this.time=0,this.isScan=!0,this.maskText="已扫码,请勿重复支付",this.showMask=!0;return}}else this.isScan=!1,this.showMask=!1,this.maskText="";this.time=e,e<=0&&!this.isScan&&(this.applyType==="pay"||this.codeType!=="kfzApp")&&(this.clearTimeout(),this.loopTime=Si,this.time=0,this.maskText="支付码已过期",this.showMask=!0)}else t.action===D.ERROR&&(this.clearTimeout(),this.loopTime=Si,t.errCode===nt.PAY_RESULT_NOT_ALLOWED_OPERATE&&this.$emit("qrcode:error",{code:t.errCode,message:t.errMessage}))}catch(t){this.clearTimeout(),this.loopTime=Si}},loopGetResult(){const{start:t,stop:e}=this.useCase.setCountdown(this.loopTime,r=>{this.getPayResult()},r=>{this.time=0});return t(),e},clearTimeout(){typeof this.stopTimerFn=="function"&&this.stopTimerFn()},handleClick(){this.isScan||(this.init=!1,this.$emit("qrcode:refresh",this.codeType))},resetData(){this.clearTimeout(),this.time=-1,this.loopTime=Si,this.isScan=!1,this.maskText="",this.showMask=!1,this.imgLoaded=!1}}},pc=t=>(aa("data-v-3ba0dd10"),t=t(),la(),t),Xee={key:0,class:"title-wrap"},ete={key:0,class:"title"},tte={key:1,class:"title"},rte={key:0,class:"tip"},nte={key:0,class:"text"},ite=pc(()=>u("span",{class:"point"},null,-1)),ste={key:1,class:"text"},ote={key:2},ate={class:"countdown"},lte=["src"],cte={class:"loading-wrap"},ute=pc(()=>u("span",{class:"k-iconfont k-icon-jiazai loading-icon"},null,-1)),hte=pc(()=>u("span",{class:"loading-text"},"加载中",-1)),fte=[ute,hte],dte={class:"mask-content"},pte={key:0,class:"scan-icon k-iconfont k-icon-select_base1"},gte={class:"text"},vte={key:2,class:"code-tip"},yte={key:3,class:"code-tip"};function mte(t,e,r,n,i,s){const o=se("k-button");return g(),v("div",{class:"qr-code-wrap",style:ve({top:r.top+"px",position:r.isOnlyKfzAppChannel?"unset":"absolute"})},[r.isOnlyKfzAppChannel?b("",!0):(g(),v("div",Xee,[s.isKfzApp?(g(),v("p",ete," 使用孔网APP扫码"+C(r.applyType==="pay"?"付款":""),1)):(g(),v("p",tte,C(s.codeText)+"付款",1))])),u("div",{class:T(["code-content",{"only-kfz-app":r.isOnlyKfzAppChannel}])},[r.isOnlyKfzAppChannel?b("",!0):(g(),v("p",rte,[s.isKfzApp&&r.applyType==="pay"?(g(),v("span",nte,[V("更快捷 "),ite,V(" 更安全")])):b("",!0),s.isKfzApp&&r.applyType==="topUp"?(g(),v("span",ste,"更多支付方式供您选择")):b("",!0),!s.isKfzApp&&i.time>0?(g(),v("span",ote,[u("span",ate,C(i.time)+"秒",1),V("后过期,请尽快支付 ")])):b("",!0)])),le(u("img",{class:"qr-code",src:s.qrImgUrl,alt:"qr-code",onLoad:e[0]||(e[0]=(...a)=>s.onImgLoad&&s.onImgLoad(...a))},null,40,lte),[[fe,i.imgLoaded]]),le(u("div",cte,fte,512),[[fe,!i.imgLoaded]]),i.showMask?(g(),v("div",{key:1,class:"mask",onClick:e[1]||(e[1]=ue((...a)=>s.handleClick&&s.handleClick(...a),["stop"]))},[u("div",dte,[i.isScan?(g(),v("div",pte)):b("",!0),u("div",gte,C(s.hasError?r.data.errMessage:i.maskText),1),i.isScan?b("",!0):(g(),ne(o,{key:1,class:T(["refresh-btn"]),type:"fill",height:"32",onClick:ue(s.handleClick,["stop"])},{default:F(()=>[V("点击刷新")]),_:1},8,["onClick"]))])])):b("",!0),s.isKfzApp?(g(),v("div",vte,"未安装APP可扫码直接下载")):!s.isKfzApp&&!s.hasError?(g(),v("div",yte," 请使用"+C(s.codeText)+"扫描支付码 ",1)):b("",!0)],2)],4)}const bte=ye(Jee,[["render",mte],["__scopeId","data-v-3ba0dd10"]]),_te={ABC:"nongyeyinhang",ICBCB2C:"gongshangyinhang",CCB:"jiansheyinhang",POSTGC:"youzhengyinhang",BOCB2C:"zhongguoyinhang",CMB:"zhaoshangyinhang",SPDB:"pudongfazhanyinhang","CEB-DEBIT":"guangdayinhang","SPA-DEBIT":"pinganyinhang",CMBC:"zhongguominshengyinhang",CIB:"xingyeyinhang",SHBANK:"shanghaiyinhang",NBBANK:"ningboyinhang",HZCBB2C:"hangzhouyinhang",BJBANK:"beijingyinhang",SHRCB:"shanghainongshangyinhang","WZCBB2C-DEBIT":"wenzhouyinhang",BJRCB:"beijingnongshangyinhang"},wte=()=>{let t=!0;return e=>{try{return typeof e!="function"?Promise.reject("requestLock -> handler must be a function"):t?(t=!1,e().finally(()=>{t=!0})):Promise.reject("requestLock -> 请求中,请勿重复请求")}catch(r){return t=!0,Promise.reject("requestLock error ->".concat(r))}}},l3=wte(),Cte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAYAAACMRWrdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAqaSURBVHgB1Vp7bFvVGf/OuQ/72rWT2onbuHmjQsWmlhYQlGlaJCZgCAplSrYyBtPQpGpo/IGYpmmb6mmb9sdoNTpNYtJAWtt1azta2iEEHUwRk9oitNJ2G2opTfNyHo7tJn7b955z9p2bB03iJLaTtOQXOfLjnnu/737ne/4ugeUFaWtrU5LJJBkbG6PyC13XRSAQ4J2dnQw/ClgmEFhChNra1Cu67vvFUzv9vrrV/nQyU61Q7hagOAjnKlAiBHCGF80TTtOKyzGWiySiPzrwSuyWQiEe6uy0YImwaMWEEOTC/v211cJ5a+M9dwUhlfbz0VEjX8hxqgADQjgQlVM8kNsLOGFCUE0hxDK5qjlURa3yZcDljPd+eD48qFmX733yyQgs0poVKyYVGnrjjaa1Dc13gKIFeXxUv5ZJcgdVCjChQ6nAPamgKTWvy0mpr7YALD/QM9B3vnnbtm6oUEEVKsC+UCgAV/q2rvX6WtKDw6gjzYFGMw5CpcZQLhSpGwGWKZjA+noIoqnB7WsWn/ZePXbg0OknQj+MTBwqDVHSBcqyGAYC9R+hPXerSmFLNpnUcEtlcWdx3G1L6qt4o9DkQtEV7jSqfIWkqX60LfTCh51l+GDJAp3Zu9e7+fY7HlA1pSmTSqfL3W6VQCpIqFBcq9zuvMl6Lnx87uS9zz+fKGVtSYoNHz++JtCw/hEzMuzJFAoZhcINBcNb6DJ0l1Zbl0gN97zpefDByEJrFlQsevi9df4W/6OxwWFNJzS31NuuVEjrFVjB8NfXm7Gu6ImajvvD8x0/r5AptJQ72LR9dHAQo7M6WylFATQeE1SxOOdk0Yak6Ft4HgX9i8uYwti0n6Vy6AFOb13QTMUHjs5nOTLHd+Liq696brvzS+2x3qtuB6X52UchND0D6G4sGlvNbbnooisJzhiltavj6FhEWJYh88r1v9uWE5bT39iS/uD9k3+b8LlZ0bKoxWT0e2fXrx4j+UJDzsynpQ7TDkBLEUpzue7eBtYf3qHX1AQ4leYUi0yqeB0B1IzFhtXgur/qzfV9wuROO9NNU04IXdPcRNX6n/rD744dOXKEzT5XESQ6z241SPa+XDKVLPY7lkgMsime/9/Fn1Z951utWsM6LCgYLAUIlitmfxhGX/tzl/OLG36peL2Em+asfMuAg8fj9eSFccrVtuX0zN9nucXRF0MBj2JtTidTGWn2YhenOikURqJrlYaGOq2p3r49RFVtocDEVCN9o5wXriHyD8+B9SRojfWgNtYHLbyGRYRZTAbp3TLtGJq1+agsGGZg1p3YvvOZrdlPLumYPtLzRkBMy0TBOlDuPtxBbDgCqbf/ObFNFSgLmBJ5PgeuL98H+vpW+yuiUIbJn9h1CVhzLCMsOzbm3P7Ud7eKXbtOoESiqGLdhw+38J5wS4HRnLJAWKdYqYP4zGFTb70L2i3NYNy5CYUsQDkgmgZmbz+k3+0EbV0QiOEA+9yUzOuz8sYzQbK852rL5bPnmvGrq1BEMdLUumFTYnBAUOlDIErOVzyTBUDhpFLE7QYFX+XC8YUNkP/oP8CSCVCN2tIXYiBJZbLitpbmjfi2e9JqU4qd37evFhQaxJCdkzaGMkDQL3DrAM/lp5QS0tfsbVrKemqXF/JW2u/LhC2zSusvHDsm74id26YUk/2UbD1QmAxUgus2DU9lMLdFJ6ReWDOpjMAgIrC6h0rSvEzb0ZhWnbNuhQnF7LOEQiG18e7NwUQyuSSFrchmYTKolAQ63u4IZpW+ZgZGM2nRuOWu4OH2djty2YpdOXXKB5mMn6jUhKWAFK6c1/VrKoSiYIObSNYci8dr5GdbMTmj4IlrhjIzxa8gSNmt0bix+5nnfPKzrZgv4KvJ58xl76+WG6ZlMWfAO2Uxks/nvGjLFWutScjhEcvkq2AiBCmC8lXYq654i8lpGOrilrNMejsqiqEWh0srXzEm7BmfQw5oKRY/BPOxVHXZprI3Cppd3BJVTp3t4GH/Ezen5V9K8ImXBNXtppRaslyHFQ6G3bdKhVVVVcXpx1IjBfJAyIpXDAtWYilK3uPxCLkLOTGFnBPe4KHa0gPVwgE7TUkmx1ZMsh44RCmzO/z8AacTisPrGMO341ZKIJXj0LUVbzGpQ2rwWky+t5X58Z9+H6fVq7NsvA+vDNJDb6abEmx+qv1ZybXJj3Y/tt3ni4LLHcfstgaLkbJLK8Gx5eAcqMMxfg1dGx/MyFl4CdlRNqlyiAN4HuxdoBJYXOiwyj0kCUT52VasA+dyXdueGKhfG6zDuhHKBXUZdj+V+dcZcN65EfhYElgsPiH1wuvtmUf/AHbdDKjHC5XA63LTgQ/ODEyyolMddFI4Lmm+1RvzkQjMHC2XAs+2h+wpVfrt92xBpQWnzU8n+y1epHLj41Mh7+NfA+LQy+fYMFVRX3UhGu76ZPKrKcU2fnv7CPz7XJhYVpMgJAtlgnq94O14fEJwMttSk/43p9CkJOvOxPg8n+GW4T2bnn56ZEqez65LxKWuy+cNnJmzxeQ0OuEvM7pks6sXEodOALs2NkcnDRUB+TO6CmW+dPniebjOo6cpcFtHRzdtaryqK+AUCxTFnAt7eAslIt35PkR/vQdwLF7aAnluPv8IUMqITYkhZd6Asl//G51+LhD7X9l72vBUm5JJnPOMfOIf57TUEO959CFYsztkzx4XhOQmGMcCdu5OyqZzCVcllXvswGtydj/NELO23NMvvRTJMv2spEfZHCdWJIG0pnaw0N0/JCe4tvNb1rwvxe8H9/1tmEUd8x4nz2X29IHVFx5y1tQOqhbXiuvOSVWV15D89BOh0CyerOjtbscR1l++/4PHeZ4Vp5EwjxON5lCxBisc/qbq963FoSkTi6SRhPR0bAzNaDziaAweVBsb+jG6OmcTgEI4NYdbOPS+B3/+k+PFSPc5iT9Jpt/zla+2x3p6XHoxNlNqq5KsicQfj46tpoQsSaPKhSBqbU1cTpSFWXDNJP4kkD51VDc1ZUYu/fdQoKMjBaUSf5OwSXWkahPIP5Ni/PMyULW2UJypc1G1jHBn9dpaKxUbeb1cqnYaYq+/Ve9rCT4S6w3ruqJnbya5nkNyvTZYZ8b7hv7u//rD/fMdX5KQ4ug7AWitf8QcGvJmcoWsot7Y+Yj9OISuu7TAmmSkb/DNNY/dP7zQmpLv/giS7d7W9Q+oVGmWTKIk3W6E9WTH4fGscuH0qfvTrosnNzz7bLKUdWUJJh/beyG0524P0qPIJOoFJnKYyNhyPHIkKwoMT4a7qqqQxZD+8HI9cgTXRZ6jL/4msH3nN7bynt6WVCohhKrmFOn4bJHDZEVy2JID5k7DZRDa2nL1j7/dfeZ7L7+84NYrJmylIEjtNje1rt+EDXmQR0f0RC7HVSwLoVxyA0OuxZnudboo9flNjPPhHqxbm9rbu0mFaWQpthA5c/BgoA7U9Y13bFkHmazPSsQMU5IcGLBxP3GK81iQJZA9u8RCSOCsRdaCckaB7bzsfMFlxHvPnQ0PgnX5nh07ImSReXHJH529pCj+3Tue8znrkcHJpKvGH50Fh5w22xfEGaZ8dJZxkXa43GOJSDz6s8/jo7MLgCJBQCORyFTuNgxDyLnfcj/s/H/NwDMEPJBhHQAAAABJRU5ErkJggg==",Ate="https://static.kongfz.com/search-v3/assets/images/scan_tip-CljZTAUz.png",Mr=30,Ste={name:"KPaymentChannel",components:{Validator:Yee,QRCode:bte},props:{applyType:{type:String,default:"pay",validator:A0("applyType",t=>["pay","topUp"].includes(t))},payInfo:{type:Object,required:!0,validator:A0("payInfo",t=>["isBatch","amount","payId"].every(e=>!gr(t[e])))},sites:{type:Object,required:!0,validator:A0("sites",t=>!gr(t))},title:{type:String,default:"支付方式"},size:{type:String,default:"default"},width:{type:String,default:"100%"},returnUrl:{type:String,default:""}},emits:["channel:updatePayInfo","channel:error","channel:updateAmout","channel:finished"],data(){return{channel:"",channelList:[],curChannel:{},validateData:{},payAuthToken:"",payAuthType:"",QRCodeData:{},stopLongTimeFn:null,kfzAppPayChannel:{},showKfzAppQRCode:!1,latestCheckChannel:{},error:{title:"",desc:"",btnText:"",disabled:!1},qrcodeTop:Mr,index:0,bankIconMap:_te,selfChannelContinue:!1,payAutheckFinished:!0,thirdPayFinished:!0,CHANNEL_DISPLAY_STATE:Ae,isOnlyKfzAppChannel:!1,showHiddenChannels:!0,hiddenChannels:[],submitPayTime:0}},created(){gr(this.payInfo)||(this.useCase=new b8({applyType:this.applyType}),this.getChannelInfo())},computed:{hasLatestCheckChannel(){return!gr(this.latestCheckChannel)},isIpad(){return Qr.isIpad}},beforeUnmount(){this.clearLongTimeTimeout()},methods:{isDirectPayButtonChannel(t){return zee.includes(t)},getPayButtonText(t){return t==="ABC_KWWH_BUS"?"付款到孔网农行对公账户":this.isDirectPayButtonChannel(t)?"去支付":"确认支付"},isDisabled(t){return this.useCase.isDisabled(t)},async getChannelInfo(){var t;try{const{channelList:e,kfzAppPayChannel:r,canCombinedInfo:n,hiddenChannels:i}=await this.useCase.getChannelInfo({...this.payInfo,isDefault:Number(this.showHiddenChannels)});if(this.channelList=e,this.kfzAppPayChannel=r,this.hiddenChannels=i.map(s=>s.iconUrl),gr(n)||gr(n.canCombinedPayAccounts)||n.canCombinedPayAccounts.forEach(s=>{this.setChannelDisplayState(s,Ae.COMBINED)}),e.length){if(this.hasLatestCheckChannel){const s=e.find(o=>o.channel===this.latestCheckChannel.channel&&o.disable===!1);if(s){this.channel=s.channel,this.curChannel=s,this.curChannel.checked=!0;const o=this.getChannelDisplayState(this.latestCheckChannel);this.setChannelDisplayState(this.curChannel,o),o===Ae.BANKS&&((t=this.latestCheckChannel.payChannelInfoVos)==null||t.forEach(a=>{var l;(l=s.payChannelInfoVos)==null||l.forEach(c=>{c.channel===a.channel&&a.checked&&(c.checked=!0)})}))}else this.channel=e[0].channel,this.curChannel=e[0],this.curChannel.checked=!0}else{const s=e.find(o=>o.checked);s?(this.channel=s.channel,this.curChannel=s):(this.channel=this.channelList[0].channel,this.curChannel=this.channelList[0],this.curChannel.checked=!0)}this.isOnlyKfzAppChannel&&(this.showKfzAppQRCode=!1,this.isOnlyKfzAppChannel=!1),this.matchPayChannel()}else this.isOnlyKfzAppChannel=!0,this.curChannel={},this.QRCodeData={};(!this.hasLatestCheckChannel||this.applyType==="topUp")&&this.handleKfzAppQRCode(),this.curChannel&&(this.latestCheckChannel=this.curChannel)}catch(e){this.$emit("channel:error",{code:-1,message:"支付渠道获取失败"})}finally{this.$emit("channel:finished")}},async handleShowHiddenChannels(){this.showHiddenChannels=!1,this.hiddenChannels=[],this.getChannelInfo()},getChannelDisplayState(t){return t&&t.displayState?t.displayState:Ae.NONE},setChannelDisplayState(t,e){if(!t)return;if(!Object.values(Ae).includes(e)){console.warn("Invalid display state: ".concat(e));return}this.getChannelDisplayState(t)!==Ae.COMBINED&&(t.displayState=e)},matchPayChannel(){this.curChannel.pcPayType===Te.SCAN?this.startPay():this.curChannel.channel==="BANK"?this.setChannelDisplayState(this.curChannel,Ae.BANKS):this.isDirectPayButtonChannel(this.curChannel.channel)||this.applyType==="topUp"&&(this.curChannel.pcPayType===Te.SELF||this.curChannel.channel==="ABC_KWWH_BUS")?this.setChannelDisplayState(this.curChannel,Ae.PAY_BUTTON):!this.selfChannelContinue&&this.getChannelDisplayState(this.curChannel)!==Ae.COMBINED&&this.startPay()},handleChannelChange(t,e,r){this.clearLongTimeTimeout(),this.index=r,this.curChannel=e,this.resetAllChannelDisplayState(),e.pcPayType===Te.SCAN?(this.showKfzAppQRCode=!1,this.startPay()):e.channel==="BANK"?this.setChannelDisplayState(this.curChannel,Ae.BANKS):this.isDirectPayButtonChannel(e.channel)||this.applyType==="topUp"&&(e.pcPayType===Te.SELF||e.channel==="ABC_KWWH_BUS")?this.setChannelDisplayState(this.curChannel,Ae.PAY_BUTTON):e.pcPayType===Te.SELF&&this.getChannelDisplayState(this.curChannel)!==Ae.COMBINED&&this.startPay(),this.latestCheckChannel.pcPayType===Te.SCAN&&this.handleKfzAppQRCode(),this.latestCheckChannel=this.curChannel,this.isIpad&&this.$nextTick(()=>{this.$refs.channelItem[r].scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})})},resetAllChannelDisplayState(){this.channelList.forEach(t=>{var e;this.setChannelDisplayState(t,Ae.NONE),t.channel==="BANK"&&((e=t.payChannelInfoVos)==null||e.forEach(r=>{r.checked=!1}))})},async handleSelfPay(t){if(!t.data)return;const{availAuthTypes:e,confirmButtonText:r,payAuthToken:n,validTimes:i}=t.data;this.validateData={applyType:this.useCase.getValidatorType(e[0]),confirmText:r,errMsg:""},this.payAuthType=e[0],this.payAuthToken=n,this.setChannelDisplayState(this.curChannel,Ae.VALIDATOR),this.stopLongTimeFn=this.longTimeTimer(i)},async handleValidatorConfirm(t){var e,r;if(this.payAutheckFinished)try{let n="";t.applyType===bt.OLD_PASS||t.applyType===bt.NUM_PASS?n=t.password:t.applyType===bt.VERIFY&&(n=t.verifyCode),this.payAutheckFinished=!1;const i=await l3(()=>this.useCase.payAuthCheck({payAuthToken:this.payAuthToken,authType:this.payAuthType,value:n}));if(!i.data){Me.error("支付校验失败,请重试"),this.clearLongTimeTimeout(),this.payAutheckFinished=!0;return}this.payAuthToken=i.data.payAuthToken,this.payAuthType=i.data.nextAuthType,i.action===D.SHOW_INNER_ERROR?(this.payAuthType===pt.OLD_PASS||this.payAuthType===pt.NUM_PASS?this.validateData={...this.validateData,errMsg:i.errMessage,failNum:Date.now()}:this.payAuthType===pt.SMS_CODE&&(this.validateData={applyType:this.useCase.getValidatorType(i.data.nextAuthType),errMsg:i.errMessage,failNum:Date.now()}),this.payAutheckFinished=!0):i.action===D.SHOW_VERIFY_CODE?(this.validateData={applyType:this.useCase.getValidatorType(i.data.nextAuthType),verifyData:i.data.smsSendResult,errMsg:""},this.payAutheckFinished=!0):i.action===D.NEXT?(this.clearLongTimeTimeout(),this.handleSubmitPay({payAuthToken:this.payAuthToken})):i.action===D.PASSWORD_LOCKED?(this.clearLongTimeTimeout(),(this.$refs.validatorRef||[]).length&&this.$refs.validatorRef[0].clear(),Ue.confirm(i.errMessage,{width:"320px",okText:"找回密码",cancelText:"取消",headerBorder:!1}).then(()=>{window.open("".concat(this.sites.s_pay,"account/findPwd.html"))}).catch(()=>{}),this.payAutheckFinished=!0):i.action===D.NOT_BIND_PHONE?(this.clearLongTimeTimeout(),this.setChannelDisplayState(this.curChannel,Ae.ERROR),this.error={title:"尚未绑定手机号",desc:"为了保障您的资金安全,请先绑定手机号后继续。",btnText:"去绑定",onclick:()=>{window.location.href="".concat(this.sites.s_user,"person/bind_phone.html")},disabled:!1},this.payAutheckFinished=!0):i.action===D.SHOW_SMS_ERROR?(this.setChannelDisplayState(this.curChannel,Ae.ERROR),this.error={title:"短信验证码异常",desc:(r=(e=i.data)==null?void 0:e.smsSendResult)==null?void 0:r.sendRetMessage,btnText:"确认",disabled:!0},this.payAutheckFinished=!0):i.action===D.ERROR&&(Me.error(i.errMessage),i.errCode===nt.CHECK_PAY_AUTN_TOKEN_INVALID&&(this.payAuthToken=i.data.payAuthToken),this.payAutheckFinished=!0)}catch(n){this.payAutheckFinished=!0}},async handleResend(t){var e;try{const r=await this.useCase.resendCode({sceneType:r3[this.applyType]});r.action===D.SHOW_VERIFY_CODE?(this.validateData={applyType:bt.VERIFY,verifyData:r.data,errMsg:""},setTimeout(()=>t&&t())):r.action===D.SHOW_SMS_ERROR?(this.setChannelDisplayState(this.curChannel,Ae.ERROR),this.error={title:"短信验证码异常",desc:(e=r.data)==null?void 0:e.sendRetMessage,btnText:"确认",disabled:!0}):this.validateData={applyType:bt.VERIFY,verifyData:r.data,errMsg:r.errMessage}}catch(r){}},async handleScanCodePay(t,e){t.data&&(this.QRCodeData={codeType:e||this.curChannel.channel,...t.data,...t.data.payChannelData},this.QRCodeData.qrImgUrl&&(this.QRCodeData.qrImgUrl.includes("?")?this.QRCodeData.qrImgUrl="".concat(this.QRCodeData.qrImgUrl,"&t=").concat(Date.now()):this.QRCodeData.qrImgUrl="".concat(this.QRCodeData.qrImgUrl,"?t=").concat(Date.now())),e==="kfzApp"?this.showKfzAppQRCode=!0:this.setChannelDisplayState(this.curChannel,Ae.QRCODE),this.computedQRCodePosition())},handleKfzAppQRCode(){if(!this.kfzAppPayChannel||this.curChannel.pcPayType===Te.SCAN)return;const{paychannelSeqID:t,pcPayType:e,channel:r}=this.kfzAppPayChannel;this.startPay({paychannelSeqID:t,pcPayType:e,channel:r})},handleQRCodeRefresh(t){t==="kfzApp"?this.handleKfzAppQRCode():this.startPay()},computedQRCodePosition(){this.$nextTick(()=>{if(this.showKfzAppQRCode){this.qrcodeTop=Mr;return}const t=this.$refs.channelItem[this.index];if(!t)return;const e=t.offsetHeight,r=parseInt(window.getComputedStyle(this.$refs.channelItem[0]).marginBottom),n=(e+r)*this.index+Mr,i=this.$refs.channelItem.length*(e+r)-r,s=this.$refs.qrcode.$el.offsetHeight;let o=n-s/2+Mr;oMath.abs(i-s)&&(o=i-s+Mr),this.qrcodeTop=o})},handleClickBank(t){this.thirdPayFinished&&(this.thirdPayFinished=!1,this.channelList.forEach(e=>{e.channel==="BANK"&&e.payChannelInfoVos.forEach(r=>{r.checked=!1})}),t.checked=!0,this.startPay({paychannelSeqID:t.paychannelSeqID}))},handleThirdPay(t){if(!t.data)return;const{gateway:e,requestParams:r}=t.data.payChannelData;this.useCase.sendDataByForm(e,r),setTimeout(()=>{this.thirdPayFinished=!0,this.channelList.forEach(n=>{var i;n.channel==="BANK"&&((i=n.payChannelInfoVos)==null||i.forEach(s=>{s.checked=!1}))})},1e3)},handlePay(){this.thirdPayFinished&&(this.thirdPayFinished=!1,this.applyType==="topUp"&&this.curChannel.pcPayType===Te.SELF?this.handleSubmitPay():this.startPay())},async startPay(t={}){const{paychannelSeqID:e,pcPayType:r,amount:n}=t;if(this.applyType==="pay"&&(r||this.curChannel.pcPayType!==Te.SELF))return this.handleSubmitPay(t);if(this.applyType==="topUp")return this.curChannel.pcPayType!==Te.SELF||this.kfzAppPayChannel?this.handleSubmitPay(t):void 0;try{const i=await this.useCase.payAuthCheckInit({sceneType:r3[this.applyType],amount:n||(this.curChannel.brokageInfo||{}).shouldPayAmount,selChannelID:e||this.curChannel.paychannelSeqID,business:this.payInfo.business});i.action===D.SHOW_OLD_PASS||i.action===D.SHOW_NUM_PASS?this.handleSelfPay(i):i.action===D.NEXT?this.handleSubmitPay(t):i.action===D.SHOW_DIALOG||(i.action===D.ACCOUNT_NOT_ACTIVE?Ue.confirm("为保障您资金安全,请设置支付密码后付款。","设置支付密码",{okText:"去设置",cancelText:"取消",headerBorder:!1,width:"320px"}).then(()=>{window.location.href="".concat(this.sites.s_pay,"openAccount.html")}).catch(()=>{}):i.action===D.ERROR&&Me.error(i.errMessage))}catch(i){}},async handleSubmitPay(t={}){const{payAuthToken:e,paychannelSeqID:r,pcPayType:n,channel:i}=t;try{const s={payId:this.payInfo.payId,paychannelSeqID:r||this.curChannel.paychannelSeqID,payType:n||this.curChannel.pcPayType};e&&(s.payAuthToken=e),(this.curChannel.pcPayType===Te.THIRD||this.curChannel.pcPayType===Te.SELF)&&(this.submitPayTime=Date.now());const o=await this.useCase.submitPay(s);o.action===D.SHOW_QRCODE?this.handleScanCodePay(o,i):o.action===D.SHOW_INNER_ERROR?this.curChannel.pcPayType===Te.SCAN&&(this.QRCodeData={codeType:i||this.curChannel.channel,errMessage:o.errMessage,errCode:o.errCode},this.setChannelDisplayState(this.curChannel,Ae.QRCODE),this.computedQRCodePosition()):o.action===D.PAY_SUBMIT_SUCCESS?this.curChannel.pcPayType===Te.SELF&&(this.clearLongTimeTimeout(),this.getPayResult()):o.action===D.THIRD_PAY?this.handleThirdPay(o):o.action===D.SHOW_DIALOG?(this.thirdPayFinished=!0,this.handleShowDialog(o.data.popupVo,async()=>{this.$emit("channel:updateAmout",o.data.payAmount);const a=2e3-(Date.now()-this.submitPayTime);setTimeout(async()=>{this.curChannel.pcPayType===Te.SELF&&(this.selfChannelContinue=!0),await l3(()=>this.getChannelInfo()),(this.curChannel.pcPayType===Te.THIRD||this.curChannel.pcPayType===Te.SELF)&&(this.handleSubmitPay(t),this.curChannel.pcPayType===Te.SELF&&(this.selfChannelContinue=!1))},a>0?a:0)})):o.action===D.ERROR&&(this.thirdPayFinished=!0,Me.error(o.errMessage),o.errCode===nt.SUBMIT_PAY_AUTN_TOKEN_INVALID&&this.startPay(t))}catch(s){this.thirdPayFinished=!0}finally{this.payAutheckFinished=!0}},handleShowDialog(t,e){const{buttons:r,text:n,title:i}=t;let s={},o={};r.forEach(a=>{a.buttonColor==="cred6"?(s.text=a.text,s.action=this._getBtnAction(a,e)):(o.text=a.text,o.action=this._getBtnAction(a,e))}),Ue[r.length>1?"confirm":"alert"](n,i||"",{okText:s.text||"",cancelText:o.text||"",width:"320px"}).then(()=>{s.action&&s.action()}).catch(()=>{o.action&&o.action()})},_getBtnAction(t,e){switch(t.actionType){case"back":return()=>{this.returnUrl?window.location.href=decodeURIComponent(this.returnUrl):history.back()};case"close":return()=>{this.$emit("channel:updatePayInfo")};case"refresh":return()=>{window.location.reload()};case"continue":return()=>{typeof e=="function"&&e()};case"goto":return()=>{window.location.href=t.pcUrl};case"success":return()=>{window.location.href="".concat(this.sites.s_pay,"views/payment/result?id=").concat(this.payInfo.payId)};default:return()=>{}}},longTimeTimer(t){const{start:e,stop:r}=this.useCase.setCountdown(t,n=>{this.clearLongTimeTimeout()},()=>{this.clearLongTimeTimeout(),Ue.alert("您在当前页面停留时间过长,为保障您的资金安全,请重新输入支付密码。",{okText:"我知道了",width:"320px"}).then(()=>{this.setChannelDisplayState(this.curChannel,Ae.VALIDATOR),this.error={title:"",desc:"",btnText:"",disabled:!1},this.startPay()})});return e(),r},clearLongTimeTimeout(){typeof this.stopLongTimeFn=="function"&&this.stopLongTimeFn()},async getPayResult(){try{const t=await this.useCase.getPayResult({payReqUnifiedID:this.payInfo.payId});t.action===D.PAY_SUCCESS?t.data.webReturnUrl&&(location.href=t.data.webReturnUrl):t.action===D.ERROR&&(Me.error(t.errMessage),t.errCode===nt.PAY_RESULT_NOT_ALLOWED_OPERATE&&this.$emit("channel:error",{code:t.errCode,message:t.errMessage}))}catch(t){}}}},oi=t=>(aa("data-v-c8a274bc"),t=t(),la(),t),Tte={key:0,class:"channel-left"},Ete={class:"channel-list",ref:"list"},Ite={class:"channel-info"},kte={class:"left"},xte=["src"],Lte={class:"channel-name"},Ote={class:"center"},Nte={key:0,class:"channel-desc"},Rte={key:1,class:"tags-wrap"},Dte={key:2,class:"channel-ad"},Bte={class:"right"},$te={key:0,class:"payment-amount"},Pte=oi(()=>u("span",{class:"payment-title"},"支付金额",-1)),Mte={class:"amount"},Fte=oi(()=>u("span",{class:"k_price_18_brand_primary_rmb"},"¥",-1)),Ute={class:"k_price_18_brand_primary"},zte=oi(()=>u("div",null,null,-1)),Vte={key:1,class:"ext-desc"},jte=["href"],Hte={key:1,class:"error"},qte={class:"error-content"},Kte=oi(()=>u("img",{src:Cte,alt:""},null,-1)),Qte={class:"error-text"},Wte={class:"error-title"},Gte={class:"error-desc"},Zte={key:2,class:"banks-list"},Yte=["onClick"],Jte={class:"bank-text"},Xte=["src"],ere=oi(()=>u("div",{class:"hidden-channel-text"},[V(" 更多支付方式 "),u("span",{class:"icon-arrow-down k-iconfont k-icon-xiajiantou"})],-1)),tre={key:1,class:"fee-tip",href:"https://help.kongfz.com/help-views/pc-help/detail?id=844",target:"_blank"},rre=oi(()=>u("span",{class:"k-iconfont k-icon-question-outline"},null,-1)),nre={key:0,class:"only-channel-tip"},ire={class:"k_tv_20_text_primary_medium"},sre={class:"t_tv_14_text_secondary"},ore={key:1,src:Ate,alt:""};function are(t,e,r,n,i,s){const o=se("k-tag"),a=se("Validator"),l=se("k-button"),c=N3,h=R3,f=se("QRCode");return i.channelList.length||i.isOnlyKfzAppChannel?(g(),v("div",{key:0,class:"channel-wrap",style:ve({width:r.width})},[i.channelList.length?(g(),v("div",Tte,[u("div",Ete,[B(h,{modelValue:i.channel,"onUpdate:modelValue":e[0]||(e[0]=d=>i.channel=d)},{default:F(()=>[(g(!0),v(P,null,oe(i.channelList,(d,p)=>(g(),v("div",{ref_for:!0,ref:"channelItem",class:T(["channel-item",{disabled:s.isDisabled(d)},{checked:d.channel===i.channel}]),key:p},[B(c,{label:d.channel,disabled:s.isDisabled(d),onChange:y=>s.handleChannelChange(y,d,p)},{default:F(()=>[u("div",Ite,[u("div",kte,[u("img",{class:"channel-icon",src:d.iconUrl,alt:""},null,8,xte),u("div",Lte,C(d.paychannelName),1)]),u("div",Ote,[d.describe?(g(),v("div",Nte,C(d.describe),1)):b("",!0),(d.topTags||[]).length?(g(),v("div",Rte,[(g(!0),v(P,null,oe(d.topTags,(y,m)=>(g(),ne(o,{class:"tag",key:m,type:y.style.replace("style_",""),effect:y.color,text:y.text},null,8,["type","effect","text"]))),128))])):b("",!0),d.ad?(g(),v("div",Dte,C(d.des),1)):b("",!0)]),u("div",Bte,[(d.brokageInfo||{}).shouldPayAmount&&d.channel===i.channel&&!s.isDisabled(d)&&s.getChannelDisplayState(d)!==i.CHANNEL_DISPLAY_STATE.COMBINED?(g(),v("div",$te,[Pte,u("span",Mte,[Fte,u("span",Ute,C(d.brokageInfo.shouldPayAmount),1)])])):b("",!0),zte,d.extDescribe?(g(),v("div",Vte,[V(C(d.extDescribe)+" ",1),d.locked&&!d.isFrozen?(g(),v("a",{key:0,class:"link-btn",href:"".concat(r.sites.s_pay,"account/findPwd.html"),target:"_blank"},"找回支付密码",8,jte)):b("",!0)])):b("",!0)])]),u("div",{class:T(["channel-item-bottom",{"show-banks":s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.BANKS,"show-validator":s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.VALIDATOR,"show-btn":s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.PAY_BUTTON,"show-error":s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.ERROR}]),style:ve({height:s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.BANKS?"".concat(Math.ceil(d.payChannelInfoVos.length/4)*55,"px"):""})},[s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.VALIDATOR?(g(),ne(a,{key:0,ref_for:!0,ref:"validatorRef",data:i.validateData,sites:r.sites,onConfirm:s.handleValidatorConfirm,"onVerifyCode:resend":s.handleResend},null,8,["data","sites","onConfirm","onVerifyCode:resend"])):b("",!0),s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.ERROR?(g(),v("div",Hte,[u("div",qte,[Kte,u("div",Qte,[u("p",Wte,C(i.error.title),1),u("p",Gte,C(i.error.desc),1)])]),B(l,{class:"operate-btn",width:"246px",disabled:i.error.disabled,onClick:i.error.onclick},{default:F(()=>[V(C(i.error.btnText),1)]),_:1},8,["disabled","onClick"])])):b("",!0),s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.BANKS?(g(),v("div",Zte,[(g(!0),v(P,null,oe(d.payChannelInfoVos,(y,m)=>(g(),v("div",{class:T(["bank",{checked:y.checked}]),key:m,onClick:_=>s.handleClickBank(y)},[u("span",{class:T(["bank-icon","bank-iconfont",i.bankIconMap[y.chCode]?"bank-icon-".concat(i.bankIconMap[y.chCode]):"",{"is-ipad":s.isIpad}])},null,2),u("span",Jte,C(y.paychannelName),1)],10,Yte))),128))])):b("",!0),s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.PAY_BUTTON?(g(),ne(l,{key:3,class:"pay-btn",type:"fill",width:"252px",onClick:s.handlePay},{default:F(()=>[V(C(s.getPayButtonText(d.channel)),1)]),_:2},1032,["onClick"])):b("",!0)],6)]),_:2},1032,["label","disabled","onChange"])],2))),128))]),_:1},8,["modelValue"])],512),i.hiddenChannels.length?(g(),v("div",{key:0,class:"hidden-channels",onClick:e[1]||(e[1]=(...d)=>s.handleShowHiddenChannels&&s.handleShowHiddenChannels(...d))},[(g(!0),v(P,null,oe(i.hiddenChannels,(d,p)=>(g(),v("div",{class:"hidden-channel-item",key:p},[u("img",{src:d,alt:""},null,8,Xte)]))),128)),ere])):b("",!0),i.channelList.length?(g(),v("a",tre,[rre,V("为什么有手续费?")])):b("",!0)])):b("",!0),i.isOnlyKfzAppChannel||i.channelList.length?(g(),v("div",{key:1,class:T(["channel-right",{"only-kfz-app":i.isOnlyKfzAppChannel}])},[i.isOnlyKfzAppChannel?(g(),v("div",nre,[u("p",ire,C(r.applyType==="pay"?"App扫码付款":"App扫码支付"),1),u("p",sre,C(r.applyType==="pay"?"请使用孔夫子旧书网App扫码下方二维码付款":"请使用孔夫子旧书网App扫描下方二维码"),1)])):b("",!0),u("div",{class:T(["qrcode-wrapper",{"only-app-wrapper":i.isOnlyKfzAppChannel}])},[s.getChannelDisplayState(i.curChannel)===i.CHANNEL_DISPLAY_STATE.QRCODE||i.showKfzAppQRCode?(g(),ne(f,{key:0,ref:"qrcode",top:i.qrcodeTop,applyType:r.applyType,payId:this.payInfo.payId,codeType:i.QRCodeData.codeType,data:i.QRCodeData,isOnlyKfzAppChannel:i.isOnlyKfzAppChannel,"onQrcode:refresh":s.handleQRCodeRefresh,"onQrcode:error":e[2]||(e[2]=d=>t.$emit("channel:error",d))},null,8,["top","applyType","payId","codeType","data","isOnlyKfzAppChannel","onQrcode:refresh"])):b("",!0),i.showKfzAppQRCode&&i.isOnlyKfzAppChannel?(g(),v("img",ore)):b("",!0)],2)],2)):b("",!0)],4)):b("",!0)}const lre=ye(Ste,[["render",are],["__scopeId","data-v-c8a274bc"]]);ze(lre);const cre={name:"KPassword",props:{errMsg:{type:String,default:""},sites:{type:Object,required:!0,default:{}},width:{type:String,default:"100%"},failNum:{type:Number,default:0}},emits:["password:finish","password:enter"],data(){return{form:{password:""},rules:{password:[{required:!0,message:"请输入支付密码",trigger:"blur"},{validator:(t,e,r)=>{(e.length<6||e.length>20)&&r(new Error("支付密码应为6-20位")),r()}}]}}},watch:{failNum(t){this.errMsg&&(this.$refs.password.validateState="error",this.$refs.password.validateMessage=this.errMsg,this.form.password="")},"form.password"(t){const e=t.trim();e.length>5&&e.length<21?this.$emit("password:finish",!0):this.$emit("password:finish",!1)}},mounted(){this.$refs.passwordInput&&(this.$refs.passwordInput.focus(),document.querySelector(".passwordInput .el-input__wrapper").classList.add("is-focus"))},methods:{handleFocus(){this.$refs.password.validateState="",this.$refs.password.validateMessage=""},async validate(){try{return{validate:await this.$refs.form.validate(),data:{password:this.form.password.trim()}}}catch(t){return{validate:!1,data:{}}}},handleEnter(){this.$emit("password:enter")},clear(){this.form.password="",this.$refs.form.resetFields()}}},ure={class:"payment-password"},hre=["href"];function fre(t,e,r,n,i,s){const o=Zr,a=ss,l=os;return g(),v("div",ure,[B(l,{ref:"form",model:i.form,rules:i.rules,onSubmit:e[1]||(e[1]=ue(()=>{},["prevent"]))},{default:F(()=>[B(a,{prop:"password",ref:"password"},{default:F(()=>[B(o,{ref:"passwordInput",class:"passwordInput",type:"password",style:ve({width:r.width}),modelValue:i.form.password,"onUpdate:modelValue":e[0]||(e[0]=c=>i.form.password=c),placeholder:"请输入支付密码",clearable:"","auto-complete":"new-password","validate-event":!1,size:"large",onFocus:s.handleFocus,onKeyup:Wt(s.handleEnter,["enter"])},null,8,["style","modelValue","onFocus","onKeyup"]),u("a",{class:"forget-password",href:"".concat(r.sites.s_pay,"account/findPwd.html"),target:"_blank"},"忘记密码? ",8,hre)]),_:1},512)]),_:1},8,["model","rules"])])}const dre=ye(cre,[["render",fre],["__scopeId","data-v-a1e5280c"]]),pre={name:"KVerifyCode",props:{data:{type:Object,default:()=>({intervalTime:0,sendOkMsg:"",sendStatus:!0,sendRetMessage:""})},errMsg:{type:String,default:""},width:{type:String,default:"100%"},failNum:{type:Number,default:0}},emits:["verifyCode:resend","verifyCode:finish","verifyCode:enter"],data(){return{countdown:0,timer:null,initData:{},form:{code:""},rules:{code:[{required:!0,message:"请输入6位验证码",trigger:"blur"}]},autofocus:!1}},watch:{"data.sendStatus":{handler(t){t===!1&&(clearTimeout(this.timer),this.$nextTick(()=>{this.$refs.code.validateMessage=this.data.sendRetMessage,this.$refs.code.validateState="error"}))},immediate:!0},failNum:{handler(t){this.errMsg&&this.$nextTick(()=>{this.$refs.code.validateMessage=this.errMsg,this.$refs.code.validateState="error",this.form.code=""})},immediate:!0},"form.code":{handler(t){t.trim().length===6?this.$emit("verifyCode:finish",!0):this.$emit("verifyCode:finish",!1)},immediate:!0}},mounted(){this.init()},beforeUnmount(){clearTimeout(this.timer)},methods:{init(){this.initData=JSON.parse(JSON.stringify(this.data)),this.data.sendStatus&&this.setCountdown(),this.$refs.codeInput&&(this.$refs.codeInput.focus(),document.querySelector(".code-input .el-input__wrapper").classList.add("is-focus"))},setCountdown(){const{intervalTime:t}=this.data;this.countdown=t;const e=Date.now()+t*1e3,r=()=>{if(this.timer&&clearTimeout(this.timer),this.countdown<=0){clearTimeout(this.timer),this.countdown=0;return}this.timer=setTimeout(()=>{this.countdown=Math.round((e-Date.now())/1e3),r()},1e3)};r()},_isNumber(t){return/^\d{1}/.test(t)},handleInput(t){const e=t.trim();this._isNumber(e)||(this.form.code="")},handleFocus(){this.$refs.code.validateState="",this.$refs.code.validateMessage=""},handleResend(){this.form.code="",this.$emit("verifyCode:resend",()=>{this.init()})},async validate(){try{return{validate:await this.$refs.form.validate(),data:{verifyCode:this.form.code}}}catch(t){return{validate:!1,data:{}}}},handleEnter(){this.$emit("verifyCode:enter")},clear(){this.form.code="",this.$refs.form.resetFields()}}},gre={class:"verify-code-wrap"},vre={class:"send-ok-msg"},yre={class:"send-text"},mre=["href"],bre={key:0,class:"countdown"};function _re(t,e,r,n,i,s){const o=Zr,a=ss,l=os;return g(),v("div",gre,[u("div",vre,[u("p",yre,C(i.initData.sendOkMsg),1),i.initData.reBindMobileLink&&i.initData.sendOkMsg?(g(),v("a",{key:0,class:"tip-link",href:i.initData.reBindMobileLink.pcUrl},"修改",8,mre)):b("",!0)]),B(l,{ref:"form",onSubmit:e[2]||(e[2]=ue(()=>{},["prevent"])),model:i.form,rules:i.rules},{default:F(()=>[B(a,{ref:"code",prop:"code"},{default:F(()=>[B(o,{style:ve({width:r.width}),ref:"codeInput",class:"code-input",modelValue:i.form.code,"onUpdate:modelValue":e[1]||(e[1]=c=>i.form.code=c),maxlength:"6",placeholder:"请输入验证码","validate-event":!1,size:"large",onInput:s.handleInput,onFocus:s.handleFocus,onKeyup:Wt(s.handleEnter,["enter"])},{suffix:F(()=>[i.countdown>0?(g(),v("span",bre,C(i.countdown),1)):b("",!0),i.countdown===0?(g(),v("span",{key:1,class:"retry-btn",onClick:e[0]||(e[0]=(...c)=>s.handleResend&&s.handleResend(...c))},"重新获取")):b("",!0)]),_:1},8,["style","modelValue","onInput","onFocus","onKeyup"])]),_:1},512)]),_:1},8,["model","rules"])])}const wre=ye(pre,[["render",_re],["__scopeId","data-v-d79e25a4"]]),Cre={name:"KNumPassword",props:{errMsg:{type:String,default:""},sites:{type:Object,required:!0,default:{}},failNum:{type:Number,default:0}},emits:["numPassword:finish","numPassword:enter"],data(){return{codeArr:[]}},watch:{failNum:{handler(t){this.errMsg&&(this.$refs.code.validateMessage=this.errMsg,this.$refs.code.validateState="error",this.codeArr=[],this.setInputFocus(0))}},codeArr:{handler(t){t.filter(Boolean).length===6?this.$emit("numPassword:finish",!0):this.$emit("numPassword:finish",!1)},immediate:!0,deep:!0}},computed:{password(){return this.codeArr.join("")},isSafari(){return navigator.userAgent.indexOf("Safari")>-1},isIpad(){return Qr.isIpad}},mounted(){this.$refs.codeInput&&this.setInputFocus(0),document.addEventListener("paste",this.handlePaste)},beforeUnmount(){document.removeEventListener("paste",this.handlePaste)},methods:{_isNumber(t){return/^\d+$/.test(t)},setInputFocus(t){const e=document.querySelectorAll(".code-input .el-input__wrapper")||[];e[t]&&e[t].classList.add("is-focus"),setTimeout(()=>{this.$refs.codeInput[t].focus(),t===5&&this.$nextTick(()=>{e[t].classList.remove("is-focus")})},50)},handleInput(t,e){const r=t.trim();this._isNumber(r)||r===""?(this.codeArr[e]=r,this.$refs.codeInput[e+1]&&this._isNumber(r)&&this.setInputFocus(e+1)):this.codeArr[e]=""},handleChange(){this.$refs.code.validateMessage="",this.$refs.code.validateState=""},handleDelete(t,e){t.target.value===""&&this.$refs.codeInput[e-1]&&this.$refs.codeInput[e-1].focus()},async customValidate(){return this.password.length!==6?(this.$refs.code.validateMessage="请输入6位数字密码",this.$refs.code.validateState="error",!1):(this.$refs.code.validateMessage="",this.$refs.code.validateState="",!0)},async validate(){try{return{validate:await this.customValidate(),data:{password:this.password}}}catch(t){return{validate:!1,data:{}}}},handleEnter(){this.$emit("numPassword:enter")},clear(){this.codeArr=[],this.$refs.form.resetFields()},handlePaste(t){const e=t.clipboardData.getData("text");if(this._isNumber(e)){this.codeArr=e.split("");const r=this.$refs.codeInput[e.length]?e.length:5;this.setInputFocus(r)}else this.$nextTick(()=>{this.codeArr=[],this.$refs.form.resetFields()})}}},Are={class:"num-password-wrap"},Sre=["href"];function Tre(t,e,r,n,i,s){const o=Zr,a=ss,l=os;return g(),v("div",Are,[B(l,{ref:"form",onSubmit:e[0]||(e[0]=ue(()=>{},["prevent"]))},{default:F(()=>[B(a,{ref:"code",prop:"code"},{default:F(()=>[(g(),v(P,null,oe(6,(c,h)=>B(o,{ref_for:!0,ref:"codeInput",class:T(["code-input",{"is-safari":s.isSafari},{"is-ipad":s.isIpad}]),type:"password",key:h,modelValue:i.codeArr[h],"onUpdate:modelValue":f=>i.codeArr[h]=f,maxlength:"1",onInput:f=>s.handleInput(f,h),onChange:s.handleChange,onKeydown:Wt(f=>s.handleDelete(f,h),["delete"]),onKeyup:Wt(s.handleEnter,["enter"])},null,8,["class","modelValue","onUpdate:modelValue","onInput","onChange","onKeydown","onKeyup"])),64)),u("a",{class:"forget-password",href:"".concat(r.sites.s_pay,"account/findPwd.html"),target:"_blank"},"忘记密码? ",8,Sre)]),_:1},512)]),_:1},512)])}const Ere=ye(Cre,[["render",Tre],["__scopeId","data-v-f06cc26f"]]),Ire={name:"KAmount",props:{modelValue:{type:String,default:""},minAmount:{type:[String,Number],default:""},maxAmount:{type:[String,Number],default:""},amountDesc:{type:String,default:"金额"}},data(){return{form:{amount:""},displayAmount:"",rules:{amount:[{required:!0,message:"请输入".concat(this.amountDesc),trigger:"blur"},{validator:(t,e,r)=>{this.maxAmount&&parseFloat(e)>parseFloat(this.maxAmount)?(r(new Error("".concat(this.amountDesc,"不能超过 ").concat(this.maxAmount,"元"))),this.$emit("amount:error",!0)):this.minAmount&&parseFloat(e)2&&(e=r[0]+"."+r.slice(1).join("")),e.includes(".")){const[n,i]=e.split(".");i&&i.length>2&&(e=n+"."+i.substring(0,2))}this.form.amount!==e&&(this.form.amount=e),this.displayAmount=this.formatThousands(e)},async validate(){try{return{validate:await this.$refs.form.validate(),data:{amount:this.form.amount.trim()}}}catch(t){return{validate:!1,data:{}}}},setInputFocus(){this.$refs.inputRef.focus()}}};function kre(t,e,r,n,i,s){const o=Zr,a=ss,l=os;return g(),v("div",null,[B(l,{model:i.form,rules:i.rules,ref:"form",onSubmit:e[1]||(e[1]=ue(()=>{},["prevent"]))},{default:F(()=>[B(a,{prop:"amount"},{default:F(()=>[B(o,zr({ref:"inputRef",modelValue:i.displayAmount,"onUpdate:modelValue":e[0]||(e[0]=c=>i.displayAmount=c)},t.$attrs,{onInput:s.handleInput}),k3({_:2},[oe(t.$slots,(c,h)=>({name:h,fn:F(f=>[ge(t.$slots,h,R8(D8(f||{})))])}))]),1040,["modelValue","onInput"])]),_:3})]),_:3},8,["model","rules"])])}const xre=ye(Ire,[["render",kre]]),Lre=ze(dre),Ore=ze(wre),Nre=ze(Ere);ze(xre);const Rre="https://static.kongfz.com/search-v3/assets/images/empty_02-D7H0Yi51.png",Dre={name:"KSelectAddressPopover",emits:["change","show","hide"],props:{addressList:{type:Array,default:()=>[]},theme:{type:String,default:"primary"},addressId:{type:[Number,String]},trigger:{type:String,default:"click"},placement:{type:String,default:"bottom-end"},width:{type:String,default:"400"},site:{type:Object,default:{}}},data(){return{currentAddressId:"",searchText:""}},computed:{filteredAddressList(){if(!this.searchText)return this.addressList;const t=this.searchText.toLowerCase();return this.addressList.filter(e=>{const r=e.areaInfo||{};return"".concat(e.receiverName||""," ").concat(e.mobile||e.phoneNum||""," ").concat(r.provName||"").concat(r.cityName||"").concat(r.areaName||""," ").concat(e.address||"").toLowerCase().includes(t)})}},watch:{addressId:{handler(t){this.currentAddressId=t},immediate:!0}},methods:{isSelected(t){return t.addrId==this.currentAddressId},selectAddress(t){this.currentAddressId=t.addrId,this.$emit("change",t),document.activeElement instanceof HTMLElement&&document.activeElement.blur(),this.$refs.popover.hide()},closePopover(){document.activeElement instanceof HTMLElement&&document.activeElement.blur(),this.$refs.popover.hide()},handleManage(){window.open("".concat(this.site.s_user,"buyer/receive_address.html"),"_blank"),this.closePopover()},scrollToSelected(){this.$nextTick(()=>{const t=this.filteredAddressList.findIndex(e=>this.isSelected(e));if(t>-1&&this.$refs.items&&this.$refs.items[t]){const e=this.$refs.items[t],r=this.$refs.contentWrap,n=e.offsetTop,i=n+e.offsetHeight,s=r.scrollTop,o=s+r.offsetHeight;no&&(r.scrollTop=i-r.offsetHeight)}})},onHide(){this.$emit("hide"),this.searchText=""},onShow(){this.$emit("show"),this.scrollToSelected()}}},Bre={class:"address-header"},$re=u("span",{class:"title"},"我的地址",-1),Pre={class:"header-right"},Mre={class:"address-list"},Fre={class:"select-content-wrap",ref:"contentWrap"},Ure=["onClick"],zre={class:"address-info"},Vre={class:"info-row"},jre={key:0,class:"default-tag"},Hre={class:"name"},qre={class:"mobile"},Kre={class:"area"},Qre={class:"info-row detail-row"},Wre={class:"detail"},Gre={key:0,class:"k-iconfont k-icon-gou check-icon"},Zre={key:0,class:"empty-list"},Yre=u("p",null,[u("img",{src:Rre,alt:""})],-1);function Jre(t,e,r,n,i,s){const o=Zr,a=V8;return g(),ne(a,{"popper-class":"select-addr-popover",trigger:r.trigger,placement:r.placement,width:r.width,ref:"popover",onShow:s.onShow,onHide:s.onHide},{reference:F(()=>[ge(t.$slots,"reference")]),default:F(()=>[u("div",{class:T(["address-list-wrap","address-list-wrap-".concat(r.theme)])},[u("div",Bre,[$re,u("div",Pre,[B(o,{modelValue:i.searchText,"onUpdate:modelValue":e[0]||(e[0]=l=>i.searchText=l),placeholder:"搜索地址",size:"small",class:"search-input",clearable:""},null,8,["modelValue"]),u("span",{class:"manage-btn",onClick:e[1]||(e[1]=(...l)=>s.handleManage&&s.handleManage(...l))},"管理地址"),u("i",{class:"k-iconfont k-icon-guanbi close-btn",onClick:e[2]||(e[2]=(...l)=>s.closePopover&&s.closePopover(...l))})])]),u("div",Mre,[u("div",Fre,[(g(!0),v(P,null,oe(s.filteredAddressList,(l,c)=>(g(),v("div",{key:l.addrId,class:T(["content",[s.isSelected(l)?"active":""]]),onClick:h=>s.selectAddress(l),ref_for:!0,ref:"items"},[u("div",zre,[u("div",Vre,[l.isDefault==1?(g(),v("span",jre,"默认")):b("",!0),u("span",Hre,C(l.receiverName),1),u("span",qre,C(l.mobile||l.phoneNum),1),u("span",Kre,C(l.areaInfo.provName)+" "+C(l.areaInfo.cityName)+" "+C(l.areaInfo.areaName),1)]),u("div",Qre,[u("span",Wre,C(l.address),1)])]),s.isSelected(l)?(g(),v("i",Gre)):b("",!0)],10,Ure))),128)),s.filteredAddressList.length===0?(g(),v("div",Zre,[Yre,u("p",null,C(r.addressList.length===0?"暂无地址":"暂无相关地址"),1),u("button",{class:"add-btn",onClick:e[3]||(e[3]=(...l)=>s.handleManage&&s.handleManage(...l))}," 添加新地址 ")])):b("",!0)],512)])],2)]),_:3},8,["trigger","placement","width","onShow","onHide"])}const Xre=ye(Dre,[["render",Jre]]),_ie=ze(Xre),c3=B3(),ene=t=>{const e=Z.create({timeout:1e4,...t});return e.interceptors.request.use(r=>(r.method==="get"&&(r.params={...r.params,_t:Date.now()}),r)),e.interceptors.response.use(r=>{if(r.status===200){const{status:n,errMessage:i,message:s,errCode:o}=r.data;if(!n){if(o&&Number(o)===100)return sessionStorage.__isJumpToLogin==="true"||(sessionStorage.__isJumpToLogin=!0,c3&&window.location.replace("".concat(c3.s_login,"?mustLogin=1&returnUrl=").concat(encodeURIComponent(window.location.href))),sessionStorage.__isJumpToLogin=!1),Promise.reject();if(r.config.isBypassInterceptor)return r.data;{const a=i||s||"Error: Request failed";return Me.error(a),Promise.reject(a)}}return r.config.isBypassInterceptor,r.data}return r},r=>{const n=r.toString();return n.includes("canceled")||Me.error("网络异常,请稍后再试"),Promise.reject(n)}),e},gc=ene({baseURL:"/pc-gw/pay-web/pc"}),tne=t=>gc.post("/payAuth/payAuthCheckInit",null,{params:t,isBypassInterceptor:!0}),rne=t=>gc.post("/payAuth/payAuthCheck",null,{params:t,isBypassInterceptor:!0}),nne=t=>gc.post("/payAuth/sendAuthSmsCode",null,{params:t,isBypassInterceptor:!0}),hr={QR_CODE_REQUEST_FREQUENT:"325",QR_CODE_PAGE_TIME_OUT:"19",CHECK_TIME_OUT:"212",ACCOUNT_NOT_ACTIVE:"200",PASSWORD_LOCKED:"204",NOT_BIND_PHONE:"101",CHECK_PAY_AUTN_TOKEN_INVALID:"206",SUBMIT_PAY_AUTN_TOKEN_INVALID:"316",PAY_PASSWORD_ERROR:"205",SMS_CODE_ERROR:"208",SMS_CODE_CHECK_ERROR:"209",NOT_CURRENT_USER:"320",PAY_RESULT_NOT_ALLOWED_OPERATE:"107"},xt={OLD_PASS:"oldPass",VERIFY:"verify",NUM_PASS:"num"},te={NEXT:"next",SHOW_OLD_PASS:"showOldPass",SHOW_NUM_PASS:"showNumPass",SHOW_VERIFY_CODE:"showVerifyCode",SHOW_DIALOG:"showDialog",ERROR:"error",SHOW_INNER_ERROR:"showInnerError",SHOW_QRCODE:"showQrcode",THIRD_PAY:"thirdPay",PAY_SUBMIT_SUCCESS:"paySubmitSuccess",PAY_SUCCESS:"paySuccess",ACCOUNT_NOT_ACTIVE:"accountNotActive",NOT_BIND_PHONE:"notBindPhone",PASSWORD_LOCKED:"passwordLocked",SHOW_SMS_ERROR:"showSmsError"},gt={NONE_AUTH:0,OLD_PASS:1,NUM_PASS:2,SMS_CODE:5},ine="TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFpQllad3JjU1YyRk91UHRsVzRROVlHN2RLRXBDamVYVWdLRFFEWHBOQWVveVV5NExyYS9OdDlaa1ZoZXZ6Q1BOSTh0d3pjNkJ3bDRmeGhZZC9TZzUyRUlTSXpyYVR1Q0FwWXVBM2V1dUU0RSs5U3B6Y01lWmhvSGo4WHBIT1ROeld5MzlYMXNjRUlRUEY4NFZqbjBpTzhzd0UybGVDMDBPalZCNkZTY3dHNWtRNFU2M1IxcndQbExIaHlySE9mUytrUTl3NnVINEtZN2VOdnRTWUxuZVpYMFhtWHFnaFkva0hzaW9VUWtPTkNad3ZFQkIvVHNIM1NyR1d1bTNwc0hYaUUzWFJhOE5DQW91eTk2dUdiUGdsempRRG8waXdBb0dWT0tLSGJGMWVDeVJMS2JTNzFuellyT2JtMTdzVVZONHQzaUMrNDdGWHphYSs2ejU1eUtidndJREFRQUI=";var sne="0123456789abcdefghijklmnopqrstuvwxyz";function Qt(t){return sne.charAt(t)}function one(t,e){return t&e}function po(t,e){return t|e}function u3(t,e){return t^e}function h3(t,e){return t&~e}function ane(t){if(t==0)return-1;var e=0;return t&65535||(t>>=16,e+=16),t&255||(t>>=8,e+=8),t&15||(t>>=4,e+=4),t&3||(t>>=2,e+=2),t&1||++e,e}function lne(t){for(var e=0;t!=0;)t&=t-1,++e;return e}var Cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_8="=";function Gi(t){var e,r,n="";for(e=0;e+3<=t.length;e+=3)r=parseInt(t.substring(e,e+3),16),n+=Cn.charAt(r>>6)+Cn.charAt(r&63);for(e+1==t.length?(r=parseInt(t.substring(e,e+1),16),n+=Cn.charAt(r<<2)):e+2==t.length&&(r=parseInt(t.substring(e,e+2),16),n+=Cn.charAt(r>>2)+Cn.charAt((r&3)<<4));(n.length&3)>0;)n+=_8;return n}function f3(t){var e="",r,n=0,i=0;for(r=0;r>2),i=s&3,n=1):n==1?(e+=Qt(i<<2|s>>4),i=s&15,n=2):n==2?(e+=Qt(i),e+=Qt(s>>2),i=s&3,n=3):(e+=Qt(i<<2|s>>4),e+=Qt(s&15),n=0))}return n==1&&(e+=Qt(i<<2)),e}var gn,cne={decode:function(t){var e;if(gn===void 0){var r="0123456789ABCDEF",n=" \f\n\r  \u2028\u2029";for(gn={},e=0;e<16;++e)gn[r.charAt(e)]=e;for(r=r.toLowerCase(),e=10;e<16;++e)gn[r.charAt(e)]=e;for(e=0;e=2?(i[i.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return i}},Fr,P2={decode:function(t){var e;if(Fr===void 0){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="= \f\n\r  \u2028\u2029";for(Fr=Object.create(null),e=0;e<64;++e)Fr[r.charAt(e)]=e;for(Fr["-"]=62,Fr._=63,e=0;e=4?(i[i.length]=s>>16,i[i.length]=s>>8&255,i[i.length]=s&255,s=0,o=0):s<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:i[i.length]=s>>10;break;case 3:i[i.length]=s>>16,i[i.length]=s>>8&255;break}return i},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=P2.re.exec(t);if(e)if(e[1])t=e[1];else if(e[2])t=e[2];else throw new Error("RegExp out of sync");return P2.decode(t)}},vn=1e13,Li=function(){function t(e){this.buf=[+e||0]}return t.prototype.mulAdd=function(e,r){var n=this.buf,i=n.length,s,o;for(s=0;s0&&(n[s]=r)},t.prototype.sub=function(e){var r=this.buf,n=r.length,i,s;for(i=0;i=0;--i)n+=(vn+r[i]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var e=this.buf,r=0,n=e.length-1;n>=0;--n)r=r*vn+e[n];return r},t.prototype.simplify=function(){var e=this.buf;return e.length==1?e[0]:this},t}(),w8="…",une=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,hne=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Bn(t,e){return t.length>e&&(t=t.substring(0,e)+w8),t}var x0=function(){function t(e,r){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=r)}return t.prototype.get=function(e){if(e===void 0&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset ".concat(e," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(e):this.enc[e]},t.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(e&15)},t.prototype.hexDump=function(e,r,n){for(var i="",s=e;s176)return!1}return!0},t.prototype.parseStringISO=function(e,r){for(var n="",i=e;i191&&s<224?n+=String.fromCharCode((s&31)<<6|this.get(i++)&63):n+=String.fromCharCode((s&15)<<12|(this.get(i++)&63)<<6|this.get(i++)&63)}return n},t.prototype.parseStringBMP=function(e,r){for(var n="",i,s,o=e;o127,s=i?255:0,o,a="";n==s&&++e4){for(a=n,o<<=3;!((+a^s)&128);)a=+a<<1,--o;a="("+o+" bit)\n"}i&&(n=n-256);for(var l=new Li(n),c=e+1;c=h;--f)a+=c>>f&1?"1":"0";if(a.length>n)return o+Bn(a,n)}return o+a},t.prototype.parseOctetString=function(e,r,n){if(this.isASCII(e,r))return Bn(this.parseStringISO(e,r),n);var i=r-e,s="("+i+" byte)\n";n/=2,i>n&&(r=e+n);for(var o=e;on&&(s+=w8),s},t.prototype.parseOID=function(e,r,n){for(var i="",s=new Li,o=0,a=e;an)return Bn(i,n);s=new Li,o=0}}return o>0&&(i+=".incomplete"),i},t}(),fne=function(){function t(e,r,n,i,s){if(!(i instanceof d3))throw new Error("Invalid tag value.");this.stream=e,this.header=r,this.length=n,this.tag=i,this.sub=s}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(e){if(this.tag===void 0)return null;e===void 0&&(e=1/0);var r=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);switch(this.tag.tagNumber){case 1:return this.stream.get(r)===0?"false":"true";case 2:return this.stream.parseInteger(r,r+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(r,r+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);case 6:return this.stream.parseOID(r,r+n,e);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return Bn(this.stream.parseStringUTF(r,r+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return Bn(this.stream.parseStringISO(r,r+n),e);case 30:return Bn(this.stream.parseStringBMP(r,r+n),e);case 23:case 24:return this.stream.parseTime(r,r+n,this.tag.tagNumber==23)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(e){e===void 0&&(e="");var r=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(r+="+"),r+=this.length,this.tag.tagConstructed?r+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(r+=" (encapsulates)"),r+="\n",this.sub!==null){e+=" ";for(var n=0,i=this.sub.length;n6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(n===0)return null;r=0;for(var i=0;i>6,this.tagConstructed=(r&32)!==0,this.tagNumber=r&31,this.tagNumber==31){var n=new Li;do r=e.get(),n.mulAdd(128,r&127);while(r&128);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return this.tagClass===0},t.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},t}(),Tr,dne=0xdeadbeefcafe,p3=(dne&16777215)==15715070,Ze=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],pne=(1<<26)/Ze[Ze.length-1],q=function(){function t(e,r,n){e!=null&&(typeof e=="number"?this.fromNumber(e,r,n):r==null&&typeof e!="string"?this.fromString(e,256):this.fromString(e,r))}return t.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var r;if(e==16)r=4;else if(e==8)r=3;else if(e==2)r=1;else if(e==32)r=5;else if(e==4)r=2;else return this.toRadix(e);var n=(1<0)for(l>l)>0&&(s=!0,o=Qt(i));a>=0;)l>(l+=this.DB-r)):(i=this[a]>>(l-=r)&n,l<=0&&(l+=this.DB,--a)),i>0&&(s=!0),s&&(o+=Qt(i));return s?o:"0"},t.prototype.negate=function(){var e=X();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(e){var r=this.s-e.s;if(r!=0)return r;var n=this.t;if(r=n-e.t,r!=0)return this.s<0?-r:r;for(;--n>=0;)if((r=this[n]-e[n])!=0)return r;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+go(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var r=X();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.modPowInt=function(e,r){var n;return e<256||r.isEven()?n=new g3(r):n=new v3(r),this.exp(e,n)},t.prototype.clone=function(){var e=X();return this.copyTo(e),e},t.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<>24},t.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var e=this.t,r=[];r[0]=this.s;var n=this.DB-e*this.DB%8,i,s=0;if(e-- >0)for(n>n)!=(this.s&this.DM)>>n&&(r[s++]=i|this.s<=0;)n<8?(i=(this[e]&(1<>(n+=this.DB-8)):(i=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),i&128&&(i|=-256),s==0&&(this.s&128)!=(i&128)&&++s,(s>0||i!=this.s)&&(r[s++]=i);return r},t.prototype.equals=function(e){return this.compareTo(e)==0},t.prototype.min=function(e){return this.compareTo(e)<0?this:e},t.prototype.max=function(e){return this.compareTo(e)>0?this:e},t.prototype.and=function(e){var r=X();return this.bitwiseTo(e,one,r),r},t.prototype.or=function(e){var r=X();return this.bitwiseTo(e,po,r),r},t.prototype.xor=function(e){var r=X();return this.bitwiseTo(e,u3,r),r},t.prototype.andNot=function(e){var r=X();return this.bitwiseTo(e,h3,r),r},t.prototype.not=function(){for(var e=X(),r=0;r=this.t?this.s!=0:(this[r]&1<1){var f=X();for(o.sqrTo(a[1],f);l<=h;)a[l]=X(),o.mulTo(f,a[l-2],a[l]),l+=2}var d=e.t-1,p,y=!0,m=X(),_;for(n=go(e[d])-1;d>=0;){for(n>=c?p=e[d]>>n-c&h:(p=(e[d]&(1<0&&(p|=e[d-1]>>this.DB+n-c)),l=i;!(p&1);)p>>=1,--l;if((n-=l)<0&&(n+=this.DB,--d),y)a[p].copyTo(s),y=!1;else{for(;l>1;)o.sqrTo(s,m),o.sqrTo(m,s),l-=2;l>0?o.sqrTo(s,m):(_=s,s=m,m=_),o.mulTo(m,a[p],s)}for(;d>=0&&!(e[d]&1<=0?(n.subTo(i,n),r&&s.subTo(a,s),o.subTo(l,o)):(i.subTo(n,i),r&&a.subTo(s,a),l.subTo(o,l))}if(i.compareTo(t.ONE)!=0)return t.ZERO;if(l.compareTo(e)>=0)return l.subtract(e);if(l.signum()<0)l.addTo(e,l);else return l;return l.signum()<0?l.add(e):l},t.prototype.pow=function(e){return this.exp(e,new gne)},t.prototype.gcd=function(e){var r=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(r.compareTo(n)<0){var i=r;r=n,n=i}var s=r.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return r;for(s0&&(r.rShiftTo(o,r),n.rShiftTo(o,n));r.signum()>0;)(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),r.compareTo(n)>=0?(r.subTo(n,r),r.rShiftTo(1,r)):(n.subTo(r,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},t.prototype.isProbablePrime=function(e){var r,n=this.abs();if(n.t==1&&n[0]<=Ze[Ze.length-1]){for(r=0;r=0;--r)e[r]=this[r];e.t=this.t,e.s=this.s},t.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},t.prototype.fromString=function(e,r){var n;if(r==16)n=4;else if(r==8)n=3;else if(r==256)n=8;else if(r==2)n=1;else if(r==32)n=5;else if(r==4)n=2;else{this.fromRadix(e,r);return}this.t=0,this.s=0;for(var i=e.length,s=!1,o=0;--i>=0;){var a=n==8?+e[i]&255:m3(e,i);if(a<0){e.charAt(i)=="-"&&(s=!0);continue}s=!1,o==0?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<>this.DB-o):this[this.t-1]|=a<=this.DB&&(o-=this.DB)}n==8&&+e[0]&128&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==e;)--this.t},t.prototype.dlShiftTo=function(e,r){var n;for(n=this.t-1;n>=0;--n)r[n+e]=this[n];for(n=e-1;n>=0;--n)r[n]=0;r.t=this.t+e,r.s=this.s},t.prototype.drShiftTo=function(e,r){for(var n=e;n=0;--l)r[l+o+1]=this[l]>>i|a,a=(this[l]&s)<=0;--l)r[l]=0;r[o]=a,r.t=this.t+o+1,r.s=this.s,r.clamp()},t.prototype.rShiftTo=function(e,r){r.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){r.t=0;return}var i=e%this.DB,s=this.DB-i,o=(1<>i;for(var a=n+1;a>i;i>0&&(r[this.t-n-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i-=e.s}r.s=i<0?-1:0,i<-1?r[n++]=this.DV+i:i>0&&(r[n++]=i),r.t=n,r.clamp()},t.prototype.multiplyTo=function(e,r){var n=this.abs(),i=e.abs(),s=n.t;for(r.t=s+i.t;--s>=0;)r[s]=0;for(s=0;s=0;)e[n]=0;for(n=0;n=r.DV&&(e[n+r.t]-=r.DV,e[n+r.t+1]=1)}e.t>0&&(e[e.t-1]+=r.am(n,r[n],e,2*n,0,1)),e.s=0,e.clamp()},t.prototype.divRemTo=function(e,r,n){var i=e.abs();if(!(i.t<=0)){var s=this.abs();if(s.t0?(i.lShiftTo(c,o),s.lShiftTo(c,n)):(i.copyTo(o),s.copyTo(n));var h=o.t,f=o[h-1];if(f!=0){var d=f*(1<1?o[h-2]>>this.F2:0),p=this.FV/d,y=(1<=0&&(n[n.t++]=1,n.subTo(x,n)),t.ONE.dlShiftTo(h,x),x.subTo(o,o);o.t=0;){var L=n[--_]==f?this.DM:Math.floor(n[_]*p+(n[_-1]+m)*y);if((n[_]+=o.am(0,L,n,A,0,h))0&&n.rShiftTo(c,n),a<0&&t.ZERO.subTo(n,n)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(!(e&1))return 0;var r=e&3;return r=r*(2-(e&15)*r)&15,r=r*(2-(e&255)*r)&255,r=r*(2-((e&65535)*r&65535))&65535,r=r*(2-e*r%this.DV)%this.DV,r>0?this.DV-r:-r},t.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var n=X(),i=X(),s=r.convert(this),o=go(e)-1;for(s.copyTo(n);--o>=0;)if(r.sqrTo(n,i),(e&1<0)r.mulTo(i,s,n);else{var a=n;n=i,i=a}return r.revert(n)},t.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},t.prototype.toRadix=function(e){if(e==null&&(e=10),this.signum()==0||e<2||e>36)return"0";var r=this.chunkSize(e),n=Math.pow(e,r),i=vr(n),s=X(),o=X(),a="";for(this.divRemTo(i,s,o);s.signum()>0;)a=(n+o.intValue()).toString(e).substring(1)+a,s.divRemTo(i,s,o);return o.intValue().toString(e)+a},t.prototype.fromRadix=function(e,r){this.fromInt(0),r==null&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),s=!1,o=0,a=0,l=0;l=n&&(this.dMultiply(i),this.dAddOffset(a,0),o=0,a=0)}o>0&&(this.dMultiply(Math.pow(r,o)),this.dAddOffset(a,0)),s&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,r,n){if(typeof r=="number")if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),po,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var i=[],s=e&7;i.length=(e>>3)+1,r.nextBytes(i),s>0?i[0]&=(1<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i+=e.s}r.s=i<0?-1:0,i>0?r[n++]=i:i<-1&&(r[n++]=this.DV+i),r.t=n,r.clamp()},t.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(e,r){if(e!=0){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=e;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}},t.prototype.multiplyLowerTo=function(e,r,n){var i=Math.min(this.t+e.t,r);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var s=n.t-this.t;i=0;)n[i]=0;for(i=Math.max(r-this.t,0);i0)if(r==0)n=this[0]%e;else for(var i=this.t-1;i>=0;--i)n=(r*n+this[i])%e;return n},t.prototype.millerRabin=function(e){var r=this.subtract(t.ONE),n=r.getLowestSetBit();if(n<=0)return!1;var i=r.shiftRight(n);e=e+1>>1,e>Ze.length&&(e=Ze.length);for(var s=X(),o=0;o0&&(n.rShiftTo(a,n),i.rShiftTo(a,i));var l=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(l,0):(a>0&&i.lShiftTo(a,i),setTimeout(function(){r(i)},0))};setTimeout(l,10)},t.prototype.fromNumberAsync=function(e,r,n,i){if(typeof r=="number")if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),po,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>e&&s.subTo(t.ONE.shiftLeft(e-1),s),s.isProbablePrime(r)?setTimeout(function(){i()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],l=e&7;a.length=(e>>3)+1,r.nextBytes(a),l>0?a[0]&=(1<=0?e.mod(this.m):e},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),v3=function(){function t(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(r,r),r},t.prototype.revert=function(e){var r=X();return e.copyTo(r),this.reduce(r),r},t.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var r=0;r>15)*this.mpl&this.um)<<15)&e.DM;for(n=r+this.m.t,e[n]+=this.m.am(0,i,e,r,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),vne=function(){function t(e){this.m=e,this.r2=X(),this.q3=X(),q.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return t.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var r=X();return e.copyTo(r),this.reduce(r),r},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}();function X(){return new q(null)}function we(t,e){return new q(t,e)}var y3=typeof navigator<"u";y3&&p3&&navigator.appName=="Microsoft Internet Explorer"?(q.prototype.am=function(e,r,n,i,s,o){for(var a=r&32767,l=r>>15;--o>=0;){var c=this[e]&32767,h=this[e++]>>15,f=l*c+h*a;c=a*c+((f&32767)<<15)+n[i]+(s&1073741823),s=(c>>>30)+(f>>>15)+l*h+(s>>>30),n[i++]=c&1073741823}return s},Tr=30):y3&&p3&&navigator.appName!="Netscape"?(q.prototype.am=function(e,r,n,i,s,o){for(;--o>=0;){var a=r*this[e++]+n[i]+s;s=Math.floor(a/67108864),n[i++]=a&67108863}return s},Tr=26):(q.prototype.am=function(e,r,n,i,s,o){for(var a=r&16383,l=r>>14;--o>=0;){var c=this[e]&16383,h=this[e++]>>14,f=l*c+h*a;c=a*c+((f&16383)<<14)+n[i]+s,s=(c>>28)+(f>>14)+l*h,n[i++]=c&268435455}return s},Tr=28);q.prototype.DB=Tr;q.prototype.DM=(1<>>16)!=0&&(t=r,e+=16),(r=t>>8)!=0&&(t=r,e+=8),(r=t>>4)!=0&&(t=r,e+=4),(r=t>>2)!=0&&(t=r,e+=2),(r=t>>1)!=0&&(t=r,e+=1),e}q.ZERO=vr(0);q.ONE=vr(1);var yne=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(e){var r,n,i;for(r=0;r<256;++r)this.S[r]=r;for(n=0,r=0;r<256;++r)n=n+this.S[r]+e[r%e.length]&255,i=this.S[r],this.S[r]=this.S[n],this.S[n]=i;this.i=0,this.j=0},t.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},t}();function mne(){return new yne}var C8=256,vo,_r=null,yt;if(_r==null){_r=[],yt=0;var yo=void 0;if(typeof window<"u"&&self.crypto&&self.crypto.getRandomValues){var L0=new Uint32Array(256);for(self.crypto.getRandomValues(L0),yo=0;yo=256||yt>=C8){self.removeEventListener?self.removeEventListener("mousemove",bo,!1):self.detachEvent&&self.detachEvent("onmousemove",bo);return}try{var e=t.x+t.y;_r[yt++]=e&255,mo+=1}catch(r){}};typeof window<"u"&&(self.addEventListener?self.addEventListener("mousemove",bo,!1):self.attachEvent&&self.attachEvent("onmousemove",bo))}function bne(){if(vo==null){for(vo=mne();yt>>4&15)+e.charAt(i&15)}return r}function _ne(t){for(var e=Array(t.length>>2),r=0;r>5]|=(t.charCodeAt(r/8)&255)<<24-r%32;return e}function wne(t){for(var e="",r=0;r>5]>>>24-r%32&255);return e}function Bt(t,e){return t>>>e|t<<32-e}function A8(t,e){return t>>>e}function Cne(t,e,r){return t&e^~t&r}function Ane(t,e,r){return t&e^t&r^e&r}function Sne(t){return Bt(t,2)^Bt(t,13)^Bt(t,22)}function Tne(t){return Bt(t,6)^Bt(t,11)^Bt(t,25)}function Ene(t){return Bt(t,7)^Bt(t,18)^A8(t,3)}function Ine(t){return Bt(t,17)^Bt(t,19)^A8(t,10)}var kne=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function xne(t,e){var r=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),n=new Array(64),i,s,o,a,l,c,h,f,d,p,y,m;for(t[e>>5]|=128<<24-e%32,t[(e+64>>9<<4)+15]=e,d=0;d>16)+(e>>16)+(r>>16);return n<<16|r&65535}function Lne(t,e){if(e=0&&e>0;){var i=t.charCodeAt(n--);i<128?r[--e]=i:i>127&&i<2048?(r[--e]=i&63|128,r[--e]=i>>6|192):(r[--e]=i&63|128,r[--e]=i>>6&63|128,r[--e]=i>>12|224)}r[--e]=0;for(var s=new sa,o=[];e>2;){for(o[0]=0;o[0]==0;)s.nextBytes(o);r[--e]=o[0]}return r[--e]=2,r[--e]=0,new q(r)}function _3(t,e,r){for(var n="",i=0;n.length>24,(i&16711680)>>16,(i&65280)>>8,i&255]))),i+=1;return n}var Nne=32;function Rne(t,e){var r=Nne,n=M2;if(t.length+2*r+2>e)throw"Message too long for RSA";var i="",s;for(s=0;s0&&r.length>0?(this.n=we(e,16),this.e=parseInt(r,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(e,r){typeof r>"u"&&(r=One);var n=this.n.bitLength()+7>>3,i=r(e,n);if(i==null)return null;var s=this.doPublic(i);if(s==null)return null;for(var o=s.toString(16),a=o.length,l=0;l0&&r.length>0?(this.n=we(e,16),this.e=parseInt(r,16),this.d=we(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(e,r,n,i,s,o,a,l){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=we(e,16),this.e=parseInt(r,16),this.d=we(n,16),this.p=we(i,16),this.q=we(s,16),this.dmp1=we(o,16),this.dmq1=we(a,16),this.coeff=we(l,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(e,r){var n=new sa,i=e>>1;this.e=parseInt(r,16);for(var s=new q(r,16);;){for(;this.p=new q(e-i,1,n),!(this.p.subtract(q.ONE).gcd(s).compareTo(q.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new q(i,1,n),!(this.q.subtract(q.ONE).gcd(s).compareTo(q.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(q.ONE),l=this.q.subtract(q.ONE),c=a.multiply(l);if(c.gcd(s).compareTo(q.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(e){var r=we(e,16),n=this.doPrivate(r);return n==null?null:Bne(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(e,r,n){var i=new sa,s=e>>1;this.e=parseInt(r,16);var o=new q(r,16),a=this,l=function(){var c=function(){if(a.p.compareTo(a.q)<=0){var d=a.p;a.p=a.q,a.q=d}var p=a.p.subtract(q.ONE),y=a.q.subtract(q.ONE),m=p.multiply(y);m.gcd(o).compareTo(q.ONE)==0?(a.n=a.p.multiply(a.q),a.d=o.modInverse(m),a.dmp1=a.d.mod(p),a.dmq1=a.d.mod(y),a.coeff=a.q.modInverse(a.p),setTimeout(function(){n()},0)):setTimeout(l,0)},h=function(){a.q=X(),a.q.fromNumberAsync(s,1,i,function(){a.q.subtract(q.ONE).gcda(o,function(d){d.compareTo(q.ONE)==0&&a.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(h,0)})})},f=function(){a.p=X(),a.p.fromNumberAsync(e-s,1,i,function(){a.p.subtract(q.ONE).gcda(o,function(d){d.compareTo(q.ONE)==0&&a.p.isProbablePrime(10)?setTimeout(h,0):setTimeout(f,0)})})};setTimeout(f,0)};setTimeout(l,0)},t.prototype.sign=function(e,r,n){var i=$ne(n),s=i+r(e).toString(),o=this.n.bitLength()/4,a=Lne(s,o);if(a==null)return null;var l=this.doPrivate(a);if(l==null)return null;for(var c=l.toString(16),h=c.length,f=0;f=r.length)return null;for(var i="";++n191&&s<224?(i+=String.fromCharCode((s&31)<<6|r[n+1]&63),++n):(i+=String.fromCharCode((s&15)<<12|(r[n+1]&63)<<6|r[n+2]&63),n+=2)}return i}var Do={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function $ne(t){return Do[t]||""}function Pne(t){for(var e in Do)if(Do.hasOwnProperty(e)){var r=Do[e],n=r.length;if(t.substring(0,n)==r)return t.substring(n)}return t}function Re(t,e,r){if(!e||!t)throw new Error("extend failed, please check that all dependencies are included.");var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e)}/** - * @fileOverview - * @name asn1-1.0.js - * @author Kenji Urushima kenji.urushima@gmail.com - * @version asn1 1.0.13 (2017-Jun-02) - * @since jsrsasign 2.1 - * @license MIT License - */var k={};(typeof k.asn1>"u"||!k.asn1)&&(k.asn1={});k.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if(e.substring(0,1)!="-")e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var r=e.substring(1),n=r.length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var i="",s=0;s"u"||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+t.length+",v="+this.hV;var e=this.hV.length/2,r=e.toString(16);if(r.length%2==1&&(r="0"+r),e<128)return r;var n=r.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var i=128+n;return i.toString(16)+r},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}};k.asn1.DERAbstractString=function(t){k.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t=="string"?this.setString(t):typeof t.str<"u"?this.setString(t.str):typeof t.hex<"u"&&this.setStringHex(t.hex))};Re(k.asn1.DERAbstractString,k.asn1.ASN1Object);k.asn1.DERAbstractTime=function(t){k.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){utc=e.getTime()+e.getTimezoneOffset()*6e4;var r=new Date(utc);return r},this.formatDate=function(e,r,n){var i=this.zeroPadding,s=this.localDateToUTC(e),o=String(s.getFullYear());r=="utc"&&(o=o.substring(2,4));var a=i(String(s.getMonth()+1),2),l=i(String(s.getDate()),2),c=i(String(s.getHours()),2),h=i(String(s.getMinutes()),2),f=i(String(s.getSeconds()),2),d=o+a+l+c+h+f;if(n===!0){var p=s.getMilliseconds();if(p!=0){var y=i(String(p),3);y=y.replace(/[0]+$/,""),d=d+"."+y}}return d+"Z"},this.zeroPadding=function(e,r){return e.length>=r?e:new Array(r-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,r,n,i,s,o){var a=new Date(Date.UTC(e,r-1,n,i,s,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}};Re(k.asn1.DERAbstractTime,k.asn1.ASN1Object);k.asn1.DERAbstractStructured=function(t){k.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,typeof t<"u"&&typeof t.array<"u"&&(this.asn1Array=t.array)};Re(k.asn1.DERAbstractStructured,k.asn1.ASN1Object);k.asn1.DERBoolean=function(){k.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"};Re(k.asn1.DERBoolean,k.asn1.ASN1Object);k.asn1.DERInteger=function(t){k.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=k.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var r=new q(String(e),10);this.setByBigInteger(r)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.bigint<"u"?this.setByBigInteger(t.bigint):typeof t.int<"u"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex<"u"&&this.setValueHex(t.hex))};Re(k.asn1.DERInteger,k.asn1.ASN1Object);k.asn1.DERBitString=function(t){if(t!==void 0&&typeof t.obj<"u"){var e=k.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}k.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(r){this.hTLV=null,this.isModified=!0,this.hV=r},this.setUnusedBitsAndHexValue=function(r,n){if(r<0||7"u"&&typeof this.s>"u"&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{12}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date))};Re(k.asn1.DERUTCTime,k.asn1.DERAbstractTime);k.asn1.DERGeneralizedTime=function(t){k.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{14}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date),t.millis===!0&&(this.withMillis=!0))};Re(k.asn1.DERGeneralizedTime,k.asn1.DERAbstractTime);k.asn1.DERSequence=function(t){k.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var e="",r=0;rt==null||t===""||Array.isArray(t)&&t.length===0||typeof t=="object"&&Object.keys(t).length===0,Vne=(t,e)=>{const r=new zne;return r.setPublicKey(t),r.encrypt(e)};class jne{constructor(){}setActionData(e,r={status:"",errCode:"",errMessage:"",result:{}}){return{action:e,status:r.status,errCode:r.errCode,errMessage:r.errMessage,data:r.result||{}}}getValidatorType(e){return{1:xt.OLD_PASS,2:xt.NUM_PASS,5:xt.VERIFY}[e]}setCountdown(e=0,r,n,i=1e3){let s=null;const o=Date.now()+e*1e3,a=()=>{if(s&&clearTimeout(s),e<=0){clearTimeout(s),s=null,typeof n=="function"&&n();return}typeof r=="function"&&r(e,s),s=setTimeout(()=>{e=Math.round((o-Date.now())/1e3),a()},i)};return{start:a,stop:()=>{s&&clearTimeout(s)}}}async initCheck(e){try{const r=await tne(e);if(r.status||r.errCode===hr.CHECK_TIME_OUT){const n=r.result.availAuthTypes[0];return n===gt.NONE_AUTH?this.setActionData(te.NEXT,r):n===gt.OLD_PASS?this.setActionData(te.SHOW_OLD_PASS,r):n===gt.NUM_PASS?this.setActionData(te.SHOW_NUM_PASS,r):n===gt.SMS_CODE?this.setActionData(te.SHOW_VERIFY_CODE,r):this.setActionData(te.NEXT,r)}else return r.errCode===hr.ACCOUNT_NOT_ACTIVE?this.setActionData(te.ACCOUNT_NOT_ACTIVE,r):this.setActionData(te.ERROR,r)}catch(r){return console.log("ValidatorUseCase initCheck error ->",r),Promise.reject(r)}}async check(e){try{const r={authType:e.authType,payAuthToken:e.payAuthToken,rsaEncryptData:Vne(atob(ine),e.value)};console.log("payAuthCheck",r);const n=await rne(r);if(n.status){const i=n.result.nextAuthType;return i===gt.NONE_AUTH?this.setActionData(te.NEXT,n):i===gt.OLD_PASS?this.setActionData(te.SHOW_OLD_PASS,n):i===gt.NUM_PASS?this.setActionData(te.SHOW_NUM_PASS,n):i===gt.SMS_CODE?n.result.smsSendResult&&n.result.smsSendResult.sendStatus===!1?n.result.smsSendResult.sendRetCode===101?this.setActionData(te.NOT_BIND_PHONE,n):this.setActionData(te.SHOW_SMS_ERROR,n):this.setActionData(te.SHOW_VERIFY_CODE,n):this.setActionData(te.NEXT,n)}else return[hr.PAY_PASSWORD_ERROR,hr.SMS_CODE_ERROR,hr.SMS_CODE_CHECK_ERROR].includes(n.errCode)?this.setActionData(te.SHOW_INNER_ERROR,n):n.errCode===hr.PASSWORD_LOCKED?this.setActionData(te.PASSWORD_LOCKED,n):n.errCode===hr.NOT_BIND_PHONE?this.setActionData(te.NOT_BIND_PHONE,n):this.setActionData(te.ERROR,n)}catch(r){return console.log("ValidatorUseCase check error ->",r),Promise.reject(r)}}async sendCode(e){try{const r=await nne(e);return r.status?this.setActionData(te.SHOW_VERIFY_CODE,r):r.result.sendStatus===!1?this.setActionData(te.SHOW_SMS_ERROR,r):this.setActionData(te.SHOW_INNER_ERROR,r)}catch(r){return console.log("ValidatorUseCase sendCode error ->",r),Promise.reject(r)}}}const Hne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAYAAACMRWrdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAqaSURBVHgB1Vp7bFvVGf/OuQ/72rWT2onbuHmjQsWmlhYQlGlaJCZgCAplSrYyBtPQpGpo/IGYpmmb6mmb9sdoNTpNYtJAWtt1azta2iEEHUwRk9oitNJ2G2opTfNyHo7tJn7b955z9p2bB03iJLaTtOQXOfLjnnu/737ne/4ugeUFaWtrU5LJJBkbG6PyC13XRSAQ4J2dnQw/ClgmEFhChNra1Cu67vvFUzv9vrrV/nQyU61Q7hagOAjnKlAiBHCGF80TTtOKyzGWiySiPzrwSuyWQiEe6uy0YImwaMWEEOTC/v211cJ5a+M9dwUhlfbz0VEjX8hxqgADQjgQlVM8kNsLOGFCUE0hxDK5qjlURa3yZcDljPd+eD48qFmX733yyQgs0poVKyYVGnrjjaa1Dc13gKIFeXxUv5ZJcgdVCjChQ6nAPamgKTWvy0mpr7YALD/QM9B3vnnbtm6oUEEVKsC+UCgAV/q2rvX6WtKDw6gjzYFGMw5CpcZQLhSpGwGWKZjA+noIoqnB7WsWn/ZePXbg0OknQj+MTBwqDVHSBcqyGAYC9R+hPXerSmFLNpnUcEtlcWdx3G1L6qt4o9DkQtEV7jSqfIWkqX60LfTCh51l+GDJAp3Zu9e7+fY7HlA1pSmTSqfL3W6VQCpIqFBcq9zuvMl6Lnx87uS9zz+fKGVtSYoNHz++JtCw/hEzMuzJFAoZhcINBcNb6DJ0l1Zbl0gN97zpefDByEJrFlQsevi9df4W/6OxwWFNJzS31NuuVEjrFVjB8NfXm7Gu6ImajvvD8x0/r5AptJQ72LR9dHAQo7M6WylFATQeE1SxOOdk0Yak6Ft4HgX9i8uYwti0n6Vy6AFOb13QTMUHjs5nOTLHd+Liq696brvzS+2x3qtuB6X52UchND0D6G4sGlvNbbnooisJzhiltavj6FhEWJYh88r1v9uWE5bT39iS/uD9k3+b8LlZ0bKoxWT0e2fXrx4j+UJDzsynpQ7TDkBLEUpzue7eBtYf3qHX1AQ4leYUi0yqeB0B1IzFhtXgur/qzfV9wuROO9NNU04IXdPcRNX6n/rD744dOXKEzT5XESQ6z241SPa+XDKVLPY7lkgMsime/9/Fn1Z951utWsM6LCgYLAUIlitmfxhGX/tzl/OLG36peL2Em+asfMuAg8fj9eSFccrVtuX0zN9nucXRF0MBj2JtTidTGWn2YhenOikURqJrlYaGOq2p3r49RFVtocDEVCN9o5wXriHyD8+B9SRojfWgNtYHLbyGRYRZTAbp3TLtGJq1+agsGGZg1p3YvvOZrdlPLumYPtLzRkBMy0TBOlDuPtxBbDgCqbf/ObFNFSgLmBJ5PgeuL98H+vpW+yuiUIbJn9h1CVhzLCMsOzbm3P7Ud7eKXbtOoESiqGLdhw+38J5wS4HRnLJAWKdYqYP4zGFTb70L2i3NYNy5CYUsQDkgmgZmbz+k3+0EbV0QiOEA+9yUzOuz8sYzQbK852rL5bPnmvGrq1BEMdLUumFTYnBAUOlDIErOVzyTBUDhpFLE7QYFX+XC8YUNkP/oP8CSCVCN2tIXYiBJZbLitpbmjfi2e9JqU4qd37evFhQaxJCdkzaGMkDQL3DrAM/lp5QS0tfsbVrKemqXF/JW2u/LhC2zSusvHDsm74id26YUk/2UbD1QmAxUgus2DU9lMLdFJ6ReWDOpjMAgIrC6h0rSvEzb0ZhWnbNuhQnF7LOEQiG18e7NwUQyuSSFrchmYTKolAQ63u4IZpW+ZgZGM2nRuOWu4OH2djty2YpdOXXKB5mMn6jUhKWAFK6c1/VrKoSiYIObSNYci8dr5GdbMTmj4IlrhjIzxa8gSNmt0bix+5nnfPKzrZgv4KvJ58xl76+WG6ZlMWfAO2Uxks/nvGjLFWutScjhEcvkq2AiBCmC8lXYq654i8lpGOrilrNMejsqiqEWh0srXzEm7BmfQw5oKRY/BPOxVHXZprI3Cppd3BJVTp3t4GH/Ezen5V9K8ImXBNXtppRaslyHFQ6G3bdKhVVVVcXpx1IjBfJAyIpXDAtWYilK3uPxCLkLOTGFnBPe4KHa0gPVwgE7TUkmx1ZMsh44RCmzO/z8AacTisPrGMO341ZKIJXj0LUVbzGpQ2rwWky+t5X58Z9+H6fVq7NsvA+vDNJDb6abEmx+qv1ZybXJj3Y/tt3ni4LLHcfstgaLkbJLK8Gx5eAcqMMxfg1dGx/MyFl4CdlRNqlyiAN4HuxdoBJYXOiwyj0kCUT52VasA+dyXdueGKhfG6zDuhHKBXUZdj+V+dcZcN65EfhYElgsPiH1wuvtmUf/AHbdDKjHC5XA63LTgQ/ODEyyolMddFI4Lmm+1RvzkQjMHC2XAs+2h+wpVfrt92xBpQWnzU8n+y1epHLj41Mh7+NfA+LQy+fYMFVRX3UhGu76ZPKrKcU2fnv7CPz7XJhYVpMgJAtlgnq94O14fEJwMttSk/43p9CkJOvOxPg8n+GW4T2bnn56ZEqez65LxKWuy+cNnJmzxeQ0OuEvM7pks6sXEodOALs2NkcnDRUB+TO6CmW+dPniebjOo6cpcFtHRzdtaryqK+AUCxTFnAt7eAslIt35PkR/vQdwLF7aAnluPv8IUMqITYkhZd6Asl//G51+LhD7X9l72vBUm5JJnPOMfOIf57TUEO959CFYsztkzx4XhOQmGMcCdu5OyqZzCVcllXvswGtydj/NELO23NMvvRTJMv2spEfZHCdWJIG0pnaw0N0/JCe4tvNb1rwvxe8H9/1tmEUd8x4nz2X29IHVFx5y1tQOqhbXiuvOSVWV15D89BOh0CyerOjtbscR1l++/4PHeZ4Vp5EwjxON5lCxBisc/qbq963FoSkTi6SRhPR0bAzNaDziaAweVBsb+jG6OmcTgEI4NYdbOPS+B3/+k+PFSPc5iT9Jpt/zla+2x3p6XHoxNlNqq5KsicQfj46tpoQsSaPKhSBqbU1cTpSFWXDNJP4kkD51VDc1ZUYu/fdQoKMjBaUSf5OwSXWkahPIP5Ni/PMyULW2UJypc1G1jHBn9dpaKxUbeb1cqnYaYq+/Ve9rCT4S6w3ruqJnbya5nkNyvTZYZ8b7hv7u//rD/fMdX5KQ4ug7AWitf8QcGvJmcoWsot7Y+Yj9OISuu7TAmmSkb/DNNY/dP7zQmpLv/giS7d7W9Q+oVGmWTKIk3W6E9WTH4fGscuH0qfvTrosnNzz7bLKUdWUJJh/beyG0524P0qPIJOoFJnKYyNhyPHIkKwoMT4a7qqqQxZD+8HI9cgTXRZ6jL/4msH3nN7bynt6WVCohhKrmFOn4bJHDZEVy2JID5k7DZRDa2nL1j7/dfeZ7L7+84NYrJmylIEjtNje1rt+EDXmQR0f0RC7HVSwLoVxyA0OuxZnudboo9flNjPPhHqxbm9rbu0mFaWQpthA5c/BgoA7U9Y13bFkHmazPSsQMU5IcGLBxP3GK81iQJZA9u8RCSOCsRdaCckaB7bzsfMFlxHvPnQ0PgnX5nh07ImSReXHJH529pCj+3Tue8znrkcHJpKvGH50Fh5w22xfEGaZ8dJZxkXa43GOJSDz6s8/jo7MLgCJBQCORyFTuNgxDyLnfcj/s/H/NwDMEPJBhHQAAAABJRU5ErkJggg==",qne={name:"KPaymentValidator",components:{KPassword:Lre,KNumPassword:Nre,KVerifyCode:Ore},props:{initParams:{type:Object,required:!0,default:()=>({})},sites:{type:Object,default:()=>({})},options:{type:Object,default:()=>({hideTitle:!1,hideCancelBtn:!1,theme:"seller",buttonHeight:"32px",displayMode:"dialog",dialogOptions:{}})}},emits:["success","error","send-code","cancel","update:visible"],data(){return{APPLY_TYPE:xt,useCase:null,visible:!1,loading:!1,btnActive:!1,validateData:{title:"",applyType:"",confirmText:"",errMsg:"",verifyData:{},failNum:0},payAuthToken:"",payAuthType:"",error:{title:"",desc:"",btnText:"",disabled:!1},stopLongTimeFn:null}},computed:{isDialog(){return this.mergedOptions.displayMode==="dialog"},wrapperTag(){return this.isDialog?"k-dialog":"div"},wrapperProps(){return this.isDialog?{...this.mergedOptions.dialogOptions,visible:this.visible,title:this.validateData.title,customClass:"payment-validator-dialog"}:{}},mergedOptions(){return{hideTitle:!1,hideCancelBtn:!1,theme:"seller",buttonHeight:"32px",displayMode:"dialog",dialogOptions:{},...this.options}}},watch:{initParams:{handler(t){C3(t)},deep:!0}},created(){this.useCase=new jne,C3(this.initParams)||this.init()},beforeUnmount(){this.clearLongTimeTimeout()},methods:{async init(){this.loading=!0,this.visible=!1,this.validateData={title:"",applyType:"",confirmText:"",errMsg:"",verifyData:{},failNum:0},this.clearLongTimeTimeout(),console.log("initParams",this.initParams);try{const t={...this.initParams},e=await this.useCase.initCheck(t);this.handleAction(e)}catch(t){this.$emit("error",{code:"INIT_ERROR",message:t.message||"初始化失败"})}finally{this.loading=!1}},handleAction(t){const{action:e,data:r}=t;e===te.SHOW_OLD_PASS||e===te.SHOW_NUM_PASS?(this.visible=!0,this.validateData={title:"请输入支付密码",applyType:this.useCase.getValidatorType(r.availAuthTypes[0]),confirmText:r.confirmButtonText,errMsg:""},this.payAuthToken=r.payAuthToken,this.payAuthType=r.availAuthTypes[0],this.stopLongTimeFn=this.longTimeTimer(r.validTimes)):e===te.SHOW_VERIFY_CODE?(this.visible=!0,this.payAuthToken=r.payAuthToken,this.validateData={title:"请输入短信验证码",applyType:xt.VERIFY,verifyData:r.smsSendResult,errMsg:""}):e===te.NEXT?this.$emit("success",r):e===te.ACCOUNT_NOT_ACTIVE?Ue.confirm("为保障您资金安全,请设置支付密码后付款。","设置支付密码",{okText:"去设置",cancelText:"取消",headerBorder:!1,width:"320px",theme:this.mergedOptions.theme}).then(()=>{window.location.href="".concat(this.sites.s_pay,"openAccount.html")}).catch(()=>{}):t.action===te.ERROR&&Me.error(t.errMessage)},async confirm(){var e,r,n,i;if(this.loading||!this.visible||!this.$refs.validator)return;const t=await this.$refs.validator.validate();if(t.validate){this.loading=!0;try{let s="";this.validateData.applyType===xt.OLD_PASS||this.validateData.applyType===xt.NUM_PASS?s=t.data.password:this.validateData.applyType===xt.VERIFY&&(s=t.data.verifyCode);const o={authType:this.payAuthType,payAuthToken:this.payAuthToken,value:s},a=await this.useCase.check(o);this.payAuthToken=(e=a.data)==null?void 0:e.payAuthToken,this.payAuthType=(r=a.data)==null?void 0:r.nextAuthType,a.action===te.NEXT?this.$emit("success",a.data):a.action===te.SHOW_INNER_ERROR?this.payAuthType===gt.OLD_PASS||this.payAuthType===gt.NUM_PASS?this.validateData={...this.validateData,errMsg:a.errMessage,failNum:Date.now()}:this.payAuthType===gt.SMS_CODE&&(this.validateData={...this.validateData,applyType:this.useCase.getValidatorType(a.data.nextAuthType),errMsg:a.errMessage,failNum:Date.now()}):a.action===te.SHOW_VERIFY_CODE?this.handleAction(a):a.action===te.PASSWORD_LOCKED?(this.clearLongTimeTimeout(),this.visible=!1,(this.$refs.validator||[]).length&&this.$refs.validator[0].clear(),Ue.confirm(a.errMessage,{width:"320px",okText:"找回密码",cancelText:"取消",headerBorder:!1,theme:this.mergedOptions.theme}).then(()=>{window.open("".concat(this.sites.s_pay,"account/findPwd.html"))}).catch(()=>{})):a.action===te.NOT_BIND_PHONE?(this.clearLongTimeTimeout(),this.error={title:"尚未绑定手机号",desc:"为了保障您的资金安全,请先绑定手机号后继续。",btnText:"去绑定",onclick:()=>{window.location.href="".concat(this.sites.s_user,"person/bind_phone.html")},disabled:!1}):a.action===te.SHOW_SMS_ERROR?this.error={title:"短信验证码异常",desc:(i=(n=a.data)==null?void 0:n.smsSendResult)==null?void 0:i.sendRetMessage,btnText:"确认",onclick:()=>{},disabled:!0}:a.action===te.ERROR&&(Me.error(a.errMessage),a.errCode===hr.CHECK_PAY_AUTN_TOKEN_INVALID&&(this.payAuthToken=a.data.payAuthToken),this.$emit("error",{code:a.action,message:a.errMessage}))}catch(s){this.$emit("error",{code:"CHECK_ERROR",message:s.message})}finally{this.loading=!1}}else this.$emit("error",{code:"VALIDATE_ERROR",message:"校验失败"})},async handleResend(t){var e;try{const r={sceneType:this.initParams.sceneType||"PAY"},n=await this.useCase.sendCode(r);n.action===te.SHOW_VERIFY_CODE?(this.validateData={...this.validateData,applyType:xt.VERIFY,verifyData:n.data,errMsg:""},this.$emit("send-code",n.data),setTimeout(()=>t&&t())):n.action===te.SHOW_SMS_ERROR?this.error={title:"短信验证码异常",desc:(e=n.data)==null?void 0:e.sendRetMessage,btnText:"确认",disabled:!0}:this.validateData={...this.validateData,applyType:xt.VERIFY,verifyData:n.data,errMsg:n.errMessage}}catch(r){this.validateData.errMsg="验证码发送失败"}},handleFinish(t){this.btnActive=t},clearLongTimeTimeout(){typeof this.stopLongTimeFn=="function"&&this.stopLongTimeFn()},longTimeTimer(t){const{start:e,stop:r}=this.useCase.setCountdown(t,n=>{this.clearLongTimeTimeout()},()=>{this.visible=!1,this.clearLongTimeTimeout(),Ue.alert("您在当前页面停留时间过长,为保障您的资金安全,请重新输入支付密码。",{okText:"我知道了",width:"320px",theme:this.mergedOptions.theme}).then(()=>{this.error={title:"",desc:"",btnText:"",disabled:!1},this.init()})});return e(),r},handleCancel(){this.$emit("cancel")}}},Kne=t=>(aa("data-v-b11fabae"),t=t(),la(),t),Qne={key:0,class:"validator-wrap"},Wne={key:1,class:"error"},Gne={key:0,class:"error-content-dialog"},Zne={class:"error-text"},Yne={key:1,class:"error-content"},Jne=Kne(()=>u("img",{src:Hne,alt:""},null,-1)),Xne={class:"error-text"},eie={class:"error-title"},tie={class:"error-desc"},rie={class:"bottom-btn"};function nie(t,e,r,n,i,s){const o=se("k-password"),a=se("k-verify-code"),l=se("k-num-password"),c=se("k-button");return s.isDialog||i.visible?(g(),ne(B8(s.wrapperTag),zr({key:0},s.wrapperProps,{onCancel:s.handleCancel}),{default:F(()=>[i.visible?(g(),v("div",Qne,[i.error.title?b("",!0):(g(),v(P,{key:0},[ge(t.$slots,"tips",{},void 0,!0),i.validateData.applyType===i.APPLY_TYPE.OLD_PASS?(g(),ne(o,{key:0,ref:"validator",errMsg:i.validateData.errMsg,sites:r.sites,width:"252px",failNum:i.validateData.failNum,"onPassword:finish":s.handleFinish,"onPassword:enter":s.confirm},null,8,["errMsg","sites","failNum","onPassword:finish","onPassword:enter"])):b("",!0),i.validateData.applyType===i.APPLY_TYPE.VERIFY?(g(),ne(a,{key:1,ref:"validator",data:i.validateData.verifyData,errMsg:i.validateData.errMsg,width:"252px",failNum:i.validateData.failNum,"onVerifyCode:resend":s.handleResend,"onVerifyCode:finish":s.handleFinish,"onVerifyCode:enter":s.confirm},null,8,["data","errMsg","failNum","onVerifyCode:resend","onVerifyCode:finish","onVerifyCode:enter"])):b("",!0),i.validateData.applyType===i.APPLY_TYPE.NUM_PASS?(g(),ne(l,{key:2,ref:"validator",errMsg:i.validateData.errMsg,sites:r.sites,failNum:i.validateData.failNum,"onNumPassword:finish":s.handleFinish,"onNumPassword:enter":s.confirm},null,8,["errMsg","sites","failNum","onNumPassword:finish","onNumPassword:enter"])):b("",!0)],64)),i.error.title?(g(),v("div",Wne,[s.isDialog?(g(),v("div",Gne,[u("div",Zne,C(i.error.title)+","+C(i.error.desc),1)])):(g(),v("div",Yne,[Jne,u("div",Xne,[u("p",eie,C(i.error.title),1),u("p",tie,C(i.error.desc),1)])]))])):b("",!0),u("div",rie,[i.error.title?b("",!0):(g(),ne(c,{key:0,theme:s.mergedOptions.theme,height:s.mergedOptions.buttonHeight,class:T(["pay-btn",{"pay-btn-gray":!i.btnActive}]),type:"fill",loading:i.loading,onClick:s.confirm},{default:F(()=>[V(C(i.validateData.confirmText||"确认"),1)]),_:1},8,["theme","height","class","loading","onClick"])),i.error.title?(g(),ne(c,{key:1,class:"error-btn",theme:s.mergedOptions.theme,height:s.mergedOptions.buttonHeight,disabled:i.error.disabled,onClick:i.error.onclick},{default:F(()=>[V(C(i.error.btnText),1)]),_:1},8,["theme","height","disabled","onClick"])):b("",!0),s.mergedOptions.hideCancelBtn?b("",!0):(g(),ne(c,{key:2,theme:s.mergedOptions.theme,height:s.mergedOptions.buttonHeight,type:"plain",onClick:s.handleCancel,style:{"margin-left":"16px"}},{default:F(()=>[V("取消 ")]),_:1},8,["theme","height","onClick"]))])])):b("",!0)]),_:3},16,["onCancel"])):b("",!0)}const iie=ye(qne,[["render",nie],["__scopeId","data-v-b11fabae"]]);ze(iie);const sie="modulepreload",oie=function(t){return"https://static.kongfz.com/search-v3/"+t},A3={},wie=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(r.map(l=>{if(l=oie(l),l in A3)return;A3[l]=!0;const c=l.endsWith(".css"),h=c?'[rel="stylesheet"]':"";if(!!n)for(let p=s.length-1;p>=0;p--){const y=s[p];if(y.href===l&&(!c||y.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(l,'"]').concat(h)))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":sie,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error("Unable to preload CSS for ".concat(l))))})}))}return i.then(()=>e()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})};export{mie as K,gie as _,die as a,fie as b,vie as c,yie as d,pie as e,bie as f,_ie as g,Z as h,ye as i,B3 as j,wie as k,uie as l,hie as m}; diff --git a/temp_kongfz_search.html b/temp_kongfz_search.html deleted file mode 100644 index 2e3a923..0000000 --- a/temp_kongfz_search.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - \ No newline at end of file diff --git a/temp_kongfz_search_vue2.html b/temp_kongfz_search_vue2.html deleted file mode 100644 index d8d3cd3..0000000 --- a/temp_kongfz_search_vue2.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - - - - - - \ No newline at end of file diff --git a/temp_kongfz_vendor.txt b/temp_kongfz_vendor.txt deleted file mode 100644 index 8941df5..0000000 --- a/temp_kongfz_vendor.txt +++ /dev/null @@ -1,25 +0,0 @@ -/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Ns(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ie={},At=[],Pe=()=>{},Qi=()=>!1,$n=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fs=e=>e.startsWith("onUpdate:"),fe=Object.assign,$s=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ji=Object.prototype.hasOwnProperty,Y=(e,t)=>Ji.call(e,t),F=Array.isArray,Tt=e=>un(e)==="[object Map]",kn=e=>un(e)==="[object Set]",cr=e=>un(e)==="[object Date]",q=e=>typeof e=="function",ue=e=>typeof e=="string",ft=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",po=e=>(oe(e)||q(e))&&q(e.then)&&q(e.catch),go=Object.prototype.toString,un=e=>go.call(e),Yi=e=>un(e).slice(8,-1),mo=e=>un(e)==="[object Object]",ks=e=>ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ut=Ns(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xi=/-(\w)/g,Fe=jn(e=>e.replace(Xi,(t,n)=>n?n.toUpperCase():"")),Zi=/\B([A-Z])/g,dt=jn(e=>e.replace(Zi,"-$1").toLowerCase()),Vn=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),os=jn(e=>e?"on".concat(Vn(e)):""),De=(e,t)=>!Object.is(e,t),En=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ys=e=>{const t=parseFloat(e);return isNaN(t)?e:t},el=e=>{const t=ue(e)?Number(e):NaN;return isNaN(t)?e:t};let ur;const yo=()=>ur||(ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hn(e){if(F(e)){const t={};for(let n=0;n{if(n){const s=n.split(nl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Bn(e){let t="";if(ue(e))t=e;else if(F(e))for(let n=0;nLt(n,t))}const jf=e=>ue(e)?e:e==null?"":F(e)||oe(e)&&(e.toString===go||!q(e.toString))?JSON.stringify(e,bo,2):String(e),bo=(e,t)=>t&&t.__v_isRef?bo(e,t.value):Tt(t)?{["Map(".concat(t.size,")")]:[...t.entries()].reduce((n,[s,r],o)=>(n[is(s,o)+" =>"]=r,n),{})}:kn(t)?{["Set(".concat(t.size,")")]:[...t.values()].map(n=>is(n))}:ft(t)?is(t):oe(t)&&!F(t)&&!mo(t)?String(t):t,is=(e,t="")=>{var n;return ft(e)?"Symbol(".concat((n=e.description)!=null?n:t,")"):e};/** -* @vue/reactivity v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Se;class Eo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Se,!t&&Se&&(this.index=(Se.scopes||(Se.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Se;try{return Se=this,t()}finally{Se=n}}}on(){Se=this}off(){Se=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ct()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=lt,n=vt;try{return lt=!0,vt=this,this._runnings++,fr(this),this.fn()}finally{ar(this),this._runnings--,vt=n,lt=t}}stop(){var t;this.active&&(fr(this),ar(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function fl(e){return e.value}function fr(e){e._trackId++,e._depsLength=0}function ar(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Pn=new WeakMap,bt=Symbol(""),bs=Symbol("");function we(e,t,n){if(lt&&vt){let s=Pn.get(e);s||Pn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Ao(()=>s.delete(n))),Ro(vt,r)}}function qe(e,t,n,s,r,o){const i=Pn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&F(e)){const c=Number(s);i.forEach((a,u)=>{(u==="length"||!ft(u)&&u>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":F(e)?ks(n)&&l.push(i.get("length")):(l.push(i.get(bt)),Tt(e)&&l.push(i.get(bs)));break;case"delete":F(e)||(l.push(i.get(bt)),Tt(e)&&l.push(i.get(bs)));break;case"set":Tt(e)&&l.push(i.get(bt));break}Vs();for(const c of l)c&&Po(c,4);Hs()}function al(e,t){var n;return(n=Pn.get(e))==null?void 0:n.get(t)}const dl=Ns("__proto__,__v_isRef,__isVue"),To=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ft)),dr=hl();function hl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Q(this);for(let o=0,i=this.length;o{e[t]=function(...n){Et(),Vs();const s=Q(this)[t].apply(this,n);return Hs(),Ct(),s}}),e}function pl(e){const t=Q(this);return we(t,"has",e),t.hasOwnProperty(e)}class Oo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Pl:No:o?Lo:Io).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=F(t);if(!r){if(i&&Y(dr,n))return Reflect.get(dr,n,s);if(n==="hasOwnProperty")return pl}const l=Reflect.get(t,n,s);return(ft(n)?To.has(n):dl(n))||(r||we(t,"get",n),o)?l:de(l)?i&&ks(n)?l:l.value:oe(l)?r?$o(l):fn(l):l}}class Mo extends Oo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Nt(o);if(!An(s)&&!Nt(s)&&(o=Q(o),s=Q(s)),!F(t)&&de(o)&&!de(s))return c?!1:(o.value=s,!0)}const i=F(t)&&ks(n)?Number(n)e,Dn=e=>Reflect.getPrototypeOf(e);function hn(e,t,n=!1,s=!1){e=e.__v_raw;const r=Q(e),o=Q(t);n||(De(t,o)&&we(r,"get",t),we(r,"get",o));const{has:i}=Dn(r),l=s?Bs:n?Us:en;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function pn(e,t=!1){const n=this.__v_raw,s=Q(n),r=Q(e);return t||(De(e,r)&&we(s,"has",e),we(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function gn(e,t=!1){return e=e.__v_raw,!t&&we(Q(e),"iterate",bt),Reflect.get(e,"size",e)}function hr(e){e=Q(e);const t=Q(this);return Dn(t).has.call(t,e)||(t.add(e),qe(t,"add",e,e)),this}function pr(e,t){t=Q(t);const n=Q(this),{has:s,get:r}=Dn(n);let o=s.call(n,e);o||(e=Q(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?De(t,i)&&qe(n,"set",e,t):qe(n,"add",e,t),this}function gr(e){const t=Q(this),{has:n,get:s}=Dn(t);let r=n.call(t,e);r||(e=Q(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&qe(t,"delete",e,void 0),o}function mr(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&qe(e,"clear",void 0,void 0),n}function mn(e,t){return function(s,r){const o=this,i=o.__v_raw,l=Q(i),c=t?Bs:e?Us:en;return!e&&we(l,"iterate",bt),i.forEach((a,u)=>s.call(r,c(a),c(u),o))}}function yn(e,t,n){return function(...s){const r=this.__v_raw,o=Q(r),i=Tt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?Bs:t?Us:en;return!t&&we(o,"iterate",c?bs:bt),{next(){const{value:h,done:p}=a.next();return p?{value:h,done:p}:{value:l?[u(h[0]),u(h[1])]:u(h),done:p}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function vl(){const e={get(o){return hn(this,o)},get size(){return gn(this)},has:pn,add:hr,set:pr,delete:gr,clear:mr,forEach:mn(!1,!1)},t={get(o){return hn(this,o,!1,!0)},get size(){return gn(this)},has:pn,add:hr,set:pr,delete:gr,clear:mr,forEach:mn(!1,!0)},n={get(o){return hn(this,o,!0)},get size(){return gn(this,!0)},has(o){return pn.call(this,o,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:mn(!0,!1)},s={get(o){return hn(this,o,!0,!0)},get size(){return gn(this,!0)},has(o){return pn.call(this,o,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:mn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=yn(o,!1,!1),n[o]=yn(o,!0,!1),t[o]=yn(o,!1,!0),s[o]=yn(o,!0,!0)}),[e,n,t,s]}const[bl,El,Cl,wl]=vl();function Ds(e,t){const n=t?e?wl:Cl:e?El:bl;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Y(n,r)&&r in s?n:s,r,o)}const xl={get:Ds(!1,!1)},Sl={get:Ds(!1,!0)},Rl={get:Ds(!0,!1)},Io=new WeakMap,Lo=new WeakMap,No=new WeakMap,Pl=new WeakMap;function Al(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Tl(e){return e.__v_skip||!Object.isExtensible(e)?0:Al(Yi(e))}function fn(e){return Nt(e)?e:Ks(e,!1,ml,xl,Io)}function Fo(e){return Ks(e,!1,_l,Sl,Lo)}function $o(e){return Ks(e,!0,yl,Rl,No)}function Ks(e,t,n,s,r){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Tl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function ct(e){return Nt(e)?ct(e.__v_raw):!!(e&&e.__v_isReactive)}function Nt(e){return!!(e&&e.__v_isReadonly)}function An(e){return!!(e&&e.__v_isShallow)}function ko(e){return ct(e)||Nt(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Kn(e){return Object.isExtensible(e)&&Rn(e,"__v_skip",!0),e}const en=e=>oe(e)?fn(e):e,Us=e=>oe(e)?$o(e):e;class jo{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new js(()=>t(this._value),()=>Wt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Q(this);return(!t._cacheable||t.effect.dirty)&&De(t._value,t._value=t.effect.run())&&Wt(t,4),Ws(t),t.effect._dirtyLevel>=2&&Wt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ol(e,t,n=!1){let s,r;const o=q(e);return o?(s=e,r=Pe):(s=e.get,r=e.set),new jo(s,r,o||!r,n)}function Ws(e){var t;lt&&vt&&(e=Q(e),Ro(vt,(t=e.dep)!=null?t:e.dep=Ao(()=>e.dep=void 0,e instanceof jo?e:void 0)))}function Wt(e,t=4,n){e=Q(e);const s=e.dep;s&&Po(s,t)}function de(e){return!!(e&&e.__v_isRef===!0)}function Un(e){return Vo(e,!1)}function Ml(e){return Vo(e,!0)}function Vo(e,t){return de(e)?e:new Il(e,t)}class Il{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:en(t)}get value(){return Ws(this),this._value}set value(t){const n=this.__v_isShallow||An(t)||Nt(t);t=n?t:Q(t),De(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:en(t),Wt(this,4))}}function Ot(e){return de(e)?e.value:e}const Ll={get:(e,t,n)=>Ot(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ho(e){return ct(e)?e:new Proxy(e,Ll)}class Nl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Ws(this),()=>Wt(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Fl(e){return new Nl(e)}function $l(e){const t=F(e)?new Array(e.length):{};for(const n in e)t[n]=Bo(e,n);return t}class kl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return al(Q(this._object),this._key)}}class jl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Vf(e,t,n){return de(e)?e:q(e)?new jl(e):oe(e)&&arguments.length>1?Bo(e,t,n):Un(e)}function Bo(e,t,n){const s=e[t];return de(s)?s:new kl(e,t,n)}/** -* @vue/runtime-core v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function ut(e,t,n,s){try{return s?e(...s):e()}catch(r){Wn(r,t,n)}}function Oe(e,t,n,s){if(q(e)){const o=ut(e,t,n,s);return o&&po(o)&&o.catch(i=>{Wn(i,t,n)}),o}const r=[];for(let o=0;o>>1,r=ye[s],o=nn(r);oBe&&ye.splice(t,1)}function Dl(e){F(e)?Mt.push(...e):(!tt||!tt.includes(e,e.allowRecurse?mt+1:mt))&&Mt.push(e),Ko()}function yr(e,t,n=tn?Be+1:0){for(;nnn(n)-nn(s));if(Mt.length=0,tt){tt.push(...t);return}for(tt=t,mt=0;mte.id==null?1/0:e.id,Kl=(e,t)=>{const n=nn(e)-nn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Wo(e){Es=!1,tn=!0,ye.sort(Kl);try{for(Be=0;Beue(m)?m.trim():m)),h&&(r=n.map(ys))}let l,c=s[l=os(t)]||s[l=os(Fe(t))];!c&&o&&(c=s[l=os(dt(t))]),c&&Oe(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Oe(a,e,6,r)}}function qo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!q(e)){const c=a=>{const u=qo(a,t,!0);u&&(l=!0,fe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(oe(e)&&s.set(e,null),null):(F(o)?o.forEach(c=>i[c]=null):fe(i,o),oe(e)&&s.set(e,i),i)}function qn(e,t){return!e||!$n(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,dt(t))||Y(e,t))}let ae=null,Gn=null;function Tn(e){const t=ae;return ae=e,Gn=e&&e.type.__scopeId||null,t}function Hf(e){Gn=e}function Bf(){Gn=null}function Wl(e,t=ae,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Or(-1);const o=Tn(t);let i;try{i=e(...r)}finally{Tn(o),s._d&&Or(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ls(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:h,data:p,setupState:m,ctx:C,inheritAttrs:A}=e;let V,M;const k=Tn(e);try{if(n.shapeFlag&4){const U=r||s,D=U;V=He(u.call(D,U,h,o,m,p,C)),M=c}else{const U=t;V=He(U.length>1?U(o,{attrs:c,slots:l,emit:a}):U(o,null)),M=t.props?c:ql(c)}}catch(U){Jt.length=0,Wn(U,e,1),V=_e(Ie)}let B=V;if(M&&A!==!1){const U=Object.keys(M),{shapeFlag:D}=B;U.length&&D&7&&(i&&U.some(Fs)&&(M=Gl(M,i)),B=at(B,M))}return n.dirs&&(B=at(B),B.dirs=B.dirs?B.dirs.concat(n.dirs):n.dirs),n.transition&&(B.transition=n.transition),V=B,Tn(k),V}const ql=e=>{let t;for(const n in e)(n==="class"||n==="style"||$n(n))&&((t||(t={}))[n]=e[n]);return t},Gl=(e,t)=>{const n={};for(const s in e)(!Fs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function zl(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?_r(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function Xl(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Dl(e)}const Zl=Symbol.for("v-scx"),ec=()=>Me(Zl);function Wf(e,t){return zn(e,null,t)}function tc(e,t){return zn(e,null,{flush:"sync"})}const _n={};function qt(e,t,n){return zn(e,t,n)}function zn(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=ie){if(t&&o){const $=t;t=(...G)=>{$(...G),D()}}const c=pe,a=$=>s===!0?$:_t($,s===!1?1:void 0);let u,h=!1,p=!1;if(de(e)?(u=()=>e.value,h=An(e)):ct(e)?(u=()=>a(e),h=!0):F(e)?(p=!0,h=e.some($=>ct($)||An($)),u=()=>e.map($=>{if(de($))return $.value;if(ct($))return a($);if(q($))return ut($,c,2)})):q(e)?t?u=()=>ut(e,c,2):u=()=>(m&&m(),Oe(e,c,3,[C])):u=Pe,t&&s){const $=u;u=()=>_t($())}let m,C=$=>{m=B.onStop=()=>{ut($,c,4),m=B.onStop=void 0}},A;if(es)if(C=Pe,t?n&&Oe(t,c,3,[u(),p?[]:void 0,C]):u(),r==="sync"){const $=ec();A=$.__watcherHandles||($.__watcherHandles=[])}else return Pe;let V=p?new Array(e.length).fill(_n):_n;const M=()=>{if(!(!B.active||!B.dirty))if(t){const $=B.run();(s||h||(p?$.some((G,S)=>De(G,V[S])):De($,V)))&&(m&&m(),Oe(t,c,3,[$,V===_n?void 0:p&&V[0]===_n?[]:V,C]),V=$)}else B.run()};M.allowRecurse=!!t;let k;r==="sync"?k=M:r==="post"?k=()=>Ce(M,c&&c.suspense):(M.pre=!0,c&&(M.id=c.uid),k=()=>zs(M));const B=new js(u,Pe,k),U=wo(),D=()=>{B.stop(),U&&$s(U.effects,B)};return t?n?M():V=B.run():r==="post"?Ce(B.run.bind(B),c&&c.suspense):B.run(),A&&A.push(D),D}function nc(e,t,n){const s=this.proxy,r=ue(e)?e.includes(".")?zo(s,e):()=>s[e]:e.bind(s,s);let o;q(t)?o=t:(o=t.handler,n=t);const i=an(this),l=zn(r,o.bind(s),n);return i(),l}function zo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),de(e))_t(e.value,t,n,s);else if(F(e))for(let r=0;r{_t(r,t,n,s)});else if(mo(e))for(const r in e)_t(e[r],t,n,s);return e}function qf(e,t){if(ae===null)return e;const n=ts(ae)||ae.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),ni(()=>{e.isUnmounting=!0}),e}const Ae=[Function,Array],Jo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ae,onEnter:Ae,onAfterEnter:Ae,onEnterCancelled:Ae,onBeforeLeave:Ae,onLeave:Ae,onAfterLeave:Ae,onLeaveCancelled:Ae,onBeforeAppear:Ae,onAppear:Ae,onAfterAppear:Ae,onAppearCancelled:Ae},sc={name:"BaseTransition",props:Jo,setup(e,{slots:t}){const n=Zn(),s=Qo();return()=>{const r=t.default&&Ys(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const p of r)if(p.type!==Ie){o=p;break}}const i=Q(e),{mode:l}=i;if(s.isLeaving)return cs(o);const c=br(o);if(!c)return cs(o);const a=sn(c,i,s,n);rn(c,a);const u=n.subTree,h=u&&br(u);if(h&&h.type!==Ie&&!yt(c,h)){const p=sn(h,i,s,n);if(rn(h,p),l==="out-in")return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},cs(o);l==="in-out"&&c.type!==Ie&&(p.delayLeave=(m,C,A)=>{const V=Yo(s,h);V[String(h.key)]=h,m[nt]=()=>{C(),m[nt]=void 0,delete a.delayedLeave},a.delayedLeave=A})}return o}}},rc=sc;function Yo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function sn(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:h,onLeave:p,onAfterLeave:m,onLeaveCancelled:C,onBeforeAppear:A,onAppear:V,onAfterAppear:M,onAppearCancelled:k}=t,B=String(e.key),U=Yo(n,e),D=(S,L)=>{S&&Oe(S,s,9,L)},$=(S,L)=>{const W=L[1];D(S,L),F(S)?S.every(X=>X.length<=1)&&W():S.length<=1&&W()},G={mode:o,persisted:i,beforeEnter(S){let L=l;if(!n.isMounted)if(r)L=A||l;else return;S[nt]&&S[nt](!0);const W=U[B];W&&yt(e,W)&&W.el[nt]&&W.el[nt](),D(L,[S])},enter(S){let L=c,W=a,X=u;if(!n.isMounted)if(r)L=V||c,W=M||a,X=k||u;else return;let I=!1;const Z=S[vn]=ge=>{I||(I=!0,ge?D(X,[S]):D(W,[S]),G.delayedLeave&&G.delayedLeave(),S[vn]=void 0)};L?$(L,[S,Z]):Z()},leave(S,L){const W=String(e.key);if(S[vn]&&S[vn](!0),n.isUnmounting)return L();D(h,[S]);let X=!1;const I=S[nt]=Z=>{X||(X=!0,L(),Z?D(C,[S]):D(m,[S]),S[nt]=void 0,U[W]===e&&delete U[W])};U[W]=e,p?$(p,[S,I]):I()},clone(S){return sn(S,t,n,s)}};return G}function cs(e){if(Qn(e))return e=at(e),e.children=null,e}function br(e){return Qn(e)?e.children?e.children[0]:void 0:e}function rn(e,t){e.shapeFlag&6&&e.component?rn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ys(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,Qn=e=>e.type.__isKeepAlive;function oc(e,t){Zo(e,"a",t)}function ic(e,t){Zo(e,"da",t)}function Zo(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Jn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Qn(r.parent.vnode)&&lc(s,t,n,r),r=r.parent}}function lc(e,t,n,s){const r=Jn(t,e,s,!0);si(()=>{$s(s[t],r)},n)}function Jn(e,t,n=pe,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Et();const l=an(n),c=Oe(t,n,e,i);return l(),Ct(),c});return s?r.unshift(o):r.push(o),o}}const ze=e=>(t,n=pe)=>(!es||e==="sp")&&Jn(e,(...s)=>t(...s),n),cc=ze("bm"),ei=ze("m"),uc=ze("bu"),ti=ze("u"),ni=ze("bum"),si=ze("um"),fc=ze("sp"),ac=ze("rtg"),dc=ze("rtc");function hc(e,t=pe){Jn("ec",e,t)}function Gf(e,t,n,s){let r;const o=n&&n[s];if(F(e)||ue(e)){r=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;l{const o=s.fn(...r);return o&&(o.key=s.key),o}:s.fn)}return e}function Qf(e,t,n={},s,r){if(ae.isCE||ae.parent&&Gt(ae.parent)&&ae.parent.isCE)return t!=="default"&&(n.name=t),_e("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),gi();const i=o&&ri(o(n)),l=yi(Re,{key:n.key||i&&i.key||"_".concat(t)},i||(s?s():[]),i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function ri(e){return e.some(t=>In(t)?!(t.type===Ie||t.type===Re&&!ri(t.children)):!0)?e:null}const Cs=e=>e?bi(e)?ts(e)||e.proxy:Cs(e.parent):null,zt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Cs(e.parent),$root:e=>Cs(e.root),$emit:e=>e.emit,$options:e=>Xs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,zs(e.update)}),$nextTick:e=>e.n||(e.n=Gs.bind(e.proxy)),$watch:e=>nc.bind(e)}),us=(e,t)=>e!==ie&&!e.__isScriptSetup&&Y(e,t),pc={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(us(s,t))return i[t]=1,s[t];if(r!==ie&&Y(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&Y(a,t))return i[t]=3,o[t];if(n!==ie&&Y(n,t))return i[t]=4,n[t];ws&&(i[t]=0)}}const u=zt[t];let h,p;if(u)return t==="$attrs"&&we(e,"get",t),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ie&&Y(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,Y(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return us(r,t)?(r[t]=n,!0):s!==ie&&Y(s,t)?(s[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ie&&Y(e,i)||us(t,i)||(l=o[0])&&Y(l,i)||Y(s,i)||Y(zt,i)||Y(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Jf(){return oi().slots}function Yf(){return oi().attrs}function oi(){const e=Zn();return e.setupContext||(e.setupContext=Ci(e))}function On(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Xf(e,t){return!e||!t?e||t:F(e)&&F(t)?e.concat(t):fe({},On(e),On(t))}let ws=!0;function gc(e){const t=Xs(e),n=e.proxy,s=e.ctx;ws=!1,t.beforeCreate&&Er(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:h,mounted:p,beforeUpdate:m,updated:C,activated:A,deactivated:V,beforeDestroy:M,beforeUnmount:k,destroyed:B,unmounted:U,render:D,renderTracked:$,renderTriggered:G,errorCaptured:S,serverPrefetch:L,expose:W,inheritAttrs:X,components:I,directives:Z,filters:ge}=t;if(a&&mc(a,s,null),i)for(const se in i){const ee=i[se];q(ee)&&(s[se]=ee.bind(n))}if(r){const se=r.call(n,n);oe(se)&&(e.data=fn(se))}if(ws=!0,o)for(const se in o){const ee=o[se],Ke=q(ee)?ee.bind(n,n):q(ee.get)?ee.get.bind(n,n):Pe,Qe=!q(ee)&&q(ee.set)?ee.set.bind(n):Pe,ke=Te({get:Ke,set:Qe});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>ke.value,set:Ee=>ke.value=Ee})}if(l)for(const se in l)ii(l[se],s,n,se);if(c){const se=q(c)?c.call(n):c;Reflect.ownKeys(se).forEach(ee=>{Cn(ee,se[ee])})}u&&Er(u,e,"c");function J(se,ee){F(ee)?ee.forEach(Ke=>se(Ke.bind(n))):ee&&se(ee.bind(n))}if(J(cc,h),J(ei,p),J(uc,m),J(ti,C),J(oc,A),J(ic,V),J(hc,S),J(dc,$),J(ac,G),J(ni,k),J(si,U),J(fc,L),F(W))if(W.length){const se=e.exposed||(e.exposed={});W.forEach(ee=>{Object.defineProperty(se,ee,{get:()=>n[ee],set:Ke=>n[ee]=Ke})})}else e.exposed||(e.exposed={});D&&e.render===Pe&&(e.render=D),X!=null&&(e.inheritAttrs=X),I&&(e.components=I),Z&&(e.directives=Z)}function mc(e,t,n=Pe){F(e)&&(e=xs(e));for(const s in e){const r=e[s];let o;oe(r)?"default"in r?o=Me(r.from||s,r.default,!0):o=Me(r.from||s):o=Me(r),de(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Er(e,t,n){Oe(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ii(e,t,n,s){const r=s.includes(".")?zo(n,s):()=>n[s];if(ue(e)){const o=t[e];q(o)&&qt(r,o)}else if(q(e))qt(r,e.bind(n));else if(oe(e))if(F(e))e.forEach(o=>ii(o,t,n,s));else{const o=q(e.handler)?e.handler.bind(n):t[e.handler];q(o)&&qt(r,o,e)}}function Xs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>Mn(c,a,i,!0)),Mn(c,t,i)),oe(t)&&o.set(t,c),c}function Mn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Mn(e,o,n,!0),r&&r.forEach(i=>Mn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=yc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const yc={data:Cr,props:wr,emits:wr,methods:Kt,computed:Kt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Kt,directives:Kt,watch:vc,provide:Cr,inject:_c};function Cr(e,t){return t?e?function(){return fe(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function _c(e,t){return Kt(xs(e),xs(t))}function xs(e){if(F(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(s&&s.proxy):t}}function Cc(){return!!(pe||ae||It)}function wc(e,t,n,s=!1){const r={},o={};Rn(o,Xn,1),e.propsDefaults=Object.create(null),ci(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Fo(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function xc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=Q(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,m]=ui(h,t,!0);fe(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return oe(e)&&s.set(e,At),At;if(F(o))for(let u=0;u-1,m[1]=A<0||C-1||Y(m,"default"))&&l.push(h)}}}const a=[i,l];return oe(e)&&s.set(e,a),a}function xr(e){return e[0]!=="$"&&!Ut(e)}function Sr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Rr(e,t){return Sr(e)===Sr(t)}function Pr(e,t){return F(t)?t.findIndex(n=>Rr(n,e)):q(t)&&Rr(t,e)?0:-1}const fi=e=>e[0]==="_"||e==="$stable",Zs=e=>F(e)?e.map(He):[He(e)],Sc=(e,t,n)=>{if(t._n)return t;const s=Wl((...r)=>Zs(t(...r)),n);return s._c=!1,s},ai=(e,t,n)=>{const s=e._ctx;for(const r in e){if(fi(r))continue;const o=e[r];if(q(o))t[r]=Sc(r,o,s);else if(o!=null){const i=Zs(o);t[r]=()=>i}}},di=(e,t)=>{const n=Zs(t);e.slots.default=()=>n},Rc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),Rn(t,"_",n)):ai(t,e.slots={})}else e.slots={},t&&di(e,t);Rn(e.slots,Xn,1)},Pc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ie;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(fe(r,t),!n&&l===1&&delete r._):(o=!t.$stable,ai(t,r)),i=t}else t&&(di(e,t),i={default:1});if(o)for(const l in r)!fi(l)&&i[l]==null&&delete r[l]};function Rs(e,t,n,s,r=!1){if(F(e)){e.forEach((p,m)=>Rs(p,t&&(F(t)?t[m]:t),n,s,r));return}if(Gt(s)&&!r)return;const o=s.shapeFlag&4?ts(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===ie?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(ue(a)?(u[a]=null,Y(h,a)&&(h[a]=null)):de(a)&&(a.value=null)),q(c))ut(c,l,12,[i,u]);else{const p=ue(c),m=de(c);if(p||m){const C=()=>{if(e.f){const A=p?Y(h,c)?h[c]:u[c]:c.value;r?F(A)&&$s(A,o):F(A)?A.includes(o)||A.push(o):p?(u[c]=[o],Y(h,c)&&(h[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else p?(u[c]=i,Y(h,c)&&(h[c]=i)):m&&(c.value=i,e.k&&(u[e.k]=i))};i?(C.id=-1,Ce(C,n)):C()}}}const Ce=Xl;function Ac(e){return Tc(e)}function Tc(e,t){const n=yo();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:h,nextSibling:p,setScopeId:m=Pe,insertStaticContent:C}=e,A=(f,d,g,v=null,y=null,w=null,P=void 0,E=null,x=!!d.dynamicChildren)=>{if(f===d)return;f&&!yt(f,d)&&(v=_(f),Ee(f,y,w,!0),f=null),d.patchFlag===-2&&(x=!1,d.dynamicChildren=null);const{type:b,ref:O,shapeFlag:H}=d;switch(b){case Yn:V(f,d,g,v);break;case Ie:M(f,d,g,v);break;case wn:f==null&&k(d,g,v,P);break;case Re:I(f,d,g,v,y,w,P,E,x);break;default:H&1?D(f,d,g,v,y,w,P,E,x):H&6?Z(f,d,g,v,y,w,P,E,x):(H&64||H&128)&&b.process(f,d,g,v,y,w,P,E,x,N)}O!=null&&y&&Rs(O,f&&f.ref,w,d||f,!d)},V=(f,d,g,v)=>{if(f==null)s(d.el=l(d.children),g,v);else{const y=d.el=f.el;d.children!==f.children&&a(y,d.children)}},M=(f,d,g,v)=>{f==null?s(d.el=c(d.children||""),g,v):d.el=f.el},k=(f,d,g,v)=>{[f.el,f.anchor]=C(f.children,d,g,v,f.el,f.anchor)},B=({el:f,anchor:d},g,v)=>{let y;for(;f&&f!==d;)y=p(f),s(f,g,v),f=y;s(d,g,v)},U=({el:f,anchor:d})=>{let g;for(;f&&f!==d;)g=p(f),r(f),f=g;r(d)},D=(f,d,g,v,y,w,P,E,x)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),f==null?$(d,g,v,y,w,P,E,x):L(f,d,y,w,P,E,x)},$=(f,d,g,v,y,w,P,E)=>{let x,b;const{props:O,shapeFlag:H,transition:j,dirs:K}=f;if(x=f.el=i(f.type,w,O&&O.is,O),H&8?u(x,f.children):H&16&&S(f.children,x,null,v,y,fs(f,w),P,E),K&&ht(f,null,v,"created"),G(x,f,f.scopeId,P,v),O){for(const re in O)re!=="value"&&!Ut(re)&&o(x,re,null,O[re],w,f.children,v,y,me);"value"in O&&o(x,"value",null,O.value,w),(b=O.onVnodeBeforeMount)&&Ve(b,v,f)}K&&ht(f,null,v,"beforeMount");const z=Oc(y,j);z&&j.beforeEnter(x),s(x,d,g),((b=O&&O.onVnodeMounted)||z||K)&&Ce(()=>{b&&Ve(b,v,f),z&&j.enter(x),K&&ht(f,null,v,"mounted")},y)},G=(f,d,g,v,y)=>{if(g&&m(f,g),v)for(let w=0;w{for(let b=x;b{const E=d.el=f.el;let{patchFlag:x,dynamicChildren:b,dirs:O}=d;x|=f.patchFlag&16;const H=f.props||ie,j=d.props||ie;let K;if(g&&pt(g,!1),(K=j.onVnodeBeforeUpdate)&&Ve(K,g,d,f),O&&ht(d,f,g,"beforeUpdate"),g&&pt(g,!0),b?W(f.dynamicChildren,b,E,g,v,fs(d,y),w):P||ee(f,d,E,null,g,v,fs(d,y),w,!1),x>0){if(x&16)X(E,d,H,j,g,v,y);else if(x&2&&H.class!==j.class&&o(E,"class",null,j.class,y),x&4&&o(E,"style",H.style,j.style,y),x&8){const z=d.dynamicProps;for(let re=0;re{K&&Ve(K,g,d,f),O&&ht(d,f,g,"updated")},v)},W=(f,d,g,v,y,w,P)=>{for(let E=0;E{if(g!==v){if(g!==ie)for(const E in g)!Ut(E)&&!(E in v)&&o(f,E,g[E],null,P,d.children,y,w,me);for(const E in v){if(Ut(E))continue;const x=v[E],b=g[E];x!==b&&E!=="value"&&o(f,E,b,x,P,d.children,y,w,me)}"value"in v&&o(f,"value",g.value,v.value,P)}},I=(f,d,g,v,y,w,P,E,x)=>{const b=d.el=f?f.el:l(""),O=d.anchor=f?f.anchor:l("");let{patchFlag:H,dynamicChildren:j,slotScopeIds:K}=d;K&&(E=E?E.concat(K):K),f==null?(s(b,g,v),s(O,g,v),S(d.children||[],g,O,y,w,P,E,x)):H>0&&H&64&&j&&f.dynamicChildren?(W(f.dynamicChildren,j,g,y,w,P,E),(d.key!=null||y&&d===y.subTree)&&er(f,d,!0)):ee(f,d,g,O,y,w,P,E,x)},Z=(f,d,g,v,y,w,P,E,x)=>{d.slotScopeIds=E,f==null?d.shapeFlag&512?y.ctx.activate(d,g,v,P,x):ge(d,g,v,y,w,P,x):ve(f,d,x)},ge=(f,d,g,v,y,w,P)=>{const E=f.component=Dc(f,v,y);if(Qn(f)&&(E.ctx.renderer=N),Kc(E),E.asyncDep){if(y&&y.registerDep(E,J),!f.el){const x=E.subTree=_e(Ie);M(null,x,d,g)}}else J(E,f,d,g,y,w,P)},ve=(f,d,g)=>{const v=d.component=f.component;if(zl(f,d,g))if(v.asyncDep&&!v.asyncResolved){se(v,d,g);return}else v.next=d,Bl(v.update),v.effect.dirty=!0,v.update();else d.el=f.el,v.vnode=d},J=(f,d,g,v,y,w,P)=>{const E=()=>{if(f.isMounted){let{next:O,bu:H,u:j,parent:K,vnode:z}=f;{const St=hi(f);if(St){O&&(O.el=z.el,se(f,O,P)),St.asyncDep.then(()=>{f.isUnmounted||E()});return}}let re=O,ce;pt(f,!1),O?(O.el=z.el,se(f,O,P)):O=z,H&&En(H),(ce=O.props&&O.props.onVnodeBeforeUpdate)&&Ve(ce,K,O,z),pt(f,!0);const he=ls(f),Le=f.subTree;f.subTree=he,A(Le,he,h(Le.el),_(Le),f,y,w),O.el=he.el,re===null&&Ql(f,he.el),j&&Ce(j,y),(ce=O.props&&O.props.onVnodeUpdated)&&Ce(()=>Ve(ce,K,O,z),y)}else{let O;const{el:H,props:j}=d,{bm:K,m:z,parent:re}=f,ce=Gt(d);if(pt(f,!1),K&&En(K),!ce&&(O=j&&j.onVnodeBeforeMount)&&Ve(O,re,d),pt(f,!0),H&&le){const he=()=>{f.subTree=ls(f),le(H,f.subTree,f,y,null)};ce?d.type.__asyncLoader().then(()=>!f.isUnmounted&&he()):he()}else{const he=f.subTree=ls(f);A(null,he,g,v,f,y,w),d.el=he.el}if(z&&Ce(z,y),!ce&&(O=j&&j.onVnodeMounted)){const he=d;Ce(()=>Ve(O,re,he),y)}(d.shapeFlag&256||re&&Gt(re.vnode)&&re.vnode.shapeFlag&256)&&f.a&&Ce(f.a,y),f.isMounted=!0,d=g=v=null}},x=f.effect=new js(E,Pe,()=>zs(b),f.scope),b=f.update=()=>{x.dirty&&x.run()};b.id=f.uid,pt(f,!0),b()},se=(f,d,g)=>{d.component=f;const v=f.vnode.props;f.vnode=d,f.next=null,xc(f,d.props,v,g),Pc(f,d.children,g),Et(),yr(f),Ct()},ee=(f,d,g,v,y,w,P,E,x=!1)=>{const b=f&&f.children,O=f?f.shapeFlag:0,H=d.children,{patchFlag:j,shapeFlag:K}=d;if(j>0){if(j&128){Qe(b,H,g,v,y,w,P,E,x);return}else if(j&256){Ke(b,H,g,v,y,w,P,E,x);return}}K&8?(O&16&&me(b,y,w),H!==b&&u(g,H)):O&16?K&16?Qe(b,H,g,v,y,w,P,E,x):me(b,y,w,!0):(O&8&&u(g,""),K&16&&S(H,g,v,y,w,P,E,x))},Ke=(f,d,g,v,y,w,P,E,x)=>{f=f||At,d=d||At;const b=f.length,O=d.length,H=Math.min(b,O);let j;for(j=0;jO?me(f,y,w,!0,!1,H):S(d,g,v,y,w,P,E,x,H)},Qe=(f,d,g,v,y,w,P,E,x)=>{let b=0;const O=d.length;let H=f.length-1,j=O-1;for(;b<=H&&b<=j;){const K=f[b],z=d[b]=x?st(d[b]):He(d[b]);if(yt(K,z))A(K,z,g,null,y,w,P,E,x);else break;b++}for(;b<=H&&b<=j;){const K=f[H],z=d[j]=x?st(d[j]):He(d[j]);if(yt(K,z))A(K,z,g,null,y,w,P,E,x);else break;H--,j--}if(b>H){if(b<=j){const K=j+1,z=Kj)for(;b<=H;)Ee(f[b],y,w,!0),b++;else{const K=b,z=b,re=new Map;for(b=z;b<=j;b++){const xe=d[b]=x?st(d[b]):He(d[b]);xe.key!=null&&re.set(xe.key,b)}let ce,he=0;const Le=j-z+1;let St=!1,or=0;const Vt=new Array(Le);for(b=0;b=Le){Ee(xe,y,w,!0);continue}let je;if(xe.key!=null)je=re.get(xe.key);else for(ce=z;ce<=j;ce++)if(Vt[ce-z]===0&&yt(xe,d[ce])){je=ce;break}je===void 0?Ee(xe,y,w,!0):(Vt[je-z]=b+1,je>=or?or=je:St=!0,A(xe,d[je],g,null,y,w,P,E,x),he++)}const ir=St?Mc(Vt):At;for(ce=ir.length-1,b=Le-1;b>=0;b--){const xe=z+b,je=d[xe],lr=xe+1{const{el:w,type:P,transition:E,children:x,shapeFlag:b}=f;if(b&6){ke(f.component.subTree,d,g,v);return}if(b&128){f.suspense.move(d,g,v);return}if(b&64){P.move(f,d,g,N);return}if(P===Re){s(w,d,g);for(let H=0;HE.enter(w),y);else{const{leave:H,delayLeave:j,afterLeave:K}=E,z=()=>s(w,d,g),re=()=>{H(w,()=>{z(),K&&K()})};j?j(w,z,re):re()}else s(w,d,g)},Ee=(f,d,g,v=!1,y=!1)=>{const{type:w,props:P,ref:E,children:x,dynamicChildren:b,shapeFlag:O,patchFlag:H,dirs:j}=f;if(E!=null&&Rs(E,null,g,f,!0),O&256){d.ctx.deactivate(f);return}const K=O&1&&j,z=!Gt(f);let re;if(z&&(re=P&&P.onVnodeBeforeUnmount)&&Ve(re,d,f),O&6)dn(f.component,g,v);else{if(O&128){f.suspense.unmount(g,v);return}K&&ht(f,null,d,"beforeUnmount"),O&64?f.type.remove(f,d,g,y,N,v):b&&(w!==Re||H>0&&H&64)?me(b,d,g,!1,!0):(w===Re&&H&384||!y&&O&16)&&me(x,d,g),v&&wt(f)}(z&&(re=P&&P.onVnodeUnmounted)||K)&&Ce(()=>{re&&Ve(re,d,f),K&&ht(f,null,d,"unmounted")},g)},wt=f=>{const{type:d,el:g,anchor:v,transition:y}=f;if(d===Re){xt(g,v);return}if(d===wn){U(f);return}const w=()=>{r(g),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(f.shapeFlag&1&&y&&!y.persisted){const{leave:P,delayLeave:E}=y,x=()=>P(g,w);E?E(f.el,w,x):x()}else w()},xt=(f,d)=>{let g;for(;f!==d;)g=p(f),r(f),f=g;r(d)},dn=(f,d,g)=>{const{bum:v,scope:y,update:w,subTree:P,um:E}=f;v&&En(v),y.stop(),w&&(w.active=!1,Ee(P,f,d,g)),E&&Ce(E,d),Ce(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},me=(f,d,g,v=!1,y=!1,w=0)=>{for(let P=w;Pf.shapeFlag&6?_(f.component.subTree):f.shapeFlag&128?f.suspense.next():p(f.anchor||f.el);let T=!1;const R=(f,d,g)=>{f==null?d._vnode&&Ee(d._vnode,null,null,!0):A(d._vnode||null,f,d,null,null,null,g),T||(T=!0,yr(),Uo(),T=!1),d._vnode=f},N={p:A,um:Ee,m:ke,r:wt,mt:ge,mc:S,pc:ee,pbc:W,n:_,o:e};let te,le;return t&&([te,le]=t(N)),{render:R,hydrate:te,createApp:Ec(R,te)}}function fs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Oc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function er(e,t,n=!1){const s=e.children,r=t.children;if(F(s)&&F(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function hi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hi(t)}const Ic=e=>e.__isTeleport,Qt=e=>e&&(e.disabled||e.disabled===""),Ar=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Tr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ps=(e,t)=>{const n=e&&e.to;return ue(n)?t?t(n):null:n},Lc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,a){const{mc:u,pc:h,pbc:p,o:{insert:m,querySelector:C,createText:A,createComment:V}}=a,M=Qt(t.props);let{shapeFlag:k,children:B,dynamicChildren:U}=t;if(e==null){const D=t.el=A(""),$=t.anchor=A("");m(D,n,s),m($,n,s);const G=t.target=Ps(t.props,C),S=t.targetAnchor=A("");G&&(m(S,G),i==="svg"||Ar(G)?i="svg":(i==="mathml"||Tr(G))&&(i="mathml"));const L=(W,X)=>{k&16&&u(B,W,X,r,o,i,l,c)};M?L(n,$):G&&L(G,S)}else{t.el=e.el;const D=t.anchor=e.anchor,$=t.target=e.target,G=t.targetAnchor=e.targetAnchor,S=Qt(e.props),L=S?n:$,W=S?D:G;if(i==="svg"||Ar($)?i="svg":(i==="mathml"||Tr($))&&(i="mathml"),U?(p(e.dynamicChildren,U,L,r,o,i,l),er(e,t,!0)):c||h(e,t,L,W,r,o,i,l,!1),M)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):bn(t,n,D,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const X=t.target=Ps(t.props,C);X&&bn(t,X,null,a,0)}else S&&bn(t,$,G,a,1)}pi(t)},remove(e,t,n,s,{um:r,o:{remove:o}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:h,props:p}=e;if(h&&o(u),i&&o(a),l&16){const m=i||!Qt(p);for(let C=0;C0?Ne||At:null,Fc(),on>0&&Ne&&Ne.push(e),e}function ea(e,t,n,s,r,o){return mi(vi(e,t,n,s,r,o,!0))}function yi(e,t,n,s,r){return mi(_e(e,t,n,s,r,!0))}function In(e){return e?e.__v_isVNode===!0:!1}function yt(e,t){return e.type===t.type&&e.key===t.key}const Xn="__vInternal",_i=({key:e})=>e!=null?e:null,xn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ue(e)||de(e)||q(e)?{i:ae,r:e,k:t,f:!!n}:e:null);function vi(e,t=null,n=null,s=0,r=null,o=e===Re?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_i(t),ref:t&&xn(t),scopeId:Gn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ae};return l?(tr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ue(n)?8:16),on>0&&!i&&Ne&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ne.push(c),c}const _e=$c;function $c(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Go)&&(e=Ie),In(e)){const l=at(e,t,!0);return n&&tr(l,n),on>0&&!o&&Ne&&(l.shapeFlag&6?Ne[Ne.indexOf(e)]=l:Ne.push(l)),l.patchFlag|=-2,l}if(Gc(e)&&(e=e.__vccOpts),t){t=kc(t);let{class:l,style:c}=t;l&&!ue(l)&&(t.class=Bn(l)),oe(c)&&(ko(c)&&!F(c)&&(c=fe({},c)),t.style=Hn(c))}const i=ue(e)?1:Yl(e)?128:Ic(e)?64:oe(e)?4:q(e)?2:0;return vi(e,t,n,s,r,i,o,!0)}function kc(e){return e?ko(e)||Xn in e?fe({},e):e:null}function at(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Vc(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&_i(l),ref:t&&t.ref?n&&r?F(r)?r.concat(xn(t)):[r,xn(t)]:xn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Re?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&at(e.ssContent),ssFallback:e.ssFallback&&at(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function jc(e=" ",t=0){return _e(Yn,null,e,t)}function ta(e,t){const n=_e(wn,null,e);return n.staticCount=t,n}function na(e="",t=!1){return t?(gi(),yi(Ie,null,e)):_e(Ie,null,e)}function He(e){return e==null||typeof e=="boolean"?_e(Ie):F(e)?_e(Re,null,e.slice()):typeof e=="object"?st(e):_e(Yn,null,String(e))}function st(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:at(e)}function tr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),tr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Xn in t)?t._ctx=ae:r===3&&ae&&(ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:ae},n=32):(t=String(t),s&64?(n=16,t=[jc(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vc(...e){const t={};for(let n=0;npe||ae;let Ln,As;{const e=yo(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Ln=t("__VUE_INSTANCE_SETTERS__",n=>pe=n),As=t("__VUE_SSR_SETTERS__",n=>es=n)}const an=e=>{const t=pe;return Ln(e),e.scope.on(),()=>{e.scope.off(),Ln(t)}},Mr=()=>{pe&&pe.scope.off(),Ln(null)};function bi(e){return e.vnode.shapeFlag&4}let es=!1;function Kc(e,t=!1){t&&As(t);const{props:n,children:s}=e.vnode,r=bi(e);wc(e,n,r,t),Rc(e,s);const o=r?Uc(e,t):void 0;return t&&As(!1),o}function Uc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Kn(new Proxy(e.ctx,pc));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ci(e):null,o=an(e);Et();const i=ut(s,e,0,[e.props,r]);if(Ct(),o(),po(i)){if(i.then(Mr,Mr),t)return i.then(l=>{Ir(e,l,t)}).catch(l=>{Wn(l,e,0)});e.asyncDep=i}else Ir(e,i,t)}else Ei(e,t)}function Ir(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=Ho(t)),Ei(e,n)}let Lr;function Ei(e,t,n){const s=e.type;if(!e.render){if(!t&&Lr&&!s.render){const r=s.template||Xs(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=fe(fe({isCustomElement:o,delimiters:l},i),c);s.render=Lr(r,a)}}e.render=s.render||Pe}{const r=an(e);Et();try{gc(e)}finally{Ct(),r()}}}function Wc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return we(e,"get","$attrs"),t[n]}}))}function Ci(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Wc(e)},slots:e.slots,emit:e.emit,expose:t}}function ts(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ho(Kn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zt)return zt[n](e)},has(t,n){return n in t||n in zt}}))}function qc(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Gc(e){return q(e)&&"__vccOpts"in e}const Te=(e,t)=>Ol(e,t,es);function sa(e,t,n=ie){const s=Zn(),r=Fe(t),o=dt(t),i=Fl((c,a)=>{let u;return tc(()=>{const h=e[t];De(u,h)&&(u=h,a())}),{get(){return c(),n.get?n.get(u):u},set(h){const p=s.vnode.props;!(p&&(t in p||r in p||o in p)&&("onUpdate:".concat(t)in p||"onUpdate:".concat(r)in p||"onUpdate:".concat(o)in p))&&De(h,u)&&(u=h,a()),s.emit("update:".concat(t),n.set?n.set(h):h)}}}),l=t==="modelValue"?"modelModifiers":"".concat(t,"Modifiers");return i[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?e[l]||{}:i,done:!1}:{done:!0}}}},i}function nr(e,t,n){const s=arguments.length;return s===2?oe(t)&&!F(t)?In(t)?_e(e,null,[t]):_e(e,t):_e(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&In(n)&&(n=[n]),_e(e,t,n))}const zc="3.4.21",ra=Pe;/** -* @vue/runtime-dom v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const Qc="http://www.w3.org/2000/svg",Jc="http://www.w3.org/1998/Math/MathML",rt=typeof document<"u"?document:null,Nr=rt&&rt.createElement("template"),Yc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?rt.createElementNS(Qc,e):t==="mathml"?rt.createElementNS(Jc,e):rt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Nr.innerHTML=s==="svg"?"".concat(e,""):s==="mathml"?"".concat(e,""):e;const l=Nr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ye="transition",Ht="animation",Ft=Symbol("_vtc"),wi=(e,{slots:t})=>nr(rc,Si(e),t);wi.displayName="Transition";const xi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Xc=wi.props=fe({},Jo,xi),gt=(e,t=[])=>{F(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fr=e=>e?F(e)?e.some(t=>t.length>1):e.length>1:!1;function Si(e){const t={};for(const I in e)I in xi||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o="".concat(n,"-enter-from"),enterActiveClass:i="".concat(n,"-enter-active"),enterToClass:l="".concat(n,"-enter-to"),appearFromClass:c=o,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:h="".concat(n,"-leave-from"),leaveActiveClass:p="".concat(n,"-leave-active"),leaveToClass:m="".concat(n,"-leave-to")}=e,C=Zc(r),A=C&&C[0],V=C&&C[1],{onBeforeEnter:M,onEnter:k,onEnterCancelled:B,onLeave:U,onLeaveCancelled:D,onBeforeAppear:$=M,onAppear:G=k,onAppearCancelled:S=B}=t,L=(I,Z,ge)=>{Ze(I,Z?u:l),Ze(I,Z?a:i),ge&&ge()},W=(I,Z)=>{I._isLeaving=!1,Ze(I,h),Ze(I,m),Ze(I,p),Z&&Z()},X=I=>(Z,ge)=>{const ve=I?G:k,J=()=>L(Z,I,ge);gt(ve,[Z,J]),$r(()=>{Ze(Z,I?c:o),We(Z,I?u:l),Fr(ve)||kr(Z,s,A,J)})};return fe(t,{onBeforeEnter(I){gt(M,[I]),We(I,o),We(I,i)},onBeforeAppear(I){gt($,[I]),We(I,c),We(I,a)},onEnter:X(!1),onAppear:X(!0),onLeave(I,Z){I._isLeaving=!0;const ge=()=>W(I,Z);We(I,h),Pi(),We(I,p),$r(()=>{I._isLeaving&&(Ze(I,h),We(I,m),Fr(U)||kr(I,s,V,ge))}),gt(U,[I,ge])},onEnterCancelled(I){L(I,!1),gt(B,[I])},onAppearCancelled(I){L(I,!0),gt(S,[I])},onLeaveCancelled(I){W(I),gt(D,[I])}})}function Zc(e){if(e==null)return null;if(oe(e))return[as(e.enter),as(e.leave)];{const t=as(e);return[t,t]}}function as(e){return el(e)}function We(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ft]||(e[Ft]=new Set)).add(t)}function Ze(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ft];n&&(n.delete(t),n.size||(e[Ft]=void 0))}function $r(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let eu=0;function kr(e,t,n,s){const r=e._endId=++eu,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Ri(e,t);if(!i)return s();const a=i+"end";let u=0;const h=()=>{e.removeEventListener(a,p),o()},p=m=>{m.target===e&&++u>=c&&h()};setTimeout(()=>{u(n[C]||"").split(", "),r=s("".concat(Ye,"Delay")),o=s("".concat(Ye,"Duration")),i=jr(r,o),l=s("".concat(Ht,"Delay")),c=s("".concat(Ht,"Duration")),a=jr(l,c);let u=null,h=0,p=0;t===Ye?i>0&&(u=Ye,h=i,p=o.length):t===Ht?a>0&&(u=Ht,h=a,p=c.length):(h=Math.max(i,a),u=h>0?i>a?Ye:Ht:null,p=u?u===Ye?o.length:c.length:0);const m=u===Ye&&/\b(transform|all)(,|$)/.test(s("".concat(Ye,"Property")).toString());return{type:u,timeout:h,propCount:p,hasTransform:m}}function jr(e,t){for(;e.lengthVr(n)+Vr(e[s])))}function Vr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pi(){return document.body.offsetHeight}function tu(e,t,n){const s=e[Ft];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Nn=Symbol("_vod"),Ai=Symbol("_vsh"),oa={beforeMount(e,{value:t},{transition:n}){e[Nn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Bt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Bt(e,!0),s.enter(e)):s.leave(e,()=>{Bt(e,!1)}):Bt(e,t))},beforeUnmount(e,{value:t}){Bt(e,t)}};function Bt(e,t){e.style.display=t?e[Nn]:"none",e[Ai]=!t}const nu=Symbol(""),su=/(^|;)\s*display\s*:/;function ru(e,t,n){const s=e.style,r=ue(n);let o=!1;if(n&&!r){if(t)if(ue(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Sn(s,l,"")}else for(const i in t)n[i]==null&&Sn(s,i,"");for(const i in n)i==="display"&&(o=!0),Sn(s,i,n[i])}else if(r){if(t!==n){const i=s[nu];i&&(n+=";"+i),s.cssText=n,o=su.test(n)}}else t&&e.removeAttribute("style");Nn in e&&(e[Nn]=o?s.display:"",e[Ai]&&(s.display="none"))}const Hr=/\s*!important$/;function Sn(e,t,n){if(F(n))n.forEach(s=>Sn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ou(e,t);Hr.test(n)?e.setProperty(dt(s),n.replace(Hr,""),"important"):e[s]=n}}const Br=["Webkit","Moz","ms"],ds={};function ou(e,t){const n=ds[t];if(n)return n;let s=Fe(t);if(s!=="filter"&&s in e)return ds[t]=s;s=Vn(s);for(let r=0;rhs||(au.then(()=>hs=0),hs=Date.now());function hu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Oe(pu(s,n.value),t,5,[s])};return n.value=e,n.attached=du(),n}function pu(e,t){if(F(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gu=(e,t,n,s,r,o,i,l,c)=>{const a=r==="svg";t==="class"?tu(e,s,a):t==="style"?ru(e,n,s):$n(t)?Fs(t)||uu(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mu(e,t,s,a))?lu(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),iu(e,t,s,a))};function mu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Wr(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Wr(t)&&ue(n)?!1:t in e}const Ti=new WeakMap,Oi=new WeakMap,Fn=Symbol("_moveCb"),qr=Symbol("_enterCb"),Mi={name:"TransitionGroup",props:fe({},Xc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Zn(),s=Qo();let r,o;return ti(()=>{if(!r.length)return;const i=e.moveClass||"".concat(e.name||"v","-move");if(!Eu(r[0].el,n.vnode.el,i))return;r.forEach(_u),r.forEach(vu);const l=r.filter(bu);Pi(),l.forEach(c=>{const a=c.el,u=a.style;We(a,i),u.transform=u.webkitTransform=u.transitionDuration="";const h=a[Fn]=p=>{p&&p.target!==a||(!p||/transform$/.test(p.propertyName))&&(a.removeEventListener("transitionend",h),a[Fn]=null,Ze(a,i))};a.addEventListener("transitionend",h)})}),()=>{const i=Q(e),l=Si(i);let c=i.tag||Re;r=o,o=t.default?Ys(t.default()):[];for(let a=0;adelete e.mode;Mi.props;const ia=Mi;function _u(e){const t=e.el;t[Fn]&&t[Fn](),t[qr]&&t[qr]()}function vu(e){Oi.set(e,e.el.getBoundingClientRect())}function bu(e){const t=Ti.get(e),n=Oi.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform="translate(".concat(s,"px,").concat(r,"px)"),o.transitionDuration="0s",e}}function Eu(e,t,n){const s=e.cloneNode(),r=e[Ft];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=Ri(s);return o.removeChild(s),i}const $t=e=>{const t=e.props["onUpdate:modelValue"]||!1;return F(t)?n=>En(t,n):t};function Cu(e){e.target.composing=!0}function Gr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ge=Symbol("_assign"),la={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ge]=$t(r);const o=s||r.props&&r.props.type==="number";it(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=ys(l)),e[Ge](l)}),n&&it(e,"change",()=>{e.value=e.value.trim()}),t||(it(e,"compositionstart",Cu),it(e,"compositionend",Gr),it(e,"change",Gr))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e[Ge]=$t(o),e.composing)return;const i=r||e.type==="number"?ys(e.value):e.value,l=t==null?"":t;i!==l&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===l)||(e.value=l))}},ca={deep:!0,created(e,t,n){e[Ge]=$t(n),it(e,"change",()=>{const s=e._modelValue,r=Ii(e),o=e.checked,i=e[Ge];if(F(s)){const l=vo(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const a=[...s];a.splice(l,1),i(a)}}else if(kn(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Li(e,o))})},mounted:zr,beforeUpdate(e,t,n){e[Ge]=$t(n),zr(e,t,n)}};function zr(e,{value:t,oldValue:n},s){e._modelValue=t,F(t)?e.checked=vo(t,s.props.value)>-1:kn(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Lt(t,Li(e,!0)))}const ua={created(e,{value:t},n){e.checked=Lt(t,n.props.value),e[Ge]=$t(n),it(e,"change",()=>{e[Ge](Ii(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ge]=$t(s),t!==n&&(e.checked=Lt(t,s.props.value))}};function Ii(e){return"_value"in e?e._value:e.value}function Li(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const wu=["ctrl","shift","alt","meta"],xu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>wu.some(n=>e["".concat(n,"Key")]&&!t.includes(n))},fa=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=dt(r.key);if(t.some(i=>i===o||Su[i]===o))return e(r)})},Ru=fe({patchProp:gu},Yc);let Qr;function Ni(){return Qr||(Qr=Ac(Ru))}const da=(...e)=>{Ni().render(...e)},ha=(...e)=>{const t=Ni().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Au(s);if(!r)return;const o=t._component;!q(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,Pu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Pu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Au(e){return ue(e)?document.querySelector(e):e}var Tu=!1;/*! - * pinia v2.1.7 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let Fi;const ns=e=>Fi=e,$i=Symbol();function Ts(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Yt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Yt||(Yt={}));function pa(){const e=Co(!0),t=e.run(()=>Un({}));let n=[],s=[];const r=Kn({install(o){ns(r),r._a=o,o.provide($i,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return!this._a&&!Tu?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const ki=()=>{};function Jr(e,t,n,s=ki){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&wo()&&ul(r),r}function Rt(e,...t){e.slice().forEach(n=>{n(...t)})}const Ou=e=>e();function Os(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];Ts(r)&&Ts(s)&&e.hasOwnProperty(n)&&!de(s)&&!ct(s)?e[n]=Os(r,s):e[n]=s}return e}const Mu=Symbol();function Iu(e){return!Ts(e)||!e.hasOwnProperty(Mu)}const{assign:et}=Object;function Lu(e){return!!(de(e)&&e.effect)}function Nu(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function a(){l||(n.state.value[e]=r?r():{});const u=$l(n.state.value[e]);return et(u,o,Object.keys(i||{}).reduce((h,p)=>(h[p]=Kn(Te(()=>{ns(n);const m=n._s.get(e);return i[p].call(m,m)})),h),{}))}return c=ji(e,a,t,n,s,!0),c}function ji(e,t,n={},s,r,o){let i;const l=et({actions:{}},n),c={deep:!0};let a,u,h=[],p=[],m;const C=s.state.value[e];!o&&!C&&(s.state.value[e]={}),Un({});let A;function V(S){let L;a=u=!1,typeof S=="function"?(S(s.state.value[e]),L={type:Yt.patchFunction,storeId:e,events:m}):(Os(s.state.value[e],S),L={type:Yt.patchObject,payload:S,storeId:e,events:m});const W=A=Symbol();Gs().then(()=>{A===W&&(a=!0)}),u=!0,Rt(h,L,s.state.value[e])}const M=o?function(){const{state:L}=n,W=L?L():{};this.$patch(X=>{et(X,W)})}:ki;function k(){i.stop(),h=[],p=[],s._s.delete(e)}function B(S,L){return function(){ns(s);const W=Array.from(arguments),X=[],I=[];function Z(J){X.push(J)}function ge(J){I.push(J)}Rt(p,{args:W,name:S,store:D,after:Z,onError:ge});let ve;try{ve=L.apply(this&&this.$id===e?this:D,W)}catch(J){throw Rt(I,J),J}return ve instanceof Promise?ve.then(J=>(Rt(X,J),J)).catch(J=>(Rt(I,J),Promise.reject(J))):(Rt(X,ve),ve)}}const U={_p:s,$id:e,$onAction:Jr.bind(null,p),$patch:V,$reset:M,$subscribe(S,L={}){const W=Jr(h,S,L.detached,()=>X()),X=i.run(()=>qt(()=>s.state.value[e],I=>{(L.flush==="sync"?u:a)&&S({storeId:e,type:Yt.direct,events:m},I)},et({},c,L)));return W},$dispose:k},D=fn(U);s._s.set(e,D);const G=(s._a&&s._a.runWithContext||Ou)(()=>s._e.run(()=>(i=Co()).run(t)));for(const S in G){const L=G[S];if(de(L)&&!Lu(L)||ct(L))o||(C&&Iu(L)&&(de(L)?L.value=C[S]:Os(L,C[S])),s.state.value[e][S]=L);else if(typeof L=="function"){const W=B(S,L);G[S]=W,l.actions[S]=L}}return et(D,G),et(Q(D),G),Object.defineProperty(D,"$state",{get:()=>s.state.value[e],set:S=>{V(L=>{et(L,S)})}}),s._p.forEach(S=>{et(D,i.run(()=>S({store:D,app:s._a,pinia:s,options:l})))}),C&&o&&n.hydrate&&n.hydrate(D.$state,C),a=!0,u=!0,D}function ga(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(l,c){const a=Cc();return l=l||(a?Me($i,null):null),l&&ns(l),l=Fi,l._s.has(s)||(o?ji(s,t,r,l):Nu(s,r,l)),l._s.get(s)}return i.$id=s,i}/*! - * vue-router v4.3.0 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const Pt=typeof document<"u";function Fu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ne=Object.assign;function ps(e,t){const n={};for(const s in t){const r=t[s];n[s]=$e(r)?r.map(e):e(r)}return n}const Xt=()=>{},$e=Array.isArray,Vi=/#/g,$u=/&/g,ku=/\//g,ju=/=/g,Vu=/\?/g,Hi=/\+/g,Hu=/%5B/g,Bu=/%5D/g,Bi=/%5E/g,Du=/%60/g,Di=/%7B/g,Ku=/%7C/g,Ki=/%7D/g,Uu=/%20/g;function sr(e){return encodeURI(""+e).replace(Ku,"|").replace(Hu,"[").replace(Bu,"]")}function Wu(e){return sr(e).replace(Di,"{").replace(Ki,"}").replace(Bi,"^")}function Ms(e){return sr(e).replace(Hi,"%2B").replace(Uu,"+").replace(Vi,"%23").replace($u,"%26").replace(Du,"`").replace(Di,"{").replace(Ki,"}").replace(Bi,"^")}function qu(e){return Ms(e).replace(ju,"%3D")}function Gu(e){return sr(e).replace(Vi,"%23").replace(Vu,"%3F")}function zu(e){return e==null?"":Gu(e).replace(ku,"%2F")}function ln(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Qu=/\/$/,Ju=e=>e.replace(Qu,"");function gs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=ef(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:ln(i)}}function Yu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Xu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&kt(t.matched[s],n.matched[r])&&Ui(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function kt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ui(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Zu(e[n],t[n]))return!1;return!0}function Zu(e,t){return $e(e)?Xr(e,t):$e(t)?Xr(t,e):e===t}function Xr(e,t){return $e(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function ef(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}var cn;(function(e){e.pop="pop",e.push="push"})(cn||(cn={}));var Zt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Zt||(Zt={}));function tf(e){if(!e)if(Pt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ju(e)}const nf=/^[^#]+#/;function sf(e,t){return e.replace(nf,"#")+t}function rf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ss=()=>({left:window.scrollX,top:window.scrollY});function of(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=rf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Zr(e,t){return(history.state?history.state.position-t:-1)+e}const Is=new Map;function lf(e,t){Is.set(e,t)}function cf(e){const t=Is.get(e);return Is.delete(e),t}let uf=()=>location.protocol+"//"+location.host;function Wi(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Yr(c,"")}return Yr(n,e)+s+r}function ff(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const m=Wi(e,location),C=n.value,A=t.value;let V=0;if(p){if(n.value=m,t.value=p,i&&i===C){i=null;return}V=A?p.position-A.position:0}else s(m);r.forEach(M=>{M(n.value,C,{delta:V,type:cn.pop,direction:V?V>0?Zt.forward:Zt.back:Zt.unknown})})};function c(){i=n.value}function a(p){r.push(p);const m=()=>{const C=r.indexOf(p);C>-1&&r.splice(C,1)};return o.push(m),m}function u(){const{history:p}=window;p.state&&p.replaceState(ne({},p.state,{scroll:ss()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:h}}function eo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ss():null}}function af(e){const{history:t,location:n}=window,s={value:Wi(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:uf()+e+c;try{t[u?"replaceState":"pushState"](a,"",p),r.value=a}catch(m){console.error(m),n[u?"replace":"assign"](p)}}function i(c,a){const u=ne({},t.state,eo(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=ne({},r.value,t.state,{forward:c,scroll:ss()});o(u.current,u,!0);const h=ne({},eo(s.value,c,null),{position:u.position+1},a);o(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function ma(e){e=tf(e);const t=af(e),n=ff(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ne({location:"",base:e,go:s,createHref:sf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function df(e){return typeof e=="string"||e&&typeof e=="object"}function qi(e){return typeof e=="string"||typeof e=="symbol"}const Xe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gi=Symbol("");var to;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(to||(to={}));function jt(e,t){return ne(new Error,{type:e,[Gi]:!0},t)}function Ue(e,t){return e instanceof Error&&Gi in e&&(t==null||!!(e.type&t))}const no="[^/]+?",hf={sensitive:!1,strict:!1,start:!0,end:!0},pf=/[.+*?^${}()[\]/\\]/g;function gf(e,t){const n=ne({},hf,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function yf(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const _f={type:0,value:""},vf=/[a-zA-Z0-9_]/;function bf(e){if(!e)return[[]];if(e==="/")return[[_f]];if(!e.startsWith("/"))throw new Error('Invalid path "'.concat(e,'"'));function t(m){throw new Error("ERR (".concat(n,')/"').concat(a,'": ').concat(m))}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function h(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t("A repeatable param (".concat(a,") must be alone in its segment. eg: '/:ids+.")),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function p(){a+=c}for(;l{i(k)}:Xt}function i(u){if(qi(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function c(u){let h=0;for(;h=0&&(u.record.path!==n[h].record.path||!zi(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!oo(u)&&s.set(u.record.name,u)}function a(u,h){let p,m={},C,A;if("name"in u&&u.name){if(p=s.get(u.name),!p)throw jt(1,{location:u});A=p.record.name,m=ne(ro(h.params,p.keys.filter(k=>!k.optional).concat(p.parent?p.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),u.params&&ro(u.params,p.keys.map(k=>k.name))),C=p.stringify(m)}else if(u.path!=null)C=u.path,p=n.find(k=>k.re.test(C)),p&&(m=p.parse(C),A=p.record.name);else{if(p=h.name?s.get(h.name):n.find(k=>k.re.test(h.path)),!p)throw jt(1,{location:u,currentLocation:h});A=p.record.name,m=ne({},h.params,u.params),C=p.stringify(m)}const V=[];let M=p;for(;M;)V.unshift(M.record),M=M.parent;return{name:A,path:C,params:m,matched:V,meta:Sf(V)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:a,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function ro(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function wf(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:xf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function xf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function oo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Sf(e){return e.reduce((t,n)=>ne(t,n.meta),{})}function io(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function zi(e,t){return t.children.some(n=>n===e||zi(e,n))}function Rf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Ms(o)):[s&&Ms(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Pf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=$e(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Af=Symbol(""),co=Symbol(""),rs=Symbol(""),rr=Symbol(""),Ls=Symbol("");function Dt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ot(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=p=>{p===!1?c(jt(4,{from:n,to:t})):p instanceof Error?c(p):df(p)?c(jt(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let h=Promise.resolve(u);e.length<3&&(h=h.then(a)),h.catch(p=>c(p))})}function ms(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Tf(c)){const u=(c.__vccOpts||c)[t];u&&o.push(ot(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)return Promise.reject(new Error("Couldn't resolve component \"".concat(l,'" at "').concat(i.path,'"')));const h=Fu(u)?u.default:u;i.components[l]=h;const m=(h.__vccOpts||h)[t];return m&&ot(m,n,s,i,l,r)()}))}}return o}function Tf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uo(e){const t=Me(rs),n=Me(rr),s=Te(()=>t.resolve(Ot(e.to))),r=Te(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],h=n.matched;if(!u||!h.length)return-1;const p=h.findIndex(kt.bind(null,u));if(p>-1)return p;const m=fo(c[a-2]);return a>1&&fo(u)===m&&h[h.length-1].path!==m?h.findIndex(kt.bind(null,c[a-2])):p}),o=Te(()=>r.value>-1&&Lf(n.params,s.value.params)),i=Te(()=>r.value>-1&&r.value===n.matched.length-1&&Ui(n.params,s.value.params));function l(c={}){return If(c)?t[Ot(e.replace)?"replace":"push"](Ot(e.to)).catch(Xt):Promise.resolve()}return{route:s,href:Te(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const Of=Xo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:uo,setup(e,{slots:t}){const n=fn(uo(e)),{options:s}=Me(rs),r=Te(()=>({[ao(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ao(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:nr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Mf=Of;function If(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Lf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!$e(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function fo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ao=(e,t,n)=>e!=null?e:t!=null?t:n,Nf=Xo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Me(Ls),r=Te(()=>e.route||s.value),o=Me(co,0),i=Te(()=>{let a=Ot(o);const{matched:u}=r.value;let h;for(;(h=u[a])&&!h.components;)a++;return a}),l=Te(()=>r.value.matched[i.value]);Cn(co,Te(()=>i.value+1)),Cn(Af,l),Cn(Ls,r);const c=Un();return qt(()=>[c.value,l.value,e.name],([a,u,h],[p,m,C])=>{u&&(u.instances[h]=a,m&&m!==u&&a&&a===p&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),a&&u&&(!m||!kt(u,m)||!p)&&(u.enterCallbacks[h]||[]).forEach(A=>A(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,h=l.value,p=h&&h.components[u];if(!p)return ho(n.default,{Component:p,route:a});const m=h.props[u],C=m?m===!0?a.params:typeof m=="function"?m(a):m:null,V=nr(p,ne({},C,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(h.instances[u]=null)},ref:c}));return ho(n.default,{Component:V,route:a})||V}}});function ho(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ff=Nf;function ya(e){const t=Cf(e.routes,e),n=e.parseQuery||Rf,s=e.stringifyQuery||lo,r=e.history,o=Dt(),i=Dt(),l=Dt(),c=Ml(Xe);let a=Xe;Pt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ps.bind(null,_=>""+_),h=ps.bind(null,zu),p=ps.bind(null,ln);function m(_,T){let R,N;return qi(_)?(R=t.getRecordMatcher(_),N=T):N=_,t.addRoute(N,R)}function C(_){const T=t.getRecordMatcher(_);T&&t.removeRoute(T)}function A(){return t.getRoutes().map(_=>_.record)}function V(_){return!!t.getRecordMatcher(_)}function M(_,T){if(T=ne({},T||c.value),typeof _=="string"){const d=gs(n,_,T.path),g=t.resolve({path:d.path},T),v=r.createHref(d.fullPath);return ne(d,g,{params:p(g.params),hash:ln(d.hash),redirectedFrom:void 0,href:v})}let R;if(_.path!=null)R=ne({},_,{path:gs(n,_.path,T.path).path});else{const d=ne({},_.params);for(const g in d)d[g]==null&&delete d[g];R=ne({},_,{params:h(d)}),T.params=h(T.params)}const N=t.resolve(R,T),te=_.hash||"";N.params=u(p(N.params));const le=Yu(s,ne({},_,{hash:Wu(te),path:N.path})),f=r.createHref(le);return ne({fullPath:le,hash:te,query:s===lo?Pf(_.query):_.query||{}},N,{redirectedFrom:void 0,href:f})}function k(_){return typeof _=="string"?gs(n,_,c.value.path):ne({},_)}function B(_,T){if(a!==_)return jt(8,{from:T,to:_})}function U(_){return G(_)}function D(_){return U(ne(k(_),{replace:!0}))}function $(_){const T=_.matched[_.matched.length-1];if(T&&T.redirect){const{redirect:R}=T;let N=typeof R=="function"?R(_):R;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=k(N):{path:N},N.params={}),ne({query:_.query,hash:_.hash,params:N.path!=null?{}:_.params},N)}}function G(_,T){const R=a=M(_),N=c.value,te=_.state,le=_.force,f=_.replace===!0,d=$(R);if(d)return G(ne(k(d),{state:typeof d=="object"?ne({},te,d.state):te,force:le,replace:f}),T||R);const g=R;g.redirectedFrom=T;let v;return!le&&Xu(s,N,R)&&(v=jt(16,{to:g,from:N}),ke(N,N,!0,!1)),(v?Promise.resolve(v):W(g,N)).catch(y=>Ue(y)?Ue(y,2)?y:Qe(y):ee(y,g,N)).then(y=>{if(y){if(Ue(y,2))return G(ne({replace:f},k(y.to),{state:typeof y.to=="object"?ne({},te,y.to.state):te,force:le}),T||g)}else y=I(g,N,!0,f,te);return X(g,N,y),y})}function S(_,T){const R=B(_,T);return R?Promise.reject(R):Promise.resolve()}function L(_){const T=xt.values().next().value;return T&&typeof T.runWithContext=="function"?T.runWithContext(_):_()}function W(_,T){let R;const[N,te,le]=$f(_,T);R=ms(N.reverse(),"beforeRouteLeave",_,T);for(const d of N)d.leaveGuards.forEach(g=>{R.push(ot(g,_,T))});const f=S.bind(null,_,T);return R.push(f),me(R).then(()=>{R=[];for(const d of o.list())R.push(ot(d,_,T));return R.push(f),me(R)}).then(()=>{R=ms(te,"beforeRouteUpdate",_,T);for(const d of te)d.updateGuards.forEach(g=>{R.push(ot(g,_,T))});return R.push(f),me(R)}).then(()=>{R=[];for(const d of le)if(d.beforeEnter)if($e(d.beforeEnter))for(const g of d.beforeEnter)R.push(ot(g,_,T));else R.push(ot(d.beforeEnter,_,T));return R.push(f),me(R)}).then(()=>(_.matched.forEach(d=>d.enterCallbacks={}),R=ms(le,"beforeRouteEnter",_,T,L),R.push(f),me(R))).then(()=>{R=[];for(const d of i.list())R.push(ot(d,_,T));return R.push(f),me(R)}).catch(d=>Ue(d,8)?d:Promise.reject(d))}function X(_,T,R){l.list().forEach(N=>L(()=>N(_,T,R)))}function I(_,T,R,N,te){const le=B(_,T);if(le)return le;const f=T===Xe,d=Pt?history.state:{};R&&(N||f?r.replace(_.fullPath,ne({scroll:f&&d&&d.scroll},te)):r.push(_.fullPath,te)),c.value=_,ke(_,T,R,f),Qe()}let Z;function ge(){Z||(Z=r.listen((_,T,R)=>{if(!dn.listening)return;const N=M(_),te=$(N);if(te){G(ne(te,{replace:!0}),N).catch(Xt);return}a=N;const le=c.value;Pt&&lf(Zr(le.fullPath,R.delta),ss()),W(N,le).catch(f=>Ue(f,12)?f:Ue(f,2)?(G(f.to,N).then(d=>{Ue(d,20)&&!R.delta&&R.type===cn.pop&&r.go(-1,!1)}).catch(Xt),Promise.reject()):(R.delta&&r.go(-R.delta,!1),ee(f,N,le))).then(f=>{f=f||I(N,le,!1),f&&(R.delta&&!Ue(f,8)?r.go(-R.delta,!1):R.type===cn.pop&&Ue(f,20)&&r.go(-1,!1)),X(N,le,f)}).catch(Xt)}))}let ve=Dt(),J=Dt(),se;function ee(_,T,R){Qe(_);const N=J.list();return N.length?N.forEach(te=>te(_,T,R)):console.error(_),Promise.reject(_)}function Ke(){return se&&c.value!==Xe?Promise.resolve():new Promise((_,T)=>{ve.add([_,T])})}function Qe(_){return se||(se=!_,ge(),ve.list().forEach(([T,R])=>_?R(_):T()),ve.reset()),_}function ke(_,T,R,N){const{scrollBehavior:te}=e;if(!Pt||!te)return Promise.resolve();const le=!R&&cf(Zr(_.fullPath,0))||(N||!R)&&history.state&&history.state.scroll||null;return Gs().then(()=>te(_,T,le)).then(f=>f&&of(f)).catch(f=>ee(f,_,T))}const Ee=_=>r.go(_);let wt;const xt=new Set,dn={currentRoute:c,listening:!0,addRoute:m,removeRoute:C,hasRoute:V,getRoutes:A,resolve:M,options:e,push:U,replace:D,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:J.add,isReady:Ke,install(_){const T=this;_.component("RouterLink",Mf),_.component("RouterView",Ff),_.config.globalProperties.$router=T,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>Ot(c)}),Pt&&!wt&&c.value===Xe&&(wt=!0,U(r.location).catch(te=>{}));const R={};for(const te in Xe)Object.defineProperty(R,te,{get:()=>c.value[te],enumerable:!0});_.provide(rs,T),_.provide(rr,Fo(R)),_.provide(Ls,c);const N=_.unmount;xt.add(_),_.unmount=function(){xt.delete(_),xt.size<1&&(a=Xe,Z&&Z(),Z=null,c.value=Xe,wt=!1,se=!1),N()}}};function me(_){return _.reduce((T,R)=>T.then(()=>L(R)),Promise.resolve())}return dn}function $f(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;ikt(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>kt(a,c))||r.push(c))}return[n,s,r]}function _a(){return Me(rs)}function va(){return Me(rr)}export{Zf as $,vi as A,Vf as B,si as C,Yf as D,Jf as E,na as F,Re as G,Bn as H,yi as I,Wl as J,Kf as K,_e as L,fa as M,Pe as N,jf as O,Hn as P,ni as Q,qf as R,oa as S,wi as T,fn as U,oc as V,ti as W,at as X,Yn as Y,Ie as Z,F as _,ue as a,cc as a0,ic as a1,jc as a2,Q as a3,ca as a4,$l as a5,ua as a6,nr as a7,zf as a8,ia as a9,mo as aa,Df as ab,Uf as ac,Gf as ad,aa as ae,la as af,os as ag,Fo as ah,In as ai,da as aj,Kn as ak,ga as al,va as am,Ff as an,Hf as ao,Bf as ap,Xf as aq,sa as ar,ta as as,_a as at,ya as au,ma as av,ha as aw,pa as ax,kf as ay,kc as az,Wf as b,Te as c,$o as d,wo as e,ei as f,Zn as g,de as h,Me as i,oe as j,Y as k,ra as l,q as m,Gs as n,ul as o,Cn as p,Fe as q,Un as r,Ml as s,Xo as t,Ot as u,gi as v,qt as w,ea as x,Qf as y,Vc as z};