1 2; /* Start:"a:4:{s:4:"full";s:85:"/bitrix/components/bitrix/map.yandex.view/templates/.default/script.js?17315803751540";s:6:"source";s:70:"/bitrix/components/bitrix/map.yandex.view/templates/.default/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3if (!window.BX_YMapAddPlacemark) 4{ 5 window.BX_YMapAddPlacemark = function(map, arPlacemark) 6 { 7 if (null == map) 8 return false; 9 10 if(!arPlacemark.LAT || !arPlacemark.LON) 11 return false; 12 13 var props = {}; 14 if (null != arPlacemark.TEXT && arPlacemark.TEXT.length > 0) 15 { 16 var value_view = ''; 17 18 if (arPlacemark.TEXT.length > 0) 19 { 20 var rnpos = arPlacemark.TEXT.indexOf("\n"); 21 value_view = rnpos <= 0 ? arPlacemark.TEXT : arPlacemark.TEXT.substring(0, rnpos); 22 } 23 24 props.balloonContent = arPlacemark.TEXT.replace(/\n/g, '<br />'); 25 props.hintContent = value_view; 26 } 27 28 var obPlacemark = new ymaps.Placemark( 29 [arPlacemark.LAT, arPlacemark.LON], 30 props, 31 {balloonCloseButton: true} 32 ); 33 34 map.geoObjects.add(obPlacemark); 35 36 return obPlacemark; 37 } 38} 39 40if (!window.BX_YMapAddPolyline) 41{ 42 window.BX_YMapAddPolyline = function(map, arPolyline) 43 { 44 if (null == map) 45 return false; 46 47 if (null != arPolyline.POINTS && arPolyline.POINTS.length > 1) 48 { 49 var arPoints = []; 50 for (var i = 0, len = arPolyline.POINTS.length; i < len; i++) 51 { 52 arPoints.push([arPolyline.POINTS[i].LAT, arPolyline.POINTS[i].LON]); 53 } 54 } 55 else 56 { 57 return false; 58 } 59 60 var obParams = {clickable: true}; 61 if (null != arPolyline.STYLE) 62 { 63 obParams.strokeColor = arPolyline.STYLE.strokeColor; 64 obParams.strokeWidth = arPolyline.STYLE.strokeWidth; 65 } 66 var obPolyline = new ymaps.Polyline( 67 arPoints, {balloonContent: arPolyline.TITLE}, obParams 68 ); 69 70 map.geoObjects.add(obPolyline); 71 72 return obPolyline; 73 } 74} 75/* End */ 76; 77; /* Start:"a:4:{s:4:"full";s:66:"/simai.data/grid/block/home/social.widget/script.js?17315802351054";s:6:"source";s:51:"/simai.data/grid/block/home/social.widget/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 78!function(a){"use strict";function b(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function c(a,c){this.el=a,this.options=b({},this.options),b(this.options,c),this._init()}c.prototype.options={start:0},c.prototype._init=function(){this.tabs=[].slice.call(this.el.querySelectorAll("nav > ul > li")),this.items=[].slice.call(this.el.querySelectorAll(".content-wrap > section")),this.current=-1,this._show(),this._initEvents()},c.prototype._initEvents=function(){var a=this;
78this.tabs.forEach(function(b,c){b.addEventListener("click",function(b){b.preventDefault(),a._show(c)})})},c.prototype._show=function(a){this.current>=0&&(this.tabs[this.current].className=this.items[this.current].className=""),this.current=void 0!=a?a:this.options.start>=0&&this.options.start<this.items.length?this.options.start:0,this.tabs[this.current].className="sf-tab-current",this.items[this.current].className="content-current"},a.CBPFWTabs=c}(window),function(){[].slice.call(document.querySelectorAll(".sf-tabs")).forEach(function(a){new CBPFWTabs(a)})}(); 79/* End */ 80;; /* /bitrix/components/bitrix/map.yandex.view/templates/.default/script.js?17315803751540*/ 81; /* /simai.data/grid/block/home/social.widget/script.js?17315802351054*/
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.