1import{d as D,s as E,c as i,e,t as n,f as a,z as m,A as L,J as y,B as _,F as h,r as x,i as C,h as N,j as f,l as k,b as o,g as V,n as B}from"./B_m38SBB.js";import{M as z}from"./B46fmieR.js";import{s as T}from"./c4tBL0at.js";const $={class:"page-inner"},j={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"4px","flex-wrap":"wrap",gap:"12px"}},O={style:{"font-size":"13px",color:"var(--muted)"}},G={class:"card",style:{"margin-bottom":"16px",padding:"12px 16px"}},J={style:{display:"flex",gap:"12px","flex-wrap":"wrap","align-items":"center"}},K=["value"],R=["value"],q={class:"card card-table"},H={class:"table-wrap"},Q={style:{"font-weight":"600","font-size":"13px"}},W={style:{"font-size":"11px",color:"var(--muted)"}},X={style:{display:"flex","align-items":"center",gap:"6px"}},Y={class:"weight-bar"},Z={style:{display:"flex",gap:"3px","flex-wrap":"wrap"}},ee={style:{"font-size":"12px",color:"var(--muted)"}},te={style:{"font-weight":"700",color:"#dc2626","font-size":"14px"}},le={style:{"font-size":"12px",color:"var(--muted)","max-width":"160px"}},se={key:0,class:"pagination",style:{"margin-top":"12px"}},ae={class:"pagination-info"},ne={class:"pg-btns"},ie=["disabled"],oe=["onClick"],re=["disabled"],de={key:1,style:{"text-align":"center",padding:"48px",color:"var(--muted)"}},M=15,ce=D({__name:"media-library",setup(ue){const u=f(""),v=f(""),p=f(""),c=f(""),d=f("weight"),r=f(1),S=z.length,A=[...new Set(z.map(s=>s.platform_type))],F=[...new Set(z.flatMap(s=>s.ai_platforms))],w=k(()=>{let s=z.filter(t=>!(u.value&&!t.name.includes(u.value)&&!t.attributes.includes(u.value)||v.value&&t.platform_type!==v.value||p.value==="high"&&t.weight<8||p.value==="mid"&&(t.weight<6||t.weight>=8)||p.value==="low"&&t.weight>=6||c.value&&!t.ai_platforms.includes(c.value)));return d.value==="weight"?s.sort((t,l)=>l.weight-t.weight):d.value==="price_asc"?s.sort((t,l)=>t.price_market-l.price_market):d.value==="price_desc"?s.sort((t,l)=>l.price_market-t.price_market):d.value==="name"&&s.sort((t,l)=>t.name.localeCompare(l.name)),s}),b=k(()=>Math.ceil(w.value.length/M)),P=k(()=>{const s=(r.value-1)*M;return w.value.slice(s,s+M)}),U=k(()=>{const s=[],t=b.value,l=r.value;for(let g=Math.max(1,l-2);g<=Math.min(t,l+2);g++)s.push(g);return s});E([u,v,p,c,d],()=>{r.value=1});function I(s){return{ç§æåªä½:"badge-blue",鍿·åªä½:"badge-green",ææ¯åªä½:"badge-purple",åä¸åªä½:"badge-amber",产ä¸åªä½:"badge-gray"}[s]||"badge-gray"}return T({title:"åªä½èµæºåº â è¶
ç®GEO",description:"åçç´ æãå¾çãææ¡£èµæºéä¸ç®¡çã",noindex:!0}),(s,t)=>(o(),i("div",$,[e("div",j,[t[7]||(t[7]=e("div",{class:"sec-title"},"åªä½èµæºåº",-1)),e("span",O,"å
± "+n(a(S))+" 个åªä½æ¸ é",1)]),t[16]||(t[16]=e("div",{style:{"font-size":"13px",color:"var(--muted)","margin-bottom":"20px"}},"æµè§å
¨é¨å¯ç¨çæ°é»åªä½å叿¸ éï¼å¨ç¨¿ä»¶åºä¸éæ©å
容åç´æ¥åå¸",-1)),e("div",G,[e("div",J,[m(e("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>y(u)?u.value=l:null),class:"form-input",placeholder:"æç´¢åªä½åç§°ææ ç¾...",style:{width:"220px"}},null,512),[[L,a(u)]]),m(e("select",{"onUpdate:modelValue":t[1]||(t[1]=l=>y(v)?v.value=l:null),class:"form-select",style:{width:"140px"}},[t[8]||(t[8]=e("option",{value:""},"ææç±»å",-1)),(o(),i(h,null,x(A,l=>e("option",{key:l,value:l},n(l),9,K)),64))],512),[[_,a(v)]]),m(e("select",{"onUpdate:modelValue":t[2]||(t[2]=l=>y(p)?p.value=l:null),class:"form-select",style:{width:"140px"}},[...t[9]||(t[9]=[e("option",{value:""},"æææé",-1),e("option",{value:"high"},"髿é(â¥8)",-1),e("option",{value:"mid"},"䏿é(6-8)",-1),e("option",{value:"low"},"使é(<6)",-1)])],512),[[_,a(p)]]),m(e("select",{"onUpdate:modelValue":t[3]||(t[3]=l=>y(c)?c.value=l:null),class:"form-select",style:{width:"140px"}},[t[10]||(t[10]=e("option",{value:""},"ææAIå¹³å°",-1)),(o(),i(h,null,x(F,l=>e("option",{key:l,value:l},n(l),9,R)),64))],512),[[_,a(c)]]),m(e("select",{"onUpdate:modelValue":t[4]||(t[4]=l=>y(d)?d.value=l:null),class:"form-select",style:{width:"140px","margin-left":"auto"}},[...t[11]||(t[11]=[e("option",{value:"weight"},"ææéæåº",-1),e("option",{value:"price_asc"},"ä»·æ ¼ä»ä½å°é«",-1),e("option",{value:"price_desc"},"ä»·æ ¼ä»é«å°ä½",-1),e("option",{value:"name"},"æåç§°æåº",-1)])],512),[[_,a(d)]])])]),e("div",q,[e("div",H,[e("table",null,[t[12]||(t[12]=e("thead",null,[e("tr",null,[e("th",
1null,"åªä½åç§°"),e("th",null,"ç±»å"),e("th",null,"AIæé"),e("th",null,"è¦çAIå¹³å°"),e("th",null,"æ ç¾"),e("th",null,"ä»·æ ¼"),e("th",null,"夿³¨")])],-1)),e("tbody",null,[(o(!0),i(h,null,x(a(P),l=>(o(),i("tr",{key:l.id},[e("td",null,[e("div",Q,n(l.name),1),e("div",W,n(l.short_id),1)]),e("td",null,[e("span",{class:V(["badge",I(l.platform_type)])},n(l.platform_type),3)]),e("td",null,[e("div",X,[e("div",Y,[e("div",{class:"weight-fill",style:B({width:l.weight*10+"%",background:l.weight>=8?"var(--green)":l.weight>=7?"var(--blue)":"var(--muted)"})},null,4)]),e("span",{style:B([{"font-weight":"700","font-size":"13px"},{color:l.weight>=8?"var(--green)":l.weight>=7?"var(--blue)":"var(--muted)"}])},n(l.weight),5)])]),e("td",null,[e("div",Z,[(o(!0),i(h,null,x(l.ai_platforms,g=>(o(),i("span",{key:g,class:"badge badge-purple",style:{"font-size":"9px",padding:"1px 5px"}},n(g),1))),128))])]),e("td",ee,n(l.attributes),1),e("td",null,[e("span",te,"Â¥"+n(l.price_market),1)]),e("td",le,n(l.remark),1)]))),128))])])])]),a(b)>1?(o(),i("div",se,[e("span",ae,"å
± "+n(a(w).length)+" 个åªä½ · 第 "+n(a(r))+" / "+n(a(b))+" 页",1),e("div",ne,[e("button",{class:"pg-btn",disabled:a(r)<=1,onClick:t[5]||(t[5]=l=>r.value--)},[...t[13]||(t[13]=[e("i",{class:"ri-arrow-left-s-line"},null,-1)])],8,ie),(o(!0),i(h,null,x(a(U),l=>(o(),i("button",{key:l,class:V(["pg-btn",{active:l===a(r)}]),onClick:g=>r.value=l},n(l),11,oe))),128)),e("button",{class:"pg-btn",disabled:a(r)>=a(b),onClick:t[6]||(t[6]=l=>r.value++)},[...t[14]||(t[14]=[e("i",{class:"ri-arrow-right-s-line"},null,-1)])],8,re)])])):C("",!0),a(w).length===0?(o(),i("div",de,[...t[15]||(t[15]=[e("i",{class:"ri-search-line",style:{"font-size":"32px",display:"block","margin-bottom":"8px"}},null,-1),N(" æªæ¾å°å¹é
çåªä½æ¸ é ",-1)])])):C("",!0)]))}});export{ce as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.