@citolab/qti-components 6.3.5 → 6.3.7

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 (38) hide show
  1. package/dist/chunk-GKMV5OHL.cjs +1195 -0
  2. package/dist/chunk-KDPWLV2I.js +1195 -0
  3. package/dist/{chunk-LNHTXQXY.js → chunk-Q5WLROU6.js} +394 -2
  4. package/dist/{chunk-LWL4UHCJ.cjs → chunk-WEDIB3NH.cjs} +394 -2
  5. package/dist/custom-elements.json +3004 -2945
  6. package/dist/index.cjs +1721 -264
  7. package/dist/index.css +392 -0
  8. package/dist/index.d.cts +33 -15
  9. package/dist/index.d.ts +33 -15
  10. package/dist/index.js +1721 -264
  11. package/dist/qti-components/index.cjs +2 -2
  12. package/dist/qti-components/index.d.cts +2 -2
  13. package/dist/qti-components/index.d.ts +2 -2
  14. package/dist/qti-components/index.js +2 -2
  15. package/dist/qti-item/index.cjs +1 -1
  16. package/dist/qti-item/index.d.cts +1 -1
  17. package/dist/qti-item/index.d.ts +1 -1
  18. package/dist/qti-item/index.js +1 -1
  19. package/dist/qti-item-react/index.cjs +1 -1
  20. package/dist/qti-item-react/index.d.cts +2 -2
  21. package/dist/qti-item-react/index.d.ts +2 -2
  22. package/dist/qti-item-react/index.js +1 -1
  23. package/dist/{qti-simple-choice-5902cb37.d.ts → qti-simple-choice-1e52645f.d.ts} +1 -1
  24. package/dist/qti-test/index.cjs +1 -1
  25. package/dist/qti-test/index.d.cts +6 -19
  26. package/dist/qti-test/index.d.ts +6 -19
  27. package/dist/qti-test/index.js +1 -1
  28. package/dist/qti-test-39419b1a.d.ts +63 -0
  29. package/dist/qti-test-f4fd5ff3.d.ts +63 -0
  30. package/dist/qti-test-react/index.cjs +1 -1
  31. package/dist/qti-test-react/index.d.cts +24 -13
  32. package/dist/qti-test-react/index.d.ts +24 -13
  33. package/dist/qti-test-react/index.js +1 -1
  34. package/package.json +8 -8
  35. package/dist/chunk-5MW7QEIY.cjs +0 -79
  36. package/dist/chunk-CLTJGOOQ.js +0 -79
  37. package/dist/qti-test-0312b9bb.d.ts +0 -32
  38. package/dist/qti-test-24952460.d.ts +0 -32
@@ -0,0 +1,1195 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkWEDIB3NHcjs = require('./chunk-WEDIB3NH.cjs');var _chunk6G76D2MIcjs = require('./chunk-6G76D2MI.cjs');var _decoratorsjs = require('lit/decorators.js');var f=class extends _chunkWEDIB3NHcjs.a{connectedCallback(){super.connectedCallback();let e=new CustomEvent("register-item-ref",{bubbles:!0,composed:!0,detail:{identifier:this.identifier,href:this.href}});this.dispatchEvent(e)}};_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:String})],f.prototype,"identifier",2),_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:String})],f.prototype,"href",2),f= exports.a =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "qti-assessment-item-ref")],f);var _lit = require('lit');var _context2 = require('@lit/context');var A=class{},n= exports.c =_context2.createContext.call(void 0, "test");var g=class extends _lit.LitElement{constructor(){super();this._initialValue={itemIndex:0,items:[]};this._context=this._initialValue;this.itemRefEls=new Map;this.restoreContext=e=>{var t;e||(e=this._initialValue),this.context.itemIndex=e.itemIndex,(t=e.items)==null||t.forEach(o=>{let r=this.context.items.find(i=>i.identifier===o.identifier);r?r.variables=o.variables:this.context.items.push(o)})};this.itemConnected=e=>{let t=this._context.items.find(o=>(o==null?void 0:o.identifier)===(e==null?void 0:e.identifier));t.variables.length===1?this.copyItemVariables(e.identifier):e.variables=[...t.variables]};this.addEventListener("register-item-ref",this.onItemRefRegistered),this.addEventListener("on-test-request-item",this.onTestRequestItem),this.addEventListener("qti-item-first-updated",e=>this.itemConnected(e.detail)),this.addEventListener("qti-interaction-changed",e=>this.copyItemVariables(e.detail.item)),this.addEventListener("qti-outcome-changed",e=>this.copyItemVariables(e.detail.item))}get context(){return this._context}set context(e){this._context=e}copyItemVariables(e){this._context=_chunk6G76D2MIcjs.b.call(void 0, _chunk6G76D2MIcjs.a.call(void 0, {},this._context),{items:this._context.items.map(t=>t.identifier==e?_chunk6G76D2MIcjs.b.call(void 0, _chunk6G76D2MIcjs.a.call(void 0, {},t),{variables:this.getAssessmentItem(e).context.variables}):t)})}getAssessmentItem(e){return this.querySelector(`qti-assessment-item-ref[identifier="${e}"]`).assessmentItem}onItemRefRegistered(e){this.itemRefEls.set(e.detail.identifier,e.target);let{href:t,identifier:o}=e.detail;this._context.items=[...this._context.items,{href:t,identifier:o,variables:[{identifier:"completionStatus",cardinality:"single",baseType:"string",value:"not_attempted",type:"outcome"}]}]}onTestRequestItem(e){e.stopImmediatePropagation(),e.detail!==this._context.itemIndex&&(this._context=_chunk6G76D2MIcjs.b.call(void 0, _chunk6G76D2MIcjs.a.call(void 0, {},this._context),{itemIndex:e.detail}))}firstUpdated(e){if(super.firstUpdated(e),this._context.items.length===0){console.warn("No items found in the test, please add at least one item");return}this._emit("qti-assessment-first-updated",this)}updated(e){var t,o;if(e.has("_context")){let r=(t=e.get("_context"))==null?void 0:t.itemIndex;this._context.itemIndex!==null&&r!==this._context.itemIndex&&this._requestItem(this._context.items[this._context.itemIndex].identifier,(o=this._context.items[r])==null?void 0:o.identifier)}}_requestItem(e,t){this.dispatchEvent(new CustomEvent("on-test-set-item",{bubbles:!0,composed:!0,detail:{old:t,new:e}}))}_emit(e,t=null){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:t}))}render(){return _lit.html`<slot></slot>`}};_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:String})],g.prototype,"identifier",2),_chunk6G76D2MIcjs.c.call(void 0, [_context2.provide.call(void 0, {context:n}),_decoratorsjs.property.call(void 0, {attribute:!1})],g.prototype,"_context",2),g= exports.d =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "qti-assessment-test")],g);var w=class extends _lit.LitElement{constructor(){super(...arguments);this.loading=!1;this._navigationMode="linear"}render(){return _lit.html`
2
+ <slot name="qti-item"></slot>
3
+ <slot> </slot>
4
+ `}};_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:Boolean,reflect:!0})],w.prototype,"loading",2),_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:String,attribute:"navigation-mode"})],w.prototype,"_navigationMode",2),w= exports.e =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "qti-test-part")],w);var _cheerio = require('cheerio'); var R = _interopRequireWildcard(_cheerio);var _untiljs = require('lit/directives/until.js');var _ifdefinedjs = require('lit/directives/if-defined.js');var U=`/*
5
+ ! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
6
+ *//*
7
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
8
+ 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
9
+ */
10
+
11
+ *,
12
+ ::before,
13
+ ::after {
14
+ box-sizing: border-box; /* 1 */
15
+ border-width: 0; /* 2 */
16
+ border-style: solid; /* 2 */
17
+ border-color: #e5e7eb; /* 2 */
18
+ }
19
+
20
+ ::before,
21
+ ::after {
22
+ --tw-content: '';
23
+ }
24
+
25
+ /*
26
+ 1. Use a consistent sensible line-height in all browsers.
27
+ 2. Prevent adjustments of font size after orientation changes in iOS.
28
+ 3. Use a more readable tab size.
29
+ 4. Use the user's configured \`sans\` font-family by default.
30
+ 5. Use the user's configured \`sans\` font-feature-settings by default.
31
+ 6. Use the user's configured \`sans\` font-variation-settings by default.
32
+ */
33
+
34
+ html {
35
+ line-height: 1.5; /* 1 */
36
+ -webkit-text-size-adjust: 100%; /* 2 */
37
+ -moz-tab-size: 4; /* 3 */
38
+ -o-tab-size: 4;
39
+ tab-size: 4; /* 3 */
40
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
41
+ font-feature-settings: normal; /* 5 */
42
+ font-variation-settings: normal; /* 6 */
43
+ }
44
+
45
+ /*
46
+ 1. Remove the margin in all browsers.
47
+ 2. Inherit line-height from \`html\` so users can set them as a class directly on the \`html\` element.
48
+ */
49
+
50
+ body {
51
+ margin: 0; /* 1 */
52
+ line-height: inherit; /* 2 */
53
+ }
54
+
55
+ /*
56
+ 1. Add the correct height in Firefox.
57
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
58
+ 3. Ensure horizontal rules are visible by default.
59
+ */
60
+
61
+ hr {
62
+ height: 0; /* 1 */
63
+ color: inherit; /* 2 */
64
+ border-top-width: 1px; /* 3 */
65
+ }
66
+
67
+ /*
68
+ Add the correct text decoration in Chrome, Edge, and Safari.
69
+ */
70
+
71
+ abbr:where([title]) {
72
+ -webkit-text-decoration: underline dotted;
73
+ text-decoration: underline dotted;
74
+ }
75
+
76
+ /*
77
+ Remove the default font size and weight for headings.
78
+ */
79
+
80
+ h1,
81
+ h2,
82
+ h3,
83
+ h4,
84
+ h5,
85
+ h6 {
86
+ font-size: inherit;
87
+ font-weight: inherit;
88
+ }
89
+
90
+ /*
91
+ Reset links to optimize for opt-in styling instead of opt-out.
92
+ */
93
+
94
+ a {
95
+ color: inherit;
96
+ text-decoration: inherit;
97
+ }
98
+
99
+ /*
100
+ Add the correct font weight in Edge and Safari.
101
+ */
102
+
103
+ b,
104
+ strong {
105
+ font-weight: bolder;
106
+ }
107
+
108
+ /*
109
+ 1. Use the user's configured \`mono\` font family by default.
110
+ 2. Correct the odd \`em\` font sizing in all browsers.
111
+ */
112
+
113
+ code,
114
+ kbd,
115
+ samp,
116
+ pre {
117
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
118
+ font-size: 1em; /* 2 */
119
+ }
120
+
121
+ /*
122
+ Add the correct font size in all browsers.
123
+ */
124
+
125
+ small {
126
+ font-size: 80%;
127
+ }
128
+
129
+ /*
130
+ Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
131
+ */
132
+
133
+ sub,
134
+ sup {
135
+ font-size: 75%;
136
+ line-height: 0;
137
+ position: relative;
138
+ vertical-align: baseline;
139
+ }
140
+
141
+ sub {
142
+ bottom: -0.25em;
143
+ }
144
+
145
+ sup {
146
+ top: -0.5em;
147
+ }
148
+
149
+ /*
150
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
151
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
152
+ 3. Remove gaps between table borders by default.
153
+ */
154
+
155
+ table {
156
+ text-indent: 0; /* 1 */
157
+ border-color: inherit; /* 2 */
158
+ border-collapse: collapse; /* 3 */
159
+ }
160
+
161
+ /*
162
+ 1. Change the font styles in all browsers.
163
+ 2. Remove the margin in Firefox and Safari.
164
+ 3. Remove default padding in all browsers.
165
+ */
166
+
167
+ button,
168
+ input,
169
+ optgroup,
170
+ select,
171
+ textarea {
172
+ font-family: inherit; /* 1 */
173
+ font-feature-settings: inherit; /* 1 */
174
+ font-variation-settings: inherit; /* 1 */
175
+ font-size: 100%; /* 1 */
176
+ font-weight: inherit; /* 1 */
177
+ line-height: inherit; /* 1 */
178
+ color: inherit; /* 1 */
179
+ margin: 0; /* 2 */
180
+ padding: 0; /* 3 */
181
+ }
182
+
183
+ /*
184
+ Remove the inheritance of text transform in Edge and Firefox.
185
+ */
186
+
187
+ button,
188
+ select {
189
+ text-transform: none;
190
+ }
191
+
192
+ /*
193
+ 1. Correct the inability to style clickable types in iOS and Safari.
194
+ 2. Remove default button styles.
195
+ */
196
+
197
+ button,
198
+ [type='button'],
199
+ [type='reset'],
200
+ [type='submit'] {
201
+ -webkit-appearance: button; /* 1 */
202
+ background-color: transparent; /* 2 */
203
+ background-image: none; /* 2 */
204
+ }
205
+
206
+ /*
207
+ Use the modern Firefox focus style for all focusable elements.
208
+ */
209
+
210
+ :-moz-focusring {
211
+ outline: auto;
212
+ }
213
+
214
+ /*
215
+ Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
216
+ */
217
+
218
+ :-moz-ui-invalid {
219
+ box-shadow: none;
220
+ }
221
+
222
+ /*
223
+ Add the correct vertical alignment in Chrome and Firefox.
224
+ */
225
+
226
+ progress {
227
+ vertical-align: baseline;
228
+ }
229
+
230
+ /*
231
+ Correct the cursor style of increment and decrement buttons in Safari.
232
+ */
233
+
234
+ ::-webkit-inner-spin-button,
235
+ ::-webkit-outer-spin-button {
236
+ height: auto;
237
+ }
238
+
239
+ /*
240
+ 1. Correct the odd appearance in Chrome and Safari.
241
+ 2. Correct the outline style in Safari.
242
+ */
243
+
244
+ [type='search'] {
245
+ -webkit-appearance: textfield; /* 1 */
246
+ outline-offset: -2px; /* 2 */
247
+ }
248
+
249
+ /*
250
+ Remove the inner padding in Chrome and Safari on macOS.
251
+ */
252
+
253
+ ::-webkit-search-decoration {
254
+ -webkit-appearance: none;
255
+ }
256
+
257
+ /*
258
+ 1. Correct the inability to style clickable types in iOS and Safari.
259
+ 2. Change font properties to \`inherit\` in Safari.
260
+ */
261
+
262
+ ::-webkit-file-upload-button {
263
+ -webkit-appearance: button; /* 1 */
264
+ font: inherit; /* 2 */
265
+ }
266
+
267
+ /*
268
+ Add the correct display in Chrome and Safari.
269
+ */
270
+
271
+ summary {
272
+ display: list-item;
273
+ }
274
+
275
+ /*
276
+ Removes the default spacing and border for appropriate elements.
277
+ */
278
+
279
+ blockquote,
280
+ dl,
281
+ dd,
282
+ h1,
283
+ h2,
284
+ h3,
285
+ h4,
286
+ h5,
287
+ h6,
288
+ hr,
289
+ figure,
290
+ p,
291
+ pre {
292
+ margin: 0;
293
+ }
294
+
295
+ fieldset {
296
+ margin: 0;
297
+ padding: 0;
298
+ }
299
+
300
+ legend {
301
+ padding: 0;
302
+ }
303
+
304
+ ol,
305
+ ul,
306
+ menu {
307
+ list-style: none;
308
+ margin: 0;
309
+ padding: 0;
310
+ }
311
+
312
+ /*
313
+ Reset default styling for dialogs.
314
+ */
315
+ dialog {
316
+ padding: 0;
317
+ }
318
+
319
+ /*
320
+ Prevent resizing textareas horizontally by default.
321
+ */
322
+
323
+ textarea {
324
+ resize: vertical;
325
+ }
326
+
327
+ /*
328
+ 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
329
+ 2. Set the default placeholder color to the user's configured gray 400 color.
330
+ */
331
+
332
+ input::-moz-placeholder, textarea::-moz-placeholder {
333
+ opacity: 1; /* 1 */
334
+ color: #9ca3af; /* 2 */
335
+ }
336
+
337
+ input::placeholder,
338
+ textarea::placeholder {
339
+ opacity: 1; /* 1 */
340
+ color: #9ca3af; /* 2 */
341
+ }
342
+
343
+ /*
344
+ Set the default cursor for buttons.
345
+ */
346
+
347
+ button,
348
+ [role="button"] {
349
+ cursor: pointer;
350
+ }
351
+
352
+ /*
353
+ Make sure disabled buttons don't get the pointer cursor.
354
+ */
355
+ :disabled {
356
+ cursor: default;
357
+ }
358
+
359
+ /*
360
+ 1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
361
+ 2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
362
+ This can trigger a poorly considered lint error in some tools but is included by design.
363
+ */
364
+
365
+ img,
366
+ svg,
367
+ video,
368
+ canvas,
369
+ audio,
370
+ iframe,
371
+ embed,
372
+ object {
373
+ display: block; /* 1 */
374
+ vertical-align: middle; /* 2 */
375
+ }
376
+
377
+ /*
378
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
379
+ */
380
+
381
+ img,
382
+ video {
383
+ max-width: 100%;
384
+ height: auto;
385
+ }
386
+
387
+ /* Make elements with the HTML hidden attribute stay hidden by default */
388
+ [hidden] {
389
+ display: none;
390
+ }
391
+
392
+ *, ::before, ::after {
393
+ --tw-border-spacing-x: 0;
394
+ --tw-border-spacing-y: 0;
395
+ --tw-translate-x: 0;
396
+ --tw-translate-y: 0;
397
+ --tw-rotate: 0;
398
+ --tw-skew-x: 0;
399
+ --tw-skew-y: 0;
400
+ --tw-scale-x: 1;
401
+ --tw-scale-y: 1;
402
+ --tw-pan-x: ;
403
+ --tw-pan-y: ;
404
+ --tw-pinch-zoom: ;
405
+ --tw-scroll-snap-strictness: proximity;
406
+ --tw-gradient-from-position: ;
407
+ --tw-gradient-via-position: ;
408
+ --tw-gradient-to-position: ;
409
+ --tw-ordinal: ;
410
+ --tw-slashed-zero: ;
411
+ --tw-numeric-figure: ;
412
+ --tw-numeric-spacing: ;
413
+ --tw-numeric-fraction: ;
414
+ --tw-ring-inset: ;
415
+ --tw-ring-offset-width: 0px;
416
+ --tw-ring-offset-color: #fff;
417
+ --tw-ring-color: rgb(59 130 246 / 0.5);
418
+ --tw-ring-offset-shadow: 0 0 #0000;
419
+ --tw-ring-shadow: 0 0 #0000;
420
+ --tw-shadow: 0 0 #0000;
421
+ --tw-shadow-colored: 0 0 #0000;
422
+ --tw-blur: ;
423
+ --tw-brightness: ;
424
+ --tw-contrast: ;
425
+ --tw-grayscale: ;
426
+ --tw-hue-rotate: ;
427
+ --tw-invert: ;
428
+ --tw-saturate: ;
429
+ --tw-sepia: ;
430
+ --tw-drop-shadow: ;
431
+ --tw-backdrop-blur: ;
432
+ --tw-backdrop-brightness: ;
433
+ --tw-backdrop-contrast: ;
434
+ --tw-backdrop-grayscale: ;
435
+ --tw-backdrop-hue-rotate: ;
436
+ --tw-backdrop-invert: ;
437
+ --tw-backdrop-opacity: ;
438
+ --tw-backdrop-saturate: ;
439
+ --tw-backdrop-sepia: ;
440
+ }
441
+
442
+ ::backdrop {
443
+ --tw-border-spacing-x: 0;
444
+ --tw-border-spacing-y: 0;
445
+ --tw-translate-x: 0;
446
+ --tw-translate-y: 0;
447
+ --tw-rotate: 0;
448
+ --tw-skew-x: 0;
449
+ --tw-skew-y: 0;
450
+ --tw-scale-x: 1;
451
+ --tw-scale-y: 1;
452
+ --tw-pan-x: ;
453
+ --tw-pan-y: ;
454
+ --tw-pinch-zoom: ;
455
+ --tw-scroll-snap-strictness: proximity;
456
+ --tw-gradient-from-position: ;
457
+ --tw-gradient-via-position: ;
458
+ --tw-gradient-to-position: ;
459
+ --tw-ordinal: ;
460
+ --tw-slashed-zero: ;
461
+ --tw-numeric-figure: ;
462
+ --tw-numeric-spacing: ;
463
+ --tw-numeric-fraction: ;
464
+ --tw-ring-inset: ;
465
+ --tw-ring-offset-width: 0px;
466
+ --tw-ring-offset-color: #fff;
467
+ --tw-ring-color: rgb(59 130 246 / 0.5);
468
+ --tw-ring-offset-shadow: 0 0 #0000;
469
+ --tw-ring-shadow: 0 0 #0000;
470
+ --tw-shadow: 0 0 #0000;
471
+ --tw-shadow-colored: 0 0 #0000;
472
+ --tw-blur: ;
473
+ --tw-brightness: ;
474
+ --tw-contrast: ;
475
+ --tw-grayscale: ;
476
+ --tw-hue-rotate: ;
477
+ --tw-invert: ;
478
+ --tw-saturate: ;
479
+ --tw-sepia: ;
480
+ --tw-drop-shadow: ;
481
+ --tw-backdrop-blur: ;
482
+ --tw-backdrop-brightness: ;
483
+ --tw-backdrop-contrast: ;
484
+ --tw-backdrop-grayscale: ;
485
+ --tw-backdrop-hue-rotate: ;
486
+ --tw-backdrop-invert: ;
487
+ --tw-backdrop-opacity: ;
488
+ --tw-backdrop-saturate: ;
489
+ --tw-backdrop-sepia: ;
490
+ }
491
+ button {
492
+ all: unset;
493
+ }
494
+ button:focus {
495
+ outline: revert;
496
+ }
497
+ ::host {
498
+ height: 100vh;
499
+ width: 100vw;
500
+ --tw-bg-opacity: 1;
501
+ background-color: rgb(248 250 252 / var(--tw-bg-opacity)); /* bg-red-400; */
502
+ }
503
+ qti-assessment-item-ref {
504
+ color: var(--tw-prose-body);
505
+ max-width: 65ch;
506
+ }
507
+ qti-assessment-item-ref :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
508
+ margin-top: 1.25em;
509
+ margin-bottom: 1.25em;
510
+ }
511
+ qti-assessment-item-ref :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
512
+ color: var(--tw-prose-lead);
513
+ font-size: 1.25em;
514
+ line-height: 1.6;
515
+ margin-top: 1.2em;
516
+ margin-bottom: 1.2em;
517
+ }
518
+ qti-assessment-item-ref :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
519
+ color: var(--tw-prose-links);
520
+ text-decoration: underline;
521
+ font-weight: 500;
522
+ }
523
+ qti-assessment-item-ref :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
524
+ color: var(--tw-prose-bold);
525
+ font-weight: 600;
526
+ }
527
+ qti-assessment-item-ref :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
528
+ color: inherit;
529
+ }
530
+ qti-assessment-item-ref :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
531
+ color: inherit;
532
+ }
533
+ qti-assessment-item-ref :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
534
+ color: inherit;
535
+ }
536
+ qti-assessment-item-ref :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
537
+ list-style-type: decimal;
538
+ margin-top: 1.25em;
539
+ margin-bottom: 1.25em;
540
+ padding-left: 1.625em;
541
+ }
542
+ qti-assessment-item-ref :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
543
+ list-style-type: upper-alpha;
544
+ }
545
+ qti-assessment-item-ref :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
546
+ list-style-type: lower-alpha;
547
+ }
548
+ qti-assessment-item-ref :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
549
+ list-style-type: upper-alpha;
550
+ }
551
+ qti-assessment-item-ref :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
552
+ list-style-type: lower-alpha;
553
+ }
554
+ qti-assessment-item-ref :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
555
+ list-style-type: upper-roman;
556
+ }
557
+ qti-assessment-item-ref :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
558
+ list-style-type: lower-roman;
559
+ }
560
+ qti-assessment-item-ref :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
561
+ list-style-type: upper-roman;
562
+ }
563
+ qti-assessment-item-ref :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
564
+ list-style-type: lower-roman;
565
+ }
566
+ qti-assessment-item-ref :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
567
+ list-style-type: decimal;
568
+ }
569
+ qti-assessment-item-ref :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
570
+ list-style-type: disc;
571
+ margin-top: 1.25em;
572
+ margin-bottom: 1.25em;
573
+ padding-left: 1.625em;
574
+ }
575
+ qti-assessment-item-ref :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
576
+ font-weight: 400;
577
+ color: var(--tw-prose-counters);
578
+ }
579
+ qti-assessment-item-ref :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
580
+ color: var(--tw-prose-bullets);
581
+ }
582
+ qti-assessment-item-ref :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
583
+ color: var(--tw-prose-headings);
584
+ font-weight: 600;
585
+ margin-top: 1.25em;
586
+ }
587
+ qti-assessment-item-ref :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
588
+ border-color: var(--tw-prose-hr);
589
+ border-top-width: 1px;
590
+ margin-top: 3em;
591
+ margin-bottom: 3em;
592
+ }
593
+ qti-assessment-item-ref :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
594
+ font-weight: 500;
595
+ font-style: italic;
596
+ color: var(--tw-prose-quotes);
597
+ border-left-width: 0.25rem;
598
+ border-left-color: var(--tw-prose-quote-borders);
599
+ quotes: "\\201C""\\201D""\\2018""\\2019";
600
+ margin-top: 1.6em;
601
+ margin-bottom: 1.6em;
602
+ padding-left: 1em;
603
+ }
604
+ qti-assessment-item-ref :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
605
+ content: open-quote;
606
+ }
607
+ qti-assessment-item-ref :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
608
+ content: close-quote;
609
+ }
610
+ qti-assessment-item-ref :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
611
+ color: var(--tw-prose-headings);
612
+ font-weight: 800;
613
+ font-size: 2.25em;
614
+ margin-top: 0;
615
+ margin-bottom: 0.8888889em;
616
+ line-height: 1.1111111;
617
+ }
618
+ qti-assessment-item-ref :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
619
+ font-weight: 900;
620
+ color: inherit;
621
+ }
622
+ qti-assessment-item-ref :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
623
+ color: var(--tw-prose-headings);
624
+ font-weight: 700;
625
+ font-size: 1.5em;
626
+ margin-top: 2em;
627
+ margin-bottom: 1em;
628
+ line-height: 1.3333333;
629
+ }
630
+ qti-assessment-item-ref :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
631
+ font-weight: 800;
632
+ color: inherit;
633
+ }
634
+ qti-assessment-item-ref :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
635
+ color: var(--tw-prose-headings);
636
+ font-weight: 600;
637
+ font-size: 1.25em;
638
+ margin-top: 1.6em;
639
+ margin-bottom: 0.6em;
640
+ line-height: 1.6;
641
+ }
642
+ qti-assessment-item-ref :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
643
+ font-weight: 700;
644
+ color: inherit;
645
+ }
646
+ qti-assessment-item-ref :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
647
+ color: var(--tw-prose-headings);
648
+ font-weight: 600;
649
+ margin-top: 1.5em;
650
+ margin-bottom: 0.5em;
651
+ line-height: 1.5;
652
+ }
653
+ qti-assessment-item-ref :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
654
+ font-weight: 700;
655
+ color: inherit;
656
+ }
657
+ qti-assessment-item-ref :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
658
+ margin-top: 2em;
659
+ margin-bottom: 2em;
660
+ }
661
+ qti-assessment-item-ref :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
662
+ display: block;
663
+ margin-top: 2em;
664
+ margin-bottom: 2em;
665
+ }
666
+ qti-assessment-item-ref :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
667
+ font-weight: 500;
668
+ font-family: inherit;
669
+ color: var(--tw-prose-kbd);
670
+ box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
671
+ font-size: 0.875em;
672
+ border-radius: 0.3125rem;
673
+ padding-top: 0.1875em;
674
+ padding-right: 0.375em;
675
+ padding-bottom: 0.1875em;
676
+ padding-left: 0.375em;
677
+ }
678
+ qti-assessment-item-ref :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
679
+ color: var(--tw-prose-code);
680
+ font-weight: 600;
681
+ font-size: 0.875em;
682
+ }
683
+ qti-assessment-item-ref :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
684
+ content: "\`";
685
+ }
686
+ qti-assessment-item-ref :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
687
+ content: "\`";
688
+ }
689
+ qti-assessment-item-ref :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
690
+ color: inherit;
691
+ }
692
+ qti-assessment-item-ref :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
693
+ color: inherit;
694
+ }
695
+ qti-assessment-item-ref :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
696
+ color: inherit;
697
+ font-size: 0.875em;
698
+ }
699
+ qti-assessment-item-ref :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
700
+ color: inherit;
701
+ font-size: 0.9em;
702
+ }
703
+ qti-assessment-item-ref :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
704
+ color: inherit;
705
+ }
706
+ qti-assessment-item-ref :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
707
+ color: inherit;
708
+ }
709
+ qti-assessment-item-ref :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
710
+ color: inherit;
711
+ }
712
+ qti-assessment-item-ref :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
713
+ color: var(--tw-prose-pre-code);
714
+ background-color: var(--tw-prose-pre-bg);
715
+ overflow-x: auto;
716
+ font-weight: 400;
717
+ font-size: 0.875em;
718
+ line-height: 1.7142857;
719
+ margin-top: 1.7142857em;
720
+ margin-bottom: 1.7142857em;
721
+ border-radius: 0.375rem;
722
+ padding-top: 0.8571429em;
723
+ padding-right: 1.1428571em;
724
+ padding-bottom: 0.8571429em;
725
+ padding-left: 1.1428571em;
726
+ }
727
+ qti-assessment-item-ref :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
728
+ background-color: transparent;
729
+ border-width: 0;
730
+ border-radius: 0;
731
+ padding: 0;
732
+ font-weight: inherit;
733
+ color: inherit;
734
+ font-size: inherit;
735
+ font-family: inherit;
736
+ line-height: inherit;
737
+ }
738
+ qti-assessment-item-ref :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
739
+ content: none;
740
+ }
741
+ qti-assessment-item-ref :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
742
+ content: none;
743
+ }
744
+ qti-assessment-item-ref :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
745
+ width: 100%;
746
+ table-layout: auto;
747
+ text-align: left;
748
+ margin-top: 2em;
749
+ margin-bottom: 2em;
750
+ font-size: 0.875em;
751
+ line-height: 1.7142857;
752
+ }
753
+ qti-assessment-item-ref :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
754
+ border-bottom-width: 1px;
755
+ border-bottom-color: var(--tw-prose-th-borders);
756
+ }
757
+ qti-assessment-item-ref :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
758
+ color: var(--tw-prose-headings);
759
+ font-weight: 600;
760
+ vertical-align: bottom;
761
+ padding-right: 0.5714286em;
762
+ padding-bottom: 0.5714286em;
763
+ padding-left: 0.5714286em;
764
+ }
765
+ qti-assessment-item-ref :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
766
+ border-bottom-width: 1px;
767
+ border-bottom-color: var(--tw-prose-td-borders);
768
+ }
769
+ qti-assessment-item-ref :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
770
+ border-bottom-width: 0;
771
+ }
772
+ qti-assessment-item-ref :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
773
+ vertical-align: baseline;
774
+ }
775
+ qti-assessment-item-ref :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
776
+ border-top-width: 1px;
777
+ border-top-color: var(--tw-prose-th-borders);
778
+ }
779
+ qti-assessment-item-ref :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
780
+ vertical-align: top;
781
+ }
782
+ qti-assessment-item-ref :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
783
+ margin-top: 0;
784
+ margin-bottom: 0;
785
+ }
786
+ qti-assessment-item-ref :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
787
+ color: var(--tw-prose-captions);
788
+ font-size: 0.875em;
789
+ line-height: 1.4285714;
790
+ margin-top: 0.8571429em;
791
+ }
792
+ qti-assessment-item-ref {
793
+ --tw-prose-body: #374151;
794
+ --tw-prose-headings: #111827;
795
+ --tw-prose-lead: #4b5563;
796
+ --tw-prose-links: #111827;
797
+ --tw-prose-bold: #111827;
798
+ --tw-prose-counters: #6b7280;
799
+ --tw-prose-bullets: #d1d5db;
800
+ --tw-prose-hr: #e5e7eb;
801
+ --tw-prose-quotes: #111827;
802
+ --tw-prose-quote-borders: #e5e7eb;
803
+ --tw-prose-captions: #6b7280;
804
+ --tw-prose-kbd: #111827;
805
+ --tw-prose-kbd-shadows: 17 24 39;
806
+ --tw-prose-code: #111827;
807
+ --tw-prose-pre-code: #e5e7eb;
808
+ --tw-prose-pre-bg: #1f2937;
809
+ --tw-prose-th-borders: #d1d5db;
810
+ --tw-prose-td-borders: #e5e7eb;
811
+ --tw-prose-invert-body: #d1d5db;
812
+ --tw-prose-invert-headings: #fff;
813
+ --tw-prose-invert-lead: #9ca3af;
814
+ --tw-prose-invert-links: #fff;
815
+ --tw-prose-invert-bold: #fff;
816
+ --tw-prose-invert-counters: #9ca3af;
817
+ --tw-prose-invert-bullets: #4b5563;
818
+ --tw-prose-invert-hr: #374151;
819
+ --tw-prose-invert-quotes: #f3f4f6;
820
+ --tw-prose-invert-quote-borders: #374151;
821
+ --tw-prose-invert-captions: #9ca3af;
822
+ --tw-prose-invert-kbd: #fff;
823
+ --tw-prose-invert-kbd-shadows: 255 255 255;
824
+ --tw-prose-invert-code: #fff;
825
+ --tw-prose-invert-pre-code: #d1d5db;
826
+ --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
827
+ --tw-prose-invert-th-borders: #4b5563;
828
+ --tw-prose-invert-td-borders: #374151;
829
+ font-size: 1rem;
830
+ line-height: 1.75;
831
+ }
832
+ qti-assessment-item-ref :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
833
+ margin-top: 0;
834
+ margin-bottom: 0;
835
+ }
836
+ qti-assessment-item-ref :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
837
+ margin-top: 2em;
838
+ margin-bottom: 2em;
839
+ }
840
+ qti-assessment-item-ref :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
841
+ margin-top: 0.5em;
842
+ margin-bottom: 0.5em;
843
+ }
844
+ qti-assessment-item-ref :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
845
+ padding-left: 0.375em;
846
+ }
847
+ qti-assessment-item-ref :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
848
+ padding-left: 0.375em;
849
+ }
850
+ qti-assessment-item-ref :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
851
+ margin-top: 0.75em;
852
+ margin-bottom: 0.75em;
853
+ }
854
+ qti-assessment-item-ref :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
855
+ margin-top: 1.25em;
856
+ }
857
+ qti-assessment-item-ref :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
858
+ margin-bottom: 1.25em;
859
+ }
860
+ qti-assessment-item-ref :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
861
+ margin-top: 1.25em;
862
+ }
863
+ qti-assessment-item-ref :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
864
+ margin-bottom: 1.25em;
865
+ }
866
+ qti-assessment-item-ref :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
867
+ margin-top: 0.75em;
868
+ margin-bottom: 0.75em;
869
+ }
870
+ qti-assessment-item-ref :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
871
+ margin-top: 1.25em;
872
+ margin-bottom: 1.25em;
873
+ }
874
+ qti-assessment-item-ref :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
875
+ margin-top: 0.5em;
876
+ padding-left: 1.625em;
877
+ }
878
+ qti-assessment-item-ref :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
879
+ margin-top: 0;
880
+ }
881
+ qti-assessment-item-ref :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
882
+ margin-top: 0;
883
+ }
884
+ qti-assessment-item-ref :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
885
+ margin-top: 0;
886
+ }
887
+ qti-assessment-item-ref :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
888
+ margin-top: 0;
889
+ }
890
+ qti-assessment-item-ref :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
891
+ padding-left: 0;
892
+ }
893
+ qti-assessment-item-ref :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
894
+ padding-right: 0;
895
+ }
896
+ qti-assessment-item-ref :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
897
+ padding-top: 0.5714286em;
898
+ padding-right: 0.5714286em;
899
+ padding-bottom: 0.5714286em;
900
+ padding-left: 0.5714286em;
901
+ }
902
+ qti-assessment-item-ref :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
903
+ padding-left: 0;
904
+ }
905
+ qti-assessment-item-ref :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
906
+ padding-right: 0;
907
+ }
908
+ qti-assessment-item-ref :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
909
+ margin-top: 2em;
910
+ margin-bottom: 2em;
911
+ }
912
+ qti-assessment-item-ref :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
913
+ margin-top: 0;
914
+ }
915
+ qti-assessment-item-ref :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
916
+ margin-bottom: 0;
917
+ }
918
+ qti-assessment-test {
919
+ display: block;
920
+ padding: 2rem; /* bg-red-400; */
921
+ }
922
+ qti-test-part {
923
+ display: block;
924
+ aspect-ratio: 16 / 9;
925
+ overflow-y: auto;
926
+ border-radius: 0.25rem;
927
+ --tw-bg-opacity: 1;
928
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
929
+ padding: 2rem;
930
+ }
931
+ qti-test-part[loading]:before {
932
+ position: absolute;
933
+ inset: 0px;
934
+ display: flex;
935
+ align-items: center;
936
+ justify-content: center;
937
+ content: 'Loading...';
938
+ }
939
+ :host {
940
+ --tw-bg-opacity: 1;
941
+ background-color: rgb(96 165 250 / var(--tw-bg-opacity));
942
+ }
943
+ .arrow {
944
+ height: 1.25rem;
945
+ width: 1.25rem;
946
+ }
947
+ .nav {
948
+ isolation: isolate;
949
+ display: inline-flex;
950
+ }
951
+ .nav > :not([hidden]) ~ :not([hidden]) {
952
+ --tw-space-x-reverse: 0;
953
+ margin-right: calc(-1px * var(--tw-space-x-reverse));
954
+ margin-left: calc(-1px * calc(1 - var(--tw-space-x-reverse)));
955
+ }
956
+ .nav {
957
+ border-radius: 0.375rem;
958
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
959
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
960
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
961
+ }
962
+ test-prev::part(button) {
963
+ all: unset;
964
+ position: relative;
965
+ display: inline-flex;
966
+ align-items: center;
967
+ border-top-left-radius: 0.375rem;
968
+ border-bottom-left-radius: 0.375rem;
969
+ padding-left: 0.5rem;
970
+ padding-right: 0.5rem;
971
+ padding-top: 0.5rem;
972
+ padding-bottom: 0.5rem;
973
+ --tw-text-opacity: 1;
974
+ color: rgb(156 163 175 / var(--tw-text-opacity));
975
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
976
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
977
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
978
+ --tw-ring-inset: inset;
979
+ --tw-ring-opacity: 1;
980
+ --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
981
+ }
982
+ test-prev::part(button):hover {
983
+ --tw-bg-opacity: 1;
984
+ background-color: rgb(249 250 251 / var(--tw-bg-opacity));
985
+ }
986
+ test-prev::part(button):focus {
987
+ z-index: 20;
988
+ outline-offset: 0px;
989
+ }
990
+ test-next::part(button) {
991
+ all: unset;
992
+ position: relative;
993
+ display: inline-flex;
994
+ align-items: center;
995
+ border-top-right-radius: 0.375rem;
996
+ border-bottom-right-radius: 0.375rem;
997
+ padding-left: 0.5rem;
998
+ padding-right: 0.5rem;
999
+ padding-top: 0.5rem;
1000
+ padding-bottom: 0.5rem;
1001
+ --tw-text-opacity: 1;
1002
+ color: rgb(156 163 175 / var(--tw-text-opacity));
1003
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1004
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1005
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1006
+ --tw-ring-inset: inset;
1007
+ --tw-ring-opacity: 1;
1008
+ --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
1009
+ }
1010
+ test-next::part(button):hover {
1011
+ --tw-bg-opacity: 1;
1012
+ background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1013
+ }
1014
+ test-next::part(button):focus {
1015
+ z-index: 20;
1016
+ outline-offset: 0px;
1017
+ }
1018
+ /* @apply hidden md:-mt-px md:flex; */
1019
+ test-paging-buttons > button {
1020
+ position: relative;
1021
+ display: inline-flex;
1022
+ align-items: center;
1023
+ padding-left: 1rem;
1024
+ padding-right: 1rem;
1025
+ padding-top: 0.5rem;
1026
+ padding-bottom: 0.5rem;
1027
+ font-size: 0.875rem;
1028
+ line-height: 1.25rem;
1029
+ font-weight: 600;
1030
+ --tw-text-opacity: 1;
1031
+ color: rgb(17 24 39 / var(--tw-text-opacity));
1032
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1033
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1034
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1035
+ --tw-ring-inset: inset;
1036
+ --tw-ring-opacity: 1;
1037
+ --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
1038
+ }
1039
+ test-paging-buttons > button:hover {
1040
+ --tw-bg-opacity: 1;
1041
+ background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1042
+ }
1043
+ test-paging-buttons > button:focus {
1044
+ z-index: 20;
1045
+ outline-offset: 0px;
1046
+ }
1047
+ test-paging-buttons > button[data-active-item='true'] {
1048
+ position: relative;
1049
+ z-index: 10;
1050
+ display: inline-flex;
1051
+ align-items: center;
1052
+ --tw-bg-opacity: 1;
1053
+ background-color: rgb(79 70 229 / var(--tw-bg-opacity));
1054
+ padding-left: 1rem;
1055
+ padding-right: 1rem;
1056
+ padding-top: 0.5rem;
1057
+ padding-bottom: 0.5rem;
1058
+ font-size: 0.875rem;
1059
+ line-height: 1.25rem;
1060
+ font-weight: 600;
1061
+ --tw-text-opacity: 1;
1062
+ color: rgb(255 255 255 / var(--tw-text-opacity));
1063
+ }
1064
+ test-paging-buttons > button[data-active-item='true']:focus {
1065
+ z-index: 20;
1066
+ }
1067
+ test-paging-buttons > button[data-active-item='true']:focus-visible {
1068
+ outline-style: solid;
1069
+ outline-width: 2px;
1070
+ outline-offset: 2px;
1071
+ outline-color: #4f46e5;
1072
+ }
1073
+ /*
1074
+ <nav class="isolate inline-flex -space-x-px rounded-md shadow-sm" aria-label="Pagination">
1075
+ <a href="#" class="relative inline-flex items-center rounded-l-md px-2 py-2 text-gray-400 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0">
1076
+ <span class="sr-only">Previous</span>
1077
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
1078
+ <path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd" />
1079
+ </svg>
1080
+ </a>
1081
+ <!-- Current: "z-10 bg-indigo-600 text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600", Default: "text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:outline-offset-0" -->
1082
+ <a href="#" aria-current="page" class="relative z-10 inline-flex items-center bg-indigo-600 px-4 py-2 text-sm font-semibold text-white focus:z-20 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">1</a>
1083
+ <a href="#" class="relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0">2</a>
1084
+ <a href="#" class="relative hidden items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0 md:inline-flex">3</a>
1085
+ <span class="relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-700 ring-1 ring-inset ring-gray-300 focus:outline-offset-0">...</span>
1086
+ <a href="#" class="relative hidden items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0 md:inline-flex">8</a>
1087
+ <a href="#" class="relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0">9</a>
1088
+ <a href="#" class="relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0">10</a>
1089
+ <a href="#" class="relative inline-flex items-center rounded-r-md px-2 py-2 text-gray-400 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0">
1090
+ <span class="sr-only">Next</span>
1091
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
1092
+ <path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
1093
+ </svg>
1094
+ </a>
1095
+ </nav> */
1096
+ `;var _refjs = require('lit/directives/ref.js');var c=class extends _lit.LitElement{constructor(){super(...arguments);this._items=[];this._itemRefEls=new Map;this._controller=new AbortController;this.packageURI="";this._assessmentTestEl=_refjs.createRef.call(void 0, );this.fetchData=async()=>{let e=await c._testFromImsmanifest(this.packageURI+"/imsmanifest.xml"),t=await c._itemsFromAssessmentTest(this.packageURI+e);this._itemLocation=`${this.packageURI}/${e.substring(0,e.lastIndexOf("/"))}`,this._items=t}}set context(e){this._assessmentTestEl.value.context=e}get context(){return this._assessmentTestEl.value.context}updated(e){e.has("packageURI")&&(this._items=[],this.content=this.fetchData())}connectedCallback(){super.connectedCallback(),this.css=U}getAssessmentTest(){return this.querySelector("qti-assessment-test")}set css(e){var o;let t=new CSSStyleSheet;t.replaceSync(e),(o=this.shadowRoot)==null||o.adoptedStyleSheets.push(t)}async requestItem(e,t){var r;let o=async()=>{let i=this._itemRefEls.get(e);this._controller=new AbortController;let a=this._controller.signal;try{let $=await(await fetch(`${this._itemLocation}/${i.href}`,{signal:a})).text();t&&(this._itemRefEls.get(t).xml=""),i.xml=$}catch(p){p.name==="AbortError"?(t&&(this._itemRefEls.get(t).xml=""),console.log("Fetch aborted")):console.error(p)}};(r=this._controller)==null||r.abort(),this._qtiTestPart.loading=!0,await o(),this._qtiTestPart.loading=!1}render(){return _lit.html`
1097
+ ${_untiljs.until.call(void 0, this.content,_lit.html`<span>Loading...</span>`)}
1098
+ ${this._items.length>0&&_lit.html`
1099
+ <qti-assessment-test
1100
+ ${_refjs.ref.call(void 0, this._assessmentTestEl)}
1101
+ @register-item-ref=${e=>{this._itemRefEls.set(e.target.identifier,e.target);let t=this._itemRefEls.get(e.target.identifier);e.target.itemLocation=`${this._itemLocation}/${t.href}`}}
1102
+ @on-test-set-item="${e=>{let{old:t,new:o}=e.detail;this.requestItem(o,t)}}"
1103
+
1104
+ >
1105
+ <test-show-index></test-show-index>
1106
+ <qti-test-part>
1107
+ <qti-assessment-section>
1108
+ </qti-assessment-item-ref>
1109
+ ${this._items.map(e=>_lit.html`<qti-assessment-item-ref
1110
+ identifier="${e.identifier}"
1111
+ href="${e.href}"
1112
+ category="${_ifdefinedjs.ifDefined.call(void 0, e.category)}"
1113
+ ></qti-assessment-item-ref>`)}
1114
+ </qti-assessment-section>
1115
+ </qti-test-part>
1116
+
1117
+ <!-- <test-progress></test-progress> -->
1118
+ <div class="nav">
1119
+ <test-prev>
1120
+ <svg class="arrow" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
1121
+ <path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd" />
1122
+ </svg>
1123
+ <!-- <span class="sr-only">PREV</span> -->
1124
+ </test-prev>
1125
+
1126
+ <test-paging-buttons></test-paging-buttons>
1127
+
1128
+ <test-next>
1129
+ <!-- <span class="sr-only">NEXT</span> -->
1130
+ <svg class="arrow" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
1131
+ <path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
1132
+ </svg>
1133
+ </test-next>
1134
+ </div>
1135
+ <slot></slot>
1136
+ <!-- <test-paging-radio></test-paging-radio> -->
1137
+ <test-slider></test-slider>
1138
+ <!-- <test-show-correct>correct</test-show-correct> -->
1139
+ <!-- <test-print-variables></test-print-variables> -->
1140
+ </qti-assessment-test>
1141
+ `}
1142
+ `}};c._testFromImsmanifest=async e=>{let o=await(await fetch(e)).text();return await new Promise(a=>setTimeout(()=>a(),1e3)),R.load(o,{xmlMode:!0,xml:{xmlMode:!0}})('resource[type="imsqti_test_xmlv3p0"]').first().attr("href")},c._itemsFromAssessmentTest=async e=>{let o=await(await fetch(e)).text();await new Promise(a=>setTimeout(()=>a(),1e3));let r=R.load(o,{xmlMode:!0,xml:{xmlMode:!0}}),i=[];return r("qti-assessment-item-ref").each((a,p)=>{let $=r(p).attr("identifier"),X=r(p).attr("href"),H=r(p).attr("category");i.push({identifier:$,href:X,category:H})}),i},_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.query.call(void 0, "qti-test-part")],c.prototype,"_qtiTestPart",2),_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.state.call(void 0, )],c.prototype,"content",2),_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.state.call(void 0, )],c.prototype,"_items",2),_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:String,attribute:"package-uri"})],c.prototype,"packageURI",2),c= exports.f =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "qti-test")],c);var u=class extends _lit.LitElement{_requestItem(e){this.dispatchEvent(new CustomEvent("on-test-request-item",{composed:!0,bubbles:!0,detail:e}))}render(){var r;let{items:e,itemIndex:t}=this._testContext,o=Math.min(t+1,e.length-1);return _lit.html`
1143
+ <button part="button" @click=${i=>this._requestItem(o)} id="${(r=e[o])==null?void 0:r.identifier}">
1144
+ <slot></slot>
1145
+ </button>
1146
+ `}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],u.prototype,"_testContext",2),u= exports.g =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-next")],u);var b=class extends _lit.LitElement{_requestItem(e){this.dispatchEvent(new CustomEvent("on-test-request-item",{composed:!0,bubbles:!0,detail:e}))}render(){var r;let{items:e,itemIndex:t}=this._testContext,o=Math.max(t-1,0);return _lit.html`
1147
+ <button part="button" @click=${i=>this._requestItem(o)} id="${(r=e[o])==null?void 0:r.identifier}">
1148
+ <slot></slot>
1149
+ </button>
1150
+ `}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],b.prototype,"_testContext",2),b= exports.h =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-prev")],b);var x=class extends _lit.LitElement{render(){let{items:e,itemIndex:t}=this._testProvider;return _lit.html`
1151
+ <progress part="progress" id="file" max=${e.length-1} value=${t}>
1152
+ ${t/(e.length-1)}%
1153
+ </progress>
1154
+ `}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],x.prototype,"_testProvider",2),x= exports.i =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-progress")],x);var v=class extends _lit.LitElement{_requestItem(e){this.dispatchEvent(new CustomEvent("on-test-request-item",{composed:!0,bubbles:!0,detail:e}))}render(){let{items:e,itemIndex:t}=this._testProvider;return _lit.html`
1155
+ <input
1156
+ part="input"
1157
+ type="range"
1158
+ value=${t}
1159
+ class="absolute w-full appearance-none bg-transparent"
1160
+ max=${e.length-1}
1161
+ @input=${o=>this._requestItem(+o.target.value)}
1162
+ />
1163
+ `}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],v.prototype,"_testProvider",2),v= exports.j =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-slider")],v);var y=class extends _lit.LitElement{createRenderRoot(){return this}_requestItem(e){this.dispatchEvent(new CustomEvent("on-test-request-item",{composed:!0,bubbles:!0,detail:e}))}render(){let{items:e,itemIndex:t}=this._testProvider;return _lit.html`
1164
+ ${e.map((o,r)=>{var i;return _lit.html` <label>
1165
+ <input
1166
+ type="radio"
1167
+ part="input"
1168
+ name="item"
1169
+ value="${r}"
1170
+ ?checked=${r===t}
1171
+ @change=${a=>this._requestItem(r)}
1172
+ data-completion-status=${(i=o.variables.find(a=>a.identifier==="completionStatus"))==null?void 0:i.value}
1173
+ id="${o.identifier}"
1174
+ />
1175
+ ${r+1}
1176
+ </label>`})}
1177
+ `}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],y.prototype,"_testProvider",2),y= exports.k =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-paging-radio")],y);var q=class extends _lit.LitElement{createRenderRoot(){return this}_requestItem(e){this.dispatchEvent(new CustomEvent("on-test-request-item",{composed:!0,bubbles:!0,detail:e}))}render(){let{items:e,itemIndex:t}=this._testProvider;return _lit.html`
1178
+ ${e.map((o,r)=>{var i;return _lit.html`<button
1179
+ part="button"
1180
+ data-completion-status=${(i=o.variables.find(a=>a.identifier==="completionStatus"))==null?void 0:i.value}
1181
+ data-active-item=${r===t}
1182
+ @click=${a=>this._requestItem(r)}
1183
+ id="${o.identifier}"
1184
+ >
1185
+ ${r+1}
1186
+ </button>`})}
1187
+ `}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],q.prototype,"_testProvider",2),q= exports.l =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-paging-buttons")],q);var C=class extends _lit.LitElement{render(){var r,i,a;let{items:e,itemIndex:t}=this._testProvider;if(t==null)return _lit.html``;let o=(a=(i=this.closest("qti-assessment-test"))==null?void 0:i.itemRefEls.get((r=e[t])==null?void 0:r.identifier))==null?void 0:a.assessmentItem;return _lit.html`
1188
+ <button part="button" @click=${p=>o.showCorrectResponse()}>
1189
+ <slot></slot>
1190
+ </button>
1191
+ `}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],C.prototype,"_testProvider",2),C= exports.m =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-show-correct")],C);var _=class extends _lit.LitElement{constructor(){super(...arguments);this._printed=""}render(){return _lit.html`${this._printed}<slot @slotchange=${this.handleSlotChange}></slot>`}handleSlotChange(e){var o,r;let t=Array.from((o=this.childNodes)!=null?o:[]).find(i=>i.nodeType===Node.COMMENT_NODE);try{this.operatorFunction=new Function("context","item",(r=t.textContent)!=null?r:"")}catch(i){console.error("custom-operator contains invalid javascript code",i)}this._context=new (0, _context2.ContextConsumer)(this,n,i=>{this._printed=this.operatorFunction(i,this.closest("qti-assessment-item"))},!0)}};_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.state.call(void 0, )],_.prototype,"_printed",2),_= exports.n =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-script")],_);var k=class extends _lit.LitElement{_requestItem(e){this.dispatchEvent(new CustomEvent("on-test-request-item",{composed:!0,bubbles:!0,detail:e}))}render(){let{items:e,itemIndex:t}=this._testContext,o=e[t-1];return _lit.html` ${t+1}/${e.length} `}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],k.prototype,"_testContext",2),k= exports.o =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-show-index")],k);var E=class extends _lit.LitElement{render(){return _lit.html`
1192
+ <pre>
1193
+ ${JSON.stringify(_chunk6G76D2MIcjs.b.call(void 0, _chunk6G76D2MIcjs.a.call(void 0, {},this._testProvider),{items:this._testProvider.items.map(e=>_chunk6G76D2MIcjs.b.call(void 0, _chunk6G76D2MIcjs.a.call(void 0, {},e),{itemEl:null}))}),null,2)}</pre
1194
+ >
1195
+ `}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],E.prototype,"_testProvider",2),E= exports.p =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-print-variables")],E);var I=class extends _lit.LitElement{_requestItem(e){this.dispatchEvent(new CustomEvent("on-test-request-item",{composed:!0,bubbles:!0,detail:e}))}render(){let{items:e}=this._testContext,t=e.reduce((r,i)=>{let a=i.variables.find(p=>p.identifier==="SCORE");return r+(a?+a.value:0)},0),o=e.reduce((r,i)=>{let a=i.variables.find(p=>p.identifier==="MAXSCORE");return r+(a?+a.value:0)},0);return _lit.html` ${t}/${o}`}};_chunk6G76D2MIcjs.c.call(void 0, [_context2.consume.call(void 0, {context:n,subscribe:!0}),_decoratorsjs.state.call(void 0, )],I.prototype,"_testContext",2),I= exports.q =_chunk6G76D2MIcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "test-print-score")],I);exports.a = f; exports.b = A; exports.c = n; exports.d = g; exports.e = w; exports.f = c; exports.g = u; exports.h = b; exports.i = x; exports.j = v; exports.k = y; exports.l = q; exports.m = C; exports.n = _; exports.o = k; exports.p = E; exports.q = I;