var signal=function(){"use strict";var u=ie(function(t,s,a,h){return new(a=a||Promise)(function(r,e){function i(t){try{o(h.next(t))}catch(t){e(t)}}function n(t){try{o(h.throw(t))}catch(t){e(t)}}function o(t){var e;t.done?r(t.value):((e=t.value)instanceof a?e:new a(function(t){t(e)})).then(i,n)}o((h=h.apply(t,s||[])).next())})});var e=setTimeout;function h(t){return Boolean(t&&void 0!==t.length)}function i(){}function o(t){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function n(r,i){for(;3===r._state;)r=r._value;0!==r._state?(r._handled=!0,o._immediateFn(function(){var t,e=1===r._state?i.onFulfilled:i.onRejected;if(null!==e){try{t=e(r._value)}catch(t){return void a(i.promise,t)}s(i.promise,t)}else(1===r._state?s:a)(i.promise,r._value)})):r._deferreds.push(i)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof o)return e._state=3,e._value=t,void c(e);if("function"==typeof r)return void d((i=r,n=t,function(){i.apply(n,arguments)}),e)}e._state=1,e._value=t,c(e)}catch(t){a(e,t)}var i,n}function a(t,e){t._state=2,t._value=e,c(t)}function c(t){2===t._state&&0===t._deferreds.length&&o._immediateFn(function(){t._handled||o._unhandledRejectionFn(t._value)});for(var e=0,r=t._deferreds.length;es[0]&&e[1]new Date(i)?[4,this.remove(n)]:[3,3];case 2:return t.sent(),[2,void 0];case 3:return i&&"identityId"===n&&new Date(1723824e6)>new Date(i)?[4,this.remove(n)]:[3,5];case 4:return t.sent(),[2,void 0];case 5:return[2,r.value];case 6:return t.sent(),[2,void 0];case 7:return[2]}})})},wt.prototype.remove=function(r){return u(this,void 0,void 0,function(){var e;return m(this,function(t){return e=""+Ct.NAMESPACE+r,this.win.localStorage.removeItem(e),[2]})})},wt.prototype.clearAll=function(){return u(this,void 0,void 0,function(){var e,r,i,n;return m(this,function(t){for(e=Object.keys(this.win.localStorage).filter(function(t){return t.startsWith(Ct.NAMESPACE)}),r=0,i=e;r>>16,this}function o(t,e){e=parseInt(t,e||10);return this._low=65535&e,this._high=e>>>16,this}var e;e=_,i(Math.pow(36,5)),i(Math.pow(16,7)),i(Math.pow(10,9)),i(Math.pow(2,30)),i(36),i(16),i(10),i(2),i.prototype.fromBits=r,i.prototype.fromNumber=n,i.prototype.fromString=o,i.prototype.toNumber=function(){return 65536*this._high+this._low},i.prototype.toString=function(t){return this.toNumber().toString(t||10)},i.prototype.add=function(t){var e=this._low+t._low,r=e>>>16;return r+=this._high+t._high,this._low=65535&e,this._high=65535&r,this},i.prototype.subtract=function(t){return this.add(t.clone().negate())},i.prototype.multiply=function(t){var e=this._high,r=this._low,i=t._high,n=t._low,o=r*n,t=o>>>16;return t+=e*n,t&=65535,t+=r*i,this._low=65535&o,this._high=65535&t,this},i.prototype.div=function(t){if(0==t._low&&0==t._high)throw Error("division by zero");if(0==t._high&&1==t._low)return this.remainder=new i(0),this;if(t.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(t))return this.remainder=new i(0),this._low=1,this._high=0,this;for(var e=t.clone(),r=-1;!this.lt(e);)e.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._low=0,this._high=0;0<=r;r--)e.shiftRight(1),this.remainder.lt(e)||(this.remainder.subtract(e),16<=r?this._high|=1<>>16)&65535,this},i.prototype.equals=i.prototype.eq=function(t){return this._low==t._low&&this._high==t._high},i.prototype.greaterThan=i.prototype.gt=function(t){return this._high>t._high||!(this._hight._low},i.prototype.lessThan=i.prototype.lt=function(t){return this._hight._high)&&this._low>t-16,this._high=0):16==t?(this._low=this._high,this._high=0):(this._low=this._low>>t|this._high<<16-t&65535,this._high>>=t),this},i.prototype.shiftLeft=i.prototype.shiftl=function(t,e){return 16>16-t,this._low=this._low<>>32-t;return this._low=65535&e,this._high=e>>>16,this},i.prototype.rotateRight=i.prototype.rotr=function(t){var e=(e=this._high<<16|this._low)>>>t|e<<32-t;return this._low=65535&e,this._high=e>>>16,this},i.prototype.clone=function(){return new i(this._low,this._high)},t.exports?t.exports=i:e.UINT32=i}),UINT64:w(function(t){function a(t,e,r,i){return this instanceof a?(this.remainder=null,"string"==typeof t?s.call(this,t,e):void 0===e?o.call(this,t):void n.apply(this,arguments)):new a(t,e,r,i)}function n(t,e,r,i){return void 0===r?(this._a00=65535&t,this._a16=t>>>16,this._a32=65535&e,this._a48=e>>>16):(this._a00=0|t,this._a16=0|e,this._a32=0|r,this._a48=0|i),this}function o(t){return this._a00=65535&t,this._a16=t>>>16,this._a32=0,this._a48=0,this}function s(t,e){e=e||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var r=h[e]||new a(Math.pow(e,5)),i=0,n=t.length;i>>16,i=(r+=this._a16+t._a16)>>>16,n=(i+=this._a32+t._a32)>>>16;return n+=this._a48+t._a48,this._a00=65535&e,this._a16=65535&r,this._a32=65535&i,this._a48=65535&n,this},a.prototype.subtract=function(t){return this.add(t.clone().negate())},a.prototype.multiply=function(t){var e=this._a00,r=this._a16,i=this._a32,n=this._a48,o=t._a00,s=t._a16,a=t._a32,h=e*o,u=h>>>16,c=(u+=e*s)>>>16;u&=65535,c+=(u+=r*o)>>>16;var l=(c+=e*a)>>>16;return c&=65535,l+=(c+=r*s)>>>16,c&=65535,l+=(c+=i*o)>>>16,l+=e*t._a48,l&=65535,l+=r*a,l&=65535,l+=i*s,l&=65535,l+=n*o,this._a00=65535&h,this._a16=65535&u,this._a32=65535&c,this._a48=65535&l,this},a.prototype.div=function(t){if(0==t._a16&&0==t._a32&&0==t._a48){if(0==t._a00)throw Error("division by zero");if(1==t._a00)return this.remainder=new a(0),this}if(t.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(t))return this.remainder=new a(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var e=t.clone(),r=-1;!this.lt(e);)e.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;0<=r;r--)e.shiftRight(1),this.remainder.lt(e)||(this.remainder.subtract(e),48<=r?this._a48|=1<>>16),this._a16=65535&t,t=(65535&~this._a32)+(t>>>16),this._a32=65535&t,this._a48=~this._a48+(t>>>16)&65535,this},a.prototype.equals=a.prototype.eq=function(t){return this._a48==t._a48&&this._a00==t._a00&&this._a32==t._a32&&this._a16==t._a16},a.prototype.greaterThan=a.prototype.gt=function(t){return this._a48>t._a48||!(this._a48t._a32||!(this._a32t._a16||!(this._a16t._a00))},a.prototype.lessThan=a.prototype.lt=function(t){return this._a48t._a48)&&(this._a32t._a32)&&(this._a16t._a16)&&this._a00>t-48,this._a16=0,this._a32=0,this._a48=0):32<=t?(t-=32,this._a00=65535&(this._a32>>t|this._a48<<16-t),this._a16=this._a48>>t&65535,this._a32=0,this._a48=0):16<=t?(t-=16,this._a00=65535&(this._a16>>t|this._a32<<16-t),this._a16=65535&(this._a32>>t|this._a48<<16-t),this._a32=this._a48>>t&65535,this._a48=0):(this._a00=65535&(this._a00>>t|this._a16<<16-t),this._a16=65535&(this._a16>>t|this._a32<<16-t),this._a32=65535&(this._a32>>t|this._a48<<16-t),this._a48=this._a48>>t&65535),this},a.prototype.shiftLeft=a.prototype.shiftl=function(t,e){return 48<=(t%=64)?(this._a48=this._a00<>16-t,this._a32=this._a00<>16-t,this._a32=65535&(this._a16<>16-t),this._a16=this._a00<>16-t,this._a32=65535&(this._a32<>16-t),this._a16=65535&(this._a16<>16-t),this._a00=this._a00<>>32-t,t=i<>>32-t;return this._a00=65535&t,this._a16=t>>>16,this._a32=65535&e,this._a48=e>>>16,this},a.prototype.rotateRight=a.prototype.rotr=function(t){if(0==(t%=64))return this;if(32<=t){var e=this._a00;if(this._a00=this._a32,this._a32=e,e=this._a48,this._a48=this._a16,this._a16=e,32==t)return this;t-=32}var r=this._a48<<16|this._a32,i=this._a16<<16|this._a00,e=r>>>t|i<<32-t,t=i>>>t|r<<32-t;return this._a00=65535&t,this._a16=t>>>16,this._a32=65535&e,this._a48=e>>>16,this},a.prototype.clone=function(){return new a(this._a00,this._a16,this._a32,this._a48)},t.exports?t.exports=a:e.UINT64=a})},Ut=j.UINT32;Ut.prototype.xxh_update=function(t,e){var r=qt._low,i=t*r,n=i>>>16;n+=e*r,n&=65535,n+=t*qt._high;var o=this._low+(65535&i),e=o>>>16,t=(e+=this._high+(65535&n))<<16|65535&o,e=(t=t<<13|t>>>19)>>>16;n=(i=(o=65535&t)*(r=zt._low))>>>16,n+=e*r,n&=65535,n+=o*zt._high,this._low=65535&i,this._high=65535&n};var zt=Ut("2654435761"),qt=Ut("2246822519"),kt=Ut("3266489917"),Nt=Ut("668265263"),Lt=Ut("374761393");function Mt(){return 2==arguments.length?new Mt(arguments[1]).update(arguments[0]).digest():this instanceof Mt?void Ft.call(this,arguments[0]):new Mt(arguments[0])}function Ft(t){return this.seed=t instanceof Ut?t.clone():Ut(t),this.v1=this.seed.clone().add(zt).add(qt),this.v2=this.seed.clone().add(qt),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(zt),this.total_len=0,this.memsize=0,this.memory=null,this}Mt.prototype.init=Ft,Mt.prototype.update=function(t){var e,r="string"==typeof t;r&&(t=function(t){for(var e=[],r=0,i=t.length;r>6,128|63&n):n<55296||57344<=n?e.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return new Uint8Array(e)}(t),e=!(r=!1)),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(e=!0,t=new Uint8Array(t));var i=0,n=t.length,o=i+n;if(0==n)return this;if(this.total_len+=n,0==this.memsize&&(this.memory=r?"":new(e?Uint8Array:Buffer)(16)),this.memsize+n<16)return r?this.memory+=t:e?this.memory.set(t.subarray(0,n),this.memsize):t.copy(this.memory,this.memsize,0,n),this.memsize+=n,this;if(0>6,128|63&n):n<55296||57344<=n?e.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return new Uint8Array(e)}(t),e=!(r=!1)),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(e=!0,t=new Uint8Array(t));var i=0,n=t.length,o=i+n;if(0==n)return this;if(this.total_len+=n,0==this.memsize&&(this.memory=r?"":new(e?Uint8Array:Buffer)(32)),this.memsize+n<32)return r?this.memory+=t:e?this.memory.set(t.subarray(0,n),this.memsize):t.copy(this.memory,this.memsize,0,n),this.memsize+=n,this;if(0s[0]&&e[1]