Add upstream
This commit is contained in:
2
wp-content/plugins/jetpack/_inc/build/accessible-focus.min.js
vendored
Normal file
2
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"))});
|
||||
1
wp-content/plugins/jetpack/_inc/build/admin.css
Normal file
1
wp-content/plugins/jetpack/_inc/build/admin.css
Normal file
File diff suppressed because one or more lines are too long
1
wp-content/plugins/jetpack/_inc/build/admin.deps.json
Normal file
1
wp-content/plugins/jetpack/_inc/build/admin.deps.json
Normal file
@@ -0,0 +1 @@
|
||||
["lodash","moment","react","react-dom"]
|
||||
71
wp-content/plugins/jetpack/_inc/build/admin.js
Normal file
71
wp-content/plugins/jetpack/_inc/build/admin.js
Normal file
File diff suppressed because one or more lines are too long
1
wp-content/plugins/jetpack/_inc/build/admin.rtl.css
Normal file
1
wp-content/plugins/jetpack/_inc/build/admin.rtl.css
Normal file
File diff suppressed because one or more lines are too long
4
wp-content/plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.js
vendored
Normal file
4
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
2
wp-content/plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/comment-likes/comment-like-count.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="https://public-api.wordpress.com/rest/v1",n=[];t(".comment-like-count").each(function(){var e=t(this).attr("data-blog-id"),a=t(this).attr("data-comment-id");n.push("/sites/"+e+"/comments/"+a+"/likes")}),t.ajax({type:"GET",url:e+"/batch",dataType:"jsonp",data:"urls[]="+n.map(encodeURIComponent).join("&urls[]="),success:function(e){for(var n in e)if(!e[n].error_data){var a=n.split("/")[4],o=e[n].found;if(o<1)return;t("#comment-like-count-"+a).find(".like-count").hide().text(o).fadeIn()}},error:function(){}})});
|
||||
3
wp-content/plugins/jetpack/_inc/build/contact-form/js/editor-view.min.js
vendored
Normal file
3
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
wp-content/plugins/jetpack/_inc/build/contact-form/js/grunion-admin.min.js
vendored
Normal file
3
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){e(document).on("click","#jetpack-check-feedback-spam:not(.button-disabled)",function(n){n.preventDefault(),e("#jetpack-check-feedback-spam:not(.button-disabled)").addClass("button-disabled"),e(".jetpack-check-feedback-spam-spinner").addClass("spinner").show(),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)})}(0,100)})});
|
||||
2
wp-content/plugins/jetpack/_inc/build/contact-form/js/grunion-frontend.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/contact-form/js/grunion-frontend.min.js
vendored
Normal file
@@ -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
wp-content/plugins/jetpack/_inc/build/contact-form/js/grunion.min.js
vendored
Normal file
4
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
3
wp-content/plugins/jetpack/_inc/build/contact-form/js/tinymce-plugin-form-button.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/contact-form/js/tinymce-plugin-form-button.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* global grunionEditorView, tinymce */
|
||||
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);
|
||||
2
wp-content/plugins/jetpack/_inc/build/crowdsignal-shortcode.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/crowdsignal-shortcode.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(e,d,n){"undefined"!=typeof jQuery&&jQuery(e.body).trigger("pd-script-load")}(document);
|
||||
2
wp-content/plugins/jetpack/_inc/build/crowdsignal-survey.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/crowdsignal-survey.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(e,t,d){if(!e.getElementById(d)){var n,r=e.createElement(t);r.id=d,r.src="https://polldaddy.com/survey.js",(n=e.getElementsByTagName(t)[0]).parentNode.insertBefore(r,n)}}(document,"script","pd-embed");
|
||||
@@ -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=e("jetpack_custom_css[preprocessor]").get();return jpCustomizerCssPreview.preprocessors.hasOwnProperty(c)?e.selectiveRefresh.Partial.prototype.refresh.call(this):(t=new s.Deferred,r=e("custom_css["+e.settings.theme.stylesheet+"]"),_.each(this.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,e){function n(s){var n=e.control.value(s);return n?n.container:null}s(document).ready(function(){var t=n("jetpack_css_mode_control");t&&t.prepend('<span class="customize-control-title">'+window._jp_css_settings.l10n.mode+"</span>");var o=n("jetpack_mobile_css_control");o&&o.prepend('<span class="customize-control-title">'+window._jp_css_settings.l10n.mobile+"</span>");var i=n("wpcom_custom_css_content_width_control");i&&(i.append('<span class="description">'+window._jp_css_settings.l10n.contentWidth+"<span>"),i.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",rel:"noopener noreferrer",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",rel:"noopener noreferrer",href:window._jp_css_settings.revisionsUrl,text:window._jp_css_settings.l10n.revisions}).prependTo("#css-help-links"),e("jetpack_custom_css[preprocessor]",function(s){s.bind(function(s){var n={default:"text/css",less:"text/x-less",sass:"text/x-scss"},t="text/css";void 0!==n[s]&&(t=n[s]),e.control("custom_css").deferred.codemirror.done(function(s){s.setOption("mode",t),"text/css"===t?s.setOption("lint",!0):s.setOption("lint",!1)})})})})}(jQuery,this.wp.customize);
|
||||
2
wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.min.js
vendored
Normal file
@@ -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);
|
||||
4
wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/css-editor.min.js
vendored
Normal file
4
wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/css-editor.min.js
vendored
Normal file
@@ -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()})});
|
||||
3
wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/use-codemirror.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/use-codemirror.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 */
|
||||
!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);
|
||||
4
wp-content/plugins/jetpack/_inc/build/custom-post-types/comics/comics.min.js
vendored
Normal file
4
wp-content/plugins/jetpack/_inc/build/custom-post-types/comics/comics.min.js
vendored
Normal file
@@ -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(e){var o={init:function(){e(document).on("dragover.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDragOver),e(document).on("dragleave.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDragLeave),e(document).on("drop.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDrop),e("body").append(e('<div id="jetpack-comic-drop-zone"><p class="dragging" /><p class="uploading" /></div>')),e("#jetpack-comic-drop-zone").find(".dragging").text(Jetpack_Comics_Options.labels.dragging).end().find(".uploading").text(Jetpack_Comics_Options.labels.uploading).prepend(e('<span class="spinner"/>')),"FileReader"in window&&"File"in window||(e("#jetpack-comic-drop-zone .dragging").text(Jetpack_Comics_Options.labels.unsupported),e(document).off("drop.jetpack-comics").on("drop.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDragLeave))},filterImageFiles:function(e){for(var o=[],n=0,a=e.length;n<a;n++)e[n].type.match(/^image\//i)&&o.push(e[n]);return o},dragTimeout:null,onDragOver:function(n){n.preventDefault(),clearTimeout(o.dragTimeout),e("body").addClass("dragging")},onDragLeave:function(){clearTimeout(o.dragTimeout),o.dragTimeout=setTimeout(function(){e("body").removeClass("dragging")},100)},onDrop:function(n){n.preventDefault(),n.stopPropagation(),n.originalEvent.stopPropagation(),n.originalEvent.preventDefault();var a=o.filterImageFiles(n.originalEvent.dataTransfer.files);if(e("body").removeClass("dragging"),0!==a.length){e("body").addClass("uploading");for(var i=new FormData,t=0,r=a.length;t<r;t++)i.append("image_"+t,a[t]);e("#jetpack-comic-drop-zone .uploading .spinner").spin(),e.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(o){e("#jetpack-comic-drop-zone .uploading").text(Jetpack_Comics_Options.labels.processing),"url"in o?document.location.href=o.url:"error"in o&&(alert(o.error),e("body").removeClass("uploading"))}).fail(function(){alert(Jetpack_Comics_Options.labels.error)})}else alert(Jetpack_Comics_Options.labels.invalidUpload)}};o.init()});
|
||||
3
wp-content/plugins/jetpack/_inc/build/custom-post-types/js/many-items.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/custom-post-types/js/many-items.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 */
|
||||
!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"))}),o=(i=this.find("tbody:last")).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 i=(e=this.data("currentRow")).find(":input"),o=this.data("form").find(":input").not(i).attr("disabled",!0).end(),(r=new FormData(this.data("form").get(0))).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()});
|
||||
3
wp-content/plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/custom-post-types/js/menu-checkboxes.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, 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);
|
||||
4
wp-content/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js
vendored
Normal file
4
wp-content/plugins/jetpack/_inc/build/custom-post-types/js/nova-drag-drop.min.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* jshint onevar: false, smarttabs: true */
|
||||
/* global _novaDragDrop */
|
||||
!function(e){var n;e(document).ready(function(){(n=e("#the-list")).sortable({cancel:".no-items",stop:function(t,r){if(r.item.is(":first-child"))return n.sortable("cancel");n.find(".menu-label-row").each(function(){var n=e(this).data("term_id");e(this).nextUntil(".menu-label-row").each(function(t){var r=e(this);r.find(".menu-order-value").val(t),r.find(".nova-menu-term").val(n)})})}}),e("#posts-filter").append('<input type="hidden" name="'+_novaDragDrop.nonceName+'" value="'+_novaDragDrop.nonce+'" />'),e(".tablenav").prepend('<input type="submit" class="button-primary button-reorder alignright" value="'+_novaDragDrop.reorder+'" name="'+_novaDragDrop.reorderName+'" />'),e("#posts-filter").attr("method","post")})}(jQuery);
|
||||
3
wp-content/plugins/jetpack/_inc/build/facebook-embed.min.js
vendored
Normal file
3
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")).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
wp-content/plugins/jetpack/_inc/build/gallery-settings.min.js
vendored
Normal file
5
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
wp-content/plugins/jetpack/_inc/build/idc-notice.min.js
vendored
Normal file
3
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){var i,c=idcL10n.nonce,n=idcL10n.currentUrl,t=idcL10n.apiRoot,o=e(".jp-idc-notice"),a=e(".jp-idc-notice .dops-button"),r=idcL10n.tracksUserData,s=idcL10n.tracksEventData,d=e("#wp-admin-bar-jetpack-idc"),f=e("#jp-idc-confirm-safe-mode-action"),p=e("#jp-idc-fix-connection-action"),l=e("#jp-idc-migrate-action"),u=e("#jp-idc-reconnect-site-action"),m=e(".jp-idc-error__notice"),_=!1;function h(){a.prop("disabled",!0)}function j(){a.prop("disabled",!1)}function k(){m.hide(),g("confirm_safe_mode");var i=t+"jetpack/v4/identity-crisis/confirm-safe-mode";h(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",c)},url:i,data:{},success:function(){o.hide(),d.removeClass("hide"),window.location.search&&1===window.location.search.indexOf("page=jetpack")&&window.location.reload()},error:function(e){_="confirm",v(e),j()}})}function w(){m.hide(),g("migrate");var i=t+"jetpack/v4/identity-crisis/migrate";h(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",c)},url:i,data:{},success:function(){o.hide(),e("body").hasClass("toplevel_page_jetpack")&&window.location.reload(!0)},error:function(e){_="migrate",v(e),j()}})}function y(){m.hide(),g("start_fresh");var i=t+"jetpack/v4/identity-crisis/start-fresh";h(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",c)},url:i,data:{},success:function(e){window.location=e+"&from=idc-notice"},error:function(e){_="start-fresh",v(e),j()}})}function v(i){var c=e(".jp-idc-error__desc");i&&i.responseJSON&&i.responseJSON.message?c.html(i.responseJSON.message):c.html(""),m.css("display","flex")}function g(e,i){void 0!==i&&"object"==typeof i||(i={}),e&&e.length&&"undefined"!=typeof analytics&&analytics.tracks&&analytics.mc&&(e=0!==(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,analytics.tracks.recordEvent(e,i),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),analytics.mc.bumpStat("jetpack-idc",e))}"undefined"!=typeof analytics&&analytics.initialize(r.userid,r.username),s.isAdmin?g("notice_view"):g("non_admin_notice_view",{page:s.currentScreen}),i=void 0!==i&&i,window.location.search&&-1!==window.location.search.indexOf("jetpack_idc_clear_confirmation")&&(g("clear_confirmation_clicked"),history&&history.pushState?history.pushState({},"",n):i&&(window.location.href=n)),o.on("click",".notice-dismiss",function(){var e="https:"===window.location.protocol;wpCookies.set("jetpack_idc_dismiss_notice","1",604800,!1,!1,e),g("non_admin_notice_dismiss",{page:s.currentScreen})}),o.on("click","#jp-idc-error__action",function(){switch(m.hide(),_){case"confirm":k();break;case"start-fresh":y();break;case"migrate":w();break;default:return}}),f.on("click",k),p.on("click",function(){m.hide(),g("fix_connection"),o.addClass("jp-idc-show-second-step")}),u.on("click",y),l.on("click",w)}(jQuery);
|
||||
3
wp-content/plugins/jetpack/_inc/build/infinite-scroll/infinity.min.js
vendored
Normal file
3
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
wp-content/plugins/jetpack/_inc/build/jetpack-admin.min.js
vendored
Normal file
2
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){e(document).ready(function(){var a,o,t;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()}),a=e(".frame.top"),o=e(".frame.bottom"),(t=e("body")).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()})}(jQuery);
|
||||
3
wp-content/plugins/jetpack/_inc/build/jetpack-connection-banner.min.js
vendored
Normal file
3
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){var n=e(".jp-wpcom-connect__vertical-nav-container"),c=e(".jp-wpcom-connect__content-container"),i=e(".jp-banner__button-container .next-feature"),t=e(".jp-connect-full__container"),o=e(".jp-connect-full__dismiss, .jp-connect-full__dismiss-paragraph"),s=e("#welcome-panel"),a=e("#message"),l=e(".connection-banner-dismiss");function r(e){n.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"),n.children().eq(e).addClass("vertical-menu__feature-item-is-selected"),c.children().eq(e).addClass("jp__slide-is-active")}e(window).on("load",function(){s.insertBefore(a)}),l.on("click",function(){e(a).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(a).show()})}),n.on("click",".vertical-menu__feature-item:not( .vertical-menu__feature-item-is-selected )",function(){r(e(this).index())}),i.on("click",function(n){n.preventDefault(),r(e(this).closest(".jp-wpcom-connect__slide").index()+1)}),o.on("click",function(){e(t).hide()}),e(document).keyup(function(n){27===n.keyCode&&e(o).click()})}(jQuery);
|
||||
2
wp-content/plugins/jetpack/_inc/build/jetpack-jitm.min.js
vendored
Normal file
2
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 a={default:function(a){var e='<div class="jitm-card jitm-banner '+(a.CTA.message?"has-call-to-action":"")+" is-upgrade-premium "+a.content.classes+'" data-stats_url="'+a.jitm_stats_url+'">';if(e+='<div class="jitm-banner__icon-plan">'+a.content.icon+"</div>",e+='<div class="jitm-banner__content">',e+='<div class="jitm-banner__info">',e+='<div class="jitm-banner__title">'+a.content.message+"</div>",a.content.description&&""!==a.content.description){if(e+='<div class="jitm-banner__description">'+a.content.description,a.content.list.length>0){e+='<ul class="banner__list">';for(var i=0;i<a.content.list.length;i++){var n=a.content.list[i].item;a.content.list[i].url&&(n='<a href="'+a.content.list[i].url+'" target="_blank" rel="noopener noreferrer" data-module="'+a.feature_class+'" data-jptracks-name="nudge_item_click" data-jptracks-prop="jitm-'+a.id+'">'+n+"</a>"),e+='<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>'+n+"</li>"}}e+="</div>"}if(e+="</div>",a.activate_module&&(e+='<div class="jitm-banner__action" id="jitm-banner__activate">',e+='<a href="#" data-module="'+a.activate_module+'" type="button" class="jitm-button is-compact is-primary jptracks" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+a.id+'-activate_module">'+window.jitm_config.activate_module_text+"</a>",e+="</div>"),a.CTA.message){var c="jitm-button is-compact jptracks";a.CTA.primary&&null===a.activate_module&&(c+=" is-primary"),e+='<div class="jitm-banner__action">',e+='<a href="'+a.url+'" target="'+(!1===a.CTA.newWindow?"_self":"_blank")+'" rel="noopener noreferrer" title="'+a.CTA.message+'" data-module="'+a.feature_class+'" type="button" class="'+c+'" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+a.id+'">'+a.CTA.message+"</a>",e+="</div>"}return e+='<a href="#" data-module="'+a.feature_class+'" class="jitm-banner__dismiss"></a>',e+="</div>",t(e+="</div>")}},e=function(){t(".jetpack-jitm-message").each(function(){var e=t(this),i=e.data("message-path"),n=e.data("query"),c=e.data("redirect"),r=location.hash;"_dashboard"!==(r=r.replace(/#\//,"_"))&&(i=i.replace("toplevel_page_jetpack","toplevel_page_jetpack"+r)),t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:i,query:n,_wpnonce:e.data("nonce")}).then(function(i){"object"==typeof i&&i[1]&&(i=[i[1]]),0!==i.length&&i[0].content&&function(e,i,n){var c;(c=i.template)&&a[c]||(c="default"),i.url=i.url+"&redirect="+n;var r,o=a[c](i);o.find(".jitm-banner__dismiss").click((r=o,function(a){a.preventDefault(),r.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",data:{id:i.id,feature_class:i.feature_class}})})),t("#jp-admin-notices").length>0?(e.innerHTML=o,t("#jp-admin-notices").find(".jitm-card")&&t(".jitm-card").replaceWith(o),o.prependTo(t("#jp-admin-notices"))):e.replaceWith(o),o.find("#jitm-banner__activate a").click(function(){var a=t(this);if(a.attr("disabled"))return!1;t.ajax({url:window.jitm_config.api_root+"jetpack/v4/module/"+a.data("module")+"/active",method:"POST",beforeSend:function(a){a.setRequestHeader("X-WP-Nonce",e.data("nonce")),t("#jitm-banner__activate a").text(window.jitm_config.activating_module_text),t("#jitm-banner__activate a").attr("disabled",!0)}}).done(function(){t("#jitm-banner__activate a").text(window.jitm_config.activated_module_text),t("#jitm-banner__activate a").attr("disabled",!0),setTimeout(function(){o.fadeOut("slow")},2e3)})})}(e,i[0],c)})})};e(),t(window).bind("hashchange",function(t){if(t.originalEvent.newURL.indexOf("jetpack#/")>=0){var a=document.querySelector(".jitm-card");a&&a.remove(),e()}})});
|
||||
2
wp-content/plugins/jetpack/_inc/build/jetpack-modules.min.js
vendored
Normal file
2
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
wp-content/plugins/jetpack/_inc/build/jetpack-modules.models.min.js
vendored
Normal file
2
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.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
wp-content/plugins/jetpack/_inc/build/jetpack-modules.views.min.js
vendored
Normal file
2
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
wp-content/plugins/jetpack/_inc/build/jquery.jetpack-resize.min.js
vendored
Normal file
24
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,n,r=!1,o=[],s=!1;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?(t=function(e){return e.match(/^https?:\/\//)||(e=document.location.href),e.split("/").slice(0,3).join("/")},a=function(){r=!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&&void 0!==(a=a.data).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(){r=!1,e(window).off("message.JetpackResizeableIframe"),o=[],e(".jetpack-resizeable").removeClass("jetpack-resizeable"),s=!1},n={on:function(i){var n=Jetpack.getTarget.call(this,i);return r||a(),n.each(function(){o.push(t(e(this).attr("src")))}).addClass("jetpack-resizeable"),s=e(".jetpack-resizeable"),n},off:function(a){var n=Jetpack.getTarget.call(this,a);return void 0===n?(i(),n):(n.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"),n)},resize:function(t,a){var i=Jetpack.getTarget.call(this,a);return e.each(["width","height"],function(e,a){var n,r=0;void 0!==t[a]&&(r=parseInt(t[a],10)),0!==r&&(i[a](r),(n=i.parent()).hasClass("slim-likes-widget")&&n[a](r))}),i}},e.extend(window.Jetpack,{resizeable:function(t){return n[t]?n[t].apply(this,Array.prototype.slice.call(arguments,1)):t?void e.error("Method "+t+" does not exist on Jetpack.resizeable"):n.on.apply(this)}})):e.extend(window.Jetpack,{resizeable:function(){e.error("Browser does not support window.postMessage")}})}(jQuery);
|
||||
6
wp-content/plugins/jetpack/_inc/build/jquery.spin.min.js
vendored
Normal file
6
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(void 0!==(s=e.extend({color:i||t.css("color")},e.fn.spin.presets[s]||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);
|
||||
30
wp-content/plugins/jetpack/_inc/build/lazy-images/js/lazy-images.min.js
vendored
Normal file
30
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
wp-content/plugins/jetpack/_inc/build/likes/post-count-jetpack.min.js
vendored
Normal file
2
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
wp-content/plugins/jetpack/_inc/build/likes/post-count.min.js
vendored
Normal file
3
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("/")[4];wpPostLikeCount.showCount(n,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
wp-content/plugins/jetpack/_inc/build/likes/queuehandler.min.js
vendored
Normal file
3
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
wp-content/plugins/jetpack/_inc/build/masterbar/tracks-events.min.js
vendored
Normal file
3
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 jQuery, JSON */
|
||||
!function(a){var e={"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-activity":"my_sites_activity","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"},i={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(i){if(window.jpTracksAJAX&&"function"==typeof window.jpTracksAJAX.record_ajax_event){var t=a(i.target),n=t.closest("li");if(t.is("a")||(t=t.closest("a")),n&&t){var s=t.attr("ID")||n.attr("ID");if(e.hasOwnProperty(s)){var r={clicked:e[s]};n.hasClass("menupop")?window.jpTracksAJAX.record_ajax_event("masterbar_click","click",r):(i.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 e=!a.data&&a.originalEvent.data?a.originalEvent:a;if("https://widgets.wp.com"===e.origin){var t="string"==typeof e.data?function(a,e){try{return JSON.parse(a)}catch(a){return e}}(e.data,{}):e.data;if("notesIframeMessage"===t.type){var n=i[t.action];n&&window.jpTracksAJAX.record_ajax_event("masterbar_click","click",n(t))}}}})}(jQuery);
|
||||
7
wp-content/plugins/jetpack/_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js
vendored
Normal file
7
wp-content/plugins/jetpack/_inc/build/minileven/theme/pub/minileven/js/small-menu.min.js
vendored
Normal file
@@ -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");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
wp-content/plugins/jetpack/_inc/build/photon/photon.min.js
vendored
Normal file
3
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(){function t(){if(this.complete){var e=this.getAttribute("data-lazy-src");if(e&&this.src!==e)this.addEventListener("onload",t);else{var d=this.width,n=this.height;d&&d>0&&n&&n>0&&(this.setAttribute("width",d),this.setAttribute("height",n),i(this))}}else this.addEventListener("onload",t)}var e=function(){for(var e=document.querySelectorAll("img[data-recalc-dims]"),i=0;i<e.length;i++)t.call(e[i])},i=function(t){t.removeAttribute("data-recalc-dims"),t.removeAttribute("scale")};"undefined"!=typeof window&&"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()),document.body.addEventListener("post-load",e)}();
|
||||
3
wp-content/plugins/jetpack/_inc/build/polldaddy-shortcode.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/polldaddy-shortcode.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){window.polldaddyshortcode={render:function(){var e=t("div.pd-rating[data-settings]"),d=t("div.PDS_Poll[data-settings]");if(d&&t.each(d,function(){var e=t(this).data("settings");if(e){var d=document.createElement("a");if(d.href=e.url,"secure.polldaddy.com"!=d.hostname&&"static.polldaddy.com"!=d.hostname)return!1;var i=d.pathname;if(!/\/?p\/\d+\.js/.test(i))return!1;var a=document.createElement("script");a.type="text/javascript",a.src=e.url,a.charset="utf-8",a.async=!0,document.getElementsByTagName("head")[0].appendChild(a)}}),e){var i="";t.each(e,function(){var e=t(this).data("settings");e&&(i+="PDRTJS_settings_"+e.id+e.item_id+"="+e.settings+"; if ( typeof PDRTJS_RATING !== 'undefined' ){ if ( typeof PDRTJS_"+e.id+e.item_id+"=='undefined' ){PDRTJS_"+e.id+e.item_id+"= new PDRTJS_RATING( PDRTJS_settings_"+e.id+e.item_id+" );}}")}),i.length>0&&t("#polldaddyRatings").after("<script type='text/javascript' charset='utf-8' id='polldaddyDynamicRatings'>"+i+"<\/script>")}}},t("body").on("post-load pd-script-load",function(){window.polldaddyshortcode.render()}),t("body").trigger("pd-script-load")}(jQuery);
|
||||
25
wp-content/plugins/jetpack/_inc/build/postmessage.min.js
vendored
Normal file
25
wp-content/plugins/jetpack/_inc/build/postmessage.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
5
wp-content/plugins/jetpack/_inc/build/related-posts/related-posts-customizer.min.js
vendored
Normal file
5
wp-content/plugins/jetpack/_inc/build/related-posts/related-posts-customizer.min.js
vendored
Normal file
@@ -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){t.control("jetpack_relatedposts[headline]",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)})})}(wp.customize);
|
||||
4
wp-content/plugins/jetpack/_inc/build/related-posts/related-posts.min.js
vendored
Normal file
4
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){var e={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")).href=wp.customize.settings.url.self:s=document.location,"string"==typeof e&&e.match(/^https?:\/\//)&&((s=document.createElement("a")).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)}}};function s(){e.setVisualExcerptHeights(),t("#jp-relatedposts a.jp-relatedposts-post-a").click(function(){this.href=e.getTrackedUrl(this)})}function a(){e.cleanupTrackedUrl();var a=e.getEndpointURL(),o=t("#jp-relatedposts");t("#jp-relatedposts .jp-relatedposts-post").length?s():t.getJSON(a,function(t){if(0!==t.items.length&&0!==o.length){e.response=t;var a,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=t.show_thumbnails,r.showDate=t.show_date,r.showContext=t.show_context,r.layout=t.layout),a=p?e.generateVisualHtml(t.items,r):e.generateMinimalHtml(t.items,r),o.append(a),r.showDate&&o.find(".jp-relatedposts-post-date").show(),o.show(),s()}})}t(function(){"undefined"!=typeof wp&&wp.customize?(wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){"jetpack_relatedposts"===t.partial.id&&a()}),wp.customize.bind("preview-ready",a)):a()})}(jQuery);
|
||||
4
wp-content/plugins/jetpack/_inc/build/sharedaddy/admin-sharing.min.js
vendored
Normal file
4
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
wp-content/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js
vendored
Normal file
4
wp-content/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
wp-content/plugins/jetpack/_inc/build/shortcodes/js/brightcove.min.js
vendored
Normal file
3
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){var t=document.createElement("script"),c="co.jp"===brightcoveData.tld?"co.jp":"com",o=!1;t.src="https://sadmin.brightcove."+c+"/js/BrightcoveExperiences.js",t.type="text/javascript",t.language="JavaScript",document.head.appendChild(t),function t(){clearTimeout(o);"object"==typeof brightcove?(e(document).ready(brightcove.createExperiences),e("body").on("post-load",brightcove.createExperiences),brightcove.createExperiences()):o=setTimeout(t,100)}()}(jQuery);
|
||||
2
wp-content/plugins/jetpack/_inc/build/shortcodes/js/gist.min.js
vendored
Normal file
2
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
wp-content/plugins/jetpack/_inc/build/shortcodes/js/instagram.min.js
vendored
Normal file
3
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()}();
|
||||
22
wp-content/plugins/jetpack/_inc/build/shortcodes/js/jmpress.min.js
vendored
Normal file
22
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
wp-content/plugins/jetpack/_inc/build/shortcodes/js/main.min.js
vendored
Normal file
2
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){var t={fullscreen:!1,hash:{use:!1},mouse:{clickSelects:!1},keyboard:{use:!0},animation:{transitionDuration:"1s"},presentationMode:!1,stepSelector:".step",duration:{defaultValue:0}};function e(e){var i,o,n,l;(i=this).wrapper=s(e),i.slideshow=s(".presentation",e),i.navLeft=s(".nav-arrow-left",e),i.navRight=s(".nav-arrow-right",e),i.expandButton=s(".nav-fullscreen-button",e),i.overlay=s(".autoplay-overlay",e),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",t.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+/.exec(navigator.userAgent))&&parseInt(l[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(t),i.slideshow.jmpress("initialized")&&(i.slideshow.css("display",""),i.overlay.css("display",""),s(".not-supported-msg",i.wrapper).remove()),i.setFullscreen(!1)}s.extend(e.prototype,{resizePresentation:function(){var t,e,i,o,n,l;e=(i=this.slideshow.jmpress("settings")).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;this.autoPlaying!==s&&(t=s&&this.autoplayTime>0?this.autoplayTime:0,this.slideshow.jmpress("settings").duration.defaultValue=t,t?(this.slideshow.jmpress("next"),this.overlay.css("opacity",0)):this.slideshow.jmpress("reselect"),this.autoPlaying=s)}}),s(document).ready(function(){s(".presentation-wrapper").map(function(){new e(this)})})}(jQuery);
|
||||
2
wp-content/plugins/jetpack/_inc/build/shortcodes/js/quiz.min.js
vendored
Normal file
2
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(),i=a.map(t,function(){var i,n=(i=t.length,Math.floor(Math.random()*i)),c=a(t[n]).clone(!0)[0];return t.splice(n,1),c});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,i=a(this),n=i.closest("div.jetpack-quiz");n.data("a8ctraining")&&((new Image).src="//pixel.wp.com/b.gif?v=wpcom-no-pv&x_trainingchaos-"+n.data("username")+"="+n.data("a8ctraining")+"&rand="+Math.random(),n.data("a8ctraining",!1),n.data("trackid",!1)),t=n.data("trackid"),i.data("correct")?(i.addClass("correct"),t&&((new Image).src="//pixel.wp.com/b.gif?v=wpcom-no-pv&x_quiz-"+t+"=correct&rand="+Math.random())):(i.addClass("wrong"),t&&((new Image).src="//pixel.wp.com/b.gif?v=wpcom-no-pv&x_quiz-"+t+"=wrong&rand="+Math.random())),n.data("trackid",!1)})});
|
||||
42
wp-content/plugins/jetpack/_inc/build/shortcodes/js/recipes-printthis.min.js
vendored
Normal file
42
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;(i=(n=(n=e.get(0)).contentWindow||n.contentDocument||n).document||n.contentDocument||n).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
wp-content/plugins/jetpack/_inc/build/shortcodes/js/recipes.min.js
vendored
Normal file
3
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);
|
||||
4
wp-content/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.js
vendored
Normal file
4
wp-content/plugins/jetpack/_inc/build/shortcodes/js/slideshow-shortcode.min.js
vendored
Normal file
@@ -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
wp-content/plugins/jetpack/_inc/build/spin.min.js
vendored
Normal file
7
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";var t,e=["webkit","Moz","ms","O"],i={};function o(t,e){var i,o=document.createElement(t||"div");for(i in e)o[i]=e[i];return o}function r(t){for(var e=1,i=arguments.length;e<i;e++)t.appendChild(arguments[e]);return t}var n,s=(n=o("style",{type:"text/css"}),r(document.getElementsByTagName("head")[0],n),n.sheet||n.styleSheet);function a(e,o,r,n){var a=["opacity",o,~~(100*e),r,n].join("-"),l=.01+r/n*100,f=Math.max(1-(1-e)/o*(100-l),e),p=t.substring(0,t.indexOf("Animation")).toLowerCase(),d=p&&"-"+p+"-"||"";return i[a]||(s.insertRule("@"+d+"keyframes "+a+"{0%{opacity:"+f+"}"+l+"%{opacity:"+e+"}"+(l+.01)+"%{opacity:1}"+(l+o)%100+"%{opacity:"+e+"}100%{opacity:"+f+"}}",s.cssRules.length),i[a]=1),a}function l(t,i){var o,r,n=t.style;if(void 0!==n[i])return i;for(i=i.charAt(0).toUpperCase()+i.slice(1),r=0;r<e.length;r++)if(void 0!==n[o=e[r]+i])return o}function f(t,e){for(var i in e)t.style[l(t,i)||i]=e[i];return t}function p(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 d(t){for(var e={x:t.offsetLeft,y:t.offsetTop};t=t.offsetParent;)e.x+=t.offsetLeft,e.y+=t.offsetTop;return e}var c={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"};function u(t){if(void 0===this)return new u(t);this.opts=p(t||{},u.defaults,c)}u.defaults={},p(u.prototype,{spin:function(e){this.stop();var i,r,n=this,s=n.opts,a=n.el=f(o(0,{className:s.className}),{position:s.position,width:0,zIndex:s.zIndex}),l=s.radius+s.length+s.width;if(e&&(e.insertBefore(a,e.firstChild||null),r=d(e),i=d(a),f(a,{left:("auto"==s.left?r.x-i.x+(e.offsetWidth>>1):parseInt(s.left,10)+l)+"px",top:("auto"==s.top?r.y-i.y+(e.offsetHeight>>1):parseInt(s.top,10)+l)+"px"})),a.setAttribute("role","progressbar"),n.lines(a,n.opts),!t){var p,c=0,u=(s.lines-1)*(1-s.direction)/2,h=s.fps,y=h/s.speed,m=(1-s.opacity)/(y*s.trail/100),v=y/s.lines;!function t(){c++;for(var e=0;e<s.lines;e++)p=Math.max(1-(c+(s.lines-e)*v)%y*m,s.opacity),n.opacity(a,e*s.direction+u,p,s);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(e,i){var n,s=0,l=(i.lines-1)*(1-i.direction)/2;function p(t,e){return f(o(),{position:"absolute",width:i.length+i.width+"px",height:i.width+"px",background:t,boxShadow:e,transformOrigin:"left",transform:"rotate("+~~(360/i.lines*s+i.rotate)+"deg) translate("+i.radius+"px,0)",borderRadius:(i.corners*i.width>>1)+"px"})}for(;s<i.lines;s++)n=f(o(),{position:"absolute",top:1+~(i.width/2)+"px",transform:i.hwaccel?"translate3d(0,0,0)":"",opacity:i.opacity,animation:t&&a(i.opacity,i.trail,l+s*i.direction,i.lines)+" "+1/i.speed+"s linear infinite"}),i.shadow&&r(n,f(p("#000","0 0 4px #000"),{top:"2px"})),r(e,r(n,p(i.color,"0 0 1px rgba(0,0,0,.1)")));return e},opacity:function(t,e,i){e<t.childNodes.length&&(t.childNodes[e].style.opacity=i)}});var h=f(o("group"),{behavior:"url(#default#VML)"});return!l(h,"transform")&&h.adj?function(){function t(t,e){return o("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',e)}s.addRule(".spin-vml","behavior:url(#default#VML)"),u.prototype.lines=function(e,i){var o=i.length+i.width,n=2*o;function s(){return f(t("group",{coordsize:n+" "+n,coordorigin:-o+" "+-o}),{width:n,height:n})}var a,l=2*-(i.width+i.length)+"px",p=f(s(),{position:"absolute",top:l,left:l});function d(e,n,a){r(p,r(f(s(),{rotation:360/i.lines*e+"deg",left:~~n}),r(f(t("roundrect",{arcsize:i.corners}),{width:o,height:i.width,left:i.radius,top:-i.width>>1,filter:a}),t("fill",{color:i.color,opacity:i.opacity}),t("stroke",{opacity:0}))))}if(i.shadow)for(a=1;a<=i.lines;a++)d(a,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(a=1;a<=i.lines;a++)d(a);return r(e,p)},u.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=(r=r.childNodes[e+o])&&r.firstChild)&&r.firstChild)&&(r.opacity=i)}}():t=l(h,"animation"),u});
|
||||
@@ -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>
|
||||
1
wp-content/plugins/jetpack/_inc/build/static.css
Normal file
1
wp-content/plugins/jetpack/_inc/build/static.css
Normal file
File diff suppressed because one or more lines are too long
1
wp-content/plugins/jetpack/_inc/build/static.html
Normal file
1
wp-content/plugins/jetpack/_inc/build/static.html
Normal file
File diff suppressed because one or more lines are too long
766
wp-content/plugins/jetpack/_inc/build/static.js
Normal file
766
wp-content/plugins/jetpack/_inc/build/static.js
Normal file
File diff suppressed because one or more lines are too long
1
wp-content/plugins/jetpack/_inc/build/static.rtl.css
Normal file
1
wp-content/plugins/jetpack/_inc/build/static.rtl.css
Normal file
File diff suppressed because one or more lines are too long
2
wp-content/plugins/jetpack/_inc/build/style.min.css
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
4
wp-content/plugins/jetpack/_inc/build/style.min.rtl.css
Normal file
4
wp-content/plugins/jetpack/_inc/build/style.min.rtl.css
Normal file
File diff suppressed because one or more lines are too long
3
wp-content/plugins/jetpack/_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.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 */
|
||||
!function(e){function i(){this.galleries=[],this.findAndSetupNewGalleries()}function t(e){this.gallery=e,this.addCaptionEvents(),this.resize(),this.gallery.removeClass("tiled-gallery-unresized")}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 n=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&&n?function(i){var t=!1,r=null;function o(){i.resizeAll(),t&&n(o)}e(window).resize(function(){clearTimeout(r),t||n(o),t=!0,r=setTimeout(function(){t=!1},15)})}(t):function(i){e(window).resize(function(){i.resizeAll()})}(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
wp-content/plugins/jetpack/_inc/build/twitter-timeline.min.js
vendored
Normal file
3
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)).id=r,n.src=i+"://platform.twitter.com/widgets.js",s.parentNode.insertBefore(n,s))}(document,"script","twitter-wjs");
|
||||
3
wp-content/plugins/jetpack/_inc/build/videopress/js/editor-view.min.js
vendored
Normal file
3
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),i=this.shortcode.attrs.named;for(t in i)switch(t){case"at":parseInt(i[t],10)&&(s+="&"+t+"="+parseInt(i[t],10));break;case"permalink":"false"===i[t]&&(s+="&"+t+"=0");break;case"hd":case"loop":case"autoplay":"true"===i[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!==i.w&&(o=parseInt(i.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),i=s.shortcode.attrs.named,l=tinyMCE.activeEditor,n=this,d=tinyMCE.ui.FormItem.prototype.renderHtml;tinyMCE.ui.TextBox.prototype.renderHtml=function(){var e,t,a=this.settings,o=document.createElement(a.multiline?"textarea":"input"),s=["rows","spellcheck","maxLength","size","readonly","min","max","step","list","pattern","placeholder","required","multiple"];for(e=0;e<s.length;e++)void 0!==a[t=s[e]]&&o.setAttribute(t,a[t]);return a.multiline?o.innerText=this.state.get("value"):(o.setAttribute("type",a.subtype?a.subtype:"text"),o.setAttribute("value",this.state.get("value"))),o.id=this._id,o.className=this.classes,o.setAttribute("hidefocus",1),this.disabled()&&(o.disabled=!0),o.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){i[t]=this.coerce(i,t)},this),l.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:i.w},{type:"textbox",subtype:"number",min:0,name:"at",label:a.modal_labels.at,value:i.at},{type:"checkbox",name:"hd",label:a.modal_labels.hd,checked:i.hd},{type:"checkbox",name:"permalink",label:a.modal_labels.permalink,checked:i.permalink},{type:"checkbox",name:"autoplay",label:a.modal_labels.autoplay,checked:i.autoplay},{type:"checkbox",name:"loop",label:a.modal_labels.loop,checked:i.loop},{type:"checkbox",name:"freedom",label:a.modal_labels.freedom,checked:i.freedom},{type:"checkbox",name:"flashonly",label:a.modal_labels.flashonly,checked:i.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),l.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);
|
||||
2
wp-content/plugins/jetpack/_inc/build/videopress/js/media-video-widget-extensions.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/videopress/js/media-video-widget-extensions.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
window.wp=window.wp||{},function(e){var o,d;e.mediaWidgets&&(e.mediaWidgets.controlConstructors.media_video.prototype.mapMediaToModelProps=(d=e.mediaWidgets.controlConstructors.media_video.prototype.mapMediaToModelProps,function(e){var o,i,t;return i=d.call(this,e),o=_.extend({},i),e.videopress&&e.videopress.guid&&(t=e.videopress.guid),!t&&e.videopress_guid&&e.videopress_guid.length&&(t=e.videopress_guid[0]),t&&(o=_.extend({},i,{url:"https://videopress.com/v/"+t,attachment_id:0})),o}),e.mediaWidgets.controlConstructors.media_video.prototype.isHostedVideo=(o=e.mediaWidgets.controlConstructors.media_video.prototype.isHostedVideo,function(e){var d=document.createElement("a");return d.href=e,"videopress.com"===d.hostname||o.call(this,e)}))}(window.wp);
|
||||
3
wp-content/plugins/jetpack/_inc/build/videopress/js/videopress-plupload.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/videopress/js/videopress-plupload.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
wp-content/plugins/jetpack/_inc/build/videopress/js/videopress-uploader.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/videopress/js/videopress-uploader.min.js
vendored
Normal file
@@ -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=i.type.split("/"),n=this;"video"===o[0]?t.ajax("videopress-get-upload-token",{async:!1,data:{filename:i.name}}).done(function(e){i.videopress=e,a(!0)}).fail(function(e){n.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){var t=i("div#widgets-right");function n(t){var n,e;i("body").hasClass("wp-customizer")?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 e(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 o(t){var n,e,o,s,a,c,l,r,h,p,g,u,f=t.find(".conditions-rule-minor").html(""),v=t.data("rule-major");if(v&&"post_type"!==v){for(n=t.data("rule-minor"),e=t.data("rule-has-children"),s=0,r=(o=widget_conditions_data[v]).length;s<r;s++)if(c=o[s][0],"object"==typeof(l=o[s][1])){for(u=i("<optgroup/>").attr("label",c),a=0,h=l.length;a<h;a++)p=o[s][1][a][0],g=o[s][1][a][1],u.append(i("<option/>").val(p).text(d(g.replace(/ /g," "))));f.append(u)}else f.append(i("<option/>").val(c).text(d(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")}else f.attr("disabled","disabled")}function s(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 d(i){var t=document.createElement("textarea");return t.innerHTML=i,t.value}t.length&&i(t).find(".widget-control-actions").length||(t=i("form#customize-controls")),i(".widget").each(function(){e(i(this))}),i(document).on("widget-added",function(i,t){0===t.find("div.widget-control-actions a.display-options").length&&e(t)}),t.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"),s(e.closest(".conditions"))}),t.on("click.widgetconditions","a.display-options",function(t){var e=i(this).closest("div.widget");t.preventDefault(),e.find("div.widget-conditional").toggleClass("widget-conditional-hide"),i(this).toggleClass("active"),e.toggleClass("expanded"),n(e),i(this).hasClass("active")?(e.find("input[name=widget-conditions-visible]").val("1"),e.find(".condition").each(function(){o(i(this))})):e.find("input[name=widget-conditions-visible]").val("0")}),t.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()),s(n.closest(".conditions"))}),t.on("click.widgetconditions","div.widget-top",function(){var t=i(this).closest("div.widget"),e=t.find("a.display-options");e.hasClass("active")&&e.attr("opened","true"),e.attr("opened")&&(e.removeAttr("opened"),t.toggleClass("expanded"),n(t))}),t.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"),e=t.siblings("span.conditions-rule-has-children"),s=n.closest(".condition");s.data("rule-minor","").data("rule-major",t.val()),t.val()?o(s):(t.siblings("select.conditions-rule-minor").attr("disabled","disabled").html(""),e.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(){o(i(this))})})});
|
||||
2
wp-content/plugins/jetpack/_inc/build/widgets/contact-info/contact-info-admin.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/widgets/contact-info/contact-info-admin.min.js
vendored
Normal file
@@ -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
wp-content/plugins/jetpack/_inc/build/widgets/customizer-utils.min.js
vendored
Normal file
3
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, PaypalExpressCheckout */
|
||||
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){if(t.container)if(wp.isJetpackWidgetPlaced(t,"googleplus-badge")&&"object"==typeof gapi&&gapi.person&&"function"==typeof gapi.person.go)gapi.person.go(t.container[0]);else if(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"),a=i.data("width"),o=i.data("height");i.find("span").css({width:a,height:o}),setTimeout(function(){i.find("iframe").css({width:a,height:o,position:"relative"})},1)});else if(wp.isJetpackWidgetPlaced(t,"twitter_timeline")&&"object"==typeof twttr&&"object"==typeof twttr.widgets&&"function"==typeof twttr.widgets.load)twttr.widgets.load(t.container[0]);else if(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();else if(wp.isJetpackWidgetPlaced(t,"jetpack_simple_payments_widget"))try{var i=e(".jetpack-simple-payments-button",t.container).attr("id").replace("_button","");PaypalExpressCheckout.renderButton(null,null,i,null)}catch(e){}}),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():wp.isJetpackWidgetPlaced(e,"jetpack_simple_payments_widget")&&e.partial.refresh())}))})}(jQuery);
|
||||
3
wp-content/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
/* eslint no-var: 0 */
|
||||
!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);
|
||||
2
wp-content/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(e){var o,a,t=document.cookie.replace(/(?:(?:^|.*;\s*)eucookielaw\s*\=\s*([^;]*).*$)|^.*$/,"$1"),i=e("#eu-cookie-law");if(i.hasClass("top")&&e(".widget_eu_cookie_law_widget").addClass("top"),i.hasClass("ads-active")){var s=document.cookie.replace(/(?:(?:^|.*;\s*)personalized-ads-consent\s*\=\s*([^;]*).*$)|^.*$/,"$1");""!==t&&""!==s&&i.remove()}else""!==t&&i.remove();e(".widget_eu_cookie_law_widget").appendTo("body").fadeIn(),i.find("form").on("submit",d),i.hasClass("hide-on-scroll")?(o=e(window).scrollTop(),a=function(){Math.abs(e(window).scrollTop()-o)>50&&d()},e(window).on("scroll",a)):i.hasClass("hide-on-time")&&setTimeout(d,1e3*i.data("hide-timeout"));var n=!1;function d(o){if(!n){n=!0,o&&o.preventDefault&&o.preventDefault(),i.hasClass("hide-on-scroll")&&e(window).off("scroll",a);var t=new Date;t.setTime(t.getTime()+24*i.data("consent-expiration")*60*60*1e3),document.cookie="eucookielaw="+t.getTime()+";path=/;expires="+t.toGMTString(),i.hasClass("ads-active")&&i.hasClass("hide-on-button")&&(document.cookie="personalized-ads-consent="+t.getTime()+";path=/;expires="+t.toGMTString()),i.fadeOut(400,function(){i.remove();var e=document.querySelector(".widget.widget_eu_cookie_law_widget");e.parentNode.removeChild(e)})}}}(jQuery);
|
||||
4
wp-content/plugins/jetpack/_inc/build/widgets/gallery/js/admin.min.js
vendored
Normal file
4
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){var t,i;e(function(){e(document.body).on("click",".gallery-widget-choose-images",function(l){l.preventDefault();var n=e(this).closest("form, .form");t=n.find(".gallery-widget-ids"),i=n.find(".gallery-widget-thumbs");var r=function(e){if(!e)return null;var t=wp.shortcode.next("gallery",'[gallery ids="'+e+'"]');return t=t.shortcode,wp.media.gallery.attachments(t)}(t.val()),a=null,o=!1;r&&(a=function(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}(r),o=!0),function(e){var l=new wp.media.view.MediaFrame.GalleryWidget(e);return l.on("update",function(e){var n=l.state();if(e=e||n.get("selection")){var r=e.map(function(e){return e.get("id")}).join(",");t.val(r).trigger("change"),function(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)})}(e,i)}},this),l.setState(l.options.state),l}({state:"gallery-edit",title:wp.media.view.l10n.addMedia,multiple:!0,editing:o,selection:a}).open()}),e(".widget-inside").on("change",".gallery-widget-style",r),r()});var l,n=wp.media;function r(){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()}})}l=n.view.l10n="undefined"==typeof _wpMediaViewsL10n?{}:_wpMediaViewsL10n,n.view.MediaFrame.GalleryWidget=n.view.MediaFrame.Post.extend({createStates:function(){var e=this.options;"CollectionEdit"in n.controller?this.states.add([new n.controller.CollectionEdit({type:"image",collectionType:"gallery",title:l.editGalleryTitle,SettingsView:n.view.Settings.Gallery,library:e.selection,editing:e.editing,menu:"gallery"}),new n.controller.CollectionAdd({type:"image",collectionType:"gallery",title:l.addToGalleryTitle})]):("WidgetGalleryEdit"in n.controller||(n.controller.WidgetGalleryEdit=n.controller.GalleryEdit.extend({gallerySettings:function(){}})),this.states.add([new n.controller.WidgetGalleryEdit({library:e.selection,editing:e.editing,menu:"gallery"}),new n.controller.GalleryAdd({})]))}})}(jQuery);
|
||||
2
wp-content/plugins/jetpack/_inc/build/widgets/gallery/js/gallery.min.js
vendored
Normal file
2
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. */
|
||||
jQuery("body").on("click",".widget-gallery .no-carousel .tiled-gallery-item a",function(e){return e.stopPropagation(),!0});
|
||||
5
wp-content/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.js
vendored
Normal file
5
wp-content/plugins/jetpack/_inc/build/widgets/google-translate/google-translate.min.js
vendored
Normal file
@@ -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))&&(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
wp-content/plugins/jetpack/_inc/build/widgets/milestone/admin.min.js
vendored
Normal file
2
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){var n=e("#customize-controls");function t(){n.find(".milestone-type").trigger("change")}n.length||(n=e("#wpbody")),n.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(){t()}),t()}(jQuery);
|
||||
3
wp-content/plugins/jetpack/_inc/build/widgets/milestone/milestone.min.js
vendored
Normal file
3
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])}();
|
||||
3
wp-content/plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.js
vendored
Normal file
3
wp-content/plugins/jetpack/_inc/build/widgets/search/js/search-widget-admin.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
wp-content/plugins/jetpack/_inc/build/widgets/search/js/search-widget.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/widgets/search/js/search-widget.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(){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"))})});
|
||||
4
wp-content/plugins/jetpack/_inc/build/widgets/simple-payments/customizer.min.js
vendored
Normal file
4
wp-content/plugins/jetpack/_inc/build/widgets/simple-payments/customizer.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
wp-content/plugins/jetpack/_inc/build/widgets/social-icons/social-icons-admin.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/widgets/social-icons/social-icons-admin.min.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* Do not modify this file directly. It is compiled from other files. */
|
||||
!function(t){var i=null;function e(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(){n(t(this).parents(".form").find(".widget-control-save"))}})}function n(i){t(document.body).hasClass("wp-customizer")&&i.length&&i.trigger("click").hide()}t(document).ready(function(){t(document).on("click",".jetpack-social-icons-widget.add-button button",function(i){var e,n,o,c,a;i.preventDefault(),e=t(t.trim(t("#tmpl-jetpack-widget-social-icons-template").html())),c=(o=(n=t(this).parents(".widget-content")).find(".jetpack-social-icons-widget-list")).data("url-icon-id"),a=o.data("url-icon-name"),e.find(".jetpack-widget-social-icons-url input").attr("id",c).attr("name",a+"[]"),o.append(e),n.find(".jetpack-social-icons-widget-item:last").find("input:first").trigger("focus")}),t(document).on("click",".jetpack-widget-social-icons-remove-item-button",function(i){i.preventDefault();var e=t(this).parents(".form").find(".widget-control-save");t(this).parents(".jetpack-social-icons-widget-item").remove(),n(e)}),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||e(t(this).parents('.widget[id*="jetpack_widget_social_icons"]'))}),t(document).on("widget-added",function(t,i){i.is('[id*="jetpack_widget_social_icons"]')&&(t.preventDefault(),e(i))}),t(document).on("widget-updated",function(t,i){i.is('[id*="jetpack_widget_social_icons"]')&&(t.preventDefault(),e(i))}),t(document).on("focusout",'input[name*="jetpack_widget_social_icons"]',function(){n(t(this).parents(".form").find(".widget-control-save"))}),t(document).on("keydown",'input[name*="jetpack_widget_social_icons"]',function(i){13===i.keyCode&&n(t(this).parents(".form").find(".widget-control-save"))}),t(document).on("keyup",'input[name*="jetpack_widget_social_icons"]',function(){clearTimeout(i),i=setTimeout(function(){n(t(this).parents(".form").find(".widget-control-save"))},1e3)}),t(document).on("change",'select[name*="jetpack_widget_social_icons"]',function(){n(t(this).parents(".form").find(".widget-control-save"))})})}(jQuery);
|
||||
2
wp-content/plugins/jetpack/_inc/build/widgets/twitter-timeline-admin.min.js
vendored
Normal file
2
wp-content/plugins/jetpack/_inc/build/widgets/twitter-timeline-admin.min.js
vendored
Normal file
@@ -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