1BX.namespace("RS"),window.RSLocation||(window.RSLocation=function(){var t=function(t,n){this.data=t,this.params=n,this.confirmPopup=document.getElementById(n.confirmPopupId),this.confirmPopup&&this.isNeedShowConfirm()&&this.showConfirm()},n=function(t,n){return localStorage.setItem(t,n)};return BX.merge(t.prototype,{getCityId:function(){return this.data.ID},getCityName:function(){return this.data.NAME},isNeedShowConfirm:function(){return!function(t){return localStorage.getItem(t)}("city_confirmed")},showConfirm:function(){this.confirmPopup.style.display="block"},hideConfirm:function(){this.confirmPopup.style.display="none",n("city_confirmed",!0)},change:function(t){var n={action:"change",id:t,siteId:this.params.siteId};return this.request(n).then(BX.proxy(this.changeSuccess,this))},changeSuccess:function(t){return this.data=t,n("city_confirmed",!0),BX.onCustomEvent("rs.location_change",[t]),t},request:function(t){var n=new BX.Promise;return t.sessid=BX.bitrix_sessid(),t.backurl=window.location.href,BX.ajax({url:this.params.ajaxUrl,method:"POST",data:t,dataType:"json",onsuccess:function(t){n.resolve(t)},onfailure:function(t){n.reject(t)}}),n}}),t}());
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.