var ctEvents;!function(){"use strict";var t={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,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.r(e);const r=new class{constructor(){n(this,"_callbacksMap",{})}on(t,e){const n=function(t){e(t.detail)};this._callbacksMap[e]=n,document.addEventListener(t,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,e.default=r,ctEvents=e}();