PageSourceSearch

https://ambition-kw.com/bitrix/js/landing/env/dist/env.bundle.min.js?17891296671614

js ambition-kw.com collected 2026-10-06 13:16:52 UTC 1,614 bytes, 2 lines download raw bytes

1this.BX=this.BX||{};(function(t,e){"use strict";const n={params:{type:"EXTERNAL"}};function s(t,e,n){const s=BX.Landing.Utils.Matchers;return e.some((e=>{if(e==="vk"&&n!==true){return false}const i=s[e];return Boolean(i)&&i.test(t)}))}const i=Symbol("options");const o=(t={},n={})=>{const s=e.Runtime?.merge||BX?.Runtime?.merge;if(typeof s==="function"){return s(t,n)}return{...t,...n,params:{...t.params||{},...n.params||{}}}};const r=t=>{const n=e.Reflection?.getClass||BX?.Reflection?.getClass;return typeof n==="function"?n(t):null};class a{static instance=null;static getInstance(){return a.instance||a.createInstance()}static createInstance(t={}){a.instance=new a(t);const e=r("parent.BX.Landing.Env");if(e){e.instance=a.instance}return a.instance}constructor(t={}){this[i]=Object.seal(o(n,t))}getOptions(){return{...this[i]}}setOptions(t){this[i]=o(this[i],t)}getType(){return this.getOptions().params.type}setType(t){this.getOptions().params.type=t}getSpecialType(){return this.getOptions().specialType}getSiteId(){return this.getOptions().site_id||-1}getLandingEditorUrl(t={}){const e=this.getOptions();const n=e.params.sef_url.landing_view;const s=t.site?t.site:e.site_id;return n.replace("#site_show#",s).replace("#landing_edit#",t.landing)}isBlockControlsEnabled(){const t=this.getOptions().blockControlsEnabled;return typeof t==="undefined"?true:BX.Text.toBoolean(t)}isVkVideoAvailable(){const t=this.getOptions().vkVideoAvailable;return typeof t==="undefined"?true:BX.Text.toBoolean(t)}}t.Env=a;t.isSupportedVideoUrl=s})(this.BX.Landing=this.BX.Landing||{},BX);
2//# sourceMappingURL=env.bundle.map.js

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.