first commit

This commit is contained in:
User A0264400
2026-04-01 23:20:16 +03:00
commit a766acdc90
23071 changed files with 4933189 additions and 0 deletions

View File

@@ -0,0 +1,101 @@
/*! loadCSS. [c]2017 Filament Group, Inc. MIT License */
// https://github.com/filamentgroup/loadCSS/blob/master/src/loadCSS.js
(function(w) {
"use strict";
/* exported loadCSS */
var loadCSS = function(href, before, media) {
// Arguments explained:
// `href` [REQUIRED] is the URL for your CSS file.
// `before` [OPTIONAL] is the element the script should use as a reference for injecting our stylesheet <link>
// before By default, loadCSS attempts to inject the link after the last stylesheet or script in the DOM.
// However, you might desire a more specific location in your document. `media` [OPTIONAL] is the media type or
// query of the stylesheet. By default it will be 'all'
var doc = w.document;
var ss = doc.createElement("link");
var ref;
if( before ) {
ref = before;
}
else {
var refs = ( doc.body || doc.getElementsByTagName("head")[0] ).childNodes;
ref = refs[refs.length - 1];
}
var sheets = doc.styleSheets;
ss.rel = "stylesheet";
ss.href = href;
// temporarily set media to something inapplicable to ensure it'll fetch without blocking render
ss.media = "only x";
// wait until body is defined before injecting link. This ensures a non-blocking load in IE11.
function ready(cb) {
if( doc.body ) {
return cb();
}
setTimeout(function() {
ready(cb);
});
}
// Inject link
// Note: the ternary preserves the existing behavior of "before" argument, but we could choose to change the
// argument to "after" in a later release and standardize on ref.nextSibling for all refs Note: `insertBefore`
// is used instead of `appendChild`, for safety re:
// http://www.paulirish.com/2011/surefire-dom-element-insertion/
ready(function() {
ref.parentNode.insertBefore(ss, ( before ? ref : ref.nextSibling ));
});
// A method (exposed on return object for external use) that mimics onload by polling document.styleSheets
// until it includes the new sheet.
var onloadcssdefined = function(cb) {
var resolvedHref = ss.href;
var i = sheets.length;
while( i-- ) {
if( sheets[i].href === resolvedHref ) {
return cb();
}
}
setTimeout(function() {
onloadcssdefined(cb);
});
};
function loadCB() {
if( ss.addEventListener ) {
ss.removeEventListener("load", loadCB);
}
ss.media = media || "all";
}
// once loaded, set link's media back to `all` so that the stylesheet applies once it loads
if( ss.addEventListener ) {
ss.addEventListener("load", loadCB);
}
ss.onloadcssdefined = onloadcssdefined;
onloadcssdefined(loadCB);
return ss;
};
// commonjs
if( typeof exports !== "undefined" ) {
exports.loadCSS = loadCSS;
}
else {
w.loadCSS = loadCSS;
}
}(typeof global !== "undefined" ? global : this));
/**/
jQuery(document).ready(function($) {
"use strict";
if( 'undefined' !== typeof wbcr_clearfy_async_links && Object.keys(wbcr_clearfy_async_links).length ) {
var key;
for( key in wbcr_clearfy_async_links ) {
if( wbcr_clearfy_async_links.hasOwnProperty(key) ) {
loadCSS(wbcr_clearfy_async_links[key]);
}
}
}
});

View File

@@ -0,0 +1 @@
!function(e){"use strict";var n=function(n,t,r){var i,a=e.document,o=a.createElement("link");if(t)i=t;else{var l=(a.body||a.getElementsByTagName("head")[0]).childNodes;i=l[l.length-1]}var s=a.styleSheets;o.rel="stylesheet",o.href=n,o.media="only x",function e(n){if(a.body)return n();setTimeout(function(){e(n)})}(function(){i.parentNode.insertBefore(o,t?i:i.nextSibling)});var c=function(e){for(var n=o.href,t=s.length;t--;)if(s[t].href===n)return e();setTimeout(function(){c(e)})};function d(){o.addEventListener&&o.removeEventListener("load",d),o.media=r||"all"}return o.addEventListener&&o.addEventListener("load",d),o.onloadcssdefined=c,c(d),o};"undefined"!=typeof exports?exports.loadCSS=n:e.loadCSS=n}("undefined"!=typeof global?global:this),jQuery(document).ready(function(e){"use strict";var n;if("undefined"!=typeof wbcr_clearfy_async_links&&Object.keys(wbcr_clearfy_async_links).length)for(n in wbcr_clearfy_async_links)wbcr_clearfy_async_links.hasOwnProperty(n)&&loadCSS(wbcr_clearfy_async_links[n])});

View File

@@ -0,0 +1,2 @@
<?php
// Silence is golden.