@citolab/qti-components 7.0.4 → 7.0.6-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/cdn/chunk-22HAPLRD.js +0 -0
  2. package/cdn/chunk-4DFVJE2A.js +48 -0
  3. package/cdn/chunk-4I75QSIL.js +8 -0
  4. package/cdn/chunk-5WCOPF7O.js +73 -0
  5. package/cdn/chunk-A536ZOJJ.js +43 -0
  6. package/cdn/chunk-BLKKKK6C.js +11 -0
  7. package/cdn/chunk-DC2R556M.js +5 -0
  8. package/cdn/chunk-GALSGMIP.js +5 -0
  9. package/cdn/chunk-IXSX4SJX.js +1 -0
  10. package/cdn/chunk-KYOTSBCX.js +1 -0
  11. package/cdn/chunk-L4TDHAKL.js +24 -0
  12. package/cdn/chunk-LVW3MHTI.js +23 -0
  13. package/cdn/chunk-M6AATWPS.js +59 -0
  14. package/cdn/chunk-MFWSHIPH.js +17 -0
  15. package/cdn/chunk-QGKK4T2J.js +8 -0
  16. package/cdn/chunk-ROXN2HIJ.js +8 -0
  17. package/cdn/chunk-SQDSHH6N.js +3539 -0
  18. package/cdn/chunk-T4A5AZCI.js +939 -0
  19. package/cdn/chunk-VI2WKTN4.js +1 -0
  20. package/cdn/index.global.js +36 -36
  21. package/cdn/index.js +1 -4783
  22. package/cdn/qti-components/index.global.js +226 -0
  23. package/cdn/qti-components/index.js +1 -0
  24. package/cdn/qti-item/core/index.global.js +149 -0
  25. package/cdn/qti-item/core/index.js +1 -0
  26. package/cdn/qti-loader/index.global.js +1 -0
  27. package/cdn/qti-loader/index.js +1 -0
  28. package/cdn/qti-test/components/index.global.js +207 -0
  29. package/cdn/qti-test/components/index.js +1 -0
  30. package/cdn/qti-test/components/styles.global.js +44 -0
  31. package/cdn/qti-test/components/styles.js +1 -0
  32. package/cdn/qti-test/components/test-component.abstract.global.js +170 -0
  33. package/cdn/qti-test/components/test-component.abstract.js +1 -0
  34. package/cdn/qti-test/components/test-item-link.global.js +170 -0
  35. package/cdn/qti-test/components/test-item-link.js +1 -0
  36. package/cdn/qti-test/components/test-next.global.js +170 -0
  37. package/cdn/qti-test/components/test-next.js +1 -0
  38. package/cdn/qti-test/components/test-next.spec.css +1 -0
  39. package/cdn/qti-test/components/test-next.spec.global.js +64 -0
  40. package/cdn/qti-test/components/test-next.spec.js +713 -0
  41. package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +207 -0
  42. package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -0
  43. package/cdn/qti-test/components/test-prev.global.js +170 -0
  44. package/cdn/qti-test/components/test-prev.js +1 -0
  45. package/cdn/qti-test/components/test-view.global.js +170 -0
  46. package/cdn/qti-test/components/test-view.js +1 -0
  47. package/cdn/qti-test/core/index.global.js +205 -0
  48. package/cdn/qti-test/core/index.js +1 -0
  49. package/cdn/qti-transformers/index.global.js +1 -0
  50. package/cdn/qti-transformers/index.js +1 -0
  51. package/dist/chunk-2CHF3TMY.js +3529 -0
  52. package/dist/chunk-2CHF3TMY.js.map +1 -0
  53. package/dist/{transformers/index.js → chunk-2OA7E3E7.js} +2 -1
  54. package/dist/chunk-2OA7E3E7.js.map +1 -0
  55. package/dist/chunk-3TFUBCJW.js +72 -0
  56. package/dist/chunk-3TFUBCJW.js.map +1 -0
  57. package/dist/chunk-44VE5POH.js +55 -0
  58. package/dist/chunk-44VE5POH.js.map +1 -0
  59. package/dist/chunk-4FH7P7YI.js +43 -0
  60. package/dist/chunk-4FH7P7YI.js.map +1 -0
  61. package/dist/chunk-4YG2FPKK.js +31 -0
  62. package/dist/chunk-4YG2FPKK.js.map +1 -0
  63. package/dist/chunk-6SG3NMKU.js +50 -0
  64. package/dist/chunk-6SG3NMKU.js.map +1 -0
  65. package/dist/chunk-ANLIJZBL.js +118 -0
  66. package/dist/chunk-ANLIJZBL.js.map +1 -0
  67. package/dist/chunk-CNQYM52B.js +569 -0
  68. package/dist/chunk-CNQYM52B.js.map +1 -0
  69. package/dist/chunk-F3NTI6TX.js +10 -0
  70. package/dist/chunk-F3NTI6TX.js.map +1 -0
  71. package/dist/chunk-F7HTXGGH.js +78 -0
  72. package/dist/chunk-F7HTXGGH.js.map +1 -0
  73. package/dist/chunk-MAC76UNI.js +1 -0
  74. package/dist/chunk-MAC76UNI.js.map +1 -0
  75. package/dist/chunk-OO6JSYLP.js +50 -0
  76. package/dist/chunk-OO6JSYLP.js.map +1 -0
  77. package/dist/chunk-QYN5S4EM.js +107 -0
  78. package/dist/chunk-QYN5S4EM.js.map +1 -0
  79. package/dist/chunk-UB5K44DB.js +30 -0
  80. package/dist/chunk-UB5K44DB.js.map +1 -0
  81. package/dist/chunk-UBZPSVSE.js +6301 -0
  82. package/dist/chunk-UBZPSVSE.js.map +1 -0
  83. package/dist/index.d.ts +13 -503
  84. package/dist/index.js +132 -13584
  85. package/dist/index.js.map +1 -1
  86. package/dist/item.css +10 -10
  87. package/dist/qti-components/index.d.ts +150 -0
  88. package/dist/qti-components/index.js +188 -0
  89. package/dist/qti-components/index.js.map +1 -0
  90. package/dist/qti-components-jsx.d.ts +147 -201
  91. package/dist/qti-item/core/index.d.ts +61 -0
  92. package/dist/qti-item/core/index.js +13 -0
  93. package/dist/qti-item/core/index.js.map +1 -0
  94. package/dist/{loader → qti-loader}/index.d.ts +1 -1
  95. package/dist/qti-loader/index.js +29 -0
  96. package/dist/qti-loader/index.js.map +1 -0
  97. package/dist/{qti-simple-choice-D0GiMrqD.d.ts → qti-simple-choice-DxWcdKHi.d.ts} +30 -40
  98. package/dist/qti-test/components/index.d.ts +11 -0
  99. package/dist/qti-test/components/index.js +32 -0
  100. package/dist/qti-test/components/index.js.map +1 -0
  101. package/dist/qti-test/components/styles.d.ts +8 -0
  102. package/dist/qti-test/components/styles.js +14 -0
  103. package/dist/qti-test/components/styles.js.map +1 -0
  104. package/dist/qti-test/components/test-component.abstract.d.ts +22 -0
  105. package/dist/qti-test/components/test-component.abstract.js +10 -0
  106. package/dist/qti-test/components/test-component.abstract.js.map +1 -0
  107. package/dist/qti-test/components/test-item-link.d.ts +20 -0
  108. package/dist/qti-test/components/test-item-link.js +12 -0
  109. package/dist/qti-test/components/test-item-link.js.map +1 -0
  110. package/dist/qti-test/components/test-next.d.ts +31 -0
  111. package/dist/qti-test/components/test-next.js +12 -0
  112. package/dist/qti-test/components/test-next.js.map +1 -0
  113. package/dist/qti-test/components/test-next.spec.css +2481 -0
  114. package/dist/qti-test/components/test-next.spec.css.map +1 -0
  115. package/dist/qti-test/components/test-next.spec.d.ts +13 -0
  116. package/dist/qti-test/components/test-next.spec.js +45904 -0
  117. package/dist/qti-test/components/test-next.spec.js.map +1 -0
  118. package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +21 -0
  119. package/dist/qti-test/components/test-paging-buttons-stamp.js +11 -0
  120. package/dist/qti-test/components/test-paging-buttons-stamp.js.map +1 -0
  121. package/dist/qti-test/components/test-prev.d.ts +31 -0
  122. package/dist/qti-test/components/test-prev.js +12 -0
  123. package/dist/qti-test/components/test-prev.js.map +1 -0
  124. package/dist/qti-test/components/test-view.d.ts +26 -0
  125. package/dist/qti-test/components/test-view.js +11 -0
  126. package/dist/qti-test/components/test-view.js.map +1 -0
  127. package/dist/qti-test/core/index.d.ts +121 -0
  128. package/dist/qti-test/core/index.js +27 -0
  129. package/dist/qti-test/core/index.js.map +1 -0
  130. package/dist/qti-transformers/index.js +12 -0
  131. package/dist/qti-transformers/index.js.map +1 -0
  132. package/dist/test.context-DbSTxKk_.d.ts +99 -0
  133. package/dist/vscode.html-custom-data.json +53 -42
  134. package/package.json +100 -111
  135. package/dist/custom-element-eslint-rules.js +0 -329
  136. package/dist/custom-elements.json +0 -27271
  137. package/dist/loader/index.js +0 -310
  138. package/dist/loader/index.js.map +0 -1
  139. package/dist/qti-simple-choice-CfgBEvdI.d.ts +0 -1143
  140. package/dist/qti-simple-choice-UTrFa_RQ.d.ts +0 -1177
  141. package/dist/qti-simple-choice-zEsDq3c0.d.ts +0 -1147
  142. package/dist/transformers/index.js.map +0 -1
  143. /package/dist/{transformers → qti-transformers}/index.d.ts +0 -0
@@ -0,0 +1,207 @@
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,a,o){try{var u=t[a](o);var s=u.value}catch(t){n(t);return}if(u.done){e(s)}else{Promise.resolve(s).then(r,i)}}function a(t){return function(){var e=this,n=arguments;return new Promise(function(r,a){var o=t.apply(e,n);function u(t){i(o,r,a,u,s,"next",t)}function s(t){i(o,r,a,u,s,"throw",t)}u(undefined)})}}function o(t,e,n){e=d(e);return O(t,U()?Reflect.construct(e,n||[],d(t).constructor):e.apply(t,n))}function u(t,e){if(!(t instanceof e)){throw new TypeError("Cannot call a class as a function")}}function s(t,e,n){if(U()){s=Reflect.construct}else{s=function t(t,e,n){var r=[null];r.push.apply(r,e);var i=Function.bind.apply(t,r);var a=new i;if(n)A(a,n.prototype);return a}}return s.apply(null,arguments)}function l(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 c(t,e,n){if(e)l(t.prototype,e);if(n)l(t,n);return t}function h(t,e,n){if(e in t){Object.defineProperty(t,e,{value:n,enumerable:true,configurable:true,writable:true})}else{t[e]=n}return t}function v(t,e,n){if(typeof Reflect!=="undefined"&&Reflect.get){v=Reflect.get}else{v=function t(t,e,n){var r=x(t,e);if(!r)return;var i=Object.getOwnPropertyDescriptor(r,e);if(i.get){return i.get.call(n||t)}return i.value}}return v(t,e,n||t)}function d(t){d=Object.setPrototypeOf?Object.getPrototypeOf:function t(t){return t.__proto__||Object.getPrototypeOf(t)};return d(t)}function f(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)A(t,e)}function p(t,e){if(e!=null&&typeof Symbol!=="undefined"&&e[Symbol.hasInstance]){return!!e[Symbol.hasInstance](t)}else{return t instanceof e}}function _(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function y(t){if(typeof Symbol!=="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function m(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 a=false;var o,u;try{for(n=n.call(t);!(i=(o=n.next()).done);i=true){r.push(o.value);if(e&&r.length===e)break}}catch(t){a=true;u=t}finally{try{if(!i&&n["return"]!=null)n["return"]()}finally{if(a)throw u}}return r}function b(){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 g(){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 k(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};var r=Object.keys(n);if(typeof Object.getOwnPropertySymbols==="function"){r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))}r.forEach(function(e){h(t,e,n[e])})}return t}function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);if(e){r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})}n.push.apply(n,r)}return n}function w(t,e){e=e!=null?e:{};if(Object.getOwnPropertyDescriptors){Object.defineProperties(t,Object.getOwnPropertyDescriptors(e))}else{E(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function O(t,e){if(e&&(R(e)==="object"||typeof e==="function")){return e}return r(t)}function A(t,e){A=Object.setPrototypeOf||function t(t,e){t.__proto__=e;return t};return A(t,e)}function $(t,n){return e(t)||m(t,n)||I(t,n)||b()}function x(t,e){while(!Object.prototype.hasOwnProperty.call(t,e)){t=d(t);if(t===null)break}return t}function S(t,e){if(!e){e=t.slice(0)}return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function P(t){return n(t)||y(t)||I(t)||g()}function R(t){"@swc/helpers - typeof";return t&&typeof Symbol!=="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I(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 C(t){var e=typeof Map==="function"?new Map:undefined;C=function t(t){if(t===null||!_(t))return t;if(typeof t!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof e!=="undefined"){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return s(t,arguments,d(this).constructor)}n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:false,writable:true,configurable:true}});return A(n,t)};return C(t)}function U(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(U=function(){return!!t})()}function T(t,e){var n,r,i,a,o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),"throw":u(1),"return":u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return s([t,e])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(o)try{if(n=1,r&&(i=a[0]&2?r["return"]:a[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;if(r=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:o.label++;return{value:a[1],done:false};case 5:o.label++;r=a[1];a=[0];continue;case 7:a=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1];i=a;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(a);break}if(i[2])o.ops.pop();o.trys.pop();continue}a=e.call(t,o)}catch(t){a=[6,t];r=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}}function N(){var t=S(["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n padding: 0.5rem 1rem;\n border-radius: 0.25rem;\n user-select: none;\n"]);N=function e(){return t};return t}function M(){var t=S(["\n background-color: lightgray;\n ",";\n"]);M=function e(){return t};return t}function D(){var t=S(["\n cursor: not-allowed;\n opacity: 0.5;\n"]);D=function e(){return t};return t}function j(){var t=S(["\n ",";\n border: 1px solid gray;\n"]);j=function e(){return t};return t}function L(){var t=S(["<slot></slot>"]);L=function e(){return t};return t}function V(){var t=S(["\n :host {\n ",";\n }\n :host([disabled]) {\n ",";\n }\n "]);V=function e(){return t};return t}function H(){var t=S(["<slot></slot>"]);H=function e(){return t};return t}function z(){var t=S(["\n :host {\n ",";\n }\n :host([disabled]) {\n ",";\n }\n "]);z=function e(){return t};return t}function G(){var t=S(['<option value="','" ?selected=',">","</option>"]);G=function e(){return t};return t}function F(){var t=S(['\n <label part="label" for="viewSelect">','</label>\n <select\n part="select"\n id="viewSelect"\n .disabled=',"\n @change=","\n >\n ","\n </select>\n "]);F=function e(){return t};return t}function W(){var t=S([" <slot></slot> "]);W=function e(){return t};return t}function B(){var t=S(["\n :host {\n ",";\n }\n :host([disabled]) {\n ",";\n }\n "]);B=function e(){return t};return t}function q(){var t=S(["\n ","\n "]);q=function e(){return t};return t}var QtiComponents=function(){var t=function t(t){var e=t.context,n=t.subscribe;return function(t,r){(typeof r==="undefined"?"undefined":R(r))=="object"?r.addInitializer(function(){var r=this;new K(this,{context:e,callback:function(e){t.set.call(r,e)},subscribe:n})}):t.constructor.addInitializer(function(t){new K(t,{context:e,callback:function(e){t[r]=e},subscribe:n})})}};var e=function t(t,e){if(!tG(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return tN!==void 0?tN.createHTML(e):e};var n=function t(t){return function(e,n){return(typeof n==="undefined"?"undefined":R(n))=="object"?e_(t,e,n):function(t,e,n){var r=e.hasOwnProperty(n);return e.constructor.createProperty(n,r?w(k({},t),{wrapped:!0}):t),r?Object.getOwnPropertyDescriptor(e,n):void 0}(t,e,n)}};var r=function t(t){return n(w(k({},t),{state:!0,attribute:!1}))};var i=function t(t,e){var n=k({waitUntilFirstUpdate:!1},e);return function(e,r){var i=e.update,a=Array.isArray(t)?t:[t];e.update=function(t){var e=this;a.forEach(function(i){var a=i;if(t.has(a)){var o=t.get(a),u=e[a];o!==u&&(!n.waitUntilFirstUpdate||e.hasUpdated)&&e[r](o,u)}}),i.call(this,t)}}};var s=function t(t){return function(e,r){n(t)(e,r);var i="__".concat(r);Object.defineProperty(e,r,{get:function t(){return this[i]},set:function e(e){var n=this[i];if(this[i]=e,n!==e){var a;if((a=this._internals)===null||a===void 0?void 0:a.states){var o=r.toLowerCase();e?this._internals.states.add("--".concat(o)):this._internals.states.delete("--".concat(o))}if(t.aria&&this._internals){var u=t.aria;e?this._internals[u]="true":this._internals[u]=null}this.requestUpdate(r,n)}},configurable:!0,enumerable:!0})}};var l,h;var _=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var g=function(t,e,n){return e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n};var E=function(t,e){for(var n in e)_(t,n,{get:e[n],enumerable:!0})},O=function(t,e,n,r){var i=true,a=false,o=undefined;if(e&&(typeof e==="undefined"?"undefined":R(e))=="object"||typeof e=="function")try{var u=function(){var i=l.value;!b.call(t,i)&&i!==n&&_(t,i,{get:function(){return e[i]},enumerable:!(r=y(e,i))||r.enumerable})};for(var s=m(e)[Symbol.iterator](),l;!(i=(l=s.next()).done);i=true)u()}catch(t){a=true;o=t}finally{try{if(!i&&s.return!=null){s.return()}}finally{if(a){throw o}}}return t};var A=function(t){return O(_({},"__esModule",{value:!0}),t)},x=function(t,e,n,r){for(var i=r>1?void 0:r?y(e,n):e,a=t.length-1,o;a>=0;a--)(o=t[a])&&(i=(r?o(e,n,i):o(i))||i);return r&&i&&_(e,n,i),i};var S=function(t,e,n){return g(t,(typeof e==="undefined"?"undefined":R(e))!="symbol"?e+"":e,n)};var I={};E(I,{TestComponent:function(){return eb},TestItemLink:function(){return ex},TestNext:function(){return eO},TestPagingButtonsStamp:function(){return nl},TestPrev:function(){return eA},TestView:function(){return e$}});var U=/*#__PURE__*/function(t){"use strict";f(e,t);function e(t,n,r){u(this,e);var i;i=o(this,e,["context-request",{bubbles:!0,composed:!0}]),i.context=t,i.callback=n,i.subscribe=r!==null&&r!==void 0?r:!1;return i}return e}(C(Event));var K=/*#__PURE__*/function(){"use strict";function t(e,n,r,i){var a=this;u(this,t);if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=function(t,e){a.unsubscribe&&(a.unsubscribe!==e&&(a.provided=!1,a.unsubscribe()),a.subscribe||a.unsubscribe()),a.value=t,a.host.requestUpdate(),a.provided&&!a.subscribe||(a.provided=!0,a.callback&&a.callback(t,e)),a.unsubscribe=e},this.host=e,n.context!==void 0){var o=n;var s;this.context=o.context,this.callback=o.callback,this.subscribe=(s=o.subscribe)!==null&&s!==void 0?s:!1}else this.context=n,this.callback=r,this.subscribe=i!==null&&i!==void 0?i:!1;this.host.addController(this)}c(t,[{key:"hostConnected",value:function t(){this.dispatchRequest()}},{key:"hostDisconnected",value:function t(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}},{key:"dispatchRequest",value:function t(){this.host.dispatchEvent(new U(this.context,this.t,this.subscribe))}}]);return t}();var Y=/*#__PURE__*/function(){"use strict";function t(e){u(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}c(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 J=new WeakMap,X=function(t){var e=J.get(t);return e===void 0&&J.set(t,e=new Map),e},Z=/*#__PURE__*/function(){"use strict";function t(){u(this,t);this.__shadowRootMode=null,this.__shadowRoot=null,this.__internals=null}c(t,[{key:"attributes",get:function t(){return Array.from(X(this)).map(function(t){var e=$(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){X(this).set(t,String(e))}},{key:"removeAttribute",value:function t(t){X(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 X(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 Y(this);return this.__internals=t,t}},{key:"getAttribute",value:function t(t){var e;return(e=X(this).get(t))!==null&&e!==void 0?e:null}}]);return t}();var Q=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);return o(this,e,arguments)}return e}(Z),tt=Q;var te=/*#__PURE__*/function(){"use strict";function t(){u(this,t);this.__definitions=new Map}c(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}(),tn=te;var tr=new tn;var ti=globalThis,ta=ti.ShadowRoot&&(ti.ShadyCSS===void 0||ti.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,to=Symbol(),tu=new WeakMap,ts=/*#__PURE__*/function(){"use strict";function t(e,n,r){u(this,t);if(this._$cssResult$=!0,r!==to)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}c(t,[{key:"styleSheet",get:function t(){var t=this.o,e=this.t;if(ta&&t===void 0){var n=e!==void 0&&e.length===1;n&&(t=tu.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&tu.set(e,t))}return t}},{key:"toString",value:function t(){return this.cssText}}]);return t}(),tl=function(t){return new ts(typeof t=="string"?t:t+"",void 0,to)},tc=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++){n[r-1]=arguments[r]}var i=t.length===1?t[0]:n.reduce(function(e,n,r){return e+function(t){if(t._$cssResult$===!0)return t.cssText;if(typeof t=="number")return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")}(n)+t[r+1]},t[0]);return new ts(i,t,to)},th=function(t,e){var n=true,r=false,i=undefined;if(ta)t.adoptedStyleSheets=e.map(function(t){return p(t,CSSStyleSheet)?t:t.styleSheet});else try{for(var a=e[Symbol.iterator](),o;!(n=(o=a.next()).done);n=true){var u=o.value;var s=document.createElement("style"),l=ti.litNonce;l!==void 0&&s.setAttribute("nonce",l),s.textContent=u.cssText,t.appendChild(s)}}catch(t){r=true;i=t}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw i}}}},tv=ta||ti.CSSStyleSheet===void 0?function(t){return t}:function(t){return p(t,CSSStyleSheet)?function(t){var e="";var n=true,r=false,i=undefined;try{for(var a=t.cssRules[Symbol.iterator](),o;!(n=(o=a.next()).done);n=true){var u=o.value;e+=u.cssText}}catch(t){r=true;i=t}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw i}}}return tl(e)}(t):t};var td=Object.is,tf=Object.defineProperty,tp=Object.getOwnPropertyDescriptor,t_=Object.getOwnPropertyNames,ty=Object.getOwnPropertySymbols,tm=Object.getPrototypeOf,tb=globalThis;var tg;(tg=tb.customElements)!==null&&tg!==void 0?tg:tb.customElements=tr;var tk=tb.trustedTypes,tE=tk?tk.emptyScript:"",tw=tb.reactiveElementPolyfillSupport,tO=function(t,e){return t},tA={toAttribute:function t(t,e){switch(e){case Boolean:t=t?tE: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}},t$=function(t,e){return!td(t,e)},tx={attribute:!0,type:String,converter:tA,reflect:!1,hasChanged:t$};var tS,tP;(tS=Symbol.metadata)!==null&&tS!==void 0?tS:Symbol.metadata=Symbol("metadata"),(tP=tb.litPropertyMetadata)!==null&&tP!==void 0?tP:tb.litPropertyMetadata=new WeakMap;var tR;var tI=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e),t._$Ep=void 0,t.isUpdatePending=!1,t.hasUpdated=!1,t._$Em=null,t._$Ev();return t}c(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 a=e.keys()[Symbol.iterator](),o;!(n=(o=a.next()).done);n=true){var u=o.value;this.hasOwnProperty(u)&&(t.set(u,this[u]),delete this[u])}}catch(t){r=true;i=t}finally{try{if(!n&&a.return!=null){a.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 th(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 a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:tA).toAttribute(e,n.type);this._$Em=t,a==null?this.removeAttribute(r):this.setAttribute(r,a),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 a=n.getPropertyOptions(r),o=typeof a.converter=="function"?{fromAttribute:a.converter}:((i=a.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?a.converter:tA;this._$Em=r,this[r]=o.fromAttribute(e,a.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:t$)(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 a(function(){var e,n,r;return T(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](),a;!(e=(a=i.next()).done);e=true){var o=$(a.value,2),u=o[0],s=o[1];this[u]=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 l=this.constructor.elementProperties;var c=true,h=false,v=undefined;if(l.size>0)try{for(var d=l[Symbol.iterator](),f;!(c=(f=d.next()).done);c=true){var p=$(f.value,2),_=p[0],y=p[1];y.wrapped!==!0||this._$AL.has(_)||this[_]===void 0||this.P(_,this[_],y)}}catch(t){h=true;v=t}finally{try{if(!c&&d.return!=null){d.return()}}finally{if(h){throw v}}}}var m=!1,b=this._$AL;try{var g;m=this.shouldUpdate(b),m?(this.willUpdate(b),(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(b)):this._$EU()}catch(t){throw m=!1,this._$EU(),t}m&&this._$AE(b)}},{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&&P(this._$Eh.keys())}},{key:"createProperty",value:function t(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tx;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&&tf(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function t(t,e,n){var r;var i=(r=tp(this.prototype,t))!==null&&r!==void 0?r:{get:function t(){return this[e]},set:function t(t){this[e]=t}},a=i.get,o=i.set;return{get:function t(){return a===null||a===void 0?void 0:a.call(this)},set:function e(e){var r=a===null||a===void 0?void 0:a.call(this);o.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:tx}},{key:"_$Ei",value:function t(){if(this.hasOwnProperty(tO("elementProperties")))return;var t=tm(this);t.finalize(),t.l!==void 0&&(this.l=P(t.l)),this.elementProperties=new Map(t.elementProperties)}},{key:"finalize",value:function t(){if(this.hasOwnProperty(tO("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tO("properties"))){var t=this.properties,e=P(t_(t)).concat(P(ty(t)));var n=true,r=false,i=undefined;try{for(var a=e[Symbol.iterator](),o;!(n=(o=a.next()).done);n=true){var u=o.value;this.createProperty(u,t[u])}}catch(t){r=true;i=t}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw i}}}}var s=this[Symbol.metadata];if(s!==null){var l=litPropertyMetadata.get(s);var c=true,h=false,v=undefined;if(l!==void 0)try{for(var d=l[Symbol.iterator](),f;!(c=(f=d.next()).done);c=true){var p=$(f.value,2),_=p[0],y=p[1];this.elementProperties.set(_,y)}}catch(t){h=true;v=t}finally{try{if(!c&&d.return!=null){d.return()}}finally{if(h){throw v}}}}this._$Eh=new Map;var m=true,b=false,g=undefined;try{for(var k=this.elementProperties[Symbol.iterator](),E;!(m=(E=k.next()).done);m=true){var w=$(E.value,2),O=w[0],A=w[1];var x=this._$Eu(O,A);x!==void 0&&this._$Eh.set(x,O)}}catch(t){b=true;g=t}finally{try{if(!m&&k.return!=null){k.return()}}finally{if(b){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,a=undefined;try{for(var o=n[Symbol.iterator](),u;!(r=(u=o.next()).done);r=true){var s=u.value;e.unshift(tv(s))}}catch(t){i=true;a=t}finally{try{if(!r&&o.return!=null){o.return()}}finally{if(i){throw a}}}}else t!==void 0&&e.push(tv(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}((tR=globalThis.HTMLElement)!==null&&tR!==void 0?tR:tt);var tC;tI.elementStyles=[],tI.shadowRootOptions={mode:"open"},tI[tO("elementProperties")]=new Map,tI[tO("finalized")]=new Map,tw===null||tw===void 0?void 0:tw({ReactiveElement:tI}),((tC=tb.reactiveElementVersions)!==null&&tC!==void 0?tC:tb.reactiveElementVersions=[]).push("2.0.4");var tU=globalThis,tT=tU.trustedTypes,tN=tT?tT.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,tM="$lit$",tD="lit$".concat(Math.random().toFixed(9).slice(2),"$"),tj="?"+tD,tL="<".concat(tj,">"),tV=tU.document===void 0?{createTreeWalker:function(){return{}}}:document,tH=function(){return tV.createComment("")},tz=function(t){return t===null||(typeof t==="undefined"?"undefined":R(t))!="object"&&typeof t!="function"},tG=Array.isArray,tF=function(t){return tG(t)||typeof(t===null||t===void 0?void 0:t[Symbol.iterator])=="function"},tW="[ \n\f\r]",tB=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,tq=/-->/g,tK=/>/g,tY=RegExp(">|".concat(tW,"(?:([^\\s\"'>=/]+)(").concat(tW,"*=").concat(tW,"*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),tJ=/'/g,tX=/"/g,tZ=/^(?:script|style|textarea|title)$/i,tQ=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}}},t0=tQ(1),t1=tQ(2),t2=tQ(3),t3=Symbol.for("lit-noChange"),t4=Symbol.for("lit-nothing"),t6=new WeakMap,t5=tV.createTreeWalker(tV,129);var t9=function(t,n){var r=t.length-1,i=[],a,o=n===2?"<svg>":n===3?"<math>":"",u=tB;for(var s=0;s<r;s++){var l=t[s],c=void 0,h=void 0,v=-1,d=0;for(;d<l.length&&(u.lastIndex=d,h=u.exec(l),h!==null);)d=u.lastIndex,u===tB?h[1]==="!--"?u=tq:h[1]!==void 0?u=tK:h[2]!==void 0?(tZ.test(h[2])&&(a=RegExp("</"+h[2],"g")),u=tY):h[3]!==void 0&&(u=tY):u===tY?h[0]===">"?(u=a!==null&&a!==void 0?a:tB,v=-1):h[1]===void 0?v=-2:(v=u.lastIndex-h[2].length,c=h[1],u=h[3]===void 0?tY:h[3]==='"'?tX:tJ):u===tX||u===tJ?u=tY:u===tq||u===tK?u=tB:(u=tY,a=void 0);var f=u===tY&&t[s+1].startsWith("/>")?" ":"";o+=u===tB?l+tL:v>=0?(i.push(c),l.slice(0,v)+tM+l.slice(v)+tD+f):l+tD+(v===-2?s:f)}return[e(t,o+(t[r]||"<?>")+(n===2?"</svg>":n===3?"</math>":"")),i]},t7=/*#__PURE__*/function(){"use strict";function t(e,n){var r=e.strings,i=e._$litType$;u(this,t);var a;this.parts=[];var o=0,s=0,l=r.length-1,c=this.parts,h=$(t9(r,i),2),v=h[0],d=h[1];if(this.el=t.createElement(v,n),t5.currentNode=this.el.content,i===2||i===3){var f;var p=this.el.content.firstChild;(f=p).replaceWith.apply(f,P(p.childNodes))}for(;(a=t5.nextNode())!==null&&c.length<l;){if(a.nodeType===1){var _=true,y=false,m=undefined;if(a.hasAttributes())try{for(var b=a.getAttributeNames()[Symbol.iterator](),g;!(_=(g=b.next()).done);_=true){var k=g.value;if(k.endsWith(tM)){var E=d[s++],w=a.getAttribute(k).split(tD),O=/([.?@])?(.*)/.exec(E);c.push({type:1,index:o,name:O[2],strings:w,ctor:O[1]==="."?er:O[1]==="?"?ei:O[1]==="@"?ea:en}),a.removeAttribute(k)}else k.startsWith(tD)&&(c.push({type:6,index:o}),a.removeAttribute(k))}}catch(t){y=true;m=t}finally{try{if(!_&&b.return!=null){b.return()}}finally{if(y){throw m}}}if(tZ.test(a.tagName)){var A=a.textContent.split(tD),x=A.length-1;if(x>0){a.textContent=tT?tT.emptyScript:"";for(var S=0;S<x;S++)a.append(A[S],tH()),t5.nextNode(),c.push({type:2,index:++o});a.append(A[x],tH())}}}else if(a.nodeType===8)if(a.data===tj)c.push({type:2,index:o});else{var R=-1;for(;(R=a.data.indexOf(tD,R+1))!==-1;)c.push({type:7,index:o}),R+=tD.length-1}o++}}c(t,null,[{key:"createElement",value:function t(t,e){var n=tV.createElement("template");return n.innerHTML=t,n}}]);return t}();function t8(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t,r=arguments.length>3?arguments[3]:void 0;var i,a;if(e===t3)return e;var o=r!==void 0?(i=n._$Co)===null||i===void 0?void 0:i[r]:n._$Cl,u=tz(e)?void 0:e._$litDirective$;var s;return(o===null||o===void 0?void 0:o.constructor)!==u&&(o===null||o===void 0?void 0:(a=o._$AO)===null||a===void 0?void 0:a.call(o,!1),u===void 0?o=void 0:(o=new u(t),o._$AT(t,n,r)),r!==void 0?((s=n._$Co)!==null&&s!==void 0?s:n._$Co=[])[r]=o:n._$Cl=o),o!==void 0&&(e=t8(t,o._$AS(t,e.values),o,r)),e}var et=/*#__PURE__*/function(){"use strict";function t(e,n){u(this,t);this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}c(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,a=n.parts,o=((e=t===null||t===void 0?void 0:t.creationScope)!==null&&e!==void 0?e:tV).importNode(i,!0);t5.currentNode=o;var u=t5.nextNode(),s=0,l=0,c=a[0];for(;c!==void 0;){if(s===c.index){var h=void 0;c.type===2?h=new ee(u,u.nextSibling,this,t):c.type===1?h=new c.ctor(u,c.name,c.strings,this,t):c.type===6&&(h=new eo(u,this,t)),this._$AV.push(h),c=a[++l]}s!==(c===null||c===void 0?void 0:c.index)&&(u=t5.nextNode(),s++)}return t5.currentNode=tV,o}},{key:"p",value:function t(t){var e=0;var n=true,r=false,i=undefined;try{for(var a=this._$AV[Symbol.iterator](),o;!(n=(o=a.next()).done);n=true){var u=o.value;u!==void 0&&(u.strings!==void 0?(u._$AI(t,u,e),e+=u.strings.length-2):u._$AI(t[e])),e++}}catch(t){r=true;i=t}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw i}}}}}]);return t}(),ee=/*#__PURE__*/function(){"use strict";function t(e,n,r,i){u(this,t);var a;this.type=2,this._$AH=t4,this._$AN=void 0,this._$AA=e,this._$AB=n,this._$AM=r,this.options=i,this._$Cv=(a=i===null||i===void 0?void 0:i.isConnected)!==null&&a!==void 0?a:!0}c(t,[{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=t8(this,t,e),tz(t)?t===t4||t==null||t===""?(this._$AH!==t4&&this._$AR(),this._$AH=t4):t!==this._$AH&&t!==t3&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):tF(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!==t4&&tz(this._$AH)?this._$AA.nextSibling.data=t:this.T(tV.createTextNode(t)),this._$AH=t}},{key:"$",value:function t(t){var n;var r=t.values,i=t._$litType$,a=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=t7.createElement(e(i.h,i.h[0]),this.options)),i);if(((n=this._$AH)===null||n===void 0?void 0:n._$AD)===a)this._$AH.p(r);else{var o=new et(a,this),u=o.u(this.options);o.p(r),this.T(u),this._$AH=o}}},{key:"_$AC",value:function t(t){var e=t6.get(t.strings);return e===void 0&&t6.set(t.strings,e=new t7(t)),e}},{key:"k",value:function e(e){tG(this._$AH)||(this._$AH=[],this._$AR());var n=this._$AH,r,i=0;var a=true,o=false,u=undefined;try{for(var s=e[Symbol.iterator](),l;!(a=(l=s.next()).done);a=true){var c=l.value;i===n.length?n.push(r=new t(this.O(tH()),this.O(tH()),this,this.options)):r=n[i],r._$AI(c),i++}}catch(t){o=true;u=t}finally{try{if(!a&&s.return!=null){s.return()}}finally{if(o){throw u}}}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 t}(),en=/*#__PURE__*/function(){"use strict";function t(e,n,r,i,a){u(this,t);this.type=1,this._$AH=t4,this._$AN=void 0,this.element=e,this.name=n,this._$AM=i,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=t4}c(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,a=!1;if(i===void 0)t=t8(this,t,e,0),a=!tz(t)||t!==this._$AH&&t!==t3,a&&(this._$AH=t);else{var o=t,u,s;for(t=i[0],u=0;u<i.length-1;u++)s=t8(this,o[n+u],e,u),s===t3&&(s=this._$AH[u]),a||(a=!tz(s)||s!==this._$AH[u]),s===t4?t=t4:t!==t4&&(t+=(s!==null&&s!==void 0?s:"")+i[u+1]),this._$AH[u]=s}a&&!r&&this.j(t)}},{key:"j",value:function t(t){t===t4?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!==null&&t!==void 0?t:"")}}]);return t}(),er=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e,arguments),t.type=3;return t}c(e,[{key:"j",value:function t(t){this.element[this.name]=t===t4?void 0:t}}]);return e}(en),ei=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e,arguments),t.type=4;return t}c(e,[{key:"j",value:function t(t){this.element.toggleAttribute(this.name,!!t&&t!==t4)}}]);return e}(en),ea=/*#__PURE__*/function(t){"use strict";f(e,t);function e(t,n,r,i,a){u(this,e);var s;s=o(this,e,[t,n,r,i,a]),s.type=5;return s}c(e,[{key:"_$AI",value:function t(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this;var n;if((t=(n=t8(this,t,e,0))!==null&&n!==void 0?n:t4)===t3)return;var r=this._$AH,i=t===t4&&r!==t4||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==t4&&(r===t4||i);i&&this.element.removeEventListener(this.name,this,r),a&&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}(en),eo=/*#__PURE__*/function(){"use strict";function t(e,n,r){u(this,t);this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=r}c(t,[{key:"_$AU",get:function t(){return this._$AM._$AU}},{key:"_$AI",value:function t(t){t8(this,t)}}]);return t}(),eu={M:tM,P:tD,A:tj,C:1,L:t9,R:et,D:tF,V:t8,I:ee,H:en,N:ei,U:ea,B:er,F:eo},es=tU.litHtmlPolyfillSupport;var el;es===null||es===void 0?void 0:es(t7,ee),((el=tU.litHtmlVersions)!==null&&el!==void 0?el:tU.litHtmlVersions=[]).push("3.2.1");var ec=function(t,e,n){var r;var i=(r=n===null||n===void 0?void 0:n.renderBefore)!==null&&r!==void 0?r:e,a=i._$litPart$;if(a===void 0){var o;var u=(o=n===null||n===void 0?void 0:n.renderBefore)!==null&&o!==void 0?o:null;i._$litPart$=a=new ee(e.insertBefore(tH(),u),u,void 0,n!==null&&n!==void 0?n:{})}return a._$AI(t),a};var eh=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e,arguments),t.renderOptions={host:t},t._$Do=void 0;return t}c(e,[{key:"createRenderRoot",value:function t(){var t;var n=v(d(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),v(d(e.prototype),"update",this).call(this,t),this._$Do=ec(n,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function t(){var t;v(d(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;v(d(e.prototype),"disconnectedCallback",this).call(this),(t=this._$Do)===null||t===void 0?void 0:t.setConnected(!1)}},{key:"render",value:function t(){return t3}}]);return e}(tI);eh._$litElement$=!0,eh.finalized=!0,(l=(h=globalThis).litElementHydrateSupport)===null||l===void 0?void 0:l.call(h,{LitElement:eh});var ev=globalThis.litElementPolyfillSupport;ev===null||ev===void 0?void 0:ev({LitElement:eh});var ed;((ed=globalThis.litElementVersions)!==null&&ed!==void 0?ed:globalThis.litElementVersions=[]).push("4.1.1");var ef=function(t){return function(e,n){n!==void 0?n.addInitializer(function(){customElements.define(t,e)}):customElements.define(t,e)}};var ep={attribute:!0,type:String,converter:tA,reflect:!1,hasChanged:t$},e_=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ep,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;var r=n.kind,i=n.metadata,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(n.name,t),r==="accessor"){var o=n.name;return{set:function n(n){var r=e.get.call(this);e.set.call(this,n),this.requestUpdate(o,r,t)},init:function e(e){return e!==void 0&&this.P(o,void 0,t),e}}}if(r==="setter"){var u=n.name;return function n(n){var r=this[u];e.call(this,n),this.requestUpdate(u,r,t)}}throw Error("Unsupported decorator location: "+r)};var ey=Symbol("test"),em=Symbol("testElement");var eb=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e);t.disabled=!0;t._internals=t.attachInternals();return t}c(e,[{key:"_handleTestElementChange",value:function t(t,e){e.el&&(this.disabled=!1)}},{key:"willUpdate",value:function t(t){if(t.has("_testContext")){var e;var n;var r=(n=this._testContext)!==null&&n!==void 0?n:{},i=r.items,a=i===void 0?[]:i,o=r.navItemId;this.itemIndex=a.findIndex(function(t){return t.identifier===o}),this.items=a,this.view=(e=this._testContext)===null||e===void 0?void 0:e.view}}},{key:"_switchView",value:function t(t){this.dispatchEvent(new CustomEvent("on-test-switch-view",{composed:!0,bubbles:!0,detail:t}))}},{key:"_requestItem",value:function t(t){this.dispatchEvent(new CustomEvent("qti-request-test-item",{composed:!0,bubbles:!0,detail:t}))}}]);return e}(eh);x([s({type:Boolean,reflect:!0,aria:"ariaDisabled"})],eb.prototype,"disabled",2),x([r(),t({context:ey,subscribe:!0})],eb.prototype,"_testContext",2),x([r(),t({context:em,subscribe:!0})],eb.prototype,"_testElement",2),x([i("_testElement")],eb.prototype,"_handleTestElementChange",1);var eg=tc(N()),ek=tc(M(),eg),eE=tc(D()),ew=tc(j(),eg);var eO=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e),t._internals.role="button",t._internals.ariaLabel="Next item",t.addEventListener("click",function(e){e.preventDefault(),t.disabled||t._requestItem(t.items[t.itemIndex+1].identifier)});return t}c(e,[{key:"willUpdate",value:function t(t){var n;v(d(e.prototype),"willUpdate",this).call(this,t),t.has("_testContext")&&(this.disabled=!((n=this._testElement)===null||n===void 0?void 0:n.el)||this.itemIndex<0||this.itemIndex>=this.items.length-1)}},{key:"render",value:function t(){return t0(L())}}]);return e}(eb);eO.styles=tc(V(),ek,eE),eO=x([ef("test-next")],eO);var eA=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e),t._internals.role="button",t._internals.ariaLabel="Next item",t.addEventListener("click",function(e){e.preventDefault(),t.disabled||t._requestItem(t.items[t.itemIndex-1].identifier)});return t}c(e,[{key:"willUpdate",value:function t(t){var n;v(d(e.prototype),"willUpdate",this).call(this,t),t.has("_testContext")&&(this.disabled=!((n=this._testElement)===null||n===void 0?void 0:n.el)||this.itemIndex===0||this.itemIndex===-1)}},{key:"render",value:function t(){return t0(H())}}]);return e}(eb);eA.styles=tc(z(),ek,eE),eA=x([ef("test-prev")],eA);var e$=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e,arguments);t.label="view";t._handleViewOptionsChange=function(){t.updateViewOptions()};t._viewOptions=e$.DEFAULT_VIEW_OPTIONS;return t}c(e,[{key:"connectedCallback",value:function t(){v(d(e.prototype),"connectedCallback",this).call(this),this.updateViewOptions()}},{key:"updateViewOptions",value:function t(){if(this.viewOptions){var t=this.viewOptions.split(",").map(function(t){return t.trim()});this._viewOptions=t.filter(function(t){return e$.DEFAULT_VIEW_OPTIONS.includes(t)})}else this._viewOptions=e$.DEFAULT_VIEW_OPTIONS}},{key:"render",value:function t(){var t=this;return t0(F(),this.label,this.disabled,function(e){var n=e.target;t._switchView(n.value)},this._viewOptions.map(function(e){return t0(G(),e,e===t.view,e)}))}}]);return e}(eb);e$.DEFAULT_VIEW_OPTIONS=["author","candidate","proctor","scorer","testConstructor","tutor"],x([n({type:String})],e$.prototype,"label",2),x([n({type:String,attribute:"view-options"})],e$.prototype,"viewOptions",2),x([i("viewOptions",{waitUntilFirstUpdate:!0})],e$.prototype,"_handleViewOptionsChange",2),x([r()],e$.prototype,"_viewOptions",2),e$=x([ef("test-view")],e$);var ex=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e);t.itemId=null;t.addEventListener("click",function(){return t._requestItem(t.itemId)});return t}c(e,[{key:"render",value:function t(){return t0(W())}}]);return e}(eb);ex.styles=tc(B(),ek,eE),x([n({type:String,attribute:"item-id"})],ex.prototype,"itemId",2),ex=x([ef("test-item-link")],ex);var eS=["this"],eP=["+","-","!"],eR=["=","+","-","*","/","%","^","==","!=",">","<",">=","<=","||","&&","??","&","===","!==","|","|>"],eI={"!":0,":":0,",":0,")":0,"]":0,"}":0,"|>":1,"?":2,"??":3,"||":4,"&&":5,"|":6,"^":7,"&":8,"!=":9,"==":9,"!==":9,"===":9,">=":10,">":10,"<=":10,"<":10,"+":11,"-":11,"%":12,"/":12,"*":12,"(":13,"[":13,".":13,"{":13},eC=13;var eU=["==","!=","<=",">=","||","&&","??","|>"],eT=["===","!=="],eN;(function(t){t[t.STRING=1]="STRING",t[t.IDENTIFIER=2]="IDENTIFIER",t[t.DOT=3]="DOT",t[t.COMMA=4]="COMMA",t[t.COLON=5]="COLON",t[t.INTEGER=6]="INTEGER",t[t.DECIMAL=7]="DECIMAL",t[t.OPERATOR=8]="OPERATOR",t[t.GROUPER=9]="GROUPER",t[t.KEYWORD=10]="KEYWORD",t[t.ARROW=11]="ARROW"})(eN||(eN={}));var eM=function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return{kind:t,value:e,precedence:n}},eD=function(t){return t===9||t===10||t===13||t===32},ej=function(t){return t===95||t===36||(t&=-33,65<=t&&t<=90)},eL=function(t){return ej(t)||ez(t)},eV=function(t){return eS.indexOf(t)!==-1},eH=function(t){return t===34||t===39},ez=function(t){return 48<=t&&t<=57},eG=function(t){return t===43||t===45||t===42||t===47||t===33||t===38||t===37||t===60||t===61||t===62||t===63||t===94||t===124},eF=function(t){return t===40||t===41||t===91||t===93||t===123||t===125},eW=function(t){return t.replace(/\\(.)/g,function(t,e){switch(e){case"n":return"\n";case"r":return"\r";case"t":return" ";case"b":return"\b";case"f":return"\f";default:return e}})},eB=/*#__PURE__*/function(){"use strict";function t(e){u(this,t);S(this,"_input");S(this,"_index",-1);S(this,"_tokenStart",0);S(this,"_next");this._input=e,this._advance()}c(t,[{key:"nextToken",value:function t(){for(;eD(this._next);)this._advance(!0);if(eH(this._next))return this._tokenizeString();if(ej(this._next))return this._tokenizeIdentOrKeyword();if(ez(this._next))return this._tokenizeNumber();if(this._next===46)return this._tokenizeDot();if(this._next===44)return this._tokenizeComma();if(this._next===58)return this._tokenizeColon();if(eG(this._next))return this._tokenizeOperator();if(eF(this._next))return this._tokenizeGrouper();if(this._advance(),this._next!==void 0)throw new Error("Expected end of input, got ".concat(this._next))}},{key:"_advance",value:function t(t){this._index++,this._index<this._input.length?(this._next=this._input.charCodeAt(this._index),t===!0&&(this._tokenStart=this._index)):this._next=void 0}},{key:"_getValue",value:function t(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;var e=this._input.substring(this._tokenStart,this._index+t);return t===0&&this._clearValue(),e}},{key:"_clearValue",value:function t(){this._tokenStart=this._index}},{key:"_tokenizeString",value:function t(){var t="unterminated string",e=this._next;for(this._advance(!0);this._next!==e;){if(this._next===void 0)throw new Error(t);if(this._next===92&&(this._advance(),this._next===void 0))throw new Error(t);this._advance()}var n=eM(eN.STRING,eW(this._getValue()));return this._advance(),n}},{key:"_tokenizeIdentOrKeyword",value:function t(){do this._advance();while(eL(this._next));var t=this._getValue(),e=eV(t)?eN.KEYWORD:eN.IDENTIFIER;return eM(e,t)}},{key:"_tokenizeNumber",value:function t(){do this._advance();while(ez(this._next));return this._next===46?this._tokenizeDot():eM(eN.INTEGER,this._getValue())}},{key:"_tokenizeDot",value:function t(){return this._advance(),ez(this._next)?this._tokenizeFraction():(this._clearValue(),eM(eN.DOT,".",eC))}},{key:"_tokenizeComma",value:function t(){return this._advance(!0),eM(eN.COMMA,",")}},{key:"_tokenizeColon",value:function t(){return this._advance(!0),eM(eN.COLON,":")}},{key:"_tokenizeFraction",value:function t(){do this._advance();while(ez(this._next));return eM(eN.DECIMAL,this._getValue())}},{key:"_tokenizeOperator",value:function t(){this._advance();var t=this._getValue(2);if(eT.indexOf(t)!==-1)this._advance(),this._advance();else{if(t=this._getValue(1),t==="=>")return this._advance(),eM(eN.ARROW,t);eU.indexOf(t)!==-1&&this._advance()}return t=this._getValue(),eM(eN.OPERATOR,t,eI[t])}},{key:"_tokenizeGrouper",value:function t(){var t=String.fromCharCode(this._next),e=eM(eN.GROUPER,t,eI[t]);return this._advance(!0),e}}]);return t}();var eq=function(t,e){return new eK(t,e).parse()},eK=/*#__PURE__*/function(){"use strict";function t(e,n){u(this,t);S(this,"_kind");S(this,"_tokenizer");S(this,"_ast");S(this,"_token");S(this,"_value");this._tokenizer=new eB(e),this._ast=n}c(t,[{key:"parse",value:function t(){return this._advance(),this._parseExpression()}},{key:"_advance",value:function t(t,e){var n,r;if(!this._matches(t,e))throw new Error("Expected kind ".concat(t," (").concat(e,"), was ").concat((n=this._token)===null||n===void 0?void 0:n.kind," (").concat((r=this._token)===null||r===void 0?void 0:r.value,")"));var i=this._tokenizer.nextToken();this._token=i,this._kind=i===null||i===void 0?void 0:i.kind,this._value=i===null||i===void 0?void 0:i.value}},{key:"_matches",value:function t(t,e){return!(t&&this._kind!==t||e&&this._value!==e)}},{key:"_parseExpression",value:function t(){if(!this._token)return this._ast.empty();var t=this._parseUnary();return t===void 0?void 0:this._parsePrecedence(t,0)}},{key:"_parsePrecedence",value:function t(t,e){if(t===void 0)throw new Error("Expected left to be defined.");for(;this._token;)if(this._matches(eN.GROUPER,"(")){var n=this._parseArguments();t=this._ast.invoke(t,void 0,n)}else if(this._matches(eN.GROUPER,"[")){var r=this._parseIndex();t=this._ast.index(t,r)}else if(this._matches(eN.DOT)){this._advance();var i=this._parseUnary();t=this._makeInvokeOrGetter(t,i)}else{if(this._matches(eN.KEYWORD))break;if(this._matches(eN.OPERATOR)&&this._token.precedence>=e)t=this._value==="?"?this._parseTernary(t):this._parseBinary(t,this._token);else break}return t}},{key:"_makeInvokeOrGetter",value:function t(t,e){if(e===void 0)throw new Error("expected identifier");if(e.type==="ID")return this._ast.getter(t,e.value);if(e.type==="Invoke"&&e.receiver.type==="ID"){var n=e.receiver;return this._ast.invoke(t,n.value,e.arguments)}else throw new Error("expected identifier: ".concat(e))}},{key:"_parseBinary",value:function t(t,e){if(eR.indexOf(e.value)===-1)throw new Error("unknown operator: ".concat(e.value));this._advance();var n=this._parseUnary();for(;(this._kind===eN.OPERATOR||this._kind===eN.DOT||this._kind===eN.GROUPER)&&this._token.precedence>e.precedence;)n=this._parsePrecedence(n,this._token.precedence);return this._ast.binary(t,e.value,n)}},{key:"_parseUnary",value:function t(){if(this._matches(eN.OPERATOR)){var t=this._value;if(this._advance(),t==="+"||t==="-"){if(this._matches(eN.INTEGER))return this._parseInteger(t);if(this._matches(eN.DECIMAL))return this._parseDecimal(t)}if(eP.indexOf(t)===-1)throw new Error("unexpected token: ".concat(t));var e=this._parsePrecedence(this._parsePrimary(),eC);return this._ast.unary(t,e)}return this._parsePrimary()}},{key:"_parseTernary",value:function t(t){this._advance(eN.OPERATOR,"?");var e=this._parseExpression();this._advance(eN.COLON);var n=this._parseExpression();return this._ast.ternary(t,e,n)}},{key:"_parsePrimary",value:function t(){switch(this._kind){case eN.KEYWORD:var t=this._value;if(t==="this")return this._advance(),this._ast.id(t);throw eS.indexOf(t)!==-1?new Error("unexpected keyword: ".concat(t)):new Error("unrecognized keyword: ".concat(t));case eN.IDENTIFIER:return this._parseInvokeOrIdentifier();case eN.STRING:return this._parseString();case eN.INTEGER:return this._parseInteger();case eN.DECIMAL:return this._parseDecimal();case eN.GROUPER:return this._value==="("?this._parseParenOrFunction():this._value==="{"?this._parseMap():this._value==="["?this._parseList():void 0;case eN.COLON:throw new Error('unexpected token ":"');default:return}}},{key:"_parseList",value:function t(){var t=[];do{if(this._advance(),this._matches(eN.GROUPER,"]"))break;t.push(this._parseExpression())}while(this._matches(eN.COMMA));return this._advance(eN.GROUPER,"]"),this._ast.list(t)}},{key:"_parseMap",value:function t(){var t={};do{if(this._advance(),this._matches(eN.GROUPER,"}"))break;var e=this._value;(this._matches(eN.STRING)||this._matches(eN.IDENTIFIER))&&this._advance(),this._advance(eN.COLON),t[e]=this._parseExpression()}while(this._matches(eN.COMMA));return this._advance(eN.GROUPER,"}"),this._ast.map(t)}},{key:"_parseInvokeOrIdentifier",value:function t(){var t=this._value;if(t==="true")return this._advance(),this._ast.literal(!0);if(t==="false")return this._advance(),this._ast.literal(!1);if(t==="null")return this._advance(),this._ast.literal(null);if(t==="undefined")return this._advance(),this._ast.literal(void 0);var e=this._parseIdentifier(),n=this._parseArguments();return n?this._ast.invoke(e,void 0,n):e}},{key:"_parseIdentifier",value:function t(){if(!this._matches(eN.IDENTIFIER))throw new Error("expected identifier: ".concat(this._value));var t=this._value;return this._advance(),this._ast.id(t)}},{key:"_parseArguments",value:function t(){if(!this._matches(eN.GROUPER,"("))return;var t=[];do{if(this._advance(),this._matches(eN.GROUPER,")"))break;var e=this._parseExpression();t.push(e)}while(this._matches(eN.COMMA));return this._advance(eN.GROUPER,")"),t}},{key:"_parseIndex",value:function t(){this._advance();var t=this._parseExpression();return this._advance(eN.GROUPER,"]"),t}},{key:"_parseParenOrFunction",value:function t(){var t=this._parseArguments();if(this._matches(eN.ARROW)){this._advance();var e;var n=this._parseExpression(),r=(e=t===null||t===void 0?void 0:t.map(function(t){return t.value}))!==null&&e!==void 0?e:[];return this._ast.arrowFunction(r,n)}else return this._ast.paren(t[0])}},{key:"_parseString",value:function t(){var t=this._ast.literal(this._value);return this._advance(),t}},{key:"_parseInteger",value:function t(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";var e=this._ast.literal(parseInt("".concat(t).concat(this._value),10));return this._advance(),e}},{key:"_parseDecimal",value:function t(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";var e=this._ast.literal(parseFloat("".concat(t).concat(this._value)));return this._advance(),e}}]);return t}();var eY={"+":function(t,e){return t+e},"-":function(t,e){return t-e},"*":function(t,e){return t*e},"/":function(t,e){return t/e},"%":function(t,e){return t%e},"==":function(t,e){return t==e},"!=":function(t,e){return t!=e},"===":function(t,e){return t===e},"!==":function(t,e){return t!==e},">":function(t,e){return t>e},">=":function(t,e){return t>=e},"<":function(t,e){return t<e},"<=":function(t,e){return t<=e},"||":function(t,e){return t||e},"&&":function(t,e){return t&&e},"??":function(t,e){return t!==null&&t!==void 0?t:e},"|":function(t,e){return e(t)},"|>":function(t,e){return e(t)}},eJ={"+":function(t){return t},"-":function(t){return-t},"!":function(t){return!t}},eX=/*#__PURE__*/function(){"use strict";function t(){u(this,t)}c(t,[{key:"empty",value:function t(){return{type:"Empty",evaluate:function t(t){return t},getIds:function t(t){return t}}}},{key:"literal",value:function t(t){return{type:"Literal",value:t,evaluate:function t(t){return this.value},getIds:function t(t){return t}}}},{key:"id",value:function t(t){return{type:"ID",value:t,evaluate:function t(t){return this.value==="this"?t:t===null||t===void 0?void 0:t[this.value]},getIds:function t(t){return t.push(this.value),t}}}},{key:"unary",value:function t(t,e){var n=eJ[t];return{type:"Unary",operator:t,child:e,evaluate:function t(t){return n(this.child.evaluate(t))},getIds:function t(t){return this.child.getIds(t)}}}},{key:"binary",value:function t(t,e,n){var r=eY[e];return{type:"Binary",operator:e,left:t,right:n,evaluate:function t(t){if(this.operator==="="){if(this.left.type!=="ID"&&this.left.type!=="Getter"&&this.left.type!=="Index")throw new Error("Invalid assignment target: ".concat(this.left));var e=this.right.evaluate(t),n,i;return this.left.type==="Getter"?(n=this.left.receiver.evaluate(t),i=this.left.name):this.left.type==="Index"?(n=this.left.receiver.evaluate(t),i=this.left.argument.evaluate(t)):this.left.type==="ID"&&(n=t,i=this.left.value),n===void 0?void 0:n[i]=e}return r(this.left.evaluate(t),this.right.evaluate(t))},getIds:function t(t){return this.left.getIds(t),this.right.getIds(t),t}}}},{key:"getter",value:function t(t,e){return{type:"Getter",receiver:t,name:e,evaluate:function t(t){var e;return(e=this.receiver.evaluate(t))===null||e===void 0?void 0:e[this.name]},getIds:function t(t){return this.receiver.getIds(t),t}}}},{key:"invoke",value:function t(t,e,n){if(e!=null&&typeof e!="string")throw new Error("method not a string");return{type:"Invoke",receiver:t,method:e,arguments:n,evaluate:function t(t){var n;var r,i;var a=this.receiver.evaluate(t),o=this.method?a:(r=t===null||t===void 0?void 0:t.this)!==null&&r!==void 0?r:t,u=this.method?a===null||a===void 0?void 0:a[e]:a,s=((i=this.arguments)!==null&&i!==void 0?i:[]).map(function(e){return e===null||e===void 0?void 0:e.evaluate(t)});return u===null||u===void 0?void 0:(n=u.apply)===null||n===void 0?void 0:n.call(u,o,s)},getIds:function t(t){var e;return this.receiver.getIds(t),(e=this.arguments)===null||e===void 0?void 0:e.forEach(function(e){return e===null||e===void 0?void 0:e.getIds(t)}),t}}}},{key:"paren",value:function t(t){return t}},{key:"index",value:function t(t,e){return{type:"Index",receiver:t,argument:e,evaluate:function t(t){var e;return(e=this.receiver.evaluate(t))===null||e===void 0?void 0:e[this.argument.evaluate(t)]},getIds:function t(t){return this.receiver.getIds(t),t}}}},{key:"ternary",value:function t(t,e,n){return{type:"Ternary",condition:t,trueExpr:e,falseExpr:n,evaluate:function t(t){return this.condition.evaluate(t)?this.trueExpr.evaluate(t):this.falseExpr.evaluate(t)},getIds:function t(t){return this.condition.getIds(t),this.trueExpr.getIds(t),this.falseExpr.getIds(t),t}}}},{key:"map",value:function t(t){return{type:"Map",entries:t,evaluate:function e(e){var n={};if(t&&this.entries)for(var r in t){var i=this.entries[r];i&&(n[r]=i.evaluate(e))}return n},getIds:function e(e){if(t&&this.entries)for(var n in t){var r=this.entries[n];r&&r.getIds(e)}return e}}}},{key:"list",value:function t(t){return{type:"List",items:t,evaluate:function t(t){var e;return(e=this.items)===null||e===void 0?void 0:e.map(function(e){return e===null||e===void 0?void 0:e.evaluate(t)})},getIds:function t(t){var e;return(e=this.items)===null||e===void 0?void 0:e.forEach(function(e){return e===null||e===void 0?void 0:e.getIds(t)}),t}}}},{key:"arrowFunction",value:function t(t,e){return{type:"ArrowFunction",params:t,body:e,evaluate:function t(t){var e=this.params,n=this.body;return function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++){i[a]=arguments[a]}var o=Object.fromEntries(e.map(function(t,e){return[t,i[e]]})),u=new Proxy(t!==null&&t!==void 0?t:{},{set:function t(t,e,n){return o.hasOwnProperty(e)&&(o[e]=n),t[e]=n},get:function t(t,e){return o.hasOwnProperty(e)?o[e]:t[e]}});return n.evaluate(u)}},getIds:function t(t){var e=this;return this.body.getIds(t).filter(function(t){return!e.params.includes(t)})}}}}]);return t}();var eZ=null,eQ={boundAttributeSuffix:eu.M,marker:eu.P,markerMatch:eu.A,HTML_RESULT:eu.C,getTemplateHtml:eu.L,overrideDirectiveResolve:function(t,e){var n=/*#__PURE__*/function(t){"use strict";f(n,t);function n(){u(this,n);return o(this,n,arguments)}c(n,[{key:"_$AS",value:function t(t,n){return e(this,n)}}]);return n}(t);return n},patchDirectiveResolve:function(t,e){if(t.prototype._$AS!==e){eZ!==null&&eZ!==void 0?eZ:eZ=t.prototype._$AS.name;for(var n=t.prototype;n!==Object.prototype;n=Object.getPrototypeOf(n))if(n.hasOwnProperty(eZ))return void(n[eZ]=e);throw Error("Internal error: It is possible that both dev mode and production mode Lit was mixed together during SSR. Please comment on the issue: https://github.com/lit/lit/issues/4527")}},setDirectiveClass:function t(t,e){t._$litDirective$=e},getAttributePartCommittedValue:function(t,e,n){var r=t3;return t.j=function(t){return r=t},t._$AI(e,t,n),r},connectedDisconnectable:function(t){return w(k({},t),{_$AU:!0})},resolveDirective:eu.V,AttributePart:eu.H,PropertyPart:eu.B,BooleanAttributePart:eu.N,EventPart:eu.U,ElementPart:eu.F,TemplateInstance:eu.R,isIterable:eu.D,ChildPart:eu.I};var e0=eQ.AttributePart,e1=eQ.PropertyPart,e2=eQ.BooleanAttributePart,e3=eQ.EventPart,e4=new eX,e6=new Map,e5=function(t){return t.replace(/-(-|\w)/g,function(t,e){return e.toUpperCase()})},e9=function(t,e){var n=e6.get(t);if(n===void 0){if(e6.has(t))return;if(t=t.trim(),t.startsWith("{{")&&t.endsWith("}}")){var r=t.substring(2,t.length-2).trim();n=new eK(r,e4).parse(),e6.set(t,n)}}return n===null||n===void 0?void 0:n.evaluate(e)},e7=function(t,e,n,r){var i=t.getAttribute("if");if(i!==null&&e9(i,e))return na(t,e,n,r)},e8=RegExp("(?<!\\\\){{(.*?)(?:(?<!\\\\)}})","g"),nt=function(t){return/(?:\\{{)|(?:\\}})/g.test(t)},ne=function(t){return t.replaceAll(/\\{{/g,"{{").replace(/\\}}/g,"}}")},nn=function(t,e,n,r){var i=t.getAttribute("repeat");if(i!==null){var a=e9(i,e);if(!a[Symbol.iterator])return t4;var o=nu(t),u=-1,s=[];var l=true,c=false,h=undefined;try{for(var v=a[Symbol.iterator](),d;!(l=(d=v.next()).done);l=true){var f=d.value;u++;var p=Object.create(e);var _;p.item=f,p.index=u,p.this=(_=e.this)!==null&&_!==void 0?_:e;var y=[];var m=true,b=false,g=undefined;try{for(var k=o.parts[Symbol.iterator](),E;!(m=(E=k.next()).done);m=true){var w=E.value;var O;var A=w.update(p,n,r);w.type===1?(O=y).push.apply(O,P(A)):y.push(A)}}catch(t){b=true;g=t}finally{try{if(!m&&k.return!=null){k.return()}}finally{if(b){throw g}}}var $={_$litType$:o,values:y};s.push($)}}catch(t){c=true;h=t}finally{try{if(!l&&v.return!=null){v.return()}}finally{if(c){throw h}}}return s}},nr={if:e7,repeat:nn},ni=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nr,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;var i=nu(t).renderers;if(r){var a=nu(r).renderers,o=i.super;o!==void 0?n=w(k({},i,n),{super:function(t,e,n){return n=w(k({},a,n),{super:function(t,e,n){return na(r,t,e,n)}}),o(t,e,n)}}):(n=k({},a,i,n),t=r)}else n=k({},i,n);return function(r){return na(t,r,e,n)}};var na=function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:nr,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};var i=nu(t),a=[];var o=true,u=false,s=undefined;try{for(var l=i.parts[Symbol.iterator](),c;!(o=(c=l.next()).done);o=true){var h=c.value;var v;var d=h.update(e,n,r);h.type===1?(v=a).push.apply(v,P(d)):a.push(d)}}catch(t){u=true;s=t}finally{try{if(!o&&l.return!=null){l.return()}}finally{if(u){throw s}}}return{_$litType$:i,values:a}},no=new Map,nu=function(t){var e=no.get(t);return e===void 0&&no.set(t,e=ns(t)),e},ns=function(t){var e=function(){if(i.nodeType===Node.ELEMENT_NODE){a++;var t=i;if(t.tagName==="TEMPLATE"){var e=t.getAttribute("type"),u=t.getAttribute("name"),s=t.getAttribute("call");if(s!==null||e!==null||u!==null){t.parentNode.insertBefore(document.createComment(""),t),o.push(t);var l=void 0;if(s!==null){var c=s.trim(),h=c.startsWith("{{")&&c.endsWith("}}");l=function(e,n,r){var i;var a=t.getAttribute("data"),o=a===null?void 0:e9(a,e);return(i=h?e9(c,e):r[s])===null||i===void 0?void 0:i(o,n,r)}}else e!==null?l=function(n,r,i){var a=r[e];return a===null||a===void 0?void 0:a(t,n,r,i)}:(u==="super"?n.renderers.super=function(e,n,r){var i=r.super,a=nu(t);return r=k({},r,a.renderers),i(e,n,r)}:n.renderers[u]=function(e,n,r){return na(t,e,n,r)},l=function(t,e,n){var r=n[u];return r===null||r===void 0?void 0:r(t,e,n)});n.parts.push({type:2,index:a,update:l});return"continue"}}var v=t.getAttributeNames();var d=true,f=false,p=undefined;try{var _=function(){var e=m.value;var r=t.getAttribute(e),i=r.split(e8);if(i.length===1){nt(r)&&t.setAttribute(e,ne(r));return"continue"}t.removeAttribute(e);var o=e,u=e0,s=e[0];s==="."?(o=e5(e.substring(1)),u=e1):s==="?"?(o=e.substring(1),u=e2):s==="@"&&(o=e5(e.substring(1)),u=e3);var l=[ne(i[0])],c=[];for(var h=1;h<i.length;h+=2){var v=i[h];c.push(eq(v,e4)),l.push(ne(i[h+1]))}n.parts.push({type:1,index:a,name:o,strings:l,ctor:u,update:function(t,e,n){return c.map(function(e){return e.evaluate(t)})}})};for(var y=v[Symbol.iterator](),m;!(d=(m=y.next()).done);d=true)_()}catch(t){f=true;p=t}finally{try{if(!d&&y.return!=null){y.return()}}finally{if(f){throw p}}}}else if(i.nodeType===Node.TEXT_NODE){var b=function(t){var e=w[t],i=eq(e,e4);n.parts.push({type:2,index:++a,update:function(t,e){return i.evaluate(t)}});var o=new Text(w[t+1].replace("\\{{","{{"));g.parentNode.insertBefore(o,g.nextSibling),g.parentNode.insertBefore(document.createComment(""),g.nextSibling),g=o,r.currentNode=o};var g=i,E=g.textContent,w=E.split(e8);w.length>1?g.textContent=ne(w[0]):nt(E)&&(g.textContent=ne(E));for(var O=1;O<w.length;O+=2)b(O)}};var n={h:void 0,el:t.cloneNode(!0),parts:[],renderers:{}},r=document.createTreeWalker(n.el.content,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT|NodeFilter.SHOW_COMMENT),i=r.currentNode,a=-1,o=[];for(;(i=r.nextNode())!==null;)e();var u=true,s=false,l=undefined;try{for(var c=o[Symbol.iterator](),h;!(u=(h=c.next()).done);u=true){var v=h.value;v.remove()}}catch(t){s=true;l=t}finally{try{if(!u&&c.return!=null){c.return()}}finally{if(s){throw l}}}return n};var nl=/*#__PURE__*/function(t){"use strict";f(e,t);function e(){u(this,e);var t;t=o(this,e);t.maxDisplayedItems=2;t.skipOnCategory="dep-informational";t._internals.ariaLabel="pagination";return t}c(e,[{key:"createRenderRoot",value:function t(){return this}},{key:"render",value:function t(){var t=this;var e=this._testContext.items.reduce(function(e,n){var r;var i=((r=n.category)===null||r===void 0?void 0:r.split(" ").includes(t.skipOnCategory))?"i":e.counter++;return e.result.push(w(k({},n),{newIndex:i})),e},{counter:0,result:[]}).result,n=e.findIndex(function(e){return e.identifier===t._testContext.navItemId}),r=Math.max(0,n-this.maxDisplayedItems),i=Math.min(e.length,n+this.maxDisplayedItems+1),a=e.slice(r,i);return t0(q(),a.map(function(e){var n,r;var i=e.variables.find(function(t){return t.identifier=="SCORE"}),a=parseInt(i===null||i===void 0?void 0:(n=i.value)===null||n===void 0?void 0:n.toString()),o=(r=e.variables.find(function(t){return t.identifier==="completionStatus"}))===null||r===void 0?void 0:r.value,u=e.category!==t.skipOnCategory?"regular":"info",s=t._testContext.navItemId===e.identifier,l=t._testContext.view==="scorer"&&u=="regular"&&a!==void 0&&!isNaN(a)&&a>0,c=t._testContext.view==="scorer"&&u=="regular"&&a!==void 0&&!isNaN(a)&&a<=0,h=t._testContext.view==="candidate"&&o==="completed"&&e.category!==t.skipOnCategory,v=w(k({},e),{type:u,active:s,correct:l,incorrect:c,answered:h}),d=t.firstElementChild;return ni(d)({item:v})}))}}]);return e}(eb);x([n({type:Number,attribute:"max-displayed-items"})],nl.prototype,"maxDisplayedItems",2),x([n({type:String,attribute:"skip-on-category"})],nl.prototype,"skipOnCategory",2),nl=x([ef("test-paging-buttons-stamp")],nl);return A(I)}();/*! Bundled license information:
2
+
3
+ @lit/context/lib/context-request-event.js:
4
+ (**
5
+ * @license
6
+ * Copyright 2021 Google LLC
7
+ * SPDX-License-Identifier: BSD-3-Clause
8
+ *)
9
+
10
+ @lit/context/lib/create-context.js:
11
+ (**
12
+ * @license
13
+ * Copyright 2021 Google LLC
14
+ * SPDX-License-Identifier: BSD-3-Clause
15
+ *)
16
+
17
+ @lit/context/lib/controllers/context-consumer.js:
18
+ (**
19
+ * @license
20
+ * Copyright 2021 Google LLC
21
+ * SPDX-License-Identifier: BSD-3-Clause
22
+ *)
23
+
24
+ @lit/context/lib/value-notifier.js:
25
+ (**
26
+ * @license
27
+ * Copyright 2021 Google LLC
28
+ * SPDX-License-Identifier: BSD-3-Clause
29
+ *)
30
+
31
+ @lit/context/lib/controllers/context-provider.js:
32
+ (**
33
+ * @license
34
+ * Copyright 2021 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ *)
37
+
38
+ @lit/context/lib/context-root.js:
39
+ (**
40
+ * @license
41
+ * Copyright 2021 Google LLC
42
+ * SPDX-License-Identifier: BSD-3-Clause
43
+ *)
44
+
45
+ @lit/context/lib/decorators/provide.js:
46
+ (**
47
+ * @license
48
+ * Copyright 2017 Google LLC
49
+ * SPDX-License-Identifier: BSD-3-Clause
50
+ *)
51
+
52
+ @lit/context/lib/decorators/consume.js:
53
+ (**
54
+ * @license
55
+ * Copyright 2022 Google LLC
56
+ * SPDX-License-Identifier: BSD-3-Clause
57
+ *)
58
+
59
+ @lit-labs/ssr-dom-shim/lib/element-internals.js:
60
+ (**
61
+ * @license
62
+ * Copyright 2023 Google LLC
63
+ * SPDX-License-Identifier: BSD-3-Clause
64
+ *)
65
+
66
+ @lit-labs/ssr-dom-shim/index.js:
67
+ (**
68
+ * @license
69
+ * Copyright 2019 Google LLC
70
+ * SPDX-License-Identifier: BSD-3-Clause
71
+ *)
72
+
73
+ @lit/reactive-element/node/css-tag.js:
74
+ (**
75
+ * @license
76
+ * Copyright 2019 Google LLC
77
+ * SPDX-License-Identifier: BSD-3-Clause
78
+ *)
79
+
80
+ lit-html/node/lit-html.js:
81
+ (**
82
+ * @license
83
+ * Copyright 2017 Google LLC
84
+ * SPDX-License-Identifier: BSD-3-Clause
85
+ *)
86
+
87
+ lit-element/lit-element.js:
88
+ (**
89
+ * @license
90
+ * Copyright 2017 Google LLC
91
+ * SPDX-License-Identifier: BSD-3-Clause
92
+ *)
93
+
94
+ lit-html/node/is-server.js:
95
+ (**
96
+ * @license
97
+ * Copyright 2022 Google LLC
98
+ * SPDX-License-Identifier: BSD-3-Clause
99
+ *)
100
+
101
+ @lit/reactive-element/node/decorators/custom-element.js:
102
+ (**
103
+ * @license
104
+ * Copyright 2017 Google LLC
105
+ * SPDX-License-Identifier: BSD-3-Clause
106
+ *)
107
+
108
+ @lit/reactive-element/node/decorators/property.js:
109
+ (**
110
+ * @license
111
+ * Copyright 2017 Google LLC
112
+ * SPDX-License-Identifier: BSD-3-Clause
113
+ *)
114
+
115
+ @lit/reactive-element/node/decorators/state.js:
116
+ (**
117
+ * @license
118
+ * Copyright 2017 Google LLC
119
+ * SPDX-License-Identifier: BSD-3-Clause
120
+ *)
121
+
122
+ @lit/reactive-element/node/decorators/event-options.js:
123
+ (**
124
+ * @license
125
+ * Copyright 2017 Google LLC
126
+ * SPDX-License-Identifier: BSD-3-Clause
127
+ *)
128
+
129
+ @lit/reactive-element/node/decorators/base.js:
130
+ (**
131
+ * @license
132
+ * Copyright 2017 Google LLC
133
+ * SPDX-License-Identifier: BSD-3-Clause
134
+ *)
135
+
136
+ @lit/reactive-element/node/decorators/query.js:
137
+ (**
138
+ * @license
139
+ * Copyright 2017 Google LLC
140
+ * SPDX-License-Identifier: BSD-3-Clause
141
+ *)
142
+
143
+ @lit/reactive-element/node/decorators/query-all.js:
144
+ (**
145
+ * @license
146
+ * Copyright 2017 Google LLC
147
+ * SPDX-License-Identifier: BSD-3-Clause
148
+ *)
149
+
150
+ @lit/reactive-element/node/decorators/query-async.js:
151
+ (**
152
+ * @license
153
+ * Copyright 2017 Google LLC
154
+ * SPDX-License-Identifier: BSD-3-Clause
155
+ *)
156
+
157
+ @lit/reactive-element/node/decorators/query-assigned-elements.js:
158
+ (**
159
+ * @license
160
+ * Copyright 2021 Google LLC
161
+ * SPDX-License-Identifier: BSD-3-Clause
162
+ *)
163
+
164
+ @lit/reactive-element/node/decorators/query-assigned-nodes.js:
165
+ (**
166
+ * @license
167
+ * Copyright 2017 Google LLC
168
+ * SPDX-License-Identifier: BSD-3-Clause
169
+ *)
170
+
171
+ jexpr/lib/constants.js:
172
+ (*
173
+ * @license
174
+ * Portions Copyright (c) 2013, the Dart project authors.
175
+ *)
176
+
177
+ jexpr/lib/tokenizer.js:
178
+ (*
179
+ * @license
180
+ * Portions Copyright (c) 2013, the Dart project authors.
181
+ *)
182
+
183
+ jexpr/lib/parser.js:
184
+ (*
185
+ * @license
186
+ * Portions Copyright (c) 2013, the Dart project authors.
187
+ *)
188
+
189
+ jexpr/lib/ast_factory.js:
190
+ (*
191
+ * @license
192
+ * Portions Copyright (c) 2013, the Dart project authors.
193
+ *)
194
+
195
+ jexpr/lib/eval.js:
196
+ (*
197
+ * @license
198
+ * Portions Copyright (c) 2013, the Dart project authors.
199
+ *)
200
+
201
+ lit-html/node/private-ssr-support.js:
202
+ (**
203
+ * @license
204
+ * Copyright 2019 Google LLC
205
+ * SPDX-License-Identifier: BSD-3-Clause
206
+ *)
207
+ */
@@ -0,0 +1 @@
1
+ import"../../chunk-22HAPLRD.js";import{a as e}from"../../chunk-4I75QSIL.js";import{a as b}from"../../chunk-QGKK4T2J.js";import{a as f}from"../../chunk-A536ZOJJ.js";import{a as c}from"../../chunk-ROXN2HIJ.js";import{a as d}from"../../chunk-BLKKKK6C.js";import"../../chunk-MFWSHIPH.js";import{a}from"../../chunk-KYOTSBCX.js";import"../../chunk-IXSX4SJX.js";import"../../chunk-M6AATWPS.js";import"../../chunk-5WCOPF7O.js";import"../../chunk-4DFVJE2A.js";import"../../chunk-VI2WKTN4.js";export{a as TestComponent,e as TestItemLink,b as TestNext,f as TestPagingButtonsStamp,c as TestPrev,d as TestView};
@@ -0,0 +1,44 @@
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 u=l.value}catch(t){n(t);return}if(l.done){e(u)}else{Promise.resolve(u).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,u,"next",t)}function u(t){i(a,r,o,l,u,"throw",t)}l(undefined)})}}function a(t,e,n){e=c(e);return m(t,E()?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 u(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 s(t,e,n){if(e)u(t.prototype,e);if(n)u(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&&(S(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)||k(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)||k(t)||_()}function S(t){"@swc/helpers - typeof";return t&&typeof Symbol!=="undefined"&&t.constructor===Symbol?"symbol":typeof t}function k(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 E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(E=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 u([t,e])}}function u(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(["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n padding: 0.5rem 1rem;\n border-radius: 0.25rem;\n user-select: none;\n"]);O=function e(){return t};return t}function R(){var t=A(["\n background-color: lightgray;\n ",";\n"]);R=function e(){return t};return t}function C(){var t=A(["\n cursor: not-allowed;\n opacity: 0.5;\n"]);C=function e(){return t};return t}function x(){var t=A(["\n ",";\n border: 1px solid gray;\n"]);x=function e(){return t};return t}var QtiComponents=function(){var t=function t(t,e){if(!tg(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return td!==void 0?td.createHTML(e):e};var e,n;var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var u=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,s=undefined;if(e&&(typeof e==="undefined"?"undefined":S(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=u(e)[Symbol.iterator](),v;!(a=(v=c.next()).done);a=true)h()}catch(t){l=true;s=t}finally{try{if(!a&&c.return!=null){c.return()}}finally{if(l){throw s}}}return t};var _=function(t){return p(r({},"__esModule",{value:!0}),t)};var m={};y(m,{btn:function(){return t2},dis:function(){return t3},form:function(){return t1},ind:function(){return t4}});var $=/*#__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}s(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 g=new WeakMap,A=function(t){var e=g.get(t);return e===void 0&&g.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}s(t,[{key:"attributes",get:function t(){return Array.from(A(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){A(this).set(t,String(e))}},{key:"removeAttribute",value:function t(t){A(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 A(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 $(this);return this.__internals=t,t}},{key:"getAttribute",value:function t(t){var e;return(e=A(this).get(t))!==null&&e!==void 0?e:null}}]);return t}();var E=/*#__PURE__*/function(t){"use strict";v(e,t);function e(){l(this,e);return a(this,e,arguments)}return e}(k),U=E;var T=/*#__PURE__*/function(){"use strict";function t(){l(this,t);this.__definitions=new Map}s(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}(),M=T;var N=new M;var j=globalThis,H=j.ShadowRoot&&(j.ShadyCSS===void 0||j.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,I=Symbol(),L=new WeakMap,V=/*#__PURE__*/function(){"use strict";function t(e,n,r){l(this,t);if(this._$cssResult$=!0,r!==I)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}s(t,[{key:"styleSheet",get:function t(){var t=this.o,e=this.t;if(H&&t===void 0){var n=e!==void 0&&e.length===1;n&&(t=L.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&L.set(e,t))}return t}},{key:"toString",value:function t(){return this.cssText}}]);return t}(),D=function(t){return new V(typeof t=="string"?t:t+"",void 0,I)},B=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++){n[r-1]=arguments[r]}var i=t.length===1?t[0]:n.reduce(function(e,n,r){return e+function(t){if(t._$cssResult$===!0)return t.cssText;if(typeof t=="number")return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")}(n)+t[r+1]},t[0]);return new V(i,t,I)},z=function(t,e){var n=true,r=false,i=undefined;if(H)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 u=document.createElement("style"),s=j.litNonce;s!==void 0&&u.setAttribute("nonce",s),u.textContent=l.cssText,t.appendChild(u)}}catch(t){r=true;i=t}finally{try{if(!n&&o.return!=null){o.return()}}finally{if(r){throw i}}}},W=H||j.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 D(e)}(t):t};var q=Object.is,F=Object.defineProperty,K=Object.getOwnPropertyDescriptor,J=Object.getOwnPropertyNames,Z=Object.getOwnPropertySymbols,G=Object.getPrototypeOf,Q=globalThis;var X;(X=Q.customElements)!==null&&X!==void 0?X:Q.customElements=N;var Y=Q.trustedTypes,tt=Y?Y.emptyScript:"",te=Q.reactiveElementPolyfillSupport,tn=function(t,e){return t},tr={toAttribute:function t(t,e){switch(e){case Boolean:t=t?tt: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}},ti=function(t,e){return!q(t,e)},to={attribute:!0,type:String,converter:tr,reflect:!1,hasChanged:ti};var ta,tl;(ta=Symbol.metadata)!==null&&ta!==void 0?ta:Symbol.metadata=Symbol("metadata"),(tl=Q.litPropertyMetadata)!==null&&tl!==void 0?tl:Q.litPropertyMetadata=new WeakMap;var tu;var ts=/*#__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}s(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 z(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:tr).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:tr;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:ti)(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],u=a[1];this[l]=u}}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 s=this.constructor.elementProperties;var h=true,c=false,v=undefined;if(s.size>0)try{for(var d=s[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]:to;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&&F(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function t(t,e,n){var r;var i=(r=K(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:to}},{key:"_$Ei",value:function t(){if(this.hasOwnProperty(tn("elementProperties")))return;var t=G(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(tn("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tn("properties"))){var t=this.properties,e=w(J(t)).concat(w(Z(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 u=this[Symbol.metadata];if(u!==null){var s=litPropertyMetadata.get(u);var h=true,c=false,v=undefined;if(s!==void 0)try{for(var d=s[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](),S;!(m=(S=A.next()).done);m=true){var k=b(S.value,2),E=k[0],P=k[1];var O=this._$Eu(E,P);O!==void 0&&this._$Eh.set(O,E)}}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 u=l.value;e.unshift(W(u))}}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(W(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}((tu=globalThis.HTMLElement)!==null&&tu!==void 0?tu:U);var th;ts.elementStyles=[],ts.shadowRootOptions={mode:"open"},ts[tn("elementProperties")]=new Map,ts[tn("finalized")]=new Map,te===null||te===void 0?void 0:te({ReactiveElement:ts}),((th=Q.reactiveElementVersions)!==null&&th!==void 0?th:Q.reactiveElementVersions=[]).push("2.0.4");var tc=globalThis,tv=tc.trustedTypes,td=tv?tv.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,tf="$lit$",ty="lit$".concat(Math.random().toFixed(9).slice(2),"$"),tp="?"+ty,t_="<".concat(tp,">"),tm=tc.document===void 0?{createTreeWalker:function(){return{}}}:document,t$=function(){return tm.createComment("")},tb=function(t){return t===null||(typeof t==="undefined"?"undefined":S(t))!="object"&&typeof t!="function"},tg=Array.isArray,tA=function(t){return tg(t)||typeof(t===null||t===void 0?void 0:t[Symbol.iterator])=="function"},tw="[ \n\f\r]",tS=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,tk=/-->/g,tE=/>/g,tP=RegExp(">|".concat(tw,"(?:([^\\s\"'>=/]+)(").concat(tw,"*=").concat(tw,"*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),tO=/'/g,tR=/"/g,tC=/^(?:script|style|textarea|title)$/i,tx=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}}},tU=tx(1),tT=tx(2),tM=tx(3),tN=Symbol.for("lit-noChange"),tj=Symbol.for("lit-nothing"),tH=new WeakMap,tI=tm.createTreeWalker(tm,129);var tL=function(e,n){var r=e.length-1,i=[],o,a=n===2?"<svg>":n===3?"<math>":"",l=tS;for(var u=0;u<r;u++){var s=e[u],h=void 0,c=void 0,v=-1,d=0;for(;d<s.length&&(l.lastIndex=d,c=l.exec(s),c!==null);)d=l.lastIndex,l===tS?c[1]==="!--"?l=tk:c[1]!==void 0?l=tE:c[2]!==void 0?(tC.test(c[2])&&(o=RegExp("</"+c[2],"g")),l=tP):c[3]!==void 0&&(l=tP):l===tP?c[0]===">"?(l=o!==null&&o!==void 0?o:tS,v=-1):c[1]===void 0?v=-2:(v=l.lastIndex-c[2].length,h=c[1],l=c[3]===void 0?tP:c[3]==='"'?tR:tO):l===tR||l===tO?l=tP:l===tk||l===tE?l=tS:(l=tP,o=void 0);var f=l===tP&&e[u+1].startsWith("/>")?" ":"";a+=l===tS?s+t_:v>=0?(i.push(h),s.slice(0,v)+tf+s.slice(v)+ty+f):s+ty+(v===-2?u:f)}return[t(e,a+(e[r]||"<?>")+(n===2?"</svg>":n===3?"</math>":"")),i]},tV=/*#__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,u=0,s=r.length-1,h=this.parts,c=b(tL(r,i),2),v=c[0],d=c[1];if(this.el=t.createElement(v,n),tI.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=tI.nextNode())!==null&&h.length<s;){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(tf)){var S=d[u++],k=o.getAttribute(A).split(ty),E=/([.?@])?(.*)/.exec(S);h.push({type:1,index:a,name:E[2],strings:k,ctor:E[1]==="."?tq:E[1]==="?"?tF:E[1]==="@"?tK:tW}),o.removeAttribute(A)}else A.startsWith(ty)&&(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(tC.test(o.tagName)){var P=o.textContent.split(ty),O=P.length-1;if(O>0){o.textContent=tv?tv.emptyScript:"";for(var R=0;R<O;R++)o.append(P[R],t$()),tI.nextNode(),h.push({type:2,index:++a});o.append(P[O],t$())}}}else if(o.nodeType===8)if(o.data===tp)h.push({type:2,index:a});else{var C=-1;for(;(C=o.data.indexOf(ty,C+1))!==-1;)h.push({type:7,index:a}),C+=ty.length-1}a++}}s(t,null,[{key:"createElement",value:function t(t,e){var n=tm.createElement("template");return n.innerHTML=t,n}}]);return t}();function tD(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===tN)return e;var a=r!==void 0?(i=n._$Co)===null||i===void 0?void 0:i[r]:n._$Cl,l=tb(e)?void 0:e._$litDirective$;var u;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?((u=n._$Co)!==null&&u!==void 0?u:n._$Co=[])[r]=a:n._$Cl=a),a!==void 0&&(e=tD(t,a._$AS(t,e.values),a,r)),e}var tB=/*#__PURE__*/function(){"use strict";function t(e,n){l(this,t);this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}s(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:tm).importNode(i,!0);tI.currentNode=a;var l=tI.nextNode(),u=0,s=0,h=o[0];for(;h!==void 0;){if(u===h.index){var c=void 0;h.type===2?c=new tz(l,l.nextSibling,this,t):h.type===1?c=new h.ctor(l,h.name,h.strings,this,t):h.type===6&&(c=new tJ(l,this,t)),this._$AV.push(c),h=o[++s]}u!==(h===null||h===void 0?void 0:h.index)&&(l=tI.nextNode(),u++)}return tI.currentNode=tm,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}(),tz=/*#__PURE__*/function(){"use strict";function e(t,n,r,i){l(this,e);var o;this.type=2,this._$AH=tj,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}s(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=tD(this,t,e),tb(t)?t===tj||t==null||t===""?(this._$AH!==tj&&this._$AR(),this._$AH=tj):t!==this._$AH&&t!==tN&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):tA(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!==tj&&tb(this._$AH)?this._$AA.nextSibling.data=t:this.T(tm.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=tV.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 tB(o,this),l=a.u(this.options);a.p(r),this.T(l),this._$AH=a}}},{key:"_$AC",value:function t(t){var e=tH.get(t.strings);return e===void 0&&tH.set(t.strings,e=new tV(t)),e}},{key:"k",value:function t(t){tg(this._$AH)||(this._$AH=[],this._$AR());var n=this._$AH,r,i=0;var o=true,a=false,l=undefined;try{for(var u=t[Symbol.iterator](),s;!(o=(s=u.next()).done);o=true){var h=s.value;i===n.length?n.push(r=new e(this.O(t$()),this.O(t$()),this,this.options)):r=n[i],r._$AI(h),i++}}catch(t){a=true;l=t}finally{try{if(!o&&u.return!=null){u.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}(),tW=/*#__PURE__*/function(){"use strict";function t(e,n,r,i,o){l(this,t);this.type=1,this._$AH=tj,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=tj}s(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=tD(this,t,e,0),o=!tb(t)||t!==this._$AH&&t!==tN,o&&(this._$AH=t);else{var a=t,l,u;for(t=i[0],l=0;l<i.length-1;l++)u=tD(this,a[n+l],e,l),u===tN&&(u=this._$AH[l]),o||(o=!tb(u)||u!==this._$AH[l]),u===tj?t=tj:t!==tj&&(t+=(u!==null&&u!==void 0?u:"")+i[l+1]),this._$AH[l]=u}o&&!r&&this.j(t)}},{key:"j",value:function t(t){t===tj?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!==null&&t!==void 0?t:"")}}]);return t}(),tq=/*#__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}s(e,[{key:"j",value:function t(t){this.element[this.name]=t===tj?void 0:t}}]);return e}(tW),tF=/*#__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}s(e,[{key:"j",value:function t(t){this.element.toggleAttribute(this.name,!!t&&t!==tj)}}]);return e}(tW),tK=/*#__PURE__*/function(t){"use strict";v(e,t);function e(t,n,r,i,o){l(this,e);var u;u=a(this,e,[t,n,r,i,o]),u.type=5;return u}s(e,[{key:"_$AI",value:function t(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this;var n;if((t=(n=tD(this,t,e,0))!==null&&n!==void 0?n:tj)===tN)return;var r=this._$AH,i=t===tj&&r!==tj||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==tj&&(r===tj||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}(tW),tJ=/*#__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}s(t,[{key:"_$AU",get:function t(){return this._$AM._$AU}},{key:"_$AI",value:function t(t){tD(this,t)}}]);return t}();var tZ=tc.litHtmlPolyfillSupport;var tG;tZ===null||tZ===void 0?void 0:tZ(tV,tz),((tG=tc.litHtmlVersions)!==null&&tG!==void 0?tG:tc.litHtmlVersions=[]).push("3.2.1");var tQ=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 tz(e.insertBefore(t$(),l),l,void 0,n!==null&&n!==void 0?n:{})}return o._$AI(t),o};var tX=/*#__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}s(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=tQ(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 tN}}]);return e}(ts);tX._$litElement$=!0,tX.finalized=!0,(e=(n=globalThis).litElementHydrateSupport)===null||e===void 0?void 0:e.call(n,{LitElement:tX});var tY=globalThis.litElementPolyfillSupport;tY===null||tY===void 0?void 0:tY({LitElement:tX});var t0;((t0=globalThis.litElementVersions)!==null&&t0!==void 0?t0:globalThis.litElementVersions=[]).push("4.1.1");var t1=B(O()),t2=B(R(),t1),t3=B(C()),t4=B(x(),t1);return _(m)}();/*! 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
+ */
@@ -0,0 +1 @@
1
+ import{a,b,c,d}from"../../chunk-MFWSHIPH.js";import"../../chunk-4DFVJE2A.js";import"../../chunk-VI2WKTN4.js";export{b as btn,c as dis,a as form,d as ind};