1import{u as E,g as N,a as B,_ as H}from"./CSDQyH6h.js";import{a as M,E as S}from"./Cf3za8Cr.js";import{E as T}from"./D6FCEnjP.js";import"./Cj7yihxl.js";import"./B90Wnvz1.js";import{e as C,f as R,g as D,r as l,h as V,u as $,A as j,B as G,j as J,i as O,o as Q,c as q,a as s,b as i,w as c,k as d,d as k,t as m,x as F}from"./BGlDKhZQ.js";import{g as K}from"./Cv5AmJ8h.js";import{u as U}from"./CYmyf9Jz.js";import{_ as W}from"./DlAUqK2U.js";import"./iWjIhpdC.js";import"./BFHqjCO8.js";import"./CdlF-dbX.js";const X={class:"home"},Y={class:"home_con"},Z={class:"guide_bread"},ee={class:"guide_tree"},te={style:{"margin-left":"10px"}},ae={class:"guide_context"},oe=["innerHTML"],ne=C({__name:"api-documentation",setup(se){R();const r=D().currentRoute.value.fullPath.split("/"),y=l([{rel:"alternate",hreflang:"x-default",href:"https://www.a1proxy.com/help/api-documentation"},{rel:"alternate",hreflang:"en",href:"https://www.a1proxy.com/help/api-documentation"},{rel:"alternate",hreflang:"zh",href:"https://www.a1proxy.com/zh/help/api-documentation"},{rel:"alternate",hreflang:"zh-hk",href:"https://www.a1proxy.com/zh-hk/help/api-documentation"},{rel:"alternate",hreflang:"ru",href:"https://www.a1proxy.com/ru/help/api-documentation"}]),h=l({title:r[1]=="zh"?"APIææ¯æ¯æææ¡£ - å
¨çä½å®
IP䏿°æ®ä¸å¿ä»£çæ¥å£ä½¿ç¨æå":r[1]=="zh-hk"?"APIæè¡æ¯æ´æªæ¡ - å
¨çä½å®
IPèè³æä¸å¿ä»£çä»é¢ä½¿ç¨æå":"Proxy API for Residential IP Integration Guide",description:r[1]=="zh"?"æ¥çA1proxy APIææ¡£ï¼å¿«ééæå
¨çä½å®
IPã卿ä¸éææ°æ®ä¸å¿IP代çï¼å®ç°èªå¨åIP管ç䏿 é带宽代çæå¡ï¼å©åè·¨å¢ä¸å¡åæ°æ®ééã":r[1]=="zh-hk"?"æ¥çA1proxy APIæªæ¡ï¼å¿«ééæå
¨çä½å®
IPãåæ
èéæ
è³æä¸å¿IP代çï¼å¯¦ç¾èªååIP管çèç¡éé »å¯¬ä»£çæåï¼å©åè·¨å¢æ¥ååè³æç²åã":"A1proxy proxy API helps integrate residential IP addresses for automation and IP geolocation testing with flexible scaling.",keywords:r[1]=="zh"?"ipä»£çææ¯æ¯æææ¡£":r[1]=="zh-hk"?"ip代çæè¡æ¯æ´æªæ¡":"residential IP integration"});V({title:h.value.title,description:h.value.description,keywords:h.value.keywords}),$({link:[{rel:"canonical",href:"https://www.a1proxy.com/help/api-documentation"},...y.value]});const I={en:2,zh:4,"zh-hk":1},P=j(),{locale:p}=U(),_=E(G()),u=l([]),f=l(""),g=l(0),b=o=>{console.log(o),w(o.id)},x={children:"list",label:"name"};J(p,o=>{let n=2;switch(o){case"zh":n=4;break;case"zh-hk":n=1;break;case"pt":n=3;break;case"ru":n=5;break;case"vi":n=6;break}_.language=n},{immediate:!0});const v=async(o,n)=>{let t=await K(n);if(t.ret===0){let e={};if(t.data)switch(o){case"zh":e=t.data.find(a=>a.id===141);break;case"en":e=t.data.find(a=>a.id===30);break;case"pt":e=t.data.find(a=>a.id===31);break;case"zh-hk":e=t.data.find(a=>a.id===4);break}e&&JSON.stringify(e)!="{}"&&(u.value=e.list.reverse(),e.list!=null?w(u.value[0].id):f.value="")}},w=async o=>{let n={page:1,pageSize:1e3,folderId:o,language:_.language},t=await N(n);if(t.ret==0){let e="";t.data.list&&t.data.list.length&&t.data.list.forEach(a=>{e=e+"<h2>"+a.title+"</h2>",e+=a.content}),f.value=e}};return O(()=>{g.value=window.innerHeight-174,v(p.value,I[p.value])}),(o,n)=>{const t=B,e=M,a=S,z=T,A=H;return Q(),q("div",X,[s("div",Y,[i(t,{showType:"page"})]),s("div",Z,[i(a,{separator:">"},{default:c(()=>[i(e,{to:{path:d(P)("/")}},{default:c(()=>[k(m(o.$t("help.home")),1)]),_:1},8,["to"]),i(e,null,{default:c(()=>[k(m(o.$t("menu_4.title4")),1)]),_:1})]),_:1})]),s("div",{class:"guide_content",style:F({minHeight:d(g)+"px"})},[s("div",ee,[i(z,{"highlight-current":"",data:d(u),props:x,onNodeClick:b,"default-expand-all":"",style:{"--el-color-primary-light-9":"#ffffff99","--el-tree-node-hover-bg-color":"#ffffff99"}},{default:c(({node:ie,data:L})=>[s("span",te,m(L.name),1)]),_:1},8,["data"])]),s("div",ae,[s("p",{innerHTML:d(f)},null,8,oe)])],4),i(A)])}}}),ye=W(ne,[["__scopeId","data-v-fac7b89f"]]);export{ye 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.