@everymatrix/casino-tournament-desc 1.16.1

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.
Files changed (45) hide show
  1. package/dist/casino-tournament-desc/casino-tournament-desc.esm.js +1 -0
  2. package/dist/casino-tournament-desc/index.esm.js +0 -0
  3. package/dist/casino-tournament-desc/p-706aec6b.js +1 -0
  4. package/dist/casino-tournament-desc/p-f7be50f0.entry.js +1 -0
  5. package/dist/cjs/casino-tournament-desc.cjs.entry.js +73 -0
  6. package/dist/cjs/casino-tournament-desc.cjs.js +19 -0
  7. package/dist/cjs/index-24e86f34.js +1245 -0
  8. package/dist/cjs/index.cjs.js +2 -0
  9. package/dist/cjs/loader.cjs.js +21 -0
  10. package/dist/collection/collection-manifest.json +12 -0
  11. package/dist/collection/components/casino-tournament-desc/casino-tournament-desc.css +41 -0
  12. package/dist/collection/components/casino-tournament-desc/casino-tournament-desc.js +181 -0
  13. package/dist/collection/index.js +1 -0
  14. package/dist/collection/utils/utils.js +3 -0
  15. package/dist/components/casino-tournament-desc.d.ts +11 -0
  16. package/dist/components/casino-tournament-desc.js +97 -0
  17. package/dist/components/index.d.ts +26 -0
  18. package/dist/components/index.js +1 -0
  19. package/dist/esm/casino-tournament-desc.entry.js +69 -0
  20. package/dist/esm/casino-tournament-desc.js +17 -0
  21. package/dist/esm/index-0f125200.js +1220 -0
  22. package/dist/esm/index.js +1 -0
  23. package/dist/esm/loader.js +17 -0
  24. package/dist/esm/polyfills/core-js.js +11 -0
  25. package/dist/esm/polyfills/css-shim.js +1 -0
  26. package/dist/esm/polyfills/dom.js +79 -0
  27. package/dist/esm/polyfills/es5-html-element.js +1 -0
  28. package/dist/esm/polyfills/index.js +34 -0
  29. package/dist/esm/polyfills/system.js +6 -0
  30. package/dist/index.cjs.js +1 -0
  31. package/dist/index.js +1 -0
  32. package/dist/stencil.config.js +22 -0
  33. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-tournament-desc/.stencil/packages/casino-tournament-desc/stencil.config.d.ts +2 -0
  34. package/dist/types/components/casino-tournament-desc/casino-tournament-desc.d.ts +18 -0
  35. package/dist/types/components.d.ts +47 -0
  36. package/dist/types/index.d.ts +1 -0
  37. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  38. package/dist/types/utils/utils.d.ts +1 -0
  39. package/loader/cdn.js +3 -0
  40. package/loader/index.cjs.js +3 -0
  41. package/loader/index.d.ts +12 -0
  42. package/loader/index.es2017.js +3 -0
  43. package/loader/index.js +4 -0
  44. package/loader/package.json +10 -0
  45. package/package.json +19 -0
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-24e86f34.js');
6
+
7
+ /*
8
+ Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
9
+ */
10
+ const patchEsm = () => {
11
+ return index.promiseResolve();
12
+ };
13
+
14
+ const defineCustomElements = (win, options) => {
15
+ if (typeof window === 'undefined') return Promise.resolve();
16
+ return patchEsm().then(() => {
17
+ return index.bootstrapLazy([["casino-tournament-desc.cjs",[[1,"casino-tournament-desc",{"desc":[1],"descTitle":[1,"desc-title"],"useEvent":[4,"use-event"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"limitStylingAppends":[32],"stylingContainer":[32],"collapsed":[32],"tournamentDescriptions":[32]},[[8,"getTournamentDescriptionCompleted","descCompletedHandler"]]]]]], options);
18
+ });
19
+ };
20
+
21
+ exports.defineCustomElements = defineCustomElements;
@@ -0,0 +1,12 @@
1
+ {
2
+ "entries": [
3
+ "./components/casino-tournament-desc/casino-tournament-desc.js"
4
+ ],
5
+ "compiler": {
6
+ "name": "@stencil/core",
7
+ "version": "2.15.2",
8
+ "typescriptVersion": "4.5.4"
9
+ },
10
+ "collections": [],
11
+ "bundles": []
12
+ }
@@ -0,0 +1,41 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .DetailsCard {
6
+ color: var(--emfe-w-color-white, #FFFFFF);
7
+ width: 100%;
8
+ margin: 0 0 25px 0;
9
+ }
10
+
11
+ .DetailsTitle {
12
+ padding: 0 8px;
13
+ height: 36px;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: space-between;
17
+ background: #153A5C;
18
+ }
19
+
20
+ .DetailsContent {
21
+ overflow: auto;
22
+ height: 150px;
23
+ font-size: 14px;
24
+ padding: 10px 10px 10px 20px;
25
+ margin: 10px 20px 10px 0;
26
+ }
27
+
28
+ .sc::-webkit-scrollbar {
29
+ width: 5px;
30
+ height: 5px;
31
+ }
32
+
33
+ .sc::-webkit-scrollbar-track {
34
+ background-color: rgba(255, 255, 255, 0.1);
35
+ border-radius: 10px;
36
+ }
37
+
38
+ .sc::-webkit-scrollbar-thumb {
39
+ background-color: var(--emfe-w-color-white, #FFFFFF);
40
+ border-radius: 10px;
41
+ }
@@ -0,0 +1,181 @@
1
+ import { Component, Prop, State, h, Listen } from '@stencil/core';
2
+ export class CasinoTournamentDesc {
3
+ constructor() {
4
+ this.desc = '';
5
+ this.descTitle = '';
6
+ this.useEvent = true;
7
+ this.clientStyling = '';
8
+ this.clientStylingUrl = '';
9
+ this.limitStylingAppends = false;
10
+ this.collapsed = [];
11
+ this.tournamentDescriptions = [];
12
+ }
13
+ descCompletedHandler(event) {
14
+ if (event.detail && this.useEvent) {
15
+ this.tournamentDescriptions = event.detail;
16
+ }
17
+ }
18
+ collapseText(index) {
19
+ this.collapsed[index] = !this.collapsed[index];
20
+ this.collapsed = [...this.collapsed];
21
+ }
22
+ componentWillLoad() {
23
+ if (this.useEvent == false && this.desc && this.descTitle) {
24
+ let item = {
25
+ title: this.descTitle,
26
+ text: this.desc
27
+ };
28
+ this.tournamentDescriptions.push(item);
29
+ }
30
+ }
31
+ componentDidRender() {
32
+ if (!this.limitStylingAppends && this.stylingContainer) {
33
+ if (this.clientStyling)
34
+ this.setClientStyling();
35
+ if (this.clientStylingUrl)
36
+ this.setClientStylingURL();
37
+ this.limitStylingAppends = true;
38
+ }
39
+ }
40
+ setClientStyling() {
41
+ let sheet = document.createElement('style');
42
+ sheet.innerHTML = this.clientStyling;
43
+ this.stylingContainer.prepend(sheet);
44
+ }
45
+ setClientStylingURL() {
46
+ let cssFile = document.createElement('style');
47
+ setTimeout(() => {
48
+ cssFile.innerHTML = this.clientStylingUrl;
49
+ this.stylingContainer.prepend(cssFile);
50
+ }, 1);
51
+ }
52
+ render() {
53
+ return h("div", { ref: el => this.stylingContainer = el }, this.tournamentDescriptions && this.tournamentDescriptions.map((item, index) => {
54
+ return h("div", { class: "DetailsCard" },
55
+ item.title &&
56
+ h("div", { class: "DetailsTitle" },
57
+ h("p", { class: "Title" }, item.title),
58
+ h("div", { class: "CollapseButtonDetails", onClick: () => this.collapseText(index) }, this.collapsed[index] ?
59
+ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#ffffff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
60
+ h("path", { d: "M18 15l-6-6-6 6" }))
61
+ :
62
+ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#ffffff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
63
+ h("path", { d: "M6 9l6 6 6-6" })))),
64
+ item.text && !this.collapsed[index] &&
65
+ h("div", { class: "DetailsContent sc", innerHTML: item.text }));
66
+ }));
67
+ }
68
+ static get is() { return "casino-tournament-desc"; }
69
+ static get encapsulation() { return "shadow"; }
70
+ static get originalStyleUrls() { return {
71
+ "$": ["casino-tournament-desc.scss"]
72
+ }; }
73
+ static get styleUrls() { return {
74
+ "$": ["casino-tournament-desc.css"]
75
+ }; }
76
+ static get properties() { return {
77
+ "desc": {
78
+ "type": "string",
79
+ "mutable": false,
80
+ "complexType": {
81
+ "original": "string",
82
+ "resolved": "string",
83
+ "references": {}
84
+ },
85
+ "required": false,
86
+ "optional": false,
87
+ "docs": {
88
+ "tags": [],
89
+ "text": ""
90
+ },
91
+ "attribute": "desc",
92
+ "reflect": false,
93
+ "defaultValue": "''"
94
+ },
95
+ "descTitle": {
96
+ "type": "string",
97
+ "mutable": false,
98
+ "complexType": {
99
+ "original": "string",
100
+ "resolved": "string",
101
+ "references": {}
102
+ },
103
+ "required": false,
104
+ "optional": false,
105
+ "docs": {
106
+ "tags": [],
107
+ "text": ""
108
+ },
109
+ "attribute": "desc-title",
110
+ "reflect": false,
111
+ "defaultValue": "''"
112
+ },
113
+ "useEvent": {
114
+ "type": "boolean",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "boolean",
118
+ "resolved": "boolean",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": ""
126
+ },
127
+ "attribute": "use-event",
128
+ "reflect": false,
129
+ "defaultValue": "true"
130
+ },
131
+ "clientStyling": {
132
+ "type": "string",
133
+ "mutable": false,
134
+ "complexType": {
135
+ "original": "string",
136
+ "resolved": "string",
137
+ "references": {}
138
+ },
139
+ "required": false,
140
+ "optional": false,
141
+ "docs": {
142
+ "tags": [],
143
+ "text": ""
144
+ },
145
+ "attribute": "client-styling",
146
+ "reflect": false,
147
+ "defaultValue": "''"
148
+ },
149
+ "clientStylingUrl": {
150
+ "type": "string",
151
+ "mutable": false,
152
+ "complexType": {
153
+ "original": "string",
154
+ "resolved": "string",
155
+ "references": {}
156
+ },
157
+ "required": false,
158
+ "optional": false,
159
+ "docs": {
160
+ "tags": [],
161
+ "text": ""
162
+ },
163
+ "attribute": "client-styling-url",
164
+ "reflect": false,
165
+ "defaultValue": "''"
166
+ }
167
+ }; }
168
+ static get states() { return {
169
+ "limitStylingAppends": {},
170
+ "stylingContainer": {},
171
+ "collapsed": {},
172
+ "tournamentDescriptions": {}
173
+ }; }
174
+ static get listeners() { return [{
175
+ "name": "getTournamentDescriptionCompleted",
176
+ "method": "descCompletedHandler",
177
+ "target": "window",
178
+ "capture": false,
179
+ "passive": false
180
+ }]; }
181
+ }
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1,3 @@
1
+ export function format(first, middle, last) {
2
+ return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
3
+ }
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface CasinoTournamentDesc extends Components.CasinoTournamentDesc, HTMLElement {}
4
+ export const CasinoTournamentDesc: {
5
+ prototype: CasinoTournamentDesc;
6
+ new (): CasinoTournamentDesc;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,97 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+
3
+ const casinoTournamentDescCss = ":host{display:block}.DetailsCard{color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:0 0 25px 0}.DetailsTitle{padding:0 8px;height:36px;display:flex;align-items:center;justify-content:space-between;background:#153A5C}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}";
4
+
5
+ const CasinoTournamentDesc$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ this.desc = '';
11
+ this.descTitle = '';
12
+ this.useEvent = true;
13
+ this.clientStyling = '';
14
+ this.clientStylingUrl = '';
15
+ this.limitStylingAppends = false;
16
+ this.collapsed = [];
17
+ this.tournamentDescriptions = [];
18
+ }
19
+ descCompletedHandler(event) {
20
+ if (event.detail && this.useEvent) {
21
+ this.tournamentDescriptions = event.detail;
22
+ }
23
+ }
24
+ collapseText(index) {
25
+ this.collapsed[index] = !this.collapsed[index];
26
+ this.collapsed = [...this.collapsed];
27
+ }
28
+ componentWillLoad() {
29
+ if (this.useEvent == false && this.desc && this.descTitle) {
30
+ let item = {
31
+ title: this.descTitle,
32
+ text: this.desc
33
+ };
34
+ this.tournamentDescriptions.push(item);
35
+ }
36
+ }
37
+ componentDidRender() {
38
+ if (!this.limitStylingAppends && this.stylingContainer) {
39
+ if (this.clientStyling)
40
+ this.setClientStyling();
41
+ if (this.clientStylingUrl)
42
+ this.setClientStylingURL();
43
+ this.limitStylingAppends = true;
44
+ }
45
+ }
46
+ setClientStyling() {
47
+ let sheet = document.createElement('style');
48
+ sheet.innerHTML = this.clientStyling;
49
+ this.stylingContainer.prepend(sheet);
50
+ }
51
+ setClientStylingURL() {
52
+ let cssFile = document.createElement('style');
53
+ setTimeout(() => {
54
+ cssFile.innerHTML = this.clientStylingUrl;
55
+ this.stylingContainer.prepend(cssFile);
56
+ }, 1);
57
+ }
58
+ render() {
59
+ return h("div", { ref: el => this.stylingContainer = el }, this.tournamentDescriptions && this.tournamentDescriptions.map((item, index) => {
60
+ return h("div", { class: "DetailsCard" }, item.title &&
61
+ h("div", { class: "DetailsTitle" }, h("p", { class: "Title" }, item.title), h("div", { class: "CollapseButtonDetails", onClick: () => this.collapseText(index) }, this.collapsed[index] ?
62
+ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#ffffff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M18 15l-6-6-6 6" }))
63
+ :
64
+ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#ffffff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M6 9l6 6 6-6" })))), item.text && !this.collapsed[index] &&
65
+ h("div", { class: "DetailsContent sc", innerHTML: item.text }));
66
+ }));
67
+ }
68
+ static get style() { return casinoTournamentDescCss; }
69
+ }, [1, "casino-tournament-desc", {
70
+ "desc": [1],
71
+ "descTitle": [1, "desc-title"],
72
+ "useEvent": [4, "use-event"],
73
+ "clientStyling": [1, "client-styling"],
74
+ "clientStylingUrl": [1, "client-styling-url"],
75
+ "limitStylingAppends": [32],
76
+ "stylingContainer": [32],
77
+ "collapsed": [32],
78
+ "tournamentDescriptions": [32]
79
+ }, [[8, "getTournamentDescriptionCompleted", "descCompletedHandler"]]]);
80
+ function defineCustomElement$1() {
81
+ if (typeof customElements === "undefined") {
82
+ return;
83
+ }
84
+ const components = ["casino-tournament-desc"];
85
+ components.forEach(tagName => { switch (tagName) {
86
+ case "casino-tournament-desc":
87
+ if (!customElements.get(tagName)) {
88
+ customElements.define(tagName, CasinoTournamentDesc$1);
89
+ }
90
+ break;
91
+ } });
92
+ }
93
+
94
+ const CasinoTournamentDesc = CasinoTournamentDesc$1;
95
+ const defineCustomElement = defineCustomElement$1;
96
+
97
+ export { CasinoTournamentDesc, defineCustomElement };
@@ -0,0 +1,26 @@
1
+ /* CasinoTournamentDesc custom elements */
2
+
3
+ import type { Components, JSX } from "../types/components";
4
+
5
+ /**
6
+ * Used to manually set the base path where assets can be found.
7
+ * If the script is used as "module", it's recommended to use "import.meta.url",
8
+ * such as "setAssetPath(import.meta.url)". Other options include
9
+ * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
10
+ * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
11
+ * But do note that this configuration depends on how your script is bundled, or lack of
12
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
13
+ * will have to ensure the static assets are copied to its build directory.
14
+ */
15
+ export declare const setAssetPath: (path: string) => void;
16
+
17
+ export interface SetPlatformOptions {
18
+ raf?: (c: FrameRequestCallback) => number;
19
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
20
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
21
+ }
22
+ export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
23
+
24
+ export type { Components, JSX };
25
+
26
+ export * from '../types';
@@ -0,0 +1 @@
1
+ export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
@@ -0,0 +1,69 @@
1
+ import { r as registerInstance, h } from './index-0f125200.js';
2
+
3
+ const casinoTournamentDescCss = ":host{display:block}.DetailsCard{color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:0 0 25px 0}.DetailsTitle{padding:0 8px;height:36px;display:flex;align-items:center;justify-content:space-between;background:#153A5C}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}";
4
+
5
+ const CasinoTournamentDesc = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.desc = '';
9
+ this.descTitle = '';
10
+ this.useEvent = true;
11
+ this.clientStyling = '';
12
+ this.clientStylingUrl = '';
13
+ this.limitStylingAppends = false;
14
+ this.collapsed = [];
15
+ this.tournamentDescriptions = [];
16
+ }
17
+ descCompletedHandler(event) {
18
+ if (event.detail && this.useEvent) {
19
+ this.tournamentDescriptions = event.detail;
20
+ }
21
+ }
22
+ collapseText(index) {
23
+ this.collapsed[index] = !this.collapsed[index];
24
+ this.collapsed = [...this.collapsed];
25
+ }
26
+ componentWillLoad() {
27
+ if (this.useEvent == false && this.desc && this.descTitle) {
28
+ let item = {
29
+ title: this.descTitle,
30
+ text: this.desc
31
+ };
32
+ this.tournamentDescriptions.push(item);
33
+ }
34
+ }
35
+ componentDidRender() {
36
+ if (!this.limitStylingAppends && this.stylingContainer) {
37
+ if (this.clientStyling)
38
+ this.setClientStyling();
39
+ if (this.clientStylingUrl)
40
+ this.setClientStylingURL();
41
+ this.limitStylingAppends = true;
42
+ }
43
+ }
44
+ setClientStyling() {
45
+ let sheet = document.createElement('style');
46
+ sheet.innerHTML = this.clientStyling;
47
+ this.stylingContainer.prepend(sheet);
48
+ }
49
+ setClientStylingURL() {
50
+ let cssFile = document.createElement('style');
51
+ setTimeout(() => {
52
+ cssFile.innerHTML = this.clientStylingUrl;
53
+ this.stylingContainer.prepend(cssFile);
54
+ }, 1);
55
+ }
56
+ render() {
57
+ return h("div", { ref: el => this.stylingContainer = el }, this.tournamentDescriptions && this.tournamentDescriptions.map((item, index) => {
58
+ return h("div", { class: "DetailsCard" }, item.title &&
59
+ h("div", { class: "DetailsTitle" }, h("p", { class: "Title" }, item.title), h("div", { class: "CollapseButtonDetails", onClick: () => this.collapseText(index) }, this.collapsed[index] ?
60
+ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#ffffff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M18 15l-6-6-6 6" }))
61
+ :
62
+ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "#ffffff", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M6 9l6 6 6-6" })))), item.text && !this.collapsed[index] &&
63
+ h("div", { class: "DetailsContent sc", innerHTML: item.text }));
64
+ }));
65
+ }
66
+ };
67
+ CasinoTournamentDesc.style = casinoTournamentDescCss;
68
+
69
+ export { CasinoTournamentDesc as casino_tournament_desc };
@@ -0,0 +1,17 @@
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-0f125200.js';
2
+
3
+ /*
4
+ Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
5
+ */
6
+ const patchBrowser = () => {
7
+ const importMeta = import.meta.url;
8
+ const opts = {};
9
+ if (importMeta !== '') {
10
+ opts.resourcesUrl = new URL('.', importMeta).href;
11
+ }
12
+ return promiseResolve(opts);
13
+ };
14
+
15
+ patchBrowser().then(options => {
16
+ return bootstrapLazy([["casino-tournament-desc",[[1,"casino-tournament-desc",{"desc":[1],"descTitle":[1,"desc-title"],"useEvent":[4,"use-event"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"limitStylingAppends":[32],"stylingContainer":[32],"collapsed":[32],"tournamentDescriptions":[32]},[[8,"getTournamentDescriptionCompleted","descCompletedHandler"]]]]]], options);
17
+ });