PageSourceSearch

https://www.tezfly.com/_next/static/chunks/pages/continent/esim/[slug]-d4114dde67ae1bb9.js

js tezfly.com collected 2026-10-09 17:22:55 UTC 6,602 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6347],{40749:(t,e,n)=>{"use strict";n.d(e,{A:()=>L});var i=n(37876),o=n(62867),r=n(72048),a=n(37489),s=n(72050),l=n(88854),c=n(62860),u=n(77716),p=n(41867);let h="-esim",g=["tr","en"];function m(t){return t&&t.toLowerCase().startsWith("tr")?"tr":"en"}function y(t,e){let n=m(e);return t.split("-").filter(Boolean).map(t=>{if(t.length<=3)return t.toUpperCase();let e=t.charAt(0).toLocaleUpperCase("tr"===n?"tr-TR":"en-US");return`${e}${t.slice(1)}`}).join(" ")}function f(t,e,n){let i=m(t);return(0,l.aR)(i,"continent"===e?"continent":"country",`esim/${n}`)}function C(t,e,n,i){let o=m(t),r=(0,l.gK)(o,"continent"===e?"continent":"country");return[{text:"tr"===o?"Ana Sayfa":"Home",link:"/"},{text:"eSIM",link:"/esim",icon:"/icons/esim.svg",iconAlt:"eSIM"},{text:`${n} eSIM`,link:`/${r}/esim/${i}`,icon:"/icons/esim.svg",iconAlt:`${n} eSIM`}]}function b(t,e){return[{url:`https://res.cloudinary.com/tripuck/image/upload/q_auto,f_auto/tezfly/${t}.webp`,width:1200,height:628,alt:`${e} eSIM`}]}async function d({locale:t,entityType:e,baseSlug:n,slug:i,appEnv:o}){let r,s,l=m(t),c=y(n,l),h=(0,a.W1)(l,c),L=f(l,e,i),T=C(l,e,c,i),w=g.map(t=>({hrefLang:t,href:f(t,e,i)})),$=b(i,c);try{r="continent"===e?await u.GT.getContinentPage({code:n},o):await u.GT.getCountryPage({code:n},o),s=await p.E.homePageData(null,o,"esim-page")}catch(t){console.error("Failed to fetch eSIM content for %s: %o",i,t)}let A=r?.header?.success?r.body:null,_=A?.meta??{},S=A?.content??A??{},q=s?.body?.trendingCountryList??[],P=A?.Country??A?.country??S?.Country??S?.country??null,x=A?.Continent??A?.continent??S?.Continent??S?.continent??null,I=A?.ContentList??A?.contentList??S?.ContentList??S?.contentList??[],N=A?.QuestionList??A?.questionList??S?.QuestionList??S?.questionList??[],D=A?.OtherCountries??A?.otherCountries??S?.OtherCountries??S?.otherCountries??[],W=A?.InternationalWebsites??A?.internationalWebsites??S?.InternationalWebsites??S?.internationalWebsites??[],G=A?.CountryList??A?.countryList??S?.CountryList??S?.countryList??[],k=A?.OtherContinents??A?.otherContinents??S?.OtherContinents??S?.otherContinents??[],E="continent"===e?x:P;return{locale:l,entityType:e,slug:i,countryName:E?.Name??E?.name??S?.countryName??c,metaTitle:_.title??S.metaTitle??h.metaTitle,metaDescription:_.description??S.metaDescription??h.metaDescription,canonicalUrl:_.canonical??S.canonicalUrl??L,languageAlternates:_.languageAlternates??S.languageAlternates??w,openGraphImages:_.openGraph?.images??S.openGraphImages??$,openGraph:_.openGraph??S.openGraph??null,breadcrumbs:A?.breadcrumbs??S.breadcrumbs??T,heroTitle:S.heroTitle??h.heroTitle,heroDescription:S.heroDescription??h.heroDescription,heroBullets:S.heroBullets??h.heroBullets,highlightTitle:S.highlightTitle??h.highlightTitle,highlightParagraphs:S.highlightParagraphs??h.highlightParagraphs,benefitsTitle:S.benefitsTitle??h.benefitsTitle,benefits:S.benefits??h.benefits,stepsTitle:S.stepsTitle??h.stepsTitle,steps:S.steps??h.steps,compatibilityTitle:S.compatibilityTitle??h.compatibilityTitle,compatibilityParagraphs:S.compatibilityParagraphs??h.compatibilityParagraphs,compatibilityListTitle:S.compatibilityListTitle??h.compatibilityListTitle,compatibilityList:S.compatibilityList??h.compatibilityList,faqTitle:S.faqTitle??h.faqTitle,faq:S.faq??h.faq,ctaTitle:S.ctaTitle??h.ctaTitle,ctaDescription:S.ctaDescription??h.ctaDescription,ctaButton:S.ctaButton??h.ctaButton,internationalWebsites:W,otherCountries:D,countryList:G,otherContinents:k,country:E?{name:E.Name??E.name??null,code:E.Code??E.code??null,lat:E.Lat??E.lat??null,lon:E.Lon??E.lon??null,zoomValue:E.ZoomValue??E.zoomValue??("continent"===e?3:5),area:E.Area??E.area??null,population:E.Population??E.population??null,intensity:E.Intensity??E.intensity??null,currency:E.Currency??E.currency??null,countryLanguage:E.CountryLanguage??E.countryLanguage??null}:null,contentList:I,questionList:N,trendingCountries:q.slice(0,7)}}function L({entityType:t}){let e="continent"===t?"continent":"country";return{Page:function({slug:t,initialContent:n}){let{locale:c,locales:u}=(0,s.A)(),p=c??n?.locale??"en",h=m(p),g=y(t,h),d=n??{},L=d.countryName??g,T={...(0,a.W1)(p,L),...d},w=d.slug??t,$=function(t=[],e=[]){let n=new Set,i=[];return[...t,...e].forEach(t=>{if(!t||!t.href||!t.hrefLang)return;let e=`${t.hrefLang.toLowerCase()}|${t.href}`;n.has(e)||(n.add(e),i.push(t))}),i}
1(d.languageAlternates??[],(u||[]).filter(Boolean).map(t=>({hrefLang:t,href:f(t,e,w)}))),A=d.canonicalUrl??f(h,e,w),_=d.openGraphImages??b(w,L),S={...d.openGraph??{},url:A,title:T.metaTitle,description:T.metaDescription,images:_},q=d.breadcrumbs??C(h,e,L,w),P=(0,l.gK)(h,"continent"===e?"continent":"country",!1),x=`/${P}/esim/${w}`,I=(T.faq||[]).map(t=>({questionName:t.question,acceptedAnswerText:t.answer})),N=(0,a.yn)(h,q,x);return(0,i.jsxs)(r.A,{children:[(0,i.jsx)(o.bV,{title:T.metaTitle,description:T.metaDescription,canonical:A,languageAlternates:$,openGraph:S}),(0,i.jsx)(o.Q2,{mainEntity:I}),(0,i.jsx)(o.gk,{itemListElements:N}),(0,i.jsx)(a.Ay,{countryName:L,breadcrumbs:q,pageContent:d,internationalWebsites:d.internationalWebsites,otherCountries:d.otherCountries,country:d.country,contentList:d.contentList,questionList:d.questionList,entityType:e,countryList:d.countryList,otherContinents:d.otherContinents,trendingCountries:d.trendingCountries})]})},getServerSideProps:async function(t){let{params:n,locale:i,res:o}=t,{baseSlug:r,slugWithSuffix:a}=function(t){let e=decodeURIComponent((Array.isArray(t)?t.join("/"):t??"").trim()).replace(/[/\s]+/g,"-").toLowerCase();if(!(e=e.replace(/-ucak-bileti$/i,"").replace(/-flights$/i,"")))return{baseSlug:"esim",slugWithSuffix:`esim${h}`};let n=e.replace(RegExp(`(?:-)?${h}$`),"")||e,i=n.endsWith("esim")?n:`${n}${h}`;return{baseSlug:n,slugWithSuffix:i}}(n?.slug),s=i??"en",l={origin:c.zo[s.toUpperCase()]},u=await d({locale:s,entityType:e,baseSlug:r,slug:a,appEnv:l});o?.setHeader&&o.setHeader("Cache-Control","s-maxage=86400, stale-while-revalidate=3600");let{serverSideTranslations:p}=await import("next-i18next/serverSideTranslations.js");return{props:{...await p(s,["common","footer","header","searchComponent"]),slug:a,initialContent:u}}}}}},41500:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__N_SSP:()=>o,default:()=>r});let{Page:i}=(0,n(40749).A)({entityType:"continent"});var o=!0;let r=i},74050:(t,e,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/continent/esim/[slug]",function(){return n(41500)}])}},t=>{t.O(0,[7765,3630,3601,9963,4015,1211,9514,8444,94,2239,4788,3936,4692,4444,7489,636,6593,8792],()=>t(t.s=74050)),_N_E=t.O()}]);

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.