glib-web 0.5.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/.eslintrc.js +37 -0
  2. package/LICENSE +201 -0
  3. package/README.md +33 -0
  4. package/action.js +167 -0
  5. package/actions/analytics/logEvent.js +26 -0
  6. package/actions/auth/creditCard.js +29 -0
  7. package/actions/auth/restart.js +5 -0
  8. package/actions/auth/saveCsrfToken.js +12 -0
  9. package/actions/cables/push.js +38 -0
  10. package/actions/dialogs/alert.js +15 -0
  11. package/actions/dialogs/close.js +7 -0
  12. package/actions/dialogs/notification.js +14 -0
  13. package/actions/dialogs/oauth.js +6 -0
  14. package/actions/dialogs/open.js +7 -0
  15. package/actions/dialogs/options.js +5 -0
  16. package/actions/dialogs/show.js +5 -0
  17. package/actions/forms/submit.js +15 -0
  18. package/actions/http/delete.js +7 -0
  19. package/actions/http/patch.js +7 -0
  20. package/actions/http/post.js +7 -0
  21. package/actions/http/put.js +7 -0
  22. package/actions/panels/scrollTo.js +18 -0
  23. package/actions/panels/scrollToBottom.js +11 -0
  24. package/actions/runMultiple.js +11 -0
  25. package/actions/sheets/select.js +5 -0
  26. package/actions/snackbars/alert.js +15 -0
  27. package/actions/snackbars/select.js +5 -0
  28. package/actions/timeouts/set.js +20 -0
  29. package/actions/windows/close.js +13 -0
  30. package/actions/windows/closeAll.js +16 -0
  31. package/actions/windows/closeWithReload.js +18 -0
  32. package/actions/windows/open.js +5 -0
  33. package/actions/windows/openWeb.js +5 -0
  34. package/actions/windows/refreshState.js +5 -0
  35. package/actions/windows/reload.js +24 -0
  36. package/actions/ws/push.js +35 -0
  37. package/app.vue +180 -0
  38. package/components/_button.vue +101 -0
  39. package/components/_dropdownMenu.vue +76 -0
  40. package/components/_icon.vue +50 -0
  41. package/components/_message.vue +25 -0
  42. package/components/avatar.vue +16 -0
  43. package/components/banners/alert.vue +49 -0
  44. package/components/banners/select.vue +82 -0
  45. package/components/button.vue +13 -0
  46. package/components/calendar.vue +105 -0
  47. package/components/charts/column.vue +26 -0
  48. package/components/charts/line.vue +61 -0
  49. package/components/chip.vue +24 -0
  50. package/components/component.vue +222 -0
  51. package/components/datetime.vue +54 -0
  52. package/components/fab.vue +33 -0
  53. package/components/fields/_patternText.vue +61 -0
  54. package/components/fields/_select.vue +86 -0
  55. package/components/fields/autocomplete.vue +73 -0
  56. package/components/fields/check.vue +104 -0
  57. package/components/fields/checkGroup.vue +51 -0
  58. package/components/fields/country/countries.js +251 -0
  59. package/components/fields/country/field.vue +81 -0
  60. package/components/fields/country/regions.js +12 -0
  61. package/components/fields/creditCard.vue +105 -0
  62. package/components/fields/date.vue +24 -0
  63. package/components/fields/datetime.vue +49 -0
  64. package/components/fields/dynamicGroup.vue +106 -0
  65. package/components/fields/dynamicSelect.vue +173 -0
  66. package/components/fields/file.vue +166 -0
  67. package/components/fields/googlePlace.vue +158 -0
  68. package/components/fields/hidden.vue +18 -0
  69. package/components/fields/location.vue +223 -0
  70. package/components/fields/newRichText.vue +191 -0
  71. package/components/fields/phone/countries.js +315 -0
  72. package/components/fields/phone/field.vue +348 -0
  73. package/components/fields/phone/sprite.css +1071 -0
  74. package/components/fields/radio.vue +64 -0
  75. package/components/fields/radioGroup.vue +93 -0
  76. package/components/fields/rating.vue +26 -0
  77. package/components/fields/richText.vue +172 -0
  78. package/components/fields/select.vue +17 -0
  79. package/components/fields/stripe/stripeFields.vue +93 -0
  80. package/components/fields/stripe/stripeIndividualFields.vue +207 -0
  81. package/components/fields/stripeExternalAccount.vue +135 -0
  82. package/components/fields/stripeToken.vue +59 -0
  83. package/components/fields/submit.vue +23 -0
  84. package/components/fields/text.vue +144 -0
  85. package/components/fields/textarea.vue +59 -0
  86. package/components/fields/timeZone.vue +22 -0
  87. package/components/fields/timer.vue +83 -0
  88. package/components/h1.vue +28 -0
  89. package/components/h2.vue +20 -0
  90. package/components/h3.vue +22 -0
  91. package/components/h4.vue +20 -0
  92. package/components/h5.vue +20 -0
  93. package/components/h6.vue +20 -0
  94. package/components/hr.vue +13 -0
  95. package/components/html.vue +13 -0
  96. package/components/icon.vue +25 -0
  97. package/components/image.vue +87 -0
  98. package/components/label.vue +62 -0
  99. package/components/map.vue +206 -0
  100. package/components/markdown.vue +52 -0
  101. package/components/mixins/events.js +178 -0
  102. package/components/mixins/generic.js +58 -0
  103. package/components/mixins/list/autoload.js +144 -0
  104. package/components/mixins/longClick.js +56 -0
  105. package/components/mixins/scrolling.js +35 -0
  106. package/components/mixins/styles.js +221 -0
  107. package/components/mixins/table/autoload.js +131 -0
  108. package/components/mixins/table/export.js +52 -0
  109. package/components/mixins/table/import.js +106 -0
  110. package/components/mixins/text.js +20 -0
  111. package/components/mixins/ws/actionCable.js +48 -0
  112. package/components/mixins/ws/phoenixSocket.js +117 -0
  113. package/components/p.vue +36 -0
  114. package/components/panels/carousel.vue +55 -0
  115. package/components/panels/column.vue +117 -0
  116. package/components/panels/custom.vue +52 -0
  117. package/components/panels/flow.vue +81 -0
  118. package/components/panels/form.vue +126 -0
  119. package/components/panels/horizontal.vue +73 -0
  120. package/components/panels/list.vue +241 -0
  121. package/components/panels/responsive.vue +88 -0
  122. package/components/panels/scroll.vue +68 -0
  123. package/components/panels/split.vue +52 -0
  124. package/components/panels/table.vue +234 -0
  125. package/components/panels/ul.vue +34 -0
  126. package/components/panels/vertical.vue +71 -0
  127. package/components/panels/web.vue +11 -0
  128. package/components/spacer.vue +11 -0
  129. package/components/switch.vue +42 -0
  130. package/components/tabBar.vue +44 -0
  131. package/extensions/array.js +20 -0
  132. package/extensions/string.js +21 -0
  133. package/index.js +195 -0
  134. package/keys.js +12 -0
  135. package/nav/appbar.vue +117 -0
  136. package/nav/content.vue +40 -0
  137. package/nav/dialog.vue +127 -0
  138. package/nav/drawer.vue +88 -0
  139. package/nav/drawerButton.vue +28 -0
  140. package/nav/drawerLabel.vue +21 -0
  141. package/nav/sheet.vue +57 -0
  142. package/nav/snackbar.vue +72 -0
  143. package/package.json +42 -0
  144. package/settings.json.example +21 -0
  145. package/static/plugins/alignment/alignment.js +76 -0
  146. package/static/plugins/alignment/alignment.min.js +1 -0
  147. package/static/plugins/beyondgrammar/beyondgrammar.js +46 -0
  148. package/static/plugins/beyondgrammar/beyondgrammar.min.js +1 -0
  149. package/static/plugins/blockcode/blockcode.js +110 -0
  150. package/static/plugins/blockcode/blockcode.min.js +1 -0
  151. package/static/plugins/clips/clips.js +44 -0
  152. package/static/plugins/clips/clips.min.js +1 -0
  153. package/static/plugins/counter/counter.js +60 -0
  154. package/static/plugins/counter/counter.min.js +1 -0
  155. package/static/plugins/definedlinks/definedlinks.js +64 -0
  156. package/static/plugins/definedlinks/definedlinks.min.js +1 -0
  157. package/static/plugins/handle/handle.js +173 -0
  158. package/static/plugins/handle/handle.min.js +1 -0
  159. package/static/plugins/icons/icons.js +72 -0
  160. package/static/plugins/icons/icons.min.js +1 -0
  161. package/static/plugins/imageposition/imageposition.js +85 -0
  162. package/static/plugins/imageposition/imageposition.min.js +1 -0
  163. package/static/plugins/inlineformat/inlineformat.js +85 -0
  164. package/static/plugins/inlineformat/inlineformat.min.js +1 -0
  165. package/static/plugins/removeformat/removeformat.js +28 -0
  166. package/static/plugins/removeformat/removeformat.min.js +1 -0
  167. package/static/plugins/selector/selector.js +96 -0
  168. package/static/plugins/selector/selector.min.js +1 -0
  169. package/static/plugins/specialchars/specialchars.js +63 -0
  170. package/static/plugins/specialchars/specialchars.min.js +1 -0
  171. package/static/plugins/textdirection/textdirection.js +55 -0
  172. package/static/plugins/textdirection/textdirection.min.js +1 -0
  173. package/static/plugins/textexpander/textexpander.js +46 -0
  174. package/static/plugins/textexpander/textexpander.min.js +1 -0
  175. package/static/plugins/underline/underline.js +27 -0
  176. package/static/plugins/underline/underline.min.js +1 -0
  177. package/static/redactorx.css +1344 -0
  178. package/static/redactorx.js +14254 -0
  179. package/static/redactorx.min.css +1 -0
  180. package/static/redactorx.min.js +1 -0
  181. package/static/redactorx.usm.min.js +2 -0
  182. package/styles/test.sass +3 -0
  183. package/styles/test.scss +5 -0
  184. package/templates/_menu.vue +38 -0
  185. package/templates/comment.vue +202 -0
  186. package/templates/featured.vue +32 -0
  187. package/templates/thumbnail.vue +138 -0
  188. package/templates/unsupported.vue +12 -0
  189. package/utils/app.js +14 -0
  190. package/utils/dom.js +13 -0
  191. package/utils/form.js +34 -0
  192. package/utils/format.js +14 -0
  193. package/utils/hash.js +29 -0
  194. package/utils/helper.js +44 -0
  195. package/utils/history.js +70 -0
  196. package/utils/http.js +209 -0
  197. package/utils/launch.js +135 -0
  198. package/utils/private/ws.js +22 -0
  199. package/utils/public.js +23 -0
  200. package/utils/settings.js +48 -0
  201. package/utils/storage.js +9 -0
  202. package/utils/type.js +69 -0
  203. package/utils/uploader.js +121 -0
  204. package/utils/url.js +132 -0
@@ -0,0 +1,72 @@
1
+ RedactorX.add('plugin', 'icons', {
2
+ translations: {
3
+ en: {
4
+ "icons": {
5
+ "icons": "Icons"
6
+ }
7
+ }
8
+ },
9
+ defaults: {
10
+ icon: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m4.83610557 5.032-3.97464639.56135882-.11503066.02273502c-.74344369.19074743-1.01211485 1.14559722-.43257233 1.69388798l2.85824938 2.70401818-.67299733 3.8119764-.01354998.1096265c-.05329246.7582459.7508858 1.3132977 1.45280081.9551391l3.5617465-1.818742 3.56345043 1.8187308.1008624.0450315c.7094575.2728097 1.4755032-.3337453 1.3384209-1.1097256l-.6737337-3.8120367 2.8592493-2.70401818.0806168-.08514687c.4956567-.58602276.1617639-1.52007291-.6282281-1.63147731l-3.976638-.56135764-1.7716142-3.48521534c-.37065902-.72902616-1.41208515-.72905169-1.78277991-.0000437zm2.664-.826 1.11796025 2.19736628.06151847.10474119c.15723483.23391009.4074375.39236473.69024457.43224609l2.43527674.34264644-1.741257 1.6488901-.08529699.09144393c-.18419657.22405591-.26337869.51926707-.2122058.80894091l.41775979 2.36372506-2.22848404-1.1365651-.1252676-.0535184c-.25574273-.0891979-.53905484-.0713624-.78377298.0535073l-2.22947541 1.1365762.4187491-2.36366475.01403221-.12426844c.0144621-.28970819-.09782698-.57400297-.31152431-.77617671l-1.742257-1.6488901 2.43601084-.34264762c.3231876-.04557858.60379519-.24600908.75173246-.53694239z"/></svg>',
11
+ items: [
12
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.5 7.98901099c0-1.34799209.21516178-2.34981357.6454918-3.00549451.43033002-.65568093 1.04849324-.98351648 1.8545082-.98351648.86066004 0 1.49248432.32417258 1.8954918.97252747.4030075.64835489.6045082 1.65383934.6045082 3.01648352 0 1.35531813-.2168694 2.36263411-.65061475 3.02197801-.43374534.659344-1.05361619.989011-1.85963115.989011-.85382941 0-1.48223842-.3461504-1.8852459-1.0384615-.40300748-.6923112-.6045082-1.68314377-.6045082-2.97252751zm1.33196721 0c0 .89377736.09050456 1.58424665.2715164 2.07142861.18101183.4871819.47984764.7307692.89651639.7307692.40300748 0 .69842802-.223441.88627049-.6703297.18784247-.44688866.2817623-1.15750426.2817623-2.13186811 0-.88645132-.08879693-1.57142615-.26639345-2.05494506-.17759651-.4835189-.48155522-.72527472-.91188524-.72527472-.40983812 0-.70525866.22710395-.88627049.68131868-.18101184.45421473-.2715164 1.15384143-.2715164 2.0989011z"/></g></svg>',
13
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.93478261 10.7640449h1.59038901v-4.4382022l.17162472-.76404495-.54919909.66292135-1.01830663.68539326-.62929062-.84269663 2.60869565-2.06741573h.83524028v6.7640449h1.55606407v1.2359551h-4.56521739z"/></g></svg>',
14
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m10.3218527 6.07282913c0 .38095429-.0732376.76563765-.2197149 1.15406163-.14647741.38842397-.33254047.76937255-.55819481 1.14285714-.22565433.37348459-.47505801.73389182-.74821852 1.08123249-.27316052.34734067-.54037875.66666521-.80166271.95798321l-.62945368.4593837v.0560224l.85510688-.1568627h2.28028504v1.232493h-5v-.7507003c.1900247-.1867423.40379929-.4052275.64133017-.6554622.23753088-.2502346.47703759-.5154047.71852731-.79551817.24148973-.28011345.47703765-.56955967.70665083-.86834734.22961319-.29878768.43547019-.59943826.6175772-.90196079.18210701-.30252252.32660279-.59570352.43349169-.87955182.10688889-.28384829.16033254-.55275316.16033254-.80672269 0-.30625736-.09303153-.55835568-.27909739-.75630252-.18606585-.19794683-.4809956-.29691876-.8847981-.29691876-.25336627 0-.51266692.05041966-.77790974.1512605-.26524281.10084084-.48891437.22969109-.67102137.38655462l-.6175772-1.03081232c.30879014-.23903014.65914293-.43137182 1.05106888-.57703082.39192595-.14565899.85312482-.21848739 1.38361045-.21848739.34046093 0 .65320523.04481748.93824228.13445378.28503706.0896363.53048195.22035395.73634205.39215686.20586009.17180292.3681704.38655334.4869359.64425771.1187654.25770437.1781472.55835496.1781472.90196078z"/></g></svg>',
15
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m7.44047619 10.767507c.49206595 0 .8670622-.1232481 1.125-.3697479s.38690476-.54528302.38690476-.89635854c0-.42577244-.13491928-.73949479-.4047619-.94117647s-.69444155-.30252101-1.27380953-.30252101h-.85714285v-.77310924l1.44047619-1.8487395.67857143-.50420168-.94047619.10084034h-2v-1.232493h4.547619v.79551821l-1.67857139 2.11764706-.52380952.302521v.05602241l.5-.06722689c.27777917.02240908.54166542.08216572.79166667.17927171.25000125.097106.46825303.23716062.6547619.42016807.18650884.18300745.33531694.40896224.44642854.67787115.1111117.2689089.1666667.57889647.1666667.92997199 0 .44071182-.0773802.82166039-.2321429 1.14285709-.1547626.3211968-.36904621.5901017-.6428571.8067227-.27381089.2166211-.59325214.3772171-.95833333.4817928-.36508119.1045756-.75793441.1568627-1.17857143.1568627-.3492081 0-.7103156-.0298783-1.08333334-.0896359-.37301773-.0597575-.67460202-.1456577-.9047619-.257703l.41666667-1.2100841c.20635023.097106.43452256.1755366.68452381.2352941.25000125.0597576.52976035.0896359.83928571.0896359z"/></g></svg>',
16
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m10.5 9.78723404h-1.23595506v2.21276596h-1.35955056v-2.21276596h-3.40449438v-.83971631l3.56179775-4.94751773h1.20224719v4.6070922h1.23595506zm-2.59550562-2.91631205.1011236-.95319149h-.04494382l-.38202247.81702127-1.16853933 1.5319149-.56179775.43120567.71910112-.09078014h1.33707865z"/></g></svg>',
17
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m7.31818182 10.7114846c.52631842 0 .92902572-.1195133 1.20813397-.3585434.27910825-.2390302.41866029-.56769168.41866029-.98599442 0-.44818151-.16347524-.77684303-.49043063-.9859944-.32695538-.20915137-.79345789-.31372549-1.39952153-.31372549l-.94497607.03361345v-4.10084034h4.11483255v1.36694678h-2.77511963v1.51260504l.49043062-.04481793c.39075155.01493939.74361884.08216561 1.05861244.20168068s.58412966.28571322.80741627.49859944c.2232866.21288621.3947362.47058672.5143541.77310924.1196178.30252252.1794258.64052101.1794258 1.0140056 0 .44071182-.079744.82912995-.2392344 1.16526615-.1594905.3361361-.38078013.6162453-.66387565.8403361-.28309551.2240907-.61602679.3921563-.99880383.5042017-.38277703.1120454-.80143313.1680672-1.25598086.1680672-.35885347 0-.69975915-.0280109-1.02272727-.0840336s-.59609139-.1325859-.81937799-.2296919l.41866029-1.210084c.18341399.0746969.38476764.1325861.60406698.1736694s.48444821.0616247.79545455.0616247z"/></g></svg>',
18
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m10.5 9.46153846c0 .35897616-.0587601.69230614-.1762821 1.00000004-.1175219.3076938-.2831185.5750904-.49679482.8021978-.21367629.2271073-.47186459.4065927-.77457265.5384615-.30270807.1318688-.63568195.1978022-.99893163.1978022-.37037222 0-.71046853-.060439-1.02029914-.1813187s-.57870257-.3021966-.80662393-.543956c-.22792137-.2417595-.40598227-.5457857-.53418804-.9120879-.12820577-.36630224-.19230769-.79120641-.19230769-1.27472531 0-.72527835.10149471-1.38094945.30448718-1.96703297s.47720625-1.09706742.82264957-1.53296703c.34544332-.43589962.74786095-.78754445 1.20726496-1.05494506.45940401-.2674006.94551026-.4450545 1.45833333-.53296703l.30982906 1.13186813c-.35612713.05860835-.68375919.17216033-.98290598.34065934-.2991468.16849901-.56445753.3699622-.79594017.60439561-.23148264.2344334-.42734963.49633555-.58760684.78571428-.16025721.28937874-.27243558.58791055-.33653846.8956044.14245085-.1831511.32763419-.3388272.55555556-.46703297.22792136-.12820577.5128188-.19230769.85470085-.19230769.32051442 0 .61609551.05128154.88675214.15384615.27065662.10256462.50213579.25457775.69444444.45604396.19230866.20146621.34187976.44871648.44871796.74175824.1068381.29304176.1602564.63003473.1602564 1.01098901zm-1.34615385.07692308c0-.82051692-.39173397-1.23076923-1.17521367-1.23076923-.28490171 0-.52528392.0659334-.72115385.1978022-.19586992.13186879-.33297681.2857134-.41132478.46153846-.01424509.08058648-.02136753.15018285-.02136753.20879121v.17582417c0 .17582506.02492853.34981599.07478633.52197802s.12286277.32600663.21901709.46153843c.09615433.1355318.21901635.2454209.36858975.3296704.14957339.0842495.32763429.1263736.53418803.1263736.33475951 0 .60719268-.117215.81730769-.3516484s.31517094-.53479666.31517094-.90109886z"/></g></svg>',
19
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.98780488 12 2.53880266-6.16.48780488-.56-.66518847.11428571h-2.84922395v-1.39428571h5v.43428571l-3.10421286 7.56571429z"/></g></svg>',
20
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.5 9.96703297c0-.25641154.03363195-.48534698.10089686-.68681319s.16255544-.38461456.28587444-.54945055.26905746-.31318615.43721973-.44505494c.16816228-.1318688.34940112-.25274671.54372197-.36263737-.36622006-.22710736-.65396009-.4890095-.8632287-.78571428-.2092686-.29670478-.31390134-.66483297-.31390134-1.10439561 0-.28571571.05418481-.5531123.16255605-.8021978.10837125-.24908549.26532035-.46520055.47085202-.64835165s.45403442-.32600681.7455157-.42857143c.29148127-.10256461.62032701-.15384615.98654708-.15384615.33632455 0 .64274899.0439556.91928251.13186813s.51382562.21245341.71188341.37362638c.19805779.16117296.35126997.3571417.45964127.58791208.1083712.23077039.162556.4853466.162556.76373627 0 .43223659-.0990274.79853329-.2970852 1.0989011-.19805775.3003678-.48766622.57509033-.86883404.82417582.44843273.25641154.78662068.53846 1.01457394.84615385.2279534.30769384.3419283.70329428.3419283 1.18681318 0 .32967199-.0616586.62820379-.1849776.89560439s-.2970841.4963361-.52130043.6868132c-.22421636.1904771-.49327197.3388273-.80717488.4450549-.31390292.1062277-.65769619.1593407-1.03139014.1593407s-.71188189-.0494501-1.01457399-.1483516c-.3026921-.0989016-.56053705-.2362629-.7735426-.412088-.21300555-.175825-.37742842-.3882771-.49327354-.6373626-.11584513-.2490855-.17376682-.527471-.17376682-.83516483zm3.60986547-.14285715c0-.16849901-.04110572-.32234362-.12331838-.46153846-.08221267-.13919483-.18871385-.2655672-.31950673-.37912088s-.27653134-.21794824-.43721973-.31318681c-.1606884-.09523857-.32324283-.18681275-.48766816-.27472527-.35127231.19780318-.59230129.41208675-.72309417.64285714-.13079289.23077038-.19618834.45970582-.19618834.68681319 0 .29304177.10276429.54395497.30829596.75274727.20553167.2087922.49140325.3131868.85762332.3131868.33632455 0 .6072486-.0805853.81278027-.2417583.20553167-.1611729.30829596-.4029287.30829596-.72527468zm-2.02914798-3.76923077c0 .17582506.03363195.32966968.10089686.46153847s.15881855.24725225.27466368.34615384c.11584512.0989016.24663604.19047577.39237668.27472528.14574064.0842495.29708442.16300329.45403587.23626373.44843274-.37362824.67264574-.78388055.67264574-1.23076923 0-.30769384-.09155364-.54029225-.27466367-.69780219-.18311004-.15750995-.4054546-.23626374-.66704036-.23626374-.32885068 0-.56987966.08424824-.72309417.25274725-.15321452.16849901-.22982063.36629923-.22982063.59340659z"/></g></svg>',
21
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.5 6.56043956c0-.37362824.05473109-.71794714.16419492-1.03296703.10946382-.31501989.26836054-.58424797.47669491-.80769231.20833438-.22344434.46256912-.39926676.76271186-.52747253.30014275-.12820577.64441897-.19230769 1.03283899-.19230769.79802659 0 1.42478586.24725027 1.88029661.74175824.45551071.49450797.68326271 1.21428099.68326271 2.15934066 0 .8498211-.1041656 1.58424599-.3125 2.2032967-.20833437.61905072-.48728639 1.1355291-.83686441 1.5494506-.34957802.4139214-.75388188.7307681-1.21292373.9505494-.45904184.2197813-.94279406.3516481-1.45127118.3956044l-.29661017-1.1208791c.38842002-.0512823.73446176-.1501824 1.03813559-.2967033.30367384-.1465209.56497066-.3278378.78389831-.5439561.21892765-.21611826.39724507-.46153705.53495762-.7362637.13771256-.27472665.23481611-.56959549.29131356-.88461538-.16949237.19047714-.35134083.32234395-.54555084.39560439s-.45374132.10989011-.7786017.10989011c-.26836292 0-.5349563-.04761857-.79978813-.14285714-.26483184-.09523857-.50141139-.23992577-.70974577-.43406593-.20833437-.19414017-.3778242-.43955896-.50847457-.73626374s-.19597458-.64651813-.19597458-1.04945055zm1.33474576-.07692308c0 .41758451.11299322.73259967.33898305.94505495.22598983.21245527.50847288.31868132.84745763.31868132.28954947 0 .52612903-.04761857.70974576-.14285715.18361674-.09523857.32485827-.21245351.42372882-.35164835.02118654-.15384692.03177966-.3003656.03177966-.43956044 0-.20512923-.02471727-.40659241-.07415254-.6043956-.04943528-.19780319-.1253526-.37362561-.22775424-.52747253s-.23305005-.27655632-.39194915-.36813187-.34780964-.13736263-.56673729-.13736263c-.34604693 0-.61440583.11538346-.80508475.34615384-.19067892.23077039-.28601695.55128-.28601695.96153846z"/></g></svg>',
22
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.5-8.01098901c0 1.28938374.20150072 2.28021631.6045082 2.97252751.40300748.6923111 1.03141649 1.0384615 1.8852459 1.0384615.80601496 0 1.42588581-.329667 1.85963115-.989011.43374535-.6593439.65061475-1.66665988.65061475-3.02197801 0-1.36264418-.2015007-2.36812863-.6045082-3.01648352-.40300748-.64835489-1.03483176-.97252747-1.8954918-.97252747-.80601496 0-1.42417818.32783555-1.8545082.98351648-.43033002.65568094-.6454918 1.65750242-.6454918 3.00549451zm1.33196721 0c0-.94505967.09050456-1.64468637.2715164-2.0989011.18101183-.45421473.47643237-.68131868.88627049-.68131868.43033002 0 .73428873.24175582.91188524.72527472.17759652.48351891.26639345 1.16849374.26639345 2.05494506 0 .97436385-.09391983 1.68497945-.2817623 2.13186811-.18784247.4468887-.48326301.6703297-.88627049.6703297-.41666875 0-.71550456-.2435873-.89651639-.7307692-.18101184-.48718196-.2715164-1.17765125-.2715164-2.07142861z"/></svg>',
23
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.06521739-5.2359551v1.2359551h4.56521739v-1.2359551h-1.55606407v-6.7640449h-.83524028l-2.60869565 2.06741573.62929062.84269663 1.01830663-.68539326.54919909-.66292135-.17162472.76404495v4.4382022z"/></svg>',
24
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm2.3218527-9.92717087c0-.34360582-.0593818-.64425641-.1781472-.90196078-.1187655-.25770437-.28107581-.47245479-.4869359-.64425771-.2058601-.17180291-.45130499-.30252056-.73634205-.39215686-.28503705-.0896363-.59778135-.13445378-.93824228-.13445378-.53048563 0-.9916845.0728284-1.38361045.21848739-.39192595.145659-.74227874.33800068-1.05106888.57703082l.6175772 1.03081232c.182107-.15686353.40577856-.28571378.67102137-.38655462.26524282-.10084084.52454347-.1512605.77790974-.1512605.4038025 0 .69873225.09897193.8847981.29691876.18606586.19794684.27909739.45004516.27909739.75630252 0 .25396953-.05344365.5228744-.16033254.80672269-.1068889.2838483-.25138468.5770293-.43349169.87955182-.18210701.30252253-.38796401.60317311-.6175772.90196079-.22961318.29878767-.4651611.58823389-.70665083.86834734-.24148972.28011347-.48099643.54528357-.71852731.79551817-.23753088.2502347-.45130547.4687199-.64133017.6554622v.7507003h5v-1.232493h-2.28028504l-.85510688.1568627v-.0560224l.62945368-.4593837c.26128396-.291318.52850219-.61064254.80166271-.95798321.27316051-.34734067.52256419-.7077479.74821852-1.08123249.22565434-.37348459.4117174-.75443317.55819481-1.14285714.1464773-.38842398.2197149-.77310734.2197149-1.15406163z"/></svg>',
25
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-.55952381-5.232493c-.30952536 0-.58928446-.0298783-.83928571-.0896359-.25000125-.0597575-.47817358-.1381881-.68452381-.2352941l-.41666667 1.2100841c.23015988.1120453.53174417.1979455.9047619.257703.37301774.0597576.73412524.0896359 1.08333334.0896359.42063702 0 .81349024-.0522871 1.17857143-.1568627.36508119-.1045757.68452244-.2651717.95833333-.4817928.27381089-.216621.4880945-.4855259.6428571-.8067227.1547627-.3211967.2321429-.70214527.2321429-1.14285709 0-.35107552-.055555-.66106309-.1666667-.92997199-.1111116-.26890891-.2599197-.4948637-.44642854-.67787115-.18650887-.18300745-.40476065-.32306207-.6547619-.42016807-.25000125-.09710599-.5138875-.15686263-.79166667-.17927171l-.5.06722689v-.05602241l.52380952-.302521 1.67857139-2.11764706v-.79551821h-4.547619v1.232493h2l.94047619-.10084034-.67857143.50420168-1.44047619 1.8487395v.77310924h.85714285c.57936798 0 1.00396691.10083933 1.27380953.30252101s.4047619.51540403.4047619.94117647c0 .35107552-.12896696.64985874-.38690476.89635854s-.63293405.3697479-1.125.3697479z"/></svg>',
26
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm2.5-6.21276596v-1.18014184h-1.23595506v-4.6070922h-1.20224719l-3.56179775 4.94751773v.83971631h3.40449438v2.21276596h1.35955056v-2.21276596zm-2.59550562-2.91631205v1.73617021h-1.33707865l-.71910112.09078014.56179775-.43120567 1.16853933-1.5319149.38202247-.81702127h.04494382z"/></svg>',
27
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-.68181818-5.2885154c-.31100634 0-.57615521-.0205414-.79545455-.0616247s-.42065299-.0989725-.60406698-.1736694l-.41866029 1.210084c.2232866.097106.49640987.1736692.81937799.2296919s.6638738.0840336 1.02272727.0840336c.45454773 0 .87320383-.0560218 1.25598086-.1680672.38277704-.1120454.71570832-.280111.99880383-.5042017.28309552-.2240908.50438515-.5042.66387565-.8403361.1594904-.3361362.2392344-.72455433.2392344-1.16526615 0-.37348459-.059808-.71148308-.1794258-1.0140056-.1196179-.30252252-.2910675-.56022303-.5143541-.77310924-.22328661-.21288622-.49242267-.37908437-.80741627-.49859944s-.66786089-.18674129-1.05861244-.20168068l-.49043062.04481793v-1.51260504h2.77511963v-1.36694678h-4.11483255v4.10084034l.94497607-.03361345c.60606364 0 1.07256615.10457412 1.39952153.31372549.32695539.20915137.49043063.53781289.49043063.9859944 0 .41830274-.13955204.74696422-.41866029.98599442-.27910825.2390301-.68181555.3585434-1.20813397.3585434z"/></svg>',
28
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm2.5-6.53846154c0-.38095428-.0534183-.71794725-.1602564-1.01098901-.1068382-.29304176-.2564093-.54029203-.44871796-.74175824-.19230865-.20146621-.42378782-.35347934-.69444444-.45604396-.27065663-.10256461-.56623772-.15384615-.88675214-.15384615-.34188205 0-.62677949.06410192-.85470085.19230769-.22792137.12820577-.41310471.28388187-.55555556.46703297.06410288-.30769385.17628125-.60622566.33653846-.8956044.16025721-.28937873.3561242-.55128088.58760684-.78571428.23148264-.23443341.49679337-.4358966.79594017-.60439561.29914679-.16849901.62677885-.28205099.98290598-.34065934l-.30982906-1.13186813c-.51282307.08791253-.99892932.26556643-1.45833333.53296703-.45940401.26740061-.86182164.61904544-1.20726496 1.05494506-.34544332.43589961-.6196571.94688351-.82264957 1.53296703s-.30448718 1.24175462-.30448718 1.96703297c0 .4835189.06410192.90842307.19230769 1.27472531.12820577.3663022.30626667.6703284.53418804.9120879.22792136.2417594.49679332.4230763.80662393.543956s.64992692.1813187 1.02029914.1813187c.36324968 0 .69622356-.0659334.99893163-.1978022.30270806-.1318688.56089636-.3113542.77457265-.5384615.21367632-.2271074.37927292-.494504.49679482-.8021978.117522-.3076939.1762821-.64102388.1762821-1.00000004zm-1.34615385.07692308c0 .3663022-.10505593.66666546-.31517094.90109886s-.48254818.3516484-.81730769.3516484c-.20655374 0-.38461464-.0421241-.53418803-.1263736-.1495734-.0842495-.27243542-.1941386-.36858975-.3296704-.09615432-.1355318-.16915929-.2893764-.21901709-.46153843s-.07478633-.34615296-.07478633-.52197802c0-.05860835 0-.11721582 0-.17582417 0-.05860836.00712244-.12820473.02136753-.20879121.07834797-.17582506.21545486-.32966967.41132478-.46153846.19586993-.1318688.43625214-.1978022.72115385-.1978022.7834797 0 1.17521367.41025231 1.17521367 1.23076923z"/></svg>',
29
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.01219512-4h1.40798226l3.10421286-7.56571429v-.43428571h-5v1.39428571h2.84922395l.66518847-.11428571-.48780488.56z"/></svg>',
30
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.5-6.03296703c0 .30769383.05792169.58607933.17376682.83516483.11584512.2490855.28026799.4615376.49327354.6373626.21300555.1758251.4708505.3131864.7735426.412088.3026921.0989015.64088004.1483516 1.01457399.1483516s.71748722-.053113 1.03139014-.1593407c.31390291-.1062276.58295852-.2545778.80717488-.4450549.22421633-.1904771.39798143-.4194126.52130043-.6868132s.1849776-.5659324.1849776-.89560439c0-.4835189-.1139749-.87911934-.3419283-1.18681318-.22795326-.30769385-.56614121-.58974231-1.01457394-.84615385.38116782-.24908549.67077629-.52380802.86883404-.82417582.1980578-.30036781.2970852-.66666451.2970852-1.0989011 0-.27838967-.0541848-.53296588-.162556-.76373627-.1083713-.23077038-.26158348-.42673912-.45964127-.58791208-.19805779-.16117297-.43534989-.28571385-.71188341-.37362638s-.58295796-.13186813-.91928251-.13186813c-.36622007 0-.69506581.05128154-.98654708.15384615-.29148128.10256462-.53998403.24542033-.7455157.42857143s-.36248077.39926616-.47085202.64835165c-.10837124.2490855-.16255605.51648209-.16255605.8021978 0 .43956264.10463274.80769083.31390134 1.10439561.20926861.29670478.49700864.55860692.8632287.78571428-.19432085.10989066-.37555969.23076857-.54372197.36263737-.16816227.13186879-.31390073.28021895-.43721973.44505494s-.21860953.34798434-.28587444.54945055-.10089686.43040165-.10089686.68681319zm3.60986547-.14285715c0 .32234598-.10276429.56410178-.30829596.72527468-.20553167.161173-.47645572.2417583-.81278027.2417583-.36622007 0-.65209165-.1043946-.85762332-.3131868-.20553167-.2087923-.30829596-.4597055-.30829596-.75274727 0-.22710737.06539545-.45604281.19618834-.68681319.13079288-.23077039.37182186-.44505396.72309417-.64285714.16442533.08791252.32697976.1794867.48766816.27472527.16068839.09523857.30642685.19963313.43721973.31318681s.23729406.23992605.31950673.37912088c.08221266.13919484.12331838.29303945.12331838.46153846zm-2.02914798-3.76923077c0-.22710736.07660611-.42490758.22982063-.59340659.15321451-.16849901.39424349-.25274725.72309417-.25274725.26158576 0 .48393032.07875379.66704036.23626374.18311003.15750994.27466367.39010835.27466367.69780219 0 .44688868-.224213.85714099-.67264574 1.23076923-.15695145-.07326044-.30829523-.15201423-.45403587-.23626373-.14574064-.08424951-.27653156-.17582368-.39237668-.27472528-.11584513-.09890159-.20739877-.21428505-.27466368-.34615384s-.10089686-.28571341-.10089686-.46153847z"/></svg>',
31
+ '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.5-9.43956044c0 .40293242.06532421.75274577.19597458 1.04945055s.3001402.54212357.50847457.73626374c.20833438.19414016.44491393.33882736.70974577.43406593.26483183.09523857.53142521.14285714.79978813.14285714.32486038 0 .58439169-.03662967.7786017-.10989011s.37605847-.20512725.54555084-.39560439c-.05649745.31501989-.153601.60988873-.29131356.88461538-.13771255.27472665-.31602997.52014544-.53495762.7362637-.21892765.2161183-.48022447.3974352-.78389831.5439561-.30367383.1465209-.64971557.245421-1.03813559.2967033l.29661017 1.1208791c.50847712-.0439563.99222934-.1758231 1.45127118-.3956044.45904185-.2197813.86334571-.536628 1.21292373-.9505494.34957802-.4139215.62853004-.93039988.83686441-1.5494506.2083344-.61905071.3125-1.3534756.3125-2.2032967 0-.94505967-.227752-1.66483269-.68326271-2.15934066-.45551075-.49450797-1.08227002-.74175824-1.88029661-.74175824-.38842002 0-.73269624.06410192-1.03283899.19230769-.30014274.12820577-.55437748.30402819-.76271186.52747253-.20833437.22344434-.36723109.49267242-.47669491.80769231-.10946383.31501989-.16419492.65933879-.16419492 1.03296703zm1.33474576-.07692308c0-.41025846.09533803-.73076807.28601695-.96153846.19067892-.23077038.45903782-.34615384.80508475-.34615384.21892765 0 .40783819.04578708.56673729.13736263s.28954751.21428495.39194915.36813187.17831896.32966934.22775424.52747253c.04943527.19780319.07415254.39926637.07415254.6043956 0 .13919484-.01059312.28571352-.03177966.43956044-.09887055.13919484-.24011208.25640978-.42372882.35164835-.18361673.09523858-.42019629.14285715-.70974576.14285715-.33898475 0-.6214678-.10622605-.84745763-.31868132-.22598983-.21245528-.33898305-.52747044-.33898305-.94505495z"/></svg>'
32
+ ]
33
+ },
34
+ start: function() {
35
+ var button = {
36
+ title: '## icons.icons ##',
37
+ icon: this.opts.icons.icon,
38
+ command: 'icons.popup',
39
+ blocks: {
40
+ all: 'editable'
41
+ }
42
+ };
43
+
44
+ this.app.toolbar.add('icons', button);
45
+ },
46
+ popup: function(params, button) {
47
+ var items = {};
48
+ var icons = this.opts.icons.items;
49
+
50
+ for (var i = 0; i < icons.length; i++) {
51
+ items[i] = {
52
+ html: this.dom('<div>').addClass(this.prefix + '-popup-item').html(icons[i]),
53
+ command: 'icons.insert',
54
+ params: {
55
+ icon: icons[i]
56
+ }
57
+ };
58
+ }
59
+
60
+ this.app.popup.create('icons', {
61
+ type: 'grid',
62
+ width: '160px',
63
+ items: items
64
+ });
65
+ this.app.popup.open({ button: button });
66
+
67
+ },
68
+ insert: function(params) {
69
+ this.app.popup.close();
70
+ this.app.insertion.insertHtml(params.icon, 'after');
71
+ }
72
+ });
@@ -0,0 +1 @@
1
+ RedactorX.add("plugin","icons",{translations:{en:{icons:{icons:"Icons"}}},defaults:{icon:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m4.83610557 5.032-3.97464639.56135882-.11503066.02273502c-.74344369.19074743-1.01211485 1.14559722-.43257233 1.69388798l2.85824938 2.70401818-.67299733 3.8119764-.01354998.1096265c-.05329246.7582459.7508858 1.3132977 1.45280081.9551391l3.5617465-1.818742 3.56345043 1.8187308.1008624.0450315c.7094575.2728097 1.4755032-.3337453 1.3384209-1.1097256l-.6737337-3.8120367 2.8592493-2.70401818.0806168-.08514687c.4956567-.58602276.1617639-1.52007291-.6282281-1.63147731l-3.976638-.56135764-1.7716142-3.48521534c-.37065902-.72902616-1.41208515-.72905169-1.78277991-.0000437zm2.664-.826 1.11796025 2.19736628.06151847.10474119c.15723483.23391009.4074375.39236473.69024457.43224609l2.43527674.34264644-1.741257 1.6488901-.08529699.09144393c-.18419657.22405591-.26337869.51926707-.2122058.80894091l.41775979 2.36372506-2.22848404-1.1365651-.1252676-.0535184c-.25574273-.0891979-.53905484-.0713624-.78377298.0535073l-2.22947541 1.1365762.4187491-2.36366475.01403221-.12426844c.0144621-.28970819-.09782698-.57400297-.31152431-.77617671l-1.742257-1.6488901 2.43601084-.34264762c.3231876-.04557858.60379519-.24600908.75173246-.53694239z"/></svg>',items:['<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.5 7.98901099c0-1.34799209.21516178-2.34981357.6454918-3.00549451.43033002-.65568093 1.04849324-.98351648 1.8545082-.98351648.86066004 0 1.49248432.32417258 1.8954918.97252747.4030075.64835489.6045082 1.65383934.6045082 3.01648352 0 1.35531813-.2168694 2.36263411-.65061475 3.02197801-.43374534.659344-1.05361619.989011-1.85963115.989011-.85382941 0-1.48223842-.3461504-1.8852459-1.0384615-.40300748-.6923112-.6045082-1.68314377-.6045082-2.97252751zm1.33196721 0c0 .89377736.09050456 1.58424665.2715164 2.07142861.18101183.4871819.47984764.7307692.89651639.7307692.40300748 0 .69842802-.223441.88627049-.6703297.18784247-.44688866.2817623-1.15750426.2817623-2.13186811 0-.88645132-.08879693-1.57142615-.26639345-2.05494506-.17759651-.4835189-.48155522-.72527472-.91188524-.72527472-.40983812 0-.70525866.22710395-.88627049.68131868-.18101184.45421473-.2715164 1.15384143-.2715164 2.0989011z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.93478261 10.7640449h1.59038901v-4.4382022l.17162472-.76404495-.54919909.66292135-1.01830663.68539326-.62929062-.84269663 2.60869565-2.06741573h.83524028v6.7640449h1.55606407v1.2359551h-4.56521739z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m10.3218527 6.07282913c0 .38095429-.0732376.76563765-.2197149 1.15406163-.14647741.38842397-.33254047.76937255-.55819481 1.14285714-.22565433.37348459-.47505801.73389182-.74821852 1.08123249-.27316052.34734067-.54037875.66666521-.80166271.95798321l-.62945368.4593837v.0560224l.85510688-.1568627h2.28028504v1.232493h-5v-.7507003c.1900247-.1867423.40379929-.4052275.64133017-.6554622.23753088-.2502346.47703759-.5154047.71852731-.79551817.24148973-.28011345.47703765-.56955967.70665083-.86834734.22961319-.29878768.43547019-.59943826.6175772-.90196079.18210701-.30252252.32660279-.59570352.43349169-.87955182.10688889-.28384829.16033254-.55275316.16033254-.80672269 0-.30625736-.09303153-.55835568-.27909739-.75630252-.18606585-.19794683-.4809956-.29691876-.8847981-.29691876-.25336627 0-.51266692.05041966-.77790974.1512605-.26524281.10084084-.48891437.22969109-.67102137.38655462l-.6175772-1.03081232c.30879014-.23903014.65914293-.43137182 1.05106888-.57703082.39192595-.14565899.85312482-.21848739 1.38361045-.21848739.34046093 0 .65320523.04481748.93824228.13445378.28503706.0896363.53048195.22035395.73634205.39215686.20586009.17180292.3681704.38655334.4869359.64425771.1187654.25770437.1781472.55835496.1781472.90196078z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m7.44047619 10.767507c.49206595 0 .8670622-.1232481 1.125-.3697479s.38690476-.54528302.38690476-.89635854c0-.42577244-.13491928-.73949479-.4047619-.94117647s-.69444155-.30252101-1.27380953-.30252101h-.85714285v-.77310924l1.44047619-1.8487395.67857143-.50420168-.94047619.10084034h-2v-1.232493h4.547619v.79551821l-1.67857139 2.11764706-.52380952.302521v.05602241l.5-.06722689c.27777917.02240908.54166542.08216572.79166667.17927171.25000125.097106.46825303.23716062.6547619.42016807.18650884.18300745.33531694.40896224.44642854.67787115.1111117.2689089.1666667.57889647.1666667.92997199 0 .44071182-.0773802.82166039-.2321429 1.14285709-.1547626.3211968-.36904621.5901017-.6428571.8067227-.27381089.2166211-.59325214.3772171-.95833333.4817928-.36508119.1045756-.75793441.1568627-1.17857143.1568627-.3492081 0-.7103156-.0298783-1.08333334-.0896359-.37301773-.0597575-.67460202-.1456577-.9047619-.257703l.41666667-1.2100841c.20635023.097106.43452256.1755366.68452381.2352941.25000125.0597576.52976035.0896359.83928571.0896359z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m10.5 9.78723404h-1.23595506v2.21276596h-1.35955056v-2.21276596h-3.40449438v-.83971631l3.56179775-4.94751773h1.20224719v4.6070922h1.23595506zm-2.59550562-2.91631205.1011236-.95319149h-.04494382l-.38202247.81702127-1.16853933 1.5319149-.56179775.43120567.71910112-.09078014h1.33707865z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m7.31818182 10.7114846c.52631842 0 .92902572-.1195133 1.20813397-.3585434.27910825-.2390302.41866029-.56769168.41866029-.98599442 0-.44818151-.16347524-.77684303-.49043063-.9859944-.32695538-.20915137-.79345789-.31372549-1.39952153-.31372549l-.94497607.03361345v-4.10084034h4.11483255v1.36694678h-2.77511963v1.51260504l.49043062-.04481793c.39075155.01493939.74361884.08216561 1.05861244.20168068s.58412966.28571322.80741627.49859944c.2232866.21288621.3947362.47058672.5143541.77310924.1196178.30252252.1794258.64052101.1794258 1.0140056 0 .44071182-.079744.82912995-.2392344 1.16526615-.1594905.3361361-.38078013.6162453-.66387565.8403361-.28309551.2240907-.61602679.3921563-.99880383.5042017-.38277703.1120454-.80143313.1680672-1.25598086.1680672-.35885347 0-.69975915-.0280109-1.02272727-.0840336s-.59609139-.1325859-.81937799-.2296919l.41866029-1.210084c.18341399.0746969.38476764.1325861.60406698.1736694s.48444821.0616247.79545455.0616247z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m10.5 9.46153846c0 .35897616-.0587601.69230614-.1762821 1.00000004-.1175219.3076938-.2831185.5750904-.49679482.8021978-.21367629.2271073-.47186459.4065927-.77457265.5384615-.30270807.1318688-.63568195.1978022-.99893163.1978022-.37037222 0-.71046853-.060439-1.02029914-.1813187s-.57870257-.3021966-.80662393-.543956c-.22792137-.2417595-.40598227-.5457857-.53418804-.9120879-.12820577-.36630224-.19230769-.79120641-.19230769-1.27472531 0-.72527835.10149471-1.38094945.30448718-1.96703297s.47720625-1.09706742.82264957-1.53296703c.34544332-.43589962.74786095-.78754445 1.20726496-1.05494506.45940401-.2674006.94551026-.4450545 1.45833333-.53296703l.30982906 1.13186813c-.35612713.05860835-.68375919.17216033-.98290598.34065934-.2991468.16849901-.56445753.3699622-.79594017.60439561-.23148264.2344334-.42734963.49633555-.58760684.78571428-.16025721.28937874-.27243558.58791055-.33653846.8956044.14245085-.1831511.32763419-.3388272.55555556-.46703297.22792136-.12820577.5128188-.19230769.85470085-.19230769.32051442 0 .61609551.05128154.88675214.15384615.27065662.10256462.50213579.25457775.69444444.45604396.19230866.20146621.34187976.44871648.44871796.74175824.1068381.29304176.1602564.63003473.1602564 1.01098901zm-1.34615385.07692308c0-.82051692-.39173397-1.23076923-1.17521367-1.23076923-.28490171 0-.52528392.0659334-.72115385.1978022-.19586992.13186879-.33297681.2857134-.41132478.46153846-.01424509.08058648-.02136753.15018285-.02136753.20879121v.17582417c0 .17582506.02492853.34981599.07478633.52197802s.12286277.32600663.21901709.46153843c.09615433.1355318.21901635.2454209.36858975.3296704.14957339.0842495.32763429.1263736.53418803.1263736.33475951 0 .60719268-.117215.81730769-.3516484s.31517094-.53479666.31517094-.90109886z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.98780488 12 2.53880266-6.16.48780488-.56-.66518847.11428571h-2.84922395v-1.39428571h5v.43428571l-3.10421286 7.56571429z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.5 9.96703297c0-.25641154.03363195-.48534698.10089686-.68681319s.16255544-.38461456.28587444-.54945055.26905746-.31318615.43721973-.44505494c.16816228-.1318688.34940112-.25274671.54372197-.36263737-.36622006-.22710736-.65396009-.4890095-.8632287-.78571428-.2092686-.29670478-.31390134-.66483297-.31390134-1.10439561 0-.28571571.05418481-.5531123.16255605-.8021978.10837125-.24908549.26532035-.46520055.47085202-.64835165s.45403442-.32600681.7455157-.42857143c.29148127-.10256461.62032701-.15384615.98654708-.15384615.33632455 0 .64274899.0439556.91928251.13186813s.51382562.21245341.71188341.37362638c.19805779.16117296.35126997.3571417.45964127.58791208.1083712.23077039.162556.4853466.162556.76373627 0 .43223659-.0990274.79853329-.2970852 1.0989011-.19805775.3003678-.48766622.57509033-.86883404.82417582.44843273.25641154.78662068.53846 1.01457394.84615385.2279534.30769384.3419283.70329428.3419283 1.18681318 0 .32967199-.0616586.62820379-.1849776.89560439s-.2970841.4963361-.52130043.6868132c-.22421636.1904771-.49327197.3388273-.80717488.4450549-.31390292.1062277-.65769619.1593407-1.03139014.1593407s-.71188189-.0494501-1.01457399-.1483516c-.3026921-.0989016-.56053705-.2362629-.7735426-.412088-.21300555-.175825-.37742842-.3882771-.49327354-.6373626-.11584513-.2490855-.17376682-.527471-.17376682-.83516483zm3.60986547-.14285715c0-.16849901-.04110572-.32234362-.12331838-.46153846-.08221267-.13919483-.18871385-.2655672-.31950673-.37912088s-.27653134-.21794824-.43721973-.31318681c-.1606884-.09523857-.32324283-.18681275-.48766816-.27472527-.35127231.19780318-.59230129.41208675-.72309417.64285714-.13079289.23077038-.19618834.45970582-.19618834.68681319 0 .29304177.10276429.54395497.30829596.75274727.20553167.2087922.49140325.3131868.85762332.3131868.33632455 0 .6072486-.0805853.81278027-.2417583.20553167-.1611729.30829596-.4029287.30829596-.72527468zm-2.02914798-3.76923077c0 .17582506.03363195.32966968.10089686.46153847s.15881855.24725225.27466368.34615384c.11584512.0989016.24663604.19047577.39237668.27472528.14574064.0842495.29708442.16300329.45403587.23626373.44843274-.37362824.67264574-.78388055.67264574-1.23076923 0-.30769384-.09155364-.54029225-.27466367-.69780219-.18311004-.15750995-.4054546-.23626374-.66704036-.23626374-.32885068 0-.56987966.08424824-.72309417.25274725-.15321452.16849901-.22982063.36629923-.22982063.59340659z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="m8 14c3.3137085 0 6-2.6862915 6-6s-2.6862915-6-6-6-6 2.6862915-6 6 2.6862915 6 6 6zm0 2c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8z"/><path d="m5.5 6.56043956c0-.37362824.05473109-.71794714.16419492-1.03296703.10946382-.31501989.26836054-.58424797.47669491-.80769231.20833438-.22344434.46256912-.39926676.76271186-.52747253.30014275-.12820577.64441897-.19230769 1.03283899-.19230769.79802659 0 1.42478586.24725027 1.88029661.74175824.45551071.49450797.68326271 1.21428099.68326271 2.15934066 0 .8498211-.1041656 1.58424599-.3125 2.2032967-.20833437.61905072-.48728639 1.1355291-.83686441 1.5494506-.34957802.4139214-.75388188.7307681-1.21292373.9505494-.45904184.2197813-.94279406.3516481-1.45127118.3956044l-.29661017-1.1208791c.38842002-.0512823.73446176-.1501824 1.03813559-.2967033.30367384-.1465209.56497066-.3278378.78389831-.5439561.21892765-.21611826.39724507-.46153705.53495762-.7362637.13771256-.27472665.23481611-.56959549.29131356-.88461538-.16949237.19047714-.35134083.32234395-.54555084.39560439s-.45374132.10989011-.7786017.10989011c-.26836292 0-.5349563-.04761857-.79978813-.14285714-.26483184-.09523857-.50141139-.23992577-.70974577-.43406593-.20833437-.19414017-.3778242-.43955896-.50847457-.73626374s-.19597458-.64651813-.19597458-1.04945055zm1.33474576-.07692308c0 .41758451.11299322.73259967.33898305.94505495.22598983.21245527.50847288.31868132.84745763.31868132.28954947 0 .52612903-.04761857.70974576-.14285715.18361674-.09523857.32485827-.21245351.42372882-.35164835.02118654-.15384692.03177966-.3003656.03177966-.43956044 0-.20512923-.02471727-.40659241-.07415254-.6043956-.04943528-.19780319-.1253526-.37362561-.22775424-.52747253s-.23305005-.27655632-.39194915-.36813187-.34780964-.13736263-.56673729-.13736263c-.34604693 0-.61440583.11538346-.80508475.34615384-.19067892.23077039-.28601695.55128-.28601695.96153846z"/></g></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.5-8.01098901c0 1.28938374.20150072 2.28021631.6045082 2.97252751.40300748.6923111 1.03141649 1.0384615 1.8852459 1.0384615.80601496 0 1.42588581-.329667 1.85963115-.989011.43374535-.6593439.65061475-1.66665988.65061475-3.02197801 0-1.36264418-.2015007-2.36812863-.6045082-3.01648352-.40300748-.64835489-1.03483176-.97252747-1.8954918-.97252747-.80601496 0-1.42417818.32783555-1.8545082.98351648-.43033002.65568094-.6454918 1.65750242-.6454918 3.00549451zm1.33196721 0c0-.94505967.09050456-1.64468637.2715164-2.0989011.18101183-.45421473.47643237-.68131868.88627049-.68131868.43033002 0 .73428873.24175582.91188524.72527472.17759652.48351891.26639345 1.16849374.26639345 2.05494506 0 .97436385-.09391983 1.68497945-.2817623 2.13186811-.18784247.4468887-.48326301.6703297-.88627049.6703297-.41666875 0-.71550456-.2435873-.89651639-.7307692-.18101184-.48718196-.2715164-1.17765125-.2715164-2.07142861z"/></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.06521739-5.2359551v1.2359551h4.56521739v-1.2359551h-1.55606407v-6.7640449h-.83524028l-2.60869565 2.06741573.62929062.84269663 1.01830663-.68539326.54919909-.66292135-.17162472.76404495v4.4382022z"/></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm2.3218527-9.92717087c0-.34360582-.0593818-.64425641-.1781472-.90196078-.1187655-.25770437-.28107581-.47245479-.4869359-.64425771-.2058601-.17180291-.45130499-.30252056-.73634205-.39215686-.28503705-.0896363-.59778135-.13445378-.93824228-.13445378-.53048563 0-.9916845.0728284-1.38361045.21848739-.39192595.145659-.74227874.33800068-1.05106888.57703082l.6175772 1.03081232c.182107-.15686353.40577856-.28571378.67102137-.38655462.26524282-.10084084.52454347-.1512605.77790974-.1512605.4038025 0 .69873225.09897193.8847981.29691876.18606586.19794684.27909739.45004516.27909739.75630252 0 .25396953-.05344365.5228744-.16033254.80672269-.1068889.2838483-.25138468.5770293-.43349169.87955182-.18210701.30252253-.38796401.60317311-.6175772.90196079-.22961318.29878767-.4651611.58823389-.70665083.86834734-.24148972.28011347-.48099643.54528357-.71852731.79551817-.23753088.2502347-.45130547.4687199-.64133017.6554622v.7507003h5v-1.232493h-2.28028504l-.85510688.1568627v-.0560224l.62945368-.4593837c.26128396-.291318.52850219-.61064254.80166271-.95798321.27316051-.34734067.52256419-.7077479.74821852-1.08123249.22565434-.37348459.4117174-.75443317.55819481-1.14285714.1464773-.38842398.2197149-.77310734.2197149-1.15406163z"/></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-.55952381-5.232493c-.30952536 0-.58928446-.0298783-.83928571-.0896359-.25000125-.0597575-.47817358-.1381881-.68452381-.2352941l-.41666667 1.2100841c.23015988.1120453.53174417.1979455.9047619.257703.37301774.0597576.73412524.0896359 1.08333334.0896359.42063702 0 .81349024-.0522871 1.17857143-.1568627.36508119-.1045757.68452244-.2651717.95833333-.4817928.27381089-.216621.4880945-.4855259.6428571-.8067227.1547627-.3211967.2321429-.70214527.2321429-1.14285709 0-.35107552-.055555-.66106309-.1666667-.92997199-.1111116-.26890891-.2599197-.4948637-.44642854-.67787115-.18650887-.18300745-.40476065-.32306207-.6547619-.42016807-.25000125-.09710599-.5138875-.15686263-.79166667-.17927171l-.5.06722689v-.05602241l.52380952-.302521 1.67857139-2.11764706v-.79551821h-4.547619v1.232493h2l.94047619-.10084034-.67857143.50420168-1.44047619 1.8487395v.77310924h.85714285c.57936798 0 1.00396691.10083933 1.27380953.30252101s.4047619.51540403.4047619.94117647c0 .35107552-.12896696.64985874-.38690476.89635854s-.63293405.3697479-1.125.3697479z"/></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm2.5-6.21276596v-1.18014184h-1.23595506v-4.6070922h-1.20224719l-3.56179775 4.94751773v.83971631h3.40449438v2.21276596h1.35955056v-2.21276596zm-2.59550562-2.91631205v1.73617021h-1.33707865l-.71910112.09078014.56179775-.43120567 1.16853933-1.5319149.38202247-.81702127h.04494382z"/></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-.68181818-5.2885154c-.31100634 0-.57615521-.0205414-.79545455-.0616247s-.42065299-.0989725-.60406698-.1736694l-.41866029 1.210084c.2232866.097106.49640987.1736692.81937799.2296919s.6638738.0840336 1.02272727.0840336c.45454773 0 .87320383-.0560218 1.25598086-.1680672.38277704-.1120454.71570832-.280111.99880383-.5042017.28309552-.2240908.50438515-.5042.66387565-.8403361.1594904-.3361362.2392344-.72455433.2392344-1.16526615 0-.37348459-.059808-.71148308-.1794258-1.0140056-.1196179-.30252252-.2910675-.56022303-.5143541-.77310924-.22328661-.21288622-.49242267-.37908437-.80741627-.49859944s-.66786089-.18674129-1.05861244-.20168068l-.49043062.04481793v-1.51260504h2.77511963v-1.36694678h-4.11483255v4.10084034l.94497607-.03361345c.60606364 0 1.07256615.10457412 1.39952153.31372549.32695539.20915137.49043063.53781289.49043063.9859944 0 .41830274-.13955204.74696422-.41866029.98599442-.27910825.2390301-.68181555.3585434-1.20813397.3585434z"/></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm2.5-6.53846154c0-.38095428-.0534183-.71794725-.1602564-1.01098901-.1068382-.29304176-.2564093-.54029203-.44871796-.74175824-.19230865-.20146621-.42378782-.35347934-.69444444-.45604396-.27065663-.10256461-.56623772-.15384615-.88675214-.15384615-.34188205 0-.62677949.06410192-.85470085.19230769-.22792137.12820577-.41310471.28388187-.55555556.46703297.06410288-.30769385.17628125-.60622566.33653846-.8956044.16025721-.28937873.3561242-.55128088.58760684-.78571428.23148264-.23443341.49679337-.4358966.79594017-.60439561.29914679-.16849901.62677885-.28205099.98290598-.34065934l-.30982906-1.13186813c-.51282307.08791253-.99892932.26556643-1.45833333.53296703-.45940401.26740061-.86182164.61904544-1.20726496 1.05494506-.34544332.43589961-.6196571.94688351-.82264957 1.53296703s-.30448718 1.24175462-.30448718 1.96703297c0 .4835189.06410192.90842307.19230769 1.27472531.12820577.3663022.30626667.6703284.53418804.9120879.22792136.2417594.49679332.4230763.80662393.543956s.64992692.1813187 1.02029914.1813187c.36324968 0 .69622356-.0659334.99893163-.1978022.30270806-.1318688.56089636-.3113542.77457265-.5384615.21367632-.2271074.37927292-.494504.49679482-.8021978.117522-.3076939.1762821-.64102388.1762821-1.00000004zm-1.34615385.07692308c0 .3663022-.10505593.66666546-.31517094.90109886s-.48254818.3516484-.81730769.3516484c-.20655374 0-.38461464-.0421241-.53418803-.1263736-.1495734-.0842495-.27243542-.1941386-.36858975-.3296704-.09615432-.1355318-.16915929-.2893764-.21901709-.46153843s-.07478633-.34615296-.07478633-.52197802c0-.05860835 0-.11721582 0-.17582417 0-.05860836.00712244-.12820473.02136753-.20879121.07834797-.17582506.21545486-.32966967.41132478-.46153846.19586993-.1318688.43625214-.1978022.72115385-.1978022.7834797 0 1.17521367.41025231 1.17521367 1.23076923z"/></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.01219512-4h1.40798226l3.10421286-7.56571429v-.43428571h-5v1.39428571h2.84922395l.66518847-.11428571-.48780488.56z"/></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.5-6.03296703c0 .30769383.05792169.58607933.17376682.83516483.11584512.2490855.28026799.4615376.49327354.6373626.21300555.1758251.4708505.3131864.7735426.412088.3026921.0989015.64088004.1483516 1.01457399.1483516s.71748722-.053113 1.03139014-.1593407c.31390291-.1062276.58295852-.2545778.80717488-.4450549.22421633-.1904771.39798143-.4194126.52130043-.6868132s.1849776-.5659324.1849776-.89560439c0-.4835189-.1139749-.87911934-.3419283-1.18681318-.22795326-.30769385-.56614121-.58974231-1.01457394-.84615385.38116782-.24908549.67077629-.52380802.86883404-.82417582.1980578-.30036781.2970852-.66666451.2970852-1.0989011 0-.27838967-.0541848-.53296588-.162556-.76373627-.1083713-.23077038-.26158348-.42673912-.45964127-.58791208-.19805779-.16117297-.43534989-.28571385-.71188341-.37362638s-.58295796-.13186813-.91928251-.13186813c-.36622007 0-.69506581.05128154-.98654708.15384615-.29148128.10256462-.53998403.24542033-.7455157.42857143s-.36248077.39926616-.47085202.64835165c-.10837124.2490855-.16255605.51648209-.16255605.8021978 0 .43956264.10463274.80769083.31390134 1.10439561.20926861.29670478.49700864.55860692.8632287.78571428-.19432085.10989066-.37555969.23076857-.54372197.36263737-.16816227.13186879-.31390073.28021895-.43721973.44505494s-.21860953.34798434-.28587444.54945055-.10089686.43040165-.10089686.68681319zm3.60986547-.14285715c0 .32234598-.10276429.56410178-.30829596.72527468-.20553167.161173-.47645572.2417583-.81278027.2417583-.36622007 0-.65209165-.1043946-.85762332-.3131868-.20553167-.2087923-.30829596-.4597055-.30829596-.75274727 0-.22710737.06539545-.45604281.19618834-.68681319.13079288-.23077039.37182186-.44505396.72309417-.64285714.16442533.08791252.32697976.1794867.48766816.27472527.16068839.09523857.30642685.19963313.43721973.31318681s.23729406.23992605.31950673.37912088c.08221266.13919484.12331838.29303945.12331838.46153846zm-2.02914798-3.76923077c0-.22710736.07660611-.42490758.22982063-.59340659.15321451-.16849901.39424349-.25274725.72309417-.25274725.26158576 0 .48393032.07875379.66704036.23626374.18311003.15750994.27466367.39010835.27466367.69780219 0 .44688868-.224213.85714099-.67264574 1.23076923-.15695145-.07326044-.30829523-.15201423-.45403587-.23626373-.14574064-.08424951-.27653156-.17582368-.39237668-.27472528-.11584513-.09890159-.20739877-.21428505-.27466368-.34615384s-.10089686-.28571341-.10089686-.46153847z"/></svg>','<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 16c-4.418278 0-8-3.581722-8-8s3.581722-8 8-8 8 3.581722 8 8-3.581722 8-8 8zm-2.5-9.43956044c0 .40293242.06532421.75274577.19597458 1.04945055s.3001402.54212357.50847457.73626374c.20833438.19414016.44491393.33882736.70974577.43406593.26483183.09523857.53142521.14285714.79978813.14285714.32486038 0 .58439169-.03662967.7786017-.10989011s.37605847-.20512725.54555084-.39560439c-.05649745.31501989-.153601.60988873-.29131356.88461538-.13771255.27472665-.31602997.52014544-.53495762.7362637-.21892765.2161183-.48022447.3974352-.78389831.5439561-.30367383.1465209-.64971557.245421-1.03813559.2967033l.29661017 1.1208791c.50847712-.0439563.99222934-.1758231 1.45127118-.3956044.45904185-.2197813.86334571-.536628 1.21292373-.9505494.34957802-.4139215.62853004-.93039988.83686441-1.5494506.2083344-.61905071.3125-1.3534756.3125-2.2032967 0-.94505967-.227752-1.66483269-.68326271-2.15934066-.45551075-.49450797-1.08227002-.74175824-1.88029661-.74175824-.38842002 0-.73269624.06410192-1.03283899.19230769-.30014274.12820577-.55437748.30402819-.76271186.52747253-.20833437.22344434-.36723109.49267242-.47669491.80769231-.10946383.31501989-.16419492.65933879-.16419492 1.03296703zm1.33474576-.07692308c0-.41025846.09533803-.73076807.28601695-.96153846.19067892-.23077038.45903782-.34615384.80508475-.34615384.21892765 0 .40783819.04578708.56673729.13736263s.28954751.21428495.39194915.36813187.17831896.32966934.22775424.52747253c.04943527.19780319.07415254.39926637.07415254.6043956 0 .13919484-.01059312.28571352-.03177966.43956044-.09887055.13919484-.24011208.25640978-.42372882.35164835-.18361673.09523858-.42019629.14285715-.70974576.14285715-.33898475 0-.6214678-.10622605-.84745763-.31868132-.22598983-.21245528-.33898305-.52747044-.33898305-.94505495z"/></svg>']},start:function(){var s={title:"## icons.icons ##",icon:this.opts.icons.icon,command:"icons.popup",blocks:{all:"editable"}};this.app.toolbar.add("icons",s)},popup:function(s,h){for(var t={},c=this.opts.icons.items,v=0;v<c.length;v++)t[v]={html:this.dom("<div>").addClass(this.prefix+"-popup-item").html(c[v]),command:"icons.insert",params:{icon:c[v]}};this.app.popup.create("icons",{type:"grid",width:"160px",items:t}),this.app.popup.open({button:h})},insert:function(s){this.app.popup.close(),this.app.insertion.insertHtml(s.icon,"after")}});
@@ -0,0 +1,85 @@
1
+ RedactorX.add('plugin', 'imageposition', {
2
+ translations: {
3
+ en: {
4
+ "imageposition": {
5
+ "image-position": "Image position"
6
+ }
7
+ }
8
+ },
9
+ defaults: {
10
+ icon: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m15 13c.5522847 0 1 .4477153 1 1s-.4477153 1-1 1h-13c-.55228475 0-1-.4477153-1-1s.44771525-1 1-1zm-5-12c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm5 8c.5522847 0 1 .44771525 1 1 0 .5522847-.4477153 1-1 1h-2c-.5522847 0-1-.4477153-1-1 0-.55228475.4477153-1 1-1zm-10-1-1 1h2zm4-5h-6v5l2-2 3 3h1zm6 2c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1zm-8-1c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1zm8-3c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1z"/></svg>',
11
+ items: {
12
+ none: 'none',
13
+ left: 'float-left',
14
+ center: 'align-center',
15
+ right: 'float-right'
16
+ },
17
+ icons: {
18
+ none: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m12 3c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm-5 7-1 1h2zm4-5h-6v5l2-2 3 3h1zm-2 1c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1z"/></svg>',
19
+ left: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m10 3c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm5 8c.5522847 0 1 .4477153 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.4477153-1-1s.4477153-1 1-1zm-10-1-1 1h2zm4-5h-6v5l2-2 3 3h1zm6 2c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1zm-8-1c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1zm8-3c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1z"/></svg>',
20
+ center: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m12 3c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm3 8c.5522847 0 1 .4477153 1 1s-.4477153 1-1 1-1-.4477153-1-1 .4477153-1 1-1zm-14 0c.55228475 0 1 .4477153 1 1s-.44771525 1-1 1-1-.4477153-1-1 .44771525-1 1-1zm6-1-1 1h2zm4-5h-6v5l2-2 3 3h1zm4 2c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1-1-.44771525-1-1 .4477153-1 1-1zm-14 0c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1zm8-1c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1zm6-3c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1-1-.44771525-1-1 .4477153-1 1-1zm-14 0c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1z"/></svg>',
21
+ right: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m14 3c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm-11 8c.55228475 0 1 .4477153 1 1s-.44771525 1-1 1h-2c-.55228475 0-1-.4477153-1-1s.44771525-1 1-1zm6-1-1 1h2zm4-5h-6v5l2-2 3 3h1zm-10 2c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1h-2c-.55228475 0-1-.44771525-1-1s.44771525-1 1-1zm8-1c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1-1-.44771525-1-1 .4477153-1 1-1zm-8-3c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1h-2c-.55228475 0-1-.44771525-1-1s.44771525-1 1-1z"/></svg>'
22
+ }
23
+ },
24
+ start: function() {
25
+ this.app.toolbar.add('imageposition', {
26
+ title: '## imageposition.image-position ##',
27
+ command: 'imageposition.popup',
28
+ icon: this.opts.imageposition.icon,
29
+ position: {
30
+ after: 'image'
31
+ },
32
+ blocks: {
33
+ types: ['image']
34
+ }
35
+ });
36
+ },
37
+ popup: function(params, button) {
38
+ var segments = {};
39
+ var obj = this.opts.imageposition.items;
40
+ for (var key in obj) {
41
+ if (!obj[key]) continue;
42
+ segments[key] = { name: obj[key], icon: this.opts.imageposition.icons[key] };
43
+ }
44
+
45
+ // create
46
+ this.app.popup.create('imageposition', {
47
+ setter: 'imageposition.setFloat',
48
+ getter: 'imageposition.getFloat',
49
+ form: {
50
+ "ifloat": {
51
+ type: 'segment',
52
+ label: '## imageposition.image-position ##',
53
+ segments: segments
54
+ }
55
+ }
56
+ });
57
+
58
+ // open
59
+ this.app.popup.open({ button: button });
60
+ },
61
+ getFloat: function() {
62
+ var obj = this.opts.imageposition.items;
63
+ if (!obj) return false;
64
+
65
+ var instance = this.app.block.get();
66
+ var $block = instance.getBlock();
67
+ var value = 'none';
68
+ for (var key in obj) {
69
+ if ($block.hasClass(obj[key])) {
70
+ value = key;
71
+ }
72
+ }
73
+
74
+ return { 'ifloat': value };
75
+ },
76
+ setFloat: function(popup) {
77
+ this.app.popup.close();
78
+
79
+ // get data
80
+ var data = popup.getData();
81
+ var instance = this.app.block.get();
82
+
83
+ instance.setClassFromObj(this.opts.imageposition.items, data.ifloat);
84
+ }
85
+ });
@@ -0,0 +1 @@
1
+ RedactorX.add("plugin","imageposition",{translations:{en:{imageposition:{"image-position":"Image position"}}},defaults:{icon:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m15 13c.5522847 0 1 .4477153 1 1s-.4477153 1-1 1h-13c-.55228475 0-1-.4477153-1-1s.44771525-1 1-1zm-5-12c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm5 8c.5522847 0 1 .44771525 1 1 0 .5522847-.4477153 1-1 1h-2c-.5522847 0-1-.4477153-1-1 0-.55228475.4477153-1 1-1zm-10-1-1 1h2zm4-5h-6v5l2-2 3 3h1zm6 2c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1zm-8-1c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1zm8-3c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1z"/></svg>',items:{none:"none",left:"float-left",center:"align-center",right:"float-right"},icons:{none:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m12 3c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm-5 7-1 1h2zm4-5h-6v5l2-2 3 3h1zm-2 1c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1z"/></svg>',left:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m10 3c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm5 8c.5522847 0 1 .4477153 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.4477153-1-1s.4477153-1 1-1zm-10-1-1 1h2zm4-5h-6v5l2-2 3 3h1zm6 2c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1zm-8-1c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1zm8-3c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1h-2c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1z"/></svg>',center:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m12 3c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm3 8c.5522847 0 1 .4477153 1 1s-.4477153 1-1 1-1-.4477153-1-1 .4477153-1 1-1zm-14 0c.55228475 0 1 .4477153 1 1s-.44771525 1-1 1-1-.4477153-1-1 .44771525-1 1-1zm6-1-1 1h2zm4-5h-6v5l2-2 3 3h1zm4 2c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1-1-.44771525-1-1 .4477153-1 1-1zm-14 0c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1zm8-1c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1zm6-3c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1-1-.44771525-1-1 .4477153-1 1-1zm-14 0c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1-1-.44771525-1-1 .44771525-1 1-1z"/></svg>',right:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m14 3c.5522847 0 1 .44771525 1 1v8c0 .5522847-.4477153 1-1 1h-8c-.55228475 0-1-.4477153-1-1v-8c0-.55228475.44771525-1 1-1zm-11 8c.55228475 0 1 .4477153 1 1s-.44771525 1-1 1h-2c-.55228475 0-1-.4477153-1-1s.44771525-1 1-1zm6-1-1 1h2zm4-5h-6v5l2-2 3 3h1zm-10 2c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1h-2c-.55228475 0-1-.44771525-1-1s.44771525-1 1-1zm8-1c.5522847 0 1 .44771525 1 1s-.4477153 1-1 1-1-.44771525-1-1 .4477153-1 1-1zm-8-3c.55228475 0 1 .44771525 1 1s-.44771525 1-1 1h-2c-.55228475 0-1-.44771525-1-1s.44771525-1 1-1z"/></svg>'}},start:function(){this.app.toolbar.add("imageposition",{title:"## imageposition.image-position ##",command:"imageposition.popup",icon:this.opts.imageposition.icon,position:{after:"image"},blocks:{types:["image"]}})},popup:function(t,i){var s={},o=this.opts.imageposition.items;for(var e in o)o[e]&&(s[e]={name:o[e],icon:this.opts.imageposition.icons[e]});this.app.popup.create("imageposition",{setter:"imageposition.setFloat",getter:"imageposition.getFloat",form:{ifloat:{type:"segment",label:"## imageposition.image-position ##",segments:s}}}),this.app.popup.open({button:i})},getFloat:function(){var t=this.opts.imageposition.items;if(!t)return!1;var i=this.app.block.get().getBlock(),s="none";for(var o in t)i.hasClass(t[o])&&(s=o);return{ifloat:s}},setFloat:function(t){this.app.popup.close();var i=t.getData();this.app.block.get().setClassFromObj(this.opts.imageposition.items,i.ifloat)}});
@@ -0,0 +1,85 @@
1
+ RedactorX.add('plugin', 'inlineformat', {
2
+ translations: {
3
+ en: {
4
+ "inlineformat": {
5
+ "inline-format": "Inline Format",
6
+ "underline": "Underline",
7
+ "superscript": "Superscript",
8
+ "subscript": "Subscript",
9
+ "mark": "Mark",
10
+ "code": "Code",
11
+ "shortcut": "Shortcut",
12
+ "remove-format": "Remove Format"
13
+ }
14
+ }
15
+ },
16
+ defaults: {
17
+ icon: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m7.39849577 1.20113038c-3.5610278 2.68125517-5.39849577 5.14152807-5.39849577 7.49360646 0 3.50902886 2.59345039 6.30526316 6 6.30526316 3.4065496 0 6-2.7962343 6-6.30526316 0-2.35207839-1.837468-4.81235129-5.39849577-7.49360646-.35616697-.26817384-.84684149-.26817384-1.20300846 0zm.60150423 2.06186962.28200813.22720401c2.50634097 2.04313256 3.71799187 3.80538426 3.71799187 5.20453283 0 2.43669386-1.73306 4.30526316-4 4.30526316-2.26694005 0-4-1.8685693-4-4.30526316 0-1.39914857 1.21165095-3.16140027 3.71799187-5.20453283z"/></svg>',
18
+ items: ['u', 'sup', 'sub', 'mark', 'code', 'kbd'],
19
+ itemsObj: {
20
+ u: {
21
+ title: '<span style="text-decoration: underline;">## inlineformat.underline ##</span>',
22
+ params: { tag: 'u' },
23
+ shortcut: 'Ctrl+u'
24
+ },
25
+ sup: {
26
+ title: '## inlineformat.superscript ##<sup>x</sup>',
27
+ params: { tag: 'sup' },
28
+ shortcut: 'Ctrl+h'
29
+ },
30
+ sub: {
31
+ title: '## inlineformat.subscript ##<sub>x</sub>',
32
+ params: { tag: 'sub' },
33
+ shortcut: 'Ctrl+l'
34
+ },
35
+ mark: {
36
+ title: '<span style="background: yellow;">## inlineformat.mark ##</span>',
37
+ params: { tag: 'mark' }
38
+ },
39
+ code: {
40
+ title: '<span style="font-family: monospace; background: #f0f1f2; padding: 4px;">## inlineformat.code ##</span>',
41
+ params: { tag: 'code' }
42
+ },
43
+ kbd: {
44
+ title: '## inlineformat.shortcut ##',
45
+ params: { tag: 'kbd' }
46
+ }
47
+ }
48
+ },
49
+ start: function() {
50
+ this.app.toolbar.add('inlineformat', {
51
+ title: '## inlineformat.inline-format ##',
52
+ icon: this.opts.inlineformat.icon,
53
+ command: 'inlineformat.popup',
54
+ position: { after: 'deleted' },
55
+ blocks: {
56
+ all: 'editable'
57
+ }
58
+ });
59
+ },
60
+ popup: function(params, button) {
61
+ var arr = this.opts.inlineformat.items;
62
+ var inlines = this.app.selection.getNodes({ type: 'inline' });
63
+ var items = {};
64
+ for (var i = 0; i < arr.length; i++) {
65
+ var key = arr[i];
66
+ items[key] = this.opts.inlineformat.itemsObj[key];
67
+ items[key].command = 'inline.set'
68
+ }
69
+
70
+ // remove format
71
+ if (inlines.length !== 0) {
72
+ items['remove'] = {
73
+ title: '## inlineformat.remove-format ##',
74
+ divider: 'top',
75
+ command: 'inline.removeFormat'
76
+ };
77
+ }
78
+
79
+ this.app.popup.create('inlineformat', {
80
+ width: '300px',
81
+ items: items
82
+ });
83
+ this.app.popup.open({ button: button });
84
+ }
85
+ });
@@ -0,0 +1 @@
1
+ RedactorX.add("plugin","inlineformat",{translations:{en:{inlineformat:{"inline-format":"Inline Format",underline:"Underline",superscript:"Superscript",subscript:"Subscript",mark:"Mark",code:"Code",shortcut:"Shortcut","remove-format":"Remove Format"}}},defaults:{icon:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m7.39849577 1.20113038c-3.5610278 2.68125517-5.39849577 5.14152807-5.39849577 7.49360646 0 3.50902886 2.59345039 6.30526316 6 6.30526316 3.4065496 0 6-2.7962343 6-6.30526316 0-2.35207839-1.837468-4.81235129-5.39849577-7.49360646-.35616697-.26817384-.84684149-.26817384-1.20300846 0zm.60150423 2.06186962.28200813.22720401c2.50634097 2.04313256 3.71799187 3.80538426 3.71799187 5.20453283 0 2.43669386-1.73306 4.30526316-4 4.30526316-2.26694005 0-4-1.8685693-4-4.30526316 0-1.39914857 1.21165095-3.16140027 3.71799187-5.20453283z"/></svg>',items:["u","sup","sub","mark","code","kbd"],itemsObj:{u:{title:'<span style="text-decoration: underline;">## inlineformat.underline ##</span>',params:{tag:"u"},shortcut:"Ctrl+u"},sup:{title:"## inlineformat.superscript ##<sup>x</sup>",params:{tag:"sup"},shortcut:"Ctrl+h"},sub:{title:"## inlineformat.subscript ##<sub>x</sub>",params:{tag:"sub"},shortcut:"Ctrl+l"},mark:{title:'<span style="background: yellow;">## inlineformat.mark ##</span>',params:{tag:"mark"}},code:{title:'<span style="font-family: monospace; background: #f0f1f2; padding: 4px;">## inlineformat.code ##</span>',params:{tag:"code"}},kbd:{title:"## inlineformat.shortcut ##",params:{tag:"kbd"}}}},start:function(){this.app.toolbar.add("inlineformat",{title:"## inlineformat.inline-format ##",icon:this.opts.inlineformat.icon,command:"inlineformat.popup",position:{after:"deleted"},blocks:{all:"editable"}})},popup:function(t,i){for(var e=this.opts.inlineformat.items,n=this.app.selection.getNodes({type:"inline"}),a={},o=0;o<e.length;o++){var r=e[o];a[r]=this.opts.inlineformat.itemsObj[r],a[r].command="inline.set"}0!==n.length&&(a.remove={title:"## inlineformat.remove-format ##",divider:"top",command:"inline.removeFormat"}),this.app.popup.create("inlineformat",{width:"300px",items:a}),this.app.popup.open({button:i})}});
@@ -0,0 +1,28 @@
1
+ RedactorX.add('plugin', 'removeformat', {
2
+ translations: {
3
+ en: {
4
+ "removeformat": {
5
+ "removeformat": "Remove Format"
6
+ }
7
+ }
8
+ },
9
+ defaults: {
10
+ icon: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 11c.51283584 0 .93550716.3860402.99327227.8833789l.00672773.1166211v1c0 .5522847-.44771525 1-1 1-.51283584 0-.93550716-.3860402-.99327227-.8833789l-.00672773-.1166211v-1c0-.5522847.44771525-1 1-1zm-4.60436072-5.91850958.10436072.05248418 9.5262794 5.5c.4782927.2761424.6421678.8877328.3660254 1.3660254-.2564179.4441289-.8020741.6171529-1.2616646.4185096l-.1043608-.0524842-9.5262794-5.5c-.47829262-.27614237-.64216778-.88773278-.3660254-1.3660254.25641792-.44412886.80207419-.61715287 1.26166468-.41850958zm9.60436072-3.08149042c.5522847 0 1 .44771525 1 1 0 .51283584-.3860402.93550716-.8833789.99327227l-.1166211.00672773h-4.00016698l.00016698 2c0 .55228475-.44771525 1-1 1-.51283584 0-.93550716-.38604019-.99327227-.88337887l-.00672773-.11662113-.00016698-2h-3.99983302c-.55228475 0-1-.44771525-1-1 0-.51283584.38604019-.93550716.88337887-.99327227l.11662113-.00672773z"/></svg>'
11
+ },
12
+ start: function() {
13
+ var button = {
14
+ title: '## removeformat.removeformat ##',
15
+ icon: this.opts.removeformat.icon,
16
+ command: 'inline.removeFormat',
17
+ position: {
18
+ after: ['deleted', 'italic']
19
+ },
20
+ blocks: {
21
+ all: 'editable'
22
+ }
23
+ };
24
+
25
+ this.app.toolbar.add('removeformat', button);
26
+ this.app.context.add('removeformat', button);
27
+ }
28
+ });
@@ -0,0 +1 @@
1
+ RedactorX.add("plugin","removeformat",{translations:{en:{removeformat:{removeformat:"Remove Format"}}},defaults:{icon:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 11c.51283584 0 .93550716.3860402.99327227.8833789l.00672773.1166211v1c0 .5522847-.44771525 1-1 1-.51283584 0-.93550716-.3860402-.99327227-.8833789l-.00672773-.1166211v-1c0-.5522847.44771525-1 1-1zm-4.60436072-5.91850958.10436072.05248418 9.5262794 5.5c.4782927.2761424.6421678.8877328.3660254 1.3660254-.2564179.4441289-.8020741.6171529-1.2616646.4185096l-.1043608-.0524842-9.5262794-5.5c-.47829262-.27614237-.64216778-.88773278-.3660254-1.3660254.25641792-.44412886.80207419-.61715287 1.26166468-.41850958zm9.60436072-3.08149042c.5522847 0 1 .44771525 1 1 0 .51283584-.3860402.93550716-.8833789.99327227l-.1166211.00672773h-4.00016698l.00016698 2c0 .55228475-.44771525 1-1 1-.51283584 0-.93550716-.38604019-.99327227-.88337887l-.00672773-.11662113-.00016698-2h-3.99983302c-.55228475 0-1-.44771525-1-1 0-.51283584.38604019-.93550716.88337887-.99327227l.11662113-.00672773z"/></svg>'},start:function(){var o={title:"## removeformat.removeformat ##",icon:this.opts.removeformat.icon,command:"inline.removeFormat",position:{after:["deleted","italic"]},blocks:{all:"editable"}};this.app.toolbar.add("removeformat",o),this.app.context.add("removeformat",o)}});
@@ -0,0 +1,96 @@
1
+ RedactorX.add('plugin', 'selector', {
2
+ translations: {
3
+ en: {
4
+ "selector": {
5
+ "class-id": "Class & ID"
6
+ }
7
+ }
8
+ },
9
+ defaults: {
10
+ icon: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m10.6663083 2.14369002c.5071647.07664087.8669828.53941479.8491564 1.06286535l-.0109223.12172524-.2435424 1.67154209 1.239.0001773c.5522847 0 1 .44771525 1 1 0 .51283584-.3860402.93550716-.8833789.99327227l-.1166211.00672773-1.531-.0001773-.291 2 1.322.0001773c.5522847 0 1 .44771525 1 1 0 .5128358-.3860402.9355072-.8833789.9932723l-.1166211.0067277-1.613-.0001773-.3121956 2.1487091c-.08323349.571695-.59347185.9682364-1.13964926.8857001-.50716474-.0766409-.86698283-.5394148-.84915642-1.0628653l.01092235-.1217253.26807893-1.8498186h-1.978l-.31219557 2.1487091c-.08323352.571695-.59347188.9682364-1.13964929.8857001-.50716474-.0766409-.86698283-.5394148-.84915642-1.0628653l.01092235-.1217253.26807893-1.8498186-1.365.0001773c-.55228475 0-1-.4477153-1-1 0-.51283584.38604019-.93550716.88337887-.99327227l.11662113-.00672773 1.656-.0001773.292-2-1.448.0001773c-.55228475 0-1-.44771525-1-1 0-.51283584.38604019-.93550716.88337887-.99327227l.11662113-.00672773 1.739-.0001773.28765901-1.97043255c.08323352-.571695.59347189-.96823646 1.1396493-.88570013.50716473.07664087.86698282.53941479.84915642 1.06286535l-.01092236.12172524-.24354237 1.67154209h1.978l.28765901-1.97043255c.08323352-.571695.59347189-.96823646 1.13964929-.88570013zm-2.0103083 6.85613268.292-2h-1.979l-.291 2z"/></svg>'
11
+ },
12
+ init: function() {
13
+ this.editorClasses = [];
14
+ },
15
+ start: function() {
16
+ var button = {
17
+ title: '## selector.class-id ##',
18
+ icon: this.opts.selector.icon,
19
+ command: 'selector.popup',
20
+ blocks: {
21
+ all: 'all'
22
+ }
23
+ };
24
+
25
+
26
+ this.app.toolbar.add('selector', button);
27
+
28
+ button.position = { 'before': 'duplicate' };
29
+ this.app.control.add('selector', button);
30
+ },
31
+ popup: function(params, button) {
32
+
33
+ // create
34
+ this.app.popup.create('selector', {
35
+ title: '## selector.class-id ##',
36
+ width: '100%',
37
+ form: {
38
+ classname: { type: 'input', label: 'Class' },
39
+ id: { type: 'input', label: 'ID' }
40
+ },
41
+ footer: {
42
+ insert: { title: '## buttons.save ##', command: 'selector.save', type: 'primary' },
43
+ cancel: { title: '## buttons.cancel ##', command: 'popup.close' }
44
+ }
45
+ });
46
+
47
+ var instance = this.app.block.get();
48
+ var $block = instance.getBlock();
49
+ var classname = $block.attr('class');
50
+ var id = $block.attr('id');
51
+
52
+ // classes
53
+ var classes = classname.split(' ');
54
+ var classname = '';
55
+ for (var i = 0; i < classes.length; i++) {
56
+ if (classes[i].search(this.prefix + '-') === -1) {
57
+ classname += classes[i] + ' ';
58
+ }
59
+ else {
60
+ this.editorClasses.push(classes[i]);
61
+ }
62
+ }
63
+
64
+ // data
65
+ this.app.popup.setData({
66
+ id: id,
67
+ classname: classname.trim()
68
+ });
69
+
70
+ // open
71
+ this.app.popup.open({ button: button, focus: 'classname' });
72
+ },
73
+ save: function() {
74
+ this.app.popup.close();
75
+
76
+ var instance = this.app.block.get();
77
+ var $block = instance.getBlock();
78
+ var data = this.app.popup.getData();
79
+
80
+ // set id
81
+ if (data.id === '') {
82
+ $block.removeAttr('id');
83
+ }
84
+ else {
85
+ $block.attr('id', data.id);
86
+ }
87
+
88
+ // set class
89
+ if (this.editorClasses.length > 0) {
90
+ data.classname = data.classname + ' ' + this.editorClasses.join(' ');
91
+ }
92
+
93
+ $block.attr('class', data.classname);
94
+ this.editorClasses = [];
95
+ }
96
+ });
@@ -0,0 +1 @@
1
+ RedactorX.add("plugin","selector",{translations:{en:{selector:{"class-id":"Class & ID"}}},defaults:{icon:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m10.6663083 2.14369002c.5071647.07664087.8669828.53941479.8491564 1.06286535l-.0109223.12172524-.2435424 1.67154209 1.239.0001773c.5522847 0 1 .44771525 1 1 0 .51283584-.3860402.93550716-.8833789.99327227l-.1166211.00672773-1.531-.0001773-.291 2 1.322.0001773c.5522847 0 1 .44771525 1 1 0 .5128358-.3860402.9355072-.8833789.9932723l-.1166211.0067277-1.613-.0001773-.3121956 2.1487091c-.08323349.571695-.59347185.9682364-1.13964926.8857001-.50716474-.0766409-.86698283-.5394148-.84915642-1.0628653l.01092235-.1217253.26807893-1.8498186h-1.978l-.31219557 2.1487091c-.08323352.571695-.59347188.9682364-1.13964929.8857001-.50716474-.0766409-.86698283-.5394148-.84915642-1.0628653l.01092235-.1217253.26807893-1.8498186-1.365.0001773c-.55228475 0-1-.4477153-1-1 0-.51283584.38604019-.93550716.88337887-.99327227l.11662113-.00672773 1.656-.0001773.292-2-1.448.0001773c-.55228475 0-1-.44771525-1-1 0-.51283584.38604019-.93550716.88337887-.99327227l.11662113-.00672773 1.739-.0001773.28765901-1.97043255c.08323352-.571695.59347189-.96823646 1.1396493-.88570013.50716473.07664087.86698282.53941479.84915642 1.06286535l-.01092236.12172524-.24354237 1.67154209h1.978l.28765901-1.97043255c.08323352-.571695.59347189-.96823646 1.13964929-.88570013zm-2.0103083 6.85613268.292-2h-1.979l-.291 2z"/></svg>'},init:function(){this.editorClasses=[]},start:function(){var t={title:"## selector.class-id ##",icon:this.opts.selector.icon,command:"selector.popup",blocks:{all:"all"}};this.app.toolbar.add("selector",t),t.position={before:"duplicate"},this.app.control.add("selector",t)},popup:function(t,s){this.app.popup.create("selector",{title:"## selector.class-id ##",width:"100%",form:{classname:{type:"input",label:"Class"},id:{type:"input",label:"ID"}},footer:{insert:{title:"## buttons.save ##",command:"selector.save",type:"primary"},cancel:{title:"## buttons.cancel ##",command:"popup.close"}}});for(var e=this.app.block.get().getBlock(),a=e.attr("class"),l=e.attr("id"),o=a.split(" "),i=(a="",0);i<o.length;i++)-1===o[i].search(this.prefix+"-")?a+=o[i]+" ":this.editorClasses.push(o[i]);this.app.popup.setData({id:l,classname:a.trim()}),this.app.popup.open({button:s,focus:"classname"})},save:function(){this.app.popup.close();var t=this.app.block.get().getBlock(),s=this.app.popup.getData();""===s.id?t.removeAttr("id"):t.attr("id",s.id),0<this.editorClasses.length&&(s.classname=s.classname+" "+this.editorClasses.join(" ")),t.attr("class",s.classname),this.editorClasses=[]}});
@@ -0,0 +1,63 @@
1
+ RedactorX.add('plugin', 'specialchars', {
2
+ translations: {
3
+ en: {
4
+ "specialchars": {
5
+ "special-chars": "Special Characters"
6
+ }
7
+ }
8
+ },
9
+ defaults: {
10
+ icon: '<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m2 14v-1.8348348h2.38016529v-.0780781c-.99173554-.975976-2.10247934-2.67417419-2.10247934-4.99699701 0-3.57207207 2.28099174-6.09009009 5.73223141-6.09009009 3.43140494 0 5.71239664 2.51801802 5.71239664 6.09009009 0 2.32282282-1.1107438 4.02102101-2.1024793 4.99699701v.0780781h2.3801653v1.8348348h-4.95867769v-1.6396396c1.40826449-1.1906907 2.32066119-2.75225229 2.32066119-5.07507511 0-2.4984985-1.2495868-4.31381382-3.35206614-4.31381382s-3.37190083 1.81531532-3.37190083 4.31381382c0 2.32282282.91239669 3.88438441 2.32066116 5.07507511v1.6396396z"/></svg>',
11
+ items: [
12
+ '&lsquo;', '&rsquo;', '&ldquo;', '&rdquo;', '&ndash;', '&mdash;', '&divide;', '&hellip;', '&trade;', '&bull;',
13
+ '&rarr;', '&asymp;', '$', '&euro;', '&cent;', '&pound;', '&yen;', '&iexcl;',
14
+ '&curren;', '&brvbar;', '&sect;', '&uml;', '&copy;', '&ordf;', '&laquo;', '&raquo;', '&not;', '&reg;', '&macr;',
15
+ '&deg;', '&sup1;', '&sup2;', '&sup3;', '&acute;', '&micro;', '&para;', '&middot;', '&cedil;', '&ordm;',
16
+ '&frac14;', '&frac12;', '&frac34;', '&iquest;', '&Agrave;', '&Aacute;', '&Acirc;', '&Atilde;', '&Auml;', '&Aring;',
17
+ '&AElig;', '&Ccedil;', '&Egrave;', '&Eacute;', '&Ecirc;', '&Euml;', '&Igrave;', '&Iacute;', '&Icirc;', '&Iuml;',
18
+ '&ETH;', '&Ntilde;', '&Ograve;', '&Oacute;', '&Ocirc;', '&Otilde;', '&Ouml;', '&times;', '&Oslash;', '&Ugrave;',
19
+ '&Uacute;', '&Ucirc;', '&Uuml;', '&Yacute;', '&THORN;', '&szlig;', '&agrave;', '&aacute;', '&acirc;', '&atilde;',
20
+ '&auml;', '&aring;', '&aelig;', '&ccedil;', '&egrave;', '&eacute;', '&ecirc;', '&euml;', '&igrave;', '&iacute;',
21
+ '&icirc;', '&iuml;', '&eth;', '&ntilde;', '&ograve;', '&oacute;', '&ocirc;', '&otilde;', '&ouml;',
22
+ '&oslash;', '&ugrave;', '&uacute;', '&ucirc;', '&uuml;', '&yacute;', '&thorn;', '&yuml;', '&OElig;', '&oelig;',
23
+ '&#372;', '&#374', '&#373', '&#375;'
24
+ ]
25
+ },
26
+ start: function() {
27
+ var button = {
28
+ title: '## specialchars.special-chars ##',
29
+ icon: this.opts.specialchars.icon,
30
+ command: 'specialchars.popup',
31
+ blocks: {
32
+ all: 'editable'
33
+ }
34
+ };
35
+
36
+ this.app.toolbar.add('specialchars', button);
37
+ },
38
+ popup: function(params, button) {
39
+ var items = {};
40
+ var chars = this.opts.specialchars.items;
41
+
42
+ for (var i = 0; i < chars.length; i++) {
43
+ items[i] = {
44
+ html: this.dom('<div>').addClass(this.prefix + '-popup-item').html(chars[i]),
45
+ command: 'specialchars.insert',
46
+ params: {
47
+ character: chars[i]
48
+ }
49
+ };
50
+ }
51
+
52
+ this.app.popup.create('specialchars', {
53
+ type: 'grid',
54
+ width: '352px',
55
+ items: items
56
+ });
57
+ this.app.popup.open({ button: button });
58
+ },
59
+ insert: function(params) {
60
+ this.app.popup.close();
61
+ this.app.insertion.insertHtml(params.character, 'after');
62
+ }
63
+ });
@@ -0,0 +1 @@
1
+ RedactorX.add("plugin","specialchars",{translations:{en:{specialchars:{"special-chars":"Special Characters"}}},defaults:{icon:'<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m2 14v-1.8348348h2.38016529v-.0780781c-.99173554-.975976-2.10247934-2.67417419-2.10247934-4.99699701 0-3.57207207 2.28099174-6.09009009 5.73223141-6.09009009 3.43140494 0 5.71239664 2.51801802 5.71239664 6.09009009 0 2.32282282-1.1107438 4.02102101-2.1024793 4.99699701v.0780781h2.3801653v1.8348348h-4.95867769v-1.6396396c1.40826449-1.1906907 2.32066119-2.75225229 2.32066119-5.07507511 0-2.4984985-1.2495868-4.31381382-3.35206614-4.31381382s-3.37190083 1.81531532-3.37190083 4.31381382c0 2.32282282.91239669 3.88438441 2.32066116 5.07507511v1.6396396z"/></svg>',items:["&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&divide;","&hellip;","&trade;","&bull;","&rarr;","&asymp;","$","&euro;","&cent;","&pound;","&yen;","&iexcl;","&curren;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup1;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;"]},start:function(){var a={title:"## specialchars.special-chars ##",icon:this.opts.specialchars.icon,command:"specialchars.popup",blocks:{all:"editable"}};this.app.toolbar.add("specialchars",a)},popup:function(a,e){for(var c={},i=this.opts.specialchars.items,r=0;r<i.length;r++)c[r]={html:this.dom("<div>").addClass(this.prefix+"-popup-item").html(i[r]),command:"specialchars.insert",params:{character:i[r]}};this.app.popup.create("specialchars",{type:"grid",width:"352px",items:c}),this.app.popup.open({button:e})},insert:function(a){this.app.popup.close(),this.app.insertion.insertHtml(a.character,"after")}});