mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-09 10:22:25 +08:00
1 line
524 KiB
JavaScript
1 line
524 KiB
JavaScript
|
|
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("@dcloudio/uni-i18n"),require("vue"),require("vue-router")):"function"===typeof define&&define.amd?define([,,],e):"object"===typeof exports?exports["index"]=e(require("@dcloudio/uni-i18n"),require("vue"),require("vue-router")):t["index"]=e(t["@dcloudio/uni-i18n"],t["Vue"],t["VueRouter"])})("undefined"!==typeof self?self:this,(function(t,e,n){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="393d")}({"0071":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("340d"),r=n("71a4");function o(t){var e={};for(var n in t){var o=t[n];Object(i["k"])(o)&&(e[n]=Object(r["a"])(o),delete t[n])}return e}},"0126":function(t,e,n){"use strict";n.r(e),n.d(e,"getLaunchOptionsSync",(function(){return r})),n.d(e,"getEnterOptionsSync",(function(){return o}));var i=n("3d1e");function r(){return Object(i["e"])()}function o(){return Object(i["d"])()}},"01aa":function(t,e,n){"use strict";var i=n("e32e"),r=n.n(i);r.a},"01fd":function(t,e,n){"use strict";n.r(e),n.d(e,"getTheme",(function(){return o})),n.d(e,"getBrowserInfo",(function(){return f}));var i=n("340d");function r(){var t=navigator.userAgent,e=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1,n=t.indexOf("Edge")>-1&&!e,i=t.indexOf("Trident")>-1&&t.indexOf("rv:11.0")>-1;if(e){var r=new RegExp("MSIE (\\d+\\.\\d+);");r.test(t);var o=parseFloat(RegExp.$1);return o>6?o:6}return n?-1:i?11:-1}function o(){if(!0!==__uniConfig.darkmode)return Object(i["m"])(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(t){return"light"}}var a=navigator.userAgent,s=/android/i.test(a),c=/iphone|ipad|ipod/i.test(a),u=a.match(/Windows NT ([\d|\d.\d]*)/i),l=/Macintosh|Mac/i.test(a),d=/Linux|X11/i.test(a),h=l&&navigator.maxTouchPoints>0;function f(){var t,e,n,i=navigator.language,f="phone";if(c){t="iOS";var p=a.match(/OS\s([\w_]+)\slike/);p&&(e=p[1].replace(/_/g,"."));var g=a.match(/\(([a-zA-Z]+);/);g&&(n=g[1])}else if(s){t="Android";var v=a.match(/Android[\s/]([\w\.]+)[;\s]/);v&&(e=v[1]);for(var m=a.match(/\((.+?)\)/),b=m?m[1].split(";"):a.split(" "),y=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i],_=0;_<b.length;_++){var w=b[_];if(w.indexOf("Build")>0){n=w.split("Build")[0].trim();break}for(var k=void 0,S=0;S<y.length;S++)if(y[S].test(w)){k=!0;break}if(!k){n=w.trim();break}}}else if(h){if(n="iPad",t="iOS",e="function"===typeof window.BigInt?"14.0":"13.0",14===parseInt(e)){var C=a.match(/Version\/(\S*)\b/);C&&(e=C[1])}f="pad"}else if(u||l||d){n="PC",t="PC",f="pc";var x=a.match(/\((.+?)\)/)[1];if(u){switch(t="Windows",e="",u[1]){case"5.1":e="XP";break;case"6.0":e="Vista";break;case"6.1":e="7";break;case"6.2":e="8";break;case"6.3":e="8.1";break;case"10.0":e="10";break}var T=x.match(/[Win|WOW]([\d]+)/);T&&(e+=" x".concat(T[1]))}else l?(t="macOS",e=x.match(/Mac OS X (.+)/)||"",e&&(e=e[1].replace(/_/g,"."),-1!==e.indexOf(";")&&(e=e.split(";")[0]))):d&&(t="Linux",e=x.match(/Linux (.*)/)||"",e&&(e=e[1],-1!==e.indexOf(";")&&(e=e.split(";")[0])))}else t="Oth
|