From 689ee9c7ea48c2e3de8790dcaae4500207567508 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 3 Apr 2016 03:56:46 -0400 Subject: add ckeditor --- .../plugins/a11yhelp/dialogs/a11yhelp.js | 10 +++ .../a11yhelp/dialogs/lang/_translationstatus.txt | 25 ++++++ .../plugins/a11yhelp/dialogs/lang/af.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/ar.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/bg.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/ca.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/cs.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/cy.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/da.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/de-ch.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/de.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/el.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/en-gb.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/en.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/eo.js | 13 +++ .../plugins/a11yhelp/dialogs/lang/es.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/et.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/eu.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/fa.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/fi.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/fo.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/fr-ca.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/fr.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/gl.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/gu.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/he.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/hi.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/hr.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/hu.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/id.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/it.js | 13 +++ .../plugins/a11yhelp/dialogs/lang/ja.js | 9 ++ .../plugins/a11yhelp/dialogs/lang/km.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/ko.js | 10 +++ .../plugins/a11yhelp/dialogs/lang/ku.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/lt.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/lv.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/mk.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/mn.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/nb.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/nl.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/no.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/pl.js | 13 +++ .../plugins/a11yhelp/dialogs/lang/pt-br.js | 13 +++ .../plugins/a11yhelp/dialogs/lang/pt.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/ro.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/ru.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/si.js | 10 +++ .../plugins/a11yhelp/dialogs/lang/sk.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/sl.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/sq.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/sr-latn.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/sr.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/sv.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/th.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/tr.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/tt.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/ug.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/uk.js | 12 +++ .../plugins/a11yhelp/dialogs/lang/vi.js | 11 +++ .../plugins/a11yhelp/dialogs/lang/zh-cn.js | 9 ++ .../plugins/a11yhelp/dialogs/lang/zh.js | 9 ++ .../plugins/about/dialogs/about.js | 7 ++ .../plugins/about/dialogs/hidpi/logo_ckeditor.png | Bin 0 -> 13339 bytes .../plugins/about/dialogs/logo_ckeditor.png | Bin 0 -> 6757 bytes .../plugins/clipboard/dialogs/paste.js | 12 +++ .../plugins/dialog/dialogDefinition.js | 4 + data/stuff/ckeditor-4.5.8-custom/plugins/icons.png | Bin 0 -> 10760 bytes .../ckeditor-4.5.8-custom/plugins/icons_hidpi.png | Bin 0 -> 36834 bytes .../plugins/image/dialogs/image.js | 44 ++++++++++ .../plugins/image/images/noimage.png | Bin 0 -> 1610 bytes .../plugins/link/dialogs/anchor.js | 7 ++ .../plugins/link/dialogs/link.js | 26 ++++++ .../plugins/link/images/anchor.png | Bin 0 -> 589 bytes .../plugins/link/images/hidpi/anchor.png | Bin 0 -> 1379 bytes .../plugins/magicline/images/hidpi/icon-rtl.png | Bin 0 -> 176 bytes .../plugins/magicline/images/hidpi/icon.png | Bin 0 -> 199 bytes .../plugins/magicline/images/icon-rtl.png | Bin 0 -> 138 bytes .../plugins/magicline/images/icon.png | Bin 0 -> 133 bytes .../plugins/pastefromword/filter/default.js | 32 +++++++ .../plugins/preview/preview.html | 13 +++ .../plugins/scayt/CHANGELOG.md | 20 +++++ .../ckeditor-4.5.8-custom/plugins/scayt/LICENSE.md | 28 +++++++ .../ckeditor-4.5.8-custom/plugins/scayt/README.md | 25 ++++++ .../plugins/scayt/dialogs/options.js | 19 +++++ .../plugins/scayt/dialogs/toolbar.css | 71 ++++++++++++++++ .../dialogs/lang/_translationstatus.txt | 20 +++++ .../plugins/specialchar/dialogs/lang/af.js | 13 +++ .../plugins/specialchar/dialogs/lang/ar.js | 13 +++ .../plugins/specialchar/dialogs/lang/bg.js | 13 +++ .../plugins/specialchar/dialogs/lang/ca.js | 14 ++++ .../plugins/specialchar/dialogs/lang/cs.js | 13 +++ .../plugins/specialchar/dialogs/lang/cy.js | 14 ++++ .../plugins/specialchar/dialogs/lang/da.js | 11 +++ .../plugins/specialchar/dialogs/lang/de-ch.js | 13 +++ .../plugins/specialchar/dialogs/lang/de.js | 13 +++ .../plugins/specialchar/dialogs/lang/el.js | 13 +++ .../plugins/specialchar/dialogs/lang/en-gb.js | 13 +++ .../plugins/specialchar/dialogs/lang/en.js | 13 +++ .../plugins/specialchar/dialogs/lang/eo.js | 12 +++ .../plugins/specialchar/dialogs/lang/es.js | 13 +++ .../plugins/specialchar/dialogs/lang/et.js | 13 +++ .../plugins/specialchar/dialogs/lang/eu.js | 13 +++ .../plugins/specialchar/dialogs/lang/fa.js | 12 +++ .../plugins/specialchar/dialogs/lang/fi.js | 13 +++ .../plugins/specialchar/dialogs/lang/fr-ca.js | 10 +++ .../plugins/specialchar/dialogs/lang/fr.js | 11 +++ .../plugins/specialchar/dialogs/lang/gl.js | 13 +++ .../plugins/specialchar/dialogs/lang/he.js | 12 +++ .../plugins/specialchar/dialogs/lang/hr.js | 13 +++ .../plugins/specialchar/dialogs/lang/hu.js | 12 +++ .../plugins/specialchar/dialogs/lang/id.js | 13 +++ .../plugins/specialchar/dialogs/lang/it.js | 14 ++++ .../plugins/specialchar/dialogs/lang/ja.js | 9 ++ .../plugins/specialchar/dialogs/lang/km.js | 13 +++ .../plugins/specialchar/dialogs/lang/ko.js | 10 +++ .../plugins/specialchar/dialogs/lang/ku.js | 13 +++ .../plugins/specialchar/dialogs/lang/lt.js | 13 +++ .../plugins/specialchar/dialogs/lang/lv.js | 13 +++ .../plugins/specialchar/dialogs/lang/nb.js | 11 +++ .../plugins/specialchar/dialogs/lang/nl.js | 13 +++ .../plugins/specialchar/dialogs/lang/no.js | 11 +++ .../plugins/specialchar/dialogs/lang/pl.js | 12 +++ .../plugins/specialchar/dialogs/lang/pt-br.js | 11 +++ .../plugins/specialchar/dialogs/lang/pt.js | 13 +++ .../plugins/specialchar/dialogs/lang/ru.js | 13 +++ .../plugins/specialchar/dialogs/lang/si.js | 13 +++ .../plugins/specialchar/dialogs/lang/sk.js | 13 +++ .../plugins/specialchar/dialogs/lang/sl.js | 12 +++ .../plugins/specialchar/dialogs/lang/sq.js | 13 +++ .../plugins/specialchar/dialogs/lang/sv.js | 11 +++ .../plugins/specialchar/dialogs/lang/th.js | 13 +++ .../plugins/specialchar/dialogs/lang/tr.js | 12 +++ .../plugins/specialchar/dialogs/lang/tt.js | 13 +++ .../plugins/specialchar/dialogs/lang/ug.js | 13 +++ .../plugins/specialchar/dialogs/lang/uk.js | 12 +++ .../plugins/specialchar/dialogs/lang/vi.js | 14 ++++ .../plugins/specialchar/dialogs/lang/zh-cn.js | 9 ++ .../plugins/specialchar/dialogs/lang/zh.js | 9 ++ .../plugins/specialchar/dialogs/specialchar.js | 14 ++++ .../plugins/table/dialogs/table.js | 21 +++++ .../plugins/tabletools/dialogs/tableCell.js | 17 ++++ .../ckeditor-4.5.8-custom/plugins/wsc/LICENSE.md | 28 +++++++ .../ckeditor-4.5.8-custom/plugins/wsc/README.md | 25 ++++++ .../plugins/wsc/dialogs/ciframe.html | 66 +++++++++++++++ .../plugins/wsc/dialogs/tmpFrameset.html | 52 ++++++++++++ .../plugins/wsc/dialogs/wsc.css | 82 ++++++++++++++++++ .../plugins/wsc/dialogs/wsc.js | 92 +++++++++++++++++++++ .../plugins/wsc/dialogs/wsc_ie.js | 11 +++ 149 files changed, 2089 insertions(+) create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/a11yhelp.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/_translationstatus.txt create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/af.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/ar.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/bg.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/ca.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/cs.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/cy.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/da.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/de-ch.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/de.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/el.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/en-gb.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/en.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/eo.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/es.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/et.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/eu.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/fa.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/fi.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/fo.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/fr-ca.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/fr.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/gl.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/gu.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/he.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/hi.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/hr.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/hu.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/id.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/it.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/ja.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/km.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/ko.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/ku.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/lt.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/lv.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/mk.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/mn.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/nb.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/nl.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/no.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/pl.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/pt-br.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/pt.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/ro.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/ru.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/si.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/sk.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/sl.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/sq.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/sr-latn.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/sr.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/sv.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/th.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/tr.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/tt.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/ug.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/uk.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/vi.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/zh-cn.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/lang/zh.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/about/dialogs/about.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/about/dialogs/hidpi/logo_ckeditor.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/about/dialogs/logo_ckeditor.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/clipboard/dialogs/paste.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/dialog/dialogDefinition.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/icons.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/icons_hidpi.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/image/dialogs/image.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/image/images/noimage.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/link/dialogs/anchor.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/link/dialogs/link.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/link/images/anchor.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/link/images/hidpi/anchor.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/magicline/images/hidpi/icon-rtl.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/magicline/images/hidpi/icon.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/magicline/images/icon-rtl.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/magicline/images/icon.png create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/pastefromword/filter/default.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/preview/preview.html create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/scayt/CHANGELOG.md create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/scayt/LICENSE.md create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/scayt/README.md create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/toolbar.css create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/_translationstatus.txt create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/af.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/ar.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/bg.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/ca.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/cs.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/cy.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/da.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/de-ch.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/de.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/el.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/en-gb.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/en.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/eo.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/es.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/et.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/eu.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/fa.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/fi.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/fr-ca.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/fr.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/gl.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/he.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/hr.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/hu.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/id.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/it.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/ja.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/km.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/ko.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/ku.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/lt.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/lv.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/nb.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/nl.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/no.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/pl.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/pt-br.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/pt.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/ru.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/si.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/sk.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/sl.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/sq.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/sv.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/th.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/tr.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/tt.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/ug.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/uk.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/vi.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/zh-cn.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/lang/zh.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/specialchar/dialogs/specialchar.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/table/dialogs/table.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/tabletools/dialogs/tableCell.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/wsc/LICENSE.md create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/wsc/README.md create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/ciframe.html create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/tmpFrameset.html create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/wsc.css create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/wsc.js create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/wsc_ie.js (limited to 'data/stuff/ckeditor-4.5.8-custom/plugins') diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/a11yhelp.js b/data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/a11yhelp.js new file mode 100644 index 0000000..4585951 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/a11yhelp/dialogs/a11yhelp.js @@ -0,0 +1,10 @@ +/* + Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.dialog.add("a11yHelp",function(l){var a=l.lang.a11yhelp,n=CKEDITOR.tools.getNextId(),e={8:a.backspace,9:a.tab,13:a.enter,16:a.shift,17:a.ctrl,18:a.alt,19:a.pause,20:a.capslock,27:a.escape,33:a.pageUp,34:a.pageDown,35:a.end,36:a.home,37:a.leftArrow,38:a.upArrow,39:a.rightArrow,40:a.downArrow,45:a.insert,46:a["delete"],91:a.leftWindowKey,92:a.rightWindowKey,93:a.selectKey,96:a.numpad0,97:a.numpad1,98:a.numpad2,99:a.numpad3,100:a.numpad4,101:a.numpad5,102:a.numpad6,103:a.numpad7,104:a.numpad8, +105:a.numpad9,106:a.multiply,107:a.add,109:a.subtract,110:a.decimalPoint,111:a.divide,112:a.f1,113:a.f2,114:a.f3,115:a.f4,116:a.f5,117:a.f6,118:a.f7,119:a.f8,120:a.f9,121:a.f10,122:a.f11,123:a.f12,144:a.numLock,145:a.scrollLock,186:a.semiColon,187:a.equalSign,188:a.comma,189:a.dash,190:a.period,191:a.forwardSlash,192:a.graveAccent,219:a.openBracket,220:a.backSlash,221:a.closeBracket,222:a.singleQuote};e[CKEDITOR.ALT]=a.alt;e[CKEDITOR.SHIFT]=a.shift;e[CKEDITOR.CTRL]=a.ctrl;var f=[CKEDITOR.ALT,CKEDITOR.SHIFT, +CKEDITOR.CTRL],p=/\$\{(.*?)\}/g,t=function(){var a=l.keystrokeHandler.keystrokes,g={},c;for(c in a)g[a[c]]=c;return function(a,c){var b;if(g[c]){b=g[c];for(var h,k,m=[],d=0;d=h&&(b-=k,m.push(e[k]));m.push(e[b]||String.fromCharCode(b));b=m.join("+")}else b=a;return b}}();return{title:a.title,minWidth:600,minHeight:400,contents:[{id:"info",label:l.lang.common.generalTab,expand:!0,elements:[{type:"html",id:"legends",style:"white-space:normal;",focus:function(){this.getElement().focus()}, +html:function(){for(var e='\x3cdiv class\x3d"cke_accessibility_legend" role\x3d"document" aria-labelledby\x3d"'+n+'_arialbl" tabIndex\x3d"-1"\x3e%1\x3c/div\x3e\x3cspan id\x3d"'+n+'_arialbl" class\x3d"cke_voice_label"\x3e'+a.contents+" \x3c/span\x3e",g=[],c=a.legend,l=c.length,f=0;fCKEDITOR.env.version)b.getWindow().on("blur",function(){b.$.selection.empty()});b.on("keydown",function(a){a=a.data;var b;switch(a.getKeystroke()){case 27:this.hide();b=1;break;case 9:case CKEDITOR.SHIFT+ +9:this.changeFocus(1),b=1}b&&a.preventDefault()},this);c.fire("ariaWidget",new CKEDITOR.dom.element(a.frameElement));b.getWindow().getFrame().removeCustomData("pendingFocus")&&g.focus()}var h=c.lang.clipboard,e=CKEDITOR.plugins.clipboard,f;c.on("pasteDialogCommit",function(a){a.data&&c.fire("paste",{type:"auto",dataValue:a.data.dataValue,method:"paste",dataTransfer:a.data.dataTransfer||e.initPasteDataTransfer()})},null,null,1E3);return{title:h.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?370: +350,minHeight:CKEDITOR.env.quirks?250:245,onShow:function(){this.parts.dialog.$.offsetHeight;this.setupContent();this.parts.title.setHtml(this.customTitle||h.title);this.customTitle=null},onLoad:function(){(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&"rtl"==c.lang.dir&&this.parts.contents.setStyle("overflow","hidden")},onOk:function(){this.commitContent()},contents:[{id:"general",label:c.lang.common.generalTab,elements:[{type:"html",id:"securityMsg",html:'\x3cdiv style\x3d"white-space:normal;width:340px"\x3e'+ +h.securityMsg+"\x3c/div\x3e"},{type:"html",id:"pasteMsg",html:'\x3cdiv style\x3d"white-space:normal;width:340px"\x3e'+h.pasteMsg+"\x3c/div\x3e"},{type:"html",id:"editing_area",style:"width:100%;height:100%",html:"",focus:function(){var a=this.getInputElement(),b=a.getFrameDocument().getBody();!b||b.isReadOnly()?a.setCustomData("pendingFocus",1):b.focus()},setup:function(){var a=this.getDialog(),b='\x3chtml dir\x3d"'+c.config.contentsLangDirection+'" lang\x3d"'+(c.config.contentsLanguage||c.langCode)+ +'"\x3e\x3chead\x3e\x3cstyle\x3ebody{margin:3px;height:95%;word-break:break-all;}\x3c/style\x3e\x3c/head\x3e\x3cbody\x3e\x3cscript id\x3d"cke_actscrpt" type\x3d"text/javascript"\x3ewindow.parent.CKEDITOR.tools.callFunction('+CKEDITOR.tools.addFunction(k,a)+",this);\x3c/script\x3e\x3c/body\x3e\x3c/html\x3e",g=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie&&!CKEDITOR.env.edge?"javascript:void((function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+ +'})())"':"",d=CKEDITOR.dom.element.createFromHtml('\x3ciframe class\x3d"cke_pasteframe" frameborder\x3d"0" allowTransparency\x3d"true" src\x3d"'+g+'" aria-label\x3d"'+h.pasteArea+'" aria-describedby\x3d"'+a.getContentElement("general","pasteMsg").domId+'"\x3e\x3c/iframe\x3e');f=null;d.on("load",function(a){a.removeListener();a=d.getFrameDocument();a.write(b);c.focusManager.add(a.getBody());CKEDITOR.env.air&&k.call(this,a.getWindow().$)},a);d.setCustomData("dialog",a);a=this.getElement();a.setHtml(""); +a.append(d);if(CKEDITOR.env.ie&&!CKEDITOR.env.edge){var e=CKEDITOR.dom.element.createFromHtml('\x3cspan tabindex\x3d"-1" style\x3d"position:absolute" role\x3d"presentation"\x3e\x3c/span\x3e');e.on("focus",function(){setTimeout(function(){d.$.contentWindow.focus()})});a.append(e);this.focus=function(){e.focus();this.fire("focus")}}this.getInputElement=function(){return d};CKEDITOR.env.ie&&(a.setStyle("display","block"),a.setStyle("height",d.$.offsetHeight+2+"px"))},commit:function(){var a=this.getDialog().getParentEditor(), +b=this.getInputElement().getFrameDocument().getBody(),c=b.getBogus(),d;c&&c.remove();d=b.getHtml();setTimeout(function(){a.fire("pasteDialogCommit",{dataValue:d,dataTransfer:f||e.initPasteDataTransfer()})},0)}}]}]}}); \ No newline at end of file diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/dialog/dialogDefinition.js b/data/stuff/ckeditor-4.5.8-custom/plugins/dialog/dialogDefinition.js new file mode 100644 index 0000000..26c2feb --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/dialog/dialogDefinition.js @@ -0,0 +1,4 @@ +/* + Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or http://ckeditor.com/license +*/ diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/icons.png b/data/stuff/ckeditor-4.5.8-custom/plugins/icons.png new file mode 100644 index 0000000..ac6308e Binary files /dev/null and b/data/stuff/ckeditor-4.5.8-custom/plugins/icons.png differ diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/icons_hidpi.png b/data/stuff/ckeditor-4.5.8-custom/plugins/icons_hidpi.png new file mode 100644 index 0000000..82054e3 Binary files /dev/null and b/data/stuff/ckeditor-4.5.8-custom/plugins/icons_hidpi.png differ diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/image/dialogs/image.js b/data/stuff/ckeditor-4.5.8-custom/plugins/image/dialogs/image.js new file mode 100644 index 0000000..1818579 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/image/dialogs/image.js @@ -0,0 +1,44 @@ +/* + Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +(function(){var v=function(d,l){function v(){var a=arguments,b=this.getContentElement("advanced","txtdlgGenStyle");b&&b.commit.apply(b,a);this.foreach(function(b){b.commit&&"txtdlgGenStyle"!=b.id&&b.commit.apply(b,a)})}function k(a){if(!w){w=1;var b=this.getDialog(),c=b.imageElement;if(c){this.commit(1,c);a=[].concat(a);for(var d=a.length,f,g=0;gCKEDITOR.env.version&&(a["class"]="cke_anchor"),a=new CKEDITOR.style({element:"a",attributes:a}),a.type=CKEDITOR.STYLE_INLINE,c.applyStyle(a))}},onHide:function(){delete this._.selectedElement},onShow:function(){var a=c.getSelection(),b=a.getSelectedElement(),d=b&&b.data("cke-realelement"),e=d?CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,b):CKEDITOR.plugins.link.getSelectedLink(c); +if(e){this._.selectedElement=e;var f=e.data("cke-saved-name");this.setValueOf("info","txtName",f||"");!d&&a.selectElement(e);b&&(this._.selectedElement=b)}this.getContentElement("info","txtName").focus()},contents:[{id:"info",label:c.lang.link.anchor.title,accessKey:"I",elements:[{type:"text",id:"txtName",label:c.lang.link.anchor.name,required:!0,validate:function(){return this.getValue()?!0:(alert(c.lang.link.anchor.errorName),!1)}}]}]}}); \ No newline at end of file diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/link/dialogs/link.js b/data/stuff/ckeditor-4.5.8-custom/plugins/link/dialogs/link.js new file mode 100644 index 0000000..fcb4b64 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/link/dialogs/link.js @@ -0,0 +1,26 @@ +/* + Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +(function(){CKEDITOR.dialog.add("link",function(g){var n=CKEDITOR.plugins.link,p=function(){var a=this.getDialog(),b=a.getContentElement("target","popupFeatures"),a=a.getContentElement("target","linkTargetName"),m=this.getValue();if(b&&a)switch(b=b.getElement(),b.hide(),a.setValue(""),m){case "frame":a.setLabel(g.lang.link.targetFrameName);a.getElement().show();break;case "popup":b.show();a.setLabel(g.lang.link.targetPopupName);a.getElement().show();break;default:a.setValue(m),a.getElement().hide()}}, +f=function(a){a.target&&this.setValue(a.target[this.id]||"")},h=function(a){a.advanced&&this.setValue(a.advanced[this.id]||"")},k=function(a){a.target||(a.target={});a.target[this.id]=this.getValue()||""},l=function(a){a.advanced||(a.advanced={});a.advanced[this.id]=this.getValue()||""},c=g.lang.common,b=g.lang.link,d;return{title:b.title,minWidth:350,minHeight:230,contents:[{id:"info",label:b.info,title:b.info,elements:[{id:"linkType",type:"select",label:b.type,"default":"url",items:[[b.toUrl,"url"], +[b.toAnchor,"anchor"],[b.toEmail,"email"]],onChange:function(){var a=this.getDialog(),b=["urlOptions","anchorOptions","emailOptions"],m=this.getValue(),e=a.definition.getContents("upload"),e=e&&e.hidden;"url"==m?(g.config.linkShowTargetTab&&a.showPage("target"),e||a.showPage("upload")):(a.hidePage("target"),e||a.hidePage("upload"));for(e=0;ex&&(w=a-x);x=a;c["cke:indent"]=w&&Math.ceil(a/w)+1||1}],[/^mso-list$/,null,function(a){a=a.split(" ");if(!(2>a.length)){var b=Number(a[0].match(/\d+/));a=Number(a[1].match(/\d+/));1==a&&(b!==A&&(c["cke:reset"]=1),A=b);c["cke:indent"]=a}}]])(c.style,a)||""),c["cke:indent"]||(x=0,c["cke:indent"]=1),CKEDITOR.tools.extend(c,b.attributes),!0;A=x=w=null;return!1},getStyleComponents:function(){var a=CKEDITOR.dom.element.createFromHtml('\x3cdiv style\x3d"position:absolute;left:-9999px;top:-9999px;"\x3e\x3c/div\x3e', +CKEDITOR.document);CKEDITOR.document.getBody().append(a);return function(c,b,f){a.setStyle(c,b);c={};b=f.length;for(var d=0;de)a.push(l=new CKEDITOR.htmlParser.element(p)),l.add(b),k.add(l);else{if(db.size?"small":"medium")),delete b.size),a.name="span",a.addStyle(d.join(";")))}},span:function(a){if(t(a.parent))return!1;a.filterChildren(c);if(q(a))return delete a.name,null;if(t(a)){var b=a.firstChild(function(a){return a.value||"img"==a.name}),e=(b=b&&(b.value||"l."))&&b.match(/^(?:[(]?)([^\s]+?)([.)]?)$/);if(e)return b=h(e,b),(a=a.getAncestor("span"))&&/ mso-hide:\s*all|display:\s*none /.test(a.attributes.style)&& +(b.attributes["cke:ignored"]=1),b}if(e=(b=a.attributes)&&b.style)b.style=l([["line-height"],[/^font-family$/,null,r?null:n(d.font_style,"family")],[/^font-size$/,null,r?null:n(d.fontSize_style,"size")],[/^color$/,null,r?null:n(d.colorButton_foreStyle,"color")],[/^background-color$/,null,r?null:n(d.colorButton_backStyle,"color")]])(e,a)||"";b.style||delete b.style;CKEDITOR.tools.isEmpty(b)&&delete a.name;return null},b:g(d.coreStyles_bold),i:g(d.coreStyles_italic),u:g(d.coreStyles_underline),s:g(d.coreStyles_strike), +sup:g(d.coreStyles_superscript),sub:g(d.coreStyles_subscript),a:function(a){var b=a.attributes;b.name&&b.name.match(/ole_link\d+/i)?delete a.name:b.href&&b.href.match(/^file:\/\/\/[\S]+#/i)&&(b.href=b.href.replace(/^file:\/\/\/[^#]+/i,""))},"cke:listbullet":function(a){a.getAncestor(/h\d/)&&!d.pasteFromWordNumberedHeadingToList&&delete a.name}},attributeNames:[[/^onmouse(:?out|over)/,""],[/^onload$/,""],[/(?:v|o):\w+/,""],[/^lang/,""]],attributes:{style:l(w?[[/^list-style-type$/,null],[/^margin$|^margin-(?!bottom|top)/, +null,function(a,b,c){if(b.name in{p:1,div:1}){b="ltr"==d.contentsLangDirection?"margin-left":"margin-right";if("margin"==c)a=v(c,a,[b])[b];else if(c!=b)return null;if(a&&!G.test(a))return[b,a]}return null}],[/^clear$/],[/^border.*|margin.*|vertical-align|float$/,null,function(a,b){if("img"==b.name)return a}],[/^width|height$/,null,function(a,b){if(b.name in{table:1,td:1,th:1,img:1})return a}]]:[[/^mso-/],[/-color$/,null,function(a){if("transparent"==a)return!1;if(CKEDITOR.env.gecko)return a.replace(/-moz-use-text-color/g, +"transparent")}],[/^margin$/,G],["text-indent","0cm"],["page-break-before"],["tab-stops"],["display","none"],r?[/font-?/]:null],w),width:function(a,c){if(c.name in b.$tableContent)return!1},border:function(a,c){if(c.name in b.$tableContent)return!1},"class":function(a,b){return b.classWhiteList&&-1!=b.classWhiteList.indexOf(" "+a+" ")?a:!1},bgcolor:k,valign:w?k:function(a,b){b.addStyle("vertical-align",a);return!1}},comment:CKEDITOR.env.ie?k:function(a,b){var c=a.match(//),d=a.match(/^\[if !supportLists\]([\s\S]*?)\[endif\]$/); +return d?(d=(c=d[1]||c&&"l.")&&c.match(/>(?:[(]?)([^\s]+?)([.)]?)]*o:href=['"](.*?)['"]/))&&d[1])&&(c.attributes.src=d),c):!1}}}},J=function(){this.dataFilter=new CKEDITOR.htmlParser.filter};J.prototype={toHtml:function(a){a=CKEDITOR.htmlParser.fragment.fromHtml(a);var c=new CKEDITOR.htmlParser.basicWriter;a.writeHtml(c,this.dataFilter);return c.getHtml(!0)}}; +CKEDITOR.cleanWord=function(a,c){a=a.replace(//g,"\x3c!--[$1]--\x3e");CKEDITOR.env.gecko&&(a=a.replace(/(\x3c!--\[if[^<]*?\])--\x3e([\S\s]*?)\x3c!--(\[endif\]--\x3e)/gi,"$1$2$3"));CKEDITOR.env.webkit&&(a=a.replace(/(class="MsoListParagraph[^>]+>\x3c!--\[if !supportLists\]--\x3e)([^<]+)(\x3c!--\[endif\]--\x3e)/gi,"$1\x3cspan\x3e$2\x3c/span\x3e$3"));var b=new J,f=b.dataFilter;f.addRules(CKEDITOR.plugins.pastefromword.getRules(c,f));c.fire("beforeCleanWord",{filter:f}); +try{a=b.toHtml(a)}catch(d){c.showNotification(c.lang.pastefromword.error)}a=a.replace(/cke:.*?".*?"/g,"");a=a.replace(/style=""/g,"");return a=a.replace(//g,"")}})(); \ No newline at end of file diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/preview/preview.html b/data/stuff/ckeditor-4.5.8-custom/plugins/preview/preview.html new file mode 100644 index 0000000..8c02826 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/preview/preview.html @@ -0,0 +1,13 @@ + diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/CHANGELOG.md b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/CHANGELOG.md new file mode 100644 index 0000000..d956208 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/CHANGELOG.md @@ -0,0 +1,20 @@ +SCAYT plugin for CKEditor 4 Changelog +==================== +### CKEditor 4.5.6 + +New Features: +* CKEditor [language addon](http://ckeditor.com/addon/language) support +* CKEditor [placeholder addon](http://ckeditor.com/addon/placeholder) support +* Drag and Drop support +* *Experimental* GRAYT functionality http://www.webspellchecker.net/samples/scayt-ckeditor-plugin.html#25 + +Fixed issues: +* [#98](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/98) SCAYT Affects Dialog Double Click. Fixed in SCAYT Core. +* [#102](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/102) SCAYT Core performance enhancements +* [#104](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/104) SCAYT's spans leak into the clipboard and after pasting +* [#105](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/105) Javascript error fired in case of multiple instances of CKEditor in one page +* [#107](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/107) SCAYT should not check non-editable parts of content +* [#108](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/108) Latest SCAYT copies id of editor element to the iframe +* SCAYT stops working when CKEditor Undo plug-in not enabled +* Issue with pasting SCAYT markup in CKEditor +* [#32](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/32) SCAYT stops working after pressing Cancel button in WSC dialog diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/LICENSE.md b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/LICENSE.md new file mode 100644 index 0000000..844ab4d --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/LICENSE.md @@ -0,0 +1,28 @@ +Software License Agreement +========================== + +**CKEditor SCAYT Plugin** +Copyright © 2012, [CKSource](http://cksource.com) - Frederico Knabben. All rights reserved. + +Licensed under the terms of any of the following licenses at your choice: + +* GNU General Public License Version 2 or later (the "GPL"): + http://www.gnu.org/licenses/gpl.html + +* GNU Lesser General Public License Version 2.1 or later (the "LGPL"): + http://www.gnu.org/licenses/lgpl.html + +* Mozilla Public License Version 1.1 or later (the "MPL"): + http://www.mozilla.org/MPL/MPL-1.1.html + +You are not required to, but if you want to explicitly declare the license you have chosen to be bound to when using, reproducing, modifying and distributing this software, just include a text file titled "legal.txt" in your version of this software, indicating your license choice. + +Sources of Intellectual Property Included in this plugin +-------------------------------------------------------- + +Where not otherwise indicated, all plugin content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, the plugin will incorporate work done by developers outside of CKSource with their express permission. + +Trademarks +---------- + +CKEditor is a trademark of CKSource - Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders. diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/README.md b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/README.md new file mode 100644 index 0000000..1231d91 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/README.md @@ -0,0 +1,25 @@ +CKEditor SCAYT Plugin +===================== + +This plugin brings Spell Check As You Type (SCAYT) into up to CKEditor 4+. + +SCAYT is a "installation-less", using the web-services of [WebSpellChecker.net](http://www.webspellchecker.net/). It's an out of the box solution. + +Installation +------------ + +1. Clone/copy this repository contents in a new "plugins/scayt" folder in your CKEditor installation. +2. Enable the "scayt" plugin in the CKEditor configuration file (config.js): + + config.extraPlugins = 'scayt'; + +That's all. SCAYT will appear on the editor toolbar and will be ready to use. + +License +------- + +Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html). + +See LICENSE.md for more information. + +Developed in cooperation with [WebSpellChecker.net](http://www.webspellchecker.net/). diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js new file mode 100644 index 0000000..12dbfd1 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js @@ -0,0 +1,19 @@ +CKEDITOR.dialog.add("scaytDialog",function(c){var f=c.scayt,q='\x3cp\x3e\x3cimg src\x3d"'+f.getLogo()+'" /\x3e\x3c/p\x3e\x3cp\x3e'+f.getLocal("version")+f.getVersion()+"\x3c/p\x3e\x3cp\x3e"+f.getLocal("text_copyrights")+"\x3c/p\x3e",r=CKEDITOR.document,n={isChanged:function(){return null===this.newLang||this.currentLang===this.newLang?!1:!0},currentLang:f.getLang(),newLang:null,reset:function(){this.currentLang=f.getLang();this.newLang=null},id:"lang"},q=[{id:"options",label:f.getLocal("tab_options"), +onShow:function(){},elements:[{type:"vbox",id:"scaytOptions",children:function(){var a=f.getApplicationConfig(),b=[],g={"ignore-all-caps-words":"label_allCaps","ignore-domain-names":"label_ignoreDomainNames","ignore-words-with-mixed-cases":"label_mixedCase","ignore-words-with-numbers":"label_mixedWithDigits"},e;for(e in a)a={type:"checkbox"},a.id=e,a.label=f.getLocal(g[e]),b.push(a);return b}(),onShow:function(){this.getChild();for(var a=c.scayt,b=0;bb[1]?c=1:a[1]n&&(n=f)}return n}function r(a){return function(){var f=this.getValue(),f=!!(CKEDITOR.dialog.validate.integer()(f)&&0q.getSize("width")?"100%":500:0,getValue:u,validate:CKEDITOR.dialog.validate.cssLength(a.lang.common.invalidCssLength.replace("%1", +a.lang.common.width)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("width",this.getValue())},setup:function(a){a=a.getStyle("width");this.setValue(a)},commit:l}]},{type:"hbox",widths:["5em"],children:[{type:"text",id:"txtHeight",requiredContent:"table{height}",controlStyle:"width:5em",label:a.lang.common.height,title:a.lang.common.cssLengthTooltip,"default":"",getValue:u,validate:CKEDITOR.dialog.validate.cssLength(a.lang.common.invalidCssLength.replace("%1", +a.lang.common.height)),onChange:function(){var a=this.getDialog().getContentElement("advanced","advStyles");a&&a.updateStyle("height",this.getValue())},setup:function(a){(a=a.getStyle("height"))&&this.setValue(a)},commit:l}]},{type:"html",html:"\x26nbsp;"},{type:"text",id:"txtCellSpace",requiredContent:"table[cellspacing]",controlStyle:"width:3em",label:a.lang.table.cellSpace,"default":a.filter.check("table[cellspacing]")?1:0,validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidCellSpacing), +setup:function(a){this.setValue(a.getAttribute("cellSpacing")||"")},commit:function(a,d){this.getValue()?d.setAttribute("cellSpacing",this.getValue()):d.removeAttribute("cellSpacing")}},{type:"text",id:"txtCellPad",requiredContent:"table[cellpadding]",controlStyle:"width:3em",label:a.lang.table.cellPad,"default":a.filter.check("table[cellpadding]")?1:0,validate:CKEDITOR.dialog.validate.number(a.lang.table.invalidCellPadding),setup:function(a){this.setValue(a.getAttribute("cellPadding")||"")},commit:function(a, +d){this.getValue()?d.setAttribute("cellPadding",this.getValue()):d.removeAttribute("cellPadding")}}]}]},{type:"html",align:"right",html:""},{type:"vbox",padding:0,children:[{type:"text",id:"txtCaption",requiredContent:"caption",label:a.lang.table.caption,setup:function(a){this.enable();a=a.getElementsByTag("caption");if(0 + + + + + + + +

+ diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/tmpFrameset.html b/data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/tmpFrameset.html new file mode 100644 index 0000000..19c7c9c --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/tmpFrameset.html @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/wsc.css b/data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/wsc.css new file mode 100644 index 0000000..2a622f2 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/wsc.css @@ -0,0 +1,82 @@ +/* +Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +html, body +{ + background-color: transparent; + margin: 0px; + padding: 0px; +} + +body +{ + padding: 10px; +} + +body, td, input, select, textarea +{ + font-size: 11px; + font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; +} + +.midtext +{ + padding:0px; + margin:10px; +} + +.midtext p +{ + padding:0px; + margin:10px; +} + +.Button +{ + border: #737357 1px solid; + color: #3b3b1f; + background-color: #c7c78f; +} + +.PopupTabArea +{ + color: #737357; + background-color: #e3e3c7; +} + +.PopupTitleBorder +{ + border-bottom: #d5d59d 1px solid; +} +.PopupTabEmptyArea +{ + padding-left: 10px; + border-bottom: #d5d59d 1px solid; +} + +.PopupTab, .PopupTabSelected +{ + border-right: #d5d59d 1px solid; + border-top: #d5d59d 1px solid; + border-left: #d5d59d 1px solid; + padding: 3px 5px 3px 5px; + color: #737357; +} + +.PopupTab +{ + margin-top: 1px; + border-bottom: #d5d59d 1px solid; + cursor: pointer; +} + +.PopupTabSelected +{ + font-weight: bold; + cursor: default; + padding-top: 4px; + border-bottom: #f1f1e3 1px solid; + background-color: #f1f1e3; +} diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/wsc.js b/data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/wsc.js new file mode 100644 index 0000000..5ef1d39 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/wsc/dialogs/wsc.js @@ -0,0 +1,92 @@ +/* + Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.html or http://ckeditor.com/license +*/ +(function(){function z(a){return a&&a.domId&&a.getInputElement().$?a.getInputElement():a&&a.$?a:!1}function I(a){if(!a)throw"Languages-by-groups list are required for construct selectbox";var c=[],e="",d;for(d in a)for(var f in a[d]){var h=a[d][f];"en_US"==h?e=h:c.push(h)}c.sort();e&&c.unshift(e);return{getCurrentLangGroup:function(c){a:{for(var d in a)for(var e in a[d])if(e.toUpperCase()===c.toUpperCase()){c=d;break a}c=""}return c},setLangList:function(){var c={},d;for(d in a)for(var e in a[d])c[a[d][e]]= +e;return c}()}}var g=function(){var a=function(a,b,d){d=d||{};var f=d.expires;if("number"==typeof f&&f){var h=new Date;h.setTime(h.getTime()+1E3*f);f=d.expires=h}f&&f.toUTCString&&(d.expires=f.toUTCString());b=encodeURIComponent(b);a=a+"\x3d"+b;for(var k in d)b=d[k],a+="; "+k,!0!==b&&(a+="\x3d"+b);document.cookie=a};return{postMessage:{init:function(a){window.addEventListener?window.addEventListener("message",a,!1):window.attachEvent("onmessage",a)},send:function(a){var b=Object.prototype.toString, +d=a.fn||null,f=a.id||"",h=a.target||window,k=a.message||{id:f};a.message&&"[object Object]"==b.call(a.message)&&(a.message.id?a.message.id:a.message.id=f,k=a.message);a=window.JSON.stringify(k,d);h.postMessage(a,"*")},unbindHandler:function(a){window.removeEventListener?window.removeEventListener("message",a,!1):window.detachEvent("onmessage",a)}},hash:{create:function(){},parse:function(){}},cookie:{set:a,get:function(a){return(a=document.cookie.match(new RegExp("(?:^|; )"+a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, +"\\$1")+"\x3d([^;]*)")))?decodeURIComponent(a[1]):void 0},remove:function(c){a(c,"",{expires:-1})}},misc:{findFocusable:function(a){var b=null;a&&(b=a.find("a[href], area[href], input, select, textarea, button, *[tabindex], *[contenteditable]"));return b},isVisible:function(a){var b;(b=0===a.offsetWidth||0==a.offsetHeight)||(b="none"===(document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null).display:a.currentStyle?a.currentStyle.display:a.style.display)); +return!b},hasClass:function(a,b){return!(!a.className||!a.className.match(new RegExp("(\\s|^)"+b+"(\\s|$)")))}}}}(),a=a||{};a.TextAreaNumber=null;a.load=!0;a.cmd={SpellTab:"spell",Thesaurus:"thes",GrammTab:"grammar"};a.dialog=null;a.optionNode=null;a.selectNode=null;a.grammerSuggest=null;a.textNode={};a.iframeMain=null;a.dataTemp="";a.div_overlay=null;a.textNodeInfo={};a.selectNode={};a.selectNodeResponce={};a.langList=null;a.langSelectbox=null;a.banner="";a.show_grammar=null;a.div_overlay_no_check= +null;a.targetFromFrame={};a.onLoadOverlay=null;a.LocalizationComing={};a.OverlayPlace=null;a.sessionid="";a.LocalizationButton={ChangeTo_button:{instance:null,text:"Change to",localizationID:"ChangeTo"},ChangeAll:{instance:null,text:"Change All"},IgnoreWord:{instance:null,text:"Ignore word"},IgnoreAllWords:{instance:null,text:"Ignore all words"},Options:{instance:null,text:"Options",optionsDialog:{instance:null}},AddWord:{instance:null,text:"Add word"},FinishChecking_button:{instance:null,text:"Finish Checking", +localizationID:"FinishChecking"},FinishChecking_button_block:{instance:null,text:"Finish Checking",localizationID:"FinishChecking"}};a.LocalizationLabel={ChangeTo_label:{instance:null,text:"Change to",localizationID:"ChangeTo"},Suggestions:{instance:null,text:"Suggestions"},Categories:{instance:null,text:"Categories"},Synonyms:{instance:null,text:"Synonyms"}};var J=function(b){var c,e,d;for(d in b)c=(c=a.dialog.getContentElement(a.dialog._.currentTabId,d))?c.getElement():b[d].instance.getElement().getFirst()|| +b[d].instance.getElement(),e=b[d].localizationID||d,c.setText(a.LocalizationComing[e])},K=function(b){var c,e,d;for(d in b)c=a.dialog.getContentElement(a.dialog._.currentTabId,d),c||(c=b[d].instance),c.setLabel&&(e=b[d].localizationID||d,c.setLabel(a.LocalizationComing[e]+":"))},r,A;a.framesetHtml=function(b){return"\x3ciframe id\x3d"+a.iframeNumber+"_"+b+' frameborder\x3d"0" allowtransparency\x3d"1" style\x3d"width:100%;border: 1px solid #AEB3B9;overflow: auto;background:#fff; border-radius: 3px;"\x3e\x3c/iframe\x3e'}; +a.setIframe=function(b,c){var e;e=a.framesetHtml(c);var d=a.iframeNumber+"_"+c;b.getElement().setHtml(e);e=document.getElementById(d);e=e.contentWindow?e.contentWindow:e.contentDocument.document?e.contentDocument.document:e.contentDocument;e.document.open();e.document.write('\x3c!DOCTYPE html\x3e\x3chtml\x3e\x3chead\x3e\x3cmeta charset\x3d"UTF-8"\x3e\x3ctitle\x3eiframe\x3c/title\x3e\x3cstyle\x3ehtml,body{margin: 0;height: 100%;font: 13px/1.555 "Trebuchet MS", sans-serif;}a{color: #888;font-weight: bold;text-decoration: none;border-bottom: 1px solid #888;}.main-box {color:#252525;padding: 3px 5px;text-align: justify;}.main-box p{margin: 0 0 14px;}.main-box .cerr{color: #f00000;border-bottom-color: #f00000;}\x3c/style\x3e\x3c/head\x3e\x3cbody\x3e\x3cdiv id\x3d"content" class\x3d"main-box"\x3e\x3c/div\x3e\x3ciframe src\x3d"" frameborder\x3d"0" id\x3d"spelltext" name\x3d"spelltext" style\x3d"display:none; width: 100%" \x3e\x3c/iframe\x3e\x3ciframe src\x3d"" frameborder\x3d"0" id\x3d"loadsuggestfirst" name\x3d"loadsuggestfirst" style\x3d"display:none; width: 100%" \x3e\x3c/iframe\x3e\x3ciframe src\x3d"" frameborder\x3d"0" id\x3d"loadspellsuggestall" name\x3d"loadspellsuggestall" style\x3d"display:none; width: 100%" \x3e\x3c/iframe\x3e\x3ciframe src\x3d"" frameborder\x3d"0" id\x3d"loadOptionsForm" name\x3d"loadOptionsForm" style\x3d"display:none; width: 100%" \x3e\x3c/iframe\x3e\x3cscript\x3e(function(window) {var ManagerPostMessage \x3d function() {var _init \x3d function(handler) {if (document.addEventListener) {window.addEventListener("message", handler, false);} else {window.attachEvent("onmessage", handler);};};var _sendCmd \x3d function(o) {var str,type \x3d Object.prototype.toString,fn \x3d o.fn || null,id \x3d o.id || "",target \x3d o.target || window,message \x3d o.message || { "id": id };if (o.message \x26\x26 type.call(o.message) \x3d\x3d "[object Object]") {(o.message["id"]) ? o.message["id"] : o.message["id"] \x3d id;message \x3d o.message;};str \x3d JSON.stringify(message, fn);target.postMessage(str, "*");};return {init: _init,send: _sendCmd};};var manageMessageTmp \x3d new ManagerPostMessage;var appString \x3d (function(){var spell \x3d parent.CKEDITOR.config.wsc.DefaultParams.scriptPath;var serverUrl \x3d parent.CKEDITOR.config.wsc.DefaultParams.serviceHost;return serverUrl + spell;})();function loadScript(src, callback) {var scriptTag \x3d document.createElement("script");scriptTag.type \x3d "text/javascript";callback ? callback : callback \x3d function() {};if(scriptTag.readyState) {scriptTag.onreadystatechange \x3d function() {if (scriptTag.readyState \x3d\x3d "loaded" ||scriptTag.readyState \x3d\x3d "complete") {scriptTag.onreadystatechange \x3d null;setTimeout(function(){scriptTag.parentNode.removeChild(scriptTag)},1);callback();}};}else{scriptTag.onload \x3d function() {setTimeout(function(){scriptTag.parentNode.removeChild(scriptTag)},1);callback();};};scriptTag.src \x3d src;document.getElementsByTagName("head")[0].appendChild(scriptTag);};window.onload \x3d function(){loadScript(appString, function(){manageMessageTmp.send({"id": "iframeOnload","target": window.parent});});}})(this);\x3c/script\x3e\x3c/body\x3e\x3c/html\x3e'); +e.document.close()};a.setCurrentIframe=function(b){a.setIframe(a.dialog._.contents[b].Content,b)};a.setHeightBannerFrame=function(){var b=a.dialog.getContentElement("SpellTab","banner").getElement(),c=a.dialog.getContentElement("GrammTab","banner").getElement(),e=a.dialog.getContentElement("Thesaurus","banner").getElement();b.setStyle("height","90px");c.setStyle("height","90px");e.setStyle("height","90px")};a.setHeightFrame=function(){document.getElementById(a.iframeNumber+"_"+a.dialog._.currentTabId).style.height= +"240px"};a.sendData=function(b){var c=b._.currentTabId,e=b._.contents[c].Content,d,f;a.previousTab=c;a.setIframe(e,c);var h=function(h){c=b._.currentTabId;h=h||window.event;h.data.getTarget().is("a")&&c!==a.previousTab&&(a.previousTab=c,e=b._.contents[c].Content,d=a.iframeNumber+"_"+c,a.div_overlay.setEnable(),e.getElement().getChildCount()?E(a.targetFromFrame[d],a.cmd[c]):(a.setIframe(e,c),f=document.getElementById(d),a.targetFromFrame[d]=f.contentWindow))};b.parts.tabs.removeListener("click",h); +b.parts.tabs.on("click",h)};a.buildSelectLang=function(a){var c=new CKEDITOR.dom.element("div"),e=new CKEDITOR.dom.element("select");a="wscLang"+a;c.addClass("cke_dialog_ui_input_select");c.setAttribute("role","presentation");c.setStyles({height:"auto",position:"absolute",right:"0",top:"-1px",width:"160px","white-space":"normal"});e.setAttribute("id",a);e.addClass("cke_dialog_ui_input_select");e.setStyles({width:"160px"});c.append(e);return c};a.buildOptionLang=function(b,c){var e=document.getElementById("wscLang"+ +c),d=document.createDocumentFragment(),f,h,k=[];if(0===e.options.length){for(f in b)k.push([f,b[f]]);k.sort();for(var p=0;pm.width-D&&(e=m.width-D);if(gm.height-q&&(g=m.height-q);n.width=e+D;n.height=g+q;a._.fromResizeEvent=!1;a.resize(e,g);setTimeout(function(){a._.fromResizeEvent=!1;CKEDITOR.dialog.fire("resize",{dialog:a,width:e,height:g},b)},300)}a._.moved||(q=isNaN(c)&&isNaN(d)?0:1,isNaN(c)&&(c=(m.width-n.width)/2),0>c&&(c=0),c>m.width-n.width&&(c=m.width-n.width),isNaN(d)&&(d=(m.height-n.height)/2),0>d&&(d=0),d>m.height-n.height&&(d=m.height-n.height),a.move(c, +d,q))}function e(){b.wsc={};(function(a){var b={separator:"\x3c$\x3e",getDataType:function(a){return"undefined"===typeof a?"undefined":null===a?"null":Object.prototype.toString.call(a).slice(8,-1)},convertDataToString:function(a){return this.getDataType(a).toLowerCase()+this.separator+a},restoreDataFromString:function(a){var b=a,c;a=this.backCompatibility(a);if("string"===typeof a)switch(b=a.indexOf(this.separator),c=a.substring(0,b),b=a.substring(b+this.separator.length),c){case "boolean":b="true"=== +b;break;case "number":b=parseFloat(b);break;case "array":b=""===b?[]:b.split(",");break;case "null":b=null;break;case "undefined":b=void 0}return b},backCompatibility:function(a){var b=a,c;"string"===typeof a&&(c=a.indexOf(this.separator),0>c&&(b=parseFloat(a),isNaN(b)&&("["===a[0]&&"]"===a[a.length-1]?(a=a.replace("[",""),a=a.replace("]",""),b=""===a?[]:a.split(",")):b="true"===a||"false"===a?"true"===a:a),b=this.convertDataToString(b)));return b}},c={get:function(a){return b.restoreDataFromString(window.localStorage.getItem(a))}, +set:function(a,c){var d=b.convertDataToString(c);window.localStorage.setItem(a,d)},del:function(a){window.localStorage.removeItem(a)},clear:function(){window.localStorage.clear()}},d={expiration:31622400,get:function(a){return b.restoreDataFromString(this.getCookie(a))},set:function(a,c){var d=b.convertDataToString(c);this.setCookie(a,d,{expires:this.expiration})},del:function(a){this.deleteCookie(a)},getCookie:function(a){return(a=document.cookie.match(new RegExp("(?:^|; )"+a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, +"\\$1")+"\x3d([^;]*)")))?decodeURIComponent(a[1]):void 0},setCookie:function(a,b,c){c=c||{};var d=c.expires;if("number"===typeof d&&d){var e=new Date;e.setTime(e.getTime()+1E3*d);d=c.expires=e}d&&d.toUTCString&&(c.expires=d.toUTCString());b=encodeURIComponent(b);a=a+"\x3d"+b;for(var h in c)b=c[h],a+="; "+h,!0!==b&&(a+="\x3d"+b);document.cookie=a},deleteCookie:function(a){this.setCookie(a,null,{expires:-1})},clear:function(){for(var a=document.cookie.split(";"),b=0;b