mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-08 09:21:14 +01:00
1 line
110 KiB
JavaScript
1 line
110 KiB
JavaScript
|
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.bowser=n():t.bowser=n()}(this,function(){return r={},i.m=e=[function(t,n,e){var p=e(1),v=e(7),g=e(14),y=e(11),m=e(19),b=function(t,n,e){var r,i,o,u=t&b.F,c=t&b.G,a=t&b.S,s=t&b.P,f=t&b.B,l=c?p:a?p[n]||(p[n]={}):(p[n]||{}).prototype,h=c?v:v[n]||(v[n]={}),d=h.prototype||(h.prototype={});for(r in c&&(e=n),e)i=((o=!u&&l&&void 0!==l[r])?l:e)[r],o=f&&o?m(i,p):s&&"function"==typeof i?m(Function.call,i):i,l&&y(l,r,i,t&b.U),h[r]!=i&&g(h,r,o),s&&d[r]!=i&&(d[r]=i)};p.core=v,b.F=1,b.G=2,b.S=4,b.P=8,b.B=16,b.W=32,b.U=64,b.R=128,t.exports=b},function(t,n){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(50)("wks"),i=e(31),o=e(1).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,n,e){var r=e(21),i=Math.min;t.exports=function(t){return 0<t?i(r(t),9007199254740991):0}},function(t,n){t=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=t)},function(t,n,e){t.exports=!e(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(3),i=e(96),o=e(28),u=Object.defineProperty;n.f=e(8)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(26);t.exports=function(t){return Object(r(t))}},function(t,n,e){var o=e(1),u=e(14),c=e(13),a=e(31)("src"),r=e(134),s=(""+r).split("toString");e(7).inspectSource=function(t){return r.call(t)},(t.exports=function(t,n,e,r){var i="function"==typeof e;i&&(c(e,"name")||u(e,"name",n)),t[n]!==e&&(i&&(c(e,a)||u(e,a,t[n]?""+t[n]:s.join(String(n)))),t===o?t[n]=e:r?t[n]?t[n]=e:u(t,n,e):(delete t[n],u(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||r.call(this)})},function(t,n,e){function r(t,n,e,r){var i=String(u(t)),t="<"+n;return""!==e&&(t+=" "+e+'="'+String(r).replace(c,""")+'"'),t+">"+i+"</"+n+">"}var i=e(0),o=e(2),u=e(26),c=/"/g;t.exports=function(n,t){var e={};e[n]=t(r),i(i.P+i.F*o(function(){var t=""[n]('"');return t!==t.toLowerCase()||3<t.split('"').length}),"String",e)}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(9),i=e(30);t.exports=e(8)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(46),i=e(26);t.exports=function(t){return r(i(t))}},function(t,n,e){"use strict";var r=e(2);t.exports=function(t,n){return!!t&&r(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,e){"use strict";n.__esModule=!0,n.default=void 0;var r=e(18),e=(a.getFirstMatch=function(t,n){t=n.match(t);return t&&0<t.length&&t[1]||""},a.getSecondMatch=function(t,n){t=n.match(t);return t&&1<t.length&&t[2]||""},a.matchAndReturnConst=function(t,n,e){if(t.test(n))return e},a.getWindowsVersionName=function(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},a.getMacOSVersionName=function(t){t=t.split(".").splice(0,2).map(function(t){return parseInt(t,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 1
|