wysiwyg-rails 2.9.5 → 2.9.6.pre.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE +21 -21
  3. data/README.md +127 -127
  4. data/Rakefile +5 -5
  5. data/app/assets/javascripts/froala_editor.min.js +7 -7
  6. data/app/assets/javascripts/froala_editor.pkgd.min.js +7 -7
  7. data/app/assets/javascripts/languages/ar.js +336 -336
  8. data/app/assets/javascripts/languages/bs.js +336 -336
  9. data/app/assets/javascripts/languages/cs.js +336 -336
  10. data/app/assets/javascripts/languages/da.js +333 -333
  11. data/app/assets/javascripts/languages/de.js +336 -336
  12. data/app/assets/javascripts/languages/el.js +342 -342
  13. data/app/assets/javascripts/languages/en_ca.js +280 -280
  14. data/app/assets/javascripts/languages/en_gb.js +280 -280
  15. data/app/assets/javascripts/languages/es.js +318 -318
  16. data/app/assets/javascripts/languages/et.js +336 -336
  17. data/app/assets/javascripts/languages/fa.js +336 -336
  18. data/app/assets/javascripts/languages/fi.js +336 -336
  19. data/app/assets/javascripts/languages/fr.js +336 -336
  20. data/app/assets/javascripts/languages/he.js +336 -336
  21. data/app/assets/javascripts/languages/hr.js +336 -336
  22. data/app/assets/javascripts/languages/hu.js +336 -336
  23. data/app/assets/javascripts/languages/id.js +337 -337
  24. data/app/assets/javascripts/languages/it.js +336 -336
  25. data/app/assets/javascripts/languages/ja.js +336 -336
  26. data/app/assets/javascripts/languages/ko.js +336 -336
  27. data/app/assets/javascripts/languages/ku.js +329 -329
  28. data/app/assets/javascripts/languages/me.js +336 -336
  29. data/app/assets/javascripts/languages/nb.js +336 -336
  30. data/app/assets/javascripts/languages/nl.js +336 -336
  31. data/app/assets/javascripts/languages/pl.js +336 -336
  32. data/app/assets/javascripts/languages/pt_br.js +336 -336
  33. data/app/assets/javascripts/languages/pt_pt.js +336 -336
  34. data/app/assets/javascripts/languages/ro.js +336 -336
  35. data/app/assets/javascripts/languages/ru.js +336 -336
  36. data/app/assets/javascripts/languages/sk.js +336 -336
  37. data/app/assets/javascripts/languages/sr.js +336 -336
  38. data/app/assets/javascripts/languages/sv.js +336 -336
  39. data/app/assets/javascripts/languages/th.js +336 -336
  40. data/app/assets/javascripts/languages/tr.js +336 -336
  41. data/app/assets/javascripts/languages/uk.js +336 -336
  42. data/app/assets/javascripts/languages/vi.js +276 -276
  43. data/app/assets/javascripts/languages/zh_cn.js +336 -336
  44. data/app/assets/javascripts/languages/zh_tw.js +336 -336
  45. data/app/assets/javascripts/plugins/align.min.js +6 -6
  46. data/app/assets/javascripts/plugins/char_counter.min.js +6 -6
  47. data/app/assets/javascripts/plugins/code_beautifier.min.js +6 -6
  48. data/app/assets/javascripts/plugins/code_view.min.js +7 -7
  49. data/app/assets/javascripts/plugins/colors.min.js +7 -7
  50. data/app/assets/javascripts/plugins/draggable.min.js +7 -7
  51. data/app/assets/javascripts/plugins/emoticons.min.js +6 -6
  52. data/app/assets/javascripts/plugins/entities.min.js +6 -6
  53. data/app/assets/javascripts/plugins/file.min.js +6 -6
  54. data/app/assets/javascripts/plugins/font_family.min.js +6 -6
  55. data/app/assets/javascripts/plugins/font_size.min.js +6 -6
  56. data/app/assets/javascripts/plugins/forms.min.js +6 -6
  57. data/app/assets/javascripts/plugins/fullscreen.min.js +6 -6
  58. data/app/assets/javascripts/plugins/help.min.js +6 -6
  59. data/app/assets/javascripts/plugins/image.min.js +7 -7
  60. data/app/assets/javascripts/plugins/image_manager.min.js +6 -6
  61. data/app/assets/javascripts/plugins/inline_class.min.js +6 -6
  62. data/app/assets/javascripts/plugins/inline_style.min.js +6 -6
  63. data/app/assets/javascripts/plugins/line_breaker.min.js +7 -7
  64. data/app/assets/javascripts/plugins/line_height.min.js +7 -7
  65. data/app/assets/javascripts/plugins/link.min.js +7 -7
  66. data/app/assets/javascripts/plugins/lists.min.js +7 -7
  67. data/app/assets/javascripts/plugins/paragraph_format.min.js +6 -6
  68. data/app/assets/javascripts/plugins/paragraph_style.min.js +6 -6
  69. data/app/assets/javascripts/plugins/print.min.js +6 -6
  70. data/app/assets/javascripts/plugins/quick_insert.min.js +6 -6
  71. data/app/assets/javascripts/plugins/quote.min.js +6 -6
  72. data/app/assets/javascripts/plugins/save.min.js +6 -6
  73. data/app/assets/javascripts/plugins/special_characters.min.js +6 -6
  74. data/app/assets/javascripts/plugins/table.min.js +7 -7
  75. data/app/assets/javascripts/plugins/url.min.js +6 -6
  76. data/app/assets/javascripts/plugins/video.min.js +7 -7
  77. data/app/assets/javascripts/plugins/word_paste.min.js +7 -7
  78. data/app/assets/javascripts/third_party/embedly.min.js +6 -6
  79. data/app/assets/javascripts/third_party/font_awesome.min.js +6 -6
  80. data/app/assets/javascripts/third_party/image_aviary.min.js +6 -6
  81. data/app/assets/javascripts/third_party/image_tui.min.js +6 -6
  82. data/app/assets/javascripts/third_party/spell_checker.min.js +6 -6
  83. data/app/assets/stylesheets/froala_editor.css +1334 -1334
  84. data/app/assets/stylesheets/froala_editor.min.css +7 -7
  85. data/app/assets/stylesheets/froala_editor.pkgd.css +2983 -2984
  86. data/app/assets/stylesheets/froala_editor.pkgd.min.css +7 -7
  87. data/app/assets/stylesheets/froala_style.css +448 -448
  88. data/app/assets/stylesheets/froala_style.min.css +6 -6
  89. data/app/assets/stylesheets/plugins/char_counter.css +57 -57
  90. data/app/assets/stylesheets/plugins/char_counter.min.css +6 -6
  91. data/app/assets/stylesheets/plugins/code_view.css +112 -113
  92. data/app/assets/stylesheets/plugins/code_view.min.css +7 -7
  93. data/app/assets/stylesheets/plugins/colors.css +155 -155
  94. data/app/assets/stylesheets/plugins/colors.min.css +6 -6
  95. data/app/assets/stylesheets/plugins/draggable.css +43 -43
  96. data/app/assets/stylesheets/plugins/draggable.min.css +6 -6
  97. data/app/assets/stylesheets/plugins/emoticons.css +42 -42
  98. data/app/assets/stylesheets/plugins/emoticons.min.css +6 -6
  99. data/app/assets/stylesheets/plugins/file.css +146 -146
  100. data/app/assets/stylesheets/plugins/file.min.css +6 -6
  101. data/app/assets/stylesheets/plugins/fullscreen.css +35 -35
  102. data/app/assets/stylesheets/plugins/fullscreen.min.css +6 -6
  103. data/app/assets/stylesheets/plugins/help.css +52 -52
  104. data/app/assets/stylesheets/plugins/help.min.css +6 -6
  105. data/app/assets/stylesheets/plugins/image.css +244 -244
  106. data/app/assets/stylesheets/plugins/image.min.css +6 -6
  107. data/app/assets/stylesheets/plugins/image_manager.css +268 -268
  108. data/app/assets/stylesheets/plugins/image_manager.min.css +6 -6
  109. data/app/assets/stylesheets/plugins/line_breaker.css +37 -37
  110. data/app/assets/stylesheets/plugins/line_breaker.min.css +6 -6
  111. data/app/assets/stylesheets/plugins/quick_insert.css +70 -70
  112. data/app/assets/stylesheets/plugins/quick_insert.min.css +6 -6
  113. data/app/assets/stylesheets/plugins/special_characters.css +51 -51
  114. data/app/assets/stylesheets/plugins/special_characters.min.css +6 -6
  115. data/app/assets/stylesheets/plugins/table.css +181 -181
  116. data/app/assets/stylesheets/plugins/table.min.css +6 -6
  117. data/app/assets/stylesheets/plugins/video.css +231 -231
  118. data/app/assets/stylesheets/plugins/video.min.css +6 -6
  119. data/app/assets/stylesheets/themes/dark.css +1330 -1327
  120. data/app/assets/stylesheets/themes/dark.min.css +7 -7
  121. data/app/assets/stylesheets/themes/gray.css +1330 -1327
  122. data/app/assets/stylesheets/themes/gray.min.css +7 -7
  123. data/app/assets/stylesheets/themes/red.css +1330 -1327
  124. data/app/assets/stylesheets/themes/red.min.css +7 -7
  125. data/app/assets/stylesheets/themes/royal.css +1330 -1327
  126. data/app/assets/stylesheets/themes/royal.min.css +7 -7
  127. data/app/assets/stylesheets/third_party/embedly.css +65 -65
  128. data/app/assets/stylesheets/third_party/embedly.min.css +6 -6
  129. data/app/assets/stylesheets/third_party/font_awesome.css +50 -50
  130. data/app/assets/stylesheets/third_party/font_awesome.min.css +6 -6
  131. data/app/assets/stylesheets/third_party/image_tui.css +42 -42
  132. data/app/assets/stylesheets/third_party/image_tui.min.css +6 -6
  133. data/app/assets/stylesheets/third_party/spell_checker.css +72 -72
  134. data/app/assets/stylesheets/third_party/spell_checker.min.css +6 -6
  135. data/lib/wysiwyg-rails.rb +1 -1
  136. data/lib/wysiwyg-rails/engine.rb +16 -16
  137. data/lib/wysiwyg-rails/version.rb +5 -5
  138. metadata +7 -8
@@ -1,7 +1,7 @@
1
- /*!
2
- * froala_editor v2.9.5 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2019 Froala Labs
5
- */
6
-
1
+ /*!
2
+ * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2019 Froala Labs
5
+ */
6
+
7
7
  !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,n){return n===undefined&&(n="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(n)}:t(window.jQuery)}(function(f){f.FE.URLRegEx="(^| |\\u00A0)("+f.FE.LinkRegEx+"|([a-z0-9+-_.]{1,}@[a-z0-9+-_.]{1,}\\.[a-z0-9+-_]{1,}))$",f.FE.PLUGINS.url=function(i){var l=null;function n(e,n,t){for(var r="";t.length&&"."==t[t.length-1];)r+=".",t=t.substring(0,t.length-1);var o=t;if(i.opts.linkConvertEmailAddress)i.helpers.isEmail(o)&&!/^mailto:.*/i.test(o)&&(o="mailto:"+o);else if(i.helpers.isEmail(o))return n+t;return/^((http|https|ftp|ftps|mailto|tel|sms|notes|data)\:)/i.test(o)||(o="//"+o),(n||"")+"<a"+(i.opts.linkAlwaysBlank?' target="_blank"':"")+(l?' rel="'+l+'"':"")+' data-fr-linked="true" href="'+o+'">'+t.replace(/&amp;/g,"&").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")+"</a>"+r}function a(){return new RegExp(f.FE.URLRegEx,"gi")}function s(e){return i.opts.linkAlwaysNoFollow&&(l="nofollow"),i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(l?l+=" noopener":l="noopener"),i.opts.linkNoReferrer&&(l?l+=" noreferrer":l="noreferrer")),e.replace(a(),n)}function p(e){var n=e.split(" ");return n[n.length-1]}function t(){var n=i.selection.ranges(0),t=n.startContainer;if(!t||t.nodeType!==Node.TEXT_NODE||n.startOffset!==(t.textContent||"").length)return!1;if(function e(n){return!!n&&("A"===n.tagName||!(!n.parentNode||n.parentNode==i.el)&&e(n.parentNode))}(t))return!1;if(a().test(p(t.textContent))){f(t).before(s(t.textContent));var r=f(t.parentNode).find("a[data-fr-linked]");r.removeAttr("data-fr-linked"),t.parentNode.removeChild(t),i.events.trigger("url.linked",[r.get(0)])}else if(t.textContent.split(" ").length<=2&&t.previousSibling&&"A"===t.previousSibling.tagName){var o=t.previousSibling.innerText+t.textContent;a().test(p(o))&&(f(t.previousSibling).replaceWith(s(o)),t.parentNode.removeChild(t))}}return{_init:function(){i.events.on("keypress",function(e){!i.selection.isCollapsed()||"."!=e.key&&")"!=e.key&&"("!=e.key||t()},!0),i.events.on("keydown",function(e){var n=e.which;!i.selection.isCollapsed()||n!=f.FE.KEYCODE.ENTER&&n!=f.FE.KEYCODE.SPACE||t()},!0),i.events.on("paste.beforeCleanup",function(e){if(i.helpers.isURL(e)){var n=null;return i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(n?n+=" noopener":n="noopener"),i.opts.linkNoReferrer&&(n?n+=" noreferrer":n="noreferrer")),"<a"+(i.opts.linkAlwaysBlank?' target="_blank"':"")+(n?' rel="'+n+'"':"")+' href="'+e+'" >'+e+"</a>"}})}}}});
@@ -1,7 +1,7 @@
1
- /*!
2
- * froala_editor v2.9.5 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2019 Froala Labs
5
- */
6
-
7
- !function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),i(t)}:i(window.jQuery)}(function(Q){Q.extend(Q.FE.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Q.extend(Q.FE.DEFAULTS,{videoAllowedTypes:["mp4","webm","ogg"],videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:["videoReplace","videoRemove","|","videoDisplay","videoAlign","videoSize"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},videoUploadToS3:!1,videoUploadURL:null}),Q.FE.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'<iframe width="640" height="360" src="{url}&wmode=opaque" frameborder="0" allowfullscreen></iframe>',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'<iframe width="640" height="360" src="{url}?format=embed" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vidyard"}],Q.FE.VIDEO_EMBED_REGEX=/^\W*((<iframe(.|\n)*>(\s|\n)*<\/iframe>)|(<embed(.|\n)*>))\W*$/i,Q.FE.PLUGINS.video=function(p){var a,f,v,u,o,i,d="https://i.froala.com/upload",l=2,c=3,h=4,g=5,m=6,r={};function b(){var e=p.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function s(){var e=p.popups.get("video.edit");if(e||(e=function(){var e="";if(0<p.opts.videoEditButtons.length){p.opts.videoResponsive&&(-1<p.opts.videoEditButtons.indexOf("videoSize")&&p.opts.videoEditButtons.splice(p.opts.videoEditButtons.indexOf("videoSize"),1),-1<p.opts.videoEditButtons.indexOf("videoDisplay")&&p.opts.videoEditButtons.splice(p.opts.videoEditButtons.indexOf("videoDisplay"),1),-1<p.opts.videoEditButtons.indexOf("videoAlign")&&p.opts.videoEditButtons.splice(p.opts.videoEditButtons.indexOf("videoAlign"),1)),e+='<div class="fr-buttons">',e+=p.button.buildList(p.opts.videoEditButtons);var t={buttons:e+="</div>"},i=p.popups.create("video.edit",t);return p.events.$on(p.$wp,"scroll.video-edit",function(){u&&p.popups.isVisible("video.edit")&&(p.events.disableBlur(),R(u))}),i}return!1}()),e){p.popups.setContainer("video.edit",p.$sc),p.popups.refresh("video.edit");var t=u.find("iframe, embed, video"),i=t.offset().left+t.outerWidth()/2,o=t.offset().top+t.outerHeight();p.popups.show("video.edit",i,o,t.outerHeight())}}function n(e){if(e)return p.popups.onRefresh("video.insert",b),p.popups.onHide("image.insert",W),!0;var t="";p.opts.videoUpload||-1===p.opts.videoInsertButtons.indexOf("videoUpload")||p.opts.videoInsertButtons.splice(p.opts.videoInsertButtons.indexOf("videoUpload"),1);var i=p.button.buildList(p.opts.videoInsertButtons);""!==i&&(t='<div class="fr-buttons">'+i+"</div>");var o,r="",s=p.opts.videoInsertButtons.indexOf("videoUpload"),n=p.opts.videoInsertButtons.indexOf("videoByURL"),a=p.opts.videoInsertButtons.indexOf("videoEmbed");0<=n&&(o=" fr-active",(s<n&&0<=s||a<n&&0<=a)&&(o=""),r='<div class="fr-video-by-url-layer fr-layer'+o+'" id="fr-video-by-url-layer-'+p.id+'"><div class="fr-input-line"><input id="fr-video-by-url-layer-text-'+p.id+'" type="text" placeholder="'+p.language.translate("Paste in a video URL")+'" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoInsertByURL" tabIndex="2" role="button">'+p.language.translate("Insert")+"</button></div></div>");var d="";0<=a&&(o=" fr-active",(s<a&&0<=s||n<a&&0<=n)&&(o=""),d='<div class="fr-video-embed-layer fr-layer'+o+'" id="fr-video-embed-layer-'+p.id+'"><div class="fr-input-line"><textarea id="fr-video-embed-layer-text'+p.id+'" type="text" placeholder="'+p.language.translate("Embedded Code")+'" tabIndex="1" aria-required="true" rows="5"></textarea></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoInsertEmbed" tabIndex="2" role="button">'+p.language.translate("Insert")+"</button></div></div>");var l="";0<=s&&(o=" fr-active",(a<s&&0<=a||n<s&&0<=n)&&(o=""),l='<div class="fr-video-upload-layer fr-layer'+o+'" id="fr-video-upload-layer-'+p.id+'"><strong>'+p.language.translate("Drop video")+"</strong><br>("+p.language.translate("or click")+')<div class="fr-form"><input type="file" accept="video/'+p.opts.videoAllowedTypes.join(", video/").toLowerCase()+'" tabIndex="-1" aria-labelledby="fr-video-upload-layer-'+p.id+'" role="button"></div></div>');var f={buttons:t,by_url_layer:r,embed_layer:d,upload_layer:l,progress_bar:'<div class="fr-video-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="videoDismissError" tabIndex="2" role="button">OK</button></div></div>'},v=p.popups.create("video.insert",f);return function(o){p.events.$on(o,"dragover dragenter",".fr-video-upload-layer",function(){return Q(this).addClass("fr-drop"),!1},!0),p.events.$on(o,"dragleave dragend",".fr-video-upload-layer",function(){return Q(this).removeClass("fr-drop"),!1},!0),p.events.$on(o,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),Q(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var i=o.data("instance")||p;i.events.disableBlur(),i.video.upload(t.files),i.events.enableBlur()}},!0),p.helpers.isIOS()&&p.events.$on(o,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){Q(this).trigger("click")},!0);p.events.$on(o,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=o.data("instance")||p;e.events.disableBlur(),o.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}Q(this).val("")},!0)}(v),v}function y(e){p.events.focus(!0),p.selection.restore();var t=!1;u&&(j(),t=!0),p.html.insert('<span contenteditable="false" draggable="true" class="fr-jiv fr-video">'+e+"</span>",!1,p.opts.videoSplitHTML),p.popups.hide("video.insert");var i=p.$el.find(".fr-jiv");i.removeClass("fr-jiv"),i.toggleClass("fr-rv",p.opts.videoResponsive),q(i,p.opts.videoDefaultDisplay,p.opts.videoDefaultAlign),i.toggleClass("fr-draggable",p.opts.videoMove),p.events.trigger(t?"video.replaced":"video.inserted",[i])}function w(){var e=Q(this);p.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),R(e.parent()),p.events.trigger("video.loaded",[e.parent()])}function E(a,e,d,l,f){p.edit.off(),x("Loading video"),e&&(a=p.helpers.sanitizeURL(a));C("Loading video"),function(){var e,t;if(l){p.undo.canDo()||l.find("video").hasClass("fr-uploading")||p.undo.saveStep();var i=l.find("video").data("fr-old-src"),o=l.data("fr-replaced");l.data("fr-replaced",!1),p.$wp?((e=l.clone()).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),i&&l.find("video").attr("src",i),l.replaceWith(e)):e=l;for(var r=e.find("video").get(0).attributes,s=0;s<r.length;s++){var n=r[s];0===n.nodeName.indexOf("data-")&&e.find("video").removeAttr(n.nodeName)}if(void 0!==d)for(t in d)d.hasOwnProperty(t)&&"link"!=t&&e.find("video").attr("data-"+t,d[t]);e.find("video").on("canplay",w),e.find("video").attr("src",a),p.edit.on(),O(),p.undo.saveStep(),p.$el.blur(),p.events.trigger(o?"video.replaced":"video.inserted",[e,f])}else e=function(e,t,i){var o,r="";if(t&&void 0!==t)for(o in t)t.hasOwnProperty(o)&&"link"!=o&&(r+=" data-"+o+'="'+t[o]+'"');var s=p.opts.videoDefaultWidth;s&&"auto"!=s&&(s+="px");var n=Q('<span contenteditable="false" draggable="true" class="fr-video fr-dv'+p.opts.videoDefaultDisplay[0]+("center"!=p.opts.videoDefaultAlign?" fr-fv"+p.opts.videoDefaultAlign[0]:"")+'"><video src="'+e+'" '+r+(s?' style="width: '+s+';" ':"")+" controls>"+p.language.translate("Your browser does not support HTML5 video.")+"</video></span>");n.toggleClass("fr-draggable",p.opts.videoMove),p.edit.on(),p.events.focus(!0),p.selection.restore(),p.undo.saveStep(),p.opts.videoSplitHTML?p.markers.split():p.markers.insert(),p.html.wrap();var a=p.$el.find(".fr-marker");return p.node.isLastSibling(a)&&a.parent().hasClass("fr-deletable")&&a.insertAfter(a.parent()),a.replaceWith(n),p.selection.clear(),n.find("video").get(0).readyState>n.find("video").get(0).HAVE_FUTURE_DATA||p.helpers.isIOS()?i.call(n.find("video").get(0)):n.find("video").on("canplaythrough load",i),n}(a,d,w),O(),p.undo.saveStep(),p.events.trigger("video.inserted",[e,f])}()}function C(e){var t=p.popups.get("video.insert");if(t||(t=n()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),u){var i=u.find("video");p.popups.setContainer("video.insert",p.$sc);var o=i.offset().left+i.width()/2,r=i.offset().top+i.height();p.popups.show("video.insert",o,r,i.outerHeight())}void 0===e&&x(p.language.translate("Uploading"),0)}function A(e){var t=p.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||p.$el.find("video.fr-error").length)){if(p.events.focus(),p.$el.find("video.fr-error").length&&(p.$el.find("video.fr-error").parent().remove(),p.undo.saveStep(),p.undo.run(),p.undo.dropRedo()),!p.$wp&&u){var i=u;P(!0),p.selection.setAfter(i.find("video").get(0)),p.selection.restore()}p.popups.hide("video.insert")}}function x(e,t){var i=p.popups.get("video.insert");if(i){var o=i.find(".fr-video-progress-bar-layer");o.find("h3").text(e+(t?" "+t+"%":"")),o.removeClass("fr-error"),t?(o.find("div").removeClass("fr-indeterminate"),o.find("div > span").css("width",t+"%")):o.find("div").addClass("fr-indeterminate")}}function _(e){C();var t=p.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var i=t.find("h3");i.text(e),p.events.disableBlur(),i.focus()}function R(e){z.call(e.get(0))}function S(e){x("Loading video");var t=this.status,i=this.response,o=this.responseXML,r=this.responseText;try{if(p.opts.videoUploadToS3)if(201==t){var s=function(e){try{var t=Q(e).find("Location").text(),i=Q(e).find("Key").text();return!1===p.events.trigger("video.uploadedToS3",[t,i,e],!0)?(p.edit.on(),!1):t}catch(o){return V(h,e),!1}}(o);s&&E(s,!1,[],e,i||o)}else V(h,i||o);else if(200<=t&&t<300){var n=function(e){try{if(!1===p.events.trigger("video.uploaded",[e],!0))return p.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(V(l,e),!1)}catch(i){return V(h,e),!1}}(r);n&&E(n.link,!1,n,e,i||r)}else V(c,i||r)}catch(a){V(h,i||r)}}function D(){V(h,this.response||this.responseText||this.responseXML)}function U(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;x(p.language.translate("Uploading"),t)}}function B(){p.edit.on(),A(!0)}function I(e){if(!p.core.sameInstance(v))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),i=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!i)return!1;if("mousedown"==e.type){var o=p.$oel.get(0).ownerDocument,r=o.defaultView||o.parentWindow,s=!1;try{s=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(n){}s&&r.frameElement&&(t+=p.helpers.getPX(Q(r.frameElement).offset().left)+r.frameElement.clientLeft,i=e.clientY+p.helpers.getPX(Q(r.frameElement).offset().top)+r.frameElement.clientTop)}p.undo.canDo()||p.undo.saveStep(),(f=Q(this)).data("start-x",t),f.data("start-y",i),a.show(),p.popups.hideAll(),T()}function $(e){if(!p.core.sameInstance(v))return!0;if(f){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),i=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!i)return!1;var o=f.data("start-x"),r=f.data("start-y");f.data("start-x",t),f.data("start-y",i);var s=t-o,n=i-r,a=u.find("iframe, embed, video"),d=a.width(),l=a.height();(f.hasClass("fr-hnw")||f.hasClass("fr-hsw"))&&(s=0-s),(f.hasClass("fr-hnw")||f.hasClass("fr-hne"))&&(n=0-n),a.css("width",d+s),a.css("height",l+n),a.removeAttr("width"),a.removeAttr("height"),L()}}function k(e){if(!p.core.sameInstance(v))return!0;f&&u&&(e&&e.stopPropagation(),f=null,a.hide(),L(),s(),p.undo.saveStep())}function t(e){return'<div class="fr-handler fr-h'+e+'"></div>'}function F(e,t,i,o){return e.pageX=t,e.pageY=t,I.call(this,e),e.pageX=e.pageX+i*Math.floor(Math.pow(1.1,o)),e.pageY=e.pageY+i*Math.floor(Math.pow(1.1,o)),$.call(this,e),k.call(this,e),++o}function O(){var e,t=Array.prototype.slice.call(p.el.querySelectorAll("video, .fr-video > *")),i=[];for(e=0;e<t.length;e++)i.push(t[e].getAttribute("src")),Q(t[e]).toggleClass("fr-draggable",p.opts.videoMove),""===t[e].getAttribute("class")&&t[e].removeAttribute("class"),""===t[e].getAttribute("style")&&t[e].removeAttribute("style");if(o)for(e=0;e<o.length;e++)i.indexOf(o[e].getAttribute("src"))<0&&p.events.trigger("video.removed",[Q(o[e])]);o=t}function L(){v||function(){var e;if(p.shared.$video_resizer?(v=p.shared.$video_resizer,a=p.shared.$vid_overlay,p.events.on("destroy",function(){v.removeClass("fr-active").appendTo(Q("body:first"))},!0)):(p.shared.$video_resizer=Q('<div class="fr-video-resizer"></div>'),v=p.shared.$video_resizer,p.events.$on(v,"mousedown",function(e){e.stopPropagation()},!0),p.opts.videoResize&&(v.append(t("nw")+t("ne")+t("sw")+t("se")),p.shared.$vid_overlay=Q('<div class="fr-video-overlay"></div>'),a=p.shared.$vid_overlay,e=v.get(0).ownerDocument,Q(e).find("body:first").append(a))),p.events.on("shared.destroy",function(){v.html("").removeData().remove(),v=null,p.opts.videoResize&&(a.remove(),a=null)},!0),p.helpers.isMobile()||p.events.$on(Q(p.o_win),"resize.video",function(){P(!0)}),p.opts.videoResize){e=v.get(0).ownerDocument,p.events.$on(v,p._mousedown,".fr-handler",I),p.events.$on(Q(e),p._mousemove,$),p.events.$on(Q(e.defaultView||e.parentWindow),p._mouseup,k),p.events.$on(a,"mouseleave",k);var o=1,r=null,s=0;p.events.on("keydown",function(e){if(u){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,i=e.which;(i!==r||200<e.timeStamp-s)&&(o=1),(i==Q.FE.KEYCODE.EQUALS||p.browser.mozilla&&i==Q.FE.KEYCODE.FF_EQUALS)&&t&&!e.altKey?o=F.call(this,e,1,1,o):(i==Q.FE.KEYCODE.HYPHEN||p.browser.mozilla&&i==Q.FE.KEYCODE.FF_HYPHEN)&&t&&!e.altKey&&(o=F.call(this,e,2,-1,o)),r=i,s=e.timeStamp}}),p.events.on("keyup",function(){o=1})}}(),(p.$wp||p.$sc).append(v),v.data("instance",p);var e=u.find("iframe, embed, video");v.css("top",(p.opts.iframe?e.offset().top-1:e.offset().top-p.$wp.offset().top-1)+p.$wp.scrollTop()).css("left",(p.opts.iframe?e.offset().left-1:e.offset().left-p.$wp.offset().left-1)+p.$wp.scrollLeft()).css("width",e.get(0).getBoundingClientRect().width).css("height",e.get(0).getBoundingClientRect().height).addClass("fr-active")}function z(e){if(e&&"touchend"==e.type&&i)return!0;if(e&&p.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1;if(p.edit.isDisabled())return!1;for(var t=0;t<Q.FE.INSTANCES.length;t++)Q.FE.INSTANCES[t]!=p&&Q.FE.INSTANCES[t].events.trigger("video.hideResizer");p.toolbar.disable(),p.helpers.isMobile()&&(p.events.disableBlur(),p.$el.blur(),p.events.enableBlur()),p.$el.find(".fr-video.fr-active").removeClass("fr-active"),(u=Q(this)).addClass("fr-active"),p.opts.iframe&&p.size.syncIframe(),Z(),L(),s(),p.selection.clear(),p.button.bulkRefresh(),p.events.trigger("image.hideResizer")}function P(e){u&&(p.shared.vid_exit_flag||!0===e)&&(v.removeClass("fr-active"),p.toolbar.enable(),u.removeClass("fr-active"),u=null,T())}function e(){p.shared.vid_exit_flag=!0}function T(){p.shared.vid_exit_flag=!1}function M(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var i=t.files[0];if(i&&i.type&&-1!==i.type.indexOf("video")){if(!p.opts.videoUpload)return e.preventDefault(),e.stopPropagation(),!1;p.markers.remove(),p.markers.insertAtPoint(e.originalEvent),p.$el.find(".fr-marker").replaceWith(Q.FE.MARKERS),p.popups.hideAll();var o=p.popups.get("video.insert");return o||(o=n()),p.popups.setContainer("video.insert",p.$sc),p.popups.show("video.insert",e.originalEvent.pageX,e.originalEvent.pageY),C(),0<=p.opts.videoAllowedTypes.indexOf(i.type.replace(/video\//g,""))?N(t.files):V(m),e.preventDefault(),e.stopPropagation(),!1}}}function N(e){if(void 0!==e&&0<e.length){if(!1===p.events.trigger("video.beforeUpload",[e]))return!1;var t,i=e[0];if((null===p.opts.videoUploadURL||p.opts.videoUploadURL==d)&&!p.opts.videoUploadToS3)return function(o){u&&u.find("iframe")&&u.find("iframe").length&&j();var r=new FileReader;r.onload=function(){r.result;for(var e=atob(r.result.split(",")[1]),t=[],i=0;i<e.length;i++)t.push(e.charCodeAt(i));E(window.URL.createObjectURL(new Blob([new Uint8Array(t)],{type:o.type})),!1,null,u)},C(),r.readAsDataURL(o)}(i),!1;if(i.size>p.opts.videoMaxSize)return V(g),!1;if(p.opts.videoAllowedTypes.indexOf(i.type.replace(/video\//g,""))<0)return V(m),!1;if(p.drag_support.formdata&&(t=p.drag_support.formdata?new FormData:null),t){var o;if(!1!==p.opts.videoUploadToS3)for(o in t.append("key",p.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(i.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",i.type),p.opts.videoUploadToS3.params)p.opts.videoUploadToS3.params.hasOwnProperty(o)&&t.append(o,p.opts.videoUploadToS3.params[o]);for(o in p.opts.videoUploadParams)p.opts.videoUploadParams.hasOwnProperty(o)&&t.append(o,p.opts.videoUploadParams[o]);t.append(p.opts.videoUploadParam,i);var r=p.opts.videoUploadURL;p.opts.videoUploadToS3&&(r=p.opts.videoUploadToS3.uploadURL?p.opts.videoUploadToS3.uploadURL:"https://"+p.opts.videoUploadToS3.region+".amazonaws.com/"+p.opts.videoUploadToS3.bucket);var s=p.core.getXHR(r,p.opts.videoUploadMethod);s.onload=function(){S.call(s,u)},s.onerror=D,s.upload.onprogress=U,s.onabort=B,C(),p.events.disableBlur(),p.edit.off(),p.events.enableBlur();var n=p.popups.get("video.insert");n&&n.off("abortUpload").on("abortUpload",function(){4!=s.readyState&&s.abort()}),s.send(t)}}}function V(e,t){p.edit.on(),u&&u.find("video").addClass("fr-error"),_(p.language.translate("Something went wrong. Please try again.")),p.events.trigger("video.error",[{code:e,message:r[e]},t])}function Y(){if(u){var e=p.popups.get("video.size"),t=u.find("iframe, embed, video");e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function H(e){if(e)return p.popups.onRefresh("video.size",Y),!0;var t={buttons:'<div class="fr-buttons">'+p.button.buildList(p.opts.videoSizeButtons)+"</div>",size_layer:'<div class="fr-video-size-layer fr-layer fr-active" id="fr-video-size-layer-'+p.id+'"><div class="fr-video-group"><div class="fr-input-line"><input id="fr-video-size-layer-width-'+p.id+'" type="text" name="width" placeholder="'+p.language.translate("Width")+'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-video-size-layer-height-'+p.id+'" type="text" name="height" placeholder="'+p.language.translate("Height")+'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoSetSize" tabIndex="2" role="button">'+p.language.translate("Update")+"</button></div></div>"},i=p.popups.create("video.size",t);return p.events.$on(p.$wp,"scroll",function(){u&&p.popups.isVisible("video.size")&&(p.events.disableBlur(),R(u))}),i}function X(e){if(void 0===e&&(e=u),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function K(e){void 0===e&&(e=u);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function j(){if(u&&!1!==p.events.trigger("video.beforeRemove",[u])){var e=u;p.popups.hideAll(),P(!0),p.selection.setBefore(e.get(0))||p.selection.setAfter(e.get(0)),e.remove(),p.selection.restore(),p.html.fillEmptyBlocks()}}function W(){A()}function q(e,t,i){!p.opts.htmlUntouched&&p.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv"+i[0]+" fr-dv"+t[0])):"inline"==t?(e.css({display:"inline-block"}),"center"==i?e.css({"float":"none"}):"left"==i?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==i?e.css({textAlign:"left"}):"right"==i?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function G(){p.$el.find("video").filter(function(){return 0===Q(this).parents("span.fr-video").length}).wrap('<span class="fr-video" contenteditable="false"></span>'),p.$el.find("embed, iframe").filter(function(){if(p.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0<Q(this).parents("span.fr-video").length)return!1;for(var e=Q(this).attr("src"),t=0;t<Q.FE.VIDEO_PROVIDERS.length;t++){var i=Q.FE.VIDEO_PROVIDERS[t];if(i.test_regex.test(e)&&new RegExp(p.opts.videoAllowedProviders.join("|")).test(i.provider))return!0}return!1}).map(function(){return 0===Q(this).parents("object").length?this:Q(this).parents("object").get(0)}).wrap('<span class="fr-video" contenteditable="false"></span>');for(var e,t,i=p.$el.find("span.fr-video, video"),o=0;o<i.length;o++){var r=Q(i[o]);!p.opts.htmlUntouched&&p.opts.useClasses?((t=r).hasClass("fr-dvi")||t.hasClass("fr-dvb")||(t.addClass("fr-fv"+X(t)[0]),t.addClass("fr-dv"+K(t)[0])),p.opts.videoTextNear||r.removeClass("fr-dvi").addClass("fr-dvb")):p.opts.htmlUntouched||p.opts.useClasses||(q(e=r,e.hasClass("fr-dvb")?"block":e.hasClass("fr-dvi")?"inline":null,e.hasClass("fr-fvl")?"left":e.hasClass("fr-fvr")?"right":X(e)),e.removeClass("fr-dvb fr-dvi fr-fvr fr-fvl"))}i.toggleClass("fr-draggable",p.opts.videoMove)}function Z(){if(u){p.selection.clear();var e=p.doc.createRange();e.selectNode(u.get(0)),p.selection.get().addRange(e)}}return r[1]="Video cannot be loaded from the passed link.",r[l]="No link in upload response.",r[c]="Error during file upload.",r[h]="Parsing response failed.",r[g]="File is too large.",r[m]="Video file type is invalid.",r[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",p.shared.vid_exit_flag=!1,{_init:function(){p.opts.videoResponsive&&(p.opts.videoResize=!1),p.events.on("drop",M,!0),p.events.on("mousedown window.mousedown",e),p.events.on("window.touchmove",T),p.events.on("mouseup window.mouseup",P),p.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&P()}),p.events.on("video.hideResizer commands.undo commands.redo element.dropped",function(){P(!0)}),p.helpers.isMobile()&&(p.events.$on(p.$el,"touchstart","span.fr-video",function(){i=!1}),p.events.$on(p.$el,"touchmove",function(){i=!0})),p.events.on("html.set",G),G(),p.events.$on(p.$el,"mousedown","span.fr-video",function(e){e.stopPropagation(),(p.browser.msie||p.browser.edge)&&(e.target.dragDrop(),z.call(this,e))}),p.events.$on(p.$el,"click touchend","span.fr-video",function(e){if("false"==Q(this).parents("[contenteditable]:not(.fr-element):not(.fr-img-caption):not(body):first").attr("contenteditable"))return!0;z.call(this,e)}),p.events.on("keydown",function(e){var t=e.which;return!u||t!=Q.FE.KEYCODE.BACKSPACE&&t!=Q.FE.KEYCODE.DELETE?u&&t==Q.FE.KEYCODE.ESC?(P(!0),e.preventDefault(),!1):u&&t!=Q.FE.KEYCODE.F10&&!p.keys.isBrowserAction(e)?(e.preventDefault(),!1):void 0:(e.preventDefault(),j(),p.undo.saveStep(),!1)},!0),p.events.on("toolbar.esc",function(){if(u)return p.events.disableBlur(),p.events.focus(),!1},!0),p.events.on("toolbar.focusEditor",function(){if(u)return!1},!0),p.events.on("keydown",function(){p.$el.find("span.fr-video:empty").remove()}),p.$wp&&(O(),p.events.on("contentChanged",O)),n(!0),H(!0)},showInsertPopup:function(){var e=p.$tb.find('.fr-command[data-cmd="insertVideo"]'),t=p.popups.get("video.insert");if(t||(t=n()),A(),!t.hasClass("fr-active"))if(p.popups.refresh("video.insert"),p.popups.setContainer("video.insert",p.$tb),e.is(":visible")){var i=e.offset().left+e.outerWidth()/2,o=e.offset().top+(p.opts.toolbarBottom?10:e.outerHeight()-10);p.popups.show("video.insert",i,o,e.outerHeight())}else p.position.forSelection(t),p.popups.show("video.insert")},showLayer:function(e){var t,i,o=p.popups.get("video.insert");if(!u&&!p.opts.toolbarInline){var r=p.$tb.find('.fr-command[data-cmd="insertVideo"]');t=r.offset().left+r.outerWidth()/2,i=r.offset().top+(p.opts.toolbarBottom?10:r.outerHeight()-10)}p.opts.toolbarInline&&(i=o.offset().top-p.helpers.getPX(o.css("margin-top")),o.hasClass("fr-above")&&(i+=o.outerHeight())),o.find(".fr-layer").removeClass("fr-active"),o.find(".fr-"+e+"-layer").addClass("fr-active"),p.popups.show("video.insert",t,i,0),p.accessibility.focusPopup(o)},refreshByURLButton:function(e){p.popups.get("video.insert").find(".fr-video-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshEmbedButton:function(e){p.popups.get("video.insert").find(".fr-video-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshUploadButton:function(e){p.popups.get("video.insert").find(".fr-video-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:N,insertByURL:function(e){void 0===e&&(e=(p.popups.get("video.insert").find('.fr-video-by-url-layer input[type="text"]').val()||"").trim());var t=null;if(/^http/.test(e)||(e="https://"+e),p.helpers.isURL(e))for(var i=0;i<Q.FE.VIDEO_PROVIDERS.length;i++){var o=Q.FE.VIDEO_PROVIDERS[i];if(o.test_regex.test(e)&&new RegExp(p.opts.videoAllowedProviders.join("|")).test(o.provider)){t=e.replace(o.url_regex,o.url_text),t=o.html.replace(/\{url\}/,t);break}}t?y(t):(_(p.language.translate("Something went wrong. Please try again.")),p.events.trigger("video.linkError",[e]))},insertEmbed:function(e){void 0===e&&(e=p.popups.get("video.insert").find(".fr-video-embed-layer textarea").val()||""),0!==e.length&&Q.FE.VIDEO_EMBED_REGEX.test(e)?y(e):(_(p.language.translate("Something went wrong. Please try again.")),p.events.trigger("video.codeError",[e]))},insert:y,align:function(e){u.removeClass("fr-fvr fr-fvl"),!p.opts.htmlUntouched&&p.opts.useClasses?"left"==e?u.addClass("fr-fvl"):"right"==e&&u.addClass("fr-fvr"):q(u,K(),e),Z(),L(),s(),p.selection.clear()},refreshAlign:function(e){if(!u)return!1;e.find("> *:first").replaceWith(p.icon.create("video-align-"+X()))},refreshAlignOnShow:function(e,t){u&&t.find('.fr-command[data-param1="'+X()+'"]').addClass("fr-active").attr("aria-selected",!0)},display:function(e){u.removeClass("fr-dvi fr-dvb"),!p.opts.htmlUntouched&&p.opts.useClasses?"inline"==e?u.addClass("fr-dvi"):"block"==e&&u.addClass("fr-dvb"):q(u,e,X()),Z(),L(),s(),p.selection.clear()},refreshDisplayOnShow:function(e,t){u&&t.find('.fr-command[data-param1="'+K()+'"]').addClass("fr-active").attr("aria-selected",!0)},remove:j,hideProgressBar:A,showSizePopup:function(){var e=p.popups.get("video.size");e||(e=H()),A(),p.popups.refresh("video.size"),p.popups.setContainer("video.size",p.$sc);var t=u.find("iframe, embed, video"),i=t.offset().left+t.width()/2,o=t.offset().top+t.height();p.popups.show("video.size",i,o,t.height())},replace:function(){var e=p.popups.get("video.insert");e||(e=n()),p.popups.isVisible("video.insert")||(A(),p.popups.refresh("video.insert"),p.popups.setContainer("video.insert",p.$sc));var t=u.offset().left+u.width()/2,i=u.offset().top+u.height();p.popups.show("video.insert",t,i,u.outerHeight())},back:function(){u?(p.events.disableBlur(),u.trigger("click")):(p.events.disableBlur(),p.selection.restore(),p.events.enableBlur(),p.popups.hide("video.insert"),p.toolbar.showInline())},setSize:function(e,t){if(u){var i=p.popups.get("video.size"),o=u.find("iframe, embed, video");o.css("width",e||i.find('input[name="width"]').val()),o.css("height",t||i.find('input[name="height"]').val()),o.get(0).style.width&&o.removeAttr("width"),o.get(0).style.height&&o.removeAttr("height"),i.find("input:focus").blur(),setTimeout(function(){u.trigger("click")},p.helpers.isAndroid()?50:0)}},get:function(){return u},showProgressBar:C}},Q.FE.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),Q.FE.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera"}),Q.FE.DefineIcon("videoByURL",{NAME:"link"}),Q.FE.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),Q.FE.DefineIcon("videoEmbed",{NAME:"code"}),Q.FE.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),Q.FE.DefineIcon("videoUpload",{NAME:"upload"}),Q.FE.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),Q.FE.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),Q.FE.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),Q.FE.DefineIcon("videoDisplay",{NAME:"star"}),Q.FE.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),Q.FE.DefineIcon("video-align",{NAME:"align-left"}),Q.FE.DefineIcon("video-align-left",{NAME:"align-left"}),Q.FE.DefineIcon("video-align-right",{NAME:"align-right"}),Q.FE.DefineIcon("video-align-center",{NAME:"align-justify"}),Q.FE.DefineIcon("videoAlign",{NAME:"align-center"}),Q.FE.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=Q.FE.COMMANDS.videoAlign.options;for(var i in t)t.hasOwnProperty(i)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="videoAlign" data-param1="'+i+'" title="'+this.language.translate(t[i])+'">'+this.icon.create("video-align-"+i)+'<span class="fr-sr-only">'+this.language.translate(t[i])+"</span></a></li>");return e+="</ul>"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),Q.FE.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt"}),Q.FE.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),Q.FE.DefineIcon("videoRemove",{NAME:"trash"}),Q.FE.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),Q.FE.DefineIcon("videoSize",{NAME:"arrows-alt"}),Q.FE.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),Q.FE.DefineIcon("videoBack",{NAME:"arrow-left"}),Q.FE.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Q.FE.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),Q.FE.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}})});
1
+ /*!
2
+ * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2019 Froala Labs
5
+ */
6
+
7
+ !function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),i(t)}:i(window.jQuery)}(function(Q){Q.extend(Q.FE.POPUP_TEMPLATES,{"video.insert":"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","video.edit":"[_BUTTONS_]","video.size":"[_BUTTONS_][_SIZE_LAYER_]"}),Q.extend(Q.FE.DEFAULTS,{videoAllowedTypes:["mp4","webm","ogg"],videoAllowedProviders:[".*"],videoDefaultAlign:"center",videoDefaultDisplay:"block",videoDefaultWidth:600,videoEditButtons:["videoReplace","videoRemove","|","videoDisplay","videoAlign","videoSize"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed","videoUpload"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:["videoBack","|"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:"POST",videoUploadParam:"file",videoUploadParams:{},videoUploadToS3:!1,videoUploadURL:null}),Q.FE.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\/((v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))?\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([0-9a-zA-Z_\-]+)(.+)?/g,url_text:"https://www.youtube.com/embed/$1?$2",html:'<iframe width="640" height="360" src="{url}&wmode=opaque" frameborder="0" allowfullscreen></iframe>',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'<iframe width="640" height="360" src="{url}?format=embed" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>',provider:"vidyard"}],Q.FE.VIDEO_EMBED_REGEX=/^\W*((<iframe(.|\n)*>(\s|\n)*<\/iframe>)|(<embed(.|\n)*>))\W*$/i,Q.FE.PLUGINS.video=function(p){var a,f,v,u,o,i,d="https://i.froala.com/upload",l=2,c=3,h=4,g=5,m=6,r={};function b(){var e=p.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function s(){var e=p.popups.get("video.edit");if(e||(e=function(){var e="";if(0<p.opts.videoEditButtons.length){p.opts.videoResponsive&&(-1<p.opts.videoEditButtons.indexOf("videoSize")&&p.opts.videoEditButtons.splice(p.opts.videoEditButtons.indexOf("videoSize"),1),-1<p.opts.videoEditButtons.indexOf("videoDisplay")&&p.opts.videoEditButtons.splice(p.opts.videoEditButtons.indexOf("videoDisplay"),1),-1<p.opts.videoEditButtons.indexOf("videoAlign")&&p.opts.videoEditButtons.splice(p.opts.videoEditButtons.indexOf("videoAlign"),1)),e+='<div class="fr-buttons">',e+=p.button.buildList(p.opts.videoEditButtons);var t={buttons:e+="</div>"},i=p.popups.create("video.edit",t);return p.events.$on(p.$wp,"scroll.video-edit",function(){u&&p.popups.isVisible("video.edit")&&(p.events.disableBlur(),R(u))}),i}return!1}()),e){p.popups.setContainer("video.edit",p.$sc),p.popups.refresh("video.edit");var t=u.find("iframe, embed, video"),i=t.offset().left+t.outerWidth()/2,o=t.offset().top+t.outerHeight();p.popups.show("video.edit",i,o,t.outerHeight())}}function n(e){if(e)return p.popups.onRefresh("video.insert",b),p.popups.onHide("image.insert",W),!0;var t="";p.opts.videoUpload||-1===p.opts.videoInsertButtons.indexOf("videoUpload")||p.opts.videoInsertButtons.splice(p.opts.videoInsertButtons.indexOf("videoUpload"),1);var i=p.button.buildList(p.opts.videoInsertButtons);""!==i&&(t='<div class="fr-buttons">'+i+"</div>");var o,r="",s=p.opts.videoInsertButtons.indexOf("videoUpload"),n=p.opts.videoInsertButtons.indexOf("videoByURL"),a=p.opts.videoInsertButtons.indexOf("videoEmbed");0<=n&&(o=" fr-active",(s<n&&0<=s||a<n&&0<=a)&&(o=""),r='<div class="fr-video-by-url-layer fr-layer'+o+'" id="fr-video-by-url-layer-'+p.id+'"><div class="fr-input-line"><input id="fr-video-by-url-layer-text-'+p.id+'" type="text" placeholder="'+p.language.translate("Paste in a video URL")+'" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoInsertByURL" tabIndex="2" role="button">'+p.language.translate("Insert")+"</button></div></div>");var d="";0<=a&&(o=" fr-active",(s<a&&0<=s||n<a&&0<=n)&&(o=""),d='<div class="fr-video-embed-layer fr-layer'+o+'" id="fr-video-embed-layer-'+p.id+'"><div class="fr-input-line"><textarea id="fr-video-embed-layer-text'+p.id+'" type="text" placeholder="'+p.language.translate("Embedded Code")+'" tabIndex="1" aria-required="true" rows="5"></textarea></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoInsertEmbed" tabIndex="2" role="button">'+p.language.translate("Insert")+"</button></div></div>");var l="";0<=s&&(o=" fr-active",(a<s&&0<=a||n<s&&0<=n)&&(o=""),l='<div class="fr-video-upload-layer fr-layer'+o+'" id="fr-video-upload-layer-'+p.id+'"><strong>'+p.language.translate("Drop video")+"</strong><br>("+p.language.translate("or click")+')<div class="fr-form"><input type="file" accept="video/'+p.opts.videoAllowedTypes.join(", video/").toLowerCase()+'" tabIndex="-1" aria-labelledby="fr-video-upload-layer-'+p.id+'" role="button"></div></div>');var f={buttons:t,by_url_layer:r,embed_layer:d,upload_layer:l,progress_bar:'<div class="fr-video-progress-bar-layer fr-layer"><h3 tabIndex="-1" class="fr-message">Uploading</h3><div class="fr-loader"><span class="fr-progress"></span></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-dismiss" data-cmd="videoDismissError" tabIndex="2" role="button">OK</button></div></div>'},v=p.popups.create("video.insert",f);return function(o){p.events.$on(o,"dragover dragenter",".fr-video-upload-layer",function(){return Q(this).addClass("fr-drop"),!1},!0),p.events.$on(o,"dragleave dragend",".fr-video-upload-layer",function(){return Q(this).removeClass("fr-drop"),!1},!0),p.events.$on(o,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),Q(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var i=o.data("instance")||p;i.events.disableBlur(),i.video.upload(t.files),i.events.enableBlur()}},!0),p.helpers.isIOS()&&p.events.$on(o,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){Q(this).trigger("click")},!0);p.events.$on(o,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=o.data("instance")||p;e.events.disableBlur(),o.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}Q(this).val("")},!0)}(v),v}function y(e){p.events.focus(!0),p.selection.restore();var t=!1;u&&(j(),t=!0),p.html.insert('<span contenteditable="false" draggable="true" class="fr-jiv fr-video fr-deletable">'+e+"</span>",!1,p.opts.videoSplitHTML),p.popups.hide("video.insert");var i=p.$el.find(".fr-jiv");i.removeClass("fr-jiv"),i.toggleClass("fr-rv",p.opts.videoResponsive),q(i,p.opts.videoDefaultDisplay,p.opts.videoDefaultAlign),i.toggleClass("fr-draggable",p.opts.videoMove),p.events.trigger(t?"video.replaced":"video.inserted",[i])}function w(){var e=Q(this);p.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),R(e.parent()),p.events.trigger("video.loaded",[e.parent()])}function E(a,e,d,l,f){p.edit.off(),x("Loading video"),e&&(a=p.helpers.sanitizeURL(a));C("Loading video"),function(){var e,t;if(l){p.undo.canDo()||l.find("video").hasClass("fr-uploading")||p.undo.saveStep();var i=l.find("video").data("fr-old-src"),o=l.data("fr-replaced");l.data("fr-replaced",!1),p.$wp?((e=l.clone()).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),i&&l.find("video").attr("src",i),l.replaceWith(e)):e=l;for(var r=e.find("video").get(0).attributes,s=0;s<r.length;s++){var n=r[s];0===n.nodeName.indexOf("data-")&&e.find("video").removeAttr(n.nodeName)}if(void 0!==d)for(t in d)d.hasOwnProperty(t)&&"link"!=t&&e.find("video").attr("data-"+t,d[t]);e.find("video").on("canplay",w),e.find("video").attr("src",a),p.edit.on(),O(),p.undo.saveStep(),p.$el.blur(),p.events.trigger(o?"video.replaced":"video.inserted",[e,f])}else e=function(e,t,i){var o,r="";if(t&&void 0!==t)for(o in t)t.hasOwnProperty(o)&&"link"!=o&&(r+=" data-"+o+'="'+t[o]+'"');var s=p.opts.videoDefaultWidth;s&&"auto"!=s&&(s+="px");var n=Q('<span contenteditable="false" draggable="true" class="fr-video fr-dv'+p.opts.videoDefaultDisplay[0]+("center"!=p.opts.videoDefaultAlign?" fr-fv"+p.opts.videoDefaultAlign[0]:"")+'"><video src="'+e+'" '+r+(s?' style="width: '+s+';" ':"")+" controls>"+p.language.translate("Your browser does not support HTML5 video.")+"</video></span>");n.toggleClass("fr-draggable",p.opts.videoMove),p.edit.on(),p.events.focus(!0),p.selection.restore(),p.undo.saveStep(),p.opts.videoSplitHTML?p.markers.split():p.markers.insert(),p.html.wrap();var a=p.$el.find(".fr-marker");return p.node.isLastSibling(a)&&a.parent().hasClass("fr-deletable")&&a.insertAfter(a.parent()),a.replaceWith(n),p.selection.clear(),n.find("video").get(0).readyState>n.find("video").get(0).HAVE_FUTURE_DATA||p.helpers.isIOS()?i.call(n.find("video").get(0)):n.find("video").on("canplaythrough load",i),n}(a,d,w),O(),p.undo.saveStep(),p.events.trigger("video.inserted",[e,f])}()}function C(e){var t=p.popups.get("video.insert");if(t||(t=n()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),u){var i=u.find("video");p.popups.setContainer("video.insert",p.$sc);var o=i.offset().left+i.width()/2,r=i.offset().top+i.height();p.popups.show("video.insert",o,r,i.outerHeight())}void 0===e&&x(p.language.translate("Uploading"),0)}function A(e){var t=p.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||p.$el.find("video.fr-error").length)){if(p.events.focus(),p.$el.find("video.fr-error").length&&(p.$el.find("video.fr-error").parent().remove(),p.undo.saveStep(),p.undo.run(),p.undo.dropRedo()),!p.$wp&&u){var i=u;P(!0),p.selection.setAfter(i.find("video").get(0)),p.selection.restore()}p.popups.hide("video.insert")}}function x(e,t){var i=p.popups.get("video.insert");if(i){var o=i.find(".fr-video-progress-bar-layer");o.find("h3").text(e+(t?" "+t+"%":"")),o.removeClass("fr-error"),t?(o.find("div").removeClass("fr-indeterminate"),o.find("div > span").css("width",t+"%")):o.find("div").addClass("fr-indeterminate")}}function _(e){C();var t=p.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var i=t.find("h3");i.text(e),p.events.disableBlur(),i.focus()}function R(e){z.call(e.get(0))}function S(e){x("Loading video");var t=this.status,i=this.response,o=this.responseXML,r=this.responseText;try{if(p.opts.videoUploadToS3)if(201==t){var s=function(e){try{var t=Q(e).find("Location").text(),i=Q(e).find("Key").text();return!1===p.events.trigger("video.uploadedToS3",[t,i,e],!0)?(p.edit.on(),!1):t}catch(o){return V(h,e),!1}}(o);s&&E(s,!1,[],e,i||o)}else V(h,i||o);else if(200<=t&&t<300){var n=function(e){try{if(!1===p.events.trigger("video.uploaded",[e],!0))return p.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(V(l,e),!1)}catch(i){return V(h,e),!1}}(r);n&&E(n.link,!1,n,e,i||r)}else V(c,i||r)}catch(a){V(h,i||r)}}function D(){V(h,this.response||this.responseText||this.responseXML)}function U(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;x(p.language.translate("Uploading"),t)}}function B(){p.edit.on(),A(!0)}function I(e){if(!p.core.sameInstance(v))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),i=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!i)return!1;if("mousedown"==e.type){var o=p.$oel.get(0).ownerDocument,r=o.defaultView||o.parentWindow,s=!1;try{s=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(n){}s&&r.frameElement&&(t+=p.helpers.getPX(Q(r.frameElement).offset().left)+r.frameElement.clientLeft,i=e.clientY+p.helpers.getPX(Q(r.frameElement).offset().top)+r.frameElement.clientTop)}p.undo.canDo()||p.undo.saveStep(),(f=Q(this)).data("start-x",t),f.data("start-y",i),a.show(),p.popups.hideAll(),T()}function $(e){if(!p.core.sameInstance(v))return!0;if(f){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),i=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!i)return!1;var o=f.data("start-x"),r=f.data("start-y");f.data("start-x",t),f.data("start-y",i);var s=t-o,n=i-r,a=u.find("iframe, embed, video"),d=a.width(),l=a.height();(f.hasClass("fr-hnw")||f.hasClass("fr-hsw"))&&(s=0-s),(f.hasClass("fr-hnw")||f.hasClass("fr-hne"))&&(n=0-n),a.css("width",d+s),a.css("height",l+n),a.removeAttr("width"),a.removeAttr("height"),L()}}function k(e){if(!p.core.sameInstance(v))return!0;f&&u&&(e&&e.stopPropagation(),f=null,a.hide(),L(),s(),p.undo.saveStep())}function t(e){return'<div class="fr-handler fr-h'+e+'"></div>'}function F(e,t,i,o){return e.pageX=t,e.pageY=t,I.call(this,e),e.pageX=e.pageX+i*Math.floor(Math.pow(1.1,o)),e.pageY=e.pageY+i*Math.floor(Math.pow(1.1,o)),$.call(this,e),k.call(this,e),++o}function O(){var e,t=Array.prototype.slice.call(p.el.querySelectorAll("video, .fr-video > *")),i=[];for(e=0;e<t.length;e++)i.push(t[e].getAttribute("src")),Q(t[e]).toggleClass("fr-draggable",p.opts.videoMove),""===t[e].getAttribute("class")&&t[e].removeAttribute("class"),""===t[e].getAttribute("style")&&t[e].removeAttribute("style");if(o)for(e=0;e<o.length;e++)i.indexOf(o[e].getAttribute("src"))<0&&p.events.trigger("video.removed",[Q(o[e])]);o=t}function L(){v||function(){var e;if(p.shared.$video_resizer?(v=p.shared.$video_resizer,a=p.shared.$vid_overlay,p.events.on("destroy",function(){v.removeClass("fr-active").appendTo(Q("body:first"))},!0)):(p.shared.$video_resizer=Q('<div class="fr-video-resizer"></div>'),v=p.shared.$video_resizer,p.events.$on(v,"mousedown",function(e){e.stopPropagation()},!0),p.opts.videoResize&&(v.append(t("nw")+t("ne")+t("sw")+t("se")),p.shared.$vid_overlay=Q('<div class="fr-video-overlay"></div>'),a=p.shared.$vid_overlay,e=v.get(0).ownerDocument,Q(e).find("body:first").append(a))),p.events.on("shared.destroy",function(){v.html("").removeData().remove(),v=null,p.opts.videoResize&&(a.remove(),a=null)},!0),p.helpers.isMobile()||p.events.$on(Q(p.o_win),"resize.video",function(){P(!0)}),p.opts.videoResize){e=v.get(0).ownerDocument,p.events.$on(v,p._mousedown,".fr-handler",I),p.events.$on(Q(e),p._mousemove,$),p.events.$on(Q(e.defaultView||e.parentWindow),p._mouseup,k),p.events.$on(a,"mouseleave",k);var o=1,r=null,s=0;p.events.on("keydown",function(e){if(u){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,i=e.which;(i!==r||200<e.timeStamp-s)&&(o=1),(i==Q.FE.KEYCODE.EQUALS||p.browser.mozilla&&i==Q.FE.KEYCODE.FF_EQUALS)&&t&&!e.altKey?o=F.call(this,e,1,1,o):(i==Q.FE.KEYCODE.HYPHEN||p.browser.mozilla&&i==Q.FE.KEYCODE.FF_HYPHEN)&&t&&!e.altKey&&(o=F.call(this,e,2,-1,o)),r=i,s=e.timeStamp}}),p.events.on("keyup",function(){o=1})}}(),(p.$wp||p.$sc).append(v),v.data("instance",p);var e=u.find("iframe, embed, video");v.css("top",(p.opts.iframe?e.offset().top-1:e.offset().top-p.$wp.offset().top-1)+p.$wp.scrollTop()).css("left",(p.opts.iframe?e.offset().left-1:e.offset().left-p.$wp.offset().left-1)+p.$wp.scrollLeft()).css("width",e.get(0).getBoundingClientRect().width).css("height",e.get(0).getBoundingClientRect().height).addClass("fr-active")}function z(e){if(e&&"touchend"==e.type&&i)return!0;if(e&&p.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1;if(p.edit.isDisabled())return!1;for(var t=0;t<Q.FE.INSTANCES.length;t++)Q.FE.INSTANCES[t]!=p&&Q.FE.INSTANCES[t].events.trigger("video.hideResizer");p.toolbar.disable(),p.helpers.isMobile()&&(p.events.disableBlur(),p.$el.blur(),p.events.enableBlur()),p.$el.find(".fr-video.fr-active").removeClass("fr-active"),(u=Q(this)).addClass("fr-active"),p.opts.iframe&&p.size.syncIframe(),Z(),L(),s(),p.selection.clear(),p.button.bulkRefresh(),p.events.trigger("image.hideResizer")}function P(e){u&&(p.shared.vid_exit_flag||!0===e)&&(v.removeClass("fr-active"),p.toolbar.enable(),u.removeClass("fr-active"),u=null,T())}function e(){p.shared.vid_exit_flag=!0}function T(){p.shared.vid_exit_flag=!1}function M(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var i=t.files[0];if(i&&i.type&&-1!==i.type.indexOf("video")){if(!p.opts.videoUpload)return e.preventDefault(),e.stopPropagation(),!1;p.markers.remove(),p.markers.insertAtPoint(e.originalEvent),p.$el.find(".fr-marker").replaceWith(Q.FE.MARKERS),p.popups.hideAll();var o=p.popups.get("video.insert");return o||(o=n()),p.popups.setContainer("video.insert",p.$sc),p.popups.show("video.insert",e.originalEvent.pageX,e.originalEvent.pageY),C(),0<=p.opts.videoAllowedTypes.indexOf(i.type.replace(/video\//g,""))?N(t.files):V(m),e.preventDefault(),e.stopPropagation(),!1}}}function N(e){if(void 0!==e&&0<e.length){if(!1===p.events.trigger("video.beforeUpload",[e]))return!1;var t,i=e[0];if((null===p.opts.videoUploadURL||p.opts.videoUploadURL==d)&&!p.opts.videoUploadToS3)return function(o){u&&u.find("iframe")&&u.find("iframe").length&&j();var r=new FileReader;r.onload=function(){r.result;for(var e=atob(r.result.split(",")[1]),t=[],i=0;i<e.length;i++)t.push(e.charCodeAt(i));E(window.URL.createObjectURL(new Blob([new Uint8Array(t)],{type:o.type})),!1,null,u)},C(),r.readAsDataURL(o)}(i),!1;if(i.size>p.opts.videoMaxSize)return V(g),!1;if(p.opts.videoAllowedTypes.indexOf(i.type.replace(/video\//g,""))<0)return V(m),!1;if(p.drag_support.formdata&&(t=p.drag_support.formdata?new FormData:null),t){var o;if(!1!==p.opts.videoUploadToS3)for(o in t.append("key",p.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(i.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",i.type),p.opts.videoUploadToS3.params)p.opts.videoUploadToS3.params.hasOwnProperty(o)&&t.append(o,p.opts.videoUploadToS3.params[o]);for(o in p.opts.videoUploadParams)p.opts.videoUploadParams.hasOwnProperty(o)&&t.append(o,p.opts.videoUploadParams[o]);t.append(p.opts.videoUploadParam,i);var r=p.opts.videoUploadURL;p.opts.videoUploadToS3&&(r=p.opts.videoUploadToS3.uploadURL?p.opts.videoUploadToS3.uploadURL:"https://"+p.opts.videoUploadToS3.region+".amazonaws.com/"+p.opts.videoUploadToS3.bucket);var s=p.core.getXHR(r,p.opts.videoUploadMethod);s.onload=function(){S.call(s,u)},s.onerror=D,s.upload.onprogress=U,s.onabort=B,C(),p.events.disableBlur(),p.edit.off(),p.events.enableBlur();var n=p.popups.get("video.insert");n&&n.off("abortUpload").on("abortUpload",function(){4!=s.readyState&&s.abort()}),s.send(t)}}}function V(e,t){p.edit.on(),u&&u.find("video").addClass("fr-error"),_(p.language.translate("Something went wrong. Please try again.")),p.events.trigger("video.error",[{code:e,message:r[e]},t])}function Y(){if(u){var e=p.popups.get("video.size"),t=u.find("iframe, embed, video");e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function H(e){if(e)return p.popups.onRefresh("video.size",Y),!0;var t={buttons:'<div class="fr-buttons">'+p.button.buildList(p.opts.videoSizeButtons)+"</div>",size_layer:'<div class="fr-video-size-layer fr-layer fr-active" id="fr-video-size-layer-'+p.id+'"><div class="fr-video-group"><div class="fr-input-line"><input id="fr-video-size-layer-width-'+p.id+'" type="text" name="width" placeholder="'+p.language.translate("Width")+'" tabIndex="1"></div><div class="fr-input-line"><input id="fr-video-size-layer-height-'+p.id+'" type="text" name="height" placeholder="'+p.language.translate("Height")+'" tabIndex="1"></div></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="videoSetSize" tabIndex="2" role="button">'+p.language.translate("Update")+"</button></div></div>"},i=p.popups.create("video.size",t);return p.events.$on(p.$wp,"scroll",function(){u&&p.popups.isVisible("video.size")&&(p.events.disableBlur(),R(u))}),i}function X(e){if(void 0===e&&(e=u),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function K(e){void 0===e&&(e=u);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function j(){if(u&&!1!==p.events.trigger("video.beforeRemove",[u])){var e=u;p.popups.hideAll(),P(!0),p.selection.setBefore(e.get(0))||p.selection.setAfter(e.get(0)),e.remove(),p.selection.restore(),p.html.fillEmptyBlocks()}}function W(){A()}function q(e,t,i){!p.opts.htmlUntouched&&p.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv"+i[0]+" fr-dv"+t[0])):"inline"==t?(e.css({display:"inline-block"}),"center"==i?e.css({"float":"none"}):"left"==i?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==i?e.css({textAlign:"left"}):"right"==i?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function G(){p.$el.find("video").filter(function(){return 0===Q(this).parents("span.fr-video").length}).wrap('<span class="fr-video fr-deletable" contenteditable="false"></span>'),p.$el.find("embed, iframe").filter(function(){if(p.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0<Q(this).parents("span.fr-video").length)return!1;for(var e=Q(this).attr("src"),t=0;t<Q.FE.VIDEO_PROVIDERS.length;t++){var i=Q.FE.VIDEO_PROVIDERS[t];if(i.test_regex.test(e)&&new RegExp(p.opts.videoAllowedProviders.join("|")).test(i.provider))return!0}return!1}).map(function(){return 0===Q(this).parents("object").length?this:Q(this).parents("object").get(0)}).wrap('<span class="fr-video" contenteditable="false"></span>');for(var e,t,i=p.$el.find("span.fr-video, video"),o=0;o<i.length;o++){var r=Q(i[o]);!p.opts.htmlUntouched&&p.opts.useClasses?((t=r).hasClass("fr-dvi")||t.hasClass("fr-dvb")||(t.addClass("fr-fv"+X(t)[0]),t.addClass("fr-dv"+K(t)[0])),p.opts.videoTextNear||r.removeClass("fr-dvi").addClass("fr-dvb")):p.opts.htmlUntouched||p.opts.useClasses||(q(e=r,e.hasClass("fr-dvb")?"block":e.hasClass("fr-dvi")?"inline":null,e.hasClass("fr-fvl")?"left":e.hasClass("fr-fvr")?"right":X(e)),e.removeClass("fr-dvb fr-dvi fr-fvr fr-fvl"))}i.toggleClass("fr-draggable",p.opts.videoMove)}function Z(){if(u){p.selection.clear();var e=p.doc.createRange();e.selectNode(u.get(0)),p.selection.get().addRange(e)}}return r[1]="Video cannot be loaded from the passed link.",r[l]="No link in upload response.",r[c]="Error during file upload.",r[h]="Parsing response failed.",r[g]="File is too large.",r[m]="Video file type is invalid.",r[7]="Files can be uploaded only to same domain in IE 8 and IE 9.",p.shared.vid_exit_flag=!1,{_init:function(){p.opts.videoResponsive&&(p.opts.videoResize=!1),p.events.on("drop",M,!0),p.events.on("mousedown window.mousedown",e),p.events.on("window.touchmove",T),p.events.on("mouseup window.mouseup",P),p.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&P()}),p.events.on("video.hideResizer commands.undo commands.redo element.dropped",function(){P(!0)}),p.helpers.isMobile()&&(p.events.$on(p.$el,"touchstart","span.fr-video",function(){i=!1}),p.events.$on(p.$el,"touchmove",function(){i=!0})),p.events.on("html.set",G),G(),p.events.$on(p.$el,"mousedown","span.fr-video",function(e){e.stopPropagation(),(p.browser.msie||p.browser.edge)&&(e.target.dragDrop(),z.call(this,e))}),p.events.$on(p.$el,"click touchend","span.fr-video",function(e){if("false"==Q(this).parents("[contenteditable]:not(.fr-element):not(.fr-img-caption):not(body):first").attr("contenteditable"))return!0;z.call(this,e)}),p.events.on("keydown",function(e){var t=e.which;return!u||t!=Q.FE.KEYCODE.BACKSPACE&&t!=Q.FE.KEYCODE.DELETE?u&&t==Q.FE.KEYCODE.ESC?(P(!0),e.preventDefault(),!1):u&&t!=Q.FE.KEYCODE.F10&&!p.keys.isBrowserAction(e)?(e.preventDefault(),!1):void 0:(e.preventDefault(),j(),p.undo.saveStep(),!1)},!0),p.events.on("toolbar.esc",function(){if(u)return p.events.disableBlur(),p.events.focus(),!1},!0),p.events.on("toolbar.focusEditor",function(){if(u)return!1},!0),p.events.on("keydown",function(){p.$el.find("span.fr-video:empty").remove()}),p.$wp&&(O(),p.events.on("contentChanged",O)),n(!0),H(!0)},showInsertPopup:function(){var e=p.$tb.find('.fr-command[data-cmd="insertVideo"]'),t=p.popups.get("video.insert");if(t||(t=n()),A(),!t.hasClass("fr-active"))if(p.popups.refresh("video.insert"),p.popups.setContainer("video.insert",p.$tb),e.is(":visible")){var i=e.offset().left+e.outerWidth()/2,o=e.offset().top+(p.opts.toolbarBottom?10:e.outerHeight()-10);p.popups.show("video.insert",i,o,e.outerHeight())}else p.position.forSelection(t),p.popups.show("video.insert")},showLayer:function(e){var t,i,o=p.popups.get("video.insert");if(!u&&!p.opts.toolbarInline){var r=p.$tb.find('.fr-command[data-cmd="insertVideo"]');t=r.offset().left+r.outerWidth()/2,i=r.offset().top+(p.opts.toolbarBottom?10:r.outerHeight()-10)}p.opts.toolbarInline&&(i=o.offset().top-p.helpers.getPX(o.css("margin-top")),o.hasClass("fr-above")&&(i+=o.outerHeight())),o.find(".fr-layer").removeClass("fr-active"),o.find(".fr-"+e+"-layer").addClass("fr-active"),p.popups.show("video.insert",t,i,0),p.accessibility.focusPopup(o)},refreshByURLButton:function(e){p.popups.get("video.insert").find(".fr-video-by-url-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshEmbedButton:function(e){p.popups.get("video.insert").find(".fr-video-embed-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},refreshUploadButton:function(e){p.popups.get("video.insert").find(".fr-video-upload-layer").hasClass("fr-active")&&e.addClass("fr-active").attr("aria-pressed",!0)},upload:N,insertByURL:function(e){void 0===e&&(e=(p.popups.get("video.insert").find('.fr-video-by-url-layer input[type="text"]').val()||"").trim());var t=null;if(/^http/.test(e)||(e="https://"+e),p.helpers.isURL(e))for(var i=0;i<Q.FE.VIDEO_PROVIDERS.length;i++){var o=Q.FE.VIDEO_PROVIDERS[i];if(o.test_regex.test(e)&&new RegExp(p.opts.videoAllowedProviders.join("|")).test(o.provider)){t=e.replace(o.url_regex,o.url_text),t=o.html.replace(/\{url\}/,t);break}}t?y(t):(_(p.language.translate("Something went wrong. Please try again.")),p.events.trigger("video.linkError",[e]))},insertEmbed:function(e){void 0===e&&(e=p.popups.get("video.insert").find(".fr-video-embed-layer textarea").val()||""),0!==e.length&&Q.FE.VIDEO_EMBED_REGEX.test(e)?y(e):(_(p.language.translate("Something went wrong. Please try again.")),p.events.trigger("video.codeError",[e]))},insert:y,align:function(e){u.removeClass("fr-fvr fr-fvl"),!p.opts.htmlUntouched&&p.opts.useClasses?"left"==e?u.addClass("fr-fvl"):"right"==e&&u.addClass("fr-fvr"):q(u,K(),e),Z(),L(),s(),p.selection.clear()},refreshAlign:function(e){if(!u)return!1;e.find("> *:first").replaceWith(p.icon.create("video-align-"+X()))},refreshAlignOnShow:function(e,t){u&&t.find('.fr-command[data-param1="'+X()+'"]').addClass("fr-active").attr("aria-selected",!0)},display:function(e){u.removeClass("fr-dvi fr-dvb"),!p.opts.htmlUntouched&&p.opts.useClasses?"inline"==e?u.addClass("fr-dvi"):"block"==e&&u.addClass("fr-dvb"):q(u,e,X()),Z(),L(),s(),p.selection.clear()},refreshDisplayOnShow:function(e,t){u&&t.find('.fr-command[data-param1="'+K()+'"]').addClass("fr-active").attr("aria-selected",!0)},remove:j,hideProgressBar:A,showSizePopup:function(){var e=p.popups.get("video.size");e||(e=H()),A(),p.popups.refresh("video.size"),p.popups.setContainer("video.size",p.$sc);var t=u.find("iframe, embed, video"),i=t.offset().left+t.width()/2,o=t.offset().top+t.height();p.popups.show("video.size",i,o,t.height())},replace:function(){var e=p.popups.get("video.insert");e||(e=n()),p.popups.isVisible("video.insert")||(A(),p.popups.refresh("video.insert"),p.popups.setContainer("video.insert",p.$sc));var t=u.offset().left+u.width()/2,i=u.offset().top+u.height();p.popups.show("video.insert",t,i,u.outerHeight())},back:function(){u?(p.events.disableBlur(),u.trigger("click")):(p.events.disableBlur(),p.selection.restore(),p.events.enableBlur(),p.popups.hide("video.insert"),p.toolbar.showInline())},setSize:function(e,t){if(u){var i=p.popups.get("video.size"),o=u.find("iframe, embed, video");o.css("width",e||i.find('input[name="width"]').val()),o.css("height",t||i.find('input[name="height"]').val()),o.get(0).style.width&&o.removeAttr("width"),o.get(0).style.height&&o.removeAttr("height"),i.find("input:focus").blur(),setTimeout(function(){u.trigger("click")},p.helpers.isAndroid()?50:0)}},get:function(){return u},showProgressBar:C}},Q.FE.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),Q.FE.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera"}),Q.FE.DefineIcon("videoByURL",{NAME:"link"}),Q.FE.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),Q.FE.DefineIcon("videoEmbed",{NAME:"code"}),Q.FE.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),Q.FE.DefineIcon("videoUpload",{NAME:"upload"}),Q.FE.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),Q.FE.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),Q.FE.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),Q.FE.DefineIcon("videoDisplay",{NAME:"star"}),Q.FE.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),Q.FE.DefineIcon("video-align",{NAME:"align-left"}),Q.FE.DefineIcon("video-align-left",{NAME:"align-left"}),Q.FE.DefineIcon("video-align-right",{NAME:"align-right"}),Q.FE.DefineIcon("video-align-center",{NAME:"align-justify"}),Q.FE.DefineIcon("videoAlign",{NAME:"align-center"}),Q.FE.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='<ul class="fr-dropdown-list" role="presentation">',t=Q.FE.COMMANDS.videoAlign.options;for(var i in t)t.hasOwnProperty(i)&&(e+='<li role="presentation"><a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="videoAlign" data-param1="'+i+'" title="'+this.language.translate(t[i])+'">'+this.icon.create("video-align-"+i)+'<span class="fr-sr-only">'+this.language.translate(t[i])+"</span></a></li>");return e+="</ul>"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),Q.FE.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt"}),Q.FE.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),Q.FE.DefineIcon("videoRemove",{NAME:"trash"}),Q.FE.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),Q.FE.DefineIcon("videoSize",{NAME:"arrows-alt"}),Q.FE.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),Q.FE.DefineIcon("videoBack",{NAME:"arrow-left"}),Q.FE.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Q.FE.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),Q.FE.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}})});
@@ -1,7 +1,7 @@
1
- /*!
2
- * froala_editor v2.9.5 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2019 Froala Labs
5
- */
6
-
7
- !function(r){"function"==typeof define&&define.amd?define(["jquery"],r):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),r(t)}:r(window.jQuery)}(function(w){w.extend(w.FE.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),w.FE.PLUGINS.wordPaste=function(E){var a,i,l="word_paste";function t(e){var t=E.opts.wordAllowedStyleProps;e||(E.opts.wordAllowedStyleProps=[]),0===i.indexOf("<colgroup>")&&(i="<table>"+i+"</table>"),i=function(e,t){0<=e.indexOf("<html")&&(e=e.replace(/[.\s\S\w\W<>]*(<html[^>]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1"));!function(e){for(var t=e.split("v:shape"),r=1;r<t.length;r++){var i=t[r],n=i.split(' id="')[1];if(n&&1<n.length){n=n.split('"')[0];var a=i.split(' o:spid="')[1];a&&1<a.length&&(a=a.split('"')[0],c[n]=a)}}}(e);var r=(new DOMParser).parseFromString(e,"text/html"),i=r.head,n=r.body,o=function(e){var t={},r=e.getElementsByTagName("style");if(r.length){var i=r[0],n=i.innerHTML.match(/[\S ]+\s+{[\s\S]+?}/gi);if(n)for(var a=0;a<n.length;a++){var l=n[a],o=l.replace(/([\S ]+\s+){[\s\S]+?}/gi,"$1"),s=l.replace(/[\S ]+\s+{([\s\S]+?)}/gi,"$1");o=o.replace(/^[\s]|[\s]$/gm,""),s=s.replace(/^[\s]|[\s]$/gm,""),o=o.replace(/\n|\r|\n\r/g,""),s=s.replace(/\n|\r|\n\r/g,"");for(var d=o.split(", "),f=0;f<d.length;f++)t[d[f]]=s}}return t}(i);f(n,function(e){if(e.nodeType==Node.TEXT_NODE&&/\n|\u00a0|\r/.test(e.data)){if(!/\S| /.test(e.data)&&!/[\u00a0]+/.test(e.data))return e.data==w.FE.UNICODE_NBSP?(e.data="\u200b",!0):1==e.data.length&&10==e.data.charCodeAt(0)?(e.data=" ",!0):(y(e),!1);e.data=e.data.replace(/\n|\r/gi," ")}return!0}),f(n,function(e){return e.nodeType!=Node.ELEMENT_NODE||"V:IMAGEDATA"!=e.tagName&&"IMG"!=e.tagName||function(e,t){if(!t)return;var r;if("IMG"==e.tagName){var i=e.getAttribute("src");if(!i||-1==i.indexOf("file://"))return;if(0===i.indexOf("file://")&&E.helpers.isURL(e.getAttribute("alt")))return e.setAttribute("src",e.getAttribute("alt"));(r=c[e.getAttribute("v:shapes")])||(r=e.getAttribute("v:shapes"),e.parentNode&&e.parentNode.parentNode&&0<=e.parentNode.parentNode.innerHTML.indexOf("msEquation")&&(r=null))}else r=e.parentNode.getAttribute("o:spid");if(e.removeAttribute("height"),!r)return;n=t,p={},u(n,"i","\\shppict"),u(n,"s","\\shp{");var n;var a=p[r.substring(7)];if(a){var l=function(e){for(var t=e.match(/[0-9a-f]{2}/gi),r=[],i=0;i<t.length;i++)r.push(String.fromCharCode(parseInt(t[i],16)));var n=r.join("");return btoa(n)}(a.image_hex),o="data:"+a.image_type+";base64,"+l;"IMG"===e.tagName?(e.src=o,e.setAttribute("data-fr-image-pasted",!0)):w(e.parentNode).before('<img data-fr-image-pasted="true" src="'+o+'" style="'+e.parentNode.getAttribute("style")+'">').remove()}}(e,t),!0});for(var a=n.querySelectorAll("ul > ul, ul > ol, ol > ul, ol > ol"),l=a.length-1;0<=l;l--)a[l].previousElementSibling&&"LI"===a[l].previousElementSibling.tagName&&a[l].previousElementSibling.appendChild(a[l]);f(n,function(t){if(t.nodeType==Node.TEXT_NODE)return t.data=t.data.replace(/<br>(\n|\r)/gi,"<br>"),!1;if(t.nodeType==Node.ELEMENT_NODE){if(A(t)){var r=t.parentNode,i=t.previousSibling,n=function e(t,r,i){var n=/[0-9a-zA-Z]./gi;var a=!1;var l=t.querySelector('span[style="mso-list:Ignore"]');var o;var s;var d;var f;var u;l&&(a=a||n.test(l.textContent));var g=a?"ol":"ul";var p="<"+g+">";for(;t;){if(!A(t)){if(t.outerHTML&&0<t.outerHTML.indexOf("mso-bookmark")&&0===(t.textContent||"").length){t=t.nextElementSibling;continue}break}var c=t.getAttribute("style").replace(/\n/gi,"").replace(/.*level([0-9]+?).*/gi,"$1");if((i=i||c)<c)u=e(t,r,c),p+=u.el.outerHTML,t=u.currentNode;else{if(c<i)break;t.firstElementChild&&t.firstElementChild.firstElementChild&&t.firstElementChild.firstElementChild.firstChild&&(n.lastIndex=0,s=n.test(t.firstElementChild.firstElementChild.firstChild.data||"")),o&&o.firstElementChild&&o.firstElementChild.firstElementChild&&o.firstElementChild.firstElementChild.firstChild&&(n.lastIndex=0,d=n.test(o.firstElementChild.firstElementChild.firstChild.data||"")),d===undefined||d===s?(f=b(t,r),p+="<li>"+f+"</li>"):(u=e(t,r,c),p+=u.el.outerHTML,t=u.currentNode);var m=t&&t.nextElementSibling;m&&(o=m.previousElementSibling),t&&t.parentNode&&t.parentNode.removeChild(t),t=m}}p+="</"+g+">";var h=document.createElement("div");h.innerHTML=p;var v=h.firstElementChild;return{el:v,currentNode:t}}(t,o).el,a=null;return(a=i?i.nextSibling:r.firstChild)?r.insertBefore(n,a):r.appendChild(n),!1}return"FONT"===t.tagName&&o["."+t.getAttribute("class")]&&(t=v(t,"span")),g(t,o)}if(t.nodeType==Node.COMMENT_NODE){if(-1<t.data.indexOf("[if !supportLineBreakNewLine]"))for(var l=t.nextSibling;l;)(l=t.nextSibling)&&y(l),l.data&&-1<l.data.indexOf("[endif]")&&(l=null);return y(t),!1}return!0}),f(n,function(e){if(e.nodeType==Node.ELEMENT_NODE){var t=e.tagName;if(!e.innerHTML&&-1==["BR","IMG"].indexOf(t)){for(var r=e.parentNode;r&&(y(e),!(e=r).innerHTML);)r=e.parentNode;return!1}!function(e){var t=e.getAttribute("style");if(!t)return;(t=C(t))&&";"!=t.slice(-1)&&(t+=";");var r=t.match(/(^|\S+?):.+?;{1,1}/gi);if(!r)return;for(var i={},n=0;n<r.length;n++){var a=r[n],l=a.split(":");2==l.length&&("text-align"==l[0]&&"SPAN"==e.tagName||(i[l[0]]=l[1]))}var o="";for(var s in i)if(i.hasOwnProperty(s)){if("font-size"==s&&"pt;"==i[s].slice(-3)){var d=null;try{d=parseFloat(i[s].slice(0,-3),10)}catch(f){}d&&(d=Math.round(1.33*d),i[s]=d+"px;")}o+=s+":"+i[s]}o&&e.setAttribute("style",o)}(e)}return!0}),f(n,function(e){if(e&&"A"===e.nodeName&&""===e.href){for(var t=document.createDocumentFragment();e.firstChild;)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e)}return!0});var s=n.outerHTML,d=E.opts.htmlAllowedStyleProps;return E.opts.htmlAllowedStyleProps=E.opts.wordAllowedStyleProps,s=E.clean.html(s,E.opts.wordDeniedTags,E.opts.wordDeniedAttrs,!1),E.opts.htmlAllowedStyleProps=d,s}(i=i.replace(/<span[\n\r ]*style='mso-spacerun:yes'>([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var r="",i=0;i++<t.length;)r+="&nbsp;";return r}),E.paste.getRtfClipboard());var r=E.doc.createElement("DIV");r.innerHTML=i,E.html.cleanBlankSpaces(r),i=r.innerHTML,i=(i=E.paste.cleanEmptyTagsAndDivs(i)).replace(/\u200b/g,""),E.modals.hide(l),E.paste.clean(i,!0,!0),E.opts.wordAllowedStyleProps=t}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function f(e,t){if(t(e))for(var r=e.firstChild;r;){var i=r,n=r.previousSibling;r=r.nextSibling,f(i,t),i.previousSibling||i.nextSibling||i.parentNode||!r||n==r.previousSibling||!r.parentNode?i.previousSibling||i.nextSibling||i.parentNode||!r||r.previousSibling||r.nextSibling||r.parentNode||(n?r=n.nextSibling?n.nextSibling.nextSibling:null:e.firstChild&&(r=e.firstChild.nextSibling)):r=n?n.nextSibling:e.firstChild}}function A(e){if(!e.getAttribute("style")||!/mso-list:[\s]*l/gi.test(e.getAttribute("style").replace(/\n/gi,"")))return!1;try{if(!e.querySelector('[style="mso-list:Ignore"]'))return!!(e.outerHTML&&0<=e.outerHTML.indexOf("\x3c!--[if !supportLists]--\x3e"))}catch(t){return!1}return!0}function b(e,a){var l=e.cloneNode(!0);if(-1!=["H1","H2","H3","H4","H5","H6"].indexOf(e.tagName)){var t=document.createElement(e.tagName.toLowerCase());t.setAttribute("style",e.getAttribute("style")),t.innerHTML=l.innerHTML,l.innerHTML=t.outerHTML}f(l,function(e){if(e.nodeType==Node.COMMENT_NODE&&(E.browser.msie||E.browser.safari||E.browser.edge))try{if("[if !supportLists]"===e.data){for(e=e.nextSibling;e&&e.nodeType!==Node.COMMENT_NODE;){var t=e.nextSibling;e.parentNode.removeChild(e),e=t}e&&e.nodeType==Node.COMMENT_NODE&&e.parentNode.removeChild(e)}}catch(n){}var r,i;return e.nodeType==Node.ELEMENT_NODE&&("mso-list:Ignore"==e.getAttribute("style")&&e.parentNode.removeChild(e),e.setAttribute("style",(r="",i=l.getAttribute("style"),["line-height","font-family","font-size"].forEach(function(e){var t=i.match(new RegExp(e+":.*;"));t&&(r+=t[0]+";")}),r)),g(e,a)),!0});var r=l.innerHTML;return r=r.replace(/<!--[\s\S]*?-->/gi,"")}function v(e,t){for(var r=document.createElement(t),i=0;i<e.attributes.length;i++){var n=e.attributes[i].name;r.setAttribute(n,e.getAttribute(n))}return r.innerHTML=e.innerHTML,e.parentNode.replaceChild(r,e),r}function x(e){var t=e.getAttribute("align");t&&(e.style["text-align"]=t,e.removeAttribute("align"))}function C(e){return e.replace(/\n|\r|\n\r|&quot;/g,"")}function T(e,t,r){if(t){var i=e.getAttribute("style");i&&";"!=i.slice(-1)&&(i+=";"),t&&";"!=t.slice(-1)&&(t+=";"),t=t.replace(/\n/gi,"");var n=null;n=r?(i||"")+t:t+(i||""),e.setAttribute("style",n)}}var p=null;function u(e,t,r){for(var i=e.split(r),n=1;n<i.length;n++){var a=i[n];if(1<(a=a.split("shplid")).length){a=a[1];for(var l="",o=0;o<a.length&&"\\"!=a[o]&&"{"!=a[o]&&" "!=a[o]&&"\r"!=a[o]&&"\n"!=a[o];)l+=a[o],o++;var s=a.split("bliptag");if(s&&s.length<2)continue;var d=null;if(-1!=s[0].indexOf("pngblip")?d="image/png":-1!=s[0].indexOf("jpegblip")&&(d="image/jpeg"),!d)continue;var f,u=s[1].split("}");if(u&&u.length<2)continue;if(2<u.length&&-1!=u[0].indexOf("blipuid"))f=u[1].split(" ");else{if((f=u[0].split(" "))&&f.length<2)continue;f.shift()}var g=f.join("");p[t+l]={image_hex:g,image_type:d}}}}function g(e,t){var r=e.tagName,i=r.toLowerCase();e.firstElementChild&&("I"==e.firstElementChild.tagName?v(e.firstElementChild,"em"):"B"==e.firstElementChild.tagName&&v(e.firstElementChild,"strong"));if(-1!=["SCRIPT","APPLET","EMBED","NOFRAMES","NOSCRIPT"].indexOf(r))return y(e),!1;var n=-1,a=["META","LINK","XML","ST1:","O:","W:","FONT"];for(n=0;n<a.length;n++)if(-1!=r.indexOf(a[n]))return e.innerHTML&&(e.outerHTML=e.innerHTML),y(e),!1;if("TD"!=r){var l=e.getAttribute("class")||"MsoNormal";if(t&&l){var o=(l=C(l)).split(" ");for(n=0;n<o.length;n++){var s=[],d="."+o[n];s.push(d),d=i+d,s.push(d);for(var f=0;f<s.length;f++)t[s[f]]&&T(e,t[s[f]])}e.removeAttribute("class")}t&&t[i]&&T(e,t[i])}if(-1!=["P","H1","H2","H3","H4","H5","H6","PRE"].indexOf(r)){var u=e.getAttribute("class");if(u&&(t&&t[r.toLowerCase()+"."+u]&&T(e,t[r.toLowerCase()+"."+u]),-1!=u.toLowerCase().indexOf("mso"))){var g=C(u);(g=g.replace(/[0-9a-z-_]*mso[0-9a-z-_]*/gi,""))?e.setAttribute("class",g):e.removeAttribute("class")}var p=e.getAttribute("style");if(p){var c=p.match(/text-align:.+?[; "]{1,1}/gi);c&&c[c.length-1].replace(/(text-align:.+?[; "]{1,1})/gi,"$1")}x(e)}if("TR"==r&&function(e,t){E.node.clearAttributes(e);for(var r=e.firstElementChild,i=0,n=!1,a=null;r;){r.firstElementChild&&-1!=r.firstElementChild.tagName.indexOf("W:")&&(r.innerHTML=r.firstElementChild.innerHTML),(a=r.getAttribute("width"))||n||(n=!0),i+=parseInt(a,10),(!r.firstChild||r.firstChild&&r.firstChild.data==w.FE.UNICODE_NBSP)&&(r.firstChild&&y(r.firstChild),r.innerHTML="<br>");for(var l=r.firstElementChild,o=1==r.children.length;l;)"P"!=l.tagName||A(l)||o&&x(l),l=l.nextElementSibling;if(t){var s=r.getAttribute("class");if(s){var d=(s=C(s)).match(/xl[0-9]+/gi);if(d){var f="."+d[0];t[f]&&T(r,t[f])}}t.td&&T(r,t.td)}var u=r.getAttribute("style");u&&(u=C(u))&&";"!=u.slice(-1)&&(u+=";");var g=r.getAttribute("valign");if(!g&&u){var p=u.match(/vertical-align:.+?[; "]{1,1}/gi);p&&(g=p[p.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var c=null;if(u){var m=u.match(/text-align:.+?[; "]{1,1}/gi);m&&(c=m[m.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"==c&&(c=null)}var h=null;if(u){var v=u.match(/background:.+?[; "]{1,1}/gi);v&&(h=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var b=r.getAttribute("colspan"),N=r.getAttribute("rowspan");b&&r.setAttribute("colspan",b),N&&r.setAttribute("rowspan",N),g&&(r.style["vertical-align"]=g),c&&(r.style["text-align"]=c),h&&(r.style["background-color"]=h),a&&r.setAttribute("width",a),r=r.nextElementSibling}for(r=e.firstElementChild;r;)a=r.getAttribute("width"),n?r.removeAttribute("width"):r.setAttribute("width",100*parseInt(a,10)/i+"%"),r=r.nextElementSibling}(e,t),"A"!=r||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==r&&e.getAttribute("href")&&e.querySelector("img")){var m=e.querySelectorAll("span");for(n=0;n<m.length;n++)m[n].innerText||(m[n].outerHTML=m[n].innerHTML)}if("TD"!=r&&"TH"!=r||e.innerHTML||(e.innerHTML="<br>"),"TABLE"==r&&(e.style.width=e.style.width||"100%"),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!=e.getAttribute("style").toLowerCase().indexOf("mso")){var h=C(e.getAttribute("style"));(h=h.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",h):e.removeAttribute("style")}return!0}var c={};return{_init:function(){E.events.on("paste.wordPaste",function(e){return i=e,E.opts.wordPasteModal?function(){if(!a){var e='<h4><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 74.95 73.23" style="height: 25px; vertical-align: text-bottom; margin-right: 5px; display: inline-block"><defs><style>.a{fill:#2a5699;}.b{fill:#fff;}</style></defs><path class="a" d="M615.15,827.22h5.09V834c9.11.05,18.21-.09,27.32.05a2.93,2.93,0,0,1,3.29,3.25c.14,16.77,0,33.56.09,50.33-.09,1.72.17,3.63-.83,5.15-1.24.89-2.85.78-4.3.84-8.52,0-17,0-25.56,0v6.81h-5.32c-13-2.37-26-4.54-38.94-6.81q0-29.8,0-59.59c13.05-2.28,26.11-4.5,39.17-6.83Z" transform="translate(-575.97 -827.22)"/><path class="b" d="M620.24,836.59h28.1v54.49h-28.1v-6.81h22.14v-3.41H620.24v-4.26h22.14V873.2H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24V846h22.14v-3.41H620.24Zm-26.67,15c1.62-.09,3.24-.16,4.85-.25,1.13,5.75,2.29,11.49,3.52,17.21,1-5.91,2-11.8,3.06-17.7,1.7-.06,3.41-.15,5.1-.26-1.92,8.25-3.61,16.57-5.71,24.77-1.42.74-3.55,0-5.24.09-1.13-5.64-2.45-11.24-3.47-16.9-1,5.5-2.29,10.95-3.43,16.42q-2.45-.13-4.92-.3c-1.41-7.49-3.07-14.93-4.39-22.44l4.38-.18c.88,5.42,1.87,10.82,2.64,16.25,1.2-5.57,2.43-11.14,3.62-16.71Z" transform="translate(-575.97 -827.22)"/></svg> '+E.language.translate("Word Paste Detected")+"</h4>",t=(n='<div class="fr-word-paste-modal" style="padding: 20px 20px 10px 20px;">',n+='<p style="text-align: left;">'+E.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"</p>",n+='<div style="text-align: right; margin-top: 50px;"><button class="fr-remove-word fr-command">'+E.language.translate("Clean")+'</button> <button class="fr-keep-word fr-command">'+E.language.translate("Keep")+"</button></div>",n+="</div>"),r=E.modals.create(l,e,t),i=r.$body;a=r.$modal,r.$modal.addClass("fr-middle"),E.events.bindClick(i,"button.fr-remove-word",function(){var e=a.data("instance")||E;e.wordPaste.clean()}),E.events.bindClick(i,"button.fr-keep-word",function(){var e=a.data("instance")||E;e.wordPaste.clean(!0)}),E.events.$on(w(E.o_win),"resize",function(){E.modals.resize(l)})}var n;E.modals.show(l),E.modals.resize(l)}():t(E.opts.wordPasteKeepFormatting),!1})},clean:t}}});
1
+ /*!
2
+ * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2019 Froala Labs
5
+ */
6
+
7
+ !function(r){"function"==typeof define&&define.amd?define(["jquery"],r):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),r(t)}:r(window.jQuery)}(function(S){S.extend(S.FE.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),S.FE.PLUGINS.wordPaste=function(y){var a,i,l="word_paste";function t(e){var t=y.opts.wordAllowedStyleProps;e||(y.opts.wordAllowedStyleProps=[]),0===i.indexOf("<colgroup>")&&(i="<table>"+i+"</table>"),i=function(e,t){0<=e.indexOf("<html")&&(e=e.replace(/[.\s\S\w\W<>]*(<html[^>]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1"));!function(e){for(var t=e.split("v:shape"),r=1;r<t.length;r++){var i=t[r],n=i.split(' id="')[1];if(n&&1<n.length){n=n.split('"')[0];var a=i.split(' o:spid="')[1];a&&1<a.length&&(a=a.split('"')[0],c[n]=a)}}}(e);var r=(new DOMParser).parseFromString(e,"text/html"),i=r.head,n=r.body,o=function(e){var t={},r=e.getElementsByTagName("style");if(r.length){var i=r[0],n=i.innerHTML.match(/[\S ]+\s+{[\s\S]+?}/gi);if(n)for(var a=0;a<n.length;a++){var l=n[a],o=l.replace(/([\S ]+\s+){[\s\S]+?}/gi,"$1"),s=l.replace(/[\S ]+\s+{([\s\S]+?)}/gi,"$1");o=o.replace(/^[\s]|[\s]$/gm,""),s=s.replace(/^[\s]|[\s]$/gm,""),o=o.replace(/\n|\r|\n\r/g,""),s=s.replace(/\n|\r|\n\r/g,"");for(var d=o.split(", "),f=0;f<d.length;f++)t[d[f]]=s}}return t}(i);f(n,function(e){if(e.nodeType==Node.TEXT_NODE&&/\n|\u00a0|\r/.test(e.data)){if(!/\S| /.test(e.data)&&!/[\u00a0]+/.test(e.data))return e.data==S.FE.UNICODE_NBSP?(e.data="\u200b",!0):1==e.data.length&&10==e.data.charCodeAt(0)?(e.data=" ",!0):(N(e),!1);e.data=e.data.replace(/\n|\r/gi," ")}return!0}),f(n,function(e){return e.nodeType!=Node.ELEMENT_NODE||"V:IMAGEDATA"!=e.tagName&&"IMG"!=e.tagName||function(e,t){if(!t)return;var r;if("IMG"==e.tagName){var i=e.getAttribute("src");if(!i||-1==i.indexOf("file://"))return;if(0===i.indexOf("file://")&&y.helpers.isURL(e.getAttribute("alt")))return e.setAttribute("src",e.getAttribute("alt"));(r=c[e.getAttribute("v:shapes")])||(r=e.getAttribute("v:shapes"),e.parentNode&&e.parentNode.parentNode&&0<=e.parentNode.parentNode.innerHTML.indexOf("msEquation")&&(r=null))}else r=e.parentNode.getAttribute("o:spid");if(e.removeAttribute("height"),!r)return;n=t,p={},u(n,"i","\\shppict"),u(n,"s","\\shp{");var n;var a=p[r.substring(7)];if(a){var l=function(e){for(var t=e.match(/[0-9a-f]{2}/gi),r=[],i=0;i<t.length;i++)r.push(String.fromCharCode(parseInt(t[i],16)));var n=r.join("");return btoa(n)}(a.image_hex),o="data:"+a.image_type+";base64,"+l;"IMG"===e.tagName?(e.src=o,e.setAttribute("data-fr-image-pasted",!0)):S(e.parentNode).before('<img data-fr-image-pasted="true" src="'+o+'" style="'+e.parentNode.getAttribute("style")+'">').remove()}}(e,t),!0});for(var a=n.querySelectorAll("ul > ul, ul > ol, ol > ul, ol > ol"),l=a.length-1;0<=l;l--)a[l].previousElementSibling&&"LI"===a[l].previousElementSibling.tagName&&a[l].previousElementSibling.appendChild(a[l]);f(n,function(t){if(t.nodeType==Node.TEXT_NODE)return t.data=t.data.replace(/<br>(\n|\r)/gi,"<br>"),!1;if(t.nodeType==Node.ELEMENT_NODE){if(C(t)){var r=t.parentNode,i=t.previousSibling,n=function e(t,r,i){var n=/[0-9a-zA-Z]./gi;var a=!1;var l=t.querySelector('span[style="mso-list:Ignore"]');var o;var s;var d;var f;var u;var g;var p;l&&(a=a||n.test(l.textContent));if(1==a){var c=l.textContent.trim().split(".")[0];"a"==c?p="lower-alpha;":"A"==c?p="upper-alpha;":"1"==c?p="decimal;":"i"==c?p="lower-roman;":"I"==c?p="upper-roman;":"o"==c&&(p="circle;"),p="list-style-type: "+p,g="ol"}else g="ul";var m=p?"<"+g+' style = "'+p+'">':"<"+g+">";for(;t;){if(!C(t)){if(t.outerHTML&&0<t.outerHTML.indexOf("mso-bookmark")&&0===(t.textContent||"").length){t=t.nextElementSibling;continue}break}var h=t.getAttribute("style").replace(/\n/gi,"").replace(/.*level([0-9]+?).*/gi,"$1");if((i=i||h)<h)u=e(t,r,h),m+=u.el.outerHTML,t=u.currentNode;else{if(h<i)break;t.firstElementChild&&t.firstElementChild.firstElementChild&&t.firstElementChild.firstElementChild.firstChild&&(n.lastIndex=0,s=n.test(t.firstElementChild.firstElementChild.firstChild.data||t.firstElementChild.firstElementChild.firstChild.firstChild.data||"")),o&&o.firstElementChild&&o.firstElementChild.firstElementChild&&o.firstElementChild.firstElementChild.firstChild&&(n.lastIndex=0,d=n.test(o.firstElementChild.firstElementChild.firstChild.data||o.firstElementChild.firstElementChild.firstChild.firstChild.data||"")),d===undefined||d===s?(f=A(t,r),m+="<li>"+f+"</li>"):(u=e(t,r,h),m+=u.el.outerHTML,t=u.currentNode);var v=t&&t.nextElementSibling;v&&(o=v.previousElementSibling),t&&t.parentNode&&t.parentNode.removeChild(t),t=v}}m+="</"+g+">";var b=document.createElement("div");b.innerHTML=m;var E=b.firstElementChild;return{el:E,currentNode:t}}(t,o).el,a=null;return(a=i?i.nextSibling:r.firstChild)?r.insertBefore(n,a):r.appendChild(n),!1}return"FONT"===t.tagName&&o["."+t.getAttribute("class")]&&(t=v(t,"span")),g(t,o)}if(t.nodeType==Node.COMMENT_NODE){if(-1<t.data.indexOf("[if !supportLineBreakNewLine]"))for(var l=t.nextSibling;l;)(l=t.nextSibling)&&N(l),l.data&&-1<l.data.indexOf("[endif]")&&(l=null);return N(t),!1}return!0}),f(n,function(e){if(e.nodeType==Node.ELEMENT_NODE){var t=e.tagName;if(!e.innerHTML&&-1==["BR","IMG"].indexOf(t)){for(var r=e.parentNode;r&&(N(e),!(e=r).innerHTML);)r=e.parentNode;return!1}!function(e){var t=e.getAttribute("style");if(!t)return;(t=T(t))&&";"!=t.slice(-1)&&(t+=";");var r=t.match(/(^|\S+?):.+?;{1,1}/gi);if(!r)return;for(var i={},n=0;n<r.length;n++){var a=r[n],l=a.split(":");2==l.length&&("text-align"==l[0]&&"SPAN"==e.tagName||(i[l[0]]=l[1]))}var o="";for(var s in i)if(i.hasOwnProperty(s)){if("font-size"==s&&"pt;"==i[s].slice(-3)){var d=null;try{d=parseFloat(i[s].slice(0,-3),10)}catch(f){}d&&(d=Math.round(1.33*d),i[s]=d+"px;")}o+=s+":"+i[s]}o&&e.setAttribute("style",o)}(e)}return!0}),f(n,function(e){if(e&&"A"===e.nodeName&&""===e.href){for(var t=document.createDocumentFragment();e.firstChild;)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e)}return!0});var s=n.outerHTML,d=y.opts.htmlAllowedStyleProps;return y.opts.htmlAllowedStyleProps=y.opts.wordAllowedStyleProps,s=y.clean.html(s,y.opts.wordDeniedTags,y.opts.wordDeniedAttrs,!1),y.opts.htmlAllowedStyleProps=d,s}(i=i.replace(/<span[\n\r ]*style='mso-spacerun:yes'>([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var r="",i=0;i++<t.length;)r+="&nbsp;";return r}),y.paste.getRtfClipboard());var r=y.doc.createElement("DIV");r.innerHTML=i,y.html.cleanBlankSpaces(r),i=r.innerHTML,i=(i=y.paste.cleanEmptyTagsAndDivs(i)).replace(/\u200b/g,""),y.modals.hide(l),y.paste.clean(i,!0,!0),y.opts.wordAllowedStyleProps=t}function N(e){e.parentNode&&e.parentNode.removeChild(e)}function f(e,t){if(t(e))for(var r=e.firstChild;r;){var i=r,n=r.previousSibling;r=r.nextSibling,f(i,t),i.previousSibling||i.nextSibling||i.parentNode||!r||n==r.previousSibling||!r.parentNode?i.previousSibling||i.nextSibling||i.parentNode||!r||r.previousSibling||r.nextSibling||r.parentNode||(n?r=n.nextSibling?n.nextSibling.nextSibling:null:e.firstChild&&(r=e.firstChild.nextSibling)):r=n?n.nextSibling:e.firstChild}}function C(e){if(!e.getAttribute("style")||!/mso-list:[\s]*l/gi.test(e.getAttribute("style").replace(/\n/gi,"")))return!1;try{if(!e.querySelector('[style="mso-list:Ignore"]'))return!!(e.outerHTML&&0<=e.outerHTML.indexOf("\x3c!--[if !supportLists]--\x3e"))}catch(t){return!1}return!0}function A(e,a){var l=e.cloneNode(!0);if(-1!=["H1","H2","H3","H4","H5","H6"].indexOf(e.tagName)){var t=document.createElement(e.tagName.toLowerCase());t.setAttribute("style",e.getAttribute("style")),t.innerHTML=l.innerHTML,l.innerHTML=t.outerHTML}f(l,function(e){if(e.nodeType==Node.COMMENT_NODE&&(y.browser.msie||y.browser.safari||y.browser.edge))try{if("[if !supportLists]"===e.data){for(e=e.nextSibling;e&&e.nodeType!==Node.COMMENT_NODE;){var t=e.nextSibling;e.parentNode.removeChild(e),e=t}e&&e.nodeType==Node.COMMENT_NODE&&e.parentNode.removeChild(e)}}catch(n){}var r,i;return e.nodeType==Node.ELEMENT_NODE&&("mso-list:Ignore"==e.getAttribute("style")&&e.parentNode.removeChild(e),e.setAttribute("style",(r="",i=l.getAttribute("style"),["line-height","font-family","font-size"].forEach(function(e){var t=i.match(new RegExp(e+":.*;"));t&&(r+=t[0]+";")}),r)),g(e,a)),!0});var r=l.innerHTML;return r=r.replace(/<!--[\s\S]*?-->/gi,"")}function v(e,t){for(var r=document.createElement(t),i=0;i<e.attributes.length;i++){var n=e.attributes[i].name;r.setAttribute(n,e.getAttribute(n))}return r.innerHTML=e.innerHTML,e.parentNode.replaceChild(r,e),r}function x(e){var t=e.getAttribute("align");t&&(e.style["text-align"]=t,e.removeAttribute("align"))}function T(e){return e.replace(/\n|\r|\n\r|&quot;/g,"")}function w(e,t,r){if(t){var i=e.getAttribute("style");i&&";"!=i.slice(-1)&&(i+=";"),t&&";"!=t.slice(-1)&&(t+=";"),t=t.replace(/\n/gi,"");var n=null;n=r?(i||"")+t:t+(i||""),e.setAttribute("style",n)}}var p=null;function u(e,t,r){for(var i=e.split(r),n=1;n<i.length;n++){var a=i[n];if(1<(a=a.split("shplid")).length){a=a[1];for(var l="",o=0;o<a.length&&"\\"!=a[o]&&"{"!=a[o]&&" "!=a[o]&&"\r"!=a[o]&&"\n"!=a[o];)l+=a[o],o++;var s=a.split("bliptag");if(s&&s.length<2)continue;var d=null;if(-1!=s[0].indexOf("pngblip")?d="image/png":-1!=s[0].indexOf("jpegblip")&&(d="image/jpeg"),!d)continue;var f,u=s[1].split("}");if(u&&u.length<2)continue;if(2<u.length&&-1!=u[0].indexOf("blipuid"))f=u[1].split(" ");else{if((f=u[0].split(" "))&&f.length<2)continue;f.shift()}var g=f.join("");p[t+l]={image_hex:g,image_type:d}}}}function g(e,t){var r=e.tagName,i=r.toLowerCase();e.firstElementChild&&("I"==e.firstElementChild.tagName?v(e.firstElementChild,"em"):"B"==e.firstElementChild.tagName&&v(e.firstElementChild,"strong"));if(-1!=["SCRIPT","APPLET","EMBED","NOFRAMES","NOSCRIPT"].indexOf(r))return N(e),!1;var n=-1,a=["META","LINK","XML","ST1:","O:","W:","FONT"];for(n=0;n<a.length;n++)if(-1!=r.indexOf(a[n]))return e.innerHTML&&(e.outerHTML=e.innerHTML),N(e),!1;if("TD"!=r){var l=e.getAttribute("class")||"MsoNormal";if(t&&l){var o=(l=T(l)).split(" ");for(n=0;n<o.length;n++){var s=[],d="."+o[n];s.push(d),d=i+d,s.push(d);for(var f=0;f<s.length;f++)t[s[f]]&&w(e,t[s[f]])}e.removeAttribute("class")}t&&t[i]&&w(e,t[i])}if(-1!=["P","H1","H2","H3","H4","H5","H6","PRE"].indexOf(r)){var u=e.getAttribute("class");if(u&&(t&&t[r.toLowerCase()+"."+u]&&w(e,t[r.toLowerCase()+"."+u]),-1!=u.toLowerCase().indexOf("mso"))){var g=T(u);(g=g.replace(/[0-9a-z-_]*mso[0-9a-z-_]*/gi,""))?e.setAttribute("class",g):e.removeAttribute("class")}var p=e.getAttribute("style");if(p){var c=p.match(/text-align:.+?[; "]{1,1}/gi);c&&c[c.length-1].replace(/(text-align:.+?[; "]{1,1})/gi,"$1")}x(e)}if("TR"==r&&function(e,t){y.node.clearAttributes(e);for(var r=e.firstElementChild,i=0,n=!1,a=null;r;){r.firstElementChild&&-1!=r.firstElementChild.tagName.indexOf("W:")&&(r.innerHTML=r.firstElementChild.innerHTML),(a=r.getAttribute("width"))||n||(n=!0),i+=parseInt(a,10),(!r.firstChild||r.firstChild&&r.firstChild.data==S.FE.UNICODE_NBSP)&&(r.firstChild&&N(r.firstChild),r.innerHTML="<br>");for(var l=r.firstElementChild,o=1==r.children.length;l;)"P"!=l.tagName||C(l)||o&&x(l),l=l.nextElementSibling;if(t){var s=r.getAttribute("class");if(s){var d=(s=T(s)).match(/xl[0-9]+/gi);if(d){var f="."+d[0];t[f]&&w(r,t[f])}}t.td&&w(r,t.td)}var u=r.getAttribute("style");u&&(u=T(u))&&";"!=u.slice(-1)&&(u+=";");var g=r.getAttribute("valign");if(!g&&u){var p=u.match(/vertical-align:.+?[; "]{1,1}/gi);p&&(g=p[p.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var c=null;if(u){var m=u.match(/text-align:.+?[; "]{1,1}/gi);m&&(c=m[m.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"==c&&(c=null)}var h=null;if(u){var v=u.match(/background:.+?[; "]{1,1}/gi);v&&(h=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var b=r.getAttribute("colspan"),E=r.getAttribute("rowspan");b&&r.setAttribute("colspan",b),E&&r.setAttribute("rowspan",E),g&&(r.style["vertical-align"]=g),c&&(r.style["text-align"]=c),h&&(r.style["background-color"]=h),a&&r.setAttribute("width",a),r=r.nextElementSibling}for(r=e.firstElementChild;r;)a=r.getAttribute("width"),n?r.removeAttribute("width"):r.setAttribute("width",100*parseInt(a,10)/i+"%"),r=r.nextElementSibling}(e,t),"A"!=r||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==r&&e.getAttribute("href")&&e.querySelector("img")){var m=e.querySelectorAll("span");for(n=0;n<m.length;n++)m[n].innerText||(m[n].outerHTML=m[n].innerHTML)}if("TD"!=r&&"TH"!=r||e.innerHTML||(e.innerHTML="<br>"),"TABLE"==r&&(e.style.width=e.style.width),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!=e.getAttribute("style").toLowerCase().indexOf("mso")){var h=T(e.getAttribute("style"));(h=h.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",h):e.removeAttribute("style")}return!0}var c={};return{_init:function(){y.events.on("paste.wordPaste",function(e){return i=e,y.opts.wordPasteModal?function(){if(!a){var e='<h4><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 74.95 73.23" style="height: 25px; vertical-align: text-bottom; margin-right: 5px; display: inline-block"><defs><style>.a{fill:#2a5699;}.b{fill:#fff;}</style></defs><path class="a" d="M615.15,827.22h5.09V834c9.11.05,18.21-.09,27.32.05a2.93,2.93,0,0,1,3.29,3.25c.14,16.77,0,33.56.09,50.33-.09,1.72.17,3.63-.83,5.15-1.24.89-2.85.78-4.3.84-8.52,0-17,0-25.56,0v6.81h-5.32c-13-2.37-26-4.54-38.94-6.81q0-29.8,0-59.59c13.05-2.28,26.11-4.5,39.17-6.83Z" transform="translate(-575.97 -827.22)"/><path class="b" d="M620.24,836.59h28.1v54.49h-28.1v-6.81h22.14v-3.41H620.24v-4.26h22.14V873.2H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24V846h22.14v-3.41H620.24Zm-26.67,15c1.62-.09,3.24-.16,4.85-.25,1.13,5.75,2.29,11.49,3.52,17.21,1-5.91,2-11.8,3.06-17.7,1.7-.06,3.41-.15,5.1-.26-1.92,8.25-3.61,16.57-5.71,24.77-1.42.74-3.55,0-5.24.09-1.13-5.64-2.45-11.24-3.47-16.9-1,5.5-2.29,10.95-3.43,16.42q-2.45-.13-4.92-.3c-1.41-7.49-3.07-14.93-4.39-22.44l4.38-.18c.88,5.42,1.87,10.82,2.64,16.25,1.2-5.57,2.43-11.14,3.62-16.71Z" transform="translate(-575.97 -827.22)"/></svg> '+y.language.translate("Word Paste Detected")+"</h4>",t=(n='<div class="fr-word-paste-modal" style="padding: 20px 20px 10px 20px;">',n+='<p style="text-align: left;">'+y.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"</p>",n+='<div style="text-align: right; margin-top: 50px;"><button class="fr-remove-word fr-command">'+y.language.translate("Clean")+'</button> <button class="fr-keep-word fr-command">'+y.language.translate("Keep")+"</button></div>",n+="</div>"),r=y.modals.create(l,e,t),i=r.$body;a=r.$modal,r.$modal.addClass("fr-middle"),y.events.bindClick(i,"button.fr-remove-word",function(){var e=a.data("instance")||y;e.wordPaste.clean()}),y.events.bindClick(i,"button.fr-keep-word",function(){var e=a.data("instance")||y;e.wordPaste.clean(!0)}),y.events.$on(S(y.o_win),"resize",function(){y.modals.resize(l)})}var n;y.modals.show(l),y.modals.resize(l)}():t(y.opts.wordPasteKeepFormatting),!1})},clean:t}}});
@@ -1,7 +1,7 @@
1
- /*!
2
- * froala_editor v2.9.5 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2019 Froala Labs
5
- */
6
-
1
+ /*!
2
+ * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2019 Froala Labs
5
+ */
6
+
7
7
  !function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t)}:n(window.jQuery)}(function(c){c.extend(c.FE.POPUP_TEMPLATES,{"embedly.insert":"[_BUTTONS_][_URL_LAYER_]","embedly.edit":"[_BUTTONS_]"}),c.extend(c.FE.DEFAULTS,{embedlyKey:null,embedlyInsertButtons:["embedlyBack","|"],embedlyEditButtons:["embedlyRemove"],embedlyScriptPath:"https://cdn.embedly.com/widgets/platform.js"}),c.FE.PLUGINS.embedly=function(r){function t(){r.events.on("html.processGet",i),r.events.$on(r.$el,"click touchend","div.fr-embedly",d),r.events.on("mousedown window.mousedown",m),r.events.on("window.touchmove",b),r.events.on("mouseup window.mouseup",u),r.events.on("commands.mousedown",function(e){0<e.parents(".fr-toolbar").length&&u()}),r.events.on("blur video.hideResizer commands.undo commands.redo element.dropped",function(){u(!0)}),r.events.on("element.beforeDrop",function(e){if(e.hasClass("fr-embedly"))return e.html(e.attr("data-original-embed")),e}),r.events.on("keydown",function(e){var t=e.which;return!s||t!=c.FE.KEYCODE.BACKSPACE&&t!=c.FE.KEYCODE.DELETE?s&&t==c.FE.KEYCODE.ESC?(u(!0),e.preventDefault(),!1):s&&t!=c.FE.KEYCODE.F10&&!r.keys.isBrowserAction(e)?(e.preventDefault(),!1):void 0:(e.preventDefault(),f(),!1)},!0),r.events.on("toolbar.esc",function(){if(s)return r.events.disableBlur(),r.events.focus(),!1},!0),r.events.on("toolbar.focusEditor",function(){if(s)return!1},!0),r.events.on("snapshot.after",function(e){var t=r.doc.createElement("div");t.innerHTML=e.html,i(t),e.html=t.innerHTML}),r.win.embedly&&(r.win.embedly("on","card.rendered",function(e){n(e)}),r.win.embedly("on","card.resize",function(e){n(e)})),l(!0)}function n(e){var t=c(e);t.parents(".fr-embedly").attr("contenteditable",!1).attr("draggable",!0).addClass("fr-draggable").css("height",t.height()).addClass("fr-draggable"),r.opts.iframe&&r.size.syncIframe()}var s,o;function d(e){s=c(this),function(){o||function(){r.shared.$embedly_resizer?(o=r.shared.$embedly_resizer,r.shared.$embedly_overlay,r.events.on("destroy",function(){o.appendTo(c("body:first"))},!0)):(r.shared.$embedly_resizer=c('<div class="fr-embedly-resizer"></div>'),o=r.shared.$embedly_resizer,r.events.$on(o,"mousedown",function(e){e.stopPropagation()},!0));r.events.on("shared.destroy",function(){o.html("").removeData().remove(),o=null},!0)}();(r.$wp||r.$sc).append(o),o.data("instance",r),o.css("top",(r.opts.iframe?s.offset().top-1+r.$iframe.position().top:s.offset().top-r.$wp.offset().top-1)+r.$wp.scrollTop()).css("left",(r.opts.iframe?s.offset().left-1:s.offset().left-r.$wp.offset().left-1)+r.$wp.scrollLeft()).css("width",s.outerWidth()).css("height",s.height()).addClass("fr-active")}(),function(){var e=r.popups.get("embedly.edit");e||(e=function(){var e="";if(0<r.opts.embedlyEditButtons.length){e+='<div class="fr-buttons">',e+=r.button.buildList(r.opts.embedlyEditButtons);var t={buttons:e+="</div>"},n=r.popups.create("embedly.edit",t);return r.events.$on(r.$wp,"scroll.emebdly-edit",function(){s&&r.popups.isVisible("embedly.edit")&&(r.events.disableBlur(),d.call(s.get(0)))}),n}return!1}());if(e){r.popups.setContainer("embedly.edit",r.$sc),r.popups.refresh("embedly.edit");var t=s.offset().left+s.outerWidth()/2,n=s.offset().top+s.outerHeight();r.popups.show("embedly.edit",t,n,s.outerHeight())}}()}function i(e){if(e&&r.node.hasClass(e,"fr-embedly"))e.innerHTML=e.getAttribute("data-original-embed"),e.removeAttribute("draggable"),e.removeAttribute("contenteditable"),e.setAttribute("class",(e.getAttribute("class")||"").replace("fr-draggable",""));else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var t=e.querySelectorAll(".fr-embedly"),n=0;n<t.length;n++)i(t[n])}function l(e){if(e)return r.popups.onRefresh("embedly.insert",a),!0;var t="";0<r.opts.embedlyInsertButtons.length&&(t+='<div class="fr-buttons">',t+=r.button.buildList(r.opts.embedlyInsertButtons),t+="</div>");var n={buttons:t,url_layer:'<div class="fr-embedly-layer fr-active fr-layer" id="fr-embedly-layer-'+r.id+'"><div class="fr-input-line"><input id="fr-embedly-layer-text-'+r.id+'" type="text" placeholder="'+r.language.translate("Paste in a URL to embed")+'" tabIndex="1" aria-required="true"></div><div class="fr-action-buttons"><button type="button" class="fr-command fr-submit" data-cmd="embedlyInsert" tabIndex="2" role="button">'+r.language.translate("Insert")+"</button></div></div>"};return r.popups.create("embedly.insert",n)}function a(){r.popups.get("embedly.insert").find(".fr-embedly-layer input").val("").trigger("change")}function e(e){if(e.length){var t="<a href='"+e+"' data-card-branding='0' class='embedly-card'"+(r.opts.embedlyKey?" data-card-key='"+r.opts.embedlyKey+"'":"")+"></a>";r.html.insert('<div class="fr-embedly fr-draggable" draggable="true" contenteditable="false" data-original-embed="'+t+'">'+t+"</div>"),r.popups.hideAll()}}function f(){if(s&&!1!==r.events.trigger("embedly.beforeRemove",[s])){var e=s;r.popups.hideAll(),u(!0),r.selection.setBefore(e.get(0))||r.selection.setAfter(e.get(0)),e.remove(),r.selection.restore(),r.html.fillEmptyBlocks(),r.undo.saveStep(),r.events.trigger("video.removed",[e])}}function u(e){s&&(r.shared.embedly_exit_flag||!0===e)&&(o.removeClass("fr-active"),r.toolbar.enable(),s.removeClass("fr-active"),s=null,b())}function m(){r.shared.embedly_exit_flag=!0}function b(){r.shared.embedly_exit_flag=!1}return r.shared.embedly_exit_flag=!1,{_init:function(){if(!r.$wp)return!1;if("undefined"!=typeof embedly)t();else if(r.shared.embedlyLoaded)r.shared.embedlyCallbacks.push(t);else{r.shared.embedlyLoaded=!0,r.shared.embedlyCallbacks=[],r.shared.embedlyCallbacks.push(t);var e=r.doc.createElement("script");e.type="text/javascript",e.src=r.opts.embedlyScriptPath,e.innerText="",e.onload=function(){if(r.shared.embedlyCallbacks)for(var e=0;e<r.shared.embedlyCallbacks.length;e++)r.shared.embedlyCallbacks[e]()},r.doc.getElementsByTagName("head")[0].appendChild(e)}},showInsertPopup:function(){var e=r.$tb.find('.fr-command[data-cmd="embedly"]'),t=r.popups.get("embedly.insert");if(t||(t=l()),!t.hasClass("fr-active"))if(r.popups.refresh("embedly.insert"),r.popups.setContainer("embedly.insert",r.$tb),e.is(":visible")){var n=e.offset().left+e.outerWidth()/2,s=e.offset().top+(r.opts.toolbarBottom?10:e.outerHeight()-10);r.popups.show("embedly.insert",n,s,e.outerHeight())}else r.position.forSelection(t),r.popups.show("embedly.insert")},insert:function(){e(r.popups.get("embedly.insert").find(".fr-embedly-layer input").val())},remove:f,get:function(){return s},add:e,back:function(){s?(r.events.disableBlur(),s.trigger("click")):(r.events.disableBlur(),r.selection.restore(),r.events.enableBlur(),r.popups.hide("embedly.insert"),r.toolbar.showInline())}}},c.FE.DefineIcon("embedly",{NAME:"share-alt"}),c.FE.RegisterCommand("embedly",{undo:!0,focus:!0,title:"Embed URL",popup:!0,callback:function(){this.popups.isVisible("embedly.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("embedly.insert")):this.embedly.showInsertPopup()},plugin:"embedly"}),c.FE.RegisterCommand("embedlyInsert",{undo:!0,focus:!0,callback:function(){this.embedly.insert()}}),c.FE.DefineIcon("embedlyRemove",{NAME:"trash"}),c.FE.RegisterCommand("embedlyRemove",{title:"Remove",undo:!1,callback:function(){this.embedly.remove()}}),c.FE.DefineIcon("embedlyBack",{NAME:"arrow-left"}),c.FE.RegisterCommand("embedlyBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.embedly.back()},refresh:function(e){this.embedly.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}})});
@@ -1,7 +1,7 @@
1
- /*!
2
- * froala_editor v2.9.5 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2019 Froala Labs
5
- */
6
-
1
+ /*!
2
+ * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2019 Froala Labs
5
+ */
6
+
7
7
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(e,o){return o===undefined&&(o="undefined"!=typeof window?require("jquery"):require("jquery")(e)),a(o)}:a(window.jQuery)}(function(u){u.extend(u.FE.DEFAULTS,{fontAwesomeTemplate:'<i class="fa fa-[NAME] fr-deletable" aria-hidden="true">&nbsp;</i>',fontAwesomeSets:[{title:"Web Application Icons",list:["address-book","address-book-o","address-card","address-card-o","adjust","american-sign-language-interpreting","anchor","archive","area-chart","arrows","arrows-h","arrows-v","asl-interpreting ","assistive-listening-systems","asterisk","at","audio-description","automobile ","balance-scale","ban","bank ","bar-chart","bar-chart-o ","barcode","bars","bath","bathtub ","battery ","battery-0 ","battery-1 ","battery-2 ","battery-3 ","battery-4 ","battery-empty","battery-full","battery-half","battery-quarter","battery-three-quarters","bed","beer","bell","bell-o","bell-slash","bell-slash-o","bicycle","binoculars","birthday-cake","blind","bluetooth","bluetooth-b","bolt","bomb","book","bookmark","bookmark-o","braille","briefcase","bug","building","building-o","bullhorn","bullseye","bus","cab ","calculator","calendar","calendar-check-o","calendar-minus-o","calendar-o","calendar-plus-o","calendar-times-o","camera","camera-retro","car","caret-square-o-down","caret-square-o-left","caret-square-o-right","caret-square-o-up","cart-arrow-down","cart-plus","cc","certificate","check","check-circle","check-circle-o","check-square","check-square-o","child","circle","circle-o","circle-o-notch","circle-thin","clock-o","clone","close ","cloud","cloud-download","cloud-upload","code","code-fork","coffee","cog","cogs","comment","comment-o","commenting","commenting-o","comments","comments-o","compass","copyright","creative-commons","credit-card","credit-card-alt","crop","crosshairs","cube","cubes","cutlery","dashboard ","database","deaf","deafness ","desktop","diamond","dot-circle-o","download","drivers-license ","drivers-license-o ","edit ","ellipsis-h","ellipsis-v","envelope","envelope-o","envelope-open","envelope-open-o","envelope-square","eraser","exchange","exclamation","exclamation-circle","exclamation-triangle","external-link","external-link-square","eye","eye-slash","eyedropper","fax","feed ","female","fighter-jet","file-archive-o","file-audio-o","file-code-o","file-excel-o","file-image-o","file-movie-o ","file-pdf-o","file-photo-o ","file-picture-o ","file-powerpoint-o","file-sound-o ","file-video-o","file-word-o","file-zip-o ","film","filter","fire","fire-extinguisher","flag","flag-checkered","flag-o","flash ","flask","folder","folder-o","folder-open","folder-open-o","frown-o","futbol-o","gamepad","gavel","gear ","gears ","gift","glass","globe","graduation-cap","group ","hand-grab-o ","hand-lizard-o","hand-paper-o","hand-peace-o","hand-pointer-o","hand-rock-o","hand-scissors-o","hand-spock-o","hand-stop-o ","handshake-o","hard-of-hearing ","hashtag","hdd-o","headphones","heart","heart-o","heartbeat","history","home","hotel ","hourglass","hourglass-1 ","hourglass-2 ","hourglass-3 ","hourglass-end","hourglass-half","hourglass-o","hourglass-start","i-cursor","id-badge","id-card","id-card-o","image ","inbox","industry","info","info-circle","institution ","key","keyboard-o","language","laptop","leaf","legal ","lemon-o","level-down","level-up","life-bouy ","life-buoy ","life-ring","life-saver ","lightbulb-o","line-chart","location-arrow","lock","low-vision","magic","magnet","mail-forward ","mail-reply ","mail-reply-all ","male","map","map-marker","map-o","map-pin","map-signs","meh-o","microchip","microphone","microphone-slash","minus","minus-circle","minus-square","minus-square-o","mobile","mobile-phone ","money","moon-o","mortar-board ","motorcycle","mouse-pointer","music","navicon ","newspaper-o","object-group","object-ungroup","paint-brush","paper-plane","paper-plane-o","paw","pencil","pencil-square","pencil-square-o","percent","phone","phone-square","photo ","picture-o","pie-chart","plane","plug","plus","plus-circle","plus-square","plus-square-o","podcast","power-off","print","puzzle-piece","qrcode","question","question-circle","question-circle-o","quote-left","quote-right","random","recycle","refresh","registered","remove ","reorder ","reply","reply-all","retweet","road","rocket","rss","rss-square","s15 ","search","search-minus","search-plus","send ","send-o ","server","share","share-alt","share-alt-square","share-square","share-square-o","shield","ship","shopping-bag","shopping-basket","shopping-cart","shower","sign-in","sign-language","sign-out","signal","signing ","sitemap","sliders","smile-o","snowflake-o","soccer-ball-o ","sort","sort-alpha-asc","sort-alpha-desc","sort-amount-asc","sort-amount-desc","sort-asc","sort-desc","sort-down ","sort-numeric-asc","sort-numeric-desc","sort-up ","space-shuttle","spinner","spoon","square","square-o","star","star-half","star-half-empty ","star-half-full ","star-half-o","star-o","sticky-note","sticky-note-o","street-view","suitcase","sun-o","support ","tablet","tachometer","tag","tags","tasks","taxi","television","terminal","thermometer ","thermometer-0 ","thermometer-1 ","thermometer-2 ","thermometer-3 ","thermometer-4 ","thermometer-empty","thermometer-full","thermometer-half","thermometer-quarter","thermometer-three-quarters","thumb-tack","thumbs-down","thumbs-o-down","thumbs-o-up","thumbs-up","ticket","times","times-circle","times-circle-o","times-rectangle ","times-rectangle-o ","tint","toggle-down ","toggle-left ","toggle-off","toggle-on","toggle-right ","toggle-up ","trademark","trash","trash-o","tree","trophy","truck","tty","tv ","umbrella","universal-access","university","unlock","unlock-alt","unsorted ","upload","user","user-circle","user-circle-o","user-o","user-plus","user-secret","user-times","users","vcard ","vcard-o ","video-camera","volume-control-phone","volume-down","volume-off","volume-up","warning ","wheelchair","wheelchair-alt","wifi","window-close","window-close-o","window-maximize","window-minimize","window-restore","wrench"]},{title:"Accessibility Icons",list:["american-sign-language-interpreting","asl-interpreting ","assistive-listening-systems","audio-description","blind","braille","cc","deaf","deafness ","hard-of-hearing ","low-vision","question-circle-o","sign-language","signing ","tty","universal-access","volume-control-phone","wheelchair","wheelchair-alt"]},{title:"Hand Icons",list:["hand-grab-o ","hand-lizard-o","hand-o-down","hand-o-left","hand-o-right","hand-o-up","hand-paper-o","hand-peace-o","hand-pointer-o","hand-rock-o","hand-scissors-o","hand-spock-o","hand-stop-o ","thumbs-down","thumbs-o-down","thumbs-o-up","thumbs-up"]},{title:"Transportation Icons",list:["ambulance","automobile ","bicycle","bus","cab ","car","fighter-jet","motorcycle","plane","rocket","ship","space-shuttle","subway","taxi","train","truck","wheelchair","wheelchair-alt"]},{title:"Gender Icons",list:["genderless","intersex ","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mercury","neuter","transgender","transgender-alt","venus","venus-double","venus-mars"]},{title:"Form Control Icons",list:["check-square","check-square-o","circle","circle-o","dot-circle-o","minus-square","minus-square-o","plus-square","plus-square-o","square","square-o"]},{title:"Payment Icons",list:["cc-amex","cc-diners-club","cc-discover","cc-jcb","cc-mastercard","cc-paypal","cc-stripe","cc-visa","credit-card","credit-card-alt","google-wallet","paypal"]},{title:"Chart Icons",list:["area-chart","bar-chart","bar-chart-o ","line-chart","pie-chart"]},{title:"Currency Icons",list:["bitcoin ","btc","cny ","dollar ","eur","euro ","gbp","gg","gg-circle","ils","inr","jpy","krw","money","rmb ","rouble ","rub","ruble ","rupee ","shekel ","sheqel ","try","turkish-lira ","usd","viacoin","won ","yen"]},{title:"Text Editor Icons",list:["align-center","align-justify","align-left","align-right","bold","chain ","chain-broken","clipboard","columns","copy ","cut ","dedent ","eraser","file","file-o","file-text","file-text-o","files-o","floppy-o","font","header","indent","italic","link","list","list-alt","list-ol","list-ul","outdent","paperclip","paragraph","paste ","repeat","rotate-left ","rotate-right ","save ","scissors","strikethrough","subscript","superscript","table","text-height","text-width","th","th-large","th-list","underline","undo","unlink"]},{title:"Brand Icons",list:["500px","adn","amazon","android","angellist","apple","bandcamp","behance","behance-square","bitbucket","bitbucket-square","bitcoin ","black-tie","bluetooth","bluetooth-b","btc","buysellads","cc-amex","cc-diners-club","cc-discover","cc-jcb","cc-mastercard","cc-paypal","cc-stripe","cc-visa","chrome","codepen","codiepie","connectdevelop","contao","css3","dashcube","delicious","deviantart","digg","dribbble","dropbox","drupal","edge","eercast","empire","envira","etsy","expeditedssl","fa ","facebook","facebook-f ","facebook-official","facebook-square","firefox","first-order","flickr","font-awesome","fonticons","fort-awesome","forumbee","foursquare","free-code-camp","ge ","get-pocket","gg","gg-circle","git","git-square","github","github-alt","github-square","gitlab","gittip ","glide","glide-g","google","google-plus","google-plus-circle ","google-plus-official","google-plus-square","google-wallet","gratipay","grav","hacker-news","houzz","html5","imdb","instagram","internet-explorer","ioxhost","joomla","jsfiddle","lastfm","lastfm-square","leanpub","linkedin","linkedin-square","linode","linux","maxcdn","meanpath","medium","meetup","mixcloud","modx","odnoklassniki","odnoklassniki-square","opencart","openid","opera","optin-monster","pagelines","paypal","pied-piper","pied-piper-alt","pied-piper-pp","pinterest","pinterest-p","pinterest-square","product-hunt","qq","quora","ra ","ravelry","rebel","reddit","reddit-alien","reddit-square","renren","resistance ","safari","scribd","sellsy","share-alt","share-alt-square","shirtsinbulk","simplybuilt","skyatlas","skype","slack","slideshare","snapchat","snapchat-ghost","snapchat-square","soundcloud","spotify","stack-exchange","stack-overflow","steam","steam-square","stumbleupon","stumbleupon-circle","superpowers","telegram","tencent-weibo","themeisle","trello","tripadvisor","tumblr","tumblr-square","twitch","twitter","twitter-square","usb","viacoin","viadeo","viadeo-square","vimeo","vimeo-square","vine","vk","wechat ","weibo","weixin","whatsapp","wikipedia-w","windows","wordpress","wpbeginner","wpexplorer","wpforms","xing","xing-square","y-combinator","y-combinator-square ","yahoo","yc ","yc-square ","yelp","yoast","youtube","youtube-play","youtube-square"]}]}),u.FE.PLUGINS.fontAwesome=function(n){var i,l,t="font_awesome";function c(e,o){n.events.disableBlur(),e.focus(),o.preventDefault(),o.stopPropagation()}return{_init:function(){},show:function(){if(!i){var e="<h4>"+n.language.translate("Font Awesome")+"</h4>",o=function(){for(var e='<div class="fr-font-awesome-modal">',o=0;o<n.opts.fontAwesomeSets.length;o++){for(var a=n.opts.fontAwesomeSets[o],t=a.list,r='<div class="fr-font-awesome-list"><p class="fr-font-awesome-title">'+n.language.translate(a.title)+"</p>",s=0;s<t.length;s++){var i=t[s];r+='<span class="fr-command fr-font-awesome" tabIndex="-1" role="button" value="'+i+'">'+n.opts.fontAwesomeTemplate.replace(/\[NAME\]/g,i)+'<span class="fr-sr-only">'+n.language.translate("Example of")+i+"&nbsp;&nbsp;&nbsp;</span></span>"}e+=r+"</div>"}return e+="</div>"}(),a=n.modals.create(t,e,o);i=a.$modal,a.$head,l=a.$body,n.events.$on(u(n.o_win),"resize",function(){(i.data("instance")||n).modals.resize(t)}),n.events.bindClick(l,".fr-font-awesome",function(e){var o=i.data("instance")||n,a=u(e.currentTarget);o.fontAwesome.insert(a)}),n.events.$on(l,"keydown",function(e){var o=e.which,a=l.find("span.fr-font-awesome:focus:first");if(!(a.length||o!=u.FE.KEYCODE.F10||n.keys.ctrlKey(e)||e.shiftKey)&&e.altKey)return c(l.find("span.fr-font-awesome:first"),e),!1;if(o==u.FE.KEYCODE.TAB||o==u.FE.KEYCODE.ARROW_LEFT||o==u.FE.KEYCODE.ARROW_RIGHT){var t=null,r=null,s=!1;return o==u.FE.KEYCODE.ARROW_LEFT||o==u.FE.KEYCODE.ARROW_RIGHT?(r=o==u.FE.KEYCODE.ARROW_RIGHT,s=!0):r=!e.shiftKey,a.length?(s&&(t=r?a.nextAll("span.fr-font-awesome:first"):a.prevAll("span.fr-font-awesome:first")),t&&t.length||(t=r?a.parent().next().find("span.fr-font-awesome:first"):a.parent().prev().find("span.fr-font-awesome:"+(s?"last":"first"))).length||(t=l.find("span.fr-font-awesome:"+(r?"first":"last")))):t=l.find("span.fr-font-awesome:"+(r?"first":"last")),c(t,e),!1}if(o!=u.FE.KEYCODE.ENTER||!a.length)return!0;(i.data("instance")||n).fontAwesome.insert(a)},!0)}n.modals.show(t),n.modals.resize(t)},hide:function(){n.modals.hide(t)},insert:function(e){n.fontAwesome.hide(),n.undo.saveStep(),n.html.insert(n.opts.fontAwesomeTemplate.replace(/\[NAME\]/g,e.attr("value")),!0),n.undo.saveStep()}}},u.FroalaEditor.DefineIcon("fontAwesome",{NAME:"font-awesome",FA5NAME:"font-awesome-flag",template:function(){return"font_awesome_5"==this.opts.iconsTemplate?"font_awesome_5b":u.FE.ICON_DEFAULT_TEMPLATE||this.opts.iconsTemplate}}),u.FE.RegisterCommand("fontAwesome",{title:"Font Awesome",icon:"fontAwesome",undo:!1,focus:!1,modal:!0,callback:function(){this.fontAwesome.show()},plugin:"fontAwesome",showOnMobile:!0})});
@@ -1,7 +1,7 @@
1
- /*!
2
- * froala_editor v2.9.5 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2019 Froala Labs
5
- */
6
-
1
+ /*!
2
+ * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2019 Froala Labs
5
+ */
6
+
7
7
  !function(r){"function"==typeof define&&define.amd?define(["jquery"],r):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),r(t)}:r(window.jQuery)}(function(s){if(s.extend(s.FE.DEFAULTS,{aviaryKey:"542e1ff5d5144b9b81cef846574ba6cf",aviaryScriptURL:"https://dme0ih8comzn4.cloudfront.net/imaging/v3/editor.js",aviaryOptions:{displayImageSize:!0,theme:"minimum"}}),s.FE.PLUGINS.imageAviary=function(d){function i(){d.shared.feather_editor=new Aviary.Feather(s.extend({apiKey:d.opts.aviaryKey,onSave:function(e,t){var r=new Image;r.crossOrigin="Anonymous",r.onload=function(){var e=document.createElement("CANVAS"),t=e.getContext("2d");e.height=this.height,e.width=this.width,t.drawImage(this,0,0);for(var r=e.toDataURL("image/png"),i=atob(r.split(",")[1]),a=[],n=0;n<i.length;n++)a.push(i.charCodeAt(n));var o=new Blob([new Uint8Array(a)],{type:"image/png"});d.shared.feather_editor.instance.image.edit(s(d.shared.feather_editor.current_image)),d.shared.feather_editor.instance.image.upload([o]),d.shared.feather_editor.close()},r.src=t,d.shared.feather_editor.showWaitIndicator()},onError:function(e){throw new Error(e.message)},onClose:function(){d.shared.feather_editor.instance.image.get()||d.shared.feather_editor.instance.image.edit(s(d.shared.feather_editor.current_image))}},d.opts.aviaryOptions))}return{_init:function(){var e,t,r;d.shared.feather_editor||(d.shared.feather_editor=!0,"undefined"==typeof Aviary?(e=d.opts.aviaryScriptURL,t=i,(r=document.createElement("script")).type="text/javascript",r.defer="defer",r.src=e,r.innerText="",r.onload=t,document.getElementsByTagName("head")[0].appendChild(r)):i())},launch:function(e){"object"==typeof e.shared.feather_editor&&(e.shared.feather_editor.current_image=e.image.get()[0],(e.shared.feather_editor.instance=e).shared.feather_editor.launch({image:e.image.get()[0],url:e.image.get()[0].src}))}}},s.FE.DefineIcon("aviary",{NAME:"sliders",FA5NAME:"sliders-h"}),s.FE.RegisterCommand("aviary",{title:"Advanced Edit",undo:!1,focus:!1,callback:function(e,t){this.imageAviary.launch(this)},plugin:"imageAviary"}),!s.FE.PLUGINS.image)throw new Error("Image Aviary plugin requires image plugin.")});
@@ -1,7 +1,7 @@
1
- /*!
2
- * froala_editor v2.9.5 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2019 Froala Labs
5
- */
6
-
1
+ /*!
2
+ * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2019 Froala Labs
5
+ */
6
+
7
7
  !function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),i(t)}:i(window.jQuery)}(function(s){if(s.extend(s.FE.DEFAULTS,{imageTUIOptions:{includeUI:{theme:{"menu.normalIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-d.svg","menu.activeIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-b.svg","menu.disabledIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-a.svg","menu.hoverIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-c.svg","submenu.normalIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-d.svg","submenu.normalIcon.name":"icon-d","submenu.activeIcon.path":"https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/svg/icon-c.svg","submenu.activeIcon.name":"icon-c"},initMenu:"filter",menuBarPosition:"left"}},tui:window.tui}),s.FE.PLUGINS.imageTUI=function(u){function c(e){s("#tuieditor").remove(),e.style.display="none"}return{_init:function(){var e=u.o_doc.body,t=u.o_doc.createElement("div");t.setAttribute("id","tuiContainer"),t.style.cssText="position: fixed; top: 0;left: 0;margin: 0;padding: 0;width: 100%;height: 100%;background: rgba(0,0,0,.5);z-index: 9998;display:none",e.appendChild(t)},launch:function(t){if("object"==typeof u.opts.tui){u.o_doc.body;var e=u.o_doc.createElement("div");e.setAttribute("id","tuieditor");var i=u.o_doc.getElementById("tuiContainer");i.appendChild(e),i.style.display="block";var n=t.image.get(),o=u.opts.imageTUIOptions;o.includeUI.loadImage={path:n[0].src,name:" "};var d=new u.opts.tui.ImageEditor(u.o_doc.querySelector("#tuieditor"),o),a=u.o_doc.getElementById("tuieditor");a.style.minHeight="590px",a.style.width="94%",a.style.height="94%",a.style.margin="auto",s(".tui-image-editor-header-buttons").html('<button class="tui-editor-cancel-btn" data-cmd="cancel_tui_image">Cancel</button> <button class="tui-editor-save-btn">Save</button>'),s(".tui-editor-cancel-btn").click(function(e){c(i)}),s(".tui-editor-save-btn").click(function(e){!function(e,t,i){for(var n=e.toDataURL(),o=atob(n.split(",")[1]),d=[],a=0;a<o.length;a++)d.push(o.charCodeAt(a));var u=new Blob([new Uint8Array(d)],{type:"image/png"});t.image.edit(s(i)),t.image.upload([u])}(d,t,n),c(i)})}}}},s.FE.DefineIcon("imageTUI",{NAME:"sliders",FA5NAME:"sliders-h"}),s.FE.RegisterCommand("imageTUI",{title:"Advanced Edit",undo:!1,focus:!1,callback:function(e,t){this.imageTUI.launch(this)},plugin:"imageTUI"}),!s.FE.PLUGINS.image)throw new Error("TUI image editor plugin requires image plugin.");s.FE.DEFAULTS.imageEditButtons.push("imageTUI")});
@@ -1,7 +1,7 @@
1
- /*!
2
- * froala_editor v2.9.5 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2019 Froala Labs
5
- */
6
-
1
+ /*!
2
+ * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2019 Froala Labs
5
+ */
6
+
7
7
  !function(s){"function"==typeof define&&define.amd?define(["jquery"],s):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),s(t)}:s(window.jQuery)}(function(a){a.FE.DEFAULT_SCAYT_OPTIONS={enableOnTouchDevices:!1,disableOptionsStorage:["all"],localization:"en",extraModules:"ui",DefaultSelection:"American English",spellcheckLang:"en_US",contextMenuSections:"suggest|moresuggest",serviceProtocol:"https",servicePort:"80",serviceHost:"svc.webspellchecker.net",servicePath:"spellcheck/script/ssrv.cgi",contextMenuForMisspelledOnly:!0,scriptPath:"https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"},a.extend(a.FE.DEFAULTS,{scaytAutoload:!1,scaytCustomerId:"1:tLBmI3-7rr3J1-GMEFA1-mIewo-hynTZ1-PV38I1-uEXCy2-Rn81L-gXuG4-NUNri4-5q9Q34-Jd",scaytOptions:{}}),a.FE.PLUGINS.spellChecker=function(s){var l;function e(e){if(l&&l.isDisabled){var t=!l.isDisabled();e.toggleClass("fr-active",t).attr("aria-pressed",t),s.$el.attr("spellcheck",s.opts.spellcheck&&!t)}}function t(e){l&&l.isDisabled&&!l.isDisabled()&&0<=["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","html"].indexOf(e)&&l.removeMarkupInSelectionNode({removeInside:!0})}function n(e){l&&l.isDisabled&&!l.isDisabled()&&0<=["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","html"].indexOf(e)&&l.reloadMarkup()}function o(e){l&&l.isDisabled&&!l.isDisabled()&&(e.which==a.FE.KEYCODE.ENTER&&setTimeout(l.reloadMarkup,0))}function r(e){if(e&&e.getAttribute&&e.getAttribute("data-scayt-word"))e.outerHTML=e.innerHTML;else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var t=e.querySelectorAll("[data-scayt-word], [data-spelling-word]"),s=0;s<t.length;s++)t[s].outerHTML=t[s].innerHTML}function i(){s.events.on("commands.before",t),s.events.on("commands.after",n),s.events.on("keydown",o,!0),s.events.on("html.processGet",r),e(s.$tb.find('[data-cmd="spellChecker"]'))}function c(){var e=s.opts.scaytOptions;e.customerId=s.opts.scaytCustomerId,e.container=s.$iframe?s.$iframe.get(0):s.$el.get(0),e.autoStartup=s.opts.scaytAutoload,e.onLoad=i,null!==s.opts.language&&(s.opts.spellCheckerLanguage=s.opts.language),!0===s.opts.scaytAutoload&&(s.opts.spellcheck=!1),l=new SCAYT.CUSTOMSCAYT(e)}return{_init:function(){if(!s.$wp)return!1;if(s.opts.scaytOptions=a.extend({},a.FE.DEFAULT_SCAYT_OPTIONS,s.opts.scaytOptions),"undefined"!=typeof SCAYT)c();else if(s.shared.spellCheckerLoaded||(s.shared.spellCheckerCallbacks=[]),s.shared.spellCheckerCallbacks.push(c),!s.shared.spellCheckerLoaded){s.shared.spellCheckerLoaded=!0;var e=document.createElement("script");e.type="text/javascript",e.src=s.opts.scaytOptions.scriptPath,e.innerText="",e.onload=function(){for(var e=0;e<s.shared.spellCheckerCallbacks.length;e++)s.shared.spellCheckerCallbacks[e]()},document.getElementsByTagName("head")[0].appendChild(e)}},refresh:e,toggle:function(){l&&l.isDisabled&&l.setDisabled(!l.isDisabled())}}},a.FE.DefineIcon("spellChecker",{NAME:"keyboard-o",FA5NAME:"keyboard"}),a.FE.RegisterCommand("spellChecker",{title:"Spell Checker",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.spellChecker.toggle()},refresh:function(e){this.spellChecker.refresh(e)},plugin:"spellChecker"})});
@@ -1,1334 +1,1334 @@
1
- /*!
2
- * froala_editor v2.9.5 (https://www.froala.com/wysiwyg-editor)
3
- * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2019 Froala Labs
5
- */
6
-
7
- .clearfix::after {
8
- clear: both;
9
- display: block;
10
- content: "";
11
- height: 0;
12
- }
13
- .hide-by-clipping {
14
- position: absolute;
15
- width: 1px;
16
- height: 1px;
17
- padding: 0;
18
- margin: -1px;
19
- overflow: hidden;
20
- clip: rect(0, 0, 0, 0);
21
- border: 0;
22
- }
23
- .fr-element,
24
- .fr-element:focus {
25
- outline: 0px solid transparent;
26
- }
27
- .fr-box.fr-basic .fr-element {
28
- color: #000000;
29
- padding: 16px;
30
- -webkit-box-sizing: border-box;
31
- -moz-box-sizing: border-box;
32
- box-sizing: border-box;
33
- overflow-x: auto;
34
- min-height: 52px;
35
- }
36
- .fr-box.fr-basic.fr-rtl .fr-element {
37
- text-align: right;
38
- }
39
- .fr-element {
40
- background: transparent;
41
- position: relative;
42
- z-index: 2;
43
- -webkit-user-select: auto;
44
- }
45
- .fr-element a {
46
- user-select: auto;
47
- -o-user-select: auto;
48
- -moz-user-select: auto;
49
- -khtml-user-select: auto;
50
- -webkit-user-select: auto;
51
- -ms-user-select: auto;
52
- }
53
- .fr-element.fr-disabled {
54
- user-select: none;
55
- -o-user-select: none;
56
- -moz-user-select: none;
57
- -khtml-user-select: none;
58
- -webkit-user-select: none;
59
- -ms-user-select: none;
60
- }
61
- .fr-element [contenteditable="true"] {
62
- outline: 0px solid transparent;
63
- }
64
- .fr-box a.fr-floating-btn {
65
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
66
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
67
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
68
- border-radius: 100%;
69
- -moz-border-radius: 100%;
70
- -webkit-border-radius: 100%;
71
- -moz-background-clip: padding;
72
- -webkit-background-clip: padding-box;
73
- background-clip: padding-box;
74
- height: 32px;
75
- width: 32px;
76
- background: #ffffff;
77
- color: #1e88e5;
78
- -webkit-transition: background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;
79
- -moz-transition: background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;
80
- -ms-transition: background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;
81
- -o-transition: background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;
82
- outline: none;
83
- left: 0;
84
- top: 0;
85
- line-height: 32px;
86
- -webkit-transform: scale(0);
87
- -moz-transform: scale(0);
88
- -ms-transform: scale(0);
89
- -o-transform: scale(0);
90
- text-align: center;
91
- display: block;
92
- -webkit-box-sizing: border-box;
93
- -moz-box-sizing: border-box;
94
- box-sizing: border-box;
95
- border: none;
96
- }
97
- .fr-box a.fr-floating-btn svg {
98
- -webkit-transition: transform 0.2s ease 0s;
99
- -moz-transition: transform 0.2s ease 0s;
100
- -ms-transition: transform 0.2s ease 0s;
101
- -o-transition: transform 0.2s ease 0s;
102
- fill: #1e88e5;
103
- }
104
- .fr-box a.fr-floating-btn i,
105
- .fr-box a.fr-floating-btn svg {
106
- font-size: 14px;
107
- line-height: 32px;
108
- }
109
- .fr-box a.fr-floating-btn.fr-btn + .fr-btn {
110
- margin-left: 10px;
111
- }
112
- .fr-box a.fr-floating-btn:hover {
113
- background: #ebebeb;
114
- cursor: pointer;
115
- }
116
- .fr-box a.fr-floating-btn:hover svg {
117
- fill: #1e88e5;
118
- }
119
- .fr-box .fr-visible a.fr-floating-btn {
120
- -webkit-transform: scale(1);
121
- -moz-transform: scale(1);
122
- -ms-transform: scale(1);
123
- -o-transform: scale(1);
124
- }
125
- iframe.fr-iframe {
126
- width: 100%;
127
- border: none;
128
- position: relative;
129
- display: block;
130
- z-index: 2;
131
- -webkit-box-sizing: border-box;
132
- -moz-box-sizing: border-box;
133
- box-sizing: border-box;
134
- }
135
- .fr-wrapper {
136
- position: relative;
137
- z-index: 1;
138
- }
139
- .fr-wrapper::after {
140
- clear: both;
141
- display: block;
142
- content: "";
143
- height: 0;
144
- }
145
- .fr-wrapper .fr-placeholder {
146
- position: absolute;
147
- font-size: 12px;
148
- color: #aaaaaa;
149
- z-index: 1;
150
- display: none;
151
- top: 0;
152
- left: 0;
153
- right: 0;
154
- overflow: hidden;
155
- }
156
- .fr-wrapper.show-placeholder .fr-placeholder {
157
- display: block;
158
- }
159
- .fr-wrapper ::-moz-selection {
160
- background: #b5d6fd;
161
- color: #000000;
162
- }
163
- .fr-wrapper ::selection {
164
- background: #b5d6fd;
165
- color: #000000;
166
- }
167
- .fr-box.fr-basic .fr-wrapper {
168
- background: #ffffff;
169
- border: 0px;
170
- border-top: 0;
171
- top: 0;
172
- left: 0;
173
- }
174
- .fr-box.fr-basic.fr-top .fr-wrapper {
175
- border-top: 0;
176
- border-radius: 0 0 2px 2px;
177
- -moz-border-radius: 0 0 2px 2px;
178
- -webkit-border-radius: 0 0 2px 2px;
179
- -moz-background-clip: padding;
180
- -webkit-background-clip: padding-box;
181
- background-clip: padding-box;
182
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
183
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
184
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
185
- }
186
- .fr-box.fr-basic.fr-bottom .fr-wrapper {
187
- border-bottom: 0;
188
- border-radius: 2px 2px 0 0;
189
- -moz-border-radius: 2px 2px 0 0;
190
- -webkit-border-radius: 2px 2px 0 0;
191
- -moz-background-clip: padding;
192
- -webkit-background-clip: padding-box;
193
- background-clip: padding-box;
194
- -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
195
- -moz-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
196
- box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
197
- }
198
- @media (min-width: 992px) {
199
- .fr-box.fr-document {
200
- min-width: 21cm;
201
- }
202
- .fr-box.fr-document .fr-wrapper {
203
- text-align: left;
204
- padding: 30px;
205
- min-width: 21cm;
206
- background: #EFEFEF;
207
- }
208
- .fr-box.fr-document .fr-wrapper .fr-element {
209
- text-align: left;
210
- background: #FFF;
211
- width: 21cm;
212
- margin: auto;
213
- min-height: 26cm !important;
214
- padding: 1cm 2cm;
215
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
216
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
217
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
218
- overflow: visible;
219
- z-index: auto;
220
- }
221
- .fr-box.fr-document .fr-wrapper .fr-element hr {
222
- margin-left: -2cm;
223
- margin-right: -2cm;
224
- background: #EFEFEF;
225
- height: 1cm;
226
- outline: none;
227
- border: none;
228
- }
229
- .fr-box.fr-document .fr-wrapper .fr-element img {
230
- z-index: 1;
231
- }
232
- }
233
- .fr-tooltip {
234
- position: absolute;
235
- top: 0;
236
- left: 0;
237
- padding: 0 8px;
238
- border-radius: 2px;
239
- -moz-border-radius: 2px;
240
- -webkit-border-radius: 2px;
241
- -moz-background-clip: padding;
242
- -webkit-background-clip: padding-box;
243
- background-clip: padding-box;
244
- -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
245
- -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
246
- box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
247
- background: #222222;
248
- color: #ffffff;
249
- font-size: 11px;
250
- line-height: 22px;
251
- font-family: Arial, Helvetica, sans-serif;
252
- -webkit-transition: opacity 0.2s ease 0s;
253
- -moz-transition: opacity 0.2s ease 0s;
254
- -ms-transition: opacity 0.2s ease 0s;
255
- -o-transition: opacity 0.2s ease 0s;
256
- -webkit-opacity: 0;
257
- -moz-opacity: 0;
258
- opacity: 0;
259
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
260
- left: -3000px;
261
- user-select: none;
262
- -o-user-select: none;
263
- -moz-user-select: none;
264
- -khtml-user-select: none;
265
- -webkit-user-select: none;
266
- -ms-user-select: none;
267
- z-index: 2147483647;
268
- text-rendering: optimizelegibility;
269
- -webkit-font-smoothing: antialiased;
270
- -moz-osx-font-smoothing: grayscale;
271
- }
272
- .fr-tooltip.fr-visible {
273
- -webkit-opacity: 1;
274
- -moz-opacity: 1;
275
- opacity: 1;
276
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
277
- }
278
- .fr-toolbar .fr-btn-wrap,
279
- .fr-popup .fr-btn-wrap {
280
- float: left;
281
- white-space: nowrap;
282
- position: relative;
283
- }
284
- .fr-toolbar .fr-btn-wrap.fr-hidden,
285
- .fr-popup .fr-btn-wrap.fr-hidden {
286
- display: none;
287
- }
288
- .fr-toolbar .fr-command.fr-btn,
289
- .fr-popup .fr-command.fr-btn {
290
- background: transparent;
291
- color: #222222;
292
- -moz-outline: 0;
293
- outline: 0;
294
- border: 0;
295
- line-height: 1;
296
- cursor: pointer;
297
- text-align: left;
298
- margin: 0px 2px;
299
- -webkit-transition: background 0.2s ease 0s;
300
- -moz-transition: background 0.2s ease 0s;
301
- -ms-transition: background 0.2s ease 0s;
302
- -o-transition: background 0.2s ease 0s;
303
- border-radius: 0;
304
- -moz-border-radius: 0;
305
- -webkit-border-radius: 0;
306
- -moz-background-clip: padding;
307
- -webkit-background-clip: padding-box;
308
- background-clip: padding-box;
309
- z-index: 2;
310
- position: relative;
311
- -webkit-box-sizing: border-box;
312
- -moz-box-sizing: border-box;
313
- box-sizing: border-box;
314
- text-decoration: none;
315
- user-select: none;
316
- -o-user-select: none;
317
- -moz-user-select: none;
318
- -khtml-user-select: none;
319
- -webkit-user-select: none;
320
- -ms-user-select: none;
321
- float: left;
322
- padding: 0;
323
- width: 38px;
324
- height: 38px;
325
- }
326
- .fr-toolbar .fr-command.fr-btn::-moz-focus-inner,
327
- .fr-popup .fr-command.fr-btn::-moz-focus-inner {
328
- border: 0;
329
- padding: 0;
330
- }
331
- .fr-toolbar .fr-command.fr-btn.fr-btn-text,
332
- .fr-popup .fr-command.fr-btn.fr-btn-text {
333
- width: auto;
334
- }
335
- .fr-toolbar .fr-command.fr-btn i,
336
- .fr-popup .fr-command.fr-btn i,
337
- .fr-toolbar .fr-command.fr-btn svg,
338
- .fr-popup .fr-command.fr-btn svg {
339
- display: block;
340
- font-size: 14px;
341
- width: 14px;
342
- margin: 12px 12px;
343
- text-align: center;
344
- float: none;
345
- }
346
- .fr-toolbar .fr-command.fr-btn span.fr-sr-only,
347
- .fr-popup .fr-command.fr-btn span.fr-sr-only {
348
- position: absolute;
349
- width: 1px;
350
- height: 1px;
351
- padding: 0;
352
- margin: -1px;
353
- overflow: hidden;
354
- clip: rect(0, 0, 0, 0);
355
- border: 0;
356
- }
357
- .fr-toolbar .fr-command.fr-btn span,
358
- .fr-popup .fr-command.fr-btn span {
359
- font-size: 14px;
360
- display: block;
361
- line-height: 17px;
362
- min-width: 34px;
363
- float: left;
364
- text-overflow: ellipsis;
365
- overflow: hidden;
366
- white-space: nowrap;
367
- height: 17px;
368
- font-weight: bold;
369
- padding: 0 2px;
370
- }
371
- .fr-toolbar .fr-command.fr-btn img,
372
- .fr-popup .fr-command.fr-btn img {
373
- margin: 12px 12px;
374
- width: 14px;
375
- }
376
- .fr-toolbar .fr-command.fr-btn.fr-active,
377
- .fr-popup .fr-command.fr-btn.fr-active {
378
- color: #1e88e5;
379
- background: transparent;
380
- }
381
- .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-selection,
382
- .fr-popup .fr-command.fr-btn.fr-dropdown.fr-selection {
383
- width: auto;
384
- }
385
- .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-selection span,
386
- .fr-popup .fr-command.fr-btn.fr-dropdown.fr-selection span {
387
- font-weight: normal;
388
- }
389
- .fr-toolbar .fr-command.fr-btn.fr-dropdown i,
390
- .fr-popup .fr-command.fr-btn.fr-dropdown i,
391
- .fr-toolbar .fr-command.fr-btn.fr-dropdown span,
392
- .fr-popup .fr-command.fr-btn.fr-dropdown span,
393
- .fr-toolbar .fr-command.fr-btn.fr-dropdown img,
394
- .fr-popup .fr-command.fr-btn.fr-dropdown img,
395
- .fr-toolbar .fr-command.fr-btn.fr-dropdown svg,
396
- .fr-popup .fr-command.fr-btn.fr-dropdown svg {
397
- margin-left: 8px;
398
- margin-right: 16px;
399
- }
400
- .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active,
401
- .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active {
402
- color: #222222;
403
- background: #d6d6d6;
404
- }
405
- .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover,
406
- .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover,
407
- .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:focus,
408
- .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:focus {
409
- background: #d6d6d6 !important;
410
- color: #222222 !important;
411
- }
412
- .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,
413
- .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,
414
- .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:focus::after,
415
- .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:focus::after {
416
- border-top-color: #222222 !important;
417
- }
418
- .fr-toolbar .fr-command.fr-btn.fr-dropdown::after,
419
- .fr-popup .fr-command.fr-btn.fr-dropdown::after {
420
- position: absolute;
421
- width: 0;
422
- height: 0;
423
- border-left: 4px solid transparent;
424
- border-right: 4px solid transparent;
425
- border-top: 4px solid #222222;
426
- right: 4px;
427
- top: 17px;
428
- content: "";
429
- }
430
- .fr-toolbar .fr-command.fr-btn.fr-disabled,
431
- .fr-popup .fr-command.fr-btn.fr-disabled {
432
- color: #bdbdbd;
433
- cursor: default;
434
- }
435
- .fr-toolbar .fr-command.fr-btn.fr-disabled::after,
436
- .fr-popup .fr-command.fr-btn.fr-disabled::after {
437
- border-top-color: #bdbdbd !important;
438
- }
439
- .fr-toolbar .fr-command.fr-btn.fr-hidden,
440
- .fr-popup .fr-command.fr-btn.fr-hidden {
441
- display: none;
442
- }
443
- .fr-toolbar.fr-disabled .fr-btn,
444
- .fr-popup.fr-disabled .fr-btn,
445
- .fr-toolbar.fr-disabled .fr-btn.fr-active,
446
- .fr-popup.fr-disabled .fr-btn.fr-active {
447
- color: #bdbdbd;
448
- }
449
- .fr-toolbar.fr-disabled .fr-btn.fr-dropdown::after,
450
- .fr-popup.fr-disabled .fr-btn.fr-dropdown::after,
451
- .fr-toolbar.fr-disabled .fr-btn.fr-active.fr-dropdown::after,
452
- .fr-popup.fr-disabled .fr-btn.fr-active.fr-dropdown::after {
453
- border-top-color: #bdbdbd;
454
- }
455
- .fr-toolbar.fr-rtl .fr-command.fr-btn,
456
- .fr-popup.fr-rtl .fr-command.fr-btn,
457
- .fr-toolbar.fr-rtl .fr-btn-wrap,
458
- .fr-popup.fr-rtl .fr-btn-wrap {
459
- float: right;
460
- }
461
- .fr-toolbar.fr-inline > .fr-command.fr-btn:not(.fr-hidden),
462
- .fr-toolbar.fr-inline > .fr-btn-wrap:not(.fr-hidden) {
463
- display: -webkit-inline-flex;
464
- display: -ms-inline-flexbox;
465
- display: inline-flex;
466
- float: none;
467
- }
468
- .fr-desktop .fr-command:hover,
469
- .fr-desktop .fr-command:focus,
470
- .fr-desktop .fr-command.fr-btn-hover,
471
- .fr-desktop .fr-command.fr-expanded {
472
- outline: 0;
473
- color: #222222;
474
- background: #ebebeb;
475
- }
476
- .fr-desktop .fr-command:hover::after,
477
- .fr-desktop .fr-command:focus::after,
478
- .fr-desktop .fr-command.fr-btn-hover::after,
479
- .fr-desktop .fr-command.fr-expanded::after {
480
- border-top-color: #222222 !important;
481
- }
482
- .fr-desktop .fr-command.fr-selected {
483
- color: #222222;
484
- background: #d6d6d6;
485
- }
486
- .fr-desktop .fr-command.fr-active:hover,
487
- .fr-desktop .fr-command.fr-active:focus,
488
- .fr-desktop .fr-command.fr-active.fr-btn-hover,
489
- .fr-desktop .fr-command.fr-active.fr-expanded {
490
- color: #1e88e5;
491
- background: #ebebeb;
492
- }
493
- .fr-desktop .fr-command.fr-active.fr-selected {
494
- color: #1e88e5;
495
- background: #d6d6d6;
496
- }
497
- .fr-desktop .fr-command.fr-disabled:hover,
498
- .fr-desktop .fr-command.fr-disabled:focus,
499
- .fr-desktop .fr-command.fr-disabled.fr-selected {
500
- background: transparent;
501
- }
502
- .fr-desktop.fr-disabled .fr-command:hover,
503
- .fr-desktop.fr-disabled .fr-command:focus,
504
- .fr-desktop.fr-disabled .fr-command.fr-selected {
505
- background: transparent;
506
- }
507
- .fr-toolbar.fr-mobile .fr-command.fr-blink,
508
- .fr-popup.fr-mobile .fr-command.fr-blink {
509
- background: transparent;
510
- }
511
- .fr-command.fr-btn.fr-options {
512
- width: 16px;
513
- margin-left: -5px;
514
- }
515
- .fr-command.fr-btn.fr-options.fr-btn-hover,
516
- .fr-command.fr-btn.fr-options:hover,
517
- .fr-command.fr-btn.fr-options:focus {
518
- border-left: solid 1px #fafafa;
519
- }
520
- .fr-command.fr-btn + .fr-dropdown-menu {
521
- display: inline-block;
522
- position: absolute;
523
- right: auto;
524
- bottom: auto;
525
- height: auto;
526
- z-index: 4;
527
- -webkit-overflow-scrolling: touch;
528
- overflow: hidden;
529
- zoom: 1;
530
- border-radius: 0 0 2px 2px;
531
- -moz-border-radius: 0 0 2px 2px;
532
- -webkit-border-radius: 0 0 2px 2px;
533
- -moz-background-clip: padding;
534
- -webkit-background-clip: padding-box;
535
- background-clip: padding-box;
536
- }
537
- .fr-command.fr-btn + .fr-dropdown-menu.test-height .fr-dropdown-wrapper {
538
- -webkit-transition: none;
539
- -moz-transition: none;
540
- -ms-transition: none;
541
- -o-transition: none;
542
- height: auto;
543
- max-height: 275px;
544
- }
545
- .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper {
546
- background: #ffffff;
547
- padding: 0;
548
- margin: auto;
549
- display: inline-block;
550
- text-align: left;
551
- position: relative;
552
- -webkit-box-sizing: border-box;
553
- -moz-box-sizing: border-box;
554
- box-sizing: border-box;
555
- -webkit-transition: max-height 0.2s ease 0s;
556
- -moz-transition: max-height 0.2s ease 0s;
557
- -ms-transition: max-height 0.2s ease 0s;
558
- -o-transition: max-height 0.2s ease 0s;
559
- margin-top: 0;
560
- float: left;
561
- max-height: 0;
562
- height: 0;
563
- margin-top: 0 !important;
564
- }
565
- .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content {
566
- overflow: auto;
567
- position: relative;
568
- max-height: 275px;
569
- }
570
- .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list {
571
- list-style-type: none;
572
- margin: 0;
573
- padding: 0;
574
- }
575
- .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li {
576
- padding: 0;
577
- margin: 0;
578
- font-size: 15px;
579
- }
580
- .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a {
581
- padding: 0 24px;
582
- line-height: 200%;
583
- display: block;
584
- cursor: pointer;
585
- white-space: nowrap;
586
- color: inherit;
587
- text-decoration: none;
588
- }
589
- .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active {
590
- background: #d6d6d6;
591
- }
592
- .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-disabled {
593
- color: #bdbdbd;
594
- cursor: default;
595
- }
596
- .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a .fr-shortcut {
597
- float: right;
598
- margin-left: 32px;
599
- font-weight: bold;
600
- -webkit-opacity: 0.75;
601
- -moz-opacity: 0.75;
602
- opacity: 0.75;
603
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
604
- }
605
- .fr-command.fr-btn:not(.fr-active) + .fr-dropdown-menu {
606
- left: -3000px !important;
607
- }
608
- .fr-command.fr-btn.fr-active + .fr-dropdown-menu {
609
- display: inline-block;
610
- -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
611
- -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
612
- box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
613
- }
614
- .fr-command.fr-btn.fr-active + .fr-dropdown-menu .fr-dropdown-wrapper {
615
- height: auto;
616
- max-height: 275px;
617
- }
618
- .fr-bottom > .fr-command.fr-btn + .fr-dropdown-menu {
619
- border-radius: 2px 2px 0 0;
620
- -moz-border-radius: 2px 2px 0 0;
621
- -webkit-border-radius: 2px 2px 0 0;
622
- -moz-background-clip: padding;
623
- -webkit-background-clip: padding-box;
624
- background-clip: padding-box;
625
- }
626
- .fr-toolbar.fr-rtl .fr-dropdown-wrapper,
627
- .fr-popup.fr-rtl .fr-dropdown-wrapper {
628
- text-align: right !important;
629
- }
630
- body.prevent-scroll {
631
- overflow: hidden;
632
- }
633
- body.prevent-scroll.fr-mobile {
634
- position: fixed;
635
- -webkit-overflow-scrolling: touch;
636
- }
637
- .fr-modal {
638
- color: #222222;
639
- font-family: Arial, Helvetica, sans-serif;
640
- position: fixed;
641
- overflow-x: auto;
642
- overflow-y: scroll;
643
- top: 0;
644
- left: 0;
645
- bottom: 0;
646
- right: 0;
647
- width: 100%;
648
- z-index: 2147483640;
649
- text-rendering: optimizelegibility;
650
- -webkit-font-smoothing: antialiased;
651
- -moz-osx-font-smoothing: grayscale;
652
- text-align: center;
653
- line-height: 1.2;
654
- }
655
- .fr-modal.fr-middle .fr-modal-wrapper {
656
- margin-top: 0;
657
- margin-bottom: 0;
658
- margin-left: auto;
659
- margin-right: auto;
660
- top: 50%;
661
- left: 50%;
662
- -webkit-transform: translate(-50%, -50%);
663
- -moz-transform: translate(-50%, -50%);
664
- -ms-transform: translate(-50%, -50%);
665
- -o-transform: translate(-50%, -50%);
666
- position: absolute;
667
- }
668
- .fr-modal .fr-modal-wrapper {
669
- border-radius: 2px;
670
- -moz-border-radius: 2px;
671
- -webkit-border-radius: 2px;
672
- -moz-background-clip: padding;
673
- -webkit-background-clip: padding-box;
674
- background-clip: padding-box;
675
- margin: 20px auto;
676
- display: inline-block;
677
- background: #ffffff;
678
- min-width: 300px;
679
- -webkit-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.19), 0 4px 3px 1px rgba(0, 0, 0, 0.14);
680
- -moz-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.19), 0 4px 3px 1px rgba(0, 0, 0, 0.14);
681
- box-shadow: 0 5px 8px rgba(0, 0, 0, 0.19), 0 4px 3px 1px rgba(0, 0, 0, 0.14);
682
- border: 0px;
683
- border-top: 5px solid #222222;
684
- overflow: hidden;
685
- width: 90%;
686
- position: relative;
687
- }
688
- @media (min-width: 768px) and (max-width: 991px) {
689
- .fr-modal .fr-modal-wrapper {
690
- margin: 30px auto;
691
- width: 70%;
692
- }
693
- }
694
- @media (min-width: 992px) {
695
- .fr-modal .fr-modal-wrapper {
696
- margin: 50px auto;
697
- width: 960px;
698
- }
699
- }
700
- .fr-modal .fr-modal-wrapper .fr-modal-head {
701
- background: #ffffff;
702
- -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
703
- -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
704
- box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
705
- border-bottom: 0px;
706
- overflow: hidden;
707
- position: absolute;
708
- width: 100%;
709
- min-height: 42px;
710
- z-index: 3;
711
- -webkit-transition: height 0.2s ease 0s;
712
- -moz-transition: height 0.2s ease 0s;
713
- -ms-transition: height 0.2s ease 0s;
714
- -o-transition: height 0.2s ease 0s;
715
- }
716
- .fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-close {
717
- padding: 12px;
718
- width: 20px;
719
- font-size: 30px;
720
- cursor: pointer;
721
- line-height: 18px;
722
- color: #222222;
723
- -webkit-box-sizing: content-box;
724
- -moz-box-sizing: content-box;
725
- box-sizing: content-box;
726
- position: absolute;
727
- top: 0;
728
- right: 0;
729
- -webkit-transition: color 0.2s ease 0s;
730
- -moz-transition: color 0.2s ease 0s;
731
- -ms-transition: color 0.2s ease 0s;
732
- -o-transition: color 0.2s ease 0s;
733
- }
734
- .fr-modal .fr-modal-wrapper .fr-modal-head h4 {
735
- font-size: 18px;
736
- padding: 12px 10px;
737
- margin: 0;
738
- font-weight: 400;
739
- line-height: 18px;
740
- display: inline-block;
741
- float: left;
742
- }
743
- .fr-modal .fr-modal-wrapper div.fr-modal-body {
744
- height: 100%;
745
- min-height: 150px;
746
- overflow-y: scroll;
747
- padding-bottom: 10px;
748
- }
749
- .fr-modal .fr-modal-wrapper div.fr-modal-body:focus {
750
- outline: 0;
751
- }
752
- .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command {
753
- height: 36px;
754
- line-height: 1;
755
- color: #1e88e5;
756
- padding: 10px;
757
- cursor: pointer;
758
- text-decoration: none;
759
- border: none;
760
- background: none;
761
- font-size: 16px;
762
- outline: none;
763
- -webkit-transition: background 0.2s ease 0s;
764
- -moz-transition: background 0.2s ease 0s;
765
- -ms-transition: background 0.2s ease 0s;
766
- -o-transition: background 0.2s ease 0s;
767
- border-radius: 2px;
768
- -moz-border-radius: 2px;
769
- -webkit-border-radius: 2px;
770
- -moz-background-clip: padding;
771
- -webkit-background-clip: padding-box;
772
- background-clip: padding-box;
773
- }
774
- .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command + button {
775
- margin-left: 24px;
776
- }
777
- .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:hover,
778
- .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:focus {
779
- background: #ebebeb;
780
- color: #1e88e5;
781
- }
782
- .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:active {
783
- background: #d6d6d6;
784
- color: #1e88e5;
785
- }
786
- .fr-modal .fr-modal-wrapper div.fr-modal-body button::-moz-focus-inner {
787
- border: 0;
788
- }
789
- .fr-desktop .fr-modal-wrapper .fr-modal-head i:hover {
790
- background: #ebebeb;
791
- }
792
- .fr-overlay {
793
- position: fixed;
794
- top: 0;
795
- bottom: 0;
796
- left: 0;
797
- right: 0;
798
- background: #000000;
799
- -webkit-opacity: 0.5;
800
- -moz-opacity: 0.5;
801
- opacity: 0.5;
802
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
803
- z-index: 2147483639;
804
- }
805
- .fr-popup {
806
- position: absolute;
807
- display: none;
808
- color: #222222;
809
- background: #ffffff;
810
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
811
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
812
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
813
- border-radius: 2px;
814
- -moz-border-radius: 2px;
815
- -webkit-border-radius: 2px;
816
- -moz-background-clip: padding;
817
- -webkit-background-clip: padding-box;
818
- background-clip: padding-box;
819
- font-family: Arial, Helvetica, sans-serif;
820
- -webkit-box-sizing: border-box;
821
- -moz-box-sizing: border-box;
822
- box-sizing: border-box;
823
- user-select: none;
824
- -o-user-select: none;
825
- -moz-user-select: none;
826
- -khtml-user-select: none;
827
- -webkit-user-select: none;
828
- -ms-user-select: none;
829
- margin-top: 10px;
830
- z-index: 2147483635;
831
- text-align: left;
832
- border: 0px;
833
- border-top: 5px solid #222222;
834
- text-rendering: optimizelegibility;
835
- -webkit-font-smoothing: antialiased;
836
- -moz-osx-font-smoothing: grayscale;
837
- line-height: 1.2;
838
- }
839
- .fr-popup .fr-input-focus {
840
- background: #f5f5f5;
841
- }
842
- .fr-popup.fr-above {
843
- margin-top: -10px;
844
- border-top: 0;
845
- border-bottom: 5px solid #222222;
846
- -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
847
- -moz-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
848
- box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
849
- }
850
- .fr-popup.fr-active {
851
- display: block;
852
- }
853
- .fr-popup.fr-hidden {
854
- -webkit-opacity: 0;
855
- -moz-opacity: 0;
856
- opacity: 0;
857
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
858
- }
859
- .fr-popup.fr-empty {
860
- display: none !important;
861
- }
862
- .fr-popup .fr-hs {
863
- display: block !important;
864
- }
865
- .fr-popup .fr-hs.fr-hidden {
866
- display: none !important;
867
- }
868
- .fr-popup .fr-input-line {
869
- position: relative;
870
- padding: 8px 0;
871
- }
872
- .fr-popup .fr-input-line input[type="text"],
873
- .fr-popup .fr-input-line textarea {
874
- width: 100%;
875
- margin: 0px 0 1px 0;
876
- border: none;
877
- border-bottom: solid 1px #bdbdbd;
878
- color: #222222;
879
- font-size: 14px;
880
- padding: 6px 0 2px;
881
- background: rgba(0, 0, 0, 0);
882
- position: relative;
883
- z-index: 2;
884
- -webkit-box-sizing: border-box;
885
- -moz-box-sizing: border-box;
886
- box-sizing: border-box;
887
- }
888
- .fr-popup .fr-input-line input[type="text"]:focus,
889
- .fr-popup .fr-input-line textarea:focus {
890
- border-bottom: solid 2px #1e88e5;
891
- margin-bottom: 0px;
892
- }
893
- .fr-popup .fr-input-line input + label,
894
- .fr-popup .fr-input-line textarea + label {
895
- position: absolute;
896
- top: 0;
897
- left: 0;
898
- font-size: 12px;
899
- color: rgba(0, 0, 0, 0);
900
- -webkit-transition: color 0.2s ease 0s;
901
- -moz-transition: color 0.2s ease 0s;
902
- -ms-transition: color 0.2s ease 0s;
903
- -o-transition: color 0.2s ease 0s;
904
- z-index: 3;
905
- width: 100%;
906
- display: block;
907
- background: #ffffff;
908
- }
909
- .fr-popup .fr-input-line input.fr-not-empty:focus + label,
910
- .fr-popup .fr-input-line textarea.fr-not-empty:focus + label {
911
- color: #1e88e5;
912
- }
913
- .fr-popup .fr-input-line input.fr-not-empty + label,
914
- .fr-popup .fr-input-line textarea.fr-not-empty + label {
915
- color: #808080;
916
- }
917
- .fr-popup input,
918
- .fr-popup textarea {
919
- user-select: text;
920
- -o-user-select: text;
921
- -moz-user-select: text;
922
- -khtml-user-select: text;
923
- -webkit-user-select: text;
924
- -ms-user-select: text;
925
- border-radius: 0;
926
- -moz-border-radius: 0;
927
- -webkit-border-radius: 0;
928
- -moz-background-clip: padding;
929
- -webkit-background-clip: padding-box;
930
- background-clip: padding-box;
931
- outline: none;
932
- }
933
- .fr-popup textarea {
934
- resize: none;
935
- }
936
- .fr-popup .fr-buttons {
937
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
938
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
939
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
940
- padding: 0 2px;
941
- white-space: nowrap;
942
- line-height: 0;
943
- border-bottom: 0px;
944
- }
945
- .fr-popup .fr-buttons::after {
946
- clear: both;
947
- display: block;
948
- content: "";
949
- height: 0;
950
- }
951
- .fr-popup .fr-buttons .fr-btn {
952
- display: inline-block;
953
- float: none;
954
- }
955
- .fr-popup .fr-buttons .fr-btn i {
956
- float: left;
957
- }
958
- .fr-popup .fr-buttons .fr-separator {
959
- display: inline-block;
960
- float: none;
961
- }
962
- .fr-popup .fr-layer {
963
- width: 225px;
964
- -webkit-box-sizing: border-box;
965
- -moz-box-sizing: border-box;
966
- box-sizing: border-box;
967
- margin: 10px;
968
- display: none;
969
- }
970
- @media (min-width: 768px) {
971
- .fr-popup .fr-layer {
972
- width: 300px;
973
- }
974
- }
975
- .fr-popup .fr-layer.fr-active {
976
- display: inline-block;
977
- }
978
- .fr-popup .fr-action-buttons {
979
- z-index: 7;
980
- height: 36px;
981
- text-align: right;
982
- }
983
- .fr-popup .fr-action-buttons button.fr-command {
984
- height: 36px;
985
- line-height: 1;
986
- color: #1e88e5;
987
- padding: 10px;
988
- cursor: pointer;
989
- text-decoration: none;
990
- border: none;
991
- background: none;
992
- font-size: 16px;
993
- outline: none;
994
- -webkit-transition: background 0.2s ease 0s;
995
- -moz-transition: background 0.2s ease 0s;
996
- -ms-transition: background 0.2s ease 0s;
997
- -o-transition: background 0.2s ease 0s;
998
- border-radius: 2px;
999
- -moz-border-radius: 2px;
1000
- -webkit-border-radius: 2px;
1001
- -moz-background-clip: padding;
1002
- -webkit-background-clip: padding-box;
1003
- background-clip: padding-box;
1004
- }
1005
- .fr-popup .fr-action-buttons button.fr-command + button {
1006
- margin-left: 24px;
1007
- }
1008
- .fr-popup .fr-action-buttons button.fr-command:hover,
1009
- .fr-popup .fr-action-buttons button.fr-command:focus {
1010
- background: #ebebeb;
1011
- color: #1e88e5;
1012
- }
1013
- .fr-popup .fr-action-buttons button.fr-command:active {
1014
- background: #d6d6d6;
1015
- color: #1e88e5;
1016
- }
1017
- .fr-popup .fr-action-buttons button::-moz-focus-inner {
1018
- border: 0;
1019
- }
1020
- .fr-popup .fr-checkbox {
1021
- position: relative;
1022
- display: inline-block;
1023
- width: 16px;
1024
- height: 16px;
1025
- line-height: 1;
1026
- -webkit-box-sizing: content-box;
1027
- -moz-box-sizing: content-box;
1028
- box-sizing: content-box;
1029
- vertical-align: middle;
1030
- }
1031
- .fr-popup .fr-checkbox svg {
1032
- margin-left: 2px;
1033
- margin-top: 2px;
1034
- display: none;
1035
- width: 10px;
1036
- height: 10px;
1037
- }
1038
- .fr-popup .fr-checkbox span {
1039
- border: solid 1px #222222;
1040
- border-radius: 2px;
1041
- -moz-border-radius: 2px;
1042
- -webkit-border-radius: 2px;
1043
- -moz-background-clip: padding;
1044
- -webkit-background-clip: padding-box;
1045
- background-clip: padding-box;
1046
- width: 16px;
1047
- height: 16px;
1048
- display: inline-block;
1049
- position: relative;
1050
- z-index: 1;
1051
- -webkit-box-sizing: border-box;
1052
- -moz-box-sizing: border-box;
1053
- box-sizing: border-box;
1054
- -webkit-transition: background 0.2s ease 0s, border-color 0.2s ease 0s;
1055
- -moz-transition: background 0.2s ease 0s, border-color 0.2s ease 0s;
1056
- -ms-transition: background 0.2s ease 0s, border-color 0.2s ease 0s;
1057
- -o-transition: background 0.2s ease 0s, border-color 0.2s ease 0s;
1058
- }
1059
- .fr-popup .fr-checkbox input {
1060
- position: absolute;
1061
- z-index: 2;
1062
- -webkit-opacity: 0;
1063
- -moz-opacity: 0;
1064
- opacity: 0;
1065
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
1066
- border: 0 none;
1067
- cursor: pointer;
1068
- height: 16px;
1069
- margin: 0;
1070
- padding: 0;
1071
- width: 16px;
1072
- top: 1px;
1073
- left: 1px;
1074
- }
1075
- .fr-popup .fr-checkbox input:checked + span {
1076
- background: #1e88e5;
1077
- border-color: #1e88e5;
1078
- }
1079
- .fr-popup .fr-checkbox input:checked + span svg {
1080
- display: block;
1081
- }
1082
- .fr-popup .fr-checkbox input:focus + span {
1083
- border-color: #1e88e5;
1084
- }
1085
- .fr-popup .fr-checkbox-line {
1086
- font-size: 14px;
1087
- line-height: 1.4px;
1088
- margin-top: 10px;
1089
- }
1090
- .fr-popup .fr-checkbox-line label {
1091
- cursor: pointer;
1092
- margin: 0 5px;
1093
- vertical-align: middle;
1094
- }
1095
- .fr-popup.fr-rtl {
1096
- direction: rtl;
1097
- text-align: right;
1098
- }
1099
- .fr-popup.fr-rtl .fr-action-buttons {
1100
- text-align: left;
1101
- }
1102
- .fr-popup.fr-rtl .fr-input-line input + label,
1103
- .fr-popup.fr-rtl .fr-input-line textarea + label {
1104
- left: auto;
1105
- right: 0;
1106
- }
1107
- .fr-popup.fr-rtl .fr-buttons .fr-separator.fr-vs {
1108
- float: right;
1109
- }
1110
- .fr-popup .fr-arrow {
1111
- width: 0;
1112
- height: 0;
1113
- border-left: 5px solid transparent;
1114
- border-right: 5px solid transparent;
1115
- border-bottom: 5px solid #222222;
1116
- position: absolute;
1117
- top: -9px;
1118
- left: 50%;
1119
- margin-left: -5px;
1120
- display: inline-block;
1121
- }
1122
- .fr-popup.fr-above .fr-arrow {
1123
- top: auto;
1124
- bottom: -9px;
1125
- border-bottom: 0;
1126
- border-top: 5px solid #222222;
1127
- }
1128
- .fr-text-edit-layer {
1129
- width: 250px;
1130
- -webkit-box-sizing: border-box;
1131
- -moz-box-sizing: border-box;
1132
- box-sizing: border-box;
1133
- display: block !important;
1134
- }
1135
- .fr-toolbar {
1136
- color: #222222;
1137
- background: #ffffff;
1138
- position: relative;
1139
- z-index: 4;
1140
- font-family: Arial, Helvetica, sans-serif;
1141
- -webkit-box-sizing: border-box;
1142
- -moz-box-sizing: border-box;
1143
- box-sizing: border-box;
1144
- user-select: none;
1145
- -o-user-select: none;
1146
- -moz-user-select: none;
1147
- -khtml-user-select: none;
1148
- -webkit-user-select: none;
1149
- -ms-user-select: none;
1150
- padding: 0 2px;
1151
- border-radius: 2px;
1152
- -moz-border-radius: 2px;
1153
- -webkit-border-radius: 2px;
1154
- -moz-background-clip: padding;
1155
- -webkit-background-clip: padding-box;
1156
- background-clip: padding-box;
1157
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1158
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1159
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1160
- text-align: left;
1161
- border: 0px;
1162
- border-top: 5px solid #222222;
1163
- text-rendering: optimizelegibility;
1164
- -webkit-font-smoothing: antialiased;
1165
- -moz-osx-font-smoothing: grayscale;
1166
- line-height: 1.2;
1167
- }
1168
- .fr-toolbar::after {
1169
- clear: both;
1170
- display: block;
1171
- content: "";
1172
- height: 0;
1173
- }
1174
- .fr-toolbar.fr-rtl {
1175
- text-align: right;
1176
- }
1177
- .fr-toolbar.fr-inline {
1178
- display: none;
1179
- white-space: nowrap;
1180
- position: absolute;
1181
- margin-top: 10px;
1182
- }
1183
- .fr-toolbar.fr-inline .fr-arrow {
1184
- width: 0;
1185
- height: 0;
1186
- border-left: 5px solid transparent;
1187
- border-right: 5px solid transparent;
1188
- border-bottom: 5px solid #222222;
1189
- position: absolute;
1190
- top: -9px;
1191
- left: 50%;
1192
- margin-left: -5px;
1193
- display: inline-block;
1194
- }
1195
- .fr-toolbar.fr-inline.fr-above {
1196
- margin-top: -10px;
1197
- -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
1198
- -moz-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
1199
- box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
1200
- border-bottom: 5px solid #222222;
1201
- border-top: 0;
1202
- }
1203
- .fr-toolbar.fr-inline.fr-above .fr-arrow {
1204
- top: auto;
1205
- bottom: -9px;
1206
- border-bottom: 0;
1207
- border-top-color: inherit;
1208
- border-top-style: solid;
1209
- border-top-width: 5px;
1210
- }
1211
- .fr-toolbar.fr-top {
1212
- top: 0;
1213
- border-radius: 2px 2px 0 0;
1214
- -moz-border-radius: 2px 2px 0 0;
1215
- -webkit-border-radius: 2px 2px 0 0;
1216
- -moz-background-clip: padding;
1217
- -webkit-background-clip: padding-box;
1218
- background-clip: padding-box;
1219
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1220
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1221
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1222
- }
1223
- .fr-toolbar.fr-bottom {
1224
- bottom: 0;
1225
- border-radius: 0 0 2px 2px;
1226
- -moz-border-radius: 0 0 2px 2px;
1227
- -webkit-border-radius: 0 0 2px 2px;
1228
- -moz-background-clip: padding;
1229
- -webkit-background-clip: padding-box;
1230
- background-clip: padding-box;
1231
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1232
- -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1233
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1234
- }
1235
- .fr-separator {
1236
- background: #ebebeb;
1237
- display: block;
1238
- vertical-align: top;
1239
- float: left;
1240
- }
1241
- .fr-separator + .fr-separator {
1242
- display: none;
1243
- }
1244
- .fr-separator.fr-vs {
1245
- height: 34px;
1246
- width: 1px;
1247
- margin: 2px;
1248
- }
1249
- .fr-separator.fr-hs {
1250
- clear: both;
1251
- height: 1px;
1252
- width: calc(100% - (2 * 2px));
1253
- margin: 0 2px;
1254
- }
1255
- .fr-separator.fr-hidden {
1256
- display: none !important;
1257
- }
1258
- .fr-rtl .fr-separator {
1259
- float: right;
1260
- }
1261
- .fr-toolbar.fr-inline .fr-separator.fr-hs {
1262
- float: none;
1263
- }
1264
- .fr-toolbar.fr-inline .fr-separator.fr-vs {
1265
- float: none;
1266
- display: inline-block;
1267
- }
1268
- .fr-visibility-helper {
1269
- display: none;
1270
- margin-left: 0px !important;
1271
- }
1272
- @media (min-width: 768px) {
1273
- .fr-visibility-helper {
1274
- margin-left: 1px !important;
1275
- }
1276
- }
1277
- @media (min-width: 992px) {
1278
- .fr-visibility-helper {
1279
- margin-left: 2px !important;
1280
- }
1281
- }
1282
- @media (min-width: 1200px) {
1283
- .fr-visibility-helper {
1284
- margin-left: 3px !important;
1285
- }
1286
- }
1287
- .fr-opacity-0 {
1288
- -webkit-opacity: 0;
1289
- -moz-opacity: 0;
1290
- opacity: 0;
1291
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
1292
- }
1293
- .fr-box {
1294
- position: relative;
1295
- }
1296
- /**
1297
- * Postion sticky hacks.
1298
- */
1299
- .fr-sticky {
1300
- position: -webkit-sticky;
1301
- position: -moz-sticky;
1302
- position: -ms-sticky;
1303
- position: -o-sticky;
1304
- position: sticky;
1305
- }
1306
- .fr-sticky-off {
1307
- position: relative;
1308
- }
1309
- .fr-sticky-on {
1310
- position: fixed;
1311
- }
1312
- .fr-sticky-on.fr-sticky-ios {
1313
- position: absolute;
1314
- left: 0;
1315
- right: 0;
1316
- width: auto !important;
1317
- }
1318
- .fr-sticky-dummy {
1319
- display: none;
1320
- }
1321
- .fr-sticky-on + .fr-sticky-dummy,
1322
- .fr-sticky-box > .fr-sticky-dummy {
1323
- display: block;
1324
- }
1325
- span.fr-sr-only {
1326
- position: absolute;
1327
- width: 1px;
1328
- height: 1px;
1329
- padding: 0;
1330
- margin: -1px;
1331
- overflow: hidden;
1332
- clip: rect(0, 0, 0, 0);
1333
- border: 0;
1334
- }
1
+ /*!
2
+ * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2019 Froala Labs
5
+ */
6
+
7
+ .clearfix::after {
8
+ clear: both;
9
+ display: block;
10
+ content: "";
11
+ height: 0;
12
+ }
13
+ .hide-by-clipping {
14
+ position: absolute;
15
+ width: 1px;
16
+ height: 1px;
17
+ padding: 0;
18
+ margin: -1px;
19
+ overflow: hidden;
20
+ clip: rect(0, 0, 0, 0);
21
+ border: 0;
22
+ }
23
+ .fr-element,
24
+ .fr-element:focus {
25
+ outline: 0px solid transparent;
26
+ }
27
+ .fr-box.fr-basic .fr-element {
28
+ color: #000000;
29
+ padding: 16px;
30
+ -webkit-box-sizing: border-box;
31
+ -moz-box-sizing: border-box;
32
+ box-sizing: border-box;
33
+ overflow-x: auto;
34
+ min-height: 52px;
35
+ }
36
+ .fr-box.fr-basic.fr-rtl .fr-element {
37
+ text-align: right;
38
+ }
39
+ .fr-element {
40
+ background: transparent;
41
+ position: relative;
42
+ z-index: 2;
43
+ -webkit-user-select: auto;
44
+ }
45
+ .fr-element a {
46
+ user-select: auto;
47
+ -o-user-select: auto;
48
+ -moz-user-select: auto;
49
+ -khtml-user-select: auto;
50
+ -webkit-user-select: auto;
51
+ -ms-user-select: auto;
52
+ }
53
+ .fr-element.fr-disabled {
54
+ user-select: none;
55
+ -o-user-select: none;
56
+ -moz-user-select: none;
57
+ -khtml-user-select: none;
58
+ -webkit-user-select: none;
59
+ -ms-user-select: none;
60
+ }
61
+ .fr-element [contenteditable="true"] {
62
+ outline: 0px solid transparent;
63
+ }
64
+ .fr-box a.fr-floating-btn {
65
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
66
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
67
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
68
+ border-radius: 100%;
69
+ -moz-border-radius: 100%;
70
+ -webkit-border-radius: 100%;
71
+ -moz-background-clip: padding;
72
+ -webkit-background-clip: padding-box;
73
+ background-clip: padding-box;
74
+ height: 32px;
75
+ width: 32px;
76
+ background: #ffffff;
77
+ color: #1e88e5;
78
+ -webkit-transition: background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;
79
+ -moz-transition: background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;
80
+ -ms-transition: background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;
81
+ -o-transition: background 0.2s ease 0s, color 0.2s ease 0s, transform 0.2s ease 0s;
82
+ outline: none;
83
+ left: 0;
84
+ top: 0;
85
+ line-height: 32px;
86
+ -webkit-transform: scale(0);
87
+ -moz-transform: scale(0);
88
+ -ms-transform: scale(0);
89
+ -o-transform: scale(0);
90
+ text-align: center;
91
+ display: block;
92
+ -webkit-box-sizing: border-box;
93
+ -moz-box-sizing: border-box;
94
+ box-sizing: border-box;
95
+ border: none;
96
+ }
97
+ .fr-box a.fr-floating-btn svg {
98
+ -webkit-transition: transform 0.2s ease 0s;
99
+ -moz-transition: transform 0.2s ease 0s;
100
+ -ms-transition: transform 0.2s ease 0s;
101
+ -o-transition: transform 0.2s ease 0s;
102
+ fill: #1e88e5;
103
+ }
104
+ .fr-box a.fr-floating-btn i,
105
+ .fr-box a.fr-floating-btn svg {
106
+ font-size: 14px;
107
+ line-height: 32px;
108
+ }
109
+ .fr-box a.fr-floating-btn.fr-btn + .fr-btn {
110
+ margin-left: 10px;
111
+ }
112
+ .fr-box a.fr-floating-btn:hover {
113
+ background: #ebebeb;
114
+ cursor: pointer;
115
+ }
116
+ .fr-box a.fr-floating-btn:hover svg {
117
+ fill: #1e88e5;
118
+ }
119
+ .fr-box .fr-visible a.fr-floating-btn {
120
+ -webkit-transform: scale(1);
121
+ -moz-transform: scale(1);
122
+ -ms-transform: scale(1);
123
+ -o-transform: scale(1);
124
+ }
125
+ iframe.fr-iframe {
126
+ width: 100%;
127
+ border: none;
128
+ position: relative;
129
+ display: block;
130
+ z-index: 2;
131
+ -webkit-box-sizing: border-box;
132
+ -moz-box-sizing: border-box;
133
+ box-sizing: border-box;
134
+ }
135
+ .fr-wrapper {
136
+ position: relative;
137
+ z-index: 1;
138
+ }
139
+ .fr-wrapper::after {
140
+ clear: both;
141
+ display: block;
142
+ content: "";
143
+ height: 0;
144
+ }
145
+ .fr-wrapper .fr-placeholder {
146
+ position: absolute;
147
+ font-size: 12px;
148
+ color: #aaaaaa;
149
+ z-index: 1;
150
+ display: none;
151
+ top: 0;
152
+ left: 0;
153
+ right: 0;
154
+ overflow: hidden;
155
+ }
156
+ .fr-wrapper.show-placeholder .fr-placeholder {
157
+ display: block;
158
+ }
159
+ .fr-wrapper ::-moz-selection {
160
+ background: #b5d6fd;
161
+ color: #000000;
162
+ }
163
+ .fr-wrapper ::selection {
164
+ background: #b5d6fd;
165
+ color: #000000;
166
+ }
167
+ .fr-box.fr-basic .fr-wrapper {
168
+ background: #ffffff;
169
+ border: 0px;
170
+ border-top: 0;
171
+ top: 0;
172
+ left: 0;
173
+ }
174
+ .fr-box.fr-basic.fr-top .fr-wrapper {
175
+ border-top: 0;
176
+ border-radius: 0 0 2px 2px;
177
+ -moz-border-radius: 0 0 2px 2px;
178
+ -webkit-border-radius: 0 0 2px 2px;
179
+ -moz-background-clip: padding;
180
+ -webkit-background-clip: padding-box;
181
+ background-clip: padding-box;
182
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
183
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
184
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
185
+ }
186
+ .fr-box.fr-basic.fr-bottom .fr-wrapper {
187
+ border-bottom: 0;
188
+ border-radius: 2px 2px 0 0;
189
+ -moz-border-radius: 2px 2px 0 0;
190
+ -webkit-border-radius: 2px 2px 0 0;
191
+ -moz-background-clip: padding;
192
+ -webkit-background-clip: padding-box;
193
+ background-clip: padding-box;
194
+ -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
195
+ -moz-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
196
+ box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
197
+ }
198
+ @media (min-width: 992px) {
199
+ .fr-box.fr-document {
200
+ min-width: 21cm;
201
+ }
202
+ .fr-box.fr-document .fr-wrapper {
203
+ text-align: left;
204
+ padding: 30px;
205
+ min-width: 21cm;
206
+ background: #EFEFEF;
207
+ }
208
+ .fr-box.fr-document .fr-wrapper .fr-element {
209
+ text-align: left;
210
+ background: #FFF;
211
+ width: 21cm;
212
+ margin: auto;
213
+ min-height: 26cm !important;
214
+ padding: 1cm 2cm;
215
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
216
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
217
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
218
+ overflow: visible;
219
+ z-index: auto;
220
+ }
221
+ .fr-box.fr-document .fr-wrapper .fr-element hr {
222
+ margin-left: -2cm;
223
+ margin-right: -2cm;
224
+ background: #EFEFEF;
225
+ height: 1cm;
226
+ outline: none;
227
+ border: none;
228
+ }
229
+ .fr-box.fr-document .fr-wrapper .fr-element img {
230
+ z-index: 1;
231
+ }
232
+ }
233
+ .fr-tooltip {
234
+ position: absolute;
235
+ top: 0;
236
+ left: 0;
237
+ padding: 0 8px;
238
+ border-radius: 2px;
239
+ -moz-border-radius: 2px;
240
+ -webkit-border-radius: 2px;
241
+ -moz-background-clip: padding;
242
+ -webkit-background-clip: padding-box;
243
+ background-clip: padding-box;
244
+ -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
245
+ -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
246
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
247
+ background: #222222;
248
+ color: #ffffff;
249
+ font-size: 11px;
250
+ line-height: 22px;
251
+ font-family: Arial, Helvetica, sans-serif;
252
+ -webkit-transition: opacity 0.2s ease 0s;
253
+ -moz-transition: opacity 0.2s ease 0s;
254
+ -ms-transition: opacity 0.2s ease 0s;
255
+ -o-transition: opacity 0.2s ease 0s;
256
+ -webkit-opacity: 0;
257
+ -moz-opacity: 0;
258
+ opacity: 0;
259
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
260
+ left: -3000px;
261
+ user-select: none;
262
+ -o-user-select: none;
263
+ -moz-user-select: none;
264
+ -khtml-user-select: none;
265
+ -webkit-user-select: none;
266
+ -ms-user-select: none;
267
+ z-index: 2147483647;
268
+ text-rendering: optimizelegibility;
269
+ -webkit-font-smoothing: antialiased;
270
+ -moz-osx-font-smoothing: grayscale;
271
+ }
272
+ .fr-tooltip.fr-visible {
273
+ -webkit-opacity: 1;
274
+ -moz-opacity: 1;
275
+ opacity: 1;
276
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
277
+ }
278
+ .fr-toolbar .fr-btn-wrap,
279
+ .fr-popup .fr-btn-wrap {
280
+ float: left;
281
+ white-space: nowrap;
282
+ position: relative;
283
+ }
284
+ .fr-toolbar .fr-btn-wrap.fr-hidden,
285
+ .fr-popup .fr-btn-wrap.fr-hidden {
286
+ display: none;
287
+ }
288
+ .fr-toolbar .fr-command.fr-btn,
289
+ .fr-popup .fr-command.fr-btn {
290
+ background: transparent;
291
+ color: #222222;
292
+ -moz-outline: 0;
293
+ outline: 0;
294
+ border: 0;
295
+ line-height: 1;
296
+ cursor: pointer;
297
+ text-align: left;
298
+ margin: 0px 2px;
299
+ -webkit-transition: background 0.2s ease 0s;
300
+ -moz-transition: background 0.2s ease 0s;
301
+ -ms-transition: background 0.2s ease 0s;
302
+ -o-transition: background 0.2s ease 0s;
303
+ border-radius: 0;
304
+ -moz-border-radius: 0;
305
+ -webkit-border-radius: 0;
306
+ -moz-background-clip: padding;
307
+ -webkit-background-clip: padding-box;
308
+ background-clip: padding-box;
309
+ z-index: 2;
310
+ position: relative;
311
+ -webkit-box-sizing: border-box;
312
+ -moz-box-sizing: border-box;
313
+ box-sizing: border-box;
314
+ text-decoration: none;
315
+ user-select: none;
316
+ -o-user-select: none;
317
+ -moz-user-select: none;
318
+ -khtml-user-select: none;
319
+ -webkit-user-select: none;
320
+ -ms-user-select: none;
321
+ float: left;
322
+ padding: 0;
323
+ width: 38px;
324
+ height: 38px;
325
+ }
326
+ .fr-toolbar .fr-command.fr-btn::-moz-focus-inner,
327
+ .fr-popup .fr-command.fr-btn::-moz-focus-inner {
328
+ border: 0;
329
+ padding: 0;
330
+ }
331
+ .fr-toolbar .fr-command.fr-btn.fr-btn-text,
332
+ .fr-popup .fr-command.fr-btn.fr-btn-text {
333
+ width: auto;
334
+ }
335
+ .fr-toolbar .fr-command.fr-btn i,
336
+ .fr-popup .fr-command.fr-btn i,
337
+ .fr-toolbar .fr-command.fr-btn svg,
338
+ .fr-popup .fr-command.fr-btn svg {
339
+ display: block;
340
+ font-size: 14px;
341
+ width: 14px;
342
+ margin: 12px 12px;
343
+ text-align: center;
344
+ float: none;
345
+ }
346
+ .fr-toolbar .fr-command.fr-btn span.fr-sr-only,
347
+ .fr-popup .fr-command.fr-btn span.fr-sr-only {
348
+ position: absolute;
349
+ width: 1px;
350
+ height: 1px;
351
+ padding: 0;
352
+ margin: -1px;
353
+ overflow: hidden;
354
+ clip: rect(0, 0, 0, 0);
355
+ border: 0;
356
+ }
357
+ .fr-toolbar .fr-command.fr-btn span,
358
+ .fr-popup .fr-command.fr-btn span {
359
+ font-size: 14px;
360
+ display: block;
361
+ line-height: 17px;
362
+ min-width: 34px;
363
+ float: left;
364
+ text-overflow: ellipsis;
365
+ overflow: hidden;
366
+ white-space: nowrap;
367
+ height: 17px;
368
+ font-weight: bold;
369
+ padding: 0 2px;
370
+ }
371
+ .fr-toolbar .fr-command.fr-btn img,
372
+ .fr-popup .fr-command.fr-btn img {
373
+ margin: 12px 12px;
374
+ width: 14px;
375
+ }
376
+ .fr-toolbar .fr-command.fr-btn.fr-active,
377
+ .fr-popup .fr-command.fr-btn.fr-active {
378
+ color: #1e88e5;
379
+ background: transparent;
380
+ }
381
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-selection,
382
+ .fr-popup .fr-command.fr-btn.fr-dropdown.fr-selection {
383
+ width: auto;
384
+ }
385
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-selection span,
386
+ .fr-popup .fr-command.fr-btn.fr-dropdown.fr-selection span {
387
+ font-weight: normal;
388
+ }
389
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown i,
390
+ .fr-popup .fr-command.fr-btn.fr-dropdown i,
391
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown span,
392
+ .fr-popup .fr-command.fr-btn.fr-dropdown span,
393
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown img,
394
+ .fr-popup .fr-command.fr-btn.fr-dropdown img,
395
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown svg,
396
+ .fr-popup .fr-command.fr-btn.fr-dropdown svg {
397
+ margin-left: 8px;
398
+ margin-right: 16px;
399
+ }
400
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active,
401
+ .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active {
402
+ color: #222222;
403
+ background: #d6d6d6;
404
+ }
405
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover,
406
+ .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover,
407
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:focus,
408
+ .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:focus {
409
+ background: #d6d6d6 !important;
410
+ color: #222222 !important;
411
+ }
412
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,
413
+ .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:hover::after,
414
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown.fr-active:focus::after,
415
+ .fr-popup .fr-command.fr-btn.fr-dropdown.fr-active:focus::after {
416
+ border-top-color: #222222 !important;
417
+ }
418
+ .fr-toolbar .fr-command.fr-btn.fr-dropdown::after,
419
+ .fr-popup .fr-command.fr-btn.fr-dropdown::after {
420
+ position: absolute;
421
+ width: 0;
422
+ height: 0;
423
+ border-left: 4px solid transparent;
424
+ border-right: 4px solid transparent;
425
+ border-top: 4px solid #222222;
426
+ right: 4px;
427
+ top: 17px;
428
+ content: "";
429
+ }
430
+ .fr-toolbar .fr-command.fr-btn.fr-disabled,
431
+ .fr-popup .fr-command.fr-btn.fr-disabled {
432
+ color: #bdbdbd;
433
+ cursor: default;
434
+ }
435
+ .fr-toolbar .fr-command.fr-btn.fr-disabled::after,
436
+ .fr-popup .fr-command.fr-btn.fr-disabled::after {
437
+ border-top-color: #bdbdbd !important;
438
+ }
439
+ .fr-toolbar .fr-command.fr-btn.fr-hidden,
440
+ .fr-popup .fr-command.fr-btn.fr-hidden {
441
+ display: none;
442
+ }
443
+ .fr-toolbar.fr-disabled .fr-btn,
444
+ .fr-popup.fr-disabled .fr-btn,
445
+ .fr-toolbar.fr-disabled .fr-btn.fr-active,
446
+ .fr-popup.fr-disabled .fr-btn.fr-active {
447
+ color: #bdbdbd;
448
+ }
449
+ .fr-toolbar.fr-disabled .fr-btn.fr-dropdown::after,
450
+ .fr-popup.fr-disabled .fr-btn.fr-dropdown::after,
451
+ .fr-toolbar.fr-disabled .fr-btn.fr-active.fr-dropdown::after,
452
+ .fr-popup.fr-disabled .fr-btn.fr-active.fr-dropdown::after {
453
+ border-top-color: #bdbdbd;
454
+ }
455
+ .fr-toolbar.fr-rtl .fr-command.fr-btn,
456
+ .fr-popup.fr-rtl .fr-command.fr-btn,
457
+ .fr-toolbar.fr-rtl .fr-btn-wrap,
458
+ .fr-popup.fr-rtl .fr-btn-wrap {
459
+ float: right;
460
+ }
461
+ .fr-toolbar.fr-inline > .fr-command.fr-btn:not(.fr-hidden),
462
+ .fr-toolbar.fr-inline > .fr-btn-wrap:not(.fr-hidden) {
463
+ display: -webkit-inline-flex;
464
+ display: -ms-inline-flexbox;
465
+ display: inline-flex;
466
+ float: none;
467
+ }
468
+ .fr-desktop .fr-command:hover,
469
+ .fr-desktop .fr-command:focus,
470
+ .fr-desktop .fr-command.fr-btn-hover,
471
+ .fr-desktop .fr-command.fr-expanded {
472
+ outline: 0;
473
+ color: #222222;
474
+ background: #ebebeb;
475
+ }
476
+ .fr-desktop .fr-command:hover::after,
477
+ .fr-desktop .fr-command:focus::after,
478
+ .fr-desktop .fr-command.fr-btn-hover::after,
479
+ .fr-desktop .fr-command.fr-expanded::after {
480
+ border-top-color: #222222 !important;
481
+ }
482
+ .fr-desktop .fr-command.fr-selected {
483
+ color: #222222;
484
+ background: #d6d6d6;
485
+ }
486
+ .fr-desktop .fr-command.fr-active:hover,
487
+ .fr-desktop .fr-command.fr-active:focus,
488
+ .fr-desktop .fr-command.fr-active.fr-btn-hover,
489
+ .fr-desktop .fr-command.fr-active.fr-expanded {
490
+ color: #1e88e5;
491
+ background: #ebebeb;
492
+ }
493
+ .fr-desktop .fr-command.fr-active.fr-selected {
494
+ color: #1e88e5;
495
+ background: #d6d6d6;
496
+ }
497
+ .fr-desktop .fr-command.fr-disabled:hover,
498
+ .fr-desktop .fr-command.fr-disabled:focus,
499
+ .fr-desktop .fr-command.fr-disabled.fr-selected {
500
+ background: transparent;
501
+ }
502
+ .fr-desktop.fr-disabled .fr-command:hover,
503
+ .fr-desktop.fr-disabled .fr-command:focus,
504
+ .fr-desktop.fr-disabled .fr-command.fr-selected {
505
+ background: transparent;
506
+ }
507
+ .fr-toolbar.fr-mobile .fr-command.fr-blink,
508
+ .fr-popup.fr-mobile .fr-command.fr-blink {
509
+ background: transparent;
510
+ }
511
+ .fr-command.fr-btn.fr-options {
512
+ width: 16px;
513
+ margin-left: -5px;
514
+ }
515
+ .fr-command.fr-btn.fr-options.fr-btn-hover,
516
+ .fr-command.fr-btn.fr-options:hover,
517
+ .fr-command.fr-btn.fr-options:focus {
518
+ border-left: solid 1px #fafafa;
519
+ }
520
+ .fr-command.fr-btn + .fr-dropdown-menu {
521
+ display: inline-block;
522
+ position: absolute;
523
+ right: auto;
524
+ bottom: auto;
525
+ height: auto;
526
+ z-index: 4;
527
+ -webkit-overflow-scrolling: touch;
528
+ overflow: hidden;
529
+ zoom: 1;
530
+ border-radius: 0 0 2px 2px;
531
+ -moz-border-radius: 0 0 2px 2px;
532
+ -webkit-border-radius: 0 0 2px 2px;
533
+ -moz-background-clip: padding;
534
+ -webkit-background-clip: padding-box;
535
+ background-clip: padding-box;
536
+ }
537
+ .fr-command.fr-btn + .fr-dropdown-menu.test-height .fr-dropdown-wrapper {
538
+ -webkit-transition: none;
539
+ -moz-transition: none;
540
+ -ms-transition: none;
541
+ -o-transition: none;
542
+ height: auto;
543
+ max-height: 275px;
544
+ }
545
+ .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper {
546
+ background: #ffffff;
547
+ padding: 0;
548
+ margin: auto;
549
+ display: inline-block;
550
+ text-align: left;
551
+ position: relative;
552
+ -webkit-box-sizing: border-box;
553
+ -moz-box-sizing: border-box;
554
+ box-sizing: border-box;
555
+ -webkit-transition: max-height 0.2s ease 0s;
556
+ -moz-transition: max-height 0.2s ease 0s;
557
+ -ms-transition: max-height 0.2s ease 0s;
558
+ -o-transition: max-height 0.2s ease 0s;
559
+ margin-top: 0;
560
+ float: left;
561
+ max-height: 0;
562
+ height: 0;
563
+ margin-top: 0 !important;
564
+ }
565
+ .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content {
566
+ overflow: auto;
567
+ position: relative;
568
+ max-height: 275px;
569
+ }
570
+ .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list {
571
+ list-style-type: none;
572
+ margin: 0;
573
+ padding: 0;
574
+ }
575
+ .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li {
576
+ padding: 0;
577
+ margin: 0;
578
+ font-size: 15px;
579
+ }
580
+ .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a {
581
+ padding: 0 24px;
582
+ line-height: 200%;
583
+ display: block;
584
+ cursor: pointer;
585
+ white-space: nowrap;
586
+ color: inherit;
587
+ text-decoration: none;
588
+ }
589
+ .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active {
590
+ background: #d6d6d6;
591
+ }
592
+ .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-disabled {
593
+ color: #bdbdbd;
594
+ cursor: default;
595
+ }
596
+ .fr-command.fr-btn + .fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a .fr-shortcut {
597
+ float: right;
598
+ margin-left: 32px;
599
+ font-weight: bold;
600
+ -webkit-opacity: 0.75;
601
+ -moz-opacity: 0.75;
602
+ opacity: 0.75;
603
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
604
+ }
605
+ .fr-command.fr-btn:not(.fr-active) + .fr-dropdown-menu {
606
+ left: -3000px !important;
607
+ }
608
+ .fr-command.fr-btn.fr-active + .fr-dropdown-menu {
609
+ display: inline-block;
610
+ -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
611
+ -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
612
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
613
+ }
614
+ .fr-command.fr-btn.fr-active + .fr-dropdown-menu .fr-dropdown-wrapper {
615
+ height: auto;
616
+ max-height: 275px;
617
+ }
618
+ .fr-bottom > .fr-command.fr-btn + .fr-dropdown-menu {
619
+ border-radius: 2px 2px 0 0;
620
+ -moz-border-radius: 2px 2px 0 0;
621
+ -webkit-border-radius: 2px 2px 0 0;
622
+ -moz-background-clip: padding;
623
+ -webkit-background-clip: padding-box;
624
+ background-clip: padding-box;
625
+ }
626
+ .fr-toolbar.fr-rtl .fr-dropdown-wrapper,
627
+ .fr-popup.fr-rtl .fr-dropdown-wrapper {
628
+ text-align: right !important;
629
+ }
630
+ body.prevent-scroll {
631
+ overflow: hidden;
632
+ }
633
+ body.prevent-scroll.fr-mobile {
634
+ position: fixed;
635
+ -webkit-overflow-scrolling: touch;
636
+ }
637
+ .fr-modal {
638
+ color: #222222;
639
+ font-family: Arial, Helvetica, sans-serif;
640
+ position: fixed;
641
+ overflow-x: auto;
642
+ overflow-y: scroll;
643
+ top: 0;
644
+ left: 0;
645
+ bottom: 0;
646
+ right: 0;
647
+ width: 100%;
648
+ z-index: 2147483640;
649
+ text-rendering: optimizelegibility;
650
+ -webkit-font-smoothing: antialiased;
651
+ -moz-osx-font-smoothing: grayscale;
652
+ text-align: center;
653
+ line-height: 1.2;
654
+ }
655
+ .fr-modal.fr-middle .fr-modal-wrapper {
656
+ margin-top: 0;
657
+ margin-bottom: 0;
658
+ margin-left: auto;
659
+ margin-right: auto;
660
+ top: 50%;
661
+ left: 50%;
662
+ -webkit-transform: translate(-50%, -50%);
663
+ -moz-transform: translate(-50%, -50%);
664
+ -ms-transform: translate(-50%, -50%);
665
+ -o-transform: translate(-50%, -50%);
666
+ position: absolute;
667
+ }
668
+ .fr-modal .fr-modal-wrapper {
669
+ border-radius: 2px;
670
+ -moz-border-radius: 2px;
671
+ -webkit-border-radius: 2px;
672
+ -moz-background-clip: padding;
673
+ -webkit-background-clip: padding-box;
674
+ background-clip: padding-box;
675
+ margin: 20px auto;
676
+ display: inline-block;
677
+ background: #ffffff;
678
+ min-width: 300px;
679
+ -webkit-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.19), 0 4px 3px 1px rgba(0, 0, 0, 0.14);
680
+ -moz-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.19), 0 4px 3px 1px rgba(0, 0, 0, 0.14);
681
+ box-shadow: 0 5px 8px rgba(0, 0, 0, 0.19), 0 4px 3px 1px rgba(0, 0, 0, 0.14);
682
+ border: 0px;
683
+ border-top: 5px solid #222222;
684
+ overflow: hidden;
685
+ width: 90%;
686
+ position: relative;
687
+ }
688
+ @media (min-width: 768px) and (max-width: 991px) {
689
+ .fr-modal .fr-modal-wrapper {
690
+ margin: 30px auto;
691
+ width: 70%;
692
+ }
693
+ }
694
+ @media (min-width: 992px) {
695
+ .fr-modal .fr-modal-wrapper {
696
+ margin: 50px auto;
697
+ width: 960px;
698
+ }
699
+ }
700
+ .fr-modal .fr-modal-wrapper .fr-modal-head {
701
+ background: #ffffff;
702
+ -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
703
+ -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
704
+ box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 2px 2px 1px rgba(0, 0, 0, 0.14);
705
+ border-bottom: 0px;
706
+ overflow: hidden;
707
+ position: absolute;
708
+ width: 100%;
709
+ min-height: 42px;
710
+ z-index: 3;
711
+ -webkit-transition: height 0.2s ease 0s;
712
+ -moz-transition: height 0.2s ease 0s;
713
+ -ms-transition: height 0.2s ease 0s;
714
+ -o-transition: height 0.2s ease 0s;
715
+ }
716
+ .fr-modal .fr-modal-wrapper .fr-modal-head .fr-modal-close {
717
+ padding: 12px;
718
+ width: 20px;
719
+ font-size: 30px;
720
+ cursor: pointer;
721
+ line-height: 18px;
722
+ color: #222222;
723
+ -webkit-box-sizing: content-box;
724
+ -moz-box-sizing: content-box;
725
+ box-sizing: content-box;
726
+ position: absolute;
727
+ top: 0;
728
+ right: 0;
729
+ -webkit-transition: color 0.2s ease 0s;
730
+ -moz-transition: color 0.2s ease 0s;
731
+ -ms-transition: color 0.2s ease 0s;
732
+ -o-transition: color 0.2s ease 0s;
733
+ }
734
+ .fr-modal .fr-modal-wrapper .fr-modal-head h4 {
735
+ font-size: 18px;
736
+ padding: 12px 10px;
737
+ margin: 0;
738
+ font-weight: 400;
739
+ line-height: 18px;
740
+ display: inline-block;
741
+ float: left;
742
+ }
743
+ .fr-modal .fr-modal-wrapper div.fr-modal-body {
744
+ height: 100%;
745
+ min-height: 150px;
746
+ overflow-y: auto;
747
+ padding-bottom: 10px;
748
+ }
749
+ .fr-modal .fr-modal-wrapper div.fr-modal-body:focus {
750
+ outline: 0;
751
+ }
752
+ .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command {
753
+ height: 36px;
754
+ line-height: 1;
755
+ color: #1e88e5;
756
+ padding: 10px;
757
+ cursor: pointer;
758
+ text-decoration: none;
759
+ border: none;
760
+ background: none;
761
+ font-size: 16px;
762
+ outline: none;
763
+ -webkit-transition: background 0.2s ease 0s;
764
+ -moz-transition: background 0.2s ease 0s;
765
+ -ms-transition: background 0.2s ease 0s;
766
+ -o-transition: background 0.2s ease 0s;
767
+ border-radius: 2px;
768
+ -moz-border-radius: 2px;
769
+ -webkit-border-radius: 2px;
770
+ -moz-background-clip: padding;
771
+ -webkit-background-clip: padding-box;
772
+ background-clip: padding-box;
773
+ }
774
+ .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command + button {
775
+ margin-left: 24px;
776
+ }
777
+ .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:hover,
778
+ .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:focus {
779
+ background: #ebebeb;
780
+ color: #1e88e5;
781
+ }
782
+ .fr-modal .fr-modal-wrapper div.fr-modal-body button.fr-command:active {
783
+ background: #d6d6d6;
784
+ color: #1e88e5;
785
+ }
786
+ .fr-modal .fr-modal-wrapper div.fr-modal-body button::-moz-focus-inner {
787
+ border: 0;
788
+ }
789
+ .fr-desktop .fr-modal-wrapper .fr-modal-head i:hover {
790
+ background: #ebebeb;
791
+ }
792
+ .fr-overlay {
793
+ position: fixed;
794
+ top: 0;
795
+ bottom: 0;
796
+ left: 0;
797
+ right: 0;
798
+ background: #000000;
799
+ -webkit-opacity: 0.5;
800
+ -moz-opacity: 0.5;
801
+ opacity: 0.5;
802
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
803
+ z-index: 2147483639;
804
+ }
805
+ .fr-popup {
806
+ position: absolute;
807
+ display: none;
808
+ color: #222222;
809
+ background: #ffffff;
810
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
811
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
812
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
813
+ border-radius: 2px;
814
+ -moz-border-radius: 2px;
815
+ -webkit-border-radius: 2px;
816
+ -moz-background-clip: padding;
817
+ -webkit-background-clip: padding-box;
818
+ background-clip: padding-box;
819
+ font-family: Arial, Helvetica, sans-serif;
820
+ -webkit-box-sizing: border-box;
821
+ -moz-box-sizing: border-box;
822
+ box-sizing: border-box;
823
+ user-select: none;
824
+ -o-user-select: none;
825
+ -moz-user-select: none;
826
+ -khtml-user-select: none;
827
+ -webkit-user-select: none;
828
+ -ms-user-select: none;
829
+ margin-top: 10px;
830
+ z-index: 2147483635;
831
+ text-align: left;
832
+ border: 0px;
833
+ border-top: 5px solid #222222;
834
+ text-rendering: optimizelegibility;
835
+ -webkit-font-smoothing: antialiased;
836
+ -moz-osx-font-smoothing: grayscale;
837
+ line-height: 1.2;
838
+ }
839
+ .fr-popup .fr-input-focus {
840
+ background: #f5f5f5;
841
+ }
842
+ .fr-popup.fr-above {
843
+ margin-top: -10px;
844
+ border-top: 0;
845
+ border-bottom: 5px solid #222222;
846
+ -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
847
+ -moz-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
848
+ box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
849
+ }
850
+ .fr-popup.fr-active {
851
+ display: block;
852
+ }
853
+ .fr-popup.fr-hidden {
854
+ -webkit-opacity: 0;
855
+ -moz-opacity: 0;
856
+ opacity: 0;
857
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
858
+ }
859
+ .fr-popup.fr-empty {
860
+ display: none !important;
861
+ }
862
+ .fr-popup .fr-hs {
863
+ display: block !important;
864
+ }
865
+ .fr-popup .fr-hs.fr-hidden {
866
+ display: none !important;
867
+ }
868
+ .fr-popup .fr-input-line {
869
+ position: relative;
870
+ padding: 8px 0;
871
+ }
872
+ .fr-popup .fr-input-line input[type="text"],
873
+ .fr-popup .fr-input-line textarea {
874
+ width: 100%;
875
+ margin: 0px 0 1px 0;
876
+ border: none;
877
+ border-bottom: solid 1px #bdbdbd;
878
+ color: #222222;
879
+ font-size: 14px;
880
+ padding: 6px 0 2px;
881
+ background: rgba(0, 0, 0, 0);
882
+ position: relative;
883
+ z-index: 2;
884
+ -webkit-box-sizing: border-box;
885
+ -moz-box-sizing: border-box;
886
+ box-sizing: border-box;
887
+ }
888
+ .fr-popup .fr-input-line input[type="text"]:focus,
889
+ .fr-popup .fr-input-line textarea:focus {
890
+ border-bottom: solid 2px #1e88e5;
891
+ margin-bottom: 0px;
892
+ }
893
+ .fr-popup .fr-input-line input + label,
894
+ .fr-popup .fr-input-line textarea + label {
895
+ position: absolute;
896
+ top: 0;
897
+ left: 0;
898
+ font-size: 12px;
899
+ color: rgba(0, 0, 0, 0);
900
+ -webkit-transition: color 0.2s ease 0s;
901
+ -moz-transition: color 0.2s ease 0s;
902
+ -ms-transition: color 0.2s ease 0s;
903
+ -o-transition: color 0.2s ease 0s;
904
+ z-index: 3;
905
+ width: 100%;
906
+ display: block;
907
+ background: #ffffff;
908
+ }
909
+ .fr-popup .fr-input-line input.fr-not-empty:focus + label,
910
+ .fr-popup .fr-input-line textarea.fr-not-empty:focus + label {
911
+ color: #1e88e5;
912
+ }
913
+ .fr-popup .fr-input-line input.fr-not-empty + label,
914
+ .fr-popup .fr-input-line textarea.fr-not-empty + label {
915
+ color: #808080;
916
+ }
917
+ .fr-popup input,
918
+ .fr-popup textarea {
919
+ user-select: text;
920
+ -o-user-select: text;
921
+ -moz-user-select: text;
922
+ -khtml-user-select: text;
923
+ -webkit-user-select: text;
924
+ -ms-user-select: text;
925
+ border-radius: 0;
926
+ -moz-border-radius: 0;
927
+ -webkit-border-radius: 0;
928
+ -moz-background-clip: padding;
929
+ -webkit-background-clip: padding-box;
930
+ background-clip: padding-box;
931
+ outline: none;
932
+ }
933
+ .fr-popup textarea {
934
+ resize: none;
935
+ }
936
+ .fr-popup .fr-buttons {
937
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
938
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
939
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
940
+ padding: 0 2px;
941
+ white-space: nowrap;
942
+ line-height: 0;
943
+ border-bottom: 0px;
944
+ }
945
+ .fr-popup .fr-buttons::after {
946
+ clear: both;
947
+ display: block;
948
+ content: "";
949
+ height: 0;
950
+ }
951
+ .fr-popup .fr-buttons .fr-btn {
952
+ display: inline-block;
953
+ float: none;
954
+ }
955
+ .fr-popup .fr-buttons .fr-btn i {
956
+ float: left;
957
+ }
958
+ .fr-popup .fr-buttons .fr-separator {
959
+ display: inline-block;
960
+ float: none;
961
+ }
962
+ .fr-popup .fr-layer {
963
+ width: 225px;
964
+ -webkit-box-sizing: border-box;
965
+ -moz-box-sizing: border-box;
966
+ box-sizing: border-box;
967
+ margin: 10px;
968
+ display: none;
969
+ }
970
+ @media (min-width: 768px) {
971
+ .fr-popup .fr-layer {
972
+ width: 300px;
973
+ }
974
+ }
975
+ .fr-popup .fr-layer.fr-active {
976
+ display: inline-block;
977
+ }
978
+ .fr-popup .fr-action-buttons {
979
+ z-index: 7;
980
+ height: 36px;
981
+ text-align: right;
982
+ }
983
+ .fr-popup .fr-action-buttons button.fr-command {
984
+ height: 36px;
985
+ line-height: 1;
986
+ color: #1e88e5;
987
+ padding: 10px;
988
+ cursor: pointer;
989
+ text-decoration: none;
990
+ border: none;
991
+ background: none;
992
+ font-size: 16px;
993
+ outline: none;
994
+ -webkit-transition: background 0.2s ease 0s;
995
+ -moz-transition: background 0.2s ease 0s;
996
+ -ms-transition: background 0.2s ease 0s;
997
+ -o-transition: background 0.2s ease 0s;
998
+ border-radius: 2px;
999
+ -moz-border-radius: 2px;
1000
+ -webkit-border-radius: 2px;
1001
+ -moz-background-clip: padding;
1002
+ -webkit-background-clip: padding-box;
1003
+ background-clip: padding-box;
1004
+ }
1005
+ .fr-popup .fr-action-buttons button.fr-command + button {
1006
+ margin-left: 24px;
1007
+ }
1008
+ .fr-popup .fr-action-buttons button.fr-command:hover,
1009
+ .fr-popup .fr-action-buttons button.fr-command:focus {
1010
+ background: #ebebeb;
1011
+ color: #1e88e5;
1012
+ }
1013
+ .fr-popup .fr-action-buttons button.fr-command:active {
1014
+ background: #d6d6d6;
1015
+ color: #1e88e5;
1016
+ }
1017
+ .fr-popup .fr-action-buttons button::-moz-focus-inner {
1018
+ border: 0;
1019
+ }
1020
+ .fr-popup .fr-checkbox {
1021
+ position: relative;
1022
+ display: inline-block;
1023
+ width: 16px;
1024
+ height: 16px;
1025
+ line-height: 1;
1026
+ -webkit-box-sizing: content-box;
1027
+ -moz-box-sizing: content-box;
1028
+ box-sizing: content-box;
1029
+ vertical-align: middle;
1030
+ }
1031
+ .fr-popup .fr-checkbox svg {
1032
+ margin-left: 2px;
1033
+ margin-top: 2px;
1034
+ display: none;
1035
+ width: 10px;
1036
+ height: 10px;
1037
+ }
1038
+ .fr-popup .fr-checkbox span {
1039
+ border: solid 1px #222222;
1040
+ border-radius: 2px;
1041
+ -moz-border-radius: 2px;
1042
+ -webkit-border-radius: 2px;
1043
+ -moz-background-clip: padding;
1044
+ -webkit-background-clip: padding-box;
1045
+ background-clip: padding-box;
1046
+ width: 16px;
1047
+ height: 16px;
1048
+ display: inline-block;
1049
+ position: relative;
1050
+ z-index: 1;
1051
+ -webkit-box-sizing: border-box;
1052
+ -moz-box-sizing: border-box;
1053
+ box-sizing: border-box;
1054
+ -webkit-transition: background 0.2s ease 0s, border-color 0.2s ease 0s;
1055
+ -moz-transition: background 0.2s ease 0s, border-color 0.2s ease 0s;
1056
+ -ms-transition: background 0.2s ease 0s, border-color 0.2s ease 0s;
1057
+ -o-transition: background 0.2s ease 0s, border-color 0.2s ease 0s;
1058
+ }
1059
+ .fr-popup .fr-checkbox input {
1060
+ position: absolute;
1061
+ z-index: 2;
1062
+ -webkit-opacity: 0;
1063
+ -moz-opacity: 0;
1064
+ opacity: 0;
1065
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
1066
+ border: 0 none;
1067
+ cursor: pointer;
1068
+ height: 16px;
1069
+ margin: 0;
1070
+ padding: 0;
1071
+ width: 16px;
1072
+ top: 1px;
1073
+ left: 1px;
1074
+ }
1075
+ .fr-popup .fr-checkbox input:checked + span {
1076
+ background: #1e88e5;
1077
+ border-color: #1e88e5;
1078
+ }
1079
+ .fr-popup .fr-checkbox input:checked + span svg {
1080
+ display: block;
1081
+ }
1082
+ .fr-popup .fr-checkbox input:focus + span {
1083
+ border-color: #1e88e5;
1084
+ }
1085
+ .fr-popup .fr-checkbox-line {
1086
+ font-size: 14px;
1087
+ line-height: 1.4px;
1088
+ margin-top: 10px;
1089
+ }
1090
+ .fr-popup .fr-checkbox-line label {
1091
+ cursor: pointer;
1092
+ margin: 0 5px;
1093
+ vertical-align: middle;
1094
+ }
1095
+ .fr-popup.fr-rtl {
1096
+ direction: rtl;
1097
+ text-align: right;
1098
+ }
1099
+ .fr-popup.fr-rtl .fr-action-buttons {
1100
+ text-align: left;
1101
+ }
1102
+ .fr-popup.fr-rtl .fr-input-line input + label,
1103
+ .fr-popup.fr-rtl .fr-input-line textarea + label {
1104
+ left: auto;
1105
+ right: 0;
1106
+ }
1107
+ .fr-popup.fr-rtl .fr-buttons .fr-separator.fr-vs {
1108
+ float: right;
1109
+ }
1110
+ .fr-popup .fr-arrow {
1111
+ width: 0;
1112
+ height: 0;
1113
+ border-left: 5px solid transparent;
1114
+ border-right: 5px solid transparent;
1115
+ border-bottom: 5px solid #222222;
1116
+ position: absolute;
1117
+ top: -9px;
1118
+ left: 50%;
1119
+ margin-left: -5px;
1120
+ display: inline-block;
1121
+ }
1122
+ .fr-popup.fr-above .fr-arrow {
1123
+ top: auto;
1124
+ bottom: -9px;
1125
+ border-bottom: 0;
1126
+ border-top: 5px solid #222222;
1127
+ }
1128
+ .fr-text-edit-layer {
1129
+ width: 250px;
1130
+ -webkit-box-sizing: border-box;
1131
+ -moz-box-sizing: border-box;
1132
+ box-sizing: border-box;
1133
+ display: block !important;
1134
+ }
1135
+ .fr-toolbar {
1136
+ color: #222222;
1137
+ background: #ffffff;
1138
+ position: relative;
1139
+ z-index: 4;
1140
+ font-family: Arial, Helvetica, sans-serif;
1141
+ -webkit-box-sizing: border-box;
1142
+ -moz-box-sizing: border-box;
1143
+ box-sizing: border-box;
1144
+ user-select: none;
1145
+ -o-user-select: none;
1146
+ -moz-user-select: none;
1147
+ -khtml-user-select: none;
1148
+ -webkit-user-select: none;
1149
+ -ms-user-select: none;
1150
+ padding: 0 2px;
1151
+ border-radius: 2px;
1152
+ -moz-border-radius: 2px;
1153
+ -webkit-border-radius: 2px;
1154
+ -moz-background-clip: padding;
1155
+ -webkit-background-clip: padding-box;
1156
+ background-clip: padding-box;
1157
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1158
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1159
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1160
+ text-align: left;
1161
+ border: 0px;
1162
+ border-top: 5px solid #222222;
1163
+ text-rendering: optimizelegibility;
1164
+ -webkit-font-smoothing: antialiased;
1165
+ -moz-osx-font-smoothing: grayscale;
1166
+ line-height: 1.2;
1167
+ }
1168
+ .fr-toolbar::after {
1169
+ clear: both;
1170
+ display: block;
1171
+ content: "";
1172
+ height: 0;
1173
+ }
1174
+ .fr-toolbar.fr-rtl {
1175
+ text-align: right;
1176
+ }
1177
+ .fr-toolbar.fr-inline {
1178
+ display: none;
1179
+ white-space: nowrap;
1180
+ position: absolute;
1181
+ margin-top: 10px;
1182
+ }
1183
+ .fr-toolbar.fr-inline .fr-arrow {
1184
+ width: 0;
1185
+ height: 0;
1186
+ border-left: 5px solid transparent;
1187
+ border-right: 5px solid transparent;
1188
+ border-bottom: 5px solid #222222;
1189
+ position: absolute;
1190
+ top: -9px;
1191
+ left: 50%;
1192
+ margin-left: -5px;
1193
+ display: inline-block;
1194
+ }
1195
+ .fr-toolbar.fr-inline.fr-above {
1196
+ margin-top: -10px;
1197
+ -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
1198
+ -moz-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
1199
+ box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 1px 1px rgba(0, 0, 0, 0.16);
1200
+ border-bottom: 5px solid #222222;
1201
+ border-top: 0;
1202
+ }
1203
+ .fr-toolbar.fr-inline.fr-above .fr-arrow {
1204
+ top: auto;
1205
+ bottom: -9px;
1206
+ border-bottom: 0;
1207
+ border-top-color: inherit;
1208
+ border-top-style: solid;
1209
+ border-top-width: 5px;
1210
+ }
1211
+ .fr-toolbar.fr-top {
1212
+ top: 0;
1213
+ border-radius: 2px 2px 0 0;
1214
+ -moz-border-radius: 2px 2px 0 0;
1215
+ -webkit-border-radius: 2px 2px 0 0;
1216
+ -moz-background-clip: padding;
1217
+ -webkit-background-clip: padding-box;
1218
+ background-clip: padding-box;
1219
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1220
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1221
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1222
+ }
1223
+ .fr-toolbar.fr-bottom {
1224
+ bottom: 0;
1225
+ border-radius: 0 0 2px 2px;
1226
+ -moz-border-radius: 0 0 2px 2px;
1227
+ -webkit-border-radius: 0 0 2px 2px;
1228
+ -moz-background-clip: padding;
1229
+ -webkit-background-clip: padding-box;
1230
+ background-clip: padding-box;
1231
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1232
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1233
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16);
1234
+ }
1235
+ .fr-separator {
1236
+ background: #ebebeb;
1237
+ display: block;
1238
+ vertical-align: top;
1239
+ float: left;
1240
+ }
1241
+ .fr-separator + .fr-separator {
1242
+ display: none;
1243
+ }
1244
+ .fr-separator.fr-vs {
1245
+ height: 34px;
1246
+ width: 1px;
1247
+ margin: 2px;
1248
+ }
1249
+ .fr-separator.fr-hs {
1250
+ clear: both;
1251
+ height: 1px;
1252
+ width: calc(100% - (2 * 2px));
1253
+ margin: 0 2px;
1254
+ }
1255
+ .fr-separator.fr-hidden {
1256
+ display: none !important;
1257
+ }
1258
+ .fr-rtl .fr-separator {
1259
+ float: right;
1260
+ }
1261
+ .fr-toolbar.fr-inline .fr-separator.fr-hs {
1262
+ float: none;
1263
+ }
1264
+ .fr-toolbar.fr-inline .fr-separator.fr-vs {
1265
+ float: none;
1266
+ display: inline-block;
1267
+ }
1268
+ .fr-visibility-helper {
1269
+ display: none;
1270
+ margin-left: 0px !important;
1271
+ }
1272
+ @media (min-width: 768px) {
1273
+ .fr-visibility-helper {
1274
+ margin-left: 1px !important;
1275
+ }
1276
+ }
1277
+ @media (min-width: 992px) {
1278
+ .fr-visibility-helper {
1279
+ margin-left: 2px !important;
1280
+ }
1281
+ }
1282
+ @media (min-width: 1200px) {
1283
+ .fr-visibility-helper {
1284
+ margin-left: 3px !important;
1285
+ }
1286
+ }
1287
+ .fr-opacity-0 {
1288
+ -webkit-opacity: 0;
1289
+ -moz-opacity: 0;
1290
+ opacity: 0;
1291
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
1292
+ }
1293
+ .fr-box {
1294
+ position: relative;
1295
+ }
1296
+ /**
1297
+ * Postion sticky hacks.
1298
+ */
1299
+ .fr-sticky {
1300
+ position: -webkit-sticky;
1301
+ position: -moz-sticky;
1302
+ position: -ms-sticky;
1303
+ position: -o-sticky;
1304
+ position: sticky;
1305
+ }
1306
+ .fr-sticky-off {
1307
+ position: relative;
1308
+ }
1309
+ .fr-sticky-on {
1310
+ position: fixed;
1311
+ }
1312
+ .fr-sticky-on.fr-sticky-ios {
1313
+ position: absolute;
1314
+ left: 0;
1315
+ right: 0;
1316
+ width: auto !important;
1317
+ }
1318
+ .fr-sticky-dummy {
1319
+ display: none;
1320
+ }
1321
+ .fr-sticky-on + .fr-sticky-dummy,
1322
+ .fr-sticky-box > .fr-sticky-dummy {
1323
+ display: block;
1324
+ }
1325
+ span.fr-sr-only {
1326
+ position: absolute;
1327
+ width: 1px;
1328
+ height: 1px;
1329
+ padding: 0;
1330
+ margin: -1px;
1331
+ overflow: hidden;
1332
+ clip: rect(0, 0, 0, 0);
1333
+ border: 0;
1334
+ }