@zoom/meetingsdk 3.5.1 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui/337.zoom-meetingsdk.css +1 -1
- package/dist/ui/zoomus-websdk-MobileReportProblemContent.umd.min.js +1 -1
- package/dist/ui/zoomus-websdk-ReportProblemContent.umd.min.js +1 -1
- package/dist/ui/zoomus-websdk-chat-list.umd.min.js +1 -1
- package/dist/ui/zoomus-websdk-loginview.umd.min.js +1 -1
- package/dist/ui/zoomus-websdk-main-client.umd.min.js +1 -1
- package/dist/ui/zoomus-websdk-preview.umd.min.js +1 -1
- package/dist/ui/zoomus-websdk-zoommtgMain.umd.min.js +1 -1
- package/dist/zoom-meeting-3.5.2.min.js +2 -0
- package/dist/zoom-meeting-embedded-ES5.min.js +1 -1
- package/dist/zoomus-websdk.umd.min.js +1 -1
- package/index.d.ts +0 -5
- package/package.json +1 -1
- package/dist/zoom-meeting-3.5.1.min.js +0 -2
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see zoom-meeting-ui-3.5.1.min.js.LICENSE.txt */
|
|
2
|
-
!function(){var e={894:function(e,t,n){var r,i,o,a;function s(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||D(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t,n){return t=f(t),function(e,t){if(t&&("object"===b(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return c(e)}(e,l()?Reflect.construct(t,n||[],f(e).constructor):t.apply(e,n))}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function g(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){var t=function(e,t){if("object"!=b(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==b(t)?t:String(t)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(){"use strict";E=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),s=new N(r||[]);return i(a,"_invoke",{value:I(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",g="completed",m={};function v(){}function _(){}function y(){}var S={};c(S,a,(function(){return this}));var D=Object.getPrototypeOf,w=D&&D(D(R([])));w&&w!==n&&r.call(w,a)&&(S=w);var A=y.prototype=v.prototype=Object.create(S);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(i,o,a,s){var u=f(e[i],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==b(l)&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function I(t,n,r){var i=h;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===g){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var u=O(s,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=f(t,n,r);if("normal"===c.type){if(i=r.done?g:d,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=g,r.method="throw",r.arg=c.arg)}}}function O(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function F(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function R(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(b(t)+" is not iterable")}return _.prototype=y,i(A,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:_,configurable:!0}),_.displayName=c(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,u,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},C(T.prototype),c(T.prototype,s,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new T(l(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(A),c(A,u,"Generator"),c(A,a,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=R,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(F),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),F(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;F(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||D(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=D(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function D(e,t){if(e){if("string"===typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}e=n.nmd(e),self,a=function(e,t,n,r){return function(){var i={66926:function(e,t){!function(e){"use strict";var t={FEATUTRE_FLAG_UNDEFINE:void 0,FEATUTRE_FLAG_ENABLE:!0,FEATUTRE_FLAG_DISABLE:!1},n=function(){function e(e){this.featureOptions=e||""}return e.prototype.getOpFeatureFlagBit=function(e,t){void 0===t&&(t=1);var n=this.featureOptions.length-e-t+1;if(!(n<0)){var r=this.featureOptions.slice(n,this.featureOptions.length-e+1);if(r)return parseInt(r,16)}},e.prototype.getOpFeatureFlag=function(e,n,r){void 0===n&&(n=1);var i=this.getOpFeatureFlagBit(e,n);if(void 0===i)return t.FEATUTRE_FLAG_UNDEFINE;if(r){var o=r(i);if(void 0!==o&&"boolean"!==typeof o)throw new Error("Rule must return FEATUTRE_FLAG type value");return o}return 0!==i?t.FEATUTRE_FLAG_ENABLE:t.FEATUTRE_FLAG_DISABLE},e.prototype.getOpFeatureFlagFromRuleMap=function(e,n,r,i){void 0===n&&(n=1),void 0===i&&(i=[]);var o=this.getOpFeatureFlagBit(e,n);if(void 0===o)return t.FEATUTRE_FLAG_UNDEFINE;var a=i.find((function(e){return"function"===typeof e.checked?e.checked(o,e):!!e.checked}));return a?a.rule?a.rule(o,a):r?r(o,a):t.FEATUTRE_FLAG_DISABLE:t.FEATUTRE_FLAG_DISABLE},e}(),r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},s=new Error("Browser don't support change speaker");s.name="CHANGE_SPEAKER_ERROR";var u=function(){function e(e){this.options=o({analyserFrequent:20},e||{}),this.initAudioCtx(),this.initAnalyserNode(),this.initAudioPlayer(),this.setAnalyzingStatus(!1)}return e.prototype.getAnalyzingStatus=function(){return!!this.isAnalyzing},e.prototype.setAnalyzingStatus=function(e){this.isAnalyzing=!!e},e.prototype.getDestroyedStatus=function(){return!!this.isDestroyed},e.prototype.setDestroyedStatus=function(e){this.isDestroyed=!!e},e.prototype.initAudioCtx=function(){this.audioCtx=new AudioContext,this.destinationNode=new MediaStreamAudioDestinationNode(this.audioCtx)},e.prototype.initAnalyserNode=function(){this.analyserNode=this.audioCtx.createAnalyser(),this.analyserNode.connect(this.destinationNode),this.analyserNode.fftSize=1024},e.prototype.analyserNodeIntervalCallback=function(){var e,t;if(this.analyserNodeBufferDataArray&&this.options.analyserCallback){this.analyserNode.getByteFrequencyData(this.analyserNodeBufferDataArray);var n=0;try{for(var r=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(this.analyserNodeBufferDataArray),i=r.next();!i.done;i=r.next())n+=i.value}catch(a){e={error:a}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}var o=n/this.analyserNodeBufferDataArray.length;this.options.analyserCallback(o)}},e.prototype.setAnalyzeInterval=function(){this.clearAnalyzeInterval();var e=this.analyserNode.frequencyBinCount;this.analyserNodeBufferDataArray=new Uint8Array(e),this.analyserNodeTimer=window.setInterval(this.analyserNodeIntervalCallback.bind(this),this.options.analyserFrequent)},e.prototype.clearAnalyzeInterval=function(){this.analyserNodeTimer&&(window.clearInterval(this.analyserNodeTimer),this.analyserNodeTimer=null,this.analyserNodeBufferDataArray=null)},e.prototype.stopAnalyze=function(){this.setAnalyzingStatus(!1),this.clearAnalyzeInterval(),this.stopAudioPlayer()},e.prototype.startAnalyze=function(e){var t=this;return this.getAnalyzingStatus()?Promise.reject(new Error("Analyze is runing already")):this.getDestroyedStatus()?Promise.reject(new Error("WCAudioOutputLevel is destroyed already")):(this.setAnalyzingStatus(!0),(e?e():Promise.resolve(!0)).then((function(){return t.setAnalyzeInterval(),t.startAudioPlayer()})).catch((function(e){throw t.stopAnalyze(),console.error(e),e})))},e.prototype.initAudioPlayer=function(){this.audioPlayer=new Audio,this.audioPlayer.loop=!0,this.audioPlayer.srcObject=this.destinationNode.stream},e.prototype.stopAudioPlayer=function(){this.audioPlayer&&(this.audioPlayer.currentTime=0,this.audioPlayer.pause())},e.prototype.startAudioPlayer=function(){return this.resumeAudioCtx(),this.audioPlayer.currentTime=0,this.audioPlayer.play()},e.prototype.resumeAudioCtx=function(){"running"!==this.audioCtx.state&&this.audioCtx.resume()},e}(),c=function(){function e(e){this.options=o({maxRecordDuration:1e4},e||{}),this.isRecording=!1,this.chunks=[],this.initAudioPlayer()}return e.prototype.isSupportReording=function(){return"function"===typeof MediaRecorder},e.prototype.start=function(e){var t=this;if(!this.isSupportReording())return Promise.reject(new Error("Broswer doesn't support MeidaRecorder"));if(this.isRecording)return Promise.reject(new Error("Recording is running already"));var n=new Promise((function(n,r){t.isRecording=!0,t.setRecordTimer(),t.recorder=new MediaRecorder(e),t.recorder.ondataavailable=t.handleDataAvailable.bind(t),t.recorder.onstop=function(){n(t.handleRecordStopped())},t.recorder.onerror=r,t.recorder.start()})).finally(this.clearRecordStatus.bind(this)),r=n.then((function(e){return!!e&&t.startAudioPlayer(e)}));return Promise.resolve({recordPromise:n,playRecordPromise:r})},e.prototype.setRecordTimer=function(){this.clearRecordTimer(),this.timer=setTimeout(this.stop.bind(this),this.options.maxRecordDuration)},e.prototype.clearRecordTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.handleDataAvailable=function(e){e.data&&this.chunks.push(e.data)},e.prototype.handleRecordStopped=function(){var e;if(this.chunks.length>0&&this.shouldPlayAfterStop){var t=new Blob(this.chunks,{type:(null===(e=this.chunks[0])||void 0===e?void 0:e.type)||"audio/ogg; codecs=opus"});return window.URL.createObjectURL(t)}return""},e.prototype.clearRecordStatus=function(){this.clearRecordTimer(),this.recorder&&(this.recorder.ondataavailable=null,this.recorder.onstop=null),this.recorder=null,this.isRecording=!1,this.chunks=[],this.shouldPlayAfterStop=!1},e.prototype.stop=function(e){void 0===e&&(e=!0),this.recorder&&this.isRecording&&(this.shouldPlayAfterStop=e,this.recorder.stop())},e.prototype.initAudioPlayer=function(){this.audioPlayer=new Audio},e.prototype.stopAudioPlayer=function(){this.audioPlayer&&this.audioPlayer.pause()},e.prototype.clearAudioPlayerStatus=function(){this.audioPlayer.currentTime=0,this.audioPlayer.src="",this.audioPlayer.onended=null,this.audioPlayer.onpause=null,this.audioPlayer.onerror=null},e.prototype.startAudioPlayer=function(e){var t=this;return new Promise((function(n,r){t.audioPlayer.src=e,t.audioPlayer.currentTime=0,t.audioPlayer.play().catch(r),t.audioPlayer.onended=function(){window.URL.revokeObjectURL(e),n(!0)},t.audioPlayer.onpause=function(){window.URL.revokeObjectURL(e),n(!0)},t.audioPlayer.onerror=r})).finally(this.clearAudioPlayerStatus.bind(this))},e.prototype.changeSpeaker=function(e){return this.audioPlayer.setSinkId?this.audioPlayer.setSinkId(e):Promise.reject(s)},e}(),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.IsBrowserSupport=function(){return"function"===typeof AudioContext&&"function"===typeof MediaStreamAudioDestinationNode&&AudioContext.prototype.createAnalyser&&AudioContext.prototype.createBufferSource&&AudioContext.prototype.decodeAudioData},t.IsBrowserSupportChangeSpeaker=function(){return"function"===typeof Audio.prototype.setSinkId},t.prototype.start=function(e,t){var n=this;return e?this.startAnalyze((function(){return n.initSourceNode(e)})).then((function(){if(t)return n.changeSpeaker(t,!1)})):Promise.reject(new Error("No audio data to test speaker"))},t.prototype.stop=function(){this.stopAnalyze(),this.clearSourceNode()},t.prototype.initSourceNode=function(e){var t=this;return this.clearSourceNode(),(this.sourceNodeBuffer?Promise.resolve(this.sourceNodeBuffer):this.audioCtx.decodeAudioData(e)).then((function(e){return t.sourceNode=t.audioCtx.createBufferSource(),t.sourceNodeBuffer=e,t.sourceNode.buffer=e,t.sourceNode.loop=!0,t.sourceNode.connect(t.analyserNode),t.sourceNode.start(0),t.resumeAudioCtx(),!0})).catch((function(e){throw t.clearSourceNode(),console.error(e),e}))},t.prototype.clearSourceNode=function(){this.sourceNode&&(this.sourceNode.stop(0),this.sourceNode.disconnect(this.analyserNode),this.sourceNode.buffer=null,this.sourceNode=null)},t.prototype.destroy=function(){this.stop(),this.analyserNode.disconnect(this.destinationNode),this.setDestroyedStatus(!0),this.audioCtx.close(),this.sourceNodeBuffer=null},t.prototype.changeSpeaker=function(e,t){return void 0===t&&(t=!0),t&&this.stop(),this.audioPlayer.setSinkId?this.audioPlayer.setSinkId(e):Promise.reject(s)},t}(u),f=function(e){function t(t){var n=this,r=t||{},i=r.maxRecordDuration,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(r,["maxRecordDuration"]);return(n=e.call(this,o)||this).audioRecorder=new c(i?{maxRecordDuration:i}:void 0),n}return i(t,e),t.IsBrowserSupport=function(){var e;return"function"===typeof AudioContext&&"function"===typeof MediaStreamAudioDestinationNode&&AudioContext.prototype.createAnalyser&&AudioContext.prototype.createMediaStreamSource&&(null===(e=window.navigator.mediaDevices)||void 0===e?void 0:e.getUserMedia)},t.IsBrowserSupportChangeSpeaker=function(){return"function"===typeof Audio.prototype.setSinkId},t.prototype.initSourceNode=function(e){var t=this;this.clearSourceNode();var n=e||this.currentMicrophoneDeviceId;return window.navigator.mediaDevices.getUserMedia({audio:!n||{deviceId:n}}).then((function(e){return t.audioStream=e,t.sourceNode=t.audioCtx.createMediaStreamSource(e),t.sourceNode.connect(t.analyserNode),t.resumeAudioCtx(),!0})).catch((function(e){throw t.clearSourceNode(),console.error(e),e}))},t.prototype.clearSourceNode=function(){this.sourceNode&&(this.sourceNode.disconnect(this.analyserNode),this.sourceNode=null),this.audioStream&&(this.audioStream.getAudioTracks().forEach((function(e){e.stop()})),this.audioStream=null),this.audioRecorder&&(this.stopRecord(!1),this.audioRecorder.stopAudioPlayer())},t.prototype.start=function(e){var t=this;return this.startAnalyze((function(){return t.audioPlayer.muted=!0,t.initSourceNode(e)}))},t.prototype.stop=function(){this.stopAnalyze(),this.clearSourceNode()},t.prototype.changeMicrophone=function(e){return this.currentMicrophoneDeviceId=e,this.audioStream&&this.getAnalyzingStatus()?this.initSourceNode(e):Promise.resolve(!0)},t.prototype.destroy=function(){this.stop(),this.analyserNode.disconnect(this.destinationNode),this.setDestroyedStatus(!0),this.audioCtx.close(),this.currentMicrophoneDeviceId=null},t.prototype.startRecord=function(){return this.getAnalyzingStatus()?this.audioStream?this.audioRecorder?this.audioRecorder.start(this.audioStream):Promise.reject(new Error("Recorder has been destroyed")):Promise.reject(new Error("Audio input stream is not capturing")):Promise.reject(new Error("Analyze is not runing"))},t.prototype.stopRecord=function(e){var t;void 0===e&&(e=!0),this.getAnalyzingStatus()&&this.audioStream&&(null===(t=this.audioRecorder)||void 0===t?void 0:t.isRecording)&&this.audioRecorder.stop(e)},t.prototype.changeSpeaker=function(e){return this.audioRecorder&&this.audioRecorder.changeSpeaker(e),this.audioPlayer.setSinkId?this.audioPlayer.setSinkId(e):Promise.reject(s)},t}(u);e.FEATUTRE_FLAG=t,e.OpFeatureUtility=n,e.WCAudioInputLevel=f,e.WCAudioOutputLevel=l,Object.defineProperty(e,"__esModule",{value:!0})}(t)},29115:function(e,t,n){"use strict";n.d(t,{B:function(){return i},H:function(){return o}});var r={},i=function(e,t){r[t]=e},o=r},96808:function(e,t,n){"use strict";n.d(t,{R:function(){return o},_:function(){return a}});var r=n(29115),i=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},o=function(e,t,n){return i(void 0,void 0,void 0,E().mark((function r(){var i,o,a,s,u,c,l,f,h;return E().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=e.idbManager,o=e.logManager,r.t0=Array.isArray(n),!r.t0){r.next=7;break}return r.next=5,i.deleteLogs(n);case 5:o.deleteLogs(n),r.t0=!t;case 7:if(!r.t0){r.next=9;break}return r.abrupt("return");case 9:a=e.logManager.filterStore(t),s=[],u=S(a);try{for(u.s();!(c=u.n()).done;)(l=y(c.value,2))[0],f=l[1],s.push(f.id)}catch(d){u.e(d)}finally{u.f()}return h=s,Array.isArray(s)||(h=[s]),r.next=16,i.deleteLogs(h);case 16:o.deleteLogs(h);case 17:case"end":return r.stop()}}),r)})))},a=function(e){return i(void 0,void 0,void 0,E().mark((function t(){var n,r;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.idbManager,r=e.logManager,t.next=3,n.reset();case 3:r.reset();case 4:case"end":return t.stop()}}),t)})))};(0,r.B)(o,"commonDelete"),(0,r.B)(a,"commonReset")},2179:function(e,t,n){"use strict";n.d(t,{X:function(){return s}});var r=n(93332),i=n(27400),o=n(75706),a=n(29115),s=function(e,t,n,a,s){var u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,E().mark((function c(){var l,f,h,d,p,g,m,v,_;return E().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(l=u.noCache,f=u.extraProperties,h=void 0===f?{}:f,d=function(e,t,n,r,i,o){var a=Array.isArray(t)?t:[t],s=Date.now();return Object.assign({message:e,logLevel:n,tags:a,encryptMode:r,timestamp:s,laplaceSessionId:i},o)}("".concat(t),n,a,s,e.uuid,h),p=(0,i.W)(e,r.qH.beforeLog,d),!l){c.next=5;break}(0,i.W)(e,r.qH.afterLog,d),c.next=17;break;case 5:return g=e.idbManager,m=e.logManager,c.next=9,g.makeNextId();case 9:return v=c.sent,p.message=(0,o.h$)(p.message),_=Object.assign(Object.assign({},p),{id:v}),e.updateCurrentSize(_)&&(0,i.W)(e,r.qH.hitSizeLimit,_),m.addLog(_),c.next=16,g.addLog(_);case 16:(0,i.W)(e,r.qH.afterLog,_);case 17:case"end":return c.stop()}}),c)})))};(0,a.B)(s,"commonLog")},14791:function(e,t,n){"use strict";n.d(t,{Hj:function(){return d},Vk:function(){return p},ZM:function(){return l},k4:function(){return f}});var r=n(80101),i=n(75706),o=n(29115),a=n(93332),s=n(27400),u=n(3733),c=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n="".concat(e);n.length<t;)n="0".concat(n);return n},l=function(e){var t=new Date(e);return"".concat(t.getUTCFullYear(),"-").concat(c(t.getUTCMonth()+1),"-").concat(c(t.getUTCDate())," ").concat(c(t.getUTCHours()),":").concat(c(t.getUTCMinutes()),":").concat(c(t.getUTCSeconds()),".").concat(c(t.getUTCMilliseconds(),3))},f={version:"000001",flag:"0"},h=function(e,t){return Array.from(e.values()).reduce((function(e,n){var r=function(e,t){var n=e.message,r=e.logLevel,i=e.tags,o=e.timestamp,s=(e.encryptMode,e.id,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["message","logLevel","tags","timestamp","encryptMode","id"])),c=Object.assign(Object.assign({time:l(o),logLevel:a.in[r],message:n,tags:i},t),s);return(0,u.lh)(c)}(n,t),o=(0,i.Lu)(r),s=e[e.length-1];return s.currentSize+o>30720?e.push({messages:[r],ids:[n.id],currentSize:o}):(s.messages.push(r),s.ids.push(n.id),s.currentSize+=o),e}),[{messages:[],ids:[],currentSize:0}]).filter((function(e){return e.currentSize>0})).map((function(e){return{messages:e.messages.join("\n"),ids:e.ids,meta:f}}))},d=function(e,t,n){return function(e,t,n){return Promise.all(e.map((function(e){return Object.assign({url:t||"",type:"POST",withCredentials:!1,headers:{},data:(0,u.lh)({messages:e.messages,meta:e.meta}),reportItem:e},n)})).map(r.K))}(e,t.reportUrl,n).then((function(e){e.forEach((function(e){var n;(0,s.W)(t,a.qH.afterReport,{report:e.report,error:null!==(n=e.error)&&void 0!==n?n:null})}))}))},p=function(e,t,n){return function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,E().mark((function r(){var i,o,u,c,l,f;return E().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((i=e.logManager.filterStore(t))&&0!==(null===i||void 0===i?void 0:i.size)&&n){r.next=3;break}return r.abrupt("return");case 3:o=n.xhrOptions,u=void 0===o?{}:o,c=n.additionalContext,l=(0,s.W)(e,a.qH.beforeReport,i),f=h(l,c),d(f,e,u);case 5:case"end":return r.stop()}}),r)})))};(0,o.B)(p,"commonReport")},15964:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(14791),i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,E().mark((function i(){var o,a,s,u;return E().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(s=null!==(o=n.sampleRate)&&void 0!==o?o:1,!(Math.random()>s)){i.next=3;break}return i.abrupt("return");case 3:return i.abrupt("return",(n.useRawData?u=t:(u=Object.assign({message:Object.assign(Object.assign({},t),n.extraMsg),time:(0,r.ZM)(Date.now())},n.extraData),(null===(a=null===n||void 0===n?void 0:n.tags)||void 0===a?void 0:a.length)&&(u.tags=null===n||void 0===n?void 0:n.tags)),(0,r.Hj)([{messages:u,meta:r.k4}],e,n.xhrOptions)));case 4:case"end":return i.stop()}}),i)})))}},14507:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(24678),i=n(75706),o=n(45226),a=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},s="change_meta",u="change_log",c=function(){return Promise.resolve()},l=g((function e(t){var n=this;v(this,e),this.waitingForReset=!1,this.resetting=!1,this.isChangingMeta=!1,this.isChangingLog=!1,this.dbFailCount={read:0,write:0},this.get=function(e){return(0,r.U2)(e,n.store)},this.set=function(e,t){return a(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,n.t0=!(this.dbFailCount.write>3),!n.t0){n.next=6;break}return n.next=5,(0,r.t8)(e,t,this.store);case 5:n.t0=n.sent;case 6:return n.abrupt("return",n.t0);case 9:if(n.prev=9,n.t1=n.catch(0),n.t2=n.t1 instanceof DOMException,!n.t2){n.next=21;break}if(!n.t1||"QuotaExceededError"!==n.t1.name){n.next=20;break}return n.next=16,this.deleteOldLogsForSetNewOne();case 16:return n.next=18,this.set(e,t);case 18:n.next=21;break;case 20:this.dbFailCount.write+=1;case 21:console.error(n.t1);case 22:case"end":return n.stop()}}),n,this,[[0,9]])})))},this.deleteOldLogsForSetNewOne=function(){return a(n,void 0,void 0,E().mark((function e(){var t,n,i,o,a;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getAllLogs();case 2:for(n=e.sent,i=[],o=0;o<13;o++)((a=null===(t=n[o])||void 0===t?void 0:t.id)||0===a)&&i.push("".concat(a));return e.abrupt("return",(0,r.Qv)(i,this.store));case 6:case"end":return e.stop()}}),e,this)})))},this.adjustMaxId=function(){return a(n,void 0,void 0,E().mark((function e(){var t=this;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.resetting){e.next=4;break}e.t0=c(),e.next=8;break;case 4:return this.isChangingMeta=!0,e.next=7,(0,o.s)((function(){return a(t,void 0,void 0,E().mark((function e(){var t,n,r,i;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getAllLogs();case 2:return n=e.sent,r=n[n.length-1],i=null!==(t=null===r||void 0===r?void 0:r.id)&&void 0!==t?t:0,e.next=7,this.set("maxId",i);case 7:return e.abrupt("return",i);case 8:case"end":return e.stop()}}),e,this)})))}),s);case 7:e.t0=e.sent;case 8:return e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,this)})))},this.makeNextId=function(){return a(n,void 0,void 0,E().mark((function e(){var t=this;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.resetting){e.next=4;break}e.t0=c(),e.next=8;break;case 4:return this.isChangingMeta=!0,e.next=7,(0,o.s)((function(){return a(t,void 0,void 0,E().mark((function e(){var t,n;return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.get("maxId");case 2:if((t=e.sent)||0===t){e.next=7;break}return e.next=6,this.set("maxId",0);case 6:return e.abrupt("return",0);case 7:return n=t+1,e.next=10,this.set("maxId",n);case 10:return e.abrupt("return",n);case 11:case"end":return e.stop()}}),e,this)})))}),s);case 7:e.t0=e.sent;case 8:return e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,this)})))},this.addLog=function(e){return a(n,void 0,void 0,E().mark((function t(){var n=this;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.resetting){t.next=2;break}return t.abrupt("return",c());case 2:return this.isChangingLog=!0,t.next=5,(0,o.s)((function(){return a(n,void 0,void 0,E().mark((function t(){var n;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.id,t.abrupt("return",this.set("".concat(n),e));case 2:case"end":return t.stop()}}),t,this)})))}),u);case 5:case"end":return t.stop()}}),t,this)})))},this.getAllLogs=function(){return a(n,void 0,void 0,E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,r.qh)(this.store);case 2:return e.abrupt("return",e.sent.filter((function(e){return"maxId"!==y(e,1)[0]})).sort((function(e,t){var n,r;return(null===(n=e[1])||void 0===n?void 0:n.id)-(null===(r=t[1])||void 0===r?void 0:r.id)})).map((function(e){return y(e,2)[1]})));case 3:case"end":return e.stop()}}),e,this)})))},this.deleteLogs=function(e){return a(n,void 0,void 0,E().mark((function t(){var n=this;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.resetting){t.next=2;break}return t.abrupt("return",c());case 2:return this.isChangingLog=!0,t.next=5,(0,o.s)((function(){return a(n,void 0,void 0,E().mark((function t(){return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,r.Qv)(e.map((function(e){return"".concat(e)})),this.store));case 1:case"end":return t.stop()}}),t,this)})))}),u);case 5:return t.next=7,this.adjustMaxId();case 7:case"end":return t.stop()}}),t,this)})))},this.saveAESGCM256Key=function(e,t,r){return a(n,void 0,void 0,E().mark((function n(){var o,a;return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!r){n.next=11;break}return n.next=3,self.crypto.subtle.exportKey("raw",t);case 3:return o=n.sent,n.next=6,(0,i.HI)(o,r,new Uint8Array(16));case 6:return a=n.sent,n.next=9,this.set("aes-gcm-256-".concat(e),a);case 9:n.next=13;break;case 11:return n.next=13,this.set("aes-gcm-256-".concat(e),t);case 13:case"end":return n.stop()}}),n,this)})))},this.reset=function(){return a(n,void 0,void 0,E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.resetting){e.next=4;break}e.t0=c(),e.next=15;break;case 4:if(this.waitingForReset=!0,!this.isChangingLog&&!this.isChangingMeta){e.next=9;break}e.t1=c(),e.next=14;break;case 9:return this.resetting=!0,e.next=12,(0,r.ZH)(this.store);case 12:this.resetting=!1,e.t1=void(this.waitingForReset=!1);case 14:e.t0=e.t1;case 15:return e.abrupt("return",e.t0);case 16:case"end":return e.stop()}}),e,this)})))},this.store=(0,r.MT)(t,t+"-store"),(0,o.e)(s,(function(){if(n.isChangingMeta=!1,n.waitingForReset)return n.reset()})),(0,o.e)(u,(function(){if(n.isChangingLog=!1,n.waitingForReset)return n.reset()}))}))},45226:function(e,t,n){"use strict";n.d(t,{e:function(){return u},s:function(){return s}});var r=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},i={default:{queue:[],isRunning:!1,listeners:[]}},o=function(e){var t=i[e];return t||(t={queue:[],isRunning:!1,listeners:[]},i[e]=t),t};function a(e){return r(this,void 0,void 0,E().mark((function t(){var n,r,i,s,u;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=o(e),r=n.queue,i=n.listeners;case 1:if(!(r.length>0)||n.isRunning){t.next=17;break}return s=r.shift(),n.isRunning=!0,t.prev=4,t.next=7,s.task();case 7:u=t.sent,s.resolution(u),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(4),s.rejection(t.t0);case 14:n.isRunning=!1,a(e);case 15:t.next=1;break;case 17:i.length&&i.forEach((function(e){e()}));case 18:case"end":return t.stop()}}),t,null,[[4,11]])})))}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=o(t);try{return new Promise((function(r,i){n.queue.push({task:e,resolution:r,rejection:i}),a(t)}))}catch(r){return Promise.reject(r)}}var u=function(e,t){o(e).listeners.push(t)}},7614:function(e,t,n){"use strict";n.d(t,{o:function(){return m},q:function(){return r}});var r=n(93332),i=n(76021),o=n(42837),a=n(2179),s=n(14791),u=n(96808),c=n(14507),l=n(27400),f=n(75706),h=n(15964),d=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},p={databaseName:"laplace-default-db",maxSize:49283072},m=g((function e(t){var n=this;v(this,e),this.commonLogWithContext=function(e,t,r,i,o){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,a.X)(this.runtimeMetaManager,e,t,r,i,o);case 2:case"end":return n.stop()}}),n,this)})))},this.commonReportWithContext=function(e,t){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,s.Vk)(this.runtimeMetaManager,e,t);case 2:case"end":return n.stop()}}),n,this)})))},this.commonDeleteWithContext=function(e){return d(n,void 0,void 0,E().mark((function t(){return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,u.R)(this.runtimeMetaManager,e);case 2:case"end":return t.stop()}}),t,this)})))},this.resetWithContext=function(){return d(n,void 0,void 0,E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u._)(this.runtimeMetaManager);case 2:case"end":return e.stop()}}),e,this)})))},this.initLocalAESGCM256Key=function(){return d(n,void 0,void 0,E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.qy)();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))},this.doNotUseDirtyGetStore=function(){return n.runtimeMetaManager.logManager.getStore()},this.log=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.log,r.D4.PLAIN,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.info=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.info,r.D4.PLAIN,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.warn=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.warn,r.D4.PLAIN,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.debug=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.debug,r.D4.PLAIN,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.error=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.error,r.D4.PLAIN,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.logWithEncryption=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.log,r.D4.AESGCM256,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.infoWithEncryption=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.info,r.D4.AESGCM256,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.debugWithEncryption=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.debug,r.D4.AESGCM256,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.warnWithEncryption=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.warn,r.D4.AESGCM256,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.errorWithEncryption=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.error,r.D4.AESGCM256,{extraProperties:i});case 2:case"end":return n.stop()}}),n,this)})))},this.logWithoutCache=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.log,r.D4.PLAIN,{extraProperties:i,noCache:!0});case 2:case"end":return n.stop()}}),n,this)})))},this.infoWithoutCache=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.info,r.D4.PLAIN,{extraProperties:i,noCache:!0});case 2:case"end":return n.stop()}}),n,this)})))},this.warnWithoutCache=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.warn,r.D4.PLAIN,{extraProperties:i,noCache:!0});case 2:case"end":return n.stop()}}),n,this)})))},this.debugWithoutCache=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.debug,r.D4.PLAIN,{extraProperties:i,noCache:!0});case 2:case"end":return n.stop()}}),n,this)})))},this.errorWithoutCache=function(e,t,i){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonLogWithContext(e,t,r.in.error,r.D4.PLAIN,{extraProperties:i,noCache:!0});case 2:case"end":return n.stop()}}),n,this)})))},this.getLogs=function(e){var t=n.runtimeMetaManager.logManager;return t?t.filterStore(e):new Map},this.report=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return h.Z.apply(void 0,[n.runtimeMetaManager].concat(t))},this.reportByHttps=function(e,t){return d(n,void 0,void 0,E().mark((function n(){return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.commonReportWithContext(e,t);case 2:case"end":return n.stop()}}),n,this)})))},this.deleteLog=function(e){return d(n,void 0,void 0,E().mark((function t(){return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.commonDeleteWithContext(e);case 2:case"end":return t.stop()}}),t,this)})))},this.deleteAll=function(){return d(n,void 0,void 0,E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.resetWithContext();case 2:case"end":return e.stop()}}),e,this)})))};var i=t.runtimeMetaManager;this.runtimeMetaManager=i}));m.init=function(e){return d(void 0,void 0,void 0,E().mark((function t(){var n,a,s,u,f,h;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.databaseName,a=void 0===n?"laplace-default-db":n,s=new c.p(a),u=new o.O,f=new i.w(Object.assign(Object.assign(Object.assign({},p),e),{idbManager:s,logManager:u})),(0,l.W)(f,r.qH.beforeInit),t.next=4,u.syncFromIDB(f.idbManager);case 4:return h=new m({runtimeMetaManager:f}),t.abrupt("return",((0,l.W)(f,r.qH.afterInit),h));case 6:case"end":return t.stop()}}),t)})))}},93332:function(e,t,n){"use strict";var r,i,o,a;n.d(t,{D4:function(){return r},Fu:function(){return o},in:function(){return i},kF:function(){return s},qH:function(){return a}}),function(e){e[e.PLAIN=0]="PLAIN",e[e.RSA=1]="RSA",e[e.AESGCM256=2]="AESGCM256"}(r||(r={})),function(e){e[e.info=0]="info",e[e.debug=1]="debug",e[e.log=2]="log",e[e.warn=3]="warn",e[e.error=4]="error"}(i||(i={})),function(e){e[e.PROTECT_LOCAL_KEY=0]="PROTECT_LOCAL_KEY"}(o||(o={})),function(e){e.beforeInit="beforeInit",e.afterInit="afterInit",e.beforeLog="beforeLog",e.hitSizeLimit="hitSizeLimit",e.afterLog="afterLog",e.beforeReport="beforeReport",e.afterReport="afterReport"}(a||(a={}));var s=g((function e(){v(this,e)}))},42837:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});var r=n(75706),i=n(23645),o=n(3733),a=g((function e(){var t=this;v(this,e),this.getStore=function(){return{byTag:Object.assign({},t.store.byTag),byTime:new Map(t.store.byTime)}},this.pushByTime=function(e){var n,r=S(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;t.store.byTime.set(i.id,i)}}catch(o){r.e(o)}finally{r.f()}},this.pushByTag=function(e){e.forEach((function(e){var n=e.tags;Array.isArray(n)&&n.forEach((function(n){t.store.byTag[n]||(t.store.byTag[n]=new Map),t.store.byTag[n].set(e.id,e)}))}))},this.addLog=function(e){var n=e;Array.isArray(e)||(n=[e]),t.pushByTime(n),t.pushByTag(n)},this.syncFromIDB=function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}(t,void 0,void 0,E().mark((function t(){var n;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getAllLogs();case 2:n=t.sent,this.addLog(n);case 4:case"end":return t.stop()}}),t,this)})))},this.reset=function(){t.store={byTag:{},byTime:new Map}},this.deleteLogs=function(e){var n,r=S(e);try{for(r.s();!(n=r.n()).done;){var i=n.value,o=t.store.byTime.get(i);if(o){var a,s=S(o.tags);try{for(s.s();!(a=s.n()).done;){var u=a.value;t.store.byTag[u].delete(i)}}catch(c){s.e(c)}finally{s.f()}t.store.byTime.delete(i)}}}catch(c){r.e(c)}finally{r.f()}},this.filterStore=function(e){var n,a=(0,i.w)(t.store,e),s=new Map,u=S(a);try{for(u.s();!(n=u.n()).done;){var c=y(n.value,2),l=c[0],f=c[1],h=Object.assign(Object.assign({},f),{message:(0,o.o3)((0,r.tV)(f.message))});s.set(l,h)}}catch(d){u.e(d)}finally{u.f()}return s},this.store={byTag:{},byTime:new Map}}))},27400:function(e,t,n){"use strict";function r(e,t,n){var r=e.plugins;if(!Array.isArray(r))return n;var i=n;return r.forEach((function(n){var r=n[t];if("function"===typeof r){var o=r(e,i);o&&(i=o)}})),i}n.d(t,{W:function(){return r}})},34276:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(93332),i=function(e){var t,n=[],r=S(e);try{for(r.s();!(t=r.n()).done;){var i=y(t.value,2),o=(i[0],i[1]);n.push(o)}}catch(a){r.e(a)}finally{r.f()}return n},o=function(e){function t(e){var n;return v(this,t),(n=u(this,t)).config={debug:!1},n.debugLog=function(e){n.config.debug&&console.log("[AutoCleanLogPlugin]: ".concat(e))},n.afterInit=function(e){var t=n.config.expireBefore;if(t){var r=e.logManager,o=e.commonMethods.commonDelete,a=r.getStore().byTime,s=("function"===typeof t?i(a).filter(t):i(a).filter((function(e){return e.timestamp<t}))).map((function(e){return e.id}));o(e,void 0,s),n.debugLog("afterInit, clean log id: ".concat(s))}else n.debugLog("early return on beforeInit because expireBefore is falsy")},n.afterReport=function(e,t){var r=t.report,i=t.error;if(i)return n.debugLog("error"),void console.error(i);n.config.cleanAfterReport?((0,e.commonMethods.commonDelete)(e,void 0,r.ids),n.debugLog("afterReport, clean log id: ".concat(r.ids))):n.debugLog("early return on afterReport because cleanAfterReport is falsy")},e&&(n.config=e),n}return h(t,e),g(t)}(r.kF),a=o},63715:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=function(e){function t(e){var n;return v(this,t),(n=u(this,t)).config={codeVersion:""},n.beforeLog=function(e,t){return Object.assign(Object.assign({},t),{codeVersion:n.config.codeVersion})},e&&(n.config=e),n}return h(t,e),g(t)}(n(93332).kF),i=r},68434:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(93332),i=n(75706),o=n(3733),a=n(93096),s=n.n(a),c=["RESOURCE_ERROR","JS_ERROR","UNHANDLED_PROMISE_REJECTION"],l=function(e){function t(e){var n;return v(this,t),(n=u(this,t)).config={debug:!1,publicTags:[]},n.errorCount=0,n.hashErrors={},n.runtimeMetaManager=null,n.addPublicTags=function(e){var t;return null===(t=n.config.publicTags)||void 0===t?void 0:t.concat(e).filter((function(e){return e}))},n.debugLog=function(e){n.config.debug&&console.log("[AutoLogErrorPlugin]:",e)},n.ignore=function(e){var t,r,i,o,a;return void 0!==(null===(t=n.config)||void 0===t?void 0:t.maxErrorCount)&&n.errorCount>=(null===(r=n.config)||void 0===r?void 0:r.maxErrorCount)||!!(null===(i=n.config)||void 0===i?void 0:i.ignoredErrorMsgKeywords)&&e&&(null===(a=null===(o=n.config)||void 0===o?void 0:o.ignoredErrorMsgKeywords)||void 0===a?void 0:a.some((function(t){return null===e||void 0===e?void 0:e.includes(t)})))},n.report=s()((function(){if(null!==n.runtimeMetaManager){var e=n.config.autoReport;return(0,n.runtimeMetaManager.commonMethods.commonReport)(n.runtimeMetaManager,c,e)}}),600,{trailing:!0,leading:!1}),n.afterInit=function(e){if(n.runtimeMetaManager=e,self.addEventListener){var t=e.commonMethods.commonLog,u=function(o,a,u){n.debugLog(u),n.errorCount+=1;try{return(0,i.by)(o).then((function(i){return n.hashErrors[i]?"dismissed":(n.hashErrors[i]=!0,t(e,o,n.addPublicTags([].concat(a)),r.in.error,r.D4.PLAIN,{extraProperties:{messageHash:i}}).then(n.report))})).catch(console.error)}catch(s){return console.error(s),Promise.resolve(s)}};try{self.addEventListener("error",(function(e){var t,r,i,o,a,s,c;if(!n.ignore(null===e||void 0===e?void 0:e.message)){if((null===e||void 0===e?void 0:e.target)&&((null===(t=null===e||void 0===e?void 0:e.target)||void 0===t?void 0:t.src)||(null===(r=null===e||void 0===e?void 0:e.target)||void 0===r?void 0:r.href))){var l="Load Resource Error in ".concat(null===(i=null===e||void 0===e?void 0:e.target)||void 0===i?void 0:i.tagName," element: ").concat((null===(o=null===e||void 0===e?void 0:e.target)||void 0===o?void 0:o.src)||(null===(a=null===e||void 0===e?void 0:e.target)||void 0===a?void 0:a.href));return u(l,"RESOURCE_ERROR",e)}var f="Javascript Runtime Error in ".concat(null===e||void 0===e?void 0:e.filename," (").concat(null===e||void 0===e?void 0:e.lineno,":").concat(null===e||void 0===e?void 0:e.colno,"): ").concat(null===e||void 0===e?void 0:e.message,"\nStack: ").concat(null!==(c=null===(s=null===e||void 0===e?void 0:e.error)||void 0===s?void 0:s.stack)&&void 0!==c?c:null===e||void 0===e?void 0:e.stack);return u(f,"JS_ERROR",e)}})),self.addEventListener("unhandledrejection",(function(e){var t;if(!n.ignore(null===(t=null===e||void 0===e?void 0:e.reason)||void 0===t?void 0:t.message)){var r,i=null===e||void 0===e?void 0:e.reason;return r="string"===typeof i?"Promise Error: ".concat(i):i instanceof Error?"Promise Error: ".concat(i.message," ").concat(i.name," ").concat(i.stack):"object"===b(i)?"Promise Error with reason: ".concat((0,o.lh)(i)):"Promise Error with unrecognized reason: ".concat(i),u(r,"UNHANDLED_PROMISE_REJECTION",e)}}))}catch(a){console.error(a)}n.debugLog("afterInit, add listener")}},e&&(n.config=e),n.config.publicTags=[].concat(null===e||void 0===e?void 0:e.publicTags),n}return h(t,e),g(t)}(r.kF),f=l},33646:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=function(e){function t(e){var n;return v(this,t),(n=u(this,t)).config={userAgent:""},n.beforeLog=function(e,t){return Object.assign(Object.assign({},t),{userAgent:n.config.userAgent})},e&&(n.config=e),n}return h(t,e),g(t)}(n(93332).kF),i=r},2278:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(38085),i=n(93096),o=n.n(i),a=n(93332),l=n(3733);function f(e){var t;return e?"".concat(null===e||void 0===e?void 0:e.tagName,".").concat(null===(t=null===e||void 0===e?void 0:e.classList)||void 0===t?void 0:t.toString()):""}var d=function(e){function t(e){var n;return v(this,t),(n=u(this,t)).config={debug:!1,publicTags:[]},n.debugLog=function(e){n.config.debug&&console.log("[AutoLogWebVitalsPlugin]:",e)},n.afterInit=function(e){var t=n.config,i=t.autoReport,u=t.publicTags,h=e.commonMethods,d=h.commonLog,p=h.commonReport,g=o()((function(t){p(e,t,i).catch((function(t){d(e,"web vitals auto report failed",["JS_ERROR"],a.in.error,a.D4.PLAIN)}))}),600),m=Boolean(i),v=function(t){return function(r){return function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}(c(n),void 0,void 0,E().mark((function n(){var i,o,c;return E().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=Object.assign(Object.assign({},r),{duration:parseInt(r.value.toString())}),"CLS"!==(null===r||void 0===r?void 0:r.name)&&"LCP"!==(null===r||void 0===r?void 0:r.name)&&"INP"!==(null===r||void 0===r?void 0:r.name)||(i.sourcesData=function(e){if(!e||!e.entries||!e.entries.length)return[];var t=[];return e.entries.forEach((function(e){var n,r={nodeLocatorStr:[]};void 0===(null===e||void 0===e?void 0:e.value)&&void 0===(null===e||void 0===e?void 0:e.duration)||(r.entryValue=(null===e||void 0===e?void 0:e.value)||(null===e||void 0===e?void 0:e.duration)),(null===(n=null===e||void 0===e?void 0:e.sources)||void 0===n?void 0:n.length)?e.sources.forEach((function(e){r.nodeLocatorStr.push(f(null===e||void 0===e?void 0:e.node))})):(null===e||void 0===e?void 0:e.element)?r.nodeLocatorStr.push(f(null===e||void 0===e?void 0:e.element)):(null===e||void 0===e?void 0:e.target)&&r.nodeLocatorStr.push(f(null===e||void 0===e?void 0:e.target)),t.push(r)})),t}(r)),o=(0,l.lh)(i),c=u?[t,"AUTO-WEB-VITALS"].concat(s(u)):[t,"AUTO-WEB-VITALS"],this.debugLog(o),!m){n.next=10;break}return n.next=7,d(e,o,c,a.in.info,a.D4.PLAIN);case 7:g(t),n.next=11;break;case 10:d(e,o,c,a.in.info,a.D4.PLAIN);case 11:case"end":return n.stop()}}),n,this)})))}};(0,r.mw)(v("CLS")),(0,r.Fu)(v("FID")),(0,r.NO)(v("LCP")),(0,r.mr)(v("TTFB")),(0,r.a4)(v("FCP")),(0,r.Yn)(v("INP"))},e&&(n.config=e),(null===e||void 0===e?void 0:e.publicTags)&&(n.config.publicTags=[null===e||void 0===e?void 0:e.publicTags].flatMap((function(e){return e})).map((function(e){return"function"===typeof e?e():e})).filter((function(e){return e}))),n}return h(t,e),g(t)}(a.kF),p=d},76021:function(e,t,n){"use strict";n.d(t,{w:function(){return u}});var r=n(75706),i=n(29115),o=n(93332),a=n(3733),s=function(e){var t=0;return t+=(0,r.Lu)(e.message),e.tags.forEach((function(e){t+=(0,r.Lu)(e)})),t},u=function(){function e(t){v(this,e),this.uuid=(0,a.vV)();var n=t.databaseName,r=t.maxSize,o=t.publicKey,s=t.reportUrl,u=t.plugins,c=t.idbManager,l=t.logManager,f=t.currentSize,h=t.externalKeys;t.codecWorkerFilePath,this.databaseName=n,this.maxSize=r,this.publicKey=null!==o&&void 0!==o?o:"",this.reportUrl=null!==s&&void 0!==s?s:"",this.plugins=null!==u&&void 0!==u?u:[],this.idbManager=c,this.logManager=l,this.currentSize=null!==f&&void 0!==f?f:0,this.externalKeys=h,this.commonMethods=Object.assign({},i.H)}return g(e,[{key:"getLocalAESGCM256Key",value:function(){var e;return function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}(this,void 0,void 0,E().mark((function t(){var n;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.localAESGCM256Key){t.next=2;break}return t.abrupt("return",this.localAESGCM256Key);case 2:return t.next=4,(0,r.qy)();case 4:return this.localAESGCM256Key=t.sent,n=this.externalKeys?null===(e=this.externalKeys.filter((function(e){return e.usage===o.Fu.PROTECT_LOCAL_KEY}))[0])||void 0===e?void 0:e.key:void 0,t.next=8,this.idbManager.saveAESGCM256Key(this.uuid,this.localAESGCM256Key,n);case 8:return t.abrupt("return",this.localAESGCM256Key);case 9:case"end":return t.stop()}}),t,this)})))}},{key:"updateCurrentSize",value:function(e){var t,n=null!==(t=this.currentSize)&&void 0!==t?t:0;if(e instanceof Map){var r,i=S(e);try{for(i.s();!(r=i.n()).done;){var o=y(r.value,2),a=(o[0],o[1]);n+=s(a)}}catch(u){i.e(u)}finally{i.f()}}else n+=s(e);return this.currentSize=n,n>=this.maxSize}}]),e}()},23645:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var r=function(){for(var e={},t=[],n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var o=0,a=r;o<a.length;o++)a[o].forEach((function(n){e[n.id]||(e[n.id]=!0,t.push(n))}));var s=new Map;return t.sort((function(e,t){return(null===e||void 0===e?void 0:e.id)-(null===t||void 0===t?void 0:t.id)})).forEach((function(e){s.set(e.id,e)})),s},i=function(e,t){var n=new Map;return t.forEach((function(t){e(t)&&n.set(t.id,t)})),n},o=function(e,t){if(!t)return e.byTime;if("string"===typeof t)return e.byTag[t]||new Map;if(Array.isArray(t)){if(t.every((function(e){return"string"===typeof e})))return r.apply(void 0,s(t.map((function(t){return e.byTag[t]})).filter((function(e){return Boolean(e)}))))}else{if("function"===typeof t)return i(t,e.byTime);if("object"===b(t))if(t.tags&&t.filter){if("string"===typeof t.tags)return i(t.filter,e.byTag[t.tags]);if(Array.isArray(t.tags)&&t.tags.every((function(e){return"string"===typeof e})))return r.apply(void 0,s(t.tags.map((function(n){var r=e.byTag[n];return r?i(t.filter,r):new Map}))))}else{if(t.filter)return i(t.filter,e.byTime);if(t.tags){if("string"===typeof t)return e.byTag[t]||new Map;if(Array.isArray(t)&&t.every((function(e){return"string"===typeof e})))return r.apply(void 0,s(t.map((function(t){return e.byTag[t]}))))}}else console.error("Wrong filter type")}return new Map}},80101:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});var r=function(e){return new Promise((function(t){var n=new XMLHttpRequest;n.open(e.type||"GET",e.url,!0),n.withCredentials=e.withCredentials,n.onerror=function(n){t({error:n,report:e.reportItem})},n.onreadystatechange=function(){if(4===n.readyState){var r=n.status;t(r>=200&&r<300?{report:e.reportItem}:{error:"Request failed, status: ".concat(r,", responseText: ").concat(n.responseText),report:e.reportItem})}},Object.entries(e.headers).forEach((function(e){var t=y(e,2),r=t[0],i=t[1];i&&r&&n.setRequestHeader(r,i)})),n.send(e.data)}))}},75706:function(e,t,n){"use strict";n.d(t,{HI:function(){return h},Lu:function(){return u},by:function(){return d},h$:function(){return a},qy:function(){return c},tV:function(){return s}});var r=n(55743),i=n(98269),o=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},a=function(e){try{var n=r.parse(e);return i.stringify(n)}catch(t){return e}},s=function(e){try{var n=i.parse(e);return r.stringify(n)}catch(t){return e}},u=function(e){for(var t=e.length,n=e.length-1;n>=0;n--){var r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2),r>=56320&&r<=57343&&n--}return t},c=function(){return o(void 0,void 0,void 0,E().mark((function e(){return E().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,self.crypto.subtle.generateKey({name:"AES-GCM",length:256},!0,["encrypt","decrypt"]);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))},l=function(e,t,n){return o(void 0,void 0,void 0,E().mark((function r(){return E().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,self.crypto.subtle.encrypt({name:"AES-GCM",iv:n},t,e);case 3:return r.abrupt("return",r.sent);case 6:throw r.prev=6,r.t0=r.catch(0),r.t0;case 9:case"end":return r.stop()}}),r,null,[[0,6]])})))},f=function(e,t){var n="string"===typeof e?function(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0,i=e.length;r<i;r++)n[r]=e.charCodeAt(r);return t}(e):e;return self.crypto.subtle.encrypt({name:"RSA-OAEP"},t,n)},h=function(e,t,n){return o(void 0,void 0,void 0,E().mark((function r(){return E().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",new Promise((function(r,i){requestAnimationFrame((function(){return o(void 0,void 0,void 0,E().mark((function i(){var o,a,s,u,c,h;return E().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if("RSA-OAEP"===(a=null===(o=null===t||void 0===t?void 0:t.algorithm)||void 0===o?void 0:o.name)?s=f:"AES-GCM"===a&&(s=l),s){i.next=3;break}throw new Error("Unsupported encrypt key type");case 3:if("string"!==typeof e){i.next=11;break}return u=new TextEncoder,i.next=7,s(u.encode(e),t,n);case 7:c=i.sent,r(c),i.next=15;break;case 11:return i.next=13,s(e,t,n);case 13:h=i.sent,r(h);case 15:case"end":return i.stop()}}),i)})))}))})));case 1:case"end":return r.stop()}}),r)})))};function d(e){var t=(new TextEncoder).encode(e);return crypto.subtle.digest("SHA-1",t).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}},3733:function(e,t,n){"use strict";n.d(t,{lh:function(){return r},o3:function(){return i},vV:function(){return o}});var r=function(e){try{return JSON.stringify(e)}catch(t){return"json stringify failed"}},i=function(e){try{return JSON.parse(e)}catch(t){return e}},o=function(){return"randomUUID"in self.crypto?self.crypto.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(function(e){return(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)}))}},58364:function(e){function t(e){return t="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},t(e)}!function(){"use strict";var e,n,r=function n(r,o){function a(e){return Math.floor(e)}function s(){var e=S.params.autoplay,t=S.slides.eq(S.activeIndex);t.attr("data-swiper-autoplay")&&(e=t.attr("data-swiper-autoplay")||S.params.autoplay),S.autoplayTimeoutId=setTimeout((function(){S.params.loop?(S.fixLoop(),S._slideNext(),S.emit("onAutoplay",S)):S.isEnd?o.autoplayStopOnLast?S.stopAutoplay():(S._slideTo(0),S.emit("onAutoplay",S)):(S._slideNext(),S.emit("onAutoplay",S))}),e)}function u(t,n){var r=e(t.target);if(!r.is(n))if("string"==typeof n)r=r.parents(n);else if(n.nodeType){var i;return r.parents().each((function(e,t){t===n&&(i=n)})),i?n:void 0}if(0!==r.length)return r[0]}function c(e,t){t=t||{};var n=new(window.MutationObserver||window.WebkitMutationObserver)((function(e){e.forEach((function(e){S.onResize(!0),S.emit("onObserverUpdate",S,e)}))}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),S.observers.push(n)}function l(e){e.originalEvent&&(e=e.originalEvent);var t=e.keyCode||e.charCode;if(!S.params.allowSwipeToNext&&(S.isHorizontal()&&39===t||!S.isHorizontal()&&40===t))return!1;if(!S.params.allowSwipeToPrev&&(S.isHorizontal()&&37===t||!S.isHorizontal()&&38===t))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===t||39===t||38===t||40===t){var n=!1;if(S.container.parents("."+S.params.slideClass).length>0&&0===S.container.parents("."+S.params.slideActiveClass).length)return;var r={left:window.pageXOffset,top:window.pageYOffset},i=window.innerWidth,o=window.innerHeight,a=S.container.offset();S.rtl&&(a.left=a.left-S.container[0].scrollLeft);for(var s=[[a.left,a.top],[a.left+S.width,a.top],[a.left,a.top+S.height],[a.left+S.width,a.top+S.height]],u=0;u<s.length;u++){var c=s[u];c[0]>=r.left&&c[0]<=r.left+i&&c[1]>=r.top&&c[1]<=r.top+o&&(n=!0)}if(!n)return}S.isHorizontal()?(37!==t&&39!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===t&&!S.rtl||37===t&&S.rtl)&&S.slideNext(),(37===t&&!S.rtl||39===t&&S.rtl)&&S.slidePrev()):(38!==t&&40!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&S.slideNext(),38===t&&S.slidePrev()),S.emit("onKeyPress",S,t)}}function f(e){e.originalEvent&&(e=e.originalEvent);var t=0,n=S.rtl?-1:1,r=function(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,i=10*n,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(1===e.deltaMode?(r*=40,i*=40):(r*=800,i*=800)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}(e);if(S.params.mousewheelForceToAxis)if(S.isHorizontal()){if(!(Math.abs(r.pixelX)>Math.abs(r.pixelY)))return;t=r.pixelX*n}else{if(!(Math.abs(r.pixelY)>Math.abs(r.pixelX)))return;t=r.pixelY}else t=Math.abs(r.pixelX)>Math.abs(r.pixelY)?-r.pixelX*n:-r.pixelY;if(0!==t){if(S.params.mousewheelInvert&&(t=-t),S.params.freeMode){var i=S.getWrapperTranslate()+t*S.params.mousewheelSensitivity,o=S.isBeginning,a=S.isEnd;if(i>=S.minTranslate()&&(i=S.minTranslate()),i<=S.maxTranslate()&&(i=S.maxTranslate()),S.setWrapperTransition(0),S.setWrapperTranslate(i),S.updateProgress(),S.updateActiveIndex(),(!o&&S.isBeginning||!a&&S.isEnd)&&S.updateClasses(),S.params.freeModeSticky?(clearTimeout(S.mousewheel.timeout),S.mousewheel.timeout=setTimeout((function(){S.slideReset()}),300)):S.params.lazyLoading&&S.lazy&&S.lazy.load(),S.emit("onScroll",S,e),S.params.autoplay&&S.params.autoplayDisableOnInteraction&&S.stopAutoplay(),0===i||i===S.maxTranslate())return}else{if((new window.Date).getTime()-S.mousewheel.lastScrollTime>60)if(t<0)if(S.isEnd&&!S.params.loop||S.animating){if(S.params.mousewheelReleaseOnEdges)return!0}else S.slideNext(),S.emit("onScroll",S,e);else if(S.isBeginning&&!S.params.loop||S.animating){if(S.params.mousewheelReleaseOnEdges)return!0}else S.slidePrev(),S.emit("onScroll",S,e);S.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function h(t,n){t=e(t);var r,i,o,a=S.rtl?-1:1;r=t.attr("data-swiper-parallax")||"0",i=t.attr("data-swiper-parallax-x"),o=t.attr("data-swiper-parallax-y"),i||o?(i=i||"0",o=o||"0"):S.isHorizontal()?(i=r,o="0"):(o=r,i="0"),i=i.indexOf("%")>=0?parseInt(i,10)*n*a+"%":i*n*a+"px",o=o.indexOf("%")>=0?parseInt(o,10)*n+"%":o*n+"px",t.transform("translate3d("+i+", "+o+",0px)")}function d(e){return 0!==e.indexOf("on")&&(e=e[0]!==e[0].toUpperCase()?"on"+e[0].toUpperCase()+e.substring(1):"on"+e),e}if(!(this instanceof n))return new n(r,o);var p={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},g=o&&o.virtualTranslate;o=o||{};var m={};for(var v in o)if("object"!=t(o[v])||null===o[v]||o[v].nodeType||o[v]===window||o[v]===document||void 0!==i&&o[v]instanceof i||"undefined"!=typeof jQuery&&o[v]instanceof jQuery)m[v]=o[v];else for(var E in m[v]={},o[v])m[v][E]=o[v][E];for(var _ in p)if(void 0===o[_])o[_]=p[_];else if("object"==t(o[_]))for(var y in p[_])void 0===o[_][y]&&(o[_][y]=p[_][y]);var S=this;if(S.params=o,S.originalParams=m,S.classNames=[],void 0!==e&&void 0!==i&&(e=i),(void 0!==e||(e=void 0===i?window.Dom7||window.Zepto||window.jQuery:i))&&(S.$=e,S.currentBreakpoint=void 0,S.getActiveBreakpoint=function(){if(!S.params.breakpoints)return!1;var e,t=!1,n=[];for(e in S.params.breakpoints)S.params.breakpoints.hasOwnProperty(e)&&n.push(e);n.sort((function(e,t){return parseInt(e,10)>parseInt(t,10)}));for(var r=0;r<n.length;r++)(e=n[r])>=window.innerWidth&&!t&&(t=e);return t||"max"},S.setBreakpoint=function(){var e=S.getActiveBreakpoint();if(e&&S.currentBreakpoint!==e){var t=e in S.params.breakpoints?S.params.breakpoints[e]:S.originalParams,n=S.params.loop&&t.slidesPerView!==S.params.slidesPerView;for(var r in t)S.params[r]=t[r];S.currentBreakpoint=e,n&&S.destroyLoop&&S.reLoop(!0)}},S.params.breakpoints&&S.setBreakpoint(),S.container=e(r),0!==S.container.length)){if(S.container.length>1){var D=[];return S.container.each((function(){D.push(new n(this,o))})),D}S.container[0].swiper=S,S.container.data("swiper",S),S.classNames.push(S.params.containerModifierClass+S.params.direction),S.params.freeMode&&S.classNames.push(S.params.containerModifierClass+"free-mode"),S.support.flexbox||(S.classNames.push(S.params.containerModifierClass+"no-flexbox"),S.params.slidesPerColumn=1),S.params.autoHeight&&S.classNames.push(S.params.containerModifierClass+"autoheight"),(S.params.parallax||S.params.watchSlidesVisibility)&&(S.params.watchSlidesProgress=!0),S.params.touchReleaseOnEdges&&(S.params.resistanceRatio=0),["cube","coverflow","flip"].indexOf(S.params.effect)>=0&&(S.support.transforms3d?(S.params.watchSlidesProgress=!0,S.classNames.push(S.params.containerModifierClass+"3d")):S.params.effect="slide"),"slide"!==S.params.effect&&S.classNames.push(S.params.containerModifierClass+S.params.effect),"cube"===S.params.effect&&(S.params.resistanceRatio=0,S.params.slidesPerView=1,S.params.slidesPerColumn=1,S.params.slidesPerGroup=1,S.params.centeredSlides=!1,S.params.spaceBetween=0,S.params.virtualTranslate=!0),"fade"!==S.params.effect&&"flip"!==S.params.effect||(S.params.slidesPerView=1,S.params.slidesPerColumn=1,S.params.slidesPerGroup=1,S.params.watchSlidesProgress=!0,S.params.spaceBetween=0,void 0===g&&(S.params.virtualTranslate=!0)),S.params.grabCursor&&S.support.touch&&(S.params.grabCursor=!1),S.wrapper=S.container.children("."+S.params.wrapperClass),S.params.pagination&&(S.paginationContainer=e(S.params.pagination),S.params.uniqueNavElements&&"string"==typeof S.params.pagination&&S.paginationContainer.length>1&&1===S.container.find(S.params.pagination).length&&(S.paginationContainer=S.container.find(S.params.pagination)),"bullets"===S.params.paginationType&&S.params.paginationClickable?S.paginationContainer.addClass(S.params.paginationModifierClass+"clickable"):S.params.paginationClickable=!1,S.paginationContainer.addClass(S.params.paginationModifierClass+S.params.paginationType)),(S.params.nextButton||S.params.prevButton)&&(S.params.nextButton&&(S.nextButton=e(S.params.nextButton),S.params.uniqueNavElements&&"string"==typeof S.params.nextButton&&S.nextButton.length>1&&1===S.container.find(S.params.nextButton).length&&(S.nextButton=S.container.find(S.params.nextButton))),S.params.prevButton&&(S.prevButton=e(S.params.prevButton),S.params.uniqueNavElements&&"string"==typeof S.params.prevButton&&S.prevButton.length>1&&1===S.container.find(S.params.prevButton).length&&(S.prevButton=S.container.find(S.params.prevButton)))),S.isHorizontal=function(){return"horizontal"===S.params.direction},S.rtl=S.isHorizontal()&&("rtl"===S.container[0].dir.toLowerCase()||"rtl"===S.container.css("direction")),S.rtl&&S.classNames.push(S.params.containerModifierClass+"rtl"),S.rtl&&(S.wrongRTL="-webkit-box"===S.wrapper.css("display")),S.params.slidesPerColumn>1&&S.classNames.push(S.params.containerModifierClass+"multirow"),S.device.android&&S.classNames.push(S.params.containerModifierClass+"android"),S.container.addClass(S.classNames.join(" ")),S.translate=0,S.progress=0,S.velocity=0,S.lockSwipeToNext=function(){S.params.allowSwipeToNext=!1,!1===S.params.allowSwipeToPrev&&S.params.grabCursor&&S.unsetGrabCursor()},S.lockSwipeToPrev=function(){S.params.allowSwipeToPrev=!1,!1===S.params.allowSwipeToNext&&S.params.grabCursor&&S.unsetGrabCursor()},S.lockSwipes=function(){S.params.allowSwipeToNext=S.params.allowSwipeToPrev=!1,S.params.grabCursor&&S.unsetGrabCursor()},S.unlockSwipeToNext=function(){S.params.allowSwipeToNext=!0,!0===S.params.allowSwipeToPrev&&S.params.grabCursor&&S.setGrabCursor()},S.unlockSwipeToPrev=function(){S.params.allowSwipeToPrev=!0,!0===S.params.allowSwipeToNext&&S.params.grabCursor&&S.setGrabCursor()},S.unlockSwipes=function(){S.params.allowSwipeToNext=S.params.allowSwipeToPrev=!0,S.params.grabCursor&&S.setGrabCursor()},S.setGrabCursor=function(e){S.container[0].style.cursor="move",S.container[0].style.cursor=e?"-webkit-grabbing":"-webkit-grab",S.container[0].style.cursor=e?"-moz-grabbin":"-moz-grab",S.container[0].style.cursor=e?"grabbing":"grab"},S.unsetGrabCursor=function(){S.container[0].style.cursor=""},S.params.grabCursor&&S.setGrabCursor(),S.imagesToLoad=[],S.imagesLoaded=0,S.loadImage=function(e,t,n,r,i,o){function a(){o&&o()}var s;e.complete&&i?a():t?((s=new window.Image).onload=a,s.onerror=a,r&&(s.sizes=r),n&&(s.srcset=n),t&&(s.src=t)):a()},S.preloadImages=function(){function e(){void 0!==S&&null!==S&&S&&(void 0!==S.imagesLoaded&&S.imagesLoaded++,S.imagesLoaded===S.imagesToLoad.length&&(S.params.updateOnImagesReady&&S.update(),S.emit("onImagesReady",S)))}S.imagesToLoad=S.container.find("img");for(var t=0;t<S.imagesToLoad.length;t++)S.loadImage(S.imagesToLoad[t],S.imagesToLoad[t].currentSrc||S.imagesToLoad[t].getAttribute("src"),S.imagesToLoad[t].srcset||S.imagesToLoad[t].getAttribute("srcset"),S.imagesToLoad[t].sizes||S.imagesToLoad[t].getAttribute("sizes"),!0,e)},S.autoplayTimeoutId=void 0,S.autoplaying=!1,S.autoplayPaused=!1,S.startAutoplay=function(){return void 0===S.autoplayTimeoutId&&!!S.params.autoplay&&!S.autoplaying&&(S.autoplaying=!0,S.emit("onAutoplayStart",S),void s())},S.stopAutoplay=function(e){S.autoplayTimeoutId&&(S.autoplayTimeoutId&&clearTimeout(S.autoplayTimeoutId),S.autoplaying=!1,S.autoplayTimeoutId=void 0,S.emit("onAutoplayStop",S))},S.pauseAutoplay=function(e){S.autoplayPaused||(S.autoplayTimeoutId&&clearTimeout(S.autoplayTimeoutId),S.autoplayPaused=!0,0===e?(S.autoplayPaused=!1,s()):S.wrapper.transitionEnd((function(){S&&(S.autoplayPaused=!1,S.autoplaying?s():S.stopAutoplay())})))},S.minTranslate=function(){return-S.snapGrid[0]},S.maxTranslate=function(){return-S.snapGrid[S.snapGrid.length-1]},S.updateAutoHeight=function(){var e,t=[],n=0;if("auto"!==S.params.slidesPerView&&S.params.slidesPerView>1)for(e=0;e<Math.ceil(S.params.slidesPerView);e++){var r=S.activeIndex+e;if(r>S.slides.length)break;t.push(S.slides.eq(r)[0])}else t.push(S.slides.eq(S.activeIndex)[0]);for(e=0;e<t.length;e++)if(void 0!==t[e]){var i=t[e].offsetHeight;n=i>n?i:n}n&&S.wrapper.css("height",n+"px")},S.updateContainerSize=function(){var e,t;e=void 0!==S.params.width?S.params.width:S.container[0].clientWidth,t=void 0!==S.params.height?S.params.height:S.container[0].clientHeight,0===e&&S.isHorizontal()||0===t&&!S.isHorizontal()||(e=e-parseInt(S.container.css("padding-left"),10)-parseInt(S.container.css("padding-right"),10),t=t-parseInt(S.container.css("padding-top"),10)-parseInt(S.container.css("padding-bottom"),10),S.width=e,S.height=t,S.size=S.isHorizontal()?S.width:S.height)},S.updateSlidesSize=function(){S.slides=S.wrapper.children("."+S.params.slideClass),S.snapGrid=[],S.slidesGrid=[],S.slidesSizesGrid=[];var e,t=S.params.spaceBetween,n=-S.params.slidesOffsetBefore,r=0,i=0;if(void 0!==S.size){var o;"string"==typeof t&&t.indexOf("%")>=0&&(t=parseFloat(t.replace("%",""))/100*S.size),S.virtualSize=-t,S.rtl?S.slides.css({marginLeft:"",marginTop:""}):S.slides.css({marginRight:"",marginBottom:""}),S.params.slidesPerColumn>1&&(o=Math.floor(S.slides.length/S.params.slidesPerColumn)===S.slides.length/S.params.slidesPerColumn?S.slides.length:Math.ceil(S.slides.length/S.params.slidesPerColumn)*S.params.slidesPerColumn,"auto"!==S.params.slidesPerView&&"row"===S.params.slidesPerColumnFill&&(o=Math.max(o,S.params.slidesPerView*S.params.slidesPerColumn)));var s,u,c=S.params.slidesPerColumn,l=o/c,f=l-(S.params.slidesPerColumn*l-S.slides.length);for(e=0;e<S.slides.length;e++){s=0;var h,d,p,g=S.slides.eq(e);S.params.slidesPerColumn>1&&("column"===S.params.slidesPerColumnFill?(p=e-(d=Math.floor(e/c))*c,(d>f||d===f&&p===c-1)&&++p>=c&&(p=0,d++),h=d+p*o/c,g.css({"-webkit-box-ordinal-group":h,"-moz-box-ordinal-group":h,"-ms-flex-order":h,"-webkit-order":h,order:h})):d=e-(p=Math.floor(e/l))*l,g.css("margin-"+(S.isHorizontal()?"top":"left"),0!==p&&S.params.spaceBetween&&S.params.spaceBetween+"px").attr("data-swiper-column",d).attr("data-swiper-row",p)),"none"!==g.css("display")&&("auto"===S.params.slidesPerView?(s=S.isHorizontal()?g.outerWidth(!0):g.outerHeight(!0),S.params.roundLengths&&(s=a(s))):(s=(S.size-(S.params.slidesPerView-1)*t)/S.params.slidesPerView,S.params.roundLengths&&(s=a(s)),S.isHorizontal()?S.slides[e].style.width=s+"px":S.slides[e].style.height=s+"px"),S.slides[e].swiperSlideSize=s,S.slidesSizesGrid.push(s),S.params.centeredSlides?(n=n+s/2+r/2+t,0===r&&0!==e&&(n=n-S.size/2-t),0===e&&(n=n-S.size/2-t),Math.abs(n)<.001&&(n=0),i%S.params.slidesPerGroup==0&&S.snapGrid.push(n),S.slidesGrid.push(n)):(i%S.params.slidesPerGroup==0&&S.snapGrid.push(n),S.slidesGrid.push(n),n=n+s+t),S.virtualSize+=s+t,r=s,i++)}if(S.virtualSize=Math.max(S.virtualSize,S.size)+S.params.slidesOffsetAfter,S.rtl&&S.wrongRTL&&("slide"===S.params.effect||"coverflow"===S.params.effect)&&S.wrapper.css({width:S.virtualSize+S.params.spaceBetween+"px"}),S.support.flexbox&&!S.params.setWrapperSize||(S.isHorizontal()?S.wrapper.css({width:S.virtualSize+S.params.spaceBetween+"px"}):S.wrapper.css({height:S.virtualSize+S.params.spaceBetween+"px"})),S.params.slidesPerColumn>1&&(S.virtualSize=(s+S.params.spaceBetween)*o,S.virtualSize=Math.ceil(S.virtualSize/S.params.slidesPerColumn)-S.params.spaceBetween,S.isHorizontal()?S.wrapper.css({width:S.virtualSize+S.params.spaceBetween+"px"}):S.wrapper.css({height:S.virtualSize+S.params.spaceBetween+"px"}),S.params.centeredSlides)){for(u=[],e=0;e<S.snapGrid.length;e++)S.snapGrid[e]<S.virtualSize+S.snapGrid[0]&&u.push(S.snapGrid[e]);S.snapGrid=u}if(!S.params.centeredSlides){for(u=[],e=0;e<S.snapGrid.length;e++)S.snapGrid[e]<=S.virtualSize-S.size&&u.push(S.snapGrid[e]);S.snapGrid=u,Math.floor(S.virtualSize-S.size)-Math.floor(S.snapGrid[S.snapGrid.length-1])>1&&S.snapGrid.push(S.virtualSize-S.size)}0===S.snapGrid.length&&(S.snapGrid=[0]),0!==S.params.spaceBetween&&(S.isHorizontal()?S.rtl?S.slides.css({marginLeft:t+"px"}):S.slides.css({marginRight:t+"px"}):S.slides.css({marginBottom:t+"px"})),S.params.watchSlidesProgress&&S.updateSlidesOffset()}},S.updateSlidesOffset=function(){for(var e=0;e<S.slides.length;e++)S.slides[e].swiperSlideOffset=S.isHorizontal()?S.slides[e].offsetLeft:S.slides[e].offsetTop},S.currentSlidesPerView=function(){var e,t,n=1;if(S.params.centeredSlides){var r,i=S.slides[S.activeIndex].swiperSlideSize;for(e=S.activeIndex+1;e<S.slides.length;e++)S.slides[e]&&!r&&(n++,(i+=S.slides[e].swiperSlideSize)>S.size&&(r=!0));for(t=S.activeIndex-1;t>=0;t--)S.slides[t]&&!r&&(n++,(i+=S.slides[t].swiperSlideSize)>S.size&&(r=!0))}else for(e=S.activeIndex+1;e<S.slides.length;e++)S.slidesGrid[e]-S.slidesGrid[S.activeIndex]<S.size&&n++;return n},S.updateSlidesProgress=function(e){if(void 0===e&&(e=S.translate||0),0!==S.slides.length){void 0===S.slides[0].swiperSlideOffset&&S.updateSlidesOffset();var t=-e;S.rtl&&(t=e),S.slides.removeClass(S.params.slideVisibleClass);for(var n=0;n<S.slides.length;n++){var r=S.slides[n],i=(t+(S.params.centeredSlides?S.minTranslate():0)-r.swiperSlideOffset)/(r.swiperSlideSize+S.params.spaceBetween);if(S.params.watchSlidesVisibility){var o=-(t-r.swiperSlideOffset),a=o+S.slidesSizesGrid[n];(o>=0&&o<S.size||a>0&&a<=S.size||o<=0&&a>=S.size)&&S.slides.eq(n).addClass(S.params.slideVisibleClass)}r.progress=S.rtl?-i:i}}},S.updateProgress=function(e){void 0===e&&(e=S.translate||0);var t=S.maxTranslate()-S.minTranslate(),n=S.isBeginning,r=S.isEnd;0===t?(S.progress=0,S.isBeginning=S.isEnd=!0):(S.progress=(e-S.minTranslate())/t,S.isBeginning=S.progress<=0,S.isEnd=S.progress>=1),S.isBeginning&&!n&&S.emit("onReachBeginning",S),S.isEnd&&!r&&S.emit("onReachEnd",S),S.params.watchSlidesProgress&&S.updateSlidesProgress(e),S.emit("onProgress",S,S.progress)},S.updateActiveIndex=function(){var e,t,n,r=S.rtl?S.translate:-S.translate;for(t=0;t<S.slidesGrid.length;t++)void 0!==S.slidesGrid[t+1]?r>=S.slidesGrid[t]&&r<S.slidesGrid[t+1]-(S.slidesGrid[t+1]-S.slidesGrid[t])/2?e=t:r>=S.slidesGrid[t]&&r<S.slidesGrid[t+1]&&(e=t+1):r>=S.slidesGrid[t]&&(e=t);S.params.normalizeSlideIndex&&(e<0||void 0===e)&&(e=0),(n=Math.floor(e/S.params.slidesPerGroup))>=S.snapGrid.length&&(n=S.snapGrid.length-1),e!==S.activeIndex&&(S.snapIndex=n,S.previousIndex=S.activeIndex,S.activeIndex=e,S.updateClasses(),S.updateRealIndex())},S.updateRealIndex=function(){S.realIndex=parseInt(S.slides.eq(S.activeIndex).attr("data-swiper-slide-index")||S.activeIndex,10)},S.updateClasses=function(){S.slides.removeClass(S.params.slideActiveClass+" "+S.params.slideNextClass+" "+S.params.slidePrevClass+" "+S.params.slideDuplicateActiveClass+" "+S.params.slideDuplicateNextClass+" "+S.params.slideDuplicatePrevClass);var t=S.slides.eq(S.activeIndex);t.addClass(S.params.slideActiveClass),o.loop&&(t.hasClass(S.params.slideDuplicateClass)?S.wrapper.children("."+S.params.slideClass+":not(."+S.params.slideDuplicateClass+')[data-swiper-slide-index="'+S.realIndex+'"]').addClass(S.params.slideDuplicateActiveClass):S.wrapper.children("."+S.params.slideClass+"."+S.params.slideDuplicateClass+'[data-swiper-slide-index="'+S.realIndex+'"]').addClass(S.params.slideDuplicateActiveClass));var n=t.next("."+S.params.slideClass).addClass(S.params.slideNextClass);S.params.loop&&0===n.length&&(n=S.slides.eq(0)).addClass(S.params.slideNextClass);var r=t.prev("."+S.params.slideClass).addClass(S.params.slidePrevClass);if(S.params.loop&&0===r.length&&(r=S.slides.eq(-1)).addClass(S.params.slidePrevClass),o.loop&&(n.hasClass(S.params.slideDuplicateClass)?S.wrapper.children("."+S.params.slideClass+":not(."+S.params.slideDuplicateClass+')[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(S.params.slideDuplicateNextClass):S.wrapper.children("."+S.params.slideClass+"."+S.params.slideDuplicateClass+'[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(S.params.slideDuplicateNextClass),r.hasClass(S.params.slideDuplicateClass)?S.wrapper.children("."+S.params.slideClass+":not(."+S.params.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(S.params.slideDuplicatePrevClass):S.wrapper.children("."+S.params.slideClass+"."+S.params.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(S.params.slideDuplicatePrevClass)),S.paginationContainer&&S.paginationContainer.length>0){var i,a=S.params.loop?Math.ceil((S.slides.length-2*S.loopedSlides)/S.params.slidesPerGroup):S.snapGrid.length;if(S.params.loop?((i=Math.ceil((S.activeIndex-S.loopedSlides)/S.params.slidesPerGroup))>S.slides.length-1-2*S.loopedSlides&&(i-=S.slides.length-2*S.loopedSlides),i>a-1&&(i-=a),i<0&&"bullets"!==S.params.paginationType&&(i=a+i)):i=void 0!==S.snapIndex?S.snapIndex:S.activeIndex||0,"bullets"===S.params.paginationType&&S.bullets&&S.bullets.length>0&&(S.bullets.removeClass(S.params.bulletActiveClass),S.paginationContainer.length>1?S.bullets.each((function(){e(this).index()===i&&e(this).addClass(S.params.bulletActiveClass)})):S.bullets.eq(i).addClass(S.params.bulletActiveClass)),"fraction"===S.params.paginationType&&(S.paginationContainer.find("."+S.params.paginationCurrentClass).text(i+1),S.paginationContainer.find("."+S.params.paginationTotalClass).text(a)),"progress"===S.params.paginationType){var s=(i+1)/a,u=s,c=1;S.isHorizontal()||(c=s,u=1),S.paginationContainer.find("."+S.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+u+") scaleY("+c+")").transition(S.params.speed)}"custom"===S.params.paginationType&&S.params.paginationCustomRender&&(S.paginationContainer.html(S.params.paginationCustomRender(S,i+1,a)),S.emit("onPaginationRendered",S,S.paginationContainer[0]))}S.params.loop||(S.params.prevButton&&S.prevButton&&S.prevButton.length>0&&(S.isBeginning?(S.prevButton.addClass(S.params.buttonDisabledClass),S.params.a11y&&S.a11y&&S.a11y.disable(S.prevButton)):(S.prevButton.removeClass(S.params.buttonDisabledClass),S.params.a11y&&S.a11y&&S.a11y.enable(S.prevButton))),S.params.nextButton&&S.nextButton&&S.nextButton.length>0&&(S.isEnd?(S.nextButton.addClass(S.params.buttonDisabledClass),S.params.a11y&&S.a11y&&S.a11y.disable(S.nextButton)):(S.nextButton.removeClass(S.params.buttonDisabledClass),S.params.a11y&&S.a11y&&S.a11y.enable(S.nextButton))))},S.updatePagination=function(){if(S.params.pagination&&S.paginationContainer&&S.paginationContainer.length>0){var e="";if("bullets"===S.params.paginationType){for(var t=S.params.loop?Math.ceil((S.slides.length-2*S.loopedSlides)/S.params.slidesPerGroup):S.snapGrid.length,n=0;n<t;n++)e+=S.params.paginationBulletRender?S.params.paginationBulletRender(S,n,S.params.bulletClass):"<"+S.params.paginationElement+' class="'+S.params.bulletClass+'"></'+S.params.paginationElement+">";S.paginationContainer.html(e),S.bullets=S.paginationContainer.find("."+S.params.bulletClass),S.params.paginationClickable&&S.params.a11y&&S.a11y&&S.a11y.initPagination()}"fraction"===S.params.paginationType&&(e=S.params.paginationFractionRender?S.params.paginationFractionRender(S,S.params.paginationCurrentClass,S.params.paginationTotalClass):'<span class="'+S.params.paginationCurrentClass+'"></span> / <span class="'+S.params.paginationTotalClass+'"></span>',S.paginationContainer.html(e)),"progress"===S.params.paginationType&&(e=S.params.paginationProgressRender?S.params.paginationProgressRender(S,S.params.paginationProgressbarClass):'<span class="'+S.params.paginationProgressbarClass+'"></span>',S.paginationContainer.html(e)),"custom"!==S.params.paginationType&&S.emit("onPaginationRendered",S,S.paginationContainer[0])}},S.update=function(e){function t(){S.rtl,S.translate,n=Math.min(Math.max(S.translate,S.maxTranslate()),S.minTranslate()),S.setWrapperTranslate(n),S.updateActiveIndex(),S.updateClasses()}var n;S&&(S.updateContainerSize(),S.updateSlidesSize(),S.updateProgress(),S.updatePagination(),S.updateClasses(),S.params.scrollbar&&S.scrollbar&&S.scrollbar.set(),e?(S.controller&&S.controller.spline&&(S.controller.spline=void 0),S.params.freeMode?(t(),S.params.autoHeight&&S.updateAutoHeight()):(("auto"===S.params.slidesPerView||S.params.slidesPerView>1)&&S.isEnd&&!S.params.centeredSlides?S.slideTo(S.slides.length-1,0,!1,!0):S.slideTo(S.activeIndex,0,!1,!0))||t()):S.params.autoHeight&&S.updateAutoHeight())},S.onResize=function(e){S.params.onBeforeResize&&S.params.onBeforeResize(S),S.params.breakpoints&&S.setBreakpoint();var t=S.params.allowSwipeToPrev,n=S.params.allowSwipeToNext;S.params.allowSwipeToPrev=S.params.allowSwipeToNext=!0,S.updateContainerSize(),S.updateSlidesSize(),("auto"===S.params.slidesPerView||S.params.freeMode||e)&&S.updatePagination(),S.params.scrollbar&&S.scrollbar&&S.scrollbar.set(),S.controller&&S.controller.spline&&(S.controller.spline=void 0);var r=!1;if(S.params.freeMode){var i=Math.min(Math.max(S.translate,S.maxTranslate()),S.minTranslate());S.setWrapperTranslate(i),S.updateActiveIndex(),S.updateClasses(),S.params.autoHeight&&S.updateAutoHeight()}else S.updateClasses(),r=("auto"===S.params.slidesPerView||S.params.slidesPerView>1)&&S.isEnd&&!S.params.centeredSlides?S.slideTo(S.slides.length-1,0,!1,!0):S.slideTo(S.activeIndex,0,!1,!0);S.params.lazyLoading&&!r&&S.lazy&&S.lazy.load(),S.params.allowSwipeToPrev=t,S.params.allowSwipeToNext=n,S.params.onAfterResize&&S.params.onAfterResize(S)},S.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?S.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(S.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),S.touchEvents={start:S.support.touch||!S.params.simulateTouch?"touchstart":S.touchEventsDesktop.start,move:S.support.touch||!S.params.simulateTouch?"touchmove":S.touchEventsDesktop.move,end:S.support.touch||!S.params.simulateTouch?"touchend":S.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===S.params.touchEventsTarget?S.container:S.wrapper).addClass("swiper-wp8-"+S.params.direction),S.initEvents=function(e){var t=e?"off":"on",n=e?"removeEventListener":"addEventListener",r="container"===S.params.touchEventsTarget?S.container[0]:S.wrapper[0],i=S.support.touch?r:document,a=!!S.params.nested;if(S.browser.ie)r[n](S.touchEvents.start,S.onTouchStart,!1),i[n](S.touchEvents.move,S.onTouchMove,a),i[n](S.touchEvents.end,S.onTouchEnd,!1);else{if(S.support.touch){var s=!("touchstart"!==S.touchEvents.start||!S.support.passiveListener||!S.params.passiveListeners)&&{passive:!0,capture:!1};r[n](S.touchEvents.start,S.onTouchStart,s),r[n](S.touchEvents.move,S.onTouchMove,a),r[n](S.touchEvents.end,S.onTouchEnd,s)}(o.simulateTouch&&!S.device.ios&&!S.device.android||o.simulateTouch&&!S.support.touch&&S.device.ios)&&(r[n]("mousedown",S.onTouchStart,!1),document[n]("mousemove",S.onTouchMove,a),document[n]("mouseup",S.onTouchEnd,!1))}window[n]("resize",S.onResize),S.params.nextButton&&S.nextButton&&S.nextButton.length>0&&(S.nextButton[t]("click",S.onClickNext),S.params.a11y&&S.a11y&&S.nextButton[t]("keydown",S.a11y.onEnterKey)),S.params.prevButton&&S.prevButton&&S.prevButton.length>0&&(S.prevButton[t]("click",S.onClickPrev),S.params.a11y&&S.a11y&&S.prevButton[t]("keydown",S.a11y.onEnterKey)),S.params.pagination&&S.params.paginationClickable&&(S.paginationContainer[t]("click","."+S.params.bulletClass,S.onClickIndex),S.params.a11y&&S.a11y&&S.paginationContainer[t]("keydown","."+S.params.bulletClass,S.a11y.onEnterKey)),(S.params.preventClicks||S.params.preventClicksPropagation)&&r[n]("click",S.preventClicks,!0)},S.attachEvents=function(){S.initEvents()},S.detachEvents=function(){S.initEvents(!0)},S.allowClick=!0,S.preventClicks=function(e){S.allowClick||(S.params.preventClicks&&e.preventDefault(),S.params.preventClicksPropagation&&S.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},S.onClickNext=function(e){e.preventDefault(),S.isEnd&&!S.params.loop||S.slideNext()},S.onClickPrev=function(e){e.preventDefault(),S.isBeginning&&!S.params.loop||S.slidePrev()},S.onClickIndex=function(t){t.preventDefault();var n=e(this).index()*S.params.slidesPerGroup;S.params.loop&&(n+=S.loopedSlides),S.slideTo(n)},S.updateClickedSlide=function(t){var n=u(t,"."+S.params.slideClass),r=!1;if(n)for(var i=0;i<S.slides.length;i++)S.slides[i]===n&&(r=!0);if(!n||!r)return S.clickedSlide=void 0,void(S.clickedIndex=void 0);if(S.clickedSlide=n,S.clickedIndex=e(n).index(),S.params.slideToClickedSlide&&void 0!==S.clickedIndex&&S.clickedIndex!==S.activeIndex){var o,a=S.clickedIndex,s="auto"===S.params.slidesPerView?S.currentSlidesPerView():S.params.slidesPerView;if(S.params.loop){if(S.animating)return;o=parseInt(e(S.clickedSlide).attr("data-swiper-slide-index"),10),S.params.centeredSlides?a<S.loopedSlides-s/2||a>S.slides.length-S.loopedSlides+s/2?(S.fixLoop(),a=S.wrapper.children("."+S.params.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.'+S.params.slideDuplicateClass+")").eq(0).index(),setTimeout((function(){S.slideTo(a)}),0)):S.slideTo(a):a>S.slides.length-s?(S.fixLoop(),a=S.wrapper.children("."+S.params.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.'+S.params.slideDuplicateClass+")").eq(0).index(),setTimeout((function(){S.slideTo(a)}),0)):S.slideTo(a)}else S.slideTo(a)}};var w,b,A,C,T,I,O,x,F,N,R,P,B="input, select, textarea, button, video",L=Date.now(),M=[];for(var H in S.animating=!1,S.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0},S.onTouchStart=function(t){if(t.originalEvent&&(t=t.originalEvent),(R="touchstart"===t.type)||!("which"in t)||3!==t.which){if(S.params.noSwiping&&u(t,"."+S.params.noSwipingClass))return void(S.allowClick=!0);if(!S.params.swipeHandler||u(t,S.params.swipeHandler)){var n=S.touches.currentX="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,r=S.touches.currentY="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY;if(!(S.device.ios&&S.params.iOSEdgeSwipeDetection&&n<=S.params.iOSEdgeSwipeThreshold)){if(w=!0,b=!1,A=!0,T=void 0,P=void 0,S.touches.startX=n,S.touches.startY=r,C=Date.now(),S.allowClick=!0,S.updateContainerSize(),S.swipeDirection=void 0,S.params.threshold>0&&(x=!1),"touchstart"!==t.type){var i=!0;e(t.target).is(B)&&(i=!1),document.activeElement&&e(document.activeElement).is(B)&&document.activeElement.blur(),i&&t.preventDefault()}S.emit("onTouchStart",S,t)}}}},S.onTouchMove=function(t){if(t.originalEvent&&(t=t.originalEvent),!R||"mousemove"!==t.type){if(t.preventedByNestedSwiper)return S.touches.startX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,void(S.touches.startY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY);if(S.params.onlyExternal)return S.allowClick=!1,void(w&&(S.touches.startX=S.touches.currentX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,S.touches.startY=S.touches.currentY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,C=Date.now()));if(R&&S.params.touchReleaseOnEdges&&!S.params.loop)if(S.isHorizontal()){if(S.touches.currentX<S.touches.startX&&S.translate<=S.maxTranslate()||S.touches.currentX>S.touches.startX&&S.translate>=S.minTranslate())return}else if(S.touches.currentY<S.touches.startY&&S.translate<=S.maxTranslate()||S.touches.currentY>S.touches.startY&&S.translate>=S.minTranslate())return;if(R&&document.activeElement&&t.target===document.activeElement&&e(t.target).is(B))return b=!0,void(S.allowClick=!1);var n;if(A&&S.emit("onTouchMove",S,t),!(t.targetTouches&&t.targetTouches.length>1)&&(S.touches.currentX="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,S.touches.currentY="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,void 0===T&&(S.isHorizontal()&&S.touches.currentY===S.touches.startY||!S.isHorizontal()&&S.touches.currentX===S.touches.startX?T=!1:(n=180*Math.atan2(Math.abs(S.touches.currentY-S.touches.startY),Math.abs(S.touches.currentX-S.touches.startX))/Math.PI,T=S.isHorizontal()?n>S.params.touchAngle:90-n>S.params.touchAngle)),T&&S.emit("onTouchMoveOpposite",S,t),void 0===P&&(S.touches.currentX===S.touches.startX&&S.touches.currentY===S.touches.startY||(P=!0)),w)){if(T)return void(w=!1);if(P){S.allowClick=!1,S.emit("onSliderMove",S,t),t.preventDefault(),S.params.touchMoveStopPropagation&&!S.params.nested&&t.stopPropagation(),b||(o.loop&&S.fixLoop(),O=S.getWrapperTranslate(),S.setWrapperTransition(0),S.animating&&S.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),S.params.autoplay&&S.autoplaying&&(S.params.autoplayDisableOnInteraction?S.stopAutoplay():S.pauseAutoplay()),N=!1,!S.params.grabCursor||!0!==S.params.allowSwipeToNext&&!0!==S.params.allowSwipeToPrev||S.setGrabCursor(!0)),b=!0;var r=S.touches.diff=S.isHorizontal()?S.touches.currentX-S.touches.startX:S.touches.currentY-S.touches.startY;r*=S.params.touchRatio,S.rtl&&(r=-r),S.swipeDirection=r>0?"prev":"next",I=r+O;var i=!0;if(r>0&&I>S.minTranslate()?(i=!1,S.params.resistance&&(I=S.minTranslate()-1+Math.pow(-S.minTranslate()+O+r,S.params.resistanceRatio))):r<0&&I<S.maxTranslate()&&(i=!1,S.params.resistance&&(I=S.maxTranslate()+1-Math.pow(S.maxTranslate()-O-r,S.params.resistanceRatio))),i&&(t.preventedByNestedSwiper=!0),!S.params.allowSwipeToNext&&"next"===S.swipeDirection&&I<O&&(I=O),!S.params.allowSwipeToPrev&&"prev"===S.swipeDirection&&I>O&&(I=O),S.params.threshold>0){if(!(Math.abs(r)>S.params.threshold||x))return void(I=O);if(!x)return x=!0,S.touches.startX=S.touches.currentX,S.touches.startY=S.touches.currentY,I=O,void(S.touches.diff=S.isHorizontal()?S.touches.currentX-S.touches.startX:S.touches.currentY-S.touches.startY)}S.params.followFinger&&((S.params.freeMode||S.params.watchSlidesProgress)&&S.updateActiveIndex(),S.params.freeMode&&(0===M.length&&M.push({position:S.touches[S.isHorizontal()?"startX":"startY"],time:C}),M.push({position:S.touches[S.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),S.updateProgress(I),S.setWrapperTranslate(I))}}}},S.onTouchEnd=function(t){if(t.originalEvent&&(t=t.originalEvent),A&&S.emit("onTouchEnd",S,t),A=!1,w){S.params.grabCursor&&b&&w&&(!0===S.params.allowSwipeToNext||!0===S.params.allowSwipeToPrev)&&S.setGrabCursor(!1);var n,r=Date.now(),i=r-C;if(S.allowClick&&(S.updateClickedSlide(t),S.emit("onTap",S,t),i<300&&r-L>300&&(F&&clearTimeout(F),F=setTimeout((function(){S&&(S.params.paginationHide&&S.paginationContainer.length>0&&!e(t.target).hasClass(S.params.bulletClass)&&S.paginationContainer.toggleClass(S.params.paginationHiddenClass),S.emit("onClick",S,t))}),300)),i<300&&r-L<300&&(F&&clearTimeout(F),S.emit("onDoubleTap",S,t))),L=Date.now(),setTimeout((function(){S&&(S.allowClick=!0)}),0),!w||!b||!S.swipeDirection||0===S.touches.diff||I===O)return void(w=b=!1);if(w=b=!1,n=S.params.followFinger?S.rtl?S.translate:-S.translate:-I,S.params.freeMode){if(n<-S.minTranslate())return void S.slideTo(S.activeIndex);if(n>-S.maxTranslate())return void(S.slides.length<S.snapGrid.length?S.slideTo(S.snapGrid.length-1):S.slideTo(S.slides.length-1));if(S.params.freeModeMomentum){if(M.length>1){var o=M.pop(),a=M.pop(),s=o.position-a.position,u=o.time-a.time;S.velocity=s/u,S.velocity=S.velocity/2,Math.abs(S.velocity)<S.params.freeModeMinimumVelocity&&(S.velocity=0),(u>150||(new window.Date).getTime()-o.time>300)&&(S.velocity=0)}else S.velocity=0;S.velocity=S.velocity*S.params.freeModeMomentumVelocityRatio,M.length=0;var c=1e3*S.params.freeModeMomentumRatio,l=S.velocity*c,f=S.translate+l;S.rtl&&(f=-f);var h,d=!1,p=20*Math.abs(S.velocity)*S.params.freeModeMomentumBounceRatio;if(f<S.maxTranslate())S.params.freeModeMomentumBounce?(f+S.maxTranslate()<-p&&(f=S.maxTranslate()-p),h=S.maxTranslate(),d=!0,N=!0):f=S.maxTranslate();else if(f>S.minTranslate())S.params.freeModeMomentumBounce?(f-S.minTranslate()>p&&(f=S.minTranslate()+p),h=S.minTranslate(),d=!0,N=!0):f=S.minTranslate();else if(S.params.freeModeSticky){var g,m=0;for(m=0;m<S.snapGrid.length;m+=1)if(S.snapGrid[m]>-f){g=m;break}f=Math.abs(S.snapGrid[g]-f)<Math.abs(S.snapGrid[g-1]-f)||"next"===S.swipeDirection?S.snapGrid[g]:S.snapGrid[g-1],S.rtl||(f=-f)}if(0!==S.velocity)c=S.rtl?Math.abs((-f-S.translate)/S.velocity):Math.abs((f-S.translate)/S.velocity);else if(S.params.freeModeSticky)return void S.slideReset();S.params.freeModeMomentumBounce&&d?(S.updateProgress(h),S.setWrapperTransition(c),S.setWrapperTranslate(f),S.onTransitionStart(),S.animating=!0,S.wrapper.transitionEnd((function(){S&&N&&(S.emit("onMomentumBounce",S),S.setWrapperTransition(S.params.speed),S.setWrapperTranslate(h),S.wrapper.transitionEnd((function(){S&&S.onTransitionEnd()})))}))):S.velocity?(S.updateProgress(f),S.setWrapperTransition(c),S.setWrapperTranslate(f),S.onTransitionStart(),S.animating||(S.animating=!0,S.wrapper.transitionEnd((function(){S&&S.onTransitionEnd()})))):S.updateProgress(f),S.updateActiveIndex()}return void((!S.params.freeModeMomentum||i>=S.params.longSwipesMs)&&(S.updateProgress(),S.updateActiveIndex()))}var v,E=0,_=S.slidesSizesGrid[0];for(v=0;v<S.slidesGrid.length;v+=S.params.slidesPerGroup)void 0!==S.slidesGrid[v+S.params.slidesPerGroup]?n>=S.slidesGrid[v]&&n<S.slidesGrid[v+S.params.slidesPerGroup]&&(E=v,_=S.slidesGrid[v+S.params.slidesPerGroup]-S.slidesGrid[v]):n>=S.slidesGrid[v]&&(E=v,_=S.slidesGrid[S.slidesGrid.length-1]-S.slidesGrid[S.slidesGrid.length-2]);var y=(n-S.slidesGrid[E])/_;if(i>S.params.longSwipesMs){if(!S.params.longSwipes)return void S.slideTo(S.activeIndex);"next"===S.swipeDirection&&(y>=S.params.longSwipesRatio?S.slideTo(E+S.params.slidesPerGroup):S.slideTo(E)),"prev"===S.swipeDirection&&(y>1-S.params.longSwipesRatio?S.slideTo(E+S.params.slidesPerGroup):S.slideTo(E))}else{if(!S.params.shortSwipes)return void S.slideTo(S.activeIndex);"next"===S.swipeDirection&&S.slideTo(E+S.params.slidesPerGroup),"prev"===S.swipeDirection&&S.slideTo(E)}}},S._slideTo=function(e,t){return S.slideTo(e,t,!0,!0)},S.slideTo=function(e,t,n,r){void 0===n&&(n=!0),void 0===e&&(e=0),e<0&&(e=0),S.snapIndex=Math.floor(e/S.params.slidesPerGroup),S.snapIndex>=S.snapGrid.length&&(S.snapIndex=S.snapGrid.length-1);var i=-S.snapGrid[S.snapIndex];if(S.params.autoplay&&S.autoplaying&&(r||!S.params.autoplayDisableOnInteraction?S.pauseAutoplay(t):S.stopAutoplay()),S.updateProgress(i),S.params.normalizeSlideIndex)for(var o=0;o<S.slidesGrid.length;o++)-Math.floor(100*i)>=Math.floor(100*S.slidesGrid[o])&&(e=o);return!(!S.params.allowSwipeToNext&&i<S.translate&&i<S.minTranslate())&&!(!S.params.allowSwipeToPrev&&i>S.translate&&i>S.maxTranslate()&&(S.activeIndex||0)!==e)&&(void 0===t&&(t=S.params.speed),S.previousIndex=S.activeIndex||0,S.activeIndex=e,S.updateRealIndex(),S.rtl&&-i===S.translate||!S.rtl&&i===S.translate?(S.params.autoHeight&&S.updateAutoHeight(),S.updateClasses(),"slide"!==S.params.effect&&S.setWrapperTranslate(i),!1):(S.updateClasses(),S.onTransitionStart(n),0===t||S.browser.lteIE9?(S.setWrapperTranslate(i),S.setWrapperTransition(0),S.onTransitionEnd(n)):(S.setWrapperTranslate(i),S.setWrapperTransition(t),S.animating||(S.animating=!0,S.wrapper.transitionEnd((function(){S&&S.onTransitionEnd(n)})))),!0))},S.onTransitionStart=function(e){void 0===e&&(e=!0),S.params.autoHeight&&S.updateAutoHeight(),S.lazy&&S.lazy.onTransitionStart(),e&&(S.emit("onTransitionStart",S),S.activeIndex!==S.previousIndex&&(S.emit("onSlideChangeStart",S),S.activeIndex>S.previousIndex?S.emit("onSlideNextStart",S):S.emit("onSlidePrevStart",S)))},S.onTransitionEnd=function(e){S.animating=!1,S.setWrapperTransition(0),void 0===e&&(e=!0),S.lazy&&S.lazy.onTransitionEnd(),e&&(S.emit("onTransitionEnd",S),S.activeIndex!==S.previousIndex&&(S.emit("onSlideChangeEnd",S),S.activeIndex>S.previousIndex?S.emit("onSlideNextEnd",S):S.emit("onSlidePrevEnd",S))),S.params.history&&S.history&&S.history.setHistory(S.params.history,S.activeIndex),S.params.hashnav&&S.hashnav&&S.hashnav.setHash()},S.slideNext=function(e,t,n){return S.params.loop?!S.animating&&(S.fixLoop(),S.container[0].clientLeft,S.slideTo(S.activeIndex+S.params.slidesPerGroup,t,e,n)):S.slideTo(S.activeIndex+S.params.slidesPerGroup,t,e,n)},S._slideNext=function(e){return S.slideNext(!0,e,!0)},S.slidePrev=function(e,t,n){return S.params.loop?!S.animating&&(S.fixLoop(),S.container[0].clientLeft,S.slideTo(S.activeIndex-1,t,e,n)):S.slideTo(S.activeIndex-1,t,e,n)},S._slidePrev=function(e){return S.slidePrev(!0,e,!0)},S.slideReset=function(e,t,n){return S.slideTo(S.activeIndex,t,e)},S.disableTouchControl=function(){return S.params.onlyExternal=!0,!0},S.enableTouchControl=function(){return S.params.onlyExternal=!1,!0},S.setWrapperTransition=function(e,t){S.wrapper.transition(e),"slide"!==S.params.effect&&S.effects[S.params.effect]&&S.effects[S.params.effect].setTransition(e),S.params.parallax&&S.parallax&&S.parallax.setTransition(e),S.params.scrollbar&&S.scrollbar&&S.scrollbar.setTransition(e),S.params.control&&S.controller&&S.controller.setTransition(e,t),S.emit("onSetTransition",S,e)},S.setWrapperTranslate=function(e,t,n){var r=0,i=0;S.isHorizontal()?r=S.rtl?-e:e:i=e,S.params.roundLengths&&(r=a(r),i=a(i)),S.params.virtualTranslate||(S.support.transforms3d?S.wrapper.transform("translate3d("+r+"px, "+i+"px, 0px)"):S.wrapper.transform("translate("+r+"px, "+i+"px)")),S.translate=S.isHorizontal()?r:i;var o=S.maxTranslate()-S.minTranslate();(0===o?0:(e-S.minTranslate())/o)!==S.progress&&S.updateProgress(e),t&&S.updateActiveIndex(),"slide"!==S.params.effect&&S.effects[S.params.effect]&&S.effects[S.params.effect].setTranslate(S.translate),S.params.parallax&&S.parallax&&S.parallax.setTranslate(S.translate),S.params.scrollbar&&S.scrollbar&&S.scrollbar.setTranslate(S.translate),S.params.control&&S.controller&&S.controller.setTranslate(S.translate,n),S.emit("onSetTranslate",S,S.translate)},S.getTranslate=function(e,t){var n,r,i,o;return void 0===t&&(t="x"),S.params.virtualTranslate?S.rtl?-S.translate:S.translate:(i=window.getComputedStyle(e,null),window.WebKitCSSMatrix?((r=i.transform||i.webkitTransform).split(",").length>6&&(r=r.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),o=new window.WebKitCSSMatrix("none"===r?"":r)):n=(o=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(r=window.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=window.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),S.rtl&&r&&(r=-r),r||0)},S.getWrapperTranslate=function(e){return void 0===e&&(e=S.isHorizontal()?"x":"y"),S.getTranslate(S.wrapper[0],e)},S.observers=[],S.initObservers=function(){if(S.params.observeParents)for(var e=S.container.parents(),t=0;t<e.length;t++)c(e[t]);c(S.container[0],{childList:!1}),c(S.wrapper[0],{attributes:!1})},S.disconnectObservers=function(){for(var e=0;e<S.observers.length;e++)S.observers[e].disconnect();S.observers=[]},S.createLoop=function(){S.wrapper.children("."+S.params.slideClass+"."+S.params.slideDuplicateClass).remove();var t=S.wrapper.children("."+S.params.slideClass);"auto"!==S.params.slidesPerView||S.params.loopedSlides||(S.params.loopedSlides=t.length),S.loopedSlides=parseInt(S.params.loopedSlides||S.params.slidesPerView,10),S.loopedSlides=S.loopedSlides+S.params.loopAdditionalSlides,S.loopedSlides>t.length&&(S.loopedSlides=t.length);var n,r=[],i=[];for(t.each((function(n,o){var a=e(this);n<S.loopedSlides&&i.push(o),n<t.length&&n>=t.length-S.loopedSlides&&r.push(o),a.attr("data-swiper-slide-index",n)})),n=0;n<i.length;n++)S.wrapper.append(e(i[n].cloneNode(!0)).addClass(S.params.slideDuplicateClass));for(n=r.length-1;n>=0;n--)S.wrapper.prepend(e(r[n].cloneNode(!0)).addClass(S.params.slideDuplicateClass))},S.destroyLoop=function(){S.wrapper.children("."+S.params.slideClass+"."+S.params.slideDuplicateClass).remove(),S.slides.removeAttr("data-swiper-slide-index")},S.reLoop=function(e){var t=S.activeIndex-S.loopedSlides;S.destroyLoop(),S.createLoop(),S.updateSlidesSize(),e&&S.slideTo(t+S.loopedSlides,0,!1)},S.fixLoop=function(){var e;S.activeIndex<S.loopedSlides?(e=S.slides.length-3*S.loopedSlides+S.activeIndex,e+=S.loopedSlides,S.slideTo(e,0,!1,!0)):("auto"===S.params.slidesPerView&&S.activeIndex>=2*S.loopedSlides||S.activeIndex>S.slides.length-2*S.params.slidesPerView)&&(e=-S.slides.length+S.activeIndex+S.loopedSlides,e+=S.loopedSlides,S.slideTo(e,0,!1,!0))},S.appendSlide=function(e){if(S.params.loop&&S.destroyLoop(),"object"==t(e)&&e.length)for(var n=0;n<e.length;n++)e[n]&&S.wrapper.append(e[n]);else S.wrapper.append(e);S.params.loop&&S.createLoop(),S.params.observer&&S.support.observer||S.update(!0)},S.prependSlide=function(e){S.params.loop&&S.destroyLoop();var n=S.activeIndex+1;if("object"==t(e)&&e.length){for(var r=0;r<e.length;r++)e[r]&&S.wrapper.prepend(e[r]);n=S.activeIndex+e.length}else S.wrapper.prepend(e);S.params.loop&&S.createLoop(),S.params.observer&&S.support.observer||S.update(!0),S.slideTo(n,0,!1)},S.removeSlide=function(e){S.params.loop&&(S.destroyLoop(),S.slides=S.wrapper.children("."+S.params.slideClass));var n,r=S.activeIndex;if("object"==t(e)&&e.length){for(var i=0;i<e.length;i++)n=e[i],S.slides[n]&&S.slides.eq(n).remove(),n<r&&r--;r=Math.max(r,0)}else n=e,S.slides[n]&&S.slides.eq(n).remove(),n<r&&r--,r=Math.max(r,0);S.params.loop&&S.createLoop(),S.params.observer&&S.support.observer||S.update(!0),S.params.loop?S.slideTo(r+S.loopedSlides,0,!1):S.slideTo(r,0,!1)},S.removeAllSlides=function(){for(var e=[],t=0;t<S.slides.length;t++)e.push(t);S.removeSlide(e)},S.effects={fade:{setTranslate:function(){for(var e=0;e<S.slides.length;e++){var t=S.slides.eq(e),n=-t[0].swiperSlideOffset;S.params.virtualTranslate||(n-=S.translate);var r=0;S.isHorizontal()||(r=n,n=0);var i=S.params.fade.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:i}).transform("translate3d("+n+"px, "+r+"px, 0px)")}},setTransition:function(e){if(S.slides.transition(e),S.params.virtualTranslate&&0!==e){var t=!1;S.slides.transitionEnd((function(){if(!t&&S){t=!0,S.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],n=0;n<e.length;n++)S.wrapper.trigger(e[n])}}))}}},flip:{setTranslate:function(){for(var t=0;t<S.slides.length;t++){var n=S.slides.eq(t),r=n[0].progress;S.params.flip.limitRotation&&(r=Math.max(Math.min(n[0].progress,1),-1));var i=-180*r,o=0,a=-n[0].swiperSlideOffset,s=0;if(S.isHorizontal()?S.rtl&&(i=-i):(s=a,a=0,o=-i,i=0),n[0].style.zIndex=-Math.abs(Math.round(r))+S.slides.length,S.params.flip.slideShadows){var u=S.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),c=S.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");0===u.length&&(u=e('<div class="swiper-slide-shadow-'+(S.isHorizontal()?"left":"top")+'"></div>'),n.append(u)),0===c.length&&(c=e('<div class="swiper-slide-shadow-'+(S.isHorizontal()?"right":"bottom")+'"></div>'),n.append(c)),u.length&&(u[0].style.opacity=Math.max(-r,0)),c.length&&(c[0].style.opacity=Math.max(r,0))}n.transform("translate3d("+a+"px, "+s+"px, 0px) rotateX("+o+"deg) rotateY("+i+"deg)")}},setTransition:function(t){if(S.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),S.params.virtualTranslate&&0!==t){var n=!1;S.slides.eq(S.activeIndex).transitionEnd((function(){if(!n&&S&&e(this).hasClass(S.params.slideActiveClass)){n=!0,S.animating=!1;for(var t=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],r=0;r<t.length;r++)S.wrapper.trigger(t[r])}}))}}},cube:{setTranslate:function(){var t,n=0;S.params.cube.shadow&&(S.isHorizontal()?(0===(t=S.wrapper.find(".swiper-cube-shadow")).length&&(t=e('<div class="swiper-cube-shadow"></div>'),S.wrapper.append(t)),t.css({height:S.width+"px"})):0===(t=S.container.find(".swiper-cube-shadow")).length&&(t=e('<div class="swiper-cube-shadow"></div>'),S.container.append(t)));for(var r=0;r<S.slides.length;r++){var i=S.slides.eq(r),o=90*r,a=Math.floor(o/360);S.rtl&&(o=-o,a=Math.floor(-o/360));var s=Math.max(Math.min(i[0].progress,1),-1),u=0,c=0,l=0;r%4==0?(u=4*-a*S.size,l=0):(r-1)%4==0?(u=0,l=4*-a*S.size):(r-2)%4==0?(u=S.size+4*a*S.size,l=S.size):(r-3)%4==0&&(u=-S.size,l=3*S.size+4*S.size*a),S.rtl&&(u=-u),S.isHorizontal()||(c=u,u=0);var f="rotateX("+(S.isHorizontal()?0:-o)+"deg) rotateY("+(S.isHorizontal()?o:0)+"deg) translate3d("+u+"px, "+c+"px, "+l+"px)";if(s<=1&&s>-1&&(n=90*r+90*s,S.rtl&&(n=90*-r-90*s)),i.transform(f),S.params.cube.slideShadows){var h=S.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),d=S.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===h.length&&(h=e('<div class="swiper-slide-shadow-'+(S.isHorizontal()?"left":"top")+'"></div>'),i.append(h)),0===d.length&&(d=e('<div class="swiper-slide-shadow-'+(S.isHorizontal()?"right":"bottom")+'"></div>'),i.append(d)),h.length&&(h[0].style.opacity=Math.max(-s,0)),d.length&&(d[0].style.opacity=Math.max(s,0))}}if(S.wrapper.css({"-webkit-transform-origin":"50% 50% -"+S.size/2+"px","-moz-transform-origin":"50% 50% -"+S.size/2+"px","-ms-transform-origin":"50% 50% -"+S.size/2+"px","transform-origin":"50% 50% -"+S.size/2+"px"}),S.params.cube.shadow)if(S.isHorizontal())t.transform("translate3d(0px, "+(S.width/2+S.params.cube.shadowOffset)+"px, "+-S.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+S.params.cube.shadowScale+")");else{var p=Math.abs(n)-90*Math.floor(Math.abs(n)/90),g=1.5-(Math.sin(2*p*Math.PI/360)/2+Math.cos(2*p*Math.PI/360)/2),m=S.params.cube.shadowScale,v=S.params.cube.shadowScale/g,E=S.params.cube.shadowOffset;t.transform("scale3d("+m+", 1, "+v+") translate3d(0px, "+(S.height/2+E)+"px, "+-S.height/2/v+"px) rotateX(-90deg)")}var _=S.isSafari||S.isUiWebView?-S.size/2:0;S.wrapper.transform("translate3d(0px,0,"+_+"px) rotateX("+(S.isHorizontal()?0:n)+"deg) rotateY("+(S.isHorizontal()?-n:0)+"deg)")},setTransition:function(e){S.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),S.params.cube.shadow&&!S.isHorizontal()&&S.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var t=S.translate,n=S.isHorizontal()?-t+S.width/2:-t+S.height/2,r=S.isHorizontal()?S.params.coverflow.rotate:-S.params.coverflow.rotate,i=S.params.coverflow.depth,o=0,a=S.slides.length;o<a;o++){var s=S.slides.eq(o),u=S.slidesSizesGrid[o],c=(n-s[0].swiperSlideOffset-u/2)/u*S.params.coverflow.modifier,l=S.isHorizontal()?r*c:0,f=S.isHorizontal()?0:r*c,h=-i*Math.abs(c),d=S.isHorizontal()?0:S.params.coverflow.stretch*c,p=S.isHorizontal()?S.params.coverflow.stretch*c:0;Math.abs(p)<.001&&(p=0),Math.abs(d)<.001&&(d=0),Math.abs(h)<.001&&(h=0),Math.abs(l)<.001&&(l=0),Math.abs(f)<.001&&(f=0);var g="translate3d("+p+"px,"+d+"px,"+h+"px) rotateX("+f+"deg) rotateY("+l+"deg)";if(s.transform(g),s[0].style.zIndex=1-Math.abs(Math.round(c)),S.params.coverflow.slideShadows){var m=S.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),v=S.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===m.length&&(m=e('<div class="swiper-slide-shadow-'+(S.isHorizontal()?"left":"top")+'"></div>'),s.append(m)),0===v.length&&(v=e('<div class="swiper-slide-shadow-'+(S.isHorizontal()?"right":"bottom")+'"></div>'),s.append(v)),m.length&&(m[0].style.opacity=c>0?c:0),v.length&&(v[0].style.opacity=-c>0?-c:0)}}S.browser.ie&&(S.wrapper[0].style.perspectiveOrigin=n+"px 50%")},setTransition:function(e){S.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},S.lazy={initialImageLoaded:!1,loadImageInSlide:function(t,n){if(void 0!==t&&(void 0===n&&(n=!0),0!==S.slides.length)){var r=S.slides.eq(t),i=r.find("."+S.params.lazyLoadingClass+":not(."+S.params.lazyStatusLoadedClass+"):not(."+S.params.lazyStatusLoadingClass+")");!r.hasClass(S.params.lazyLoadingClass)||r.hasClass(S.params.lazyStatusLoadedClass)||r.hasClass(S.params.lazyStatusLoadingClass)||(i=i.add(r[0])),0!==i.length&&i.each((function(){var t=e(this);t.addClass(S.params.lazyStatusLoadingClass);var i=t.attr("data-background"),o=t.attr("data-src"),a=t.attr("data-srcset"),s=t.attr("data-sizes");S.loadImage(t[0],o||i,a,s,!1,(function(){if(void 0!==S&&null!==S&&S){if(i?(t.css("background-image",'url("'+i+'")'),t.removeAttr("data-background")):(a&&(t.attr("srcset",a),t.removeAttr("data-srcset")),s&&(t.attr("sizes",s),t.removeAttr("data-sizes")),o&&(t.attr("src",o),t.removeAttr("data-src"))),t.addClass(S.params.lazyStatusLoadedClass).removeClass(S.params.lazyStatusLoadingClass),r.find("."+S.params.lazyPreloaderClass+", ."+S.params.preloaderClass).remove(),S.params.loop&&n){var e=r.attr("data-swiper-slide-index");if(r.hasClass(S.params.slideDuplicateClass)){var u=S.wrapper.children('[data-swiper-slide-index="'+e+'"]:not(.'+S.params.slideDuplicateClass+")");S.lazy.loadImageInSlide(u.index(),!1)}else{var c=S.wrapper.children("."+S.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');S.lazy.loadImageInSlide(c.index(),!1)}}S.emit("onLazyImageReady",S,r[0],t[0])}})),S.emit("onLazyImageLoad",S,r[0],t[0])}))}},load:function(){var t,n=S.params.slidesPerView;if("auto"===n&&(n=0),S.lazy.initialImageLoaded||(S.lazy.initialImageLoaded=!0),S.params.watchSlidesVisibility)S.wrapper.children("."+S.params.slideVisibleClass).each((function(){S.lazy.loadImageInSlide(e(this).index())}));else if(n>1)for(t=S.activeIndex;t<S.activeIndex+n;t++)S.slides[t]&&S.lazy.loadImageInSlide(t);else S.lazy.loadImageInSlide(S.activeIndex);if(S.params.lazyLoadingInPrevNext)if(n>1||S.params.lazyLoadingInPrevNextAmount&&S.params.lazyLoadingInPrevNextAmount>1){var r=S.params.lazyLoadingInPrevNextAmount,i=n,o=Math.min(S.activeIndex+i+Math.max(r,i),S.slides.length),a=Math.max(S.activeIndex-Math.max(i,r),0);for(t=S.activeIndex+n;t<o;t++)S.slides[t]&&S.lazy.loadImageInSlide(t);for(t=a;t<S.activeIndex;t++)S.slides[t]&&S.lazy.loadImageInSlide(t)}else{var s=S.wrapper.children("."+S.params.slideNextClass);s.length>0&&S.lazy.loadImageInSlide(s.index());var u=S.wrapper.children("."+S.params.slidePrevClass);u.length>0&&S.lazy.loadImageInSlide(u.index())}},onTransitionStart:function(){S.params.lazyLoading&&(S.params.lazyLoadingOnTransitionStart||!S.params.lazyLoadingOnTransitionStart&&!S.lazy.initialImageLoaded)&&S.lazy.load()},onTransitionEnd:function(){S.params.lazyLoading&&!S.params.lazyLoadingOnTransitionStart&&S.lazy.load()}},S.scrollbar={isTouched:!1,setDragPosition:function(e){var t=S.scrollbar,n=(S.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-t.track.offset()[S.isHorizontal()?"left":"top"]-t.dragSize/2,r=-S.minTranslate()*t.moveDivider,i=-S.maxTranslate()*t.moveDivider;n<r?n=r:n>i&&(n=i),n=-n/t.moveDivider,S.updateProgress(n),S.setWrapperTranslate(n,!0)},dragStart:function(e){var t=S.scrollbar;t.isTouched=!0,e.preventDefault(),e.stopPropagation(),t.setDragPosition(e),clearTimeout(t.dragTimeout),t.track.transition(0),S.params.scrollbarHide&&t.track.css("opacity",1),S.wrapper.transition(100),t.drag.transition(100),S.emit("onScrollbarDragStart",S)},dragMove:function(e){var t=S.scrollbar;t.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),S.wrapper.transition(0),t.track.transition(0),t.drag.transition(0),S.emit("onScrollbarDragMove",S))},dragEnd:function(e){var t=S.scrollbar;t.isTouched&&(t.isTouched=!1,S.params.scrollbarHide&&(clearTimeout(t.dragTimeout),t.dragTimeout=setTimeout((function(){t.track.css("opacity",0),t.track.transition(400)}),1e3)),S.emit("onScrollbarDragEnd",S),S.params.scrollbarSnapOnRelease&&S.slideReset())},draggableEvents:!1!==S.params.simulateTouch||S.support.touch?S.touchEvents:S.touchEventsDesktop,enableDraggable:function(){var t=S.scrollbar,n=S.support.touch?t.track:document;e(t.track).on(t.draggableEvents.start,t.dragStart),e(n).on(t.draggableEvents.move,t.dragMove),e(n).on(t.draggableEvents.end,t.dragEnd)},disableDraggable:function(){var t=S.scrollbar,n=S.support.touch?t.track:document;e(t.track).off(t.draggableEvents.start,t.dragStart),e(n).off(t.draggableEvents.move,t.dragMove),e(n).off(t.draggableEvents.end,t.dragEnd)},set:function(){if(S.params.scrollbar){var t=S.scrollbar;t.track=e(S.params.scrollbar),S.params.uniqueNavElements&&"string"==typeof S.params.scrollbar&&t.track.length>1&&1===S.container.find(S.params.scrollbar).length&&(t.track=S.container.find(S.params.scrollbar)),t.drag=t.track.find(".swiper-scrollbar-drag"),0===t.drag.length&&(t.drag=e('<div class="swiper-scrollbar-drag"></div>'),t.track.append(t.drag)),t.drag[0].style.width="",t.drag[0].style.height="",t.trackSize=S.isHorizontal()?t.track[0].offsetWidth:t.track[0].offsetHeight,t.divider=S.size/S.virtualSize,t.moveDivider=t.divider*(t.trackSize/S.size),t.dragSize=t.trackSize*t.divider,S.isHorizontal()?t.drag[0].style.width=t.dragSize+"px":t.drag[0].style.height=t.dragSize+"px",t.divider>=1?t.track[0].style.display="none":t.track[0].style.display="",S.params.scrollbarHide&&(t.track[0].style.opacity=0)}},setTranslate:function(){if(S.params.scrollbar){var e,t=S.scrollbar,n=(S.translate,t.dragSize);e=(t.trackSize-t.dragSize)*S.progress,S.rtl&&S.isHorizontal()?(e=-e)>0?(n=t.dragSize-e,e=0):-e+t.dragSize>t.trackSize&&(n=t.trackSize+e):e<0?(n=t.dragSize+e,e=0):e+t.dragSize>t.trackSize&&(n=t.trackSize-e),S.isHorizontal()?(S.support.transforms3d?t.drag.transform("translate3d("+e+"px, 0, 0)"):t.drag.transform("translateX("+e+"px)"),t.drag[0].style.width=n+"px"):(S.support.transforms3d?t.drag.transform("translate3d(0px, "+e+"px, 0)"):t.drag.transform("translateY("+e+"px)"),t.drag[0].style.height=n+"px"),S.params.scrollbarHide&&(clearTimeout(t.timeout),t.track[0].style.opacity=1,t.timeout=setTimeout((function(){t.track[0].style.opacity=0,t.track.transition(400)}),1e3))}},setTransition:function(e){S.params.scrollbar&&S.scrollbar.drag.transition(e)}},S.controller={LinearSpline:function(e,t){var n,r,i=function(){var e,t,n;return function(r,i){for(t=-1,e=r.length;e-t>1;)r[n=e+t>>1]<=i?t=n:e=n;return e}}();this.x=e,this.y=t,this.lastIndex=e.length-1,this.x.length,this.interpolate=function(e){return e?(r=i(this.x,e),n=r-1,(e-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0}},getInterpolateFunction:function(e){S.controller.spline||(S.controller.spline=S.params.loop?new S.controller.LinearSpline(S.slidesGrid,e.slidesGrid):new S.controller.LinearSpline(S.snapGrid,e.snapGrid))},setTranslate:function(e,t){function r(t){e=t.rtl&&"horizontal"===t.params.direction?-S.translate:S.translate,"slide"===S.params.controlBy&&(S.controller.getInterpolateFunction(t),o=-S.controller.spline.interpolate(-e)),o&&"container"!==S.params.controlBy||(i=(t.maxTranslate()-t.minTranslate())/(S.maxTranslate()-S.minTranslate()),o=(e-S.minTranslate())*i+t.minTranslate()),S.params.controlInverse&&(o=t.maxTranslate()-o),t.updateProgress(o),t.setWrapperTranslate(o,!1,S),t.updateActiveIndex()}var i,o,a=S.params.control;if(Array.isArray(a))for(var s=0;s<a.length;s++)a[s]!==t&&a[s]instanceof n&&r(a[s]);else a instanceof n&&t!==a&&r(a)},setTransition:function(e,t){function r(t){t.setWrapperTransition(e,S),0!==e&&(t.onTransitionStart(),t.wrapper.transitionEnd((function(){o&&(t.params.loop&&"slide"===S.params.controlBy&&t.fixLoop(),t.onTransitionEnd())})))}var i,o=S.params.control;if(Array.isArray(o))for(i=0;i<o.length;i++)o[i]!==t&&o[i]instanceof n&&r(o[i]);else o instanceof n&&t!==o&&r(o)}},S.hashnav={onHashCange:function(e,t){var n=document.location.hash.replace("#","");n!==S.slides.eq(S.activeIndex).attr("data-hash")&&S.slideTo(S.wrapper.children("."+S.params.slideClass+'[data-hash="'+n+'"]').index())},attachEvents:function(t){var n=t?"off":"on";e(window)[n]("hashchange",S.hashnav.onHashCange)},setHash:function(){if(S.hashnav.initialized&&S.params.hashnav)if(S.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+S.slides.eq(S.activeIndex).attr("data-hash")||0);else{var e=S.slides.eq(S.activeIndex),t=e.attr("data-hash")||e.attr("data-history");document.location.hash=t||""}},init:function(){if(S.params.hashnav&&!S.params.history){S.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e)for(var t=0,n=S.slides.length;t<n;t++){var r=S.slides.eq(t);if((r.attr("data-hash")||r.attr("data-history"))===e&&!r.hasClass(S.params.slideDuplicateClass)){var i=r.index();S.slideTo(i,0,S.params.runCallbacksOnInit,!0)}}S.params.hashnavWatchState&&S.hashnav.attachEvents()}},destroy:function(){S.params.hashnavWatchState&&S.hashnav.attachEvents(!0)}},S.history={init:function(){if(S.params.history){if(!window.history||!window.history.pushState)return S.params.history=!1,void(S.params.hashnav=!0);S.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,S.params.runCallbacksOnInit),S.params.replaceState||window.addEventListener("popstate",this.setHistoryPopState))}},setHistoryPopState:function(){S.history.paths=S.history.getPathValues(),S.history.scrollToSlide(S.params.speed,S.history.paths.value,!1)},getPathValues:function(){var e=window.location.pathname.slice(1).split("/"),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(S.history.initialized&&S.params.history){var n=S.slides.eq(t),r=this.slugify(n.attr("data-history"));window.location.pathname.includes(e)||(r=e+"/"+r),S.params.replaceState?window.history.replaceState(null,null,r):window.history.pushState(null,null,r)}},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){if(t)for(var r=0,i=S.slides.length;r<i;r++){var o=S.slides.eq(r);if(this.slugify(o.attr("data-history"))===t&&!o.hasClass(S.params.slideDuplicateClass)){var a=o.index();S.slideTo(a,e,n)}}else S.slideTo(0,e,n)}},S.disableKeyboardControl=function(){S.params.keyboardControl=!1,e(document).off("keydown",l)},S.enableKeyboardControl=function(){S.params.keyboardControl=!0,e(document).on("keydown",l)},S.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},S.params.mousewheelControl&&(S.mousewheel.event=navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in document;if(!e){var t=document.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")&&(e=document.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"),S.disableMousewheelControl=function(){if(!S.mousewheel.event)return!1;var t=S.container;return"container"!==S.params.mousewheelEventsTarged&&(t=e(S.params.mousewheelEventsTarged)),t.off(S.mousewheel.event,f),S.params.mousewheelControl=!1,!0},S.enableMousewheelControl=function(){if(!S.mousewheel.event)return!1;var t=S.container;return"container"!==S.params.mousewheelEventsTarged&&(t=e(S.params.mousewheelEventsTarged)),t.on(S.mousewheel.event,f),S.params.mousewheelControl=!0,!0},S.parallax={setTranslate:function(){S.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(){h(this,S.progress)})),S.slides.each((function(){var t=e(this);t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(){h(this,Math.min(Math.max(t[0].progress,-1),1))}))}))},setTransition:function(t){void 0===t&&(t=S.params.speed),S.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(){var n=e(this),r=parseInt(n.attr("data-swiper-parallax-duration"),10)||t;0===t&&(r=0),n.transition(r)}))}},S.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:S.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,r=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(r-t,2)+Math.pow(i-n,2))},onGestureStart:function(t){var n=S.zoom;if(!S.support.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;n.gesture.scaleStart=n.getDistanceBetweenTouches(t)}n.gesture.slide&&n.gesture.slide.length||(n.gesture.slide=e(this),0===n.gesture.slide.length&&(n.gesture.slide=S.slides.eq(S.activeIndex)),n.gesture.image=n.gesture.slide.find("img, svg, canvas"),n.gesture.imageWrap=n.gesture.image.parent("."+S.params.zoomContainerClass),n.gesture.zoomMax=n.gesture.imageWrap.attr("data-swiper-zoom")||S.params.zoomMax,0!==n.gesture.imageWrap.length)?(n.gesture.image.transition(0),n.isScaling=!0):n.gesture.image=void 0},onGestureChange:function(e){var t=S.zoom;if(!S.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;t.gesture.scaleMove=t.getDistanceBetweenTouches(e)}t.gesture.image&&0!==t.gesture.image.length&&(S.support.gestures?t.scale=e.scale*t.currentScale:t.scale=t.gesture.scaleMove/t.gesture.scaleStart*t.currentScale,t.scale>t.gesture.zoomMax&&(t.scale=t.gesture.zoomMax-1+Math.pow(t.scale-t.gesture.zoomMax+1,.5)),t.scale<S.params.zoomMin&&(t.scale=S.params.zoomMin+1-Math.pow(S.params.zoomMin-t.scale+1,.5)),t.gesture.image.transform("translate3d(0,0,0) scale("+t.scale+")"))},onGestureEnd:function(e){var t=S.zoom;!S.support.gestures&&("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2)||t.gesture.image&&0!==t.gesture.image.length&&(t.scale=Math.max(Math.min(t.scale,t.gesture.zoomMax),S.params.zoomMin),t.gesture.image.transition(S.params.speed).transform("translate3d(0,0,0) scale("+t.scale+")"),t.currentScale=t.scale,t.isScaling=!1,1===t.scale&&(t.gesture.slide=void 0))},onTouchStart:function(e,t){var n=e.zoom;n.gesture.image&&0!==n.gesture.image.length&&(n.image.isTouched||("android"===e.device.os&&t.preventDefault(),n.image.isTouched=!0,n.image.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,n.image.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))},onTouchMove:function(e){var t=S.zoom;if(t.gesture.image&&0!==t.gesture.image.length&&(S.allowClick=!1,t.image.isTouched&&t.gesture.slide)){t.image.isMoved||(t.image.width=t.gesture.image[0].offsetWidth,t.image.height=t.gesture.image[0].offsetHeight,t.image.startX=S.getTranslate(t.gesture.imageWrap[0],"x")||0,t.image.startY=S.getTranslate(t.gesture.imageWrap[0],"y")||0,t.gesture.slideWidth=t.gesture.slide[0].offsetWidth,t.gesture.slideHeight=t.gesture.slide[0].offsetHeight,t.gesture.imageWrap.transition(0),S.rtl&&(t.image.startX=-t.image.startX),S.rtl&&(t.image.startY=-t.image.startY));var n=t.image.width*t.scale,r=t.image.height*t.scale;if(!(n<t.gesture.slideWidth&&r<t.gesture.slideHeight)){if(t.image.minX=Math.min(t.gesture.slideWidth/2-n/2,0),t.image.maxX=-t.image.minX,t.image.minY=Math.min(t.gesture.slideHeight/2-r/2,0),t.image.maxY=-t.image.minY,t.image.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,t.image.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!t.image.isMoved&&!t.isScaling){if(S.isHorizontal()&&Math.floor(t.image.minX)===Math.floor(t.image.startX)&&t.image.touchesCurrent.x<t.image.touchesStart.x||Math.floor(t.image.maxX)===Math.floor(t.image.startX)&&t.image.touchesCurrent.x>t.image.touchesStart.x)return void(t.image.isTouched=!1);if(!S.isHorizontal()&&Math.floor(t.image.minY)===Math.floor(t.image.startY)&&t.image.touchesCurrent.y<t.image.touchesStart.y||Math.floor(t.image.maxY)===Math.floor(t.image.startY)&&t.image.touchesCurrent.y>t.image.touchesStart.y)return void(t.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),t.image.isMoved=!0,t.image.currentX=t.image.touchesCurrent.x-t.image.touchesStart.x+t.image.startX,t.image.currentY=t.image.touchesCurrent.y-t.image.touchesStart.y+t.image.startY,t.image.currentX<t.image.minX&&(t.image.currentX=t.image.minX+1-Math.pow(t.image.minX-t.image.currentX+1,.8)),t.image.currentX>t.image.maxX&&(t.image.currentX=t.image.maxX-1+Math.pow(t.image.currentX-t.image.maxX+1,.8)),t.image.currentY<t.image.minY&&(t.image.currentY=t.image.minY+1-Math.pow(t.image.minY-t.image.currentY+1,.8)),t.image.currentY>t.image.maxY&&(t.image.currentY=t.image.maxY-1+Math.pow(t.image.currentY-t.image.maxY+1,.8)),t.velocity.prevPositionX||(t.velocity.prevPositionX=t.image.touchesCurrent.x),t.velocity.prevPositionY||(t.velocity.prevPositionY=t.image.touchesCurrent.y),t.velocity.prevTime||(t.velocity.prevTime=Date.now()),t.velocity.x=(t.image.touchesCurrent.x-t.velocity.prevPositionX)/(Date.now()-t.velocity.prevTime)/2,t.velocity.y=(t.image.touchesCurrent.y-t.velocity.prevPositionY)/(Date.now()-t.velocity.prevTime)/2,Math.abs(t.image.touchesCurrent.x-t.velocity.prevPositionX)<2&&(t.velocity.x=0),Math.abs(t.image.touchesCurrent.y-t.velocity.prevPositionY)<2&&(t.velocity.y=0),t.velocity.prevPositionX=t.image.touchesCurrent.x,t.velocity.prevPositionY=t.image.touchesCurrent.y,t.velocity.prevTime=Date.now(),t.gesture.imageWrap.transform("translate3d("+t.image.currentX+"px, "+t.image.currentY+"px,0)")}}},onTouchEnd:function(e,t){var n=e.zoom;if(n.gesture.image&&0!==n.gesture.image.length){if(!n.image.isTouched||!n.image.isMoved)return n.image.isTouched=!1,void(n.image.isMoved=!1);n.image.isTouched=!1,n.image.isMoved=!1;var r=300,i=300,o=n.velocity.x*r,a=n.image.currentX+o,s=n.velocity.y*i,u=n.image.currentY+s;0!==n.velocity.x&&(r=Math.abs((a-n.image.currentX)/n.velocity.x)),0!==n.velocity.y&&(i=Math.abs((u-n.image.currentY)/n.velocity.y));var c=Math.max(r,i);n.image.currentX=a,n.image.currentY=u;var l=n.image.width*n.scale,f=n.image.height*n.scale;n.image.minX=Math.min(n.gesture.slideWidth/2-l/2,0),n.image.maxX=-n.image.minX,n.image.minY=Math.min(n.gesture.slideHeight/2-f/2,0),n.image.maxY=-n.image.minY,n.image.currentX=Math.max(Math.min(n.image.currentX,n.image.maxX),n.image.minX),n.image.currentY=Math.max(Math.min(n.image.currentY,n.image.maxY),n.image.minY),n.gesture.imageWrap.transition(c).transform("translate3d("+n.image.currentX+"px, "+n.image.currentY+"px,0)")}},onTransitionEnd:function(e){var t=e.zoom;t.gesture.slide&&e.previousIndex!==e.activeIndex&&(t.gesture.image.transform("translate3d(0,0,0) scale(1)"),t.gesture.imageWrap.transform("translate3d(0,0,0)"),t.gesture.slide=t.gesture.image=t.gesture.imageWrap=void 0,t.scale=t.currentScale=1)},toggleZoom:function(t,n){var r,i,o,a,s,u,c,l,f,h,d,p,g,m,v,E,_=t.zoom;_.gesture.slide||(_.gesture.slide=t.clickedSlide?e(t.clickedSlide):t.slides.eq(t.activeIndex),_.gesture.image=_.gesture.slide.find("img, svg, canvas"),_.gesture.imageWrap=_.gesture.image.parent("."+t.params.zoomContainerClass)),_.gesture.image&&0!==_.gesture.image.length&&(void 0===_.image.touchesStart.x&&n?(r="touchend"===n.type?n.changedTouches[0].pageX:n.pageX,i="touchend"===n.type?n.changedTouches[0].pageY:n.pageY):(r=_.image.touchesStart.x,i=_.image.touchesStart.y),_.scale&&1!==_.scale?(_.scale=_.currentScale=1,_.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"),_.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),_.gesture.slide=void 0):(_.scale=_.currentScale=_.gesture.imageWrap.attr("data-swiper-zoom")||t.params.zoomMax,n?(v=_.gesture.slide[0].offsetWidth,E=_.gesture.slide[0].offsetHeight,o=_.gesture.slide.offset().left+v/2-r,a=_.gesture.slide.offset().top+E/2-i,c=_.gesture.image[0].offsetWidth,l=_.gesture.image[0].offsetHeight,f=c*_.scale,h=l*_.scale,g=-(d=Math.min(v/2-f/2,0)),m=-(p=Math.min(E/2-h/2,0)),(s=o*_.scale)<d&&(s=d),s>g&&(s=g),(u=a*_.scale)<p&&(u=p),u>m&&(u=m)):(s=0,u=0),_.gesture.imageWrap.transition(300).transform("translate3d("+s+"px, "+u+"px,0)"),_.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+_.scale+")")))},attachEvents:function(t){var n=t?"off":"on";if(S.params.zoom){var r=(S.slides,!("touchstart"!==S.touchEvents.start||!S.support.passiveListener||!S.params.passiveListeners)&&{passive:!0,capture:!1});S.support.gestures?(S.slides[n]("gesturestart",S.zoom.onGestureStart,r),S.slides[n]("gesturechange",S.zoom.onGestureChange,r),S.slides[n]("gestureend",S.zoom.onGestureEnd,r)):"touchstart"===S.touchEvents.start&&(S.slides[n](S.touchEvents.start,S.zoom.onGestureStart,r),S.slides[n](S.touchEvents.move,S.zoom.onGestureChange,r),S.slides[n](S.touchEvents.end,S.zoom.onGestureEnd,r)),S[n]("touchStart",S.zoom.onTouchStart),S.slides.each((function(t,r){e(r).find("."+S.params.zoomContainerClass).length>0&&e(r)[n](S.touchEvents.move,S.zoom.onTouchMove)})),S[n]("touchEnd",S.zoom.onTouchEnd),S[n]("transitionEnd",S.zoom.onTransitionEnd),S.params.zoomToggle&&S.on("doubleTap",S.zoom.toggleZoom)}},init:function(){S.zoom.attachEvents()},destroy:function(){S.zoom.attachEvents(!0)}},S._plugins=[],S.plugins){var k=S.plugins[H](S,S.params[H]);k&&S._plugins.push(k)}return S.callPlugins=function(e){for(var t=0;t<S._plugins.length;t++)e in S._plugins[t]&&S._plugins[t][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},S.emitterEventListeners={},S.emit=function(e){var t;if(S.params[e]&&S.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),S.emitterEventListeners[e])for(t=0;t<S.emitterEventListeners[e].length;t++)S.emitterEventListeners[e][t](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);S.callPlugins&&S.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},S.on=function(e,t){return e=d(e),S.emitterEventListeners[e]||(S.emitterEventListeners[e]=[]),S.emitterEventListeners[e].push(t),S},S.off=function(e,t){var n;if(e=d(e),void 0===t)return S.emitterEventListeners[e]=[],S;if(S.emitterEventListeners[e]&&0!==S.emitterEventListeners[e].length){for(n=0;n<S.emitterEventListeners[e].length;n++)S.emitterEventListeners[e][n]===t&&S.emitterEventListeners[e].splice(n,1);return S}},S.once=function(e,t){return e=d(e),S.on(e,(function n(){t(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),S.off(e,n)})),S},S.a11y={makeFocusable:function(e){return e.attr("tabIndex","0"),e},addRole:function(e,t){return e.attr("role",t),e},addLabel:function(e,t){return e.attr("aria-label",t),e},disable:function(e){return e.attr("aria-disabled",!0),e},enable:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(t){13===t.keyCode&&(e(t.target).is(S.params.nextButton)?(S.onClickNext(t),S.isEnd?S.a11y.notify(S.params.lastSlideMessage):S.a11y.notify(S.params.nextSlideMessage)):e(t.target).is(S.params.prevButton)&&(S.onClickPrev(t),S.isBeginning?S.a11y.notify(S.params.firstSlideMessage):S.a11y.notify(S.params.prevSlideMessage)),e(t.target).is("."+S.params.bulletClass)&&e(t.target)[0].click())},liveRegion:e('<span class="'+S.params.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>'),notify:function(e){var t=S.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},init:function(){S.params.nextButton&&S.nextButton&&S.nextButton.length>0&&(S.a11y.makeFocusable(S.nextButton),S.a11y.addRole(S.nextButton,"button"),S.a11y.addLabel(S.nextButton,S.params.nextSlideMessage)),S.params.prevButton&&S.prevButton&&S.prevButton.length>0&&(S.a11y.makeFocusable(S.prevButton),S.a11y.addRole(S.prevButton,"button"),S.a11y.addLabel(S.prevButton,S.params.prevSlideMessage)),e(S.container).append(S.a11y.liveRegion)},initPagination:function(){S.params.pagination&&S.params.paginationClickable&&S.bullets&&S.bullets.length&&S.bullets.each((function(){var t=e(this);S.a11y.makeFocusable(t),S.a11y.addRole(t,"button"),S.a11y.addLabel(t,S.params.paginationBulletMessage.replace(/{{index}}/,t.index()+1))}))},destroy:function(){S.a11y.liveRegion&&S.a11y.liveRegion.length>0&&S.a11y.liveRegion.remove()}},S.init=function(){S.params.loop&&S.createLoop(),S.updateContainerSize(),S.updateSlidesSize(),S.updatePagination(),S.params.scrollbar&&S.scrollbar&&(S.scrollbar.set(),S.params.scrollbarDraggable&&S.scrollbar.enableDraggable()),"slide"!==S.params.effect&&S.effects[S.params.effect]&&(S.params.loop||S.updateProgress(),S.effects[S.params.effect].setTranslate()),S.params.loop?S.slideTo(S.params.initialSlide+S.loopedSlides,0,S.params.runCallbacksOnInit):(S.slideTo(S.params.initialSlide,0,S.params.runCallbacksOnInit),0===S.params.initialSlide&&(S.parallax&&S.params.parallax&&S.parallax.setTranslate(),S.lazy&&S.params.lazyLoading&&(S.lazy.load(),S.lazy.initialImageLoaded=!0))),S.attachEvents(),S.params.observer&&S.support.observer&&S.initObservers(),S.params.preloadImages&&!S.params.lazyLoading&&S.preloadImages(),S.params.zoom&&S.zoom&&S.zoom.init(),S.params.autoplay&&S.startAutoplay(),S.params.keyboardControl&&S.enableKeyboardControl&&S.enableKeyboardControl(),S.params.mousewheelControl&&S.enableMousewheelControl&&S.enableMousewheelControl(),S.params.hashnavReplaceState&&(S.params.replaceState=S.params.hashnavReplaceState),S.params.history&&S.history&&S.history.init(),S.params.hashnav&&S.hashnav&&S.hashnav.init(),S.params.a11y&&S.a11y&&S.a11y.init(),S.emit("onInit",S)},S.cleanupStyles=function(){S.container.removeClass(S.classNames.join(" ")).removeAttr("style"),S.wrapper.removeAttr("style"),S.slides&&S.slides.length&&S.slides.removeClass([S.params.slideVisibleClass,S.params.slideActiveClass,S.params.slideNextClass,S.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),S.paginationContainer&&S.paginationContainer.length&&S.paginationContainer.removeClass(S.params.paginationHiddenClass),S.bullets&&S.bullets.length&&S.bullets.removeClass(S.params.bulletActiveClass),S.params.prevButton&&e(S.params.prevButton).removeClass(S.params.buttonDisabledClass),S.params.nextButton&&e(S.params.nextButton).removeClass(S.params.buttonDisabledClass),S.params.scrollbar&&S.scrollbar&&(S.scrollbar.track&&S.scrollbar.track.length&&S.scrollbar.track.removeAttr("style"),S.scrollbar.drag&&S.scrollbar.drag.length&&S.scrollbar.drag.removeAttr("style"))},S.destroy=function(e,t){S.detachEvents(),S.stopAutoplay(),S.params.scrollbar&&S.scrollbar&&S.params.scrollbarDraggable&&S.scrollbar.disableDraggable(),S.params.loop&&S.destroyLoop(),t&&S.cleanupStyles(),S.disconnectObservers(),S.params.zoom&&S.zoom&&S.zoom.destroy(),S.params.keyboardControl&&S.disableKeyboardControl&&S.disableKeyboardControl(),S.params.mousewheelControl&&S.disableMousewheelControl&&S.disableMousewheelControl(),S.params.a11y&&S.a11y&&S.a11y.destroy(),S.params.history&&!S.params.replaceState&&window.removeEventListener("popstate",S.history.setHistoryPopState),S.params.hashnav&&S.hashnav&&S.hashnav.destroy(),S.emit("onDestroy"),!1!==e&&(S=null)},S.init(),S}};r.prototype={isSafari:function(){var e=window.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent),isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1,lteIE9:function(){var e=document.createElement("div");return e.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1===e.getElementsByTagName("i").length}()},device:function(){var e=window.navigator.userAgent,t=e.match(/(Android);?[\s\/]+([\d.]+)?/),n=e.match(/(iPad).*OS\s([\d_]+)/),r=e.match(/(iPod)(.*OS\s([\d_]+))?/),i=!n&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);return{ios:n||i||r,android:t}}(),support:{touch:window.Modernizr&&!0===Modernizr.touch||!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch),transforms3d:window.Modernizr&&!0===Modernizr.csstransforms3d||function(){var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=document.createElement("div").style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<t.length;n++)if(t[n]in e)return!0}(),observer:"MutationObserver"in window||"WebkitMutationObserver"in window,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in window},plugins:{}};for(var i=function(){var e=function(e){var t=0;for(t=0;t<e.length;t++)this[t]=e[t];return this.length=e.length,this},t=function(t,n){var r=[],i=0;if(t&&!n&&t instanceof e)return t;if(t)if("string"==typeof t){var o,a,s=t.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){var u="div";for(0===s.indexOf("<li")&&(u="ul"),0===s.indexOf("<tr")&&(u="tbody"),0!==s.indexOf("<td")&&0!==s.indexOf("<th")||(u="tr"),0===s.indexOf("<tbody")&&(u="table"),0===s.indexOf("<option")&&(u="select"),(a=document.createElement(u)).innerHTML=t,i=0;i<a.childNodes.length;i++)r.push(a.childNodes[i])}else for(o=n||"#"!==t[0]||t.match(/[ .<>:~]/)?(n||document).querySelectorAll(t):[document.getElementById(t.split("#")[1])],i=0;i<o.length;i++)o[i]&&r.push(o[i])}else if(t.nodeType||t===window||t===document)r.push(t);else if(t.length>0&&t[0].nodeType)for(i=0;i<t.length;i++)r.push(t[i]);return new e(r)};return e.prototype={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),n=0;n<t.length;n++)for(var r=0;r<this.length;r++)this[r].classList.add(t[n]);return this},removeClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n++)for(var r=0;r<this.length;r++)this[r].classList.remove(t[n]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n++)for(var r=0;r<this.length;r++)this[r].classList.toggle(t[n]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n++)if(2===arguments.length)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this},removeAttr:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute(e);return this},data:function(e,t){if(void 0!==t){for(var n=0;n<this.length;n++){var r=this[n];r.dom7ElementDataStorage||(r.dom7ElementDataStorage={}),r.dom7ElementDataStorage[e]=t}return this}if(this[0])return this[0].getAttribute("data-"+e)||(this[0].dom7ElementDataStorage&&e in this[0].dom7ElementDataStorage?this[0].dom7ElementDataStorage[e]:void 0)},transform:function(e){for(var t=0;t<this.length;t++){var n=this[t].style;n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t++){var n=this[t].style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.MozTransitionDuration=n.OTransitionDuration=n.transitionDuration=e}return this},on:function(e,n,r,i){function o(e){var i=e.target;if(t(i).is(n))r.call(i,e);else for(var o=t(i).parents(),a=0;a<o.length;a++)t(o[a]).is(n)&&r.call(o[a],e)}var a,s,u=e.split(" ");for(a=0;a<this.length;a++)if("function"==typeof n||!1===n)for("function"==typeof n&&(r=arguments[1],i=arguments[2]||!1),s=0;s<u.length;s++)this[a].addEventListener(u[s],r,i);else for(s=0;s<u.length;s++)this[a].dom7LiveListeners||(this[a].dom7LiveListeners=[]),this[a].dom7LiveListeners.push({listener:r,liveListener:o}),this[a].addEventListener(u[s],o,i);return this},off:function(e,t,n,r){for(var i=e.split(" "),o=0;o<i.length;o++)for(var a=0;a<this.length;a++)if("function"==typeof t||!1===t)"function"==typeof t&&(n=arguments[1],r=arguments[2]||!1),this[a].removeEventListener(i[o],n,r);else if(this[a].dom7LiveListeners)for(var s=0;s<this[a].dom7LiveListeners.length;s++)this[a].dom7LiveListeners[s].listener===n&&this[a].removeEventListener(i[o],this[a].dom7LiveListeners[s].liveListener,r);return this},once:function(e,t,n,r){var i=this;"function"==typeof t&&(t=!1,n=arguments[1],r=arguments[2]),i.on(e,t,(function o(a){n(a),i.off(e,t,o,r)}),r)},trigger:function(e,t){for(var n=0;n<this.length;n++){var r;try{r=new window.CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0})}catch(n){(r=document.createEvent("Event")).initEvent(e,!0,!0),r.detail=t}this[n].dispatchEvent(r)}return this},transitionEnd:function(e){function t(o){if(o.target===this)for(e.call(this,o),n=0;n<r.length;n++)i.off(r[n],t)}var n,r=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=this;if(e)for(n=0;n<r.length;n++)i.on(r[n],t);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width")):null},outerWidth:function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(e){return this.length>0?e?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),n=document.body,r=e.clientTop||n.clientTop||0,i=e.clientLeft||n.clientLeft||0,o=window.pageYOffset||e.scrollTop,a=window.pageXOffset||e.scrollLeft;return{top:t.top+o-r,left:t.left+a-i}}return null},css:function(e,t){var n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n++)for(var r in e)this[n].style[r]=e[r];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n++)this[n].style[e]=t;return this}return this},each:function(e){for(var t=0;t<this.length;t++)e.call(this[t],t,this[t]);return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t++)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t++)this[t].textContent=e;return this},is:function(n){if(!this[0])return!1;var r,i;if("string"==typeof n){var o=this[0];if(o===document)return n===document;if(o===window)return n===window;if(o.matches)return o.matches(n);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(n);if(o.mozMatchesSelector)return o.mozMatchesSelector(n);if(o.msMatchesSelector)return o.msMatchesSelector(n);for(r=t(n),i=0;i<r.length;i++)if(r[i]===this[0])return!0;return!1}if(n===document)return this[0]===document;if(n===window)return this[0]===window;if(n.nodeType||n instanceof e){for(r=n.nodeType?[n]:n,i=0;i<r.length;i++)if(r[i]===this[0])return!0;return!1}return!1},index:function(){if(this[0]){for(var e=this[0],t=0;null!==(e=e.previousSibling);)1===e.nodeType&&t++;return t}},eq:function(t){if(void 0===t)return this;var n,r=this.length;return new e(t>r-1?[]:t<0?(n=r+t)<0?[]:[this[n]]:[this[t]])},append:function(t){var n,r;for(n=0;n<this.length;n++)if("string"==typeof t){var i=document.createElement("div");for(i.innerHTML=t;i.firstChild;)this[n].appendChild(i.firstChild)}else if(t instanceof e)for(r=0;r<t.length;r++)this[n].appendChild(t[r]);else this[n].appendChild(t);return this},prepend:function(t){var n,r;for(n=0;n<this.length;n++)if("string"==typeof t){var i=document.createElement("div");for(i.innerHTML=t,r=i.childNodes.length-1;r>=0;r--)this[n].insertBefore(i.childNodes[r],this[n].childNodes[0])}else if(t instanceof e)for(r=0;r<t.length;r++)this[n].insertBefore(t[r],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this},insertBefore:function(e){for(var n=t(e),r=0;r<this.length;r++)if(1===n.length)n[0].parentNode.insertBefore(this[r],n[0]);else if(n.length>1)for(var i=0;i<n.length;i++)n[i].parentNode.insertBefore(this[r].cloneNode(!0),n[i])},insertAfter:function(e){for(var n=t(e),r=0;r<this.length;r++)if(1===n.length)n[0].parentNode.insertBefore(this[r],n[0].nextSibling);else if(n.length>1)for(var i=0;i<n.length;i++)n[i].parentNode.insertBefore(this[r].cloneNode(!0),n[i].nextSibling)},next:function(n){return new e(this.length>0?n?this[0].nextElementSibling&&t(this[0].nextElementSibling).is(n)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(n){var r=[],i=this[0];if(!i)return new e([]);for(;i.nextElementSibling;){var o=i.nextElementSibling;n?t(o).is(n)&&r.push(o):r.push(o),i=o}return new e(r)},prev:function(n){return new e(this.length>0?n?this[0].previousElementSibling&&t(this[0].previousElementSibling).is(n)?[this[0].previousElementSibling]:[]:this[0].previousElementSibling?[this[0].previousElementSibling]:[]:[])},prevAll:function(n){var r=[],i=this[0];if(!i)return new e([]);for(;i.previousElementSibling;){var o=i.previousElementSibling;n?t(o).is(n)&&r.push(o):r.push(o),i=o}return new e(r)},parent:function(e){for(var n=[],r=0;r<this.length;r++)e?t(this[r].parentNode).is(e)&&n.push(this[r].parentNode):n.push(this[r].parentNode);return t(t.unique(n))},parents:function(e){for(var n=[],r=0;r<this.length;r++)for(var i=this[r].parentNode;i;)e?t(i).is(e)&&n.push(i):n.push(i),i=i.parentNode;return t(t.unique(n))},find:function(t){for(var n=[],r=0;r<this.length;r++)for(var i=this[r].querySelectorAll(t),o=0;o<i.length;o++)n.push(i[o]);return new e(n)},children:function(n){for(var r=[],i=0;i<this.length;i++)for(var o=this[i].childNodes,a=0;a<o.length;a++)n?1===o[a].nodeType&&t(o[a]).is(n)&&r.push(o[a]):1===o[a].nodeType&&r.push(o[a]);return new e(t.unique(r))},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){var e,n,r=this;for(e=0;e<arguments.length;e++){var i=t(arguments[e]);for(n=0;n<i.length;n++)r[r.length]=i[n],r.length++}return r}},t.fn=e.prototype,t.unique=function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t},t}(),o=["jQuery","Zepto","Dom7"],a=0;a<o.length;a++)window[o[a]]&&function(e){e.fn.swiper=function(t){var n;return e(this).each((function(){var e=new r(this,t);n||(n=e)})),n}}(window[o[a]]);(n=void 0===i?window.Dom7||window.Zepto||window.jQuery:i)&&("transitionEnd"in n.fn||(n.fn.transitionEnd=function(e){function t(o){if(o.target===this)for(e.call(this,o),n=0;n<r.length;n++)i.off(r[n],t)}var n,r=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=this;if(e)for(n=0;n<r.length;n++)i.on(r[n],t);return this}),"transform"in n.fn||(n.fn.transform=function(e){for(var t=0;t<this.length;t++){var n=this[t].style;n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=e}return this}),"transition"in n.fn||(n.fn.transition=function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t++){var n=this[t].style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.MozTransitionDuration=n.OTransitionDuration=n.transitionDuration=e}return this}),"outerWidth"in n.fn||(n.fn.outerWidth=function(e){return this.length>0?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=r}(),e.exports=window.Swiper},10568:function(e,t,n){"use strict";n.r(t),n.d(t,{AES_GCM_IV_RESPONSE:function(){return I},AUDIO_AUTO_PLAY_FAILED:function(){return de},AUDIO_LEVEL_INDICATOR:function(){return k},AUDIO_PREVIEW_ASN:function(){return U},AUDIO_QOS_DATA:function(){return B},AUDIO_SPEAKER_SET_ERROR:function(){return fe},AUDIO_SPEAKER_SET_SUCCESS:function(){return P},AUDIO_WEBSOCKET_BROKEN:function(){return ie},AUDIO_ZERO_DATA:function(){return se},CANCEL_REMOTE_CONTROL_SUCCESS:function(){return w},CURRENT_CAPTURE_VIDEO_WIDTH_HEIGHT:function(){return _},CURRENT_DECODE_VIDEO_FPS:function(){return z},CURRENT_DECODE_VIDEO_QUALITY:function(){return K},CURRENT_VIDEO_RESOLUTION:function(){return d},FAIL_OVER_RESULT_TO_OUTSIDE_SDK:function(){return _e},FIRST_VIDEO_FRAME:function(){return Te},HID_STATUS_MUTE:function(){return W},INIT_FAILED:function(){return J},INIT_FAILED_AUDIO:function(){return $},INIT_FAILED_AUDIO_DECODE:function(){return te},INIT_FAILED_AUDIO_ENCODE:function(){return ee},INIT_FAILED_SHARING:function(){return ne},INIT_FAILED_VIDEO:function(){return Q},INIT_FAILED_VIDEO_DECODE:function(){return X},INIT_FAILED_VIDEO_ENCODE:function(){return Z},INIT_SUCCESS_AUDIO:function(){return a},INIT_SUCCESS_AUDIO_DECODE:function(){return u},INIT_SUCCESS_AUDIO_ENCODE:function(){return s},INIT_SUCCESS_SHARING:function(){return c},INIT_SUCCESS_SHARING_DECODE:function(){return f},INIT_SUCCESS_SHARING_ENCODE:function(){return l},INIT_SUCCESS_VIDEO:function(){return r},INIT_SUCCESS_VIDEO_DECODE:function(){return o},INIT_SUCCESS_VIDEO_ENCODE:function(){return i},JOIN_COMPUTER_AUDIO_COMPLETE:function(){return x},JOIN_DESKTOP_AUDIO_COMPLETE:function(){return F},JPEG_DATA:function(){return g},JPEG_DEC_THREAD_FAILED:function(){return ae},JPEG_DEC_THREAD_OK:function(){return p},LEAVE_COMPUTER_AUDIO_COMPLETE:function(){return N},LEAVE_DESKTOP_AUDIO_COMPLETE:function(){return R},MASK_SETTING_PARA_ERROR:function(){return ye},MONITOR_LOG:function(){return A},NETWORK_QUALITY_CHANGE:function(){return H},NETWORK_QUALITY_CHANGE_AUDIO:function(){return j},NEW_ACTIVE_SPEAKER_FIRST_FRAME_CALLBACK:function(){return Y},NOTIFY_UI_FAILOVER:function(){return Ee},PREVIEW_INIT_AUDIO_DECODE_SUCCESS:function(){return Fe},PREVIEW_INIT_VIDEO_DECODE_SUCCESS:function(){return Ie},REMOTE_CONTROL_COPIED_TEXT_NOTIFY:function(){return b},REQUEST_AUDIO_BRIDGE_TOKEN:function(){return T},SEND_MESSAGE_TO_RWG:function(){return he},SEND_REMOTE_CONTROL_QR_CODE:function(){return Ne},SHARE_QOS_DATA:function(){return M},SHARING_DECODE_MAX_SIZE:function(){return C},SHARING_DESKTOP_STREAM_HAVE_AUDIO:function(){return O},SHARING_DESKTOP_STREAM_HAVE_NO_AUDIO:function(){return pe},SHARING_FIRST_DECODE_FRAME_RECEIVED_SSRC:function(){return q},SHARING_MORE_INFO:function(){return v},SHARING_PARA:function(){return m},SPEAKING_WHEN_MUTE:function(){return Oe},START_REMOTE_CONTROL_FAILED:function(){return le},START_REMOTE_CONTROL_SUCCESS:function(){return D},START_VIDEO_CAPTURE_SUCCESS:function(){return y},START_VIDEO_STREAM_IN_MASK_SETTING_SUCCESS:function(){return V},START_VIDEO_STREAM_IN_VB_SETTING_SUCCESS:function(){return G},STOP_VIDEO_CAPTURE_SUCCESS:function(){return S},USER_CAMERA_IS_TAKEN_BY_OTHER_PROGRAMS:function(){return ce},USER_FORBIDDED_CAPTURE_AUDIO:function(){return re},USER_FORBIDDED_CAPTURE_VIDEO:function(){return ue},USER_GRANT_AUDIO_CAPTURE:function(){return h},VB_MODEL_PRELOADING_10S:function(){return we},VB_MODEL_PRELOADING_3S:function(){return De},VB_MODEL_PRELOADING_OK:function(){return be},VB_SETTING_PARA_ERROR:function(){return Se},VIDEO_DECODE_MAX_SIZE:function(){return E},VIDEO_QOS_DATA:function(){return L},VIDEO_WEBSOCKET_BROKEN:function(){return oe},WCL_AUDIO_BRIDGE_CAN_SEND_DATA:function(){return Ce},WCL_AUDIO_BRIDGE_FIRST_RECV_DATA:function(){return Ae},WCL_AUDIO_BRIDGE_RECONNECT:function(){return ge},WCL_AUDIO_BRIDGE_RECONNECT_END:function(){return me},WEBGL_LOST_IN_MULTI_VIEW:function(){return ve},WHITEBOARD_SUCCESS:function(){return xe}});var r=1.1,i=1,o=2,a=1.2,s=1,u=2,c=1.3,l=1,f=2,h=2,d=3,p=4,g=5,m=6,v=6.1,E=7,_=8,y=9,S=10,D=11,w=12,b=13,A=14,C=18,T=19,I=21,O=23,x=24,F=25,N=26,R=27,P=33,B="AUDIO_QOS_DATA",L="VIDEO_QOS_DATA",M="VIDEOSHARE_QOS_DATA",H="NETWORK_QUALITY_CHANGE",k=38,j="NETWORK_QUALITY_CHANGE_AUDIO",U=49,W=28,V=66,G=94,K=66.5,z=66.6,q=70,Y=111,J=-1,Q=-1.1,Z=-1,X=-2,$=-1.2,ee=-1,te=-2,ne=-1.3,re=-2,ie=-3,oe=-4,ae=-5,se=-6,ue=-8,ce=-9,le=-11,fe=-12,he=20,de=-24,pe=-27,ge=-29,me=-31,ve=-32,Ee=-35,_e=21,ye=-33,Se=-34,De=96,we=97,be=98,Ae=114,Ce=115,Te=116,Ie=117,Oe=121,xe=30,Fe=118,Ne=55},10398:function(e,t,n){"use strict";n.r(t),n.d(t,{ADD_CAPTURE_AUDIO:function(){return c},ADD_RENDER_AUDIO:function(){return u},ADD_RENDER_VIDEO:function(){return i},AES_GCM_IV_VALUE:function(){return F},AUDIO_DENOISE_SWITCH:function(){return me},BUILD_MA_CHANNEL_IN_BO:function(){return re},BUILD_MS_CHANNEL_IN_BO:function(){return ne},CANCEL_NEW_ACTIVE_SPEAKER_BEFORE_CALL_BACK:function(){return fe},CANCEL_REMOTE_CONTROL:function(){return I},CHANGE_AUDIO_MIC:function(){return _},CHANGE_AUDIO_PROFILE:function(){return we},CHANGE_AUDIO_SPEAKER:function(){return d},CHANGE_CURRENT_SHARING_ACTIVE_SSRC:function(){return O},CHANGE_FRAME_RATE:function(){return f},CHANGE_HID_ENABLE:function(){return ue},CHANGE_STEREO_ENABLE:function(){return ve},CHANGE_VIDEO_CAPTURE_DEVICE:function(){return p},CHANGE_VIDEO_RESOLUTION:function(){return h},COMMAND_SOCKET_MESSAGE_NOTIFY:function(){return x},DESTORY_REUSE_STREAM:function(){return ye},ENABLE_BROADCAST_TO_BO:function(){return oe},ENABLE_REUSE_STREAM:function(){return _e},ENABLE_SHARE_TO_BO:function(){return ie},ENABLE_VIDEO_OBSERVER:function(){return se},END_MEDIA:function(){return E},FINISH_MASK_SETTING:function(){return U},JOIN_COMPUTER_AUDIO:function(){return D},JOIN_DESKTOP_AUDIO:function(){return q},LEAVE_COMPUTER_AUDIO:function(){return S},LEAVE_DESKTOP_AUDIO:function(){return Y},LEAVE_MEETING:function(){return m},MEETING_FAIL_OVER:function(){return v},MIRROR_MY_VIDEO:function(){return Q},MOBILE_ROTATE:function(){return pe},MOVE_PTZ_CAMERA:function(){return L},NEW_ACTIVE_SPEAKER_SSRC:function(){return le},NOTIFY_SDK_JOIN_RWG_SUCCESS:function(){return he},PAUSE_OR_RESUME_AUDIO_DECODE:function(){return R},SAVE_LOCAL_LOG:function(){return De},SET_CODEC_MODE:function(){return Se},SET_DESKTOP_VOLUME:function(){return J},SHARING_ADD_REV_CHANNEL_TYPE:function(){return ee},SHARING_REMOVE_REV_CHANNEL_TYPE:function(){return te},START_CAPTURE_VIDEO:function(){return a},START_MEDIA:function(){return r},START_REMOTE_CONTROL:function(){return C},START_SHARING:function(){return w},START_STOP_REMOTE_CONTROL_CHECK:function(){return M},START_VIDEO_VB_SETTING:function(){return W},STOP_AUDIO_INCOMING:function(){return de},STOP_CAPTURE_AUDIO:function(){return l},STOP_CAPTURE_VIDEO:function(){return s},STOP_RENDER_VIDEO:function(){return o},STOP_SHARING:function(){return b},STOP_VIDEO_VB_SETTING:function(){return G},SWITCH_CANVAS_FOR_VIDEO_CAPTURE:function(){return A},SWITCH_SHARING_TYPE:function(){return ce},SWITCH_WATER_MARK_FLAG:function(){return ae},UPDATE_BG_IMAGE:function(){return k},UPDATE_CANVAS_SIZE:function(){return g},UPDATE_MASK_INFO:function(){return j},UPDATE_MEDIA_PARAMS:function(){return $},UPDATE_REMOTE_CONTROL_PROPERTIES:function(){return T},UPDATE_VIDEOHD_VALUE:function(){return Ee},UPDATE_VIDEO_VB_BG_IMAGE:function(){return V},USER_NODE_AUDIO_STATUS_LIST:function(){return B},USER_NODE_LIST:function(){return N},USER_NODE_LIST_IN_MAIN_SESSION:function(){return X},VIDEO_ENABLE_HW_RECEIVING:function(){return K},VIDEO_ENABLE_HW_SENDING:function(){return z},VIDEO_MASK_SETTING:function(){return H},WEBGL_LOST_REPLACE_CANVAS:function(){return Z},WEBRTC_RESTART:function(){return y},WHITEBOARD_MESSAGE:function(){return ge},ZOOM_RENDER_VIDEO:function(){return P}});var r=0,i=1,o=2,a=3,s=4,u=5,c=7,l=8,f=9,h=10,d=11,p=12,g=46,m=15,v=16,E=17,_=18,y=19,S=21,D=22,w=23,b=24,A=25,C=26,T=27,I=28,O=36,x=40,F=42,N=43,R=45,P=48,B=51,L=53,M=54,H=62,k=63,j=64,U=65,W=91,V=92,G=93,K=70,z=71,q=72,Y=73,J=74,Q=75,Z=77,X=80,$=81,ee=82,te=83,ne=84,re=85,ie=86,oe=87,ae=90,se=99,ue=100,ce=101,le=110,fe=112,he=113,de=123,pe=124,ge=120,me=121,ve=125,Ee="update_videohd_value",_e="ENABLE_REUSE_STREAM",ye="DESTORY_REUSE_STREAM",Se=122,De=125,we=126},56812:function(e,t,n){"use strict";n.d(t,{Ae:function(){return r},BC:function(){return c},Gt:function(){return g},HR:function(){return f},J4:function(){return i},NO:function(){return a},S5:function(){return m},WZ:function(){return h},bG:function(){return p},dc:function(){return l},du:function(){return o},eD:function(){return s},ii:function(){return d},jg:function(){return u},mn:function(){return _},qx:function(){return v},sV:function(){return E}});var r=-1,i=0,o=6,a=9,s=12,u=103039,c=1142,l=103003,f=103043,h=3033,d=103044,p=79,g=1005,m=3033,v=3005,E=3008,_=6603},96421:function(e,t,n){"use strict";n.d(t,{Ag:function(){return u},C0:function(){return T},Cc:function(){return _},GK:function(){return f},IO:function(){return g},Kh:function(){return E},NX:function(){return O},TB:function(){return y},Ul:function(){return R},V4:function(){return p},VM:function(){return w},Vq:function(){return d},Y7:function(){return N},_u:function(){return D},ai:function(){return i},bG:function(){return l},e1:function(){return a},fA:function(){return x},g2:function(){return S},gm:function(){return F},ik:function(){return C},lF:function(){return I},ox:function(){return m},p7:function(){return v},qO:function(){return A},r0:function(){return c},tX:function(){return h},uE:function(){return s},wS:function(){return r},xN:function(){return b},xz:function(){return o}});var r="INIT_MEETING_CONFIG",i="SET_MEETING_INFO",o="onUserJoin",a="onUserLeave",s="onUserUpdate",u="onUserIsInWaitingRoom",c="onMeetingStatus",l="onWaitingPannel",f="onPreviewPannel",h="onMeetingSuccess",d="onOptionUpdate",p="onSharingStatus",g="onSwitchNative",m="onClaimStatus",v="onFocusModeStatusChange",E="onLiveTranscriptionOn",_="onTranscriptionLangChanged",y="onReceiveTranscriptionMsg",S="onReceiveTranslateMsg",D="onTranslateOff",w="onAudioQos",b="onVideoQos",A="onShareQos",C="onShareClick",T="onNetworkQualityChange",I="onMediaCapturePermissionChange",O="onActiveSpeaker",x={stop:0,start:1,pause:2},F={NONE:0,DENY_ALL_REQUEST:1,ALLOW_ALL_REQUEST:2},N=32768,R=65536},15440:function(e,t,n){"use strict";n.d(t,{$:function(){return o},$5:function(){return m},DR:function(){return a},P3:function(){return g},UJ:function(){return p},VQ:function(){return d},XU:function(){return v},ZO:function(){return c},bf:function(){return s},cz:function(){return r},fW:function(){return f},k8:function(){return h},rk:function(){return i},tH:function(){return l},wS:function(){return u}});var r=2,i=5,o=7,a=8,s=9,u=10,c=14,l=15,f=16,h=17,d=18,p=19,g=20,m=21,v=1},51689:function(e,t,n){"use strict";n.r(t),n.d(t,{AUDIO_EVT_TYPE_BASE:function(){return s},CONF_EVT_TYPE_BASE:function(){return a},DATA_CHANNEL_SEND_OFFER_TO_RWG:function(){return qn},EVT_TYPE_WS_VIDEO_DATACHANNEL_ANSWER:function(){return zn},NEED_UPDATE_WEBSDK:function(){return i},SHARING_EVT_TYPE_BASE:function(){return c},UPDATE_WEBSDK_NOTICE:function(){return o},VIDEO_EVT_TYPE_BASE:function(){return u},WB_EVT_TYPE_BASE:function(){return f},WC_CONF_APP_SIGNAL_APP_LINK_REQ:function(){return Er},WC_CONF_APP_SIGNAL_APP_LINK_RES:function(){return _r},WC_CONF_APP_SIGNAL_DETAIL_REQ:function(){return mr},WC_CONF_APP_SIGNAL_DETAIL_RES:function(){return vr},WC_CONF_APP_SIGNAL_INDICATION:function(){return gr},WC_CONF_SIDECAR_STATUS_UPDATED:function(){return xi},WS_ASK_HOST_START_LIVE_TRANSCRIPT_REQ:function(){return tr},WS_AUDIO_ALLOW_TALK_INDICATION:function(){return Xt},WS_AUDIO_ALLOW_TALK_REQ:function(){return _t},WS_AUDIO_ALLOW_TALK_RES:function(){return yt},WS_AUDIO_ASN_INDICATION:function(){return Jt},WS_AUDIO_CANCEL_DIALOUT_REQ:function(){return gt},WS_AUDIO_CANCEL_DIALOUT_RES:function(){return mt},WS_AUDIO_DIALOUT_REQ:function(){return dt},WS_AUDIO_DIALOUT_RES:function(){return pt},WS_AUDIO_DROP_REQ:function(){return ft},WS_AUDIO_DROP_RES:function(){return ht},WS_AUDIO_ENCRYPT_KEY_INDICATION:function(){return tn},WS_AUDIO_FEATURE_INDICATION:function(){return nn},WS_AUDIO_MUTEALL_REQ:function(){return vt},WS_AUDIO_MUTEALL_RES:function(){return Et},WS_AUDIO_MUTE_INDICATION:function(){return Qt},WS_AUDIO_MUTE_REQ:function(){return ct},WS_AUDIO_MUTE_RES:function(){return lt},WS_AUDIO_PARTICIPANT_LANGUAGE_CHANGE_RES:function(){return Dt},WS_AUDIO_SET_PARTICIPANT_ACTIVE_LANGUAGE:function(){return St},WS_AUDIO_SSRC_ASK_UNMUTE_INDICATION:function(){return $t},WS_AUDIO_SSRC_INDICATION:function(){return Zt},WS_AUDIO_STATUS_CHANGE_REQ:function(){return bt},WS_AUDIO_VOIP_JOIN_CHANNEL_REQ:function(){return Ht},WS_CONF_AB_TOKEN_REQ:function(){return ut},WS_CONF_AB_TOKEN_RES:function(){return st},WS_CONF_ADMIT_ALL_SILENT_USERS_INDICATION:function(){return Ut},WS_CONF_ADMIT_ALL_SILENT_USERS_REQ:function(){return me},WS_CONF_ALLOW_ANONYMOUS_QUESTION_REQ:function(){return An},WS_CONF_ALLOW_ASK_HOST_START_LIVE_TRANSCRIPT_INDICATION:function(){return or},WS_CONF_ALLOW_ASK_HOST_START_LIVE_TRANSCRIPT_REQ:function(){return rr},WS_CONF_ALLOW_COMMENT_QUESTION_REQ:function(){return In},WS_CONF_ALLOW_MESSAGE_FEEDBACK_NOTIFY_REQ:function(){return de},WS_CONF_ALLOW_PARTICIPANT_RENAME_REQ:function(){return he},WS_CONF_ALLOW_QA_AUTO_REPLY_REQ:function(){return Ee},WS_CONF_ALLOW_QA_AUTO_REPLY_RES:function(){return Li},WS_CONF_ALLOW_RAISE_HAND_REQ:function(){return Q},WS_CONF_ALLOW_SIGN_INTERPRETER_TO_TALK_INDICATION:function(){return $e},WS_CONF_ALLOW_UNMUTE_AUDIO_REQ:function(){return J},WS_CONF_ALLOW_UNMUTE_VIDEO_REQ:function(){return Y},WS_CONF_ALLOW_UPVOTE_QUESTION_REQ:function(){return Tn},WS_CONF_ALLOW_VIEW_ALL_QUESTION_REQ:function(){return Cn},WS_CONF_ALLOW_VIEW_PARTICIPANT_REQ:function(){return M},WS_CONF_ALLOW_WEBINAR_EMOJI_REACTION_INDICATION:function(){return ni},WS_CONF_ARCHIVING_OPTIONS:function(){return pr},WS_CONF_ARCHIVING_STATUS:function(){return dr},WS_CONF_ASSIGN_CC_REQ:function(){return G},WS_CONF_ASSIGN_HOST_REQ:function(){return A},WS_CONF_ATTENDEE_VIDEO_CONTROL_MODE_CHANGE_REQ:function(){return lr},WS_CONF_ATTENDEE_VIDEO_LAYOUT_MODE_CHANGE_REQ:function(){return fr},WS_CONF_ATTRIBUTE_INDICATION:function(){return Ct},WS_CONF_AVATAR_PERMISSION_CHANGED:function(){return Ne},WS_CONF_BIND_UNBIND_INDICATION:function(){return Wt},WS_CONF_BIND_UNBIND_TELE_USR_REQ:function(){return ve},WS_CONF_BO_ASSIGN_BATCH_REQ:function(){return Be},WS_CONF_BO_ASSIGN_REQ:function(){return re},WS_CONF_BO_ATTRIBUTE_INDICATION:function(){return jt},WS_CONF_BO_BROADCAST_REQ:function(){return se},WS_CONF_BO_BROADCAST_VOICE_REQ:function(){return at},WS_CONF_BO_COHOST_ASSIGN_REQ:function(){return Ke},WS_CONF_BO_COHOST_MOVE_TO_MAIN_SESSION_REQ:function(){return qe},WS_CONF_BO_COHOST_START_REQ:function(){return Ve},WS_CONF_BO_COHOST_STOP_REQ:function(){return Ge},WS_CONF_BO_COMMAND_INDICATION:function(){return kt},WS_CONF_BO_CREATE_REQ:function(){return rt},WS_CONF_BO_DELETE_REQ:function(){return nt},WS_CONF_BO_HELP_REQ:function(){return ue},WS_CONF_BO_HELP_RESULT_REQ:function(){return ce},WS_CONF_BO_JOIN_REQ:function(){return le},WS_CONF_BO_JOIN_RES:function(){return fe},WS_CONF_BO_LEAVE_REQ:function(){return ae},WS_CONF_BO_MOVE_TO_MAIN_SESSION_REQ:function(){return ze},WS_CONF_BO_PRE_ASSIGN_REQ:function(){return Ce},WS_CONF_BO_PRE_ASSIGN_RES:function(){return Te},WS_CONF_BO_RENAME_REQ:function(){return tt},WS_CONF_BO_SAVE_GROUP_REQ:function(){return it},WS_CONF_BO_SAVE_GROUP_RES:function(){return ot},WS_CONF_BO_START_REQ:function(){return te},WS_CONF_BO_STOP_REQ:function(){return ne},WS_CONF_BO_SWITCH_REQ:function(){return ie},WS_CONF_BO_TOKEN_BATCH_REQ:function(){return Ae},WS_CONF_BO_TOKEN_REQ:function(){return $},WS_CONF_BO_TOKEN_RES:function(){return ee},WS_CONF_BO_WANT_JOIN_REQ:function(){return oe},WS_CONF_BROADCAST_USER_NETWORK_QUALITY_REQ:function(){return to},WS_CONF_CANCEL_INVITE_CRC_DEVICE_REQ:function(){return F},WS_CONF_CANCEL_INVITE_CRC_DEVICE_RES:function(){return N},WS_CONF_CAN_ADMIT_WHEN_NOHOST_PRESENT_INDICATION:function(){return Kt},WS_CONF_CHANGE_LOCAL_LIVE_STREAM_INFO_REQ:function(){return Gr},WS_CONF_CHANGE_MULTI_PIN_PRIVILGE_REQ:function(){return Ie},WS_CONF_CHAT_CMD_INDICATION:function(){return He},WS_CONF_CHAT_CMD_REQ:function(){return Le},WS_CONF_CHAT_CMD_RES:function(){return Me},WS_CONF_CHAT_DISABLED_BY_SERVER_INDICATION:function(){return ke},WS_CONF_CHAT_FILE_INDICATION:function(){return oi},WS_CONF_CHAT_FILE_TRANSFER_REQ:function(){return ii},WS_CONF_CHAT_INDICATION:function(){return Pt},WS_CONF_CHAT_PRIVILEDGE_REQ:function(){return K},WS_CONF_CHAT_REQ:function(){return W},WS_CONF_CHAT_RES:function(){return V},WS_CONF_CHECK_CMR_PRIVILEGE_RES:function(){return Ii},WS_CONF_CLOSED_CAPTION_INDICATION:function(){return Rt},WS_CONF_CLOSED_CAPTION_REQ:function(){return B},WS_CONF_CLOSED_CAPTION_RES:function(){return L},WS_CONF_COHOST_CHANGE_INDICATION:function(){return Ft},WS_CONF_CONSENT_LOCAL_LIVE_STREAM_PERMISSION_REQ:function(){return Vr},WS_CONF_DC_REGION_INDICATION:function(){return Gt},WS_CONF_DOWNLOAD_GALLERY_VIDEO_ORDER_REQ:function(){return Xr},WS_CONF_DOWNLOAD_GALLERY_VIDEO_ORDER_RES:function(){return $r},WS_CONF_DRAG_LAYOUT_INDICATION:function(){return Qn},WS_CONF_END_INDICATION:function(){return Ot},WS_CONF_END_REQ:function(){return m},WS_CONF_END_RES:function(){return v},WS_CONF_EXPEL_ATTENDEE_REQ:function(){return _e},WS_CONF_EXPEL_ATTENDEE_RES:function(){return ye},WS_CONF_EXPEL_REQ:function(){return D},WS_CONF_EXPEL_RES:function(){return w},WS_CONF_FAR_END_CAMERA_CONTROL_CAP_REQ:function(){return So},WS_CONF_FAR_END_CAMERA_CONTROL_GROUP_REQ:function(){return wo},WS_CONF_FAR_END_CAMERA_CONTROL_GROUP_RES:function(){return bo},WS_CONF_FAR_END_CAMERA_CONTROL_INDICATION:function(){return Do},WS_CONF_FAR_END_CAMERA_CONTROL_REQ:function(){return yo},WS_CONF_FEEDBACK_CLEAR_REQ:function(){return q},WS_CONF_FEEDBACK_REQ:function(){return z},WS_CONF_FETCH_MEETING_INVITEES_INDICATION:function(){return Mr},WS_CONF_FOLLOW_HOST_REQ:function(){return Jn},WS_CONF_GET_LCP_REQ:function(){return vo},WS_CONF_GET_LCP_RES:function(){return Eo},WS_CONF_GET_RC_URL_SCHEME_REQ:function(){return On},WS_CONF_GET_RC_URL_SCHEME_RES:function(){return xn},WS_CONF_GROUP_LAYOUT_INDICATION:function(){return zt},WS_CONF_HOLD_CHANGE_INDICATION:function(){return Nt},WS_CONF_HOST_CHANGE_INDICATION:function(){return xt},WS_CONF_HOST_KEY_REQ:function(){return xe},WS_CONF_HOST_KEY_RES:function(){return Fe},WS_CONF_HOST_RECEIVED_ENABLE_LIVE_TRANSCRIPT_REQ_INDICATION:function(){return ir},WS_CONF_HOST_REMOVE_LOCAL_LIVE_STREAM_PERMISSION_REQ:function(){return Kr},WS_CONF_HOST_START_STOP_UPDATE_INTERPERTATION_REQ:function(){return wt},WS_CONF_INTERPRETER_START:function(){return Qe},WS_CONF_INTERPRETER_TYPE_CHANGE:function(){return Ye},WS_CONF_INVITEE_IAK_REQ:function(){return bi},WS_CONF_INVITEE_IAK_RES:function(){return Ai},WS_CONF_INVITE_CRC_DEVICE_REQ:function(){return O},WS_CONF_INVITE_CRC_DEVICE_RES:function(){return x},WS_CONF_JOIN_REQ:function(){return h},WS_CONF_JOIN_RES:function(){return d},WS_CONF_KV_UPDATE_INDICATION:function(){return Lt},WS_CONF_LAUNCH_PARAMS_REQ:function(){return wi},WS_CONF_LEAVE_REQ:function(){return E},WS_CONF_LEAVE_RES:function(){return _},WS_CONF_LIVE_STREAM_ACTION:function(){return Ur},WS_CONF_LIVE_STREAM_BROADCAST_INFO:function(){return jr},WS_CONF_LIVE_STREAM_STATUS:function(){return Br},WS_CONF_LIVE_TRANSCRIPTION_ON_OFF_REQ:function(){return Xn},WS_CONF_LIVE_TRANSCRIPTION_ON_OFF_RES:function(){return $n},WS_CONF_LIVE_TRANSCRIPTION_STATUS_INDICATION:function(){return er},WS_CONF_LOCALRECORDING_OP_REQ:function(){return Ui},WS_CONF_LOCALRECORDING_OP_RES:function(){return Wi},WS_CONF_LOCAL_RECORD_INDICATION:function(){return Mt},WS_CONF_LOCK_REQ:function(){return p},WS_CONF_LOCK_RES:function(){return g},WS_CONF_LOWER_ALL_HAND_REQ:function(){return k},WS_CONF_MEDIA_SESSION_READY_INDICATION:function(){return oo},WS_CONF_MEETING_CONFIG_INDICATION:function(){return Io},WS_CONF_MEETING_SHARE_ATTENTION_MODE_ENDING_INDICATION:function(){return qr},WS_CONF_MEETING_SUMMARY_INDICATION:function(){return fo},WS_CONF_MEETING_SUMMARY_SUPPORTED_INDICATION:function(){return ho},WS_CONF_MEETING_TOPIC_CHANGE:function(){return We},WS_CONF_MEETING_TOPIC_CHANGE_FAILED:function(){return Ue},WS_CONF_MEETING_TOPIC_REQ:function(){return je},WS_CONF_MEETING_VIDEO_ATTENTION_MODE_ENDING_INDICATION:function(){return zr},WS_CONF_MMR_SUPPORT_MEETING_ATTENTION_MODE_INDICATION:function(){return Rr},WS_CONF_MONITOR_LOG_REQ:function(){return Z},WS_CONF_NDI_PRIVACY_LINK_INDICATION:function(){return Dr},WS_CONF_NET_LTT_CAP_STATUS_INDICATION:function(){return Tt},WS_CONF_NET_LTT_CC_URL:function(){return It},WS_CONF_NEW_LTT_CAPTION_DISABLED:function(){return vi},WS_CONF_NEW_LTT_LAN_SUPPORT_INDICATION:function(){return ci},WS_CONF_NEW_LTT_MEETING_SPEAK_LANGUAGE_CHANGE_INDICATION:function(){return hi},WS_CONF_NEW_LTT_OP_MCAP_REQ:function(){return mi},WS_CONF_NEW_LTT_OP_REQ:function(){return di},WS_CONF_NEW_LTT_SEND_MCAP_REQ:function(){return gi},WS_CONF_NEW_LTT_SET_MEETING_LANG_REQ:function(){return fi},WS_CONF_NEW_LTT_SIMULIVE_LANGUAGE_CHANGE:function(){return Ei},WS_CONF_NEW_LTT_STATUS:function(){return ui},WS_CONF_NEW_LTT_SUB_TRANSCRIPTION_INDICATION:function(){return li},WS_CONF_NEW_LTT_TEXT_DATA_INDICATION:function(){return pi},WS_CONF_NEW_LTT_UI_ENABLE_REQ:function(){return si},WS_CONF_NOTIFY_USER_NETWORK_QUALITY_INDICATION:function(){return no},WS_CONF_OPTION_INDICATION:function(){return Bt},WS_CONF_PANELIST_VOTE_REQ:function(){return X},WS_CONF_PARTICIPANT_LANGUAGE_INVALID:function(){return Ze},WS_CONF_PARTICIPANT_LIST_CHANGE:function(){return Je},WS_CONF_PLAY_CHIME_OPEN_CLOSE_REQ:function(){return ge},WS_CONF_POLLING_IN_MEETING_OPTIONS_INDICATION:function(){return Pr},WS_CONF_POLLING_OPTION_CHANGE_REQ:function(){return Ir},WS_CONF_POLLING_REQ:function(){return ar},WS_CONF_POLLING_SET_POLLING_TOKEN:function(){return cr},WS_CONF_POLLING_USER_ACTION_ERROR:function(){return ur},WS_CONF_POLLING_USER_ACTION_REQ:function(){return sr},WS_CONF_PRACTICE_SESSION_REQ:function(){return Se},WS_CONF_PRACTICE_SESSION_RES:function(){return De},WS_CONF_PREVIEW_INFO_RES:function(){return eo},WS_CONF_PROMOTE_CONSENT_RES:function(){return yr},WS_CONF_PROMOTE__CONSENT_REQ:function(){return Sr},WS_CONF_PUT_ON_HOLD_REQ:function(){return C},WS_CONF_QA_INDICATION:function(){return Hi},WS_CONF_QA_REQ:function(){return Mi},WS_CONF_QUERY_OP_REQ:function(){return co},WS_CONF_QUERY_OP_RES:function(){return lo},WS_CONF_QUERY_SETTING_INDICATION:function(){return mo},WS_CONF_QUERY_STATUS_INDICATION:function(){return go},WS_CONF_QUERY_SUPPORTED_INDICATION:function(){return po},WS_CONF_RAISE_LOWER_HAND_REQ:function(){return j},WS_CONF_RECEIVER_WEBINAR_EMOJI_REACTION_INDICATION:function(){return ri},WS_CONF_RECEIVE_REACTION_RESULT:function(){return br},WS_CONF_RECLAIM_HOST_REQ:function(){return U},WS_CONF_RECORDING_ANALYTICS_REQ:function(){return ki},WS_CONF_RECORDING_ANALYTICS_RES:function(){return ji},WS_CONF_RECORD_REQ:function(){return y},WS_CONF_RECORD_RES:function(){return S},WS_CONF_RENAME_REQ:function(){return b},WS_CONF_REQUEST_TOKEN:function(){return Ci},WS_CONF_REQUEST_TOKEN_RES:function(){return Ti},WS_CONF_REQ_LOCAL_LIVE_STREAM_PERMISSION_REC:function(){return Wr},WS_CONF_REVOKE_COHOST_REQ:function(){return pe},WS_CONF_ROLE_CHANGE_REQ:function(){return we},WS_CONF_ROLE_CHANGE_RES:function(){return be},WS_CONF_ROSTER_INDICATION:function(){return At},WS_CONF_SEND_DTRESULT_REQ:function(){return _o},WS_CONF_SEND_MEETING_TOKEN_RES:function(){return H},WS_CONF_SEND_REACTION_REQ:function(){return wr},WS_CONF_SEND_WEBINAR_EMOJI_REACTION_REQ:function(){return ti},WS_CONF_SET_ALLOW_WEBINAR_EMOJI_REACTION_REQ:function(){return ei},WS_CONF_SET_BROADCAST_REQ:function(){return R},WS_CONF_SET_BROADCAST_RES:function(){return P},WS_CONF_SET_DRAG_LAYOUT:function(){return Zn},WS_CONF_SET_GALLERY_REVIEW_SORT_TYPE:function(){return so},WS_CONF_SET_GROUP_LAYOUT:function(){return Oe},WS_CONF_SET_HOLD_UPON_ENTRY_REQ:function(){return I},WS_CONF_SET_MUTE_UPON_ENTRY_REQ:function(){return T},WS_CONF_SET_SKIN_TONE_REQ:function(){return Cr},WS_CONF_SHARE_ATTENTION_MODE_LIST:function(){return Nr},WS_CONF_SHARE_ATTENTION_MODE_SET_TYPE_REQ:function(){return Fr},WS_CONF_SIDECAR_ACTIVATED_INDICATION:function(){return Fi},WS_CONF_SIDECAR_DOCUMENT_CHANGED:function(){return Ni},WS_CONF_SIDECAR_DOCUMENT_STATUS_CHANGED:function(){return Ri},WS_CONF_SIDECAR_PROTO:function(){return Oi},WS_CONF_SIDECAR_SPEAKERS_INDICATION:function(){return Bi},WS_CONF_SIDECAR_UPDATE_ACTIVE_SPEAKERS:function(){return Pi},WS_CONF_SIGN_INTERPRETER_LIST_CHANGE_INDICATION:function(){return Xe},WS_CONF_SIGN_INTERPRETER_STATUS_INDICATION:function(){return et},WS_CONF_SIMULIVEPLAYER_INDEX_INDICATION:function(){return Yt},WS_CONF_SMART_RECORDING_OP_REQ:function(){return Co},WS_CONF_SMART_RECORDING_OP_RES:function(){return To},WS_CONF_SMART_RECORDING_SETTING_INDICATION:function(){return Ao},WS_CONF_SMS_INVITE_REQ:function(){return Xi},WS_CONF_SMS_INVITE_RES:function(){return $i},WS_CONF_START_BO_BROADCAST_VOICE_INDICATION:function(){return qt},WS_CONF_START_MEETING_SUMMARY:function(){return uo},WS_CONF_SUSPEND_MEETING:function(){return Re},WS_CONF_SUSPEND_MEETING_REQ_RESULT:function(){return Pe},WS_CONF_SWITCH_TO_NATIVE_REQ:function(){return ao},WS_CONF_SWITCH_TO_NATIVE_RES:function(){return ai},WS_CONF_TURN_ON_OFF_WATERMARK_REQ:function(){return Jr},WS_CONF_UPDATE_MEETING_TOPIC_INDICATION:function(){return Vt},WS_CONF_UPDATE_ZAK_REQ:function(){return hr},WS_CONF_UPLOAD_GALLERY_VIDEO_ORDER_REQ:function(){return Qr},WS_CONF_UPLOAD_GALLERY_VIDEO_ORDER_RES:function(){return Zr},WS_CONF_USER_PRONOUN_CHANGE_REQ:function(){return Ar},WS_CONF_USER_SHARE_PRONOUN_TYPE_INDICATION:function(){return Tr},WS_CONF_VIDEO_ATTENTION_MODE_LIST:function(){return Or},WS_CONF_VIDEO_ATTENTION_MODE_SWITCH:function(){return xr},WS_CONF_WB_LOCK_SHARE_INDICATION:function(){return Qi},WS_CONF_WB_LOCK_SHARE_REQ:function(){return qi},WS_CONF_WEBINAR_SESSION_BRANDING_APPLY_CHANGES:function(){return yi},WS_CONF_WEBINAR_SESSION_BRANDING_APPLY_CHANGES_RESULT:function(){return Si},WS_CONF_WEBINAR_SESSION_BRANDING_RETRY:function(){return Di},WS_CONF_WEBINAR_SESSION_BRANDING_TEMPLATES_AND_VBS:function(){return _i},WS_CONF_ZE_COMPANION_MODE_REQ:function(){return Oo},WS_CONF_ZE_COMPANION_MODE_RES:function(){return xo},WS_CONF_ZE_LIVE_STREAM_STATUS:function(){return Lr},WS_CONF_ZOOM_APP_CMD_REQ:function(){return ro},WS_CONF_ZOOM_APP_CMD_RES:function(){return io},WS_CONN_KEEPALIVE:function(){return r},WS_HOST_CONSENT_START_LIVE_TRANSCRIPT_REQ:function(){return nr},WS_MEETING_RWG_CONNECT_TIME:function(){return Kn},WS_SHARING_ENCRYPT_KEY_INDICATION:function(){return Sn},WS_SHARING_PAUSE_REQ:function(){return vn},WS_SHARING_RECEIVING_CHL_CLOSE_INDICATION:function(){return wn},WS_SHARING_RECEIVING_CHL_READY_INDICATION:function(){return Dn},WS_SHARING_REMOTE_CONTROLED_AUTH_REQ:function(){return Wn},WS_SHARING_REMOTE_CONTROLED_AUTH_RES:function(){return Vn},WS_SHARING_REMOTE_CONTROLED_CLOSE_INDICATION:function(){return Hn},WS_SHARING_REMOTE_CONTROLED_CONNECTED_INDICATION:function(){return jn},WS_SHARING_REMOTE_CONTROLED_CONSENT:function(){return Mn},WS_SHARING_REMOTE_CONTROLED_TAKE_RIGHT_BACK_REQ:function(){return Un},WS_SHARING_REMOTE_CONTROLLER_GRAB:function(){return Rn},WS_SHARING_REMOTE_CONTROLLER_GRAB_INDICATION:function(){return Pn},WS_SHARING_REMOTE_CONTROL_BLOCK_INDICATION:function(){return Gn},WS_SHARING_REMOTE_CONTROL_INDICATION:function(){return Nn},WS_SHARING_REMOTE_CONTROL_REQ:function(){return Fn},WS_SHARING_REMOTE_SYNC_SCREEN_INFO_TO_RCAPP_REQ:function(){return kn},WS_SHARING_RESUME_REQ:function(){return En},WS_SHARING_SIZE_CHANGE_INDICATION:function(){return yn},WS_SHARING_STATUS_INDICATION:function(){return _n},WS_SHARING_SUBSCRIBE_REQ:function(){return Bn},WS_SHARING_UNSUBSCRIBE_REQ:function(){return Ln},WS_SHARING_WEBINAR_OUT_LIMIT_INDICATION:function(){return bn},WS_VIDEO_ACTIVE_INDICATION:function(){return rn},WS_VIDEO_ACTIVE_SOURCE_INDICATION:function(){return Yr},WS_VIDEO_CAMERA_REQ:function(){return mn},WS_VIDEO_ENCRYPT_KEY_INDICATION:function(){return cn},WS_VIDEO_HOST_MUTE_ALL_VIDEO_INDICATION:function(){return un},WS_VIDEO_KEY_FRAME_REQ:function(){return hn},WS_VIDEO_LEADERSHIP_INDICATION:function(){return sn},WS_VIDEO_MULTI_SUBSCRIBE_REQ:function(){return Hr},WS_VIDEO_MULTI_UNSUBSCRIBE_REQ:function(){return kr},WS_VIDEO_MUTE_INDICATION:function(){return an},WS_VIDEO_MUTE_VIDEO_REQ:function(){return pn},WS_VIDEO_NETWORK_FEEDBACK:function(){return dn},WS_VIDEO_SPOTLIGHT_VIDEO_REQ:function(){return gn},WS_VIDEO_SSRC_INDICATION:function(){return on},WS_VIDEO_SUBSCRIBE_REQ:function(){return ln},WS_VIDEO_UNSUBSCRIBE_REQ:function(){return fn},WS_WB_AS_STREAM_ON_OFF:function(){return Yi},WS_WB_CHANGE_SHARE_ROLE_REQ:function(){return zi},WS_WB_CHANGE_SHARE_TO_ALL_REQ:function(){return Ki},WS_WB_START_SHARE:function(){return Vi},WS_WB_STOP_SHARE:function(){return Gi},WS_WB_WHITEBOARD_ERROR:function(){return Zi},WS_WB_WHITEBOARD_INDICATION:function(){return Ji},WS_WEBINAR_VIEW_ONLY_TELEPHONY_INDICATION:function(){return en},XMPP_EVT_TYPE_BASE:function(){return l},ZOOM_CONNECTION_REMOVE_UDP_EVT:function(){return Yn}});var r=0,i=1,o=2,a=4096,s=8192,u=12288,c=16384,l=24576,f=28672,h=1|a,d=2|a,p=3|a,g=4|a,m=5|a,v=6|a,E=7|a,_=8|a,y=9|a,S=10|a,D=11|a,w=12|a,b=13|a,A=15|a,C=17|a,T=19|a,I=21|a,O=23|a,x=24|a,F=25|a,N=26|a,R=27|a,P=28|a,B=29|a,L=30|a,M=31|a,H=32|a,k=33|a,j=35|a,U=37|a,W=39|a,V=40|a,G=41|a,K=45|a,z=47|a,q=49|a,Y=51|a,J=53|a,Q=55|a,Z=71|a,X=57|a,$=77|a,ee=78|a,te=79|a,ne=81|a,re=83|a,ie=85|a,oe=87|a,ae=89|a,se=91|a,ue=93|a,ce=95|a,le=97|a,fe=98|a,he=67|a,de=75|a,pe=99|a,ge=101|a,me=103|a,ve=105|a,Ee=107|a,_e=109|a,ye=110|a,Se=111|a,De=112|a,we=113|a,be=114|a,Ae=115|a,Ce=117|a,Te=118|a,Ie=121|a,Oe=123|a,xe=119|a,Fe=120|a,Ne=126|a,Re=133|a,Pe=134|a,Be=135|a,Le=141|a,Me=142|a,He=3864|a,ke=7992|a,je=136|a,Ue=137|a,We=138|a,Ve=145|a,Ge=147|a,Ke=149|a,ze=151|a,qe=153|a,Ye=154|a,Je=155|a,Qe=156|a,Ze=157|a,Xe=7989,$e=7990,et=7991,tt=177|a,nt=179|a,rt=181|a,it=197|a,ot=198|a,at=218|a,st=203|a,ut=204|a,ct=1|s,lt=2|s,ft=3|s,ht=4|s,dt=5|s,pt=6|s,gt=7|s,mt=8|s,vt=9|s,Et=10|s,_t=12|s,yt=13|s,St=14|s,Dt=15|s,wt=206|a,bt=16|s,At=3841|a,Ct=3842|a,Tt=8014,It=8026,Ot=3843|a,xt=3844|a,Ft=3845|a,Nt=3846|a,Rt=3847|a,Pt=3848|a,Bt=3849|a,Lt=3850|a,Mt=3851|a,Ht=11|s,kt=3853|a,jt=3854|a,Ut=3855|a,Wt=3856|a,Vt=3857|a,Gt=3858|a,Kt=3859|a,zt=3862|a,qt=3903|a,Yt=3917|a,Jt=3841|s,Qt=3842|s,Zt=3843|s,Xt=3844|s,$t=3845|s,en=3846|s,tn=3847|s,nn=3848|s,rn=3841|u,on=3843|u,an=3845|u,sn=3847|u,un=3849|u,cn=3850|u,ln=1|u,fn=3|u,hn=5|u,dn=7|u,pn=9|u,gn=11|u,mn=19|u,vn=1|c,En=3|c,_n=3841|c,yn=3842|c,Sn=3850|c,Dn=3851|c,wn=3852|c,bn=3853|c,An=59|a,Cn=61|a,Tn=63|a,In=65|a,On=245|a,xn=246|a,Fn=5|c,Nn=7|c,Rn=9|c,Pn=11|c,Bn=31|c,Ln=33|c,Mn=43|c,Hn=44|c,kn=45|c,jn=46|c,Un=47|c,Wn=49|c,Vn=50|c,Gn=51|c,Kn=4167,zn=24322,qn=24321,Yn=24323,Jn=4223,Qn=7957,Zn=4218,Xn=131|a,$n=132|a,er=3863|a,tr=165|a,nr=166|a,rr=167|a,ir=3872|a,or=3873|a,ar=4165,sr=128|a,ur=129|a,cr=130|a,lr=139|a,fr=140|a,hr=143|a,dr=7961,pr=7962,gr=7964,mr=4255,vr=4256,Er=4257,_r=4258,yr=7963,Sr=4254,Dr=7965,wr=163|a,br=164|a,Ar=168|a,Cr=174|a,Tr=169|a,Ir=170|a,Or=3870|a,xr=3871|a,Fr=3878|a,Nr=3877|a,Rr=3876|a,Pr=3875|a,Br=7970,Lr=7995,Mr=3879|a,Hr=12303,kr=12305,jr=3880|a,Ur=3881|a,Wr=262|a,Vr=263|a,Gr=265|a,Kr=267|a,zr=3882|a,qr=3883|a,Yr=3851|u,Jr=175|a,Qr=183|a,Zr=184|a,Xr=185|a,$r=186|a,ei=187|a,ti=188|a,ni=3884|a,ri=3885|a,ii=211|a,oi=212|a,ai=208|a,si=4285,ui=7982,ci=7984,li=7985,fi=4287,hi=7986,di=4305,pi=7983,gi=4289,mi=4291,vi=8011,Ei=8027,_i=7987,yi=4295,Si=4296,Di=4297,wi=4301,bi=219|a,Ai=220|a,Ci=4309,Ti=4310,Ii=217|a,Oi=7993,xi=4311,Fi=7994,Ni=4323,Ri=8002,Pi=4339,Bi=8012,Li=4317,Mi=4321,Hi=8e3,ki=222|a,ji=223|a,Ui=247|a,Wi=248|a,Vi=1|f,Gi=2|f,Ki=3|f,zi=4|f,qi=5|f,Yi=6|f,Ji=7|f,Qi=8|f,Zi=9|f,Xi=231|a,$i=232|a,eo=4130,to=235|a,no=3909|a,ro=4335,io=8006,oo=3900|a,ao=207|a,so=241|a,uo=8009,co=8017,lo=3922|a,fo=8008,ho=8007,po=8015,go=8016,mo=3927|a,vo=4332,Eo=4333,_o=249|a,yo=233|a,So=234|a,Do=3908|a,wo=4352,bo=4353,Ao=8024,Co=4350,To=4351,Io=3929|a,Oo=260|a,xo=4357},18283:function(e,t,n){"use strict";n.d(t,{Ev:function(){return l},G1:function(){return h},H5:function(){return v},M3:function(){return m},Pm:function(){return s},QT:function(){return p},VN:function(){return _},X0:function(){return u},XJ:function(){return D},Z4:function(){return c},eT:function(){return E},hL:function(){return S},mb:function(){return d},mv:function(){return f},pR:function(){return o},q1:function(){return g},sq:function(){return a},yv:function(){return y}});var r=n(56812),i=n(15440),o=Object.freeze({MSFT:"MSFT",GOOGLE_NEST:"GOOGLE_NEST",GOOGLE_MEET:"GOOGLE_MEET",TESLA:"TESLA",WEBSDK:"WEBSDK",NORMAL:"NORMAL"}),a=Object.freeze({GOOGLE_NEST:"google-nest-ui",GOOGLE_NEST_BODY:"google-nest-body",TESLA:"tesla-ui",TESLA_BODY:"tesla-body",WEBSDK_BODY:"websdk-body"}),s=Object.freeze({START_VIDEO:"START_VIDEO",STOP_VIDEO:"STOP_VIDEO",UNMUTE_AUDIO:"UNMUTE_AUDIO",MUTE_AUDIO:"MUTE_AUDIO",CONNECTING:"CONNECTING",FAILOVER:"FAILOVER",REFRESH_TOKEN:"REFRESH_TOKEN",PING_RWC:"PING_RWC",NETWORK_RECONNECTING:"NETWORK_RECONNECTING",AUDIO_ASN:"AUDIO_ASN",SHOW_JOIN_AUDIO:"SHOW_JOIN_AUDIO",SHOW_INVITE:"SHOW_INVITE",SHOW_CALLOUT:"SHOW_CALLOUT",SHOW_MEETING_HEADER:"SHOW_MEETING_HEADER",SHOW_RECORD:"SHOW_RECORD",SHOW_PURE_SHARING_CONTENT:"SHOW_PURE_SHARING_CONTENT",GET_ATTENDEES_LIST:"GET_ATTENDEES_LIST",GET_LOGS:"GET_LOGS",GET_CURRENT_USER:"GET_CURRENT_USER",GET_CURRENT_MEETING_INFO:"GET_CURRENT_MEETING_INFO",IS_ENABLE_VB:"IS_ENABLE_VB",IS_SUPPORT_VIRTUAL_BACKGROUND:"IS_SUPPORT_VIRTUAL_BACKGROUND",GET_VIRTUAL_BACKGROUND_STATUS:"GET_VIRTUAL_BACKGROUND_STATUS",ENABLE_BLUR:"ENABLE_BLUR",LOCK_VIRTUAL_BACKGROUND:"LOCK_VIRTUAL_BACKGROUND",STOP_INCOMING_AUDIO:"STOP_INCOMING_AUDIO",SET_VIRTUAL_BACKGROUND:"SET_VIRTUAL_BACKGROUND",UPDATE_VIRTUAL_BACKGROUND_LIST:"UPDATE_VIRTUAL_BACKGROUND_LIST",IS_MEETING_HOST:"IS_MEETING_HOST"}),u=(Object.freeze({CALL_OUT:"WS_AUDIO_DIALOUT_REQ",INVITE_BY_PHONE:"INVITE_BY_PHONE",INVITE_CRC_DEVICE:"WS_CONF_INVITE_CRC_DEVICE_REQ",CALCEL_INVITE_CRC_DEVICE:"WS_CONF_CANCEL_INVITE_CRC_DEVICE_REQ",MUTE:"WS_AUDIO_MUTE_REQ",MUTE_ALL:"WS_AUDIO_MUTEALL_REQ",RENAME:"WS_CONF_RENAME_REQ",EXPEL:"WS_CONF_EXPEL_REQ",PUT_ON_HOLD:"WS_CONF_PUT_ON_HOLD_REQ",RECORD:"WS_CONF_RECORD_REQ",LOCK_MEETING:"WS_CONF_LOCK_REQ",LEAVE_MEETING:"WS_CONF_LEAVE_REQ",END_MEETING:"WS_CONF_END_REQ",ASSIGN_HOST:"WS_CONF_ASSIGN_HOST_REQ",MAKE_COHOST:"WS_CONF_ASSIGN_HOST_REQ",WITHDRAW_COHOST:"WS_CONF_ASSIGN_HOST_REQ",RECLAIM_HOST:"WS_CONF_RECLAIM_HOST_REQ",CLAIM_HOST:"WS_CONF_HOST_KEY_REQ"}),Object.freeze({UI:"UI",RWG:"RWG",XMPP:"XMPP",MEDIA_SDK:"MEDIA_SDK"})),c=Object.freeze({EXPEL:"expel",PROMOTE:"promote",DEPROMOTE:"depromote",MEMBER_CHANGE:"memberChange"}),l={LOBBY:"lobby",CONNECTED:"connected",CONNECTING:"connecting",DISCONNECTED:"disconnected",NETWORK_RECONNECTING:"reconnecting",RWG_CONNECTED:"server_connected"},f={AUDIO_ENCODE_INIT_SUCCESS:1,AUDIO_DECODE_INIT_SUCCESS:2,VIDEO_ENCODE_INIT_SUCCESS:4,VIDEO_DECODE_INIT_SUCCESS:8,SHARE_ENCODE_INIT_SUCCESS:16,SHARE_DECODE_INIT_SUCCESS:32,RWG_CONNECTED:64},h=f.AUDIO_ENCODE_INIT_SUCCESS|f.AUDIO_DECODE_INIT_SUCCESS|f.VIDEO_ENCODE_INIT_SUCCESS|f.VIDEO_DECODE_INIT_SUCCESS|f.SHARE_DECODE_INIT_SUCCESS|f.RWG_CONNECTED,d=f.VIDEO_ENCODE_INIT_SUCCESS|f.VIDEO_DECODE_INIT_SUCCESS|f.SHARE_DECODE_INIT_SUCCESS|f.RWG_CONNECTED,p=f.AUDIO_DECODE_INIT_SUCCESS|f.VIDEO_DECODE_INIT_SUCCESS|f.SHARE_DECODE_INIT_SUCCESS|f.RWG_CONNECTED,g=f.VIDEO_DECODE_INIT_SUCCESS|f.SHARE_DECODE_INIT_SUCCESS|f.RWG_CONNECTED,m={UNMUTE_VIDEO:"UNMUTE_VIDEO",MUTE_VIDEO:"MUTE_VIDEO",UNMUTE_AUDIO:"UNMUTE_AUDIO",MUTE_AUDIO:"MUTE_AUDIO",CONNECTING:"CONNECTING",FAILOVER:"FAILOVER",LEAVE_MEETING:"LEAVE_MEETING",WEBGL_CONTEXT_LOST:"WEBGL_CONTEXT_LOST"},v={OFF:0,ON_MUTE:1,ON_UNMUTE:2},E={OFF:0,ON_NOT_CONNECT:1,ON_CONNECT:2},_={RECOONECT_RWG_WHEN_CLOSE_ERROR:{type:"rwg",code:-1,message:"Reconnect to rwg failed"},CONF_FAIL_CONF_USER_FULL:{type:"rwg",code:r.NO,message:"Meeting has reached the maximum number of participants allowed"},CONF_FAIL_CONFLOCKED:{type:"rwg",code:r.eD,message:"Host has locked this meeting"},CONF_FAIL_MEETING_OVER:{type:"rwg",code:r.du,message:"The meeting has been ended"},CONF_RESULT_MMR_IB_REJECT:{type:"rwg",code:r.HR,message:"Your admin has restricted communication between certain groups and users."},CONF_FAIL_RESULT_MMR_CONF_PARTICIPANT_EXISTS:{type:"rwg",code:r.ii,message:"You have already joined this meeting on another device."}},y={LEAVEREASON_USER_GESTURE:{type:"rwg-leave-reason",code:-1,message:"Leave meeting by user gesture"},LEAVEREASON_KICKEDBYHOST:{type:"rwg-leave-reason",code:i.$,message:"Expeled by host"},LEAVEREASON_ENDBYHOST:{type:"rwg-leave-reason",code:i.DR,message:"The meeting has been ended"},LEAVEREASON_ENDBYHOSTSTARTANOTHERMEETING:{type:"rwg-leave-reason",code:i.bf,message:"The meeting has been ended"},LEAVE_REASON_ARCHIVE_FAIL:{type:"rwg-leave-reason",code:i.ZO,message:"The meeting has been archiving failed"},LEAVEREASON_FREEMEETINGTIMEOUT:{type:"rwg-leave-reason",code:i.wS,message:"Free meeting timeout"}},S={PING_RWC_DOMAIN_EMPTY:{type:"rwc",code:1001,message:"Rwc ping domain list is empty"},PING_RWC_FAIL:{type:"rwc",code:1002,message:"Ping rwc failed"},REFRESH_TOKEN_FAIL:{type:"web",code:2001,message:"Refresh token failed"},CONTROLLER_QUIT:{type:"controller",code:3001,message:"Controller leave meeting"},EXPEL_BY_HOST:{type:"xmpp",code:4001,message:"Expeled by host"}},D={AUTO_JOIN_AUDIO:1,AUDIO_ON:2,VIDEO_ON:4}},61548:function(e,t,n){"use strict";n.r(t),n.d(t,{AUDIO_ANIMATION_TIMEOUT:function(){return b},AUDIO_CC_SELECT_LANGUAGE:function(){return c},AUDIO_EVT_TYPE_BASE:function(){return h},AUDIO_INTERPRETATION_ENABLE:function(){return f},AUDIO_INTERPRETATION_LIST_INFO:function(){return l},AUDIO_INTERPRETATION_MUTE:function(){return s},AUDIO_INTERPRETATION_SELECT_LANGUAGE:function(){return u},AudioConnectionStatus:function(){return _},CALL_TYPES:function(){return D},CHANGE_AUDIO_MIC:function(){return i},CHANGE_AUDIO_SPEAKER:function(){return r},CallMeStatus:function(){return w},ICON_TYPES:function(){return C},JOIN_COMPUTER_AUDIO:function(){return a},JoinType:function(){return E},LEAVE_COMPUTER_AUDIO:function(){return o},MICROPHONE:function(){return I},REMEMBER_PHONE_COOKIE_EXPIRE_TIME:function(){return S},REMEMBER_PHONE_COOKIE_KEY:function(){return y},SPEAKER:function(){return T},WS_AUDIO_CANCEL_DIALOUT_REQ:function(){return v},WS_AUDIO_DIALOUT_REQ:function(){return m},WS_AUDIO_DROP_REQ:function(){return g},WS_AUDIO_MUTE_REQ:function(){return p},WS_AUDIO_PSL_SWITCH_REQ:function(){return A},WS_AUDIO_VOIP_JOIN_CHANNEL_REQ:function(){return d}});var r=11,i=18,o=21,a=22,s=58,u=59,c=57,l=60,f=61,h=8192,d=11|h,p=1|h,g=3|h,m=5|h,v=7|h,E=Object.freeze({VOIP:"voip",PHONE:"phone",CALL_ME:"call_me",THIRD_Party:"3rd-party",SIMU_LIVE:"simu-live"}),_=Object.freeze({NOT_CONNECT:0,CONNECTING:1,CONNECT_SUCCESS:2,CONNECT_FAIL:3}),y="wc_pn",S=12096e5,D={CALLNUMBER_TOLL:0,CALLNUMBER_TOLLFREE:1,CALLNUMBER_PREMIUM:10,CALLNUMBER_INTERNAL:999},w={success:8,disconnected:-1},b=3e3,A=8211,C={SETTINGS:"audio-settings",JOIN:"join-audio",MUTED:"voip-muted",DISALLOW:"disallow-microphone",ACTIVE:"voip-active",UNMUTED:"voip-unmuted",PHONE_MUTED:"phone-muted",PHONE_UNMUTED:"phone-unmuted",PROGRESS:"mute-unmute-in-progress",AUDIO_LOADING:"audio_loading",AUDIO_PLAYING_STEP1:"audio_playing_step1",AUDIO_PLAYING_STEP2:"audio_playing_step2",AUDIO_PLAYING_STEP3:"audio_playing_step3",AUDIO_PLAYING_STEP4:"audio_playing_step4",AUDIO_PLAYING_STEP5:"audio_playing_step5",AUDIO_PLAYING_STEP6:"audio_playing_step6",AUDIO_PLAYING_STEP7:"audio_playing_step7",AUDIO_PLAYING_STEP8:"audio_playing_step8",AUDIO_PLAYING_STEP9:"audio_playing_step9"},T="speaker",I="microphone"},60233:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},r(e)}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{$w:function(){return E},Bq:function(){return d},E1:function(){return v},Lj:function(){return m},Nw:function(){return p},RP:function(){return h},RW:function(){return a},TA:function(){return c},_N:function(){return l},jq:function(){return f},kN:function(){return s},lb:function(){return u},oy:function(){return g},xZ:function(){return o},zq:function(){return _}});var o={AUDIO_CONNECT_SUCCESS:"audio_connect_success",AUDIO_INIT_SUCCESS:"audio_init_success",AUDIO_PREVIEW_ASN:"audio_preview_asn",AUDIO_LEAVE_SUCCESS:"audio_leave_success",AUDIO_FORBIDDEN:"audio_forbidden",SPEAKER_CHANGE:"speaker_change",MICROPHONE_CHANGE:"microphone_change",VIDEO_INIT_SUCCESS:"video_init_success",VIDEO_START_SUCCESS:"video_start_success",CAMERA_IS_TAKEN:"camera_is_taken",VIDEO_FORBIDDEN:"video_forbidden",CAMERA_CHANGE:"camera_change",DEVICES_UPDATE:"devices_update"},a={DISABLED:"disabled",FORBIDDEN:"forbidden",NOT_CONNECTED:"not-connected",MUTED:"muted",UNMUTED:"unmuted",LOADING:"loading",CAPTURING:"capturing"},s={DISABLED:"disabled",FPRBIDDEN:"forbidden",OPEN:"open",CLOSED:"closed",LOADING:"loading",CAPTURING:"capturing"},u="canvas-preview",c={NONE:"none",CAMERA_TAKEN:"camera_taken",AUDIO_FORBIDDEN:"audio_forbidden",VIDEO_FORBIDDEN:"video_forbidden"},l={SMALL:"small",LARGE:"large",TESLA:"tesla",MOBILE:"mobile"},f=i(i(i(i({},l.SMALL,{WIDTH:254,HEIGHT:143}),l.LARGE,{WIDTH:700,HEIGHT:395}),l.TESLA,{WIDTH:600,HEIGHT:370}),l.MOBILE,{WIDTH:135,HEIGHT:190}),h=3e4,d={webinar_in_practise_session:3129,join_wrong_password:3004,join_need_name:9503,join_need_email:9504,register_info_invalid:9506,client_uuid_blocked:1132},p=128,g={PREVIEW_OPTIONS:"previewOptions",AVSTATUS:"avStatus"},m="_zm_wc_remembered_name",v=90,E="https://support.zoom.us/hc/en-us/articles/360059564372-In-Product-Privacy-Notifications",_="preview-background-img-id"},92211:function(e,t,n){"use strict";n.r(t),n.d(t,{CANCEL_REMOTE_CONTROL:function(){return N},CHANGE_CURRENT_SHARING_ACTIVE_SSRC:function(){return O},CHECK_CHROME_SHARING_EXTENSION:function(){return M},CHECK_CHROME_SHARING_EXTENSION_RESPONSE:function(){return U},CURRENT_DESKTOP_SHARING_WIDTH_HEIGHT:function(){return A},DESKTOP_SHARING_CAPTURE_SUCCESS:function(){return C},DESKTOP_SHARING_CHROME_EXTENSION_UNINSTALLED:function(){return G},DESKTOP_SHARING_ERROR:function(){return q},DESKTOP_SHARING_PERMISSION_DENIED:function(){return K},DESKTOP_SHARING_SYSTEM_ERROR:function(){return Y},DESKTOP_SHARING_TIME_OUT:function(){return z},EVT_TYPE_BASE:function(){return s},EVT_TYPE_SHARING_BASE:function(){return u},EVT_TYPE_WS_CONF_ATTRIBUTE_INDICATION:function(){return l},EVT_TYPE_WS_CONF_LOCK_SHARE_REQ:function(){return c},EVT_TYPE_WS_SHARING_FIRST_FRAME_DECODING_OK_REQ:function(){return D},EVT_TYPE_WS_SHARING_MUTE_SHARE_REQ:function(){return d},EVT_TYPE_WS_SHARING_PAUSE_REQ:function(){return p},EVT_TYPE_WS_SHARING_REMOTE_CONTROLLER_GRAB:function(){return y},EVT_TYPE_WS_SHARING_REMOTE_CONTROLLER_GRAB_INDICATION:function(){return S},EVT_TYPE_WS_SHARING_REMOTE_CONTROL_INDICATION:function(){return _},EVT_TYPE_WS_SHARING_REMOTE_CONTROL_REQ:function(){return E},EVT_TYPE_WS_SHARING_RESUME_REQ:function(){return g},EVT_TYPE_WS_SHARING_SSRC_INDICATION:function(){return h},EVT_TYPE_WS_SHARING_SUBSCRIBE_REQ:function(){return v},EVT_TYPE_WS_SHARING_UNSUBSCRIBE_REQ:function(){return m},GLOBAL_FOOTER_TOOLBAR_HEIGHT:function(){return J},PAUSE_DESKTOP_SHARING:function(){return B},POP_UP_BOX_TYPE_ENUM:function(){return a},RESEND_REMOTE_CONTROL_POSITION_PDU:function(){return k},RESUME_DESKTOP_SHARING:function(){return L},SHARER_CONTROLBAR_HEIGHT:function(){return Q},SHARER_PERMISSION_CODE:function(){return o},SHARER_PERMISSION_ENUM:function(){return i},SHARER_SHARING_CANVAS_PLACEHOLDER_DOM_ID:function(){return Z},SHARER_SHARING_VIDEO_PLACEHOLDER_DOM_ID:function(){return X},SHARER_STATUS_ENUM:function(){return r},START_DESKTOP_SHARING:function(){return R},START_REMOTE_CONTROL:function(){return x},START_SHARING:function(){return T},START_SHARING_WHITEBOARD:function(){return ee},STOP_DESKTOP_SHARING:function(){return P},STOP_SHARING:function(){return I},STOP_SHARING_WHITEBOARD:function(){return te},SWITCH_CANVAS_FOR_SHARING_CAPTURE:function(){return H},TESLA_SHAREE_MAX_HEIGHT:function(){return $},UPDATE_REMOTE_CONTROL_PROPERTIES:function(){return F},UPDATE_SHARING_DECODE_PARAM:function(){return j},USER_CANCEL_PERMISSION_REQUEST:function(){return V},USER_STOP_DESKTOP_SHARING:function(){return W},WS_SHARING_DATA_RECEIVE_INDICATION:function(){return f},WS_SHARING_MUTE_SHARE_AUDIO_REQ:function(){return w},WS_SHARING_SHARE_BOROOMS_REQ:function(){return b}});var r={ING:0,ED:1,PAUSED:2},i={HOST_SHARE:0,ALL_SHARE:1,HOST_GRAB:2,ALL_GRAB:3},o={CMM_SHARE_SETTING_LOCK_SHARE:1,CMM_SHARE_SETTING_HOST_GRAB:0,CMM_SHARE_SETTING_ANYONE_GRAB:2,CMM_SHARE_SETTING_MULTI_SHARE:3},a={POP_UP_BOX_DISABLED_SHARE1:0,POP_UP_BOX_DISABLED_SHARE2:1,POP_UP_BOX_START_SHARE:2},s=4096,u=16384,c=73|s,l=3842|s,f=3849|u,h=3843|u,d=25|u,p=1|u,g=3|u,m=33|u,v=31|u,E=5|u,_=7|u,y=9|u,S=11|u,D=37|u,w=39|u,b=41|u,A=15,C=16,T=23,I=24,O=36,x=26,F=27,N=28,R=30,P=31,B=32,L=33,M=34,H=35,k=41,j=44,U=17,W=-15,V=-16,G=-17,K=-18,z=-19,q=-20,Y=-22,J=52,Q=59,Z="sharer-client-sharing-canvas",X="sharer-client-sharing-video",$=670,ee=30.1,te=31.1},7594:function(e,t,n){"use strict";function r(){document.querySelector("#zmmtg-root")||function(e){var t=document.createElement("div");t.id="zmmtg-root","function"===typeof document.body.append?document.body.append(t):document.body.appendChild(t)}(),document.querySelector("#aria-notify-area")||function(e){var t=document.createElement("div");t.id=e,t.role="alert",t.ariaAtomic="true",t.ariaLive="assertive",t.class="sr-only",t.id=e,t.style="display: none","function"===typeof document.body.append?document.body.append(t):document.body.appendChild(t)}("aria-notify-area")}n.d(t,{x:function(){return r}})},95746:function(e,t,n){"use strict";n.d(t,{$Q:function(){return c},$U:function(){return j},$c:function(){return a},$t:function(){return u},Aq:function(){return se},CJ:function(){return xe},CN:function(){return ce},D3:function(){return K},FQ:function(){return Ae},FT:function(){return me},Fe:function(){return B},Fn:function(){return ue},Fs:function(){return X},HJ:function(){return f},HO:function(){return q},Iu:function(){return De},JK:function(){return A},Ji:function(){return z},KR:function(){return be},L5:function(){return Fe},Mi:function(){return Q},Nk:function(){return J},O6:function(){return Ee},OB:function(){return ie},OX:function(){return $},Ol:function(){return ee},Ox:function(){return Y},Q2:function(){return N},QE:function(){return b},Sw:function(){return m},TG:function(){return g},TO:function(){return Ne},U8:function(){return Be},UD:function(){return pe},UG:function(){return ae},UP:function(){return ye},Ut:function(){return te},Vz:function(){return de},WK:function(){return M},WY:function(){return W},Y3:function(){return k},ZS:function(){return x},a1:function(){return O},bW:function(){return P},bw:function(){return o},c0:function(){return y},cU:function(){return ge},cd:function(){return Le},d6:function(){return R},dd:function(){return Te},eF:function(){return Re},gx:function(){return U},hc:function(){return re},ip:function(){return Ie},j0:function(){return he},js:function(){return _},kf:function(){return H},ky:function(){return D},lP:function(){return v},n_:function(){return ne},ne:function(){return E},ow:function(){return le},oy:function(){return G},pH:function(){return ve},pg:function(){return s},ps:function(){return L},q0:function(){return i},qO:function(){return oe},qV:function(){return w},qv:function(){return we},s9:function(){return Oe},sr:function(){return V},tp:function(){return Se},uP:function(){return p},us:function(){return C},v$:function(){return Pe},vU:function(){return S},vi:function(){return Ce},vl:function(){return l},wk:function(){return Z},xJ:function(){return _e},yH:function(){return h},yw:function(){return I},z$:function(){return T},zF:function(){return F},zi:function(){return fe}});var r=n(51689),i=800,o=Object.freeze({COMMAND:Symbol("COMMAND"),XMPP:Symbol("XMPP"),BO:Symbol("BO")}),a={isHideChatPersistentTip:"isHideChatPersistentTip",webClient_Bo_HasShowWhereCanJoinRoomTip:"WEB-CLIENT_BO_HAS-SHOW-WHERE-CAN-JOIN-ROOM-TIP",webClient_SIMD_Flag:"WEB-CLIENT_SIMD_Flag",webClient_first_enter_flag:"WEB-CLIENT-FIRST-ENTER-FLAG",webClient_save_custom_view_flag:"WEB-CLIENT-SAVE-CUSTOM_VIEW-FLAG",webClient_new_reaction_animation_feature_notification_flag:"WEB-CLIENT-NEW-REACTION-ANIMATION-FEATURE-NOTIFICATION-FLAG",webClient_AutoHideSuspensionEnabled:"WEB-CLIENT_AUTO-HIDE-SUSPENSION-ENABLED",webClient_meetingUqiueId:"WEB-CLIENT_MeetingUqiueId",webClient_update_browser_to_share_notification_flag:"WEB-CLIENT-UPDATE-BROWSER-TO-SHARE-NOTIFICATION-FLAG",webClient_is_hide_muted_while_sharing_tips:"WEB-CLIENT-IS-HIDE-MUTED-WHILE-SHARING-TIPS",webClient_is_hide_muted_while_sharing_tips2:"WEB-CLIENT-IS-HIDE-MUTED-WHILE-SHARING-TIPS2",webClient_frequentlyUsedEmojis:"WEB-CLIENT_FREQUENTLY_USED_EMOJIS",webClient_enableHardwareAccelerationForReceivingVideo:"WEB-CLIENT-ENABLE-HARDWARE-ACCELERATION-FOR-RECEIVING-VIDEO-NEW",webClient_enableHardwareAccelerationForSendingVideo:"WEB-CLIENT-ENABLE-HARDWARE-ACCELERATION-FOR-SENDING-VIDEO",webClient_enableSeeSelfActiveWhenSpeaking:"WEB-CLIENT-ENABLE-SEE-SELF-ACTIVE-WHEN-SPEAKING",webClient_enableAutoJoinAudio:"WEB-CLIENT-ENABLE-AUTO-JOIN-AUDIO",webClient_enableMuteAudioWhenJoinMeeting:"WEB-CLIENT-ENABLE-MUTE-WHEN-JOIN-MEETING",webClient_enableTurnOffVideoWhenJoinMeeting:"WEB-CLIENT-ENABLE-TURN-OFF-VIDEO-WHEN-JOIN-MEETING",webClient_enableHoldSpaceKeyToUnmute:"WEB-CLIENT-ENABLE-HOLD-SPACE-KEY-TO-UNMUTE",webClient_enableSyncButtonsOnHeadset:"WEB-CLIENT-ENABLE-SYNC-BUTTONS-ON-HEADSET",webClient_enableDenoise:"WEB-CLIENT-DENOISE",webClient_enableStereo:"WEB-CLIENT-STEREO",webClient_devHardwareAccelerationFlag:"WEB-CLIENT-DEV-HARDWARE-ACCELERATION-FLAG",webClient_enableHideNonVideo:"WEB-CLIENT-ENABLE-HIDE-NON-VIDEO",webClient_enableHideSelfView:"WEB-CLIENT-ENABLE-HIDE-SELF-VIEW",webClient_trackingIds:"WEB-CLIENT-TRACKING-IDS",recent_selected_translate:"RecentSelectedTranslateLang",failoverCount:"failoverCount",webClient_is_hide_preassign_rename_tip:"webClient_is_hide_preassign_rename_tip",webClient_is_not_show_request_host_record_tip_again:"webClient_is_not_show_request_host_record_tip_again",audio_profile_type:"audio_profile_type",denoise_type:"denoise_type",enable_high_fidelity:"enable_high_fidelity",enable_stereo:"enable_stereo",isStereoEnabled:"isStereoEnabled",enableHightFidelity:"enableHightFidelity"},s={webClient_isHost:"webClient_isHost",webClient_tk:"WEB-CLIENT_TK",webClient_mtk:"WEB-CLIENT_MTK",webClient_zak:"WEB-CLIENT_ZAK",webClient_zsk:"WEB-CLIENT_ZSK",webClient_suid:"WEB-CLIENT_SUID",webClient_opt:"WEB-CLIENT_OPT_TOKEN",webClient_Bo_HasJoinBoMeeting:"WEB-CLIENT_BO_HAS-JOIN-BO-MEETING",webClient_Bo_HasReceiveJoinCmd:"WEB-CLIENT_BO_HAS-RECEIVE-JOIN-CMD",webClient_RemovedParticipants:"WEB-CLIENT_REMOVED-PARTICIPANTS",webClient_webinarToken:"WEB-CLIENT_WEBINAR-TOKEN",webClient_meetingToken:"WEB-CLIENT_MEETING-TOKEN",webClient_hasRecordingReminderForHost:"WEB-CLIENT_HAS-RECORDING-REMINDER-FOR-HOST",webClient_freeMeetingHasAutoUpgraded:"webClient_freeMeetingHasAutoUpgraded",webClient_freeMeetingBeginToConutdown:"webClient_freeMeetingBeginToConutdown",NDIDialogHasShown:"NDIDialogHasShown",webClient_audioEncryptKey:"webClient_audioEncryptKey",webClient_videoEncryptKey:"webClient_videoEncryptKey",webClient_sharingEncryptKey:"webClient_sharingEncryptKey",webClient_hasAlertStopShareDialogBeforeJoinBO:"webClient_hasAlertStopShareDialogBeforeJoinBO",webClient_hasAlertSharingToBOConfirm:"webClient_hasAlertSharingToBOConfirm",archiveConfirmed:"archiveConfirmed",summaryConfirmed:"summaryConfirmed",meetingQueryConfirmed:"meetingQueryConfirmed",liveStreamConfirmed:"liveStreamConfirmed",recordingConfirmed:"recordingConfirmed",smartRecordingConfirmed:"smartRecordingConfirmed",promoteConfirmed:"promoteConfirmed",avStatus:"avStatus",callMeStatusCode:"callMeStatusCode",callMePhoneNumber:"callMePhoneNumber",isMeeting:"isMeeting",inMeeting:"inMeeting",hasBeenInMeeting:"hasBeenInMeeting",isInvited:"isInvited",PO:"preview_options",isSupportInMeetingListener:"isSupportInMeetingListener",inMeetingListenerBeHold:"inMeetingListenerBeHold",inZeCompanionMode:"inZeCompanionMode",zeCompanionModePicFileID:"zeCompanionModePicFileID",companionModeStreamStatus:"companionModeStreamStatus",reactionEnablesDialogDisplayChanged:"reactionEnablesDialogDisplayChanged",webClient_BCoHost:"webClient_BCoHost",logConfig:"logConfig",websdk_userEmail:"websdk_userEmail"},u={webclient_meeting_tokens:"WEB-CLIENT-MEETING-TOKENS",webclient_rwc_response:"rwc.oldResponse",rwcGeoFenceResponse:"rwc.geoFenceResponse",rwgUrl:"rwg.url",currentRwcIsGood:"rwc.isGood",previewInfo:"previewInfo"},c={BO_JOIN:"BOJoin",BO_LEAVE:"BOLeave",IN_BO:"INBO",PROMOTE_DEPROMOTE:"PROMOTE_DEPROMOTE"},l="!@#$%%$#@!",f="~~!@#$%%$#@!",h="~!@#$%%$#@!",d=function(e){return 1<<e-1},p=d(1),g=d(2),m=d(3),v=d(4),E=d(5),_=d(6),y=d(10),S=d(1),D=d(2),w=d(4),b=d(5),A=d(6),C=d(7),T=d(10),I=d(11),O=d(12),x=d(13),F=d(14),N=d(15),R=256,P=262144,B=d(18),L=d(19),M=d(20),H=d(21),k=d(22),j=d(23),U=1048576,W=d(25),V=d(26),G=d(27),K=d(28),z=8388608,q=2048,Y=d(29),J=d(30),Q=Object.freeze({HYBRID:"HYBRID",ONPREM:"ONPREM"}),Z=Object.freeze({ZOOM_DOMAIN_TYPE_NONE:0,ZOOM_DOMAIN_TYPE_PROD:1,ZOOM_DOMAIN_TYPE_DEV:2,ZOOM_DOMAIN_TYPE_GOV:3,ZOOM_DOMAIN_TYPE_GOVDEV:4,ZOOM_DOMAIN_TYPE_CN:5,ZOOM_DOMAIN_TYPE_DEVCN:6}),X=Object.freeze({NONE:0,ECB:1,GCM:2}),$=1,ee=4,te={SIZE_1:1,SIZE_5:5,SIZE_10:10,SIZE_26:26},ne={SIZE_1:1,SIZE_5:3,SIZE_10:5,SIZE_26:5,SIZE_3:3},re={1:1,2:1,3:2,4:2,5:3,6:4,7:4,8:5,9:5,25:5},ie={SIZE_1:1,SIZE_5:2,SIZE_10:4,SIZE_26:9},oe={1:1,2:1,3:1,4:2,5:2,6:2,7:3,8:3,9:4,25:9},ae=8,se=16,ue=32,ce=64,le=256,fe=128,he=1024,de=4096,pe=8192,ge=2048,me=524288,ve=131072,Ee=2097152,_e=8388608,ye=Object.freeze({SHARE_PRONOUNS_TYPE_ASK:0,SHARE_PRONOUNS_TYPE_ALAWYS:1,SHARE_PRONOUNS_TYPE_NOT:2}),Se=Object.freeze({CHAT:"chat",CC:"closeCaption",REMOTE_CONTROL:"remoteControl",SHARING:"screenShare",MEETING_POLL:"meetingPolls",WEBINAR_POLL:"webinarPolls",QA:"webinarQnA",FILE_TRANSFER:"fileTransfer",REACTIONS:"meetingReactions",NON_VERBAL_FEEDBACK:"nonVerbalFeedback",HIDE_AVATAR:"participantAvatar",DISABLE_COMPUTER_AUDIO:"computerAudio",DISABLE_DIRECT_MESSAGE:"directMessage",DISABLE_NEW_LT:"liveTranscription",DISABLE_WEBINAR_REACTIONS:"webinarReactions",DISABLE_IN_MEETING_WHITEBOARD:"inMeetingWhiteBoard",WEBINAR_SURVEY:"webinarSurvey",JOIN_WEBINAR:"joinWebinar",MEETING_SURVEY:"meetingSurvey",SAVE_CAPTION:"saveCaptions",ZOOM_APP:"inMeetingZoomApps",SMART_SUMMARY:"smartMeetingSummaries",MEETING_QUERIES:"DisableAICQueries"}),De={WS_CONF_BO_TOKEN_RES:r.WS_CONF_BO_TOKEN_RES,WS_CONF_BO_ATTRIBUTE_INDICATION:r.WS_CONF_BO_ATTRIBUTE_INDICATION,WS_CONF_BO_COMMAND_INDICATION:r.WS_CONF_BO_COMMAND_INDICATION,WS_CONF_BO_JOIN_RES:r.WS_CONF_BO_JOIN_RES,WS_CONF_BO_PRE_ASSIGN_RES:r.WS_CONF_BO_PRE_ASSIGN_RES,WS_CONF_HOST_RECEIVED_ENABLE_LIVE_TRANSCRIPT_REQ_INDICATION:r.WS_CONF_HOST_RECEIVED_ENABLE_LIVE_TRANSCRIPT_REQ_INDICATION,WS_CONF_ALLOW_ASK_HOST_START_LIVE_TRANSCRIPT_INDICATION:r.WS_CONF_ALLOW_ASK_HOST_START_LIVE_TRANSCRIPT_INDICATION,WS_CONF_CLOSED_CAPTION_INDICATION:r.WS_CONF_CLOSED_CAPTION_INDICATION,WS_CONF_LIVE_TRANSCRIPTION_ON_OFF_RES:r.WS_CONF_LIVE_TRANSCRIPTION_ON_OFF_RES,WS_CONF_LIVE_TRANSCRIPTION_STATUS_INDICATION:r.WS_CONF_LIVE_TRANSCRIPTION_STATUS_INDICATION,WS_CONF_POLLING_USER_ACTION_ERROR:r.WS_CONF_POLLING_USER_ACTION_ERROR,WS_CONF_POLLING_IN_MEETING_OPTIONS_INDICATION:r.WS_CONF_POLLING_IN_MEETING_OPTIONS_INDICATION,WS_CONF_INTERPRETER_START:r.WS_CONF_INTERPRETER_START},we={JOIN_ORDER:1,ALPHABETICAL:2},be={TOKEN_TYPE_UNKNOW:0,TOKEN_TYPE_APP_ACCESS:1,TOKEN_TYPE_POLLING:2,TOKEN_TYPE_GR_JOIN:3,TOKEN_TYPE_USER_INFO:4,TOKEN_TYPE_GET_HOSTKEY_JWT:5,TOKEN_TYPE_END:6,TOKEN_TYPE_BO_ROLE_TOKEN:200},Ae={CHAT_FROM_CLIENT:"0",CHAT_FROM_PMC_IM:"1",CHAT_FROM_DLP:"2"},Ce={IM:"im",MEET:"meet"},Te={READY:5},Ie={SYS:-1,DUMMY_HEADER:-2,DELETED:-3,INPUT:1,PMC_HEADER:-4},Oe={NONE:-1,EXPAND:1,COLLAPSE:2,MORE:3},xe={NONE:0,NO_PRIVILEGE:-1,ABSENT:-2,RESTRICTED:-3,IMPROPER_RECEIVER:-4,EXCEPTION_WR:-5,UNSUPPORTED_TYPE:-6,EDIT_DM_ON_HOLD:-7,NOT_IN_SAME_MEETING:-8,FILE_BLOCKED:-9,FILE_SIZE_LIMIT:-10,FILE_COUNT_FULL:-11,FILE_REMOVED:-12,WR_UN_SUPPORT_FILES:-13},Fe=10,Ne="IQ_FROM_IM",Re={SESSION_TYPE_AUDIO:1,SESSION_TYPE_DESKSHARE:2,SESSION_TYPE_VIDEO:3},Pe=[{iconText:"EN",name:"English",id:"US"},{iconText:"\u4e2d",name:"Chinese",id:"CN"},{iconText:"\u3042",name:"Japanese",id:"JP"},{iconText:"DE",name:"German",id:"DE"},{iconText:"FR",name:"French",id:"FR"},{iconText:"RU",name:"Russian",id:"RU"},{iconText:"PT",name:"Portuguese",id:"PT"},{iconText:"ES",name:"Spanish",id:"ES"},{iconText:"\ud55c",name:"Korean",id:"KR"},{iconText:"AF",name:"Afrikaans",id:"D-AF"},{iconText:"SQ",name:"Albanian",id:"D-SQ"},{iconText:"AM",name:"Amharic",id:"D-AM"},{iconText:"AR",name:"Arabic",id:"D-AR"},{iconText:"HY",name:"Armenian",id:"D-HY"},{iconText:"AZ",name:"Azerbaijani",id:"D-AZ"},{iconText:"EU",name:"Basque",id:"D-EU"},{iconText:"BE",name:"Belarusian",id:"D-BE"},{iconText:"BN",name:"Bengali",id:"D-BN"},{iconText:"BS",name:"Bosnian",id:"D-BS"},{iconText:"BG",name:"Bulgarian",id:"D-BG"},{iconText:"CA",name:"Catalan",id:"D-CA"},{iconText:"CE",name:"Cebuano",id:"D-CE"},{iconText:"NY",name:"Chichewa",id:"D-NY"},{iconText:"CN",name:"Chinese",id:"D-CN"},{iconText:"CO",name:"Corsican",id:"D-CO"},{iconText:"HR",name:"Croatian",id:"D-HR"},{iconText:"CS",name:"Czech",id:"D-CS"},{iconText:"DA",name:"Danish",id:"D-DA"},{iconText:"NL",name:"Dutch",id:"D-NL"},{iconText:"US",name:"English",id:"D-US"},{iconText:"EO",name:"Esperanto",id:"D-EO"},{iconText:"ET",name:"Estonian",id:"D-ET"},{iconText:"TL",name:"Filipino",id:"D-TL"},{iconText:"FI",name:"Finnish",id:"D-FI"},{iconText:"FR",name:"French",id:"D-FR"},{iconText:"FY",name:"Frisian",id:"D-FY"},{iconText:"GL",name:"Galician",id:"D-GL"},{iconText:"KA",name:"Georgian",id:"D-KA"},{iconText:"DE",name:"German",id:"D-DE"},{iconText:"EL",name:"Greek",id:"D-EL"},{iconText:"GU",name:"Gujarati",id:"D-GU"},{iconText:"HT",name:"Haitian Creole",id:"D-HT"},{iconText:"HA",name:"Hausa",id:"D-HA"},{iconText:"HW",name:"Hawaiian",id:"D-HW"},{iconText:"IW",name:"Hebrew",id:"D-IW"},{iconText:"HI",name:"Hindi",id:"D-HI"},{iconText:"HM",name:"Hmong",id:"D-HM"},{iconText:"HU",name:"Hungarian",id:"D-HU"},{iconText:"IS",name:"Icelandic",id:"D-IS"},{iconText:"IG",name:"Igbo",id:"D-IG"},{iconText:"ID",name:"Indonesian",id:"D-ID"},{iconText:"GA",name:"Irish",id:"D-GA"},{iconText:"IT",name:"Italian",id:"D-IT"},{iconText:"JP",name:"Japanese",id:"D-JP"},{iconText:"JW",name:"Javanese",id:"D-JW"},{iconText:"KN",name:"Kannada",id:"D-KN"},{iconText:"KK",name:"Kazakh",id:"D-KK"},{iconText:"KM",name:"Khmer",id:"D-KM"},{iconText:"RW",name:"Kinyarwanda",id:"D-RW"},{iconText:"KR",name:"Korean",id:"D-KR"},{iconText:"KU",name:"Kurdish (Kurmanji)",id:"D-KU"},{iconText:"KY",name:"Kyrgyz",id:"D-KY"},{iconText:"LO",name:"Lao",id:"D-LO"},{iconText:"LA",name:"Latin",id:"D-LA"},{iconText:"LV",name:"Latvian",id:"D-LV"},{iconText:"LT",name:"Lithuanian",id:"D-LT"},{iconText:"LB",name:"Luxembourgish",id:"D-LB"},{iconText:"MK",name:"Macedonian",id:"D-MK"},{iconText:"MG",name:"Malagasy",id:"D-MG"},{iconText:"MS",name:"Malay",id:"D-MS"},{iconText:"ML",name:"Malayalam",id:"D-ML"},{iconText:"MT",name:"Maltese",id:"D-MT"},{iconText:"MI",name:"Maori",id:"D-MI"},{iconText:"MR",name:"Marathi",id:"D-MR"},{iconText:"MN",name:"Mongolian",id:"D-MN"},{iconText:"MY",name:"Myanmar (Burmese)",id:"D-MY"},{iconText:"NE",name:"Nepali",id:"D-NE"},{iconText:"NO",name:"Norwegian",id:"D-NO"},{iconText:"OR",name:"Odia (Oriya)",id:"D-OR"},{iconText:"PS",name:"Pashto",id:"D-PS"},{iconText:"FA",name:"Persian",id:"D-FA"},{iconText:"PL",name:"Polish",id:"D-PL"},{iconText:"PT",name:"Portuguese",id:"D-PT"},{iconText:"PA",name:"Punjabi",id:"D-PA"},{iconText:"RO",name:"Romanian",id:"D-RO"},{iconText:"RU",name:"Russian",id:"D-RU"},{iconText:"SM",name:"Samoan",id:"D-SM"},{iconText:"GD",name:"Scots Gaelic",id:"D-GD"},{iconText:"SR",name:"Serbian",id:"D-SR"},{iconText:"ST",name:"Sesotho",id:"D-ST"},{iconText:"SN",name:"Shona",id:"D-SN"},{iconText:"SD",name:"Sindhi",id:"D-SD"},{iconText:"SI",name:"Sinhala",id:"D-SI"},{iconText:"SK",name:"Slovak",id:"D-SK"},{iconText:"SL",name:"Slovenian",id:"D-SL"},{iconText:"SO",name:"Somali",id:"D-SO"},{iconText:"ES",name:"Spanish",id:"D-ES"},{iconText:"SU",name:"Sundanese",id:"D-SU"},{iconText:"SW",name:"Swahili",id:"D-SW"},{iconText:"SV",name:"Swedish",id:"D-SV"},{iconText:"TG",name:"Tajik",id:"D-TG"},{iconText:"TA",name:"Tamil",id:"D-TA"},{iconText:"TT",name:"Tatar",id:"D-TT"},{iconText:"TE",name:"Telugu",id:"D-TE"},{iconText:"TH",name:"Thai",id:"D-TH"},{iconText:"TR",name:"Turkish",id:"D-TR"},{iconText:"TK",name:"Turkmen",id:"D-TK"},{iconText:"UK",name:"Ukrainian",id:"D-UK"},{iconText:"UR",name:"Urdu",id:"D-UR"},{iconText:"UG",name:"Uyghur",id:"D-UG"},{iconText:"UZ",name:"Uzbek",id:"D-UZ"},{iconText:"VI",name:"Vietnamese",id:"D-VI"},{iconText:"CY",name:"Welsh",id:"D-CY"},{iconText:"XH",name:"Xhosa",id:"D-XH"},{iconText:"YI",name:"Yiddish",id:"D-YI"},{iconText:"YO",name:"Yoruba",id:"D-YO"},{iconText:"ZU",name:"Zulu",id:"D-ZU"}],Be={H323:1,SIP:2},Le="zm_previewVal"},59583:function(e,t,n){"use strict";n.d(t,{$Q:function(){return r.$Q},$r:function(){return o},Dn:function(){return i},lZ:function(){return r.lZ},xc:function(){return r.xc}});var r=n(15453),i={VIDEO_ENCODE:"0",VIDEO_DECODE:"1",AUDIO_ENCODE:"2",AUDIO_DECODE:"3",SHARING_ENCODE:"4",SHARING_DECODE:"5"},o={NONE:0,AES256:1,AES_GCM:2}},15453:function(e,t,n){"use strict";n.d(t,{$Q:function(){return u},lZ:function(){return i},xc:function(){return c}});var r=n(61451),i={RWG_CHAT:{gcmType:1,sessionType:"RWG_CHAT"},XMPP_CHAT:{gcmType:1,sessionType:"XMPP_CHAT"},CC_MESSAGE:{gcmType:3,sessionType:"CC_MESSAGE"},BO_BROADCAST:{gcmType:1,sessionType:"BO_BROADCAST"},CHAT_FILE:{gcmType:2,sessionType:"CHAT_FILE"},CHAT_FILE_INFO:{gcmType:1,sessionType:"CHAT_FILE_INFO"}},o=(window.crypto||window.msCrypto).subtle,a=4;function s(e,t,n){var i=new Uint32Array(1);i[0]=9,i[0]+=Number(n);var s=new Uint8Array(i.buffer),u=new Uint8Array(132),c=(0,r.pu)(t);return u.set(c,0,c.length),u.set(s,c.length,c.length+a),u=u.subarray(0,c.length+a),o.importKey("raw",e,{name:"HMAC",hash:"SHA-256"},!0,["sign"]).then((function(e){return o.sign({name:"HMAC"},e,u)})).then((function(e){return e})).then((function(e){return o.importKey("raw",e,{name:"AES-GCM",length:256},!0,["encrypt","decrypt"])}))}function u(e){var t=e.text,n=e.type,a=e.aad,u=void 0===a?new Uint8Array(0):a;if(!easyStore.easyGet("gcmEnabled"))return Promise.resolve((0,r.oF)(t,!0));var c=easyStore.getNewIv(n.sessionType),l=new ArrayBuffer(12),f=new Uint8Array(l);return new DataView(l).setUint32(0,c,!0),s("BO_BROADCAST"===n.sessionType?easyStore.getMainSessionKey():easyStore.getRawSessionKey(),easyStore.getCurrentUserId(),n.gcmType).then((function(e){var r=n===i.CHAT_FILE?t:(new TextEncoder).encode(t);return o.encrypt({name:"AES-GCM",iv:f,additionalData:u,tagLength:128},e,r)})).then((function(e){var t=new ArrayBuffer(1);new Uint8Array(t)[0]=f.length;var o=new ArrayBuffer(2);new DataView(o).setUint16(0,u.length,!0);var a=new ArrayBuffer(4);new DataView(a).setUint32(0,e.byteLength-16,!0);var s=(0,r.S$)(t,f);s=(0,r.S$)(s,o),s=(0,r.S$)(s,u),s=(0,r.S$)(s,a);var c=(s=(0,r.S$)(s,e)).buffer;if(n===i.CHAT_FILE)return c;var l=(0,r.hm)(new Uint8Array(c));return window.btoa(l).replace(/_/g,"/").replace(/-/g,"+").replace(/=/g,"")}))}function c(e){var t,n=e.decryptedText,a=e.type,u=e.userId;if(!easyStore.easyGet("gcmEnabled"))return Promise.resolve({message:(0,r.DW)((0,r.pu)(n))});var c=(t=a===i.CHAT_FILE?new Uint8Array(n):(0,r.Vw)(atob(n.replace(/_/g,"/").replace(/-/g,"+"))))[0],l=t.slice(1,c+1),f=t.slice(1+c,3+c),h=new DataView(f.buffer).getUint16(0,!0),d=t.slice(1+c+2,1+c+2+h),p=t.slice(1+c+2+h,1+c+2+h+4),g=new DataView(p.buffer).getUint32(0,!0),m=t.slice(1+c+2+h+4,1+c+2+h+4+g),v=t.slice(1+c+2+h+4+g);return s("BO_BROADCAST"===a.sessionType?easyStore.getMainSessionKey():easyStore.getRawSessionKey(),u,a.gcmType).then((function(e){var t=(0,r.S$)(m,v);return o.decrypt({name:"AES-GCM",iv:l,additionalData:d,tagLength:8*v.length},e,t.buffer)})).then((function(e){return a===i.CHAT_FILE?{message:e,iv:l,aad:d}:{message:(new TextDecoder).decode(e),iv:l,aad:d}})).catch((function(){return{message:"[".concat((0,r.NN)("This is an encrypted message","apac.common.decrypt_fail"),"]"),iv:l,aad:d}}))}},87094:function(e,t,n){"use strict";function r(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,i,o,a){return r((s=r(r(t,e),r(i,a)))<<(u=o)|s>>>32-u,n);var s,u}function o(e,t,n,r,o,a,s){return i(t&n|~t&r,e,t,o,a,s)}function a(e,t,n,r,o,a,s){return i(t&r|n&~r,e,t,o,a,s)}function s(e,t,n,r,o,a,s){return i(t^n^r,e,t,o,a,s)}function u(e,t,n,r,o,a,s){return i(n^(t|~r),e,t,o,a,s)}function c(e,t){var n,i,c,l,f;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var h=1732584193,d=-271733879,p=-1732584194,g=271733878;for(n=0;n<e.length;n+=16)i=h,c=d,l=p,f=g,h=o(h,d,p,g,e[n],7,-680876936),g=o(g,h,d,p,e[n+1],12,-389564586),p=o(p,g,h,d,e[n+2],17,606105819),d=o(d,p,g,h,e[n+3],22,-1044525330),h=o(h,d,p,g,e[n+4],7,-176418897),g=o(g,h,d,p,e[n+5],12,1200080426),p=o(p,g,h,d,e[n+6],17,-1473231341),d=o(d,p,g,h,e[n+7],22,-45705983),h=o(h,d,p,g,e[n+8],7,1770035416),g=o(g,h,d,p,e[n+9],12,-1958414417),p=o(p,g,h,d,e[n+10],17,-42063),d=o(d,p,g,h,e[n+11],22,-1990404162),h=o(h,d,p,g,e[n+12],7,1804603682),g=o(g,h,d,p,e[n+13],12,-40341101),p=o(p,g,h,d,e[n+14],17,-1502002290),h=a(h,d=o(d,p,g,h,e[n+15],22,1236535329),p,g,e[n+1],5,-165796510),g=a(g,h,d,p,e[n+6],9,-1069501632),p=a(p,g,h,d,e[n+11],14,643717713),d=a(d,p,g,h,e[n],20,-373897302),h=a(h,d,p,g,e[n+5],5,-701558691),g=a(g,h,d,p,e[n+10],9,38016083),p=a(p,g,h,d,e[n+15],14,-660478335),d=a(d,p,g,h,e[n+4],20,-405537848),h=a(h,d,p,g,e[n+9],5,568446438),g=a(g,h,d,p,e[n+14],9,-1019803690),p=a(p,g,h,d,e[n+3],14,-187363961),d=a(d,p,g,h,e[n+8],20,1163531501),h=a(h,d,p,g,e[n+13],5,-1444681467),g=a(g,h,d,p,e[n+2],9,-51403784),p=a(p,g,h,d,e[n+7],14,1735328473),h=s(h,d=a(d,p,g,h,e[n+12],20,-1926607734),p,g,e[n+5],4,-378558),g=s(g,h,d,p,e[n+8],11,-2022574463),p=s(p,g,h,d,e[n+11],16,1839030562),d=s(d,p,g,h,e[n+14],23,-35309556),h=s(h,d,p,g,e[n+1],4,-1530992060),g=s(g,h,d,p,e[n+4],11,1272893353),p=s(p,g,h,d,e[n+7],16,-155497632),d=s(d,p,g,h,e[n+10],23,-1094730640),h=s(h,d,p,g,e[n+13],4,681279174),g=s(g,h,d,p,e[n],11,-358537222),p=s(p,g,h,d,e[n+3],16,-722521979),d=s(d,p,g,h,e[n+6],23,76029189),h=s(h,d,p,g,e[n+9],4,-640364487),g=s(g,h,d,p,e[n+12],11,-421815835),p=s(p,g,h,d,e[n+15],16,530742520),h=u(h,d=s(d,p,g,h,e[n+2],23,-995338651),p,g,e[n],6,-198630844),g=u(g,h,d,p,e[n+7],10,1126891415),p=u(p,g,h,d,e[n+14],15,-1416354905),d=u(d,p,g,h,e[n+5],21,-57434055),h=u(h,d,p,g,e[n+12],6,1700485571),g=u(g,h,d,p,e[n+3],10,-1894986606),p=u(p,g,h,d,e[n+10],15,-1051523),d=u(d,p,g,h,e[n+1],21,-2054922799),h=u(h,d,p,g,e[n+8],6,1873313359),g=u(g,h,d,p,e[n+15],10,-30611744),p=u(p,g,h,d,e[n+6],15,-1560198380),d=u(d,p,g,h,e[n+13],21,1309151649),h=u(h,d,p,g,e[n+4],6,-145523070),g=u(g,h,d,p,e[n+11],10,-1120210379),p=u(p,g,h,d,e[n+2],15,718787259),d=u(d,p,g,h,e[n+9],21,-343485551),h=r(h,i),d=r(d,c),p=r(p,l),g=r(g,f);return[h,d,p,g]}function l(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function h(e){var t,n,r="0123456789abcdef",i="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),i+=r.charAt(t>>>4&15)+r.charAt(15&t);return i}function d(e){return unescape(encodeURIComponent(e))}function p(e){return function(e){return l(c(f(e),8*e.length))}(d(e))}function g(e,t){return function(e,t){var n,r,i=f(e),o=[],a=[];for(o[15]=a[15]=void 0,i.length>16&&(i=c(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=c(o.concat(f(t)),512+8*t.length),l(c(a.concat(r),640))}(d(e),d(t))}n.d(t,{Z:function(){return m}});var m=function(e,t,n){return t?n?g(t,e):h(g(t,e)):n?p(e):h(p(e))}},72849:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(51684),i=n(61451);function o(){Object.assign(this.memory,{sessionStorageKey:(0,i.oF)("easy-".concat(r.ZP.mid)),localStorageKey:(0,i.oF)("easy-local-storage")})}},45238:function(e,t,n){"use strict";n.d(t,{TJ:function(){return a}});var r=n(60112),i=n(72849),o=n(85527),a={firstBeforeReadStorage:{initStorageKey:i.H},firstAfterReadStorage:{initUserName:r.Fk,initIVState:o.qK},failOverBeforeReadStorage:{initGcmMemory:o.$},failOverAfterReadStorage:{initIVState:o.qK},customer:{isOldUserName:r.$n,isOldRWGUserName:r.cV,getNewIv:o.Sf,gcmInit:o.ZG,getIv:o.bG,setIv:o.Lc,getRawSessionKey:o.pn,getMainSessionKey:o.EE,getCurrentUserId:o.rc,setMainSessionKey:o.hA}}},28100:function(e,t,n){"use strict";n.d(t,{r:function(){return d},v:function(){return h}});var r=n(86925),i=n(61451);function o(e){return o="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},o(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function c(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:String(t)}var f=(0,i.oF)("{}"),h={localStorage:"localStorage",sessionStorage:"sessionStorage",memory:"memory"},d=function(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,"bindMethod",(function(e){var t=e.firstBeforeReadStorage,r=void 0===t?{}:t,i=e.firstAfterReadStorage,o=void 0===i?{}:i,a=e.failOverBeforeReadStorage,u=void 0===a?{}:a,c=e.failOverAfterReadStorage,l=void 0===c?{}:c,f=e.customer,h=void 0===f?{}:f;n.memory.lifecycle={firstBeforeReadStorage:Object.keys(r),firstAfterReadStorage:Object.keys(o),failOverBeforeReadStorage:Object.keys(u),failOverAfterReadStorage:Object.keys(l)};var d=s(s(s(s(s({},r),o),u),l),h);Object.keys(d).forEach((function(e){n[e]=d[e]}))})),c(this,"initStoreData",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!n.memory.initialed){n.memory.initialed=!0;var t=n.memory.lifecycle;n.lifecycleTask(t.firstBeforeReadStorage,e),n.readSessionStorage(),n.readLocalStorage(),n.lifecycleTask(t.firstAfterReadStorage,e),n.saveSessionStorage(),n.saveLocalStorage()}})),c(this,"failOver",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.memory.lifecycle;n.lifecycleTask(t.failOverBeforeReadStorage,e),n.readSessionStorage(),n.readLocalStorage(),n.lifecycleTask(t.failOverAfterReadStorage,e),n.saveSessionStorage(),n.saveLocalStorage()})),c(this,"lifecycleTask",(function(e,t){e.forEach((function(e){n[e](t)}))})),c(this,"readSessionStorage",(function(){n.memory.sessionStorageKey&&(n.sessionStorageData=JSON.parse((0,i.NV)(sessionStorage.getItem(n.memory.sessionStorageKey)||f)))})),c(this,"saveSessionStorage",(function(){n.memory.sessionStorageKey&&sessionStorage.setItem(n.memory.sessionStorageKey,(0,i.oF)(JSON.stringify(n.sessionStorageData)))})),c(this,"removeSessionStorage",(function(){n.memory.sessionStorageKey&&(n.sessionStorageData={},sessionStorage.removeItem(n.memory.sessionStorageKey))})),c(this,"readLocalStorage",(function(){n.memory.localStorageKey&&(n.localStorageData=JSON.parse((0,i.NV)(localStorage.getItem(n.memory.localStorageKey)||f)))})),c(this,"saveLocalStorage",(function(){n.memory.localStorageKey&&localStorage.setItem(n.memory.localStorageKey,(0,i.oF)(JSON.stringify(n.localStorageData)))})),c(this,"removeLocalStorage",(function(){n.memory.localStorageKey&&localStorage.removeItem(n.memory.localStorageKey)})),c(this,"findValue",(function(e){var t=0,i=null,o=null,a=null;if(void 0!==(o=(0,r.get)(n.sessionStorageData,e))&&(t+=1,i=o,a=h.sessionStorage),void 0!==(o=(0,r.get)(n.localStorageData,e))&&(t+=1,i=o,a=h.localStorage),void 0!==(o=(0,r.get)(n.memory,e))&&(t+=1,i=o,a=h.memory),t>1)throw new Error("there are same name value in different type of storage");return{value:i,type:a}})),c(this,"easyGet",(function(e){return n.findValue(e).value})),c(this,"easyRemove",(function(e){switch(n.findValue(e).type){case h.sessionStorage:(0,r.unset)(n.sessionStorageData,e),n.saveSessionStorage();break;case h.memory:(0,r.unset)(n.memory,e);break;case h.localStorage:(0,r.unset)(n.localStorageData,e),n.saveLocalStorage()}})),c(this,"easySet",(function(e,t,i){var o=n.findValue(e),a=o.value,s=o.type;if(s&&i!==s)throw new Error("set ".concat(i,"->").concat(e," error: there is a value with the same key in type ").concat(s));var u=t;if("function"===typeof t&&(u=t(a)),u===a)return u;switch(i){case h.sessionStorage:return(0,r.set)(n.sessionStorageData,e,u),n.saveSessionStorage(),u;case h.memory:return(0,r.set)(n.memory,e,u),u;case h.localStorage:return(0,r.set)(n.localStorageData,e,u),n.saveLocalStorage(),u;default:return null}})),this.memory={initialed:!1},this.bindMethod(t),this.initStoreData()}))},85527:function(e,t,n){"use strict";n.d(t,{$:function(){return s},EE:function(){return p},Lc:function(){return l},Sf:function(){return c},ZG:function(){return h},bG:function(){return f},hA:function(){return m},pn:function(){return d},qK:function(){return u},rc:function(){return g}});var r=n(61451),i=n(59583),o=function(){return!(0,r.Go)()},a=Object.keys(i.lZ).map((function(e){return i.lZ[e].sessionType}));function s(){this.memory.gcmSessionKey=null,this.memory.currentUserId=null,this.memory.gcmEnabled=!1,this.sessionStorageData.ivState=void 0}function u(){var e=this;if(void 0!==this.sessionStorageData.ivState){var t=Object.keys(this.sessionStorageData.ivState).filter((function(e){return a.indexOf(e)>-1}));0!==t.length&&t.forEach((function(t){e.sessionStorageData.ivState[t]+=1e6}))}else this.sessionStorageData.ivState={}}function c(e){return void 0===this.sessionStorageData.ivState[e]?this.setIv(e,0):this.setIv(e,this.sessionStorageData.ivState[e]+1)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.sessionStorageData.ivState[e]===t?t:(this.sessionStorageData.ivState[e]=t,this.saveSessionStorage(),this.sessionStorageData.ivState[e])}function f(e){return this.sessionStorageData.ivState[e]}function h(e,t,n){this.memory.currentUserId=e,this.memory.gcmSessionKey=(0,r.pu)(t),this.memory.gcmMainSessionKey||(this.memory.gcmMainSessionKey=this.memory.gcmSessionKey),o()||(this.memory.gcmEnabled=n)}function d(){return this.memory.gcmSessionKey}function p(){return this.memory.gcmMainSessionKey}function g(){return this.memory.currentUserId}function m(e){this.memory.gcmMainSessionKey=(0,r.pu)(e)}},70445:function(e,t,n){"use strict";n.d(t,{F:function(){return o},v:function(){return i.v}});var r=n(45238),i=n(28100),o=new i.r(r.TJ);window.easyStore=o},60112:function(e,t,n){"use strict";n.d(t,{$n:function(){return o},Fk:function(){return i},cV:function(){return a}});var r=n(51684);function i(){var e=this.sessionStorageData,t=e.sessionUserName,n=e.originName,i=r.ZP.userName,o=null;!t||n&&n!==i&&t!==i?(o=i,Object.assign(this.memory,{isOldUser:!1,isOldRwgUser:!1})):t&&(o=t,Object.assign(this.memory,{isOldUser:!0,isOldRwgUser:!0})),Object.assign(this.sessionStorageData,{sessionUserName:o,originName:i})}function o(){return this.memory.isOldUser}function a(){var e=this.memory.isOldRwgUser;return this.memory.isOldRwgUser||(this.memory.isOldRwgUser=!0),e}},92438:function(e,t,n){"use strict";n.d(t,{Em:function(){return h},Ji:function(){return E},Kn:function(){return o},Kr:function(){return r},Lq:function(){return c},R:function(){return f},UG:function(){return m},V7:function(){return l},X4:function(){return i},Z0:function(){return y},fm:function(){return v},fu:function(){return s},gn:function(){return _},kM:function(){return u},kh:function(){return a},mQ:function(){return d},yq:function(){return p},zL:function(){return g}});var r={ESC:27,ENTER:13,TAB:9,UP:38,DOWN:40,LEFT:37,RIGHT:39,CANCEL:3,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,BACKSLASH:220,BACKSAPCE:8,DELETE:46},i={VIDEO_ENCODE:"0",VIDEO_DECODE:"1",AUDIO_ENCODE:"2",AUDIO_DECODE:"3",SHARING_ENCODE:"4",SHARING_DECODE:"5"},o={NONE:-1,LIST_ITEM_POLICY:0,LIST_POLICY:1,TAB_POLICY:2,LIST_ITEM_CHILD_NODE_POLICY:3,NORMAL_NODE_POLICY:4,PREV_TRIGGER_POLICY:5,NEXT_TRIGGER_POLICY:6,LIST_CHECKBOX_ITEM_POLICY:7,TAB_TO_FIRST_CHILD_POLICY:8,LIST_TREE_VIEW_POLICY:9,PP_NEXT_CHILD_POLICY:10,LIST_POLICY_2:11,PP_NEXT_CHILD_POLICY_2:12,NORMAL_NODE_POLICY_2:14,UNFOCUS_ORDER_NODE_POLICY:15,QA_CONTENT_LIST_POLICY:102,QA_ANSWER:103,REACTION_ALL_EMOJI_PICKER_NAVBAR_BUTTON_POLICY:201,REACTION_ALL_EMOJI_PICKER_SEARCH_BOX_POLICY:202,REACTION_ALL_EMOJI_PICKER_SKIN_TONE_POLICY:203,REACTION_ALL_EMOJI_PICKER_SKIN_TONE_POP_UP_POLICY:204,REACTION_ALL_EMOJI_PICKER_EMOJI_LIST_CONTAINER_POLICY:205,REACTION_ALL_EMOJI_PICKER_EMOJI_POLICY:206,REACTION_SIMPLE_EMOJI_PICKER_EMOJI_POLICY:207,POLL_GUARD_DEFAULT_TAB:301,POLL_BODY_LIST_ITEM:302,POLL_SINGLE_CHOICE:303,POLL_RANK_ORDER_CHOICE:304,STATISTICS_TAB_POLICY:305,DEFAULT_POLICY:306,BACKGROUND_IMAGE_LIST_POLICY:401,BACKGROUND_IMAGE_ITEM_POLICY:402,RETURN_BACKGROUND_TAB_POLICY:403,SKIN_TONE_LIST_POLICY:404,SETTING_TAB_BAR_LIST_POLICY:405,SETTING_TAB_BAR_NODE_POLICY:406,BO_PARTICIPANTS_ITEM_POLICY:501},a={UNKNOWN:0,WIN:1,MAC:2,PAD:3,MOBILE:4,CALL_IN:5,LINUX:6,WEBCLIENT:7,CHROME:8},s={DEFAULT:0,PATTERN1:1,PATTERN2:2},u={PATTERN1:1},c={PATTERN1:1},l={BLUR:0,FOCUS_OUT:1},f=Object.freeze({CLIENT:9,PHONE:5,H323:15,RSGW:54}),h=Object.freeze({STOP:0,RECORDING:1,PAUSE:2,INIT:3}),d=Object.freeze({NONE:0,INIT:1,START:2,PAUSE:3,STOP:4}),p=Object.freeze({DEFAULT:0,FREE_USER_30MIN_OUT_NOTIFY:1,PAID_MEETING_START:2,JBH_MEETING_START:3,FREE_MEETING_START:4}),g={WIDTH:240,HEIGHT:135},m="ALL",v={NORMAL_CASE:-1,NO_HEARTBEAT:0,NO_HEARTBEAT_M_CHANNEL:1,NETWORK_CHANGE:2,NOTIFY_UI_FAILOVER:3,INVALID_PARAMETERS:4,ON_ERROR:5,ON_ERROR_M_CHANNEL:6,DISCONNECT:7,DISCONNECT_M_CHANNEL:8,DISCONNECT_XMPP:9,REFRESH_PAGE:10,NO_RWG_RESPONSE:11,CONSOLE_CLOSED:12},E={tryRWCError:50001,refreshTokenFailed:50002,noRWGAvailable:50003},_={WEB_SDK:"websdk",WEB_CLIENT:"webclient"},y={SHIFT_KEY:"\u21e7",COMMAND_KEY:"\u2318",MULTIPLY:"\xd7"}},67520:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(45840),i={storeContext:function(){var e=null;return{setContext:function(t){e=(0,r.createContext)(t)},getContext:function(){if(!e)throw Error("Context is not created");return e}}}(),avSocket:null,removeStorageEventListener:null,downloadTask:null,whiteboardSdk:null,wcCTX:function(){return{}}}},94657:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r={}},71222:function(e,t,n){"use strict";n.d(t,{X:function(){return f},l:function(){return h}});var r=n(1641),i=n(92438);function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e){return s="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},s(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function c(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:String(t)}var f={"en-US":{"apac.errorcodes_another_running":"Another meeting running","apac.errorcodes_be_removed":"Be removed.","apac.errorcodes_denied_email":"Email is blocked by Administrator.","apac.errorcodes_panelist_tk":"require tk parameter to join as a panelist","apac.errorcodes_denied_register_with_panelist":"Denied register use panelist email.","apac.errorcodes_disconnect":"Meeting has been disconnected.","apac.errorcodes_email_require":"Email is missing to attend webinar.","apac.errorcodes_fail":"Fail to join the meeting.","apac.errorcodes_frequent_call":"You have reached the API limit for this call.","apac.errorcodes_frequent_join":"You be limit by zoom, need to check recaptcha.","apac.errorcodes_login_required":"Require login","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Unable join from browser, please join using the Zoom desktop client or mobile app.","apac.errorcodes_not_exist":"Meeting does not exist.","apac.errorcodes_not_host":"You are not the meeting host.","apac.errorcodes_not_init":"Meeting not initialized.","apac.errorcodes_not_start":"Meeting has not started","apac.errorcodes_not_start_webinar":"Webinar has not started","apac.errorcodes_offline":"The service is temporarily offline.","apac.errorcodes_pac_api_disabled":"The accounts API Key is deactivated.","apac.errorcodes_pac_api_wrong":"The accounts API Key is not valid.","apac.errorcodes_pac_cant_host_other_mn":"Cannot not host another meeting concurrently.","apac.errorcodes_pac_host_not_found":"The meeting host is not found.","apac.errorcodes_pac_invalid_signature":"Signature is invalid.","apac.errorcodes_pac_mn_not_fount":"The meeting number is not found.","apac.errorcodes_pac_mn_wrong":"The meeting number is wrong.","apac.errorcodes_pac_no_permission":"No permission.","apac.errorcodes_pac_role_error":"Incorrect role.","apac.errorcodes_pac_signature_expired":"The signature has expired.","apac.errorcodes_re_connect":"Meeting is reconnecting.","apac.errorcodes_register":"This meeting requires registration.","apac.errorcodes_rwc_empty":"Could not get a response from the web server.","apac.errorcodes_rwc_error":"Could not connect to Web Server error.","apac.errorcodes_sign_webinar":"Dont' support sign in webinar","apac.errorcodes_success":"Successfully joined the meeting.","apac.errorcodes_tk_expired":"Token has expired.","apac.errorcodes_update":"You cant join, you need update lastest WebSDK version","apac.errorcodes_wasm_fail":"Download wasm files error, please check your network and firewall.","apac.errorcodes_web_has_in_progress":"Already has other meetings in progress.","apac.errorcodes_web_host_not_exit":"The meeting host does not exist.","apac.errorcodes_web_invalid_id":"Invalid meeting ID.","apac.errorcodes_web_not_allow_start_webinar_from_web":"Not allow to start webinar from web.","apac.errorcodes_web_not_support_registration_webinar":"Not support registration webinar","apac.errorcodes_web_not_support_tsp":"Not support start or join meeting from web, when you chose TSP as his audio in a meeting.","apac.errorcodes_web_not_support_webclient":"Not support start or join meeting from web.","apac.errorcodes_web_not_support_webinar_pac":"Not support webinar and personal audio conference","apac.errorcodes_web_require_email":"User email is required.","apac.errorcodes_web_should_support_webinar_with_latest_version":"The current sdk version doesn't support webinar, please upgrade to the latest version.","apac.errorcodes_meeting_websdk_version_need_update":"The current sdk version is no longer supported, please upgrade to the latest version.","apac.errorcodes_wrong_pass":"Meeting Passcode wrong.","apac.rmc.assistant_exist_warning":"You cannot control the meeting because another assistant is controlling this meeting.","apac.websdk_enforce_update_content":"Your app version needs to be {0} or higher to join this meeting. Please update to continue.","apac.invalid_parameter":"Invalid parameter","apac.errorcodes_host_inactive":"Meeting host is inactive.","apac.errorcodes_pac_not_allow_assistant":"Assistant join meeting been disabled","apac.errorcodes_participant_exist":"Participant exist","apac.errorcodes_reject_barriers":"Reject for information barriers","apac.dialog.meeting_capacity_reached":"Meeting capacity has been reached","apac.dialog.meeting_locked":"The meeting has been locked","apac.dialog.meeting_ended":"The meeting has been ended","apac.websdk_update_content":"Update MeetingSDK-Web to the latest version to optimize meeting experience","apac.errorcodes_need_token":"Join fail because you email no token","apac.dialog.server_error":"The server encountered an internal error and was unable to process your request.","apac.errorcodes_zak":"Token error","apac.errorcodes_zak2":"Token error","apac.errorcodes_host_email":"Please use host/alternative host to start the webinar.","apac.wc_cannot_join_content":"Your admin has restricted communication between certain groups and users.","apac.wc_cannot_join_content2":"You've already joined this meeting on another device.","apac.wc_cannot_join_title":"Unable to join this meeting","apac.errorcodes_not_allow_cross_join":"To join a meeting hosted by an external Zoom account, your SDK app has to be published on Zoom Marketplace. You can refer to Section 6.1 of Zoom's API License Terms of Use","apac.errorcodes_no_response_from_web":"No response from web, try again later."},"de-DE":{"apac.errorcodes_web_has_in_progress":"Hat bereits andere laufende Meetings.","apac.errorcodes_web_require_email":"E-Mail-Adresse von Benutzer erforderlich.","apac.errorcodes_web_not_support_webinar_pac":"Unterst\xfctzen Webinar und pers\xf6nliche Audiokonferenz nicht","apac.errorcodes_web_host_not_exit":"Der Meeting-Host ist nicht vorhanden.","apac.errorcodes_web_not_support_webclient":"Start nicht unterst\xfctzt bzw. starten Sie das Meeting aus dem Web.","apac.errorcodes_web_should_support_webinar_with_latest_version":"Ihre aktuelle SDK-Version unterst\xfctzt keine Webinare. Aktualisieren Sie bitte auf die neueste Version.","apac.errorcodes_web_invalid_id":"Ung\xfcltige Meeting-ID.","apac.errorcodes_web_not_support_registration_webinar":"Registrierung f\xfcr Webinar wird nicht unterst\xfctzt","apac.errorcodes_web_not_support_tsp":"Sie unterst\xfctzen nicht den Start oder die Teilnahme an einem Meeting aus dem Web, wenn Sie den Telefonieanbieter als seinen Audiobeitrag in einem Meeting gew\xe4hlt haben.","apac.errorcodes_web_not_allow_start_webinar_from_web":"Das Starten eines Webinars vom Internet aus ist nicht zul\xe4ssig.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Unf\xe4hig beitreten aus Browser, verbinden Sie bitte den Zoom-Desktop-Client oder mobile App.","apac.errorcodes_meeting_websdk_version_need_update":"Ihre aktuelle SDK-Version wird nicht mehr unterst\xfctzt. Aktualisieren Sie bitte auf die neueste Version."},"es-ES":{"apac.errorcodes_web_has_in_progress":"Ya posee otras reuniones en curso.","apac.errorcodes_web_require_email":"Se requiere correo electr\xf3nico del usuario.","apac.errorcodes_web_not_support_webinar_pac":"No soporta seminario web o conferencia de audio personal","apac.errorcodes_web_host_not_exit":"El anfitri\xf3n de la reuni\xf3n no existe.","apac.errorcodes_web_not_support_webclient":"No se puede iniciar ni entrar a una reuni\xf3n desde la web.","apac.errorcodes_web_should_support_webinar_with_latest_version":"La versi\xf3n actual de sdk no es compatible con el seminario web, actualice a la \xfaltima versi\xf3n.","apac.errorcodes_web_invalid_id":"ID de reuni\xf3n no v\xe1lida.","apac.errorcodes_web_not_support_registration_webinar":"Seminario web que no es compatible con la inscripci\xf3n","apac.errorcodes_web_not_support_tsp":"Cuando eligi\xf3 el proveedor de servicios telef\xf3nicos como audio en una reuni\xf3n, no se puede iniciar o unirse una reuni\xf3n desde el sitio web.","apac.errorcodes_web_not_allow_start_webinar_from_web":"No se permite comenzar un seminario web desde la web.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"No puede unirse desde el navegador, por favor unirse usando el cliente de escritorio Zoom o aplicaci\xf3n m\xf3vil.","apac.errorcodes_meeting_websdk_version_need_update":"La versi\xf3n actual de sdk ya no es compatible actualice a la versi\xf3n m\xe1s reciente."},"fr-FR":{"apac.errorcodes_web_has_in_progress":"Il a d\xe9j\xe0 d\u2019autres r\xe9unions en cours.","apac.errorcodes_web_require_email":"Le courriel de l\u2019utilisateur est requis.","apac.errorcodes_web_not_support_webinar_pac":"Ne prend pas en charge le webinaire ni la conf\xe9rence audio personnelle","apac.errorcodes_web_host_not_exit":"L\u2019animateur de la r\xe9union n\u2019existe pas.","apac.errorcodes_web_not_support_webclient":"Ne supporte pas d\xe9marrer ou rejoindre une r\xe9union \xe0 partir du web.","apac.errorcodes_web_should_support_webinar_with_latest_version":"La version actuelle du SDK ne prend pas en charge le webinaire, veuillez passer \xe0 la derni\xe8re version.","apac.errorcodes_web_invalid_id":"N\xba de r\xe9union non valide.","apac.errorcodes_web_not_support_registration_webinar":"Ne prend pas en charge le webinaire d\u2019inscription","apac.errorcodes_web_not_support_tsp":"Ne peut pas d\xe9marrer ou rejoindre la r\xe9union depuis Internet, lorsque vous s\xe9lectionnez le fournisseur de service en t\xe9l\xe9phonie comma sa sortie audio dans une r\xe9union.","apac.errorcodes_web_not_allow_start_webinar_from_web":"Ne pas permettre de d\xe9marrer des webinaires \xe0 partir du Web.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Impossible de rejoindre le navigateur, s'il vous pla\xeet rejoindre en utilisant le client de bureau Zoom ou une application mobile.","apac.errorcodes_meeting_websdk_version_need_update":"La version actuelle du SDK n\u2019est plus prise en charge, veuillez passer \xe0 la derni\xe8re version."},"jp-JP":{"apac.errorcodes_web_has_in_progress":"\u3059\u3067\u306b\u4ed6\u306e\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u304c\u59cb\u307e\u3063\u3066\u3044\u307e\u3059\u3002","apac.errorcodes_web_require_email":"\u30e6\u30fc\u30b6\u30fc\u30e1\u30fc\u30eb\u306f\u5fc5\u8981\u3067\u3059\u3002","apac.errorcodes_web_not_support_webinar_pac":"\u30a6\u30a7\u30d3\u30ca\u30fc\u3068\u30d1\u30fc\u30bd\u30ca\u30eb\u97f3\u58f0\u4f1a\u8b70\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093","apac.errorcodes_web_host_not_exit":"\u3053\u306e\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u30db\u30b9\u30c8\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002","apac.errorcodes_web_not_support_webclient":"\u30a6\u30a7\u30d6\u304b\u3089\u306e\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u958b\u59cb/\u53c2\u52a0\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093\u3002","apac.errorcodes_web_should_support_webinar_with_latest_version":"\u73fe\u5728\u306eSDK\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30a6\u30a7\u30d3\u30ca\u30fc\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002","apac.errorcodes_web_invalid_id":"\u7121\u52b9\u306a\u30df\u30fc\u30c6\u30a3\u30f3\u30b0ID\u3067\u3059\u3002","apac.errorcodes_web_not_support_registration_webinar":"\u767b\u9332\u30a6\u30a7\u30d3\u30ca\u30fc\u975e\u5bfe\u5fdc","apac.errorcodes_web_not_support_tsp":"\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u30aa\u30fc\u30c7\u30a3\u30aa\u306b\u30c6\u30ec\u30d5\u30a9\u30cb\u30fc\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u3092\u9078\u629e\u3057\u305f\u5834\u5408\u3001\u30a6\u30a7\u30d6\u304b\u3089\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u958b\u59cb\u3057\u305f\u308a\u3001\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u53c2\u52a0\u3057\u305f\u308a\u3067\u304d\u307e\u305b\u3093\u3002","apac.errorcodes_web_not_allow_start_webinar_from_web":"\u30a6\u30a7\u30d3\u30ca\u30fc\u3092\u30a6\u30a7\u30d6\u304b\u3089\u958b\u59cb\u3067\u304d\u307e\u305b\u3093\u3002","apac.errorcodes_need_use_zoom_desktop_or_mobile":"\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u53c2\u52a0\u3057\u3001\u30ba\u30fc\u30e0\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3084\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u3092\u4f7f\u7528\u3057\u3066\u53c2\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002","apac.errorcodes_meeting_websdk_version_need_update":"\u73fe\u5728\u306e SDK \u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002"},"pt-PT":{"apac.errorcodes_web_has_in_progress":"J\xe1 h\xe1 outras reuni\xf5es em andamento.","apac.errorcodes_web_require_email":"O e-mail do usu\xe1rio \xe9 obrigat\xf3rio.","apac.errorcodes_web_not_support_webinar_pac":"N\xe3o h\xe1 suporte para webinar e audioconfer\xeancia pessoal","apac.errorcodes_web_host_not_exit":"O anfitri\xe3o da reuni\xe3o n\xe3o existe.","apac.errorcodes_web_not_support_webclient":"N\xe3o h\xe1 suporte para iniciar ou entrar na reuni\xe3o pela web.","apac.errorcodes_web_should_support_webinar_with_latest_version":"A vers\xe3o sdk atual n\xe3o oferece suporte para webinar. Atualize para a vers\xe3o mais recente.","apac.errorcodes_web_invalid_id":"ID da reuni\xe3o inv\xe1lido.","apac.errorcodes_web_not_support_registration_webinar":"O registro do webinar n\xe3o \xe9 compat\xedvel","apac.errorcodes_web_not_support_tsp":"N\xe3o \xe9 compat\xedvel iniciar ou ingressar na reuni\xe3o pela web ao escolher o \xe1udio do provedor de servi\xe7os de telefonia em uma reuni\xe3o.","apac.errorcodes_web_not_allow_start_webinar_from_web":"N\xe3o \xe9 permitido iniciar o webinar na web.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Incapaz juntar-se a partir do navegador, por favor, junte-se usando o cliente de desktop Zoom ou aplicativo m\xf3vel.","apac.errorcodes_meeting_websdk_version_need_update":"O servi\xe7o de valida\xe7\xe3o de n\xfamero ABN est\xe1 temporariamente indispon\xedvel."},"ru-RU":{"apac.errorcodes_web_has_in_progress":"\u0423\u0436\u0435 \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u0445.","apac.errorcodes_web_require_email":"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0447\u0442\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.","apac.errorcodes_web_not_support_webinar_pac":"\u041d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0435\u0431-\u0441\u0435\u043c\u0438\u043d\u0430\u0440 \u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u0443\u044e \u0430\u0443\u0434\u0438\u043e\u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044e","apac.errorcodes_web_host_not_exit":"\u041e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.","apac.errorcodes_web_not_support_webclient":"\u0417\u0430\u043f\u0443\u0441\u043a \u0438\u043b\u0438 \u0432\u0445\u043e\u0434 \u0432 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044e \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0442\u044c \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f.","apac.errorcodes_web_should_support_webinar_with_latest_version":"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430 SDK \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u044b. \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438.","apac.errorcodes_web_invalid_id":"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438.","apac.errorcodes_web_not_support_registration_webinar":"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043d\u0430 \u0432\u0435\u0431\u0438\u043d\u0430\u0440 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f","apac.errorcodes_web_not_support_tsp":"\u0415\u0441\u043b\u0438 \u0434\u043b\u044f \u0430\u0443\u0434\u0438\u043e\u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0449\u0438\u043a \u0441\u043b\u0443\u0436\u0431\u044b \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0438\u0438, \u0442\u0430\u043a\u0443\u044e \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044e \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0447\u0430\u0442\u044c \u0438\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440.","apac.errorcodes_web_not_allow_start_webinar_from_web":"\u0417\u0430\u043f\u0443\u0441\u043a \u0432\u0435\u0431-\u0441\u0435\u043c\u0438\u043d\u0430\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435\u0441\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0438\u043b\u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.","apac.errorcodes_meeting_websdk_version_need_update":"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430 SDK \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438."},"zh-CN":{"apac.errorcodes_web_has_in_progress":"\u5df2\u7ecf\u6709\u53e6\u4e00\u573a\u4f1a\u8bae\u6b63\u5728\u8fdb\u884c\u3002","apac.errorcodes_web_require_email":"\u5fc5\u987b\u63d0\u4f9b\u7528\u6237\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002","apac.errorcodes_web_not_support_webinar_pac":"\u975e\u652f\u6301\u7684\u7f51\u7edc\u7814\u8ba8\u4f1a\u548c\u4e2a\u4eba\u97f3\u9891\u4f1a\u8bae","apac.errorcodes_web_host_not_exit":"\u4f1a\u8bae\u4e3b\u6301\u4eba\u4e0d\u5b58\u5728\u3002","apac.errorcodes_web_not_support_webclient":"\u4e0d\u652f\u6301\u4ece Web \u5f00\u59cb\u6216\u52a0\u5165\u4f1a\u8bae\u3002","apac.errorcodes_web_should_support_webinar_with_latest_version":"\u5f53\u524d sdk \u7248\u672c\u4e0d\u652f\u6301\u7f51\u7edc\u7814\u8ba8\u4f1a\uff0c\u8bf7\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\u3002","apac.errorcodes_web_invalid_id":"\u65e0\u6548\u7684\u4f1a\u8baeID\u3002","apac.errorcodes_web_not_support_registration_webinar":"\u4e0d\u652f\u6301\u6ce8\u518c\u7f51\u7edc\u7814\u8ba8\u4f1a","apac.errorcodes_web_not_support_tsp":"\u5982\u679c\u9009\u62e9\u7535\u8bdd\u8bed\u97f3\u670d\u52a1\u63d0\u4f9b\u5546\u4f5c\u4e3a\u4f1a\u8bae\u97f3\u9891\uff0c\u5219\u4e0d\u652f\u6301\u901a\u8fc7\u7f51\u7edc\u5f00\u59cb\u6216\u52a0\u5165\u4f1a\u8bae\u3002","apac.errorcodes_web_not_allow_start_webinar_from_web":"\u4e0d\u5141\u8bb8\u901a\u8fc7\u7f51\u7edc\u5f00\u59cb\u7f51\u7edc\u7814\u8ba8\u4f1a","apac.errorcodes_need_use_zoom_desktop_or_mobile":"\u4ece\u6d4f\u89c8\u5668\u65e0\u6cd5\u52a0\u5165\uff0c\u8bf7\u52a0\u5165\u4f7f\u7528\u7f29\u653e\u684c\u9762\u5ba2\u6237\u7aef\u6216\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u3002","apac.errorcodes_meeting_websdk_version_need_update":"\u5f53\u524dSDK\u7248\u672c\u4e0d\u518d\u53d7\u5230\u652f\u6301\uff0c\u8bf7\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\u3002"},"zh-TW":{"apac.errorcodes_web_has_in_progress":"\u5df2\u6709\u5176\u4ed6\u6703\u8b70\u6b63\u5728\u9032\u884c\u4e2d\u3002","apac.errorcodes_web_require_email":"\u5fc5\u9808\u63d0\u4f9b\u4f7f\u7528\u8005\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002","apac.errorcodes_web_not_support_webinar_pac":"\u4e0d\u652f\u63f4\u7db2\u8def\u7814\u8a0e\u6703\u548c\u500b\u4eba\u97f3\u8a0a\u6703\u8b70","apac.errorcodes_web_host_not_exit":"\u6703\u8b70\u4e3b\u6301\u4eba\u4e0d\u5b58\u5728\u3002","apac.errorcodes_web_not_support_webclient":"\u4e0d\u652f\u63f4\u5f9e Web \u958b\u59cb\u6216\u52a0\u5165\u6703\u8b70\u3002","apac.errorcodes_web_should_support_webinar_with_latest_version":"\u76ee\u524d\u7684 SDK \u7248\u672c\u4e0d\u652f\u63f4\u7db2\u8def\u7814\u8a0e\u6703\uff0c\u8acb\u5347\u7d1a\u81f3\u6700\u65b0\u7248\u672c\u3002","apac.errorcodes_web_invalid_id":"\u7121\u6548\u7684\u6703\u8b70 ID \u3002","apac.errorcodes_web_not_support_registration_webinar":"\u4e0d\u652f\u63f4\u8a3b\u518a\u7db2\u8def\u7814\u8a0e\u6703","apac.errorcodes_web_not_support_tsp":"\u7576\u60a8\u9078\u64c7\u96fb\u8a71\u8a9e\u97f3\u670d\u52d9\u4f9b\u61c9\u5546\u505a\u70ba\u6703\u8b70\u8a9e\u97f3\u4f7f\u7528\u6642\uff0c\u4e0d\u652f\u63f4\u7d93\u7531\u7db2\u9801\u53ec\u958b\u6216\u52a0\u5165\u6703\u8b70\u3002","apac.errorcodes_web_not_allow_start_webinar_from_web":"\u4e0d\u5141\u8a31\u5f9e Web \u958b\u59cb\u7db2\u8def\u7814\u8a0e\u6703\u3002","apac.errorcodes_need_use_zoom_desktop_or_mobile":"\u5f9e\u700f\u89bd\u5668\u7121\u6cd5\u52a0\u5165\uff0c\u8acb\u52a0\u5165\u4f7f\u7528\u7e2e\u653e\u684c\u9762\u5ba2\u6236\u7aef\u6216\u79fb\u52d5\u61c9\u7528\u7a0b\u5e8f\u3002","apac.errorcodes_meeting_websdk_version_need_update":"\u76ee\u524d\u7684SDK\u7248\u672c\u5df2\u4e0d\u518d\u53d7\u5230\u652f\u63f4\uff0c\u8acb\u5347\u7d1a\u81f3\u6700\u65b0\u7248\u672c\u3002"},"ko-KO":{"apac.errorcodes_web_has_in_progress":"\uc774\ubbf8 \ub2e4\ub978 \ud68c\uc758\uac00 \uc9c4\ud589 \uc911\uc785\ub2c8\ub2e4.","apac.errorcodes_web_require_email":"\uc0ac\uc6a9\uc790 \uc774\uba54\uc77c\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.","apac.errorcodes_web_not_support_webinar_pac":"\uc6e8\ube44\ub098 \ubc0f \uac1c\uc778 \uc624\ub514\uc624 \uc804\ud654 \ud68c\uc758\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc74c","apac.errorcodes_web_host_not_exit":"\ud68c\uc758 \ud638\uc2a4\ud2b8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4.","apac.errorcodes_web_not_support_webclient":"\uc6f9\uc5d0\uc11c \ud68c\uc758\ub97c \uc2dc\uc791\ud558\uac70\ub098 \ucc38\uc5ec\ud558\ub294 \uac83\uc740 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.","apac.errorcodes_web_should_support_webinar_with_latest_version":"\ud604\uc7ac SDK \ubc84\uc804\uc740 \uc6e8\ube44\ub098\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ucd5c\uc2e0 \ubc84\uc804\uc73c\ub85c \uc5c5\uadf8\ub808\uc774\ub4dc\ud558\uc2ed\uc2dc\uc624.","apac.errorcodes_web_invalid_id":"\ud68c\uc758 ID\uac00 \uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4.","apac.errorcodes_web_not_support_registration_webinar":"\ub4f1\ub85d \uc6e8\ube44\ub098\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc74c","apac.errorcodes_web_not_support_tsp":"\ud68c\uc758\uc5d0\uc11c Telephony Service Provider\ub97c \uc624\ub514\uc624\ub85c \uc120\ud0dd\ud55c \uacbd\uc6b0 \uc6f9\uc5d0\uc11c \ud68c\uc758\ub97c \uc2dc\uc791\ud558\uac70\ub098 \ud68c\uc758\uc5d0 \ucc38\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.","apac.errorcodes_web_not_allow_start_webinar_from_web":"\uc6f9\uc5d0\uc11c \uc6e8\ube44\ub098\ub97c \uc2dc\uc791\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"\uc218 \uc5c6\uc2b5\ub2c8\ub2e4 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c \uc870\uc778 \uc90c \ub370\uc2a4\ud06c\ud1b1 \ud074\ub77c\uc774\uc5b8\ud2b8 \ub610\ub294 \ubaa8\ubc14\uc77c \uc571\uc744 \uc0ac\uc6a9\ud558\uc5ec \uac00\uc785\ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.","apac.errorcodes_meeting_websdk_version_need_update":"\ud604\uc7ac SDK \ubc84\uc804\uc740 \ub354 \uc774\uc0c1 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ucd5c\uc2e0 \ubc84\uc804\uc73c\ub85c \uc5c5\uadf8\ub808\uc774\ub4dc\ud558\uc2ed\uc2dc\uc624."},"vi-VN":{"apac.errorcodes_web_has_in_progress":"\u0110\xe3 c\xf3 cu\u1ed9c h\u1ecdp kh\xe1c \u0111ang di\u1ec5n ra.","apac.errorcodes_web_require_email":"Email ng\u01b0\u1eddi d\xf9ng l\xe0 b\u1eaft bu\u1ed9c.","apac.errorcodes_web_not_support_webinar_pac":"Kh\xf4ng h\u1ed7 tr\u1ee3 h\u1ed9i th\u1ea3ovideo v\xe0 h\u1ed9i ngh\u1ecb \xe2m thanh c\xe1 nh\xe2n","apac.errorcodes_web_host_not_exit":"Ng\u01b0\u1eddi ch\u1ee7 tr\xec cu\u1ed9c h\u1ecdp kh\xf4ng t\u1ed3n t\u1ea1i.","apac.errorcodes_web_not_support_webclient":"Kh\xf4ng h\u1ed7 tr\u1ee3 b\u1eaft \u0111\u1ea7u ho\u1eb7c v\xe0o cu\u1ed9c h\u1ecdp t\u1eeb web.","apac.errorcodes_web_should_support_webinar_with_latest_version":"Phi\xean b\u1ea3n sdk hi\u1ec7n t\u1ea1i kh\xf4ng h\u1ed7 tr\u1ee3 h\u1ed9i th\u1ea3o tr\u1ef1c tuy\u1ebfn, h\xe3y n\xe2ng c\u1ea5p l\xean phi\xean b\u1ea3n m\u1edbi nh\u1ea5t.","apac.errorcodes_web_invalid_id":"ID cu\u1ed9c h\u1ecdp kh\xf4ng h\u1ee3p l\u1ec7.","apac.errorcodes_web_not_support_registration_webinar":"Kh\xf4ng h\u1ed7 tr\u1ee3 \u0111\u0103ng k\xfd h\u1ed9i th\u1ea3o tr\u1ef1c tuy\u1ebfn","apac.errorcodes_web_not_support_tsp":"Kh\xf4ng h\u1ed7 tr\u1ee3 b\u1eaft \u0111\u1ea7u ho\u1eb7c v\xe0o cu\u1ed9c h\u1ecdp t\u1eeb web, khi b\u1ea1n ch\u1ecdn Nh\xe0 cung c\u1ea5p d\u1ecbch v\u1ee5 \u0111i\u1ec7n tho\u1ea1i l\xe0m ngu\u1ed3n \xe2m thanh trong cu\u1ed9c h\u1ecdp.","apac.errorcodes_web_not_allow_start_webinar_from_web":"Kh\xf4ng cho ph\xe9p b\u1eaft \u0111\u1ea7u h\u1ed9i th\u1ea3o tr\u1ef1c tuy\u1ebfn t\u1eeb web.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Kh\xf4ng th\u1ec3 tham gia t\u1eeb tr\xecnh duy\u1ec7t, h\xe3y tham gia b\u1eb1ng c\xe1ch s\u1eed d\u1ee5ng client desktop Ph\xf3ng to ho\u1eb7c \u1ee9ng d\u1ee5ng di \u0111\u1ed9ng.","apac.errorcodes_meeting_websdk_version_need_update":"Phi\xean b\u1ea3n sdk hi\u1ec7n t\u1ea1i kh\xf4ng c\xf2n \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3, vui l\xf2ng n\xe2ng c\u1ea5p l\xean phi\xean b\u1ea3n m\u1edbi nh\u1ea5t."},"it-IT":{"apac.errorcodes_web_has_in_progress":"Sta partecipando a un\u2019altra riunione in corso.","apac.errorcodes_web_require_email":"\xc8 richiesta l\u2019email dell\u2019utente.","apac.errorcodes_web_not_support_webinar_pac":"Non supporta webinar e conferenza audio personale","apac.errorcodes_web_host_not_exit":"L\u2019ospite della riunione non esiste.","apac.errorcodes_web_not_support_webclient":"Non supporta l\u2019avvio o la partecipazione alla riunione dal Web.","apac.errorcodes_web_should_support_webinar_with_latest_version":"La versione sdk corrente non supporta i webinar. Effettua l\u2019aggiornamento alla versione pi\xf9 recente.","apac.errorcodes_web_invalid_id":"ID riunione non valido.","apac.errorcodes_web_not_support_registration_webinar":"Non supporta webinar con iscrizione","apac.errorcodes_web_not_support_tsp":"In caso che hai selezionato il fornitore di servizio telefonico come l\u2019audio in riunione, non supporta l\u2019avvio o la partecipazione alla riunione dal Web.","apac.errorcodes_web_not_allow_start_webinar_from_web":"Non \xe8 consentito avviare il webinar dal Web.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Impossibile unirsi dal browser, si prega di unirsi con il client desktop Zoom o app mobile.","apac.errorcodes_meeting_websdk_version_need_update":"La versione sdk corrente non \xe8 pi\xf9 supportata. Aggiorna alla versione pi\xf9 recente."},"id-ID":{"apac.errorcodes_web_has_in_progress":"Sudah mengadakan pertemuan lain.","apac.errorcodes_web_require_email":"Email pengguna diperlukan.","apac.errorcodes_web_not_support_webinar_pac":"Tidak mendukung konferensi webinar dan audio pribadi","apac.errorcodes_web_host_not_exit":"Tuan rumah pertemuan tidak ada.","apac.errorcodes_web_not_support_webclient":"Tidak mendukung mulai atau bergabung dengan rapat dari web.","apac.errorcodes_web_should_support_webinar_with_latest_version":"Versi SDK saat ini tidak mendukung webinar, silakan tingkatkan ke versi terbaru.","apac.errorcodes_web_invalid_id":"ID pertemuan tidak valid.","apac.errorcodes_web_not_support_registration_webinar":"Tidak mendukung webinar pendaftaran","apac.errorcodes_web_not_support_tsp":"Tidak mendukung mulai atau bergabung dengan rapat dari web, saat Anda memilih TSP sebagai audionya dalam rapat.","apac.errorcodes_web_not_allow_start_webinar_from_web":"Tidak mengizinkan untuk memulai webinar dari web.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Tidak dapat bergabung dari browser, silakan bergabung menggunakan klien zoom desktop atau aplikasi seluler.","apac.errorcodes_meeting_websdk_version_need_update":"Versi sdk saat ini tidak lagi didukung. Tingkatkan ke versi terbaru."},"nl-NL":{"apac.errorcodes_web_has_in_progress":"Heeft al andere vergaderingen in uitvoering.","apac.errorcodes_web_require_email":"E -mail van gebruikers is vereist.","apac.errorcodes_web_not_support_webinar_pac":"Ondersteun niet webinar en persoonlijke audioconferentie","apac.errorcodes_web_host_not_exit":"De vergadergastheer bestaat niet.","apac.errorcodes_web_not_support_webclient":"Ondersteuning niet starten of deelnemen aan de vergadering van Web.","apac.errorcodes_web_should_support_webinar_with_latest_version":"De huidige SDK -versie ondersteunt Webinar niet, upgrade naar de nieuwste versie.","apac.errorcodes_web_invalid_id":"Ongeldige vergadering -ID.","apac.errorcodes_web_not_support_registration_webinar":"Ondersteun geen registratie -webinar","apac.errorcodes_web_not_support_tsp":"Start niet of deel aan de vergadering van Web, wanneer u TSP koos als zijn audio tijdens een vergadering.","apac.errorcodes_web_not_allow_start_webinar_from_web":"Niet toestaan \u200b\u200bom webinar te starten vanaf het web.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Niet in staat om mee te doen vanuit de browser, doe mee met behulp van de Zoom Desktop -client of mobiele app.","apac.errorcodes_meeting_websdk_version_need_update":"De huidige SDK-versie wordt niet langer ondersteund. Voer een upgrade uit naar de nieuwste versie."},"tr-TR":{"apac.errorcodes_web_has_in_progress":"Zaten devam eden ba\u015fka toplant\u0131lara sahip.","apac.errorcodes_web_require_email":"Kullan\u0131c\u0131 e-postas\u0131 gereklidir.","apac.errorcodes_web_not_support_webinar_pac":"Web'in ve ki\u015fisel ses konferans\u0131n\u0131 desteklememek","apac.errorcodes_web_host_not_exit":"Toplant\u0131 ana bilgisayar mevcut de\u011fil.","apac.errorcodes_web_not_support_webclient":"Desteklemeyi denememek veya web'den toplant\u0131ya kat\u0131l\u0131n.","apac.errorcodes_web_should_support_webinar_with_latest_version":"Mevcut SDK s\xfcr\xfcm\xfc WebInar'\u0131 desteklemiyor, l\xfctfen en son s\xfcr\xfcme y\xfckseltin.","apac.errorcodes_web_invalid_id":"Ge\xe7ersiz Toplant\u0131 Kimli\u011fi.","apac.errorcodes_web_not_support_registration_webinar":"Kay\u0131t web seminerini desteklememek","apac.errorcodes_web_not_support_tsp":"TSP'yi bir toplant\u0131da ses olarak se\xe7ti\u011finizde, web'den toplant\u0131y\u0131 ba\u015flatmay\u0131n veya kat\u0131lmay\u0131n.","apac.errorcodes_web_not_allow_start_webinar_from_web":"Web'in web'den ba\u015flamas\u0131na izin vermeyin.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Taray\u0131c\u0131dan kat\u0131lam\u0131yorsan\u0131z, l\xfctfen Zoom Masa\xfcst\xfc \u0130stemcisi veya Mobil Uygulamay\u0131 kullanarak kat\u0131l\u0131n.","apac.errorcodes_meeting_websdk_version_need_update":"Mevcut sdk s\xfcr\xfcm\xfc art\u0131k desteklenmiyor, l\xfctfen en son s\xfcr\xfcme y\xfckseltin."},"pl-PL":{"apac.errorcodes_web_has_in_progress":"Ma ju\u017c inne spotkania.","apac.errorcodes_web_require_email":"Wymagany jest e-mail u\u017cytkownika.","apac.errorcodes_web_not_support_webinar_pac":"Nie obs\u0142uguje seminarium i osobistej konferencji audio","apac.errorcodes_web_host_not_exit":"Gospodarz spotkania nie istnieje.","apac.errorcodes_web_not_support_webclient":"Nie obs\u0142uguje uruchomienia ani do\u0142\u0105czania do spotkania z sieci.","apac.errorcodes_web_should_support_webinar_with_latest_version":"Aktualna wersja SDK nie obs\u0142uguje webinarium, prosz\u0119 uaktualni\u0107 do najnowszej wersji.","apac.errorcodes_web_invalid_id":"Nieprawid\u0142owy identyfikator spotkania.","apac.errorcodes_web_not_support_registration_webinar":"Nie wspieraj rejestracji webinarium internetowego","apac.errorcodes_web_not_support_tsp":"Nie obs\u0142uguje uruchomienia ani do\u0142\u0105czania do spotkania z Internetu, gdy wybra\u0142e\u015b TSP jako jego audio na spotkaniu.","apac.errorcodes_web_not_allow_start_webinar_from_web":"Nie pozw\xf3l, aby rozpocz\u0105\u0107 sie\u0107 webinarn\u0105 od sieci.","apac.errorcodes_need_use_zoom_desktop_or_mobile":"Nie mo\u017cna do\u0142\u0105czy\u0107 z przegl\u0105darki, do\u0142\u0105cz do Klienta Klient Desktop lub Mobile App.","apac.errorcodes_meeting_websdk_version_need_update":"Bie\u017c\u0105ca wersja sdk nie jest ju\u017c obs\u0142ugiwana; uaktualnij do najnowszej wersji."}},h=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,"dict",{}),c(this,"currentLang",""),c(this,"userLangs",{}),c(this,"supportLangArray",["de-DE","es-ES","en-US","fr-FR","jp-JP","pt-PT","ru-RU","zh-CN","zh-TW","ko-KO","vi-VN","it-IT","pl-PL","tr-TR","id-ID","nl-NL"]),c(this,"loadAll",(function(){})),c(this,"getSupportLanguage",(function(){return n.supportLangArray})),c(this,"setSupportLanguage",(function(){console.warn("3.0.0 you can remove this api")})),c(this,"getCurrentLangList",(function(){return Object.keys(n.userLangs)})),c(this,"getLangJson",(function(e,t){return new Promise((function(r,i){var o;o=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest;var a=n;o.onreadystatechange=function(){if(4===this.readyState&&200===this.status)try{var n=JSON.parse(this.responseText);a.userLangs[t]=Object.assign({},a.userLangs[t],n),this.dict=n,r(n)}catch(o){console.warn("This link isn't a correct json file, load error, please check again,",e),i(o)}},o.open("GET",e,!0),o.send()}))})),c(this,"load",(function(e,t){var o="en-US";return e&&!t&&"string"===typeof e?o=e:t&&"string"===typeof t&&(o=t),n.currentLang=o,new Promise((function(t){if(e&&"object"===s(e))n.dict=e;else if("websdk"===i.gn.WEB_SDK){if(n.userLangs[o])return n.dict=n.userLangs[o],void t(n.userLangs[o]);var a=(0,r.y8)(),u="".concat(a,"/").concat(o,".json");n.getLangJson(u,o).then((function(e){n.dict=e,t(e)}))}}))})),c(this,"reload",(function(){console.warn("3.0.0 you can remove this api")})),c(this,"getCurrentLang",(function(){return n.currentLang})),c(this,"setCurrentLang",(function(){console.warn("3.0.0 you can remove this api")})),c(this,"get",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=t[0],a=t.slice(1),s=n.print,u=n.dict,c="";return u&&u.hasOwnProperty(i)&&(c=n.dict[i]),1===t.length?c:s.apply(void 0,[c].concat(o(a)))})),c(this,"print",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1];if(t.length<2)return r;var o=Array.isArray(i)?i:t.slice(1);return r.replace(/\{(\d+)\}/g,(function(e,t){return void 0!==o[t]?o[t]:e}))})),"websdk"!==i.gn.WEB_SDK&&this.load(t)}var t,n;return t=e,n=[{key:"printf",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(arguments.length<2)return e;var i=Array.isArray(n)?n:sliceFunc.call(n,1);return e.replace(/\{(\d+)\}/g,(function(e,t){return void 0!==i[parseInt(t,10)]?i[parseInt(t,10)]:e}))}},{key:"getAll",value:function(e){return e in this.userLangs?this.userLangs[e]:{}}}],n&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},88739:function(e,t,n){"use strict";n.d(t,{Ng:function(){return y},Pd:function(){return D},iZ:function(){return _},pP:function(){return S}});var r=n(81996),i=n(87094),o=n(7614),a=n(61451),s=n(81390);function u(e){return u="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},u(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(){return Boolean(r.j9.log)},d=function(e,t){return[e,t].flatMap((function(e){return e})).map((function(e){return"function"===typeof e?e():e})).filter((function(e){return Boolean(e)}))},p=function(e,t,n){var i,o;return null!==(i=null===(o=(0,r.LI)())||void 0===o||null===(o=o.logLevel)||void 0===o?void 0:o.log)&&void 0!==i&&i&&h()?r.j9.logWithEncryption(e,d(t,n)):Promise.resolve()},g=function(e,t,n){var i,o;if(null!==(i=null===(o=(0,r.LI)())||void 0===o||null===(o=o.logLevel)||void 0===o?void 0:o.warn)&&void 0!==i&&i&&h())return r.j9.warnWithEncryption(e,d(t,n))},m=[],v=function(e,t,n){var a,u,c;if(null!==(a=(0,r.LI)())&&void 0!==a&&null!==(a=a.logLevel)&&void 0!==a&&a.error&&h()){var p=null===(u=(0,s.p6)())||void 0===u||null===(c=u.getState)||void 0===c?void 0:c.call(u),g={};p&&(g={confId:p.meeting.confId,nodeId:p.meeting.currentUser.userId,conId:p.meeting.conId,svcUrl:p.meeting.svcUrl});var v=(0,i.Z)(e);return m[v]?void 0:(m[v]=!0,r.j9.errorWithEncryption(e,d(t,n),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({messageHash:v},g)).then((function(){y({filter:function(e){return e.logLevel===o.q.in.error}})})))}},E=function(e){var t,n;null!==(t=null===(n=(0,r.LI)())||void 0===n||null===(n=n.logLevel)||void 0===n?void 0:n.print)&&void 0!==t&&t&&console.log(e)},_=function(e){var t=[r.MU,r.KM,"ZOOM WEB SDK"],n=[].concat(function(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(d(t,e)),[function(){return easyStore.easyGet("pwa-portal-trace-id")}]);return(0,a.SL)()?{log:function(e,t){return p(e,n,t)},error:function(e,t){return v(e,n,t)},print:function(e){return E(e)},warn:function(e,t){return g(e,n,t)},info:function(e,t){return function(e,t,n){var i,o;if(null!==(i=null===(o=(0,r.LI)())||void 0===o||null===(o=o.logLevel)||void 0===o?void 0:o.info)&&void 0!==i&&i&&h())return r.j9.infoWithEncryption(e,d(t,n))}(e,n,t)},debug:function(e,t){return function(e,t,n){var i,o;if(null!==(i=null===(o=(0,r.LI)())||void 0===o||null===(o=o.logLevel)||void 0===o?void 0:o.debug)&&void 0!==i&&i&&h())return r.j9.debugWithEncryption(e,d(t,n))}(e,n,t)},customPrint:function(e){return function(t){return function(e,t){var n,i;if(null!==(n=null===(i=(0,r.LI)())||void 0===i||null===(i=i.logLevel)||void 0===i?void 0:i.print)&&void 0!==n&&n){t||console.log(e);try{console[t](e)}catch(o){console.error(o)}}}(t,e)}}}:{log:function(e,t){return p(e,n,t)},error:function(e,t){return v(e,n,t)},warn:function(e,t){return g(e,n,t)},print:function(e){return E(e)}}},y=function(e,t){var n=(0,r.kt)();if(!h()||!n||((0,a.A8)()||!(0,r.LI)().enableAutoLog)&&!t)return Promise.resolve();var i=(e||{}).filter;return r.j9.reportByHttps(i,{gzip:!1,encrypt:!1,xhrOptions:{url:n},additionalContext:{trackingId:r.MU,customerJoinId:window.ZoomMtg.customerJoinId}})},S=function(){return r.f5?y({filter:"First Screen Performance Event"}):Promise.resolve()},D=function(e,t){if(!h())return Promise.resolve();var n=[r.MU,"REPORT_NOTIFICATION"],i=easyStore.easyGet("pwa-portal-trace-id");return i&&n.push(i),r.j9.log("",n,{IM_NOTIFICATION:"".concat(t,"\nTrackingId: ").concat(r.MU)}).then((function(){y(e,!0)}))}},81996:function(e,t,n){"use strict";n.d(t,{KM:function(){return E},LI:function(){return y},MU:function(){return m},T3:function(){return I},Wg:function(){return v},f5:function(){return S},j9:function(){return A},kt:function(){return w},pK:function(){return x}});var r,i=n(7614),o=n(34276),a=n(2278),s=n(68434),u=n(33646),c=n(63715),l=n(51684),f=n(95746),h=n(61451),d=n(78295),p=n(15723),g=n(1641),m=(0,p.D)(),v=function(){return m},E="region_".concat(l.ZP.userRegion),_={enable:!1,newGatewayEndPoint:"",gatewayEndPoint:"",logLevel:{debug:!1,log:!0,info:!0,print:!0,warn:!1,error:!0},performanceReportRatio:.25,trackingCount:7,enableReport:!1,enableAutoLog:!0};try{null!==l.ZP&&void 0!==l.ZP&&l.ZP.logConfig&&(_=JSON.parse(null===l.ZP||void 0===l.ZP?void 0:l.ZP.logConfig))}catch(F){console.error("parse log config error")}var y=function(){var e=_,t=(null===l.ZP||void 0===l.ZP?void 0:l.ZP.logConfig)||sessionStorage.getItem(f.pg.logConfig);if(t)try{e=JSON.parse(t)}catch(F){console.error("parse log config error")}return e},S=function(){var e,t=y();return(null===t||void 0===t?void 0:t.enableReport)&&Math.random()<(null!==(e=null===t||void 0===t?void 0:t.performanceReportRatio)&&void 0!==e?e:0)},D=["table index is out of bounds","ResizeObserver loop completed with undelivered notifications"],w=function(){var e=y(),t=e.newGatewayEndPoint,n=e.gatewayEndPoint;return t||n||""},b=(w(),(new Date).getTime()-6048e5),A={report:function(e,t){return Promise}},C=function(){return!!w()&&{gzip:!1,encrypt:!1,additionalContext:{trackingId:m,customerJoinId:window.ZoomMtg.customerJoinId}}},T=null===l.ZP||void 0===l.ZP?void 0:l.ZP.logEncryptionPubKey,I=function(){if((0,h.SL)())return"".concat("3.5.1","/").concat(1505);var e="unknown",t=(0,d.SV)().match(/web_client\/([\w]+)/);2===(null===t||void 0===t?void 0:t.length)&&(e=t[1]);var n=(0,d.Gg)();return"".concat(e,"/").concat(n)},O=null!==(r=localStorage.getItem((0,h.oF)(f.$c.webClient_trackingIds)))&&void 0!==r?r:[];if("string"===typeof O)try{O=JSON.parse((0,h.NV)(O))}catch(F){O=[]}var x=function(){var e=function(){var e="development"===(0,g.C5)()?[new o.Z({debug:!0,cleanAfterReport:!0,expireBefore:b}),new a.Z({debug:!0,autoReport:!!S()&&C(),publicTags:["websdk",m,E,"PERFORMANCE"]}),new s.Z({debug:!0,autoReport:C(),publicTags:[m,E,"websdk"],maxErrorCount:223}),new u.Z({userAgent:navigator.userAgent}),new c.Z({codeVersion:I()})]:[new o.Z({debug:!1,cleanAfterReport:!0,expireBefore:b}),new a.Z({autoReport:!!S()&&C(),publicTags:["websdk",m,E,"PERFORMANCE"]}),new s.Z({autoReport:C(),maxErrorCount:223,ignoredErrorMsgKeywords:D,publicTags:[m,E,"websdk"]}),new u.Z({userAgent:navigator.userAgent}),new c.Z({codeVersion:I()})];return{databaseName:"laplace-web-client-database",maxSize:49283072,reportUrl:w(),plugins:e,publicKey:T}}();return i.o.init(e).then((function(e){e&&(A=e),function(e){var t,n;(null===(t=O.length>=(null===(n=y())||void 0===n?void 0:n.trackingCount))||void 0===t||t)&&O.shift();var r={};O.forEach((function(e){r[e]=!0})),e.deleteLog((function(e){return!e.tags.some((function(e){return r[e]}))})),O.push(m),localStorage.setItem((0,h.oF)(f.$c.webClient_trackingIds),(0,h.oF)(JSON.stringify(O))),e.logWithEncryption("Laplace init success! New Laplace session",[m,"LAPLACE_NEW_SESSION"])}(e)})).catch((function(e){console.error("initLaplace ERROR:",e)}))}},30888:function(e,t,n){"use strict";n.d(t,{n:function(){return f}});var r=n(81996),i=n(61451);function o(e){return o="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},o(e)}function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.sampleRate,s=void 0===o?1:o,u=n.logLevel,l=void 0===u?"log":u,f=n.useRawData,h=void 0!==f&&f,d=n.tags,p=void 0===d?[]:d,g=n.isManualReport,m=void 0!==g&&g;(null!==(t=(0,r.LI)())&&void 0!==t&&t.enableAutoLog&&!(0,i.A8)()||m)&&r.j9.report(h?e:c(c({},e),{},{userAgent:navigator.userAgent,codeVersion:(0,r.T3)(),trackingId:r.MU}),{tags:["ZOOM WEB SDK"].concat(a(p)),extraData:{logLevel:l},sampleRate:s,useRawData:h})}},51684:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s},qs:function(){return a}});var r=n(86925),i=n.n(r),o=i().assign({},{isSupportAV:!0,isNewJoinFlow:!0,meetingOptions:{},callOutCountry:[],ondemandAssetsSRI:{},joinSource:"jsapi",leaveRedirect:!0,lang:"en",pstnOptions:{phoneNumberNotMatchCallOut:!1,hideInviteByPhone:!1,audioType:"SAME_WITH_MEETING",optionAudioType:"both"}},window.MeetingConfig,{debug:!1}),a=function(e){"undefined"===typeof window.MeetingConfig&&(window.MeetingConfig={}),i().extend(o,e),i().extend(window.MeetingConfig,e)},s=o},78279:function(e,t,n){"use strict";n.d(t,{$G:function(){return _},KU:function(){return m},Lt:function(){return C},PP:function(){return S},Pl:function(){return A},UU:function(){return d},WY:function(){return v},_t:function(){return y},gw:function(){return g},iT:function(){return E},kb:function(){return D},lF:function(){return p},xn:function(){return w},zI:function(){return b}});var r,i,o=n(51684),a=n(66926),s=n(95746),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return r||(r=new a.OpFeatureUtility(o.ZP.websdkClientFeatureOptions)),r.getOpFeatureFlag(e,t,(function(e){return h(e,n)}))},c=function(){var e=navigator.userAgent;return/iPad|iPhone|iPod/i.test(e)||navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform)},l=function(){return navigator.userAgent.match(/Android/i)},f=a.FEATUTRE_FLAG,h=function(e,t){return(e&t)===t};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.ZP.websdkClientFeatureOptions;r=new a.OpFeatureUtility(e),i=r.getOpFeatureFlagFromRuleMap(2,1,(function(e,t){return h(e,t.value)}),[{checked:c(),value:1},{checked:l(),value:1}])}var p=function(){return i===f.FEATUTRE_FLAG_ENABLE},g=function(){var e=easyStore.easyGet(s.pg.isZE);return u(3,1,e?2:1)},m=function(){var e=easyStore.easyGet(s.pg.isZE);return u(4,1,e?2:1)},v=function(){return u(6,1,1)},E=function(){return u(5,1,1)},_=function(){return u(7,1,1)},y=function(){return u(12,1,1)},S=function(){return u(13,1,1)},D=function(){return u(15,1,1)},w=function(){return u(8,1,1)},b=function(){return u(9,1,1)},A=function(){return u(16,1,1)},C=function(){return u(17,1,1)}},13034:function(e,t,n){"use strict";n.d(t,{$G:function(){return w},CJ:function(){return v},Ed:function(){return S},KU:function(){return p},Lt:function(){return C},PP:function(){return b},Pl:function(){return T},QG:function(){return m},R3:function(){return g},WY:function(){return _},_t:function(){return y},gw:function(){return d},iT:function(){return D},kb:function(){return A},lF:function(){return f},rV:function(){return E},xn:function(){return I},zI:function(){return O}});var r=n(51684),i=n(66926),o=n(78279),a=n(61451),s=i.FEATUTRE_FLAG,u=function(e,t){return(e&t)===t},c=new i.OpFeatureUtility(r.ZP.webclientFeatureOptions||""),l=c.getOpFeatureFlagFromRuleMap(1,2,(function(e,t){return u(e,t.value)}),[{checked:/TESLA/.test(navigator.userAgent),value:2}]),f=function(){return(0,a.SL)()?o.lF():l===s.FEATUTRE_FLAG_ENABLE},h=c.getOpFeatureFlag(3,1,(function(e){return u(e,1)})),d=function(){return(0,a.SL)()?o.gw():c.getOpFeatureFlag(6,1,(function(e){return u(e,1)}))},p=function(){return(0,a.SL)()?o.KU():c.getOpFeatureFlag(5,1,(function(e){return u(e,1)}))},g=h===s.FEATUTRE_FLAG_ENABLE,m=c.getOpFeatureFlag(4,1,(function(e){return u(e,1)}))===s.FEATUTRE_FLAG_ENABLE,v=function(){return c.getOpFeatureFlag(7,1,(function(e){return u(e,1)}))},E=function(){return!(0,a.SL)()&&c.getOpFeatureFlag(9,1,(function(e){return u(e,1)}))},_=function(){return(0,a.SL)()?o.WY():c.getOpFeatureFlag(10,1,(function(e){return u(e,1)}))},y=function(){return(0,a.SL)()?o._t():c.getOpFeatureFlag(11,1,(function(e){return u(e,1)}))},S=function(){return!(0,a.SL)()&&c.getOpFeatureFlag(13,1,(function(e){return u(e,1)}))},D=function(){return!!(0,a.SL)()&&o.iT()},w=function(){return!!(0,a.SL)()&&o.$G()},b=function(){return(0,a.SL)()?o.PP():c.getOpFeatureFlag(18,1,(function(e){return u(e,1)}))},A=function(){return(0,a.SL)()?o.kb():c.getOpFeatureFlag(22,1,(function(e){return u(e,1)}))},C=function(){return(0,a.SL)()?o.Lt():c.getOpFeatureFlag(20,1,(function(e){return u(e,1)}))},T=function(){return(0,a.SL)()?o.Pl():c.getOpFeatureFlag(23,1,(function(e){return u(e,1)}))},I=function(){return(0,a.SL)()?o.xn():c.getOpFeatureFlag(24,1,(function(e){return u(e,1)}))},O=function(){return(0,a.SL)()?o.zI():c.getOpFeatureFlag(25,1,(function(e){return u(e,1)}))}},66989:function(e,t,n){"use strict";n.d(t,{EM:function(){return a},Kd:function(){return o},eS:function(){return r},zR:function(){return i}});var r={NONE:"NONE",JOINING:"JOINING",SUCCESS:"SUCCESS",FAIL:"FAIL",LEAVE:"LEAVE",CLOSED:"CLOSED",END:"END",INVITE_START:"INVITE_START",INVITE_STOP:"INVITE_STOP",INVITE_FETCH_USER_DETAILS:"INVITE_FETCH_USER_DETAILS",INVITE_INVITE_TO_MEETING:"INVITE_INVITE_TO_MEETING",ASK_TO_INVITE_TO_MEETING:"ASK_TO_INVITE_TO_MEETING",WAITING_ROOM_NEW:"WAITING_ROOM_NEW",LIVE_TRANSCRIPTION_ENABLED:"LIVE_TRANSCRIPTION_ENABLED",MUTED_BY_HOST:"MUTED_BY_HOST",UNMUTE_REQUEST:"UNMUTE_REQUEST",VIDEO_REQUEST:"VIDEO_REQUEST",RECORDING:"RECORDING",INVITED_TO_BO:"INVITED_TO_BO",BO_TIME_UP:"BO_TIME_UP",LIVE_TRANSCRIPTION_REQUEST:"LIVE_TRANSCRIPTION_REQUEST",POLL_INBOX:"POLL_INBOX",MEETING_MINIMIZE:"MEETING_MINIMIZE",MEETING_MAXIMIZE:"MEETING_MAXIMIZE",DRAG_START:"DRAG_START",DRAG_MOVE:"DRAG_MOVE",DRAG_END:"DRAG_END",END_BY_HOST:"END_BY_HOST",AUDIO_CONNECTED_CHANGE:"AUDIO_CONNECTED_CHANGE",BAN_VIDEO:"BAN_VIDEO",PROMOTE_TO_PANELIST:"PROMOTE_TO_PANELIST",RETURN_MAIN_SESSION:"RETURN_MAIN_SESSION",REMOVED_BY_HOST:"REMOVED_BY_HOST",RENAMED_BY_HOST:"RENAMED_BY_HOST",BAN_UNMUTE_AUDIO:"BAN_UNMUTE_AUDIO",POLL_RESULT_SHARED:"POLL_RESULT_SHARED",BO_WILL_CLOSE:"BO_WILL_CLOSE",HELP_REQUEST:"HELP_REQUEST",NEED_REGISTER:"NEED_REGISTER",PWA_EXIST:"PWA_EXIST",PWA_STATUS:"PWA_STATUS",INVITE_CONTACTS:"INVITE_CONTACTS",INVITE_USER_DETAILS_UPDATE:"INVITE_USER_DETAILS_UPDATE",INVITE_USER_DECLINED:"INVITE_USER_DECLINED",PWA_LEAVE_MEETING:"PWA_LEAVE_MEETING",BACK_TO_MEETING:"BACK_TO_MEETING",LEAVE_AUDIO:"LEAVE_AUDIO",END_MEETING_REQUEST:"END_MEETING_REQUEST",MEETING_MINIMIZE_REQUEST:"MEETING_MINIMIZE_REQUEST",START_PRESENTING:"START_PRESENTING",STOP_PRESENTING:"STOP_PRESENTING",CHECK_IS_IN_CHANNEL:"CHECK_IS_IN_CHANNEL",JUMP_CHAT_CHANNEL:"JUMP_CHAT_CHANNEL",SEND_CHANNEL_ID:"SEND_CHANNEL_ID",LCP_RESPONSE:"LCP_RESPONSE",LCP_REQUEST:"LCP_REQUEST",FECC_GROUP_REQUEST:"FECC_GROUP_REQUEST",FECC_GROUP_RESPONSE:"FECC_GROUP_RESPONSE",FECC_GROUP_ADD:"FECC_GROUP_ADD",FECC_GROUP_ADD_RESPONSE:"FECC_GROUP_ADD_RESPONSE",FECC_GROUP_REMOVE:"FECC_GROUP_REMOVE",FECC_GROUP_REMOVE_RESPONSE:"FECC_GROUP_REMOVE_RESPONSE",FECC_GROUP_PWA_ADD:"FECC_GROUP_PWA_ADD",FECC_GROUP_PWA_REMOVE:"FECC_GROUP_PWA_REMOVE",MEETING_TOPIC_UPDATE:"MEETING_TOPIC_UPDATE"},i=function(){if(window.parent&&window.self!==window.parent)try{return"PWA"===window.parent.name}catch(e){}return!1},o=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!i())return Promise.resolve("NO_PWA");var r={message:{event:e,data:n},type:"PWA_IPC"};return window.parent.postMessage(r,(null===(t=parent)||void 0===t?void 0:t.location.origin)||"*"),Promise.resolve(!0)};function a(e){var t=e.inviteeIakList,n=void 0===t?[]:t;return function(){o(r.INVITE_INVITE_TO_MEETING,n.map((function(e){return{jid:e.inviteeID,credential:e.cred,iak:e.iak}})))}}},15723:function(e,t,n){"use strict";function r(){var e=(new Date).getTime(),t=performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:3&r|8).toString(16)}))}n.d(t,{D:function(){return r}})},80300:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(51684),i=n(61451);function o(){return(0,i.SL)()?1===parseInt(null===r.ZP||void 0===r.ZP?void 0:r.ZP.isWebinar):1===r.ZP.isWebinar}},39579:function(e,t,n){"use strict";n.d(t,{b:function(){return c},l:function(){return u}});var r=n(51684),i=n(70445),o=n(61451),a=r.ZP.simulivePlayInfo,s={videoUrl:a&&a.videoUrl,status:a&&a.status,offset:a&&a.offset,autoreplyEnabled:a&&a.autoreplyEnabled,autoreplyMsg:a&&a.qaAutoReplyText};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={videoUrl:e.videoUrl,status:e.status,offset:e.offset,autoreplyEnabled:e.autoreplyEnabled,autoreplyMsg:e.qaAutoReplyText};i.F.easySet("simulivePlayInfo",t,i.v.memory)}function c(e){var t=i.F.easyGet("simulivePlayInfo");if((0,o.SL)()){var n=e||t;return{videoUrl:n&&n.videoUrl,status:n&&n.status,offset:n&&n.offset,autoreplyEnabled:n&&n.autoreplyEnabled,autoreplyMsg:n&&(n.qaAutoReplyText||n.autoreplyMsg)}}return null!==t?t:s}},81390:function(e,t,n){"use strict";n.d(t,{YG:function(){return u},p6:function(){return s},rC:function(){return c},u4:function(){return a}});var r=n(51684),i=n(80300),o=n(67520),a=function(){return Promise.resolve().then((function(){var e=o.y.wcCTX(),t=e.getState,n=e.dispatch,r=e.reduxStore;return t&&n&&r?{getState:t,dispatch:n,reduxStore:r}:Promise.reject()}))},s=function(e){var t=o.y.wcCTX(),n=t.getState,r=t.dispatch;return n&&r?e&&"function"===typeof e?e({getState:n,dispatch:r}):{getState:n,dispatch:r}:null},u=function(){var e;return null!==(e=r.ZP.mid)&&void 0!==e?e:"unknown"},c=function(){return(0,i.h)()?"webinar":"meeting"}},61451:function(e,t,n){"use strict";n.d(t,{$2:function(){return Ue},A:function(){return rt},A8:function(){return G},AX:function(){return nn},Ar:function(){return Ht},Ay:function(){return Pt},Cv:function(){return cn},D2:function(){return Ee},D8:function(){return be},DU:function(){return $e},DW:function(){return Je},FO:function(){return Ce},Fr:function(){return on},G6:function(){return ie},GH:function(){return ue},Gk:function(){return ee},Go:function(){return k},I6:function(){return de},IQ:function(){return Bt},J2:function(){return De},Jg:function(){return we},Jj:function(){return tn},L:function(){return ge},L9:function(){return tt},LA:function(){return Nt},LH:function(){return Vt},LO:function(){return Tt},LS:function(){return ht},Li:function(){return yt},M2:function(){return ze},MN:function(){return Xt},NH:function(){return vt},NI:function(){return Gt},NJ:function(){return Pe},NN:function(){return Ke},NV:function(){return Ie},ON:function(){return Re},Ou:function(){return $},Ox:function(){return R},QR:function(){return me},QS:function(){return Dt},Rf:function(){return ne},Rl:function(){return V},S$:function(){return Ye},SL:function(){return z},Se:function(){return $t},Sl:function(){return nt},Sr:function(){return J},Sy:function(){return Kt},TJ:function(){return Wt},Th:function(){return X},U6:function(){return Rt},UL:function(){return jt},V5:function(){return M},Vw:function(){return Qe},W6:function(){return je},WU:function(){return ut},Wn:function(){return Jt},YB:function(){return Me},YV:function(){return se},Yj:function(){return Y},Z5:function(){return zt},ZT:function(){return Ft},ZW:function(){return bt},ZZ:function(){return re},Zn:function(){return Mt},_A:function(){return St},_H:function(){return Zt},_w:function(){return Ne},_x:function(){return Ct},aS:function(){return xe},ao:function(){return te},bv:function(){return Le},cR:function(){return ye},ch:function(){return un},ct:function(){return pt},d1:function(){return Yt},dp:function(){return ve},f0:function(){return B},fU:function(){return Z},fq:function(){return en},g4:function(){return K},hL:function(){return ke},hm:function(){return qe},i7:function(){return H},iC:function(){return Ut},iO:function(){return kt},iT:function(){return ce},jk:function(){return Ae},kF:function(){return Q},kS:function(){return Xe},kg:function(){return it},kt:function(){return ct},lq:function(){return It},lv:function(){return xt},mg:function(){return qt},nJ:function(){return He},oF:function(){return Te},oK:function(){return fe},oT:function(){return Ot},oW:function(){return an},p0:function(){return st},p6:function(){return Ze},pu:function(){return Oe},qW:function(){return At},qm:function(){return dt},rd:function(){return rn},rj:function(){return Se},s$:function(){return Lt},s2:function(){return he},sE:function(){return q},sQ:function(){return lt},tH:function(){return _e},un:function(){return P},uo:function(){return mt},vD:function(){return sn},vU:function(){return L},vX:function(){return wt},vq:function(){return ot},w0:function(){return gt},xB:function(){return Qt},xb:function(){return et},xm:function(){return j},yL:function(){return Et},yV:function(){return Be}}),n(45840);var r=n(86925),i=n.n(r),o=n(94657),a=n(86869),s=n.n(a),u=n(19575),c=n(94184),l=n.n(c),f=n(55559),h=n(51684),d=n(71222),p=n(95746),g=n(18283),m=n(92438),v=n(1641),E=n(80129),_=n.n(E),y=n(66989),S=n(13034),D=n(12846),w=n(78295);function A(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||T(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||T(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){if(e){if("string"===typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function F(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=N(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=N(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==N(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e){return N="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},N(e)}var R=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t,n){return e.replace(new RegExp("\\{".concat(n,"\\}"),"g"),t)}),e)},P=function(){return/edge\/(\d+)/i.test(navigator.userAgent)},B=function(){return/opera|opr\/[\d]+/i.test(navigator.userAgent)},L=function(){return/firefox/i.test(navigator.userAgent)};function M(){return navigator.platform.indexOf("Mac")>-1}var H=function(){var e=navigator.userAgent;return!B()&&!P()&&/chrome/i.test(e)&&/webkit/i.test(e)};function k(){return h.ZP.isSupportAV&&"object"===("undefined"===typeof WebAssembly?"undefined":N(WebAssembly))&&"function"===typeof Worker&&"function"===typeof AudioWorklet}function j(){var e=navigator.userAgent.toLowerCase();return!/(msie|trident)/.test(e)}var U,W=function(){if(!H())return!1;var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return!!e&&parseInt(e[2],10)},V=function(){var e=navigator.userAgent.match(/Version\/([\d.]+).*Safari/);return e?e[1]:0},G=function(){return/\bCrOS\b/.test(navigator.userAgent)},K=function(){return/oculusbrowser/i.test(navigator.userAgent)},z=function(){return"websdk"===m.gn.WEB_SDK},q=function(){return z()?(0,v._1)():(0,w.SV)()},Y=function(){return/\bCrKey\b/.test(navigator.userAgent)},J=function(){return Y()&&/\bFuchsia\b/.test(navigator.userAgent)},Q=function(){return"GOOGLE-MEET"===(null===h.ZP||void 0===h.ZP?void 0:h.ZP.partnerId)},Z=function(){return Q()},X=function(){var e=window.meetingHost;return!!e&&(U||(U=e.getHostState().vendorId),U===g.pR.MSFT)},$=function(){return/MSFT Teams Android Room/.test(navigator.userAgent)},ee=function(){return/yealink/.test(navigator.userAgent.toLowerCase())},te=function(){return/TESLA/.test(navigator.userAgent)},ne=function(){return Y()||X()||te()||$()||Q()},re={isHangup:!1},ie=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},oe=function(){return/arm/i.test(navigator.userAgent)},ae=function(){return G()&&oe()},se=function(){return"function"===typeof AudioWorklet},ue=function(){return!1};function ce(e){return e&&e.userType===m.R.PHONE}var le=function(){return navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&(/iPad/.test(navigator.platform)||/MacIntel/i.test(navigator.platform))},fe=function(){var e=!!navigator.userAgent.match(/safari/i);return(pe()||ge())&&e},he=function(){return navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||le()||ge()||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)},de=function(){return navigator.userAgent.match(/Android/i)},pe=function(){return!!/iPad|iPhone|iPod/.test(navigator.platform)||navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform)},ge=function(){return navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform)};function me(){if("function"!==typeof SharedArrayBuffer)return!1;var e=function(){var e=navigator.userAgent.match(/(iPad|iPod|iPhone);.*OS (\d+[_.]\d+(?:[_.]\d+)?)/);if(e){var t=e[2].split("_");return parseInt(t[0],10)+parseInt(t[1],10)/10}return null}();return!!(function(){var e=navigator.userAgent;return/iPad|iPhone|iPod/i.test(e)||ge()}()&&null!==e&&e>=16.4)||!!(/android/i.test(navigator.userAgent)&&W()>=112)}var ve=function(e,t){if(!e)return null;var n=e.split("-"),r=+n[n.length-1]+(void 0===t?1:t);return n[n.length-1]=r,n.join("-")},Ee=(document.getElementById("aria-notify-area"),function(e){document.getElementById("aria-notify-area").innerHTML=function(e){var t=document.createElement("div");return t.appendChild(document.createTextNode(e)),t.innerHTML}(e)}),_e=function(e){return e[e.length-1]},ye=function(e){return e?l()("glyphicon","glyphicon-ok","i-ok-margin"):l()("i-margin")},Se=new Promise((function(e,t){"undefined"===typeof indexedDB&&null==indexedDB&&t(new Error({code:-1,message:"can not find indexdb instance"}));var n=window.indexedDB.open("test");n.onerror=function(n){var r;11===(null===n||void 0===n||null===(r=n.target)||void 0===r||null===(r=r.error)||void 0===r?void 0:r.code)&&t(n.target.error),e("success")},n.onsuccess=function(){e("success")}})),De=function(e){return new Promise((function(t){window.indexedDB||t("");var n=window.indexedDB.open(e);n.onerror=function(){return t("")},n.onsuccess=function(){t(n.result.version)}}))};function we(e){for(var t="",n=0;n<e.length;n++)12288!==e.charCodeAt(n)?e.charCodeAt(n)>65280&&e.charCodeAt(n)<65375?t+=String.fromCharCode(e.charCodeAt(n)-65248):t+=String.fromCharCode(e.charCodeAt(n)):t+=String.fromCharCode(e.charCodeAt(n)-12256);return t}function be(e){for(var t="",n=0;n<e.length;n++)(e.charCodeAt(n)>=65296&&e.charCodeAt(n)<=65305||e.charCodeAt(n)>=48&&e.charCodeAt(n)<=57)&&(t+=String.fromCharCode(e.charCodeAt(n)));return t}function Ae(e){return u.Base64.encode(e,!1)}function Ce(e){return u.Base64.decode(e,!1)}function Te(e){return u.Base64.encode(e,!0)}function Ie(e){return u.Base64.decode(e,!0)}function Oe(e){return f.decode(e)}function xe(e,t){var n=t.length,r=/[^\x00-\xff]/g;if(e.replace(r,"**").length<=n)return e;for(var i=Math.floor(n/2);i<e.length;i++)if(e.substr(0,i).replace(r,"**").length>=n)return"".concat(e.substr(0,i),"...");return e}window.decodeBase64=Ie,window.encodeBase64=Te,window.encodeUnsafeBase64=Ae,window.decodeUnsafeBase64=Ce;var Fe=16,Ne=function(e){var t=e.charCodeAt(0);return t<=parseInt("0x7F",Fe)?1:t<=parseInt("0x7FF",Fe)?2:t<=parseInt("0xFFFF",Fe)?3:t<=parseInt("0x1FFFFF",Fe)?4:t<=parseInt("0x3FFFFFF",Fe)?5:6},Re=function(e,t){if(!e||0===t)return"";for(var n=0,r=0;r<e.length;r++)if((n+=Ne(e[r]))===t)return e.slice(0,r+1);return e};function Pe(e){if(""===e||void 0===e)return 0;for(var t=0,n=0;n<e.length;n++)e.charCodeAt(n)<=parseInt("0x7F",Fe)?t+=1:e.charCodeAt(n)<=parseInt("0x7FF",Fe)?t+=2:e.charCodeAt(n)<=parseInt("0xFFFF",Fe)?t+=3:e.charCodeAt(n)<=parseInt("0x1FFFFF",Fe)?t+=4:e.charCodeAt(n)<=parseInt("0x3FFFFFF",Fe)?t+=5:t+=6;return t}var Be=function(e,t,n,r){var i=0,o="",a=r,s=n,u=Pe(e);if(""===e)return t;if(n>=u&&0===a)return e+t;if(0===s&&0===a)return t;(-1===r||n+r>u)&&(a=u-n),0===a&&n===u&&n>0&&(s=n-1);for(var c=0;c<e.length&&(i===s&&(o=e.slice(0,c)+t),i!==u-1);c++){if(i===s+a){o+=e.slice(c);break}i+=Ne(e[c])}return o};function Le(e,t){if(!e)return"";if(2*e.length<=t)return e;for(var n=0,r="",i=0;i<e.length;i++)if(r+=e.charAt(i),e.charCodeAt(i)>128){if((n+=2)>=t)return"".concat(r.substring(0,r.length-1),"...")}else if((n+=1)>=t)return"".concat(r.substring(0,r.length-2),"...");return r}function Me(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=new Date;i.setTime(i.getTime()+e),s().save(t,n,x({expires:i,path:"/"},r))}function He(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s().remove(e,x({path:"/"},t))}function ke(e){return s().load(e)}function je(){var e=ke(p.cd);try{return e?parseInt(e,10):0}catch(t){return 0}}function Ue(e){var t;try{t=parseInt(e||0,10)}catch(n){t=0}localStorage.getItem("isFirstVisit")||localStorage.setItem("isFirstVisit","true"),Me(7776e6,p.cd,t)}(0,D.Z)();var We=new d.l(o.Z),Ve=function(e,t,n){if(void 0===window.i18n)return window.i18n=new d.l({}),e||t;var r="undefined"!==typeof n?window.i18n.get(t,n):window.i18n.get(t);return r&&r!==t?r:e||t},Ge=function(e,t,n){if("undefined"===typeof We)return e||t;var r="undefined"!==typeof n?We.get(t,n):We.get(t);return r&&r!==t?r:e||t};function Ke(e,t,n){return z()?Ve(e,t,n):Ge(e,t,n)}function ze(e,t){var n=e.displayName.toUpperCase(),r=t.displayName.toUpperCase();return"number"===typeof e.zoomID||"number"===typeof t.zoomID?"number"===typeof e.zoomID&&"number"!==typeof t.zoomID?-1:"number"!==typeof e.zoomID&&"number"===typeof t.zoomID||e.zoomID>t.zoomID?1:-1:n<r?-1:n>r?1:0}var qe=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t};function Ye(e,t){e=new Uint8Array(e),t=new Uint8Array(t);var n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function Je(e){var t,n,r,i,o,a;for(t="",r=e.length,n=0;n<r;)switch((i=e[n++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:t+=String.fromCharCode(i);break;case 12:case 13:o=e[n++],t+=String.fromCharCode((31&i)<<6|63&o);break;case 14:o=e[n++],a=e[n++],t+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&a)}return t}function Qe(e){var t,n=e.length,r=new Array(n);for(t=0;t<n;++t)r[t]=255&e.charCodeAt(t);return new Uint8Array(r)}function Ze(e,t){var n="",r={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};return/(y+)/.test(t)&&(n=t.replace(RegExp.$1,"".concat(e.getFullYear()).substr(4-RegExp.$1.length))),Object.keys(r).forEach((function(e){new RegExp("(".concat(e,")")).test(n)&&(n=n.replace(RegExp.$1,1===RegExp.$1.length?r[e]:"00".concat(r[e]).substr("".concat(r[e]).length)))})),n}var Xe=function(){return"function"===typeof MediaStreamTrackProcessor},$e=function(){return JsMediaSDK_Instance&&JsMediaSDK_Instance.util&&JsMediaSDK_Instance.util.isSupportVideoTrackReader()},et=function(){return!!(G()&&!oe()&&navigator.hardwareConcurrency<4)||!!(ae()&&navigator.hardwareConcurrency<=4)},tt=function(e){return"success"===e&&JsMediaSDK_Instance&&JsMediaSDK_Instance.util&&JsMediaSDK_Instance.util.isSelfPreviewRenderWithVideo&&JsMediaSDK_Instance.util.isSelfPreviewRenderWithVideo()},nt="function"===typeof OffscreenCanvas&&!!new OffscreenCanvas(1,1).getContext("webgl"),rt=function(){return he()&&!le()&&!ge()},it=z()&&he(),ot=function(){if(de())return"function"===typeof OffscreenCanvas&&!!Xe()&&function(){var e=navigator.userAgent.toLowerCase().match(/android (.*?);/);return Number(null===e||void 0===e?void 0:e[1])}()>=10;if(/iPad|iPhone|iPod/.test(navigator.userAgent)||navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform)){if(/iPhone/i.test(navigator.userAgent)){var e=C(function(){var e=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/),t=null===e||void 0===e?void 0:e[1];if(t){var n=t.split("_");return[Number((null===n||void 0===n?void 0:n[0])||0),Number((null===n||void 0===n?void 0:n[1])||0),Number((null===n||void 0===n?void 0:n[2])||0)]}return[0,0,0]}(),3),t=e[0],n=e[1],r=e[2];if(t>=16||15===t&&n>=6&&r>=0)return!0}else if(/iPad/i.test(navigator.userAgent)){var i=C(function(){var e=navigator.userAgent.toLowerCase().match(/(ipad).*os\s([\d_]+)/),t=null===e||void 0===e?void 0:e[2];if(t){var n=t.split("_");return[Number((null===n||void 0===n?void 0:n[0])||0),Number((null===n||void 0===n?void 0:n[1])||0),Number((null===n||void 0===n?void 0:n[2])||0)]}return[0,0,0]}(),3),o=i[0],a=i[1],s=i[2];if(o>=16||15===o&&a>=6&&s>=0)return!0}else if(le()){var u=C(at(),3),c=u[0],l=u[1],f=u[2];if(c>=16||15===c&&l>=6&&f>=0)return!0}return!1}return!1},at=function(){var e=navigator.userAgent.toLowerCase().match(/version\/(\d+).(\d+).?(\d+)?/);return[Number((null===e||void 0===e?void 0:e[1])||0),Number((null===e||void 0===e?void 0:e[2])||0),Number((null===e||void 0===e?void 0:e[3])||0)]},st=function(){var e;return(!z()||!he())&&!(de()&&!$())&&!(null===(e=navigator)||void 0===e||!e.hardwareConcurrency)&&(et()?function(){var e,t,n=null===(e=h.ZP.isDisableGVForLowEndDevice)||void 0===e||e,r=null===(t=easyStore.easyGet("enableGallery"))||void 0===t||t;return!n&&r}():nt&&"function"===typeof requestAnimationFrame&&"function"===typeof SharedArrayBuffer)},ut=function(){if(te()){var e=/ max-video:(\d+)/.exec(navigator.userAgent),t=5;if(e&&e[1]){var n=Number(e[1]);!Number.isNaN(n)&&n>1&&n<10&&(t=n)}return t}return st()?Y()?p.Ut.SIZE_5:function(){var e;return!(navigator.hardwareConcurrency<4)&&!Y()&&!te()&&(null===(e=easyStore.easyGet("webClient_isOpenVideo25Size"))||void 0===e||e)}()?p.Ut.SIZE_26:p.Ut.SIZE_10:p.Ut.SIZE_1},ct=function(){return!te()&&"Notification"in window&&("granted"===Notification.permission||("denied"===Notification.permission||Notification.requestPermission(),!1))},lt=function(){var e;return G()&&!oe()&&navigator.hardwareConcurrency<4||ae()&&navigator.hardwareConcurrency<=4?{width:320,height:180}:null!==(e=JsMediaSDK_Instance)&&void 0!==e&&null!==(e=e.util)&&void 0!==e&&e.get720pcapacity&&JsMediaSDK_Instance.util.get720pcapacity()?{width:1280,height:720}:{width:640,height:360}};function ft(e,t){return e|t}var ht=function(){var e=p.TG|p.lP|p.Sw;return se()&&k()&&(e=ft(e,p.uP)),z()&&(e=ft(e,p.HO)),e},dt=function(){var e=h.ZP.meetingOptions.isEnableBOBroadcastVoice;return"undefined"===typeof e||e},pt=function(){var e,t,n;return null!==(e=null===(t=JsMediaSDK_Instance)||void 0===t||null===(t=t.util)||void 0===t||null===(n=t.isSupportVideoShareReceive)||void 0===n?void 0:n.call(t))&&void 0!==e&&e},gt=function(){var e,t,n;return null!==(e=null===(t=JsMediaSDK_Instance)||void 0===t||null===(t=t.util)||void 0===t||null===(n=t.isSupportVideoShareSend)||void 0===n?void 0:n.call(t))&&void 0!==e&&e},mt=function(){var e,t,n;return null!==(e=null===(t=JsMediaSDK_Instance)||void 0===t||null===(t=t.util)||void 0===t||null===(n=t.isSupportSendVideoFullHD)||void 0===n?void 0:n.call(t))&&void 0!==e&&e},vt=function(){var e,t,n;return null!==(e=null===(t=JsMediaSDK_Instance)||void 0===t||null===(t=t.util)||void 0===t||null===(n=t.isSupportSendVideoShareFullHD)||void 0===n?void 0:n.call(t))&&void 0!==e&&e};function Et(){try{return window.self!==window.top}catch(e){return!0}}var _t=function(e){return 10===e.length?1e3*Number(e):Number(e)};function yt(e,t){var n=e?new Date(_t(e)):new Date;try{return t?n.toLocaleTimeString(h.ZP.lang,t):n.toLocaleTimeString(h.ZP.lang)}catch(r){return t?n.toLocaleTimeString([],t):n.toLocaleTimeString()}}var St=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!==N(t[n])&&"function"!==typeof t[n]||Object.isFrozen(t[n])||e(t[n])})),t};function Dt(e,t,n){var r=[],i=A(e);return t.forEach((function(e){var t=i.findIndex((function(t){return t[n]===e[n]}));-1===t&&r.push(e),i[t]=x(x({},i[t]),e)})),i.concat(r)}function wt(e,t,n){return i().differenceBy(e,t,n)}function bt(e,t){return!(!e||!t)&&e>>10===t>>10}function At(e){if(!e)return"";var t=e.lastIndexOf(".");return-1===t?e:e.substring(0,t)}var Ct=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(){var r="".concat(e).concat(t).concat(n);return n+=1,r}},Tt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=Ct(e,n,r),o=function(){var e=0;return{getDataALGenerateCount:function(){return e},dataALGenerator:function(){return e+=1,i()}}}(),a=o.dataALGenerator,s=o.getDataALGenerateCount;return setTimeout((function(){var i;null!==t&&void 0!==t&&null!==(i=t.current)&&void 0!==i&&i.dataset&&(t.current.dataset.aLListInfo="".concat(e).concat(n).concat(r,",").concat(e).concat(n).concat((s()||1)-1))}),0),{dataALGenerator:a,getDataALGenerateCount:s}},It=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?t[0]:function(e){t.forEach((function(t){"function"===typeof t?t(e):t&&(t.current=e)}))}},Ot=function(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=[e[n],e[t]];e[t]=r[0],e[n]=r[1]}},xt=function(e,t){return Math.floor(Math.random()*(t-e+1)+e)},Ft=function(e,t){return Boolean(e&t)},Nt=function(e,t){return e^t};function Rt(e){return!!e.match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/)}var Pt=function(){if(te()){var e=/ show-menu:(\d+)/.exec(navigator.userAgent),t=0;return e&&e[1]&&(t=Number(e[1])),1===t}return!0};function Bt(e){var t=easyStore.easyGet("JOIN_MEETING_FLOW_JOIN_BO"),n=easyStore.easyGet("JOIN_MEETING_FLOW_LEAVE_BO"),r=easyStore.easyGet("JOIN_MEETING_FLOW_PROMOTE"),i=easyStore.easyGet("JOIN_MEETING_FLOW_DEPROMOTE"),o="";return o+=t?"JOIN_MEETING_FLOW_JOIN_BO":"",o+=n?"JOIN_MEETING_FLOW_LEAVE_BO":"",o+=r?"JOIN_MEETING_FLOW_PROMOTE":"","".concat(o+=i?"JOIN_MEETING_FLOW_DEPROMOTE":"","\n").concat(e,"\nmid:").concat(h.ZP.mid)}function Lt(e,t,n){var r=arguments.length>4?arguments[4]:void 0;arguments.length>3&&void 0!==arguments[3]&&arguments[3]&&e();var i=(new Date).getTime(),o=setInterval((function(){var t=(new Date).getTime();n&&t-i>=n&&(o&&clearInterval(o),r&&r()),e()}),t);return o}var Mt=function(){Object.keys(p.pg).forEach((function(e){"webClient_zak"!==e&&"webClient_tk"!==e&&"webClient_suid"!==e&&(sessionStorage.removeItem(p.pg[e]),sessionStorage.removeItem(Te(p.pg[e])))}))},Ht=function(){sessionStorage.removeItem(p.pg.webClient_tk),sessionStorage.removeItem(Te(p.pg.webClient_tk))},kt=function(){return he()?de()?"android":"ios":/mac/i.test(navigator.platform)?"mac":"win"},jt=function(){return JsMediaSDK_Instance&&JsMediaSDK_Instance.util&&JsMediaSDK_Instance.util.isSupportOpenMicWhenShareAudio&&JsMediaSDK_Instance.util.isSupportOpenMicWhenShareAudio()},Ut="1"===(_().parse(location.search.substring(1))||{}).transfer&&(0,y.zR)(),Wt=function(){return(0,S.Ed)()&&!ie()&&!G()&&!ne()&&h.ZP.meetingOptions.isRemoteControlEnbaled},Vt=function(){var e;return(null===(e=JsMediaSDK_Instance)||void 0===e||null===(e=e.util)||void 0===e?void 0:e.isSupportAudioBridgeAvsync)&&JsMediaSDK_Instance.util.isSupportAudioBridgeAvsync()};function Gt(e){return String.fromCharCode.apply(String,A(e))}function Kt(e){return e.replace(/\//g,"_").replace(/\+/g,"-").replace(/=/g,"")}var zt=function(e,t){var n=null===(e=window.screen)||void 0===e?void 0:e.width,r=null===(t=window.screen)||void 0===t?void 0:t.height,i=window.devicePixelRatio;return n*i>=2560&&r*i>=1440&&n*i<3840}(),qt=function(e,t){var n=null===(e=window.screen)||void 0===e?void 0:e.width,r=null===(t=window.screen)||void 0===t?void 0:t.height,i=window.devicePixelRatio;return n*i>=3840&&r*i>=2160}(),Yt=function(e){var t=window.requestAnimationFrame?window.requestAnimationFrame:window.setTimeout;t((function(){t(e)}))},Jt=function(e){(window.requestAnimationFrame?window.requestAnimationFrame:window.setTimeout)(e)},Qt=function(){var e,t,n,r,i,o;return{pan:!(null===(e=JsMediaSDK_Instance.util)||void 0===e||null===(t=e.isSupportCameraPan)||void 0===t||!t.call(e)),tilt:!(null===(n=JsMediaSDK_Instance.util)||void 0===n||null===(r=n.isSupportCameraTilt)||void 0===r||!r.call(n)),zoom:!(null===(i=JsMediaSDK_Instance.util)||void 0===i||null===(o=i.isSupportCameraZoom)||void 0===o||!o.call(i))}},Zt=function(){var e=Qt(),t=e.pan,n=e.tilt,r=e.zoom;return t||n||r},Xt=function(e){return(e&p.bW)===p.bW},$t=function(){if((0,y.zR)()){var e,t=null===(e=window.parent.PwaConfig)||void 0===e?void 0:e.pwaClientFeatureOptions;if("string"===typeof t&&t.length>0)return"1"===t.split("").reverse()[2]}return!1};function en(){var e=document.documentElement.clientWidth,t=window.screen.width,n=window.screen.height;return e!==(t<n?t:n)&&(e<=(t>=n?t:n)||void 0)}function tn(){return he()&&en()}function nn(){var e=window.location.search;if(!e)return"";var t=e.substring(1).split("&"),n=i().filter(t,(function(e){return!e.includes("wpk=")&&!e.includes("pwd=")}));return n.length>0?"?".concat(n.join("&")):""}function rn(){return!!Ut}function on(){return fe()?{width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}:{width:window.innerWidth,height:window.innerHeight}}function an(e){return"boolean"===typeof e?e?1:0:parseInt(e)}function sn(e){var t=e;return(t=(t=(t=(t=(t=(t=t.toString()).replace(/</g,"<")).replace(/>/g,">")).replace(/ /g," ")).replace(/"/g,""")).replace(/'/g,"'")).replace(/<\/br>/g,"</br>")}function un(e){var t=(0,v._k)();return t?"".concat(t,"?ref=").concat(encodeURIComponent(sn(e))):e}function cn(e){return function(t){he()&&"touchstart"===t.type?e(t):he()||"click"!==t.type||e(t)}}},39358:function(e,t,n){"use strict";n.d(t,{h:function(){return f}});var r=n(88739),i="ResourceTiming",o=(0,r.iZ)(["Performance",i]),a=["audio","fetch"],s=["externals.min.js","vendors.webclient.min.js","webclient.min.js","common.webclient.min.js","preview.webclient.min.js","main-client.webclient.min.js","styles.wc_meeting.min.css","audio.simd.wasm","video.mtsimd.wasm","video_share_mtsimd.min.js","audio_simd.min.js"];function u(e){var t;return null===e||void 0===e||null===(t=e.match(/[^\\/]+(?!.*\/)/))||void 0===t?void 0:t[0]}var c=function(){return performance.getEntriesByType("resource").filter((function(e){var t=e.initiatorType;return!a.includes(t)})).map((function(e){var t=e.name,n=e.responseEnd,r=e.responseStart,i=e.startTime,o=e.duration;return{name:t,startTime:parseInt(i),endTime:parseInt(n-r),duration:parseInt(o)}}))},l=.005;function f(){Math.random()>l||function(e){var t;if(e&&null!==e&&void 0!==e&&e.length){var n=null===e||void 0===e?void 0:e.filter((function(e){var t=e.name;return s.includes(u(t))})),a="",c=null===n||void 0===n?void 0:n.length,l=0;n.forEach((function(e){var t=e.duration<50;t&&(l+=1),a+="".concat(u(e.name),": ").concat(t?"YES":"NO",",")})),null===(t=o.log(JSON.stringify({cacheStatus:a,startTime:c-l,endTime:l})))||void 0===t||t.then((function(){(0,r.Ng)({filter:[i]})}))}}(c())}},27961:function(e,t,n){"use strict";n.d(t,{e:function(){return s},z:function(){return a}});var r=n(42238),i=n.n(r),o=n(30888);function a(){var e;return null!==(e=window)&&void 0!==e&&e.navigator?i()(window.navigator.userAgent):{}}function s(){var e,t=a();if(null!==t&&void 0!==t&&null!==(e=t.browser)&&void 0!==e&&e.name){var n="".concat(t.browser.name,"-").concat(t.browser.major),r="".concat(t.os.name,"-").concat(t.os.version);(0,o.n)({strMsg:JSON.stringify(t),name:n},{sampleRate:.001,logLevel:r,tags:["UA"]})}}},79512:function(e){function t(t,n,r){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t,n){"use strict";n.d(t,{It:function(){return f},RH:function(){return d},Ub:function(){return E},WY:function(){return g},ZT:function(){return v},ii:function(){return p},ls:function(){return h},yh:function(){return m}});var r=n(2043),i=n.n(r);!function(e){var t=e.levels;Object.keys(t).reduce((function(e,n){var r=n.toLowerCase();return e["".concat(r,"Group")]=function(i,o){var a=e.getLevel()<=t[n];a&&console.groupCollapsed.apply(console,i),e[r].apply(e,o),a&&console.groupEnd()},e}),e)}(i());var o="color: #ff0000; font-weight: bold;",a="color: #00bb44; font-weight: bold;",s="color: #aabdf0",u="color: #aabdf0; font-weight: bold;",c="color: #84affa; font-weight: bold;",l=function(e,t){return new RegExp(t.join("|")).test(e)},f=function(e){i().error("%c".concat(e),o)},h=function(e){i().warn("%c".concat(e),"color: #b3b300; font-weight: bold;")},d=function(e){i().info("%c".concat(e),u)},p=function(e){i().info("%c".concat(e),a)},g=function(e,t,n,r){if(r){var h=c;l(n,["SUCCESS"])?h=a:l(n,["FAILED","BROKEN","ERROR"])&&(h=o);try{i().infoGroup(["%c".concat(_.padEnd(e,10)," %c").concat(t," %c").concat(_.padEnd(" message, type: ",8),"%c").concat(n),c,c,u,h],["%c".concat(r),s])}catch(d){f(d.message)}}},m=function(e,t){i().infoGroup(["%c".concat(e),u],["%c".concat(t),s])},v=function(e,t){i().infoGroup(["%c".concat(e),a],["%c".concat(t),a])};function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"info";"info"===e||"error"===e||"silent"===e?i().setLevel(e):console.log("dont support you log level, please change log level to info or error")}})),34778:function(e){function t(t,n,r){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t,n){"use strict";n.d(t,{$T:function(){return O},B8:function(){return R},Nh:function(){return x},R9:function(){return P},Vo:function(){return C},XL:function(){return I},bK:function(){return F},p8:function(){return T},pL:function(){return B},qs:function(){return N},rB:function(){return D},vK:function(){return w},ws:function(){return A}});var r,i,o,a,s=n(79512),u=n(51684),c=n(51689),l=n(10568),f=n(10398),h=n(61548),d=n(92211),p=n(61451);function g(e){return g="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},g(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==g(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}r=_.invert(JSON.parse(JSON.stringify(c))),i=_.invert(JSON.parse(JSON.stringify(l))),o=_.invert(JSON.parse(JSON.stringify(f))),(a=v(v({},_.invert(JSON.parse(JSON.stringify(h)))),_.invert(JSON.parse(JSON.stringify(d)))))["[object Object]"]=void 0;var y=function(e){var t;return null!==(t=r[e])&&void 0!==t?t:a[e]},S=function(e){var t;return null!==(t=o[e])&&void 0!==t?t:a[e]},D=function(e){(0,s.ii)(e)},w=function(e){(0,s.It)(e)},A=function(e){(0,s.ls)(e)},C=function(e){(0,p.SL)()&&!u.ZP.debug||(0,s.RH)(e)},T=function(e){},I=function(e,t){(0,s.yh)(e,t)},O=function(e,t){(0,s.ZT)(e,t)},x=function(e){u.ZP.debug&&(!e.evtType&&e.evt?(0,s.WY)("RWG","RECV",y(e.evt),JSON.stringify(e)):(0,s.WY)("RWG","RECV",e.evtType,JSON.stringify(e)))},F=function(e,t){u.ZP.debug&&(0,s.WY)("RWG","SENT",y(t),JSON.stringify(e))},N=function(e,t){u.ZP.debug&&(0,s.WY)("AVSocket","RECV",function(e){var t;return null!==(t=i[e])&&void 0!==t?t:a[e]}(t),JSON.stringify(e))},R=function(e,t){"string"!==typeof e&&e||!u.ZP.debug?e&&!_.find(Object.keys(e),(function(t){return(n=e[t])instanceof Element||n instanceof HTMLDocument;var n}))&&u.ZP.debug&&(0,s.WY)("AVSocket","SENT",S(t),JSON.stringify(e)):(0,s.WY)("AVSocket","SENT",S(t),e||"null")},P=function(e,t){u.ZP.debug&&(0,s.WY)("XMPP","RECV",t,JSON.stringify(e))},B=function(e,t){}})),63200:function(e,t,n){"use strict";n.r(t),n.d(t,{ZoomMtg:function(){return i.ZP}}),n(35666);var r=n(38274),i=n(86477),o=(n(40851),n(62850),n(52310),n(62773),n(96409),n(5037)),a=n(1641),s=n(79512);(0,r.YO)(r.cZ.start_entryJS),i.ZP.setZoomJSLib=a.x8,i.ZP.getZoomJSLib=a.yl,i.ZP.prepareWebSDK=o.zW,i.ZP.preLoadWasm=o.j7,i.ZP.getZoomWorkPath=a.H4,i.ZP.setLogLevel=s.Ub,"undefined"!==typeof window&&(window.ZoomMtg=i.ZP)},38274:function(e,t,n){"use strict";n.d(t,{A0:function(){return E},XH:function(){return S},YO:function(){return v},cR:function(){return _},cZ:function(){return d}});var r=n(88739),i=n(34778),o=n(39358),a=n(27961),s=n(30929),u=n(51684),c=["name"];function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"===typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h=(0,r.iZ)(["Performance","First Screen Performance Event"]),d={start_entryJS:"start_entryJS",start_PreviewJS:"start_PreviewJS",inPreview_hideLoading:"inPreview_hideLoading",inPreview_RWC_start:"inPreview_RWC_start",inPreview_RWC_end:"inPreview_RWC_end",inPreview_RWG_start:"inPreview_RWG_start",beenPreview_initAudioEncode:"beenPreview_initAudioEncode",beenPreview_initAudioDecode:"beenPreview_initAudioDecode",beenPreview_initVideoDecode:"beenPreview_initVideoDecode",beenPreview_initVideoEncode:"beenPreview_initVideoEncode",inPreview_audioBridgeDecodeSuccess:"inPreview_audioBridgeDecodeSuccess",inPreview_audioBridgeEncodeSuccess:"inPreview_audioBridgeEncodeSuccess",inPreview_onJoinFetch:"inPreview_onJoinFetch",inPreview_onJoin:"inPreview_onJoin",inPreview_onJoin_fromJBH:"inPreview_onJoin_fromJBH",start_InMeetingJS_fromPreview:"start_InMeetingJS_fromPreview",start_InMeetingJS:"start_InMeetingJS",inMeeting_RWC_start:"inMeeting_rwc_start",inMeeting_RWC_end:"inMeeting_RWC_end",inMeeting_RWG_start:"inMeeting_RWG_start",inMeeting_RWG_success:"inMeeting_RWG_success",inMeeting_hideLoading:"inMeeting_hideLoading",inMeeting_initAudioDecode:"inMeeting_initAudioDecode",inMeeting_initAudioEncode:"inMeeting_initAudioEncode",inMeeting_initVideoDecode:"inMeeting_initVideoDecode",inMeeting_initVideoEncode:"inMeeting_initVideoEncode",inMeeting_initSharingDecode:"inMeeting_initSharingDecode",inMeeting_initSharingEncode:"inMeeting_initSharingEncode",inMeeting_initVB:"inMeeting_initVB",inMeeting_initVBSuccess:"inMeeting_initVBSuccess",inMeeting_audioDecodeSuccess:"inMeeting_audioDecodeSuccess",inMeeting_audioEncodeSuccess:"inMeeting_audioEncodeSuccess",inMeeting_videoDecodeSuccess:"inMeeting_videoDecodeSuccess",inMeeting_videoEncodeSuccess:"inMeeting_videoEncodeSuccess",inMeeting_sharingDecodeSuccess:"inMeeting_sharingDecodeSuccess",inMeeting_sharingEncodeSuccess:"inMeeting_sharingEncodeSuccess",inMeeting_audioBridgeDecodeSuccess:"inMeeting_audioBridgeDecodeSuccess",inMeeting_audioBridgeEncodeSuccess:"inMeeting_audioBridgeEncodeSuccess",inMeeting_videoDecodeFirstFrame:"inMeeting_videoDecodeFirstFrame",inMeeting_failed:"inMeeting_failed"},p="continue",g=[[d.start_entryJS,d.start_PreviewJS,p,[[d.start_PreviewJS,d.inPreview_hideLoading],[d.inPreview_RWC_start,d.inPreview_RWC_end],[d.inPreview_RWC_end,d.inPreview_RWG_start],[d.beenPreview_initAudioEncode,d.inMeeting_audioEncodeSuccess],[d.beenPreview_initAudioDecode,d.inMeeting_audioDecodeSuccess],[d.beenPreview_initVideoDecode,d.inMeeting_videoDecodeSuccess],[d.beenPreview_initVideoEncode,d.inMeeting_videoEncodeSuccess],[d.inPreview_onJoinFetch,d.inPreview_onJoin],[d.inPreview_onJoin,d.start_InMeetingJS_fromPreview],[d.inPreview_onJoin_fromJBH,d.start_InMeetingJS_fromPreview],[d.start_InMeetingJS_fromPreview,d.inMeeting_sharingDecodeSuccess],[d.start_InMeetingJS_fromPreview,d.inMeeting_sharingEncodeSuccess],[d.start_InMeetingJS_fromPreview,d.inMeeting_audioBridgeDecodeSuccess],[d.start_InMeetingJS_fromPreview,d.inMeeting_audioBridgeEncodeSuccess]]],[d.start_entryJS,d.start_InMeetingJS,p,[[d.start_InMeetingJS,d.inMeeting_RWC_start],[d.inMeeting_RWC_start,d.inMeeting_RWC_end],[d.inMeeting_RWC_end,d.inMeeting_RWG_start],[d.inMeeting_RWG_start,d.inMeeting_RWG_success],[d.inMeeting_RWG_success,d.inMeeting_hideLoading],[d.inMeeting_initAudioDecode,d.inMeeting_audioDecodeSuccess],[d.inMeeting_initAudioEncode,d.inMeeting_audioEncodeSuccess],[d.inMeeting_initVideoDecode,d.inMeeting_videoDecodeSuccess],[d.inMeeting_initVideoEncode,d.inMeeting_videoEncodeSuccess],[d.inMeeting_initSharingDecode,d.inMeeting_sharingDecodeSuccess],[d.inMeeting_initSharingEncode,d.inMeeting_sharingEncodeSuccess],[d.inMeeting_initAudioDecode,d.inMeeting_audioBridgeDecodeSuccess],[d.inMeeting_initAudioEncode,d.inMeeting_audioBridgeEncodeSuccess],[d.inMeeting_videoDecodeSuccess,d.inMeeting_videoDecodeFirstFrame]]],[d.inMeeting_initVB,d.inMeeting_initVBSuccess]],m=[[d.start_entryJS,p],[d.start_entryJS,d.start_InMeetingJS,p,[[d.start_InMeetingJS,d.inMeeting_RWC_start],[d.inMeeting_RWC_start,d.inMeeting_RWC_end],[d.inMeeting_RWC_end,d.inMeeting_RWG_start],[d.inMeeting_RWG_start,d.inMeeting_RWG_success],[d.inMeeting_RWG_success,d.inMeeting_hideLoading]]]],v=function(e){performance.mark(e)},E=function(e){performance.clearMarks(e)},_=function(e,t){try{var n=e;Array.isArray(n)&&(n=n.find((function(e){return!!performance.getEntriesByName(e).length})));var r=t;return Array.isArray(r)&&(r=r.find((function(e){return!!performance.getEntriesByName(e).length}))),performance.measure("".concat(n," to ").concat(r),n,r)}catch(i){return null}},y=function(e){var t=[];return function e(n){n.forEach((function(n){var r,i,o=l(n,4),a=o[0],s=o[1],u=o[2],c=o[3],f=_(a,s);switch(u){case p:f&&c&&c.length>0&&e(c);break;case"pickShorterOne":if(c&&2===c.length){var h=l(c,2),d=h[0],g=h[1];i=f,f=(r=_(d,g))&&i?r.duration>i.duration?i:r:null}}f&&t.push(f)}))}(e),t.sort((function(e,t){return e.startTime-t.startTime})).map((function(e){var t=e.name,n=e.startTime,r=e.duration;return{name:t,startTime:parseInt(n),duration:parseInt(r)}}))},S=function(){try{var e=y(g);(0,s.Bc)(u.ZP.signature)&&(e=y(m));var t=[];!function(e){(0,i.p8)(e.reduce((function(e,t){var n=t.name,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,c);return e[n]=r,e}),{}))}(e),function(e,t){t.forEach((function(t){e.push(h.log(JSON.stringify(t)))}))}(t,e),(0,o.h)(),(0,a.e)(),Promise.all(t).then((function(){(0,r.pP)()})),performance.clearMarks(),performance.clearMeasures()}catch(n){h.print(n)}}},50183:function(e,t,n){"use strict";n.d(t,{$u:function(){return r},A7:function(){return o}});var r={join:10,callOut:10,inviteByPhone:10,inviteCRCDevice:10,cancelInviteCRCDevice:1,mute:1,muteAll:5,rename:5,expel:5,record:5,focusMode:5,lockMeeting:5,putOnHold:.1,admitAll:1,switchToClient:30,setCustomizedPollingUrl:10,enableBlur:1,lockBlur:1,lockVirtualBackground:1,setVirtualBackground:1,updateVirtualBackgroundList:1,makeHost:2,makeCoHost:2,withdrawCoHost:2,reclaimHost:5,claimHostWithHostKey:2},i=!1;i||Object.keys(r).forEach((function(e){r[e]=1e3*r[e]})),i=!0;var o={join:!0,callOut:!0,inviteByPhone:!0,inviteCRCDevice:!0,cancelInviteCRCDevice:!0,mute:!0,muteAll:!0,rename:!0,expel:!0,record:!0,focusMode:!0,lockMeeting:!0,putOnHold:!0,switchToClient:!0,setCustomizedPollingUrl:!0,enableBlur:!0,lockBlur:!0,lockVirtualBackground:!0,setVirtualBackground:!0,updateVirtualBackgroundList:!0,makeHost:!0,makeCoHost:!0,withdrawCoHost:!0,reclaimHost:!0,claimHostWithHostKey:!0}},30929:function(e,t,n){"use strict";n.d(t,{Bc:function(){return V},Fr:function(){return S},G6:function(){return E},GT:function(){return y},H5:function(){return G},N$:function(){return q},Ob:function(){return B},QH:function(){return D},S7:function(){return w},Ue:function(){return d},Vk:function(){return b},XT:function(){return W},YY:function(){return H},Z6:function(){return p},ZU:function(){return _},aY:function(){return h},bh:function(){return z},eP:function(){return I},h$:function(){return L},kw:function(){return k},lS:function(){return M},le:function(){return R},oH:function(){return g},o_:function(){return P},qC:function(){return m},qF:function(){return F},tB:function(){return U},w1:function(){return v},yY:function(){return K}});var r=n(95746),i=n(70445),o=n(51684),a=n(61451),s=n(78295),u=n(50183),c=n(86477);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"===typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t,n,r){var i={method:t,status:!0,errorCode:c.ZP.errorCodes.SUCCESS,errorMessage:null,result:r&&null!==r?r:null};"undefined"!==typeof n&&n&&e.success?e.success(i):e.detail&&"success"in e.detail&&e.detail.success(i)}function d(e,t,n,r){var i={method:t,status:!1,errorCode:c.ZP.errorCodes.FAIL,errorMessage:n,result:null};"undefined"!==typeof r&&r?e.error(i):e.detail.error(i)}function p(e,t,n,r,i){var o=window.screenX+(i.width-n)/2,a=window.screenY+(i.height-r)/2;return window.open(e,t,"toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=".concat(n,", height=").concat(r,", top=").concat(a,", left=").concat(o))}function g(e){return 0!==e.length}function m(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(e[n])));return t.join("&")}function v(){var e=navigator.userAgent.toLowerCase();return!/opera|opr\/[\d]+/.test(e)&&/(msie|trident)/.test(e)}var E=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)};function _(e,t){var n=[],r="",i="";return e.forEach((function(e){var o=Object.assign({type:"customer",url:"",text:"",icon:""},e);if("zoom"===o.type)o.text||(o.text="".concat((0,a.NN)("Sign in","apac.sign_in")," Zoom")),o.icon||(o.icon="login-btn-zoom");else if("google"===o.type)o.text||(o.text="".concat((0,a.NN)("Sign in","apac.sign_in")," Google")),o.icon||(o.icon="login-btn-google");else if("facebook"===o.type)o.text||(o.text="".concat((0,a.NN)("Sign in","apac.sign_in")," Facebook")),o.icon||(o.icon="login-btn-facebook");else if("okta"===o.type)o.text||(o.text="".concat((0,a.NN)("Sign in","apac.sign_in")," Okta")),o.icon||(o.icon="login-btn-okta");else if("sso"===o.type)o.text||(o.text="".concat((0,a.NN)("Sign in","apac.sign_in")," SSO")),o.icon||(o.icon="login-btn-sso");else if("signup"===o.type)return r=o.text?o.text:(0,a.NN)("Sign Up Free","apac.sign_up_free"),void(i=o.url?o.url:"https://".concat(t,"/signup"));n.push(o)})),{result:n,signupText:r,signupUrl:i}}var y=function(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode("0x".concat(t))})))},S=function(){return(0,a.oK)()?{width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}:{width:window.innerWidth,height:window.innerHeight}},D=function(e){if("string"!==typeof e&&-1===e.indexOf("@"))return"";var t=l(e.split("@"),2),n=t[0],r=t[1],i=n.substr(0,3);return"".concat(i,"***@").concat(r)};function w(){var e=navigator.userAgent.toLowerCase();if(e.indexOf("firefox")>0)return e.match(/firefox\/[\d.]+/gi).toString();if(e.indexOf("safari")>0&&e.indexOf("chrome")<0){var t,n="safari/unknow";return e.indexOf("ipad")>0?n=e.match(/ipad; cpu os (\d+_\d+)/gi).toString().replace("ipad; cpu os ","ipados/"):(n=e.match(/version\/[\d.]+/gi),t=e.match(/safari\/[\d.]+/gi),n&&(n=n.toString().replace("version","safari")),t&&(n=t.toString().replace("version","safari"))),n}if(e.indexOf(" opr")>0){var r=e.match(/opr\/[\d.]+/gi);return r.toString().replace("opr","opera")}var i=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return"ie/".concat(parseInt(e.substring(t+5,e.indexOf(".",t)),10));if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return"ie/".concat(parseInt(e.substring(n+3,e.indexOf(".",n)),10))}var r=e.indexOf("Edge/");return r>0&&"edge/".concat(parseInt(e.substring(r+5,e.indexOf(".",r)),10))}();return i||(e.indexOf("chrome")>0?e.match(/chrome\/[\d.]+/gi).toString():"other/")}function b(){var e,t=navigator.userAgent,n=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(n[1])?(e=/\brv[ :]+(\d+)/g.exec(t)||[],"IE ".concat(e[1]||"")):"Chrome"===n[1]&&(e=t.match(/\b(OPR|Edge)\/(\d+)/))&&e.length?e.slice(1).join(" ").replace("OPR","Opera"):(n=n[2]?[n[1],n[2]]:[navigator.appName,navigator.appVersion,"-?"],(e=t.match(/version\/(\d+)/i))&&n.splice(1,1,e[1]),T()&&(n[0]="ios-safari"),n.join(""))}function A(){return/android/i.test(navigator.userAgent)}var C=function(){return navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform)};function T(){var e=navigator.userAgent;return/iPad|iPhone|iPod/i.test(e)||C()}function I(){return T()?"iOS/iPadOS"+function(){var e,t,n=null===(e=navigator.userAgent.toLowerCase().match(/os (.*?) like mac os/))||void 0===e?void 0:e[1];return(null===n||void 0===n||null===(t=n.match(/^\d+/))||void 0===t?void 0:t[0])||"0"}():A()?"Android"+function(){var e,t,n=null===(e=navigator.userAgent.toLowerCase().match(/android (.*?);/))||void 0===e?void 0:e[1];return(null===n||void 0===n||null===(t=n.match(/^\d+/))||void 0===t?void 0:t[0])||"0"}():null}var O=function(){return/edge\/(\d+)/i.test(navigator.userAgent)},x=function(){return/firefox/i.test(navigator.userAgent)};function F(){var e,t,n,r;return T()?(t=Number(null===(n=I())||void 0===n||null===(n=n.match(/\d+$/))||void 0===n?void 0:n[0]))>=15:A()?(t=Number(null===(r=I())||void 0===r||null===(r=r.match(/\d+$/))||void 0===r?void 0:r[0]))>=10:(t=Number(null===(e=b().match(/\d+$/))||void 0===e?void 0:e[0]),!!((0,a.i7)()&&t>=69)||!!(E()&&t>=11)||!!(x()&&t>=56)||!!(O()&&t>=79))}var N=function(){return navigator.userAgent.match(/Android/i)};function R(){return N()||(0,a.oK)()}function P(e){return e?{userId:e.userId||"",userName:e.displayName||"",muted:e.muted,audio:e.audio,isHost:e.isHost,isCoHost:e.bCoHost||"",isGuest:e.isGuest,isHold:e.bHold,persistentID:e.userGUID||"",participantUUID:e.userGUID||"",customerKey:e.customerKey||""}:{}}function B(e,t){return t&&t.some((function(t){return t.userId===e.userId}))}function L(e){if(e in u.$u&&u.A7[e])return!0;if(c.ZP.meetingConfig.debug){var t=(0,s.Rf)(c.ZP.errorCodes.FREQUENT_CALL);return console.log("".concat(e," ").concat(t.errorCode," ").concat(t.errorMessage)),!1}}function M(e){u.A7[e]=!1,setTimeout((function(){u.A7[e]=!0}),u.$u[e])}function H(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n={participantId:e.userId||"",displayName:e.displayName||"",muted:e.muted,audio:e.audio,isHost:e.isHost,isCoHost:e.bCoHost||"",isGuest:e.isGuest,isHold:e.bHold,persistentID:e.userGUID||"",participantUUID:e.userGUID||"",customerKey:e.customerKey||""};return t&&(n.participantStatus=e.bid?"joined":"assigned"),n}return{}}var k=function(e,t,n,r,i){var o=/(?!:\/\/)([a-zA-Z0-9-]+\.)?([a-zA-Z0-9]+\.)?([a-zA-Z0-9][a-zA-Z0-9-]+)\.([a-zA-Z]{2,6})\/[j,m]\/([\d,\w]+)\??(pwd=[\w,\d,-]+)?/,a="",s="";if(t.match(o)){var u=l((a="https://".concat(t.match(o)[0])).split("?pwd="),2);u[0],s=u[1]}else a="https://".concat(e,"/j/").concat(n);if(r&&i){a=s?(a=r.replace("{0}",n)).replace("{1}",s):a.replace("{1}","");var c=function(e,t){var n=e.match(/https?:\/\/((?!(\\r|\\n)+).)+/g);return null===n||void 0===n?void 0:n.find((function(e){return e.indexOf("".concat(t))>-1||e.indexOf("/my/")>-1}))}(t,n);return{joinURL:a,invitePwd:s,newInviteEmail:t.replaceAll(c,a).replaceAll(c,a)}}return{joinURL:a,invitePwd:s,newInviteEmail:t}};function j(e){var t=e.split("."),n=t.length>1?t[1]:"";if(!n)return{role:0};var r=n.replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(window.atob(r).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(i)}function U(e){var t=j(e).role;return 1===t||"1"===t}function W(e){var t=j(e).role;return 0===t||"0"===t}function V(e){if(!(0,a.SL)()||!e)return!1;var t=j(e).role;return 5===t||"5"===t}function G(e){var t=e.jmak,n=e.meetingData,o=e.meetingOpt,a=e.mid,s=e.userEmail;if(t&&n&&o){var u=n.meetingtoken,c=n.participantId,l=n.zoomId;a===n.mid&&(easyStore.easySet("userEmail",s,i.v.sessionStorage),easyStore.easySet(r.pg.webClient_meetingToken,u,i.v.sessionStorage),easyStore.easySet("participantId",c,i.v.sessionStorage),easyStore.easySet("zoomId",l,i.v.sessionStorage),easyStore.easySet(r.pg.webClient_opt,o,i.v.sessionStorage))}}var K=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];null!==o.ZP&&void 0!==o.ZP&&o.ZP.leaveRedirect&&null!==o.ZP&&void 0!==o.ZP&&o.ZP.leaveUrl&&setTimeout((function(){window.location.href=o.ZP.leaveUrl}),500),e&&setTimeout((function(){window.location.href=o.ZP.leaveUrl}),500)},z=function(){return(0,a.SL)()&&o.ZP.jmak},q=function(e){var t=e;return e.toString().startsWith("http://")||e.toString().startsWith("http://")||e.toString().startsWith("https://")?t:t=e.toString().startsWith("/")?window.location.origin+e:e?"https://".concat(t):window.location.origin}},1641:function(e,t,n){"use strict";n.d(t,{C5:function(){return x},Cf:function(){return N},H4:function(){return A},TO:function(){return w},X8:function(){return v},Xq:function(){return F},ZO:function(){return T},_1:function(){return L},_k:function(){return B},ft:function(){return P},ny:function(){return I},qx:function(){return C},x8:function(){return D},y8:function(){return O},yl:function(){return R}});var r=n(51684);function i(e){return i="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},i(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u="production",c="https://source.zoom.us/3.5.1/lib/ui",l="https://source.zoom.us/3.5.1/lib",f="/av",h="".concat("https://source.zoom.us/3.5.1/lib","/audio"),d="".concat("https://source.zoom.us/3.5.1/lib","/lang"),p="".concat("https://source.zoom.us/3.5.1/lib","/image"),g="".concat("https://source.zoom.us/3.5.1/lib","/av/vb-resource"),m={login:{"zoomdev.us":"devapps.zoomdev.us","zoomdev.com.cn":"devapps.zoomdev.us","dev-integration.zoomdev.us":"devapps.zoomdev.us","deva.zoomdev.us":"deva.zoomdev.us","local.zoom.us":"deva.zoomdev.us","devep.zoomdev.us":"devepapps.zoomdev.us","zoom.us":"applications.zoom.us","go.zoom.us":"goapplications.zoom.us",default:"applications.zoom.us"},webEndpoint:"zoom.us"},v=function(){return m},E="".concat(l).concat(f,"/js_media.min.js"),_={audioWorkerPath:"".concat(l).concat(f,"/js_audio_process.min.js"),audioWorkletPath:"".concat(l).concat(f,"/js_audio_worklet.min.js"),audioWorkletProcessPath:"".concat(l).concat(f,"/js_audio_worklet_process.min.js"),audioWorkletSIMDPath:"".concat(l).concat(f,"/js_audio_worklet_simd.min.js"),audioLevelWorkletPath:"".concat(l).concat(f,"/js_audio_level_worklet_process.min.js"),sharingAudioWorkletPath:"".concat(l).concat(f,"/js_sharing_audio_worklet.min.js"),audioWasm:"".concat(l).concat(f,"/audio.encode.wasm"),videoWorkerPath:"".concat(l).concat(f,"/video_s.min.js"),videoMtWorkerPath:"".concat(l).concat(f,"/video_m.min.js"),videoWasm:"".concat(l).concat(f,"/video.decode.wasm"),videoMtWasm:"".concat(l).concat(f,"/video.mt.wasm"),sharingWorkerPath:"".concat(l).concat(f,"/sharing_s.min.js"),sharingMtWorkerPath:"".concat(l).concat(f,"/sharing_m.min.js"),videoSIMDWorkerPath:"".concat(l).concat(f,"/video_simd.min.js"),videoSIMDWasm:"".concat(l).concat(f,"/video.simd.wasm"),sharingSIMDWorkerPath:"".concat(l).concat(f,"/sharing_simd.min.js"),videoMSIMDWasm:"".concat(l).concat(f,"/video.mtsimd.wasm"),sharingMSIMDWorkerPath:"".concat(l).concat(f,"/sharing_mtsimd.min.js"),videoMSIMDWorkerPath:"".concat(l).concat(f,"/video_mtsimd.min.js"),audioSIMDWorkletPath:"".concat(l).concat(f,"/audio_simd.min.js"),audioSIMDWasm:"".concat(l).concat(f,"/audio.simd.wasm"),audioSipWorkerPath:"".concat(l).concat(f,"/websipclient.min.js"),vsmiworkerpath:"".concat(l).concat(f,"/video_share_mtsimd.min.js")},y={encode:_.audioWasm,decode:_.videoWasm,videoMt:_.videoMtWasm,videoSIMD:_.videoSIMDWasm};function S(e){return{audioWorkerPath:"".concat(e,"/js_audio_process.min.js"),audioWorkletPath:"".concat(e,"/js_audio_worklet.min.js"),audioWorkletProcessPath:"".concat(e,"/js_audio_worklet_process.min.js"),audioWorkletSIMDPath:"".concat(e,"/js_audio_worklet_simd.min.js"),audioLevelWorkletPath:"".concat(e,"/js_audio_level_worklet_process.min.js"),sharingAudioWorkletPath:"".concat(e,"/js_sharing_audio_worklet.min.js"),audioWasm:"".concat(e,"/audio.encode.wasm"),videoWorkerPath:"".concat(e,"/video_s.min.js"),videoMtWorkerPath:"".concat(e,"/video_m.min.js"),videoWasm:"".concat(e,"/video.decode.wasm"),videoMtWasm:"".concat(e,"/video.mt.wasm"),sharingWorkerPath:"".concat(e,"/sharing_s.min.js"),sharingMtWorkerPath:"".concat(e,"/sharing_m.min.js"),videoSIMDWorkerPath:"".concat(e,"/video_simd.min.js"),videoSIMDWasm:"".concat(e,"/video.simd.wasm"),sharingSIMDWorkerPath:"".concat(e,"/sharing_simd.min.js"),videoMSIMDWasm:"".concat(e,"/video.mtsimd.wasm"),sharingMSIMDWorkerPath:"".concat(e,"/sharing_mtsimd.min.js"),videoMSIMDWorkerPath:"".concat(e,"/video_mtsimd.min.js"),audioSIMDWorkletPath:"".concat(e,"/audio_simd.min.js"),audioSIMDWasm:"".concat(e,"/audio.simd.wasm"),audioSipWorkerPath:"".concat(e,"/websipclient.min.js"),vsmiworkerpath:"".concat(e,"/video_share_mtsimd.min.js")}}function D(e,t,n){l=e||l,f=t||f,c=function(e){var t=e.split("/");return t.pop(),t.join("/")}(e)+"/ui",E="".concat(l).concat(f,"/js_media.min.js"),_=a({jsmediaWorkerPath:E},S("".concat(l).concat(f))),h="".concat(l,"/audio"),d="".concat(l,"/lang"),p="".concat(l,"/image"),g="".concat(l).concat(f,"/vb-resource"),y={encode:_.audioWasm,decode:_.videoWasm,videoMt:_.videoMtWasm,videoSIMD:_.videoSIMDWasm}}function w(e,t){var n=e;_=a({jsmediaWorkerPath:E},S(n)),g="".concat(n,"/vb-resource"),y={encode:_.audioWasm,decode:_.videoWasm,videoMt:_.videoMtWasm,videoSIMD:_.videoSIMDWasm}}function A(){return _}function C(){return y}function T(){return f}function I(){return h}function O(){return d}function x(){return u}function F(){return p}function N(){return g}function R(){return l}function P(e){}function B(){return r.ZP.externalLinkPage}function L(){return c+"/"}D("https://source.zoom.us/3.5.1/lib","/av")},5037:function(e,t,n){"use strict";n.d(t,{j7:function(){return h},ve:function(){return l},zW:function(){return d}}),n(40851),n(62850),n(52310),n(62773),n(96409);var r=n(61451),i=n(1641),o=n(86477),a=n(7594);function s(e){return s="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},s(e)}function u(){}u.prototype={threads:function(){return new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,4,1,3,1,1,10,11,1,9,0,65,0,254,16,2,0,26,11]),!1},simd:function(){try{return WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,9,1,7,0,65,0,253,15,26,11]))}catch(e){return console.log("you browser don't support WebAssembly"),!1}},wasm:function(){return function(){try{if("object"===("undefined"===typeof WebAssembly?"undefined":s(WebAssembly))&&"function"===typeof WebAssembly.instantiate){var e=new WebAssembly.Module(Uint8Array.of(0,97,115,109,1,0,0,0));if(e instanceof WebAssembly.Module)return new WebAssembly.Instance(e)instanceof WebAssembly.Instance}}catch(t){return}return!1}()}};var c=new u;function l(e,t,n,r){var i=document.createElement("script");i.type="text/javascript",n&&(i.id=n),i.readyState?i.onreadystatechange=function(){"loaded"!==i.readyState&&"complete"!==i.readyState||(i.onreadystatechange=null,"function"===typeof t&&t())}:(i.onload=function(){"function"===typeof t&&t()},i.onerror=function(){"function"===typeof r&&r()}),i.src=e,"function"===typeof document.body.append?document.getElementsByTagName("head")[0].append(i):document.getElementsByTagName("head")[0].appendChild(i)}var f=!1;function h(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!f){f=!0;var n,a,s,u,l=e||(0,i.qx)();(0,r.xm)()&&c.wasm()?("string"===typeof l?(n="".concat(l,"/audio.encode.wasm"),a="".concat(l,"/video.decode.wasm"),s="".concat(l,"/video.mt.wasm"),u="".concat(l,"/video.simd.wasm")):(n=l.encode,a=l.decode,s=l.videoMt,u=l.videoSIMD),h(n,"audio"),c.simd()?h(u,"video"):c.threads()?h(s,"video"):h(a,"video")):o.ZP.wasm={audio:"unnecessary",video:"unnecessary"}}function h(e,n){var r;(r=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest).onreadystatechange=function(){if(4===this.readyState&&200===this.status)try{"audio"===n&&(o.ZP.wasm=Object.assign(o.ZP.wasm,{audio:!0})),"video"===n&&(o.ZP.wasm=Object.assign(o.ZP.wasm,{video:!0})),t&&console.log("pre load wasm success:",e)}catch(r){t&&console.warn("pre load wasm fail:",e)}},r.open("GET",e,!0),r.send()}}function d(e,t,n){document.querySelector("#zmmtg-root")||(0,r.Ox)(),(0,a.x)();var o,s=(0,i.yl)(),u=(0,i.ZO)(),c=t||"".concat(s).concat(u,"/../webim.min.js");o=n||"".concat(s).concat(u,"/js_media.min.js");var f=(0,i._1)()+"zoom-meetingsdk.css";if(document.getElementById("zoom-meetingsdk-css")||document.querySelector('link[href*="zoom-meetingsdk.css"]')||function(e,t){var n=document.createElement("link");n.href=e,n.type="text/css",n.rel="stylesheet",n.media="screen,print",t&&(n.id=t),"function"===typeof document.body.append?document.getElementsByTagName("head")[0].append(n):document.getElementsByTagName("head")[0].appendChild(n)}(f,"zoom-meetingsdk-css"),document.getElementById("zoom-meetingsdk-webim")||l(c,(function(){var e=new CustomEvent("loadWebIM",null);window.dispatchEvent(e),console.log("success load webim")}),"zoom-meetingsdk-webim",(function(){console.log("prepareWebSDK: error load webim",c)})),document.getElementById("zoom-meetingsdk-jsmedia")||l(o,(function(){console.log("success load jsmedia")}),"zoom-meetingsdk-jsmedia",(function(){console.log("prepareWebSDK: error load webim",o)})),e&&e instanceof Array&&e.forEach((function(e){!function(e){var t=document.createElement("meta");t.setAttribute("http-equiv","origin-trial"),t.setAttribute("content",(0,r.vD)(e)),"function"===typeof document.body.append?document.head.append(t):document.head.appendChild(t)}(e)})),window.crossOriginIsolated)window.crossOriginIsolated&&!(0,r.i7)()&&console.log("Your browser doesn't support gallery view.\n To use gallery view, use Chrome/Chromium browsers and SharedArrayBuffer.\n See for details: https://developers.zoom.us/docs/meeting-sdk/web/gallery-view/");else{if((0,r.s2)())return;(0,r.i7)()?console.log("To use gallery view on Chrome/Chromium browsers, SharedArrayBuffer is required.\n See for details: https://developers.zoom.us/docs/meeting-sdk/web/gallery-view/"):console.log("Your browser doesn't support gallery view.\n To use gallery view, use Chrome/Chromium browsers and SharedArrayBuffer.\n See for details: https://developers.zoom.us/docs/meeting-sdk/web/gallery-view/")}window.onbeforeunload=function(){return(0,r.Zn)(),null}}},86477:function(e,t,n){"use strict";n.d(t,{Px:function(){return a.Px},ZP:function(){return f},ig:function(){return a.ig}});var r=n(71222),i=n(61451),o=n(5037),a=n(18227);window.i18n||(window.i18n=new r.l);var s=[],u="",c=Object.assign({},a.Dl,{generateSDKSignature:a.Vf,checkSystemRequirements:a.IY,checkFeatureRequirements:a.DN,inMeetingServiceListener:a.RJ,getWebSDKVersion:a.jd,preLoadWasm:o.j7,prepareWebSDK:o.zW,i18n:(void 0===window.i18n&&(window.i18n=new r.l({})()),window.i18n)}),l=new Proxy(c,{get:function(e,t){return"init"===t||"join"===t||"joinTest"===t?function(e){return u?u[t](e):("init"===t&&s.push((n.p=(0,i.sE)(),n.e(986).then(n.bind(n,49411)))),Promise.all(s).then((function(n){var r=n[n.length-1],i=null===r||void 0===r?void 0:r.ZoomMtg;return u=i,r.initWebSDKTask(),i[t](e)})))}:Reflect.get(e,t,l)}});l.meetingConfig=a.hu,l.currentMeetingInfo=a.g4,l.methodParams=a.XM,l.errorCodes=a.rS,l.errorCodesReason=a.Ik;var f=l},18227:function(e){function t(t,n,r){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t,n){"use strict";n.d(t,{DN:function(){return S},Dl:function(){return D},IY:function(){return y},Ik:function(){return F},Px:function(){return w},RJ:function(){return v},TE:function(){return m},Vf:function(){return E},XM:function(){return O},g4:function(){return T},hu:function(){return C},ig:function(){return A},jd:function(){return p},rS:function(){return x}});var r,i=n(31166),o=n(30929),a=n(61451),s=n(95746),u=n(96421),c=n(78295),l=n(67520),f=n(10398);function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e){return d="function"==typeof Symbol&&"symbol"==b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},d(e)}function p(){return["3.5.1","3.5.1_20240312_ES6_release - {date}",1505]}var g={};function m(e,t){if("string"===typeof e&&"function"===typeof t){var n=document.getElementById("zmmtg-root"),r=function(e){var n;t(null===e||void 0===e||null===(n=e.detail)||void 0===n?void 0:n.data)};e in g&&n.removeEventListener(e,g[e]),g[e]=r,n.addEventListener(e,r)}}function v(e,t){"onWaitingPannel"!==e&&"onPreviewPannel"!==e&&"onSwitchNative"!==e&&"onMeetingSuccess"!==e&&"onOptionUpdate"!==e&&"onAudioQos"!==e&&"onVideoQos"!==e&&"onShareQos"!==e&&"onClaimStatus"!==e&&"onNetworkQualityChange"!==e&&"onMediaCapturePermissionChange"!==e&&"onMediaCaptureStatusChange"!==e&&"onRoomStatusChange"!==e&&"onFocusModeStatusChange"!==e?"string"===typeof e&&"function"===typeof t?document.getElementById("zmmtg-root").addEventListener(e,(function(n){var r=sessionStorage.getItem(s.pg.isSupportInMeetingListener),i=sessionStorage.getItem(s.pg.inMeetingListenerBeHold);r&&"false"!==r||e!==u.xz&&e!==u.e1?r&&n&&"detail"in n&&n.detail.data?i?"onMeetingStatus"===e?t(n.detail.data):e===u.e1||e===u.Ag||e===u.uE?t(n.detail.data.reason):console.log(n.detail.data):t(n.detail.data):i||"onMeetingStatus"!==e||t(n.detail.data):t("This api dont support webinar")})):(console.log("inMeetingServiceListener invalid parameter: "),console.log(e,t)):m(e,t)}function E(e){!function(e){"undefined"!==typeof e&&("function"!==typeof e.success&&(e.success=ZoomMtg.successCallBack),"function"!==typeof e.error&&(e.error=ZoomMtg.errorCallBack))}(e);var t,n=e.sdkKey,r=e.sdkSecret,o=e.meetingNumber,a=e.role,s=Math.round((new Date).getTime()/1e3)-30,u={appKey:n,sdkKey:n,iat:s,exp:s+7200,mn:o,role:a},c=JSON.stringify({alg:"HS256",typ:"JWT"}),l=JSON.stringify(u);return t=i.fs.jws.JWS.sign("HS256",c,l,r),"function"===typeof e.success&&t&&e.success(t),"function"!==typeof e.error||t||e.error(t),t}function y(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=(0,o.S7)().toString();t=t.substring(0,1).toUpperCase()+t.substring(1);var n=/(\w+)\/(.*)/.exec(t),r={viewSharing:["Chrome","Firefox","Ie","Safari","Opera","Edge Chromium"],screenShare:["Chrome","Edge Chromium"],computerVideo:["Chrome","Firefox","Safari","Opera","Edge Chromium"],computerAudio:[],callIn:["all"],callOut:["all"],chat:["all"],closedCaption:["all"],QA:["all"],POLLING:["all"],BREAKOUT:["all"],GALLERY:["Chrome","Edge Chromium"]};r.computerAudio="function"===typeof AudioWorklet?["Chrome","Firefox","Edge Chromium"]:["Chrome","Edge Chromium"];var i=function(e,t){var n=[];return Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}),Object.entries(t).forEach((function(t){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"===typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t,2),i=r[0],o=r[1];o.includes?o.includes(e)&&n.push(i):function(e,t){var n=!1;return e.indexOf(void 0)>=0&&(n=!0),n}(e)&&n.push(i),"all"===o[0]&&n.push(i)})),n}(n[1],r);return console.log("checkSystemRequirements is no longer maintained, please use checkFeatureRequirements to get the supported/unsupported features on your platform."),"WebSocket"in window||"MozWebSocket"in window?(function(){try{if("object"===("undefined"===typeof WebAssembly?"undefined":d(WebAssembly))&&"function"===typeof WebAssembly.instantiate){var e=new WebAssembly.Module(Uint8Array.of(0,97,115,109,1,0,0,0));if(e instanceof WebAssembly.Module)return new WebAssembly.Instance(e)instanceof WebAssembly.Instance}}catch(t){return!1}return!1}()||e&&console.log("WebAssembly is not supported on current browser, Don't support 2AV"),e&&console.log("Zoom support you browser.",t),e&&console.log("You browser support below features"),{browserInfo:n[0],browserName:n[1],browserVersion:n[2],features:i}):(e&&console.log("websocket is not supported on current browser, please check...",t),e&&console.log("Zoom don't support you browser, please check..."),!1)}function S(){var e=[],t=[];!(0,o.le)()&&((0,a.i7)()||(0,a.un)())&&(0,o.qF)()?e.push("Virtual Background"):t.push("Virtual Background"),!(0,o.le)()&&(0,a.i7)()&&(0,o.qF)()?e.push("Share Chrome Tab Audio"):t.push("Share Chrome Tab Audio"),!(0,o.le)()&&(0,o.qF)()||(0,o.le)()&&(0,a.QR)()?e.push("720p Video (send)"):t.push("720p Video (send)"),!(0,o.le)()&&(0,o.qF)()||(0,o.le)()&&(0,o.qF)()?e.push("720p Video (receive)"):t.push("720p Video (receive)"),!(0,o.le)()&&((0,a.i7)()||(0,a.vU)()||(0,a.un)())&&(0,o.qF)()?e.push("Screen Share (send)"):t.push("Screen Share (send)"),!(0,o.le)()&&((0,a.i7)()||(0,a.vU)()||(0,a.un)())&&(0,o.qF)()||(0,a.G6)()&&(0,a.p0)()||(0,a.vq)()?e.push("Gallery view"):t.push("Gallery view"),!(0,o.le)()&&(0,o.qF)()?e.push("Remote Control"):t.push("Remote Control"),(0,o.qF)()?(e.push("Audio"),e.push("Video"),e.push("Screen Share (receive)"),e.push("In-Meeting Chat"),e.push("Closed Captioning"),e.push("Live Transcription"),e.push("Live Translation"),e.push("Cloud Recording"),e.push("Call Out (PSTN)"),e.push("Call In (PSTN)"),e.push("Waiting Room"),e.push("Breakout Rooms"),e.push("Webinar Q&A"),e.push("RTMP Live Streaming"),e.push("Encryption")):(t.push("Audio"),t.push("Video"),t.push("Screen Share (receive)"),t.push("In-Meeting Chat"),t.push("Closed Captioning"),t.push("Live Transcription"),t.push("Live Translation"),t.push("Cloud Recording"),t.push("Call Out (PSTN)"),t.push("Call In (PSTN)"),t.push("Waiting Room"),t.push("Breakout Rooms"),t.push("Webinar Q&A"),t.push("RTMP Live Streaming"),t.push("Encryption")),(0,o.qF)()&&t.push("Be remote controlled");var n=(0,o.le)()?(0,o.eP)():(0,o.Vk)();return t.length>1&&console.log("Some features are not supported on your platform, please refer to https://developers.zoom.us/docs/meeting-sdk/web/#browser-support"),{platform:n,supportFeatures:e,unSupportFeatures:t}}var D={generateSDKSignature:function(){},init:function(){},join:function(){},joinTest:function(){},inMeetingServiceListener:function(){},shareSource:function(){},showInviteFunction:function(){},showCalloutFunction:function(){},showMeetingHeader:function(){},showRecordFunction:function(){},showJoinAudioFunction:function(){},showPureSharingContent:function(){},getAttendeeslist:function(){},getBreakoutRooms:function(){},getCurrentUser:function(){},getCurrentMeetingInfo:function(){},subscribeStatisticData:function(){},unSubscribeStatisticData:function(){},callOut:function(){},inviteByPhone:function(){},inviteCRCDevice:function(){},cancelInviteCRCDevice:function(){},mute:function(){},muteAll:function(){},rename:function(){},expel:function(){},record:function(){},lockMeeting:function(){},leaveMeeting:function(e){null!==e&&void 0!==e&&e.success&&"function"===typeof(null===e||void 0===e?void 0:e.success)&&(null===e||void 0===e||e.success("You are leave meeting by leaveMeeting(api)")),(0,c.MJ)(u.e1,{data:{reason:"You are leave meeting by leaveMeeting(api)"}}),(0,c.MJ)(u.r0,{data:{meetingStatus:3}}),_.isEmpty(l.y.avSocket)||(l.y.avSocket.sendSocket(f.END_MEDIA,{}),l.y.avSocket.closeSocket()),(0,o.yY)()},endMeeting:function(){},makeHost:function(){},makeCoHost:function(){},withdrawCoHost:function(){},reclaimHost:function(){},claimHostWithHostKey:function(){},putOnHold:function(){},switchToClient:function(){},successCallBack:function(){},errorCallBack:function(){},waitingPannelListener:function(){},reRender:function(){},checkSystemRequirements:function(){},checkFeatureRequirements:S,setCustomizedPollingUrl:function(){},getWebSDKVersion:function(){},getVirtualBackgroundStatus:function(){},isSupportVirtualBackground:function(){},lockVirtualBackground:function(){},setVirtualBackground:function(){},updateVirtualBackgroundList:function(){},mediaCapturePermission:function(){},mediaCapture:function(){},changeRedirectUrl:function(){},setCustomizeWaitingRoom:function(){},admitAll:function(){},operateSpotlight:function(){},getSpotlightList:function(){},operatePin:function(){},getPinList:function(){},setZoomJSLib:function(){},getZoomJSLib:function(){},prepareWebSDK:function(){},preLoadWasm:function(){},getZoomWorkPath:function(){},setLogLevel:function(){},stopIncomingAudio:function(){},createBreakoutRoom:function(){},askForHelp:function(){},postponeHelping:function(){},openBreakoutRooms:function(){},closeBreakoutRooms:function(){},broadcast:function(){},assignUserToBreakoutRoom:function(){},moveUserToBreakoutRoom:function(){},joinBreakoutRoom:function(){},leaveBreakoutRoom:function(){},wasm:{audio:!1,video:!1,sharing:!1}},w={3e3:{"apac.errorcodes_web_has_in_progress":3e3,"apac.errorcodes_web_require_email":3005,"apac.errorcodes_web_not_support_webinar_pac":3701,"apac.errorcodes_web_host_not_exit":3702,"apac.errorcodes_web_not_support_webclient":3603,"apac.errorcodes_web_should_support_webinar_with_latest_version":3604,"apac.errorcodes_web_invalid_id":3703,"apac.errorcodes_web_not_support_registration_webinar":3606,"apac.errorcodes_web_not_support_tsp":3608,"apac.errorcodes_web_not_allow_start_webinar_from_web":3609,"apac.errorcodes_need_use_zoom_desktop_or_mobile":3611,"apac.errorcodes_meeting_websdk_version_need_update":1e4},3001:{"apac.errorcodes_not_exist":3610},200:{"apac.errorcodes_pac_api_wrong":3704,"apac.errorcodes_pac_signature_expired":3705,"apac.errorcodes_pac_mn_wrong":3706,"apac.errorcodes_pac_mn_not_fount":3707,"apac.errorcodes_pac_role_error":3708,"apac.errorcodes_pac_host_not_found":3709,"apac.errorcodes_pac_api_disabled":3710,"apac.errorcodes_pac_cant_host_other_mn":3711,"apac.errorcodes_pac_invalid_signature":3712,"apac.errorcodes_pac_no_permission":3713,"apac.errorcodes_pac_not_allow_assistant":3715},3116:{"apac.errorcodes_sign_webinar":3116},3099:{"apac.errorcodes_register":3099},3100:{"apac.errorcodes_login_required":3100},3003:{"apac.errorcodes_not_host":3003},3004:{"apac.errorcodes_wrong_pass":3004},3008:{"apac.errorcodes_not_start":3008},3129:{"apac.errorcodes_not_start":3008},3009:{"apac.errorcodes_be_removed":3009},3501:{"apac.errorcodes_login_required":3082},3502:{"apac.errorcodes_login_required":3082},3032:{"apac.errorcodes_denied_register_with_panelist":3100},3033:{"apac.errorcodes_denied_email":3620},3059:{"apac.errorcodes_not_support_simulive":3630},1001:{"apac.errorcodes_host_inactive":3625},3136:{"apac.errorcodes_zak":3623,"apac.errorcodes_host_email":3624,"apac.errorcodes_zak2":3265},3082:{"apac.errorcodes_real_name":3082},403:{"apac.errorcodes_offline":403},404:{"apac.errorcodes_offline":403},4003:{"apac.invalid_parameter":4003},124:{"apac.errorcodes_tk_expired":3610},13208:{"apac.errorcodes_web_unable_join_ended_simulive":13208}},A={3004:{"apac.errorcodes_pac_mn_wrong":3714},3005:{"apac.errorcodes_web_has_in_progress":3e3},3008:{"apac.errorcodes_not_start":3008},3033:{"apac.errorcodes_denied_email":3620},1005:{"apac.errorcodes_no_response_from_web":3621},131005:{"apac.errorcodes_no_response_from_web":3621},1001:{"apac.errorcodes_host_inactive":3625},131001:{"apac.errorcodes_host_inactive":3625},103039:{"apac.errorcodes_be_removed":3009},103017:{"apac.rmc.assistant_exist_warning":3715},6:{"apac.dialog.meeting_ended":4004},"-1":{"apac.dialog.server_error":4009},9:{"apac.dialog.meeting_capacity_reached":4005},12:{"apac.dialog.meeting_locked":4006},103043:{"apac.errorcodes_reject_barriers":4007},103044:{"apac.errorcodes_participant_exist":4008},6601:{"apac.errorcodes_not_allow_cross_join":4011},6603:{"apac.errorcodes_blocked_by_host_admin":6603}},C={debug:!1,disableVoIP:!1,patchJsMedia:!1,customizeUI:!0,webEndpoint:null===(r={login:{"zoomdev.us":"devapps.zoomdev.us","zoomdev.com.cn":"devapps.zoomdev.us","dev-integration.zoomdev.us":"devapps.zoomdev.us","deva.zoomdev.us":"deva.zoomdev.us","local.zoom.us":"deva.zoomdev.us","devep.zoomdev.us":"devepapps.zoomdev.us","zoom.us":"applications.zoom.us","go.zoom.us":"goapplications.zoom.us",default:"applications.zoom.us"},webEndpoint:"zoom.us"})||void 0===r?void 0:r.webEndpoint,leaveUrl:"",defaultView:"",disableWaitingReturn:!1,showMeetingHeader:!0,disableInvite:!1,disableCallOut:!1,disableRecord:!1,disableJoinAudio:!1,enableCustomizeJoin:!1,videoDrag:!0,videoHeader:!0,sharingMode:"both",audioPanelAlwaysOpen:!1,showPureSharingContent:!1,isSupportAV:!0,screenShare:!0,isSupportChat:!0,isLockBottom:!0,leaveRedirect:!0,isSupportNonverbal:!0,isSupportQA:!0,isWebinar:!1,isSupportCC:!0,isSupportSharing:!0,isSupportPolling:!0,isSupportBreakout:!0,isSupportSimulive:!1,isShowJoiningErrorDialog:!0,disableReport:!1,disablePreview:!1,disableCORP:!window.crossOriginIsolated,hideShareAudioOption:!1,enableHD:!0,enableFullHD:!1,externalLinkPage:"",xmppConfig:{wcXMPPServer:"",wcXMPPSessionServer:"",wcXMPPVCADServer:"",wcXMPPPingServer:"",wcXMPPConferenceServer:""},loginWindow:{width:500,height:500},inviteUrlFormat:"",meetingInfo:["topic","host","mn","pwd","telPwd","invite","participant","dc","enctype","report"],helper:"./helper.html"},T={status:""},I=["customerJoinId","meetingNumber","userName","passWord","signature","apiKey","sdkKey","userEmail","tk","zak","customerKey","jmak","onZak","meetingData","meetingOpt","recordingToken","joinTest"],O={generateSDKSignature:["meetingNumber","sdkKey","sdkSecret","role"],init:["patchJsMedia","leaveUrl","isSupportAV","leaveRedirect","disableWaitingReturn","xmppConfig","videoDrag","videoHeader","sharingMode","screenShare","isSupportChat","isSupportQA","isSupportNonverbal","isLockBottom","isSupportCC","isSupportSharing","isSupportPolling","isSupportBreakout","isSupportSimulive","isShowJoiningErrorDialog","loginWindow","inviteUrlFormat","meetingInfo","disableVoIP","disableReport","disablePreview","disableCORP","enableHD","enableFullHD","externalLinkPage","helper","onRetryCallback","defaultView","hideShareAudioOption","enableCustomizeJoin"],join:I,joinTest:I,showInviteFunction:["show"],showCalloutFunction:["show"],showMeetingHeader:["show"],showRecordFunction:["show"],showJoinAudioFunction:["show"],showPureSharingContent:["show"],setCustomizedPollingUrl:["edit","create"],subscribeStatisticData:["audio","video","share"],unSubscribeStatisticData:["audio","video","share"],callOut:["phoneNumber","userName"],inviteByPhone:["phoneNumber","userName"],inviteCRCDevice:["ip","type"],mute:["userId","mute"],muteAll:["muteAll"],rename:["userId","oldName","newName"],expel:["userId"],record:["record"],focusMode:["enable"],lockMeeting:["lockMeeting"],makeHost:["userId"],makeCoHost:["userId","coHost"],withdrawCoHost:["userId","coHost"],reclaimHost:[],claimHostWithHostKey:["hostKey"],isSupportVirtualBackground:[],getVirtualBackgroundStatus:[],lockVirtualBackground:["isLock"],setVirtualBackground:["id"],updateVirtualBackgroundList:["vbList"],reRender:["lang"],common:["success","error","debug","webEndpoint","showMeetingHeader","disableInvite","disableCallOut","disableRecord","disableJoinAudio","audioPanelAlwaysOpen","participantId","showPureSharingContent"],putOnHold:["userId","hold"],switchToClient:[],shareSource:["getVideoSourcesCallBack"],mediaCapturePermission:["operate","userId"],mediaCapture:["record"],changeRedirectUrl:["leaveUrl"],setCustomizeWaitingRoom:["title","desc"],admitAll:[],operateSpotlight:["operate","userId"],operatePin:["operate","userId"],stopIncomingAudio:["stop"],askForHelp:[],postponeHelping:["userId"],createBreakoutRoom:["data","pattern"],openBreakoutRooms:["rooms","options"],closeBreakoutRooms:[],broadcast:["content"],assignUserToBreakoutRoom:["userId","targetRoomId"],moveUserToBreakoutRoom:["userId","targetRoomId"],joinBreakoutRoom:["roomId"],leaveBreakoutRoom:[]},x={SUCCESS:0,FAIL:1,NOT_SUPPORT:3,MEETING_NOT_INIT:2,ANOTHER_MEETING_RUNNING:3e3,ERROR_NOT_EXIST:3001,ERROR_NOT_HOST:3003,WRONG_MEETING_PASSWORD:3004,EMAIL_REQUIRED:3005,MEETING_NOT_START:3008,BE_REMOVED:3009,ERROR_WEBINAR_ENFORCE_LOGIN:3034,NEED_REAL_NAME:3082,REGISTER_REQUIRED:3099,ERROR_PANELIST_NEED_TK:3135,LOGIN_REQUIRED:3100,RE_CONNECTING:4e3,DISCONNECT:4001,INVALID_PARAMETER:4003,DENIED_REGISTER_WITH_PANELIST:3032,SERVICE_OFFLINE:403,RWC_EMPTY:3621,RWC_ERROR:3622,FREQUENT_CALL:3633,FREQUENT_JOIN:3634,WASM_FAIL:3635,UPDATE:1e4},F={SUCCESS:"apac.errorcodes_success",FAIL:"apac.errorcodes_fail",MEETING_NOT_INIT:"apac.errorcodes_not_init",REGISTER_REQUIRED:"apac.errorcodes_register",ERROR_PANELIST_NEED_TK:"apac.errorcodes_panelist_tk",LOGIN_REQUIRED:"apac.errorcodes_login_required",EMAIL_REQUIRED:"apac.errorcodes_email_require",ERROR_NOT_EXIST:"apac.errorcodes_not_exist",ERROR_NOT_HOST:"apac.errorcodes_not_host",WRONG_MEETING_PASSWORD:"apac.errorcodes_wrong_pass",ANOTHER_MEETING_RUNNING:"apac.errorcodes_web_has_in_progress",MEETING_NOT_START:"apac.errorcodes_not_start",INVALID_PARAMETER:"apac.invalid_parameter",RE_CONNECTING:"apac.errorcodes_re_connect",BE_REMOVED:"apac.errorcodes_be_removed",ERROR_WEBINAR_ENFORCE_LOGIN:"apac.errorcodes_webinar_enforce_login",DISCONNECT:"apac.errorcodes_disconnect",DENIED_REGISTER_WITH_PANELIST:"apac.errorcodes_denied_register_with_panelist",RWC_EMPTY:"apac.errorcodes_rwc_empty",RWC_ERROR:"apac.errorcodes_rwc_error",FREQUENT_CALL:"apac.errorcodes_frequent_call",FREQUENT_JOIN:"apac.errorcodes_frequent_join",WASM_FAIL:"apac.errorcodes_wasm_fail",UPDATE:"apac.websdk_enforce_update_content"}})),78295:function(e,t,n){"use strict";n.d(t,{Dc:function(){return I},Dj:function(){return g},G8:function(){return p},Gg:function(){return N},H2:function(){return v},H4:function(){return m},HL:function(){return y},Hr:function(){return E},MJ:function(){return _},Mc:function(){return T},Mt:function(){return x},Rf:function(){return w},SV:function(){return f},U6:function(){return h},VI:function(){return R},_f:function(){return A},bv:function(){return C},dT:function(){return d},do:function(){return l},fG:function(){return F},oH:function(){return S},tn:function(){return b}});var r,i=n(61451),o=n(86477),a=n(51684),s=n(70445),u=(n(80300),n(39579),n(60233),n(1641)),c=n(71222);function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return t?e?e.endsWith("/")&&t.startsWith("/")?e+t.slice(1):e.endsWith("/")||t.startsWith("/")?e+t:"".concat(e,"/").concat(t):t:e}),"")}function f(){if((0,i.SL)())return(0,u.yl)();if(a.ZP.cdnPath)return a.ZP.cdnPath;if(a.ZP.baseStaticUrl)return"".concat(a.ZP.baseStaticUrl).concat(a.ZP.baseStaticDirectory);for(var e=document.getElementsByTagName("script"),t=0;t<e.length;t++){var n=e[t].src;if(n.indexOf("vendors.webclient.min.js")>-1)return n.split("/js/")[0]}throw new Error("Cannot get base URL")}function h(){return"WebSocket"in window||"MozWebSocket"in window}function d(e){"undefined"!==typeof e&&("function"!==typeof e.success&&(e.success=ZoomMtg.successCallBack),"function"!==typeof e.error&&(e.error=ZoomMtg.errorCallBack))}function p(e,t){var n=!1;if("undefined"!==typeof e&&"undefined"!==typeof t){var r=Object.keys(e);r.length>0?function(e,t){for(var n=ZoomMtg.methodParams[t],r=ZoomMtg.methodParams.common,i=0;i<e.length;i+=1){for(var o=!1,a=0;a<r.length;a+=1)if(e[i]===r[a]){o=!0;break}if(!o){for(var s=!1,u=0;u<n.length;u+=1)if(e[i]===n[u]){s=!0;break}if(!s)return!1}}return!0}(r,t)&&(n=!0):n=!0}return!n&&ZoomMtg.meetingConfig.debug&&console.warn("".concat(t," invalid parameter !!!")),n}function g(e,t){var n=ZoomMtg.currentMeetingInfo.status;if("joined"!==n){var r={method:e,status:!1,errorCode:ZoomMtg.errorCodes.MEETING_NOT_START,errorMessage:"",result:null};return""===n?r.errorMessage="Please init meeting first!":"init"===n?r.errorMessage="Please join meeting first!":"reconnecting"===n?(r.errorMessage="reconnecting socket!",r.errorCode=ZoomMtg.errorCodes.RE_CONNECTING):"disconnect"===n&&(r.errorMessage="disconnect!",r.errorCode=ZoomMtg.errorCodes.DISCONNECT),t.error(r),!1}return!0}function m(e,t){var n;if(["showConnectErrorDialog"].indexOf(e)>-1)if("initMeeting"===e&&t.detail.debug){console.log("--- ".concat(e," ---"));var r={debug:t.detail.debug,leaveUrl:t.detail.leaveUrl,showMeetingHeader:t.detail.showMeetingHeader,disableInvite:t.detail.disableInvite,disableCallOut:t.detail.disableCallOut,disableRecord:t.detail.disableRecord,disableJoinAudio:t.detail.disableJoinAudio,audioPanelAlwaysOpen:t.detail.audioPanelAlwaysOpen,isShowJoiningErrorDialog:t.detail.isShowJoiningErrorDialog};console.log(r)}else ZoomMtg.meetingConfig.debug&&(console.log("--- ".concat(e," ---")),console.log(t.detail));window.CustomEvent?n=new CustomEvent(e,t):(n=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,t.data),document.getElementById("zmmtg-root").dispatchEvent(n)}function v(){console.log("Using a Zoom JWT App type API Key (apiKey) is no longer available in version 2.7.0+ of the SDK. Please use an SDK App type SDK Key (sdkKey) instead and the SDK JWT Auth flow","https://developers.zoom.us/docs/meeting-sdk/auth/")}function E(e){var t=!1,n="number"===typeof e?e:e.body.res;if("undefined"!==typeof o.ig[n]){var r=o.ig[n],a=Object.keys(r)[0];t={key:a,value:r[a]}}if(t){var s=t,u=s.key,l=s.value,f=(0,i.NN)(u,u);return u!==f?Object.assign({},e,{body:{resStr:f,res:l}}):Object.assign({},e,{body:{resStr:c.X["en-US"][u],res:l}})}var h=w(n);return Object.assign({},e,{body:{resStr:h.errorMessage,res:h.errorCode}})}function _(e,t){var n;window.CustomEvent?n=new CustomEvent(e,{detail:t}):(n=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,t),document.getElementById("zmmtg-root").dispatchEvent(n)}function y(e){for(var t=0,n=e.length,r=-1,i=0;i<n;i+=1)t+=(r=e.charCodeAt(i))>=0&&r<=128?1:2;return t}function S(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())}function D(e,t){return Object.keys(e).find((function(n){return e[n]===t}))}function w(e,t){var n=function(e,t){var n=!1;if(-1===e)return{key:"apac.errorcodes_offline",value:403};if(3e3===e){var i=Object.keys(c.X),a={};if(r)a=r;else{var s=Object.keys(o.Px[3e3]);i.forEach((function(e){var t=c.X[e];a[e]={},s.forEach((function(n){a[e][n]=t[n]}))})),r=a}return i.forEach((function(r){if(!n){var i=D(a[r],t);i&&(n={key:i,value:o.Px[e][i]})}})),n||(n={key:"apac.errorcodes_fail",value:1}),n}if(200===e||3136===e){var u=D({"apac.errorcodes_pac_api_wrong":"The api key is wrong.","apac.errorcodes_pac_signature_expired":"The signature has expired.","apac.errorcodes_pac_mn_wrong":"The meeting number is wrong.","apac.errorcodes_pac_mn_not_fount":"The meeting number is not found.","apac.errorcodes_pac_role_error":"The role is not applicable.","apac.errorcodes_pac_host_not_found":"The meeting host is not found.","apac.errorcodes_pac_api_disabled":"The account don't enable API.","apac.errorcodes_pac_cant_host_other_mn":"Can not be host in other account's meeting.","apac.errorcodes_pac_invalid_signature":"Invalid signature.","apac.errorcodes_pac_no_permission":"No permission","apac.errorcodes_pac_not_allow_assistant":"Assistant join meeting been disabled","apac.errorcodes_zak":"Token error","apac.errorcodes_zak2":"Not support start meeting via tokens","apac.errorcodes_host_email":"Please use host/alternative host to start the webinar."},t);return n=u?{key:u,value:o.Px[e][u]}:{key:"apac.errorcodes_fail",value:1}}if("undefined"!==typeof o.Px[e]){var l=o.Px[e],f=Object.keys(l)[0];n={key:f,value:l[f]}}if(n)return n;var h=D(ZoomMtg.errorCodes,e),d=ZoomMtg.errorCodesReason[h];return d?{key:d,value:e}:{key:"apac.errorcodes_fail",value:1}}(e,t),a=n.key,s=n.value,u=(0,i.NN)(a,a);return a!==u?{errorMessage:u,errorCode:s}:{errorMessage:c.X["en-US"][a],errorCode:s}}function b(){return window.i18n.getSupportLanguage()}function A(){return window.i18n.getCurrentLang()}function C(){return window.i18n.getCurrentLangList()}var T="MEDIA_SDK_LOG_VERSION_ENABLE",I="MEDIA_SDK_LOG_VERSION_LOADED";function O(){var e=s.F.easyGet(T),t=a.ZP.mediaCDNPath,n=a.ZP.mediaCDNPathForLogVersion;return e&&n?(s.F.easySet(I,!0,s.v.memory),n):t||!1}function x(){return O()}function F(){return l(O(),"vb-resource")}function N(){if((0,i.SL)())return 1505;var e=x().match(/web-media\/([^/]+)/);return e&&e[1]?e[1]:"Not support"}function R(){return window.whiteboardSDKCdnPath="".concat(a.ZP.whiteboardCdnPath,"/"),"".concat(a.ZP.whiteboardCdnPath,"/dist")}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],u=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),l=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t),1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(u(e,s,s+a>c?c:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48764:function(e,t,n){"use strict";var r=n(79742),i=n(80645),o=n(5826);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=h(e,t),e}(e,t,n,r):"string"===typeof t?function(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n),i=(e=s(e,r)).write(t,n);return i!==r&&(e=e.slice(0,i)),e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|d(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(r=t.length)!==r?s(e,0):h(e,t);if("Buffer"===t.type&&o(t.data))return h(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=s(e,t<0?0:0|d(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function h(e,t){var n=t.length<0?0:0|d(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function d(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return x(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return I(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:E(e,t,n,r,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):E(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function E(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var f=!0,h=0;h<u;h++)if(c(e,o+h)!==c(t,h)){f=!1;break}if(f)return o}return-1}function _(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function y(e,t,n,r){return V(U(t,e.length-n),e,n,r)}function S(e,t,n,r){return V(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function D(e,t,n,r){return S(e,t,n,r)}function w(e,t,n,r){return V(W(t),e,n,r)}function b(e,t,n,r){return V(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,c=e[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=T));return n}(r)}t.Buffer=u,t.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return c(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return l(t),t<=0?s(e,t):void 0!==n?"string"===typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?C(this,0,e):g.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return D(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function I(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function x(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=j(e[o]);return i}function F(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function N(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function B(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function L(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,o){return o||L(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function H(e,t,n,r,o){return o||L(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||R(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||R(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return H(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return H(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:U(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var k=/[^+\/0-9A-Za-z-_]/g;function j(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function W(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(k,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},21924:function(e,t,n){"use strict";var r=n(40210),i=n(20663),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},20663:function(e,t,n){"use strict";var r=n(58612),i=n(40210),o=n(67771),a=n(14453),s=i("%Function.prototype.apply%"),u=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||r.call(u,s),l=n(24429),f=i("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new a("a function is required");var t=c(r,u,arguments);return o(t,1+f(0,e.length-(arguments.length-1)),!0)};var h=function(){return c(r,s,arguments)};l?l(e.exports,"apply",{value:h}):e.exports.apply=h},94184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=b(n);if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},24963:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},17722:function(e,t,n){var r=n(86314)("unscopables"),i=Array.prototype;void 0==i[r]&&n(87728)(i,r,{}),e.exports=function(e){i[r][e]=!0}},83328:function(e){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},27007:function(e,t,n){var r=n(55286);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},79315:function(e,t,n){var r=n(22110),i=n(10875),o=n(92337);e.exports=function(e){return function(t,n,a){var s,u=r(t),c=i(u.length),l=o(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},10050:function(e,t,n){var r=n(741),i=n(49797),o=n(20508),a=n(10875),s=n(16886);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,h=5==e||f,d=t||s;return function(t,s,p){for(var g,m,v=o(t),E=i(v),_=r(s,p,3),y=a(E.length),S=0,D=n?d(t,y):u?d(t,0):void 0;y>S;S++)if((h||S in E)&&(m=_(g=E[S],S,v),e))if(n)D[S]=m;else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return S;case 2:D.push(g)}else if(l)return!1;return f?-1:c||l?l:D}}},42736:function(e,t,n){var r=n(55286),i=n(4302),o=n(86314)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},16886:function(e,t,n){var r=n(42736);e.exports=function(e,t){return new(r(e))(t)}},41488:function(e,t,n){var r=n(92032),i=n(86314)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},92032:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},25645:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},741:function(e,t,n){var r=n(24963);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},91355:function(e){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},67057:function(e,t,n){e.exports=!n(74253)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},62457:function(e,t,n){var r=n(55286),i=n(3816).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},74430:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},5541:function(e,t,n){var r=n(47184),i=n(64548),o=n(14682);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,c=0;s.length>c;)u.call(e,a=s[c++])&&t.push(a);return t}},42985:function(e,t,n){var r=n(3816),i=n(25645),o=n(87728),a=n(77234),s=n(741),u="prototype",c=function e(t,n,c){var l,f,h,d,p=t&e.F,g=t&e.G,m=t&e.P,v=t&e.B,E=g?r:t&e.S?r[n]||(r[n]={}):(r[n]||{})[u],_=g?i:i[n]||(i[n]={}),y=_[u]||(_[u]={});for(l in g&&(c=n),c)h=((f=!p&&E&&void 0!==E[l])?E:c)[l],d=v&&f?s(h,r):m&&"function"==typeof h?s(Function.call,h):h,E&&a(E,l,h,t&e.U),_[l]!=h&&o(_,l,d),m&&y[l]!=h&&(y[l]=h)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},8852:function(e,t,n){var r=n(86314)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(i){}}return!0}},74253:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},3531:function(e,t,n){var r=n(741),i=n(28851),o=n(86555),a=n(27007),s=n(10875),u=n(69002),c={},l={},f=e.exports=function(e,t,n,f,h){var d,p,g,m,v=h?function(){return e}:u(e),E=r(n,f,t?2:1),_=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(d=s(e.length);d>_;_++)if((m=t?E(a(p=e[_])[0],p[1]):E(e[_]))===c||m===l)return m}else for(g=v.call(e);!(p=g.next()).done;)if((m=i(g,E,p.value,t))===c||m===l)return m};f.BREAK=c,f.RETURN=l},40018:function(e,t,n){e.exports=n(3825)("native-function-to-string",Function.toString)},3816:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},79181:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},87728:function(e,t,n){var r=n(99275),i=n(90681);e.exports=n(67057)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},40639:function(e,t,n){var r=n(3816).document;e.exports=r&&r.documentElement},1734:function(e,t,n){e.exports=!n(67057)&&!n(74253)((function(){return 7!=Object.defineProperty(n(62457)("div"),"a",{get:function(){return 7}}).a}))},97242:function(e){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},49797:function(e,t,n){var r=n(92032);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},86555:function(e,t,n){var r=n(87234),i=n(86314)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},4302:function(e,t,n){var r=n(92032);e.exports=Array.isArray||function(e){return"Array"==r(e)}},55286:function(e){e.exports=function(e){return"object"===b(e)?null!==e:"function"===typeof e}},55364:function(e,t,n){var r=n(55286),i=n(92032),o=n(86314)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},28851:function(e,t,n){var r=n(27007);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){var o=e.return;throw void 0!==o&&r(o.call(e)),a}}},49988:function(e,t,n){"use strict";var r=n(42503),i=n(90681),o=n(22943),a={};n(87728)(a,n(86314)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},42923:function(e,t,n){"use strict";var r=n(4461),i=n(42985),o=n(77234),a=n(87728),s=n(87234),u=n(49988),c=n(22943),l=n(468),f=n(86314)("iterator"),h=!([].keys&&"next"in[].keys()),d="keys",p="values",g=function(){return this};e.exports=function(e,t,n,m,v,E,_){u(n,t,m);var y,S,D,w=function(e){if(!h&&e in T)return T[e];switch(e){case d:case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},b=t+" Iterator",A=v==p,C=!1,T=e.prototype,I=T[f]||T["@@iterator"]||v&&T[v],O=I||w(v),x=v?A?w("entries"):O:void 0,F="Array"==t&&T.entries||I;if(F&&(D=l(F.call(new e)))!==Object.prototype&&D.next&&(c(D,b,!0),r||"function"==typeof D[f]||a(D,f,g)),A&&I&&I.name!==p&&(C=!0,O=function(){return I.call(this)}),r&&!_||!h&&!C&&T[f]||a(T,f,O),s[t]=O,s[b]=g,v)if(y={values:A?O:w(p),keys:E?O:w(d),entries:x},_)for(S in y)S in T||o(T,S,y[S]);else i(i.P+i.F*(h||C),t,y);return y}},7462:function(e,t,n){var r=n(86314)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},e(o)}catch(a){}return n}},15436:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},87234:function(e){e.exports={}},4461:function(e){e.exports=!1},84728:function(e,t,n){var r=n(93953)("meta"),i=n(55286),o=n(79181),a=n(99275).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(74253)((function(){return u(Object.preventExtensions({}))})),l=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==b(e)?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!o(e,r)&&l(e),e}}},14351:function(e,t,n){var r=n(3816),i=n(74193).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(92032)(a);e.exports=function(){var e,t,n,c=function(){var r,i;for(u&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(o){throw e?n():t=void 0,o}}t=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(c)}}else n=function(){i.call(r,c)};else{var f=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},43499:function(e,t,n){"use strict";var r=n(24963);function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},42503:function(e,t,n){var r=n(27007),i=n(35588),o=n(74430),a=n(69335)("IE_PROTO"),s=function(){},u="prototype",c=function(){var e,t=n(62457)("iframe"),r=o.length;for(t.style.display="none",n(40639).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c[u][o[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[u]=r(e),n=new s,s[u]=null,n[a]=e):n=c(),void 0===t?n:i(n,t)}},99275:function(e,t,n){var r=n(27007),i=n(1734),o=n(21689),a=Object.defineProperty;t.f=n(67057)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},35588:function(e,t,n){var r=n(99275),i=n(27007),o=n(47184);e.exports=n(67057)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},18693:function(e,t,n){var r=n(14682),i=n(90681),o=n(22110),a=n(21689),s=n(79181),u=n(1734),c=Object.getOwnPropertyDescriptor;t.f=n(67057)?c:function(e,t){if(e=o(e),t=a(t,!0),u)try{return c(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},39327:function(e,t,n){var r=n(22110),i=n(20616).f,o={}.toString,a="object"==("undefined"===typeof window?"undefined":b(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(t){return a.slice()}}(e):i(r(e))}},20616:function(e,t,n){var r=n(60189),i=n(74430).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},64548:function(e,t){t.f=Object.getOwnPropertySymbols},468:function(e,t,n){var r=n(79181),i=n(20508),o=n(69335)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},60189:function(e,t,n){var r=n(79181),i=n(22110),o=n(79315)(!1),a=n(69335)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(c,n)||c.push(n));return c}},47184:function(e,t,n){var r=n(60189),i=n(74430);e.exports=Object.keys||function(e){return r(e,i)}},14682:function(e,t){t.f={}.propertyIsEnumerable},51131:function(e,t,n){var r=n(67057),i=n(47184),o=n(22110),a=n(14682).f;e.exports=function(e){return function(t){for(var n,s=o(t),u=i(s),c=u.length,l=0,f=[];c>l;)n=u[l++],r&&!a.call(s,n)||f.push(e?[n,s[n]]:s[n]);return f}}},10188:function(e){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},50094:function(e,t,n){var r=n(27007),i=n(55286),o=n(43499);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},90681:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},24408:function(e,t,n){var r=n(77234);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},77234:function(e,t,n){var r=n(3816),i=n(87728),o=n(79181),a=n(93953)("src"),s=n(40018),u="toString",c=(""+s).split(u);n(25645).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(u&&(o(n,a)||i(n,a,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},2974:function(e,t,n){"use strict";var r=n(3816),i=n(99275),o=n(67057),a=n(86314)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},22943:function(e,t,n){var r=n(99275).f,i=n(79181),o=n(86314)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},69335:function(e,t,n){var r=n(3825)("keys"),i=n(93953);e.exports=function(e){return r[e]||(r[e]=i(e))}},3825:function(e,t,n){var r=n(25645),i=n(3816),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(4461)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},53637:function(e,t,n){var r=n(27007),i=n(24963),o=n(86314)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},42094:function(e,t,n){var r=n(55364),i=n(91355);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},74193:function(e,t,n){var r,i,o,a=n(741),s=n(97242),u=n(40639),c=n(62457),l=n(3816),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,g=l.Dispatch,m=0,v={},E="onreadystatechange",_=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){_.call(e.data)};h&&d||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},d=function(e){delete v[e]},"process"==n(92032)(f)?r=function(e){f.nextTick(a(_,e,1))}:g&&g.now?r=function(e){g.now(a(_,e,1))}:p?(o=(i=new p).port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",y,!1)):r=E in c("script")?function(e){u.appendChild(c("script"))[E]=function(){u.removeChild(this),_.call(e)}}:function(e){setTimeout(a(_,e,1),0)}),e.exports={set:h,clear:d}},92337:function(e,t,n){var r=n(81467),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},81467:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},22110:function(e,t,n){var r=n(49797),i=n(91355);e.exports=function(e){return r(i(e))}},10875:function(e,t,n){var r=n(81467),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},20508:function(e,t,n){var r=n(91355);e.exports=function(e){return Object(r(e))}},21689:function(e,t,n){var r=n(55286);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},93953:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},30575:function(e,t,n){var r=n(3816).navigator;e.exports=r&&r.userAgent||""},36074:function(e,t,n){var r=n(3816),i=n(25645),o=n(4461),a=n(28787),s=n(99275).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},28787:function(e,t,n){t.f=n(86314)},86314:function(e,t,n){var r=n(3825)("wks"),i=n(93953),o=n(3816).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},69002:function(e,t,n){var r=n(41488),i=n(86314)("iterator"),o=n(87234);e.exports=n(25645).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},52310:function(e,t,n){"use strict";var r=n(42985),i=n(10050)(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(17722)(o)},56997:function(e,t,n){"use strict";var r=n(17722),i=n(15436),o=n(87234),a=n(22110);e.exports=n(42923)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},40851:function(e,t,n){"use strict";var r,i,o,a,s=n(4461),u=n(3816),c=n(741),l=n(41488),f=n(42985),h=n(55286),d=n(24963),p=n(83328),g=n(3531),m=n(53637),v=n(74193).set,E=n(14351)(),_=n(43499),y=n(10188),S=n(30575),D=n(50094),w="Promise",b=u.TypeError,A=u.process,C=A&&A.versions,T=C&&C.v8||"",I=u[w],O="process"==l(A),x=function(){},F=i=_.f,N=!!function(){try{var e=I.resolve(1),t=(e.constructor={})[n(86314)("species")]=function(e){e(x,x)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(x)instanceof t&&0!==T.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(r){}}(),R=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},P=function(e,t){if(!e._n){e._n=!0;var n=e._c;E((function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{s?(i||(2==e._h&&M(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===t.promise?c(b("Promise-chain cycle")):(o=R(n))?o.call(n,u,c):u(n)):c(r)}catch(f){l&&!a&&l.exit(),c(f)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&B(e)}))}},B=function(e){v.call(u,(function(){var t,n,r,i=e._v,o=L(e);if(o&&(t=y((function(){O?A.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=O||L(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},M=function(e){v.call(u,(function(){var t;O?A.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})}))},H=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),P(t,!0))},k=function e(t){var n,o=this;if(!o._d){o._d=!0,o=o._w||o;try{if(o===t)throw b("Promise can't be resolved itself");(n=R(t))?E((function(){var r={_w:o,_d:!1};try{n.call(t,c(e,r,1),c(H,r,1))}catch(i){H.call(r,i)}})):(o._v=t,o._s=1,P(o,!1))}catch(r){H.call({_w:o,_d:!1},r)}}};N||(I=function(e){p(this,I,w,"_h"),d(e),r.call(this);try{e(c(k,this,1),c(H,this,1))}catch(t){H.call(this,t)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(24408)(I.prototype,{then:function(e,t){var n=F(m(this,I));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=c(k,e,1),this.reject=c(H,e,1)},_.f=F=function(e){return e===I||e===a?new o(e):i(e)}),f(f.G+f.W+f.F*!N,{Promise:I}),n(22943)(I,w),n(2974)(w),a=n(25645)[w],f(f.S+f.F*!N,w,{reject:function(e){var t=F(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!N),w,{resolve:function(e){return D(s&&this===a?I:this,e)}}),f(f.S+f.F*!(N&&n(7462)((function(e){I.all(e).catch(x)}))),w,{all:function(e){var t=this,n=F(t),r=n.resolve,i=n.reject,o=y((function(){var n=[],o=0,a=1;g(e,!1,(function(e){var s=o++,u=!1;n.push(void 0),a++,t.resolve(e).then((function(e){u||(u=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=F(t),r=n.reject,i=y((function(){g(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},62850:function(e,t,n){"use strict";var r=n(42985),i=n(42094),o="includes";r(r.P+r.F*n(8852)(o),"String",{includes:function(e){return!!~i(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},17732:function(e,t,n){"use strict";var r=n(42985),i=n(10875),o=n(42094),a="startsWith",s=""[a];r(r.P+r.F*n(8852)(a),"String",{startsWith:function(e){var t=o(this,e,a),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},95767:function(e,t,n){"use strict";var r=n(3816),i=n(79181),o=n(67057),a=n(42985),s=n(77234),u=n(84728).KEY,c=n(74253),l=n(3825),f=n(22943),h=n(93953),d=n(86314),p=n(28787),g=n(36074),m=n(5541),v=n(4302),E=n(27007),_=n(55286),y=n(20508),S=n(22110),D=n(21689),w=n(90681),A=n(42503),C=n(39327),T=n(18693),I=n(64548),O=n(99275),x=n(47184),F=T.f,N=O.f,R=C.f,P=r.Symbol,B=r.JSON,L=B&&B.stringify,M="prototype",H=d("_hidden"),k=d("toPrimitive"),j={}.propertyIsEnumerable,U=l("symbol-registry"),W=l("symbols"),V=l("op-symbols"),G=Object[M],K="function"==typeof P&&!!I.f,z=r.QObject,q=!z||!z[M]||!z[M].findChild,Y=o&&c((function(){return 7!=A(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=F(G,t);r&&delete G[t],N(e,t,n),r&&e!==G&&N(G,t,r)}:N,J=function(e){var t=W[e]=A(P[M]);return t._k=e,t},Q=K&&"symbol"==b(P.iterator)?function(e){return"symbol"==b(e)}:function(e){return e instanceof P},Z=function e(t,n,r){return t===G&&e(V,n,r),E(t),n=D(n,!0),E(r),i(W,n)?(r.enumerable?(i(t,H)&&t[H][n]&&(t[H][n]=!1),r=A(r,{enumerable:w(0,!1)})):(i(t,H)||N(t,H,w(1,{})),t[H][n]=!0),Y(t,n,r)):N(t,n,r)},X=function(e,t){E(e);for(var n,r=m(t=S(t)),i=0,o=r.length;o>i;)Z(e,n=r[i++],t[n]);return e},$=function(e){var t=j.call(this,e=D(e,!0));return!(this===G&&i(W,e)&&!i(V,e))&&(!(t||!i(this,e)||!i(W,e)||i(this,H)&&this[H][e])||t)},ee=function(e,t){if(e=S(e),t=D(t,!0),e!==G||!i(W,t)||i(V,t)){var n=F(e,t);return!n||!i(W,t)||i(e,H)&&e[H][t]||(n.enumerable=!0),n}},te=function(e){for(var t,n=R(S(e)),r=[],o=0;n.length>o;)i(W,t=n[o++])||t==H||t==u||r.push(t);return r},ne=function(e){for(var t,n=e===G,r=R(n?V:S(e)),o=[],a=0;r.length>a;)!i(W,t=r[a++])||n&&!i(G,t)||o.push(W[t]);return o};K||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0);return o&&q&&Y(G,e,{configurable:!0,set:function t(n){this===G&&t.call(V,n),i(this,H)&&i(this[H],e)&&(this[H][e]=!1),Y(this,e,w(1,n))}}),J(e)})[M],"toString",(function(){return this._k})),T.f=ee,O.f=Z,n(20616).f=C.f=te,n(14682).f=$,I.f=ne,o&&!n(4461)&&s(G,"propertyIsEnumerable",$,!0),p.f=function(e){return J(d(e))}),a(a.G+a.W+a.F*!K,{Symbol:P});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)d(re[ie++]);for(var oe=x(d.store),ae=0;oe.length>ae;)g(oe[ae++]);a(a.S+a.F*!K,"Symbol",{for:function(e){return i(U,e+="")?U[e]:U[e]=P(e)},keyFor:function(e){if(!Q(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!K,"Object",{create:function(e,t){return void 0===t?A(e):X(A(e),t)},defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=c((function(){I.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return I.f(y(e))}}),B&&a(a.S+a.F*(!K||c((function(){var e=P();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(_(t)||void 0!==e)&&!Q(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Q(t))return t}),r[1]=t,L.apply(B,r)}}),P[M][k]||n(87728)(P[M],k,P[M].valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},62773:function(e,t,n){"use strict";var r=n(42985),i=n(79315)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(17722)("includes")},96409:function(e,t,n){var r=n(42985),i=n(51131)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},79665:function(e,t,n){n(36074)("asyncIterator")},78249:function(e,t,n){e.exports=function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(42480)}catch(m){}var i=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},s=a.lib={},u=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=u.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:4*e.length},toString:function(e){return(e||f).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s<i;s+=4)t[r+s>>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(i());return new c.init(t,e)}}),l=a.enc={},f=l.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},h=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},d=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},p=s.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*u,o);if(u){for(var f=0;f<u;f+=a)this._doProcessBlock(i,f);n=i.splice(0,u),r.sigBytes-=l}return new c.init(n,l)},clone:function(){var e=u.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(s.Hasher=p.extend({cfg:u.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new g.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math);return e}()},98269:function(e,t,n){!function(t,r){var i;e.exports=(i=n(78249),function(){var e=i,t=e.lib.WordArray;function n(e,n,r){for(var i=[],o=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=s<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)i.push(r.charAt(a>>>6*(3-s)&63));var u=r.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<r.length;o++)i[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return n(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),i.enc.Base64)}()},55743:function(e,t,n){e.exports=n(78249).enc.Utf8},12296:function(e,t,n){"use strict";var r=n(24429),i=n(33464),o=n(14453),a=n(27296);e.exports=function(e,t,n){if(!e||"object"!==b(e)&&"function"!==typeof e)throw new o("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==b(t))throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(r)r(e,t,{configurable:null===c&&f?f.configurable:!c,enumerable:null===s&&f?f.enumerable:!s,value:n,writable:null===u&&f?f.writable:!u});else{if(!l&&(s||u||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},24429:function(e,t,n){"use strict";var r=n(40210)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(i){r=!1}e.exports=r},53981:function(e){"use strict";e.exports=EvalError},81648:function(e){"use strict";e.exports=Error},24726:function(e){"use strict";e.exports=RangeError},26712:function(e){"use strict";e.exports=ReferenceError},33464:function(e){"use strict";e.exports=SyntaxError},14453:function(e){"use strict";e.exports=TypeError},43915:function(e){"use strict";e.exports=URIError},17648:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!==typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var n=[],r=1,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}(arguments),s=n(0,i.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=",");return n}(u)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,r(a,arguments));return Object(t)===t?t:this}return i.apply(e,r(a,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o}},58612:function(e,t,n){"use strict";var r=n(17648);e.exports=Function.prototype.bind||r},40210:function(e,t,n){"use strict";var r,i=n(81648),o=n(53981),a=n(24726),s=n(26712),u=n(33464),c=n(14453),l=n(43915),f=Function,h=function(e){try{return f('"use strict"; return ('+e+").constructor;")()}catch(t){}},d=Object.getOwnPropertyDescriptor;if(d)try{d({},"")}catch(L){d=null}var p=function(){throw new c},g=d?function(){try{return p}catch(e){try{return d(arguments,"callee").get}catch(t){return p}}}():p,m=n(41405)(),v=n(28185)(),E=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),_={},y="undefined"!==typeof Uint8Array&&E?E(Uint8Array):r,S={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":m&&E?E([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":_,"%AsyncGenerator%":_,"%AsyncGeneratorFunction%":_,"%AsyncIteratorPrototype%":_,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":_,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m&&E?E(E([][Symbol.iterator]())):r,"%JSON%":"object"===("undefined"===typeof JSON?"undefined":b(JSON))?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&m&&E?E((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&m&&E?E((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m&&E?E(""[Symbol.iterator]()):r,"%Symbol%":m?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":g,"%TypedArray%":y,"%TypeError%":c,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(E)try{null.error}catch(L){var D=E(E(L));S["%Error.prototype%"]=D}var w=function e(t){var n;if("%AsyncFunction%"===t)n=h("async function () {}");else if("%GeneratorFunction%"===t)n=h("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=h("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&E&&(n=E(i.prototype))}return S[t]=n,n},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=n(58612),T=n(48824),I=C.call(Function.call,Array.prototype.concat),O=C.call(Function.apply,Array.prototype.splice),x=C.call(Function.call,String.prototype.replace),F=C.call(Function.call,String.prototype.slice),N=C.call(Function.call,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,B=function(e,t){var n,r=e;if(T(A,r)&&(r="%"+(n=A[r])[0]+"%"),T(S,r)){var i=S[r];if(i===_&&(i=w(r)),"undefined"===typeof i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===N(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=F(e,0,1),n=F(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,R,(function(e,t,n,i){r[r.length]=n?x(i,P,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=B("%"+r+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(r=l[0],O(n,I([0,1],l)));for(var f=1,h=!0;f<n.length;f+=1){var p=n[f],g=F(p,0,1),m=F(p,-1);if(('"'===g||"'"===g||"`"===g||'"'===m||"'"===m||"`"===m)&&g!==m)throw new u("property names with quotes must have matching quotes");if("constructor"!==p&&h||(s=!0),T(S,o="%"+(r+="."+p)+"%"))a=S[o];else if(null!=a){if(!(p in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(d&&f+1>=n.length){var v=d(a,p);a=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:a[p]}else h=T(a,p),a=a[p];h&&!s&&(S[o]=a)}}return a}},27296:function(e,t,n){"use strict";var r=n(40210)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(i){r=null}e.exports=r},31044:function(e,t,n){"use strict";var r=n(24429),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},28185:function(e){"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},41405:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n(55419);e.exports=function(){return"function"===typeof r&&"function"===typeof Symbol&&"symbol"===b(r("foo"))&&"symbol"===b(Symbol("bar"))&&i()}},55419:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===b(Symbol.iterator))return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},48824:function(e,t,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n(58612);e.exports=o.call(r,i)},80645:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+d]=255&a,d+=p,a/=256,c-=8);e[n+d-p]|=128*g}},5826:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},19575:function(e,t,n){var r,i;i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:this,e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(a),u=String.fromCharCode,c=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,f=function(e){return e.replace(l,c)},h=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[a.charAt(n>>>18),a.charAt(n>>>12&63),t>=2?"=":a.charAt(n>>>6&63),t>=1?"=":a.charAt(63&n)].join("")},d=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,h)},p=function(e){return d(f(String(e)))},g=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},m=function(e,t){return t?g(p(e)):p(e)};n.Uint8Array&&(i=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],s=e[r+1],u=e[r+2],c=o<<16|s<<8|u;n+=a.charAt(c>>>18)+a.charAt(c>>>12&63)+("undefined"!=typeof s?a.charAt(c>>>6&63):"=")+("undefined"!=typeof u?a.charAt(63&c):"=")}return t?g(n):n});var v,E=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,_=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return u(55296+(t>>>10))+u(56320+(1023&t));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},y=function(e){return e.replace(E,_)},S=function(e){var t=e.length,n=t%4,r=(t>0?s[e.charAt(0)]<<18:0)|(t>1?s[e.charAt(1)]<<12:0)|(t>2?s[e.charAt(2)]<<6:0)|(t>3?s[e.charAt(3)]:0),i=[u(r>>>16),u(r>>>8&255),u(255&r)];return i.length-=[0,0,2,1][n],i.join("")},D=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,S)},w=function(e){return D(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},b=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},A=function(e){return function(e){return y(D(e))}(b(e))};if(n.Uint8Array&&(v=function(e){return Uint8Array.from(w(b(e)),(function(e){return e.charCodeAt(0)}))}),n.Base64={VERSION:"2.6.4",atob:w,btoa:d,fromBase64:A,toBase64:m,utob:f,encode:m,encodeURI:function(e){return m(e,!0)},btou:y,decode:A,noConflict:function(){var e=n.Base64;return n.Base64=o,e},fromUint8Array:i,toUint8Array:v},"function"===typeof Object.defineProperty){var C=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",C((function(){return A(this)}))),Object.defineProperty(String.prototype,"toBase64",C((function(e){return m(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",C((function(){return m(this,!0)})))}}return n.Meteor&&(Base64=n.Base64),e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r),{Base64:n.Base64}}(i)},31166:function(e,t,n){var r=n(48764).Buffer,i={userAgent:!1},o={},a=a||function(e,t){var n={},r=n.lib={},i=r.Base=function(){function e(){}return{extend:function(t){e.prototype=this;var n=new e;return t&&n.mixIn(t),n.hasOwnProperty("init")||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),o=r.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:4*e.length},toString:function(e){return(e||s).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o<i;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n=[],r=0;r<t;r+=4)n.push(4294967296*e.random()|0);return new o.init(n,t)}}),a=n.enc={},s=a.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new o.init(n,t/2)}},u=a.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new o.init(n,t)}},c=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},l=r.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,c=e.min(4*u,i);if(u){for(var l=0;l<u;l+=a)this._doProcessBlock(r,l);var f=r.splice(0,u);n.sigBytes-=c}return new o.init(f,c)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(r.Hasher=l.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new f.HMAC.init(e,n).finalize(t)}}}),n.algo={});return n}(Math);!function(e){var t,n=(t=a).lib,r=n.Base,i=n.WordArray;(t=t.x64={}).Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),t.WordArray=r.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var o=e[r];n.push(o.high),n.push(o.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=r.clone.call(this),t=e.words=this.words.slice(0),n=t.length,i=0;i<n;i++)t[i]=t[i].clone();return e}})}(),a.lib.Cipher||function(e){var t=(p=a).lib,n=t.Base,r=t.WordArray,i=t.BufferedBlockAlgorithm,o=p.enc.Base64,s=p.algo.EvpKDF,u=t.Cipher=i.extend({cfg:n.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(e){return{encrypt:function(t,n,r){return("string"==typeof n?g:d).encrypt(e,t,n,r)},decrypt:function(t,n,r){return("string"==typeof n?g:d).decrypt(e,t,n,r)}}}});t.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var c=p.mode={},l=function(e,t,n){var r=this._iv;r?this._iv=void 0:r=this._prevBlock;for(var i=0;i<n;i++)e[t+i]^=r[i]},f=(t.BlockCipherMode=n.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}})).extend();f.Encryptor=f.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize;l.call(this,e,t,r),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+r)}}),f.Decryptor=f.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=e.slice(t,t+r);n.decryptBlock(e,t),l.call(this,e,t,r),this._prevBlock=i}}),c=c.CBC=f,f=(p.pad={}).Pkcs7={pad:function(e,t){for(var n,i=(n=(n=4*t)-e.sigBytes%n)<<24|n<<16|n<<8|n,o=[],a=0;a<n;a+=4)o.push(i);n=r.create(o,n),e.concat(n)},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},t.BlockCipher=u.extend({cfg:u.cfg.extend({mode:c,padding:f}),reset:function(){u.reset.call(this);var e=(t=this.cfg).iv,t=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var n=t.createEncryptor;else n=t.createDecryptor,this._minBufferSize=1;this._mode=n.call(t,this,e&&e.words)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else t=this._process(!0),e.unpad(t);return t},blockSize:4});var h=t.CipherParams=n.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),d=(c=(p.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext;return((e=e.salt)?r.create([1398893684,1701076831]).concat(e).concat(t):t).toString(o)},parse:function(e){var t=(e=o.parse(e)).words;if(1398893684==t[0]&&1701076831==t[1]){var n=r.create(t.slice(2,4));t.splice(0,4),e.sigBytes-=16}return h.create({ciphertext:e,salt:n})}},t.SerializableCipher=n.extend({cfg:n.extend({format:c}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r);return t=i.finalize(t),i=i.cfg,h.create({ciphertext:t,key:n,iv:i.iv,algorithm:e,mode:i.mode,padding:i.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}})),p=(p.kdf={}).OpenSSL={execute:function(e,t,n,i){return i||(i=r.random(8)),e=s.create({keySize:t+n}).compute(e,i),n=r.create(e.words.slice(t),4*n),e.sigBytes=4*t,h.create({key:e,iv:n,salt:i})}},g=t.PasswordBasedCipher=d.extend({cfg:d.cfg.extend({kdf:p}),encrypt:function(e,t,n,r){return n=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize),r.iv=n.iv,(e=d.encrypt.call(this,e,t,n.key,r)).mixIn(n),e},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),n=r.kdf.execute(n,e.keySize,e.ivSize,t.salt),r.iv=n.iv,d.decrypt.call(this,e,t,n.key,r)}})}(),function(){for(var e=a,t=e.lib.BlockCipher,n=e.algo,r=[],i=[],o=[],s=[],u=[],c=[],l=[],f=[],h=[],d=[],p=[],g=0;256>g;g++)p[g]=128>g?g<<1:g<<1^283;var m=0,v=0;for(g=0;256>g;g++){var E=(E=v^v<<1^v<<2^v<<3^v<<4)>>>8^255&E^99;r[m]=E,i[E]=m;var _=p[m],y=p[_],S=p[y],D=257*p[E]^16843008*E;o[m]=D<<24|D>>>8,s[m]=D<<16|D>>>16,u[m]=D<<8|D>>>24,c[m]=D,D=16843009*S^65537*y^257*_^16843008*m,l[E]=D<<24|D>>>8,f[E]=D<<16|D>>>16,h[E]=D<<8|D>>>24,d[E]=D,m?(m=_^p[p[p[S^_]]],v^=p[p[v]]):m=v=1}var w=[0,1,2,4,8,16,32,64,128,27,54];n=n.AES=t.extend({_doReset:function(){for(var e=(n=this._key).words,t=n.sigBytes/4,n=4*((this._nRounds=t+6)+1),i=this._keySchedule=[],o=0;o<n;o++)if(o<t)i[o]=e[o];else{var a=i[o-1];o%t?6<t&&4==o%t&&(a=r[a>>>24]<<24|r[a>>>16&255]<<16|r[a>>>8&255]<<8|r[255&a]):(a=r[(a=a<<8|a>>>24)>>>24]<<24|r[a>>>16&255]<<16|r[a>>>8&255]<<8|r[255&a],a^=w[o/t|0]<<24),i[o]=i[o-t]^a}for(e=this._invKeySchedule=[],t=0;t<n;t++)o=n-t,a=t%4?i[o]:i[o-4],e[t]=4>t||4>=o?a:l[r[a>>>24]]^f[r[a>>>16&255]]^h[r[a>>>8&255]]^d[r[255&a]]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,s,u,c,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,l,f,h,d,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,o,a,s){for(var u=this._nRounds,c=e[t]^n[0],l=e[t+1]^n[1],f=e[t+2]^n[2],h=e[t+3]^n[3],d=4,p=1;p<u;p++){var g=r[c>>>24]^i[l>>>16&255]^o[f>>>8&255]^a[255&h]^n[d++],m=r[l>>>24]^i[f>>>16&255]^o[h>>>8&255]^a[255&c]^n[d++],v=r[f>>>24]^i[h>>>16&255]^o[c>>>8&255]^a[255&l]^n[d++];h=r[h>>>24]^i[c>>>16&255]^o[l>>>8&255]^a[255&f]^n[d++],c=g,l=m,f=v}g=(s[c>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&h])^n[d++],m=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[255&c])^n[d++],v=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[c>>>8&255]<<8|s[255&l])^n[d++],h=(s[h>>>24]<<24|s[c>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^n[d++],e[t]=g,e[t+1]=m,e[t+2]=v,e[t+3]=h},keySize:8}),e.AES=t._createHelper(n)}(),function(){function e(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function t(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}var n=a,r=(i=n.lib).WordArray,i=i.BlockCipher,o=n.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=o.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;56>n;n++){var r=s[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(e=this._subKeys=[],r=0;16>r;r++){var i=e[r]=[],o=c[r];for(n=0;24>n;n++)i[n/6|0]|=t[(u[n]-1+o)%28]<<31-n%6,i[4+(n/6|0)]|=t[28+(u[n+24]-1+o)%28]<<31-n%6;for(i[0]=i[0]<<1|i[0]>>>31,n=1;7>n;n++)i[n]>>>=4*(n-1)+3;i[7]=i[7]<<5|i[7]>>>27}for(t=this._invSubKeys=[],n=0;16>n;n++)t[n]=e[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(n,r,i){this._lBlock=n[r],this._rBlock=n[r+1],e.call(this,4,252645135),e.call(this,16,65535),t.call(this,2,858993459),t.call(this,8,16711935),e.call(this,1,1431655765);for(var o=0;16>o;o++){for(var a=i[o],s=this._lBlock,u=this._rBlock,c=0,h=0;8>h;h++)c|=l[h][((u^a[h])&f[h])>>>0];this._lBlock=u,this._rBlock=s^c}i=this._lBlock,this._lBlock=this._rBlock,this._rBlock=i,e.call(this,1,1431655765),t.call(this,8,16711935),t.call(this,2,858993459),e.call(this,16,65535),e.call(this,4,252645135),n[r]=this._lBlock,n[r+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});n.DES=i._createHelper(h),o=o.TripleDES=i.extend({_doReset:function(){var e=this._key.words;this._des1=h.createEncryptor(r.create(e.slice(0,2))),this._des2=h.createEncryptor(r.create(e.slice(2,4))),this._des3=h.createEncryptor(r.create(e.slice(4,6)))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2}),n.TripleDES=i._createHelper(o)}(),function(){var e=a,t=e.lib.WordArray;e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp(),e=[];for(var i=0;i<n;i+=3)for(var o=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;4>a&&i+.75*a<n;a++)e.push(r.charAt(o>>>6*(3-a)&63));if(t=r.charAt(64))for(;e.length%4;)e.push(t);return e.join("")},parse:function(e){var n=e.length,r=this._map;(i=r.charAt(64))&&-1!=(i=e.indexOf(i))&&(n=i);for(var i=[],o=0,a=0;a<n;a++)if(a%4){var s=r.indexOf(e.charAt(a-1))<<a%4*2,u=r.indexOf(e.charAt(a))>>>6-a%4*2;i[o>>>2]|=(s|u)<<24-o%4*8,o++}return t.create(i,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(e){function t(e,t,n,r,i,o,a){return((e=e+(t&n|~t&r)+i+a)<<o|e>>>32-o)+t}function n(e,t,n,r,i,o,a){return((e=e+(t&r|n&~r)+i+a)<<o|e>>>32-o)+t}function r(e,t,n,r,i,o,a){return((e=e+(t^n^r)+i+a)<<o|e>>>32-o)+t}function i(e,t,n,r,i,o,a){return((e=e+(n^(t|~r))+i+a)<<o|e>>>32-o)+t}for(var o=a,s=(c=o.lib).WordArray,u=c.Hasher,c=o.algo,l=[],f=0;64>f;f++)l[f]=4294967296*e.abs(e.sin(f+1))|0;c=c.MD5=u.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,o){for(var a=0;16>a;a++){var s=e[u=o+a];e[u]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}a=this._hash.words;var u=e[o+0],c=(s=e[o+1],e[o+2]),f=e[o+3],h=e[o+4],d=e[o+5],p=e[o+6],g=e[o+7],m=e[o+8],v=e[o+9],E=e[o+10],_=e[o+11],y=e[o+12],S=e[o+13],D=e[o+14],w=e[o+15],b=t(b=a[0],T=a[1],C=a[2],A=a[3],u,7,l[0]),A=t(A,b,T,C,s,12,l[1]),C=t(C,A,b,T,c,17,l[2]),T=t(T,C,A,b,f,22,l[3]);b=t(b,T,C,A,h,7,l[4]),A=t(A,b,T,C,d,12,l[5]),C=t(C,A,b,T,p,17,l[6]),T=t(T,C,A,b,g,22,l[7]),b=t(b,T,C,A,m,7,l[8]),A=t(A,b,T,C,v,12,l[9]),C=t(C,A,b,T,E,17,l[10]),T=t(T,C,A,b,_,22,l[11]),b=t(b,T,C,A,y,7,l[12]),A=t(A,b,T,C,S,12,l[13]),C=t(C,A,b,T,D,17,l[14]),b=n(b,T=t(T,C,A,b,w,22,l[15]),C,A,s,5,l[16]),A=n(A,b,T,C,p,9,l[17]),C=n(C,A,b,T,_,14,l[18]),T=n(T,C,A,b,u,20,l[19]),b=n(b,T,C,A,d,5,l[20]),A=n(A,b,T,C,E,9,l[21]),C=n(C,A,b,T,w,14,l[22]),T=n(T,C,A,b,h,20,l[23]),b=n(b,T,C,A,v,5,l[24]),A=n(A,b,T,C,D,9,l[25]),C=n(C,A,b,T,f,14,l[26]),T=n(T,C,A,b,m,20,l[27]),b=n(b,T,C,A,S,5,l[28]),A=n(A,b,T,C,c,9,l[29]),C=n(C,A,b,T,g,14,l[30]),b=r(b,T=n(T,C,A,b,y,20,l[31]),C,A,d,4,l[32]),A=r(A,b,T,C,m,11,l[33]),C=r(C,A,b,T,_,16,l[34]),T=r(T,C,A,b,D,23,l[35]),b=r(b,T,C,A,s,4,l[36]),A=r(A,b,T,C,h,11,l[37]),C=r(C,A,b,T,g,16,l[38]),T=r(T,C,A,b,E,23,l[39]),b=r(b,T,C,A,S,4,l[40]),A=r(A,b,T,C,u,11,l[41]),C=r(C,A,b,T,f,16,l[42]),T=r(T,C,A,b,p,23,l[43]),b=r(b,T,C,A,v,4,l[44]),A=r(A,b,T,C,y,11,l[45]),C=r(C,A,b,T,w,16,l[46]),b=i(b,T=r(T,C,A,b,c,23,l[47]),C,A,u,6,l[48]),A=i(A,b,T,C,g,10,l[49]),C=i(C,A,b,T,D,15,l[50]),T=i(T,C,A,b,d,21,l[51]),b=i(b,T,C,A,y,6,l[52]),A=i(A,b,T,C,f,10,l[53]),C=i(C,A,b,T,E,15,l[54]),T=i(T,C,A,b,s,21,l[55]),b=i(b,T,C,A,m,6,l[56]),A=i(A,b,T,C,w,10,l[57]),C=i(C,A,b,T,p,15,l[58]),T=i(T,C,A,b,S,21,l[59]),b=i(b,T,C,A,h,6,l[60]),A=i(A,b,T,C,_,10,l[61]),C=i(C,A,b,T,c,15,l[62]),T=i(T,C,A,b,v,21,l[63]),a[0]=a[0]+b|0,a[1]=a[1]+T|0,a[2]=a[2]+C|0,a[3]=a[3]+A|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296);for(n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(n.length+1),this._process(),n=(t=this._hash).words,r=0;4>r;r++)i=n[r],n[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8);return t},clone:function(){var e=u.clone.call(this);return e._hash=this._hash.clone(),e}}),o.MD5=u._createHelper(c),o.HmacMD5=u._createHmacHelper(c)}(Math),function(){var e=a,t=(i=e.lib).WordArray,n=i.Hasher,r=[],i=e.algo.SHA1=n.extend({_doReset:function(){this._hash=new t.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],o=n[1],a=n[2],s=n[3],u=n[4],c=0;80>c;c++){if(16>c)r[c]=0|e[t+c];else{var l=r[c-3]^r[c-8]^r[c-14]^r[c-16];r[c]=l<<1|l>>>31}l=(i<<5|i>>>27)+u+r[c],l=20>c?l+(1518500249+(o&a|~o&s)):40>c?l+(1859775393+(o^a^s)):60>c?l+((o&a|o&s|a&s)-1894007588):l+((o^a^s)-899497514),u=s,s=a,a=o<<30|o>>>2,o=i,i=l}n[0]=n[0]+i|0,n[1]=n[1]+o|0,n[2]=n[2]+a|0,n[3]=n[3]+s|0,n[4]=n[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=n._createHelper(i),e.HmacSHA1=n._createHmacHelper(i)}(),function(e){for(var t=a,n=(i=t.lib).WordArray,r=i.Hasher,i=t.algo,o=[],s=[],u=function(e){return 4294967296*(e-(0|e))|0},c=2,l=0;64>l;){var f;e:{f=c;for(var h=e.sqrt(f),d=2;d<=h;d++)if(!(f%d)){f=!1;break e}f=!0}f&&(8>l&&(o[l]=u(e.pow(c,.5))),s[l]=u(e.pow(c,1/3)),l++),c++}var p=[];i=i.SHA256=r.extend({_doReset:function(){this._hash=new n.init(o.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],c=n[5],l=n[6],f=n[7],h=0;64>h;h++){if(16>h)p[h]=0|e[t+h];else{var d=p[h-15],g=p[h-2];p[h]=((d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3)+p[h-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+p[h-16]}d=f+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&c^~u&l)+s[h]+p[h],g=((r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22))+(r&i^r&o^i&o),f=l,l=c,c=u,u=a+d|0,a=o,o=i,i=r,r=d+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+u|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA256=r._createHelper(i),t.HmacSHA256=r._createHmacHelper(i)}(Math),function(){var e=a,t=e.lib.WordArray,n=(r=e.algo).SHA256,r=r.SHA224=n.extend({_doReset:function(){this._hash=new t.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=n._doFinalize.call(this);return e.sigBytes-=4,e}});e.SHA224=n._createHelper(r),e.HmacSHA224=n._createHmacHelper(r)}(),function(){function e(){return r.create.apply(r,arguments)}for(var t=a,n=t.lib.Hasher,r=(o=t.x64).Word,i=o.WordArray,o=t.algo,s=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],u=[],c=0;80>c;c++)u[c]=e();o=o.SHA512=n.extend({_doReset:function(){this._hash=new i.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=(f=this._hash.words)[0],r=f[1],i=f[2],o=f[3],a=f[4],c=f[5],l=f[6],f=f[7],h=n.high,d=n.low,p=r.high,g=r.low,m=i.high,v=i.low,E=o.high,_=o.low,y=a.high,S=a.low,D=c.high,w=c.low,b=l.high,A=l.low,C=f.high,T=f.low,I=h,O=d,x=p,F=g,N=m,R=v,P=E,B=_,L=y,M=S,H=D,k=w,j=b,U=A,W=C,V=T,G=0;80>G;G++){var K=u[G];if(16>G)var z=K.high=0|e[t+2*G],q=K.low=0|e[t+2*G+1];else{z=((q=(z=u[G-15]).high)>>>1|(Y=z.low)<<31)^(q>>>8|Y<<24)^q>>>7;var Y=(Y>>>1|q<<31)^(Y>>>8|q<<24)^(Y>>>7|q<<25),J=((q=(J=u[G-2]).high)>>>19|(Q=J.low)<<13)^(q<<3|Q>>>29)^q>>>6,Q=(Q>>>19|q<<13)^(Q<<3|q>>>29)^(Q>>>6|q<<26),Z=(q=u[G-7]).high,X=($=u[G-16]).high,$=$.low;z=(z=(z=z+Z+((q=Y+q.low)>>>0<Y>>>0?1:0))+J+((q+=Q)>>>0<Q>>>0?1:0))+X+((q+=$)>>>0<$>>>0?1:0),K.high=z,K.low=q}Z=L&H^~L&j,$=M&k^~M&U,K=I&x^I&N^x&N;var ee=O&F^O&R^F&R,te=(Y=(I>>>28|O<<4)^(I<<30|O>>>2)^(I<<25|O>>>7),J=(O>>>28|I<<4)^(O<<30|I>>>2)^(O<<25|I>>>7),(Q=s[G]).high),ne=Q.low;X=W+((L>>>14|M<<18)^(L>>>18|M<<14)^(L<<23|M>>>9))+((Q=V+((M>>>14|L<<18)^(M>>>18|L<<14)^(M<<23|L>>>9)))>>>0<V>>>0?1:0),W=j,V=U,j=H,U=k,H=L,k=M,L=P+(X=(X=(X=X+Z+((Q+=$)>>>0<$>>>0?1:0))+te+((Q+=ne)>>>0<ne>>>0?1:0))+z+((Q+=q)>>>0<q>>>0?1:0))+((M=B+Q|0)>>>0<B>>>0?1:0)|0,P=N,B=R,N=x,R=F,x=I,F=O,I=X+(K=Y+K+((q=J+ee)>>>0<J>>>0?1:0))+((O=Q+q|0)>>>0<Q>>>0?1:0)|0}d=n.low=d+O,n.high=h+I+(d>>>0<O>>>0?1:0),g=r.low=g+F,r.high=p+x+(g>>>0<F>>>0?1:0),v=i.low=v+R,i.high=m+N+(v>>>0<R>>>0?1:0),_=o.low=_+B,o.high=E+P+(_>>>0<B>>>0?1:0),S=a.low=S+M,a.high=y+L+(S>>>0<M>>>0?1:0),w=c.low=w+k,c.high=D+H+(w>>>0<k>>>0?1:0),A=l.low=A+U,l.high=b+j+(A>>>0<U>>>0?1:0),T=f.low=T+V,f.high=C+W+(T>>>0<V>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32}),t.SHA512=n._createHelper(o),t.HmacSHA512=n._createHmacHelper(o)}(),function(){var e=a,t=(i=e.x64).Word,n=i.WordArray,r=(i=e.algo).SHA512,i=i.SHA384=r.extend({_doReset:function(){this._hash=new n.init([new t.init(3418070365,3238371032),new t.init(1654270250,914150663),new t.init(2438529370,812702999),new t.init(355462360,4144912697),new t.init(1731405415,4290775857),new t.init(2394180231,1750603025),new t.init(3675008525,1694076839),new t.init(1203062813,3204075428)])},_doFinalize:function(){var e=r._doFinalize.call(this);return e.sigBytes-=16,e}});e.SHA384=r._createHelper(i),e.HmacSHA384=r._createHmacHelper(i)}(),function(){var e=a,t=(r=e.lib).WordArray,n=r.Hasher,r=e.algo,i=t.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),o=t.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),s=t.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=t.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),c=t.create([0,1518500249,1859775393,2400959708,2840853838]),l=t.create([1352829926,1548603684,1836072691,2053994217,0]);r=r.RIPEMD160=n.extend({_doReset:function(){this._hash=t.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;16>n;n++){var r=e[S=t+n];e[S]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var a,f,h,d,p,g,m,v,E,_,y,S=this._hash.words,D=(r=c.words,l.words),w=i.words,b=o.words,A=s.words,C=u.words;for(g=a=S[0],m=f=S[1],v=h=S[2],E=d=S[3],_=p=S[4],n=0;80>n;n+=1)y=a+e[t+w[n]]|0,y=16>n?y+((f^h^d)+r[0]):32>n?y+((f&h|~f&d)+r[1]):48>n?y+(((f|~h)^d)+r[2]):64>n?y+((f&d|h&~d)+r[3]):y+((f^(h|~d))+r[4]),y=(y=(y|=0)<<A[n]|y>>>32-A[n])+p|0,a=p,p=d,d=h<<10|h>>>22,h=f,f=y,y=g+e[t+b[n]]|0,y=16>n?y+((m^(v|~E))+D[0]):32>n?y+((m&E|v&~E)+D[1]):48>n?y+(((m|~v)^E)+D[2]):64>n?y+((m&v|~m&E)+D[3]):y+((m^v^E)+D[4]),y=(y=(y|=0)<<C[n]|y>>>32-C[n])+_|0,g=_,_=E,E=v<<10|v>>>22,v=m,m=y;y=S[1]+h+E|0,S[1]=S[2]+d+_|0,S[2]=S[3]+p+g|0,S[3]=S[4]+a+m|0,S[4]=S[0]+f+v|0,S[0]=y},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;for(t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process(),t=(e=this._hash).words,n=0;5>n;n++)r=t[n],t[n]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8);return e},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}}),e.RIPEMD160=n._createHelper(r),e.HmacRIPEMD160=n._createHmacHelper(r)}(Math),function(){var e=a,t=e.enc.Utf8;e.algo.HMAC=e.lib.Base.extend({init:function(e,n){e=this._hasher=new e.init,"string"==typeof n&&(n=t.parse(n));var r=e.blockSize,i=4*r;n.sigBytes>i&&(n=e.finalize(n)),n.clamp();for(var o=this._oKey=n.clone(),a=this._iKey=n.clone(),s=o.words,u=a.words,c=0;c<r;c++)s[c]^=1549556828,u[c]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher;return e=t.finalize(e),t.reset(),t.finalize(this._oKey.clone().concat(e))}})}(),function(){var e,t=a,n=(e=t.lib).Base,r=e.WordArray,i=(e=t.algo).HMAC,o=e.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:e.SHA1,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n=this.cfg,o=i.create(n.hasher,e),a=r.create(),s=r.create([1]),u=a.words,c=s.words,l=n.keySize;for(n=n.iterations;u.length<l;){var f=o.update(t).finalize(s);o.reset();for(var h=f.words,d=h.length,p=f,g=1;g<n;g++){p=o.finalize(p),o.reset();for(var m=p.words,v=0;v<d;v++)h[v]^=m[v]}a.concat(f),c[0]++}return a.sigBytes=4*l,a}});t.PBKDF2=function(e,t,n){return o.create(n).compute(e,t)}}();var s,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c="=";function l(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=u.charAt(n>>6)+u.charAt(63&n);if(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=u.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=u.charAt(n>>2)+u.charAt((3&n)<<4)),c)for(;(3&r.length)>0;)r+=c;return r}function f(e){var t,n,r,i="",o=0;for(t=0;t<e.length&&e.charAt(t)!=c;++t)(r=u.indexOf(e.charAt(t)))<0||(0==o?(i+=E(r>>2),n=3&r,o=1):1==o?(i+=E(n<<2|r>>4),n=15&r,o=2):2==o?(i+=E(n),i+=E(r>>2),n=3&r,o=3):(i+=E(n<<2|r>>4),i+=E(15&r),o=0));return 1==o&&(i+=E(n<<2)),i}function h(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function d(){return new h(null)}"Microsoft Internet Explorer"==i.appName?(h.prototype.am=function(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var u=32767&this[e],c=this[e++]>>15,l=s*u+c*a;i=((u=a*u+((32767&l)<<15)+n[r]+(1073741823&i))>>>30)+(l>>>15)+s*c+(i>>>30),n[r++]=1073741823&u}return i},s=30):"Netscape"!=i.appName?(h.prototype.am=function(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i},s=26):(h.prototype.am=function(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var u=16383&this[e],c=this[e++]>>14,l=s*u+c*a;i=((u=a*u+((16383&l)<<14)+n[r]+i)>>28)+(l>>14)+s*c,n[r++]=268435455&u}return i},s=28),h.prototype.DB=s,h.prototype.DM=(1<<s)-1,h.prototype.DV=1<<s,h.prototype.FV=Math.pow(2,52),h.prototype.F1=52-s,h.prototype.F2=2*s-52;var p,g,m="0123456789abcdefghijklmnopqrstuvwxyz",v=new Array;for(p="0".charCodeAt(0),g=0;g<=9;++g)v[p++]=g;for(p="a".charCodeAt(0),g=10;g<36;++g)v[p++]=g;for(p="A".charCodeAt(0),g=10;g<36;++g)v[p++]=g;function E(e){return m.charAt(e)}function _(e,t){var n=v[e.charCodeAt(t)];return null==n?-1:n}function y(e){var t=d();return t.fromInt(e),t}function S(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function D(e){this.m=e}function w(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function A(e,t){return e&t}function C(e,t){return e|t}function T(e,t){return e^t}function I(e,t){return e&~t}function O(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function x(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function F(){}function N(e){return e}function R(e){this.r2=d(),this.q3=d(),h.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}D.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},D.prototype.revert=function(e){return e},D.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},D.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},D.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},w.prototype.convert=function(e){var t=d();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(h.ZERO)>0&&this.m.subTo(t,t),t},w.prototype.revert=function(e){var t=d();return e.copyTo(t),this.reduce(t),t},w.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},w.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},w.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},h.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},h.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},h.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;for(var r=e.length,i=!1,o=0;--r>=0;){var a=8==n?255&e[r]:_(e,r);a<0?"-"==e.charAt(r)&&(i=!0):(i=!1,0==o?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,(o+=n)>=this.DB&&(o-=this.DB))}8==n&&0!=(128&e[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),i&&h.ZERO.subTo(this,this)},h.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},h.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},h.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},h.prototype.lShiftTo=function(e,t){var n,r=e%this.DB,i=this.DB-r,o=(1<<i)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()},h.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}},h.prototype.subTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n<i;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},h.prototype.multiplyTo=function(e,t){var n=this.abs(),r=e.abs(),i=n.t;for(t.t=i+r.t;--i>=0;)t[i]=0;for(i=0;i<r.t;++i)t[i+n.t]=n.am(0,r[i],t,i,0,n.t);t.s=0,t.clamp(),this.s!=e.s&&h.ZERO.subTo(t,t)},h.prototype.squareTo=function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},h.prototype.divRemTo=function(e,t,n){var r=e.abs();if(!(r.t<=0)){var i=this.abs();if(i.t<r.t)return null!=t&&t.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=d());var o=d(),a=this.s,s=e.s,u=this.DB-S(r[r.t-1]);u>0?(r.lShiftTo(u,o),i.lShiftTo(u,n)):(r.copyTo(o),i.copyTo(n));var c=o.t,l=o[c-1];if(0!=l){var f=l*(1<<this.F1)+(c>1?o[c-2]>>this.F2:0),p=this.FV/f,g=(1<<this.F1)/f,m=1<<this.F2,v=n.t,E=v-c,_=null==t?d():t;for(o.dlShiftTo(E,_),n.compareTo(_)>=0&&(n[n.t++]=1,n.subTo(_,n)),h.ONE.dlShiftTo(c,_),_.subTo(o,o);o.t<c;)o[o.t++]=0;for(;--E>=0;){var y=n[--v]==l?this.DM:Math.floor(n[v]*p+(n[v-1]+m)*g);if((n[v]+=o.am(0,y,n,E,0,c))<y)for(o.dlShiftTo(E,_),n.subTo(_,n);n[v]<--y;)n.subTo(_,n)}null!=t&&(n.drShiftTo(c,t),a!=s&&h.ZERO.subTo(t,t)),n.t=c,n.clamp(),u>0&&n.rShiftTo(u,n),a<0&&h.ZERO.subTo(n,n)}}},h.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},h.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},h.prototype.exp=function(e,t){if(e>4294967295||e<1)return h.ONE;var n=d(),r=d(),i=t.convert(this),o=S(e)-1;for(i.copyTo(n);--o>=0;)if(t.sqrTo(n,r),(e&1<<o)>0)t.mulTo(r,i,n);else{var a=n;n=r,r=a}return t.revert(n)},h.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,i=!1,o="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(i=!0,o=E(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(i=!0),i&&(o+=E(n));return i?o:"0"},h.prototype.negate=function(){var e=d();return h.ZERO.subTo(this,e),e},h.prototype.abs=function(){return this.s<0?this.negate():this},h.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},h.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+S(this[this.t-1]^this.s&this.DM)},h.prototype.mod=function(e){var t=d();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(h.ZERO)>0&&e.subTo(t,t),t},h.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new D(t):new w(t),this.exp(e,n)},h.ZERO=y(0),h.ONE=y(1),F.prototype.convert=N,F.prototype.revert=N,F.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},F.prototype.sqrTo=function(e,t){e.squareTo(t)},R.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=d();return e.copyTo(t),this.reduce(t),t},R.prototype.revert=function(e){return e},R.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},R.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},R.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var P=[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],B=(1<<26)/P[P.length-1];function L(){this.i=0,this.j=0,this.S=new Array}h.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},h.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),r=y(n),i=d(),o=d(),a="";for(this.divRemTo(r,i,o);i.signum()>0;)a=(n+o.intValue()).toString(e).substr(1)+a,i.divRemTo(r,i,o);return o.intValue().toString(e)+a},h.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),r=Math.pow(t,n),i=!1,o=0,a=0,s=0;s<e.length;++s){var u=_(e,s);u<0?"-"==e.charAt(s)&&0==this.signum()&&(i=!0):(a=t*a+u,++o>=n&&(this.dMultiply(r),this.dAddOffset(a,0),o=0,a=0))}o>0&&(this.dMultiply(Math.pow(t,o)),this.dAddOffset(a,0)),i&&h.ZERO.subTo(this,this)},h.prototype.fromNumber=function(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(h.ONE.shiftLeft(e-1),C,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(h.ONE.shiftLeft(e-1),this);else{var r=new Array,i=7&e;r.length=1+(e>>3),t.nextBytes(r),i>0?r[0]&=(1<<i)-1:r[0]=0,this.fromString(r,256)}},h.prototype.bitwiseTo=function(e,t,n){var r,i,o=Math.min(e.t,this.t);for(r=0;r<o;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(i,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()},h.prototype.changeBit=function(e,t){var n=h.ONE.shiftLeft(e);return this.bitwiseTo(n,t,n),n},h.prototype.addTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n<i;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},h.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},h.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},h.prototype.multiplyLowerTo=function(e,t,n){var r,i=Math.min(this.t+e.t,t);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(r=n.t-this.t;i<r;++i)n[i+this.t]=this.am(0,e[i],n,i,0,this.t);for(r=Math.min(e.t,t);i<r;++i)this.am(0,e[i],n,i,0,t-i);n.clamp()},h.prototype.multiplyUpperTo=function(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)},h.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n},h.prototype.millerRabin=function(e){var t=this.subtract(h.ONE),n=t.getLowestSetBit();if(n<=0)return!1;var r=t.shiftRight(n);(e=e+1>>1)>P.length&&(e=P.length);for(var i=d(),o=0;o<e;++o){i.fromInt(P[Math.floor(Math.random()*P.length)]);var a=i.modPow(r,this);if(0!=a.compareTo(h.ONE)&&0!=a.compareTo(t)){for(var s=1;s++<n&&0!=a.compareTo(t);)if(0==(a=a.modPowInt(2,this)).compareTo(h.ONE))return!1;if(0!=a.compareTo(t))return!1}}return!0},h.prototype.clone=function(){var e=d();return this.copyTo(e),e},h.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]},h.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},h.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},h.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},h.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);e>=0;)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t},h.prototype.equals=function(e){return 0==this.compareTo(e)},h.prototype.min=function(e){return this.compareTo(e)<0?this:e},h.prototype.max=function(e){return this.compareTo(e)>0?this:e},h.prototype.and=function(e){var t=d();return this.bitwiseTo(e,A,t),t},h.prototype.or=function(e){var t=d();return this.bitwiseTo(e,C,t),t},h.prototype.xor=function(e){var t=d();return this.bitwiseTo(e,T,t),t},h.prototype.andNot=function(e){var t=d();return this.bitwiseTo(e,I,t),t},h.prototype.not=function(){for(var e=d(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},h.prototype.shiftLeft=function(e){var t=d();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},h.prototype.shiftRight=function(e){var t=d();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},h.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+O(this[e]);return this.s<0?this.t*this.DB:-1},h.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=x(this[n]^t);return e},h.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},h.prototype.setBit=function(e){return this.changeBit(e,C)},h.prototype.clearBit=function(e){return this.changeBit(e,I)},h.prototype.flipBit=function(e){return this.changeBit(e,T)},h.prototype.add=function(e){var t=d();return this.addTo(e,t),t},h.prototype.subtract=function(e){var t=d();return this.subTo(e,t),t},h.prototype.multiply=function(e){var t=d();return this.multiplyTo(e,t),t},h.prototype.divide=function(e){var t=d();return this.divRemTo(e,t,null),t},h.prototype.remainder=function(e){var t=d();return this.divRemTo(e,null,t),t},h.prototype.divideAndRemainder=function(e){var t=d(),n=d();return this.divRemTo(e,t,n),new Array(t,n)},h.prototype.modPow=function(e,t){var n,r,i=e.bitLength(),o=y(1);if(i<=0)return o;n=i<18?1:i<48?3:i<144?4:i<768?5:6,r=i<8?new D(t):t.isEven()?new R(t):new w(t);var a=new Array,s=3,u=n-1,c=(1<<n)-1;if(a[1]=r.convert(this),n>1){var l=d();for(r.sqrTo(a[1],l);s<=c;)a[s]=d(),r.mulTo(l,a[s-2],a[s]),s+=2}var f,h,p=e.t-1,g=!0,m=d();for(i=S(e[p])-1;p>=0;){for(i>=u?f=e[p]>>i-u&c:(f=(e[p]&(1<<i+1)-1)<<u-i,p>0&&(f|=e[p-1]>>this.DB+i-u)),s=n;0==(1&f);)f>>=1,--s;if((i-=s)<0&&(i+=this.DB,--p),g)a[f].copyTo(o),g=!1;else{for(;s>1;)r.sqrTo(o,m),r.sqrTo(m,o),s-=2;s>0?r.sqrTo(o,m):(h=o,o=m,m=h),r.mulTo(m,a[f],o)}for(;p>=0&&0==(e[p]&1<<i);)r.sqrTo(o,m),h=o,o=m,m=h,--i<0&&(i=this.DB-1,--p)}return r.revert(o)},h.prototype.modInverse=function(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return h.ZERO;for(var n=e.clone(),r=this.clone(),i=y(1),o=y(0),a=y(0),s=y(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),t?(i.isEven()&&o.isEven()||(i.addTo(this,i),o.subTo(e,o)),i.rShiftTo(1,i)):o.isEven()||o.subTo(e,o),o.rShiftTo(1,o);for(;r.isEven();)r.rShiftTo(1,r),t?(a.isEven()&&s.isEven()||(a.addTo(this,a),s.subTo(e,s)),a.rShiftTo(1,a)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);n.compareTo(r)>=0?(n.subTo(r,n),t&&i.subTo(a,i),o.subTo(s,o)):(r.subTo(n,r),t&&a.subTo(i,a),s.subTo(o,s))}return 0!=r.compareTo(h.ONE)?h.ZERO:s.compareTo(e)>=0?s.subtract(e):s.signum()<0?(s.addTo(e,s),s.signum()<0?s.add(e):s):s},h.prototype.pow=function(e){return this.exp(e,new F)},h.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var i=t.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return t;for(i<o&&(o=i),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},h.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=P[P.length-1]){for(t=0;t<P.length;++t)if(n[0]==P[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<P.length;){for(var r=P[t],i=t+1;i<P.length&&r<B;)r*=P[i++];for(r=n.modInt(r);t<i;)if(r%P[t++]==0)return!1}return n.millerRabin(e)},h.prototype.square=function(){var e=d();return this.squareTo(e),e},L.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0},L.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]};var M,H,k,j=256;function U(){var e;e=(new Date).getTime(),H[k++]^=255&e,H[k++]^=e>>8&255,H[k++]^=e>>16&255,H[k++]^=e>>24&255,k>=j&&(k-=j)}if(null==H){var W;if(H=new Array,k=0,void 0!==o&&(void 0!==o.crypto||void 0!==o.msCrypto)){var V=o.crypto||o.msCrypto;if(V.getRandomValues){var G=new Uint8Array(32);for(V.getRandomValues(G),W=0;W<32;++W)H[k++]=G[W]}else if("Netscape"==i.appName&&i.appVersion<"5"){var K=o.crypto.random(32);for(W=0;W<K.length;++W)H[k++]=255&K.charCodeAt(W)}}for(;k<j;)W=Math.floor(65536*Math.random()),H[k++]=W>>>8,H[k++]=255&W;k=0,U()}function z(){if(null==M){for(U(),(M=new L).init(H),k=0;k<H.length;++k)H[k]=0;k=0}return M.next()}function q(){}function Y(e,t){return new h(e,t)}function J(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function Q(e,t){this.x=t,this.q=e}function Z(e,t,n,r){this.curve=e,this.x=t,this.y=n,this.z=null==r?h.ONE:r,this.zinv=null}function X(e,t,n){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(n),this.infinity=new Z(this,null,null)}q.prototype.nextBytes=function(e){var t;for(t=0;t<e.length;++t)e[t]=z()},J.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},J.prototype.setPublic=function(e,t){if(this.isPublic=!0,this.isPrivate=!1,"string"!==typeof e)this.n=e,this.e=t;else{if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA public key";this.n=Y(e,16),this.e=parseInt(t,16)}},J.prototype.type="RSA",J.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);for(var t=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);t.compareTo(n)<0;)t=t.add(this.p);return t.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},J.prototype.setPrivate=function(e,t,n){if(this.isPrivate=!0,"string"!==typeof e)this.n=e,this.e=t,this.d=n;else{if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA private key";this.n=Y(e,16),this.e=parseInt(t,16),this.d=Y(n,16)}},J.prototype.setPrivateEx=function(e,t,n,r,i,o,a,s){if(this.isPrivate=!0,this.isPublic=!1,null==e)throw"RSASetPrivateEx N == null";if(null==t)throw"RSASetPrivateEx E == null";if(0==e.length)throw"RSASetPrivateEx N.length == 0";if(0==t.length)throw"RSASetPrivateEx E.length == 0";if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA private key in RSASetPrivateEx";this.n=Y(e,16),this.e=parseInt(t,16),this.d=Y(n,16),this.p=Y(r,16),this.q=Y(i,16),this.dmp1=Y(o,16),this.dmq1=Y(a,16),this.coeff=Y(s,16)},J.prototype.generate=function(e,t){var n=new q,r=e>>1;this.e=parseInt(t,16);for(var i=new h(t,16),o=e/2-100,a=h.ONE.shiftLeft(o);;){for(;this.p=new h(e-r,1,n),0!=this.p.subtract(h.ONE).gcd(i).compareTo(h.ONE)||!this.p.isProbablePrime(10););for(;this.q=new h(r,1,n),0!=this.q.subtract(h.ONE).gcd(i).compareTo(h.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var u=this.q.subtract(this.p).abs();if(!(u.bitLength()<o||u.compareTo(a)<=0)){var c=this.p.subtract(h.ONE),l=this.q.subtract(h.ONE),f=c.multiply(l);if(0==f.gcd(i).compareTo(h.ONE)&&(this.n=this.p.multiply(this.q),this.n.bitLength()==e)){this.d=i.modInverse(f),this.dmp1=this.d.mod(c),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}}this.isPrivate=!0},Q.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)},Q.prototype.toBigInteger=function(){return this.x},Q.prototype.negate=function(){return new Q(this.q,this.x.negate().mod(this.q))},Q.prototype.add=function(e){return new Q(this.q,this.x.add(e.toBigInteger()).mod(this.q))},Q.prototype.subtract=function(e){return new Q(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))},Q.prototype.multiply=function(e){return new Q(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))},Q.prototype.square=function(){return new Q(this.q,this.x.square().mod(this.q))},Q.prototype.divide=function(e){return new Q(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))},Q.prototype.sqrt=function(){return new Q(this.q,this.x.sqrt().mod(this.q))},Z.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},Z.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},Z.prototype.equals=function(e){return e==this||(this.isInfinity()?e.isInfinity():e.isInfinity()?this.isInfinity():!!e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(h.ZERO)&&e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(h.ZERO))},Z.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(h.ZERO)&&!this.y.toBigInteger().equals(h.ZERO)},Z.prototype.negate=function(){return new Z(this.curve,this.x,this.y.negate(),this.z)},Z.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(h.ZERO.equals(n))return h.ZERO.equals(t)?this.twice():this.curve.getInfinity();var r=new h("3"),i=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),n.square()),s=a.multiply(n),u=i.multiply(a),c=t.square().multiply(this.z),l=c.subtract(u.shiftLeft(1)).multiply(e.z).subtract(s).multiply(n).mod(this.curve.q),f=u.multiply(r).multiply(t).subtract(o.multiply(s)).subtract(c.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new Z(this.curve,this.curve.fromBigInteger(l),this.curve.fromBigInteger(f),d)},Z.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new h("3"),t=this.x.toBigInteger(),n=this.y.toBigInteger(),r=n.multiply(this.z),i=r.multiply(n).mod(this.curve.q),o=this.curve.a.toBigInteger(),a=t.square().multiply(e);h.ZERO.equals(o)||(a=a.add(this.z.square().multiply(o)));var s=(a=a.mod(this.curve.q)).square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(r).mod(this.curve.q),u=a.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(a.square().multiply(a)).mod(this.curve.q),c=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new Z(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(u),c)},Z.prototype.multiply=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new h("3")),i=this.negate(),o=this,a=this.curve.q.subtract(e),s=a.multiply(new h("3")),u=new Z(this.curve,this.x,this.y),c=u.negate();for(t=r.bitLength()-2;t>0;--t){o=o.twice();var l=r.testBit(t);l!=n.testBit(t)&&(o=o.add(l?this:i))}for(t=s.bitLength()-2;t>0;--t){u=u.twice();var f=s.testBit(t);f!=a.testBit(t)&&(u=u.add(f?u:c))}return o},Z.prototype.multiplyTwo=function(e,t,n){var r;r=e.bitLength()>n.bitLength()?e.bitLength()-1:n.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(t);r>=0;)i=i.twice(),e.testBit(r)?i=n.testBit(r)?i.add(o):i.add(this):n.testBit(r)&&(i=i.add(t)),--r;return i},X.prototype.getQ=function(){return this.q},X.prototype.getA=function(){return this.a},X.prototype.getB=function(){return this.b},X.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},X.prototype.getInfinity=function(){return this.infinity},X.prototype.fromBigInteger=function(e){return new Q(this.q,e)},X.prototype.decodePointHex=function(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:var t=e.substr(0,2),n=(e.substr(2),this.fromBigInteger(new h(s,16))),r=this.getA(),i=this.getB(),o=n.square().add(r).multiply(n).add(i).sqrt();return"03"==t&&(o=o.negate()),new Z(this,n,o);case 4:case 6:case 7:var a=(e.length-2)/2,s=e.substr(2,a),u=e.substr(a+2,a);return new Z(this,this.fromBigInteger(new h(s,16)),this.fromBigInteger(new h(u,16)));default:return null}},Q.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},Z.prototype.getEncoded=function(e){var t=function(e,t){var n=e.toByteArrayUnsigned();if(t<n.length)n=n.slice(n.length-t);else for(;t>n.length;)n.unshift(0);return n},n=this.getX().toBigInteger(),r=this.getY().toBigInteger(),i=t(n,32);return e?r.isEven()?i.unshift(2):i.unshift(3):(i.unshift(4),i=i.concat(t(r,32))),i},Z.decodeFrom=function(e,t){t[0];var n=t.length-1,r=t.slice(1,1+n/2),i=t.slice(1+n/2,1+n);r.unshift(0),i.unshift(0);var o=new h(r),a=new h(i);return new Z(e,e.fromBigInteger(o),e.fromBigInteger(a))},Z.decodeFromHex=function(e,t){t.substr(0,2);var n=t.length-2,r=t.substr(2,n/2),i=t.substr(2+n/2,n/2),o=new h(r,16),a=new h(i,16);return new Z(e,e.fromBigInteger(o),e.fromBigInteger(a))},Z.prototype.add2D=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;if(this.x.equals(e.x))return this.y.equals(e.y)?this.twice():this.curve.getInfinity();var t=e.x.subtract(this.x),n=e.y.subtract(this.y).divide(t),r=n.square().subtract(this.x).subtract(e.x),i=n.multiply(this.x.subtract(r)).subtract(this.y);return new Z(this.curve,r,i)},Z.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=this.curve.fromBigInteger(h.valueOf(2)),t=this.curve.fromBigInteger(h.valueOf(3)),n=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),r=n.square().subtract(this.x.multiply(e)),i=n.multiply(this.x.subtract(r)).subtract(this.y);return new Z(this.curve,r,i)},Z.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new h("3")),i=this.negate(),o=this;for(t=r.bitLength()-2;t>0;--t){o=o.twice();var a=r.testBit(t);a!=n.testBit(t)&&(o=o.add2D(a?this:i))}return o},Z.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),t=this.getY().toBigInteger(),n=this.curve.getA().toBigInteger(),r=this.curve.getB().toBigInteger(),i=this.curve.getQ(),o=t.multiply(t).mod(i),a=e.multiply(e).multiply(e).add(n.multiply(e)).add(r).mod(i);return o.equals(a)},Z.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},Z.prototype.validate=function(){var e=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var t=this.getX().toBigInteger(),n=this.getY().toBigInteger();if(t.compareTo(h.ONE)<0||t.compareTo(e.subtract(h.ONE))>0)throw new Error("x coordinate out of bounds");if(n.compareTo(h.ONE)<0||n.compareTo(e.subtract(h.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(e).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var $=function(){var e=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),t=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),n={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function r(e,t,r){return t?n[t]:String.fromCharCode(parseInt(r,16))}var i=new String(""),o=Object.hasOwnProperty;return function(n,a){var s,u,c=n.match(e),l=c[0],f=!1;"{"===l?s={}:"["===l?s=[]:(s=[],f=!0);for(var h=[s],d=1-f,p=c.length;d<p;++d){var g;switch((l=c[d]).charCodeAt(0)){default:(g=h[0])[u||g.length]=+l,u=void 0;break;case 34:if(-1!==(l=l.substring(1,l.length-1)).indexOf("\\")&&(l=l.replace(t,r)),g=h[0],!u){if(!(g instanceof Array)){u=l||i;break}u=g.length}g[u]=l,u=void 0;break;case 91:g=h[0],h.unshift(g[u||g.length]=[]),u=void 0;break;case 93:case 125:h.shift();break;case 102:(g=h[0])[u||g.length]=!1,u=void 0;break;case 110:(g=h[0])[u||g.length]=null,u=void 0;break;case 116:(g=h[0])[u||g.length]=!0,u=void 0;break;case 123:g=h[0],h.unshift(g[u||g.length]={}),u=void 0}}if(f){if(1!==h.length)throw new Error;s=s[0]}else if(h.length)throw new Error;return a&&(s=function e(t,n){var r=t[n];if(r&&"object"===b(r)){var i=null;for(var s in r)if(o.call(r,s)&&r!==t){var u=e(r,s);void 0!==u?r[s]=u:(i||(i=[]),i.push(s))}if(i)for(var c=i.length;--c>=0;)delete r[i[c]]}return a.call(t,n,r)}({"":s},"")),s}}();"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.asn1&&ee.asn1||(ee.asn1={}),ee.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){return Re(e)},this.getPEMStringFromHex=function(e,t){return ge(e,t)},this.newObject=function(e){var t=ee.asn1,n=t.ASN1Object,r=t.DERBoolean,i=t.DERInteger,o=t.DERBitString,a=t.DEROctetString,s=t.DERNull,u=t.DERObjectIdentifier,c=t.DEREnumerated,l=t.DERUTF8String,f=t.DERNumericString,h=t.DERPrintableString,d=t.DERTeletexString,p=t.DERIA5String,g=t.DERUTCTime,m=t.DERGeneralizedTime,v=t.DERVisibleString,E=t.DERBMPString,_=t.DERSequence,y=t.DERSet,S=t.DERTaggedObject,D=t.ASN1Util.newObject;if(e instanceof t.ASN1Object)return e;var w=Object.keys(e);if(1!=w.length)throw new Error("key of param shall be only one.");var b=w[0];if(-1==":asn1:bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:".indexOf(":"+b+":"))throw new Error("undefined key: "+b);if("bool"==b)return new r(e[b]);if("int"==b)return new i(e[b]);if("bitstr"==b)return new o(e[b]);if("octstr"==b)return new a(e[b]);if("null"==b)return new s(e[b]);if("oid"==b)return new u(e[b]);if("enum"==b)return new c(e[b]);if("utf8str"==b)return new l(e[b]);if("numstr"==b)return new f(e[b]);if("prnstr"==b)return new h(e[b]);if("telstr"==b)return new d(e[b]);if("ia5str"==b)return new p(e[b]);if("utctime"==b)return new g(e[b]);if("gentime"==b)return new m(e[b]);if("visstr"==b)return new v(e[b]);if("bmpstr"==b)return new E(e[b]);if("asn1"==b)return new n(e[b]);if("seq"==b){for(var A=e[b],C=[],T=0;T<A.length;T++){var I=D(A[T]);C.push(I)}return new _({array:C})}if("set"==b){for(A=e[b],C=[],T=0;T<A.length;T++)I=D(A[T]),C.push(I);return new y({array:C})}if("tag"==b){var O=e[b];if("[object Array]"===Object.prototype.toString.call(O)&&3==O.length){var x=D(O[2]);return new S({tag:O[0],explicit:O[1],obj:x})}return new S(O)}},this.jsonToASN1HEX=function(e){return this.newObject(e).tohex()}},ee.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),r=(t=Math.floor(n/40)+"."+n%40,""),i=2;i<e.length;i+=2){var o=("00000000"+parseInt(e.substr(i,2),16).toString(2)).slice(-8);r+=o.substr(1,7),"0"==o.substr(0,1)&&(t=t+"."+new h(r,2).toString(10),r="")}return t},ee.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new h(e,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=t(parseInt(s,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",i=e.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=t(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);return r},ee.asn1.ASN1Object=function(e){this.params=null,this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw new Error("this.hV is null or undefined");if(this.hV.length%2==1)throw new Error("value hex must be even length: n=0,v="+this.hV);var e=this.hV.length/2,t=e.toString(16);if(t.length%2==1&&(t="0"+t),e<128)return t;var n=t.length/2;if(n>15)throw new Error("ASN.1 length too long to represent by 8x: n = "+e.toString(16));return(128+n).toString(16)+t},this.tohex=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.getEncodedHex=function(){return this.tohex()},this.getValueHex=function(){return this.tohex(),this.hV},this.getFreshValueHex=function(){return""},this.setByParam=function(e){this.params=e},void 0!=e&&void 0!=e.tlv&&(this.hTLV=e.tlv,this.isModified=!1)},ee.asn1.DERAbstractString=function(e){ee.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=le(this.s).toLowerCase()},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e?this.setString(e):"undefined"!=typeof e.str?this.setString(e.str):"undefined"!=typeof e.hex&&this.setStringHex(e.hex))},Me(ee.asn1.DERAbstractString,ee.asn1.ASN1Object),ee.asn1.DERAbstractTime=function(e){ee.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){var t=e.getTime()+6e4*e.getTimezoneOffset();return new Date(t)},this.formatDate=function(e,t,n){var r=this.zeroPadding,i=this.localDateToUTC(e),o=String(i.getFullYear());"utc"==t&&(o=o.substr(2,2));var a=o+r(String(i.getMonth()+1),2)+r(String(i.getDate()),2)+r(String(i.getHours()),2)+r(String(i.getMinutes()),2)+r(String(i.getSeconds()),2);if(!0===n){var s=i.getMilliseconds();if(0!=s){var u=r(String(s),3);a=a+"."+(u=u.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.setByParam=function(e){this.hV=null,this.hTLV=null,this.params=e},this.getString=function(){},this.setString=function(e){this.hTLV=null,this.isModified=!0,void 0==this.params&&(this.params={}),this.params.str=e},this.setByDate=function(e){this.hTLV=null,this.isModified=!0,void 0==this.params&&(this.params={}),this.params.date=e},this.setByDateValue=function(e,t,n,r,i,o){var a=new Date(Date.UTC(e,t-1,n,r,i,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},Me(ee.asn1.DERAbstractTime,ee.asn1.ASN1Object),ee.asn1.DERAbstractStructured=function(e){ee.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,"undefined"!=typeof e&&"undefined"!=typeof e.array&&(this.asn1Array=e.array)},Me(ee.asn1.DERAbstractStructured,ee.asn1.ASN1Object),ee.asn1.DERBoolean=function(e){ee.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV=0==e?"010100":"0101ff"},Me(ee.asn1.DERBoolean,ee.asn1.ASN1Object),ee.asn1.DERInteger=function(e){ee.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.params=null;var t=Re;this.setByBigInteger=function(e){this.isModified=!0,this.params={bigint:e}},this.setByInteger=function(e){this.isModified=!0,this.params=e},this.setValueHex=function(e){this.isModified=!0,this.params={hex:e}},this.getFreshValueHex=function(){var e=this.params,n=null;if(null==e)throw new Error("value not set");if("object"==b(e)&&void 0!=e.hex)return this.hV=e.hex,this.hV;if("number"==typeof e)n=new h(String(e),10);else if(void 0!=e.int)n=new h(String(e.int),10);else{if(void 0==e.bigint)throw new Error("wrong parameter");n=e.bigint}return this.hV=t(n),this.hV},void 0!=e&&(this.params=e)},Me(ee.asn1.DERInteger,ee.asn1.ASN1Object),ee.asn1.DERBitString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=ee.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.tohex()}ee.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+t},this.setByBinaryString=function(e){var t=8-(e=e.replace(/0+$/,"")).length%8;8==t&&(t=0),e+="0000000".substr(0,t);for(var n="",r=0;r<e.length-1;r+=8){var i=e.substr(r,8),o=parseInt(i,2).toString(16);1==o.length&&(o="0"+o),n+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+t+n},this.setByBooleanArray=function(e){for(var t="",n=0;n<e.length;n++)1==e[n]?t+="1":t+="0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=!1;return t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):"undefined"!=typeof e.hex?this.setHexValueIncludingUnusedBits(e.hex):"undefined"!=typeof e.bin?this.setByBinaryString(e.bin):"undefined"!=typeof e.array&&this.setByBooleanArray(e.array))},Me(ee.asn1.DERBitString,ee.asn1.ASN1Object),ee.asn1.DEROctetString=function(e){if(void 0!==e&&"undefined"!==typeof e.obj){var t=ee.asn1.ASN1Util.newObject(e.obj);e.hex=t.tohex()}ee.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},Me(ee.asn1.DEROctetString,ee.asn1.DERAbstractString),ee.asn1.DERNull=function(){ee.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},Me(ee.asn1.DERNull,ee.asn1.ASN1Object),ee.asn1.DERObjectIdentifier=function(e){ee.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){var t=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=parseInt(e,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=t(parseInt(s,2))}return n};try{if(!e.match(/^[0-9.]+$/))return null;var r="",i=e.split("."),o=40*parseInt(i[0],10)+parseInt(i[1],10);r+=t(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);return r}catch(s){return null}}(e);if(null==t)throw new Error("malformed oid string: "+e);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueName=function(e){var t=ee.asn1.x509.OID.name2oid(e);if(""===t)throw new Error("DERObjectIdentifier oidName undefined: "+e);this.setValueOidString(t)},this.setValueNameOrOid=function(e){e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e)},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(e){"string"===typeof e?this.setValueNameOrOid(e):void 0!==e.oid?this.setValueNameOrOid(e.oid):void 0!==e.name?this.setValueNameOrOid(e.name):void 0!==e.hex&&this.setValueHex(e.hex)},void 0!==e&&this.setByParam(e)},Me(ee.asn1.DERObjectIdentifier,ee.asn1.ASN1Object),ee.asn1.DEREnumerated=function(e){ee.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=Re(e)},this.setByInteger=function(e){var t=new h(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof e&&("undefined"!=typeof e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):"undefined"!=typeof e.hex&&this.setValueHex(e.hex))},Me(ee.asn1.DEREnumerated,ee.asn1.ASN1Object),ee.asn1.DERUTF8String=function(e){ee.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},Me(ee.asn1.DERUTF8String,ee.asn1.DERAbstractString),ee.asn1.DERNumericString=function(e){ee.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},Me(ee.asn1.DERNumericString,ee.asn1.DERAbstractString),ee.asn1.DERPrintableString=function(e){ee.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},Me(ee.asn1.DERPrintableString,ee.asn1.DERAbstractString),ee.asn1.DERTeletexString=function(e){ee.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},Me(ee.asn1.DERTeletexString,ee.asn1.DERAbstractString),ee.asn1.DERIA5String=function(e){ee.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},Me(ee.asn1.DERIA5String,ee.asn1.DERAbstractString),ee.asn1.DERVisibleString=function(e){ee.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="1a"},Me(ee.asn1.DERVisibleString,ee.asn1.DERAbstractString),ee.asn1.DERBMPString=function(e){ee.asn1.DERBMPString.superclass.constructor.call(this,e),this.hT="1e"},Me(ee.asn1.DERBMPString,ee.asn1.DERAbstractString),ee.asn1.DERUTCTime=function(e){ee.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.params=void 0,this.getFreshValueHex=function(){var e=this.params;if(void 0==this.params&&(e={date:new Date}),"string"==typeof e){if(!e.match(/^[0-9]{12}Z$/)&&!e.match(/^[0-9]{12}\.[0-9]+Z$/))throw new Error("malformed string for UTCTime: "+e);this.hV=oe(e)}else if(void 0!=e.str)this.hV=oe(e.str);else if(void 0==e.date&&1==e.millis){var t=new Date;this.hV=oe(this.formatDate(t,"utc",!0))}else if(void 0!=e.date&&e.date instanceof Date){var n=!0===e.millis;this.hV=oe(this.formatDate(e.date,"utc",n))}else e instanceof Date&&(this.hV=oe(this.formatDate(e,"utc")));if(void 0==this.hV)throw new Error("parameter not specified properly for UTCTime");return this.hV},void 0!=e&&this.setByParam(e)},Me(ee.asn1.DERUTCTime,ee.asn1.DERAbstractTime),ee.asn1.DERGeneralizedTime=function(e){ee.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.params=e,this.getFreshValueHex=function(){var e=this.params;if(void 0==this.params&&(e={date:new Date}),"string"==typeof e){if(!e.match(/^[0-9]{14}Z$/)&&!e.match(/^[0-9]{14}\.[0-9]+Z$/))throw new Error("malformed string for GeneralizedTime: "+e);this.hV=oe(e)}else if(void 0!=e.str)this.hV=oe(e.str);else if(void 0==e.date&&1==e.millis){var t=new Date;this.hV=oe(this.formatDate(t,"gen",!0))}else if(void 0!=e.date&&e.date instanceof Date){var n=!0===e.millis;this.hV=oe(this.formatDate(e.date,"gen",n))}else e instanceof Date&&(this.hV=oe(this.formatDate(e,"gen")));if(void 0==this.hV)throw new Error("parameter not specified properly for GeneralizedTime");return this.hV},void 0!=e&&this.setByParam(e)},Me(ee.asn1.DERGeneralizedTime,ee.asn1.DERAbstractTime),ee.asn1.DERSequence=function(e){ee.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++)e+=this.asn1Array[t].tohex();return this.hV=e,this.hV}},Me(ee.asn1.DERSequence,ee.asn1.DERAbstractStructured),ee.asn1.DERSet=function(e){ee.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e.push(n.tohex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},"undefined"!=typeof e&&"undefined"!=typeof e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},Me(ee.asn1.DERSet,ee.asn1.DERAbstractStructured),ee.asn1.DERTaggedObject=function(e){ee.asn1.DERTaggedObject.superclass.constructor.call(this);var t=ee.asn1,n=re,r=n.getV,i=(n.isASN1HEX,t.ASN1Util.newObject);this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.params={tag:"a0",explicit:!0},this.setASN1Object=function(e,t,n){this.params={tag:t,explicit:e,obj:n}},this.getFreshValueHex=function(){var e=this.params;if(void 0==e.explicit&&(e.explicit=!0),void 0!=e.tage&&(e.tag=e.tage,e.explicit=!0),void 0!=e.tagi&&(e.tag=e.tagi,e.explicit=!1),void 0!=e.str)this.hV=le(e.str);else if(void 0!=e.hex)this.hV=e.hex;else{if(void 0==e.obj)throw new Error("str, hex nor obj not specified");var n;e.obj instanceof t.ASN1Object?n=e.obj.tohex():"object"==b(e.obj)&&(n=i(e.obj).tohex()),e.explicit?this.hV=n:this.hV=r(n,0)}return void 0==e.tag&&(e.tag="a0"),this.hT=e.tag,this.hTLV=null,this.isModified=!0,this.hV},this.setByParam=function(e){this.params=e},void 0!==e&&this.setByParam(e)},Me(ee.asn1.DERTaggedObject,ee.asn1.ASN1Object);var ee,te,ne,re=new function(){};function ie(e){for(var t="",n=0;n<e.length;n++){var r=e[n].toString(16);1==r.length&&(r="0"+r),t+=r}return t}function oe(e){return ie(function(e){for(var t=new Array,n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(e))}function ae(e){return(e=(e=e.replace(/\=/g,"")).replace(/\+/g,"-")).replace(/\//g,"_")}function se(e){return e.length%4==2?e+="==":e.length%4==3&&(e+="="),(e=e.replace(/-/g,"+")).replace(/_/g,"/")}function ue(e){return e.length%2==1&&(e="0"+e),ae(l(e))}function ce(e){return f(se(e))}function le(e){return Ee(Te(e)).toLowerCase()}function fe(e){try{return decodeURIComponent(_e(e))}catch(t){return null}}function he(e){return fe(function(e){for(var t=e.match(/.{1,2}/g),n=[],r=0;r<t.length;r++){var i=parseInt(t[r],16);161<=i&&i<=191?(n.push("c2"),n.push(t[r])):192<=i&&i<=255?(n.push("c3"),n.push((i-64).toString(16))):n.push(t[r])}return n.join("")}(e))}function de(e){for(var t="",n=0;n<e.length-1;n+=2)t+=String.fromCharCode(parseInt(e.substr(n,2),16));return t}function pe(e){for(var t="",n=0;n<e.length;n++)t+=("0"+e.charCodeAt(n).toString(16)).slice(-2);return t}function ge(e,t){return"-----BEGIN "+t+"-----\r\n"+function(e,t){return(e=e.replace(new RegExp("(.{"+t+"})","g"),"$1\r\n")).replace(/\s+$/,"")}(function(e){return l(e)}(e),64)+"\r\n-----END "+t+"-----\r\n"}function me(e,t){if(-1==e.indexOf("-----BEGIN "))throw new Error("can't find PEM header");return function(e){return f(e.replace(/[^0-9A-Za-z\/+=]*/g,""))}(e=void 0!==t?(e=e.replace(new RegExp("^[^]*-----BEGIN "+t+"-----"),"")).replace(new RegExp("-----END "+t+"-----[^]*$"),""):(e=e.replace(/^[^]*-----BEGIN [^-]+-----/,"")).replace(/-----END [^-]+-----[^]*$/,""))}function ve(e){return Math.round(function(e){var t,n,r,i,o,a,s,u,c,l;if(l=(e=function(e){return e.match(/^[0-9]{12}Z$/)||e.match(/^[0-9]{12}[.][0-9]*Z$/)?e.match(/^[0-4]/)?"20"+e:"19"+e:e}(e)).match(/^(\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(|\.\d+)Z$/))return t=parseInt(l[1]),n=parseInt(l[2])-1,r=parseInt(l[3]),i=parseInt(l[4]),o=parseInt(l[5]),a=parseInt(l[6]),s=0,""!==(u=l[7])&&(c=(u.substr(1)+"00").substr(0,3),s=parseInt(c)),Date.UTC(t,n,r,i,o,a,s);throw new Error("unsupported zulu format: "+e)}(e)/1e3)}function Ee(e){return e.replace(/%/g,"")}function _e(e){return e.replace(/(..)/g,"%$1")}function ye(e){var t="malformed IPv6 address";if(!e.match(/^[0-9A-Fa-f:]+$/))throw t;var n=(e=e.toLowerCase()).split(":").length-1;if(n<2)throw t;var r=":".repeat(7-n+2),i=(e=e.replace("::",r)).split(":");if(8!=i.length)throw t;for(var o=0;o<8;o++)i[o]=("0000"+i[o]).slice(-4);return i.join("")}function Se(e){if(!e.match(/^[0-9A-Fa-f]{32}$/))throw new Error("malformed IPv6 address: "+e);var t=(e=e.toLowerCase()).match(/.{1,4}/g),n=(e=":"+(t=(t=t.map((function(e){return e.replace(/^0+/,"")}))).map((function(e){return""==e?"0":e}))).join(":")+":").match(/:(0:){2,}/g);if(null==n)return e.slice(1,-1);var r=n.sort().slice(-1)[0];return"::"!=(e=e.replace(r.substr(0,r.length-1),":")).substr(0,2)&&(e=e.substr(1)),"::"!=e.substr(-2,2)&&(e=e.substr(0,e.length-1)),e}function De(e){var t=new Error("malformed hex value");if(!e.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw t;if(8==e.length)try{return parseInt(e.substr(0,2),16)+"."+parseInt(e.substr(2,2),16)+"."+parseInt(e.substr(4,2),16)+"."+parseInt(e.substr(6,2),16)}catch(n){throw t}else{if(16!=e.length){if(32==e.length)return Se(e);if(64==e.length){try{return Se(e.substr(0,32))+"/"+we(e.substr(32))}catch(n){throw t}return}return e}try{return De(e.substr(0,8))+"/"+we(e.substr(8))}catch(n){throw t}}}function we(e){var t,n=new Error("malformed mask");try{t=new h(e,16).toString(2)}catch(r){throw n}if(!t.match(/^1*0*$/))throw n;return t.replace(/0+$/,"").length}function be(e){var t=new Error("malformed IP address");if(!(e=e.toLowerCase(e)).match(/^[0-9a-f.:/]+$/))throw t;if(!e.match(/^[0-9.]+$/)){var n;if(e.match(/^[0-9.]+\/[0-9]+$/))return be((n=e.split("/"))[0])+Ae(parseInt(n[1]),32);if(e.match(/^[0-9a-f:]+$/)&&-1!==e.indexOf(":"))return ye(e);if(e.match(/^[0-9a-f:]+\/[0-9]+$/)&&-1!==e.indexOf(":"))return ye((n=e.split("/"))[0])+Ae(parseInt(n[1]),128);throw t}var r=e.split(".");if(4!==r.length)throw t;var i="";try{for(var o=0;o<4;o++)i+=("0"+parseInt(r[o]).toString(16)).slice(-2);return i}catch(a){throw t}}function Ae(e,t){return 32==t&&0==e?"00000000":128==t&&0==e?"00000000000000000000000000000000":new h(Array(e+1).join("1")+Array(t-e+1).join("0"),2).toString(16)}function Ce(e){return e.match(/.{4}/g).map((function(e){var t=parseInt(e.substr(0,2),16),n=parseInt(e.substr(2),16);if(0==t&n<128)return String.fromCharCode(n);if(t<8){var r=128|63&n;return fe((192|(7&t)<<3|(192&n)>>6).toString(16)+r.toString(16))}r=128|(15&t)<<2|(192&n)>>6;var i=128|63&n;return fe((224|(240&t)>>4).toString(16)+r.toString(16)+i.toString(16))})).join("")}function Te(e){for(var t=encodeURIComponent(e),n="",r=0;r<t.length;r++)"%"==t[r]?(n+=t.substr(r,3),r+=2):n=n+"%"+oe(t[r]);return n}function Ie(e){return!(e.length%2!=0||!e.match(/^[0-9a-f]+$/)&&!e.match(/^[0-9A-F]+$/))}function Oe(e){return!!e.match(/^[0-9A-Za-z-_.]+$/)}function xe(e){return e.length%2==1?"0"+e:e.substr(0,1)>"7"?"00"+e:e}function Fe(e){if(!Ie(e))return null;try{var t=[],n=e.substr(0,2),r=parseInt(n,16);t[0]=new String(Math.floor(r/40)),t[1]=new String(r%40);for(var i=e.substr(2),o=[],a=0;a<i.length/2;a++)o.push(parseInt(i.substr(2*a,2),16));var s=[],u="";for(a=0;a<o.length;a++)128&o[a]?u+=Pe((127&o[a]).toString(2),7):(u+=Pe((127&o[a]).toString(2),7),s.push(new String(parseInt(u,2))),u="");var c=t.join(".");return s.length>0&&(c=c+"."+s.join(".")),c}catch(l){return null}}function Ne(e){return Re(new h(String(e),10))}function Re(e){var t=e.toString(16);if("-"!=t.substr(0,1))return t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t),t;var n=t.substr(1).length;n%2==1?n+=1:t.match(/^[0-7]/)||(n+=2);for(var r="",i=0;i<n;i++)r+="f";return new h(r,16).xor(e).add(h.ONE).toString(16).replace(/^-/,"")}re.getLblen=function(e,t){if("8"!=e.substr(t+2,1))return 1;var n=parseInt(e.substr(t+3,1));return 0==n?-1:0<n&&n<10?n+1:-2},re.getL=function(e,t){var n=re.getLblen(e,t);return n<1?"":e.substr(t+2,2*n)},re.getVblen=function(e,t){var n;return""==(n=re.getL(e,t))?-1:("8"===n.substr(0,1)?new h(n.substr(2),16):new h(n,16)).intValue()},re.getVidx=function(e,t){var n=re.getLblen(e,t);return n<0?n:t+2*(n+1)},re.getV=function(e,t){var n=re.getVidx(e,t),r=re.getVblen(e,t);return e.substr(n,2*r)},re.getTLV=function(e,t){return e.substr(t,2)+re.getL(e,t)+re.getV(e,t)},re.getTLVblen=function(e,t){return 2+2*re.getLblen(e,t)+2*re.getVblen(e,t)},re.getNextSiblingIdx=function(e,t){return re.getVidx(e,t)+2*re.getVblen(e,t)},re.getChildIdx=function(e,t){var n,r,i,o=re,a=[];n=o.getVidx(e,t),r=2*o.getVblen(e,t),"03"==e.substr(t,2)&&(n+=2,r-=2),i=0;for(var s=n;i<=r;){var u=o.getTLVblen(e,s);if((i+=u)<=r&&a.push(s),s+=u,i>=r)break}return a},re.getNthChildIdx=function(e,t,n){return re.getChildIdx(e,t)[n]},re.getIdxbyList=function(e,t,n,r){var i,o,a=re;return 0==n.length?void 0!==r&&e.substr(t,2)!==r?-1:t:(i=n.shift())>=(o=a.getChildIdx(e,t)).length?-1:a.getIdxbyList(e,o[i],n,r)},re.getIdxbyListEx=function(e,t,n,r){var i,o,a=re;if(0==n.length)return void 0!==r&&e.substr(t,2)!==r?-1:t;i=n.shift(),o=a.getChildIdx(e,t);for(var s=0,u=0;u<o.length;u++){var c=e.substr(o[u],2);if("number"==typeof i&&!a.isContextTag(c)&&s==i||"string"==typeof i&&a.isContextTag(c,i))return a.getIdxbyListEx(e,o[u],n,r);a.isContextTag(c)||s++}return-1},re.getTLVbyList=function(e,t,n,r){var i=re,o=i.getIdxbyList(e,t,n,r);return-1==o||o>=e.length?null:i.getTLV(e,o)},re.getTLVbyListEx=function(e,t,n,r){var i=re,o=i.getIdxbyListEx(e,t,n,r);return-1==o?null:i.getTLV(e,o)},re.getVbyList=function(e,t,n,r,i){var o,a,s=re;return-1==(o=s.getIdxbyList(e,t,n,r))||o>=e.length?null:(a=s.getV(e,o),!0===i&&(a=a.substr(2)),a)},re.getVbyListEx=function(e,t,n,r,i){var o,a,s=re;return-1==(o=s.getIdxbyListEx(e,t,n,r))?null:(a=s.getV(e,o),"03"==e.substr(o,2)&&!1!==i&&(a=a.substr(2)),a)},re.getInt=function(e,t,n){void 0==n&&(n=-1);try{var r=e.substr(t,2);if("02"!=r&&"03"!=r)return n;var i=re.getV(e,t);return"02"==r?parseInt(i,16):function(e){if(e.length%2!=0)return-1;if(null==(e=e.toLowerCase()).match(/^[0-9a-f]+$/))return-1;try{var t=e.substr(0,2);if("00"==t)return parseInt(e.substr(2),16);var n=parseInt(t,16);if(n>7)return-1;var r=e.substr(2),i=parseInt(r,16).toString(2);"0"==i&&(i="00000000"),i=i.slice(0,0-n);var o=parseInt(i,2);return NaN==o?-1:o}catch(a){return-1}}(i)}catch(o){return n}},re.getOID=function(e,t,n){void 0==n&&(n=null);try{return"06"!=e.substr(t,2)?n:Fe(re.getV(e,t))}catch(r){return n}},re.getOIDName=function(e,t,n){void 0==n&&(n=null);try{var r=re.getOID(e,t,n);if(r==n)return n;var i=ee.asn1.x509.OID.oid2name(r);return""==i?r:i}catch(o){return n}},re.getString=function(e,t,n){void 0==n&&(n=null);try{return de(re.getV(e,t))}catch(r){return n}},re.hextooidstr=function(e){var t=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},n=[],r=e.substr(0,2),i=parseInt(r,16);n[0]=new String(Math.floor(i/40)),n[1]=new String(i%40);for(var o=e.substr(2),a=[],s=0;s<o.length/2;s++)a.push(parseInt(o.substr(2*s,2),16));var u=[],c="";for(s=0;s<a.length;s++)128&a[s]?c+=t((127&a[s]).toString(2),7):(c+=t((127&a[s]).toString(2),7),u.push(new String(parseInt(c,2))),c="");var l=n.join(".");return u.length>0&&(l=l+"."+u.join(".")),l},re.dump=function(e,t,n,r){var i=re,o=i.getV,a=i.dump,s=i.getChildIdx,u=e;e instanceof ee.asn1.ASN1Object&&(u=e.tohex());var c=function(e,t){return e.length<=2*t?e:e.substr(0,t)+"..(total "+e.length/2+"bytes).."+e.substr(e.length-t,t)};void 0===t&&(t={ommit_long_octet:32}),void 0===n&&(n=0),void 0===r&&(r="");var l,f=t.ommit_long_octet;if("01"==(l=u.substr(n,2)))return"00"==(h=o(u,n))?r+"BOOLEAN FALSE\n":r+"BOOLEAN TRUE\n";if("02"==l)return r+"INTEGER "+c(h=o(u,n),f)+"\n";if("03"==l){var h=o(u,n);return i.isASN1HEX(h.substr(2))?(S=r+"BITSTRING, encapsulates\n")+a(h.substr(2),t,0,r+" "):r+"BITSTRING "+c(h,f)+"\n"}if("04"==l)return h=o(u,n),i.isASN1HEX(h)?(S=r+"OCTETSTRING, encapsulates\n")+a(h,t,0,r+" "):r+"OCTETSTRING "+c(h,f)+"\n";if("05"==l)return r+"NULL\n";if("06"==l){var d=o(u,n),p=ee.asn1.ASN1Util.oidHexToInt(d),g=ee.asn1.x509.OID.oid2name(p),m=p.replace(/\./g," ");return""!=g?r+"ObjectIdentifier "+g+" ("+m+")\n":r+"ObjectIdentifier ("+m+")\n"}if("0a"==l)return r+"ENUMERATED "+parseInt(o(u,n))+"\n";if("0c"==l)return r+"UTF8String '"+fe(o(u,n))+"'\n";if("13"==l)return r+"PrintableString '"+fe(o(u,n))+"'\n";if("14"==l)return r+"TeletexString '"+fe(o(u,n))+"'\n";if("16"==l)return r+"IA5String '"+fe(o(u,n))+"'\n";if("17"==l)return r+"UTCTime "+fe(o(u,n))+"\n";if("18"==l)return r+"GeneralizedTime "+fe(o(u,n))+"\n";if("1a"==l)return r+"VisualString '"+fe(o(u,n))+"'\n";if("1e"==l)return r+"BMPString '"+Ce(o(u,n))+"'\n";if("30"==l){if("3000"==u.substr(n,4))return r+"SEQUENCE {}\n";S=r+"SEQUENCE\n";var v=t;if((2==(y=s(u,n)).length||3==y.length)&&"06"==u.substr(y[0],2)&&"04"==u.substr(y[y.length-1],2)){g=i.oidname(o(u,y[0]));var E=JSON.parse(JSON.stringify(t));E.x509ExtName=g,v=E}for(var _=0;_<y.length;_++)S+=a(u,v,y[_],r+" ");return S}if("31"==l){S=r+"SET\n";var y=s(u,n);for(_=0;_<y.length;_++)S+=a(u,t,y[_],r+" ");return S}if(0!=(128&(l=parseInt(l,16)))){var S,D=31&l;if(0!=(32&l)){for(S=r+"["+D+"]\n",y=s(u,n),_=0;_<y.length;_++)S+=a(u,t,y[_],r+" ");return S}return h=o(u,n),re.isASN1HEX(h)?(S=r+"["+D+"]\n")+a(h,t,0,r+" "):(("68747470"==h.substr(0,8)||"subjectAltName"===t.x509ExtName&&2==D)&&(h=fe(h)),r+"["+D+"] "+h+"\n")}return r+"UNKNOWN("+l+") "+o(u,n)+"\n"},re.parse=function(e){var t=re,n=t.parse,r=t.isASN1HEX,i=t.getV,o=t.getTLV,a=t.getChildIdx,s=ee.asn1,u=s.ASN1Util.oidHexToInt,c=s.x509.OID.oid2name,l=fe,f=Ce,h=he,d={"0c":"utf8str",12:"numstr",13:"prnstr",14:"telstr",16:"ia5str",17:"utctime",18:"gentime","1a":"visstr","1e":"bmpstr",30:"seq",31:"set"},p=e.substr(0,2),g={},m=i(e,0);if("01"==p)return"0101ff"==e?{bool:!0}:{bool:!1};if("02"==p)return{int:{hex:m}};if("03"==p)try{if("00"!=m.substr(0,2))throw"not encap";var v=m.substr(2);if(!r(v))throw"not encap";return{bitstr:{obj:n(v)}}}catch(K){var E=null;return m.length<=10&&(E=function(e){if("string"!=typeof e)return null;if(e.length%2!=0)return null;if(!e.match(/^[0-9a-f]+$/))return null;try{var t=parseInt(e.substr(0,2),16);if(t<0||7<t)return null;for(var n=e.substr(2),r="",i=0;i<n.length;i+=2){var o=n.substr(i,2),a=parseInt(o,16).toString(2);r+=a=("0000000"+a).slice(-8)}return r.substr(0,r.length-t)}catch(s){return null}}(m)),null==E?{bitstr:{hex:m}}:{bitstr:{bin:E}}}else if("04"==p)try{if(!r(m))throw"not encap";return{octstr:{obj:n(m)}}}catch(K){return{octstr:{hex:m}}}else{if("05"==p)return{null:""};if("06"==p){var _=u(m),y=c(_);return""==y?{oid:_}:{oid:y}}if("0a"==p)return m.length>4?{enum:{hex:m}}:{enum:parseInt(m,16)};if("30"==p||"31"==p)return g[d[p]]=function(e){for(var t=[],r=a(e,0),i=0;i<r.length;i++){var s=r[i],u=o(e,s),c=n(u);t.push(c)}return t}(e),g;if("14"==p){var S=h(m);return g[d[p]]={str:S},g}if("1e"==p)return S=f(m),g[d[p]]={str:S},g;if(-1!=":0c:12:13:16:17:18:1a:".indexOf(p))return S=l(m),g[d[p]]={str:S},g;if(p.match(/^8[0-9]$/))return null==(S=l(m))|""==S||null!=S.match(/[\x00-\x1F\x7F-\x9F]/)||null!=S.match(/[\u0000-\u001F\u0080\u2013\u009F]/)?{tag:{tag:p,explicit:!1,hex:m}}:{tag:{tag:p,explicit:!1,str:S}};if(!p.match(/^a[0-9]$/)){var D=new ee.asn1.ASN1Object;return D.hV=m,{asn1:{tlv:p+D.getLengthHexFromValue()+m}}}try{if(!r(m))throw new Error("not encap");return{tag:{tag:p,explicit:!0,obj:n(m)}}}catch(K){return{tag:{tag:p,explicit:!0,hex:m}}}}},re.isContextTag=function(e,t){var n,r;e=e.toLowerCase();try{n=parseInt(e,16)}catch(i){return-1}if(void 0===t)return 128==(192&n);try{return null!=t.match(/^\[[0-9]+\]$/)&&!((r=parseInt(t.substr(1,t.length-1),10))>31)&&128==(192&n)&&(31&n)==r}catch(i){return!1}},re.isASN1HEX=function(e){var t=re;if(e.length%2==1)return!1;var n=t.getVblen(e,0),r=e.substr(0,2),i=t.getL(e,0);return e.length-r.length-i.length==2*n},re.checkStrictDER=function(e,t,n,r,i){var o=re;if(void 0===n){if("string"!=typeof e)throw new Error("not hex string");if(e=e.toLowerCase(),!ee.lang.String.isHex(e))throw new Error("not hex string");n=e.length,i=(r=e.length/2)<128?1:Math.ceil(r.toString(16))+1}if(o.getL(e,t).length>2*i)throw new Error("L of TLV too long: idx="+t);var a=o.getVblen(e,t);if(a>r)throw new Error("value of L too long than hex: idx="+t);var s=o.getTLV(e,t),u=s.length-2-o.getL(e,t).length;if(u!==2*a)throw new Error("V string length and L's value not the same:"+u+"/"+2*a);if(0===t&&e.length!=s.length)throw new Error("total length and TLV length unmatch:"+e.length+"!="+s.length);var c=e.substr(t,2);if("02"===c){var l=o.getVidx(e,t);if("00"==e.substr(l,2)&&e.charCodeAt(l+2)<56)throw new Error("not least zeros for DER INTEGER")}if(32&parseInt(c,16)){for(var f=o.getVblen(e,t),h=0,d=o.getChildIdx(e,t),p=0;p<d.length;p++)h+=o.getTLV(e,d[p]).length,o.checkStrictDER(e,d[p],n,r,i);if(2*f!=h)throw new Error("sum of children's TLV length and L unmatch: "+2*f+"!="+h)}},re.oidname=function(e){var t=ee.asn1;ee.lang.String.isHex(e)&&(e=t.ASN1Util.oidHexToInt(e));var n=t.x509.OID.oid2name(e);return""===n&&(n=e),n},"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.asn1&&ee.asn1||(ee.asn1={}),"undefined"!=typeof ee.asn1.x509&&ee.asn1.x509||(ee.asn1.x509={}),ee.asn1.x509.Certificate=function(e){ee.asn1.x509.Certificate.superclass.constructor.call(this);var t=ee.asn1,n=t.DERBitString,r=t.DERSequence,i=t.x509,o=i.TBSCertificate,a=i.AlgorithmIdentifier;this.params=void 0,this.setByParam=function(e){this.params=e},this.sign=function(){var e=this.params,t=e.sigalg;void 0!=e.sigalg.name&&(t=e.sigalg.name);var n=e.tbsobj.tohex(),r=new ee.crypto.Signature({alg:t});r.init(e.cakey),r.updateHex(n),e.sighex=r.sign()},this.getPEM=function(){return ge(this.tohex(),"CERTIFICATE")},this.tohex=function(){var e=this.params;if(void 0!=e.tbsobj&&null!=e.tbsobj||(e.tbsobj=new o(e)),void 0==e.sighex&&void 0!=e.cakey&&this.sign(),void 0==e.sighex)throw new Error("sighex or cakey parameter not defined");var t=[];return t.push(e.tbsobj),t.push(new a({name:e.sigalg})),t.push(new n({hex:"00"+e.sighex})),new r({array:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&(this.params=e)},Me(ee.asn1.x509.Certificate,ee.asn1.ASN1Object),ee.asn1.x509.TBSCertificate=function(e){ee.asn1.x509.TBSCertificate.superclass.constructor.call(this);var t=ee.asn1,n=t.x509,r=t.DERTaggedObject,i=t.DERInteger,o=t.DERSequence,a=n.AlgorithmIdentifier,s=n.Time,u=n.X500Name,c=n.Extensions,l=n.SubjectPublicKeyInfo;this.params=null,this.setByParam=function(e){this.params=e},this.tohex=function(){var e=[],t=this.params;if(void 0!=t.version||1!=t.version){var n=2;void 0!=t.version&&(n=t.version-1);var f=new r({obj:new i({int:n})});e.push(f)}return e.push(new i(t.serial)),e.push(new a({name:t.sigalg})),e.push(new u(t.issuer)),e.push(new o({array:[new s(t.notbefore),new s(t.notafter)]})),e.push(new u(t.subject)),e.push(new l(He.getKey(t.sbjpubkey))),void 0!==t.ext&&t.ext.length>0&&e.push(new r({tag:"a3",obj:new c(t.ext)})),new ee.asn1.DERSequence({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.x509.TBSCertificate,ee.asn1.ASN1Object),ee.asn1.x509.Extensions=function(e){ee.asn1.x509.Extensions.superclass.constructor.call(this);var t=ee.asn1,n=t.DERSequence,r=t.x509;this.aParam=[],this.setByParam=function(e){this.aParam=e},this.tohex=function(){for(var e=[],t=0;t<this.aParam.length;t++){var i=this.aParam[t],o=i.extname,a=null;if(void 0!=i.extn)a=new r.PrivateExtension(i);else if("subjectKeyIdentifier"==o)a=new r.SubjectKeyIdentifier(i);else if("keyUsage"==o)a=new r.KeyUsage(i);else if("subjectAltName"==o)a=new r.SubjectAltName(i);else if("issuerAltName"==o)a=new r.IssuerAltName(i);else if("basicConstraints"==o)a=new r.BasicConstraints(i);else if("nameConstraints"==o)a=new r.NameConstraints(i);else if("cRLDistributionPoints"==o)a=new r.CRLDistributionPoints(i);else if("certificatePolicies"==o)a=new r.CertificatePolicies(i);else if("policyMappings"==o)a=new r.PolicyMappings(i);else if("policyConstraints"==o)a=new r.PolicyConstraints(i);else if("inhibitAnyPolicy"==o)a=new r.InhibitAnyPolicy(i);else if("authorityKeyIdentifier"==o)a=new r.AuthorityKeyIdentifier(i);else if("extKeyUsage"==o)a=new r.ExtKeyUsage(i);else if("authorityInfoAccess"==o)a=new r.AuthorityInfoAccess(i);else if("cRLNumber"==o)a=new r.CRLNumber(i);else if("cRLReason"==o)a=new r.CRLReason(i);else if("ocspNonce"==o)a=new r.OCSPNonce(i);else if("ocspNoCheck"==o)a=new r.OCSPNoCheck(i);else if("adobeTimeStamp"==o)a=new r.AdobeTimeStamp(i);else{if("subjectDirectoryAttributes"!=o)throw new Error("extension not supported:"+JSON.stringify(i));a=new r.SubjectDirectoryAttributes(i)}null!=a&&e.push(a)}return new n({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.x509.Extensions,ee.asn1.ASN1Object),ee.asn1.x509.Extension=function(e){ee.asn1.x509.Extension.superclass.constructor.call(this);var t=ee.asn1,n=t.DERObjectIdentifier,r=t.DEROctetString,i=(t.DERBitString,t.DERBoolean),o=t.DERSequence;this.tohex=function(){var e=new n({oid:this.oid}),t=new r({hex:this.getExtnValueHex()}),a=new Array;return a.push(e),this.critical&&a.push(new i),a.push(t),new o({array:a}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.critical=!1,void 0!==e&&void 0!==e.critical&&(this.critical=e.critical)},Me(ee.asn1.x509.Extension,ee.asn1.ASN1Object),ee.asn1.x509.KeyUsage=function(e){ee.asn1.x509.KeyUsage.superclass.constructor.call(this,e);var t=Error,n={digitalSignature:0,nonRepudiation:1,keyEncipherment:2,dataEncipherment:3,keyAgreement:4,keyCertSign:5,cRLSign:6,encipherOnly:7,decipherOnly:8};this.getExtnValueHex=function(){var e=this.getBinValue();return this.asn1ExtnValue=new ee.asn1.DERBitString({bin:e}),this.asn1ExtnValue.tohex()},this.getBinValue=function(){var e=this.params;if("object"!=b(e)||"object"!=b(e.names)&&"string"!=typeof e.bin)throw new t("parameter not yet set");if(void 0!=e.names)return Be(e.names,n);if(void 0!=e.bin)return e.bin;throw new t("parameter not set properly")},this.oid="2.5.29.15",void 0!==e&&(this.params=e)},Me(ee.asn1.x509.KeyUsage,ee.asn1.x509.Extension),ee.asn1.x509.BasicConstraints=function(e){ee.asn1.x509.BasicConstraints.superclass.constructor.call(this,e);var t=ee.asn1,n=t.DERBoolean,r=t.DERInteger,i=t.DERSequence;this.getExtnValueHex=function(){var e=new Array;this.cA&&e.push(new n),this.pathLen>-1&&e.push(new r({int:this.pathLen}));var t=new i({array:e});return this.asn1ExtnValue=t,this.asn1ExtnValue.tohex()},this.oid="2.5.29.19",this.cA=!1,this.pathLen=-1,void 0!==e&&(void 0!==e.cA&&(this.cA=e.cA),void 0!==e.pathLen&&(this.pathLen=e.pathLen))},Me(ee.asn1.x509.BasicConstraints,ee.asn1.x509.Extension),ee.asn1.x509.CRLDistributionPoints=function(e){ee.asn1.x509.CRLDistributionPoints.superclass.constructor.call(this,e);var t=ee.asn1,n=t.x509;this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.setByDPArray=function(e){for(var r=[],i=0;i<e.length;i++)if(e[i]instanceof ee.asn1.ASN1Object)r.push(e[i]);else{var o=new n.DistributionPoint(e[i]);r.push(o)}this.asn1ExtnValue=new t.DERSequence({array:r})},this.setByOneURI=function(e){var t=new n.DistributionPoint({fulluri:e});this.setByDPArray([t])},this.oid="2.5.29.31",void 0!==e&&(void 0!==e.array?this.setByDPArray(e.array):void 0!==e.uri&&this.setByOneURI(e.uri))},Me(ee.asn1.x509.CRLDistributionPoints,ee.asn1.x509.Extension),ee.asn1.x509.DistributionPoint=function(e){ee.asn1.x509.DistributionPoint.superclass.constructor.call(this);var t=ee.asn1,n=t.x509.DistributionPointName;this.tohex=function(){var e=new t.DERSequence;if(null!=this.asn1DP){var n=new t.DERTaggedObject({explicit:!0,tag:"a0",obj:this.asn1DP});e.appendASN1Object(n)}return this.hTLV=e.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(void 0!==e.dpobj?this.asn1DP=e.dpobj:void 0!==e.dpname?this.asn1DP=new n(e.dpname):void 0!==e.fulluri&&(this.asn1DP=new n({full:[{uri:e.fulluri}]})))},Me(ee.asn1.x509.DistributionPoint,ee.asn1.ASN1Object),ee.asn1.x509.DistributionPointName=function(e){ee.asn1.x509.DistributionPointName.superclass.constructor.call(this);var t=ee.asn1,n=t.DERTaggedObject;if(this.tohex=function(){if("full"!=this.type)throw new Error("currently type shall be 'full': "+this.type);return this.asn1Obj=new n({explicit:!1,tag:this.tag,obj:this.asn1V}),this.hTLV=this.asn1Obj.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e)if(t.x509.GeneralNames.prototype.isPrototypeOf(e))this.type="full",this.tag="a0",this.asn1V=e;else{if(void 0===e.full)throw new Error("This class supports GeneralNames only as argument");this.type="full",this.tag="a0",this.asn1V=new t.x509.GeneralNames(e.full)}},Me(ee.asn1.x509.DistributionPointName,ee.asn1.ASN1Object),ee.asn1.x509.CertificatePolicies=function(e){ee.asn1.x509.CertificatePolicies.superclass.constructor.call(this,e);var t=ee.asn1,n=t.x509,r=t.DERSequence,i=n.PolicyInformation;this.params=null,this.getExtnValueHex=function(){for(var e=[],t=0;t<this.params.array.length;t++)e.push(new i(this.params.array[t]));var n=new r({array:e});return this.asn1ExtnValue=n,this.asn1ExtnValue.tohex()},this.oid="2.5.29.32",void 0!==e&&(this.params=e)},Me(ee.asn1.x509.CertificatePolicies,ee.asn1.x509.Extension),ee.asn1.x509.PolicyInformation=function(e){ee.asn1.x509.PolicyInformation.superclass.constructor.call(this,e);var t=ee.asn1,n=t.DERSequence,r=t.DERObjectIdentifier,i=t.x509.PolicyQualifierInfo;this.params=null,this.tohex=function(){if(void 0===this.params.policyoid&&void 0===this.params.array)throw new Error("parameter oid and array missing");var e=[new r(this.params.policyoid)];if(void 0!==this.params.array){for(var t=[],o=0;o<this.params.array.length;o++)t.push(new i(this.params.array[o]));t.length>0&&e.push(new n({array:t}))}return new n({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},Me(ee.asn1.x509.PolicyInformation,ee.asn1.ASN1Object),ee.asn1.x509.PolicyQualifierInfo=function(e){ee.asn1.x509.PolicyQualifierInfo.superclass.constructor.call(this,e);var t=ee.asn1,n=t.DERSequence,r=t.DERIA5String,i=t.DERObjectIdentifier,o=t.x509.UserNotice;this.params=null,this.tohex=function(){return void 0!==this.params.cps?new n({array:[new i({oid:"1.3.6.1.5.5.7.2.1"}),new r({str:this.params.cps})]}).tohex():void 0!=this.params.unotice?new n({array:[new i({oid:"1.3.6.1.5.5.7.2.2"}),new o(this.params.unotice)]}).tohex():void 0},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},Me(ee.asn1.x509.PolicyQualifierInfo,ee.asn1.ASN1Object),ee.asn1.x509.UserNotice=function(e){ee.asn1.x509.UserNotice.superclass.constructor.call(this,e);var t=ee.asn1.DERSequence,n=(ee.asn1.DERInteger,ee.asn1.x509.DisplayText),r=ee.asn1.x509.NoticeReference;this.params=null,this.tohex=function(){var e=[];return void 0!==this.params.noticeref&&e.push(new r(this.params.noticeref)),void 0!==this.params.exptext&&e.push(new n(this.params.exptext)),new t({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},Me(ee.asn1.x509.UserNotice,ee.asn1.ASN1Object),ee.asn1.x509.NoticeReference=function(e){ee.asn1.x509.NoticeReference.superclass.constructor.call(this,e);var t=ee.asn1.DERSequence,n=ee.asn1.DERInteger,r=ee.asn1.x509.DisplayText;this.params=null,this.tohex=function(){var e=[];if(void 0!==this.params.org&&e.push(new r(this.params.org)),void 0!==this.params.noticenum){for(var i=[],o=this.params.noticenum,a=0;a<o.length;a++)i.push(new n(o[a]));e.push(new t({array:i}))}if(0==e.length)throw new Error("parameter is empty");return new t({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(this.params=e)},Me(ee.asn1.x509.NoticeReference,ee.asn1.ASN1Object),ee.asn1.x509.DisplayText=function(e){ee.asn1.x509.DisplayText.superclass.constructor.call(this,e),this.hT="0c",void 0!==e&&("ia5"===e.type?this.hT="16":"vis"===e.type?this.hT="1a":"bmp"===e.type&&(this.hT="1e"))},Me(ee.asn1.x509.DisplayText,ee.asn1.DERAbstractString),ee.asn1.x509.PolicyMappings=function(e){ee.asn1.x509.PolicyMappings.superclass.constructor.call(this,e);var t=ee.asn1,n=(t.x509,t.ASN1Util.newObject);this.params=null,this.getExtnValueHex=function(){for(var e=this.params,t=[],r=0;r<e.array.length;r++){var i=e.array[r];t.push({seq:[{oid:i[0]},{oid:i[1]}]})}return this.asn1ExtnValue=n({seq:t}),this.asn1ExtnValue.tohex()},this.oid="2.5.29.33",void 0!==e&&(this.params=e)},Me(ee.asn1.x509.PolicyMappings,ee.asn1.x509.Extension),ee.asn1.x509.PolicyConstraints=function(e){ee.asn1.x509.PolicyConstraints.superclass.constructor.call(this,e);var t=ee.asn1,n=(t.x509,t.ASN1Util.newObject);this.params=null,this.getExtnValueHex=function(){var e=this.params,t=[];return void 0!=e.reqexp&&t.push({tag:{tagi:"80",obj:{int:e.reqexp}}}),void 0!=e.inhibit&&t.push({tag:{tagi:"81",obj:{int:e.inhibit}}}),this.asn1ExtnValue=n({seq:t}),this.asn1ExtnValue.tohex()},this.oid="2.5.29.36",void 0!==e&&(this.params=e)},Me(ee.asn1.x509.PolicyConstraints,ee.asn1.x509.Extension),ee.asn1.x509.InhibitAnyPolicy=function(e){ee.asn1.x509.InhibitAnyPolicy.superclass.constructor.call(this,e);var t=ee.asn1,n=(t.x509,t.ASN1Util.newObject);this.params=null,this.getExtnValueHex=function(){return this.asn1ExtnValue=n({int:this.params.skip}),this.asn1ExtnValue.tohex()},this.oid="2.5.29.54",void 0!==e&&(this.params=e)},Me(ee.asn1.x509.InhibitAnyPolicy,ee.asn1.x509.Extension),ee.asn1.x509.NameConstraints=function(e){ee.asn1.x509.NameConstraints.superclass.constructor.call(this,e);var t=ee.asn1,n=t.x509,r=t.ASN1Util.newObject,i=n.GeneralSubtree;this.params=null,this.getExtnValueHex=function(){var e=this.params,t=[];if(void 0!=e.permit&&void 0!=e.permit.length){for(var n=[],o=0;o<e.permit.length;o++)n.push(new i(e.permit[o]));t.push({tag:{tagi:"a0",obj:{seq:n}}})}if(void 0!=e.exclude&&void 0!=e.exclude.length){var a=[];for(o=0;o<e.exclude.length;o++)a.push(new i(e.exclude[o]));t.push({tag:{tagi:"a1",obj:{seq:a}}})}return this.asn1ExtnValue=r({seq:t}),this.asn1ExtnValue.tohex()},this.oid="2.5.29.30",void 0!==e&&(this.params=e)},Me(ee.asn1.x509.NameConstraints,ee.asn1.x509.Extension),ee.asn1.x509.GeneralSubtree=function(e){ee.asn1.x509.GeneralSubtree.superclass.constructor.call(this);var t=ee.asn1,n=t.x509.GeneralName,r=t.ASN1Util.newObject;this.params=null,this.setByParam=function(e){this.params=e},this.tohex=function(){var e=this.params,t=[new n(e)];return void 0!=e.min&&t.push({tag:{tagi:"80",obj:{int:e.min}}}),void 0!=e.max&&t.push({tag:{tagi:"81",obj:{int:e.max}}}),r({seq:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.x509.GeneralSubtree,ee.asn1.ASN1Object),ee.asn1.x509.ExtKeyUsage=function(e){ee.asn1.x509.ExtKeyUsage.superclass.constructor.call(this,e);var t=ee.asn1;this.setPurposeArray=function(e){this.asn1ExtnValue=new t.DERSequence;for(var n=0;n<e.length;n++){var r=new t.DERObjectIdentifier(e[n]);this.asn1ExtnValue.appendASN1Object(r)}},this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.oid="2.5.29.37",void 0!==e&&void 0!==e.array&&this.setPurposeArray(e.array)},Me(ee.asn1.x509.ExtKeyUsage,ee.asn1.x509.Extension),ee.asn1.x509.AuthorityKeyIdentifier=function(e){ee.asn1.x509.AuthorityKeyIdentifier.superclass.constructor.call(this,e);var t=ee,n=t.asn1,r=n.DERTaggedObject,i=n.x509.GeneralNames;t.crypto.Util.isKey,this.asn1KID=null,this.asn1CertIssuer=null,this.asn1CertSN=null,this.getExtnValueHex=function(){var e=new Array;this.asn1KID&&e.push(new r({explicit:!1,tag:"80",obj:this.asn1KID})),this.asn1CertIssuer&&e.push(new r({explicit:!1,tag:"a1",obj:new i([{dn:this.asn1CertIssuer}])})),this.asn1CertSN&&e.push(new r({explicit:!1,tag:"82",obj:this.asn1CertSN}));var t=new n.DERSequence({array:e});return this.asn1ExtnValue=t,this.asn1ExtnValue.tohex()},this.setKIDByParam=function(e){if(void 0!==e.str||void 0!==e.hex)this.asn1KID=new ee.asn1.DEROctetString(e);else if("object"===b(e)&&ee.crypto.Util.isKey(e)||"string"===typeof e&&-1!=e.indexOf("BEGIN ")){var t=e;"string"===typeof e&&(t=He.getKey(e));var n=He.getKeyID(t);this.asn1KID=new ee.asn1.DEROctetString({hex:n})}},this.setCertIssuerByParam=function(e){void 0!==e.str||void 0!==e.ldapstr||void 0!==e.hex||void 0!==e.certsubject||void 0!==e.certissuer?this.asn1CertIssuer=new ee.asn1.x509.X500Name(e):"string"===typeof e&&-1!=e.indexOf("BEGIN ")&&-1!=e.indexOf("CERTIFICATE")&&(this.asn1CertIssuer=new ee.asn1.x509.X500Name({certissuer:e}))},this.setCertSNByParam=function(e){if(void 0!==e.str||void 0!==e.bigint||void 0!==e.hex)this.asn1CertSN=new ee.asn1.DERInteger(e);else if("string"===typeof e&&-1!=e.indexOf("BEGIN ")&&e.indexOf("CERTIFICATE")){var t=new We;t.readCertPEM(e);var n=t.getSerialNumberHex();this.asn1CertSN=new ee.asn1.DERInteger({hex:n})}},this.oid="2.5.29.35",void 0!==e&&(void 0!==e.kid&&this.setKIDByParam(e.kid),void 0!==e.issuer&&this.setCertIssuerByParam(e.issuer),void 0!==e.sn&&this.setCertSNByParam(e.sn),void 0!==e.issuersn&&"string"===typeof e.issuersn&&-1!=e.issuersn.indexOf("BEGIN ")&&e.issuersn.indexOf("CERTIFICATE")&&(this.setCertSNByParam(e.issuersn),this.setCertIssuerByParam(e.issuersn)))},Me(ee.asn1.x509.AuthorityKeyIdentifier,ee.asn1.x509.Extension),ee.asn1.x509.SubjectKeyIdentifier=function(e){ee.asn1.x509.SubjectKeyIdentifier.superclass.constructor.call(this,e);var t=ee.asn1.DEROctetString;this.asn1KID=null,this.getExtnValueHex=function(){return this.asn1ExtnValue=this.asn1KID,this.asn1ExtnValue.tohex()},this.setKIDByParam=function(e){if(void 0!==e.str||void 0!==e.hex)this.asn1KID=new t(e);else if("object"===b(e)&&ee.crypto.Util.isKey(e)||"string"===typeof e&&-1!=e.indexOf("BEGIN")){var n=e;"string"===typeof e&&(n=He.getKey(e));var r=He.getKeyID(n);this.asn1KID=new ee.asn1.DEROctetString({hex:r})}},this.oid="2.5.29.14",void 0!==e&&void 0!==e.kid&&this.setKIDByParam(e.kid)},Me(ee.asn1.x509.SubjectKeyIdentifier,ee.asn1.x509.Extension),ee.asn1.x509.AuthorityInfoAccess=function(e){ee.asn1.x509.AuthorityInfoAccess.superclass.constructor.call(this,e),this.setAccessDescriptionArray=function(e){for(var t=new Array,n=ee.asn1,r=n.DERSequence,i=n.DERObjectIdentifier,o=n.x509.GeneralName,a=0;a<e.length;a++){var s,u=e[a];if(void 0!==u.ocsp)s=new r({array:[new i({oid:"1.3.6.1.5.5.7.48.1"}),new o({uri:u.ocsp})]});else{if(void 0===u.caissuer)throw new Error("unknown AccessMethod parameter: "+JSON.stringify(u));s=new r({array:[new i({oid:"1.3.6.1.5.5.7.48.2"}),new o({uri:u.caissuer})]})}t.push(s)}this.asn1ExtnValue=new r({array:t})},this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.oid="1.3.6.1.5.5.7.1.1",void 0!==e&&void 0!==e.array&&this.setAccessDescriptionArray(e.array)},Me(ee.asn1.x509.AuthorityInfoAccess,ee.asn1.x509.Extension),ee.asn1.x509.SubjectAltName=function(e){ee.asn1.x509.SubjectAltName.superclass.constructor.call(this,e),this.setNameArray=function(e){this.asn1ExtnValue=new ee.asn1.x509.GeneralNames(e)},this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.oid="2.5.29.17",void 0!==e&&void 0!==e.array&&this.setNameArray(e.array)},Me(ee.asn1.x509.SubjectAltName,ee.asn1.x509.Extension),ee.asn1.x509.IssuerAltName=function(e){ee.asn1.x509.IssuerAltName.superclass.constructor.call(this,e),this.setNameArray=function(e){this.asn1ExtnValue=new ee.asn1.x509.GeneralNames(e)},this.getExtnValueHex=function(){return this.asn1ExtnValue.tohex()},this.oid="2.5.29.18",void 0!==e&&void 0!==e.array&&this.setNameArray(e.array)},Me(ee.asn1.x509.IssuerAltName,ee.asn1.x509.Extension),ee.asn1.x509.SubjectDirectoryAttributes=function(e){ee.asn1.x509.SubjectDirectoryAttributes.superclass.constructor.call(this,e);var t=ee.asn1,n=t.DERSequence,r=t.ASN1Util.newObject,i=t.x509.OID.name2oid;this.params=null,this.getExtnValueHex=function(){for(var e=[],t=0;t<this.params.array.length;t++){var o=this.params.array[t];if(void 0==o.attr||void 0==o.array){var a={seq:[{oid:"1.2.3.4"},{set:[{utf8str:"DE"}]}]};if("dateOfBirth"==o.attr)a.seq[0].oid=i(o.attr),a.seq[1].set[0]={gentime:o.str};else if("placeOfBirth"==o.attr)a.seq[0].oid=i(o.attr),a.seq[1].set[0]={utf8str:o.str};else if("gender"==o.attr)a.seq[0].oid=i(o.attr),a.seq[1].set[0]={prnstr:o.str};else if("countryOfCitizenship"==o.attr)a.seq[0].oid=i(o.attr),a.seq[1].set[0]={prnstr:o.str};else{if("countryOfResidence"!=o.attr)throw new Error("unsupported attribute: "+o.attr);a.seq[0].oid=i(o.attr),a.seq[1].set[0]={prnstr:o.str}}e.push(new r(a))}else{var s={seq:[{oid:o.attr},{set:o.array}]};e.push(r(s))}}var u=new n({array:e});return this.asn1ExtnValue=u,this.asn1ExtnValue.tohex()},this.oid="2.5.29.9",void 0!==e&&(this.params=e)},Me(ee.asn1.x509.SubjectDirectoryAttributes,ee.asn1.x509.Extension),ee.asn1.x509.PrivateExtension=function(e){ee.asn1.x509.PrivateExtension.superclass.constructor.call(this,e);var t=ee,n=t.lang.String.isHex,r=t.asn1,i=r.x509.OID.name2oid,o=r.ASN1Util.newObject;this.params=null,this.setByParam=function(e){this.oid=i(e.extname),this.params=e},this.getExtnValueHex=function(){if(void 0==this.params.extname||void 0==this.params.extn)throw new Error("extname or extnhex not specified");var e=this.params.extn;if("string"==typeof e&&n(e))return e;if("object"==b(e))try{return o(e).tohex()}catch(t){}throw new Error("unsupported extn value")},void 0!=e&&this.setByParam(e)},Me(ee.asn1.x509.PrivateExtension,ee.asn1.x509.Extension),ee.asn1.x509.CRL=function(e){ee.asn1.x509.CRL.superclass.constructor.call(this);var t=ee.asn1,n=t.DERSequence,r=t.DERBitString,i=t.x509,o=i.AlgorithmIdentifier,a=i.TBSCertList;this.params=void 0,this.setByParam=function(e){this.params=e},this.sign=function(){var e=new a(this.params).tohex(),t=new ee.crypto.Signature({alg:this.params.sigalg});t.init(this.params.cakey),t.updateHex(e);var n=t.sign();this.params.sighex=n},this.getPEM=function(){return ge(this.tohex(),"X509 CRL")},this.tohex=function(){var e=this.params;if(void 0==e.tbsobj&&(e.tbsobj=new a(e)),void 0==e.sighex&&void 0!=e.cakey&&this.sign(),void 0==e.sighex)throw new Error("sighex or cakey parameter not defined");var t=[];return t.push(e.tbsobj),t.push(new o({name:e.sigalg})),t.push(new r({hex:"00"+e.sighex})),new n({array:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&(this.params=e)},Me(ee.asn1.x509.CRL,ee.asn1.ASN1Object),ee.asn1.x509.TBSCertList=function(e){ee.asn1.x509.TBSCertList.superclass.constructor.call(this);var t=ee.asn1,n=t.DERInteger,r=t.DERSequence,i=t.DERTaggedObject,o=(t.DERObjectIdentifier,t.x509),a=o.AlgorithmIdentifier,s=o.Time,u=o.Extensions,c=o.X500Name;this.params=null,this.setByParam=function(e){this.params=e},this.getRevCertSequence=function(){for(var e=[],t=this.params.revcert,i=0;i<t.length;i++){var o=[new n(t[i].sn),new s(t[i].date)];void 0!=t[i].ext&&o.push(new u(t[i].ext)),e.push(new r({array:o}))}return new r({array:e})},this.tohex=function(){var e=[],t=this.params;if(void 0!=t.version){var o=t.version-1,l=new n({int:o});e.push(l)}if(e.push(new a({name:t.sigalg})),e.push(new c(t.issuer)),e.push(new s(t.thisupdate)),void 0!=t.nextupdate&&e.push(new s(t.nextupdate)),void 0!=t.revcert&&e.push(this.getRevCertSequence()),void 0!=t.ext){var f=new u(t.ext);e.push(new i({tag:"a0",explicit:!0,obj:f}))}return new r({array:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.x509.TBSCertList,ee.asn1.ASN1Object),ee.asn1.x509.CRLEntry=function(e){ee.asn1.x509.CRLEntry.superclass.constructor.call(this);var t=ee.asn1;this.setCertSerial=function(e){this.sn=new t.DERInteger(e)},this.setRevocationDate=function(e){this.time=new t.x509.Time(e)},this.tohex=function(){var e=new t.DERSequence({array:[this.sn,this.time]});return this.TLV=e.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(void 0!==e.time&&this.setRevocationDate(e.time),void 0!==e.sn&&this.setCertSerial(e.sn))},Me(ee.asn1.x509.CRLEntry,ee.asn1.ASN1Object),ee.asn1.x509.CRLNumber=function(e){ee.asn1.x509.CRLNumber.superclass.constructor.call(this,e),this.params=void 0,this.getExtnValueHex=function(){return this.asn1ExtnValue=new ee.asn1.DERInteger(this.params.num),this.asn1ExtnValue.tohex()},this.oid="2.5.29.20",void 0!=e&&(this.params=e)},Me(ee.asn1.x509.CRLNumber,ee.asn1.x509.Extension),ee.asn1.x509.CRLReason=function(e){ee.asn1.x509.CRLReason.superclass.constructor.call(this,e),this.params=void 0,this.getExtnValueHex=function(){return this.asn1ExtnValue=new ee.asn1.DEREnumerated(this.params.code),this.asn1ExtnValue.tohex()},this.oid="2.5.29.21",void 0!=e&&(this.params=e)},Me(ee.asn1.x509.CRLReason,ee.asn1.x509.Extension),ee.asn1.x509.OCSPNonce=function(e){ee.asn1.x509.OCSPNonce.superclass.constructor.call(this,e),this.params=void 0,this.getExtnValueHex=function(){return this.asn1ExtnValue=new ee.asn1.DEROctetString(this.params),this.asn1ExtnValue.tohex()},this.oid="1.3.6.1.5.5.7.48.1.2",void 0!=e&&(this.params=e)},Me(ee.asn1.x509.OCSPNonce,ee.asn1.x509.Extension),ee.asn1.x509.OCSPNoCheck=function(e){ee.asn1.x509.OCSPNoCheck.superclass.constructor.call(this,e),this.params=void 0,this.getExtnValueHex=function(){return this.asn1ExtnValue=new ee.asn1.DERNull,this.asn1ExtnValue.tohex()},this.oid="1.3.6.1.5.5.7.48.1.5",void 0!=e&&(this.params=e)},Me(ee.asn1.x509.OCSPNoCheck,ee.asn1.x509.Extension),ee.asn1.x509.AdobeTimeStamp=function(e){ee.asn1.x509.AdobeTimeStamp.superclass.constructor.call(this,e);var t=ee.asn1,n=t.DERInteger,r=t.DERBoolean,i=t.DERSequence,o=t.x509.GeneralName;this.params=null,this.getExtnValueHex=function(){var e=this.params,t=[new n(1)];return t.push(new o({uri:e.uri})),void 0!=e.reqauth&&t.push(new r(e.reqauth)),this.asn1ExtnValue=new i({array:t}),this.asn1ExtnValue.tohex()},this.oid="1.2.840.113583.1.1.9.1",void 0!==e&&this.setByParam(e)},Me(ee.asn1.x509.AdobeTimeStamp,ee.asn1.x509.Extension),ee.asn1.x509.X500Name=function(e){ee.asn1.x509.X500Name.superclass.constructor.call(this),this.asn1Array=[],this.paramArray=[],this.sRule="utf8";var t=ee.asn1,n=t.x509,r=n.RDN;this.setByString=function(e,t){void 0!==t&&(this.sRule=t);var n=e.split("/");n.shift();for(var i=[],o=0;o<n.length;o++)if(n[o].match(/^[^=]+=.+$/))i.push(n[o]);else{var a=i.length-1;i[a]=i[a]+"/"+n[o]}for(o=0;o<i.length;o++)this.asn1Array.push(new r({str:i[o],rule:this.sRule}))},this.setByLdapString=function(e,t){void 0!==t&&(this.sRule=t);var r=n.X500Name.ldapToCompat(e);this.setByString(r,t)},this.setByObject=function(e,t){for(var n in void 0!==t&&(this.sRule=t),e)if(e.hasOwnProperty(n)){var i=new r({str:n+"="+e[n],rule:this.sRule});this.asn1Array?this.asn1Array.push(i):this.asn1Array=[i]}},this.setByParam=function(e){var t;void 0!==e.rule&&(this.sRule=e.rule),void 0!==e.array?this.paramArray=e.array:void 0!==e.str?this.setByString(e.str):void 0!==e.ldapstr?this.setByLdapString(e.ldapstr):void 0!==e.hex?this.hTLV=e.hex:void 0!==e.certissuer?((t=new We).readCertPEM(e.certissuer),this.hTLV=t.getIssuerHex()):void 0!==e.certsubject?((t=new We).readCertPEM(e.certsubject),this.hTLV=t.getSubjectHex()):"object"===b(e)&&void 0===e.certsubject&&void 0===e.certissuer&&this.setByObject(e)},this.tohex=function(){if("string"==typeof this.hTLV)return this.hTLV;if(0==this.asn1Array.length&&this.paramArray.length>0)for(var e=0;e<this.paramArray.length;e++){var n={array:this.paramArray[e]};"utf8"!=this.sRule&&(n.rule=this.sRule);var i=new r(n);this.asn1Array.push(i)}var o=new t.DERSequence({array:this.asn1Array});return this.hTLV=o.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.x509.X500Name,ee.asn1.ASN1Object),ee.asn1.x509.X500Name.compatToLDAP=function(e){if("/"!==e.substr(0,1))throw"malformed input";var t=(e=e.substr(1)).split("/");return t.reverse(),(t=t.map((function(e){return e.replace(/,/,"\\,")}))).join(",")},ee.asn1.x509.X500Name.onelineToLDAP=function(e){return ee.asn1.x509.X500Name.compatToLDAP(e)},ee.asn1.x509.X500Name.ldapToCompat=function(e){for(var t=e.split(","),n=!1,r=[],i=0;t.length>0;i++){var o=t.shift();if(!0===n){var a=(r.pop()+","+o).replace(/\\,/g,",");r.push(a),n=!1}else r.push(o);"\\"===o.substr(-1,1)&&(n=!0)}return(r=r.map((function(e){return e.replace("/","\\/")}))).reverse(),"/"+r.join("/")},ee.asn1.x509.X500Name.ldapToOneline=function(e){return ee.asn1.x509.X500Name.ldapToCompat(e)},ee.asn1.x509.RDN=function(e){ee.asn1.x509.RDN.superclass.constructor.call(this),this.asn1Array=[],this.paramArray=[],this.sRule="utf8";var t=ee.asn1.x509.AttributeTypeAndValue;this.setByParam=function(e){void 0!==e.rule&&(this.sRule=e.rule),void 0!==e.str&&this.addByMultiValuedString(e.str),void 0!==e.array&&(this.paramArray=e.array)},this.addByString=function(e){this.asn1Array.push(new ee.asn1.x509.AttributeTypeAndValue({str:e,rule:this.sRule}))},this.addByMultiValuedString=function(e){for(var t=ee.asn1.x509.RDN.parseString(e),n=0;n<t.length;n++)this.addByString(t[n])},this.tohex=function(){if(0==this.asn1Array.length&&this.paramArray.length>0)for(var e=0;e<this.paramArray.length;e++){var n=this.paramArray[e];void 0!==n.rule&&"utf8"!=this.sRule&&(n.rule=this.sRule);var r=new t(n);this.asn1Array.push(r)}var i=new ee.asn1.DERSet({array:this.asn1Array});return this.TLV=i.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.x509.RDN,ee.asn1.ASN1Object),ee.asn1.x509.RDN.parseString=function(e){for(var t=e.split(/\+/),n=!1,r=[],i=0;t.length>0;i++){var o=t.shift();if(!0===n){var a=(r.pop()+"+"+o).replace(/\\\+/g,"+");r.push(a),n=!1}else r.push(o);"\\"===o.substr(-1,1)&&(n=!0)}var s=!1,u=[];for(i=0;r.length>0;i++){if(o=r.shift(),!0===s){var c=u.pop();o.match(/"$/)?(a=(c+"+"+o).replace(/^([^=]+)="(.*)"$/,"$1=$2"),u.push(a),s=!1):u.push(c+"+"+o)}else u.push(o);o.match(/^[^=]+="/)&&(s=!0)}return u},ee.asn1.x509.AttributeTypeAndValue=function(e){ee.asn1.x509.AttributeTypeAndValue.superclass.constructor.call(this),this.sRule="utf8",this.sType=null,this.sValue=null,this.dsType=null;var t=ee,n=t.asn1,r=n.DERSequence,i=n.DERUTF8String,o=n.DERPrintableString,a=n.DERTeletexString,s=n.DERIA5String,u=n.DERVisibleString,c=n.DERBMPString,l=t.lang.String.isMail,f=t.lang.String.isPrintable;this.setByParam=function(e){if(void 0!==e.rule&&(this.sRule=e.rule),void 0!==e.ds&&(this.dsType=e.ds),void 0===e.value&&void 0!==e.str){var t=e.str.match(/^([^=]+)=(.+)$/);if(!t)throw new Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr);this.sType=t[1],this.sValue=t[2]}else this.sType=e.type,this.sValue=e.value},this.setByString=function(e,t){void 0!==t&&(this.sRule=t);var n=e.match(/^([^=]+)=(.+)$/);if(!n)throw new Error("malformed attrTypeAndValueStr: "+attrTypeAndValueStr);this.setByAttrTypeAndValueStr(n[1],n[2])},this._getDsType=function(){var e=this.sType,t=this.sValue,n=this.sRule;return"prn"===n?"CN"==e&&l(t)?"ia5":f(t)?"prn":"utf8":"utf8"===n?"CN"==e&&l(t)?"ia5":"C"==e?"prn":"utf8":"utf8"},this.setByAttrTypeAndValueStr=function(e,t,n){void 0!==n&&(this.sRule=n),this.sType=e,this.sValue=t},this.getValueObj=function(e,t){if("utf8"==e)return new i({str:t});if("prn"==e)return new o({str:t});if("tel"==e)return new a({str:t});if("ia5"==e)return new s({str:t});if("vis"==e)return new u({str:t});if("bmp"==e)return new c({str:t});throw new Error("unsupported directory string type: type="+e+" value="+t)},this.tohex=function(){null==this.dsType&&(this.dsType=this._getDsType());var e=ee.asn1.x509.OID.atype2obj(this.sType),t=this.getValueObj(this.dsType,this.sValue),n=new r({array:[e,t]});return this.TLV=n.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.x509.AttributeTypeAndValue,ee.asn1.ASN1Object),ee.asn1.x509.SubjectPublicKeyInfo=function(e){ee.asn1.x509.SubjectPublicKeyInfo.superclass.constructor.call(this);var t=ee,n=t.asn1,r=n.DERInteger,i=n.DERBitString,o=n.DERObjectIdentifier,a=n.DERSequence,s=n.ASN1Util.newObject,u=n.x509.AlgorithmIdentifier,c=t.crypto;c.ECDSA,c.DSA,this.getASN1Object=function(){if(null==this.asn1AlgId||null==this.asn1SubjPKey)throw"algId and/or subjPubKey not set";return new a({array:[this.asn1AlgId,this.asn1SubjPKey]})},this.tohex=function(){var e=this.getASN1Object();return this.hTLV=e.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},this.setPubKey=function(e){try{if(e instanceof J){var t=s({seq:[{int:{bigint:e.n}},{int:{int:e.e}}]}).tohex();this.asn1AlgId=new u({name:"rsaEncryption"}),this.asn1SubjPKey=new i({hex:"00"+t})}}catch(c){}try{if(e instanceof ee.crypto.ECDSA){var n=new o({name:e.curveName});this.asn1AlgId=new u({name:"ecPublicKey",asn1params:n}),this.asn1SubjPKey=new i({hex:"00"+e.pubKeyHex})}}catch(c){}try{if(e instanceof ee.crypto.DSA){n=new s({seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]}),this.asn1AlgId=new u({name:"dsa",asn1params:n});var a=new r({bigint:e.y});this.asn1SubjPKey=new i({hex:"00"+a.tohex()})}}catch(c){}},void 0!==e&&this.setPubKey(e)},Me(ee.asn1.x509.SubjectPublicKeyInfo,ee.asn1.ASN1Object),ee.asn1.x509.Time=function(e){ee.asn1.x509.Time.superclass.constructor.call(this);var t=ee.asn1,n=t.DERUTCTime,r=t.DERGeneralizedTime;this.params=null,this.type=null,this.setTimeParams=function(e){this.timeParams=e},this.setByParam=function(e){this.params=e},this.getType=function(e){return e.match(/^[0-9]{12}Z$/)?"utc":e.match(/^[0-9]{14}Z$/)?"gen":e.match(/^[0-9]{12}\.[0-9]+Z$/)?"utc":e.match(/^[0-9]{14}\.[0-9]+Z$/)?"gen":null},this.tohex=function(){var e=this.params,t=null;if("string"==typeof e&&(e={str:e}),null==e||!e.str||null!=e.type&&void 0!=e.type||(e.type=this.getType(e.str)),null!=e&&e.str?("utc"==e.type&&(t=new n(e.str)),"gen"==e.type&&(t=new r(e.str))):t="gen"==this.type?new r:new n,null==t)throw new Error("wrong setting for Time");return this.TLV=t.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},ee.asn1.x509.Time_bak=function(e){ee.asn1.x509.Time_bak.superclass.constructor.call(this);var t=ee.asn1,n=t.DERUTCTime,r=t.DERGeneralizedTime;this.setTimeParams=function(e){this.timeParams=e},this.tohex=function(){var e=null;return e=null!=this.timeParams?"utc"==this.type?new n(this.timeParams):new r(this.timeParams):"utc"==this.type?new n:new r,this.TLV=e.tohex(),this.TLV},this.getEncodedHex=function(){return this.tohex()},this.type="utc",void 0!==e&&(void 0!==e.type?this.type=e.type:void 0!==e.str&&(e.str.match(/^[0-9]{12}Z$/)&&(this.type="utc"),e.str.match(/^[0-9]{14}Z$/)&&(this.type="gen")),this.timeParams=e)},Me(ee.asn1.x509.Time,ee.asn1.ASN1Object),ee.asn1.x509.AlgorithmIdentifier=function(e){ee.asn1.x509.AlgorithmIdentifier.superclass.constructor.call(this),this.nameAlg=null,this.asn1Alg=null,this.asn1Params=null,this.paramEmpty=!1;var t=ee.asn1,n=t.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV;if(this.tohex=function(){if(null===this.nameAlg&&null===this.asn1Alg)throw new Error("algorithm not specified");if(null!==this.nameAlg){var e=null;for(var r in n)r===this.nameAlg&&(e=n[r]);if(null!==e)return this.hTLV=e,this.hTLV}null!==this.nameAlg&&null===this.asn1Alg&&(this.asn1Alg=t.x509.OID.name2obj(this.nameAlg));var i=[this.asn1Alg];null!==this.asn1Params&&i.push(this.asn1Params);var o=new t.DERSequence({array:i});return this.hTLV=o.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&(void 0!==e.name&&(this.nameAlg=e.name),void 0!==e.asn1params&&(this.asn1Params=e.asn1params),void 0!==e.paramempty&&(this.paramEmpty=e.paramempty)),null===this.asn1Params&&!1===this.paramEmpty&&null!==this.nameAlg){void 0!==this.nameAlg.name&&(this.nameAlg=this.nameAlg.name);var r=this.nameAlg.toLowerCase();"withdsa"!==r.substr(-7,7)&&"withecdsa"!==r.substr(-9,9)&&(this.asn1Params=new t.DERNull)}},Me(ee.asn1.x509.AlgorithmIdentifier,ee.asn1.ASN1Object),ee.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV={SHAwithRSAandMGF1:"300d06092a864886f70d01010a3000",SHA256withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040201a11a301806092a864886f70d010108300b0609608648016503040201a203020120",SHA384withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040202a11a301806092a864886f70d010108300b0609608648016503040202a203020130",SHA512withRSAandMGF1:"303d06092a864886f70d01010a3030a00d300b0609608648016503040203a11a301806092a864886f70d010108300b0609608648016503040203a203020140"},ee.asn1.x509.GeneralName=function(e){ee.asn1.x509.GeneralName.superclass.constructor.call(this);var t=ee.asn1,n=t.x509,r=n.X500Name,i=n.OtherName,o=t.DERIA5String,a=(t.DERPrintableString,t.DEROctetString),s=t.DERTaggedObject,u=t.ASN1Object,c=Error;this.params=null,this.setByParam=function(e){this.params=e},this.tohex=function(){var e,t,n=this.params,l=!1;if(void 0!==n.other)e="a0",t=new i(n.other);else if(void 0!==n.rfc822)e="81",t=new o({str:n.rfc822});else if(void 0!==n.dns)e="82",t=new o({str:n.dns});else if(void 0!==n.dn)e="a4",l=!0,t="string"===typeof n.dn?new r({str:n.dn}):n.dn instanceof ee.asn1.x509.X500Name?n.dn:new r(n.dn);else if(void 0!==n.ldapdn)e="a4",l=!0,t=new r({ldapstr:n.ldapdn});else if(void 0!==n.certissuer||void 0!==n.certsubj){var f,h;e="a4",l=!0;var d=null;if(void 0!==n.certsubj?(f=!1,h=n.certsubj):(f=!0,h=n.certissuer),h.match(/^[0-9A-Fa-f]+$/),-1!=h.indexOf("-----BEGIN ")&&(d=me(h)),null==d)throw new Error("certsubj/certissuer not cert");var p,g=new We;g.hex=d,p=f?g.getIssuerHex():g.getSubjectHex(),(t=new u).hTLV=p}else if(void 0!==n.uri)e="86",t=new o({str:n.uri});else{if(void 0===n.ip)throw new c("improper params");var m;e="87";var v=n.ip;try{if(v.match(/^[0-9a-f]+$/)){var _=v.length;if(8!=_&&16!=_&&32!=_&&64!=_)throw"err";m=v}else m=be(v)}catch(E){throw new c("malformed IP address: "+n.ip+":"+E.message)}t=new a({hex:m})}return new s({tag:e,explicit:l,obj:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.x509.GeneralName,ee.asn1.ASN1Object),ee.asn1.x509.GeneralNames=function(e){ee.asn1.x509.GeneralNames.superclass.constructor.call(this);var t=ee.asn1;this.setByParamArray=function(e){for(var n=0;n<e.length;n++){var r=new t.x509.GeneralName(e[n]);this.asn1Array.push(r)}},this.tohex=function(){return new t.DERSequence({array:this.asn1Array}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.asn1Array=new Array,"undefined"!=typeof e&&this.setByParamArray(e)},Me(ee.asn1.x509.GeneralNames,ee.asn1.ASN1Object),ee.asn1.x509.OtherName=function(e){ee.asn1.x509.OtherName.superclass.constructor.call(this);var t=ee.asn1,n=t.DERObjectIdentifier,r=t.DERSequence,i=t.ASN1Util.newObject;this.params=null,this.setByParam=function(e){this.params=e},this.tohex=function(){var e=this.params;if(void 0==e.oid||void 0==e.value)throw new Error("oid or value not specified");var t=new n({oid:e.oid}),o=i({tag:{tag:"a0",explicit:!0,obj:e.value}});return new r({array:[t,o]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.x509.OtherName,ee.asn1.ASN1Object),ee.asn1.x509.OID=new function(){var e=ee.asn1.DERObjectIdentifier;this.name2oidList={"aes128-CBC":"2.16.840.1.101.3.4.1.2","aes256-CBC":"2.16.840.1.101.3.4.1.42",sha1:"1.3.14.3.2.26",sha256:"2.16.840.1.101.3.4.2.1",sha384:"2.16.840.1.101.3.4.2.2",sha512:"2.16.840.1.101.3.4.2.3",sha224:"2.16.840.1.101.3.4.2.4",md5:"1.2.840.113549.2.5",md2:"1.3.14.7.2.2.1",ripemd160:"1.3.36.3.2.1",hmacWithSHA1:"1.2.840.113549.2.7",hmacWithSHA224:"1.2.840.113549.2.8",hmacWithSHA256:"1.2.840.113549.2.9",hmacWithSHA384:"1.2.840.113549.2.10",hmacWithSHA512:"1.2.840.113549.2.11",MD2withRSA:"1.2.840.113549.1.1.2",MD4withRSA:"1.2.840.113549.1.1.3",MD5withRSA:"1.2.840.113549.1.1.4",SHA1withRSA:"1.2.840.113549.1.1.5","pkcs1-MGF":"1.2.840.113549.1.1.8",rsaPSS:"1.2.840.113549.1.1.10",SHA224withRSA:"1.2.840.113549.1.1.14",SHA256withRSA:"1.2.840.113549.1.1.11",SHA384withRSA:"1.2.840.113549.1.1.12",SHA512withRSA:"1.2.840.113549.1.1.13",SHA1withECDSA:"1.2.840.10045.4.1",SHA224withECDSA:"1.2.840.10045.4.3.1",SHA256withECDSA:"1.2.840.10045.4.3.2",SHA384withECDSA:"1.2.840.10045.4.3.3",SHA512withECDSA:"1.2.840.10045.4.3.4",dsa:"1.2.840.10040.4.1",SHA1withDSA:"1.2.840.10040.4.3",SHA224withDSA:"2.16.840.1.101.3.4.3.1",SHA256withDSA:"2.16.840.1.101.3.4.3.2",rsaEncryption:"1.2.840.113549.1.1.1",commonName:"2.5.4.3",countryName:"2.5.4.6",localityName:"2.5.4.7",stateOrProvinceName:"2.5.4.8",streetAddress:"2.5.4.9",organizationName:"2.5.4.10",organizationalUnitName:"2.5.4.11",domainComponent:"0.9.2342.19200300.100.1.25",userId:"0.9.2342.19200300.100.1.1",surname:"2.5.4.4",givenName:"2.5.4.42",title:"2.5.4.12",distinguishedName:"2.5.4.49",emailAddress:"1.2.840.113549.1.9.1",description:"2.5.4.13",businessCategory:"2.5.4.15",postalCode:"2.5.4.17",uniqueIdentifier:"2.5.4.45",organizationIdentifier:"2.5.4.97",jurisdictionOfIncorporationL:"1.3.6.1.4.1.311.60.2.1.1",jurisdictionOfIncorporationSP:"1.3.6.1.4.1.311.60.2.1.2",jurisdictionOfIncorporationC:"1.3.6.1.4.1.311.60.2.1.3",subjectDirectoryAttributes:"2.5.29.9",subjectKeyIdentifier:"2.5.29.14",keyUsage:"2.5.29.15",subjectAltName:"2.5.29.17",issuerAltName:"2.5.29.18",basicConstraints:"2.5.29.19",cRLNumber:"2.5.29.20",cRLReason:"2.5.29.21",nameConstraints:"2.5.29.30",cRLDistributionPoints:"2.5.29.31",certificatePolicies:"2.5.29.32",anyPolicy:"2.5.29.32.0",policyMappings:"2.5.29.33",authorityKeyIdentifier:"2.5.29.35",policyConstraints:"2.5.29.36",extKeyUsage:"2.5.29.37",inhibitAnyPolicy:"2.5.29.54",authorityInfoAccess:"1.3.6.1.5.5.7.1.1",ocsp:"1.3.6.1.5.5.7.48.1",ocspBasic:"1.3.6.1.5.5.7.48.1.1",ocspNonce:"1.3.6.1.5.5.7.48.1.2",ocspNoCheck:"1.3.6.1.5.5.7.48.1.5",caIssuers:"1.3.6.1.5.5.7.48.2",anyExtendedKeyUsage:"2.5.29.37.0",serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",emailProtection:"1.3.6.1.5.5.7.3.4",timeStamping:"1.3.6.1.5.5.7.3.8",ocspSigning:"1.3.6.1.5.5.7.3.9",smtpUTF8Mailbox:"1.3.6.1.5.5.7.8.9",dateOfBirth:"1.3.6.1.5.5.7.9.1",placeOfBirth:"1.3.6.1.5.5.7.9.2",gender:"1.3.6.1.5.5.7.9.3",countryOfCitizenship:"1.3.6.1.5.5.7.9.4",countryOfResidence:"1.3.6.1.5.5.7.9.5",ecPublicKey:"1.2.840.10045.2.1","P-256":"1.2.840.10045.3.1.7",secp256r1:"1.2.840.10045.3.1.7",secp256k1:"1.3.132.0.10",secp384r1:"1.3.132.0.34",secp521r1:"1.3.132.0.35",pkcs5PBES2:"1.2.840.113549.1.5.13",pkcs5PBKDF2:"1.2.840.113549.1.5.12","des-EDE3-CBC":"1.2.840.113549.3.7",data:"1.2.840.113549.1.7.1","signed-data":"1.2.840.113549.1.7.2","enveloped-data":"1.2.840.113549.1.7.3","digested-data":"1.2.840.113549.1.7.5","encrypted-data":"1.2.840.113549.1.7.6","authenticated-data":"1.2.840.113549.1.9.16.1.2",tstinfo:"1.2.840.113549.1.9.16.1.4",signingCertificate:"1.2.840.113549.1.9.16.2.12",timeStampToken:"1.2.840.113549.1.9.16.2.14",signaturePolicyIdentifier:"1.2.840.113549.1.9.16.2.15",etsArchiveTimeStamp:"1.2.840.113549.1.9.16.2.27",signingCertificateV2:"1.2.840.113549.1.9.16.2.47",etsArchiveTimeStampV2:"1.2.840.113549.1.9.16.2.48",extensionRequest:"1.2.840.113549.1.9.14",contentType:"1.2.840.113549.1.9.3",messageDigest:"1.2.840.113549.1.9.4",signingTime:"1.2.840.113549.1.9.5",counterSignature:"1.2.840.113549.1.9.6",archiveTimeStampV3:"0.4.0.1733.2.4",pdfRevocationInfoArchival:"1.2.840.113583.1.1.8",adobeTimeStamp:"1.2.840.113583.1.1.9.1",smimeMailboxLegacy:"2.23.140.1.5.1.1",smimeMailboxMulti:"2.23.140.1.5.1.2",smimeMailboxStrict:"2.23.140.1.5.1.3",smimeOrganizationLegacy:"2.23.140.1.5.2.1",smimeOrganizationMulti:"2.23.140.1.5.2.2",smimeOrganizationStrict:"2.23.140.1.5.2.3",smimeSponsorLegacy:"2.23.140.1.5.3.1",smimeSponsorMulti:"2.23.140.1.5.3.2",smimeSponsorStrict:"2.23.140.1.5.3.3",smimeIndividualLegacy:"2.23.140.1.5.4.1",smimeIndividualMulti:"2.23.140.1.5.4.2",smimeIndividualStrict:"2.23.140.1.5.4.3"},this.atype2oidList={CN:"2.5.4.3",L:"2.5.4.7",ST:"2.5.4.8",O:"2.5.4.10",OU:"2.5.4.11",C:"2.5.4.6",STREET:"2.5.4.9",DC:"0.9.2342.19200300.100.1.25",UID:"0.9.2342.19200300.100.1.1",SN:"2.5.4.4",T:"2.5.4.12",GN:"2.5.4.42",DN:"2.5.4.49",E:"1.2.840.113549.1.9.1",description:"2.5.4.13",businessCategory:"2.5.4.15",postalCode:"2.5.4.17",serialNumber:"2.5.4.5",uniqueIdentifier:"2.5.4.45",organizationIdentifier:"2.5.4.97",jurisdictionOfIncorporationL:"1.3.6.1.4.1.311.60.2.1.1",jurisdictionOfIncorporationSP:"1.3.6.1.4.1.311.60.2.1.2",jurisdictionOfIncorporationC:"1.3.6.1.4.1.311.60.2.1.3"},this.objCache={},this.name2obj=function(t){if("undefined"!=typeof this.objCache[t])return this.objCache[t];if("undefined"==typeof this.name2oidList[t])throw"Name of ObjectIdentifier not defined: "+t;var n=this.name2oidList[t],r=new e({oid:n});return this.objCache[t]=r,r},this.atype2obj=function(t){if(void 0!==this.objCache[t])return this.objCache[t];var n;if(t.match(/^\d+\.\d+\.[0-9.]+$/))n=t;else if(void 0!==this.atype2oidList[t])n=this.atype2oidList[t];else{if(void 0===this.name2oidList[t])throw new Error("AttributeType name undefined: "+t);n=this.name2oidList[t]}var r=new e({oid:n});return this.objCache[t]=r,r},this.registerOIDs=function(e){if(this.checkOIDs(e))for(var t in e)this.name2oidList[t]=e[t]},this.checkOIDs=function(e){try{var t=Object.keys(e);return 0!=t.length&&(t.map((function(e,t,n){if(!this[e].match(/^[0-2]\.[0-9.]+$/))throw new Error("value is not OID")}),e),!0)}catch(n){return!1}}},ee.asn1.x509.OID.oid2name=function(e){var t=ee.asn1.x509.OID.name2oidList;for(var n in t)if(t[n]==e)return n;return""},ee.asn1.x509.OID.oid2atype=function(e){var t=ee.asn1.x509.OID.atype2oidList;for(var n in t)if(t[n]==e)return n;return e},ee.asn1.x509.OID.name2oid=function(e){if(e.match(/^[0-9.]+$/))return e;var t=ee.asn1.x509.OID.name2oidList;return void 0===t[e]?"":t[e]},ee.asn1.x509.X509Util={},ee.asn1.x509.X509Util.newCertPEM=function(e){var t=ee.asn1.x509;return t.TBSCertificate,new(0,t.Certificate)(e).getPEM()},"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.asn1&&ee.asn1||(ee.asn1={}),"undefined"!=typeof ee.asn1.cms&&ee.asn1.cms||(ee.asn1.cms={}),ee.asn1.cms.Attribute=function(e){var t=Error,n=ee.asn1,r=n.DERSequence,i=n.DERSet,o=n.DERObjectIdentifier;this.params=null,this.typeOid=null,this.setByParam=function(e){this.params=e},this.getValueArray=function(){throw new t("not yet implemented abstract")},this.tohex=function(){var e=new o({oid:this.typeOid}),t=new i({array:this.getValueArray()});return new r({array:[e,t]}).tohex()},this.getEncodedHex=function(){return this.tohex()}},Me(ee.asn1.cms.Attribute,ee.asn1.ASN1Object),ee.asn1.cms.ContentType=function(e){var t=ee.asn1;t.cms.ContentType.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.3",this.getValueArray=function(){return[new t.DERObjectIdentifier(this.params.type)]},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.ContentType,ee.asn1.cms.Attribute),ee.asn1.cms.MessageDigest=function(e){var t=ee.asn1,n=t.DEROctetString;t.cms.MessageDigest.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.4",this.getValueArray=function(){return[new n(this.params)]},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.MessageDigest,ee.asn1.cms.Attribute),ee.asn1.cms.SigningTime=function(e){var t=ee.asn1;t.cms.SigningTime.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.5",this.getValueArray=function(){return[new t.x509.Time(this.params)]},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.SigningTime,ee.asn1.cms.Attribute),ee.asn1.cms.SigningCertificate=function(e){var t=Error,n=ee,r=n.asn1,i=r.DERSequence,o=r.cms,a=o.ESSCertID;n.crypto,o.SigningCertificate.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.12",this.getValueArray=function(){if(null==this.params||void 0==this.params||void 0==this.params.array)throw new t("parameter 'array' not specified");for(var n=this.params.array,r=[],o=0;o<n.length;o++){var s=n[o];0!=e.hasis||"string"!=typeof s||-1==s.indexOf("-----BEGIN")&&!re.isASN1HEX(s)||(s={cert:s}),0!=s.hasis&&0==e.hasis&&(s.hasis=!1),r.push(new a(s))}var u=new i({array:r});return[new i({array:[u]})]},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.SigningCertificate,ee.asn1.cms.Attribute),ee.asn1.cms.ESSCertID=function(e){ee.asn1.cms.ESSCertID.superclass.constructor.call(this);var t=Error,n=ee,r=n.asn1,i=r.DEROctetString,o=r.DERSequence,a=r.cms.IssuerSerial;this.params=null,this.getCertHash=function(e,r){if(void 0!=e.hash)return e.hash;if("string"==typeof e&&-1==e.indexOf("-----BEGIN")&&!re.isASN1HEX(e))return e;var i,o,a;if("string"==typeof e)i=e;else{if(void 0==e.cert)throw new t("hash nor cert unspecified");i=e.cert}if(o=-1!=i.indexOf("-----BEGIN")?me(i):i,"string"==typeof e&&(-1!=e.indexOf("-----BEGIN")?o=me(e):re.isASN1HEX(e)&&(o=e)),void 0!=e.alg)a=e.alg;else{if(void 0==r)throw new t("hash alg unspecified");a=r}return n.crypto.Util.hashHex(o,a)},this.tohex=function(){var e=this.params,t=this.getCertHash(e,"sha1"),n=[];return n.push(new i({hex:t})),("string"==typeof e&&-1!=e.indexOf("-----BEGIN")||void 0!=e.cert&&0!=e.hasis||void 0!=e.issuer&&void 0!=e.serial)&&n.push(new a(e)),new o({array:n}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.ESSCertID,ee.asn1.ASN1Object),ee.asn1.cms.SigningCertificateV2=function(e){var t=Error,n=ee,r=n.asn1,i=r.DERSequence,o=(r.x509,r.cms),a=o.ESSCertIDv2;n.crypto,o.SigningCertificateV2.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.47",this.getValueArray=function(){if(null==this.params||void 0==this.params||void 0==this.params.array)throw new t("parameter 'array' not specified");for(var n=this.params.array,r=[],o=0;o<n.length;o++){var s=n[o];void 0==e.alg&&0!=e.hasis||"string"!=typeof s||-1==s.indexOf("-----BEGIN")&&!re.isASN1HEX(s)||(s={cert:s}),void 0==s.alg&&void 0!=e.alg&&(s.alg=e.alg),0!=s.hasis&&0==e.hasis&&(s.hasis=!1),r.push(new a(s))}var u=new i({array:r});return[new i({array:[u]})]},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.SigningCertificateV2,ee.asn1.cms.Attribute),ee.asn1.cms.ESSCertIDv2=function(e){ee.asn1.cms.ESSCertIDv2.superclass.constructor.call(this),Error;var t=ee.asn1,n=t.DEROctetString,r=t.DERSequence,i=t.cms.IssuerSerial,o=t.x509.AlgorithmIdentifier;this.params=null,this.tohex=function(){var e=this.params,t=this.getCertHash(e,"sha256"),a=[];return void 0!=e.alg&&"sha256"!=e.alg&&a.push(new o({name:e.alg})),a.push(new n({hex:t})),("string"==typeof e&&-1!=e.indexOf("-----BEGIN")||void 0!=e.cert&&0!=e.hasis||void 0!=e.issuer&&void 0!=e.serial)&&a.push(new i(e)),new r({array:a}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.ESSCertIDv2,ee.asn1.cms.ESSCertID),ee.asn1.cms.IssuerSerial=function(e){var t=Error,n=ee.asn1,r=n.DERInteger,i=n.DERSequence,o=n.cms,a=n.x509.GeneralNames,s=We;o.IssuerSerial.superclass.constructor.call(this),this.setByParam=function(e){this.params=e},this.tohex=function(){var e,n,o=this.params;if("string"==typeof o&&-1!=o.indexOf("-----BEGIN")||void 0!=o.cert){var u;u=void 0!=o.cert?o.cert:o;var c=new s;c.readCertPEM(u),e=c.getIssuer(),n={hex:c.getSerialNumberHex()}}else{if(void 0==o.issuer||!o.serial)throw new t("cert or issuer and serial parameter not specified");e=o.issuer,n=o.serial}var l=new a([{dn:e}]),f=new r(n);return new i({array:[l,f]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.IssuerSerial,ee.asn1.ASN1Object),ee.asn1.cms.SignerIdentifier=function(e){var t=ee.asn1,n=(t.DERInteger,t.DERSequence,t.cms),r=n.IssuerAndSerialNumber,i=n.SubjectKeyIdentifier;t.x509.X500Name,Error,n.SignerIdentifier.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params;if("isssn"==e.type)return new r(e).tohex();if("skid"==e.type)return new i(e).tohex();throw new Error("wrong property for isssn or skid")},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.SignerIdentifier,ee.asn1.ASN1Object),ee.asn1.cms.IssuerAndSerialNumber=function(e){var t=ee.asn1,n=t.DERInteger,r=t.DERSequence,i=t.cms,o=t.x509.X500Name,a=We,s=Error;i.IssuerAndSerialNumber.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e,t,i=this.params;if("string"==typeof i&&-1!=i.indexOf("-----BEGIN")||void 0!=i.cert){var u;u=void 0!=i.cert?i.cert:i;var c=new a;c.readCertPEM(u),e=c.getIssuer(),t={hex:c.getSerialNumberHex()}}else{if(void 0==i.issuer||!i.serial)throw new s("cert or issuer and serial parameter not specified");e=i.issuer,t=i.serial}var l=new o(e),f=new n(t);return new r({array:[l,f]}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(e){this.params=e},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.IssuerAndSerialNumber,ee.asn1.ASN1Object),ee.asn1.cms.SubjectKeyIdentifier=function(e){var t=ee.asn1,n=(t.DERInteger,t.DERSequence,t.ASN1Util.newObject),r=t.cms,i=(r.IssuerAndSerialName,r.SubjectKeyIdentifier,t.x509.X500Name,We),o=Error;r.SubjectKeyIdentifier.superclass.constructor.call(this),this.tohex=function(){var e,t=this.params;if(void 0==t.cert&&void 0==t.skid)throw new o("property cert nor skid undefined");return void 0!=t.cert?e=new i(t.cert).getExtSubjectKeyIdentifier().kid.hex:void 0!=t.skid&&(e=t.skid),n({tag:{tage:"a0",obj:{octstr:{hex:e}}}}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.SubjectKeyIdentifier,ee.asn1.ASN1Object),ee.asn1.cms.AttributeList=function(e){var t=Error,n=ee.asn1,r=n.DERSet,i=n.cms;i.AttributeList.superclass.constructor.call(this),this.params=null,this.hTLV=null,this.setByParam=function(e){this.params=e},this.tohex=function(){var e=this.params;if(null!=this.hTLV)return this.hTLV;var n=!0;void 0!=e.sortflag&&(n=e.sortflag);for(var o=e.array,a=[],s=0;s<o.length;s++){var u=o[s],c=u.attr;if("contentType"==c)a.push(new i.ContentType(u));else if("messageDigest"==c)a.push(new i.MessageDigest(u));else if("signingTime"==c)a.push(new i.SigningTime(u));else if("signingCertificate"==c)a.push(new i.SigningCertificate(u));else if("signingCertificateV2"==c)a.push(new i.SigningCertificateV2(u));else if("signaturePolicyIdentifier"==c)a.push(new ee.asn1.cades.SignaturePolicyIdentifier(u));else{if("signatureTimeStamp"!=c&&"timeStampToken"!=c)throw new t("unknown attr: "+c);a.push(new ee.asn1.cades.SignatureTimeStamp(u))}}var l=new r({array:a,sortflag:n});return this.hTLV=l.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.AttributeList,ee.asn1.ASN1Object),ee.asn1.cms.SignerInfo=function(e){var t=Error,n=ee,r=n.asn1,i=r.DERInteger,o=r.DEROctetString,a=r.DERSequence,s=r.DERTaggedObject,u=r.cms,c=u.SignerIdentifier,l=u.AttributeList,f=(u.ContentType,u.EncapsulatedContentInfo,u.MessageDigest,u.SignedData,r.x509.AlgorithmIdentifier),h=n.crypto,d=He;u.SignerInfo.superclass.constructor.call(this),this.params=null,this.sign=function(){var e=this.params,t=e.sigalg,n=new l(e.sattrs).tohex(),r=d.getKey(e.signkey),i=new h.Signature({alg:t});i.init(r),i.updateHex(n);var o=i.sign();e.sighex=o},this.tohex=function(){var e=this.params,n=[];if(n.push(new i({int:e.version})),n.push(new c(e.id)),n.push(new f({name:e.hashalg})),void 0!=e.sattrs){var r=new l(e.sattrs);try{n.push(new s({tag:"a0",explicit:!1,obj:r}))}catch(u){throw new t("si sattr error: "+u)}}if(void 0!=e.sigalgfield?n.push(new f({name:e.sigalgfield})):n.push(new f({name:e.sigalg})),void 0==e.sighex&&void 0!=e.signkey&&this.sign(),n.push(new o({hex:e.sighex})),void 0!=e.uattrs){r=new l(e.uattrs);try{n.push(new s({tag:"a1",explicit:!1,obj:r}))}catch(u){throw new t("si uattr error: "+u)}}return new a({array:n}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.SignerInfo,ee.asn1.ASN1Object),ee.asn1.cms.EncapsulatedContentInfo=function(e){var t=ee.asn1,n=t.DERTaggedObject,r=t.DERSequence,i=t.DERObjectIdentifier,o=t.DEROctetString;t.cms.EncapsulatedContentInfo.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params,t=[];if(t.push(new i(e.type)),void 0!=e.content&&(void 0!=e.content.hex||void 0!=e.content.str)&&1!=e.isDetached){var a=new o(e.content),s=new n({tag:"a0",explicit:!0,obj:a});t.push(s)}return new r({array:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(e){this.params=e},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.EncapsulatedContentInfo,ee.asn1.ASN1Object),ee.asn1.cms.ContentInfo=function(e){var t=ee.asn1,n=t.DERTaggedObject,r=t.DERSequence,i=t.DERObjectIdentifier;t.x509.OID.name2obj,ee.asn1.cms.ContentInfo.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params,t=[];t.push(new i(e.type));var o=new n({tag:"a0",explicit:!0,obj:e.obj});return t.push(o),new r({array:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(e){this.params=e},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.ContentInfo,ee.asn1.ASN1Object),ee.asn1.cms.SignedData=function(e){Error;var t=ee.asn1,n=(t.ASN1Object,t.DERInteger),r=t.DERSet,i=t.DERSequence,o=(t.DERTaggedObject,t.cms),a=o.EncapsulatedContentInfo,s=o.SignerInfo,u=o.ContentInfo,c=o.CertificateSet,l=o.RevocationInfoChoices,f=t.x509.AlgorithmIdentifier;ee.asn1.cms.SignedData.superclass.constructor.call(this),this.params=null,this.checkAndFixParam=function(){var e=this.params;this._setDigestAlgs(e),this._setContentTypeByEContent(e),this._setMessageDigestByEContent(e),this._setSignerInfoVersion(e),this._setSignedDataVersion(e)},this._setDigestAlgs=function(e){for(var t={},n=e.sinfos,r=0;r<n.length;r++)t[n[r].hashalg]=1;e.hashalgs=Object.keys(t).sort()},this._setContentTypeByEContent=function(e){for(var t=e.econtent.type,n=e.sinfos,r=0;r<n.length;r++){var i=n[r];this._getAttrParamByName(i,"contentType").type=t}},this._setMessageDigestByEContent=function(e){var t=e.econtent,n=(e.econtent.type,t.content.hex);void 0==n&&"data"==t.type&&void 0!=t.content.str&&(n=pe(t.content.str));for(var r=e.sinfos,i=0;i<r.length;i++){var o=r[i],a=o.hashalg,s=this._getAttrParamByName(o,"messageDigest"),u=ee.crypto.Util.hashHex(n,a);s.hex=u}},this._getAttrParamByName=function(e,t){for(var n=e.sattrs.array,r=0;r<n.length;r++)if(n[r].attr==t)return n[r]},this._setSignerInfoVersion=function(e){for(var t=e.sinfos,n=0;n<t.length;n++){var r=t[n],i=1;"skid"==r.id.type&&(i=3),r.version=i}},this._setSignedDataVersion=function(e){var t=this._getSignedDataVersion(e);e.version=t},this._getSignedDataVersion=function(e){if(void 0!=e.revinfos)for(var t=e.revinfos,n=0;n<t.length;n++)if(void 0!=t[n].ocsp)return 5;var r=e.sinfos;for(n=0;n<r.length;n++)if(3==e.sinfos[n].version)return 3;return"data"!=e.econtent.type?3:1},this.tohex=function(){var e=this.params;void 0!=this.getEncodedHexPrepare&&this.getEncodedHexPrepare(),1!=e.fixed&&this.checkAndFixParam();var t=[];t.push(new n({int:e.version}));for(var o=[],u=0;u<e.hashalgs.length;u++){var h=e.hashalgs[u];o.push(new f({name:h}))}t.push(new r({array:o})),t.push(new a(e.econtent)),void 0!=e.certs&&t.push(new c(e.certs)),void 0!=e.revinfos&&t.push(new l(e.revinfos));var d=[];for(u=0;u<e.sinfos.length;u++){var p=e.sinfos[u];d.push(new s(p))}return t.push(new r({array:d})),new i({array:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.getContentInfo=function(){return new u({type:"signed-data",obj:this})},this.getContentInfoEncodedHex=function(){return this.getContentInfo().tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.SignedData,ee.asn1.ASN1Object),ee.asn1.cms.CertificateSet=function(e){ee.asn1.cms.CertificateSet.superclass.constructor.call(this);var t=Error,n=ee.asn1,r=n.DERTaggedObject,i=n.DERSet,o=n.ASN1Object;this.params=null,this.tohex=function(){var e,n=this.params,a=[];if(n instanceof Array)e=n;else{if(void 0==n.array)throw new t("cert array not specified");e=n.array}for(var s=0;s<e.length;s++){var u=me(e[s]),c=new o;c.hTLV=u,a.push(c)}var l={array:a};0==n.sortflag&&(l.sortflag=!1);var f=new i(l);return new r({tag:"a0",explicit:!1,obj:f}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.CertificateSet,ee.asn1.ASN1Object),ee.asn1.cms.RevocationInfoChoices=function(e){ee.asn1.cms.RevocationInfoChoices.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params;if(!e instanceof Array)throw new Error("params is not array");for(var t=[],n=0;n<e.length;n++)t.push(new ee.asn1.cms.RevocationInfoChoice(e[n]));return ee.asn1.ASN1Util.newObject({tag:{tagi:"a1",obj:{set:t}}}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.RevocationInfoChoices,ee.asn1.ASN1Object),ee.asn1.cms.RevocationInfoChoice=function(e){ee.asn1.cms.RevocationInfoChoice.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params;if(void 0!=e.crl&&"string"==typeof e.crl){var t=e.crl;return-1!=e.crl.indexOf("-----BEGIN")&&(t=me(e.crl)),t}if(void 0!=e.ocsp)return ee.asn1.ASN1Util.newObject({tag:{tagi:"a1",obj:new ee.asn1.cms.OtherRevocationFormat(e)}}).tohex();throw new Error("property crl or ocsp undefined")},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.RevocationInfoChoice,ee.asn1.ASN1Object),ee.asn1.cms.OtherRevocationFormat=function(e){ee.asn1.cms.OtherRevocationFormat.superclass.constructor.call(this);var t=Error,n=ee,r=n.asn1.ASN1Util.newObject,i=n.lang.String.isHex;this.params=null,this.tohex=function(){var e=this.params;if(void 0==e.ocsp)throw new t("property ocsp not specified");if(!i(e.ocsp)||!re.isASN1HEX(e.ocsp))throw new t("ocsp value not ASN.1 hex string");return r({seq:[{oid:"1.3.6.1.5.5.7.16.2"},{asn1:{tlv:e.ocsp}}]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cms.OtherRevocationFormat,ee.asn1.ASN1Object),ee.asn1.cms.CMSUtil=new function(){},ee.asn1.cms.CMSUtil.newSignedData=function(e){return new ee.asn1.cms.SignedData(e)},ee.asn1.cms.CMSUtil.verifySignedData=function(e){var t=ee,n=t.asn1,r=n.cms,i=(r.SignerInfo,r.SignedData,r.SigningTime,r.SigningCertificate,r.SigningCertificateV2,n.cades.SignaturePolicyIdentifier,t.lang.String.isHex),o=re,a=o.getVbyList,s=o.getTLVbyList,u=o.getIdxbyList,c=o.getChildIdx,l=o.getTLV,f=o.oidname,h=t.crypto.Util.hashHex;void 0===e.cms&&i(e.cms);var d=e.cms,p=function(e,t){var n=t.idx;t.signerid_issuer1=s(e,n,[1,0],"30"),t.signerid_serial1=a(e,n,[1,1],"02"),t.hashalg=f(a(e,n,[2,0],"06"));var r=u(e,n,[3],"a0");t.idxSignedAttrs=r,g(e,t,r);var i=c(e,n).length;if(i<6)throw"malformed SignerInfo";t.sigalg=f(a(e,n,[i-2,0],"06")),t.sigval=a(e,n,[i-1],"04")},g=function(e,t,n){var r=c(e,n);t.signedAttrIdxList=r;for(var i=0;i<r.length;i++){var o,s=r[i],u=a(e,s,[0],"06");"2a864886f70d010905"===u?(o=fe(a(e,s,[1,0])),t.saSigningTime=o):"2a864886f70d010904"===u&&(o=a(e,s,[1,0],"04"),t.saMessageDigest=o)}},m=function(e,t,n,r){n.verifyDetail={};var i=n.verifyDetail,o=t.parse.econtent,a=n.hashalg,s=n.saMessageDigest;i.validMessageDigest=!1,h(o,a)===s&&(i.validMessageDigest=!0),function(e,t,n,r){var i,o=t.parse.certsIdx;if(void 0===t.certs){i=[],t.certkeys=[];for(var a=c(e,o),s=0;s<a.length;s++){var u=l(e,a[s]),f=new We;f.readCertHex(u),i[s]=f,t.certkeys[s]=f.getPublicKey()}t.certs=i}else i=t.certs;for(t.cccc=i.length,t.cccci=a.length,s=0;s<i.length;s++){var h=f.getIssuerHex(),d=f.getSerialNumberHex();n.signerid_issuer1===h&&n.signerid_serial1===d&&(n.certkey_idx=s)}}(e,t,n),i.validSignatureValue=!1;var u=n.sigalg,f="31"+l(e,n.idxSignedAttrs).substr(2);n.signedattrshex=f;var d=t.certs[n.certkey_idx].getPublicKey(),p=new ee.crypto.Signature({alg:u});p.init(d),p.updateHex(f);var g=p.verify(n.sigval);i.validSignatureValue_isValid=g,!0===g&&(i.validSignatureValue=!0),n.isValid=!1,i.validMessageDigest&&i.validSignatureValue&&(n.isValid=!0)},v={isValid:!1,parse:{}};return function(e,t){if("2a864886f70d010702"!==a(e,0,[0],"06"))return t;t.cmsType="signedData",t.econtent=a(e,0,[1,0,2,1,0]),function(e,t){for(var n,r=3;r<6;r++)if(void 0!==(n=u(e,0,[1,0,r]))){var i=e.substr(n,2);"a0"===i&&(t.certsIdx=n),"a1"===i&&(t.revinfosIdx=n),"31"===i&&(t.signerinfosIdx=n)}}(e,t),t.signerInfos=[],function(e,t){var n=t.signerinfosIdx;if(void 0!==n){var r=c(e,n);t.signerInfoIdxList=r;for(var i=0;i<r.length;i++){var o={idx:r[i]};p(e,o),t.signerInfos.push(o)}}}(e,t)}(d,v.parse),function(e,t){for(var n=t.parse.signerInfos,r=n.length,i=!0,o=0;o<r;o++){var a=n[o];m(e,t,a),a.isValid||(i=!1)}t.isValid=i}(d,v),v},ee.asn1.cms.CMSParser=function(){var e=Error,t=We,n=new t,r=re,i=r.getV,o=r.getTLV,a=(r.getIdxbyList,r.getTLVbyList),s=r.getTLVbyListEx,u=r.getVbyList,c=r.getVbyListEx,l=r.getChildIdx;this.getCMSSignedData=function(e){var t=a(e,0,[1,0]);return this.getSignedData(t)},this.getSignedData=function(e){var t=l(e,0),n={},r=i(e,t[0]),a=parseInt(r,16);n.version=a;var u=o(e,t[1]);n.hashalgs=this.getHashAlgArray(u);var c=o(e,t[2]);n.econtent=this.getEContent(c);var f=s(e,0,["[0]"]);null!=f&&(n.certs=this.getCertificateSet(f)),s(e,0,["[1]"]);var h=s(e,0,[3]);return n.sinfos=this.getSignerInfos(h),n},this.getHashAlgArray=function(e){for(var n=l(e,0),r=new t,i=[],a=0;a<n.length;a++){var s=o(e,n[a]),u=r.getAlgorithmIdentifierName(s);i.push(u)}return i},this.getEContent=function(e){var t={},n=u(e,0,[0]),r=u(e,0,[1,0]);return t.type=ee.asn1.x509.OID.oid2name(re.hextooidstr(n)),t.content={hex:r},t},this.getSignerInfos=function(e){for(var t=[],n=l(e,0),r=0;r<n.length;r++){var i=o(e,n[r]),a=this.getSignerInfo(i);t.push(a)}return t},this.getSignerInfo=function(e){var t={},i=l(e,0),a=r.getInt(e,i[0],-1);-1!=a&&(t.version=a);var u=o(e,i[1]),f=this.getIssuerAndSerialNumber(u);t.id=f;var h=o(e,i[2]),d=n.getAlgorithmIdentifierName(h);t.hashalg=d;var p=s(e,0,["[0]"]);if(null!=p){var g=this.getAttributeList(p);t.sattrs=g}var m=s(e,0,[3]),v=n.getAlgorithmIdentifierName(m);t.sigalg=v;var E=c(e,0,[4]);t.sighex=E;var _=s(e,0,["[1]"]);if(null!=_){var y=this.getAttributeList(_);t.uattrs=y}return t},this.getSignerIdentifier=function(e){if("30"==e.substr(0,2))return this.getIssuerAndSerialNumber(e);throw new Error("SKID of signerIdentifier not supported")},this.getIssuerAndSerialNumber=function(e){var t={type:"isssn"},r=l(e,0),a=o(e,r[0]);t.issuer=n.getX500Name(a);var s=i(e,r[1]);return t.serial={hex:s},t},this.getAttributeList=function(e){for(var t=[],n=l(e,0),r=0;r<n.length;r++){var i=o(e,n[r]),a=this.getAttribute(i);t.push(a)}return{array:t}},this.getAttribute=function(e){var t={},n=l(e,0),i=r.getOID(e,n[0]),a=ee.asn1.x509.OID.oid2name(i);t.attr=a;var s=o(e,n[1]),u=l(s,0);if(1==u.length)t.valhex=o(s,u[0]);else{for(var c=[],f=0;f<u.length;f++)c.push(o(s,u[f]));t.valhex=c}return"contentType"==a?this.setContentType(t):"messageDigest"==a?this.setMessageDigest(t):"signingTime"==a?this.setSigningTime(t):"signingCertificate"==a?this.setSigningCertificate(t):"signingCertificateV2"==a?this.setSigningCertificateV2(t):"signaturePolicyIdentifier"==a&&this.setSignaturePolicyIdentifier(t),t},this.setContentType=function(e){var t=r.getOIDName(e.valhex,0,null);null!=t&&(e.type=t,delete e.valhex)},this.setSigningTime=function(e){var t=fe(i(e.valhex,0));e.str=t,delete e.valhex},this.setMessageDigest=function(e){var t=i(e.valhex,0);e.hex=t,delete e.valhex},this.setSigningCertificate=function(e){var t=l(e.valhex,0);if(t.length>0){for(var n=o(e.valhex,t[0]),r=l(n,0),i=[],a=0;a<r.length;a++){var s=o(n,r[a]),u=this.getESSCertID(s);i.push(u)}e.array=i}if(t.length>1){var c=o(e.valhex,t[1]);e.polhex=c}delete e.valhex},this.setSignaturePolicyIdentifier=function(e){var n=l(e.valhex,0);if(n.length>0){var a=r.getOID(e.valhex,n[0]);e.oid=a}if(n.length>1){var s=new t,u=l(e.valhex,n[1]),c=o(e.valhex,u[0]),f=s.getAlgorithmIdentifierName(c);e.alg=f;var h=i(e.valhex,u[1]);e.hash=h}delete e.valhex},this.setSigningCertificateV2=function(e){var t=l(e.valhex,0);if(t.length>0){for(var n=o(e.valhex,t[0]),r=l(n,0),i=[],a=0;a<r.length;a++){var s=o(n,r[a]),u=this.getESSCertIDv2(s);i.push(u)}e.array=i}if(t.length>1){var c=o(e.valhex,t[1]);e.polhex=c}delete e.valhex},this.getESSCertID=function(e){var t={},n=l(e,0);if(n.length>0){var r=i(e,n[0]);t.hash=r}if(n.length>1){var a=o(e,n[1]),s=this.getIssuerSerial(a);void 0!=s.serial&&(t.serial=s.serial),void 0!=s.issuer&&(t.issuer=s.issuer)}return t},this.getESSCertIDv2=function(t){var r={},a=l(t,0);if(a.length<1||3<a.length)throw new e("wrong number of elements");var s=0;if("30"==t.substr(a[0],2)){var u=o(t,a[0]);r.alg=n.getAlgorithmIdentifierName(u),s++}else r.alg="sha256";var c=i(t,a[s]);if(r.hash=c,a.length>s+1){var f=o(t,a[s+1]),h=this.getIssuerSerial(f);r.issuer=h.issuer,r.serial=h.serial}return r},this.getIssuerSerial=function(e){var t={},r=l(e,0),a=o(e,r[0]),s=n.getGeneralNames(a)[0].dn;t.issuer=s;var u=i(e,r[1]);return t.serial={hex:u},t},this.getCertificateSet=function(e){for(var t=l(e,0),n=[],r=0;r<t.length;r++){var i=o(e,t[r]);if("30"==i.substr(0,2)){var a=ge(i,"CERTIFICATE");n.push(a)}}return{array:n,sortflag:!1}}},"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.asn1&&ee.asn1||(ee.asn1={}),"undefined"!=typeof ee.asn1.tsp&&ee.asn1.tsp||(ee.asn1.tsp={}),ee.asn1.tsp.TimeStampToken=function(e){var t=ee.asn1.tsp;t.TimeStampToken.superclass.constructor.call(this),this.params=null,this.getEncodedHexPrepare=function(){var e=new t.TSTInfo(this.params.econtent.content);this.params.econtent.content.hex=e.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.tsp.TimeStampToken,ee.asn1.cms.SignedData),ee.asn1.tsp.TSTInfo=function(e){Error;var t=ee.asn1,n=t.DERSequence,r=t.DERInteger,i=t.DERBoolean,o=t.DERGeneralizedTime,a=t.DERObjectIdentifier,s=t.DERTaggedObject,u=t.tsp,c=u.MessageImprint,l=u.Accuracy,f=(t.x509.X500Name,t.x509.GeneralName);if(u.TSTInfo.superclass.constructor.call(this),this.dVersion=new r({int:1}),this.dPolicy=null,this.dMessageImprint=null,this.dSerial=null,this.dGenTime=null,this.dAccuracy=null,this.dOrdering=null,this.dNonce=null,this.dTsa=null,this.tohex=function(){var e=[this.dVersion];if(null==this.dPolicy)throw new Error("policy shall be specified.");if(e.push(this.dPolicy),null==this.dMessageImprint)throw new Error("messageImprint shall be specified.");if(e.push(this.dMessageImprint),null==this.dSerial)throw new Error("serialNumber shall be specified.");if(e.push(this.dSerial),null==this.dGenTime)throw new Error("genTime shall be specified.");e.push(this.dGenTime),null!=this.dAccuracy&&e.push(this.dAccuracy),null!=this.dOrdering&&e.push(this.dOrdering),null!=this.dNonce&&e.push(this.dNonce),null!=this.dTsa&&e.push(this.dTsa);var t=new n({array:e});return this.hTLV=t.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e){if("string"==typeof e.policy){if(!e.policy.match(/^[0-9.]+$/))throw"policy shall be oid like 0.1.4.134";this.dPolicy=new a({oid:e.policy})}void 0!==e.messageImprint&&(this.dMessageImprint=new c(e.messageImprint)),void 0!==e.serial&&(this.dSerial=new r(e.serial)),void 0!==e.genTime&&(this.dGenTime=new o(e.genTime)),void 0!==e.accuracy&&(this.dAccuracy=new l(e.accuracy)),void 0!==e.ordering&&1==e.ordering&&(this.dOrdering=new i),void 0!==e.nonce&&(this.dNonce=new r(e.nonce)),void 0!==e.tsa&&(this.dTsa=new s({tag:"a0",explicit:!0,obj:new f({dn:e.tsa})}))}},Me(ee.asn1.tsp.TSTInfo,ee.asn1.ASN1Object),ee.asn1.tsp.Accuracy=function(e){var t=ee.asn1,n=t.ASN1Util.newObject;t.tsp.Accuracy.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params,t=[];return void 0!=e.seconds&&"number"==typeof e.seconds&&t.push({int:e.seconds}),void 0!=e.millis&&"number"==typeof e.millis&&t.push({tag:{tagi:"80",obj:{int:e.millis}}}),void 0!=e.micros&&"number"==typeof e.micros&&t.push({tag:{tagi:"81",obj:{int:e.micros}}}),n({seq:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.tsp.Accuracy,ee.asn1.ASN1Object),ee.asn1.tsp.MessageImprint=function(e){var t=ee.asn1,n=t.DERSequence,r=t.DEROctetString,i=t.x509.AlgorithmIdentifier;t.tsp.MessageImprint.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params,t=new i({name:e.alg}),o=new r({hex:e.hash});return new n({array:[t,o]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.tsp.MessageImprint,ee.asn1.ASN1Object),ee.asn1.tsp.TimeStampReq=function(e){var t=ee.asn1,n=t.DERSequence,r=t.DERInteger,i=t.DERBoolean,o=(t.ASN1Object,t.DERObjectIdentifier),a=t.tsp,s=a.MessageImprint;a.TimeStampReq.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params,t=[];return t.push(new r({int:1})),e.messageImprint instanceof ee.asn1.ASN1Object?t.push(e.messageImprint):t.push(new s(e.messageImprint)),void 0!=e.policy&&t.push(new o(e.policy)),void 0!=e.nonce&&t.push(new r(e.nonce)),1==e.certreq&&t.push(new i),new n({array:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.tsp.TimeStampReq,ee.asn1.ASN1Object),ee.asn1.tsp.TimeStampResp=function(e){var t=ee.asn1,n=t.DERSequence,r=(t.ASN1Object,t.tsp),i=r.PKIStatusInfo;r.TimeStampResp.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params,o=[];if(void 0!=e.econtent||void 0!=e.tst)if(void 0!=e.statusinfo?o.push(new i(e.statusinfo)):o.push(new i("granted")),void 0!=e.econtent)o.push(new r.TimeStampToken(e).getContentInfo());else{if(!(e.tst instanceof t.ASN1Object))throw new Error("improper member tst value");o.push(e.tst)}else{if(void 0==e.statusinfo)throw new Error("parameter for token nor statusinfo not specified");o.push(new i(e.statusinfo))}return new n({array:o}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.tsp.TimeStampResp,ee.asn1.ASN1Object),ee.asn1.tsp.PKIStatusInfo=function(e){var t=Error,n=ee.asn1,r=n.DERSequence,i=n.tsp,o=i.PKIStatus,a=i.PKIFreeText,s=i.PKIFailureInfo;i.PKIStatusInfo.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params,n=[];if("string"==typeof e)n.push(new o(e));else{if(void 0==e.status)throw new t("property 'status' unspecified");n.push(new o(e.status)),void 0!=e.statusstr&&n.push(new a(e.statusstr)),void 0!=e.failinfo&&n.push(new s(e.failinfo))}return new r({array:n}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.tsp.PKIStatusInfo,ee.asn1.ASN1Object),ee.asn1.tsp.PKIStatus=function(e){var t=Error,n=ee.asn1,r=n.DERInteger;n.tsp.PKIStatus.superclass.constructor.call(this);var i={granted:0,grantedWithMods:1,rejection:2,waiting:3,revocationWarning:4,revocationNotification:5};this.params=null,this.tohex=function(){var e,n=this.params;if("string"==typeof n)try{e=i[n]}catch(o){throw new t("undefined name: "+n)}else{if("number"!=typeof n)throw new t("unsupported params");e=n}return new r({int:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.tsp.PKIStatus,ee.asn1.ASN1Object),ee.asn1.tsp.PKIFreeText=function(e){var t=Error,n=ee.asn1,r=n.DERSequence,i=n.DERUTF8String;n.tsp.PKIFreeText.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params;if(!e instanceof Array)throw new t("wrong params: not array");for(var n=[],o=0;o<e.length;o++)n.push(new i({str:e[o]}));return new r({array:n}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.tsp.PKIFreeText,ee.asn1.ASN1Object),ee.asn1.tsp.PKIFailureInfo=function(e){var t=Error,n=ee.asn1,r=n.DERBitString,i=n.tsp.PKIFailureInfo,o={badAlg:0,badRequest:2,badDataFormat:5,timeNotAvailable:14,unacceptedPolicy:15,unacceptedExtension:16,addInfoNotAvailable:17,systemFailure:25};i.superclass.constructor.call(this),this.params=null,this.getBinValue=function(){var e=this.params,n=0;if("number"==typeof e&&0<=e&&e<=25){for(var r=(n|=1<<e).toString(2),i="",a=r.length-1;a>=0;a--)i+=r[a];return i}if("string"==typeof e&&void 0!=o[e])return Be([e],o);if("object"==b(e)&&void 0!=e.length)return Be(e,o);throw new t("wrong params")},this.tohex=function(){this.params;var e=this.getBinValue();return new r({bin:e}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.tsp.PKIFailureInfo,ee.asn1.ASN1Object),ee.asn1.tsp.AbstractTSAAdapter=function(e){this.getTSTHex=function(e,t){throw"not implemented yet"}},ee.asn1.tsp.SimpleTSAAdapter=function(e){var t=ee,n=t.asn1.tsp,r=t.crypto.Util.hashHex;n.SimpleTSAAdapter.superclass.constructor.call(this),this.params=null,this.serial=0,this.getTSTHex=function(e,t){var i=r(e,t);this.params.econtent.content.messageImprint={alg:t,hash:i},this.params.econtent.content.serial={int:this.serial++};var o=Math.floor(1e9*Math.random());return this.params.econtent.content.nonce={int:o},new n.TimeStampToken(this.params).getContentInfoEncodedHex()},void 0!==e&&(this.params=e)},Me(ee.asn1.tsp.SimpleTSAAdapter,ee.asn1.tsp.AbstractTSAAdapter),ee.asn1.tsp.FixedTSAAdapter=function(e){var t=ee,n=t.asn1.tsp,r=t.crypto.Util.hashHex;n.FixedTSAAdapter.superclass.constructor.call(this),this.params=null,this.getTSTHex=function(e,t){var i=r(e,t);return this.params.econtent.content.messageImprint={alg:t,hash:i},new n.TimeStampToken(this.params).getContentInfoEncodedHex()},void 0!==e&&(this.params=e)},Me(ee.asn1.tsp.FixedTSAAdapter,ee.asn1.tsp.AbstractTSAAdapter),ee.asn1.tsp.TSPUtil=new function(){},ee.asn1.tsp.TSPUtil.newTimeStampToken=function(e){return new ee.asn1.tsp.TimeStampToken(e)},ee.asn1.tsp.TSPUtil.parseTimeStampReq=function(e){return(new ee.asn1.tsp.TSPParser).getTimeStampReq(e)},ee.asn1.tsp.TSPUtil.parseMessageImprint=function(e){return(new ee.asn1.tsp.TSPParser).getMessageImprint(e)},ee.asn1.tsp.TSPParser=function(){Error;var e=new We,t=re,n=t.getV,r=t.getTLV,i=t.getIdxbyList,o=(t.getTLVbyListEx,t.getChildIdx),a=["granted","grantedWithMods","rejection","waiting","revocationWarning","revocationNotification"],s={0:"badAlg",2:"badRequest",5:"badDataFormat",14:"timeNotAvailable",15:"unacceptedPolicy",16:"unacceptedExtension",17:"addInfoNotAvailable",25:"systemFailure"};this.getResponse=function(e){var t=o(e,0);if(1==t.length)return this.getPKIStatusInfo(r(e,t[0]));if(t.length>1){var n=this.getPKIStatusInfo(r(e,t[0])),i=r(e,t[1]),a=this.getToken(i);return a.statusinfo=n,a}},this.getToken=function(e){var t=(new ee.asn1.cms.CMSParser).getCMSSignedData(e);return this.setTSTInfo(t),t},this.setTSTInfo=function(e){var t=e.econtent;if("tstinfo"==t.type){var n=t.content.hex,r=this.getTSTInfo(n);t.content=r}},this.getTSTInfo=function(t){var i={},a=o(t,0),s=n(t,a[1]);i.policy=Fe(s);var u=r(t,a[2]);i.messageImprint=this.getMessageImprint(u);var c=n(t,a[3]);i.serial={hex:c};var l=n(t,a[4]);i.genTime={str:fe(l)};var f=0;if(a.length>5&&"30"==t.substr(a[5],2)){var h=r(t,a[5]);i.accuracy=this.getAccuracy(h),f++}if(a.length>5+f&&"01"==t.substr(a[5+f],2)&&("ff"==n(t,a[5+f])&&(i.ordering=!0),f++),a.length>5+f&&"02"==t.substr(a[5+f],2)){var d=n(t,a[5+f]);i.nonce={hex:d},f++}if(a.length>5+f&&"a0"==t.substr(a[5+f],2)){var p=r(t,a[5+f]);p="30"+p.substr(2),pGeneralNames=e.getGeneralNames(p);var g=pGeneralNames[0].dn;i.tsa=g,f++}if(a.length>5+f&&"a1"==t.substr(a[5+f],2)){var m=r(t,a[5+f]);m="30"+m.substr(2);var v=e.getExtParamArray(m);i.ext=v,f++}return i},this.getAccuracy=function(e){for(var t={},r=o(e,0),i=0;i<r.length;i++){var a=e.substr(r[i],2),s=n(e,r[i]),u=parseInt(s,16);"02"==a?t.seconds=u:"80"==a?t.millis=u:"81"==a&&(t.micros=u)}return t},this.getMessageImprint=function(e){if("30"!=e.substr(0,2))throw new Error("head of messageImprint hex shall be x30");var r={},a=(o(e,0),i(e,0,[0,0])),s=n(e,a),u=t.hextooidstr(s),c=ee.asn1.x509.OID.oid2name(u);if(""==c)throw new Error("hashAlg name undefined: "+u);var l=c,f=i(e,0,[1]);return r.alg=l,r.hash=n(e,f),r},this.getPKIStatusInfo=function(e){var t={},i=o(e,0),s=0;try{var u=n(e,i[0]),c=parseInt(u,16);t.status=a[c]}catch(h){}if(i.length>1&&"30"==e.substr(i[1],2)){var l=r(e,i[1]);t.statusstr=this.getPKIFreeText(l),s++}if(i.length>s&&"03"==e.substr(i[1+s],2)){var f=r(e,i[1+s]);t.failinfo=this.getPKIFailureInfo(f)}return t},this.getPKIFreeText=function(e){for(var n=[],r=o(e,0),i=0;i<r.length;i++)n.push(t.getString(e,r[i]));return n},this.getPKIFailureInfo=function(e){var n=t.getInt(e,0);return void 0!=s[n]?s[n]:n},this.getTimeStampReq=function(e){var i={certreq:!1},a=o(e,0);if(a.length<2)throw new Error("TimeStampReq must have at least 2 items");var s=r(e,a[1]);i.messageImprint=ee.asn1.tsp.TSPUtil.parseMessageImprint(s);for(var u=2;u<a.length;u++){var c=a[u],l=e.substr(c,2);if("06"==l){var f=n(e,c);i.policy=t.hextooidstr(f)}"02"==l&&(i.nonce=n(e,c)),"01"==l&&(i.certreq=!0)}return i}},"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.asn1&&ee.asn1||(ee.asn1={}),"undefined"!=typeof ee.asn1.cades&&ee.asn1.cades||(ee.asn1.cades={}),ee.asn1.cades.SignaturePolicyIdentifier=function(e){var t=ee.asn1.cades,n=t.SignaturePolicyId;t.SignaturePolicyIdentifier.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.15",this.params=null,this.getValueArray=function(){return[new n(this.params)]},this.setByParam=function(e){this.params=e},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cades.SignaturePolicyIdentifier,ee.asn1.cms.Attribute),ee.asn1.cades.SignaturePolicyId=function(e){var t=ee.asn1,n=t.DERSequence,r=t.DERObjectIdentifier,i=(t.x509.AlgorithmIdentifier,t.cades),o=i.SignaturePolicyId,a=i.OtherHashAlgAndValue;o.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params,t=[];return t.push(new r(e.oid)),t.push(new a(e)),new n({array:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(e){this.params=e},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cades.SignaturePolicyId,ee.asn1.ASN1Object),ee.asn1.cades.OtherHashAlgAndValue=function(e){var t=Error,n=ee.asn1,r=n.DERSequence,i=n.DEROctetString,o=n.x509.AlgorithmIdentifier;n.cades.OtherHashAlgAndValue.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params;if(void 0==e.alg)throw new t("property 'alg' not specified");if(void 0==e.hash&&void 0==e.cert)throw new t("property 'hash' nor 'cert' not specified");var n=null;if(void 0!=e.hash)n=e.hash;else if(void 0!=e.cert){if("string"!=typeof e.cert)throw new t("cert not string");var a=e.cert;-1!=e.cert.indexOf("-----BEGIN")&&(a=me(e.cert)),n=ee.crypto.Util.hashHex(a,e.alg)}var s=[];return s.push(new o({name:e.alg})),s.push(new i({hex:n})),new r({array:s}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cades.OtherHashAlgAndValue,ee.asn1.ASN1Object),ee.asn1.cades.OtherHashValue=function(e){ee.asn1.cades.OtherHashValue.superclass.constructor.call(this);var t=Error,n=ee,r=(n.lang.String.isHex,n.asn1.DEROctetString);n.crypto.Util.hashHex,this.params=null,this.tohex=function(){var e=this.params;if(void 0==e.hash&&void 0==e.cert)throw new t("hash or cert not specified");var n=null;if(void 0!=e.hash)n=e.hash;else if(void 0!=e.cert){if("string"!=typeof e.cert)throw new t("cert not string");var i=e.cert;-1!=e.cert.indexOf("-----BEGIN")&&(i=me(e.cert)),n=ee.crypto.Util.hashHex(i,"sha1")}return new r({hex:n}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cades.OtherHashValue,ee.asn1.ASN1Object),ee.asn1.cades.SignatureTimeStamp=function(e){var t=Error,n=ee,r=n.lang.String.isHex,i=n.asn1,o=i.ASN1Object;i.x509,i.cades.SignatureTimeStamp.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.14",this.params=null,this.getValueArray=function(){var e=this.params;if(void 0!=e.tst){if(r(e.tst))return(n=new o).hTLV=e.tst,[n];if(e.tst instanceof o)return[e.tst];throw new t("params.tst has wrong value")}if(void 0!=e.res){var n,i=e.res;if(i instanceof o&&(i=i.tohex()),"string"!=typeof i||!r(i))throw new t("params.res has wrong value");return re.getTLVbyList(i,0,[1]),(n=new o).hTLV=e.tst,[n]}},null!=e&&this.setByParam(e)},Me(ee.asn1.cades.SignatureTimeStamp,ee.asn1.cms.Attribute),ee.asn1.cades.CompleteCertificateRefs=function(e){var t=Error,n=ee,r=n.asn1,i=r.DERSequence,o=r.cades,a=o.OtherCertID,s=n.lang.String.isHex;o.CompleteCertificateRefs.superclass.constructor.call(this),this.typeOid="1.2.840.113549.1.9.16.2.21",this.params=null,this.getValueArray=function(){for(var e=this.params,n=[],r=0;r<e.array.length;r++){var o=e.array[r];if("string"==typeof o)if(-1!=o.indexOf("-----BEGIN"))o={cert:o};else{if(!s(o))throw new t("unsupported value: "+o);o={hash:o}}void 0!=e.alg&&void 0==o.alg&&(o.alg=e.alg),void 0!=e.hasis&&void 0==o.hasis&&(o.hasis=e.hasis);var u=new a(o);n.push(u)}return[new i({array:n})]},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cades.CompleteCertificateRefs,ee.asn1.cms.Attribute),ee.asn1.cades.OtherCertID=function(e){var t=ee.asn1,n=t.DERSequence,r=t.cms.IssuerSerial,i=t.cades,o=i.OtherHashValue,a=i.OtherHashAlgAndValue;i.OtherCertID.superclass.constructor.call(this),this.params=e,this.tohex=function(){var e=this.params;"string"==typeof e&&(-1!=e.indexOf("-----BEGIN")?e={cert:e}:_isHex(e)&&(e={hash:e}));var t,i=[];if(t=void 0!=e.alg?new a(e):new o(e),i.push(t),void 0!=e.cert&&1==e.hasis||void 0!=e.issuer&&void 0!=e.serial){var s=new r(e);i.push(s)}return new n({array:i}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cades.OtherCertID,ee.asn1.ASN1Object),ee.asn1.cades.OtherHash=function(e){Error;var t=ee,n=t.asn1,r=(n.cms,n.cades),i=r.OtherHashAlgAndValue,o=r.OtherHashValue,a=(t.crypto.Util.hashHex,t.lang.String.isHex);r.OtherHash.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params;return"string"==typeof e&&(-1!=e.indexOf("-----BEGIN")?e={cert:e}:a(e)&&(e={hash:e})),(void 0!=e.alg?new i(e):new o(e)).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.cades.OtherHash,ee.asn1.ASN1Object),ee.asn1.cades.CAdESUtil=new function(){},ee.asn1.cades.CAdESUtil.parseSignedDataForAddingUnsigned=function(e){return(new ee.asn1.cms.CMSParser).getCMSSignedData(e)},ee.asn1.cades.CAdESUtil.parseSignerInfoForAddingUnsigned=function(e,t,n){var r=re,i=r.getChildIdx,o=r.getTLV,a=r.getV,s=ee.asn1,u=s.ASN1Object,c=s.cms,l=c.AttributeList,f=c.SignerInfo,h={},d=i(e,t);if(6!=d.length)throw"not supported items for SignerInfo (!=6)";var p=d.shift();h.version=o(e,p);var g=d.shift();h.si=o(e,g);var m=d.shift();h.digalg=o(e,m);var v=d.shift();h.sattrs=o(e,v);var E=d.shift();h.sigalg=o(e,E);var _=d.shift();h.sig=o(e,_),h.sigval=a(e,_);var y=null;return h.obj=new f,(y=new u).hTLV=h.version,h.obj.dCMSVersion=y,(y=new u).hTLV=h.si,h.obj.dSignerIdentifier=y,(y=new u).hTLV=h.digalg,h.obj.dDigestAlgorithm=y,(y=new u).hTLV=h.sattrs,h.obj.dSignedAttrs=y,(y=new u).hTLV=h.sigalg,h.obj.dSigAlg=y,(y=new u).hTLV=h.sig,h.obj.dSig=y,h.obj.dUnsignedAttrs=new l,h},"undefined"!=typeof ee.asn1.csr&&ee.asn1.csr||(ee.asn1.csr={}),ee.asn1.csr.CertificationRequest=function(e){var t=ee.asn1,n=t.DERBitString,r=t.DERSequence,i=t.csr,o=(t.x509,i.CertificationRequestInfo);i.CertificationRequest.superclass.constructor.call(this),this.setByParam=function(e){this.params=e},this.sign=function(){var e=new o(this.params).tohex(),t=new ee.crypto.Signature({alg:this.params.sigalg});t.init(this.params.sbjprvkey),t.updateHex(e);var n=t.sign();this.params.sighex=n},this.getPEM=function(){return ge(this.tohex(),"CERTIFICATE REQUEST")},this.tohex=function(){var e=this.params,t=new ee.asn1.csr.CertificationRequestInfo(this.params),i=new ee.asn1.x509.AlgorithmIdentifier({name:e.sigalg});if(void 0==e.sighex&&void 0!=e.sbjprvkey&&this.sign(),void 0==e.sighex)throw new Error("sighex or sbjprvkey parameter not defined");var o=new n({hex:"00"+e.sighex});return new r({array:[t,i,o]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.csr.CertificationRequest,ee.asn1.ASN1Object),ee.asn1.csr.CertificationRequestInfo=function(e){var t=ee.asn1,n=(t.DERBitString,t.DERSequence),r=t.DERInteger,i=t.DERUTF8String,o=t.DERTaggedObject,a=t.ASN1Util.newObject,s=t.csr,u=t.x509,c=u.X500Name,l=u.Extensions,f=u.SubjectPublicKeyInfo;s.AttributeList,s.CertificationRequestInfo.superclass.constructor.call(this),this.params=null,this.setByParam=function(e){void 0!=e&&(this.params=e)},this.tohex=function(){var e=this.params,t=[];if(t.push(new r({int:0})),t.push(new c(e.subject)),t.push(new f(He.getKey(e.sbjpubkey))),void 0!=e.attrs){var s=function(e){for(var t=Error,n=ee.asn1.x509.Extensions,r=[],i=0;i<e.length;i++){var o=e[i],a=o.attr;if("extensionRequest"==a){var s={seq:[{oid:"1.2.840.113549.1.9.14"},{set:[new n(o.ext)]}]};r.push(s)}else if("unstructuredName"==a)s={seq:[{oid:"1.2.840.113549.1.9.2"},{set:o.names}]},r.push(s);else{if("challengePassword"!=a)throw new t("unknown CSR attribute");s={seq:[{oid:"1.2.840.113549.1.9.7"},{set:[{utf8str:o.password}]}]},r.push(s)}}return{set:r}}(e.attrs),u=a({tag:{tage:"a0",obj:s}});t.push(u)}else if(void 0!=e.extreq){var h=new l(e.extreq);u=a({tag:{tage:"a0",obj:{seq:[{oid:"1.2.840.113549.1.9.14"},{set:[h]}]}}}),t.push(u)}else t.push(new o({tag:"a0",explicit:!1,obj:new i({str:""})}));return new n({array:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!=e&&this.setByParam(e)},Me(ee.asn1.csr.CertificationRequestInfo,ee.asn1.ASN1Object),ee.asn1.csr.AttributeList=function(e){},Me(ee.asn1.csr.AttributeList,ee.asn1.ASN1Object),ee.asn1.csr.CSRUtil=new function(){},ee.asn1.csr.CSRUtil.newCSRPEM=function(e){return new ee.asn1.csr.CertificationRequest(e).getPEM()},ee.asn1.csr.CSRUtil.getParam=function(e,t){var n=re,r=n.getV,i=n.getIdxbyList,o=n.getTLVbyList,a=n.getTLVbyListEx,s=n.getVbyListEx,u={};if(-1==e.indexOf("-----BEGIN CERTIFICATE REQUEST"))throw new Error("argument is not PEM file");var c=me(e,"CERTIFICATE REQUEST");t&&(u.tbs=o(c,0,[0]));try{var l=a(c,0,[0,1]);if("3000"==l)u.subject={};else{var f=new We;u.subject=f.getX500Name(l)}}catch(m){}var h=a(c,0,[0,2]),d=He.getKey(h,null,"pkcs8pub");u.sbjpubkey=He.getPEM(d,"PKCS8PUB");var p=function(e){var t=i(e,0,[0,3,0,0],"06");return"2a864886f70d01090e"!=r(e,t)?null:o(e,0,[0,3,0,1,0],"30")}(c);f=new We,null!=p&&(u.extreq=f.getExtParamArray(p));try{var g=a(c,0,[1],"30");f=new We,u.sigalg=f.getAlgorithmIdentifierName(g)}catch(m){}try{var v=s(c,0,[2]);u.sighex=v}catch(m){}return u},ee.asn1.csr.CSRUtil.verifySignature=function(e){try{var t=null;if("string"==typeof e&&-1!=e.indexOf("-----BEGIN CERTIFICATE REQUEST")?t=ee.asn1.csr.CSRUtil.getParam(e,!0):"object"==b(e)&&void 0!=e.sbjpubkey&&void 0!=e.sigalg&&void 0!=e.sighex&&void 0!=e.tbs&&(t=e),null==t)return!1;var n=new ee.crypto.Signature({alg:t.sigalg});return n.init(t.sbjpubkey),n.updateHex(t.tbs),n.verify(t.sighex)}catch(r){return alert(r),!1}},"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.asn1&&ee.asn1||(ee.asn1={}),"undefined"!=typeof ee.asn1.ocsp&&ee.asn1.ocsp||(ee.asn1.ocsp={}),ee.asn1.ocsp.DEFAULT_HASH="sha1",ee.asn1.ocsp.OCSPResponse=function(e){ee.asn1.ocsp.OCSPResponse.superclass.constructor.call(this),ee.asn1.DEREnumerated;var t=ee.asn1.ASN1Util.newObject,n=ee.asn1.ocsp.ResponseBytes,r=["successful","malformedRequest","internalError","tryLater","_not_used_","sigRequired","unauthorized"];this.params=null,this._getStatusCode=function(){var e=this.params.resstatus;return"number"==typeof e?e:"string"!=typeof e?-1:r.indexOf(e)},this.setByParam=function(e){this.params=e},this.tohex=function(){var e=this.params,r=this._getStatusCode();if(-1==r)throw new Error("responseStatus not supported: "+e.resstatus);if(0!=r)return t({seq:[{enum:{int:r}}]}).tohex();var i=new n(e);return t({seq:[{enum:{int:0}},{tag:{tag:"a0",explicit:!0,obj:i}}]}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.ocsp.OCSPResponse,ee.asn1.ASN1Object),ee.asn1.ocsp.ResponseBytes=function(e){ee.asn1.ocsp.ResponseBytes.superclass.constructor.call(this);var t=ee.asn1,n=t.DERSequence,r=t.DERObjectIdentifier,i=t.DEROctetString,o=t.ocsp.BasicOCSPResponse;this.params=null,this.setByParam=function(e){this.params=e},this.tohex=function(){var e=this.params;if("ocspBasic"!=e.restype)throw new Error("not supported responseType: "+e.restype);var t=new o(e),a=[];return a.push(new r({name:"ocspBasic"})),a.push(new i({hex:t.tohex()})),new n({array:a}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.ocsp.ResponseBytes,ee.asn1.ASN1Object),ee.asn1.ocsp.BasicOCSPResponse=function(e){ee.asn1.ocsp.BasicOCSPResponse.superclass.constructor.call(this);var t=Error,n=ee.asn1,r=n.ASN1Object,i=n.DERSequence,o=(n.DERGeneralizedTime,n.DERTaggedObject),a=n.DERBitString,s=(n.x509.Extensions,n.x509.AlgorithmIdentifier),u=n.ocsp;u.ResponderID,_SingleResponseList=u.SingleResponseList,_ResponseData=u.ResponseData,this.params=null,this.setByParam=function(e){this.params=e},this.sign=function(){var e=this.params,t=e.tbsresp.tohex(),n=new ee.crypto.Signature({alg:e.sigalg});n.init(e.reskey),n.updateHex(t),e.sighex=n.sign()},this.tohex=function(){var e=this.params;void 0==e.tbsresp&&(e.tbsresp=new _ResponseData(e)),void 0==e.sighex&&void 0!=e.reskey&&this.sign();var n=[];if(n.push(e.tbsresp),n.push(new s({name:e.sigalg})),n.push(new a({hex:"00"+e.sighex})),void 0!=e.certs&&void 0!=e.certs.length){for(var u=[],c=0;c<e.certs.length;c++){var l=e.certs[c],f=null;if(re.isASN1HEX(l))f=l;else{if(!l.match(/-----BEGIN/))throw new t("certs["+c+"] not hex or PEM");f=me(l)}u.push(new r({tlv:f}))}var h=new i({array:u});n.push(new o({tag:"a0",explicit:!0,obj:h}))}return new i({array:n}).tohex()},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.ocsp.BasicOCSPResponse,ee.asn1.ASN1Object),ee.asn1.ocsp.ResponseData=function(e){ee.asn1.ocsp.ResponseData.superclass.constructor.call(this);var t=Error,n=ee.asn1,r=n.DERSequence,i=n.DERGeneralizedTime,o=n.DERTaggedObject,a=n.x509.Extensions,s=n.ocsp,u=s.ResponderID;_SingleResponseList=s.SingleResponseList,this.params=null,this.tohex=function(){var e=this.params;void 0!=e.respid&&new t("respid not specified"),void 0!=e.prodat&&new t("prodat not specified"),void 0!=e.array&&new t("array not specified");var n=[];if(n.push(new u(e.respid)),n.push(new i(e.prodat)),n.push(new _SingleResponseList(e.array)),void 0!=e.ext){var s=new a(e.ext);n.push(new o({tag:"a1",explicit:!0,obj:s}))}return new r({array:n}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(e){this.params=e},void 0!==e&&this.setByParam(e)},Me(ee.asn1.ocsp.ResponseData,ee.asn1.ASN1Object),ee.asn1.ocsp.ResponderID=function(e){ee.asn1.ocsp.ResponderID.superclass.constructor.call(this);var t=ee,n=t.asn1,r=n.ASN1Util.newObject,i=n.x509.X500Name,o=t.lang.String.isHex,a=Error;this.params=null,this.tohex=function(){var e=this.params;if(void 0!=e.key){var t,n=null;if("string"==typeof e.key?(o(e.key)&&(n=e.key),e.key.match(/-----BEGIN CERTIFICATE/)&&null!=(t=new We(e.key).getExtSubjectKeyIdentifier())&&(n=t.kid.hex)):e.key instanceof We&&null!=(t=e.key.getExtSubjectKeyIdentifier())&&(n=t.kid.hex),null==n)throw new a("wrong key member value");return r({tag:{tag:"a2",explicit:!0,obj:{octstr:{hex:n}}}}).tohex()}if(void 0!=e.name){var s=null;if("string"==typeof e.name&&e.name.match(/-----BEGIN CERTIFICATE/)?s=new We(e.name).getSubject():e.name instanceof We?s=e.name.getSubject():"object"!=b(e.name)||void 0==e.name.array&&void 0==e.name.str||(s=e.name),null==s)throw new a("wrong name member value");return r({tag:{tag:"a1",explicit:!0,obj:new i(s)}}).tohex()}throw new a("key or name not specified")},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(e){this.params=e},void 0!==e&&this.setByParam(e)},Me(ee.asn1.ocsp.ResponderID,ee.asn1.ASN1Object),ee.asn1.ocsp.SingleResponseList=function(e){ee.asn1.ocsp.SingleResponseList.superclass.constructor.call(this);var t=ee.asn1,n=t.DERSequence,r=t.ocsp.SingleResponse;this.params=null,this.tohex=function(){var e=this.params;if("object"!=b(e)||void 0==e.length)throw new Error("params not specified properly");for(var t=[],i=0;i<e.length;i++)t.push(new r(e[i]));return new n({array:t}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(e){this.params=e},void 0!==e&&this.setByParam(e)},Me(ee.asn1.ocsp.SingleResponseList,ee.asn1.ASN1Object),ee.asn1.ocsp.SingleResponse=function(e){var t=Error,n=ee.asn1,r=n.DERSequence,i=n.DERGeneralizedTime,o=n.DERTaggedObject,a=n.ocsp,s=a.CertID,u=a.CertStatus,c=n.x509.Extensions;a.SingleResponse.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params,n=[];if(void 0==e.certid)throw new t("certid unspecified");if(void 0==e.status)throw new t("status unspecified");if(void 0==e.thisupdate)throw new t("thisupdate unspecified");if(n.push(new s(e.certid)),n.push(new u(e.status)),n.push(new i(e.thisupdate)),void 0!=e.nextupdate){var a=new i(e.nextupdate);n.push(new o({tag:"a0",explicit:!0,obj:a}))}if(void 0!=e.ext){var l=new c(e.ext);n.push(new o({tag:"a1",explicit:!0,obj:l}))}return new r({array:n}).tohex()},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(e){this.params=e},void 0!==e&&this.setByParam(e)},Me(ee.asn1.ocsp.SingleResponse,ee.asn1.ASN1Object),ee.asn1.ocsp.CertID=function(e){var t=ee,n=t.asn1,r=n.DEROctetString,i=n.DERInteger,o=n.DERSequence,a=n.x509.AlgorithmIdentifier,s=n.ocsp,u=(s.DEFAULT_HASH,t.crypto.Util.hashHex),c=We,l=re.getVbyList;s.CertID.superclass.constructor.call(this),this.DEFAULT_HASH="sha1",this.params=null,this.setByValue=function(e,t,n,r){void 0==r&&(r=this.DEFAULT_HASH),this.params={alg:r,issname:e,isskey:t,sbjsn:n}},this.setByCert=function(e,t,n){void 0==n&&(n=this.DEFAULT_HASH),this.params={alg:n,issuerCert:e,subjectCert:t}},this.getParamByCerts=function(e,t,n){void 0==n&&(n=this.DEFAULT_HASH);var r=new c(e),i=new c(t),o=u(r.getSubjectHex(),n),a=r.getPublicKeyHex();return{alg:n,issname:o,isskey:u(l(a,0,[1],"03",!0),n),sbjsn:i.getSerialNumberHex()}},this.tohex=function(){if("object"!=b(this.params))throw new Error("params not set");var e,t,n,s,u=this.params;if(s=void 0==u.alg?this.DEFAULT_HASH:u.alg,void 0!=u.issuerCert&&void 0!=u.subjectCert){var c=this.getParamByCerts(u.issuerCert,u.subjectCert,s);e=c.issname,t=c.isskey,n=c.sbjsn}else{if(void 0==u.issname||void 0==u.isskey||void 0==u.sbjsn)throw new Error("required param members not defined");e=u.issname,t=u.isskey,n=u.sbjsn}var l=new a({name:s}),f=new r({hex:e}),h=new r({hex:t}),d=new i({hex:n}),p=new o({array:[l,f,h,d]});return this.hTLV=p.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&this.setByParam(e)},Me(ee.asn1.ocsp.CertID,ee.asn1.ASN1Object),ee.asn1.ocsp.CertStatus=function(e){ee.asn1.ocsp.CertStatus.superclass.constructor.call(this),this.params=null,this.tohex=function(){var e=this.params;if("good"==e.status)return"8000";if("unknown"==e.status)return"8200";if("revoked"==e.status){var t=[{gentime:{str:e.time}}];void 0!=e.reason&&t.push({tag:{tag:"a0",explicit:!0,obj:{enum:{int:e.reason}}}});var n={tag:"a1",explicit:!1,obj:{seq:t}};return ee.asn1.ASN1Util.newObject({tag:n}).tohex()}throw new Error("bad status")},this.getEncodedHex=function(){return this.tohex()},this.setByParam=function(e){this.params=e},void 0!==e&&this.setByParam(e)},Me(ee.asn1.ocsp.CertStatus,ee.asn1.ASN1Object),ee.asn1.ocsp.Request=function(e){var t=ee.asn1,n=t.DERSequence,r=t.ocsp;if(r.Request.superclass.constructor.call(this),this.dReqCert=null,this.dExt=null,this.tohex=function(){var e=[];if(null===this.dReqCert)throw"reqCert not set";e.push(this.dReqCert);var t=new n({array:e});return this.hTLV=t.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},"undefined"!==typeof e){var i=new r.CertID(e);this.dReqCert=i}},Me(ee.asn1.ocsp.Request,ee.asn1.ASN1Object),ee.asn1.ocsp.TBSRequest=function(e){var t=ee.asn1,n=t.DERSequence,r=t.ocsp;r.TBSRequest.superclass.constructor.call(this),this.version=0,this.dRequestorName=null,this.dRequestList=[],this.dRequestExt=null,this.setRequestListByParam=function(e){for(var t=[],n=0;n<e.length;n++){var i=new r.Request(e[0]);t.push(i)}this.dRequestList=t},this.tohex=function(){var e=[];if(0!==this.version)throw"not supported version: "+this.version;if(null!==this.dRequestorName)throw"requestorName not supported";var t=new n({array:this.dRequestList});if(e.push(t),null!==this.dRequestExt)throw"requestExtensions not supported";var r=new n({array:e});return this.hTLV=r.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&void 0!==e.reqList&&this.setRequestListByParam(e.reqList)},Me(ee.asn1.ocsp.TBSRequest,ee.asn1.ASN1Object),ee.asn1.ocsp.OCSPRequest=function(e){var t=ee.asn1,n=t.DERSequence,r=t.ocsp;if(r.OCSPRequest.superclass.constructor.call(this),this.dTbsRequest=null,this.dOptionalSignature=null,this.tohex=function(){var e=[];if(null===this.dTbsRequest)throw"tbsRequest not set";if(e.push(this.dTbsRequest),null!==this.dOptionalSignature)throw"optionalSignature not supported";var t=new n({array:e});return this.hTLV=t.tohex(),this.hTLV},this.getEncodedHex=function(){return this.tohex()},void 0!==e&&void 0!==e.reqList){var i=new r.TBSRequest(e);this.dTbsRequest=i}},Me(ee.asn1.ocsp.OCSPRequest,ee.asn1.ASN1Object),ee.asn1.ocsp.OCSPUtil={},ee.asn1.ocsp.OCSPUtil.getRequestHex=function(e,t,n){var r=ee.asn1.ocsp;void 0===n&&(n=r.DEFAULT_HASH);var i={alg:n,issuerCert:e,subjectCert:t};return new r.OCSPRequest({reqList:[i]}).tohex()},ee.asn1.ocsp.OCSPUtil.getOCSPResponseInfo=function(e){var t=re,n=t.getVbyList,r=t.getVbyListEx,i=t.getIdxbyList,o=(t.getIdxbyListEx,t.getV),a={};try{var s=r(e,0,[0],"0a");a.responseStatus=parseInt(s,16)}catch(f){}if(0!==a.responseStatus)return a;try{var u=i(e,0,[1,0,1,0,0,2,0,1]);"80"===e.substr(u,2)?a.certStatus="good":"a1"===e.substr(u,2)?(a.certStatus="revoked",a.revocationTime=fe(n(e,u,[0]))):"82"===e.substr(u,2)&&(a.certStatus="unknown")}catch(f){}try{var c=i(e,0,[1,0,1,0,0,2,0,2]);a.thisUpdate=fe(o(e,c))}catch(f){}try{var l=i(e,0,[1,0,1,0,0,2,0,3]);"a0"===e.substr(l,2)&&(a.nextUpdate=fe(n(e,l,[0])))}catch(f){}return a},ee.asn1.ocsp.OCSPParser=function(){var e=Error,t=We,n=new t,r=re,i=r.getV,o=r.getTLV,a=r.getIdxbyList,s=r.getVbyList,u=r.getTLVbyList,c=r.getVbyListEx,l=r.getTLVbyListEx,f=r.getChildIdx;this.getOCSPRequest=function(t){var n=f(t,0);if(1!=n.length&&2!=n.length)throw new e("wrong number elements: "+n.length);return this.getTBSRequest(o(t,n[0]))},this.getTBSRequest=function(e){var t={},r=l(e,0,[0],"30");t.array=this.getRequestList(r);var i=l(e,0,["[2]",0],"30");return null!=i&&(t.ext=n.getExtParamArray(i)),t},this.getRequestList=function(e){for(var t=[],n=f(e,0),r=0;r<n.length;r++)e=o(e,n[r]),t.push(this.getRequest(e));return t},this.getRequest=function(t){var r=f(t,0);if(1!=r.length&&2!=r.length)throw new e("wrong number elements: "+r.length);var i=this.getCertID(o(t,r[0]));if(2==r.length){var s=a(t,0,[1,0]);i.ext=n.getExtParamArray(o(t,s))}return i},this.getCertID=function(n){var r=f(n,0);if(4!=r.length)throw new e("wrong number elements: "+r.length);var a=new t,s={};return s.alg=a.getAlgorithmIdentifierName(o(n,r[0])),s.issname=i(n,r[1]),s.isskey=i(n,r[2]),s.sbjsn=i(n,r[3]),s},this.getOCSPResponse=function(e){var t,n=f(e,0),r=i(e,n[0]),o=parseInt(r);if(1==n.length)return{resstatus:o};var a=u(e,0,[1,0]);return(t=this.getResponseBytes(a)).resstatus=o,t},this.getResponseBytes=function(e){var t,n=f(e,0),r=u(e,0,[1,0]);t=this.getBasicOCSPResponse(r);var o=i(e,n[0]);return t.restype=ee.asn1.x509.OID.oid2name(Fe(o)),t},this.getBasicOCSPResponse=function(e){var t,n=f(e,0);t=this.getResponseData(o(e,n[0]));var r=new We;t.alg=r.getAlgorithmIdentifierName(o(e,n[1]));var a=i(e,n[2]);t.sighex=a.substr(2);var s=c(e,0,["[0]"]);if(null!=s){for(var u=f(s,0),l=[],h=0;h<u.length;h++){var d=o(s,u[h]);l.push(d)}t.certs=l}return t},this.getResponseData=function(e){var t=f(e,0),n=t.length,r={},a=0;"a0"==e.substr(t[0],2)&&a++,r.respid=this.getResponderID(o(e,t[a++]));var s=i(e,t[a++]);if(r.prodat=fe(s),r.array=this.getSingleResponseList(o(e,t[a++])),"a1"==e.substr(t[n-1],2)){var c=u(e,t[n-1],[0]),l=new We;r.ext=l.getExtParamArray(c)}return r},this.getResponderID=function(e){var t={};if("a2"==e.substr(0,2)){var n=s(e,0,[0]);t.key=n}if("a1"==e.substr(0,2)){var r=u(e,0,[0]),i=new We;t.name=i.getX500Name(r)}return t},this.getSingleResponseList=function(e){for(var t=f(e,0),n=[],r=0;r<t.length;r++){var i=this.getSingleResponse(o(e,t[r]));n.push(i)}return n},this.getSingleResponse=function(e){var t=f(e,0),n={},r=this.getCertID(o(e,t[0]));n.certid=r;var a=this.getCertStatus(o(e,t[1]));if(n.status=a,"18"==e.substr(t[2],2)){var c=i(e,t[2]);n.thisupdate=fe(c)}for(var l=3;l<t.length;l++){if("a0"==e.substr(t[l],2)){var h=s(e,t[l],[0],"18");n.nextupdate=fe(h)}if("a1"==e.substr(t[l],2)){var d=new We,p=u(e,0,[l,0]);n.ext=d.getExtParamArray(p)}}return n},this.getCertStatus=function(e){var t={};if("8000"==e)return{status:"good"};if("8200"==e)return{status:"unknown"};if("a1"==e.substr(0,2)){t.status="revoked";var n=fe(s(e,0,[0]));t.time=n}return t}},"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.lang&&ee.lang||(ee.lang={}),ee.lang.String=function(){},"function"===typeof r?(te=function(e){return ae(r.from(e,"utf8").toString("base64"))},ne=function(e){return r.from(se(e),"base64").toString("utf8")}):(te=function(e){return ue(Ee(Te(e)))},ne=function(e){return decodeURIComponent(_e(ce(e)))}),ee.lang.String.isInteger=function(e){return!!e.match(/^[0-9]+$/)||!!e.match(/^-[0-9]+$/)},ee.lang.String.isHex=function(e){return Ie(e)},ee.lang.String.isBase64=function(e){return!(!(e=e.replace(/\s+/g,"")).match(/^[0-9A-Za-z+\/]+={0,3}$/)||e.length%4!=0)},ee.lang.String.isBase64URL=function(e){return!e.match(/[+/=]/)&&(e=se(e),ee.lang.String.isBase64(e))},ee.lang.String.isIntegerArray=function(e){return!!(e=e.replace(/\s+/g,"")).match(/^\[[0-9,]+\]$/)},ee.lang.String.isPrintable=function(e){return null!==e.match(/^[0-9A-Za-z '()+,-./:=?]*$/)},ee.lang.String.isIA5=function(e){return null!==e.match(/^[\x20-\x21\x23-\x7f]*$/)},ee.lang.String.isMail=function(e){return null!==e.match(/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}\.[A-Za-z0-9]{1,}$/)};var Pe=function(e,t,n){return void 0==n&&(n="0"),e.length>=t?e:new Array(t-e.length+1).join(n)+e};function Be(e,t){for(var n=0,r=0;r<e.length;r++)n|=1<<t[e[r]];var i=n.toString(2),o="";for(r=i.length-1;r>=0;r--)o+=i[r];return o}function Le(e,t,n){if("object"==b(e)){t=String(t).split(".");for(var r=0;r<t.length&&e;r++){var i=t[r];i.match(/^[0-9]+$/)&&(i=parseInt(i)),e=e[i]}return e||!1===e?e:n}}function Me(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t)}"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.crypto&&ee.crypto||(ee.crypto={}),ee.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHAwithRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:a.algo.MD5,sha1:a.algo.SHA1,sha224:a.algo.SHA224,sha256:a.algo.SHA256,sha384:a.algo.SHA384,sha512:a.algo.SHA512,ripemd160:a.algo.RIPEMD160},this.getDigestInfoHex=function(e,t){if("undefined"==typeof this.DIGESTINFOHEAD[t])throw"alg not supported in Util.DIGESTINFOHEAD: "+t;return this.DIGESTINFOHEAD[t]+e},this.getPaddedDigestInfoHex=function(e,t,n){var r=this.getDigestInfoHex(e,t),i=n/4;if(r.length+22>i)throw"key is too short for SigAlg: keylen="+n+","+t;for(var o="00"+r,a="",s=i-4-o.length,u=0;u<s;u+=2)a+="ff";return"0001"+a+o},this.hashString=function(e,t){return new ee.crypto.MessageDigest({alg:t}).digestString(e)},this.hashHex=function(e,t){return new ee.crypto.MessageDigest({alg:t}).digestHex(e)},this.sha1=function(e){return this.hashString(e,"sha1")},this.sha256=function(e){return this.hashString(e,"sha256")},this.sha256Hex=function(e){return this.hashHex(e,"sha256")},this.sha512=function(e){return this.hashString(e,"sha512")},this.sha512Hex=function(e){return this.hashHex(e,"sha512")},this.isKey=function(e){return e instanceof J||e instanceof ee.crypto.DSA||e instanceof ee.crypto.ECDSA}},ee.crypto.Util.md5=function(e){return new ee.crypto.MessageDigest({alg:"md5",prov:"cryptojs"}).digestString(e)},ee.crypto.Util.ripemd160=function(e){return new ee.crypto.MessageDigest({alg:"ripemd160",prov:"cryptojs"}).digestString(e)},ee.crypto.Util.SECURERANDOMGEN=new q,ee.crypto.Util.getRandomHexOfNbytes=function(e){var t=new Array(e);return ee.crypto.Util.SECURERANDOMGEN.nextBytes(t),ie(t)},ee.crypto.Util.getRandomBigIntegerOfNbytes=function(e){return new h(ee.crypto.Util.getRandomHexOfNbytes(e),16)},ee.crypto.Util.getRandomHexOfNbits=function(e){var t=e%8,n=new Array((e-t)/8+1);return ee.crypto.Util.SECURERANDOMGEN.nextBytes(n),n[0]=(255<<t&255^255)&n[0],ie(n)},ee.crypto.Util.getRandomBigIntegerOfNbits=function(e){return new h(ee.crypto.Util.getRandomHexOfNbits(e),16)},ee.crypto.Util.getRandomBigIntegerZeroToMax=function(e){for(var t=e.bitLength();;){var n=ee.crypto.Util.getRandomBigIntegerOfNbits(t);if(-1!=e.compareTo(n))return n}},ee.crypto.Util.getRandomBigIntegerMinToMax=function(e,t){var n=e.compareTo(t);if(1==n)throw"biMin is greater than biMax";if(0==n)return e;var r=t.subtract(e);return ee.crypto.Util.getRandomBigIntegerZeroToMax(r).add(e)},ee.crypto.MessageDigest=function(e){this.setAlgAndProvider=function(e,t){if(null!==(e=ee.crypto.MessageDigest.getCanonicalAlgName(e))&&void 0===t&&(t=ee.crypto.Util.DEFAULTPROVIDER[e]),-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(e)&&"cryptojs"==t){try{this.md=ee.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[e].create()}catch(n){throw"setAlgAndProvider hash alg set fail alg="+e+"/"+n}this.updateString=function(e){this.md.update(e)},this.updateHex=function(e){var t=a.enc.Hex.parse(e);this.md.update(t)},this.digest=function(){return this.md.finalize().toString(a.enc.Hex)},this.digestString=function(e){return this.updateString(e),this.digest()},this.digestHex=function(e){return this.updateHex(e),this.digest()}}if(-1!=":sha256:".indexOf(e)&&"sjcl"==t){try{this.md=new sjcl.hash.sha256}catch(n){throw"setAlgAndProvider hash alg set fail alg="+e+"/"+n}this.updateString=function(e){this.md.update(e)},this.updateHex=function(e){var t=sjcl.codec.hex.toBits(e);this.md.update(t)},this.digest=function(){var e=this.md.finalize();return sjcl.codec.hex.fromBits(e)},this.digestString=function(e){return this.updateString(e),this.digest()},this.digestHex=function(e){return this.updateHex(e),this.digest()}}},this.updateString=function(e){throw"updateString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.updateHex=function(e){throw"updateHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digest=function(){throw"digest() not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestString=function(e){throw"digestString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestHex=function(e){throw"digestHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},void 0!==e&&void 0!==e.alg&&(this.algName=e.alg,void 0===e.prov&&(this.provName=ee.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName))},ee.crypto.MessageDigest.getCanonicalAlgName=function(e){return"string"===typeof e&&(e=(e=e.toLowerCase()).replace(/-/,"")),e},ee.crypto.MessageDigest.getHashLength=function(e){var t=ee.crypto.MessageDigest,n=t.getCanonicalAlgName(e);if(void 0===t.HASHLENGTH[n])throw"not supported algorithm: "+e;return t.HASHLENGTH[n]},ee.crypto.MessageDigest.HASHLENGTH={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,ripemd160:20},ee.crypto.Mac=function(e){this.setAlgAndProvider=function(e,t){if(null==(e=e.toLowerCase())&&(e="hmacsha1"),"hmac"!=(e=e.toLowerCase()).substr(0,4))throw"setAlgAndProvider unsupported HMAC alg: "+e;void 0===t&&(t=ee.crypto.Util.DEFAULTPROVIDER[e]),this.algProv=e+"/"+t;var n=e.substr(4);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(n)&&"cryptojs"==t){try{var r=ee.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[n];this.mac=a.algo.HMAC.create(r,this.pass)}catch(i){throw"setAlgAndProvider hash alg set fail hashAlg="+n+"/"+i}this.updateString=function(e){this.mac.update(e)},this.updateHex=function(e){var t=a.enc.Hex.parse(e);this.mac.update(t)},this.doFinal=function(){return this.mac.finalize().toString(a.enc.Hex)},this.doFinalString=function(e){return this.updateString(e),this.doFinal()},this.doFinalHex=function(e){return this.updateHex(e),this.doFinal()}}},this.updateString=function(e){throw"updateString(str) not supported for this alg/prov: "+this.algProv},this.updateHex=function(e){throw"updateHex(hex) not supported for this alg/prov: "+this.algProv},this.doFinal=function(){throw"digest() not supported for this alg/prov: "+this.algProv},this.doFinalString=function(e){throw"digestString(str) not supported for this alg/prov: "+this.algProv},this.doFinalHex=function(e){throw"digestHex(hex) not supported for this alg/prov: "+this.algProv},this.setPassword=function(e){if("string"==typeof e){var t=e;return e.length%2!=1&&e.match(/^[0-9A-Fa-f]+$/)||(t=pe(e)),void(this.pass=a.enc.Hex.parse(t))}if("object"!=b(e))throw"KJUR.crypto.Mac unsupported password type: "+e;if(t=null,void 0!==e.hex){if(e.hex.length%2!=0||!e.hex.match(/^[0-9A-Fa-f]+$/))throw"Mac: wrong hex password: "+e.hex;t=e.hex}if(void 0!==e.utf8&&(t=le(e.utf8)),void 0!==e.rstr&&(t=pe(e.rstr)),void 0!==e.b64&&(t=f(e.b64)),void 0!==e.b64u&&(t=ce(e.b64u)),null==t)throw"KJUR.crypto.Mac unsupported password type: "+e;this.pass=a.enc.Hex.parse(t)},void 0!==e&&(void 0!==e.pass&&this.setPassword(e.pass),void 0!==e.alg&&(this.algName=e.alg,void 0===e.prov&&(this.provName=ee.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName)))},ee.crypto.Signature=function(e){var t=null;if(this._setAlgNames=function(){var e=this.algName.match(/^(.+)with(.+)$/);e&&(this.mdAlgName=e[1].toLowerCase(),this.pubkeyAlgName=e[2].toLowerCase(),"rsaandmgf1"==this.pubkeyAlgName&&"sha"==this.mdAlgName&&(this.mdAlgName="sha1"))},this._zeroPaddingOfSignature=function(e,t){for(var n="",r=t/4-e.length,i=0;i<r;i++)n+="0";return n+e},this.setAlgAndProvider=function(e,t){if(this._setAlgNames(),"cryptojs/jsrsa"!=t)throw new Error("provider not supported: "+t);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(this.mdAlgName)){try{this.md=new ee.crypto.MessageDigest({alg:this.mdAlgName})}catch(n){throw new Error("setAlgAndProvider hash alg set fail alg="+this.mdAlgName+"/"+n)}this.init=function(e,t){var n=null;try{n=void 0===t?He.getKey(e):He.getKey(e,t)}catch(r){throw"init failed:"+r}if(!0===n.isPrivate)this.prvKey=n,this.state="SIGN";else{if(!0!==n.isPublic)throw"init failed.:"+n;this.pubKey=n,this.state="VERIFY"}},this.updateString=function(e){this.md.updateString(e)},this.updateHex=function(e){this.md.updateHex(e)},this.sign=function(){if(this.sHashHex=this.md.digest(),void 0===this.prvKey&&void 0!==this.ecprvhex&&void 0!==this.eccurvename&&void 0!==ee.crypto.ECDSA&&(this.prvKey=new ee.crypto.ECDSA({curve:this.eccurvename,prv:this.ecprvhex})),this.prvKey instanceof J&&"rsaandmgf1"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHashPSS(this.sHashHex,this.mdAlgName,this.pssSaltLen);else if(this.prvKey instanceof J&&"rsa"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex,this.mdAlgName);else if(this.prvKey instanceof ee.crypto.ECDSA)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex);else{if(!(this.prvKey instanceof ee.crypto.DSA))throw"Signature: unsupported private key alg: "+this.pubkeyAlgName;this.hSign=this.prvKey.signWithMessageHash(this.sHashHex)}return this.hSign},this.signString=function(e){return this.updateString(e),this.sign()},this.signHex=function(e){return this.updateHex(e),this.sign()},this.verify=function(e){if(this.sHashHex=this.md.digest(),void 0===this.pubKey&&void 0!==this.ecpubhex&&void 0!==this.eccurvename&&void 0!==ee.crypto.ECDSA&&(this.pubKey=new ee.crypto.ECDSA({curve:this.eccurvename,pub:this.ecpubhex})),this.pubKey instanceof J&&"rsaandmgf1"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHashPSS(this.sHashHex,e,this.mdAlgName,this.pssSaltLen);if(this.pubKey instanceof J&&"rsa"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHash(this.sHashHex,e);if(void 0!==ee.crypto.ECDSA&&this.pubKey instanceof ee.crypto.ECDSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,e);if(void 0!==ee.crypto.DSA&&this.pubKey instanceof ee.crypto.DSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,e);throw"Signature: unsupported public key alg: "+this.pubkeyAlgName}}},this.init=function(e,t){throw"init(key, pass) not supported for this alg:prov="+this.algProvName},this.updateString=function(e){throw"updateString(str) not supported for this alg:prov="+this.algProvName},this.updateHex=function(e){throw"updateHex(hex) not supported for this alg:prov="+this.algProvName},this.sign=function(){throw"sign() not supported for this alg:prov="+this.algProvName},this.signString=function(e){throw"digestString(str) not supported for this alg:prov="+this.algProvName},this.signHex=function(e){throw"digestHex(hex) not supported for this alg:prov="+this.algProvName},this.verify=function(e){throw"verify(hSigVal) not supported for this alg:prov="+this.algProvName},this.initParams=e,void 0!==e&&(void 0!==e.alg&&(this.algName=e.alg,void 0===e.prov?this.provName=ee.crypto.Util.DEFAULTPROVIDER[this.algName]:this.provName=e.prov,this.algProvName=this.algName+":"+this.provName,this.setAlgAndProvider(this.algName,this.provName),this._setAlgNames()),void 0!==e.psssaltlen&&(this.pssSaltLen=e.psssaltlen),void 0!==e.prvkeypem)){if(void 0!==e.prvkeypas)throw"both prvkeypem and prvkeypas parameters not supported";try{t=He.getKey(e.prvkeypem),this.init(t)}catch(n){throw"fatal error to load pem private key: "+n}}},ee.crypto.Cipher=function(e){},ee.crypto.Cipher.encrypt=function(e,t,n,r){if(void 0!=Le(r,"enclag")&&(n=r.encalg),"string"==typeof n&&"-CBC"==n.substr(-4)){var i=t,o=e;void 0!=Le(r,"key")&&(i=r.key),void 0!=Le(r,"enc")&&(hEnc=r.enc);var s,u=a.enc.Hex.parse(i),c=a.enc.Hex.parse(o),l=a.enc.Hex.parse(r.iv);if("des-EDE3-CBC"==n)s=a.TripleDES.encrypt(c,u,{iv:l});else{if("aes128-CBC"!=n&&"aes256-CBC"!=n)throw new Error("unsupported algorithm: "+n);s=a.AES.encrypt(c,u,{iv:l})}return s+""}throw new Error("Cipher.encrypt: unsupported key or algorithm")},ee.crypto.Cipher.decrypt=function(e,t,n,r){if(void 0!=Le(r,"enclag")&&(n=r.encalg),"string"==typeof n&&"-CBC"==n.substr(-4)){var i=t,o=e;void 0!=Le(r,"key")&&(i=r.key),void 0!=Le(r,"enc")&&(o=r.enc);var s,u=a.enc.Hex.parse(i),c=a.enc.Hex.parse(o),l=a.enc.Hex.parse(r.iv);if("des-EDE3-CBC"==n)s=a.TripleDES.decrypt({ciphertext:c},u,{iv:l});else{if("aes128-CBC"!=n&&"aes256-CBC"!=n)throw new Error("unsupported algorithm: "+n);s=a.AES.decrypt({ciphertext:c},u,{iv:l})}return a.enc.Hex.stringify(s)}throw new Error("Cipher.decrypt: unsupported key or algorithm")},ee.crypto.OID=new function(){this.oidhex2name={"2a864886f70d010101":"rsaEncryption","2a8648ce3d0201":"ecPublicKey","2a8648ce380401":"dsa","2a8648ce3d030107":"secp256r1","2b8104001f":"secp192k1","2b81040021":"secp224r1","2b8104000a":"secp256k1","2b81040022":"secp384r1","2b81040023":"secp521r1","2a8648ce380403":"SHA1withDSA","608648016503040301":"SHA224withDSA","608648016503040302":"SHA256withDSA"}},"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.crypto&&ee.crypto||(ee.crypto={}),ee.crypto.ECDSA=function(e){var t=Error,n=h,r=Z,i=ee.crypto.ECDSA,o=ee.crypto.ECParameterDB,a=i.getName,s=re,u=s.getVbyListEx,c=s.isASN1HEX,l=new q;this.type="EC",this.isPrivate=!1,this.isPublic=!1,this.getBigRandom=function(e){return new n(e.bitLength(),l).mod(e.subtract(n.ONE)).add(n.ONE)},this.setNamedCurve=function(e){this.ecparams=o.getByName(e),this.prvKeyHex=null,this.pubKeyHex=null,this.curveName=e},this.setPrivateKeyHex=function(e){this.isPrivate=!0,this.prvKeyHex=e},this.setPublicKeyHex=function(e){this.isPublic=!0,this.pubKeyHex=e},this.getPublicKeyXYHex=function(){var e=this.pubKeyHex;if("04"!==e.substr(0,2))throw"this method supports uncompressed format(04) only";var t=this.ecparams.keycharlen;if(e.length!==2+2*t)throw"malformed public key hex length";var n={};return n.x=e.substr(2,t),n.y=e.substr(2+t),n},this.getShortNISTPCurveName=function(){var e=this.curveName;return"secp256r1"===e||"NIST P-256"===e||"P-256"===e||"prime256v1"===e?"P-256":"secp384r1"===e||"NIST P-384"===e||"P-384"===e?"P-384":"secp521r1"===e||"NIST P-521"===e||"P-521"===e?"P-521":null},this.generateKeyPairHex=function(){var e=this.ecparams.n,t=this.getBigRandom(e),n=this.ecparams.keycharlen,r=("0000000000"+t.toString(16)).slice(-n);return this.setPrivateKeyHex(r),{ecprvhex:r,ecpubhex:this.generatePublicKeyHex()}},this.generatePublicKeyHex=function(){var e=new n(this.prvKeyHex,16),t=this.ecparams.G.multiply(e),r=t.getX().toBigInteger(),i=t.getY().toBigInteger(),o=this.ecparams.keycharlen,a="04"+("0000000000"+r.toString(16)).slice(-o)+("0000000000"+i.toString(16)).slice(-o);return this.setPublicKeyHex(a),a},this.signWithMessageHash=function(e){return this.signHex(e,this.prvKeyHex)},this.signHex=function(e,t){var r=new n(t,16),o=this.ecparams.n,a=new n(e.substring(0,this.ecparams.keycharlen),16);do{var s=this.getBigRandom(o),u=this.ecparams.G.multiply(s).getX().toBigInteger().mod(o)}while(u.compareTo(n.ZERO)<=0);var c=s.modInverse(o).multiply(a.add(r.multiply(u))).mod(o);return i.biRSSigToASN1Sig(u,c)},this.sign=function(e,t){var r=t,i=this.ecparams.n,o=n.fromByteArrayUnsigned(e);do{var a=this.getBigRandom(i),s=this.ecparams.G.multiply(a).getX().toBigInteger().mod(i)}while(s.compareTo(h.ZERO)<=0);var u=a.modInverse(i).multiply(o.add(r.multiply(s))).mod(i);return this.serializeSig(s,u)},this.verifyWithMessageHash=function(e,t){return this.verifyHex(e,t,this.pubKeyHex)},this.verifyHex=function(e,t,o){try{var a,s,u=i.parseSigHex(t);a=u.r,s=u.s;var c=r.decodeFromHex(this.ecparams.curve,o),l=new n(e.substring(0,this.ecparams.keycharlen),16);return this.verifyRaw(l,a,s,c)}catch(f){return!1}},this.verify=function(e,t,i){var o,a,s;if(Bitcoin.Util.isArray(t)){var u=this.parseSig(t);o=u.r,a=u.s}else{if("object"!==b(t)||!t.r||!t.s)throw"Invalid value for signature";o=t.r,a=t.s}if(i instanceof Z)s=i;else{if(!Bitcoin.Util.isArray(i))throw"Invalid format for pubkey value, must be byte array or ECPointFp";s=r.decodeFrom(this.ecparams.curve,i)}var c=n.fromByteArrayUnsigned(e);return this.verifyRaw(c,o,a,s)},this.verifyRaw=function(e,t,r,i){var o=this.ecparams.n,a=this.ecparams.G;if(t.compareTo(n.ONE)<0||t.compareTo(o)>=0)return!1;if(r.compareTo(n.ONE)<0||r.compareTo(o)>=0)return!1;var s=r.modInverse(o),u=e.multiply(s).mod(o),c=t.multiply(s).mod(o);return a.multiply(u).add(i.multiply(c)).getX().toBigInteger().mod(o).equals(t)},this.serializeSig=function(e,t){var n=e.toByteArraySigned(),r=t.toByteArraySigned(),i=[];return i.push(2),i.push(n.length),(i=i.concat(n)).push(2),i.push(r.length),(i=i.concat(r)).unshift(i.length),i.unshift(48),i},this.parseSig=function(e){var t;if(48!=e[0])throw new Error("Signature not a valid DERSequence");if(2!=e[t=2])throw new Error("First element in signature must be a DERInteger");var r=e.slice(t+2,t+2+e[t+1]);if(2!=e[t+=2+e[t+1]])throw new Error("Second element in signature must be a DERInteger");var i=e.slice(t+2,t+2+e[t+1]);return t+=2+e[t+1],{r:n.fromByteArrayUnsigned(r),s:n.fromByteArrayUnsigned(i)}},this.parseSigCompact=function(e){if(65!==e.length)throw"Signature has the wrong length";var t=e[0]-27;if(t<0||t>7)throw"Invalid signature type";var r=this.ecparams.n;return{r:n.fromByteArrayUnsigned(e.slice(1,33)).mod(r),s:n.fromByteArrayUnsigned(e.slice(33,65)).mod(r),i:t}},this.readPKCS5PrvKeyHex=function(e){if(!1===c(e))throw new Error("not ASN.1 hex string");var t,n,r;try{t=u(e,0,["[0]",0],"06"),n=u(e,0,[1],"04");try{r=u(e,0,["[1]",0],"03")}catch(i){}}catch(i){throw new Error("malformed PKCS#1/5 plain ECC private key")}if(this.curveName=a(t),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(r),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(e){if(!1===c(e))throw new t("not ASN.1 hex string");var n,r,i;try{u(e,0,[1,0],"06"),n=u(e,0,[1,1],"06"),r=u(e,0,[2,0,1],"04");try{i=u(e,0,[2,0,"[1]",0],"03")}catch(o){}}catch(o){throw new t("malformed PKCS#8 plain ECC private key")}if(this.curveName=a(n),void 0===this.curveName)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(i),this.setPrivateKeyHex(r),this.isPublic=!1},this.readPKCS8PubKeyHex=function(e){if(!1===c(e))throw new t("not ASN.1 hex string");var n,r;try{u(e,0,[0,0],"06"),n=u(e,0,[0,1],"06"),r=u(e,0,[1],"03")}catch(i){throw new t("malformed PKCS#8 ECC public key")}if(this.curveName=a(n),null===this.curveName)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(r)},this.readCertPubKeyHex=function(e,n){if(!1===c(e))throw new t("not ASN.1 hex string");var r,i;try{r=u(e,0,[0,5,0,1],"06"),i=u(e,0,[0,5,1],"03")}catch(o){throw new t("malformed X.509 certificate ECC public key")}if(this.curveName=a(r),null===this.curveName)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},void 0!==e&&void 0!==e.curve&&(this.curveName=e.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==e&&(void 0!==e.prv&&this.setPrivateKeyHex(e.prv),void 0!==e.pub&&this.setPublicKeyHex(e.pub))},ee.crypto.ECDSA.parseSigHex=function(e){var t=ee.crypto.ECDSA.parseSigHexInHexRS(e);return{r:new h(t.r,16),s:new h(t.s,16)}},ee.crypto.ECDSA.parseSigHexInHexRS=function(e){var t=re,n=t.getChildIdx,r=t.getV;if(t.checkStrictDER(e,0),"30"!=e.substr(0,2))throw new Error("signature is not a ASN.1 sequence");var i=n(e,0);if(2!=i.length)throw new Error("signature shall have two elements");var o=i[0],a=i[1];if("02"!=e.substr(o,2))throw new Error("1st item not ASN.1 integer");if("02"!=e.substr(a,2))throw new Error("2nd item not ASN.1 integer");return{r:r(e,o),s:r(e,a)}},ee.crypto.ECDSA.asn1SigToConcatSig=function(e){var t=ee.crypto.ECDSA.parseSigHexInHexRS(e),n=t.r,r=t.s;if(n.length>=130&&n.length<=134){if(n.length%2!=0)throw Error("unknown ECDSA sig r length error");if(r.length%2!=0)throw Error("unknown ECDSA sig s length error");"00"==n.substr(0,2)&&(n=n.substr(2)),"00"==r.substr(0,2)&&(r=r.substr(2));var i=Math.max(n.length,r.length);return(n=("000000"+n).slice(-i))+("000000"+r).slice(-i)}if("00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),"00"==r.substr(0,2)&&r.length%32==2&&(r=r.substr(2)),n.length%32==30&&(n="00"+n),r.length%32==30&&(r="00"+r),n.length%32!=0)throw Error("unknown ECDSA sig r length error");if(r.length%32!=0)throw Error("unknown ECDSA sig s length error");return n+r},ee.crypto.ECDSA.concatSigToASN1Sig=function(e){if(e.length%4!=0)throw Error("unknown ECDSA concatinated r-s sig length error");var t=e.substr(0,e.length/2),n=e.substr(e.length/2);return ee.crypto.ECDSA.hexRSSigToASN1Sig(t,n)},ee.crypto.ECDSA.hexRSSigToASN1Sig=function(e,t){var n=new h(e,16),r=new h(t,16);return ee.crypto.ECDSA.biRSSigToASN1Sig(n,r)},ee.crypto.ECDSA.biRSSigToASN1Sig=function(e,t){var n=ee.asn1,r=new n.DERInteger({bigint:e}),i=new n.DERInteger({bigint:t});return new n.DERSequence({array:[r,i]}).tohex()},ee.crypto.ECDSA.getName=function(e){return"2b8104001f"===e?"secp192k1":"2a8648ce3d030107"===e?"secp256r1":"2b8104000a"===e?"secp256k1":"2b81040021"===e?"secp224r1":"2b81040022"===e?"secp384r1":"2b81040023"===e?"secp521r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(e)?"secp256r1":-1!=="|secp256k1|".indexOf(e)?"secp256k1":-1!=="|secp224r1|NIST P-224|P-224|".indexOf(e)?"secp224r1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(e)?"secp384r1":-1!=="|secp521r1|NIST P-521|P-521|".indexOf(e)?"secp521r1":null},"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.crypto&&ee.crypto||(ee.crypto={}),ee.crypto.ECParameterDB=new function(){var e={},t={};function n(e){return new h(e,16)}this.getByName=function(n){var r=n;if("undefined"!=typeof t[r]&&(r=t[n]),"undefined"!=typeof e[r])return e[r];throw"unregistered EC curve name: "+r},this.regist=function(r,i,o,a,s,u,c,l,f,h,d,p){e[r]={};var g=n(o),m=n(a),v=n(s),E=n(u),_=n(c),y=new X(g,m,v),S=y.decodePointHex("04"+l+f);e[r].name=r,e[r].keylen=i,e[r].keycharlen=2*Math.ceil(i/8),e[r].curve=y,e[r].G=S,e[r].n=E,e[r].h=_,e[r].oid=d,e[r].info=p;for(var D=0;D<h.length;D++)t[h[D]]=r}},ee.crypto.ECParameterDB.regist("secp128r1",128,"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC","E87579C11079F43DD824993C2CEE5ED3","FFFFFFFE0000000075A30D1B9038A115","1","161FF7528B899B2D0C28607CA52C5B86","CF5AC8395BAFEB13C02DA292DDED7A83",[],"","secp128r1 : SECG curve over a 128 bit prime field"),ee.crypto.ECParameterDB.regist("secp160k1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73","0","7","0100000000000000000001B8FA16DFAB9ACA16B6B3","1","3B4C382CE37AA192A4019E763036F4F5DD4D7EBB","938CF935318FDCED6BC28286531733C3F03C4FEE",[],"","secp160k1 : SECG curve over a 160 bit prime field"),ee.crypto.ECParameterDB.regist("secp160r1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC","1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45","0100000000000000000001F4C8F927AED3CA752257","1","4A96B5688EF573284664698968C38BB913CBFC82","23A628553168947D59DCC912042351377AC5FB32",[],"","secp160r1 : SECG curve over a 160 bit prime field"),ee.crypto.ECParameterDB.regist("secp192k1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37","0","3","FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D","1","DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D","9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D",[]),ee.crypto.ECParameterDB.regist("secp192r1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC","64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1","FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831","1","188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012","07192B95FFC8DA78631011ED6B24CDD573F977A11E794811",[]),ee.crypto.ECParameterDB.regist("secp224r1",224,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE","B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4","FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D","1","B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21","BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34",[]),ee.crypto.ECParameterDB.regist("secp256k1",256,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","0","7","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","1","79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798","483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8",[]),ee.crypto.ECParameterDB.regist("secp256r1",256,"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC","5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B","FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551","1","6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296","4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5",["NIST P-256","P-256","prime256v1"]),ee.crypto.ECParameterDB.regist("secp384r1",384,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC","B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973","1","AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7","3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",["NIST P-384","P-384"]),ee.crypto.ECParameterDB.regist("secp521r1",521,"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC","051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409","1","00C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66","011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650",["NIST P-521","P-521"]),"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.crypto&&ee.crypto||(ee.crypto={}),ee.crypto.DSA=function(){var e=re,t=(e.getVbyList,e.getVbyListEx),n=e.isASN1HEX,r=h;this.p=null,this.q=null,this.g=null,this.y=null,this.x=null,this.type="DSA",this.isPrivate=!1,this.isPublic=!1,this.setPrivate=function(e,t,n,r,i){this.isPrivate=!0,this.p=e,this.q=t,this.g=n,this.y=r,this.x=i},this.setPrivateHex=function(e,t,n,r,i){var o,a,s,u,c;o=new h(e,16),a=new h(t,16),s=new h(n,16),u="string"===typeof r&&r.length>1?new h(r,16):null,c=new h(i,16),this.setPrivate(o,a,s,u,c)},this.setPublic=function(e,t,n,r){this.isPublic=!0,this.p=e,this.q=t,this.g=n,this.y=r,this.x=null},this.setPublicHex=function(e,t,n,r){var i,o,a,s;i=new h(e,16),o=new h(t,16),a=new h(n,16),s=new h(r,16),this.setPublic(i,o,a,s)},this.signWithMessageHash=function(e){var t=this.p,n=this.q,r=this.g,i=(this.y,this.x),o=ee.crypto.Util.getRandomBigIntegerMinToMax(h.ONE.add(h.ONE),n.subtract(h.ONE)),a=new h(e.substr(0,n.bitLength()/4),16),s=r.modPow(o,t).mod(n),u=o.modInverse(n).multiply(a.add(i.multiply(s))).mod(n);return ee.asn1.ASN1Util.jsonToASN1HEX({seq:[{int:{bigint:s}},{int:{bigint:u}}]})},this.verifyWithMessageHash=function(e,t){var n=this.p,r=this.q,i=this.g,o=this.y,a=this.parseASN1Signature(t),s=a[0],u=a[1],c=new h(e.substr(0,r.bitLength()/4),16);if(h.ZERO.compareTo(s)>0||s.compareTo(r)>0)throw"invalid DSA signature";if(h.ZERO.compareTo(u)>=0||u.compareTo(r)>0)throw"invalid DSA signature";var l=u.modInverse(r),f=c.multiply(l).mod(r),d=s.multiply(l).mod(r);return 0==i.modPow(f,n).multiply(o.modPow(d,n)).mod(n).mod(r).compareTo(s)},this.parseASN1Signature=function(e){try{return[new r(t(e,0,[0],"02"),16),new r(t(e,0,[1],"02"),16)]}catch(n){throw new Error("malformed ASN.1 DSA signature")}},this.readPKCS5PrvKeyHex=function(e){var r,i,o,a,s;if(!1===n(e))throw new Error("not ASN.1 hex string");try{r=t(e,0,[1],"02"),i=t(e,0,[2],"02"),o=t(e,0,[3],"02"),a=t(e,0,[4],"02"),s=t(e,0,[5],"02")}catch(u){throw new Error("malformed PKCS#1/5 plain DSA private key")}this.setPrivateHex(r,i,o,a,s)},this.readPKCS8PrvKeyHex=function(e){var r,i,o,a;if(!1===n(e))throw new Error("not ASN.1 hex string");try{r=t(e,0,[1,1,0],"02"),i=t(e,0,[1,1,1],"02"),o=t(e,0,[1,1,2],"02"),a=t(e,0,[2,0],"02")}catch(s){throw new Error("malformed PKCS#8 plain DSA private key")}this.setPrivateHex(r,i,o,null,a)},this.readPKCS8PubKeyHex=function(e){var r,i,o,a;if(!1===n(e))throw new Error("not ASN.1 hex string");try{r=t(e,0,[0,1,0],"02"),i=t(e,0,[0,1,1],"02"),o=t(e,0,[0,1,2],"02"),a=t(e,0,[1,0],"02")}catch(s){throw new Error("malformed PKCS#8 DSA public key")}this.setPublicHex(r,i,o,a)},this.readCertPubKeyHex=function(e,r){var i,o,a,s;if(!1===n(e))throw new Error("not ASN.1 hex string");try{i=t(e,0,[0,5,0,1,0],"02"),o=t(e,0,[0,5,0,1,1],"02"),a=t(e,0,[0,5,0,1,2],"02"),s=t(e,0,[0,5,1,0],"02")}catch(u){throw new Error("malformed X.509 certificate DSA public key")}this.setPublicHex(i,o,a,s)}};var He=function(){var e=function(e,n,r){return t(a.AES,e,n,r)},t=function(e,t,n,r){var i=a.enc.Hex.parse(t),o=a.enc.Hex.parse(n),s=a.enc.Hex.parse(r),u={};u.key=o,u.iv=s,u.ciphertext=i;var c=e.decrypt(u,o,{iv:s});return a.enc.Hex.stringify(c)},n=function(e,t,n){return r(a.AES,e,t,n)},r=function(e,t,n,r){var i=a.enc.Hex.parse(t),o=a.enc.Hex.parse(n),s=a.enc.Hex.parse(r),u=e.encrypt(i,o,{iv:s}),c=a.enc.Hex.parse(u.toString());return a.enc.Base64.stringify(c)},i={"AES-256-CBC":{proc:e,eproc:n,keylen:32,ivlen:16},"AES-192-CBC":{proc:e,eproc:n,keylen:24,ivlen:16},"AES-128-CBC":{proc:e,eproc:n,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:function(e,n,r){return t(a.TripleDES,e,n,r)},eproc:function(e,t,n){return r(a.TripleDES,e,t,n)},keylen:24,ivlen:8},"DES-CBC":{proc:function(e,n,r){return t(a.DES,e,n,r)},eproc:function(e,t,n){return r(a.DES,e,t,n)},keylen:8,ivlen:8}},o=function(e){var t={},n=e.match(new RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"));n&&(t.cipher=n[1],t.ivsalt=n[2]);var r=e.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));r&&(t.type=r[1]);var i=-1,o=0;-1!=e.indexOf("\r\n\r\n")&&(i=e.indexOf("\r\n\r\n"),o=2),-1!=e.indexOf("\n\n")&&(i=e.indexOf("\n\n"),o=1);var a=e.indexOf("-----END");if(-1!=i&&-1!=a){var s=e.substring(i+2*o,a-o);s=s.replace(/\s+/g,""),t.data=s}return t},s=function(e,t,n){for(var r=n.substring(0,16),o=a.enc.Hex.parse(r),s=a.enc.Utf8.parse(t),u=i[e].keylen+i[e].ivlen,c="",l=null;;){var f=a.algo.MD5.create();if(null!=l&&f.update(l),f.update(s),f.update(o),l=f.finalize(),(c+=a.enc.Hex.stringify(l)).length>=2*u)break}var h={};return h.keyhex=c.substr(0,2*i[e].keylen),h.ivhex=c.substr(2*i[e].keylen,2*i[e].ivlen),h},u=function(e,t,n,r){var o=a.enc.Base64.parse(e),s=a.enc.Hex.stringify(o);return(0,i[t].proc)(s,n,r)};return{version:"1.0.0",parsePKCS5PEM:function(e){return o(e)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(e,t,n){return s(e,t,n)},decryptKeyB64:function(e,t,n,r){return u(e,t,n,r)},getDecryptedKeyHex:function(e,t){var n=o(e),r=(n.type,n.cipher),i=n.ivsalt,a=n.data,c=s(r,t,i).keyhex;return u(a,r,c,i)},getEncryptedPKCS5PEMFromPrvKeyHex:function(e,t,n,r,o){var u="";if("undefined"!=typeof r&&null!=r||(r="AES-256-CBC"),"undefined"==typeof i[r])throw new Error("KEYUTIL unsupported algorithm: "+r);if("undefined"==typeof o||null==o){var c=function(e){var t=a.lib.WordArray.random(e);return a.enc.Hex.stringify(t)}(i[r].ivlen);o=c.toUpperCase()}var l=function(e,t,n,r){return(0,i[t].eproc)(e,n,r)}(t,r,s(r,n,o).keyhex,o);return u="-----BEGIN "+e+" PRIVATE KEY-----\r\n",u+="Proc-Type: 4,ENCRYPTED\r\n",u+="DEK-Info: "+r+","+o+"\r\n",u+="\r\n",(u+=l.replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+e+" PRIVATE KEY-----\r\n"},getEncryptedPKCS8PEM:function(e,t,n){return ge(this.getEncryptedPKCS8Hex(e,t,n),"ENCRYPTED PRIVATE KEY")},getEncryptedPKCS8Hex:function(e,t,n){var r;(r=void 0==n||null==n?{}:JSON.parse(JSON.stringify(n))).plain=e,this.initPBES2Param(r),this.encryptPBES2Param(r,t);var i=this.generatePBES2ASN1Param(r);return ee.asn1.ASN1Util.newObject(i).tohex()},initPBES2Param:function(e){var t;void 0==Le(e,"encalg")&&(e.encalg="aes256-CBC"),void 0==Le(e,"iter")&&(e.iter=2048),void 0==Le(e,"prf")&&(e.prf="hmacWithSHA256"),void 0==Le(e,"salt")&&(e.salt=a.enc.Hex.stringify(a.lib.WordArray.random(8))),void 0==Le(e,"enciv")&&("des-EDE3-CBC"==e.encalg&&(t=8),"aes128-CBC"==e.encalg&&(t=16),"aes256-CBC"==e.encalg&&(t=16),e.enciv=a.enc.Hex.stringify(a.lib.WordArray.random(t)))},encryptPBES2Param:function(e,t){var n=He.getDKFromPBES2Param(e,t);try{var r=ee.crypto.Cipher.encrypt(e.plain,n,e.encalg,{iv:e.enciv})}catch(i){throw new Error("encrypt error: "+e.plain+" "+n+" "+e.encalg+" "+e.enciv)}e.enc=r},generatePBES2ASN1Param:function(e){var t={seq:[{seq:[{oid:"pkcs5PBES2"},{seq:[{seq:[{oid:"pkcs5PBKDF2"},{seq:[{octstr:{hex:e.salt}},{int:{hex:Ne(e.iter)}}]}]},{seq:[{oid:e.encalg},{octstr:{hex:e.enciv}}]}]}]},{octstr:{hex:e.enc}}]};return"hmacWithSHA1"!=e.prf&&t.seq[0].seq[1].seq[0].seq[1].seq.push({seq:[{oid:e.prf},{null:""}]}),t},parseHexOfEncryptedPKCS8:function(e){var t=re,n=t.getChildIdx,r=t.getV,i={},o=n(e,0);if(2!=o.length)throw new Error("malformed format: SEQUENCE(0).items != 2: "+o.length);i.ciphertext=r(e,o[1]);var a=n(e,o[0]);if(2!=a.length)throw new Error("malformed format: SEQUENCE(0.0).items != 2: "+a.length);if("2a864886f70d01050d"!=r(e,a[0]))throw new Error("this only supports pkcs5PBES2");var s=n(e,a[1]);if(2!=a.length)throw new Error("malformed format: SEQUENCE(0.0.1).items != 2: "+s.length);var u=n(e,s[1]);if(2!=u.length)throw new Error("malformed format: SEQUENCE(0.0.1.1).items != 2: "+u.length);if("2a864886f70d0307"!=r(e,u[0]))throw"this only supports TripleDES";i.encryptionSchemeAlg="TripleDES",i.encryptionSchemeIV=r(e,u[1]);var c=n(e,s[0]);if(2!=c.length)throw new Error("malformed format: SEQUENCE(0.0.1.0).items != 2: "+c.length);if("2a864886f70d01050c"!=r(e,c[0]))throw new Error("this only supports pkcs5PBKDF2");var l=n(e,c[1]);if(l.length<2)throw new Error("malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+l.length);i.pbkdf2Salt=r(e,l[0]);var f=r(e,l[1]);try{i.pbkdf2Iter=parseInt(f,16)}catch(h){throw new Error("malformed format pbkdf2Iter: "+f)}return i},getPBKDF2KeyHexFromParam:function(e,t){var n=a.enc.Hex.parse(e.pbkdf2Salt),r=e.pbkdf2Iter,i=a.PBKDF2(t,n,{keySize:6,iterations:r});return a.enc.Hex.stringify(i)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(e,t){var n=me(e,"ENCRYPTED PRIVATE KEY"),r=this.parseHexOfEncryptedPKCS8(n),i=He.getPBKDF2KeyHexFromParam(r,t),o={};o.ciphertext=a.enc.Hex.parse(r.ciphertext);var s=a.enc.Hex.parse(i),u=a.enc.Hex.parse(r.encryptionSchemeIV),c=a.TripleDES.decrypt(o,s,{iv:u});return a.enc.Hex.stringify(c)},parsePBES2:function(e){var t=re.parse(e);if("pkcs5PBES2"!=Le(t,"seq.0.seq.0.oid")||"pkcs5PBKDF2"!=Le(t,"seq.0.seq.1.seq.0.seq.0.oid"))throw new Error("not pkcs5PBES2 and pkcs5PBKDF2 used");var n=Le(t,"seq.0.seq.1.seq.0.seq.1.seq");if(void 0==n)throw new Error("PBKDF2 parameter not found");var r=Le(n,"0.octstr.hex"),i=Le(n,"1.int.hex"),o=Le(n,"2.seq.0.oid","hmacWithSHA1"),a=-1;try{a=parseInt(i,16)}catch(l){throw new Error("iter not proper value")}var s=Le(t,"seq.0.seq.1.seq.1.seq.0.oid"),u=Le(t,"seq.0.seq.1.seq.1.seq.1.octstr.hex"),c=Le(t,"seq.1.octstr.hex");if(void 0==s||void 0==u||void 0==c)throw new Error("encalg, enciv or enc is undefined");return{salt:r,iter:a,prf:o,encalg:s,enciv:u,enc:c}},getDKFromPBES2Param:function(e,t){var n={hmacWithSHA1:a.algo.SHA1,hmacWithSHA224:a.algo.SHA224,hmacWithSHA256:a.algo.SHA256,hmacWithSHA384:a.algo.SHA384,hmacWithSHA512:a.algo.SHA512}[e.prf];if(void 0==n)throw new Error("unsupported prf");var r={"des-EDE3-CBC":6,"aes128-CBC":4,"aes256-CBC":8}[e.encalg];if(void 0==r)throw new Error("unsupported encalg");var i=a.enc.Hex.parse(e.salt),o=e.iter;try{var s=a.PBKDF2(t,i,{keySize:r,iterations:o,hasher:n});return a.enc.Hex.stringify(s)}catch(W){throw new Error("PBKDF2 error: "+W+" "+JSON.stringify(e)+" "+t)}},getPlainHexFromEncryptedPKCS8PEM:function(e,t){if(-1==e.indexOf("BEGIN ENCRYPTED PRIVATE KEY"))throw new Error("not Encrypted PKCS#8 PEM string");var n,r=me(e);try{n=He.parsePBES2(r)}catch(o){throw new Error("malformed PBES2 format: "+o.message)}var i=He.getDKFromPBES2Param(n,t);return ee.crypto.Cipher.decrypt(n.enc,i,n.encalg,{iv:n.enciv})},getKeyFromEncryptedPKCS8PEM:function(e,t){var n=this.getPlainHexFromEncryptedPKCS8PEM(e,t);return this.getKeyFromPlainPrivatePKCS8Hex(n)},parsePlainPrivatePKCS8Hex:function(e){var t=re,n=t.getChildIdx,r=t.getV,i={algparam:null};if("30"!=e.substr(0,2))throw new Error("malformed plain PKCS8 private key(code:001)");var o=n(e,0);if(o.length<3)throw new Error("malformed plain PKCS8 private key(code:002)");if("30"!=e.substr(o[1],2))throw new Error("malformed PKCS8 private key(code:003)");var a=n(e,o[1]);if(2!=a.length)throw new Error("malformed PKCS8 private key(code:004)");if("06"!=e.substr(a[0],2))throw new Error("malformed PKCS8 private key(code:005)");if(i.algoid=r(e,a[0]),"06"==e.substr(a[1],2)&&(i.algparam=r(e,a[1])),"04"!=e.substr(o[2],2))throw new Error("malformed PKCS8 private key(code:006)");return i.keyidx=t.getVidx(e,o[2]),i},getKeyFromPlainPrivatePKCS8PEM:function(e){var t=me(e,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(t)},getKeyFromPlainPrivatePKCS8Hex:function(e){var t,n=this.parsePlainPrivatePKCS8Hex(e);if("2a864886f70d010101"==n.algoid)t=new J;else if("2a8648ce380401"==n.algoid)t=new ee.crypto.DSA;else{if("2a8648ce3d0201"!=n.algoid)throw new Error("unsupported private key algorithm");t=new ee.crypto.ECDSA}return t.readPKCS8PrvKeyHex(e),t},_getKeyFromPublicPKCS8Hex:function(e){var t,n=re.getVbyList(e,0,[0,0],"06");if("2a864886f70d010101"===n)t=new J;else if("2a8648ce380401"===n)t=new ee.crypto.DSA;else{if("2a8648ce3d0201"!==n)throw new Error("unsupported PKCS#8 public key hex");t=new ee.crypto.ECDSA}return t.readPKCS8PubKeyHex(e),t},parsePublicRawRSAKeyHex:function(e){var t=re,n=t.getChildIdx,r=t.getV,i={};if("30"!=e.substr(0,2))throw new Error("malformed RSA key(code:001)");var o=n(e,0);if(2!=o.length)throw new Error("malformed RSA key(code:002)");if("02"!=e.substr(o[0],2))throw new Error("malformed RSA key(code:003)");if(i.n=r(e,o[0]),"02"!=e.substr(o[1],2))throw new Error("malformed RSA key(code:004)");return i.e=r(e,o[1]),i},parsePublicPKCS8Hex:function(e){var t=re,n=t.getChildIdx,r=t.getV,i={algparam:null},o=n(e,0);if(2!=o.length)throw new Error("outer DERSequence shall have 2 elements: "+o.length);var a=o[0];if("30"!=e.substr(a,2))throw new Error("malformed PKCS8 public key(code:001)");var s=n(e,a);if(2!=s.length)throw new Error("malformed PKCS8 public key(code:002)");if("06"!=e.substr(s[0],2))throw new Error("malformed PKCS8 public key(code:003)");if(i.algoid=r(e,s[0]),"06"==e.substr(s[1],2)?i.algparam=r(e,s[1]):"30"==e.substr(s[1],2)&&(i.algparam={},i.algparam.p=t.getVbyList(e,s[1],[0],"02"),i.algparam.q=t.getVbyList(e,s[1],[1],"02"),i.algparam.g=t.getVbyList(e,s[1],[2],"02")),"03"!=e.substr(o[1],2))throw new Error("malformed PKCS8 public key(code:004)");return i.key=r(e,o[1]).substr(2),i}}}();function ke(e,t){for(var n="",r=t/4-e.length,i=0;i<r;i++)n+="0";return n+e}function je(e,t,n){for(var r="",i=0;r.length<t;)r+=de(n(pe(e+String.fromCharCode.apply(String,[(4278190080&i)>>24,(16711680&i)>>16,(65280&i)>>8,255&i])))),i+=1;return r}function Ue(e){for(var t in ee.crypto.Util.DIGESTINFOHEAD){var n=ee.crypto.Util.DIGESTINFOHEAD[t],r=n.length;if(e.substring(0,r)==n)return[t,e.substring(r)]}return[]}function We(e){var t,n=re,r=n.getChildIdx,i=n.getV,o=(n.dump,n.parse),a=n.getTLV,s=n.getVbyList,u=n.getVbyListEx,c=n.getTLVbyList,l=n.getTLVbyListEx,f=n.getIdxbyList,h=n.getIdxbyListEx,d=n.getVidx,p=n.getInt,g=n.oidname,m=n.hextooidstr,v=me,E=Error;try{t=ee.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV}catch(W){}this.HEX2STAG={"0c":"utf8",13:"prn",16:"ia5","1a":"vis","1e":"bmp"},this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){if(null===this.hex||0!==this.version)return this.version;var e=c(this.hex,0,[0,0]);if("a0"==e.substr(0,2)){var t=c(e,0,[0]),n=p(t,0);if(n<0||2<n)throw new Error("malformed version field");return this.version=n+1,this.version}return this.version=1,this.foffset=-1,1},this.getSerialNumberHex=function(){return u(this.hex,0,[0,0],"02")},this.getSignatureAlgorithmField=function(){var e=l(this.hex,0,[0,1]);return this.getAlgorithmIdentifierName(e)},this.getAlgorithmIdentifierName=function(e){for(var n in t)if(e===t[n])return n;return g(u(e,0,[0],"06"))},this.getIssuer=function(e,t){return this.getX500Name(this.getIssuerHex(),e,t)},this.getIssuerHex=function(){return c(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return this.getIssuer().str},this.getSubject=function(e,t){return this.getX500Name(this.getSubjectHex(),e,t)},this.getSubjectHex=function(){return c(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return this.getSubject().str},this.getNotBefore=function(){var e=s(this.hex,0,[0,4+this.foffset,0]);return e=e.replace(/(..)/g,"%$1"),decodeURIComponent(e)},this.getNotAfter=function(){var e=s(this.hex,0,[0,4+this.foffset,1]);return e=e.replace(/(..)/g,"%$1"),decodeURIComponent(e)},this.getPublicKeyHex=function(){return this.getSPKI()},this.getSPKI=function(){return c(this.hex,0,[0,6+this.foffset],"30")},this.getSPKIValue=function(){var e=this.getSPKI();return null==e?null:s(e,0,[1],"03",!0)},this.getPublicKeyIdx=function(){return f(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var e=this.getPublicKeyIdx();return f(this.hex,e,[1,0],"30")},this.getPublicKey=function(){return He.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){var e=c(this.hex,0,[1],"30");return this.getAlgorithmIdentifierName(e)},this.getSignatureValueHex=function(){return s(this.hex,0,[2],"03",!0)},this.verifySignature=function(e){var t=this.getSignatureAlgorithmField(),n=this.getSignatureValueHex(),r=c(this.hex,0,[0],"30"),i=new ee.crypto.Signature({alg:t});return i.init(e),i.updateHex(r),i.verify(n)},this.parseExt=function(e){var t,o,a;if(void 0===e){if(a=this.hex,3!==this.version)return-1;t=f(a,0,[0,7,0],"30"),o=r(a,t)}else{a=me(e);var u=f(a,0,[0,3,0,0],"06");if("2a864886f70d01090e"!=i(a,u))return void(this.aExtInfo=new Array);t=f(a,0,[0,3,0,1,0],"30"),o=r(a,t),this.hex=a}this.aExtInfo=new Array;for(var c=0;c<o.length;c++){var l={critical:!1},h=0;3===r(a,o[c]).length&&(l.critical=!0,h=1),l.oid=n.hextooidstr(s(a,o[c],[0],"06"));var p=f(a,o[c],[1+h]);l.vidx=d(a,p),this.aExtInfo.push(l)}},this.getExtInfo=function(e){var t=this.aExtInfo,n=e;if(e.match(/^[0-9.]+$/)||(n=ee.asn1.x509.OID.name2oid(e)),""!==n)for(var r=0;r<t.length;r++)if(t[r].oid===n)return t[r]},this.getCriticalExtV=function(e,t,n){if(void 0!=t)return[t,n];var r=this.getExtInfo(e);return void 0==r?[null,null]:[a(this.hex,r.vidx),r.critical]},this.getExtBasicConstraints=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("basicConstraints");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var r={extname:"basicConstraints"};if(t&&(r.critical=!0),"3000"===e)return r;if("30030101ff"===e)return r.cA=!0,r;if("30060101ff02"===e.substr(0,12)){var o=i(e,10),s=parseInt(o,16);return r.cA=!0,r.pathLen=s,r}throw new Error("hExtV parse error: "+e)},this.getExtNameConstraints=function(e,t){var n=this.getCriticalExtV("nameConstraints",e,t);if(e=n[0],t=n[1],null!=e){var i={extname:"nameConstraints"};t&&(i.critical=!0);for(var o=r(e,0),s=0;s<o.length;s++){for(var u=[],c=r(e,o[s]),l=0;l<c.length;l++){var f=a(e,c[l]),h=this.getGeneralSubtree(f);u.push(h)}var d=e.substr(o[s],2);"a0"==d?i.permit=u:"a1"==d&&(i.exclude=u)}return i}},this.getGeneralSubtree=function(e){var t=r(e,0),n=t.length;if(n<1||2<n)throw new Error("wrong num elements");for(var o=this.getGeneralName(a(e,t[0])),s=1;s<n;s++){var u=e.substr(t[s],2),c=i(e,t[s]),l=parseInt(c,16);"80"==u&&(o.min=l),"81"==u&&(o.max=l)}return o},this.getExtKeyUsage=function(e,t){var n=this.getCriticalExtV("keyUsage",e,t);if(e=n[0],t=n[1],null!=e){var r={extname:"keyUsage"};return t&&(r.critical=!0),r.names=this.getExtKeyUsageString(e).split(","),r}},this.getExtKeyUsageBin=function(e){if(void 0===e){var t=this.getExtInfo("keyUsage");if(void 0===t)return"";e=a(this.hex,t.vidx)}if(8!=e.length&&10!=e.length)throw new Error("malformed key usage value: "+e);var n="000000000000000"+parseInt(e.substr(6),16).toString(2);return 8==e.length&&(n=n.slice(-8)),10==e.length&&(n=n.slice(-16)),""==(n=n.replace(/0+$/,""))&&(n="0"),n},this.getExtKeyUsageString=function(e){for(var t=this.getExtKeyUsageBin(e),n=new Array,r=0;r<t.length;r++)"1"==t.substr(r,1)&&n.push(We.KEYUSAGE_NAME[r]);return n.join(",")},this.getExtSubjectKeyIdentifier=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("subjectKeyIdentifier");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var r={extname:"subjectKeyIdentifier"};t&&(r.critical=!0);var o=i(e,0);return r.kid={hex:o},r},this.getExtAuthorityKeyIdentifier=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("authorityKeyIdentifier");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var o={extname:"authorityKeyIdentifier"};t&&(o.critical=!0);for(var s=r(e,0),u=0;u<s.length;u++){var c=e.substr(s[u],2);if("80"===c&&(o.kid={hex:i(e,s[u])}),"a1"===c){var l=a(e,s[u]),f=this.getGeneralNames(l);o.issuer=f[0].dn}"82"===c&&(o.sn={hex:i(e,s[u])})}return o},this.getExtExtKeyUsage=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("extKeyUsage");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var o={extname:"extKeyUsage",array:[]};t&&(o.critical=!0);for(var s=r(e,0),u=0;u<s.length;u++)o.array.push(g(i(e,s[u])));return o},this.getExtExtKeyUsageName=function(){var e=this.getExtInfo("extKeyUsage");if(void 0===e)return e;var t=new Array,n=a(this.hex,e.vidx);if(""===n)return t;for(var o=r(n,0),s=0;s<o.length;s++)t.push(g(i(n,o[s])));return t},this.getExtSubjectAltName=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("subjectAltName");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var r={extname:"subjectAltName",array:[]};return t&&(r.critical=!0),r.array=this.getGeneralNames(e),r},this.getExtIssuerAltName=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("issuerAltName");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var r={extname:"issuerAltName",array:[]};return t&&(r.critical=!0),r.array=this.getGeneralNames(e),r},this.getGeneralNames=function(e){for(var t=r(e,0),n=[],i=0;i<t.length;i++){var o=this.getGeneralName(a(e,t[i]));void 0!==o&&n.push(o)}return n},this.getGeneralName=function(e){var t=e.substr(0,2),n=i(e,0),r=de(n);return"81"==t?{rfc822:r}:"82"==t?{dns:r}:"86"==t?{uri:r}:"87"==t?{ip:De(n)}:"a4"==t?{dn:this.getX500Name(n)}:"a0"==t?{other:this.getOtherName(e)}:void 0},this.getExtSubjectAltName2=function(){var e,t,n,o=this.getExtInfo("subjectAltName");if(void 0===o)return o;for(var s=new Array,u=a(this.hex,o.vidx),c=r(u,0),l=0;l<c.length;l++)n=u.substr(c[l],2),e=i(u,c[l]),"81"===n&&(t=fe(e),s.push(["MAIL",t])),"82"===n&&(t=fe(e),s.push(["DNS",t])),"84"===n&&(t=We.hex2dn(e,0),s.push(["DN",t])),"86"===n&&(t=fe(e),s.push(["URI",t])),"87"===n&&(t=De(e),s.push(["IP",t]));return s},this.getExtCRLDistributionPoints=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("cRLDistributionPoints");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var i={extname:"cRLDistributionPoints",array:[]};t&&(i.critical=!0);for(var o=r(e,0),s=0;s<o.length;s++){var u=a(e,o[s]);i.array.push(this.getDistributionPoint(u))}return i},this.getDistributionPoint=function(e){for(var t={},n=r(e,0),i=0;i<n.length;i++){var o=e.substr(n[i],2),s=a(e,n[i]);"a0"==o&&(t.dpname=this.getDistributionPointName(s))}return t},this.getDistributionPointName=function(e){for(var t={},n=r(e,0),i=0;i<n.length;i++){var o=e.substr(n[i],2),s=a(e,n[i]);"a0"==o&&(t.full=this.getGeneralNames(s))}return t},this.getExtCRLDistributionPointsURI=function(){var e=this.getExtCRLDistributionPoints();if(void 0==e)return e;for(var t=e.array,n=[],r=0;r<t.length;r++)try{void 0!=t[r].dpname.full[0].uri&&n.push(t[r].dpname.full[0].uri)}catch(i){}return n},this.getExtAIAInfo=function(){var e=this.getExtInfo("authorityInfoAccess");if(void 0===e)return e;for(var t={ocsp:[],caissuer:[]},n=r(this.hex,e.vidx),i=0;i<n.length;i++){var o=s(this.hex,n[i],[0],"06"),a=s(this.hex,n[i],[1],"86");"2b06010505073001"===o&&t.ocsp.push(fe(a)),"2b06010505073002"===o&&t.caissuer.push(fe(a))}return t},this.getExtAuthorityInfoAccess=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("authorityInfoAccess");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var i={extname:"authorityInfoAccess",array:[]};t&&(i.critical=!0);for(var o=r(e,0),c=0;c<o.length;c++){var l=u(e,o[c],[0],"06"),f=fe(s(e,o[c],[1],"86"));if("2b06010505073001"==l)i.array.push({ocsp:f});else{if("2b06010505073002"!=l)throw new Error("unknown method: "+l);i.array.push({caissuer:f})}}return i},this.getExtCertificatePolicies=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("certificatePolicies");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var i={extname:"certificatePolicies",array:[]};t&&(i.critical=!0);for(var o=r(e,0),s=0;s<o.length;s++){var u=a(e,o[s]),c=this.getPolicyInformation(u);i.array.push(c)}return i},this.getPolicyInformation=function(e){var t={},n=s(e,0,[0],"06");t.policyoid=g(n);var i=h(e,0,[1],"30");if(-1!=i){t.array=[];for(var o=r(e,i),u=0;u<o.length;u++){var c=a(e,o[u]),l=this.getPolicyQualifierInfo(c);t.array.push(l)}}return t},this.getOtherName=function(e){var t={},n=r(e,0),i=s(e,n[0],[],"06"),a=s(e,n[1],[]);return t.oid=g(i),t.value=o(a),t},this.getPolicyQualifierInfo=function(e){var t={},n=s(e,0,[0],"06");if("2b06010505070201"===n){var r=u(e,0,[1],"16");t.cps=de(r)}else if("2b06010505070202"===n){var i=c(e,0,[1],"30");t.unotice=this.getUserNotice(i)}return t},this.getUserNotice=function(e){var t=null;try{return t=n.parse(e),this._asn1ToUnotice(t)}catch(r){return}},this._asn1ToUnotice=function(e){try{for(var t={},n=Le(e,"seq"),r=0;r<n.length;r++){var i=this._asn1ToNoticeRef(n[r]);void 0!=i&&(t.noticeref=i);var o=this.asn1ToDisplayText(n[r]);void 0!=o&&(t.exptext=o)}return Object.keys(t).length>0?t:void 0}catch(a){return}},this._asn1ToNoticeRef=function(e){try{for(var t={},n=Le(e,"seq"),r=0;r<n.length;r++){var i=this._asn1ToNoticeNum(n[r]);void 0!=i&&(t.noticenum=i);var o=this.asn1ToDisplayText(n[r]);void 0!=o&&(t.org=o)}return Object.keys(t).length>0?t:void 0}catch(a){return}},this._asn1ToNoticeNum=function(e){try{for(var t=Le(e,"seq"),n=[],r=0;r<t.length;r++){var i=t[r];n.push(parseInt(Le(i,"int.hex"),16))}return n}catch(o){return}},this.getDisplayText=function(e){var t={};return t.type={"0c":"utf8",16:"ia5","1a":"vis","1e":"bmp"}[e.substr(0,2)],t.str=de(i(e,0)),t},this.asn1ToDisplayText=function(e){return void 0!=e.utf8str?{type:"utf8",str:e.utf8str.str}:void 0!=e.ia5str?{type:"ia5",str:e.ia5str.str}:void 0!=e.visstr?{type:"vis",str:e.visstr.str}:void 0!=e.bmpstr?{type:"bmp",str:e.bmpstr.str}:void 0!=e.prnstr?{type:"prn",str:e.prnstr.str}:void 0},this.getExtPolicyMappings=function(e,t){var n=this.getCriticalExtV("policyMappings",e,t);if(e=n[0],t=n[1],null!=e){var r={extname:"policyMappings"};t&&(r.critical=!0);try{for(var i=o(e).seq,a=[],s=0;s<i.length;s++){var u=i[s].seq;a.push([u[0].oid,u[1].oid])}r.array=a}catch(c){throw new E("malformed policyMappings")}return r}},this.getExtPolicyConstraints=function(e,t){var n=this.getCriticalExtV("policyConstraints",e,t);if(e=n[0],t=n[1],null!=e){var r={extname:"policyConstraints"};t&&(r.critical=!0);var i=o(e);try{for(var a=i.seq,s=0;s<a.length;s++){var u=a[s].tag;0==u.explicit&&("80"==u.tag&&(r.reqexp=parseInt(u.hex,16)),"81"==u.tag&&(r.inhibit=parseInt(u.hex,16)))}}catch(c){return new E("malformed policyConstraints value")}return r}},this.getExtInhibitAnyPolicy=function(e,t){var n=this.getCriticalExtV("inhibitAnyPolicy",e,t);if(e=n[0],t=n[1],null!=e){var r={extname:"inhibitAnyPolicy"};t&&(r.critical=!0);var i=p(e,0);return-1==i?new E("wrong value"):(r.skip=i,r)}},this.getExtCRLNumber=function(e,t){var n={extname:"cRLNumber"};if(t&&(n.critical=!0),"02"==e.substr(0,2))return n.num={hex:i(e,0)},n;throw new E("hExtV parse error: "+e)},this.getExtCRLReason=function(e,t){var n={extname:"cRLReason"};if(t&&(n.critical=!0),"0a"==e.substr(0,2))return n.code=parseInt(i(e,0),16),n;throw new Error("hExtV parse error: "+e)},this.getExtOcspNonce=function(e,t){var n={extname:"ocspNonce"};t&&(n.critical=!0);var r=i(e,0);return n.hex=r,n},this.getExtOcspNoCheck=function(e,t){var n={extname:"ocspNoCheck"};return t&&(n.critical=!0),n},this.getExtAdobeTimeStamp=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("adobeTimeStamp");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var i={extname:"adobeTimeStamp"};t&&(i.critical=!0);var o=r(e,0);if(o.length>1){var s=a(e,o[1]),u=this.getGeneralName(s);void 0!=u.uri&&(i.uri=u.uri)}if(o.length>2){var c=a(e,o[2]);"0101ff"==c&&(i.reqauth=!0),"010100"==c&&(i.reqauth=!1)}return i},this.getExtSubjectDirectoryAttributes=function(e,t){if(void 0===e&&void 0===t){var n=this.getExtInfo("subjectDirectoryAttributes");if(void 0===n)return;e=a(this.hex,n.vidx),t=n.critical}var r={extname:"subjectDirectoryAttributes"};t&&(r.critical=!0);try{for(var i=o(e),s=[],u=0;u<i.seq.length;u++){var c=i.seq[u],l=Le(c,"seq.0.oid"),f=Le(c,"seq.1.set");if(void 0==l||void 0==f)throw"error";s.push({attr:l,array:f})}return r.array=s,r}catch(h){throw new Error("malformed subjectDirectoryAttributes extension value")}};var _=function(e){var t={};try{var n=e.seq[0].oid,r=ee.asn1.x509.OID.name2oid(n);t.type=ee.asn1.x509.OID.oid2atype(r);var i=e.seq[1];if(void 0!=i.utf8str)t.ds="utf8",t.value=i.utf8str.str;else if(void 0!=i.numstr)t.ds="num",t.value=i.numstr.str;else if(void 0!=i.telstr)t.ds="tel",t.value=i.telstr.str;else if(void 0!=i.prnstr)t.ds="prn",t.value=i.prnstr.str;else if(void 0!=i.ia5str)t.ds="ia5",t.value=i.ia5str.str;else if(void 0!=i.visstr)t.ds="vis",t.value=i.visstr.str;else{if(void 0==i.bmpstr)throw"error";t.ds="bmp",t.value=i.bmpstr.str}return t}catch(o){throw new Erorr("improper ASN.1 parsed AttrTypeAndValue")}},y=function(e){try{return e.set.map((function(e){return _(e)}))}catch(K){throw new Error("improper ASN.1 parsed RDN: "+K)}};this.getX500NameRule=function(e){for(var t=null,n=[],r=0;r<e.length;r++)for(var i=e[r],o=0;o<i.length;o++)n.push(i[o]);for(r=0;r<n.length;r++){var a=n[r],s=a.ds,u=a.value,c=a.type;if("prn"!=s&&"utf8"!=s&&"ia5"!=s)return"mixed";if("ia5"==s){if("CN"!=c)return"mixed";if(ee.lang.String.isMail(u))continue;return"mixed"}if("C"==c){if("prn"==s)continue;return"mixed"}if(null==t)t=s;else if(t!==s)return"mixed"}return null==t?"prn":t},this.getAttrTypeAndValue=function(e){var t=o(e);return _(t)},this.getRDN=function(e){var t=o(e);return y(t)},this.getX500NameArray=function(e){return function(t){try{return t.seq.map((function(e){return y(e)}))}catch(e){throw new Error("improper ASN.1 parsed X500Name: "+e)}}(o(e))},this.getX500Name=function(e,t,n){var r=this.getX500NameArray(e),i={str:this.dnarraytostr(r)};return i.array=r,1==n&&(i.hex=e),1==t&&(i.canon=this.c14nRDNArray(r)),i},this.readCertPEM=function(e){this.readCertHex(v(e))},this.readCertHex=function(e){this.hex=e,this.getVersion();try{f(this.hex,0,[0,7],"a3"),this.parseExt()}catch(t){}},this.getParam=function(e){var t={};return void 0==e&&(e={}),t.version=this.getVersion(),t.serial={hex:this.getSerialNumberHex()},t.sigalg=this.getSignatureAlgorithmField(),t.issuer=this.getIssuer(e.dncanon,e.dnhex),t.notbefore=this.getNotBefore(),t.notafter=this.getNotAfter(),t.subject=this.getSubject(e.dncanon,e.dnhex),t.sbjpubkey=ge(this.getPublicKeyHex(),"PUBLIC KEY"),void 0!=this.aExtInfo&&this.aExtInfo.length>0&&(t.ext=this.getExtParamArray()),t.sighex=this.getSignatureValueHex(),1==e.tbshex&&(t.tbshex=c(this.hex,0,[0])),1==e.nodnarray&&(delete t.issuer.array,delete t.subject.array),t},this.getExtParamArray=function(e){void 0==e&&-1!=h(this.hex,0,[0,"[3]"])&&(e=l(this.hex,0,[0,"[3]",0],"30"));for(var t=[],n=r(e,0),i=0;i<n.length;i++){var o=a(e,n[i]),s=this.getExtParam(o);null!=s&&t.push(s)}return t},this.getExtParam=function(e){var t=r(e,0).length;if(2!=t&&3!=t)throw new Error("wrong number elements in Extension: "+t+" "+e);var n=m(s(e,0,[0],"06")),i=!1;3==t&&"0101ff"==c(e,0,[1])&&(i=!0);var a=c(e,0,[t-1,0]),u=void 0;if("2.5.29.14"==n?u=this.getExtSubjectKeyIdentifier(a,i):"2.5.29.15"==n?u=this.getExtKeyUsage(a,i):"2.5.29.17"==n?u=this.getExtSubjectAltName(a,i):"2.5.29.18"==n?u=this.getExtIssuerAltName(a,i):"2.5.29.19"==n?u=this.getExtBasicConstraints(a,i):"2.5.29.30"==n?u=this.getExtNameConstraints(a,i):"2.5.29.31"==n?u=this.getExtCRLDistributionPoints(a,i):"2.5.29.32"==n?u=this.getExtCertificatePolicies(a,i):"2.5.29.33"==n?u=this.getExtPolicyMappings(a,i):"2.5.29.35"==n?u=this.getExtAuthorityKeyIdentifier(a,i):"2.5.29.36"==n?u=this.getExtPolicyConstraints(a,i):"2.5.29.37"==n?u=this.getExtExtKeyUsage(a,i):"2.5.29.54"==n?u=this.getExtInhibitAnyPolicy(a,i):"1.3.6.1.5.5.7.1.1"==n?u=this.getExtAuthorityInfoAccess(a,i):"2.5.29.20"==n?u=this.getExtCRLNumber(a,i):"2.5.29.21"==n?u=this.getExtCRLReason(a,i):"2.5.29.9"==n?u=this.getExtSubjectDirectoryAttributes(a,i):"1.3.6.1.5.5.7.48.1.2"==n?u=this.getExtOcspNonce(a,i):"1.3.6.1.5.5.7.48.1.5"==n?u=this.getExtOcspNoCheck(a,i):"1.2.840.113583.1.1.9.1"==n?u=this.getExtAdobeTimeStamp(a,i):void 0!=We.EXT_PARSER[n]&&(u=We.EXT_PARSER[n](n,i,a)),void 0!=u)return u;var l={extname:n,extn:a};try{l.extn=o(a)}catch(f){}return i&&(l.critical=!0),l},this.findExt=function(e,t){for(var n=0;n<e.length;n++)if(e[n].extname==t)return e[n];return null},this.updateExtCDPFullURI=function(e,t){var n=this.findExt(e,"cRLDistributionPoints");if(null!=n&&void 0!=n.array)for(var r=n.array,i=0;i<r.length;i++)if(void 0!=r[i].dpname&&void 0!=r[i].dpname.full)for(var o=r[i].dpname.full,a=0;a<o.length;a++){var s=o[i];void 0!=s.uri&&(s.uri=t)}},this.updateExtAIAOCSP=function(e,t){var n=this.findExt(e,"authorityInfoAccess");if(null!=n&&void 0!=n.array)for(var r=n.array,i=0;i<r.length;i++)void 0!=r[i].ocsp&&(r[i].ocsp=t)},this.updateExtAIACAIssuer=function(e,t){var n=this.findExt(e,"authorityInfoAccess");if(null!=n&&void 0!=n.array)for(var r=n.array,i=0;i<r.length;i++)void 0!=r[i].caissuer&&(r[i].caissuer=t)},this.dnarraytostr=function(e){return"/"+e.map((function(e){return function(e){return e.map((function(e){return function(e){return e.type+"="+e.value}(e).replace(/\+/,"\\+")})).join("+")}(e).replace(/\//,"\\/")})).join("/")},this.setCanonicalizedDN=function(e){var t;if(void 0!=e.str&&void 0==e.array){var n=new ee.asn1.x509.X500Name({str:e.str}).tohex();t=this.getX500NameArray(n)}else t=e.array;void 0==e.canon&&(e.canon=this.c14nRDNArray(t))},this.c14nRDNArray=function(e){for(var t=[],n=0;n<e.length;n++){for(var r=e[n],i=[],o=0;o<r.length;o++){var a=r[o],s=a.value;s=(s=(s=(s=s.replace(/^\s*/,"")).replace(/\s*$/,"")).replace(/\s+/g," ")).toLowerCase(),i.push(a.type.toLowerCase()+"="+s)}t.push(i.join("+"))}return"/"+t.join("/")},this.getInfo=function(){var e,t,n,r=function(e){for(var t="",n=" ",r="\n",i=e.array,o=0;o<i.length;o++){var a=i[o];void 0!=a.dn&&(t+=n+"dn: "+a.dn.str+r),void 0!=a.ip&&(t+=n+"ip: "+a.ip+r),void 0!=a.rfc822&&(t+=n+"rfc822: "+a.rfc822+r),void 0!=a.dns&&(t+=n+"dns: "+a.dns+r),void 0!=a.uri&&(t+=n+"uri: "+a.uri+r),void 0!=a.other&&(t+=n+"other: "+a.other.oid+"="+JSON.stringify(a.other.value).replace(/\"/g,"")+r)}return t.replace(/\n$/,"")},i=function(e){for(var t="",n=e.array,r=0;r<n.length;r++){var i=n[r];if(t+=" policy oid: "+i.policyoid+"\n",void 0!==i.array)for(var o=0;o<i.array.length;o++){var a=i.array[o];void 0!==a.cps&&(t+=" cps: "+a.cps+"\n")}}return t},o=function(e){for(var t="",n=e.array,r=0;r<n.length;r++){var i=n[r];try{void 0!==i.dpname.full[0].uri&&(t+=" "+i.dpname.full[0].uri+"\n")}catch(o){}try{void 0!==i.dname.full[0].dn.hex&&(t+=" "+We.hex2dn(i.dpname.full[0].dn.hex)+"\n")}catch(o){}}return t},a=function(e){for(var t="",n=e.array,r=0;r<n.length;r++){var i=n[r];void 0!==i.caissuer&&(t+=" caissuer: "+i.caissuer+"\n"),void 0!==i.ocsp&&(t+=" ocsp: "+i.ocsp+"\n")}return t};if(e="Basic Fields\n",e+=" serial number: "+this.getSerialNumberHex()+"\n",e+=" signature algorithm: "+this.getSignatureAlgorithmField()+"\n",e+=" issuer: "+this.getIssuerString()+"\n",e+=" notBefore: "+this.getNotBefore()+"\n",e+=" notAfter: "+this.getNotAfter()+"\n",e+=" subject: "+this.getSubjectString()+"\n",e+=" subject public key info: \n",e+=" key algorithm: "+(t=this.getPublicKey()).type+"\n","RSA"===t.type&&(e+=" n="+xe(t.n.toString(16)).substr(0,16)+"...\n",e+=" e="+xe(t.e.toString(16))+"\n"),void 0!==(n=this.aExtInfo)&&null!==n){e+="X509v3 Extensions:\n";for(var s=0;s<n.length;s++){var u=n[s],c=ee.asn1.x509.OID.oid2name(u.oid);""===c&&(c=u.oid);var l="";if(!0===u.critical&&(l="CRITICAL"),e+=" "+c+" "+l+":\n","basicConstraints"===c){var f=this.getExtBasicConstraints();void 0===f.cA?e+=" {}\n":(e+=" cA=true",void 0!==f.pathLen&&(e+=", pathLen="+f.pathLen),e+="\n")}else{var h;if("policyMappings"==c)e+=" "+this.getExtPolicyMappings().array.map((function(e){var t=e;return t[0]+":"+t[1]})).join(", ")+"\n";else if("policyConstraints"==c)e+=" ",void 0!=(h=this.getExtPolicyConstraints()).reqexp&&(e+=" reqexp="+h.reqexp),void 0!=h.inhibit&&(e+=" inhibit="+h.inhibit),e+="\n";else if("inhibitAnyPolicy"==c)e+=" skip="+(h=this.getExtInhibitAnyPolicy()).skip+"\n";else if("keyUsage"==c)e+=" "+this.getExtKeyUsageString()+"\n";else if("subjectKeyIdentifier"==c)e+=" "+this.getExtSubjectKeyIdentifier().kid.hex+"\n";else if("authorityKeyIdentifier"==c){var d=this.getExtAuthorityKeyIdentifier();void 0!==d.kid&&(e+=" kid="+d.kid.hex+"\n")}else"extKeyUsage"==c?e+=" "+this.getExtExtKeyUsage().array.join(", ")+"\n":"subjectAltName"==c?e+=r(this.getExtSubjectAltName())+"\n":"cRLDistributionPoints"==c?e+=o(this.getExtCRLDistributionPoints()):"authorityInfoAccess"==c?e+=a(this.getExtAuthorityInfoAccess()):"certificatePolicies"==c&&(e+=i(this.getExtCertificatePolicies()))}}}return(e+="signature algorithm: "+this.getSignatureAlgorithmName()+"\n")+"signature: "+this.getSignatureValueHex().substr(0,16)+"...\n"},"string"==typeof e&&(-1!=e.indexOf("-----BEGIN")?this.readCertPEM(e):ee.lang.String.isHex(e)&&this.readCertHex(e))}He.getKey=function(e,t,n){var r,i=(E=re).getChildIdx,o=(E.getV,E.getVbyList),a=ee.crypto,s=a.ECDSA,u=a.DSA,c=J,l=me,f=He;if("undefined"!=typeof c&&e instanceof c)return e;if("undefined"!=typeof s&&e instanceof s)return e;if("undefined"!=typeof u&&e instanceof u)return e;if(void 0!==e.curve&&void 0!==e.xy&&void 0===e.d)return new s({pub:e.xy,curve:e.curve});if(void 0!==e.curve&&void 0!==e.d)return new s({prv:e.d,curve:e.curve});if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0===e.d)return(O=new c).setPublic(e.n,e.e),O;if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0!==e.p&&void 0!==e.q&&void 0!==e.dp&&void 0!==e.dq&&void 0!==e.co&&void 0===e.qi)return(O=new c).setPrivateEx(e.n,e.e,e.d,e.p,e.q,e.dp,e.dq,e.co),O;if(void 0===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0===e.p)return(O=new c).setPrivate(e.n,e.e,e.d),O;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0===e.x)return(O=new u).setPublic(e.p,e.q,e.g,e.y),O;if(void 0!==e.p&&void 0!==e.q&&void 0!==e.g&&void 0!==e.y&&void 0!==e.x)return(O=new u).setPrivate(e.p,e.q,e.g,e.y,e.x),O;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0===e.d)return(O=new c).setPublic(ce(e.n),ce(e.e)),O;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d&&void 0!==e.p&&void 0!==e.q&&void 0!==e.dp&&void 0!==e.dq&&void 0!==e.qi)return(O=new c).setPrivateEx(ce(e.n),ce(e.e),ce(e.d),ce(e.p),ce(e.q),ce(e.dp),ce(e.dq),ce(e.qi)),O;if("RSA"===e.kty&&void 0!==e.n&&void 0!==e.e&&void 0!==e.d)return(O=new c).setPrivate(ce(e.n),ce(e.e),ce(e.d)),O;if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0===e.d){var d=(I=new s({curve:e.crv})).ecparams.keycharlen,p="04"+("0000000000"+ce(e.x)).slice(-d)+("0000000000"+ce(e.y)).slice(-d);return I.setPublicKeyHex(p),I}if("EC"===e.kty&&void 0!==e.crv&&void 0!==e.x&&void 0!==e.y&&void 0!==e.d){d=(I=new s({curve:e.crv})).ecparams.keycharlen,p="04"+("0000000000"+ce(e.x)).slice(-d)+("0000000000"+ce(e.y)).slice(-d);var g=("0000000000"+ce(e.d)).slice(-d);return I.setPublicKeyHex(p),I.setPrivateKeyHex(g),I}if("pkcs5prv"===n){var m,v=e,E=re;if(9===(m=i(v,0)).length)(O=new c).readPKCS5PrvKeyHex(v);else if(6===m.length)(O=new u).readPKCS5PrvKeyHex(v);else{if(!(m.length>2&&"04"===v.substr(m[1],2)))throw new Error("unsupported PKCS#1/5 hexadecimal key");(O=new s).readPKCS5PrvKeyHex(v)}return O}if("pkcs8prv"===n)return f.getKeyFromPlainPrivatePKCS8Hex(e);if("pkcs8pub"===n)return f._getKeyFromPublicPKCS8Hex(e);if("x509pub"===n)return We.getPublicKeyFromCertHex(e);if(-1!=e.indexOf("-END CERTIFICATE-",0)||-1!=e.indexOf("-END X509 CERTIFICATE-",0)||-1!=e.indexOf("-END TRUSTED CERTIFICATE-",0))return We.getPublicKeyFromCertPEM(e);if(-1!=e.indexOf("-END PUBLIC KEY-")){var _=me(e,"PUBLIC KEY");return f._getKeyFromPublicPKCS8Hex(_)}if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var y=l(e,"RSA PRIVATE KEY");return f.getKey(y,null,"pkcs5prv")}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED")){var S=o(r=l(e,"DSA PRIVATE KEY"),0,[1],"02"),D=o(r,0,[2],"02"),w=o(r,0,[3],"02"),b=o(r,0,[4],"02"),A=o(r,0,[5],"02");return(O=new u).setPrivate(new h(S,16),new h(D,16),new h(w,16),new h(b,16),new h(A,16)),O}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1==e.indexOf("4,ENCRYPTED"))return y=l(e,"EC PRIVATE KEY"),f.getKey(y,null,"pkcs5prv");if(-1!=e.indexOf("-END PRIVATE KEY-"))return f.getKeyFromPlainPrivatePKCS8PEM(e);if(-1!=e.indexOf("-END RSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var C=f.getDecryptedKeyHex(e,t),T=new J;return T.readPKCS5PrvKeyHex(C),T}if(-1!=e.indexOf("-END EC PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED")){var I,O=o(r=f.getDecryptedKeyHex(e,t),0,[1],"04"),x=o(r,0,[2,0],"06"),F=o(r,0,[3,0],"03").substr(2);if(void 0===ee.crypto.OID.oidhex2name[x])throw new Error("undefined OID(hex) in KJUR.crypto.OID: "+x);return(I=new s({curve:ee.crypto.OID.oidhex2name[x]})).setPublicKeyHex(F),I.setPrivateKeyHex(O),I.isPublic=!1,I}if(-1!=e.indexOf("-END DSA PRIVATE KEY-")&&-1!=e.indexOf("4,ENCRYPTED"))return S=o(r=f.getDecryptedKeyHex(e,t),0,[1],"02"),D=o(r,0,[2],"02"),w=o(r,0,[3],"02"),b=o(r,0,[4],"02"),A=o(r,0,[5],"02"),(O=new u).setPrivate(new h(S,16),new h(D,16),new h(w,16),new h(b,16),new h(A,16)),O;if(-1!=e.indexOf("-END ENCRYPTED PRIVATE KEY-"))return f.getKeyFromEncryptedPKCS8PEM(e,t);throw new Error("not supported argument")},He.generateKeypair=function(e,t){if("RSA"==e){var n=t;(a=new J).generate(n,"10001"),a.isPrivate=!0,a.isPublic=!0;var r=new J,i=a.n.toString(16),o=a.e.toString(16);return r.setPublic(i,o),r.isPrivate=!1,r.isPublic=!0,(s={}).prvKeyObj=a,s.pubKeyObj=r,s}if("EC"==e){var a,s,u=t,c=new ee.crypto.ECDSA({curve:u}).generateKeyPairHex();return(a=new ee.crypto.ECDSA({curve:u})).setPublicKeyHex(c.ecpubhex),a.setPrivateKeyHex(c.ecprvhex),a.isPrivate=!0,a.isPublic=!1,(r=new ee.crypto.ECDSA({curve:u})).setPublicKeyHex(c.ecpubhex),r.isPrivate=!1,r.isPublic=!0,(s={}).prvKeyObj=a,s.pubKeyObj=r,s}throw new Error("unknown algorithm: "+e)},He.getPEM=function(e,t,n,r,i,o){var a=ee,s=a.asn1,u=s.DERObjectIdentifier,c=s.DERInteger,l=s.ASN1Util.newObject,f=s.x509.SubjectPublicKeyInfo,h=a.crypto,d=h.DSA,p=h.ECDSA,g=J;function m(e){return l({seq:[{int:0},{int:{bigint:e.n}},{int:e.e},{int:{bigint:e.d}},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.dmp1}},{int:{bigint:e.dmq1}},{int:{bigint:e.coeff}}]})}function v(e){return l({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a0",!0,{oid:{name:e.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]})}function E(e){return l({seq:[{int:0},{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}},{int:{bigint:e.y}},{int:{bigint:e.x}}]})}if((void 0!==g&&e instanceof g||void 0!==d&&e instanceof d||void 0!==p&&e instanceof p)&&1==e.isPublic&&(void 0===t||"PKCS8PUB"==t))return ge(D=new f(e).tohex(),"PUBLIC KEY");if("PKCS1PRV"==t&&void 0!==g&&e instanceof g&&(void 0===n||null==n)&&1==e.isPrivate)return ge(D=m(e).tohex(),"RSA PRIVATE KEY");if("PKCS1PRV"==t&&void 0!==p&&e instanceof p&&(void 0===n||null==n)&&1==e.isPrivate){var _=new u({name:e.curveName}).tohex(),y=v(e).tohex(),S="";return(S+=ge(_,"EC PARAMETERS"))+ge(y,"EC PRIVATE KEY")}if("PKCS1PRV"==t&&void 0!==d&&e instanceof d&&(void 0===n||null==n)&&1==e.isPrivate)return ge(D=E(e).tohex(),"DSA PRIVATE KEY");if("PKCS5PRV"==t&&void 0!==g&&e instanceof g&&void 0!==n&&null!=n&&1==e.isPrivate){var D=m(e).tohex();return void 0===r&&(r="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",D,n,r,o)}if("PKCS5PRV"==t&&void 0!==p&&e instanceof p&&void 0!==n&&null!=n&&1==e.isPrivate)return D=v(e).tohex(),void 0===r&&(r="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",D,n,r,o);if("PKCS5PRV"==t&&void 0!==d&&e instanceof d&&void 0!==n&&null!=n&&1==e.isPrivate)return D=E(e).tohex(),void 0===r&&(r="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",D,n,r,o);var w=function(e,t){if("string"==typeof t)return He.getEncryptedPKCS8PEM(e,t);if("object"==b(t)&&void 0!=Le(t,"passcode")){var n=JSON.parse(JSON.stringify(t)),r=n.passcode;return delete n.passcode,He.getEncryptedPKCS8PEM(e,r,n)}};if("PKCS8PRV"==t&&void 0!=g&&e instanceof g&&1==e.isPrivate){var A=m(e).tohex();return D=l({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:A}}]}).tohex(),void 0===n||null==n?ge(D,"PRIVATE KEY"):w(D,n)}if("PKCS8PRV"==t&&void 0!==p&&e instanceof p&&1==e.isPrivate){var C={seq:[{int:1},{octstr:{hex:e.prvKeyHex}}]};return"string"==typeof e.pubKeyHex&&C.seq.push({tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}),A=new l(C).tohex(),D=l({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:e.curveName}}]},{octstr:{hex:A}}]}).tohex(),void 0===n||null==n?ge(D,"PRIVATE KEY"):w(D,n)}if("PKCS8PRV"==t&&void 0!==d&&e instanceof d&&1==e.isPrivate)return A=new c({bigint:e.x}).tohex(),D=l({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]}]},{octstr:{hex:A}}]}).tohex(),void 0===n||null==n?ge(D,"PRIVATE KEY"):w(D,n);throw new Error("unsupported object nor format")},He.getKeyFromCSRPEM=function(e){var t=me(e,"CERTIFICATE REQUEST");return He.getKeyFromCSRHex(t)},He.getKeyFromCSRHex=function(e){var t=He.parseCSRHex(e);return He.getKey(t.p8pubkeyhex,null,"pkcs8pub")},He.parseCSRHex=function(e){var t=re,n=t.getChildIdx,r=t.getTLV,i={},o=e;if("30"!=o.substr(0,2))throw new Error("malformed CSR(code:001)");var a=n(o,0);if(a.length<1)throw new Error("malformed CSR(code:002)");if("30"!=o.substr(a[0],2))throw new Error("malformed CSR(code:003)");var s=n(o,a[0]);if(s.length<3)throw new Error("malformed CSR(code:004)");return i.p8pubkeyhex=r(o,s[2]),i},He.getKeyID=function(e){var t=He,n=re;"string"===typeof e&&-1!=e.indexOf("BEGIN ")&&(e=t.getKey(e));var r=me(t.getPEM(e)),i=n.getIdxbyList(r,0,[1]),o=n.getV(r,i).substring(2);return ee.crypto.Util.hashHex(o,"sha1")},He.getJWK=function(e,t,n,r,i){var o,a,s={},u=ee.crypto.Util.hashHex;if("string"==typeof e)o=He.getKey(e),-1!=e.indexOf("CERTIFICATE")&&(a=me(e));else{if("object"!=b(e))throw new Error("unsupported keyinfo type");e instanceof We?(o=e.getPublicKey(),a=e.hex):o=e}if(o instanceof J&&o.isPrivate)s.kty="RSA",s.n=ue(o.n.toString(16)),s.e=ue(o.e.toString(16)),s.d=ue(o.d.toString(16)),s.p=ue(o.p.toString(16)),s.q=ue(o.q.toString(16)),s.dp=ue(o.dmp1.toString(16)),s.dq=ue(o.dmq1.toString(16)),s.qi=ue(o.coeff.toString(16));else if(o instanceof J&&o.isPublic)s.kty="RSA",s.n=ue(o.n.toString(16)),s.e=ue(o.e.toString(16));else if(o instanceof ee.crypto.ECDSA&&o.isPrivate){if("P-256"!==(f=o.getShortNISTPCurveName())&&"P-384"!==f&&"P-521"!==f)throw new Error("unsupported curve name for JWT: "+f);var c=o.getPublicKeyXYHex();s.kty="EC",s.crv=f,s.x=ue(c.x),s.y=ue(c.y),s.d=ue(o.prvKeyHex)}else if(o instanceof ee.crypto.ECDSA&&o.isPublic){var f;if("P-256"!==(f=o.getShortNISTPCurveName())&&"P-384"!==f&&"P-521"!==f)throw new Error("unsupported curve name for JWT: "+f);c=o.getPublicKeyXYHex(),s.kty="EC",s.crv=f,s.x=ue(c.x),s.y=ue(c.y)}if(void 0==s.kty)throw new Error("unsupported keyinfo");return o.isPrivate||1==t||(s.kid=ee.jws.JWS.getJWKthumbprint(s)),void 0!=a&&1!=n&&(s.x5c=[l(a)]),void 0!=a&&1!=r&&(s.x5t=ae(l(u(a,"sha1")))),void 0!=a&&1!=i&&(s["x5t#S256"]=ae(l(u(a,"sha256")))),s},He.getJWKFromKey=function(e){return He.getJWK(e,!0,!0,!0,!0)},J.getPosArrayOfChildrenFromHex=function(e){return re.getChildIdx(e,0)},J.getHexValueArrayOfChildrenFromHex=function(e){var t,n=re.getV,r=n(e,(t=J.getPosArrayOfChildrenFromHex(e))[0]),i=n(e,t[1]),o=n(e,t[2]),a=n(e,t[3]),s=n(e,t[4]),u=n(e,t[5]),c=n(e,t[6]),l=n(e,t[7]),f=n(e,t[8]);return(t=new Array).push(r,i,o,a,s,u,c,l,f),t},J.prototype.readPrivateKeyFromPEMString=function(e){var t=me(e),n=J.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8])},J.prototype.readPKCS5PrvKeyHex=function(e){var t=J.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])},J.prototype.readPKCS8PrvKeyHex=function(e){var t,n,r,i,o,a,s,u,c=re,l=c.getVbyListEx;if(!1===c.isASN1HEX(e))throw new Error("not ASN.1 hex string");try{t=l(e,0,[2,0,1],"02"),n=l(e,0,[2,0,2],"02"),r=l(e,0,[2,0,3],"02"),i=l(e,0,[2,0,4],"02"),o=l(e,0,[2,0,5],"02"),a=l(e,0,[2,0,6],"02"),s=l(e,0,[2,0,7],"02"),u=l(e,0,[2,0,8],"02")}catch(f){throw new Error("malformed PKCS#8 plain RSA private key")}this.setPrivateEx(t,n,r,i,o,a,s,u)},J.prototype.readPKCS5PubKeyHex=function(e){var t=re,n=t.getV;if(!1===t.isASN1HEX(e))throw new Error("keyHex is not ASN.1 hex string");var r=t.getChildIdx(e,0);if(2!==r.length||"02"!==e.substr(r[0],2)||"02"!==e.substr(r[1],2))throw new Error("wrong hex for PKCS#5 public key");var i=n(e,r[0]),o=n(e,r[1]);this.setPublic(i,o)},J.prototype.readPKCS8PubKeyHex=function(e){var t=re;if(!1===t.isASN1HEX(e))throw new Error("not ASN.1 hex string");if("06092a864886f70d010101"!==t.getTLVbyListEx(e,0,[0,0]))throw new Error("not PKCS8 RSA public key");var n=t.getTLVbyListEx(e,0,[1,0]);this.readPKCS5PubKeyHex(n)},J.prototype.readCertPubKeyHex=function(e,t){var n,r;(n=new We).readCertHex(e),r=n.getPublicKeyHex(),this.readPKCS8PubKeyHex(r)},J.prototype.sign=function(e,t){var n,r=(n=e,ee.crypto.Util.hashString(n,t));return this.signWithMessageHash(r,t)},J.prototype.signWithMessageHash=function(e,t){var n=Y(ee.crypto.Util.getPaddedDigestInfoHex(e,t,this.n.bitLength()),16);return ke(this.doPrivate(n).toString(16),this.n.bitLength())},J.prototype.signPSS=function(e,t,n){var r,i=(r=pe(e),ee.crypto.Util.hashHex(r,t));return void 0===n&&(n=-1),this.signWithMessageHashPSS(i,t,n)},J.prototype.signWithMessageHashPSS=function(e,t,n){var r,i=de(e),o=i.length,a=this.n.bitLength()-1,s=Math.ceil(a/8),u=function(e){return ee.crypto.Util.hashHex(e,t)};if(-1===n||void 0===n)n=o;else if(-2===n)n=s-o-2;else if(n<-2)throw new Error("invalid salt length");if(s<o+n+2)throw new Error("data too long");var c="";n>0&&(c=new Array(n),(new q).nextBytes(c),c=String.fromCharCode.apply(String,c));var l=de(u(pe("\0\0\0\0\0\0\0\0"+i+c))),f=[];for(r=0;r<s-n-o-2;r+=1)f[r]=0;var d=String.fromCharCode.apply(String,f)+"\x01"+c,p=je(l,d.length,u),g=[];for(r=0;r<d.length;r+=1)g[r]=d.charCodeAt(r)^p.charCodeAt(r);var m=65280>>8*s-a&255;for(g[0]&=~m,r=0;r<o;r++)g.push(l.charCodeAt(r));return g.push(188),ke(this.doPrivate(new h(g)).toString(16),this.n.bitLength())},J.prototype.verify=function(e,t){if(null==(t=t.toLowerCase()).match(/^[0-9a-f]+$/))return!1;var n=Y(t,16),r=this.n.bitLength();if(n.bitLength()>r)return!1;var i=this.doPublic(n).toString(16);if(i.length+3!=r/4)return!1;var o=Ue(i.replace(/^1f+00/,""));if(0==o.length)return!1;var a,s=o[0];return o[1]==(a=e,ee.crypto.Util.hashString(a,s))},J.prototype.verifyWithMessageHash=function(e,t){if(t.length!=Math.ceil(this.n.bitLength()/4))return!1;var n=Y(t,16);if(n.bitLength()>this.n.bitLength())return 0;var r=Ue(this.doPublic(n).toString(16).replace(/^1f+00/,""));return 0!=r.length&&(r[0],r[1]==e)},J.prototype.verifyPSS=function(e,t,n,r){var i,o=(i=pe(e),ee.crypto.Util.hashHex(i,n));return void 0===r&&(r=-1),this.verifyWithMessageHashPSS(o,t,n,r)},J.prototype.verifyWithMessageHashPSS=function(e,t,n,r){if(t.length!=Math.ceil(this.n.bitLength()/4))return!1;var i,o=new h(t,16),a=function(e){return ee.crypto.Util.hashHex(e,n)},s=de(e),u=s.length,c=this.n.bitLength()-1,l=Math.ceil(c/8);if(-1===r||void 0===r)r=u;else if(-2===r)r=l-u-2;else if(r<-2)throw new Error("invalid salt length");if(l<u+r+2)throw new Error("data too long");var f=this.doPublic(o).toByteArray();for(i=0;i<f.length;i+=1)f[i]&=255;for(;f.length<l;)f.unshift(0);if(188!==f[l-1])throw new Error("encoded message does not end in 0xbc");var d=(f=String.fromCharCode.apply(String,f)).substr(0,l-u-1),p=f.substr(d.length,u),g=65280>>8*l-c&255;if(0!==(d.charCodeAt(0)&g))throw new Error("bits beyond keysize not zero");var m=je(p,d.length,a),v=[];for(i=0;i<d.length;i+=1)v[i]=d.charCodeAt(i)^m.charCodeAt(i);v[0]&=~g;var E=l-u-r-2;for(i=0;i<E;i+=1)if(0!==v[i])throw new Error("leftmost octets not zero");if(1!==v[E])throw new Error("0x01 marker not found");return p===de(a(pe("\0\0\0\0\0\0\0\0"+s+String.fromCharCode.apply(String,v.slice(-r)))))},J.SALT_LEN_HLEN=-1,J.SALT_LEN_MAX=-2,J.SALT_LEN_RECOVER=-2,We.EXT_PARSER={},We.registExtParser=function(e,t){We.EXT_PARSER[e]=t},We.hex2dn=function(e,t){void 0===t&&(t=0);var n=new We;return re.getTLV(e,t),n.getX500Name(e).str},We.hex2rdn=function(e,t){if(void 0===t&&(t=0),"31"!==e.substr(t,2))throw new Error("malformed RDN");for(var n=new Array,r=re.getChildIdx(e,t),i=0;i<r.length;i++)n.push(We.hex2attrTypeValue(e,r[i]));return(n=n.map((function(e){return e.replace("+","\\+")}))).join("+")},We.hex2attrTypeValue=function(e,t){var n=re,r=n.getV;if(void 0===t&&(t=0),"30"!==e.substr(t,2))throw new Error("malformed attribute type and value");var i=n.getChildIdx(e,t);2!==i.length||e.substr(i[0],2);var o=r(e,i[0]),a=ee.asn1.ASN1Util.oidHexToInt(o);return ee.asn1.x509.OID.oid2atype(a)+"="+de(r(e,i[1]))},We.getPublicKeyFromCertHex=function(e){var t=new We;return t.readCertHex(e),t.getPublicKey()},We.getPublicKeyFromCertPEM=function(e){var t=new We;return t.readCertPEM(e),t.getPublicKey()},We.getPublicKeyInfoPropOfCertPEM=function(e){var t,n,r=re.getVbyList,i={algparam:null};return(t=new We).readCertPEM(e),n=t.getPublicKeyHex(),i.keyhex=r(n,0,[1],"03").substr(2),i.algoid=r(n,0,[0,0],"06"),"2a8648ce3d0201"===i.algoid&&(i.algparam=r(n,0,[0,1],"06")),i},We.KEYUSAGE_NAME=["digitalSignature","nonRepudiation","keyEncipherment","dataEncipherment","keyAgreement","keyCertSign","cRLSign","encipherOnly","decipherOnly"],"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.jws&&ee.jws||(ee.jws={}),ee.jws.JWS=function(){var e=ee.jws.JWS.isSafeJSONString;this.parseJWS=function(t,n){if(void 0===this.parsedJWS||!n&&void 0===this.parsedJWS.sigvalH){var r=t.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);if(null==r)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";var i=r[1],o=r[2],a=r[3],s=i+"."+o;if(this.parsedJWS={},this.parsedJWS.headB64U=i,this.parsedJWS.payloadB64U=o,this.parsedJWS.sigvalB64U=a,this.parsedJWS.si=s,!n){var u=ce(a),c=Y(u,16);this.parsedJWS.sigvalH=u,this.parsedJWS.sigvalBI=c}var l=ne(i),f=ne(o);if(this.parsedJWS.headS=l,this.parsedJWS.payloadS=f,!e(l,this.parsedJWS,"headP"))throw"malformed JSON string for JWS Head: "+l}}},ee.jws.JWS.sign=function(e,t,n,r,i){var o,a,s,u=ee,c=u.jws.JWS,l=c.readSafeJSONString,f=c.isSafeJSONString,h=u.crypto,d=(h.ECDSA,h.Mac),p=h.Signature,g=JSON;if("string"!=typeof t&&"object"!=b(t))throw"spHeader must be JSON string or object: "+t;if("object"==b(t)&&(a=t,o=g.stringify(a)),"string"==typeof t){if(!f(o=t))throw"JWS Head is not safe JSON string: "+o;a=l(o)}if(s=n,"object"==b(n)&&(s=g.stringify(n)),""!=e&&null!=e||void 0===a.alg||(e=a.alg),""!=e&&null!=e&&void 0===a.alg&&(a.alg=e,o=g.stringify(a)),e!==a.alg)throw"alg and sHeader.alg doesn't match: "+e+"!="+a.alg;var m=null;if(void 0===c.jwsalg2sigalg[e])throw"unsupported alg name: "+e;m=c.jwsalg2sigalg[e];var v=te(o)+"."+te(s),E="";if("Hmac"==m.substr(0,4)){if(void 0===r)throw"mac key shall be specified for HS* alg";var _=new d({alg:m,prov:"cryptojs",pass:r});_.updateString(v),E=_.doFinal()}else if(-1!=m.indexOf("withECDSA")){(S=new p({alg:m})).init(r,i),S.updateString(v);var y=S.sign();E=ee.crypto.ECDSA.asn1SigToConcatSig(y)}else{var S;"none"!=m&&((S=new p({alg:m})).init(r,i),S.updateString(v),E=S.sign())}return v+"."+ue(E)},ee.jws.JWS.verify=function(e,t,n){var r,i=ee,o=i.jws.JWS,a=o.readSafeJSONString,s=i.crypto,u=s.ECDSA,c=s.Mac,l=s.Signature;if(r=J,!Oe(e))return!1;var f=e.split(".");if(3!==f.length)return!1;var h,d=f[0]+"."+f[1],p=ce(f[2]),g=a(ne(f[0])),m=null;if(void 0===g.alg)throw"algorithm not specified in header";if(h=(m=g.alg).substr(0,2),null!=n&&"[object Array]"===Object.prototype.toString.call(n)&&n.length>0&&-1==(":"+n.join(":")+":").indexOf(":"+m+":"))throw"algorithm '"+m+"' not accepted in the list";if("none"!=m&&null===t)throw"key shall be specified to verify.";if("string"==typeof t&&-1!=t.indexOf("-----BEGIN ")&&(t=He.getKey(t)),("RS"==h||"PS"==h)&&!(t instanceof r))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==h&&!(t instanceof u))throw"key shall be a ECDSA obj for ES* algs";var v=null;if(void 0===o.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+m;if("none"==(v=o.jwsalg2sigalg[m]))throw"not supported";if("Hmac"==v.substr(0,4)){if(void 0===t)throw"hexadecimal key shall be specified for HMAC";var E=new c({alg:v,pass:t});return E.updateString(d),p==E.doFinal()}if(-1!=v.indexOf("withECDSA")){var _,S=null;try{S=u.concatSigToASN1Sig(p)}catch(y){return!1}return(_=new l({alg:v})).init(t),_.updateString(d),_.verify(S)}return(_=new l({alg:v})).init(t),_.updateString(d),_.verify(p)},ee.jws.JWS.parse=function(e){var t,n,r,i=e.split("."),o={};if(2!=i.length&&3!=i.length)throw"malformed sJWS: wrong number of '.' splitted elements";return t=i[0],n=i[1],3==i.length&&(r=i[2]),o.headerObj=ee.jws.JWS.readSafeJSONString(ne(t)),o.payloadObj=ee.jws.JWS.readSafeJSONString(ne(n)),o.headerPP=JSON.stringify(o.headerObj,null," "),null==o.payloadObj?o.payloadPP=ne(n):o.payloadPP=JSON.stringify(o.payloadObj,null," "),void 0!==r&&(o.sigHex=ce(r)),o},ee.jws.JWS.verifyJWT=function(e,t,n){var r=ee.jws,i=r.JWS,o=i.readSafeJSONString,a=i.inArray,s=i.includedArray;if(!Oe(e))return!1;var u=e.split(".");if(3!=u.length)return!1;var c=u[0],l=u[1],f=(ce(u[2]),o(ne(c))),h=o(ne(l));if(void 0===f.alg)return!1;if(void 0===n.alg)throw"acceptField.alg shall be specified";if(!a(f.alg,n.alg))return!1;if(void 0!==h.iss&&"object"===b(n.iss)&&!a(h.iss,n.iss))return!1;if(void 0!==h.sub&&"object"===b(n.sub)&&!a(h.sub,n.sub))return!1;if(void 0!==h.aud&&"object"===b(n.aud))if("string"==typeof h.aud){if(!a(h.aud,n.aud))return!1}else if("object"==b(h.aud)&&!s(h.aud,n.aud))return!1;var d=r.IntDate.getNow();return void 0!==n.verifyAt&&"number"===typeof n.verifyAt&&(d=n.verifyAt),void 0!==n.gracePeriod&&"number"===typeof n.gracePeriod||(n.gracePeriod=0),!(void 0!==h.exp&&"number"==typeof h.exp&&h.exp+n.gracePeriod<d)&&!(void 0!==h.nbf&&"number"==typeof h.nbf&&d<h.nbf-n.gracePeriod)&&!(void 0!==h.iat&&"number"==typeof h.iat&&d<h.iat-n.gracePeriod)&&(void 0===h.jti||void 0===n.jti||h.jti===n.jti)&&!!i.verify(e,t,n.alg)},ee.jws.JWS.includedArray=function(e,t){var n=ee.jws.JWS.inArray;if(null===e)return!1;if("object"!==b(e))return!1;if("number"!==typeof e.length)return!1;for(var r=0;r<e.length;r++)if(!n(e[r],t))return!1;return!0},ee.jws.JWS.inArray=function(e,t){if(null===t)return!1;if("object"!==b(t))return!1;if("number"!==typeof t.length)return!1;for(var n=0;n<t.length;n++)if(t[n]==e)return!0;return!1},ee.jws.JWS.jwsalg2sigalg={HS256:"HmacSHA256",HS384:"HmacSHA384",HS512:"HmacSHA512",RS256:"SHA256withRSA",RS384:"SHA384withRSA",RS512:"SHA512withRSA",ES256:"SHA256withECDSA",ES384:"SHA384withECDSA",ES512:"SHA512withECDSA",PS256:"SHA256withRSAandMGF1",PS384:"SHA384withRSAandMGF1",PS512:"SHA512withRSAandMGF1",none:"none"},ee.jws.JWS.isSafeJSONString=function(e,t,n){var r=null;try{return"object"!=b(r=$(e))||r.constructor===Array?0:(t&&(t[n]=r),1)}catch(i){return 0}},ee.jws.JWS.readSafeJSONString=function(e){var t=null;try{return"object"!=b(t=$(e))||t.constructor===Array?null:t}catch(n){return null}},ee.jws.JWS.getEncodedSignatureValueFromJWS=function(e){var t=e.match(/^[^.]+\.[^.]+\.([^.]+)$/);if(null==t)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";return t[1]},ee.jws.JWS.getJWKthumbprint=function(e){if("RSA"!==e.kty&&"EC"!==e.kty&&"oct"!==e.kty)throw"unsupported algorithm for JWK Thumprint";var t="{";if("RSA"===e.kty){if("string"!=typeof e.n||"string"!=typeof e.e)throw"wrong n and e value for RSA key";t+='"e":"'+e.e+'",',t+='"kty":"'+e.kty+'",',t+='"n":"'+e.n+'"}'}else if("EC"===e.kty){if("string"!=typeof e.crv||"string"!=typeof e.x||"string"!=typeof e.y)throw"wrong crv, x and y value for EC key";t+='"crv":"'+e.crv+'",',t+='"kty":"'+e.kty+'",',t+='"x":"'+e.x+'",',t+='"y":"'+e.y+'"}'}else if("oct"===e.kty){if("string"!=typeof e.k)throw"wrong k value for oct(symmetric) key";t+='"kty":"'+e.kty+'",',t+='"k":"'+e.k+'"}'}var n=pe(t);return ue(ee.crypto.Util.hashHex(n,"sha256"))},ee.jws.IntDate={},ee.jws.IntDate.get=function(e){var t=ee.jws.IntDate,n=t.getNow,r=t.getZulu;if("now"==e)return n();if("now + 1hour"==e)return n()+3600;if("now + 1day"==e)return n()+86400;if("now + 1month"==e)return n()+2592e3;if("now + 1year"==e)return n()+31536e3;if(e.match(/Z$/))return r(e);if(e.match(/^[0-9]+$/))return parseInt(e);throw"unsupported format: "+e},ee.jws.IntDate.getZulu=function(e){return ve(e)},ee.jws.IntDate.getNow=function(){return~~(new Date/1e3)},ee.jws.IntDate.intDate2UTCString=function(e){return new Date(1e3*e).toUTCString()},ee.jws.IntDate.intDate2Zulu=function(e){var t=new Date(1e3*e);return("0000"+t.getUTCFullYear()).slice(-4)+("00"+(t.getUTCMonth()+1)).slice(-2)+("00"+t.getUTCDate()).slice(-2)+("00"+t.getUTCHours()).slice(-2)+("00"+t.getUTCMinutes()).slice(-2)+("00"+t.getUTCSeconds()).slice(-2)+"Z"},"undefined"!=typeof ee&&ee||(ee={}),"undefined"!=typeof ee.jws&&ee.jws||(ee.jws={}),ee.jws.JWSJS=function(){var e=ee.jws.JWS,t=e.readSafeJSONString;this.aHeader=[],this.sPayload="",this.aSignature=[],this.init=function(){this.aHeader=[],this.sPayload=void 0,this.aSignature=[]},this.initWithJWS=function(e){this.init();var t=e.split(".");if(3!=t.length)throw"malformed input JWS";this.aHeader.push(t[0]),this.sPayload=t[1],this.aSignature.push(t[2])},this.addSignature=function(e,t,n,r){if(void 0===this.sPayload||null===this.sPayload)throw"there's no JSON-JS signature to add.";var i=this.aHeader.length;if(this.aHeader.length!=this.aSignature.length)throw"aHeader.length != aSignature.length";try{var o=ee.jws.JWS.sign(e,t,this.sPayload,n,r).split(".");o[0],o[2],this.aHeader.push(o[0]),this.aSignature.push(o[2])}catch(a){throw this.aHeader.length>i&&this.aHeader.pop(),this.aSignature.length>i&&this.aSignature.pop(),"addSignature failed: "+a}},this.verifyAll=function(e){if(this.aHeader.length!==e.length||this.aSignature.length!==e.length)return!1;for(var t=0;t<e.length;t++){var n=e[t];if(2!==n.length)return!1;if(!1===this.verifyNth(t,n[0],n[1]))return!1}return!0},this.verifyNth=function(t,n,r){if(this.aHeader.length<=t||this.aSignature.length<=t)return!1;var i=this.aHeader[t],o=this.aSignature[t],a=i+"."+this.sPayload+"."+o,s=!1;try{s=e.verify(a,n,r)}catch(u){return!1}return s},this.readJWSJS=function(e){if("string"===typeof e){var n=t(e);if(null==n)throw"argument is not safe JSON object string";this.aHeader=n.headers,this.sPayload=n.payload,this.aSignature=n.signatures}else try{if(!(e.headers.length>0))throw"malformed header";if(this.aHeader=e.headers,"string"!==typeof e.payload)throw"malformed signatures";if(this.sPayload=e.payload,!(e.signatures.length>0))throw"malformed signatures";this.aSignature=e.signatures}catch(r){throw"malformed JWS-JS JSON object: "+r}},this.getJSON=function(){return{headers:this.aHeader,payload:this.sPayload,signatures:this.aSignature}},this.isEmpty=function(){return 0==this.aHeader.length?1:0}},ee.crypto.ECDSA,ee.crypto.DSA,ee.crypto.Signature,ee.crypto.MessageDigest,ee.crypto.Mac,t.fs=ee,ee.crypto,ee.asn1,ee.jws,ee.lang},93096:function(e,t,n){var r="Expected a function",i=NaN,o="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,f="object"==b(n.g)&&n.g&&n.g.Object===Object&&n.g,h="object"==("undefined"===typeof self?"undefined":b(self))&&self&&self.Object===Object&&self,d=f||h||Function("return this")(),p=Object.prototype.toString,g=Math.max,m=Math.min,v=function(){return d.Date.now()};function E(e){var t=b(e);return!!e&&("object"==t||"function"==t)}function _(e){if("number"==typeof e)return e;if(function(e){return"symbol"==b(e)||function(e){return!!e&&"object"==b(e)}(e)&&p.call(e)==o}(e))return i;if(E(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=E(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=u.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?i:+e}e.exports=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(r);return E(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),function(e,t,n){var i,o,a,s,u,c,l=0,f=!1,h=!1,d=!0;if("function"!=typeof e)throw new TypeError(r);function p(t){var n=i,r=o;return i=o=void 0,l=t,s=e.apply(r,n)}function y(e){var n=e-c;return void 0===c||n>=t||n<0||h&&e-l>=a}function S(){var e=v();if(y(e))return D(e);u=setTimeout(S,function(e){var n=t-(e-c);return h?m(n,a-(e-l)):n}(e))}function D(e){return u=void 0,d&&i?p(e):(i=o=void 0,s)}function w(){var e=v(),n=y(e);if(i=arguments,o=this,c=e,n){if(void 0===u)return function(e){return l=e,u=setTimeout(S,t),f?p(e):s}(c);if(h)return u=setTimeout(S,t),p(c)}return void 0===u&&(u=setTimeout(S,t)),s}return t=_(t)||0,E(n)&&(f=!!n.leading,a=(h="maxWait"in n)?g(_(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),w.cancel=function(){void 0!==u&&clearTimeout(u),l=0,i=c=o=u=void 0},w.flush=function(){return void 0===u?s:D(v())},w}(e,t,{leading:i,maxWait:t,trailing:o})}},2043:function(e,t,n){var r,i;!function(o,a){"use strict";r=function(){var e=function(){},t="undefined",n=("undefined"===typeof window?"undefined":b(window))!==t&&b(window.navigator)!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=["trace","debug","info","warn","error"];function i(e,t){var n=e[t];if("function"===typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(r){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function o(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(r){return"debug"===r&&(r="log"),("undefined"===typeof console?"undefined":b(console))!==t&&("trace"===r&&n?o:void 0!==console[r]?i(console,r):void 0!==console.log?i(console,"log"):e)}function s(t,n){for(var i=0;i<r.length;i++){var o=r[i];this[o]=i<t?e:this.methodFactory(o,t,n)}this.log=this.debug}function u(e,n,r){return function(){("undefined"===typeof console?"undefined":b(console))!==t&&(s.call(this,n,r),this[e].apply(this,arguments))}}function c(e,t,n){return a(e)||u.apply(this,arguments)}function l(e,n,i){var o,a=this;n=null==n?"WARN":n;var u="loglevel";function l(e){var n=(r[e]||"silent").toUpperCase();if(("undefined"===typeof window?"undefined":b(window))!==t&&u){try{return void(window.localStorage[u]=n)}catch(i){}try{window.document.cookie=encodeURIComponent(u)+"="+n+";"}catch(i){}}}function f(){var e;if(("undefined"===typeof window?"undefined":b(window))!==t&&u){try{e=window.localStorage[u]}catch(i){}if(b(e)===t)try{var n=window.document.cookie,r=n.indexOf(encodeURIComponent(u)+"=");-1!==r&&(e=/^([^;]+)/.exec(n.slice(r))[1])}catch(i){}return void 0===a.levels[e]&&(e=void 0),e}}"string"===typeof e?u+=":"+e:"symbol"===b(e)&&(u=void 0),a.name=e,a.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},a.methodFactory=i||c,a.getLevel=function(){return o},a.setLevel=function(n,r){if("string"===typeof n&&void 0!==a.levels[n.toUpperCase()]&&(n=a.levels[n.toUpperCase()]),!("number"===typeof n&&n>=0&&n<=a.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;if(o=n,!1!==r&&l(n),s.call(a,n,e),("undefined"===typeof console?"undefined":b(console))===t&&n<a.levels.SILENT)return"No console available for logging"},a.setDefaultLevel=function(e){n=e,f()||a.setLevel(e,!1)},a.resetLevel=function(){a.setLevel(n,!1),function(){if(("undefined"===typeof window?"undefined":b(window))!==t&&u){try{return void window.localStorage.removeItem(u)}catch(e){}try{window.document.cookie=encodeURIComponent(u)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}()},a.enableAll=function(e){a.setLevel(a.levels.TRACE,e)},a.disableAll=function(e){a.setLevel(a.levels.SILENT,e)};var h=f();null==h&&(h=n),a.setLevel(h,!1)}var f=new l,h={};f.getLogger=function(e){if("symbol"!==b(e)&&"string"!==typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=h[e];return t||(t=h[e]=new l(e,f.getLevel(),f.methodFactory)),t};var d=("undefined"===typeof window?"undefined":b(window))!==t?window.log:void 0;return f.noConflict=function(){return("undefined"===typeof window?"undefined":b(window))!==t&&window.log===f&&(window.log=d),f},f.getLoggers=function(){return h},f.default=f,f},void 0===(i=r.call(t,n,t,e))||(e.exports=i)}()},70631:function(e,t,n){var r="function"===typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"===typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&u&&"function"===typeof u.get?u.get:null,l=s&&Set.prototype.forEach,f="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,v=String.prototype.match,E=String.prototype.slice,_=String.prototype.replace,y=String.prototype.toUpperCase,S=String.prototype.toLowerCase,D=RegExp.prototype.test,w=Array.prototype.concat,A=Array.prototype.join,C=Array.prototype.slice,T=Math.floor,I="function"===typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,x="function"===typeof Symbol&&"symbol"===b(Symbol.iterator)?Symbol.prototype.toString:null,F="function"===typeof Symbol&&"object"===b(Symbol.iterator),N="function"===typeof Symbol&&Symbol.toStringTag&&(b(Symbol.toStringTag),1)?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,P=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function B(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||D.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-T(-e):T(e);if(r!==e){var i=String(r),o=E.call(t,i.length+1);return _.call(i,n,"$&_")+"."+_.call(_.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(t,n,"$&_")}var L=n(24654),M=L.custom,H=V(M)?M:null;function k(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function j(e){return _.call(String(e),/"/g,""")}function U(e){return"[object Array]"===z(e)&&(!N||!("object"===b(e)&&N in e))}function W(e){return"[object RegExp]"===z(e)&&(!N||!("object"===b(e)&&N in e))}function V(e){if(F)return e&&"object"===b(e)&&e instanceof Symbol;if("symbol"===b(e))return!0;if(!e||"object"!==b(e)||!x)return!1;try{return x.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,i,s){var u=r||{};if(K(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(K(u,"maxStringLength")&&("number"===typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=!K(u,"customInspect")||u.customInspect;if("boolean"!==typeof g&&"symbol"!==g)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(u,"numericSeparator")&&"boolean"!==typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=u.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return Y(t,u);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var D=String(t);return y?B(t,D):D}if("bigint"===typeof t){var T=String(t)+"n";return y?B(t,T):T}var O="undefined"===typeof u.depth?5:u.depth;if("undefined"===typeof i&&(i=0),i>=O&&O>0&&"object"===b(t))return U(t)?"[Array]":"[Object]";var M=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=A.call(Array(e.indent+1)," ")}return{base:n,prev:A.call(Array(t+1),n)}}(u,i);if("undefined"===typeof s)s=[];else if(q(s,t)>=0)return"[Circular]";function G(t,n,r){if(n&&(s=C.call(s)).push(n),r){var o={depth:u.depth};return K(u,"quoteStyle")&&(o.quoteStyle=u.quoteStyle),e(t,o,i+1,s)}return e(t,u,i+1,s)}if("function"===typeof t&&!W(t)){var J=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),te=ee(t,G);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(te.length>0?" { "+A.call(te,", ")+" }":"")}if(V(t)){var ne=F?_.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(t);return"object"!==b(t)||F?ne:Q(ne)}if(function(e){return!(!e||"object"!==b(e))&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}(t)){for(var re="<"+S.call(String(t.nodeName)),ie=t.attributes||[],oe=0;oe<ie.length;oe++)re+=" "+ie[oe].name+"="+k(j(ie[oe].value),"double",u);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+"</"+S.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var ae=ee(t,G);return M&&!function(e){for(var t=0;t<e.length;t++)if(q(e[t],"\n")>=0)return!1;return!0}(ae)?"["+$(ae,M)+"]":"[ "+A.call(ae,", ")+" ]"}if(function(e){return"[object Error]"===z(e)&&(!N||!("object"===b(e)&&N in e))}(t)){var se=ee(t,G);return"cause"in Error.prototype||!("cause"in t)||R.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+A.call(se,", ")+" }":"{ ["+String(t)+"] "+A.call(w.call("[cause]: "+G(t.cause),se),", ")+" }"}if("object"===b(t)&&g){if(H&&"function"===typeof t[H]&&L)return L(t,{depth:O-i});if("symbol"!==g&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!==b(e))return!1;try{o.call(e);try{c.call(e)}catch(re){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ue=[];return a&&a.call(t,(function(e,n){ue.push(G(n,t,!0)+" => "+G(e,t))})),X("Map",o.call(t),ue,M)}if(function(e){if(!c||!e||"object"!==b(e))return!1;try{c.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var ce=[];return l&&l.call(t,(function(e){ce.push(G(e,t))})),X("Set",c.call(t),ce,M)}if(function(e){if(!f||!e||"object"!==b(e))return!1;try{f.call(e,f);try{h.call(e,h)}catch(re){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return Z("WeakMap");if(function(e){if(!h||!e||"object"!==b(e))return!1;try{h.call(e,h);try{f.call(e,f)}catch(re){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return Z("WeakSet");if(function(e){if(!d||!e||"object"!==b(e))return!1;try{return d.call(e),!0}catch(t){}return!1}(t))return Z("WeakRef");if(function(e){return"[object Number]"===z(e)&&(!N||!("object"===b(e)&&N in e))}(t))return Q(G(Number(t)));if(function(e){if(!e||"object"!==b(e)||!I)return!1;try{return I.call(e),!0}catch(t){}return!1}(t))return Q(G(I.call(t)));if(function(e){return"[object Boolean]"===z(e)&&(!N||!("object"===b(e)&&N in e))}(t))return Q(p.call(t));if(function(e){return"[object String]"===z(e)&&(!N||!("object"===b(e)&&N in e))}(t))return Q(G(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===z(e)&&(!N||!("object"===b(e)&&N in e))}(t)&&!W(t)){var le=ee(t,G),fe=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,he=t instanceof Object?"":"null prototype",de=!fe&&N&&Object(t)===t&&N in t?E.call(z(t),8,-1):he?"Object":"",pe=(fe||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||he?"["+A.call(w.call([],de||[],he||[]),": ")+"] ":"");return 0===le.length?pe+"{}":M?pe+"{"+$(le,M)+"}":pe+"{ "+A.call(le,", ")+" }"}return String(t)};var G=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,t){return G.call(e,t)}function z(e){return g.call(e)}function q(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Y(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(E.call(e,0,t.maxStringLength),t)+r}return k(_.call(_.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+y.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function X(e,t,n,r){return e+" ("+t+") {"+(r?$(n,r):A.call(n,", "))+"}"}function $(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+A.call(e,","+n)+"\n"+t.prev}function ee(e,t){var n=U(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=K(e,i)?t(e[i],e):""}var o,a="function"===typeof O?O(e):[];if(F){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var u in e)K(e,u)&&(n&&String(Number(u))===u&&u<e.length||F&&o["$"+u]instanceof Symbol||(D.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"===typeof O)for(var c=0;c<a.length;c++)R.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},55798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},80129:function(e,t,n){"use strict";var r=n(58261),i=n(55235),o=n(55798);e.exports={formats:o,parse:i,stringify:r}},55235:function(e,t,n){"use strict";var r=n(12769),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,l=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var i=r?t:u(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var l="string"===typeof e?function(e,t){var n,c={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,h=l.split(t.delimiter,f),d=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n<h.length;++n)0===h[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[n]?p="utf-8":"utf8=%26%2310003%3B"===h[n]&&(p="iso-8859-1"),d=n,n=h.length);for(n=0;n<h.length;++n)if(n!==d){var g,m,v=h[n],E=v.indexOf("]="),_=-1===E?v.indexOf("="):E+1;-1===_?(g=t.decoder(v,a.decoder,p,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(v.slice(0,_),a.decoder,p,"key"),m=r.maybeMap(u(v.slice(_+1),t),(function(e){return t.decoder(e,a.decoder,p,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===p&&(m=s(m)),v.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(c,g)?c[g]=r.combine(c[g],m):c[g]=m}return c}(e,n):e,f=n.plainObjects?Object.create(null):{},h=Object.keys(l),d=0;d<h.length;++d){var p=h[d],g=c(p,l[p],n,"string"===typeof e);f=r.merge(f,g,n)}return!0===n.allowSparse?f:r.compact(f)}},58261:function(e,t,n){"use strict";var r=n(37478),i=n(12769),o=n(55798),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,u(t)?t:[t])},f=Date.prototype.toISOString,h=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:h,formatter:o.formatters[h],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},p={},g=function e(t,n,o,a,s,c,f,h,g,m,v,E,_,y,S,D){for(var w,A=t,C=D,T=0,I=!1;void 0!==(C=C.get(p))&&!I;){var O=C.get(t);if(T+=1,"undefined"!==typeof O){if(O===T)throw new RangeError("Cyclic object value");I=!0}"undefined"===typeof C.get(p)&&(T=0)}if("function"===typeof h?A=h(n,A):A instanceof Date?A=v(A):"comma"===o&&u(A)&&(A=i.maybeMap(A,(function(e){return e instanceof Date?v(e):e}))),null===A){if(s)return f&&!y?f(n,d.encoder,S,"key",E):n;A=""}if("string"===typeof(w=A)||"number"===typeof w||"boolean"===typeof w||"symbol"===b(w)||"bigint"===typeof w||i.isBuffer(A))return f?[_(y?n:f(n,d.encoder,S,"key",E))+"="+_(f(A,d.encoder,S,"value",E))]:[_(n)+"="+_(String(A))];var x,F=[];if("undefined"===typeof A)return F;if("comma"===o&&u(A))y&&f&&(A=i.maybeMap(A,f)),x=[{value:A.length>0?A.join(",")||null:void 0}];else if(u(h))x=h;else{var N=Object.keys(A);x=g?N.sort(g):N}for(var R=a&&u(A)&&1===A.length?n+"[]":n,P=0;P<x.length;++P){var B=x[P],L="object"===b(B)&&"undefined"!==typeof B.value?B.value:A[B];if(!c||null!==L){var M=u(A)?"function"===typeof o?o(R,B):R:R+(m?"."+B:"["+B+"]");D.set(t,T);var H=r();H.set(p,D),l(F,e(L,M,o,a,s,c,"comma"===o&&y&&u(A)?null:f,h,g,m,v,E,_,y,S,H))}}return F};e.exports=function(e,t){var n,i=e,c=function(e){if(!e)return d;if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if("undefined"!==typeof e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],i=d.filter;return("function"===typeof e.filter||u(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?d.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:d.encode,encoder:"function"===typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"===typeof c.filter?i=(0,c.filter)("",i):u(c.filter)&&(n=c.filter);var f,h=[];if("object"!==b(i)||null===i)return"";f=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=s[f];if(t&&"commaRoundTrip"in t&&"boolean"!==typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===p&&t&&t.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var v=r(),E=0;E<n.length;++E){var _=n[E];c.skipNulls&&null===i[_]||l(h,g(i[_],_,p,m,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,v))}var y=h.join(c.delimiter),S=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),y.length>0?S+y:""}},12769:function(e,t,n){"use strict";var r=n(55798),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),u=0;u<s.length;++u){var c=s[u],l=a[c];"object"===b(l)&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:c}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)"undefined"!==typeof n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(i){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"===b(e)?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<s.length;++c){var l=s.charCodeAt(c);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=a[l]:l<2048?u+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?u+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),u+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return u},isBuffer:function(e){return!(!e||"object"!==b(e))&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!==b(n)){if(o(t))t.push(n);else{if(!t||"object"!==b(t))return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==b(t))return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"===b(a)&&n&&"object"===b(n)?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),a)}}},86869:function(e,t,n){var r=n(13601);"function"!=typeof Object.assign&&(Object.assign=function(e){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e});var i={},o=void 0;function a(){return!!o&&!0!==o.headersSent}function s(e){i=e?r.parse(e):{}}var u={load:function(e,t){var n="undefined"===typeof document?i:r.parse(document.cookie),o=n&&n[e];if(!t)try{o=JSON.parse(o)}catch(a){}return o},select:function(e){var t="undefined"===typeof document?i:r.parse(document.cookie);return t?e?Object.keys(t).reduce((function(n,r){if(!e.test(r))return n;var i={};return i[r]=t[r],Object.assign({},n,i)}),{}):t:{}},save:function(e,t,n){i[e]=t,"object"===b(t)&&(i[e]=JSON.stringify(t)),"undefined"!==typeof document&&(document.cookie=r.serialize(e,i[e],n)),a()&&o.cookie&&o.cookie(e,t,n)},remove:function(e,t){delete i[e],t="undefined"===typeof t?{}:"string"===typeof t?{path:t}:Object.assign({},t),"undefined"!==typeof document&&(t.expires=new Date(1970,1,1,0,0,1),document.cookie=r.serialize(e,"",t)),a()&&o.clearCookie&&o.clearCookie(e,t)},setRawCookie:s,plugToRequest:function(e,t){return e.cookie?i=e.cookie:e.cookies?i=e.cookies:e.headers&&e.headers.cookie?s(e.headers.cookie):i={},o=t,function(){o=null,i={}}}};"undefined"!==typeof window&&(window.reactCookie=u),e.exports=u},13601:function(e,t){t.parse=function(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");var r={},i=t||{},o=e.split(/; */),a=i.decode||n;return o.forEach((function(e){var t=e.indexOf("=");if(!(t<0)){var n=e.substr(0,t).trim(),i=e.substr(++t,e.length).trim();'"'==i[0]&&(i=i.slice(1,-1)),void 0==r[n]&&(r[n]=function(e,t){try{return t(e)}catch(n){return e}}(i,a))}})),r},t.serialize=function(e,t,n){var o=n||{},a=o.encode||r;if(!i.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw new TypeError("argument val is invalid");var u=[e+"="+s];if(null!=o.maxAge){var c=o.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");u.push("Max-Age="+c)}if(o.domain){if(!i.test(o.domain))throw new TypeError("option domain is invalid");u.push("Domain="+o.domain)}if(o.path){if(!i.test(o.path))throw new TypeError("option path is invalid");u.push("Path="+o.path)}return o.expires&&u.push("Expires="+o.expires.toUTCString()),o.httpOnly&&u.push("HttpOnly"),o.secure&&u.push("Secure"),u.join("; ")};var n=decodeURIComponent,r=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},35666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(P){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),s=new F(r||[]);return i(a,"_invoke",{value:T(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(P){return{type:"throw",arg:P}}}e.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",g="completed",m={};function v(){}function E(){}function _(){}var y={};c(y,a,(function(){return this}));var S=Object.getPrototypeOf,D=S&&S(S(N([])));D&&D!==n&&r.call(D,a)&&(y=D);var w=_.prototype=v.prototype=Object.create(y);function A(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(i,o,a,s){var u=f(e[i],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"===b(l)&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function T(e,t,n){var r=h;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===g){if("throw"===i)throw o;return R()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=I(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=f(e,t,n);if("normal"===u.type){if(r=n.done?g:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}function I(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,I(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=f(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function N(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:R}}function R(){return{value:t,done:!0}}return E.prototype=_,i(w,"constructor",{value:_,configurable:!0}),i(_,"constructor",{value:E,configurable:!0}),E.displayName=c(_,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},A(C.prototype),c(C.prototype,s,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new C(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(w),c(w,u,"Generator"),c(w,a,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=N,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(x),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:N(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(n){"object"===("undefined"===typeof globalThis?"undefined":b(globalThis))?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},67771:function(e,t,n){"use strict";var r=n(40210),i=n(12296),o=n(31044)(),a=n(27296),s=n(14453),u=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||u(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var l=a(e,"length");l&&!l.configurable&&(r=!1),l&&!l.writable&&(c=!1)}return(r||c||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},37478:function(e,t,n){"use strict";var r=n(40210),i=n(21924),o=n(70631),a=n(14453),s=r("%WeakMap%",!0),u=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),h=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"===b(r)||"function"===typeof r)){if(e)return c(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){var n=g(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"===b(r)||"function"===typeof r)){if(e)return f(e,r)}else if(u){if(t)return p(t,r)}else if(n)return function(e,t){return!!g(e,t)}(n,r);return!1},set:function(r,i){s&&r&&("object"===b(r)||"function"===typeof r)?(e||(e=new s),l(e,r,i)):u?(t||(t=new u),d(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},42238:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",u="object",c="string",l="major",f="model",h="name",d="type",p="vendor",g="version",m="architecture",v="console",E="mobile",_="tablet",y="smarttv",S="wearable",D="embedded",w="Amazon",A="Apple",C="ASUS",T="BlackBerry",I="Browser",O="Chrome",x="Firefox",F="Google",N="Huawei",R="LG",P="Microsoft",B="Motorola",L="Opera",M="Samsung",H="Sharp",k="Sony",j="Xiaomi",U="Zebra",W="Facebook",V="Chromium OS",G="Mac OS",K=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},z=function(e,t){return b(e)===c&&-1!==q(t).indexOf(q(e))},q=function(e){return e.toLowerCase()},Y=function(e,t){if(b(e)===c)return e=e.replace(/^\s\s*/,""),b(t)===s?e:e.substring(0,500)},J=function(e,t){for(var n,r,i,s,c,l,f=0;f<t.length&&!c;){var h=t[f],d=t[f+1];for(n=r=0;n<h.length&&!c&&h[n];)if(c=h[n++].exec(e))for(i=0;i<d.length;i++)l=c[++r],b(s=d[i])===u&&s.length>0?2===s.length?b(s[1])==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?b(s[1])!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;f+=2}},Q=function(e,t){for(var n in t)if(b(t[n])===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(z(t[n][r],e))return"?"===n?o:n}else if(z(t[n],e))return"?"===n?o:n;return e},Z={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,g],[/opios[\/ ]+([\w\.]+)/i],[g,[h,L+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[h,L]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[h,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[h,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[h,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+I],g],[/\bfocus\/([\w\.]+)/i],[g,[h,x+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[h,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[h,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[h,"MIUI "+I]],[/fxios\/([-\w\.]+)/i],[g,[h,x]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+I]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+I],g],[/samsungbrowser\/([\w\.]+)/i],[g,[h,M+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],g],[/metasr[\/ ]?([\d\.]+)/i],[g,[h,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[h,g],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,W],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[h,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[h,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,O+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[h,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[g,Q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[h,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[h,x+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,g],[/(cobalt)\/([\w\.]+)/i],[h,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,q]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",q]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[p,M],[d,_]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[p,M],[d,E]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[p,A],[d,E]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[p,A],[d,_]],[/(macintosh);/i],[f,[p,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[p,H],[d,E]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[p,N],[d,_]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[p,N],[d,E]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[p,j],[d,E]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[p,j],[d,_]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[p,"OPPO"],[d,E]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[p,"Vivo"],[d,E]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[p,"Realme"],[d,E]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[p,B],[d,E]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[p,B],[d,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[p,R],[d,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[p,R],[d,E]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[p,"Lenovo"],[d,_]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[p,"Nokia"],[d,E]],[/(pixel c)\b/i],[f,[p,F],[d,_]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[p,F],[d,E]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[p,k],[d,E]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[p,k],[d,_]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[p,"OnePlus"],[d,E]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[p,w],[d,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[p,w],[d,E]],[/(playbook);[-\w\),; ]+(rim)/i],[f,p,[d,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[p,T],[d,E]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[p,C],[d,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[p,C],[d,E]],[/(nexus 9)/i],[f,[p,"HTC"],[d,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[f,/_/g," "],[d,E]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[p,"Acer"],[d,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[p,"Meizu"],[d,E]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[p,"Ulefone"],[d,E]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,f,[d,E]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,f,[d,_]],[/(surface duo)/i],[f,[p,P],[d,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[p,"Fairphone"],[d,E]],[/(u304aa)/i],[f,[p,"AT&T"],[d,E]],[/\bsie-(\w*)/i],[f,[p,"Siemens"],[d,E]],[/\b(rct\w+) b/i],[f,[p,"RCA"],[d,_]],[/\b(venue[\d ]{2,7}) b/i],[f,[p,"Dell"],[d,_]],[/\b(q(?:mv|ta)\w+) b/i],[f,[p,"Verizon"],[d,_]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[p,"Barnes & Noble"],[d,_]],[/\b(tm\d{3}\w+) b/i],[f,[p,"NuVision"],[d,_]],[/\b(k88) b/i],[f,[p,"ZTE"],[d,_]],[/\b(nx\d{3}j) b/i],[f,[p,"ZTE"],[d,E]],[/\b(gen\d{3}) b.+49h/i],[f,[p,"Swiss"],[d,E]],[/\b(zur\d{3}) b/i],[f,[p,"Swiss"],[d,_]],[/\b((zeki)?tb.*\b) b/i],[f,[p,"Zeki"],[d,_]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],f,[d,_]],[/\b(ns-?\w{0,9}) b/i],[f,[p,"Insignia"],[d,_]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[p,"NextBook"],[d,_]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],f,[d,E]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],f,[d,E]],[/\b(ph-1) /i],[f,[p,"Essential"],[d,E]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[p,"Envizen"],[d,_]],[/\b(trio[-\w\. ]+) b/i],[f,[p,"MachSpeed"],[d,_]],[/\btu_(1491) b/i],[f,[p,"Rotor"],[d,_]],[/(shield[\w ]+) b/i],[f,[p,"Nvidia"],[d,_]],[/(sprint) (\w+)/i],[p,f,[d,E]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[p,P],[d,E]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[p,U],[d,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[p,U],[d,E]],[/smart-tv.+(samsung)/i],[p,[d,y]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[p,M],[d,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,R],[d,y]],[/(apple) ?tv/i],[p,[f,A+" TV"],[d,y]],[/crkey/i],[[f,O+"cast"],[p,F],[d,y]],[/droid.+aft(\w+)( bui|\))/i],[f,[p,w],[d,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[p,H],[d,y]],[/(bravia[\w ]+)( bui|\))/i],[f,[p,k],[d,y]],[/(mitv-\w{5}) bui/i],[f,[p,j],[d,y]],[/Hbbtv.*(technisat) (.*);/i],[p,f,[d,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,Y],[f,Y],[d,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,f,[d,v]],[/droid.+; (shield) bui/i],[f,[p,"Nvidia"],[d,v]],[/(playstation [345portablevi]+)/i],[f,[p,k],[d,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[p,P],[d,v]],[/((pebble))app/i],[p,f,[d,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[p,A],[d,S]],[/droid.+; (glass) \d/i],[f,[p,F],[d,S]],[/droid.+; (wt63?0{2,3})\)/i],[f,[p,U],[d,S]],[/(quest( 2| pro)?)/i],[f,[p,W],[d,S]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[d,D]],[/(aeobc)\b/i],[f,[p,w],[d,D]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[d,E]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[d,_]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,E]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[h,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[h,[g,Q,Z]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Q,Z],[h,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,G],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,g],[/\(bb(10);/i],[g,[h,T]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[h,x+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[h,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,V],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,g],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,g]]},$=function e(t,n){if(b(t)===u&&(n=t,t=o),!(this instanceof e))return new e(t,n).getResult();var r=b(i)!==s&&i.navigator?i.navigator:o,v=t||(r&&r.userAgent?r.userAgent:""),y=r&&r.userAgentData?r.userAgentData:o,S=n?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(X,n):X,D=r&&r.userAgent==v;return this.getBrowser=function(){var e,t={};return t[h]=o,t[g]=o,J.call(t,v,S.browser),t[l]=b(e=t[g])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:o,D&&r&&r.brave&&b(r.brave.isBrave)==a&&(t[h]="Brave"),t},this.getCPU=function(){var e={};return e[m]=o,J.call(e,v,S.cpu),e},this.getDevice=function(){var e={};return e[p]=o,e[f]=o,e[d]=o,J.call(e,v,S.device),D&&!e[d]&&y&&y.mobile&&(e[d]=E),D&&"Macintosh"==e[f]&&r&&b(r.standalone)!==s&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[f]="iPad",e[d]=_),e},this.getEngine=function(){var e={};return e[h]=o,e[g]=o,J.call(e,v,S.engine),e},this.getOS=function(){var e={};return e[h]=o,e[g]=o,J.call(e,v,S.os),D&&!e[h]&&y&&"Unknown"!=y.platform&&(e[h]=y.platform.replace(/chrome os/i,V).replace(/macos/i,G)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return v},this.setUA=function(e){return v=b(e)===c&&e.length>500?Y(e,500):e,this},this.setUA(v),this};$.VERSION="1.0.37",$.BROWSER=K([h,g,l]),$.CPU=K([m]),$.DEVICE=K([f,p,d,v,E,y,_,S,D]),$.ENGINE=$.OS=K([h,g]),b(t)!==s?(e.exports&&(t=e.exports=$),t.UAParser=$):n.amdO?(r=function(){return $}.call(t,n,t,e))===o||(e.exports=r):b(i)!==s&&(i.UAParser=$);var ee=b(i)!==s&&(i.jQuery||i.Zepto);if(ee&&!ee.ua){var te=new $;ee.ua=te.getResult(),ee.ua.get=function(){return te.getUA()},ee.ua.set=function(e){te.setUA(e);var t=te.getResult();for(var n in t)ee.ua[n]=t[n]}}}("object"===("undefined"===typeof window?"undefined":b(window))?window:this)},55559:function(e,t,n){e.exports=n(32482)},32482:function(e,t,n){var r=n(48764).Buffer;t.version="1.0.0",t.encode=function(e){return e.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},t.decode=function(e){return e=(e+=Array(5-e.length%4).join("=")).replace(/\-/g,"+").replace(/\_/g,"/"),new r(e,"base64")},t.validate=function(e){return/^[A-Za-z0-9\-_]+$/.test(e)}},58345:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABnlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGBgYTExP+/v79/f719fWoqKhhYWH7+/v19fXx8fHw8PDu7u7n5+fh4eHe3t7b29vMzMzGxsawsLCPj4+MjIxwcHBkZGQtLS0fHx/6+vv2+f77+/v09PTw8PDq6uro6Ojk5OTZ2dnW1tbPz8/IyMjMzMzKysq+vr65ubmrq6ukpKSZmZmFhYWHh4dUVFRBQUFHR0c5OTkMDAz39/f///9ep/9bpf9hqP/7+/tkqv1YpP/W6P3z9/x+uP7b6v3P5P3L4f34+vzv9fzu9v9nq//T5v7G3/3C3f272f3h7f1qrf32+fypz/5xsf631v3q8vzd7P6mzv6Buv6v0/2Yxv3n8fxsrv+UxP6MwP78/f/p8/91s/+gy/6ayP54tf6/2/2y1P2dyf3t9Pzk7/vz+f+EvP+jzP73+/+Rwv6Pwf6Hvf57tv5usP76/P/k8P6Jvv5Wo/9zsv6s0f2z1v+21/9kqv9qrf9OWlduAAAAR3RSTlMAAwYSCxYOCBoeJzAhLCQ3NDIqOzn++ud4UPPk4NjWyLy7s6KXgWtoWVdDQPL79eLdzcrDrqmmnZuakYeAdnNmYlJLSEg+6l9+BZgAAAkASURBVHja7JfZTxpRGMW7F2dk5s4Awy6L7Jjui0vdtTw0gVSBiDY2lkaNxdjYKhH7gA9t/+1+d+MOBarA2L70PJWG8jv3fMu9vfFf/zWobv4mywFXQd9i+os2zOD7JjEj12yCwwF9586de22Cv6A2uIdro1P2bay7LZGP1MU1eRD0e5Rss9lGRkZGieAP8JH6uCc8WIzndMwGsKJIkq7biXRdkhQFjGAX1AO1YC2e0gGuSACWNYTUlhDSZDAiKWCCeOAWrMVTOmar3tnYs1DQ7TNcLsPnDoaexWa9KnZBPJgtWIkndKQmp0K+HJPrDZELlPOFppIqIh4ss8Dx5PCSLqOsJzyBwYLPVSwW3zRzE2FPFsm6RGLgFobkk9MD3q6pC9EHuTaZ8dvb24XCdrH2ILqganawQFIgDoaInx0f453xICC7GSBwwGOVSoViLRh3Ygs0BFKGYY4P6SuAn3HnOuVihwdhONHJSanQdM+ABQXqMHgI5uPLyOPPdZWL4Avk9Ax/8gFUavo9SDaHMCgfHx+lHuf+qFqzWcQGTggetL+/f1J7nEI4BO5gED49vnPS6Dx5IPwynkgtZVdXs0upRPxlOOCqNUoMDzo9PS0Zk04aAnXQNx/iH1F0zTv2O/3Ri7mMA28/TSbS8FZ0ZOZePMo1ShQPevfutDHm1XRlBMrQpwPefjh+j6+d7h9PA5wsXklhkshyBhPpcX+tsI/pRNUTnweXgbdiH+enfIj/eXvykaQDFi4sfXwH2lrC96ICi0pDjmTEVaD8avXt24vacygDcYAz6JufeWLGG9G0ijAd2OTyFYKP4AJ7QGo6ahQwnar+JNOXA1F/4C+3lT+yiDecAgfHbPIK4oIP2AVEoeCNuRip7VN8Pp8vjy3LkuiDfvjehyZ8IEEXLKZjNn8I8uchdoE90KWdCNTfAR5r4/Chtx8HZP4o/7Up/ZgDMTzQ+etPiLoAD8wCcsSMC4IHXbzGDtg0Xp2/bDq/e16VdQXw4rkDMv8rfm+z3a3L6ry7jPFroIuHy8LBVQYQ5k/OmOr/dAXxu4XTe71axe2FVp428sDH2h/LyDCNVxhGOgA2xe409f+4g6wTgb/s+cJWmGO8kQf6OujwidOu2OgoXFYA4I/qSMy/a1rlt4rA/9kCv8PU6WZ+nar8HOmjNtqIlxQAN4DmEe33CvjiSrm8icQ1Bg5eGRsYX6msNzwaaQNehN4FuGtTZK949BF+X9d6KwTioLhWIVqb8MqK7S4pwmUFsDtFA04zPq1+Py9J5mC6sQ74zc3N6pjTLorQMwD4VzqaFP1H+TT+fm9z6mC8Dnis8iTS4bdYBL0DUOSU0Zo/Rxt/IAeOpxdAPz4+rhgpWeER9A5g1I4ec757RTPzB3Ogrbjzx6CtrfxjZB+lEfQMoG0CjHk6OoO96cRIzxsVwIPqZBJEBJ0BkA70cwMx1a4I/qAOFLsaK2P8zs66H/chjaB3ADOcHyAN0HmP9/euIW0QWAM8qDwjIujVAU43N5CAAvDN0b/EXoMiJBrUQMXt7NkFNC9Ji3N+RBTgxoASRYhUd3a+gMpxTaI/2iMAXQ3yDlwkaRGzA4sXQVs0tjB/txJUdRFBZwsq8gIPIKqyfhnKAO9sNfoW8KD6gqx0bUPWgijK74C0aJfBJVo7XfyJ+d83ooj9bvcWzD4QHcAHZii1Iohs7H4H/XiQ5W3YtQKtJZREIgArIkDJ+u7396BDD69B1wqEGd/vEF8bRuJoDv8x5n9cD3etAelWCGqC34JIFwFYEYGOxqvvP4J2J6C4ZLq62UzmmNJ0XDF/eAd0waSb2MDZWTnJw+0wIGlT/P+/pgpYVoNHW2ego/yUJnUaYDGFmIEXKq3A8Hzx4+qLjbOjo6OvxyFW3g4D0AL8KTgHjcIqYFENoMHnDo+wgY8+aIIOA3QLePkWyogKWFeDTPPsK1bdSzZBhwH4ymzrIuZfGV7ieI7ALuA/f76YZcfr8KjFmIGwCGl4iQKHNwG/t7cR00S+bUOAnjEDL5GFPSha/OXa5z3Q5jPExqCjTfgQxEUPWtmF8SrmH+yExM+Lb4BF8RZIsEm9YZHYlkkcAv7g4H2QDLkwICaVv8ZSmmK9AUVLlQ+wjtx8y/RcA0vydRiQlxoHB+fn53t8EXQaMJiB7PUYyNbOQd/OjZ4GXMzA6vUYWM19A3365vqnBj79at8Mc9sEgih8h0i9RbkHsWxr7UTg2HFBAlptCBiSSsZKjWviYnLrzoJXu8jJn0q8kijvAp8lw7Iz800Yfvl/f0FIKX6pvwD+EBK+KJ7UQwh/DQm/3f6QryH+INpvKdlKHkT4o3gs+Jkjj2L8x+gmy4IgOKqPEfpz/BiIH3CjPsfoC0lCeMY8eSGBX8mus4BR5JUMfym9ZSJbeQzgr+Vzwue5L6/l+MIkySnpXBUm4NJszQifppEqzcDF6VUqksniFF+eJ2kax/EfWZ7DGxSWwB8OnmpQgFs0R6If3EC1aMBNqm+M8K5byiYVvE23IDzFUm06bKPSyIm+2yWqUQlu1S4EfscnslWLblZbMdE5D1WzGtyu/0n8JV9OVLseO7AYE5zypAYW2JGNwZYiL3s1ssEOrRKi27btq6EVdmz3QHhKbKixHXRw6XGiD4fDmRpcQke3UUx4iqONbpHDaysf1sm04TVyfG8Egj4YcEsb3wMFBisgOqWaagIDUOGI4ppvmnNN4QBKLN5uUOPNUpdYcBrPohJ4ykbXeGAik3FHdJHLjS4ywVSuWXzCX35vqVwgmc26a+iUh5bMhtH5jNIWdJFq2tL5IEKj8cglfsSiltCIUDojxyZ6gx9tvraUzu6l1vW8EI9eQx/xaVtq7VjrvZ6UGdEl/nm0Mtpab1di8+915F0dE1ZpdOJn+zOx+Z/V7os31e57xx2KDCgtPJsJtftCU7u7kdudE92sI+nPxfhMbu9I7+dEpyg80W0/Otf7u1pw4A2e4Cf8SzJ7ZcGhuxUP36zT4O2wvH11xaPDJZd73zYr22Xh6ji13lpyed9rPj1YdOrBqlcPlt16sO7Xg4XHPqx89mHptRdrv5/5YPkLFQx+SzGM9FAAAAAASUVORK5CYII="},86925:function(t){"use strict";t.exports=e},45840:function(e){"use strict";e.exports=t},13572:function(e){"use strict";e.exports=n},79650:function(e){"use strict";e.exports=r},42480:function(){},24654:function(){},12846:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}},24678:function(e,t,n){"use strict";function r(e){return new Promise((function(t,n){e.oncomplete=e.onsuccess=function(){return t(e.result)},e.onabort=e.onerror=function(){return n(e.error)}}))}function i(e,t){var n=indexedDB.open(e);n.onupgradeneeded=function(){return n.result.createObjectStore(t)};var i=r(n);return function(e,n){return i.then((function(r){return n(r.transaction(t,e).objectStore(t))}))}}var o;function a(){return o||(o=i("keyval-store","keyval")),o}function s(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:a())("readonly",(function(t){return r(t.get(e))}))}function u(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:a())("readwrite",(function(n){return n.put(t,e),r(n.transaction)}))}function c(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:a())("readwrite",(function(t){return e.forEach((function(e){return t.delete(e)})),r(t.transaction)}))}function l(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:a())("readwrite",(function(e){return e.clear(),r(e.transaction)}))}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a();return e("readonly",(function(t){if(t.getAll&&t.getAllKeys)return Promise.all([r(t.getAllKeys()),r(t.getAll())]).then((function(e){var t=y(e,2),n=t[0],r=t[1];return n.map((function(e,t){return[e,r[t]]}))}));var n=[];return e("readonly",(function(e){return function(e,t){return e.openCursor().onsuccess=function(){this.result&&(t(this.result),this.result.continue())},r(e.transaction)}(e,(function(e){return n.push([e.key,e.value])})).then((function(){return n}))}))}))}n.d(t,{MT:function(){return i},Qv:function(){return c},U2:function(){return s},ZH:function(){return l},qh:function(){return f},t8:function(){return u}})},38085:function(e,t,n){"use strict";n.d(t,{Fu:function(){return L},NO:function(){return Z},Yn:function(){return Y},a4:function(){return C},mr:function(){return ee},mw:function(){return I}});var r,i,o,a,s,u=-1,c=function(e){addEventListener("pageshow",(function(t){t.persisted&&(u=t.timeStamp,e(t))}),!0)},l=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=l();return e&&e.activationStart||0},h=function(e,t){var n=l(),r="navigate";return u>=0?r="back-forward-cache":n&&(document.prerendering||f()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},d=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},p=function(e,t,n,r){var i,o;return function(a){t.value>=0&&(a||r)&&((o=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},g=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},m=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},v=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},E=-1,_=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(e){"hidden"===document.visibilityState&&E>-1&&(E="visibilitychange"===e.type?e.timeStamp:0,D())},S=function(){addEventListener("visibilitychange",y,!0),addEventListener("prerenderingchange",y,!0)},D=function(){removeEventListener("visibilitychange",y,!0),removeEventListener("prerenderingchange",y,!0)},w=function(){return E<0&&(E=_(),S(),c((function(){setTimeout((function(){E=_(),S()}),0)}))),{get firstHiddenTime(){return E}}},b=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},A=[1800,3e3],C=function(e,t){t=t||{},b((function(){var n,r=w(),i=h("FCP"),o=d("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-f(),0),i.entries.push(e),n(!0)))}))}));o&&(n=p(e,i,A,t.reportAllChanges),c((function(r){i=h("FCP"),n=p(e,i,A,t.reportAllChanges),g((function(){i.value=performance.now()-r.timeStamp,n(!0)}))})))}))},T=[.1,.25],I=function(e,t){t=t||{},C(v((function(){var n,r=h("CLS",0),i=0,o=[],a=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=o[0],n=o[o.length-1];i&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e])}})),i>r.value&&(r.value=i,r.entries=o,n())},s=d("layout-shift",a);s&&(n=p(e,r,T,t.reportAllChanges),m((function(){a(s.takeRecords()),n(!0)})),c((function(){i=0,r=h("CLS",0),n=p(e,r,T,t.reportAllChanges),g((function(){return n()}))})),setTimeout(n,0))})))},O={passive:!0,capture:!0},x=new Date,F=function(e,t){r||(r=t,i=e,o=new Date,P(removeEventListener),N())},N=function(){if(i>=0&&i<o-x){var e={entryType:"first-input",name:r.type,target:r.target,cancelable:r.cancelable,startTime:r.timeStamp,processingStart:r.timeStamp+i};a.forEach((function(t){t(e)})),a=[]}},R=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){F(e,t),i()},r=function(){i()},i=function(){removeEventListener("pointerup",n,O),removeEventListener("pointercancel",r,O)};addEventListener("pointerup",n,O),addEventListener("pointercancel",r,O)}(t,e):F(t,e)}},P=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,R,O)}))},B=[100,300],L=function(e,t){t=t||{},b((function(){var n,o=w(),s=h("FID"),u=function(e){e.startTime<o.firstHiddenTime&&(s.value=e.processingStart-e.startTime,s.entries.push(e),n(!0))},l=function(e){e.forEach(u)},f=d("first-input",l);n=p(e,s,B,t.reportAllChanges),f&&m(v((function(){l(f.takeRecords()),f.disconnect()}))),f&&c((function(){var o;s=h("FID"),n=p(e,s,B,t.reportAllChanges),a=[],i=-1,r=null,P(addEventListener),o=u,a.push(o),N()}))}))},M=0,H=1/0,k=0,j=function(e){e.forEach((function(e){e.interactionId&&(H=Math.min(H,e.interactionId),k=Math.max(k,e.interactionId),M=k?(k-H)/7+1:0)}))},U=function(){return s?M:performance.interactionCount||0},W=[200,500],V=0,G=function(){return U()-V},K=[],z={},q=function(e){var t=K[K.length-1],n=z[e.interactionId];if(n||K.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};z[r.id]=r,K.push(r)}K.sort((function(e,t){return t.latency-e.latency})),K.splice(10).forEach((function(e){delete z[e.id]}))}},Y=function(e,t){t=t||{},b((function(){var n;"interactionCount"in performance||s||(s=d("event",j,{type:"event",buffered:!0,durationThreshold:0}));var r,i=h("INP"),o=function(e){e.forEach((function(e){e.interactionId&&q(e),"first-input"===e.entryType&&!K.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&q(e)}));var t,n=(t=Math.min(K.length-1,Math.floor(G()/50)),K[t]);n&&n.latency!==i.value&&(i.value=n.latency,i.entries=n.entries,r())},a=d("event",o,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});r=p(e,i,W,t.reportAllChanges),a&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),m((function(){o(a.takeRecords()),i.value<0&&G()>0&&(i.value=0,i.entries=[]),r(!0)})),c((function(){K=[],V=U(),i=h("INP"),r=p(e,i,W,t.reportAllChanges)})))}))},J=[2500,4e3],Q={},Z=function(e,t){t=t||{},b((function(){var n,r=w(),i=h("LCP"),o=function(e){var t=e[e.length-1];t&&t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-f(),0),i.entries=[t],n())},a=d("largest-contentful-paint",o);if(a){n=p(e,i,J,t.reportAllChanges);var s=v((function(){Q[i.id]||(o(a.takeRecords()),a.disconnect(),Q[i.id]=!0,n(!0))}));["keydown","click"].forEach((function(e){addEventListener(e,(function(){return setTimeout(s,0)}),!0)})),m(s),c((function(r){i=h("LCP"),n=p(e,i,J,t.reportAllChanges),g((function(){i.value=performance.now()-r.timeStamp,Q[i.id]=!0,n(!0)}))}))}}))},X=[800,1800],$=function e(t){document.prerendering?b((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},ee=function(e,t){t=t||{};var n=h("TTFB"),r=p(e,n,X,t.reportAllChanges);$((function(){var i=l();if(i){var o=i.responseStart;if(o<=0||o>performance.now())return;n.value=Math.max(o-f(),0),n.entries=[i],r(!0),c((function(){n=h("TTFB",0),(r=p(e,n,X,t.reportAllChanges))(!0)}))}}))}}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}return a.m=i,a.amdO={},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"===b(n)&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"===typeof n.then)return n}var i=Object.create(null);a.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==b(s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){return o[e]=function(){return n[e]}}));return o.default=function(){return n},a.d(i,o),i}}(),a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.u=function(e){return"zoomus-websdk-"+({3:"editor_nl-NL",22:"ReportProblemContent",44:"editor_ko-KR",174:"editor_tr-TR",223:"editor_es-ES",288:"lottie",337:"main-client",367:"loginview",370:"MobileReportProblemContent",456:"lottie-web",493:"preview",578:"icons",595:"editor_id-ID",613:"editor_ja-JP",668:"chat-list",753:"editor_pl-PL",779:"editor_vi-VN",810:"editor_fr-FR",818:"editor_de-DE",875:"editor_ru-RU",898:"editor_zh-CN",919:"editor_pt-PT",929:"editor_zh-TW",934:"editor_it-IT",986:"zoommtgMain"}[e]||e)+".umd.min.js"},a.miniCssF=function(e){return e+".zoom-meetingsdk.css"},a.g=function(){if("object"===("undefined"===typeof globalThis?"undefined":b(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===("undefined"===typeof window?"undefined":b(window)))return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="@zoom/webclientjs:";a.l=function(n,r,i,o){if(e[n])e[n].push(r);else{var s,u;if(void 0!==i)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+i){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",t+i),s.src=n),e[n]=[r];var h=function(t,r){s.onerror=s.onload=null,clearTimeout(d);var i=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(r)})),t)return t(r)},d=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),u&&document.head.appendChild(s)}}}(),a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&!e;)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e}(),function(){if("undefined"!==typeof document){var e={522:0};a.f.miniCss=function(t,n){var r;e[t]?n.push(e[t]):0!==e[t]&&{22:1,337:1,367:1,370:1,493:1,544:1,668:1,986:1}[t]&&n.push(e[t]=(r=t,new Promise((function(e,t){var n=a.miniCssF(r),i=a.p+n;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var i=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var a;if((i=(a=o[r]).getAttribute("data-href"))===e||i===t)return a}}(n,i))return e();!function(e,t,n,r,i){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(n){if(o.onerror=o.onload=null,"load"===n.type)r();else{var a=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=s,o.parentNode&&o.parentNode.removeChild(o),i(u)}},o.href=t,document.head.appendChild(o)}(r,i,0,e,t)}))).then((function(){e[t]=0}),(function(n){throw delete e[t],n})))}}}(),function(){var e={522:0};a.f.j=function(t,n){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,i){return r=e[t]=[n,i]}));n.push(r[2]=i);var o=a.p+a.u(t),s=new Error;a.l(o,(function(n){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,r[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],s=n[1],u=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);u&&u(a)}for(t&&t(n);c<o.length;c++)i=o[c],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunk_zoom_webclientjs=self.webpackChunk_zoom_webclientjs||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),a.nc=void 0,a(17732),a(56997),a(95767),a(79665),a(62850),a(96409),a(52310),a(62773),a(58364),a(63200)}()},"object"===b(t)&&"object"===b(e)?e.exports=a(n(35),n(363),n(827),n(710)):(i=[n(35),n(363),n(827),n(710)],void 0===(o="function"===typeof(r=a)?r.apply(t,i):r)||(e.exports=o))},272:function(e,t,n){"use strict";n(894)},363:function(e){"use strict";e.exports=React},827:function(e){"use strict";e.exports=Redux},710:function(e){"use strict";e.exports=ReduxThunk},35:function(e){"use strict";e.exports=_}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r](o,o.exports,n),o.loaded=!0,o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";n(272)}()}();
|