mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-12 11:26:17 +01:00
1 line
76 KiB
JavaScript
1 line
76 KiB
JavaScript
|
"use strict";!function(){function wt(e){return(wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function f(e){if(!(e=(Array.isArray(e)?r(e):void 0)||("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)?Array.from(e):void 0)||c(e)))throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");return e}function c(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,i=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(i)throw o}}}}function e(e){var t={exports:{}};return e(t,t.exports),t.exports}function t(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function a(e){this.size=(this.__data__=new Ee(e)).size}function m(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new He;++t<n;)this.add(e[t])}function s(r,o){if("function"!=typeof r||null!=o&&"function"!=typeof o)throw new TypeError("Expected a function");function a(){var e=arguments,t=o?o.apply(this,e):e[0],n=a.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),a.cache=n.set(t,e)||n,e)}return a.cache=new(s.Cache||He),a}function u(e){if("string"==typeof e)return e;if(ae(e))return Ht(e,u)+"";if(pt(e))return Gt?Gt.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function kt(e){var t;return Zt(e)||(e=e.text||"",(t=rn.getElementsByTagName("title"))&&void 0!==t[0]&&(e=t[0].text)),e}function At(e){var t=/^(?:(?:https?|ftp):)\/*(?:[^@]+@)?([^:/#]+)/.exec(e);return t?t[1]:e}function _t(e){var t=e.length;return e="*."===(e="."===e.charAt(--t)?e.slice(0,t):e).slice(0,2)?e.slice(1):e}function jt(e){var t="",n=Ot("referrer",nn.location.href)||Ot("referer",nn.location.href);if(n)return n;if(e)return e;try{t=nn.top.document.referrer}catch(e){if(nn.parent)try{t=nn.parent.document.referrer}catch(e){t=""}}return t=""===t?rn.referrer:t}function St(e,t,n,r){return e.addEventListener?(e.addEventListener(t,n,r),!0):e.attachEvent?e.attachEvent("on"+t,n):void(e["on"+t]=n)}function Ot(e,t){return(e=new RegExp("^[^#]*[?&]"+e+"=([^&#]*)").exec(t))?decodeURIComponent(e[1].replace(/\+/g," ")):null}function h(e){var t,n=Array.prototype.slice.call(arguments,1);return e=tn(e,function(e){if("function"!=typeof e)return e;try{return e.apply(null,n)}catch(e){}}),(ae(e)?Te:Ce)(e,Qt(t))}function Tt(e){"undefined"!=typeof console&&console.warn("Snowplow: "+e)}function g(e){return e.className.match(/\S+/g)||[]}function y(e,t){if(Array.isArray(e)||!Ae(e))return function(){return!0};if(e.hasOwnProperty("filter"))return e.filter;var n=e.hasOwnProperty("whitelist");e=e.whitelist||e.blacklist,Array.isArray(e)||(e=[e]);for(var r=
|