PageSourceSearch

https://xn-----6kcbabblndp1dd9bev2ahl8gxd.xn--p1ai/bitrix/js/main/pageobject/dist/pageobject.bundle.js

js xn-----6kcbabblndp1dd9bev2ahl8gxd.xn--p1ai collected 2026-09-26 12:51:40 UTC 999 bytes, 35 lines download raw bytes

1/* eslint-disable */
2(function (exports) {
3	'use strict';
4
5	const PageObject = {
6	  getRootWindow() {
7	    return PageObject.getTopWindowOfCurrentHost(window);
8	  },
9	  isCrossOriginObject(currentWindow) {
10	    try {
11	      void currentWindow.location.host;
12	    } catch {
13	      // cross-origin object
14	      return true;
15	    }
16	    return false;
17	  },
18	  getTopWindowOfCurrentHost(currentWindow) {
19	    if (!PageObject.isCrossOriginObject(currentWindow.parent) && currentWindow.parent !== currentWindow && currentWindow.parent.location.host === currentWindow.location.host) {
20	      return PageObject.getTopWindowOfCurrentHost(currentWindow.parent);
21	    }
22	    return currentWindow;
23	  },
24	  getParentWindowOfCurrentHost(currentWindow) {
25	    if (PageObject.isCrossOriginObject(currentWindow.parent)) {
26	      return currentWindow;
27	    }
28	    return currentWindow.parent;
29	  }
30	};
31
32	exports.PageObject = PageObject;
33
34}((this.BX = this.BX || {})));
35//# sourceMappingURL=pageobject.bundle.js.map

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.