@creaditor/web-starterkit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (393) hide show
  1. package/README.md +92 -0
  2. package/dist/.gitkeep +0 -0
  3. package/dist/112.creaditor.bundle.js +94 -0
  4. package/dist/112.creaditor.bundle.js.gz +0 -0
  5. package/dist/1142.creaditor.bundle.js +1 -0
  6. package/dist/1142.creaditor.bundle.js.gz +0 -0
  7. package/dist/1260.creaditor.bundle.js +234 -0
  8. package/dist/1260.creaditor.bundle.js.gz +0 -0
  9. package/dist/1271.creaditor.bundle.js +439 -0
  10. package/dist/1271.creaditor.bundle.js.gz +0 -0
  11. package/dist/1317.creaditor.bundle.js +142 -0
  12. package/dist/1317.creaditor.bundle.js.LICENSE.txt +20 -0
  13. package/dist/1317.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  14. package/dist/1317.creaditor.bundle.js.gz +0 -0
  15. package/dist/1334.creaditor.bundle.js +51 -0
  16. package/dist/1334.creaditor.bundle.js.gz +0 -0
  17. package/dist/1396.creaditor.bundle.js +1 -0
  18. package/dist/1396.creaditor.bundle.js.gz +0 -0
  19. package/dist/1452.creaditor.bundle.js +23 -0
  20. package/dist/1452.creaditor.bundle.js.gz +0 -0
  21. package/dist/1456.creaditor.bundle.js +73 -0
  22. package/dist/1456.creaditor.bundle.js.gz +0 -0
  23. package/dist/1529.creaditor.bundle.js +16 -0
  24. package/dist/1529.creaditor.bundle.js.gz +0 -0
  25. package/dist/1565.creaditor.bundle.js +1016 -0
  26. package/dist/1565.creaditor.bundle.js.gz +0 -0
  27. package/dist/168.creaditor.bundle.js +540 -0
  28. package/dist/168.creaditor.bundle.js.LICENSE.txt +10 -0
  29. package/dist/168.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  30. package/dist/168.creaditor.bundle.js.gz +0 -0
  31. package/dist/170.creaditor.bundle.js +51 -0
  32. package/dist/170.creaditor.bundle.js.gz +0 -0
  33. package/dist/175.creaditor.bundle.js +75 -0
  34. package/dist/175.creaditor.bundle.js.gz +0 -0
  35. package/dist/1756.creaditor.bundle.js +1 -0
  36. package/dist/1756.creaditor.bundle.js.gz +0 -0
  37. package/dist/1936.creaditor.bundle.js +177 -0
  38. package/dist/1936.creaditor.bundle.js.LICENSE.txt +29 -0
  39. package/dist/1936.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  40. package/dist/1936.creaditor.bundle.js.gz +0 -0
  41. package/dist/1972.creaditor.bundle.js +12 -0
  42. package/dist/1972.creaditor.bundle.js.gz +0 -0
  43. package/dist/2001.creaditor.bundle.js +318 -0
  44. package/dist/2001.creaditor.bundle.js.LICENSE.txt +11 -0
  45. package/dist/2001.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  46. package/dist/2001.creaditor.bundle.js.gz +0 -0
  47. package/dist/211.creaditor.bundle.js +1 -0
  48. package/dist/211.creaditor.bundle.js.gz +0 -0
  49. package/dist/2112.creaditor.bundle.js +24 -0
  50. package/dist/2112.creaditor.bundle.js.gz +0 -0
  51. package/dist/2234.creaditor.bundle.js +1 -0
  52. package/dist/2234.creaditor.bundle.js.gz +0 -0
  53. package/dist/2298.creaditor.bundle.js +1 -0
  54. package/dist/2298.creaditor.bundle.js.gz +0 -0
  55. package/dist/235.creaditor.bundle.js +11 -0
  56. package/dist/235.creaditor.bundle.js.LICENSE.txt +17 -0
  57. package/dist/235.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  58. package/dist/235.creaditor.bundle.js.gz +0 -0
  59. package/dist/2350.creaditor.bundle.js +23 -0
  60. package/dist/2350.creaditor.bundle.js.gz +0 -0
  61. package/dist/2377.creaditor.bundle.js +64 -0
  62. package/dist/2377.creaditor.bundle.js.gz +0 -0
  63. package/dist/2384.creaditor.bundle.js +46 -0
  64. package/dist/2384.creaditor.bundle.js.gz +0 -0
  65. package/dist/2397.creaditor.bundle.js +38 -0
  66. package/dist/2397.creaditor.bundle.js.gz +0 -0
  67. package/dist/2409.creaditor.bundle.js +36 -0
  68. package/dist/2409.creaditor.bundle.js.gz +0 -0
  69. package/dist/2438.creaditor.bundle.js +67 -0
  70. package/dist/2438.creaditor.bundle.js.gz +0 -0
  71. package/dist/2547.creaditor.bundle.js +6 -0
  72. package/dist/2547.creaditor.bundle.js.gz +0 -0
  73. package/dist/2550.creaditor.bundle.js +75 -0
  74. package/dist/2550.creaditor.bundle.js.LICENSE.txt +1 -0
  75. package/dist/2550.creaditor.bundle.js.gz +0 -0
  76. package/dist/2590.creaditor.bundle.js +7 -0
  77. package/dist/2590.creaditor.bundle.js.gz +0 -0
  78. package/dist/2706.creaditor.bundle.js +130 -0
  79. package/dist/2706.creaditor.bundle.js.LICENSE.txt +20 -0
  80. package/dist/2706.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  81. package/dist/2706.creaditor.bundle.js.gz +0 -0
  82. package/dist/271.creaditor.bundle.js +99 -0
  83. package/dist/271.creaditor.bundle.js.gz +0 -0
  84. package/dist/2717.creaditor.bundle.js +407 -0
  85. package/dist/2717.creaditor.bundle.js.LICENSE.txt +23 -0
  86. package/dist/2717.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  87. package/dist/2717.creaditor.bundle.js.gz +0 -0
  88. package/dist/2765.creaditor.bundle.js +1 -0
  89. package/dist/2765.creaditor.bundle.js.gz +0 -0
  90. package/dist/2773.creaditor.bundle.js +25 -0
  91. package/dist/2773.creaditor.bundle.js.gz +0 -0
  92. package/dist/2833.creaditor.bundle.js +23 -0
  93. package/dist/2833.creaditor.bundle.js.gz +0 -0
  94. package/dist/2834.creaditor.bundle.js +14 -0
  95. package/dist/2834.creaditor.bundle.js.LICENSE.txt +5 -0
  96. package/dist/2834.creaditor.bundle.js.gz +0 -0
  97. package/dist/2956.creaditor.bundle.js +40 -0
  98. package/dist/2956.creaditor.bundle.js.gz +0 -0
  99. package/dist/2963.creaditor.bundle.js +25 -0
  100. package/dist/2963.creaditor.bundle.js.gz +0 -0
  101. package/dist/307.creaditor.bundle.js +23 -0
  102. package/dist/307.creaditor.bundle.js.gz +0 -0
  103. package/dist/3095.creaditor.bundle.js +161 -0
  104. package/dist/3095.creaditor.bundle.js.gz +0 -0
  105. package/dist/3105.creaditor.bundle.js +1 -0
  106. package/dist/3105.creaditor.bundle.js.gz +0 -0
  107. package/dist/3233.creaditor.bundle.js +12 -0
  108. package/dist/3233.creaditor.bundle.js.gz +0 -0
  109. package/dist/3521.creaditor.bundle.js +12 -0
  110. package/dist/3521.creaditor.bundle.js.gz +0 -0
  111. package/dist/353.creaditor.bundle.js +9 -0
  112. package/dist/353.creaditor.bundle.js.gz +0 -0
  113. package/dist/3545.creaditor.bundle.js +1 -0
  114. package/dist/3545.creaditor.bundle.js.gz +0 -0
  115. package/dist/3553.creaditor.bundle.js +60 -0
  116. package/dist/3553.creaditor.bundle.js.gz +0 -0
  117. package/dist/3606.creaditor.bundle.js +113 -0
  118. package/dist/3606.creaditor.bundle.js.gz +0 -0
  119. package/dist/365.creaditor.bundle.js +26 -0
  120. package/dist/365.creaditor.bundle.js.gz +0 -0
  121. package/dist/380.creaditor.bundle.js +186 -0
  122. package/dist/380.creaditor.bundle.js.gz +0 -0
  123. package/dist/3827.creaditor.bundle.js +13 -0
  124. package/dist/3827.creaditor.bundle.js.gz +0 -0
  125. package/dist/3875.creaditor.bundle.js +8 -0
  126. package/dist/3875.creaditor.bundle.js.gz +0 -0
  127. package/dist/3932.creaditor.bundle.js +30 -0
  128. package/dist/3932.creaditor.bundle.js.gz +0 -0
  129. package/dist/3971.creaditor.bundle.js +51 -0
  130. package/dist/3971.creaditor.bundle.js.gz +0 -0
  131. package/dist/4061.creaditor.bundle.js +1 -0
  132. package/dist/4061.creaditor.bundle.js.gz +0 -0
  133. package/dist/407.creaditor.bundle.js +21 -0
  134. package/dist/407.creaditor.bundle.js.gz +0 -0
  135. package/dist/4074.creaditor.bundle.js +33 -0
  136. package/dist/4074.creaditor.bundle.js.gz +0 -0
  137. package/dist/4100.creaditor.bundle.js +13 -0
  138. package/dist/4100.creaditor.bundle.js.gz +0 -0
  139. package/dist/4109.creaditor.bundle.js +2 -0
  140. package/dist/4109.creaditor.bundle.js.LICENSE.txt +1 -0
  141. package/dist/4109.creaditor.bundle.js.gz +0 -0
  142. package/dist/4114.creaditor.bundle.js +20 -0
  143. package/dist/4114.creaditor.bundle.js.gz +0 -0
  144. package/dist/4161.creaditor.bundle.js +21 -0
  145. package/dist/4161.creaditor.bundle.js.gz +0 -0
  146. package/dist/4186.creaditor.bundle.js +453 -0
  147. package/dist/4186.creaditor.bundle.js.LICENSE.txt +10 -0
  148. package/dist/4186.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  149. package/dist/4186.creaditor.bundle.js.gz +0 -0
  150. package/dist/4217.creaditor.bundle.js +105 -0
  151. package/dist/4217.creaditor.bundle.js.gz +0 -0
  152. package/dist/4288.creaditor.bundle.js +98 -0
  153. package/dist/4288.creaditor.bundle.js.gz +0 -0
  154. package/dist/4413.creaditor.bundle.js +16 -0
  155. package/dist/4413.creaditor.bundle.js.gz +0 -0
  156. package/dist/4475.creaditor.bundle.js +16 -0
  157. package/dist/4475.creaditor.bundle.js.gz +0 -0
  158. package/dist/453.creaditor.bundle.js +114 -0
  159. package/dist/453.creaditor.bundle.js.gz +0 -0
  160. package/dist/4569.creaditor.bundle.js +1047 -0
  161. package/dist/4569.creaditor.bundle.js.gz +0 -0
  162. package/dist/4615.creaditor.bundle.js +14 -0
  163. package/dist/4615.creaditor.bundle.js.gz +0 -0
  164. package/dist/467.creaditor.bundle.js +23 -0
  165. package/dist/467.creaditor.bundle.js.gz +0 -0
  166. package/dist/4762.creaditor.bundle.js +53 -0
  167. package/dist/4762.creaditor.bundle.js.gz +0 -0
  168. package/dist/4770.creaditor.bundle.js +32 -0
  169. package/dist/4770.creaditor.bundle.js.gz +0 -0
  170. package/dist/4819.creaditor.bundle.js +407 -0
  171. package/dist/4819.creaditor.bundle.js.gz +0 -0
  172. package/dist/4947.creaditor.bundle.js +18 -0
  173. package/dist/4947.creaditor.bundle.js.gz +0 -0
  174. package/dist/4987.creaditor.bundle.js +171 -0
  175. package/dist/4987.creaditor.bundle.js.LICENSE.txt +11 -0
  176. package/dist/4987.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  177. package/dist/4987.creaditor.bundle.js.gz +0 -0
  178. package/dist/4988.creaditor.bundle.js +6 -0
  179. package/dist/4988.creaditor.bundle.js.gz +0 -0
  180. package/dist/5133.creaditor.bundle.js +60 -0
  181. package/dist/5133.creaditor.bundle.js.gz +0 -0
  182. package/dist/5156.creaditor.bundle.js +93 -0
  183. package/dist/5156.creaditor.bundle.js.gz +0 -0
  184. package/dist/5284.creaditor.bundle.js +2 -0
  185. package/dist/5284.creaditor.bundle.js.LICENSE.txt +1 -0
  186. package/dist/5284.creaditor.bundle.js.gz +0 -0
  187. package/dist/5340.creaditor.bundle.js +66 -0
  188. package/dist/5340.creaditor.bundle.js.gz +0 -0
  189. package/dist/5391.creaditor.bundle.js +227 -0
  190. package/dist/5391.creaditor.bundle.js.gz +0 -0
  191. package/dist/5411.creaditor.bundle.js +27 -0
  192. package/dist/5411.creaditor.bundle.js.gz +0 -0
  193. package/dist/5428.creaditor.bundle.js +23 -0
  194. package/dist/5428.creaditor.bundle.js.gz +0 -0
  195. package/dist/5501.creaditor.bundle.js +112 -0
  196. package/dist/5501.creaditor.bundle.js.gz +0 -0
  197. package/dist/5530.creaditor.bundle.js +36 -0
  198. package/dist/5530.creaditor.bundle.js.gz +0 -0
  199. package/dist/5666.creaditor.bundle.js +28 -0
  200. package/dist/5666.creaditor.bundle.js.gz +0 -0
  201. package/dist/567.creaditor.bundle.js +439 -0
  202. package/dist/567.creaditor.bundle.js.gz +0 -0
  203. package/dist/5713.creaditor.bundle.js +86 -0
  204. package/dist/5713.creaditor.bundle.js.LICENSE.txt +10 -0
  205. package/dist/5713.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  206. package/dist/5713.creaditor.bundle.js.gz +0 -0
  207. package/dist/574.creaditor.bundle.js +115 -0
  208. package/dist/574.creaditor.bundle.js.LICENSE.txt +21 -0
  209. package/dist/574.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  210. package/dist/574.creaditor.bundle.js.gz +0 -0
  211. package/dist/578.creaditor.bundle.js +29 -0
  212. package/dist/578.creaditor.bundle.js.gz +0 -0
  213. package/dist/5791.creaditor.bundle.js +288 -0
  214. package/dist/5791.creaditor.bundle.js.gz +0 -0
  215. package/dist/5813.creaditor.bundle.js +613 -0
  216. package/dist/5813.creaditor.bundle.js.LICENSE.txt +10 -0
  217. package/dist/5813.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  218. package/dist/5813.creaditor.bundle.js.gz +0 -0
  219. package/dist/5839.creaditor.bundle.js +47 -0
  220. package/dist/5839.creaditor.bundle.js.gz +0 -0
  221. package/dist/5849.creaditor.bundle.js +18 -0
  222. package/dist/5849.creaditor.bundle.js.gz +0 -0
  223. package/dist/5850.creaditor.bundle.js +23 -0
  224. package/dist/5850.creaditor.bundle.js.gz +0 -0
  225. package/dist/59.creaditor.bundle.js +381 -0
  226. package/dist/59.creaditor.bundle.js.LICENSE.txt +10 -0
  227. package/dist/59.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  228. package/dist/59.creaditor.bundle.js.gz +0 -0
  229. package/dist/5926.creaditor.bundle.js +63 -0
  230. package/dist/5926.creaditor.bundle.js.gz +0 -0
  231. package/dist/6036.creaditor.bundle.js +34 -0
  232. package/dist/6036.creaditor.bundle.js.gz +0 -0
  233. package/dist/6151.creaditor.bundle.js +1 -0
  234. package/dist/6151.creaditor.bundle.js.gz +0 -0
  235. package/dist/6216.creaditor.bundle.js +2 -0
  236. package/dist/6216.creaditor.bundle.js.LICENSE.txt +10 -0
  237. package/dist/6216.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  238. package/dist/6216.creaditor.bundle.js.gz +0 -0
  239. package/dist/638.creaditor.bundle.js +23 -0
  240. package/dist/638.creaditor.bundle.js.gz +0 -0
  241. package/dist/6442.creaditor.bundle.js +236 -0
  242. package/dist/6442.creaditor.bundle.js.gz +0 -0
  243. package/dist/6459.creaditor.bundle.js +23 -0
  244. package/dist/6459.creaditor.bundle.js.gz +0 -0
  245. package/dist/6496.creaditor.bundle.js +19 -0
  246. package/dist/6496.creaditor.bundle.js.gz +0 -0
  247. package/dist/653.creaditor.bundle.js +23 -0
  248. package/dist/653.creaditor.bundle.js.gz +0 -0
  249. package/dist/6751.creaditor.bundle.js +1 -0
  250. package/dist/6751.creaditor.bundle.js.gz +0 -0
  251. package/dist/6814.creaditor.bundle.js +1 -0
  252. package/dist/6814.creaditor.bundle.js.gz +0 -0
  253. package/dist/7051.creaditor.bundle.js +162 -0
  254. package/dist/7051.creaditor.bundle.js.LICENSE.txt +17 -0
  255. package/dist/7051.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  256. package/dist/7051.creaditor.bundle.js.gz +0 -0
  257. package/dist/7055.creaditor.bundle.js +75 -0
  258. package/dist/7055.creaditor.bundle.js.LICENSE.txt +1 -0
  259. package/dist/7055.creaditor.bundle.js.gz +0 -0
  260. package/dist/715.creaditor.bundle.js +142 -0
  261. package/dist/715.creaditor.bundle.js.LICENSE.txt +11 -0
  262. package/dist/715.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  263. package/dist/715.creaditor.bundle.js.gz +0 -0
  264. package/dist/7155.creaditor.bundle.js +23 -0
  265. package/dist/7155.creaditor.bundle.js.gz +0 -0
  266. package/dist/7209.creaditor.bundle.js +660 -0
  267. package/dist/7209.creaditor.bundle.js.gz +0 -0
  268. package/dist/7238.creaditor.bundle.js +131 -0
  269. package/dist/7238.creaditor.bundle.js.gz +0 -0
  270. package/dist/7255.creaditor.bundle.js +11 -0
  271. package/dist/7255.creaditor.bundle.js.gz +0 -0
  272. package/dist/738.creaditor.bundle.js +14 -0
  273. package/dist/738.creaditor.bundle.js.gz +0 -0
  274. package/dist/7380.creaditor.bundle.js +19 -0
  275. package/dist/7380.creaditor.bundle.js.gz +0 -0
  276. package/dist/7463.creaditor.bundle.js +395 -0
  277. package/dist/7463.creaditor.bundle.js.LICENSE.txt +10 -0
  278. package/dist/7463.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  279. package/dist/7463.creaditor.bundle.js.gz +0 -0
  280. package/dist/7466.creaditor.bundle.js +1 -0
  281. package/dist/7466.creaditor.bundle.js.gz +0 -0
  282. package/dist/752.creaditor.bundle.js +40 -0
  283. package/dist/752.creaditor.bundle.js.gz +0 -0
  284. package/dist/7523.creaditor.bundle.js +27 -0
  285. package/dist/7523.creaditor.bundle.js.gz +0 -0
  286. package/dist/7564.creaditor.bundle.js +1 -0
  287. package/dist/7564.creaditor.bundle.js.gz +0 -0
  288. package/dist/763.creaditor.bundle.js +1 -0
  289. package/dist/763.creaditor.bundle.js.gz +0 -0
  290. package/dist/767.creaditor.bundle.js +274 -0
  291. package/dist/767.creaditor.bundle.js.gz +0 -0
  292. package/dist/7759.creaditor.bundle.js +25 -0
  293. package/dist/7759.creaditor.bundle.js.gz +0 -0
  294. package/dist/7838.creaditor.bundle.js +20 -0
  295. package/dist/7838.creaditor.bundle.js.gz +0 -0
  296. package/dist/7937.creaditor.bundle.js +130 -0
  297. package/dist/7937.creaditor.bundle.js.gz +0 -0
  298. package/dist/7997.creaditor.bundle.js +173 -0
  299. package/dist/7997.creaditor.bundle.js.gz +0 -0
  300. package/dist/8042.creaditor.bundle.js +71 -0
  301. package/dist/8042.creaditor.bundle.js.gz +0 -0
  302. package/dist/8064.creaditor.bundle.js +25 -0
  303. package/dist/8064.creaditor.bundle.js.gz +0 -0
  304. package/dist/8141.creaditor.bundle.js +21 -0
  305. package/dist/8141.creaditor.bundle.js.LICENSE.txt +5 -0
  306. package/dist/8141.creaditor.bundle.js.gz +0 -0
  307. package/dist/8173.creaditor.bundle.js +455 -0
  308. package/dist/8173.creaditor.bundle.js.LICENSE.txt +10 -0
  309. package/dist/8173.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  310. package/dist/8173.creaditor.bundle.js.gz +0 -0
  311. package/dist/8250.creaditor.bundle.js +1 -0
  312. package/dist/8250.creaditor.bundle.js.gz +0 -0
  313. package/dist/8251.creaditor.bundle.js +23 -0
  314. package/dist/8251.creaditor.bundle.js.gz +0 -0
  315. package/dist/8303.creaditor.bundle.js +57 -0
  316. package/dist/8303.creaditor.bundle.js.LICENSE.txt +10 -0
  317. package/dist/8303.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  318. package/dist/8303.creaditor.bundle.js.gz +0 -0
  319. package/dist/8305.creaditor.bundle.js +32 -0
  320. package/dist/8305.creaditor.bundle.js.gz +0 -0
  321. package/dist/8315.creaditor.bundle.js +44 -0
  322. package/dist/8315.creaditor.bundle.js.gz +0 -0
  323. package/dist/8443.creaditor.bundle.js +72 -0
  324. package/dist/8443.creaditor.bundle.js.gz +0 -0
  325. package/dist/84702e107adede1a967468c78921d455.mp4 +0 -0
  326. package/dist/8516.creaditor.bundle.js +15 -0
  327. package/dist/8516.creaditor.bundle.js.gz +0 -0
  328. package/dist/8533.creaditor.bundle.js +1 -0
  329. package/dist/8533.creaditor.bundle.js.gz +0 -0
  330. package/dist/8570.creaditor.bundle.js +102 -0
  331. package/dist/8570.creaditor.bundle.js.gz +0 -0
  332. package/dist/8646.creaditor.bundle.js +122 -0
  333. package/dist/8646.creaditor.bundle.js.gz +0 -0
  334. package/dist/8654.creaditor.bundle.js +109 -0
  335. package/dist/8654.creaditor.bundle.js.gz +0 -0
  336. package/dist/8676.creaditor.bundle.js +23 -0
  337. package/dist/8676.creaditor.bundle.js.gz +0 -0
  338. package/dist/88.creaditor.bundle.js +1 -0
  339. package/dist/88.creaditor.bundle.js.gz +0 -0
  340. package/dist/8854.creaditor.bundle.js +79 -0
  341. package/dist/8854.creaditor.bundle.js.gz +0 -0
  342. package/dist/8876.creaditor.bundle.js +25 -0
  343. package/dist/8876.creaditor.bundle.js.LICENSE.txt +32 -0
  344. package/dist/8876.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  345. package/dist/8876.creaditor.bundle.js.gz +0 -0
  346. package/dist/8916.creaditor.bundle.js +18 -0
  347. package/dist/8916.creaditor.bundle.js.gz +0 -0
  348. package/dist/8921.creaditor.bundle.js +25 -0
  349. package/dist/8921.creaditor.bundle.js.gz +0 -0
  350. package/dist/898.creaditor.bundle.js +548 -0
  351. package/dist/898.creaditor.bundle.js.LICENSE.txt +10 -0
  352. package/dist/898.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  353. package/dist/898.creaditor.bundle.js.gz +0 -0
  354. package/dist/8983.creaditor.bundle.js +1 -0
  355. package/dist/8983.creaditor.bundle.js.gz +0 -0
  356. package/dist/9041.creaditor.bundle.js +171 -0
  357. package/dist/9041.creaditor.bundle.js.gz +0 -0
  358. package/dist/9089.creaditor.bundle.js +21 -0
  359. package/dist/9089.creaditor.bundle.js.gz +0 -0
  360. package/dist/9162.creaditor.bundle.js +23 -0
  361. package/dist/9162.creaditor.bundle.js.gz +0 -0
  362. package/dist/9184.creaditor.bundle.js +23 -0
  363. package/dist/9184.creaditor.bundle.js.gz +0 -0
  364. package/dist/9193.creaditor.bundle.js +1 -0
  365. package/dist/9193.creaditor.bundle.js.gz +0 -0
  366. package/dist/9250.creaditor.bundle.js +274 -0
  367. package/dist/9250.creaditor.bundle.js.gz +0 -0
  368. package/dist/9386.creaditor.bundle.js +23 -0
  369. package/dist/9386.creaditor.bundle.js.gz +0 -0
  370. package/dist/9453.creaditor.bundle.js +15 -0
  371. package/dist/9453.creaditor.bundle.js.gz +0 -0
  372. package/dist/9570.creaditor.bundle.js +23 -0
  373. package/dist/9570.creaditor.bundle.js.gz +0 -0
  374. package/dist/975.creaditor.bundle.js +23 -0
  375. package/dist/975.creaditor.bundle.js.gz +0 -0
  376. package/dist/976.creaditor.bundle.js +23 -0
  377. package/dist/976.creaditor.bundle.js.gz +0 -0
  378. package/dist/9986.creaditor.bundle.js +11 -0
  379. package/dist/9986.creaditor.bundle.js.gz +0 -0
  380. package/dist/9990.creaditor.bundle.js +16 -0
  381. package/dist/9990.creaditor.bundle.js.gz +0 -0
  382. package/dist/creaditor.bundle.js +6433 -0
  383. package/dist/creaditor.bundle.js.LICENSE.txt +102 -0
  384. package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
  385. package/dist/creaditor.bundle.js.gz +0 -0
  386. package/dist/dca9330af07325d31ab04d60838684cd.png +0 -0
  387. package/dist/index.html +1 -0
  388. package/dist/index.html.gz +0 -0
  389. package/dist/service-worker.js +1 -0
  390. package/dist/service-worker.js.gz +0 -0
  391. package/dist/workbox-f3063069.js +1 -0
  392. package/dist/workbox-f3063069.js.gz +0 -0
  393. package/package.json +37 -0
@@ -0,0 +1,318 @@
1
+ /*! For license information please see 2001.creaditor.bundle.js.LICENSE.txt */
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2001],{92001(t,e,i){i.r(e),i.d(e,{AttachedFilesPlugin:()=>ft});const s=globalThis,r=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),n=new WeakMap;let l=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&n.set(e,t))}return t}toString(){return this.cssText}};const a=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new l("string"==typeof t?t:t+"",void 0,o))(e)})(t):t,{is:h,defineProperty:d,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:u,getPrototypeOf:f}=Object,g=globalThis,v=g.trustedTypes,m=v?v.emptyScript:"",$=g.reactiveElementPolyfillSupport,y=(t,e)=>t,_={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch{i=null}}return i}},x=(t,e)=>!h(t,e),b={attribute:!0,type:String,converter:_,reflect:!1,useDefault:!1,hasChanged:x};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),g.litPropertyMetadata??(g.litPropertyMetadata=new WeakMap);let A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),s=this.getPropertyDescriptor(t,i,e);void 0!==s&&d(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){const{get:s,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:s,set(e){const o=null==s?void 0:s.call(this);null==r||r.call(this,e),this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const t=this.properties,e=[...p(t),...u(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach(t=>t(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$EO)||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(r)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const i of e){const e=document.createElement("style"),r=s.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){var i;const s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(void 0!==r&&!0===s.reflect){const o=(void 0!==(null==(i=s.converter)?void 0:i.toAttribute)?s.converter:_).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(t,e){var i,s;const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(i=t.converter)?void 0:i.fromAttribute)?t.converter:_;this._$Em=o;const l=n.fromAttribute(e,t.type);this[o]=l??(null==(s=this._$Ej)?void 0:s.get(o))??l,this._$Em=null}}requestUpdate(t,e,i){var s;if(void 0!==t){const r=this.constructor,o=this[t];if(i??(i=r.getPropertyOptions(t)),!((i.hasChanged??x)(o,e)||i.useDefault&&i.reflect&&o===(null==(s=this._$Ej)?void 0:s.get(t))&&!this.hasAttribute(r._$Eu(t,i))))return;this.C(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,i,s){let{useDefault:r,reflect:o,wrapped:n}=i;r&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,s??e??this[t]),!0!==n||void 0!==s)||(this._$AL.has(t)||(this.hasUpdated||r||(e=void 0),this._$AL.set(t,e)),!0===o&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t){const{wrapped:t}=i,s=this[e];!0!==t||this._$AL.has(e)||void 0===s||this.C(e,void 0,i,s)}}let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(i)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[y("elementProperties")]=new Map,A[y("finalized")]=new Map,null==$||$({ReactiveElement:A}),(g.reactiveElementVersions??(g.reactiveElementVersions=[])).push("2.1.1");const w=globalThis,E=w.trustedTypes,S=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",L=`lit$${Math.random().toFixed(9).slice(2)}$`,z="?"+L,P=`<${z}>`,M=document,T=()=>M.createComment(""),H=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,U="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,k=/>/g,N=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),j=/'/g,V=/"/g,B=/^(?:script|style|textarea|title)$/i,D=(K=1,function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];return{_$litType$:K,strings:t,values:i}}),q=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),Z=new WeakMap,W=M.createTreeWalker(M,129);var K;function J(t,e){if(!O(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==S?S.createHTML(e):e}class G{constructor(t,e){let i,{strings:s,_$litType$:r}=t;this.parts=[];let o=0,n=0;const l=s.length-1,a=this.parts,[h,d]=((t,e)=>{const i=t.length-1,s=[];let r,o=2===e?"<svg>":3===e?"<math>":"",n=F;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,d=0;for(;d<i.length&&(n.lastIndex=d,a=n.exec(i),null!==a);)d=n.lastIndex,n===F?"!--"===a[1]?n=R:void 0!==a[1]?n=k:void 0!==a[2]?(B.test(a[2])&&(r=RegExp("</"+a[2],"g")),n=N):void 0!==a[3]&&(n=N):n===N?">"===a[0]?(n=r??F,h=-1):void 0===a[1]?h=-2:(h=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?N:'"'===a[3]?V:j):n===V||n===j?n=N:n===R||n===k?n=F:(n=N,r=void 0);const c=n===N&&t[e+1].startsWith("/>")?" ":"";o+=n===F?i+P:h>=0?(s.push(l),i.slice(0,h)+C+i.slice(h)+L+c):i+L+(-2===h?e:c)}return[J(t,o+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),s]})(s,r);if(this.el=G.createElement(h,e),W.currentNode=this.el.content,2===r||3===r){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=W.nextNode())&&a.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=d[n++],s=i.getAttribute(t).split(L),r=/([.?@])?(.*)/.exec(e);a.push({type:1,index:o,name:r[2],strings:s,ctor:"."===r[1]?et:"?"===r[1]?it:"@"===r[1]?st:tt}),i.removeAttribute(t)}else t.startsWith(L)&&(a.push({type:6,index:o}),i.removeAttribute(t));if(B.test(i.tagName)){const t=i.textContent.split(L),e=t.length-1;if(e>0){i.textContent=E?E.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],T()),W.nextNode(),a.push({type:2,index:++o});i.append(t[e],T())}}}else if(8===i.nodeType)if(i.data===z)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(L,t+1));)a.push({type:7,index:o}),t+=L.length-1}o++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function Q(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,s=arguments.length>3?arguments[3]:void 0;var r,o;if(e===q)return e;let n=void 0!==s?null==(r=i._$Co)?void 0:r[s]:i._$Cl;const l=H(e)?void 0:e._$litDirective$;return(null==n?void 0:n.constructor)!==l&&(null==(o=null==n?void 0:n._$AO)||o.call(n,!1),void 0===l?n=void 0:(n=new l(t),n._$AT(t,i,s)),void 0!==s?(i._$Co??(i._$Co=[]))[s]=n:i._$Cl=n),void 0!==n&&(e=Q(t,n._$AS(t,e.values),n,s)),e}class X{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,s=((null==t?void 0:t.creationScope)??M).importNode(e,!0);W.currentNode=s;let r=W.nextNode(),o=0,n=0,l=i[0];for(;void 0!==l;){if(o===l.index){let e;2===l.type?e=new Y(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new rt(r,this,t)),this._$AV.push(e),l=i[++n]}o!==(null==l?void 0:l.index)&&(r=W.nextNode(),o++)}return W.currentNode=M,s}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{get _$AU(){var t;return(null==(t=this._$AM)?void 0:t._$AU)??this._$Cv}constructor(t,e,i,s){this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(null==s?void 0:s.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t){t=Q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),H(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>O(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==I&&H(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,r="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=G.createElement(J(s.h,s.h[0]),this.options)),s);if((null==(e=this._$AH)?void 0:e._$AD)===r)this._$AH.p(i);else{const t=new X(r,this),e=t.u(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new G(t)),e}k(t){O(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new Y(this.O(T()),this.O(T()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;var i;for(null==(i=this._$AP)||i.call(this,!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cv=t,null==(e=this._$AP)||e.call(this,t))}}class tt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,r){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=I}_$AI(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,i=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;const r=this.strings;let o=!1;if(void 0===r)t=Q(this,t,e,0),o=!H(t)||t!==this._$AH&&t!==q,o&&(this._$AH=t);else{const s=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=Q(this,s[i+n],e,n),l===q&&(l=this._$AH[n]),o||(o=!H(l)||l!==this._$AH[n]),l===I?t=I:t!==I&&(t+=(l??"")+r[n+1]),this._$AH[n]=l}o&&!s&&this.j(t)}j(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===I?void 0:t}}class it extends tt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==I)}}class st extends tt{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t){if((t=Q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0)??I)===q)return;const e=this._$AH,i=t===I&&e!==I||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,s=t!==I&&(e===I||i);i&&this.element.removeEventListener(this.name,this,e),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;"function"==typeof this._$AH?this._$AH.call((null==(e=this.options)?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class rt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const ot=w.litHtmlPolyfillSupport;null==ot||ot(G,Y),(w.litHtmlVersions??(w.litHtmlVersions=[])).push("3.3.1");const nt=globalThis;class lt extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{const s=(null==i?void 0:i.renderBefore)??e;let r=s._$litPart$;if(void 0===r){const t=(null==i?void 0:i.renderBefore)??null;s._$litPart$=r=new Y(e.insertBefore(T(),t),t,void 0,i??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return q}}var at;lt._$litElement$=!0,lt.finalized=!0,null==(at=nt.litElementHydrateSupport)||at.call(nt,{LitElement:lt});const ht=nt.litElementPolyfillSupport;null==ht||ht({LitElement:lt}),(nt.litElementVersions??(nt.litElementVersions=[])).push("4.2.1");const dt={attribute:!0,type:String,converter:_,reflect:!1,hasChanged:x};var ct=Object.defineProperty,pt=Object.getOwnPropertyDescriptor,ut=(t,e,i,s)=>{for(var r,o=s>1?void 0:s?pt(e,i):e,n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s?r(e,i,o):r(o))||o);return s&&o&&ct(e,i,o),o};let ft=class extends lt{constructor(){super(),this.files=[],this.maxFiles=1/0,this.maxFileSizeMB=1/0,this.isLoading=!1,this.buttonText="Attached Files",this.addFilesText="Add Files",this.maxFilesReachedText="Maximum number of files reached",this.fileTooLargeText="File size exceeds the limit",this.error="",this.customColor="",this.customTextColor="",this.iconColor="",this.loadingText="Loading files...",this.lazyLoad=null,this._isOpen=!1,this._lazyLoadPromise=null,this.initializeLazyLoad()}initializeLazyLoad(){let t,e;const i=new Promise((i,s)=>{t=i,e=s});this._lazyLoadPromise={promise:i,resolve:t,reject:e},this.lazyLoad=this._lazyLoadPromise,this._lazyLoadPromise.promise.then(t=>{this.handleLazyLoadedFiles(t)}).catch(t=>{console.error("Lazy load promise rejected:",t),this.error=`Failed to load files: ${t.message}`})}handleLazyLoadedFiles(t){if(!Array.isArray(t))return void console.error("Lazy loaded files must be an array");const e=t.filter(t=>t&&"object"==typeof t?!!(t.id&&t.name&&t.type&&t.url)||(console.warn("File missing required properties:",t),!1):(console.warn("Invalid file object:",t),!1));if(0===e.length)return void console.warn("No valid files found in lazy load");const i=this.maxFiles-this.files.length;if(i<=0)return this.error=this.maxFilesReachedText,void this.dispatchEvent(new CustomEvent("max-files-reached",{detail:{maxFiles:this.maxFiles},bubbles:!0,composed:!0}));const s=e.slice(0,i);this.files=[...this.files,...s],this.error="",this.dispatchEvent(new CustomEvent("lazy-files-loaded",{detail:{files:s,totalFiles:this.files.length},bubbles:!0,composed:!0})),this.requestUpdate()}resolveLazyLoad(t){this._lazyLoadPromise&&this._lazyLoadPromise.resolve(t)}rejectLazyLoad(t){this._lazyLoadPromise&&this._lazyLoadPromise.reject(t)}getLazyLoadPromise(){var t;return(null==(t=this._lazyLoadPromise)?void 0:t.promise)||null}resetLazyLoad(){this.initializeLazyLoad()}showLoading(t){this.isLoading=!0,t&&(this.loadingText=t),this.requestUpdate()}hideLoading(){this.isLoading=!1,this.requestUpdate()}formatFileSize(t){if(0===t)return"0 B";const e=Math.floor(Math.log(t)/Math.log(1024));return`${parseFloat((t/Math.pow(1024,e)).toFixed(2))} ${["B","KB","MB","GB"][e]}`}getFilePreview(t){switch(t.type){case"image":return D`<img
3
+ class="file-preview"
4
+ src=${t.url}
5
+ alt=${t.name}
6
+ />`;case"pdf":return D`<cdtr-icon name="pdf" size="48"></cdtr-icon>`;case"video":return D`<cdtr-icon name="video" size="48"></cdtr-icon>`;case"audio":return D`<cdtr-icon name="audio" size="48"></cdtr-icon>`;default:return D`<cdtr-icon name="file" size="48"></cdtr-icon>`}}handleFileSelect(t){const e=t.target;if(e.files&&e.files.length>0){const t=this.maxFiles-this.files.length;if(t<=0)return this.error=this.maxFilesReachedText,void this.dispatchEvent(new CustomEvent("max-files-reached",{detail:{maxFiles:this.maxFiles},bubbles:!0,composed:!0}));const i=1024*this.maxFileSizeMB*1024,s=Array.from(e.files).filter(t=>t.size>i);if(s.length>0)return this.error=`${this.fileTooLargeText} (${this.maxFileSizeMB}MB)`,void this.dispatchEvent(new CustomEvent("file-too-large",{detail:{files:s,maxSize:this.maxFileSizeMB},bubbles:!0,composed:!0}));this.error="",this.isLoading=!0;const r=Array.from(e.files).slice(0,t);let o=0;r.forEach(t=>{const e=new FileReader;e.onload=e=>{var i;const s={id:Math.random().toString(36).substr(2,9),name:t.name,type:t.type.split("/")[0],url:null==(i=e.target)?void 0:i.result,size:t.size};this.files=[...this.files,s],this.dispatchEvent(new CustomEvent("file-added",{detail:s,bubbles:!0,composed:!0})),o++,o===r.length&&(this.isLoading=!1)},e.readAsDataURL(t)})}}handleRemoveFile(t){const e=this.files.find(e=>e.id===t);e&&(this.files=this.files.filter(e=>e.id!==t),this.dispatchEvent(new CustomEvent("file-removed",{detail:e,bubbles:!0,composed:!0})))}render(){return Array.isArray(this.files)||(this.files=[]),D`
7
+ <div class="button-container">
8
+ <cdtr-popover
9
+ ?opened=${this._isOpen}
10
+ @opened-changed=${t=>{this._isOpen=t.detail.value,this._isOpen||(this.error="")}}
11
+ >
12
+ <paper-button
13
+ slot="trigger"
14
+ dir="auto"
15
+ class=${this.isLoading?"loading-button":""}
16
+ >
17
+ ${this.isLoading?D`<div class="button-loading-spinner"></div>`:D`<svg
18
+ style="color: ${this.iconColor};"
19
+ width="18"
20
+ xmlns="http://www.w3.org/2000/svg"
21
+ viewBox="0 0 24 24"
22
+ fill="currentColor"
23
+ >
24
+ <path
25
+ d="M14.8287 7.75737L9.1718 13.4142C8.78127 13.8047 8.78127 14.4379 9.1718 14.8284C9.56232 15.219 10.1955 15.219 10.586 14.8284L16.2429 9.17158C17.4144 8.00001 17.4144 6.10052 16.2429 4.92894C15.0713 3.75737 13.1718 3.75737 12.0002 4.92894L6.34337 10.5858C4.39075 12.5384 4.39075 15.7042 6.34337 17.6569C8.29599 19.6095 11.4618 19.6095 13.4144 17.6569L19.0713 12L20.4855 13.4142L14.8287 19.0711C12.095 21.8047 7.66283 21.8047 4.92916 19.0711C2.19549 16.3374 2.19549 11.9053 4.92916 9.17158L10.586 3.51473C12.5386 1.56211 15.7045 1.56211 17.6571 3.51473C19.6097 5.46735 19.6097 8.63317 17.6571 10.5858L12.0002 16.2427C10.8287 17.4142 8.92916 17.4142 7.75759 16.2427C6.58601 15.0711 6.58601 13.1716 7.75759 12L13.4144 6.34316L14.8287 7.75737Z"
26
+ ></path>
27
+ </svg>`}
28
+ </paper-button>
29
+ <div slot="content" class="popover-content" dir="auto">
30
+ ${this.error?D` <div class="error-message">${this.error}</div> `:""}
31
+ <div class="file-grid">
32
+ ${this.files.map(t=>D`
33
+ <div class="file-card">
34
+ <button
35
+ class="remove-btn"
36
+ @click=${()=>this.handleRemoveFile(t.id)}
37
+ >
38
+ <svg
39
+ xmlns="http://www.w3.org/2000/svg"
40
+ viewBox="0 0 24 24"
41
+ fill="currentColor"
42
+ width="16"
43
+ height="16"
44
+ >
45
+ <path
46
+ d="M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z"
47
+ ></path>
48
+ </svg>
49
+ </button>
50
+ ${this.getFilePreview(t)}
51
+ <div class="file-name">${t.name}</div>
52
+ ${t.size?D`<div class="file-size">
53
+ ${this.formatFileSize(t.size)}
54
+ </div>`:""}
55
+ </div>
56
+ `)}
57
+ ${this.files.length<this.maxFiles?D`
58
+ <div class="file-card">
59
+ <label class="add-files-btn">
60
+ <cdtr-icon name="add" size="32"></cdtr-icon>
61
+ <span>${this.addFilesText}</span>
62
+ <input
63
+ type="file"
64
+ multiple
65
+ hidden
66
+ @change=${this.handleFileSelect}
67
+ />
68
+ </label>
69
+ ${this.isLoading?D`<div class="loading-overlay">
70
+ <div class="loading-spinner"></div>
71
+ <div class="loading-text">${this.loadingText}</div>
72
+ </div>`:""}
73
+ </div>
74
+ `:D`
75
+ <div class="error-message">
76
+ ${this.maxFilesReachedText} (${this.maxFiles})
77
+ </div>
78
+ `}
79
+ </div>
80
+ </div>
81
+ </cdtr-popover>
82
+ ${this.files.length>0?D`
83
+ <div class="preview-strip">
84
+ ${this.files.slice(0,3).map(t=>D`
85
+ ${"image"===t.type?D`<img
86
+ class="preview-icon-image"
87
+ src=${t.url}
88
+ alt=${t.name}
89
+ />`:D` <div class="preview-icon-card">
90
+ <svg
91
+ class="preview-icon"
92
+ xmlns="http://www.w3.org/2000/svg"
93
+ viewBox="0 0 24 24"
94
+ fill="currentColor"
95
+ >
96
+ <path
97
+ d="M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z"
98
+ ></path>
99
+ </svg>
100
+ </div>`}
101
+ `)}
102
+ ${this.files.length>3?D`<span class="preview-count"
103
+ >+${this.files.length-3}</span
104
+ >`:""}
105
+ </div>
106
+ `:""}
107
+ </div>
108
+ `}};ft.styles=(function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];const r=1===t.length?t[0]:i.reduce((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new l(r,t,o)})`
109
+ .file-grid {
110
+ display: grid;
111
+ grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
112
+ gap: 1rem;
113
+ padding: 1rem;
114
+ max-height: calc(100vh - 200px);
115
+ overflow-y: auto;
116
+ }
117
+
118
+ .file-card {
119
+ position: relative;
120
+ width: 120px;
121
+ height: 120px;
122
+ border-radius: 8px;
123
+ background: #f5f5f5;
124
+ display: flex;
125
+ flex-direction: column;
126
+ align-items: center;
127
+ justify-content: center;
128
+ margin: auto;
129
+ }
130
+
131
+ .file-preview {
132
+ width: 100%;
133
+ height: 80px;
134
+ object-fit: contain;
135
+ background: white;
136
+ }
137
+
138
+ .file-name {
139
+ width: 100%;
140
+ padding: 4px;
141
+ font-size: 12px;
142
+ text-align: center;
143
+ white-space: nowrap;
144
+ overflow: hidden;
145
+ text-overflow: ellipsis;
146
+ }
147
+
148
+ .remove-btn {
149
+ position: absolute;
150
+ top: 4px;
151
+ right: 4px;
152
+ width: 20px;
153
+ height: 20px;
154
+ border-radius: 50%;
155
+ background: red;
156
+ color: white;
157
+ display: flex;
158
+ align-items: center;
159
+ justify-content: center;
160
+ cursor: pointer;
161
+ border: none;
162
+ padding: 4px;
163
+ }
164
+
165
+ .add-files-btn {
166
+ width: 100%;
167
+ height: 100%;
168
+ display: flex;
169
+ flex-direction: column;
170
+ align-items: center;
171
+ justify-content: center;
172
+ gap: 8px;
173
+ cursor: pointer;
174
+ border: 2px dashed #ccc;
175
+ border-radius: 8px;
176
+ background: transparent;
177
+ }
178
+
179
+ .add-files-btn:hover {
180
+ border-color: #666;
181
+ }
182
+
183
+ .error-message {
184
+ color: red;
185
+ font-size: 12px;
186
+ text-align: center;
187
+ padding: 8px;
188
+ }
189
+
190
+ .loading-overlay {
191
+ position: absolute;
192
+ top: 0;
193
+ left: 0;
194
+ right: 0;
195
+ bottom: 0;
196
+ background: rgba(255, 255, 255, 0.9);
197
+ display: flex;
198
+ flex-direction: column;
199
+ align-items: center;
200
+ justify-content: center;
201
+ z-index: 10;
202
+ border-radius: 8px;
203
+ backdrop-filter: blur(2px);
204
+ }
205
+
206
+ .loading-spinner {
207
+ width: 32px;
208
+ height: 32px;
209
+ border: 3px solid #f3f3f3;
210
+ border-top: 3px solid #3498db;
211
+ border-radius: 50%;
212
+ animation: spin 1s linear infinite;
213
+ margin-bottom: 8px;
214
+ }
215
+
216
+ .loading-text {
217
+ font-size: 12px;
218
+ color: #666;
219
+ text-align: center;
220
+ margin-top: 4px;
221
+ }
222
+
223
+ @keyframes spin {
224
+ 0% {
225
+ transform: rotate(0deg);
226
+ }
227
+ 100% {
228
+ transform: rotate(360deg);
229
+ }
230
+ }
231
+
232
+ .loading-button {
233
+ opacity: 0.7;
234
+ pointer-events: none;
235
+ }
236
+
237
+ .button-loading-spinner {
238
+ width: 18px;
239
+ height: 18px;
240
+ border: 2px solid #f3f3f3;
241
+ border-top: 2px solid #3498db;
242
+ border-radius: 50%;
243
+ animation: spin 1s linear infinite;
244
+ }
245
+
246
+ .preview-section {
247
+ margin-top: 8px;
248
+ display: flex;
249
+ gap: 8px;
250
+ flex-wrap: wrap;
251
+ }
252
+
253
+ .preview-item {
254
+ display: flex;
255
+ align-items: center;
256
+ gap: 4px;
257
+ padding: 4px 8px;
258
+ background: #f5f5f5;
259
+ border-radius: 4px;
260
+ font-size: 12px;
261
+ }
262
+ paper-button {
263
+ min-width: 10px;
264
+ }
265
+ .preview-item cdtr-icon {
266
+ width: 16px;
267
+ height: 16px;
268
+ }
269
+
270
+ .preview-count {
271
+ margin-top: 8px;
272
+ font-size: 12px;
273
+ color: #666;
274
+ }
275
+
276
+ .button-container {
277
+ position: relative;
278
+ display: inline-block;
279
+ }
280
+ .preview-icon-card {
281
+ background-color: #160d0d;
282
+ border-radius: 4px;
283
+ padding: 4px;
284
+ z-index: 1;
285
+ }
286
+ .preview-strip {
287
+ position: absolute;
288
+ bottom: -15px;
289
+ left: 0;
290
+ right: 0;
291
+ display: flex;
292
+ gap: 2px;
293
+ padding-left: 12px;
294
+ }
295
+
296
+ .preview-icon {
297
+ width: 12px;
298
+ height: 12px;
299
+ color: white;
300
+ }
301
+ .preview-icon-image {
302
+ width: 16px;
303
+ height: 16px;
304
+ object-fit: cover;
305
+ }
306
+ .preview-count {
307
+ font-size: 10px;
308
+ color: white;
309
+ margin-left: 2px;
310
+ }
311
+
312
+ .file-size {
313
+ font-size: 10px;
314
+ color: #666;
315
+ }
316
+
317
+
318
+ `,ft.properties={files:{type:Array},maxFiles:{type:Number},maxFileSizeMB:{type:Number},isLoading:{type:Boolean},buttonText:{type:String},addFilesText:{type:String},maxFilesReachedText:{type:String},iconColor:{type:String},fileTooLargeText:{type:String},error:{type:String},customColor:{type:String},customTextColor:{type:String},loadingText:{type:String}},ut([function(t){return(e,i)=>"object"==typeof i?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:dt,e=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;const{kind:s,metadata:r}=i;let o=globalThis.litPropertyMetadata.get(r);if(void 0===o&&globalThis.litPropertyMetadata.set(r,o=new Map),"setter"===s&&((t=Object.create(t)).wrapped=!0),o.set(i.name,t),"accessor"===s){const{name:s}=i;return{set(i){const r=e.get.call(this);e.set.call(this,i),this.requestUpdate(s,r,t)},init(e){return void 0!==e&&this.C(s,void 0,t,e),e}}}if("setter"===s){const{name:s}=i;return function(i){const r=this[s];e.call(this,i),this.requestUpdate(s,r,t)}}throw Error("Unsupported decorator location: "+s)}(t,e,i):((t,e,i)=>{const s=e.hasOwnProperty(i);return e.constructor.createProperty(i,t),s?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}({type:Object,attribute:!1})],ft.prototype,"lazyLoad",2),ft=ut([(t=>(e,i)=>{void 0!==i?i.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)})("cdtr-attached-files-plugin")],ft)}}]);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Copyright 2019 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ */
Binary file
@@ -0,0 +1 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[211],{70211(e,t,n){var i=n(59929),a=n(21421),s=n(12106);class c extends i.WF{constructor(){super(),this.containerRef=(0,a._)(),this.containerId="particles-"+(0,s.A)(),this.config={particles:{number:{value:20},color:{value:"#ffffff"},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5}},opacity:{value:.5,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:10,random:!0,anim:{enable:!1,speed:80,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:300,color:"#484554",opacity:.4,width:2},move:{enable:!0,speed:5,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!1,mode:"repulse"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:800,line_linked:{opacity:1}},bubble:{distance:800,size:80,duration:2,opacity:.8,speed:3},repulse:{distance:400,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0}}createRenderRoot(){return this}render(){return i.qy`<div id=${this.containerId} ${(0,a.K)(this.containerRef)}></div>`}connectedCallback(){super.connectedCallback(),n.e(3545).then(n.t.bind(n,5926,23)).then(()=>{setTimeout(()=>{particlesJS(this.containerId,this.config)},0)})}disconnectedCallback(){super.disconnectedCallback()}}c.properties={name:{}},c.styles=i.AH``,customElements.define("cdtr-particlesjs",c)}}]);
Binary file
@@ -0,0 +1,24 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2112],{2112(t,e,i){i.r(e),i.d(e,{SortIcon:()=>h});var s=i(59929);class h extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy`<svg
2
+ style="${this.iconStyle}"
3
+ width="${this.width}"
4
+ height="${this.height}"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ viewBox="0 0 24 24"
7
+ ariaLabelledby="sortDownIconTitle"
8
+ stroke="black"
9
+ strokeWidth="0.75"
10
+ strokeLinecap="square"
11
+ strokeLinejoin="round"
12
+ fill="none"
13
+ color="black"
14
+ style="width: 22px; height: 22px;"
15
+ >
16
+ <title id="sortDownIconTitle">Sort in descending order</title>
17
+ <path d="M11 9H17"></path>
18
+ <path d="M11 5H19"></path>
19
+ <path d="M11 13H15"></path>
20
+ <path d="M10 17L7 20L4 17"></path>
21
+ <path d="M7 5V19"></path>
22
+ </svg>`}}h.styles=s.AH`
23
+
24
+ `,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-sort-icon",h)}}]);
Binary file
@@ -0,0 +1 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2234],{62234(e,t,s){s.r(t);s(49937).A.subscribe("snackbar",e=>{let{text:t,timeout:s=3e3}=e;"function"==typeof window.snackbar&&window.snackbar({text:t})})}}]);
Binary file
@@ -0,0 +1 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2298],{52298(t,e,n){n.d(e,{default:()=>w});const s="undefined"!=typeof window?window:null,i=null===s,r=i?void 0:s.document,o="addEventListener",l="removeEventListener",c="getBoundingClientRect",a="_b",u="_c",h="horizontal",p=()=>!1,f=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return false},d=i?"calc":`${["","-webkit-","-moz-","-o-"].filter(t=>{const e=r.createElement("div");return e.style.cssText=`width:${t}calc(9px)`,!!e.style.length}).shift()}calc`,m=t=>"string"==typeof t||t instanceof String,g=t=>{if(m(t)){const e=r.querySelector(t);if(!e)throw new Error(`Selector ${t} did not match a DOM element`);return e}return t},y=(t,e,n)=>{const s=t[e];return void 0!==s?s:n},z=(t,e,n,s)=>{if(e){if("end"===s)return 0;if("center"===s)return t/2}else if(n){if("start"===s)return 0;if("center"===s)return t/2}return t},S=(t,e)=>{const n=r.createElement("div");return n.className=`gutter gutter-${e}`,n},b=(t,e,n)=>{const s={};return m(e)?s[t]=e:s[t]=`${d}(${e}% - ${n}px)`,s},v=(t,e)=>({[t]:`${e}px`}),w=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i)return{};let n,d,m,w,x,E,C=t;Array.from&&(C=Array.from(C));const D=g(C[0]).parentNode,k=getComputedStyle?getComputedStyle(D):null,O=k?k.flexDirection:null;let A=y(e,"sizes")||C.map(()=>100/C.length);const M=y(e,"minSize",100),U=Array.isArray(M)?M:C.map(()=>M),$=y(e,"maxSize",1/0),_=Array.isArray($)?$:C.map(()=>$),B=y(e,"expandToMin",!1),F=y(e,"gutterSize",10),R=y(e,"gutterAlign","center"),T=y(e,"snapOffset",30),j=Array.isArray(T)?T:C.map(()=>T),L=y(e,"dragInterval",1),N=y(e,"direction",h),X=y(e,"cursor",N===h?"col-resize":"row-resize"),Y=y(e,"gutter",S),P=y(e,"elementStyle",b),V=y(e,"gutterStyle",v);function q(t,e,s,i){const r=P(n,e,s,i);Object.keys(r).forEach(e=>{t.style[e]=r[e]})}function H(){return E.map(t=>t.size)}function I(t){return"touches"in t?t.touches[0][d]:t[d]}function W(t){const e=E[this.a],n=E[this.b],s=e.size+n.size;e.size=t/this.size*s,n.size=s-t/this.size*s,q(e.element,e.size,this[a],e.i),q(n.element,n.size,this[u],n.i)}function G(t){let n;const s=E[this.a],i=E[this.b];this.dragging&&(n=I(t)-this.start+(this[a]-this.dragOffset),L>1&&(n=Math.round(n/L)*L),n<=s.minSize+s.snapOffset+this[a]?n=s.minSize+this[a]:n>=this.size-(i.minSize+i.snapOffset+this[u])&&(n=this.size-(i.minSize+this[u])),n>=s.maxSize-s.snapOffset+this[a]?n=s.maxSize+this[a]:n<=this.size-(i.maxSize-i.snapOffset+this[u])&&(n=this.size-(i.maxSize+this[u])),W.call(this,n),y(e,"onDrag",p)(H()))}function J(){const t=E[this.a].element,e=E[this.b].element,s=t[c](),i=e[c]();this.size=s[n]+i[n]+this[a]+this[u],this.start=s[m],this.end=s[w]}function K(t){const e=function(t){if(!getComputedStyle)return null;const e=getComputedStyle(t);if(!e)return null;let n=t[x];return 0===n?null:(n-=N===h?parseFloat(e.paddingLeft)+parseFloat(e.paddingRight):parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),n)}(D);if(null===e)return t;if(U.reduce((t,e)=>t+e,0)>e)return t;let n=0;const s=[],i=t.map((i,r)=>{const o=e*i/100,l=z(F,0===r,r===t.length-1,R),c=U[r]+l;return o<c?(n+=c-o,s.push(0),c):(s.push(o-c),o)});return 0===n?t:i.map((t,i)=>{let r=t;if(n>0&&s[i]-n>0){const e=Math.min(n,s[i]-n);n-=e,r=t-e}return r/e*100})}function Q(){const t=this,n=E[t.a].element,i=E[t.b].element;t.dragging&&y(e,"onDragEnd",p)(H()),t.dragging=!1,s[l]("mouseup",t.stop),s[l]("touchend",t.stop),s[l]("touchcancel",t.stop),s[l]("mousemove",t.move),s[l]("touchmove",t.move),t.stop=null,t.move=null,n[l]("selectstart",p),n[l]("dragstart",p),i[l]("selectstart",p),i[l]("dragstart",p),n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",i.style.userSelect="",i.style.webkitUserSelect="",i.style.MozUserSelect="",i.style.pointerEvents="",t.gutter.style.cursor="",t.parent.style.cursor="",r.body.style.cursor=""}function Z(t){if(f("startDragging",t.type,t.target?.className),"button"in t&&0!==t.button)return;const n=this,i=E[n.a].element,l=E[n.b].element;n.dragging||y(e,"onDragStart",p)(H()),t.preventDefault(),n.dragging=!0,n.move=G.bind(n),n.stop=Q.bind(n),s[o]("mouseup",n.stop),s[o]("touchend",n.stop),s[o]("touchcancel",n.stop),s[o]("mousemove",n.move),s[o]("touchmove",n.move),i[o]("selectstart",p),i[o]("dragstart",p),l[o]("selectstart",p),l[o]("dragstart",p),i.style.userSelect="none",i.style.webkitUserSelect="none",i.style.MozUserSelect="none",i.style.pointerEvents="none",l.style.userSelect="none",l.style.webkitUserSelect="none",l.style.MozUserSelect="none",l.style.pointerEvents="none",n.gutter.style.cursor=X,n.parent.style.cursor=X,r.body.style.cursor=X,J.call(n),n.dragOffset=I(t)-n.end}N===h?(n="width",d="clientX",m="left",w="right",x="clientWidth"):"vertical"===N&&(n="height",d="clientY",m="top",w="bottom",x="clientHeight"),A=K(A);const tt=[];E=C.map((t,e)=>{const s={element:g(t),size:A[e],minSize:U[e],maxSize:_[e],snapOffset:j[e],i:e};let i;if(e>0&&(i={a:e-1,b:e,dragging:!1,direction:N,parent:D},i[a]=z(F,e-1==0,!1,R),i[u]=z(F,!1,e===C.length-1,R),"row-reverse"===O||"column-reverse"===O)){const t=i.a;i.a=i.b,i.b=t}if(e>0){const t=Y(e,N,s.element);!function(t,e,s){const i=V(n,e,s);Object.keys(i).forEach(e=>{t.style[e]=i[e]})}(t,F,e),t.style.position="relative";const l=(D.ownerDocument||r).createElement("div");l.setAttribute("data-split-gutter-hit","1"),l.style.cssText=N===h?"position:absolute;top:0;bottom:0;width:16px;left:-8px;cursor:col-resize;z-index:100;":"position:absolute;left:0;right:0;height:16px;top:-8px;cursor:row-resize;z-index:100;";const c=t=>{"button"in t&&0!==t.button||(t.preventDefault(),t.stopPropagation(),Z.call(i,t))};i._directStart=c,l[o]("mousedown",c),l[o]("touchstart",c),t.appendChild(l),i._hitStrip=l,D.insertBefore(t,s.element),i.gutter=t}return q(s.element,s.size,z(F,0===e,e===C.length-1,R),e),e>0&&tt.push(i),s});const et=(D.ownerDocument||r).defaultView||s,nt=t=>{const e="touches"in t?t.touches[0].clientX:t.clientX,n="touches"in t?t.touches[0].clientY:t.clientY;for(let s=0;s<tt.length;s++){const i=tt[s].gutter;if(!i.getBoundingClientRect)continue;const r=i.getBoundingClientRect(),o=(r.left+r.right)/2,l=(r.top+r.bottom)/2;if(N===h?Math.abs(e-o)<=24&&n>=r.top&&n<=r.bottom:Math.abs(n-l)<=24&&e>=r.left&&e<=r.right)return f("gutter hit",t.type,s),t.preventDefault(),t.stopPropagation(),void Z.call(tt[s],t)}};function st(t){const e=t.i===tt.length,n=e?tt[t.i-1]:tt[t.i];J.call(n);const s=e?n.size-t.minSize-n[u]:t.minSize+n[a];W.call(n,s)}return et[o]("mousedown",nt,!0),et[o]("touchstart",nt,!0),E.forEach(t=>{const e=t.element[c]()[n];e<t.minSize&&(B?st(t):t.minSize=e)}),f("init","elements=",E?.length,"pairs=",tt?.length),{setSizes:function(t){const e=K(t);e.forEach((t,n)=>{if(n>0){const s=tt[n-1],i=E[s.a],r=E[s.b];i.size=e[n-1],r.size=t,q(i.element,i.size,s[a],i.i),q(r.element,r.size,s[u],r.i)}})},getSizes:H,collapse(t){st(E[t])},destroy:function(t,e){const i=tt[0]&&tt[0].parent&&tt[0].parent.ownerDocument&&tt[0].parent.ownerDocument.defaultView||s;i&&(i[l]("mousedown",nt,!0),i[l]("touchstart",nt,!0)),tt.forEach(s=>{const i=s._hitStrip||s.gutter;if(s._directStart&&i&&(i[l]("mousedown",s._directStart),i[l]("touchstart",s._directStart)),!0!==e&&s.parent.removeChild(s.gutter),!0!==t){const t=P(n,E[s.a].size,s[a],s.a);Object.keys(t).forEach(t=>{E[s.a].element.style[t]="",E[s.b].element.style[t]=""})}})},parent:D,pairs:tt}}}}]);
Binary file
@@ -0,0 +1,11 @@
1
+ /*! For license information please see 235.creaditor.bundle.js.LICENSE.txt */
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[235],{20235(t,e,i){i.r(e),i.d(e,{MyElement:()=>vt});const s=window,n=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),r=new WeakMap;class l{constructor(t,e,i){if(this._$cssResult$=!0,i!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&r.set(e,t))}return t}toString(){return this.cssText}}const h=(t,e)=>{n?t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(e=>{const i=document.createElement("style"),n=s.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)})},a=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new l("string"==typeof t?t:t+"",void 0,o))(e)})(t):t;var d;const c=window,u=c.trustedTypes,p=u?u.emptyScript:"",v=c.reactiveElementPolyfillSupport,f={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},$=(t,e)=>e!==t&&(e==e||t==t),_={attribute:!0,type:String,converter:f,reflect:!1,hasChanged:$},m="finalized";class y extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const s=this._$Ep(i,e);void 0!==s&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=_){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const n=this[t];this[e]=s,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||_}static finalize(){if(this.hasOwnProperty(m))return!1;this[m]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach(t=>t(this))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return h(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=_){var s;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const o=(void 0!==(null===(s=i.converter)||void 0===s?void 0:s.toAttribute)?i.converter:f).toAttribute(e,i.type);this._$El=t,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,n=s._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=s.getPropertyOptions(n),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:f;this._$El=n,this[n]=o.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||$)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((t,e)=>this[e]=t),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach(t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach((t,e)=>this._$EO(e,this[e],t)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}var g;y[m]=!0,y.elementProperties=new Map,y.elementStyles=[],y.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:y}),(null!==(d=c.reactiveElementVersions)&&void 0!==d?d:c.reactiveElementVersions=[]).push("1.6.3");const b=window,A=b.trustedTypes,E=A?A.createPolicy("lit-html",{createHTML:t=>t}):void 0,w="$lit$",S=`lit$${(Math.random()+"").slice(9)}$`,C="?"+S,x=`<${C}>`,U=document,P=()=>U.createComment(""),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,T=t=>H(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),O="[ \t\n\f\r]",I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,R=/>/g,M=RegExp(`>|${O}(?:([^\\s"'>=/]+)(${O}*=${O}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,z=/"/g,B=/^(?:script|style|textarea|title)$/i,D=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),j=D(1),V=(D(2),Symbol.for("lit-noChange")),W=Symbol.for("lit-nothing"),F=new WeakMap,q=U.createTreeWalker(U,129,null,!1);function K(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==E?E.createHTML(e):e}const J=(t,e)=>{const i=t.length-1,s=[];let n,o=2===e?"<svg>":"",r=I;for(let e=0;e<i;e++){const i=t[e];let l,h,a=-1,d=0;for(;d<i.length&&(r.lastIndex=d,h=r.exec(i),null!==h);)d=r.lastIndex,r===I?"!--"===h[1]?r=N:void 0!==h[1]?r=R:void 0!==h[2]?(B.test(h[2])&&(n=RegExp("</"+h[2],"g")),r=M):void 0!==h[3]&&(r=M):r===M?">"===h[0]?(r=null!=n?n:I,a=-1):void 0===h[1]?a=-2:(a=r.lastIndex-h[2].length,l=h[1],r=void 0===h[3]?M:'"'===h[3]?z:L):r===z||r===L?r=M:r===N||r===R?r=I:(r=M,n=void 0);const c=r===M&&t[e+1].startsWith("/>")?" ":"";o+=r===I?i+x:a>=0?(s.push(l),i.slice(0,a)+w+i.slice(a)+S+c):i+S+(-2===a?(s.push(void 0),e):c)}return[K(t,o+(t[i]||"<?>")+(2===e?"</svg>":"")),s]};class Z{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let n=0,o=0;const r=t.length-1,l=this.parts,[h,a]=J(t,e);if(this.el=Z.createElement(h,i),q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=q.nextNode())&&l.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith(w)||e.startsWith(S)){const i=a[o++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+w).split(S),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?st:Y})}else l.push({type:6,index:n})}for(const e of t)s.removeAttribute(e)}if(B.test(s.tagName)){const t=s.textContent.split(S),e=t.length-1;if(e>0){s.textContent=A?A.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],P()),q.nextNode(),l.push({type:2,index:++n});s.append(t[e],P())}}}else if(8===s.nodeType)if(s.data===C)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(S,t+1));)l.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,e){const i=U.createElement("template");return i.innerHTML=t,i}}function G(t,e,i=t,s){var n,o,r,l;if(e===V)return e;let h=void 0!==s?null===(n=i._$Co)||void 0===n?void 0:n[s]:i._$Cl;const a=k(e)?void 0:e._$litDirective$;return(null==h?void 0:h.constructor)!==a&&(null===(o=null==h?void 0:h._$AO)||void 0===o||o.call(h,!1),void 0===a?h=void 0:(h=new a(t),h._$AT(t,i,s)),void 0!==s?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[s]=h:i._$Cl=h),void 0!==h&&(e=G(t,h._$AS(t,e.values),h,s)),e}class Q{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:s}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:U).importNode(i,!0);q.currentNode=n;let o=q.nextNode(),r=0,l=0,h=s[0];for(;void 0!==h;){if(r===h.index){let e;2===h.type?e=new X(o,o.nextSibling,this,t):1===h.type?e=new h.ctor(o,h.name,h.strings,this,t):6===h.type&&(e=new nt(o,this,t)),this._$AV.push(e),h=s[++l]}r!==(null==h?void 0:h.index)&&(o=q.nextNode(),r++)}return q.currentNode=U,n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class X{constructor(t,e,i,s){var n;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=null===(n=null==s?void 0:s.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=G(this,t,e),k(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==V&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==W&&k(this._$AH)?this._$AA.nextSibling.data=t:this.$(U.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:s}=t,n="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=Z.createElement(K(s.h,s.h[0]),this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new Q(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=F.get(t.strings);return void 0===e&&F.set(t.strings,e=new Z(t)),e}T(t){H(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const n of t)s===e.length?e.push(i=new X(this.k(P()),this.k(P()),this,this.options)):i=e[s],i._$AI(n),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,s,n){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const n=this.strings;let o=!1;if(void 0===n)t=G(this,t,e,0),o=!k(t)||t!==this._$AH&&t!==V,o&&(this._$AH=t);else{const s=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=G(this,s[i+r],e,r),l===V&&(l=this._$AH[r]),o||(o=!k(l)||l!==this._$AH[r]),l===W?t=W:t!==W&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}o&&!s&&this.j(t)}j(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Y{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===W?void 0:t}}const et=A?A.emptyScript:"";class it extends Y{constructor(){super(...arguments),this.type=4}j(t){t&&t!==W?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class st extends Y{constructor(t,e,i,s,n){super(t,e,i,s,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=G(this,t,e,0))&&void 0!==i?i:W)===V)return;const s=this._$AH,n=t===W&&s!==W||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==W&&(s===W||n);n&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class nt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){G(this,t)}}const ot=b.litHtmlPolyfillSupport;null==ot||ot(Z,X),(null!==(g=b.litHtmlVersions)&&void 0!==g?g:b.litHtmlVersions=[]).push("2.8.0");var rt,lt;class ht extends y{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var s,n;const o=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;let r=o._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;o._$litPart$=r=new X(e.insertBefore(P(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return V}}ht.finalized=!0,ht._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:ht});const at=globalThis.litElementPolyfillSupport;null==at||at({LitElement:ht});(null!==(lt=globalThis.litElementVersions)&&void 0!==lt?lt:globalThis.litElementVersions=[]).push("3.3.3");const dt=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function ct(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):dt(t,e)}var ut;null===(ut=window.HTMLSlotElement)||void 0===ut||ut.prototype.assignedElements;var pt=function(t,e,i,s){var n,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(r=(o<3?n(r):o>3?n(e,i,r):n(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};let vt=class extends ht{constructor(){super(),this.mode="input",this.value="",this.placeholder="",this.inputStyle="",this.height="26px",this.width="100px",this.value="",this.placeholder="",this.inputEvent=new UIEvent("input",{view:window,bubbles:!0,cancelable:!0}),this.submitEvent=new UIEvent("submit",{view:window,bubbles:!0,cancelable:!0}),this.blurEvent=new UIEvent("blur",{view:window,bubbles:!0,cancelable:!0}),this.changeEvent=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0}),this.focusEvent=new UIEvent("focus",{view:window,bubbles:!0,cancelable:!0}),this.onChangeInput=this.onChangeInput.bind(this),this.onBlurInput=this.onBlurInput.bind(this),this.onFocusInput=this.onFocusInput.bind(this),this.onSubmit=this.onSubmit.bind(this),this.iframe=document.createElement("iframe"),this.form=document.createElement("form"),this.styleTag=document.createElement("style"),this.input=document.createElement("input")}onChangeInput(t){var e;const i=null===(e=t.target)||void 0===e?void 0:e.value;this.value=i;this.dispatchEvent(this.inputEvent),this.dispatchEvent(this.changeEvent)}onSubmit(t){this.dispatchEvent(this.submitEvent),t.preventDefault()}onBlurInput(){this.dispatchEvent(this.blurEvent)}onFocusInput(){this.dispatchEvent(this.focusEvent)}renderIframe(){var t,e;const i=this.iframe,s=this.form;i&&(this.input.setAttribute("style",this.inputStyle),this.input.removeEventListener("input",this.onChangeInput),this.input.addEventListener("input",this.onChangeInput),this.input.addEventListener("blur",this.onBlurInput),this.input.addEventListener("focus",this.onFocusInput),this.input.placeholder=this.placeholder,this.input.value=this.value,this.styleTag.innerHTML='\nbody,html{\n margin:0;\n box-sizing: border-box;\n overflow:hidden;\n}\ninput {\n display: inline-block;\n width: 100%;\n padding: 0.105rem 0.45rem;\n font-size: 14px;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border-radius: 0.25rem;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n margin: 0;\n font-family: Arial, Helvetica, sans-serif;\n border-color:#9EADBD;\n outline:#9EADBD;\n box-sizing: border-box;\n }\n input:hover {\n box-shadow: 0 0 0 0.15rem rgb(13 110 253 / 10%);\n }\n input::placeholder {\n font-family: Arial, Helvetica, sans-serif;\n }\n input:focus {\n border-color: #0088ff;\n box-shadow: 0 0 0 0.15rem rgb(13 110 253 / 25%);\n }\n input[type="number"] {\n padding-right: 0px;\n padding-left: 4px;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n',s.appendChild(this.input),s.removeEventListener("submit",this.onSubmit),s.addEventListener("submit",this.onSubmit),null===(t=i.contentWindow)||void 0===t||t.document.body.appendChild(this.styleTag),null===(e=i.contentWindow)||void 0===e||e.document.body.appendChild(s),i.style.height=this.height,i.style.height=this.height,this.input.style.width=this.width,this.input.style.height=this.height)}connectedCallback(){var t;super.connectedCallback(),null===(t=this.shadowRoot)||void 0===t||t.appendChild(this.iframe),this.renderIframe()}focus(){this.input.focus()}render(){return this.input.value="string"==typeof this.value?this.value:"",j``}};vt.styles=((t,...e)=>{const i=1===t.length?t[0]:e.reduce((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new l(i,t,o)})`
3
+ * {
4
+ box-sizing: border-box;
5
+ }
6
+ iframe {
7
+ overflow: hidden;
8
+ border: none;
9
+ width: 100%;
10
+ }
11
+ `,pt([ct({reflect:!0})],vt.prototype,"mode",void 0),pt([ct({reflect:!0})],vt.prototype,"value",void 0),pt([ct({reflect:!0})],vt.prototype,"placeholder",void 0),pt([ct({reflect:!0})],vt.prototype,"inputStyle",void 0),pt([ct({reflect:!0})],vt.prototype,"height",void 0),pt([ct({reflect:!0})],vt.prototype,"width",void 0),vt=pt([(t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:s}=e;return{kind:i,elements:s,finisher(e){customElements.define(t,e)}}})(t,e))("cdtr-input-iframe")],vt)}}]);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Copyright 2019 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ */
12
+
13
+ /**
14
+ * @license
15
+ * Copyright 2021 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
17
+ */
Binary file
@@ -0,0 +1,23 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2350],{72350(t,i,e){e.r(i),e.d(i,{ChatIcon:()=>s});var h=e(59929);class s extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy`<svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 24 24"
4
+ style="${this.iconStyle}"
5
+ width="${this.width}"
6
+ height="${this.height}"
7
+ >
8
+ <path fill="none" d="M0 0h24v24H0z" />
9
+ <path
10
+ d="M5.763 17H20V5H4v13.385L5.763 17zm.692 2L2 22.5V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6.455z"
11
+ />
12
+ </svg>`}}s.styles=h.AH`
13
+ :host {
14
+ display: inherit;
15
+ --cdtr-icon-width: 24px;
16
+ --cdtr-icon-height: 24px;
17
+ }
18
+ svg {
19
+ width: var(--cdtr-icon-width);
20
+ height: var(--cdtr-icon-height);
21
+ color: var(--cdtr-icon-color);
22
+ }
23
+ `,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-chat-icon",s)}}]);
Binary file
@@ -0,0 +1,64 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2377],{22377(t,e,i){i.r(e),i.d(e,{default:()=>h});var o=i(59929),s=i(21421),n=i(69600);const d=[];class h extends o.WF{constructor(){super(),this.contentRef=(0,s._)(),this.left=0,this.top=0,this.opened=!1,this.width=200,this.height=300}updated(t){t.has("opened")&&(this.opened&&(0,n.h)(this),d.forEach(t=>{t!==this&&(t.opened=!1)}))}connectedCallback(){super.connectedCallback(),d.push(this)}disconnectedCallback(){super.disconnectedCallback();const t=d.indexOf(this);t>-1&&d.splice(t,1),this.close()}handleWindowClick(t){t&&(this.positionInitialized||(this.left||(this.left=`${t.clientX}`),this.top||(this.top=`${t.clientY}`),this.positionInitialized=!0))}close(){this.opened=!1}toggle(t){this.handleWindowClick(t),this.opened=!this.opened,this.opened?requestAnimationFrame(()=>this.updatePosition()):this.positionInitialized=!1}updatePosition(){const t=this.contentRef.value;if(t){const e=t.getBoundingClientRect(),i=window.innerWidth,o=window.innerHeight;e.right>i&&(this.left=""+(i-e.width-30)),e.top-e.height>o&&(this.top=""+(o-this.height-10))}else setTimeout(()=>{this.updatePosition()},100)}render(){return this.height=parseInt(this.height,10)||400,o.qy`
2
+ <slot @click=${this.toggle} tabindex="0" name="trigger"></slot>
3
+ <cdtr-draggable-element
4
+ handle=".header"
5
+ @move=${t=>{this.left=t.target.x,this.top=t.target.y}}
6
+ >
7
+ <div
8
+ role="dialog"
9
+ aria-modal="true"
10
+ aria-labelledby="dialog-title"
11
+ ${(0,s.K)(this.contentRef)}
12
+ @mouseup=${this.preventClosing}
13
+ style="height:auto;max-height:${this.height+"px"};z-index:${(0,n.A)()};left:${this.left}px;top:${this.top}px;width:${this.width}px;display:${this.opened?"block":"none"};"
14
+ class="box-content fade-in"
15
+ >
16
+ <paper-button @click=${()=>{this.close()}} style="position:absolute;left:0;top:0;">
17
+ <cdtr-icon icon="x"></cdtr-icon>
18
+ </paper-button>
19
+ <div id="dialog-title" class="header">
20
+ <slot class="header" name="header"></slot>
21
+ ${this.title?o.qy`<lang-text text=${this.title}></lang-text>`:""}
22
+ </div>
23
+ <cdtr-divider></cdtr-divider>
24
+ ${this.opened?o.qy`<div
25
+ style="max-height:${this.height-100}px;overflow:auto;"
26
+ class="content drop-modal-draggable"
27
+ >
28
+ <slot name="content"></slot>
29
+ </div>`:null}
30
+ </div>
31
+ </cdtr-draggable-element>
32
+ `}}h.styles=o.AH`
33
+ .box-content {
34
+ position: fixed;
35
+ width: auto;
36
+ overflow: hidden;
37
+ max-width: 100%;
38
+ position: fixed;
39
+ z-index: 9999;
40
+ background: rgb(255, 255, 255);
41
+ height: 100%;
42
+ padding: 10px;
43
+ box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
44
+ box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
45
+ border-radius: 10px;
46
+ }
47
+ .header {
48
+ cursor: move;
49
+ min-height:30px;
50
+ }
51
+
52
+ .fade-in {
53
+ animation: fadeIn 0.3s;
54
+ }
55
+ @keyframes fadeIn {
56
+ from {
57
+ opacity: 0;
58
+ transform: translateX(-10px);
59
+ }
60
+ to {
61
+ opacity: 1;
62
+ }
63
+ }
64
+ `,h.properties={title:{type:String},opened:{type:Boolean},width:{type:Number},height:{type:Number},left:{type:String},top:{type:String}},customElements.define("cdtr-draggable-box",h)}}]);
Binary file