chunk-4eb59cb7.0447f64f.js 22 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4eb59cb7"],{"02f4":function(t,e,r){var n=r("4588"),o=r("be13");t.exports=function(t){return function(e,r){var i,s,a=String(o(e)),u=n(r),c=a.length;return u<0||u>=c?t?"":void 0:(i=a.charCodeAt(u),i<55296||i>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):i:t?a.slice(u,u+2):s-56320+(i-55296<<10)+65536)}}},"0390":function(t,e,r){"use strict";var n=r("02f4")(!0);t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},"0bfb":function(t,e,r){"use strict";var n=r("cb7c");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"11e9":function(t,e,r){var n=r("52a7"),o=r("4630"),i=r("6821"),s=r("6a99"),a=r("69a8"),u=r("c69a"),c=Object.getOwnPropertyDescriptor;e.f=r("9e1e")?c:function(t,e){if(t=i(t),e=s(e,!0),u)try{return c(t,e)}catch(r){}if(a(t,e))return o(!n.f.call(t,e),t[e])}},"214f":function(t,e,r){"use strict";r("b0c5");var n=r("2aba"),o=r("32e9"),i=r("79e5"),s=r("be13"),a=r("2b4c"),u=r("520a"),c=a("species"),f=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),l=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(t,e,r){var h=a(t),p=!i(function(){var e={};return e[h]=function(){return 7},7!=""[t](e)}),d=p?!i(function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[c]=function(){return r}),r[h](""),!e}):void 0;if(!p||!d||"replace"===t&&!f||"split"===t&&!l){var y=/./[h],g=r(s,h,""[t],function(t,e,r,n,o){return e.exec===u?p&&!o?{done:!0,value:y.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),b=g[0],v=g[1];n(String.prototype,t,b),o(RegExp.prototype,h,2==e?function(t,e){return v.call(t,this,e)}:function(t){return v.call(t,this)})}}},3846:function(t,e,r){r("9e1e")&&"g"!=/./g.flags&&r("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:r("0bfb")})},"386d":function(t,e,r){"use strict";var n=r("cb7c"),o=r("83a1"),i=r("5f1b");r("214f")("search",1,function(t,e,r,s){return[function(r){var n=t(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,n):new RegExp(r)[e](String(n))},function(t){var e=s(r,t,this);if(e.done)return e.value;var a=n(t),u=String(this),c=a.lastIndex;o(c,0)||(a.lastIndex=0);var f=i(a,u);return o(a.lastIndex,c)||(a.lastIndex=c),null===f?-1:f.index}]})},"3b2b":function(t,e,r){var n=r("7726"),o=r("5dbc"),i=r("86cc").f,s=r("9093").f,a=r("aae3"),u=r("0bfb"),c=n.RegExp,f=c,l=c.prototype,h=/a/g,p=/a/g,d=new c(h)!==h;if(r("9e1e")&&(!d||r("79e5")(function(){return p[r("2b4c")("match")]=!1,c(h)!=h||c(p)==p||"/a/i"!=c(h,"i")}))){c=function(t,e){var r=this instanceof c,n=a(t),i=void 0===e;return!r&&n&&t.constructor===c&&i?t:o(d?new f(n&&!i?t.source:t,e):f((n=t instanceof c)?t.source:t,n&&i?u.call(t):e),r?this:l,c)};for(var y=function(t){t in c||i(c,t,{configurable:!0,get:function(){return f[t]},set:function(e){f[t]=e}})},g=s(f),b=0;g.length>b;)y(g[b++]);l.constructor=c,c.prototype=l,r("2aba")(n,"RegExp",c)}r("7a56")("RegExp")},4917:function(t,e,r){"use strict";var n=r("cb7c"),o=r("9def"),i=r("0390"),s=r("5f1b");r("214f")("match",1,function(t,e,r,a){return[function(r){var n=t(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,n):new RegExp(r)[e](String(n))},function(t){var e=a(r,t,this);if(e.done)return e.value;var u=n(t),c=String(this);if(!u.global)return s(u,c);var f=u.unicode;u.lastIndex=0;var l,h=[],p=0;while(null!==(l=s(u,c))){var d=String(l[0]);h[p]=d,""===d&&(u.lastIndex=i(c,o(u.lastIndex),f)),p++}return 0===p?null:h}]})},5147:function(t,e,r){var n=r("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,!"/./"[t](e)}catch(o){}}return!0}},"520a":function(t,e,r){"use strict";var n=r("0bfb"),o=RegExp.prototype.exec,i=String.prototype.replace,s=o,a="lastIndex",u=function(){var t=/a/,e=/b*/g;return o.call(t,"a"),o.call(e,"a"),0!==t[a]||0!==e[a]}(),c=void 0!==/()??/.exec("")[1],f=u||c;f&&(s=function(t){var e,r,s,f,l=this;return c&&(r=new RegExp("^"+l.source+"$(?!\\s)",n.call(l))),u&&(e=l[a]),s=o.call(l,t),u&&s&&(l[a]=l.global?s.index+s[0].length:e),c&&s&&s.length>1&&i.call(s[0],r,function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(s[f]=void 0)}),s}),t.exports=s},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"5dbc":function(t,e,r){var n=r("d3f4"),o=r("8b97").set;t.exports=function(t,e,r){var i,s=e.constructor;return s!==r&&"function"==typeof s&&(i=s.prototype)!==r.prototype&&n(i)&&o&&o(t,i),t}},"5f1b":function(t,e,r){"use strict";var n=r("23c6"),o=RegExp.prototype.exec;t.exports=function(t,e){var r=t.exec;if("function"===typeof r){var i=r.call(t,e);if("object"!==typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"6b54":function(t,e,r){"use strict";r("3846");var n=r("cb7c"),o=r("0bfb"),i=r("9e1e"),s="toString",a=/./[s],u=function(t){r("2aba")(RegExp.prototype,s,t,!0)};r("79e5")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?u(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):a.name!=s&&u(function(){return a.call(this)})},"6d93":function(t,e,r){"use strict";var n={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};function o(t){return t&&DataView.prototype.isPrototypeOf(t)}if(n.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function a(t){if("string"!==typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function u(t){return"string"!==typeof t&&(t=String(t)),t}function c(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n.iterable&&(e[Symbol.iterator]=function(){return e}),e}function f(t){this.map={},t instanceof f?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function p(t){var e=new FileReader,r=h(e);return e.readAsArrayBuffer(t),r}function d(t){var e=new FileReader,r=h(e);return e.readAsText(t),r}function y(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}function g(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(t){this._bodyInit=t,t?"string"===typeof t?this._bodyText=t:n.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:n.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():n.arrayBuffer&&n.blob&&o(t)?(this._bodyArrayBuffer=g(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||s(t))?this._bodyArrayBuffer=g(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"===typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return d(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(y(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(t,e){t=a(t),e=u(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},f.prototype["delete"]=function(t){delete this.map[a(t)]},f.prototype.get=function(t){return t=a(t),this.has(t)?this.map[t]:null},f.prototype.has=function(t){return this.map.hasOwnProperty(a(t))},f.prototype.set=function(t,e){this.map[a(t)]=u(e)},f.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},f.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),c(t)},f.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),c(t)},f.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),c(t)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);var v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function m(t){var e=t.toUpperCase();return v.indexOf(e)>-1?e:t}function w(t,e){e=e||{};var r=e.body;if(t instanceof w){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new f(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new f(e.headers)),this.method=m(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function _(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function x(t){var e=new f,r=t.replace(/\r?\n[\t ]+/g," ");return r.split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e}function S(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new f(e.headers),this.url=e.url||"",this._initBody(t)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},b.call(w.prototype),b.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},S.error=function(){var t=new S(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];S.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new S(null,{status:e,headers:{location:t}})};var T=self.DOMException;try{new T}catch(O){T=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},T.prototype=Object.create(Error.prototype),T.prototype.constructor=T}function R(t,e){return new Promise(function(r,o){var i=new w(t,e);if(i.signal&&i.signal.aborted)return o(new T("Aborted","AbortError"));var s=new XMLHttpRequest;function a(){s.abort()}s.onload=function(){var t={status:s.status,statusText:s.statusText,headers:x(s.getAllResponseHeaders()||"")};t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL");var e="response"in s?s.response:s.responseText;r(new S(e,t))},s.onerror=function(){o(new TypeError("Network request failed"))},s.ontimeout=function(){o(new TypeError("Network request failed"))},s.onabort=function(){o(new T("Aborted","AbortError"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&n.blob&&(s.responseType="blob"),i.headers.forEach(function(t,e){s.setRequestHeader(e,t)}),i.signal&&(i.signal.addEventListener("abort",a),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",a)}),s.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})}R.polyfill=!0,self.fetch||(self.fetch=R,self.Headers=f,self.Request=w,self.Response=S)},"6ef9":function(t,e,r){"use strict";r("f559"),r("ac6a"),r("386d"),r("4917"),r("3b2b"),r("6b54");function n(t){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t){return o="function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?function(t){return n(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},o(t)}r("cadf"),r("551c"),r("097d"),r("6d93");r.d(e,"a",function(){return i});var i=new function(){function t(t,e,r,n){var o="";o=-1!==t.indexOf("http://")||-1!==t.indexOf("https://")?t:t.length>2&&"!!"===t.substring(0,2)?t.substring(2):i.Queue.SVR_URL+t,i.goajax({url:o,apiName:t,data:r,scope:n,sendTime:new Date}).then(i.checkStatus).then(i.parseJson).then(function(t){return t.json()}).then(e).catch(i.on_fail)}function e(t,e,r){i.goajax({url:i.Queue.SVR_URL+t,apiName:t,sendTime:new Date,gid:r,callme:e}).then(i.checkStatus).then(i.parseJson).then(function(t){return t.json()}).then(i.onReqeustDataReceived).then(e).catch(i.on_fail)}this.Queue={THRESHOLD:1e3,IS_LOADED:!1,nowuse:0,SVR_URL:"/server/",TEST_URL:"smartAds/list",groupsCount:0,groups:[],shouldStop:!1,backup:["/server/","http://127.0.0.1:8866/server/","http://south.niimei.com:8866/server/","https://4.niimei.com/server/"],list:[],temporary:0,errorCount:0},this.Users={list:[]},this.Sectors={list:[]},this.AlertClosingTimeout=0,this.loglog=function(t){console.log(t)},this.logwarn=function(t){console.warn(t)},this.logerror=function(t){console.warn(t)},this.logtrace=function(){console.trace()},this.logverbose=function(){},this.asserThat=function(t,e){console.assert(t,e)},this.goajax=function(t){return"string"!==typeof t.data&&"object"===o(t.data)&&-1!==t.data.toString().indexOf("FormData")?fetch(t.url,{method:"POST",body:t.data}):fetch(t.url,{method:"POST",headers:{"Content-Type":"application/json"},body:t.data})},this.utils_get_param=function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),r=window.location.search.substr(1).match(e);return null!=r?unescape(r[2]):null},this.reloadPage=function(){location.reload()},this.get_server_url=function(){this.output=this.goajax({url:this.Queue.SVR_URL+this.Queue.TEST_URL,timeout:1e3}).then(this.checkStatus).then(this.parseJson).then(this.onReachServer).catch(this.onCheckFail)},this.onReachServer=function(){i.Queue.IS_LOADED=!0,i.logwarn("Using SERVER : "),i.logwarn(i.Queue.SVR_URL),setTimeout(i.parse_queue,50,i)},this.onCheckFail=function(t){if(i.Queue.nowuse===i.Queue.backup.length-1){i.logwarn("Backup Failed : "+i.Queue.backup[i.Queue.nowuse]),i.logwarn(this);var e="";i.Queue.backup.forEach(function(t,r){e+=r+":["+t+"] \n"}),i.logerror("抱歉, 服务器连接失败! \n 请确认 "+e+" 其中之一可用")}else i.loglog(t),i.Queue.nowuse++,i.Queue.SVR_URL=i.Queue.backup[i.Queue.nowuse],i.goajax({url:i.Queue.SVR_URL+i.Queue.TEST_URL,timeout:1e3}).then(i.checkStatus).then(function(t){return t.json()}).then(i.onReachServer).catch(i.onCheckFail)},this.get_data=function(t,e,r,n){var o=r;"string"!==typeof r&&(o=-1!==r.toString().indexOf("FormData")?r:JSON.stringify(o)),i.Queue.list.push({url:t,callback:e,gid:-1,data:o,scope:n})},this.new_data_group=function(t,e){var r=-1;return i.Queue.groups.forEach(function(e){e.groupName===t&&(r=e.gid)}),-1===r&&(r=i.Queue.groupsCount,i.Queue.groupsCount++,i.Queue.groups.push({gid:r,groupName:t,callme:e,counter:0})),r},this.group_get_data=function(t,e,r){var n=-1;i.Queue.groups.forEach(function(e){e.groupName===t&&(n=e.gid)}),-1===n&&i.send_alert("Group 方法使用错误!!!"),i.Queue.list.push({url:e,callback:r,gid:n})},this.parse_queue=function(){if(i.logverbose("Queue Length : "+i.Queue.list.length),i.Queue.temporary>(new Date).getTime())for(var r=0;r<i.Queue.list.length;r++)i.Queue.list.pop();if(i.Queue.temporary=0,i.Queue.list.length>0){var n=i.Queue.list.pop();-1===n.gid?t(n.url,n.callback,n.data,n.scope):e(n.url,n.callback,n.gid,n.data,n.scope)}!1===i.Queue.shouldStop&&setTimeout(i.parse_queue,50)},this.parseJSON=function(t){return t.json()},this.checkStatus=function(t){if(t.status>=200&&t.status<300)return t;var e=new Error(t.statusText);throw e.response=t,e},this.on_gp_success=function(t){var e=t.json();return e},this.onReqeustDataReceived=function(t){console.warn(t);var e=t;if(!i.check_if_authfail(e)){var r=new Error(t.statusText);throw r.response=t,r}if(!i.check_if_success(e)){var n=new Error(t.statusText);throw n.response=t,n}return t},this.check_if_authfail=function(t){i.logerror(t);var e=t;return null!=e&&"string"===typeof e&&!!(e.indexOf("login?from=")>0||e.startsWith("<!DOCTYPE html>")||e.indexOf("\x3c!-- SME::LOGINPAGE --\x3e")>0)},this.check_if_success=function(t){i.loglog("---------------Check-If-Success----------------");var e=t.json(),r=t.status;if("string"===typeof e)try{e=JSON.parse(e)}catch(n){return i.logwarn("=---------- 异常 -----------="),i.logwarn(e),i.logwarn("=----------------------------="),void i.send_alert("信息失败 : 1 : "+n)}else if("undefined"===typeof e)return i.logwarn("=---------- 异常 -----------="),i.logwarn(e),i.logwarn("=------------------------------="),i.logwarn(r),i.logwarn("=------------------------------="),void i.send_alert("信息失败 - 2 ");return"10000"===e.ret||(i.logtrace(),i.logerror(r),i.logerror(JSON.stringify(e)),i.send_alert("查询失败 : 请参阅控制台输出! "),!1)},this.on_fail=function(t){alert("网络可能不畅,您的礼物我们十分重视。为了给您更佳的体验,您可以微信搜索支持服务账号 lugt00, 专享人工匹配通道!\r\n"+t),i.Queue.errorCount+=1,i.Queue.errorCount>=10&&(i.Queue.errorCount=0,i.Queue.temporary=(new Date).getTime()+3e4,i.Queue.shouldStop=!0,i.logwarn("----- Too many failure, temporary stop HTTP ------"),i.send_alert("很抱歉,网络错误数量过多,暂时终止HTTP功能30s")),i.send_alert(" 结果处理代码报错!请检查 。"),i.logwarn(t),i.logwarn("----- 结果处理报错 ---------"),i.logwarn(this),i.logwarn("-----------msg-------------"),i.logwarn(JSON.stringify(t)),i.logwarn("----------------------------")},this.first_parse=function(t,e){if("string"===typeof e&&(e=JSON.parse(e)),"object"!==o(e))throw i.logwarn(t),"Error ! Parsing JSON failed ."+JSON.stringify(e);if("10000"===e.ret)return e.model;throw i.logwarn(t),"Error ! Server returned error."+JSON.stringify(e)},this.send_alert=function(t,e){i.Queue.shouldStop||(i.AlertClosingTimeout>0&&clearTimeout(i.AlertClosingTimeout),i.logwarn(t),i.logwarn(e),i.AlertClosingTimeout=setTimeout(function(){},1e4))},this.getUserName=function(t){var e=null;return i.Users.list.forEach(function(r,n){i.loglog(n),r.worker.staffId===t&&(e=r.worker.staffName)}),null==e?0!==t?(i.get_data("oaStaff/list?staffId="+t,i.on_username_retn),"[用户:"+t+"]"):"[用户:"+t+"]":e},this.on_username_retn=function(t){var e=this.url.substring(this.url.indexOf("staffId=")+8),r=parseInt(e),n=i.first_parse(this,t);n.list.length>0&&i.Users.list.push({uid:r,worker:n.list[0]})},this.setCookieWithTimeout=function(t,e,r){void 0!==r&&null!=r||(r=120),"number"!==typeof r&&(r=120);var n=60*r*1e3,o=new Date;o.setTime(o.getTime()+n+288e5),document.cookie=t+"="+e+";path=/;expires="+o.toUTCString()},this.setCookie=function(t,e,r){var n=new Date;n.setDate(n.getDate()+r),document.cookie=t+"="+escape(e)+(null==r?"":";expires="+n.toGMTString())},this.getCookie=function(t){if(document.cookie.length>0){var e=document.cookie.indexOf(t+"=");if(-1!==e){e=e+t.length+1;var r=document.cookie.indexOf(";",e);return-1===r&&(r=document.cookie.length),unescape(document.cookie.substring(e,r))}}return""},this.getSigned=function(t,e){},this.gotoJsLogin=function(){},this.get_server_url()};window.BasicFunction=i},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"8b97":function(t,e,r){var n=r("d3f4"),o=r("cb7c"),i=function(t,e){if(o(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{n=r("9b43")(Function.call,r("11e9").f(Object.prototype,"__proto__").set,2),n(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,r){return i(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:i}},9093:function(t,e,r){var n=r("ce10"),o=r("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},aae3:function(t,e,r){var n=r("d3f4"),o=r("2d95"),i=r("2b4c")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},b0c5:function(t,e,r){"use strict";var n=r("520a");r("5ca1")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},d2c8:function(t,e,r){var n=r("aae3"),o=r("be13");t.exports=function(t,e,r){if(n(e))throw TypeError("String#"+r+" doesn't accept regex!");return String(o(t))}},f559:function(t,e,r){"use strict";var n=r("5ca1"),o=r("9def"),i=r("d2c8"),s="startsWith",a=""[s];n(n.P+n.F*r("5147")(s),"String",{startsWith:function(t){var e=i(this,t,s),r=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return a?a.call(e,n,r):e.slice(r,r+n.length)===n}})}}]);
  2. //# sourceMappingURL=chunk-4eb59cb7.0447f64f.js.map