febs-browser
Advanced tools
@@ -1,1 +0,1 @@ | ||
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={"i":r,"l":!1,"exports":{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{"configurable":!1,"enumerable":!0,"get":r})},t.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=12)}([function(e,t,n){"use strict";var r="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},o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)},i=n(14);t.sleep=i.sleep,t.getTimeString=i.getTimeString,t.getTimeStringFromNow=i.getTimeStringFromNow,t.getDate=i.getDate,t.getDate2=i.getDate2,t.mergeMap=i.mergeMap,t.isNull=i.isNull,t.denodeify=i.denodeify,t.browserIsIE=function(){return!!(window.ActiveXObject||"ActiveXObject"in window)},t.browserIEVer=function(){if(!t.browserIsIE())return Number.MAX_SAFE_INTEGER;var e=navigator.userAgent,n=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,r=e.indexOf("Edge")>-1&&!n,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(n){new RegExp("MSIE (\\d+\\.\\d+);").test(e);var i=parseFloat(RegExp.$1);return 7==i?7:8==i?8:9==i?9:10==i?10:6}return r?"edge":o?11:void Number.MAX_SAFE_INTEGER},t.browserIsSupportHtml5=function(){return"undefined"!=typeof Worker},t.browserIsMobile=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["Android","webOS","iPhone","iPad","iPod","Blackberry","Windows Phone"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsIOS=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["iPhone","iPad","iPod"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsPhone=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["Android","iPhone","iPod","Blackberry","Windows Phone"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsWeixin=function(e){return e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent),"MicroMessenger"==e.match(/MicroMessenger/i)}},function(e,t,n){"use strict";var r=n(3);t.isPhoneMobile=r.isPhoneMobile,t.isEmpty=r.isEmpty,t.isEmail=r.isEmail,t.isAlphaOrDigit=r.isAlphaOrDigit,t.isChinese=r.isChinese,t.getByteSize=r.getByteSize,t.replace=r.replace,t.utf8ToBytes=r.utf8ToBytes,t.bytesToUtf8=r.bytesToUtf8,t.trim=r.trim,t.escapeHtml=r.escapeHtml},function(e,t,n){"use strict";function r(e,t,n){if("number"!=typeof e)return"";t=t||"HH:mm:ss";var r=new Date(e),o={"M+":r.getMonth()+1,"d+":r.getDate(),"h+":r.getHours()%12==0?12:r.getHours()%12,"H+":r.getHours(),"m+":r.getMinutes(),"s+":r.getSeconds(),"q+":Math.floor((r.getMonth()+3)/3),"S":r.getMilliseconds()},i=n||{"0":"星期天","1":"星期一","2":"星期二","3":"星期三","4":"星期四","5":"星期五","6":"星期六"};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(r.getFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,i[r.getDay()+""]));for(var s in o)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?o[s]:("00"+o[s]).substr((""+o[s]).length)));return t}Promise;t.isValidate=function(e){return!(isNaN(e)||!e||"Invalid Date"==e.toString())&&e instanceof Date},t.getTimeString=r,t.getTimeStringFromNow=function(e,t){t=t||{},t.now=t.now||"刚刚",t.second=t.second||"秒前",t.minute=t.minute||"分钟前",t.hour=t.hour||"小时前",t.day_yesterday=t.day_yesterday||"昨天",t.day=t.day||"天前",t.month=t.month||"个月前",t.time=t.time||"yyyy-M-d h:m:s";var n=Math.ceil(Date.now()/1e3);if(e=Math.ceil(e/1e3),n>e){var o=n-e;if(o<3)return t.now;if(o<60)return o.toString()+t.second;if(o<3600)return Math.ceil(o/60).toString()+t.minute;if(o<86400)return Math.ceil(o/60/60).toString()+t.hour;if(o<2592e3){var i=new Date(1e3*n);return i.setHours(0,0,1),i.getTime()-e<=86400?t.day_yesterday:Math.ceil(o/60/60/24).toString()+t.day}return o<15552e3?Math.ceil(o/60/60/24/30).toString()+t.month:r(e,t.time)}return t.now},t.getTime=function(e){var t=new Date;return t.setFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2))),t.setHours(parseInt(e.substr(11,2))||0,parseInt(e.substr(14,2))||0,parseInt(e.substr(17,2))||0,0),t},t.getTime2=function(e){var t=new Date;return t.setFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2))),t.setHours(parseInt(e.substr(8,2))||0,parseInt(e.substr(10,2))||0,parseInt(e.substr(12,2))||0,0),t},t.getDate=function(e){return new Date(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2)))},t.getDate2=function(e){return new Date(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2)))},t.getUTCTimeString=function(e,t,n){if("number"!=typeof e)return"";t=t||"HH:mm:ss";var r=new Date(e),o={"M+":r.getUTCMonth()+1,"d+":r.getUTCDate(),"h+":r.getUTCHours()%12==0?12:r.getUTCHours()%12,"H+":r.getUTCHours(),"m+":r.getUTCMinutes(),"s+":r.getUTCSeconds(),"q+":Math.floor((r.getUTCMonth()+3)/3),"S":r.getUTCMilliseconds()},i=n||{"0":"星期天","1":"星期一","2":"星期二","3":"星期三","4":"星期四","5":"星期五","6":"星期六"};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(r.getUTCFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,i[r.getUTCDay()+""]));for(var s in o)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?o[s]:("00"+o[s]).substr((""+o[s]).length)));return t},t.getDateFromUTC=function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2))),t.setUTCHours(0,0,0,0),t},t.getDate2FromUTC=function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2))),t.setUTCHours(0,0,0,0),t},t.getTimeFromUTC=function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2))),t.setUTCHours(parseInt(e.substr(11,2))||0,parseInt(e.substr(14,2))||0,parseInt(e.substr(17,2))||0,0),t},t.getTime2FromUTC=function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2))),t.setUTCHours(parseInt(e.substr(8,2))||0,parseInt(e.substr(10,2))||0,parseInt(e.substr(12,2))||0,0),t}},function(e,t,n){"use strict";t.isPhoneMobile=function(e){return!!e&&!!/^(1[2-9][0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89]|98[0-9]|99[0-9])\d{8}$/.test(e)},t.isEmail=function(e){return!!e&&!!/^(([A-Za-z0-9\u4e00-\u9fa5_-]|\.)+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+)$/.test(e)},t.isAlphaOrDigit=function(e){return!!e&&!!/^[A-Za-z0-9]+$/.test(e)},t.isChinese=function(e){return!!e&&!!/^[\u4e00-\u9fa5]{0,}$/.test(e)},t.isEmpty=function(e){return!e||("string"!=typeof e||0==e.length)},t.getByteSize=function(e){if(!e)return 0;var t,n,r=0;for(t=0;t<e.length;t++)n=e.charCodeAt(t),n<127?r+=1:128<=n&&n<=2047?r+=2:2048<=n&&n<=65535?r+=3:65536<=n&&(r+=4);return r},t.replace=function(e,t,n){if(!e||!t)return e;if(0==e.length)return e;var r="",o=e.length,i=0,s=0;do{if(!(-1!=(i=e.indexOf(t,s))&&i<o)){r+=e.slice(s);break}i!=s&&(r+=e.slice(s,i)),r+=n,s=i+t.length}while(i<o);return r},t.utf8ToBytes=function(e){if(!e)return new Array;var t,n,r=new Array;t=e.length;for(var o=0;o<t;o++)n=e.charCodeAt(o),n>=65536&&n<=1114111?(r.push(n>>18&7|240),r.push(n>>12&63|128),r.push(n>>6&63|128),r.push(63&n|128)):n>=2048&&n<=65535?(r.push(n>>12&15|224),r.push(n>>6&63|128),r.push(63&n|128)):n>=128&&n<=2047?(r.push(n>>6&31|192),r.push(63&n|128)):r.push(255&n);return r},t.bytesToUtf8=function(e){for(var t="",n=0;n<e.length;){var r=e[n],o=0;r>>>7==0?(t+=String.fromCharCode(e[n]),n+=1):252==(252&r)?(o=(3&e[n])<<30,o|=(63&e[n+1])<<24,o|=(63&e[n+2])<<18,o|=(63&e[n+3])<<12,o|=(63&e[n+4])<<6,o|=63&e[n+5],t+=String.fromCharCode(o),n+=6):248==(248&r)?(o=(7&e[n])<<24,o|=(63&e[n+1])<<18,o|=(63&e[n+2])<<12,o|=(63&e[n+3])<<6,o|=63&e[n+4],t+=String.fromCharCode(o),n+=5):240==(240&r)?(o=(15&e[n])<<18,o|=(63&e[n+1])<<12,o|=(63&e[n+2])<<6,o|=63&e[n+3],t+=String.fromCharCode(o),n+=4):224==(224&r)?(o=(31&e[n])<<12,o|=(63&e[n+1])<<6,o|=63&e[n+2],t+=String.fromCharCode(o),n+=3):192==(192&r)?(o=(63&e[n])<<6,o|=63&e[n+1],t+=String.fromCharCode(o),n+=2):(t+=String.fromCharCode(e[n]),n+=1)}return t},t.trim=function(e){return e?e.replace(/(^\s*)|(\s*$)/g,""):e},t.escapeHtml=function(e){return e&&(e=t.replace(e,"&","&"),e=t.replace(e,"<","<"),e=t.replace(e,">",">"),e=t.replace(e," "," "),e=t.replace(e,'"',""")),e||""}},function(e,t,n){"use strict";t.DefaultTimeout=5e3,t.transfer=function(e){var t;if(e.XMLHttpRequest)t=new XMLHttpRequest;else if(e.XDomainRequest)t=new XDomainRequest;else for(var n=new Array("MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"),r=0;r<n.length&&!xmlHttp;r++)try{t=new ActiveXObject(n[r])}catch(o){}return t}},function(e,t,n){"use strict";!function(){"function"!=typeof Promise.prototype.finally&&(Promise.prototype.finally=function(e){return this.then(function(t){return this.constructor.resolve(e()).then(function(){return t})})['catch'](function(t){return this.constructor.resolve(e()).then(function(){throw t})})})}()},function(e,t,n){"use strict";var r={},o=0;window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame,window.requestAnimationFrame||(window.requestAnimationFrame=function(e){var t=Date.now(),n=Math.max(0,16-(t-o)),r=window.setTimeout(function(){e(t+n)},n);return o=t+n,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),r.requestAnimationFrame=window.requestAnimationFrame,r.cancelAnimationFrame=window.cancelAnimationFrame,e.exports=r},function(e,t,n){"use strict";function r(e,t){t||(t=0),t^=-1;for(var n=0,r=e.length;n<r;n++)t=t>>>8^i.crc32_table[255&(t^e.charCodeAt(n))];return-1^t}function o(e,t,n,o){if(!e||!o)return void(o&&o(0));if(t>=e.size||t<0||0==n)return void(o&&o(0));n<0&&(n=e.size);var i=File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice,s=new FileReader;e.size-t<n&&(n=e.size-t);var a=Math.ceil(n/2097152),u=0,l=function(){var r=2097152*u+t,o=r+2097152>=n+t?n+t:r+2097152;s.readAsBinaryString(i.call(e,r,o))},f=0;s.onload=function(e){f=r(e.target.result,f),u++,u<a?l():o(f)},l()}var i=n(13);t.crc32=r,t.crc32_fileSegment=o,t.crc32_file=function(e,t){o(e,0,e.size,t)},t.base64_encode=i.base64_encode,t.base64_decode=function(e){for(var t,n,r,o,i=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1),s=0,a=e.length,u=[];s<a;){do{t=i[255&e.charCodeAt(s++)]}while(s<a&&-1==t);if(-1==t)break;do{n=i[255&e.charCodeAt(s++)]}while(s<a&&-1==n);if(-1==n)break;u.push(t<<2|(48&n)>>4);do{if(61==(r=255&e.charCodeAt(s++)))return u;r=i[r]}while(s<a&&-1==r);if(-1==r)break;u.push((15&n)<<4|(60&r)>>2);do{if(61==(o=255&e.charCodeAt(s++)))return u;o=i[o]}while(s<a&&-1==o);if(-1==o)break;u.push((3&r)<<6|o)}return u},t.uuid=function(){for(var e=[],t="0123456789abcdef",n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}},function(e,t,n){"use strict";var r=n(2);t.isValidate=r.isValidate,t.getDate=r.getDate,t.getDate2=r.getDate2,t.getDate2FromUTC=r.getDate2FromUTC,t.getDateFromUTC=r.getDateFromUTC,t.getTime2FromUTC=r.getTime2FromUTC,t.getTimeString=r.getTimeString,t.getUTCTimeString=r.getUTCTimeString,t.getTimeStringFromNow=r.getTimeStringFromNow,t.getTimeFromUTC=r.getTimeFromUTC,t.getTime=r.getTime,t.getTime2=r.getTime2},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){var r,o,i,a=0,u=t.split(":");if(t=u[0],t=w.trim(t),(u=u[1])&&"checked"!=u&&"disabled"!=u)throw new Error("only support `:checked or :disabled` selector");if(t.indexOf("[")>0){var l=t.indexOf("[");if(o=t.substring(l+1,t.length-1),o=o.split("="),2!=o.length)throw new Error("Syntax error, unrecognized expression: "+t);i=o[1],(i.indexOf("'")>=0||i.indexOf('"')>=0)&&(i=i.substring(1,i.length-1)),o=o[0],t=t.substr(0,l)}if("."==t[0]?(a=2,t=t.substr(1)):"#"==t[0]&&(a=1,t=t.substr(1)),e&&0!=e.length){r=[];for(var f=0;f<e.length;f++){var d=e[f].childNodes;if(d){for(var c=[],h=0;h<d.length;h++)c.push(d[h]);for(var h=0;h<c.length;h++){var p=!0;if(u&&("disabled"==u?c[h].disabled||(p=!1):"checked"==u&&(c[h].checked||(p=!1))),p&&o&&c[h].getAttribute(o)!==i&&(p=!1),p)if(2==a){if(s(c[h],t)){r.push(c[h]);continue}}else if(1==a){if(c[h].id==t){r.push(c[h]);continue}}else if(0==a&&c[h].nodeName.toUpperCase()==t.toUpperCase()){r.push(c[h]);continue}if(!n){var m=c[h].childNodes;if(m&&m.length>0){for(var g=0;g<m.length;g++)c.push(m[g]);h>20&&(c=c.slice(h+1),h=-1)}}}}}}else{if(2==a?r=window.document.getElementsByClassName(t):1==a?(r=window.document.getElementById(t),r=r?[r]:[]):0==a&&(r=window.document.getElementsByTagName(t)),o){var y=r;r=[];for(var f=0;f<y.length;f++)y[f].getAttribute(o)===i&&r.push(y[f])}if(u){var y=r;r=[];for(var f=0;f<y.length;f++)"disabled"==u?y[f].disabled&&r.push(y[f]):"checked"==u&&y[f].checked&&r.push(y[f])}}return r}function i(e,t){""===e&&(e=null);var n,r=!1;if("string"==typeof e)if("<"==e[0])n=window.document.createElement("div"),n.innerHTML=e,1==n.childNodes.length?(n=n.childNodes[0],r=!1):(n=n.childNodes,r=!0);else{if(e.indexOf("<")>0||e.indexOf(">")>0)throw new Error("Syntax error, unrecognized");for(var i=e.split(" "),s=t?[t]:null,a=0;a<i.length;a++)""!=i[a]&&(s=o(s,i[a],!!t));s.length<=1?(n=s[0],r=!1):(n=s,r=!0)}else n=e;return{"_elem":n,"_isarr":r}}function s(e,t){return!(!e||!e.className||"function"!=typeof e.className.match)&&!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function a(e,t){e&&"string"==typeof e.className&&(s(e,t)||(w.isEmpty(e.className)?e.className+=t:e.className+=" "+t))}function u(e,t){e&&"string"==typeof e.className&&s(e,t)&&(e.className=e.className.replace(new RegExp("(\\s|^)"+t+"(\\s|$)")," "),e.className=w.trim(e.className))}function l(e){if(e){var t=e.parentNode;t&&t.removeChild(e)}}function f(e,t){if(e)if(t instanceof y)if(t._isArray())for(var n=0;n<t.length;n++)e.appendChild(t[n]);else e.appendChild(t[0]);else e.appendChild(t)}function d(e,t){if(e)if(e.hasChildNodes())if(t instanceof y)if(t._isArray())for(var n=t.length-1;n>=0;n--)e.insertBefore(t[n],e.firstChild);else e.insertBefore(t[0],e.firstChild);else e.insertBefore(t,e.firstChild);else if(t instanceof y)if(t._isArray())for(var n=0;n<t.length;n++)e.appendChild(t[n]);else e.appendChild(t[0]);else e.appendChild(t)}function c(e){var t=document.createElement("div");try{return t.appendChild(e.cloneNode(!0)),1==e.nodeType}catch(n){return e==window||e==document}}var h,p="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},m="function"==typeof Symbol&&"symbol"===p(Symbol.iterator)?function(e){return void 0===e?"undefined":p(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":p(e)},g=n(0),w=n(1),y=function(){function e(t){if(r(this,e),t===window.document||t==window?(this._elem=t,this._isArr=!1):t instanceof e?(this._elem=t._elem,this._isArr=t._isArr):c(t)?(this._elem=t,this._isArr=!1):(this._elem=i(t),this._isArr=this._elem._isarr,this._elem=this._elem._elem),this._isArray()){for(var n=0;n<this._elem.length;n++)this[n]=this._elem[n];this.length=this._elem.length}else this[0]=this._elem,this.length=this._elem?1:0;var o=this;if(this.bind=this.on,this.unbind=this.off,this.live=this.on,this.die=this.off,t===window.document?(this.ready=function(e){return e?window.addEventListener?window.document.addEventListener("DOMContentLoaded",e):window.document.attachEvent("onload",e):o.trigger("ready"),o},this.unload=function(e){return e?window.addEventListener?window.document.addEventListener("unload",e):window.document.attachEvent("onunload",e):o.trigger("unload"),o},this.context=window.document):t===window?this.unload=function(e){return e?window.addEventListener?window.addEventListener("unload",e):window.attachEvent("onunload",e):o.trigger("unload"),o}:this.context=window.document,"function"==typeof t){var s=function l(e){t.bind(o)(e),window.addEventListener?window.document.removeEventListener("DOMContentLoaded",l):window.document.detachEvent("onload",l)};window.addEventListener?window.document.addEventListener("DOMContentLoaded",s):window.document.attachEvent("onload",s)}else{var a=function(e,t){return t?o.on(e,t):o.trigger(e)};this.blur=function(e){return a("blur",e)},this.change=function(e){return a("change",e)},this.click=function(e){return a("click",e)},this.dblclick=function(e){return a("dblclick",e)},this.error=function(e){return a("error",e)},this.keydown=function(e){return a("keydown",e)},this.keypress=function(e){return a("keypress",e)},this.keyup=function(e){return a("keyup",e)},this.load=function(e){return a("load",e)},this.mousedown=function(e){return a("mousedown",e)},this.mouseenter=function(e){return a("mouseenter",e)},this.mouseleave=function(e){return a("mouseleave",e)},this.mousemove=function(e){return a("mousemove",e)},this.mouseout=function(e){return a("mouseout",e)},this.mouseover=function(e){return a("mouseover",e)},this.mouseup=function(e){return a("mouseup",e)},this.scroll=function(e){return a("scroll",e)},this.select=function(e){return a("select",e)},this.submit=function(e){return a("submit",e)}}if(this._elem)if(this._isArray())for(var n=0;n<this._elem.length;n++)this._domtify(this._elem[n]);else this._domtify(this._elem);for(var u in h.fn)"extend"!=u&&"fn"!=u&&"function"==typeof h.fn[u]&&(this[u]=h.fn[u].bind(this));this.__domtify=!0}return e.prototype.get=function(e){return this._elem?this._isArray()?this._elem[e]:e>0?null:this._elem:null},e.prototype.hasClass=function(e){if(!this._elem)return!1;for(var t=this.length?this.length:1,n=0;n<t;n++)if(s(this.get(n),e))return!0;return!1},e.prototype.addClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)a(this.get(n),e);return this},e.prototype.removeClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)u(this.get(n),e);return this},e.prototype.toggleClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)s(this.get(n),e)?u(this.get(n),e):a(this.get(n),e);return this},e.prototype.remove=function(){if(!this._elem)return this;for(var e=this.length?this.length:1,t=0;t<e;t++)l(this.get(t));return this},e.prototype.append=function(t){if(!this._elem)return this;var n=new e(t);return f(this.get(0),n),this},e.prototype.appendTo=function(t){return this._elem?(new e(t).append(this),this):this},e.prototype.prepend=function(t){if(!this._elem)return this;var n=new e(t);return d(this.get(0),n),this},e.prototype.prependTo=function(t){return this._elem?(new e(t).prepend(this),this):this},e.prototype.before=function(t){if(!this._elem)return this;for(var n=new e(t),r=this.length?this.length:1,o=0;o<r;o++)n.insertBefore(this.get(o));return this},e.prototype.insertBefore=function(t){if(!this._elem)return this;var n=new e(t);if(!n._isArray()){var r=this._elem;this._isArray()||(r=[r]);for(var o=0;o<r.length;o++)n[0].parentNode.insertBefore(r[o],n[0])}return this},e.prototype.after=function(t){if(!this._elem)return this;for(var n=new e(t),r=this.length?this.length:1,o=0;o<r;o++)n.insertAfter(this.get(o));return this},e.prototype.insertAfter=function(t){if(!this._elem)return this;var n=new e(t);if(!n._isArray()){var r=this._elem;this._isArray()||(r=[r]);for(var o=0;o<r.length;o++)n[0].parentNode.insertBefore(r[o],n[0].nextSibling)}return this},e.prototype.attr=function(e,t){if(!e)throw new Error("need attrName");{if(this._elem){if(void 0===t){if(!this.get(0).hasAttribute(e))return;return this.get(0).getAttribute(e)}for(var n=this.length?this.length:1,r=0;r<n;r++)this.get(r).setAttribute(e,t);return this}if(void 0!==t)return this}},e.prototype.removeAttr=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).removeAttribute(e);return this},e.prototype.detach=function(){throw new Error("unimplement")},e.prototype.clone=function(){throw new Error("unimplement")},e.prototype.replaceAll=function(){throw new Error("unimplement")},e.prototype.unwrap=function(){throw new Error("unimplement")},e.prototype.wrap=function(){throw new Error("unimplement")},e.prototype.wrapAll=function(){throw new Error("unimplement")},e.prototype.wrapinner=function(){throw new Error("unimplement")},e.prototype.empty=function(){if(!this._elem)return this;for(var e=this.length?this.length:1,t=0;t<e;t++)this.get(t).innerHTML="";return this},e.prototype.html=function(e){if(this._elem){if(void 0===e)return this.get(0).innerHTML;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).innerHTML=e;return this}if(void 0!==e)return this},e.prototype.text=function(e){if(this._elem){if(void 0===e)return this.get(0).textContent;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).textContent=e;return this}if(void 0!==e)return this},e.prototype.val=function(e){if(this._elem){if(void 0===e)return this.get(0).value;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).value=e;return this}if(void 0!==e)return this},e.prototype.css=function(e,t){if(this._elem){if(void 0===t)return this.get(0).style[e];for(var n=this.length?this.length:0,r=0;r<n;r++)this.get(r).style[e]=""==t?"":t;return this}if(void 0!==t)return this},e.prototype.on=function(t,n){if(!t)throw new Error("need event name");if("function"!=typeof n)throw new Error("on need function params");if(!this._elem)return this;for(var r=this.length?this.length:1,o=0;o<r;o++){var i=this.get(o);if(!(i instanceof e||i.__domtify)||(i=i._elem)){i.__events||(i.__events={}),i.__events[t]||(i.__events[t]=[]);var s,a=i.__events[t];for(s=0;s<a.length&&a[s]!==n;s++);s>=a.length&&a.push(n),"on"+t in i&&(i.addEventListener?i.addEventListener(t,n):i.attachEvent("on"+t,n))}}return this},e.prototype.one=function(e,t){if(!e||"string"!=typeof e)throw new Error("need event name");var n=this,r=function o(r){n.off(e,o),t.bind(this)(r)};return n.on(e,r),this},e.prototype.off=function(t,n){if(!t)throw new Error("need event name");if(!this._elem)return this;if(!n){for(var r=this.length?this.length:1,o=0;o<r;o++){var i=this.get(o);if((!(i instanceof e||i.__domtify)||(i=i._elem))&&(i.__events&&i.__events[t])){var s,a=i.__events[t];if("on"+t in i)for(s=0;s<a.length;s++)i.removeEventListener?i.removeEventListener(t,a[s]):i.detachEvent("on"+t,a[s]);i.__events[t]=[]}}return this}if("function"!=typeof n)throw new Error("off need function params");for(var r=this.length?this.length:1,o=0;o<r;o++){var i=this.get(o);if(i instanceof e&&(i=i._elem),i.__events&&i.__events[t]){var s,a=i.__events[t];for(s=0;s<a.length;s++)if(a[s]===n){a.splice(s,1);break}}"on"+t in i&&(i.removeEventListener?i.removeEventListener(t,n):i.detachEvent("on"+t,n))}return this},e.prototype.trigger=function(t,n){if(!t)throw new Error("need event name");if(!this._elem)return this;for(var r=this.length?this.length:1,o=0;o<r;o++){var i=this.get(o);if(i instanceof e&&(i=i._elem),i)if("on"+t in i)if(window.document.addEventListener){var s=window.document.createEvent("HTMLEvents");s.initEvent(t,!0,!0),i.dispatchEvent(s)}else i.fireEvent("on"+t);else if(i.__events&&i.__events[t]){var a,u,s=i.__events[t];for(u={"bubbles":!1,"cancelable":!1,"cancelBubble":!1,"defaultPrevented":!1,"type":t},u.currentTarget=i,u.target=i,a=0;a<s.length;a++)s[a](u,n)}}return this},e.prototype.parent=function(t){if(!this._elem)return new e;var n;if(t&&(n=new e(t)),this._isArray()){var r=new e;r._elem=[],r._isArr=!0,r.length=0;for(var o=this.length?this.length:1,i=0;i<o;i++)this.get(i).parentNode&&(n&&!n._isElementIn(this.get(i).parentNode)||(this._domtify(this.get(i).parentNode),r._elem.push(this.get(i).parentNode),r[r.length]=this.get(i).parentNode,r.length++));return 0==r._elem.length&&(r._elem=null),r}return this._elem.parentNode&&(!n||n._isElementIn(this._elem.parentNode))?new e(this._elem.parentNode):new e},e.prototype.parents=function(t){if(!this._elem)return new e;var n;t&&(n=new e(t));for(var r=[],o=this.length?this.length:1,i=0;i<o;i++)if(this.get(i).parentNode)for(var s=this.get(i);s.parentNode&&s.parentNode!=window&&s.parentNode!=window.document;){if(!n||n._isElementIn(s.parentNode)){var a;for(a=0;a<r.length;a++)if("function"==typeof r[a].isSameNode){if(r[a].isSameNode(s.parentNode))break}else if(r[a]===s.parentNode)break;a>=r.length&&r.push(s.parentNode)}s=s.parentNode}var u=new e;if(r.length>0){u._elem=r,u._isArr=!0,u.length=r.length;for(var i=0;i<r.length;i++)u._domtify(r[i]),u[i]=r[i]}return u},e.prototype.children=function(t){if(!this._elem)return new e;for(var n=[],r=this.length?this.length:1,o=0;o<r;o++){var s;if(t)s=i(t,this.get(o));else{s={"_elem":[],"_isarr":!0};for(var a=0;a<this.get(o).childNodes.length;a++)s._elem.push(this.get(o).childNodes[a])}s._elem&&(s._isarr?n=n.concat(s._elem):n.push(s._elem))}var u=new e;u._elem=n,u._isArr=!0,u.length=n.length;for(var o=0;o<n.length;o++)this._domtify(n[o]),u[o]=n[o];return u},e.prototype.next=function(t){if(!this._elem)return new e;var n;if(t&&(n=this.parent(),n=n.children(t)),this._isArray()){for(var r=[],o=this.length?this.length:1,i=0;i<o;i++)n&&!n._isElementIn(this.get(i).nextSibling)||this.get(i).nextSibling&&r.push(this.get(i).nextSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var i=0;i<r.length;i++)this._domtify(r[i]),s[i]=r[i];return s}var r;n&&!n._isElementIn(this._elem.nextSibling)||this._elem.nextSibling&&(r=this._elem.nextSibling);var s=new e;return s._elem=r,s[0]=r,s._isArr=!1,s.length=r?1:0,s},e.prototype.prev=function(t){if(!this._elem)return new e;var n;if(t&&(n=this.parent(),n=n.children(t)),this._isArray()){for(var r=[],o=this.length?this.length:1,i=0;i<o;i++)n&&!n._isElementIn(this.get(i).previousSibling)||this.get(i).previousSibling&&r.push(this.get(i).previousSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var i=0;i<r.length;i++)this._domtify(r[i]),s[i]=r[i];return s}var r;n&&!n._isElementIn(this._elem.previousSibling)||this._elem.previousSibling&&(r=this._elem.previousSibling);var s=new e;return s._elem=r,s[0]=r,s._isArr=!1,s.length=r?1:0,s},e.prototype.each=function(e){if(e)for(var t=0;t<this.length;t++)e(t,this.get(t))},e.prototype._domtify=function(t){if(!(t instanceof e||t.__domtify)){var n=Object.getPrototypeOf(this);for(var r in n)"__proto__"!=r&&"constructor"!=r&&(t[r]||(t[r]=n[r].bind(t)));for(var r in h.fn)"extend"!=r&&"fn"!=r&&"function"==typeof h.fn[r]&&(t[r]||(t[r]=h.fn[r].bind(t)));t._isArr=!1,t._elem=t,t.__domtify=!0}},e.prototype._isArray=function(){return this._isArr},e.prototype._isElementIn=function(e){if(!this._elem)return!1;for(var t=this.length?this.length:1,n=0;n<t;n++)if("function"==typeof this.get(n).isSameNode){if(this.get(n).isSameNode(e))return!0}else if(this.get(n)===e)return!0;return!1},e}();h=function(e){return new y(e)},h.fn={},h.extend=function(e){if(0==arguments.length)return{};if(1==arguments.length){for(var t in arguments[0])"extend"!=t&&"fn"!=t&&"function"==typeof arguments[0][t]&&(h[t]=arguments[0][t]);return this}if(!1===arguments[0])throw new Error("can't be false");var n={},r=0;for(!0===arguments[0]&&(r=1);r<arguments.length;r++)n=g.mergeMap(n,arguments[r]);return n},y.getViewPort=function(){return"BackCompat"==window.document.compatMode?{"width":window.document.body.clientWidth,"height":window.document.body.clientHeight}:{"width":window.document.documentElement.clientWidth,"height":window.document.documentElement.clientHeight}},y.getDocumentPort=function(){return"BackCompat"==window.document.compatMode?{"width":window.document.body.scrollWidth,"height":window.document.body.scrollHeight}:{"width":Math.max(window.document.documentElement.scrollWidth,window.document.documentElement.clientWidth),"height":Math.max(window.document.documentElement.scrollHeight,window.document.documentElement.clientHeight)}},y.getDocumentOffset=function(){var e,t;return"BackCompat"==window.document.compatMode?(e=window.document.body.scrollLeft,t=window.document.body.scrollTop):(e=0==document.documentElement.scrollLeft?document.body.scrollLeft:document.documentElement.scrollLeft,t=0==document.documentElement.scrollTop?document.body.scrollTop:document.documentElement.scrollTop),{"top":t,"left":e}},y.getElementOffset=function(e){if(!e)return{};var t=h(e);if(t=t[0]){if("function"==typeof t.getBoundingClientRect){var n=t.getBoundingClientRect();return{"left":n.left,"top":n.top}}for(var r=t.offsetLeft,o=t.offsetTop,i=t.offsetParent;i;)r+=i.offsetLeft,o+=i.offsetTop,i=i.offsetParent;var s,a;return"BackCompat"==window.document.compatMode?(s=window.document.body.scrollLeft,a=window.document.body.scrollTop):(s=0==window.document.documentElement.scrollLeft?window.document.body.scrollLeft:window.document.documentElement.scrollLeft,a=0==window.document.documentElement.scrollTop?window.document.body.scrollTop:window.document.documentElement.scrollTop),{"left":r-s,"top":o-a}}return{}},y.isDom=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":m(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":m(e))&&1===e.nodeType&&"string"==typeof e.nodeName},y.removeEventListener=function(e,t,n,r){e&&(e.addEventListener?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n))},y.addEventListener=function(e,t,n,r){e&&(e.addEventListener?e.addEventListener(t,n,r):e.attachEvent("on"+t,n))},t.Dom=y,t.CreateDom=h},function(e,t,n){"use strict";var r=(n(0),n(15)),o=n(16),i=n(17),s={"ajax":r.ajax,"fetch":o.fetch,"jsonp":i.jsonp};e.exports=s},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{"enumerable":!0,"get":function(){return e.l}}),Object.defineProperty(e,"id",{"enumerable":!0,"get":function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";(function(e){var t="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};n(5),function(n,r){"object"===t(e)&&"object"===t(e.exports)?e.exports=n.document?r(n,!0):function(e){if(!e.document)throw new Error("febs requires a window with a document");return r(e)}:r(n)}("undefined"!=typeof window?window:void 0,function(e,t){e.__debug||(e.__debug=!1);var r=n(6);e.requestAnimationFrame||(e.requestAnimationFrame=r.requestAnimationFrame),e.cancelAnimationFrame||(e.cancelAnimationFrame=r.cancelAnimationFrame);var o={};return o.__debug=e.__debug,o.date=n(8),o.string=n(1),o.crypt=n(7),o.utils=n(0),o.net=n(10),o.dom=n(9),o.$=o.dom.CreateDom,o.dom=o.dom.Dom,e.febs?(e.febs.string=e.febs.string?o.utils.mergeMap(e.febs.string,o.string):o.string,e.febs.crypt=e.febs.crypt?o.utils.mergeMap(e.febs.crypt,o.crypt):o.crypt,e.febs.utils=e.febs.utils?o.utils.mergeMap(e.febs.utils,o.utils):o.utils,e.febs.net=e.febs.net?o.utils.mergeMap(e.febs.net,o.net):o.net,e.febs.dom=e.febs.dom?o.utils.mergeMap(e.febs.dom,o.dom):o.dom):e.febs=o,e.$||(e.$=o.$),e.jQuery||(e.jQuery=o.$),e.console.debug=function(){if(e.__debug){var t;t=e.console.warn?e.console.warn:e.console.log;for(var n=0;n<arguments.length;n++)t(arguments[n])}},o})}).call(t,n(11)(e))},function(e,t,n){"use strict";var r=n(3),o=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.crc32_table=o,t.base64_encode=function(e){if(!e)return"";"string"==typeof e&&(e=r.utf8ToBytes(e));var t,n,o,i,s,a,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(o=e.length,n=0,t="";n<o;){if(i=255&e[n++],n==o){t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4),t+="==";break}if(s=e[n++],n==o){t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4|(240&s)>>4),t+=u.charAt((15&s)<<2),t+="=";break}a=e[n++],t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4|(240&s)>>4),t+=u.charAt((15&s)<<2|(192&a)>>6),t+=u.charAt(63&a)}return t}},function(e,t,n){"use strict";var r="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},o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)},i=Promise,s=n(2);t.sleep=function(e){return new i(function(t,n){try{setTimeout(function(){t()},e)}catch(r){n(r)}})},t.mergeMap=function(){for(var e,t={},n=0;n<arguments.length;n++)if(e=arguments[n])for(var r in e)t[r]=e[r];return t},t.isNull=function(e){return null===e||void 0===e||Number.isNaN(e)},t.getTimeString=s.getTimeString,t.getTimeStringFromNow=s.getTimeStringFromNow,t.getDate=s.getDate,t.getDate2=s.getDate2,t.denodeify=function(e,t,n){return n=n||1/0,function(){var r=Array.prototype.slice.call(arguments,0,n>0?n:0);return new i(function(n,i){r.push(function(e,t){e?i(e):n(t)});var s=e.apply(t,r);!s||"object"!==(void 0===s?"undefined":o(s))&&"function"!=typeof s||"function"!=typeof s.then||n(s)})}}},function(e,t,n){"use strict";function r(e){if(e.url){window[i]||(window[i]=1);var t=e.url.indexOf("?");t<0?e.url+="?ajaxmark="+window[i]:t==e.url.length-1?e.url+="ajaxmark="+window[i]:e.url+="&ajaxmark="+window[i]}window[i]++;var n=e.error||function(){},r=e.success||function(){},s=e.complete||function(){};e.processData=!e.hasOwnProperty("processData")||e.processData;var a=o.transfer(window);a.onreadystatechange=function(){if(4==a.readyState){var e=1223===a.status?204:a.status;if(e<100||e>599)return n(a,a.statusText,new TypeError("Network request failed")),void(n=null);var t="response"in a?a.response:a.responseText;200==e&&r(t,a.statusText,a),s(a,a.statusText)}},a.ontimeout=function(){n&&n(a,null,"timeout")},a.onerror=function(){n&&n(a,null,new TypeError("Network request failed"))},e.progress&&("upload"in a&&"onprogress"in a.upload?a.upload.onprogress=function(t){t.lengthComputable&&e.progress(t.loaded/t.total)}:console.log("The browser not support progress event")),a.open(e.type,e.url,!1!==e.async);var u=!1!==e.async?e.timeout:0;if(a.timeout=void 0!==u&&null!==u?u:o.DefaultTimeout,e.hasOwnProperty("withCredentials")?a.withCredentials=e.withCredentials:a.withCredentials=!0,e.headers)if(a.setRequestHeader)for(var l in e.headers){var f=e.headers[l];"Content-Type"==l&&!1===f||a.setRequestHeader(l,f)}else console.log("ajax can't set headers");e.headers&&e.headers.hasOwnProperty("Content-Type")||a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");var d=e.data;if(d&&e.processData&&"string"!=typeof d)try{if(e.headers&&e.headers["Content-Type"]&&e.headers["Content-Type"].toLowerCase().indexOf("json")>=0)d=JSON.stringify(d);else{var c="";for(var l in d){var f=d[l];c.length>0&&(c+="&"),c+=l+"="+(f?f.toString():"")}d=c}}catch(h){console.log("ajax stringify data error"),console.log(h)}return e.beforeSend&&e.beforeSend(a),a.send(d),{"abort":function(){a.abort()}}}var o=(n(0),n(4)),i="_FeBs_ajaxmark",s={};s.ajax=r,e.exports=s},function(e,t,n){"use strict";var r=(n(0),n(4)),o={},i={};if(!Promise)throw new Error("unsupported Promise");o.normalizeName=function(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},o.normalizeValue=function(e){return"string"!=typeof e&&(e=String(e)),e},o.Headers=function(e){this.map={},e instanceof o.Headers?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)},o.Headers.prototype.append=function(e,t){e=o.normalizeName(e),t=o.normalizeValue(t);var n=this.map[e];n||(n=[],this.map[e]=n),n.push(t)},o.Headers.prototype.delete=function(e){delete this.map[o.normalizeName(e)]},o.Headers.prototype.get=function(e){var t=this.map[o.normalizeName(e)];return t?t[0]:null},o.Headers.prototype.getAll=function(e){return this.map[o.normalizeName(e)]||[]},o.Headers.prototype.has=function(e){return this.map.hasOwnProperty(o.normalizeName(e))},o.Headers.prototype.set=function(e,t){this.map[o.normalizeName(e)]=[o.normalizeValue(t)]},o.Headers.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)},o.consumed=function(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0},o.fileReaderReady=function(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})},o.readBlobAsArrayBuffer=function(e){var t=new FileReader;return t.readAsArrayBuffer(e),o.fileReaderReady(t)},o.readBlobAsText=function(e){var t=new FileReader;return t.readAsText(e),o.fileReaderReady(t)},o.support={"blob":"FileReader"in window.self&&"Blob"in window.self&&function(){try{return new Blob,!0}catch(e){return!1}}(),"formData":"FormData"in window.self,"arrayBuffer":"ArrayBuffer"in window.self},o.Body=function(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(o.support.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(o.support.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!o.support.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},o.support.blob?(this.blob=function(){var e=o.consumed(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);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.blob().then(o.readBlobAsArrayBuffer)},this.text=function(){var e=o.consumed(this);if(e)return e;if(this._bodyBlob)return o.readBlobAsText(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=o.consumed(this);return e||Promise.resolve(this._bodyText)},o.support.formData&&(this.formData=function(){return this.text().then(o.decode)}),this.json=function(){return this.text().then(JSON.parse)},this},o.normalizeMethod=function(e){var t=["DELETE","GET","HEAD","OPTIONS","POST","PUT"],n=e.toUpperCase();return t.indexOf(n)>-1?n:e},o.Request=function(e,t){t=t||{};var n=t.body;if(o.Request.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o.Headers(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o.Headers(t.headers)),this.method=o.normalizeMethod(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,this._initBody(n)},o.Request.prototype.clone=function(){return new o.Request(this)},o.decode=function(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t},o.headers=function(e){var t=new o.Headers;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t},o.Body.call(o.Request.prototype),o.Response=function(e,t){t||(t={}),this._initBody(e),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o.Headers?t.headers:new o.Headers(t.headers),this.url=t.url||""},o.Body.call(o.Response.prototype),o.Response.prototype.clone=function(){return new o.Response(this._bodyInit,{"status":this.status,"statusText":this.statusText,"headers":new o.Headers(this.headers),"url":this.url})},o.Response.error=function(){var e=new o.Response(null,{"status":0,"statusText":""});return e.type="error",e};var s=[301,302,303,307,308];o.Response.redirect=function(e,t){if(-1===s.indexOf(t))throw new RangeError("Invalid status code");return new o.Response(null,{"status":t,"headers":{"location":e}})},window.Headers=o.Headers,window.Request=o.Request,window.Response=o.Response,window.fetch=o.fetch=function(e,t){return new Promise(function(n,i){function s(){return"responseURL"in u?u.responseURL:/^X-Request-URL:/m.test(u.getAllResponseHeaders())?u.getResponseHeader("X-Request-URL"):void 0}var a;a=o.Request.prototype.isPrototypeOf(e)&&!t?e:new o.Request(e,t);var u=r.transfer(window);u.onreadystatechange=function(){if(4==u.readyState){var e=1223===u.status?204:u.status;if(e<100||e>599)return void i(new TypeError("Network request failed"));var t={"status":e,"statusText":u.statusText,"headers":o.headers(u),"url":s()},r="response"in u?u.response:u.responseText;n(new o.Response(r,t))}},u.ontimeout=function(){i("timeout")},u.onerror=function(){i(new TypeError("Network request failed"))},t.progress&&(u.onprogress=function(e){e.lengthComputable&&t.progress(e.position/e.totalSize)}),u.open(a.method,a.url,!0);var l=t?t.timeout:null;u.timeout=void 0!==l&&null!==l?l:r.DefaultTimeout,"include"===a.credentials?u.withCredentials=!0:u.withCredentials=!1,"responseType"in u&&o.support.blob&&(u.responseType="blob"),u.setRequestHeader?a.headers.forEach(function(e,t){u.setRequestHeader(t,e)}):a.headers&&a.headers.map.length>0&&console.log("fetch can't set headers"),u.send(void 0===a._bodyInit?null:a._bodyInit)})},o.fetch.polyfill=!0,i.fetch=o.fetch,e.exports=i},function(e,t,n){"use strict";var r=(n(0),{}),o={};r.jsonp_defaultOptions={"timeout":5e3,"jsonpCallback":"callback"},r.jsonp_generateCallbackFunction=function(){return"jsonp_"+Date.now().toString()+"_"+Math.ceil(1e5*Math.random())},r.jsonp_clearFunction=function(e){try{delete window[e]}catch(t){}},r.jsonp_removeScript=function(e){var t=document.getElementById(e);document.getElementsByTagName("head")[0].removeChild(t)},r.jsonp=function(e,t){t=t||{};var n,o=null!=t.timeout?t.timeout:r.jsonp_defaultOptions.timeout,i=t.jsonpCallback?t.jsonpCallback:r.jsonp_defaultOptions.jsonpCallback;return new Promise(function(t,s){var a=r.jsonp_generateCallbackFunction();window[a]=function(e){t({"ok":!0,"json":function(){return Promise.resolve(e)}}),n&&clearTimeout(n),r.jsonp_removeScript(i+"_"+a),r.jsonp_clearFunction(a)},e+=-1===e.indexOf("?")?"?":"&";var u=document.createElement("script");u.setAttribute("src",e+i+"="+a),u.id=i+"_"+a,document.getElementsByTagName("head")[0].appendChild(u),n=setTimeout(function(){s("timeout"),r.jsonp_clearFunction(a),r.jsonp_removeScript(i+"_"+a)},o)})},o.jsonp=r.jsonp,e.exports=o}]); | ||
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={"i":r,"l":!1,"exports":{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{"configurable":!1,"enumerable":!0,"get":r})},t.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=12)}([function(e,t,n){"use strict";var r=n(15),o=n(14);t.sleep=r.sleep,t.getTimeString=r.getTimeString,t.getTimeStringFromNow=r.getTimeStringFromNow,t.getDate=r.getDate,t.getDate2=r.getDate2,t.mergeMap=r.mergeMap,t.isNull=r.isNull,t.denodeify=r.denodeify,t.browserIsIE=o.browserIsIE,t.browserIEVer=o.browserIEVer,t.browserIsSupportHtml5=o.browserIsSupportHtml5,t.browserIsMobile=o.browserIsMobile,t.browserIsIOS=o.browserIsIOS,t.browserIsPhone=o.browserIsPhone,t.browserIsWeixin=o.browserIsWeixin,t.platformIsWin=o.platformIsWin,t.platformIsMac=o.platformIsMac},function(e,t,n){"use strict";var r=n(3);t.isPhoneMobile=r.isPhoneMobile,t.isEmpty=r.isEmpty,t.isEmail=r.isEmail,t.isAlphaOrDigit=r.isAlphaOrDigit,t.isChinese=r.isChinese,t.getByteSize=r.getByteSize,t.replace=r.replace,t.utf8ToBytes=r.utf8ToBytes,t.bytesToUtf8=r.bytesToUtf8,t.trim=r.trim,t.escapeHtml=r.escapeHtml},function(e,t,n){"use strict";function r(e,t,n){if("number"!=typeof e)return"";t=t||"HH:mm:ss";var r=new Date(e),o={"M+":r.getMonth()+1,"d+":r.getDate(),"h+":r.getHours()%12==0?12:r.getHours()%12,"H+":r.getHours(),"m+":r.getMinutes(),"s+":r.getSeconds(),"q+":Math.floor((r.getMonth()+3)/3),"S":r.getMilliseconds()},i=n||{"0":"星期天","1":"星期一","2":"星期二","3":"星期三","4":"星期四","5":"星期五","6":"星期六"};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(r.getFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,i[r.getDay()+""]));for(var s in o)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?o[s]:("00"+o[s]).substr((""+o[s]).length)));return t}Promise;t.isValidate=function(e){return!(isNaN(e)||!e||"Invalid Date"==e.toString())&&e instanceof Date},t.getTimeString=r,t.getTimeStringFromNow=function(e,t){t=t||{},t.now=t.now||"刚刚",t.second=t.second||"秒前",t.minute=t.minute||"分钟前",t.hour=t.hour||"小时前",t.day_yesterday=t.day_yesterday||"昨天",t.day=t.day||"天前",t.month=t.month||"个月前",t.time=t.time||"yyyy-M-d h:m:s";var n=Math.ceil(Date.now()/1e3);if(e=Math.ceil(e/1e3),n>e){var o=n-e;if(o<3)return t.now;if(o<60)return o.toString()+t.second;if(o<3600)return Math.ceil(o/60).toString()+t.minute;if(o<86400)return Math.ceil(o/60/60).toString()+t.hour;if(o<2592e3){var i=new Date(1e3*n);return i.setHours(0,0,1),i.getTime()-e<=86400?t.day_yesterday:Math.ceil(o/60/60/24).toString()+t.day}return o<15552e3?Math.ceil(o/60/60/24/30).toString()+t.month:r(e,t.time)}return t.now},t.getTime=function(e){var t=new Date;return t.setFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2))),t.setHours(parseInt(e.substr(11,2))||0,parseInt(e.substr(14,2))||0,parseInt(e.substr(17,2))||0,0),t},t.getTime2=function(e){var t=new Date;return t.setFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2))),t.setHours(parseInt(e.substr(8,2))||0,parseInt(e.substr(10,2))||0,parseInt(e.substr(12,2))||0,0),t},t.getDate=function(e){return new Date(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2)))},t.getDate2=function(e){return new Date(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2)))},t.getUTCTimeString=function(e,t,n){if("number"!=typeof e)return"";t=t||"HH:mm:ss";var r=new Date(e),o={"M+":r.getUTCMonth()+1,"d+":r.getUTCDate(),"h+":r.getUTCHours()%12==0?12:r.getUTCHours()%12,"H+":r.getUTCHours(),"m+":r.getUTCMinutes(),"s+":r.getUTCSeconds(),"q+":Math.floor((r.getUTCMonth()+3)/3),"S":r.getUTCMilliseconds()},i=n||{"0":"星期天","1":"星期一","2":"星期二","3":"星期三","4":"星期四","5":"星期五","6":"星期六"};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(r.getUTCFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,i[r.getUTCDay()+""]));for(var s in o)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?o[s]:("00"+o[s]).substr((""+o[s]).length)));return t},t.getDateFromUTC=function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2))),t.setUTCHours(0,0,0,0),t},t.getDate2FromUTC=function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2))),t.setUTCHours(0,0,0,0),t},t.getTimeFromUTC=function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(5,2),10)-1,parseInt(e.substr(8,2))),t.setUTCHours(parseInt(e.substr(11,2))||0,parseInt(e.substr(14,2))||0,parseInt(e.substr(17,2))||0,0),t},t.getTime2FromUTC=function(e){var t=new Date;return t.setUTCFullYear(parseInt(e.substr(0,4)),parseInt(e.substr(4,2),10)-1,parseInt(e.substr(6,2))),t.setUTCHours(parseInt(e.substr(8,2))||0,parseInt(e.substr(10,2))||0,parseInt(e.substr(12,2))||0,0),t}},function(e,t,n){"use strict";t.isPhoneMobile=function(e){return!!e&&!!/^(1[2-9][0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89]|98[0-9]|99[0-9])\d{8}$/.test(e)},t.isEmail=function(e){return!!e&&!!/^(([A-Za-z0-9\u4e00-\u9fa5_-]|\.)+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+)$/.test(e)},t.isAlphaOrDigit=function(e){return!!e&&!!/^[A-Za-z0-9]+$/.test(e)},t.isChinese=function(e){return!!e&&!!/^[\u4e00-\u9fa5]{0,}$/.test(e)},t.isEmpty=function(e){return!e||("string"!=typeof e||0==e.length)},t.getByteSize=function(e){if(!e)return 0;var t,n,r=0;for(t=0;t<e.length;t++)n=e.charCodeAt(t),n<127?r+=1:128<=n&&n<=2047?r+=2:2048<=n&&n<=65535?r+=3:65536<=n&&(r+=4);return r},t.replace=function(e,t,n){if(!e||!t)return e;if(0==e.length)return e;var r="",o=e.length,i=0,s=0;do{if(!(-1!=(i=e.indexOf(t,s))&&i<o)){r+=e.slice(s);break}i!=s&&(r+=e.slice(s,i)),r+=n,s=i+t.length}while(i<o);return r},t.utf8ToBytes=function(e){if(!e)return new Array;var t,n,r=new Array;t=e.length;for(var o=0;o<t;o++)n=e.charCodeAt(o),n>=65536&&n<=1114111?(r.push(n>>18&7|240),r.push(n>>12&63|128),r.push(n>>6&63|128),r.push(63&n|128)):n>=2048&&n<=65535?(r.push(n>>12&15|224),r.push(n>>6&63|128),r.push(63&n|128)):n>=128&&n<=2047?(r.push(n>>6&31|192),r.push(63&n|128)):r.push(255&n);return r},t.bytesToUtf8=function(e){for(var t="",n=0;n<e.length;){var r=e[n],o=0;r>>>7==0?(t+=String.fromCharCode(e[n]),n+=1):252==(252&r)?(o=(3&e[n])<<30,o|=(63&e[n+1])<<24,o|=(63&e[n+2])<<18,o|=(63&e[n+3])<<12,o|=(63&e[n+4])<<6,o|=63&e[n+5],t+=String.fromCharCode(o),n+=6):248==(248&r)?(o=(7&e[n])<<24,o|=(63&e[n+1])<<18,o|=(63&e[n+2])<<12,o|=(63&e[n+3])<<6,o|=63&e[n+4],t+=String.fromCharCode(o),n+=5):240==(240&r)?(o=(15&e[n])<<18,o|=(63&e[n+1])<<12,o|=(63&e[n+2])<<6,o|=63&e[n+3],t+=String.fromCharCode(o),n+=4):224==(224&r)?(o=(31&e[n])<<12,o|=(63&e[n+1])<<6,o|=63&e[n+2],t+=String.fromCharCode(o),n+=3):192==(192&r)?(o=(63&e[n])<<6,o|=63&e[n+1],t+=String.fromCharCode(o),n+=2):(t+=String.fromCharCode(e[n]),n+=1)}return t},t.trim=function(e){return e?e.replace(/(^\s*)|(\s*$)/g,""):e},t.escapeHtml=function(e){return e&&(e=t.replace(e,"&","&"),e=t.replace(e,"<","<"),e=t.replace(e,">",">"),e=t.replace(e," "," "),e=t.replace(e,'"',""")),e||""}},function(e,t,n){"use strict";t.DefaultTimeout=5e3,t.transfer=function(e){var t;if(e.XMLHttpRequest)t=new XMLHttpRequest;else if(e.XDomainRequest)t=new XDomainRequest;else for(var n=new Array("MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"),r=0;r<n.length&&!xmlHttp;r++)try{t=new ActiveXObject(n[r])}catch(o){}return t}},function(e,t,n){"use strict";!function(){"function"!=typeof Promise.prototype.finally&&(Promise.prototype.finally=function(e){return this.then(function(t){return this.constructor.resolve(e()).then(function(){return t})})['catch'](function(t){return this.constructor.resolve(e()).then(function(){throw t})})})}()},function(e,t,n){"use strict";var r={},o=0;window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame,window.requestAnimationFrame||(window.requestAnimationFrame=function(e){var t=Date.now(),n=Math.max(0,16-(t-o)),r=window.setTimeout(function(){e(t+n)},n);return o=t+n,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),r.requestAnimationFrame=window.requestAnimationFrame,r.cancelAnimationFrame=window.cancelAnimationFrame,e.exports=r},function(e,t,n){"use strict";function r(e,t){t||(t=0),t^=-1;for(var n=0,r=e.length;n<r;n++)t=t>>>8^i.crc32_table[255&(t^e.charCodeAt(n))];return-1^t}function o(e,t,n,o){if(!e||!o)return void(o&&o(0));if(t>=e.size||t<0||0==n)return void(o&&o(0));n<0&&(n=e.size);var i=File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice,s=new FileReader;e.size-t<n&&(n=e.size-t);var a=Math.ceil(n/2097152),u=0,l=function(){var r=2097152*u+t,o=r+2097152>=n+t?n+t:r+2097152;s.readAsBinaryString(i.call(e,r,o))},f=0;s.onload=function(e){f=r(e.target.result,f),u++,u<a?l():o(f)},l()}var i=n(13);t.crc32=r,t.crc32_fileSegment=o,t.crc32_file=function(e,t){o(e,0,e.size,t)},t.base64_encode=i.base64_encode,t.base64_decode=function(e){for(var t,n,r,o,i=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1),s=0,a=e.length,u=[];s<a;){do{t=i[255&e.charCodeAt(s++)]}while(s<a&&-1==t);if(-1==t)break;do{n=i[255&e.charCodeAt(s++)]}while(s<a&&-1==n);if(-1==n)break;u.push(t<<2|(48&n)>>4);do{if(61==(r=255&e.charCodeAt(s++)))return u;r=i[r]}while(s<a&&-1==r);if(-1==r)break;u.push((15&n)<<4|(60&r)>>2);do{if(61==(o=255&e.charCodeAt(s++)))return u;o=i[o]}while(s<a&&-1==o);if(-1==o)break;u.push((3&r)<<6|o)}return u},t.uuid=function(){for(var e=[],t="0123456789abcdef",n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}},function(e,t,n){"use strict";var r=n(2);t.isValidate=r.isValidate,t.getDate=r.getDate,t.getDate2=r.getDate2,t.getDate2FromUTC=r.getDate2FromUTC,t.getDateFromUTC=r.getDateFromUTC,t.getTime2FromUTC=r.getTime2FromUTC,t.getTimeString=r.getTimeString,t.getUTCTimeString=r.getUTCTimeString,t.getTimeStringFromNow=r.getTimeStringFromNow,t.getTimeFromUTC=r.getTimeFromUTC,t.getTime=r.getTime,t.getTime2=r.getTime2},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){var r,o,i,a=0,u=t.split(":");if(t=u[0],t=w.trim(t),(u=u[1])&&"checked"!=u&&"disabled"!=u)throw new Error("only support `:checked or :disabled` selector");if(t.indexOf("[")>0){var l=t.indexOf("[");if(o=t.substring(l+1,t.length-1),o=o.split("="),2!=o.length)throw new Error("Syntax error, unrecognized expression: "+t);i=o[1],(i.indexOf("'")>=0||i.indexOf('"')>=0)&&(i=i.substring(1,i.length-1)),o=o[0],t=t.substr(0,l)}if("."==t[0]?(a=2,t=t.substr(1)):"#"==t[0]&&(a=1,t=t.substr(1)),e&&0!=e.length){r=[];for(var f=0;f<e.length;f++){var d=e[f].childNodes;if(d){for(var c=[],h=0;h<d.length;h++)c.push(d[h]);for(var h=0;h<c.length;h++){var p=!0;if(u&&("disabled"==u?c[h].disabled||(p=!1):"checked"==u&&(c[h].checked||(p=!1))),p&&o&&c[h].getAttribute(o)!==i&&(p=!1),p)if(2==a){if(s(c[h],t)){r.push(c[h]);continue}}else if(1==a){if(c[h].id==t){r.push(c[h]);continue}}else if(0==a&&c[h].nodeName.toUpperCase()==t.toUpperCase()){r.push(c[h]);continue}if(!n){var m=c[h].childNodes;if(m&&m.length>0){for(var g=0;g<m.length;g++)c.push(m[g]);h>20&&(c=c.slice(h+1),h=-1)}}}}}}else{if(2==a?r=window.document.getElementsByClassName(t):1==a?(r=window.document.getElementById(t),r=r?[r]:[]):0==a&&(r=window.document.getElementsByTagName(t)),o){var y=r;r=[];for(var f=0;f<y.length;f++)y[f].getAttribute(o)===i&&r.push(y[f])}if(u){var y=r;r=[];for(var f=0;f<y.length;f++)"disabled"==u?y[f].disabled&&r.push(y[f]):"checked"==u&&y[f].checked&&r.push(y[f])}}return r}function i(e,t){""===e&&(e=null);var n,r=!1;if("string"==typeof e)if("<"==e[0])n=window.document.createElement("div"),n.innerHTML=e,1==n.childNodes.length?(n=n.childNodes[0],r=!1):(n=n.childNodes,r=!0);else{if(e.indexOf("<")>0||e.indexOf(">")>0)throw new Error("Syntax error, unrecognized");for(var i=e.split(" "),s=t?[t]:null,a=0;a<i.length;a++)""!=i[a]&&(s=o(s,i[a],!!t));s.length<=1?(n=s[0],r=!1):(n=s,r=!0)}else n=e;return{"_elem":n,"_isarr":r}}function s(e,t){return!(!e||!e.className||"function"!=typeof e.className.match)&&!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function a(e,t){e&&"string"==typeof e.className&&(s(e,t)||(w.isEmpty(e.className)?e.className+=t:e.className+=" "+t))}function u(e,t){e&&"string"==typeof e.className&&s(e,t)&&(e.className=e.className.replace(new RegExp("(\\s|^)"+t+"(\\s|$)")," "),e.className=w.trim(e.className))}function l(e){if(e){var t=e.parentNode;t&&t.removeChild(e)}}function f(e,t){if(e)if(t instanceof y)if(t._isArray())for(var n=0;n<t.length;n++)e.appendChild(t[n]);else e.appendChild(t[0]);else e.appendChild(t)}function d(e,t){if(e)if(e.hasChildNodes())if(t instanceof y)if(t._isArray())for(var n=t.length-1;n>=0;n--)e.insertBefore(t[n],e.firstChild);else e.insertBefore(t[0],e.firstChild);else e.insertBefore(t,e.firstChild);else if(t instanceof y)if(t._isArray())for(var n=0;n<t.length;n++)e.appendChild(t[n]);else e.appendChild(t[0]);else e.appendChild(t)}function c(e){var t=document.createElement("div");try{return t.appendChild(e.cloneNode(!0)),1==e.nodeType}catch(n){return e==window||e==document}}var h,p="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},m="function"==typeof Symbol&&"symbol"===p(Symbol.iterator)?function(e){return void 0===e?"undefined":p(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":p(e)},g=n(0),w=n(1),y=function(){function e(t){if(r(this,e),t===window.document||t==window?(this._elem=t,this._isArr=!1):t instanceof e?(this._elem=t._elem,this._isArr=t._isArr):c(t)?(this._elem=t,this._isArr=!1):(this._elem=i(t),this._isArr=this._elem._isarr,this._elem=this._elem._elem),this._isArray()){for(var n=0;n<this._elem.length;n++)this[n]=this._elem[n];this.length=this._elem.length}else this[0]=this._elem,this.length=this._elem?1:0;var o=this;if(this.bind=this.on,this.unbind=this.off,this.live=this.on,this.die=this.off,t===window.document?(this.ready=function(e){return e?window.addEventListener?window.document.addEventListener("DOMContentLoaded",e):window.document.attachEvent("onload",e):o.trigger("ready"),o},this.unload=function(e){return e?window.addEventListener?window.document.addEventListener("unload",e):window.document.attachEvent("onunload",e):o.trigger("unload"),o},this.context=window.document):t===window?this.unload=function(e){return e?window.addEventListener?window.addEventListener("unload",e):window.attachEvent("onunload",e):o.trigger("unload"),o}:this.context=window.document,"function"==typeof t){var s=function l(e){t.bind(o)(e),window.addEventListener?window.document.removeEventListener("DOMContentLoaded",l):window.document.detachEvent("onload",l)};window.addEventListener?window.document.addEventListener("DOMContentLoaded",s):window.document.attachEvent("onload",s)}else{var a=function(e,t){return t?o.on(e,t):o.trigger(e)};this.blur=function(e){return a("blur",e)},this.change=function(e){return a("change",e)},this.click=function(e){return a("click",e)},this.dblclick=function(e){return a("dblclick",e)},this.error=function(e){return a("error",e)},this.keydown=function(e){return a("keydown",e)},this.keypress=function(e){return a("keypress",e)},this.keyup=function(e){return a("keyup",e)},this.load=function(e){return a("load",e)},this.mousedown=function(e){return a("mousedown",e)},this.mouseenter=function(e){return a("mouseenter",e)},this.mouseleave=function(e){return a("mouseleave",e)},this.mousemove=function(e){return a("mousemove",e)},this.mouseout=function(e){return a("mouseout",e)},this.mouseover=function(e){return a("mouseover",e)},this.mouseup=function(e){return a("mouseup",e)},this.scroll=function(e){return a("scroll",e)},this.select=function(e){return a("select",e)},this.submit=function(e){return a("submit",e)}}if(this._elem)if(this._isArray())for(var n=0;n<this._elem.length;n++)this._domtify(this._elem[n]);else this._domtify(this._elem);for(var u in h.fn)"extend"!=u&&"fn"!=u&&"function"==typeof h.fn[u]&&(this[u]=h.fn[u].bind(this));this.__domtify=!0}return e.prototype.get=function(e){return this._elem?this._isArray()?this._elem[e]:e>0?null:this._elem:null},e.prototype.hasClass=function(e){if(!this._elem)return!1;for(var t=this.length?this.length:1,n=0;n<t;n++)if(s(this.get(n),e))return!0;return!1},e.prototype.addClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)a(this.get(n),e);return this},e.prototype.removeClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)u(this.get(n),e);return this},e.prototype.toggleClass=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)s(this.get(n),e)?u(this.get(n),e):a(this.get(n),e);return this},e.prototype.remove=function(){if(!this._elem)return this;for(var e=this.length?this.length:1,t=0;t<e;t++)l(this.get(t));return this},e.prototype.append=function(t){if(!this._elem)return this;var n=new e(t);return f(this.get(0),n),this},e.prototype.appendTo=function(t){return this._elem?(new e(t).append(this),this):this},e.prototype.prepend=function(t){if(!this._elem)return this;var n=new e(t);return d(this.get(0),n),this},e.prototype.prependTo=function(t){return this._elem?(new e(t).prepend(this),this):this},e.prototype.before=function(t){if(!this._elem)return this;for(var n=new e(t),r=this.length?this.length:1,o=0;o<r;o++)n.insertBefore(this.get(o));return this},e.prototype.insertBefore=function(t){if(!this._elem)return this;var n=new e(t);if(!n._isArray()){var r=this._elem;this._isArray()||(r=[r]);for(var o=0;o<r.length;o++)n[0].parentNode.insertBefore(r[o],n[0])}return this},e.prototype.after=function(t){if(!this._elem)return this;for(var n=new e(t),r=this.length?this.length:1,o=0;o<r;o++)n.insertAfter(this.get(o));return this},e.prototype.insertAfter=function(t){if(!this._elem)return this;var n=new e(t);if(!n._isArray()){var r=this._elem;this._isArray()||(r=[r]);for(var o=0;o<r.length;o++)n[0].parentNode.insertBefore(r[o],n[0].nextSibling)}return this},e.prototype.attr=function(e,t){if(!e)throw new Error("need attrName");{if(this._elem){if(void 0===t){if(!this.get(0).hasAttribute(e))return;return this.get(0).getAttribute(e)}for(var n=this.length?this.length:1,r=0;r<n;r++)this.get(r).setAttribute(e,t);return this}if(void 0!==t)return this}},e.prototype.removeAttr=function(e){if(!this._elem)return this;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).removeAttribute(e);return this},e.prototype.detach=function(){throw new Error("unimplement")},e.prototype.clone=function(){throw new Error("unimplement")},e.prototype.replaceAll=function(){throw new Error("unimplement")},e.prototype.unwrap=function(){throw new Error("unimplement")},e.prototype.wrap=function(){throw new Error("unimplement")},e.prototype.wrapAll=function(){throw new Error("unimplement")},e.prototype.wrapinner=function(){throw new Error("unimplement")},e.prototype.empty=function(){if(!this._elem)return this;for(var e=this.length?this.length:1,t=0;t<e;t++)this.get(t).innerHTML="";return this},e.prototype.html=function(e){if(this._elem){if(void 0===e)return this.get(0).innerHTML;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).innerHTML=e;return this}if(void 0!==e)return this},e.prototype.text=function(e){if(this._elem){if(void 0===e)return this.get(0).textContent;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).textContent=e;return this}if(void 0!==e)return this},e.prototype.val=function(e){if(this._elem){if(void 0===e)return this.get(0).value;for(var t=this.length?this.length:1,n=0;n<t;n++)this.get(n).value=e;return this}if(void 0!==e)return this},e.prototype.css=function(e,t){if(this._elem){if(void 0===t)return this.get(0).style[e];for(var n=this.length?this.length:0,r=0;r<n;r++)this.get(r).style[e]=""==t?"":t;return this}if(void 0!==t)return this},e.prototype.on=function(t,n){if(!t)throw new Error("need event name");if("function"!=typeof n)throw new Error("on need function params");if(!this._elem)return this;for(var r=this.length?this.length:1,o=0;o<r;o++){var i=this.get(o);if(!(i instanceof e||i.__domtify)||(i=i._elem)){i.__events||(i.__events={}),i.__events[t]||(i.__events[t]=[]);var s,a=i.__events[t];for(s=0;s<a.length&&a[s]!==n;s++);s>=a.length&&a.push(n),"on"+t in i&&(i.addEventListener?i.addEventListener(t,n):i.attachEvent("on"+t,n))}}return this},e.prototype.one=function(e,t){if(!e||"string"!=typeof e)throw new Error("need event name");var n=this,r=function o(r){n.off(e,o),t.bind(this)(r)};return n.on(e,r),this},e.prototype.off=function(t,n){if(!t)throw new Error("need event name");if(!this._elem)return this;if(!n){for(var r=this.length?this.length:1,o=0;o<r;o++){var i=this.get(o);if((!(i instanceof e||i.__domtify)||(i=i._elem))&&(i.__events&&i.__events[t])){var s,a=i.__events[t];if("on"+t in i)for(s=0;s<a.length;s++)i.removeEventListener?i.removeEventListener(t,a[s]):i.detachEvent("on"+t,a[s]);i.__events[t]=[]}}return this}if("function"!=typeof n)throw new Error("off need function params");for(var r=this.length?this.length:1,o=0;o<r;o++){var i=this.get(o);if(i instanceof e&&(i=i._elem),i.__events&&i.__events[t]){var s,a=i.__events[t];for(s=0;s<a.length;s++)if(a[s]===n){a.splice(s,1);break}}"on"+t in i&&(i.removeEventListener?i.removeEventListener(t,n):i.detachEvent("on"+t,n))}return this},e.prototype.trigger=function(t,n){if(!t)throw new Error("need event name");if(!this._elem)return this;for(var r=this.length?this.length:1,o=0;o<r;o++){var i=this.get(o);if(i instanceof e&&(i=i._elem),i)if("on"+t in i)if(window.document.addEventListener){var s=window.document.createEvent("HTMLEvents");s.initEvent(t,!0,!0),i.dispatchEvent(s)}else i.fireEvent("on"+t);else if(i.__events&&i.__events[t]){var a,u,s=i.__events[t];for(u={"bubbles":!1,"cancelable":!1,"cancelBubble":!1,"defaultPrevented":!1,"type":t},u.currentTarget=i,u.target=i,a=0;a<s.length;a++)s[a](u,n)}}return this},e.prototype.parent=function(t){if(!this._elem)return new e;var n;if(t&&(n=new e(t)),this._isArray()){var r=new e;r._elem=[],r._isArr=!0,r.length=0;for(var o=this.length?this.length:1,i=0;i<o;i++)this.get(i).parentNode&&(n&&!n._isElementIn(this.get(i).parentNode)||(this._domtify(this.get(i).parentNode),r._elem.push(this.get(i).parentNode),r[r.length]=this.get(i).parentNode,r.length++));return 0==r._elem.length&&(r._elem=null),r}return this._elem.parentNode&&(!n||n._isElementIn(this._elem.parentNode))?new e(this._elem.parentNode):new e},e.prototype.parents=function(t){if(!this._elem)return new e;var n;t&&(n=new e(t));for(var r=[],o=this.length?this.length:1,i=0;i<o;i++)if(this.get(i).parentNode)for(var s=this.get(i);s.parentNode&&s.parentNode!=window&&s.parentNode!=window.document;){if(!n||n._isElementIn(s.parentNode)){var a;for(a=0;a<r.length;a++)if("function"==typeof r[a].isSameNode){if(r[a].isSameNode(s.parentNode))break}else if(r[a]===s.parentNode)break;a>=r.length&&r.push(s.parentNode)}s=s.parentNode}var u=new e;if(r.length>0){u._elem=r,u._isArr=!0,u.length=r.length;for(var i=0;i<r.length;i++)u._domtify(r[i]),u[i]=r[i]}return u},e.prototype.children=function(t){if(!this._elem)return new e;for(var n=[],r=this.length?this.length:1,o=0;o<r;o++){var s;if(t)s=i(t,this.get(o));else{s={"_elem":[],"_isarr":!0};for(var a=0;a<this.get(o).childNodes.length;a++)s._elem.push(this.get(o).childNodes[a])}s._elem&&(s._isarr?n=n.concat(s._elem):n.push(s._elem))}var u=new e;u._elem=n,u._isArr=!0,u.length=n.length;for(var o=0;o<n.length;o++)this._domtify(n[o]),u[o]=n[o];return u},e.prototype.next=function(t){if(!this._elem)return new e;var n;if(t&&(n=this.parent(),n=n.children(t)),this._isArray()){for(var r=[],o=this.length?this.length:1,i=0;i<o;i++)n&&!n._isElementIn(this.get(i).nextSibling)||this.get(i).nextSibling&&r.push(this.get(i).nextSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var i=0;i<r.length;i++)this._domtify(r[i]),s[i]=r[i];return s}var r;n&&!n._isElementIn(this._elem.nextSibling)||this._elem.nextSibling&&(r=this._elem.nextSibling);var s=new e;return s._elem=r,s[0]=r,s._isArr=!1,s.length=r?1:0,s},e.prototype.prev=function(t){if(!this._elem)return new e;var n;if(t&&(n=this.parent(),n=n.children(t)),this._isArray()){for(var r=[],o=this.length?this.length:1,i=0;i<o;i++)n&&!n._isElementIn(this.get(i).previousSibling)||this.get(i).previousSibling&&r.push(this.get(i).previousSibling);var s=new e;s._elem=r,s._isArr=!0,s.length=r.length;for(var i=0;i<r.length;i++)this._domtify(r[i]),s[i]=r[i];return s}var r;n&&!n._isElementIn(this._elem.previousSibling)||this._elem.previousSibling&&(r=this._elem.previousSibling);var s=new e;return s._elem=r,s[0]=r,s._isArr=!1,s.length=r?1:0,s},e.prototype.each=function(e){if(e)for(var t=0;t<this.length;t++)e(t,this.get(t))},e.prototype._domtify=function(t){if(!(t instanceof e||t.__domtify)){var n=Object.getPrototypeOf(this);for(var r in n)"__proto__"!=r&&"constructor"!=r&&(t[r]||(t[r]=n[r].bind(t)));for(var r in h.fn)"extend"!=r&&"fn"!=r&&"function"==typeof h.fn[r]&&(t[r]||(t[r]=h.fn[r].bind(t)));t._isArr=!1,t._elem=t,t.__domtify=!0}},e.prototype._isArray=function(){return this._isArr},e.prototype._isElementIn=function(e){if(!this._elem)return!1;for(var t=this.length?this.length:1,n=0;n<t;n++)if("function"==typeof this.get(n).isSameNode){if(this.get(n).isSameNode(e))return!0}else if(this.get(n)===e)return!0;return!1},e}();h=function(e){return new y(e)},h.fn={},h.extend=function(e){if(0==arguments.length)return{};if(1==arguments.length){for(var t in arguments[0])"extend"!=t&&"fn"!=t&&"function"==typeof arguments[0][t]&&(h[t]=arguments[0][t]);return this}if(!1===arguments[0])throw new Error("can't be false");var n={},r=0;for(!0===arguments[0]&&(r=1);r<arguments.length;r++)n=g.mergeMap(n,arguments[r]);return n},y.getViewPort=function(){return"BackCompat"==window.document.compatMode?{"width":window.document.body.clientWidth,"height":window.document.body.clientHeight}:{"width":window.document.documentElement.clientWidth,"height":window.document.documentElement.clientHeight}},y.getDocumentPort=function(){return"BackCompat"==window.document.compatMode?{"width":window.document.body.scrollWidth,"height":window.document.body.scrollHeight}:{"width":Math.max(window.document.documentElement.scrollWidth,window.document.documentElement.clientWidth),"height":Math.max(window.document.documentElement.scrollHeight,window.document.documentElement.clientHeight)}},y.getDocumentOffset=function(){var e,t;return"BackCompat"==window.document.compatMode?(e=window.document.body.scrollLeft,t=window.document.body.scrollTop):(e=0==document.documentElement.scrollLeft?document.body.scrollLeft:document.documentElement.scrollLeft,t=0==document.documentElement.scrollTop?document.body.scrollTop:document.documentElement.scrollTop),{"top":t,"left":e}},y.getElementOffset=function(e){if(!e)return{};var t=h(e);if(t=t[0]){if("function"==typeof t.getBoundingClientRect){var n=t.getBoundingClientRect();return{"left":n.left,"top":n.top}}for(var r=t.offsetLeft,o=t.offsetTop,i=t.offsetParent;i;)r+=i.offsetLeft,o+=i.offsetTop,i=i.offsetParent;var s,a;return"BackCompat"==window.document.compatMode?(s=window.document.body.scrollLeft,a=window.document.body.scrollTop):(s=0==window.document.documentElement.scrollLeft?window.document.body.scrollLeft:window.document.documentElement.scrollLeft,a=0==window.document.documentElement.scrollTop?window.document.body.scrollTop:window.document.documentElement.scrollTop),{"left":r-s,"top":o-a}}return{}},y.isDom=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":m(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":m(e))&&1===e.nodeType&&"string"==typeof e.nodeName},y.removeEventListener=function(e,t,n,r){e&&(e.addEventListener?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n))},y.addEventListener=function(e,t,n,r){e&&(e.addEventListener?e.addEventListener(t,n,r):e.attachEvent("on"+t,n))},t.Dom=y,t.CreateDom=h},function(e,t,n){"use strict";var r=(n(0),n(16)),o=n(17),i=n(18),s={"ajax":r.ajax,"fetch":o.fetch,"jsonp":i.jsonp};e.exports=s},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{"enumerable":!0,"get":function(){return e.l}}),Object.defineProperty(e,"id",{"enumerable":!0,"get":function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";(function(e){var t="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};n(5),function(n,r){"object"===t(e)&&"object"===t(e.exports)?e.exports=n.document?r(n,!0):function(e){if(!e.document)throw new Error("febs requires a window with a document");return r(e)}:r(n)}("undefined"!=typeof window?window:void 0,function(e,t){e.__debug||(e.__debug=!1);var r=n(6);e.requestAnimationFrame||(e.requestAnimationFrame=r.requestAnimationFrame),e.cancelAnimationFrame||(e.cancelAnimationFrame=r.cancelAnimationFrame);var o={};return o.__debug=e.__debug,o.date=n(8),o.string=n(1),o.crypt=n(7),o.utils=n(0),o.net=n(10),o.dom=n(9),o.$=o.dom.CreateDom,o.dom=o.dom.Dom,e.febs?(e.febs.string=e.febs.string?o.utils.mergeMap(e.febs.string,o.string):o.string,e.febs.crypt=e.febs.crypt?o.utils.mergeMap(e.febs.crypt,o.crypt):o.crypt,e.febs.utils=e.febs.utils?o.utils.mergeMap(e.febs.utils,o.utils):o.utils,e.febs.net=e.febs.net?o.utils.mergeMap(e.febs.net,o.net):o.net,e.febs.dom=e.febs.dom?o.utils.mergeMap(e.febs.dom,o.dom):o.dom):e.febs=o,e.$||(e.$=o.$),e.jQuery||(e.jQuery=o.$),e.console.debug=function(){if(e.__debug){var t;t=e.console.warn?e.console.warn:e.console.log;for(var n=0;n<arguments.length;n++)t(arguments[n])}},o})}).call(t,n(11)(e))},function(e,t,n){"use strict";var r=n(3),o=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.crc32_table=o,t.base64_encode=function(e){if(!e)return"";"string"==typeof e&&(e=r.utf8ToBytes(e));var t,n,o,i,s,a,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(o=e.length,n=0,t="";n<o;){if(i=255&e[n++],n==o){t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4),t+="==";break}if(s=e[n++],n==o){t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4|(240&s)>>4),t+=u.charAt((15&s)<<2),t+="=";break}a=e[n++],t+=u.charAt(i>>2),t+=u.charAt((3&i)<<4|(240&s)>>4),t+=u.charAt((15&s)<<2|(192&a)>>6),t+=u.charAt(63&a)}return t}},function(e,t,n){"use strict";var r="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},o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)};t.browserIsIE=function(){return!!(window.ActiveXObject||"ActiveXObject"in window)},t.browserIEVer=function(){if(!t.browserIsIE())return Number.MAX_SAFE_INTEGER;var e=navigator.userAgent,n=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,r=e.indexOf("Edge")>-1&&!n,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(n){new RegExp("MSIE (\\d+\\.\\d+);").test(e);var i=parseFloat(RegExp.$1);return 7==i?7:8==i?8:9==i?9:10==i?10:6}return r?"edge":o?11:void Number.MAX_SAFE_INTEGER},t.browserIsSupportHtml5=function(){return"undefined"!=typeof Worker},t.browserIsMobile=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["Android","webOS","iPhone","iPad","iPod","Blackberry","Windows Phone"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsIOS=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["iPhone","iPad","iPod"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsPhone=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e,n=["Android","iPhone","iPod","Blackberry","Windows Phone"],r=new RegExp(n.join("|"),"i");return null!=t.match(r)},t.browserIsWeixin=function(e){return e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent),"MicroMessenger"==e.match(/MicroMessenger/i)},t.platformIsWin=function(e){e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent);var t=e;return t.indexOf("win32")>=0||t.indexOf("wow32")>=0||(t.indexOf("win64")>=0||t.indexOf("wow64")>=0)},t.platformIsMac=function(e){return e||void 0!==("undefined"==typeof window?"undefined":o(window))&&(e=window.navigator.userAgent),!!/macintosh|mac os x/i.test(e)}},function(e,t,n){"use strict";var r="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},o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)},i=Promise,s=n(2);t.sleep=function(e){return new i(function(t,n){try{setTimeout(function(){t()},e)}catch(r){n(r)}})},t.mergeMap=function(){for(var e,t={},n=0;n<arguments.length;n++)if(e=arguments[n])for(var r in e)t[r]=e[r];return t},t.isNull=function(e){return null===e||void 0===e||Number.isNaN(e)},t.getTimeString=s.getTimeString,t.getTimeStringFromNow=s.getTimeStringFromNow,t.getDate=s.getDate,t.getDate2=s.getDate2,t.denodeify=function(e,t,n){return n=n||1/0,function(){var r=Array.prototype.slice.call(arguments,0,n>0?n:0);return new i(function(n,i){r.push(function(e,t){e?i(e):n(t)});var s=e.apply(t,r);!s||"object"!==(void 0===s?"undefined":o(s))&&"function"!=typeof s||"function"!=typeof s.then||n(s)})}}},function(e,t,n){"use strict";function r(e){if(e.url){window[i]||(window[i]=1);var t=e.url.indexOf("?");t<0?e.url+="?ajaxmark="+window[i]:t==e.url.length-1?e.url+="ajaxmark="+window[i]:e.url+="&ajaxmark="+window[i]}window[i]++;var n=e.error||function(){},r=e.success||function(){},s=e.complete||function(){};e.processData=!e.hasOwnProperty("processData")||e.processData;var a=o.transfer(window);a.onreadystatechange=function(){if(4==a.readyState){var e=1223===a.status?204:a.status;if(e<100||e>599)return n(a,a.statusText,new TypeError("Network request failed")),void(n=null);var t="response"in a?a.response:a.responseText;200==e&&r(t,a.statusText,a),s(a,a.statusText)}},a.ontimeout=function(){n&&n(a,null,"timeout")},a.onerror=function(){n&&n(a,null,new TypeError("Network request failed"))},e.progress&&("upload"in a&&"onprogress"in a.upload?a.upload.onprogress=function(t){t.lengthComputable&&e.progress(t.loaded/t.total)}:console.log("The browser not support progress event")),a.open(e.type,e.url,!1!==e.async);var u=!1!==e.async?e.timeout:0;if(a.timeout=void 0!==u&&null!==u?u:o.DefaultTimeout,e.hasOwnProperty("withCredentials")?a.withCredentials=e.withCredentials:a.withCredentials=!0,e.headers)if(a.setRequestHeader)for(var l in e.headers){var f=e.headers[l];"Content-Type"==l&&!1===f||a.setRequestHeader(l,f)}else console.log("ajax can't set headers");e.headers&&e.headers.hasOwnProperty("Content-Type")||a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");var d=e.data;if(d&&e.processData&&"string"!=typeof d)try{if(e.headers&&e.headers["Content-Type"]&&e.headers["Content-Type"].toLowerCase().indexOf("json")>=0)d=JSON.stringify(d);else{var c="";for(var l in d){var f=d[l];c.length>0&&(c+="&"),c+=l+"="+(f?f.toString():"")}d=c}}catch(h){console.log("ajax stringify data error"),console.log(h)}return e.beforeSend&&e.beforeSend(a),a.send(d),{"abort":function(){a.abort()}}}var o=(n(0),n(4)),i="_FeBs_ajaxmark",s={};s.ajax=r,e.exports=s},function(e,t,n){"use strict";var r=(n(0),n(4)),o={},i={};if(!Promise)throw new Error("unsupported Promise");o.normalizeName=function(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},o.normalizeValue=function(e){return"string"!=typeof e&&(e=String(e)),e},o.Headers=function(e){this.map={},e instanceof o.Headers?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)},o.Headers.prototype.append=function(e,t){e=o.normalizeName(e),t=o.normalizeValue(t);var n=this.map[e];n||(n=[],this.map[e]=n),n.push(t)},o.Headers.prototype.delete=function(e){delete this.map[o.normalizeName(e)]},o.Headers.prototype.get=function(e){var t=this.map[o.normalizeName(e)];return t?t[0]:null},o.Headers.prototype.getAll=function(e){return this.map[o.normalizeName(e)]||[]},o.Headers.prototype.has=function(e){return this.map.hasOwnProperty(o.normalizeName(e))},o.Headers.prototype.set=function(e,t){this.map[o.normalizeName(e)]=[o.normalizeValue(t)]},o.Headers.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)},o.consumed=function(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0},o.fileReaderReady=function(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})},o.readBlobAsArrayBuffer=function(e){var t=new FileReader;return t.readAsArrayBuffer(e),o.fileReaderReady(t)},o.readBlobAsText=function(e){var t=new FileReader;return t.readAsText(e),o.fileReaderReady(t)},o.support={"blob":"FileReader"in window.self&&"Blob"in window.self&&function(){try{return new Blob,!0}catch(e){return!1}}(),"formData":"FormData"in window.self,"arrayBuffer":"ArrayBuffer"in window.self},o.Body=function(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(o.support.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(o.support.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!o.support.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},o.support.blob?(this.blob=function(){var e=o.consumed(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);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.blob().then(o.readBlobAsArrayBuffer)},this.text=function(){var e=o.consumed(this);if(e)return e;if(this._bodyBlob)return o.readBlobAsText(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=o.consumed(this);return e||Promise.resolve(this._bodyText)},o.support.formData&&(this.formData=function(){return this.text().then(o.decode)}),this.json=function(){return this.text().then(JSON.parse)},this},o.normalizeMethod=function(e){var t=["DELETE","GET","HEAD","OPTIONS","POST","PUT"],n=e.toUpperCase();return t.indexOf(n)>-1?n:e},o.Request=function(e,t){t=t||{};var n=t.body;if(o.Request.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o.Headers(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o.Headers(t.headers)),this.method=o.normalizeMethod(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,this._initBody(n)},o.Request.prototype.clone=function(){return new o.Request(this)},o.decode=function(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t},o.headers=function(e){var t=new o.Headers;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t},o.Body.call(o.Request.prototype),o.Response=function(e,t){t||(t={}),this._initBody(e),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o.Headers?t.headers:new o.Headers(t.headers),this.url=t.url||""},o.Body.call(o.Response.prototype),o.Response.prototype.clone=function(){return new o.Response(this._bodyInit,{"status":this.status,"statusText":this.statusText,"headers":new o.Headers(this.headers),"url":this.url})},o.Response.error=function(){var e=new o.Response(null,{"status":0,"statusText":""});return e.type="error",e};var s=[301,302,303,307,308];o.Response.redirect=function(e,t){if(-1===s.indexOf(t))throw new RangeError("Invalid status code");return new o.Response(null,{"status":t,"headers":{"location":e}})},window.Headers=o.Headers,window.Request=o.Request,window.Response=o.Response,window.fetch=o.fetch=function(e,t){return new Promise(function(n,i){function s(){return"responseURL"in u?u.responseURL:/^X-Request-URL:/m.test(u.getAllResponseHeaders())?u.getResponseHeader("X-Request-URL"):void 0}var a;a=o.Request.prototype.isPrototypeOf(e)&&!t?e:new o.Request(e,t);var u=r.transfer(window);u.onreadystatechange=function(){if(4==u.readyState){var e=1223===u.status?204:u.status;if(e<100||e>599)return void i(new TypeError("Network request failed"));var t={"status":e,"statusText":u.statusText,"headers":o.headers(u),"url":s()},r="response"in u?u.response:u.responseText;n(new o.Response(r,t))}},u.ontimeout=function(){i("timeout")},u.onerror=function(){i(new TypeError("Network request failed"))},t.progress&&(u.onprogress=function(e){e.lengthComputable&&t.progress(e.position/e.totalSize)}),u.open(a.method,a.url,!0);var l=t?t.timeout:null;u.timeout=void 0!==l&&null!==l?l:r.DefaultTimeout,"include"===a.credentials?u.withCredentials=!0:u.withCredentials=!1,"responseType"in u&&o.support.blob&&(u.responseType="blob"),u.setRequestHeader?a.headers.forEach(function(e,t){u.setRequestHeader(t,e)}):a.headers&&a.headers.map.length>0&&console.log("fetch can't set headers"),u.send(void 0===a._bodyInit?null:a._bodyInit)})},o.fetch.polyfill=!0,i.fetch=o.fetch,e.exports=i},function(e,t,n){"use strict";var r=(n(0),{}),o={};r.jsonp_defaultOptions={"timeout":5e3,"jsonpCallback":"callback"},r.jsonp_generateCallbackFunction=function(){return"jsonp_"+Date.now().toString()+"_"+Math.ceil(1e5*Math.random())},r.jsonp_clearFunction=function(e){try{delete window[e]}catch(t){}},r.jsonp_removeScript=function(e){var t=document.getElementById(e);document.getElementsByTagName("head")[0].removeChild(t)},r.jsonp=function(e,t){t=t||{};var n,o=null!=t.timeout?t.timeout:r.jsonp_defaultOptions.timeout,i=t.jsonpCallback?t.jsonpCallback:r.jsonp_defaultOptions.jsonpCallback;return new Promise(function(t,s){var a=r.jsonp_generateCallbackFunction();window[a]=function(e){t({"ok":!0,"json":function(){return Promise.resolve(e)}}),n&&clearTimeout(n),r.jsonp_removeScript(i+"_"+a),r.jsonp_clearFunction(a)},e+=-1===e.indexOf("?")?"?":"&";var u=document.createElement("script");u.setAttribute("src",e+i+"="+a),u.id=i+"_"+a,document.getElementsByTagName("head")[0].appendChild(u),n=setTimeout(function(){s("timeout"),r.jsonp_clearFunction(a),r.jsonp_removeScript(i+"_"+a)},o)})},o.jsonp=r.jsonp,e.exports=o}]); |
@@ -10,2 +10,3 @@ 'use strict'; | ||
var utils = require('../common/utils'); | ||
var utilsBrowser = require('../common/utils.browser'); | ||
@@ -93,9 +94,3 @@ /** | ||
*/ | ||
exports.browserIsIE = | ||
function () { | ||
if (!!window.ActiveXObject || "ActiveXObject" in window) | ||
return true; | ||
else | ||
return false; | ||
} | ||
exports.browserIsIE = utilsBrowser.browserIsIE; | ||
@@ -107,46 +102,9 @@ /** | ||
*/ | ||
exports.browserIEVer = | ||
function () { | ||
if (!exports.browserIsIE()) return Number.MAX_SAFE_INTEGER; | ||
exports.browserIEVer = utilsBrowser.browserIEVer; | ||
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 | ||
var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器 | ||
var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器 | ||
var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf("rv:11.0") > -1; | ||
if (isIE) { | ||
var reIE = new RegExp("MSIE (\\d+\\.\\d+);"); | ||
reIE.test(userAgent); | ||
var fIEVersion = parseFloat(RegExp["$1"]); | ||
if (fIEVersion == 7) { | ||
return 7; | ||
} else if (fIEVersion == 8) { | ||
return 8; | ||
} else if (fIEVersion == 9) { | ||
return 9; | ||
} else if (fIEVersion == 10) { | ||
return 10; | ||
} else { | ||
return 6; //IE版本<=7 | ||
} | ||
} else if (isEdge) { | ||
return 'edge'; //edge | ||
} else if (isIE11) { | ||
return 11; //IE11 | ||
} else { | ||
Number.MAX_SAFE_INTEGER;; //不是ie浏览器 | ||
} | ||
} | ||
/** | ||
* @desc: the browser is support html5. | ||
*/ | ||
exports.browserIsSupportHtml5 = | ||
function () { | ||
if (typeof (Worker) !== "undefined") { | ||
return true; | ||
} else { | ||
return false; | ||
} | ||
} | ||
exports.browserIsSupportHtml5 = utilsBrowser.browserIsSupportHtml5; | ||
@@ -158,20 +116,4 @@ | ||
*/ | ||
exports.browserIsMobile = function(userAgent) { | ||
exports.browserIsMobile = utilsBrowser.browserIsMobile; | ||
if (!userAgent) { | ||
if (typeof window !== undefined) { | ||
userAgent = window.navigator.userAgent | ||
} | ||
} | ||
var agent = userAgent; | ||
var platforms = [ | ||
'Android', 'webOS', 'iPhone', 'iPad', | ||
'iPod', 'Blackberry', 'Windows Phone' | ||
]; | ||
var expression = new RegExp(platforms.join('|'), 'i'); | ||
return agent.match(expression) != null; | ||
} | ||
/** | ||
@@ -181,20 +123,5 @@ * @desc: the browser is ios. | ||
*/ | ||
exports.browserIsIOS = function(userAgent) { | ||
if (!userAgent) { | ||
if (typeof window !== undefined) { | ||
userAgent = window.navigator.userAgent | ||
} | ||
} | ||
exports.browserIsIOS = utilsBrowser.browserIsIOS; | ||
var agent = userAgent; | ||
var platforms = [ | ||
'iPhone', 'iPad', | ||
'iPod' | ||
]; | ||
var expression = new RegExp(platforms.join('|'), 'i'); | ||
return agent.match(expression) != null; | ||
} | ||
/** | ||
@@ -204,36 +131,20 @@ * @desc: the browser is phone. | ||
*/ | ||
exports.browserIsPhone = function(userAgent) { | ||
if (!userAgent) { | ||
if (typeof window !== undefined) { | ||
userAgent = window.navigator.userAgent | ||
} | ||
} | ||
var agent = userAgent; | ||
var platforms = [ | ||
'Android', 'iPhone', | ||
'iPod', 'Blackberry', 'Windows Phone' | ||
]; | ||
var expression = new RegExp(platforms.join('|'), 'i'); | ||
exports.browserIsPhone = utilsBrowser.browserIsPhone; | ||
return agent.match(expression) != null; | ||
} | ||
/** | ||
* @desc: the browser is weixin. | ||
*/ | ||
exports.browserIsWeixin = function(userAgent) { | ||
if (!userAgent) { | ||
if (typeof window !== undefined) { | ||
userAgent = window.navigator.userAgent | ||
} | ||
} | ||
var agent = userAgent; | ||
if(agent.match(/MicroMessenger/i)=="MicroMessenger") { | ||
return true; | ||
} else { | ||
return false; | ||
} | ||
} | ||
exports.browserIsWeixin = utilsBrowser.browserIsWeixin; | ||
/** | ||
* @desc: the platform is Windows. | ||
*/ | ||
exports.platformIsWin = utilsBrowser.platformIsWin; | ||
/** | ||
* @desc: the platform is Mac. | ||
*/ | ||
exports.platformIsMac = utilsBrowser.platformIsMac; |
@@ -81,3 +81,3 @@ { | ||
"name": "febs-browser", | ||
"version": "0.8.95" | ||
"version": "0.8.96" | ||
} |
@@ -590,2 +590,12 @@ | ||
/** | ||
* @desc: the platform is Windows. | ||
*/ | ||
function platformIsWin():boolean; | ||
/** | ||
* @desc: the platform is Mac. | ||
*/ | ||
function platformIsMac():boolean; | ||
// only in client. | ||
@@ -592,0 +602,0 @@ function browserIsSupportHtml5(): boolean; |
@@ -162,1 +162,16 @@ 'use strict'; | ||
} | ||
/** | ||
* @desc: the platform is Windows. | ||
*/ | ||
exports.platformIsWindows = function(userAgent) { | ||
return false; | ||
} | ||
/** | ||
* @desc: the platform is Mac. | ||
*/ | ||
exports.platformIsMac = function(userAgent) { | ||
return false; | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3349621
0.59%59
1.72%37402
1%