locize 2.4.6 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (902) hide show
  1. package/.babelrc +3 -0
  2. package/.ts.eslintrc +37 -0
  3. package/CHANGELOG.md +5 -0
  4. package/README.md +10 -19
  5. package/dist/cjs/api/handleCommitKey.js +17 -0
  6. package/dist/cjs/api/handleCommitKeys.js +39 -0
  7. package/dist/cjs/api/handleConfirmInitialized.js +11 -0
  8. package/dist/cjs/api/handleEditKey.js +60 -0
  9. package/dist/cjs/api/handleIsLocizeEnabled.js +11 -0
  10. package/dist/cjs/api/handleRequestPopupChanges.js +21 -0
  11. package/dist/cjs/api/handleRequestResourceBundle.js +27 -0
  12. package/dist/cjs/api/handleSelectedKeys.js +27 -0
  13. package/dist/cjs/api/handleTurnOff.js +8 -0
  14. package/dist/cjs/api/handleTurnOn.js +8 -0
  15. package/dist/cjs/api/postMessage.js +161 -0
  16. package/dist/cjs/clickHandler.js +48 -0
  17. package/dist/cjs/index.d.ts +15 -0
  18. package/dist/cjs/index.js +55 -0
  19. package/dist/cjs/locizePlugin.js +110 -0
  20. package/dist/cjs/observer.js +74 -0
  21. package/dist/cjs/package.json +1 -0
  22. package/dist/cjs/parser.js +122 -0
  23. package/dist/cjs/process.js +63 -0
  24. package/dist/cjs/processLegacy.js +80 -0
  25. package/dist/cjs/shims/uniqueID.js +31 -0
  26. package/dist/cjs/startStandalone.js +24 -0
  27. package/dist/cjs/store.js +49 -0
  28. package/dist/cjs/ui/elements/icons.js +48 -0
  29. package/dist/cjs/ui/elements/popup.js +80 -0
  30. package/dist/cjs/ui/elements/ribbonBox.js +67 -0
  31. package/dist/cjs/ui/highlightNode.js +167 -0
  32. package/dist/cjs/ui/mouseDistance.js +44 -0
  33. package/dist/cjs/ui/popup.js +113 -0
  34. package/dist/cjs/ui/stylesheet.js +12 -0
  35. package/dist/cjs/ui/utils.js +39 -0
  36. package/dist/cjs/uninstrumentedStore.js +43 -0
  37. package/dist/cjs/utils.js +138 -0
  38. package/dist/cjs/vars.js +22 -0
  39. package/dist/esm/api/handleCommitKey.js +15 -0
  40. package/dist/esm/api/handleCommitKeys.js +33 -0
  41. package/dist/esm/api/handleConfirmInitialized.js +9 -0
  42. package/dist/esm/api/handleEditKey.js +56 -0
  43. package/dist/esm/api/handleIsLocizeEnabled.js +9 -0
  44. package/dist/esm/api/handleRequestPopupChanges.js +19 -0
  45. package/dist/esm/api/handleRequestResourceBundle.js +20 -0
  46. package/dist/esm/api/handleSelectedKeys.js +25 -0
  47. package/dist/esm/api/handleTurnOff.js +6 -0
  48. package/dist/esm/api/handleTurnOn.js +6 -0
  49. package/dist/esm/api/postMessage.js +148 -0
  50. package/dist/esm/clickHandler.js +44 -0
  51. package/dist/esm/index.d.mts +1 -0
  52. package/dist/esm/index.d.ts +15 -0
  53. package/dist/esm/index.js +33 -0
  54. package/dist/esm/locizePlugin.js +99 -0
  55. package/dist/esm/observer.js +70 -0
  56. package/dist/esm/parser.js +113 -0
  57. package/dist/esm/process.js +55 -0
  58. package/dist/esm/processLegacy.js +72 -0
  59. package/dist/esm/shims/uniqueID.js +29 -0
  60. package/dist/esm/startStandalone.js +20 -0
  61. package/dist/esm/store.js +41 -0
  62. package/dist/esm/ui/elements/icons.js +39 -0
  63. package/dist/esm/ui/elements/popup.js +76 -0
  64. package/dist/esm/ui/elements/ribbonBox.js +62 -0
  65. package/dist/esm/ui/highlightNode.js +156 -0
  66. package/dist/esm/ui/mouseDistance.js +39 -0
  67. package/dist/esm/ui/popup.js +108 -0
  68. package/dist/esm/ui/stylesheet.js +8 -0
  69. package/dist/esm/ui/utils.js +34 -0
  70. package/dist/esm/uninstrumentedStore.js +35 -0
  71. package/dist/esm/utils.js +123 -0
  72. package/dist/esm/vars.js +16 -0
  73. package/dist/umd/locize.js +2790 -286
  74. package/dist/umd/locize.min.js +1 -1
  75. package/index.d.mts +1 -0
  76. package/index.d.ts +5 -6
  77. package/locize.js +2790 -286
  78. package/locize.min.js +1 -1
  79. package/package.json +64 -31
  80. package/rollup.config.js +62 -29
  81. package/src/api/handleCommitKey.js +17 -0
  82. package/src/api/handleCommitKeys.js +39 -0
  83. package/src/api/handleConfirmInitialized.js +10 -0
  84. package/src/api/handleEditKey.js +81 -0
  85. package/src/api/handleIsLocizeEnabled.js +13 -0
  86. package/src/api/handleRequestPopupChanges.js +25 -0
  87. package/src/api/handleRequestResourceBundle.js +11 -0
  88. package/src/api/handleSelectedKeys.js +32 -0
  89. package/src/api/handleTurnOff.js +8 -0
  90. package/src/api/handleTurnOn.js +8 -0
  91. package/src/api/index.js +19 -0
  92. package/src/api/postMessage.js +169 -0
  93. package/src/clickHandler.js +48 -0
  94. package/src/index.js +30 -0
  95. package/src/locizePlugin.js +117 -0
  96. package/src/observer.js +93 -0
  97. package/src/parser.js +162 -0
  98. package/src/process.js +55 -0
  99. package/src/processLegacy.js +69 -0
  100. package/src/shims/uniqueID.js +49 -0
  101. package/src/startStandalone.js +19 -0
  102. package/src/store.js +47 -0
  103. package/src/ui/elements/icons.js +92 -0
  104. package/src/ui/elements/popup.js +226 -0
  105. package/src/ui/elements/ribbonBox.js +76 -0
  106. package/src/ui/highlightNode.js +203 -0
  107. package/src/ui/mouseDistance.js +46 -0
  108. package/src/ui/popup.js +135 -0
  109. package/src/ui/stylesheet.js +8 -0
  110. package/src/ui/utils.js +37 -0
  111. package/src/uninstrumentedStore.js +39 -0
  112. package/src/utils.js +158 -0
  113. package/src/vars.js +18 -0
  114. package/tsconfig.json +4 -4
  115. package/.eslintrc.js +0 -20
  116. package/debuggingApp/README.md +0 -11
  117. package/debuggingApp/debugEditor.html +0 -28
  118. package/debuggingApp/index.html +0 -151
  119. package/debuggingApp/node_modules/.package-lock.json +0 -668
  120. package/debuggingApp/node_modules/@babel/runtime/LICENSE +0 -22
  121. package/debuggingApp/node_modules/@babel/runtime/README.md +0 -19
  122. package/debuggingApp/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -98
  123. package/debuggingApp/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -5
  124. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -30
  125. package/debuggingApp/node_modules/@babel/runtime/helpers/applyDecs.js +0 -284
  126. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -11
  127. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -5
  128. package/debuggingApp/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -7
  129. package/debuggingApp/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -9
  130. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -56
  131. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -50
  132. package/debuggingApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -37
  133. package/debuggingApp/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -7
  134. package/debuggingApp/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -7
  135. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -22
  136. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -9
  137. package/debuggingApp/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -13
  138. package/debuggingApp/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -7
  139. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -7
  140. package/debuggingApp/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -7
  141. package/debuggingApp/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -9
  142. package/debuggingApp/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -5
  143. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -10
  144. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -10
  145. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -8
  146. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -9
  147. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -7
  148. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -11
  149. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -9
  150. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -8
  151. package/debuggingApp/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -5
  152. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -13
  153. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -13
  154. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -14
  155. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -8
  156. package/debuggingApp/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -5
  157. package/debuggingApp/node_modules/@babel/runtime/helpers/construct.js +0 -22
  158. package/debuggingApp/node_modules/@babel/runtime/helpers/createClass.js +0 -20
  159. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -60
  160. package/debuggingApp/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -24
  161. package/debuggingApp/node_modules/@babel/runtime/helpers/createSuper.js +0 -24
  162. package/debuggingApp/node_modules/@babel/runtime/helpers/decorate.js +0 -400
  163. package/debuggingApp/node_modules/@babel/runtime/helpers/defaults.js +0 -16
  164. package/debuggingApp/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -24
  165. package/debuggingApp/node_modules/@babel/runtime/helpers/defineProperty.js +0 -16
  166. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
  167. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
  168. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
  169. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -282
  170. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
  171. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
  172. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
  173. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  174. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
  175. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -48
  176. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
  177. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
  178. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
  179. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
  180. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
  181. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
  182. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  183. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  184. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
  185. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
  186. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
  187. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
  188. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
  189. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  190. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
  191. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
  192. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  193. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
  194. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  195. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
  196. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
  197. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
  198. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
  199. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  200. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
  201. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
  202. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -18
  203. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
  204. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
  205. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  206. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
  207. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
  208. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
  209. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  210. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/extends.js +0 -16
  211. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
  212. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  213. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/identity.js +0 -3
  214. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -18
  215. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
  216. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  217. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
  218. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
  219. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
  220. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
  221. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
  222. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
  223. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
  224. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  225. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
  226. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -26
  227. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  228. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
  229. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
  230. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
  231. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
  232. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
  233. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
  234. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  235. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  236. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  237. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
  238. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
  239. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -352
  240. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
  241. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  242. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  243. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
  244. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
  245. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
  246. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
  247. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
  248. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
  249. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
  250. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
  251. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
  252. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
  253. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
  254. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
  255. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -9
  256. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  257. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
  258. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
  259. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -50
  260. package/debuggingApp/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
  261. package/debuggingApp/node_modules/@babel/runtime/helpers/extends.js +0 -18
  262. package/debuggingApp/node_modules/@babel/runtime/helpers/get.js +0 -23
  263. package/debuggingApp/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -8
  264. package/debuggingApp/node_modules/@babel/runtime/helpers/identity.js +0 -5
  265. package/debuggingApp/node_modules/@babel/runtime/helpers/inherits.js +0 -21
  266. package/debuggingApp/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -9
  267. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -11
  268. package/debuggingApp/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -5
  269. package/debuggingApp/node_modules/@babel/runtime/helpers/instanceof.js +0 -9
  270. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -7
  271. package/debuggingApp/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -53
  272. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -5
  273. package/debuggingApp/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -14
  274. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -5
  275. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -31
  276. package/debuggingApp/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -16
  277. package/debuggingApp/node_modules/@babel/runtime/helpers/jsx.js +0 -29
  278. package/debuggingApp/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -12
  279. package/debuggingApp/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -7
  280. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -5
  281. package/debuggingApp/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -5
  282. package/debuggingApp/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -5
  283. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread.js +0 -22
  284. package/debuggingApp/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -29
  285. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -22
  286. package/debuggingApp/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -16
  287. package/debuggingApp/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -15
  288. package/debuggingApp/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -5
  289. package/debuggingApp/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -354
  290. package/debuggingApp/node_modules/@babel/runtime/helpers/set.js +0 -54
  291. package/debuggingApp/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -9
  292. package/debuggingApp/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -9
  293. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -13
  294. package/debuggingApp/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -13
  295. package/debuggingApp/node_modules/@babel/runtime/helpers/superPropBase.js +0 -12
  296. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -13
  297. package/debuggingApp/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -10
  298. package/debuggingApp/node_modules/@babel/runtime/helpers/tdz.js +0 -5
  299. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalRef.js +0 -9
  300. package/debuggingApp/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -3
  301. package/debuggingApp/node_modules/@babel/runtime/helpers/toArray.js +0 -13
  302. package/debuggingApp/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -13
  303. package/debuggingApp/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -16
  304. package/debuggingApp/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -10
  305. package/debuggingApp/node_modules/@babel/runtime/helpers/typeof.js +0 -11
  306. package/debuggingApp/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -12
  307. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -9
  308. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -42
  309. package/debuggingApp/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -55
  310. package/debuggingApp/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -5
  311. package/debuggingApp/node_modules/@babel/runtime/package.json +0 -876
  312. package/debuggingApp/node_modules/@babel/runtime/regenerator/index.js +0 -15
  313. package/debuggingApp/node_modules/accepts/HISTORY.md +0 -243
  314. package/debuggingApp/node_modules/accepts/LICENSE +0 -23
  315. package/debuggingApp/node_modules/accepts/README.md +0 -140
  316. package/debuggingApp/node_modules/accepts/index.js +0 -238
  317. package/debuggingApp/node_modules/accepts/package.json +0 -47
  318. package/debuggingApp/node_modules/array-flatten/LICENSE +0 -21
  319. package/debuggingApp/node_modules/array-flatten/README.md +0 -43
  320. package/debuggingApp/node_modules/array-flatten/array-flatten.js +0 -64
  321. package/debuggingApp/node_modules/array-flatten/package.json +0 -39
  322. package/debuggingApp/node_modules/body-parser/HISTORY.md +0 -651
  323. package/debuggingApp/node_modules/body-parser/LICENSE +0 -23
  324. package/debuggingApp/node_modules/body-parser/README.md +0 -464
  325. package/debuggingApp/node_modules/body-parser/SECURITY.md +0 -25
  326. package/debuggingApp/node_modules/body-parser/index.js +0 -157
  327. package/debuggingApp/node_modules/body-parser/lib/read.js +0 -205
  328. package/debuggingApp/node_modules/body-parser/lib/types/json.js +0 -236
  329. package/debuggingApp/node_modules/body-parser/lib/types/raw.js +0 -101
  330. package/debuggingApp/node_modules/body-parser/lib/types/text.js +0 -121
  331. package/debuggingApp/node_modules/body-parser/lib/types/urlencoded.js +0 -284
  332. package/debuggingApp/node_modules/body-parser/package.json +0 -56
  333. package/debuggingApp/node_modules/bytes/History.md +0 -97
  334. package/debuggingApp/node_modules/bytes/LICENSE +0 -23
  335. package/debuggingApp/node_modules/bytes/Readme.md +0 -152
  336. package/debuggingApp/node_modules/bytes/index.js +0 -170
  337. package/debuggingApp/node_modules/bytes/package.json +0 -42
  338. package/debuggingApp/node_modules/call-bind/.github/FUNDING.yml +0 -12
  339. package/debuggingApp/node_modules/call-bind/.nycrc +0 -13
  340. package/debuggingApp/node_modules/call-bind/CHANGELOG.md +0 -42
  341. package/debuggingApp/node_modules/call-bind/LICENSE +0 -21
  342. package/debuggingApp/node_modules/call-bind/README.md +0 -2
  343. package/debuggingApp/node_modules/call-bind/callBound.js +0 -15
  344. package/debuggingApp/node_modules/call-bind/index.js +0 -47
  345. package/debuggingApp/node_modules/call-bind/package.json +0 -80
  346. package/debuggingApp/node_modules/call-bind/test/callBound.js +0 -55
  347. package/debuggingApp/node_modules/call-bind/test/index.js +0 -66
  348. package/debuggingApp/node_modules/content-disposition/HISTORY.md +0 -60
  349. package/debuggingApp/node_modules/content-disposition/LICENSE +0 -22
  350. package/debuggingApp/node_modules/content-disposition/README.md +0 -142
  351. package/debuggingApp/node_modules/content-disposition/index.js +0 -458
  352. package/debuggingApp/node_modules/content-disposition/package.json +0 -44
  353. package/debuggingApp/node_modules/content-type/HISTORY.md +0 -24
  354. package/debuggingApp/node_modules/content-type/LICENSE +0 -22
  355. package/debuggingApp/node_modules/content-type/README.md +0 -92
  356. package/debuggingApp/node_modules/content-type/index.js +0 -222
  357. package/debuggingApp/node_modules/content-type/package.json +0 -40
  358. package/debuggingApp/node_modules/cookie/HISTORY.md +0 -142
  359. package/debuggingApp/node_modules/cookie/LICENSE +0 -24
  360. package/debuggingApp/node_modules/cookie/README.md +0 -302
  361. package/debuggingApp/node_modules/cookie/SECURITY.md +0 -25
  362. package/debuggingApp/node_modules/cookie/index.js +0 -270
  363. package/debuggingApp/node_modules/cookie/package.json +0 -44
  364. package/debuggingApp/node_modules/cookie-signature/History.md +0 -38
  365. package/debuggingApp/node_modules/cookie-signature/Readme.md +0 -42
  366. package/debuggingApp/node_modules/cookie-signature/index.js +0 -51
  367. package/debuggingApp/node_modules/cookie-signature/package.json +0 -18
  368. package/debuggingApp/node_modules/cookies/History.md +0 -62
  369. package/debuggingApp/node_modules/cookies/LICENSE.txt +0 -22
  370. package/debuggingApp/node_modules/cookies/README.md +0 -121
  371. package/debuggingApp/node_modules/cookies/lib/cookies.js +0 -181
  372. package/debuggingApp/node_modules/cookies/package.json +0 -24
  373. package/debuggingApp/node_modules/debug/.coveralls.yml +0 -1
  374. package/debuggingApp/node_modules/debug/.travis.yml +0 -14
  375. package/debuggingApp/node_modules/debug/CHANGELOG.md +0 -362
  376. package/debuggingApp/node_modules/debug/LICENSE +0 -19
  377. package/debuggingApp/node_modules/debug/Makefile +0 -50
  378. package/debuggingApp/node_modules/debug/README.md +0 -312
  379. package/debuggingApp/node_modules/debug/component.json +0 -19
  380. package/debuggingApp/node_modules/debug/node.js +0 -1
  381. package/debuggingApp/node_modules/debug/package.json +0 -49
  382. package/debuggingApp/node_modules/debug/src/browser.js +0 -185
  383. package/debuggingApp/node_modules/debug/src/debug.js +0 -202
  384. package/debuggingApp/node_modules/debug/src/index.js +0 -10
  385. package/debuggingApp/node_modules/debug/src/inspector-log.js +0 -15
  386. package/debuggingApp/node_modules/debug/src/node.js +0 -248
  387. package/debuggingApp/node_modules/depd/History.md +0 -103
  388. package/debuggingApp/node_modules/depd/LICENSE +0 -22
  389. package/debuggingApp/node_modules/depd/Readme.md +0 -280
  390. package/debuggingApp/node_modules/depd/index.js +0 -538
  391. package/debuggingApp/node_modules/depd/lib/browser/index.js +0 -77
  392. package/debuggingApp/node_modules/depd/package.json +0 -45
  393. package/debuggingApp/node_modules/destroy/LICENSE +0 -23
  394. package/debuggingApp/node_modules/destroy/README.md +0 -63
  395. package/debuggingApp/node_modules/destroy/index.js +0 -209
  396. package/debuggingApp/node_modules/destroy/package.json +0 -48
  397. package/debuggingApp/node_modules/ee-first/LICENSE +0 -22
  398. package/debuggingApp/node_modules/ee-first/README.md +0 -80
  399. package/debuggingApp/node_modules/ee-first/index.js +0 -95
  400. package/debuggingApp/node_modules/ee-first/package.json +0 -29
  401. package/debuggingApp/node_modules/encodeurl/HISTORY.md +0 -14
  402. package/debuggingApp/node_modules/encodeurl/LICENSE +0 -22
  403. package/debuggingApp/node_modules/encodeurl/README.md +0 -128
  404. package/debuggingApp/node_modules/encodeurl/index.js +0 -60
  405. package/debuggingApp/node_modules/encodeurl/package.json +0 -40
  406. package/debuggingApp/node_modules/escape-html/LICENSE +0 -24
  407. package/debuggingApp/node_modules/escape-html/Readme.md +0 -43
  408. package/debuggingApp/node_modules/escape-html/index.js +0 -78
  409. package/debuggingApp/node_modules/escape-html/package.json +0 -24
  410. package/debuggingApp/node_modules/etag/HISTORY.md +0 -83
  411. package/debuggingApp/node_modules/etag/LICENSE +0 -22
  412. package/debuggingApp/node_modules/etag/README.md +0 -159
  413. package/debuggingApp/node_modules/etag/index.js +0 -131
  414. package/debuggingApp/node_modules/etag/package.json +0 -47
  415. package/debuggingApp/node_modules/express/History.md +0 -3579
  416. package/debuggingApp/node_modules/express/LICENSE +0 -24
  417. package/debuggingApp/node_modules/express/Readme.md +0 -166
  418. package/debuggingApp/node_modules/express/index.js +0 -11
  419. package/debuggingApp/node_modules/express/lib/application.js +0 -661
  420. package/debuggingApp/node_modules/express/lib/express.js +0 -116
  421. package/debuggingApp/node_modules/express/lib/middleware/init.js +0 -43
  422. package/debuggingApp/node_modules/express/lib/middleware/query.js +0 -47
  423. package/debuggingApp/node_modules/express/lib/request.js +0 -525
  424. package/debuggingApp/node_modules/express/lib/response.js +0 -1169
  425. package/debuggingApp/node_modules/express/lib/router/index.js +0 -673
  426. package/debuggingApp/node_modules/express/lib/router/layer.js +0 -181
  427. package/debuggingApp/node_modules/express/lib/router/route.js +0 -225
  428. package/debuggingApp/node_modules/express/lib/utils.js +0 -304
  429. package/debuggingApp/node_modules/express/lib/view.js +0 -182
  430. package/debuggingApp/node_modules/express/package.json +0 -99
  431. package/debuggingApp/node_modules/finalhandler/HISTORY.md +0 -195
  432. package/debuggingApp/node_modules/finalhandler/LICENSE +0 -22
  433. package/debuggingApp/node_modules/finalhandler/README.md +0 -147
  434. package/debuggingApp/node_modules/finalhandler/SECURITY.md +0 -25
  435. package/debuggingApp/node_modules/finalhandler/index.js +0 -336
  436. package/debuggingApp/node_modules/finalhandler/package.json +0 -46
  437. package/debuggingApp/node_modules/forwarded/HISTORY.md +0 -21
  438. package/debuggingApp/node_modules/forwarded/LICENSE +0 -22
  439. package/debuggingApp/node_modules/forwarded/README.md +0 -57
  440. package/debuggingApp/node_modules/forwarded/index.js +0 -90
  441. package/debuggingApp/node_modules/forwarded/package.json +0 -45
  442. package/debuggingApp/node_modules/fresh/HISTORY.md +0 -70
  443. package/debuggingApp/node_modules/fresh/LICENSE +0 -23
  444. package/debuggingApp/node_modules/fresh/README.md +0 -119
  445. package/debuggingApp/node_modules/fresh/index.js +0 -137
  446. package/debuggingApp/node_modules/fresh/package.json +0 -46
  447. package/debuggingApp/node_modules/function-bind/.jscs.json +0 -176
  448. package/debuggingApp/node_modules/function-bind/.travis.yml +0 -168
  449. package/debuggingApp/node_modules/function-bind/LICENSE +0 -20
  450. package/debuggingApp/node_modules/function-bind/README.md +0 -48
  451. package/debuggingApp/node_modules/function-bind/implementation.js +0 -52
  452. package/debuggingApp/node_modules/function-bind/index.js +0 -5
  453. package/debuggingApp/node_modules/function-bind/package.json +0 -63
  454. package/debuggingApp/node_modules/function-bind/test/index.js +0 -252
  455. package/debuggingApp/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  456. package/debuggingApp/node_modules/get-intrinsic/.nycrc +0 -9
  457. package/debuggingApp/node_modules/get-intrinsic/CHANGELOG.md +0 -91
  458. package/debuggingApp/node_modules/get-intrinsic/LICENSE +0 -21
  459. package/debuggingApp/node_modules/get-intrinsic/README.md +0 -71
  460. package/debuggingApp/node_modules/get-intrinsic/index.js +0 -334
  461. package/debuggingApp/node_modules/get-intrinsic/package.json +0 -88
  462. package/debuggingApp/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  463. package/debuggingApp/node_modules/has/LICENSE-MIT +0 -22
  464. package/debuggingApp/node_modules/has/README.md +0 -18
  465. package/debuggingApp/node_modules/has/package.json +0 -48
  466. package/debuggingApp/node_modules/has/src/index.js +0 -5
  467. package/debuggingApp/node_modules/has/test/index.js +0 -10
  468. package/debuggingApp/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  469. package/debuggingApp/node_modules/has-symbols/.nycrc +0 -9
  470. package/debuggingApp/node_modules/has-symbols/CHANGELOG.md +0 -75
  471. package/debuggingApp/node_modules/has-symbols/LICENSE +0 -21
  472. package/debuggingApp/node_modules/has-symbols/README.md +0 -46
  473. package/debuggingApp/node_modules/has-symbols/index.js +0 -13
  474. package/debuggingApp/node_modules/has-symbols/package.json +0 -101
  475. package/debuggingApp/node_modules/has-symbols/shams.js +0 -42
  476. package/debuggingApp/node_modules/has-symbols/test/index.js +0 -22
  477. package/debuggingApp/node_modules/has-symbols/test/shams/core-js.js +0 -28
  478. package/debuggingApp/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
  479. package/debuggingApp/node_modules/has-symbols/test/tests.js +0 -56
  480. package/debuggingApp/node_modules/http-errors/HISTORY.md +0 -180
  481. package/debuggingApp/node_modules/http-errors/LICENSE +0 -23
  482. package/debuggingApp/node_modules/http-errors/README.md +0 -169
  483. package/debuggingApp/node_modules/http-errors/index.js +0 -289
  484. package/debuggingApp/node_modules/http-errors/package.json +0 -50
  485. package/debuggingApp/node_modules/i18next/CONTRIBUTING.md +0 -22
  486. package/debuggingApp/node_modules/i18next/LICENSE +0 -21
  487. package/debuggingApp/node_modules/i18next/README.md +0 -60
  488. package/debuggingApp/node_modules/i18next/dist/cjs/i18next.js +0 -2801
  489. package/debuggingApp/node_modules/i18next/dist/esm/i18next.bundled.js +0 -2954
  490. package/debuggingApp/node_modules/i18next/dist/esm/i18next.js +0 -2802
  491. package/debuggingApp/node_modules/i18next/dist/esm/package.json +0 -1
  492. package/debuggingApp/node_modules/i18next/dist/umd/i18next.js +0 -2922
  493. package/debuggingApp/node_modules/i18next/dist/umd/i18next.min.js +0 -1
  494. package/debuggingApp/node_modules/i18next/i18next.js +0 -2922
  495. package/debuggingApp/node_modules/i18next/i18next.min.js +0 -1
  496. package/debuggingApp/node_modules/i18next/index.d.ts +0 -1257
  497. package/debuggingApp/node_modules/i18next/index.js +0 -5
  498. package/debuggingApp/node_modules/i18next/package.json +0 -126
  499. package/debuggingApp/node_modules/i18next-express-middleware/LICENSE +0 -22
  500. package/debuggingApp/node_modules/i18next-express-middleware/README.md +0 -167
  501. package/debuggingApp/node_modules/i18next-express-middleware/lib/LanguageDetector.js +0 -138
  502. package/debuggingApp/node_modules/i18next-express-middleware/lib/index.js +0 -152
  503. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/cookie.js +0 -47
  504. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/header.js +0 -59
  505. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/path.js +0 -27
  506. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/querystring.js +0 -31
  507. package/debuggingApp/node_modules/i18next-express-middleware/lib/languageLookups/session.js +0 -27
  508. package/debuggingApp/node_modules/i18next-express-middleware/lib/utils.js +0 -70
  509. package/debuggingApp/node_modules/i18next-express-middleware/package.json +0 -43
  510. package/debuggingApp/node_modules/i18next-node-fs-backend/LICENSE +0 -22
  511. package/debuggingApp/node_modules/i18next-node-fs-backend/README.md +0 -72
  512. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/index.js +0 -162
  513. package/debuggingApp/node_modules/i18next-node-fs-backend/lib/utils.js +0 -78
  514. package/debuggingApp/node_modules/i18next-node-fs-backend/package.json +0 -43
  515. package/debuggingApp/node_modules/iconv-lite/Changelog.md +0 -162
  516. package/debuggingApp/node_modules/iconv-lite/LICENSE +0 -21
  517. package/debuggingApp/node_modules/iconv-lite/README.md +0 -156
  518. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  519. package/debuggingApp/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  520. package/debuggingApp/node_modules/iconv-lite/encodings/index.js +0 -22
  521. package/debuggingApp/node_modules/iconv-lite/encodings/internal.js +0 -188
  522. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  523. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  524. package/debuggingApp/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  525. package/debuggingApp/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  526. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  527. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  528. package/debuggingApp/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  529. package/debuggingApp/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  530. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  531. package/debuggingApp/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  532. package/debuggingApp/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  533. package/debuggingApp/node_modules/iconv-lite/encodings/utf16.js +0 -177
  534. package/debuggingApp/node_modules/iconv-lite/encodings/utf7.js +0 -290
  535. package/debuggingApp/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  536. package/debuggingApp/node_modules/iconv-lite/lib/extend-node.js +0 -217
  537. package/debuggingApp/node_modules/iconv-lite/lib/index.d.ts +0 -24
  538. package/debuggingApp/node_modules/iconv-lite/lib/index.js +0 -153
  539. package/debuggingApp/node_modules/iconv-lite/lib/streams.js +0 -121
  540. package/debuggingApp/node_modules/iconv-lite/package.json +0 -46
  541. package/debuggingApp/node_modules/inherits/LICENSE +0 -16
  542. package/debuggingApp/node_modules/inherits/README.md +0 -42
  543. package/debuggingApp/node_modules/inherits/inherits.js +0 -9
  544. package/debuggingApp/node_modules/inherits/inherits_browser.js +0 -27
  545. package/debuggingApp/node_modules/inherits/package.json +0 -29
  546. package/debuggingApp/node_modules/ipaddr.js/LICENSE +0 -19
  547. package/debuggingApp/node_modules/ipaddr.js/README.md +0 -233
  548. package/debuggingApp/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  549. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  550. package/debuggingApp/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  551. package/debuggingApp/node_modules/ipaddr.js/package.json +0 -35
  552. package/debuggingApp/node_modules/json5/.travis.yml +0 -5
  553. package/debuggingApp/node_modules/json5/CHANGELOG.md +0 -144
  554. package/debuggingApp/node_modules/json5/README.md +0 -271
  555. package/debuggingApp/node_modules/json5/lib/cli.js +0 -41
  556. package/debuggingApp/node_modules/json5/lib/json5.js +0 -754
  557. package/debuggingApp/node_modules/json5/lib/require.js +0 -18
  558. package/debuggingApp/node_modules/json5/package.json +0 -30
  559. package/debuggingApp/node_modules/json5/package.json5 +0 -30
  560. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/empty-array.json +0 -1
  561. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/leading-comma-array.js +0 -3
  562. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/lone-trailing-comma-array.js +0 -3
  563. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/no-comma-array.txt +0 -4
  564. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/regular-array.json +0 -5
  565. package/debuggingApp/node_modules/json5/test/parse-cases/arrays/trailing-comma-array.json5 +0 -3
  566. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-array-element.json5 +0 -6
  567. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-following-top-level-value.json5 +0 -5
  568. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-in-string.json +0 -1
  569. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-preceding-top-level-value.json5 +0 -5
  570. package/debuggingApp/node_modules/json5/test/parse-cases/comments/block-comment-with-asterisks.json5 +0 -7
  571. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-array-element.json5 +0 -3
  572. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-following-top-level-value.json5 +0 -1
  573. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-in-string.json +0 -1
  574. package/debuggingApp/node_modules/json5/test/parse-cases/comments/inline-comment-preceding-top-level-value.json5 +0 -2
  575. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-block-comment.txt +0 -4
  576. package/debuggingApp/node_modules/json5/test/parse-cases/comments/top-level-inline-comment.txt +0 -1
  577. package/debuggingApp/node_modules/json5/test/parse-cases/comments/unterminated-block-comment.txt +0 -5
  578. package/debuggingApp/node_modules/json5/test/parse-cases/misc/empty.txt +0 -0
  579. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json +0 -106
  580. package/debuggingApp/node_modules/json5/test/parse-cases/misc/npm-package.json5 +0 -106
  581. package/debuggingApp/node_modules/json5/test/parse-cases/misc/readme-example.json5 +0 -25
  582. package/debuggingApp/node_modules/json5/test/parse-cases/misc/valid-whitespace.json5 +0 -5
  583. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/.gitattributes +0 -4
  584. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-cr.json5 +0 -1
  585. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-crlf.json5 +0 -3
  586. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/comment-lf.json5 +0 -3
  587. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-cr.json5 +0 -1
  588. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-crlf.json5 +0 -5
  589. package/debuggingApp/node_modules/json5/test/parse-cases/new-lines/escaped-lf.json5 +0 -5
  590. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/binary-coffeescript.txt +0 -1
  591. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-decimal-point.json5 +0 -1
  592. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-leading-zero.json +0 -1
  593. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point-with-integer-exponent.json5 +0 -1
  594. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-trailing-decimal-point.json5 +0 -1
  595. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float-with-integer-exponent.json +0 -1
  596. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/float.json +0 -1
  597. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-empty.txt +0 -1
  598. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-lowercase-letter.json5 +0 -1
  599. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-uppercase-x.json5 +0 -1
  600. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal-with-integer-exponent.json5 +0 -1
  601. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/hexadecimal.json5 +0 -1
  602. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/infinity.json5 +0 -1
  603. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-float-exponent.txt +0 -1
  604. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-hexadecimal-exponent.txt +0 -1
  605. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-integer-exponent.json +0 -1
  606. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-float-exponent.txt +0 -1
  607. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-hexadecimal-exponent.txt +0 -1
  608. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-integer-exponent.json +0 -1
  609. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-negative-zero-integer-exponent.json +0 -1
  610. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-float-exponent.txt +0 -1
  611. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-hexadecimal-exponent.txt +0 -1
  612. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-integer-exponent.json +0 -1
  613. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-positive-zero-integer-exponent.json +0 -1
  614. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer-with-zero-integer-exponent.json +0 -1
  615. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/integer.json +0 -1
  616. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/lone-decimal-point.txt +0 -1
  617. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/nan.json5 +0 -1
  618. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-binary-coffeescript.txt +0 -1
  619. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-decimal-point.json5 +0 -1
  620. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-leading-zero.json +0 -1
  621. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float-trailing-decimal-point.json5 +0 -1
  622. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-float.json +0 -1
  623. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-hexadecimal.json5 +0 -1
  624. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-infinity.json5 +0 -1
  625. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-integer.json +0 -1
  626. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-noctal.js +0 -1
  627. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal-coffeescript.txt +0 -1
  628. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-octal.txt +0 -1
  629. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-binary-coffeescript.txt +0 -1
  630. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-leading-decimal-point.json5 +0 -1
  631. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float-trailing-decimal-point.json5 +0 -1
  632. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-float.json +0 -1
  633. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-hexadecimal.json5 +0 -1
  634. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-integer.json +0 -1
  635. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal-coffeescript.txt +0 -1
  636. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/negative-zero-octal.txt +0 -1
  637. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal-with-leading-octal-digit.js +0 -1
  638. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/noctal.js +0 -1
  639. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal-coffeescript.txt +0 -1
  640. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/octal.txt +0 -1
  641. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-binary-coffeescript.txt +0 -1
  642. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-decimal-point.json5 +0 -1
  643. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-leading-zero.json5 +0 -1
  644. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float-trailing-decimal-point.json5 +0 -1
  645. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-float.json5 +0 -1
  646. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-hexadecimal.json5 +0 -1
  647. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-infinity.json5 +0 -1
  648. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-integer.json5 +0 -1
  649. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-noctal.js +0 -1
  650. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal-coffeescript.txt +0 -1
  651. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-octal.txt +0 -1
  652. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-binary-coffeescript.txt +0 -1
  653. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-leading-decimal-point.json5 +0 -1
  654. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float-trailing-decimal-point.json5 +0 -1
  655. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-float.json5 +0 -1
  656. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-hexadecimal.json5 +0 -1
  657. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-integer.json5 +0 -1
  658. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal-coffeescript.txt +0 -1
  659. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/positive-zero-octal.txt +0 -1
  660. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-binary-coffeescript.txt +0 -1
  661. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-leading-decimal-point.json5 +0 -1
  662. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float-trailing-decimal-point.json5 +0 -1
  663. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-float.json +0 -1
  664. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-hexadecimal.json5 +0 -1
  665. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer-with-integer-exponent.json +0 -1
  666. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-integer.json +0 -1
  667. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal-coffeescript.txt +0 -1
  668. package/debuggingApp/node_modules/json5/test/parse-cases/numbers/zero-octal.txt +0 -1
  669. package/debuggingApp/node_modules/json5/test/parse-cases/objects/duplicate-keys.json +0 -4
  670. package/debuggingApp/node_modules/json5/test/parse-cases/objects/empty-object.json +0 -1
  671. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-number.txt +0 -3
  672. package/debuggingApp/node_modules/json5/test/parse-cases/objects/illegal-unquoted-key-symbol.txt +0 -3
  673. package/debuggingApp/node_modules/json5/test/parse-cases/objects/leading-comma-object.txt +0 -3
  674. package/debuggingApp/node_modules/json5/test/parse-cases/objects/lone-trailing-comma-object.txt +0 -3
  675. package/debuggingApp/node_modules/json5/test/parse-cases/objects/no-comma-object.txt +0 -4
  676. package/debuggingApp/node_modules/json5/test/parse-cases/objects/reserved-unquoted-key.json5 +0 -3
  677. package/debuggingApp/node_modules/json5/test/parse-cases/objects/single-quoted-key.json5 +0 -3
  678. package/debuggingApp/node_modules/json5/test/parse-cases/objects/trailing-comma-object.json5 +0 -3
  679. package/debuggingApp/node_modules/json5/test/parse-cases/objects/unquoted-keys.json5 +0 -8
  680. package/debuggingApp/node_modules/json5/test/parse-cases/strings/escaped-single-quoted-string.json5 +0 -1
  681. package/debuggingApp/node_modules/json5/test/parse-cases/strings/multi-line-string.json5 +0 -2
  682. package/debuggingApp/node_modules/json5/test/parse-cases/strings/single-quoted-string.json5 +0 -1
  683. package/debuggingApp/node_modules/json5/test/parse-cases/strings/unescaped-multi-line-string.txt +0 -2
  684. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-escaped-unquoted-key.json5 +0 -3
  685. package/debuggingApp/node_modules/json5/test/parse-cases/todo/unicode-unquoted-key.json5 +0 -3
  686. package/debuggingApp/node_modules/json5/test/parse.js +0 -89
  687. package/debuggingApp/node_modules/json5/test/readme.md +0 -23
  688. package/debuggingApp/node_modules/json5/test/require.js +0 -18
  689. package/debuggingApp/node_modules/json5/test/stringify.js +0 -498
  690. package/debuggingApp/node_modules/keygrip/HISTORY.md +0 -20
  691. package/debuggingApp/node_modules/keygrip/LICENSE +0 -21
  692. package/debuggingApp/node_modules/keygrip/README.md +0 -103
  693. package/debuggingApp/node_modules/keygrip/index.js +0 -71
  694. package/debuggingApp/node_modules/keygrip/package.json +0 -25
  695. package/debuggingApp/node_modules/media-typer/HISTORY.md +0 -22
  696. package/debuggingApp/node_modules/media-typer/LICENSE +0 -22
  697. package/debuggingApp/node_modules/media-typer/README.md +0 -81
  698. package/debuggingApp/node_modules/media-typer/index.js +0 -270
  699. package/debuggingApp/node_modules/media-typer/package.json +0 -26
  700. package/debuggingApp/node_modules/merge-descriptors/HISTORY.md +0 -21
  701. package/debuggingApp/node_modules/merge-descriptors/LICENSE +0 -23
  702. package/debuggingApp/node_modules/merge-descriptors/README.md +0 -48
  703. package/debuggingApp/node_modules/merge-descriptors/index.js +0 -60
  704. package/debuggingApp/node_modules/merge-descriptors/package.json +0 -32
  705. package/debuggingApp/node_modules/methods/HISTORY.md +0 -29
  706. package/debuggingApp/node_modules/methods/LICENSE +0 -24
  707. package/debuggingApp/node_modules/methods/README.md +0 -51
  708. package/debuggingApp/node_modules/methods/index.js +0 -69
  709. package/debuggingApp/node_modules/methods/package.json +0 -36
  710. package/debuggingApp/node_modules/mime/CHANGELOG.md +0 -164
  711. package/debuggingApp/node_modules/mime/LICENSE +0 -21
  712. package/debuggingApp/node_modules/mime/README.md +0 -90
  713. package/debuggingApp/node_modules/mime/cli.js +0 -8
  714. package/debuggingApp/node_modules/mime/mime.js +0 -108
  715. package/debuggingApp/node_modules/mime/package.json +0 -44
  716. package/debuggingApp/node_modules/mime/src/build.js +0 -53
  717. package/debuggingApp/node_modules/mime/src/test.js +0 -60
  718. package/debuggingApp/node_modules/mime/types.json +0 -1
  719. package/debuggingApp/node_modules/mime-db/HISTORY.md +0 -507
  720. package/debuggingApp/node_modules/mime-db/LICENSE +0 -23
  721. package/debuggingApp/node_modules/mime-db/README.md +0 -100
  722. package/debuggingApp/node_modules/mime-db/db.json +0 -8519
  723. package/debuggingApp/node_modules/mime-db/index.js +0 -12
  724. package/debuggingApp/node_modules/mime-db/package.json +0 -60
  725. package/debuggingApp/node_modules/mime-types/HISTORY.md +0 -397
  726. package/debuggingApp/node_modules/mime-types/LICENSE +0 -23
  727. package/debuggingApp/node_modules/mime-types/README.md +0 -113
  728. package/debuggingApp/node_modules/mime-types/index.js +0 -188
  729. package/debuggingApp/node_modules/mime-types/package.json +0 -44
  730. package/debuggingApp/node_modules/ms/index.js +0 -152
  731. package/debuggingApp/node_modules/ms/license.md +0 -21
  732. package/debuggingApp/node_modules/ms/package.json +0 -37
  733. package/debuggingApp/node_modules/ms/readme.md +0 -51
  734. package/debuggingApp/node_modules/negotiator/HISTORY.md +0 -108
  735. package/debuggingApp/node_modules/negotiator/LICENSE +0 -24
  736. package/debuggingApp/node_modules/negotiator/README.md +0 -203
  737. package/debuggingApp/node_modules/negotiator/index.js +0 -82
  738. package/debuggingApp/node_modules/negotiator/lib/charset.js +0 -169
  739. package/debuggingApp/node_modules/negotiator/lib/encoding.js +0 -184
  740. package/debuggingApp/node_modules/negotiator/lib/language.js +0 -179
  741. package/debuggingApp/node_modules/negotiator/lib/mediaType.js +0 -294
  742. package/debuggingApp/node_modules/negotiator/package.json +0 -42
  743. package/debuggingApp/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  744. package/debuggingApp/node_modules/object-inspect/.nycrc +0 -13
  745. package/debuggingApp/node_modules/object-inspect/CHANGELOG.md +0 -360
  746. package/debuggingApp/node_modules/object-inspect/LICENSE +0 -21
  747. package/debuggingApp/node_modules/object-inspect/example/all.js +0 -23
  748. package/debuggingApp/node_modules/object-inspect/example/circular.js +0 -6
  749. package/debuggingApp/node_modules/object-inspect/example/fn.js +0 -5
  750. package/debuggingApp/node_modules/object-inspect/example/inspect.js +0 -10
  751. package/debuggingApp/node_modules/object-inspect/index.js +0 -512
  752. package/debuggingApp/node_modules/object-inspect/package-support.json +0 -20
  753. package/debuggingApp/node_modules/object-inspect/package.json +0 -94
  754. package/debuggingApp/node_modules/object-inspect/readme.markdown +0 -86
  755. package/debuggingApp/node_modules/object-inspect/test/bigint.js +0 -58
  756. package/debuggingApp/node_modules/object-inspect/test/browser/dom.js +0 -15
  757. package/debuggingApp/node_modules/object-inspect/test/circular.js +0 -16
  758. package/debuggingApp/node_modules/object-inspect/test/deep.js +0 -12
  759. package/debuggingApp/node_modules/object-inspect/test/element.js +0 -53
  760. package/debuggingApp/node_modules/object-inspect/test/err.js +0 -48
  761. package/debuggingApp/node_modules/object-inspect/test/fakes.js +0 -29
  762. package/debuggingApp/node_modules/object-inspect/test/fn.js +0 -76
  763. package/debuggingApp/node_modules/object-inspect/test/has.js +0 -15
  764. package/debuggingApp/node_modules/object-inspect/test/holes.js +0 -15
  765. package/debuggingApp/node_modules/object-inspect/test/indent-option.js +0 -271
  766. package/debuggingApp/node_modules/object-inspect/test/inspect.js +0 -139
  767. package/debuggingApp/node_modules/object-inspect/test/lowbyte.js +0 -12
  768. package/debuggingApp/node_modules/object-inspect/test/number.js +0 -58
  769. package/debuggingApp/node_modules/object-inspect/test/quoteStyle.js +0 -17
  770. package/debuggingApp/node_modules/object-inspect/test/toStringTag.js +0 -40
  771. package/debuggingApp/node_modules/object-inspect/test/undef.js +0 -12
  772. package/debuggingApp/node_modules/object-inspect/test/values.js +0 -211
  773. package/debuggingApp/node_modules/object-inspect/test-core-js.js +0 -26
  774. package/debuggingApp/node_modules/object-inspect/util.inspect.js +0 -1
  775. package/debuggingApp/node_modules/on-finished/HISTORY.md +0 -98
  776. package/debuggingApp/node_modules/on-finished/LICENSE +0 -23
  777. package/debuggingApp/node_modules/on-finished/README.md +0 -162
  778. package/debuggingApp/node_modules/on-finished/index.js +0 -234
  779. package/debuggingApp/node_modules/on-finished/package.json +0 -39
  780. package/debuggingApp/node_modules/parseurl/HISTORY.md +0 -58
  781. package/debuggingApp/node_modules/parseurl/LICENSE +0 -24
  782. package/debuggingApp/node_modules/parseurl/README.md +0 -133
  783. package/debuggingApp/node_modules/parseurl/index.js +0 -158
  784. package/debuggingApp/node_modules/parseurl/package.json +0 -40
  785. package/debuggingApp/node_modules/path-to-regexp/History.md +0 -36
  786. package/debuggingApp/node_modules/path-to-regexp/LICENSE +0 -21
  787. package/debuggingApp/node_modules/path-to-regexp/Readme.md +0 -35
  788. package/debuggingApp/node_modules/path-to-regexp/index.js +0 -129
  789. package/debuggingApp/node_modules/path-to-regexp/package.json +0 -30
  790. package/debuggingApp/node_modules/proxy-addr/HISTORY.md +0 -161
  791. package/debuggingApp/node_modules/proxy-addr/LICENSE +0 -22
  792. package/debuggingApp/node_modules/proxy-addr/README.md +0 -139
  793. package/debuggingApp/node_modules/proxy-addr/index.js +0 -327
  794. package/debuggingApp/node_modules/proxy-addr/package.json +0 -47
  795. package/debuggingApp/node_modules/qs/.github/FUNDING.yml +0 -12
  796. package/debuggingApp/node_modules/qs/.nycrc +0 -13
  797. package/debuggingApp/node_modules/qs/CHANGELOG.md +0 -388
  798. package/debuggingApp/node_modules/qs/LICENSE.md +0 -29
  799. package/debuggingApp/node_modules/qs/README.md +0 -623
  800. package/debuggingApp/node_modules/qs/dist/qs.js +0 -2044
  801. package/debuggingApp/node_modules/qs/lib/formats.js +0 -23
  802. package/debuggingApp/node_modules/qs/lib/index.js +0 -11
  803. package/debuggingApp/node_modules/qs/lib/parse.js +0 -263
  804. package/debuggingApp/node_modules/qs/lib/stringify.js +0 -317
  805. package/debuggingApp/node_modules/qs/lib/utils.js +0 -252
  806. package/debuggingApp/node_modules/qs/package.json +0 -73
  807. package/debuggingApp/node_modules/qs/test/parse.js +0 -841
  808. package/debuggingApp/node_modules/qs/test/stringify.js +0 -865
  809. package/debuggingApp/node_modules/qs/test/utils.js +0 -136
  810. package/debuggingApp/node_modules/range-parser/HISTORY.md +0 -56
  811. package/debuggingApp/node_modules/range-parser/LICENSE +0 -23
  812. package/debuggingApp/node_modules/range-parser/README.md +0 -84
  813. package/debuggingApp/node_modules/range-parser/index.js +0 -162
  814. package/debuggingApp/node_modules/range-parser/package.json +0 -44
  815. package/debuggingApp/node_modules/raw-body/HISTORY.md +0 -303
  816. package/debuggingApp/node_modules/raw-body/LICENSE +0 -22
  817. package/debuggingApp/node_modules/raw-body/README.md +0 -223
  818. package/debuggingApp/node_modules/raw-body/SECURITY.md +0 -24
  819. package/debuggingApp/node_modules/raw-body/index.d.ts +0 -87
  820. package/debuggingApp/node_modules/raw-body/index.js +0 -329
  821. package/debuggingApp/node_modules/raw-body/package.json +0 -49
  822. package/debuggingApp/node_modules/regenerator-runtime/LICENSE +0 -21
  823. package/debuggingApp/node_modules/regenerator-runtime/README.md +0 -31
  824. package/debuggingApp/node_modules/regenerator-runtime/package.json +0 -19
  825. package/debuggingApp/node_modules/regenerator-runtime/path.js +0 -11
  826. package/debuggingApp/node_modules/regenerator-runtime/runtime.js +0 -754
  827. package/debuggingApp/node_modules/safe-buffer/LICENSE +0 -21
  828. package/debuggingApp/node_modules/safe-buffer/README.md +0 -584
  829. package/debuggingApp/node_modules/safe-buffer/index.d.ts +0 -187
  830. package/debuggingApp/node_modules/safe-buffer/index.js +0 -65
  831. package/debuggingApp/node_modules/safe-buffer/package.json +0 -51
  832. package/debuggingApp/node_modules/safer-buffer/LICENSE +0 -21
  833. package/debuggingApp/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  834. package/debuggingApp/node_modules/safer-buffer/Readme.md +0 -156
  835. package/debuggingApp/node_modules/safer-buffer/dangerous.js +0 -58
  836. package/debuggingApp/node_modules/safer-buffer/package.json +0 -34
  837. package/debuggingApp/node_modules/safer-buffer/safer.js +0 -77
  838. package/debuggingApp/node_modules/safer-buffer/tests.js +0 -406
  839. package/debuggingApp/node_modules/send/HISTORY.md +0 -521
  840. package/debuggingApp/node_modules/send/LICENSE +0 -23
  841. package/debuggingApp/node_modules/send/README.md +0 -327
  842. package/debuggingApp/node_modules/send/SECURITY.md +0 -24
  843. package/debuggingApp/node_modules/send/index.js +0 -1143
  844. package/debuggingApp/node_modules/send/node_modules/ms/index.js +0 -162
  845. package/debuggingApp/node_modules/send/node_modules/ms/license.md +0 -21
  846. package/debuggingApp/node_modules/send/node_modules/ms/package.json +0 -38
  847. package/debuggingApp/node_modules/send/node_modules/ms/readme.md +0 -59
  848. package/debuggingApp/node_modules/send/package.json +0 -62
  849. package/debuggingApp/node_modules/serve-static/HISTORY.md +0 -471
  850. package/debuggingApp/node_modules/serve-static/LICENSE +0 -25
  851. package/debuggingApp/node_modules/serve-static/README.md +0 -257
  852. package/debuggingApp/node_modules/serve-static/index.js +0 -210
  853. package/debuggingApp/node_modules/serve-static/package.json +0 -42
  854. package/debuggingApp/node_modules/setprototypeof/LICENSE +0 -13
  855. package/debuggingApp/node_modules/setprototypeof/README.md +0 -31
  856. package/debuggingApp/node_modules/setprototypeof/index.d.ts +0 -2
  857. package/debuggingApp/node_modules/setprototypeof/index.js +0 -17
  858. package/debuggingApp/node_modules/setprototypeof/package.json +0 -38
  859. package/debuggingApp/node_modules/setprototypeof/test/index.js +0 -24
  860. package/debuggingApp/node_modules/side-channel/.github/FUNDING.yml +0 -12
  861. package/debuggingApp/node_modules/side-channel/.nycrc +0 -13
  862. package/debuggingApp/node_modules/side-channel/CHANGELOG.md +0 -65
  863. package/debuggingApp/node_modules/side-channel/LICENSE +0 -21
  864. package/debuggingApp/node_modules/side-channel/README.md +0 -2
  865. package/debuggingApp/node_modules/side-channel/index.js +0 -124
  866. package/debuggingApp/node_modules/side-channel/package.json +0 -67
  867. package/debuggingApp/node_modules/side-channel/test/index.js +0 -78
  868. package/debuggingApp/node_modules/statuses/HISTORY.md +0 -82
  869. package/debuggingApp/node_modules/statuses/LICENSE +0 -23
  870. package/debuggingApp/node_modules/statuses/README.md +0 -136
  871. package/debuggingApp/node_modules/statuses/codes.json +0 -65
  872. package/debuggingApp/node_modules/statuses/index.js +0 -146
  873. package/debuggingApp/node_modules/statuses/package.json +0 -49
  874. package/debuggingApp/node_modules/toidentifier/HISTORY.md +0 -9
  875. package/debuggingApp/node_modules/toidentifier/LICENSE +0 -21
  876. package/debuggingApp/node_modules/toidentifier/README.md +0 -61
  877. package/debuggingApp/node_modules/toidentifier/index.js +0 -32
  878. package/debuggingApp/node_modules/toidentifier/package.json +0 -38
  879. package/debuggingApp/node_modules/type-is/HISTORY.md +0 -259
  880. package/debuggingApp/node_modules/type-is/LICENSE +0 -23
  881. package/debuggingApp/node_modules/type-is/README.md +0 -170
  882. package/debuggingApp/node_modules/type-is/index.js +0 -266
  883. package/debuggingApp/node_modules/type-is/package.json +0 -45
  884. package/debuggingApp/node_modules/unpipe/HISTORY.md +0 -4
  885. package/debuggingApp/node_modules/unpipe/LICENSE +0 -22
  886. package/debuggingApp/node_modules/unpipe/README.md +0 -43
  887. package/debuggingApp/node_modules/unpipe/index.js +0 -69
  888. package/debuggingApp/node_modules/unpipe/package.json +0 -27
  889. package/debuggingApp/node_modules/utils-merge/LICENSE +0 -20
  890. package/debuggingApp/node_modules/utils-merge/README.md +0 -34
  891. package/debuggingApp/node_modules/utils-merge/index.js +0 -23
  892. package/debuggingApp/node_modules/utils-merge/package.json +0 -40
  893. package/debuggingApp/node_modules/vary/HISTORY.md +0 -39
  894. package/debuggingApp/node_modules/vary/LICENSE +0 -22
  895. package/debuggingApp/node_modules/vary/README.md +0 -101
  896. package/debuggingApp/node_modules/vary/index.js +0 -149
  897. package/debuggingApp/node_modules/vary/package.json +0 -43
  898. package/debuggingApp/package-lock.json +0 -1162
  899. package/debuggingApp/package.json +0 -18
  900. package/debuggingApp/server.js +0 -42
  901. package/dist/cjs/locize.js +0 -464
  902. package/dist/esm/locize.js +0 -454
package/locize.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).locize={})}(this,(function(e){"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){i(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t={top:0,left:0,right:0,bottom:0},n=e&&e.ownerDocument,i=n&&n.documentElement;if(!i)return t;"undefined"!==o(e.getBoundingClientRect)&&(t=e.getBoundingClientRect());var r=function(e){return null!=(t=e)&&t===t.window?e:9===e.nodeType&&e.defaultView;var t}(n),a=t.top+r.pageYOffset-i.clientTop,s=t.left+r.pageXOffset-i.clientLeft;return{top:a,left:s,right:s+(t.right-t.left),bottom:a+(t.bottom-t.top)}}function a(e,t){return e&&e.getAttribute&&e.getAttribute(t)}function s(e){var t=a(e,"data-i18n");return t||(e.nodeType===window.Node.TEXT_NODE&&e.parentElement?s(e.parentElement):void 0)}function d(e){var t;return function e(n){var o=a(n,"i18next-options");if(o||(o=a(n,"data-i18next-options")),o||(o=a(n,"i18n-options")),o||(o=a(n,"data-i18n-options")),o){var i={};try{i=JSON.parse(o)}catch(e){}i.ns&&(t=i.ns)}t||(t=a(n,"i18next-ns")),t||(t=a(n,"data-i18next-ns")),t||(t=a(n,"i18n-ns")),t||(t=a(n,"data-i18n-ns")),!t&&n.parentElement&&e(n.parentElement)}(e),t}function c(e,t){return function(n){var o=function(e){if(e.srcElement&&1===e.srcElement.nodeType&&("BUTTON"===e.srcElement.nodeName||"INPUT"===e.srcElement.nodeName))return e.srcElement.getAttribute&&""===e.srcElement.getAttribute("ignorelocizeeditor")?null:e.srcElement;var t;if(e.originalEvent&&e.originalEvent.explicitOriginalTarget)t=e.originalEvent.explicitOriginalTarget;else{var n=e.srcElement;if(n.getAttribute&&""===n.getAttribute("ignorelocizeeditor"))return null;for(var o,i=e.pageX,a=e.pageY,s=0,d=0;d<n.childNodes.length;d++){var c=n.childNodes[d],l=r(c);1===c.nodeType&&l.bottom<a&&(s=d+1),!o&&l.top+(c.clientHeight||0)>a&&(o=d)}s+1>n.childNodes.length&&(s=n.childNodes.length-1),o||(o=n.childNodes.length);for(var u=s;u<o;u++){var f=n.childNodes[u];if(r(f).left>i)break;f&&8!==f.nodeType&&(t=f)}}return t}(n);if(!o)return{};n.preventDefault(),n.stopPropagation();var i=function(e){var t=e.textContent||e.text&&e.text.innerText||e.placeholder;if("string"==typeof t)return t.replace(/\n +/g,"").trim()}(o),a=s(o),c=o.getBoundingClientRect?o:o.parentElement,l=c.getBoundingClientRect(),u=l.top,f=l.left,p=l.width,g=l.height,m=window.getComputedStyle(c,null),b=parseFloat(m.getPropertyValue("padding-top")),v=parseFloat(m.getPropertyValue("padding-bottom")),y=parseFloat(m.getPropertyValue("padding-right")),w=parseFloat(m.getPropertyValue("padding-left")),h=m.getPropertyValue("box-sizing");e({tagName:c.tagName,text:i,key:a,ns:d(o)||function(){var e=t.getI18next();if(e&&e.options&&e.options.isLocizify)return e.options.defaultNS}(),box:{top:u,left:f,width:"border-box"===h?p:p-y-w,height:"border-box"===h?g:g-b-v},style:m.cssText})}}function l(e){var t=window.document.createElement("div");t.setAttribute("style",'font-family: "Helvetica", "Arial", sans-serif; bottom: 20px; right: 20px; padding: 10px; background-color: #fff; border: solid 1px #1976d2; box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.5); border-radius: 3px; z-index: 2147483647; position: fixed;'),t.setAttribute("ignorelocizeeditor",""),t.setAttribute("translated","");var o=window.document.createElement("h4");o.id="locize-title",o.innerHTML="Translate InContext:",o.setAttribute("style",'font-family: "Helvetica", "Arial", sans-serif; font-size: 14px; margin: 0 0 5px 0; color: #1976d2; font-weight: 300;'),o.setAttribute("ignorelocizeeditor",""),t.appendChild(o);var i=window.document.createElement("button");i.innerHTML="Open in locize",i.setAttribute("style","".concat('font-family: "Helvetica", "Arial", sans-serif; font-size: 14px; color: #fff; border: none; font-weight: 300; height: 30px; line-height: 30px; padding: 0 15px; text-align: center; min-width: 90px; text-decoration: none; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; outline: none; cursor: pointer; border-radius: 15px;'," background-color: #1976d2;")),i.onclick=function(){var t=e.getI18next(),o=t&&t.options&&t.options.backend,i=n(n({},o),e),r=i.projectId,a=i.version,s=e.editorUrl||o&&o.loadPath&&0===o.loadPath.indexOf("https://api-dev.locize.app")&&"https://dev.locize.app"||"https://www.locize.app";window.location="".concat(s,"/cat/").concat(r,"/v/").concat(a,"/incontext?sourceurl=").concat(encodeURI(window.location.href))},i.setAttribute("ignorelocizeeditor",""),t.appendChild(i),window.document.body.appendChild(t)}var u,f,p,g,m,b,v=!0;try{v=self!==top}catch(e){}var y,w=[];function h(e){m=e}function x(e){var t={message:"setLng",lng:e};u?u.postMessage(t,f):w.push(t)}function O(e){var t={message:"hrefChanged",href:e};u?u.postMessage(t,f):w.push(t)}function E(e,t,n,o){var i={message:"added",lng:e,ns:t,key:n,value:o};u?u.postMessage(i,f):w.push(i)}var z={type:"3rdParty",init:function(e){y=e,h((function(t){t.updated.forEach((function(t){var n=t.lng,o=t.ns,i=t.key,r=t.data;e.addResource(n,o,i,r.value,{silent:!0}),e.emit("editorSaved")}))})),v&&(e.options.missingKeyHandler=function(e,t,n,o,i,r){i||E(e,t,n,o)}),y.on("languageChanged",(function(e){x(e)}))}};function P(){return y}if("undefined"!=typeof window&&window.addEventListener("message",(function(e){if(e.data&&e.data.message)if("isLocizeEnabled"===e.data.message)u||(u=e.source,f=e.origin,p=c((function(e){u.postMessage({message:"clickedElement",payload:e},f)}),{getI18next:P})),u.postMessage({message:"locizeIsEnabled",enabled:!0},e.origin),w.forEach((function(t){u.postMessage(t,e.origin)})),w=[];else if("turnOn"===e.data.message){if(b)return u.postMessage({message:"forcedOff"},f);g||window.document.body.addEventListener("click",p,!0),g=!0,u.postMessage({message:"turnedOn"},f)}else if("turnOff"===e.data.message){if(b)return u.postMessage({message:"forcedOff"},f);g&&window.document.body.removeEventListener("click",p,!0),g=!1,u.postMessage({message:"turnedOff"},f)}else if("committed"===e.data.message){var t=e.data.payload;window.locizeSavedHandler&&window.locizeSavedHandler(t),m&&m(t)}})),"undefined"!=typeof window){var T=window.document.location.href;window.addEventListener("load",(function(){O(window.document.location.href);var e=window.document.querySelector("body");new window.MutationObserver((function(e){e.forEach((function(e){T!==window.document.location.href&&O(T=window.document.location.href)}))})).observe(e,{childList:!0,subtree:!0})}))}e.addLocizeSavedHandler=h,e.locizePlugin=z,e.onAddedKey=E,e.setEditorLng=x,e.showLocizeLink=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v||l(n(n({},e),{},{getI18next:P}))},e.turnOff=function(){return b=!0,g&&window.document.body.removeEventListener("click",p,!0),g=!1,u&&u.postMessage({message:"turnedOff"},f),u&&u.postMessage({message:"forcedOff"},f),b},e.turnOn=function(){return b=!1,g||window.document.body.addEventListener("click",p,!0),g=!0,u&&u.postMessage({message:"turnedOn"},f),b},Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).locize={})}(this,(function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e){var n=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===t(n)?n:String(n)}function r(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=["​","‌"],i=RegExp("([".concat(o.join(""),"]{9})+"),"gu"),a=function(e){var t=function(e){return Array.from((new TextEncoder).encode(e))}(e).map(Number),n=t.map((function(e){return function(e){var t=8-e.length;return"0".repeat(t)+e}(e.toString(2))+"0"})).join("");return Array.from(n).map((function(e){return o[Number(e)]})).join("")},l=a("subliminal:start"),c=function(e){var t,n=Array.from(e).map((function(e){return o.indexOf(e)})).map(String).join("").match(/(.{9})/g),r=Uint8Array.from((null==n?void 0:n.map((function(e){return parseInt(e.slice(0,8),2)})))||[]);return t=r,(new TextDecoder).decode(new Uint8Array(t))},s=function(e){var t,n=null===(t=e.match(i))||void 0===t?void 0:t.filter((function(e){return e.length>8}));if(n&&0!==n.length)return c(n[n.length-1])},u=function(e){return e.replace(i,"")},d=function(e){if(0===Object.keys(e).length)return e;var t={k:e.key,n:e.ns,l:e.lng,s:e.source};return JSON.stringify(t)},f=function(e){if(e&&"string"==typeof e&&0===e.indexOf("{"))try{var t=JSON.parse(e||"{}");return{key:t.k,ns:t.n,lng:t.l,source:t.s}}catch(e){return}};function p(e){var t=d(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=a(t);return"string"==typeof e&&e?l+e+n:e}function g(e){var t=s(e),n=f(t);return{text:u(e),invisibleMeta:n}}function m(e){if(!e||e.length<27)return!1;if(!i.test(e))return!1;var t=e.substring(e.length-9);return"}"===c(t)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b="subliminal",v={name:b,type:"postProcessor",options:{},setOptions:function(e){this.options=y(y({},e),this.options)},process:function(e,t,n,r){var o,i,a,l,c=this.options=y(y({},n),this.options);if(n.i18nResolved)o=n.i18nResolved.exactUsedKey,i=n.i18nResolved.usedNS,a=n.i18nResolved.usedLng,l=void 0===n.i18nResolved.res?o!==e?"default":"key":"translation";else{var s,u,d,f,g,m,h=null!==(s=null!==(u=c.keySeparator)&&void 0!==u?u:null==r||null===(d=r.options)||void 0===d?void 0:d.keySeparator)&&void 0!==s?s:".",b=r.extractFromKey(t.join(h),n),v=b.key,x=b.namespaces;o=v,i=null!==(f=null!==(g=null==x?void 0:x[0])&&void 0!==g?g:c.ns)&&void 0!==f?f:null==r||null===(m=r.options)||void 0===m?void 0:m.defaultNS,a=n.lng||this.language,l=o===e?"key":"translation"}return p(e,{key:o,ns:i,lng:a,source:l})},overloadTranslationOptionHandler:function(){return{postProcess:b,postProcessPassResolved:!0}}},x=["placeholder","title","alt"],w={highlight:"#26a69a",warning:"#e67a00"},O=function(){var e,t;"undefined"!=typeof process&&(t=process),t||"undefined"==typeof window||(t=window.process);var n=(null===(e=(t||{}).env)||void 0===e?void 0:e.locizeIncontext)||"production";return"development"===n?"http://localhost:3003/":"staging"===n?"https://incontext-dev.locize.app":"https://incontext.locize.app"},k=function(){if("undefined"!=typeof document){var e=document.createElement("style");return document.head.appendChild(e),e.sheet}}();function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){z.locizeSavedHandler=e}function j(){return z.scriptTurnedOff=!1,z.turnOn(),z.scriptTurnedOff}function C(){return z.turnOff(),z.scriptTurnedOff=!0,z.scriptTurnedOff}function L(e){z.sendCurrentTargetLanguage(e)}var S=[];function D(e,t){var n;z.source||(z.source=null===(n=document.getElementById("i18next-editor-iframe"))||void 0===n?void 0:n.contentWindow);if(z.origin||(z.origin=O()),z.source&&z.source.postMessage){z.legacy?z.source.postMessage(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({message:e},t),z.origin):z.source.postMessage({sender:"i18next-editor",senderAPIVersion:"v1",action:e,message:e,payload:t},z.origin);var o=S;S=[],o.forEach((function(e){D(e.action,e.payload)}))}else S.push({action:e,payload:t})}var R={},T=5,z={init:function(e,t){z.i18n=e,z.clickHandler=t},requestInitialize:function(e){D("requestInitialize",e),z.initInterval=setInterval((function(){T-=1,z.requestInitialize(e),T<0&&z.initInterval&&clearInterval(z.initInterval)}),1e3)},selectKey:function(e){D("selectKey",e)},confirmResourceBundle:function(e){D("confirmResourceBundle",e)},sendCurrentParsedContent:function(){D("sendCurrentParsedContent",{content:Object.values(tt.data).map((function(e){return{id:e.id,keys:e.keys}}))})},sendCurrentTargetLanguage:function(e){D("sendCurrentTargetLanguage",{targetLng:e||z.i18n.getLng()})},addHandler:function(e,t){R[e]||(R[e]=[]),R[e].push(t)},sendLocizeIsEnabled:function(){D("locizeIsEnabled",{enabled:!0})},turnOn:function(){if(z.scriptTurnedOff)return D("forcedOff");z.clickInterceptionEnabled||window.document.body.addEventListener("click",z.clickHandler,!0),z.clickInterceptionEnabled=!0,D("turnedOn")},turnOff:function(){if(z.scriptTurnedOff)return D("forcedOff");z.clickInterceptionEnabled&&window.document.body.removeEventListener("click",z.clickHandler,!0),z.clickInterceptionEnabled=!1,D("turnedOff")},onAddedKey:function(e,t,n,r){D("added",{lng:e,ns:t,key:n,value:r})}};function A(e,t){var n=tt.get(e.eleUniqueID);if(n&&n.keys[e.textType]){var r=p(t,n.subliminal);if("text"===e.textType)n.node.textContent=r;else if(0===e.textType.indexOf("attr:")){var o=e.textType.replace("attr:","");n.node.setAttribute(o,r)}else if("html"===e.textType){var i="".concat(e.textType,"-").concat(e.children);if(!n.originalChildNodes){var a=[];n.node.childNodes.forEach((function(e){a.push(e)})),n.originalChildNodes=a}if(n.children[i].length===n.node.childNodes.length)n.node.innerHTML=r;else{var l=n.children[i],c=l[0].child,s=document.createElement("div");s.innerHTML=r;var u=[];s.childNodes.forEach((function(e){u.push(e)})),u.forEach((function(e){try{n.node.insertBefore(e,c)}catch(t){n.node.appendChild(e)}})),l.forEach((function(e){n.node.contains(e.child)&&n.node.removeChild(e.child)}))}}}}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function I(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}"undefined"!=typeof window&&window.addEventListener("message",(function(e){var t=e.data,n=t.sender,r=t.action,o=t.message,i=t.payload;o&&R[o]?R[o].forEach((function(t){t(i,e)})):"i18next-editor-frame"===n&&R[r]&&R[r].forEach((function(e){e(i)}))})),z.addHandler("editKey",(function(e){var t=e.meta,n=e.value;t&&void 0!==n&&A(t,n)})),z.addHandler("commitKey",(function(e){var t=e.meta,n=e.value,r=e.lng;if(t&&void 0!==n){A(t,n);var o=r||z.i18n.getLng();z.i18n.setResource(o,t.ns,t.key,n),z.i18n.triggerRerender()}})),z.addHandler("commitKeys",(function(e){e.updated.forEach((function(e){var t=e.lng,n=e.ns,r=e.key,o=e.data,i=e.metas,a=e.meta;a&&o.value&&A(a,o.value),i&&Object.values(i).forEach((function(e){A(e,o.value)})),z.i18n.setResource(t,n,r,o.value)})),Object.values(tt.data).forEach((function(e){var t;e.originalChildNodes&&(t=e.node).replaceChildren.apply(t,I(e.originalChildNodes))})),z.i18n.triggerRerender(),z.locizeSavedHandler&&z.locizeSavedHandler(e),window.locizeSavedHandler&&window.locizeSavedHandler(e)})),z.addHandler("confirmInitialized",(function(e){z.initialized=!0,clearInterval(z.initInterval),z.sendCurrentParsedContent(),z.sendCurrentTargetLanguage()})),z.addHandler("requestPopupChanges",(function(e){var t=e.containerStyle;if(t){var n=document.getElementById("i18next-editor-popup");if(t.height){var r="calc(".concat(t.height," - ").concat(n.style.height,")");n.style.setProperty("top","calc(".concat(n.style.top," - ").concat(r,")")),n.style.setProperty("height",t.height)}if(t.width){var o="calc(".concat(t.width," - ").concat(n.style.width,")");n.style.setProperty("left","calc(".concat(n.style.left," - ").concat(o,")")),n.style.setProperty("width",t.width)}}}));var B=["lng","ns"];function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}z.addHandler("requestResourceBundle",(function(e){var t=e.lng,n=e.ns,o=N(e,B);z.i18n.getResourceBundle(t,n,(function(e){z.confirmResourceBundle(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({resources:e,lng:t,ns:n},o))}))}));var q=[];z.addHandler("selectedKeys",(function(e){var t=e.keys,n=[];Object.values(tt.data).forEach((function(e){Object.values(e.keys).filter((function(e){return t.includes(e.qualifiedKey)})).length&&n.push(e)})),q.forEach((function(e){$e(e,e.node,e.keys,!1)})),n.forEach((function(e){!function(e,t,n){var r=e.id;_e[r]||(_e[r]=Ye.reduce((function(e,n){return e[n]=t.style[n],e}),{}));Xe.includes(t.nodeName)?(t.style.outline="".concat(w.highlight," solid 1px"),t.style.setProperty("border-radius","1px"),t.style.setProperty("outline-offset","2px"),t.style.filter="brightness(110%) drop-shadow(0px 0px 2px ".concat(w.highlight," )")):(t.style.outline="".concat(w.highlight," solid 1px"),t.style.setProperty("border-radius","1px"),t.style.setProperty("outline-offset","1px"),t.style.filter="brightness(110%) drop-shadow(0px 0px 2px ".concat(w.highlight," )"));e.ribbonBox&&(document.body.removeChild(e.ribbonBox),delete e.ribbonBox);Je[r]=!0}(e,e.node,e.keys)})),q=n})),z.addHandler("isLocizeEnabled",(function(e,t){z.source=t.source,z.origin=t.origin,z.legacy=!0,z.sendLocizeIsEnabled()})),z.addHandler("turnOn",(function(e,t){z.turnOn()})),z.addHandler("turnOff",(function(e,t){z.turnOff()}));var F=URL.createObjectURL(new Blob(['<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#FFFFFF"><g></g><g><g><g><path d="M3,21l3.75,0L17.81,9.94l-3.75-3.75L3,17.25L3,21z M5,18.08l9.06-9.06l0.92,0.92L5.92,19L5,19L5,18.08z"/></g><g><path d="M18.37,3.29c-0.39-0.39-1.02-0.39-1.41,0l-1.83,1.83l3.75,3.75l1.83-1.83c0.39-0.39,0.39-1.02,0-1.41L18.37,3.29z"/></g></g></g></svg>'],{type:"image/svg+xml"})),U=URL.createObjectURL(new Blob(['\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 210 304" stroke="#000" stroke-linecap="round" stroke-linejoin="round" fill="#fff" fill-rule="evenodd">\n <g stroke="none" class="B">\n <path d="M 142 31.5 v 57.2 l 64.3 165.1 s 19.6 40.3 -36.5 50.1 h -128 s -52.3 -5.5 -39.8 -46.9 L 69.5 88.7 V 31.5 z" fill="#009688"/>\n <path d="M 143.3 24.8 H 66.2 c -6.2 0 -11.3 -5.6 -11.3 -12.4 S 60 0 66.2 0 h 77.1 c 6.3 0 11.3 5.6 11.3 12.4 s -5.1 12.4 -11.3 12.4 z" class="C" fill="#004d40"/>\n <path d="M 123 124.9 c 8.3 0 15 8.1 15 18.1 c 0 10 -6.8 18.1 -15 18.1 c -8.3 0 -15 -8.1 -15 -18.1 c 0 -10 6.7 -18.1 15 -18.1 z m -58.8 31.7 c 0 -8.5 5.6 -15.3 12.7 -15.3 s 12.7 6.8 12.7 15.3 s -5.6 15.3 -12.7 15.3 s -12.7 -6.8 -12.7 -15.3 z" fill="white"/>\n <path d="M 147.7 84.9 V 57.7 s 34.5 -7.6 51.7 32.5 c 0 0 -26.9 19.6 -51.7 -5.3 z m -84.5 0 V 57.7 s -34.5 -7.6 -51.7 32.5 c 0 0 26.8 19.6 51.7 -5.3 z" class="C" fill="#004d40"/>\n <path d="M 168.4 197.5 c -56.1 -17.4 -103.3 -8.1 -126.3 -1 l -23.2 56 c -10.5 33.4 33.2 37.8 33.2 37.8 h 106.9 c 46.9 -7.9 30.5 -40.4 30.5 -40.4 z" fill="white"/>\n <path d="M 87.6 218.3 c 0 6 -8.1 10.9 -18.1 10.9 s -18.1 -4.9 -18.1 -10.9 c 0 -6.1 8.1 -10.9 18.1 -10.9 s 18.1 4.9 18.1 10.9 z m 64.4 0 c 0 6 -8.1 10.9 -18.1 10.9 c -10 0 -18.1 -4.9 -18.1 -10.9 c 0 -6.1 8.1 -10.9 18.1 -10.9 c 10 0 18.1 4.9 18.1 10.9 z" class="C" fill="#004d40"/>\n </g>\n</svg>\n'],{type:"image/svg+xml"})),V=URL.createObjectURL(new Blob(['<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M6 19h12v2H6v-2z"/></svg>'],{type:"image/svg+xml"})),K=URL.createObjectURL(new Blob(['\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194.667 196" height="196" width="194.667" xml:space="preserve">\n <defs>\n <clipPath id="a" clipPathUnits="userSpaceOnUse">\n <path d="M5.5 74.048C5.5 36.98 35.551 6.93 72.619 6.93c37.069 0 67.119 30.05 67.119 67.118 0 37.07-30.05 67.12-67.119 67.12-37.068 0-67.119-30.05-67.119-67.12"/>\n </clipPath>\n <clipPath id="b" clipPathUnits="userSpaceOnUse">\n <path d="M0 147h146V0H0Z"/>\n </clipPath>\n <clipPath id="c" clipPathUnits="userSpaceOnUse">\n <path d="M88.756 55.055h50.982l4.512 88.195-64 1.25z"/>\n </clipPath>\n </defs>\n <g clip-path="url(#a)" transform="matrix(1.33333 0 0 -1.33333 0 196)">\n <path style="fill:#2196f3;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-.766-5.554 1.148-8.427 0-11.107-1.149-2.681-2.49-7.469-1.341-10.724 1.149-3.255 2.872-10.34 4.404-10.533 1.532-.19-1.148 7.66.383 5.171 1.533-2.49 1.533-6.193 4.214-8.746 2.68-2.553 6.319-2.17 9.192-4.658 2.872-2.49 5.744-6.129 8.425-5.746 0 0-.192-1.914-1.532-5.17-1.34-3.255-1.532-7.084.192-9.383 1.723-2.298 3.446-5.746 4.979-7.469 1.532-1.723 2.681-10.915 2.297-15.51-.382-4.596 1.724-14.937 6.511-17.236 4.787-2.298 0 1.15-.957 4.022-.958 2.872.739 9.575 3.052 10.533 2.309.958 4.416 4.787 6.139 7.469 1.724 2.68 6.128 3.83 7.469 7.084 1.341 3.255.766 7.085 1.532 8.809.766 1.724 2.873 5.554-1.724 7.852-4.595 2.298-6.51 1.148-6.702 3.255-.192 2.107-1.341 4.404-4.595 5.361-3.256.959-6.129 2.816-9.768 3.227-3.638.412-4.404-2.461-6.319-.928-1.914 1.531-3.446 3.064-4.213 4.978-.765 1.915-3.064.766-2.871 1.915.19 1.15 3.254 4.404-.193 3.255-3.446-1.148-6.51-.765-6.319 2.298.193 3.064 4.405 4.214 6.129 4.597 1.722.383 3.063-1.723 5.17-3.065 2.106-1.34.191 1.915 1.34 4.214 1.149 2.298 5.554 2.106 6.128 5.361.575 3.255-.191 5.937 3.256 6.32 3.446.383 7.084-.191 7.468 1.533.382 1.722-4.022-.576-4.213 1.531-.192 2.106 3.829 4.978 4.978 2.872 1.149-2.106 4.022-2.298 4.405-1.531.383.765 0 2.105-1.341 5.361-1.34 3.256-2.681 2.298-3.829 5.936-1.149 3.639-3.064-.191-4.979 1.724s-4.213 5.937-4.597 2.489c-.382-3.446-.382-5.361-2.105-8.042-1.724-2.682-2.489-.575-4.022 1.149-1.532 1.723-4.979 3.447-3.83 4.978C23.362 4.979 24.511 9 26.234 7.85c1.724-1.149 4.405-1.149 4.022.767-.383 1.914 0 2.681.766 3.638.766.958 3.447 2.682 3.447-.766 0-3.447-.384-4.405 2.298-4.788 2.681-.383 5.744-.574 5.554 1.149-.193 1.724.766 1.341 0 4.214-.767 2.873-3.065 3.063-5.554 4.405-2.489 1.34-3.83 3.446-5.936 2.68s-2.299-1.531-2.49-3.638c-.192-2.107-1.341-2.873-2.107-1.915-.765.957.192 4.022-2.68 2.106-2.873-1.914-4.021-5.171-5.553-2.872-1.533 2.297 2.297 6.319-1.724 4.595-4.022-1.723-6.895-3.637-4.788-4.404 2.107-.766 4.214-2.107 2.107-2.873-2.107-.765-6.32.575-7.852-.957C4.212 7.66 0 0 0 0" transform="translate(13.926 109.38)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c-.766-5.554 1.148-8.427 0-11.107-1.149-2.681-2.49-7.469-1.341-10.724 1.149-3.255 2.872-10.34 4.404-10.533 1.532-.19-1.148 7.66.383 5.171 1.533-2.49 1.533-6.193 4.214-8.746 2.68-2.553 6.319-2.17 9.192-4.658 2.872-2.49 5.744-6.129 8.425-5.746 0 0-.192-1.914-1.532-5.17-1.34-3.255-1.532-7.084.192-9.383 1.723-2.298 3.446-5.746 4.979-7.469 1.532-1.723 2.681-10.915 2.297-15.51-.382-4.596 1.724-14.937 6.511-17.236 4.787-2.298 0 1.15-.957 4.022-.958 2.872.739 9.575 3.052 10.533 2.309.958 4.416 4.787 6.139 7.469 1.724 2.68 6.128 3.83 7.469 7.084 1.341 3.255.766 7.085 1.532 8.809.766 1.724 2.873 5.554-1.724 7.852-4.595 2.298-6.51 1.148-6.702 3.255-.192 2.107-1.341 4.404-4.595 5.361-3.256.959-6.129 2.816-9.768 3.227-3.638.412-4.404-2.461-6.319-.928-1.914 1.531-3.446 3.064-4.213 4.978-.765 1.915-3.064.766-2.871 1.915.19 1.15 3.254 4.404-.193 3.255-3.446-1.148-6.51-.765-6.319 2.298.193 3.064 4.405 4.214 6.129 4.597 1.722.383 3.063-1.723 5.17-3.065 2.106-1.34.191 1.915 1.34 4.214 1.149 2.298 5.554 2.106 6.128 5.361.575 3.255-.191 5.937 3.256 6.32 3.446.383 7.084-.191 7.468 1.533.382 1.722-4.022-.576-4.213 1.531-.192 2.106 3.829 4.978 4.978 2.872 1.149-2.106 4.022-2.298 4.405-1.531.383.765 0 2.105-1.341 5.361-1.34 3.256-2.681 2.298-3.829 5.936-1.149 3.639-3.064-.191-4.979 1.724s-4.213 5.937-4.597 2.489c-.382-3.446-.382-5.361-2.105-8.042-1.724-2.682-2.489-.575-4.022 1.149-1.532 1.723-4.979 3.447-3.83 4.978C23.362 4.979 24.511 9 26.234 7.85c1.724-1.149 4.405-1.149 4.022.767-.383 1.914 0 2.681.766 3.638.766.958 3.447 2.682 3.447-.766 0-3.447-.384-4.405 2.298-4.788 2.681-.383 5.744-.574 5.554 1.149-.193 1.724.766 1.341 0 4.214-.767 2.873-3.065 3.063-5.554 4.405-2.489 1.34-3.83 3.446-5.936 2.68s-2.299-1.531-2.49-3.638c-.192-2.107-1.341-2.873-2.107-1.915-.765.957.192 4.022-2.68 2.106-2.873-1.914-4.021-5.171-5.553-2.872-1.533 2.297 2.297 6.319-1.724 4.595-4.022-1.723-6.895-3.637-4.788-4.404 2.107-.766 4.214-2.107 2.107-2.873-2.107-.765-6.32.575-7.852-.957C4.212 7.66 0 0 0 0Z" transform="translate(13.926 109.38)"/>\n <path style="fill:#2196f3;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-.01-2.141.575-3.829 2.49-1.915C4.405 0 5.553 2.298 6.895 1.341c1.34-.958 3.638-.703 4.594-.639.959.064 1.15 2.937 3.831 2.554s1.724.574 4.596 2.107c2.873 1.532 9.001 4.212 2.681 3.446-6.32-.766-6.703.958-11.108-1.914-4.403-2.873-5.36-2.873-6.509-3.639-1.149-.766-2.49 2.298-4.022 0C-.575.958.011 2.182 0 0" transform="translate(36.522 130.061)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c-.01-2.141.575-3.829 2.49-1.915C4.405 0 5.553 2.298 6.895 1.341c1.34-.958 3.638-.703 4.594-.639.959.064 1.15 2.937 3.831 2.554s1.724.574 4.596 2.107c2.873 1.532 9.001 4.212 2.681 3.446-6.32-.766-6.703.958-11.108-1.914-4.403-2.873-5.36-2.873-6.509-3.639-1.149-.766-2.49 2.298-4.022 0C-.575.958.011 2.182 0 0Z" transform="translate(36.522 130.061)"/>\n <path style="fill:#2196f3;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-2.263-1.956-5.744-4.788-3.064-4.788 2.681 0 3.983 1.404 5.439-.447 1.456-1.85.88-4.723.88-6.063 0-1.341-.766-4.406 1.15-8.235 1.915-3.829 2.106-6.319 4.022-3.829 1.914 2.488 6.51 7.276 8.808 7.658 2.298.384 4.597 1.342 5.746 3.257 1.148 1.915 0 3.773 1.914 5.141 1.914 1.369 1.531 3.093 2.107 5.199C27.575 0 32.747 0 30.448 1.148c-2.297 1.15-6.51 1.916-11.49 1.341C13.979 1.915 4.213 3.638 0 0" transform="translate(59.502 135.998)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c-2.263-1.956-5.744-4.788-3.064-4.788 2.681 0 3.983 1.404 5.439-.447 1.456-1.85.88-4.723.88-6.063 0-1.341-.766-4.406 1.15-8.235 1.915-3.829 2.106-6.319 4.022-3.829 1.914 2.488 6.51 7.276 8.808 7.658 2.298.384 4.597 1.342 5.746 3.257 1.148 1.915 0 3.773 1.914 5.141 1.914 1.369 1.531 3.093 2.107 5.199C27.575 0 32.747 0 30.448 1.148c-2.297 1.15-6.51 1.916-11.49 1.341C13.979 1.915 4.213 3.638 0 0Z" transform="translate(59.502 135.998)"/>\n <path style="fill:#2196f3;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-1.218-1.986-.575-2.107.766-2.49 1.34-.383-.575-2.68.957-2.872 1.532-.193 4.979-1.15 5.936 0 .959 1.148-1.531.7-3.255 1.977C2.682-2.107.865 1.41 0 0" transform="translate(38.438 76.826)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c-1.218-1.986-.575-2.107.766-2.49 1.34-.383-.575-2.68.957-2.872 1.532-.193 4.979-1.15 5.936 0 .959 1.148-1.531.7-3.255 1.977C2.682-2.107.865 1.41 0 0Z" transform="translate(38.438 76.826)"/>\n <path style="fill:#2196f3;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-2.063-1.033-1.148-2.682-3.064-3.831-1.915-1.148-1.149-1.531-1.723-4.213-.575-2.68.191-4.212 1.532-2.106S2.298 1.148 0 0" transform="translate(131.121 45.612)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c-2.063-1.033-1.148-2.682-3.064-3.831-1.915-1.148-1.149-1.531-1.723-4.213-.575-2.68.191-4.212 1.532-2.106S2.298 1.148 0 0Z" transform="translate(131.121 45.612)"/>\n <path style="fill:#2196f3;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-.575-.575-1.532 2.681-2.106 4.213-.575 1.532-.561 4.195 1.056 5.675C.964 11.734 0 7.469 0 5.17 0 2.873.574.575 0 0m-6.704 5.936c-1.341.766-3.828 0-6.892-.957-3.065-.958-.613 2.131.766 4.213 1.233 1.861.574-.574 3.256-.766 2.68-.192 4.213-3.256 2.87-2.49m-4.402-6.511c-.192-1.531.574-4.021-3.639-3.064-4.213.958-4.213 3.256-5.936 1.533-1.723-1.724-3.83-3.255-6.32-.575C-29.49 0-29.107.766-30.447.958c-.955.135-4.138.846-6.792.074.206.123.426.285.663.5 1.915 1.723 1.532 2.298 3.638 4.213 2.108 1.916 3.639 3.638 5.171 1.916 1.532-1.725 4.788-2.108 3.639-4.023-1.149-1.914-.383-3.063.958-1.914 1.339 1.149 3.255 1.914 1.915 3.446-1.342 1.532-2.682 5.554-.766 2.873 1.915-2.681 2.489-4.022 3.637-5.553C-17.234.958-16.085 0-15.702.958c.383.957-.192 3.063.383 3.446.574.383 0-3.255 1.723-3.446 1.723-.192 2.681 0 2.49-1.533M9.192-8.81c-.574 3.257-4.787 32.747-4.787 32.747s-11.299 7.277-13.213 5.746c-1.916-1.533-5.171-1.302-4.788.21s2.872 1.128-1.341 4.002c-4.212 2.873-4.978 5.362-8.233 1.724-3.257-3.639-4.022-6.703-5.937-7.661-1.915-.957-3.447-4.021-1.34-4.787 2.106-.765 2.298 0 4.02-1.531 1.725-1.533 4.023-1.149 4.406-.193.383.959.766 4.022.957 5.171.192 1.149 2.138 4.979 1.93 1.915-.207-3.064 2.665-3.064.75-5.17-1.914-2.106-.765-3.831-4.595-4.214-3.831-.382-4.022 1.915-6.128.766-2.107-1.148-1.915-1.915-2.681-3.063-.766-1.149-4.788-3.447-4.788-3.447s-3.255 1.149-1.724-.958c1.533-2.106 2.873-4.595 1.533-4.786-1.341-.192-4.98 1.914-4.98-.384s-.573-4.787.959-5.362c1.081-.405 1.783-1.284 2.775-1.161-.769-.332-1.468-.813-2.009-1.52-1.491-1.947-.575-5.362-3.639-6.511-3.063-1.15-3.063-2.489-3.639-4.979-.573-2.489 0-8.808.766-9.383.765-.574 2.107-5.362 5.363-4.978 3.256.383 6.702.53 7.851-.023 1.149-.551 3.063 1.171 3.638-3.233.575-4.404 1.915-4.979 2.681-7.277.766-2.297-.383-7.086 0-9.958s3.064-7.852 3.064-10.341c0-2.489 2.873-3.638 4.405-2.681 1.532.958 4.787 2.873 6.127 5.937 1.342 3.063 1.342 4.595 3.447 8.617 2.106 4.021 1.533 6.894 2.489 9.958.958 3.064 3.262 5.171 6.419 8.617 3.156 3.446 2.588 5.362 0 5.171-2.588-.191-4.314 2.297-5.654 5.361-1.338 3.065-2.87 10.724-1.721 8.235 1.149-2.491 3.446-9.384 5.744-10.533 2.298-1.149 6.512 1.953 7.469 3.083.957 1.131.574 4.385-1.916 5.726C.383-8.617 1.915-7.469 4.405-9c2.489-1.532 5.362-3.064 4.787.19" transform="translate(132.845 86.592)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c-.575-.575-1.532 2.681-2.106 4.213-.575 1.532-.561 4.195 1.056 5.675C.964 11.734 0 7.469 0 5.17 0 2.873.574.575 0 0Zm-6.704 5.936c-1.341.766-3.828 0-6.892-.957-3.065-.958-.613 2.131.766 4.213 1.233 1.861.574-.574 3.256-.766 2.68-.192 4.213-3.256 2.87-2.49zm-4.402-6.511c-.192-1.531.574-4.021-3.639-3.064-4.213.958-4.213 3.256-5.936 1.533-1.723-1.724-3.83-3.255-6.32-.575C-29.49 0-29.107.766-30.447.958c-.955.135-4.138.846-6.792.074.206.123.426.285.663.5 1.915 1.723 1.532 2.298 3.638 4.213 2.108 1.916 3.639 3.638 5.171 1.916 1.532-1.725 4.788-2.108 3.639-4.023-1.149-1.914-.383-3.063.958-1.914 1.339 1.149 3.255 1.914 1.915 3.446-1.342 1.532-2.682 5.554-.766 2.873 1.915-2.681 2.489-4.022 3.637-5.553C-17.234.958-16.085 0-15.702.958c.383.957-.192 3.063.383 3.446.574.383 0-3.255 1.723-3.446 1.723-.192 2.681 0 2.49-1.533zM9.192-8.81c-.574 3.257-4.787 32.747-4.787 32.747s-11.299 7.277-13.213 5.746c-1.916-1.533-5.171-1.302-4.788.21s2.872 1.128-1.341 4.002c-4.212 2.873-4.978 5.362-8.233 1.724-3.257-3.639-4.022-6.703-5.937-7.661-1.915-.957-3.447-4.021-1.34-4.787 2.106-.765 2.298 0 4.02-1.531 1.725-1.533 4.023-1.149 4.406-.193.383.959.766 4.022.957 5.171.192 1.149 2.138 4.979 1.93 1.915-.207-3.064 2.665-3.064.75-5.17-1.914-2.106-.765-3.831-4.595-4.214-3.831-.382-4.022 1.915-6.128.766-2.107-1.148-1.915-1.915-2.681-3.063-.766-1.149-4.788-3.447-4.788-3.447s-3.255 1.149-1.724-.958c1.533-2.106 2.873-4.595 1.533-4.786-1.341-.192-4.98 1.914-4.98-.384s-.573-4.787.959-5.362c1.081-.405 1.783-1.284 2.775-1.161-.769-.332-1.468-.813-2.009-1.52-1.491-1.947-.575-5.362-3.639-6.511-3.063-1.15-3.063-2.489-3.639-4.979-.573-2.489 0-8.808.766-9.383.765-.574 2.107-5.362 5.363-4.978 3.256.383 6.702.53 7.851-.023 1.149-.551 3.063 1.171 3.638-3.233.575-4.404 1.915-4.979 2.681-7.277.766-2.297-.383-7.086 0-9.958s3.064-7.852 3.064-10.341c0-2.489 2.873-3.638 4.405-2.681 1.532.958 4.787 2.873 6.127 5.937 1.342 3.063 1.342 4.595 3.447 8.617 2.106 4.021 1.533 6.894 2.489 9.958.958 3.064 3.262 5.171 6.419 8.617 3.156 3.446 2.588 5.362 0 5.171-2.588-.191-4.314 2.297-5.654 5.361-1.338 3.065-2.87 10.724-1.721 8.235 1.149-2.491 3.446-9.384 5.744-10.533 2.298-1.149 6.512 1.953 7.469 3.083.957 1.131.574 4.385-1.916 5.726C.383-8.617 1.915-7.469 4.405-9c2.489-1.532 5.362-3.064 4.787.19z" transform="translate(132.845 86.592)"/>\n <path style="fill:#2196f3;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-1.173-.353-2.106-2.681-1.532-3.831.576-1.148-.574.576-2.106-.382-1.533-.957-3.808-3.639-1.713-3.829 2.096-.193 1.713 1.531 3.628.765 1.915-.765 4.021-.575 4.021 1.34C2.298-4.021 1.915.574 0 0" transform="translate(95.886 109.955)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c-1.173-.353-2.106-2.681-1.532-3.831.576-1.148-.574.576-2.106-.382-1.533-.957-3.808-3.639-1.713-3.829 2.096-.193 1.713 1.531 3.628.765 1.915-.765 4.021-.575 4.021 1.34C2.298-4.021 1.915.574 0 0Z" transform="translate(95.886 109.955)"/>\n <path style="fill:#2196f3;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-1.154-.165-1.533-3.064.957-3.447 2.49-.383 6.947.575 5.293 2.107C4.596.191 2.682.383 0 0" transform="translate(83.44 118.763)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c-1.154-.165-1.533-3.064.957-3.447 2.49-.383 6.947.575 5.293 2.107C4.596.191 2.682.383 0 0Z" transform="translate(83.44 118.763)"/>\n </g>\n <g clip-path="url(#b)" transform="matrix(1.33333 0 0 -1.33333 0 196)">\n <path style="fill:none;stroke:#2196f3;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c0-37.068-30.05-67.119-67.119-67.119S-134.238-37.068-134.238 0c0 37.069 30.05 67.119 67.119 67.119S0 37.069 0 0Z" transform="translate(139.738 74.049)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c0-36.731-29.777-66.509-66.509-66.509S-133.019-36.731-133.019 0c0 36.733 29.778 66.51 66.51 66.51C-29.777 66.51 0 36.733 0 0Z" transform="translate(139.438 73.186)"/>\n </g>\n <g clip-path="url(#c)" transform="matrix(1.33333 0 0 -1.33333 0 196)">\n <path style="fill:#fff;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-1.542-1.541-3.386-2.311-5.533-2.311-2.148 0-3.991.77-5.532 2.311s-2.313 3.387-2.313 5.533c0 2.147.772 3.963 2.313 5.45 1.541 1.486 3.384 2.23 5.532 2.23 2.147 0 3.991-.744 5.533-2.23 1.54-1.487 2.312-3.303 2.312-5.45C2.312 3.387 1.54 1.541 0 0m12.551 23.039c-4.954 4.9-10.954 7.35-18.001 7.35-7.047 0-13.047-2.45-18.002-7.35-4.955-4.898-7.432-10.817-7.432-17.754 0-4.183 2.119-11.176 6.359-20.974 4.238-9.799 8.477-18.717 12.715-26.754 4.241-8.037 6.36-11.946 6.36-11.727.66 1.211 1.568 2.863 2.724 4.955 1.157 2.092 3.194 6.029 6.112 11.809 2.917 5.781 5.477 11.094 7.678 15.935a203.312 203.312 0 0 1 6.111 15.032c1.873 5.173 2.807 9.082 2.807 11.724 0 6.937-2.477 12.856-7.431 17.754" transform="translate(119.64 109.307)"/>\n <path style="fill:#fff;fill-opacity:1;fill-rule:nonzero;stroke:none" d="M0 0c-1.542-1.541-3.386-2.311-5.533-2.311-2.148 0-3.991.77-5.532 2.311s-2.313 3.387-2.313 5.533c0 2.147.772 3.963 2.313 5.45 1.541 1.486 3.384 2.23 5.532 2.23 2.147 0 3.991-.744 5.533-2.23 1.54-1.487 2.312-3.303 2.312-5.45C2.312 3.387 1.54 1.541 0 0m12.551 23.039c-4.954 4.9-10.954 7.35-18.001 7.35-7.047 0-13.047-2.45-18.002-7.35-4.955-4.898-7.432-10.817-7.432-17.754 0-4.183 2.119-11.176 6.359-20.974 4.238-9.799 8.477-18.717 12.715-26.754 4.241-8.037 6.36-11.946 6.36-11.727.66 1.211 1.568 2.863 2.724 4.955 1.157 2.092 3.194 6.029 6.112 11.809 2.917 5.781 5.477 11.094 7.678 15.935a203.312 203.312 0 0 1 6.111 15.032c1.873 5.173 2.807 9.082 2.807 11.724 0 6.937-2.477 12.856-7.431 17.754" transform="translate(119.64 109.307)"/>\n <path style="fill:none;stroke:#2196f3;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" d="M0 0c-1.542-1.541-3.386-2.311-5.533-2.311-2.148 0-3.991.77-5.532 2.311s-2.313 3.387-2.313 5.533c0 2.147.772 3.963 2.313 5.45 1.541 1.486 3.384 2.23 5.532 2.23 2.147 0 3.991-.744 5.533-2.23 1.54-1.487 2.312-3.303 2.312-5.45C2.312 3.387 1.54 1.541 0 0Zm12.551 23.039c-4.954 4.9-10.954 7.35-18.001 7.35-7.047 0-13.047-2.45-18.002-7.35-4.955-4.898-7.432-10.817-7.432-17.754 0-4.183 2.119-11.176 6.359-20.974 4.238-9.799 8.477-18.717 12.715-26.754 4.241-8.037 6.36-11.946 6.36-11.727.66 1.211 1.568 2.863 2.724 4.955 1.157 2.092 3.194 6.029 6.112 11.809 2.917 5.781 5.477 11.094 7.678 15.935a203.312 203.312 0 0 1 6.111 15.032c1.873 5.173 2.807 9.082 2.807 11.724 0 6.937-2.477 12.856-7.431 17.754z" transform="translate(119.64 109.307)"/>\n </g>\n</svg>\n'],{type:"image/svg+xml"}));function W(e,t,n){var r=document.createElement("button");r.style="font-family: Arial; position: relative; backdrop-filter: blur(3px); cursor: pointer; padding: 2px 10px 2px 20px; font-size: 15px; font-weight: 300; text-transform: uppercase; color: #fff; background-color: rgba(38, 166, 154, 0.8); border: none; border-radius: 12px",r.classList.add("i18next-editor-button"),r.setAttribute("data-i18next-editor-element","true"),r.setAttribute("title",t);var o,i=((o=document.createElement("img")).setAttribute("data-i18next-editor-element","true"),o.src=F,o.style.width="15px",o);i.style="position: absolute; left: 4px; top: 3px;",i.style.width="15px",r.appendChild(i);var a=document.createElement("span");return a.textContent=e,r.appendChild(a),r.onclick=n,r}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=document.createElement("div");t.style="position: absolute; top: 0; left: 0; display: flex; align-items: flex-start; justify-content: center; filter: drop-shadow(0px 0px 20px #aaa );",t.setAttribute("data-i18next-editor-element","true");var n=document.createElement("div");n.style="\n position: absolute;\n width: 0;\n height: 0;\n border-top-width: 7px;\n border-bottom-width: 7px;\n border-left-width: 10px;\n border-right-width: 10px;\n border-style: solid;\n border-color: transparent ".concat(w.highlight," transparent\n transparent;\n "),t.appendChild(n);var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"18px",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"15px",n=document.createElement("div");n.setAttribute("data-i18next-editor-element","true"),n.style="display: inline-flex; align-items: center; justify-content: center; width: ".concat(e,"; height: ").concat(e,"; box-shadow: inset 0 0 5px ").concat(w.highlight,"; border: 2px solid ").concat(w.highlight,"; border-radius: 50%");var r=document.createElement("img");return r.src=U,r.style.width=t,n.appendChild(r),n}();t.appendChild(r);var o=document.createElement("div");return o.style="display: flex; flex-direction: column; align-items: flex-start; margin-left: 2px; margin-top: 1px",Object.keys(e).forEach((function(t){var n=e[t],r=W(t.replace("attr:",""),"".concat(n.ns,":").concat(n.key),(function(){z.selectKey(n)}));r.style.marginBottom="2px",o.appendChild(r)})),t.appendChild(o),{box:t,arrow:n}}k&&k.insertRule(".i18next-editor-button:hover { background-color: rgba(38, 166, 154, 1) !important; }");const X=Math.min,Y=Math.max,_=Math.round,J=e=>({x:e,y:e}),$={left:"right",right:"left",bottom:"top",top:"bottom"},Q={start:"end",end:"start"};function G(e,t,n){return Y(e,X(t,n))}function ee(e,t){return"function"==typeof e?e(t):e}function te(e){return e.split("-")[0]}function ne(e){return e.split("-")[1]}function re(e){return"x"===e?"y":"x"}function oe(e){return"y"===e?"height":"width"}function ie(e){return["top","bottom"].includes(te(e))?"y":"x"}function ae(e){return re(ie(e))}function le(e){return e.replace(/start|end/g,(e=>Q[e]))}function ce(e){return e.replace(/left|right|bottom|top/g,(e=>$[e]))}function se(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function ue(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function de(e,t,n){let{reference:r,floating:o}=e;const i=ie(t),a=ae(t),l=oe(a),c=te(t),s="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[l]/2-o[l]/2;let p;switch(c){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(ne(t)){case"start":p[a]-=f*(n&&s?-1:1);break;case"end":p[a]+=f*(n&&s?-1:1)}return p}async function fe(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:l,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=ee(t,e),g=se(p),m=l[f?"floating"===d?"reference":"floating":d],h=ue(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:u,strategy:c})),y="floating"===d?{...a.floating,x:r,y:o}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},x=ue(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:b,strategy:c}):y);return{top:(h.top-x.top+g.top)/v.y,bottom:(x.bottom-h.bottom+g.bottom)/v.y,left:(h.left-x.left+g.left)/v.x,right:(x.right-h.right+g.right)/v.x}}const pe=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:c}=t,{element:s,padding:u=0}=ee(e,t)||{};if(null==s)return{};const d=se(u),f={x:n,y:r},p=ae(o),g=oe(p),m=await a.getDimensions(s),h="y"===p,y=h?"top":"left",b=h?"bottom":"right",v=h?"clientHeight":"clientWidth",x=i.reference[g]+i.reference[p]-f[p]-i.floating[g],w=f[p]-i.reference[p],O=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s));let k=O?O[v]:0;k&&await(null==a.isElement?void 0:a.isElement(O))||(k=l.floating[v]||i.floating[g]);const E=x/2-w/2,P=k/2-m[g]/2-1,j=X(d[y],P),C=X(d[b],P),L=j,S=k-m[g]-C,D=k/2-m[g]/2+E,R=G(L,D,S),T=!c.arrow&&null!=ne(o)&&D!=R&&i.reference[g]/2-(D<L?j:C)-m[g]/2<0,z=T?D<L?D-L:D-S:0;return{[p]:f[p]+z,data:{[p]:R,centerOffset:D-R-z,...T&&{alignmentOffset:z}},reset:T}}}),ge=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:s}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...h}=ee(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const y=te(o),b=te(l)===l,v=await(null==c.isRTL?void 0:c.isRTL(s.floating)),x=f||(b||!m?[ce(l)]:function(e){const t=ce(e);return[le(e),t,le(t)]}(l));f||"none"===g||x.push(...function(e,t,n,r){const o=ne(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(te(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(le)))),i}(l,m,g,v));const w=[l,...x],O=await fe(t,h),k=[];let E=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&k.push(O[y]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=ne(e),o=ae(e),i=oe(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=ce(a)),[a,ce(a)]}(o,a,v);k.push(O[e[0]],O[e[1]])}if(E=[...E,{placement:o,overflows:k}],!k.every((e=>e<=0))){var P,j;const e=((null==(P=i.flip)?void 0:P.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n=null==(j=E.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:j.placement;if(!n)switch(p){case"bestFit":{var C;const e=null==(C=E.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}};const me=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=te(n),l=ne(n),c="y"===ie(n),s=["left","top"].includes(a)?-1:1,u=i&&c?-1:1,d=ee(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:g}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&"number"==typeof g&&(p="end"===l?-1*g:g),c?{x:p*u,y:f*s}:{x:f*s,y:p*u}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function he(e){return ve(e)?(e.nodeName||"").toLowerCase():"#document"}function ye(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function be(e){var t;return null==(t=(ve(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ve(e){return e instanceof Node||e instanceof ye(e).Node}function xe(e){return e instanceof Element||e instanceof ye(e).Element}function we(e){return e instanceof HTMLElement||e instanceof ye(e).HTMLElement}function Oe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ye(e).ShadowRoot)}function ke(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Le(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ee(e){return["table","td","th"].includes(he(e))}function Pe(e){const t=je(),n=Le(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function je(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ce(e){return["html","body","#document"].includes(he(e))}function Le(e){return ye(e).getComputedStyle(e)}function Se(e){return xe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function De(e){if("html"===he(e))return e;const t=e.assignedSlot||e.parentNode||Oe(e)&&e.host||be(e);return Oe(t)?t.host:t}function Re(e){const t=De(e);return Ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:we(t)&&ke(t)?t:Re(t)}function Te(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Re(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=ye(o);return i?t.concat(a,a.visualViewport||[],ke(o)?o:[],a.frameElement&&n?Te(a.frameElement):[]):t.concat(o,Te(o,[],n))}function ze(e){const t=Le(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=we(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=_(n)!==i||_(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function Ae(e){return xe(e)?e:e.contextElement}function Me(e){const t=Ae(e);if(!we(t))return J(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ze(t);let a=(i?_(n.width):n.width)/r,l=(i?_(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ie=J(0);function Ne(e){const t=ye(e);return je()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ie}function Be(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Ae(e);let a=J(1);t&&(r?xe(r)&&(a=Me(r)):a=Me(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==ye(e))&&t}(i,n,r)?Ne(i):J(0);let c=(o.left+l.x)/a.x,s=(o.top+l.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=ye(i),t=r&&xe(r)?ye(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=Me(n),t=n.getBoundingClientRect(),r=Le(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,s*=e.y,u*=e.x,d*=e.y,c+=o,s+=i,n=ye(n).frameElement}}return ue({width:u,height:d,x:c,y:s})}function He(e){return Be(be(e)).left+Se(e).scrollLeft}function qe(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=ye(e),r=be(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;const e=je();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:l,y:c}}(e,n);else if("document"===t)r=function(e){const t=be(e),n=Se(e),r=e.ownerDocument.body,o=Y(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Y(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+He(e);const l=-n.scrollTop;return"rtl"===Le(r).direction&&(a+=Y(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}(be(e));else if(xe(t))r=function(e,t){const n=Be(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=we(e)?Me(e):J(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Ne(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return ue(r)}function Fe(e,t){const n=De(e);return!(n===t||!xe(n)||Ce(n))&&("fixed"===Le(n).position||Fe(n,t))}function Ue(e,t,n){const r=we(t),o=be(t),i="fixed"===n,a=Be(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=J(0);if(r||!r&&!i)if(("body"!==he(t)||ke(o))&&(l=Se(t)),r){const e=Be(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=He(o));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Ve(e,t){return we(e)&&"fixed"!==Le(e).position?t?t(e):e.offsetParent:null}function Ke(e,t){const n=ye(e);if(!we(e))return n;let r=Ve(e,t);for(;r&&Ee(r)&&"static"===Le(r).position;)r=Ve(r,t);return r&&("html"===he(r)||"body"===he(r)&&"static"===Le(r).position&&!Pe(r))?n:r||function(e){let t=De(e);for(;we(t)&&!Ce(t);){if(Pe(t))return t;t=De(t)}return null}(e)||n}const We={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=we(n),i=be(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},l=J(1);const c=J(0);if((o||!o&&"fixed"!==r)&&(("body"!==he(n)||ke(i))&&(a=Se(n)),we(n))){const e=Be(n);l=Me(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+c.x,y:t.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:be,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=Te(e,[],!1).filter((e=>xe(e)&&"body"!==he(e))),o=null;const i="fixed"===Le(e).position;let a=i?De(e):e;for(;xe(a)&&!Ce(a);){const t=Le(a),n=Pe(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||ke(a)&&!n&&Fe(e,a))?r=r.filter((e=>e!==a)):o=t,a=De(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],l=i.reduce(((e,n)=>{const r=qe(t,n,o);return e.top=Y(r.top,e.top),e.right=X(r.right,e.right),e.bottom=X(r.bottom,e.bottom),e.left=Y(r.left,e.left),e}),qe(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ke,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Ke,i=this.getDimensions;return{reference:Ue(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return ze(e)},getScale:Me,isElement:xe,isRTL:function(e){return"rtl"===Le(e).direction}},Ze=(e,t,n)=>{const r=new Map,o={platform:We,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=de(s,r,c),f=r,p={},g=0;for(let n=0;n<l.length;n++){const{name:i,fn:m}=l[n],{x:h,y:y,data:b,reset:v}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:t}});u=null!=h?h:u,d=null!=y?y:d,p={...p,[i]:{...p[i],...b}},v&&g<=50&&(g++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:u,y:d}=de(s,f,c))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})};var Xe=["DIV","P","H1","H2","H3","H4","H5","H6","OL","UL","ADDRESS","BLOCKQUOTE","DL","PRE"],Ye=["outline","border-radius","outline-offset","filter"],_e={},Je={};function $e(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=e.id;r&&Je[o]||(_e[o]&&(Ye.forEach((function(e){t.style.setProperty(e,_e[o][e])})),delete _e[o]),e.ribbonBox&&(document.body.removeChild(e.ribbonBox),delete e.ribbonBox),delete Je[o])}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var et={};var tt={save:function(e,t,n,o,i,a){e&&n&&o&&i&&(et[e]||(et[e]={id:e,node:i,subliminal:t}),et[e].keys=Ge(Ge({},et[e].keys),{},r({},"".concat(n),o)),a&&(et[e].children=Ge(Ge({},et[e].children),{},r({},"".concat(n,"-").concat(a.map((function(e){return e.childIndex})).join(",")),a))))},clean:function(){Object.values(et).forEach((function(e){document.body.contains(e.node)||($e(e.id,e.node),delete et[e.id])}))},get:function(e){return et[e]},data:et};function nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ot={};var it,at,lt={save:function(e,t,n){e&&t&&n&&(ot[e]||(ot[e]={id:e,node:n}),ot[e].keys=rt(rt({},ot[e].keys),{},r({},"".concat(t),"uninstrumented")))},clean:function(){Object.values(ot).forEach((function(e){document.body.contains(e.node)||($e(e.id,e.node),delete ot[e.id])}))},get:function(e){return ot[e]},data:ot};function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}!function(){if("undefined"!=typeof Document){var e=1;Document.prototype.hasOwnProperty("uniqueID")||(console.info('"document.uniqueID" not implemented; creating shim'),Object.defineProperty(Document.prototype,"uniqueID",{get:function(){return e++},enumerable:!1,configurable:!1}),Object.defineProperty(Element.prototype,"uniqueID",{get:function(){return Object.defineProperty(this,"uniqueID",{value:document.uniqueID,writable:!1,enumerable:!1,configurable:!1}),this.uniqueID},enumerable:!1,configurable:!0}))}}();var ut=[];function dt(e,t){if(!e.dataset||"true"!==e.dataset.i18nextEditorElement){t(e);for(var n=e.childNodes,r=0;r<n.length;r++)dt(n[r],t)}}function ft(e,t,n,o){var i,a,l=n.invisibleMeta,c=n.text;if(l&&l.key&&l.ns)return it||(it=null===(i=at)||void 0===i?void 0:i.getSourceLng()),st(st({eleUniqueID:e,textType:t,children:o?o.map((function(e){return e.childIndex})).join(","):null,qualifiedKey:"".concat(l.ns,":").concat(l.key)},l),{},{extractedText:c,i18nTargetLng:null===(a=at)||void 0===a?void 0:a.getLng(),i18nSourceLng:it,i18nRawText:r(r({},"".concat(l.lng),"translation"===l.source&&at?at.getResource(l.lng,l.ns,l.key):null),"".concat(it),"translation"===l.source&&at?at.getResource(it,l.ns,l.key):null)})}function pt(e){if(e.childNodes&&!ut.includes(e.uniqueID)){var t=[];e.childNodes.forEach((function(n,r){if(t.length&&"#text"!==n.nodeName&&(ut.push(n.uniqueID),t.push({childIndex:r,child:n})),"#text"===n.nodeName){var o=n.textContent;if(!/^\s*$/.test(o)){var i=m(o),a=o.startsWith(l);if(a&&i){var c=g(o);tt.save(e.uniqueID,c.invisibleMeta,"text",ft(e.uniqueID,"text",c),e)}else if(a)t.push({childIndex:r,child:n,text:o});else if(t.length&&!i)t.push({childIndex:r,child:n,text:o});else if(t.length&&i){t.push({childIndex:r,child:n,text:o});var s=g(t.reduce((function(e,t){return e+t.text}),""));tt.save(e.uniqueID,s.invisibleMeta,"html",ft(e.uniqueID,"html",s,t),e,t),t=[]}else o&&lt.save(e.uniqueID,"text",e)}}}))}e.getAttribute&&x.forEach((function(t){var n=e.getAttribute(t);if(m(n)){var r=g(n);tt.save(e.uniqueID,r.invisibleMeta,"attr:".concat(t),ft(e.uniqueID,"attr:".concat(t),r),e)}else n&&lt.save(e.uniqueID,"attr:".concat(t),e)}))}function gt(e){return it=void 0,dt(e,pt),tt.clean(),ut=[],tt.data}function mt(e,t,n){var r;return function(){var o=this,i=arguments,a=n&&!r;clearTimeout(r),r=setTimeout((function(){r=null,n||e.apply(o,i)}),t),a&&e.apply(o,i)}}function ht(e){var n={top:0,left:0,right:0,bottom:0},r=e&&e.ownerDocument,o=r&&r.documentElement;if(!o)return n;"undefined"!==t(e.getBoundingClientRect)&&(n=e.getBoundingClientRect());var i=function(e){return null!=(t=e)&&t===t.window?e:9===e.nodeType&&e.defaultView;var t}(r),a=n.top+i.pageYOffset-o.clientTop,l=n.left+i.pageXOffset-o.clientLeft;return{top:a,left:l,right:l+(n.right-n.left),bottom:a+(n.bottom-n.top)}}function yt(e,t){return e&&e.getAttribute&&e.getAttribute(t)}function bt(e){var t=yt(e,"data-i18n");return t||(e.nodeType===window.Node.TEXT_NODE&&e.parentElement?bt(e.parentElement):void 0)}function vt(e){var t;return function e(n){var r=yt(n,"i18next-options");if(r||(r=yt(n,"data-i18next-options")),r||(r=yt(n,"i18n-options")),r||(r=yt(n,"data-i18n-options")),r){var o={};try{o=JSON.parse(r)}catch(e){}o.ns&&(t=o.ns)}t||(t=yt(n,"i18next-ns")),t||(t=yt(n,"data-i18next-ns")),t||(t=yt(n,"i18n-ns")),t||(t=yt(n,"data-i18n-ns")),!t&&n.parentElement&&e(n.parentElement)}(e),t}function xt(e,t){var n,r,o=[],i=mt((function(){t(o),o=[]}),100),a=new MutationObserver((function(e){if(n)return r&&clearTimeout(r),void(r=setTimeout((function(){n&&(n=!1)}),200));var t=!1;e.forEach((function(e){if("attributes"!==e.type||x.includes(e.attributeName)){if("childList"===e.type){var n=0;if(e.addedNodes.forEach((function(e){e.dataset&&"true"===e.dataset.i18nextEditorElement||(n+=1)}),0),e.removedNodes.forEach((function(e){e.dataset&&"true"===e.dataset.i18nextEditorElement||(n+=1)}),0),0===n)return}t=!0,o.reduce((function(t,n){return!(!t&&!n.contains(e.target)&&e.target.parentElement)}),!1)||(o=o.filter((function(t){return!e.target.contains(t)}))).push(e.target)}})),t&&i()}));return{start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{attributes:!0,childList:!0,characterData:!0,subtree:!0};a.observe(e,t)},skipNext:function(){n=!0}}}function wt(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function Ot(e,t){var n=t,r=e.pageX,o=e.pageY,i=r,a=o,l=n.getBoundingClientRect(),c=l.top+document.body.scrollTop,s=c+n.offsetHeight,u=l.left+document.body.scrollLeft,d=u+n.offsetWidth,f=Math.max(r,u),p=Math.min(r,d),g=Math.max(o,c),m=(p>=f?r:d<r?d:u)-i,h=(Math.min(o,s)>=g?o:s<o?s:c)-a,y=Math.pow(Math.pow(m,2)+Math.pow(h,2),.5);return Math.floor(y)}var kt,Et=mt((function(e,t){Object.values(tt.data).forEach((function(t){if(wt(t.node)){var n=Ot(e,t.node);if(n<5)!function(e,t,n){var o,i=e.id;if(!Je[i]&&(_e[i]||(_e[i]=Ye.reduce((function(e,n){return e[n]=t.style[n],e}),{})),Xe.includes(t.nodeName)?(t.style.outline="".concat(w.highlight," solid 1px"),t.style.setProperty("border-radius","1px"),t.style.setProperty("outline-offset","2px"),t.style.filter="brightness(110%)"):(t.style.outline="".concat(w.highlight," solid 1px"),t.style.setProperty("border-radius","1px"),t.style.setProperty("outline-offset","1px"),t.style.filter="brightness(110%)"),!e.ribbonBox)){var a=Z(n),l=a.box,c=a.arrow;document.body.appendChild(l);var s=t;if(1===t.childNodes.length){var u=t.childNodes[0];if(u&&"#text"===u.nodeName){var d=document.createRange();d.selectNode(u);var f=d.getBoundingClientRect();s={getBoundingClientRect:function(){return f}}}}Ze(s,l,{placement:"right",middleware:[ge({fallbackPlacements:["left","bottom"]}),(void 0===o&&(o={}),{name:"shift",options:o,async fn(e){const{x:t,y:n,placement:r}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=ee(o,e),s={x:t,y:n},u=await fe(e,c),d=ie(te(r)),f=re(d);let p=s[f],g=s[d];if(i){const e="y"===f?"bottom":"right";p=G(p+u["y"===f?"top":"left"],p,p-u[e])}if(a){const e="y"===d?"bottom":"right";g=G(g+u["y"===d?"top":"left"],g,g-u[e])}const m=l.fn({...e,[f]:p,[d]:g});return{...m,data:{x:m.x-t,y:m.y-n}}}}),me((function(e){var t=e.placement,n=e.rects;return"bottom"===t?n.r:35})),pe({element:c})]}).then((function(e){var t=e.x,n=e.y,o=e.middlewareData,i=e.placement;Object.assign(l.style,{left:"".concat(t,"px"),top:"".concat(n,"px"),display:"inline-flex"});var a=i.split("-")[0],s={top:"bottom",right:"left",bottom:"top",left:"right"}[a];if(o.arrow){var u=o.arrow,d=u.x,f=u.y;Object.assign(c.style,r(r({left:null!=d?"".concat(d,"px"):"",top:null!=f?"".concat(f,"px"):"",right:"",bottom:""},s,"".concat("bottom"===a?-18:-25,"px")),"transform","bottom"===a?"rotate(90deg)":"left"===a?"rotate(180deg)":""))}})),e.ribbonBox=l}}(t,t.node,t.keys);else if(n>5){(t.ribbonBox?Ot(e,t.ribbonBox):1e3)>10&&$e(t,t.node,t.keys)}}})),Object.values(lt.data).forEach((function(t){if(wt(t.node)){var n=Ot(e,t.node);n<10?function(e,t,n){var r=e.id;Je[r]||(_e[r]||(_e[r]=Ye.reduce((function(e,n){return e[n]=t.style[n],e}),{})),Xe.includes(t.nodeName)?(t.style.outline="".concat(w.warning," solid 1px"),t.style.setProperty("border-radius","1px"),t.style.setProperty("outline-offset","2px"),t.style.filter="brightness(110%)"):(t.style.outline="".concat(w.warning," solid 1px"),t.style.setProperty("border-radius","1px"),t.style.setProperty("outline-offset","1px"),t.style.filter="brightness(110%)"))}(t,t.node,t.keys):n>10&&$e(t,t.node,t.keys)}}))}),50);function Pt(e){kt=function(t){Et(t,e)},document.addEventListener("mousemove",kt)}function jt(){document.removeEventListener("mousemove",kt)}function Ct(e,t){var n=document.createElement("div");n.setAttribute("id","i18next-editor-popup"),n.classList.add("i18next-editor-popup"),n.style="\n z-index: 9;\n background-color: transparent;\n border: 1px solid rgba(200, 200, 200, 0.9);\n box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);\n border-radius: 3px;\n --i18next-editor-popup-height: 200px;\n height: var(--i18next-editor-popup-height);\n min-height: 150px;\n min-width: 300px;\n --i18next-editor-popup-width: 400px;\n width: var(--i18next-editor-popup-width);\n max-height: 600px;\n max-width: 800px;\n\n position: fixed;\n --i18next-editor-popup-position-top: calc(100vh - var(--i18next-editor-popup-height) - 10px);\n top: calc(100vh - var(--i18next-editor-popup-height) - 10px);\n --i18next-editor-popup-position-left: calc(100vw - var(--i18next-editor-popup-width) - 10px);\n left: calc(100vw - var(--i18next-editor-popup-width) - 10px);\n\n overflow: visible;\n ",n.setAttribute("data-i18next-editor-element","true");var r,o,i,a=document.createElement("div");a.classList.add("i18next-editor-popup-header"),a.style="\n padding: 2px 10px;\n cursor: move;\n z-index: 10;\n backdrop-filter: blur(3px);\n background-color: rgba(200, 200, 200, 0.5);\n background: linear-gradient(0deg, rgba(200, 200, 200, 0.6), rgba(200, 200, 200, 0.5));\n color: #fff;\n text-align: right;\n ",n.appendChild(a),a.appendChild((r=n,o=function(){var e=function(e,t){var n=document.createElement("div");n.setAttribute("data-i18next-editor-element","true"),n.style="\n cursor: pointer;\n position: fixed;\n bottom: 25px;\n right: 25px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n height: 50px;\n background-color: rgba(249, 249, 249, 0.2);\n backdrop-filter: blur(3px);\n box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);\n border-radius: 50%\n ",n.onclick=function(){t()};var r=document.createElement("img");return r.src=K,r.style.width="45px",n.appendChild(r),n}(0,(function(){n.style.animation="i18next-editor-animate-top 1s",Pt(),setTimeout((function(){document.body.removeChild(e)}),1e3)}));document.body.appendChild(e),jt()},(i=document.createElement("img")).setAttribute("data-i18next-editor-element","true"),i.src=V,i.style.width="24px",i.style.cursor="pointer",i.onclick=function(){r.style.setProperty("--i18next-editor-popup-position-top",r.style.top),r.style.setProperty("--i18next-editor-popup-position-left",r.style.left),r.style.animation="i18next-editor-animate-bottom 2s forwards",o()},i));var l=document.createElement("iframe");l.setAttribute("id","i18next-editor-iframe"),l.setAttribute("data-i18next-editor-element","true"),l.style="\n z-index: 100;\n width: 100%;\n height: calc(100% - 32px);\n border: none;\n background: #fff;\n ",l.setAttribute("src",e),l.addEventListener("load",t),n.appendChild(l);var c=document.createElement("div");return c.setAttribute("id","i18next-editor-popup-overlay"),c.setAttribute("data-i18next-editor-element","true"),c.style="\n display: none;\n position: absolute;\n top: 32px;\n z-index: 101;\n width: 100%;\n height: calc(100% - 32px);\n background-color: rgba(200, 200, 200, 0.5);\n background: linear-gradient(0deg, rgba(240, 240, 240, 0.6), rgba(255, 255, 255, 0.5));\n backdrop-filter: blur(2px);\n",n.appendChild(c),n}function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function St(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"!=typeof document){var t=document.getElementById("locize"),n={};["projectId","version"].forEach((function(e){if(t){var r=t.getAttribute(e.toLowerCase())||t.getAttribute("data-"+e.toLowerCase());"true"===r&&(r=!0),"false"===r&&(r=!1),null!=r&&(n[e]=r)}})),n=St(St({},e.getLocizeDetails()),n),z.init(e),at=e,null==e||e.bindLanguageChange((function(t){z.sendCurrentTargetLanguage(e.getLng())}));var r=xt(document.body,(function(e){e.forEach((function(e){gt(e)})),z.sendCurrentParsedContent()}));r.start(),Pt(r),document.body.append(Ct(O(),(function(){z.requestInitialize(n)}))),function(){for(var e=0,t=0,n=0,r=0,o=document.getElementsByClassName("i18next-editor-popup"),i=null,a=null,l=100,c=0;c<o.length;c++){var s=o[c],u=g(s);s.onmousedown=function(){this.style.zIndex=""+ ++l},u&&(u.parentPopup=s,u.onmousedown=d)}function d(e){a||(a=document.getElementById("i18next-editor-popup-overlay")),a&&(a.style.display="block"),jt(),(i=this.parentPopup).style.zIndex=""+ ++l,e=e||window.event,n=e.clientX,r=e.clientY,document.onmouseup=p,document.onmousemove=f}function f(o){i&&(o=o||window.event,e=n-o.clientX,t=r-o.clientY,n=o.clientX,r=o.clientY,i.style.top=i.offsetTop-t+"px",i.style.left=i.offsetLeft-e+"px")}function p(){Pt(),a&&(a.style.display="none"),document.onmouseup=null,document.onmousemove=null}function g(e){var t=e.getElementsByClassName("i18next-editor-popup-header");return 1===t.length?t[0]:null}}(),function(){for(var e,t,n,r,o=document.getElementsByClassName("i18next-editor-popup"),i=null,a=null,l=0;l<o.length;l++){var c=o[l],s=document.createElement("div");s.className="resizer-right",c.appendChild(s),s.addEventListener("mousedown",f,!1),s.parentPopup=c;var u=document.createElement("div");u.className="resizer-bottom",c.appendChild(u),u.addEventListener("mousedown",f,!1),u.parentPopup=c;var d=document.createElement("div");d.className="resizer-both",c.appendChild(d),d.addEventListener("mousedown",f,!1),d.parentPopup=c}function f(o){jt(),a||(a=document.getElementById("i18next-editor-popup-overlay")),a&&(a.style.display="block"),i=this.parentPopup,e=o.clientX,t=o.clientY,n=parseInt(document.defaultView.getComputedStyle(i).width,10),r=parseInt(document.defaultView.getComputedStyle(i).height,10),document.documentElement.addEventListener("mousemove",p,!1),document.documentElement.addEventListener("mouseup",g,!1)}function p(o){i.style.width=n+o.clientX-e+"px",i.style.height=r+o.clientY-t+"px"}function g(){Pt(),a&&(a.style.display="none"),document.documentElement.removeEventListener("mousemove",p,!1),document.documentElement.removeEventListener("mouseup",g,!1)}}()}}function Rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=function(e){if(e.srcElement&&1===e.srcElement.nodeType&&("BUTTON"===e.srcElement.nodeName||"INPUT"===e.srcElement.nodeName))return e.srcElement.getAttribute&&""===e.srcElement.getAttribute("ignorelocizeeditor")?null:e.srcElement;var t;if(e.originalEvent&&e.originalEvent.explicitOriginalTarget)t=e.originalEvent.explicitOriginalTarget;else{var n=e.srcElement;if(n.getAttribute&&""===n.getAttribute("ignorelocizeeditor"))return null;for(var r,o=e.pageX,i=e.pageY,a=0,l=0;l<n.childNodes.length;l++){var c=n.childNodes[l],s=ht(c);1===c.nodeType&&s.bottom<i&&(a=l+1),!r&&s.top+(c.clientHeight||0)>i&&(r=l)}a+1>n.childNodes.length&&(a=n.childNodes.length-1),r||(r=n.childNodes.length);for(var u=a;u<r;u++){var d=n.childNodes[u];if(ht(d).left>o)break;d&&8!==d.nodeType&&(t=d)}}return t}(n);if(!r)return{};n.preventDefault(),n.stopPropagation();var o=function(e){var t=e.textContent||e.text&&e.text.innerText||e.placeholder;if("string"==typeof t)return t.replace(/\n +/g,"").trim()}(r),i=bt(r),a=r.getBoundingClientRect?r:r.parentElement,l=a.getBoundingClientRect(),c=l.top,s=l.left,u=l.width,d=l.height,f=window.getComputedStyle(a,null),p=parseFloat(f.getPropertyValue("padding-top")),g=parseFloat(f.getPropertyValue("padding-bottom")),m=parseFloat(f.getPropertyValue("padding-right")),h=parseFloat(f.getPropertyValue("padding-left")),y=f.getPropertyValue("box-sizing");e({tagName:a.tagName,text:o,key:i,ns:vt(r)||function(){if(t.isLocizify)return t.defaultNS}(),box:{top:c,left:s,width:"border-box"===y?u:u-m-h,height:"border-box"===y?d:d-p-g},style:f.cssText})}}function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function At(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"!=typeof document){var t=document.getElementById("locize"),n={};if(["projectId","version"].forEach((function(e){if(t){var r=t.getAttribute(e.toLowerCase())||t.getAttribute("data-"+e.toLowerCase());"true"===r&&(r=!0),"false"===r&&(r=!1),null!=r&&(n[e]=r)}})),n=zt(zt({},e.getLocizeDetails()),n),z.init(e,Rt((function(e){D("clickedElement",{payload:e})}),e.getLocizeDetails())),z.sendCurrentTargetLanguage=function(t){D("setLng",{lng:t||e.getLng()})},"undefined"!=typeof window){var r=window.document.location.href;window.addEventListener("load",(function(){D("hrefChanged",{href:window.document.location.href});var e=window.document.querySelector("body");new window.MutationObserver((function(e){e.forEach((function(e){r!==window.document.location.href&&D("hrefChanged",{href:r=window.document.location.href})}))})).observe(e,{childList:!0,subtree:!0})}))}null==e||e.bindLanguageChange((function(t){z.sendCurrentTargetLanguage(e.getLng())})),null==e||e.bindMissingKeyHandler((function(e,t,n,r){z.onAddedKey(e,t,n,r)}))}}function Mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function It(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}k&&(k.insertRule("@keyframes i18next-editor-animate-top { \n from {\n top: calc(100vh + 600px); \n left: calc(100vw + 300px);\n opacity: 0;\n }\n to {\n top: var(--i18next-editor-popup-position-top);\n left: var(--i18next-editor-popup-position-left);\n opacity: 1;\n }\n }"),k.insertRule("@keyframes i18next-editor-animate-bottom { \n from {\n top: var(--i18next-editor-popup-position-top);\n left: var(--i18next-editor-popup-position-left);\n opacity: 1;\n }\n to {\n top: calc(100vh + 600px); \n left: calc(100vw + 300px);\n opacity: 0;\n }\n }"),k.insertRule(".i18next-editor-popup * { \n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Safari */\n -khtml-user-select: none; /* Konqueror HTML */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */\n }"),k.insertRule(".i18next-editor-popup .resizer-right {\n width: 15px;\n height: 100%;\n background: transparent;\n position: absolute;\n right: -15px;\n bottom: 0;\n cursor: e-resize;\n }"),k.insertRule(".i18next-editor-popup .resizer-both {\n width: 15px;\n height: 15px;\n background: transparent;\n z-index: 10;\n position: absolute;\n right: -15px;\n bottom: -15px;\n cursor: se-resize;\n }"),k.insertRule(".i18next-editor-popup .resizer-bottom {\n width: 100%;\n height: 15px;\n background: transparent;\n position: absolute;\n right: 0;\n bottom: -15px;\n cursor: s-resize;\n }"));var Nt,Bt="undefined"!=typeof window;try{Bt=self!==top}catch(e){}var Ht={type:"3rdParty",init:function(e){var t=e.options;Nt=e,Bt||(Nt.use(v),"string"==typeof t.postProcess?t.postProcess=[t.postProcess,"subliminal"]:Array.isArray(t.postProcess)?t.postProcess.push("subliminal"):t.postProcess="subliminal",t.postProcessPassResolved=!0);var n={getResource:function(t,n,r){return e.getResource(t,n,r)},setResource:function(t,n,r,o){return e.addResource(t,n,r,o,{silent:!0})},getResourceBundle:function(t,n,r){e.loadNamespaces(n,(function(){r(e.getResourceBundle(t,n))}))},getLng:function(){return e.languages[0]},getSourceLng:function(){var t=e.options.fallbackLng;if("string"==typeof t)return t;if(Array.isArray(t))return t[t.length-1];if(t.default){if("string"==typeof t.default)return t;if(Array.isArray(t.default))return t.default[t.default.length-1]}if("function"==typeof t){var n=t(e.resolvedLanguage);if("string"==typeof n)return n;if(Array.isArray(n))return n[n.length-1]}return"dev"},getLocizeDetails:function(){var t={backendName:e.services.backendConnector.backend?e.services.backendConnector.backend.constructor.name:"options.resources",sourceLng:n.getSourceLng(),i18nFormat:"v3"===e.options.compatibilityJSON?"i18next_v3":"i18next_v4",i18nFramework:"i18next",isLocizify:e.options.isLocizify,defaultNS:e.options.defaultNS};if(!e.options.backend&&!e.options.editor)return t;var r=e.options.backend||e.options.editor;return It(It({},t),{},{projectId:r.projectId,version:r.version})},bindLanguageChange:function(t){e.on("languageChanged",t)},bindMissingKeyHandler:function(t){e.options.missingKeyHandler=function(e,n,r,o,i,a){i||t(e,n,r,o)}},triggerRerender:function(){e.emit("editorSaved")}};Bt?At(n):Dt(n)}};function qt(){At({getLocizeDetails:function(){return{}},getLng:function(){},setResource:function(){},triggerRerender:function(){},getResourceBundle:function(){return{}}})}"undefined"!=typeof window&&(window.locizeStartStandalone=qt);var Ft={wrap:p,unwrap:g,containsHiddenMeta:m,PostProcessor:v,addLocizeSavedHandler:P,locizePlugin:Ht,turnOn:j,turnOff:C,setEditorLng:L,startStandalone:qt};e.PostProcessor=v,e.addLocizeSavedHandler=P,e.containsHiddenMeta=m,e.default=Ft,e.locizePlugin=Ht,e.setEditorLng=L,e.startStandalone=qt,e.turnOff=C,e.turnOn=j,e.unwrap=g,e.wrap=p,Object.defineProperty(e,"__esModule",{value:!0})}));
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "locize",
3
- "version": "2.4.6",
4
- "description": "locize incontext editor binding",
5
- "main": "./dist/cjs/locize.js",
6
- "module": "./dist/esm/locize.js",
7
- "types": "./index.d.ts",
3
+ "version": "3.0.0",
4
+ "description": "This package adds the incontext editor to your i18next setup.",
8
5
  "keywords": [
6
+ "i18next",
7
+ "i18next-plugin",
9
8
  "locize",
10
9
  "i18next-service",
11
10
  "translation",
@@ -17,43 +16,77 @@
17
16
  "type": "git",
18
17
  "url": "git://github.com/locize/locize.git"
19
18
  },
20
- "dependencies": {},
21
- "devDependencies": {
22
- "@babel/core": "^7.22.1",
23
- "@babel/plugin-transform-runtime": "^7.22.4",
24
- "@babel/preset-env": "^7.22.4",
25
- "@types/mocha": "^10.0.1",
26
- "@typescript-eslint/eslint-plugin": "^5.59.6",
27
- "@typescript-eslint/parser": "^5.59.6",
28
- "babel-eslint": "^10.1.0",
29
- "cpy-cli": "^4.2.0",
30
- "escope": "^4.0.0",
31
- "eslint": "7.13.0",
32
- "eslint-config-airbnb": "18.2.1",
33
- "eslint-plugin-import": "^2.27.5",
34
- "eslint-plugin-jsx-a11y": "^6.7.1",
35
- "eslint-plugin-react": "^7.32.2",
36
- "rimraf": "5.0.1",
37
- "rollup": "^2.75.7",
38
- "rollup-plugin-babel": "^4.4.0",
39
- "rollup-plugin-node-resolve": "^5.2.0",
40
- "rollup-plugin-terser": "^7.0.2",
41
- "tsd": "^0.28.1",
42
- "typescript": "^5.0.4"
19
+ "type": "module",
20
+ "main": "./dist/cjs/index.js",
21
+ "module": "./dist/esm/index.js",
22
+ "browser": "./dist/umd/locize.js",
23
+ "types": "./index.d.mts",
24
+ "exports": {
25
+ "./package.json": "./package.json",
26
+ ".": {
27
+ "types": {
28
+ "require": "./dist/cjs/index.d.ts",
29
+ "import": "./dist/esm/index.d.mts"
30
+ },
31
+ "module": "./dist/esm/index.js",
32
+ "import": "./dist/esm/index.js",
33
+ "require": "./dist/cjs/index.js",
34
+ "default": "./dist/esm/index.js"
35
+ },
36
+ "./cjs": {
37
+ "types": "./dist/cjs/index.d.ts",
38
+ "default": "./dist/cjs/index.js"
39
+ },
40
+ "./esm": {
41
+ "types": "./dist/esm/index.d.mts",
42
+ "default": "./dist/esm/index.js"
43
+ },
44
+ "./src": {
45
+ "default": "./src/index.js"
46
+ }
43
47
  },
44
48
  "scripts": {
49
+ "start": "web-dev-server --watch --open /debuggingApps/demo/ --node-resolve",
50
+ "start:react": "cd debuggingApps/demo_react && npm run start",
51
+ "start:old": "cd debuggingApps/old && npm run start",
45
52
  "lint:javascript": "eslint ./src/*",
46
- "lint:typescript": "eslint -c .ts.eslintrc *.d.ts test/types/**/*.test-d.ts",
53
+ "lint:typescript": "eslint -c .ts.eslintrc *.d.ts *.d.mts test/types/**/*.test-d.ts",
47
54
  "lint": "npm run lint:javascript && npm run lint:typescript",
48
55
  "test": "npm run lint",
49
56
  "test:typescript": "tsd",
50
57
  "test:all": "npm run test && npm run test:typescript",
51
- "build": "rimraf dist && rollup -c && cpy \"./dist/umd/*.js\" ./",
58
+ "build": "rimraf dist && rollup -c && cpy \"./dist/umd/*.js\" ./ && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json && cp index.d.ts dist/cjs/index.d.ts && cp index.d.ts dist/esm/index.d.ts && cp index.d.mts dist/esm/index.d.mts",
52
59
  "preversion": "npm run build && git push",
53
60
  "postversion": "git push && git push --tags"
54
61
  },
55
- "author": "Jan Mühlemann <jan.muehlemann@gmail.com> (https://github.com/jamuhl)",
56
62
  "license": "MIT",
63
+ "dependencies": {
64
+ "@babel/runtime": "^7.23.4",
65
+ "@floating-ui/dom": "^1.5.3",
66
+ "i18next-subliminal": "^1.0.0"
67
+ },
68
+ "devDependencies": {
69
+ "@babel/plugin-transform-runtime": "7.23.4",
70
+ "@babel/preset-env": "7.23.3",
71
+ "@typescript-eslint/eslint-plugin": "6.12.0",
72
+ "@web/dev-server": "^0.4.1",
73
+ "babel-plugin-add-module-exports": "1.0.4",
74
+ "cpy-cli": "^5.0.0",
75
+ "eslint": "^8.54.0",
76
+ "eslint-config-standard": "^17.1.0",
77
+ "eslint-plugin-import": "^2.29.0",
78
+ "eslint-plugin-n": "^16.3.1",
79
+ "eslint-plugin-promise": "^6.1.1",
80
+ "eslint-plugin-require-path-exists": "^1.1.9",
81
+ "eslint-plugin-standard": "^5.0.0",
82
+ "rimraf": "5.0.5",
83
+ "rollup-plugin-babel": "4.4.0",
84
+ "rollup-plugin-commonjs": "10.1.0",
85
+ "rollup-plugin-node-resolve": "5.2.0",
86
+ "rollup-plugin-terser": "7.0.2",
87
+ "tsd": "^0.29.0",
88
+ "typescript": "^5.3.2"
89
+ },
57
90
  "tsd": {
58
91
  "directory": "test/types"
59
92
  }
package/rollup.config.js CHANGED
@@ -1,55 +1,88 @@
1
1
  import babel from 'rollup-plugin-babel';
2
2
  import nodeResolve from 'rollup-plugin-node-resolve';
3
3
  import { terser } from 'rollup-plugin-terser';
4
- import pkg from './package.json';
4
+ import commonjs from 'rollup-plugin-commonjs';
5
+ import { readFileSync } from 'fs';
6
+ const pkg = JSON.parse(readFileSync(new URL('package.json', import.meta.url)));
5
7
 
6
- const getBabelOptions = ({ useESModules }) => ({
8
+ const getBabelOptions = ({ useESModules, plugins = [] }) => ({
7
9
  exclude: /node_modules/,
8
- /*runtimeHelpers: true,
9
- plugins: [
10
- ['@babel/transform-runtime', { useESModules }]
11
- ]*/
10
+ // babelHelpers: 'runtime',
11
+ runtimeHelpers: true,
12
+ plugins: [['@babel/transform-runtime', { useESModules }]].concat(plugins),
13
+ comments: false,
12
14
  });
13
15
 
14
16
  const input = './src/index.js';
15
- const name = 'locize'
16
17
  // check relative and absolute paths for windows and unix
17
18
  const external = id => !id.startsWith('.') && !id.startsWith('/') && !id.includes(':');
18
19
 
19
20
  export default [
20
21
  {
21
22
  input,
22
- output: { format: 'cjs', file: pkg.main },
23
+ output: {
24
+ dir: 'dist/cjs',
25
+ preserveModules: true,
26
+ // file: pkg.main,
27
+ format: 'cjs',
28
+ },
23
29
  external,
30
+ // external: [
31
+ // ...Object.keys(pkg.dependencies || {})
32
+ // ],
24
33
  plugins: [
25
- babel(getBabelOptions({ useESModules: false }))
26
- ]
34
+ babel(
35
+ getBabelOptions({
36
+ useESModules: false,
37
+ plugins: [['add-module-exports']],
38
+ }),
39
+ ),
40
+ ],
27
41
  },
28
-
29
42
  {
30
43
  input,
31
- output: { format: 'esm', file: pkg.module },
44
+ output: {
45
+ dir: 'dist/esm',
46
+ preserveModules: true,
47
+ // file: pkg.module,
48
+ format: 'esm', // the preferred format
49
+ },
32
50
  external,
33
- plugins: [
34
- babel(getBabelOptions({ useESModules: true }))
35
- ]
51
+ // external: [
52
+ // ...Object.keys(pkg.dependencies || {})
53
+ // ],
54
+ plugins: [babel(getBabelOptions({ useESModules: true }))],
36
55
  },
37
-
56
+ // this is not used, if we make sure every js file is imported with .js ending
57
+ // {
58
+ // input,
59
+ // output: {
60
+ // dir: 'dist/deno',
61
+ // preserveModules: true,
62
+ // // file: pkg.module,
63
+ // format: 'esm' // the preferred format
64
+ // },
65
+ // external
66
+ // // external: [
67
+ // // ...Object.keys(pkg.dependencies || {})
68
+ // // ]
69
+ // },
38
70
  {
39
71
  input,
40
- output: { format: 'umd', name, file: `dist/umd/${name}.js` },
41
- plugins: [
42
- babel(getBabelOptions({ useESModules: true })),
43
- nodeResolve()
44
- ],
72
+ output: {
73
+ file: pkg.browser,
74
+ format: 'umd',
75
+ name: 'locize', // the global which can be used in a browser
76
+ },
77
+ plugins: [commonjs(), babel(getBabelOptions({ useESModules: true })), nodeResolve()],
45
78
  },
46
79
  {
47
80
  input,
48
- output: { format: 'umd', name, file: `dist/umd/${name}.min.js` },
49
- plugins: [
50
- babel(getBabelOptions({ useESModules: true })),
51
- nodeResolve(),
52
- terser()
53
- ],
54
- }
55
- ]
81
+ output: {
82
+ file: pkg.browser.replace('.js', '.min.js'),
83
+ format: 'umd',
84
+ name: 'locize', // the global which can be used in a browser
85
+ },
86
+ plugins: [commonjs(), babel(getBabelOptions({ useESModules: true })), nodeResolve(), terser()],
87
+ },
88
+ ];
@@ -0,0 +1,17 @@
1
+ import { api } from './postMessage.js'
2
+
3
+ import { setValueOnNode } from './handleEditKey.js'
4
+
5
+ function handler (payload) {
6
+ const { meta, value, lng } = payload
7
+ if (meta && value !== undefined) {
8
+ // just make sure it is set
9
+ setValueOnNode(meta, value)
10
+
11
+ const usedLng = lng || api.i18n.getLng()
12
+ api.i18n.setResource(usedLng, meta.ns, meta.key, value)
13
+ api.i18n.triggerRerender()
14
+ }
15
+ }
16
+
17
+ api.addHandler('commitKey', handler)
@@ -0,0 +1,39 @@
1
+ import { api } from './postMessage.js'
2
+ import { store } from '../store.js'
3
+
4
+ import { setValueOnNode } from './handleEditKey.js'
5
+
6
+ function handler (payload) {
7
+ const { updated } = payload
8
+
9
+ updated.forEach(item => {
10
+ const { lng, ns, key, data, metas, meta } = item
11
+
12
+ if (meta && data.value) setValueOnNode(meta, data.value)
13
+ if (metas) {
14
+ Object.values(metas).forEach(metaItem => {
15
+ setValueOnNode(metaItem, data.value)
16
+ })
17
+ }
18
+
19
+ api.i18n.setResource(lng, ns, key, data.value)
20
+ })
21
+
22
+ // reset all html - needed for react (gets confused on mutated children, eg. in Trans)
23
+ Object.values(store.data).forEach(item => {
24
+ if (item.originalChildNodes) {
25
+ item.node.replaceChildren(...item.originalChildNodes)
26
+ }
27
+ })
28
+
29
+ // emits editorSaved for i18next
30
+ api.i18n.triggerRerender()
31
+
32
+ // addLocizeSavedHandler
33
+ if (api.locizeSavedHandler) api.locizeSavedHandler(payload)
34
+
35
+ // window handler
36
+ if (window.locizeSavedHandler) window.locizeSavedHandler(payload)
37
+ }
38
+
39
+ api.addHandler('commitKeys', handler)
@@ -0,0 +1,10 @@
1
+ import { api } from './postMessage.js'
2
+
3
+ function handler (payload) {
4
+ api.initialized = true
5
+ clearInterval(api.initInterval)
6
+ api.sendCurrentParsedContent()
7
+ api.sendCurrentTargetLanguage()
8
+ }
9
+
10
+ api.addHandler('confirmInitialized', handler)
@@ -0,0 +1,81 @@
1
+ import { wrap } from 'i18next-subliminal'
2
+ import { api } from './postMessage.js'
3
+ import { store } from '../store.js'
4
+
5
+ // function insertChildAtIndex (parent, child, index) {
6
+ // if (!index) index = 0;
7
+ // if (index >= parent.children.length) {
8
+ // parent.appendChild(child);
9
+ // } else {
10
+ // parent.insertBefore(child, parent.children[index]);
11
+ // }
12
+ // }
13
+
14
+ export function setValueOnNode (meta, value) {
15
+ const item = store.get(meta.eleUniqueID)
16
+
17
+ // check if we have an item and that item has same textType
18
+ if (!item || !item.keys[meta.textType]) return
19
+
20
+ const txtWithHiddenMeta = wrap(value, item.subliminal)
21
+
22
+ if (meta.textType === 'text') {
23
+ item.node.textContent = txtWithHiddenMeta
24
+ } else if (meta.textType.indexOf('attr:') === 0) {
25
+ const attr = meta.textType.replace('attr:', '')
26
+ item.node.setAttribute(attr, txtWithHiddenMeta)
27
+ } else if (meta.textType === 'html') {
28
+ const id = `${meta.textType}-${meta.children}`
29
+
30
+ if (!item.originalChildNodes) {
31
+ const clones = []
32
+ item.node.childNodes.forEach(c => {
33
+ // clones.push(c.cloneNode(true));
34
+ clones.push(c) // react needs the original nodes to rerender them
35
+ })
36
+ item.originalChildNodes = clones
37
+ }
38
+
39
+ // simple case - contains all inner HTML - so just replace it
40
+ if (item.children[id].length === item.node.childNodes.length) {
41
+ item.node.innerHTML = txtWithHiddenMeta
42
+ } else {
43
+ // more complex...add somewhere in between
44
+ const children = item.children[id]
45
+
46
+ const first = children[0].child
47
+
48
+ // append to dummy
49
+ const dummy = document.createElement('div')
50
+ dummy.innerHTML = txtWithHiddenMeta
51
+
52
+ // loop over all childs and append them to source node before first child (the one having the startMarker)
53
+ const nodes = []
54
+ dummy.childNodes.forEach(c => {
55
+ nodes.push(c)
56
+ })
57
+
58
+ nodes.forEach(c => {
59
+ try {
60
+ item.node.insertBefore(c, first)
61
+ } catch (error) {
62
+ item.node.appendChild(c)
63
+ }
64
+ })
65
+
66
+ // remove old stuff (startMarker to endHiddenMeta)
67
+ children.forEach(replaceable => {
68
+ if (item.node.contains(replaceable.child)) item.node.removeChild(replaceable.child)
69
+ })
70
+ }
71
+ }
72
+ }
73
+
74
+ function handler (payload) {
75
+ const { meta, value } = payload
76
+ if (meta && value !== undefined) {
77
+ setValueOnNode(meta, value)
78
+ }
79
+ }
80
+
81
+ api.addHandler('editKey', handler)
@@ -0,0 +1,13 @@
1
+ import { api } from './postMessage.js'
2
+
3
+ function handler (payload, e) {
4
+ // set source
5
+ api.source = e.source
6
+ api.origin = e.origin
7
+ api.legacy = true
8
+
9
+ // done
10
+ api.sendLocizeIsEnabled()
11
+ }
12
+
13
+ api.addHandler('isLocizeEnabled', handler)