@pie-element/explicit-constructed-response 11.1.2-next.0 → 11.1.2-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/dist/author/alternateResponses.js +36 -39
  2. package/dist/author/alternateSection.d.ts +1 -1
  3. package/dist/author/alternateSection.js +55 -57
  4. package/dist/author/index.js +18 -19
  5. package/dist/author/main.d.ts +1 -1
  6. package/dist/author/main.js +139 -142
  7. package/dist/author/markupUtils.js +1 -1
  8. package/dist/browser/author/index.js +743 -863
  9. package/dist/browser/author/index.js.map +1 -1
  10. package/dist/browser/browser-BC3WygxE.js +360 -0
  11. package/dist/browser/browser-BC3WygxE.js.map +1 -0
  12. package/dist/browser/controller/index.js +63 -94
  13. package/dist/browser/controller/index.js.map +1 -1
  14. package/dist/browser/delivery/index.js +2 -2
  15. package/dist/browser/{dist-DnL6t4VO.js → dist-D5D48-XD.js} +10101 -10580
  16. package/dist/browser/dist-D5D48-XD.js.map +1 -0
  17. package/dist/browser/{main-V_e6PRBN.js → main-B4lD1zyg.js} +253 -235
  18. package/dist/browser/main-B4lD1zyg.js.map +1 -0
  19. package/dist/browser/print/index.js +5 -5
  20. package/dist/browser/print/index.js.map +1 -1
  21. package/dist/controller/index.d.ts +2 -2
  22. package/dist/controller/index.js +38 -41
  23. package/dist/delivery/main.js +28 -30
  24. package/dist/index.iife.js +100 -100
  25. package/dist/print/index.js +10 -10
  26. package/dist/runtime-support.d.ts +12 -0
  27. package/dist/runtime-support.js +12 -0
  28. package/package.json +14 -10
  29. package/dist/browser/browser-DbR93LB7.js +0 -950
  30. package/dist/browser/browser-DbR93LB7.js.map +0 -1
  31. package/dist/browser/dist-DnL6t4VO.js.map +0 -1
  32. package/dist/browser/main-V_e6PRBN.js.map +0 -1
  33. package/dist/browser/reduce-Bqz7DMQ0.js +0 -172
  34. package/dist/browser/reduce-Bqz7DMQ0.js.map +0 -1
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js +0 -8
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js +0 -6
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseExtremum.js +0 -11
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +0 -7
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +0 -13
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +0 -5
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js +0 -8
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGt.js +0 -6
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +0 -6
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js +0 -26
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js +0 -11
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js +0 -11
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +0 -12
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePick.js +0 -10
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +0 -13
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +0 -8
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +0 -9
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyOf.js +0 -8
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js +0 -8
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +0 -22
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js +0 -12
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +0 -12
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js +0 -19
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_escapeHtmlChar.js +0 -11
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +0 -9
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js +0 -16
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +0 -18
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +0 -10
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +0 -12
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js +0 -7
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +0 -50
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +0 -16
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/escape.js +0 -9
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +0 -6
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +0 -13
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +0 -7
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  202. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
  203. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
  204. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  205. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  206. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  207. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  208. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  209. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  210. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  211. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  212. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  213. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  214. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/map.js +0 -10
  215. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/max.js +0 -9
  216. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
  217. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +0 -7
  218. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pick.js +0 -8
  219. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +0 -10
  220. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reduce.js +0 -12
  221. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  222. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  223. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/throttle.js +0 -15
  224. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js +0 -8
  225. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +0 -8
  226. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
  227. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
@@ -1,69 +1,66 @@
1
- import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
2
- import t from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js";
3
- import n from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pick.js";
4
- import r from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/throttle.js";
5
- import { decodeHTML as i, getAdjustedLength as a } from "./markupUtils.js";
6
- import o from "./ecr-toolbar.js";
7
- import s from "./alternateResponses.js";
8
- import { generateValidationMessage as c } from "./utils.js";
9
- import l from "react";
10
- import u from "prop-types";
1
+ import { decodeHTML as e, getAdjustedLength as t } from "./markupUtils.js";
2
+ import n from "./ecr-toolbar.js";
3
+ import r from "./alternateResponses.js";
4
+ import { generateValidationMessage as i } from "./utils.js";
5
+ import a from "react";
6
+ import o from "prop-types";
7
+ import { cloneDeep as s, isEmpty as c, pick as l, throttle as u } from "@pie-element/shared-lodash";
11
8
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
12
9
  import { styled as p } from "@mui/material/styles";
13
- import m, { ALL_PLUGINS as h } from "@pie-lib/editable-html-tip-tap";
14
- import { InputContainer as g, layout as ee, settings as _ } from "@pie-lib/config-ui";
15
- import v from "@mui/material/Typography";
16
- import y from "@mui/icons-material/Info";
17
- import b from "@mui/material/Tooltip";
10
+ import m, { ALL_PLUGINS as ee } from "@pie-lib/editable-html-tip-tap";
11
+ import { InputContainer as h, layout as te, settings as g } from "@pie-lib/config-ui";
12
+ import _ from "@mui/material/Typography";
13
+ import ne from "@mui/icons-material/Info";
14
+ import v from "@mui/material/Tooltip";
18
15
  //#region src/author/main.tsx
19
- var { toggle: x, Panel: te, dropdown: ne } = _, S = p(g)(({ theme: e }) => ({
16
+ var { toggle: y, Panel: re, dropdown: ie } = g, b = p(h)(({ theme: e }) => ({
20
17
  width: "100%",
21
18
  paddingTop: e.spacing(1),
22
19
  marginTop: e.spacing(2),
23
20
  marginBottom: e.spacing(2)
24
- })), C = p(m)(({ theme: e }) => ({
21
+ })), ae = p(m)(({ theme: e }) => ({
25
22
  minHeight: "100px",
26
23
  paddingTop: e.spacing(1),
27
24
  width: "100%",
28
25
  "& [data-slate-editor=\"true\"]": { minHeight: "100px" }
29
- })), re = p(v)(({ theme: e }) => ({ fontSize: e.typography.fontSize + 2 })), ie = p(b)(({ theme: e }) => ({ "& .MuiTooltip-tooltip": {
26
+ })), oe = p(_)(({ theme: e }) => ({ fontSize: e.typography.fontSize + 2 })), x = p(v)(({ theme: e }) => ({ "& .MuiTooltip-tooltip": {
30
27
  fontSize: e.typography.fontSize - 2,
31
28
  whiteSpace: "pre",
32
29
  maxWidth: "500px"
33
- } })), w = p("div")(({ theme: e }) => ({
30
+ } })), S = p("div")(({ theme: e }) => ({
34
31
  fontSize: e.typography.fontSize - 2,
35
32
  color: e.palette.error.main,
36
33
  paddingTop: e.spacing(1)
37
- })), T = p("div")({
34
+ })), se = p("div")({
38
35
  display: "flex",
39
36
  alignItems: "center"
40
- }), E = p(v)(({ theme: e }) => ({
37
+ }), ce = p(_)(({ theme: e }) => ({
41
38
  fontSize: e.typography.fontSize + 2,
42
39
  marginTop: e.spacing(3),
43
40
  marginBottom: e.spacing(1)
44
- })), D = (e) => {
41
+ })), C = (e) => {
45
42
  let t = document.createElement("div");
46
43
  return t.innerHTML = e.trim(), t;
47
- }, O = class extends l.Component {
44
+ }, w = class extends a.Component {
48
45
  static propTypes = {
49
- configuration: u.object.isRequired,
50
- model: u.object.isRequired,
51
- disableSidePanel: u.bool,
52
- onModelChanged: u.func.isRequired,
53
- onConfigurationChanged: u.func.isRequired,
54
- imageSupport: u.shape({
55
- add: u.func.isRequired,
56
- delete: u.func.isRequired
46
+ configuration: o.object.isRequired,
47
+ model: o.object.isRequired,
48
+ disableSidePanel: o.bool,
49
+ onModelChanged: o.func.isRequired,
50
+ onConfigurationChanged: o.func.isRequired,
51
+ imageSupport: o.shape({
52
+ add: o.func.isRequired,
53
+ delete: o.func.isRequired
57
54
  }),
58
- uploadSoundSupport: u.object
55
+ uploadSoundSupport: o.object
59
56
  };
60
57
  state = {};
61
58
  componentDidMount() {
62
- let { model: { slateMarkup: e, choices: t, maxLengthPerChoice: n = [] }, onModelChanged: r } = this.props, o = !n.length;
63
- this.setState({ markup: e }), Object.values(t).forEach((e, t) => {
64
- let r = e.map((e) => i(e.label || "").length), s = Math.max(...r);
65
- (o || !n[t] || n[t] < s || n[t] > s + 10) && (n[t] = a(s));
66
- }), r({ maxLengthPerChoice: n });
59
+ let { model: { slateMarkup: n, choices: r, maxLengthPerChoice: i = [] }, onModelChanged: a } = this.props, o = !i.length;
60
+ this.setState({ markup: n }), Object.values(r).forEach((n, r) => {
61
+ let a = n.map((t) => e(t.label || "").length), s = Math.max(...a);
62
+ (o || !i[r] || i[r] < s || i[r] > s + 10) && (i[r] = t(s));
63
+ }), a({ maxLengthPerChoice: i });
67
64
  }
68
65
  onModelChange = (e) => {
69
66
  this.props.onModelChanged({ ...e });
@@ -88,207 +85,207 @@ var { toggle: x, Panel: te, dropdown: ne } = _, S = p(g)(({ theme: e }) => ({
88
85
  let { onModelChanged: t } = this.props;
89
86
  t({ maxLengthPerChoice: e });
90
87
  };
91
- onChangeResponse = (e, t) => {
92
- let { model: n, onModelChanged: r } = this.props, { choices: o } = n, { maxLengthPerChoice: s } = n, c = i(t || "").length;
93
- if (!o[e] || !o[e].length) {
94
- o[e] = [{
95
- label: t || "",
88
+ onChangeResponse = (n, r) => {
89
+ let { model: i, onModelChanged: a } = this.props, { choices: o } = i, { maxLengthPerChoice: s } = i, c = e(r || "").length;
90
+ if (!o[n] || !o[n].length) {
91
+ o[n] = [{
92
+ label: r || "",
96
93
  value: "0"
97
94
  }];
98
- let n = e > s.length ? e - s.length : 0;
99
- s = [...s, ...Array(n).fill(1)], s.splice(e, 0, a(c));
100
- } else o[e][0].label = t || "", s && (s[e] < c || s[e] > c + 10) && (s[e] = a(c));
101
- r({
95
+ let e = n > s.length ? n - s.length : 0;
96
+ s = [...s, ...Array(e).fill(1)], s.splice(n, 0, t(c));
97
+ } else o[n][0].label = r || "", s && (s[n] < c || s[n] > c + 10) && (s[n] = t(c));
98
+ a({
102
99
  choices: o,
103
100
  maxLengthPerChoice: s
104
101
  });
105
102
  };
106
- onChange = (t) => {
107
- let { model: { choices: n, maxLengthPerChoice: r }, onModelChanged: i } = this.props, a = D(t), o = a.querySelectorAll("[data-type=\"explicit_constructed_response\"]"), s = {}, c = [];
108
- o.forEach((t, i) => {
109
- let a = e(n[t.dataset.index]);
110
- a && (a[0] = {
111
- label: t.dataset.value || "",
103
+ onChange = (e) => {
104
+ let { model: { choices: t, maxLengthPerChoice: n }, onModelChanged: r } = this.props, i = C(e), a = i.querySelectorAll("[data-type=\"explicit_constructed_response\"]"), o = {}, c = [];
105
+ a.forEach((e, r) => {
106
+ let i = s(t[e.dataset.index]);
107
+ i && (i[0] = {
108
+ label: e.dataset.value || "",
112
109
  value: "0"
113
- }, c[i] = r[t.dataset.index]), s[i] = a, t.dataset.index = i;
114
- }), this.setState({ cachedChoices: void 0 }, () => i({
115
- choices: s,
116
- slateMarkup: a.innerHTML,
110
+ }, c[r] = n[e.dataset.index]), o[r] = i, e.dataset.index = r;
111
+ }), this.setState({ cachedChoices: void 0 }, () => r({
112
+ choices: o,
113
+ slateMarkup: i.innerHTML,
117
114
  maxLengthPerChoice: c
118
115
  }));
119
116
  };
120
- onHandleAreaChange = r((t) => {
121
- let { model: { choices: r }, onModelChanged: i } = this.props, { cachedChoices: a } = this.state;
122
- if (!t) return;
123
- let o = r ? e(r) : {}, s = a ? e(a) : {};
124
- t.forEach((e) => {
117
+ onHandleAreaChange = u((e) => {
118
+ let { model: { choices: t }, onModelChanged: n } = this.props, { cachedChoices: r } = this.state;
119
+ if (!e) return;
120
+ let i = t ? s(t) : {}, a = r ? s(r) : {};
121
+ e.forEach((e) => {
125
122
  let t = e.index;
126
- !o[t] && s[t] ? (Object.assign(o, n(s, t)), Object.prototype.hasOwnProperty.call(s, t) && delete s[t]) : (Object.assign(s, n(o, t)), Object.prototype.hasOwnProperty.call(o, t) && delete o[t]);
127
- }), this.setState({ cachedChoices: s }, () => i({ choices: o }));
123
+ !i[t] && a[t] ? (Object.assign(i, l(a, t)), Object.prototype.hasOwnProperty.call(a, t) && delete a[t]) : (Object.assign(a, l(i, t)), Object.prototype.hasOwnProperty.call(i, t) && delete i[t]);
124
+ }), this.setState({ cachedChoices: a }, () => n({ choices: i }));
128
125
  }, 500, {
129
126
  trailing: !1,
130
127
  leading: !0
131
128
  });
132
129
  render() {
133
- let { model: e, configuration: n, onConfigurationChanged: r, imageSupport: i, uploadSoundSupport: a } = this.props, { baseInputConfiguration: l = {}, contentDimensions: u = {}, maxImageWidth: p = {}, maxImageHeight: g = {}, maxLengthPerChoice: _ = {}, maxResponseAreas: v, partialScoring: b = {}, playerSpellCheck: D = {}, prompt: O = {}, rationale: k = {}, template: ae = {}, settingsPanelDisabled: oe, spellCheck: A = {}, editSource: j = {}, teacherInstructions: M = {}, withRubric: N = {}, mathMlOptions: P = {}, language: F = {}, languageChoices: I = {}, spanishButton: L = {}, responseAreaInputConfiguration: R = {} } = n || {}, { errors: z, extraCSSRules: B, maxLengthPerChoiceEnabled: V, promptEnabled: H, rationaleEnabled: U, spellCheckEnabled: W, teacherInstructionsEnabled: se, toolbarEditorPosition: ce } = e || {}, { choices: G = {}, prompt: K, rationale: q, responseAreas: J, teacherInstructions: Y } = z || {}, le = c(n), X = p && p.prompt, Z = g && g.prompt, Q = { position: ce === "top" ? "top" : "bottom" }, ue = {
134
- partialScoring: b.settings && x(b.label),
135
- maxLengthPerChoiceEnabled: _.settings && x(_.label),
136
- "language.enabled": F.settings && x(F.label, !0),
137
- language: F.settings && F.enabled && ne(I.label, I.options),
138
- "responseAreaInputConfiguration.inputConfiguration.characters.disabled": L.settings && x(L.label, !0)
130
+ let { model: e, configuration: t, onConfigurationChanged: a, imageSupport: o, uploadSoundSupport: s } = this.props, { baseInputConfiguration: l = {}, contentDimensions: u = {}, maxImageWidth: p = {}, maxImageHeight: h = {}, maxLengthPerChoice: g = {}, maxResponseAreas: _, partialScoring: v = {}, playerSpellCheck: C = {}, prompt: w = {}, rationale: T = {}, template: le = {}, settingsPanelDisabled: E, spellCheck: D = {}, editSource: O = {}, teacherInstructions: k = {}, withRubric: A = {}, mathMlOptions: j = {}, language: M = {}, languageChoices: N = {}, spanishButton: P = {}, responseAreaInputConfiguration: F = {} } = t || {}, { errors: I, extraCSSRules: L, maxLengthPerChoiceEnabled: R, promptEnabled: z, rationaleEnabled: B, spellCheckEnabled: V, teacherInstructionsEnabled: H, toolbarEditorPosition: U } = e || {}, { choices: W = {}, prompt: G, rationale: K, responseAreas: q, teacherInstructions: J } = I || {}, Y = i(t), X = p && p.prompt, Z = h && h.prompt, Q = { position: U === "top" ? "top" : "bottom" }, ue = {
131
+ partialScoring: v.settings && y(v.label),
132
+ maxLengthPerChoiceEnabled: g.settings && y(g.label),
133
+ "language.enabled": M.settings && y(M.label, !0),
134
+ language: M.settings && M.enabled && ie(N.label, N.options),
135
+ "responseAreaInputConfiguration.inputConfiguration.characters.disabled": P.settings && y(P.label, !0)
139
136
  }, de = {
140
- teacherInstructionsEnabled: M.settings && x(M.label),
141
- rationaleEnabled: k.settings && x(k.label),
142
- promptEnabled: O.settings && x(O.label),
143
- spellCheckEnabled: A.settings && x(A.label),
144
- playerSpellCheckEnabled: D.settings && x(D.label),
145
- rubricEnabled: N?.settings && x(N?.label),
146
- "editSource.enabled": j?.settings && x(j.label, !0)
137
+ teacherInstructionsEnabled: k.settings && y(k.label),
138
+ rationaleEnabled: T.settings && y(T.label),
139
+ promptEnabled: w.settings && y(w.label),
140
+ spellCheckEnabled: D.settings && y(D.label),
141
+ playerSpellCheckEnabled: C.settings && y(C.label),
142
+ rubricEnabled: A?.settings && y(A?.label),
143
+ "editSource.enabled": O?.settings && y(O.label, !0)
147
144
  }, $ = (e = {}) => ({
148
145
  ...l,
149
146
  ...e
150
147
  });
151
- return /* @__PURE__ */ f(ee.ConfigLayout, {
152
- extraCSSRules: B,
148
+ return /* @__PURE__ */ f(te.ConfigLayout, {
149
+ extraCSSRules: L,
153
150
  dimensions: u,
154
- hideSettings: oe,
155
- settings: /* @__PURE__ */ d(te, {
151
+ hideSettings: E,
152
+ settings: /* @__PURE__ */ d(re, {
156
153
  model: e,
157
- configuration: n,
154
+ configuration: t,
158
155
  onChangeModel: (e) => this.onModelChange(e),
159
- onChangeConfiguration: (e) => r(e, !0),
156
+ onChangeConfiguration: (e) => a(e, !0),
160
157
  groups: {
161
158
  Settings: ue,
162
159
  Properties: de
163
160
  }
164
161
  }),
165
162
  children: [
166
- se && /* @__PURE__ */ f(S, {
167
- label: M.label,
163
+ H && /* @__PURE__ */ f(b, {
164
+ label: k.label,
168
165
  children: [/* @__PURE__ */ d(m, {
169
166
  className: "prompt",
170
167
  markup: e.teacherInstructions || "",
171
168
  onChange: this.onTeacherInstructionsChanged,
172
- imageSupport: i,
169
+ imageSupport: o,
173
170
  nonEmpty: !1,
174
- error: Y,
171
+ error: J,
175
172
  toolbarOpts: Q,
176
- pluginProps: $(M?.inputConfiguration),
177
- spellCheck: W,
173
+ pluginProps: $(k?.inputConfiguration),
174
+ spellCheck: V,
178
175
  maxImageWidth: p && p.teacherInstructions || X,
179
- maxImageHeight: g && g.teacherInstructions || Z,
180
- uploadSoundSupport: a,
176
+ maxImageHeight: h && h.teacherInstructions || Z,
177
+ uploadSoundSupport: s,
181
178
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
182
- mathMlOptions: P,
179
+ mathMlOptions: j,
183
180
  autoWidthToolbar: !0
184
- }), Y && /* @__PURE__ */ d(w, { children: Y })]
181
+ }), J && /* @__PURE__ */ d(S, { children: J })]
185
182
  }),
186
- H && /* @__PURE__ */ f(S, {
187
- label: O.label,
183
+ z && /* @__PURE__ */ f(b, {
184
+ label: w.label,
188
185
  children: [/* @__PURE__ */ d(m, {
189
186
  className: "prompt",
190
187
  markup: e.prompt,
191
188
  onChange: this.onPromptChanged,
192
- imageSupport: i,
189
+ imageSupport: o,
193
190
  nonEmpty: !1,
194
191
  disableUnderline: !0,
195
- error: K,
192
+ error: G,
196
193
  toolbarOpts: Q,
197
- pluginProps: $(O?.inputConfiguration),
198
- spellCheck: W,
194
+ pluginProps: $(w?.inputConfiguration),
195
+ spellCheck: V,
199
196
  maxImageWidth: X,
200
197
  maxImageHeight: Z,
201
- uploadSoundSupport: a,
198
+ uploadSoundSupport: s,
202
199
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
203
- mathMlOptions: P,
200
+ mathMlOptions: j,
204
201
  autoWidthToolbar: !0
205
- }), K && /* @__PURE__ */ d(w, { children: K })]
202
+ }), G && /* @__PURE__ */ d(S, { children: G })]
206
203
  }),
207
- /* @__PURE__ */ f(T, { children: [/* @__PURE__ */ d(re, {
204
+ /* @__PURE__ */ f(se, { children: [/* @__PURE__ */ d(oe, {
208
205
  component: "div",
209
206
  children: "Define Template, Choices, and Correct Responses"
210
- }), /* @__PURE__ */ d(ie, {
207
+ }), /* @__PURE__ */ d(x, {
211
208
  disableFocusListener: !0,
212
209
  disableTouchListener: !0,
213
210
  placement: "right",
214
- title: le,
215
- children: /* @__PURE__ */ d(y, {
211
+ title: Y,
212
+ children: /* @__PURE__ */ d(ne, {
216
213
  fontSize: "small",
217
214
  color: "primary",
218
215
  style: { marginLeft: "8px" }
219
216
  })
220
217
  })] }),
221
- /* @__PURE__ */ d(C, {
222
- activePlugins: h,
218
+ /* @__PURE__ */ d(ae, {
219
+ activePlugins: ee,
223
220
  toolbarOpts: { position: "top" },
224
- spellCheck: W,
225
- pluginProps: $(ae?.inputConfiguration),
221
+ spellCheck: V,
222
+ pluginProps: $(le?.inputConfiguration),
226
223
  responseAreaProps: {
227
224
  type: "explicit-constructed-response",
228
225
  options: { duplicates: !0 },
229
- maxResponseAreas: v,
230
- respAreaToolbar: (e, t, n) => {
231
- let [r, i] = e, { model: a } = this.props, s = (a.choices[r.attrs.index] || [])[0];
232
- return () => /* @__PURE__ */ d(o, {
233
- onChangeResponse: (e) => this.onChangeResponse(r.attrs.index, e),
234
- node: r,
235
- pos: i,
226
+ maxResponseAreas: _,
227
+ respAreaToolbar: (e, t, r) => {
228
+ let [i, a] = e, { model: o } = this.props, s = (o.choices[i.attrs.index] || [])[0];
229
+ return () => /* @__PURE__ */ d(n, {
230
+ onChangeResponse: (e) => this.onChangeResponse(i.attrs.index, e),
231
+ node: i,
232
+ pos: a,
236
233
  editor: t,
237
- onToolbarDone: n,
234
+ onToolbarDone: r,
238
235
  correctChoice: s,
239
- maxLengthPerChoiceEnabled: V,
240
- pluginProps: $(R?.inputConfiguration)
236
+ maxLengthPerChoiceEnabled: R,
237
+ pluginProps: $(F?.inputConfiguration)
241
238
  });
242
239
  },
243
- error: () => G,
240
+ error: () => W,
244
241
  onHandleAreaChange: this.onHandleAreaChange
245
242
  },
246
243
  markup: e.slateMarkup,
247
244
  onChange: this.onChange,
248
- imageSupport: i,
245
+ imageSupport: o,
249
246
  disableImageAlignmentButtons: !0,
250
247
  onBlur: this.onBlur,
251
248
  disabled: !1,
252
249
  highlightShape: !1,
253
- error: J,
254
- uploadSoundSupport: a,
250
+ error: q,
251
+ uploadSoundSupport: s,
255
252
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
256
- mathMlOptions: P,
253
+ mathMlOptions: j,
257
254
  autoWidthToolbar: !0
258
255
  }),
259
- J && /* @__PURE__ */ d(w, { children: J }),
260
- !t(e.choices) && /* @__PURE__ */ d(E, { children: `Define Alternates ${V ? "and Character Limits" : ""}` }),
261
- /* @__PURE__ */ d(s, {
256
+ q && /* @__PURE__ */ d(S, { children: q }),
257
+ !c(e.choices) && /* @__PURE__ */ d(ce, { children: `Define Alternates ${R ? "and Character Limits" : ""}` }),
258
+ /* @__PURE__ */ d(r, {
262
259
  model: e,
263
260
  onChange: this.onResponsesChanged,
264
261
  onLengthChange: this.onLengthChanged,
265
- maxLengthPerChoiceEnabled: V,
266
- spellCheck: W,
267
- choicesErrors: G,
268
- pluginProps: $(R?.inputConfiguration)
262
+ maxLengthPerChoiceEnabled: R,
263
+ spellCheck: V,
264
+ choicesErrors: W,
265
+ pluginProps: $(F?.inputConfiguration)
269
266
  }),
270
- U && /* @__PURE__ */ f(S, {
271
- label: k.label,
267
+ B && /* @__PURE__ */ f(b, {
268
+ label: T.label,
272
269
  children: [/* @__PURE__ */ d(m, {
273
270
  className: "prompt",
274
271
  markup: e.rationale || "",
275
272
  onChange: this.onRationaleChanged,
276
- imageSupport: i,
277
- error: q,
273
+ imageSupport: o,
274
+ error: K,
278
275
  toolbarOpts: Q,
279
- pluginProps: $(k?.inputConfiguration),
280
- spellCheck: W,
276
+ pluginProps: $(T?.inputConfiguration),
277
+ spellCheck: V,
281
278
  maxImageWidth: p && p.rationale || X,
282
- maxImageHeight: g && g.rationale || Z,
283
- uploadSoundSupport: a,
279
+ maxImageHeight: h && h.rationale || Z,
280
+ uploadSoundSupport: s,
284
281
  languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
285
- mathMlOptions: P,
282
+ mathMlOptions: j,
286
283
  autoWidthToolbar: !0
287
- }), q && /* @__PURE__ */ d(w, { children: q })]
284
+ }), K && /* @__PURE__ */ d(S, { children: K })]
288
285
  })
289
286
  ]
290
287
  });
291
288
  }
292
289
  };
293
290
  //#endregion
294
- export { O as default };
291
+ export { w as default };
@@ -1,4 +1,4 @@
1
- import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/escape.js";
1
+ import { escape as e } from "@pie-element/shared-lodash";
2
2
  //#region src/author/markupUtils.tsx
3
3
  var t = "imes|riangle|an|heta|herefore", n = "throot|parallel|cong|approx|eq|e|sim", r = RegExp(`(\\t(?!${t}))|(\\n(?!${n}))|(\\\\t(?!${t}))|(\\\\n(?!${n}))`, "g"), i = (e) => e.replace(r, "").replace(/\\"/g, "\"").replace(/\\\//g, "/"), a = (e = "") => {
4
4
  let t = document.createElement("div");