chunk-1106d412.64bc0e72.js 90 KB

12345678910111213141516
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1106d412"],{"143d":function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a}));var i=n("93a9"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o="=";function s(t){var e,n,i="";for(e=0;e+3<=t.length;e+=3)n=parseInt(t.substring(e,e+3),16),i+=r.charAt(n>>6)+r.charAt(63&n);e+1==t.length?(n=parseInt(t.substring(e,e+1),16),i+=r.charAt(n<<2)):e+2==t.length&&(n=parseInt(t.substring(e,e+2),16),i+=r.charAt(n>>2)+r.charAt((3&n)<<4));while((3&i.length)>0)i+=o;return i}function a(t){var e,n="",s=0,a=0;for(e=0;e<t.length;++e){if(t.charAt(e)==o)break;var u=r.indexOf(t.charAt(e));u<0||(0==s?(n+=Object(i["b"])(u>>2),a=3&u,s=1):1==s?(n+=Object(i["b"])(a<<2|u>>4),a=15&u,s=2):2==s?(n+=Object(i["b"])(a),n+=Object(i["b"])(u>>2),a=3&u,s=3):(n+=Object(i["b"])(a<<2|u>>4),n+=Object(i["b"])(15&u),s=0))}return 1==s&&(n+=Object(i["b"])(a<<2)),n}},"1ff3":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var i,r=n("143d"),o=n("ea6a"),s="undefined"!==typeof t?null===(i=Object({NODE_ENV:"production",VUE_APP_BASE_API:"http://api.admin.app.cliu.cc/api",BASE_URL:""}))||void 0===i?void 0:i.npm_package_version:void 0,a=function(){function t(t){void 0===t&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return t.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new o["a"](t)},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt(Object(r["a"])(t))}catch(e){return!1}},t.prototype.encrypt=function(t){try{return Object(r["b"])(this.getKey().encrypt(t))}catch(e){return!1}},t.prototype.sign=function(t,e,n){try{return Object(r["b"])(this.getKey().sign(t,e,n))}catch(i){return!1}},t.prototype.verify=function(t,e,n){try{return this.getKey().verify(t,Object(r["a"])(e),n)}catch(i){return!1}},t.prototype.getKey=function(t){if(!this.key){if(this.key=new o["a"],t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version=s,t}()}).call(this,n("4362"))},"93a9":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"f",(function(){return s})),n.d(e,"g",(function(){return a})),n.d(e,"e",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return h}));var i="0123456789abcdefghijklmnopqrstuvwxyz";function r(t){return i.charAt(t)}function o(t,e){return t&e}function s(t,e){return t|e}function a(t,e){return t^e}function u(t,e){return t&~e}function c(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function h(t){var e=0;while(0!=t)t&=t-1,++e;return e}},9816:function(t,e,n){"use strict";var i=n("1ff3");n.d(e,"a",(function(){return i["a"]}));i["a"]},a5bb:function(t,e,n){"use strict";var i=function(){return i=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)};function r(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{u(i.next(t))}catch(e){o(e)}}function a(t){try{u(i["throw"](t))}catch(e){o(e)}}function u(t){t.done?n(t.value):r(t.value).then(s,a)}u((i=i.apply(t,e||[])).next())}))}function o(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return u([t,e])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(s=0)),s)try{if(n=1,i&&(r=2&a[0]?i["return"]:a[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(u){a=[6,u],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}Object.create;function s(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}Object.create;n.d(e,"a",(function(){return Le}));var a="3.4.0";function u(t,e){return new Promise((function(n){return setTimeout(n,t,e)}))}function c(t,e){void 0===e&&(e=1/0);var n=window.requestIdleCallback;return n?new Promise((function(t){return n.call(window,(function(){return t()}),{timeout:e})})):u(Math.min(t,e))}function h(t){return!!t&&"function"===typeof t.then}function l(t,e){try{var n=t();h(n)?n.then((function(t){return e(!0,t)}),(function(t){return e(!1,t)})):e(!0,n)}catch(i){e(!1,i)}}function f(t,e,n){return void 0===n&&(n=16),r(this,void 0,void 0,(function(){var i,r,s;return o(this,(function(o){switch(o.label){case 0:i=Date.now(),r=0,o.label=1;case 1:return r<t.length?(e(t[r],r),s=Date.now(),s>=i+n?(i=s,[4,u(0)]):[3,3]):[3,4];case 2:o.sent(),o.label=3;case 3:return++r,[3,1];case 4:return[2]}}))}))}function d(t){t.then(void 0,(function(){}))}function p(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]+e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]+e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]+e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]+e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function m(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]*e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]*e[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=t[3]*e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]*e[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[2]*e[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[3]*e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]*e[3]+t[1]*e[2]+t[2]*e[1]+t[3]*e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function g(t,e){return e%=64,32===e?[t[1],t[0]]:e<32?[t[0]<<e|t[1]>>>32-e,t[1]<<e|t[0]>>>32-e]:(e-=32,[t[1]<<e|t[0]>>>32-e,t[0]<<e|t[1]>>>32-e])}function v(t,e){return e%=64,0===e?t:e<32?[t[0]<<e|t[1]>>>32-e,t[1]<<e]:[t[1]<<e-32,0]}function y(t,e){return[t[0]^e[0],t[1]^e[1]]}function b(t){return t=y(t,[0,t[0]>>>1]),t=m(t,[4283543511,3981806797]),t=y(t,[0,t[0]>>>1]),t=m(t,[3301882366,444984403]),t=y(t,[0,t[0]>>>1]),t}function w(t,e){t=t||"",e=e||0;var n,i=t.length%16,r=t.length-i,o=[0,e],s=[0,e],a=[0,0],u=[0,0],c=[2277735313,289559509],h=[1291169091,658871167];for(n=0;n<r;n+=16)a=[255&t.charCodeAt(n+4)|(255&t.charCodeAt(n+5))<<8|(255&t.charCodeAt(n+6))<<16|(255&t.charCodeAt(n+7))<<24,255&t.charCodeAt(n)|(255&t.charCodeAt(n+1))<<8|(255&t.charCodeAt(n+2))<<16|(255&t.charCodeAt(n+3))<<24],u=[255&t.charCodeAt(n+12)|(255&t.charCodeAt(n+13))<<8|(255&t.charCodeAt(n+14))<<16|(255&t.charCodeAt(n+15))<<24,255&t.charCodeAt(n+8)|(255&t.charCodeAt(n+9))<<8|(255&t.charCodeAt(n+10))<<16|(255&t.charCodeAt(n+11))<<24],a=m(a,c),a=g(a,31),a=m(a,h),o=y(o,a),o=g(o,27),o=p(o,s),o=p(m(o,[0,5]),[0,1390208809]),u=m(u,h),u=g(u,33),u=m(u,c),s=y(s,u),s=g(s,31),s=p(s,o),s=p(m(s,[0,5]),[0,944331445]);switch(a=[0,0],u=[0,0],i){case 15:u=y(u,v([0,t.charCodeAt(n+14)],48));case 14:u=y(u,v([0,t.charCodeAt(n+13)],40));case 13:u=y(u,v([0,t.charCodeAt(n+12)],32));case 12:u=y(u,v([0,t.charCodeAt(n+11)],24));case 11:u=y(u,v([0,t.charCodeAt(n+10)],16));case 10:u=y(u,v([0,t.charCodeAt(n+9)],8));case 9:u=y(u,[0,t.charCodeAt(n+8)]),u=m(u,h),u=g(u,33),u=m(u,c),s=y(s,u);case 8:a=y(a,v([0,t.charCodeAt(n+7)],56));case 7:a=y(a,v([0,t.charCodeAt(n+6)],48));case 6:a=y(a,v([0,t.charCodeAt(n+5)],40));case 5:a=y(a,v([0,t.charCodeAt(n+4)],32));case 4:a=y(a,v([0,t.charCodeAt(n+3)],24));case 3:a=y(a,v([0,t.charCodeAt(n+2)],16));case 2:a=y(a,v([0,t.charCodeAt(n+1)],8));case 1:a=y(a,[0,t.charCodeAt(n)]),a=m(a,c),a=g(a,31),a=m(a,h),o=y(o,a)}return o=y(o,[0,t.length]),s=y(s,[0,t.length]),o=p(o,s),s=p(s,o),o=b(o),s=b(s),o=p(o,s),s=p(s,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)}function S(t){var e;return i({name:t.name,message:t.message,stack:null===(e=t.stack)||void 0===e?void 0:e.split("\n")},t)}function T(t,e){for(var n=0,i=t.length;n<i;++n)if(t[n]===e)return!0;return!1}function E(t,e){return!T(t,e)}function V(t){return parseInt(t)}function D(t){return parseFloat(t)}function x(t,e){return"number"===typeof t&&isNaN(t)?e:t}function R(t){return t.reduce((function(t,e){return t+(e?1:0)}),0)}function A(t,e){if(void 0===e&&(e=1),Math.abs(e)>=1)return Math.round(t/e)*e;var n=1/e;return Math.round(t*n)/n}function L(t){for(var e,n,i="Unexpected syntax '".concat(t,"'"),r=/^\s*([a-z-]*)(.*)$/i.exec(t),o=r[1]||void 0,s={},a=/([.:#][\w-]+|\[.+?\])/gi,u=function(t,e){s[t]=s[t]||[],s[t].push(e)};;){var c=a.exec(r[2]);if(!c)break;var h=c[0];switch(h[0]){case".":u("class",h.slice(1));break;case"#":u("id",h.slice(1));break;case"[":var l=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(h);if(!l)throw new Error(i);u(l[1],null!==(n=null!==(e=l[4])&&void 0!==e?e:l[5])&&void 0!==n?n:"");break;default:throw new Error(i)}}return[o,s]}function I(t){return t&&"object"===typeof t&&"message"in t?t:{message:t}}function B(t){return"function"!==typeof t}function O(t,e){var n=new Promise((function(n){var i=Date.now();l(t.bind(null,e),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Date.now()-i;if(!t[0])return n((function(){return{error:I(t[1]),duration:r}}));var o=t[1];if(B(o))return n((function(){return{value:o,duration:r}}));n((function(){return new Promise((function(t){var e=Date.now();l(o,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=r+Date.now()-e;if(!n[0])return t({error:I(n[1]),duration:o});t({value:n[1],duration:o})}))}))}))}))}));return d(n),function(){return n.then((function(t){return t()}))}}function k(t,e,n){var i=Object.keys(t).filter((function(t){return E(n,t)})),s=Array(i.length);return f(i,(function(n,i){s[i]=O(t[n],e)})),function(){return r(this,void 0,void 0,(function(){var t,e,n,r,a,c,h;return o(this,(function(l){switch(l.label){case 0:for(t={},e=0,n=i;e<n.length;e++)r=n[e],t[r]=void 0;a=Array(i.length),c=function(){var e;return o(this,(function(n){switch(n.label){case 0:return e=!0,[4,f(i,(function(n,i){if(!a[i])if(s[i]){var r=s[i]().then((function(e){return t[n]=e}));d(r),a[i]=r}else e=!1}))];case 1:return n.sent(),e?[2,"break"]:[4,u(1)];case 2:return n.sent(),[2]}}))},l.label=1;case 1:return[5,c()];case 2:if(h=l.sent(),"break"===h)return[3,4];l.label=3;case 3:return[3,1];case 4:return[4,Promise.all(a)];case 5:return l.sent(),[2,t]}}))}))}}function N(){var t=window,e=navigator;return R(["MSCSSMatrix"in t,"msSetImmediate"in t,"msIndexedDB"in t,"msMaxTouchPoints"in e,"msPointerEnabled"in e])>=4}function M(){var t=window,e=navigator;return R(["msWriteProfilerMark"in t,"MSStream"in t,"msLaunchUri"in e,"msSaveBlob"in e])>=3&&!N()}function j(){var t=window,e=navigator;return R(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,0===e.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in t,"BatteryManager"in t,"webkitMediaStream"in t,"webkitSpeechGrammar"in t])>=5}function P(){var t=window,e=navigator;return R(["ApplePayError"in t,"CSSPrimitiveValue"in t,"Counter"in t,0===e.vendor.indexOf("Apple"),"getStorageUpdates"in e,"WebKitMediaKeys"in t])>=4}function C(){var t=window;return R(["safari"in t,!("DeviceMotionEvent"in t),!("ongestureend"in t),!("standalone"in navigator)])>=3}function Z(){var t,e,n=window;return R(["buildID"in navigator,"MozAppearance"in(null!==(e=null===(t=document.documentElement)||void 0===t?void 0:t.style)&&void 0!==e?e:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function F(){var t=window;return R([!("MediaSettingsRange"in t),"RTCEncodedAudioFrame"in t,""+t.Intl==="[object Intl]",""+t.Reflect==="[object Reflect]"])>=3}function H(){var t=window;return R(["DOMRectList"in t,"RTCPeerConnectionIceEvent"in t,"SVGGeometryElement"in t,"ontransitioncancel"in t])>=3}function W(){if("iPad"===navigator.platform)return!0;var t=screen,e=t.width/t.height;return R(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,e>.65&&e<1.53])>=2}function X(){var t=document;return t.fullscreenElement||t.msFullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||null}function G(){var t=document;return(t.exitFullscreen||t.msExitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen).call(t)}function Y(){var t=j(),e=Z();if(!t&&!e)return!1;var n=window;return R(["onorientationchange"in n,"orientation"in n,t&&!("SharedWorker"in n),e&&/android/i.test(navigator.appVersion)])>=2}function J(){var t=window,e=t.OfflineAudioContext||t.webkitOfflineAudioContext;if(!e)return-2;if(z())return-1;var n=4500,i=5e3,r=new e(1,i,44100),o=r.createOscillator();o.type="triangle",o.frequency.value=1e4;var s=r.createDynamicsCompressor();s.threshold.value=-50,s.knee.value=40,s.ratio.value=12,s.attack.value=0,s.release.value=.25,o.connect(s),s.connect(r.destination),o.start(0);var a=q(r),u=a[0],c=a[1],h=u.then((function(t){return _(t.getChannelData(0).subarray(n))}),(function(t){if("timeout"===t.name||"suspended"===t.name)return-3;throw t}));return d(h),function(){return c(),h}}function z(){return P()&&!C()&&!H()}function q(t){var e=3,n=500,i=500,r=5e3,o=function(){},s=new Promise((function(s,a){var u=!1,c=0,h=0;t.oncomplete=function(t){return s(t.renderedBuffer)};var l=function(){setTimeout((function(){return a(U("timeout"))}),Math.min(i,h+r-Date.now()))},f=function(){try{switch(t.startRendering(),t.state){case"running":h=Date.now(),u&&l();break;case"suspended":document.hidden||c++,u&&c>=e?a(U("suspended")):setTimeout(f,n);break}}catch(i){a(i)}};f(),o=function(){u||(u=!0,h>0&&l())}}));return[s,o]}function _(t){for(var e=0,n=0;n<t.length;++n)e+=Math.abs(t[n]);return e}function U(t){var e=new Error(t);return e.name=t,e}function K(t,e,n){var i,s,a;return void 0===n&&(n=50),r(this,void 0,void 0,(function(){var r,c;return o(this,(function(o){switch(o.label){case 0:r=document,o.label=1;case 1:return r.body?[3,3]:[4,u(n)];case 2:return o.sent(),[3,1];case 3:c=r.createElement("iframe"),o.label=4;case 4:return o.trys.push([4,,10,11]),[4,new Promise((function(t,n){var i=!1,o=function(){i=!0,t()},s=function(t){i=!0,n(t)};c.onload=o,c.onerror=s;var a=c.style;a.setProperty("display","block","important"),a.position="absolute",a.top="0",a.left="0",a.visibility="hidden",e&&"srcdoc"in c?c.srcdoc=e:c.src="about:blank",r.body.appendChild(c);var u=function(){var t,e;i||("complete"===(null===(e=null===(t=c.contentWindow)||void 0===t?void 0:t.document)||void 0===e?void 0:e.readyState)?o():setTimeout(u,10))};u()}))];case 5:o.sent(),o.label=6;case 6:return(null===(s=null===(i=c.contentWindow)||void 0===i?void 0:i.document)||void 0===s?void 0:s.body)?[3,8]:[4,u(n)];case 7:return o.sent(),[3,6];case 8:return[4,t(c,c.contentWindow)];case 9:return[2,o.sent()];case 10:return null===(a=c.parentNode)||void 0===a||a.removeChild(c),[7];case 11:return[2]}}))}))}function Q(t){for(var e=L(t),n=e[0],i=e[1],r=document.createElement(null!==n&&void 0!==n?n:"div"),o=0,s=Object.keys(i);o<s.length;o++){var a=s[o],u=i[a].join(" ");"style"===a?$(r.style,u):r.setAttribute(a,u)}return r}function $(t,e){for(var n=0,i=e.split(";");n<i.length;n++){var r=i[n],o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(r);if(o){var s=o[1],a=o[2],u=o[4];t.setProperty(s,a,u||"")}}}var tt="mmMwWLliI0O&1",et="48px",nt=["monospace","sans-serif","serif"],it=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function rt(){return K((function(t,e){var n=e.document,i=n.body;i.style.fontSize=et;var r=n.createElement("div"),o={},s={},a=function(t){var e=n.createElement("span"),i=e.style;return i.position="absolute",i.top="0",i.left="0",i.fontFamily=t,e.textContent=tt,r.appendChild(e),e},u=function(t,e){return a("'".concat(t,"',").concat(e))},c=function(){return nt.map(a)},h=function(){for(var t={},e=function(e){t[e]=nt.map((function(t){return u(e,t)}))},n=0,i=it;n<i.length;n++){var r=i[n];e(r)}return t},l=function(t){return nt.some((function(e,n){return t[n].offsetWidth!==o[e]||t[n].offsetHeight!==s[e]}))},f=c(),d=h();i.appendChild(r);for(var p=0;p<nt.length;p++)o[nt[p]]=f[p].offsetWidth,s[nt[p]]=f[p].offsetHeight;return it.filter((function(t){return l(d[t])}))}))}function ot(){var t=navigator.plugins;if(t){for(var e=[],n=0;n<t.length;++n){var i=t[n];if(i){for(var r=[],o=0;o<i.length;++o){var s=i[o];r.push({type:s.type,suffixes:s.suffixes})}e.push({name:i.name,description:i.description,mimeTypes:r})}}return e}}function st(){var t,e,n=!1,i=at(),r=i[0],o=i[1];if(ut(r,o)){n=ct(o),ht(r,o);var s=ft(r),a=ft(r);s!==a?t=e="unstable":(e=s,lt(r,o),t=ft(r))}else t=e="";return{winding:n,geometry:t,text:e}}function at(){var t=document.createElement("canvas");return t.width=1,t.height=1,[t,t.getContext("2d")]}function ut(t,e){return!(!e||!t.toDataURL)}function ct(t){return t.rect(0,0,10,10),t.rect(2,2,6,6),!t.isPointInPath(5,5,"evenodd")}function ht(t,e){t.width=240,t.height=60,e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(100,1,62,20),e.fillStyle="#069",e.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));e.fillText(n,2,15),e.fillStyle="rgba(102, 204, 0, 0.2)",e.font="18pt Arial",e.fillText(n,4,45)}function lt(t,e){t.width=122,t.height=110,e.globalCompositeOperation="multiply";for(var n=0,i=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<i.length;n++){var r=i[n],o=r[0],s=r[1],a=r[2];e.fillStyle=o,e.beginPath(),e.arc(s,a,40,0,2*Math.PI,!0),e.closePath(),e.fill()}e.fillStyle="#f9c",e.arc(60,60,60,0,2*Math.PI,!0),e.arc(60,60,20,0,2*Math.PI,!0),e.fill("evenodd")}function ft(t){return t.toDataURL()}function dt(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=V(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(r){t=!1}var i="ontouchstart"in window;return{maxTouchPoints:n,touchEvent:t,touchStart:i}}function pt(){return navigator.oscpu}function mt(){var t=navigator,e=[],n=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==n&&e.push([n]),Array.isArray(t.languages))j()&&F()||e.push(t.languages);else if("string"===typeof t.languages){var i=t.languages;i&&e.push(i.split(","))}return e}function gt(){return window.screen.colorDepth}function vt(){return x(D(navigator.deviceMemory),void 0)}function yt(){var t=screen,e=function(t){return x(V(t),null)},n=[e(t.width),e(t.height)];return n.sort().reverse(),n}var bt,wt,St=2500,Tt=10;function Et(){if(void 0===wt){var t=function(){var e=xt();Rt(e)?wt=setTimeout(t,St):(bt=e,wt=void 0)};t()}}function Vt(){var t=this;return Et(),function(){return r(t,void 0,void 0,(function(){var t;return o(this,(function(e){switch(e.label){case 0:return t=xt(),Rt(t)?bt?[2,s([],bt,!0)]:X()?[4,G()]:[3,2]:[3,2];case 1:e.sent(),t=xt(),e.label=2;case 2:return Rt(t)||(bt=t),[2,t]}}))}))}}function Dt(){var t=this,e=Vt();return function(){return r(t,void 0,void 0,(function(){var t,n;return o(this,(function(i){switch(i.label){case 0:return[4,e()];case 1:return t=i.sent(),n=function(t){return null===t?null:A(t,Tt)},[2,[n(t[0]),n(t[1]),n(t[2]),n(t[3])]]}}))}))}}function xt(){var t=screen;return[x(D(t.availTop),null),x(D(t.width)-D(t.availWidth)-x(D(t.availLeft),0),null),x(D(t.height)-D(t.availHeight)-x(D(t.availTop),0),null),x(D(t.availLeft),null)]}function Rt(t){for(var e=0;e<4;++e)if(t[e])return!1;return!0}function At(){return x(V(navigator.hardwareConcurrency),void 0)}function Lt(){var t,e=null===(t=window.Intl)||void 0===t?void 0:t.DateTimeFormat;if(e){var n=(new e).resolvedOptions().timeZone;if(n)return n}var i=-It();return"UTC".concat(i>=0?"+":"").concat(Math.abs(i))}function It(){var t=(new Date).getFullYear();return Math.max(D(new Date(t,0,1).getTimezoneOffset()),D(new Date(t,6,1).getTimezoneOffset()))}function Bt(){try{return!!window.sessionStorage}catch(t){return!0}}function Ot(){try{return!!window.localStorage}catch(t){return!0}}function kt(){if(!N()&&!M())try{return!!window.indexedDB}catch(t){return!0}}function Nt(){return!!window.openDatabase}function Mt(){return navigator.cpuClass}function jt(){var t=navigator.platform;return"MacIntel"===t&&P()&&!C()?W()?"iPad":"iPhone":t}function Pt(){return navigator.vendor||""}function Ct(){for(var t=[],e=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];e<n.length;e++){var i=n[e],r=window[i];r&&"object"===typeof r&&t.push(i)}return t.sort()}function Zt(){var t=document;try{t.cookie="cookietest=1; SameSite=Strict;";var e=-1!==t.cookie.indexOf("cookietest=");return t.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(n){return!1}}function Ft(){var t=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",t("YVt0aXRsZT0iN25hZ2EgcG9rZXIiIGld"),'[title="ALIENBOLA" i]'],abpvn:["#quangcaomb",t("Lmlvc0Fkc2lvc0Fkcy1sYXlvdXQ="),".quangcao",t("W2hyZWZePSJodHRwczovL3I4OC52bi8iXQ=="),t("W2hyZWZePSJodHRwczovL3piZXQudm4vIl0=")],adBlockFinland:[".mainostila",t("LnNwb25zb3JpdA=="),".ylamainos",t("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),t("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",t("I2FkMl9pbmxpbmU=")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",t("LmhlYWRlci1ibG9ja2VkLWFk"),t("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:['amp-embed[type="zen"]',".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil"],adGuardBase:[".BetterJsPopOverlay",t("I2FkXzMwMFgyNTA="),t("I2Jhbm5lcmZsb2F0MjI="),t("I2FkLWJhbm5lcg=="),t("I2NhbXBhaWduLWJhbm5lcg==")],adGuardChinese:[t("LlppX2FkX2FfSA=="),t("YVtocmVmKj0iL29kMDA1LmNvbSJd"),t("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),".qq_nr_lad","#widget-quan"],adGuardFrench:[t("I2Jsb2NrLXZpZXdzLWFkcy1zaWRlYmFyLWJsb2NrLWJsb2Nr"),"#pavePub",t("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv"],adGuardGerman:[t("LmJhbm5lcml0ZW13ZXJidW5nX2hlYWRfMQ=="),t("LmJveHN0YXJ0d2VyYnVuZw=="),t("LndlcmJ1bmcz"),t("YVtocmVmXj0iaHR0cDovL3d3dy5laXMuZGUvaW5kZXgucGh0bWw/cmVmaWQ9Il0="),t("YVtocmVmXj0iaHR0cHM6Ly93d3cudGlwaWNvLmNvbS8/YWZmaWxpYXRlSWQ9Il0=")],adGuardJapanese:["#kauli_yad_1",t("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),t("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),t("LmFkZ29vZ2xl"),t("LmFkX3JlZ3VsYXIz")],adGuardMobile:[t("YW1wLWF1dG8tYWRz"),t("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",t("I2FkX2ludmlld19hcmVh")],adGuardRussian:[t("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),t("LnJlY2xhbWE="),'div[id^="smi2adblock"]',t("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),t("I2FkX3NxdWFyZQ==")],adGuardSocial:[t("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),t("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",t("W2hyZWZePSJodHRwOi8vYWRzLmdsaXNwYS5jb20vIl0=")],adGuardTrackingProtection:["#qoo-counter",t("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),t("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),t("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",t("I3Jla2xhbWk="),t("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),t("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),t("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[t("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers",t("I25ld0Fk")],easyList:[t("I0FEX0NPTlRST0xfMjg="),t("LnNlY29uZC1wb3N0LWFkcy13cmFwcGVy"),".universalboxADVBOX03",t("LmFkdmVydGlzZW1lbnQtNzI4eDkw"),t("LnNxdWFyZV9hZHM=")],easyListChina:[t("YVtocmVmKj0iLndlbnNpeHVldGFuZy5jb20vIl0="),t("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),t("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box"],easyListCookie:["#AdaCompliance.app-notice",".text-center.rgpd",".panel--cookie",".js-cookies-andromeda",".elxtr-consent"],easyListCzechSlovak:["#onlajny-stickers",t("I3Jla2xhbW5pLWJveA=="),t("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",t("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[t("I2FkdmVydGVudGll"),t("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",t("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:[t("I0FkX1dpbjJkYXk="),t("I3dlcmJ1bmdzYm94MzAw"),t("YVtocmVmXj0iaHR0cDovL3d3dy5yb3RsaWNodGthcnRlaS5jb20vP3NjPSJd"),t("I3dlcmJ1bmdfd2lkZXNreXNjcmFwZXJfc2NyZWVu"),t("YVtocmVmXj0iaHR0cDovL2xhbmRpbmcucGFya3BsYXR6a2FydGVpLmNvbS8/YWc9Il0=")],easyListItaly:[t("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",t("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),t("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),t("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[t("LnJla2xhbW9zX3RhcnBhcw=="),t("LnJla2xhbW9zX251b3JvZG9z"),t("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),t("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),t("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[t("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#feedback-tab","#taboola-below-article",".feedburnerFeedBlock",".widget-feedburner-counter",'[title="Subscribe to our blog"]'],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:[".td-tags-and-social-wrapper-box",".twitterContainer",".youtube-social",'a[title^="Like us on Facebook"]','img[alt^="Share on Digg"]'],frellwitSwedish:[t("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),t("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",t("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[t("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),t("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),t("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",t("LmFkX19tYWlu"),t("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container",".cookie-msg-info-container","#cookies-policy-sticky"],icelandicAbp:[t("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[t("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),t("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[t("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),t("I2xpdmVyZUFkV3JhcHBlcg=="),t("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),t("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[t("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",t("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),t("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),t("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[t("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),t("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),t("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",t("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),t("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),t("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),t("ZGl2I3NrYXBpZWNfYWQ=")],ro:[t("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),'a[href^="/magazin/"]',t("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),t("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),t("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd")],ruAd:[t("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),t("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),t("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",t("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),t("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",t("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}function Ht(t){var e=void 0===t?{}:t,n=e.debug;return r(this,void 0,void 0,(function(){var t,e,i,r,s,a;return o(this,(function(o){switch(o.label){case 0:return Wt()?(t=Ft(),e=Object.keys(t),i=(a=[]).concat.apply(a,e.map((function(e){return t[e]}))),[4,Xt(i)]):[2,void 0];case 1:return r=o.sent(),n&&Yt(t,r),s=e.filter((function(e){var n=t[e],i=R(n.map((function(t){return r[t]})));return i>.6*n.length})),s.sort(),[2,s]}}))}))}function Wt(){return P()||Y()}function Xt(t){var e;return r(this,void 0,void 0,(function(){var n,i,r,s,a,c,h;return o(this,(function(o){switch(o.label){case 0:for(n=document,i=n.createElement("div"),r=new Array(t.length),s={},Gt(i),h=0;h<t.length;++h)a=Q(t[h]),c=n.createElement("div"),Gt(c),c.appendChild(a),i.appendChild(c),r[h]=a;o.label=1;case 1:return n.body?[3,3]:[4,u(50)];case 2:return o.sent(),[3,1];case 3:n.body.appendChild(i);try{for(h=0;h<t.length;++h)r[h].offsetParent||(s[t[h]]=!0)}finally{null===(e=i.parentNode)||void 0===e||e.removeChild(i)}return[2,s]}}))}))}function Gt(t){t.style.setProperty("display","block","important")}function Yt(t,e){for(var n="DOM blockers debug:\n```",i=0,r=Object.keys(t);i<r.length;i++){var o=r[i];n+="\n".concat(o,":");for(var s=0,a=t[o];s<a.length;s++){var u=a[s];n+="\n ".concat(e[u]?"🚫":"➡️"," ").concat(u)}}console.log("".concat(n,"\n```"))}function Jt(){for(var t=0,e=["rec2020","p3","srgb"];t<e.length;t++){var n=e[t];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}}function zt(){return!!qt("inverted")||!qt("none")&&void 0}function qt(t){return matchMedia("(inverted-colors: ".concat(t,")")).matches}function _t(){return!!Ut("active")||!Ut("none")&&void 0}function Ut(t){return matchMedia("(forced-colors: ".concat(t,")")).matches}var Kt=100;function Qt(){if(matchMedia("(min-monochrome: 0)").matches){for(var t=0;t<=Kt;++t)if(matchMedia("(max-monochrome: ".concat(t,")")).matches)return t;throw new Error("Too high value")}}function $t(){return te("no-preference")?0:te("high")||te("more")?1:te("low")||te("less")?-1:te("forced")?10:void 0}function te(t){return matchMedia("(prefers-contrast: ".concat(t,")")).matches}function ee(){return!!ne("reduce")||!ne("no-preference")&&void 0}function ne(t){return matchMedia("(prefers-reduced-motion: ".concat(t,")")).matches}function ie(){return!!re("high")||!re("standard")&&void 0}function re(t){return matchMedia("(dynamic-range: ".concat(t,")")).matches}var oe=Math,se=function(){return 0};function ae(){var t=oe.acos||se,e=oe.acosh||se,n=oe.asin||se,i=oe.asinh||se,r=oe.atanh||se,o=oe.atan||se,s=oe.sin||se,a=oe.sinh||se,u=oe.cos||se,c=oe.cosh||se,h=oe.tan||se,l=oe.tanh||se,f=oe.exp||se,d=oe.expm1||se,p=oe.log1p||se,m=function(t){return oe.pow(oe.PI,t)},g=function(t){return oe.log(t+oe.sqrt(t*t-1))},v=function(t){return oe.log(t+oe.sqrt(t*t+1))},y=function(t){return oe.log((1+t)/(1-t))/2},b=function(t){return oe.exp(t)-1/oe.exp(t)/2},w=function(t){return(oe.exp(t)+1/oe.exp(t))/2},S=function(t){return oe.exp(t)-1},T=function(t){return(oe.exp(2*t)-1)/(oe.exp(2*t)+1)},E=function(t){return oe.log(1+t)};return{acos:t(.12312423423423424),acosh:e(1e308),acoshPf:g(1e154),asin:n(.12312423423423424),asinh:i(1),asinhPf:v(1),atanh:r(.5),atanhPf:y(.5),atan:o(.5),sin:s(-1e300),sinh:a(1),sinhPf:b(1),cos:u(10.000000000123),cosh:c(1),coshPf:w(1),tan:h(-1e300),tanh:l(1),tanhPf:T(1),exp:f(1),expm1:d(1),expm1Pf:S(1),log1p:p(10),log1pPf:E(10),powPI:m(-100)}}var ue="mmMwWLliI0fiflO&1",ce={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function he(){return le((function(t,e){for(var n={},i={},r=0,o=Object.keys(ce);r<o.length;r++){var s=o[r],a=ce[s],u=a[0],c=void 0===u?{}:u,h=a[1],l=void 0===h?ue:h,f=t.createElement("span");f.textContent=l,f.style.whiteSpace="nowrap";for(var d=0,p=Object.keys(c);d<p.length;d++){var m=p[d],g=c[m];void 0!==g&&(f.style[m]=g)}n[s]=f,e.appendChild(t.createElement("br")),e.appendChild(f)}for(var v=0,y=Object.keys(ce);v<y.length;v++){s=y[v];i[s]=n[s].getBoundingClientRect().width}return i}))}function le(t,e){return void 0===e&&(e=4e3),K((function(n,i){var r=i.document,o=r.body,a=o.style;a.width="".concat(e,"px"),a.webkitTextSizeAdjust=a.textSizeAdjust="none",j()?o.style.zoom="".concat(1/i.devicePixelRatio):P()&&(o.style.zoom="reset");var u=r.createElement("div");return u.textContent=s([],Array(e/20<<0),!0).map((function(){return"word"})).join(" "),o.appendChild(u),t(r,o)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}function fe(){var t,e=document.createElement("canvas"),n=null!==(t=e.getContext("webgl"))&&void 0!==t?t:e.getContext("experimental-webgl");if(n&&"getExtension"in n){var i=n.getExtension("WEBGL_debug_renderer_info");if(i)return{vendor:(n.getParameter(i.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(n.getParameter(i.UNMASKED_RENDERER_WEBGL)||"").toString()}}}function de(){return navigator.pdfViewerEnabled}function pe(){var t=new Float32Array(1),e=new Uint8Array(t.buffer);return t[0]=1/0,t[0]=t[0]-t[0],e[3]}var me={fonts:rt,domBlockers:Ht,fontPreferences:he,audio:J,screenFrame:Dt,osCpu:pt,languages:mt,colorDepth:gt,deviceMemory:vt,screenResolution:yt,hardwareConcurrency:At,timezone:Lt,sessionStorage:Bt,localStorage:Ot,indexedDB:kt,openDatabase:Nt,cpuClass:Mt,platform:jt,plugins:ot,canvas:st,touchSupport:dt,vendor:Pt,vendorFlavors:Ct,cookiesEnabled:Zt,colorGamut:Jt,invertedColors:zt,forcedColors:_t,monochrome:Qt,contrast:$t,reducedMotion:ee,hdr:ie,math:ae,videoCard:fe,pdfViewerEnabled:de,architecture:pe};function ge(t){return k(me,t,[])}var ve="$ if upgrade to Pro: https://fpjs.dev/pro";function ye(t){var e=be(t),n=we(e);return{score:e,comment:ve.replace(/\$/g,"".concat(n))}}function be(t){if(Y())return.4;if(P())return C()?.5:.3;var e=t.platform.value||"";return/^Win/.test(e)?.6:/^Mac/.test(e)?.5:.7}function we(t){return A(.99+.01*t,1e-4)}function Se(t){for(var e="",n=0,i=Object.keys(t).sort();n<i.length;n++){var r=i[n],o=t[r],s=o.error?"error":JSON.stringify(o.value);e+="".concat(e?"|":"").concat(r.replace(/([:|\\])/g,"\\$1"),":").concat(s)}return e}function Te(t){return JSON.stringify(t,(function(t,e){return e instanceof Error?S(e):e}),2)}function Ee(t){return w(Se(t))}function Ve(t){var e,n=ye(t);return{get visitorId(){return void 0===e&&(e=Ee(this.components)),e},set visitorId(t){e=t},confidence:n,components:t,version:a}}function De(t){return void 0===t&&(t=50),c(t,2*t)}function xe(t,e){var n=Date.now();return{get:function(i){return r(this,void 0,void 0,(function(){var r,s,a;return o(this,(function(o){switch(o.label){case 0:return r=Date.now(),[4,t()];case 1:return s=o.sent(),a=Ve(s),(e||(null===i||void 0===i?void 0:i.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(a.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(r-n,"\nvisitorId: ").concat(a.visitorId,"\ncomponents: ").concat(Te(s),"\n```")),[2,a]}}))}))}}}function Re(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var t=new XMLHttpRequest;t.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(a,"/npm-monitoring"),!0),t.send()}catch(e){console.error(e)}}function Ae(t){var e=void 0===t?{}:t,n=e.delayFallback,i=e.debug,s=e.monitoring,a=void 0===s||s;return r(this,void 0,void 0,(function(){var t;return o(this,(function(e){switch(e.label){case 0:return a&&Re(),[4,De(n)];case 1:return e.sent(),t=ge({debug:i}),[2,xe(t,i)]}}))}))}var Le={load:Ae,hashComponents:Ee,componentsToDebugString:Te}},ea6a:function(t,e,n){"use strict";var i,r,o=n("143d"),s={decode:function(t){var e;if(void 0===i){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(i={},e=0;e<16;++e)i[n.charAt(e)]=e;for(n=n.toLowerCase(),e=10;e<16;++e)i[n.charAt(e)]=e;for(e=0;e<r.length;++e)i[r.charAt(e)]=-1}var o=[],s=0,a=0;for(e=0;e<t.length;++e){var u=t.charAt(e);if("="==u)break;if(u=i[u],-1!=u){if(void 0===u)throw new Error("Illegal character at offset "+e);s|=u,++a>=2?(o[o.length]=s,s=0,a=0):s<<=4}}if(a)throw new Error("Hex encoding incomplete: 4 bits missing");return o}},a={decode:function(t){var e;if(void 0===r){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i="= \f\n\r\t \u2028\u2029";for(r=Object.create(null),e=0;e<64;++e)r[n.charAt(e)]=e;for(r["-"]=62,r["_"]=63,e=0;e<i.length;++e)r[i.charAt(e)]=-1}var o=[],s=0,a=0;for(e=0;e<t.length;++e){var u=t.charAt(e);if("="==u)break;if(u=r[u],-1!=u){if(void 0===u)throw new Error("Illegal character at offset "+e);s|=u,++a>=4?(o[o.length]=s>>16,o[o.length]=s>>8&255,o[o.length]=255&s,s=0,a=0):s<<=6}}switch(a){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:o[o.length]=s>>10;break;case 3:o[o.length]=s>>16,o[o.length]=s>>8&255;break}return o},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=a.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return a.decode(t)}},u=1e13,c=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var n,i,r=this.buf,o=r.length;for(n=0;n<o;++n)i=r[n]*t+e,i<u?e=0:(e=0|i/u,i-=e*u),r[n]=i;e>0&&(r[n]=e)},t.prototype.sub=function(t){var e,n,i=this.buf,r=i.length;for(e=0;e<r;++e)n=i[e]-t,n<0?(n+=u,t=1):t=0,i[e]=n;while(0===i[i.length-1])i.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw new Error("only base 10 is supported");for(var e=this.buf,n=e[e.length-1].toString(),i=e.length-2;i>=0;--i)n+=(u+e[i]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var t=this.buf,e=0,n=t.length-1;n>=0;--n)e=e*u+t[n];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t}(),h="…",l=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,f=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function d(t,e){return t.length>e&&(t=t.substring(0,e)+h),t}var p,m=function(){function t(e,n){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=n)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return"string"===typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,n){for(var i="",r=t;r<e;++r)if(i+=this.hexByte(this.get(r)),!0!==n)switch(15&r){case 7:i+=" ";break;case 15:i+="\n";break;default:i+=" "}return i},t.prototype.isASCII=function(t,e){for(var n=t;n<e;++n){var i=this.get(n);if(i<32||i>176)return!1}return!0},t.prototype.parseStringISO=function(t,e){for(var n="",i=t;i<e;++i)n+=String.fromCharCode(this.get(i));return n},t.prototype.parseStringUTF=function(t,e){for(var n="",i=t;i<e;){var r=this.get(i++);n+=r<128?String.fromCharCode(r):r>191&&r<224?String.fromCharCode((31&r)<<6|63&this.get(i++)):String.fromCharCode((15&r)<<12|(63&this.get(i++))<<6|63&this.get(i++))}return n},t.prototype.parseStringBMP=function(t,e){for(var n,i,r="",o=t;o<e;)n=this.get(o++),i=this.get(o++),r+=String.fromCharCode(n<<8|i);return r},t.prototype.parseTime=function(t,e,n){var i=this.parseStringISO(t,e),r=(n?l:f).exec(i);return r?(n&&(r[1]=+r[1],r[1]+=+r[1]<70?2e3:1900),i=r[1]+"-"+r[2]+"-"+r[3]+" "+r[4],r[5]&&(i+=":"+r[5],r[6]&&(i+=":"+r[6],r[7]&&(i+="."+r[7]))),r[8]&&(i+=" UTC","Z"!=r[8]&&(i+=r[8],r[9]&&(i+=":"+r[9]))),i):"Unrecognized time: "+i},t.prototype.parseInteger=function(t,e){var n,i=this.get(t),r=i>127,o=r?255:0,s="";while(i==o&&++t<e)i=this.get(t);if(n=e-t,0===n)return r?-1:0;if(n>4){s=i,n<<=3;while(0==(128&(+s^o)))s=+s<<1,--n;s="("+n+" bit)\n"}r&&(i-=256);for(var a=new c(i),u=t+1;u<e;++u)a.mulAdd(256,this.get(u));return s+a.toString()},t.prototype.parseBitString=function(t,e,n){for(var i=this.get(t),r=(e-t-1<<3)-i,o="("+r+" bit)\n",s="",a=t+1;a<e;++a){for(var u=this.get(a),c=a==e-1?i:0,h=7;h>=c;--h)s+=u>>h&1?"1":"0";if(s.length>n)return o+d(s,n)}return o+s},t.prototype.parseOctetString=function(t,e,n){if(this.isASCII(t,e))return d(this.parseStringISO(t,e),n);var i=e-t,r="("+i+" byte)\n";n/=2,i>n&&(e=t+n);for(var o=t;o<e;++o)r+=this.hexByte(this.get(o));return i>n&&(r+=h),r},t.prototype.parseOID=function(t,e,n){for(var i="",r=new c,o=0,s=t;s<e;++s){var a=this.get(s);if(r.mulAdd(128,127&a),o+=7,!(128&a)){if(""===i)if(r=r.simplify(),r instanceof c)r.sub(80),i="2."+r.toString();else{var u=r<80?r<40?0:1:2;i=u+"."+(r-40*u)}else i+="."+r.toString();if(i.length>n)return d(i,n);r=new c,o=0}}return o>0&&(i+=".incomplete"),i},t}(),g=function(){function t(t,e,n,i,r){if(!(i instanceof v))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=n,this.tag=i,this.sub=r}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+n,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);case 6:return this.stream.parseOID(e,e+n,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return d(this.stream.parseStringUTF(e,e+n),t);case 18:case 19:case 20:case 21:case 22:case 26:return d(this.stream.parseStringISO(e,e+n),t);case 30:return d(this.stream.parseStringBMP(e,e+n),t);case 23:case 24:return this.stream.parseTime(e,e+n,23==this.tag.tagNumber)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var n=0,i=this.sub.length;n<i;++n)e+=this.sub[n].toPrettyString(t)}return e},t.prototype.posStart=function(){return this.stream.pos},t.prototype.posContent=function(){return this.stream.pos+this.header},t.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},t.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},t.decodeLength=function(t){var e=t.get(),n=127&e;if(n==e)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===n)return null;e=0;for(var i=0;i<n;++i)e=256*e+t.get();return e},t.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,n=2*this.length;return t.substr(e,n)},t.decode=function(e){var n;n=e instanceof m?e:new m(e,0);var i=new m(n),r=new v(n),o=t.decodeLength(n),s=n.pos,a=s-i.pos,u=null,c=function(){var e=[];if(null!==o){var i=s+o;while(n.pos<i)e[e.length]=t.decode(n);if(n.pos!=i)throw new Error("Content size is not correct for container starting at offset "+s)}else try{for(;;){var r=t.decode(n);if(r.tag.isEOC())break;e[e.length]=r}o=s-n.pos}catch(a){throw new Error("Exception while decoding undefined length content: "+a)}return e};if(r.tagConstructed)u=c();else if(r.isUniversal()&&(3==r.tagNumber||4==r.tagNumber))try{if(3==r.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");u=c();for(var h=0;h<u.length;++h)if(u[h].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(l){u=null}if(null===u){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+s);n.pos=s+Math.abs(o)}return new t(i,a,o,r,u)},t}(),v=function(){function t(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=0!==(32&e),this.tagNumber=31&e,31==this.tagNumber){var n=new c;do{e=t.get(),n.mulAdd(128,127&e)}while(128&e);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}(),y=n("93a9"),b=0xdeadbeefcafe,w=15715070==(16777215&b),S=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],T=(1<<26)/S[S.length-1],E=function(){function t(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return t.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var n,i=(1<<e)-1,r=!1,o="",s=this.t,a=this.DB-s*this.DB%e;if(s-- >0){a<this.DB&&(n=this[s]>>a)>0&&(r=!0,o=Object(y["b"])(n));while(s>=0)a<e?(n=(this[s]&(1<<a)-1)<<e-a,n|=this[--s]>>(a+=this.DB-e)):(n=this[s]>>(a-=e)&i,a<=0&&(a+=this.DB,--s)),n>0&&(r=!0),r&&(o+=Object(y["b"])(n))}return r?o:"0"},t.prototype.negate=function(){var e=A();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(e=n-t.t,0!=e)return this.s<0?-e:e;while(--n>=0)if(0!=(e=this[n]-t[n]))return e;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+P(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var n=A();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(t.ZERO)>0&&e.subTo(n,n),n},t.prototype.modPowInt=function(t,e){var n;return n=t<256||e.isEven()?new D(e):new x(e),this.exp(t,n)},t.prototype.clone=function(){var t=A();return this.copyTo(t),t},t.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},t.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},t.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var n,i=this.DB-t*this.DB%8,r=0;if(t-- >0){i<this.DB&&(n=this[t]>>i)!=(this.s&this.DM)>>i&&(e[r++]=n|this.s<<this.DB-i);while(t>=0)i<8?(n=(this[t]&(1<<i)-1)<<8-i,n|=this[--t]>>(i+=this.DB-8)):(n=this[t]>>(i-=8)&255,i<=0&&(i+=this.DB,--t)),0!=(128&n)&&(n|=-256),0==r&&(128&this.s)!=(128&n)&&++r,(r>0||n!=this.s)&&(e[r++]=n)}return e},t.prototype.equals=function(t){return 0==this.compareTo(t)},t.prototype.min=function(t){return this.compareTo(t)<0?this:t},t.prototype.max=function(t){return this.compareTo(t)>0?this:t},t.prototype.and=function(t){var e=A();return this.bitwiseTo(t,y["d"],e),e},t.prototype.or=function(t){var e=A();return this.bitwiseTo(t,y["f"],e),e},t.prototype.xor=function(t){var e=A();return this.bitwiseTo(t,y["g"],e),e},t.prototype.andNot=function(t){var e=A();return this.bitwiseTo(t,y["e"],e),e},t.prototype.not=function(){for(var t=A(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},t.prototype.shiftLeft=function(t){var e=A();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},t.prototype.shiftRight=function(t){var e=A();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},t.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+Object(y["c"])(this[t]);return this.s<0?this.t*this.DB:-1},t.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,n=0;n<this.t;++n)t+=Object(y["a"])(this[n]^e);return t},t.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},t.prototype.setBit=function(t){return this.changeBit(t,y["f"])},t.prototype.clearBit=function(t){return this.changeBit(t,y["e"])},t.prototype.flipBit=function(t){return this.changeBit(t,y["g"])},t.prototype.add=function(t){var e=A();return this.addTo(t,e),e},t.prototype.subtract=function(t){var e=A();return this.subTo(t,e),e},t.prototype.multiply=function(t){var e=A();return this.multiplyTo(t,e),e},t.prototype.divide=function(t){var e=A();return this.divRemTo(t,e,null),e},t.prototype.remainder=function(t){var e=A();return this.divRemTo(t,null,e),e},t.prototype.divideAndRemainder=function(t){var e=A(),n=A();return this.divRemTo(t,e,n),[e,n]},t.prototype.modPow=function(t,e){var n,i,r=t.bitLength(),o=j(1);if(r<=0)return o;n=r<18?1:r<48?3:r<144?4:r<768?5:6,i=r<8?new D(e):e.isEven()?new R(e):new x(e);var s=[],a=3,u=n-1,c=(1<<n)-1;if(s[1]=i.convert(this),n>1){var h=A();i.sqrTo(s[1],h);while(a<=c)s[a]=A(),i.mulTo(h,s[a-2],s[a]),a+=2}var l,f,d=t.t-1,p=!0,m=A();r=P(t[d])-1;while(d>=0){r>=u?l=t[d]>>r-u&c:(l=(t[d]&(1<<r+1)-1)<<u-r,d>0&&(l|=t[d-1]>>this.DB+r-u)),a=n;while(0==(1&l))l>>=1,--a;if((r-=a)<0&&(r+=this.DB,--d),p)s[l].copyTo(o),p=!1;else{while(a>1)i.sqrTo(o,m),i.sqrTo(m,o),a-=2;a>0?i.sqrTo(o,m):(f=o,o=m,m=f),i.mulTo(m,s[l],o)}while(d>=0&&0==(t[d]&1<<r))i.sqrTo(o,m),f=o,o=m,m=f,--r<0&&(r=this.DB-1,--d)}return i.revert(o)},t.prototype.modInverse=function(e){var n=e.isEven();if(this.isEven()&&n||0==e.signum())return t.ZERO;var i=e.clone(),r=this.clone(),o=j(1),s=j(0),a=j(0),u=j(1);while(0!=i.signum()){while(i.isEven())i.rShiftTo(1,i),n?(o.isEven()&&s.isEven()||(o.addTo(this,o),s.subTo(e,s)),o.rShiftTo(1,o)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);while(r.isEven())r.rShiftTo(1,r),n?(a.isEven()&&u.isEven()||(a.addTo(this,a),u.subTo(e,u)),a.rShiftTo(1,a)):u.isEven()||u.subTo(e,u),u.rShiftTo(1,u);i.compareTo(r)>=0?(i.subTo(r,i),n&&o.subTo(a,o),s.subTo(u,s)):(r.subTo(i,r),n&&a.subTo(o,a),u.subTo(s,u))}return 0!=r.compareTo(t.ONE)?t.ZERO:u.compareTo(e)>=0?u.subtract(e):u.signum()<0?(u.addTo(e,u),u.signum()<0?u.add(e):u):u},t.prototype.pow=function(t){return this.exp(t,new V)},t.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(e.compareTo(n)<0){var i=e;e=n,n=i}var r=e.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return e;r<o&&(o=r),o>0&&(e.rShiftTo(o,e),n.rShiftTo(o,n));while(e.signum()>0)(r=e.getLowestSetBit())>0&&e.rShiftTo(r,e),(r=n.getLowestSetBit())>0&&n.rShiftTo(r,n),e.compareTo(n)>=0?(e.subTo(n,e),e.rShiftTo(1,e)):(n.subTo(e,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},t.prototype.isProbablePrime=function(t){var e,n=this.abs();if(1==n.t&&n[0]<=S[S.length-1]){for(e=0;e<S.length;++e)if(n[0]==S[e])return!0;return!1}if(n.isEven())return!1;e=1;while(e<S.length){var i=S[e],r=e+1;while(r<S.length&&i<T)i*=S[r++];i=n.modInt(i);while(e<r)if(i%S[e++]==0)return!1}return n.millerRabin(t)},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},t.prototype.fromString=function(e,n){var i;if(16==n)i=4;else if(8==n)i=3;else if(256==n)i=8;else if(2==n)i=1;else if(32==n)i=5;else{if(4!=n)return void this.fromRadix(e,n);i=2}this.t=0,this.s=0;var r=e.length,o=!1,s=0;while(--r>=0){var a=8==i?255&+e[r]:M(e,r);a<0?"-"==e.charAt(r)&&(o=!0):(o=!1,0==s?this[this.t++]=a:s+i>this.DB?(this[this.t-1]|=(a&(1<<this.DB-s)-1)<<s,this[this.t++]=a>>this.DB-s):this[this.t-1]|=a<<s,s+=i,s>=this.DB&&(s-=this.DB))}8==i&&0!=(128&+e[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&t.ZERO.subTo(this,this)},t.prototype.clamp=function(){var t=this.s&this.DM;while(this.t>0&&this[this.t-1]==t)--this.t},t.prototype.dlShiftTo=function(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s},t.prototype.drShiftTo=function(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.lShiftTo=function(t,e){for(var n=t%this.DB,i=this.DB-n,r=(1<<i)-1,o=Math.floor(t/this.DB),s=this.s<<n&this.DM,a=this.t-1;a>=0;--a)e[a+o+1]=this[a]>>i|s,s=(this[a]&r)<<n;for(a=o-1;a>=0;--a)e[a]=0;e[o]=s,e.t=this.t+o+1,e.s=this.s,e.clamp()},t.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)e.t=0;else{var i=t%this.DB,r=this.DB-i,o=(1<<i)-1;e[0]=this[n]>>i;for(var s=n+1;s<this.t;++s)e[s-n-1]|=(this[s]&o)<<r,e[s-n]=this[s]>>i;i>0&&(e[this.t-n-1]|=(this.s&o)<<r),e.t=this.t-n,e.clamp()}},t.prototype.subTo=function(t,e){var n=0,i=0,r=Math.min(t.t,this.t);while(n<r)i+=this[n]-t[n],e[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){i-=t.s;while(n<this.t)i+=this[n],e[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{i+=this.s;while(n<t.t)i-=t[n],e[n++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[n++]=this.DV+i:i>0&&(e[n++]=i),e.t=n,e.clamp()},t.prototype.multiplyTo=function(e,n){var i=this.abs(),r=e.abs(),o=i.t;n.t=o+r.t;while(--o>=0)n[o]=0;for(o=0;o<r.t;++o)n[o+i.t]=i.am(0,r[o],n,o,0,i.t);n.s=0,n.clamp(),this.s!=e.s&&t.ZERO.subTo(n,n)},t.prototype.squareTo=function(t){var e=this.abs(),n=t.t=2*e.t;while(--n>=0)t[n]=0;for(n=0;n<e.t-1;++n){var i=e.am(n,e[n],t,2*n,0,1);(t[n+e.t]+=e.am(n+1,2*e[n],t,2*n+1,i,e.t-n-1))>=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()},t.prototype.divRemTo=function(e,n,i){var r=e.abs();if(!(r.t<=0)){var o=this.abs();if(o.t<r.t)return null!=n&&n.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=A());var s=A(),a=this.s,u=e.s,c=this.DB-P(r[r.t-1]);c>0?(r.lShiftTo(c,s),o.lShiftTo(c,i)):(r.copyTo(s),o.copyTo(i));var h=s.t,l=s[h-1];if(0!=l){var f=l*(1<<this.F1)+(h>1?s[h-2]>>this.F2:0),d=this.FV/f,p=(1<<this.F1)/f,m=1<<this.F2,g=i.t,v=g-h,y=null==n?A():n;s.dlShiftTo(v,y),i.compareTo(y)>=0&&(i[i.t++]=1,i.subTo(y,i)),t.ONE.dlShiftTo(h,y),y.subTo(s,s);while(s.t<h)s[s.t++]=0;while(--v>=0){var b=i[--g]==l?this.DM:Math.floor(i[g]*d+(i[g-1]+m)*p);if((i[g]+=s.am(0,b,i,v,0,h))<b){s.dlShiftTo(v,y),i.subTo(y,i);while(i[g]<--b)i.subTo(y,i)}}null!=n&&(i.drShiftTo(h,n),a!=u&&t.ZERO.subTo(n,n)),i.t=h,i.clamp(),c>0&&i.rShiftTo(c,i),a<0&&t.ZERO.subTo(i,i)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return e=e*(2-(15&t)*e)&15,e=e*(2-(255&t)*e)&255,e=e*(2-((65535&t)*e&65535))&65535,e=e*(2-t*e%this.DV)%this.DV,e>0?this.DV-e:-e},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.exp=function(e,n){if(e>4294967295||e<1)return t.ONE;var i=A(),r=A(),o=n.convert(this),s=P(e)-1;o.copyTo(i);while(--s>=0)if(n.sqrTo(i,r),(e&1<<s)>0)n.mulTo(r,o,i);else{var a=i;i=r,r=a}return n.revert(i)},t.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},t.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),i=j(n),r=A(),o=A(),s="";this.divRemTo(i,r,o);while(r.signum()>0)s=(n+o.intValue()).toString(t).substr(1)+s,r.divRemTo(i,r,o);return o.intValue().toString(t)+s},t.prototype.fromRadix=function(e,n){this.fromInt(0),null==n&&(n=10);for(var i=this.chunkSize(n),r=Math.pow(n,i),o=!1,s=0,a=0,u=0;u<e.length;++u){var c=M(e,u);c<0?"-"==e.charAt(u)&&0==this.signum()&&(o=!0):(a=n*a+c,++s>=i&&(this.dMultiply(r),this.dAddOffset(a,0),s=0,a=0))}s>0&&(this.dMultiply(Math.pow(n,s)),this.dAddOffset(a,0)),o&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,n,i){if("number"==typeof n)if(e<2)this.fromInt(1);else{this.fromNumber(e,i),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),y["f"],this),this.isEven()&&this.dAddOffset(1,0);while(!this.isProbablePrime(n))this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this)}else{var r=[],o=7&e;r.length=1+(e>>3),n.nextBytes(r),o>0?r[0]&=(1<<o)-1:r[0]=0,this.fromString(r,256)}},t.prototype.bitwiseTo=function(t,e,n){var i,r,o=Math.min(t.t,this.t);for(i=0;i<o;++i)n[i]=e(this[i],t[i]);if(t.t<this.t){for(r=t.s&this.DM,i=o;i<this.t;++i)n[i]=e(this[i],r);n.t=this.t}else{for(r=this.s&this.DM,i=o;i<t.t;++i)n[i]=e(r,t[i]);n.t=t.t}n.s=e(this.s,t.s),n.clamp()},t.prototype.changeBit=function(e,n){var i=t.ONE.shiftLeft(e);return this.bitwiseTo(i,n,i),i},t.prototype.addTo=function(t,e){var n=0,i=0,r=Math.min(t.t,this.t);while(n<r)i+=this[n]+t[n],e[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){i+=t.s;while(n<this.t)i+=this[n],e[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{i+=this.s;while(n<t.t)i+=t[n],e[n++]=i&this.DM,i>>=this.DB;i+=t.s}e.s=i<0?-1:0,i>0?e[n++]=i:i<-1&&(e[n++]=this.DV+i),e.t=n,e.clamp()},t.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(t,e){if(0!=t){while(this.t<=e)this[this.t++]=0;this[e]+=t;while(this[e]>=this.DV)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},t.prototype.multiplyLowerTo=function(t,e,n){var i=Math.min(this.t+t.t,e);n.s=0,n.t=i;while(i>0)n[--i]=0;for(var r=n.t-this.t;i<r;++i)n[i+this.t]=this.am(0,t[i],n,i,0,this.t);for(r=Math.min(t.t,e);i<r;++i)this.am(0,t[i],n,i,0,e-i);n.clamp()},t.prototype.multiplyUpperTo=function(t,e,n){--e;var i=n.t=this.t+t.t-e;n.s=0;while(--i>=0)n[i]=0;for(i=Math.max(e-this.t,0);i<t.t;++i)n[this.t+i-e]=this.am(e-i,t[i],n,0,0,this.t+i-e);n.clamp(),n.drShiftTo(1,n)},t.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,n=this.s<0?t-1:0;if(this.t>0)if(0==e)n=this[0]%t;else for(var i=this.t-1;i>=0;--i)n=(e*n+this[i])%t;return n},t.prototype.millerRabin=function(e){var n=this.subtract(t.ONE),i=n.getLowestSetBit();if(i<=0)return!1;var r=n.shiftRight(i);e=e+1>>1,e>S.length&&(e=S.length);for(var o=A(),s=0;s<e;++s){o.fromInt(S[Math.floor(Math.random()*S.length)]);var a=o.modPow(r,this);if(0!=a.compareTo(t.ONE)&&0!=a.compareTo(n)){var u=1;while(u++<i&&0!=a.compareTo(n))if(a=a.modPowInt(2,this),0==a.compareTo(t.ONE))return!1;if(0!=a.compareTo(n))return!1}}return!0},t.prototype.square=function(){var t=A();return this.squareTo(t),t},t.prototype.gcda=function(t,e){var n=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(n.compareTo(i)<0){var r=n;n=i,i=r}var o=n.getLowestSetBit(),s=i.getLowestSetBit();if(s<0)e(n);else{o<s&&(s=o),s>0&&(n.rShiftTo(s,n),i.rShiftTo(s,i));var a=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(a,0):(s>0&&i.lShiftTo(s,i),setTimeout((function(){e(i)}),0))};setTimeout(a,10)}},t.prototype.fromNumberAsync=function(e,n,i,r){if("number"==typeof n)if(e<2)this.fromInt(1);else{this.fromNumber(e,i),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),y["f"],this),this.isEven()&&this.dAddOffset(1,0);var o=this,s=function(){o.dAddOffset(2,0),o.bitLength()>e&&o.subTo(t.ONE.shiftLeft(e-1),o),o.isProbablePrime(n)?setTimeout((function(){r()}),0):setTimeout(s,0)};setTimeout(s,0)}else{var a=[],u=7&e;a.length=1+(e>>3),n.nextBytes(a),u>0?a[0]&=(1<<u)-1:a[0]=0,this.fromString(a,256)}},t}(),V=function(){function t(){}return t.prototype.convert=function(t){return t},t.prototype.revert=function(t){return t},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n)},t.prototype.sqrTo=function(t,e){t.squareTo(e)},t}(),D=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),x=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=A();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(E.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=A();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){while(t.t<=this.mt2)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var n=32767&t[e],i=n*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;n=e+this.m.t,t[n]+=this.m.am(0,i,t,e,0,this.m.t);while(t[n]>=t.DV)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),R=function(){function t(t){this.m=t,this.r2=A(),this.q3=A(),E.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=A();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(t.compareTo(this.r2)<0)t.dAddOffset(1,this.m.t+1);t.subTo(this.r2,t);while(t.compareTo(this.m)>=0)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function A(){return new E(null)}function L(t,e){return new E(t,e)}var I="undefined"!==typeof navigator;I&&w&&"Microsoft Internet Explorer"==navigator.appName?(E.prototype.am=function(t,e,n,i,r,o){var s=32767&e,a=e>>15;while(--o>=0){var u=32767&this[t],c=this[t++]>>15,h=a*u+c*s;u=s*u+((32767&h)<<15)+n[i]+(1073741823&r),r=(u>>>30)+(h>>>15)+a*c+(r>>>30),n[i++]=1073741823&u}return r},p=30):I&&w&&"Netscape"!=navigator.appName?(E.prototype.am=function(t,e,n,i,r,o){while(--o>=0){var s=e*this[t++]+n[i]+r;r=Math.floor(s/67108864),n[i++]=67108863&s}return r},p=26):(E.prototype.am=function(t,e,n,i,r,o){var s=16383&e,a=e>>14;while(--o>=0){var u=16383&this[t],c=this[t++]>>14,h=a*u+c*s;u=s*u+((16383&h)<<14)+n[i]+r,r=(u>>28)+(h>>14)+a*c,n[i++]=268435455&u}return r},p=28),E.prototype.DB=p,E.prototype.DM=(1<<p)-1,E.prototype.DV=1<<p;var B=52;E.prototype.FV=Math.pow(2,B),E.prototype.F1=B-p,E.prototype.F2=2*p-B;var O,k,N=[];for(O="0".charCodeAt(0),k=0;k<=9;++k)N[O++]=k;for(O="a".charCodeAt(0),k=10;k<36;++k)N[O++]=k;for(O="A".charCodeAt(0),k=10;k<36;++k)N[O++]=k;function M(t,e){var n=N[t.charCodeAt(e)];return null==n?-1:n}function j(t){var e=A();return e.fromInt(t),e}function P(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}E.ZERO=j(0),E.ONE=j(1);var C=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,n,i;for(e=0;e<256;++e)this.S[e]=e;for(n=0,e=0;e<256;++e)n=n+this.S[e]+t[e%t.length]&255,i=this.S[e],this.S[e]=this.S[n],this.S[n]=i;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}();function Z(){return new C}var F,H,W=256,X=null;if(null==X){X=[],H=0;var G=void 0;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues){var Y=new Uint32Array(256);for(window.crypto.getRandomValues(Y),G=0;G<Y.length;++G)X[H++]=255&Y[G]}var J=0,z=function(t){if(J=J||0,J>=256||H>=W)window.removeEventListener?window.removeEventListener("mousemove",z,!1):window.detachEvent&&window.detachEvent("onmousemove",z);else try{var e=t.x+t.y;X[H++]=255&e,J+=1}catch(n){}};"undefined"!==typeof window&&(window.addEventListener?window.addEventListener("mousemove",z,!1):window.attachEvent&&window.attachEvent("onmousemove",z))}function q(){if(null==F){F=Z();while(H<W){var t=Math.floor(65536*Math.random());X[H++]=255&t}for(F.init(X),H=0;H<X.length;++H)X[H]=0;H=0}return F.next()}var _=function(){function t(){}return t.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=q()},t}();function U(t,e){if(e<t.length+22)return console.error("Message too long for RSA"),null;for(var n=e-t.length-6,i="",r=0;r<n;r+=2)i+="ff";var o="0001"+i+"00"+t;return L(o,16)}function K(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;var n=[],i=t.length-1;while(i>=0&&e>0){var r=t.charCodeAt(i--);r<128?n[--e]=r:r>127&&r<2048?(n[--e]=63&r|128,n[--e]=r>>6|192):(n[--e]=63&r|128,n[--e]=r>>6&63|128,n[--e]=r>>12|224)}n[--e]=0;var o=new _,s=[];while(e>2){s[0]=0;while(0==s[0])o.nextBytes(s);n[--e]=s[0]}return n[--e]=2,n[--e]=0,new E(n)}var Q=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);var e=t.mod(this.p).modPow(this.dmp1,this.p),n=t.mod(this.q).modPow(this.dmq1,this.q);while(e.compareTo(n)<0)e=e.add(this.p);return e.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},t.prototype.setPublic=function(t,e){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=L(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(t){var e=this.n.bitLength()+7>>3,n=K(t,e);if(null==n)return null;var i=this.doPublic(n);if(null==i)return null;for(var r=i.toString(16),o=r.length,s=0;s<2*e-o;s++)r="0"+r;return r},t.prototype.setPrivate=function(t,e,n){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=L(t,16),this.e=parseInt(e,16),this.d=L(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(t,e,n,i,r,o,s,a){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=L(t,16),this.e=parseInt(e,16),this.d=L(n,16),this.p=L(i,16),this.q=L(r,16),this.dmp1=L(o,16),this.dmq1=L(s,16),this.coeff=L(a,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(t,e){var n=new _,i=t>>1;this.e=parseInt(e,16);for(var r=new E(e,16);;){for(;;)if(this.p=new E(t-i,1,n),0==this.p.subtract(E.ONE).gcd(r).compareTo(E.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=new E(i,1,n),0==this.q.subtract(E.ONE).gcd(r).compareTo(E.ONE)&&this.q.isProbablePrime(10))break;if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var s=this.p.subtract(E.ONE),a=this.q.subtract(E.ONE),u=s.multiply(a);if(0==u.gcd(r).compareTo(E.ONE)){this.n=this.p.multiply(this.q),this.d=r.modInverse(u),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=L(t,16),n=this.doPrivate(e);return null==n?null:$(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,n){var i=new _,r=t>>1;this.e=parseInt(e,16);var o=new E(e,16),s=this,a=function(){var e=function(){if(s.p.compareTo(s.q)<=0){var t=s.p;s.p=s.q,s.q=t}var e=s.p.subtract(E.ONE),i=s.q.subtract(E.ONE),r=e.multiply(i);0==r.gcd(o).compareTo(E.ONE)?(s.n=s.p.multiply(s.q),s.d=o.modInverse(r),s.dmp1=s.d.mod(e),s.dmq1=s.d.mod(i),s.coeff=s.q.modInverse(s.p),setTimeout((function(){n()}),0)):setTimeout(a,0)},u=function(){s.q=A(),s.q.fromNumberAsync(r,1,i,(function(){s.q.subtract(E.ONE).gcda(o,(function(t){0==t.compareTo(E.ONE)&&s.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(u,0)}))}))},c=function(){s.p=A(),s.p.fromNumberAsync(t-r,1,i,(function(){s.p.subtract(E.ONE).gcda(o,(function(t){0==t.compareTo(E.ONE)&&s.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(c,0)}))}))};setTimeout(c,0)};setTimeout(a,0)},t.prototype.sign=function(t,e,n){var i=et(n),r=i+e(t).toString(),o=U(r,this.n.bitLength()/4);if(null==o)return null;var s=this.doPrivate(o);if(null==s)return null;var a=s.toString(16);return 0==(1&a.length)?a:"0"+a},t.prototype.verify=function(t,e,n){var i=L(e,16),r=this.doPublic(i);if(null==r)return null;var o=r.toString(16).replace(/^1f+00/,""),s=nt(o);return s==n(t).toString()},t}();function $(t,e){var n=t.toByteArray(),i=0;while(i<n.length&&0==n[i])++i;if(n.length-i!=e-1||2!=n[i])return null;++i;while(0!=n[i])if(++i>=n.length)return null;var r="";while(++i<n.length){var o=255&n[i];o<128?r+=String.fromCharCode(o):o>191&&o<224?(r+=String.fromCharCode((31&o)<<6|63&n[i+1]),++i):(r+=String.fromCharCode((15&o)<<12|(63&n[i+1])<<6|63&n[i+2]),i+=2)}return r}var tt={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function et(t){return tt[t]||""}function nt(t){for(var e in tt)if(tt.hasOwnProperty(e)){var n=tt[e],i=n.length;if(t.substr(0,i)==n)return t.substr(i)}return t}
  2. /*!
  3. Copyright (c) 2011, Yahoo! Inc. All rights reserved.
  4. Code licensed under the BSD License:
  5. http://developer.yahoo.com/yui/license.html
  6. version: 2.9.0
  7. */var it={};it.lang={extend:function(t,e,n){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var i=function(){};if(i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),n){var r;for(r in n)t.prototype[r]=n[r];var o=function(){},s=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(o=function(t,e){for(r=0;r<s.length;r+=1){var n=s[r],i=e[n];"function"===typeof i&&i!=Object.prototype[n]&&(t[n]=i)}})}catch(a){}o(t.prototype,n)}}};
  8. /**
  9. * @fileOverview
  10. * @name asn1-1.0.js
  11. * @author Kenji Urushima kenji.urushima@gmail.com
  12. * @version asn1 1.0.13 (2017-Jun-02)
  13. * @since jsrsasign 2.1
  14. * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
  15. */
  16. var rt={};"undefined"!=typeof rt.asn1&&rt.asn1||(rt.asn1={}),rt.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substr(1),i=n.length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var r="",o=0;o<i;o++)r+="f";var s=new E(r,16),a=s.xor(t).add(E.ONE);e=a.toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=rt,n=e.asn1,i=n.DERBoolean,r=n.DERInteger,o=n.DERBitString,s=n.DEROctetString,a=n.DERNull,u=n.DERObjectIdentifier,c=n.DEREnumerated,h=n.DERUTF8String,l=n.DERNumericString,f=n.DERPrintableString,d=n.DERTeletexString,p=n.DERIA5String,m=n.DERUTCTime,g=n.DERGeneralizedTime,v=n.DERSequence,y=n.DERSet,b=n.DERTaggedObject,w=n.ASN1Util.newObject,S=Object.keys(t);if(1!=S.length)throw"key of param shall be only one.";var T=S[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+T+":"))throw"undefined key: "+T;if("bool"==T)return new i(t[T]);if("int"==T)return new r(t[T]);if("bitstr"==T)return new o(t[T]);if("octstr"==T)return new s(t[T]);if("null"==T)return new a(t[T]);if("oid"==T)return new u(t[T]);if("enum"==T)return new c(t[T]);if("utf8str"==T)return new h(t[T]);if("numstr"==T)return new l(t[T]);if("prnstr"==T)return new f(t[T]);if("telstr"==T)return new d(t[T]);if("ia5str"==T)return new p(t[T]);if("utctime"==T)return new m(t[T]);if("gentime"==T)return new g(t[T]);if("seq"==T){for(var E=t[T],V=[],D=0;D<E.length;D++){var x=w(E[D]);V.push(x)}return new v({array:V})}if("set"==T){for(E=t[T],V=[],D=0;D<E.length;D++){x=w(E[D]);V.push(x)}return new y({array:V})}if("tag"==T){var R=t[T];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){var A=w(R[2]);return new b({tag:R[0],explicit:R[1],obj:A})}var L={};if(void 0!==R.explicit&&(L.explicit=R.explicit),void 0!==R.tag&&(L.tag=R.tag),void 0===R.obj)throw"obj shall be specified for 'tag'.";return L.obj=w(R.obj),new b(L)}},this.jsonToASN1HEX=function(t){var e=this.newObject(t);return e.getEncodedHex()}},rt.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",n=parseInt(t.substr(0,2),16),i=Math.floor(n/40),r=n%40,o=(e=i+"."+r,""),s=2;s<t.length;s+=2){var a=parseInt(t.substr(s,2),16),u=("00000000"+a.toString(2)).slice(-8);if(o+=u.substr(1,7),"0"==u.substr(0,1)){var c=new E(o,2);e=e+"."+c.toString(10),o=""}}return e},rt.asn1.ASN1Util.oidIntToHex=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",i=new E(t,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var s="",a=0;a<o;a++)s+="0";r=s+r;for(a=0;a<r.length-1;a+=7){var u=r.substr(a,7);a!=r.length-7&&(u="1"+u),n+=e(parseInt(u,2))}return n};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var i="",r=t.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=e(o),r.splice(0,2);for(var s=0;s<r.length;s++)i+=n(r[s]);return i},rt.asn1.ASN1Object=function(){var t="";this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+t.length+",v="+this.hV;var e=this.hV.length/2,n=e.toString(16);if(n.length%2==1&&(n="0"+n),e<128)return n;var i=n.length/2;if(i>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var r=128+i;return r.toString(16)+n},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},rt.asn1.DERAbstractString=function(t){rt.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("string"==typeof t?this.setString(t):"undefined"!=typeof t["str"]?this.setString(t["str"]):"undefined"!=typeof t["hex"]&&this.setStringHex(t["hex"]))},it.lang.extend(rt.asn1.DERAbstractString,rt.asn1.ASN1Object),rt.asn1.DERAbstractTime=function(t){rt.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(t){utc=t.getTime()+6e4*t.getTimezoneOffset();var e=new Date(utc);return e},this.formatDate=function(t,e,n){var i=this.zeroPadding,r=this.localDateToUTC(t),o=String(r.getFullYear());"utc"==e&&(o=o.substr(2,2));var s=i(String(r.getMonth()+1),2),a=i(String(r.getDate()),2),u=i(String(r.getHours()),2),c=i(String(r.getMinutes()),2),h=i(String(r.getSeconds()),2),l=o+s+a+u+c+h;if(!0===n){var f=r.getMilliseconds();if(0!=f){var d=i(String(f),3);d=d.replace(/[0]+$/,""),l=l+"."+d}}return l+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,n,i,r,o){var s=new Date(Date.UTC(t,e-1,n,i,r,o,0));this.setByDate(s)},this.getFreshValueHex=function(){return this.hV}},it.lang.extend(rt.asn1.DERAbstractTime,rt.asn1.ASN1Object),rt.asn1.DERAbstractStructured=function(t){rt.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,"undefined"!=typeof t&&"undefined"!=typeof t["array"]&&(this.asn1Array=t["array"])},it.lang.extend(rt.asn1.DERAbstractStructured,rt.asn1.ASN1Object),rt.asn1.DERBoolean=function(){rt.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},it.lang.extend(rt.asn1.DERBoolean,rt.asn1.ASN1Object),rt.asn1.DERInteger=function(t){rt.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=rt.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new E(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t["bigint"]?this.setByBigInteger(t["bigint"]):"undefined"!=typeof t["int"]?this.setByInteger(t["int"]):"number"==typeof t?this.setByInteger(t):"undefined"!=typeof t["hex"]&&this.setValueHex(t["hex"]))},it.lang.extend(rt.asn1.DERInteger,rt.asn1.ASN1Object),rt.asn1.DERBitString=function(t){if(void 0!==t&&"undefined"!==typeof t.obj){var e=rt.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}rt.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var n="0"+t;this.hTLV=null,this.isModified=!0,this.hV=n+e},this.setByBinaryString=function(t){t=t.replace(/0+$/,"");var e=8-t.length%8;8==e&&(e=0);for(var n=0;n<=e;n++)t+="0";var i="";for(n=0;n<t.length-1;n+=8){var r=t.substr(n,8),o=parseInt(r,2).toString(16);1==o.length&&(o="0"+o),i+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+e+i},this.setByBooleanArray=function(t){for(var e="",n=0;n<t.length;n++)1==t[n]?e+="1":e+="0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=!1;return e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):"undefined"!=typeof t["hex"]?this.setHexValueIncludingUnusedBits(t["hex"]):"undefined"!=typeof t["bin"]?this.setByBinaryString(t["bin"]):"undefined"!=typeof t["array"]&&this.setByBooleanArray(t["array"]))},it.lang.extend(rt.asn1.DERBitString,rt.asn1.ASN1Object),rt.asn1.DEROctetString=function(t){if(void 0!==t&&"undefined"!==typeof t.obj){var e=rt.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}rt.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},it.lang.extend(rt.asn1.DEROctetString,rt.asn1.DERAbstractString),rt.asn1.DERNull=function(){rt.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},it.lang.extend(rt.asn1.DERNull,rt.asn1.ASN1Object),rt.asn1.DERObjectIdentifier=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",i=new E(t,10),r=i.toString(2),o=7-r.length%7;7==o&&(o=0);for(var s="",a=0;a<o;a++)s+="0";r=s+r;for(a=0;a<r.length-1;a+=7){var u=r.substr(a,7);a!=r.length-7&&(u="1"+u),n+=e(parseInt(u,2))}return n};rt.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var i="",r=t.split("."),o=40*parseInt(r[0])+parseInt(r[1]);i+=e(o),r.splice(0,2);for(var s=0;s<r.length;s++)i+=n(r[s]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(t){var e=rt.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"===typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},it.lang.extend(rt.asn1.DERObjectIdentifier,rt.asn1.ASN1Object),rt.asn1.DEREnumerated=function(t){rt.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=rt.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new E(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t["int"]?this.setByInteger(t["int"]):"number"==typeof t?this.setByInteger(t):"undefined"!=typeof t["hex"]&&this.setValueHex(t["hex"]))},it.lang.extend(rt.asn1.DEREnumerated,rt.asn1.ASN1Object),rt.asn1.DERUTF8String=function(t){rt.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},it.lang.extend(rt.asn1.DERUTF8String,rt.asn1.DERAbstractString),rt.asn1.DERNumericString=function(t){rt.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},it.lang.extend(rt.asn1.DERNumericString,rt.asn1.DERAbstractString),rt.asn1.DERPrintableString=function(t){rt.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},it.lang.extend(rt.asn1.DERPrintableString,rt.asn1.DERAbstractString),rt.asn1.DERTeletexString=function(t){rt.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},it.lang.extend(rt.asn1.DERTeletexString,rt.asn1.DERAbstractString),rt.asn1.DERIA5String=function(t){rt.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},it.lang.extend(rt.asn1.DERIA5String,rt.asn1.DERAbstractString),rt.asn1.DERUTCTime=function(t){rt.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return"undefined"==typeof this.date&&"undefined"==typeof this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},it.lang.extend(rt.asn1.DERUTCTime,rt.asn1.DERAbstractTime),rt.asn1.DERGeneralizedTime=function(t){rt.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis&&(this.withMillis=!0))},it.lang.extend(rt.asn1.DERGeneralizedTime,rt.asn1.DERAbstractTime),rt.asn1.DERSequence=function(t){rt.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++){var n=this.asn1Array[e];t+=n.getEncodedHex()}return this.hV=t,this.hV}},it.lang.extend(rt.asn1.DERSequence,rt.asn1.DERAbstractStructured),rt.asn1.DERSet=function(t){rt.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var n=this.asn1Array[e];t.push(n.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},"undefined"!=typeof t&&"undefined"!=typeof t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},it.lang.extend(rt.asn1.DERSet,rt.asn1.DERAbstractStructured),rt.asn1.DERTaggedObject=function(t){rt.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,n){this.hT=e,this.isExplicit=t,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t["tag"]&&(this.hT=t["tag"]),"undefined"!=typeof t["explicit"]&&(this.isExplicit=t["explicit"]),"undefined"!=typeof t["obj"]&&(this.asn1Object=t["obj"],this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},it.lang.extend(rt.asn1.DERTaggedObject,rt.asn1.ASN1Object),n.d(e,"a",(function(){return st}));var ot=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),st=function(t){function e(n){var i=t.call(this)||this;return n&&("string"===typeof n?i.parseKey(n):(e.hasPrivateKeyProperty(n)||e.hasPublicKeyProperty(n))&&i.parsePropertiesFrom(n)),i}return ot(e,t),e.prototype.parseKey=function(t){try{var e=0,n=0,i=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,r=i.test(t)?s.decode(t):a.unarmor(t),o=g.decode(r);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){e=o.sub[1].getHexStringValue(),this.n=L(e,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var u=o.sub[3].getHexStringValue();this.d=L(u,16);var c=o.sub[4].getHexStringValue();this.p=L(c,16);var h=o.sub[5].getHexStringValue();this.q=L(h,16);var l=o.sub[6].getHexStringValue();this.dmp1=L(l,16);var f=o.sub[7].getHexStringValue();this.dmq1=L(f,16);var d=o.sub[8].getHexStringValue();this.coeff=L(d,16)}else{if(2!==o.sub.length)return!1;if(o.sub[0].sub){var p=o.sub[1],m=p.sub[0];e=m.sub[0].getHexStringValue(),this.n=L(e,16),n=m.sub[1].getHexStringValue(),this.e=parseInt(n,16)}else e=o.sub[0].getHexStringValue(),this.n=L(e,16),n=o.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(v){return!1}},e.prototype.getPrivateBaseKey=function(){var t={array:[new rt.asn1.DERInteger({int:0}),new rt.asn1.DERInteger({bigint:this.n}),new rt.asn1.DERInteger({int:this.e}),new rt.asn1.DERInteger({bigint:this.d}),new rt.asn1.DERInteger({bigint:this.p}),new rt.asn1.DERInteger({bigint:this.q}),new rt.asn1.DERInteger({bigint:this.dmp1}),new rt.asn1.DERInteger({bigint:this.dmq1}),new rt.asn1.DERInteger({bigint:this.coeff})]},e=new rt.asn1.DERSequence(t);return e.getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return Object(o["b"])(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var t=new rt.asn1.DERSequence({array:[new rt.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new rt.asn1.DERNull]}),e=new rt.asn1.DERSequence({array:[new rt.asn1.DERInteger({bigint:this.n}),new rt.asn1.DERInteger({int:this.e})]}),n=new rt.asn1.DERBitString({hex:"00"+e.getEncodedHex()}),i=new rt.asn1.DERSequence({array:[t,n]});return i.getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return Object(o["b"])(this.getPublicBaseKey())},e.wordwrap=function(t,e){if(e=e||64,!t)return t;var n="(.{1,"+e+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(n,"g")).join("\n")},e.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return t+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n",t+="-----END RSA PRIVATE KEY-----",t},e.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return t+=e.wordwrap(this.getPublicBaseKeyB64())+"\n",t+="-----END PUBLIC KEY-----",t},e.hasPublicKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},e}(Q)}}]);