PageSourceSearch

https://yoowifi.com/assets/CountryCoverage-CiI1LA2m.js

js yoowifi.com collected 2026-10-01 16:09:40 UTC 3,459 bytes, 1 lines download raw bytes

1import{u as C,r as c,p as A,h as E,g as S,a_ as j,q as h,j as t,S as R,c as M,L as T,e as G,bU as b,bV as v}from"./index-DxhIxHch.js";import{A as H}from"./AutoResizeText -BIYjh2Ia.js";import{P as I}from"./Products-BTPLdTzx.js";import"./ProductCard-E65D6TuT.js";import"./useModal-COv5c6nQ.js";import"./useVisitorId-qqfQjf2h.js";import"./data-B68V4Cro.js";const L={KR:"southkorea",GB:"unitedkingdom",US:"unitedstates",AE:"uae",VA:"holysee",LA:"laos",MK:"northmacedonia",MO:"macao",CZ:"czechia"},K=s=>{var o;const a=(o=s==null?void 0:s.iso2)==null?void 0:o.toUpperCase();return a&&L[a]?L[a]:((s==null?void 0:s.name)||(s==null?void 0:s.countryName)||"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-zA-Z0-9]/g,"").toLowerCase()},P=({query:s})=>{const{regionList:a}=C(e=>e.country),{cart:o}=C(e=>e.cart),{reactCountries:l}=o,[m,d]=c.useState(a[0]),x=A(),{t:i}=E(),{currentLanguage:g}=S(),f=e=>{x(h({productCountry:e,countriesList:[e]}))};c.useEffect(()=>{if(s){const e=a.find(n=>n.value.toLowerCase()===s.toLowerCase());e&&d(e)}},[s]),c.useEffect(()=>{var e;if(((e=o.reactCountries)==null?void 0:e.length)===0){const n=j.map(r=>({...r,iso2:r.countryCode,name:r.countryName}));x(h({reactCountries:n}))}},[]);const N=["AL","AD","AM","AU","AT","BH","BD","BE","BA","BN","BG","KH","CA","CN","HR","CY","CZ","DK","EG","EE","FI","FR","GE","DE","GI","GR","GG","HK","HU","IS","IN","ID","IE","IM","IL","IT","JP","JE","JO","KZ","KW","KG","LA","LV","LI","LT","LU","MO","MK","MY","MT","MX","MC","ME","MA","NP","NL","NZ","NO","OM","PK","PH","PL","PT","QA","RE","RO","SM","SA","RS","SG","SK","SI","ZA","KR","ES","LK","SE","CH","TW","TJ","TH","TN","TR","AE","UA","GB","US","UZ","VA","VN","AZ","BY","CW","FO","GF","GP","GY","MQ","MD","MN","YE"],u=(l||[]).filter(e=>N.includes(e.iso2)&&e.region.toLowerCase()===m.name.toLowerCase());return t.jsx("section",{className:"containerX",children:t.jsxs("div",{className:"sec_common_80 xl:!px-0",children:[t.jsx(R,{heading:i("countryCoverage.sectionHeader.heading"),subHeading:i("countryCoverage.sectionHeader.subHeading")}),t.jsx("div",{className:"my-4 lg:my-15 flex bg-neutral-200 rounded-[14px] py-2 px-2 overflow-x-auto",children:a.map((e,n)=>t.jsx("button",{className:M("flex-1 transition-all duration-300 ease-in-out py-3 md:py-4 px-4 md:px-0 text-base",e.name===m.name?" text-white bg-main-600 rounded-[8px] font-semibold":"bg-neutral-200 text-neutral-700 font-normal"),onClick:()=>{d(e)}
1,children:t.jsx(H,{maxLines:1,children:i(`countryCoverage.regionList.${e.index}.name`)||e.name})},n))}),u.length<1?t.jsx("p",{className:"text-center text-neutral-700 text-sm lg:text-base",children:i("extraText.noCountriesFoundInThisRegion")}):t.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-2 lg:gap-5",children:u.map((e,n)=>{var r,p;return t.jsx(T,{to:`/internet-packages/${K(e)}`,onClick:()=>f(e),className:"p-3 bg-neutral-100 rounded-xl flex items-center justify-center cursor-pointer min-h-[68px]",children:t.jsx("p",{className:"text-sm lg:text-[18px] font-semibold text-center",title:(r=e==null?void 0:e.translations)==null?void 0:r[g],children:(p=e==null?void 0:e.translations)==null?void 0:p[g]})},n)})})]})})},U=({isHideBanner:s})=>{const a=G(),l=new URLSearchParams(a.search).get("region");return t.jsxs("div",{className:"overflow-hidden w-full",children:[!s&&t.jsx(b,{isShowBannerBottom:!1,isShowTopPricing:!1}),t.jsx(P,{query:l}),t.jsx(I,{}),t.jsx(v,{})]})},V=c.memo(U);export{V 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.