@citolab/qti-components 7.0.4 → 7.0.5
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.
- package/cdn/chunks/chunk-4UJBK6JO.js +1 -0
- package/cdn/chunks/chunk-5FCXUJAG.js +23 -0
- package/cdn/chunks/chunk-5O3Z7TDV.js +1 -0
- package/cdn/chunks/chunk-65LFT33L.js +8 -0
- package/cdn/chunks/chunk-6D25UFJR.js +8 -0
- package/cdn/chunks/chunk-6DMSHH5X.js +0 -0
- package/cdn/chunks/chunk-6UGPNL7M.js +1 -0
- package/cdn/chunks/chunk-CFXQCNG6.js +3523 -0
- package/cdn/chunks/chunk-CSUKVUZF.js +3 -0
- package/cdn/chunks/chunk-CSY3WI5A.js +1 -0
- package/cdn/chunks/chunk-DAZR7RUI.js +0 -0
- package/cdn/chunks/chunk-EHK76KRT.js +1 -0
- package/cdn/chunks/chunk-EOPEMJS3.js +0 -0
- package/cdn/chunks/chunk-G5O7EN45.js +5 -0
- package/cdn/chunks/chunk-GEFUIFM7.js +0 -0
- package/cdn/chunks/chunk-JLNHEMQG.js +1 -0
- package/cdn/chunks/chunk-LPWIM7QJ.js +902 -0
- package/cdn/chunks/chunk-M3YRM3AV.js +1 -0
- package/cdn/chunks/chunk-M6BOWL2U.js +1 -0
- package/cdn/chunks/chunk-P5IE36FO.js +8 -0
- package/cdn/chunks/chunk-PXH5KN5O.js +1 -0
- package/cdn/chunks/chunk-RBEI6NIF.js +1 -0
- package/cdn/chunks/chunk-SMKIYFFI.js +1 -0
- package/cdn/chunks/chunk-SRLMW23F.js +0 -0
- package/cdn/chunks/chunk-T3YDLD2H.js +11 -0
- package/cdn/chunks/chunk-T4HD2C4F.js +1 -0
- package/cdn/chunks/chunk-T6IXJ4W4.js +1 -0
- package/cdn/chunks/chunk-TFAUBGP2.js +0 -0
- package/cdn/chunks/chunk-UIEC4LXR.js +17 -0
- package/cdn/chunks/chunk-V44O3GTW.js +0 -0
- package/cdn/chunks/chunk-V6B54FQW.js +5 -0
- package/cdn/chunks/chunk-V6KX6BQN.js +1 -0
- package/cdn/chunks/chunk-VYANBI35.js +1 -0
- package/cdn/chunks/chunk-XUJ7TXHW.js +1 -0
- package/cdn/chunks/chunk-ZIZLFFSG.js +0 -0
- package/cdn/index.css +1 -0
- package/cdn/index.global.js +45 -45
- package/cdn/index.js +196 -476
- package/cdn/qti-components/index.global.js +226 -0
- package/cdn/qti-components/index.js +924 -0
- package/cdn/qti-item/components/index.css +1 -0
- package/cdn/qti-item/components/index.global.js +149 -0
- package/cdn/qti-item/components/index.js +3549 -0
- package/cdn/qti-item/components/item-container.css +1 -0
- package/cdn/qti-item/components/item-container.global.js +149 -0
- package/cdn/qti-item/components/item-container.js +3549 -0
- package/cdn/qti-item/index.css +1 -0
- package/cdn/qti-item/index.global.js +149 -0
- package/cdn/qti-item/index.js +3549 -0
- package/cdn/qti-item/qti-item.global.js +114 -0
- package/cdn/qti-item/qti-item.js +1 -0
- package/cdn/qti-loader/index.global.js +1 -0
- package/cdn/qti-loader/index.js +23 -0
- package/cdn/qti-test/components/index.css +1 -0
- package/cdn/qti-test/components/index.global.js +242 -0
- package/cdn/qti-test/components/index.js +3598 -0
- package/cdn/qti-test/components/styles.global.js +44 -0
- package/cdn/qti-test/components/styles.js +17 -0
- package/cdn/qti-test/components/test-component.abstract.global.js +170 -0
- package/cdn/qti-test/components/test-component.abstract.js +1 -0
- package/cdn/qti-test/components/test-container.css +1 -0
- package/cdn/qti-test/components/test-container.global.js +149 -0
- package/cdn/qti-test/components/test-container.js +3549 -0
- package/cdn/qti-test/components/test-item-link.global.js +170 -0
- package/cdn/qti-test/components/test-item-link.js +24 -0
- package/cdn/qti-test/components/test-next.global.js +170 -0
- package/cdn/qti-test/components/test-next.js +24 -0
- package/cdn/qti-test/components/test-next.spec.css +1 -0
- package/cdn/qti-test/components/test-next.spec.global.js +297 -0
- package/cdn/qti-test/components/test-next.spec.js +5215 -0
- package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +207 -0
- package/cdn/qti-test/components/test-paging-buttons-stamp.js +3 -0
- package/cdn/qti-test/components/test-prev.global.js +170 -0
- package/cdn/qti-test/components/test-prev.js +24 -0
- package/cdn/qti-test/components/test-view.global.js +170 -0
- package/cdn/qti-test/components/test-view.js +11 -0
- package/cdn/qti-test/context/index.global.js +58 -0
- package/cdn/qti-test/context/index.js +1 -0
- package/cdn/qti-test/context/test.context.global.js +58 -0
- package/cdn/qti-test/context/test.context.js +1 -0
- package/cdn/qti-test/index.css +1 -0
- package/cdn/qti-test/index.global.js +242 -0
- package/cdn/qti-test/index.js +3598 -0
- package/cdn/qti-test/mixins/index.global.js +1 -0
- package/cdn/qti-test/mixins/index.js +23 -0
- package/cdn/qti-test/mixins/test-loader.mixin.global.js +1 -0
- package/cdn/qti-test/mixins/test-loader.mixin.js +23 -0
- package/cdn/qti-test/mixins/test-navigation.mixin.global.js +1 -0
- package/cdn/qti-test/mixins/test-navigation.mixin.js +1 -0
- package/cdn/qti-test/mixins/test-view.mixin.global.js +1 -0
- package/cdn/qti-test/mixins/test-view.mixin.js +1 -0
- package/cdn/qti-test/qti-assessment-test/index.global.js +170 -0
- package/cdn/qti-test/qti-assessment-test/index.js +1 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.global.js +170 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.js +1 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-section.global.js +170 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-section.js +1 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-test.global.js +170 -0
- package/cdn/qti-test/qti-assessment-test/qti-assessment-test.js +1 -0
- package/cdn/qti-test/qti-assessment-test/qti-test-part.global.js +114 -0
- package/cdn/qti-test/qti-assessment-test/qti-test-part.js +1 -0
- package/cdn/qti-test/qti-test.global.js +170 -0
- package/cdn/qti-test/qti-test.js +23 -0
- package/cdn/qti-test/test-base.global.js +170 -0
- package/cdn/qti-test/test-base.js +1 -0
- package/cdn/qti-transformers/index.global.js +1 -0
- package/cdn/qti-transformers/index.js +23 -0
- package/dist/chunks/chunk-3G2DDBJW.js +44 -0
- package/dist/chunks/chunk-3G2DDBJW.js.map +1 -0
- package/dist/chunks/chunk-3NLCJYSX.js +1 -0
- package/dist/chunks/chunk-3NLCJYSX.js.map +1 -0
- package/dist/chunks/chunk-3OXGDCSU.js +6253 -0
- package/dist/chunks/chunk-3OXGDCSU.js.map +1 -0
- package/dist/chunks/chunk-3ROZMGAN.js +43 -0
- package/dist/chunks/chunk-3ROZMGAN.js.map +1 -0
- package/dist/chunks/chunk-4O5F7WV7.js +30 -0
- package/dist/chunks/chunk-4O5F7WV7.js.map +1 -0
- package/dist/chunks/chunk-6YE2KJ4C.js +55 -0
- package/dist/chunks/chunk-6YE2KJ4C.js.map +1 -0
- package/dist/chunks/chunk-AAQCM2FP.js +56 -0
- package/dist/chunks/chunk-AAQCM2FP.js.map +1 -0
- package/dist/chunks/chunk-D3RGDWKP.js +37 -0
- package/dist/chunks/chunk-D3RGDWKP.js.map +1 -0
- package/dist/chunks/chunk-DJLE6EV2.js +36 -0
- package/dist/chunks/chunk-DJLE6EV2.js.map +1 -0
- package/dist/chunks/chunk-ELDMXTUQ.js +31 -0
- package/dist/chunks/chunk-ELDMXTUQ.js.map +1 -0
- package/dist/chunks/chunk-EW5CTHAD.js +1 -0
- package/dist/chunks/chunk-EW5CTHAD.js.map +1 -0
- package/dist/chunks/chunk-HWA4A3SR.js +50 -0
- package/dist/chunks/chunk-HWA4A3SR.js.map +1 -0
- package/dist/chunks/chunk-IKZWK2C5.js +1 -0
- package/dist/chunks/chunk-IKZWK2C5.js.map +1 -0
- package/dist/chunks/chunk-IP7JSYO6.js +1 -0
- package/dist/chunks/chunk-IP7JSYO6.js.map +1 -0
- package/dist/chunks/chunk-JE6BMXZU.js +94 -0
- package/dist/chunks/chunk-JE6BMXZU.js.map +1 -0
- package/dist/chunks/chunk-JSPJGWGT.js +20 -0
- package/dist/chunks/chunk-JSPJGWGT.js.map +1 -0
- package/dist/chunks/chunk-LKINC6JO.js +118 -0
- package/dist/chunks/chunk-LKINC6JO.js.map +1 -0
- package/dist/chunks/chunk-LROTNPC2.js +94 -0
- package/dist/chunks/chunk-LROTNPC2.js.map +1 -0
- package/dist/chunks/chunk-MTMT2RMF.js +63 -0
- package/dist/chunks/chunk-MTMT2RMF.js.map +1 -0
- package/dist/chunks/chunk-NDJZGJUR.js +65 -0
- package/dist/chunks/chunk-NDJZGJUR.js.map +1 -0
- package/dist/chunks/chunk-OE2LFIH2.js +1 -0
- package/dist/chunks/chunk-OE2LFIH2.js.map +1 -0
- package/dist/chunks/chunk-OJ2XGDWK.js +1 -0
- package/dist/chunks/chunk-OJ2XGDWK.js.map +1 -0
- package/dist/chunks/chunk-PUBGXXTM.js +50 -0
- package/dist/chunks/chunk-PUBGXXTM.js.map +1 -0
- package/dist/chunks/chunk-QRCUNRP5.js +75 -0
- package/dist/chunks/chunk-QRCUNRP5.js.map +1 -0
- package/dist/chunks/chunk-S6JJYCO7.js +51 -0
- package/dist/chunks/chunk-S6JJYCO7.js.map +1 -0
- package/dist/chunks/chunk-U3AALKEP.js +1 -0
- package/dist/chunks/chunk-U3AALKEP.js.map +1 -0
- package/dist/chunks/chunk-UCQFSRYF.js +34 -0
- package/dist/chunks/chunk-UCQFSRYF.js.map +1 -0
- package/dist/chunks/chunk-URGVQ64M.js +1 -0
- package/dist/chunks/chunk-URGVQ64M.js.map +1 -0
- package/dist/chunks/chunk-V4FXK4TP.js +128 -0
- package/dist/chunks/chunk-V4FXK4TP.js.map +1 -0
- package/dist/chunks/chunk-W4B23OIP.js +72 -0
- package/dist/chunks/chunk-W4B23OIP.js.map +1 -0
- package/dist/chunks/chunk-XDFXD3BI.js +10 -0
- package/dist/chunks/chunk-XDFXD3BI.js.map +1 -0
- package/dist/chunks/chunk-XDMSEAYC.js +294 -0
- package/dist/chunks/chunk-XPDS72XY.js +29 -0
- package/dist/chunks/chunk-XPDS72XY.js.map +1 -0
- package/dist/chunks/chunk-Y6UWSECL.js +3529 -0
- package/dist/chunks/chunk-Y6UWSECL.js.map +1 -0
- package/dist/chunks/chunk-ZEFOMZNY.js +78 -0
- package/dist/chunks/chunk-ZEFOMZNY.js.map +1 -0
- package/dist/index-Cvrd4KQA.d.ts +109 -0
- package/dist/index.d.ts +18 -503
- package/dist/index.js +1666 -4206
- package/dist/index.js.map +1 -1
- package/dist/item.css +10 -10
- package/dist/qti-components/index.d.ts +150 -0
- package/dist/qti-components/index.js +6525 -0
- package/dist/qti-components/index.js.map +1 -0
- package/dist/qti-components-jsx.d.ts +93 -147
- package/dist/qti-item/components/index.d.ts +3 -0
- package/dist/qti-item/components/index.js +3856 -0
- package/dist/qti-item/components/index.js.map +1 -0
- package/dist/qti-item/components/item-container.d.ts +40 -0
- package/dist/qti-item/components/item-container.js +3856 -0
- package/dist/qti-item/components/item-container.js.map +1 -0
- package/dist/qti-item/index.d.ts +4 -0
- package/dist/qti-item/index.js +3869 -0
- package/dist/qti-item/index.js.map +1 -0
- package/dist/qti-item/qti-item.d.ts +25 -0
- package/dist/qti-item/qti-item.js +26 -0
- package/dist/qti-item/qti-item.js.map +1 -0
- package/dist/{loader → qti-loader}/index.d.ts +1 -1
- package/dist/{qti-simple-choice-D0GiMrqD.d.ts → qti-simple-choice-DxWcdKHi.d.ts} +30 -40
- package/dist/qti-test/components/index.d.ts +13 -0
- package/dist/qti-test/components/index.js +4144 -0
- package/dist/qti-test/components/index.js.map +1 -0
- package/dist/qti-test/components/styles.d.ts +8 -0
- package/dist/qti-test/components/styles.js +29 -0
- package/dist/qti-test/components/styles.js.map +1 -0
- package/dist/qti-test/components/test-component.abstract.d.ts +23 -0
- package/dist/qti-test/components/test-component.abstract.js +149 -0
- package/dist/qti-test/components/test-component.abstract.js.map +1 -0
- package/dist/qti-test/components/test-container.d.ts +37 -0
- package/dist/qti-test/components/test-container.js +3782 -0
- package/dist/qti-test/components/test-container.js.map +1 -0
- package/dist/qti-test/components/test-item-link.d.ts +21 -0
- package/dist/qti-test/components/test-item-link.js +202 -0
- package/dist/qti-test/components/test-item-link.js.map +1 -0
- package/dist/qti-test/components/test-next.d.ts +32 -0
- package/dist/qti-test/components/test-next.js +209 -0
- package/dist/qti-test/components/test-next.js.map +1 -0
- package/dist/qti-test/components/test-next.spec.d.ts +16 -0
- package/dist/qti-test/components/test-next.spec.js +56915 -0
- package/dist/qti-test/components/test-next.spec.js.map +1 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +22 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.js +218 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.js.map +1 -0
- package/dist/qti-test/components/test-prev.d.ts +32 -0
- package/dist/qti-test/components/test-prev.js +209 -0
- package/dist/qti-test/components/test-prev.js.map +1 -0
- package/dist/qti-test/components/test-view.d.ts +27 -0
- package/dist/qti-test/components/test-view.js +209 -0
- package/dist/qti-test/components/test-view.js.map +1 -0
- package/dist/qti-test/context/index.d.ts +6 -0
- package/dist/qti-test/context/index.js +9 -0
- package/dist/qti-test/context/index.js.map +1 -0
- package/dist/qti-test/context/test.context.d.ts +6 -0
- package/dist/qti-test/context/test.context.js +9 -0
- package/dist/qti-test/context/test.context.js.map +1 -0
- package/dist/qti-test/index.d.ts +14 -0
- package/dist/qti-test/index.js +4746 -0
- package/dist/qti-test/index.js.map +1 -0
- package/dist/qti-test/mixins/index.d.ts +8 -0
- package/dist/qti-test/mixins/index.js +350 -0
- package/dist/qti-test/mixins/index.js.map +1 -0
- package/dist/qti-test/mixins/test-loader.mixin.d.ts +8 -0
- package/dist/qti-test/mixins/test-loader.mixin.js +240 -0
- package/dist/qti-test/mixins/test-loader.mixin.js.map +1 -0
- package/dist/qti-test/mixins/test-navigation.mixin.d.ts +22 -0
- package/dist/qti-test/mixins/test-navigation.mixin.js +64 -0
- package/dist/qti-test/mixins/test-navigation.mixin.js.map +1 -0
- package/dist/qti-test/mixins/test-view.mixin.d.ts +6 -0
- package/dist/qti-test/mixins/test-view.mixin.js +50 -0
- package/dist/qti-test/mixins/test-view.mixin.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/index.d.ts +6 -0
- package/dist/qti-test/qti-assessment-test/index.js +221 -0
- package/dist/qti-test/qti-assessment-test/index.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.d.ts +6 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js +85 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.d.ts +6 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.js +73 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.d.ts +6 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.js +54 -0
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.js.map +1 -0
- package/dist/qti-test/qti-assessment-test/qti-test-part.d.ts +19 -0
- package/dist/qti-test/qti-assessment-test/qti-test-part.js +62 -0
- package/dist/qti-test/qti-assessment-test/qti-test-part.js.map +1 -0
- package/dist/qti-test/qti-test.d.ts +68 -0
- package/dist/qti-test/qti-test.js +500 -0
- package/dist/qti-test/qti-test.js.map +1 -0
- package/dist/qti-test/test-base.d.ts +6 -0
- package/dist/qti-test/test-base.js +137 -0
- package/dist/qti-test/test-base.js.map +1 -0
- package/dist/qti-transformers/index.js.map +1 -0
- package/dist/test-base-BJwG9Ie8.d.ts +109 -0
- package/dist/vscode.html-custom-data.json +49 -38
- package/package.json +28 -51
- package/dist/custom-element-eslint-rules.js +0 -329
- package/dist/custom-elements.json +0 -27271
- package/dist/qti-simple-choice-CfgBEvdI.d.ts +0 -1143
- package/dist/qti-simple-choice-UTrFa_RQ.d.ts +0 -1177
- package/dist/qti-simple-choice-zEsDq3c0.d.ts +0 -1147
- /package/dist/{transformers/index.js.map → chunks/chunk-XDMSEAYC.js.map} +0 -0
- /package/dist/{loader → qti-loader}/index.js +0 -0
- /package/dist/{loader → qti-loader}/index.js.map +0 -0
- /package/dist/{transformers → qti-transformers}/index.d.ts +0 -0
- /package/dist/{transformers → qti-transformers}/index.js +0 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
function t(t,e){if(e==null||e>t.length)e=t.length;for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function e(t){if(Array.isArray(t))return t}function n(e){if(Array.isArray(e))return t(e)}function r(t){if(t===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t}function i(t,e,n,r,i,o,a){try{var l=t[o](a);var s=l.value}catch(t){n(t);return}if(l.done){e(s)}else{Promise.resolve(s).then(r,i)}}function o(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var a=t.apply(e,n);function l(t){i(a,r,o,l,s,"next",t)}function s(t){i(a,r,o,l,s,"throw",t)}l(undefined)})}}function a(t,e,n){e=c(e);return m(t,k()?Reflect.construct(e,n||[],c(t).constructor):e.apply(t,n))}function l(t,e){if(!(t instanceof e)){throw new TypeError("Cannot call a class as a function")}}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(t,r.key,r)}}function u(t,e,n){if(e)s(t.prototype,e);if(n)s(t,n);return t}function h(t,e,n){if(typeof Reflect!=="undefined"&&Reflect.get){h=Reflect.get}else{h=function t(t,e,n){var r=g(t,e);if(!r)return;var i=Object.getOwnPropertyDescriptor(r,e);if(i.get){return i.get.call(n||t)}return i.value}}return h(t,e,n||t)}function c(t){c=Object.setPrototypeOf?Object.getPrototypeOf:function t(t){return t.__proto__||Object.getPrototypeOf(t)};return c(t)}function v(t,e){if(typeof e!=="function"&&e!==null){throw new TypeError("Super expression must either be null or a function")}t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:true,configurable:true}});if(e)$(t,e)}function d(t,e){if(e!=null&&typeof Symbol!=="undefined"&&e[Symbol.hasInstance]){return!!e[Symbol.hasInstance](t)}else{return t instanceof e}}function f(t){if(typeof Symbol!=="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function y(t,e){var n=t==null?null:typeof Symbol!=="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(n==null)return;var r=[];var i=true;var o=false;var a,l;try{for(n=n.call(t);!(i=(a=n.next()).done);i=true){r.push(a.value);if(e&&r.length===e)break}}catch(t){o=true;l=t}finally{try{if(!i&&n["return"]!=null)n["return"]()}finally{if(o)throw l}}return r}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(t,e){if(e&&(E(e)==="object"||typeof e==="function")){return e}return r(t)}function $(t,e){$=Object.setPrototypeOf||function t(t,e){t.__proto__=e;return t};return $(t,e)}function b(t,n){return e(t)||y(t,n)||S(t,n)||p()}function g(t,e){while(!Object.prototype.hasOwnProperty.call(t,e)){t=c(t);if(t===null)break}return t}function A(t,e){if(!e){e=t.slice(0)}return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function w(t){return n(t)||f(t)||S(t)||_()}function E(t){"@swc/helpers - typeof";return t&&typeof Symbol!=="undefined"&&t.constructor===Symbol?"symbol":typeof t}function S(e,n){if(!e)return;if(typeof e==="string")return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor)r=e.constructor.name;if(r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}function k(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k=function(){return!!t})()}function P(t,e){var n,r,i,o,a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),"throw":l(1),"return":l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(t){return function(e){return s([t,e])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=o[0]&2?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;if(r=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;r=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(o[0]===6&&a.label<i[1]){a.label=i[1];i=o;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(o);break}if(i[2])a.ops.pop();a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t];r=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}}function O(){var t=A(["<slot></slot>"]);O=function e(){return t};return t}var QtiComponents=function(){var t=function t(t,e){if(!tm(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return th!==void 0?th.createHTML(e):e};var e,n;var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var y=function(t,e){for(var n in e)r(t,n,{get:e[n],enumerable:!0})},p=function(t,e,n,o){var a=true,l=false,u=undefined;if(e&&(typeof e==="undefined"?"undefined":E(e))=="object"||typeof e=="function")try{var h=function(){var a=v.value;!f.call(t,a)&&a!==n&&r(t,a,{get:function(){return e[a]},enumerable:!(o=i(e,a))||o.enumerable})};for(var c=s(e)[Symbol.iterator](),v;!(a=(v=c.next()).done);a=true)h()}catch(t){l=true;u=t}finally{try{if(!a&&c.return!=null){c.return()}}finally{if(l){throw u}}}return t};var _=function(t){return p(r({},"__esModule",{value:!0}),t)},m=function(t,e,n,o){for(var a=o>1?void 0:o?i(e,n):e,l=t.length-1,s;l>=0;l--)(s=t[l])&&(a=(o?s(e,n,a):s(a))||a);return o&&a&&r(e,n,a),a};var $={};y($,{QtiItem:function(){return tY}});var g=/*#__PURE__*/function(){"use strict";function t(e){l(this,t);this.ariaAtomic="",this.ariaAutoComplete="",this.ariaBrailleLabel="",this.ariaBrailleRoleDescription="",this.ariaBusy="",this.ariaChecked="",this.ariaColCount="",this.ariaColIndex="",this.ariaColSpan="",this.ariaCurrent="",this.ariaDescription="",this.ariaDisabled="",this.ariaExpanded="",this.ariaHasPopup="",this.ariaHidden="",this.ariaInvalid="",this.ariaKeyShortcuts="",this.ariaLabel="",this.ariaLevel="",this.ariaLive="",this.ariaModal="",this.ariaMultiLine="",this.ariaMultiSelectable="",this.ariaOrientation="",this.ariaPlaceholder="",this.ariaPosInSet="",this.ariaPressed="",this.ariaReadOnly="",this.ariaRequired="",this.ariaRoleDescription="",this.ariaRowCount="",this.ariaRowIndex="",this.ariaRowSpan="",this.ariaSelected="",this.ariaSetSize="",this.ariaSort="",this.ariaValueMax="",this.ariaValueMin="",this.ariaValueNow="",this.ariaValueText="",this.role="",this.form=null,this.labels=[],this.states=new Set,this.validationMessage="",this.validity={},this.willValidate=!0,this.__host=e}u(t,[{key:"shadowRoot",get:function t(){return this.__host.__shadowRoot}},{key:"checkValidity",value:function t(){return console.warn("`ElementInternals.checkValidity()` was called on the server.This method always returns true."),!0}},{key:"reportValidity",value:function t(){return!0}},{key:"setFormValue",value:function t(){}},{key:"setValidity",value:function t(){}}]);return t}();var A=new WeakMap,S=function(t){var e=A.get(t);return e===void 0&&A.set(t,e=new Map),e},k=/*#__PURE__*/function(){"use strict";function t(){l(this,t);this.__shadowRootMode=null,this.__shadowRoot=null,this.__internals=null}u(t,[{key:"attributes",get:function t(){return Array.from(S(this)).map(function(t){var e=b(t,2),n=e[0],r=e[1];return{name:n,value:r}})}},{key:"shadowRoot",get:function t(){return this.__shadowRootMode==="closed"?null:this.__shadowRoot}},{key:"localName",get:function t(){return this.constructor.__localName}},{key:"tagName",get:function t(){var t;return(t=this.localName)===null||t===void 0?void 0:t.toUpperCase()}},{key:"setAttribute",value:function t(t,e){S(this).set(t,String(e))}},{key:"removeAttribute",value:function t(t){S(this).delete(t)}},{key:"toggleAttribute",value:function t(t,e){if(this.hasAttribute(t)){if(e===void 0||!e)return this.removeAttribute(t),!1}else return e===void 0||e?(this.setAttribute(t,""),!0):!1;return!0}},{key:"hasAttribute",value:function t(t){return S(this).has(t)}},{key:"attachShadow",value:function t(t){var e={host:this};return this.__shadowRootMode=t.mode,t&&t.mode==="open"&&(this.__shadowRoot=e),e}},{key:"attachInternals",value:function t(){if(this.__internals!==null)throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");var t=new g(this);return this.__internals=t,t}},{key:"getAttribute",value:function t(t){var e;return(e=S(this).get(t))!==null&&e!==void 0?e:null}}]);return t}();var R=/*#__PURE__*/function(t){"use strict";v(e,t);function e(){l(this,e);return a(this,e,arguments)}return e}(k),C=R;var U=/*#__PURE__*/function(){"use strict";function t(){l(this,t);this.__definitions=new Map}u(t,[{key:"define",value:function t(t,e){if(this.__definitions.has(t))if(process.env.NODE_ENV==="development")console.warn("'CustomElementRegistry' already has \"".concat(t,'" defined. This may have been caused by live reload or hot module replacement in which case it can be safely ignored.\nMake sure to test your application with a production build as repeat registrations will throw in production.'));else throw new Error("Failed to execute 'define' on 'CustomElementRegistry': the name \"".concat(t,'" has already been used with this registry'));var n;e.__localName=t,this.__definitions.set(t,{ctor:e,observedAttributes:(n=e.observedAttributes)!==null&&n!==void 0?n:[]})}},{key:"get",value:function t(t){var e;return(e=this.__definitions.get(t))===null||e===void 0?void 0:e.ctor}}]);return t}(),x=U;var T=new x;var M=globalThis,N=M.ShadowRoot&&(M.ShadyCSS===void 0||M.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,j=Symbol(),H=new WeakMap,I=/*#__PURE__*/function(){"use strict";function t(e,n,r){l(this,t);if(this._$cssResult$=!0,r!==j)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}u(t,[{key:"styleSheet",get:function t(){var t=this.o,e=this.t;if(N&&t===void 0){var n=e!==void 0&&e.length===1;n&&(t=H.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&H.set(e,t))}return t}},{key:"toString",value:function t(){return this.cssText}}]);return t}(),L=function(t){return new I(typeof t=="string"?t:t+"",void 0,j)};var D=function(t,e){var n=true,r=false,i=undefined;if(N)t.adoptedStyleSheets=e.map(function(t){return d(t,CSSStyleSheet)?t:t.styleSheet});else try{for(var o=e[Symbol.iterator](),a;!(n=(a=o.next()).done);n=true){var l=a.value;var s=document.createElement("style"),u=M.litNonce;u!==void 0&&s.setAttribute("nonce",u),s.textContent=l.cssText,t.appendChild(s)}}catch(t){r=true;i=t}finally{try{if(!n&&o.return!=null){o.return()}}finally{if(r){throw i}}}},V=N||M.CSSStyleSheet===void 0?function(t){return t}:function(t){return d(t,CSSStyleSheet)?function(t){var e="";var n=true,r=false,i=undefined;try{for(var o=t.cssRules[Symbol.iterator](),a;!(n=(a=o.next()).done);n=true){var l=a.value;e+=l.cssText}}catch(t){r=true;i=t}finally{try{if(!n&&o.return!=null){o.return()}}finally{if(r){throw i}}}return L(e)}(t):t};var z=Object.is,B=Object.defineProperty,W=Object.getOwnPropertyDescriptor,q=Object.getOwnPropertyNames,F=Object.getOwnPropertySymbols,K=Object.getPrototypeOf,J=globalThis;var Q;(Q=J.customElements)!==null&&Q!==void 0?Q:J.customElements=T;var Z=J.trustedTypes,G=Z?Z.emptyScript:"",X=J.reactiveElementPolyfillSupport,Y=function(t,e){return t},tt={toAttribute:function t(t,e){switch(e){case Boolean:t=t?G:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute:function t(t,e){var n=t;switch(e){case Boolean:n=t!==null;break;case Number:n=t===null?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},te=function(t,e){return!z(t,e)},tn={attribute:!0,type:String,converter:tt,reflect:!1,hasChanged:te};var tr,ti;(tr=Symbol.metadata)!==null&&tr!==void 0?tr:Symbol.metadata=Symbol("metadata"),(ti=J.litPropertyMetadata)!==null&&ti!==void 0?ti:J.litPropertyMetadata=new WeakMap;var to;var ta=/*#__PURE__*/function(t){"use strict";v(e,t);function e(){l(this,e);var t;t=a(this,e),t._$Ep=void 0,t.isUpdatePending=!1,t.hasUpdated=!1,t._$Em=null,t._$Ev();return t}u(e,[{key:"_$Ev",value:function t(){var t=this;var e;this._$ES=new Promise(function(e){return t.enableUpdating=e}),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)===null||e===void 0?void 0:e.forEach(function(e){return e(t)})}},{key:"addController",value:function t(t){var e;var n;((n=this._$EO)!==null&&n!==void 0?n:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)===null||e===void 0?void 0:e.call(t))}},{key:"removeController",value:function t(t){var e;(e=this._$EO)===null||e===void 0?void 0:e.delete(t)}},{key:"_$E_",value:function t(){var t=new Map,e=this.constructor.elementProperties;var n=true,r=false,i=undefined;try{for(var o=e.keys()[Symbol.iterator](),a;!(n=(a=o.next()).done);n=true){var l=a.value;this.hasOwnProperty(l)&&(t.set(l,this[l]),delete this[l])}}catch(t){r=true;i=t}finally{try{if(!n&&o.return!=null){o.return()}}finally{if(r){throw i}}}t.size>0&&(this._$Ep=t)}},{key:"createRenderRoot",value:function t(){var t;var e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return D(e,this.constructor.elementStyles),e}},{key:"connectedCallback",value:function t(){var t;var e;(e=this.renderRoot)!==null&&e!==void 0?e:this.renderRoot=this.createRenderRoot(),this.enableUpdating(!0),(t=this._$EO)===null||t===void 0?void 0:t.forEach(function(t){var e;return(e=t.hostConnected)===null||e===void 0?void 0:e.call(t)})}},{key:"enableUpdating",value:function t(t){}},{key:"disconnectedCallback",value:function t(){var t;(t=this._$EO)===null||t===void 0?void 0:t.forEach(function(t){var e;return(e=t.hostDisconnected)===null||e===void 0?void 0:e.call(t)})}},{key:"attributeChangedCallback",value:function t(t,e,n){this._$AK(t,n)}},{key:"_$EC",value:function t(t,e){var n=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,n);if(r!==void 0&&n.reflect===!0){var i;var o=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:tt).toAttribute(e,n.type);this._$Em=t,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}},{key:"_$AK",value:function t(t,e){var n=this.constructor,r=n._$Eh.get(t);if(r!==void 0&&this._$Em!==r){var i;var o=n.getPropertyOptions(r),a=typeof o.converter=="function"?{fromAttribute:o.converter}:((i=o.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?o.converter:tt;this._$Em=r,this[r]=a.fromAttribute(e,o.type),this._$Em=null}}},{key:"requestUpdate",value:function t(t,e,n){if(t!==void 0){var r;if(n!==null&&n!==void 0?n:n=this.constructor.getPropertyOptions(t),!((r=n.hasChanged)!==null&&r!==void 0?r:te)(this[t],e))return;this.P(t,e,n)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}},{key:"P",value:function t(t,e,n){var r;this._$AL.has(t)||this._$AL.set(t,e),n.reflect===!0&&this._$Em!==t&&((r=this._$Ej)!==null&&r!==void 0?r:this._$Ej=new Set).add(t)}},{key:"_$ET",value:function t(){var t=this;return o(function(){var e,n,r;return P(this,function(i){switch(i.label){case 0:t.isUpdatePending=!0;i.label=1;case 1:i.trys.push([1,3,,4]);return[4,t._$ES];case 2:i.sent();return[3,4];case 3:e=i.sent();Promise.reject(e);return[3,4];case 4:n=t.scheduleUpdate();r=n!=null;if(!r)return[3,6];return[4,n];case 5:r=i.sent();i.label=6;case 6:return[2,(r,!t.isUpdatePending)]}})})()}},{key:"scheduleUpdate",value:function t(){return this.performUpdate()}},{key:"performUpdate",value:function t(){if(!this.isUpdatePending)return;if(!this.hasUpdated){var t;if((t=this.renderRoot)!==null&&t!==void 0?t:this.renderRoot=this.createRenderRoot(),this._$Ep){var e=true,n=false,r=undefined;try{for(var i=this._$Ep[Symbol.iterator](),o;!(e=(o=i.next()).done);e=true){var a=b(o.value,2),l=a[0],s=a[1];this[l]=s}}catch(t){n=true;r=t}finally{try{if(!e&&i.return!=null){i.return()}}finally{if(n){throw r}}}this._$Ep=void 0}var u=this.constructor.elementProperties;var h=true,c=false,v=undefined;if(u.size>0)try{for(var d=u[Symbol.iterator](),f;!(h=(f=d.next()).done);h=true){var y=b(f.value,2),p=y[0],_=y[1];_.wrapped!==!0||this._$AL.has(p)||this[p]===void 0||this.P(p,this[p],_)}}catch(t){c=true;v=t}finally{try{if(!h&&d.return!=null){d.return()}}finally{if(c){throw v}}}}var m=!1,$=this._$AL;try{var g;m=this.shouldUpdate($),m?(this.willUpdate($),(g=this._$EO)===null||g===void 0?void 0:g.forEach(function(t){var e;return(e=t.hostUpdate)===null||e===void 0?void 0:e.call(t)}),this.update($)):this._$EU()}catch(t){throw m=!1,this._$EU(),t}m&&this._$AE($)}},{key:"willUpdate",value:function t(t){}},{key:"_$AE",value:function t(t){var e;(e=this._$EO)===null||e===void 0?void 0:e.forEach(function(t){var e;return(e=t.hostUpdated)===null||e===void 0?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}},{key:"_$EU",value:function t(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function t(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function t(){return this._$ES}},{key:"shouldUpdate",value:function t(t){return!0}},{key:"update",value:function t(t){var e=this;this._$Ej&&(this._$Ej=this._$Ej.forEach(function(t){return e._$EC(t,e[t])})),this._$EU()}},{key:"updated",value:function t(t){}},{key:"firstUpdated",value:function t(t){}}],[{key:"addInitializer",value:function t(t){var e;this._$Ei(),((e=this.l)!==null&&e!==void 0?e:this.l=[]).push(t)}},{key:"observedAttributes",get:function t(){return this.finalize(),this._$Eh&&w(this._$Eh.keys())}},{key:"createProperty",value:function t(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tn;if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){var n=Symbol(),r=this.getPropertyDescriptor(t,n,e);r!==void 0&&B(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function t(t,e,n){var r;var i=(r=W(this.prototype,t))!==null&&r!==void 0?r:{get:function t(){return this[e]},set:function t(t){this[e]=t}},o=i.get,a=i.set;return{get:function t(){return o===null||o===void 0?void 0:o.call(this)},set:function e(e){var r=o===null||o===void 0?void 0:o.call(this);a.call(this,e),this.requestUpdate(t,r,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function t(t){var e;return(e=this.elementProperties.get(t))!==null&&e!==void 0?e:tn}},{key:"_$Ei",value:function t(){if(this.hasOwnProperty(Y("elementProperties")))return;var t=K(this);t.finalize(),t.l!==void 0&&(this.l=w(t.l)),this.elementProperties=new Map(t.elementProperties)}},{key:"finalize",value:function t(){if(this.hasOwnProperty(Y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Y("properties"))){var t=this.properties,e=w(q(t)).concat(w(F(t)));var n=true,r=false,i=undefined;try{for(var o=e[Symbol.iterator](),a;!(n=(a=o.next()).done);n=true){var l=a.value;this.createProperty(l,t[l])}}catch(t){r=true;i=t}finally{try{if(!n&&o.return!=null){o.return()}}finally{if(r){throw i}}}}var s=this[Symbol.metadata];if(s!==null){var u=litPropertyMetadata.get(s);var h=true,c=false,v=undefined;if(u!==void 0)try{for(var d=u[Symbol.iterator](),f;!(h=(f=d.next()).done);h=true){var y=b(f.value,2),p=y[0],_=y[1];this.elementProperties.set(p,_)}}catch(t){c=true;v=t}finally{try{if(!h&&d.return!=null){d.return()}}finally{if(c){throw v}}}}this._$Eh=new Map;var m=true,$=false,g=undefined;try{for(var A=this.elementProperties[Symbol.iterator](),E;!(m=(E=A.next()).done);m=true){var S=b(E.value,2),k=S[0],P=S[1];var O=this._$Eu(k,P);O!==void 0&&this._$Eh.set(O,k)}}catch(t){$=true;g=t}finally{try{if(!m&&A.return!=null){A.return()}}finally{if($){throw g}}}this.elementStyles=this.finalizeStyles(this.styles)}},{key:"finalizeStyles",value:function t(t){var e=[];if(Array.isArray(t)){var n=new Set(t.flat(1/0).reverse());var r=true,i=false,o=undefined;try{for(var a=n[Symbol.iterator](),l;!(r=(l=a.next()).done);r=true){var s=l.value;e.unshift(V(s))}}catch(t){i=true;o=t}finally{try{if(!r&&a.return!=null){a.return()}}finally{if(i){throw o}}}}else t!==void 0&&e.push(V(t));return e}},{key:"_$Eu",value:function t(t,e){var n=e.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}}]);return e}((to=globalThis.HTMLElement)!==null&&to!==void 0?to:C);var tl;ta.elementStyles=[],ta.shadowRootOptions={mode:"open"},ta[Y("elementProperties")]=new Map,ta[Y("finalized")]=new Map,X===null||X===void 0?void 0:X({ReactiveElement:ta}),((tl=J.reactiveElementVersions)!==null&&tl!==void 0?tl:J.reactiveElementVersions=[]).push("2.0.4");var ts=globalThis,tu=ts.trustedTypes,th=tu?tu.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,tc="$lit$",tv="lit$".concat(Math.random().toFixed(9).slice(2),"$"),td="?"+tv,tf="<".concat(td,">"),ty=ts.document===void 0?{createTreeWalker:function(){return{}}}:document,tp=function(){return ty.createComment("")},t_=function(t){return t===null||(typeof t==="undefined"?"undefined":E(t))!="object"&&typeof t!="function"},tm=Array.isArray,t$=function(t){return tm(t)||typeof(t===null||t===void 0?void 0:t[Symbol.iterator])=="function"},tb="[ \n\f\r]",tg=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,tA=/-->/g,tw=/>/g,tE=RegExp(">|".concat(tb,"(?:([^\\s\"'>=/]+)(").concat(tb,"*=").concat(tb,"*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),tS=/'/g,tk=/"/g,tP=/^(?:script|style|textarea|title)$/i,tO=function(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++){r[i-1]=arguments[i]}return{_$litType$:t,strings:e,values:r}}},tR=tO(1),tC=tO(2),tU=tO(3),tx=Symbol.for("lit-noChange"),tT=Symbol.for("lit-nothing"),tM=new WeakMap,tN=ty.createTreeWalker(ty,129);var tj=function(e,n){var r=e.length-1,i=[],o,a=n===2?"<svg>":n===3?"<math>":"",l=tg;for(var s=0;s<r;s++){var u=e[s],h=void 0,c=void 0,v=-1,d=0;for(;d<u.length&&(l.lastIndex=d,c=l.exec(u),c!==null);)d=l.lastIndex,l===tg?c[1]==="!--"?l=tA:c[1]!==void 0?l=tw:c[2]!==void 0?(tP.test(c[2])&&(o=RegExp("</"+c[2],"g")),l=tE):c[3]!==void 0&&(l=tE):l===tE?c[0]===">"?(l=o!==null&&o!==void 0?o:tg,v=-1):c[1]===void 0?v=-2:(v=l.lastIndex-c[2].length,h=c[1],l=c[3]===void 0?tE:c[3]==='"'?tk:tS):l===tk||l===tS?l=tE:l===tA||l===tw?l=tg:(l=tE,o=void 0);var f=l===tE&&e[s+1].startsWith("/>")?" ":"";a+=l===tg?u+tf:v>=0?(i.push(h),u.slice(0,v)+tc+u.slice(v)+tv+f):u+tv+(v===-2?s:f)}return[t(e,a+(e[r]||"<?>")+(n===2?"</svg>":n===3?"</math>":"")),i]},tH=/*#__PURE__*/function(){"use strict";function t(e,n){var r=e.strings,i=e._$litType$;l(this,t);var o;this.parts=[];var a=0,s=0,u=r.length-1,h=this.parts,c=b(tj(r,i),2),v=c[0],d=c[1];if(this.el=t.createElement(v,n),tN.currentNode=this.el.content,i===2||i===3){var f;var y=this.el.content.firstChild;(f=y).replaceWith.apply(f,w(y.childNodes))}for(;(o=tN.nextNode())!==null&&h.length<u;){if(o.nodeType===1){var p=true,_=false,m=undefined;if(o.hasAttributes())try{for(var $=o.getAttributeNames()[Symbol.iterator](),g;!(p=(g=$.next()).done);p=true){var A=g.value;if(A.endsWith(tc)){var E=d[s++],S=o.getAttribute(A).split(tv),k=/([.?@])?(.*)/.exec(E);h.push({type:1,index:a,name:k[2],strings:S,ctor:k[1]==="."?tz:k[1]==="?"?tB:k[1]==="@"?tW:tV}),o.removeAttribute(A)}else A.startsWith(tv)&&(h.push({type:6,index:a}),o.removeAttribute(A))}}catch(t){_=true;m=t}finally{try{if(!p&&$.return!=null){$.return()}}finally{if(_){throw m}}}if(tP.test(o.tagName)){var P=o.textContent.split(tv),O=P.length-1;if(O>0){o.textContent=tu?tu.emptyScript:"";for(var R=0;R<O;R++)o.append(P[R],tp()),tN.nextNode(),h.push({type:2,index:++a});o.append(P[O],tp())}}}else if(o.nodeType===8)if(o.data===td)h.push({type:2,index:a});else{var C=-1;for(;(C=o.data.indexOf(tv,C+1))!==-1;)h.push({type:7,index:a}),C+=tv.length-1}a++}}u(t,null,[{key:"createElement",value:function t(t,e){var n=ty.createElement("template");return n.innerHTML=t,n}}]);return t}();function tI(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t,r=arguments.length>3?arguments[3]:void 0;var i,o;if(e===tx)return e;var a=r!==void 0?(i=n._$Co)===null||i===void 0?void 0:i[r]:n._$Cl,l=t_(e)?void 0:e._$litDirective$;var s;return(a===null||a===void 0?void 0:a.constructor)!==l&&(a===null||a===void 0?void 0:(o=a._$AO)===null||o===void 0?void 0:o.call(a,!1),l===void 0?a=void 0:(a=new l(t),a._$AT(t,n,r)),r!==void 0?((s=n._$Co)!==null&&s!==void 0?s:n._$Co=[])[r]=a:n._$Cl=a),a!==void 0&&(e=tI(t,a._$AS(t,e.values),a,r)),e}var tL=/*#__PURE__*/function(){"use strict";function t(e,n){l(this,t);this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}u(t,[{key:"parentNode",get:function t(){return this._$AM.parentNode}},{key:"_$AU",get:function t(){return this._$AM._$AU}},{key:"u",value:function t(t){var e;var n=this._$AD,r=n.el,i=r.content,o=n.parts,a=((e=t===null||t===void 0?void 0:t.creationScope)!==null&&e!==void 0?e:ty).importNode(i,!0);tN.currentNode=a;var l=tN.nextNode(),s=0,u=0,h=o[0];for(;h!==void 0;){if(s===h.index){var c=void 0;h.type===2?c=new tD(l,l.nextSibling,this,t):h.type===1?c=new h.ctor(l,h.name,h.strings,this,t):h.type===6&&(c=new tq(l,this,t)),this._$AV.push(c),h=o[++u]}s!==(h===null||h===void 0?void 0:h.index)&&(l=tN.nextNode(),s++)}return tN.currentNode=ty,a}},{key:"p",value:function t(t){var e=0;var n=true,r=false,i=undefined;try{for(var o=this._$AV[Symbol.iterator](),a;!(n=(a=o.next()).done);n=true){var l=a.value;l!==void 0&&(l.strings!==void 0?(l._$AI(t,l,e),e+=l.strings.length-2):l._$AI(t[e])),e++}}catch(t){r=true;i=t}finally{try{if(!n&&o.return!=null){o.return()}}finally{if(r){throw i}}}}}]);return t}(),tD=/*#__PURE__*/function(){"use strict";function e(t,n,r,i){l(this,e);var o;this.type=2,this._$AH=tT,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=r,this.options=i,this._$Cv=(o=i===null||i===void 0?void 0:i.isConnected)!==null&&o!==void 0?o:!0}u(e,[{key:"_$AU",get:function t(){var t;var e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cv}},{key:"parentNode",get:function t(){var t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t===null||t===void 0?void 0:t.nodeType)===11&&(t=e.parentNode),t}},{key:"startNode",get:function t(){return this._$AA}},{key:"endNode",get:function t(){return this._$AB}},{key:"_$AI",value:function t(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this;t=tI(this,t,e),t_(t)?t===tT||t==null||t===""?(this._$AH!==tT&&this._$AR(),this._$AH=tT):t!==this._$AH&&t!==tx&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):t$(t)?this.k(t):this._(t)}},{key:"O",value:function t(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"T",value:function t(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}},{key:"_",value:function t(t){this._$AH!==tT&&t_(this._$AH)?this._$AA.nextSibling.data=t:this.T(ty.createTextNode(t)),this._$AH=t}},{key:"$",value:function e(e){var n;var r=e.values,i=e._$litType$,o=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=tH.createElement(t(i.h,i.h[0]),this.options)),i);if(((n=this._$AH)===null||n===void 0?void 0:n._$AD)===o)this._$AH.p(r);else{var a=new tL(o,this),l=a.u(this.options);a.p(r),this.T(l),this._$AH=a}}},{key:"_$AC",value:function t(t){var e=tM.get(t.strings);return e===void 0&&tM.set(t.strings,e=new tH(t)),e}},{key:"k",value:function t(t){tm(this._$AH)||(this._$AH=[],this._$AR());var n=this._$AH,r,i=0;var o=true,a=false,l=undefined;try{for(var s=t[Symbol.iterator](),u;!(o=(u=s.next()).done);o=true){var h=u.value;i===n.length?n.push(r=new e(this.O(tp()),this.O(tp()),this,this.options)):r=n[i],r._$AI(h),i++}}catch(t){a=true;l=t}finally{try{if(!o&&s.return!=null){s.return()}}finally{if(a){throw l}}}i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}},{key:"_$AR",value:function t(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;var n,r;for((n=(r=this)._$AP)===null||n===void 0?void 0:n.call(r,!1,!0,e);t&&t!==this._$AB;){var i=t.nextSibling;t.remove(),t=i}}},{key:"setConnected",value:function t(t){var e,n;this._$AM===void 0&&(this._$Cv=t,(e=(n=this)._$AP)===null||e===void 0?void 0:e.call(n,t))}}]);return e}(),tV=/*#__PURE__*/function(){"use strict";function t(e,n,r,i,o){l(this,t);this.type=1,this._$AH=tT,this._$AN=void 0,this.element=e,this.name=n,this._$AM=i,this.options=o,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=tT}u(t,[{key:"tagName",get:function t(){return this.element.tagName}},{key:"_$AU",get:function t(){return this._$AM._$AU}},{key:"_$AI",value:function t(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;var i=this.strings,o=!1;if(i===void 0)t=tI(this,t,e,0),o=!t_(t)||t!==this._$AH&&t!==tx,o&&(this._$AH=t);else{var a=t,l,s;for(t=i[0],l=0;l<i.length-1;l++)s=tI(this,a[n+l],e,l),s===tx&&(s=this._$AH[l]),o||(o=!t_(s)||s!==this._$AH[l]),s===tT?t=tT:t!==tT&&(t+=(s!==null&&s!==void 0?s:"")+i[l+1]),this._$AH[l]=s}o&&!r&&this.j(t)}},{key:"j",value:function t(t){t===tT?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!==null&&t!==void 0?t:"")}}]);return t}(),tz=/*#__PURE__*/function(t){"use strict";v(e,t);function e(){l(this,e);var t;t=a(this,e,arguments),t.type=3;return t}u(e,[{key:"j",value:function t(t){this.element[this.name]=t===tT?void 0:t}}]);return e}(tV),tB=/*#__PURE__*/function(t){"use strict";v(e,t);function e(){l(this,e);var t;t=a(this,e,arguments),t.type=4;return t}u(e,[{key:"j",value:function t(t){this.element.toggleAttribute(this.name,!!t&&t!==tT)}}]);return e}(tV),tW=/*#__PURE__*/function(t){"use strict";v(e,t);function e(t,n,r,i,o){l(this,e);var s;s=a(this,e,[t,n,r,i,o]),s.type=5;return s}u(e,[{key:"_$AI",value:function t(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this;var n;if((t=(n=tI(this,t,e,0))!==null&&n!==void 0?n:tT)===tx)return;var r=this._$AH,i=t===tT&&r!==tT||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==tT&&(r===tT||i);i&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}},{key:"handleEvent",value:function t(t){var e;var n;typeof this._$AH=="function"?this._$AH.call((n=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&n!==void 0?n:this.element,t):this._$AH.handleEvent(t)}}]);return e}(tV),tq=/*#__PURE__*/function(){"use strict";function t(e,n,r){l(this,t);this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=r}u(t,[{key:"_$AU",get:function t(){return this._$AM._$AU}},{key:"_$AI",value:function t(t){tI(this,t)}}]);return t}();var tF=ts.litHtmlPolyfillSupport;var tK;tF===null||tF===void 0?void 0:tF(tH,tD),((tK=ts.litHtmlVersions)!==null&&tK!==void 0?tK:ts.litHtmlVersions=[]).push("3.2.1");var tJ=function(t,e,n){var r;var i=(r=n===null||n===void 0?void 0:n.renderBefore)!==null&&r!==void 0?r:e,o=i._$litPart$;if(o===void 0){var a;var l=(a=n===null||n===void 0?void 0:n.renderBefore)!==null&&a!==void 0?a:null;i._$litPart$=o=new tD(e.insertBefore(tp(),l),l,void 0,n!==null&&n!==void 0?n:{})}return o._$AI(t),o};var tQ=/*#__PURE__*/function(t){"use strict";v(e,t);function e(){l(this,e);var t;t=a(this,e,arguments),t.renderOptions={host:t},t._$Do=void 0;return t}u(e,[{key:"createRenderRoot",value:function t(){var t;var n=h(c(e.prototype),"createRenderRoot",this).call(this);var r;return(r=(t=this.renderOptions).renderBefore)!==null&&r!==void 0?r:t.renderBefore=n.firstChild,n}},{key:"update",value:function t(t){var n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),h(c(e.prototype),"update",this).call(this,t),this._$Do=tJ(n,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function t(){var t;h(c(e.prototype),"connectedCallback",this).call(this),(t=this._$Do)===null||t===void 0?void 0:t.setConnected(!0)}},{key:"disconnectedCallback",value:function t(){var t;h(c(e.prototype),"disconnectedCallback",this).call(this),(t=this._$Do)===null||t===void 0?void 0:t.setConnected(!1)}},{key:"render",value:function t(){return tx}}]);return e}(ta);tQ._$litElement$=!0,tQ.finalized=!0,(e=(n=globalThis).litElementHydrateSupport)===null||e===void 0?void 0:e.call(n,{LitElement:tQ});var tZ=globalThis.litElementPolyfillSupport;tZ===null||tZ===void 0?void 0:tZ({LitElement:tQ});var tG;((tG=globalThis.litElementVersions)!==null&&tG!==void 0?tG:globalThis.litElementVersions=[]).push("4.1.1");var tX=function(t){return function(e,n){n!==void 0?n.addInitializer(function(){customElements.define(t,e)}):customElements.define(t,e)}};var tY=/*#__PURE__*/function(t){"use strict";v(e,t);function e(){l(this,e);return a(this,e,arguments)}u(e,[{key:"render",value:function t(){return tR(O())}}]);return e}(tQ);tY=m([tX("qti-item")],tY);return _($)}();/*! Bundled license information:
|
|
2
|
+
|
|
3
|
+
@lit-labs/ssr-dom-shim/lib/element-internals.js:
|
|
4
|
+
(**
|
|
5
|
+
* @license
|
|
6
|
+
* Copyright 2023 Google LLC
|
|
7
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8
|
+
*)
|
|
9
|
+
|
|
10
|
+
@lit-labs/ssr-dom-shim/index.js:
|
|
11
|
+
(**
|
|
12
|
+
* @license
|
|
13
|
+
* Copyright 2019 Google LLC
|
|
14
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15
|
+
*)
|
|
16
|
+
|
|
17
|
+
@lit/reactive-element/node/css-tag.js:
|
|
18
|
+
(**
|
|
19
|
+
* @license
|
|
20
|
+
* Copyright 2019 Google LLC
|
|
21
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
+
*)
|
|
23
|
+
|
|
24
|
+
lit-html/node/lit-html.js:
|
|
25
|
+
(**
|
|
26
|
+
* @license
|
|
27
|
+
* Copyright 2017 Google LLC
|
|
28
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
+
*)
|
|
30
|
+
|
|
31
|
+
lit-element/lit-element.js:
|
|
32
|
+
(**
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2017 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*)
|
|
37
|
+
|
|
38
|
+
lit-html/node/is-server.js:
|
|
39
|
+
(**
|
|
40
|
+
* @license
|
|
41
|
+
* Copyright 2022 Google LLC
|
|
42
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
+
*)
|
|
44
|
+
|
|
45
|
+
@lit/reactive-element/node/decorators/custom-element.js:
|
|
46
|
+
(**
|
|
47
|
+
* @license
|
|
48
|
+
* Copyright 2017 Google LLC
|
|
49
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
|
+
*)
|
|
51
|
+
|
|
52
|
+
@lit/reactive-element/node/decorators/property.js:
|
|
53
|
+
(**
|
|
54
|
+
* @license
|
|
55
|
+
* Copyright 2017 Google LLC
|
|
56
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
|
+
*)
|
|
58
|
+
|
|
59
|
+
@lit/reactive-element/node/decorators/state.js:
|
|
60
|
+
(**
|
|
61
|
+
* @license
|
|
62
|
+
* Copyright 2017 Google LLC
|
|
63
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
64
|
+
*)
|
|
65
|
+
|
|
66
|
+
@lit/reactive-element/node/decorators/event-options.js:
|
|
67
|
+
(**
|
|
68
|
+
* @license
|
|
69
|
+
* Copyright 2017 Google LLC
|
|
70
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
71
|
+
*)
|
|
72
|
+
|
|
73
|
+
@lit/reactive-element/node/decorators/base.js:
|
|
74
|
+
(**
|
|
75
|
+
* @license
|
|
76
|
+
* Copyright 2017 Google LLC
|
|
77
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
+
*)
|
|
79
|
+
|
|
80
|
+
@lit/reactive-element/node/decorators/query.js:
|
|
81
|
+
(**
|
|
82
|
+
* @license
|
|
83
|
+
* Copyright 2017 Google LLC
|
|
84
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
|
+
*)
|
|
86
|
+
|
|
87
|
+
@lit/reactive-element/node/decorators/query-all.js:
|
|
88
|
+
(**
|
|
89
|
+
* @license
|
|
90
|
+
* Copyright 2017 Google LLC
|
|
91
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
92
|
+
*)
|
|
93
|
+
|
|
94
|
+
@lit/reactive-element/node/decorators/query-async.js:
|
|
95
|
+
(**
|
|
96
|
+
* @license
|
|
97
|
+
* Copyright 2017 Google LLC
|
|
98
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
|
+
*)
|
|
100
|
+
|
|
101
|
+
@lit/reactive-element/node/decorators/query-assigned-elements.js:
|
|
102
|
+
(**
|
|
103
|
+
* @license
|
|
104
|
+
* Copyright 2021 Google LLC
|
|
105
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
106
|
+
*)
|
|
107
|
+
|
|
108
|
+
@lit/reactive-element/node/decorators/query-assigned-nodes.js:
|
|
109
|
+
(**
|
|
110
|
+
* @license
|
|
111
|
+
* Copyright 2017 Google LLC
|
|
112
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
113
|
+
*)
|
|
114
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var i=(m,t,o,r)=>{for(var e=r>1?void 0:r?c(t,o):t,a=m.length-1,n;a>=0;a--)(n=m[a])&&(e=(r?n(t,o,e):n(e))||e);return r&&e&&s(t,o,e),e};import{html as p,LitElement as d}from"lit";import{customElement as f}from"lit/decorators.js";var l=class extends d{render(){return p`<slot></slot>`}};l=i([f("qti-item")],l);export{l as QtiItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t,e,n,r,i,o,u){try{var a=t[o](u);var c=a.value}catch(t){n(t);return}if(a.done){e(c)}else{Promise.resolve(c).then(r,i)}}function e(e){return function(){var n=this,r=arguments;return new Promise(function(i,o){var u=e.apply(n,r);function a(e){t(u,i,o,a,c,"next",e)}function c(e){t(u,i,o,a,c,"throw",e)}a(undefined)})}}function n(t,e){if(!e){e=t.slice(0)}return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function r(t){"@swc/helpers - typeof";return t&&typeof Symbol!=="undefined"&&t.constructor===Symbol?"symbol":typeof t}function i(t,e){var n,r,i,o,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),"throw":a(1),"return":a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return c([t,e])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(u)try{if(n=1,r&&(i=o[0]&2?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;if(r=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:u.label++;return{value:o[1],done:false};case 5:u.label++;r=o[1];o=[0];continue;case 7:o=u.ops.pop();u.trys.pop();continue;default:if(!(i=u.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){u=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){u.label=o[1];break}if(o[0]===6&&u.label<i[1]){u.label=i[1];i=o;break}if(i&&u.label<i[2]){u.label=i[2];u.ops.push(o);break}if(i[2])u.ops.pop();u.trys.pop();continue}o=e.call(t,u)}catch(t){o=[6,t];r=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}}function o(){var t=n(['<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\n<xsl:output method="html" version="5.0" encoding="UTF-8" indent="yes" />\n <xsl:template match="@*|node()">\n <xsl:copy>\n <xsl:apply-templates select="@*|node()"/>\n </xsl:copy>\n </xsl:template>\n\n \x3c!-- remove existing namespaces --\x3e\n <xsl:template match="*">\n \x3c!-- remove element prefix --\x3e\n <xsl:element name="{local-name()}">\n \x3c!-- process attributes --\x3e\n <xsl:for-each select="@*">\n \x3c!-- remove attribute prefix --\x3e\n <xsl:attribute name="{local-name()}">\n <xsl:value-of select="."/>\n </xsl:attribute>\n </xsl:for-each>\n <xsl:apply-templates/>\n </xsl:element>\n</xsl:template>\n</xsl:stylesheet>']);o=function e(){return t};return t}var QtiComponents=function(){var t=function t(t,e,n){t.querySelectorAll(e).forEach(function(t){var r="".concat(e,"-").concat(n),i=u(t,r);t.replaceWith(i)})};var n=function t(t,e){t.querySelectorAll("*").forEach(function(t){var n=t.classList;n&&n.forEach(function(n){if(n.startsWith("".concat(e,":"))){var r=n.slice("".concat(e,":").length),i="".concat(t.nodeName,"-").concat(r),o=u(t,i);t.replaceWith(o)}})})};var u=function t(t,e){var n=document.createElement(e);var r=true,i=false,o=undefined;try{for(var u=t.attributes[Symbol.iterator](),a;!(r=(a=u.next()).done);r=true){var c=a.value;n.setAttribute(c.name,c.value)}}catch(t){i=true;o=t}finally{try{if(!r&&u.return!=null){u.return()}}finally{if(i){throw o}}}for(;t.firstChild;)n.appendChild(t.firstChild);return n};var a=function t(t){var e=[];return t.querySelectorAll("qti-assessment-item-ref").forEach(function(t){var n=t.getAttribute("identifier"),r=t.getAttribute("href"),i=t.getAttribute("category");e.push({identifier:n,href:r,category:i})}),e};var c=function t(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e&&q!==null&&q.abort(),new Promise(function(e,n){var r=new XMLHttpRequest;q=r,r.open("GET",t,!0),r.responseType="document",r.onload=function(){r.status>=200&&r.status<300?e(r.responseXML):n(r.statusText)},r.onerror=function(){n(r.statusText)},r.send()})};var l=function t(t){return new DOMParser().parseFromString(t,"text/xml")};var s=function t(t){var e=new XSLTProcessor,n=new DOMParser().parseFromString(A,"text/xml");return e.importStylesheet(n),e.transformToFragment(t,document)};var f=function t(t,e){e.endsWith("/")||(e+="/"),t.querySelectorAll("[src],[href],[primary-path]").forEach(function(t){var n;var r="";t.getAttribute("src")&&(r="src"),t.getAttribute("href")&&(r="href"),t.getAttribute("primary-path")&&(r="primary-path");var i=(n=t.getAttribute(r))===null||n===void 0?void 0:n.trim();if(!i.startsWith("data:")&&!i.startsWith("http")){var o=e+encodeURI(i);t.setAttribute(r,o)}})};var h=function t(t){t.querySelectorAll('qti-custom-operator[class="js.org"] > qti-base-value').forEach(function(t){var e=document.createComment(t.textContent);t.replaceChild(e,t.firstChild)})};var m=function t(t){t.querySelectorAll("qti-stylesheet").forEach(function(t){return t.remove()})};var v=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var b=function(t,e){for(var n in e)v(t,n,{get:e[n],enumerable:!0})},x=function(t,e,n,i){var o=true,u=false,a=undefined;if(e&&(typeof e==="undefined"?"undefined":r(e))=="object"||typeof e=="function")try{var c=function(){var r=s.value;!y.call(t,r)&&r!==n&&v(t,r,{get:function(){return e[r]},enumerable:!(i=p(e,r))||i.enumerable})};for(var l=d(e)[Symbol.iterator](),s;!(o=(s=l.next()).done);o=true)c()}catch(t){u=true;a=t}finally{try{if(!o&&l.return!=null){l.return()}}finally{if(u){throw a}}}return t};var g=function(t){return x(v({},"__esModule",{value:!0}),t)};var w={};b(w,{getItemByUri:function(){return C},getManifestInfo:function(){return P}});var S=String.raw,A=S(o());var q=null;var O=function(){var r,o={load:function t(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e(function(){return i(this,function(e){return[2,new Promise(function(e){c(t,n).then(function(n){return r=n,o.path(t.substring(0,t.lastIndexOf("/"))),e(o)})})]})})()},parse:function t(t){return r=l(t),o},path:function(t){return f(r,t),o},fn:function t(t){return t(r),o},pciHooks:function t(t){var e=["hook","module"],n=t.substring(0,t.lastIndexOf("/"));var i=true,u=false,a=undefined;try{var c=function(){var e=s.value;r.querySelectorAll("["+e+"]").forEach(function(r){var i=r.getAttribute(e);!i.startsWith("data:")&&!i.startsWith("http")&&(r.setAttribute("base-url",t),r.setAttribute("module",n+"/"+encodeURI(i+(i.endsWith(".js")?"":".js"))))})};for(var l=e[Symbol.iterator](),s;!(i=(s=l.next()).done);i=true)c()}catch(t){u=true;a=t}finally{try{if(!i&&l.return!=null){l.return()}}finally{if(u){throw a}}}return o},extendElementName:function(e,n){return t(r,e,n),o},extendElementsWithClass:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"extend";return n(r,t),o},customInteraction:function t(t,e){var n=r.querySelector("qti-custom-interaction"),i=n.querySelector("object");return n.setAttribute("data-base-ref",t),n.setAttribute("data-base-item",t+e),n.setAttribute("data",i.getAttribute("data")),n.setAttribute("width",i.getAttribute("width")),n.setAttribute("height",i.getAttribute("height")),n.removeChild(i),o},convertCDATAtoComment:function t(){return h(r),o},stripStyleSheets:function t(){return m(r),o},html:function t(){return new XMLSerializer().serializeToString(s(r))},xml:function t(){return new XMLSerializer().serializeToString(r)},htmlDoc:function t(){return s(r)},xmlDoc:function t(){return r}};return o};var T=function(){var t,n={load:function r(r){return e(function(){return i(this,function(e){return[2,new Promise(function(e){c(r).then(function(r){return t=r,e(n)})})]})})()},parse:function e(e){t=l(e)},assessmentTest:function e(){var e=t.querySelector('resource[type="imsqti_test_xmlv3p0"]');return{href:e.getAttribute("href"),identifier:e.getAttribute("identifier")}}};return n};var E=function(){var t,n={load:function r(r){return e(function(){return i(this,function(e){return[2,new Promise(function(e,i){c(r).then(function(i){return t=i,n.path(r.substring(0,r.lastIndexOf("/"))),e(n)})})]})})()},parse:function e(e){return t=l(e),n},path:function(e){return f(t,e),n},fn:function e(e){return e(t),n},items:function e(){return a(t)},html:function e(){return new XMLSerializer().serializeToString(s(t))},xml:function e(){return new XMLSerializer().serializeToString(t)},htmlDoc:function e(){return s(t)},xmlDoc:function e(){return t}};return n};var P=/*#__PURE__*/function(){var t=e(function(t){var e,n,r,o,u,a;return i(this,function(i){switch(i.label){case 0:e=t.substring(0,t.lastIndexOf("/"));return[4,T().load("".concat(t)).then(function(t){return t.assessmentTest()})];case 1:n=i.sent();return[4,E().load("".concat(e,"/").concat(n.href)).then(function(t){return t.htmlDoc()})];case 2:r=i.sent();return[4,E().load("".concat(e,"/").concat(n.href)).then(function(t){return t.items()})];case 3:o=i.sent(),u="".concat(e,"/").concat(n.href),a="".concat(e,"/").concat(n.href.substring(0,n.href.lastIndexOf("/")));return[2,{testHTMLDoc:r,testURI:a,testURL:u,items:o,testIdentifier:n.identifier}]}})});return function e(e){return t.apply(this,arguments)}}(),C=/*#__PURE__*/function(){var t=e(function(t){return i(this,function(e){return[2,O().load(t).then(function(t){return t.htmlDoc().firstElementChild})]})});return function e(e){return t.apply(this,arguments)}}();return g(w)}();
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var M=String.raw,D=M`<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
2
|
+
<xsl:output method="html" version="5.0" encoding="UTF-8" indent="yes" />
|
|
3
|
+
<xsl:template match="@*|node()">
|
|
4
|
+
<xsl:copy>
|
|
5
|
+
<xsl:apply-templates select="@*|node()"/>
|
|
6
|
+
</xsl:copy>
|
|
7
|
+
</xsl:template>
|
|
8
|
+
|
|
9
|
+
<!-- remove existing namespaces -->
|
|
10
|
+
<xsl:template match="*">
|
|
11
|
+
<!-- remove element prefix -->
|
|
12
|
+
<xsl:element name="{local-name()}">
|
|
13
|
+
<!-- process attributes -->
|
|
14
|
+
<xsl:for-each select="@*">
|
|
15
|
+
<!-- remove attribute prefix -->
|
|
16
|
+
<xsl:attribute name="{local-name()}">
|
|
17
|
+
<xsl:value-of select="."/>
|
|
18
|
+
</xsl:attribute>
|
|
19
|
+
</xsl:for-each>
|
|
20
|
+
<xsl:apply-templates/>
|
|
21
|
+
</xsl:element>
|
|
22
|
+
</xsl:template>
|
|
23
|
+
</xsl:stylesheet>`;function h(e,r,t){e.querySelectorAll(r).forEach(n=>{let s=`${r}-${t}`,o=d(n,s);n.replaceWith(o)})}function x(e,r){e.querySelectorAll("*").forEach(t=>{let n=t.classList;n&&n.forEach(s=>{if(s.startsWith(`${r}:`)){let o=s.slice(`${r}:`.length),c=`${t.nodeName}-${o}`,i=d(t,c);t.replaceWith(i)}})})}function d(e,r){let t=document.createElement(r);for(let n of e.attributes)t.setAttribute(n.name,n.value);for(;e.firstChild;)t.appendChild(e.firstChild);return t}function A(e){let r=[];return e.querySelectorAll("qti-assessment-item-ref").forEach(t=>{let n=t.getAttribute("identifier"),s=t.getAttribute("href"),o=t.getAttribute("category");r.push({identifier:n,href:s,category:o})}),r}var f=null;function a(e,r=!1){return r&&f!==null&&f.abort(),new Promise((t,n)=>{let s=new XMLHttpRequest;f=s,s.open("GET",e,!0),s.responseType="document",s.onload=()=>{s.status>=200&&s.status<300?t(s.responseXML):n(s.statusText)},s.onerror=()=>{n(s.statusText)},s.send()})}function m(e){return new DOMParser().parseFromString(e,"text/xml")}function l(e){let r=new XSLTProcessor,t=new DOMParser().parseFromString(D,"text/xml");return r.importStylesheet(t),r.transformToFragment(e,document)}function p(e,r){r.endsWith("/")||(r+="/"),e.querySelectorAll("[src],[href],[primary-path]").forEach(t=>{let n="";t.getAttribute("src")&&(n="src"),t.getAttribute("href")&&(n="href"),t.getAttribute("primary-path")&&(n="primary-path");let s=t.getAttribute(n)?.trim();if(!s.startsWith("data:")&&!s.startsWith("http")){let o=r+encodeURI(s);t.setAttribute(n,o)}})}function y(e){e.querySelectorAll('qti-custom-operator[class="js.org"] > qti-base-value').forEach(t=>{let n=document.createComment(t.textContent);t.replaceChild(n,t.firstChild)})}function T(e){e.querySelectorAll("qti-stylesheet").forEach(r=>r.remove())}var b=()=>{let e,r={async load(t,n=!1){return new Promise(s=>{a(t,n).then(o=>(e=o,r.path(t.substring(0,t.lastIndexOf("/"))),s(r)))})},parse(t){return e=m(t),r},path:t=>(p(e,t),r),fn(t){return t(e),r},pciHooks(t){let n=["hook","module"],s=t.substring(0,t.lastIndexOf("/"));for(let o of n)e.querySelectorAll("["+o+"]").forEach(i=>{let u=i.getAttribute(o);!u.startsWith("data:")&&!u.startsWith("http")&&(i.setAttribute("base-url",t),i.setAttribute("module",s+"/"+encodeURI(u+(u.endsWith(".js")?"":".js"))))});return r},extendElementName:(t,n)=>(h(e,t,n),r),extendElementsWithClass:(t="extend")=>(x(e,t),r),customInteraction(t,n){let s=e.querySelector("qti-custom-interaction"),o=s.querySelector("object");return s.setAttribute("data-base-ref",t),s.setAttribute("data-base-item",t+n),s.setAttribute("data",o.getAttribute("data")),s.setAttribute("width",o.getAttribute("width")),s.setAttribute("height",o.getAttribute("height")),s.removeChild(o),r},convertCDATAtoComment(){return y(e),r},stripStyleSheets(){return T(e),r},html(){return new XMLSerializer().serializeToString(l(e))},xml(){return new XMLSerializer().serializeToString(e)},htmlDoc(){return l(e)},xmlDoc(){return e}};return r};var L=()=>{let e,r={async load(t){return new Promise(n=>{a(t).then(s=>(e=s,n(r)))})},parse(t){e=m(t)},assessmentTest(){let t=e.querySelector('resource[type="imsqti_test_xmlv3p0"]');return{href:t.getAttribute("href"),identifier:t.getAttribute("identifier")}}};return r};var g=()=>{let e,r={async load(t){return new Promise((n,s)=>{a(t).then(o=>(e=o,r.path(t.substring(0,t.lastIndexOf("/"))),n(r)))})},parse(t){return e=m(t),r},path:t=>(p(e,t),r),fn(t){return t(e),r},items(){return A(e)},html(){return new XMLSerializer().serializeToString(l(e))},xml(){return new XMLSerializer().serializeToString(e)},htmlDoc(){return l(e)},xmlDoc(){return e}};return r};var R=async e=>{let r=e.substring(0,e.lastIndexOf("/")),t=await L().load(`${e}`).then(i=>i.assessmentTest()),n=await g().load(`${r}/${t.href}`).then(i=>i.htmlDoc()),s=await g().load(`${r}/${t.href}`).then(i=>i.items()),o=`${r}/${t.href}`,c=`${r}/${t.href.substring(0,t.href.lastIndexOf("/"))}`;return{testHTMLDoc:n,testURI:c,testURL:o,items:s,testIdentifier:t.identifier}},z=async e=>b().load(e).then(r=>r.htmlDoc().firstElementChild);export{z as getItemByUri,R as getManifestInfo};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer qti-base,qti-components,qti-utilities,qti-variants,qti-extended;:root,:host{--qti-bg-active: #ffecec;--qti-border-active: #f86d70;--qti-gap-size: 1rem;--qti-bg: white;--qti-hover-bg: #f9fafb;--qti-light-bg-active: #f0f0f0;--qti-light-border-active: #d0d0d0;--qti-dark-bg-active: #1f2937;--qti-dark-border-active: #64748b;--qti-disabled-bg: #f3f4f6;--qti-disabled-color: #45484f;--qti-border-thickness: 2px;--qti-border-style: solid;--qti-border-color: #c6cad0;--qti-border-radius: .3rem;--qti-drop-border-radius: calc(var(--qti-border-radius) + var(--qti-border-thickness));--qti-focus-border-width: 5px;--qti-focus-color: #bddcff7e;--qti-form-size: 1rem;--qti-point-size: 2rem;--qti-order-size: 2rem;--qti-padding-vertical: .5rem;--qti-padding-horizontal: .5rem}.chevron{background:url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E") no-repeat center right 6px}.handle{background-image:radial-gradient(circle at center,#0000001a 0,#0003 2px,#fff0 2px 100%);background-repeat:repeat-y;background-position:left center;background-size:14px 8px}.check-mask{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E")}.bordered{border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.form{display:grid;place-content:center;width:var(--qti-form-size);height:var(--qti-form-size);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.button{border-radius:var(--qti-border-radius);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.select{border-radius:var(--qti-border-radius);position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);padding-right:calc(var(--qti-padding-horizontal) + 1.5rem);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none;background:url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E") no-repeat center right 6px}.text{border-radius:0;cursor:text;padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);background:unset;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.spot{width:100%;height:100%;background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.point{border-radius:100%;width:var(--qti-point-size);height:var(--qti-point-size);background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.drag{transition:transform .2s ease-out,box-shadow .2s ease-out,rotate .2s ease-out;cursor:grab;background-color:var(--qti-bg);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);border-radius:var(--qti-border-radius);padding-left:calc(var(--qti-padding-horizontal) + .5rem)!important;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none;background-image:radial-gradient(circle at center,#0000001a 0,#0003 2px,#fff0 2px 100%);background-repeat:repeat-y;background-position:left center;background-size:14px 8px}.dragging{pointer-events:none;rotate:-2deg;box-shadow:0 8px 12px #0003,0 4px 8px #0000001a}.drop{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>') center no-repeat;border-radius:var(--qti-border-radius);position:relative;background-color:var(--qti-bg);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.dropping{background-color:var(--qti-bg-active)}.order{display:grid;place-content:center;border-radius:100%;width:var(--qti-order-size);height:var(--qti-order-size);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.check-size{width:calc(var(--qti-form-size) - 6px);height:calc(var(--qti-form-size) - 6px)}.check{gap:.5rem;border-radius:var(--qti-border-radius);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);outline:none;cursor:pointer}.check-radio{border-radius:100%;display:grid;place-content:center;width:var(--qti-form-size);height:var(--qti-form-size);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.check-radio-checked{background-color:var(--qti-border-active);border-radius:100%}.check-checkbox{display:flex;place-items:center;border-radius:var(--qti-border-radius);display:grid;place-content:center;width:var(--qti-form-size);height:var(--qti-form-size);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}.check-checkbox-checked{background-color:var(--qti-border-active);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E")}.hov{background-color:var(--qti-hover-bg)}.foc{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}.act{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}.act-bg{background-color:var(--qti-bg-active)}.act-bor{border-color:var(--qti-border-active)}.rdo{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}.dis{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}.qti-display-inline{display:inline}.qti-display-inline-block{display:inline-block}.qti-display-block{display:block}.qti-display-flex{display:flexbox;display:flex}.qti-display-inline-flex{display:inline-flex}.qti-display-grid{display:grid}.qti-display-inline-grid{display:inline-grid}.qti-display-table{display:table}.qti-display-table-cell{display:table-cell}.qti-display-table-row{display:table-row}.qti-display-list-item{display:list-item}.qti-display-inherit{display:inherit}.qti-hidden{display:none}.qti-visually-hidden{position:fixed!important;overflow:hidden;clip:rect(1px 1px 1px 1px);height:1px;width:1px;border:0;margin:-1px}.qti-flex-direction-column{flex-direction:column}.qti-flex-direction-row{flex-direction:row}.qti-flex-grow-1{flex-grow:1}.qti-flex-grow-0{flex-grow:0}.qti-margin-0{margin:0!important}.qti-margin-1{margin:.25rem!important}.qti-margin-2{margin:.5rem!important}.qti-margin-3{margin:1rem!important}.qti-margin-4{margin:1.5rem!important}.qti-margin-5{margin:3rem!important}.qti-margin-auto{margin:auto!important}.qti-margin-x-0{margin-right:0!important;margin-left:0!important}.qti-margin-x-1{margin-right:.25rem!important;margin-left:.25rem!important}.qti-margin-x-2{margin-right:.5rem!important;margin-left:.5rem!important}.qti-margin-x-3{margin-right:1rem!important;margin-left:1rem!important}.qti-margin-x-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.qti-margin-x-5{margin-right:3rem!important;margin-left:3rem!important}.qti-margin-x-auto{margin-right:auto!important;margin-left:auto!important}.qti-margin-y-0{margin-top:0!important;margin-bottom:0!important}.qti-margin-y-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.qti-margin-y-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.qti-margin-y-3{margin-top:1rem!important;margin-bottom:1rem!important}.qti-margin-y-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.qti-margin-y-5{margin-top:3rem!important;margin-bottom:3rem!important}.qti-margin-y-auto{margin-top:auto!important;margin-bottom:auto!important}.qti-margin-t-0{margin-top:0!important}.qti-margin-t-1{margin-top:.25rem!important}.qti-margin-t-2{margin-top:.5rem!important}.qti-margin-t-3{margin-top:1rem!important}.qti-margin-t-4{margin-top:1.5rem!important}.qti-margin-t-5{margin-top:3rem!important}.qti-margin-t-auto{margin-top:auto!important}.qti-margin-b-0{margin-bottom:0!important}.qti-margin-b-1{margin-bottom:.25rem!important}.qti-margin-b-2{margin-bottom:.5rem!important}.qti-margin-b-3{margin-bottom:1rem!important}.qti-margin-b-4{margin-bottom:1.5rem!important}.qti-margin-b-5{margin-bottom:3rem!important}.qti-margin-b-auto{margin-bottom:auto!important}.qti-margin-s-0{margin-left:0!important}.qti-margin-s-1{margin-left:.25rem!important}.qti-margin-s-2{margin-left:.5rem!important}.qti-margin-s-3{margin-left:1rem!important}.qti-margin-s-4{margin-left:1.5rem!important}.qti-margin-s-5{margin-left:3rem!important}.qti-margin-s-auto{margin-left:auto!important}.qti-margin-e-0{margin-right:0!important}.qti-margin-e-1{margin-right:.25rem!important}.qti-margin-e-2{margin-right:.5rem!important}.qti-margin-e-3{margin-right:1rem!important}.qti-margin-e-4{margin-right:1.5rem!important}.qti-margin-e-5{margin-right:3rem!important}.qti-margin-e-auto{margin-right:auto!important}.qti-padding-0{padding:0!important}.qti-padding-1{padding:.25rem!important}.qti-padding-2{padding:.5rem!important}.qti-padding-3{padding:1rem!important}.qti-padding-4{padding:1.5rem!important}.qti-padding-5{padding:3rem!important}.qti-padding-x-0{padding-right:0!important;padding-left:0!important}.qti-padding-x-1{padding-right:.25rem!important;padding-left:.25rem!important}.qti-padding-x-2{padding-right:.5rem!important;padding-left:.5rem!important}.qti-padding-x-3{padding-right:1rem!important;padding-left:1rem!important}.qti-padding-x-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.qti-padding-x-5{padding-right:3rem!important;padding-left:3rem!important}.qti-padding-y-0{padding-top:0!important;padding-bottom:0!important}.qti-padding-y-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.qti-padding-y-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.qti-padding-y-3{padding-top:1rem!important;padding-bottom:1rem!important}.qti-padding-y-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.qti-padding-y-5{padding-top:3rem!important;padding-bottom:3rem!important}.qti-padding-t-0{padding-top:0!important}.qti-padding-t-1{padding-top:.25rem!important}.qti-padding-t-2{padding-top:.5rem!important}.qti-padding-t-3{padding-top:1rem!important}.qti-padding-t-4{padding-top:1.5rem!important}.qti-padding-t-5{padding-top:3rem!important}.qti-padding-b-0{padding-bottom:0!important}.qti-padding-b-1{padding-bottom:.25rem!important}.qti-padding-b-2{padding-bottom:.5rem!important}.qti-padding-b-3{padding-bottom:1rem!important}.qti-padding-b-4{padding-bottom:1.5rem!important}.qti-padding-b-5{padding-bottom:3rem!important}.qti-padding-s-0{padding-left:0!important}.qti-padding-s-1{padding-left:.25rem!important}.qti-padding-s-2{padding-left:.5rem!important}.qti-padding-s-3{padding-left:1rem!important}.qti-padding-s-4{padding-left:1.5rem!important}.qti-padding-s-5{padding-left:3rem!important}.qti-padding-e-0{padding-right:0!important}.qti-padding-e-1{padding-right:.25rem!important}.qti-padding-e-2{padding-right:.5rem!important}.qti-padding-e-3{padding-right:1rem!important}.qti-padding-e-4{padding-right:1.5rem!important}.qti-padding-e-5{padding-right:3rem!important}.qti-align-left{text-align:left}.qti-align-center{text-align:center}.qti-align-right{text-align:right}.qti-valign-top{vertical-align:top}.qti-valign-middle{vertical-align:middle}.qti-valign-baseline{vertical-align:baseline}.qti-valign-bottom{vertical-align:bottom}.qti-height-0{height:0}.qti-height-px{height:1px}.qti-height-0p5{height:.125rem}.qti-height-1{height:.25rem}.qti-height-1p5{height:.375rem}.qti-height-2{height:.5rem}.qti-height-2p5{height:.625rem}.qti-height-3{height:.75rem}.qti-height-3p5{height:.875rem}.qti-height-4{height:1rem}.qti-height-5{height:1.25rem}.qti-height-6{height:1.5rem}.qti-height-7{height:1.75rem}.qti-height-8{height:2rem}.qti-height-9{height:2.25rem}.qti-height-10{height:2.5rem}.qti-height-11{height:2.75rem}.qti-height-12{height:3rem}.qti-height-14{height:3.5rem}.qti-height-16{height:4rem}.qti-height-20{height:5rem}.qti-height-24{height:6rem}.qti-height-28{height:7rem}.qti-height-32{height:8rem}.qti-height-36{height:9rem}.qti-height-40{height:10rem}.qti-height-44{height:11rem}.qti-height-48{height:12rem}.qti-height-52{height:13rem}.qti-height-56{height:14rem}.qti-height-60{height:15rem}.qti-height-64{height:16rem}.qti-height-72{height:18rem}.qti-height-80{height:20rem}.qti-height-96{height:24rem}.qti-height-1-2{height:50%}.qti-height-1-3{height:33.3333%}.qti-height-2-3{height:66.6667%}.qti-height-1-4{height:25%}.qti-height-2-4{height:50%}.qti-height-3-4{height:75%}.qti-height-1-5{height:20%}.qti-height-2-5{height:40%}.qti-height-3-5{height:60%}.qti-height-4-5{height:80%}.qti-height-1-6{height:16.6667%}.qti-height-2-6{height:33.3333%}.qti-height-3-6{height:50%}.qti-height-4-6{height:66.6667%}.qti-height-5-6{height:83.3333%}.qti-height-auto{height:auto}.qti-height-full{height:100%}.qti-width-0{width:0}.qti-width-px{width:1px}.qti-width-0p5{width:.125rem}.qti-width-1{width:.25rem}.qti-width-1p5{width:.375rem}.qti-width-2{width:.5rem}.qti-width-2p5{width:.625rem}.qti-width-3{width:.75rem}.qti-width-3p5{width:.875rem}.qti-width-4{width:1rem}.qti-width-5{width:1.25rem}.qti-width-6{width:1.5rem}.qti-width-7{width:1.75rem}.qti-width-8{width:2rem}.qti-width-9{width:2.25rem}.qti-width-10{width:2.5rem}.qti-width-11{width:2.75rem}.qti-width-12{width:3rem}.qti-width-14{width:3.5rem}.qti-width-16{width:4rem}.qti-width-20{width:5rem}.qti-width-24{width:6rem}.qti-width-28{width:7rem}.qti-width-32{width:8rem}.qti-width-36{width:9rem}.qti-width-40{width:10rem}.qti-width-44{width:11rem}.qti-width-48{width:12rem}.qti-width-52{width:13rem}.qti-width-56{width:14rem}.qti-width-60{width:15rem}.qti-width-64{width:16rem}.qti-width-72{width:18rem}.qti-width-80{width:20rem}.qti-width-96{width:24rem}.qti-width-auto{width:auto}.qti-width-1-2{width:50%}.qti-width-1-3{width:33.3333%}.qti-width-2-3{width:66.6667%}.qti-width-1-4{width:25%}.qti-width-2-4{width:50%}.qti-width-3-4{width:75%}.qti-width-1-5{width:20%}.qti-width-2-5{width:40%}.qti-width-3-5{width:60%}.qti-width-4-5{width:80%}.qti-width-1-6{width:16.6667%}.qti-width-2-6{width:33.3333%}.qti-width-3-6{width:50%}.qti-width-4-6{width:66.6667%}.qti-width-5-6{width:83.3333%}.qti-width-1-12{width:8.3333%}.qti-width-2-12{width:16.6667%}.qti-width-3-12{width:25%}.qti-width-4-12{width:33.3333%}.qti-width-5-12{width:41.6667%}.qti-width-6-12{width:50%}.qti-width-7-12{width:58.3333%}.qti-width-8-12{width:66.6667%}.qti-width-9-12{width:75%}.qti-width-10-12{width:83.3333%}.qti-width-11-12{width:91.6667%}.qti-width-full,.qti-fullwidth{width:100%}.qti-text-indent-0{text-indent:0}.qti-text-indent-px{text-indent:1px}.qti-text-indent-0p5{text-indent:.125rem}.qti-text-indent-1{text-indent:.25rem}.qti-text-indent-1p5{text-indent:.375rem}.qti-text-indent-2{text-indent:.5rem}.qti-text-indent-2p5{text-indent:.625rem}.qti-text-indent-3{text-indent:.75rem}.qti-text-indent-3p5{text-indent:.875rem}.qti-text-indent-4{text-indent:1rem}.qti-text-indent-5{text-indent:1.25rem}.qti-text-indent-6{text-indent:1.5rem}.qti-text-indent-7{text-indent:1.75rem}.qti-text-indent-8{text-indent:2rem}.qti-text-indent-12{text-indent:3rem}.qti-text-indent-16{text-indent:4rem}.qti-text-indent-20{text-indent:5rem}.qti-text-indent-24{text-indent:6rem}.qti-text-indent-28{text-indent:7rem}.qti-text-indent-32{text-indent:8rem}.qti-list-style-type-none{list-style-type:none}.qti-list-style-type-disc{list-style-type:disc}.qti-list-style-type-circle{list-style-type:circle}.qti-list-style-type-square{list-style-type:square}.qti-list-style-type-decimal{list-style-type:decimal}.qti-list-style-type-decimal-leading-zero{list-style-type:decimal-leading-zero}.qti-list-style-type-lower-alpha{list-style-type:lower-alpha}.qti-list-style-type-upper-alpha{list-style-type:upper-alpha}.qti-list-style-type-lower-roman{list-style-type:lower-roman}.qti-list-style-type-upper-roman{list-style-type:upper-roman}.qti-list-style-type-lower-latin{list-style-type:lower-latin}.qti-list-style-type-upper-latin{list-style-type:upper-latin}.qti-list-style-type-lower-greek{list-style-type:lower-greek}.qti-list-style-type-arabic-indic{list-style-type:arabic-indic}.qti-list-style-type-armenian{list-style-type:armenian}.qti-list-style-type-lower-armenian{list-style-type:lower-armenian}.qti-list-style-type-upper-armenian{list-style-type:upper-armenian}.qti-list-style-type-bengali{list-style-type:bengali}.qti-list-style-type-cambodian{list-style-type:cambodian}.qti-list-style-type-simp-chinese-formal{list-style-type:simp-chinese-formal}.qti-list-style-type-simp-chinese-informal{list-style-type:simp-chinese-informal}.qti-list-style-type-trad-chinese-formal{list-style-type:trad-chinese-formal}.qti-list-style-type-trad-chinese-informal{list-style-type:trad-chinese-informal}.qti-list-style-type-cjk-ideographic{list-style-type:cjk-ideographic}.qti-list-style-type-cjk-heavenly-stem{list-style-type:cjk-heavenly-stem}.qti-list-style-type-cjk-earthly-branch{list-style-type:cjk-earthly-branch}.qti-list-style-type-devanagari{list-style-type:devanagari}.qti-list-style-type-ethiopic-halehame-ti-er{list-style-type:ethiopic-halehame-ti-er}.qti-list-style-type-ethiopic-halehame-ti-et{list-style-type:ethiopic-halehame-ti-et}.qti-list-style-type-ethiopic-halehame-am{list-style-type:ethiopic-halehame-am}.qti-list-style-type-ethiopic-halehame{list-style-type:ethiopic-halehame}.qti-list-style-type-georgian{list-style-type:georgian}.qti-list-style-type-gujarati{list-style-type:gujarati}.qti-list-style-type-gurmukhi{list-style-type:gurmukhi}.qti-list-style-type-hangul{list-style-type:hangul}.qti-list-style-type-hangul-consonant{list-style-type:hangul-consonant}.qti-list-style-type-hebrew{list-style-type:hebrew}.qti-list-style-type-hiragana{list-style-type:hiragana}.qti-list-style-type-hiragana-iroha{list-style-type:hiragana-iroha}.qti-list-style-type-khmer{list-style-type:khmer}.qti-list-style-type-korean-hangul-formal{list-style-type:korean-hangul-formal}.qti-list-style-type-korean-hanja-formal{list-style-type:korean-hanja-formal}.qti-list-style-type-korean-hanja-informal{list-style-type:korean-hanja-informal}.qti-list-style-type-lao{list-style-type:lao}.qti-list-style-type-malayalam{list-style-type:malayalam}.qti-list-style-type-mongolian{list-style-type:mongolian}.qti-list-style-type-myanmar{list-style-type:myanmar}.qti-list-style-type-oriya{list-style-type:oriya}.qti-list-style-type-persian{list-style-type:persian}.qti-list-style-type-thai{list-style-type:thai}.qti-list-style-type-tibetan{list-style-type:tibetan}.qti-list-style-type-telugu{list-style-type:telugu}.qti-list-style-type-urdu{list-style-type:urdu}.qti-bordered{border:1px solid var(--table-border-color)}.qti-underline{text-decoration:underline;text-decoration-color:var(--foreground)}.qti-italic{font-style:italic}.qti-well{min-height:20px;padding:19px;margin-bottom:20px;background-color:var(--well-bg);border:var(--well-border);border-radius:4px;box-shadow:var(--well-box-shadow)}.qti-writing-mode-vertical-rl{writing-mode:vertical-rl}.qti-writing-mode-vertical-lr{writing-mode:vertical-lr}.qti-writing-mode-horizontal-tb{writing-mode:horizontal-tb}.qti-float-left{float:left}.qti-float-right{float:right}.qti-float-none{float:none}.qti-float-clearfix:after{content:"";clear:both;display:table}.qti-float-clear-left .qti-float-clear-right .qti-float-clear-both .qti-text-orientation-upright{text-orientation:upright}@layer qti-base{.qti-layout-row{display:flex;flex-wrap:wrap;width:100%;gap:2.1276595745%}.qti-layout-row [class*=qti-layout-col]:not(:empty){box-sizing:border-box}.qti-layout-row [class*=qti-layout-col]:empty{width:0;overflow:hidden}.qti-layout-col1{width:6.3829787234%}.qti-layout-col2{width:14.8936170213%}.qti-layout-col3{width:23.4042553191%}.qti-layout-col4{width:31.914893617%}.qti-layout-col5{width:40.4255319149%}.qti-layout-col6{width:48.9361702128%}.qti-layout-col7{width:57.4468085106%}.qti-layout-col8{width:65.9574468085%}.qti-layout-col9{width:74.4680851064%}.qti-layout-col10{width:82.9787234043%}.qti-layout-col11{width:91.4893617021%}.qti-layout-col12{width:100%}.qti-layout-offset1{margin-left:8.5106382979%}.qti-layout-offset2{margin-left:17.0212765957%}.qti-layout-offset3{margin-left:25.5319148936%}.qti-layout-offset4{margin-left:34.0425531915%}.qti-layout-offset5{margin-left:42.5531914894%}.qti-layout-offset6{margin-left:51.0638297872%}.qti-layout-offset7{margin-left:59.5744680851%}.qti-layout-offset8{margin-left:68.085106383%}.qti-layout-offset9{margin-left:76.5957446809%}.qti-layout-offset10{margin-left:85.1063829787%}.qti-layout-offset11{margin-left:93.6170212766%}.qti-layout-offset12{margin-left:102.1276595745%}@media (width <= 767px){[class*=qti-layout-col]{width:100%}}}[view],qti-outcome-declaration,qti-response-declaration{display:none}[view].show{display:block}:host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}@layer qti-components{qti-choice-interaction{&.qti-input-control-hidden{& qti-simple-choice{&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&::part(ch){display:none}&:state(--checked),&[aria-checked=true]{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&:state(readonly),&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&:state(disabled),&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}border-radius:var(--qti-border-radius);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}}&:not(.qti-input-control-hidden){& qti-simple-choice{&:not([aria-disabled=true],[aria-readonly=true],:state(--checked)):hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&:state(--checked),&[aria-checked=true]{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&:state(readonly),&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&:state(disabled),&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}&::part(cha){width:calc(var(--qti-form-size) - 6px);height:calc(var(--qti-form-size) - 6px)}&:state(radio)::part(ch){border-radius:100%;display:grid;place-content:center;width:var(--qti-form-size);height:var(--qti-form-size);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&:state(radio):state(--checked)::part(cha){background-color:var(--qti-border-active);border-radius:100%}&:state(checkbox)::part(ch){display:flex;place-items:center;border-radius:var(--qti-border-radius);display:grid;place-content:center;width:var(--qti-form-size);height:var(--qti-form-size);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&:state(checkbox):state(--checked)::part(cha){background-color:var(--qti-border-active);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E")}gap:.5rem;border-radius:var(--qti-border-radius);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);outline:none;cursor:pointer}}& qti-simple-choice{width:-moz-fit-content;width:fit-content;cursor:pointer;&:state(correct-response),&[data-correct-response=true]{&:after{content:"\2714";color:#16a34a}}}& qti-simple-choice>p{margin:0!important;padding:0!important}}.hover-border{border:2px solid #000}qti-graphic-gap-match-interaction{position:relative;&.qti-selections-light{&:state(--dragzone-active)::part(drags){background-color:var(--qti-light-bg-active);border-color:var(--qti-light-border-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-light-bg-active)}}&.qti-selections-dark{&:state(--dragzone-active)::part(drags){background-color:var(--qti-dark-bg-active);border-color:var(--qti-dark-border-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-dark-bg-active)}}&:state(--dragzone-active)::part(drags){border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-bg-active)}& qti-gap-img,qti-gap-text{display:flex;justify-content:center;align-items:center;cursor:grab}& qti-associable-hotspot{display:flex;justify-content:center;align-items:center;border:2px solid transparent;&[enabled]{.qti-selections-light{background-color:var(--qti-light-bg-active)}.qti-selections-dark{background-color:var(--qti-dark-bg-active)}background-color:var(--qti-bg-active)}&[active]{.qti-selections-light{background-color:var(--qti-light-bg-active);border-color:var(--qti-light-border-active)}.qti-selections-dark{background-color:var(--qti-dark-bg-active);border-color:var(--qti-dark-border-active)}border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&[disabled]{&:not(:empty){cursor:default!important}cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}&:empty:after{padding:var(--qti-padding-md) var(--qti-padding-lg);content:"\a0"}&:not(:empty){padding:0;width:auto}&:not(:empty)>*{flex:1;transform:rotate(0);box-shadow:0 0 0 1px #e5e7eb}}& img{margin:0;padding:0}}qti-text-entry-interaction{&::part(input){border-radius:0;cursor:text;padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);background:unset;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&:hover{background-color:var(--qti-hover-bg)}&:focus-within{&::part(input){box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);border-color:var(--qti-border-active)}}}qti-extended-text-interaction{&::part(textarea){border-radius:0;cursor:text;padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);background:unset;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&:hover{background-color:var(--qti-hover-bg)}&:focus-within{&::part(textarea){box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);border-color:var(--qti-border-active)}}}qti-gap-match-interaction{&.qti-selections-light{&:state(--dragzone-active)::part(drags){background-color:var(--qti-light-bg-active);border-color:var(--qti-light-border-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-light-bg-active)}}&.qti-selections-dark{&:state(--dragzone-active)::part(drags){background-color:var(--qti-dark-bg-active);border-color:var(--qti-dark-border-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-dark-bg-active)}}&:state(--dragzone-active)::part(drags){border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-bg-active)}& qti-gap-text{&[dragging]{pointer-events:none;rotate:-2deg;box-shadow:0 8px 12px #0003,0 4px 8px #0000001a}&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}transition:transform .2s ease-out,box-shadow .2s ease-out,rotate .2s ease-out;cursor:grab;background-color:var(--qti-bg);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);border-radius:var(--qti-border-radius);padding-left:calc(var(--qti-padding-horizontal) + .5rem);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none;background-image:radial-gradient(circle at center,#0000001a 0,#0003 2px,#fff0 2px 100%);background-repeat:repeat-y;background-position:left center;background-size:14px 8px}& qti-gap{&[disabled]{&:not(:empty){cursor:default!important}cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}&[enabled]{.qti-selections-light{border-color:var(--qti-light-border-active)}.qti-selections-dark{border-color:var(--qti-dark-border-active)}background-color:var(--qti-bg-active)}&[active]{.qti-selections-light{background-color:var(--qti-light-bg-active);border-color:var(--qti-light-border-active)}.qti-selections-dark{background-color:var(--qti-dark-bg-active);border-color:var(--qti-dark-border-active)}border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}display:inline-flex;align-items:center;&:empty:after{padding:var(--qti-padding-md) var(--qti-padding-lg);content:"\a0"}&:not(:empty){display:inline-flex;padding:0;width:auto}&:not(:empty)>*{flex:1;transform:rotate(0);box-shadow:0 0 0 1px #e5e7eb}background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>') center no-repeat;border-radius:var(--qti-border-radius);position:relative;background-color:var(--qti-bg);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}}qti-hotspot-interaction{& qti-hotspot-choice{&[shape=circle]{&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&:state(--checked),&[aria-checked=true]{border-color:var(--qti-border-active)}&:state(--readonly),&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&:state(--disabled),&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}width:100%;height:100%;background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&[shape=rect]{&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&:state(--checked),&[aria-checked=true]{border-color:var(--qti-border-active)}&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}width:100%;height:100%;background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&[shape=poly]{&:hover:after{content:"";width:100%;height:100%;background:repeating-linear-gradient(45deg,var(--qti-border-active),var(--qti-border-active) 5px,transparent 5px,transparent 10px);display:block}&:state(--checked):after,&[aria-checked=true]:after{content:"";width:100%;height:100%;background:repeating-linear-gradient(45deg,transparent,transparent 5px,var(--qti-border-active) 5px,var(--qti-border-active) 10px);display:block}&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}}}}qti-hottext-interaction{qti-hottext{display:inline-flex;align-items:center;&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&::part(cha){width:calc(var(--qti-form-size) - 6px);height:calc(var(--qti-form-size) - 6px)}&:state(radio)::part(ch){border-radius:100%;display:grid;place-content:center;width:var(--qti-form-size);height:var(--qti-form-size);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&:state(radio):state(--checked)::part(cha){background-color:var(--qti-border-active);border-radius:100%}&:state(checkbox)::part(ch){display:flex;place-items:center;border-radius:var(--qti-border-radius);display:grid;place-content:center;width:var(--qti-form-size);height:var(--qti-form-size);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&:state(checkbox):state(--checked)::part(cha){background-color:var(--qti-border-active);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E")}gap:.5rem;border-radius:var(--qti-border-radius);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);outline:none;cursor:pointer}&.qti-input-control-hidden{qti-hottext{&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&::part(ch){display:none}&:state(--checked){border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}border-radius:var(--qti-border-radius);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}}&.qti-unselected-hidden{qti-hottext{&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}cursor:pointer;&::part(ch){display:none}&:state(--checked){background-color:var(--qti-bg-active)}&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}}}}qti-inline-choice-interaction{&::part(select){&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}border-radius:var(--qti-border-radius);position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);padding-right:calc(var(--qti-padding-horizontal) + 1.5rem);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none;background:url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E") no-repeat center right 6px}}qti-match-interaction:not(.qti-match-tabular){&:state(--dragzone-enabled) qti-simple-match-set:first-of-type{background-color:var(--qti-bg-active)}&:state(--dragzone-active) qti-simple-match-set:first-of-type{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}& qti-simple-match-set:first-of-type{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--qti-gap-size);border:2px solid transparent;& qti-simple-associable-choice{&[dragging]{pointer-events:none;rotate:-2deg;box-shadow:0 8px 12px #0003,0 4px 8px #0000001a}&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}transition:transform .2s ease-out,box-shadow .2s ease-out,rotate .2s ease-out;cursor:grab;background-color:var(--qti-bg);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);border-radius:var(--qti-border-radius);padding-left:calc(var(--qti-padding-horizontal) + .5rem);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none;background-image:radial-gradient(circle at center,#0000001a 0,#0003 2px,#fff0 2px 100%);background-repeat:repeat-y;background-position:left center;background-size:14px 8px}}& qti-simple-match-set:last-of-type{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--qti-gap-size);width:100%;& qti-simple-associable-choice{display:flex;flex-direction:column}>qti-simple-associable-choice{box-sizing:border-box;display:grid;grid-row:2 / 4;grid-template-rows:subgrid;& img{max-width:100%;height:auto}&[enabled]{&::part(dropslot){background-color:var(--qti-bg-active)}}&[disabled]{&::part(dropslot){cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}}&[active]{&::part(dropslot){border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}}&::part(dropslot){&[dragging]{pointer-events:none;rotate:-2deg;box-shadow:0 8px 12px #0003,0 4px 8px #0000001a}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}min-height:6rem;gap:var(--qti-gap-size);box-sizing:border-box;display:flex;justify-content:center;align-items:center;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>') center no-repeat;border-radius:var(--qti-border-radius);position:relative;background-color:var(--qti-bg);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}>*:not(qti-simple-associable-choice){pointer-events:none}>qti-simple-associable-choice{&::part(dropslot){display:none}&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}flex-basis:fit-content;transition:transform .2s ease-out,box-shadow .2s ease-out,rotate .2s ease-out;cursor:grab;background-color:var(--qti-bg);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);border-radius:var(--qti-border-radius);padding-left:calc(var(--qti-padding-horizontal) + .5rem);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none;background-image:radial-gradient(circle at center,#0000001a 0,#0003 2px,#fff0 2px 100%);background-repeat:repeat-y;background-position:left center;background-size:14px 8px}}}}qti-order-interaction:state(--dragzone-active)::part(drags){border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}qti-order-interaction:state(--dragzone-enabled)::part(drags){background-color:var(--qti-bg-active)}qti-order-interaction{&::part(qti-simple-choice),qti-simple-choice{&[dragging]{pointer-events:none;rotate:-2deg;box-shadow:0 8px 12px #0003,0 4px 8px #0000001a}&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}transition:transform .2s ease-out,box-shadow .2s ease-out,rotate .2s ease-out;cursor:grab;background-color:var(--qti-bg);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);border-radius:var(--qti-border-radius);padding-left:calc(var(--qti-padding-horizontal) + .5rem);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none;background-image:radial-gradient(circle at center,#0000001a 0,#0003 2px,#fff0 2px 100%);background-repeat:repeat-y;background-position:left center;background-size:14px 8px}&::part(qti-simple-choice){display:flex;overflow:hidden;align-items:center;width:100%;text-overflow:ellipsis}&::part(drops){gap:.5rem}&::part(drags){gap:.5rem}&::part(drop-list){&[enabled]{.qti-selections-light{border-color:var(--qti-light-border-active)}.qti-selections-dark{border-color:var(--qti-dark-border-active)}background-color:var(--qti-bg-active)}&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}display:flex;min-height:4rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>') center no-repeat;border-radius:var(--qti-border-radius);position:relative;background-color:var(--qti-bg);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&::part(active){border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}& drop-list{&[shape=circle]{&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&[aria-checked=true]{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}width:100%;height:100%;background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&[shape=square]{&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&[aria-checked=true]{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}width:100%;height:100%;background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}}}qti-associate-interaction{&:state(--dragzone-active) slot[name=qti-simple-associable-choice]{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&:state(--dragzone-enabled) slot[name=qti-simple-associable-choice]{background-color:var(--qti-bg-active)}& qti-simple-associable-choice,&::part(qti-simple-associable-choice){&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&[dragging]{pointer-events:none;rotate:-2deg;box-shadow:0 8px 12px #0003,0 4px 8px #0000001a}transition:transform .2s ease-out,box-shadow .2s ease-out,rotate .2s ease-out;cursor:grab;background-color:var(--qti-bg);padding:var(--qti-padding-vertical) var(--qti-padding-horizontal);border-radius:var(--qti-border-radius);padding-left:calc(var(--qti-padding-horizontal) + .5rem);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none;background-image:radial-gradient(circle at center,#0000001a 0,#0003 2px,#fff0 2px 100%);background-repeat:repeat-y;background-position:left center;background-size:14px 8px}&::part(drop-list){display:grid;height:3rem;min-width:10rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>') center no-repeat;border-radius:var(--qti-border-radius);position:relative;background-color:var(--qti-bg);border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&::part(drop-list):focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&::part(drop-list) [dragging]{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}}qti-graphic-order-interaction{& qti-hotspot-choice{&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&:state(--checked),&[aria-checked=true]{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}&[aria-ordervalue]{display:grid;place-content:center}&[aria-ordervalue]:after{content:attr(aria-ordervalue)!important}width:100%;height:100%;background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&.qti-selections-light{&:state(--dragzone-active)::part(drags){background-color:var(--qti-light-bg-active);border-color:var(--qti-light-border-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-light-bg-active)}}&.qti-selections-dark{&:state(--dragzone-active)::part(drags){background-color:var(--qti-dark-bg-active);border-color:var(--qti-dark-border-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-dark-bg-active)}}&:state(--dragzone-active)::part(drags){border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-bg-active)}}qti-graphic-associate-interaction{position:relative;display:block;& qti-associable-hotspot{&[shape=circle]{&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&[aria-checked=true]{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}width:100%;height:100%;background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}&[shape=square]{&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}&[aria-checked=true]{border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&[aria-readonly=true]{cursor:pointer;background-color:var(--qti-bg);outline:0;border:none}&[aria-disabled=true]{cursor:not-allowed;background-color:var(--qti-disabled-bg);color:var(--qti-disabled-color);border-color:var(--qti-border-color);outline:4px solid var(--qti-disabled-bg)}width:100%;height:100%;background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}}&.qti-selections-light{&:state(--dragzone-active)::part(drags){background-color:var(--qti-light-bg-active);border-color:var(--qti-light-border-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-light-bg-active)}}&.qti-selections-dark{&:state(--dragzone-active)::part(drags){background-color:var(--qti-dark-bg-active);border-color:var(--qti-dark-border-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-dark-bg-active)}}&:state(--dragzone-active)::part(drags){border-color:var(--qti-border-active);background-color:var(--qti-bg-active)}&:state(--dragzone-enabled)::part(drags){background-color:var(--qti-bg-active)}}qti-slider-interaction{--qti-tick-color: rgb(229 231 235 / 100%);--qti-tick-width: 1px}qti-select-point-interaction{&::part(point){&:hover{background-color:var(--qti-hover-bg)}&:focus{box-shadow:0 0 0 var(--qti-focus-border-width) var(--qti-focus-color)}border-radius:100%;width:var(--qti-point-size);height:var(--qti-point-size);background-color:transparent;padding:0;border:var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);outline:none}}qti-prompt{margin:.5rem 0;display:block;width:100%}}
|