@loftyshaky/shared 2.6.0 → 2.7.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 (555) hide show
  1. package/LICENSE.md +1 -1
  2. package/_locales/en/messages.json +116 -2
  3. package/_locales/ru/messages.json +42 -0
  4. package/announcement.mjs +1 -0
  5. package/app.mjs +1 -0
  6. package/build/ps1/extension_build_all_prod.ps1 +18 -0
  7. package/build/ps1/extension_build_all_prod_test.ps1 +28 -0
  8. package/build/ps1/extension_pub.ps1 +6 -0
  9. package/build/ps1/fix_cur.ps1 +2 -0
  10. package/build/ps1/fix_cur_scss.ps1 +2 -0
  11. package/build/ts/apps.d.ts +11 -0
  12. package/build/ts/apps.mjs +1 -0
  13. package/build/ts/dependencies.d.ts +47 -0
  14. package/build/ts/dependencies.mjs +303 -0
  15. package/build/ts/env.d.ts +5 -0
  16. package/build/ts/env.mjs +1 -0
  17. package/build/ts/ext/manifest.d.ts +12 -0
  18. package/build/ts/ext/manifest.mjs +1 -0
  19. package/build/ts/interfaces/vite_plugin_static_copy_item.d.ts +4 -0
  20. package/build/ts/locales.d.ts +10 -0
  21. package/build/ts/locales.mjs +1 -0
  22. package/build/ts/minify_html.d.ts +4 -0
  23. package/build/ts/plugins/replace.d.ts +9 -0
  24. package/build/ts/plugins/watch.d.ts +12 -0
  25. package/build/ts/plugins/watch.mjs +1 -0
  26. package/build/ts/project_name.d.ts +6 -0
  27. package/build/ts/project_name.mjs +1 -0
  28. package/build/ts/projects_path.d.ts +2 -0
  29. package/build/ts/projects_path.mjs +1 -0
  30. package/build/ts/static_assets.d.ts +5 -0
  31. package/build/ts/vite.config.d.ts +84 -0
  32. package/build/ts/vite.config.mjs +48 -0
  33. package/chunks/__vite-browser-external.mjs +1 -0
  34. package/chunks/_baseUniq.mjs +1 -0
  35. package/chunks/_defineProperty.mjs +1 -0
  36. package/chunks/chunk.mjs +1 -0
  37. package/chunks/debounce.mjs +1 -0
  38. package/chunks/internal.mjs +2 -0
  39. package/chunks/internal2.mjs +35 -0
  40. package/chunks/isArrayLikeObject.mjs +1 -0
  41. package/chunks/isSymbol.mjs +1 -0
  42. package/chunks/last.mjs +1 -0
  43. package/chunks/lib.mjs +7 -0
  44. package/chunks/merge.mjs +1 -0
  45. package/chunks/pickr.min.mjs +1 -0
  46. package/dependencies.json +116 -0
  47. package/dependencies.mjs +1 -0
  48. package/ext.mjs +1 -0
  49. package/html/announcement.html +1 -15
  50. package/html/dependencies.html +1 -13
  51. package/inputs.mjs +1 -0
  52. package/package.json +44 -2
  53. package/scss/announcement/body.scss +5 -3
  54. package/scss/announcement/index.scss +3 -3
  55. package/scss/announcement/main.scss +4 -2
  56. package/scss/dependencies/body.scss +3 -3
  57. package/scss/dependencies/hr.scss +3 -3
  58. package/scss/dependencies/index.scss +5 -5
  59. package/scss/dependencies/links.scss +3 -3
  60. package/scss/dependencies/main.scss +3 -3
  61. package/scss/settings/ext_version.scss +7 -7
  62. package/scss/settings/index.scss +6 -6
  63. package/scss/settings/main.scss +6 -5
  64. package/scss/settings/section_btns.scss +4 -1
  65. package/scss/settings/sections.scss +9 -6
  66. package/scss/settings/transitions.scss +11 -11
  67. package/scss/shared/btns.scss +47 -66
  68. package/scss/shared/checkboxes.scss +11 -8
  69. package/scss/shared/close_btn.scss +7 -4
  70. package/scss/shared/color_pickers.scss +11 -8
  71. package/scss/shared/colors.scss +16 -12
  72. package/scss/shared/crash_handler.scss +39 -36
  73. package/scss/shared/embed/error.scss +116 -113
  74. package/scss/shared/embed/hidden_roots.scss +3 -3
  75. package/scss/shared/embed/loading_screen.scss +35 -36
  76. package/scss/shared/firefox.scss +31 -0
  77. package/scss/shared/focus.scss +13 -9
  78. package/scss/shared/group.scss +9 -2
  79. package/scss/shared/help.scss +17 -6
  80. package/scss/shared/hr.scss +8 -6
  81. package/scss/shared/icon_btns.scss +18 -0
  82. package/scss/shared/index.scss +35 -34
  83. package/scss/shared/input_btns.scss +7 -2
  84. package/scss/shared/input_error.scss +3 -1
  85. package/scss/shared/inputs.scss +48 -18
  86. package/scss/shared/inset_border.scss +15 -13
  87. package/scss/shared/link_btns.scss +17 -11
  88. package/scss/shared/links.scss +25 -23
  89. package/scss/shared/main.scss +3 -1
  90. package/scss/shared/mixins.scss +193 -184
  91. package/scss/shared/mods.scss +51 -45
  92. package/scss/shared/offers.scss +23 -5
  93. package/scss/shared/range.scss +51 -43
  94. package/scss/shared/scrollbar.scss +7 -4
  95. package/scss/shared/selects.scss +32 -26
  96. package/scss/shared/side_btns.scss +4 -0
  97. package/scss/shared/text.scss +9 -20
  98. package/scss/shared/themes/colors/aqua.scss +51 -42
  99. package/scss/shared/themes/colors/blaze.scss +55 -0
  100. package/scss/shared/themes/colors/clover.scss +51 -42
  101. package/scss/shared/themes/colors/dark.scss +63 -54
  102. package/scss/shared/themes/colors/lavender.scss +51 -42
  103. package/scss/shared/themes/colors/light.scss +63 -54
  104. package/scss/shared/themes/colors/ruby.scss +51 -42
  105. package/scss/shared/themes/colors/very_dark.scss +61 -54
  106. package/scss/shared/themes/general/aqua_theme.scss +4 -6
  107. package/scss/shared/themes/general/blaze_theme.scss +7 -0
  108. package/scss/shared/themes/general/clover_theme.scss +4 -6
  109. package/scss/shared/themes/general/dark_theme.scss +7 -6
  110. package/scss/shared/themes/general/lavender_theme.scss +4 -6
  111. package/scss/shared/themes/general/light_theme.scss +6 -5
  112. package/scss/shared/themes/general/ruby_theme.scss +4 -6
  113. package/scss/shared/themes/general/template.scss +108 -89
  114. package/scss/shared/themes/general/template_focus.scss +15 -15
  115. package/scss/shared/themes/general/very_dark_theme.scss +7 -6
  116. package/scss/shared/transitions.scss +57 -58
  117. package/scss/shared/upload_box.scss +18 -12
  118. package/scss/shared/vars.scss +3 -14
  119. package/settings.mjs +1 -0
  120. package/shared.mjs +1 -0
  121. package/shared_clean.mjs +1 -0
  122. package/{ts → src/ts}/announcement/components/body.d.ts +0 -1
  123. package/src/ts/announcement/components/index.d.ts +1 -0
  124. package/src/ts/announcement.d.ts +1 -0
  125. package/src/ts/app.d.ts +1 -0
  126. package/src/ts/custom.d.ts +68 -0
  127. package/{ts → src/ts}/dependencies/components/body.d.ts +0 -1
  128. package/src/ts/dependencies/components/index.d.ts +1 -0
  129. package/src/ts/dependencies/scripts/index.d.ts +1 -0
  130. package/src/ts/dependencies.d.ts +1 -0
  131. package/src/ts/error_modules/crash_handler/components/body.d.ts +5 -0
  132. package/src/ts/error_modules/crash_handler/components/index.d.ts +1 -0
  133. package/{ts → src/ts}/error_modules/crash_handler/components/prop_types/body.d.ts +1 -0
  134. package/src/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -0
  135. package/src/ts/error_modules/crash_handler/data/index.d.ts +1 -0
  136. package/src/ts/error_modules/crash_handler/scripts/index.d.ts +1 -0
  137. package/src/ts/error_modules/css/scripts/index.d.ts +1 -0
  138. package/{ts → src/ts}/error_modules/error/components/body.d.ts +0 -1
  139. package/{ts → src/ts}/error_modules/error/components/close_btn.d.ts +0 -1
  140. package/{ts → src/ts}/error_modules/error/components/ext_name.d.ts +0 -1
  141. package/src/ts/error_modules/error/components/index.d.ts +6 -0
  142. package/{ts → src/ts}/error_modules/error/components/keep_visible_msg.d.ts +0 -1
  143. package/{ts → src/ts}/error_modules/error/components/msg.d.ts +0 -1
  144. package/{ts → src/ts}/error_modules/error/components/progress.d.ts +0 -1
  145. package/src/ts/error_modules/error/components/prop_types/index.d.ts +1 -0
  146. package/src/ts/error_modules/error/data/index.d.ts +4 -0
  147. package/src/ts/error_modules/error/scripts/index.d.ts +3 -0
  148. package/{ts → src/ts}/error_modules/error/scripts/notification.d.ts +1 -1
  149. package/{ts → src/ts}/error_modules/internal.d.ts +0 -3
  150. package/{ts → src/ts}/error_modules_clean/error/data/error.d.ts +9 -0
  151. package/src/ts/error_modules_clean/error/data/index.d.ts +1 -0
  152. package/src/ts/error_modules_clean/error/interfaces/index.d.ts +11 -0
  153. package/src/ts/error_modules_clean/error/scripts/index.d.ts +1 -0
  154. package/{ts → src/ts}/error_modules_clean/internal.d.ts +0 -2
  155. package/src/ts/ext.d.ts +1 -0
  156. package/{ts → src/ts}/inputs/color/components/body.d.ts +0 -1
  157. package/{ts → src/ts}/inputs/color/components/color_picker.d.ts +0 -1
  158. package/{ts → src/ts}/inputs/color/components/fill_shadow.d.ts +0 -1
  159. package/src/ts/inputs/color/components/index.d.ts +4 -0
  160. package/src/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -0
  161. package/src/ts/inputs/color/components/prop_types/index.d.ts +4 -0
  162. package/{ts → src/ts}/inputs/color/components/prop_types/visualization.d.ts +1 -1
  163. package/{ts → src/ts}/inputs/color/components/visualization.d.ts +0 -1
  164. package/{ts → src/ts}/inputs/color/data/color.d.ts +2 -2
  165. package/src/ts/inputs/color/data/index.d.ts +2 -0
  166. package/{ts → src/ts}/inputs/color/data/visibility.d.ts +2 -2
  167. package/{ts → src/ts}/inputs/color/interfaces/color_picker_state.d.ts +1 -1
  168. package/src/ts/inputs/color/interfaces/index.d.ts +3 -0
  169. package/{ts → src/ts}/inputs/color/obj/color.d.ts +12 -12
  170. package/src/ts/inputs/color/obj/index.d.ts +1 -0
  171. package/{ts → src/ts}/inputs/color/scripts/color_picker.d.ts +2 -2
  172. package/src/ts/inputs/color/scripts/index.d.ts +2 -0
  173. package/{ts → src/ts}/inputs/components/btn.d.ts +0 -1
  174. package/{ts → src/ts}/inputs/components/checkbox.d.ts +0 -1
  175. package/{ts → src/ts}/inputs/components/file.d.ts +0 -1
  176. package/{ts → src/ts}/inputs/components/form.d.ts +0 -1
  177. package/{ts → src/ts}/inputs/components/group.d.ts +0 -1
  178. package/{ts → src/ts}/inputs/components/help.d.ts +0 -1
  179. package/{ts → src/ts}/inputs/components/help_btn.d.ts +0 -1
  180. package/{ts → src/ts}/inputs/components/hr.d.ts +0 -1
  181. package/{ts → src/ts}/inputs/components/icon_btn.d.ts +0 -1
  182. package/src/ts/inputs/components/index.d.ts +27 -0
  183. package/{ts → src/ts}/inputs/components/input_error.d.ts +0 -1
  184. package/{ts → src/ts}/inputs/components/input_item.d.ts +0 -1
  185. package/{ts → src/ts}/inputs/components/label.d.ts +0 -1
  186. package/{ts → src/ts}/inputs/components/label_in_input_item.d.ts +0 -1
  187. package/{ts → src/ts}/inputs/components/link.d.ts +0 -1
  188. package/{ts → src/ts}/inputs/components/link_btn.d.ts +0 -1
  189. package/{ts → src/ts}/inputs/components/link_icon_btn.d.ts +0 -1
  190. package/{ts → src/ts}/inputs/components/prop_types/checkbox.d.ts +1 -0
  191. package/{ts → src/ts}/inputs/components/prop_types/form.d.ts +1 -1
  192. package/{ts → src/ts}/inputs/components/prop_types/group.d.ts +2 -1
  193. package/{ts → src/ts}/inputs/components/prop_types/help.d.ts +1 -1
  194. package/{ts → src/ts}/inputs/components/prop_types/help_btn.d.ts +1 -1
  195. package/{ts → src/ts}/inputs/components/prop_types/icon_btn.d.ts +1 -0
  196. package/src/ts/inputs/components/prop_types/index.d.ts +27 -0
  197. package/{ts → src/ts}/inputs/components/prop_types/input_item.d.ts +1 -0
  198. package/{ts → src/ts}/inputs/components/prop_types/range.d.ts +1 -0
  199. package/{ts → src/ts}/inputs/components/prop_types/section_content.d.ts +1 -1
  200. package/{ts → src/ts}/inputs/components/prop_types/select.d.ts +1 -0
  201. package/src/ts/inputs/components/prop_types/side_btn.d.ts +9 -0
  202. package/src/ts/inputs/components/prop_types/side_btns.d.ts +4 -0
  203. package/{ts → src/ts}/inputs/components/prop_types/text.d.ts +2 -0
  204. package/{ts → src/ts}/inputs/components/prop_types/textarea.d.ts +1 -0
  205. package/{ts → src/ts}/inputs/components/prop_types/upload_box.d.ts +1 -0
  206. package/{ts → src/ts}/inputs/components/range.d.ts +0 -1
  207. package/{ts → src/ts}/inputs/components/section.d.ts +0 -1
  208. package/{ts → src/ts}/inputs/components/section_btn.d.ts +0 -1
  209. package/{ts → src/ts}/inputs/components/section_content.d.ts +0 -1
  210. package/{ts → src/ts}/inputs/components/select.d.ts +0 -1
  211. package/src/ts/inputs/components/side_btn.d.ts +2 -0
  212. package/src/ts/inputs/components/side_btns.d.ts +2 -0
  213. package/{ts → src/ts}/inputs/components/text.d.ts +0 -1
  214. package/{ts → src/ts}/inputs/components/text_btn.d.ts +0 -1
  215. package/{ts → src/ts}/inputs/components/textarea.d.ts +0 -1
  216. package/{ts → src/ts}/inputs/components/upload_box.d.ts +0 -1
  217. package/{ts → src/ts}/inputs/data/help.d.ts +4 -1
  218. package/src/ts/inputs/data/index.d.ts +12 -0
  219. package/{ts → src/ts}/inputs/data/input_width.d.ts +4 -2
  220. package/src/ts/inputs/data/label_in_input_item.d.ts +26 -0
  221. package/{ts/inputs/data/label_in_input_item.d.ts → src/ts/inputs/data/section_btn.d.ts} +4 -4
  222. package/src/ts/inputs/data/side_btn.d.ts +19 -0
  223. package/src/ts/inputs/data/tab_index.d.ts +11 -0
  224. package/{ts → src/ts}/inputs/data/text.d.ts +1 -6
  225. package/src/ts/inputs/data/text_title.d.ts +16 -0
  226. package/{ts → src/ts}/inputs/data/upload_box.d.ts +0 -3
  227. package/{ts → src/ts}/inputs/data/val.d.ts +12 -6
  228. package/src/ts/inputs/interfaces/index.d.ts +12 -0
  229. package/{ts → src/ts}/inputs/interfaces/input.d.ts +1 -1
  230. package/src/ts/inputs/interfaces/input_and_link.d.ts +2 -0
  231. package/src/ts/inputs/interfaces/inputs_and_links.d.ts +2 -0
  232. package/src/ts/inputs/interfaces/side_btn.d.ts +8 -0
  233. package/{ts → src/ts}/inputs/obj/btn.d.ts +2 -1
  234. package/{ts → src/ts}/inputs/obj/checkbox.d.ts +2 -1
  235. package/{ts → src/ts}/inputs/obj/file.d.ts +2 -2
  236. package/{ts → src/ts}/inputs/obj/form.d.ts +2 -2
  237. package/src/ts/inputs/obj/group.d.ts +17 -0
  238. package/{ts → src/ts}/inputs/obj/hr.d.ts +2 -1
  239. package/src/ts/inputs/obj/icon_btn.d.ts +7 -0
  240. package/src/ts/inputs/obj/index.d.ts +18 -0
  241. package/{ts → src/ts}/inputs/obj/input_base.d.ts +34 -5
  242. package/{ts → src/ts}/inputs/obj/label.d.ts +1 -1
  243. package/{ts → src/ts}/inputs/obj/link.d.ts +5 -3
  244. package/src/ts/inputs/obj/link_btn.d.ts +5 -0
  245. package/{ts → src/ts}/inputs/obj/range.d.ts +1 -1
  246. package/{ts → src/ts}/inputs/obj/section.d.ts +4 -3
  247. package/src/ts/inputs/obj/select.d.ts +9 -0
  248. package/{ts → src/ts}/inputs/obj/text.d.ts +8 -4
  249. package/{ts → src/ts}/inputs/obj/textarea.d.ts +1 -1
  250. package/{ts → src/ts}/inputs/obj/upload_box.d.ts +1 -1
  251. package/src/ts/inputs/scripts/index.d.ts +4 -0
  252. package/src/ts/inputs/scripts/resolve.d.ts +8 -0
  253. package/src/ts/inputs/scripts/text.d.ts +17 -0
  254. package/src/ts/inputs/scripts/textarea.d.ts +12 -0
  255. package/src/ts/inputs.d.ts +1 -0
  256. package/{ts → src/ts}/settings/components/body.d.ts +0 -1
  257. package/src/ts/settings/components/index.d.ts +1 -0
  258. package/src/ts/settings/components/prop_types/index.d.ts +1 -0
  259. package/src/ts/settings/developer_mode/data/index.d.ts +1 -0
  260. package/src/ts/settings/optional_permissions/data/index.d.ts +1 -0
  261. package/{ts → src/ts}/settings/optional_permissions/data/permission.d.ts +5 -2
  262. package/src/ts/settings/optional_permissions/interfaces/index.d.ts +2 -0
  263. package/src/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +4 -0
  264. package/src/ts/settings/sections/data/index.d.ts +1 -0
  265. package/{ts → src/ts}/settings/sections/data/sections.d.ts +9 -5
  266. package/{ts/settings/sections/data → src/ts/settings/sections/scripts}/back_up.d.ts +4 -2
  267. package/src/ts/settings/sections/scripts/index.d.ts +3 -0
  268. package/src/ts/settings/sections/scripts/sections.d.ts +8 -0
  269. package/src/ts/settings.d.ts +1 -0
  270. package/{ts → src/ts}/shared/app_version/components/body.d.ts +0 -1
  271. package/src/ts/shared/app_version/components/index.d.ts +1 -0
  272. package/src/ts/shared/app_version/data/app_version.d.ts +9 -0
  273. package/src/ts/shared/app_version/data/index.d.ts +1 -0
  274. package/{ts → src/ts}/shared/data/data/cache.d.ts +6 -5
  275. package/src/ts/shared/data/data/index.d.ts +2 -0
  276. package/{ts → src/ts}/shared/data/data/settings.d.ts +5 -2
  277. package/{ts → src/ts}/shared/internal.d.ts +1 -2
  278. package/{ts → src/ts}/shared/loading_screen/components/body.d.ts +0 -1
  279. package/src/ts/shared/loading_screen/components/index.d.ts +1 -0
  280. package/src/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -0
  281. package/src/ts/shared/loading_screen/data/index.d.ts +1 -0
  282. package/src/ts/shared/loading_screen/scripts/index.d.ts +2 -0
  283. package/{ts → src/ts}/shared/offers/components/ad_label.d.ts +0 -1
  284. package/{ts → src/ts}/shared/offers/components/body.d.ts +0 -1
  285. package/{ts → src/ts}/shared/offers/components/counter.d.ts +0 -1
  286. package/src/ts/shared/offers/components/index.d.ts +7 -0
  287. package/{ts → src/ts}/shared/offers/components/next_offer_btn.d.ts +0 -1
  288. package/{ts → src/ts}/shared/offers/components/offer.d.ts +0 -1
  289. package/{ts → src/ts}/shared/offers/components/previous_offer_btn.d.ts +0 -1
  290. package/src/ts/shared/offers/components/prop_types/index.d.ts +2 -0
  291. package/{ts → src/ts}/shared/offers/components/top_bar.d.ts +0 -1
  292. package/src/ts/shared/offers/data/index.d.ts +1 -0
  293. package/{ts → src/ts}/shared/offers/data/offers.d.ts +1 -1
  294. package/src/ts/shared/offers/interfaces/index.d.ts +1 -0
  295. package/src/ts/shared/offers/obj/index.d.ts +1 -0
  296. package/{ts → src/ts}/shared/offers/obj/offer.d.ts +1 -0
  297. package/src/ts/shared/offers/scripts/index.d.ts +1 -0
  298. package/src/ts/shared/schema/data/index.d.ts +1 -0
  299. package/{ts → src/ts}/shared/schema/data/schema.d.ts +4 -4
  300. package/src/ts/shared/tab_index/interfaces/index.d.ts +1 -0
  301. package/{ts → src/ts}/shared/tab_index/interfaces/set_Input_type_event.d.ts +1 -1
  302. package/src/ts/shared/tab_index/scripts/index.d.ts +1 -0
  303. package/{ts → src/ts}/shared/tab_index/scripts/tab_index.d.ts +1 -1
  304. package/src/ts/shared/tr/components/base_tr.d.ts +4 -0
  305. package/src/ts/shared/tr/components/index.d.ts +1 -0
  306. package/{ts → src/ts}/shared/tr/components/prop_types/base_tr.d.ts +4 -4
  307. package/src/ts/shared/tr/components/prop_types/index.d.ts +1 -0
  308. package/src/ts/shared/tr/data/index.d.ts +1 -0
  309. package/{ts → src/ts}/shared/tr/data/transition.d.ts +4 -5
  310. package/src/ts/shared/tr/interfaces/index.d.ts +1 -0
  311. package/src/ts/shared/tr/obj/index.d.ts +1 -0
  312. package/src/ts/shared.d.ts +3 -0
  313. package/src/ts/shared_clean/announcement/scripts/index.d.ts +1 -0
  314. package/{ts → src/ts}/shared_clean/app.d.ts +5 -2
  315. package/src/ts/shared_clean/color/interfaces/index.d.ts +1 -0
  316. package/src/ts/shared_clean/color/scripts/index.d.ts +1 -0
  317. package/src/ts/shared_clean/css_vars/scripts/index.d.ts +1 -0
  318. package/src/ts/shared_clean/data/data/index.d.ts +1 -0
  319. package/src/ts/shared_clean/data/data/settings.d.ts +17 -0
  320. package/src/ts/shared_clean/data/interfaces/index.d.ts +1 -0
  321. package/{ts → src/ts}/shared_clean/data/scripts/cache.d.ts +8 -7
  322. package/src/ts/shared_clean/data/scripts/index.d.ts +3 -0
  323. package/{ts → src/ts}/shared_clean/data/scripts/settings.d.ts +1 -1
  324. package/{ts → src/ts}/shared_clean/data/scripts/sync.d.ts +1 -1
  325. package/{ts/shared/title/scripts/title.d.ts → src/ts/shared_clean/env/scripts/env.d.ts} +2 -2
  326. package/src/ts/shared_clean/env/scripts/index.d.ts +1 -0
  327. package/{ts → src/ts}/shared_clean/ext.d.ts +4 -4
  328. package/src/ts/shared_clean/functions.d.ts +5 -0
  329. package/{ts → src/ts}/shared_clean/internal.d.ts +3 -3
  330. package/src/ts/shared_clean/links/interfaces/browser.d.ts +8 -0
  331. package/src/ts/shared_clean/links/interfaces/index.d.ts +1 -0
  332. package/src/ts/shared_clean/links/scripts/browser.d.ts +9 -0
  333. package/src/ts/shared_clean/links/scripts/index.d.ts +1 -0
  334. package/src/ts/shared_clean/no_tr/scripts/index.d.ts +1 -0
  335. package/src/ts/shared_clean/schema/data/index.d.ts +1 -0
  336. package/{ts → src/ts}/shared_clean/schema/data/schema.d.ts +8 -8
  337. package/src/ts/shared_clean/schema/obj/index.d.ts +1 -0
  338. package/{ts → src/ts}/shared_clean/schema/obj/transform_item.d.ts +2 -1
  339. package/src/ts/shared_clean/service_worker/scripts/index.d.ts +1 -0
  340. package/{ts → src/ts}/shared_clean/service_worker/scripts/service_worker.d.ts +0 -1
  341. package/src/ts/shared_clean/t.d.ts +52 -0
  342. package/src/ts/shared_clean/theme/scripts/index.d.ts +1 -0
  343. package/src/ts/shared_clean/title/scripts/index.d.ts +1 -0
  344. package/src/ts/shared_clean/utils/scripts/index.d.ts +1 -0
  345. package/src/ts/shared_clean/viewport/scripts/index.d.ts +1 -0
  346. package/{ts → src/ts}/shared_clean/x.d.ts +9 -6
  347. package/{shared_clean.d.ts → src/ts/shared_clean.d.ts} +2 -2
  348. package/announcement.d.ts +0 -2
  349. package/announcement.js +0 -5
  350. package/app.d.ts +0 -1
  351. package/app.js +0 -5
  352. package/chunk-error.js +0 -5
  353. package/chunk-index.js +0 -5
  354. package/chunk-merge.js +0 -5
  355. package/chunk-pickr.min.js +0 -5
  356. package/chunk-title.js +0 -14
  357. package/chunk-viewport.js +0 -5
  358. package/dependencies.d.ts +0 -2
  359. package/dependencies.js +0 -5
  360. package/dependencies.txt +0 -851
  361. package/ext.d.ts +0 -1
  362. package/ext.js +0 -5
  363. package/globals.d.ts +0 -52
  364. package/inputs.d.ts +0 -2
  365. package/inputs.js +0 -5
  366. package/js/apps.js +0 -83
  367. package/js/dependencies.js +0 -60
  368. package/js/env.js +0 -24
  369. package/js/ext/manifest.js +0 -58
  370. package/js/locales.js +0 -66
  371. package/js/package/plugins/rollup-plugin-copy.js +0 -169
  372. package/js/package/plugins/watcher.js +0 -56
  373. package/js/package/terser.js +0 -18
  374. package/js/project_name.js +0 -5
  375. package/js/projects_path.js +0 -5
  376. package/js/task_scheduler.js +0 -45
  377. package/js/tsc_alias.js +0 -19
  378. package/js/webpack.config.js +0 -198
  379. package/scss/shared/functions.scss +0 -5
  380. package/settings.d.ts +0 -2
  381. package/settings.js +0 -5
  382. package/shared.d.ts +0 -4
  383. package/shared.js +0 -5
  384. package/shared_clean.js +0 -5
  385. package/ts/announcement/components/index.d.ts +0 -1
  386. package/ts/dependencies/components/index.d.ts +0 -1
  387. package/ts/dependencies/scripts/index.d.ts +0 -1
  388. package/ts/error_modules/crash_handler/components/body.d.ts +0 -52
  389. package/ts/error_modules/crash_handler/components/index.d.ts +0 -1
  390. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +0 -1
  391. package/ts/error_modules/crash_handler/data/index.d.ts +0 -1
  392. package/ts/error_modules/crash_handler/scripts/index.d.ts +0 -1
  393. package/ts/error_modules/css/scripts/index.d.ts +0 -1
  394. package/ts/error_modules/error/components/index.d.ts +0 -6
  395. package/ts/error_modules/error/components/prop_types/index.d.ts +0 -1
  396. package/ts/error_modules/error/data/index.d.ts +0 -4
  397. package/ts/error_modules/error/scripts/index.d.ts +0 -3
  398. package/ts/error_modules_clean/error/data/index.d.ts +0 -1
  399. package/ts/error_modules_clean/error/interfaces/index.d.ts +0 -11
  400. package/ts/error_modules_clean/error/scripts/index.d.ts +0 -1
  401. package/ts/inputs/color/components/index.d.ts +0 -4
  402. package/ts/inputs/color/components/prop_types/color_picker.d.ts +0 -7
  403. package/ts/inputs/color/components/prop_types/index.d.ts +0 -4
  404. package/ts/inputs/color/data/index.d.ts +0 -2
  405. package/ts/inputs/color/interfaces/index.d.ts +0 -3
  406. package/ts/inputs/color/obj/index.d.ts +0 -1
  407. package/ts/inputs/color/scripts/index.d.ts +0 -2
  408. package/ts/inputs/components/index.d.ts +0 -25
  409. package/ts/inputs/components/prop_types/index.d.ts +0 -25
  410. package/ts/inputs/data/index.d.ts +0 -8
  411. package/ts/inputs/interfaces/btn_option.d.ts +0 -9
  412. package/ts/inputs/interfaces/index.d.ts +0 -9
  413. package/ts/inputs/obj/group.d.ts +0 -6
  414. package/ts/inputs/obj/icon_btn.d.ts +0 -7
  415. package/ts/inputs/obj/index.d.ts +0 -18
  416. package/ts/inputs/obj/link_btn.d.ts +0 -6
  417. package/ts/inputs/obj/select.d.ts +0 -9
  418. package/ts/inputs/scripts/index.d.ts +0 -2
  419. package/ts/inputs/scripts/resolve.d.ts +0 -6
  420. package/ts/settings/components/index.d.ts +0 -1
  421. package/ts/settings/components/prop_types/index.d.ts +0 -1
  422. package/ts/settings/developer_mode/data/index.d.ts +0 -1
  423. package/ts/settings/optional_permissions/data/index.d.ts +0 -1
  424. package/ts/settings/optional_permissions/interfaces/index.d.ts +0 -2
  425. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +0 -3
  426. package/ts/settings/sections/data/index.d.ts +0 -2
  427. package/ts/settings/sections/scripts/index.d.ts +0 -1
  428. package/ts/shared/app_version/components/index.d.ts +0 -1
  429. package/ts/shared/data/data/index.d.ts +0 -3
  430. package/ts/shared/loading_screen/components/index.d.ts +0 -1
  431. package/ts/shared/loading_screen/components/prop_types/index.d.ts +0 -1
  432. package/ts/shared/loading_screen/data/index.d.ts +0 -1
  433. package/ts/shared/loading_screen/scripts/index.d.ts +0 -2
  434. package/ts/shared/offers/components/index.d.ts +0 -7
  435. package/ts/shared/offers/components/prop_types/index.d.ts +0 -2
  436. package/ts/shared/offers/data/index.d.ts +0 -1
  437. package/ts/shared/offers/interfaces/index.d.ts +0 -1
  438. package/ts/shared/offers/obj/index.d.ts +0 -1
  439. package/ts/shared/offers/scripts/index.d.ts +0 -1
  440. package/ts/shared/schema/data/index.d.ts +0 -1
  441. package/ts/shared/tab_index/interfaces/index.d.ts +0 -1
  442. package/ts/shared/tab_index/scripts/index.d.ts +0 -1
  443. package/ts/shared/title/scripts/index.d.ts +0 -1
  444. package/ts/shared/tr/components/base_tr.d.ts +0 -9
  445. package/ts/shared/tr/components/index.d.ts +0 -1
  446. package/ts/shared/tr/components/prop_types/index.d.ts +0 -1
  447. package/ts/shared/tr/data/index.d.ts +0 -1
  448. package/ts/shared/tr/interfaces/index.d.ts +0 -1
  449. package/ts/shared/tr/obj/index.d.ts +0 -1
  450. package/ts/shared_clean/announcement/scripts/index.d.ts +0 -1
  451. package/ts/shared_clean/color/interfaces/index.d.ts +0 -1
  452. package/ts/shared_clean/color/scripts/index.d.ts +0 -1
  453. package/ts/shared_clean/css_vars/scripts/index.d.ts +0 -1
  454. package/ts/shared_clean/data/data/index.d.ts +0 -2
  455. package/ts/shared_clean/data/data/settings.d.ts +0 -16
  456. package/ts/shared_clean/data/interfaces/index.d.ts +0 -1
  457. package/ts/shared_clean/data/scripts/index.d.ts +0 -3
  458. package/ts/shared_clean/functions.d.ts +0 -4
  459. package/ts/shared_clean/no_tr/scripts/index.d.ts +0 -1
  460. package/ts/shared_clean/schema/data/index.d.ts +0 -1
  461. package/ts/shared_clean/schema/obj/index.d.ts +0 -1
  462. package/ts/shared_clean/service_worker/scripts/index.d.ts +0 -1
  463. package/ts/shared_clean/t.d.ts +0 -36
  464. package/ts/shared_clean/theme/scripts/index.d.ts +0 -1
  465. package/ts/shared_clean/title/scripts/index.d.ts +0 -1
  466. package/ts/shared_clean/utils/scripts/index.d.ts +0 -1
  467. package/ts/shared_clean/viewport/scripts/index.d.ts +0 -1
  468. package/{ts → src/ts}/announcement/internal.d.ts +0 -0
  469. package/{ts → src/ts}/dependencies/internal.d.ts +0 -0
  470. package/{ts → src/ts}/dependencies/scripts/dependencies.d.ts +0 -0
  471. package/{ts → src/ts}/error_modules/crash_handler/data/visibility.d.ts +0 -0
  472. package/{ts → src/ts}/error_modules/crash_handler/scripts/page.d.ts +0 -0
  473. package/{ts → src/ts}/error_modules/css/scripts/css.d.ts +0 -0
  474. package/{ts → src/ts}/error_modules/error/components/prop_types/body.d.ts +0 -0
  475. package/{ts → src/ts}/error_modules/error/data/error.d.ts +0 -0
  476. package/{ts → src/ts}/error_modules/error/data/msg.d.ts +0 -0
  477. package/{ts → src/ts}/error_modules/error/data/progress.d.ts +0 -0
  478. package/{ts → src/ts}/error_modules/error/data/state.d.ts +0 -0
  479. package/{ts → src/ts}/error_modules/error/scripts/flash.d.ts +0 -0
  480. package/{ts → src/ts}/error_modules/error/scripts/globals.d.ts +0 -0
  481. package/{ts → src/ts}/error_modules/init.d.ts +0 -0
  482. package/{ts → src/ts}/error_modules_clean/error/interfaces/error.d.ts +0 -0
  483. package/{ts → src/ts}/error_modules_clean/error/interfaces/error_obj.d.ts +0 -0
  484. package/{ts → src/ts}/error_modules_clean/error/interfaces/notification_type.d.ts +0 -0
  485. package/{ts → src/ts}/error_modules_clean/error/interfaces/observable_keys.d.ts +0 -0
  486. package/{ts → src/ts}/error_modules_clean/error/interfaces/show_error.d.ts +0 -0
  487. package/{ts → src/ts}/error_modules_clean/error/interfaces/show_error_state_1.d.ts +0 -0
  488. package/{ts → src/ts}/error_modules_clean/error/interfaces/show_error_state_1_f.d.ts +0 -0
  489. package/{ts → src/ts}/error_modules_clean/error/interfaces/show_error_state_2.d.ts +0 -0
  490. package/{ts → src/ts}/error_modules_clean/error/interfaces/show_error_state_2_f.d.ts +0 -0
  491. package/{ts → src/ts}/error_modules_clean/error/interfaces/show_unable_to_access_settings_error.d.ts +0 -0
  492. package/{ts → src/ts}/error_modules_clean/error/interfaces/timeout_observable_keys.d.ts +0 -0
  493. package/{ts → src/ts}/error_modules_clean/error/scripts/globals.d.ts +0 -0
  494. package/{ts → src/ts}/inputs/color/components/prop_types/body.d.ts +0 -0
  495. package/{ts → src/ts}/inputs/color/components/prop_types/fill_shadow.d.ts +0 -0
  496. package/{ts → src/ts}/inputs/color/interfaces/color_picker_state_one.d.ts +0 -0
  497. package/{ts → src/ts}/inputs/color/interfaces/i.d.ts +0 -0
  498. package/{ts → src/ts}/inputs/color/scripts/position.d.ts +0 -0
  499. package/{ts → src/ts}/inputs/components/prop_types/btn.d.ts +0 -0
  500. package/{ts → src/ts}/inputs/components/prop_types/file.d.ts +0 -0
  501. package/{ts → src/ts}/inputs/components/prop_types/hr.d.ts +0 -0
  502. package/{ts → src/ts}/inputs/components/prop_types/input_error.d.ts +0 -0
  503. package/{ts → src/ts}/inputs/components/prop_types/label.d.ts +0 -0
  504. package/{ts → src/ts}/inputs/components/prop_types/label_in_input_item.d.ts +0 -0
  505. package/{ts → src/ts}/inputs/components/prop_types/link.d.ts +0 -0
  506. package/{ts → src/ts}/inputs/components/prop_types/link_btn.d.ts +0 -0
  507. package/{ts → src/ts}/inputs/components/prop_types/link_icon_btn.d.ts +0 -0
  508. package/{ts → src/ts}/inputs/components/prop_types/section.d.ts +0 -0
  509. package/{ts → src/ts}/inputs/components/prop_types/section_btn.d.ts +1 -1
  510. package/{ts → src/ts}/inputs/components/prop_types/text_btn.d.ts +1 -1
  511. package/{ts → src/ts}/inputs/data/input_error.d.ts +0 -0
  512. package/{ts → src/ts}/inputs/data/nested_input.d.ts +0 -0
  513. package/{ts → src/ts}/inputs/interfaces/icon_btns.d.ts +0 -0
  514. package/{ts → src/ts}/inputs/interfaces/inputs.d.ts +0 -0
  515. package/{ts → src/ts}/inputs/interfaces/links.d.ts +0 -0
  516. package/{ts → src/ts}/inputs/interfaces/options.d.ts +0 -0
  517. package/{ts → src/ts}/inputs/interfaces/sections.d.ts +0 -0
  518. package/{ts → src/ts}/inputs/interfaces/state_cond.d.ts +0 -0
  519. package/{ts → src/ts}/inputs/interfaces/text_btn.d.ts +0 -0
  520. package/{ts → src/ts}/inputs/internal.d.ts +0 -0
  521. package/{ts → src/ts}/inputs/obj/option.d.ts +0 -0
  522. package/{ts → src/ts}/inputs/scripts/upload_box.d.ts +0 -0
  523. package/{ts → src/ts}/settings/components/prop_types/body.d.ts +1 -1
  524. package/{ts → src/ts}/settings/developer_mode/data/developer_mode.d.ts +0 -0
  525. package/{ts → src/ts}/settings/init.d.ts +0 -0
  526. package/{ts → src/ts}/settings/internal.d.ts +0 -0
  527. package/{ts → src/ts}/settings/optional_permissions/interfaces/show_enable_permissions_notification_permission.d.ts +0 -0
  528. package/{ts → src/ts}/settings/sections/scripts/theme.d.ts +1 -1
  529. /package/{ts → src/ts}/shared/data/data/data.d.ts +0 -0
  530. /package/{ts → src/ts}/shared/init.d.ts +0 -0
  531. /package/{ts → src/ts}/shared/loading_screen/components/prop_types/body.d.ts +0 -0
  532. /package/{ts → src/ts}/shared/loading_screen/data/visibility.d.ts +0 -0
  533. /package/{ts → src/ts}/shared/loading_screen/scripts/roots.d.ts +0 -0
  534. /package/{ts → src/ts}/shared/loading_screen/scripts/tr.d.ts +0 -0
  535. /package/{ts → src/ts}/shared/offers/components/prop_types/body.d.ts +0 -0
  536. /package/{ts → src/ts}/shared/offers/components/prop_types/offer.d.ts +0 -0
  537. /package/{ts → src/ts}/shared/offers/interfaces/offer_banner_type.d.ts +0 -0
  538. /package/{ts → src/ts}/shared/offers/scripts/offers.d.ts +0 -0
  539. /package/{ts → src/ts}/shared/svg.d.ts +0 -0
  540. /package/{ts → src/ts}/shared/tr/interfaces/transitions.d.ts +0 -0
  541. /package/{ts → src/ts}/shared/tr/obj/transition.d.ts +0 -0
  542. /package/{ts → src/ts}/shared_clean/announcement/scripts/visibility.d.ts +0 -0
  543. /package/{ts → src/ts}/shared_clean/app_ext_globals.d.ts +0 -0
  544. /package/{ts → src/ts}/shared_clean/color/interfaces/color.d.ts +0 -0
  545. /package/{ts → src/ts}/shared_clean/color/scripts/colors.d.ts +0 -0
  546. /package/{ts → src/ts}/shared_clean/css_vars/scripts/css_vars.d.ts +0 -0
  547. /package/{ts → src/ts}/shared_clean/data/data/data.d.ts +0 -0
  548. /package/{ts → src/ts}/shared_clean/data/interfaces/val.d.ts +0 -0
  549. /package/{ts → src/ts}/shared_clean/globals.d.ts +0 -0
  550. /package/{ts → src/ts}/shared_clean/no_tr/scripts/state.d.ts +0 -0
  551. /package/{ts → src/ts}/shared_clean/theme/scripts/theme.d.ts +0 -0
  552. /package/{ts → src/ts}/shared_clean/title/scripts/title.d.ts +0 -0
  553. /package/{ts → src/ts}/shared_clean/utils/scripts/utils.d.ts +0 -0
  554. /package/{ts → src/ts}/shared_clean/vars.d.ts +0 -0
  555. /package/{ts → src/ts}/shared_clean/viewport/scripts/viewport.d.ts +0 -0
@@ -0,0 +1 @@
1
+ import{t as e}from"./chunk.mjs";var t=e(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof e==`object`?e.Pickr=r():n.Pickr=r()})(self,(()=>(()=>{var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.d(t,{default:()=>O});var n={};function r(e,t,n,r,i={}){t instanceof HTMLCollection||t instanceof NodeList?t=Array.from(t):Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);for(let a of t)for(let t of n)a[e](t,r,{capture:!1,...i});return Array.prototype.slice.call(arguments,1)}e.r(n),e.d(n,{adjustableInputNumbers:()=>u,createElementFromString:()=>o,createFromTemplate:()=>s,eventPath:()=>c,off:()=>a,on:()=>i,resolveElement:()=>l});let i=r.bind(null,`addEventListener`),a=r.bind(null,`removeEventListener`);function o(e){let t=document.createElement(`div`);return t.innerHTML=e.trim(),t.firstElementChild}function s(e){let t=(e,t)=>{let n=e.getAttribute(t);return e.removeAttribute(t),n},n=(e,r={})=>{let i=t(e,`:obj`),a=t(e,`:ref`),o=i?r[i]={}:r;a&&(r[a]=e);for(let r of Array.from(e.children)){let e=t(r,`:arr`),i=n(r,e?{}:o);e&&(o[e]||(o[e]=[])).push(Object.keys(i).length?i:r)}return r};return n(o(e))}function c(e){let t=e.path||e.composedPath&&e.composedPath();if(t)return t;let n=e.target.parentElement;for(t=[e.target,n];n=n.parentElement;)t.push(n);return t.push(document,window),t}function l(e){return e instanceof Element?e:typeof e==`string`?e.split(/>>/g).reduce(((e,t,n,r)=>(e=e.querySelector(t),n<r.length-1?e.shadowRoot:e)),document):null}function u(e,t=(e=>e)){function n(n){let r=[.001,.01,.1][Number(n.shiftKey||2*n.ctrlKey)]*(n.deltaY<0?1:-1),i=0,a=e.selectionStart;e.value=e.value.replace(/[\d.]+/g,((e,n)=>n<=a&&n+e.length>=a?(a=n,t(Number(e),r,i)):(i++,e))),e.focus(),e.setSelectionRange(a,a),n.preventDefault(),e.dispatchEvent(new Event(`input`))}i(e,`focus`,(()=>i(window,`wheel`,n,{passive:!1}))),i(e,`blur`,(()=>a(window,`wheel`,n)))}let{min:d,max:f,floor:p,round:m}=Math;function h(e,t,n){t/=100,n/=100;let r=p(e=e/360*6),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6;return[255*[n,o,a,a,s,n][c],255*[s,n,n,o,a,a][c],255*[a,a,s,n,n,o][c]]}function g(e,t,n){let r=(2-(t/=100))*(n/=100)/2;return r!==0&&(t=r===1?0:r<.5?t*n/(2*r):t*n/(2-2*r)),[e,100*t,100*r]}function _(e,t,n){let r=d(e/=255,t/=255,n/=255),i=f(e,t,n),a=i-r,o,s;if(a===0)o=s=0;else{s=a/i;let r=((i-e)/6+a/2)/a,c=((i-t)/6+a/2)/a,l=((i-n)/6+a/2)/a;e===i?o=l-c:t===i?o=1/3+r-l:n===i&&(o=2/3+c-r),o<0?o+=1:o>1&&--o}return[360*o,100*s,100*i]}function v(e,t,n,r){return t/=100,n/=100,[..._(255*(1-d(1,(e/=100)*(1-(r/=100))+r)),255*(1-d(1,t*(1-r)+r)),255*(1-d(1,n*(1-r)+r)))]}function y(e,t,n){t/=100;let r=2*(t*=(n/=100)<.5?n:1-n)/(n+t)*100,i=100*(n+t);return[e,isNaN(r)?0:r,i]}function b(e){return _(...e.match(/.{2}/g).map((e=>parseInt(e,16))))}function x(e){e=e.match(/^[a-zA-Z]+$/)?function(e){if(e.toLowerCase()===`black`)return`#000`;let t=document.createElement(`canvas`).getContext(`2d`);return t.fillStyle=e,t.fillStyle===`#000`?null:t.fillStyle}(e):e;let t={cmyk:/^cmyk\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)/i,rgba:/^rgba?\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D*?(([\d.]+)(%?)|$)/i,hsla:/^hsla?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hsva:/^hsva?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},n=e=>e.map((e=>/^(|\d+)\.\d+|\d+$/.test(e)?Number(e):void 0)),r;t:for(let i in t)if(r=t[i].exec(e))switch(i){case`cmyk`:{let[,e,t,a,o]=n(r);if(e>100||t>100||a>100||o>100)break t;return{values:v(e,t,a,o),type:i}}case`rgba`:{let[,e,,t,,a,,,o]=n(r);if(e=r[2]===`%`?e/100*255:e,t=r[4]===`%`?t/100*255:t,a=r[6]===`%`?a/100*255:a,o=r[9]===`%`?o/100:o,e>255||t>255||a>255||o<0||o>1)break t;return{values:[..._(e,t,a),o],a:o,type:i}}case`hexa`:{let[,e]=r;e.length!==4&&e.length!==3||(e=e.split(``).map((e=>e+e)).join(``));let t=e.substring(0,6),n=e.substring(6);return n=n?parseInt(n,16)/255:void 0,{values:[...b(t),n],a:n,type:i}}case`hsla`:{let[,e,t,a,,o]=n(r);if(o=r[6]===`%`?o/100:o,e>360||t>100||a>100||o<0||o>1)break t;return{values:[...y(e,t,a),o],a:o,type:i}}case`hsva`:{let[,e,t,a,,o]=n(r);if(o=r[6]===`%`?o/100:o,e>360||t>100||a>100||o<0||o>1)break t;return{values:[e,t,a,o],a:o,type:i}}}return{values:null,type:null}}function S(e=0,t=0,n=0,r=1){let i=(e,t)=>(n=-1)=>t(~n?e.map((e=>Number(e.toFixed(n)))):e),a={h:e,s:t,v:n,a:r,toHSVA(){let e=[a.h,a.s,a.v,a.a];return e.toString=i(e,(e=>`hsva(${e[0]}, ${e[1]}%, ${e[2]}%, ${a.a})`)),e},toHSLA(){let e=[...g(a.h,a.s,a.v),a.a];return e.toString=i(e,(e=>`hsla(${e[0]}, ${e[1]}%, ${e[2]}%, ${a.a})`)),e},toRGBA(){let e=[...h(a.h,a.s,a.v),a.a];return e.toString=i(e,(e=>`rgba(${e[0]}, ${e[1]}, ${e[2]}, ${a.a})`)),e},toCMYK(){let e=function(e,t,n){let r=h(e,t,n),i=r[0]/255,a=r[1]/255,o=r[2]/255,s=d(1-i,1-a,1-o);return[100*(s===1?0:(1-i-s)/(1-s)),100*(s===1?0:(1-a-s)/(1-s)),100*(s===1?0:(1-o-s)/(1-s)),100*s]}(a.h,a.s,a.v);return e.toString=i(e,(e=>`cmyk(${e[0]}%, ${e[1]}%, ${e[2]}%, ${e[3]}%)`)),e},toHEXA(){let e=function(e,t,n){return h(e,t,n).map((e=>m(e).toString(16).padStart(2,`0`)))}(a.h,a.s,a.v),t=a.a>=1?``:Number((255*a.a).toFixed(0)).toString(16).toUpperCase().padStart(2,`0`);return t&&e.push(t),e.toString=()=>`#${e.join(``).toUpperCase()}`,e},clone:()=>S(a.h,a.s,a.v,a.a)};return a}let C=e=>Math.max(Math.min(e,1),0);function w(e){let t={options:Object.assign({lock:null,onchange:()=>0,onstop:()=>0},e),_keyboard(e){let{options:n}=t,{type:r,key:i}=e;if(document.activeElement===n.wrapper){let{lock:n}=t.options,a=i===`ArrowUp`,o=i===`ArrowRight`,s=i===`ArrowDown`,c=i===`ArrowLeft`;if(r===`keydown`&&(a||o||s||c)){let r=0,i=0;n===`v`?r=a||o?1:-1:n===`h`?r=a||o?-1:1:(i=a?-1:+!!s,r=c?-1:+!!o),t.update(C(t.cache.x+.01*r),C(t.cache.y+.01*i)),e.preventDefault()}else i.startsWith(`Arrow`)&&(t.options.onstop(),e.preventDefault())}},_tapstart(e){i(document,[`mouseup`,`touchend`,`touchcancel`],t._tapstop),i(document,[`mousemove`,`touchmove`],t._tapmove),e.cancelable&&e.preventDefault(),t._tapmove(e)},_tapmove(e){let{options:n,cache:r}=t,{lock:i,element:a,wrapper:o}=n,s=o.getBoundingClientRect(),c=0,l=0;if(e){let t=e&&e.touches&&e.touches[0];c=e?(t||e).clientX:0,l=e?(t||e).clientY:0,c<s.left?c=s.left:c>s.left+s.width&&(c=s.left+s.width),l<s.top?l=s.top:l>s.top+s.height&&(l=s.top+s.height),c-=s.left,l-=s.top}else r&&(c=r.x*s.width,l=r.y*s.height);i!==`h`&&(a.style.left=`calc(${c/s.width*100}% - ${a.offsetWidth/2}px)`),i!==`v`&&(a.style.top=`calc(${l/s.height*100}% - ${a.offsetHeight/2}px)`),t.cache={x:c/s.width,y:l/s.height};let u=C(c/s.width),d=C(l/s.height);switch(i){case`v`:return n.onchange(u);case`h`:return n.onchange(d);default:return n.onchange(u,d)}},_tapstop(){t.options.onstop(),a(document,[`mouseup`,`touchend`,`touchcancel`],t._tapstop),a(document,[`mousemove`,`touchmove`],t._tapmove)},trigger(){t._tapmove()},update(e=0,n=0){let{left:r,top:i,width:a,height:o}=t.options.wrapper.getBoundingClientRect();t.options.lock===`h`&&(n=e),t._tapmove({clientX:r+a*e,clientY:i+o*n})},destroy(){let{options:e,_tapstart:n,_keyboard:r}=t;a(document,[`keydown`,`keyup`],r),a([e.wrapper,e.element],`mousedown`,n),a([e.wrapper,e.element],`touchstart`,n,{passive:!1})}},{options:n,_tapstart:r,_keyboard:o}=t;return i([n.wrapper,n.element],`mousedown`,r),i([n.wrapper,n.element],`touchstart`,r,{passive:!1}),i(document,[`keydown`,`keyup`],o),t}function T(e={}){e=Object.assign({onchange:()=>0,className:``,elements:[]},e);let t=i(e.elements,`click`,(t=>{e.elements.forEach((n=>n.classList[t.target===n?`add`:`remove`](e.className))),e.onchange(t),t.stopPropagation()}));return{destroy:()=>a(...t)}}let E={variantFlipOrder:{start:`sme`,middle:`mse`,end:`ems`},positionFlipOrder:{top:`tbrl`,right:`rltb`,bottom:`btrl`,left:`lrbt`},position:`bottom`,margin:8,padding:0},D=(e,t,n)=>{let r=typeof e!=`object`||e instanceof HTMLElement?{reference:e,popper:t,...n}:e;return{update(e=r){let{reference:t,popper:n}=Object.assign(r,e);if(!n||!t)throw Error(`Popper- or reference-element missing.`);return((e,t,n)=>{let{container:r,arrow:i,margin:a,padding:o,position:s,variantFlipOrder:c,positionFlipOrder:l}={container:document.documentElement.getBoundingClientRect(),...E,...n},{left:u,top:d}=t.style;t.style.left=`0`,t.style.top=`0`;let f=e.getBoundingClientRect(),p=t.getBoundingClientRect(),m={t:f.top-p.height-a,b:f.bottom+a,r:f.right+a,l:f.left-p.width-a},h={vs:f.left,vm:f.left+f.width/2-p.width/2,ve:f.left+f.width-p.width,hs:f.top,hm:f.bottom-f.height/2-p.height/2,he:f.bottom-p.height},[g,_=`middle`]=s.split(`-`),v=l[g],y=c[_],{top:b,left:x,bottom:S,right:C}=r;for(let e of v){let n=e===`t`||e===`b`,r=m[e],[a,s]=n?[`top`,`left`]:[`left`,`top`],[c,l]=n?[p.height,p.width]:[p.width,p.height],[u,d]=n?[S,C]:[C,S],[g,_]=n?[b,x]:[x,b];if(!(r<g||r+c+o>u))for(let u of y){let m=h[(n?`v`:`h`)+u];if(!(m<_||m+l+o>d)){if(m-=p[s],r-=p[a],t.style[s]=`${m}px`,t.style[a]=`${r}px`,i){let t=n?f.width/2:f.height/2,o=l/2,d=t>o,p=m+{s:d?o:t,m:o,e:d?o:l-t}[u],h=r+{t:c,b:0,r:0,l:c}[e];i.style[s]=`${p}px`,i.style[a]=`${h}px`}return e+u}}}return t.style.left=u,t.style.top=d,null})(t,n,r)}}};class O{static utils=n;static version=`1.9.1`;static I18N_DEFAULTS={"ui:dialog":`color picker dialog`,"btn:toggle":`toggle color picker dialog`,"btn:swatch":`color swatch`,"btn:last-color":`use previous color`,"btn:save":`Save`,"btn:cancel":`Cancel`,"btn:clear":`Clear`,"aria:btn:save":`save and close`,"aria:btn:cancel":`cancel and close`,"aria:btn:clear":`clear and close`,"aria:input":`color input field`,"aria:palette":`color selection area`,"aria:hue":`hue selection slider`,"aria:opacity":`selection slider`};static DEFAULT_OPTIONS={appClass:null,theme:`classic`,useAsButton:!1,padding:8,disabled:!1,comparison:!0,closeOnScroll:!1,outputPrecision:0,lockOpacity:!1,autoReposition:!0,container:`body`,components:{interaction:{}},i18n:{},swatches:null,inline:!1,sliders:null,default:`#42445a`,defaultRepresentation:null,position:`bottom-middle`,adjustableNumbers:!0,showAlways:!1,closeWithKey:`Escape`};_initializingActive=!0;_recalc=!0;_nanopop=null;_root=null;_color=S();_lastColor=S();_swatchColors=[];_setupAnimationFrame=null;_eventListener={init:[],save:[],hide:[],show:[],clear:[],change:[],changestop:[],cancel:[],swatchselect:[]};constructor(e){this.options=e=Object.assign({...O.DEFAULT_OPTIONS},e);let{swatches:t,components:n,theme:r,sliders:i,lockOpacity:a,padding:o}=e;[`nano`,`monolith`].includes(r)&&!i&&(e.sliders=`h`),n.interaction||={};let{preview:s,opacity:c,hue:l,palette:u}=n;n.opacity=!a&&c,n.palette=u||s||c||l,this._preBuild(),this._buildComponents(),this._bindEvents(),this._finalBuild(),t&&t.length&&t.forEach((e=>this.addSwatch(e)));let{button:d,app:f}=this._root;this._nanopop=D(d,f,{margin:o}),d.setAttribute(`role`,`button`),d.setAttribute(`aria-label`,this._t(`btn:toggle`));let p=this;this._setupAnimationFrame=requestAnimationFrame((function t(){if(!f.offsetWidth)return requestAnimationFrame(t);p.setColor(e.default),p._rePositioningPicker(),e.defaultRepresentation&&(p._representation=e.defaultRepresentation,p.setColorRepresentation(p._representation)),e.showAlways&&p.show(),p._initializingActive=!1,p._emit(`init`)}))}static create=e=>new O(e);_preBuild(){let{options:e}=this;for(let t of[`el`,`container`])e[t]=l(e[t]);this._root=(e=>{let{components:t,useAsButton:n,inline:r,appClass:i,theme:a,lockOpacity:o}=e.options,c=e=>e?``:`style="display:none" hidden`,l=t=>e._t(t),u=s(`\n <div :ref="root" class="pickr">\n\n ${n?``:`<button type="button" :ref="button" class="pcr-button"></button>`}\n\n <div :ref="app" class="pcr-app ${i||``}" data-theme="${a}" ${r?`style="position: unset"`:``} aria-label="${l(`ui:dialog`)}" role="window">\n <div class="pcr-selection" ${c(t.palette)}>\n <div :obj="preview" class="pcr-color-preview" ${c(t.preview)}>\n <button type="button" :ref="lastColor" class="pcr-last-color" aria-label="${l(`btn:last-color`)}"></button>\n <div :ref="currentColor" class="pcr-current-color"></div>\n </div>\n\n <div :obj="palette" class="pcr-color-palette">\n <div :ref="picker" class="pcr-picker"></div>\n <div :ref="palette" class="pcr-palette" tabindex="0" aria-label="${l(`aria:palette`)}" role="listbox"></div>\n </div>\n\n <div :obj="hue" class="pcr-color-chooser" ${c(t.hue)}>\n <div :ref="picker" class="pcr-picker"></div>\n <div :ref="slider" class="pcr-hue pcr-slider" tabindex="0" aria-label="${l(`aria:hue`)}" role="slider"></div>\n </div>\n\n <div :obj="opacity" class="pcr-color-opacity" ${c(t.opacity)}>\n <div :ref="picker" class="pcr-picker"></div>\n <div :ref="slider" class="pcr-opacity pcr-slider" tabindex="0" aria-label="${l(`aria:opacity`)}" role="slider"></div>\n </div>\n </div>\n\n <div class="pcr-swatches ${t.palette?``:`pcr-last`}" :ref="swatches"></div>\n\n <div :obj="interaction" class="pcr-interaction" ${c(Object.keys(t.interaction).length)}>\n <input :ref="result" class="pcr-result" type="text" spellcheck="false" ${c(t.interaction.input)} aria-label="${l(`aria:input`)}">\n\n <input :arr="options" class="pcr-type" data-type="HEXA" value="${o?`HEX`:`HEXA`}" type="button" ${c(t.interaction.hex)}>\n <input :arr="options" class="pcr-type" data-type="RGBA" value="${o?`RGB`:`RGBA`}" type="button" ${c(t.interaction.rgba)}>\n <input :arr="options" class="pcr-type" data-type="HSLA" value="${o?`HSL`:`HSLA`}" type="button" ${c(t.interaction.hsla)}>\n <input :arr="options" class="pcr-type" data-type="HSVA" value="${o?`HSV`:`HSVA`}" type="button" ${c(t.interaction.hsva)}>\n <input :arr="options" class="pcr-type" data-type="CMYK" value="CMYK" type="button" ${c(t.interaction.cmyk)}>\n\n <input :ref="save" class="pcr-save" value="${l(`btn:save`)}" type="button" ${c(t.interaction.save)} aria-label="${l(`aria:btn:save`)}">\n <input :ref="cancel" class="pcr-cancel" value="${l(`btn:cancel`)}" type="button" ${c(t.interaction.cancel)} aria-label="${l(`aria:btn:cancel`)}">\n <input :ref="clear" class="pcr-clear" value="${l(`btn:clear`)}" type="button" ${c(t.interaction.clear)} aria-label="${l(`aria:btn:clear`)}">\n </div>\n </div>\n </div>\n `),d=u.interaction;return d.options.find((e=>!e.hidden&&!e.classList.add(`active`))),d.type=()=>d.options.find((e=>e.classList.contains(`active`))),u})(this),e.useAsButton&&(this._root.button=e.el),e.container.appendChild(this._root.root)}_finalBuild(){let e=this.options,t=this._root;if(e.container.removeChild(t.root),e.inline){let n=e.el.parentElement;e.el.nextSibling?n.insertBefore(t.app,e.el.nextSibling):n.appendChild(t.app)}else e.container.appendChild(t.app);e.useAsButton?e.inline&&e.el.remove():e.el.parentNode.replaceChild(t.root,e.el),e.disabled&&this.disable(),e.comparison||(t.button.style.transition=`none`,e.useAsButton||(t.preview.lastColor.style.transition=`none`)),this.hide()}_buildComponents(){let e=this,t=this.options.components,n=(e.options.sliders||`v`).repeat(2),[r,i]=n.match(/^[vh]+$/g)?n:[],a=()=>this._color||=this._lastColor.clone(),o={palette:w({element:e._root.palette.picker,wrapper:e._root.palette.palette,onstop:()=>e._emit(`changestop`,`slider`,e),onchange(n,r){if(!t.palette)return;let i=a(),{_root:o,options:s}=e,{lastColor:c,currentColor:l}=o.preview;e._recalc&&(i.s=100*n,i.v=100-100*r,i.v<0&&(i.v=0),e._updateOutput(`slider`));let u=i.toRGBA().toString(0);this.element.style.background=u,this.wrapper.style.background=`\n linear-gradient(to top, rgba(0, 0, 0, ${i.a}), transparent),\n linear-gradient(to left, hsla(${i.h}, 100%, 50%, ${i.a}), rgba(255, 255, 255, ${i.a}))\n `,s.comparison?s.useAsButton||e._lastColor||c.style.setProperty(`--pcr-color`,u):(o.button.style.setProperty(`--pcr-color`,u),o.button.classList.remove(`clear`));let d=i.toHEXA().toString();for(let{el:t,color:n}of e._swatchColors)t.classList[d===n.toHEXA().toString()?`add`:`remove`](`pcr-active`);l.style.setProperty(`--pcr-color`,u)}}),hue:w({lock:i===`v`?`h`:`v`,element:e._root.hue.picker,wrapper:e._root.hue.slider,onstop:()=>e._emit(`changestop`,`slider`,e),onchange(n){if(!t.hue||!t.palette)return;let r=a();e._recalc&&(r.h=360*n),this.element.style.backgroundColor=`hsl(${r.h}, 100%, 50%)`,o.palette.trigger()}}),opacity:w({lock:r===`v`?`h`:`v`,element:e._root.opacity.picker,wrapper:e._root.opacity.slider,onstop:()=>e._emit(`changestop`,`slider`,e),onchange(n){if(!t.opacity||!t.palette)return;let r=a();e._recalc&&(r.a=Math.round(100*n)/100),this.element.style.background=`rgba(0, 0, 0, ${r.a})`,o.palette.trigger()}}),selectable:T({elements:e._root.interaction.options,className:`active`,onchange(t){e._representation=t.target.getAttribute(`data-type`).toUpperCase(),e._recalc&&e._updateOutput(`swatch`)}})};this._components=o}_bindEvents(){let{_root:e,options:t}=this,n=[i(e.interaction.clear,`click`,(()=>this._clearColor())),i([e.interaction.cancel,e.preview.lastColor],`click`,(()=>{this.setHSVA(...(this._lastColor||this._color).toHSVA(),!0),this._emit(`cancel`)})),i(e.interaction.save,`click`,(()=>{!this.applyColor()&&!t.showAlways&&this.hide()})),i(e.interaction.result,[`keyup`,`input`],(e=>{this.setColor(e.target.value,!0)&&!this._initializingActive&&(this._emit(`change`,this._color,`input`,this),this._emit(`changestop`,`input`,this)),e.stopImmediatePropagation()})),i(e.interaction.result,[`focus`,`blur`],(e=>{this._recalc=e.type===`blur`,this._recalc&&this._updateOutput(null)})),i([e.palette.palette,e.palette.picker,e.hue.slider,e.hue.picker,e.opacity.slider,e.opacity.picker],[`mousedown`,`touchstart`],(()=>this._recalc=!0),{passive:!0})];if(!t.showAlways){let r=t.closeWithKey;n.push(i(e.button,`click`,(()=>this.isOpen()?this.hide():this.show())),i(document,`keyup`,(e=>this.isOpen()&&(e.key===r||e.code===r)&&this.hide())),i(document,[`touchstart`,`mousedown`],(t=>{this.isOpen()&&!c(t).some((t=>t===e.app||t===e.button))&&this.hide()}),{capture:!0}))}if(t.adjustableNumbers){let t={rgba:[255,255,255,1],hsva:[360,100,100,1],hsla:[360,100,100,1],cmyk:[100,100,100,100]};u(e.interaction.result,((e,n,r)=>{let i=t[this.getColorRepresentation().toLowerCase()];if(i){let t=i[r],a=e+(t>=100?1e3*n:n);return a<=0?0:Number((a<t?a:t).toPrecision(3))}return e}))}if(t.autoReposition&&!t.inline){let e=null,r=this;n.push(i(window,[`scroll`,`resize`],(()=>{r.isOpen()&&(t.closeOnScroll&&r.hide(),e===null?(e=setTimeout((()=>e=null),100),requestAnimationFrame((function t(){r._rePositioningPicker(),e!==null&&requestAnimationFrame(t)}))):(clearTimeout(e),e=setTimeout((()=>e=null),100)))}),{capture:!0}))}this._eventBindings=n}_rePositioningPicker(){let{options:e}=this;if(!e.inline&&!this._nanopop.update({container:document.body.getBoundingClientRect(),position:e.position})){let e=this._root.app,t=e.getBoundingClientRect();e.style.top=(window.innerHeight-t.height)/2+`px`,e.style.left=(window.innerWidth-t.width)/2+`px`}}_updateOutput(e){let{_root:t,_color:n,options:r}=this;if(t.interaction.type()){let e=`to${t.interaction.type().getAttribute(`data-type`)}`;t.interaction.result.value=typeof n[e]==`function`?n[e]().toString(r.outputPrecision):``}!this._initializingActive&&this._recalc&&this._emit(`change`,n,e,this)}_clearColor(e=!1){let{_root:t,options:n}=this;n.useAsButton||t.button.style.setProperty(`--pcr-color`,`rgba(0, 0, 0, 0.15)`),t.button.classList.add(`clear`),n.showAlways||this.hide(),this._lastColor=null,this._initializingActive||e||(this._emit(`save`,null),this._emit(`clear`))}_parseLocalColor(e){let{values:t,type:n,a:r}=x(e),{lockOpacity:i}=this.options,a=r!==void 0&&r!==1;return t&&t.length===3&&(t[3]=void 0),{values:!t||i&&a?null:t,type:n}}_t(e){return this.options.i18n[e]||O.I18N_DEFAULTS[e]}_emit(e,...t){this._eventListener[e].forEach((e=>e(...t,this)))}on(e,t){return this._eventListener[e].push(t),this}off(e,t){let n=this._eventListener[e]||[],r=n.indexOf(t);return~r&&n.splice(r,1),this}addSwatch(e){let{values:t}=this._parseLocalColor(e);if(t){let{_swatchColors:e,_root:n}=this,r=S(...t),a=o(`<button type="button" style="--pcr-color: ${r.toRGBA().toString(0)}" aria-label="${this._t(`btn:swatch`)}"/>`);return n.swatches.appendChild(a),e.push({el:a,color:r}),this._eventBindings.push(i(a,`click`,(()=>{this.setHSVA(...r.toHSVA(),!0),this._emit(`swatchselect`,r),this._emit(`change`,r,`swatch`,this)}))),!0}return!1}removeSwatch(e){let t=this._swatchColors[e];if(t){let{el:n}=t;return this._root.swatches.removeChild(n),this._swatchColors.splice(e,1),!0}return!1}applyColor(e=!1){let{preview:t,button:n}=this._root,r=this._color.toRGBA().toString(0);return t.lastColor.style.setProperty(`--pcr-color`,r),this.options.useAsButton||n.style.setProperty(`--pcr-color`,r),n.classList.remove(`clear`),this._lastColor=this._color.clone(),this._initializingActive||e||this._emit(`save`,this._color),this}destroy(){cancelAnimationFrame(this._setupAnimationFrame),this._eventBindings.forEach((e=>a(...e))),Object.keys(this._components).forEach((e=>this._components[e].destroy()))}destroyAndRemove(){this.destroy();let{root:e,app:t}=this._root;e.parentElement&&e.parentElement.removeChild(e),t.parentElement.removeChild(t),Object.keys(this).forEach((e=>this[e]=null))}hide(){return!!this.isOpen()&&(this._root.app.classList.remove(`visible`),this._emit(`hide`),!0)}show(){return!this.options.disabled&&!this.isOpen()&&(this._root.app.classList.add(`visible`),this._rePositioningPicker(),this._emit(`show`,this._color),this)}isOpen(){return this._root.app.classList.contains(`visible`)}setHSVA(e=360,t=0,n=0,r=1,i=!1){let a=this._recalc;if(this._recalc=!1,e<0||e>360||t<0||t>100||n<0||n>100||r<0||r>1)return!1;this._color=S(e,t,n,r);let{hue:o,opacity:s,palette:c}=this._components;return o.update(e/360),s.update(r),c.update(t/100,1-n/100),i||this.applyColor(),a&&this._updateOutput(),this._recalc=a,!0}setColor(e,t=!1){if(e===null)return this._clearColor(t),!0;let{values:n,type:r}=this._parseLocalColor(e);if(n){let e=r.toUpperCase(),{options:i}=this._root.interaction,a=i.find((t=>t.getAttribute(`data-type`)===e));if(a&&!a.hidden)for(let e of i)e.classList[e===a?`add`:`remove`](`active`);return!!this.setHSVA(...n,t)&&this.setColorRepresentation(e)}return!1}setColorRepresentation(e){return e=e.toUpperCase(),!!this._root.interaction.options.find((t=>t.getAttribute(`data-type`).startsWith(e)&&!t.click()))}getColorRepresentation(){return this._representation}getColor(){return this._color}getSelectedColor(){return this._lastColor}getRoot(){return this._root}disable(){return this.hide(),this.options.disabled=!0,this._root.button.classList.add(`disabled`),this}enable(){return this.options.disabled=!1,this._root.button.classList.remove(`disabled`),this}}return t=t.default})()))}));export default t();
@@ -0,0 +1,116 @@
1
+ [
2
+ {
3
+ "name": "@jridgewell/source-map",
4
+ "version": "0.3.5",
5
+ "identifier": "MIT",
6
+ "text": "Copyright 2019 Justin Ridgewell <jridgewell@google.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
7
+ },
8
+ {
9
+ "name": "@simonwep/pickr",
10
+ "version": "1.9.1",
11
+ "identifier": "MIT",
12
+ "text": "MIT License\n\nCopyright (c) 2018 - 2021 Simon Reinisch\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
13
+ },
14
+ {
15
+ "name": "clean-css",
16
+ "version": "5.3.3",
17
+ "identifier": "MIT",
18
+ "text": "Copyright (C) 2017 JakubPawlowicz.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished\nto do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE."
19
+ },
20
+ {
21
+ "name": "entities",
22
+ "version": "4.5.0",
23
+ "identifier": "BSD-2-Clause",
24
+ "text": "Copyright (c) Felix Böhm\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\nRedistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\nTHIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
25
+ },
26
+ {
27
+ "name": "fs-extra",
28
+ "version": "11.3.5",
29
+ "identifier": "MIT",
30
+ "text": "(The MIT License)\n\nCopyright (c) 2011-2024 JP Richardson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files\n(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,\n merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\nOR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
31
+ },
32
+ {
33
+ "name": "graceful-fs",
34
+ "version": "4.2.11",
35
+ "identifier": "ISC",
36
+ "text": "The ISC License\n\nCopyright (c) 2011-2022 Isaac Z. Schlueter, Ben Noordhuis, and Contributors\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR\nIN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE."
37
+ },
38
+ {
39
+ "name": "html-minifier-terser",
40
+ "version": "7.2.0",
41
+ "identifier": "MIT",
42
+ "text": "Copyright (c) 2010-2019 Juriy \"kangax\" Zaytsev\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE."
43
+ },
44
+ {
45
+ "name": "jsonfile",
46
+ "version": "6.1.0",
47
+ "identifier": "MIT",
48
+ "text": "(The MIT License)\n\nCopyright (c) 2012-2015, JP Richardson <jprichardson@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files\n(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,\n merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS\nOR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
49
+ },
50
+ {
51
+ "name": "lodash",
52
+ "version": "4.18.1",
53
+ "identifier": "MIT",
54
+ "text": "Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n\nBased on Underscore.js, copyright Jeremy Ashkenas,\nDocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>\n\nThis software consists of voluntary contributions made by many\nindividuals. For exact contribution history, see the revision history\navailable at https://github.com/lodash/lodash\n\nThe following license applies to all parts of this software except as\ndocumented below:\n\n====\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n====\n\nCopyright and related rights for sample code are waived via CC0. Sample\ncode is defined as all source code displayed within the prose of the\ndocumentation.\n\nCC0: http://creativecommons.org/publicdomain/zero/1.0/\n\n====\n\nFiles located in the node_modules and vendor directories are externally\nmaintained libraries used by this software which have their own\nlicenses; we recommend you read them, as their terms may differ from the\nterms above."
55
+ },
56
+ {
57
+ "name": "mobx-react-lite",
58
+ "version": "4.1.1",
59
+ "identifier": "MIT",
60
+ "text": "The MIT License (MIT)\n\nCopyright (c) 2015 Michel Weststrate\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
61
+ },
62
+ {
63
+ "name": "mobx-utils",
64
+ "version": "6.1.1",
65
+ "identifier": "MIT",
66
+ "text": "MIT License\n\nCopyright (c) 2016 MobX\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
67
+ },
68
+ {
69
+ "name": "mobx",
70
+ "version": "6.16.0",
71
+ "identifier": "MIT",
72
+ "text": "The MIT License (MIT)\n\nCopyright (c) 2015 Michel Weststrate\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
73
+ },
74
+ {
75
+ "name": "react",
76
+ "version": "19.2.7",
77
+ "identifier": "MIT",
78
+ "text": "MIT License\n\nCopyright (c) Meta Platforms, Inc. and affiliates.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
79
+ },
80
+ {
81
+ "name": "relateurl",
82
+ "version": "0.2.7",
83
+ "identifier": "MIT",
84
+ "text": "The MIT License (MIT)\n\nCopyright (c) Steven Vachon <contact@svachon.com> (svachon.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE."
85
+ },
86
+ {
87
+ "name": "source-map",
88
+ "version": "0.6.1",
89
+ "identifier": "BSD-3-Clause",
90
+ "text": "Copyright (c) 2009-2011, Mozilla Foundation and contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the names of the Mozilla Foundation nor the names of project\n contributors may be used to endorse or promote products derived from this\n software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
91
+ },
92
+ {
93
+ "name": "terser",
94
+ "version": "5.48.0",
95
+ "identifier": "BSD-2-Clause",
96
+ "text": "Copyright 2012-2018 (c) Mihai Bazon <mihai.bazon@gmail.com>\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\nOR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\nTORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE."
97
+ },
98
+ {
99
+ "name": "universalify",
100
+ "version": "2.0.1",
101
+ "identifier": "MIT",
102
+ "text": "(The MIT License)\n\nCopyright (c) 2017, Ryan Zimmerman <opensrc@ryanzim.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
103
+ },
104
+ {
105
+ "name": "use-sync-external-store",
106
+ "version": "1.6.0",
107
+ "identifier": "MIT",
108
+ "text": "MIT License\n\nCopyright (c) Meta Platforms, Inc. and affiliates.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
109
+ },
110
+ {
111
+ "name": "webextension-polyfill",
112
+ "version": "0.12.0",
113
+ "identifier": "MPL-2.0",
114
+ "text": "Mozilla Public License Version 2.0\n==================================\n\n1. Definitions\n--------------\n\n1.1. \"Contributor\"\n means each individual or legal entity that creates, contributes to\n the creation of, or owns Covered Software.\n\n1.2. \"Contributor Version\"\n means the combination of the Contributions of others (if any) used\n by a Contributor and that particular Contributor's Contribution.\n\n1.3. \"Contribution\"\n means Covered Software of a particular Contributor.\n\n1.4. \"Covered Software\"\n means Source Code Form to which the initial Contributor has attached\n the notice in Exhibit A, the Executable Form of such Source Code\n Form, and Modifications of such Source Code Form, in each case\n including portions thereof.\n\n1.5. \"Incompatible With Secondary Licenses\"\n means\n\n (a) that the initial Contributor has attached the notice described\n in Exhibit B to the Covered Software; or\n\n (b) that the Covered Software was made available under the terms of\n version 1.1 or earlier of the License, but not also under the\n terms of a Secondary License.\n\n1.6. \"Executable Form\"\n means any form of the work other than Source Code Form.\n\n1.7. \"Larger Work\"\n means a work that combines Covered Software with other material, in\n a separate file or files, that is not Covered Software.\n\n1.8. \"License\"\n means this document.\n\n1.9. \"Licensable\"\n means having the right to grant, to the maximum extent possible,\n whether at the time of the initial grant or subsequently, any and\n all of the rights conveyed by this License.\n\n1.10. \"Modifications\"\n means any of the following:\n\n (a) any file in Source Code Form that results from an addition to,\n deletion from, or modification of the contents of Covered\n Software; or\n\n (b) any new file in Source Code Form that contains any Covered\n Software.\n\n1.11. \"Patent Claims\" of a Contributor\n means any patent claim(s), including without limitation, method,\n process, and apparatus claims, in any patent Licensable by such\n Contributor that would be infringed, but for the grant of the\n License, by the making, using, selling, offering for sale, having\n made, import, or transfer of either its Contributions or its\n Contributor Version.\n\n1.12. \"Secondary License\"\n means either the GNU General Public License, Version 2.0, the GNU\n Lesser General Public License, Version 2.1, the GNU Affero General\n Public License, Version 3.0, or any later versions of those\n licenses.\n\n1.13. \"Source Code Form\"\n means the form of the work preferred for making modifications.\n\n1.14. \"You\" (or \"Your\")\n means an individual or a legal entity exercising rights under this\n License. For legal entities, \"You\" includes any entity that\n controls, is controlled by, or is under common control with You. For\n purposes of this definition, \"control\" means (a) the power, direct\n or indirect, to cause the direction or management of such entity,\n whether by contract or otherwise, or (b) ownership of more than\n fifty percent (50%) of the outstanding shares or beneficial\n ownership of such entity.\n\n2. License Grants and Conditions\n--------------------------------\n\n2.1. Grants\n\nEach Contributor hereby grants You a world-wide, royalty-free,\nnon-exclusive license:\n\n(a) under intellectual property rights (other than patent or trademark)\n Licensable by such Contributor to use, reproduce, make available,\n modify, display, perform, distribute, and otherwise exploit its\n Contributions, either on an unmodified basis, with Modifications, or\n as part of a Larger Work; and\n\n(b) under Patent Claims of such Contributor to make, use, sell, offer\n for sale, have made, import, and otherwise transfer either its\n Contributions or its Contributor Version.\n\n2.2. Effective Date\n\nThe licenses granted in Section 2.1 with respect to any Contribution\nbecome effective for each Contribution on the date the Contributor first\ndistributes such Contribution.\n\n2.3. Limitations on Grant Scope\n\nThe licenses granted in this Section 2 are the only rights granted under\nthis License. No additional rights or licenses will be implied from the\ndistribution or licensing of Covered Software under this License.\nNotwithstanding Section 2.1(b) above, no patent license is granted by a\nContributor:\n\n(a) for any code that a Contributor has removed from Covered Software;\n or\n\n(b) for infringements caused by: (i) Your and any other third party's\n modifications of Covered Software, or (ii) the combination of its\n Contributions with other software (except as part of its Contributor\n Version); or\n\n(c) under Patent Claims infringed by Covered Software in the absence of\n its Contributions.\n\nThis License does not grant any rights in the trademarks, service marks,\nor logos of any Contributor (except as may be necessary to comply with\nthe notice requirements in Section 3.4).\n\n2.4. Subsequent Licenses\n\nNo Contributor makes additional grants as a result of Your choice to\ndistribute the Covered Software under a subsequent version of this\nLicense (see Section 10.2) or under the terms of a Secondary License (if\npermitted under the terms of Section 3.3).\n\n2.5. Representation\n\nEach Contributor represents that the Contributor believes its\nContributions are its original creation(s) or it has sufficient rights\nto grant the rights to its Contributions conveyed by this License.\n\n2.6. Fair Use\n\nThis License is not intended to limit any rights You have under\napplicable copyright doctrines of fair use, fair dealing, or other\nequivalents.\n\n2.7. Conditions\n\nSections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted\nin Section 2.1.\n\n3. Responsibilities\n-------------------\n\n3.1. Distribution of Source Form\n\nAll distribution of Covered Software in Source Code Form, including any\nModifications that You create or to which You contribute, must be under\nthe terms of this License. You must inform recipients that the Source\nCode Form of the Covered Software is governed by the terms of this\nLicense, and how they can obtain a copy of this License. You may not\nattempt to alter or restrict the recipients' rights in the Source Code\nForm.\n\n3.2. Distribution of Executable Form\n\nIf You distribute Covered Software in Executable Form then:\n\n(a) such Covered Software must also be made available in Source Code\n Form, as described in Section 3.1, and You must inform recipients of\n the Executable Form how they can obtain a copy of such Source Code\n Form by reasonable means in a timely manner, at a charge no more\n than the cost of distribution to the recipient; and\n\n(b) You may distribute such Executable Form under the terms of this\n License, or sublicense it under different terms, provided that the\n license for the Executable Form does not attempt to limit or alter\n the recipients' rights in the Source Code Form under this License.\n\n3.3. Distribution of a Larger Work\n\nYou may create and distribute a Larger Work under terms of Your choice,\nprovided that You also comply with the requirements of this License for\nthe Covered Software. If the Larger Work is a combination of Covered\nSoftware with a work governed by one or more Secondary Licenses, and the\nCovered Software is not Incompatible With Secondary Licenses, this\nLicense permits You to additionally distribute such Covered Software\nunder the terms of such Secondary License(s), so that the recipient of\nthe Larger Work may, at their option, further distribute the Covered\nSoftware under the terms of either this License or such Secondary\nLicense(s).\n\n3.4. Notices\n\nYou may not remove or alter the substance of any license notices\n(including copyright notices, patent notices, disclaimers of warranty,\nor limitations of liability) contained within the Source Code Form of\nthe Covered Software, except that You may alter any license notices to\nthe extent required to remedy known factual inaccuracies.\n\n3.5. Application of Additional Terms\n\nYou may choose to offer, and to charge a fee for, warranty, support,\nindemnity or liability obligations to one or more recipients of Covered\nSoftware. However, You may do so only on Your own behalf, and not on\nbehalf of any Contributor. You must make it absolutely clear that any\nsuch warranty, support, indemnity, or liability obligation is offered by\nYou alone, and You hereby agree to indemnify every Contributor for any\nliability incurred by such Contributor as a result of warranty, support,\nindemnity or liability terms You offer. You may include additional\ndisclaimers of warranty and limitations of liability specific to any\njurisdiction.\n\n4. Inability to Comply Due to Statute or Regulation\n---------------------------------------------------\n\nIf it is impossible for You to comply with any of the terms of this\nLicense with respect to some or all of the Covered Software due to\nstatute, judicial order, or regulation then You must: (a) comply with\nthe terms of this License to the maximum extent possible; and (b)\ndescribe the limitations and the code they affect. Such description must\nbe placed in a text file included with all distributions of the Covered\nSoftware under this License. Except to the extent prohibited by statute\nor regulation, such description must be sufficiently detailed for a\nrecipient of ordinary skill to be able to understand it.\n\n5. Termination\n--------------\n\n5.1. The rights granted under this License will terminate automatically\nif You fail to comply with any of its terms. However, if You become\ncompliant, then the rights granted under this License from a particular\nContributor are reinstated (a) provisionally, unless and until such\nContributor explicitly and finally terminates Your grants, and (b) on an\nongoing basis, if such Contributor fails to notify You of the\nnon-compliance by some reasonable means prior to 60 days after You have\ncome back into compliance. Moreover, Your grants from a particular\nContributor are reinstated on an ongoing basis if such Contributor\nnotifies You of the non-compliance by some reasonable means, this is the\nfirst time You have received notice of non-compliance with this License\nfrom such Contributor, and You become compliant prior to 30 days after\nYour receipt of the notice.\n\n5.2. If You initiate litigation against any entity by asserting a patent\ninfringement claim (excluding declaratory judgment actions,\ncounter-claims, and cross-claims) alleging that a Contributor Version\ndirectly or indirectly infringes any patent, then the rights granted to\nYou by any and all Contributors for the Covered Software under Section\n2.1 of this License shall terminate.\n\n5.3. In the event of termination under Sections 5.1 or 5.2 above, all\nend user license agreements (excluding distributors and resellers) which\nhave been validly granted by You or Your distributors under this License\nprior to termination shall survive termination.\n\n************************************************************************\n* *\n* 6. Disclaimer of Warranty *\n* ------------------------- *\n* *\n* Covered Software is provided under this License on an \"as is\" *\n* basis, without warranty of any kind, either expressed, implied, or *\n* statutory, including, without limitation, warranties that the *\n* Covered Software is free of defects, merchantable, fit for a *\n* particular purpose or non-infringing. The entire risk as to the *\n* quality and performance of the Covered Software is with You. *\n* Should any Covered Software prove defective in any respect, You *\n* (not any Contributor) assume the cost of any necessary servicing, *\n* repair, or correction. This disclaimer of warranty constitutes an *\n* essential part of this License. No use of any Covered Software is *\n* authorized under this License except under this disclaimer. *\n* *\n************************************************************************\n\n************************************************************************\n* *\n* 7. Limitation of Liability *\n* -------------------------- *\n* *\n* Under no circumstances and under no legal theory, whether tort *\n* (including negligence), contract, or otherwise, shall any *\n* Contributor, or anyone who distributes Covered Software as *\n* permitted above, be liable to You for any direct, indirect, *\n* special, incidental, or consequential damages of any character *\n* including, without limitation, damages for lost profits, loss of *\n* goodwill, work stoppage, computer failure or malfunction, or any *\n* and all other commercial damages or losses, even if such party *\n* shall have been informed of the possibility of such damages. This *\n* limitation of liability shall not apply to liability for death or *\n* personal injury resulting from such party's negligence to the *\n* extent applicable law prohibits such limitation. Some *\n* jurisdictions do not allow the exclusion or limitation of *\n* incidental or consequential damages, so this exclusion and *\n* limitation may not apply to You. *\n* *\n************************************************************************\n\n8. Litigation\n-------------\n\nAny litigation relating to this License may be brought only in the\ncourts of a jurisdiction where the defendant maintains its principal\nplace of business and such litigation shall be governed by laws of that\njurisdiction, without reference to its conflict-of-law provisions.\nNothing in this Section shall prevent a party's ability to bring\ncross-claims or counter-claims.\n\n9. Miscellaneous\n----------------\n\nThis License represents the complete agreement concerning the subject\nmatter hereof. If any provision of this License is held to be\nunenforceable, such provision shall be reformed only to the extent\nnecessary to make it enforceable. Any law or regulation which provides\nthat the language of a contract shall be construed against the drafter\nshall not be used to construe this License against a Contributor.\n\n10. Versions of the License\n---------------------------\n\n10.1. New Versions\n\nMozilla Foundation is the license steward. Except as provided in Section\n10.3, no one other than the license steward has the right to modify or\npublish new versions of this License. Each version will be given a\ndistinguishing version number.\n\n10.2. Effect of New Versions\n\nYou may distribute the Covered Software under the terms of the version\nof the License under which You originally received the Covered Software,\nor under the terms of any subsequent version published by the license\nsteward.\n\n10.3. Modified Versions\n\nIf you create software not governed by this License, and you want to\ncreate a new license for such software, you may create and use a\nmodified version of this License if you rename the license and remove\nany references to the name of the license steward (except to note that\nsuch modified license differs from this License).\n\n10.4. Distributing Source Code Form that is Incompatible With Secondary\nLicenses\n\nIf You choose to distribute Source Code Form that is Incompatible With\nSecondary Licenses under the terms of this version of the License, the\nnotice described in Exhibit B of this License must be attached.\n\nExhibit A - Source Code Form License Notice\n-------------------------------------------\n\n This Source Code Form is subject to the terms of the Mozilla Public\n License, v. 2.0. If a copy of the MPL was not distributed with this\n file, You can obtain one at http://mozilla.org/MPL/2.0/.\n\nIf it is not possible or desirable to put the notice in a particular\nfile, then You may include the notice in a location (such as a LICENSE\nfile in a relevant directory) where a recipient would be likely to look\nfor such a notice.\n\nYou may add additional accurate notices of copyright ownership.\n\nExhibit B - \"Incompatible With Secondary Licenses\" Notice\n---------------------------------------------------------\n\n This Source Code Form is \"Incompatible With Secondary Licenses\", as\n defined by the Mozilla Public License, v. 2.0."
115
+ }
116
+ ]
@@ -0,0 +1 @@
1
+ import{n as e}from"./chunks/chunk.mjs";import{d as t}from"./chunks/internal.mjs";import{I as r,L as i,R as a,j as o,k as s}from"./chunks/internal2.mjs";import{useEffect as c}from"react";var l=o(),u=s(()=>(c(()=>{f.generate_dependencies_text_from_depengencies_json()},[]),(0,l.jsxs)(`div`,{className:`main`,children:[(0,l.jsx)(`h1`,{className:`header`,children:t.get()}),(0,l.jsx)(`div`,{className:`dependencies`,dangerouslySetInnerHTML:{__html:f.dependencies_text}})]}))),d=e({Body:()=>u}),f=class{static instance;static get_instance(){return this.instance||=new this}constructor(){r(this,{dependencies_text:i})}dependencies_text=``;generate_dependencies_text_from_depengencies_json=()=>err_async(async()=>{let e=(await(await fetch(`dependencies.json`)).json()).reduce((e,t)=>err(()=>`${e}<br><hr><br><div>${Object.entries(t).reduce((e,[t,r])=>err(()=>`${e}<div>${n(t)&&n(r)?`${t}: ${x.wrap_link_in_a(r)}`:``}</div>`,`shr_1293`),``)}</div>`,`shr_1292`),``);a(()=>err(()=>{this.dependencies_text=e.replace(/\n/gm,`<br>`)},`shr_1291`))},`shr_1290`)}.get_instance();export{d as c_dependencies};
package/ext.mjs ADDED
@@ -0,0 +1 @@
1
+ import{r as e,t}from"./chunks/chunk.mjs";import{a as r,o as i,s as a}from"./chunks/_defineProperty.mjs";import{t as o}from"./chunks/last.mjs";import{G as s,r as c}from"./chunks/internal.mjs";import{t as l}from"./chunks/merge.mjs";var u=t(((e,t)=>{(function(r,i){if(typeof define==`function`&&define.amd)define(`webextension-polyfill`,[`module`],i);else if(e!==void 0)i(t);else{var a={exports:{}};i(a),r.browser=a.exports}})(typeof globalThis<`u`?globalThis:typeof self<`u`?self:e,function(e){if(!(globalThis.chrome&&globalThis.chrome.runtime&&globalThis.chrome.runtime.id))throw Error(`This script should only be loaded in a browser extension.`);globalThis.browser&&globalThis.browser.runtime&&globalThis.browser.runtime.id?e.exports=globalThis.browser:e.exports=(e=>{let t={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0},elements:{createSidebarPane:{minArgs:1,maxArgs:1}}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},goBack:{minArgs:0,maxArgs:1},goForward:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(Object.keys(t).length===0)throw Error(`api-metadata.json has not been included in browser-polyfill`);class r extends WeakMap{constructor(e,t=void 0){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}let i=e=>e&&typeof e==`object`&&typeof e.then==`function`,a=(t,r)=>(...i)=>{e.runtime.lastError?t.reject(Error(e.runtime.lastError.message)):r.singleCallbackArg||i.length<=1&&r.singleCallbackArg!==!1?t.resolve(i[0]):t.resolve(i)},o=e=>e==1?`argument`:`arguments`,s=(e,t)=>function(r,...i){if(i.length<t.minArgs)throw Error(`Expected at least ${t.minArgs} ${o(t.minArgs)} for ${e}(), got ${i.length}`);if(i.length>t.maxArgs)throw Error(`Expected at most ${t.maxArgs} ${o(t.maxArgs)} for ${e}(), got ${i.length}`);return new Promise((o,s)=>{if(t.fallbackToNoCallback)try{r[e](...i,a({resolve:o,reject:s},t))}catch(a){console.warn(`${e} API method doesn't seem to support the callback parameter, falling back to call it without a callback: `,a),r[e](...i),t.fallbackToNoCallback=!1,t.noCallback=!0,o()}else t.noCallback?(r[e](...i),o()):r[e](...i,a({resolve:o,reject:s},t))})},c=(e,t,r)=>new Proxy(t,{apply(t,i,a){return r.call(i,e,...a)}}),l=Function.call.bind(Object.prototype.hasOwnProperty),u=(e,t={},r={})=>{let i=Object.create(null);return new Proxy(Object.create(e),{has(t,r){return r in e||r in i},get(a,o,d){if(o in i)return i[o];if(!(o in e))return;let f=e[o];if(typeof f==`function`)if(typeof t[o]==`function`)f=c(e,e[o],t[o]);else if(l(r,o)){let t=s(o,r[o]);f=c(e,e[o],t)}else f=f.bind(e);else if(typeof f==`object`&&f&&(l(t,o)||l(r,o)))f=u(f,t[o],r[o]);else if(l(r,`*`))f=u(f,t[o],r[`*`]);else return Object.defineProperty(i,o,{configurable:!0,enumerable:!0,get(){return e[o]},set(t){e[o]=t}}),f;return i[o]=f,f},set(t,r,a,o){return r in i?i[r]=a:e[r]=a,!0},defineProperty(e,t,r){return Reflect.defineProperty(i,t,r)},deleteProperty(e,t){return Reflect.deleteProperty(i,t)}})},d=e=>({addListener(t,r,...i){t.addListener(e.get(r),...i)},hasListener(t,r){return t.hasListener(e.get(r))},removeListener(t,r){t.removeListener(e.get(r))}}),f=new r(e=>typeof e==`function`?function(t){e(u(t,{},{getContent:{minArgs:0,maxArgs:0}}))}:e),p=new r(e=>typeof e==`function`?function(t,r,a){let o=!1,s,c=new Promise(e=>{s=function(t){o=!0,e(t)}}),l;try{l=e(t,r,s)}catch(e){l=Promise.reject(e)}let u=l!==!0&&i(l);return l!==!0&&!u&&!o?!1:((e=>{e.then(e=>{a(e)},e=>{let t;t=e&&(e instanceof Error||typeof e.message==`string`)?e.message:`An unexpected error occurred`,a({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error(`Failed to send onMessage rejected reply`,e)})})(u?l:c),!0)}:e),m=({reject:t,resolve:r},i)=>{e.runtime.lastError?e.runtime.lastError.message===`The message port closed before a response was received.`?r():t(Error(e.runtime.lastError.message)):i&&i.__mozWebExtensionPolyfillReject__?t(Error(i.message)):r(i)},h=(e,t,r,...i)=>{if(i.length<t.minArgs)throw Error(`Expected at least ${t.minArgs} ${o(t.minArgs)} for ${e}(), got ${i.length}`);if(i.length>t.maxArgs)throw Error(`Expected at most ${t.maxArgs} ${o(t.maxArgs)} for ${e}(), got ${i.length}`);return new Promise((e,t)=>{let a=m.bind(null,{resolve:e,reject:t});i.push(a),r.sendMessage(...i)})},g={devtools:{network:{onRequestFinished:d(f)}},runtime:{onMessage:d(p),onMessageExternal:d(p),sendMessage:h.bind(null,`sendMessage`,{minArgs:1,maxArgs:3})},tabs:{sendMessage:h.bind(null,`sendMessage`,{minArgs:2,maxArgs:3})}},_={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return t.privacy={network:{"*":_},services:{"*":_},websites:{"*":_}},u(e,g,t)})(chrome)})})),d=t(((e,t)=>{function r(e,t,r){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(a);++i<a;)o[i]=e[i+t];return o}t.exports=r})),f=t(((e,t)=>{var i=r(),a=d();function o(e,t){return t.length<2?e:i(e,a(t,0,-1))}t.exports=o})),p=t(((e,t)=>{var r=a(),s=o(),c=f(),l=i(),u=Object.prototype.hasOwnProperty;function d(e,t){t=r(t,e);var i=-1,a=t.length;if(!a)return!0;for(;++i<a;){var o=l(t[i]);if(o===`__proto__`&&!u.call(e,`__proto__`)||(o===`constructor`||o===`prototype`)&&i<a-1)return!1}var d=c(e,t);return d==null||delete d[l(s(t))]}t.exports=d})),m=t(((e,t)=>{var r=p();function i(e,t){return e==null?!0:r(e,t)}t.exports=i}));u();var h=e(s(),1),g=e(l(),1),_=e(m(),1);globalThis.we=globalThis.browser;var v=()=>err(()=>{let e=globalThis.document?document.querySelector(`title`):void 0;[`https:`,`http:`].includes(globalThis.location.protocol)?globalThis.page=`content_script`:globalThis.page=n(e)&&n(e.dataset.page)?e.dataset.page:`background`},`shr_1093`);globalThis.misplaced_dependency=e=>err(()=>{if(page!==e){let t=we.i18n.getMessage(`dependencicies_from_other_page_loaded_into_this_page_alert`)+e.toUpperCase();page===`background`?console.log(t):alert(t)}},`shr_1094`);var y=class{static instance;static get_instance(){return this.instance||=new this}constructor(){}force_local_storage=!1;updating_storage=!1;only_cache=[];remove_only_cache=e=>{this.only_cache.forEach(t=>{(0,_.default)(e,t)})};ext_context_invalidated=()=>!we.runtime?.id;log_error=(e,t)=>{c.output(e,t)};get_app_version=()=>{try{if(!this.ext_context_invalidated())return we.runtime.getManifest().version}catch(e){this.log_error(e,`shr_1095`)}return``};get_app_name=()=>{try{if(!this.ext_context_invalidated())return we.runtime.getManifest().name}catch(e){this.log_error(e,`shr_1277`)}return``};iterate_all_tabs=async e=>{try{this.ext_context_invalidated()||(await we.windows.getAll({populate:!0,windowTypes:[`normal`]})).forEach(t=>{n(t.tabs)&&t.tabs.forEach(t=>{n(t.id)&&e(t)})})}catch(e){this.log_error(e,`shr_1096`)}};msg=e=>{try{if(!this.ext_context_invalidated()){let t=n(we.i18n)&&n(we.i18n.getMessage.bind(we.i18n))?we.i18n.getMessage(e):``;return n(t)?t:``}}catch(e){this.log_error(e,`shr_1097`)}return``};get_active_tab=async()=>{try{if(!this.ext_context_invalidated())return(await we.tabs.query({active:!0,currentWindow:!0}))[0]}catch(e){this.log_error(e,`shr_1098`)}};send_msg=async e=>{try{this.ext_context_invalidated()||await we.runtime.sendMessage(e)}catch(e){this.log_error(e,`shr_1099`)}};send_msg_resp=async e=>{try{if(!this.ext_context_invalidated())return await we.runtime.sendMessage(e)}catch(e){this.log_error(e,`shr_1100`)}};send_msg_to_tab=async(e,t)=>{try{this.ext_context_invalidated()||await we.tabs.sendMessage(e,t)}catch(e){this.log_error(e,`shr_1101`)}};send_msg_to_tab_resp=async(e,t)=>{try{if(!this.ext_context_invalidated())return await we.tabs.sendMessage(e,t)}catch(e){this.log_error(e,`shr_1102`)}};send_msg_to_active_tab=async e=>{try{if(!this.ext_context_invalidated()){let t=await this.get_active_tab();n(t)&&n(t.id)&&await this.send_msg_to_tab(t.id,e)}}catch(e){this.log_error(e,`shr_1103`)}};send_msg_to_active_tab_resp=async e=>{try{if(!this.ext_context_invalidated()){let t=await this.get_active_tab();if(n(t)&&n(t.id))return this.send_msg_to_tab(t.id,e)}}catch(e){this.log_error(e,`shr_1104`)}};send_msg_to_all_tabs=async e=>{try{this.ext_context_invalidated()||await this.iterate_all_tabs(async t=>{try{n(t.id)&&await this.send_msg_to_tab(t.id,e)}catch(e){this.log_error(e,`shr_1105`)}})}catch(e){this.log_error(e,`shr_1106`)}};force_local_storage_f=()=>{try{this.force_local_storage=!0}catch(e){this.log_error(e,`shr_1283`)}};storage_get=async(e,t=!1)=>{try{if(!this.ext_context_invalidated()){this.updating_storage=!0;let r=await we.storage.sync.get(e),i=await we.storage.local.get(e);return this.remove_only_cache(r),this.remove_only_cache(i),t&&await err_async(async()=>{try{(0,h.default)(i)&&this.force_local_storage?(await we.storage.local.set(r),await we.storage.sync.clear()):(0,h.default)(r)&&!this.force_local_storage&&(await we.storage.sync.set(i),await we.storage.local.clear())}catch(e){this.log_error(e,`shr_1259`)}},`shr_1295`),(0,h.default)(r)?i:r}}catch(e){this.log_error(e,`shr_1107`)}};storage_set=async(e,t)=>{if(!this.ext_context_invalidated()){this.updating_storage=!0;let r=async r=>{let i=await we.storage[r?`sync`:`local`].get();if(this.remove_only_cache(i),t&&await we.storage[r?`local`:`sync`].clear(),(0,h.default)(i))await we.storage[r?`local`:`sync`].set(e);else{let a=n(t)?e:(0,g.default)(i,e);await we.storage[r?`local`:`sync`].set(a)}await we.storage[r?`sync`:`local`].clear()};if(this.force_local_storage)await r(!0);else try{await r(!1)}catch(e){this.log_error(e,`shr_1268`),await r(!0)}}};storage_remove=async e=>{if(!this.ext_context_invalidated()){this.updating_storage=!0;try{await we.storage.local.remove(e),await we.storage.sync.remove(e)}catch{await we.storage.local.remove(e)}}};inject_js_and_css_in_content_script=async(e,t)=>{await this.iterate_all_tabs(async r=>{try{let i=n(r.url);!this.ext_context_invalidated()&&i&&n(r.id)&&((await we.scripting.executeScript({func:()=>document.title.includes(`​​​​​​​​​​`),target:{tabId:r.id}}))[0].result||(e.forEach(e=>{try{n(r.id)&&we.scripting.executeScript({target:{tabId:r.id},files:[e]})}catch(e){this.log_error(e,`shr_1108`)}}),t.forEach(e=>{try{n(r.id)&&we.scripting.insertCSS({target:{tabId:r.id},files:[e]})}catch(e){this.log_error(e,`shr_1109`)}})))}catch(e){this.log_error(e,`shr_1110`)}})}}.get_instance();globalThis.ext=y,v();export{y as Ext};
@@ -1,15 +1 @@
1
- <!DOCTYPE html>
2
- <html>
3
-
4
- <head>
5
- <meta charset="UTF-8" />
6
- <title data-page="announcement">&nbsp;</title>
7
- <link rel="icon" type="image/png" href="icon16.png" />
8
- </head>
9
-
10
- <body class="mouse">
11
- <script src="env.js"></script>
12
- <script type="module" src="announcement.js"></script>
13
- </body>
14
-
15
- </html>
1
+ <!doctype html><html><head><meta charset="UTF-8"><title data-page="announcement">&nbsp;</title><link rel="icon" type="image/png" href="icon16.png"></head><body class="mouse"><script type="module" src="announcement.mjs"></script></body></html>
@@ -1,13 +1 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8" />
5
- <title data-page="dependencies">&nbsp;</title>
6
- <link rel="icon" type="image/png" href="icon16.png" />
7
- </head>
8
-
9
- <body class="mouse">
10
- <script src="env.js"></script>
11
- <script type="module" src="dependencies.js"></script>
12
- </body>
13
- </html>
1
+ <!doctype html><html><head><meta charset="UTF-8"><title data-page="dependencies">&nbsp;</title><link rel="icon" type="image/png" href="icon16.png"></head><body class="mouse"><script type="module" src="dependencies.mjs"></script></body></html>
package/inputs.mjs ADDED
@@ -0,0 +1 @@
1
+ import{C as e,D as t,E as n,O as r,S as i,T as a,w as o,x as s}from"./chunks/internal2.mjs";export{r as c_inputs,o as d_color,a as d_inputs,s as i_color,i as i_inputs,n as o_color,t as o_inputs,e as s_color};
package/package.json CHANGED
@@ -1,13 +1,55 @@
1
1
  {
2
2
  "name": "@loftyshaky/shared",
3
+ "version": "2.7.0",
3
4
  "description": "-",
4
- "version": "2.6.0",
5
- "author": "loftyshaky",
6
5
  "license": "MIT",
6
+ "author": "loftyshaky",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/loftyshaky/shared.git"
10
10
  },
11
+ "exports": {
12
+ "./build/*": {
13
+ "import": "./build/*.mjs",
14
+ "require": "./build/*.mjs",
15
+ "types": "./build/*.d.ts"
16
+ },
17
+ "./shared": {
18
+ "import": "./shared.mjs",
19
+ "require": "./shared.mjs",
20
+ "types": "./src/ts/shared.d.ts"
21
+ },
22
+ "./shared_clean": {
23
+ "import": "./shared_clean.mjs",
24
+ "require": "./shared_clean.mjs",
25
+ "types": "./src/ts/shared_clean.d.ts"
26
+ },
27
+ "./inputs": {
28
+ "import": "./inputs.mjs",
29
+ "require": "./inputs.mjs",
30
+ "types": "./src/ts/inputs.d.ts"
31
+ },
32
+ "./settings": {
33
+ "import": "./settings.mjs",
34
+ "require": "./settings.mjs",
35
+ "types": "./src/ts/settings.d.ts"
36
+ },
37
+ "./announcement": {
38
+ "import": "./announcement.mjs",
39
+ "require": "./announcement.mjs",
40
+ "types": "./src/ts/announcement.d.ts"
41
+ },
42
+ "./dependencies": {
43
+ "import": "./dependencies.mjs",
44
+ "require": "./dependencies.mjs",
45
+ "types": "./src/ts/dependencies.d.ts"
46
+ },
47
+ "./ext": {
48
+ "import": "./ext.mjs",
49
+ "require": "./ext.mjs",
50
+ "types": "./src/ts/ext.d.ts"
51
+ }
52
+ },
11
53
  "scripts": {
12
54
  "pub": "npm publish --access public"
13
55
  }
@@ -1,10 +1,12 @@
1
+ @use '../shared/vars';
2
+
1
3
  .header {
2
4
  margin-top: 0;
3
- margin-bottom: $gap;
4
- font-size: $font_big;
5
+ margin-bottom: vars.$gap;
6
+ font-size: vars.$font_big;
5
7
  }
6
8
 
7
9
  .msg_to_user div * {
8
10
  display: inline;
9
- font-size: $font_main;
11
+ font-size: vars.$font_main;
10
12
  }
@@ -1,3 +1,3 @@
1
- @import '../shared/index';
2
- @import 'body';
3
- @import 'main';
1
+ @use '../shared/index';
2
+ @use 'body';
3
+ @use 'main';
@@ -1,8 +1,10 @@
1
+ @use '../shared/vars';
2
+
1
3
  .main {
2
- padding: $main_margin_2;
4
+ padding: vars.$main_margin_2;
3
5
  display: block;
4
6
  }
5
7
 
6
8
  iframe {
7
- margin-top: $gap;
9
+ margin-top: vars.$gap;
8
10
  }
@@ -1,3 +1,3 @@
1
- .header {
2
- margin-bottom: 0;
3
- }
1
+ .header {
2
+ margin-bottom: 0;
3
+ }
@@ -1,3 +1,3 @@
1
- hr {
2
- margin-top: 0;
3
- }
1
+ hr {
2
+ margin-top: 0;
3
+ }
@@ -1,5 +1,5 @@
1
- @import '../announcement/index';
2
- @import 'body';
3
- @import 'hr';
4
- @import 'links';
5
- @import 'main';
1
+ @use '../announcement/index';
2
+ @use 'body';
3
+ @use 'hr';
4
+ @use 'links';
5
+ @use 'main';
@@ -1,3 +1,3 @@
1
- .link {
2
- display: unset;
3
- }
1
+ .link {
2
+ display: unset;
3
+ }
@@ -1,3 +1,3 @@
1
- .main {
2
- max-width: 600px;
3
- }
1
+ .main {
2
+ max-width: 600px;
3
+ }
@@ -1,7 +1,7 @@
1
- .ext_version {
2
- position: relative;
3
- bottom: -10px;
4
- right: -26px;
5
- float: right;
6
- font-size: 14px;
7
- }
1
+ .ext_version {
2
+ position: relative;
3
+ bottom: -10px;
4
+ right: -26px;
5
+ float: right;
6
+ font-size: 14px;
7
+ }
@@ -1,6 +1,6 @@
1
- @import '../shared/index';
2
- @import 'ext_version';
3
- @import 'main';
4
- @import 'section_btns';
5
- @import 'sections';
6
- @import 'transitions';
1
+ @use '../shared/index';
2
+ @use 'ext_version';
3
+ @use 'main';
4
+ @use 'section_btns';
5
+ @use 'sections';
6
+ @use 'transitions';
@@ -1,18 +1,19 @@
1
+ @use '../shared/vars';
2
+
1
3
  html,
2
4
  .body {
3
5
  height: 100%;
4
6
  }
5
7
 
6
8
  .main {
7
- padding: $main_margin_2;
8
- padding-left: $main_margin_2;
9
+ padding: vars.$main_margin_2;
9
10
  display: block;
10
- height: calc(100vh - #{$main_margin_4});
11
+ height: calc(100vh - #{vars.$main_margin_4});
11
12
  }
12
13
 
13
14
  .main_2 {
14
15
  display: flex;
15
- height: calc(100vh - $main_margin_4);
16
- max-width: 1366px - $main_margin_2 + 2px;
16
+ height: calc(100vh - vars.$main_margin_4);
17
+ max-width: 1366px - vars.$main_margin_2 + 2px;
17
18
  margin: auto;
18
19
  }
@@ -1,8 +1,11 @@
1
+ @use '../shared/mixins';
2
+
1
3
  .section_btns {
2
4
  flex-shrink: 0;
3
5
  display: flex;
4
6
  flex-flow: column;
5
7
  overflow: auto;
8
+ reading-flow: flex-visual;
6
9
 
7
10
  .filler {
8
11
  position: relative;
@@ -10,7 +13,7 @@
10
13
  }
11
14
 
12
15
  .section_btn {
13
- @include input_basic;
16
+ @include mixins.input_basic;
14
17
 
15
18
  position: relative;
16
19
  text-align: left;
@@ -1,3 +1,6 @@
1
+ @use '../shared/vars';
2
+ @use '../shared/mixins';
3
+
1
4
  .sections_and_offers {
2
5
  width: 100%;
3
6
  display: flex;
@@ -13,21 +16,21 @@
13
16
  }
14
17
 
15
18
  .section {
16
- margin: $main_margin;
19
+ margin: vars.$main_margin;
17
20
  }
18
21
 
19
22
  .offers {
20
- @include border_top;
23
+ @include mixins.border_top;
21
24
 
22
25
  order: 1;
23
26
 
24
27
  .offers_inner {
25
- margin: $main_margin;
26
- margin-top: $gap;
28
+ margin: vars.$main_margin;
29
+ margin-top: vars.$gap;
27
30
  }
28
31
 
29
32
  + .sections .section {
30
- margin-bottom: $gap;
33
+ margin-bottom: vars.$gap;
31
34
  }
32
35
  }
33
36
 
@@ -39,7 +42,7 @@
39
42
  text-decoration: underline;
40
43
 
41
44
  &:not(:first-child) {
42
- margin-top: $main_margin;
45
+ margin-top: vars.$main_margin;
43
46
  }
44
47
  }
45
48
  }
@@ -1,11 +1,11 @@
1
- .section,
2
- .section_inner,
3
- .help {
4
- transition: var(--transition);
5
- transition-property: opacity;
6
- }
7
-
8
- .section_btns .section_btn::before {
9
- transition: var(--transition);
10
- transition-property: background-color;
11
- }
1
+ .section,
2
+ .section_inner,
3
+ .help {
4
+ transition: var(--transition);
5
+ transition-property: opacity;
6
+ }
7
+
8
+ .section_btns .section_btn::before {
9
+ transition: var(--transition);
10
+ transition-property: background-color;
11
+ }