|
51 | 51 | if("href"in a&&"searchParams"in a){var r=new URL("http://example.com")
|
52 | 52 | if(r.search="a=1&b=2","http://example.com/?a=1&b=2"===r.href&&(r.search="","http://example.com/"===r.href)){var t=new e.URLSearchParams("a=1"),c=new e.URLSearchParams(t)
|
53 | 53 | if("a=1"===String(c))return!0}}return!1}catch(h){return!1}})(self)) &&
|
54 |
| - ("TextEncoder"in self&&"TextDecoder"in self) && |
55 |
| - ("performance"in self&&"function"==typeof self.performance.getEntriesByType&&"function"==typeof self.performance.mark) && |
| 54 | + ("ResizeObserver"in self) && |
| 55 | + ("queueMicrotask"in self) && |
| 56 | + ("object"==typeof globalThis) && |
56 | 57 | ("HTMLPictureElement"in self||"picturefill"in self) &&
|
57 |
| - ("toBlob"in HTMLCanvasElement.prototype) |
| 58 | + ("performance"in self&&"function"==typeof self.performance.getEntriesByType&&"function"==typeof self.performance.mark) && |
| 59 | + ("TextEncoder"in self&&"TextDecoder"in self) && |
| 60 | + ("DOMTokenList"in self&&"forEach"in self.DOMTokenList.prototype) |
58 | 61 | )
|
59 | 62 | {
|
60 | 63 | var ref = window.document.getElementsByTagName( 'script' )[ 0 ];
|
|
75 | 78 | if (
|
76 | 79 | ("location"in self&&"origin"in self.location) &&
|
77 | 80 | ("document"in self&&"hidden"in document&&"visibilityState"in document) &&
|
78 |
| - ("HTMLTemplateElement"in self) && |
79 | 81 | ("requestAnimationFrame"in self) &&
|
80 | 82 | ("screen"in self&&"orientation"in self.screen&&"object"==typeof self.screen.orientation) &&
|
| 83 | + ("document"in self&&"cloneNode"in document.documentElement&&function(){var e=document.createElement("div"),n=document.createElement("input") |
| 84 | +n.type="radio",n.checked=!0,e.appendChild(n) |
| 85 | +var c,t=n.cloneNode(!1) |
| 86 | +try{c=e.cloneNode()}catch(d){return!1}return t.checked&&void 0!==c&&0===c.childNodes.length}()) && |
| 87 | + ("HTMLPictureElement"in self||"picturefill"in self) && |
81 | 88 | ("navigator"in self&&"sendBeacon"in navigator) &&
|
82 | 89 | ("document"in self&&"closest"in document.documentElement) &&
|
83 | 90 | ("EventSource"in self&&"function"==typeof self.EventSource) &&
|
84 | 91 | ("toBlob"in HTMLCanvasElement.prototype) &&
|
85 | 92 | ((function(n){if(!("Event"in n))return!1
|
86 |
| -try{return new Event("click"),!0}catch(t){return!1}})(self)) |
| 93 | +try{return new Event("click"),!0}catch(t){return!1}})(self)) && |
| 94 | + ("document"in self&&"classList"in document.documentElement&&"Element"in self&&"classList"in Element.prototype&&function(){var e=document.createElement("span") |
| 95 | +return e.classList.add("a","b"),e.classList.contains("b")}()) |
87 | 96 | )
|
88 | 97 | {
|
89 | 98 | var ref = window.document.getElementsByTagName( 'script' )[ 0 ];
|
|
0 commit comments