File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/landing/install/js/landing/mediaservice/google_maps_search_mediaservice.min.js
Back
(function(){"use strict";BX.namespace("BX.Landing.MediaService");BX.Landing.MediaService.GoogleMapsSearch=function(e,i){BX.Landing.MediaService.BaseMediaService.apply(this,arguments);this.matcher=BX.Landing.Utils.Matchers.googleMapsSearch;this.embedURL=function(e){var i="";if(e[5]){i=e[5].replace("query=","q=").replace("api=1","")}else if(e[9]){i=e[9]}return"//maps.google."+e[2]+"/maps?q="+i+"&output=embed"}};BX.Landing.MediaService.GoogleMapsSearch.validate=function(e){return BX.Landing.Utils.Matchers.googleMapsSearch.test(e)};BX.Landing.MediaService.GoogleMapsSearch.prototype={constructor:BX.Landing.MediaService.GoogleMapsSearch,__proto__:BX.Landing.MediaService.BaseMediaService.prototype,getURLPreviewElement:function(){return new Promise(function(e){var i='<span class="fa fa-map"></span> Google Maps';setTimeout(function(){e(BX.create("div",{props:{className:"landing-ui-mediaservice-url-preview landing-ui-mediaservice-url-preview-map"},children:[BX.create("div",{props:{className:"landing-ui-mediaservice-url-preview-text"},children:[BX.create("div",{props:{className:"landing-ui-mediaservice-url-preview-text-title"},html:i})]})]}))},400)})}}})();
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings