var ctEvents;!function(){"use strict";var t={d:function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}t.r(e),t.d(e,{default:function(){return i}});const r=new class{constructor(){var t,e,n;t=this,n={},(e=o(e="_callbacksMap"))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}on(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=function(t){e(t.detail)};this._callbacksMap[e]=o,document.addEventListener(t,o,n)}once(t,e){document.addEventListener(t,function(t){e(t.detail)},{once:!0})}off(t,e){document.removeEventListener(t,this._callbacksMap[e])}trigger(t,e){document.dispatchEvent(new CustomEvent(t,{detail:e}))}};window.ctEvents=r;var i=r;ctEvents=e}();