eat-js-sdk 1.0.29 → 1.0.31

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.
@@ -727,7 +727,7 @@
727
727
  }
728
728
  component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
729
729
  }
730
- function init(component, options, instance21, create_fragment34, not_equal, props, append_styles2 = null, dirty = [-1]) {
730
+ function init(component, options, instance19, create_fragment32, not_equal, props, append_styles2 = null, dirty = [-1]) {
731
731
  const parent_component = current_component;
732
732
  set_current_component(component);
733
733
  const $$ = component.$$ = {
@@ -753,7 +753,7 @@
753
753
  };
754
754
  append_styles2 && append_styles2($$.root);
755
755
  let ready = false;
756
- $$.ctx = instance21 ? instance21(component, options.props || {}, (i, ret, ...rest) => {
756
+ $$.ctx = instance19 ? instance19(component, options.props || {}, (i, ret, ...rest) => {
757
757
  const value = rest.length ? rest[0] : ret;
758
758
  if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
759
759
  if (!$$.skip_bound && $$.bound[i])
@@ -766,7 +766,7 @@
766
766
  $$.update();
767
767
  ready = true;
768
768
  run_all($$.before_update);
769
- $$.fragment = create_fragment34 ? create_fragment34($$.ctx) : false;
769
+ $$.fragment = create_fragment32 ? create_fragment32($$.ctx) : false;
770
770
  if (options.target) {
771
771
  if (options.hydrate) {
772
772
  start_hydrating();
@@ -2858,7 +2858,7 @@
2858
2858
  create_custom_element(InfoSolid, {}, [], [], true);
2859
2859
  var InfoSolid_default = InfoSolid;
2860
2860
 
2861
- // src/lib/components/prompt/template/PromptResultFeedbackv2.svelte
2861
+ // src/lib/components/prompt/template/PromptResultFeedbackAlert.svelte
2862
2862
  function create_if_block4(ctx) {
2863
2863
  let div1;
2864
2864
  let t0;
@@ -2866,20 +2866,28 @@
2866
2866
  let t1;
2867
2867
  let t2;
2868
2868
  let span;
2869
- let t3;
2869
+ let commonstringtohtml;
2870
2870
  let div1_role_value;
2871
2871
  let div1_class_value;
2872
2872
  let current;
2873
2873
  let if_block0 = (
2874
2874
  /*hasIcon*/
2875
- ctx[4] && create_if_block_32(ctx)
2875
+ ctx[0] && create_if_block_32(ctx)
2876
2876
  );
2877
2877
  let if_block1 = !/*isFeedbackAlert*/
2878
- ctx[5] && create_if_block_23(ctx);
2878
+ ctx[1] && create_if_block_23(ctx);
2879
2879
  let if_block2 = (
2880
- /*resultFeedbackTitle*/
2881
- ctx[1] && create_if_block_13(ctx)
2880
+ /*displayedResultFeedbackTitle*/
2881
+ ctx[5] && create_if_block_13(ctx)
2882
2882
  );
2883
+ commonstringtohtml = new CommonStringToHtml_default({
2884
+ props: {
2885
+ htmlString: (
2886
+ /*displayedResultFeedback*/
2887
+ ctx[4]
2888
+ )
2889
+ }
2890
+ });
2883
2891
  return {
2884
2892
  c() {
2885
2893
  div1 = element("div");
@@ -2894,12 +2902,9 @@
2894
2902
  if_block2.c();
2895
2903
  t2 = space();
2896
2904
  span = element("span");
2897
- t3 = text(
2898
- /*resultFeedback*/
2899
- ctx[0]
2900
- );
2905
+ create_component(commonstringtohtml.$$.fragment);
2901
2906
  attr(div1, "role", div1_role_value = /*isFeedbackAlert*/
2902
- ctx[5] ? "alert" : null);
2907
+ ctx[1] ? "alert" : null);
2903
2908
  attr(div1, "class", div1_class_value = "my-6 p-4 border-l-4 text-charcoal text-base flex " + /*isSkipped*/
2904
2909
  (ctx[3] ? "border-blue-950 bg-blue-50" : (
2905
2910
  /*isResultCorrect*/
@@ -2919,18 +2924,18 @@
2919
2924
  if_block2.m(div0, null);
2920
2925
  append(div0, t2);
2921
2926
  append(div0, span);
2922
- append(span, t3);
2927
+ mount_component(commonstringtohtml, span, null);
2923
2928
  current = true;
2924
2929
  },
2925
2930
  p(ctx2, dirty) {
2926
2931
  if (
2927
2932
  /*hasIcon*/
2928
- ctx2[4]
2933
+ ctx2[0]
2929
2934
  ) {
2930
2935
  if (if_block0) {
2931
2936
  if_block0.p(ctx2, dirty);
2932
2937
  if (dirty & /*hasIcon*/
2933
- 16) {
2938
+ 1) {
2934
2939
  transition_in(if_block0, 1);
2935
2940
  }
2936
2941
  } else {
@@ -2947,7 +2952,7 @@
2947
2952
  check_outros();
2948
2953
  }
2949
2954
  if (!/*isFeedbackAlert*/
2950
- ctx2[5]) {
2955
+ ctx2[1]) {
2951
2956
  if (if_block1) {
2952
2957
  } else {
2953
2958
  if_block1 = create_if_block_23(ctx2);
@@ -2959,8 +2964,8 @@
2959
2964
  if_block1 = null;
2960
2965
  }
2961
2966
  if (
2962
- /*resultFeedbackTitle*/
2963
- ctx2[1]
2967
+ /*displayedResultFeedbackTitle*/
2968
+ ctx2[5]
2964
2969
  ) {
2965
2970
  if (if_block2) {
2966
2971
  if_block2.p(ctx2, dirty);
@@ -2973,16 +2978,15 @@
2973
2978
  if_block2.d(1);
2974
2979
  if_block2 = null;
2975
2980
  }
2976
- if (!current || dirty & /*resultFeedback*/
2977
- 1)
2978
- set_data(
2979
- t3,
2980
- /*resultFeedback*/
2981
- ctx2[0]
2982
- );
2981
+ const commonstringtohtml_changes = {};
2982
+ if (dirty & /*displayedResultFeedback*/
2983
+ 16)
2984
+ commonstringtohtml_changes.htmlString = /*displayedResultFeedback*/
2985
+ ctx2[4];
2986
+ commonstringtohtml.$set(commonstringtohtml_changes);
2983
2987
  if (!current || dirty & /*isFeedbackAlert*/
2984
- 32 && div1_role_value !== (div1_role_value = /*isFeedbackAlert*/
2985
- ctx2[5] ? "alert" : null)) {
2988
+ 2 && div1_role_value !== (div1_role_value = /*isFeedbackAlert*/
2989
+ ctx2[1] ? "alert" : null)) {
2986
2990
  attr(div1, "role", div1_role_value);
2987
2991
  }
2988
2992
  if (!current || dirty & /*isSkipped, isResultCorrect*/
@@ -2998,10 +3002,12 @@
2998
3002
  if (current)
2999
3003
  return;
3000
3004
  transition_in(if_block0);
3005
+ transition_in(commonstringtohtml.$$.fragment, local);
3001
3006
  current = true;
3002
3007
  },
3003
3008
  o(local) {
3004
3009
  transition_out(if_block0);
3010
+ transition_out(commonstringtohtml.$$.fragment, local);
3005
3011
  current = false;
3006
3012
  },
3007
3013
  d(detaching) {
@@ -3014,6 +3020,7 @@
3014
3020
  if_block1.d();
3015
3021
  if (if_block2)
3016
3022
  if_block2.d();
3023
+ destroy_component(commonstringtohtml);
3017
3024
  }
3018
3025
  };
3019
3026
  }
@@ -3092,8 +3099,8 @@
3092
3099
  c() {
3093
3100
  span = element("span");
3094
3101
  t2 = text(
3095
- /*resultFeedbackTitle*/
3096
- ctx[1]
3102
+ /*displayedResultFeedbackTitle*/
3103
+ ctx[5]
3097
3104
  );
3098
3105
  attr(span, "class", "block mb-1 font-semibold");
3099
3106
  },
@@ -3102,12 +3109,12 @@
3102
3109
  append(span, t2);
3103
3110
  },
3104
3111
  p(ctx2, dirty) {
3105
- if (dirty & /*resultFeedbackTitle*/
3106
- 2)
3112
+ if (dirty & /*displayedResultFeedbackTitle*/
3113
+ 32)
3107
3114
  set_data(
3108
3115
  t2,
3109
- /*resultFeedbackTitle*/
3110
- ctx2[1]
3116
+ /*displayedResultFeedbackTitle*/
3117
+ ctx2[5]
3111
3118
  );
3112
3119
  },
3113
3120
  d(detaching) {
@@ -3121,8 +3128,8 @@
3121
3128
  let if_block_anchor;
3122
3129
  let current;
3123
3130
  let if_block = (
3124
- /*resultFeedback*/
3125
- ctx[0] && create_if_block4(ctx)
3131
+ /*displayedResultFeedback*/
3132
+ ctx[4] && create_if_block4(ctx)
3126
3133
  );
3127
3134
  return {
3128
3135
  c() {
@@ -3138,13 +3145,13 @@
3138
3145
  },
3139
3146
  p(ctx2, [dirty]) {
3140
3147
  if (
3141
- /*resultFeedback*/
3142
- ctx2[0]
3148
+ /*displayedResultFeedback*/
3149
+ ctx2[4]
3143
3150
  ) {
3144
3151
  if (if_block) {
3145
3152
  if_block.p(ctx2, dirty);
3146
- if (dirty & /*resultFeedback*/
3147
- 1) {
3153
+ if (dirty & /*displayedResultFeedback*/
3154
+ 16) {
3148
3155
  transition_in(if_block, 1);
3149
3156
  }
3150
3157
  } else {
@@ -3181,69 +3188,75 @@
3181
3188
  };
3182
3189
  }
3183
3190
  function instance4($$self, $$props, $$invalidate) {
3184
- let { resultFeedback = null } = $$props;
3185
- let { resultFeedbackTitle = null } = $$props;
3186
- let { isResultCorrect = true } = $$props;
3187
- let { isSkipped = false } = $$props;
3191
+ let displayedResultFeedbackTitle;
3192
+ let displayedResultFeedback;
3188
3193
  let { hasIcon = false } = $$props;
3189
3194
  let { isFeedbackAlert = true } = $$props;
3195
+ let { isResultCorrect = true } = $$props;
3196
+ let { isSkipped = false } = $$props;
3197
+ let { resultFeedback = null } = $$props;
3198
+ let { resultFeedbackTitle = null } = $$props;
3190
3199
  $$self.$$set = ($$props2) => {
3191
- if ("resultFeedback" in $$props2)
3192
- $$invalidate(0, resultFeedback = $$props2.resultFeedback);
3193
- if ("resultFeedbackTitle" in $$props2)
3194
- $$invalidate(1, resultFeedbackTitle = $$props2.resultFeedbackTitle);
3200
+ if ("hasIcon" in $$props2)
3201
+ $$invalidate(0, hasIcon = $$props2.hasIcon);
3202
+ if ("isFeedbackAlert" in $$props2)
3203
+ $$invalidate(1, isFeedbackAlert = $$props2.isFeedbackAlert);
3195
3204
  if ("isResultCorrect" in $$props2)
3196
3205
  $$invalidate(2, isResultCorrect = $$props2.isResultCorrect);
3197
3206
  if ("isSkipped" in $$props2)
3198
3207
  $$invalidate(3, isSkipped = $$props2.isSkipped);
3199
- if ("hasIcon" in $$props2)
3200
- $$invalidate(4, hasIcon = $$props2.hasIcon);
3201
- if ("isFeedbackAlert" in $$props2)
3202
- $$invalidate(5, isFeedbackAlert = $$props2.isFeedbackAlert);
3208
+ if ("resultFeedback" in $$props2)
3209
+ $$invalidate(6, resultFeedback = $$props2.resultFeedback);
3210
+ if ("resultFeedbackTitle" in $$props2)
3211
+ $$invalidate(7, resultFeedbackTitle = $$props2.resultFeedbackTitle);
3203
3212
  };
3204
3213
  $$self.$$.update = () => {
3205
- if ($$self.$$.dirty & /*isSkipped*/
3206
- 8) {
3214
+ if ($$self.$$.dirty & /*isSkipped, resultFeedbackTitle*/
3215
+ 136) {
3207
3216
  $:
3208
- if (isSkipped) {
3209
- $$invalidate(1, resultFeedbackTitle = "No answer was provided");
3210
- $$invalidate(0, resultFeedback = "It may be that the student struggled with this question or mistakenly skipped this question.");
3211
- }
3217
+ $$invalidate(5, displayedResultFeedbackTitle = isSkipped ? "No answer was provided" : resultFeedbackTitle);
3218
+ }
3219
+ if ($$self.$$.dirty & /*isSkipped, resultFeedback*/
3220
+ 72) {
3221
+ $:
3222
+ $$invalidate(4, displayedResultFeedback = isSkipped ? "It may be that the student struggled with this question or mistakenly skipped this question." : resultFeedback);
3212
3223
  }
3213
3224
  };
3214
3225
  return [
3215
- resultFeedback,
3216
- resultFeedbackTitle,
3226
+ hasIcon,
3227
+ isFeedbackAlert,
3217
3228
  isResultCorrect,
3218
3229
  isSkipped,
3219
- hasIcon,
3220
- isFeedbackAlert
3230
+ displayedResultFeedback,
3231
+ displayedResultFeedbackTitle,
3232
+ resultFeedback,
3233
+ resultFeedbackTitle
3221
3234
  ];
3222
3235
  }
3223
- var PromptResultFeedbackv2 = class extends SvelteComponent {
3236
+ var PromptResultFeedbackAlert = class extends SvelteComponent {
3224
3237
  constructor(options) {
3225
3238
  super();
3226
3239
  init(this, options, instance4, create_fragment5, safe_not_equal, {
3227
- resultFeedback: 0,
3228
- resultFeedbackTitle: 1,
3240
+ hasIcon: 0,
3241
+ isFeedbackAlert: 1,
3229
3242
  isResultCorrect: 2,
3230
3243
  isSkipped: 3,
3231
- hasIcon: 4,
3232
- isFeedbackAlert: 5
3244
+ resultFeedback: 6,
3245
+ resultFeedbackTitle: 7
3233
3246
  });
3234
3247
  }
3235
- get resultFeedback() {
3248
+ get hasIcon() {
3236
3249
  return this.$$.ctx[0];
3237
3250
  }
3238
- set resultFeedback(resultFeedback) {
3239
- this.$$set({ resultFeedback });
3251
+ set hasIcon(hasIcon) {
3252
+ this.$$set({ hasIcon });
3240
3253
  flush();
3241
3254
  }
3242
- get resultFeedbackTitle() {
3255
+ get isFeedbackAlert() {
3243
3256
  return this.$$.ctx[1];
3244
3257
  }
3245
- set resultFeedbackTitle(resultFeedbackTitle) {
3246
- this.$$set({ resultFeedbackTitle });
3258
+ set isFeedbackAlert(isFeedbackAlert) {
3259
+ this.$$set({ isFeedbackAlert });
3247
3260
  flush();
3248
3261
  }
3249
3262
  get isResultCorrect() {
@@ -3260,23 +3273,23 @@
3260
3273
  this.$$set({ isSkipped });
3261
3274
  flush();
3262
3275
  }
3263
- get hasIcon() {
3264
- return this.$$.ctx[4];
3276
+ get resultFeedback() {
3277
+ return this.$$.ctx[6];
3265
3278
  }
3266
- set hasIcon(hasIcon) {
3267
- this.$$set({ hasIcon });
3279
+ set resultFeedback(resultFeedback) {
3280
+ this.$$set({ resultFeedback });
3268
3281
  flush();
3269
3282
  }
3270
- get isFeedbackAlert() {
3271
- return this.$$.ctx[5];
3283
+ get resultFeedbackTitle() {
3284
+ return this.$$.ctx[7];
3272
3285
  }
3273
- set isFeedbackAlert(isFeedbackAlert) {
3274
- this.$$set({ isFeedbackAlert });
3286
+ set resultFeedbackTitle(resultFeedbackTitle) {
3287
+ this.$$set({ resultFeedbackTitle });
3275
3288
  flush();
3276
3289
  }
3277
3290
  };
3278
- customElements.define("prompt-result-feedbackv2", create_custom_element(PromptResultFeedbackv2, { "resultFeedback": {}, "resultFeedbackTitle": {}, "isResultCorrect": { "type": "Boolean" }, "isSkipped": { "type": "Boolean" }, "hasIcon": { "type": "Boolean" }, "isFeedbackAlert": { "type": "Boolean" } }, [], [], true));
3279
- var PromptResultFeedbackv2_default = PromptResultFeedbackv2;
3291
+ customElements.define("prompt-result-feedbackv3", create_custom_element(PromptResultFeedbackAlert, { "hasIcon": { "type": "Boolean" }, "isFeedbackAlert": { "type": "Boolean" }, "isResultCorrect": { "type": "Boolean" }, "isSkipped": { "type": "Boolean" }, "resultFeedback": {}, "resultFeedbackTitle": {} }, [], [], true));
3292
+ var PromptResultFeedbackAlert_default = PromptResultFeedbackAlert;
3280
3293
 
3281
3294
  // src/lib/composables/useMCQ.ts
3282
3295
  var useAlphabetEquivalent = (index) => {
@@ -3483,19 +3496,15 @@
3483
3496
  // src/lib/components/prompt/mcq/PromptMCQ.svelte
3484
3497
  function get_each_context(ctx, list, i) {
3485
3498
  const child_ctx = ctx.slice();
3486
- child_ctx[27] = list[i];
3487
- child_ctx[29] = i;
3499
+ child_ctx[29] = list[i];
3500
+ child_ctx[31] = i;
3488
3501
  return child_ctx;
3489
3502
  }
3490
3503
  function create_if_block_82(ctx) {
3491
3504
  let promptresult;
3492
3505
  let current;
3493
- promptresult = new PromptResultFeedbackv2_default({
3506
+ promptresult = new PromptResultFeedbackAlert_default({
3494
3507
  props: {
3495
- isSkipped: (
3496
- /*isSkipped*/
3497
- ctx[14]()
3498
- ),
3499
3508
  hasIcon: true,
3500
3509
  isFeedbackAlert: (
3501
3510
  /*isPreviewModeInteractive*/
@@ -3504,18 +3513,21 @@
3504
3513
  isResultCorrect: (
3505
3514
  /*selectedOptions*/
3506
3515
  ctx[4].length === /*correctAnswersLength*/
3507
- ctx[6] && /*isResultCorrect*/
3516
+ ctx[5] && /*isResultCorrect*/
3508
3517
  ctx[13](
3509
3518
  /*selectedOptions*/
3510
3519
  ctx[4],
3511
3520
  /*correctAnswerIds*/
3512
- ctx[7]
3521
+ ctx[6]
3513
3522
  )
3514
3523
  ),
3515
- resultFeedbackTitle: "Why they got it wrong",
3524
+ isSkipped: (
3525
+ /*isSkipped*/
3526
+ ctx[14]()
3527
+ ),
3516
3528
  resultFeedback: (
3517
3529
  /*resultFeedback*/
3518
- ctx[5]
3530
+ ctx[7]
3519
3531
  )
3520
3532
  }
3521
3533
  });
@@ -3529,25 +3541,25 @@
3529
3541
  },
3530
3542
  p(ctx2, dirty) {
3531
3543
  const promptresult_changes = {};
3532
- if (dirty & /*isPreviewModeInteractive*/
3544
+ if (dirty[0] & /*isPreviewModeInteractive*/
3533
3545
  8)
3534
3546
  promptresult_changes.isFeedbackAlert = /*isPreviewModeInteractive*/
3535
3547
  ctx2[3] ? false : true;
3536
- if (dirty & /*selectedOptions, correctAnswersLength, correctAnswerIds*/
3537
- 208)
3548
+ if (dirty[0] & /*selectedOptions, correctAnswersLength, correctAnswerIds*/
3549
+ 112)
3538
3550
  promptresult_changes.isResultCorrect = /*selectedOptions*/
3539
3551
  ctx2[4].length === /*correctAnswersLength*/
3540
- ctx2[6] && /*isResultCorrect*/
3552
+ ctx2[5] && /*isResultCorrect*/
3541
3553
  ctx2[13](
3542
3554
  /*selectedOptions*/
3543
3555
  ctx2[4],
3544
3556
  /*correctAnswerIds*/
3545
- ctx2[7]
3557
+ ctx2[6]
3546
3558
  );
3547
- if (dirty & /*resultFeedback*/
3548
- 32)
3559
+ if (dirty[0] & /*resultFeedback*/
3560
+ 128)
3549
3561
  promptresult_changes.resultFeedback = /*resultFeedback*/
3550
- ctx2[5];
3562
+ ctx2[7];
3551
3563
  promptresult.$set(promptresult_changes);
3552
3564
  },
3553
3565
  i(local) {
@@ -3606,13 +3618,13 @@
3606
3618
  current = true;
3607
3619
  },
3608
3620
  p(ctx2, dirty) {
3609
- if (!current || dirty & /*isDataSaving*/
3621
+ if (!current || dirty[0] & /*isDataSaving*/
3610
3622
  1 && div0_class_value !== (div0_class_value = /*isDataSaving*/
3611
3623
  ctx2[0] ? "absolute inset-0 bg-transparent z-50" : "")) {
3612
3624
  attr(div0, "class", div0_class_value);
3613
3625
  }
3614
- if (dirty & /*correctAnswersLength, selectedOptions, Object, options, isFinished, isPreviewModeInteractive, isPreviewMode, correctAnswerIds, handleOptionClick*/
3615
- 37086) {
3626
+ if (dirty[0] & /*correctAnswersLength, selectedOptions, options, isFinished, isPreviewModeInteractive, isPreviewMode, correctAnswerIds, handleOptionClick*/
3627
+ 36990) {
3616
3628
  each_value = ensure_array_like(Object.values(
3617
3629
  /*options*/
3618
3630
  ctx2[12]
@@ -3681,7 +3693,7 @@
3681
3693
  append(p, t2);
3682
3694
  },
3683
3695
  p(ctx2, dirty) {
3684
- if (dirty & /*isPreviewModeInteractive, isPreviewMode*/
3696
+ if (dirty[0] & /*isPreviewModeInteractive, isPreviewMode*/
3685
3697
  12 && t_value !== (t_value = /*isPreviewModeInteractive*/
3686
3698
  ctx2[3] ? "Your answer:" : (
3687
3699
  /*isPreviewMode*/
@@ -3759,14 +3771,14 @@
3759
3771
  const if_block_creators = [create_if_block_42, create_else_block];
3760
3772
  const if_blocks = [];
3761
3773
  function select_block_type(ctx2, dirty) {
3762
- if (dirty & /*correctAnswerIds, isPreviewMode, isPreviewModeInteractive*/
3763
- 140)
3774
+ if (dirty[0] & /*correctAnswerIds, isPreviewMode, isPreviewModeInteractive*/
3775
+ 76)
3764
3776
  show_if = null;
3765
3777
  if (show_if == null)
3766
3778
  show_if = !!/*correctAnswerIds*/
3767
- (ctx2[7]?.includes(
3779
+ (ctx2[6]?.includes(
3768
3780
  /*option*/
3769
- ctx2[27].id
3781
+ ctx2[29].id
3770
3782
  ) || /*isPreviewMode*/
3771
3783
  ctx2[2] && !/*isPreviewModeInteractive*/
3772
3784
  ctx2[3]);
@@ -3774,7 +3786,7 @@
3774
3786
  return 0;
3775
3787
  return 1;
3776
3788
  }
3777
- current_block_type_index = select_block_type(ctx, -1);
3789
+ current_block_type_index = select_block_type(ctx, [-1, -1]);
3778
3790
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
3779
3791
  return {
3780
3792
  c() {
@@ -3782,9 +3794,9 @@
3782
3794
  if_block.c();
3783
3795
  attr(span, "aria-hidden", "true");
3784
3796
  attr(span, "class", span_class_value = /*correctAnswerIds*/
3785
- (ctx[7]?.includes(
3797
+ (ctx[6]?.includes(
3786
3798
  /*option*/
3787
- ctx[27].id
3799
+ ctx[29].id
3788
3800
  ) || /*isPreviewMode*/
3789
3801
  ctx[2] && !/*isPreviewModeInteractive*/
3790
3802
  ctx[3] ? "text-green-900" : "text-red-900") + " p-0.5");
@@ -3812,11 +3824,11 @@
3812
3824
  transition_in(if_block, 1);
3813
3825
  if_block.m(span, null);
3814
3826
  }
3815
- if (!current || dirty & /*correctAnswerIds, isPreviewMode, isPreviewModeInteractive*/
3816
- 140 && span_class_value !== (span_class_value = /*correctAnswerIds*/
3817
- (ctx2[7]?.includes(
3827
+ if (!current || dirty[0] & /*correctAnswerIds, isPreviewMode, isPreviewModeInteractive*/
3828
+ 76 && span_class_value !== (span_class_value = /*correctAnswerIds*/
3829
+ (ctx2[6]?.includes(
3818
3830
  /*option*/
3819
- ctx2[27].id
3831
+ ctx2[29].id
3820
3832
  ) || /*isPreviewMode*/
3821
3833
  ctx2[2] && !/*isPreviewModeInteractive*/
3822
3834
  ctx2[3] ? "text-green-900" : "text-red-900") + " p-0.5")) {
@@ -3901,7 +3913,7 @@
3901
3913
  /*selectedOptions*/
3902
3914
  ctx[4].includes(
3903
3915
  /*option*/
3904
- ctx[27].id
3916
+ ctx[29].id
3905
3917
  )
3906
3918
  );
3907
3919
  let span_class_value;
@@ -3915,7 +3927,7 @@
3915
3927
  attr(span, "class", span_class_value = "custom-checkbox " + /*selectedOptions*/
3916
3928
  (ctx[4].includes(
3917
3929
  /*option*/
3918
- ctx[27].id
3930
+ ctx[29].id
3919
3931
  ) ? "border-soft-blue" : "border-gray-850") + " " + /*isPreviewMode*/
3920
3932
  (ctx[2] && !/*isPreviewModeInteractive*/
3921
3933
  ctx[3] || /*isFinished*/
@@ -3929,16 +3941,16 @@
3929
3941
  current = true;
3930
3942
  },
3931
3943
  p(ctx2, dirty) {
3932
- if (dirty & /*selectedOptions*/
3944
+ if (dirty[0] & /*selectedOptions*/
3933
3945
  16)
3934
3946
  show_if = /*selectedOptions*/
3935
3947
  ctx2[4].includes(
3936
3948
  /*option*/
3937
- ctx2[27].id
3949
+ ctx2[29].id
3938
3950
  );
3939
3951
  if (show_if) {
3940
3952
  if (if_block) {
3941
- if (dirty & /*selectedOptions*/
3953
+ if (dirty[0] & /*selectedOptions*/
3942
3954
  16) {
3943
3955
  transition_in(if_block, 1);
3944
3956
  }
@@ -3955,11 +3967,11 @@
3955
3967
  });
3956
3968
  check_outros();
3957
3969
  }
3958
- if (!current || dirty & /*selectedOptions, isPreviewMode, isPreviewModeInteractive, isFinished*/
3970
+ if (!current || dirty[0] & /*selectedOptions, isPreviewMode, isPreviewModeInteractive, isFinished*/
3959
3971
  30 && span_class_value !== (span_class_value = "custom-checkbox " + /*selectedOptions*/
3960
3972
  (ctx2[4].includes(
3961
3973
  /*option*/
3962
- ctx2[27].id
3974
+ ctx2[29].id
3963
3975
  ) ? "border-soft-blue" : "border-gray-850") + " " + /*isPreviewMode*/
3964
3976
  (ctx2[2] && !/*isPreviewModeInteractive*/
3965
3977
  ctx2[3] || /*isFinished*/
@@ -4027,9 +4039,9 @@
4027
4039
  ctx[1] && /*selectedOptions*/
4028
4040
  ctx[4].includes(
4029
4041
  /*option*/
4030
- ctx[27].id
4042
+ ctx[29].id
4031
4043
  ) && /*correctAnswersLength*/
4032
- ctx[6] == 1
4044
+ ctx[5] == 1
4033
4045
  );
4034
4046
  let t0;
4035
4047
  let button;
@@ -4041,19 +4053,19 @@
4041
4053
  let show_if_3 = (
4042
4054
  /*isFinished*/
4043
4055
  ctx[1] && /*correctAnswerIds*/
4044
- ctx[7]?.includes(
4056
+ ctx[6]?.includes(
4045
4057
  /*option*/
4046
- ctx[27].id
4058
+ ctx[29].id
4047
4059
  ) && (!/*selectedOptions*/
4048
4060
  ctx[4].includes(
4049
4061
  /*option*/
4050
- ctx[27].id
4062
+ ctx[29].id
4051
4063
  ) || !/*selectedOptions*/
4052
4064
  ctx[4].length) && (!/*isPreviewModeInteractive*/
4053
4065
  ctx[3] || /*isPreviewModeInteractive*/
4054
4066
  ctx[3] && /*selectedOptions*/
4055
4067
  ctx[4].length === /*correctAnswersLength*/
4056
- ctx[6])
4068
+ ctx[5])
4057
4069
  );
4058
4070
  let t3;
4059
4071
  let commonstringtohtml;
@@ -4062,46 +4074,46 @@
4062
4074
  let show_if_2 = (
4063
4075
  /*isFinished*/
4064
4076
  ctx[1] && /*correctAnswerIds*/
4065
- ctx[7]?.includes(
4077
+ ctx[6]?.includes(
4066
4078
  /*option*/
4067
- ctx[27].id
4079
+ ctx[29].id
4068
4080
  ) && !/*selectedOptions*/
4069
4081
  ctx[4].includes(
4070
4082
  /*option*/
4071
- ctx[27].id
4083
+ ctx[29].id
4072
4084
  ) && (!/*isPreviewModeInteractive*/
4073
4085
  ctx[3] || /*isPreviewModeInteractive*/
4074
4086
  ctx[3] && /*selectedOptions*/
4075
4087
  ctx[4].length === /*correctAnswersLength*/
4076
- ctx[6])
4088
+ ctx[5])
4077
4089
  );
4078
4090
  let t5;
4079
4091
  let show_if_1 = (
4080
4092
  /*selectedOptions*/
4081
4093
  ctx[4].includes(
4082
4094
  /*option*/
4083
- ctx[27].id
4095
+ ctx[29].id
4084
4096
  ) && /*isFinished*/
4085
4097
  (ctx[1] && !/*isPreviewModeInteractive*/
4086
4098
  ctx[3] || /*isPreviewModeInteractive*/
4087
4099
  ctx[3] && /*selectedOptions*/
4088
4100
  ctx[4].length === /*correctAnswersLength*/
4089
- ctx[6])
4101
+ ctx[5])
4090
4102
  );
4091
4103
  let t6;
4092
4104
  let show_if = (
4093
4105
  /*correctAnswersLength*/
4094
- ctx[6] > 1 && (!/*isFinished*/
4106
+ ctx[5] > 1 && (!/*isFinished*/
4095
4107
  ctx[1] && !/*isPreviewModeInteractive*/
4096
4108
  ctx[3] || /*isFinished*/
4097
4109
  ctx[1] && !/*selectedOptions*/
4098
4110
  ctx[4].includes(
4099
4111
  /*option*/
4100
- ctx[27].id
4112
+ ctx[29].id
4101
4113
  ) && !/*correctAnswerIds*/
4102
- ctx[7].includes(
4114
+ ctx[6].includes(
4103
4115
  /*option*/
4104
- ctx[27].id
4116
+ ctx[29].id
4105
4117
  ) || /*isPreviewModeInteractive*/
4106
4118
  ctx[3])
4107
4119
  );
@@ -4122,7 +4134,7 @@
4122
4134
  otherClass: "",
4123
4135
  htmlString: (
4124
4136
  /*option*/
4125
- ctx[27].answer
4137
+ ctx[29].answer
4126
4138
  )
4127
4139
  }
4128
4140
  });
@@ -4132,18 +4144,18 @@
4132
4144
  function func() {
4133
4145
  return (
4134
4146
  /*func*/
4135
- ctx[17](
4147
+ ctx[18](
4136
4148
  /*option*/
4137
- ctx[27]
4149
+ ctx[29]
4138
4150
  )
4139
4151
  );
4140
4152
  }
4141
4153
  function click_handler() {
4142
4154
  return (
4143
4155
  /*click_handler*/
4144
- ctx[18](
4156
+ ctx[19](
4145
4157
  /*option*/
4146
- ctx[27]
4158
+ ctx[29]
4147
4159
  )
4148
4160
  );
4149
4161
  }
@@ -4158,7 +4170,7 @@
4158
4170
  span0 = element("span");
4159
4171
  span0.textContent = `${useMCQ_default(
4160
4172
  /*index*/
4161
- ctx[29]
4173
+ ctx[31]
4162
4174
  )}`;
4163
4175
  t2 = space();
4164
4176
  span1 = element("span");
@@ -4183,15 +4195,15 @@
4183
4195
  attr(span3, "class", "flex items-center");
4184
4196
  attr(span4, "class", "grow flex items-center justify-between");
4185
4197
  attr(button, "role", button_role_value = /*correctAnswersLength*/
4186
- ctx[6] > 1 ? "checkbox" : null);
4198
+ ctx[5] > 1 ? "checkbox" : null);
4187
4199
  attr(button, "tabindex", button_tabindex_value = /*correctAnswersLength*/
4188
- ctx[6] > 1 ? 0 : null);
4200
+ ctx[5] > 1 ? 0 : null);
4189
4201
  attr(button, "aria-checked", button_aria_checked_value = /*correctAnswersLength*/
4190
- ctx[6] > 1 ? (
4202
+ ctx[5] > 1 ? (
4191
4203
  /*selectedOptions*/
4192
4204
  ctx[4].includes(
4193
4205
  /*option*/
4194
- ctx[27].id
4206
+ ctx[29].id
4195
4207
  )
4196
4208
  ) : null);
4197
4209
  attr(button, "aria-disabled", button_aria_disabled_value = /*isFinished*/
@@ -4202,56 +4214,56 @@
4202
4214
  ctx[3]) && /*selectedOptions*/
4203
4215
  ctx[4].includes(
4204
4216
  /*option*/
4205
- ctx[27].id
4217
+ ctx[29].id
4206
4218
  ) ? "Selected " : ""}${`Option ${useMCQ_default(
4207
4219
  /*index*/
4208
- ctx[29]
4220
+ ctx[31]
4209
4221
  )}`}: ${useRemoveRichTextHtmlTags(
4210
4222
  /*option*/
4211
- ctx[27].answer
4223
+ ctx[29].answer
4212
4224
  )} ${func()}`);
4213
4225
  attr(button, "class", button_class_value = "group text-left btn-mcq-option " + (!/*isFinished*/
4214
4226
  ctx[1] || /*isPreviewModeInteractive*/
4215
4227
  ctx[3] ? "active:raw-focus-ring-by" : "finished") + " " + /*selectedOptions*/
4216
4228
  (ctx[4].includes(
4217
4229
  /*option*/
4218
- ctx[27].id
4230
+ ctx[29].id
4219
4231
  ) ? "selected" : "") + " " + /*isFinished*/
4220
4232
  (ctx[1] && /*correctAnswerIds*/
4221
- ctx[7]?.includes(
4233
+ ctx[6]?.includes(
4222
4234
  /*option*/
4223
- ctx[27].id
4235
+ ctx[29].id
4224
4236
  ) && (!/*selectedOptions*/
4225
4237
  ctx[4].includes(
4226
4238
  /*option*/
4227
- ctx[27].id
4239
+ ctx[29].id
4228
4240
  ) || !/*selectedOptions*/
4229
4241
  ctx[4].length) && (!/*isPreviewModeInteractive*/
4230
4242
  ctx[3] || /*isPreviewModeInteractive*/
4231
4243
  ctx[3] && /*selectedOptions*/
4232
4244
  ctx[4].length === /*correctAnswersLength*/
4233
- ctx[6]) ? "missing" : "") + " " + /*isFinished*/
4245
+ ctx[5]) ? "missing" : "") + " " + /*isFinished*/
4234
4246
  ((ctx[1] && !/*isPreviewModeInteractive*/
4235
4247
  ctx[3] || /*isPreviewModeInteractive*/
4236
4248
  ctx[3] && /*selectedOptions*/
4237
4249
  ctx[4].length === /*correctAnswersLength*/
4238
- ctx[6] || /*isPreviewMode*/
4250
+ ctx[5] || /*isPreviewMode*/
4239
4251
  ctx[2] && !/*isPreviewModeInteractive*/
4240
4252
  ctx[3] && /*selectedOptions*/
4241
4253
  ctx[4].includes(
4242
4254
  /*option*/
4243
- ctx[27].id
4255
+ ctx[29].id
4244
4256
  )) && /*correctAnswerIds*/
4245
- ctx[7].includes(
4257
+ ctx[6].includes(
4246
4258
  /*option*/
4247
- ctx[27].id
4259
+ ctx[29].id
4248
4260
  ) ? "correct" : (
4249
4261
  /*isFinished*/
4250
4262
  ctx[1] && !/*isPreviewModeInteractive*/
4251
4263
  ctx[3] || /*isPreviewModeInteractive*/
4252
4264
  ctx[3] && /*selectedOptions*/
4253
4265
  ctx[4].length === /*correctAnswersLength*/
4254
- ctx[6] ? "incorrect" : ""
4266
+ ctx[5] ? "incorrect" : ""
4255
4267
  )) + " " + /*isPreviewModeInteractive*/
4256
4268
  (ctx[3] ? "interactive" : ""));
4257
4269
  },
@@ -4288,15 +4300,15 @@
4288
4300
  },
4289
4301
  p(new_ctx, dirty) {
4290
4302
  ctx = new_ctx;
4291
- if (dirty & /*isFinished, selectedOptions, correctAnswersLength*/
4292
- 82)
4303
+ if (dirty[0] & /*isFinished, selectedOptions, correctAnswersLength*/
4304
+ 50)
4293
4305
  show_if_4 = /*isFinished*/
4294
4306
  ctx[1] && /*selectedOptions*/
4295
4307
  ctx[4].includes(
4296
4308
  /*option*/
4297
- ctx[27].id
4309
+ ctx[29].id
4298
4310
  ) && /*correctAnswersLength*/
4299
- ctx[6] == 1;
4311
+ ctx[5] == 1;
4300
4312
  if (show_if_4) {
4301
4313
  if (if_block0) {
4302
4314
  if_block0.p(ctx, dirty);
@@ -4309,23 +4321,23 @@
4309
4321
  if_block0.d(1);
4310
4322
  if_block0 = null;
4311
4323
  }
4312
- if (dirty & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4313
- 218)
4324
+ if (dirty[0] & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4325
+ 122)
4314
4326
  show_if_3 = /*isFinished*/
4315
4327
  ctx[1] && /*correctAnswerIds*/
4316
- ctx[7]?.includes(
4328
+ ctx[6]?.includes(
4317
4329
  /*option*/
4318
- ctx[27].id
4330
+ ctx[29].id
4319
4331
  ) && (!/*selectedOptions*/
4320
4332
  ctx[4].includes(
4321
4333
  /*option*/
4322
- ctx[27].id
4334
+ ctx[29].id
4323
4335
  ) || !/*selectedOptions*/
4324
4336
  ctx[4].length) && (!/*isPreviewModeInteractive*/
4325
4337
  ctx[3] || /*isPreviewModeInteractive*/
4326
4338
  ctx[3] && /*selectedOptions*/
4327
4339
  ctx[4].length === /*correctAnswersLength*/
4328
- ctx[6]);
4340
+ ctx[5]);
4329
4341
  if (show_if_3) {
4330
4342
  if (if_block1) {
4331
4343
  } else {
@@ -4337,26 +4349,26 @@
4337
4349
  if_block1.d(1);
4338
4350
  if_block1 = null;
4339
4351
  }
4340
- if (dirty & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4341
- 218)
4352
+ if (dirty[0] & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4353
+ 122)
4342
4354
  show_if_2 = /*isFinished*/
4343
4355
  ctx[1] && /*correctAnswerIds*/
4344
- ctx[7]?.includes(
4356
+ ctx[6]?.includes(
4345
4357
  /*option*/
4346
- ctx[27].id
4358
+ ctx[29].id
4347
4359
  ) && !/*selectedOptions*/
4348
4360
  ctx[4].includes(
4349
4361
  /*option*/
4350
- ctx[27].id
4362
+ ctx[29].id
4351
4363
  ) && (!/*isPreviewModeInteractive*/
4352
4364
  ctx[3] || /*isPreviewModeInteractive*/
4353
4365
  ctx[3] && /*selectedOptions*/
4354
4366
  ctx[4].length === /*correctAnswersLength*/
4355
- ctx[6]);
4367
+ ctx[5]);
4356
4368
  if (show_if_2) {
4357
4369
  if (if_block2) {
4358
- if (dirty & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4359
- 218) {
4370
+ if (dirty[0] & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4371
+ 122) {
4360
4372
  transition_in(if_block2, 1);
4361
4373
  }
4362
4374
  } else {
@@ -4372,23 +4384,23 @@
4372
4384
  });
4373
4385
  check_outros();
4374
4386
  }
4375
- if (dirty & /*selectedOptions, isFinished, isPreviewModeInteractive, correctAnswersLength*/
4376
- 90)
4387
+ if (dirty[0] & /*selectedOptions, isFinished, isPreviewModeInteractive, correctAnswersLength*/
4388
+ 58)
4377
4389
  show_if_1 = /*selectedOptions*/
4378
4390
  ctx[4].includes(
4379
4391
  /*option*/
4380
- ctx[27].id
4392
+ ctx[29].id
4381
4393
  ) && /*isFinished*/
4382
4394
  (ctx[1] && !/*isPreviewModeInteractive*/
4383
4395
  ctx[3] || /*isPreviewModeInteractive*/
4384
4396
  ctx[3] && /*selectedOptions*/
4385
4397
  ctx[4].length === /*correctAnswersLength*/
4386
- ctx[6]);
4398
+ ctx[5]);
4387
4399
  if (show_if_1) {
4388
4400
  if (if_block3) {
4389
4401
  if_block3.p(ctx, dirty);
4390
- if (dirty & /*selectedOptions, isFinished, isPreviewModeInteractive, correctAnswersLength*/
4391
- 90) {
4402
+ if (dirty[0] & /*selectedOptions, isFinished, isPreviewModeInteractive, correctAnswersLength*/
4403
+ 58) {
4392
4404
  transition_in(if_block3, 1);
4393
4405
  }
4394
4406
  } else {
@@ -4404,27 +4416,27 @@
4404
4416
  });
4405
4417
  check_outros();
4406
4418
  }
4407
- if (dirty & /*correctAnswersLength, isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds*/
4408
- 218)
4419
+ if (dirty[0] & /*correctAnswersLength, isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds*/
4420
+ 122)
4409
4421
  show_if = /*correctAnswersLength*/
4410
- ctx[6] > 1 && (!/*isFinished*/
4422
+ ctx[5] > 1 && (!/*isFinished*/
4411
4423
  ctx[1] && !/*isPreviewModeInteractive*/
4412
4424
  ctx[3] || /*isFinished*/
4413
4425
  ctx[1] && !/*selectedOptions*/
4414
4426
  ctx[4].includes(
4415
4427
  /*option*/
4416
- ctx[27].id
4428
+ ctx[29].id
4417
4429
  ) && !/*correctAnswerIds*/
4418
- ctx[7].includes(
4430
+ ctx[6].includes(
4419
4431
  /*option*/
4420
- ctx[27].id
4432
+ ctx[29].id
4421
4433
  ) || /*isPreviewModeInteractive*/
4422
4434
  ctx[3]);
4423
4435
  if (show_if) {
4424
4436
  if (if_block4) {
4425
4437
  if_block4.p(ctx, dirty);
4426
- if (dirty & /*correctAnswersLength, isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds*/
4427
- 218) {
4438
+ if (dirty[0] & /*correctAnswersLength, isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds*/
4439
+ 122) {
4428
4440
  transition_in(if_block4, 1);
4429
4441
  }
4430
4442
  } else {
@@ -4440,92 +4452,92 @@
4440
4452
  });
4441
4453
  check_outros();
4442
4454
  }
4443
- if (!current || dirty & /*correctAnswersLength*/
4444
- 64 && button_role_value !== (button_role_value = /*correctAnswersLength*/
4445
- ctx[6] > 1 ? "checkbox" : null)) {
4455
+ if (!current || dirty[0] & /*correctAnswersLength*/
4456
+ 32 && button_role_value !== (button_role_value = /*correctAnswersLength*/
4457
+ ctx[5] > 1 ? "checkbox" : null)) {
4446
4458
  attr(button, "role", button_role_value);
4447
4459
  }
4448
- if (!current || dirty & /*correctAnswersLength*/
4449
- 64 && button_tabindex_value !== (button_tabindex_value = /*correctAnswersLength*/
4450
- ctx[6] > 1 ? 0 : null)) {
4460
+ if (!current || dirty[0] & /*correctAnswersLength*/
4461
+ 32 && button_tabindex_value !== (button_tabindex_value = /*correctAnswersLength*/
4462
+ ctx[5] > 1 ? 0 : null)) {
4451
4463
  attr(button, "tabindex", button_tabindex_value);
4452
4464
  }
4453
- if (!current || dirty & /*correctAnswersLength, selectedOptions*/
4454
- 80 && button_aria_checked_value !== (button_aria_checked_value = /*correctAnswersLength*/
4455
- ctx[6] > 1 ? (
4465
+ if (!current || dirty[0] & /*correctAnswersLength, selectedOptions*/
4466
+ 48 && button_aria_checked_value !== (button_aria_checked_value = /*correctAnswersLength*/
4467
+ ctx[5] > 1 ? (
4456
4468
  /*selectedOptions*/
4457
4469
  ctx[4].includes(
4458
4470
  /*option*/
4459
- ctx[27].id
4471
+ ctx[29].id
4460
4472
  )
4461
4473
  ) : null)) {
4462
4474
  attr(button, "aria-checked", button_aria_checked_value);
4463
4475
  }
4464
- if (!current || dirty & /*isFinished, isPreviewModeInteractive*/
4476
+ if (!current || dirty[0] & /*isFinished, isPreviewModeInteractive*/
4465
4477
  10 && button_aria_disabled_value !== (button_aria_disabled_value = /*isFinished*/
4466
4478
  ctx[1] && !/*isPreviewModeInteractive*/
4467
4479
  ctx[3] ? "true" : null)) {
4468
4480
  attr(button, "aria-disabled", button_aria_disabled_value);
4469
4481
  }
4470
- if (!current || dirty & /*isFinished, isPreviewModeInteractive, selectedOptions, isPreviewMode, correctAnswerIds, correctAnswersLength*/
4471
- 222 && button_aria_label_value !== (button_aria_label_value = `${(!/*isFinished*/
4482
+ if (!current || dirty[0] & /*isFinished, isPreviewModeInteractive, selectedOptions, isPreviewMode, correctAnswerIds, correctAnswersLength*/
4483
+ 126 && button_aria_label_value !== (button_aria_label_value = `${(!/*isFinished*/
4472
4484
  ctx[1] || /*isPreviewModeInteractive*/
4473
4485
  ctx[3]) && /*selectedOptions*/
4474
4486
  ctx[4].includes(
4475
4487
  /*option*/
4476
- ctx[27].id
4488
+ ctx[29].id
4477
4489
  ) ? "Selected " : ""}${`Option ${useMCQ_default(
4478
4490
  /*index*/
4479
- ctx[29]
4491
+ ctx[31]
4480
4492
  )}`}: ${useRemoveRichTextHtmlTags(
4481
4493
  /*option*/
4482
- ctx[27].answer
4494
+ ctx[29].answer
4483
4495
  )} ${func()}`)) {
4484
4496
  attr(button, "aria-label", button_aria_label_value);
4485
4497
  }
4486
- if (!current || dirty & /*isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds, correctAnswersLength, isPreviewMode*/
4487
- 222 && button_class_value !== (button_class_value = "group text-left btn-mcq-option " + (!/*isFinished*/
4498
+ if (!current || dirty[0] & /*isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds, correctAnswersLength, isPreviewMode*/
4499
+ 126 && button_class_value !== (button_class_value = "group text-left btn-mcq-option " + (!/*isFinished*/
4488
4500
  ctx[1] || /*isPreviewModeInteractive*/
4489
4501
  ctx[3] ? "active:raw-focus-ring-by" : "finished") + " " + /*selectedOptions*/
4490
4502
  (ctx[4].includes(
4491
4503
  /*option*/
4492
- ctx[27].id
4504
+ ctx[29].id
4493
4505
  ) ? "selected" : "") + " " + /*isFinished*/
4494
4506
  (ctx[1] && /*correctAnswerIds*/
4495
- ctx[7]?.includes(
4507
+ ctx[6]?.includes(
4496
4508
  /*option*/
4497
- ctx[27].id
4509
+ ctx[29].id
4498
4510
  ) && (!/*selectedOptions*/
4499
4511
  ctx[4].includes(
4500
4512
  /*option*/
4501
- ctx[27].id
4513
+ ctx[29].id
4502
4514
  ) || !/*selectedOptions*/
4503
4515
  ctx[4].length) && (!/*isPreviewModeInteractive*/
4504
4516
  ctx[3] || /*isPreviewModeInteractive*/
4505
4517
  ctx[3] && /*selectedOptions*/
4506
4518
  ctx[4].length === /*correctAnswersLength*/
4507
- ctx[6]) ? "missing" : "") + " " + /*isFinished*/
4519
+ ctx[5]) ? "missing" : "") + " " + /*isFinished*/
4508
4520
  ((ctx[1] && !/*isPreviewModeInteractive*/
4509
4521
  ctx[3] || /*isPreviewModeInteractive*/
4510
4522
  ctx[3] && /*selectedOptions*/
4511
4523
  ctx[4].length === /*correctAnswersLength*/
4512
- ctx[6] || /*isPreviewMode*/
4524
+ ctx[5] || /*isPreviewMode*/
4513
4525
  ctx[2] && !/*isPreviewModeInteractive*/
4514
4526
  ctx[3] && /*selectedOptions*/
4515
4527
  ctx[4].includes(
4516
4528
  /*option*/
4517
- ctx[27].id
4529
+ ctx[29].id
4518
4530
  )) && /*correctAnswerIds*/
4519
- ctx[7].includes(
4531
+ ctx[6].includes(
4520
4532
  /*option*/
4521
- ctx[27].id
4533
+ ctx[29].id
4522
4534
  ) ? "correct" : (
4523
4535
  /*isFinished*/
4524
4536
  ctx[1] && !/*isPreviewModeInteractive*/
4525
4537
  ctx[3] || /*isPreviewModeInteractive*/
4526
4538
  ctx[3] && /*selectedOptions*/
4527
4539
  ctx[4].length === /*correctAnswersLength*/
4528
- ctx[6] ? "incorrect" : ""
4540
+ ctx[5] ? "incorrect" : ""
4529
4541
  )) + " " + /*isPreviewModeInteractive*/
4530
4542
  (ctx[3] ? "interactive" : ""))) {
4531
4543
  attr(button, "class", button_class_value);
@@ -4570,33 +4582,13 @@
4570
4582
  }
4571
4583
  function create_default_slot(ctx) {
4572
4584
  let div;
4573
- let show_if = (
4574
- /*isFinished*/
4575
- ctx[1] && !/*isPreviewModeInteractive*/
4576
- ctx[3] && (!/*isResultCorrect*/
4577
- ctx[13](
4578
- /*selectedOptions*/
4579
- ctx[4],
4580
- /*correctAnswerIds*/
4581
- ctx[7]
4582
- ) || !/*selectedOptions*/
4583
- ctx[4].length) || /*isPreviewModeInteractive*/
4584
- ctx[3] && /*selectedOptions*/
4585
- (ctx[4].length === /*correctAnswersLength*/
4586
- ctx[6] && !/*isResultCorrect*/
4587
- ctx[13](
4588
- /*selectedOptions*/
4589
- ctx[4],
4590
- /*correctAnswerIds*/
4591
- ctx[7]
4592
- ) || !/*selectedOptions*/
4593
- ctx[4].length && /*interactiveHasAnswered*/
4594
- ctx[8])
4595
- );
4596
4585
  let t2;
4597
4586
  let if_block1_anchor;
4598
4587
  let current;
4599
- let if_block0 = show_if && create_if_block_82(ctx);
4588
+ let if_block0 = (
4589
+ /*isFeedbackShown*/
4590
+ ctx[8] && create_if_block_82(ctx)
4591
+ );
4600
4592
  let if_block1 = (
4601
4593
  /*options*/
4602
4594
  ctx[12] && create_if_block5(ctx)
@@ -4623,34 +4615,14 @@
4623
4615
  current = true;
4624
4616
  },
4625
4617
  p(ctx2, dirty) {
4626
- if (dirty & /*isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds, correctAnswersLength, interactiveHasAnswered*/
4627
- 474)
4628
- show_if = /*isFinished*/
4629
- ctx2[1] && !/*isPreviewModeInteractive*/
4630
- ctx2[3] && (!/*isResultCorrect*/
4631
- ctx2[13](
4632
- /*selectedOptions*/
4633
- ctx2[4],
4634
- /*correctAnswerIds*/
4635
- ctx2[7]
4636
- ) || !/*selectedOptions*/
4637
- ctx2[4].length) || /*isPreviewModeInteractive*/
4638
- ctx2[3] && /*selectedOptions*/
4639
- (ctx2[4].length === /*correctAnswersLength*/
4640
- ctx2[6] && !/*isResultCorrect*/
4641
- ctx2[13](
4642
- /*selectedOptions*/
4643
- ctx2[4],
4644
- /*correctAnswerIds*/
4645
- ctx2[7]
4646
- ) || !/*selectedOptions*/
4647
- ctx2[4].length && /*interactiveHasAnswered*/
4648
- ctx2[8]);
4649
- if (show_if) {
4618
+ if (
4619
+ /*isFeedbackShown*/
4620
+ ctx2[8]
4621
+ ) {
4650
4622
  if (if_block0) {
4651
4623
  if_block0.p(ctx2, dirty);
4652
- if (dirty & /*isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds, correctAnswersLength, interactiveHasAnswered*/
4653
- 474) {
4624
+ if (dirty[0] & /*isFeedbackShown*/
4625
+ 256) {
4654
4626
  transition_in(if_block0, 1);
4655
4627
  }
4656
4628
  } else {
@@ -4727,10 +4699,11 @@
4727
4699
  mount_component(promptbody, target, anchor);
4728
4700
  current = true;
4729
4701
  },
4730
- p(ctx2, [dirty]) {
4702
+ p(ctx2, dirty) {
4731
4703
  const promptbody_changes = {};
4732
- if (dirty & /*$$scope, correctAnswersLength, selectedOptions, isFinished, isPreviewModeInteractive, isPreviewMode, correctAnswerIds, isDataSaving, resultFeedback, interactiveHasAnswered*/
4733
- 1073742335) {
4704
+ if (dirty[0] & /*correctAnswersLength, selectedOptions, isFinished, isPreviewModeInteractive, isPreviewMode, correctAnswerIds, isDataSaving, resultFeedback, isFeedbackShown*/
4705
+ 511 | dirty[1] & /*$$scope*/
4706
+ 2) {
4734
4707
  promptbody_changes.$$scope = { dirty, ctx: ctx2 };
4735
4708
  }
4736
4709
  promptbody.$set(promptbody_changes);
@@ -4751,13 +4724,14 @@
4751
4724
  };
4752
4725
  }
4753
4726
  function instance5($$self, $$props, $$invalidate) {
4727
+ let isFeedbackShown;
4754
4728
  let { sessionData } = $$props;
4755
4729
  let { isDataSaving } = $$props;
4756
4730
  let { isFinished = false } = $$props;
4757
4731
  let { isPreviewMode = false } = $$props;
4758
4732
  let { isPreviewModeInteractive = false } = $$props;
4759
4733
  const { rubric, interaction, metadata, scoringMetadata, stimulus, totalCorrectAnswers } = sessionData;
4760
- const { prompt, options } = interaction;
4734
+ const { prompt, options, feedback } = interaction;
4761
4735
  let selectedOptions = [];
4762
4736
  let selectedChoices = [];
4763
4737
  let resultFeedback = null;
@@ -4774,10 +4748,8 @@
4774
4748
  selectedChoices = answer_choices;
4775
4749
  }
4776
4750
  const getFeedback = () => {
4777
- if (!options || selectedOptions.length < 1)
4778
- return;
4779
- const feedbackData = Object.values(options).filter((option) => selectedOptions.includes(option.id));
4780
- $$invalidate(5, resultFeedback = feedbackData[0].feedback || "This would be the distractor rationale\u2014the reason why they got something wrong.");
4751
+ const { correct: correctFeedback, incorrect: incorrectFeedback } = feedback;
4752
+ $$invalidate(7, resultFeedback = isResultCorrect(selectedOptions, correctAnswerIds) ? correctFeedback : incorrectFeedback);
4781
4753
  };
4782
4754
  const isResultCorrect = (selectedOptions2, correctAnswerIds2) => {
4783
4755
  return selectedOptions2.length > 0 && correctAnswerIds2.every((option) => selectedOptions2.includes(option));
@@ -4834,8 +4806,8 @@
4834
4806
  });
4835
4807
  }
4836
4808
  if (isPreviewModeInteractive) {
4837
- $$invalidate(8, interactiveHasAnswered = true);
4838
- $$invalidate(5, resultFeedback = null);
4809
+ $$invalidate(17, interactiveHasAnswered = true);
4810
+ $$invalidate(7, resultFeedback = null);
4839
4811
  if (correctAnswersLength === selectedOptions.length) {
4840
4812
  setTimeout(
4841
4813
  () => {
@@ -4879,16 +4851,23 @@
4879
4851
  if ("isPreviewModeInteractive" in $$props2)
4880
4852
  $$invalidate(3, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
4881
4853
  };
4854
+ $$self.$$.update = () => {
4855
+ if ($$self.$$.dirty[0] & /*isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds, correctAnswersLength, interactiveHasAnswered*/
4856
+ 131194) {
4857
+ $:
4858
+ $$invalidate(8, isFeedbackShown = isFinished && !isPreviewModeInteractive && (!isResultCorrect(selectedOptions, correctAnswerIds) || !selectedOptions.length) || isPreviewModeInteractive && (selectedOptions.length === correctAnswersLength || !selectedOptions.length && interactiveHasAnswered));
4859
+ }
4860
+ };
4882
4861
  return [
4883
4862
  isDataSaving,
4884
4863
  isFinished,
4885
4864
  isPreviewMode,
4886
4865
  isPreviewModeInteractive,
4887
4866
  selectedOptions,
4888
- resultFeedback,
4889
4867
  correctAnswersLength,
4890
4868
  correctAnswerIds,
4891
- interactiveHasAnswered,
4869
+ resultFeedback,
4870
+ isFeedbackShown,
4892
4871
  rubric,
4893
4872
  stimulus,
4894
4873
  prompt,
@@ -4897,6 +4876,7 @@
4897
4876
  isSkipped,
4898
4877
  handleOptionClick,
4899
4878
  sessionData,
4879
+ interactiveHasAnswered,
4900
4880
  func,
4901
4881
  click_handler
4902
4882
  ];
@@ -4904,13 +4884,22 @@
4904
4884
  var PromptMCQ = class extends SvelteComponent {
4905
4885
  constructor(options) {
4906
4886
  super();
4907
- init(this, options, instance5, create_fragment10, safe_not_equal, {
4908
- sessionData: 16,
4909
- isDataSaving: 0,
4910
- isFinished: 1,
4911
- isPreviewMode: 2,
4912
- isPreviewModeInteractive: 3
4913
- });
4887
+ init(
4888
+ this,
4889
+ options,
4890
+ instance5,
4891
+ create_fragment10,
4892
+ safe_not_equal,
4893
+ {
4894
+ sessionData: 16,
4895
+ isDataSaving: 0,
4896
+ isFinished: 1,
4897
+ isPreviewMode: 2,
4898
+ isPreviewModeInteractive: 3
4899
+ },
4900
+ null,
4901
+ [-1, -1]
4902
+ );
4914
4903
  }
4915
4904
  get sessionData() {
4916
4905
  return this.$$.ctx[16];
@@ -5023,248 +5012,42 @@
5023
5012
  action.destroy = autosize_esm_default.destroy;
5024
5013
  var svelte_autosize_default = action;
5025
5014
 
5026
- // src/lib/components/prompt/template/PromptResultFeedback.svelte
5027
- function create_if_block6(ctx) {
5028
- let div0;
5029
- let t0;
5030
- let span;
5031
- let t1;
5032
- let div0_class_value;
5015
+ // src/lib/components/common/InvalidBanner.svelte
5016
+ function create_fragment11(ctx) {
5017
+ let p;
5033
5018
  let t2;
5034
- let div1;
5035
- let if_block = (
5036
- /*resultFeedbackTitle*/
5037
- ctx[1] && create_if_block_15(ctx)
5038
- );
5039
5019
  return {
5040
5020
  c() {
5041
- div0 = element("div");
5042
- if (if_block)
5043
- if_block.c();
5044
- t0 = space();
5045
- span = element("span");
5046
- t1 = text(
5047
- /*resultFeedback*/
5021
+ p = element("p");
5022
+ t2 = text(
5023
+ /*bannerLabel*/
5048
5024
  ctx[0]
5049
5025
  );
5050
- t2 = space();
5051
- div1 = element("div");
5052
- attr(div0, "aria-description", "Answer feedback:");
5053
- attr(div0, "class", div0_class_value = "my-6 p-4 border-l-[6px] text-charcoal text-base " + /*isResultCorrect*/
5054
- (ctx[2] ? "border-green-800 bg-green-300" : "border-red-800 bg-red-300"));
5055
- attr(div1, "class", "divider my-6");
5026
+ attr(p, "class", "p-2 border-2 border-red-600 bg-red-200 rounded");
5056
5027
  },
5057
5028
  m(target, anchor) {
5058
- insert(target, div0, anchor);
5059
- if (if_block)
5060
- if_block.m(div0, null);
5061
- append(div0, t0);
5062
- append(div0, span);
5063
- append(span, t1);
5064
- insert(target, t2, anchor);
5065
- insert(target, div1, anchor);
5029
+ insert(target, p, anchor);
5030
+ append(p, t2);
5066
5031
  },
5067
- p(ctx2, dirty) {
5068
- if (
5069
- /*resultFeedbackTitle*/
5070
- ctx2[1]
5071
- ) {
5072
- if (if_block) {
5073
- if_block.p(ctx2, dirty);
5074
- } else {
5075
- if_block = create_if_block_15(ctx2);
5076
- if_block.c();
5077
- if_block.m(div0, t0);
5078
- }
5079
- } else if (if_block) {
5080
- if_block.d(1);
5081
- if_block = null;
5082
- }
5083
- if (dirty & /*resultFeedback*/
5032
+ p(ctx2, [dirty]) {
5033
+ if (dirty & /*bannerLabel*/
5084
5034
  1)
5085
5035
  set_data(
5086
- t1,
5087
- /*resultFeedback*/
5036
+ t2,
5037
+ /*bannerLabel*/
5088
5038
  ctx2[0]
5089
5039
  );
5090
- if (dirty & /*isResultCorrect*/
5091
- 4 && div0_class_value !== (div0_class_value = "my-6 p-4 border-l-[6px] text-charcoal text-base " + /*isResultCorrect*/
5092
- (ctx2[2] ? "border-green-800 bg-green-300" : "border-red-800 bg-red-300"))) {
5093
- attr(div0, "class", div0_class_value);
5094
- }
5095
5040
  },
5041
+ i: noop,
5042
+ o: noop,
5096
5043
  d(detaching) {
5097
5044
  if (detaching) {
5098
- detach(div0);
5099
- detach(t2);
5100
- detach(div1);
5045
+ detach(p);
5101
5046
  }
5102
- if (if_block)
5103
- if_block.d();
5104
- }
5105
- };
5106
- }
5107
- function create_if_block_15(ctx) {
5108
- let span;
5109
- let t2;
5110
- return {
5111
- c() {
5112
- span = element("span");
5113
- t2 = text(
5114
- /*resultFeedbackTitle*/
5115
- ctx[1]
5116
- );
5117
- attr(span, "class", "block mb-1 font-semibold");
5118
- },
5119
- m(target, anchor) {
5120
- insert(target, span, anchor);
5121
- append(span, t2);
5122
- },
5123
- p(ctx2, dirty) {
5124
- if (dirty & /*resultFeedbackTitle*/
5125
- 2)
5126
- set_data(
5127
- t2,
5128
- /*resultFeedbackTitle*/
5129
- ctx2[1]
5130
- );
5131
- },
5132
- d(detaching) {
5133
- if (detaching) {
5134
- detach(span);
5135
- }
5136
- }
5137
- };
5138
- }
5139
- function create_fragment11(ctx) {
5140
- let if_block_anchor;
5141
- let if_block = (
5142
- /*resultFeedback*/
5143
- ctx[0] && create_if_block6(ctx)
5144
- );
5145
- return {
5146
- c() {
5147
- if (if_block)
5148
- if_block.c();
5149
- if_block_anchor = empty();
5150
- },
5151
- m(target, anchor) {
5152
- if (if_block)
5153
- if_block.m(target, anchor);
5154
- insert(target, if_block_anchor, anchor);
5155
- },
5156
- p(ctx2, [dirty]) {
5157
- if (
5158
- /*resultFeedback*/
5159
- ctx2[0]
5160
- ) {
5161
- if (if_block) {
5162
- if_block.p(ctx2, dirty);
5163
- } else {
5164
- if_block = create_if_block6(ctx2);
5165
- if_block.c();
5166
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
5167
- }
5168
- } else if (if_block) {
5169
- if_block.d(1);
5170
- if_block = null;
5171
- }
5172
- },
5173
- i: noop,
5174
- o: noop,
5175
- d(detaching) {
5176
- if (detaching) {
5177
- detach(if_block_anchor);
5178
- }
5179
- if (if_block)
5180
- if_block.d(detaching);
5181
5047
  }
5182
5048
  };
5183
5049
  }
5184
5050
  function instance6($$self, $$props, $$invalidate) {
5185
- let { resultFeedback = null } = $$props;
5186
- let { resultFeedbackTitle = null } = $$props;
5187
- let { isResultCorrect = true } = $$props;
5188
- $$self.$$set = ($$props2) => {
5189
- if ("resultFeedback" in $$props2)
5190
- $$invalidate(0, resultFeedback = $$props2.resultFeedback);
5191
- if ("resultFeedbackTitle" in $$props2)
5192
- $$invalidate(1, resultFeedbackTitle = $$props2.resultFeedbackTitle);
5193
- if ("isResultCorrect" in $$props2)
5194
- $$invalidate(2, isResultCorrect = $$props2.isResultCorrect);
5195
- };
5196
- return [resultFeedback, resultFeedbackTitle, isResultCorrect];
5197
- }
5198
- var PromptResultFeedback = class extends SvelteComponent {
5199
- constructor(options) {
5200
- super();
5201
- init(this, options, instance6, create_fragment11, safe_not_equal, {
5202
- resultFeedback: 0,
5203
- resultFeedbackTitle: 1,
5204
- isResultCorrect: 2
5205
- });
5206
- }
5207
- get resultFeedback() {
5208
- return this.$$.ctx[0];
5209
- }
5210
- set resultFeedback(resultFeedback) {
5211
- this.$$set({ resultFeedback });
5212
- flush();
5213
- }
5214
- get resultFeedbackTitle() {
5215
- return this.$$.ctx[1];
5216
- }
5217
- set resultFeedbackTitle(resultFeedbackTitle) {
5218
- this.$$set({ resultFeedbackTitle });
5219
- flush();
5220
- }
5221
- get isResultCorrect() {
5222
- return this.$$.ctx[2];
5223
- }
5224
- set isResultCorrect(isResultCorrect) {
5225
- this.$$set({ isResultCorrect });
5226
- flush();
5227
- }
5228
- };
5229
- customElements.define("prompt-result-feedback", create_custom_element(PromptResultFeedback, { "resultFeedback": {}, "resultFeedbackTitle": {}, "isResultCorrect": { "type": "Boolean" } }, [], [], true));
5230
- var PromptResultFeedback_default = PromptResultFeedback;
5231
-
5232
- // src/lib/components/common/InvalidBanner.svelte
5233
- function create_fragment12(ctx) {
5234
- let p;
5235
- let t2;
5236
- return {
5237
- c() {
5238
- p = element("p");
5239
- t2 = text(
5240
- /*bannerLabel*/
5241
- ctx[0]
5242
- );
5243
- attr(p, "class", "p-2 border-2 border-red-600 bg-red-200 rounded");
5244
- },
5245
- m(target, anchor) {
5246
- insert(target, p, anchor);
5247
- append(p, t2);
5248
- },
5249
- p(ctx2, [dirty]) {
5250
- if (dirty & /*bannerLabel*/
5251
- 1)
5252
- set_data(
5253
- t2,
5254
- /*bannerLabel*/
5255
- ctx2[0]
5256
- );
5257
- },
5258
- i: noop,
5259
- o: noop,
5260
- d(detaching) {
5261
- if (detaching) {
5262
- detach(p);
5263
- }
5264
- }
5265
- };
5266
- }
5267
- function instance7($$self, $$props, $$invalidate) {
5268
5051
  let { bannerLabel: bannerLabel2 = "Invalid." } = $$props;
5269
5052
  $$self.$$set = ($$props2) => {
5270
5053
  if ("bannerLabel" in $$props2)
@@ -5275,7 +5058,7 @@
5275
5058
  var InvalidBanner = class extends SvelteComponent {
5276
5059
  constructor(options) {
5277
5060
  super();
5278
- init(this, options, instance7, create_fragment12, safe_not_equal, { bannerLabel: 0 });
5061
+ init(this, options, instance6, create_fragment11, safe_not_equal, { bannerLabel: 0 });
5279
5062
  }
5280
5063
  get bannerLabel() {
5281
5064
  return this.$$.ctx[0];
@@ -5291,14 +5074,14 @@
5291
5074
  // src/lib/components/prompt/typein/PromptTypeIn.svelte
5292
5075
  function get_each_context2(ctx, list, i) {
5293
5076
  const child_ctx = ctx.slice();
5294
- child_ctx[62] = list[i];
5295
- child_ctx[64] = i;
5077
+ child_ctx[60] = list[i];
5078
+ child_ctx[62] = i;
5296
5079
  return child_ctx;
5297
5080
  }
5298
5081
  function get_each_context_1(ctx, list, i) {
5299
5082
  const child_ctx = ctx.slice();
5300
- child_ctx[65] = list[i];
5301
- child_ctx[67] = i;
5083
+ child_ctx[63] = list[i];
5084
+ child_ctx[65] = i;
5302
5085
  return child_ctx;
5303
5086
  }
5304
5087
  function create_else_block_3(ctx) {
@@ -5315,7 +5098,7 @@
5315
5098
  textarea,
5316
5099
  "aria-label",
5317
5100
  /*textAriaLabel*/
5318
- ctx[20]
5101
+ ctx[18]
5319
5102
  );
5320
5103
  attr(
5321
5104
  textarea,
@@ -5326,14 +5109,17 @@
5326
5109
  attr(textarea, "rows", "3");
5327
5110
  attr(textarea, "class", textarea_class_value = "typein-textbox overflow-hidden " + (!/*isFinished*/
5328
5111
  ctx[0] ? "" : (
5329
- /*isResultCorrect*/
5330
- ctx[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5112
+ /*isSkippedAnswer*/
5113
+ ctx[10] ? "" : (
5114
+ /*isResultCorrect*/
5115
+ ctx[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5116
+ )
5331
5117
  )));
5332
5118
  textarea.disabled = /*isDataSaving*/
5333
5119
  ctx[2];
5334
5120
  attr(textarea, "autocomplete", "off");
5335
5121
  textarea.readOnly = /*isReadonlyText*/
5336
- ctx[27];
5122
+ ctx[25];
5337
5123
  },
5338
5124
  m(target, anchor) {
5339
5125
  insert(target, textarea, anchor);
@@ -5348,38 +5134,38 @@
5348
5134
  textarea,
5349
5135
  "input",
5350
5136
  /*textarea_input_handler*/
5351
- ctx[38]
5137
+ ctx[36]
5352
5138
  ),
5353
5139
  listen(
5354
5140
  textarea,
5355
5141
  "mousedown",
5356
5142
  /*mousedown_handler*/
5357
- ctx[39]
5143
+ ctx[37]
5358
5144
  ),
5359
5145
  listen(
5360
5146
  textarea,
5361
5147
  "touchstart",
5362
5148
  /*touchstart_handler*/
5363
- ctx[40],
5149
+ ctx[38],
5364
5150
  { passive: true }
5365
5151
  ),
5366
5152
  listen(
5367
5153
  textarea,
5368
5154
  "focus",
5369
5155
  /*focus_handler*/
5370
- ctx[41]
5156
+ ctx[39]
5371
5157
  ),
5372
5158
  listen(
5373
5159
  textarea,
5374
5160
  "focusout",
5375
5161
  /*focusout_handler_1*/
5376
- ctx[42]
5162
+ ctx[40]
5377
5163
  ),
5378
5164
  listen(
5379
5165
  textarea,
5380
5166
  "keydown",
5381
5167
  /*keydown_handler_1*/
5382
- ctx[43]
5168
+ ctx[41]
5383
5169
  ),
5384
5170
  action_destroyer(autosize_action = svelte_autosize_default.call(null, textarea))
5385
5171
  ];
@@ -5388,12 +5174,12 @@
5388
5174
  },
5389
5175
  p(ctx2, dirty) {
5390
5176
  if (dirty[0] & /*textAriaLabel*/
5391
- 1048576) {
5177
+ 262144) {
5392
5178
  attr(
5393
5179
  textarea,
5394
5180
  "aria-label",
5395
5181
  /*textAriaLabel*/
5396
- ctx2[20]
5182
+ ctx2[18]
5397
5183
  );
5398
5184
  }
5399
5185
  if (dirty[0] & /*placeholder*/
@@ -5405,11 +5191,14 @@
5405
5191
  ctx2[11]
5406
5192
  );
5407
5193
  }
5408
- if (dirty[0] & /*isFinished, isResultCorrect*/
5409
- 3 && textarea_class_value !== (textarea_class_value = "typein-textbox overflow-hidden " + (!/*isFinished*/
5194
+ if (dirty[0] & /*isFinished, isSkippedAnswer, isResultCorrect*/
5195
+ 1027 && textarea_class_value !== (textarea_class_value = "typein-textbox overflow-hidden " + (!/*isFinished*/
5410
5196
  ctx2[0] ? "" : (
5411
- /*isResultCorrect*/
5412
- ctx2[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5197
+ /*isSkippedAnswer*/
5198
+ ctx2[10] ? "" : (
5199
+ /*isResultCorrect*/
5200
+ ctx2[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5201
+ )
5413
5202
  )))) {
5414
5203
  attr(textarea, "class", textarea_class_value);
5415
5204
  }
@@ -5438,7 +5227,7 @@
5438
5227
  }
5439
5228
  };
5440
5229
  }
5441
- function create_if_block_102(ctx) {
5230
+ function create_if_block_92(ctx) {
5442
5231
  let input;
5443
5232
  let input_class_value;
5444
5233
  let mounted;
@@ -5452,7 +5241,7 @@
5452
5241
  input,
5453
5242
  "aria-label",
5454
5243
  /*textAriaLabel*/
5455
- ctx[20]
5244
+ ctx[18]
5456
5245
  );
5457
5246
  attr(
5458
5247
  input,
@@ -5462,14 +5251,17 @@
5462
5251
  );
5463
5252
  attr(input, "class", input_class_value = "typein-textbox " + (!/*isFinished*/
5464
5253
  ctx[0] ? "" : (
5465
- /*isResultCorrect*/
5466
- ctx[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5254
+ /*isSkippedAnswer*/
5255
+ ctx[10] ? "" : (
5256
+ /*isResultCorrect*/
5257
+ ctx[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5258
+ )
5467
5259
  )));
5468
5260
  input.disabled = /*isDataSaving*/
5469
5261
  ctx[2];
5470
5262
  attr(input, "autocomplete", "off");
5471
5263
  input.readOnly = /*isReadonlyText*/
5472
- ctx[27];
5264
+ ctx[25];
5473
5265
  },
5474
5266
  m(target, anchor) {
5475
5267
  insert(target, input, anchor);
@@ -5484,19 +5276,19 @@
5484
5276
  input,
5485
5277
  "input",
5486
5278
  /*input_input_handler*/
5487
- ctx[35]
5279
+ ctx[33]
5488
5280
  ),
5489
5281
  listen(
5490
5282
  input,
5491
5283
  "focusout",
5492
5284
  /*focusout_handler*/
5493
- ctx[36]
5285
+ ctx[34]
5494
5286
  ),
5495
5287
  listen(
5496
5288
  input,
5497
5289
  "keydown",
5498
5290
  /*keydown_handler*/
5499
- ctx[37]
5291
+ ctx[35]
5500
5292
  )
5501
5293
  ];
5502
5294
  mounted = true;
@@ -5504,12 +5296,12 @@
5504
5296
  },
5505
5297
  p(ctx2, dirty) {
5506
5298
  if (dirty[0] & /*textAriaLabel*/
5507
- 1048576) {
5299
+ 262144) {
5508
5300
  attr(
5509
5301
  input,
5510
5302
  "aria-label",
5511
5303
  /*textAriaLabel*/
5512
- ctx2[20]
5304
+ ctx2[18]
5513
5305
  );
5514
5306
  }
5515
5307
  if (dirty[0] & /*placeholder*/
@@ -5521,11 +5313,14 @@
5521
5313
  ctx2[11]
5522
5314
  );
5523
5315
  }
5524
- if (dirty[0] & /*isFinished, isResultCorrect*/
5525
- 3 && input_class_value !== (input_class_value = "typein-textbox " + (!/*isFinished*/
5316
+ if (dirty[0] & /*isFinished, isSkippedAnswer, isResultCorrect*/
5317
+ 1027 && input_class_value !== (input_class_value = "typein-textbox " + (!/*isFinished*/
5526
5318
  ctx2[0] ? "" : (
5527
- /*isResultCorrect*/
5528
- ctx2[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5319
+ /*isSkippedAnswer*/
5320
+ ctx2[10] ? "" : (
5321
+ /*isResultCorrect*/
5322
+ ctx2[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5323
+ )
5529
5324
  )))) {
5530
5325
  attr(input, "class", input_class_value);
5531
5326
  }
@@ -5555,12 +5350,12 @@
5555
5350
  }
5556
5351
  };
5557
5352
  }
5558
- function create_if_block_83(ctx) {
5353
+ function create_if_block_73(ctx) {
5559
5354
  let current_block_type_index;
5560
5355
  let if_block;
5561
5356
  let if_block_anchor;
5562
5357
  let current;
5563
- const if_block_creators = [create_if_block_92, create_else_block_2];
5358
+ const if_block_creators = [create_if_block_83, create_else_block_2];
5564
5359
  const if_blocks = [];
5565
5360
  function select_block_type_1(ctx2, dirty) {
5566
5361
  if (
@@ -5654,7 +5449,7 @@
5654
5449
  }
5655
5450
  };
5656
5451
  }
5657
- function create_if_block_92(ctx) {
5452
+ function create_if_block_83(ctx) {
5658
5453
  let div0;
5659
5454
  let commonstringtohtml;
5660
5455
  let t0;
@@ -5687,7 +5482,7 @@
5687
5482
  m(target, anchor) {
5688
5483
  insert(target, div0, anchor);
5689
5484
  mount_component(commonstringtohtml, div0, null);
5690
- ctx[34](div0);
5485
+ ctx[32](div0);
5691
5486
  insert(target, t0, anchor);
5692
5487
  insert(target, div1, anchor);
5693
5488
  insert(target, t1, anchor);
@@ -5726,58 +5521,54 @@
5726
5521
  detach(div2);
5727
5522
  }
5728
5523
  destroy_component(commonstringtohtml);
5729
- ctx[34](null);
5524
+ ctx[32](null);
5730
5525
  }
5731
5526
  };
5732
5527
  }
5733
- function create_if_block7(ctx) {
5528
+ function create_if_block6(ctx) {
5734
5529
  let t0;
5735
- let current_block_type_index;
5736
- let if_block1;
5530
+ let div;
5737
5531
  let t1;
5738
5532
  let if_block2_anchor;
5739
5533
  let current;
5740
5534
  let if_block0 = !/*isInlineTypein*/
5741
- ctx[26] && create_if_block_63(ctx);
5742
- const if_block_creators = [create_if_block_43, create_if_block_53];
5743
- const if_blocks = [];
5744
- function select_block_type_3(ctx2, dirty) {
5745
- if (!/*isInlineTypein*/
5746
- ctx2[26])
5747
- return 0;
5748
- if (!/*isResultCorrect*/
5749
- ctx2[1])
5750
- return 1;
5751
- return -1;
5752
- }
5753
- if (~(current_block_type_index = select_block_type_3(ctx, [-1, -1, -1]))) {
5754
- if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
5755
- }
5535
+ ctx[24] && !/*isSkippedAnswer*/
5536
+ ctx[10] && create_if_block_53(ctx);
5537
+ let if_block1 = (
5538
+ /*isFinished*/
5539
+ ctx[0] && (!/*isResultCorrect*/
5540
+ ctx[1] && !/*isPreviewMode*/
5541
+ ctx[3] || /*isPreviewMode*/
5542
+ ctx[3] && /*isPreviewModeInteractive*/
5543
+ ctx[4]) && create_if_block_43(ctx)
5544
+ );
5756
5545
  let if_block2 = (
5757
5546
  /*isInlineTypein*/
5758
- ctx[26] && (!/*isPreviewMode*/
5547
+ ctx[24] && (!/*isPreviewMode*/
5759
5548
  ctx[3] || /*isPreviewModeInteractive*/
5760
- ctx[4]) && create_if_block_16(ctx)
5549
+ ctx[4]) && create_if_block_15(ctx)
5761
5550
  );
5762
5551
  return {
5763
5552
  c() {
5764
5553
  if (if_block0)
5765
5554
  if_block0.c();
5766
5555
  t0 = space();
5556
+ div = element("div");
5767
5557
  if (if_block1)
5768
5558
  if_block1.c();
5769
5559
  t1 = space();
5770
5560
  if (if_block2)
5771
5561
  if_block2.c();
5772
5562
  if_block2_anchor = empty();
5563
+ attr(div, "aria-live", "polite");
5773
5564
  },
5774
5565
  m(target, anchor) {
5775
5566
  if (if_block0)
5776
5567
  if_block0.m(target, anchor);
5777
5568
  insert(target, t0, anchor);
5778
- if (~current_block_type_index) {
5779
- if_blocks[current_block_type_index].m(target, anchor);
5780
- }
5569
+ insert(target, div, anchor);
5570
+ if (if_block1)
5571
+ if_block1.m(div, null);
5781
5572
  insert(target, t1, anchor);
5782
5573
  if (if_block2)
5783
5574
  if_block2.m(target, anchor);
@@ -5786,39 +5577,57 @@
5786
5577
  },
5787
5578
  p(ctx2, dirty) {
5788
5579
  if (!/*isInlineTypein*/
5789
- ctx2[26])
5790
- if_block0.p(ctx2, dirty);
5791
- let previous_block_index = current_block_type_index;
5792
- current_block_type_index = select_block_type_3(ctx2, dirty);
5793
- if (current_block_type_index === previous_block_index) {
5794
- if (~current_block_type_index) {
5795
- if_blocks[current_block_type_index].p(ctx2, dirty);
5580
+ ctx2[24] && !/*isSkippedAnswer*/
5581
+ ctx2[10]) {
5582
+ if (if_block0) {
5583
+ if_block0.p(ctx2, dirty);
5584
+ if (dirty[0] & /*isSkippedAnswer*/
5585
+ 1024) {
5586
+ transition_in(if_block0, 1);
5587
+ }
5588
+ } else {
5589
+ if_block0 = create_if_block_53(ctx2);
5590
+ if_block0.c();
5591
+ transition_in(if_block0, 1);
5592
+ if_block0.m(t0.parentNode, t0);
5796
5593
  }
5797
- } else {
5594
+ } else if (if_block0) {
5595
+ group_outros();
5596
+ transition_out(if_block0, 1, 1, () => {
5597
+ if_block0 = null;
5598
+ });
5599
+ check_outros();
5600
+ }
5601
+ if (
5602
+ /*isFinished*/
5603
+ ctx2[0] && (!/*isResultCorrect*/
5604
+ ctx2[1] && !/*isPreviewMode*/
5605
+ ctx2[3] || /*isPreviewMode*/
5606
+ ctx2[3] && /*isPreviewModeInteractive*/
5607
+ ctx2[4])
5608
+ ) {
5798
5609
  if (if_block1) {
5799
- group_outros();
5800
- transition_out(if_blocks[previous_block_index], 1, 1, () => {
5801
- if_blocks[previous_block_index] = null;
5802
- });
5803
- check_outros();
5804
- }
5805
- if (~current_block_type_index) {
5806
- if_block1 = if_blocks[current_block_type_index];
5807
- if (!if_block1) {
5808
- if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx2);
5809
- if_block1.c();
5810
- } else {
5811
- if_block1.p(ctx2, dirty);
5610
+ if_block1.p(ctx2, dirty);
5611
+ if (dirty[0] & /*isFinished, isResultCorrect, isPreviewMode, isPreviewModeInteractive*/
5612
+ 27) {
5613
+ transition_in(if_block1, 1);
5812
5614
  }
5813
- transition_in(if_block1, 1);
5814
- if_block1.m(t1.parentNode, t1);
5815
5615
  } else {
5816
- if_block1 = null;
5616
+ if_block1 = create_if_block_43(ctx2);
5617
+ if_block1.c();
5618
+ transition_in(if_block1, 1);
5619
+ if_block1.m(div, null);
5817
5620
  }
5621
+ } else if (if_block1) {
5622
+ group_outros();
5623
+ transition_out(if_block1, 1, 1, () => {
5624
+ if_block1 = null;
5625
+ });
5626
+ check_outros();
5818
5627
  }
5819
5628
  if (
5820
5629
  /*isInlineTypein*/
5821
- ctx2[26] && (!/*isPreviewMode*/
5630
+ ctx2[24] && (!/*isPreviewMode*/
5822
5631
  ctx2[3] || /*isPreviewModeInteractive*/
5823
5632
  ctx2[4])
5824
5633
  ) {
@@ -5829,7 +5638,7 @@
5829
5638
  transition_in(if_block2, 1);
5830
5639
  }
5831
5640
  } else {
5832
- if_block2 = create_if_block_16(ctx2);
5641
+ if_block2 = create_if_block_15(ctx2);
5833
5642
  if_block2.c();
5834
5643
  transition_in(if_block2, 1);
5835
5644
  if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
@@ -5859,20 +5668,20 @@
5859
5668
  d(detaching) {
5860
5669
  if (detaching) {
5861
5670
  detach(t0);
5671
+ detach(div);
5862
5672
  detach(t1);
5863
5673
  detach(if_block2_anchor);
5864
5674
  }
5865
5675
  if (if_block0)
5866
5676
  if_block0.d(detaching);
5867
- if (~current_block_type_index) {
5868
- if_blocks[current_block_type_index].d(detaching);
5869
- }
5677
+ if (if_block1)
5678
+ if_block1.d();
5870
5679
  if (if_block2)
5871
5680
  if_block2.d(detaching);
5872
5681
  }
5873
5682
  };
5874
5683
  }
5875
- function create_if_block_63(ctx) {
5684
+ function create_if_block_53(ctx) {
5876
5685
  let div;
5877
5686
  let span0;
5878
5687
  let current_block_type_index;
@@ -5883,7 +5692,7 @@
5883
5692
  let t1;
5884
5693
  let div_class_value;
5885
5694
  let current;
5886
- const if_block_creators = [create_if_block_73, create_else_block_1];
5695
+ const if_block_creators = [create_if_block_63, create_else_block_1];
5887
5696
  const if_blocks = [];
5888
5697
  function select_block_type_2(ctx2, dirty) {
5889
5698
  if (
@@ -5911,7 +5720,7 @@
5911
5720
  attr(span1, "class", "p2");
5912
5721
  attr(div, "aria-hidden", "true");
5913
5722
  attr(div, "class", div_class_value = "flex items-center text-charcoal " + /*typeinType*/
5914
- (ctx[25] === TYPEIN_TYPE_SHORT ? "mt-2" : "mt-0.5"));
5723
+ (ctx[23] === TYPEIN_TYPE_SHORT ? "mt-2" : "mt-0.5"));
5915
5724
  },
5916
5725
  m(target, anchor) {
5917
5726
  insert(target, div, anchor);
@@ -5998,7 +5807,7 @@
5998
5807
  }
5999
5808
  };
6000
5809
  }
6001
- function create_if_block_73(ctx) {
5810
+ function create_if_block_63(ctx) {
6002
5811
  let successsolid;
6003
5812
  let current;
6004
5813
  successsolid = new SuccessSolid_default({});
@@ -6025,109 +5834,65 @@
6025
5834
  }
6026
5835
  };
6027
5836
  }
6028
- function create_if_block_53(ctx) {
6029
- let promptresultv2;
5837
+ function create_if_block_43(ctx) {
5838
+ let promptresult;
6030
5839
  let current;
6031
- promptresultv2 = new PromptResultFeedbackv2_default({
5840
+ promptresult = new PromptResultFeedbackAlert_default({
6032
5841
  props: {
5842
+ hasIcon: (
5843
+ /*isInlineTypein*/
5844
+ ctx[24] ? true : (
5845
+ /*isSkippedAnswer*/
5846
+ ctx[10] ? true : false
5847
+ )
5848
+ ),
5849
+ isFeedbackAlert: (
5850
+ /*isPreviewModeInteractive*/
5851
+ ctx[4] ? false : true
5852
+ ),
6033
5853
  isResultCorrect: (
6034
5854
  /*isResultCorrect*/
6035
5855
  ctx[1]
6036
5856
  ),
6037
- resultFeedback: (
6038
- /*computedFeedback*/
6039
- ctx[18]
6040
- ),
6041
5857
  isSkipped: (
6042
5858
  /*isSkippedAnswer*/
6043
5859
  ctx[10]
6044
5860
  ),
6045
- hasIcon: !/*isResultCorrect*/
6046
- ctx[1] || /*isSkippedAnswer*/
6047
- ctx[10],
6048
- resultFeedbackTitle: (
6049
- /*computedFeedbackTitle*/
6050
- ctx[19]
5861
+ resultFeedback: (
5862
+ /*resultFeedback*/
5863
+ ctx[8]
6051
5864
  )
6052
5865
  }
6053
5866
  });
6054
5867
  return {
6055
5868
  c() {
6056
- create_component(promptresultv2.$$.fragment);
5869
+ create_component(promptresult.$$.fragment);
6057
5870
  },
6058
5871
  m(target, anchor) {
6059
- mount_component(promptresultv2, target, anchor);
5872
+ mount_component(promptresult, target, anchor);
6060
5873
  current = true;
6061
5874
  },
6062
5875
  p(ctx2, dirty) {
6063
- const promptresultv2_changes = {};
5876
+ const promptresult_changes = {};
5877
+ if (dirty[0] & /*isSkippedAnswer*/
5878
+ 1024)
5879
+ promptresult_changes.hasIcon = /*isInlineTypein*/
5880
+ ctx2[24] ? true : (
5881
+ /*isSkippedAnswer*/
5882
+ ctx2[10] ? true : false
5883
+ );
5884
+ if (dirty[0] & /*isPreviewModeInteractive*/
5885
+ 16)
5886
+ promptresult_changes.isFeedbackAlert = /*isPreviewModeInteractive*/
5887
+ ctx2[4] ? false : true;
6064
5888
  if (dirty[0] & /*isResultCorrect*/
6065
5889
  2)
6066
- promptresultv2_changes.isResultCorrect = /*isResultCorrect*/
5890
+ promptresult_changes.isResultCorrect = /*isResultCorrect*/
6067
5891
  ctx2[1];
6068
- if (dirty[0] & /*computedFeedback*/
6069
- 262144)
6070
- promptresultv2_changes.resultFeedback = /*computedFeedback*/
6071
- ctx2[18];
6072
5892
  if (dirty[0] & /*isSkippedAnswer*/
6073
5893
  1024)
6074
- promptresultv2_changes.isSkipped = /*isSkippedAnswer*/
5894
+ promptresult_changes.isSkipped = /*isSkippedAnswer*/
6075
5895
  ctx2[10];
6076
- if (dirty[0] & /*isResultCorrect, isSkippedAnswer*/
6077
- 1026)
6078
- promptresultv2_changes.hasIcon = !/*isResultCorrect*/
6079
- ctx2[1] || /*isSkippedAnswer*/
6080
- ctx2[10];
6081
- if (dirty[0] & /*computedFeedbackTitle*/
6082
- 524288)
6083
- promptresultv2_changes.resultFeedbackTitle = /*computedFeedbackTitle*/
6084
- ctx2[19];
6085
- promptresultv2.$set(promptresultv2_changes);
6086
- },
6087
- i(local) {
6088
- if (current)
6089
- return;
6090
- transition_in(promptresultv2.$$.fragment, local);
6091
- current = true;
6092
- },
6093
- o(local) {
6094
- transition_out(promptresultv2.$$.fragment, local);
6095
- current = false;
6096
- },
6097
- d(detaching) {
6098
- destroy_component(promptresultv2, detaching);
6099
- }
6100
- };
6101
- }
6102
- function create_if_block_43(ctx) {
6103
- let promptresult;
6104
- let current;
6105
- promptresult = new PromptResultFeedback_default({
6106
- props: {
6107
- isResultCorrect: (
6108
- /*isResultCorrect*/
6109
- ctx[1]
6110
- ),
6111
- resultFeedback: (
6112
- /*resultFeedback*/
6113
- ctx[8]
6114
- )
6115
- }
6116
- });
6117
- return {
6118
- c() {
6119
- create_component(promptresult.$$.fragment);
6120
- },
6121
- m(target, anchor) {
6122
- mount_component(promptresult, target, anchor);
6123
- current = true;
6124
- },
6125
- p(ctx2, dirty) {
6126
- const promptresult_changes = {};
6127
- if (dirty[0] & /*isResultCorrect*/
6128
- 2)
6129
- promptresult_changes.isResultCorrect = /*isResultCorrect*/
6130
- ctx2[1];
6131
5896
  if (dirty[0] & /*resultFeedback*/
6132
5897
  256)
6133
5898
  promptresult_changes.resultFeedback = /*resultFeedback*/
@@ -6149,7 +5914,7 @@
6149
5914
  }
6150
5915
  };
6151
5916
  }
6152
- function create_if_block_16(ctx) {
5917
+ function create_if_block_15(ctx) {
6153
5918
  let each_1_anchor;
6154
5919
  let current;
6155
5920
  let each_value = ensure_array_like(
@@ -6181,7 +5946,7 @@
6181
5946
  },
6182
5947
  p(ctx2, dirty) {
6183
5948
  if (dirty[0] & /*inlineIteration, inlineAnswerResult, correctAnswerDataLength, sessionId, inlineTypeinAnswer, correctAnswerData*/
6184
- 2327072) {
5949
+ 754208) {
6185
5950
  each_value = ensure_array_like(
6186
5951
  /*correctAnswerData*/
6187
5952
  ctx2[16]
@@ -6238,18 +6003,18 @@
6238
6003
  let current;
6239
6004
  const if_block_creators = [create_if_block_34, create_else_block2];
6240
6005
  const if_blocks = [];
6241
- function select_block_type_4(ctx2, dirty) {
6006
+ function select_block_type_3(ctx2, dirty) {
6242
6007
  if (
6243
6008
  /*inlineAnswerResult*/
6244
6009
  ctx2[15][
6245
6010
  /*itemIndex*/
6246
- ctx2[64]
6011
+ ctx2[62]
6247
6012
  ]
6248
6013
  )
6249
6014
  return 0;
6250
6015
  return 1;
6251
6016
  }
6252
- current_block_type_index = select_block_type_4(ctx, [-1, -1, -1]);
6017
+ current_block_type_index = select_block_type_3(ctx, [-1, -1, -1]);
6253
6018
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
6254
6019
  return {
6255
6020
  c() {
@@ -6259,7 +6024,7 @@
6259
6024
  attr(span0, "class", span0_class_value = /*inlineAnswerResult*/
6260
6025
  (ctx[15][
6261
6026
  /*itemIndex*/
6262
- ctx[64]
6027
+ ctx[62]
6263
6028
  ] ? "text-green-900" : "text-red-900") + " p-0.5");
6264
6029
  attr(span1, "class", "w-6 h-6 absolute right-4 top-3 bottom-0 my-auto flex item-center justify-center");
6265
6030
  },
@@ -6271,7 +6036,7 @@
6271
6036
  },
6272
6037
  p(ctx2, dirty) {
6273
6038
  let previous_block_index = current_block_type_index;
6274
- current_block_type_index = select_block_type_4(ctx2, dirty);
6039
+ current_block_type_index = select_block_type_3(ctx2, dirty);
6275
6040
  if (current_block_type_index !== previous_block_index) {
6276
6041
  group_outros();
6277
6042
  transition_out(if_blocks[previous_block_index], 1, 1, () => {
@@ -6291,7 +6056,7 @@
6291
6056
  32768 && span0_class_value !== (span0_class_value = /*inlineAnswerResult*/
6292
6057
  (ctx2[15][
6293
6058
  /*itemIndex*/
6294
- ctx2[64]
6059
+ ctx2[62]
6295
6060
  ] ? "text-green-900" : "text-red-900") + " p-0.5")) {
6296
6061
  attr(span0, "class", span0_class_value);
6297
6062
  }
@@ -6373,7 +6138,7 @@
6373
6138
  let p;
6374
6139
  let t0_value = useIsEven(
6375
6140
  /*iterationIndex*/
6376
- ctx[67]
6141
+ ctx[65]
6377
6142
  ) ? `Student's` : "Correct";
6378
6143
  let t0;
6379
6144
  let t1;
@@ -6397,7 +6162,7 @@
6397
6162
  let t6;
6398
6163
  let show_if = useIsEven(
6399
6164
  /*iterationIndex*/
6400
- ctx[67]
6165
+ ctx[65]
6401
6166
  );
6402
6167
  let div0_class_value;
6403
6168
  let div1_class_value;
@@ -6418,7 +6183,7 @@
6418
6183
  t3 = space();
6419
6184
  span1 = element("span");
6420
6185
  span1.textContent = `${/*itemIndex*/
6421
- ctx[64] + 1}`;
6186
+ ctx[62] + 1}`;
6422
6187
  t5 = space();
6423
6188
  textarea = element("textarea");
6424
6189
  t6 = space();
@@ -6426,130 +6191,130 @@
6426
6191
  if_block.c();
6427
6192
  attr(p, "class", p_class_value = "text-base text-charcoal font-semibold " + (useIsEven(
6428
6193
  /*iterationIndex*/
6429
- ctx[67]
6194
+ ctx[65]
6430
6195
  ) && /*itemIndex*/
6431
- ctx[64] !== 0 ? "hidden" : !useIsEven(
6196
+ ctx[62] !== 0 ? "hidden" : !useIsEven(
6432
6197
  /*iterationIndex*/
6433
- ctx[67]
6198
+ ctx[65]
6434
6199
  ) && /*itemIndex*/
6435
- ctx[64] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
6200
+ ctx[62] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
6436
6201
  /*iterationIndex*/
6437
- ctx[67]
6202
+ ctx[65]
6438
6203
  ) && /*itemIndex*/
6439
- ctx[64] === 0 ? "mt-2 md:mt-0" : (
6204
+ ctx[62] === 0 ? "mt-2 md:mt-0" : (
6440
6205
  /*itemIndex*/
6441
- ctx[64] === 0 ? "" : ""
6206
+ ctx[62] === 0 ? "" : ""
6442
6207
  )) + " " + (!useIsEven(
6443
6208
  /*iterationIndex*/
6444
- ctx[67]
6209
+ ctx[65]
6445
6210
  ) && /*inlineAnswerResult*/
6446
6211
  ctx[15][
6447
6212
  /*itemIndex*/
6448
- ctx[64]
6213
+ ctx[62]
6449
6214
  ] ? "hidden md:block" : ""));
6450
6215
  attr(span0, "class", "absolute inset-0 bottom-[7px] bg-black opacity-5 rounded-l-lg w-8.5 top-1");
6451
6216
  attr(span1, "class", "absolute font-semibold text-base leading-[19px] text-charcoal px-3 inline-block top-1/2 -translate-y-1/2 -mt-0.5");
6452
6217
  attr(label, "for", label_for_value = `${/*iterationIndex*/
6453
- ctx[67]}-${/*sessionId*/
6218
+ ctx[65]}-${/*sessionId*/
6454
6219
  ctx[5]}-${/*itemIndex*/
6455
- ctx[64]}`);
6220
+ ctx[62]}`);
6456
6221
  attr(label, "class", label_class_value = "absolute left-0 top-[13px] bottom-0 " + /*correctAnswerDataLength*/
6457
6222
  (ctx[17] > 1 && !useIsEven(
6458
6223
  /*iterationIndex*/
6459
- ctx[67]
6224
+ ctx[65]
6460
6225
  ) ? "hidden md:inline-block" : (
6461
6226
  /*correctAnswerDataLength*/
6462
6227
  ctx[17] > 1 && useIsEven(
6463
6228
  /*iterationIndex*/
6464
- ctx[67]
6229
+ ctx[65]
6465
6230
  ) ? "" : "hidden"
6466
6231
  )));
6467
6232
  attr(label, "aria-hidden", "true");
6468
6233
  attr(textarea, "aria-label", textarea_aria_label_value = `${useIsEven(
6469
6234
  /*iterationIndex*/
6470
- ctx[67]
6235
+ ctx[65]
6471
6236
  ) ? `Student's` : "Correct"} answer${useIsEven(
6472
6237
  /*iterationIndex*/
6473
- ctx[67]
6238
+ ctx[65]
6474
6239
  ) && /*inlineAnswerResult*/
6475
6240
  ctx[15][
6476
6241
  /*itemIndex*/
6477
- ctx[64]
6242
+ ctx[62]
6478
6243
  ] ? " (Correct)" : useIsEven(
6479
6244
  /*iterationIndex*/
6480
- ctx[67]
6245
+ ctx[65]
6481
6246
  ) && !/*inlineAnswerResult*/
6482
6247
  ctx[15][
6483
6248
  /*itemIndex*/
6484
- ctx[64]
6249
+ ctx[62]
6485
6250
  ] ? " (Incorrect)" : ""}, Item number ${/*itemIndex*/
6486
- ctx[64] + 1}:`);
6251
+ ctx[62] + 1}:`);
6487
6252
  attr(textarea, "class", textarea_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
6488
6253
  (ctx[17] > 1 && !useIsEven(
6489
6254
  /*iterationIndex*/
6490
- ctx[67]
6255
+ ctx[65]
6491
6256
  ) ? "md:pl-13.2" : (
6492
6257
  /*correctAnswerDataLength*/
6493
6258
  ctx[17] > 1 && useIsEven(
6494
6259
  /*iterationIndex*/
6495
- ctx[67]
6260
+ ctx[65]
6496
6261
  ) ? "pl-13.2" : ""
6497
6262
  )) + " " + (useIsEven(
6498
6263
  /*iterationIndex*/
6499
- ctx[67]
6264
+ ctx[65]
6500
6265
  ) ? "!pr-11" : "") + " " + (useIsEven(
6501
6266
  /*iterationIndex*/
6502
- ctx[67]
6267
+ ctx[65]
6503
6268
  ) && /*inlineAnswerResult*/
6504
6269
  ctx[15][
6505
6270
  /*itemIndex*/
6506
- ctx[64]
6271
+ ctx[62]
6507
6272
  ] ? "border-2 border-green-900" : useIsEven(
6508
6273
  /*iterationIndex*/
6509
- ctx[67]
6274
+ ctx[65]
6510
6275
  ) && !/*inlineAnswerResult*/
6511
6276
  ctx[15][
6512
6277
  /*itemIndex*/
6513
- ctx[64]
6278
+ ctx[62]
6514
6279
  ] ? "border-2 border-red-900 bg-red-50" : ""));
6515
6280
  attr(textarea, "id", textarea_id_value = `${/*iterationIndex*/
6516
- ctx[67]}-${/*sessionId*/
6281
+ ctx[65]}-${/*sessionId*/
6517
6282
  ctx[5]}-${/*itemIndex*/
6518
- ctx[64]}`);
6283
+ ctx[62]}`);
6519
6284
  textarea.value = textarea_value_value = useIsEven(
6520
6285
  /*iterationIndex*/
6521
- ctx[67]
6286
+ ctx[65]
6522
6287
  ) ? (
6523
6288
  /*inlineTypeinAnswer*/
6524
6289
  ctx[9][
6525
6290
  /*itemIndex*/
6526
- ctx[64]
6291
+ ctx[62]
6527
6292
  ] || "No answer provided"
6528
6293
  ) : (
6529
6294
  /*item*/
6530
- ctx[62][0]
6295
+ ctx[60][0]
6531
6296
  );
6532
6297
  attr(textarea, "rows", "1");
6533
6298
  textarea.readOnly = true;
6534
6299
  attr(textarea, "tabindex", textarea_tabindex_value = !useIsEven(
6535
6300
  /*iterationIndex*/
6536
- ctx[67]
6301
+ ctx[65]
6537
6302
  ) && /*inlineAnswerResult*/
6538
6303
  ctx[15][
6539
6304
  /*itemIndex*/
6540
- ctx[64]
6305
+ ctx[62]
6541
6306
  ] ? "-1" : "");
6542
6307
  attr(div0, "class", div0_class_value = "h-fit relative " + (!useIsEven(
6543
6308
  /*iterationIndex*/
6544
- ctx[67]
6309
+ ctx[65]
6545
6310
  ) && /*inlineAnswerResult*/
6546
6311
  ctx[15][
6547
6312
  /*itemIndex*/
6548
- ctx[64]
6313
+ ctx[62]
6549
6314
  ] ? "hidden md:block" : ""));
6550
6315
  attr(div1, "class", div1_class_value = "flex flex-col md:w-1/2 " + (useIsEven(
6551
6316
  /*iterationIndex*/
6552
- ctx[67]
6317
+ ctx[65]
6553
6318
  ) ? "md:pr-4" : "ml-8.5 md:ml-0 md:pl-4"));
6554
6319
  },
6555
6320
  m(target, anchor) {
@@ -6578,46 +6343,46 @@
6578
6343
  if (!current || dirty[0] & /*inlineAnswerResult*/
6579
6344
  32768 && p_class_value !== (p_class_value = "text-base text-charcoal font-semibold " + (useIsEven(
6580
6345
  /*iterationIndex*/
6581
- ctx2[67]
6346
+ ctx2[65]
6582
6347
  ) && /*itemIndex*/
6583
- ctx2[64] !== 0 ? "hidden" : !useIsEven(
6348
+ ctx2[62] !== 0 ? "hidden" : !useIsEven(
6584
6349
  /*iterationIndex*/
6585
- ctx2[67]
6350
+ ctx2[65]
6586
6351
  ) && /*itemIndex*/
6587
- ctx2[64] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
6352
+ ctx2[62] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
6588
6353
  /*iterationIndex*/
6589
- ctx2[67]
6354
+ ctx2[65]
6590
6355
  ) && /*itemIndex*/
6591
- ctx2[64] === 0 ? "mt-2 md:mt-0" : (
6356
+ ctx2[62] === 0 ? "mt-2 md:mt-0" : (
6592
6357
  /*itemIndex*/
6593
- ctx2[64] === 0 ? "" : ""
6358
+ ctx2[62] === 0 ? "" : ""
6594
6359
  )) + " " + (!useIsEven(
6595
6360
  /*iterationIndex*/
6596
- ctx2[67]
6361
+ ctx2[65]
6597
6362
  ) && /*inlineAnswerResult*/
6598
6363
  ctx2[15][
6599
6364
  /*itemIndex*/
6600
- ctx2[64]
6365
+ ctx2[62]
6601
6366
  ] ? "hidden md:block" : ""))) {
6602
6367
  attr(p, "class", p_class_value);
6603
6368
  }
6604
6369
  if (!current || dirty[0] & /*sessionId*/
6605
6370
  32 && label_for_value !== (label_for_value = `${/*iterationIndex*/
6606
- ctx2[67]}-${/*sessionId*/
6371
+ ctx2[65]}-${/*sessionId*/
6607
6372
  ctx2[5]}-${/*itemIndex*/
6608
- ctx2[64]}`)) {
6373
+ ctx2[62]}`)) {
6609
6374
  attr(label, "for", label_for_value);
6610
6375
  }
6611
6376
  if (!current || dirty[0] & /*correctAnswerDataLength*/
6612
6377
  131072 && label_class_value !== (label_class_value = "absolute left-0 top-[13px] bottom-0 " + /*correctAnswerDataLength*/
6613
6378
  (ctx2[17] > 1 && !useIsEven(
6614
6379
  /*iterationIndex*/
6615
- ctx2[67]
6380
+ ctx2[65]
6616
6381
  ) ? "hidden md:inline-block" : (
6617
6382
  /*correctAnswerDataLength*/
6618
6383
  ctx2[17] > 1 && useIsEven(
6619
6384
  /*iterationIndex*/
6620
- ctx2[67]
6385
+ ctx2[65]
6621
6386
  ) ? "" : "hidden"
6622
6387
  )))) {
6623
6388
  attr(label, "class", label_class_value);
@@ -6625,87 +6390,87 @@
6625
6390
  if (!current || dirty[0] & /*inlineAnswerResult*/
6626
6391
  32768 && textarea_aria_label_value !== (textarea_aria_label_value = `${useIsEven(
6627
6392
  /*iterationIndex*/
6628
- ctx2[67]
6393
+ ctx2[65]
6629
6394
  ) ? `Student's` : "Correct"} answer${useIsEven(
6630
6395
  /*iterationIndex*/
6631
- ctx2[67]
6396
+ ctx2[65]
6632
6397
  ) && /*inlineAnswerResult*/
6633
6398
  ctx2[15][
6634
6399
  /*itemIndex*/
6635
- ctx2[64]
6400
+ ctx2[62]
6636
6401
  ] ? " (Correct)" : useIsEven(
6637
6402
  /*iterationIndex*/
6638
- ctx2[67]
6403
+ ctx2[65]
6639
6404
  ) && !/*inlineAnswerResult*/
6640
6405
  ctx2[15][
6641
6406
  /*itemIndex*/
6642
- ctx2[64]
6407
+ ctx2[62]
6643
6408
  ] ? " (Incorrect)" : ""}, Item number ${/*itemIndex*/
6644
- ctx2[64] + 1}:`)) {
6409
+ ctx2[62] + 1}:`)) {
6645
6410
  attr(textarea, "aria-label", textarea_aria_label_value);
6646
6411
  }
6647
6412
  if (!current || dirty[0] & /*correctAnswerDataLength, inlineAnswerResult*/
6648
6413
  163840 && textarea_class_value !== (textarea_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
6649
6414
  (ctx2[17] > 1 && !useIsEven(
6650
6415
  /*iterationIndex*/
6651
- ctx2[67]
6416
+ ctx2[65]
6652
6417
  ) ? "md:pl-13.2" : (
6653
6418
  /*correctAnswerDataLength*/
6654
6419
  ctx2[17] > 1 && useIsEven(
6655
6420
  /*iterationIndex*/
6656
- ctx2[67]
6421
+ ctx2[65]
6657
6422
  ) ? "pl-13.2" : ""
6658
6423
  )) + " " + (useIsEven(
6659
6424
  /*iterationIndex*/
6660
- ctx2[67]
6425
+ ctx2[65]
6661
6426
  ) ? "!pr-11" : "") + " " + (useIsEven(
6662
6427
  /*iterationIndex*/
6663
- ctx2[67]
6428
+ ctx2[65]
6664
6429
  ) && /*inlineAnswerResult*/
6665
6430
  ctx2[15][
6666
6431
  /*itemIndex*/
6667
- ctx2[64]
6432
+ ctx2[62]
6668
6433
  ] ? "border-2 border-green-900" : useIsEven(
6669
6434
  /*iterationIndex*/
6670
- ctx2[67]
6435
+ ctx2[65]
6671
6436
  ) && !/*inlineAnswerResult*/
6672
6437
  ctx2[15][
6673
6438
  /*itemIndex*/
6674
- ctx2[64]
6439
+ ctx2[62]
6675
6440
  ] ? "border-2 border-red-900 bg-red-50" : ""))) {
6676
6441
  attr(textarea, "class", textarea_class_value);
6677
6442
  }
6678
6443
  if (!current || dirty[0] & /*sessionId*/
6679
6444
  32 && textarea_id_value !== (textarea_id_value = `${/*iterationIndex*/
6680
- ctx2[67]}-${/*sessionId*/
6445
+ ctx2[65]}-${/*sessionId*/
6681
6446
  ctx2[5]}-${/*itemIndex*/
6682
- ctx2[64]}`)) {
6447
+ ctx2[62]}`)) {
6683
6448
  attr(textarea, "id", textarea_id_value);
6684
6449
  }
6685
6450
  if (!current || dirty[0] & /*inlineTypeinAnswer, correctAnswerData*/
6686
6451
  66048 && textarea_value_value !== (textarea_value_value = useIsEven(
6687
6452
  /*iterationIndex*/
6688
- ctx2[67]
6453
+ ctx2[65]
6689
6454
  ) ? (
6690
6455
  /*inlineTypeinAnswer*/
6691
6456
  ctx2[9][
6692
6457
  /*itemIndex*/
6693
- ctx2[64]
6458
+ ctx2[62]
6694
6459
  ] || "No answer provided"
6695
6460
  ) : (
6696
6461
  /*item*/
6697
- ctx2[62][0]
6462
+ ctx2[60][0]
6698
6463
  ))) {
6699
6464
  textarea.value = textarea_value_value;
6700
6465
  }
6701
6466
  if (!current || dirty[0] & /*inlineAnswerResult*/
6702
6467
  32768 && textarea_tabindex_value !== (textarea_tabindex_value = !useIsEven(
6703
6468
  /*iterationIndex*/
6704
- ctx2[67]
6469
+ ctx2[65]
6705
6470
  ) && /*inlineAnswerResult*/
6706
6471
  ctx2[15][
6707
6472
  /*itemIndex*/
6708
- ctx2[64]
6473
+ ctx2[62]
6709
6474
  ] ? "-1" : "")) {
6710
6475
  attr(textarea, "tabindex", textarea_tabindex_value);
6711
6476
  }
@@ -6714,11 +6479,11 @@
6714
6479
  if (!current || dirty[0] & /*inlineAnswerResult*/
6715
6480
  32768 && div0_class_value !== (div0_class_value = "h-fit relative " + (!useIsEven(
6716
6481
  /*iterationIndex*/
6717
- ctx2[67]
6482
+ ctx2[65]
6718
6483
  ) && /*inlineAnswerResult*/
6719
6484
  ctx2[15][
6720
6485
  /*itemIndex*/
6721
- ctx2[64]
6486
+ ctx2[62]
6722
6487
  ] ? "hidden md:block" : ""))) {
6723
6488
  attr(div0, "class", div0_class_value);
6724
6489
  }
@@ -6750,7 +6515,7 @@
6750
6515
  let current;
6751
6516
  let each_value_1 = ensure_array_like(
6752
6517
  /*inlineIteration*/
6753
- ctx[21]
6518
+ ctx[19]
6754
6519
  );
6755
6520
  let each_blocks = [];
6756
6521
  for (let i = 0; i < each_value_1.length; i += 1) {
@@ -6783,7 +6548,7 @@
6783
6548
  229920) {
6784
6549
  each_value_1 = ensure_array_like(
6785
6550
  /*inlineIteration*/
6786
- ctx2[21]
6551
+ ctx2[19]
6787
6552
  );
6788
6553
  let i;
6789
6554
  for (i = 0; i < each_value_1.length; i += 1) {
@@ -6834,17 +6599,17 @@
6834
6599
  let t2;
6835
6600
  let if_block1_anchor;
6836
6601
  let current;
6837
- const if_block_creators = [create_if_block_83, create_if_block_102, create_else_block_3];
6602
+ const if_block_creators = [create_if_block_73, create_if_block_92, create_else_block_3];
6838
6603
  const if_blocks = [];
6839
6604
  function select_block_type(ctx2, dirty) {
6840
6605
  if (
6841
6606
  /*isInlineTypein*/
6842
- ctx2[26]
6607
+ ctx2[24]
6843
6608
  )
6844
6609
  return 0;
6845
6610
  if (
6846
6611
  /*typeinType*/
6847
- ctx2[25] === TYPEIN_TYPE_SHORT
6612
+ ctx2[23] === TYPEIN_TYPE_SHORT
6848
6613
  )
6849
6614
  return 1;
6850
6615
  return 2;
@@ -6853,7 +6618,7 @@
6853
6618
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
6854
6619
  let if_block1 = (
6855
6620
  /*isFinished*/
6856
- ctx[0] && create_if_block7(ctx)
6621
+ ctx[0] && create_if_block6(ctx)
6857
6622
  );
6858
6623
  return {
6859
6624
  c() {
@@ -6884,7 +6649,7 @@
6884
6649
  transition_in(if_block1, 1);
6885
6650
  }
6886
6651
  } else {
6887
- if_block1 = create_if_block7(ctx2);
6652
+ if_block1 = create_if_block6(ctx2);
6888
6653
  if_block1.c();
6889
6654
  transition_in(if_block1, 1);
6890
6655
  if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
@@ -6920,23 +6685,23 @@
6920
6685
  }
6921
6686
  };
6922
6687
  }
6923
- function create_fragment13(ctx) {
6688
+ function create_fragment12(ctx) {
6924
6689
  let promptbody;
6925
6690
  let current;
6926
6691
  promptbody = new PromptBody_default({
6927
6692
  props: {
6928
6693
  rubric: (
6929
6694
  /*rubric*/
6930
- ctx[22].text
6695
+ ctx[20].text
6931
6696
  ),
6932
6697
  prompt: (
6933
6698
  /*prompt*/
6934
- ctx[24]
6699
+ ctx[22]
6935
6700
  ),
6936
6701
  interactionType: INTERACTION_TYPE_TYPEIN,
6937
6702
  stimulus: (
6938
6703
  /*stimulus*/
6939
- ctx[23]
6704
+ ctx[21]
6940
6705
  ),
6941
6706
  hasDivider: (
6942
6707
  /*hasDivider*/
@@ -6960,9 +6725,9 @@
6960
6725
  16384)
6961
6726
  promptbody_changes.hasDivider = /*hasDivider*/
6962
6727
  ctx2[14];
6963
- if (dirty[0] & /*correctAnswerData, inlineAnswerResult, correctAnswerDataLength, sessionId, inlineTypeinAnswer, isPreviewMode, isPreviewModeInteractive, isResultCorrect, resultFeedback, computedFeedback, isSkippedAnswer, computedFeedbackTitle, resultLabel, isFinished, isDataSaving, root, inlinePromptString, textAriaLabel, placeholder, typeinAnswer*/
6964
- 2080767 | dirty[2] & /*$$scope*/
6965
- 64) {
6728
+ if (dirty[0] & /*correctAnswerData, inlineAnswerResult, correctAnswerDataLength, sessionId, inlineTypeinAnswer, isPreviewMode, isPreviewModeInteractive, isSkippedAnswer, isResultCorrect, resultFeedback, isFinished, resultLabel, isDataSaving, root, inlinePromptString, textAriaLabel, placeholder, typeinAnswer*/
6729
+ 507903 | dirty[2] & /*$$scope*/
6730
+ 16) {
6966
6731
  promptbody_changes.$$scope = { dirty, ctx: ctx2 };
6967
6732
  }
6968
6733
  promptbody.$set(promptbody_changes);
@@ -6983,7 +6748,7 @@
6983
6748
  };
6984
6749
  }
6985
6750
  var idLabel = "answerText";
6986
- function instance8($$self, $$props, $$invalidate) {
6751
+ function instance7($$self, $$props, $$invalidate) {
6987
6752
  let { sessionData } = $$props;
6988
6753
  let { isDataSaving } = $$props;
6989
6754
  let { isFinished = false } = $$props;
@@ -7012,10 +6777,8 @@
7012
6777
  let correctAnswerDataLength = 0;
7013
6778
  const inlineIteration = ["student", "correct"];
7014
6779
  const { rubric, interaction, metadata, scoringMetadata, stimulus } = sessionData;
7015
- const { prompt, typein_type: typeinType } = interaction;
6780
+ const { prompt, typein_type: typeinType, feedback } = interaction;
7016
6781
  const isInlineTypein = typeinType === TYPEIN_TYPE_INLINE;
7017
- let computedFeedback = null;
7018
- let computedFeedbackTitle = null;
7019
6782
  if (metadata) {
7020
6783
  const events = metadata.interactions.events.pop();
7021
6784
  if (isInlineTypein) {
@@ -7074,11 +6837,9 @@
7074
6837
  $$invalidate(0, isFinished = true);
7075
6838
  $$invalidate(16, correctAnswerData = previewCorrectAnswer);
7076
6839
  $$invalidate(17, correctAnswerDataLength = previewCorrectAnswer.length);
7077
- if (hasOnlyEmptyWrongAnswers(inlineTypeinAnswer, inlineAnswerResult))
6840
+ if (hasOnlyEmptyWrongAnswers(inlineTypeinAnswer, inlineAnswerResult) && !isResultCorrect)
7078
6841
  $$invalidate(10, isSkippedAnswer = true);
7079
- if (!isResultCorrect && inlineTypeinAnswer.some((value) => value !== ""))
7080
- getFeedback();
7081
- inlineComputedFeedback();
6842
+ getFeedback();
7082
6843
  buildInlinePrompt();
7083
6844
  setTimeout(
7084
6845
  () => {
@@ -7096,13 +6857,13 @@
7096
6857
  input?.blur();
7097
6858
  };
7098
6859
  const getFeedback = () => {
7099
- const { correct: correctFeeback, incorrect: incorrectFeedback } = interaction.feedback;
6860
+ const { correct: correctFeeback, incorrect: incorrectFeedback } = feedback;
7100
6861
  $$invalidate(8, resultFeedback = isResultCorrect ? correctFeeback : incorrectFeedback);
7101
6862
  };
7102
6863
  const getResultMessage = () => {
7103
6864
  $$invalidate(12, resultLabel = isResultCorrect ? "Correct" : "Incorrect");
7104
- $$invalidate(20, textAriaLabel = `Submitted response is ${resultLabel.toLocaleLowerCase()}`);
7105
- $$invalidate(11, placeholder = isResultCorrect ? placeholder : "No answer provided");
6865
+ $$invalidate(18, textAriaLabel = `Submitted response is ${resultLabel.toLocaleLowerCase()}`);
6866
+ $$invalidate(11, placeholder = isResultCorrect ? placeholder : "Type your answer here");
7106
6867
  };
7107
6868
  const checkInlineAnswer = (correctAnswer, answer, isAllowMacron, isIgnorePunctuation) => {
7108
6869
  const transformedAnswerList = correctAnswer.map((item) => item.map((data) => data.toLowerCase()));
@@ -7117,10 +6878,6 @@
7117
6878
  return transformedAnswerList[index].includes(inlineAnswer.toLowerCase().trim());
7118
6879
  });
7119
6880
  };
7120
- const inlineComputedFeedback = () => {
7121
- $$invalidate(18, computedFeedback = isSkippedAnswer ? "" : resultFeedback);
7122
- $$invalidate(19, computedFeedbackTitle = isResultCorrect || isSkippedAnswer ? "" : "Why they got it wrong");
7123
- };
7124
6881
  const hasOnlyEmptyWrongAnswers = (answers, answerResults) => {
7125
6882
  return answers.filter((value) => value === "").length === answerResults.filter((value) => value === false).length;
7126
6883
  };
@@ -7134,14 +6891,12 @@
7134
6891
  inlineTypeinAnswer = answer.map((data) => data[0]);
7135
6892
  metadataAnswer = inlineTypeinAnswer;
7136
6893
  }
7137
- if (!isResultCorrect)
7138
- getFeedback();
6894
+ getFeedback();
7139
6895
  correctAnswerData = correctAnswer;
7140
6896
  correctAnswerDataLength = correctAnswer.length;
7141
6897
  inlineAnswerResult = checkInlineAnswer(correctAnswer, metadataAnswer, allowNonMacrons, ignorePunctuation);
7142
- if (hasOnlyEmptyWrongAnswers(metadataAnswer, inlineAnswerResult))
6898
+ if (hasOnlyEmptyWrongAnswers(metadataAnswer, inlineAnswerResult) && !isResultCorrect)
7143
6899
  isSkippedAnswer = true;
7144
- inlineComputedFeedback();
7145
6900
  } else {
7146
6901
  typeinAnswer = answer && hasAnswer ? answer : typeinAnswer;
7147
6902
  }
@@ -7152,10 +6907,16 @@
7152
6907
  }
7153
6908
  const resetInteractivePreviewData = () => {
7154
6909
  $$invalidate(12, resultLabel = "");
7155
- $$invalidate(20, textAriaLabel = "");
6910
+ $$invalidate(18, textAriaLabel = "");
7156
6911
  $$invalidate(11, placeholder = "");
7157
- getResultMessage();
7158
- getFeedback();
6912
+ $$invalidate(8, resultFeedback = "");
6913
+ setTimeout(
6914
+ () => {
6915
+ getResultMessage();
6916
+ getFeedback();
6917
+ },
6918
+ 50
6919
+ );
7159
6920
  };
7160
6921
  const buildInlinePrompt = () => {
7161
6922
  $$invalidate(14, hasDivider = false);
@@ -7211,18 +6972,23 @@
7211
6972
  }
7212
6973
  const saveAnswer = () => {
7213
6974
  focusOrigin = "tab";
7214
- if (isDataSaving || typeinAnswer === latestAnswer || !typeinAnswer && !latestAnswer)
7215
- return;
7216
- latestAnswer = typeinAnswer;
7217
- dispatch("saveAnswer", { answer: [typeinAnswer || ""] });
7218
- if (isPreviewModeInteractive && typeinType !== TYPEIN_TYPE_LONG) {
6975
+ if (isPreviewModeInteractive) {
7219
6976
  setTimeout(
7220
6977
  () => {
7221
6978
  resetInteractivePreviewData();
7222
6979
  },
7223
6980
  50
7224
6981
  );
6982
+ if (typeinAnswer)
6983
+ isInteractiveTriggeredResult = true;
6984
+ if (isInteractiveTriggeredResult) {
6985
+ $$invalidate(10, isSkippedAnswer = !typeinAnswer ? true : false);
6986
+ }
7225
6987
  }
6988
+ if (isDataSaving || typeinAnswer === latestAnswer || !typeinAnswer && !latestAnswer)
6989
+ return;
6990
+ latestAnswer = typeinAnswer;
6991
+ dispatch("saveAnswer", { answer: [typeinAnswer || ""] });
7226
6992
  };
7227
6993
  const saveOnEnter = (event) => {
7228
6994
  if (event.key === "Enter") {
@@ -7263,7 +7029,7 @@
7263
7029
  const keydown_handler_1 = (event) => saveOnEnter(event);
7264
7030
  $$self.$$set = ($$props2) => {
7265
7031
  if ("sessionData" in $$props2)
7266
- $$invalidate(32, sessionData = $$props2.sessionData);
7032
+ $$invalidate(30, sessionData = $$props2.sessionData);
7267
7033
  if ("isDataSaving" in $$props2)
7268
7034
  $$invalidate(2, isDataSaving = $$props2.isDataSaving);
7269
7035
  if ("isFinished" in $$props2)
@@ -7275,13 +7041,13 @@
7275
7041
  if ("isPreviewModeInteractive" in $$props2)
7276
7042
  $$invalidate(4, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
7277
7043
  if ("isPreviewCheckedAnswer" in $$props2)
7278
- $$invalidate(33, isPreviewCheckedAnswer = $$props2.isPreviewCheckedAnswer);
7044
+ $$invalidate(31, isPreviewCheckedAnswer = $$props2.isPreviewCheckedAnswer);
7279
7045
  if ("sessionId" in $$props2)
7280
7046
  $$invalidate(5, sessionId = $$props2.sessionId);
7281
7047
  };
7282
7048
  $$self.$$.update = () => {
7283
7049
  if ($$self.$$.dirty[1] & /*isPreviewCheckedAnswer*/
7284
- 4) {
7050
+ 1) {
7285
7051
  $:
7286
7052
  if (isPreviewCheckedAnswer) {
7287
7053
  resetInteractivePreviewData();
@@ -7307,8 +7073,6 @@
7307
7073
  inlineAnswerResult,
7308
7074
  correctAnswerData,
7309
7075
  correctAnswerDataLength,
7310
- computedFeedback,
7311
- computedFeedbackTitle,
7312
7076
  textAriaLabel,
7313
7077
  inlineIteration,
7314
7078
  rubric,
@@ -7341,17 +7105,17 @@
7341
7105
  init(
7342
7106
  this,
7343
7107
  options,
7344
- instance8,
7345
- create_fragment13,
7108
+ instance7,
7109
+ create_fragment12,
7346
7110
  safe_not_equal,
7347
7111
  {
7348
- sessionData: 32,
7112
+ sessionData: 30,
7349
7113
  isDataSaving: 2,
7350
7114
  isFinished: 0,
7351
7115
  isResultCorrect: 1,
7352
7116
  isPreviewMode: 3,
7353
7117
  isPreviewModeInteractive: 4,
7354
- isPreviewCheckedAnswer: 33,
7118
+ isPreviewCheckedAnswer: 31,
7355
7119
  sessionId: 5
7356
7120
  },
7357
7121
  null,
@@ -7359,7 +7123,7 @@
7359
7123
  );
7360
7124
  }
7361
7125
  get sessionData() {
7362
- return this.$$.ctx[32];
7126
+ return this.$$.ctx[30];
7363
7127
  }
7364
7128
  set sessionData(sessionData) {
7365
7129
  this.$$set({ sessionData });
@@ -7401,7 +7165,7 @@
7401
7165
  flush();
7402
7166
  }
7403
7167
  get isPreviewCheckedAnswer() {
7404
- return this.$$.ctx[33];
7168
+ return this.$$.ctx[31];
7405
7169
  }
7406
7170
  set isPreviewCheckedAnswer(isPreviewCheckedAnswer) {
7407
7171
  this.$$set({ isPreviewCheckedAnswer });
@@ -9419,7 +9183,7 @@
9419
9183
  }
9420
9184
 
9421
9185
  // src/lib/assets/img/product/GripVertical.svelte
9422
- function create_fragment14(ctx) {
9186
+ function create_fragment13(ctx) {
9423
9187
  let svg;
9424
9188
  let path;
9425
9189
  return {
@@ -9453,7 +9217,7 @@
9453
9217
  var GripVertical = class extends SvelteComponent {
9454
9218
  constructor(options) {
9455
9219
  super();
9456
- init(this, options, null, create_fragment14, safe_not_equal, {});
9220
+ init(this, options, null, create_fragment13, safe_not_equal, {});
9457
9221
  }
9458
9222
  };
9459
9223
  create_custom_element(GripVertical, {}, [], [], true);
@@ -9555,7 +9319,7 @@
9555
9319
  }
9556
9320
  };
9557
9321
  }
9558
- function create_if_block_17(ctx) {
9322
+ function create_if_block_16(ctx) {
9559
9323
  let span;
9560
9324
  let successsolid;
9561
9325
  let current;
@@ -9589,7 +9353,7 @@
9589
9353
  }
9590
9354
  };
9591
9355
  }
9592
- function create_if_block8(ctx) {
9356
+ function create_if_block7(ctx) {
9593
9357
  let span;
9594
9358
  let gripvertical;
9595
9359
  let current;
@@ -9623,7 +9387,7 @@
9623
9387
  }
9624
9388
  };
9625
9389
  }
9626
- function create_fragment15(ctx) {
9390
+ function create_fragment14(ctx) {
9627
9391
  let button;
9628
9392
  let span0;
9629
9393
  let commonstringtohtml;
@@ -9647,7 +9411,7 @@
9647
9411
  /*word*/
9648
9412
  ctx[1]
9649
9413
  ) } });
9650
- const if_block_creators = [create_if_block_17, create_if_block_26, create_if_block_35, create_else_block3];
9414
+ const if_block_creators = [create_if_block_16, create_if_block_26, create_if_block_35, create_else_block3];
9651
9415
  const if_blocks = [];
9652
9416
  function select_block_type(ctx2, dirty) {
9653
9417
  if (
@@ -9674,7 +9438,7 @@
9674
9438
  let if_block1 = (
9675
9439
  /*resultType*/
9676
9440
  (ctx[0] === ANSWER_CORRECT || /*resultType*/
9677
- ctx[0] === ANSWER_INCORRECT) && create_if_block8(ctx)
9441
+ ctx[0] === ANSWER_INCORRECT) && create_if_block7(ctx)
9678
9442
  );
9679
9443
  return {
9680
9444
  c() {
@@ -9844,7 +9608,7 @@
9844
9608
  transition_in(if_block1, 1);
9845
9609
  }
9846
9610
  } else {
9847
- if_block1 = create_if_block8(ctx);
9611
+ if_block1 = create_if_block7(ctx);
9848
9612
  if_block1.c();
9849
9613
  transition_in(if_block1, 1);
9850
9614
  if_block1.m(span2, null);
@@ -9944,7 +9708,7 @@
9944
9708
  }
9945
9709
  };
9946
9710
  }
9947
- function instance9($$self, $$props, $$invalidate) {
9711
+ function instance8($$self, $$props, $$invalidate) {
9948
9712
  let { word = "" } = $$props;
9949
9713
  let { resultType = "" } = $$props;
9950
9714
  let { otherClass = "" } = $$props;
@@ -10100,7 +9864,7 @@
10100
9864
  var PromptCategoriseWordButton = class extends SvelteComponent {
10101
9865
  constructor(options) {
10102
9866
  super();
10103
- init(this, options, instance9, create_fragment15, safe_not_equal, {
9867
+ init(this, options, instance8, create_fragment14, safe_not_equal, {
10104
9868
  word: 1,
10105
9869
  resultType: 0,
10106
9870
  otherClass: 2,
@@ -10281,7 +10045,7 @@
10281
10045
  }
10282
10046
  };
10283
10047
  }
10284
- function create_if_block_18(ctx) {
10048
+ function create_if_block_17(ctx) {
10285
10049
  let div;
10286
10050
  let mounted;
10287
10051
  let dispose;
@@ -10323,7 +10087,7 @@
10323
10087
  }
10324
10088
  };
10325
10089
  }
10326
- function create_if_block9(ctx) {
10090
+ function create_if_block8(ctx) {
10327
10091
  let button;
10328
10092
  let t2;
10329
10093
  let button_class_value;
@@ -10362,7 +10126,7 @@
10362
10126
  let current;
10363
10127
  let if_block = (
10364
10128
  /*item*/
10365
- ctx[39].type === ANSWER_MISSED && create_if_block9(ctx)
10129
+ ctx[39].type === ANSWER_MISSED && create_if_block8(ctx)
10366
10130
  );
10367
10131
  promptcategorisewordbutton = new PromptCategoriseWordButton_default({
10368
10132
  props: {
@@ -10454,7 +10218,7 @@
10454
10218
  if (if_block) {
10455
10219
  if_block.p(ctx, dirty);
10456
10220
  } else {
10457
- if_block = create_if_block9(ctx);
10221
+ if_block = create_if_block8(ctx);
10458
10222
  if_block.c();
10459
10223
  if_block.m(t2.parentNode, t2);
10460
10224
  }
@@ -10541,7 +10305,7 @@
10541
10305
  }
10542
10306
  };
10543
10307
  }
10544
- function create_fragment16(ctx) {
10308
+ function create_fragment15(ctx) {
10545
10309
  let t0;
10546
10310
  let t1;
10547
10311
  let section;
@@ -10564,7 +10328,7 @@
10564
10328
  let if_block1 = (
10565
10329
  /*totalRemainingWordBinItem*/
10566
10330
  ctx[17] <= 0 && /*isContainerWordBin*/
10567
- ctx[23] && create_if_block_18(ctx)
10331
+ ctx[23] && create_if_block_17(ctx)
10568
10332
  );
10569
10333
  let each_value = ensure_array_like(Object.values(
10570
10334
  /*items*/
@@ -10703,7 +10467,7 @@
10703
10467
  if (if_block1) {
10704
10468
  if_block1.p(ctx2, dirty);
10705
10469
  } else {
10706
- if_block1 = create_if_block_18(ctx2);
10470
+ if_block1 = create_if_block_17(ctx2);
10707
10471
  if_block1.c();
10708
10472
  if_block1.m(t1.parentNode, t1);
10709
10473
  }
@@ -10817,7 +10581,7 @@
10817
10581
  }
10818
10582
  };
10819
10583
  }
10820
- function instance10($$self, $$props, $$invalidate) {
10584
+ function instance9($$self, $$props, $$invalidate) {
10821
10585
  let { containerClass = "" } = $$props;
10822
10586
  let { flipDurationMs = 5 } = $$props;
10823
10587
  let { containerId = "" } = $$props;
@@ -11162,8 +10926,8 @@
11162
10926
  init(
11163
10927
  this,
11164
10928
  options,
11165
- instance10,
11166
- create_fragment16,
10929
+ instance9,
10930
+ create_fragment15,
11167
10931
  safe_not_equal,
11168
10932
  {
11169
10933
  containerClass: 2,
@@ -11280,7 +11044,7 @@
11280
11044
  var PromptCategoriseDndContainer_default = PromptCategoriseDndContainer;
11281
11045
 
11282
11046
  // src/lib/components/common/CommonModal.svelte
11283
- function create_fragment17(ctx) {
11047
+ function create_fragment16(ctx) {
11284
11048
  let div2;
11285
11049
  let div0;
11286
11050
  let t2;
@@ -11412,7 +11176,7 @@
11412
11176
  var keypress_handler = () => {
11413
11177
  return false;
11414
11178
  };
11415
- function instance11($$self, $$props, $$invalidate) {
11179
+ function instance10($$self, $$props, $$invalidate) {
11416
11180
  let { $$slots: slots = {}, $$scope } = $$props;
11417
11181
  let { modalData = [] } = $$props;
11418
11182
  const dispatch = createEventDispatcher();
@@ -11444,7 +11208,7 @@
11444
11208
  var CommonModal = class extends SvelteComponent {
11445
11209
  constructor(options) {
11446
11210
  super();
11447
- init(this, options, instance11, create_fragment17, safe_not_equal, { modalData: 3 });
11211
+ init(this, options, instance10, create_fragment16, safe_not_equal, { modalData: 3 });
11448
11212
  }
11449
11213
  get modalData() {
11450
11214
  return this.$$.ctx[3];
@@ -11458,7 +11222,7 @@
11458
11222
  var CommonModal_default = CommonModal;
11459
11223
 
11460
11224
  // src/lib/assets/img/messaging/AlertIcon.svelte
11461
- function create_fragment18(ctx) {
11225
+ function create_fragment17(ctx) {
11462
11226
  let svg;
11463
11227
  let path;
11464
11228
  return {
@@ -11492,14 +11256,14 @@
11492
11256
  var AlertIcon = class extends SvelteComponent {
11493
11257
  constructor(options) {
11494
11258
  super();
11495
- init(this, options, null, create_fragment18, safe_not_equal, {});
11259
+ init(this, options, null, create_fragment17, safe_not_equal, {});
11496
11260
  }
11497
11261
  };
11498
11262
  create_custom_element(AlertIcon, {}, [], [], true);
11499
11263
  var AlertIcon_default = AlertIcon;
11500
11264
 
11501
11265
  // src/lib/assets/img/messaging/CrossIcon.svelte
11502
- function create_fragment19(ctx) {
11266
+ function create_fragment18(ctx) {
11503
11267
  let svg;
11504
11268
  let path;
11505
11269
  return {
@@ -11533,7 +11297,7 @@
11533
11297
  var CrossIcon = class extends SvelteComponent {
11534
11298
  constructor(options) {
11535
11299
  super();
11536
- init(this, options, null, create_fragment19, safe_not_equal, {});
11300
+ init(this, options, null, create_fragment18, safe_not_equal, {});
11537
11301
  }
11538
11302
  };
11539
11303
  create_custom_element(CrossIcon, {}, [], [], true);
@@ -11693,7 +11457,7 @@
11693
11457
  }
11694
11458
  };
11695
11459
  }
11696
- function create_fragment20(ctx) {
11460
+ function create_fragment19(ctx) {
11697
11461
  let commonmodal;
11698
11462
  let current;
11699
11463
  commonmodal = new CommonModal_default({
@@ -11746,7 +11510,7 @@
11746
11510
  }
11747
11511
  };
11748
11512
  }
11749
- function instance12($$self, $$props, $$invalidate) {
11513
+ function instance11($$self, $$props, $$invalidate) {
11750
11514
  let { categoryData = [] } = $$props;
11751
11515
  let { modalData = [] } = $$props;
11752
11516
  let categoryModal;
@@ -11829,7 +11593,7 @@
11829
11593
  var PromptCategoriseModal = class extends SvelteComponent {
11830
11594
  constructor(options) {
11831
11595
  super();
11832
- init(this, options, instance12, create_fragment20, safe_not_equal, { categoryData: 6, modalData: 0 });
11596
+ init(this, options, instance11, create_fragment19, safe_not_equal, { categoryData: 6, modalData: 0 });
11833
11597
  }
11834
11598
  get categoryData() {
11835
11599
  return this.$$.ctx[6];
@@ -11850,7 +11614,7 @@
11850
11614
  var PromptCategoriseModal_default = PromptCategoriseModal;
11851
11615
 
11852
11616
  // src/lib/assets/img/action/Switch.svelte
11853
- function create_fragment21(ctx) {
11617
+ function create_fragment20(ctx) {
11854
11618
  let svg;
11855
11619
  let path;
11856
11620
  return {
@@ -11882,14 +11646,14 @@
11882
11646
  var Switch = class extends SvelteComponent {
11883
11647
  constructor(options) {
11884
11648
  super();
11885
- init(this, options, null, create_fragment21, safe_not_equal, {});
11649
+ init(this, options, null, create_fragment20, safe_not_equal, {});
11886
11650
  }
11887
11651
  };
11888
11652
  create_custom_element(Switch, {}, [], [], true);
11889
11653
  var Switch_default = Switch;
11890
11654
 
11891
11655
  // src/lib/assets/img/messaging/SmallChevronUp.svelte
11892
- function create_fragment22(ctx) {
11656
+ function create_fragment21(ctx) {
11893
11657
  let svg;
11894
11658
  let path;
11895
11659
  return {
@@ -11950,7 +11714,7 @@
11950
11714
  }
11951
11715
  };
11952
11716
  }
11953
- function instance13($$self, $$props, $$invalidate) {
11717
+ function instance12($$self, $$props, $$invalidate) {
11954
11718
  let { width = 8 } = $$props;
11955
11719
  let { height = 5 } = $$props;
11956
11720
  $$self.$$set = ($$props2) => {
@@ -11964,7 +11728,7 @@
11964
11728
  var SmallChevronUp = class extends SvelteComponent {
11965
11729
  constructor(options) {
11966
11730
  super();
11967
- init(this, options, instance13, create_fragment22, safe_not_equal, { width: 0, height: 1 });
11731
+ init(this, options, instance12, create_fragment21, safe_not_equal, { width: 0, height: 1 });
11968
11732
  }
11969
11733
  get width() {
11970
11734
  return this.$$.ctx[0];
@@ -11985,7 +11749,7 @@
11985
11749
  var SmallChevronUp_default = SmallChevronUp;
11986
11750
 
11987
11751
  // src/lib/assets/img/messaging/SmallChevronDown.svelte
11988
- function create_fragment23(ctx) {
11752
+ function create_fragment22(ctx) {
11989
11753
  let svg;
11990
11754
  let path;
11991
11755
  return {
@@ -12046,7 +11810,7 @@
12046
11810
  }
12047
11811
  };
12048
11812
  }
12049
- function instance14($$self, $$props, $$invalidate) {
11813
+ function instance13($$self, $$props, $$invalidate) {
12050
11814
  let { width = 8 } = $$props;
12051
11815
  let { height = 5 } = $$props;
12052
11816
  $$self.$$set = ($$props2) => {
@@ -12060,7 +11824,7 @@
12060
11824
  var SmallChevronDown = class extends SvelteComponent {
12061
11825
  constructor(options) {
12062
11826
  super();
12063
- init(this, options, instance14, create_fragment23, safe_not_equal, { width: 0, height: 1 });
11827
+ init(this, options, instance13, create_fragment22, safe_not_equal, { width: 0, height: 1 });
12064
11828
  }
12065
11829
  get width() {
12066
11830
  return this.$$.ctx[0];
@@ -12081,7 +11845,7 @@
12081
11845
  var SmallChevronDown_default = SmallChevronDown;
12082
11846
 
12083
11847
  // src/lib/assets/img/messaging/SmallChevronLeft.svelte
12084
- function create_fragment24(ctx) {
11848
+ function create_fragment23(ctx) {
12085
11849
  let svg;
12086
11850
  let path;
12087
11851
  return {
@@ -12115,14 +11879,14 @@
12115
11879
  var SmallChevronLeft = class extends SvelteComponent {
12116
11880
  constructor(options) {
12117
11881
  super();
12118
- init(this, options, null, create_fragment24, safe_not_equal, {});
11882
+ init(this, options, null, create_fragment23, safe_not_equal, {});
12119
11883
  }
12120
11884
  };
12121
11885
  create_custom_element(SmallChevronLeft, {}, [], [], true);
12122
11886
  var SmallChevronLeft_default = SmallChevronLeft;
12123
11887
 
12124
11888
  // src/lib/assets/img/messaging/SmallChevronRight.svelte
12125
- function create_fragment25(ctx) {
11889
+ function create_fragment24(ctx) {
12126
11890
  let svg;
12127
11891
  let path;
12128
11892
  return {
@@ -12156,14 +11920,14 @@
12156
11920
  var SmallChevronRight = class extends SvelteComponent {
12157
11921
  constructor(options) {
12158
11922
  super();
12159
- init(this, options, null, create_fragment25, safe_not_equal, {});
11923
+ init(this, options, null, create_fragment24, safe_not_equal, {});
12160
11924
  }
12161
11925
  };
12162
11926
  create_custom_element(SmallChevronRight, {}, [], [], true);
12163
11927
  var SmallChevronRight_default = SmallChevronRight;
12164
11928
 
12165
11929
  // src/lib/assets/img/messaging/ArrowDownCircle.svelte
12166
- function create_fragment26(ctx) {
11930
+ function create_fragment25(ctx) {
12167
11931
  let svg;
12168
11932
  let path;
12169
11933
  return {
@@ -12197,7 +11961,7 @@
12197
11961
  var ArrowDownCircle = class extends SvelteComponent {
12198
11962
  constructor(options) {
12199
11963
  super();
12200
- init(this, options, null, create_fragment26, safe_not_equal, {});
11964
+ init(this, options, null, create_fragment25, safe_not_equal, {});
12201
11965
  }
12202
11966
  };
12203
11967
  create_custom_element(ArrowDownCircle, {}, [], [], true);
@@ -12704,7 +12468,7 @@
12704
12468
  }
12705
12469
  };
12706
12470
  }
12707
- function create_if_block_19(ctx) {
12471
+ function create_if_block_18(ctx) {
12708
12472
  let smallchevronup;
12709
12473
  let current;
12710
12474
  smallchevronup = new SmallChevronUp_default({});
@@ -12821,7 +12585,7 @@
12821
12585
  /*previewResultSr*/
12822
12586
  ctx[5] && create_if_block_28(ctx)
12823
12587
  );
12824
- const if_block_creators = [create_if_block_19, create_else_block4];
12588
+ const if_block_creators = [create_if_block_18, create_else_block4];
12825
12589
  const if_blocks = [];
12826
12590
  function select_block_type(ctx2, dirty) {
12827
12591
  if (dirty[0] & /*openCategoryContainer*/
@@ -13509,7 +13273,7 @@
13509
13273
  }
13510
13274
  };
13511
13275
  }
13512
- function create_if_block10(ctx) {
13276
+ function create_if_block9(ctx) {
13513
13277
  let span;
13514
13278
  let t0;
13515
13279
  let t1;
@@ -13621,7 +13385,7 @@
13621
13385
  const out = (i) => transition_out(each_blocks[i], 1, 1, () => {
13622
13386
  each_blocks[i] = null;
13623
13387
  });
13624
- let if_block2 = show_if && create_if_block10(ctx);
13388
+ let if_block2 = show_if && create_if_block9(ctx);
13625
13389
  smallchevronleft = new SmallChevronLeft_default({});
13626
13390
  promptcategorisedndcontainer = new PromptCategoriseDndContainer_default({
13627
13391
  props: {
@@ -14038,7 +13802,7 @@
14038
13802
  if (if_block2) {
14039
13803
  if_block2.p(ctx, dirty);
14040
13804
  } else {
14041
- if_block2 = create_if_block10(ctx);
13805
+ if_block2 = create_if_block9(ctx);
14042
13806
  if_block2.c();
14043
13807
  if_block2.m(div2, t8);
14044
13808
  }
@@ -14225,7 +13989,7 @@
14225
13989
  }
14226
13990
  };
14227
13991
  }
14228
- function create_fragment27(ctx) {
13992
+ function create_fragment26(ctx) {
14229
13993
  let div;
14230
13994
  let promptbody;
14231
13995
  let current;
@@ -14284,7 +14048,7 @@
14284
14048
  }
14285
14049
  };
14286
14050
  }
14287
- function instance15($$self, $$props, $$invalidate) {
14051
+ function instance14($$self, $$props, $$invalidate) {
14288
14052
  let { sessionData } = $$props;
14289
14053
  let { isFinished = false } = $$props;
14290
14054
  let { isPreviewMode = false } = $$props;
@@ -14713,8 +14477,8 @@
14713
14477
  init(
14714
14478
  this,
14715
14479
  options,
14716
- instance15,
14717
- create_fragment27,
14480
+ instance14,
14481
+ create_fragment26,
14718
14482
  safe_not_equal,
14719
14483
  {
14720
14484
  sessionData: 48,
@@ -14886,7 +14650,7 @@
14886
14650
  }
14887
14651
  };
14888
14652
  }
14889
- function create_if_block_110(ctx) {
14653
+ function create_if_block_19(ctx) {
14890
14654
  let show_if;
14891
14655
  let current_block_type_index;
14892
14656
  let if_block;
@@ -15059,7 +14823,7 @@
15059
14823
  }
15060
14824
  };
15061
14825
  }
15062
- function create_if_block11(ctx) {
14826
+ function create_if_block10(ctx) {
15063
14827
  let span;
15064
14828
  let smallchevronup;
15065
14829
  let current;
@@ -15294,7 +15058,7 @@
15294
15058
  }
15295
15059
  };
15296
15060
  }
15297
- function create_fragment28(ctx) {
15061
+ function create_fragment27(ctx) {
15298
15062
  let span1;
15299
15063
  let div0;
15300
15064
  let div0_class_value;
@@ -15354,9 +15118,9 @@
15354
15118
  (ctx[0] && /*selected*/
15355
15119
  ctx[7] !== "Select answer" || /*isPreviewModeInteractive*/
15356
15120
  ctx[2] && /*previewInteractiveEvent*/
15357
- ctx[6]) && create_if_block_110(ctx)
15121
+ ctx[6]) && create_if_block_19(ctx)
15358
15122
  );
15359
- const if_block_creators = [create_if_block11, create_else_block5];
15123
+ const if_block_creators = [create_if_block10, create_else_block5];
15360
15124
  const if_blocks = [];
15361
15125
  function select_block_type_3(ctx2, dirty) {
15362
15126
  if (
@@ -15615,7 +15379,7 @@
15615
15379
  transition_in(if_block1, 1);
15616
15380
  }
15617
15381
  } else {
15618
- if_block1 = create_if_block_110(ctx);
15382
+ if_block1 = create_if_block_19(ctx);
15619
15383
  if_block1.c();
15620
15384
  transition_in(if_block1, 1);
15621
15385
  if_block1.m(div3, t5);
@@ -15807,7 +15571,7 @@
15807
15571
  };
15808
15572
  }
15809
15573
  var keyPressDelay = 1e3;
15810
- function instance16($$self, $$props, $$invalidate) {
15574
+ function instance15($$self, $$props, $$invalidate) {
15811
15575
  let activeIndex;
15812
15576
  let lastKeyPressTime;
15813
15577
  let focusKeyDelay;
@@ -16125,8 +15889,8 @@
16125
15889
  init(
16126
15890
  this,
16127
15891
  options,
16128
- instance16,
16129
- create_fragment28,
15892
+ instance15,
15893
+ create_fragment27,
16130
15894
  safe_not_equal,
16131
15895
  {
16132
15896
  metadata: 22,
@@ -16210,465 +15974,116 @@
16210
15974
  customElements.define("prompt-dropdown-container", create_custom_element(PromptDropdownContainer, { "metadata": {}, "scoringMetadata": {}, "isFinished": { "type": "Boolean" }, "isPreviewMode": { "type": "Boolean" }, "isPreviewModeInteractive": { "type": "Boolean" }, "isDataSaving": { "type": "Boolean" }, "options": {}, "answer": {}, "previewInteractiveEvent": { "type": "Boolean" } }, [], [], true));
16211
15975
  var PromptDropdownContainer_default = PromptDropdownContainer;
16212
15976
 
16213
- // src/lib/components/prompt/template/PromptResultFeedbackv3.svelte
16214
- function create_if_block12(ctx) {
16215
- let div1;
16216
- let t0;
16217
- let div0;
16218
- let t1;
15977
+ // src/lib/components/prompt/template/PromptResultFeedbackTable.svelte
15978
+ function get_each_context6(ctx, list, i) {
15979
+ const child_ctx = ctx.slice();
15980
+ child_ctx[6] = list[i];
15981
+ child_ctx[8] = i;
15982
+ return child_ctx;
15983
+ }
15984
+ function get_each_context_12(ctx, list, i) {
15985
+ const child_ctx = ctx.slice();
15986
+ child_ctx[9] = list[i];
15987
+ child_ctx[11] = i;
15988
+ return child_ctx;
15989
+ }
15990
+ function create_else_block_4(ctx) {
16219
15991
  let t2;
16220
- let span;
16221
- let commonstringtohtml;
16222
- let div1_role_value;
16223
- let div1_class_value;
16224
- let current;
16225
- let if_block0 = (
16226
- /*hasIcon*/
16227
- ctx[2] && create_if_block_38(ctx)
16228
- );
16229
- let if_block1 = !/*isFeedbackAlert*/
16230
- ctx[3] && create_if_block_210(ctx);
16231
- let if_block2 = (
16232
- /*resultFeedbackTitle*/
16233
- ctx[1] && create_if_block_111(ctx)
16234
- );
16235
- commonstringtohtml = new CommonStringToHtml_default({
16236
- props: { htmlString: (
16237
- /*resultFeedback*/
16238
- ctx[0]
16239
- ) }
16240
- });
16241
15992
  return {
16242
15993
  c() {
16243
- div1 = element("div");
16244
- if (if_block0)
16245
- if_block0.c();
16246
- t0 = space();
16247
- div0 = element("div");
16248
- if (if_block1)
16249
- if_block1.c();
16250
- t1 = space();
16251
- if (if_block2)
16252
- if_block2.c();
16253
- t2 = space();
16254
- span = element("span");
16255
- create_component(commonstringtohtml.$$.fragment);
16256
- attr(div1, "role", div1_role_value = /*isFeedbackAlert*/
16257
- ctx[3] ? "alert" : null);
16258
- attr(div1, "class", div1_class_value = "my-6 p-4 border-l-4 text-charcoal text-base flex " + /*isSkipped*/
16259
- (ctx[5] ? "border-blue-950 bg-blue-50" : (
16260
- /*isResultCorrect*/
16261
- ctx[4] ? "border-green-900 bg-green-300" : "border-red-900 bg-red-50"
16262
- )));
15994
+ t2 = text("Correct answer\n ");
16263
15995
  },
16264
15996
  m(target, anchor) {
16265
- insert(target, div1, anchor);
16266
- if (if_block0)
16267
- if_block0.m(div1, null);
16268
- append(div1, t0);
16269
- append(div1, div0);
16270
- if (if_block1)
16271
- if_block1.m(div0, null);
16272
- append(div0, t1);
16273
- if (if_block2)
16274
- if_block2.m(div0, null);
16275
- append(div0, t2);
16276
- append(div0, span);
16277
- mount_component(commonstringtohtml, span, null);
16278
- current = true;
15997
+ insert(target, t2, anchor);
16279
15998
  },
16280
- p(ctx2, dirty) {
16281
- if (
16282
- /*hasIcon*/
16283
- ctx2[2]
16284
- ) {
16285
- if (if_block0) {
16286
- if_block0.p(ctx2, dirty);
16287
- if (dirty & /*hasIcon*/
16288
- 4) {
16289
- transition_in(if_block0, 1);
16290
- }
16291
- } else {
16292
- if_block0 = create_if_block_38(ctx2);
16293
- if_block0.c();
16294
- transition_in(if_block0, 1);
16295
- if_block0.m(div1, t0);
16296
- }
16297
- } else if (if_block0) {
16298
- group_outros();
16299
- transition_out(if_block0, 1, 1, () => {
16300
- if_block0 = null;
16301
- });
16302
- check_outros();
16303
- }
16304
- if (!/*isFeedbackAlert*/
16305
- ctx2[3]) {
16306
- if (if_block1) {
16307
- } else {
16308
- if_block1 = create_if_block_210(ctx2);
16309
- if_block1.c();
16310
- if_block1.m(div0, t1);
16311
- }
16312
- } else if (if_block1) {
16313
- if_block1.d(1);
16314
- if_block1 = null;
16315
- }
16316
- if (
16317
- /*resultFeedbackTitle*/
16318
- ctx2[1]
16319
- ) {
16320
- if (if_block2) {
16321
- if_block2.p(ctx2, dirty);
16322
- } else {
16323
- if_block2 = create_if_block_111(ctx2);
16324
- if_block2.c();
16325
- if_block2.m(div0, t2);
16326
- }
16327
- } else if (if_block2) {
16328
- if_block2.d(1);
16329
- if_block2 = null;
16330
- }
16331
- const commonstringtohtml_changes = {};
16332
- if (dirty & /*resultFeedback*/
16333
- 1)
16334
- commonstringtohtml_changes.htmlString = /*resultFeedback*/
16335
- ctx2[0];
16336
- commonstringtohtml.$set(commonstringtohtml_changes);
16337
- if (!current || dirty & /*isFeedbackAlert*/
16338
- 8 && div1_role_value !== (div1_role_value = /*isFeedbackAlert*/
16339
- ctx2[3] ? "alert" : null)) {
16340
- attr(div1, "role", div1_role_value);
16341
- }
16342
- if (!current || dirty & /*isSkipped, isResultCorrect*/
16343
- 48 && div1_class_value !== (div1_class_value = "my-6 p-4 border-l-4 text-charcoal text-base flex " + /*isSkipped*/
16344
- (ctx2[5] ? "border-blue-950 bg-blue-50" : (
16345
- /*isResultCorrect*/
16346
- ctx2[4] ? "border-green-900 bg-green-300" : "border-red-900 bg-red-50"
16347
- )))) {
16348
- attr(div1, "class", div1_class_value);
16349
- }
16350
- },
16351
- i(local) {
16352
- if (current)
16353
- return;
16354
- transition_in(if_block0);
16355
- transition_in(commonstringtohtml.$$.fragment, local);
16356
- current = true;
16357
- },
16358
- o(local) {
16359
- transition_out(if_block0);
16360
- transition_out(commonstringtohtml.$$.fragment, local);
16361
- current = false;
16362
- },
16363
- d(detaching) {
16364
- if (detaching) {
16365
- detach(div1);
16366
- }
16367
- if (if_block0)
16368
- if_block0.d();
16369
- if (if_block1)
16370
- if_block1.d();
16371
- if (if_block2)
16372
- if_block2.d();
16373
- destroy_component(commonstringtohtml);
16374
- }
16375
- };
16376
- }
16377
- function create_if_block_38(ctx) {
16378
- let span;
16379
- let infosolid;
16380
- let span_class_value;
16381
- let current;
16382
- infosolid = new InfoSolid_default({});
16383
- return {
16384
- c() {
16385
- span = element("span");
16386
- create_component(infosolid.$$.fragment);
16387
- attr(span, "aria-hidden", "true");
16388
- attr(span, "class", span_class_value = "h-6 w-6 flex items-center pt-0.5 mr-2 " + /*isSkipped*/
16389
- (ctx[5] ? "text-blue-950" : (
16390
- /*isResultCorrect*/
16391
- ctx[4] ? "text-green-900" : "text-red-900"
16392
- )));
16393
- },
16394
- m(target, anchor) {
16395
- insert(target, span, anchor);
16396
- mount_component(infosolid, span, null);
16397
- current = true;
16398
- },
16399
- p(ctx2, dirty) {
16400
- if (!current || dirty & /*isSkipped, isResultCorrect*/
16401
- 48 && span_class_value !== (span_class_value = "h-6 w-6 flex items-center pt-0.5 mr-2 " + /*isSkipped*/
16402
- (ctx2[5] ? "text-blue-950" : (
16403
- /*isResultCorrect*/
16404
- ctx2[4] ? "text-green-900" : "text-red-900"
16405
- )))) {
16406
- attr(span, "class", span_class_value);
16407
- }
16408
- },
16409
- i(local) {
16410
- if (current)
16411
- return;
16412
- transition_in(infosolid.$$.fragment, local);
16413
- current = true;
16414
- },
16415
- o(local) {
16416
- transition_out(infosolid.$$.fragment, local);
16417
- current = false;
16418
- },
16419
- d(detaching) {
16420
- if (detaching) {
16421
- detach(span);
16422
- }
16423
- destroy_component(infosolid);
16424
- }
16425
- };
16426
- }
16427
- function create_if_block_210(ctx) {
16428
- let span;
16429
- return {
16430
- c() {
16431
- span = element("span");
16432
- span.textContent = "Alert. \xA0";
16433
- attr(span, "class", "sr-only");
16434
- },
16435
- m(target, anchor) {
16436
- insert(target, span, anchor);
16437
- },
16438
- d(detaching) {
16439
- if (detaching) {
16440
- detach(span);
16441
- }
16442
- }
16443
- };
16444
- }
16445
- function create_if_block_111(ctx) {
16446
- let span;
16447
- let t2;
16448
- return {
16449
- c() {
16450
- span = element("span");
16451
- t2 = text(
16452
- /*resultFeedbackTitle*/
16453
- ctx[1]
16454
- );
16455
- attr(span, "class", "block mb-1 font-semibold");
16456
- },
16457
- m(target, anchor) {
16458
- insert(target, span, anchor);
16459
- append(span, t2);
16460
- },
16461
- p(ctx2, dirty) {
16462
- if (dirty & /*resultFeedbackTitle*/
16463
- 2)
16464
- set_data(
16465
- t2,
16466
- /*resultFeedbackTitle*/
16467
- ctx2[1]
16468
- );
16469
- },
16470
- d(detaching) {
16471
- if (detaching) {
16472
- detach(span);
15999
+ p: noop,
16000
+ d(detaching) {
16001
+ if (detaching) {
16002
+ detach(t2);
16473
16003
  }
16474
16004
  }
16475
16005
  };
16476
16006
  }
16477
- function create_fragment29(ctx) {
16478
- let if_block_anchor;
16479
- let current;
16480
- let if_block = (
16481
- /*resultFeedback*/
16482
- ctx[0] && create_if_block12(ctx)
16483
- );
16007
+ function create_if_block_46(ctx) {
16008
+ let t0;
16009
+ let t1;
16010
+ function select_block_type_1(ctx2, dirty) {
16011
+ if (
16012
+ /*answerResults*/
16013
+ ctx2[1][
16014
+ /*itemIndex*/
16015
+ ctx2[8]
16016
+ ]
16017
+ )
16018
+ return create_if_block_55;
16019
+ return create_else_block_33;
16020
+ }
16021
+ let current_block_type = select_block_type_1(ctx, -1);
16022
+ let if_block = current_block_type(ctx);
16484
16023
  return {
16485
16024
  c() {
16486
- if (if_block)
16487
- if_block.c();
16488
- if_block_anchor = empty();
16025
+ t0 = text("Student's answer\n ");
16026
+ if_block.c();
16027
+ t1 = space();
16489
16028
  },
16490
16029
  m(target, anchor) {
16491
- if (if_block)
16492
- if_block.m(target, anchor);
16493
- insert(target, if_block_anchor, anchor);
16494
- current = true;
16495
- },
16496
- p(ctx2, [dirty]) {
16497
- if (
16498
- /*resultFeedback*/
16499
- ctx2[0]
16500
- ) {
16501
- if (if_block) {
16502
- if_block.p(ctx2, dirty);
16503
- if (dirty & /*resultFeedback*/
16504
- 1) {
16505
- transition_in(if_block, 1);
16506
- }
16507
- } else {
16508
- if_block = create_if_block12(ctx2);
16509
- if_block.c();
16510
- transition_in(if_block, 1);
16511
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
16512
- }
16513
- } else if (if_block) {
16514
- group_outros();
16515
- transition_out(if_block, 1, 1, () => {
16516
- if_block = null;
16517
- });
16518
- check_outros();
16519
- }
16520
- },
16521
- i(local) {
16522
- if (current)
16523
- return;
16524
- transition_in(if_block);
16525
- current = true;
16526
- },
16527
- o(local) {
16528
- transition_out(if_block);
16529
- current = false;
16530
- },
16531
- d(detaching) {
16532
- if (detaching) {
16533
- detach(if_block_anchor);
16534
- }
16535
- if (if_block)
16536
- if_block.d(detaching);
16537
- }
16538
- };
16539
- }
16540
- function instance17($$self, $$props, $$invalidate) {
16541
- let { hasIcon = false } = $$props;
16542
- let { isFeedbackAlert = true } = $$props;
16543
- let { isResultCorrect = true } = $$props;
16544
- let { isSkipped = false } = $$props;
16545
- let { resultFeedback = null } = $$props;
16546
- let { resultFeedbackTitle = null } = $$props;
16547
- $$self.$$set = ($$props2) => {
16548
- if ("hasIcon" in $$props2)
16549
- $$invalidate(2, hasIcon = $$props2.hasIcon);
16550
- if ("isFeedbackAlert" in $$props2)
16551
- $$invalidate(3, isFeedbackAlert = $$props2.isFeedbackAlert);
16552
- if ("isResultCorrect" in $$props2)
16553
- $$invalidate(4, isResultCorrect = $$props2.isResultCorrect);
16554
- if ("isSkipped" in $$props2)
16555
- $$invalidate(5, isSkipped = $$props2.isSkipped);
16556
- if ("resultFeedback" in $$props2)
16557
- $$invalidate(0, resultFeedback = $$props2.resultFeedback);
16558
- if ("resultFeedbackTitle" in $$props2)
16559
- $$invalidate(1, resultFeedbackTitle = $$props2.resultFeedbackTitle);
16560
- };
16561
- $$self.$$.update = () => {
16562
- if ($$self.$$.dirty & /*isSkipped*/
16563
- 32) {
16564
- $:
16565
- if (isSkipped) {
16566
- $$invalidate(1, resultFeedbackTitle = "No answer was provided");
16567
- $$invalidate(0, resultFeedback = "It may be that the student struggled with this question or mistakenly skipped this question.");
16568
- }
16569
- }
16570
- };
16571
- return [
16572
- resultFeedback,
16573
- resultFeedbackTitle,
16574
- hasIcon,
16575
- isFeedbackAlert,
16576
- isResultCorrect,
16577
- isSkipped
16578
- ];
16579
- }
16580
- var PromptResultFeedbackv3 = class extends SvelteComponent {
16581
- constructor(options) {
16582
- super();
16583
- init(this, options, instance17, create_fragment29, safe_not_equal, {
16584
- hasIcon: 2,
16585
- isFeedbackAlert: 3,
16586
- isResultCorrect: 4,
16587
- isSkipped: 5,
16588
- resultFeedback: 0,
16589
- resultFeedbackTitle: 1
16590
- });
16591
- }
16592
- get hasIcon() {
16593
- return this.$$.ctx[2];
16594
- }
16595
- set hasIcon(hasIcon) {
16596
- this.$$set({ hasIcon });
16597
- flush();
16598
- }
16599
- get isFeedbackAlert() {
16600
- return this.$$.ctx[3];
16601
- }
16602
- set isFeedbackAlert(isFeedbackAlert) {
16603
- this.$$set({ isFeedbackAlert });
16604
- flush();
16605
- }
16606
- get isResultCorrect() {
16607
- return this.$$.ctx[4];
16608
- }
16609
- set isResultCorrect(isResultCorrect) {
16610
- this.$$set({ isResultCorrect });
16611
- flush();
16612
- }
16613
- get isSkipped() {
16614
- return this.$$.ctx[5];
16615
- }
16616
- set isSkipped(isSkipped) {
16617
- this.$$set({ isSkipped });
16618
- flush();
16619
- }
16620
- get resultFeedback() {
16621
- return this.$$.ctx[0];
16622
- }
16623
- set resultFeedback(resultFeedback) {
16624
- this.$$set({ resultFeedback });
16625
- flush();
16626
- }
16627
- get resultFeedbackTitle() {
16628
- return this.$$.ctx[1];
16629
- }
16630
- set resultFeedbackTitle(resultFeedbackTitle) {
16631
- this.$$set({ resultFeedbackTitle });
16632
- flush();
16633
- }
16634
- };
16635
- customElements.define("prompt-result-feedbackv3", create_custom_element(PromptResultFeedbackv3, { "hasIcon": { "type": "Boolean" }, "isFeedbackAlert": { "type": "Boolean" }, "isResultCorrect": { "type": "Boolean" }, "isSkipped": { "type": "Boolean" }, "resultFeedback": {}, "resultFeedbackTitle": {} }, [], [], true));
16636
- var PromptResultFeedbackv3_default = PromptResultFeedbackv3;
16637
-
16638
- // src/lib/components/prompt/template/PromptResultFeedbackTable.svelte
16639
- function get_each_context6(ctx, list, i) {
16640
- const child_ctx = ctx.slice();
16641
- child_ctx[6] = list[i];
16642
- child_ctx[8] = i;
16643
- return child_ctx;
16030
+ insert(target, t0, anchor);
16031
+ if_block.m(target, anchor);
16032
+ insert(target, t1, anchor);
16033
+ },
16034
+ p(ctx2, dirty) {
16035
+ if (current_block_type !== (current_block_type = select_block_type_1(ctx2, dirty))) {
16036
+ if_block.d(1);
16037
+ if_block = current_block_type(ctx2);
16038
+ if (if_block) {
16039
+ if_block.c();
16040
+ if_block.m(t1.parentNode, t1);
16041
+ }
16042
+ }
16043
+ },
16044
+ d(detaching) {
16045
+ if (detaching) {
16046
+ detach(t0);
16047
+ detach(t1);
16048
+ }
16049
+ if_block.d(detaching);
16050
+ }
16051
+ };
16644
16052
  }
16645
- function get_each_context_12(ctx, list, i) {
16646
- const child_ctx = ctx.slice();
16647
- child_ctx[9] = list[i];
16648
- child_ctx[11] = i;
16649
- return child_ctx;
16053
+ function create_else_block_33(ctx) {
16054
+ let t2;
16055
+ return {
16056
+ c() {
16057
+ t2 = text("(Incorrect)");
16058
+ },
16059
+ m(target, anchor) {
16060
+ insert(target, t2, anchor);
16061
+ },
16062
+ d(detaching) {
16063
+ if (detaching) {
16064
+ detach(t2);
16065
+ }
16066
+ }
16067
+ };
16068
+ }
16069
+ function create_if_block_55(ctx) {
16070
+ let t2;
16071
+ return {
16072
+ c() {
16073
+ t2 = text("(Correct)");
16074
+ },
16075
+ m(target, anchor) {
16076
+ insert(target, t2, anchor);
16077
+ },
16078
+ d(detaching) {
16079
+ if (detaching) {
16080
+ detach(t2);
16081
+ }
16082
+ }
16083
+ };
16650
16084
  }
16651
16085
  function create_else_block_23(ctx) {
16652
16086
  let commonstringtohtml;
16653
- let t0;
16654
- let div;
16655
- let t1_value = (
16656
- /*answerResults*/
16657
- (ctx[1][
16658
- /*itemIndex*/
16659
- ctx[8]
16660
- ] ? useRemoveRichTextHtmlTags(
16661
- /*sessionAnswer*/
16662
- ctx[3][
16663
- /*itemIndex*/
16664
- ctx[8]
16665
- ]
16666
- ) : useRemoveRichTextHtmlTags(
16667
- /*item*/
16668
- ctx[6][0]
16669
- )) + ""
16670
- );
16671
- let t1;
16672
16087
  let current;
16673
16088
  commonstringtohtml = new CommonStringToHtml_default({
16674
16089
  props: {
@@ -16688,23 +16103,15 @@
16688
16103
  ctx[6][0]
16689
16104
  )
16690
16105
  ),
16691
- otherClass: "overflow-y-visible break-words",
16692
- ariaHidden: true
16106
+ otherClass: "overflow-y-visible break-words"
16693
16107
  }
16694
16108
  });
16695
16109
  return {
16696
16110
  c() {
16697
16111
  create_component(commonstringtohtml.$$.fragment);
16698
- t0 = space();
16699
- div = element("div");
16700
- t1 = text(t1_value);
16701
- attr(div, "class", "sr-only");
16702
16112
  },
16703
16113
  m(target, anchor) {
16704
16114
  mount_component(commonstringtohtml, target, anchor);
16705
- insert(target, t0, anchor);
16706
- insert(target, div, anchor);
16707
- append(div, t1);
16708
16115
  current = true;
16709
16116
  },
16710
16117
  p(ctx2, dirty) {
@@ -16726,22 +16133,6 @@
16726
16133
  ctx2[6][0]
16727
16134
  );
16728
16135
  commonstringtohtml.$set(commonstringtohtml_changes);
16729
- if ((!current || dirty & /*answerResults, sessionAnswer, correctAnswers*/
16730
- 14) && t1_value !== (t1_value = /*answerResults*/
16731
- (ctx2[1][
16732
- /*itemIndex*/
16733
- ctx2[8]
16734
- ] ? useRemoveRichTextHtmlTags(
16735
- /*sessionAnswer*/
16736
- ctx2[3][
16737
- /*itemIndex*/
16738
- ctx2[8]
16739
- ]
16740
- ) : useRemoveRichTextHtmlTags(
16741
- /*item*/
16742
- ctx2[6][0]
16743
- )) + ""))
16744
- set_data(t1, t1_value);
16745
16136
  },
16746
16137
  i(local) {
16747
16138
  if (current)
@@ -16754,22 +16145,18 @@
16754
16145
  current = false;
16755
16146
  },
16756
16147
  d(detaching) {
16757
- if (detaching) {
16758
- detach(t0);
16759
- detach(div);
16760
- }
16761
16148
  destroy_component(commonstringtohtml, detaching);
16762
16149
  }
16763
16150
  };
16764
16151
  }
16765
- function create_if_block_211(ctx) {
16152
+ function create_if_block_210(ctx) {
16766
16153
  let current_block_type_index;
16767
16154
  let if_block;
16768
16155
  let if_block_anchor;
16769
16156
  let current;
16770
- const if_block_creators = [create_if_block_39, create_else_block_13];
16157
+ const if_block_creators = [create_if_block_38, create_else_block_13];
16771
16158
  const if_blocks = [];
16772
- function select_block_type_1(ctx2, dirty) {
16159
+ function select_block_type_3(ctx2, dirty) {
16773
16160
  if (
16774
16161
  /*sessionAnswer*/
16775
16162
  ctx2[3][
@@ -16780,7 +16167,7 @@
16780
16167
  return 0;
16781
16168
  return 1;
16782
16169
  }
16783
- current_block_type_index = select_block_type_1(ctx, -1);
16170
+ current_block_type_index = select_block_type_3(ctx, -1);
16784
16171
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
16785
16172
  return {
16786
16173
  c() {
@@ -16794,7 +16181,7 @@
16794
16181
  },
16795
16182
  p(ctx2, dirty) {
16796
16183
  let previous_block_index = current_block_type_index;
16797
- current_block_type_index = select_block_type_1(ctx2, dirty);
16184
+ current_block_type_index = select_block_type_3(ctx2, dirty);
16798
16185
  if (current_block_type_index === previous_block_index) {
16799
16186
  if_blocks[current_block_type_index].p(ctx2, dirty);
16800
16187
  } else {
@@ -16851,18 +16238,8 @@
16851
16238
  }
16852
16239
  };
16853
16240
  }
16854
- function create_if_block_39(ctx) {
16241
+ function create_if_block_38(ctx) {
16855
16242
  let commonstringtohtml;
16856
- let t0;
16857
- let div;
16858
- let t1_value = useRemoveRichTextHtmlTags(
16859
- /*sessionAnswer*/
16860
- ctx[3][
16861
- /*itemIndex*/
16862
- ctx[8]
16863
- ]
16864
- ) + "";
16865
- let t1;
16866
16243
  let current;
16867
16244
  commonstringtohtml = new CommonStringToHtml_default({
16868
16245
  props: {
@@ -16873,23 +16250,15 @@
16873
16250
  ctx[8]
16874
16251
  ]
16875
16252
  ),
16876
- otherClass: "overflow-y-visible break-words",
16877
- ariaHidden: true
16253
+ otherClass: "overflow-y-visible break-words"
16878
16254
  }
16879
16255
  });
16880
16256
  return {
16881
16257
  c() {
16882
16258
  create_component(commonstringtohtml.$$.fragment);
16883
- t0 = space();
16884
- div = element("div");
16885
- t1 = text(t1_value);
16886
- attr(div, "class", "sr-only");
16887
16259
  },
16888
16260
  m(target, anchor) {
16889
16261
  mount_component(commonstringtohtml, target, anchor);
16890
- insert(target, t0, anchor);
16891
- insert(target, div, anchor);
16892
- append(div, t1);
16893
16262
  current = true;
16894
16263
  },
16895
16264
  p(ctx2, dirty) {
@@ -16902,15 +16271,6 @@
16902
16271
  ctx2[8]
16903
16272
  ];
16904
16273
  commonstringtohtml.$set(commonstringtohtml_changes);
16905
- if ((!current || dirty & /*sessionAnswer*/
16906
- 8) && t1_value !== (t1_value = useRemoveRichTextHtmlTags(
16907
- /*sessionAnswer*/
16908
- ctx2[3][
16909
- /*itemIndex*/
16910
- ctx2[8]
16911
- ]
16912
- ) + ""))
16913
- set_data(t1, t1_value);
16914
16274
  },
16915
16275
  i(local) {
16916
16276
  if (current)
@@ -16923,24 +16283,20 @@
16923
16283
  current = false;
16924
16284
  },
16925
16285
  d(detaching) {
16926
- if (detaching) {
16927
- detach(t0);
16928
- detach(div);
16929
- }
16930
16286
  destroy_component(commonstringtohtml, detaching);
16931
16287
  }
16932
16288
  };
16933
16289
  }
16934
- function create_if_block13(ctx) {
16290
+ function create_if_block11(ctx) {
16935
16291
  let span1;
16936
16292
  let span0;
16937
16293
  let current_block_type_index;
16938
16294
  let if_block;
16939
16295
  let span0_class_value;
16940
16296
  let current;
16941
- const if_block_creators = [create_if_block_112, create_else_block6];
16297
+ const if_block_creators = [create_if_block_110, create_else_block6];
16942
16298
  const if_blocks = [];
16943
- function select_block_type_2(ctx2, dirty) {
16299
+ function select_block_type_4(ctx2, dirty) {
16944
16300
  if (
16945
16301
  /*answerResults*/
16946
16302
  ctx2[1][
@@ -16951,7 +16307,7 @@
16951
16307
  return 0;
16952
16308
  return 1;
16953
16309
  }
16954
- current_block_type_index = select_block_type_2(ctx, -1);
16310
+ current_block_type_index = select_block_type_4(ctx, -1);
16955
16311
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
16956
16312
  return {
16957
16313
  c() {
@@ -16973,7 +16329,7 @@
16973
16329
  },
16974
16330
  p(ctx2, dirty) {
16975
16331
  let previous_block_index = current_block_type_index;
16976
- current_block_type_index = select_block_type_2(ctx2, dirty);
16332
+ current_block_type_index = select_block_type_4(ctx2, dirty);
16977
16333
  if (current_block_type_index !== previous_block_index) {
16978
16334
  group_outros();
16979
16335
  transition_out(if_blocks[previous_block_index], 1, 1, () => {
@@ -17043,7 +16399,7 @@
17043
16399
  }
17044
16400
  };
17045
16401
  }
17046
- function create_if_block_112(ctx) {
16402
+ function create_if_block_110(ctx) {
17047
16403
  let successsolid;
17048
16404
  let current;
17049
16405
  successsolid = new SuccessSolid_default({});
@@ -17071,7 +16427,7 @@
17071
16427
  };
17072
16428
  }
17073
16429
  function create_each_block_12(ctx) {
17074
- let div2;
16430
+ let div3;
17075
16431
  let p;
17076
16432
  let t0_value = useIsEven(
17077
16433
  /*iterationIndex*/
@@ -17081,7 +16437,7 @@
17081
16437
  let t1;
17082
16438
  let p_class_value;
17083
16439
  let t2;
17084
- let div1;
16440
+ let div2;
17085
16441
  let label;
17086
16442
  let span0;
17087
16443
  let t3;
@@ -17089,28 +16445,52 @@
17089
16445
  let label_for_value;
17090
16446
  let label_class_value;
17091
16447
  let t5;
16448
+ let span2;
16449
+ let show_if_2;
16450
+ let t6;
16451
+ let t7_value = (
16452
+ /*itemIndex*/
16453
+ ctx[8] + 1 + ""
16454
+ );
16455
+ let t7;
16456
+ let t8;
16457
+ let span2_id_value;
16458
+ let t9;
16459
+ let div1;
17092
16460
  let div0;
17093
16461
  let show_if_1;
17094
16462
  let current_block_type_index;
17095
- let if_block0;
17096
- let div0_aria_label_value;
17097
- let div0_class_value;
16463
+ let if_block1;
17098
16464
  let div0_id_value;
17099
- let div0_tabindex_value;
16465
+ let div1_aria_labelledby_value;
16466
+ let div1_aria_describedby_value;
16467
+ let div1_class_value;
16468
+ let div1_id_value;
16469
+ let div1_tabindex_value;
17100
16470
  let autosize_action;
17101
- let t6;
16471
+ let t10;
17102
16472
  let show_if = useIsEven(
17103
16473
  /*iterationIndex*/
17104
16474
  ctx[11]
17105
16475
  );
17106
- let div1_class_value;
17107
16476
  let div2_class_value;
16477
+ let div3_class_value;
17108
16478
  let current;
17109
16479
  let mounted;
17110
16480
  let dispose;
17111
- const if_block_creators = [create_if_block_211, create_else_block_23];
17112
- const if_blocks = [];
17113
16481
  function select_block_type(ctx2, dirty) {
16482
+ if (useIsEven(
16483
+ /*iterationIndex*/
16484
+ ctx2[11]
16485
+ ))
16486
+ return create_if_block_46;
16487
+ return create_else_block_4;
16488
+ }
16489
+ let current_block_type = select_block_type(ctx, -1);
16490
+ let if_block0 = current_block_type(ctx);
16491
+ const if_block_creators = [create_if_block_210, create_else_block_23];
16492
+ const if_blocks = [];
16493
+ function select_block_type_2(ctx2, dirty) {
17114
16494
  if (useIsEven(
17115
16495
  /*iterationIndex*/
17116
16496
  ctx2[11]
@@ -17118,17 +16498,17 @@
17118
16498
  return 0;
17119
16499
  return 1;
17120
16500
  }
17121
- current_block_type_index = select_block_type(ctx, -1);
17122
- if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
17123
- let if_block1 = show_if && create_if_block13(ctx);
16501
+ current_block_type_index = select_block_type_2(ctx, -1);
16502
+ if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
16503
+ let if_block2 = show_if && create_if_block11(ctx);
17124
16504
  return {
17125
16505
  c() {
17126
- div2 = element("div");
16506
+ div3 = element("div");
17127
16507
  p = element("p");
17128
16508
  t0 = text(t0_value);
17129
16509
  t1 = text(" answers:");
17130
16510
  t2 = space();
17131
- div1 = element("div");
16511
+ div2 = element("div");
17132
16512
  label = element("label");
17133
16513
  span0 = element("span");
17134
16514
  t3 = space();
@@ -17136,11 +16516,18 @@
17136
16516
  span1.textContent = `${/*itemIndex*/
17137
16517
  ctx[8] + 1}`;
17138
16518
  t5 = space();
17139
- div0 = element("div");
16519
+ span2 = element("span");
17140
16520
  if_block0.c();
17141
- t6 = space();
17142
- if (if_block1)
17143
- if_block1.c();
16521
+ t6 = text(", Item number ");
16522
+ t7 = text(t7_value);
16523
+ t8 = text(":");
16524
+ t9 = space();
16525
+ div1 = element("div");
16526
+ div0 = element("div");
16527
+ if_block1.c();
16528
+ t10 = space();
16529
+ if (if_block2)
16530
+ if_block2.c();
17144
16531
  attr(p, "class", p_class_value = "text-base text-charcoal font-semibold " + (useIsEven(
17145
16532
  /*iterationIndex*/
17146
16533
  ctx[11]
@@ -17181,27 +16568,22 @@
17181
16568
  ctx[11]
17182
16569
  ) ? "" : "hidden"
17183
16570
  )));
17184
- attr(div0, "role", "textbox");
17185
- attr(div0, "aria-label", div0_aria_label_value = `${useIsEven(
17186
- /*iterationIndex*/
17187
- ctx[11]
17188
- ) ? `Student's` : "Correct"} answer${useIsEven(
17189
- /*iterationIndex*/
17190
- ctx[11]
17191
- ) && /*answerResults*/
17192
- ctx[1][
17193
- /*itemIndex*/
17194
- ctx[8]
17195
- ] ? " (Correct)" : useIsEven(
17196
- /*iterationIndex*/
17197
- ctx[11]
17198
- ) && !/*answerResults*/
17199
- ctx[1][
17200
- /*itemIndex*/
17201
- ctx[8]
17202
- ] ? " (Incorrect)" : ""}, Item number ${/*itemIndex*/
17203
- ctx[8] + 1}:`);
17204
- attr(div0, "class", div0_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
16571
+ attr(span2, "id", span2_id_value = "textbox-" + /*iteration*/
16572
+ ctx[9] + "-" + /*itemIndex*/
16573
+ ctx[8]);
16574
+ attr(span2, "class", "hidden");
16575
+ attr(span2, "aria-hidden", "true");
16576
+ attr(div0, "id", div0_id_value = "textbox-value-" + /*iteration*/
16577
+ ctx[9] + "-" + /*itemIndex*/
16578
+ ctx[8]);
16579
+ attr(div1, "role", "textbox");
16580
+ attr(div1, "aria-labelledby", div1_aria_labelledby_value = "textbox-" + /*iteration*/
16581
+ ctx[9] + "-" + /*itemIndex*/
16582
+ ctx[8]);
16583
+ attr(div1, "aria-describedby", div1_aria_describedby_value = "textbox-value-" + /*iteration*/
16584
+ ctx[9] + "-" + /*itemIndex*/
16585
+ ctx[8]);
16586
+ attr(div1, "class", div1_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
17205
16587
  (ctx[4] > 1 && !useIsEven(
17206
16588
  /*iterationIndex*/
17207
16589
  ctx[11]
@@ -17229,12 +16611,12 @@
17229
16611
  /*itemIndex*/
17230
16612
  ctx[8]
17231
16613
  ] ? "border-2 border-red-900 bg-red-50" : ""));
17232
- attr(div0, "aria-readonly", "true");
17233
- attr(div0, "id", div0_id_value = `${/*iterationIndex*/
16614
+ attr(div1, "aria-readonly", "true");
16615
+ attr(div1, "id", div1_id_value = `${/*iterationIndex*/
17234
16616
  ctx[11]}-${/*sessionId*/
17235
16617
  ctx[0]}-${/*itemIndex*/
17236
16618
  ctx[8]}`);
17237
- attr(div0, "tabindex", div0_tabindex_value = !useIsEven(
16619
+ attr(div1, "tabindex", div1_tabindex_value = !useIsEven(
17238
16620
  /*iterationIndex*/
17239
16621
  ctx[11]
17240
16622
  ) && /*answerResults*/
@@ -17242,7 +16624,7 @@
17242
16624
  /*itemIndex*/
17243
16625
  ctx[8]
17244
16626
  ] ? "-1" : "0");
17245
- attr(div1, "class", div1_class_value = "h-fit relative " + (!useIsEven(
16627
+ attr(div2, "class", div2_class_value = "h-fit relative " + (!useIsEven(
17246
16628
  /*iterationIndex*/
17247
16629
  ctx[11]
17248
16630
  ) && /*answerResults*/
@@ -17250,31 +16632,38 @@
17250
16632
  /*itemIndex*/
17251
16633
  ctx[8]
17252
16634
  ] ? "hidden md:block" : ""));
17253
- attr(div2, "class", div2_class_value = "flex flex-col md:w-1/2 " + (useIsEven(
16635
+ attr(div3, "class", div3_class_value = "flex flex-col md:w-1/2 " + (useIsEven(
17254
16636
  /*iterationIndex*/
17255
16637
  ctx[11]
17256
16638
  ) ? "md:pr-4" : "ml-8.5 md:ml-0 md:pl-4"));
17257
16639
  },
17258
16640
  m(target, anchor) {
17259
- insert(target, div2, anchor);
17260
- append(div2, p);
16641
+ insert(target, div3, anchor);
16642
+ append(div3, p);
17261
16643
  append(p, t0);
17262
16644
  append(p, t1);
17263
- append(div2, t2);
17264
- append(div2, div1);
17265
- append(div1, label);
16645
+ append(div3, t2);
16646
+ append(div3, div2);
16647
+ append(div2, label);
17266
16648
  append(label, span0);
17267
16649
  append(label, t3);
17268
16650
  append(label, span1);
17269
- append(div1, t5);
16651
+ append(div2, t5);
16652
+ append(div2, span2);
16653
+ if_block0.m(span2, null);
16654
+ append(span2, t6);
16655
+ append(span2, t7);
16656
+ append(span2, t8);
16657
+ append(div2, t9);
16658
+ append(div2, div1);
17270
16659
  append(div1, div0);
17271
16660
  if_blocks[current_block_type_index].m(div0, null);
17272
- append(div1, t6);
17273
- if (if_block1)
17274
- if_block1.m(div1, null);
16661
+ append(div2, t10);
16662
+ if (if_block2)
16663
+ if_block2.m(div2, null);
17275
16664
  current = true;
17276
16665
  if (!mounted) {
17277
- dispose = action_destroyer(autosize_action = svelte_autosize_default.call(null, div0));
16666
+ dispose = action_destroyer(autosize_action = svelte_autosize_default.call(null, div1));
17278
16667
  mounted = true;
17279
16668
  }
17280
16669
  },
@@ -17313,30 +16702,9 @@
17313
16702
  attr(label, "for", label_for_value);
17314
16703
  }
17315
16704
  if_block0.p(ctx2, dirty);
16705
+ if_block1.p(ctx2, dirty);
17316
16706
  if (!current || dirty & /*answerResults*/
17317
- 2 && div0_aria_label_value !== (div0_aria_label_value = `${useIsEven(
17318
- /*iterationIndex*/
17319
- ctx2[11]
17320
- ) ? `Student's` : "Correct"} answer${useIsEven(
17321
- /*iterationIndex*/
17322
- ctx2[11]
17323
- ) && /*answerResults*/
17324
- ctx2[1][
17325
- /*itemIndex*/
17326
- ctx2[8]
17327
- ] ? " (Correct)" : useIsEven(
17328
- /*iterationIndex*/
17329
- ctx2[11]
17330
- ) && !/*answerResults*/
17331
- ctx2[1][
17332
- /*itemIndex*/
17333
- ctx2[8]
17334
- ] ? " (Incorrect)" : ""}, Item number ${/*itemIndex*/
17335
- ctx2[8] + 1}:`)) {
17336
- attr(div0, "aria-label", div0_aria_label_value);
17337
- }
17338
- if (!current || dirty & /*answerResults*/
17339
- 2 && div0_class_value !== (div0_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
16707
+ 2 && div1_class_value !== (div1_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
17340
16708
  (ctx2[4] > 1 && !useIsEven(
17341
16709
  /*iterationIndex*/
17342
16710
  ctx2[11]
@@ -17364,17 +16732,17 @@
17364
16732
  /*itemIndex*/
17365
16733
  ctx2[8]
17366
16734
  ] ? "border-2 border-red-900 bg-red-50" : ""))) {
17367
- attr(div0, "class", div0_class_value);
16735
+ attr(div1, "class", div1_class_value);
17368
16736
  }
17369
16737
  if (!current || dirty & /*sessionId*/
17370
- 1 && div0_id_value !== (div0_id_value = `${/*iterationIndex*/
16738
+ 1 && div1_id_value !== (div1_id_value = `${/*iterationIndex*/
17371
16739
  ctx2[11]}-${/*sessionId*/
17372
16740
  ctx2[0]}-${/*itemIndex*/
17373
16741
  ctx2[8]}`)) {
17374
- attr(div0, "id", div0_id_value);
16742
+ attr(div1, "id", div1_id_value);
17375
16743
  }
17376
16744
  if (!current || dirty & /*answerResults*/
17377
- 2 && div0_tabindex_value !== (div0_tabindex_value = !useIsEven(
16745
+ 2 && div1_tabindex_value !== (div1_tabindex_value = !useIsEven(
17378
16746
  /*iterationIndex*/
17379
16747
  ctx2[11]
17380
16748
  ) && /*answerResults*/
@@ -17382,12 +16750,12 @@
17382
16750
  /*itemIndex*/
17383
16751
  ctx2[8]
17384
16752
  ] ? "-1" : "0")) {
17385
- attr(div0, "tabindex", div0_tabindex_value);
16753
+ attr(div1, "tabindex", div1_tabindex_value);
17386
16754
  }
17387
16755
  if (show_if)
17388
- if_block1.p(ctx2, dirty);
16756
+ if_block2.p(ctx2, dirty);
17389
16757
  if (!current || dirty & /*answerResults*/
17390
- 2 && div1_class_value !== (div1_class_value = "h-fit relative " + (!useIsEven(
16758
+ 2 && div2_class_value !== (div2_class_value = "h-fit relative " + (!useIsEven(
17391
16759
  /*iterationIndex*/
17392
16760
  ctx2[11]
17393
16761
  ) && /*answerResults*/
@@ -17395,28 +16763,29 @@
17395
16763
  /*itemIndex*/
17396
16764
  ctx2[8]
17397
16765
  ] ? "hidden md:block" : ""))) {
17398
- attr(div1, "class", div1_class_value);
16766
+ attr(div2, "class", div2_class_value);
17399
16767
  }
17400
16768
  },
17401
16769
  i(local) {
17402
16770
  if (current)
17403
16771
  return;
17404
- transition_in(if_block0);
17405
16772
  transition_in(if_block1);
16773
+ transition_in(if_block2);
17406
16774
  current = true;
17407
16775
  },
17408
16776
  o(local) {
17409
- transition_out(if_block0);
17410
16777
  transition_out(if_block1);
16778
+ transition_out(if_block2);
17411
16779
  current = false;
17412
16780
  },
17413
16781
  d(detaching) {
17414
16782
  if (detaching) {
17415
- detach(div2);
16783
+ detach(div3);
17416
16784
  }
16785
+ if_block0.d();
17417
16786
  if_blocks[current_block_type_index].d();
17418
- if (if_block1)
17419
- if_block1.d();
16787
+ if (if_block2)
16788
+ if_block2.d();
17420
16789
  mounted = false;
17421
16790
  dispose();
17422
16791
  }
@@ -17457,8 +16826,8 @@
17457
16826
  current = true;
17458
16827
  },
17459
16828
  p(ctx2, dirty) {
17460
- if (dirty & /*answerResults, correctAnswerDataLength, sessionId, sessionAnswer, correctAnswers*/
17461
- 31) {
16829
+ if (dirty & /*answerResults, inlineIteration, correctAnswerDataLength, sessionId, sessionAnswer, correctAnswers*/
16830
+ 63) {
17462
16831
  each_value_1 = ensure_array_like(
17463
16832
  /*inlineIteration*/
17464
16833
  ctx2[5]
@@ -17506,7 +16875,7 @@
17506
16875
  }
17507
16876
  };
17508
16877
  }
17509
- function create_fragment30(ctx) {
16878
+ function create_fragment28(ctx) {
17510
16879
  let each_1_anchor;
17511
16880
  let current;
17512
16881
  let each_value = ensure_array_like(
@@ -17586,7 +16955,7 @@
17586
16955
  }
17587
16956
  };
17588
16957
  }
17589
- function instance18($$self, $$props, $$invalidate) {
16958
+ function instance16($$self, $$props, $$invalidate) {
17590
16959
  let { sessionId } = $$props;
17591
16960
  let { answerResults = [] } = $$props;
17592
16961
  let { correctAnswers = [] } = $$props;
@@ -17615,7 +16984,7 @@
17615
16984
  var PromptResultFeedbackTable = class extends SvelteComponent {
17616
16985
  constructor(options) {
17617
16986
  super();
17618
- init(this, options, instance18, create_fragment30, safe_not_equal, {
16987
+ init(this, options, instance16, create_fragment28, safe_not_equal, {
17619
16988
  sessionId: 0,
17620
16989
  answerResults: 1,
17621
16990
  correctAnswers: 2,
@@ -17693,7 +17062,7 @@
17693
17062
  }
17694
17063
  };
17695
17064
  }
17696
- function create_if_block_113(ctx) {
17065
+ function create_if_block_111(ctx) {
17697
17066
  let promptdropdowncontainer;
17698
17067
  let current;
17699
17068
  promptdropdowncontainer = new PromptDropdownContainer_default({
@@ -17805,7 +17174,7 @@
17805
17174
  let if_block;
17806
17175
  let if_block_anchor;
17807
17176
  let current;
17808
- const if_block_creators = [create_if_block_113, create_else_block7];
17177
+ const if_block_creators = [create_if_block_111, create_else_block7];
17809
17178
  const if_blocks = [];
17810
17179
  function select_block_type(ctx2, dirty) {
17811
17180
  if (
@@ -17848,14 +17217,14 @@
17848
17217
  }
17849
17218
  };
17850
17219
  }
17851
- function create_if_block14(ctx) {
17220
+ function create_if_block12(ctx) {
17852
17221
  let div;
17853
17222
  let t0;
17854
17223
  let promptresult;
17855
17224
  let t1;
17856
17225
  let promptresultfeedbacktable;
17857
17226
  let current;
17858
- promptresult = new PromptResultFeedbackv3_default({
17227
+ promptresult = new PromptResultFeedbackAlert_default({
17859
17228
  props: {
17860
17229
  isResultCorrect: (
17861
17230
  /*isResultCorrect*/
@@ -17990,7 +17359,7 @@
17990
17359
  (ctx[2] && !/*isPreviewMode*/
17991
17360
  ctx[3] || /*isPreviewModeInteractive*/
17992
17361
  ctx[4] && /*previewInteractiveEvent*/
17993
- ctx[9]) && create_if_block14(ctx)
17362
+ ctx[9]) && create_if_block12(ctx)
17994
17363
  );
17995
17364
  return {
17996
17365
  c() {
@@ -18060,7 +17429,7 @@
18060
17429
  transition_in(if_block, 1);
18061
17430
  }
18062
17431
  } else {
18063
- if_block = create_if_block14(ctx2);
17432
+ if_block = create_if_block12(ctx2);
18064
17433
  if_block.c();
18065
17434
  transition_in(if_block, 1);
18066
17435
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -18102,7 +17471,7 @@
18102
17471
  }
18103
17472
  };
18104
17473
  }
18105
- function create_fragment31(ctx) {
17474
+ function create_fragment29(ctx) {
18106
17475
  let promptbody;
18107
17476
  let current;
18108
17477
  promptbody = new PromptBody_default({
@@ -18157,7 +17526,7 @@
18157
17526
  }
18158
17527
  };
18159
17528
  }
18160
- function instance19($$self, $$props, $$invalidate) {
17529
+ function instance17($$self, $$props, $$invalidate) {
18161
17530
  let answer;
18162
17531
  let getSessionFeedbackData;
18163
17532
  let isSkipped;
@@ -18367,8 +17736,8 @@
18367
17736
  init(
18368
17737
  this,
18369
17738
  options,
18370
- instance19,
18371
- create_fragment31,
17739
+ instance17,
17740
+ create_fragment29,
18372
17741
  safe_not_equal,
18373
17742
  {
18374
17743
  sessionData: 0,
@@ -18429,7 +17798,7 @@
18429
17798
  var PromptDropdown_default = PromptDropdown;
18430
17799
 
18431
17800
  // src/lib/components/prompt/skeleton/PromptSkeleton.svelte
18432
- function create_fragment32(ctx) {
17801
+ function create_fragment30(ctx) {
18433
17802
  let div3;
18434
17803
  return {
18435
17804
  c() {
@@ -18452,7 +17821,7 @@
18452
17821
  var PromptSkeleton = class extends SvelteComponent {
18453
17822
  constructor(options) {
18454
17823
  super();
18455
- init(this, options, null, create_fragment32, safe_not_equal, {});
17824
+ init(this, options, null, create_fragment30, safe_not_equal, {});
18456
17825
  }
18457
17826
  };
18458
17827
  customElements.define("prompt-skeleton", create_custom_element(PromptSkeleton, {}, [], [], true));
@@ -18460,7 +17829,7 @@
18460
17829
 
18461
17830
  // src/lib/components/prompt/PromptBuilder.svelte
18462
17831
  function add_css2(target) {
18463
- append_styles(target, "svelte-88qron", '*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:Mulish, sans-serif;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*{font-family:Mulish, sans-serif}input::-moz-selection,textarea::-moz-selection{background-color:hsla(0, 0%, 85%, 0.4)}input::selection,textarea::selection{background-color:hsla(0, 0%, 85%, 0.4)}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.p2{font-size:0.875rem;font-weight:600;line-height:1.25rem;line-height:1.5}.blanket-overlay{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity));inset:0;opacity:0.3;position:absolute}.item-heading{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;letter-spacing:-0.025em;line-height:1.5rem}.focus-ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.hover-focus-ring:hover,.raw-focus-ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;transition-duration:50ms}.focus-ring-by-dropdown,.hover-focus-ring:hover,.raw-focus-ring{box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px}.focus-ring-by-dropdown{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:0 0 0 2px #fff, 0 0 0 4px #212529, 0 0 0 6px #fde047}.divider{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(218 224 224/var(--tw-border-opacity))}@keyframes svelte-88qron-pulse{50%{opacity:0.5}}.animate-skeleton{--tw-bg-opacity:1;animation:svelte-88qron-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.btn-mcq-option:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-ring-offset-color:#212529;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.btn-mcq-option{--tw-text-opacity:1;--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(248 248 248/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));display:flex;font-size:1rem;justify-content:space-between;line-height:1.5rem;line-height:19.2px;margin-bottom:1rem;min-height:52px;padding:0.25rem 0.75rem;width:100%}.btn-mcq-option:active{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}@media(hover: hover) and (pointer: fine){.btn-mcq-option:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(238 240 255/var(--tw-bg-opacity));border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}}.btn-mcq-option{box-sizing:border-box}.btn-mcq-option:active{--tw-bg-opacity:1;background-color:rgb(238 240 255/var(--tw-bg-opacity))}.btn-mcq-option>span>span>.\\!choice,.btn-mcq-option>span>span>.choice{align-items:center;display:flex;font-size:1rem;font-weight:700;height:2rem;justify-content:center;letter-spacing:0.05em;line-height:1rem;margin-right:1rem;width:2rem}.btn-mcq-option>span>span>.\\!choice,.btn-mcq-option>span>span>.choice{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(156 163 175/var(--tw-border-opacity));border-radius:1rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));padding:0.5rem}.btn-mcq-option.selected{--tw-border-opacity:1;background-color:rgb(40 44 135/var(--tw-bg-opacity));border-color:rgb(40 44 135/var(--tw-border-opacity));border-width:2px}.btn-mcq-option.selected,.btn-mcq-option.selected:active{--tw-bg-opacity:1;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.btn-mcq-option.selected:active{background-color:rgb(84 101 251/var(--tw-bg-opacity))}@media(hover: hover) and (pointer: fine){.btn-mcq-option.selected:hover{--tw-bg-opacity:1;background-color:rgb(84 101 251/var(--tw-bg-opacity))}}.btn-mcq-option.finished{cursor:default}.btn-mcq-option.finished:active,.btn-mcq-option.finished:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(248 248 248/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected>span>span>.\\!choice,.btn-mcq-option.selected>span>span>.choice{--tw-bg-opacity:1;background-color:rgb(238 240 255/var(--tw-bg-opacity))}.btn-mcq-option>span>span>.custom-checkbox{--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.25rem;border-width:1px;display:flex;height:1.75rem;justify-content:center;margin-left:1rem;pointer-events:none;width:1.75rem}@media(hover: hover) and (pointer: fine){.btn-mcq-option:hover>span>span>.custom-checkbox{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}.btn-mcq-option:active>span>span>.custom-checkbox.preview-only,.btn-mcq-option:hover>span>span>.custom-checkbox.preview-only{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));border-width:1px}}.btn-mcq-option:active>span>span>.custom-checkbox{--tw-border-opacity:1;border-color:rgb(40 44 135/var(--tw-border-opacity));border-width:2px}.btn-mcq-option.selected>span>span>.custom-checkbox{--tw-bg-opacity:1;background-color:rgb(84 101 251/var(--tw-bg-opacity));border-width:0;pointer-events:none}@media(hover: hover) and (pointer: fine){.btn-mcq-option.selected:hover>span>span>.custom-checkbox{--tw-bg-opacity:1;background-color:rgb(76 91 226/var(--tw-bg-opacity));border-width:0}}.btn-mcq-option.selected:active>span>span>.custom-checkbox{--tw-bg-opacity:1;background-color:rgb(40 44 135/var(--tw-bg-opacity));border-width:0}.btn-mcq-option.missing.correct{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(248 248 248/var(--tw-bg-opacity));border-color:rgb(21 128 61/var(--tw-border-opacity));border-width:1px;padding-bottom:0.5rem;padding-top:0.5rem}@media(hover: hover) and (pointer: fine){.btn-mcq-option.correct.interactive:active,.btn-mcq-option.correct.interactive:hover,.btn-mcq-option.incorrect.interactive:active,.btn-mcq-option.incorrect.interactive:hover,.btn-mcq-option.missing.interactive:active,.btn-mcq-option.missing.interactive:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(238 240 255/var(--tw-bg-opacity));border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}}.btn-mcq-option.selected.correct{background-color:rgb(240 253 244/var(--tw-bg-opacity));border-color:rgb(21 128 61/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected.correct,.btn-mcq-option.selected.incorrect{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.btn-mcq-option.selected.incorrect{background-color:rgb(253 242 248/var(--tw-bg-opacity));border-color:rgb(190 24 93/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected.correct>span>span>.\\!choice,.btn-mcq-option.selected.correct>span>span>.choice,.btn-mcq-option.selected.incorrect>span>span>.\\!choice,.btn-mcq-option.selected.incorrect>span>span>.choice{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(113 115 119/var(--tw-border-opacity));border-width:1px}.typein-textbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.typein-textbox{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem;padding:0.75rem 1rem;width:100%}.typein-textbox::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(55 65 81/var(--tw-placeholder-opacity))}.typein-textbox::placeholder{--tw-placeholder-opacity:1;color:rgb(55 65 81/var(--tw-placeholder-opacity))}.typein-textbox:focus{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}}.typein-textbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0)) !important}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{transition-duration:50ms}}.typein-textbox:focus{outline-color:#212529;outline-width:2px}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{outline-color:#212529;outline-width:2px}}.typein-textbox:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity))}.inline-typein-container>p{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;font-weight:600;line-height:3rem}#dnd-action-dragged-el{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-border-opacity:1!important;--tw-bg-opacity:1!important;background-color:rgb(205 208 254/var(--tw-bg-opacity)) !important;border-color:rgb(93 99 107/var(--tw-border-opacity)) !important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));cursor:grabbing !important;outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}#dnd-action-dragged-el .btn-vertical-icon{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));cursor:grabbing !important}#dnd-action-dragged-el .preview-icon{display:none !important}#dnd-action-dragged-el .preview-vertical{display:block !important}.category-content>.missing-answer-label{display:block}.category-content>.missing-answer-label~.missing-answer-label{display:none}.text-stimulus{padding-bottom:1rem;padding-top:1rem}.text-stimulus p{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;line-height:1.75rem;padding-bottom:0.5rem}.text-stimulus ol,.text-stimulus ul{font-size:1rem;line-height:1.5rem;list-style-position:inside;padding-bottom:0.5rem;padding-left:0.5rem}.text-stimulus ol ::marker,.text-stimulus ul ::marker{color:#282c87}.text-stimulus ol::marker,.text-stimulus ul::marker{color:#282c87}.text-stimulus ul{list-style-type:disc}.text-stimulus ol{list-style-type:decimal}.text-stimulus ul li>p{margin-left:-0.5rem}.text-stimulus ol>li>p,.text-stimulus ul>li>p{display:inline;font-size:1rem;line-height:1.5rem;padding-bottom:0;padding-top:0}.text-stimulus div.table-container:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.text-stimulus div.table-container{border-radius:0.5rem;overflow:auto;padding-left:0.125rem;padding-right:0.125rem}.text-stimulus table{--tw-border-spacing-x:0.75rem;--tw-border-spacing-y:0.75rem;--tw-shadow:0 0 0 1px #9ca3af;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);border-radius:0.5rem;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);margin-bottom:1rem;margin-top:0.5rem;overflow-x:auto;width:100%}.text-stimulus table tr{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(156 163 175/var(--tw-border-opacity))}.text-stimulus table tr:last-child{border-color:transparent}.text-stimulus table td,.text-stimulus table th{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity));border-left-width:1px;min-width:140px}.text-stimulus table td:first-child,.text-stimulus table th:first-child{border-style:none}.text-stimulus table td>p,.text-stimulus table th>p{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem;padding:0.75rem;text-align:left}.text-stimulus table th>p{font-weight:400}.prompt p,.text-stimulus table th p{font-weight:600}.prompt p b,.prompt p b i,.prompt p b i u,.prompt p b u,.prompt p b u i,.prompt p i b,.prompt p i b u,.prompt p i u b,.prompt p u b,.prompt p u b i,.prompt p u i b,.text-stimulus table th p b,.text-stimulus table th p b i,.text-stimulus table th p b i u,.text-stimulus table th p b u,.text-stimulus table th p b u i,.text-stimulus table th p i b,.text-stimulus table th p i b u,.text-stimulus table th p i u b,.text-stimulus table th p u b,.text-stimulus table th p u b i,.text-stimulus table th p u i b{font-weight:900}.dropdown-text:not(:last-child),.dropdown:not(:last-child){margin-right:1rem}.dropdown-container{--tw-border-opacity:1;align-items:center;border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;display:flex;height:2.75rem;overflow:hidden;white-space:nowrap;width:15rem}.dropdown-container:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px}.dropdown-container:active,.dropdown-container:focus{box-shadow:0 0 0 2px #fff, 0 0 0 4px #212529, 0 0 0 6px #fde047}@media(hover: hover) and (pointer: fine){.dropdown-container:hover{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px;outline-color:#212529;outline-width:2px}}.dropdown-menu{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;margin-top:0.5rem;max-height:400px;max-width:500px;min-width:240px;overflow-y:auto;position:absolute;z-index:50}@supports (overflow-wrap: anywhere){.dropdown-menu{overflow-wrap:anywhere}}@supports not (overflow-wrap: anywhere){.dropdown-menu{word-break:break-word}}.dropdown-item{cursor:pointer;font-size:1rem;line-height:1.5rem;outline:2px solid transparent;outline-offset:2px;padding:0.5rem 1rem}.dropdown-itemtext{border-bottom-width:1px;border-color:transparent}.dropdown-itemtext.hover-option{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity));color:rgb(46 47 212/var(--tw-text-opacity));font-weight:600}.dropdown-itemtext.current-option{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity));border-bottom-width:1px;border-color:rgb(0 0 0/var(--tw-border-opacity));color:rgb(0 0 0/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.dropdown-itemtext:active{border-bottom-width:2px;font-weight:600}.sr-only{clip:rect(0, 0, 0, 0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-y-0{bottom:0;top:0}.-top-2{top:-0.5rem}.-top-2\\.5{top:-0.625rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.bottom-\\[7px\\]{bottom:7px}.left-0{left:0}.left-4{left:1rem}.left-\\[-9999px\\]{left:-9999px}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1{top:0.25rem}.top-1\\/2{top:50%}.top-12{top:3rem}.top-3{top:0.75rem}.top-3\\.5{top:0.875rem}.top-\\[13px\\]{top:13px}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.m-auto{margin:auto}.mx-0{margin-left:0;margin-right:0}.mx-0\\.5{margin-left:0.125rem;margin-right:0.125rem}.my-2{margin-bottom:0.5rem;margin-top:0.5rem}.my-6{margin-bottom:1.5rem;margin-top:1.5rem}.my-auto{margin-bottom:auto;margin-top:auto}.-mt-0{margin-top:0}.-mt-0\\.5{margin-top:-0.125rem}.mb-1{margin-bottom:0.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:0.5rem}.mb-3{margin-bottom:0.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:0.25rem}.ml-3{margin-left:0.75rem}.ml-8{margin-left:2rem}.ml-8\\.5{margin-left:2.125rem}.ml-\\[3px\\]{margin-left:3px}.mr-1{margin-right:0.25rem}.mr-2{margin-right:0.5rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:0.125rem}.mt-1{margin-top:0.25rem}.mt-2{margin-top:0.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-7\\.5{margin-top:1.875}.mt-9{margin-top:2.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-10\\.5{height:2.625rem}.h-11{height:2.75rem}.h-2{height:0.5rem}.h-4{height:1rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-\\[470px\\]{max-height:470px}.max-h-\\[660px\\]{max-height:660px}.min-h-\\[133px\\]{min-height:133px}.min-h-\\[140px\\]{min-height:140px}.min-h-\\[54px\\]{min-height:54px}.min-h-\\[86px\\]{min-height:86px}.w-11{width:2.75rem}.w-2{width:0.5rem}.w-2\\/4{width:50%}.w-3{width:0.75rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-8{width:2rem}.w-8\\.5{width:2.125rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.min-w-\\[44px\\]{min-width:44px}.min-w-\\[85px\\]{min-width:85px}.max-w-\\[400px\\]{max-width:400px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.grow{flex-grow:1}.basis-0{flex-basis:0px}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\\!cursor-default{cursor:default !important}.\\!cursor-pointer{cursor:pointer !important}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1, minmax(0, 1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.content-start{align-content:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:0.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0.5rem * var(--tw-space-y-reverse));margin-top:calc(0.5rem * (1 - var(--tw-space-y-reverse)))}.space-y-reverse>:not([hidden])~:not([hidden]){--tw-space-y-reverse:1}.overflow-hidden{overflow:hidden}.overflow-y-visible{overflow-y:visible}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:0.25rem}.rounded-\\[32px\\]{border-radius:32px}.rounded-lg{border-radius:0.5rem}.rounded-md{border-radius:0.375rem}.rounded-b-lg{border-bottom-right-radius:0.5rem}.rounded-b-lg,.rounded-l-lg{border-bottom-left-radius:0.5rem}.rounded-l-lg,.rounded-t-lg{border-top-left-radius:0.5rem}.rounded-t-lg{border-top-right-radius:0.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-l-6,.border-l-\\[6px\\]{border-left-width:6px}.border-dashed{border-style:dashed}.\\!border-blue-1000{--tw-border-opacity:1!important;border-color:rgb(40 44 135/var(--tw-border-opacity)) !important}.border-blue-1000{--tw-border-opacity:1;border-color:rgb(40 44 135/var(--tw-border-opacity))}.border-blue-950{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.border-charcoal{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.border-gray-850{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity))}.border-green-800{--tw-border-opacity:1;border-color:rgb(0 102 5/var(--tw-border-opacity))}.border-green-900{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.border-red-800{--tw-border-opacity:1;border-color:rgb(217 12 85/var(--tw-border-opacity))}.border-red-900{--tw-border-opacity:1;border-color:rgb(190 24 93/var(--tw-border-opacity))}.border-soft-blue{--tw-border-opacity:1;border-color:rgb(84 101 251/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.\\!bg-violet-100{--tw-bg-opacity:1!important;background-color:rgb(235 235 255/var(--tw-bg-opacity)) !important}.\\!bg-violet-150{--tw-bg-opacity:1!important;background-color:rgb(205 208 254/var(--tw-bg-opacity)) !important}.\\!bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity)) !important}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-blue-1000{--tw-bg-opacity:1;background-color:rgb(40 44 135/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(247 250 250/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(244 244 244/var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity:1;background-color:rgb(241 254 241/var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity:1;background-color:rgb(253 243 247/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(253 242 248/var(--tw-bg-opacity))}.bg-soft-blue{--tw-bg-opacity:1;background-color:rgb(84 101 251/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-violet-100{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.bg-violet-150{--tw-bg-opacity:1;background-color:rgb(205 208 254/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-1000{--tw-bg-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity))}.bg-opacity-5{--tw-bg-opacity:0.05}.p-0{padding:0}.p-0\\.5{padding:0.125rem}.p-1{padding:0.25rem}.p-1\\.5{padding:0.375rem}.p-2{padding:0.5rem}.p-3{padding:0.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-3{padding-left:0.75rem;padding-right:0.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-bottom:0.25rem;padding-top:0.25rem}.py-1\\.5{padding-bottom:0.375rem;padding-top:0.375rem}.py-2{padding-bottom:0.5rem;padding-top:0.5rem}.py-\\[9px\\]{padding-bottom:9px;padding-top:9px}.\\!pr-11{padding-right:2.75rem !important}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:0.5rem}.pb-3{padding-bottom:0.75rem}.pl-13\\.2{padding-left:3.125rem}.pl-24{padding-left:6rem}.pl-3{padding-left:0.75rem}.pl-4{padding-left:1rem}.pr-3{padding-right:0.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-0\\.5{padding-top:0.125rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-\\[15px\\]{padding-top:15px}.pt-\\[55px\\]{padding-top:55px}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-12{line-height:3rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-\\[19\\.2px\\]{line-height:19.2px}.leading-\\[19px\\]{line-height:19px}.leading-\\[22px\\]{line-height:22px}.\\!text-gray-900{--tw-text-opacity:1!important;color:rgb(57 62 69/var(--tw-text-opacity)) !important}.text-blue-1000{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity))}.text-blue-850{--tw-text-opacity:1;color:rgb(46 47 212/var(--tw-text-opacity))}.text-blue-950{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-charcoal{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(93 99 107/var(--tw-text-opacity))}.text-gray-860{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(0 102 5/var(--tw-text-opacity))}.text-green-900{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-inherit{color:inherit}.text-red-800{--tw-text-opacity:1;color:rgb(217 12 85/var(--tw-text-opacity))}.text-red-900{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-5{opacity:0.05}.opacity-50{opacity:0.5}.shadow-\\[0_-12px_14px_-16px_\\#00000033\\]{--tw-shadow:0 -12px 14px -16px #00000033;--tw-shadow-colored:0 -12px 14px -16px var(--tw-shadow-color)}.shadow-\\[0_-12px_14px_-16px_\\#00000033\\],.shadow-md{box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow)}.shadow-md{--tw-shadow:0px 2px 8px rgba(0,0,0,.2);--tw-shadow-colored:0px 2px 8px var(--tw-shadow-color)}.\\!outline-none{outline:2px solid transparent !important;outline-offset:2px !important}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:0.15s;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.duration-300{transition-duration:0.3s}.active\\:raw-focus-ring-by:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-ring-offset-color:#212529}.active\\:raw-focus-ring-by:active,.active\\:raw-focus-ring:active{box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.active\\:raw-focus-ring:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px}@media(min-width: 732px){.md\\:item-heading{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;letter-spacing:-0.025em;line-height:1.5rem}.category-content>.md\\:missing-answer-label{display:block}.category-content>.md\\:missing-answer-label~.md\\:missing-answer-label{display:none}}@media(hover: hover) and (pointer: fine){.td\\:hover-focus-ring:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.td\\:hover\\:hover-option:hover.dropdown-itemtext{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity));color:rgb(46 47 212/var(--tw-text-opacity));font-weight:600}}.last\\:mr-0:last-child{margin-right:0}.focus-within\\:left-0:focus-within{left:0}.focus-within\\:right-0:focus-within{right:0}.focus-within\\:top-0:focus-within{top:0}.focus-within\\:z-30:focus-within{z-index:30}.hover\\:bg-black-50:hover{background-color:rgba(0, 0, 0, 0.0509803922)}.hover\\:bg-blue-100:hover{--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity))}.hover\\:bg-violet-100:hover{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.hover\\:bg-yellow-1000:hover{--tw-bg-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity))}.hover\\:text-charcoal:hover{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.focus\\:outline-transparent:focus{outline-color:transparent}.focus-visible\\:border:focus-visible{border-width:1px}.focus-visible\\:border-charcoal:focus-visible{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity))}.focus-visible\\:border-gray-400:focus-visible{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.focus-visible\\:border-gray-800:focus-visible{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.active\\:bg-black-55:active,.active\\:bg-black-60:active{background-color:rgba(0, 0, 0, 0.1019607843)}.active\\:bg-yellow-1100:active{--tw-bg-opacity:1;background-color:rgb(238 206 26/var(--tw-bg-opacity))}.active\\:text-charcoal:active{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.disabled\\:text-gray-40:disabled{--tw-text-opacity:1;color:rgb(142 147 153/var(--tw-text-opacity))}.disabled\\:hover\\:bg-white:hover:disabled{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.group\\/itemContainer:hover .group-hover\\/itemContainer\\:bg-violet-100{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.group:hover .group-hover\\:underline{text-decoration-line:underline}@media(min-width: 732px){.md\\:inset-0{inset:0}.md\\:top-20{top:5rem}.md\\:mb-2{margin-bottom:0.5rem}.md\\:mb-4{margin-bottom:1rem}.md\\:mb-8{margin-bottom:2rem}.md\\:ml-0{margin-left:0}.md\\:mt-0{margin-top:0}.md\\:mt-14{margin-top:3.5rem}.md\\:block{display:block}.md\\:inline-block{display:inline-block}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:h-fit{height:-moz-fit-content;height:fit-content}.md\\:min-h-0{min-height:0}.md\\:min-h-\\[140px\\]{min-height:140px}.md\\:min-h-\\[164px\\]{min-height:164px}.md\\:w-1\\/2{width:50%}.md\\:w-fit{width:-moz-fit-content;width:fit-content}.md\\:grow-0{flex-grow:0}.md\\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}.md\\:flex-row{flex-direction:row}.md\\:flex-col{flex-direction:column}.md\\:items-center{align-items:center}.md\\:justify-normal{justify-content:normal}.md\\:justify-center{justify-content:center}.md\\:justify-between{justify-content:space-between}.md\\:gap-6{gap:1.5rem}.md\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px * var(--tw-space-y-reverse));margin-top:calc(0px * (1 - var(--tw-space-y-reverse)))}.md\\:rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.md\\:border{border-width:1px}.md\\:border-gray-400{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.md\\:\\!bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity)) !important}.md\\:p-4{padding:1rem}.md\\:px-0{padding-left:0;padding-right:0}.md\\:pb-0{padding-bottom:0}.md\\:pl-13\\.2{padding-left:3.125rem}.md\\:pl-4{padding-left:1rem}.md\\:pr-4{padding-right:1rem}.md\\:pt-20{padding-top:5rem}.md\\:pt-20\\.5{padding-top:5.125rem}.md\\:text-center{text-align:center}.md\\:shadow-\\[0_0_\\#0000\\]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow)}.group\\/itemContainer:hover .md\\:group-hover\\/itemContainer\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}}@media(min-width: 1196px){.lg\\:mr-6{margin-right:1.5rem}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:min-h-\\[224px\\]{min-height:224px}.lg\\:w-full{width:100%}.lg\\:max-w-\\[50\\%\\]{max-width:50%}.lg\\:grow{flex-grow:1}.lg\\:basis-1\\/2{flex-basis:50%}.lg\\:items-center{align-items:center}.lg\\:justify-between{justify-content:space-between}.lg\\:gap-0{gap:0}.lg\\:last\\:mr-0:last-child{margin-right:0}}@media(hover: hover) and (pointer: fine){.td\\:border-2{border-width:2px}.td\\:border-blue-900{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity))}.td\\:hover\\:cursor-grab:hover{cursor:grab}.td\\:hover\\:border-gray-800:hover{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.td\\:hover\\:bg-black-50:hover{background-color:rgba(0, 0, 0, 0.0509803922)}.td\\:hover\\:bg-violet-100:hover{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.td\\:hover\\:text-soft-blue:hover{--tw-text-opacity:1;color:rgb(84 101 251/var(--tw-text-opacity))}.group:hover .td\\:group-hover\\:bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.group:hover .td\\:group-hover\\:opacity-5{opacity:0.05}}');
17832
+ append_styles(target, "svelte-11nsk81", '*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:Mulish, sans-serif;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*{font-family:Mulish, sans-serif}input::-moz-selection,textarea::-moz-selection{background-color:hsla(0, 0%, 85%, 0.4)}input::selection,textarea::selection{background-color:hsla(0, 0%, 85%, 0.4)}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.p2{font-size:0.875rem;font-weight:600;line-height:1.25rem;line-height:1.5}.blanket-overlay{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity));inset:0;opacity:0.3;position:absolute}.item-heading{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;letter-spacing:-0.025em;line-height:1.5rem}.focus-ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.hover-focus-ring:hover,.raw-focus-ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;transition-duration:50ms}.focus-ring-by-dropdown,.hover-focus-ring:hover,.raw-focus-ring{box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px}.focus-ring-by-dropdown{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:0 0 0 2px #fff, 0 0 0 4px #212529, 0 0 0 6px #fde047}.divider{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(218 224 224/var(--tw-border-opacity))}@keyframes svelte-11nsk81-pulse{50%{opacity:0.5}}.animate-skeleton{--tw-bg-opacity:1;animation:svelte-11nsk81-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.btn-mcq-option:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-ring-offset-color:#212529;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.btn-mcq-option{--tw-text-opacity:1;--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(248 248 248/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));display:flex;font-size:1rem;justify-content:space-between;line-height:1.5rem;line-height:19.2px;margin-bottom:1rem;min-height:52px;padding:0.25rem 0.75rem;width:100%}.btn-mcq-option:active{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}@media(hover: hover) and (pointer: fine){.btn-mcq-option:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(238 240 255/var(--tw-bg-opacity));border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}}.btn-mcq-option{box-sizing:border-box}.btn-mcq-option:active{--tw-bg-opacity:1;background-color:rgb(238 240 255/var(--tw-bg-opacity))}.btn-mcq-option>span>span>.\\!choice,.btn-mcq-option>span>span>.choice{align-items:center;display:flex;font-size:1rem;font-weight:700;height:2rem;justify-content:center;letter-spacing:0.05em;line-height:1rem;margin-right:1rem;width:2rem}.btn-mcq-option>span>span>.\\!choice,.btn-mcq-option>span>span>.choice{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(156 163 175/var(--tw-border-opacity));border-radius:1rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));padding:0.5rem}.btn-mcq-option.selected{--tw-border-opacity:1;background-color:rgb(40 44 135/var(--tw-bg-opacity));border-color:rgb(40 44 135/var(--tw-border-opacity));border-width:2px}.btn-mcq-option.selected,.btn-mcq-option.selected:active{--tw-bg-opacity:1;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.btn-mcq-option.selected:active{background-color:rgb(84 101 251/var(--tw-bg-opacity))}@media(hover: hover) and (pointer: fine){.btn-mcq-option.selected:hover{--tw-bg-opacity:1;background-color:rgb(84 101 251/var(--tw-bg-opacity))}}.btn-mcq-option.finished{cursor:default}.btn-mcq-option.finished:active,.btn-mcq-option.finished:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(248 248 248/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected>span>span>.\\!choice,.btn-mcq-option.selected>span>span>.choice{--tw-bg-opacity:1;background-color:rgb(238 240 255/var(--tw-bg-opacity))}.btn-mcq-option>span>span>.custom-checkbox{--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.25rem;border-width:1px;display:flex;height:1.75rem;justify-content:center;margin-left:1rem;pointer-events:none;width:1.75rem}@media(hover: hover) and (pointer: fine){.btn-mcq-option:hover>span>span>.custom-checkbox{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}.btn-mcq-option:active>span>span>.custom-checkbox.preview-only,.btn-mcq-option:hover>span>span>.custom-checkbox.preview-only{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));border-width:1px}}.btn-mcq-option:active>span>span>.custom-checkbox{--tw-border-opacity:1;border-color:rgb(40 44 135/var(--tw-border-opacity));border-width:2px}.btn-mcq-option.selected>span>span>.custom-checkbox{--tw-bg-opacity:1;background-color:rgb(84 101 251/var(--tw-bg-opacity));border-width:0;pointer-events:none}@media(hover: hover) and (pointer: fine){.btn-mcq-option.selected:hover>span>span>.custom-checkbox{--tw-bg-opacity:1;background-color:rgb(76 91 226/var(--tw-bg-opacity));border-width:0}}.btn-mcq-option.selected:active>span>span>.custom-checkbox{--tw-bg-opacity:1;background-color:rgb(40 44 135/var(--tw-bg-opacity));border-width:0}.btn-mcq-option.missing.correct{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(248 248 248/var(--tw-bg-opacity));border-color:rgb(21 128 61/var(--tw-border-opacity));border-width:1px;padding-bottom:0.5rem;padding-top:0.5rem}@media(hover: hover) and (pointer: fine){.btn-mcq-option.correct.interactive:active,.btn-mcq-option.correct.interactive:hover,.btn-mcq-option.incorrect.interactive:active,.btn-mcq-option.incorrect.interactive:hover,.btn-mcq-option.missing.interactive:active,.btn-mcq-option.missing.interactive:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(238 240 255/var(--tw-bg-opacity));border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}}.btn-mcq-option.selected.correct{background-color:rgb(240 253 244/var(--tw-bg-opacity));border-color:rgb(21 128 61/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected.correct,.btn-mcq-option.selected.incorrect{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.btn-mcq-option.selected.incorrect{background-color:rgb(253 242 248/var(--tw-bg-opacity));border-color:rgb(190 24 93/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected.correct>span>span>.\\!choice,.btn-mcq-option.selected.correct>span>span>.choice,.btn-mcq-option.selected.incorrect>span>span>.\\!choice,.btn-mcq-option.selected.incorrect>span>span>.choice{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(113 115 119/var(--tw-border-opacity));border-width:1px}.typein-textbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.typein-textbox{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem;padding:0.75rem 1rem;width:100%}.typein-textbox::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(55 65 81/var(--tw-placeholder-opacity))}.typein-textbox::placeholder{--tw-placeholder-opacity:1;color:rgb(55 65 81/var(--tw-placeholder-opacity))}.typein-textbox:focus{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px}}.typein-textbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0)) !important}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{transition-duration:50ms}}.typein-textbox:focus{outline-color:#212529;outline-width:2px}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{outline-color:#212529;outline-width:2px}}.typein-textbox:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity))}.inline-typein-container>p{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;font-weight:600;line-height:3rem}#dnd-action-dragged-el{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-border-opacity:1!important;--tw-bg-opacity:1!important;background-color:rgb(205 208 254/var(--tw-bg-opacity)) !important;border-color:rgb(93 99 107/var(--tw-border-opacity)) !important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));cursor:grabbing !important;outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}#dnd-action-dragged-el .btn-vertical-icon{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));cursor:grabbing !important}#dnd-action-dragged-el .preview-icon{display:none !important}#dnd-action-dragged-el .preview-vertical{display:block !important}.category-content>.missing-answer-label{display:block}.category-content>.missing-answer-label~.missing-answer-label{display:none}.text-stimulus{padding-bottom:1rem;padding-top:1rem}.text-stimulus p{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;line-height:1.75rem;padding-bottom:0.5rem}.text-stimulus ol,.text-stimulus ul{font-size:1rem;line-height:1.5rem;list-style-position:inside;padding-bottom:0.5rem;padding-left:0.5rem}.text-stimulus ol ::marker,.text-stimulus ul ::marker{color:#282c87}.text-stimulus ol::marker,.text-stimulus ul::marker{color:#282c87}.text-stimulus ul{list-style-type:disc}.text-stimulus ol{list-style-type:decimal}.text-stimulus ul li>p{margin-left:-0.5rem}.text-stimulus ol>li>p,.text-stimulus ul>li>p{display:inline;font-size:1rem;line-height:1.5rem;padding-bottom:0;padding-top:0}.text-stimulus div.table-container:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.text-stimulus div.table-container{border-radius:0.5rem;overflow:auto;padding-left:0.125rem;padding-right:0.125rem}.text-stimulus table{--tw-border-spacing-x:0.75rem;--tw-border-spacing-y:0.75rem;--tw-shadow:0 0 0 1px #9ca3af;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);border-radius:0.5rem;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);margin-bottom:1rem;margin-top:0.5rem;overflow-x:auto;width:100%}.text-stimulus table tr{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(156 163 175/var(--tw-border-opacity))}.text-stimulus table tr:last-child{border-color:transparent}.text-stimulus table td,.text-stimulus table th{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity));border-left-width:1px;min-width:140px}.text-stimulus table td:first-child,.text-stimulus table th:first-child{border-style:none}.text-stimulus table td>p,.text-stimulus table th>p{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem;padding:0.75rem;text-align:left}.text-stimulus table th>p{font-weight:400}.prompt p,.text-stimulus table th p{font-weight:600}.prompt p b,.prompt p b i,.prompt p b i u,.prompt p b u,.prompt p b u i,.prompt p i b,.prompt p i b u,.prompt p i u b,.prompt p u b,.prompt p u b i,.prompt p u i b,.text-stimulus table th p b,.text-stimulus table th p b i,.text-stimulus table th p b i u,.text-stimulus table th p b u,.text-stimulus table th p b u i,.text-stimulus table th p i b,.text-stimulus table th p i b u,.text-stimulus table th p i u b,.text-stimulus table th p u b,.text-stimulus table th p u b i,.text-stimulus table th p u i b{font-weight:900}.dropdown-text:not(:last-child),.dropdown:not(:last-child){margin-right:1rem}.dropdown-container{--tw-border-opacity:1;align-items:center;border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;display:flex;height:2.75rem;overflow:hidden;white-space:nowrap;width:15rem}.dropdown-container:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px}.dropdown-container:active,.dropdown-container:focus{box-shadow:0 0 0 2px #fff, 0 0 0 4px #212529, 0 0 0 6px #fde047}@media(hover: hover) and (pointer: fine){.dropdown-container:hover{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity));border-width:2px;outline-color:#212529;outline-width:2px}}.dropdown-menu{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(75 85 99/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;margin-top:0.5rem;max-height:400px;max-width:500px;min-width:240px;overflow-y:auto;position:absolute;z-index:50}@supports (overflow-wrap: anywhere){.dropdown-menu{overflow-wrap:anywhere}}@supports not (overflow-wrap: anywhere){.dropdown-menu{word-break:break-word}}.dropdown-item{cursor:pointer;font-size:1rem;line-height:1.5rem;outline:2px solid transparent;outline-offset:2px;padding:0.5rem 1rem}.dropdown-itemtext{border-bottom-width:1px;border-color:transparent}.dropdown-itemtext.hover-option{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity));color:rgb(46 47 212/var(--tw-text-opacity));font-weight:600}.dropdown-itemtext.current-option{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity));border-bottom-width:1px;border-color:rgb(0 0 0/var(--tw-border-opacity));color:rgb(0 0 0/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.dropdown-itemtext:active{border-bottom-width:2px;font-weight:600}.sr-only{clip:rect(0, 0, 0, 0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-y-0{bottom:0;top:0}.-top-2{top:-0.5rem}.-top-2\\.5{top:-0.625rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.bottom-\\[7px\\]{bottom:7px}.left-0{left:0}.left-4{left:1rem}.left-\\[-9999px\\]{left:-9999px}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1{top:0.25rem}.top-1\\/2{top:50%}.top-12{top:3rem}.top-3{top:0.75rem}.top-3\\.5{top:0.875rem}.top-\\[13px\\]{top:13px}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.m-auto{margin:auto}.mx-0{margin-left:0;margin-right:0}.mx-0\\.5{margin-left:0.125rem;margin-right:0.125rem}.my-2{margin-bottom:0.5rem;margin-top:0.5rem}.my-6{margin-bottom:1.5rem;margin-top:1.5rem}.my-auto{margin-bottom:auto;margin-top:auto}.-mt-0{margin-top:0}.-mt-0\\.5{margin-top:-0.125rem}.mb-1{margin-bottom:0.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:0.5rem}.mb-3{margin-bottom:0.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:0.25rem}.ml-3{margin-left:0.75rem}.ml-8{margin-left:2rem}.ml-8\\.5{margin-left:2.125rem}.ml-\\[3px\\]{margin-left:3px}.mr-1{margin-right:0.25rem}.mr-2{margin-right:0.5rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:0.125rem}.mt-1{margin-top:0.25rem}.mt-2{margin-top:0.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-7\\.5{margin-top:1.875}.mt-9{margin-top:2.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-10\\.5{height:2.625rem}.h-11{height:2.75rem}.h-2{height:0.5rem}.h-4{height:1rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-\\[470px\\]{max-height:470px}.max-h-\\[660px\\]{max-height:660px}.min-h-\\[133px\\]{min-height:133px}.min-h-\\[140px\\]{min-height:140px}.min-h-\\[54px\\]{min-height:54px}.min-h-\\[86px\\]{min-height:86px}.w-11{width:2.75rem}.w-2{width:0.5rem}.w-2\\/4{width:50%}.w-3{width:0.75rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-8{width:2rem}.w-8\\.5{width:2.125rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.min-w-\\[44px\\]{min-width:44px}.min-w-\\[85px\\]{min-width:85px}.max-w-\\[400px\\]{max-width:400px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.grow{flex-grow:1}.basis-0{flex-basis:0px}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\\!cursor-default{cursor:default !important}.\\!cursor-pointer{cursor:pointer !important}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1, minmax(0, 1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.content-start{align-content:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:0.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0.5rem * var(--tw-space-y-reverse));margin-top:calc(0.5rem * (1 - var(--tw-space-y-reverse)))}.space-y-reverse>:not([hidden])~:not([hidden]){--tw-space-y-reverse:1}.overflow-hidden{overflow:hidden}.overflow-y-visible{overflow-y:visible}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:0.25rem}.rounded-\\[32px\\]{border-radius:32px}.rounded-lg{border-radius:0.5rem}.rounded-md{border-radius:0.375rem}.rounded-b-lg{border-bottom-right-radius:0.5rem}.rounded-b-lg,.rounded-l-lg{border-bottom-left-radius:0.5rem}.rounded-l-lg,.rounded-t-lg{border-top-left-radius:0.5rem}.rounded-t-lg{border-top-right-radius:0.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-l-6{border-left-width:6px}.border-dashed{border-style:dashed}.\\!border-blue-1000{--tw-border-opacity:1!important;border-color:rgb(40 44 135/var(--tw-border-opacity)) !important}.border-blue-1000{--tw-border-opacity:1;border-color:rgb(40 44 135/var(--tw-border-opacity))}.border-blue-950{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.border-charcoal{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.border-gray-850{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity))}.border-green-800{--tw-border-opacity:1;border-color:rgb(0 102 5/var(--tw-border-opacity))}.border-green-900{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.border-red-800{--tw-border-opacity:1;border-color:rgb(217 12 85/var(--tw-border-opacity))}.border-red-900{--tw-border-opacity:1;border-color:rgb(190 24 93/var(--tw-border-opacity))}.border-soft-blue{--tw-border-opacity:1;border-color:rgb(84 101 251/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.\\!bg-violet-100{--tw-bg-opacity:1!important;background-color:rgb(235 235 255/var(--tw-bg-opacity)) !important}.\\!bg-violet-150{--tw-bg-opacity:1!important;background-color:rgb(205 208 254/var(--tw-bg-opacity)) !important}.\\!bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity)) !important}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-blue-1000{--tw-bg-opacity:1;background-color:rgb(40 44 135/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(247 250 250/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(244 244 244/var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity:1;background-color:rgb(241 254 241/var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity:1;background-color:rgb(253 243 247/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(253 242 248/var(--tw-bg-opacity))}.bg-soft-blue{--tw-bg-opacity:1;background-color:rgb(84 101 251/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-violet-100{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.bg-violet-150{--tw-bg-opacity:1;background-color:rgb(205 208 254/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-1000{--tw-bg-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity))}.bg-opacity-5{--tw-bg-opacity:0.05}.p-0{padding:0}.p-0\\.5{padding:0.125rem}.p-1{padding:0.25rem}.p-1\\.5{padding:0.375rem}.p-2{padding:0.5rem}.p-3{padding:0.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-3{padding-left:0.75rem;padding-right:0.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-bottom:0.25rem;padding-top:0.25rem}.py-1\\.5{padding-bottom:0.375rem;padding-top:0.375rem}.py-2{padding-bottom:0.5rem;padding-top:0.5rem}.py-\\[9px\\]{padding-bottom:9px;padding-top:9px}.\\!pr-11{padding-right:2.75rem !important}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:0.5rem}.pb-3{padding-bottom:0.75rem}.pl-13\\.2{padding-left:3.125rem}.pl-24{padding-left:6rem}.pl-3{padding-left:0.75rem}.pl-4{padding-left:1rem}.pr-3{padding-right:0.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-0\\.5{padding-top:0.125rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-\\[15px\\]{padding-top:15px}.pt-\\[55px\\]{padding-top:55px}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-12{line-height:3rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-\\[19\\.2px\\]{line-height:19.2px}.leading-\\[19px\\]{line-height:19px}.leading-\\[22px\\]{line-height:22px}.\\!text-gray-900{--tw-text-opacity:1!important;color:rgb(57 62 69/var(--tw-text-opacity)) !important}.text-blue-1000{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity))}.text-blue-850{--tw-text-opacity:1;color:rgb(46 47 212/var(--tw-text-opacity))}.text-blue-950{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-charcoal{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(93 99 107/var(--tw-text-opacity))}.text-gray-860{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(0 102 5/var(--tw-text-opacity))}.text-green-900{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-inherit{color:inherit}.text-red-800{--tw-text-opacity:1;color:rgb(217 12 85/var(--tw-text-opacity))}.text-red-900{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-5{opacity:0.05}.opacity-50{opacity:0.5}.shadow-\\[0_-12px_14px_-16px_\\#00000033\\]{--tw-shadow:0 -12px 14px -16px #00000033;--tw-shadow-colored:0 -12px 14px -16px var(--tw-shadow-color)}.shadow-\\[0_-12px_14px_-16px_\\#00000033\\],.shadow-md{box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow)}.shadow-md{--tw-shadow:0px 2px 8px rgba(0,0,0,.2);--tw-shadow-colored:0px 2px 8px var(--tw-shadow-color)}.\\!outline-none{outline:2px solid transparent !important;outline-offset:2px !important}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:0.15s;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.duration-300{transition-duration:0.3s}.active\\:raw-focus-ring-by:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-ring-offset-color:#212529}.active\\:raw-focus-ring-by:active,.active\\:raw-focus-ring:active{box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.active\\:raw-focus-ring:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px}@media(min-width: 732px){.md\\:item-heading{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;letter-spacing:-0.025em;line-height:1.5rem}.category-content>.md\\:missing-answer-label{display:block}.category-content>.md\\:missing-answer-label~.md\\:missing-answer-label{display:none}}@media(hover: hover) and (pointer: fine){.td\\:hover-focus-ring:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.td\\:hover\\:hover-option:hover.dropdown-itemtext{--tw-border-opacity:1;--tw-text-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity));color:rgb(46 47 212/var(--tw-text-opacity));font-weight:600}}.last\\:mr-0:last-child{margin-right:0}.focus-within\\:left-0:focus-within{left:0}.focus-within\\:right-0:focus-within{right:0}.focus-within\\:top-0:focus-within{top:0}.focus-within\\:z-30:focus-within{z-index:30}.hover\\:bg-black-50:hover{background-color:rgba(0, 0, 0, 0.0509803922)}.hover\\:bg-blue-100:hover{--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity))}.hover\\:bg-violet-100:hover{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.hover\\:bg-yellow-1000:hover{--tw-bg-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity))}.hover\\:text-charcoal:hover{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.focus\\:outline-transparent:focus{outline-color:transparent}.focus-visible\\:border:focus-visible{border-width:1px}.focus-visible\\:border-charcoal:focus-visible{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity))}.focus-visible\\:border-gray-400:focus-visible{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.focus-visible\\:border-gray-800:focus-visible{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.active\\:bg-black-55:active,.active\\:bg-black-60:active{background-color:rgba(0, 0, 0, 0.1019607843)}.active\\:bg-yellow-1100:active{--tw-bg-opacity:1;background-color:rgb(238 206 26/var(--tw-bg-opacity))}.active\\:text-charcoal:active{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.disabled\\:text-gray-40:disabled{--tw-text-opacity:1;color:rgb(142 147 153/var(--tw-text-opacity))}.disabled\\:hover\\:bg-white:hover:disabled{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.group\\/itemContainer:hover .group-hover\\/itemContainer\\:bg-violet-100{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.group:hover .group-hover\\:underline{text-decoration-line:underline}@media(min-width: 732px){.md\\:inset-0{inset:0}.md\\:top-20{top:5rem}.md\\:mb-2{margin-bottom:0.5rem}.md\\:mb-4{margin-bottom:1rem}.md\\:mb-8{margin-bottom:2rem}.md\\:ml-0{margin-left:0}.md\\:mt-0{margin-top:0}.md\\:mt-14{margin-top:3.5rem}.md\\:block{display:block}.md\\:inline-block{display:inline-block}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:h-fit{height:-moz-fit-content;height:fit-content}.md\\:min-h-0{min-height:0}.md\\:min-h-\\[140px\\]{min-height:140px}.md\\:min-h-\\[164px\\]{min-height:164px}.md\\:w-1\\/2{width:50%}.md\\:w-fit{width:-moz-fit-content;width:fit-content}.md\\:grow-0{flex-grow:0}.md\\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}.md\\:flex-row{flex-direction:row}.md\\:flex-col{flex-direction:column}.md\\:items-center{align-items:center}.md\\:justify-normal{justify-content:normal}.md\\:justify-center{justify-content:center}.md\\:justify-between{justify-content:space-between}.md\\:gap-6{gap:1.5rem}.md\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px * var(--tw-space-y-reverse));margin-top:calc(0px * (1 - var(--tw-space-y-reverse)))}.md\\:rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.md\\:border{border-width:1px}.md\\:border-gray-400{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.md\\:\\!bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity)) !important}.md\\:p-4{padding:1rem}.md\\:px-0{padding-left:0;padding-right:0}.md\\:pb-0{padding-bottom:0}.md\\:pl-13\\.2{padding-left:3.125rem}.md\\:pl-4{padding-left:1rem}.md\\:pr-4{padding-right:1rem}.md\\:pt-20{padding-top:5rem}.md\\:pt-20\\.5{padding-top:5.125rem}.md\\:text-center{text-align:center}.md\\:shadow-\\[0_0_\\#0000\\]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow)}.group\\/itemContainer:hover .md\\:group-hover\\/itemContainer\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}}@media(min-width: 1196px){.lg\\:mr-6{margin-right:1.5rem}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:min-h-\\[224px\\]{min-height:224px}.lg\\:w-full{width:100%}.lg\\:max-w-\\[50\\%\\]{max-width:50%}.lg\\:grow{flex-grow:1}.lg\\:basis-1\\/2{flex-basis:50%}.lg\\:items-center{align-items:center}.lg\\:justify-between{justify-content:space-between}.lg\\:gap-0{gap:0}.lg\\:last\\:mr-0:last-child{margin-right:0}}@media(hover: hover) and (pointer: fine){.td\\:border-2{border-width:2px}.td\\:border-blue-900{--tw-border-opacity:1;border-color:rgb(59 64 240/var(--tw-border-opacity))}.td\\:hover\\:cursor-grab:hover{cursor:grab}.td\\:hover\\:border-gray-800:hover{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.td\\:hover\\:bg-black-50:hover{background-color:rgba(0, 0, 0, 0.0509803922)}.td\\:hover\\:bg-violet-100:hover{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.td\\:hover\\:text-soft-blue:hover{--tw-text-opacity:1;color:rgb(84 101 251/var(--tw-text-opacity))}.group:hover .td\\:group-hover\\:bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.group:hover .td\\:group-hover\\:opacity-5{opacity:0.05}}');
18464
17833
  }
18465
17834
  function create_else_block_14(ctx) {
18466
17835
  let invalidbanner;
@@ -18490,16 +17859,16 @@
18490
17859
  }
18491
17860
  };
18492
17861
  }
18493
- function create_if_block_114(ctx) {
17862
+ function create_if_block_112(ctx) {
18494
17863
  let current_block_type_index;
18495
17864
  let if_block;
18496
17865
  let if_block_anchor;
18497
17866
  let current;
18498
17867
  const if_block_creators = [
18499
- create_if_block_212,
18500
- create_if_block_310,
18501
- create_if_block_46,
18502
- create_if_block_55,
17868
+ create_if_block_211,
17869
+ create_if_block_39,
17870
+ create_if_block_47,
17871
+ create_if_block_56,
18503
17872
  create_else_block8
18504
17873
  ];
18505
17874
  const if_blocks = [];
@@ -18578,7 +17947,7 @@
18578
17947
  }
18579
17948
  };
18580
17949
  }
18581
- function create_if_block15(ctx) {
17950
+ function create_if_block13(ctx) {
18582
17951
  let promptskeleton;
18583
17952
  let current;
18584
17953
  promptskeleton = new PromptSkeleton_default({});
@@ -18634,7 +18003,7 @@
18634
18003
  }
18635
18004
  };
18636
18005
  }
18637
- function create_if_block_55(ctx) {
18006
+ function create_if_block_56(ctx) {
18638
18007
  let promptdropdown;
18639
18008
  let current;
18640
18009
  promptdropdown = new PromptDropdown_default({
@@ -18709,7 +18078,7 @@
18709
18078
  }
18710
18079
  };
18711
18080
  }
18712
- function create_if_block_46(ctx) {
18081
+ function create_if_block_47(ctx) {
18713
18082
  let promptcategorise;
18714
18083
  let current;
18715
18084
  promptcategorise = new PromptCategorise_default({
@@ -18780,7 +18149,7 @@
18780
18149
  }
18781
18150
  };
18782
18151
  }
18783
- function create_if_block_310(ctx) {
18152
+ function create_if_block_39(ctx) {
18784
18153
  let prompttypein;
18785
18154
  let current;
18786
18155
  prompttypein = new PromptTypeIn_default({
@@ -18871,7 +18240,7 @@
18871
18240
  }
18872
18241
  };
18873
18242
  }
18874
- function create_if_block_212(ctx) {
18243
+ function create_if_block_211(ctx) {
18875
18244
  let promptmcq;
18876
18245
  let current;
18877
18246
  promptmcq = new PromptMCQ_default({
@@ -18950,7 +18319,7 @@
18950
18319
  }
18951
18320
  };
18952
18321
  }
18953
- function create_fragment33(ctx) {
18322
+ function create_fragment31(ctx) {
18954
18323
  let current_block_type_index;
18955
18324
  let if_block;
18956
18325
  let t2;
@@ -18958,7 +18327,7 @@
18958
18327
  let link1;
18959
18328
  let link2;
18960
18329
  let current;
18961
- const if_block_creators = [create_if_block15, create_if_block_114, create_else_block_14];
18330
+ const if_block_creators = [create_if_block13, create_if_block_112, create_else_block_14];
18962
18331
  const if_blocks = [];
18963
18332
  function select_block_type(ctx2, dirty) {
18964
18333
  if (
@@ -19042,7 +18411,7 @@
19042
18411
  };
19043
18412
  }
19044
18413
  var bannerLabel = "Invalid session id.";
19045
- function instance20($$self, $$props, $$invalidate) {
18414
+ function instance18($$self, $$props, $$invalidate) {
19046
18415
  const { "session-id": sessionId, "preview-mode": previewMode, "item-id": itemId, "preview-contentful": previewContentful } = $$props;
19047
18416
  const previewModeType = ["true", "interactive"];
19048
18417
  const isPreviewModeInteractive = Boolean(previewMode === "interactive" && itemId);
@@ -19312,7 +18681,7 @@
19312
18681
  var PromptBuilder = class extends SvelteComponent {
19313
18682
  constructor(options) {
19314
18683
  super();
19315
- init(this, options, instance20, create_fragment33, safe_not_equal, {}, add_css2);
18684
+ init(this, options, instance18, create_fragment31, safe_not_equal, {}, add_css2);
19316
18685
  }
19317
18686
  };
19318
18687
  customElements.define("prompt-builder", create_custom_element(PromptBuilder, {}, [], [], true));