PageSourceSearch

https://www.airtel.sc/static/js/120.dcdb64f1.chunk.js

js airtel.sc collected 2026-10-02 03:24:02 UTC 7,977 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkopco_website||=[]).push([[120],{7120(e,o,l){l.r(o),l.d(o,{default:()=>p});var n=l(9950),a=l(8429),t=l(1729),i=l(81),s=l(9613),c=l(2419),r=l(8420),d=l(6247),u=l(3199),g=l(1391);var v=l(4414);const p=()=>{var e,o,l,p,m;const[h,f]=(0,n.useState)({lat:parseFloat("-4.6796"),lng:parseFloat("55.4920")}),[x,j]=(0,n.useState)(),[b,w]=(0,n.useState)([]),[y,k]=(0,n.useState)({}),[$,_]=(0,n.useState)(!1),[q,C]=(0,n.useState)(""),{showLoader:L,hideLoader:A}=(0,i.M)(),S=(0,a.zy)(),[U,P]=(0,n.useState)(),[G,N]=(0,n.useState)(),[B,F]=(0,n.useState)(),[I,E]=(0,n.useState)(),[O,z]=(0,n.useState)(),{languagePrefix:H,selectedLanguage:M}=(0,t.o)(),T=(0,c.Y$)();(0,n.useEffect)(()=>{W(),D(),V(),(0,r.BI)({eventType:"page_view",page_name:(0,c.OV)(S.pathname)})},[M]);const V=()=>{(0,d.UU)(H).then(e=>{var o,l;null!==e&&void 0!==e&&null!==(o=e.data)&&void 0!==o&&o.packageHtml&&z((0,u.j)(null===e||void 0===e||null===(l=e.data)||void 0===l?void 0:l.packageHtml))})},W=()=>{L(),navigator.geolocation&&navigator.geolocation.getCurrentPosition(e=>{var o,l;let n={lat:null===e||void 0===e||null===(o=e.coords)||void 0===o?void 0:o.latitude,lng:null===e||void 0===e||null===(l=e.coords)||void 0===l?void 0:l.longitude};n.lat&&n.lng&&f({...h,lat:n.lat,lng:n.lng})},e=>{console.info(e)})};function X(e,o){new google.maps.InfoWindow;let l=new google.maps.LatLngBounds;for(var n=0;n<e.length;n++){var a,t,i,c,r,d,u,g,v=e[n],p=new google.maps.LatLng(null===(a=v)||void 0===a?void 0:a.latitude,null===(t=v)||void 0===t?void 0:t.longitude),m=new google.maps.Marker({position:p,map:o,title:null===(i=v)||void 0===i?void 0:i.title,icon:{url:null!==(c=v)&&void 0!==c&&null!==(r=c.technology)&&void 0!==r&&r._5Gservice?`${s.t}assets/images/map/5g-triangleone.png`:`${s.t}assets/images/map/triangle.png`}});if(m.icon.scaledSize=new google.maps.Size(15,30),null!==(d=v)&&void 0!==d&&null!==(u=d.technology)&&void 0!==u&&u._5Gservice){new google.maps.Circle({map:o,fillColor:"#AA0000",strokeColor:"#fd7d787a",strokeOpacity:.8,strokeWeight:2,fillColor:"#fd7d787a",fillOpacity:.35,radius:300}).bindTo("center",m,"position")}l.extend(null===(g=m)||void 0===g?void 0:g.position),w([...b,m])}}const D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=new google.maps.Map(document.getElementById("map"),{zoom:9,center:{lat:parseFloat("-4.6796"),lng:parseFloat("55.4920")},fullscreenControl:!1});k({...y,...o}),e.length?X(e,o):(0,d.Xg)(M).then(e=>{var l;let n=(0,u.j)(null===e||void 0===e||null===(l=e.data)||void 0===l?void 0:l.packageHtml);j(n),X(n,o),_(!0),function(e){let o=null===e||void 0===e?void 0:e.find(e=>null===e||void 0===e?void 0:e.technology._2Gservice),l=null===e||void 0===e?void 0:e.find(e=>null===e||void 0===e?void 0:e.technology._3Gservice),n=null===e||void 0===e?void 0:e.find(e=>null===e||void 0===e?void 0:e.technology._4Gservice),a=null===e||void 0===e?void 0:e.find(e=>null===e||void 0===e?void 0:e.technology._5Gservice);o&&P(!0);l&&N(!0);n&&F(!0);a&&E(!0)}(n)}).catch(e=>{console.log(e)}).finally(()=>{A()}),function(e){let o;o=document.getElementById("autocomplete");var l=new google.maps.LatLngBounds(new google.maps.LatLng(24.41495,67.778582),new google.maps.LatLng(28.04077,98.012957));let n=new google.maps.places.SearchBox(o,{bounds:l});n.addListener("places_changed",function(){document.getElementById("autocomplete").blur();null===e||void 0===e||e.getCenter().lat(),null===e||void 0===e||e.getCenter().lng();var o=n.getPlaces();if(0===(null===o||void 0===o?void 0:o.length)){var l=new google.maps.Geocoder;geocodeAddress(l,e)}else{var a,t,i,s,c,r,d,u;if(o[0].geometry)null===(a=o[0])||void 0===a||null===(t=a.geometry)||void 0===t||null===(i=t.location)||void 0===i?void 0:i.lat(),null===(s=o[0])||void 0===s||null===(c=s.geometry)||void 0===c||null===(r=c.location)||void 0===r?void 0:r.lng(),e.panTo(null===(d=o[0])||void 0===d||null===(u=d.geometry)||void 0===u?void 0:u.location)}e.setZoom(15)})}(o)},J=e=>{var o;let l=null===x||void 0===x?void 0:x.filter(o=>{var l;return null===o||void 0===o?void 0:o.technology[null===e||void 0===e||null===(l=e.target)||void 0===l?void 0:l.value]});D(l),C(null===e||void 0===e||null===(o=e.target)||void 0===o?void 0:o.value)};return(0,v.jsxs)(v.Fragment,{children:[!$&&(0,v.jsx)(g.A,{}),T?(0,v.jsx)("div",{className:"about-us-banner",style:{backgroundImage:`url(${s.JE}/Networkcoverage.jpg)`},children:(0,v.jsx)("div",{class:"bb-container container",children:(0,v.jsx)("div",{class:"block block-custom-text banner-content",children:(0,v.jsx)("div",{class:"block-content",children:(0,v.jsxs)("h2",{children:[null===O||void 0===O?void 0:O.heading," "]})})})})}):null,(0,v.jsx)("div",{className:"location-wrapper",children:(0,v.jsxs)("div",{class:"bb-container container",children:[T?(0,v.jsx)("ul",{class:"breadcrub-list ",children:(null===O||void 0===O?void 0:O.breadcrumbs.length)&&(null===O||void 0===O||null===(e=O.breadcrumbs)||void 0===e?void 0:e.map(e=>(0,v.jsx)(v.Fragment,{children:"Home"===e?(0,v.jsxs)("li",{children:[" ",(0,v.jsx)("a",{href:"/",children:e})]}):(0,v.jsxs)("li",{children:[" ",e]})})))}):null,(0,v.jsxs)("div",{className:"radio-container horizontal radios field",children:[U&&(0,v.jsxs)("label",{children:[(0,v.jsx)("input",{type:"radio",name:"tech",value:"_2Gservice",onChange:e=>J(e)}),(0,v.jsx)("span",{className:"radio"}),(0,v.jsx)("span",{children:null===O||void 0===O||null===(o=O.coverage)||void 0===o?void 0:o.two_g})]}),G&&(0,v.jsxs)("label",{children:[(0,v.jsx)("input",{type:"radio",name:"tech",value:"_3Gservice",onChange:e=>J(e)}),(0,v.jsx)("span",{className:"radio"}),(0,v.jsx)("span",{children:null===O||void 0===O||null===(l=O.coverage)||void 0===l?void 0:l.three_g})]}),B&&(0,v.jsxs)("label",{children:[(0,v.jsx)("input",{type:"radio",name:"tech",value:"_4Gservice",onChange:e=>J(e)}),(0,v.jsx)("span",{className:"radio"}),(0,v.jsx)("span",{children:null===O||void 0===O||null===(p=O.coverage)||void 0===p?void 0:p.four_g})]}),I&&(0,v.jsxs)("label",{children:[(0,v.jsx)("input",{type:"radio",name:"tech",value:"_5Gservice",onChange:e=>J(e)}),(0,v.jsx)("span",{className:"radio"}),(0,v.jsx)("span",{children:null===O||void 0===O||null===(m=O.coverage)||void 0===m?void 0:m.five_g})]})]}),(0,v.jsxs)("div",{className:"location",children:[(0,v.jsx)("input",{id:"autocomplete",name:"autocomplete",placeholder:"Enter a Location",type:"text"}),(0,v.jsx)("a",{className:"location-icon",children:(0,v.jsx)("i",{class:"fas fa-search"})})]}),(0,v.jsx)("div",{id:"map"})]})})]})}},6247(e,o,l){l.d(o,{$2:()=>p,DO:()=>d,Mr:()=>s,Oy:()=>g,UU:()=>m,VO:()=>f,Xg:()=>i,e4:()=>c,iQ:()=>r,mC:()=>u,qj:()=>h,wg:()=>v});var n=l(2419),a=l(3259);const t=(0,n.eN)();function i(e){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=/fetch-sites-data-5g`,{headers:{lang:null===e||void 0===e?void 0:e.toLowerCase()}})}function s(e){const o=`cms/webpage/getFaqs_pCategory?opco=${t}`;return a.A.request(o,{headers:{}})}function c(e,o){return a.A.request(`cms/webpage/likeCount/?questionId=${e}&isLike=${o}&opco=${t}`)}function r(e){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=${e}/faq-translation`)}function d(e){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=${e}/getHelp-translation`)}function u(e){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=${e}/question-translation`)}function g(e){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=${e}/recharge-translation`)}function v(e){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=${e}/search-translation`)}function p(){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=/privacy-policy-config`)}function m(e){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=${e}/network-translation`)}function h(e){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=${e}/help-documents`)}function f(){return a.A.request(`cms/webpage/activePackage?opco=${t}&pageUrl=/lead-status-config`)}}}]);

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.