PageSourceSearch

https://knopka.kz/themes/platform/js/modules/geo/addr_input.js?v=16a0cead6f6686371a6aa94a4e3dbb48

js knopka.kz collected 2026-10-02 12:42:28 UTC 1,374 bytes, 1 lines download raw bytes

1window.jGeoMapAddrInput=function(){var t={zoom:12};function n(n){n=n||{},$.extend(t,n)}return{init:function(a,e){var r=t;if(n(e),!(a=$(a)).length)return null;var o=a.closest("form"),d={};if(d.coords=app.data("geo.map.default.coords")||[],d.$addr=a.find(".j-geo-map-addr-input-addr"),d.$lat=a.find(".j-geo-map-addr-input-lat"),d.$lon=a.find(".j-geo-map-addr-input-lon"),!d.$addr.length||!d.$lat.length||!d.$lon.length)return null;d.$lat.val().length&&d.$lon.val().length&&(d.coords=[d.$lat.val(),d.$lon.val()]),d.lastQuery="",d.query=[];var i=a.find(".j-country").text();return i.length&&d.query.push(i),(i=a.find(".j-city").text()).length&&d.query.push(i),d.search=function(){var t=d.query.slice(),n=o.find(".j-geo-map-addr-district");if(n.length&&n.is("select")){var a=n.val();intval(a)>0&&t.push(n.find("option:selected").text())}var e=d.$addr;e.length>1&&(e=e.filter(":visible:first")),e.length&&((i=e.val())&&i.length&&t.push(i),t.length&&(t=t.join(", "),d.lastQuery!==t&&d.editor.search(d.lastQuery=t)))},o.on("map-search",function(){d.search()}),o.on("change",".j-geo-map-addr-district",function(){d.search()}),d.map=app.map(a.find(".j-map").attr("id"),d.coords,function(){d.editor=this.markerPositionEditor([d.$lat,d.$lon],{address:d.$addr,onAddressInput:function(){d.search()}}),d.search()},{zoom:r.zoom}),d.params=function(t){t=t||{},$.extend(r,t)},d},params:n}}();

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.