Added login request
This commit is contained in:
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/accessible-focus.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/accessible-focus.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
var keyboardNavigation=!1,keyboardNavigationKeycodes=[9,32,37,38,39,40];document.addEventListener("keydown",function(e){keyboardNavigation||-1!==keyboardNavigationKeycodes.indexOf(e.keyCode)&&(keyboardNavigation=!0,document.documentElement.classList.add("accessible-focus"))}),document.addEventListener("mouseup",function(){keyboardNavigation&&(keyboardNavigation=!1,document.documentElement.classList.remove("accessible-focus"))});
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,6 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint devel: true, onevar: false */
|
||||
/* global tinyMCE, AtD_restore_if_proofreading, AtD_check, AtD_unbind_proofreader_listeners,
|
||||
AtD, AtD_bind_proofreader_listeners, AtD_check_when
|
||||
*/
|
||||
function AtD_submit_check(t){AtD_proofread_click_count>0||(t.stopImmediatePropagation(),t.preventDefault(),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()?tinyMCE.activeEditor.execCommand("mceWritingImprovementTool",AtD_submit_check_callback):(AtD_restore_if_proofreading(),AtD_check(AtD_submit_check_callback)))}function AtD_submit_check_callback(t){if(t=Number(t||0),AtD_unbind_proofreader_listeners(),0===t||1<AtD_proofread_click_count)AtD_update_post();else if(-1===t)alert(AtD.getLang("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute.")),AtD_update_post();else{var e,i=jQuery("#original_post_status").val();e="publish"===i?AtD.getLang("dialog_confirm_post_publish","The proofreader has suggestions for this post. Are you sure you want to publish it?\n\nPress OK to publish your post, or Cancel to view the suggestions and edit your post."):AtD.getLang("dialog_confirm_post_update","The proofreader has suggestions for this post. Are you sure you want to update it?\n\nPress OK to update your post, or Cancel to view the suggestions and edit your post."),confirm(e)?AtD_update_post():(AtD_bind_proofreader_listeners(),AtD_kill_autoproofread()),jQuery("#publish").removeClass("button-primary-disabled"),jQuery("#ajax-loading").hide()}}function AtD_kill_autoproofread(){jQuery("#publish").unbind("click.AtD_submit_check")}function AtD_update_post(){"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()||AtD_restore_if_proofreading(),jQuery("#publish").unbind("click.AtD_submit_check").click()}var AtD_proofread_click_count=0;jQuery(document).ready(function(t){var e=t("#original_post_status").val();"undefined"!=typeof AtD_check_when&&t("#content").length&&("publish"!==e&&AtD_check_when.onpublish||("publish"===e||"schedule"===e)&&AtD_check_when.onupdate)&&t("#publish").bind("click.AtD_submit_check",AtD_submit_check)});
|
||||
File diff suppressed because one or more lines are too long
9
backend/wordpress/wp-content/plugins/jetpack/_inc/build/after-the-deadline/atd.core.min.js
vendored
Normal file
9
backend/wordpress/wp-content/plugins/jetpack/_inc/build/after-the-deadline/atd.core.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
17
backend/wordpress/wp-content/plugins/jetpack/_inc/build/after-the-deadline/jquery.atd.min.js
vendored
Normal file
17
backend/wordpress/wp-content/plugins/jetpack/_inc/build/after-the-deadline/jquery.atd.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
21
backend/wordpress/wp-content/plugins/jetpack/_inc/build/after-the-deadline/tinymce/plugin.min.js
vendored
Normal file
21
backend/wordpress/wp-content/plugins/jetpack/_inc/build/after-the-deadline/tinymce/plugin.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.js
vendored
Normal file
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
jQuery(document).ready(function(t){var n="https://public-api.wordpress.com/rest/v1",e=[];!function(){t(".comment-like-count").each(function(){var n=t(this).attr("data-blog-id"),o=t(this).attr("data-comment-id");e.push("/sites/"+n+"/comments/"+o+"/likes")}),t.ajax({type:"GET",url:n+"/batch",dataType:"jsonp",data:"urls[]="+e.map(encodeURIComponent).join("&urls[]="),success:function(n){for(var e in n)if(!n[e].error_data){var o=e.split("/"),a=o[4],i=n[e].found;if(i<1)return;t("#comment-like-count-"+a).find(".like-count").hide().text(i).fadeIn()}},error:function(){}})}()});
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/contact-form/js/editor-view.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/contact-form/js/editor-view.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/contact-form/js/grunion-admin.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/contact-form/js/grunion-admin.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global ajaxurl */
|
||||
jQuery(function(e){function n(c,t){e.post(ajaxurl,{action:"grunion_recheck_queue",offset:c,limit:t},function(e){e.processed<t?window.location.reload():n(c+t,t)})}e(document).on("click","#jetpack-check-feedback-spam:not(.button-disabled)",function(c){c.preventDefault(),e("#jetpack-check-feedback-spam:not(.button-disabled)").addClass("button-disabled"),e(".jetpack-check-feedback-spam-spinner").addClass("spinner").show(),n(0,100)})});
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
jQuery(function(t){t(".contact-form input.jp-contact-form-date").datepicker()});
|
||||
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/contact-form/js/grunion.min.js
vendored
Normal file
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/contact-form/js/grunion.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global grunionEditorView, tinymce */
|
||||
!function(){tinymce.create("tinymce.plugins.grunion_form",{init:function(n){n.addButton("grunion",{title:grunionEditorView.labels.tinymce_label,cmd:"grunion_add_form",icon:"grunion"}),n.addCommand("grunion_add_form",function(){grunionEditorView.default_form?n.execCommand("mceInsertContent",0,"[contact-form]"+grunionEditorView.default_form+"[/contact-form]"):n.execCommand("mceInsertContent",0,"[contact-form /]")})},createControl:function(){return null},getInfo:function(){return{longname:"Grunion Contact Form",author:"Automattic",version:"1"}}}),tinymce.PluginManager.add("grunion_form",tinymce.plugins.grunion_form)}();
|
||||
@@ -0,0 +1,4 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
// Originally based on https://raw.githubusercontent.com/xwp/wp-custom-scss-demo/master/custom-scss-demo-preview.js
|
||||
/* globals jpCustomizerCssPreview */
|
||||
!function(e,s){e.settingPreviewHandlers?e.settingPreviewHandlers.custom_css=function(){}:parent.console.warn("Missing core patch that adds support for settingPreviewHandlers"),e.selectiveRefresh.partialConstructor.custom_css=e.selectiveRefresh.Partial.extend({refresh:function(){var t,r,c=this,n=e("jetpack_custom_css[preprocessor]").get();return jpCustomizerCssPreview.preprocessors.hasOwnProperty(n)?e.selectiveRefresh.Partial.prototype.refresh.call(c):(t=new s.Deferred,r=e("custom_css["+e.settings.theme.stylesheet+"]"),_.each(c.placements(),function(e){e.container.text(r.get())}),t.resolve(),t.promise())}})}(wp.customize,jQuery);
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(s,t){function n(s){var n=t.control.value(s);return n?n.container:null}s(document).ready(function(){var e=n("jetpack_css_mode_control");e&&e.prepend('<span class="customize-control-title">'+window._jp_css_settings.l10n.mode+"</span>");var i=n("jetpack_mobile_css_control");i&&i.prepend('<span class="customize-control-title">'+window._jp_css_settings.l10n.mobile+"</span>");var o=n("wpcom_custom_css_content_width_control");o&&(o.append('<span class="description">'+window._jp_css_settings.l10n.contentWidth+"<span>"),o.find("input").after("<span>px</span>")),s("<div />",{id:"css-help-links",class:"css-help"}).appendTo(n("custom_css")),s("<a />",{id:"help-link",target:"_blank",href:window._jp_css_settings.cssHelpUrl,text:window._jp_css_settings.l10n.css_help_title}).prependTo("#css-help-links"),window._jp_css_settings.areThereCssRevisions&&s("<a />",{id:"revisions-link",target:"_blank",href:window._jp_css_settings.revisionsUrl,text:window._jp_css_settings.l10n.revisions}).prependTo("#css-help-links"),t("jetpack_custom_css[preprocessor]",function(s){s.bind(function(s){var n={default:"text/css",less:"text/x-less",sass:"text/x-scss"},e="text/css";void 0!==n[s]&&(e=n[s]),t.control("custom_css").deferred.codemirror.done(function(s){s.setOption("mode",e),"text/css"===e?s.setOption("lint",!0):s.setOption("lint",!1)})})})})}(jQuery,this.wp.customize);
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(t,s,i){i.controlConstructor.jetpackCss=i.Control.extend({modes:{default:"text/css",less:"text/x-less",sass:"text/x-scss"},_updating:!1,ready:function(){this.opts=window._jp_css_settings,this.$input=s("<textarea />",{name:this.setting.id,class:"for-codemirror hidden"}).val(this.setting()),this.container.append(this.$input),i(this.setting.id,_.bind(function(t){var s=new i.Element(this.$input);this.elements=[s],s.sync(t),s.set(t())},this)),this.opts.useRichEditor?this.initCodeMirror():this.$input.removeClass("hidden"),i.bind("ready",_.bind(this.addLabels,this))},initCodeMirror:function(){this.editor=window.CodeMirror.fromTextArea(this.$input.get(0),{mode:this.getMode(),lineNumbers:!0,tabSize:2,indentWithTabs:!0,lineWrapping:!0}),this.addListeners()},addListeners:function(){var t=!1;s("#accordion-section-custom_css > .accordion-section-title").click(_.bind(_.debounce(this.editor.refresh,250),this.editor)),this.editor.on("focus",function(t){t.refresh()}),this.editor.on("change",_.bind(function(s){this._updating=!0,this.$input.val(s.getValue()).trigger("change"),this._updating=!1,t||(window.ga&&window.ga("send","event","Customizer","Typed Custom CSS"),t=!0)},this)),this.editor.on("focus",function(){window.ga&&window.ga("send","event","Customizer","Focused CSS Editor")}),this.setting.bind("change",_.bind(this.externalChange,this))},getMode:function(){var t=i("jetpack_custom_css[preprocessor]")();return""!==t&&this.modes[t]||(t="default"),this.modes[t]},externalChange:function(){this._updating||this.editor.setValue(this.setting())},refresh:function(t){"accordion-section-custom_css"===t&&setTimeout(_.bind(function(){this.editor.refresh()},this),300)},addLabels:function(){this.addTitle("jetpack_css_mode_control",this.opts.l10n.mode),this.addTitle("jetpack_mobile_css_control",this.opts.l10n.mobile),this.addDesc("wpcom_custom_css_content_width_control",this.opts.l10n.contentWidth);var t=this._getControl("wpcom_custom_css_content_width_control");t&&t.find("input").after("<span>px</span>"),s("<div />",{id:"css-help-links",class:"css-help"}).appendTo(this.container),s("<a />",{id:"help-link",target:"_blank",href:this.opts.cssHelpUrl,text:this.opts.l10n.css_help_title}).prependTo("#css-help-links"),this.opts.areThereCssRevisions&&s("<a />",{id:"revisions-link",target:"_blank",href:this.opts.revisionsUrl,text:this.opts.l10n.revisions}).prependTo("#css-help-links")},addTitle:function(t,s){var i=this._getControl(t);i&&i.prepend('<span class="customize-control-title">'+s+"<span>")},addDesc:function(t,s){var i=this._getControl(t);i&&i.append('<span class="description">'+s+"<span>")},_getControl:function(t){var s=i.control.value(t);return s?s.container:null}})}(this.wp,jQuery,this.wp.customize);
|
||||
@@ -0,0 +1,4 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true */
|
||||
/* global postboxes, addLoadEvent */
|
||||
!function(e){var s,o,c,t;c=function(){s.height(o.height()-s.offset().top-250)},t=function(){s=e("#safecss"),o=e(window),postboxes.add_postbox_toggles("editcss"),c(),e("#safecssform").on("click","#preview",function(e){e.preventDefault(),document.forms.safecssform.target="csspreview",document.forms.safecssform.action.value="preview",document.forms.safecssform.submit(),document.forms.safecssform.target="",document.forms.safecssform.action.value="save"})},window.onresize=c,addLoadEvent(t)}(jQuery),jQuery(function(e){e(".edit-preprocessor").bind("click",function(s){s.preventDefault(),e("#preprocessor-select").slideDown(),e(this).hide()}),e(".cancel-preprocessor").bind("click",function(s){s.preventDefault(),e("#preprocessor-select").slideUp(function(){e(".edit-preprocessor").show(),e("#preprocessor_choices").val(e("#custom_css_preprocessor").val())})}),e(".save-preprocessor").bind("click",function(s){s.preventDefault(),e("#preprocessor-select").slideUp(),e("#preprocessor-display").text(e("#preprocessor_choices option:selected").text()),e("#custom_css_preprocessor").val(e("#preprocessor_choices").val()).change(),e(".edit-preprocessor").show()}),e(".edit-css-mode").bind("click",function(s){s.preventDefault(),e("#css-mode-select").slideDown(),e(this).hide()}),e(".cancel-css-mode").bind("click",function(s){s.preventDefault(),e("#css-mode-select").slideUp(function(){e(".edit-css-mode").show(),e("input[name=add_to_existing_display][value="+e("#add_to_existing").val()+"]").attr("checked",!0)})}),e(".save-css-mode").bind("click",function(s){s.preventDefault(),e("#css-mode-select").slideUp(),e("#css-mode-display").text("true"==e("input[name=add_to_existing_display]:checked").val()?"Add-on":"Replacement"),e("#add_to_existing").val(e("input[name=add_to_existing_display]:checked").val()),e(".edit-css-mode").show()})});
|
||||
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true */
|
||||
!function(t){var e={modes:{default:"text/css",less:"text/x-less",sass:"text/x-scss"},init:function(){this.$textarea=t("#safecss"),this.editor=window.CodeMirror.fromTextArea(this.$textarea.get(0),{mode:this.getMode(),lineNumbers:!0,tabSize:2,indentWithTabs:!0,lineWrapping:!0}),this.setEditorHeight()},addListeners:function(){t(window).on("resize",_.bind(_.debounce(this.setEditorHeight,100),this)),this.editor.on("change",_.bind(function(t){this.$textarea.val(t.getValue())},this)),t("#preprocessor_choices").change(_.bind(function(){this.editor.setOption("mode",this.getMode())},this))},setEditorHeight:function(){var e=t("html").height()-t(this.editor.getWrapperElement()).offset().top;this.editor.setSize(null,e)},getMode:function(){var e=t("#preprocessor_choices").val();return""!==e&&this.modes[e]||(e="default"),this.modes[e]}};t(document).ready(_.bind(e.init,e))}(jQuery);
|
||||
@@ -0,0 +1,4 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true, devel: true */
|
||||
/* global Jetpack_Comics_Options */
|
||||
jQuery(function(o){var e={init:function(){o(document).on("dragover.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDragOver),o(document).on("dragleave.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDragLeave),o(document).on("drop.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDrop),o("body").append(o('<div id="jetpack-comic-drop-zone"><p class="dragging" /><p class="uploading" /></div>')),o("#jetpack-comic-drop-zone").find(".dragging").text(Jetpack_Comics_Options.labels.dragging).end().find(".uploading").text(Jetpack_Comics_Options.labels.uploading).prepend(o('<span class="spinner"/>')),"FileReader"in window&&"File"in window||(o("#jetpack-comic-drop-zone .dragging").text(Jetpack_Comics_Options.labels.unsupported),o(document).off("drop.jetpack-comics").on("drop.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDragLeave))},filterImageFiles:function(o){for(var e=[],n=0,a=o.length;n<a;n++)o[n].type.match(/^image\//i)&&e.push(o[n]);return e},dragTimeout:null,onDragOver:function(n){n.preventDefault(),clearTimeout(e.dragTimeout),o("body").addClass("dragging")},onDragLeave:function(){clearTimeout(e.dragTimeout),e.dragTimeout=setTimeout(function(){o("body").removeClass("dragging")},100)},onDrop:function(n){n.preventDefault(),n.stopPropagation(),n.originalEvent.stopPropagation(),n.originalEvent.preventDefault();var a=e.filterImageFiles(n.originalEvent.dataTransfer.files);if(o("body").removeClass("dragging"),0===a.length)return void alert(Jetpack_Comics_Options.labels.invalidUpload);o("body").addClass("uploading");for(var i=new FormData,t=0,r=a.length;t<r;t++)i.append("image_"+t,a[t]);o("#jetpack-comic-drop-zone .uploading .spinner").spin(),o.ajax({url:Jetpack_Comics_Options.writeURL+"&nonce="+Jetpack_Comics_Options.nonce,data:i,processData:!1,contentType:!1,type:"POST",dataType:"json",xhrFields:{withCredentials:!0}}).done(function(e){o("#jetpack-comic-drop-zone .uploading").text(Jetpack_Comics_Options.labels.processing),"url"in e?document.location.href=e.url:"error"in e&&(alert(e.error),o("body").removeClass("uploading"))}).fail(function(){alert(Jetpack_Comics_Options.labels.error)})}};e.init()});
|
||||
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true */
|
||||
!function(t){var n,a,e;e={init:function(){var i,o,r=this;return this.on("keypress.manyItemsTable",function(t){13===t.which&&(t.preventDefault(),"function"==typeof FormData&&e.submitRow.apply(r),e.addRow.apply(r))}).on("focus.manyItemsTable",":input",function(){r.data("currentRow",t(this).parents("tr:first"))}),i=this.find("tbody:last"),o=i.find("tr:first").clone(),this.data("form",this.parents("form:first")),this.data("tbody",i),this.data("row",o),this.data("currentRow",o),n=t("#nova-menu-tax"),a=t("#_wpnonce"),this},destroy:function(){return this.off(".manyItemsTable"),this},submitRow:function(){var e,i,o,r;return e=this.data("currentRow"),i=e.find(":input"),o=this.data("form").find(":input").not(i).attr("disabled",!0).end(),r=new FormData(this.data("form").get(0)),r.append("ajax","1"),r.append("nova_menu_tax",n.val()),r.append("_wpnonce",a.val()),o.attr("disabled",!1),t.ajax({url:"",type:"POST",data:r,processData:!1,contentType:!1}).complete(function(t){e.html(t.responseText)}),i.attr("disabled",!0),this},addRow:function(){var t=this.data("row").clone();return t.appendTo(this.data("tbody")),t.find(":input:first").focus(),this}},t.fn.manyItemsTable=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?(t.error("Method "+n+" does not exist on jQuery.manyItemsTable"),this):e.init.apply(this,arguments)},t.fn.clickAddRow=function(){var n=this.find("tbody:last"),a=n.find("tr:first").clone();t(a).find("input, textarea").val(""),t(a).appendTo(n)}}(jQuery),jQuery(".many-items-table").one("focus",":input",function(t){jQuery(t.delegateTarget).manyItemsTable()}),jQuery(".many-items-table").on("click","a.nova-new-row",function(t){jQuery(t.delegateTarget).clickAddRow()});
|
||||
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true, devel: true */
|
||||
!function(c){var n={inputs:null,popInputs:null,initialize:function(){n.popInputs=c("#nova_menuchecklist-pop").find(":checkbox"),n.inputs=c("#nova_menuchecklist").find(":checkbox").change(n.checkOne).change(n.syncPop),n.isChecked()||n.checkFirst(),n.syncPop()},syncPop:function(){n.popInputs.each(function(){var n=c(this);n.prop("checked",c("#in-nova_menu-"+n.val()).is(":checked"))})},isChecked:function(){return n.inputs.is(":checked")},checkFirst:function(){n.inputs.first().prop("checked",!0)},checkOne:function(){return c(this).is(":checked")?n.inputs.not(this).prop("checked",!1):c(this).closest("#nova_menuchecklist").find(":checked").length>0?c(this).prop("checked",!1):n.checkFirst()}};c(n.initialize)}(jQuery);
|
||||
@@ -0,0 +1,4 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true */
|
||||
/* global _novaDragDrop */
|
||||
!function(n){function e(){u=n("#the-list"),t(),o(),a(),i()}function t(){u.sortable({cancel:".no-items",stop:function(n,e){if(e.item.is(":first-child"))return u.sortable("cancel");r()}})}function r(){u.find(".menu-label-row").each(function(){var e=n(this).data("term_id");n(this).nextUntil(".menu-label-row").each(function(t){var r=n(this);r.find(".menu-order-value").val(t),r.find(".nova-menu-term").val(e)})})}function a(){n(".tablenav").prepend('<input type="submit" class="button-primary button-reorder alignright" value="'+_novaDragDrop.reorder+'" name="'+_novaDragDrop.reorderName+'" />')}function o(){n("#posts-filter").append('<input type="hidden" name="'+_novaDragDrop.nonceName+'" value="'+_novaDragDrop.nonce+'" />')}function i(){n("#posts-filter").attr("method","post")}var u;n(document).ready(e)}(jQuery);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/facebook-embed.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/facebook-embed.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global FB, jpfbembed */
|
||||
!function(e){var n=function(){var e,n;"undefined"!=typeof FB&&FB.XFBML?FB.XFBML.parse():(e=document.createElement("div"),e.id="fb-root",document.getElementsByTagName("body")[0].appendChild(e),n="//connect.facebook.net/"+jpfbembed.locale+"/sdk.js#xfbml=1",jpfbembed.appid&&(n+="&appId="+jpfbembed.appid),n+="&version=v2.3",jQuery.getScript(n))};e.fbAsyncInit=function(){FB.init({appId:jpfbembed.appid,version:"v2.3"}),FB.XFBML.parse()},"undefined"!=typeof infiniteScroll&&jQuery(document.body).on("post-load",n),n()}(this);
|
||||
5
backend/wordpress/wp-content/plugins/jetpack/_inc/build/gallery-settings.min.js
vendored
Normal file
5
backend/wordpress/wp-content/plugins/jetpack/_inc/build/gallery-settings.min.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/**
|
||||
* Jetpack Gallery Settings
|
||||
*/
|
||||
!function(e){var t=wp.media;t.view.Settings.Gallery=t.view.Settings.Gallery.extend({render:function(){var a=this.$el;return t.view.Settings.prototype.render.apply(this,arguments),a.append(t.template("jetpack-gallery-settings")),t.gallery.defaults.type="default",this.update.apply(this,["type"]),a.find("select[name=type]").on("change",function(){var t=a.find("select[name=columns]").closest("label.setting");"default"===e(this).val()||"thumbnails"===e(this).val()?t.show():t.hide()}).change(),this}})}(jQuery);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/idc-notice.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/idc-notice.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global idcL10n, jQuery, analytics, history, wpCookies */
|
||||
!function(e){function i(){u.prop("disabled",!0)}function c(){u.prop("disabled",!1)}function n(){v.hide(),s("confirm_safe_mode");var n=p+"jetpack/v4/identity-crisis/confirm-safe-mode";i(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",d)},url:n,data:{},success:function(){l.hide(),h.removeClass("hide"),window.location.search&&1===window.location.search.indexOf("page=jetpack")&&window.location.reload()},error:function(e){g="confirm",r(e),c()}})}function t(){v.hide(),s("migrate");var n=p+"jetpack/v4/identity-crisis/migrate";i(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",d)},url:n,data:{},success:function(){l.hide(),e("body").hasClass("toplevel_page_jetpack")&&window.location.reload(!0)},error:function(e){g="migrate",r(e),c()}})}function o(){v.hide(),s("fix_connection"),l.addClass("jp-idc-show-second-step")}function a(){v.hide(),s("start_fresh");var n=p+"jetpack/v4/identity-crisis/start-fresh";i(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",d)},url:n,data:{},success:function(e){window.location=e+"&from=idc-notice"},error:function(e){g="start-fresh",r(e),c()}})}function r(i){var c=e(".jp-idc-error__desc");i&&i.responseJSON&&i.responseJSON.message?c.html(i.responseJSON.message):c.html(""),v.css("display","flex")}function s(e,i){void 0!==i&&"object"==typeof i||(i={}),e&&e.length&&"undefined"!=typeof analytics&&analytics.tracks&&analytics.mc&&(e=e.replace(/-/g,"_"),e=0!==e.indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,analytics.tracks.recordEvent(e,i),e=e.replace("jetpack_idc_",""),e=e.replace(/_/g,"-"),analytics.mc.bumpStat("jetpack-idc",e))}var d=idcL10n.nonce,f=idcL10n.currentUrl,p=idcL10n.apiRoot,l=e(".jp-idc-notice"),u=e(".jp-idc-notice .dops-button"),m=idcL10n.tracksUserData,_=idcL10n.tracksEventData,h=e("#wp-admin-bar-jetpack-idc"),j=e("#jp-idc-confirm-safe-mode-action"),k=e("#jp-idc-fix-connection-action"),w=e("#jp-idc-migrate-action"),y=e("#jp-idc-reconnect-site-action"),v=e(".jp-idc-error__notice"),g=!1;"undefined"!=typeof analytics&&analytics.initialize(m.userid,m.username),_.isAdmin?s("notice_view"):s("non_admin_notice_view",{page:_.currentScreen}),function(e){e=void 0!==e&&e,window.location.search&&-1!==window.location.search.indexOf("jetpack_idc_clear_confirmation")&&(s("clear_confirmation_clicked"),history&&history.pushState?history.pushState({},"",f):e&&(window.location.href=f))}(),l.on("click",".notice-dismiss",function(){var e="https:"===window.location.protocol;wpCookies.set("jetpack_idc_dismiss_notice","1",604800,!1,!1,e),s("non_admin_notice_dismiss",{page:_.currentScreen})}),l.on("click","#jp-idc-error__action",function(){switch(v.hide(),g){case"confirm":n();break;case"start-fresh":a();break;case"migrate":t();break;default:return}}),j.on("click",n),k.on("click",o),y.on("click",a),w.on("click",t)}(jQuery);
|
||||
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/infinite-scroll/infinity.min.js
vendored
Normal file
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/infinite-scroll/infinity.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-admin.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-admin.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(e){function a(){var a=e(".frame.top"),o=e(".frame.bottom"),t=e("body");t.scroll(function(){33>a.offset().top&&(a.addClass("fixed"),t.addClass("jp-frame-top-fixed")),120<=o.offset().top&&(a.removeClass("fixed"),t.removeClass("jp-frame-top-fixed"))}),e("table.jetpack-modules",o).addClass("with-transparency"),e(".manage-left",o).css("width",""),e(".manage-right",o).show()}function o(){e(".filter-search").on("click",function(){e(this).toggleClass("active"),e(".manage-right").toggleClass("show"),e(".shade").toggle()}),e(".checkall").on("click",function(){e(".table-bordered").find(":checkbox").prop("checked",this.checked)}),e(".shade, .modal .close").on("click",function(a){e(".shade, .modal").hide(),e(".manage-right").removeClass("show"),a.preventDefault()})}e(document).ready(function(){o(),a()})}(jQuery);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-connection-banner.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-connection-banner.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global jQuery, jp_banner */
|
||||
!function(e){function n(e){i.find(".vertical-menu__feature-item-is-selected").removeClass("vertical-menu__feature-item-is-selected"),c.find(".jp__slide-is-active").removeClass("jp__slide-is-active"),i.children().eq(e).addClass("vertical-menu__feature-item-is-selected"),c.children().eq(e).addClass("jp__slide-is-active")}var i=e(".jp-wpcom-connect__vertical-nav-container"),c=e(".jp-wpcom-connect__content-container"),t=e(".jp-banner__button-container .next-feature"),o=e(".jp-connect-full__container"),s=e(".jp-connect-full__dismiss"),a=e("#welcome-panel"),l=e("#message"),r=e(".connection-banner-dismiss");e(window).on("load",function(){a.insertBefore(l)}),r.on("click",function(){e(l).hide();var n={action:"jetpack_connection_banner",nonce:jp_banner.connectionBannerNonce,dismissBanner:!0};e.post(jp_banner.ajax_url,n,function(n){!0!==n.success&&e(l).show()})}),i.on("click",".vertical-menu__feature-item:not( .vertical-menu__feature-item-is-selected )",function(){n(e(this).index())}),t.on("click",function(){n(e(this).closest(".jp-wpcom-connect__slide").index()+1)}),s.on("click",function(){e(o).hide(),e("body").css("overflow","visible")}),e(document).keyup(function(n){27===n.keyCode&&e(s).click()}),e(o).is(":visible")&&e("body").css("overflow","hidden")}(jQuery);
|
||||
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-jitm.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-jitm.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
jQuery(document).ready(function(t){var e={default:function(e){var a='<div class="jitm-card jitm-banner '+(e.CTA.message?"has-call-to-action":"")+" is-upgrade-premium "+e.content.classes+'" data-stats_url="'+e.jitm_stats_url+'">';if(a+='<div class="jitm-banner__icon-plan">'+e.content.icon+"</div>",a+='<div class="jitm-banner__content">',a+='<div class="jitm-banner__info">',a+='<div class="jitm-banner__title">'+e.content.message+"</div>",e.content.description&&""!==e.content.description){if(a+='<div class="jitm-banner__description">'+e.content.description,e.content.list.length>0){a+='<ul class="banner__list">';for(var n=0;n<e.content.list.length;n++){var i=e.content.list[n].item;e.content.list[n].url&&(i='<a href="'+e.content.list[n].url+'" target="_blank" rel="noopener noreferrer" data-module="'+e.feature_class+'" data-jptracks-name="nudge_item_click" data-jptracks-prop="jitm-'+e.id+'">'+i+"</a>"),a+='<li><svg class="gridicon gridicons-checkmark" height="16" width="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414" /></g></svg>'+i+"</li>"}}a+="</div>"}return a+="</div>",e.CTA.message&&(a+='<div class="jitm-banner__action">',a+='<a href="'+e.url+'" target="'+(!1===e.CTA.newWindow?"_self":"_blank")+'" rel="noopener noreferrer" title="'+e.CTA.message+'" data-module="'+e.feature_class+'" type="button" class="jitm-button is-compact '+(e.CTA.primary?"is-primary":"")+' jptracks" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+e.id+'">'+e.CTA.message+"</a>",a+="</div>"),a+='<a href="#" data-module="'+e.feature_class+'" class="jitm-banner__dismiss"></a>',a+="</div>",a+="</div>",t(a)}},a=function(a,n,i){var s;s=n.template,s&&e[s]||(s="default"),n.url=n.url+"&redirect="+i;var r=e[s](n);r.find(".jitm-banner__dismiss").click(function(e){return function(a){a.preventDefault(),e.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",data:{id:n.id,feature_class:n.feature_class}})}}(r)),a.replaceWith(r),r.prependTo(t("#jp-admin-notices"))};t(".jetpack-jitm-message").each(function(){var e=t(this),n=e.data("message-path"),i=e.data("query"),s=e.data("redirect");t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:n,query:i,_wpnonce:e.data("nonce")}).then(function(t){"object"==typeof t&&t[1]&&(t=[t[1]]),0!==t.length&&t[0].content&&a(e,t[0],s)})})});
|
||||
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-modules.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-modules.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(e,t,a,n,s,o,i,l){"use strict";var c,r,u,d,p;t(".wp-list-table.jetpack-modules"),u=t(".navbar-form"),d=t("#srch-term-search-input"),t(".jp-frame"),p=t("#doaction"),c=new n.Modules({items:a}),new s.List_Table({el:"#the-list",model:c}),c.trigger("change"),r=function(e){t(".subsubsub").find('a[data-title="'+t(this).data("title")+'"]').addClass("current").closest("li").siblings().find("a.current").removeClass("current"),e.preventDefault(),c.trigger("change")},t(".subsubsub a").on("click",{modules:c},r),u.on("click",".button-group .button",{modules:c},function(e){e.preventDefault(),t(this).addClass("active").siblings(".active").removeClass("active"),c.trigger("change")}),d.on("keyup search",function(e){9!==e.keyCode&&c.trigger("change")}),d.prop("placeholder",o.search_placeholder),p.on("click",function(a){var n,s=t(".jetpack-modules-list-table-form").serialize(),o=t(this).siblings("select").val();s.length&&"-1"!==o&&(n="admin.php?page=jetpack&action="+encodeURIComponent(o),n+="&"+s,n+="&_wpnonce="+encodeURIComponent(l.bulk),e.location.href=n),a.preventDefault()})}(this,jQuery,window.jetpackModulesData.modules,this.jetpackModules.models,this.jetpackModules.views,window.jetpackModulesData.i18n,window.jetpackModulesData.modalinfo,window.jetpackModulesData.nonces);
|
||||
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-modules.models.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-modules.models.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
this.jetpackModules=this.jetpackModules||{},window.jetpackModules.models=function(t,e,r,s){"use strict";var a={};return a.Modules=s.Model.extend({visibles:{},filter_and_sort:function(){var t,s=e(".subsubsub .current"),a=this.get("raw"),i=e(".button-group.filter-active .active"),o=e(".button-group.sort .active"),n=e("#srch-term-search-input").val().toLowerCase();return s.closest("li").hasClass("all")||(a=r.filter(a,function(t){return r.contains(t.module_tags,s.data("title"))})),i.data("filter-by")&&(a=r.filter(a,function(t){return t[i.data("filter-by")]===i.data("filter-value")})),n.length&&(a=r.filter(a,function(t){return-1!==(t.name+" "+t.description+" "+t.long_description+" "+t.search_terms+" "+t.jumpstart_desc+" "+t.module_tags).toLowerCase().indexOf(n)})),o.data("sort-by")&&(a=r.sortBy(a,o.data("sort-by")),"reverse"===o.data("sort-order")&&a.reverse()),t=r.groupBy(a,"available"),r.has(t,"false")&&(a=[].concat(t[!0],t[!1])),this.set("items",a),this},initialize:function(){var t=this.get("items");this.set("raw",t)}}),a}(0,jQuery,_,Backbone);
|
||||
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-modules.views.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jetpack-modules.views.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
this.jetpackModules=this.jetpackModules||{},window.jetpackModules.views=function(t,e,a,o,i){"use strict";var n={};return n.List_Table=o.View.extend({template:i.template("Jetpack_Modules_List_Table_Template"),updateUrl:function(){if(t.history.replaceState){var a=t.location.href.split("?")[0]+"?page=jetpack_modules",o=e(".subsubsub .current"),i=e(".button-group.filter-active .active"),n=e(".button-group.sort .active"),s=e("#srch-term-search-input").val();s.length&&(a+="&s="+encodeURIComponent(s)),o.hasClass("all")||(a+="&module_tag="+encodeURIComponent(o.data("title"))),i.data("filter-by")&&(a+="&"+encodeURIComponent(i.data("filter-by"))+"="+encodeURIComponent(i.data("filter-value"))),"name"!==n.data("sort-by")&&(a+="&sort_by="+encodeURIComponent(n.data("sort-by"))),t.history.replaceState({},"",a)}},render:function(){return this.model.filter_and_sort(),this.$el.html(this.template(this.model.attributes)),this.updateUrl(),this},initialize:function(){this.listenTo(this.model,"change",this.render)}}),n}(this,jQuery,_,Backbone,wp);
|
||||
24
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jquery.jetpack-resize.min.js
vendored
Normal file
24
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jquery.jetpack-resize.min.js
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global Jetpack, JSON */
|
||||
/**
|
||||
* Resizeable Iframes.
|
||||
*
|
||||
* Start listening to resize postMessage events for selected iframes:
|
||||
* $( selector ).Jetpack( 'resizeable' );
|
||||
* - OR -
|
||||
* Jetpack.resizeable( 'on', context );
|
||||
*
|
||||
* Resize selected iframes:
|
||||
* $( selector ).Jetpack( 'resizeable', 'resize', { width: 100, height: 200 } );
|
||||
* - OR -
|
||||
* Jetpack.resizeable( 'resize', { width: 100, height: 200 }, context );
|
||||
*
|
||||
* Stop listening to resize postMessage events for selected iframes:
|
||||
* $( selector ).Jetpack( 'resizeable', 'off' );
|
||||
* - OR -
|
||||
* Jetpack.resizeable( 'off', context );
|
||||
*
|
||||
* Stop listening to all resize postMessage events:
|
||||
* Jetpack.resizeable( 'off' );
|
||||
*/
|
||||
!function(e){var t,a,i,r,n=!1,o=[],s=!1;if(void 0===window.Jetpack&&(window.Jetpack={getTarget:function(t){return this instanceof jQuery?t?this.filter(t):this:t?e(t):t}}),void 0===e.fn.Jetpack&&(e.fn.Jetpack=function(t){if("function"==typeof Jetpack[t])return Jetpack[t].apply(this,Array.prototype.slice.call(arguments,1));e.error('Namespace "'+t+'" does not exist on jQuery.Jetpack')}),"function"!=typeof window.postMessage)return void e.extend(window.Jetpack,{resizeable:function(){e.error("Browser does not support window.postMessage")}});t=function(e){return e.match(/^https?:\/\//)||(e=document.location.href),e.split("/").slice(0,3).join("/")},a=function(){n=!0,e(window).on("message.JetpackResizeableIframe",function(t){var a,i=t.originalEvent;if(-1!==e.inArray(i.origin,o)){if("object"==typeof i.data)a=i.data.data;else try{a=JSON.parse(i.data)}catch(e){a=!1}a.data&&(a=a.data,void 0!==a.action&&"resize"===a.action&&s.filter(function(){return void 0!==a.name?this.name===a.name:i.source===this.contentWindow}).first().Jetpack("resizeable","resize",a))}})},i=function(){n=!1,e(window).off("message.JetpackResizeableIframe"),o=[],e(".jetpack-resizeable").removeClass("jetpack-resizeable"),s=!1},r={on:function(i){var r=Jetpack.getTarget.call(this,i);return n||a(),r.each(function(){o.push(t(e(this).attr("src")))}).addClass("jetpack-resizeable"),s=e(".jetpack-resizeable"),r},off:function(a){var r=Jetpack.getTarget.call(this,a);return void 0===r?(i(),r):(r.each(function(){var a=t(e(this).attr("src")),i=e.inArray(a,o);-1!==i&&o.splice(i,1)}).removeClass("jetpack-resizeable"),s=e(".jetpack-resizeable"),r)},resize:function(t,a){var i=Jetpack.getTarget.call(this,a);return e.each(["width","height"],function(e,a){var r,n=0;void 0!==t[a]&&(n=parseInt(t[a],10)),0!==n&&(i[a](n),r=i.parent(),r.hasClass("slim-likes-widget")&&r[a](n))}),i}},e.extend(window.Jetpack,{resizeable:function(t){return r[t]?r[t].apply(this,Array.prototype.slice.call(arguments,1)):t?void e.error("Method "+t+" does not exist on Jetpack.resizeable"):r.on.apply(this)}})}(jQuery);
|
||||
6
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jquery.spin.min.js
vendored
Normal file
6
backend/wordpress/wp-content/plugins/jetpack/_inc/build/jquery.spin.min.js
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/**
|
||||
* Copyright (c) 2011-2013 Felix Gnass
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
!function(e){if("object"==typeof exports)e(require("jquery"),require("spin"));else if("function"==typeof define&&define.amd)define(["jquery","spin"],e);else{if(!window.Spinner)throw new Error("Spin.js not present");e(window.jQuery,window.Spinner)}}(function(e,n){e.fn.spin=function(s,i){return this.each(function(){var t=e(this),r=t.data();if(r.spinner&&(r.spinner.stop(),delete r.spinner),!1!==s){if(s=e.extend({color:i||t.css("color")},e.fn.spin.presets[s]||s),void 0!==s.right&&void 0!==s.length&&void 0!==s.width&&void 0!==s.radius){var p=t.css("padding-left");p=void 0===p?0:parseInt(p,10),s.left=t.outerWidth()-2*(s.length+s.width+s.radius)-p-s.right,delete s.right}r.spinner=new n(s).spin(this)}})},e.fn.spin.presets={tiny:{lines:8,length:2,width:2,radius:3},small:{lines:8,length:4,width:3,radius:5},large:{lines:10,length:8,width:4,radius:8}}}),function(e){e.fn.spin.presets.wp={trail:60,speed:1.3},e.fn.spin.presets.small=e.extend({lines:8,length:2,width:2,radius:3},e.fn.spin.presets.wp),e.fn.spin.presets.medium=e.extend({lines:8,length:4,width:3,radius:5},e.fn.spin.presets.wp),e.fn.spin.presets.large=e.extend({lines:10,length:6,width:4,radius:7},e.fn.spin.presets.wp),e.fn.spin.presets["small-left"]=e.extend({left:5},e.fn.spin.presets.small),e.fn.spin.presets["small-right"]=e.extend({right:5},e.fn.spin.presets.small),e.fn.spin.presets["medium-left"]=e.extend({left:5},e.fn.spin.presets.medium),e.fn.spin.presets["medium-right"]=e.extend({right:5},e.fn.spin.presets.medium),e.fn.spin.presets["large-left"]=e.extend({left:5},e.fn.spin.presets.large),e.fn.spin.presets["large-right"]=e.extend({right:5},e.fn.spin.presets.large)}(jQuery);
|
||||
16
backend/wordpress/wp-content/plugins/jetpack/_inc/build/lazy-images/js/lazy-images.min.js
vendored
Normal file
16
backend/wordpress/wp-content/plugins/jetpack/_inc/build/lazy-images/js/lazy-images.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/likes/post-count-jetpack.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/likes/post-count-jetpack.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
var wpPostLikeCount=wpPostLikeCount||{};!function(t){wpPostLikeCount=jQuery.extend(wpPostLikeCount,{request:function(e){return t.ajax({type:"GET",url:wpPostLikeCount.jsonAPIbase+e.path,dataType:"jsonp",data:e.data,success:function(t){e.success(t)},error:function(t){e.error(t)}})}})}(jQuery);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/likes/post-count.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/likes/post-count.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true */
|
||||
var wpPostLikeCount=wpPostLikeCount||{};!function(t){wpPostLikeCount=jQuery.extend(wpPostLikeCount,{jsonAPIbase:"https://public-api.wordpress.com/rest/v1",APIqueue:[],wpPostLikeCount:function(){t(".post-like-count").each(function(){var o=t(this).attr("data-post-id"),n=t(this).attr("data-blog-id");wpPostLikeCount.APIqueue.push("/sites/"+n+"/posts/"+o+"/likes")}),wpPostLikeCount.getCounts()},showCount:function(o,n){n>0&&(t("#post-like-count-"+o).find(".comment-count").hide(),t("#post-like-count-"+o).find(".comment-count").text(n),t("#post-like-count-"+o).find(".comment-count").fadeIn())},getCounts:function(){for(var t={path:"/batch",data:"",success:function(t){for(var o in t)if(!t[o].error_data){var n=o.split("/"),e=n[4];wpPostLikeCount.showCount(e,t[o].found)}},error:function(){}},o="",n=0;n<wpPostLikeCount.APIqueue.length;n++)n>0&&(o="&"),t.data+=o+"urls[]="+wpPostLikeCount.APIqueue[n];wpPostLikeCount.request(t)}})}(jQuery),jQuery(document).ready(function(){wpPostLikeCount.wpPostLikeCount()});
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/likes/queuehandler.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/likes/queuehandler.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/masterbar/tracks-events.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/masterbar/tracks-events.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/*globals JSON */
|
||||
!function(a){function e(a,e){try{return JSON.parse(a)}catch(a){return e}}var i={"wp-admin-bar-blog":"my_sites","wp-admin-bar-newdash":"reader","wp-admin-bar-ab-new-post":"write_button","wp-admin-bar-my-account":"my_account","wp-admin-bar-notes":"notifications","wp-admin-bar-switch-site":"my_sites_switch_site","wp-admin-bar-blog-info":"my_sites_blog_info","wp-admin-bar-site-view":"my_sites_view_site","wp-admin-bar-blog-stats":"my_sites_blog_stats","wp-admin-bar-plan":"my_sites_plan","wp-admin-bar-plan-badge":"my_sites_plan_badge","wp-admin-bar-edit-page":"my_sites_manage_site_pages","wp-admin-bar-new-page-badge":"my_sites_manage_add_page","wp-admin-bar-edit-post":"my_sites_manage_blog_posts","wp-admin-bar-new-post-badge":"my_sites_manage_add_new_post","wp-admin-bar-edit-attachment":"my_sites_manage_media","wp-admin-bar-new-attachment-badge":"my_sites_manage_add_media","wp-admin-bar-comments":"my_sites_manage_comments","wp-admin-bar-edit-testimonial":"my_sites_manage_testimonials","wp-admin-bar-new-testimonial":"my_sites_manage_add_testimonial","wp-admin-bar-edit-portfolio":"my_sites_manage_portfolio","wp-admin-bar-new-portfolio":"my_sites_manage_add_portfolio","wp-admin-bar-themes":"my_sites_personalize_themes","wp-admin-bar-cmz":"my_sites_personalize_themes_customize","wp-admin-bar-sharing":"my_sites_configure_sharing","wp-admin-bar-people":"my_sites_configure_people","wp-admin-bar-people-add":"my_sites_configure_people_add_button","wp-admin-bar-plugins":"my_sites_configure_plugins","wp-admin-bar-plugins-add":"my_sites_configure_manage_plugins","wp-admin-bar-blog-settings":"my_sites_configure_settings","wp-admin-bar-followed-sites":"reader_followed_sites","wp-admin-bar-reader-followed-sites-manage":"reader_manage_followed_sites","wp-admin-bar-discover-discover":"reader_discover","wp-admin-bar-discover-search":"reader_search","wp-admin-bar-discover-recommended-blogs":"reader_recommendations","wp-admin-bar-my-activity-my-likes":"reader_my_likes","wp-admin-bar-user-info":"my_account_user_name","wp-admin-bar-my-profile":"my_account_profile_my_profile","wp-admin-bar-account-settings":"my_account_profile_account_settings","wp-admin-bar-billing":"my_account_profile_manage_purchases","wp-admin-bar-security":"my_account_profile_security","wp-admin-bar-notifications":"my_account_profile_notifications","wp-admin-bar-get-apps":"my_account_special_get_apps","wp-admin-bar-next-steps":"my_account_special_next_steps","wp-admin-bar-help":"my_account_special_help"},t={openSite:function(a){return{clicked:"masterbar_notifications_panel_site",site_id:a.siteId}},openPost:function(a){return{clicked:"masterbar_notifications_panel_post",site_id:a.siteId,post_id:a.postId}},openComment:function(a){return{clicked:"masterbar_notifications_panel_comment",site_id:a.siteId,post_id:a.postId,comment_id:a.commentId}}};a(document).ready(function(){a(".mb-trackable .ab-item:not(div),#wp-admin-bar-notes .ab-item,#wp-admin-bar-user-info .ab-item,.mb-trackable .ab-secondary").on("click touchstart",function(e){if(window.jpTracksAJAX&&"function"==typeof window.jpTracksAJAX.record_ajax_event){var t=a(e.target),n=t.closest("li");if(t.is("a")||(t=t.closest("a")),n&&t){var s=t.attr("ID")||n.attr("ID");if(i.hasOwnProperty(s)){var r={clicked:i[s]};n.hasClass("menupop")?window.jpTracksAJAX.record_ajax_event("masterbar_click","click",r):(e.preventDefault(),window.jpTracksAJAX.record_ajax_event("masterbar_click","click",r).always(function(){window.location=t.attr("href")}))}}}})}),a(window).on("message",function(a){if(window.jpTracksAJAX&&"function"==typeof window.jpTracksAJAX.record_ajax_event){var i=!a.data&&a.originalEvent.data?a.originalEvent:a;if("https://widgets.wp.com"===i.origin){var n="string"==typeof i.data?e(i.data,{}):i.data;if("notesIframeMessage"===n.type){var s=t[n.action];s&&window.jpTracksAJAX.record_ajax_event("masterbar_click","click",s(n))}}}})}(jQuery);
|
||||
@@ -0,0 +1,7 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/**
|
||||
* navigation.js
|
||||
*
|
||||
* Handles toggling the navigation menu for small screens.
|
||||
*/
|
||||
!function(){var e,a,l=document.getElementById("access");if(l&&(e=l.getElementsByTagName("h3")[0],a=l.getElementsByTagName("ul")[0],e))a&&a.childNodes.length?e.onclick=function(){-1===a.className.indexOf("nav-menu")&&(a.className="nav-menu"),-1!==e.className.indexOf("toggled-on")?(e.className=e.className.replace(" toggled-on",""),a.className=a.className.replace(" toggled-on","")):(e.className+=" toggled-on",a.className+=" toggled-on")}:e.style.display="none"}();
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false */
|
||||
!function(t){var a=function(){t("img[data-recalc-dims]").each(function a(){var o=t(this);if(this.complete){if(o.data("lazy-src")&&o.attr("src")!==o.data("lazy-src"))return void o.load(a);var d=this.width,i=this.height;d&&d>0&&i&&i>0&&(o.attr({width:d,height:i}),e(this))}else o.load(a)})},e=function(a){t(a).removeAttr("data-recalc-dims").removeAttr("scale")};t(document).ready(a),"on"in t.fn?t(document.body).on("post-load",a):t(document).delegate("body","post-load",a)}(jQuery);
|
||||
25
backend/wordpress/wp-content/plugins/jetpack/_inc/build/postmessage.min.js
vendored
Normal file
25
backend/wordpress/wp-content/plugins/jetpack/_inc/build/postmessage.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
5
backend/wordpress/wp-content/plugins/jetpack/_inc/build/publicize/assets/publicize.min.js
vendored
Normal file
5
backend/wordpress/wp-content/plugins/jetpack/_inc/build/publicize/assets/publicize.min.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true */
|
||||
/* global tb_show, tb_pathToImage, ajaxurl, tb_init, tb_remove */
|
||||
/* global myblogsResponse, publicizeConnTestStart:true, publicizeConnTestComplete:true, publicizeConnRefreshClick:true */
|
||||
var showOptionsPage;jQuery(function(e){showOptionsPage=function(n,t,o,a){tb_show(null,null,null),e("body").append("<div id='TB_load'><img src='"+tb_pathToImage+"' /></div>"),e("#TB_load").show();var i="";o&&(i+="&connection="+encodeURIComponent(o)),void 0!==a&&a&&(i+="&blog_id="+Number(a)),e.post(ajaxurl,"action=publicize_"+n+"_options_page&_wpnonce="+t+i,function(t){e("#TB_load").remove();try{var o=jQuery.parseJSON(t);if(o&&"object"==typeof o&&o.hasOwnProperty("fb_redirect"))return void(location.href=o.fb_redirect+"&redirect_uri="+encodeURIComponent(location.href))}catch(e){}if(t){var a=e("input[name=wpas_ajax_blog_id]").val(),i=e('<div id="wpas-ajax-'+a+'" class="wrap"></div>').append(t);i.append('<a href="#TB_inline?thickbox&height=420&width=555&inlineId=wpas-ajax-'+a+'" id="wpas-click-'+a+'" class="new-thickbox" style="display: none;"></a>'),e("#wpas-message").html(i),tb_init("a.new-thickbox"),e("#wpas-click-"+a).click();var s=parseInt(e("#TB_ajaxContent").css("height"),10),c=e("#thickbox-content").height();if(c<s){var r=c+15;e("#TB_ajaxContent").css("height",r);var p=parseInt(e("#TB_window").css("margin-top"),10)+(s-r)/2+"px";e("#TB_window").css("margin-top",p)}e(".save-options").unbind("click").click(function(){var t=e("input[name='option']:checked"),o=e("input[name='global']:checked"),a=e(this).data("connection"),i=encodeURIComponent(t.val()),s=encodeURIComponent(t.attr("id")),c=encodeURIComponent(t.attr("data-type")),r=e(this).attr("rel"),p="off",l="";o.length&&(p="on",l=o.val()),e.post(ajaxurl,"action=publicize_"+n+"_options_save&connection="+a+"&selected_id="+s+"&token="+i+"&type="+c+"&_wpnonce="+r+"&global="+p+"&global_nonce="+l,function(){var e;tb_remove(),e=document.location.search.match(/frame-nonce=([^&]+)/),/inside-newdash=1/.test(document.location.search)&&e?document.location="options-general.php?page=sharing&inside-newdash=1&frame-nonce"+e[1]:top.location="options-general.php?page=sharing"})})}},"html")},e("body").append('<div id="wpas-message" style="display: none"></div>'),e(".wpas-posts").change(function(){var n=e(this).parents("td:first").find(":input"),t=this,o=n.filter("[name=wpas_ajax_blog_id]").val();e("#waiting_"+o).show(),e.post(ajaxurl,n.serialize()+"&action=wpas_post",function(e){myblogsResponse.call(t,o,e)},"html")}),e(".options").unbind("click").bind("click",function(n){n.preventDefault(),n.stopPropagation();var t=e(this).attr("class").replace("options ",""),o=null;void 0!==e(this).attr("id")&&(o=parseInt(e(this).attr("id").replace("options-",""),10));var a=e(this).attr("href").replace("#nonce=",""),i=e(this).data("connection");showOptionsPage.call(this,t,a,i,o)}),publicizeConnTestStart=function(){e(".pub-connection-test").addClass("test-in-progress"),e.post(ajaxurl,{action:"test_publicize_conns"},publicizeConnTestComplete)},publicizeConnRefreshClick=function(e){e.preventDefault();var n=e.currentTarget.href,t=e.currentTarget.title,o=window.open(n,t,""),a=window.setInterval(function(){!1!==o.closed&&(window.clearInterval(a),publicizeConnTestStart())},500)},publicizeConnTestComplete=function(n){e(".pub-connection-test").removeClass("test-in-progress"),e.each(n.data,function(n,t){var o="#pub-connection-test-"+t.connectionID;t.connectionTestPassed?e(o).addClass("test-passed").html("").removeClass("test-failed"):(e(o).addClass("test-failed").html('<p><span class="pub-connection-error">'+t.connectionTestMessage+"</span></p>").removeClass("test-passed"),t.userCanRefresh&&(e(o).append("<br/>"),e("<a/>",{class:"pub-refresh-button button",title:t.refreshText,href:t.refreshURL,text:t.refreshText,target:"_refresh_"+t.serviceName}).appendTo(o).click(publicizeConnRefreshClick)))})},e(document).ready(function(){e(".pub-connection-test").length&&publicizeConnTestStart()})});
|
||||
@@ -0,0 +1,5 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/**
|
||||
* Adds functionality for Related Posts controls in Customizer.
|
||||
*/
|
||||
!function(t){"use strict";t("jetpack_relatedposts[show_headline]",function(e){var n=function(t){var n,i;i=function(){return e.findControls()[0].active.get()&&e.get()},n=function(){t.active.set(i())},t.active.validate=i,n(),e.bind(n)};t.control("jetpack_relatedposts[headline]",n)})}(wp.customize);
|
||||
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/related-posts/related-posts.min.js
vendored
Normal file
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/related-posts/related-posts.min.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false */
|
||||
/* globals related_posts_js_options */
|
||||
!function(t){function e(){s.cleanupTrackedUrl();var e=s.getEndpointURL(),a=t("#jp-relatedposts");t.getJSON(e,function(e){if(0!==e.items.length&&0!==a.length){s.response=e;var o,p,r={};"undefined"!=typeof wp&&wp.customize?(p=wp.customize.instance("jetpack_relatedposts[show_thumbnails]").get(),r.showDate=wp.customize.instance("jetpack_relatedposts[show_date]").get(),r.showContext=wp.customize.instance("jetpack_relatedposts[show_context]").get(),r.layout=wp.customize.instance("jetpack_relatedposts[layout]").get()):(p=e.show_thumbnails,r.showDate=e.show_date,r.showContext=e.show_context,r.layout=e.layout),o=p?s.generateVisualHtml(e.items,r):s.generateMinimalHtml(e.items,r),a.append(o),s.setVisualExcerptHeights(),r.showDate&&a.find(".jp-relatedposts-post-date").show(),a.show(),t("#jp-relatedposts a.jp-relatedposts-post-a").click(function(){this.href=s.getTrackedUrl(this)})}})}var s={response:null,getEndpointURL:function(e){var s,a="undefined"!=typeof wp&&wp.customize&&wp.customize.settings&&wp.customize.settings.url&&wp.customize.settings.url.self;a?(s=document.createElement("a"),s.href=wp.customize.settings.url.self):s=document.location,"string"==typeof e&&e.match(/^https?:\/\//)&&(s=document.createElement("a"),s.href=e);var o="relatedposts=1";t("#jp-relatedposts").data("exclude")&&(o+="&relatedposts_exclude="+t("#jp-relatedposts").data("exclude")),a&&(o+="&jetpackrpcustomize=1");var p=s.pathname;return"/"!==p[0]&&(p="/"+p),""===s.search?p+"?"+o:p+s.search+"&"+o},getAnchor:function(e,s){var a=e.title;""!=""+e.excerpt&&(a+="\n\n"+e.excerpt);var o=t("<a>");o.attr({class:s,href:e.url,title:a,rel:e.rel,"data-origin":e.url_meta.origin,"data-position":e.url_meta.position});var p=t("<div>").append(o).html();return[p.substring(0,p.length-4),"</a>"]},generateMinimalHtml:function(e,s){var a=this,o="";return t.each(e,function(t,e){var p=a.getAnchor(e,"jp-relatedposts-post-a"),r="jp-relatedposts-post jp-relatedposts-post"+t;e.classes.length>0&&(r+=" "+e.classes.join(" ")),o+='<p class="'+r+'" data-post-id="'+e.id+'" data-post-format="'+e.format+'">',o+='<span class="jp-relatedposts-post-title">'+p[0]+e.title+p[1]+"</span>",s.showDate&&(o+='<span class="jp-relatedposts-post-date">'+e.date+"</span>"),s.showContext&&(o+='<span class="jp-relatedposts-post-context">'+e.context+"</span>"),o+="</p>"}),'<div class="jp-relatedposts-items jp-relatedposts-items-minimal jp-relatedposts-'+s.layout+' ">'+o+"</div>"},generateVisualHtml:function(e,s){var a=this,o="";return t.each(e,function(e,p){var r=a.getAnchor(p,"jp-relatedposts-post-a"),i="jp-relatedposts-post jp-relatedposts-post"+e;if(p.classes.length>0&&(i+=" "+p.classes.join(" ")),p.img.src?i+=" jp-relatedposts-post-thumbs":i+=" jp-relatedposts-post-nothumbs",o+='<div class="'+i+'" data-post-id="'+p.id+'" data-post-format="'+p.format+'">',p.img.src)o+=r[0]+'<img class="jp-relatedposts-post-img" src="'+p.img.src+'" width="'+p.img.width+'" alt="'+p.title+'" />'+r[1];else{var n=a.getAnchor(p,"jp-relatedposts-post-a jp-relatedposts-post-aoverlay");o+=n[0]+n[1]}o+="<"+related_posts_js_options.post_heading+' class="jp-relatedposts-post-title">'+r[0]+p.title+r[1]+"</"+related_posts_js_options.post_heading+">",o+='<p class="jp-relatedposts-post-excerpt">'+t("<p>").text(p.excerpt).html()+"</p>",s.showDate&&(o+='<p class="jp-relatedposts-post-date">'+p.date+"</p>"),s.showContext&&(o+='<p class="jp-relatedposts-post-context">'+p.context+"</p>"),o+="</div>"}),'<div class="jp-relatedposts-items jp-relatedposts-items-visual jp-relatedposts-'+s.layout+' ">'+o+"</div>"},setVisualExcerptHeights:function(){var e=t("#jp-relatedposts .jp-relatedposts-post-nothumbs .jp-relatedposts-post-excerpt");if(!(0>=e.length)){var s=parseInt(e.first().css("font-size"),10),a=parseInt(e.first().css("line-height"),10);e.css("max-height",5*a/s+"em")}},getTrackedUrl:function(e){var s="relatedposts_hit=1";s+="&relatedposts_origin="+t(e).data("origin"),s+="&relatedposts_position="+t(e).data("position");var a=e.pathname;return"/"!==a[0]&&(a="/"+a),""===e.search?a+"?"+s:a+e.search+"&"+s},cleanupTrackedUrl:function(){if("function"==typeof history.replaceState){var t=document.location.search.replace(/\brelatedposts_[a-z]+=[0-9]*&?\b/gi,"");"?"===t&&(t=""),document.location.search!==t&&history.replaceState({},document.title,document.location.pathname+t)}}};t(function(){"undefined"!=typeof wp&&wp.customize?(wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){"jetpack_relatedposts"===t.partial.id&&e()}),wp.customize.bind("preview-ready",e)):e()})}(jQuery);
|
||||
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/sharedaddy/admin-sharing.min.js
vendored
Normal file
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/sharedaddy/admin-sharing.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js
vendored
Normal file
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/blocks/vr-block.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/blocks/vr-block.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
"use strict";!function(e,t,l){var n=e.registerBlockType,a=e.UrlInput,r=t.Placeholder,i=t.SelectControl,c=l.__;n("jetpack/vr",{title:c("VR Image","jetpack"),icon:"embed-photo",category:"embed",support:{html:!1},attributes:{url:{type:"string"},view:{type:"string"}},edit:function(e){var t=e.attributes,l=function(t){return e.setAttributes({url:t})},n=function(t){return e.setAttributes({view:t})};return function(){return t.url&&t.view?wp.element.createElement("div",{className:e.className},wp.element.createElement("iframe",{title:c("VR Image","jetpack"),allowFullScreen:"true",frameBorder:"0",width:"100%",height:"300",src:"https://vr.me.sh/view/?view="+encodeURIComponent(t.view)+"&url="+encodeURIComponent(t.url)})):wp.element.createElement("div",null,wp.element.createElement(r,{key:"placeholder",instructions:c("Enter URL to VR image","jetpack"),icon:"format-image",label:c("VR Image","jetpack"),className:e.className},wp.element.createElement(a,{value:t.url,onChange:l}),wp.element.createElement("div",{style:{marginTop:"10px"}},wp.element.createElement(i,{label:c("View Type","jetpack"),value:t.view,onChange:n,options:[{label:"",value:""},{label:c("360","jetpack"),value:"360"},{label:c("Cinema","jetpack"),value:"cinema"}]}))))}()},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement("iframe",{title:c("VR Image","jetpack"),allowFullScreen:"true",frameBorder:"0",width:"100%",height:"300",src:"https://vr.me.sh/view/?view="+encodeURIComponent(e.attributes.view)+"&url="+encodeURIComponent(e.attributes.url)}))}})}(wp.blocks,wp.components,wp.i18n);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/brightcove.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/brightcove.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global brightcove, brightcoveData */
|
||||
!function(e){function t(){clearTimeout(r),"object"==typeof brightcove?(e(document).ready(brightcove.createExperiences),e("body").on("post-load",brightcove.createExperiences),brightcove.createExperiences()):r=setTimeout(t,100)}var c=document.createElement("script"),o="co.jp"===brightcoveData.tld?"co.jp":"com",r=!1;c.src="https://sadmin.brightcove."+o+"/js/BrightcoveExperiences.js",c.type="text/javascript",c.language="JavaScript",document.head.appendChild(c),t()}(jQuery);
|
||||
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/gist.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/gist.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(e,t){var a=!1,n=function(){e(".gist-oembed").each(function(t,n){var o="https://gist.github.com/"+e(n).data("gist");e.ajax({url:o,dataType:"jsonp"}).done(function(t){if(e(n).replaceWith(t.div),!a){var o='<link rel="stylesheet" href="'+t.stylesheet+'" type="text/css" />';e("head").append(o),a=!0}})})};e(document).ready(n),e("body").on("post-load",n)}(jQuery);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/instagram.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/instagram.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global window */
|
||||
!function(){var e=function(){if(void 0!==window.instgrm&&window.instgrm.Embeds&&"function"==typeof window.instgrm.Embeds.process)window.instgrm.Embeds.process();else{var e=document.createElement("script");e.async=!0,e.defer=!0,e.src="//platform.instagram.com/en_US/embeds.js",document.getElementsByTagName("body")[0].appendChild(e)}};"undefined"!=typeof jQuery&&"undefined"!=typeof infiniteScroll&&jQuery(document.body).on("post-load",e),e()}();
|
||||
21
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/jmpress.min.js
vendored
Normal file
21
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/jmpress.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/main.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/main.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(s){function t(t){var i,o,n,l,r;i=this,i.wrapper=s(t),i.slideshow=s(".presentation",t),i.navLeft=s(".nav-arrow-left",t),i.navRight=s(".nav-arrow-right",t),i.expandButton=s(".nav-fullscreen-button",t),i.overlay=s(".autoplay-overlay",t),i.fullscreen=!1,i.autoPlaying=!1,i.autoplayTime=parseFloat(i.slideshow.attr("data-autoplay"),10)||0,i.wrapper.css({width:i.slideshow.width(),height:i.slideshow.height()}),o=i.slideshow.attr("duration")||"1s",e.animation.transitionDuration=o,i.autoplayTime&&(i.autoplayTime+=1e3*parseFloat(o,10)),o="opacity "+o,n={width:i.slideshow.width(),height:i.slideshow.height(),"-webkit-transition":o,"-moz-transition":o,"-ms-transition":o,"-o-transition":o,transition:o},s(".step",i.slideshow).each(function(t,e){s(e).css(n)}),s(".step.fadebullets li",i.slideshow).each(function(t,e){s(e).attr("data-jmpress","fade")}),s(window).resize(function(){i.fullscreen&&i.resizePresentation()}),i.navLeft.on("click",function(){return i.slideshow.jmpress("prev"),i.overlay.css("opacity",0),!1}),i.navRight.on("click",function(){return i.slideshow.jmpress("next"),i.overlay.css("opacity",0),!1}),i.slideshow.on("click",function(){return i.setAutoplay(!0),!1}),i.slideshow.on("focusout",function(){i.setAutoplay(!1)}),l=/MSIE\s(\d+)\.\d+/,r=l.exec(navigator.userAgent),r&&parseInt(r[1],10)<10?(i.expandButton.remove(),i.expandButton=null):i.expandButton.on("click",function(){return i.setFullscreen(!i.fullscreen),!1}),s(window).on("keydown",function(s){27===s.which&&i.setFullscreen(!1)}),i.slideshow.jmpress(e),i.slideshow.jmpress("initialized")&&(i.slideshow.css("display",""),i.overlay.css("display",""),s(".not-supported-msg",i.wrapper).remove()),i.setFullscreen(!1)}var e={fullscreen:!1,hash:{use:!1},mouse:{clickSelects:!1},keyboard:{use:!0},animation:{transitionDuration:"1s"},presentationMode:!1,stepSelector:".step",duration:{defaultValue:0}};s.extend(t.prototype,{resizePresentation:function(){var t,e,i,o,n,l;i=this.slideshow.jmpress("settings"),e=i.animation.transitionDuration,i.animation.transitionDuration="0s",this.slideshow.jmpress("reselect"),t=1,o={top:0,left:0,zoom:1},this.fullscreen&&(n=s(window).width()/this.slideshow.width(),l=s(window).height()/this.slideshow.height(),t=Math.min(n,l),o.top=(s(window).height()-t*this.slideshow.height())/2,o.left=(s(window).width()-t*this.slideshow.width())/2),this.slideshow.css("-moz-transform")||this.slideshow.css("-ms-transform")?(o.top+=(t-1)*this.slideshow.height()/2,o.left+=(t-1)*this.slideshow.width()/2,t="scale("+t+")",s.extend(o,{"-moz-transform":t,"-ms-transform":t,transform:t})):(o.top/=t,o.left/=t,o.zoom=t),this.slideshow.css(o),i.animation.transitionDuration=e,this.slideshow.jmpress("reselect")},setFullscreen:function(t){this.fullscreen=t,this.setAutoplay(!1),t&&(this.scrollVert=s(window).scrollTop(),this.scrollHoriz=s(window).scrollLeft(),s(window).scrollTop(0),s(window).scrollLeft(0)),s("html").toggleClass("presentation-global-fullscreen",t),s("body").toggleClass("presentation-global-fullscreen",t),this.wrapper.toggleClass("presentation-wrapper-fullscreen",t),this.wrapper.parents().each(function(e,i){s(i).toggleClass("presentation-wrapper-fullscreen-parent",t)}),this.resizePresentation(),t||(s(window).scrollTop(this.scrollVert),s(window).scrollLeft(this.scrollHoriz))},setAutoplay:function(s){var t,e=this;e.autoPlaying!==s&&(t=s&&e.autoplayTime>0?e.autoplayTime:0,e.slideshow.jmpress("settings").duration.defaultValue=t,t?(e.slideshow.jmpress("next"),e.overlay.css("opacity",0)):e.slideshow.jmpress("reselect"),e.autoPlaying=s)}}),s(document).ready(function(){s(".presentation-wrapper").map(function(){new t(this)})})}(jQuery);
|
||||
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/quiz.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/quiz.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(a){a.fn.shuffleQuiz=function(){var t=this.get(),n=function(a){return Math.floor(Math.random()*a)},i=a.map(t,function(){var i=n(t.length),r=a(t[i]).clone(!0)[0];return t.splice(i,1),r});return this.each(function(t){a(this).replaceWith(a(i[t]))}),a(i)}}(jQuery),jQuery(function(a){a(".jetpack-quiz").each(function(){var t=a(this);t.find("div.jetpack-quiz-answer").shuffleQuiz(),t.find("div[data-correct]").removeAttr("data-correct").data("correct",1),t.find("div.jetpack-quiz-answer:last").addClass("last")}),a("div.jetpack-quiz").on("click","div.jetpack-quiz-answer",function(){var t,n=a(this),i=n.closest("div.jetpack-quiz");i.data("a8ctraining")&&((new Image).src="//pixel.wp.com/b.gif?v=wpcom-no-pv&x_trainingchaos-"+i.data("username")+"="+i.data("a8ctraining")+"&rand="+Math.random(),i.data("a8ctraining",!1),i.data("trackid",!1)),t=i.data("trackid"),n.data("correct")?(n.addClass("correct"),t&&((new Image).src="//pixel.wp.com/b.gif?v=wpcom-no-pv&x_quiz-"+t+"=correct&rand="+Math.random())):(n.addClass("wrong"),t&&((new Image).src="//pixel.wp.com/b.gif?v=wpcom-no-pv&x_quiz-"+t+"=wrong&rand="+Math.random())),i.data("trackid",!1)})});
|
||||
42
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/recipes-printthis.min.js
vendored
Normal file
42
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/recipes-printthis.min.js
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
// jshint ignore: start
|
||||
/*
|
||||
* printThis v1.9.0
|
||||
* @desc Printing plug-in for jQuery
|
||||
* @author Jason Day
|
||||
*
|
||||
* Resources (based on) :
|
||||
* jPrintArea: http://plugins.jquery.com/project/jPrintArea
|
||||
* jqPrint: https://github.com/permanenttourist/jquery.jqprint
|
||||
* Ben Nadal: http://www.bennadel.com/blog/1591-Ask-Ben-Print-Part-Of-A-Web-Page-With-jQuery.htm
|
||||
*
|
||||
* Licensed under the MIT licence:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
* (c) Jason Day 2015
|
||||
*
|
||||
* Usage:
|
||||
*
|
||||
* $("#mySelector").printThis({
|
||||
* debug: false, * show the iframe for debugging
|
||||
* importCSS: true, * import page CSS
|
||||
* importStyle: false, * import style tags
|
||||
* printContainer: true, * grab outer container as well as the contents of the selector
|
||||
* loadCSS: "path/to/my.css", * path to additional css file - us an array [] for multiple
|
||||
* pageTitle: "", * add title to print page
|
||||
* removeInline: false, * remove all inline styles from print elements
|
||||
* printDelay: 333, * variable print delay
|
||||
* header: null, * prefix to html
|
||||
* footer: null, * postfix to html
|
||||
* base: false, * preserve the BASE tag, or accept a string for the URL
|
||||
* formValues: true * preserve input/form values
|
||||
* canvas: false * copy canvas elements (experimental)
|
||||
* doctypeString: '...' * enter a different doctype for older markup
|
||||
* });
|
||||
*
|
||||
* Notes:
|
||||
* - the loadCSS will load additional css (with or without @media print) into the iframe, adjusting layout
|
||||
*
|
||||
* jshint onevar: false, smarttabs: true, devel: true
|
||||
*/
|
||||
!function(e){var t;e.fn.printThis=function(n){t=e.extend({},e.fn.printThis.defaults,n);var i=this instanceof jQuery?this:e(this),a="printThis-"+(new Date).getTime();if(window.location.hostname!==document.domain&&navigator.userAgent.match(/msie/i)){var o='javascript:document.write("<head><script>document.domain=\\"'+document.domain+'\\";<\/script></head><body></body>")',r=document.createElement("iframe");r.name="printIframe",r.id=a,r.className="MSIE",document.body.appendChild(r),r.src=o}else{e("<iframe id='"+a+"' name='printIframe' />").appendTo("body")}var d=e("#"+a);t.debug||d.css({position:"absolute",width:"0px",height:"0px",left:"-600px",top:"-600px"}),setTimeout(function(){t.doctypeString&&function(e,t){var n,i;n=e.get(0),n=n.contentWindow||n.contentDocument||n,i=n.document||n.contentDocument||n,i.open(),i.write(t),i.close()}(d,t.doctypeString);var n,a=d.contents(),o=a.find("head"),r=a.find("body"),s=e("base");if(n=!0===t.base&&s.length>0?s.attr("href"):"string"==typeof t.base?t.base:document.location.protocol+"//"+document.location.host,o.append('<base href="'+n+'">'),t.importCSS&&e("link[rel=stylesheet]").each(function(){var t=e(this).attr("href");if(t){var n=e(this).attr("media")||"all";o.append("<link type='text/css' rel='stylesheet' href='"+t+"' media='"+n+"'>")}}),t.importStyle&&e("style").each(function(){e(this).clone().appendTo(o)}),t.pageTitle&&o.append("<title>"+t.pageTitle+"</title>"),t.loadCSS&&(e.isArray(t.loadCSS)?jQuery.each(t.loadCSS,function(e,t){o.append("<link type='text/css' rel='stylesheet' href='"+this+"'>")}):o.append("<link type='text/css' rel='stylesheet' href='"+t.loadCSS+"'>")),t.header&&r.append(t.header),t.canvas){var c=0;i.find("canvas").each(function(){e(this).attr("data-printthis",c++)})}if(t.printContainer?r.append(i.outer()):i.each(function(){r.append(e(this).html())}),t.canvas&&r.find("canvas").each(function(){var t=e(this).data("printthis"),n=e('[data-printthis="'+t+'"]');this.getContext("2d").drawImage(n[0],0,0),n.removeData("printthis")}),t.formValues){var p=i.find("input");p.length&&p.each(function(){var t=e(this),n=e(this).attr("name"),i=t.is(":checkbox")||t.is(":radio"),o=a.find('input[name="'+n+'"]'),r=t.val();i?t.is(":checked")&&(t.is(":checkbox")?o.attr("checked","checked"):t.is(":radio")&&a.find('input[name="'+n+'"][value="'+r+'"]').attr("checked","checked")):o.val(r)});var h=i.find("select");h.length&&h.each(function(){var t=e(this),n=e(this).attr("name"),i=t.val();a.find('select[name="'+n+'"]').val(i)});var l=i.find("textarea");l.length&&l.each(function(){var t=e(this),n=e(this).attr("name"),i=t.val();a.find('textarea[name="'+n+'"]').val(i)})}t.removeInline&&(e.isFunction(e.removeAttr)?a.find("body *").removeAttr("style"):a.find("body *").attr("style","")),t.footer&&r.append(t.footer),setTimeout(function(){d.hasClass("MSIE")?(window.frames.printIframe.focus(),o.append("<script> window.print(); <\/script>")):document.queryCommandSupported("print")?d[0].contentWindow.document.execCommand("print",!1,null):(d[0].contentWindow.focus(),d[0].contentWindow.print()),t.debug||setTimeout(function(){d.remove()},1e3)},t.printDelay)},333)},e.fn.printThis.defaults={debug:!1,importCSS:!0,importStyle:!1,printContainer:!0,loadCSS:"",pageTitle:"",removeInline:!1,printDelay:333,header:null,footer:null,formValues:!0,canvas:!1,base:!1,doctypeString:"<!DOCTYPE html>"},jQuery.fn.outer=function(){return e(e("<div></div>").html(this.clone())).html()}}(jQuery);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/recipes.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/shortcodes/js/recipes.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global jetpack_recipes_vars */
|
||||
!function(e){e(window).load(function(){e(".jetpack-recipe-print a").click(function(i){i.preventDefault(),e(this).closest(".jetpack-recipe").printThis({pageTitle:jetpack_recipes_vars.pageTitle,loadCSS:jetpack_recipes_vars.loadCSS})})})}(jQuery);
|
||||
@@ -0,0 +1,4 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar:false, loopfunc:true */
|
||||
/* global jetpackSlideshowSettings, escape */
|
||||
function JetpackSlideshow(e,t,i){this.element=e,this.images=[],this.controls={},this.transition=t||"fade",this.autostart=i}JetpackSlideshow.prototype.showLoadingImage=function(e){if(e){this.loadingImage_=document.createElement("div"),this.loadingImage_.className="slideshow-loading";var t=document.createElement("img");t.src=jetpackSlideshowSettings.spinner,this.loadingImage_.appendChild(t),this.loadingImage_.appendChild(this.makeZeroWidthSpan()),this.element.append(this.loadingImage_)}else this.loadingImage_&&(this.loadingImage_.parentNode.removeChild(this.loadingImage_),this.loadingImage_=null)},JetpackSlideshow.prototype.init=function(){this.showLoadingImage(!0);for(var e=this,t=0;t<this.images.length;t++){var i=this.images[t],s=document.createElement("img");s.src=i.src,s.title=void 0!==i.title?i.title:"",s.alt=void 0!==i.alt?i.alt:"",s.align="middle",s.setAttribute("itemprop","image"),s.nopin="nopin";var o=document.createElement("div");o.className="slideshow-slide-caption",o.setAttribute("itemprop","caption description"),o.innerHTML=i.caption;var n=document.createElement("div");n.className="slideshow-slide",n.setAttribute("itemprop","associatedMedia"),n.setAttribute("itemscope",""),n.setAttribute("itemtype","https://schema.org/ImageObject"),0===t&&(s.complete?setTimeout(function(){e.finishInit_()},1):jQuery(s).load(function(){e.finishInit_()})),n.appendChild(s),s.removeAttribute("width"),s.removeAttribute("height"),n.appendChild(this.makeZeroWidthSpan()),n.appendChild(o),this.element.append(n)}},JetpackSlideshow.prototype.makeZeroWidthSpan=function(){var e=document.createElement("span");return e.className="slideshow-line-height-hack",-1!==window.navigator.userAgent.indexOf("MSIE ")?e.appendChild(document.createTextNode(" ")):e.innerHTML=" ",e},JetpackSlideshow.prototype.finishInit_=function(){this.showLoadingImage(!1),this.renderControls_();var e=this;if(this.images.length>1){this.element.cycle({fx:this.transition,prev:this.controls.prev,next:this.controls.next,timeout:jetpackSlideshowSettings.speed,slideExpr:".slideshow-slide",onPrevNextEvent:function(){return e.onCyclePrevNextClick_.apply(e,arguments)}});var t=this.element;this.autostart||(t.cycle("pause"),jQuery(this.controls.stop).removeClass("running"),jQuery(this.controls.stop).addClass("paused")),jQuery(this.controls.stop).click(function(){var e=jQuery(this);return e.hasClass("paused")?(e.addClass("running"),e.removeClass("paused"),t.cycle("resume",!0)):(t.cycle("pause"),e.removeClass("running"),e.addClass("paused")),!1})}else this.element.children(":first").show(),this.element.css("position","relative");this.initialized_=!0},JetpackSlideshow.prototype.renderControls_=function(){if(!this.controlsDiv_){var e=document.createElement("div");e.className="slideshow-controls";for(var t=["prev","stop","next"],i=0;i<t.length;i++){var s=t[i],o=document.createElement("a");o.href="#",e.appendChild(o),this.controls[s]=o}this.element.append(e),this.controlsDiv_=e}},JetpackSlideshow.prototype.onCyclePrevNextClick_=function(e,t){if(jetpackSlideshowSettings.blog_id){var i=this.images[t].id;(new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?host="+escape(document.location.host)+"&rand="+Math.random()+"&blog="+jetpackSlideshowSettings.blog_id+"&subd="+jetpackSlideshowSettings.blog_subdomain+"&user_id="+jetpackSlideshowSettings.user_id+"&post="+i+"&ref="+escape(document.location)}},function(e){function t(){e(".jetpack-slideshow-noscript").remove(),e(".jetpack-slideshow").each(function(){var t=e(this);if(!t.data("processed")){var i=new JetpackSlideshow(t,t.data("trans"),t.data("autostart"));i.images=t.data("gallery"),i.init(),t.data("processed",!0)}})}e(document).ready(t),e("body").on("post-load",t)}(jQuery);
|
||||
7
backend/wordpress/wp-content/plugins/jetpack/_inc/build/spin.min.js
vendored
Normal file
7
backend/wordpress/wp-content/plugins/jetpack/_inc/build/spin.min.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
//fgnass.github.com/spin.js#v1.3
|
||||
/**
|
||||
* Copyright (c) 2011-2013 Felix Gnass
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
!function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Spinner=e()}(this,function(){"use strict";function t(t,e){var i,o=document.createElement(t||"div");for(i in e)o[i]=e[i];return o}function e(t){for(var e=1,i=arguments.length;e<i;e++)t.appendChild(arguments[e]);return t}function i(t,e,i,o){var r=["opacity",e,~~(100*t),i,o].join("-"),n=.01+i/o*100,s=Math.max(1-(1-t)/e*(100-n),t),a=l.substring(0,l.indexOf("Animation")).toLowerCase(),f=a&&"-"+a+"-"||"";return p[r]||(c.insertRule("@"+f+"keyframes "+r+"{0%{opacity:"+s+"}"+n+"%{opacity:"+t+"}"+(n+.01)+"%{opacity:1}"+(n+e)%100+"%{opacity:"+t+"}100%{opacity:"+s+"}}",c.cssRules.length),p[r]=1),r}function o(t,e){var i,o,r=t.style;if(void 0!==r[e])return e;for(e=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<f.length;o++)if(i=f[o]+e,void 0!==r[i])return i}function r(t,e){for(var i in e)t.style[o(t,i)||i]=e[i];return t}function n(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)void 0===t[o]&&(t[o]=i[o])}return t}function s(t){for(var e={x:t.offsetLeft,y:t.offsetTop};t=t.offsetParent;)e.x+=t.offsetLeft,e.y+=t.offsetTop;return e}function a(t){if(void 0===this)return new a(t);this.opts=n(t||{},a.defaults,d)}var l,f=["webkit","Moz","ms","O"],p={},c=function(){var i=t("style",{type:"text/css"});return e(document.getElementsByTagName("head")[0],i),i.sheet||i.styleSheet}(),d={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"auto",left:"auto",position:"relative"};a.defaults={},n(a.prototype,{spin:function(e){this.stop();var i,o,n=this,a=n.opts,f=n.el=r(t(0,{className:a.className}),{position:a.position,width:0,zIndex:a.zIndex}),p=a.radius+a.length+a.width;if(e&&(e.insertBefore(f,e.firstChild||null),o=s(e),i=s(f),r(f,{left:("auto"==a.left?o.x-i.x+(e.offsetWidth>>1):parseInt(a.left,10)+p)+"px",top:("auto"==a.top?o.y-i.y+(e.offsetHeight>>1):parseInt(a.top,10)+p)+"px"})),f.setAttribute("role","progressbar"),n.lines(f,n.opts),!l){var c,d=0,u=(a.lines-1)*(1-a.direction)/2,h=a.fps,y=h/a.speed,m=(1-a.opacity)/(y*a.trail/100),v=y/a.lines;!function t(){d++;for(var e=0;e<a.lines;e++)c=Math.max(1-(d+(a.lines-e)*v)%y*m,a.opacity),n.opacity(f,e*a.direction+u,c,a);n.timeout=n.el&&setTimeout(t,~~(1e3/h))}()}return n},stop:function(){var t=this.el;return t&&(clearTimeout(this.timeout),t.parentNode&&t.parentNode.removeChild(t),this.el=void 0),this},lines:function(o,n){function s(e,i){return r(t(),{position:"absolute",width:n.length+n.width+"px",height:n.width+"px",background:e,boxShadow:i,transformOrigin:"left",transform:"rotate("+~~(360/n.lines*f+n.rotate)+"deg) translate("+n.radius+"px,0)",borderRadius:(n.corners*n.width>>1)+"px"})}for(var a,f=0,p=(n.lines-1)*(1-n.direction)/2;f<n.lines;f++)a=r(t(),{position:"absolute",top:1+~(n.width/2)+"px",transform:n.hwaccel?"translate3d(0,0,0)":"",opacity:n.opacity,animation:l&&i(n.opacity,n.trail,p+f*n.direction,n.lines)+" "+1/n.speed+"s linear infinite"}),n.shadow&&e(a,r(s("#000","0 0 4px #000"),{top:"2px"})),e(o,e(a,s(n.color,"0 0 1px rgba(0,0,0,.1)")));return o},opacity:function(t,e,i){e<t.childNodes.length&&(t.childNodes[e].style.opacity=i)}});var u=r(t("group"),{behavior:"url(#default#VML)"});return!o(u,"transform")&&u.adj?function(){function i(e,i){return t("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',i)}c.addRule(".spin-vml","behavior:url(#default#VML)"),a.prototype.lines=function(t,o){function n(){return r(i("group",{coordsize:f+" "+f,coordorigin:-l+" "+-l}),{width:f,height:f})}function s(t,s,a){e(c,e(r(n(),{rotation:360/o.lines*t+"deg",left:~~s}),e(r(i("roundrect",{arcsize:o.corners}),{width:l,height:o.width,left:o.radius,top:-o.width>>1,filter:a}),i("fill",{color:o.color,opacity:o.opacity}),i("stroke",{opacity:0}))))}var a,l=o.length+o.width,f=2*l,p=2*-(o.width+o.length)+"px",c=r(n(),{position:"absolute",top:p,left:p});if(o.shadow)for(a=1;a<=o.lines;a++)s(a,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(a=1;a<=o.lines;a++)s(a);return e(t,c)},a.prototype.opacity=function(t,e,i,o){var r=t.firstChild;o=o.shadow&&o.lines||0,r&&e+o<r.childNodes.length&&(r=r.childNodes[e+o],r=r&&r.firstChild,(r=r&&r.firstChild)&&(r.opacity=i))}}():l=o(u,"animation"),a});
|
||||
@@ -0,0 +1,7 @@
|
||||
<div id="ie-legacy-notice" style="display:none;"><div class="dops-notice is-warning"><span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"></path></g></svg></span><span class="dops-notice__content"><span class="dops-notice__text"><div>#HEADER_TEXT#<br/>#TEXT#</div></span></span></div></div><script type="text/javascript">
|
||||
/*@cc_on
|
||||
if ( @_jscript_version <= 10) {
|
||||
jQuery( '#ie-legacy-notice' ).show();
|
||||
}
|
||||
@*/
|
||||
</script>
|
||||
@@ -0,0 +1 @@
|
||||
<noscript><div class="dops-notice is-warning"><span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"></path></g></svg></span><span class="dops-notice__content"><span class="dops-notice__text"><div>#HEADER_TEXT#<br/>#TEXT#</div></span></span></div></noscript>
|
||||
@@ -0,0 +1 @@
|
||||
<div class="dops-notice is-warning"><span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"></path></g></svg></span><span class="dops-notice__content"><span class="dops-notice__text"><div>#HEADER_TEXT#<br/>#TEXT#</div></span></span></div>
|
||||
File diff suppressed because one or more lines are too long
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/style.min.css
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar:false, smarttabs:true */
|
||||
!function(e){function i(){this.galleries=[],this.findAndSetupNewGalleries()}function t(e){this.gallery=e,this.addCaptionEvents(),this.resize(),this.gallery.removeClass("tiled-gallery-unresized")}function n(i){function t(){i.resizeAll(),n&&o(t)}var n=!1,r=null;e(window).resize(function(){clearTimeout(r),n||o(t),n=!0,r=setTimeout(function(){n=!1},15)})}function r(i){e(window).resize(function(){i.resizeAll()})}i.prototype.findAndSetupNewGalleries=function(){var i=this;e(".tiled-gallery.tiled-gallery-unresized").each(function(){i.galleries.push(new t(e(this)))})},i.prototype.resizeAll=function(){e.each(this.galleries,function(e,i){i.resize()})},t.prototype.resizeableElementsSelector=".gallery-row, .gallery-group, .tiled-gallery-item img",t.prototype.addCaptionEvents=function(){this.gallery.find(".tiled-gallery-caption").hide(),this.gallery.find(".tiled-gallery-item").hover(function(){e(this).find(".tiled-gallery-caption").stop(!0,!0).slideDown("fast")},function(){e(this).find(".tiled-gallery-caption").stop(!0,!0).slideUp("fast")})},t.prototype.getExtraDimension=function(e,i,t){if("horizontal"===t){var n="border"===i?"borderLeftWidth":i+"Left",r="border"===i?"borderRightWidth":i+"Right";return(parseInt(e.css(n),10)||0)+(parseInt(e.css(r),10)||0)}if("vertical"===t){var o="border"===i?"borderTopWidth":i+"Top",a="border"===i?"borderBottomWidth":i+"Bottom";return(parseInt(e.css(o),10)||0)+(parseInt(e.css(a),10)||0)}return 0},t.prototype.resize=function(){var i=this.gallery.data("original-width"),t=this.gallery.parent().width(),n=Math.min(1,t/i),r=this;this.gallery.find(this.resizeableElementsSelector).each(function(){var i=e(this),t=r.getExtraDimension(i,"margin","horizontal"),o=r.getExtraDimension(i,"margin","vertical"),a=r.getExtraDimension(i,"padding","horizontal"),l=r.getExtraDimension(i,"padding","vertical"),s=r.getExtraDimension(i,"border","horizontal"),d=r.getExtraDimension(i,"border","vertical"),c=i.data("original-width")+a+s+t,h=i.data("original-height")+l+d+o;i.width(Math.floor(n*c)-t).height(Math.floor(n*h)-o)})};var o=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame;e(document).ready(function(){var t=new i;e("body").on("post-load",function(e,i){"string"==typeof i&&"resize"===i?t.resizeAll():t.findAndSetupNewGalleries()}),e(document).on("page-rendered.wpcom-newdash",function(){t.findAndSetupNewGalleries()}),window.chrome&&o?n(t):r(t),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(e){wp.isJetpackWidgetPlaced(e,"gallery")&&t.findAndSetupNewGalleries()})})}(jQuery);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/twitter-timeline.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/twitter-timeline.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint ignore:start */
|
||||
!function(t,e,r){var n,s=t.getElementsByTagName(e)[0],i=/^http:/.test(t.location)?"http":"https";t.getElementById(r)||(n=t.createElement(e),n.id=r,n.src=i+"://platform.twitter.com/widgets.js",s.parentNode.insertBefore(n,s))}(document,"script","twitter-wjs");
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/videopress/js/editor-view.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/videopress/js/editor-view.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global tinyMCE, vpEditorView */
|
||||
!function(e,t,a){t.mce=t.mce||{},void 0!==t.mce.views&&(t.mce.videopress_wp_view_renderer={shortcode_string:"videopress",shortcode_data:{},defaults:{w:"",at:"",permalink:!0,hd:!1,loop:!1,freedom:!1,autoplay:!1,flashonly:!1},coerce:t.media.coerce,template:t.template("videopress_iframe_vnext"),getContent:function(){var e,t,o,s="for="+encodeURIComponent(a.home_url_host),l=this.shortcode.attrs.named;for(t in l)switch(t){case"at":parseInt(l[t],10)&&(s+="&"+t+"="+parseInt(l[t],10));break;case"permalink":"false"===l[t]&&(s+="&"+t+"=0");break;case"hd":case"loop":case"autoplay":"true"===l[t]&&(s+="&"+t+"=1")}return e={width:a.content_width,height:.5625*a.content_width,guid:this.shortcode.attrs.numeric[0],urlargs:s},void 0!==l.w&&(o=parseInt(l.w,10))>=a.min_content_width&&o<a.content_width&&(e.width=o,e.height=parseInt(.5625*o,10)),e.ratio=e.height/e.width*100,this.template(e)},edit:function(o){var s=t.shortcode.next(this.shortcode_string,o),l=s.shortcode.attrs.named,i=tinyMCE.activeEditor,n=this,d=tinyMCE.ui.FormItem.prototype.renderHtml;tinyMCE.ui.TextBox.prototype.renderHtml=function(){var e,t,a=this,o=a.settings,s=document.createElement(o.multiline?"textarea":"input"),l=["rows","spellcheck","maxLength","size","readonly","min","max","step","list","pattern","placeholder","required","multiple"];for(e=0;e<l.length;e++)t=l[e],void 0!==o[t]&&s.setAttribute(t,o[t]);return o.multiline?s.innerText=a.state.get("value"):(s.setAttribute("type",o.subtype?o.subtype:"text"),s.setAttribute("value",a.state.get("value"))),s.id=a._id,s.className=a.classes,s.setAttribute("hidefocus",1),a.disabled()&&(s.disabled=!0),s.outerHTML},tinyMCE.ui.FormItem.prototype.renderHtml=function(){return _.each(a.modal_labels,function(e,t){e===this.settings.items.text&&this.classes.add("videopress-field-"+t)},this),_.contains([a.modal_labels.hd,a.modal_labels.permalink,a.modal_labels.autoplay,a.modal_labels.loop,a.modal_labels.freedom,a.modal_labels.flashonly],this.settings.items.text)&&this.classes.add("videopress-checkbox"),d.call(this)},_.each(this.defaults,function(e,t){l[t]=this.coerce(l,t)},this),i.windowManager.open({title:a.modal_labels.title,id:"videopress-shortcode-settings-modal",width:520,height:240,body:[{type:"textbox",disabled:!0,name:"guid",label:a.modal_labels.guid,value:s.shortcode.attrs.numeric[0]},{type:"textbox",subtype:"number",min:a.min_content_width,name:"w",label:a.modal_labels.w,value:l.w},{type:"textbox",subtype:"number",min:0,name:"at",label:a.modal_labels.at,value:l.at},{type:"checkbox",name:"hd",label:a.modal_labels.hd,checked:l.hd},{type:"checkbox",name:"permalink",label:a.modal_labels.permalink,checked:l.permalink},{type:"checkbox",name:"autoplay",label:a.modal_labels.autoplay,checked:l.autoplay},{type:"checkbox",name:"loop",label:a.modal_labels.loop,checked:l.loop},{type:"checkbox",name:"freedom",label:a.modal_labels.freedom,checked:l.freedom},{type:"checkbox",name:"flashonly",label:a.modal_labels.flashonly,checked:l.flashonly}],onsubmit:function(e){var a={tag:n.shortcode_string,type:"single",attrs:{named:_.pick(e.data,_.keys(n.defaults)),numeric:[e.data.guid]}};"0"===a.attrs.named.at&&(a.attrs.named.at=""),_.each(n.defaults,function(e,t){a.attrs.named[t]=this.coerce(a.attrs.named,t),e===a.attrs.named[t]&&delete a.attrs.named[t]},n),i.insertContent(t.shortcode.string(a))},onopen:function(t){var o="mce-videopress-field-";_.each(["w","at"],function(e){t.target.$el.find("."+o+e+" .mce-container-body").append('<span class="'+o+"unit "+o+"unit-"+e+'">'+a.modal_labels[e+"_unit"])}),e("body").addClass("modal-open")},onclose:function(){e("body").removeClass("modal-open")}}),tinyMCE.ui.FormItem.prototype.renderHtml=d}},t.mce.views.register("videopress",t.mce.videopress_wp_view_renderer),t.mce.wpvideo_wp_view_renderer=_.extend({},t.mce.videopress_wp_view_renderer,{shortcode_string:"wpvideo"}),t.mce.views.register("wpvideo",t.mce.wpvideo_wp_view_renderer))}(jQuery,wp,vpEditorView);
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
window.wp=window.wp||{},function(e){e.mediaWidgets&&(e.mediaWidgets.controlConstructors.media_video.prototype.mapMediaToModelProps=function(e){return function(o){var t,i,d;return i=e.call(this,o),t=_.extend({},i),o.videopress&&o.videopress.guid&&(d=o.videopress.guid),!d&&o.videopress_guid&&o.videopress_guid.length&&(d=o.videopress_guid[0]),d&&(t=_.extend({},i,{url:"https://videopress.com/v/"+d,attachment_id:0})),t}}(e.mediaWidgets.controlConstructors.media_video.prototype.mapMediaToModelProps),e.mediaWidgets.controlConstructors.media_video.prototype.isHostedVideo=function(e){return function(o){var t=document.createElement("a");return t.href=o,"videopress.com"===t.hostname||e.call(this,o)}}(e.mediaWidgets.controlConstructors.media_video.prototype.isHostedVideo))}(window.wp);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* globals plupload, pluploadL10n, error */
|
||||
window.wp=window.wp||{},function(e){var i={originalOptions:{},handleStandardResponse:function(e,i){return!_.isObject(e)||_.isUndefined(e.success)?error(pluploadL10n.default_error,null,i):e.success?e:error(e.data&&e.data.message,e.data,i)},handleRestApiResponse:function(e,i){if(1!==e.media.length)return error(pluploadL10n.default_error,null,i);var t=e.media[0],a=t.mime_type.split("/"),o={alt:"",author:t.author_ID||0,authorName:"",caption:"",compat:{item:"",meta:""},date:t.date||"",dateFormatted:t.date||"",description:t.description||"",editLink:"",filename:t.file||"",filesizeHumanReadable:"",filesizeInBytes:"",height:t.height,icon:t.icon||"",id:t.ID||"",link:t.URL||"",menuOrder:0,meta:!1,mime:t.mime_type||"",modified:0,name:"",nonces:{update:"",delete:"",edit:""},orientation:"",sizes:void 0,status:"",subtype:a[1]||"",title:t.title||"",type:a[0]||"",uploadedTo:1,uploadedToLink:"",uploadedToTitle:"",url:t.URL||"",width:t.width,success:"",videopress:{guid:t.videopress_guid||null,processing_done:t.videopress_processing_done||!1}};return e.data=o,e},resetToOriginalOptions:function(e){void 0!==i.originalOptions.url&&(e.setOption("url",i.originalOptions.url),delete i.originalOptions.url),void 0!==i.originalOptions.multipart_params&&(e.setOption("multipart_params",i.originalOptions.multipart_params),delete i.originalOptions.multipart_params),void 0!==i.originalOptions.file_data_name&&(e.setOption("file_data_name",i.originalOptions.file_data_name),delete i.originalOptions.file_data_name)}};if(void 0!==e.Uploader){var t=e.media;plupload.VIDEOPRESS_TOKEN_FAILURE="VP_TOKEN_FAILURE",plupload.addFileFilter("videopress_check_uploads",function(e,i,a){var o=this;"video"===i.type.split("/")[0]?t.ajax("videopress-get-upload-token",{async:!1,data:{filename:i.name}}).done(function(e){i.videopress=e,a(!0)}).fail(function(e){o.trigger("Error",{code:plupload.VIDEOPRESS_TOKEN_FAILURE,message:plupload.translate("Could not get the VideoPress token needed for uploading"),file:i,response:e}),a(!1)}):void 0!==i.size&&e&&i.size>e?(this.trigger("Error",{code:plupload.FILE_SIZE_ERROR,message:plupload.translate("File size error."),file:i}),a(!1)):a(!0)})}e.VideoPress=i}(window.wp);
|
||||
@@ -0,0 +1,7 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true */
|
||||
/* global isRtl */
|
||||
/* global widget_conditions_parent_pages */
|
||||
/* global widget_conditions_data */
|
||||
/* global jQuery */
|
||||
jQuery(function(i){function t(t){var n,e;if(i("body").hasClass("wp-customizer"))return void t.find(".widget-inside").css("top",0);t.hasClass("expanded")?(t.attr("style")&&t.data("original-style",t.attr("style")),(n=t.width())<400&&(e=400-n,isRtl?t.css("position","relative").css("right","-"+e+"px").css("width","400px"):t.css("position","relative").css("left","-"+e+"px").css("width","400px"))):t.data("original-style")?t.attr("style",t.data("original-style")).data("original-style",null):t.removeAttr("style")}function n(i){var t=i.find("a.display-options").first();t.insertBefore(i.find("input.widget-control-save")),t.parent().removeClass("widget-control-noform").find(".spinner").remove().css("float","left").prependTo(t.parent())}function e(t){var n,e,o,d,a,c,l,r,h,p,u,g,f=t.find(".conditions-rule-minor").html(""),v=t.data("rule-major");if(!v||"post_type"===v)return void f.attr("disabled","disabled");for(n=t.data("rule-minor"),e=t.data("rule-has-children"),o=widget_conditions_data[v],d=0,r=o.length;d<r;d++)if(c=o[d][0],"object"==typeof(l=o[d][1])){for(g=i("<optgroup/>").attr("label",c),a=0,h=l.length;a<h;a++)p=o[d][1][a][0],u=o[d][1][a][1],g.append(i("<option/>").val(p).text(s(u.replace(/ /g," "))));f.append(g)}else f.append(i("<option/>").val(c).text(s(l.replace(/ /g," "))));f.removeAttr("disabled"),f.val(n),"page"===v&&n in widget_conditions_parent_pages?(f.siblings("span.conditions-rule-has-children").show(),e&&f.siblings("span.conditions-rule-has-children").find('input[type="checkbox"]').attr("checked","checked")):f.siblings("span.conditions-rule-has-children").hide().find('input[type="checkbox"]').removeAttr("checked")}function o(t){var n=0;t.find("span.conditions-rule-has-children").find('input[type="checkbox"]').each(function(){i(this).attr("name","conditions[page_children]["+n+"]"),n++})}function s(i){var t=document.createElement("textarea");return t.innerHTML=i,t.value}var d=i("div#widgets-right");d.length&&i(d).find(".widget-control-actions").length||(d=i("form#customize-controls")),i(".widget").each(function(){n(i(this))}),i(document).on("widget-added",function(i,t){0===t.find("div.widget-control-actions a.display-options").length&&n(t)}),d.on("click.widgetconditions","a.add-condition",function(t){var n=i(this).closest("div.condition"),e=n.clone().data("rule-major","").data("rule-minor","").data("has-children","").insertAfter(n);t.preventDefault(),e.find("select.conditions-rule-major").val(""),e.find("select.conditions-rule-minor").html("").attr("disabled"),e.find("span.conditions-rule-has-children").hide().find('input[type="checkbox"]').removeAttr("checked"),o(e.closest(".conditions"))}),d.on("click.widgetconditions","a.display-options",function(n){var o=i(this),s=o.closest("div.widget");n.preventDefault(),s.find("div.widget-conditional").toggleClass("widget-conditional-hide"),i(this).toggleClass("active"),s.toggleClass("expanded"),t(s),i(this).hasClass("active")?(s.find("input[name=widget-conditions-visible]").val("1"),s.find(".condition").each(function(){e(i(this))})):s.find("input[name=widget-conditions-visible]").val("0")}),d.on("click.widgetconditions","a.delete-condition",function(t){var n=i(this).closest("div.condition");t.preventDefault(),n.is(":first-child")&&n.is(":last-child")?(i(this).closest("div.widget").find("a.display-options").click(),n.find("select.conditions-rule-major").val("").change()):(n.find("select.conditions-rule-major").change(),n.detach()),o(n.closest(".conditions"))}),d.on("click.widgetconditions","div.widget-top",function(){var n=i(this).closest("div.widget"),e=n.find("a.display-options");e.hasClass("active")&&e.attr("opened","true"),e.attr("opened")&&(e.removeAttr("opened"),n.toggleClass("expanded"),t(n))}),d.on("change.widgetconditions","input.conditions-match-all",function(){i(this).parents(".widget-conditional").toggleClass("conjunction").toggleClass("intersection")}),i(document).on("change.widgetconditions","select.conditions-rule-major",function(){var t=i(this),n=t.siblings("select.conditions-rule-minor:first"),o=t.siblings("span.conditions-rule-has-children"),s=n.closest(".condition");s.data("rule-minor","").data("rule-major",t.val()),t.val()?e(s):(t.siblings("select.conditions-rule-minor").attr("disabled","disabled").html(""),o.hide().find('input[type="checkbox"]').removeAttr("checked"))}),i(document).on("change.widgetconditions","select.conditions-rule-minor",function(){var t=i(this),n=t.siblings("select.conditions-rule-major"),e=t.siblings("span.conditions-rule-has-children");t.closest(".condition").data("rule-minor",t.val()),"page"===n.val()&&t.val()in widget_conditions_parent_pages?e.show():e.hide().find('input[type="checkbox"]').removeAttr("checked")}),i(document).on("widget-updated widget-synced",function(t,n){n.find(".condition").each(function(){e(i(this))})})});
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(n){n(document).on("change",".jp-contact-info-showmap",function(){var o=n(this),c=o.is(":checked");o.closest(".widget").find(".jp-contact-info-apikey").toggle(c)})}(window.jQuery);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/customizer-utils.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/customizer-utils.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global wp, gapi, FB, twttr */
|
||||
wp.customizerHasPartialWidgetRefresh=function(){return"object"==typeof wp&&"function"==typeof wp.customize&&"object"==typeof wp.customize.selectiveRefresh&&"object"==typeof wp.customize.widgetsPreview&&"function"==typeof wp.customize.widgetsPreview.WidgetPartial},wp.isJetpackWidgetPlaced=function(e,t){return e.partial.widgetId&&0===e.partial.widgetId.indexOf(t)},function(e){e(document).ready(function(){wp&&wp.customize&&wp.customizerHasPartialWidgetRefresh()&&(wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){t.container&&(wp.isJetpackWidgetPlaced(t,"googleplus-badge")&&"object"==typeof gapi&&gapi.person&&"function"==typeof gapi.person.go?gapi.person.go(t.container[0]):wp.isJetpackWidgetPlaced(t,"facebook-likebox")&&"object"==typeof FB&&"object"==typeof FB.XFBML&&"function"==typeof FB.XFBML.parse?FB.XFBML.parse(t.container[0],function(){var i=e(t.container[0]).find(".fb_iframe_widget"),o=i.data("width"),a=i.data("height");i.find("span").css({width:o,height:a}),setTimeout(function(){i.find("iframe").css({width:o,height:a,position:"relative"})},1)}):wp.isJetpackWidgetPlaced(t,"twitter_timeline")&&"object"==typeof twttr&&"object"==typeof twttr.widgets&&"function"==typeof twttr.widgets.load?twttr.widgets.load(t.container[0]):wp.isJetpackWidgetPlaced(t,"eu_cookie_law_widget")&&(e("#eu-cookie-law").hasClass("top")?e(".widget_eu_cookie_law_widget").addClass("top"):e(".widget_eu_cookie_law_widget").removeClass("top"),t.container.fadeIn()))}),wp.customize.selectiveRefresh.bind("partial-content-moved",function(e){e.container&&wp.isJetpackWidgetPlaced(e,"twitter_timeline")&&e.container.find("iframe.twitter-timeline:not([src]):first").length&&e.partial.refresh()}))})}(jQuery);
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(i){var e=i(document);e.on("ready",function(){var o=function(e,o){var c=i(o||this).closest(".eu-cookie-law-widget-policy-url");c.find('input[type="radio"][value="default"]').is(":checked")?(c.find(".notice.default-policy").css("display","block"),c.find(".notice.custom-policy").hide()):(c.find(".notice.default-policy").hide(),c.find(".notice.custom-policy").css("display","block"))};e.on("click",'.eu-cookie-law-widget-policy-url input[type="radio"]',o),e.on("widget-updated widget-added",function(e,c){var d=i(c).attr("id");-1!==d.indexOf("eu_cookie_law_widget")&&o(0,i("#"+d+" .eu-cookie-law-widget-policy-url"))}),i(".eu-cookie-law-widget-policy-url").each(o)})}(jQuery);
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(e){function o(o){if(!d){d=!0,o&&o.preventDefault&&o.preventDefault(),t.hasClass("hide-on-scroll")&&e(window).off("scroll",a);var s=new Date;s.setTime(s.getTime()+24*t.data("consent-expiration")*60*60*1e3),document.cookie="eucookielaw="+s.getTime()+";path=/;expires="+s.toGMTString(),t.hasClass("ads-active")&&t.hasClass("hide-on-button")&&(document.cookie="personalized-ads-consent="+s.getTime()+";path=/;expires="+s.toGMTString()),t.fadeOut(400,function(){t.remove()})}}var s,a,i=document.cookie.replace(/(?:(?:^|.*;\s*)eucookielaw\s*\=\s*([^;]*).*$)|^.*$/,"$1"),t=e("#eu-cookie-law");if(t.hasClass("top")&&e(".widget_eu_cookie_law_widget").addClass("top"),t.hasClass("ads-active")){var n=document.cookie.replace(/(?:(?:^|.*;\s*)personalized-ads-consent\s*\=\s*([^;]*).*$)|^.*$/,"$1");""!==i&&""!==n&&t.remove()}else""!==i&&t.remove();e(".widget_eu_cookie_law_widget").appendTo("body").fadeIn(),t.find("form").on("submit",o),t.hasClass("hide-on-scroll")?(s=e(window).scrollTop(),a=function(){Math.abs(e(window).scrollTop()-s)>50&&o()},e(window).on("scroll",a)):t.hasClass("hide-on-time")&&setTimeout(o,1e3*t.data("hide-timeout"));var d=!1}(jQuery);
|
||||
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/gallery/js/admin.min.js
vendored
Normal file
4
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/gallery/js/admin.min.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, multistr: true */
|
||||
/* global _wpMediaViewsL10n, _wpGalleryWidgetAdminSettings */
|
||||
!function(e){function t(){e(".widget-inside .gallery-widget-style").each(function(){var t=e(this).val(),i=e(this).parents("form");switch(t){case"slideshow":i.find(".gallery-widget-link-wrapper").hide(),i.find(".gallery-widget-columns-wrapper").hide();break;default:i.find(".gallery-widget-link-wrapper").show(),i.find(".gallery-widget-columns-wrapper").show()}})}function i(e,t){t.empty();var i=_wpGalleryWidgetAdminSettings.thumbSize;e.each(function(e){var l=e.get("url")+"?w="+i+"&h="+i+"&crop=true",n=jQuery("<img>",{src:l,alt:e.get("title"),title:e.get("title"),width:i,height:i,class:"thumb"});t.append(n)})}function l(e){if(!e)return null;var t=wp.shortcode.next("gallery",'[gallery ids="'+e+'"]');return t=t.shortcode,wp.media.gallery.attachments(t)}function n(e){var t=new wp.media.model.Selection(e.models,{props:e.props.toJSON(),multiple:!0});return t.gallery=e.gallery,t.more().done(function(){t.props.set({query:!1}),t.unmirror(),t.props.unset("orderby")}),t}function r(e){var t=new wp.media.view.MediaFrame.GalleryWidget(e);return t.on("update",function(e){var l=t.state();if(e=e||l.get("selection")){var n=e.map(function(e){return e.get("id")}),r=n.join(",");a.val(r).trigger("change"),i(e,o)}},this),t.setState(t.options.state),t}var a,o;e(function(){e(document.body).on("click",".gallery-widget-choose-images",function(t){t.preventDefault();var i=e(this).closest("form, .form");a=i.find(".gallery-widget-ids"),o=i.find(".gallery-widget-thumbs");var d=a.val(),s=l(d),g=null,c=!1;s&&(g=n(s),c=!0),r({state:"gallery-edit",title:wp.media.view.l10n.addMedia,multiple:!0,editing:c,selection:g}).open()}),e(".widget-inside").on("change",".gallery-widget-style",t),t()});var d,s=wp.media;d=s.view.l10n="undefined"==typeof _wpMediaViewsL10n?{}:_wpMediaViewsL10n,s.view.MediaFrame.GalleryWidget=s.view.MediaFrame.Post.extend({createStates:function(){var e=this.options;"CollectionEdit"in s.controller?this.states.add([new s.controller.CollectionEdit({type:"image",collectionType:"gallery",title:d.editGalleryTitle,SettingsView:s.view.Settings.Gallery,library:e.selection,editing:e.editing,menu:"gallery"}),new s.controller.CollectionAdd({type:"image",collectionType:"gallery",title:d.addToGalleryTitle})]):("WidgetGalleryEdit"in s.controller||(s.controller.WidgetGalleryEdit=s.controller.GalleryEdit.extend({gallerySettings:function(){}})),this.states.add([new s.controller.WidgetGalleryEdit({library:e.selection,editing:e.editing,menu:"gallery"}),new s.controller.GalleryAdd({})]))}})}(jQuery);
|
||||
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/gallery/js/gallery.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/gallery/js/gallery.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(o){o("body").on("click",".widget-gallery .no-carousel .tiled-gallery-item a",function(o){return o.stopPropagation(),!0})}(jQuery);
|
||||
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/google-plus/js/admin.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/google-plus/js/admin.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(e){function o(){e(".widget-inside .googleplus-badge-choose-type").each(function(){var o=e(this).parents("form");o.find('[class^="googleplus-badge-only-"]').parent().hide(),o.find(".googleplus-badge-only-"+e(this).val()).parent().show()})}e(document).on("widget-added",function(){o()}),e(function(){e(document).on("change",".googleplus-badge-choose-type",o).on("widget-updated",o),o()})}(jQuery);
|
||||
@@ -0,0 +1,5 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/*global google:true*/
|
||||
/*global _wp_google_translate_widget:true*/
|
||||
/*exported googleTranslateElementInit*/
|
||||
function googleTranslateElementInit(){var e,a="en",t=/[?&#]lang=([a-zA-Z\-_]+)/;"object"==typeof _wp_google_translate_widget&&"string"==typeof _wp_google_translate_widget.lang&&(a=_wp_google_translate_widget.lang),e=window.location.href.match(t),e&&(window.location.href=window.location.href.replace(t,"").replace(/#googtrans\([a-zA-Z\-_|]+\)/,"")+"#googtrans("+a+"|"+e[1]+")"),new google.translate.TranslateElement({pageLanguage:a,layout:_wp_google_translate_widget.layout,autoDisplay:!1},"google_translate_element")}
|
||||
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/milestone/admin.min.js
vendored
Normal file
2
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/milestone/admin.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(e){function n(){t.find(".milestone-type").trigger("change")}var t=e("#customize-controls");t.length||(t=e("#wpbody")),t.on("change",".milestone-type",function(){var n=e(this).parent().find(".milestone-message-wrapper");"since"===e(this).find('input[type="radio"]:checked').val()?n.hide():n.show()}),e(document).on("widget-added widget-updated",function(){n()}),n()}(jQuery);
|
||||
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/milestone/milestone.min.js
vendored
Normal file
3
backend/wordpress/wp-content/plugins/jetpack/_inc/build/widgets/milestone/milestone.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global MilestoneConfig */
|
||||
var Milestone=function(e){var n=function(n){var i=e("#"+n.id),t=n.id,o=1e3*n.refresh;this.timer=function(){var n=this;e.ajax({url:MilestoneConfig.api_root+"jetpack/v4/widgets/"+t,success:function(e){i.find(".milestone-countdown").replaceWith(e.message),(o=1e3*e.refresh)&&setTimeout(function(){n.timer()},o)}})},o>0&&this.timer()};return function(e){return new n(e)}}(jQuery);!function(){var e,n={};if("undefined"!=typeof MilestoneConfig)for(e=0;e<MilestoneConfig.instances.length;e++)n[e]=new Milestone(MilestoneConfig.instances[e])}();
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
jQuery(document).ready(function(){var e=jQuery(".jetpack-search-filters-widget__filter-list");e.on("click","a",function(){var e=jQuery(this).siblings('input[type="checkbox"]');e.prop("checked",!e.prop("checked"))}),e.find('input[type="checkbox"]').prop("disabled",!1).css("cursor","inherit").on("click",function(){var e=jQuery(this).siblings("a");e.length&&(window.location.href=e.prop("href"))})});
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(t){function i(i){i.find(".jetpack-social-icons-widget-list").sortable({items:"> .jetpack-social-icons-widget-item",handle:".handle",cursor:"move",placeholder:"jetpack-social-icons-widget-item ui-state-placeholder",containment:i,forcePlaceholderSize:!0,update:function(){e(t(this).parents(".form").find(".widget-control-save"))}})}function e(i){t(document.body).hasClass("wp-customizer")&&i.length&&i.trigger("click").hide()}var n=null;t(document).ready(function(){t(document).on("click",".jetpack-social-icons-widget.add-button button",function(i){i.preventDefault();var e,n,o,c,a,d;e=t(t.trim(t("#tmpl-jetpack-widget-social-icons-template").html())),n=t(this).parents(".widget-content"),o=n.find(".jetpack-social-icons-widget-list"),a=o.data("url-icon-id"),d=o.data("url-icon-name"),e.find(".jetpack-widget-social-icons-url input").attr("id",a).attr("name",d+"[]"),o.append(e),c=n.find(".jetpack-social-icons-widget-item:last"),c.find("input:first").trigger("focus")}),t(document).on("click",".jetpack-widget-social-icons-remove-item-button",function(i){i.preventDefault();var n=t(this).parents(".form").find(".widget-control-save");t(this).parents(".jetpack-social-icons-widget-item").remove(),e(n)}),t(document).on("click",'div.widget[id*="jetpack_widget_social_icons"] .widget-title, div.widget[id*="jetpack_widget_social_icons"] .widget-action',function(){t(this).parents("#available-widgets").length||i(t(this).parents('.widget[id*="jetpack_widget_social_icons"]'))}),t(document).on("widget-added",function(t,e){e.is('[id*="jetpack_widget_social_icons"]')&&(t.preventDefault(),i(e))}),t(document).on("widget-updated",function(t,e){e.is('[id*="jetpack_widget_social_icons"]')&&(t.preventDefault(),i(e))}),t(document).on("focusout",'input[name*="jetpack_widget_social_icons"]',function(){e(t(this).parents(".form").find(".widget-control-save"))}),t(document).on("keydown",'input[name*="jetpack_widget_social_icons"]',function(i){13===i.keyCode&&e(t(this).parents(".form").find(".widget-control-save"))}),t(document).on("keyup",'input[name*="jetpack_widget_social_icons"]',function(){clearTimeout(n),n=setTimeout(function(){e(t(this).parents(".form").find(".widget-control-save"))},1e3)}),t(document).on("change",'select[name*="jetpack_widget_social_icons"]',function(){e(t(this).parents(".form").find(".widget-control-save"))})})}(jQuery);
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
jQuery(function(t){function e(e){var i=t(e).val();t(e).closest(".jetpack-twitter-timeline-widget-type-container").next(".jetpack-twitter-timeline-widget-id-container").find("label").css("display",function(){var e=t(this).data("widget-type");return i===e?"":"none"})}var i=t("#customize-controls");i.length||(i=t("#wpbody")),i.on("change",".jetpack-twitter-timeline-widget-type",function(){e(this)}),i.find(".jetpack-twitter-timeline-widget-type").each(function(){e(this)})});
|
||||
Reference in New Issue
Block a user