eat-js-sdk 1.0.29 → 1.0.30

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*/
@@ -3505,14 +3514,17 @@
3505
3514
  /*selectedOptions*/
3506
3515
  ctx[4].length === /*correctAnswersLength*/
3507
3516
  ctx[6] && /*isResultCorrect*/
3508
- ctx[13](
3517
+ ctx[12](
3509
3518
  /*selectedOptions*/
3510
3519
  ctx[4],
3511
3520
  /*correctAnswerIds*/
3512
3521
  ctx[7]
3513
3522
  )
3514
3523
  ),
3515
- resultFeedbackTitle: "Why they got it wrong",
3524
+ isSkipped: (
3525
+ /*isSkipped*/
3526
+ ctx[13]()
3527
+ ),
3516
3528
  resultFeedback: (
3517
3529
  /*resultFeedback*/
3518
3530
  ctx[5]
@@ -3529,22 +3541,22 @@
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*/
3548
+ if (dirty[0] & /*selectedOptions, correctAnswersLength, correctAnswerIds*/
3537
3549
  208)
3538
3550
  promptresult_changes.isResultCorrect = /*selectedOptions*/
3539
3551
  ctx2[4].length === /*correctAnswersLength*/
3540
3552
  ctx2[6] && /*isResultCorrect*/
3541
- ctx2[13](
3553
+ ctx2[12](
3542
3554
  /*selectedOptions*/
3543
3555
  ctx2[4],
3544
3556
  /*correctAnswerIds*/
3545
3557
  ctx2[7]
3546
3558
  );
3547
- if (dirty & /*resultFeedback*/
3559
+ if (dirty[0] & /*resultFeedback*/
3548
3560
  32)
3549
3561
  promptresult_changes.resultFeedback = /*resultFeedback*/
3550
3562
  ctx2[5];
@@ -3573,7 +3585,7 @@
3573
3585
  let current;
3574
3586
  let each_value = ensure_array_like(Object.values(
3575
3587
  /*options*/
3576
- ctx[12]
3588
+ ctx[11]
3577
3589
  ));
3578
3590
  let each_blocks = [];
3579
3591
  for (let i = 0; i < each_value.length; i += 1) {
@@ -3606,16 +3618,16 @@
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
+ 18654) {
3616
3628
  each_value = ensure_array_like(Object.values(
3617
3629
  /*options*/
3618
- ctx2[12]
3630
+ ctx2[11]
3619
3631
  ));
3620
3632
  let i;
3621
3633
  for (i = 0; i < each_value.length; i += 1) {
@@ -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*/
3774
+ if (dirty[0] & /*correctAnswerIds, isPreviewMode, isPreviewModeInteractive*/
3763
3775
  140)
3764
3776
  show_if = null;
3765
3777
  if (show_if == null)
3766
3778
  show_if = !!/*correctAnswerIds*/
3767
3779
  (ctx2[7]?.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() {
@@ -3784,7 +3796,7 @@
3784
3796
  attr(span, "class", span_class_value = /*correctAnswerIds*/
3785
3797
  (ctx[7]?.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*/
3827
+ if (!current || dirty[0] & /*correctAnswerIds, isPreviewMode, isPreviewModeInteractive*/
3816
3828
  140 && span_class_value !== (span_class_value = /*correctAnswerIds*/
3817
3829
  (ctx2[7]?.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,7 +4039,7 @@
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
4044
  ctx[6] == 1
4033
4045
  );
@@ -4043,11 +4055,11 @@
4043
4055
  ctx[1] && /*correctAnswerIds*/
4044
4056
  ctx[7]?.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*/
@@ -4064,11 +4076,11 @@
4064
4076
  ctx[1] && /*correctAnswerIds*/
4065
4077
  ctx[7]?.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*/
@@ -4080,7 +4092,7 @@
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*/
@@ -4097,11 +4109,11 @@
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
4114
  ctx[7].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
  });
@@ -4134,7 +4146,7 @@
4134
4146
  /*func*/
4135
4147
  ctx[17](
4136
4148
  /*option*/
4137
- ctx[27]
4149
+ ctx[29]
4138
4150
  )
4139
4151
  );
4140
4152
  }
@@ -4143,7 +4155,7 @@
4143
4155
  /*click_handler*/
4144
4156
  ctx[18](
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");
@@ -4191,7 +4203,7 @@
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,29 +4214,29 @@
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
4233
  ctx[7]?.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*/
@@ -4240,11 +4252,11 @@
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
4257
  ctx[7].includes(
4246
4258
  /*option*/
4247
- ctx[27].id
4259
+ ctx[29].id
4248
4260
  ) ? "correct" : (
4249
4261
  /*isFinished*/
4250
4262
  ctx[1] && !/*isPreviewModeInteractive*/
@@ -4288,13 +4300,13 @@
4288
4300
  },
4289
4301
  p(new_ctx, dirty) {
4290
4302
  ctx = new_ctx;
4291
- if (dirty & /*isFinished, selectedOptions, correctAnswersLength*/
4303
+ if (dirty[0] & /*isFinished, selectedOptions, correctAnswersLength*/
4292
4304
  82)
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
4311
  ctx[6] == 1;
4300
4312
  if (show_if_4) {
@@ -4309,17 +4321,17 @@
4309
4321
  if_block0.d(1);
4310
4322
  if_block0 = null;
4311
4323
  }
4312
- if (dirty & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4324
+ if (dirty[0] & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4313
4325
  218)
4314
4326
  show_if_3 = /*isFinished*/
4315
4327
  ctx[1] && /*correctAnswerIds*/
4316
4328
  ctx[7]?.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*/
@@ -4337,17 +4349,17 @@
4337
4349
  if_block1.d(1);
4338
4350
  if_block1 = null;
4339
4351
  }
4340
- if (dirty & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4352
+ if (dirty[0] & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4341
4353
  218)
4342
4354
  show_if_2 = /*isFinished*/
4343
4355
  ctx[1] && /*correctAnswerIds*/
4344
4356
  ctx[7]?.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*/
@@ -4355,7 +4367,7 @@
4355
4367
  ctx[6]);
4356
4368
  if (show_if_2) {
4357
4369
  if (if_block2) {
4358
- if (dirty & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4370
+ if (dirty[0] & /*isFinished, correctAnswerIds, selectedOptions, isPreviewModeInteractive, correctAnswersLength*/
4359
4371
  218) {
4360
4372
  transition_in(if_block2, 1);
4361
4373
  }
@@ -4372,12 +4384,12 @@
4372
4384
  });
4373
4385
  check_outros();
4374
4386
  }
4375
- if (dirty & /*selectedOptions, isFinished, isPreviewModeInteractive, correctAnswersLength*/
4387
+ if (dirty[0] & /*selectedOptions, isFinished, isPreviewModeInteractive, correctAnswersLength*/
4376
4388
  90)
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*/
@@ -4387,7 +4399,7 @@
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*/
4402
+ if (dirty[0] & /*selectedOptions, isFinished, isPreviewModeInteractive, correctAnswersLength*/
4391
4403
  90) {
4392
4404
  transition_in(if_block3, 1);
4393
4405
  }
@@ -4404,7 +4416,7 @@
4404
4416
  });
4405
4417
  check_outros();
4406
4418
  }
4407
- if (dirty & /*correctAnswersLength, isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds*/
4419
+ if (dirty[0] & /*correctAnswersLength, isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds*/
4408
4420
  218)
4409
4421
  show_if = /*correctAnswersLength*/
4410
4422
  ctx[6] > 1 && (!/*isFinished*/
@@ -4413,17 +4425,17 @@
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
4430
  ctx[7].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*/
4438
+ if (dirty[0] & /*correctAnswersLength, isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds*/
4427
4439
  218) {
4428
4440
  transition_in(if_block4, 1);
4429
4441
  }
@@ -4440,65 +4452,65 @@
4440
4452
  });
4441
4453
  check_outros();
4442
4454
  }
4443
- if (!current || dirty & /*correctAnswersLength*/
4455
+ if (!current || dirty[0] & /*correctAnswersLength*/
4444
4456
  64 && button_role_value !== (button_role_value = /*correctAnswersLength*/
4445
4457
  ctx[6] > 1 ? "checkbox" : null)) {
4446
4458
  attr(button, "role", button_role_value);
4447
4459
  }
4448
- if (!current || dirty & /*correctAnswersLength*/
4460
+ if (!current || dirty[0] & /*correctAnswersLength*/
4449
4461
  64 && button_tabindex_value !== (button_tabindex_value = /*correctAnswersLength*/
4450
4462
  ctx[6] > 1 ? 0 : null)) {
4451
4463
  attr(button, "tabindex", button_tabindex_value);
4452
4464
  }
4453
- if (!current || dirty & /*correctAnswersLength, selectedOptions*/
4465
+ if (!current || dirty[0] & /*correctAnswersLength, selectedOptions*/
4454
4466
  80 && button_aria_checked_value !== (button_aria_checked_value = /*correctAnswersLength*/
4455
4467
  ctx[6] > 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*/
4482
+ if (!current || dirty[0] & /*isFinished, isPreviewModeInteractive, selectedOptions, isPreviewMode, correctAnswerIds, correctAnswersLength*/
4471
4483
  222 && 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*/
4498
+ if (!current || dirty[0] & /*isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds, correctAnswersLength, isPreviewMode*/
4487
4499
  222 && 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
4507
  ctx[7]?.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*/
@@ -4514,11 +4526,11 @@
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
4531
  ctx[7].includes(
4520
4532
  /*option*/
4521
- ctx[27].id
4533
+ ctx[29].id
4522
4534
  ) ? "correct" : (
4523
4535
  /*isFinished*/
4524
4536
  ctx[1] && !/*isPreviewModeInteractive*/
@@ -4570,36 +4582,16 @@
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[15] && create_if_block_82(ctx)
4591
+ );
4600
4592
  let if_block1 = (
4601
4593
  /*options*/
4602
- ctx[12] && create_if_block5(ctx)
4594
+ ctx[11] && create_if_block5(ctx)
4603
4595
  );
4604
4596
  return {
4605
4597
  c() {
@@ -4623,52 +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) {
4650
- if (if_block0) {
4651
- if_block0.p(ctx2, dirty);
4652
- if (dirty & /*isFinished, isPreviewModeInteractive, selectedOptions, correctAnswerIds, correctAnswersLength, interactiveHasAnswered*/
4653
- 474) {
4654
- transition_in(if_block0, 1);
4655
- }
4656
- } else {
4657
- if_block0 = create_if_block_82(ctx2);
4658
- if_block0.c();
4659
- transition_in(if_block0, 1);
4660
- if_block0.m(div, null);
4661
- }
4662
- } else if (if_block0) {
4663
- group_outros();
4664
- transition_out(if_block0, 1, 1, () => {
4665
- if_block0 = null;
4666
- });
4667
- check_outros();
4668
- }
4618
+ if (
4619
+ /*isFeedbackShown*/
4620
+ ctx2[15]
4621
+ )
4622
+ if_block0.p(ctx2, dirty);
4669
4623
  if (
4670
4624
  /*options*/
4671
- ctx2[12]
4625
+ ctx2[11]
4672
4626
  )
4673
4627
  if_block1.p(ctx2, dirty);
4674
4628
  },
@@ -4704,16 +4658,16 @@
4704
4658
  props: {
4705
4659
  rubric: (
4706
4660
  /*rubric*/
4707
- ctx[9].text
4661
+ ctx[8].text
4708
4662
  ),
4709
4663
  prompt: (
4710
4664
  /*prompt*/
4711
- ctx[11]
4665
+ ctx[10]
4712
4666
  ),
4713
4667
  interactionType: INTERACTION_TYPE_MCQ,
4714
4668
  stimulus: (
4715
4669
  /*stimulus*/
4716
- ctx[10]
4670
+ ctx[9]
4717
4671
  ),
4718
4672
  $$slots: { default: [create_default_slot] },
4719
4673
  $$scope: { ctx }
@@ -4727,10 +4681,11 @@
4727
4681
  mount_component(promptbody, target, anchor);
4728
4682
  current = true;
4729
4683
  },
4730
- p(ctx2, [dirty]) {
4684
+ p(ctx2, dirty) {
4731
4685
  const promptbody_changes = {};
4732
- if (dirty & /*$$scope, correctAnswersLength, selectedOptions, isFinished, isPreviewModeInteractive, isPreviewMode, correctAnswerIds, isDataSaving, resultFeedback, interactiveHasAnswered*/
4733
- 1073742335) {
4686
+ if (dirty[0] & /*correctAnswersLength, selectedOptions, isFinished, isPreviewModeInteractive, isPreviewMode, correctAnswerIds, isDataSaving, resultFeedback*/
4687
+ 255 | dirty[1] & /*$$scope*/
4688
+ 2) {
4734
4689
  promptbody_changes.$$scope = { dirty, ctx: ctx2 };
4735
4690
  }
4736
4691
  promptbody.$set(promptbody_changes);
@@ -4757,7 +4712,7 @@
4757
4712
  let { isPreviewMode = false } = $$props;
4758
4713
  let { isPreviewModeInteractive = false } = $$props;
4759
4714
  const { rubric, interaction, metadata, scoringMetadata, stimulus, totalCorrectAnswers } = sessionData;
4760
- const { prompt, options } = interaction;
4715
+ const { prompt, options, feedback } = interaction;
4761
4716
  let selectedOptions = [];
4762
4717
  let selectedChoices = [];
4763
4718
  let resultFeedback = null;
@@ -4774,10 +4729,8 @@
4774
4729
  selectedChoices = answer_choices;
4775
4730
  }
4776
4731
  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.");
4732
+ const { correct: correctFeedback, incorrect: incorrectFeedback } = feedback;
4733
+ $$invalidate(5, resultFeedback = isResultCorrect(selectedOptions, correctAnswerIds) ? correctFeedback : incorrectFeedback);
4781
4734
  };
4782
4735
  const isResultCorrect = (selectedOptions2, correctAnswerIds2) => {
4783
4736
  return selectedOptions2.length > 0 && correctAnswerIds2.every((option) => selectedOptions2.includes(option));
@@ -4834,7 +4787,7 @@
4834
4787
  });
4835
4788
  }
4836
4789
  if (isPreviewModeInteractive) {
4837
- $$invalidate(8, interactiveHasAnswered = true);
4790
+ interactiveHasAnswered = true;
4838
4791
  $$invalidate(5, resultFeedback = null);
4839
4792
  if (correctAnswersLength === selectedOptions.length) {
4840
4793
  setTimeout(
@@ -4846,6 +4799,7 @@
4846
4799
  }
4847
4800
  }
4848
4801
  };
4802
+ const isFeedbackShown = isFinished && !isPreviewModeInteractive && (!isResultCorrect(selectedOptions, correctAnswerIds) || !selectedOptions.length) || isPreviewModeInteractive && (selectedOptions.length === correctAnswersLength || !selectedOptions.length && interactiveHasAnswered);
4849
4803
  const func = (option) => {
4850
4804
  if (isFinished && !isPreviewMode && !isPreviewModeInteractive) {
4851
4805
  if (correctAnswerIds.includes(option.id)) {
@@ -4888,7 +4842,6 @@
4888
4842
  resultFeedback,
4889
4843
  correctAnswersLength,
4890
4844
  correctAnswerIds,
4891
- interactiveHasAnswered,
4892
4845
  rubric,
4893
4846
  stimulus,
4894
4847
  prompt,
@@ -4896,6 +4849,7 @@
4896
4849
  isResultCorrect,
4897
4850
  isSkipped,
4898
4851
  handleOptionClick,
4852
+ isFeedbackShown,
4899
4853
  sessionData,
4900
4854
  func,
4901
4855
  click_handler
@@ -4904,13 +4858,22 @@
4904
4858
  var PromptMCQ = class extends SvelteComponent {
4905
4859
  constructor(options) {
4906
4860
  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
- });
4861
+ init(
4862
+ this,
4863
+ options,
4864
+ instance5,
4865
+ create_fragment10,
4866
+ safe_not_equal,
4867
+ {
4868
+ sessionData: 16,
4869
+ isDataSaving: 0,
4870
+ isFinished: 1,
4871
+ isPreviewMode: 2,
4872
+ isPreviewModeInteractive: 3
4873
+ },
4874
+ null,
4875
+ [-1, -1]
4876
+ );
4914
4877
  }
4915
4878
  get sessionData() {
4916
4879
  return this.$$.ctx[16];
@@ -5023,248 +4986,42 @@
5023
4986
  action.destroy = autosize_esm_default.destroy;
5024
4987
  var svelte_autosize_default = action;
5025
4988
 
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;
4989
+ // src/lib/components/common/InvalidBanner.svelte
4990
+ function create_fragment11(ctx) {
4991
+ let p;
5033
4992
  let t2;
5034
- let div1;
5035
- let if_block = (
5036
- /*resultFeedbackTitle*/
5037
- ctx[1] && create_if_block_15(ctx)
5038
- );
5039
4993
  return {
5040
4994
  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*/
4995
+ p = element("p");
4996
+ t2 = text(
4997
+ /*bannerLabel*/
5048
4998
  ctx[0]
5049
4999
  );
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");
5000
+ attr(p, "class", "p-2 border-2 border-red-600 bg-red-200 rounded");
5056
5001
  },
5057
5002
  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);
5003
+ insert(target, p, anchor);
5004
+ append(p, t2);
5066
5005
  },
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*/
5006
+ p(ctx2, [dirty]) {
5007
+ if (dirty & /*bannerLabel*/
5084
5008
  1)
5085
5009
  set_data(
5086
- t1,
5087
- /*resultFeedback*/
5010
+ t2,
5011
+ /*bannerLabel*/
5088
5012
  ctx2[0]
5089
5013
  );
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
5014
  },
5015
+ i: noop,
5016
+ o: noop,
5096
5017
  d(detaching) {
5097
5018
  if (detaching) {
5098
- detach(div0);
5099
- detach(t2);
5100
- detach(div1);
5019
+ detach(p);
5101
5020
  }
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
5021
  }
5182
5022
  };
5183
5023
  }
5184
5024
  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
5025
  let { bannerLabel: bannerLabel2 = "Invalid." } = $$props;
5269
5026
  $$self.$$set = ($$props2) => {
5270
5027
  if ("bannerLabel" in $$props2)
@@ -5275,7 +5032,7 @@
5275
5032
  var InvalidBanner = class extends SvelteComponent {
5276
5033
  constructor(options) {
5277
5034
  super();
5278
- init(this, options, instance7, create_fragment12, safe_not_equal, { bannerLabel: 0 });
5035
+ init(this, options, instance6, create_fragment11, safe_not_equal, { bannerLabel: 0 });
5279
5036
  }
5280
5037
  get bannerLabel() {
5281
5038
  return this.$$.ctx[0];
@@ -5291,14 +5048,14 @@
5291
5048
  // src/lib/components/prompt/typein/PromptTypeIn.svelte
5292
5049
  function get_each_context2(ctx, list, i) {
5293
5050
  const child_ctx = ctx.slice();
5294
- child_ctx[62] = list[i];
5295
- child_ctx[64] = i;
5051
+ child_ctx[60] = list[i];
5052
+ child_ctx[62] = i;
5296
5053
  return child_ctx;
5297
5054
  }
5298
5055
  function get_each_context_1(ctx, list, i) {
5299
5056
  const child_ctx = ctx.slice();
5300
- child_ctx[65] = list[i];
5301
- child_ctx[67] = i;
5057
+ child_ctx[63] = list[i];
5058
+ child_ctx[65] = i;
5302
5059
  return child_ctx;
5303
5060
  }
5304
5061
  function create_else_block_3(ctx) {
@@ -5315,7 +5072,7 @@
5315
5072
  textarea,
5316
5073
  "aria-label",
5317
5074
  /*textAriaLabel*/
5318
- ctx[20]
5075
+ ctx[18]
5319
5076
  );
5320
5077
  attr(
5321
5078
  textarea,
@@ -5326,14 +5083,17 @@
5326
5083
  attr(textarea, "rows", "3");
5327
5084
  attr(textarea, "class", textarea_class_value = "typein-textbox overflow-hidden " + (!/*isFinished*/
5328
5085
  ctx[0] ? "" : (
5329
- /*isResultCorrect*/
5330
- ctx[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5086
+ /*isSkippedAnswer*/
5087
+ ctx[10] ? "" : (
5088
+ /*isResultCorrect*/
5089
+ ctx[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5090
+ )
5331
5091
  )));
5332
5092
  textarea.disabled = /*isDataSaving*/
5333
5093
  ctx[2];
5334
5094
  attr(textarea, "autocomplete", "off");
5335
5095
  textarea.readOnly = /*isReadonlyText*/
5336
- ctx[27];
5096
+ ctx[25];
5337
5097
  },
5338
5098
  m(target, anchor) {
5339
5099
  insert(target, textarea, anchor);
@@ -5348,38 +5108,38 @@
5348
5108
  textarea,
5349
5109
  "input",
5350
5110
  /*textarea_input_handler*/
5351
- ctx[38]
5111
+ ctx[36]
5352
5112
  ),
5353
5113
  listen(
5354
5114
  textarea,
5355
5115
  "mousedown",
5356
5116
  /*mousedown_handler*/
5357
- ctx[39]
5117
+ ctx[37]
5358
5118
  ),
5359
5119
  listen(
5360
5120
  textarea,
5361
5121
  "touchstart",
5362
5122
  /*touchstart_handler*/
5363
- ctx[40],
5123
+ ctx[38],
5364
5124
  { passive: true }
5365
5125
  ),
5366
5126
  listen(
5367
5127
  textarea,
5368
5128
  "focus",
5369
5129
  /*focus_handler*/
5370
- ctx[41]
5130
+ ctx[39]
5371
5131
  ),
5372
5132
  listen(
5373
5133
  textarea,
5374
5134
  "focusout",
5375
5135
  /*focusout_handler_1*/
5376
- ctx[42]
5136
+ ctx[40]
5377
5137
  ),
5378
5138
  listen(
5379
5139
  textarea,
5380
5140
  "keydown",
5381
5141
  /*keydown_handler_1*/
5382
- ctx[43]
5142
+ ctx[41]
5383
5143
  ),
5384
5144
  action_destroyer(autosize_action = svelte_autosize_default.call(null, textarea))
5385
5145
  ];
@@ -5388,12 +5148,12 @@
5388
5148
  },
5389
5149
  p(ctx2, dirty) {
5390
5150
  if (dirty[0] & /*textAriaLabel*/
5391
- 1048576) {
5151
+ 262144) {
5392
5152
  attr(
5393
5153
  textarea,
5394
5154
  "aria-label",
5395
5155
  /*textAriaLabel*/
5396
- ctx2[20]
5156
+ ctx2[18]
5397
5157
  );
5398
5158
  }
5399
5159
  if (dirty[0] & /*placeholder*/
@@ -5405,11 +5165,14 @@
5405
5165
  ctx2[11]
5406
5166
  );
5407
5167
  }
5408
- if (dirty[0] & /*isFinished, isResultCorrect*/
5409
- 3 && textarea_class_value !== (textarea_class_value = "typein-textbox overflow-hidden " + (!/*isFinished*/
5168
+ if (dirty[0] & /*isFinished, isSkippedAnswer, isResultCorrect*/
5169
+ 1027 && textarea_class_value !== (textarea_class_value = "typein-textbox overflow-hidden " + (!/*isFinished*/
5410
5170
  ctx2[0] ? "" : (
5411
- /*isResultCorrect*/
5412
- ctx2[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5171
+ /*isSkippedAnswer*/
5172
+ ctx2[10] ? "" : (
5173
+ /*isResultCorrect*/
5174
+ ctx2[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5175
+ )
5413
5176
  )))) {
5414
5177
  attr(textarea, "class", textarea_class_value);
5415
5178
  }
@@ -5438,7 +5201,7 @@
5438
5201
  }
5439
5202
  };
5440
5203
  }
5441
- function create_if_block_102(ctx) {
5204
+ function create_if_block_92(ctx) {
5442
5205
  let input;
5443
5206
  let input_class_value;
5444
5207
  let mounted;
@@ -5452,7 +5215,7 @@
5452
5215
  input,
5453
5216
  "aria-label",
5454
5217
  /*textAriaLabel*/
5455
- ctx[20]
5218
+ ctx[18]
5456
5219
  );
5457
5220
  attr(
5458
5221
  input,
@@ -5462,14 +5225,17 @@
5462
5225
  );
5463
5226
  attr(input, "class", input_class_value = "typein-textbox " + (!/*isFinished*/
5464
5227
  ctx[0] ? "" : (
5465
- /*isResultCorrect*/
5466
- ctx[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5228
+ /*isSkippedAnswer*/
5229
+ ctx[10] ? "" : (
5230
+ /*isResultCorrect*/
5231
+ ctx[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5232
+ )
5467
5233
  )));
5468
5234
  input.disabled = /*isDataSaving*/
5469
5235
  ctx[2];
5470
5236
  attr(input, "autocomplete", "off");
5471
5237
  input.readOnly = /*isReadonlyText*/
5472
- ctx[27];
5238
+ ctx[25];
5473
5239
  },
5474
5240
  m(target, anchor) {
5475
5241
  insert(target, input, anchor);
@@ -5484,19 +5250,19 @@
5484
5250
  input,
5485
5251
  "input",
5486
5252
  /*input_input_handler*/
5487
- ctx[35]
5253
+ ctx[33]
5488
5254
  ),
5489
5255
  listen(
5490
5256
  input,
5491
5257
  "focusout",
5492
5258
  /*focusout_handler*/
5493
- ctx[36]
5259
+ ctx[34]
5494
5260
  ),
5495
5261
  listen(
5496
5262
  input,
5497
5263
  "keydown",
5498
5264
  /*keydown_handler*/
5499
- ctx[37]
5265
+ ctx[35]
5500
5266
  )
5501
5267
  ];
5502
5268
  mounted = true;
@@ -5504,12 +5270,12 @@
5504
5270
  },
5505
5271
  p(ctx2, dirty) {
5506
5272
  if (dirty[0] & /*textAriaLabel*/
5507
- 1048576) {
5273
+ 262144) {
5508
5274
  attr(
5509
5275
  input,
5510
5276
  "aria-label",
5511
5277
  /*textAriaLabel*/
5512
- ctx2[20]
5278
+ ctx2[18]
5513
5279
  );
5514
5280
  }
5515
5281
  if (dirty[0] & /*placeholder*/
@@ -5521,11 +5287,14 @@
5521
5287
  ctx2[11]
5522
5288
  );
5523
5289
  }
5524
- if (dirty[0] & /*isFinished, isResultCorrect*/
5525
- 3 && input_class_value !== (input_class_value = "typein-textbox " + (!/*isFinished*/
5290
+ if (dirty[0] & /*isFinished, isSkippedAnswer, isResultCorrect*/
5291
+ 1027 && input_class_value !== (input_class_value = "typein-textbox " + (!/*isFinished*/
5526
5292
  ctx2[0] ? "" : (
5527
- /*isResultCorrect*/
5528
- ctx2[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5293
+ /*isSkippedAnswer*/
5294
+ ctx2[10] ? "" : (
5295
+ /*isResultCorrect*/
5296
+ ctx2[1] ? "border-2 border-green-800" : "border-2 border-red-800 bg-red-300"
5297
+ )
5529
5298
  )))) {
5530
5299
  attr(input, "class", input_class_value);
5531
5300
  }
@@ -5555,12 +5324,12 @@
5555
5324
  }
5556
5325
  };
5557
5326
  }
5558
- function create_if_block_83(ctx) {
5327
+ function create_if_block_73(ctx) {
5559
5328
  let current_block_type_index;
5560
5329
  let if_block;
5561
5330
  let if_block_anchor;
5562
5331
  let current;
5563
- const if_block_creators = [create_if_block_92, create_else_block_2];
5332
+ const if_block_creators = [create_if_block_83, create_else_block_2];
5564
5333
  const if_blocks = [];
5565
5334
  function select_block_type_1(ctx2, dirty) {
5566
5335
  if (
@@ -5654,7 +5423,7 @@
5654
5423
  }
5655
5424
  };
5656
5425
  }
5657
- function create_if_block_92(ctx) {
5426
+ function create_if_block_83(ctx) {
5658
5427
  let div0;
5659
5428
  let commonstringtohtml;
5660
5429
  let t0;
@@ -5687,7 +5456,7 @@
5687
5456
  m(target, anchor) {
5688
5457
  insert(target, div0, anchor);
5689
5458
  mount_component(commonstringtohtml, div0, null);
5690
- ctx[34](div0);
5459
+ ctx[32](div0);
5691
5460
  insert(target, t0, anchor);
5692
5461
  insert(target, div1, anchor);
5693
5462
  insert(target, t1, anchor);
@@ -5726,58 +5495,54 @@
5726
5495
  detach(div2);
5727
5496
  }
5728
5497
  destroy_component(commonstringtohtml);
5729
- ctx[34](null);
5498
+ ctx[32](null);
5730
5499
  }
5731
5500
  };
5732
5501
  }
5733
- function create_if_block7(ctx) {
5502
+ function create_if_block6(ctx) {
5734
5503
  let t0;
5735
- let current_block_type_index;
5736
- let if_block1;
5504
+ let div;
5737
5505
  let t1;
5738
5506
  let if_block2_anchor;
5739
5507
  let current;
5740
5508
  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
- }
5509
+ ctx[24] && !/*isSkippedAnswer*/
5510
+ ctx[10] && create_if_block_53(ctx);
5511
+ let if_block1 = (
5512
+ /*isFinished*/
5513
+ ctx[0] && (!/*isResultCorrect*/
5514
+ ctx[1] && !/*isPreviewMode*/
5515
+ ctx[3] || /*isPreviewMode*/
5516
+ ctx[3] && /*isPreviewModeInteractive*/
5517
+ ctx[4]) && create_if_block_43(ctx)
5518
+ );
5756
5519
  let if_block2 = (
5757
5520
  /*isInlineTypein*/
5758
- ctx[26] && (!/*isPreviewMode*/
5521
+ ctx[24] && (!/*isPreviewMode*/
5759
5522
  ctx[3] || /*isPreviewModeInteractive*/
5760
- ctx[4]) && create_if_block_16(ctx)
5523
+ ctx[4]) && create_if_block_15(ctx)
5761
5524
  );
5762
5525
  return {
5763
5526
  c() {
5764
5527
  if (if_block0)
5765
5528
  if_block0.c();
5766
5529
  t0 = space();
5530
+ div = element("div");
5767
5531
  if (if_block1)
5768
5532
  if_block1.c();
5769
5533
  t1 = space();
5770
5534
  if (if_block2)
5771
5535
  if_block2.c();
5772
5536
  if_block2_anchor = empty();
5537
+ attr(div, "aria-live", "polite");
5773
5538
  },
5774
5539
  m(target, anchor) {
5775
5540
  if (if_block0)
5776
5541
  if_block0.m(target, anchor);
5777
5542
  insert(target, t0, anchor);
5778
- if (~current_block_type_index) {
5779
- if_blocks[current_block_type_index].m(target, anchor);
5780
- }
5543
+ insert(target, div, anchor);
5544
+ if (if_block1)
5545
+ if_block1.m(div, null);
5781
5546
  insert(target, t1, anchor);
5782
5547
  if (if_block2)
5783
5548
  if_block2.m(target, anchor);
@@ -5786,39 +5551,57 @@
5786
5551
  },
5787
5552
  p(ctx2, dirty) {
5788
5553
  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);
5554
+ ctx2[24] && !/*isSkippedAnswer*/
5555
+ ctx2[10]) {
5556
+ if (if_block0) {
5557
+ if_block0.p(ctx2, dirty);
5558
+ if (dirty[0] & /*isSkippedAnswer*/
5559
+ 1024) {
5560
+ transition_in(if_block0, 1);
5561
+ }
5562
+ } else {
5563
+ if_block0 = create_if_block_53(ctx2);
5564
+ if_block0.c();
5565
+ transition_in(if_block0, 1);
5566
+ if_block0.m(t0.parentNode, t0);
5796
5567
  }
5797
- } else {
5568
+ } else if (if_block0) {
5569
+ group_outros();
5570
+ transition_out(if_block0, 1, 1, () => {
5571
+ if_block0 = null;
5572
+ });
5573
+ check_outros();
5574
+ }
5575
+ if (
5576
+ /*isFinished*/
5577
+ ctx2[0] && (!/*isResultCorrect*/
5578
+ ctx2[1] && !/*isPreviewMode*/
5579
+ ctx2[3] || /*isPreviewMode*/
5580
+ ctx2[3] && /*isPreviewModeInteractive*/
5581
+ ctx2[4])
5582
+ ) {
5798
5583
  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);
5584
+ if_block1.p(ctx2, dirty);
5585
+ if (dirty[0] & /*isFinished, isResultCorrect, isPreviewMode, isPreviewModeInteractive*/
5586
+ 27) {
5587
+ transition_in(if_block1, 1);
5812
5588
  }
5813
- transition_in(if_block1, 1);
5814
- if_block1.m(t1.parentNode, t1);
5815
5589
  } else {
5816
- if_block1 = null;
5590
+ if_block1 = create_if_block_43(ctx2);
5591
+ if_block1.c();
5592
+ transition_in(if_block1, 1);
5593
+ if_block1.m(div, null);
5817
5594
  }
5595
+ } else if (if_block1) {
5596
+ group_outros();
5597
+ transition_out(if_block1, 1, 1, () => {
5598
+ if_block1 = null;
5599
+ });
5600
+ check_outros();
5818
5601
  }
5819
5602
  if (
5820
5603
  /*isInlineTypein*/
5821
- ctx2[26] && (!/*isPreviewMode*/
5604
+ ctx2[24] && (!/*isPreviewMode*/
5822
5605
  ctx2[3] || /*isPreviewModeInteractive*/
5823
5606
  ctx2[4])
5824
5607
  ) {
@@ -5829,7 +5612,7 @@
5829
5612
  transition_in(if_block2, 1);
5830
5613
  }
5831
5614
  } else {
5832
- if_block2 = create_if_block_16(ctx2);
5615
+ if_block2 = create_if_block_15(ctx2);
5833
5616
  if_block2.c();
5834
5617
  transition_in(if_block2, 1);
5835
5618
  if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
@@ -5859,20 +5642,20 @@
5859
5642
  d(detaching) {
5860
5643
  if (detaching) {
5861
5644
  detach(t0);
5645
+ detach(div);
5862
5646
  detach(t1);
5863
5647
  detach(if_block2_anchor);
5864
5648
  }
5865
5649
  if (if_block0)
5866
5650
  if_block0.d(detaching);
5867
- if (~current_block_type_index) {
5868
- if_blocks[current_block_type_index].d(detaching);
5869
- }
5651
+ if (if_block1)
5652
+ if_block1.d();
5870
5653
  if (if_block2)
5871
5654
  if_block2.d(detaching);
5872
5655
  }
5873
5656
  };
5874
5657
  }
5875
- function create_if_block_63(ctx) {
5658
+ function create_if_block_53(ctx) {
5876
5659
  let div;
5877
5660
  let span0;
5878
5661
  let current_block_type_index;
@@ -5883,7 +5666,7 @@
5883
5666
  let t1;
5884
5667
  let div_class_value;
5885
5668
  let current;
5886
- const if_block_creators = [create_if_block_73, create_else_block_1];
5669
+ const if_block_creators = [create_if_block_63, create_else_block_1];
5887
5670
  const if_blocks = [];
5888
5671
  function select_block_type_2(ctx2, dirty) {
5889
5672
  if (
@@ -5911,7 +5694,7 @@
5911
5694
  attr(span1, "class", "p2");
5912
5695
  attr(div, "aria-hidden", "true");
5913
5696
  attr(div, "class", div_class_value = "flex items-center text-charcoal " + /*typeinType*/
5914
- (ctx[25] === TYPEIN_TYPE_SHORT ? "mt-2" : "mt-0.5"));
5697
+ (ctx[23] === TYPEIN_TYPE_SHORT ? "mt-2" : "mt-0.5"));
5915
5698
  },
5916
5699
  m(target, anchor) {
5917
5700
  insert(target, div, anchor);
@@ -5998,7 +5781,7 @@
5998
5781
  }
5999
5782
  };
6000
5783
  }
6001
- function create_if_block_73(ctx) {
5784
+ function create_if_block_63(ctx) {
6002
5785
  let successsolid;
6003
5786
  let current;
6004
5787
  successsolid = new SuccessSolid_default({});
@@ -6025,109 +5808,65 @@
6025
5808
  }
6026
5809
  };
6027
5810
  }
6028
- function create_if_block_53(ctx) {
6029
- let promptresultv2;
5811
+ function create_if_block_43(ctx) {
5812
+ let promptresult;
6030
5813
  let current;
6031
- promptresultv2 = new PromptResultFeedbackv2_default({
5814
+ promptresult = new PromptResultFeedbackAlert_default({
6032
5815
  props: {
5816
+ hasIcon: (
5817
+ /*isInlineTypein*/
5818
+ ctx[24] ? true : (
5819
+ /*isSkippedAnswer*/
5820
+ ctx[10] ? true : false
5821
+ )
5822
+ ),
5823
+ isFeedbackAlert: (
5824
+ /*isPreviewModeInteractive*/
5825
+ ctx[4] ? false : true
5826
+ ),
6033
5827
  isResultCorrect: (
6034
5828
  /*isResultCorrect*/
6035
5829
  ctx[1]
6036
5830
  ),
6037
- resultFeedback: (
6038
- /*computedFeedback*/
6039
- ctx[18]
6040
- ),
6041
5831
  isSkipped: (
6042
5832
  /*isSkippedAnswer*/
6043
5833
  ctx[10]
6044
5834
  ),
6045
- hasIcon: !/*isResultCorrect*/
6046
- ctx[1] || /*isSkippedAnswer*/
6047
- ctx[10],
6048
- resultFeedbackTitle: (
6049
- /*computedFeedbackTitle*/
6050
- ctx[19]
5835
+ resultFeedback: (
5836
+ /*resultFeedback*/
5837
+ ctx[8]
6051
5838
  )
6052
5839
  }
6053
5840
  });
6054
5841
  return {
6055
5842
  c() {
6056
- create_component(promptresultv2.$$.fragment);
5843
+ create_component(promptresult.$$.fragment);
6057
5844
  },
6058
5845
  m(target, anchor) {
6059
- mount_component(promptresultv2, target, anchor);
5846
+ mount_component(promptresult, target, anchor);
6060
5847
  current = true;
6061
5848
  },
6062
5849
  p(ctx2, dirty) {
6063
- const promptresultv2_changes = {};
6064
- if (dirty[0] & /*isResultCorrect*/
6065
- 2)
6066
- promptresultv2_changes.isResultCorrect = /*isResultCorrect*/
6067
- ctx2[1];
6068
- if (dirty[0] & /*computedFeedback*/
6069
- 262144)
6070
- promptresultv2_changes.resultFeedback = /*computedFeedback*/
6071
- ctx2[18];
5850
+ const promptresult_changes = {};
6072
5851
  if (dirty[0] & /*isSkippedAnswer*/
6073
5852
  1024)
6074
- promptresultv2_changes.isSkipped = /*isSkippedAnswer*/
6075
- 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 = {};
5853
+ promptresult_changes.hasIcon = /*isInlineTypein*/
5854
+ ctx2[24] ? true : (
5855
+ /*isSkippedAnswer*/
5856
+ ctx2[10] ? true : false
5857
+ );
5858
+ if (dirty[0] & /*isPreviewModeInteractive*/
5859
+ 16)
5860
+ promptresult_changes.isFeedbackAlert = /*isPreviewModeInteractive*/
5861
+ ctx2[4] ? false : true;
6127
5862
  if (dirty[0] & /*isResultCorrect*/
6128
5863
  2)
6129
5864
  promptresult_changes.isResultCorrect = /*isResultCorrect*/
6130
5865
  ctx2[1];
5866
+ if (dirty[0] & /*isSkippedAnswer*/
5867
+ 1024)
5868
+ promptresult_changes.isSkipped = /*isSkippedAnswer*/
5869
+ ctx2[10];
6131
5870
  if (dirty[0] & /*resultFeedback*/
6132
5871
  256)
6133
5872
  promptresult_changes.resultFeedback = /*resultFeedback*/
@@ -6149,7 +5888,7 @@
6149
5888
  }
6150
5889
  };
6151
5890
  }
6152
- function create_if_block_16(ctx) {
5891
+ function create_if_block_15(ctx) {
6153
5892
  let each_1_anchor;
6154
5893
  let current;
6155
5894
  let each_value = ensure_array_like(
@@ -6181,7 +5920,7 @@
6181
5920
  },
6182
5921
  p(ctx2, dirty) {
6183
5922
  if (dirty[0] & /*inlineIteration, inlineAnswerResult, correctAnswerDataLength, sessionId, inlineTypeinAnswer, correctAnswerData*/
6184
- 2327072) {
5923
+ 754208) {
6185
5924
  each_value = ensure_array_like(
6186
5925
  /*correctAnswerData*/
6187
5926
  ctx2[16]
@@ -6238,18 +5977,18 @@
6238
5977
  let current;
6239
5978
  const if_block_creators = [create_if_block_34, create_else_block2];
6240
5979
  const if_blocks = [];
6241
- function select_block_type_4(ctx2, dirty) {
5980
+ function select_block_type_3(ctx2, dirty) {
6242
5981
  if (
6243
5982
  /*inlineAnswerResult*/
6244
5983
  ctx2[15][
6245
5984
  /*itemIndex*/
6246
- ctx2[64]
5985
+ ctx2[62]
6247
5986
  ]
6248
5987
  )
6249
5988
  return 0;
6250
5989
  return 1;
6251
5990
  }
6252
- current_block_type_index = select_block_type_4(ctx, [-1, -1, -1]);
5991
+ current_block_type_index = select_block_type_3(ctx, [-1, -1, -1]);
6253
5992
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
6254
5993
  return {
6255
5994
  c() {
@@ -6259,7 +5998,7 @@
6259
5998
  attr(span0, "class", span0_class_value = /*inlineAnswerResult*/
6260
5999
  (ctx[15][
6261
6000
  /*itemIndex*/
6262
- ctx[64]
6001
+ ctx[62]
6263
6002
  ] ? "text-green-900" : "text-red-900") + " p-0.5");
6264
6003
  attr(span1, "class", "w-6 h-6 absolute right-4 top-3 bottom-0 my-auto flex item-center justify-center");
6265
6004
  },
@@ -6271,7 +6010,7 @@
6271
6010
  },
6272
6011
  p(ctx2, dirty) {
6273
6012
  let previous_block_index = current_block_type_index;
6274
- current_block_type_index = select_block_type_4(ctx2, dirty);
6013
+ current_block_type_index = select_block_type_3(ctx2, dirty);
6275
6014
  if (current_block_type_index !== previous_block_index) {
6276
6015
  group_outros();
6277
6016
  transition_out(if_blocks[previous_block_index], 1, 1, () => {
@@ -6291,7 +6030,7 @@
6291
6030
  32768 && span0_class_value !== (span0_class_value = /*inlineAnswerResult*/
6292
6031
  (ctx2[15][
6293
6032
  /*itemIndex*/
6294
- ctx2[64]
6033
+ ctx2[62]
6295
6034
  ] ? "text-green-900" : "text-red-900") + " p-0.5")) {
6296
6035
  attr(span0, "class", span0_class_value);
6297
6036
  }
@@ -6373,7 +6112,7 @@
6373
6112
  let p;
6374
6113
  let t0_value = useIsEven(
6375
6114
  /*iterationIndex*/
6376
- ctx[67]
6115
+ ctx[65]
6377
6116
  ) ? `Student's` : "Correct";
6378
6117
  let t0;
6379
6118
  let t1;
@@ -6397,7 +6136,7 @@
6397
6136
  let t6;
6398
6137
  let show_if = useIsEven(
6399
6138
  /*iterationIndex*/
6400
- ctx[67]
6139
+ ctx[65]
6401
6140
  );
6402
6141
  let div0_class_value;
6403
6142
  let div1_class_value;
@@ -6418,7 +6157,7 @@
6418
6157
  t3 = space();
6419
6158
  span1 = element("span");
6420
6159
  span1.textContent = `${/*itemIndex*/
6421
- ctx[64] + 1}`;
6160
+ ctx[62] + 1}`;
6422
6161
  t5 = space();
6423
6162
  textarea = element("textarea");
6424
6163
  t6 = space();
@@ -6426,130 +6165,130 @@
6426
6165
  if_block.c();
6427
6166
  attr(p, "class", p_class_value = "text-base text-charcoal font-semibold " + (useIsEven(
6428
6167
  /*iterationIndex*/
6429
- ctx[67]
6168
+ ctx[65]
6430
6169
  ) && /*itemIndex*/
6431
- ctx[64] !== 0 ? "hidden" : !useIsEven(
6170
+ ctx[62] !== 0 ? "hidden" : !useIsEven(
6432
6171
  /*iterationIndex*/
6433
- ctx[67]
6172
+ ctx[65]
6434
6173
  ) && /*itemIndex*/
6435
- ctx[64] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
6174
+ ctx[62] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
6436
6175
  /*iterationIndex*/
6437
- ctx[67]
6176
+ ctx[65]
6438
6177
  ) && /*itemIndex*/
6439
- ctx[64] === 0 ? "mt-2 md:mt-0" : (
6178
+ ctx[62] === 0 ? "mt-2 md:mt-0" : (
6440
6179
  /*itemIndex*/
6441
- ctx[64] === 0 ? "" : ""
6180
+ ctx[62] === 0 ? "" : ""
6442
6181
  )) + " " + (!useIsEven(
6443
6182
  /*iterationIndex*/
6444
- ctx[67]
6183
+ ctx[65]
6445
6184
  ) && /*inlineAnswerResult*/
6446
6185
  ctx[15][
6447
6186
  /*itemIndex*/
6448
- ctx[64]
6187
+ ctx[62]
6449
6188
  ] ? "hidden md:block" : ""));
6450
6189
  attr(span0, "class", "absolute inset-0 bottom-[7px] bg-black opacity-5 rounded-l-lg w-8.5 top-1");
6451
6190
  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
6191
  attr(label, "for", label_for_value = `${/*iterationIndex*/
6453
- ctx[67]}-${/*sessionId*/
6192
+ ctx[65]}-${/*sessionId*/
6454
6193
  ctx[5]}-${/*itemIndex*/
6455
- ctx[64]}`);
6194
+ ctx[62]}`);
6456
6195
  attr(label, "class", label_class_value = "absolute left-0 top-[13px] bottom-0 " + /*correctAnswerDataLength*/
6457
6196
  (ctx[17] > 1 && !useIsEven(
6458
6197
  /*iterationIndex*/
6459
- ctx[67]
6198
+ ctx[65]
6460
6199
  ) ? "hidden md:inline-block" : (
6461
6200
  /*correctAnswerDataLength*/
6462
6201
  ctx[17] > 1 && useIsEven(
6463
6202
  /*iterationIndex*/
6464
- ctx[67]
6203
+ ctx[65]
6465
6204
  ) ? "" : "hidden"
6466
6205
  )));
6467
6206
  attr(label, "aria-hidden", "true");
6468
6207
  attr(textarea, "aria-label", textarea_aria_label_value = `${useIsEven(
6469
6208
  /*iterationIndex*/
6470
- ctx[67]
6209
+ ctx[65]
6471
6210
  ) ? `Student's` : "Correct"} answer${useIsEven(
6472
6211
  /*iterationIndex*/
6473
- ctx[67]
6212
+ ctx[65]
6474
6213
  ) && /*inlineAnswerResult*/
6475
6214
  ctx[15][
6476
6215
  /*itemIndex*/
6477
- ctx[64]
6216
+ ctx[62]
6478
6217
  ] ? " (Correct)" : useIsEven(
6479
6218
  /*iterationIndex*/
6480
- ctx[67]
6219
+ ctx[65]
6481
6220
  ) && !/*inlineAnswerResult*/
6482
6221
  ctx[15][
6483
6222
  /*itemIndex*/
6484
- ctx[64]
6223
+ ctx[62]
6485
6224
  ] ? " (Incorrect)" : ""}, Item number ${/*itemIndex*/
6486
- ctx[64] + 1}:`);
6225
+ ctx[62] + 1}:`);
6487
6226
  attr(textarea, "class", textarea_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
6488
6227
  (ctx[17] > 1 && !useIsEven(
6489
6228
  /*iterationIndex*/
6490
- ctx[67]
6229
+ ctx[65]
6491
6230
  ) ? "md:pl-13.2" : (
6492
6231
  /*correctAnswerDataLength*/
6493
6232
  ctx[17] > 1 && useIsEven(
6494
6233
  /*iterationIndex*/
6495
- ctx[67]
6234
+ ctx[65]
6496
6235
  ) ? "pl-13.2" : ""
6497
6236
  )) + " " + (useIsEven(
6498
6237
  /*iterationIndex*/
6499
- ctx[67]
6238
+ ctx[65]
6500
6239
  ) ? "!pr-11" : "") + " " + (useIsEven(
6501
6240
  /*iterationIndex*/
6502
- ctx[67]
6241
+ ctx[65]
6503
6242
  ) && /*inlineAnswerResult*/
6504
6243
  ctx[15][
6505
6244
  /*itemIndex*/
6506
- ctx[64]
6245
+ ctx[62]
6507
6246
  ] ? "border-2 border-green-900" : useIsEven(
6508
6247
  /*iterationIndex*/
6509
- ctx[67]
6248
+ ctx[65]
6510
6249
  ) && !/*inlineAnswerResult*/
6511
6250
  ctx[15][
6512
6251
  /*itemIndex*/
6513
- ctx[64]
6252
+ ctx[62]
6514
6253
  ] ? "border-2 border-red-900 bg-red-50" : ""));
6515
6254
  attr(textarea, "id", textarea_id_value = `${/*iterationIndex*/
6516
- ctx[67]}-${/*sessionId*/
6255
+ ctx[65]}-${/*sessionId*/
6517
6256
  ctx[5]}-${/*itemIndex*/
6518
- ctx[64]}`);
6257
+ ctx[62]}`);
6519
6258
  textarea.value = textarea_value_value = useIsEven(
6520
6259
  /*iterationIndex*/
6521
- ctx[67]
6260
+ ctx[65]
6522
6261
  ) ? (
6523
6262
  /*inlineTypeinAnswer*/
6524
6263
  ctx[9][
6525
6264
  /*itemIndex*/
6526
- ctx[64]
6265
+ ctx[62]
6527
6266
  ] || "No answer provided"
6528
6267
  ) : (
6529
6268
  /*item*/
6530
- ctx[62][0]
6269
+ ctx[60][0]
6531
6270
  );
6532
6271
  attr(textarea, "rows", "1");
6533
6272
  textarea.readOnly = true;
6534
6273
  attr(textarea, "tabindex", textarea_tabindex_value = !useIsEven(
6535
6274
  /*iterationIndex*/
6536
- ctx[67]
6275
+ ctx[65]
6537
6276
  ) && /*inlineAnswerResult*/
6538
6277
  ctx[15][
6539
6278
  /*itemIndex*/
6540
- ctx[64]
6279
+ ctx[62]
6541
6280
  ] ? "-1" : "");
6542
6281
  attr(div0, "class", div0_class_value = "h-fit relative " + (!useIsEven(
6543
6282
  /*iterationIndex*/
6544
- ctx[67]
6283
+ ctx[65]
6545
6284
  ) && /*inlineAnswerResult*/
6546
6285
  ctx[15][
6547
6286
  /*itemIndex*/
6548
- ctx[64]
6287
+ ctx[62]
6549
6288
  ] ? "hidden md:block" : ""));
6550
6289
  attr(div1, "class", div1_class_value = "flex flex-col md:w-1/2 " + (useIsEven(
6551
6290
  /*iterationIndex*/
6552
- ctx[67]
6291
+ ctx[65]
6553
6292
  ) ? "md:pr-4" : "ml-8.5 md:ml-0 md:pl-4"));
6554
6293
  },
6555
6294
  m(target, anchor) {
@@ -6578,46 +6317,46 @@
6578
6317
  if (!current || dirty[0] & /*inlineAnswerResult*/
6579
6318
  32768 && p_class_value !== (p_class_value = "text-base text-charcoal font-semibold " + (useIsEven(
6580
6319
  /*iterationIndex*/
6581
- ctx2[67]
6320
+ ctx2[65]
6582
6321
  ) && /*itemIndex*/
6583
- ctx2[64] !== 0 ? "hidden" : !useIsEven(
6322
+ ctx2[62] !== 0 ? "hidden" : !useIsEven(
6584
6323
  /*iterationIndex*/
6585
- ctx2[67]
6324
+ ctx2[65]
6586
6325
  ) && /*itemIndex*/
6587
- ctx2[64] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
6326
+ ctx2[62] !== 0 ? "mt-2 md:mt-0 md:hidden" : !useIsEven(
6588
6327
  /*iterationIndex*/
6589
- ctx2[67]
6328
+ ctx2[65]
6590
6329
  ) && /*itemIndex*/
6591
- ctx2[64] === 0 ? "mt-2 md:mt-0" : (
6330
+ ctx2[62] === 0 ? "mt-2 md:mt-0" : (
6592
6331
  /*itemIndex*/
6593
- ctx2[64] === 0 ? "" : ""
6332
+ ctx2[62] === 0 ? "" : ""
6594
6333
  )) + " " + (!useIsEven(
6595
6334
  /*iterationIndex*/
6596
- ctx2[67]
6335
+ ctx2[65]
6597
6336
  ) && /*inlineAnswerResult*/
6598
6337
  ctx2[15][
6599
6338
  /*itemIndex*/
6600
- ctx2[64]
6339
+ ctx2[62]
6601
6340
  ] ? "hidden md:block" : ""))) {
6602
6341
  attr(p, "class", p_class_value);
6603
6342
  }
6604
6343
  if (!current || dirty[0] & /*sessionId*/
6605
6344
  32 && label_for_value !== (label_for_value = `${/*iterationIndex*/
6606
- ctx2[67]}-${/*sessionId*/
6345
+ ctx2[65]}-${/*sessionId*/
6607
6346
  ctx2[5]}-${/*itemIndex*/
6608
- ctx2[64]}`)) {
6347
+ ctx2[62]}`)) {
6609
6348
  attr(label, "for", label_for_value);
6610
6349
  }
6611
6350
  if (!current || dirty[0] & /*correctAnswerDataLength*/
6612
6351
  131072 && label_class_value !== (label_class_value = "absolute left-0 top-[13px] bottom-0 " + /*correctAnswerDataLength*/
6613
6352
  (ctx2[17] > 1 && !useIsEven(
6614
6353
  /*iterationIndex*/
6615
- ctx2[67]
6354
+ ctx2[65]
6616
6355
  ) ? "hidden md:inline-block" : (
6617
6356
  /*correctAnswerDataLength*/
6618
6357
  ctx2[17] > 1 && useIsEven(
6619
6358
  /*iterationIndex*/
6620
- ctx2[67]
6359
+ ctx2[65]
6621
6360
  ) ? "" : "hidden"
6622
6361
  )))) {
6623
6362
  attr(label, "class", label_class_value);
@@ -6625,87 +6364,87 @@
6625
6364
  if (!current || dirty[0] & /*inlineAnswerResult*/
6626
6365
  32768 && textarea_aria_label_value !== (textarea_aria_label_value = `${useIsEven(
6627
6366
  /*iterationIndex*/
6628
- ctx2[67]
6367
+ ctx2[65]
6629
6368
  ) ? `Student's` : "Correct"} answer${useIsEven(
6630
6369
  /*iterationIndex*/
6631
- ctx2[67]
6370
+ ctx2[65]
6632
6371
  ) && /*inlineAnswerResult*/
6633
6372
  ctx2[15][
6634
6373
  /*itemIndex*/
6635
- ctx2[64]
6374
+ ctx2[62]
6636
6375
  ] ? " (Correct)" : useIsEven(
6637
6376
  /*iterationIndex*/
6638
- ctx2[67]
6377
+ ctx2[65]
6639
6378
  ) && !/*inlineAnswerResult*/
6640
6379
  ctx2[15][
6641
6380
  /*itemIndex*/
6642
- ctx2[64]
6381
+ ctx2[62]
6643
6382
  ] ? " (Incorrect)" : ""}, Item number ${/*itemIndex*/
6644
- ctx2[64] + 1}:`)) {
6383
+ ctx2[62] + 1}:`)) {
6645
6384
  attr(textarea, "aria-label", textarea_aria_label_value);
6646
6385
  }
6647
6386
  if (!current || dirty[0] & /*correctAnswerDataLength, inlineAnswerResult*/
6648
6387
  163840 && textarea_class_value !== (textarea_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
6649
6388
  (ctx2[17] > 1 && !useIsEven(
6650
6389
  /*iterationIndex*/
6651
- ctx2[67]
6390
+ ctx2[65]
6652
6391
  ) ? "md:pl-13.2" : (
6653
6392
  /*correctAnswerDataLength*/
6654
6393
  ctx2[17] > 1 && useIsEven(
6655
6394
  /*iterationIndex*/
6656
- ctx2[67]
6395
+ ctx2[65]
6657
6396
  ) ? "pl-13.2" : ""
6658
6397
  )) + " " + (useIsEven(
6659
6398
  /*iterationIndex*/
6660
- ctx2[67]
6399
+ ctx2[65]
6661
6400
  ) ? "!pr-11" : "") + " " + (useIsEven(
6662
6401
  /*iterationIndex*/
6663
- ctx2[67]
6402
+ ctx2[65]
6664
6403
  ) && /*inlineAnswerResult*/
6665
6404
  ctx2[15][
6666
6405
  /*itemIndex*/
6667
- ctx2[64]
6406
+ ctx2[62]
6668
6407
  ] ? "border-2 border-green-900" : useIsEven(
6669
6408
  /*iterationIndex*/
6670
- ctx2[67]
6409
+ ctx2[65]
6671
6410
  ) && !/*inlineAnswerResult*/
6672
6411
  ctx2[15][
6673
6412
  /*itemIndex*/
6674
- ctx2[64]
6413
+ ctx2[62]
6675
6414
  ] ? "border-2 border-red-900 bg-red-50" : ""))) {
6676
6415
  attr(textarea, "class", textarea_class_value);
6677
6416
  }
6678
6417
  if (!current || dirty[0] & /*sessionId*/
6679
6418
  32 && textarea_id_value !== (textarea_id_value = `${/*iterationIndex*/
6680
- ctx2[67]}-${/*sessionId*/
6419
+ ctx2[65]}-${/*sessionId*/
6681
6420
  ctx2[5]}-${/*itemIndex*/
6682
- ctx2[64]}`)) {
6421
+ ctx2[62]}`)) {
6683
6422
  attr(textarea, "id", textarea_id_value);
6684
6423
  }
6685
6424
  if (!current || dirty[0] & /*inlineTypeinAnswer, correctAnswerData*/
6686
6425
  66048 && textarea_value_value !== (textarea_value_value = useIsEven(
6687
6426
  /*iterationIndex*/
6688
- ctx2[67]
6427
+ ctx2[65]
6689
6428
  ) ? (
6690
6429
  /*inlineTypeinAnswer*/
6691
6430
  ctx2[9][
6692
6431
  /*itemIndex*/
6693
- ctx2[64]
6432
+ ctx2[62]
6694
6433
  ] || "No answer provided"
6695
6434
  ) : (
6696
6435
  /*item*/
6697
- ctx2[62][0]
6436
+ ctx2[60][0]
6698
6437
  ))) {
6699
6438
  textarea.value = textarea_value_value;
6700
6439
  }
6701
6440
  if (!current || dirty[0] & /*inlineAnswerResult*/
6702
6441
  32768 && textarea_tabindex_value !== (textarea_tabindex_value = !useIsEven(
6703
6442
  /*iterationIndex*/
6704
- ctx2[67]
6443
+ ctx2[65]
6705
6444
  ) && /*inlineAnswerResult*/
6706
6445
  ctx2[15][
6707
6446
  /*itemIndex*/
6708
- ctx2[64]
6447
+ ctx2[62]
6709
6448
  ] ? "-1" : "")) {
6710
6449
  attr(textarea, "tabindex", textarea_tabindex_value);
6711
6450
  }
@@ -6714,11 +6453,11 @@
6714
6453
  if (!current || dirty[0] & /*inlineAnswerResult*/
6715
6454
  32768 && div0_class_value !== (div0_class_value = "h-fit relative " + (!useIsEven(
6716
6455
  /*iterationIndex*/
6717
- ctx2[67]
6456
+ ctx2[65]
6718
6457
  ) && /*inlineAnswerResult*/
6719
6458
  ctx2[15][
6720
6459
  /*itemIndex*/
6721
- ctx2[64]
6460
+ ctx2[62]
6722
6461
  ] ? "hidden md:block" : ""))) {
6723
6462
  attr(div0, "class", div0_class_value);
6724
6463
  }
@@ -6750,7 +6489,7 @@
6750
6489
  let current;
6751
6490
  let each_value_1 = ensure_array_like(
6752
6491
  /*inlineIteration*/
6753
- ctx[21]
6492
+ ctx[19]
6754
6493
  );
6755
6494
  let each_blocks = [];
6756
6495
  for (let i = 0; i < each_value_1.length; i += 1) {
@@ -6783,7 +6522,7 @@
6783
6522
  229920) {
6784
6523
  each_value_1 = ensure_array_like(
6785
6524
  /*inlineIteration*/
6786
- ctx2[21]
6525
+ ctx2[19]
6787
6526
  );
6788
6527
  let i;
6789
6528
  for (i = 0; i < each_value_1.length; i += 1) {
@@ -6834,17 +6573,17 @@
6834
6573
  let t2;
6835
6574
  let if_block1_anchor;
6836
6575
  let current;
6837
- const if_block_creators = [create_if_block_83, create_if_block_102, create_else_block_3];
6576
+ const if_block_creators = [create_if_block_73, create_if_block_92, create_else_block_3];
6838
6577
  const if_blocks = [];
6839
6578
  function select_block_type(ctx2, dirty) {
6840
6579
  if (
6841
6580
  /*isInlineTypein*/
6842
- ctx2[26]
6581
+ ctx2[24]
6843
6582
  )
6844
6583
  return 0;
6845
6584
  if (
6846
6585
  /*typeinType*/
6847
- ctx2[25] === TYPEIN_TYPE_SHORT
6586
+ ctx2[23] === TYPEIN_TYPE_SHORT
6848
6587
  )
6849
6588
  return 1;
6850
6589
  return 2;
@@ -6853,7 +6592,7 @@
6853
6592
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
6854
6593
  let if_block1 = (
6855
6594
  /*isFinished*/
6856
- ctx[0] && create_if_block7(ctx)
6595
+ ctx[0] && create_if_block6(ctx)
6857
6596
  );
6858
6597
  return {
6859
6598
  c() {
@@ -6884,7 +6623,7 @@
6884
6623
  transition_in(if_block1, 1);
6885
6624
  }
6886
6625
  } else {
6887
- if_block1 = create_if_block7(ctx2);
6626
+ if_block1 = create_if_block6(ctx2);
6888
6627
  if_block1.c();
6889
6628
  transition_in(if_block1, 1);
6890
6629
  if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
@@ -6920,23 +6659,23 @@
6920
6659
  }
6921
6660
  };
6922
6661
  }
6923
- function create_fragment13(ctx) {
6662
+ function create_fragment12(ctx) {
6924
6663
  let promptbody;
6925
6664
  let current;
6926
6665
  promptbody = new PromptBody_default({
6927
6666
  props: {
6928
6667
  rubric: (
6929
6668
  /*rubric*/
6930
- ctx[22].text
6669
+ ctx[20].text
6931
6670
  ),
6932
6671
  prompt: (
6933
6672
  /*prompt*/
6934
- ctx[24]
6673
+ ctx[22]
6935
6674
  ),
6936
6675
  interactionType: INTERACTION_TYPE_TYPEIN,
6937
6676
  stimulus: (
6938
6677
  /*stimulus*/
6939
- ctx[23]
6678
+ ctx[21]
6940
6679
  ),
6941
6680
  hasDivider: (
6942
6681
  /*hasDivider*/
@@ -6960,9 +6699,9 @@
6960
6699
  16384)
6961
6700
  promptbody_changes.hasDivider = /*hasDivider*/
6962
6701
  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) {
6702
+ if (dirty[0] & /*correctAnswerData, inlineAnswerResult, correctAnswerDataLength, sessionId, inlineTypeinAnswer, isPreviewMode, isPreviewModeInteractive, isSkippedAnswer, isResultCorrect, resultFeedback, isFinished, resultLabel, isDataSaving, root, inlinePromptString, textAriaLabel, placeholder, typeinAnswer*/
6703
+ 507903 | dirty[2] & /*$$scope*/
6704
+ 16) {
6966
6705
  promptbody_changes.$$scope = { dirty, ctx: ctx2 };
6967
6706
  }
6968
6707
  promptbody.$set(promptbody_changes);
@@ -6983,7 +6722,7 @@
6983
6722
  };
6984
6723
  }
6985
6724
  var idLabel = "answerText";
6986
- function instance8($$self, $$props, $$invalidate) {
6725
+ function instance7($$self, $$props, $$invalidate) {
6987
6726
  let { sessionData } = $$props;
6988
6727
  let { isDataSaving } = $$props;
6989
6728
  let { isFinished = false } = $$props;
@@ -7012,10 +6751,8 @@
7012
6751
  let correctAnswerDataLength = 0;
7013
6752
  const inlineIteration = ["student", "correct"];
7014
6753
  const { rubric, interaction, metadata, scoringMetadata, stimulus } = sessionData;
7015
- const { prompt, typein_type: typeinType } = interaction;
6754
+ const { prompt, typein_type: typeinType, feedback } = interaction;
7016
6755
  const isInlineTypein = typeinType === TYPEIN_TYPE_INLINE;
7017
- let computedFeedback = null;
7018
- let computedFeedbackTitle = null;
7019
6756
  if (metadata) {
7020
6757
  const events = metadata.interactions.events.pop();
7021
6758
  if (isInlineTypein) {
@@ -7074,11 +6811,9 @@
7074
6811
  $$invalidate(0, isFinished = true);
7075
6812
  $$invalidate(16, correctAnswerData = previewCorrectAnswer);
7076
6813
  $$invalidate(17, correctAnswerDataLength = previewCorrectAnswer.length);
7077
- if (hasOnlyEmptyWrongAnswers(inlineTypeinAnswer, inlineAnswerResult))
6814
+ if (hasOnlyEmptyWrongAnswers(inlineTypeinAnswer, inlineAnswerResult) && !isResultCorrect)
7078
6815
  $$invalidate(10, isSkippedAnswer = true);
7079
- if (!isResultCorrect && inlineTypeinAnswer.some((value) => value !== ""))
7080
- getFeedback();
7081
- inlineComputedFeedback();
6816
+ getFeedback();
7082
6817
  buildInlinePrompt();
7083
6818
  setTimeout(
7084
6819
  () => {
@@ -7096,13 +6831,13 @@
7096
6831
  input?.blur();
7097
6832
  };
7098
6833
  const getFeedback = () => {
7099
- const { correct: correctFeeback, incorrect: incorrectFeedback } = interaction.feedback;
6834
+ const { correct: correctFeeback, incorrect: incorrectFeedback } = feedback;
7100
6835
  $$invalidate(8, resultFeedback = isResultCorrect ? correctFeeback : incorrectFeedback);
7101
6836
  };
7102
6837
  const getResultMessage = () => {
7103
6838
  $$invalidate(12, resultLabel = isResultCorrect ? "Correct" : "Incorrect");
7104
- $$invalidate(20, textAriaLabel = `Submitted response is ${resultLabel.toLocaleLowerCase()}`);
7105
- $$invalidate(11, placeholder = isResultCorrect ? placeholder : "No answer provided");
6839
+ $$invalidate(18, textAriaLabel = `Submitted response is ${resultLabel.toLocaleLowerCase()}`);
6840
+ $$invalidate(11, placeholder = isResultCorrect ? placeholder : "Type your answer here");
7106
6841
  };
7107
6842
  const checkInlineAnswer = (correctAnswer, answer, isAllowMacron, isIgnorePunctuation) => {
7108
6843
  const transformedAnswerList = correctAnswer.map((item) => item.map((data) => data.toLowerCase()));
@@ -7117,10 +6852,6 @@
7117
6852
  return transformedAnswerList[index].includes(inlineAnswer.toLowerCase().trim());
7118
6853
  });
7119
6854
  };
7120
- const inlineComputedFeedback = () => {
7121
- $$invalidate(18, computedFeedback = isSkippedAnswer ? "" : resultFeedback);
7122
- $$invalidate(19, computedFeedbackTitle = isResultCorrect || isSkippedAnswer ? "" : "Why they got it wrong");
7123
- };
7124
6855
  const hasOnlyEmptyWrongAnswers = (answers, answerResults) => {
7125
6856
  return answers.filter((value) => value === "").length === answerResults.filter((value) => value === false).length;
7126
6857
  };
@@ -7134,14 +6865,12 @@
7134
6865
  inlineTypeinAnswer = answer.map((data) => data[0]);
7135
6866
  metadataAnswer = inlineTypeinAnswer;
7136
6867
  }
7137
- if (!isResultCorrect)
7138
- getFeedback();
6868
+ getFeedback();
7139
6869
  correctAnswerData = correctAnswer;
7140
6870
  correctAnswerDataLength = correctAnswer.length;
7141
6871
  inlineAnswerResult = checkInlineAnswer(correctAnswer, metadataAnswer, allowNonMacrons, ignorePunctuation);
7142
- if (hasOnlyEmptyWrongAnswers(metadataAnswer, inlineAnswerResult))
6872
+ if (hasOnlyEmptyWrongAnswers(metadataAnswer, inlineAnswerResult) && !isResultCorrect)
7143
6873
  isSkippedAnswer = true;
7144
- inlineComputedFeedback();
7145
6874
  } else {
7146
6875
  typeinAnswer = answer && hasAnswer ? answer : typeinAnswer;
7147
6876
  }
@@ -7152,10 +6881,16 @@
7152
6881
  }
7153
6882
  const resetInteractivePreviewData = () => {
7154
6883
  $$invalidate(12, resultLabel = "");
7155
- $$invalidate(20, textAriaLabel = "");
6884
+ $$invalidate(18, textAriaLabel = "");
7156
6885
  $$invalidate(11, placeholder = "");
7157
- getResultMessage();
7158
- getFeedback();
6886
+ $$invalidate(8, resultFeedback = "");
6887
+ setTimeout(
6888
+ () => {
6889
+ getResultMessage();
6890
+ getFeedback();
6891
+ },
6892
+ 50
6893
+ );
7159
6894
  };
7160
6895
  const buildInlinePrompt = () => {
7161
6896
  $$invalidate(14, hasDivider = false);
@@ -7211,18 +6946,23 @@
7211
6946
  }
7212
6947
  const saveAnswer = () => {
7213
6948
  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) {
6949
+ if (isPreviewModeInteractive) {
7219
6950
  setTimeout(
7220
6951
  () => {
7221
6952
  resetInteractivePreviewData();
7222
6953
  },
7223
6954
  50
7224
6955
  );
6956
+ if (typeinAnswer)
6957
+ isInteractiveTriggeredResult = true;
6958
+ if (isInteractiveTriggeredResult) {
6959
+ $$invalidate(10, isSkippedAnswer = !typeinAnswer ? true : false);
6960
+ }
7225
6961
  }
6962
+ if (isDataSaving || typeinAnswer === latestAnswer || !typeinAnswer && !latestAnswer)
6963
+ return;
6964
+ latestAnswer = typeinAnswer;
6965
+ dispatch("saveAnswer", { answer: [typeinAnswer || ""] });
7226
6966
  };
7227
6967
  const saveOnEnter = (event) => {
7228
6968
  if (event.key === "Enter") {
@@ -7263,7 +7003,7 @@
7263
7003
  const keydown_handler_1 = (event) => saveOnEnter(event);
7264
7004
  $$self.$$set = ($$props2) => {
7265
7005
  if ("sessionData" in $$props2)
7266
- $$invalidate(32, sessionData = $$props2.sessionData);
7006
+ $$invalidate(30, sessionData = $$props2.sessionData);
7267
7007
  if ("isDataSaving" in $$props2)
7268
7008
  $$invalidate(2, isDataSaving = $$props2.isDataSaving);
7269
7009
  if ("isFinished" in $$props2)
@@ -7275,13 +7015,13 @@
7275
7015
  if ("isPreviewModeInteractive" in $$props2)
7276
7016
  $$invalidate(4, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
7277
7017
  if ("isPreviewCheckedAnswer" in $$props2)
7278
- $$invalidate(33, isPreviewCheckedAnswer = $$props2.isPreviewCheckedAnswer);
7018
+ $$invalidate(31, isPreviewCheckedAnswer = $$props2.isPreviewCheckedAnswer);
7279
7019
  if ("sessionId" in $$props2)
7280
7020
  $$invalidate(5, sessionId = $$props2.sessionId);
7281
7021
  };
7282
7022
  $$self.$$.update = () => {
7283
7023
  if ($$self.$$.dirty[1] & /*isPreviewCheckedAnswer*/
7284
- 4) {
7024
+ 1) {
7285
7025
  $:
7286
7026
  if (isPreviewCheckedAnswer) {
7287
7027
  resetInteractivePreviewData();
@@ -7307,8 +7047,6 @@
7307
7047
  inlineAnswerResult,
7308
7048
  correctAnswerData,
7309
7049
  correctAnswerDataLength,
7310
- computedFeedback,
7311
- computedFeedbackTitle,
7312
7050
  textAriaLabel,
7313
7051
  inlineIteration,
7314
7052
  rubric,
@@ -7341,17 +7079,17 @@
7341
7079
  init(
7342
7080
  this,
7343
7081
  options,
7344
- instance8,
7345
- create_fragment13,
7082
+ instance7,
7083
+ create_fragment12,
7346
7084
  safe_not_equal,
7347
7085
  {
7348
- sessionData: 32,
7086
+ sessionData: 30,
7349
7087
  isDataSaving: 2,
7350
7088
  isFinished: 0,
7351
7089
  isResultCorrect: 1,
7352
7090
  isPreviewMode: 3,
7353
7091
  isPreviewModeInteractive: 4,
7354
- isPreviewCheckedAnswer: 33,
7092
+ isPreviewCheckedAnswer: 31,
7355
7093
  sessionId: 5
7356
7094
  },
7357
7095
  null,
@@ -7359,7 +7097,7 @@
7359
7097
  );
7360
7098
  }
7361
7099
  get sessionData() {
7362
- return this.$$.ctx[32];
7100
+ return this.$$.ctx[30];
7363
7101
  }
7364
7102
  set sessionData(sessionData) {
7365
7103
  this.$$set({ sessionData });
@@ -7401,7 +7139,7 @@
7401
7139
  flush();
7402
7140
  }
7403
7141
  get isPreviewCheckedAnswer() {
7404
- return this.$$.ctx[33];
7142
+ return this.$$.ctx[31];
7405
7143
  }
7406
7144
  set isPreviewCheckedAnswer(isPreviewCheckedAnswer) {
7407
7145
  this.$$set({ isPreviewCheckedAnswer });
@@ -9419,7 +9157,7 @@
9419
9157
  }
9420
9158
 
9421
9159
  // src/lib/assets/img/product/GripVertical.svelte
9422
- function create_fragment14(ctx) {
9160
+ function create_fragment13(ctx) {
9423
9161
  let svg;
9424
9162
  let path;
9425
9163
  return {
@@ -9453,7 +9191,7 @@
9453
9191
  var GripVertical = class extends SvelteComponent {
9454
9192
  constructor(options) {
9455
9193
  super();
9456
- init(this, options, null, create_fragment14, safe_not_equal, {});
9194
+ init(this, options, null, create_fragment13, safe_not_equal, {});
9457
9195
  }
9458
9196
  };
9459
9197
  create_custom_element(GripVertical, {}, [], [], true);
@@ -9555,7 +9293,7 @@
9555
9293
  }
9556
9294
  };
9557
9295
  }
9558
- function create_if_block_17(ctx) {
9296
+ function create_if_block_16(ctx) {
9559
9297
  let span;
9560
9298
  let successsolid;
9561
9299
  let current;
@@ -9589,7 +9327,7 @@
9589
9327
  }
9590
9328
  };
9591
9329
  }
9592
- function create_if_block8(ctx) {
9330
+ function create_if_block7(ctx) {
9593
9331
  let span;
9594
9332
  let gripvertical;
9595
9333
  let current;
@@ -9623,7 +9361,7 @@
9623
9361
  }
9624
9362
  };
9625
9363
  }
9626
- function create_fragment15(ctx) {
9364
+ function create_fragment14(ctx) {
9627
9365
  let button;
9628
9366
  let span0;
9629
9367
  let commonstringtohtml;
@@ -9647,7 +9385,7 @@
9647
9385
  /*word*/
9648
9386
  ctx[1]
9649
9387
  ) } });
9650
- const if_block_creators = [create_if_block_17, create_if_block_26, create_if_block_35, create_else_block3];
9388
+ const if_block_creators = [create_if_block_16, create_if_block_26, create_if_block_35, create_else_block3];
9651
9389
  const if_blocks = [];
9652
9390
  function select_block_type(ctx2, dirty) {
9653
9391
  if (
@@ -9674,7 +9412,7 @@
9674
9412
  let if_block1 = (
9675
9413
  /*resultType*/
9676
9414
  (ctx[0] === ANSWER_CORRECT || /*resultType*/
9677
- ctx[0] === ANSWER_INCORRECT) && create_if_block8(ctx)
9415
+ ctx[0] === ANSWER_INCORRECT) && create_if_block7(ctx)
9678
9416
  );
9679
9417
  return {
9680
9418
  c() {
@@ -9844,7 +9582,7 @@
9844
9582
  transition_in(if_block1, 1);
9845
9583
  }
9846
9584
  } else {
9847
- if_block1 = create_if_block8(ctx);
9585
+ if_block1 = create_if_block7(ctx);
9848
9586
  if_block1.c();
9849
9587
  transition_in(if_block1, 1);
9850
9588
  if_block1.m(span2, null);
@@ -9944,7 +9682,7 @@
9944
9682
  }
9945
9683
  };
9946
9684
  }
9947
- function instance9($$self, $$props, $$invalidate) {
9685
+ function instance8($$self, $$props, $$invalidate) {
9948
9686
  let { word = "" } = $$props;
9949
9687
  let { resultType = "" } = $$props;
9950
9688
  let { otherClass = "" } = $$props;
@@ -10100,7 +9838,7 @@
10100
9838
  var PromptCategoriseWordButton = class extends SvelteComponent {
10101
9839
  constructor(options) {
10102
9840
  super();
10103
- init(this, options, instance9, create_fragment15, safe_not_equal, {
9841
+ init(this, options, instance8, create_fragment14, safe_not_equal, {
10104
9842
  word: 1,
10105
9843
  resultType: 0,
10106
9844
  otherClass: 2,
@@ -10281,7 +10019,7 @@
10281
10019
  }
10282
10020
  };
10283
10021
  }
10284
- function create_if_block_18(ctx) {
10022
+ function create_if_block_17(ctx) {
10285
10023
  let div;
10286
10024
  let mounted;
10287
10025
  let dispose;
@@ -10323,7 +10061,7 @@
10323
10061
  }
10324
10062
  };
10325
10063
  }
10326
- function create_if_block9(ctx) {
10064
+ function create_if_block8(ctx) {
10327
10065
  let button;
10328
10066
  let t2;
10329
10067
  let button_class_value;
@@ -10362,7 +10100,7 @@
10362
10100
  let current;
10363
10101
  let if_block = (
10364
10102
  /*item*/
10365
- ctx[39].type === ANSWER_MISSED && create_if_block9(ctx)
10103
+ ctx[39].type === ANSWER_MISSED && create_if_block8(ctx)
10366
10104
  );
10367
10105
  promptcategorisewordbutton = new PromptCategoriseWordButton_default({
10368
10106
  props: {
@@ -10454,7 +10192,7 @@
10454
10192
  if (if_block) {
10455
10193
  if_block.p(ctx, dirty);
10456
10194
  } else {
10457
- if_block = create_if_block9(ctx);
10195
+ if_block = create_if_block8(ctx);
10458
10196
  if_block.c();
10459
10197
  if_block.m(t2.parentNode, t2);
10460
10198
  }
@@ -10541,7 +10279,7 @@
10541
10279
  }
10542
10280
  };
10543
10281
  }
10544
- function create_fragment16(ctx) {
10282
+ function create_fragment15(ctx) {
10545
10283
  let t0;
10546
10284
  let t1;
10547
10285
  let section;
@@ -10564,7 +10302,7 @@
10564
10302
  let if_block1 = (
10565
10303
  /*totalRemainingWordBinItem*/
10566
10304
  ctx[17] <= 0 && /*isContainerWordBin*/
10567
- ctx[23] && create_if_block_18(ctx)
10305
+ ctx[23] && create_if_block_17(ctx)
10568
10306
  );
10569
10307
  let each_value = ensure_array_like(Object.values(
10570
10308
  /*items*/
@@ -10703,7 +10441,7 @@
10703
10441
  if (if_block1) {
10704
10442
  if_block1.p(ctx2, dirty);
10705
10443
  } else {
10706
- if_block1 = create_if_block_18(ctx2);
10444
+ if_block1 = create_if_block_17(ctx2);
10707
10445
  if_block1.c();
10708
10446
  if_block1.m(t1.parentNode, t1);
10709
10447
  }
@@ -10817,7 +10555,7 @@
10817
10555
  }
10818
10556
  };
10819
10557
  }
10820
- function instance10($$self, $$props, $$invalidate) {
10558
+ function instance9($$self, $$props, $$invalidate) {
10821
10559
  let { containerClass = "" } = $$props;
10822
10560
  let { flipDurationMs = 5 } = $$props;
10823
10561
  let { containerId = "" } = $$props;
@@ -11162,8 +10900,8 @@
11162
10900
  init(
11163
10901
  this,
11164
10902
  options,
11165
- instance10,
11166
- create_fragment16,
10903
+ instance9,
10904
+ create_fragment15,
11167
10905
  safe_not_equal,
11168
10906
  {
11169
10907
  containerClass: 2,
@@ -11280,7 +11018,7 @@
11280
11018
  var PromptCategoriseDndContainer_default = PromptCategoriseDndContainer;
11281
11019
 
11282
11020
  // src/lib/components/common/CommonModal.svelte
11283
- function create_fragment17(ctx) {
11021
+ function create_fragment16(ctx) {
11284
11022
  let div2;
11285
11023
  let div0;
11286
11024
  let t2;
@@ -11412,7 +11150,7 @@
11412
11150
  var keypress_handler = () => {
11413
11151
  return false;
11414
11152
  };
11415
- function instance11($$self, $$props, $$invalidate) {
11153
+ function instance10($$self, $$props, $$invalidate) {
11416
11154
  let { $$slots: slots = {}, $$scope } = $$props;
11417
11155
  let { modalData = [] } = $$props;
11418
11156
  const dispatch = createEventDispatcher();
@@ -11444,7 +11182,7 @@
11444
11182
  var CommonModal = class extends SvelteComponent {
11445
11183
  constructor(options) {
11446
11184
  super();
11447
- init(this, options, instance11, create_fragment17, safe_not_equal, { modalData: 3 });
11185
+ init(this, options, instance10, create_fragment16, safe_not_equal, { modalData: 3 });
11448
11186
  }
11449
11187
  get modalData() {
11450
11188
  return this.$$.ctx[3];
@@ -11458,7 +11196,7 @@
11458
11196
  var CommonModal_default = CommonModal;
11459
11197
 
11460
11198
  // src/lib/assets/img/messaging/AlertIcon.svelte
11461
- function create_fragment18(ctx) {
11199
+ function create_fragment17(ctx) {
11462
11200
  let svg;
11463
11201
  let path;
11464
11202
  return {
@@ -11492,14 +11230,14 @@
11492
11230
  var AlertIcon = class extends SvelteComponent {
11493
11231
  constructor(options) {
11494
11232
  super();
11495
- init(this, options, null, create_fragment18, safe_not_equal, {});
11233
+ init(this, options, null, create_fragment17, safe_not_equal, {});
11496
11234
  }
11497
11235
  };
11498
11236
  create_custom_element(AlertIcon, {}, [], [], true);
11499
11237
  var AlertIcon_default = AlertIcon;
11500
11238
 
11501
11239
  // src/lib/assets/img/messaging/CrossIcon.svelte
11502
- function create_fragment19(ctx) {
11240
+ function create_fragment18(ctx) {
11503
11241
  let svg;
11504
11242
  let path;
11505
11243
  return {
@@ -11533,7 +11271,7 @@
11533
11271
  var CrossIcon = class extends SvelteComponent {
11534
11272
  constructor(options) {
11535
11273
  super();
11536
- init(this, options, null, create_fragment19, safe_not_equal, {});
11274
+ init(this, options, null, create_fragment18, safe_not_equal, {});
11537
11275
  }
11538
11276
  };
11539
11277
  create_custom_element(CrossIcon, {}, [], [], true);
@@ -11693,7 +11431,7 @@
11693
11431
  }
11694
11432
  };
11695
11433
  }
11696
- function create_fragment20(ctx) {
11434
+ function create_fragment19(ctx) {
11697
11435
  let commonmodal;
11698
11436
  let current;
11699
11437
  commonmodal = new CommonModal_default({
@@ -11746,7 +11484,7 @@
11746
11484
  }
11747
11485
  };
11748
11486
  }
11749
- function instance12($$self, $$props, $$invalidate) {
11487
+ function instance11($$self, $$props, $$invalidate) {
11750
11488
  let { categoryData = [] } = $$props;
11751
11489
  let { modalData = [] } = $$props;
11752
11490
  let categoryModal;
@@ -11829,7 +11567,7 @@
11829
11567
  var PromptCategoriseModal = class extends SvelteComponent {
11830
11568
  constructor(options) {
11831
11569
  super();
11832
- init(this, options, instance12, create_fragment20, safe_not_equal, { categoryData: 6, modalData: 0 });
11570
+ init(this, options, instance11, create_fragment19, safe_not_equal, { categoryData: 6, modalData: 0 });
11833
11571
  }
11834
11572
  get categoryData() {
11835
11573
  return this.$$.ctx[6];
@@ -11850,7 +11588,7 @@
11850
11588
  var PromptCategoriseModal_default = PromptCategoriseModal;
11851
11589
 
11852
11590
  // src/lib/assets/img/action/Switch.svelte
11853
- function create_fragment21(ctx) {
11591
+ function create_fragment20(ctx) {
11854
11592
  let svg;
11855
11593
  let path;
11856
11594
  return {
@@ -11882,14 +11620,14 @@
11882
11620
  var Switch = class extends SvelteComponent {
11883
11621
  constructor(options) {
11884
11622
  super();
11885
- init(this, options, null, create_fragment21, safe_not_equal, {});
11623
+ init(this, options, null, create_fragment20, safe_not_equal, {});
11886
11624
  }
11887
11625
  };
11888
11626
  create_custom_element(Switch, {}, [], [], true);
11889
11627
  var Switch_default = Switch;
11890
11628
 
11891
11629
  // src/lib/assets/img/messaging/SmallChevronUp.svelte
11892
- function create_fragment22(ctx) {
11630
+ function create_fragment21(ctx) {
11893
11631
  let svg;
11894
11632
  let path;
11895
11633
  return {
@@ -11950,7 +11688,7 @@
11950
11688
  }
11951
11689
  };
11952
11690
  }
11953
- function instance13($$self, $$props, $$invalidate) {
11691
+ function instance12($$self, $$props, $$invalidate) {
11954
11692
  let { width = 8 } = $$props;
11955
11693
  let { height = 5 } = $$props;
11956
11694
  $$self.$$set = ($$props2) => {
@@ -11964,7 +11702,7 @@
11964
11702
  var SmallChevronUp = class extends SvelteComponent {
11965
11703
  constructor(options) {
11966
11704
  super();
11967
- init(this, options, instance13, create_fragment22, safe_not_equal, { width: 0, height: 1 });
11705
+ init(this, options, instance12, create_fragment21, safe_not_equal, { width: 0, height: 1 });
11968
11706
  }
11969
11707
  get width() {
11970
11708
  return this.$$.ctx[0];
@@ -11985,7 +11723,7 @@
11985
11723
  var SmallChevronUp_default = SmallChevronUp;
11986
11724
 
11987
11725
  // src/lib/assets/img/messaging/SmallChevronDown.svelte
11988
- function create_fragment23(ctx) {
11726
+ function create_fragment22(ctx) {
11989
11727
  let svg;
11990
11728
  let path;
11991
11729
  return {
@@ -12046,7 +11784,7 @@
12046
11784
  }
12047
11785
  };
12048
11786
  }
12049
- function instance14($$self, $$props, $$invalidate) {
11787
+ function instance13($$self, $$props, $$invalidate) {
12050
11788
  let { width = 8 } = $$props;
12051
11789
  let { height = 5 } = $$props;
12052
11790
  $$self.$$set = ($$props2) => {
@@ -12060,7 +11798,7 @@
12060
11798
  var SmallChevronDown = class extends SvelteComponent {
12061
11799
  constructor(options) {
12062
11800
  super();
12063
- init(this, options, instance14, create_fragment23, safe_not_equal, { width: 0, height: 1 });
11801
+ init(this, options, instance13, create_fragment22, safe_not_equal, { width: 0, height: 1 });
12064
11802
  }
12065
11803
  get width() {
12066
11804
  return this.$$.ctx[0];
@@ -12081,7 +11819,7 @@
12081
11819
  var SmallChevronDown_default = SmallChevronDown;
12082
11820
 
12083
11821
  // src/lib/assets/img/messaging/SmallChevronLeft.svelte
12084
- function create_fragment24(ctx) {
11822
+ function create_fragment23(ctx) {
12085
11823
  let svg;
12086
11824
  let path;
12087
11825
  return {
@@ -12115,14 +11853,14 @@
12115
11853
  var SmallChevronLeft = class extends SvelteComponent {
12116
11854
  constructor(options) {
12117
11855
  super();
12118
- init(this, options, null, create_fragment24, safe_not_equal, {});
11856
+ init(this, options, null, create_fragment23, safe_not_equal, {});
12119
11857
  }
12120
11858
  };
12121
11859
  create_custom_element(SmallChevronLeft, {}, [], [], true);
12122
11860
  var SmallChevronLeft_default = SmallChevronLeft;
12123
11861
 
12124
11862
  // src/lib/assets/img/messaging/SmallChevronRight.svelte
12125
- function create_fragment25(ctx) {
11863
+ function create_fragment24(ctx) {
12126
11864
  let svg;
12127
11865
  let path;
12128
11866
  return {
@@ -12156,14 +11894,14 @@
12156
11894
  var SmallChevronRight = class extends SvelteComponent {
12157
11895
  constructor(options) {
12158
11896
  super();
12159
- init(this, options, null, create_fragment25, safe_not_equal, {});
11897
+ init(this, options, null, create_fragment24, safe_not_equal, {});
12160
11898
  }
12161
11899
  };
12162
11900
  create_custom_element(SmallChevronRight, {}, [], [], true);
12163
11901
  var SmallChevronRight_default = SmallChevronRight;
12164
11902
 
12165
11903
  // src/lib/assets/img/messaging/ArrowDownCircle.svelte
12166
- function create_fragment26(ctx) {
11904
+ function create_fragment25(ctx) {
12167
11905
  let svg;
12168
11906
  let path;
12169
11907
  return {
@@ -12197,7 +11935,7 @@
12197
11935
  var ArrowDownCircle = class extends SvelteComponent {
12198
11936
  constructor(options) {
12199
11937
  super();
12200
- init(this, options, null, create_fragment26, safe_not_equal, {});
11938
+ init(this, options, null, create_fragment25, safe_not_equal, {});
12201
11939
  }
12202
11940
  };
12203
11941
  create_custom_element(ArrowDownCircle, {}, [], [], true);
@@ -12704,7 +12442,7 @@
12704
12442
  }
12705
12443
  };
12706
12444
  }
12707
- function create_if_block_19(ctx) {
12445
+ function create_if_block_18(ctx) {
12708
12446
  let smallchevronup;
12709
12447
  let current;
12710
12448
  smallchevronup = new SmallChevronUp_default({});
@@ -12821,7 +12559,7 @@
12821
12559
  /*previewResultSr*/
12822
12560
  ctx[5] && create_if_block_28(ctx)
12823
12561
  );
12824
- const if_block_creators = [create_if_block_19, create_else_block4];
12562
+ const if_block_creators = [create_if_block_18, create_else_block4];
12825
12563
  const if_blocks = [];
12826
12564
  function select_block_type(ctx2, dirty) {
12827
12565
  if (dirty[0] & /*openCategoryContainer*/
@@ -13509,7 +13247,7 @@
13509
13247
  }
13510
13248
  };
13511
13249
  }
13512
- function create_if_block10(ctx) {
13250
+ function create_if_block9(ctx) {
13513
13251
  let span;
13514
13252
  let t0;
13515
13253
  let t1;
@@ -13621,7 +13359,7 @@
13621
13359
  const out = (i) => transition_out(each_blocks[i], 1, 1, () => {
13622
13360
  each_blocks[i] = null;
13623
13361
  });
13624
- let if_block2 = show_if && create_if_block10(ctx);
13362
+ let if_block2 = show_if && create_if_block9(ctx);
13625
13363
  smallchevronleft = new SmallChevronLeft_default({});
13626
13364
  promptcategorisedndcontainer = new PromptCategoriseDndContainer_default({
13627
13365
  props: {
@@ -14038,7 +13776,7 @@
14038
13776
  if (if_block2) {
14039
13777
  if_block2.p(ctx, dirty);
14040
13778
  } else {
14041
- if_block2 = create_if_block10(ctx);
13779
+ if_block2 = create_if_block9(ctx);
14042
13780
  if_block2.c();
14043
13781
  if_block2.m(div2, t8);
14044
13782
  }
@@ -14225,7 +13963,7 @@
14225
13963
  }
14226
13964
  };
14227
13965
  }
14228
- function create_fragment27(ctx) {
13966
+ function create_fragment26(ctx) {
14229
13967
  let div;
14230
13968
  let promptbody;
14231
13969
  let current;
@@ -14284,7 +14022,7 @@
14284
14022
  }
14285
14023
  };
14286
14024
  }
14287
- function instance15($$self, $$props, $$invalidate) {
14025
+ function instance14($$self, $$props, $$invalidate) {
14288
14026
  let { sessionData } = $$props;
14289
14027
  let { isFinished = false } = $$props;
14290
14028
  let { isPreviewMode = false } = $$props;
@@ -14713,8 +14451,8 @@
14713
14451
  init(
14714
14452
  this,
14715
14453
  options,
14716
- instance15,
14717
- create_fragment27,
14454
+ instance14,
14455
+ create_fragment26,
14718
14456
  safe_not_equal,
14719
14457
  {
14720
14458
  sessionData: 48,
@@ -14886,7 +14624,7 @@
14886
14624
  }
14887
14625
  };
14888
14626
  }
14889
- function create_if_block_110(ctx) {
14627
+ function create_if_block_19(ctx) {
14890
14628
  let show_if;
14891
14629
  let current_block_type_index;
14892
14630
  let if_block;
@@ -15059,7 +14797,7 @@
15059
14797
  }
15060
14798
  };
15061
14799
  }
15062
- function create_if_block11(ctx) {
14800
+ function create_if_block10(ctx) {
15063
14801
  let span;
15064
14802
  let smallchevronup;
15065
14803
  let current;
@@ -15294,7 +15032,7 @@
15294
15032
  }
15295
15033
  };
15296
15034
  }
15297
- function create_fragment28(ctx) {
15035
+ function create_fragment27(ctx) {
15298
15036
  let span1;
15299
15037
  let div0;
15300
15038
  let div0_class_value;
@@ -15354,9 +15092,9 @@
15354
15092
  (ctx[0] && /*selected*/
15355
15093
  ctx[7] !== "Select answer" || /*isPreviewModeInteractive*/
15356
15094
  ctx[2] && /*previewInteractiveEvent*/
15357
- ctx[6]) && create_if_block_110(ctx)
15095
+ ctx[6]) && create_if_block_19(ctx)
15358
15096
  );
15359
- const if_block_creators = [create_if_block11, create_else_block5];
15097
+ const if_block_creators = [create_if_block10, create_else_block5];
15360
15098
  const if_blocks = [];
15361
15099
  function select_block_type_3(ctx2, dirty) {
15362
15100
  if (
@@ -15615,7 +15353,7 @@
15615
15353
  transition_in(if_block1, 1);
15616
15354
  }
15617
15355
  } else {
15618
- if_block1 = create_if_block_110(ctx);
15356
+ if_block1 = create_if_block_19(ctx);
15619
15357
  if_block1.c();
15620
15358
  transition_in(if_block1, 1);
15621
15359
  if_block1.m(div3, t5);
@@ -15807,7 +15545,7 @@
15807
15545
  };
15808
15546
  }
15809
15547
  var keyPressDelay = 1e3;
15810
- function instance16($$self, $$props, $$invalidate) {
15548
+ function instance15($$self, $$props, $$invalidate) {
15811
15549
  let activeIndex;
15812
15550
  let lastKeyPressTime;
15813
15551
  let focusKeyDelay;
@@ -16125,8 +15863,8 @@
16125
15863
  init(
16126
15864
  this,
16127
15865
  options,
16128
- instance16,
16129
- create_fragment28,
15866
+ instance15,
15867
+ create_fragment27,
16130
15868
  safe_not_equal,
16131
15869
  {
16132
15870
  metadata: 22,
@@ -16210,465 +15948,116 @@
16210
15948
  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
15949
  var PromptDropdownContainer_default = PromptDropdownContainer;
16212
15950
 
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;
15951
+ // src/lib/components/prompt/template/PromptResultFeedbackTable.svelte
15952
+ function get_each_context6(ctx, list, i) {
15953
+ const child_ctx = ctx.slice();
15954
+ child_ctx[6] = list[i];
15955
+ child_ctx[8] = i;
15956
+ return child_ctx;
15957
+ }
15958
+ function get_each_context_12(ctx, list, i) {
15959
+ const child_ctx = ctx.slice();
15960
+ child_ctx[9] = list[i];
15961
+ child_ctx[11] = i;
15962
+ return child_ctx;
15963
+ }
15964
+ function create_else_block_4(ctx) {
16219
15965
  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
15966
  return {
16242
15967
  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
- )));
15968
+ t2 = text("Correct answer\n ");
16263
15969
  },
16264
15970
  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;
15971
+ insert(target, t2, anchor);
16279
15972
  },
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;
15973
+ p: noop,
15974
+ d(detaching) {
15975
+ if (detaching) {
15976
+ detach(t2);
16315
15977
  }
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
15978
  }
16375
15979
  };
16376
15980
  }
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);
16473
- }
16474
- }
16475
- };
16476
- }
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
- );
15981
+ function create_if_block_46(ctx) {
15982
+ let t0;
15983
+ let t1;
15984
+ function select_block_type_1(ctx2, dirty) {
15985
+ if (
15986
+ /*answerResults*/
15987
+ ctx2[1][
15988
+ /*itemIndex*/
15989
+ ctx2[8]
15990
+ ]
15991
+ )
15992
+ return create_if_block_55;
15993
+ return create_else_block_33;
15994
+ }
15995
+ let current_block_type = select_block_type_1(ctx, -1);
15996
+ let if_block = current_block_type(ctx);
16484
15997
  return {
16485
15998
  c() {
16486
- if (if_block)
16487
- if_block.c();
16488
- if_block_anchor = empty();
15999
+ t0 = text("Student's answer\n ");
16000
+ if_block.c();
16001
+ t1 = space();
16489
16002
  },
16490
16003
  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;
16004
+ insert(target, t0, anchor);
16005
+ if_block.m(target, anchor);
16006
+ insert(target, t1, anchor);
16007
+ },
16008
+ p(ctx2, dirty) {
16009
+ if (current_block_type !== (current_block_type = select_block_type_1(ctx2, dirty))) {
16010
+ if_block.d(1);
16011
+ if_block = current_block_type(ctx2);
16012
+ if (if_block) {
16013
+ if_block.c();
16014
+ if_block.m(t1.parentNode, t1);
16015
+ }
16016
+ }
16017
+ },
16018
+ d(detaching) {
16019
+ if (detaching) {
16020
+ detach(t0);
16021
+ detach(t1);
16022
+ }
16023
+ if_block.d(detaching);
16024
+ }
16025
+ };
16644
16026
  }
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;
16027
+ function create_else_block_33(ctx) {
16028
+ let t2;
16029
+ return {
16030
+ c() {
16031
+ t2 = text("(Incorrect)");
16032
+ },
16033
+ m(target, anchor) {
16034
+ insert(target, t2, anchor);
16035
+ },
16036
+ d(detaching) {
16037
+ if (detaching) {
16038
+ detach(t2);
16039
+ }
16040
+ }
16041
+ };
16042
+ }
16043
+ function create_if_block_55(ctx) {
16044
+ let t2;
16045
+ return {
16046
+ c() {
16047
+ t2 = text("(Correct)");
16048
+ },
16049
+ m(target, anchor) {
16050
+ insert(target, t2, anchor);
16051
+ },
16052
+ d(detaching) {
16053
+ if (detaching) {
16054
+ detach(t2);
16055
+ }
16056
+ }
16057
+ };
16650
16058
  }
16651
16059
  function create_else_block_23(ctx) {
16652
16060
  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
16061
  let current;
16673
16062
  commonstringtohtml = new CommonStringToHtml_default({
16674
16063
  props: {
@@ -16688,23 +16077,15 @@
16688
16077
  ctx[6][0]
16689
16078
  )
16690
16079
  ),
16691
- otherClass: "overflow-y-visible break-words",
16692
- ariaHidden: true
16080
+ otherClass: "overflow-y-visible break-words"
16693
16081
  }
16694
16082
  });
16695
16083
  return {
16696
16084
  c() {
16697
16085
  create_component(commonstringtohtml.$$.fragment);
16698
- t0 = space();
16699
- div = element("div");
16700
- t1 = text(t1_value);
16701
- attr(div, "class", "sr-only");
16702
16086
  },
16703
16087
  m(target, anchor) {
16704
16088
  mount_component(commonstringtohtml, target, anchor);
16705
- insert(target, t0, anchor);
16706
- insert(target, div, anchor);
16707
- append(div, t1);
16708
16089
  current = true;
16709
16090
  },
16710
16091
  p(ctx2, dirty) {
@@ -16726,22 +16107,6 @@
16726
16107
  ctx2[6][0]
16727
16108
  );
16728
16109
  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
16110
  },
16746
16111
  i(local) {
16747
16112
  if (current)
@@ -16754,22 +16119,18 @@
16754
16119
  current = false;
16755
16120
  },
16756
16121
  d(detaching) {
16757
- if (detaching) {
16758
- detach(t0);
16759
- detach(div);
16760
- }
16761
16122
  destroy_component(commonstringtohtml, detaching);
16762
16123
  }
16763
16124
  };
16764
16125
  }
16765
- function create_if_block_211(ctx) {
16126
+ function create_if_block_210(ctx) {
16766
16127
  let current_block_type_index;
16767
16128
  let if_block;
16768
16129
  let if_block_anchor;
16769
16130
  let current;
16770
- const if_block_creators = [create_if_block_39, create_else_block_13];
16131
+ const if_block_creators = [create_if_block_38, create_else_block_13];
16771
16132
  const if_blocks = [];
16772
- function select_block_type_1(ctx2, dirty) {
16133
+ function select_block_type_3(ctx2, dirty) {
16773
16134
  if (
16774
16135
  /*sessionAnswer*/
16775
16136
  ctx2[3][
@@ -16780,7 +16141,7 @@
16780
16141
  return 0;
16781
16142
  return 1;
16782
16143
  }
16783
- current_block_type_index = select_block_type_1(ctx, -1);
16144
+ current_block_type_index = select_block_type_3(ctx, -1);
16784
16145
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
16785
16146
  return {
16786
16147
  c() {
@@ -16794,7 +16155,7 @@
16794
16155
  },
16795
16156
  p(ctx2, dirty) {
16796
16157
  let previous_block_index = current_block_type_index;
16797
- current_block_type_index = select_block_type_1(ctx2, dirty);
16158
+ current_block_type_index = select_block_type_3(ctx2, dirty);
16798
16159
  if (current_block_type_index === previous_block_index) {
16799
16160
  if_blocks[current_block_type_index].p(ctx2, dirty);
16800
16161
  } else {
@@ -16851,18 +16212,8 @@
16851
16212
  }
16852
16213
  };
16853
16214
  }
16854
- function create_if_block_39(ctx) {
16215
+ function create_if_block_38(ctx) {
16855
16216
  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
16217
  let current;
16867
16218
  commonstringtohtml = new CommonStringToHtml_default({
16868
16219
  props: {
@@ -16873,23 +16224,15 @@
16873
16224
  ctx[8]
16874
16225
  ]
16875
16226
  ),
16876
- otherClass: "overflow-y-visible break-words",
16877
- ariaHidden: true
16227
+ otherClass: "overflow-y-visible break-words"
16878
16228
  }
16879
16229
  });
16880
16230
  return {
16881
16231
  c() {
16882
16232
  create_component(commonstringtohtml.$$.fragment);
16883
- t0 = space();
16884
- div = element("div");
16885
- t1 = text(t1_value);
16886
- attr(div, "class", "sr-only");
16887
16233
  },
16888
16234
  m(target, anchor) {
16889
16235
  mount_component(commonstringtohtml, target, anchor);
16890
- insert(target, t0, anchor);
16891
- insert(target, div, anchor);
16892
- append(div, t1);
16893
16236
  current = true;
16894
16237
  },
16895
16238
  p(ctx2, dirty) {
@@ -16902,15 +16245,6 @@
16902
16245
  ctx2[8]
16903
16246
  ];
16904
16247
  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
16248
  },
16915
16249
  i(local) {
16916
16250
  if (current)
@@ -16923,24 +16257,20 @@
16923
16257
  current = false;
16924
16258
  },
16925
16259
  d(detaching) {
16926
- if (detaching) {
16927
- detach(t0);
16928
- detach(div);
16929
- }
16930
16260
  destroy_component(commonstringtohtml, detaching);
16931
16261
  }
16932
16262
  };
16933
16263
  }
16934
- function create_if_block13(ctx) {
16264
+ function create_if_block11(ctx) {
16935
16265
  let span1;
16936
16266
  let span0;
16937
16267
  let current_block_type_index;
16938
16268
  let if_block;
16939
16269
  let span0_class_value;
16940
16270
  let current;
16941
- const if_block_creators = [create_if_block_112, create_else_block6];
16271
+ const if_block_creators = [create_if_block_110, create_else_block6];
16942
16272
  const if_blocks = [];
16943
- function select_block_type_2(ctx2, dirty) {
16273
+ function select_block_type_4(ctx2, dirty) {
16944
16274
  if (
16945
16275
  /*answerResults*/
16946
16276
  ctx2[1][
@@ -16951,7 +16281,7 @@
16951
16281
  return 0;
16952
16282
  return 1;
16953
16283
  }
16954
- current_block_type_index = select_block_type_2(ctx, -1);
16284
+ current_block_type_index = select_block_type_4(ctx, -1);
16955
16285
  if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
16956
16286
  return {
16957
16287
  c() {
@@ -16973,7 +16303,7 @@
16973
16303
  },
16974
16304
  p(ctx2, dirty) {
16975
16305
  let previous_block_index = current_block_type_index;
16976
- current_block_type_index = select_block_type_2(ctx2, dirty);
16306
+ current_block_type_index = select_block_type_4(ctx2, dirty);
16977
16307
  if (current_block_type_index !== previous_block_index) {
16978
16308
  group_outros();
16979
16309
  transition_out(if_blocks[previous_block_index], 1, 1, () => {
@@ -17043,7 +16373,7 @@
17043
16373
  }
17044
16374
  };
17045
16375
  }
17046
- function create_if_block_112(ctx) {
16376
+ function create_if_block_110(ctx) {
17047
16377
  let successsolid;
17048
16378
  let current;
17049
16379
  successsolid = new SuccessSolid_default({});
@@ -17071,7 +16401,7 @@
17071
16401
  };
17072
16402
  }
17073
16403
  function create_each_block_12(ctx) {
17074
- let div2;
16404
+ let div3;
17075
16405
  let p;
17076
16406
  let t0_value = useIsEven(
17077
16407
  /*iterationIndex*/
@@ -17081,7 +16411,7 @@
17081
16411
  let t1;
17082
16412
  let p_class_value;
17083
16413
  let t2;
17084
- let div1;
16414
+ let div2;
17085
16415
  let label;
17086
16416
  let span0;
17087
16417
  let t3;
@@ -17089,28 +16419,52 @@
17089
16419
  let label_for_value;
17090
16420
  let label_class_value;
17091
16421
  let t5;
16422
+ let span2;
16423
+ let show_if_2;
16424
+ let t6;
16425
+ let t7_value = (
16426
+ /*itemIndex*/
16427
+ ctx[8] + 1 + ""
16428
+ );
16429
+ let t7;
16430
+ let t8;
16431
+ let span2_id_value;
16432
+ let t9;
16433
+ let div1;
17092
16434
  let div0;
17093
16435
  let show_if_1;
17094
16436
  let current_block_type_index;
17095
- let if_block0;
17096
- let div0_aria_label_value;
17097
- let div0_class_value;
16437
+ let if_block1;
17098
16438
  let div0_id_value;
17099
- let div0_tabindex_value;
16439
+ let div1_aria_labelledby_value;
16440
+ let div1_aria_describedby_value;
16441
+ let div1_class_value;
16442
+ let div1_id_value;
16443
+ let div1_tabindex_value;
17100
16444
  let autosize_action;
17101
- let t6;
16445
+ let t10;
17102
16446
  let show_if = useIsEven(
17103
16447
  /*iterationIndex*/
17104
16448
  ctx[11]
17105
16449
  );
17106
- let div1_class_value;
17107
16450
  let div2_class_value;
16451
+ let div3_class_value;
17108
16452
  let current;
17109
16453
  let mounted;
17110
16454
  let dispose;
17111
- const if_block_creators = [create_if_block_211, create_else_block_23];
17112
- const if_blocks = [];
17113
16455
  function select_block_type(ctx2, dirty) {
16456
+ if (useIsEven(
16457
+ /*iterationIndex*/
16458
+ ctx2[11]
16459
+ ))
16460
+ return create_if_block_46;
16461
+ return create_else_block_4;
16462
+ }
16463
+ let current_block_type = select_block_type(ctx, -1);
16464
+ let if_block0 = current_block_type(ctx);
16465
+ const if_block_creators = [create_if_block_210, create_else_block_23];
16466
+ const if_blocks = [];
16467
+ function select_block_type_2(ctx2, dirty) {
17114
16468
  if (useIsEven(
17115
16469
  /*iterationIndex*/
17116
16470
  ctx2[11]
@@ -17118,17 +16472,17 @@
17118
16472
  return 0;
17119
16473
  return 1;
17120
16474
  }
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);
16475
+ current_block_type_index = select_block_type_2(ctx, -1);
16476
+ if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
16477
+ let if_block2 = show_if && create_if_block11(ctx);
17124
16478
  return {
17125
16479
  c() {
17126
- div2 = element("div");
16480
+ div3 = element("div");
17127
16481
  p = element("p");
17128
16482
  t0 = text(t0_value);
17129
16483
  t1 = text(" answers:");
17130
16484
  t2 = space();
17131
- div1 = element("div");
16485
+ div2 = element("div");
17132
16486
  label = element("label");
17133
16487
  span0 = element("span");
17134
16488
  t3 = space();
@@ -17136,11 +16490,18 @@
17136
16490
  span1.textContent = `${/*itemIndex*/
17137
16491
  ctx[8] + 1}`;
17138
16492
  t5 = space();
17139
- div0 = element("div");
16493
+ span2 = element("span");
17140
16494
  if_block0.c();
17141
- t6 = space();
17142
- if (if_block1)
17143
- if_block1.c();
16495
+ t6 = text(", Item number ");
16496
+ t7 = text(t7_value);
16497
+ t8 = text(":");
16498
+ t9 = space();
16499
+ div1 = element("div");
16500
+ div0 = element("div");
16501
+ if_block1.c();
16502
+ t10 = space();
16503
+ if (if_block2)
16504
+ if_block2.c();
17144
16505
  attr(p, "class", p_class_value = "text-base text-charcoal font-semibold " + (useIsEven(
17145
16506
  /*iterationIndex*/
17146
16507
  ctx[11]
@@ -17181,27 +16542,22 @@
17181
16542
  ctx[11]
17182
16543
  ) ? "" : "hidden"
17183
16544
  )));
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*/
16545
+ attr(span2, "id", span2_id_value = "textbox-" + /*iteration*/
16546
+ ctx[9] + "-" + /*itemIndex*/
16547
+ ctx[8]);
16548
+ attr(span2, "class", "hidden");
16549
+ attr(span2, "aria-hidden", "true");
16550
+ attr(div0, "id", div0_id_value = "textbox-value-" + /*iteration*/
16551
+ ctx[9] + "-" + /*itemIndex*/
16552
+ ctx[8]);
16553
+ attr(div1, "role", "textbox");
16554
+ attr(div1, "aria-labelledby", div1_aria_labelledby_value = "textbox-" + /*iteration*/
16555
+ ctx[9] + "-" + /*itemIndex*/
16556
+ ctx[8]);
16557
+ attr(div1, "aria-describedby", div1_aria_describedby_value = "textbox-value-" + /*iteration*/
16558
+ ctx[9] + "-" + /*itemIndex*/
16559
+ ctx[8]);
16560
+ attr(div1, "class", div1_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
17205
16561
  (ctx[4] > 1 && !useIsEven(
17206
16562
  /*iterationIndex*/
17207
16563
  ctx[11]
@@ -17229,12 +16585,12 @@
17229
16585
  /*itemIndex*/
17230
16586
  ctx[8]
17231
16587
  ] ? "border-2 border-red-900 bg-red-50" : ""));
17232
- attr(div0, "aria-readonly", "true");
17233
- attr(div0, "id", div0_id_value = `${/*iterationIndex*/
16588
+ attr(div1, "aria-readonly", "true");
16589
+ attr(div1, "id", div1_id_value = `${/*iterationIndex*/
17234
16590
  ctx[11]}-${/*sessionId*/
17235
16591
  ctx[0]}-${/*itemIndex*/
17236
16592
  ctx[8]}`);
17237
- attr(div0, "tabindex", div0_tabindex_value = !useIsEven(
16593
+ attr(div1, "tabindex", div1_tabindex_value = !useIsEven(
17238
16594
  /*iterationIndex*/
17239
16595
  ctx[11]
17240
16596
  ) && /*answerResults*/
@@ -17242,7 +16598,7 @@
17242
16598
  /*itemIndex*/
17243
16599
  ctx[8]
17244
16600
  ] ? "-1" : "0");
17245
- attr(div1, "class", div1_class_value = "h-fit relative " + (!useIsEven(
16601
+ attr(div2, "class", div2_class_value = "h-fit relative " + (!useIsEven(
17246
16602
  /*iterationIndex*/
17247
16603
  ctx[11]
17248
16604
  ) && /*answerResults*/
@@ -17250,31 +16606,38 @@
17250
16606
  /*itemIndex*/
17251
16607
  ctx[8]
17252
16608
  ] ? "hidden md:block" : ""));
17253
- attr(div2, "class", div2_class_value = "flex flex-col md:w-1/2 " + (useIsEven(
16609
+ attr(div3, "class", div3_class_value = "flex flex-col md:w-1/2 " + (useIsEven(
17254
16610
  /*iterationIndex*/
17255
16611
  ctx[11]
17256
16612
  ) ? "md:pr-4" : "ml-8.5 md:ml-0 md:pl-4"));
17257
16613
  },
17258
16614
  m(target, anchor) {
17259
- insert(target, div2, anchor);
17260
- append(div2, p);
16615
+ insert(target, div3, anchor);
16616
+ append(div3, p);
17261
16617
  append(p, t0);
17262
16618
  append(p, t1);
17263
- append(div2, t2);
17264
- append(div2, div1);
17265
- append(div1, label);
16619
+ append(div3, t2);
16620
+ append(div3, div2);
16621
+ append(div2, label);
17266
16622
  append(label, span0);
17267
16623
  append(label, t3);
17268
16624
  append(label, span1);
17269
- append(div1, t5);
16625
+ append(div2, t5);
16626
+ append(div2, span2);
16627
+ if_block0.m(span2, null);
16628
+ append(span2, t6);
16629
+ append(span2, t7);
16630
+ append(span2, t8);
16631
+ append(div2, t9);
16632
+ append(div2, div1);
17270
16633
  append(div1, div0);
17271
16634
  if_blocks[current_block_type_index].m(div0, null);
17272
- append(div1, t6);
17273
- if (if_block1)
17274
- if_block1.m(div1, null);
16635
+ append(div2, t10);
16636
+ if (if_block2)
16637
+ if_block2.m(div2, null);
17275
16638
  current = true;
17276
16639
  if (!mounted) {
17277
- dispose = action_destroyer(autosize_action = svelte_autosize_default.call(null, div0));
16640
+ dispose = action_destroyer(autosize_action = svelte_autosize_default.call(null, div1));
17278
16641
  mounted = true;
17279
16642
  }
17280
16643
  },
@@ -17313,30 +16676,9 @@
17313
16676
  attr(label, "for", label_for_value);
17314
16677
  }
17315
16678
  if_block0.p(ctx2, dirty);
16679
+ if_block1.p(ctx2, dirty);
17316
16680
  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*/
16681
+ 2 && div1_class_value !== (div1_class_value = "typein-textbox py-[9px] pr-4 mt-4 " + /*correctAnswerDataLength*/
17340
16682
  (ctx2[4] > 1 && !useIsEven(
17341
16683
  /*iterationIndex*/
17342
16684
  ctx2[11]
@@ -17364,17 +16706,17 @@
17364
16706
  /*itemIndex*/
17365
16707
  ctx2[8]
17366
16708
  ] ? "border-2 border-red-900 bg-red-50" : ""))) {
17367
- attr(div0, "class", div0_class_value);
16709
+ attr(div1, "class", div1_class_value);
17368
16710
  }
17369
16711
  if (!current || dirty & /*sessionId*/
17370
- 1 && div0_id_value !== (div0_id_value = `${/*iterationIndex*/
16712
+ 1 && div1_id_value !== (div1_id_value = `${/*iterationIndex*/
17371
16713
  ctx2[11]}-${/*sessionId*/
17372
16714
  ctx2[0]}-${/*itemIndex*/
17373
16715
  ctx2[8]}`)) {
17374
- attr(div0, "id", div0_id_value);
16716
+ attr(div1, "id", div1_id_value);
17375
16717
  }
17376
16718
  if (!current || dirty & /*answerResults*/
17377
- 2 && div0_tabindex_value !== (div0_tabindex_value = !useIsEven(
16719
+ 2 && div1_tabindex_value !== (div1_tabindex_value = !useIsEven(
17378
16720
  /*iterationIndex*/
17379
16721
  ctx2[11]
17380
16722
  ) && /*answerResults*/
@@ -17382,12 +16724,12 @@
17382
16724
  /*itemIndex*/
17383
16725
  ctx2[8]
17384
16726
  ] ? "-1" : "0")) {
17385
- attr(div0, "tabindex", div0_tabindex_value);
16727
+ attr(div1, "tabindex", div1_tabindex_value);
17386
16728
  }
17387
16729
  if (show_if)
17388
- if_block1.p(ctx2, dirty);
16730
+ if_block2.p(ctx2, dirty);
17389
16731
  if (!current || dirty & /*answerResults*/
17390
- 2 && div1_class_value !== (div1_class_value = "h-fit relative " + (!useIsEven(
16732
+ 2 && div2_class_value !== (div2_class_value = "h-fit relative " + (!useIsEven(
17391
16733
  /*iterationIndex*/
17392
16734
  ctx2[11]
17393
16735
  ) && /*answerResults*/
@@ -17395,28 +16737,29 @@
17395
16737
  /*itemIndex*/
17396
16738
  ctx2[8]
17397
16739
  ] ? "hidden md:block" : ""))) {
17398
- attr(div1, "class", div1_class_value);
16740
+ attr(div2, "class", div2_class_value);
17399
16741
  }
17400
16742
  },
17401
16743
  i(local) {
17402
16744
  if (current)
17403
16745
  return;
17404
- transition_in(if_block0);
17405
16746
  transition_in(if_block1);
16747
+ transition_in(if_block2);
17406
16748
  current = true;
17407
16749
  },
17408
16750
  o(local) {
17409
- transition_out(if_block0);
17410
16751
  transition_out(if_block1);
16752
+ transition_out(if_block2);
17411
16753
  current = false;
17412
16754
  },
17413
16755
  d(detaching) {
17414
16756
  if (detaching) {
17415
- detach(div2);
16757
+ detach(div3);
17416
16758
  }
16759
+ if_block0.d();
17417
16760
  if_blocks[current_block_type_index].d();
17418
- if (if_block1)
17419
- if_block1.d();
16761
+ if (if_block2)
16762
+ if_block2.d();
17420
16763
  mounted = false;
17421
16764
  dispose();
17422
16765
  }
@@ -17457,8 +16800,8 @@
17457
16800
  current = true;
17458
16801
  },
17459
16802
  p(ctx2, dirty) {
17460
- if (dirty & /*answerResults, correctAnswerDataLength, sessionId, sessionAnswer, correctAnswers*/
17461
- 31) {
16803
+ if (dirty & /*answerResults, inlineIteration, correctAnswerDataLength, sessionId, sessionAnswer, correctAnswers*/
16804
+ 63) {
17462
16805
  each_value_1 = ensure_array_like(
17463
16806
  /*inlineIteration*/
17464
16807
  ctx2[5]
@@ -17506,7 +16849,7 @@
17506
16849
  }
17507
16850
  };
17508
16851
  }
17509
- function create_fragment30(ctx) {
16852
+ function create_fragment28(ctx) {
17510
16853
  let each_1_anchor;
17511
16854
  let current;
17512
16855
  let each_value = ensure_array_like(
@@ -17586,7 +16929,7 @@
17586
16929
  }
17587
16930
  };
17588
16931
  }
17589
- function instance18($$self, $$props, $$invalidate) {
16932
+ function instance16($$self, $$props, $$invalidate) {
17590
16933
  let { sessionId } = $$props;
17591
16934
  let { answerResults = [] } = $$props;
17592
16935
  let { correctAnswers = [] } = $$props;
@@ -17615,7 +16958,7 @@
17615
16958
  var PromptResultFeedbackTable = class extends SvelteComponent {
17616
16959
  constructor(options) {
17617
16960
  super();
17618
- init(this, options, instance18, create_fragment30, safe_not_equal, {
16961
+ init(this, options, instance16, create_fragment28, safe_not_equal, {
17619
16962
  sessionId: 0,
17620
16963
  answerResults: 1,
17621
16964
  correctAnswers: 2,
@@ -17693,7 +17036,7 @@
17693
17036
  }
17694
17037
  };
17695
17038
  }
17696
- function create_if_block_113(ctx) {
17039
+ function create_if_block_111(ctx) {
17697
17040
  let promptdropdowncontainer;
17698
17041
  let current;
17699
17042
  promptdropdowncontainer = new PromptDropdownContainer_default({
@@ -17805,7 +17148,7 @@
17805
17148
  let if_block;
17806
17149
  let if_block_anchor;
17807
17150
  let current;
17808
- const if_block_creators = [create_if_block_113, create_else_block7];
17151
+ const if_block_creators = [create_if_block_111, create_else_block7];
17809
17152
  const if_blocks = [];
17810
17153
  function select_block_type(ctx2, dirty) {
17811
17154
  if (
@@ -17848,14 +17191,14 @@
17848
17191
  }
17849
17192
  };
17850
17193
  }
17851
- function create_if_block14(ctx) {
17194
+ function create_if_block12(ctx) {
17852
17195
  let div;
17853
17196
  let t0;
17854
17197
  let promptresult;
17855
17198
  let t1;
17856
17199
  let promptresultfeedbacktable;
17857
17200
  let current;
17858
- promptresult = new PromptResultFeedbackv3_default({
17201
+ promptresult = new PromptResultFeedbackAlert_default({
17859
17202
  props: {
17860
17203
  isResultCorrect: (
17861
17204
  /*isResultCorrect*/
@@ -17990,7 +17333,7 @@
17990
17333
  (ctx[2] && !/*isPreviewMode*/
17991
17334
  ctx[3] || /*isPreviewModeInteractive*/
17992
17335
  ctx[4] && /*previewInteractiveEvent*/
17993
- ctx[9]) && create_if_block14(ctx)
17336
+ ctx[9]) && create_if_block12(ctx)
17994
17337
  );
17995
17338
  return {
17996
17339
  c() {
@@ -18060,7 +17403,7 @@
18060
17403
  transition_in(if_block, 1);
18061
17404
  }
18062
17405
  } else {
18063
- if_block = create_if_block14(ctx2);
17406
+ if_block = create_if_block12(ctx2);
18064
17407
  if_block.c();
18065
17408
  transition_in(if_block, 1);
18066
17409
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -18102,7 +17445,7 @@
18102
17445
  }
18103
17446
  };
18104
17447
  }
18105
- function create_fragment31(ctx) {
17448
+ function create_fragment29(ctx) {
18106
17449
  let promptbody;
18107
17450
  let current;
18108
17451
  promptbody = new PromptBody_default({
@@ -18157,7 +17500,7 @@
18157
17500
  }
18158
17501
  };
18159
17502
  }
18160
- function instance19($$self, $$props, $$invalidate) {
17503
+ function instance17($$self, $$props, $$invalidate) {
18161
17504
  let answer;
18162
17505
  let getSessionFeedbackData;
18163
17506
  let isSkipped;
@@ -18367,8 +17710,8 @@
18367
17710
  init(
18368
17711
  this,
18369
17712
  options,
18370
- instance19,
18371
- create_fragment31,
17713
+ instance17,
17714
+ create_fragment29,
18372
17715
  safe_not_equal,
18373
17716
  {
18374
17717
  sessionData: 0,
@@ -18429,7 +17772,7 @@
18429
17772
  var PromptDropdown_default = PromptDropdown;
18430
17773
 
18431
17774
  // src/lib/components/prompt/skeleton/PromptSkeleton.svelte
18432
- function create_fragment32(ctx) {
17775
+ function create_fragment30(ctx) {
18433
17776
  let div3;
18434
17777
  return {
18435
17778
  c() {
@@ -18452,7 +17795,7 @@
18452
17795
  var PromptSkeleton = class extends SvelteComponent {
18453
17796
  constructor(options) {
18454
17797
  super();
18455
- init(this, options, null, create_fragment32, safe_not_equal, {});
17798
+ init(this, options, null, create_fragment30, safe_not_equal, {});
18456
17799
  }
18457
17800
  };
18458
17801
  customElements.define("prompt-skeleton", create_custom_element(PromptSkeleton, {}, [], [], true));
@@ -18460,7 +17803,7 @@
18460
17803
 
18461
17804
  // src/lib/components/prompt/PromptBuilder.svelte
18462
17805
  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}}');
17806
+ 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
17807
  }
18465
17808
  function create_else_block_14(ctx) {
18466
17809
  let invalidbanner;
@@ -18490,16 +17833,16 @@
18490
17833
  }
18491
17834
  };
18492
17835
  }
18493
- function create_if_block_114(ctx) {
17836
+ function create_if_block_112(ctx) {
18494
17837
  let current_block_type_index;
18495
17838
  let if_block;
18496
17839
  let if_block_anchor;
18497
17840
  let current;
18498
17841
  const if_block_creators = [
18499
- create_if_block_212,
18500
- create_if_block_310,
18501
- create_if_block_46,
18502
- create_if_block_55,
17842
+ create_if_block_211,
17843
+ create_if_block_39,
17844
+ create_if_block_47,
17845
+ create_if_block_56,
18503
17846
  create_else_block8
18504
17847
  ];
18505
17848
  const if_blocks = [];
@@ -18578,7 +17921,7 @@
18578
17921
  }
18579
17922
  };
18580
17923
  }
18581
- function create_if_block15(ctx) {
17924
+ function create_if_block13(ctx) {
18582
17925
  let promptskeleton;
18583
17926
  let current;
18584
17927
  promptskeleton = new PromptSkeleton_default({});
@@ -18634,7 +17977,7 @@
18634
17977
  }
18635
17978
  };
18636
17979
  }
18637
- function create_if_block_55(ctx) {
17980
+ function create_if_block_56(ctx) {
18638
17981
  let promptdropdown;
18639
17982
  let current;
18640
17983
  promptdropdown = new PromptDropdown_default({
@@ -18709,7 +18052,7 @@
18709
18052
  }
18710
18053
  };
18711
18054
  }
18712
- function create_if_block_46(ctx) {
18055
+ function create_if_block_47(ctx) {
18713
18056
  let promptcategorise;
18714
18057
  let current;
18715
18058
  promptcategorise = new PromptCategorise_default({
@@ -18780,7 +18123,7 @@
18780
18123
  }
18781
18124
  };
18782
18125
  }
18783
- function create_if_block_310(ctx) {
18126
+ function create_if_block_39(ctx) {
18784
18127
  let prompttypein;
18785
18128
  let current;
18786
18129
  prompttypein = new PromptTypeIn_default({
@@ -18871,7 +18214,7 @@
18871
18214
  }
18872
18215
  };
18873
18216
  }
18874
- function create_if_block_212(ctx) {
18217
+ function create_if_block_211(ctx) {
18875
18218
  let promptmcq;
18876
18219
  let current;
18877
18220
  promptmcq = new PromptMCQ_default({
@@ -18950,7 +18293,7 @@
18950
18293
  }
18951
18294
  };
18952
18295
  }
18953
- function create_fragment33(ctx) {
18296
+ function create_fragment31(ctx) {
18954
18297
  let current_block_type_index;
18955
18298
  let if_block;
18956
18299
  let t2;
@@ -18958,7 +18301,7 @@
18958
18301
  let link1;
18959
18302
  let link2;
18960
18303
  let current;
18961
- const if_block_creators = [create_if_block15, create_if_block_114, create_else_block_14];
18304
+ const if_block_creators = [create_if_block13, create_if_block_112, create_else_block_14];
18962
18305
  const if_blocks = [];
18963
18306
  function select_block_type(ctx2, dirty) {
18964
18307
  if (
@@ -19042,7 +18385,7 @@
19042
18385
  };
19043
18386
  }
19044
18387
  var bannerLabel = "Invalid session id.";
19045
- function instance20($$self, $$props, $$invalidate) {
18388
+ function instance18($$self, $$props, $$invalidate) {
19046
18389
  const { "session-id": sessionId, "preview-mode": previewMode, "item-id": itemId, "preview-contentful": previewContentful } = $$props;
19047
18390
  const previewModeType = ["true", "interactive"];
19048
18391
  const isPreviewModeInteractive = Boolean(previewMode === "interactive" && itemId);
@@ -19312,7 +18655,7 @@
19312
18655
  var PromptBuilder = class extends SvelteComponent {
19313
18656
  constructor(options) {
19314
18657
  super();
19315
- init(this, options, instance20, create_fragment33, safe_not_equal, {}, add_css2);
18658
+ init(this, options, instance18, create_fragment31, safe_not_equal, {}, add_css2);
19316
18659
  }
19317
18660
  };
19318
18661
  customElements.define("prompt-builder", create_custom_element(PromptBuilder, {}, [], [], true));