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.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +6 -1
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +11 -23
- data/assets/data/cookieconsent.html +43 -33
- data/assets/data/msdropdown.json +155 -0
- data/assets/data/quicklinks.html +24 -2
- data/assets/data/translator.html +291 -0
- data/assets/data/translator_languages.json +142 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +41 -34
- data/assets/themes/j1/adapter/js/j1.js +66 -20
- data/assets/themes/j1/adapter/js/themer.js +2 -2
- data/assets/themes/j1/adapter/js/translator.js +492 -0
- data/assets/themes/j1/core/country-flags/1x1/ad.svg +148 -0
- data/assets/themes/j1/core/country-flags/1x1/ae.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/af.svg +81 -0
- data/assets/themes/j1/core/country-flags/1x1/ag.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/ai.svg +763 -0
- data/assets/themes/j1/core/country-flags/1x1/al.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/am.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ao.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/aq.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ar.svg +31 -0
- data/assets/themes/j1/core/country-flags/1x1/as.svg +33 -0
- data/assets/themes/j1/core/country-flags/1x1/at.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/au.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/aw.svg +186 -0
- data/assets/themes/j1/core/country-flags/1x1/ax.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/az.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/ba.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/bb.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/bd.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/be.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bg.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bh.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/bi.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/bj.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/bl.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/bm.svg +98 -0
- data/assets/themes/j1/core/country-flags/1x1/bn.svg +36 -0
- data/assets/themes/j1/core/country-flags/1x1/bo.svg +678 -0
- data/assets/themes/j1/core/country-flags/1x1/bq.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/br.svg +45 -0
- data/assets/themes/j1/core/country-flags/1x1/bs.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/bt.svg +89 -0
- data/assets/themes/j1/core/country-flags/1x1/bv.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/bw.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/by.svg +22 -0
- data/assets/themes/j1/core/country-flags/1x1/bz.svg +145 -0
- data/assets/themes/j1/core/country-flags/1x1/ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/cc.svg +19 -0
- data/assets/themes/j1/core/country-flags/1x1/cd.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/cf.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/cg.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/ch.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/ci.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ck.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/cl.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/cm.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/cn.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/co.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/cr.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/cu.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/cv.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/cw.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/cx.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/cy.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/cz.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/de.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/dj.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/dk.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/dm.svg +152 -0
- data/assets/themes/j1/core/country-flags/1x1/do.svg +6745 -0
- data/assets/themes/j1/core/country-flags/1x1/dz.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ec.svg +138 -0
- data/assets/themes/j1/core/country-flags/1x1/ee.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/eg.svg +38 -0
- data/assets/themes/j1/core/country-flags/1x1/eh.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/er.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/es-ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/es-ga.svg +189 -0
- data/assets/themes/j1/core/country-flags/1x1/es.svg +547 -0
- data/assets/themes/j1/core/country-flags/1x1/et.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/eu.svg +28 -0
- data/assets/themes/j1/core/country-flags/1x1/fi.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/fj.svg +125 -0
- data/assets/themes/j1/core/country-flags/1x1/fk.svg +93 -0
- data/assets/themes/j1/core/country-flags/1x1/fm.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/fo.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/fr.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ga.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-eng.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-nir.svg +131 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-sct.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/gb-wls.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/gb.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gd.svg +27 -0
- data/assets/themes/j1/core/country-flags/1x1/ge.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/gf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gg.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/gh.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/gi.svg +32 -0
- data/assets/themes/j1/core/country-flags/1x1/gl.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/gm.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/gn.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gp.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/gq.svg +23 -0
- data/assets/themes/j1/core/country-flags/1x1/gr.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/gs.svg +206 -0
- data/assets/themes/j1/core/country-flags/1x1/gt.svg +204 -0
- data/assets/themes/j1/core/country-flags/1x1/gu.svg +39 -0
- data/assets/themes/j1/core/country-flags/1x1/gw.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/gy.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/hk.svg +30 -0
- data/assets/themes/j1/core/country-flags/1x1/hm.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/hn.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/hr.svg +56 -0
- data/assets/themes/j1/core/country-flags/1x1/ht.svg +116 -0
- data/assets/themes/j1/core/country-flags/1x1/hu.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/id.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ie.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/il.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/im.svg +36 -0
- data/assets/themes/j1/core/country-flags/1x1/in.svg +25 -0
- data/assets/themes/j1/core/country-flags/1x1/io.svg +140 -0
- data/assets/themes/j1/core/country-flags/1x1/iq.svg +10 -0
- data/assets/themes/j1/core/country-flags/1x1/ir.svg +219 -0
- data/assets/themes/j1/core/country-flags/1x1/is.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/it.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/je.svg +29 -0
- data/assets/themes/j1/core/country-flags/1x1/jm.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/jo.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/jp.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/ke.svg +23 -0
- data/assets/themes/j1/core/country-flags/1x1/kg.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/kh.svg +61 -0
- data/assets/themes/j1/core/country-flags/1x1/ki.svg +36 -0
- data/assets/themes/j1/core/country-flags/1x1/km.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/kn.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/kp.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/kr.svg +24 -0
- data/assets/themes/j1/core/country-flags/1x1/kw.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/ky.svg +70 -0
- data/assets/themes/j1/core/country-flags/1x1/kz.svg +23 -0
- data/assets/themes/j1/core/country-flags/1x1/la.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/lb.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/lc.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/li.svg +43 -0
- data/assets/themes/j1/core/country-flags/1x1/lk.svg +22 -0
- data/assets/themes/j1/core/country-flags/1x1/lr.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/ls.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/lt.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/lu.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/lv.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ly.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/ma.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/mc.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/md.svg +71 -0
- data/assets/themes/j1/core/country-flags/1x1/me.svg +118 -0
- data/assets/themes/j1/core/country-flags/1x1/mf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mg.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mh.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/mk.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/ml.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mm.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/mn.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/mo.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/mp.svg +86 -0
- data/assets/themes/j1/core/country-flags/1x1/mq.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/mr.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ms.svg +70 -0
- data/assets/themes/j1/core/country-flags/1x1/mt.svg +50 -0
- data/assets/themes/j1/core/country-flags/1x1/mu.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/mv.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/mw.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/mx.svg +378 -0
- data/assets/themes/j1/core/country-flags/1x1/my.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/mz.svg +21 -0
- data/assets/themes/j1/core/country-flags/1x1/na.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/nc.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/ne.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/nf.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/ng.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ni.svg +129 -0
- data/assets/themes/j1/core/country-flags/1x1/nl.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/no.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/np.svg +19 -0
- data/assets/themes/j1/core/country-flags/1x1/nr.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/nu.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/nz.svg +41 -0
- data/assets/themes/j1/core/country-flags/1x1/om.svg +115 -0
- data/assets/themes/j1/core/country-flags/1x1/pa.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/pe.svg +244 -0
- data/assets/themes/j1/core/country-flags/1x1/pf.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/pg.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/ph.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/pk.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/pl.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/pm.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/pn.svg +67 -0
- data/assets/themes/j1/core/country-flags/1x1/pr.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/ps.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/pt.svg +57 -0
- data/assets/themes/j1/core/country-flags/1x1/pw.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/py.svg +156 -0
- data/assets/themes/j1/core/country-flags/1x1/qa.svg +4 -0
- data/assets/themes/j1/core/country-flags/1x1/re.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ro.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/rs.svg +296 -0
- data/assets/themes/j1/core/country-flags/1x1/ru.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/rw.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/sa.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/sb.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/sc.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/sd.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/se.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/sg.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/sh.svg +81 -0
- data/assets/themes/j1/core/country-flags/1x1/si.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/sj.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/sk.svg +9 -0
- data/assets/themes/j1/core/country-flags/1x1/sl.svg +12 -0
- data/assets/themes/j1/core/country-flags/1x1/sm.svg +89 -0
- data/assets/themes/j1/core/country-flags/1x1/sn.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/so.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/sr.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ss.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/st.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/sv.svg +596 -0
- data/assets/themes/j1/core/country-flags/1x1/sx.svg +56 -0
- data/assets/themes/j1/core/country-flags/1x1/sy.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/sz.svg +45 -0
- data/assets/themes/j1/core/country-flags/1x1/tc.svg +74 -0
- data/assets/themes/j1/core/country-flags/1x1/td.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/tf.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/tg.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/th.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/tj.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/tk.svg +5 -0
- data/assets/themes/j1/core/country-flags/1x1/tl.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/tm.svg +203 -0
- data/assets/themes/j1/core/country-flags/1x1/tn.svg +13 -0
- data/assets/themes/j1/core/country-flags/1x1/to.svg +10 -0
- data/assets/themes/j1/core/country-flags/1x1/tr.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/tt.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/tv.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/tw.svg +14 -0
- data/assets/themes/j1/core/country-flags/1x1/tz.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/ua.svg +6 -0
- data/assets/themes/j1/core/country-flags/1x1/ug.svg +30 -0
- data/assets/themes/j1/core/country-flags/1x1/um.svg +15 -0
- data/assets/themes/j1/core/country-flags/1x1/un.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/us.svg +10 -0
- data/assets/themes/j1/core/country-flags/1x1/uy.svg +28 -0
- data/assets/themes/j1/core/country-flags/1x1/uz.svg +30 -0
- data/assets/themes/j1/core/country-flags/1x1/va.svg +479 -0
- data/assets/themes/j1/core/country-flags/1x1/vc.svg +8 -0
- data/assets/themes/j1/core/country-flags/1x1/ve.svg +26 -0
- data/assets/themes/j1/core/country-flags/1x1/vg.svg +128 -0
- data/assets/themes/j1/core/country-flags/1x1/vi.svg +28 -0
- data/assets/themes/j1/core/country-flags/1x1/vn.svg +11 -0
- data/assets/themes/j1/core/country-flags/1x1/vu.svg +18 -0
- data/assets/themes/j1/core/country-flags/1x1/wf.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/ws.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/xk.svg +16 -0
- data/assets/themes/j1/core/country-flags/1x1/ye.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/yt.svg +7 -0
- data/assets/themes/j1/core/country-flags/1x1/za.svg +17 -0
- data/assets/themes/j1/core/country-flags/1x1/zm.svg +27 -0
- data/assets/themes/j1/core/country-flags/1x1/zw.svg +21 -0
- data/assets/themes/j1/core/country-flags/4x3/ad.svg +150 -0
- data/assets/themes/j1/core/country-flags/4x3/ae.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/af.svg +81 -0
- data/assets/themes/j1/core/country-flags/4x3/ag.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/ai.svg +763 -0
- data/assets/themes/j1/core/country-flags/4x3/al.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/am.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ao.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/aq.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ar.svg +31 -0
- data/assets/themes/j1/core/country-flags/4x3/as.svg +33 -0
- data/assets/themes/j1/core/country-flags/4x3/at.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/au.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/aw.svg +186 -0
- data/assets/themes/j1/core/country-flags/4x3/ax.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/az.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/ba.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/bb.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/bd.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/be.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bg.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bh.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/bi.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/bj.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/bl.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/bm.svg +98 -0
- data/assets/themes/j1/core/country-flags/4x3/bn.svg +36 -0
- data/assets/themes/j1/core/country-flags/4x3/bo.svg +676 -0
- data/assets/themes/j1/core/country-flags/4x3/bq.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/br.svg +45 -0
- data/assets/themes/j1/core/country-flags/4x3/bs.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/bt.svg +89 -0
- data/assets/themes/j1/core/country-flags/4x3/bv.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/bw.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/by.svg +20 -0
- data/assets/themes/j1/core/country-flags/4x3/bz.svg +145 -0
- data/assets/themes/j1/core/country-flags/4x3/ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/cc.svg +19 -0
- data/assets/themes/j1/core/country-flags/4x3/cd.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/cf.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/cg.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/ch.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/ci.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ck.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/cl.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/cm.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/cn.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/co.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/cr.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/cu.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/cv.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/cw.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/cx.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/cy.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/cz.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/de.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/dj.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/dk.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/dm.svg +152 -0
- data/assets/themes/j1/core/country-flags/4x3/do.svg +6745 -0
- data/assets/themes/j1/core/country-flags/4x3/dz.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ec.svg +138 -0
- data/assets/themes/j1/core/country-flags/4x3/ee.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/eg.svg +38 -0
- data/assets/themes/j1/core/country-flags/4x3/eh.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/er.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/es-ca.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/es-ga.svg +189 -0
- data/assets/themes/j1/core/country-flags/4x3/es.svg +544 -0
- data/assets/themes/j1/core/country-flags/4x3/et.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/eu.svg +28 -0
- data/assets/themes/j1/core/country-flags/4x3/fi.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/fj.svg +122 -0
- data/assets/themes/j1/core/country-flags/4x3/fk.svg +90 -0
- data/assets/themes/j1/core/country-flags/4x3/fm.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/fo.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/fr.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ga.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-eng.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-nir.svg +132 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-sct.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/gb-wls.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/gb.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gd.svg +27 -0
- data/assets/themes/j1/core/country-flags/4x3/ge.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/gf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gg.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/gh.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/gi.svg +32 -0
- data/assets/themes/j1/core/country-flags/4x3/gl.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/gm.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/gn.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gp.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/gq.svg +23 -0
- data/assets/themes/j1/core/country-flags/4x3/gr.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/gs.svg +201 -0
- data/assets/themes/j1/core/country-flags/4x3/gt.svg +204 -0
- data/assets/themes/j1/core/country-flags/4x3/gu.svg +39 -0
- data/assets/themes/j1/core/country-flags/4x3/gw.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/gy.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/hk.svg +30 -0
- data/assets/themes/j1/core/country-flags/4x3/hm.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/hn.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/hr.svg +58 -0
- data/assets/themes/j1/core/country-flags/4x3/ht.svg +116 -0
- data/assets/themes/j1/core/country-flags/4x3/hu.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/id.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ie.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/il.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/im.svg +36 -0
- data/assets/themes/j1/core/country-flags/4x3/in.svg +25 -0
- data/assets/themes/j1/core/country-flags/4x3/io.svg +138 -0
- data/assets/themes/j1/core/country-flags/4x3/iq.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/ir.svg +219 -0
- data/assets/themes/j1/core/country-flags/4x3/is.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/it.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/je.svg +29 -0
- data/assets/themes/j1/core/country-flags/4x3/jm.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/jo.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/jp.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/ke.svg +23 -0
- data/assets/themes/j1/core/country-flags/4x3/kg.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/kh.svg +61 -0
- data/assets/themes/j1/core/country-flags/4x3/ki.svg +36 -0
- data/assets/themes/j1/core/country-flags/4x3/km.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/kn.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/kp.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/kr.svg +24 -0
- data/assets/themes/j1/core/country-flags/4x3/kw.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ky.svg +63 -0
- data/assets/themes/j1/core/country-flags/4x3/kz.svg +23 -0
- data/assets/themes/j1/core/country-flags/4x3/la.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/lb.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/lc.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/li.svg +43 -0
- data/assets/themes/j1/core/country-flags/4x3/lk.svg +22 -0
- data/assets/themes/j1/core/country-flags/4x3/lr.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/ls.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/lt.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/lu.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/lv.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ly.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ma.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/mc.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/md.svg +70 -0
- data/assets/themes/j1/core/country-flags/4x3/me.svg +116 -0
- data/assets/themes/j1/core/country-flags/4x3/mf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mg.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mh.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mk.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/ml.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mm.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/mn.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/mo.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/mp.svg +86 -0
- data/assets/themes/j1/core/country-flags/4x3/mq.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/mr.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ms.svg +78 -0
- data/assets/themes/j1/core/country-flags/4x3/mt.svg +49 -0
- data/assets/themes/j1/core/country-flags/4x3/mu.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/mv.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/mw.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/mx.svg +382 -0
- data/assets/themes/j1/core/country-flags/4x3/my.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/mz.svg +21 -0
- data/assets/themes/j1/core/country-flags/4x3/na.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/nc.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/ne.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/nf.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/ng.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ni.svg +129 -0
- data/assets/themes/j1/core/country-flags/4x3/nl.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/no.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/np.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/nr.svg +12 -0
- data/assets/themes/j1/core/country-flags/4x3/nu.svg +26 -0
- data/assets/themes/j1/core/country-flags/4x3/nz.svg +41 -0
- data/assets/themes/j1/core/country-flags/4x3/om.svg +115 -0
- data/assets/themes/j1/core/country-flags/4x3/pa.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/pe.svg +244 -0
- data/assets/themes/j1/core/country-flags/4x3/pf.svg +19 -0
- data/assets/themes/j1/core/country-flags/4x3/pg.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/ph.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/pk.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/pl.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/pm.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/pn.svg +62 -0
- data/assets/themes/j1/core/country-flags/4x3/pr.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ps.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/pt.svg +57 -0
- data/assets/themes/j1/core/country-flags/4x3/pw.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/py.svg +157 -0
- data/assets/themes/j1/core/country-flags/4x3/qa.svg +4 -0
- data/assets/themes/j1/core/country-flags/4x3/re.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ro.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/rs.svg +292 -0
- data/assets/themes/j1/core/country-flags/4x3/ru.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/rw.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/sa.svg +26 -0
- data/assets/themes/j1/core/country-flags/4x3/sb.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/sc.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/sd.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/se.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/sg.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/sh.svg +74 -0
- data/assets/themes/j1/core/country-flags/4x3/si.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/sj.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/sk.svg +9 -0
- data/assets/themes/j1/core/country-flags/4x3/sl.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/sm.svg +91 -0
- data/assets/themes/j1/core/country-flags/4x3/sn.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/so.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/sr.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ss.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/st.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/sv.svg +594 -0
- data/assets/themes/j1/core/country-flags/4x3/sx.svg +56 -0
- data/assets/themes/j1/core/country-flags/4x3/sy.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/sz.svg +45 -0
- data/assets/themes/j1/core/country-flags/4x3/tc.svg +67 -0
- data/assets/themes/j1/core/country-flags/4x3/td.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/tf.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/tg.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/th.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/tj.svg +22 -0
- data/assets/themes/j1/core/country-flags/4x3/tk.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/tl.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/tm.svg +206 -0
- data/assets/themes/j1/core/country-flags/4x3/tn.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/to.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/tr.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/tt.svg +5 -0
- data/assets/themes/j1/core/country-flags/4x3/tv.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/tw.svg +14 -0
- data/assets/themes/j1/core/country-flags/4x3/tz.svg +13 -0
- data/assets/themes/j1/core/country-flags/4x3/ua.svg +6 -0
- data/assets/themes/j1/core/country-flags/4x3/ug.svg +30 -0
- data/assets/themes/j1/core/country-flags/4x3/um.svg +15 -0
- data/assets/themes/j1/core/country-flags/4x3/un.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/us.svg +10 -0
- data/assets/themes/j1/core/country-flags/4x3/uy.svg +28 -0
- data/assets/themes/j1/core/country-flags/4x3/uz.svg +30 -0
- data/assets/themes/j1/core/country-flags/4x3/va.svg +479 -0
- data/assets/themes/j1/core/country-flags/4x3/vc.svg +8 -0
- data/assets/themes/j1/core/country-flags/4x3/ve.svg +26 -0
- data/assets/themes/j1/core/country-flags/4x3/vg.svg +127 -0
- data/assets/themes/j1/core/country-flags/4x3/vi.svg +28 -0
- data/assets/themes/j1/core/country-flags/4x3/vn.svg +11 -0
- data/assets/themes/j1/core/country-flags/4x3/vu.svg +18 -0
- data/assets/themes/j1/core/country-flags/4x3/wf.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/ws.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/xk.svg +16 -0
- data/assets/themes/j1/core/country-flags/4x3/ye.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/yt.svg +7 -0
- data/assets/themes/j1/core/country-flags/4x3/za.svg +17 -0
- data/assets/themes/j1/core/country-flags/4x3/zm.svg +27 -0
- data/assets/themes/j1/core/country-flags/4x3/zw.svg +21 -0
- data/assets/themes/j1/core/country-flags/css/theme/uno.css +73 -0
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3 -4
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +1400 -0
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +8496 -13
- data/assets/themes/j1/core/js/template.min.js +9 -9
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +49 -42
- data/assets/themes/j1/modules/j1Deepl/js/j1deepl.js +11 -8
- data/assets/themes/j1/modules/j1Deepl/js/j1deepl.min.js +1 -1
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +254 -240
- data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +1 -2
- data/assets/themes/j1/modules/msDropdown/css/flags.css +1033 -0
- data/assets/themes/j1/modules/msDropdown/css/flags.min.css +23 -0
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.css +278 -0
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.min.css +34 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/1273404841_tick_16.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Amex-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Cash-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Discover-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Mastercard-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Paypal-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/Visa-56.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/blank.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-chrome.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-firefox.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-msie.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-opera.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/browser-safari.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/button-large.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/demoaction.jpg +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/enabled.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/flagssprite_small.png +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/giftlelo_dot_com.jpg +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon-search.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_calendar.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_cart.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_cd.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_email.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_faq.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_games.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_lockopen.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_music.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_phone.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_sales.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_secure.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/icon_video.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/jquery-msdropdown.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/msDropDown.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/preview.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/sprite.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/sprite.jpg +0 -0
- data/assets/themes/j1/modules/msDropdown/images/icons/tick.gif +0 -0
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.js +2664 -0
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js +33 -0
- data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js.map +1 -0
- data/assets/themes/j1/modules/translator/css/translator.css +33 -0
- data/assets/themes/j1/modules/translator/css/translator.min.css +15 -0
- data/assets/themes/j1/modules/translator/js/translator.js +614 -0
- data/assets/themes/j1/modules/translator/js/translator.min.js +15 -0
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/j1_config.yml +4 -7
- data/lib/starter_web/_data/layouts/collection.yml +1 -12
- data/lib/starter_web/_data/layouts/home.yml +0 -12
- data/lib/starter_web/_data/layouts/post.yml +0 -11
- data/lib/starter_web/_data/modules/cookieconsent.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +100 -90
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/translator.yml +142 -0
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
- data/lib/starter_web/_data/modules/translator.yml +31 -0
- data/lib/starter_web/_data/resources.yml +108 -105
- data/lib/starter_web/_includes/attributes.asciidoc +7 -2
- data/lib/starter_web/_plugins/asciidoctor-extensions/flag-icon-inline.rb +37 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/markus-krisetya-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-2-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/percentage_global_mobile_tr.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +0 -8
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +3 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/learn/quickstart.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +7 -3
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +3 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +30 -28
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +112 -10
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +8 -5
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +4 -2
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +6 -8
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +42 -43
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +15 -15
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +0 -1
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +0 -2
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +0 -1
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -3
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -3
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +0 -2
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -2
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +743 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -0
- data/lib/starter_web/pages/public/previewer/{bootstrap_theme.adoc → preview_bootstrap_theme.adoc} +1 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +580 -4
- data/assets/themes/j1/core/js/template.js.map +0 -1
@@ -22,245 +22,259 @@
|
|
22
22
|
//
|
23
23
|
;(function($, window, document, undefined) {
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
25
|
+
'use strict';
|
26
|
+
|
27
|
+
// Create the defaults
|
28
|
+
var pluginName = 'j1Scroll',
|
29
|
+
defaults = {
|
30
|
+
type: 'infiniteScroll',
|
31
|
+
scrollOffset: 100,
|
32
|
+
elementScroll: false,
|
33
|
+
firstPage: 2,
|
34
|
+
lastPage: false,
|
35
|
+
infoLastPage: false,
|
36
|
+
loadStatus: false,
|
37
|
+
onInit: function (){}, // callback after plugin has initialized
|
38
|
+
onBeforeLoad: function (){}, // callback before new items are loaded
|
39
|
+
onAfterLoad: function (){} // callback after new items are loaded
|
40
|
+
};
|
41
|
+
|
42
|
+
// Plugin constructor
|
43
|
+
function Plugin (element, options) {
|
44
|
+
this.element = element;
|
45
|
+
this.settings = $.extend( {}, defaults, options);
|
46
|
+
this.settings.elementID = '#' + this.element.id;
|
47
|
+
|
48
|
+
// call the initializer
|
49
|
+
this.init(this.settings);
|
50
|
+
}
|
51
|
+
|
52
|
+
// Avoid Plugin.prototype conflicts
|
53
|
+
$.extend(Plugin.prototype, {
|
54
|
+
// -------------------------------------------------------------------------
|
55
|
+
// init: initializer
|
56
|
+
// -------------------------------------------------------------------------
|
57
|
+
init: function(options) {
|
58
|
+
var logger = log4javascript.getLogger('j1Scroll');
|
59
|
+
|
60
|
+
logger.info('\n' + 'initializing plugin: started');
|
61
|
+
logger.info('\n' + 'state: started');
|
62
|
+
|
63
|
+
if ( options.elementScroll ) {
|
64
|
+
this.scroller = this.element;
|
65
|
+
} else {
|
66
|
+
this.scroller = window;
|
67
|
+
}
|
68
|
+
|
69
|
+
if (options.loadStatus) {
|
70
|
+
var spinner = '<div class="loader-ellips" style="display: none"> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> </div>';
|
71
|
+
$(spinner).insertAfter(options.elementID);
|
72
|
+
}
|
73
|
+
|
74
|
+
if (options.infoLastPage) {
|
75
|
+
var message = options.lastPageInfo;
|
76
|
+
$(message).insertAfter(options.elementID);
|
77
|
+
}
|
78
|
+
|
79
|
+
// initialize infinite scroll
|
80
|
+
if ( options.type === 'infiniteScroll') {
|
81
|
+
logger.info('\n' + 'processing mode: infiniteScroll');
|
82
|
+
logger.info('\n' + 'loading items from path: ' + options.path + "#");
|
83
|
+
logger.info('\n' + 'monitoring element set to: ' + this.scroller);
|
84
|
+
this.registerScrollEvent(options);
|
85
|
+
}
|
86
|
+
logger.info('\n' + 'initializing plugin: finished');
|
87
|
+
logger.info('\n' + 'state: finished');
|
88
|
+
},
|
89
|
+
|
90
|
+
// -----------------------------------------------------------------------
|
91
|
+
// bottomReached: detect final scroll position
|
92
|
+
// NOTE: the calculation for BOTTOM position is different for
|
93
|
+
// elementScroll and windowScroll. For elementScroll, the
|
94
|
+
// trigger isBottomReached is TRUE, if the scroll position has
|
95
|
+
// the end of the container PLUS a given scrollOffset.
|
96
|
+
// For windowScroll, the trigger isBottomReached is TRUE, if
|
97
|
+
// the scroll position has the end of the window MINUS
|
98
|
+
// a given scrollOffset.
|
99
|
+
// -----------------------------------------------------------------------
|
100
|
+
isBottomReached: function (options) {
|
101
|
+
var _this = this;
|
102
|
+
var bottom, scrollY;
|
103
|
+
var clientHeight = $(options.elementID).height();
|
104
|
+
|
105
|
+
if ( _this.settings.elementScroll ) {
|
106
|
+
// check scroll position of the container items are to be added
|
107
|
+
var $window = $(window);
|
108
|
+
var viewport_top = $window.scrollTop();
|
109
|
+
var viewport_height = $window.height();
|
110
|
+
var viewport_bottom = viewport_top + viewport_height - options.scrollOffset;
|
111
|
+
var $elm = $(options.elementID);
|
112
|
+
var top = $elm.offset().top + clientHeight;
|
113
|
+
var height = $elm.height();
|
114
|
+
bottom = top + height;
|
115
|
+
|
116
|
+
|
117
|
+
return (top >= viewport_top && top < viewport_bottom) ||
|
118
|
+
(bottom > viewport_top && bottom <= viewport_bottom) ||
|
119
|
+
(height > viewport_height && top <= viewport_top && bottom >= viewport_bottom);
|
120
|
+
} else {
|
121
|
+
// check scroll position of the (overall) window
|
122
|
+
return (window.innerHeight + window.pageYOffset + options.scrollOffset >= document.body.offsetHeight);
|
123
|
+
}
|
124
|
+
},
|
125
|
+
|
126
|
+
// -----------------------------------------------------------------------
|
127
|
+
// detectScroll: EventHandler to load new items for infinite scroll
|
128
|
+
// if final scroll position reached
|
129
|
+
// -----------------------------------------------------------------------
|
130
|
+
registerScrollEvent: function (options) {
|
131
|
+
var _this = this;
|
132
|
+
var logger = log4javascript.getLogger('j1Scroll');
|
133
|
+
|
134
|
+
logger.info('\n' + 'scroll event: register');
|
135
|
+
var eventHandler_onscroll = function (event) {
|
136
|
+
var options = _this.settings;
|
137
|
+
|
138
|
+
if (_this.isBottomReached(options)) {
|
139
|
+
if (options.firstPage > options.lastPage ) {
|
140
|
+
logger.info('\n' + 'last page detected on: ' + options.lastPage);
|
141
|
+
window.removeEventListener('scroll', eventHandler_onscroll);
|
142
|
+
logger.info('\n' + 'scroll event: removed');
|
143
|
+
|
144
|
+
if (options.infoLastPage ) {
|
145
|
+
_this.infoLastPage(options);
|
146
|
+
}
|
147
|
+
return false;
|
148
|
+
}
|
149
|
+
_this.getNewPost(options);
|
150
|
+
}
|
151
|
+
};
|
152
|
+
window.addEventListener('scroll', eventHandler_onscroll);
|
153
|
+
logger.info('\n' + 'scroll event: registered');
|
154
|
+
},
|
155
|
+
|
156
|
+
// -----------------------------------------------------------------------
|
157
|
+
// getNewPost: load new items (from current path)
|
158
|
+
// Note: loader flag prevents to load items if AJAX load in progress
|
159
|
+
// is NOT finished
|
160
|
+
// -----------------------------------------------------------------------
|
161
|
+
getNewPost: function (options) {
|
162
|
+
var _this = this;
|
163
|
+
var logger = log4javascript.getLogger('j1Scroll');
|
164
|
+
|
165
|
+
logger.info('\n' + 'trigger loading ');
|
166
|
+
|
167
|
+
// initialze loader flag
|
168
|
+
if (this.itemsLoaded === false) return false;
|
169
|
+
|
170
|
+
// set loader flag (false == not loaded)
|
171
|
+
this.itemsLoaded = false;
|
172
|
+
|
173
|
+
// display spinner while loading
|
174
|
+
if (options.loadStatus) {
|
175
|
+
logger.info('\n' + 'show: spinner');
|
176
|
+
$('.loader-ellips').show();
|
177
|
+
}
|
178
|
+
|
179
|
+
var xmlhttp = new XMLHttpRequest();
|
180
|
+
xmlhttp.onreadystatechange = function () {
|
181
|
+
if (xmlhttp.readyState == XMLHttpRequest.DONE) {
|
182
|
+
if (xmlhttp.status == 200) {
|
183
|
+
options.firstPage++;
|
184
|
+
var childItems = _this.getChildItemsByAjaxHTML(options, xmlhttp.responseText);
|
185
|
+
_this.appendNewItems(childItems);
|
186
|
+
|
187
|
+
logger.info('\n' + 'loading new items: successful');
|
188
|
+
|
189
|
+
// hide the spinner after loading
|
190
|
+
if (options.loadStatus) {
|
191
|
+
logger.info('\n' + 'hide: spinner');
|
192
|
+
$('.loader-ellips').hide();
|
193
|
+
}
|
194
|
+
|
195
|
+
// set loader flag (true == loaded)
|
196
|
+
// return _this.itemsLoaded = true;
|
197
|
+
_this.itemsLoaded = true;
|
198
|
+
} else {
|
199
|
+
// hide the spinner
|
200
|
+
if (options.loadStatus) {
|
201
|
+
logger.info('\n' + 'hide: spinner');
|
202
|
+
$('.loader-ellips').hide();
|
203
|
+
}
|
204
|
+
|
205
|
+
logger.error('\n' + 'loading new items failed, HTTP response: ' + xmlhttp.status );
|
206
|
+
// set loader flag (true == loaded)
|
207
|
+
// return _this.itemsLoaded = false;
|
208
|
+
_this.itemsLoaded = false;
|
209
|
+
}
|
210
|
+
}
|
211
|
+
};
|
212
|
+
logger.info('\n' + 'loading new items from path: ' + options.path + options.firstPage);
|
213
|
+
xmlhttp.open("GET", location.origin + options.path + options.firstPage + '/index.html', true);
|
214
|
+
xmlhttp.send();
|
215
|
+
},
|
216
|
+
|
217
|
+
// -----------------------------------------------------------------------
|
218
|
+
// getChildItemsByAjaxHTML: extract items from page loaded
|
219
|
+
// -----------------------------------------------------------------------
|
220
|
+
getChildItemsByAjaxHTML: function (options, HTMLText) {
|
221
|
+
var newHTML = document.createElement('html');
|
222
|
+
var logger = log4javascript.getLogger('j1Scroll');
|
223
|
+
|
224
|
+
logger.info('\n' + 'load new items');
|
225
|
+
newHTML.innerHTML = HTMLText;
|
226
|
+
var childItems = newHTML.querySelectorAll(options.elementID + ' > *');
|
227
|
+
return childItems;
|
228
|
+
},
|
229
|
+
|
230
|
+
// -----------------------------------------------------------------------
|
231
|
+
// appendNewItems: append items and run post processing
|
232
|
+
// -----------------------------------------------------------------------
|
233
|
+
appendNewItems: function (items) {
|
234
|
+
var _this = this;
|
235
|
+
var logger = log4javascript.getLogger('j1Scroll');
|
236
|
+
var cookie_names = j1.getCookieNames();
|
237
|
+
var user_translate = j1.readCookie(cookie_names.user_translate);
|
238
|
+
|
239
|
+
logger.info('\n' + 'append new items');
|
240
|
+
items.forEach(function (item) {
|
241
|
+
_this.element.appendChild(item);
|
242
|
+
});
|
243
|
+
|
244
|
+
// no dropcaps if translation enabled
|
245
|
+
if (user_translate.translationEnabled) {
|
246
|
+
logger.info('\n' + 'translation enabled: ' + user_translate.translationEnabled);
|
247
|
+
logger.warn('\n' + 'skipped processing of dropcaps');
|
248
|
+
} else {
|
249
|
+
// initialize dropcaps
|
250
|
+
logger.info('\n' + 'post processing: createDropCap');
|
251
|
+
j1.core.createDropCap();
|
252
|
+
}
|
253
|
+
|
254
|
+
},
|
255
|
+
|
256
|
+
// -----------------------------------------------------------------------
|
257
|
+
// getNewPost: load/append new items
|
258
|
+
// Note: loader flag prevents to load items if AJAX load in progress
|
259
|
+
// is NOT finished
|
260
|
+
// -----------------------------------------------------------------------
|
261
|
+
infoLastPage: function (options) {
|
262
|
+
var _this = this;
|
263
|
+
var logger = log4javascript.getLogger('j1Scroll');
|
264
|
+
|
265
|
+
logger.info('\n' + 'show: infoLastPage');
|
266
|
+
$('.page-scroll-last').show();
|
267
|
+
}
|
268
|
+
}); // END prototype
|
269
|
+
|
270
|
+
// wrapper around the constructor to prevent multiple instantiations
|
271
|
+
$.fn [pluginName] = function(options) {
|
272
|
+
return this.each(function() {
|
273
|
+
if (!$.data( this, "plugin_" + pluginName)) {
|
274
|
+
$.data(this, "plugin_" +
|
275
|
+
pluginName, new Plugin(this, options));
|
276
|
+
}
|
277
|
+
});
|
278
|
+
};
|
265
279
|
|
266
280
|
})(jQuery, window, document);
|
@@ -12,5 +12,4 @@
|
|
12
12
|
# For details, see https://jekyll.one
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
*/
|
15
|
-
|
16
|
-
(function(e,c,a,g){var d="j1Scroll",f={type:"infiniteScroll",scrollOffset:100,elementScroll:false,firstPage:2,lastPage:false,infoLastPage:false,loadStatus:false,onInit:function(){},onBeforeLoad:function(){},onAfterLoad:function(){}};function b(i,h){this.element=i;this.settings=e.extend({},f,h);this.settings.elementID="#"+this.element.id;this.init(this.settings)}e.extend(b.prototype,{init:function(i){var h=log4javascript.getLogger("j1Scroll");h.info("\ninitializing plugin: started");h.info("\nstate: started");if(i.elementScroll){this.scroller=this.element}else{this.scroller=c}if(i.loadStatus){var k='<div class="loader-ellips" style="display: none"> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> </div>';e(k).insertAfter(i.elementID)}if(i.infoLastPage){var j=i.lastPageInfo;e(j).insertAfter(i.elementID)}if(i.type==="infiniteScroll"){h.info("\nprocessing mode: infiniteScroll");h.info("\nloading items from path: "+i.path+"#");h.info("\nmonitoring element set to: "+this.scroller);this.registerScrollEvent(i)}h.info("\ninitializing plugin: finished");h.info("\nstate: finished")},isBottomReached:function(s){var n=this;var h,p;var m=e(s.elementID).height();if(n.settings.elementScroll){var j=e(c);var r=j.scrollTop();var i=j.height();var l=r+i-s.scrollOffset;var k=e(s.elementID);var o=k.offset().top+m;var q=k.height();h=o+q;return(o>=r&&o<l)||(h>r&&h<=l)||(q>i&&o<=r&&h>=l)}else{return(c.innerHeight+c.pageYOffset+s.scrollOffset>=a.body.offsetHeight)}},registerScrollEvent:function(i){var k=this;var h=log4javascript.getLogger("j1Scroll");h.info("\nscroll event: register");var j=function(m){var l=k.settings;if(k.isBottomReached(l)){if(l.firstPage>l.lastPage){h.info("\nlast page detected on: "+l.lastPage);c.removeEventListener("scroll",j);h.info("\nscroll event: removed");if(l.infoLastPage){k.infoLastPage(l)}return false}k.getNewPost(l)}};c.addEventListener("scroll",j);h.info("\nscroll event: registered")},getNewPost:function(i){var k=this;var h=log4javascript.getLogger("j1Scroll");h.info("\ntrigger loading ");if(this.itemsLoaded===false){return false}this.itemsLoaded=false;if(i.loadStatus){h.info("\nshow: spinner");e(".loader-ellips").show()}var j=new XMLHttpRequest();j.onreadystatechange=function(){if(j.readyState==XMLHttpRequest.DONE){if(j.status==200){i.firstPage++;var l=k.getChildItemsByAjaxHTML(i,j.responseText);k.appendNewItems(l);h.info("\nloading new items: successful");if(i.loadStatus){h.info("\nhide: spinner");e(".loader-ellips").hide()}return k.itemsLoaded=true}else{if(i.loadStatus){h.info("\nhide: spinner");e(".loader-ellips").hide()}h.error("\nloading new items failed, HTTP response: "+j.status);return k.itemsLoaded=false}}};h.info("\nloading new items from path: "+i.path+i.firstPage);j.open("GET",location.origin+i.path+i.firstPage+"/index.html",true);j.send()},getChildItemsByAjaxHTML:function(j,i){var l=a.createElement("html");var h=log4javascript.getLogger("j1Scroll");h.info("\nload new items");l.innerHTML=i;var k=l.querySelectorAll(j.elementID+" > *");return k},appendNewItems:function(h){var j=this;var i=log4javascript.getLogger("j1Scroll");i.info("\nappend new items");h.forEach(function(k){j.element.appendChild(k)});i.info("\npost processing: createDropCap");j1.core.createDropCap()},infoLastPage:function(i){var j=this;var h=log4javascript.getLogger("j1Scroll");h.info("\nshow: infoLastPage");e(".page-scroll-last").show()}});e.fn[d]=function(h){return this.each(function(){if(!e.data(this,"plugin_"+d)){e.data(this,"plugin_"+d,new b(this,h))}})}})(jQuery,window,document);
|
15
|
+
(function(e,c,a,g){var d="j1Scroll",f={type:"infiniteScroll",scrollOffset:100,elementScroll:false,firstPage:2,lastPage:false,infoLastPage:false,loadStatus:false,onInit:function(){},onBeforeLoad:function(){},onAfterLoad:function(){}};function b(i,h){this.element=i;this.settings=e.extend({},f,h);this.settings.elementID="#"+this.element.id;this.init(this.settings)}e.extend(b.prototype,{init:function(i){var h=log4javascript.getLogger("j1Scroll");h.info("\ninitializing plugin: started");h.info("\nstate: started");if(i.elementScroll){this.scroller=this.element}else{this.scroller=c}if(i.loadStatus){var k='<div class="loader-ellips" style="display: none"> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> <span class="loader-ellips__dot"></span> </div>';e(k).insertAfter(i.elementID)}if(i.infoLastPage){var j=i.lastPageInfo;e(j).insertAfter(i.elementID)}if(i.type==="infiniteScroll"){h.info("\nprocessing mode: infiniteScroll");h.info("\nloading items from path: "+i.path+"#");h.info("\nmonitoring element set to: "+this.scroller);this.registerScrollEvent(i)}h.info("\ninitializing plugin: finished");h.info("\nstate: finished")},isBottomReached:function(s){var n=this;var h,p;var m=e(s.elementID).height();if(n.settings.elementScroll){var j=e(c);var r=j.scrollTop();var i=j.height();var l=r+i-s.scrollOffset;var k=e(s.elementID);var o=k.offset().top+m;var q=k.height();h=o+q;return(o>=r&&o<l)||(h>r&&h<=l)||(q>i&&o<=r&&h>=l)}else{return(c.innerHeight+c.pageYOffset+s.scrollOffset>=a.body.offsetHeight)}},registerScrollEvent:function(i){var k=this;var h=log4javascript.getLogger("j1Scroll");h.info("\nscroll event: register");var j=function(m){var l=k.settings;if(k.isBottomReached(l)){if(l.firstPage>l.lastPage){h.info("\nlast page detected on: "+l.lastPage);c.removeEventListener("scroll",j);h.info("\nscroll event: removed");if(l.infoLastPage){k.infoLastPage(l)}return false}k.getNewPost(l)}};c.addEventListener("scroll",j);h.info("\nscroll event: registered")},getNewPost:function(i){var k=this;var h=log4javascript.getLogger("j1Scroll");h.info("\ntrigger loading ");if(this.itemsLoaded===false){return false}this.itemsLoaded=false;if(i.loadStatus){h.info("\nshow: spinner");e(".loader-ellips").show()}var j=new XMLHttpRequest();j.onreadystatechange=function(){if(j.readyState==XMLHttpRequest.DONE){if(j.status==200){i.firstPage++;var l=k.getChildItemsByAjaxHTML(i,j.responseText);k.appendNewItems(l);h.info("\nloading new items: successful");if(i.loadStatus){h.info("\nhide: spinner");e(".loader-ellips").hide()}k.itemsLoaded=true}else{if(i.loadStatus){h.info("\nhide: spinner");e(".loader-ellips").hide()}h.error("\nloading new items failed, HTTP response: "+j.status);k.itemsLoaded=false}}};h.info("\nloading new items from path: "+i.path+i.firstPage);j.open("GET",location.origin+i.path+i.firstPage+"/index.html",true);j.send()},getChildItemsByAjaxHTML:function(j,i){var l=a.createElement("html");var h=log4javascript.getLogger("j1Scroll");h.info("\nload new items");l.innerHTML=i;var k=l.querySelectorAll(j.elementID+" > *");return k},appendNewItems:function(h){var l=this;var i=log4javascript.getLogger("j1Scroll");var k=j1.getCookieNames();var j=j1.readCookie(k.user_translate);i.info("\nappend new items");h.forEach(function(m){l.element.appendChild(m)});if(j.translationEnabled){i.info("\ntranslation enabled: "+j.translationEnabled);i.warn("\nskipped processing of dropcaps")}else{i.info("\npost processing: createDropCap");j1.core.createDropCap()}},infoLastPage:function(i){var j=this;var h=log4javascript.getLogger("j1Scroll");h.info("\nshow: infoLastPage");e(".page-scroll-last").show()}});e.fn[d]=function(h){return this.each(function(){if(!e.data(this,"plugin_"+d)){e.data(this,"plugin_"+d,new b(this,h))}})}})(jQuery,window,document);
|