1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3532],{3468:(e,t,l)=>{l.d(t,{A:()=>r,q:()=>s});var a=l(12115),n=l(95155);function s(e,t){let l=a.createContext(t),s=e=>{let{children:t,...s}=e,r=a.useMemo(()=>s,Object.values(s));return(0,n.jsx)(l.Provider,{value:r,children:t})};return s.displayName=e+"Provider",[s,function(n){let s=a.useContext(l);if(s)return s;if(void 0!==t)return t;throw Error(`\`${n}\` must be used within \`${e}\``)}]}function r(e,t=[]){let l=[],s=()=>{let t=l.map(e=>a.createContext(e));return function(l){let n=l?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...l,[e]:n}}),[l,n])}};return s.scopeName=e,[function(t,s){let r=a.createContext(s),o=l.length;l=[...l,s];let c=t=>{let{scope:l,children:s,...c}=t,i=l?.[e]?.[o]||r,m=a.useMemo(()=>c,Object.values(c));return(0,n.jsx)(i.Provider,{value:m,children:s})};return c.displayName=t+"Provider",[c,function(l,n){let c=n?.[e]?.[o]||r,i=a.useContext(c);if(i)return i;if(void 0!==s)return s;throw Error(`\`${l}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let l=()=>{let l=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=l.reduce((t,{useScope:l,scopeName:a})=>{let n=l(e)[`__scope${a}`];return{...t,...n}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return l.scopeName=t.scopeName,l}(s,...t)]}},4129:(e,t,l)=>{l.d(t,{N:()=>n});var a=l(12115),n=globalThis?.document?a.useLayoutEffect:()=>{}},6554:(e,t,l)=>{l.d(t,{S:()=>a});let a=(0,l(25959).v)(e=>({pathname:"",isAdminPath:!1,setPathname:t=>e({pathname:t,isAdminPath:t.startsWith("/admin")})}))},20305:(e,t,l)=>{l.d(t,{A:()=>a});var a=(0,l(30313).A)("outline","command","IconCommand",[["path",{d:"M7 9a2 2 0 1 1 2 -2v10a2 2 0 1 1 -2 -2h10a2 2 0 1 1 -2 2v-10a2 2 0 1 1 2 2h-10",key:"svg-0"}]])},25959:(e,t,l)=>{l.d(t,{v:()=>r});var a=l(12115);let n=e=>{let t,l=new Set,a=(e,a)=>{let n="function"==typeof e?e(t):e;if(!Object.is(n,t)){let e=t;t=(null!=a?a:"object"!=typeof n||null===n)?n:Object.assign({},t,n),l.forEach(l=>l(t,e))}},n=()=>t,s={setState:a,getState:n,getInitialState:()=>r,subscribe:e=>(l.add(e),()=>l.delete(e))},r=t=e(a,n,s);return s},s=e=>{let t=(e=>e?n(e):n)(e),l=e=>(function(e,t=e=>e){let l=a.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return a.useDebugValue(l),l})(t,e);return Object.assign(l,t),l},r=e=>e?s(e):s},30313:(e,t,l)=>{l.d(t,{A:()=>s});var a=l(12115),n={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};let s=(e,t,l,s)=>{let r=(0,a.forwardRef)((l,r)=>{let{color:o="currentColor",size:c=24,stroke:i=2,title:m,className:x,children:d,...h}=l;return(0,a.createElement)("svg",{ref:r,...n[e],width:c,height:c,className:["tabler-icon","tabler-icon-".concat(t),x].join(" "),..."filled"===e?{fill:o}:{strokeWidth:i,stroke:o},...h},[m&&(0,a.createElement)("title",{key:"svg-title"},m),...s.map(e=>{let[t,l]=e;return(0,a.createElement)(t,l)}),...Array.isArray(d)?d:[d]])});return r.displayName="".concat(l),r}},39180:(e,t,l)=>{l.d(t,{r:()=>n});var a=l(68019);let n=(0,l(25959).v)((e,t)=>({config:null,affiliateProgram:null,setConfig:t=>{var l,n;return e({config:{...t,theme:(null==t?void 0:t.theme)?{...t.theme,textmarquee:null!=(n=null!=(l=t.theme.textmarquee)?l:t.theme.textMarquee)?n:"",...t.theme.logo&&{logo:(0,a.V)(t.theme.logo,t.hostName)},...t.theme["logo-l"]&&{"logo-l":(0,a.V)(t.theme["logo-l"],t.hostName)}}:t.theme}})},setAffiliateProgram:t=>e({affiliateProgram:t}),getRotateUrl:()=>{var e,l;return null==(l=t().config)||null==(e=l.theme)?void 0:e.rotateUrl}}))},64621:(e,t,l)=>{l.d(t,{A:()=>m});var a=l(95155),n=l(39180),s=l(13744),r=l(64269),o=l(6554),c=l(72557),i=l(12115);function m(e){var t,l;let{children:m,scrollable:x=!0,className:d="",openMarqueeTop:h=!0,openMarqueeBottom:p=!0}=e,u=(0,n.r)(e=>e.config),f=(0,o.S)(e=>e.isAdminPath),[v,g]=(0,i.useState)(""),b=null!=(l=null==u||null==(t=u.theme)?void 0:t.textmarquee)?l:"";(0,i.useEffect)(()=>{(async()=>
1{if(null==u?void 0:u.merchantId)try{let e=await s.A.fetchApi("/api/v1/products","",{headers:{"x-merchant-id":u.merchantId}}).then(e=>{var t;return null!=(t=null==e?void 0:e.data)?t:[]}).catch(()=>[]);if(e.length>0){let t=e.map(e=>{let t=(()=>{let e=Math.floor(1e5+9e5*Math.random());return"".concat("09").concat(e,"xxxx")})(),l=e.price.toLocaleString("vi-VN");return"KH ".concat(t," vừa mua ").concat(e.name," gi\xe1 ").concat(l,"Ä")});g(t.join(" "))}}catch(e){}})()},[null==u?void 0:u.merchantId]);let w=(0,a.jsx)("div",{className:"flex h-[33px] w-full items-center overflow-hidden rounded-xl bg-[#E5D4FF]",children:(0,a.jsx)("div",{className:"[container-type:inline-size] mx-4 flex h-full w-full items-center overflow-hidden",children:(0,a.jsx)("span",{className:"animate-marquee ml-[100%] text-[14px] leading-none font-medium whitespace-nowrap text-[#250057]",children:b})})});return(0,a.jsx)(a.Fragment,{children:x?(0,a.jsx)(c.F,{className:(0,r.cn)("z-0 mx-auto h-[calc(var(--template-5-vh,100dvh)-70px)] w-full bg-[#f5f6fb]","[&_[data-slot=scroll-area-viewport]>div]:!block [&_[data-slot=scroll-area-viewport]>div]:!w-full [&_[data-slot=scroll-area-viewport]>div]:!max-w-full [&_[data-slot=scroll-area-viewport]>div]:!min-w-0"),children:(0,a.jsxs)("div",{className:(0,r.cn)("mx-auto flex w-full max-w-[var(--template-5-content-max-width,100%)] min-w-0 flex-col justify-between gap-3 p-3 sm:gap-4 sm:p-4 md:px-6 md:py-6 2xl:px-10",d),children:[!f&&h&&b&&w,(0,a.jsx)("div",{className:"flex w-full max-w-full min-w-0 flex-1 pb-20 sm:pb-14 md:pb-12",children:m})]})}):(0,a.jsx)("div",{className:"z-0 mx-auto flex min-h-0 w-full flex-1 bg-[#f5f6fb]",children:(0,a.jsxs)("div",{className:(0,r.cn)("mx-auto flex w-full max-w-[var(--template-5-content-max-width,100%)] min-w-0 flex-col justify-between gap-3 p-3 sm:gap-4 sm:p-4 md:px-6 md:py-6 2xl:px-10",d),children:[!f&&h&&b&&w,(0,a.jsx)("div",{className:"flex w-full max-w-full min-w-0 flex-1 pb-20 sm:pb-14 md:pb-12",children:m})]})})})}},68019:(e,t,l)=>{l.d(t,{V:()=>a});let a=(e,t)=>{if(!e||"string"!=typeof e)return"";let l=e.trim();if(l.startsWith("https://")||l.startsWith("http://"))return l.replace("/api/v1","");if((e=>e.startsWith("/api/v1/files")||e.startsWith("/files/")||e.includes("/files/"))(l)){let e="https://api.homeproxy.vn".replace(/\/$/,"");if(e){let t=l.startsWith("/")?l:"/".concat(l);return"".concat(e).concat(t).replace("/api/v1","")}}let a=(t||"https://app.homeproxy.vn").trim().replace(/^https?:\/\//,"").replace(/\/$/,"");return a?l.startsWith("/")?"https://".concat(a).concat(l).replace("/api/v1",""):"https://".concat(a,"/").concat(l).replace("/api/v1",""):l}},68898:(e,t,l)=>{l.r(t),l.d(t,{default:()=>o});var a=l(95155),n=l(48636),s=l(64621);l(12115);var r=l(15239);function o(){return(0,a.jsx)(s.A,{scrollable:!0,children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-4 px-4 py-4 sm:gap-6 sm:px-6 sm:py-6",children:[(0,a.jsx)("h1",{className:"text-text-normal-template-4 text-[18px] leading-[130%] font-bold",children:"Hưá»ng dẫn"}),(0,a.jsx)("p",{className:"text-text-normal-template-4 text-sm font-normal sm:text-base",children:"Proxy l\xe0 g\xec? C\xe1ch c\xe0i Äặt Proxy v\xe0 Kết ná»i internet an to\xe0n"}),(0,a.jsxs)("div",{className:"mx-auto flex h-full w-full flex-col gap-6 overflow-hidden rounded-2xl bg-white px-4 pt-6 pb-6 shadow-sm sm:gap-9 sm:px-6 sm:pt-9 sm:pb-9 md:px-9",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("h2",{className:"text-text-normal-template-4 text-lg leading-[130%] font-bold sm:text-xl md:text-2xl",children:"C\xe1c t\xednh nÄng cá»§a Proxy Server"}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-center justify-between gap-6 text-sm font-normal sm:gap-9 xl:flex-row",children:[(0,a.jsxs)("div",{className:"text-text-normal-template-4 flex flex-1 flex-col gap-3 text-justify text-sm font-normal sm:text-base",children:[(0,a.jsx)("p",{className:"text-text-normal-template-4 text-base font-semibold sm:text-lg md:text-xl",children:"Tưá»ng lá»a v\xe0 Filtering"}),(0,a.jsx)("p",{className:"text-text-normal-template-4",children:"Proxy Server l\xe0m viá»c á» lá»p Application, lá»p 7 trong m\xf4 h\xecnh OSI v\xe0 há» trợ lá»c ứng dụng má»t c\xe1ch Äá»c láºp. Nếu n\xf3 ÄÆ°á»£c cấu h\xecnh Ä\xfang c\xe1ch sẽ cải thiá»n ÄÆ°á»£c vấn Äá» bảo máºt v\xe0 hiá»u suất cho mạng."}),(0,a.jsx)("p",{className:"text-text-normal-template-4",children:"Proxy Server l\xe0 g
1iải ph\xe1p cung cấp sá»± má» rá»ng v\xe0 hiá»u quả trong truy cáºp Internet. Thay cho viá»c g\xe1n cho má»i m\xe1y kh\xe1ch má»t kết ná»i Internet trá»±c tiếp th\xec trong trưá»ng hợp n\xe0y. Tất cả kết ná»i b\xean trong Äá»u c\xf3 thá» ÄÆ°á»£c cho qua má»t hoặc nhiá»u Proxy v\xe0 lần lượt kết ná»i ra ngo\xe0i."}),(0,a.jsx)("p",{className:"text-text-normal-template-4",children:"C\xf3 3 h\xecnh thức Äá» caching cá»§a c\xe1c website cải thiá»n chất lượng dá»ch vụ cá»§a má»t mạng: + Thứ nhất: Cải tiến bÄng th\xf4ng mạng v\xe0 tÄng khả nÄng má» rá»ng. + Thứ hai: Cải thiá»n khả nÄng Ä\xe1p trả cho c\xe1c m\xe1y kh\xe1ch. + Cuá»i c\xf9ng: C\xe1c Proxy Server cache c\xf3 thá» tÄng khả nÄng phục vụ vá»i khả nÄng truy cáºp tháºm ch\xed nguá»n nguy\xean bản hoặc li\xean kết mạng trung gian khi Äang offline."})]}),(0,a.jsx)(r.default,{src:"/images/proxyServer.png",width:0,height:0,alt:"proxy server",className:"h-auto w-full md:w-[540px]"})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("h2",{className:"text-text-normal-template-4 text-lg leading-[130%] font-bold sm:text-xl md:text-2xl",children:"Hưá»ng dẫn c\xe1ch c\xe0i Äặt Proxy cho tr\xecnh duyá»t Chrome"}),(0,a.jsxs)("div",{className:"flex w-full flex-col justify-between gap-6 text-sm font-normal sm:gap-9 lg:flex-row",children:[(0,a.jsxs)("div",{className:"text-text-normal-template-4 flex flex-1 flex-col text-justify text-sm sm:text-base md:w-1/2",children:[(0,a.jsx)("p",{className:"text-text-normal-template-4 text-base font-semibold sm:text-lg md:text-xl",children:"Bưá»c 1:"}),(0,a.jsxs)("p",{className:"text-text-normal-template-4",children:["Má» Chrome v\xe0 click v\xe0o biá»u tượng dấu ba chấm ",">"," Click v\xe0o"," ",(0,a.jsx)("span",{className:"text-text-normal-template-4 font-semibold",children:"C\xe0i Äặt"})," ",">"," Click v\xe0o"," ",(0,a.jsx)("span",{className:"text-text-normal-template-4 font-semibold",children:"N\xe2ng cao"})," ",">"," Chá»n"," ",(0,a.jsx)("span",{className:"text-text-normal-template-4 font-semibold",children:"Há» thá»ng"})," ",">"," Chá»n mục"," ",(0,a.jsx)("span",{className:"text-text-normal-template-4 font-semibold",children:"Má» t\xf9y chá»n c\xe0i Äặt n\xe2ng cao tr\xean m\xe1y t\xednh cá»§a bạn."})]})]}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(n.F.GuideIcon,{className:"!h-auto w-full md:!w-135"})})]})]}),(0,a.jsx)("div",{className:"flex flex-col gap-4",children:(0,a.jsxs)("div",{className:"flex w-full flex-col justify-between gap-6 text-sm font-normal sm:gap-9 lg:flex-row",children:[(0,a.jsxs)("div",{className:"text-text-normal-template-4 flex flex-1 flex-col text-sm sm:text-base md:w-1/2",children:[(0,a.jsx)("p",{className:"text-text-normal-template-4 text-base font-semibold sm:text-lg md:text-xl",children:"Bưá»c 2:"}),(0,a.jsxs)("p",{className:"text-text-normal-template-4",children:["- Tại thẻ"," ",(0,a.jsx)("span",{className:"text-text-normal-template-4 font-semibold",children:"Automatic proxy setup"})," ",">"," K\xe9o trượt từ"," ",(0,a.jsxs)("span",{className:"text-text-normal-template-4 font-semibold",children:["Off"," "]}),"qua"," ",(0,a.jsxs)("span",{className:"text-text-normal-template-4 font-semibold",children:["On"," "]}),">"," Nháºp Äá»a chá» proxy v\xe0o \xf4"," ",(0,a.jsx)("span",{className:"text-text-normal-template-4 font-semibold",children:"Script address"})," > ","Chá»n"," ",(0,a.jsx)("span",{className:"text-text-normal-template-4 font-semibold",children:"Save."})]}),(0,a.jsxs)("p",{className:"text-text-normal-template-4",children:["- Tại thẻ"," ",(0,a.jsx)("span",{className:"text-text-normal-template-4 font-semibold",children:"Manual proxy setup"})," ",">"," K\xe9o trượt thanh"," ",(0,a.jsx)("span",{className:"text-text-normal-template-4 font-semibold",children:"Use a proxy server"})," ","từ",(0,a.jsxs)("span",{className:"text-text-normal-template-4 font-semibold",children:[" ","Off"]})," ","qua"," ",(0,a.jsxs)("span",{className:"text-text-normal-template-4 font-semibold",children:["On"," "]}),">"," Nháºp Äá»a chá» proxy cần thay Äá»i ",">"," Nhấn",(0,a.jsxs)("span",{className:"text-text-normal-template-4 font-semibold",children:[" ","Save."]})]})]}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(n.F.GuideIcon,{className:"!h-auto w-full md:!w-135"})})]})})]})]})})}}
1,70222:(e,t,l)=>{l.d(t,{c:()=>n});var a=l(12115);function n(e){let t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...e)=>t.current?.(...e),[])}},72557:(e,t,l)=>{l.d(t,{F:()=>o});var a=l(95155),n=l(12115),s=l(83360),r=l(64269);let o=n.forwardRef((e,t)=>{let{className:l,children:n,...o}=e;return(0,a.jsxs)(s.bL,{ref:t,"data-slot":"scroll-area",className:(0,r.cn)("relative overflow-hidden",l),...o,children:[(0,a.jsx)(s.LM,{"data-slot":"scroll-area-viewport",className:(0,r.cn)("h-full w-full rounded-[inherit]",(null==l?void 0:l.includes("!rounded-none"))&&"!rounded-none"),children:n}),(0,a.jsx)(c,{}),(0,a.jsx)(s.OK,{})]})});o.displayName=s.bL.displayName;let c=n.forwardRef((e,t)=>{let{className:l,orientation:n="vertical",...o}=e;return(0,a.jsx)(s.VM,{ref:t,"data-slot":"scroll-area-scrollbar",orientation:n,className:(0,r.cn)("flex touch-none transition-colors select-none","vertical"===n&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",l),...o,children:(0,a.jsx)(s.lr,{"data-slot":"scroll-area-thumb",className:"bg-border relative flex-1 rounded-full"})})});c.displayName=s.VM.displayName}}]);
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.