UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines • 20.5 kB
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("@xysfe/actui/es/assets/utils/helpers.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js"],n):"object"==typeof exports?exports.DeviceFingerprint=n(require("@xysfe/actui/es/assets/utils/helpers.js")):t.DeviceFingerprint=n(t["@xysfe/actui/es/assets/utils/helpers.js"])}("undefined"!=typeof self?self:this,function(t){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="../es",n(n.s=2138)}({0:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},1:function(t,n,e){var r=e(31)("wks"),o=e(24),i=e(0).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},10:function(t,n,e){var r=e(4),o=e(41),i=e(38),c=Object.defineProperty;n.f=e(3)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},100:function(t,n,e){"use strict";var r=e(9),o=e(2),i=e(0),c=e(64),u=e(67);r(r.P+r.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return u(n,t()).then(function(){return e})}:t,e?function(e){return u(n,t()).then(function(){throw e})}:t)}})},101:function(t,n,e){"use strict";var r=e(9),o=e(44),i=e(66);r(r.S,"Promise",{try:function(t){var n=o.f(this),e=i(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},11:function(t,n){t.exports={}},111:function(t,n,e){t.exports={default:e(117),__esModule:!0}},117:function(t,n,e){var r=e(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},12:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},13:function(t,n,e){var r=e(34),o=e(15);t.exports=function(t){return r(o(t))}},14:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},15:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},16:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},17:function(t,n,e){var r=e(19);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},18:function(t,n){t.exports=!0},19:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},2:function(t,n){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},20:function(t,n,e){var r=e(31)("keys"),o=e(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},2138:function(t,n,e){"use strict";function r(t){return new h.a(function(n,e){var r=document.createElement("script");r.type="text/javascript",r.src=t,document.querySelector("head").appendChild(r),r.readyState?r.onreadystatechange=function(){"loaded"!==r.readyState&&"complete"!==r.readyState||(r.onreadystatechange=null,n&&n())}:(r.onload=function(){n()},r.onerror=function(){e()})})}function o(t,n,e){var r=parseInt((new Date).getTime()/1e3),o={value:n,expiry:r+e};localStorage.setItem(t,l()(o))}function i(t){var n=localStorage.getItem(t);if(!n)return!1;try{var e=JSON.parse(n);return parseInt((new Date).getTime()/1e3)>e.expiry?(localStorage.removeItem(t),!1):e.value}catch(t){return console.log("err :>> ",t),!1}}function c(){return d.ua.isApp?a():s()}function u(t,n){var e={appId:x};window._dx?window._dx.ConstID(e).then(function(n){t(n)}).catch(function(t){n(t)}):r(y).then(function(){window._dx.ConstID(e).then(function(n){t(n)}).catch(function(t){n(t)})}).catch(function(t){n(t)})}function s(){return new h.a(function(t,n){u(t,n)})}function a(){return new h.a(function(t,n){m?m.invoke({path:"/device/dxFingerprint",success:function(n){t(n)},fail:function(e){u(t,n),e?console.log("e :>> ",e):n()},unsupport:function(){console.log("unsupport"),u(t,n)}}):u(t,n)})}function f(){return _}Object.defineProperty(n,"__esModule",{value:!0});var p=e(111),l=e.n(p),v=e(71),h=e.n(v),d=e(39),y=(e.n(d),"https://cdn.dingxiang-inc.com/ctu-group/constid-js/index.js"),x="82075406e106f2080ae195d5494a9b9b",m=null;d.ua.isKcbApp?m=window.kcbJs:d.ua.isXysApp&&(m=window.xysJs);var _=function(){return new h.a(function(t,n){var e=i("dxtk");e?t(e):c().then(function(n){n&&o("dxtk",n,86400),t(n)}).catch(function(t){n(t)})})}();n.default=f},22:function(t,n,e){var r=e(6),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},23:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},24:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},27:function(t,n,e){var r=e(10).f,o=e(8),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},28:function(t,n,e){var r=e(42),o=e(32);t.exports=Object.keys||function(t){return r(t,o)}},3:function(t,n,e){t.exports=!e(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,n,e){var r=e(2),o=e(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},32:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},33:function(t,n,e){var r=e(15);t.exports=function(t){return Object(r(t))}},34:function(t,n,e){var r=e(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},35:function(t,n,e){var r=e(16),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},36:function(t,n,e){"use strict";var r=e(18),o=e(9),i=e(54),c=e(5),u=e(11),s=e(60),a=e(27),f=e(62),p=e(1)("iterator"),l=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,e,h,d,y,x){s(e,n,h);var m,_,g,w=function(t){if(!l&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",b="values"==d,j=!1,O=t.prototype,P=O[p]||O["@@iterator"]||d&&O[d],T=P||w(d),M=d?b?w("entries"):T:void 0,L="Array"==n?O.entries||P:P;if(L&&(g=f(L.call(new t)))!==Object.prototype&&g.next&&(a(g,S,!0),r||"function"==typeof g[p]||c(g,p,v)),b&&P&&"values"!==P.name&&(j=!0,T=function(){return P.call(this)}),r&&!x||!l&&!j&&O[p]||c(O,p,T),u[n]=T,u[S]=v,d)if(m={values:b?T:w("values"),keys:y?T:w("keys"),entries:M},x)for(_ in m)_ in O||i(O,_,m[_]);else o(o.P+o.F*(l||j),n,m);return m}},38:function(t,n,e){var r=e(6);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},39:function(n,e){n.exports=t},4:function(t,n,e){var r=e(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},41:function(t,n,e){t.exports=!e(3)&&!e(12)(function(){return 7!=Object.defineProperty(e(22)("div"),"a",{get:function(){return 7}}).a})},42:function(t,n,e){var r=e(8),o=e(13),i=e(46)(!1),c=e(20)("IE_PROTO");t.exports=function(t,n){var e,u=o(t),s=0,a=[];for(e in u)e!=c&&r(u,e)&&a.push(e);for(;n.length>s;)r(u,e=n[s++])&&(~i(a,e)||a.push(e));return a}},43:function(t,n,e){var r=e(0).document;t.exports=r&&r.documentElement},44:function(t,n,e){"use strict";function r(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=o(n),this.reject=o(e)}var o=e(19);t.exports.f=function(t){return new r(t)}},45:function(t,n,e){var r=e(14),o=e(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},46:function(t,n,e){var r=e(13),o=e(35),i=e(47);t.exports=function(t){return function(n,e,c){var u,s=r(n),a=o(s.length),f=i(c,a);if(t&&e!=e){for(;a>f;)if((u=s[f++])!=u)return!0}else for(;a>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}}},47:function(t,n,e){var r=e(16),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},48:function(t,n,e){"use strict";var r=e(59)(!0);e(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},5:function(t,n,e){var r=e(10),o=e(23);t.exports=e(3)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},50:function(t,n,e){e(68);for(var r=e(0),o=e(5),i=e(11),c=e(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var a=u[s],f=r[a],p=f&&f.prototype;p&&!p[c]&&o(p,c,a),i[a]=i.Array}},52:function(t,n,e){var r=e(4),o=e(61),i=e(32),c=e(20)("IE_PROTO"),u=function(){},s=function(){var t,n=e(22)("iframe"),r=i.length;for(n.style.display="none",e(43).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,n){var e;return null!==t?(u.prototype=r(t),e=new u,u.prototype=null,e[c]=t):e=s(),void 0===n?e:o(e,n)}},54:function(t,n,e){t.exports=e(5)},56:function(t,n,e){var r=e(45),o=e(1)("iterator"),i=e(11);t.exports=e(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},59:function(t,n,e){var r=e(16),o=e(15);t.exports=function(t){return function(n,e){var i,c,u=String(o(n)),s=r(e),a=u.length;return s<0||s>=a?t?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===a||(c=u.charCodeAt(s+1))<56320||c>57343?t?u.charAt(s):i:t?u.slice(s,s+2):c-56320+(i-55296<<10)+65536)}}},6:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,n,e){"use strict";var r=e(52),o=e(23),i=e(27),c={};e(5)(c,e(1)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},61:function(t,n,e){var r=e(10),o=e(4),i=e(28);t.exports=e(3)?Object.defineProperties:function(t,n){o(t);for(var e,c=i(n),u=c.length,s=0;u>s;)r.f(t,e=c[s++],n[e]);return t}},62:function(t,n,e){var r=e(8),o=e(33),i=e(20)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},63:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},64:function(t,n,e){var r=e(4),o=e(19),i=e(1)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},65:function(t,n,e){var r,o,i,c=e(17),u=e(97),s=e(43),a=e(22),f=e(0),p=f.process,l=f.setImmediate,v=f.clearImmediate,h=f.MessageChannel,d=f.Dispatch,y=0,x={},m=function(){var t=+this;if(x.hasOwnProperty(t)){var n=x[t];delete x[t],n()}},_=function(t){m.call(t.data)};l&&v||(l=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return x[++y]=function(){u("function"==typeof t?t:Function(t),n)},r(y),y},v=function(t){delete x[t]},"process"==e(14)(p)?r=function(t){p.nextTick(c(m,t,1))}:d&&d.now?r=function(t){d.now(c(m,t,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=_,r=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",_,!1)):r="onreadystatechange"in a("script")?function(t){s.appendChild(a("script")).onreadystatechange=function(){s.removeChild(this),m.call(t)}}:function(t){setTimeout(c(m,t,1),0)}),t.exports={set:l,clear:v}},66:function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},67:function(t,n,e){var r=e(4),o=e(6),i=e(44);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},68:function(t,n,e){"use strict";var r=e(69),o=e(63),i=e(11),c=e(13);t.exports=e(36)(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},69:function(t,n){t.exports=function(){}},71:function(t,n,e){t.exports={default:e(95),__esModule:!0}},73:function(t,n){},8:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},82:function(t,n,e){var r=e(17),o=e(83),i=e(84),c=e(4),u=e(35),s=e(56),a={},f={},n=t.exports=function(t,n,e,p,l){var v,h,d,y,x=l?function(){return t}:s(t),m=r(e,p,n?2:1),_=0;if("function"!=typeof x)throw TypeError(t+" is not iterable!");if(i(x)){for(v=u(t.length);v>_;_++)if((y=n?m(c(h=t[_])[0],h[1]):m(t[_]))===a||y===f)return y}else for(d=x.call(t);!(h=d.next()).done;)if((y=o(d,m,h.value,n))===a||y===f)return y};n.BREAK=a,n.RETURN=f},83:function(t,n,e){var r=e(4);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},84:function(t,n,e){var r=e(11),o=e(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},85:function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},86:function(t,n,e){var r=e(5);t.exports=function(t,n,e){for(var o in n)e&&t[o]?t[o]=n[o]:r(t,o,n[o]);return t}},87:function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:e=!0}},i[r]=function(){return c},t(i)}catch(t){}return e}},9:function(t,n,e){var r=e(0),o=e(2),i=e(17),c=e(5),u=e(8),s=function(t,n,e){var a,f,p,l=t&s.F,v=t&s.G,h=t&s.S,d=t&s.P,y=t&s.B,x=t&s.W,m=v?o:o[n]||(o[n]={}),_=m.prototype,g=v?r:h?r[n]:(r[n]||{}).prototype;v&&(e=n);for(a in e)(f=!l&&g&&void 0!==g[a])&&u(m,a)||(p=f?g[a]:e[a],m[a]=v&&"function"!=typeof g[a]?e[a]:y&&f?i(p,r):x&&g[a]==p?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(p):d&&"function"==typeof p?i(Function.call,p):p,d&&((m.virtual||(m.virtual={}))[a]=p,t&s.R&&_&&!_[a]&&c(_,a,p)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},91:function(t,n,e){"use strict";var r=e(0),o=e(2),i=e(10),c=e(3),u=e(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:r[t];c&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},95:function(t,n,e){e(73),e(48),e(50),e(96),e(100),e(101),t.exports=e(2).Promise},96:function(t,n,e){"use strict";var r,o,i,c,u=e(18),s=e(0),a=e(17),f=e(45),p=e(9),l=e(6),v=e(19),h=e(85),d=e(82),y=e(64),x=e(65).set,m=e(98)(),_=e(44),g=e(66),w=e(99),S=e(67),b=s.TypeError,j=s.process,O=j&&j.versions,P=O&&O.v8||"",T=s.Promise,M="process"==f(j),L=function(){},k=o=_.f,E=!!function(){try{var t=T.resolve(1),n=(t.constructor={})[e(1)("species")]=function(t){t(L,L)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof n&&0!==P.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),A=function(t){var n;return!(!l(t)||"function"!=typeof(n=t.then))&&n},C=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,o=1==t._s,i=0;e.length>i;)!function(n){var e,i,c,u=o?n.ok:n.fail,s=n.resolve,a=n.reject,f=n.domain;try{u?(o||(2==t._h&&R(t),t._h=1),!0===u?e=r:(f&&f.enter(),e=u(r),f&&(f.exit(),c=!0)),e===n.promise?a(b("Promise-chain cycle")):(i=A(e))?i.call(e,s,a):s(e)):a(r)}catch(t){f&&!c&&f.exit(),a(t)}}(e[i++]);t._c=[],t._n=!1,n&&!t._h&&I(t)})}},I=function(t){x.call(s,function(){var n,e,r,o=t._v,i=F(t);if(i&&(n=g(function(){M?j.emit("unhandledRejection",o,t):(e=s.onunhandledrejection)?e({promise:t,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=M||F(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){x.call(s,function(){var n;M?j.emit("rejectionHandled",t):(n=s.onrejectionhandled)&&n({promise:t,reason:t._v})})},D=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),C(n,!0))},N=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw b("Promise can't be resolved itself");(n=A(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,a(N,r,1),a(D,r,1))}catch(t){D.call(r,t)}}):(e._v=t,e._s=1,C(e,!1))}catch(t){D.call({_w:e,_d:!1},t)}}};E||(T=function(t){h(this,T,"Promise","_h"),v(t),r.call(this);try{t(a(N,this,1),a(D,this,1))}catch(t){D.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e(86)(T.prototype,{then:function(t,n){var e=k(y(this,T));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=M?j.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&C(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=a(N,t,1),this.reject=a(D,t,1)},_.f=k=function(t){return t===T||t===c?new i(t):o(t)}),p(p.G+p.W+p.F*!E,{Promise:T}),e(27)(T,"Promise"),e(91)("Promise"),c=e(2).Promise,p(p.S+p.F*!E,"Promise",{reject:function(t){var n=k(this);return(0,n.reject)(t),n.promise}}),p(p.S+p.F*(u||!E),"Promise",{resolve:function(t){return S(u&&this===c?T:this,t)}}),p(p.S+p.F*!(E&&e(87)(function(t){T.all(t).catch(L)})),"Promise",{all:function(t){var n=this,e=k(n),r=e.resolve,o=e.reject,i=g(function(){var e=[],i=0,c=1;d(t,!1,function(t){var u=i++,s=!1;e.push(void 0),c++,n.resolve(t).then(function(t){s||(s=!0,e[u]=t,--c||r(e))},o)}),--c||r(e)});return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=k(n),r=e.reject,o=g(function(){d(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o.e&&r(o.v),e.promise}})},97:function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},98:function(t,n,e){var r=e(0),o=e(65).set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,s="process"==e(14)(c);t.exports=function(){var t,n,e,a=function(){var r,o;for(s&&(r=c.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(s)e=function(){c.nextTick(a)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);e=function(){f.then(a)}}else e=function(){o.call(r,a)};else{var p=!0,l=document.createTextNode("");new i(a).observe(l,{characterData:!0}),e=function(){l.data=p=!p}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},99:function(t,n,e){var r=e(0),o=r.navigator;t.exports=o&&o.userAgent||""}})});