PageSourceSearch

https://telephonepakistan.com/js/ada.min.js?__lm__=1786542157

js telephonepakistan.com collected 2026-09-30 15:02:18 UTC 1,581 bytes, 2 lines download raw bytes

1"use strict";class AdaWidget{constructor(t){console.log("AdaWidget::constructor(%o)",t),this.adaButton=document.getElementById("enable_ada_trigger"),this.adaButton&&(this.fetcher={},this.widgetKey="",this.widgetLoaded=!1,this.adaButton.classList.add("location5"),this.getWidgetData(),this.adaButton.addEventListener("click",t=>{t.preventDefault(),this.loadWidget()}))}getWidgetData(){const t=new FormData;t.append("action","get_user_way_data"),this.fetcher.getUWData=s.common.fetcher(s.url("/process_user_way"),{method:"post",body:t}),this.fetcher.getUWData.ready.then(t=>{t.success?this.widgetKey=t.key:this.widgetKey=""}).catch(()=>{this.widgetKey=""})}removeFooterInert(){const t=document.querySelector("footer[inert]");t&&t.removeAttribute("inert")}loadWidget(){const t=this;if(!t.widgetKey)return;if(t.widgetLoaded)return;t.widgetLoaded=!0;const e=document.createElement("script");e.src="https://cdn.userway.org/widget.js",e.setAttribute("data-account",t.widgetKey),e.setAttribute("data-position","5");let o=0;e.onload=(()=>{let e=setInterval(()=>{let a=!1;const d=document.getElementById("userwayAccessibilityIcon");if(d&&(d.dispatchEvent(new Event("click")),a=!0),o>50&&(a=!0),a){if(t.adaButton.remove(),clearInterval(e),document.getElementById("footer-navbar")&&d){d.closest(".uwy").classList.add("footer-navbar-visible")}if(t.removeFooterInert(),d){const e=d.closest(".uwy.umb")?"touchstart":"click";d.addEventListener(e,function(){t.removeFooterInert()})}}o++},100)}),e.onerror=(()=>{t.widgetLoaded=!1}),document.body.appendChild(e)}}
2//# sourceMappingURL=ada.min.js.map

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.