@creaditor/newsletter-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 (392) hide show
  1. package/README.md +258 -0
  2. package/dist/1030.creaditor.bundle.js +318 -0
  3. package/dist/1030.creaditor.bundle.js.LICENSE.txt +11 -0
  4. package/dist/1030.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  5. package/dist/1030.creaditor.bundle.js.gz +0 -0
  6. package/dist/1101.creaditor.bundle.js +21 -0
  7. package/dist/1101.creaditor.bundle.js.gz +0 -0
  8. package/dist/116.creaditor.bundle.js +23 -0
  9. package/dist/116.creaditor.bundle.js.gz +0 -0
  10. package/dist/1199.creaditor.bundle.js +23 -0
  11. package/dist/1199.creaditor.bundle.js.gz +0 -0
  12. package/dist/132.creaditor.bundle.js +30 -0
  13. package/dist/132.creaditor.bundle.js.gz +0 -0
  14. package/dist/1366.creaditor.bundle.js +238 -0
  15. package/dist/1366.creaditor.bundle.js.LICENSE.txt +21 -0
  16. package/dist/1366.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  17. package/dist/1366.creaditor.bundle.js.gz +0 -0
  18. package/dist/1381.creaditor.bundle.js +6 -0
  19. package/dist/1381.creaditor.bundle.js.gz +0 -0
  20. package/dist/1410.creaditor.bundle.js +236 -0
  21. package/dist/1410.creaditor.bundle.js.LICENSE.txt +21 -0
  22. package/dist/1410.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  23. package/dist/1410.creaditor.bundle.js.gz +0 -0
  24. package/dist/1449.creaditor.bundle.js +604 -0
  25. package/dist/1449.creaditor.bundle.js.LICENSE.txt +10 -0
  26. package/dist/1449.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  27. package/dist/1449.creaditor.bundle.js.gz +0 -0
  28. package/dist/1582.creaditor.bundle.js +23 -0
  29. package/dist/1582.creaditor.bundle.js.gz +0 -0
  30. package/dist/1650.creaditor.bundle.js +23 -0
  31. package/dist/1650.creaditor.bundle.js.gz +0 -0
  32. package/dist/168.creaditor.bundle.js +142 -0
  33. package/dist/168.creaditor.bundle.js.LICENSE.txt +20 -0
  34. package/dist/168.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  35. package/dist/168.creaditor.bundle.js.gz +0 -0
  36. package/dist/1731.creaditor.bundle.js +51 -0
  37. package/dist/1731.creaditor.bundle.js.gz +0 -0
  38. package/dist/1790.creaditor.bundle.js +1 -0
  39. package/dist/1790.creaditor.bundle.js.gz +0 -0
  40. package/dist/185.creaditor.bundle.js +114 -0
  41. package/dist/185.creaditor.bundle.js.gz +0 -0
  42. package/dist/1867.creaditor.bundle.js +171 -0
  43. package/dist/1867.creaditor.bundle.js.gz +0 -0
  44. package/dist/19.creaditor.bundle.js +36 -0
  45. package/dist/19.creaditor.bundle.js.gz +0 -0
  46. package/dist/201.creaditor.bundle.js +98 -0
  47. package/dist/201.creaditor.bundle.js.gz +0 -0
  48. package/dist/2012.creaditor.bundle.js +6 -0
  49. package/dist/2012.creaditor.bundle.js.gz +0 -0
  50. package/dist/2022.creaditor.bundle.js +13 -0
  51. package/dist/2022.creaditor.bundle.js.gz +0 -0
  52. package/dist/2050.creaditor.bundle.js +16 -0
  53. package/dist/2050.creaditor.bundle.js.gz +0 -0
  54. package/dist/2087.creaditor.bundle.js +25 -0
  55. package/dist/2087.creaditor.bundle.js.gz +0 -0
  56. package/dist/2111.creaditor.bundle.js +23 -0
  57. package/dist/2111.creaditor.bundle.js.gz +0 -0
  58. package/dist/2118.creaditor.bundle.js +23 -0
  59. package/dist/2118.creaditor.bundle.js.gz +0 -0
  60. package/dist/2182.creaditor.bundle.js +27 -0
  61. package/dist/2182.creaditor.bundle.js.gz +0 -0
  62. package/dist/2340.creaditor.bundle.js +440 -0
  63. package/dist/2340.creaditor.bundle.js.LICENSE.txt +11 -0
  64. package/dist/2340.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  65. package/dist/2340.creaditor.bundle.js.gz +0 -0
  66. package/dist/2357.creaditor.bundle.js +25 -0
  67. package/dist/2357.creaditor.bundle.js.gz +0 -0
  68. package/dist/2365.creaditor.bundle.js +25 -0
  69. package/dist/2365.creaditor.bundle.js.gz +0 -0
  70. package/dist/2397.creaditor.bundle.js +661 -0
  71. package/dist/2397.creaditor.bundle.js.LICENSE.txt +11 -0
  72. package/dist/2397.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  73. package/dist/2397.creaditor.bundle.js.gz +0 -0
  74. package/dist/2416.creaditor.bundle.js +32 -0
  75. package/dist/2416.creaditor.bundle.js.gz +0 -0
  76. package/dist/2455.creaditor.bundle.js +75 -0
  77. package/dist/2455.creaditor.bundle.js.LICENSE.txt +1 -0
  78. package/dist/2455.creaditor.bundle.js.gz +0 -0
  79. package/dist/2475.creaditor.bundle.js +177 -0
  80. package/dist/2475.creaditor.bundle.js.LICENSE.txt +23 -0
  81. package/dist/2475.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  82. package/dist/2475.creaditor.bundle.js.gz +0 -0
  83. package/dist/2543.creaditor.bundle.js +112 -0
  84. package/dist/2543.creaditor.bundle.js.gz +0 -0
  85. package/dist/2605.creaditor.bundle.js +171 -0
  86. package/dist/2605.creaditor.bundle.js.LICENSE.txt +11 -0
  87. package/dist/2605.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  88. package/dist/2605.creaditor.bundle.js.gz +0 -0
  89. package/dist/2609.creaditor.bundle.js +2 -0
  90. package/dist/2609.creaditor.bundle.js.LICENSE.txt +10 -0
  91. package/dist/2609.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  92. package/dist/2609.creaditor.bundle.js.gz +0 -0
  93. package/dist/2721.creaditor.bundle.js +11 -0
  94. package/dist/2721.creaditor.bundle.js.gz +0 -0
  95. package/dist/2757.creaditor.bundle.js +1 -0
  96. package/dist/2757.creaditor.bundle.js.gz +0 -0
  97. package/dist/296.creaditor.bundle.js +11 -0
  98. package/dist/296.creaditor.bundle.js.LICENSE.txt +11 -0
  99. package/dist/296.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  100. package/dist/296.creaditor.bundle.js.gz +0 -0
  101. package/dist/2977.creaditor.bundle.js +53 -0
  102. package/dist/2977.creaditor.bundle.js.gz +0 -0
  103. package/dist/3020.creaditor.bundle.js +13 -0
  104. package/dist/3020.creaditor.bundle.js.gz +0 -0
  105. package/dist/308.creaditor.bundle.js +16 -0
  106. package/dist/308.creaditor.bundle.js.gz +0 -0
  107. package/dist/315.creaditor.bundle.js +142 -0
  108. package/dist/315.creaditor.bundle.js.LICENSE.txt +11 -0
  109. package/dist/315.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  110. package/dist/315.creaditor.bundle.js.gz +0 -0
  111. package/dist/335.creaditor.bundle.js +23 -0
  112. package/dist/335.creaditor.bundle.js.gz +0 -0
  113. package/dist/3381.creaditor.bundle.js +40 -0
  114. package/dist/3381.creaditor.bundle.js.gz +0 -0
  115. package/dist/3453.creaditor.bundle.js +23 -0
  116. package/dist/3453.creaditor.bundle.js.gz +0 -0
  117. package/dist/3585.creaditor.bundle.js +1 -0
  118. package/dist/3585.creaditor.bundle.js.gz +0 -0
  119. package/dist/3614.creaditor.bundle.js +26 -0
  120. package/dist/3614.creaditor.bundle.js.gz +0 -0
  121. package/dist/3622.creaditor.bundle.js +236 -0
  122. package/dist/3622.creaditor.bundle.js.gz +0 -0
  123. package/dist/3691.creaditor.bundle.js +2 -0
  124. package/dist/3691.creaditor.bundle.js.LICENSE.txt +1 -0
  125. package/dist/3691.creaditor.bundle.js.gz +0 -0
  126. package/dist/3727.creaditor.bundle.js +227 -0
  127. package/dist/3727.creaditor.bundle.js.gz +0 -0
  128. package/dist/3732.creaditor.bundle.js +15 -0
  129. package/dist/3732.creaditor.bundle.js.gz +0 -0
  130. package/dist/3755.creaditor.bundle.js +94 -0
  131. package/dist/3755.creaditor.bundle.js.gz +0 -0
  132. package/dist/3778.creaditor.bundle.js +1 -0
  133. package/dist/3778.creaditor.bundle.js.gz +0 -0
  134. package/dist/3794.creaditor.bundle.js +34 -0
  135. package/dist/3794.creaditor.bundle.js.gz +0 -0
  136. package/dist/3831.creaditor.bundle.js +23 -0
  137. package/dist/3831.creaditor.bundle.js.gz +0 -0
  138. package/dist/3847.creaditor.bundle.js +34 -0
  139. package/dist/3847.creaditor.bundle.js.gz +0 -0
  140. package/dist/4.creaditor.bundle.js +6 -0
  141. package/dist/4.creaditor.bundle.js.gz +0 -0
  142. package/dist/4050.creaditor.bundle.js +424 -0
  143. package/dist/4050.creaditor.bundle.js.LICENSE.txt +10 -0
  144. package/dist/4050.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  145. package/dist/4050.creaditor.bundle.js.gz +0 -0
  146. package/dist/4128.creaditor.bundle.js +395 -0
  147. package/dist/4128.creaditor.bundle.js.LICENSE.txt +10 -0
  148. package/dist/4128.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  149. package/dist/4128.creaditor.bundle.js.gz +0 -0
  150. package/dist/4159.creaditor.bundle.js +453 -0
  151. package/dist/4159.creaditor.bundle.js.LICENSE.txt +10 -0
  152. package/dist/4159.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  153. package/dist/4159.creaditor.bundle.js.gz +0 -0
  154. package/dist/42.creaditor.bundle.js +18 -0
  155. package/dist/42.creaditor.bundle.js.gz +0 -0
  156. package/dist/4212.creaditor.bundle.js +72 -0
  157. package/dist/4212.creaditor.bundle.js.gz +0 -0
  158. package/dist/4455.creaditor.bundle.js +16 -0
  159. package/dist/4455.creaditor.bundle.js.gz +0 -0
  160. package/dist/4473.creaditor.bundle.js +51 -0
  161. package/dist/4473.creaditor.bundle.js.gz +0 -0
  162. package/dist/4569.creaditor.bundle.js +23 -0
  163. package/dist/4569.creaditor.bundle.js.gz +0 -0
  164. package/dist/4648.creaditor.bundle.js +122 -0
  165. package/dist/4648.creaditor.bundle.js.gz +0 -0
  166. package/dist/4661.creaditor.bundle.js +25 -0
  167. package/dist/4661.creaditor.bundle.js.gz +0 -0
  168. package/dist/4807.creaditor.bundle.js +105 -0
  169. package/dist/4807.creaditor.bundle.js.gz +0 -0
  170. package/dist/4900.creaditor.bundle.js +19 -0
  171. package/dist/4900.creaditor.bundle.js.gz +0 -0
  172. package/dist/494.creaditor.bundle.js +23 -0
  173. package/dist/494.creaditor.bundle.js.gz +0 -0
  174. package/dist/5034.creaditor.bundle.js +27 -0
  175. package/dist/5034.creaditor.bundle.js.gz +0 -0
  176. package/dist/5090.creaditor.bundle.js +173 -0
  177. package/dist/5090.creaditor.bundle.js.gz +0 -0
  178. package/dist/5204.creaditor.bundle.js +1 -0
  179. package/dist/5204.creaditor.bundle.js.gz +0 -0
  180. package/dist/5246.creaditor.bundle.js +900 -0
  181. package/dist/5246.creaditor.bundle.js.LICENSE.txt +10 -0
  182. package/dist/5246.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  183. package/dist/5246.creaditor.bundle.js.gz +0 -0
  184. package/dist/5320.creaditor.bundle.js +408 -0
  185. package/dist/5320.creaditor.bundle.js.LICENSE.txt +11 -0
  186. package/dist/5320.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  187. package/dist/5320.creaditor.bundle.js.gz +0 -0
  188. package/dist/5349.creaditor.bundle.js +289 -0
  189. package/dist/5349.creaditor.bundle.js.LICENSE.txt +17 -0
  190. package/dist/5349.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  191. package/dist/5349.creaditor.bundle.js.gz +0 -0
  192. package/dist/5478.creaditor.bundle.js +18 -0
  193. package/dist/5478.creaditor.bundle.js.gz +0 -0
  194. package/dist/5581.creaditor.bundle.js +23 -0
  195. package/dist/5581.creaditor.bundle.js.gz +0 -0
  196. package/dist/5848.creaditor.bundle.js +14 -0
  197. package/dist/5848.creaditor.bundle.js.LICENSE.txt +5 -0
  198. package/dist/5848.creaditor.bundle.js.gz +0 -0
  199. package/dist/5910.creaditor.bundle.js +11 -0
  200. package/dist/5910.creaditor.bundle.js.gz +0 -0
  201. package/dist/5978.creaditor.bundle.js +73 -0
  202. package/dist/5978.creaditor.bundle.js.gz +0 -0
  203. package/dist/5985.creaditor.bundle.js +109 -0
  204. package/dist/5985.creaditor.bundle.js.gz +0 -0
  205. package/dist/6046.creaditor.bundle.js +36 -0
  206. package/dist/6046.creaditor.bundle.js.gz +0 -0
  207. package/dist/6052.creaditor.bundle.js +113 -0
  208. package/dist/6052.creaditor.bundle.js.gz +0 -0
  209. package/dist/6069.creaditor.bundle.js +1 -0
  210. package/dist/6069.creaditor.bundle.js.gz +0 -0
  211. package/dist/6080.creaditor.bundle.js +9 -0
  212. package/dist/6080.creaditor.bundle.js.gz +0 -0
  213. package/dist/6178.creaditor.bundle.js +60 -0
  214. package/dist/6178.creaditor.bundle.js.gz +0 -0
  215. package/dist/6196.creaditor.bundle.js +12 -0
  216. package/dist/6196.creaditor.bundle.js.gz +0 -0
  217. package/dist/6220.creaditor.bundle.js +381 -0
  218. package/dist/6220.creaditor.bundle.js.LICENSE.txt +10 -0
  219. package/dist/6220.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  220. package/dist/6220.creaditor.bundle.js.gz +0 -0
  221. package/dist/6234.creaditor.bundle.js +1 -0
  222. package/dist/6234.creaditor.bundle.js.gz +0 -0
  223. package/dist/6236.creaditor.bundle.js +51 -0
  224. package/dist/6236.creaditor.bundle.js.gz +0 -0
  225. package/dist/6308.creaditor.bundle.js +102 -0
  226. package/dist/6308.creaditor.bundle.js.gz +0 -0
  227. package/dist/6354.creaditor.bundle.js +179 -0
  228. package/dist/6354.creaditor.bundle.js.LICENSE.txt +21 -0
  229. package/dist/6354.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  230. package/dist/6354.creaditor.bundle.js.gz +0 -0
  231. package/dist/6430.creaditor.bundle.js +131 -0
  232. package/dist/6430.creaditor.bundle.js.gz +0 -0
  233. package/dist/6479.creaditor.bundle.js +24 -0
  234. package/dist/6479.creaditor.bundle.js.gz +0 -0
  235. package/dist/6491.creaditor.bundle.js +79 -0
  236. package/dist/6491.creaditor.bundle.js.gz +0 -0
  237. package/dist/6524.creaditor.bundle.js +20 -0
  238. package/dist/6524.creaditor.bundle.js.gz +0 -0
  239. package/dist/6577.creaditor.bundle.js +21 -0
  240. package/dist/6577.creaditor.bundle.js.gz +0 -0
  241. package/dist/6588.creaditor.bundle.js +99 -0
  242. package/dist/6588.creaditor.bundle.js.gz +0 -0
  243. package/dist/6593.creaditor.bundle.js +14 -0
  244. package/dist/6593.creaditor.bundle.js.gz +0 -0
  245. package/dist/6652.creaditor.bundle.js +1 -0
  246. package/dist/6652.creaditor.bundle.js.gz +0 -0
  247. package/dist/6700.creaditor.bundle.js +1 -0
  248. package/dist/6700.creaditor.bundle.js.gz +0 -0
  249. package/dist/6724.creaditor.bundle.js +75 -0
  250. package/dist/6724.creaditor.bundle.js.LICENSE.txt +1 -0
  251. package/dist/6724.creaditor.bundle.js.gz +0 -0
  252. package/dist/6737.creaditor.bundle.js +61 -0
  253. package/dist/6737.creaditor.bundle.js.gz +0 -0
  254. package/dist/6807.creaditor.bundle.js +21 -0
  255. package/dist/6807.creaditor.bundle.js.gz +0 -0
  256. package/dist/6826.creaditor.bundle.js +23 -0
  257. package/dist/6826.creaditor.bundle.js.gz +0 -0
  258. package/dist/6848.creaditor.bundle.js +130 -0
  259. package/dist/6848.creaditor.bundle.js.gz +0 -0
  260. package/dist/6883.creaditor.bundle.js +14 -0
  261. package/dist/6883.creaditor.bundle.js.gz +0 -0
  262. package/dist/6892.creaditor.bundle.js +17 -0
  263. package/dist/6892.creaditor.bundle.js.LICENSE.txt +5 -0
  264. package/dist/6892.creaditor.bundle.js.gz +0 -0
  265. package/dist/6961.creaditor.bundle.js +8 -0
  266. package/dist/6961.creaditor.bundle.js.LICENSE.txt +11 -0
  267. package/dist/6961.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  268. package/dist/6961.creaditor.bundle.js.gz +0 -0
  269. package/dist/6964.creaditor.bundle.js +162 -0
  270. package/dist/6964.creaditor.bundle.js.LICENSE.txt +17 -0
  271. package/dist/6964.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  272. package/dist/6964.creaditor.bundle.js.gz +0 -0
  273. package/dist/6993.creaditor.bundle.js +46 -0
  274. package/dist/6993.creaditor.bundle.js.gz +0 -0
  275. package/dist/7035.creaditor.bundle.js +67 -0
  276. package/dist/7035.creaditor.bundle.js.gz +0 -0
  277. package/dist/709.creaditor.bundle.js +18 -0
  278. package/dist/709.creaditor.bundle.js.gz +0 -0
  279. package/dist/7149.creaditor.bundle.js +23 -0
  280. package/dist/7149.creaditor.bundle.js.gz +0 -0
  281. package/dist/7302.creaditor.bundle.js +2 -0
  282. package/dist/7302.creaditor.bundle.js.LICENSE.txt +1 -0
  283. package/dist/7302.creaditor.bundle.js.gz +0 -0
  284. package/dist/7490.creaditor.bundle.js +1 -0
  285. package/dist/7490.creaditor.bundle.js.gz +0 -0
  286. package/dist/7511.creaditor.bundle.js +21 -0
  287. package/dist/7511.creaditor.bundle.js.LICENSE.txt +5 -0
  288. package/dist/7511.creaditor.bundle.js.gz +0 -0
  289. package/dist/7576.creaditor.bundle.js +23 -0
  290. package/dist/7576.creaditor.bundle.js.gz +0 -0
  291. package/dist/7597.creaditor.bundle.js +47 -0
  292. package/dist/7597.creaditor.bundle.js.gz +0 -0
  293. package/dist/7804.creaditor.bundle.js +60 -0
  294. package/dist/7804.creaditor.bundle.js.gz +0 -0
  295. package/dist/7837.creaditor.bundle.js +63 -0
  296. package/dist/7837.creaditor.bundle.js.gz +0 -0
  297. package/dist/7911.creaditor.bundle.js +965 -0
  298. package/dist/7911.creaditor.bundle.js.gz +0 -0
  299. package/dist/7946.creaditor.bundle.js +1 -0
  300. package/dist/7946.creaditor.bundle.js.gz +0 -0
  301. package/dist/7988.creaditor.bundle.js +440 -0
  302. package/dist/7988.creaditor.bundle.js.LICENSE.txt +11 -0
  303. package/dist/7988.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  304. package/dist/7988.creaditor.bundle.js.gz +0 -0
  305. package/dist/8073.creaditor.bundle.js +12 -0
  306. package/dist/8073.creaditor.bundle.js.gz +0 -0
  307. package/dist/8251.creaditor.bundle.js +23 -0
  308. package/dist/8251.creaditor.bundle.js.gz +0 -0
  309. package/dist/8287.creaditor.bundle.js +8 -0
  310. package/dist/8287.creaditor.bundle.js.gz +0 -0
  311. package/dist/8290.creaditor.bundle.js +23 -0
  312. package/dist/8290.creaditor.bundle.js.gz +0 -0
  313. package/dist/8312.creaditor.bundle.js +44 -0
  314. package/dist/8312.creaditor.bundle.js.gz +0 -0
  315. package/dist/8333.creaditor.bundle.js +40 -0
  316. package/dist/8333.creaditor.bundle.js.gz +0 -0
  317. package/dist/8522.creaditor.bundle.js +20 -0
  318. package/dist/8522.creaditor.bundle.js.gz +0 -0
  319. package/dist/8550.creaditor.bundle.js +2 -0
  320. package/dist/8550.creaditor.bundle.js.LICENSE.txt +11 -0
  321. package/dist/8550.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  322. package/dist/8550.creaditor.bundle.js.gz +0 -0
  323. package/dist/8642.creaditor.bundle.js +274 -0
  324. package/dist/8642.creaditor.bundle.js.gz +0 -0
  325. package/dist/865.creaditor.bundle.js +28 -0
  326. package/dist/865.creaditor.bundle.js.gz +0 -0
  327. package/dist/8718.creaditor.bundle.js +93 -0
  328. package/dist/8718.creaditor.bundle.js.gz +0 -0
  329. package/dist/8724.creaditor.bundle.js +15 -0
  330. package/dist/8724.creaditor.bundle.js.gz +0 -0
  331. package/dist/8885.creaditor.bundle.js +23 -0
  332. package/dist/8885.creaditor.bundle.js.gz +0 -0
  333. package/dist/9000.creaditor.bundle.js +1 -0
  334. package/dist/9000.creaditor.bundle.js.gz +0 -0
  335. package/dist/9001.creaditor.bundle.js +12 -0
  336. package/dist/9001.creaditor.bundle.js.gz +0 -0
  337. package/dist/901.creaditor.bundle.js +274 -0
  338. package/dist/901.creaditor.bundle.js.gz +0 -0
  339. package/dist/9050.creaditor.bundle.js +19 -0
  340. package/dist/9050.creaditor.bundle.js.gz +0 -0
  341. package/dist/9113.creaditor.bundle.js +407 -0
  342. package/dist/9113.creaditor.bundle.js.gz +0 -0
  343. package/dist/9136.creaditor.bundle.js +33 -0
  344. package/dist/9136.creaditor.bundle.js.gz +0 -0
  345. package/dist/9201.creaditor.bundle.js +130 -0
  346. package/dist/9201.creaditor.bundle.js.LICENSE.txt +20 -0
  347. package/dist/9201.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  348. package/dist/9201.creaditor.bundle.js.gz +0 -0
  349. package/dist/9203.creaditor.bundle.js +956 -0
  350. package/dist/9203.creaditor.bundle.js.LICENSE.txt +10 -0
  351. package/dist/9203.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  352. package/dist/9203.creaditor.bundle.js.gz +0 -0
  353. package/dist/9265.creaditor.bundle.js +1 -0
  354. package/dist/9265.creaditor.bundle.js.gz +0 -0
  355. package/dist/9394.creaditor.bundle.js +25 -0
  356. package/dist/9394.creaditor.bundle.js.gz +0 -0
  357. package/dist/9476.creaditor.bundle.js +72 -0
  358. package/dist/9476.creaditor.bundle.js.LICENSE.txt +5 -0
  359. package/dist/9476.creaditor.bundle.js.gz +0 -0
  360. package/dist/9530.creaditor.bundle.js +69 -0
  361. package/dist/9530.creaditor.bundle.js.gz +0 -0
  362. package/dist/9628.creaditor.bundle.js +455 -0
  363. package/dist/9628.creaditor.bundle.js.LICENSE.txt +10 -0
  364. package/dist/9628.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  365. package/dist/9628.creaditor.bundle.js.gz +0 -0
  366. package/dist/966.creaditor.bundle.js +23 -0
  367. package/dist/966.creaditor.bundle.js.gz +0 -0
  368. package/dist/9766.creaditor.bundle.js +267 -0
  369. package/dist/9766.creaditor.bundle.js.gz +0 -0
  370. package/dist/9800.creaditor.bundle.js +1 -0
  371. package/dist/9800.creaditor.bundle.js.gz +0 -0
  372. package/dist/9838.creaditor.bundle.js +65 -0
  373. package/dist/9838.creaditor.bundle.js.LICENSE.txt +17 -0
  374. package/dist/9838.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  375. package/dist/9838.creaditor.bundle.js.gz +0 -0
  376. package/dist/9928.creaditor.bundle.js +32 -0
  377. package/dist/9928.creaditor.bundle.js.gz +0 -0
  378. package/dist/creaditor-starterkit.js +5395 -0
  379. package/dist/creaditor-starterkit.js.LICENSE.txt +110 -0
  380. package/dist/creaditor-starterkit.js.LICENSE.txt.gz +0 -0
  381. package/dist/creaditor-starterkit.js.gz +0 -0
  382. package/dist/creaditor.bundle.js +5394 -0
  383. package/dist/creaditor.bundle.js.LICENSE.txt +110 -0
  384. package/dist/creaditor.bundle.js.LICENSE.txt.gz +0 -0
  385. package/dist/creaditor.bundle.js.gz +0 -0
  386. package/dist/index.html +1 -0
  387. package/dist/index.html.gz +0 -0
  388. package/dist/service-worker.js +1 -0
  389. package/dist/service-worker.js.gz +0 -0
  390. package/dist/workbox-e24b9bdc.js +1 -0
  391. package/dist/workbox-e24b9bdc.js.gz +0 -0
  392. package/package.json +35 -0
@@ -0,0 +1,44 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8312],{8312:(e,t,i)=>{i.r(t),i.d(t,{PreferenceSetting:()=>l});var C=i(56666),r=i(21293);class l extends r.oi{constructor(){super()}render(){return r.dy`
2
+ <svg style="display:block;margin:auto;margin-top:50px"
3
+ width="${this.width}"
4
+ height="${this.height}" viewBox="0 0 150 153" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path d="M75 150C116.421 150 150 116.421 150 75C150 33.5786 116.421 0 75 0C33.5786 0 0 33.5786 0 75C0 116.421 33.5786 150 75 150Z" fill="url(#paint0_linear_1_259)"/>
6
+ <g filter="url(#filter0_d_1_259)">
7
+ <mask id="mask0_1_259" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="150" height="150">
8
+ <path d="M75 150C116.421 150 150 116.421 150 75C150 33.5786 116.421 0 75 0C33.5786 0 0 33.5786 0 75C0 116.421 33.5786 150 75 150Z" fill="url(#paint1_linear_1_259)"/>
9
+ </mask>
10
+ <g mask="url(#mask0_1_259)">
11
+ <path d="M118 43H32C29.2386 43 27 45.2386 27 48V153C27 155.761 29.2386 158 32 158H118C120.761 158 123 155.761 123 153V48C123 45.2386 120.761 43 118 43Z" fill="white"/>
12
+ </g>
13
+ </g>
14
+ <path d="M66 53H40C38.3431 53 37 54.3431 37 56C37 57.6569 38.3431 59 40 59H66C67.6569 59 69 57.6569 69 56C69 54.3431 67.6569 53 66 53Z" fill="#E1EBFA"/>
15
+ <path d="M66 95H40C38.3431 95 37 96.3431 37 98C37 99.6569 38.3431 101 40 101H66C67.6569 101 69 99.6569 69 98C69 96.3431 67.6569 95 66 95Z" fill="#E1EBFA"/>
16
+ <path d="M108 68H42C39.7909 68 38 69.7909 38 72V82C38 84.2091 39.7909 86 42 86H108C110.209 86 112 84.2091 112 82V72C112 69.7909 110.209 68 108 68Z" stroke="#1485FD" stroke-width="2"/>
17
+ <path d="M108 109H42C39.2386 109 37 111.239 37 114V122C37 124.761 39.2386 127 42 127H108C110.761 127 113 124.761 113 122V114C113 111.239 110.761 109 108 109Z" fill="#DFEAFB"/>
18
+ <path d="M53 32C55.2091 32 57 30.2091 57 28C57 25.7909 55.2091 24 53 24C50.7909 24 49 25.7909 49 28C49 30.2091 50.7909 32 53 32Z" fill="white"/>
19
+ <path d="M75 32C77.2091 32 79 30.2091 79 28C79 25.7909 77.2091 24 75 24C72.7909 24 71 25.7909 71 28C71 30.2091 72.7909 32 75 32Z" fill="#1485FD"/>
20
+ <path d="M97 32C99.2091 32 101 30.2091 101 28C101 25.7909 99.2091 24 97 24C94.7909 24 93 25.7909 93 28C93 30.2091 94.7909 32 97 32Z" fill="white"/>
21
+ <path d="M86 88C88.7614 88 91 85.7614 91 83C91 80.2386 88.7614 78 86 78C83.2386 78 81 80.2386 81 83C81 85.7614 83.2386 88 86 88Z" fill="#DFEAFB"/>
22
+ <path d="M89.907 104.37C89.107 104.37 88.36 104.37 87.68 104.327C86.8424 104.27 86.0367 103.984 85.3514 103.499C84.6662 103.014 84.1279 102.349 83.796 101.578L79.577 93.24C79.2676 92.8797 79.1131 92.4117 79.1471 91.938C79.1812 91.4643 79.4012 91.0233 79.759 90.711C80.0522 90.4754 80.4179 90.3485 80.794 90.352C81.0709 90.3601 81.3428 90.4281 81.5909 90.5513C81.8389 90.6746 82.0573 90.8502 82.231 91.066L84.147 93.681L84.176 93.715V83.78C84.176 83.2871 84.3718 82.8144 84.7203 82.4659C85.0689 82.1173 85.5416 81.9215 86.0345 81.9215C86.5274 81.9215 87.0001 82.1173 87.3487 82.4659C87.6972 82.8144 87.893 83.2871 87.893 83.78V90.28C87.8714 90.0408 87.8999 89.7998 87.9766 89.5722C88.0534 89.3446 88.1766 89.1355 88.3386 88.9582C88.5007 88.781 88.6978 88.6394 88.9176 88.5425C89.1373 88.4456 89.3748 88.3956 89.615 88.3956C89.8552 88.3956 90.0927 88.4456 90.3124 88.5425C90.5322 88.6394 90.7294 88.781 90.8914 88.9582C91.0534 89.1355 91.1767 89.3446 91.2534 89.5722C91.3301 89.7998 91.3586 90.0408 91.337 90.28V91.635C91.3154 91.3958 91.3439 91.1548 91.4206 90.9272C91.4974 90.6996 91.6206 90.4905 91.7826 90.3132C91.9447 90.136 92.1418 89.9944 92.3616 89.8975C92.5813 89.8006 92.8188 89.7506 93.059 89.7506C93.2992 89.7506 93.5367 89.8006 93.7564 89.8975C93.9762 89.9944 94.1734 90.136 94.3354 90.3132C94.4974 90.4905 94.6207 90.6996 94.6974 90.9272C94.7741 91.1548 94.8026 91.3958 94.781 91.635V92.679C94.7594 92.4398 94.7879 92.1988 94.8646 91.9712C94.9414 91.7436 95.0646 91.5345 95.2266 91.3572C95.3887 91.18 95.5858 91.0384 95.8056 90.9415C96.0253 90.8446 96.2628 90.7946 96.503 90.7946C96.7432 90.7946 96.9807 90.8446 97.2004 90.9415C97.4202 91.0384 97.6174 91.18 97.7794 91.3572C97.9414 91.5345 98.0647 91.7436 98.1414 91.9712C98.2181 92.1988 98.2466 92.4398 98.225 92.679V99.016C98.191 100.965 97.31 104.251 94.211 104.251C93.986 104.261 92.08 104.371 89.911 104.371L89.907 104.37Z" fill="#1485FD" stroke="white"/>
23
+ <defs>
24
+ <filter id="filter0_d_1_259" x="21" y="34" width="108" height="119" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
25
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
26
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
27
+ <feOffset dy="-3"/>
28
+ <feGaussianBlur stdDeviation="3"/>
29
+ <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.803922 0 0 0 0 0.85098 0 0 0 0.349 0"/>
30
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1_259"/>
31
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1_259" result="shape"/>
32
+ </filter>
33
+ <linearGradient id="paint0_linear_1_259" x1="75" y1="0" x2="75" y2="150" gradientUnits="userSpaceOnUse">
34
+ <stop stop-color="#E3ECFA"/>
35
+ <stop offset="1" stop-color="#DAE7FF"/>
36
+ </linearGradient>
37
+ <linearGradient id="paint1_linear_1_259" x1="75" y1="0" x2="75" y2="150" gradientUnits="userSpaceOnUse">
38
+ <stop stop-color="#E3ECFA"/>
39
+ <stop offset="1" stop-color="#DAE7FF"/>
40
+ </linearGradient>
41
+ </defs>
42
+ </svg>
43
+
44
+ `}}(0,C.Z)(l,"properties",{width:{},height:{}}),customElements.define("cdtr-ilustration-preference",l)}}]);
Binary file
@@ -0,0 +1,40 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8333],{48333:(t,e,i)=>{i.r(e),i.d(e,{EditorContainer:()=>o});var n=i(56666),a=i(21293);class o extends a.oi{constructor(){super(),this.pt="10px",this.isAnimate=!0}render(){return a.dy`<div
2
+ style="padding-top:${this.pt}"
3
+ class="container ${this.isAnimate?"animate":""}"
4
+ >
5
+ <slot></slot>
6
+ </div> `}}(0,n.Z)(o,"styles",a.iv`
7
+ //create fade in animation
8
+ :host{
9
+ direction: var(--direction-locale);
10
+ }
11
+ :host *{
12
+ direction: var(--direction-locale);
13
+ }
14
+ .container:hover {
15
+ background: #9c9c9c0b;
16
+ }
17
+ .container {
18
+ padding-left: 15px;
19
+ padding-right: 15px;
20
+ display: block;
21
+ width: 100%;
22
+ min-height: 20px;
23
+ padding-bottom: 10px;
24
+ box-sizing: border-box;
25
+ }
26
+ .animate {
27
+ animation: slide-in 0.2s ease-in-out;
28
+ }
29
+ @keyframes slide-in {
30
+ from {
31
+ opacity: 0;
32
+ transform: translateX(10%);
33
+ }
34
+
35
+ to {
36
+ opacity: 1;
37
+ transform: translateX(0%);
38
+ }
39
+ }
40
+ `),(0,n.Z)(o,"properties",{pt:{type:String},isAnimate:{type:Boolean}}),customElements.define("cdtr-editor-container",o)}}]);
Binary file
@@ -0,0 +1,20 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8522],{78522:(t,e,i)=>{i.r(e),i.d(e,{FilterIcon:()=>l});var r=i(56666),s=i(21293);class l extends s.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.dy`<svg
2
+ style="${this.iconStyle}"
3
+ width="${this.width}"
4
+ height="${this.height}"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ role="img"
7
+ viewBox="0 0 24 24"
8
+ ariaLabelledby="filterIconTitle"
9
+ stroke="black"
10
+ strokeWidth="1"
11
+ strokeLinecap="square"
12
+ strokeLinejoin="round"
13
+ fill="none"
14
+ color="black"
15
+ >
16
+ <title id="filterIconTitle">Filter</title>
17
+ <path d="M10 12.261L4.028 3.972h16L14 12.329V17l-4 3z"></path>
18
+ </svg>`}}(0,r.Z)(l,"styles",s.iv`
19
+
20
+ `),(0,r.Z)(l,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-filter-icon",l)}}]);
Binary file
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 8550.creaditor.bundle.js.LICENSE.txt */
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8550],{5015:()=>{function e(e){if("string"!=typeof e||!e)throw new Error("expected a non-empty string, got: "+e)}function t(e){if("number"!=typeof e)throw new Error("expected a number, got: "+e)}const n=1,o=1,i="emoji",r="keyvalue",s="favorites",a="tokens",c="tokens",l="unicode",d="count",u="group",h="order",p="group-order",m="eTag",f="url",g="skinTone",b="readonly",y="readwrite",v="skinUnicodes",k="skinUnicodes";function $(e){return function(e,t){const n=new Set,o=[];for(const i of e){const e=t(i);n.has(e)||(n.add(e),o.push(i))}return o}(e,(e=>e.unicode))}const w={},_={},E={};function j(e,t,n){n.onerror=()=>t(n.error),n.onblocked=()=>t(new Error("IDB blocked")),n.onsuccess=()=>e(n.result)}async function S(e){const t=await new Promise(((t,m)=>{const f=indexedDB.open(e,n);w[e]=f,f.onupgradeneeded=e=>{e.oldVersion<o&&function(e){function t(t,n,o){const i=n?e.createObjectStore(t,{keyPath:n}):e.createObjectStore(t);if(o)for(const[e,[t,n]]of Object.entries(o))i.createIndex(e,t,{multiEntry:n});return i}t(r),t(i,l,{[c]:[a,!0],[p]:[[u,h]],[v]:[k,!0]}),t(s,void 0,{[d]:[""]})}(f.result)},j(t,m,f)}));return t.onclose=()=>x(e),t}function A(e,t,n,o){return new Promise(((i,r)=>{const s=e.transaction(t,n,{durability:"relaxed"}),a="string"==typeof t?s.objectStore(t):t.map((e=>s.objectStore(e)));let c;o(a,s,(e=>{c=e})),s.oncomplete=()=>i(c),s.onerror=()=>r(s.error)}))}function x(e){const t=w[e],n=t&&t.result;if(n){n.close();const t=E[e];if(t)for(const e of t)e()}delete w[e],delete _[e],delete E[e]}const T=new Set([":D","XD",":'D","O:)",":X",":P",";P","XP",":L",":Z",":j","8D","XO","8)",":B",":O",":S",":'o","Dx","X(","D:",":C",">0)",":3","</3","<3","\\M/",":E","8#"]);function C(e){return e.split(/[\s_]+/).map((e=>!e.match(/\w/)||T.has(e)?e.toLowerCase():e.replace(/[)(:,]/g,"").replace(/’/g,"'").toLowerCase())).filter(Boolean)}const P=2;function M(e){return e.filter(Boolean).map((e=>e.toLowerCase())).filter((e=>e.length>=P))}function O(e,t,n,o){e[t](n).onsuccess=e=>o&&o(e.target.result)}function L(e,t,n){O(e,"get",t,n)}function z(e,t,n){O(e,"getAll",t,n)}function I(e){e.commit&&e.commit()}function N(e,t){const n=function(e,t){let n=e[0];for(let o=1;o<e.length;o++){const i=e[o];t(n)>t(i)&&(n=i)}return n}(e,(e=>e.length)),o=[];for(const i of n)e.some((e=>-1===e.findIndex((e=>t(e)===t(i)))))||o.push(i);return o}async function U(e,t,n,o){try{const s=function(e){return e.map((({annotation:e,emoticon:t,group:n,order:o,shortcodes:i,skins:r,tags:s,emoji:a,version:c})=>{const l={annotation:e,group:n,order:o,tags:s,tokens:[...new Set(M([...(i||[]).map(C).flat(),...(s||[]).map(C).flat(),...C(e),t]))].sort(),unicode:a,version:c};if(t&&(l.emoticon=t),i&&(l.shortcodes=i),r){l.skinTones=[],l.skinUnicodes=[],l.skinVersions=[];for(const{tone:e,emoji:t,version:n}of r)l.skinTones.push(e),l.skinUnicodes.push(t),l.skinVersions.push(n)}return l}))}(t);await A(e,[i,r],y,(([e,t],i)=>{let r,a,c=0;function l(){2==++c&&function(){if(r===o&&a===n)return;e.clear();for(const t of s)e.put(t);t.put(o,m),t.put(n,f),I(i)}()}L(t,m,(e=>{r=e,l()})),L(t,f,(e=>{a=e,l()}))}))}finally{}}async function B(e,t){const n=M(C(t));return n.length?A(e,i,b,((e,t,o)=>{const i=[],r=()=>{const e=N(i,(e=>e.unicode));o(e.sort(((e,t)=>e.order<t.order?-1:1)))};for(let t=0;t<n.length;t++){const o=n[t],s=t===n.length-1?IDBKeyRange.bound(o,o+"￿",!1,!0):IDBKeyRange.only(o);z(e.index(c),s,(e=>{i.push(e),i.length===n.length&&r()}))}})):[]}async function R(e,t){const n=await B(e,t);if(!n.length){const n=e=>(e.shortcodes||[]).includes(t.toLowerCase());return await async function(e,t){return A(e,i,b,((e,n,o)=>{let i;const r=()=>{e.getAll(i&&IDBKeyRange.lowerBound(i,!0),50).onsuccess=e=>{const n=e.target.result;for(const e of n)if(i=e.unicode,t(e))return o(e);if(n.length<50)return o();r()}};r()}))}(e,n)||null}return n.filter((e=>{const n=(e.shortcodes||[]).map((e=>e.toLowerCase()));return n.includes(t.toLowerCase())}))[0]||null}function D(e,t,n){return A(e,t,b,((e,t,o)=>L(e,n,o)))}const H="";const W=["name","url"];function F(e){!function(e){const t=e&&Array.isArray(e),n=t&&e.length&&(!e[0]||W.some((t=>!(t in e[0]))));if(!t||n)throw new Error("Custom emojis are in the wrong format")}(e);const t=(e,t)=>e.name.toLowerCase()<t.name.toLowerCase()?-1:1,n=e.sort(t),o=function(e,t){const n=new Map;for(const o of e){const e=t(o);for(const t of e){let e=n;for(let n=0;n<t.length;n++){const o=t.charAt(n);let i=e.get(o);i||(i=new Map,e.set(o,i)),e=i}let i=e.get(H);i||(i=[],e.set(H,i)),i.push(o)}}return(e,t)=>{let o=n;for(let t=0;t<e.length;t++){const n=e.charAt(t),i=o.get(n);if(!i)return[];o=i}if(t)return o.get(H)||[];const i=[],r=[o];for(;r.length;){const e=[...r.shift().entries()].sort(((e,t)=>e[0]<t[0]?-1:1));for(const[t,n]of e)t===H?i.push(...n):r.push(n)}return i}}(e,(e=>{const t=new Set;if(e.shortcodes)for(const n of e.shortcodes)for(const e of C(n))t.add(e);return t})),i=e=>o(e,!0),r=e=>o(e,!1),s=new Map,a=new Map;for(const t of e){a.set(t.name.toLowerCase(),t);for(const e of t.shortcodes||[])s.set(e.toLowerCase(),t)}return{all:n,search:e=>{const n=C(e);return N(n.map(((e,t)=>(t<n.length-1?i:r)(e))),(e=>e.name)).sort(t)},byShortcode:e=>s.get(e.toLowerCase()),byName:e=>a.get(e.toLowerCase())}}const V="undefined"!=typeof wrappedJSObject;function G(e){if(!e)return e;if(V&&(e=structuredClone(e)),delete e.tokens,e.skinTones){const t=e.skinTones.length;e.skins=Array(t);for(let n=0;n<t;n++)e.skins[n]={tone:e.skinTones[n],unicode:e.skinUnicodes[n],version:e.skinVersions[n]};delete e.skinTones,delete e.skinUnicodes,delete e.skinVersions}return e}function q(e){e||console.warn("emoji-picker-element is more efficient if the dataSource server exposes an ETag header.")}const K=["annotation","emoji","group","order","version"];function X(e,t){if(2!==Math.floor(e.status/100))throw new Error("Failed to fetch: "+t+": "+e.status)}async function J(e){const t=await fetch(e);X(t,e);const n=t.headers.get("etag");q(n);const o=await t.json();return function(e){if(!e||!Array.isArray(e)||!e[0]||"object"!=typeof e[0]||K.some((t=>!(t in e[0]))))throw new Error("Emoji data is in the wrong format")}(o),[n,o]}async function Q(e){let t=function(e){for(var t=e.length,n=new ArrayBuffer(t),o=new Uint8Array(n),i=-1;++i<t;)o[i]=e.charCodeAt(i);return n}(JSON.stringify(e));const n=function(e){for(var t="",n=new Uint8Array(e),o=n.byteLength,i=-1;++i<o;)t+=String.fromCharCode(n[i]);return t}(await crypto.subtle.digest("SHA-1",t));return btoa(n)}async function Z(e,t){let n,o=await async function(e){const t=await fetch(e,{method:"HEAD"});X(t,e);const n=t.headers.get("etag");return q(n),n}(t);if(!o){const e=await J(t);o=e[0],n=e[1],o||(o=await Q(n))}if(await async function(e,t,n){const[o,i]=await Promise.all([m,f].map((t=>D(e,r,t))));return o===n&&i===t}(e,t,o));else{if(!n){n=(await J(t))[1]}await U(e,n,t,o)}}class Y{constructor({dataSource:e="https://cdn.jsdelivr.net/npm/emoji-picker-element-data@^1/en/emojibase/data.json",locale:t="en",customEmoji:n=[]}={}){this.dataSource=e,this.locale=t,this._dbName=`emoji-picker-element-${this.locale}`,this._db=void 0,this._lazyUpdate=void 0,this._custom=F(n),this._clear=this._clear.bind(this),this._ready=this._init()}async _init(){const e=this._db=await(t=this._dbName,_[t]||(_[t]=S(t)),_[t]);var t;!function(e,t){let n=E[e];n||(n=E[e]=[]),n.push(t)}(this._dbName,this._clear);const n=this.dataSource,o=await async function(e){return!await D(e,r,f)}(e);o?await async function(e,t){let[n,o]=await J(t);n||(n=await Q(o)),await U(e,o,t,n)}(e,n):this._lazyUpdate=async function(e,t){try{await Z(e,t)}catch(e){if("InvalidStateError"!==e.name)throw e}}(e,n)}async ready(){const e=async()=>(this._ready||(this._ready=this._init()),this._ready);await e(),this._db||await e()}async getEmojiByGroup(e){return t(e),await this.ready(),$(await async function(e,t){return A(e,i,b,((e,n,o)=>{const i=IDBKeyRange.bound([t,0],[t+1,0],!1,!0);z(e.index(p),i,o)}))}(this._db,e)).map(G)}async getEmojiBySearchQuery(t){e(t),await this.ready();return[...this._custom.search(t),...$(await B(this._db,t)).map(G)]}async getEmojiByShortcode(t){e(t),await this.ready();const n=this._custom.byShortcode(t);return n||G(await R(this._db,t))}async getEmojiByUnicodeOrName(t){e(t),await this.ready();const n=this._custom.byName(t);return n||G(await async function(e,t){return A(e,i,b,((e,n,o)=>L(e,t,(n=>{if(n)return o(n);L(e.index(v),t,(e=>o(e||null)))}))))}(this._db,t))}async getPreferredSkinTone(){return await this.ready(),await D(this._db,r,g)||0}async setPreferredSkinTone(e){return t(e),await this.ready(),n=this._db,o=g,i=e,A(n,r,y,((e,t)=>{e.put(i,o),I(t)}));var n,o,i}async incrementFavoriteEmojiCount(t){return e(t),await this.ready(),n=this._db,o=t,A(n,s,y,((e,t)=>L(e,o,(n=>{e.put((n||0)+1,o),I(t)}))));var n,o}async getTopFavoriteEmoji(e){return t(e),await this.ready(),(await function(e,t,n){return 0===n?[]:A(e,[s,i],b,(([e,o],i,r)=>{const s=[];e.index(d).openCursor(void 0,"prev").onsuccess=e=>{const i=e.target.result;if(!i)return r(s);function a(e){if(s.push(e),s.length===n)return r(s);i.continue()}const c=i.primaryKey,l=t.byName(c);if(l)return a(l);L(o,c,(e=>{if(e)return a(e);i.continue()}))}}))}(this._db,this._custom,e)).map(G)}set customEmoji(e){this._custom=F(e)}get customEmoji(){return this._custom.all}async _shutdown(){await this.ready();try{await this._lazyUpdate}catch(e){}}_clear(){this._db=this._ready=this._lazyUpdate=void 0}async close(){await this._shutdown(),await x(this._dbName)}async delete(){var e;await this._shutdown(),await(e=this._dbName,new Promise(((t,n)=>{x(e),j(t,n,indexedDB.deleteDatabase(e))})))}}const ee=[[-1,"✨","custom"],[0,"😀","smileys-emotion"],[1,"👋","people-body"],[3,"🐱","animals-nature"],[4,"🍎","food-drink"],[5,"🏠️","travel-places"],[6,"⚽","activities"],[7,"📝","objects"],[8,"⛔️","symbols"],[9,"🏁","flags"]].map((([e,t,n])=>({id:e,emoji:t,name:n}))),te=ee.slice(1),ne=2,oe=6,ie="function"==typeof requestIdleCallback?requestIdleCallback:setTimeout;function re(e){return e.unicode.includes("‍")}const se={"🫩":16,"🫨":15.1,"🫠":14,"🥲":13.1,"🥻":12.1,"🥰":11,"🤩":5,"👱‍♀️":4,"🤣":3,"👁️‍🗨️":2,"😀":1,"😐️":.7,"😃":.6},ae=1e3,ce=8,le=["😊","😒","❤️","👍️","😍","😂","😭","☺️","😔","😩","😏","💕","🙌","😘"],de='"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif',ue=(e,t)=>e<t?-1:e>t?1:0,he=(e,t)=>{const n=document.createElement("canvas");n.width=n.height=1;const o=n.getContext("2d",{willReadFrequently:!0});return o.textBaseline="top",o.font=`100px ${de}`,o.fillStyle=t,o.scale(.01,.01),o.fillText(e,0,0),o.getImageData(0,0,1,1).data},pe=(e,t)=>{const n=[...e].join(",");return n===[...t].join(",")&&!n.startsWith("0,0,0,")};function me(e){const t=he(e,"#000"),n=he(e,"#fff");return t&&n&&pe(t,n)}let fe;const ge=()=>(fe||(fe=new Promise((e=>ie((()=>e(function(){const e=Object.entries(se);try{for(const[t,n]of e)if(me(t))return n}catch(e){}return e[0][1]}())))))),fe),be=new Map,ye="️",ve="\ud83c",ke="‍",$e=127995,we=57339;function _e(e){e.preventDefault(),e.stopPropagation()}function Ee(e,t,n){return(t+=e?-1:1)<0?t=n.length-1:t>=n.length&&(t=0),t}function je(e,t){const n=new Set,o=[];for(const i of e){const e=t(i);n.has(e)||(n.add(e),o.push(i))}return o}const Se=requestAnimationFrame;let Ae,xe="function"==typeof ResizeObserver;function Te(e){{const t=document.createRange();return t.selectNode(e.firstChild),t.getBoundingClientRect().width}}function Ce(e,t,n){let o=e.get(t);return o||(o=n(),e.set(t,o)),o}function Pe(e){return""+e}const Me=new WeakMap,Oe=new WeakMap,Le=Symbol("un-keyed"),ze="replaceChildren"in Element.prototype;function Ie(e,t){const{targetNode:n}=t;let{targetParentNode:o}=t,i=!1;o?i=function(e,t){let n=e.firstChild,o=0;for(;n;){if(t[o]!==n)return!0;n=n.nextSibling,o++}return o!==t.length}(o,e):(i=!0,t.targetNode=void 0,t.targetParentNode=o=n.parentNode),i&&function(e,t){ze?e.replaceChildren(...t):(e.innerHTML="",e.append(...t))}(o,e)}function Ne(e){let t="",n=!1,o=!1,i=-1;const r=new Map,s=[];let a=0;for(let c=0,l=e.length;c<l;c++){const d=e[c];if(t+=d.slice(a),c===l-1)break;for(let e=0;e<d.length;e++){switch(d.charAt(e)){case"<":"/"===d.charAt(e+1)?s.pop():(n=!0,s.push(++i));break;case">":n=!1,o=!1;break;case"=":o=!0}}const u=Ce(r,s[s.length-1],(()=>[]));let h,p,m;if(o){const n=/(\S+)="?([^"=]*)$/.exec(d);h=n[1],p=n[2];const o=/^([^">]*)("?)/.exec(e[c+1]);m=o[1],t=t.slice(0,-1*n[0].length),a=o[0].length}else a=0;const f={attributeName:h,attributeValuePre:p,attributeValuePost:m,expressionIndex:c};u.push(f),n||o||(t+=" ")}const c=function(e){const t=document.createElement("template");return t.innerHTML=e,t}(t);return{template:c,elementsToBindings:r}}function Ue(e,t,n){for(let o=0;o<e.length;o++){const i=e[o],r={binding:i,targetNode:i.attributeName?t:t.firstChild,targetParentNode:void 0,currentExpression:void 0};n.push(r)}}function Be(e){const{template:t,elementsToBindings:n}=Ce(Me,e,(()=>Ne(e))),o=t.cloneNode(!0).content.firstElementChild,i=function(e,t){const n=[];let o;if(1===t.size&&(o=t.get(0)))Ue(o,e,n);else{const o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);let i=e,r=-1;do{const e=t.get(++r);e&&Ue(e,i,n)}while(i=o.nextNode())}return n}(o,n);return function(e){return function(e,t){for(const n of t){const{targetNode:t,currentExpression:o,binding:{expressionIndex:i,attributeName:r,attributeValuePre:s,attributeValuePost:a}}=n,c=e[i];if(o!==c)if(n.currentExpression=c,r)if(null===c)t.removeAttribute(r);else{const e=s+Pe(c)+a;t.setAttribute(r,e)}else{let e;Array.isArray(c)?Ie(c,n):c instanceof Element?(e=c,t.replaceWith(e)):t.nodeValue=Pe(c),e&&(n.targetNode=e)}}}(e,i),o}}function Re(e,t,n,o,i,r,s,a,c){const{labelWithSkin:l,titleForEmoji:d,unicodeWithSkin:u}=n,{html:h,map:p}=function(e){const t=Ce(Oe,e,(()=>new Map));let n=Le;return{map:function(e,t,o){return e.map(((e,i)=>{const r=n;n=o(e);try{return t(e,i)}finally{n=r}}))},html:function(e,...o){const i=Ce(t,e,(()=>new Map));return Ce(i,n,(()=>Be(e)))(o)}}}(t);function m(e,n,o){return p(e,((e,i)=>h`<button role="${n?"option":"menuitem"}" aria-selected="${n?i===t.activeSearchItem:null}" aria-label="${l(e,t.currentSkinTone)}" title="${d(e)}" class="${"emoji"+(n&&i===t.activeSearchItem?" active":"")+(e.unicode?"":" custom-emoji")}" id="${`${o}-${e.id}`}" style="${e.unicode?null:`--custom-emoji-background: url(${JSON.stringify(e.url)})`}">${e.unicode?u(e,t.currentSkinTone):""}</button>`),(e=>`${o}-${e.id}`))}const f=h`<section data-ref="rootElement" class="picker" aria-label="${t.i18n.regionLabel}" style="${t.pickerStyle||""}"><div class="pad-top"></div><div class="search-row"><div class="search-wrapper"><input id="search" class="search" type="search" role="combobox" enterkeyhint="search" placeholder="${t.i18n.searchLabel}" autocapitalize="none" autocomplete="off" spellcheck="true" aria-expanded="${!(!t.searchMode||!t.currentEmojis.length)}" aria-controls="search-results" aria-describedby="search-description" aria-autocomplete="list" aria-activedescendant="${t.activeSearchItemId?`emo-${t.activeSearchItemId}`:null}" data-ref="searchElement" data-on-input="onSearchInput" data-on-keydown="onSearchKeydown"><label class="sr-only" for="search">${t.i18n.searchLabel}</label> <span id="search-description" class="sr-only">${t.i18n.searchDescription}</span></div><div class="skintone-button-wrapper ${t.skinTonePickerExpandedAfterAnimation?"expanded":""}"><button id="skintone-button" class="emoji ${t.skinTonePickerExpanded?"hide-focus":""}" aria-label="${t.skinToneButtonLabel}" title="${t.skinToneButtonLabel}" aria-describedby="skintone-description" aria-haspopup="listbox" aria-expanded="${t.skinTonePickerExpanded}" aria-controls="skintone-list" data-on-click="onClickSkinToneButton">${t.skinToneButtonText||""}</button></div><span id="skintone-description" class="sr-only">${t.i18n.skinToneDescription}</span><div data-ref="skinToneDropdown" id="skintone-list" class="skintone-list hide-focus ${t.skinTonePickerExpanded?"":"hidden no-animate"}" style="transform:translateY(${t.skinTonePickerExpanded?0:"calc(-1 * var(--num-skintones) * var(--total-emoji-size))"})" role="listbox" aria-label="${t.i18n.skinTonesLabel}" aria-activedescendant="skintone-${t.activeSkinTone}" aria-hidden="${!t.skinTonePickerExpanded}" tabIndex="-1" data-on-focusout="onSkinToneOptionsFocusOut" data-on-click="onSkinToneOptionsClick" data-on-keydown="onSkinToneOptionsKeydown" data-on-keyup="onSkinToneOptionsKeyup">${p(t.skinTones,((e,n)=>h`<div id="skintone-${n}" class="emoji ${n===t.activeSkinTone?"active":""}" aria-selected="${n===t.activeSkinTone}" role="option" title="${t.i18n.skinTones[n]}" aria-label="${t.i18n.skinTones[n]}">${e}</div>`),(e=>e))}</div></div><div class="nav" role="tablist" style="grid-template-columns:repeat(${t.groups.length},1fr)" aria-label="${t.i18n.categoriesLabel}" data-on-keydown="onNavKeydown" data-on-click="onNavClick">${p(t.groups,(e=>h`<button role="tab" class="nav-button" aria-controls="tab-${e.id}" aria-label="${t.i18n.categories[e.name]}" aria-selected="${!t.searchMode&&t.currentGroup.id===e.id}" title="${t.i18n.categories[e.name]}" data-group-id="${e.id}"><div class="nav-emoji emoji">${e.emoji}</div></button>`),(e=>e.id))}</div><div class="indicator-wrapper"><div class="indicator" style="transform:translateX(${(t.isRtl?-1:1)*t.currentGroupIndex*100}%)"></div></div><div class="message ${t.message?"":"gone"}" role="alert" aria-live="polite">${t.message||""}</div><div data-ref="tabpanelElement" class="tabpanel ${!t.databaseLoaded||t.message?"gone":""}" role="${t.searchMode?"region":"tabpanel"}" aria-label="${t.searchMode?t.i18n.searchResultsLabel:t.i18n.categories[t.currentGroup.name]}" id="${t.searchMode?null:`tab-${t.currentGroup.id}`}" tabIndex="0" data-on-click="onEmojiClick"><div data-action="calculateEmojiGridStyle">${p(t.currentEmojisWithCategories,((e,n)=>h`<div><div id="menu-label-${n}" class="category ${1===t.currentEmojisWithCategories.length&&""===t.currentEmojisWithCategories[0].category?"gone":""}" aria-hidden="true">${t.searchMode?t.i18n.searchResultsLabel:e.category?e.category:t.currentEmojisWithCategories.length>1?t.i18n.categories.custom:t.i18n.categories[t.currentGroup.name]}</div><div class="emoji-menu ${0===n||t.searchMode||-1!==t.currentGroup.id?"":"visibility-auto"}" style="${`--num-rows: ${Math.ceil(e.emojis.length/t.numColumns)}`}" data-action="updateOnIntersection" role="${t.searchMode?"listbox":"menu"}" aria-labelledby="menu-label-${n}" id="${t.searchMode?"search-results":null}">${m(e.emojis,t.searchMode,"emo")}</div></div>`),(e=>e.category))}</div></div><div class="favorites onscreen emoji-menu ${t.message?"gone":""}" role="menu" aria-label="${t.i18n.favoritesLabel}" data-on-click="onEmojiClick">${m(t.currentFavorites,!1,"fav")}</div><button data-ref="baselineEmoji" aria-hidden="true" tabindex="-1" class="abs-pos hidden emoji baseline-emoji">😀</button></section>`,g=(t,n)=>{for(const o of e.querySelectorAll(`[${t}]`))n(o,o.getAttribute(t))};if(c){e.appendChild(f);for(const e of["click","focusout","input","keydown","keyup"])g(`data-on-${e}`,((t,n)=>{t.addEventListener(e,o[n])}));g("data-ref",((e,t)=>{r[t]=e})),s.addEventListener("abort",(()=>{e.removeChild(f)}))}g("data-action",((e,t)=>{let n=a.get(t);n||a.set(t,n=new WeakSet),n.has(e)||(n.add(e),i[t](e))}))}const De="function"==typeof queueMicrotask?queueMicrotask:e=>Promise.resolve().then(e);function He(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!n(e[o],t[o]))return!1;return!0}const We=new WeakMap;const Fe=[],{assign:Ve}=Object;function Ge(e,t){const n={},o=new AbortController,i=o.signal,{state:r,createEffect:s}=function(e){let t,n=!1;const o=new Map,i=new Set;let r;const s=()=>{if(n)return;const e=[...i];i.clear();try{for(const t of e)t()}finally{r=!1,i.size&&(r=!0,De(s))}},a=new Proxy({},{get(e,n){if(t){let e=o.get(n);e||(e=new Set,o.set(n,e)),e.add(t)}return e[n]},set(e,t,n){if(e[t]!==n){e[t]=n;const a=o.get(t);if(a){for(const e of a)i.add(e);r||(r=!0,De(s))}}return!0}});return e.addEventListener("abort",(()=>{n=!0})),{state:a,createEffect:e=>{const n=()=>{const o=t;t=n;try{return e()}finally{t=o}};return n()}}}(i),a=new Map;Ve(r,{skinToneEmoji:void 0,i18n:void 0,database:void 0,customEmoji:void 0,customCategorySorting:void 0,emojiVersion:void 0}),Ve(r,t),Ve(r,{initialLoad:!0,currentEmojis:[],currentEmojisWithCategories:[],rawSearchText:"",searchText:"",searchMode:!1,activeSearchItem:-1,message:void 0,skinTonePickerExpanded:!1,skinTonePickerExpandedAfterAnimation:!1,currentSkinTone:0,activeSkinTone:0,skinToneButtonText:void 0,pickerStyle:void 0,skinToneButtonLabel:"",skinTones:[],currentFavorites:[],defaultFavoriteEmojis:void 0,numColumns:ce,isRtl:!1,currentGroupIndex:0,groups:te,databaseLoaded:!1,activeSearchItemId:void 0}),s((()=>{r.currentGroup!==r.groups[r.currentGroupIndex]&&(r.currentGroup=r.groups[r.currentGroupIndex])}));const c=t=>{e.getElementById(t).focus()},l=t=>e.getElementById(`emo-${t.id}`),d=(e,t)=>{n.rootElement.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0}))},u=(e,t)=>e.id===t.id,h=(e,t)=>{const{category:n,emojis:o}=e,{category:i,emojis:r}=t;return n===i&&He(o,r,u)},p=e=>{He(r.currentEmojis,e,u)||(r.currentEmojis=e)},m=e=>{r.searchMode!==e&&(r.searchMode=e)},f=(e,t)=>t&&e.skins&&e.skins[t]||e.unicode,g={labelWithSkin:(e,t)=>{return(n=[e.name||f(e,t),e.annotation,...e.shortcodes||Fe].filter(Boolean),je(n,(e=>e))).join(", ");var n},titleForEmoji:e=>e.annotation||(e.shortcodes||Fe).join(", "),unicodeWithSkin:f},b={onClickSkinToneButton:function(e){r.skinTonePickerExpanded=!r.skinTonePickerExpanded,r.activeSkinTone=r.currentSkinTone,r.skinTonePickerExpanded&&(_e(e),Se((()=>c("skintone-list"))))},onEmojiClick:async function(e){const{target:t}=e;if(!t.classList.contains("emoji"))return;_e(e);j(t.id.substring(4))},onNavClick:function(e){const{target:t}=e,o=t.closest(".nav-button");if(!o)return;const i=parseInt(o.dataset.groupId,10);n.searchElement.value="",r.rawSearchText="",r.searchText="",r.activeSearchItem=-1,r.currentGroupIndex=r.groups.findIndex((e=>e.id===i))},onNavKeydown:function(e){const{target:t,key:n}=e,o=t=>{t&&(_e(e),t.focus())};switch(n){case"ArrowLeft":return o(t.previousElementSibling);case"ArrowRight":return o(t.nextElementSibling);case"Home":return o(t.parentElement.firstElementChild);case"End":return o(t.parentElement.lastElementChild)}},onSearchKeydown:function(e){if(!r.searchMode||!r.currentEmojis.length)return;const t=t=>{_e(e),r.activeSearchItem=Ee(t,r.activeSearchItem,r.currentEmojis)};switch(e.key){case"ArrowDown":return t(!1);case"ArrowUp":return t(!0);case"Enter":if(-1!==r.activeSearchItem)return _e(e),j(r.currentEmojis[r.activeSearchItem].id);r.activeSearchItem=0}},onSkinToneOptionsClick:function(e){const{target:{id:t}}=e,n=t&&t.match(/^skintone-(\d)/);if(!n)return;_e(e);S(parseInt(n[1],10))},onSkinToneOptionsFocusOut:async function(e){const{relatedTarget:t}=e;t&&"skintone-list"===t.id||(r.skinTonePickerExpanded=!1)},onSkinToneOptionsKeydown:function(e){if(!r.skinTonePickerExpanded)return;const t=async t=>{_e(e),r.activeSkinTone=t};switch(e.key){case"ArrowUp":return t(Ee(!0,r.activeSkinTone,r.skinTones));case"ArrowDown":return t(Ee(!1,r.activeSkinTone,r.skinTones));case"Home":return t(0);case"End":return t(r.skinTones.length-1);case"Enter":return _e(e),S(r.activeSkinTone);case"Escape":return _e(e),r.skinTonePickerExpanded=!1,c("skintone-button")}},onSkinToneOptionsKeyup:function(e){if(!r.skinTonePickerExpanded)return;if(" "===e.key)return _e(e),S(r.activeSkinTone)},onSearchInput:function(e){r.rawSearchText=e.target.value}},y={calculateEmojiGridStyle:function(e){!function(e,t,n){let o;xe?(o=new ResizeObserver(n),o.observe(e)):Se(n),t.addEventListener("abort",(()=>{o&&o.disconnect()}))}(e,i,(()=>{{const e=getComputedStyle(n.rootElement),t=parseInt(e.getPropertyValue("--num-columns"),10),o="rtl"===e.getPropertyValue("direction");r.numColumns=t,r.isRtl=o}}))},updateOnIntersection:function(e){!function(e,t,n){{const o=e.closest(".tabpanel");let i=We.get(o);i||(i=new IntersectionObserver(n,{root:o,rootMargin:"50% 0px 50% 0px",threshold:0}),We.set(o,i),t.addEventListener("abort",(()=>{i.disconnect()}))),i.observe(e)}}(e,i,(e=>{for(const{target:t,isIntersecting:n}of e)t.classList.toggle("onscreen",n)}))}};let v=!0;function k(){const{customEmoji:e,database:t}=r,n=e||Fe;t.customEmoji!==n&&(t.customEmoji=n)}s((()=>{Re(e,r,g,b,y,n,i,a,v),v=!1})),r.emojiVersion||ge().then((e=>{e||(r.message=r.i18n.emojiUnsupportedMessage)})),s((()=>{r.database&&async function(){let e=!1;const t=setTimeout((()=>{e=!0,r.message=r.i18n.loadingMessage}),ae);try{await r.database.ready(),r.databaseLoaded=!0}catch(e){console.error(e),r.message=r.i18n.networkErrorMessage}finally{clearTimeout(t),e&&(e=!1,r.message="")}}()})),s((()=>{r.pickerStyle=`\n --num-groups: ${r.groups.length}; \n --indicator-opacity: ${r.searchMode?0:1}; \n --num-skintones: ${oe};`})),s((()=>{r.customEmoji&&r.database&&k()})),s((()=>{r.customEmoji&&r.customEmoji.length?r.groups!==ee&&(r.groups=ee):r.groups!==te&&(r.currentGroupIndex&&r.currentGroupIndex--,r.groups=te)})),s((()=>{!async function(){r.databaseLoaded&&(r.currentSkinTone=await r.database.getPreferredSkinTone())}()})),s((()=>{r.skinTones=Array(oe).fill().map(((e,t)=>function(e,t){if(0===t)return e;const n=e.indexOf(ke);return-1!==n?e.substring(0,n)+String.fromCodePoint($e+t-1)+e.substring(n):(e.endsWith(ye)&&(e=e.substring(0,e.length-1)),e+ve+String.fromCodePoint(we+t-1))}(r.skinToneEmoji,t)))})),s((()=>{r.skinToneButtonText=r.skinTones[r.currentSkinTone]})),s((()=>{r.skinToneButtonLabel=r.i18n.skinToneLabel.replace("{skinTone}",r.i18n.skinTones[r.currentSkinTone])})),s((()=>{r.databaseLoaded&&async function(){const{database:e}=r,t=(await Promise.all(le.map((t=>e.getEmojiByUnicodeOrName(t))))).filter(Boolean);r.defaultFavoriteEmojis=t}()})),s((()=>{r.databaseLoaded&&r.defaultFavoriteEmojis&&async function(){k();const{database:e,defaultFavoriteEmojis:t,numColumns:n}=r,o=await e.getTopFavoriteEmoji(n),i=await E(je([...o,...t],(e=>e.unicode||e.name)).slice(0,n));r.currentFavorites=i}()})),s((()=>{!async function(){const{searchText:e,currentGroup:t,databaseLoaded:n,customEmoji:o}=r;if(n)if(e.length>=ne){const t=await async function(e){return E(await _(await r.database.getEmojiBySearchQuery(e)))}(e);r.searchText===e&&(p(t),m(!0))}else{const{id:e}=t;if(-1!==e||o&&o.length){const t=await async function(e){const t=-1===e?r.customEmoji:await r.database.getEmojiByGroup(e);return E(await _(t))}(e);r.currentGroup.id===e&&(p(t),m(!1))}}else r.currentEmojis=[],r.searchMode=!1}()}));const $=()=>{Se((()=>{var e;(e=n.tabpanelElement)&&(e.scrollTop=0)}))};function w(e){return!e.unicode||!re(e)||be.get(e.unicode)}async function _(e){const t=r.emojiVersion||await ge();return e.filter((({version:e})=>!e||e<=t))}async function E(e){return function(e,t){const n=e=>{const n={};for(const o of e)"number"==typeof o.tone&&o.version<=t&&(n[o.tone]=o.unicode);return n};return e.map((({unicode:e,skins:t,shortcodes:o,url:i,name:r,category:s,annotation:a})=>({unicode:e,name:r,shortcodes:o,url:i,category:s,annotation:a,id:e||r,skins:t&&n(t)})))}(e,r.emojiVersion||await ge())}async function j(e){const t=await r.database.getEmojiByUnicodeOrName(e),n=[...r.currentEmojis,...r.currentFavorites].find((t=>t.id===e)),o=n.unicode&&f(n,r.currentSkinTone);await r.database.incrementFavoriteEmojiCount(e),d("emoji-click",{emoji:t,skinTone:r.currentSkinTone,...o&&{unicode:o},...n.name&&{name:n.name}})}function S(e){r.currentSkinTone=e,r.skinTonePickerExpanded=!1,c("skintone-button"),d("skin-tone-change",{skinTone:e}),r.database.setPreferredSkinTone(e)}return s((()=>{const{currentEmojis:e,emojiVersion:t}=r,o=e.filter((e=>e.unicode)).filter((e=>re(e)&&!be.has(e.unicode)));if(!t&&o.length)p(e),Se((()=>function(e){const t=function(e,t,n){let o=!0;for(const i of e){const e=n(i);if(!e)continue;const r=Te(e);void 0===Ae&&(Ae=Te(t));const s=r/1.8<Ae;be.set(i.unicode,s),s||(o=!1)}return o}(e,n.baselineEmoji,l);t?$():r.currentEmojis=[...r.currentEmojis]}(o)));else{const n=t?e:e.filter(w);p(n),$()}})),s((()=>{})),s((()=>{(e=>{He(r.currentEmojisWithCategories,e,h)||(r.currentEmojisWithCategories=e)})(function(){const{searchMode:e,currentEmojis:t}=r;if(e)return[{category:"",emojis:t}];const n=new Map;for(const e of t){const t=e.category||"";let o=n.get(t);o||(o=[],n.set(t,o)),o.push(e)}return[...n.entries()].map((([e,t])=>({category:e,emojis:t}))).sort(((e,t)=>r.customCategorySorting(e.category,t.category)))}())})),s((()=>{r.activeSearchItemId=-1!==r.activeSearchItem&&r.currentEmojis[r.activeSearchItem].id})),s((()=>{const{rawSearchText:e}=r;ie((()=>{r.searchText=(e||"").trim(),r.activeSearchItem=-1}))})),s((()=>{r.skinTonePickerExpanded?n.skinToneDropdown.addEventListener("transitionend",(()=>{r.skinTonePickerExpandedAfterAnimation=!0}),{once:!0}):r.skinTonePickerExpandedAfterAnimation=!1})),{$set(e){Ve(r,e)},$destroy(){o.abort()}}}var qe={categoriesLabel:"Categories",emojiUnsupportedMessage:"Your browser does not support color emoji.",favoritesLabel:"Favorites",loadingMessage:"Loading…",networkErrorMessage:"Could not load emoji.",regionLabel:"Emoji picker",searchDescription:"When search results are available, press up or down to select and enter to choose.",searchLabel:"Search",searchResultsLabel:"Search results",skinToneDescription:"When expanded, press up or down to select and enter to choose.",skinToneLabel:"Choose a skin tone (currently {skinTone})",skinTonesLabel:"Skin tones",skinTones:["Default","Light","Medium-Light","Medium","Medium-Dark","Dark"],categories:{custom:"Custom","smileys-emotion":"Smileys and emoticons","people-body":"People and body","animals-nature":"Animals and nature","food-drink":"Food and drink","travel-places":"Travel and places",activities:"Activities",objects:"Objects",symbols:"Symbols",flags:"Flags"}};const Ke=["customEmoji","customCategorySorting","database","dataSource","i18n","locale","skinToneEmoji","emojiVersion"],Xe=`:host{--emoji-font-family:${de}}`;class Je extends HTMLElement{constructor(e){super(),this.attachShadow({mode:"open"});const t=document.createElement("style");t.textContent=':host{--emoji-size:1.375rem;--emoji-padding:0.5rem;--category-emoji-size:var(--emoji-size);--category-emoji-padding:var(--emoji-padding);--indicator-height:3px;--input-border-radius:0.5rem;--input-border-size:1px;--input-font-size:1rem;--input-line-height:1.5;--input-padding:0.25rem;--num-columns:8;--outline-size:2px;--border-size:1px;--border-radius:0;--skintone-border-radius:1rem;--category-font-size:1rem;display:flex;width:min-content;height:400px}:host,:host(.light){color-scheme:light;--background:#fff;--border-color:#e0e0e0;--indicator-color:#385ac1;--input-border-color:#999;--input-font-color:#111;--input-placeholder-color:#999;--outline-color:#999;--category-font-color:#111;--button-active-background:#e6e6e6;--button-hover-background:#d9d9d9}:host(.dark){color-scheme:dark;--background:#222;--border-color:#444;--indicator-color:#5373ec;--input-border-color:#ccc;--input-font-color:#efefef;--input-placeholder-color:#ccc;--outline-color:#fff;--category-font-color:#efefef;--button-active-background:#555555;--button-hover-background:#484848}@media (prefers-color-scheme:dark){:host{color-scheme:dark;--background:#222;--border-color:#444;--indicator-color:#5373ec;--input-border-color:#ccc;--input-font-color:#efefef;--input-placeholder-color:#ccc;--outline-color:#fff;--category-font-color:#efefef;--button-active-background:#555555;--button-hover-background:#484848}}:host([hidden]){display:none}button{margin:0;padding:0;border:0;background:0 0;box-shadow:none;-webkit-tap-highlight-color:transparent}button::-moz-focus-inner{border:0}input{padding:0;margin:0;line-height:1.15;font-family:inherit}input[type=search]{-webkit-appearance:none}:focus{outline:var(--outline-color) solid var(--outline-size);outline-offset:calc(-1*var(--outline-size))}:host([data-js-focus-visible]) :focus:not([data-focus-visible-added]){outline:0}:focus:not(:focus-visible){outline:0}.hide-focus{outline:0}*{box-sizing:border-box}.picker{contain:content;display:flex;flex-direction:column;background:var(--background);border:var(--border-size) solid var(--border-color);border-radius:var(--border-radius);width:100%;height:100%;overflow:hidden;--total-emoji-size:calc(var(--emoji-size) + (2 * var(--emoji-padding)));--total-category-emoji-size:calc(var(--category-emoji-size) + (2 * var(--category-emoji-padding)))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.hidden{opacity:0;pointer-events:none}.abs-pos{position:absolute;left:0;top:0}.gone{display:none!important}.skintone-button-wrapper,.skintone-list{background:var(--background);z-index:3}.skintone-button-wrapper.expanded{z-index:1}.skintone-list{position:absolute;inset-inline-end:0;top:0;z-index:2;overflow:visible;border-bottom:var(--border-size) solid var(--border-color);border-radius:0 0 var(--skintone-border-radius) var(--skintone-border-radius);will-change:transform;transition:transform .2s ease-in-out;transform-origin:center 0}@media (prefers-reduced-motion:reduce){.skintone-list{transition-duration:.001s}}@supports not (inset-inline-end:0){.skintone-list{right:0}}.skintone-list.no-animate{transition:none}.tabpanel{overflow-y:auto;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;will-change:transform;min-height:0;flex:1;contain:content}.emoji-menu{display:grid;grid-template-columns:repeat(var(--num-columns),var(--total-emoji-size));justify-content:space-around;align-items:flex-start;width:100%}.emoji-menu.visibility-auto{content-visibility:auto;contain-intrinsic-size:calc(var(--num-columns)*var(--total-emoji-size)) calc(var(--num-rows)*var(--total-emoji-size))}.category{padding:var(--emoji-padding);font-size:var(--category-font-size);color:var(--category-font-color)}.emoji,button.emoji{font-size:var(--emoji-size);display:flex;align-items:center;justify-content:center;border-radius:100%;height:var(--total-emoji-size);width:var(--total-emoji-size);line-height:1;overflow:hidden;font-family:var(--emoji-font-family);cursor:pointer}@media (hover:hover) and (pointer:fine){.emoji:hover,button.emoji:hover{background:var(--button-hover-background)}}.emoji.active,.emoji:active,button.emoji.active,button.emoji:active{background:var(--button-active-background)}.onscreen .custom-emoji::after{content:"";width:var(--emoji-size);height:var(--emoji-size);background-repeat:no-repeat;background-position:center center;background-size:contain;background-image:var(--custom-emoji-background)}.nav,.nav-button{align-items:center}.nav{display:grid;justify-content:space-between;contain:content}.nav-button{display:flex;justify-content:center}.nav-emoji{font-size:var(--category-emoji-size);width:var(--total-category-emoji-size);height:var(--total-category-emoji-size)}.indicator-wrapper{display:flex;border-bottom:1px solid var(--border-color)}.indicator{width:calc(100%/var(--num-groups));height:var(--indicator-height);opacity:var(--indicator-opacity);background-color:var(--indicator-color);will-change:transform,opacity;transition:opacity .1s linear,transform .25s ease-in-out}@media (prefers-reduced-motion:reduce){.indicator{will-change:opacity;transition:opacity .1s linear}}.pad-top,input.search{background:var(--background);width:100%}.pad-top{height:var(--emoji-padding);z-index:3}.search-row{display:flex;align-items:center;position:relative;padding-inline-start:var(--emoji-padding);padding-bottom:var(--emoji-padding)}.search-wrapper{flex:1;min-width:0}input.search{padding:var(--input-padding);border-radius:var(--input-border-radius);border:var(--input-border-size) solid var(--input-border-color);color:var(--input-font-color);font-size:var(--input-font-size);line-height:var(--input-line-height)}input.search::placeholder{color:var(--input-placeholder-color)}.favorites{overflow-y:auto;scrollbar-gutter:stable;display:flex;flex-direction:row;border-top:var(--border-size) solid var(--border-color);contain:content}.message{padding:var(--emoji-padding)}'+Xe,this.shadowRoot.appendChild(t),this._ctx={locale:"en",dataSource:"https://cdn.jsdelivr.net/npm/emoji-picker-element-data@^1/en/emojibase/data.json",skinToneEmoji:"🖐️",customCategorySorting:ue,customEmoji:null,i18n:qe,emojiVersion:null,...e};for(const e of Ke)"database"!==e&&Object.prototype.hasOwnProperty.call(this,e)&&(this._ctx[e]=this[e],delete this[e]);this._dbFlush()}connectedCallback(){this._cmp||(this._cmp=Ge(this.shadowRoot,this._ctx))}disconnectedCallback(){De((()=>{if(!this.isConnected&&this._cmp){this._cmp.$destroy(),this._cmp=void 0;const{database:e}=this._ctx;e.close().catch((e=>console.error(e)))}}))}static get observedAttributes(){return["locale","data-source","skin-tone-emoji","emoji-version"]}attributeChangedCallback(e,t,n){this._set(e.replace(/-([a-z])/g,((e,t)=>t.toUpperCase())),"emoji-version"===e?parseFloat(n):n)}_set(e,t){this._ctx[e]=t,this._cmp&&this._cmp.$set({[e]:t}),["locale","dataSource"].includes(e)&&this._dbFlush()}_dbCreate(){const{locale:e,dataSource:t,database:n}=this._ctx;n&&n.locale===e&&n.dataSource===t||this._set("database",new Y({locale:e,dataSource:t}))}_dbFlush(){De((()=>this._dbCreate()))}}const Qe={};for(const e of Ke)Qe[e]={get(){return"database"===e&&this._dbCreate(),this._ctx[e]},set(t){if("database"===e)throw new Error("database is read-only");this._set(e,t)}};Object.defineProperties(Je.prototype,Qe),customElements.get("emoji-picker")||customElements.define("emoji-picker",Je)},53951:(e,t,n)=>{n.d(t,{Cb:()=>s});var o=n(68853);const i={attribute:!0,type:String,converter:o.Ts,reflect:!1,hasChanged:o.Qu},r=(e=i,t,n)=>{const{kind:o,metadata:r}=n;let s=globalThis.litPropertyMetadata.get(r);if(void 0===s&&globalThis.litPropertyMetadata.set(r,s=new Map),"setter"===o&&((e=Object.create(e)).wrapped=!0),s.set(n.name,e),"accessor"===o){const{name:o}=n;return{set(n){const i=t.get.call(this);t.set.call(this,n),this.requestUpdate(o,i,e)},init(t){return void 0!==t&&this.C(o,void 0,e,t),t}}}if("setter"===o){const{name:o}=n;return function(n){const i=this[o];t.call(this,n),this.requestUpdate(o,i,e)}}throw Error("Unsupported decorator location: "+o)};function s(e){return(t,n)=>"object"==typeof n?r(e,t,n):((e,t,n)=>{const o=t.hasOwnProperty(n);return t.constructor.createProperty(n,e),o?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}},99956:(e,t,n)=>{n.d(t,{oi:()=>W,iv:()=>o.iv,dy:()=>j});var o=n(68853);const i=globalThis,r=i.trustedTypes,s=r?r.createPolicy("lit-html",{createHTML:e=>e}):void 0,a="$lit$",c=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+c,d=`<${l}>`,u=document,h=()=>u.createComment(""),p=e=>null===e||"object"!=typeof e&&"function"!=typeof e,m=Array.isArray,f=e=>m(e)||"function"==typeof e?.[Symbol.iterator],g="[ \t\n\f\r]",b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,v=/>/g,k=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$=/'/g,w=/"/g,_=/^(?:script|style|textarea|title)$/i,E=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),j=E(1),S=(E(2),E(3),Symbol.for("lit-noChange")),A=Symbol.for("lit-nothing"),x=new WeakMap,T=u.createTreeWalker(u,129);function C(e,t){if(!m(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(t):t}const P=(e,t)=>{const n=e.length-1,o=[];let i,r=2===t?"<svg>":3===t?"<math>":"",s=b;for(let t=0;t<n;t++){const n=e[t];let l,u,h=-1,p=0;for(;p<n.length&&(s.lastIndex=p,u=s.exec(n),null!==u);)p=s.lastIndex,s===b?"!--"===u[1]?s=y:void 0!==u[1]?s=v:void 0!==u[2]?(_.test(u[2])&&(i=RegExp("</"+u[2],"g")),s=k):void 0!==u[3]&&(s=k):s===k?">"===u[0]?(s=i??b,h=-1):void 0===u[1]?h=-2:(h=s.lastIndex-u[2].length,l=u[1],s=void 0===u[3]?k:'"'===u[3]?w:$):s===w||s===$?s=k:s===y||s===v?s=b:(s=k,i=void 0);const m=s===k&&e[t+1].startsWith("/>")?" ":"";r+=s===b?n+d:h>=0?(o.push(l),n.slice(0,h)+a+n.slice(h)+c+m):n+c+(-2===h?t:m)}return[C(e,r+(e[n]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),o]};class M{constructor({strings:e,_$litType$:t},n){let o;this.parts=[];let i=0,s=0;const d=e.length-1,u=this.parts,[p,m]=P(e,t);if(this.el=M.createElement(p,n),T.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(o=T.nextNode())&&u.length<d;){if(1===o.nodeType){if(o.hasAttributes())for(const e of o.getAttributeNames())if(e.endsWith(a)){const t=m[s++],n=o.getAttribute(e).split(c),r=/([.?@])?(.*)/.exec(t);u.push({type:1,index:i,name:r[2],strings:n,ctor:"."===r[1]?N:"?"===r[1]?U:"@"===r[1]?B:I}),o.removeAttribute(e)}else e.startsWith(c)&&(u.push({type:6,index:i}),o.removeAttribute(e));if(_.test(o.tagName)){const e=o.textContent.split(c),t=e.length-1;if(t>0){o.textContent=r?r.emptyScript:"";for(let n=0;n<t;n++)o.append(e[n],h()),T.nextNode(),u.push({type:2,index:++i});o.append(e[t],h())}}}else if(8===o.nodeType)if(o.data===l)u.push({type:2,index:i});else{let e=-1;for(;-1!==(e=o.data.indexOf(c,e+1));)u.push({type:7,index:i}),e+=c.length-1}i++}}static createElement(e,t){const n=u.createElement("template");return n.innerHTML=e,n}}function O(e,t,n=e,o){if(t===S)return t;let i=void 0!==o?n._$Co?.[o]:n._$Cl;const r=p(t)?void 0:t._$litDirective$;return i?.constructor!==r&&(i?._$AO?.(!1),void 0===r?i=void 0:(i=new r(e),i._$AT(e,n,o)),void 0!==o?(n._$Co??=[])[o]=i:n._$Cl=i),void 0!==i&&(t=O(e,i._$AS(e,t.values),i,o)),t}class L{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:n}=this._$AD,o=(e?.creationScope??u).importNode(t,!0);T.currentNode=o;let i=T.nextNode(),r=0,s=0,a=n[0];for(;void 0!==a;){if(r===a.index){let t;2===a.type?t=new z(i,i.nextSibling,this,e):1===a.type?t=new a.ctor(i,a.name,a.strings,this,e):6===a.type&&(t=new R(i,this,e)),this._$AV.push(t),a=n[++s]}r!==a?.index&&(i=T.nextNode(),r++)}return T.currentNode=u,o}p(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class z{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,o){this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=O(this,e,t),p(e)?e===A||null==e||""===e?(this._$AH!==A&&this._$AR(),this._$AH=A):e!==this._$AH&&e!==S&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):f(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==A&&p(this._$AH)?this._$AA.nextSibling.data=e:this.T(u.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:n}=e,o="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=M.createElement(C(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===o)this._$AH.p(t);else{const e=new L(o,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=x.get(e.strings);return void 0===t&&x.set(e.strings,t=new M(e)),t}k(e){m(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,o=0;for(const i of e)o===t.length?t.push(n=new z(this.O(h()),this.O(h()),this,this.options)):n=t[o],n._$AI(i),o++;o<t.length&&(this._$AR(n&&n._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){void 0===this._$AM&&(this._$Cv=e,this._$AP?.(e))}}class I{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,o,i){this.type=1,this._$AH=A,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=i,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=A}_$AI(e,t=this,n,o){const i=this.strings;let r=!1;if(void 0===i)e=O(this,e,t,0),r=!p(e)||e!==this._$AH&&e!==S,r&&(this._$AH=e);else{const o=e;let s,a;for(e=i[0],s=0;s<i.length-1;s++)a=O(this,o[n+s],t,s),a===S&&(a=this._$AH[s]),r||=!p(a)||a!==this._$AH[s],a===A?e=A:e!==A&&(e+=(a??"")+i[s+1]),this._$AH[s]=a}r&&!o&&this.j(e)}j(e){e===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class N extends I{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===A?void 0:e}}class U extends I{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==A)}}class B extends I{constructor(e,t,n,o,i){super(e,t,n,o,i),this.type=5}_$AI(e,t=this){if((e=O(this,e,t,0)??A)===S)return;const n=this._$AH,o=e===A&&n!==A||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==A&&(n===A||o);o&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class R{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){O(this,e)}}const D=i.litHtmlPolyfillSupport;D?.(M,z),(i.litHtmlVersions??=[]).push("3.3.1");const H=globalThis;class W extends o.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=((e,t,n)=>{const o=n?.renderBefore??t;let i=o._$litPart$;if(void 0===i){const e=n?.renderBefore??null;o._$litPart$=i=new z(t.insertBefore(h(),e),e,void 0,n??{})}return i._$AI(e),i})(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return S}}W._$litElement$=!0,W.finalized=!0,H.litElementHydrateSupport?.({LitElement:W});const F=H.litElementPolyfillSupport;F?.({LitElement:W});(H.litElementVersions??=[]).push("4.2.1")},68853:(e,t,n)=>{n.d(t,{fl:()=>j,iv:()=>c,Ts:()=>w,Qu:()=>_});const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),s=new WeakMap;class a{constructor(e,t,n){if(this._$cssResult$=!0,n!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(i&&void 0===e){const n=void 0!==t&&1===t.length;n&&(e=s.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&s.set(t,e))}return e}toString(){return this.cssText}}const c=(e,...t)=>{const n=1===e.length?e[0]:t.reduce(((t,n,o)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+e[o+1]),e[0]);return new a(n,e,r)},l=(e,t)=>{if(i)e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(const n of t){const t=document.createElement("style"),i=o.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=n.cssText,e.appendChild(t)}},d=i?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new a("string"==typeof e?e:e+"",void 0,r))(t)})(e):e,{is:u,defineProperty:h,getOwnPropertyDescriptor:p,getOwnPropertyNames:m,getOwnPropertySymbols:f,getPrototypeOf:g}=Object,b=globalThis,y=b.trustedTypes,v=y?y.emptyScript:"",k=b.reactiveElementPolyfillSupport,$=(e,t)=>e,w={toAttribute(e,t){switch(t){case Boolean:e=e?v:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},_=(e,t)=>!u(e,t),E={attribute:!0,type:String,converter:w,reflect:!1,useDefault:!1,hasChanged:_};Symbol.metadata??=Symbol("metadata"),b.litPropertyMetadata??=new WeakMap;class j extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=E){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const n=Symbol(),o=this.getPropertyDescriptor(e,n,t);void 0!==o&&h(this.prototype,e,o)}}static getPropertyDescriptor(e,t,n){const{get:o,set:i}=p(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:o,set(t){const r=o?.call(this);i?.call(this,t),this.requestUpdate(e,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??E}static _$Ei(){if(this.hasOwnProperty($("elementProperties")))return;const e=g(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($("properties"))){const e=this.properties,t=[...m(e),...f(e)];for(const n of t)this.createProperty(n,e[n])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const n=this._$Eu(e,t);void 0!==n&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(d(e))}else void 0!==e&&t.push(d(e));return t}static _$Eu(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return l(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){const n=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,n);if(void 0!==o&&!0===n.reflect){const i=(void 0!==n.converter?.toAttribute?n.converter:w).toAttribute(t,n.type);this._$Em=e,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$Em=null}}_$AK(e,t){const n=this.constructor,o=n._$Eh.get(e);if(void 0!==o&&this._$Em!==o){const e=n.getPropertyOptions(o),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:w;this._$Em=o;const r=i.fromAttribute(t,e.type);this[o]=r??this._$Ej?.get(o)??r,this._$Em=null}}requestUpdate(e,t,n){if(void 0!==e){const o=this.constructor,i=this[e];if(n??=o.getPropertyOptions(e),!((n.hasChanged??_)(i,t)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(o._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:o,wrapped:i},r){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,r??t??this[e]),!0!==i||void 0!==r)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===o&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,n]of e){const{wrapped:e}=n,o=this[t];!0!==e||this._$AL.has(t)||void 0===o||this.C(t,void 0,n,o)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach((e=>e.hostUpdate?.())),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(e){}firstUpdated(e){}}j.elementStyles=[],j.shadowRootOptions={mode:"open"},j[$("elementProperties")]=new Map,j[$("finalized")]=new Map,k?.({ReactiveElement:j}),(b.reactiveElementVersions??=[]).push("2.1.1")}}]);
@@ -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,274 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8642],{68642:(t,l,r)=>{r.r(l),r.d(l,{Page401:()=>i});var e=r(56666),a=r(21293);class i extends a.oi{constructor(){super()}render(){return a.dy`<div class="root">
2
+ <h1><lang-text text="unauthorized"></lang-text> <span>401</span></h1>
3
+ <svg
4
+ xmlns="http://www.w3.org/2000/svg"
5
+ id="currentIllo"
6
+ data-name="Layer 1"
7
+ width="1002.5009"
8
+ height="516.22024"
9
+ viewBox="0 0 1002.5009 516.22024"
10
+ class="injected-svg DownloadModal__ImageFile-sc-p17csy-5 iIfSkb grid_media"
11
+ xmlns:xlink="http://www.w3.org/1999/xlink"
12
+ >
13
+ <title>towing</title>
14
+ <path
15
+ d="M149.07843,674.20215l43.07664-68.361-43.09661,75.80813-.02309,7.7894q-4.60974-.0539-9.12643-.35342l3.51352-100.06285-.0462-.77342.07916-.14767.33455-9.45528L98.74955,503.72254l45.08688,67.8427.1349,2.00269,2.65414-75.6014-38.7204-77.518,39.023,64.23377,1.8152-156.70073.00832-.52151.00624.51318.88382,123.54783,36.99947-49.43346L149.60894,462.1622l-.17171,67.668,34.33009-65.354-34.349,75.30247-.095,37.62683,49.86758-90.99615L149.284,590.5318Z"
16
+ transform="translate(-98.74955 -191.88988)"
17
+ fill="#d0cde1"
18
+ ></path>
19
+ <rect
20
+ x="642.85096"
21
+ y="193.7674"
22
+ width="12.11046"
23
+ height="85.98428"
24
+ fill="#3f3d56"
25
+ ></rect>
26
+ <rect
27
+ x="521.32907"
28
+ y="57.40029"
29
+ width="12.11046"
30
+ height="483.65711"
31
+ transform="translate(-46.96838 483.46895) rotate(-67.90849)"
32
+ fill="#3f3d56"
33
+ ></rect>
34
+ <path
35
+ d="M1101.24876,685.58308C1082.49147,716.92037,97.76,714.2897,99.25214,685.58122,118.00918,654.24579,1102.7407,656.87647,1101.24876,685.58308Z"
36
+ transform="translate(-98.74955 -191.88988)"
37
+ fill="#d0cde1"
38
+ ></path>
39
+ <rect
40
+ x="773.64395"
41
+ y="366.94701"
42
+ width="105.36102"
43
+ height="41.17557"
44
+ fill="#3f3d56"
45
+ ></rect>
46
+ <rect
47
+ x="349.77776"
48
+ y="403.2784"
49
+ width="519.53884"
50
+ height="46.01976"
51
+ fill="#3f3d56"
52
+ ></rect>
53
+ <polygon
54
+ points="783.938 426.288 659.2 426.288 659.2 269.458 752.451 269.458 783.938 348.555 783.938 426.288"
55
+ fill="#d0cde1"
56
+ ></polygon>
57
+ <rect
58
+ x="678.57682"
59
+ y="279.14616"
60
+ width="53.28603"
61
+ height="53.28603"
62
+ fill="#fff"
63
+ ></rect>
64
+ <polygon
65
+ points="771.827 333.038 737.918 333.038 737.918 279.752 752.451 279.752 771.827 333.038"
66
+ fill="#fff"
67
+ ></polygon>
68
+ <rect
69
+ x="680.99891"
70
+ y="362.70835"
71
+ width="12.11046"
72
+ height="23.00988"
73
+ fill="#3f3d56"
74
+ ></rect>
75
+ <path
76
+ d="M748.212,313.661h.60553a11.50493,11.50493,0,0,1,11.50493,11.50493v0a11.50493,11.50493,0,0,1-11.50493,11.50493H748.212a0,0,0,0,1,0,0V313.661a0,0,0,0,1,0,0Z"
77
+ fill="#3f3d56"
78
+ ></path>
79
+ <path
80
+ d="M297.70277,403.2784h.60553a11.50493,11.50493,0,0,1,11.50493,11.50493v0a11.50493,11.50493,0,0,1-11.50493,11.50493h-.60553a0,0,0,0,1,0,0V403.2784A0,0,0,0,1,297.70277,403.2784Z"
81
+ fill="#3f3d56"
82
+ ></path>
83
+ <path
84
+ d="M931.12924,594.99452c18.45486,0,35.05463,8.94049,46.5728,23.18364h23.66789l-23.00988-64.09594-107.1776-21.138,3.02762,85.234h10.34637C896.07461,603.935,912.67439,594.99452,931.12924,594.99452Z"
85
+ transform="translate(-98.74955 -191.88988)"
86
+ fill="#d0cde1"
87
+ ></path>
88
+ <circle
89
+ cx="833.59074"
90
+ cy="441.42636"
91
+ r="52.68051"
92
+ fill="#3f3d56"
93
+ ></circle>
94
+ <circle
95
+ cx="833.59074"
96
+ cy="441.42636"
97
+ r="27.72659"
98
+ fill="#d0cde1"
99
+ ></circle>
100
+ <circle
101
+ cx="357.64956"
102
+ cy="447.48159"
103
+ r="46.01976"
104
+ fill="#3f3d56"
105
+ ></circle>
106
+ <circle
107
+ cx="357.64956"
108
+ cy="447.48159"
109
+ r="24.22092"
110
+ fill="#d0cde1"
111
+ ></circle>
112
+ <rect
113
+ x="637.40125"
114
+ y="247.65896"
115
+ width="25.43197"
116
+ height="183.47351"
117
+ fill="#3f3d56"
118
+ ></rect>
119
+ <rect
120
+ x="297.09725"
121
+ y="397.82869"
122
+ width="365.73597"
123
+ height="10.89942"
124
+ fill="#3f3d56"
125
+ ></rect>
126
+ <rect
127
+ x="194.30308"
128
+ y="575.27158"
129
+ width="413.35786"
130
+ height="10.89942"
131
+ transform="translate(-237.13545 -66.25763) rotate(-15.21949)"
132
+ fill="#3f3d56"
133
+ ></rect>
134
+ <rect
135
+ x="585.08165"
136
+ y="530.05667"
137
+ width="8.47732"
138
+ height="70.85626"
139
+ transform="translate(-319.17476 266.90058) rotate(-36.31135)"
140
+ fill="#3f3d56"
141
+ ></rect>
142
+ <rect
143
+ x="743.36779"
144
+ y="335.45981"
145
+ width="12.11046"
146
+ height="4.84418"
147
+ fill="#3f3d56"
148
+ ></rect>
149
+ <path
150
+ d="M747.65574,563.68108H589.00868a1.21092,1.21092,0,0,1-.34416-2.37183l155.01392-46.01976a1.21074,1.21074,0,0,1,1.55166,1.06558l3.63314,46.01976a1.21143,1.21143,0,0,1-1.2075,1.30625ZM597.3429,561.259H746.34535l-3.412-43.22217Z"
151
+ transform="translate(-98.74955 -191.88988)"
152
+ fill="#3f3d56"
153
+ ></path>
154
+ <path
155
+ d="M318.04891,510.395h-.01124l-34.76613-.3276a1.2112,1.2112,0,0,1-1.19213-1.34882l18.064-157.61519a1.21146,1.21146,0,0,1,1.20336-1.07326h.00532a1.21158,1.21158,0,0,1,1.19922,1.08391l16.70215,157.94278a1.21129,1.21129,0,0,1-1.20454,1.33818Zm-33.40962-2.73668,32.06257.30158L301.29827,362.2997Z"
156
+ transform="translate(-98.74955 -191.88988)"
157
+ fill="#3f3d56"
158
+ ></path>
159
+ <path
160
+ d="M970.48825,556.4148h.60553a11.50493,11.50493,0,0,1,11.50493,11.50493v0a11.50493,11.50493,0,0,1-11.50493,11.50493h-.60553a0,0,0,0,1,0,0V556.4148A0,0,0,0,1,970.48825,556.4148Z"
161
+ transform="translate(1992.09742 561.76549) rotate(159.28262)"
162
+ fill="#3f3d56"
163
+ ></path>
164
+ <rect
165
+ x="215.94814"
166
+ y="588.22581"
167
+ width="35.08027"
168
+ height="5.5683"
169
+ transform="translate(-249.4105 -107.08039) rotate(-15.63709)"
170
+ fill="#3f3d56"
171
+ ></rect>
172
+ <path
173
+ d="M494.25243,516.57572l-6.5206,3.55983L222.83891,594.27986l-3.93276-4.88514a58.17112,58.17112,0,0,1-12.58107-29.144c-1.00026-7.98461-.26866-16.40044,5.30138-21.52286l-10.11625-81.59017,146.50027-41.20421,69.48493,29.899s26.616-7.953,46.20245,6.08c6.19992,4.44595,11.698,11.09472,15.416,20.90745l3.20251,9.25159Z"
174
+ transform="translate(-98.74955 -191.88988)"
175
+ fill="#000000"
176
+ ></path>
177
+ <circle
178
+ cx="336.94773"
179
+ cy="339.63002"
180
+ r="33.96661"
181
+ fill="#3f3d56"
182
+ ></circle>
183
+ <circle
184
+ cx="336.94773"
185
+ cy="339.63002"
186
+ r="17.87716"
187
+ fill="#d0cde1"
188
+ ></circle>
189
+ <circle
190
+ cx="175.54536"
191
+ cy="384.80702"
192
+ r="33.96661"
193
+ fill="#3f3d56"
194
+ ></circle>
195
+ <circle
196
+ cx="175.54536"
197
+ cy="384.80702"
198
+ r="17.87716"
199
+ fill="#d0cde1"
200
+ ></circle>
201
+ <polygon
202
+ points="294.724 254.884 189.624 284.302 180.769 252.665 247.797 233.903 294.724 254.884"
203
+ fill="#fff"
204
+ ></polygon>
205
+ <rect
206
+ x="228.44813"
207
+ y="453.4022"
208
+ width="43.43272"
209
+ height="32.85295"
210
+ transform="translate(-216.12969 -107.07056) rotate(-15.63709)"
211
+ fill="#fff"
212
+ ></rect>
213
+ <rect
214
+ x="296.30078"
215
+ y="498.83899"
216
+ width="5.5683"
217
+ height="10.57976"
218
+ transform="translate(-223.56445 -92.61487) rotate(-15.63709)"
219
+ fill="#3f3d56"
220
+ ></rect>
221
+ <rect
222
+ x="377.63635"
223
+ y="457.85865"
224
+ width="5.5683"
225
+ height="10.57976"
226
+ transform="translate(625.13777 -219.92039) rotate(74.36291)"
227
+ fill="#3f3d56"
228
+ ></rect>
229
+ <path
230
+ d="M375.62632,438.70629h.61252A11.63773,11.63773,0,0,1,387.87657,450.344v0a11.63773,11.63773,0,0,1-11.63773,11.63773h-.61252a0,0,0,0,1,0,0V438.70629A0,0,0,0,1,375.62632,438.70629Z"
231
+ transform="translate(-206.00747 -72.32334) rotate(-15.63709)"
232
+ fill="#3f3d56"
233
+ ></path>
234
+ <path
235
+ d="M482.31639,482.07146a17.98812,17.98812,0,0,1-18.61853-30.159c6.19992,4.44595,11.698,11.09472,15.416,20.90745Z"
236
+ transform="translate(-98.74955 -191.88988)"
237
+ fill="#3f3d56"
238
+ ></path>
239
+ <rect
240
+ x="195.97489"
241
+ y="10.89942"
242
+ width="12.11046"
243
+ height="176.81275"
244
+ fill="#3f3d56"
245
+ ></rect>
246
+ <circle
247
+ cx="202.03012"
248
+ cy="16.95465"
249
+ r="16.95465"
250
+ fill="#3f3d56"
251
+ ></circle>
252
+ <circle
253
+ cx="648.90619"
254
+ cy="196.18949"
255
+ r="16.95465"
256
+ fill="#3f3d56"
257
+ ></circle>
258
+ </svg>
259
+ </div>`}}(0,e.Z)(i,"properties",{}),(0,e.Z)(i,"styles",a.iv`
260
+ :host {
261
+ position: fixed;
262
+ left: 50%;
263
+ top: 50%;
264
+ transform: translate(-50%, -50%);
265
+ background: #fff;
266
+ }
267
+ svg {
268
+ max-width: 500px;
269
+ }
270
+ h1 {
271
+ font-family: Arial;
272
+ color: var(--primary);
273
+ }
274
+ `),customElements.define("cdtr-401",i)}}]);
Binary file
@@ -0,0 +1,28 @@
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[865],{50865:(t,e,i)=>{i.r(e),i.d(e,{LineIcon:()=>s});var r=i(56666),n=i(21293);class s extends n.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return n.dy`<svg
2
+ width="28"
3
+ height="2"
4
+ viewBox="0 0 28 2"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <line
9
+ x1="1"
10
+ y1="1"
11
+ x2="27"
12
+ y2="1"
13
+ stroke="black"
14
+ stroke-width="2"
15
+ stroke-linecap="round"
16
+ />
17
+ </svg> `}}(0,r.Z)(s,"styles",n.iv`
18
+ :host {
19
+ display: inherit;
20
+ --cdtr-icon-width: 20px;
21
+ --cdtr-icon-height: 20px;
22
+ }
23
+ svg {
24
+ width: var(--cdtr-icon-width);
25
+ height: var(--cdtr-icon-height);
26
+ color: var(--cdtr-icon-color);
27
+ }
28
+ `),(0,r.Z)(s,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-line-icon",s)}}]);
Binary file