(()=>{var e={619(e){"undefined"!=typeof self&&self,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){"use strict";n.d(t,"i",function(){return l}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return d}),n.d(t,"c",function(){return h}),n.d(t,"h",function(){return p}),n.d(t,"f",function(){return y}),n.d(t,"b",function(){return b}),n.d(t,"g",function(){return v}),n.d(t,"a",function(){return w});var r,o,i,c,u,a=n(3),s=Object(a.b)(),l=(null===(r=null==s?void 0:s.navigator)||void 0===r?void 0:r.userAgent)||"unknown",f="InstallTrigger"in((null==s?void 0:s.window)||{})||/firefox/i.test(l),d=/trident/i.test(l)||/msie/i.test(l),h=/edge/i.test(l)||/EdgiOS/i.test(l),p=/webkit/i.test(l),y=/IqiyiApp/.test(l),b=void 0!==(null===(o=null==s?void 0:s.window)||void 0===o?void 0:o.chrome)||/chrome/i.test(l)||/CriOS/i.test(l),v="[object SafariRemoteNotification]"===((null===(c=null===(i=null==s?void 0:s.window)||void 0===i?void 0:i.safari)||void 0===c?void 0:c.pushNotification)||!1).toString()||/safari/i.test(l)&&!b,w="function"==typeof(null===(u=s.document)||void 0===u?void 0:u.createElement)},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return u});var r=n(0);function o(e){if(r.a&&console){if(!r.e&&!r.c)return console[e];if("log"===e||"clear"===e)return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];console[e].apply(console,t)}}return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}}var i=o("log"),c=o("table"),u=o("clear")},function(e,t,n){"use strict";t.a=function(e){void 0===e&&(e={});for(var t=e.includes,n=void 0===t?[]:t,r=e.excludes,o=void 0===r?[]:r,i=!1,c=!1,u=0,a=n;u<a.length;u++)if(!0===a[u]){i=!0;break}for(var s=0,l=o;s<l.length;s++)if(!0===l[s]){c=!0;break}return i&&!c}},function(e,t,n){"use strict";(function(e){t.b=u,t.a=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=u();return(null==r?void 0:r.document)?(e=r.document).createElement.apply(e,t):{}},t.c=function(){if(r)return r;if(a){var e=new Blob([o.a.workerScript]);try{var t=URL.createObjectURL(e);r=new o.a(new Worker(t)),URL.revokeObjectURL(t)}catch(e){try{r=new o.a(new Worker("data:text/javascript;base64,".concat(btoa(o.a.workerScript))))}catch(e){a=!1}}return r}},n.d(t,"d",function(){return s});var r,o=n(10),i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},c=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}};function u(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:this}var a=!0,s=function(){return i(this,void 0,void 0,function(){var e;return c(this,function(t){switch(t.label){case 0:if(e=!1,!navigator.brave)return[3,4];if(!navigator.brave.isBrave)return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,Promise.race([navigator.brave.isBrave(),new Promise(function(e){return setTimeout(function(){return e(!1)},1e3)})])];case 2:return e=t.sent(),[3,4];case 3:return t.sent(),[3,4];case 4:return s=function(){return i(this,void 0,void 0,function(){return c(this,function(t){return[2,e]})})},[2,e]}})})}}).call(t,n(9))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addListener=function(e){d.addListener(e)},t.removeListener=function(e){d.removeListener(e)},t.isLaunch=function(){return d.isLaunch()},t.launch=function(){d.launch()},t.stop=function(){d.stop()},t.setDetectDelay=function(e){d.setDetectDelay(e)};var r=n(8),o=n(12);n.d(t,"DevtoolsDetector",function(){return r.a}),n.d(t,"checkers",function(){return o});var i=n(23);n.d(t,"crashBrowserCurrentTab",function(){return i.b}),n.d(t,"crashBrowser",function(){return i.a});var c=n(2);n.d(t,"match",function(){return c.a});var u=n(3);n.d(t,"getGlobalThis",function(){return u.b}),n.d(t,"createElement",function(){return u.a}),n.d(t,"getWorkerConsole",function(){return u.c}),n.d(t,"isBrave",function(){return u.d});var a=n(24);n.d(t,"versionMap",function(){return a.a});var s=n(0);n.d(t,"userAgent",function(){return s.i}),n.d(t,"isFirefox",function(){return s.d}),n.d(t,"isIE",function(){return s.e}),n.d(t,"isEdge",function(){return s.c}),n.d(t,"isWebkit",function(){return s.h}),n.d(t,"isIqiyiApp",function(){return s.f}),n.d(t,"isChrome",function(){return s.b}),n.d(t,"isSafari",function(){return s.g}),n.d(t,"inBrowser",function(){return s.a});var l=n(1);n.d(t,"log",function(){return l.b}),n.d(t,"table",function(){return l.c}),n.d(t,"clear",function(){return l.a});var f=n(5);n.d(t,"isMac",function(){return f.d}),n.d(t,"isIpad",function(){return f.b}),n.d(t,"isIphone",function(){return f.c}),n.d(t,"isAndroid",function(){return f.a}),n.d(t,"isWindows",function(){return f.e});var d=new r.a({checkers:[o.erudaChecker,o.elementIdChecker,o.devtoolsFormatterChecker,o.performanceChecker,o.debuggerChecker]});t.default=d},function(e,t,n){"use strict";n.d(t,"d",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return u}),n.d(t,"e",function(){return a});var r=n(0),o=/macintosh/i.test(r.i),i=/ipad/i.test(r.i)||o&&navigator.maxTouchPoints>1,c=/iphone/i.test(r.i),u=/android/i.test(r.i),a=/windows/i.test(r.i)},function(e,t,n){"use strict";t.a=function(){return"undefined"!=typeof performance?performance.now():Date.now()}},function(e,t,n){"use strict";t.a=function(){return null===r&&(r=function(){for(var e=function(){for(var e={},t=0;t<500;t++)e["".concat(t)]="".concat(t);return e}(),t=[],n=0;n<50;n++)t.push(e);return t}()),r};var r=null},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(0),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},c=function(){function e(e){var t=e.checkers;this._listeners=[],this._isOpen=!1,this._detectLoopStopped=!0,this._detectLoopDelay=500,this._checkers=t.slice()}return Object.defineProperty(e.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),e.prototype.launch=function(){r.a&&(this._detectLoopDelay<=0&&this.setDetectDelay(500),this._detectLoopStopped&&(this._detectLoopStopped=!1,this._detectLoop()))},e.prototype.stop=function(){this._detectLoopStopped||(this._detectLoopStopped=!0,this._isOpen=!1,clearTimeout(this._timer))},e.prototype.isLaunch=function(){return!this._detectLoopStopped},e.prototype.setDetectDelay=function(e){this._detectLoopDelay=e},e.prototype.addListener=function(e){this._listeners.push(e)},e.prototype.removeListener=function(e){this._listeners=this._listeners.filter(function(t){return t!==e})},e.prototype._broadcast=function(e){for(var t=0,n=this._listeners;t<n.length;t++){var r=n[t];try{r(e.isOpen,e)}catch(e){}}},e.prototype._detectLoop=function(){return o(this,void 0,void 0,function(){var e,t,n,r,o,c=this;return i(this,function(i){switch(i.label){case 0:e=!1,t="",n=0,r=this._checkers,i.label=1;case 1:return n<r.length?[4,(o=r[n]).isEnable()]:[3,6];case 2:return i.sent()?(t=o.name,[4,o.isOpen()]):[3,4];case 3:e=i.sent(),i.label=4;case 4:if(e)return[3,6];i.label=5;case 5:return n++,[3,1];case 6:return e!==this._isOpen&&(this._isOpen=e,this._broadcast({isOpen:e,checkerName:t})),this._detectLoopDelay>0&&!this._detectLoopStopped?this._timer=setTimeout(function(){return c._detectLoop()},this._detectLoopDelay):this.stop(),[2]}})})},e}()},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(11),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},c=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},u=function(){function e(e){var t=this;this.callbacks=new Map,this.worker=e,this.worker.onmessage=function(e){var n=e.data,r=n.id,o=t.callbacks.get(n.id);o&&(o({time:n.time}),t.callbacks.delete(r))},this.log=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.send.apply(t,c(["log"],e,!1))},this.table=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.send.apply(t,c(["table"],e,!1))},this.clear=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.send.apply(t,c(["clear"],e,!1))}}return e.prototype.send=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return o(this,void 0,void 0,function(){var n,o=this;return i(this,function(i){return n=Object(r.a)(),[2,new Promise(function(r,i){o.callbacks.set(n,r),o.worker.postMessage({id:n,type:e,payload:t}),setTimeout(function(){i(new Error("timeout")),o.callbacks.delete(n)},2e3)})]})})},e.workerScript="\nonmessage=function(event){\n  var action=event.data;\n  var startTime=performance.now()\n\n  console[action.type](...action.payload);\n  postMessage({\n    id: action.id,\n    time: performance.now() - startTime\n  })\n}\n",e}()},function(e,t,n){"use strict";t.a=function(){return r>Number.MAX_SAFE_INTEGER&&(r=0),r++};var r=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13);n.d(t,"depRegToStringChecker",function(){return r.a});var o=n(14);n.d(t,"elementIdChecker",function(){return o.a});var i=n(15);n.d(t,"functionToStringChecker",function(){return i.a});var c=n(16);n.d(t,"regToStringChecker",function(){return c.a});var u=n(17);n.d(t,"debuggerChecker",function(){return u.a});var a=n(18);n.d(t,"dateToStringChecker",function(){return a.a});var s=n(19);n.d(t,"performanceChecker",function(){return s.a});var l=n(20);n.d(t,"erudaChecker",function(){return l.a});var f=n(21);n.d(t,"devtoolsFormatterChecker",function(){return f.a});var d=n(22);n.d(t,"workerPerformanceChecker",function(){return d.a})},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(0),o=n(1),i=n(2),c=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},u=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},a=/ /,s=!1;a.toString=function(){return s=!0,l.name};var l={name:"dep-reg-to-string",isOpen:function(){return c(this,void 0,void 0,function(){return u(this,function(e){return s=!1,Object(o.c)({dep:a}),Object(o.a)(),[2,s]})})},isEnable:function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,Object(i.a)({includes:[!0],excludes:[r.d,r.e]})]})})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(0),o=n(1),i=n(2),c=n(3),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},s=Object(c.a)("div"),l=!1;Object.defineProperty(s,"id",{get:function(){return l=!0,f.name},configurable:!0});var f={name:"element-id",isOpen:function(){return u(this,void 0,void 0,function(){return a(this,function(e){return l=!1,Object(o.b)(s),Object(o.a)(),[2,l]})})},isEnable:function(){return u(this,void 0,void 0,function(){return a(this,function(e){return[2,Object(i.a)({includes:[r.g]})]})})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(0),o=n(1),i=n(5),c=n(2),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}};function s(){}var l=0;s.toString=function(){return l++,""};var f={name:"function-to-string",isOpen:function(){return u(this,void 0,void 0,function(){return a(this,function(e){return l=0,Object(o.b)(s),Object(o.a)(),[2,2===l]})})},isEnable:function(){return u(this,void 0,void 0,function(){var e;return a(this,function(t){return e=i.b||i.c,[2,Object(c.a)({includes:[!0],excludes:[r.f,r.d,e&&r.b,e&&r.c]})]})})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(1),o=n(0),i=n(2),c=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},u=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},a=/ /,s=!1;a.toString=function(){return s=!0,l.name};var l={name:"reg-to-string",isOpen:function(){return c(this,void 0,void 0,function(){return u(this,function(e){return s=!1,Object(r.b)(a),Object(r.a)(),[2,s]})})},isEnable:function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,Object(i.a)({includes:[!0],excludes:[o.h]})]})})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(6),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},c={name:"debugger-checker",isOpen:function(){return o(this,void 0,void 0,function(){var e;return i(this,function(t){e=Object(r.a)();try{(function(){}).constructor("debugger")()}catch(e){}return[2,Object(r.a)()-e>100]})})},isEnable:function(){return o(this,void 0,void 0,function(){return i(this,function(e){return[2,!0]})})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(0),o=n(1),i=n(2),c=n(4),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},s=new Date,l=0;s.toString=function(){return l++,""};var f={name:"date-to-string",isOpen:function(){return u(this,void 0,void 0,function(){return a(this,function(e){return l=0,Object(o.b)(s),Object(o.a)(),[2,2===l]})})},isEnable:function(){return u(this,void 0,void 0,function(){return a(this,function(e){return[2,Object(i.a)({includes:[r.b],excludes:[(c.isIpad||c.isIphone)&&r.b]})]})})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n(1),o=n(0),i=n(7),c=n(2),u=n(3),a=n(6),s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},l=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},f=0,d={name:"performance",isOpen:function(){return s(this,void 0,void 0,function(){var e,t;return l(this,function(n){switch(n.label){case 0:return e=function(){var e=Object(i.a)(),t=Object(a.a)();return Object(r.c)(e),Object(a.a)()-t}(),t=Math.max(h(),h()),f=Math.max(f,t),Object(r.a)(),0===e?[2,!1]:0!==f?[3,2]:[4,Object(u.d)()];case 1:return n.sent()?[2,!0]:[2,!1];case 2:return[2,e>10*f]}})})},isEnable:function(){return s(this,void 0,void 0,function(){return l(this,function(e){return[2,Object(c.a)({includes:[o.b,o.g,o.d],excludes:[]})]})})}};function h(){var e=Object(i.a)(),t=Object(a.a)();return Object(r.b)(e),Object(a.a)()-t}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},i={name:"eruda",isOpen:function(){var e;return r(this,void 0,void 0,function(){return o(this,function(t){return"undefined"!=typeof eruda?[2,!0===(null===(e=null===eruda||void 0===eruda?void 0:eruda._devTools)||void 0===e?void 0:e._isShow)]:[2,!1]})})},isEnable:function(){return r(this,void 0,void 0,function(){return o(this,function(e){return[2,!0]})})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(1),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},c=!1,u={header:function(){return c=!0,null}},a={name:"DevtoolsFormatters",isOpen:function(){return o(this,void 0,void 0,function(){return i(this,function(e){return window.devtoolsFormatters?-1===window.devtoolsFormatters.indexOf(u)&&window.devtoolsFormatters.push(u):window.devtoolsFormatters=[u],c=!1,Object(r.b)({}),Object(r.a)(),[2,c]})})},isEnable:function(){return o(this,void 0,void 0,function(){return i(this,function(e){return[2,!0]})})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(0),o=n(2),i=n(3),c=n(7),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function c(e){try{a(r.next(e))}catch(e){i(e)}}function u(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(c,u)}a((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,r=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=t.call(e,c)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}},s=0,l={name:"worker-performance",isOpen:function(){return u(this,void 0,void 0,function(){var e,t,n;return a(this,function(r){switch(r.label){case 0:return null==(e=Object(i.c)())?[2,!1]:[4,function(e){return u(this,void 0,void 0,function(){var t;return a(this,function(n){switch(n.label){case 0:return t=Object(c.a)(),[4,e.table(t)];case 1:return[2,n.sent().time]}})})}(e)];case 1:return t=r.sent(),[4,function(e){return u(this,void 0,void 0,function(){var t;return a(this,function(n){switch(n.label){case 0:return t=Object(c.a)(),[4,e.log(t)];case 1:return[2,n.sent().time]}})})}(e)];case 2:return n=r.sent(),s=Math.max(s,n),[4,e.clear()];case 3:return r.sent(),0===t?[2,!1]:0!==s?[3,5]:[4,Object(i.d)()];case 4:return r.sent()?[2,!0]:[2,!1];case 5:return[2,t>10*s]}})})},isEnable:function(){return u(this,void 0,void 0,function(){return a(this,function(e){return[2,Object(o.a)({includes:[r.b],excludes:[]})]})})}}},function(e,t,n){"use strict";t.b=function(){if(r.a)for(var e=0;e<Number.MAX_VALUE;e++)window["".concat(e)]=new Array(Math.pow(2,32)-1).fill(0)},t.a=function(){if(r.a)for(var e=[];;)e.push(0),location.reload()};var r=n(0)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});for(var r={},o=0,i=(n(0).i||"").match(/\w+\/(\d|\.)+(\s|$)/gi)||[];o<i.length;o++){var c=i[o].split("/"),u=c[0],a=c[1];r[u]=a}}])}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(()=>{"use strict";function e(e){window.addEventListener("keydown",function(t){t.ctrlKey&&t.which===e&&t.preventDefault(),t.metaKey&&t.which===e&&t.preventDefault()}),document.keypress=function(t){return(!t.ctrlKey||t.which!==e)&&((!t.metaKey||t.which!==e)&&void 0)}}function t(){""!==document.body.innerHTML&&(window.mdpUngrabberBody=document.body.innerHTML,document.body.innerHTML="")}function r(){void 0!==window.mdpUngrabberBody&&0!==window.mdpUngrabberBody.length&&setTimeout(()=>{const{mdpUnGrabber:e}=window,{developerTool:t}=e;document.body.innerHTML=window.mdpUngrabberBody,window.mdpUngrabberBody=""},1)}var o=n(619);const i="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function c(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),n)}function u(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on".concat(t),n)}function a(e,t){const n=t.slice(0,t.length-1);for(let t=0;t<n.length;t++)n[t]=e[n[t].toLowerCase()];return n}function s(e){"string"!=typeof e&&(e="");const t=(e=e.replace(/\s/g,"")).split(",");let n=t.lastIndexOf("");for(;n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}const l={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,arrowup:38,arrowdown:40,arrowleft:37,arrowright:39,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":i?173:189,"=":i?61:187,";":i?59:186,"'":222,"{":219,"}":221,"[":219,"]":221,"\\":220},f={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,meta:91,command:91},d={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},h={16:!1,18:!1,17:!1,91:!1},p={};for(let e=1;e<20;e++)l["f".concat(e)]=111+e;let y=[],b=null,v="all";const w=new Map,m=e=>l[e.toLowerCase()]||f[e.toLowerCase()]||e.toUpperCase().charCodeAt(0);function g(e){v=e||"all"}function k(){return v||"all"}function x(e){if(void 0===e)Object.keys(p).forEach(e=>{Array.isArray(p[e])&&p[e].forEach(e=>_(e)),delete p[e]}),j(null);else if(Array.isArray(e))e.forEach(e=>{e.key&&_(e)});else if("object"==typeof e)e.key&&_(e);else if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let[o,i]=n;"function"==typeof o&&(i=o,o=""),_({key:e,scope:o,method:i,splitKey:"+"})}}const _=e=>{let{key:t,scope:n,method:r,splitKey:o="+"}=e;s(t).forEach(e=>{const t=e.split(o),i=t.length,c=t[i-1],u="*"===c?"*":m(c);if(!p[u])return;n||(n=k());const s=i>1?a(f,t):[],l=[];p[u]=p[u].filter(e=>{const t=(!r||e.method===r)&&e.scope===n&&function(e,t){const n=e.length>=t.length?e:t,r=e.length>=t.length?t:e;let o=!0;for(let e=0;e<n.length;e++)-1===r.indexOf(n[e])&&(o=!1);return o}(e.mods,s);return t&&l.push(e.element),!t}),l.forEach(e=>j(e))})};function O(e,t,n,r){if(t.element!==r)return;let o;if(t.scope===n||"all"===t.scope){o=t.mods.length>0;for(const e in h)Object.prototype.hasOwnProperty.call(h,e)&&(!h[e]&&t.mods.indexOf(+e)>-1||h[e]&&-1===t.mods.indexOf(+e))&&(o=!1);(0!==t.mods.length||h[16]||h[18]||h[17]||h[91])&&!o&&"*"!==t.shortcut||(t.keys=[],t.keys=t.keys.concat(y),!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0)))}}function E(e,t){const n=p["*"];let r=e.keyCode||e.which||e.charCode;if(e.key&&"capslock"===e.key.toLowerCase())return;if(!S.filter.call(this,e))return;if(93!==r&&224!==r||(r=91),-1===y.indexOf(r)&&229!==r&&y.push(r),["metaKey","ctrlKey","altKey","shiftKey"].forEach(t=>{const n=d[t];e[t]&&-1===y.indexOf(n)?y.push(n):!e[t]&&y.indexOf(n)>-1?y.splice(y.indexOf(n),1):"metaKey"===t&&e[t]&&(y=y.filter(e=>e in d||e===r))}),r in h){h[r]=!0;for(const t in f)if(Object.prototype.hasOwnProperty.call(f,t)){const n=d[f[t]];S[t]=e[n]}if(!n)return}for(const t in h)Object.prototype.hasOwnProperty.call(h,t)&&(h[t]=e[d[t]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===y.indexOf(17)&&y.push(17),-1===y.indexOf(18)&&y.push(18),h[17]=!0,h[18]=!0);const o=k();if(n)for(let r=0;r<n.length;r++)n[r].scope===o&&("keydown"===e.type&&n[r].keydown||"keyup"===e.type&&n[r].keyup)&&O(e,n[r],o,t);if(!(r in p))return;const i=p[r],c=i.length;for(let n=0;n<c;n++)if(("keydown"===e.type&&i[n].keydown||"keyup"===e.type&&i[n].keyup)&&i[n].key){const r=i[n],{splitKey:c}=r,u=r.key.split(c),a=[];for(let e=0;e<u.length;e++)a.push(m(u[e]));a.sort().join("")===y.sort().join("")&&O(e,r,o,t)}}function S(e,t,n){y=[];const r=s(e);let o=[],i="all",u=document,l=0,d=!1,v=!0,g="+",k=!1,_=!1;for(void 0===n&&"function"==typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(i=t.scope),t.element&&(u=t.element),t.keyup&&(d=t.keyup),void 0!==t.keydown&&(v=t.keydown),void 0!==t.capture&&(k=t.capture),"string"==typeof t.splitKey&&(g=t.splitKey),!0===t.single&&(_=!0)),"string"==typeof t&&(i=t),_&&x(e,i);l<r.length;l++)o=[],(e=r[l].split(g)).length>1&&(o=a(f,e)),(e="*"===(e=e[e.length-1])?"*":m(e))in p||(p[e]=[]),p[e].push({keyup:d,keydown:v,scope:i,mods:o,shortcut:r[l],method:n,key:r[l],splitKey:g,element:u});if(void 0!==u&&window){if(!w.has(u)){const e=function(){return E(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.event,u)},t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.event;E(e,u),function(e){let t=e.keyCode||e.which||e.charCode;e.key&&"capslock"===e.key.toLowerCase()&&(t=m(e.key));const n=y.indexOf(t);if(n>=0&&y.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&y.splice(0,y.length),93!==t&&224!==t||(t=91),t in h){h[t]=!1;for(const e in f)f[e]===t&&(S[e]=!1)}}(e)};w.set(u,{keydownListener:e,keyupListenr:t,capture:k}),c(u,"keydown",e,k),c(u,"keyup",t,k)}if(!b){const e=()=>{y=[]};b={listener:e,capture:k},c(window,"focus",e,k)}}}function j(e){const t=Object.values(p).flat();if(t.findIndex(t=>{let{element:n}=t;return n===e})<0){const{keydownListener:t,keyupListenr:n,capture:r}=w.get(e)||{};t&&n&&(u(e,"keyup",n,r),u(e,"keydown",t,r),w.delete(e))}if(t.length<=0||w.size<=0){if(Object.keys(w).forEach(e=>{const{keydownListener:t,keyupListenr:n,capture:r}=w.get(e)||{};t&&n&&(u(e,"keyup",n,r),u(e,"keydown",t,r),w.delete(e))}),w.clear(),Object.keys(p).forEach(e=>delete p[e]),b){const{listener:e,capture:t}=b;u(window,"focus",e,t),b=null}}}const L={getPressedKeyString:function(){return y.map(e=>{return t=e,Object.keys(l).find(e=>l[e]===t)||(e=>Object.keys(f).find(t=>f[t]===e))(e)||String.fromCharCode(e);var t})},setScope:g,getScope:k,deleteScope:function(e,t){let n,r;e||(e=k());for(const t in p)if(Object.prototype.hasOwnProperty.call(p,t))for(n=p[t],r=0;r<n.length;)if(n[r].scope===e){n.splice(r,1).forEach(e=>{let{element:t}=e;return j(t)})}else r++;k()===e&&g(t||"all")},getPressedKeyCodes:function(){return y.slice(0)},getAllKeyCodes:function(){const e=[];return Object.keys(p).forEach(t=>{p[t].forEach(t=>{let{key:n,scope:r,mods:o,shortcut:i}=t;e.push({scope:r,shortcut:i,mods:o,keys:n.split("+").map(e=>m(e))})})}),e},isPressed:function(e){return"string"==typeof e&&(e=m(e)),-1!==y.indexOf(e)},filter:function(e){const t=e.target||e.srcElement,{tagName:n}=t;let r=!0;const o="INPUT"===n&&!["checkbox","radio","range","button","file","reset","submit","color"].includes(t.type);return(t.isContentEditable||(o||"TEXTAREA"===n||"SELECT"===n)&&!t.readOnly)&&(r=!1),r},trigger:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(p).forEach(n=>{p[n].filter(n=>n.scope===t&&n.shortcut===e).forEach(e=>{e&&e.method&&e.method()})})},unbind:x,keyMap:l,modifier:f,modifierMap:d};for(const e in L)Object.prototype.hasOwnProperty.call(L,e)&&(S[e]=L[e]);if("undefined"!=typeof window){const e=window.hotkeys;S.noConflict=t=>(t&&window.hotkeys===S&&(window.hotkeys=e),S),window.hotkeys=S}const C={selectAll:"on",copy:"on",cut:"on",paste:"on",save:"on",viewSource:"on",printPage:"on",developerTool:"on",windowBlur:"off",tabHidden:"off",readerMode:"on",rightClick:"on",rightClickImage:"off",textSelection:"on",imageDragging:"on"};function T(){const n=function(){if(window.mdpUnGrabber)return window.mdpUnGrabber;let e={};for(const[t,n]of Object.entries(window))if(t.startsWith("Data")&&"object"==typeof n&&n.selectAll){e=n;break}return e==={}?C:e}(),{selectAll:i,copy:c,cut:u,paste:a,save:s,viewSource:l,printPage:f,developerTool:d,windowBlur:h,tabHidden:p,readerMode:y,rightClick:b,rightClickImage:v,textSelection:w,imageDragging:m}=n;"on"===i&&e(65),"on"===c&&e(67),"true"===u&&e(88),"on"===a&&e(86),"on"===s&&e(83),"on"===l&&e(85),"on"===f&&e(80),function(){const e=window.navigator.userAgent.toLowerCase();return/iphone|ipod|ipad/.test(e)}()||("on"===d&&(S("command+option+j,command+option+i,command+shift+c,command+option+c,command+option+k,command+option+z,command+option+e,f12,ctrl+shift+i,ctrl+shift+j,ctrl+shift+c,ctrl+shift+k,ctrl+shift+e,shift+f7,shift+f5,shift+f9,shift+f12",function(e,t){e.preventDefault()}),(0,o.addListener)(e=>view.innerText=e?t():r()),(0,o.launch)(),window.addEventListener("devtoolschange",e=>{e.detail.isOpen&&t(),e.detail.isOpen||r()})),"on"===h&&(window.addEventListener("blur",t),window.addEventListener("focus",r)),"on"===p&&"off"===h&&document.addEventListener("visibilitychange",()=>{document.hidden?t():r()},!1)),"on"===y&&navigator.userAgent.toLowerCase().includes("safari")&&!navigator.userAgent.toLowerCase().includes("chrome")&&window.addEventListener("keydown",function(e){(e.ctrlKey||e.metaKey)&&e.shiftKey&&82===e.keyCode&&e.preventDefault()}),"on"===b&&function(){document.oncontextmenu=function(e){const t=e||window.event;if("A"!==(t.target||t.srcElement).nodeName)return!1},document.body.oncontextmenu=function(){return!1},document.onmousedown=function(e){if(2===e.button)return!1};let e=setInterval(function(){null===document.oncontextmenu&&(document.body.parentNode.removeChild(document.body),document.head.parentNode.removeChild(document.head),clearInterval(e))},500)}(),"on"===v&&(document.querySelectorAll("img, picture, svg, figure").forEach(e=>{void 0!==e.onselectstart?e.onselectstart=function(){return!1}:void 0!==e.style.MozUserSelect?e.style.MozUserSelect="none":void 0!==e.style.webkitUserSelect?e.style.webkitUserSelect="none":e.onmousedown=function(){return!1},e.style.cursor="default",e.style.webkitTouchCallout="none",e.style.webkitUserSelect="none";let t=document.createElement("style");document.head.appendChild(t),t.type="text/css",t.innerText="img, picture, svg, figure {-moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; }"}),document.oncontextmenu=function(e){const t=e||window.event;if("IMG"===(t.target||t.srcElement).nodeName)return!1}),"on"===w&&function(){void 0!==document.body.onselectstart?document.body.onselectstart=function(){return!1}:void 0!==document.body.style.MozUserSelect?document.body.style.MozUserSelect="none":void 0!==document.body.style.webkitUserSelect?document.body.style.webkitUserSelect="none":document.body.onmousedown=function(){return!1},document.body.style.cursor="default",document.documentElement.style.webkitTouchCallout="none",document.documentElement.style.webkitUserSelect="none";let e=document.createElement("style");document.head.appendChild(e),e.type="text/css",e.innerText="* {-moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; }"}(),"on"===m&&(document.ondragstart=function(){return!1})}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",T):T()})()})();