j1-template 2021.2.3 → 2021.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (643) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/layout_metadata_generator.html +6 -1
  3. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +11 -23
  4. data/assets/data/cookieconsent.html +43 -33
  5. data/assets/data/msdropdown.json +155 -0
  6. data/assets/data/quicklinks.html +24 -2
  7. data/assets/data/translator.html +291 -0
  8. data/assets/data/translator_languages.json +142 -0
  9. data/assets/themes/j1/adapter/js/cookieConsent.js +41 -34
  10. data/assets/themes/j1/adapter/js/j1.js +66 -20
  11. data/assets/themes/j1/adapter/js/themer.js +2 -2
  12. data/assets/themes/j1/adapter/js/translator.js +492 -0
  13. data/assets/themes/j1/core/country-flags/1x1/ad.svg +148 -0
  14. data/assets/themes/j1/core/country-flags/1x1/ae.svg +6 -0
  15. data/assets/themes/j1/core/country-flags/1x1/af.svg +81 -0
  16. data/assets/themes/j1/core/country-flags/1x1/ag.svg +14 -0
  17. data/assets/themes/j1/core/country-flags/1x1/ai.svg +763 -0
  18. data/assets/themes/j1/core/country-flags/1x1/al.svg +5 -0
  19. data/assets/themes/j1/core/country-flags/1x1/am.svg +5 -0
  20. data/assets/themes/j1/core/country-flags/1x1/ao.svg +13 -0
  21. data/assets/themes/j1/core/country-flags/1x1/aq.svg +5 -0
  22. data/assets/themes/j1/core/country-flags/1x1/ar.svg +31 -0
  23. data/assets/themes/j1/core/country-flags/1x1/as.svg +33 -0
  24. data/assets/themes/j1/core/country-flags/1x1/at.svg +6 -0
  25. data/assets/themes/j1/core/country-flags/1x1/au.svg +11 -0
  26. data/assets/themes/j1/core/country-flags/1x1/aw.svg +186 -0
  27. data/assets/themes/j1/core/country-flags/1x1/ax.svg +18 -0
  28. data/assets/themes/j1/core/country-flags/1x1/az.svg +8 -0
  29. data/assets/themes/j1/core/country-flags/1x1/ba.svg +12 -0
  30. data/assets/themes/j1/core/country-flags/1x1/bb.svg +6 -0
  31. data/assets/themes/j1/core/country-flags/1x1/bd.svg +4 -0
  32. data/assets/themes/j1/core/country-flags/1x1/be.svg +7 -0
  33. data/assets/themes/j1/core/country-flags/1x1/bf.svg +7 -0
  34. data/assets/themes/j1/core/country-flags/1x1/bg.svg +7 -0
  35. data/assets/themes/j1/core/country-flags/1x1/bh.svg +9 -0
  36. data/assets/themes/j1/core/country-flags/1x1/bi.svg +15 -0
  37. data/assets/themes/j1/core/country-flags/1x1/bj.svg +14 -0
  38. data/assets/themes/j1/core/country-flags/1x1/bl.svg +7 -0
  39. data/assets/themes/j1/core/country-flags/1x1/bm.svg +98 -0
  40. data/assets/themes/j1/core/country-flags/1x1/bn.svg +36 -0
  41. data/assets/themes/j1/core/country-flags/1x1/bo.svg +678 -0
  42. data/assets/themes/j1/core/country-flags/1x1/bq.svg +5 -0
  43. data/assets/themes/j1/core/country-flags/1x1/br.svg +45 -0
  44. data/assets/themes/j1/core/country-flags/1x1/bs.svg +13 -0
  45. data/assets/themes/j1/core/country-flags/1x1/bt.svg +89 -0
  46. data/assets/themes/j1/core/country-flags/1x1/bv.svg +13 -0
  47. data/assets/themes/j1/core/country-flags/1x1/bw.svg +7 -0
  48. data/assets/themes/j1/core/country-flags/1x1/by.svg +22 -0
  49. data/assets/themes/j1/core/country-flags/1x1/bz.svg +145 -0
  50. data/assets/themes/j1/core/country-flags/1x1/ca.svg +4 -0
  51. data/assets/themes/j1/core/country-flags/1x1/cc.svg +19 -0
  52. data/assets/themes/j1/core/country-flags/1x1/cd.svg +12 -0
  53. data/assets/themes/j1/core/country-flags/1x1/cf.svg +15 -0
  54. data/assets/themes/j1/core/country-flags/1x1/cg.svg +12 -0
  55. data/assets/themes/j1/core/country-flags/1x1/ch.svg +9 -0
  56. data/assets/themes/j1/core/country-flags/1x1/ci.svg +7 -0
  57. data/assets/themes/j1/core/country-flags/1x1/ck.svg +11 -0
  58. data/assets/themes/j1/core/country-flags/1x1/cl.svg +13 -0
  59. data/assets/themes/j1/core/country-flags/1x1/cm.svg +15 -0
  60. data/assets/themes/j1/core/country-flags/1x1/cn.svg +11 -0
  61. data/assets/themes/j1/core/country-flags/1x1/co.svg +7 -0
  62. data/assets/themes/j1/core/country-flags/1x1/cr.svg +7 -0
  63. data/assets/themes/j1/core/country-flags/1x1/cu.svg +13 -0
  64. data/assets/themes/j1/core/country-flags/1x1/cv.svg +13 -0
  65. data/assets/themes/j1/core/country-flags/1x1/cw.svg +14 -0
  66. data/assets/themes/j1/core/country-flags/1x1/cx.svg +15 -0
  67. data/assets/themes/j1/core/country-flags/1x1/cy.svg +6 -0
  68. data/assets/themes/j1/core/country-flags/1x1/cz.svg +5 -0
  69. data/assets/themes/j1/core/country-flags/1x1/de.svg +5 -0
  70. data/assets/themes/j1/core/country-flags/1x1/dj.svg +13 -0
  71. data/assets/themes/j1/core/country-flags/1x1/dk.svg +5 -0
  72. data/assets/themes/j1/core/country-flags/1x1/dm.svg +152 -0
  73. data/assets/themes/j1/core/country-flags/1x1/do.svg +6745 -0
  74. data/assets/themes/j1/core/country-flags/1x1/dz.svg +5 -0
  75. data/assets/themes/j1/core/country-flags/1x1/ec.svg +138 -0
  76. data/assets/themes/j1/core/country-flags/1x1/ee.svg +7 -0
  77. data/assets/themes/j1/core/country-flags/1x1/eg.svg +38 -0
  78. data/assets/themes/j1/core/country-flags/1x1/eh.svg +15 -0
  79. data/assets/themes/j1/core/country-flags/1x1/er.svg +13 -0
  80. data/assets/themes/j1/core/country-flags/1x1/es-ca.svg +4 -0
  81. data/assets/themes/j1/core/country-flags/1x1/es-ga.svg +189 -0
  82. data/assets/themes/j1/core/country-flags/1x1/es.svg +547 -0
  83. data/assets/themes/j1/core/country-flags/1x1/et.svg +14 -0
  84. data/assets/themes/j1/core/country-flags/1x1/eu.svg +28 -0
  85. data/assets/themes/j1/core/country-flags/1x1/fi.svg +5 -0
  86. data/assets/themes/j1/core/country-flags/1x1/fj.svg +125 -0
  87. data/assets/themes/j1/core/country-flags/1x1/fk.svg +93 -0
  88. data/assets/themes/j1/core/country-flags/1x1/fm.svg +11 -0
  89. data/assets/themes/j1/core/country-flags/1x1/fo.svg +12 -0
  90. data/assets/themes/j1/core/country-flags/1x1/fr.svg +7 -0
  91. data/assets/themes/j1/core/country-flags/1x1/ga.svg +7 -0
  92. data/assets/themes/j1/core/country-flags/1x1/gb-eng.svg +5 -0
  93. data/assets/themes/j1/core/country-flags/1x1/gb-nir.svg +131 -0
  94. data/assets/themes/j1/core/country-flags/1x1/gb-sct.svg +4 -0
  95. data/assets/themes/j1/core/country-flags/1x1/gb-wls.svg +9 -0
  96. data/assets/themes/j1/core/country-flags/1x1/gb.svg +7 -0
  97. data/assets/themes/j1/core/country-flags/1x1/gd.svg +27 -0
  98. data/assets/themes/j1/core/country-flags/1x1/ge.svg +6 -0
  99. data/assets/themes/j1/core/country-flags/1x1/gf.svg +7 -0
  100. data/assets/themes/j1/core/country-flags/1x1/gg.svg +9 -0
  101. data/assets/themes/j1/core/country-flags/1x1/gh.svg +6 -0
  102. data/assets/themes/j1/core/country-flags/1x1/gi.svg +32 -0
  103. data/assets/themes/j1/core/country-flags/1x1/gl.svg +4 -0
  104. data/assets/themes/j1/core/country-flags/1x1/gm.svg +9 -0
  105. data/assets/themes/j1/core/country-flags/1x1/gn.svg +7 -0
  106. data/assets/themes/j1/core/country-flags/1x1/gp.svg +7 -0
  107. data/assets/themes/j1/core/country-flags/1x1/gq.svg +23 -0
  108. data/assets/themes/j1/core/country-flags/1x1/gr.svg +16 -0
  109. data/assets/themes/j1/core/country-flags/1x1/gs.svg +206 -0
  110. data/assets/themes/j1/core/country-flags/1x1/gt.svg +204 -0
  111. data/assets/themes/j1/core/country-flags/1x1/gu.svg +39 -0
  112. data/assets/themes/j1/core/country-flags/1x1/gw.svg +15 -0
  113. data/assets/themes/j1/core/country-flags/1x1/gy.svg +9 -0
  114. data/assets/themes/j1/core/country-flags/1x1/hk.svg +30 -0
  115. data/assets/themes/j1/core/country-flags/1x1/hm.svg +9 -0
  116. data/assets/themes/j1/core/country-flags/1x1/hn.svg +18 -0
  117. data/assets/themes/j1/core/country-flags/1x1/hr.svg +56 -0
  118. data/assets/themes/j1/core/country-flags/1x1/ht.svg +116 -0
  119. data/assets/themes/j1/core/country-flags/1x1/hu.svg +7 -0
  120. data/assets/themes/j1/core/country-flags/1x1/id.svg +6 -0
  121. data/assets/themes/j1/core/country-flags/1x1/ie.svg +7 -0
  122. data/assets/themes/j1/core/country-flags/1x1/il.svg +14 -0
  123. data/assets/themes/j1/core/country-flags/1x1/im.svg +36 -0
  124. data/assets/themes/j1/core/country-flags/1x1/in.svg +25 -0
  125. data/assets/themes/j1/core/country-flags/1x1/io.svg +140 -0
  126. data/assets/themes/j1/core/country-flags/1x1/iq.svg +10 -0
  127. data/assets/themes/j1/core/country-flags/1x1/ir.svg +219 -0
  128. data/assets/themes/j1/core/country-flags/1x1/is.svg +12 -0
  129. data/assets/themes/j1/core/country-flags/1x1/it.svg +7 -0
  130. data/assets/themes/j1/core/country-flags/1x1/je.svg +29 -0
  131. data/assets/themes/j1/core/country-flags/1x1/jm.svg +8 -0
  132. data/assets/themes/j1/core/country-flags/1x1/jo.svg +16 -0
  133. data/assets/themes/j1/core/country-flags/1x1/jp.svg +11 -0
  134. data/assets/themes/j1/core/country-flags/1x1/ke.svg +23 -0
  135. data/assets/themes/j1/core/country-flags/1x1/kg.svg +15 -0
  136. data/assets/themes/j1/core/country-flags/1x1/kh.svg +61 -0
  137. data/assets/themes/j1/core/country-flags/1x1/ki.svg +36 -0
  138. data/assets/themes/j1/core/country-flags/1x1/km.svg +16 -0
  139. data/assets/themes/j1/core/country-flags/1x1/kn.svg +14 -0
  140. data/assets/themes/j1/core/country-flags/1x1/kp.svg +15 -0
  141. data/assets/themes/j1/core/country-flags/1x1/kr.svg +24 -0
  142. data/assets/themes/j1/core/country-flags/1x1/kw.svg +13 -0
  143. data/assets/themes/j1/core/country-flags/1x1/ky.svg +70 -0
  144. data/assets/themes/j1/core/country-flags/1x1/kz.svg +23 -0
  145. data/assets/themes/j1/core/country-flags/1x1/la.svg +12 -0
  146. data/assets/themes/j1/core/country-flags/1x1/lb.svg +15 -0
  147. data/assets/themes/j1/core/country-flags/1x1/lc.svg +8 -0
  148. data/assets/themes/j1/core/country-flags/1x1/li.svg +43 -0
  149. data/assets/themes/j1/core/country-flags/1x1/lk.svg +22 -0
  150. data/assets/themes/j1/core/country-flags/1x1/lr.svg +14 -0
  151. data/assets/themes/j1/core/country-flags/1x1/ls.svg +8 -0
  152. data/assets/themes/j1/core/country-flags/1x1/lt.svg +7 -0
  153. data/assets/themes/j1/core/country-flags/1x1/lu.svg +5 -0
  154. data/assets/themes/j1/core/country-flags/1x1/lv.svg +6 -0
  155. data/assets/themes/j1/core/country-flags/1x1/ly.svg +13 -0
  156. data/assets/themes/j1/core/country-flags/1x1/ma.svg +4 -0
  157. data/assets/themes/j1/core/country-flags/1x1/mc.svg +6 -0
  158. data/assets/themes/j1/core/country-flags/1x1/md.svg +71 -0
  159. data/assets/themes/j1/core/country-flags/1x1/me.svg +118 -0
  160. data/assets/themes/j1/core/country-flags/1x1/mf.svg +7 -0
  161. data/assets/themes/j1/core/country-flags/1x1/mg.svg +7 -0
  162. data/assets/themes/j1/core/country-flags/1x1/mh.svg +8 -0
  163. data/assets/themes/j1/core/country-flags/1x1/mk.svg +5 -0
  164. data/assets/themes/j1/core/country-flags/1x1/ml.svg +7 -0
  165. data/assets/themes/j1/core/country-flags/1x1/mm.svg +16 -0
  166. data/assets/themes/j1/core/country-flags/1x1/mn.svg +13 -0
  167. data/assets/themes/j1/core/country-flags/1x1/mo.svg +9 -0
  168. data/assets/themes/j1/core/country-flags/1x1/mp.svg +86 -0
  169. data/assets/themes/j1/core/country-flags/1x1/mq.svg +7 -0
  170. data/assets/themes/j1/core/country-flags/1x1/mr.svg +6 -0
  171. data/assets/themes/j1/core/country-flags/1x1/ms.svg +70 -0
  172. data/assets/themes/j1/core/country-flags/1x1/mt.svg +50 -0
  173. data/assets/themes/j1/core/country-flags/1x1/mu.svg +8 -0
  174. data/assets/themes/j1/core/country-flags/1x1/mv.svg +6 -0
  175. data/assets/themes/j1/core/country-flags/1x1/mw.svg +15 -0
  176. data/assets/themes/j1/core/country-flags/1x1/mx.svg +378 -0
  177. data/assets/themes/j1/core/country-flags/1x1/my.svg +15 -0
  178. data/assets/themes/j1/core/country-flags/1x1/mz.svg +21 -0
  179. data/assets/themes/j1/core/country-flags/1x1/na.svg +16 -0
  180. data/assets/themes/j1/core/country-flags/1x1/nc.svg +14 -0
  181. data/assets/themes/j1/core/country-flags/1x1/ne.svg +6 -0
  182. data/assets/themes/j1/core/country-flags/1x1/nf.svg +11 -0
  183. data/assets/themes/j1/core/country-flags/1x1/ng.svg +6 -0
  184. data/assets/themes/j1/core/country-flags/1x1/ni.svg +129 -0
  185. data/assets/themes/j1/core/country-flags/1x1/nl.svg +5 -0
  186. data/assets/themes/j1/core/country-flags/1x1/no.svg +7 -0
  187. data/assets/themes/j1/core/country-flags/1x1/np.svg +19 -0
  188. data/assets/themes/j1/core/country-flags/1x1/nr.svg +12 -0
  189. data/assets/themes/j1/core/country-flags/1x1/nu.svg +26 -0
  190. data/assets/themes/j1/core/country-flags/1x1/nz.svg +41 -0
  191. data/assets/themes/j1/core/country-flags/1x1/om.svg +115 -0
  192. data/assets/themes/j1/core/country-flags/1x1/pa.svg +13 -0
  193. data/assets/themes/j1/core/country-flags/1x1/pe.svg +244 -0
  194. data/assets/themes/j1/core/country-flags/1x1/pf.svg +18 -0
  195. data/assets/themes/j1/core/country-flags/1x1/pg.svg +16 -0
  196. data/assets/themes/j1/core/country-flags/1x1/ph.svg +9 -0
  197. data/assets/themes/j1/core/country-flags/1x1/pk.svg +15 -0
  198. data/assets/themes/j1/core/country-flags/1x1/pl.svg +6 -0
  199. data/assets/themes/j1/core/country-flags/1x1/pm.svg +7 -0
  200. data/assets/themes/j1/core/country-flags/1x1/pn.svg +67 -0
  201. data/assets/themes/j1/core/country-flags/1x1/pr.svg +13 -0
  202. data/assets/themes/j1/core/country-flags/1x1/ps.svg +15 -0
  203. data/assets/themes/j1/core/country-flags/1x1/pt.svg +57 -0
  204. data/assets/themes/j1/core/country-flags/1x1/pw.svg +11 -0
  205. data/assets/themes/j1/core/country-flags/1x1/py.svg +156 -0
  206. data/assets/themes/j1/core/country-flags/1x1/qa.svg +4 -0
  207. data/assets/themes/j1/core/country-flags/1x1/re.svg +7 -0
  208. data/assets/themes/j1/core/country-flags/1x1/ro.svg +7 -0
  209. data/assets/themes/j1/core/country-flags/1x1/rs.svg +296 -0
  210. data/assets/themes/j1/core/country-flags/1x1/ru.svg +7 -0
  211. data/assets/themes/j1/core/country-flags/1x1/rw.svg +13 -0
  212. data/assets/themes/j1/core/country-flags/1x1/sa.svg +26 -0
  213. data/assets/themes/j1/core/country-flags/1x1/sb.svg +13 -0
  214. data/assets/themes/j1/core/country-flags/1x1/sc.svg +14 -0
  215. data/assets/themes/j1/core/country-flags/1x1/sd.svg +13 -0
  216. data/assets/themes/j1/core/country-flags/1x1/se.svg +5 -0
  217. data/assets/themes/j1/core/country-flags/1x1/sg.svg +13 -0
  218. data/assets/themes/j1/core/country-flags/1x1/sh.svg +81 -0
  219. data/assets/themes/j1/core/country-flags/1x1/si.svg +18 -0
  220. data/assets/themes/j1/core/country-flags/1x1/sj.svg +7 -0
  221. data/assets/themes/j1/core/country-flags/1x1/sk.svg +9 -0
  222. data/assets/themes/j1/core/country-flags/1x1/sl.svg +12 -0
  223. data/assets/themes/j1/core/country-flags/1x1/sm.svg +89 -0
  224. data/assets/themes/j1/core/country-flags/1x1/sn.svg +8 -0
  225. data/assets/themes/j1/core/country-flags/1x1/so.svg +11 -0
  226. data/assets/themes/j1/core/country-flags/1x1/sr.svg +6 -0
  227. data/assets/themes/j1/core/country-flags/1x1/ss.svg +8 -0
  228. data/assets/themes/j1/core/country-flags/1x1/st.svg +16 -0
  229. data/assets/themes/j1/core/country-flags/1x1/sv.svg +596 -0
  230. data/assets/themes/j1/core/country-flags/1x1/sx.svg +56 -0
  231. data/assets/themes/j1/core/country-flags/1x1/sy.svg +6 -0
  232. data/assets/themes/j1/core/country-flags/1x1/sz.svg +45 -0
  233. data/assets/themes/j1/core/country-flags/1x1/tc.svg +74 -0
  234. data/assets/themes/j1/core/country-flags/1x1/td.svg +7 -0
  235. data/assets/themes/j1/core/country-flags/1x1/tf.svg +15 -0
  236. data/assets/themes/j1/core/country-flags/1x1/tg.svg +14 -0
  237. data/assets/themes/j1/core/country-flags/1x1/th.svg +7 -0
  238. data/assets/themes/j1/core/country-flags/1x1/tj.svg +26 -0
  239. data/assets/themes/j1/core/country-flags/1x1/tk.svg +5 -0
  240. data/assets/themes/j1/core/country-flags/1x1/tl.svg +13 -0
  241. data/assets/themes/j1/core/country-flags/1x1/tm.svg +203 -0
  242. data/assets/themes/j1/core/country-flags/1x1/tn.svg +13 -0
  243. data/assets/themes/j1/core/country-flags/1x1/to.svg +10 -0
  244. data/assets/themes/j1/core/country-flags/1x1/tr.svg +8 -0
  245. data/assets/themes/j1/core/country-flags/1x1/tt.svg +7 -0
  246. data/assets/themes/j1/core/country-flags/1x1/tv.svg +16 -0
  247. data/assets/themes/j1/core/country-flags/1x1/tw.svg +14 -0
  248. data/assets/themes/j1/core/country-flags/1x1/tz.svg +15 -0
  249. data/assets/themes/j1/core/country-flags/1x1/ua.svg +6 -0
  250. data/assets/themes/j1/core/country-flags/1x1/ug.svg +30 -0
  251. data/assets/themes/j1/core/country-flags/1x1/um.svg +15 -0
  252. data/assets/themes/j1/core/country-flags/1x1/un.svg +16 -0
  253. data/assets/themes/j1/core/country-flags/1x1/us.svg +10 -0
  254. data/assets/themes/j1/core/country-flags/1x1/uy.svg +28 -0
  255. data/assets/themes/j1/core/country-flags/1x1/uz.svg +30 -0
  256. data/assets/themes/j1/core/country-flags/1x1/va.svg +479 -0
  257. data/assets/themes/j1/core/country-flags/1x1/vc.svg +8 -0
  258. data/assets/themes/j1/core/country-flags/1x1/ve.svg +26 -0
  259. data/assets/themes/j1/core/country-flags/1x1/vg.svg +128 -0
  260. data/assets/themes/j1/core/country-flags/1x1/vi.svg +28 -0
  261. data/assets/themes/j1/core/country-flags/1x1/vn.svg +11 -0
  262. data/assets/themes/j1/core/country-flags/1x1/vu.svg +18 -0
  263. data/assets/themes/j1/core/country-flags/1x1/wf.svg +7 -0
  264. data/assets/themes/j1/core/country-flags/1x1/ws.svg +7 -0
  265. data/assets/themes/j1/core/country-flags/1x1/xk.svg +16 -0
  266. data/assets/themes/j1/core/country-flags/1x1/ye.svg +7 -0
  267. data/assets/themes/j1/core/country-flags/1x1/yt.svg +7 -0
  268. data/assets/themes/j1/core/country-flags/1x1/za.svg +17 -0
  269. data/assets/themes/j1/core/country-flags/1x1/zm.svg +27 -0
  270. data/assets/themes/j1/core/country-flags/1x1/zw.svg +21 -0
  271. data/assets/themes/j1/core/country-flags/4x3/ad.svg +150 -0
  272. data/assets/themes/j1/core/country-flags/4x3/ae.svg +6 -0
  273. data/assets/themes/j1/core/country-flags/4x3/af.svg +81 -0
  274. data/assets/themes/j1/core/country-flags/4x3/ag.svg +14 -0
  275. data/assets/themes/j1/core/country-flags/4x3/ai.svg +763 -0
  276. data/assets/themes/j1/core/country-flags/4x3/al.svg +5 -0
  277. data/assets/themes/j1/core/country-flags/4x3/am.svg +5 -0
  278. data/assets/themes/j1/core/country-flags/4x3/ao.svg +13 -0
  279. data/assets/themes/j1/core/country-flags/4x3/aq.svg +5 -0
  280. data/assets/themes/j1/core/country-flags/4x3/ar.svg +31 -0
  281. data/assets/themes/j1/core/country-flags/4x3/as.svg +33 -0
  282. data/assets/themes/j1/core/country-flags/4x3/at.svg +6 -0
  283. data/assets/themes/j1/core/country-flags/4x3/au.svg +9 -0
  284. data/assets/themes/j1/core/country-flags/4x3/aw.svg +186 -0
  285. data/assets/themes/j1/core/country-flags/4x3/ax.svg +18 -0
  286. data/assets/themes/j1/core/country-flags/4x3/az.svg +8 -0
  287. data/assets/themes/j1/core/country-flags/4x3/ba.svg +12 -0
  288. data/assets/themes/j1/core/country-flags/4x3/bb.svg +6 -0
  289. data/assets/themes/j1/core/country-flags/4x3/bd.svg +4 -0
  290. data/assets/themes/j1/core/country-flags/4x3/be.svg +7 -0
  291. data/assets/themes/j1/core/country-flags/4x3/bf.svg +7 -0
  292. data/assets/themes/j1/core/country-flags/4x3/bg.svg +7 -0
  293. data/assets/themes/j1/core/country-flags/4x3/bh.svg +9 -0
  294. data/assets/themes/j1/core/country-flags/4x3/bi.svg +15 -0
  295. data/assets/themes/j1/core/country-flags/4x3/bj.svg +14 -0
  296. data/assets/themes/j1/core/country-flags/4x3/bl.svg +7 -0
  297. data/assets/themes/j1/core/country-flags/4x3/bm.svg +98 -0
  298. data/assets/themes/j1/core/country-flags/4x3/bn.svg +36 -0
  299. data/assets/themes/j1/core/country-flags/4x3/bo.svg +676 -0
  300. data/assets/themes/j1/core/country-flags/4x3/bq.svg +5 -0
  301. data/assets/themes/j1/core/country-flags/4x3/br.svg +45 -0
  302. data/assets/themes/j1/core/country-flags/4x3/bs.svg +13 -0
  303. data/assets/themes/j1/core/country-flags/4x3/bt.svg +89 -0
  304. data/assets/themes/j1/core/country-flags/4x3/bv.svg +13 -0
  305. data/assets/themes/j1/core/country-flags/4x3/bw.svg +7 -0
  306. data/assets/themes/j1/core/country-flags/4x3/by.svg +20 -0
  307. data/assets/themes/j1/core/country-flags/4x3/bz.svg +145 -0
  308. data/assets/themes/j1/core/country-flags/4x3/ca.svg +4 -0
  309. data/assets/themes/j1/core/country-flags/4x3/cc.svg +19 -0
  310. data/assets/themes/j1/core/country-flags/4x3/cd.svg +5 -0
  311. data/assets/themes/j1/core/country-flags/4x3/cf.svg +15 -0
  312. data/assets/themes/j1/core/country-flags/4x3/cg.svg +12 -0
  313. data/assets/themes/j1/core/country-flags/4x3/ch.svg +9 -0
  314. data/assets/themes/j1/core/country-flags/4x3/ci.svg +7 -0
  315. data/assets/themes/j1/core/country-flags/4x3/ck.svg +9 -0
  316. data/assets/themes/j1/core/country-flags/4x3/cl.svg +13 -0
  317. data/assets/themes/j1/core/country-flags/4x3/cm.svg +15 -0
  318. data/assets/themes/j1/core/country-flags/4x3/cn.svg +11 -0
  319. data/assets/themes/j1/core/country-flags/4x3/co.svg +7 -0
  320. data/assets/themes/j1/core/country-flags/4x3/cr.svg +7 -0
  321. data/assets/themes/j1/core/country-flags/4x3/cu.svg +13 -0
  322. data/assets/themes/j1/core/country-flags/4x3/cv.svg +13 -0
  323. data/assets/themes/j1/core/country-flags/4x3/cw.svg +14 -0
  324. data/assets/themes/j1/core/country-flags/4x3/cx.svg +15 -0
  325. data/assets/themes/j1/core/country-flags/4x3/cy.svg +6 -0
  326. data/assets/themes/j1/core/country-flags/4x3/cz.svg +5 -0
  327. data/assets/themes/j1/core/country-flags/4x3/de.svg +5 -0
  328. data/assets/themes/j1/core/country-flags/4x3/dj.svg +13 -0
  329. data/assets/themes/j1/core/country-flags/4x3/dk.svg +5 -0
  330. data/assets/themes/j1/core/country-flags/4x3/dm.svg +152 -0
  331. data/assets/themes/j1/core/country-flags/4x3/do.svg +6745 -0
  332. data/assets/themes/j1/core/country-flags/4x3/dz.svg +5 -0
  333. data/assets/themes/j1/core/country-flags/4x3/ec.svg +138 -0
  334. data/assets/themes/j1/core/country-flags/4x3/ee.svg +7 -0
  335. data/assets/themes/j1/core/country-flags/4x3/eg.svg +38 -0
  336. data/assets/themes/j1/core/country-flags/4x3/eh.svg +15 -0
  337. data/assets/themes/j1/core/country-flags/4x3/er.svg +8 -0
  338. data/assets/themes/j1/core/country-flags/4x3/es-ca.svg +4 -0
  339. data/assets/themes/j1/core/country-flags/4x3/es-ga.svg +189 -0
  340. data/assets/themes/j1/core/country-flags/4x3/es.svg +544 -0
  341. data/assets/themes/j1/core/country-flags/4x3/et.svg +14 -0
  342. data/assets/themes/j1/core/country-flags/4x3/eu.svg +28 -0
  343. data/assets/themes/j1/core/country-flags/4x3/fi.svg +5 -0
  344. data/assets/themes/j1/core/country-flags/4x3/fj.svg +122 -0
  345. data/assets/themes/j1/core/country-flags/4x3/fk.svg +90 -0
  346. data/assets/themes/j1/core/country-flags/4x3/fm.svg +11 -0
  347. data/assets/themes/j1/core/country-flags/4x3/fo.svg +12 -0
  348. data/assets/themes/j1/core/country-flags/4x3/fr.svg +7 -0
  349. data/assets/themes/j1/core/country-flags/4x3/ga.svg +7 -0
  350. data/assets/themes/j1/core/country-flags/4x3/gb-eng.svg +5 -0
  351. data/assets/themes/j1/core/country-flags/4x3/gb-nir.svg +132 -0
  352. data/assets/themes/j1/core/country-flags/4x3/gb-sct.svg +4 -0
  353. data/assets/themes/j1/core/country-flags/4x3/gb-wls.svg +9 -0
  354. data/assets/themes/j1/core/country-flags/4x3/gb.svg +7 -0
  355. data/assets/themes/j1/core/country-flags/4x3/gd.svg +27 -0
  356. data/assets/themes/j1/core/country-flags/4x3/ge.svg +6 -0
  357. data/assets/themes/j1/core/country-flags/4x3/gf.svg +7 -0
  358. data/assets/themes/j1/core/country-flags/4x3/gg.svg +9 -0
  359. data/assets/themes/j1/core/country-flags/4x3/gh.svg +6 -0
  360. data/assets/themes/j1/core/country-flags/4x3/gi.svg +32 -0
  361. data/assets/themes/j1/core/country-flags/4x3/gl.svg +4 -0
  362. data/assets/themes/j1/core/country-flags/4x3/gm.svg +14 -0
  363. data/assets/themes/j1/core/country-flags/4x3/gn.svg +7 -0
  364. data/assets/themes/j1/core/country-flags/4x3/gp.svg +7 -0
  365. data/assets/themes/j1/core/country-flags/4x3/gq.svg +23 -0
  366. data/assets/themes/j1/core/country-flags/4x3/gr.svg +16 -0
  367. data/assets/themes/j1/core/country-flags/4x3/gs.svg +201 -0
  368. data/assets/themes/j1/core/country-flags/4x3/gt.svg +204 -0
  369. data/assets/themes/j1/core/country-flags/4x3/gu.svg +39 -0
  370. data/assets/themes/j1/core/country-flags/4x3/gw.svg +13 -0
  371. data/assets/themes/j1/core/country-flags/4x3/gy.svg +9 -0
  372. data/assets/themes/j1/core/country-flags/4x3/hk.svg +30 -0
  373. data/assets/themes/j1/core/country-flags/4x3/hm.svg +9 -0
  374. data/assets/themes/j1/core/country-flags/4x3/hn.svg +18 -0
  375. data/assets/themes/j1/core/country-flags/4x3/hr.svg +58 -0
  376. data/assets/themes/j1/core/country-flags/4x3/ht.svg +116 -0
  377. data/assets/themes/j1/core/country-flags/4x3/hu.svg +7 -0
  378. data/assets/themes/j1/core/country-flags/4x3/id.svg +6 -0
  379. data/assets/themes/j1/core/country-flags/4x3/ie.svg +7 -0
  380. data/assets/themes/j1/core/country-flags/4x3/il.svg +14 -0
  381. data/assets/themes/j1/core/country-flags/4x3/im.svg +36 -0
  382. data/assets/themes/j1/core/country-flags/4x3/in.svg +25 -0
  383. data/assets/themes/j1/core/country-flags/4x3/io.svg +138 -0
  384. data/assets/themes/j1/core/country-flags/4x3/iq.svg +10 -0
  385. data/assets/themes/j1/core/country-flags/4x3/ir.svg +219 -0
  386. data/assets/themes/j1/core/country-flags/4x3/is.svg +12 -0
  387. data/assets/themes/j1/core/country-flags/4x3/it.svg +7 -0
  388. data/assets/themes/j1/core/country-flags/4x3/je.svg +29 -0
  389. data/assets/themes/j1/core/country-flags/4x3/jm.svg +8 -0
  390. data/assets/themes/j1/core/country-flags/4x3/jo.svg +16 -0
  391. data/assets/themes/j1/core/country-flags/4x3/jp.svg +11 -0
  392. data/assets/themes/j1/core/country-flags/4x3/ke.svg +23 -0
  393. data/assets/themes/j1/core/country-flags/4x3/kg.svg +15 -0
  394. data/assets/themes/j1/core/country-flags/4x3/kh.svg +61 -0
  395. data/assets/themes/j1/core/country-flags/4x3/ki.svg +36 -0
  396. data/assets/themes/j1/core/country-flags/4x3/km.svg +16 -0
  397. data/assets/themes/j1/core/country-flags/4x3/kn.svg +14 -0
  398. data/assets/themes/j1/core/country-flags/4x3/kp.svg +15 -0
  399. data/assets/themes/j1/core/country-flags/4x3/kr.svg +24 -0
  400. data/assets/themes/j1/core/country-flags/4x3/kw.svg +13 -0
  401. data/assets/themes/j1/core/country-flags/4x3/ky.svg +63 -0
  402. data/assets/themes/j1/core/country-flags/4x3/kz.svg +23 -0
  403. data/assets/themes/j1/core/country-flags/4x3/la.svg +12 -0
  404. data/assets/themes/j1/core/country-flags/4x3/lb.svg +15 -0
  405. data/assets/themes/j1/core/country-flags/4x3/lc.svg +8 -0
  406. data/assets/themes/j1/core/country-flags/4x3/li.svg +43 -0
  407. data/assets/themes/j1/core/country-flags/4x3/lk.svg +22 -0
  408. data/assets/themes/j1/core/country-flags/4x3/lr.svg +14 -0
  409. data/assets/themes/j1/core/country-flags/4x3/ls.svg +8 -0
  410. data/assets/themes/j1/core/country-flags/4x3/lt.svg +7 -0
  411. data/assets/themes/j1/core/country-flags/4x3/lu.svg +5 -0
  412. data/assets/themes/j1/core/country-flags/4x3/lv.svg +6 -0
  413. data/assets/themes/j1/core/country-flags/4x3/ly.svg +13 -0
  414. data/assets/themes/j1/core/country-flags/4x3/ma.svg +4 -0
  415. data/assets/themes/j1/core/country-flags/4x3/mc.svg +6 -0
  416. data/assets/themes/j1/core/country-flags/4x3/md.svg +70 -0
  417. data/assets/themes/j1/core/country-flags/4x3/me.svg +116 -0
  418. data/assets/themes/j1/core/country-flags/4x3/mf.svg +7 -0
  419. data/assets/themes/j1/core/country-flags/4x3/mg.svg +7 -0
  420. data/assets/themes/j1/core/country-flags/4x3/mh.svg +7 -0
  421. data/assets/themes/j1/core/country-flags/4x3/mk.svg +5 -0
  422. data/assets/themes/j1/core/country-flags/4x3/ml.svg +7 -0
  423. data/assets/themes/j1/core/country-flags/4x3/mm.svg +16 -0
  424. data/assets/themes/j1/core/country-flags/4x3/mn.svg +13 -0
  425. data/assets/themes/j1/core/country-flags/4x3/mo.svg +9 -0
  426. data/assets/themes/j1/core/country-flags/4x3/mp.svg +86 -0
  427. data/assets/themes/j1/core/country-flags/4x3/mq.svg +7 -0
  428. data/assets/themes/j1/core/country-flags/4x3/mr.svg +6 -0
  429. data/assets/themes/j1/core/country-flags/4x3/ms.svg +78 -0
  430. data/assets/themes/j1/core/country-flags/4x3/mt.svg +49 -0
  431. data/assets/themes/j1/core/country-flags/4x3/mu.svg +8 -0
  432. data/assets/themes/j1/core/country-flags/4x3/mv.svg +6 -0
  433. data/assets/themes/j1/core/country-flags/4x3/mw.svg +10 -0
  434. data/assets/themes/j1/core/country-flags/4x3/mx.svg +382 -0
  435. data/assets/themes/j1/core/country-flags/4x3/my.svg +15 -0
  436. data/assets/themes/j1/core/country-flags/4x3/mz.svg +21 -0
  437. data/assets/themes/j1/core/country-flags/4x3/na.svg +16 -0
  438. data/assets/themes/j1/core/country-flags/4x3/nc.svg +14 -0
  439. data/assets/themes/j1/core/country-flags/4x3/ne.svg +6 -0
  440. data/assets/themes/j1/core/country-flags/4x3/nf.svg +9 -0
  441. data/assets/themes/j1/core/country-flags/4x3/ng.svg +6 -0
  442. data/assets/themes/j1/core/country-flags/4x3/ni.svg +129 -0
  443. data/assets/themes/j1/core/country-flags/4x3/nl.svg +5 -0
  444. data/assets/themes/j1/core/country-flags/4x3/no.svg +7 -0
  445. data/assets/themes/j1/core/country-flags/4x3/np.svg +14 -0
  446. data/assets/themes/j1/core/country-flags/4x3/nr.svg +12 -0
  447. data/assets/themes/j1/core/country-flags/4x3/nu.svg +26 -0
  448. data/assets/themes/j1/core/country-flags/4x3/nz.svg +41 -0
  449. data/assets/themes/j1/core/country-flags/4x3/om.svg +115 -0
  450. data/assets/themes/j1/core/country-flags/4x3/pa.svg +14 -0
  451. data/assets/themes/j1/core/country-flags/4x3/pe.svg +244 -0
  452. data/assets/themes/j1/core/country-flags/4x3/pf.svg +19 -0
  453. data/assets/themes/j1/core/country-flags/4x3/pg.svg +9 -0
  454. data/assets/themes/j1/core/country-flags/4x3/ph.svg +9 -0
  455. data/assets/themes/j1/core/country-flags/4x3/pk.svg +15 -0
  456. data/assets/themes/j1/core/country-flags/4x3/pl.svg +6 -0
  457. data/assets/themes/j1/core/country-flags/4x3/pm.svg +7 -0
  458. data/assets/themes/j1/core/country-flags/4x3/pn.svg +62 -0
  459. data/assets/themes/j1/core/country-flags/4x3/pr.svg +13 -0
  460. data/assets/themes/j1/core/country-flags/4x3/ps.svg +15 -0
  461. data/assets/themes/j1/core/country-flags/4x3/pt.svg +57 -0
  462. data/assets/themes/j1/core/country-flags/4x3/pw.svg +11 -0
  463. data/assets/themes/j1/core/country-flags/4x3/py.svg +157 -0
  464. data/assets/themes/j1/core/country-flags/4x3/qa.svg +4 -0
  465. data/assets/themes/j1/core/country-flags/4x3/re.svg +7 -0
  466. data/assets/themes/j1/core/country-flags/4x3/ro.svg +7 -0
  467. data/assets/themes/j1/core/country-flags/4x3/rs.svg +292 -0
  468. data/assets/themes/j1/core/country-flags/4x3/ru.svg +7 -0
  469. data/assets/themes/j1/core/country-flags/4x3/rw.svg +13 -0
  470. data/assets/themes/j1/core/country-flags/4x3/sa.svg +26 -0
  471. data/assets/themes/j1/core/country-flags/4x3/sb.svg +13 -0
  472. data/assets/themes/j1/core/country-flags/4x3/sc.svg +14 -0
  473. data/assets/themes/j1/core/country-flags/4x3/sd.svg +13 -0
  474. data/assets/themes/j1/core/country-flags/4x3/se.svg +5 -0
  475. data/assets/themes/j1/core/country-flags/4x3/sg.svg +13 -0
  476. data/assets/themes/j1/core/country-flags/4x3/sh.svg +74 -0
  477. data/assets/themes/j1/core/country-flags/4x3/si.svg +18 -0
  478. data/assets/themes/j1/core/country-flags/4x3/sj.svg +7 -0
  479. data/assets/themes/j1/core/country-flags/4x3/sk.svg +9 -0
  480. data/assets/themes/j1/core/country-flags/4x3/sl.svg +7 -0
  481. data/assets/themes/j1/core/country-flags/4x3/sm.svg +91 -0
  482. data/assets/themes/j1/core/country-flags/4x3/sn.svg +8 -0
  483. data/assets/themes/j1/core/country-flags/4x3/so.svg +11 -0
  484. data/assets/themes/j1/core/country-flags/4x3/sr.svg +6 -0
  485. data/assets/themes/j1/core/country-flags/4x3/ss.svg +8 -0
  486. data/assets/themes/j1/core/country-flags/4x3/st.svg +16 -0
  487. data/assets/themes/j1/core/country-flags/4x3/sv.svg +594 -0
  488. data/assets/themes/j1/core/country-flags/4x3/sx.svg +56 -0
  489. data/assets/themes/j1/core/country-flags/4x3/sy.svg +6 -0
  490. data/assets/themes/j1/core/country-flags/4x3/sz.svg +45 -0
  491. data/assets/themes/j1/core/country-flags/4x3/tc.svg +67 -0
  492. data/assets/themes/j1/core/country-flags/4x3/td.svg +7 -0
  493. data/assets/themes/j1/core/country-flags/4x3/tf.svg +15 -0
  494. data/assets/themes/j1/core/country-flags/4x3/tg.svg +14 -0
  495. data/assets/themes/j1/core/country-flags/4x3/th.svg +7 -0
  496. data/assets/themes/j1/core/country-flags/4x3/tj.svg +22 -0
  497. data/assets/themes/j1/core/country-flags/4x3/tk.svg +5 -0
  498. data/assets/themes/j1/core/country-flags/4x3/tl.svg +13 -0
  499. data/assets/themes/j1/core/country-flags/4x3/tm.svg +206 -0
  500. data/assets/themes/j1/core/country-flags/4x3/tn.svg +13 -0
  501. data/assets/themes/j1/core/country-flags/4x3/to.svg +10 -0
  502. data/assets/themes/j1/core/country-flags/4x3/tr.svg +8 -0
  503. data/assets/themes/j1/core/country-flags/4x3/tt.svg +5 -0
  504. data/assets/themes/j1/core/country-flags/4x3/tv.svg +16 -0
  505. data/assets/themes/j1/core/country-flags/4x3/tw.svg +14 -0
  506. data/assets/themes/j1/core/country-flags/4x3/tz.svg +13 -0
  507. data/assets/themes/j1/core/country-flags/4x3/ua.svg +6 -0
  508. data/assets/themes/j1/core/country-flags/4x3/ug.svg +30 -0
  509. data/assets/themes/j1/core/country-flags/4x3/um.svg +15 -0
  510. data/assets/themes/j1/core/country-flags/4x3/un.svg +16 -0
  511. data/assets/themes/j1/core/country-flags/4x3/us.svg +10 -0
  512. data/assets/themes/j1/core/country-flags/4x3/uy.svg +28 -0
  513. data/assets/themes/j1/core/country-flags/4x3/uz.svg +30 -0
  514. data/assets/themes/j1/core/country-flags/4x3/va.svg +479 -0
  515. data/assets/themes/j1/core/country-flags/4x3/vc.svg +8 -0
  516. data/assets/themes/j1/core/country-flags/4x3/ve.svg +26 -0
  517. data/assets/themes/j1/core/country-flags/4x3/vg.svg +127 -0
  518. data/assets/themes/j1/core/country-flags/4x3/vi.svg +28 -0
  519. data/assets/themes/j1/core/country-flags/4x3/vn.svg +11 -0
  520. data/assets/themes/j1/core/country-flags/4x3/vu.svg +18 -0
  521. data/assets/themes/j1/core/country-flags/4x3/wf.svg +7 -0
  522. data/assets/themes/j1/core/country-flags/4x3/ws.svg +7 -0
  523. data/assets/themes/j1/core/country-flags/4x3/xk.svg +16 -0
  524. data/assets/themes/j1/core/country-flags/4x3/ye.svg +7 -0
  525. data/assets/themes/j1/core/country-flags/4x3/yt.svg +7 -0
  526. data/assets/themes/j1/core/country-flags/4x3/za.svg +17 -0
  527. data/assets/themes/j1/core/country-flags/4x3/zm.svg +27 -0
  528. data/assets/themes/j1/core/country-flags/4x3/zw.svg +21 -0
  529. data/assets/themes/j1/core/country-flags/css/theme/uno.css +73 -0
  530. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3 -4
  531. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  532. data/assets/themes/j1/core/css/vendor.css +1400 -0
  533. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  534. data/assets/themes/j1/core/js/template.js +8496 -13
  535. data/assets/themes/j1/core/js/template.min.js +9 -9
  536. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  537. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +49 -42
  538. data/assets/themes/j1/modules/j1Deepl/js/j1deepl.js +11 -8
  539. data/assets/themes/j1/modules/j1Deepl/js/j1deepl.min.js +1 -1
  540. data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +254 -240
  541. data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +1 -2
  542. data/assets/themes/j1/modules/msDropdown/css/flags.css +1033 -0
  543. data/assets/themes/j1/modules/msDropdown/css/flags.min.css +23 -0
  544. data/assets/themes/j1/modules/msDropdown/css/msDropdown.css +278 -0
  545. data/assets/themes/j1/modules/msDropdown/css/msDropdown.min.css +34 -0
  546. data/assets/themes/j1/modules/msDropdown/images/icons/1273404841_tick_16.png +0 -0
  547. data/assets/themes/j1/modules/msDropdown/images/icons/Amex-56.png +0 -0
  548. data/assets/themes/j1/modules/msDropdown/images/icons/Cash-56.png +0 -0
  549. data/assets/themes/j1/modules/msDropdown/images/icons/Discover-56.png +0 -0
  550. data/assets/themes/j1/modules/msDropdown/images/icons/Mastercard-56.png +0 -0
  551. data/assets/themes/j1/modules/msDropdown/images/icons/Paypal-56.png +0 -0
  552. data/assets/themes/j1/modules/msDropdown/images/icons/Visa-56.png +0 -0
  553. data/assets/themes/j1/modules/msDropdown/images/icons/blank.gif +0 -0
  554. data/assets/themes/j1/modules/msDropdown/images/icons/browser-chrome.png +0 -0
  555. data/assets/themes/j1/modules/msDropdown/images/icons/browser-firefox.png +0 -0
  556. data/assets/themes/j1/modules/msDropdown/images/icons/browser-msie.png +0 -0
  557. data/assets/themes/j1/modules/msDropdown/images/icons/browser-opera.png +0 -0
  558. data/assets/themes/j1/modules/msDropdown/images/icons/browser-safari.png +0 -0
  559. data/assets/themes/j1/modules/msDropdown/images/icons/button-large.gif +0 -0
  560. data/assets/themes/j1/modules/msDropdown/images/icons/demoaction.jpg +0 -0
  561. data/assets/themes/j1/modules/msDropdown/images/icons/enabled.gif +0 -0
  562. data/assets/themes/j1/modules/msDropdown/images/icons/flagssprite_small.png +0 -0
  563. data/assets/themes/j1/modules/msDropdown/images/icons/giftlelo_dot_com.jpg +0 -0
  564. data/assets/themes/j1/modules/msDropdown/images/icons/icon-search.gif +0 -0
  565. data/assets/themes/j1/modules/msDropdown/images/icons/icon_calendar.gif +0 -0
  566. data/assets/themes/j1/modules/msDropdown/images/icons/icon_cart.gif +0 -0
  567. data/assets/themes/j1/modules/msDropdown/images/icons/icon_cd.gif +0 -0
  568. data/assets/themes/j1/modules/msDropdown/images/icons/icon_email.gif +0 -0
  569. data/assets/themes/j1/modules/msDropdown/images/icons/icon_faq.gif +0 -0
  570. data/assets/themes/j1/modules/msDropdown/images/icons/icon_games.gif +0 -0
  571. data/assets/themes/j1/modules/msDropdown/images/icons/icon_lockopen.gif +0 -0
  572. data/assets/themes/j1/modules/msDropdown/images/icons/icon_music.gif +0 -0
  573. data/assets/themes/j1/modules/msDropdown/images/icons/icon_phone.gif +0 -0
  574. data/assets/themes/j1/modules/msDropdown/images/icons/icon_sales.gif +0 -0
  575. data/assets/themes/j1/modules/msDropdown/images/icons/icon_secure.gif +0 -0
  576. data/assets/themes/j1/modules/msDropdown/images/icons/icon_video.gif +0 -0
  577. data/assets/themes/j1/modules/msDropdown/images/icons/jquery-msdropdown.gif +0 -0
  578. data/assets/themes/j1/modules/msDropdown/images/icons/msDropDown.gif +0 -0
  579. data/assets/themes/j1/modules/msDropdown/images/icons/preview.gif +0 -0
  580. data/assets/themes/j1/modules/msDropdown/images/icons/sprite.gif +0 -0
  581. data/assets/themes/j1/modules/msDropdown/images/icons/sprite.jpg +0 -0
  582. data/assets/themes/j1/modules/msDropdown/images/icons/tick.gif +0 -0
  583. data/assets/themes/j1/modules/msDropdown/js/msDropdown.js +2664 -0
  584. data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js +33 -0
  585. data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js.map +1 -0
  586. data/assets/themes/j1/modules/translator/css/translator.css +33 -0
  587. data/assets/themes/j1/modules/translator/css/translator.min.css +15 -0
  588. data/assets/themes/j1/modules/translator/js/translator.js +614 -0
  589. data/assets/themes/j1/modules/translator/js/translator.min.js +15 -0
  590. data/lib/j1/version.rb +3 -3
  591. data/lib/starter_web/Gemfile +1 -1
  592. data/lib/starter_web/_config.yml +1 -1
  593. data/lib/starter_web/_data/j1_config.yml +4 -7
  594. data/lib/starter_web/_data/layouts/collection.yml +1 -12
  595. data/lib/starter_web/_data/layouts/home.yml +0 -12
  596. data/lib/starter_web/_data/layouts/post.yml +0 -11
  597. data/lib/starter_web/_data/modules/cookieconsent.yml +1 -1
  598. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +100 -90
  599. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -0
  600. data/lib/starter_web/_data/modules/defaults/translator.yml +142 -0
  601. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
  602. data/lib/starter_web/_data/modules/translator.yml +31 -0
  603. data/lib/starter_web/_data/resources.yml +108 -105
  604. data/lib/starter_web/_includes/attributes.asciidoc +7 -2
  605. data/lib/starter_web/_plugins/asciidoctor-extensions/flag-icon-inline.rb +37 -0
  606. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  607. data/lib/starter_web/assets/images/modules/attics/markus-krisetya-1920x1280.jpg +0 -0
  608. data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-1920x1280.jpg +0 -0
  609. data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-2-1920x1280.jpg +0 -0
  610. data/lib/starter_web/assets/images/pages/features/percentage_global_mobile_tr.jpg +0 -0
  611. data/lib/starter_web/package.json +1 -1
  612. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +0 -1
  613. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +0 -8
  614. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +3 -2
  615. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
  616. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
  617. data/lib/starter_web/pages/public/learn/quickstart.adoc +0 -1
  618. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  619. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +7 -3
  620. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +3 -1
  621. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +30 -28
  622. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +112 -10
  623. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +8 -5
  624. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +4 -2
  625. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +6 -8
  626. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -2
  627. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +42 -43
  628. data/lib/starter_web/pages/public/learn/where_to_go.adoc +15 -15
  629. data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +0 -1
  630. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +0 -2
  631. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +0 -1
  632. data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +0 -1
  633. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -3
  634. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -3
  635. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +0 -2
  636. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -2
  637. data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +743 -0
  638. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -0
  639. data/lib/starter_web/pages/public/previewer/{bootstrap_theme.adoc → preview_bootstrap_theme.adoc} +1 -2
  640. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  641. data/lib/starter_web/utilsrv/package.json +1 -1
  642. metadata +580 -4
  643. data/assets/themes/j1/core/js/template.js.map +0 -1
@@ -24,7 +24,7 @@
24
24
  # outside of J1 Template!
25
25
  # -----------------------------------------------------------------------------
26
26
  */
27
- 'use strict';
27
+ //'use strict';
28
28
 
29
29
  // -----------------------------------------------------------------------------
30
30
  // ESLint shimming
@@ -39,11 +39,10 @@
39
39
 
40
40
  function BootstrapCookieConsent(props) {
41
41
  var logger = log4javascript.getLogger('j1.core.bsCookieConsent');
42
- var modalId = 'bccs-modal';
43
42
  var self = this;
44
43
  var detailedSettingsShown = false;
45
44
  var url = new liteURL(window.location.href);
46
- var secure = (url.protocol.includes('https')) ? true : false;
45
+ var cookieSecure = (url.protocol.includes('https')) ? true : false;
47
46
  var logText;
48
47
  var current_page;
49
48
  var whitelisted;
@@ -51,35 +50,43 @@ function BootstrapCookieConsent(props) {
51
50
  logger.info('\n' + 'initializing core module: started');
52
51
  logger.info('\n' + 'state: started');
53
52
 
53
+ // default settings
54
54
  this.props = {
55
- autoShowDialog: true, // disable autoShowModal on the privacy policy and legal notice pages, to make these pages readable
56
- language: navigator.language, // the language, in which the modal is shown
57
- languages: ["en", "de"], // supported languages (in ./content/), defaults to first in array
58
- contentURL: "./content", // this URL must contain the dialogs content in the needed languages
59
- cookieName: "cookie-consent-settings", // the name of the cookie in which the configuration is stored as JSON
60
- cookieStorageDays: 365, // the duration the cookie configuration is stored on the client
55
+ autoShowDialog: true, // show dialog if NO consent cookie found
56
+ dialogLanguage: 'content', // language used for the consent dialog (modal)
57
+ dialogLanguages: ['en','de'], // supported languages for the consent dialog (modal), defaults to first in array
58
+ contentURL: '/assets/data/cookieconsent', // URL contain the consent dialogs (modals) for ALL supported languages
59
+ cookieName: 'j1.user.translate', // name of the cookie, in which the configuration is stored
60
+ cookieStorageDays: 365, // duration the configuration cookie is stored on the client
61
61
  postSelectionCallback: undefined, // callback function, called after the user has made his selection
62
- whitelisted: [], // pages NO consent modal page is issued
63
- xhr_data_element: "", // container for the language-specific consent modal taken from /assets/data/cookieconsent.html
64
- sameSite: "Strict", // restrict consent cookie to first-party, do NOT send cookie to other domains
65
- secure: false //
66
- }
62
+ whitelisted: [], // pages NO consent modal dialog is issued
63
+ xhrDataElement: 'consent-data', // src container for all language-specific consent dialogs (taken from contentURL)
64
+ dialogContainerID: 'consent-modal', // dest container, the dialog modal is loaded (dynamically)
65
+ cookieSameSite: 'Strict', // restrict the consent cookie to first-party (do NOT send cookie to other domains)
66
+ };
67
67
 
68
+ // merge property settings
68
69
  for (var property in props) {
69
70
  this.props[property] = props[property];
70
71
  }
71
72
 
72
- this.language = this.props.language
73
- if (this.language.indexOf("-") !== -1) {
74
- this.language = this.language.split("-")[0];
73
+ if (this.props.dialogLanguage.indexOf("-") !== -1) {
74
+ this.props.dialogLanguage = this.props.dialogLanguage.split("-")[0];
75
75
  }
76
76
 
77
- if (!this.props.languages.includes(this.language)) {
78
- this.language = this.props.languages[0]; // fallback on default language
77
+ // fallback on default language (modal) if dialogLanguage not suppported
78
+ if (!this.props.dialogLanguages.includes(this.props.dialogLanguage)) {
79
+ this.props.dialogLanguage = this.props.dialogLanguages[0];
79
80
  }
80
81
 
82
+ // set modal by dialogLanguage that is loadad
83
+ this.props.xhrDataElement = this.props.xhrDataElement + '-' + this.props.dialogLanguage;
84
+
85
+ // set modal by dialogLanguage that is loadad
86
+ this.props.cookieSecure = cookieSecure;
87
+
81
88
  var Cookie = {
82
- set: function (name, value, days, samesite, secure) {
89
+ set: function (name, value, days, cookieSameSite, cookieSecure) {
83
90
  var value_encoded = window.btoa(value);
84
91
  var expires = "";
85
92
  if (days) {
@@ -87,10 +94,10 @@ function BootstrapCookieConsent(props) {
87
94
  date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
88
95
  expires = "; expires=" + date.toUTCString();
89
96
  }
90
- if (secure) {
91
- document.cookie = name + "=" + (value_encoded || '') + expires + '; Path=/; SameSite=' + samesite + '; ' + 'secure=' + secure + ';';
97
+ if (cookieSecure) {
98
+ document.cookie = name + "=" + (value_encoded || '') + expires + '; Path=/; cookieSameSite=' + cookieSameSite + '; ' + 'cookieSecure=' + cookieSecure + ';';
92
99
  } else {
93
- document.cookie = name + "=" + (value_encoded || '') + expires + '; Path=/; SameSite=' + samesite + ';';
100
+ document.cookie = name + "=" + (value_encoded || '') + expires + '; Path=/; cookieSameSite=' + cookieSameSite + ';';
94
101
  }
95
102
  },
96
103
  get: function (name) {
@@ -107,9 +114,9 @@ function BootstrapCookieConsent(props) {
107
114
  return value;
108
115
  }
109
116
  }
110
- return undefined
117
+ return undefined;
111
118
  }
112
- }
119
+ };
113
120
 
114
121
  var Events = {
115
122
  documentReady: function (onDocumentReady) {
@@ -119,20 +126,20 @@ function BootstrapCookieConsent(props) {
119
126
  document.addEventListener('DOMContentLoaded', onDocumentReady);
120
127
  }
121
128
  }
122
- }
129
+ };
123
130
 
124
131
  function showDialog(options) {
125
132
  Events.documentReady(function () {
126
133
 
127
- self.modal = document.getElementById(modalId);
134
+ self.modal = document.getElementById(self.props.dialogContainerID);
128
135
  if (!self.modal) {
129
136
  logger.info('\n' + 'load consent modal');
130
137
  self.modal = document.createElement("div");
131
- self.modal.id = modalId;
138
+ self.modal.id = self.props.dialogContainerID;
132
139
  self.modal.setAttribute("class", "modal fade");
133
140
  self.modal.setAttribute("tabindex", "-1");
134
141
  self.modal.setAttribute("role", "dialog");
135
- self.modal.setAttribute("aria-labelledby", modalId);
142
+ self.modal.setAttribute("aria-labelledby", self.props.dialogContainerID);
136
143
  document.body.append(self.modal);
137
144
  self.$modal = $(self.modal);
138
145
 
@@ -149,7 +156,7 @@ function BootstrapCookieConsent(props) {
149
156
  .done(function (data) {
150
157
  logger.info('\n' + 'loading consent modal: successfully');
151
158
  self.modal.innerHTML = data;
152
- self.modal.innerHTML = $('#' + self.props.xhr_data_element).eq(0).html();
159
+ self.modal.innerHTML = $('#' + self.props.xhrDataElement).eq(0).html();
153
160
 
154
161
  $(self.modal).modal({
155
162
  backdrop: "static",
@@ -196,11 +203,11 @@ function BootstrapCookieConsent(props) {
196
203
  .fail(function () {
197
204
  logger.error('\n' + 'loading consent modal: failed');
198
205
  logger.warn('\n' + 'probably no `contentURL` set');
199
- })
206
+ });
200
207
  } else {
201
- self.$modal.modal("show")
208
+ self.$modal.modal('show');
202
209
  }
203
- }.bind(this))
210
+ }.bind(this));
204
211
  }
205
212
 
206
213
  function updateOptionsFromCookie() {
@@ -242,16 +249,16 @@ function BootstrapCookieConsent(props) {
242
249
  options[name] = !!setAllExceptNecessary;
243
250
  }
244
251
  }
245
- return options
252
+ return options;
246
253
  }
247
254
 
248
255
  function agreeAll() {
249
- Cookie.set(self.props.cookieName, JSON.stringify(gatherOptions(true)), self.props.cookieStorageDays, self.props.sameSite, self.props.secure);
250
- self.$modal.modal("hide");
256
+ Cookie.set(self.props.cookieName, JSON.stringify(gatherOptions(true)), self.props.cookieStorageDays, self.props.cookieSameSite, self.props.cookieSecure);
257
+ self.$modal.modal('hide');
251
258
  }
252
259
 
253
260
  function doNotAgree() {
254
- Cookie.set(self.props.cookieName, JSON.stringify(gatherOptions(false)), self.props.cookieStorageDays, self.props.sameSite, self.props.secure);
261
+ Cookie.set(self.props.cookieName, JSON.stringify(gatherOptions(false)), self.props.cookieStorageDays, self.props.cookieSameSite, self.props.cookieSecure);
255
262
 
256
263
  // jadams, 2021-07-15: all cookies NOT longer supported by j1.expireCookie
257
264
  // TODO: Create loop over all cookies found in page
@@ -259,13 +266,13 @@ function BootstrapCookieConsent(props) {
259
266
  // logger.warn('expire all cookies');
260
267
  // j1.expireCookie('all');
261
268
 
262
- self.$modal.modal('hide')
269
+ self.$modal.modal('hide');
263
270
  j1.goHome();
264
271
  }
265
272
 
266
273
  function saveSettings() {
267
- Cookie.set(self.props.cookieName, JSON.stringify(gatherOptions()), self.props.cookieStorageDays, self.props.sameSite, self.props.secure);
268
- self.$modal.modal("hide");
274
+ Cookie.set(self.props.cookieName, JSON.stringify(gatherOptions()), self.props.cookieStorageDays, self.props.cookieSameSite, self.props.cookieSecure);
275
+ self.$modal.modal('hide');
269
276
  }
270
277
 
271
278
  // call consent dialog if no cookie found (except pages whitelisted)
@@ -288,7 +295,7 @@ function BootstrapCookieConsent(props) {
288
295
  if (!whitelisted) {
289
296
  showDialog();
290
297
  }
291
- }
298
+ };
292
299
 
293
300
  // collect settings from consent cookie
294
301
  // ---------------------------------------------------------------------------
@@ -308,6 +315,6 @@ function BootstrapCookieConsent(props) {
308
315
  } else {
309
316
  return undefined;
310
317
  }
311
- } // END getSettings
318
+ }; // END getSettings
312
319
 
313
320
  } // END BootstrapCookieConsent
@@ -72,6 +72,7 @@
72
72
  this.translate(options);
73
73
  logger.info('\n' + 'initializing plugin: finished');
74
74
  },
75
+
75
76
  // -----------------------------------------------------------------------
76
77
  // prepareXHR
77
78
  // Prepare a XHR request according to DeepL API specification
@@ -82,16 +83,17 @@
82
83
  // -----------------------------------------------------------------------
83
84
  prepareXHR: function (settings) {
84
85
  if (settings.api === 'free') {
85
- this.xhr.open("POST", "https://api-free.deepl.com/v2/translate", true);
86
+ this.xhr.open("POST", "https://api-free.deepl.com/v2/translate", true);
86
87
  } else if (settings.api === 'pro') {
87
- this.xhr.open("POST", "https://api.deepl.com/v2/translate", true);
88
+ this.xhr.open("POST", "https://api.deepl.com/v2/translate", true);
88
89
  } else {
89
- this.xhr.open("POST", "https://api-free.deepl.com/v2/translate", true);
90
+ this.xhr.open("POST", "https://api-free.deepl.com/v2/translate", true);
90
91
  }
91
92
  // Set required header parameters
92
93
  this.xhr.setRequestHeader("Accept", "*/*");
93
94
  this.xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
94
95
  },
96
+
95
97
  // -----------------------------------------------------------------------
96
98
  // prepareText
97
99
  // Prepare text function used to parse, or arrange text, designed as
@@ -101,8 +103,9 @@
101
103
  // multiple sentences.
102
104
  // -----------------------------------------------------------------------
103
105
  prepareText: function (source_text) {
104
- return source_text.split("\n");
106
+ return source_text.split("\n");
105
107
  },
108
+
106
109
  // -----------------------------------------------------------------------
107
110
  // translate
108
111
  // Translate text function which uses all the other modules, in order to
@@ -214,7 +217,7 @@
214
217
  source_lang = this.settings.source_lang;
215
218
  target_lang = this.settings.target_lang;
216
219
 
217
- if (this.settings.source_lang != 'auto') {
220
+ if (this.settings.source_lang !== 'auto') {
218
221
  this.settings.source_lang = (SUPPORTED_LANG.indexOf(this.settings.source_lang) > -1) ? this.settings.source_lang : false;
219
222
  }
220
223
  this.settings.target_lang = (SUPPORTED_LANG.indexOf(this.settings.target_lang) > -1) ? this.settings.target_lang : false;
@@ -256,7 +259,7 @@
256
259
  }
257
260
 
258
261
  // Check for VALID language supported by option 'formality'
259
- if (this.settings.formality != 'default' ) {
262
+ if (this.settings.formality !== 'default' ) {
260
263
  if (!(ALLOWED_FORMALITY_LANG.indexOf(this.settings.target_lang) > -1)) {
261
264
  logger.warn('\n' + 'wrong language found for formality setting: ' + this.settings.target_lang);
262
265
  }
@@ -309,9 +312,9 @@
309
312
  // construct the API request body
310
313
  // ---------------------------------------------------------------------
311
314
  request = "auth_key=" + this.settings.auth_key;
312
- request += (this.settings.source_lang != 'auto' ) ? "&source_lang=" + this.settings.source_lang : '';
315
+ request += (this.settings.source_lang !== 'auto' ) ? "&source_lang=" + this.settings.source_lang : '';
313
316
  request += "&target_lang=" + this.settings.target_lang;
314
- request += (this.settings.formality != 'default' ) ? "&formality=" + this.settings.formality : '';
317
+ request += (this.settings.formality !== 'default' ) ? "&formality=" + this.settings.formality : '';
315
318
  request += (this.settings.split_sentences) ? "&split_sentences=" + this.settings.formality : '';
316
319
  request += (this.settings.tag_handling) ? "&tag_handling=" + this.settings.tag_handling : "&tag_handling=0";
317
320
  request += (this.settings.tag_handling && this.settings.non_splitting_tags) ? "&non_splitting_tags=" + this.settings.non_splitting_tags : '';
@@ -15,4 +15,4 @@
15
15
  # See: https://www.dotnetcurry.com/jquery/1069/authoring-jquery-plugins
16
16
  # -----------------------------------------------------------------------------
17
17
  */
18
- (function(e,c,a,g){var d="j1deepl",f={api:"free",auth_key:false,source_lang:"auto",target_lang:"DE",max_chars:false,split_sentences:"1",preserve_formatting:"0",formality:"default",tag_handling:false,outline_detection:true,non_splitting_tags:false,splitting_tags:false,ignore_tags:false,onInit:function(){},onBeforeTranslation:function(){},onAfterTranslation:function(){}};function b(i,h){this.element=i;this.settings=e.extend({},f,h);this.settings.elementID="#"+this.element.id;this.xhr=new XMLHttpRequest();this.init(this.settings)}e.extend(b.prototype,{init:function(i){var h=log4javascript.getLogger("j1deepl.init");h.info("\ninitializing plugin: started");this.translate(i);h.info("\ninitializing plugin: finished")},prepareXHR:function(h){if(h.api==="free"){this.xhr.open("POST","https://api-free.deepl.com/v2/translate",true)}else{if(h.api==="pro"){this.xhr.open("POST","https://api.deepl.com/v2/translate",true)}else{this.xhr.open("POST","https://api-free.deepl.com/v2/translate",true)}}this.xhr.setRequestHeader("Accept","*/*");this.xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")},prepareText:function(h){return h.split("\n")},translate:function(C){const H=log4javascript.getLogger("j1deepl.translate");const n=4;const t=200;const u=["BG","CS","DA","DE","EL","EN-GB","EN-US","EN","ES","ET","FI","FR","HU","IT","JA","LT","LV","NL","PL","PT-PT","PT-BR","PT","RO","RU","SK","SL","SV","ZH"];const h=["DE","FR","IT","ES","NL","PL","PT","PT-BR","RU"];const r=["xml"];const w=C.targetElement;const q=e(w).length;const D="Translation failed.\nReason: ";const o="Translation skipped.\nReason: ";var y;var F;var v;var x={};x["400"]="Bad request. Please check error message and your parameters.";x["401"]="Authorization failed. Please supply a valid DeepL-Auth-Key.";x["403"]="Forbidden. The access to the requested resource is denied, because of insufficient access rights.";x["404"]="The requested resource could not be found.";x["413"]="The request size exceeds the limit.";x["415"]="The requested entries format specified in the Accept header is not supported.";x["429"]="Too many requests. Please wait and resend your request.";x["456"]="Quota exceeded. The maximum amount of glossaries has been reached.";x["500"]="Internal server error";x["503"]="Resource currently unavailable. Try again later.";x["529"]="Too many requests. Please wait and resend your request.";var l;var k="";var j="";var B="";var E="";var m;var G;if(q){y=(w.includes(".")||w.includes("#"))?w.substring(1):w;F=e(w).get(0).nodeName;if(F==="TEXTAREA"){B=this.element.value}else{if(F==="P"){j=this.element;B=e(w).text()}}v=B.length}else{H.error("\ntarget element does not exists: "+w);return false}if(C.max_char&&B.length>C.max_char){var s=B.substring(0,C.max_char-3);B=s+" ...";H.info("\nlimit for source text (max: "+C.max_char+") reached: "+B.length)}E=this.prepareText(B);this.prepareXHR(C);var p="";for(var A=0;A<E.length;A++){p+="&text="+E[A]}this.xhr.onload=function(){if(this.readyState===n){if(this.status===t){var I=JSON.parse(this.responseText);var J="";for(var K=0;K<I.translations.length;K++){J+=I.translations[K].text;J+="\n"}if(F==="TEXTAREA"){e(w).val(J)}else{if(F==="P"){e(w).text(J)}}}else{H.error("\nAPI returned "+this.status+": "+x[this.status])}}};m=this.settings.source_lang;G=this.settings.target_lang;if(this.settings.source_lang!="auto"){this.settings.source_lang=(u.indexOf(this.settings.source_lang)>-1)?this.settings.source_lang:false}this.settings.target_lang=(u.indexOf(this.settings.target_lang)>-1)?this.settings.target_lang:false;if(!this.settings.auth_key||!this.settings.source_lang||!this.settings.target_lang){if(!this.settings.auth_key){l="NO AUTH key passed.";H.error("\ninvalid option found. "+l)}if(!this.settings.source_lang){l="WRONG source language passed: "+m;H.error("\ninvalid option found. "+l)}if(!this.settings.target_lang){l="WRONG target language passed: "+G;H.error("\ninvalid option found. "+l)}if(F==="TEXTAREA"){e(w).val(D+l)}else{if(F==="P"){e(w).text(D+l)}}return false}if(!v){l="NO text found for translation";if(F==="TEXTAREA"){e(w).val(o+l)}else{if(F==="P"){e(w).text(o+l)}}H.warn("\nno text found for translation");return false}if(this.settings.formality!="default"){if(!(h.indexOf(this.settings.target_lang)>-1)){H.warn("\nwrong language found for formality setting: "+this.settings.target_lang)}this.settings.formality=(h.indexOf(this.settings.target_lang)>-1)?this.settings.formality:"default"}if(this.settings.tag_handling){var z=this.settings.tag_handling;this.settings.tag_handling=(r.indexOf(this.settings.tag_handling)>-1)?this.settings.tag_handling:false;if(this.settings.tag_handling){this.settings.non_splitting_tags=this.settings.non_splitting_tags?encodeURIComponent(this.settings.non_splitting_tags):false;this.settings.splitting_tags=this.settings.splitting_tags?encodeURIComponent(this.settings.splitting_tags):false;this.settings.ignore_tags=this.settings.ignore_tags?encodeURIComponent(this.settings.ignore_tags):false}else{H.error("\ninvalid option found for tag handling : "+z);H.warn("\ndisable option: tag_handling");if(this.settings.non_splitting_tags){H.warn("\ndisable option: "+this.settings.non_splitting_tags);this.settings.non_splitting_tags=false}if(this.settings.splitting_tags){H.warn("\ndisable option : "+this.settings.splitting_tags);this.settings.splitting_tags=false}if(this.settings.ignore_tags){H.warn("\ndisable option: "+this.settings.ignore_tags);this.settings.ignore_tags=false}}}else{if(this.settings.non_splitting_tags){H.warn("\ninvalid option found: "+this.settings.non_splitting_tags);this.settings.non_splitting_tags=false}if(this.settings.splitting_tags){H.warn("\ninvalid option found: "+this.settings.splitting_tags);this.settings.splitting_tags=false}if(this.settings.ignore_tags){H.warn("\ninvalid option found: "+this.settings.ignore_tags);this.settings.ignore_tags=false}}k="auth_key="+this.settings.auth_key;k+=(this.settings.source_lang!="auto")?"&source_lang="+this.settings.source_lang:"";k+="&target_lang="+this.settings.target_lang;k+=(this.settings.formality!="default")?"&formality="+this.settings.formality:"";k+=(this.settings.split_sentences)?"&split_sentences="+this.settings.formality:"";k+=(this.settings.tag_handling)?"&tag_handling="+this.settings.tag_handling:"&tag_handling=0";k+=(this.settings.tag_handling&&this.settings.non_splitting_tags)?"&non_splitting_tags="+this.settings.non_splitting_tags:"";k+=(this.settings.tag_handling&&this.settings.splitting_tags)?"&splitting_tags="+this.settings.splitting_tags:"";k+=(this.settings.tag_handling&&this.settings.ignore_tags)?"&ignore_tags="+this.settings.ignore_tags:"";k+=p;this.xhr.send(k)}});e.fn[d]=function(i){var h=arguments;if(i===g||typeof i==="object"){return this.each(function(){if(!e.data(this,"plugin_"+d)){e.data(this,"plugin_"+d,new b(this,i))}})}else{if(typeof i==="string"&&i[0]!=="_"&&i!=="init"){var j;this.each(function(){var k=e.data(this,"plugin_"+d);if(k instanceof b&&typeof k[i]==="function"){j=k[i].apply(k,Array.prototype.slice.call(h,1))}if(i==="destroy"){e.data(this,"plugin_"+d,null)}});return j!==g?j:this}}}})(jQuery,window,document);
18
+ (function(e,c,a,g){var d="j1deepl",f={api:"free",auth_key:false,source_lang:"auto",target_lang:"DE",max_chars:false,split_sentences:"1",preserve_formatting:"0",formality:"default",tag_handling:false,outline_detection:true,non_splitting_tags:false,splitting_tags:false,ignore_tags:false,onInit:function(){},onBeforeTranslation:function(){},onAfterTranslation:function(){}};function b(i,h){this.element=i;this.settings=e.extend({},f,h);this.settings.elementID="#"+this.element.id;this.xhr=new XMLHttpRequest();this.init(this.settings)}e.extend(b.prototype,{init:function(i){var h=log4javascript.getLogger("j1deepl.init");h.info("\ninitializing plugin: started");this.translate(i);h.info("\ninitializing plugin: finished")},prepareXHR:function(h){if(h.api==="free"){this.xhr.open("POST","https://api-free.deepl.com/v2/translate",true)}else{if(h.api==="pro"){this.xhr.open("POST","https://api.deepl.com/v2/translate",true)}else{this.xhr.open("POST","https://api-free.deepl.com/v2/translate",true)}}this.xhr.setRequestHeader("Accept","*/*");this.xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")},prepareText:function(h){return h.split("\n")},translate:function(C){const H=log4javascript.getLogger("j1deepl.translate");const n=4;const t=200;const u=["BG","CS","DA","DE","EL","EN-GB","EN-US","EN","ES","ET","FI","FR","HU","IT","JA","LT","LV","NL","PL","PT-PT","PT-BR","PT","RO","RU","SK","SL","SV","ZH"];const h=["DE","FR","IT","ES","NL","PL","PT","PT-BR","RU"];const r=["xml"];const w=C.targetElement;const q=e(w).length;const D="Translation failed.\nReason: ";const o="Translation skipped.\nReason: ";var y;var F;var v;var x={};x["400"]="Bad request. Please check error message and your parameters.";x["401"]="Authorization failed. Please supply a valid DeepL-Auth-Key.";x["403"]="Forbidden. The access to the requested resource is denied, because of insufficient access rights.";x["404"]="The requested resource could not be found.";x["413"]="The request size exceeds the limit.";x["415"]="The requested entries format specified in the Accept header is not supported.";x["429"]="Too many requests. Please wait and resend your request.";x["456"]="Quota exceeded. The maximum amount of glossaries has been reached.";x["500"]="Internal server error";x["503"]="Resource currently unavailable. Try again later.";x["529"]="Too many requests. Please wait and resend your request.";var l;var k="";var j="";var B="";var E="";var m;var G;if(q){y=(w.includes(".")||w.includes("#"))?w.substring(1):w;F=e(w).get(0).nodeName;if(F==="TEXTAREA"){B=this.element.value}else{if(F==="P"){j=this.element;B=e(w).text()}}v=B.length}else{H.error("\ntarget element does not exists: "+w);return false}if(C.max_char&&B.length>C.max_char){var s=B.substring(0,C.max_char-3);B=s+" ...";H.info("\nlimit for source text (max: "+C.max_char+") reached: "+B.length)}E=this.prepareText(B);this.prepareXHR(C);var p="";for(var A=0;A<E.length;A++){p+="&text="+E[A]}this.xhr.onload=function(){if(this.readyState===n){if(this.status===t){var I=JSON.parse(this.responseText);var J="";for(var K=0;K<I.translations.length;K++){J+=I.translations[K].text;J+="\n"}if(F==="TEXTAREA"){e(w).val(J)}else{if(F==="P"){e(w).text(J)}}}else{H.error("\nAPI returned "+this.status+": "+x[this.status])}}};m=this.settings.source_lang;G=this.settings.target_lang;if(this.settings.source_lang!=="auto"){this.settings.source_lang=(u.indexOf(this.settings.source_lang)>-1)?this.settings.source_lang:false}this.settings.target_lang=(u.indexOf(this.settings.target_lang)>-1)?this.settings.target_lang:false;if(!this.settings.auth_key||!this.settings.source_lang||!this.settings.target_lang){if(!this.settings.auth_key){l="NO AUTH key passed.";H.error("\ninvalid option found. "+l)}if(!this.settings.source_lang){l="WRONG source language passed: "+m;H.error("\ninvalid option found. "+l)}if(!this.settings.target_lang){l="WRONG target language passed: "+G;H.error("\ninvalid option found. "+l)}if(F==="TEXTAREA"){e(w).val(D+l)}else{if(F==="P"){e(w).text(D+l)}}return false}if(!v){l="NO text found for translation";if(F==="TEXTAREA"){e(w).val(o+l)}else{if(F==="P"){e(w).text(o+l)}}H.warn("\nno text found for translation");return false}if(this.settings.formality!=="default"){if(!(h.indexOf(this.settings.target_lang)>-1)){H.warn("\nwrong language found for formality setting: "+this.settings.target_lang)}this.settings.formality=(h.indexOf(this.settings.target_lang)>-1)?this.settings.formality:"default"}if(this.settings.tag_handling){var z=this.settings.tag_handling;this.settings.tag_handling=(r.indexOf(this.settings.tag_handling)>-1)?this.settings.tag_handling:false;if(this.settings.tag_handling){this.settings.non_splitting_tags=this.settings.non_splitting_tags?encodeURIComponent(this.settings.non_splitting_tags):false;this.settings.splitting_tags=this.settings.splitting_tags?encodeURIComponent(this.settings.splitting_tags):false;this.settings.ignore_tags=this.settings.ignore_tags?encodeURIComponent(this.settings.ignore_tags):false}else{H.error("\ninvalid option found for tag handling : "+z);H.warn("\ndisable option: tag_handling");if(this.settings.non_splitting_tags){H.warn("\ndisable option: "+this.settings.non_splitting_tags);this.settings.non_splitting_tags=false}if(this.settings.splitting_tags){H.warn("\ndisable option : "+this.settings.splitting_tags);this.settings.splitting_tags=false}if(this.settings.ignore_tags){H.warn("\ndisable option: "+this.settings.ignore_tags);this.settings.ignore_tags=false}}}else{if(this.settings.non_splitting_tags){H.warn("\ninvalid option found: "+this.settings.non_splitting_tags);this.settings.non_splitting_tags=false}if(this.settings.splitting_tags){H.warn("\ninvalid option found: "+this.settings.splitting_tags);this.settings.splitting_tags=false}if(this.settings.ignore_tags){H.warn("\ninvalid option found: "+this.settings.ignore_tags);this.settings.ignore_tags=false}}k="auth_key="+this.settings.auth_key;k+=(this.settings.source_lang!=="auto")?"&source_lang="+this.settings.source_lang:"";k+="&target_lang="+this.settings.target_lang;k+=(this.settings.formality!=="default")?"&formality="+this.settings.formality:"";k+=(this.settings.split_sentences)?"&split_sentences="+this.settings.formality:"";k+=(this.settings.tag_handling)?"&tag_handling="+this.settings.tag_handling:"&tag_handling=0";k+=(this.settings.tag_handling&&this.settings.non_splitting_tags)?"&non_splitting_tags="+this.settings.non_splitting_tags:"";k+=(this.settings.tag_handling&&this.settings.splitting_tags)?"&splitting_tags="+this.settings.splitting_tags:"";k+=(this.settings.tag_handling&&this.settings.ignore_tags)?"&ignore_tags="+this.settings.ignore_tags:"";k+=p;this.xhr.send(k)}});e.fn[d]=function(i){var h=arguments;if(i===g||typeof i==="object"){return this.each(function(){if(!e.data(this,"plugin_"+d)){e.data(this,"plugin_"+d,new b(this,i))}})}else{if(typeof i==="string"&&i[0]!=="_"&&i!=="init"){var j;this.each(function(){var k=e.data(this,"plugin_"+d);if(k instanceof b&&typeof k[i]==="function"){j=k[i].apply(k,Array.prototype.slice.call(h,1))}if(i==="destroy"){e.data(this,"plugin_"+d,null)}});return j!==g?j:this}}}})(jQuery,window,document);