Added login request

This commit is contained in:
Nedim Uka
2018-06-20 18:03:43 +02:00
parent 4e52521fae
commit 593b445a21
4716 changed files with 1218265 additions and 57 deletions

View File

@@ -0,0 +1,19 @@
var keyboardNavigation = false,
keyboardNavigationKeycodes = [ 9, 32, 37, 38, 39, 40 ]; // keyCodes for tab, space, left, up, right, down respectively
document.addEventListener( 'keydown', function( event ) {
if ( keyboardNavigation ) {
return;
}
if ( keyboardNavigationKeycodes.indexOf( event.keyCode ) !== -1 ) {
keyboardNavigation = true;
document.documentElement.classList.add( 'accessible-focus' );
}
} );
document.addEventListener( 'mouseup', function() {
if ( ! keyboardNavigation ) {
return;
}
keyboardNavigation = false;
document.documentElement.classList.remove( 'accessible-focus' );
} );

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
var keyboardNavigation=!1,keyboardNavigationKeycodes=[9,32,37,38,39,40];document.addEventListener("keydown",function(e){keyboardNavigation||-1!==keyboardNavigationKeycodes.indexOf(e.keyCode)&&(keyboardNavigation=!0,document.documentElement.classList.add("accessible-focus"))}),document.addEventListener("mouseup",function(){keyboardNavigation&&(keyboardNavigation=!1,document.documentElement.classList.remove("accessible-focus"))});

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
/* Do not modify this file directly. It is compiled from other files. */
/* jshint devel: true, onevar: false */
/* global tinyMCE, AtD_restore_if_proofreading, AtD_check, AtD_unbind_proofreader_listeners,
AtD, AtD_bind_proofreader_listeners, AtD_check_when
*/
function AtD_submit_check(t){AtD_proofread_click_count>0||(t.stopImmediatePropagation(),t.preventDefault(),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()?tinyMCE.activeEditor.execCommand("mceWritingImprovementTool",AtD_submit_check_callback):(AtD_restore_if_proofreading(),AtD_check(AtD_submit_check_callback)))}function AtD_submit_check_callback(t){if(t=Number(t||0),AtD_unbind_proofreader_listeners(),0===t||1<AtD_proofread_click_count)AtD_update_post();else if(-1===t)alert(AtD.getLang("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute.")),AtD_update_post();else{var e,i=jQuery("#original_post_status").val();e="publish"===i?AtD.getLang("dialog_confirm_post_publish","The proofreader has suggestions for this post. Are you sure you want to publish it?\n\nPress OK to publish your post, or Cancel to view the suggestions and edit your post."):AtD.getLang("dialog_confirm_post_update","The proofreader has suggestions for this post. Are you sure you want to update it?\n\nPress OK to update your post, or Cancel to view the suggestions and edit your post."),confirm(e)?AtD_update_post():(AtD_bind_proofreader_listeners(),AtD_kill_autoproofread()),jQuery("#publish").removeClass("button-primary-disabled"),jQuery("#ajax-loading").hide()}}function AtD_kill_autoproofread(){jQuery("#publish").unbind("click.AtD_submit_check")}function AtD_update_post(){"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()||AtD_restore_if_proofreading(),jQuery("#publish").unbind("click.AtD_submit_check").click()}var AtD_proofread_click_count=0;jQuery(document).ready(function(t){var e=t("#original_post_status").val();"undefined"!=typeof AtD_check_when&&t("#content").length&&("publish"!==e&&AtD_check_when.onpublish||("publish"===e||"schedule"===e)&&AtD_check_when.onupdate)&&t("#publish").bind("click.AtD_submit_check",AtD_submit_check)});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
jQuery(document).ready(function(t){var n="https://public-api.wordpress.com/rest/v1",e=[];!function(){t(".comment-like-count").each(function(){var n=t(this).attr("data-blog-id"),o=t(this).attr("data-comment-id");e.push("/sites/"+n+"/comments/"+o+"/likes")}),t.ajax({type:"GET",url:n+"/batch",dataType:"jsonp",data:"urls[]="+e.map(encodeURIComponent).join("&urls[]="),success:function(n){for(var e in n)if(!n[e].error_data){var o=e.split("/"),a=o[4],i=n[e].found;if(i<1)return;t("#comment-like-count-"+a).find(".like-count").hide().text(i).fadeIn()}},error:function(){}})}()});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global ajaxurl */
jQuery(function(e){function n(c,t){e.post(ajaxurl,{action:"grunion_recheck_queue",offset:c,limit:t},function(e){e.processed<t?window.location.reload():n(c+t,t)})}e(document).on("click","#jetpack-check-feedback-spam:not(.button-disabled)",function(c){c.preventDefault(),e("#jetpack-check-feedback-spam:not(.button-disabled)").addClass("button-disabled"),e(".jetpack-check-feedback-spam-spinner").addClass("spinner").show(),n(0,100)})});

View 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()});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global grunionEditorView, tinymce */
!function(){tinymce.create("tinymce.plugins.grunion_form",{init:function(n){n.addButton("grunion",{title:grunionEditorView.labels.tinymce_label,cmd:"grunion_add_form",icon:"grunion"}),n.addCommand("grunion_add_form",function(){grunionEditorView.default_form?n.execCommand("mceInsertContent",0,"[contact-form]"+grunionEditorView.default_form+"[/contact-form]"):n.execCommand("mceInsertContent",0,"[contact-form /]")})},createControl:function(){return null},getInfo:function(){return{longname:"Grunion Contact Form",author:"Automattic",version:"1"}}}),tinymce.PluginManager.add("grunion_form",tinymce.plugins.grunion_form)}();

View File

@@ -0,0 +1,4 @@
/* Do not modify this file directly. It is compiled from other files. */
// Originally based on https://raw.githubusercontent.com/xwp/wp-custom-scss-demo/master/custom-scss-demo-preview.js
/* globals jpCustomizerCssPreview */
!function(e,s){e.settingPreviewHandlers?e.settingPreviewHandlers.custom_css=function(){}:parent.console.warn("Missing core patch that adds support for settingPreviewHandlers"),e.selectiveRefresh.partialConstructor.custom_css=e.selectiveRefresh.Partial.extend({refresh:function(){var t,r,c=this,n=e("jetpack_custom_css[preprocessor]").get();return jpCustomizerCssPreview.preprocessors.hasOwnProperty(n)?e.selectiveRefresh.Partial.prototype.refresh.call(c):(t=new s.Deferred,r=e("custom_css["+e.settings.theme.stylesheet+"]"),_.each(c.placements(),function(e){e.container.text(r.get())}),t.resolve(),t.promise())}})}(wp.customize,jQuery);

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(s,t){function n(s){var n=t.control.value(s);return n?n.container:null}s(document).ready(function(){var e=n("jetpack_css_mode_control");e&&e.prepend('<span class="customize-control-title">'+window._jp_css_settings.l10n.mode+"</span>");var i=n("jetpack_mobile_css_control");i&&i.prepend('<span class="customize-control-title">'+window._jp_css_settings.l10n.mobile+"</span>");var o=n("wpcom_custom_css_content_width_control");o&&(o.append('<span class="description">'+window._jp_css_settings.l10n.contentWidth+"<span>"),o.find("input").after("<span>px</span>")),s("<div />",{id:"css-help-links",class:"css-help"}).appendTo(n("custom_css")),s("<a />",{id:"help-link",target:"_blank",href:window._jp_css_settings.cssHelpUrl,text:window._jp_css_settings.l10n.css_help_title}).prependTo("#css-help-links"),window._jp_css_settings.areThereCssRevisions&&s("<a />",{id:"revisions-link",target:"_blank",href:window._jp_css_settings.revisionsUrl,text:window._jp_css_settings.l10n.revisions}).prependTo("#css-help-links"),t("jetpack_custom_css[preprocessor]",function(s){s.bind(function(s){var n={default:"text/css",less:"text/x-less",sass:"text/x-scss"},e="text/css";void 0!==n[s]&&(e=n[s]),t.control("custom_css").deferred.codemirror.done(function(s){s.setOption("mode",e),"text/css"===e?s.setOption("lint",!0):s.setOption("lint",!1)})})})})}(jQuery,this.wp.customize);

View 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);

View 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()})});

View 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);

View 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(o){var e={init:function(){o(document).on("dragover.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDragOver),o(document).on("dragleave.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDragLeave),o(document).on("drop.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDrop),o("body").append(o('<div id="jetpack-comic-drop-zone"><p class="dragging" /><p class="uploading" /></div>')),o("#jetpack-comic-drop-zone").find(".dragging").text(Jetpack_Comics_Options.labels.dragging).end().find(".uploading").text(Jetpack_Comics_Options.labels.uploading).prepend(o('<span class="spinner"/>')),"FileReader"in window&&"File"in window||(o("#jetpack-comic-drop-zone .dragging").text(Jetpack_Comics_Options.labels.unsupported),o(document).off("drop.jetpack-comics").on("drop.jetpack-comics","body, #jetpack-comic-drop-zone",this.onDragLeave))},filterImageFiles:function(o){for(var e=[],n=0,a=o.length;n<a;n++)o[n].type.match(/^image\//i)&&e.push(o[n]);return e},dragTimeout:null,onDragOver:function(n){n.preventDefault(),clearTimeout(e.dragTimeout),o("body").addClass("dragging")},onDragLeave:function(){clearTimeout(e.dragTimeout),e.dragTimeout=setTimeout(function(){o("body").removeClass("dragging")},100)},onDrop:function(n){n.preventDefault(),n.stopPropagation(),n.originalEvent.stopPropagation(),n.originalEvent.preventDefault();var a=e.filterImageFiles(n.originalEvent.dataTransfer.files);if(o("body").removeClass("dragging"),0===a.length)return void alert(Jetpack_Comics_Options.labels.invalidUpload);o("body").addClass("uploading");for(var i=new FormData,t=0,r=a.length;t<r;t++)i.append("image_"+t,a[t]);o("#jetpack-comic-drop-zone .uploading .spinner").spin(),o.ajax({url:Jetpack_Comics_Options.writeURL+"&nonce="+Jetpack_Comics_Options.nonce,data:i,processData:!1,contentType:!1,type:"POST",dataType:"json",xhrFields:{withCredentials:!0}}).done(function(e){o("#jetpack-comic-drop-zone .uploading").text(Jetpack_Comics_Options.labels.processing),"url"in e?document.location.href=e.url:"error"in e&&(alert(e.error),o("body").removeClass("uploading"))}).fail(function(){alert(Jetpack_Comics_Options.labels.error)})}};e.init()});

View 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"))}),i=this.find("tbody:last"),o=i.find("tr:first").clone(),this.data("form",this.parents("form:first")),this.data("tbody",i),this.data("row",o),this.data("currentRow",o),n=t("#nova-menu-tax"),a=t("#_wpnonce"),this},destroy:function(){return this.off(".manyItemsTable"),this},submitRow:function(){var e,i,o,r;return e=this.data("currentRow"),i=e.find(":input"),o=this.data("form").find(":input").not(i).attr("disabled",!0).end(),r=new FormData(this.data("form").get(0)),r.append("ajax","1"),r.append("nova_menu_tax",n.val()),r.append("_wpnonce",a.val()),o.attr("disabled",!1),t.ajax({url:"",type:"POST",data:r,processData:!1,contentType:!1}).complete(function(t){e.html(t.responseText)}),i.attr("disabled",!0),this},addRow:function(){var t=this.data("row").clone();return t.appendTo(this.data("tbody")),t.find(":input:first").focus(),this}},t.fn.manyItemsTable=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?(t.error("Method "+n+" does not exist on jQuery.manyItemsTable"),this):e.init.apply(this,arguments)},t.fn.clickAddRow=function(){var n=this.find("tbody:last"),a=n.find("tr:first").clone();t(a).find("input, textarea").val(""),t(a).appendTo(n)}}(jQuery),jQuery(".many-items-table").one("focus",":input",function(t){jQuery(t.delegateTarget).manyItemsTable()}),jQuery(".many-items-table").on("click","a.nova-new-row",function(t){jQuery(t.delegateTarget).clickAddRow()});

View 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);

View 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(n){function e(){u=n("#the-list"),t(),o(),a(),i()}function t(){u.sortable({cancel:".no-items",stop:function(n,e){if(e.item.is(":first-child"))return u.sortable("cancel");r()}})}function r(){u.find(".menu-label-row").each(function(){var e=n(this).data("term_id");n(this).nextUntil(".menu-label-row").each(function(t){var r=n(this);r.find(".menu-order-value").val(t),r.find(".nova-menu-term").val(e)})})}function a(){n(".tablenav").prepend('<input type="submit" class="button-primary button-reorder alignright" value="'+_novaDragDrop.reorder+'" name="'+_novaDragDrop.reorderName+'" />')}function o(){n("#posts-filter").append('<input type="hidden" name="'+_novaDragDrop.nonceName+'" value="'+_novaDragDrop.nonce+'" />')}function i(){n("#posts-filter").attr("method","post")}var u;n(document).ready(e)}(jQuery);

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global FB, jpfbembed */
!function(e){var n=function(){var e,n;"undefined"!=typeof FB&&FB.XFBML?FB.XFBML.parse():(e=document.createElement("div"),e.id="fb-root",document.getElementsByTagName("body")[0].appendChild(e),n="//connect.facebook.net/"+jpfbembed.locale+"/sdk.js#xfbml=1",jpfbembed.appid&&(n+="&appId="+jpfbembed.appid),n+="&version=v2.3",jQuery.getScript(n))};e.fbAsyncInit=function(){FB.init({appId:jpfbembed.appid,version:"v2.3"}),FB.XFBML.parse()},"undefined"!=typeof infiniteScroll&&jQuery(document.body).on("post-load",n),n()}(this);

View 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);

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global idcL10n, jQuery, analytics, history, wpCookies */
!function(e){function i(){u.prop("disabled",!0)}function c(){u.prop("disabled",!1)}function n(){v.hide(),s("confirm_safe_mode");var n=p+"jetpack/v4/identity-crisis/confirm-safe-mode";i(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",d)},url:n,data:{},success:function(){l.hide(),h.removeClass("hide"),window.location.search&&1===window.location.search.indexOf("page=jetpack")&&window.location.reload()},error:function(e){g="confirm",r(e),c()}})}function t(){v.hide(),s("migrate");var n=p+"jetpack/v4/identity-crisis/migrate";i(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",d)},url:n,data:{},success:function(){l.hide(),e("body").hasClass("toplevel_page_jetpack")&&window.location.reload(!0)},error:function(e){g="migrate",r(e),c()}})}function o(){v.hide(),s("fix_connection"),l.addClass("jp-idc-show-second-step")}function a(){v.hide(),s("start_fresh");var n=p+"jetpack/v4/identity-crisis/start-fresh";i(),e.ajax({method:"POST",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",d)},url:n,data:{},success:function(e){window.location=e+"&from=idc-notice"},error:function(e){g="start-fresh",r(e),c()}})}function r(i){var c=e(".jp-idc-error__desc");i&&i.responseJSON&&i.responseJSON.message?c.html(i.responseJSON.message):c.html(""),v.css("display","flex")}function s(e,i){void 0!==i&&"object"==typeof i||(i={}),e&&e.length&&"undefined"!=typeof analytics&&analytics.tracks&&analytics.mc&&(e=e.replace(/-/g,"_"),e=0!==e.indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,analytics.tracks.recordEvent(e,i),e=e.replace("jetpack_idc_",""),e=e.replace(/_/g,"-"),analytics.mc.bumpStat("jetpack-idc",e))}var d=idcL10n.nonce,f=idcL10n.currentUrl,p=idcL10n.apiRoot,l=e(".jp-idc-notice"),u=e(".jp-idc-notice .dops-button"),m=idcL10n.tracksUserData,_=idcL10n.tracksEventData,h=e("#wp-admin-bar-jetpack-idc"),j=e("#jp-idc-confirm-safe-mode-action"),k=e("#jp-idc-fix-connection-action"),w=e("#jp-idc-migrate-action"),y=e("#jp-idc-reconnect-site-action"),v=e(".jp-idc-error__notice"),g=!1;"undefined"!=typeof analytics&&analytics.initialize(m.userid,m.username),_.isAdmin?s("notice_view"):s("non_admin_notice_view",{page:_.currentScreen}),function(e){e=void 0!==e&&e,window.location.search&&-1!==window.location.search.indexOf("jetpack_idc_clear_confirmation")&&(s("clear_confirmation_clicked"),history&&history.pushState?history.pushState({},"",f):e&&(window.location.href=f))}(),l.on("click",".notice-dismiss",function(){var e="https:"===window.location.protocol;wpCookies.set("jetpack_idc_dismiss_notice","1",604800,!1,!1,e),s("non_admin_notice_dismiss",{page:_.currentScreen})}),l.on("click","#jp-idc-error__action",function(){switch(v.hide(),g){case"confirm":n();break;case"start-fresh":a();break;case"migrate":t();break;default:return}}),j.on("click",n),k.on("click",o),y.on("click",a),w.on("click",t)}(jQuery);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(e){function a(){var a=e(".frame.top"),o=e(".frame.bottom"),t=e("body");t.scroll(function(){33>a.offset().top&&(a.addClass("fixed"),t.addClass("jp-frame-top-fixed")),120<=o.offset().top&&(a.removeClass("fixed"),t.removeClass("jp-frame-top-fixed"))}),e("table.jetpack-modules",o).addClass("with-transparency"),e(".manage-left",o).css("width",""),e(".manage-right",o).show()}function o(){e(".filter-search").on("click",function(){e(this).toggleClass("active"),e(".manage-right").toggleClass("show"),e(".shade").toggle()}),e(".checkall").on("click",function(){e(".table-bordered").find(":checkbox").prop("checked",this.checked)}),e(".shade, .modal .close").on("click",function(a){e(".shade, .modal").hide(),e(".manage-right").removeClass("show"),a.preventDefault()})}e(document).ready(function(){o(),a()})}(jQuery);

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global jQuery, jp_banner */
!function(e){function n(e){i.find(".vertical-menu__feature-item-is-selected").removeClass("vertical-menu__feature-item-is-selected"),c.find(".jp__slide-is-active").removeClass("jp__slide-is-active"),i.children().eq(e).addClass("vertical-menu__feature-item-is-selected"),c.children().eq(e).addClass("jp__slide-is-active")}var i=e(".jp-wpcom-connect__vertical-nav-container"),c=e(".jp-wpcom-connect__content-container"),t=e(".jp-banner__button-container .next-feature"),o=e(".jp-connect-full__container"),s=e(".jp-connect-full__dismiss"),a=e("#welcome-panel"),l=e("#message"),r=e(".connection-banner-dismiss");e(window).on("load",function(){a.insertBefore(l)}),r.on("click",function(){e(l).hide();var n={action:"jetpack_connection_banner",nonce:jp_banner.connectionBannerNonce,dismissBanner:!0};e.post(jp_banner.ajax_url,n,function(n){!0!==n.success&&e(l).show()})}),i.on("click",".vertical-menu__feature-item:not( .vertical-menu__feature-item-is-selected )",function(){n(e(this).index())}),t.on("click",function(){n(e(this).closest(".jp-wpcom-connect__slide").index()+1)}),s.on("click",function(){e(o).hide(),e("body").css("overflow","visible")}),e(document).keyup(function(n){27===n.keyCode&&e(s).click()}),e(o).is(":visible")&&e("body").css("overflow","hidden")}(jQuery);

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
jQuery(document).ready(function(t){var e={default:function(e){var a='<div class="jitm-card jitm-banner '+(e.CTA.message?"has-call-to-action":"")+" is-upgrade-premium "+e.content.classes+'" data-stats_url="'+e.jitm_stats_url+'">';if(a+='<div class="jitm-banner__icon-plan">'+e.content.icon+"</div>",a+='<div class="jitm-banner__content">',a+='<div class="jitm-banner__info">',a+='<div class="jitm-banner__title">'+e.content.message+"</div>",e.content.description&&""!==e.content.description){if(a+='<div class="jitm-banner__description">'+e.content.description,e.content.list.length>0){a+='<ul class="banner__list">';for(var n=0;n<e.content.list.length;n++){var i=e.content.list[n].item;e.content.list[n].url&&(i='<a href="'+e.content.list[n].url+'" target="_blank" rel="noopener noreferrer" data-module="'+e.feature_class+'" data-jptracks-name="nudge_item_click" data-jptracks-prop="jitm-'+e.id+'">'+i+"</a>"),a+='<li><svg class="gridicon gridicons-checkmark" height="16" width="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414" /></g></svg>'+i+"</li>"}}a+="</div>"}return a+="</div>",e.CTA.message&&(a+='<div class="jitm-banner__action">',a+='<a href="'+e.url+'" target="'+(!1===e.CTA.newWindow?"_self":"_blank")+'" rel="noopener noreferrer" title="'+e.CTA.message+'" data-module="'+e.feature_class+'" type="button" class="jitm-button is-compact '+(e.CTA.primary?"is-primary":"")+' jptracks" data-jptracks-name="nudge_click" data-jptracks-prop="jitm-'+e.id+'">'+e.CTA.message+"</a>",a+="</div>"),a+='<a href="#" data-module="'+e.feature_class+'" class="jitm-banner__dismiss"></a>',a+="</div>",a+="</div>",t(a)}},a=function(a,n,i){var s;s=n.template,s&&e[s]||(s="default"),n.url=n.url+"&redirect="+i;var r=e[s](n);r.find(".jitm-banner__dismiss").click(function(e){return function(a){a.preventDefault(),e.hide(),t.ajax({url:window.jitm_config.api_root+"jetpack/v4/jitm",method:"POST",data:{id:n.id,feature_class:n.feature_class}})}}(r)),a.replaceWith(r),r.prependTo(t("#jp-admin-notices"))};t(".jetpack-jitm-message").each(function(){var e=t(this),n=e.data("message-path"),i=e.data("query"),s=e.data("redirect");t.get(window.jitm_config.api_root+"jetpack/v4/jitm",{message_path:n,query:i,_wpnonce:e.data("nonce")}).then(function(t){"object"==typeof t&&t[1]&&(t=[t[1]]),0!==t.length&&t[0].content&&a(e,t[0],s)})})});

View 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);

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
this.jetpackModules=this.jetpackModules||{},window.jetpackModules.models=function(t,e,r,s){"use strict";var a={};return a.Modules=s.Model.extend({visibles:{},filter_and_sort:function(){var t,s=e(".subsubsub .current"),a=this.get("raw"),i=e(".button-group.filter-active .active"),o=e(".button-group.sort .active"),n=e("#srch-term-search-input").val().toLowerCase();return s.closest("li").hasClass("all")||(a=r.filter(a,function(t){return r.contains(t.module_tags,s.data("title"))})),i.data("filter-by")&&(a=r.filter(a,function(t){return t[i.data("filter-by")]===i.data("filter-value")})),n.length&&(a=r.filter(a,function(t){return-1!==(t.name+" "+t.description+" "+t.long_description+" "+t.search_terms+" "+t.jumpstart_desc+" "+t.module_tags).toLowerCase().indexOf(n)})),o.data("sort-by")&&(a=r.sortBy(a,o.data("sort-by")),"reverse"===o.data("sort-order")&&a.reverse()),t=r.groupBy(a,"available"),r.has(t,"false")&&(a=[].concat(t[!0],t[!1])),this.set("items",a),this},initialize:function(){var t=this.get("items");this.set("raw",t)}}),a}(0,jQuery,_,Backbone);

View 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);

View File

@@ -0,0 +1,24 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global Jetpack, JSON */
/**
* Resizeable Iframes.
*
* Start listening to resize postMessage events for selected iframes:
* $( selector ).Jetpack( 'resizeable' );
* - OR -
* Jetpack.resizeable( 'on', context );
*
* Resize selected iframes:
* $( selector ).Jetpack( 'resizeable', 'resize', { width: 100, height: 200 } );
* - OR -
* Jetpack.resizeable( 'resize', { width: 100, height: 200 }, context );
*
* Stop listening to resize postMessage events for selected iframes:
* $( selector ).Jetpack( 'resizeable', 'off' );
* - OR -
* Jetpack.resizeable( 'off', context );
*
* Stop listening to all resize postMessage events:
* Jetpack.resizeable( 'off' );
*/
!function(e){var t,a,i,r,n=!1,o=[],s=!1;if(void 0===window.Jetpack&&(window.Jetpack={getTarget:function(t){return this instanceof jQuery?t?this.filter(t):this:t?e(t):t}}),void 0===e.fn.Jetpack&&(e.fn.Jetpack=function(t){if("function"==typeof Jetpack[t])return Jetpack[t].apply(this,Array.prototype.slice.call(arguments,1));e.error('Namespace "'+t+'" does not exist on jQuery.Jetpack')}),"function"!=typeof window.postMessage)return void e.extend(window.Jetpack,{resizeable:function(){e.error("Browser does not support window.postMessage")}});t=function(e){return e.match(/^https?:\/\//)||(e=document.location.href),e.split("/").slice(0,3).join("/")},a=function(){n=!0,e(window).on("message.JetpackResizeableIframe",function(t){var a,i=t.originalEvent;if(-1!==e.inArray(i.origin,o)){if("object"==typeof i.data)a=i.data.data;else try{a=JSON.parse(i.data)}catch(e){a=!1}a.data&&(a=a.data,void 0!==a.action&&"resize"===a.action&&s.filter(function(){return void 0!==a.name?this.name===a.name:i.source===this.contentWindow}).first().Jetpack("resizeable","resize",a))}})},i=function(){n=!1,e(window).off("message.JetpackResizeableIframe"),o=[],e(".jetpack-resizeable").removeClass("jetpack-resizeable"),s=!1},r={on:function(i){var r=Jetpack.getTarget.call(this,i);return n||a(),r.each(function(){o.push(t(e(this).attr("src")))}).addClass("jetpack-resizeable"),s=e(".jetpack-resizeable"),r},off:function(a){var r=Jetpack.getTarget.call(this,a);return void 0===r?(i(),r):(r.each(function(){var a=t(e(this).attr("src")),i=e.inArray(a,o);-1!==i&&o.splice(i,1)}).removeClass("jetpack-resizeable"),s=e(".jetpack-resizeable"),r)},resize:function(t,a){var i=Jetpack.getTarget.call(this,a);return e.each(["width","height"],function(e,a){var r,n=0;void 0!==t[a]&&(n=parseInt(t[a],10)),0!==n&&(i[a](n),r=i.parent(),r.hasClass("slim-likes-widget")&&r[a](n))}),i}},e.extend(window.Jetpack,{resizeable:function(t){return r[t]?r[t].apply(this,Array.prototype.slice.call(arguments,1)):t?void e.error("Method "+t+" does not exist on Jetpack.resizeable"):r.on.apply(this)}})}(jQuery);

View File

@@ -0,0 +1,6 @@
/* Do not modify this file directly. It is compiled from other files. */
/**
* Copyright (c) 2011-2013 Felix Gnass
* Licensed under the MIT license
*/
!function(e){if("object"==typeof exports)e(require("jquery"),require("spin"));else if("function"==typeof define&&define.amd)define(["jquery","spin"],e);else{if(!window.Spinner)throw new Error("Spin.js not present");e(window.jQuery,window.Spinner)}}(function(e,n){e.fn.spin=function(s,i){return this.each(function(){var t=e(this),r=t.data();if(r.spinner&&(r.spinner.stop(),delete r.spinner),!1!==s){if(s=e.extend({color:i||t.css("color")},e.fn.spin.presets[s]||s),void 0!==s.right&&void 0!==s.length&&void 0!==s.width&&void 0!==s.radius){var p=t.css("padding-left");p=void 0===p?0:parseInt(p,10),s.left=t.outerWidth()-2*(s.length+s.width+s.radius)-p-s.right,delete s.right}r.spinner=new n(s).spin(this)}})},e.fn.spin.presets={tiny:{lines:8,length:2,width:2,radius:3},small:{lines:8,length:4,width:3,radius:5},large:{lines:10,length:8,width:4,radius:8}}}),function(e){e.fn.spin.presets.wp={trail:60,speed:1.3},e.fn.spin.presets.small=e.extend({lines:8,length:2,width:2,radius:3},e.fn.spin.presets.wp),e.fn.spin.presets.medium=e.extend({lines:8,length:4,width:3,radius:5},e.fn.spin.presets.wp),e.fn.spin.presets.large=e.extend({lines:10,length:6,width:4,radius:7},e.fn.spin.presets.wp),e.fn.spin.presets["small-left"]=e.extend({left:5},e.fn.spin.presets.small),e.fn.spin.presets["small-right"]=e.extend({right:5},e.fn.spin.presets.small),e.fn.spin.presets["medium-left"]=e.extend({left:5},e.fn.spin.presets.medium),e.fn.spin.presets["medium-right"]=e.extend({right:5},e.fn.spin.presets.medium),e.fn.spin.presets["large-left"]=e.extend({left:5},e.fn.spin.presets.large),e.fn.spin.presets["large-right"]=e.extend({right:5},e.fn.spin.presets.large)}(jQuery);

File diff suppressed because one or more lines are too long

View 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);

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* jshint onevar: false, smarttabs: true */
var wpPostLikeCount=wpPostLikeCount||{};!function(t){wpPostLikeCount=jQuery.extend(wpPostLikeCount,{jsonAPIbase:"https://public-api.wordpress.com/rest/v1",APIqueue:[],wpPostLikeCount:function(){t(".post-like-count").each(function(){var o=t(this).attr("data-post-id"),n=t(this).attr("data-blog-id");wpPostLikeCount.APIqueue.push("/sites/"+n+"/posts/"+o+"/likes")}),wpPostLikeCount.getCounts()},showCount:function(o,n){n>0&&(t("#post-like-count-"+o).find(".comment-count").hide(),t("#post-like-count-"+o).find(".comment-count").text(n),t("#post-like-count-"+o).find(".comment-count").fadeIn())},getCounts:function(){for(var t={path:"/batch",data:"",success:function(t){for(var o in t)if(!t[o].error_data){var n=o.split("/"),e=n[4];wpPostLikeCount.showCount(e,t[o].found)}},error:function(){}},o="",n=0;n<wpPostLikeCount.APIqueue.length;n++)n>0&&(o="&"),t.data+=o+"urls[]="+wpPostLikeCount.APIqueue[n];wpPostLikeCount.request(t)}})}(jQuery),jQuery(document).ready(function(){wpPostLikeCount.wpPostLikeCount()});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/*globals JSON */
!function(a){function e(a,e){try{return JSON.parse(a)}catch(a){return e}}var i={"wp-admin-bar-blog":"my_sites","wp-admin-bar-newdash":"reader","wp-admin-bar-ab-new-post":"write_button","wp-admin-bar-my-account":"my_account","wp-admin-bar-notes":"notifications","wp-admin-bar-switch-site":"my_sites_switch_site","wp-admin-bar-blog-info":"my_sites_blog_info","wp-admin-bar-site-view":"my_sites_view_site","wp-admin-bar-blog-stats":"my_sites_blog_stats","wp-admin-bar-plan":"my_sites_plan","wp-admin-bar-plan-badge":"my_sites_plan_badge","wp-admin-bar-edit-page":"my_sites_manage_site_pages","wp-admin-bar-new-page-badge":"my_sites_manage_add_page","wp-admin-bar-edit-post":"my_sites_manage_blog_posts","wp-admin-bar-new-post-badge":"my_sites_manage_add_new_post","wp-admin-bar-edit-attachment":"my_sites_manage_media","wp-admin-bar-new-attachment-badge":"my_sites_manage_add_media","wp-admin-bar-comments":"my_sites_manage_comments","wp-admin-bar-edit-testimonial":"my_sites_manage_testimonials","wp-admin-bar-new-testimonial":"my_sites_manage_add_testimonial","wp-admin-bar-edit-portfolio":"my_sites_manage_portfolio","wp-admin-bar-new-portfolio":"my_sites_manage_add_portfolio","wp-admin-bar-themes":"my_sites_personalize_themes","wp-admin-bar-cmz":"my_sites_personalize_themes_customize","wp-admin-bar-sharing":"my_sites_configure_sharing","wp-admin-bar-people":"my_sites_configure_people","wp-admin-bar-people-add":"my_sites_configure_people_add_button","wp-admin-bar-plugins":"my_sites_configure_plugins","wp-admin-bar-plugins-add":"my_sites_configure_manage_plugins","wp-admin-bar-blog-settings":"my_sites_configure_settings","wp-admin-bar-followed-sites":"reader_followed_sites","wp-admin-bar-reader-followed-sites-manage":"reader_manage_followed_sites","wp-admin-bar-discover-discover":"reader_discover","wp-admin-bar-discover-search":"reader_search","wp-admin-bar-discover-recommended-blogs":"reader_recommendations","wp-admin-bar-my-activity-my-likes":"reader_my_likes","wp-admin-bar-user-info":"my_account_user_name","wp-admin-bar-my-profile":"my_account_profile_my_profile","wp-admin-bar-account-settings":"my_account_profile_account_settings","wp-admin-bar-billing":"my_account_profile_manage_purchases","wp-admin-bar-security":"my_account_profile_security","wp-admin-bar-notifications":"my_account_profile_notifications","wp-admin-bar-get-apps":"my_account_special_get_apps","wp-admin-bar-next-steps":"my_account_special_next_steps","wp-admin-bar-help":"my_account_special_help"},t={openSite:function(a){return{clicked:"masterbar_notifications_panel_site",site_id:a.siteId}},openPost:function(a){return{clicked:"masterbar_notifications_panel_post",site_id:a.siteId,post_id:a.postId}},openComment:function(a){return{clicked:"masterbar_notifications_panel_comment",site_id:a.siteId,post_id:a.postId,comment_id:a.commentId}}};a(document).ready(function(){a(".mb-trackable .ab-item:not(div),#wp-admin-bar-notes .ab-item,#wp-admin-bar-user-info .ab-item,.mb-trackable .ab-secondary").on("click touchstart",function(e){if(window.jpTracksAJAX&&"function"==typeof window.jpTracksAJAX.record_ajax_event){var t=a(e.target),n=t.closest("li");if(t.is("a")||(t=t.closest("a")),n&&t){var s=t.attr("ID")||n.attr("ID");if(i.hasOwnProperty(s)){var r={clicked:i[s]};n.hasClass("menupop")?window.jpTracksAJAX.record_ajax_event("masterbar_click","click",r):(e.preventDefault(),window.jpTracksAJAX.record_ajax_event("masterbar_click","click",r).always(function(){window.location=t.attr("href")}))}}}})}),a(window).on("message",function(a){if(window.jpTracksAJAX&&"function"==typeof window.jpTracksAJAX.record_ajax_event){var i=!a.data&&a.originalEvent.data?a.originalEvent:a;if("https://widgets.wp.com"===i.origin){var n="string"==typeof i.data?e(i.data,{}):i.data;if("notesIframeMessage"===n.type){var s=t[n.action];s&&window.jpTracksAJAX.record_ajax_event("masterbar_click","click",s(n))}}}})}(jQuery);

View 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");if(l&&(e=l.getElementsByTagName("h3")[0],a=l.getElementsByTagName("ul")[0],e))a&&a.childNodes.length?e.onclick=function(){-1===a.className.indexOf("nav-menu")&&(a.className="nav-menu"),-1!==e.className.indexOf("toggled-on")?(e.className=e.className.replace(" toggled-on",""),a.className=a.className.replace(" toggled-on","")):(e.className+=" toggled-on",a.className+=" toggled-on")}:e.style.display="none"}();

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* jshint onevar: false */
!function(t){var a=function(){t("img[data-recalc-dims]").each(function a(){var o=t(this);if(this.complete){if(o.data("lazy-src")&&o.attr("src")!==o.data("lazy-src"))return void o.load(a);var d=this.width,i=this.height;d&&d>0&&i&&i>0&&(o.attr({width:d,height:i}),e(this))}else o.load(a)})},e=function(a){t(a).removeAttr("data-recalc-dims").removeAttr("scale")};t(document).ready(a),"on"in t.fn?t(document.body).on("post-load",a):t(document).delegate("body","post-load",a)}(jQuery);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
/* Do not modify this file directly. It is compiled from other files. */
/* jshint onevar: false, smarttabs: true */
/* global tb_show, tb_pathToImage, ajaxurl, tb_init, tb_remove */
/* global myblogsResponse, publicizeConnTestStart:true, publicizeConnTestComplete:true, publicizeConnRefreshClick:true */
var showOptionsPage;jQuery(function(e){showOptionsPage=function(n,t,o,a){tb_show(null,null,null),e("body").append("<div id='TB_load'><img src='"+tb_pathToImage+"' /></div>"),e("#TB_load").show();var i="";o&&(i+="&connection="+encodeURIComponent(o)),void 0!==a&&a&&(i+="&blog_id="+Number(a)),e.post(ajaxurl,"action=publicize_"+n+"_options_page&_wpnonce="+t+i,function(t){e("#TB_load").remove();try{var o=jQuery.parseJSON(t);if(o&&"object"==typeof o&&o.hasOwnProperty("fb_redirect"))return void(location.href=o.fb_redirect+"&redirect_uri="+encodeURIComponent(location.href))}catch(e){}if(t){var a=e("input[name=wpas_ajax_blog_id]").val(),i=e('<div id="wpas-ajax-'+a+'" class="wrap"></div>').append(t);i.append('<a href="#TB_inline?thickbox&height=420&width=555&inlineId=wpas-ajax-'+a+'" id="wpas-click-'+a+'" class="new-thickbox" style="display: none;"></a>'),e("#wpas-message").html(i),tb_init("a.new-thickbox"),e("#wpas-click-"+a).click();var s=parseInt(e("#TB_ajaxContent").css("height"),10),c=e("#thickbox-content").height();if(c<s){var r=c+15;e("#TB_ajaxContent").css("height",r);var p=parseInt(e("#TB_window").css("margin-top"),10)+(s-r)/2+"px";e("#TB_window").css("margin-top",p)}e(".save-options").unbind("click").click(function(){var t=e("input[name='option']:checked"),o=e("input[name='global']:checked"),a=e(this).data("connection"),i=encodeURIComponent(t.val()),s=encodeURIComponent(t.attr("id")),c=encodeURIComponent(t.attr("data-type")),r=e(this).attr("rel"),p="off",l="";o.length&&(p="on",l=o.val()),e.post(ajaxurl,"action=publicize_"+n+"_options_save&connection="+a+"&selected_id="+s+"&token="+i+"&type="+c+"&_wpnonce="+r+"&global="+p+"&global_nonce="+l,function(){var e;tb_remove(),e=document.location.search.match(/frame-nonce=([^&]+)/),/inside-newdash=1/.test(document.location.search)&&e?document.location="options-general.php?page=sharing&inside-newdash=1&frame-nonce"+e[1]:top.location="options-general.php?page=sharing"})})}},"html")},e("body").append('<div id="wpas-message" style="display: none"></div>'),e(".wpas-posts").change(function(){var n=e(this).parents("td:first").find(":input"),t=this,o=n.filter("[name=wpas_ajax_blog_id]").val();e("#waiting_"+o).show(),e.post(ajaxurl,n.serialize()+"&action=wpas_post",function(e){myblogsResponse.call(t,o,e)},"html")}),e(".options").unbind("click").bind("click",function(n){n.preventDefault(),n.stopPropagation();var t=e(this).attr("class").replace("options ",""),o=null;void 0!==e(this).attr("id")&&(o=parseInt(e(this).attr("id").replace("options-",""),10));var a=e(this).attr("href").replace("#nonce=",""),i=e(this).data("connection");showOptionsPage.call(this,t,a,i,o)}),publicizeConnTestStart=function(){e(".pub-connection-test").addClass("test-in-progress"),e.post(ajaxurl,{action:"test_publicize_conns"},publicizeConnTestComplete)},publicizeConnRefreshClick=function(e){e.preventDefault();var n=e.currentTarget.href,t=e.currentTarget.title,o=window.open(n,t,""),a=window.setInterval(function(){!1!==o.closed&&(window.clearInterval(a),publicizeConnTestStart())},500)},publicizeConnTestComplete=function(n){e(".pub-connection-test").removeClass("test-in-progress"),e.each(n.data,function(n,t){var o="#pub-connection-test-"+t.connectionID;t.connectionTestPassed?e(o).addClass("test-passed").html("").removeClass("test-failed"):(e(o).addClass("test-failed").html('<p><span class="pub-connection-error">'+t.connectionTestMessage+"</span></p>").removeClass("test-passed"),t.userCanRefresh&&(e(o).append("<br/>"),e("<a/>",{class:"pub-refresh-button button",title:t.refreshText,href:t.refreshURL,text:t.refreshText,target:"_refresh_"+t.serviceName}).appendTo(o).click(publicizeConnRefreshClick)))})},e(document).ready(function(){e(".pub-connection-test").length&&publicizeConnTestStart()})});

View 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){var n=function(t){var n,i;i=function(){return e.findControls()[0].active.get()&&e.get()},n=function(){t.active.set(i())},t.active.validate=i,n(),e.bind(n)};t.control("jetpack_relatedposts[headline]",n)})}(wp.customize);

View File

@@ -0,0 +1,4 @@
/* Do not modify this file directly. It is compiled from other files. */
/* jshint onevar: false */
/* globals related_posts_js_options */
!function(t){function e(){s.cleanupTrackedUrl();var e=s.getEndpointURL(),a=t("#jp-relatedposts");t.getJSON(e,function(e){if(0!==e.items.length&&0!==a.length){s.response=e;var o,p,r={};"undefined"!=typeof wp&&wp.customize?(p=wp.customize.instance("jetpack_relatedposts[show_thumbnails]").get(),r.showDate=wp.customize.instance("jetpack_relatedposts[show_date]").get(),r.showContext=wp.customize.instance("jetpack_relatedposts[show_context]").get(),r.layout=wp.customize.instance("jetpack_relatedposts[layout]").get()):(p=e.show_thumbnails,r.showDate=e.show_date,r.showContext=e.show_context,r.layout=e.layout),o=p?s.generateVisualHtml(e.items,r):s.generateMinimalHtml(e.items,r),a.append(o),s.setVisualExcerptHeights(),r.showDate&&a.find(".jp-relatedposts-post-date").show(),a.show(),t("#jp-relatedposts a.jp-relatedposts-post-a").click(function(){this.href=s.getTrackedUrl(this)})}})}var s={response:null,getEndpointURL:function(e){var s,a="undefined"!=typeof wp&&wp.customize&&wp.customize.settings&&wp.customize.settings.url&&wp.customize.settings.url.self;a?(s=document.createElement("a"),s.href=wp.customize.settings.url.self):s=document.location,"string"==typeof e&&e.match(/^https?:\/\//)&&(s=document.createElement("a"),s.href=e);var o="relatedposts=1";t("#jp-relatedposts").data("exclude")&&(o+="&relatedposts_exclude="+t("#jp-relatedposts").data("exclude")),a&&(o+="&jetpackrpcustomize=1");var p=s.pathname;return"/"!==p[0]&&(p="/"+p),""===s.search?p+"?"+o:p+s.search+"&"+o},getAnchor:function(e,s){var a=e.title;""!=""+e.excerpt&&(a+="\n\n"+e.excerpt);var o=t("<a>");o.attr({class:s,href:e.url,title:a,rel:e.rel,"data-origin":e.url_meta.origin,"data-position":e.url_meta.position});var p=t("<div>").append(o).html();return[p.substring(0,p.length-4),"</a>"]},generateMinimalHtml:function(e,s){var a=this,o="";return t.each(e,function(t,e){var p=a.getAnchor(e,"jp-relatedposts-post-a"),r="jp-relatedposts-post jp-relatedposts-post"+t;e.classes.length>0&&(r+=" "+e.classes.join(" ")),o+='<p class="'+r+'" data-post-id="'+e.id+'" data-post-format="'+e.format+'">',o+='<span class="jp-relatedposts-post-title">'+p[0]+e.title+p[1]+"</span>",s.showDate&&(o+='<span class="jp-relatedposts-post-date">'+e.date+"</span>"),s.showContext&&(o+='<span class="jp-relatedposts-post-context">'+e.context+"</span>"),o+="</p>"}),'<div class="jp-relatedposts-items jp-relatedposts-items-minimal jp-relatedposts-'+s.layout+' ">'+o+"</div>"},generateVisualHtml:function(e,s){var a=this,o="";return t.each(e,function(e,p){var r=a.getAnchor(p,"jp-relatedposts-post-a"),i="jp-relatedposts-post jp-relatedposts-post"+e;if(p.classes.length>0&&(i+=" "+p.classes.join(" ")),p.img.src?i+=" jp-relatedposts-post-thumbs":i+=" jp-relatedposts-post-nothumbs",o+='<div class="'+i+'" data-post-id="'+p.id+'" data-post-format="'+p.format+'">',p.img.src)o+=r[0]+'<img class="jp-relatedposts-post-img" src="'+p.img.src+'" width="'+p.img.width+'" alt="'+p.title+'" />'+r[1];else{var n=a.getAnchor(p,"jp-relatedposts-post-a jp-relatedposts-post-aoverlay");o+=n[0]+n[1]}o+="<"+related_posts_js_options.post_heading+' class="jp-relatedposts-post-title">'+r[0]+p.title+r[1]+"</"+related_posts_js_options.post_heading+">",o+='<p class="jp-relatedposts-post-excerpt">'+t("<p>").text(p.excerpt).html()+"</p>",s.showDate&&(o+='<p class="jp-relatedposts-post-date">'+p.date+"</p>"),s.showContext&&(o+='<p class="jp-relatedposts-post-context">'+p.context+"</p>"),o+="</div>"}),'<div class="jp-relatedposts-items jp-relatedposts-items-visual jp-relatedposts-'+s.layout+' ">'+o+"</div>"},setVisualExcerptHeights:function(){var e=t("#jp-relatedposts .jp-relatedposts-post-nothumbs .jp-relatedposts-post-excerpt");if(!(0>=e.length)){var s=parseInt(e.first().css("font-size"),10),a=parseInt(e.first().css("line-height"),10);e.css("max-height",5*a/s+"em")}},getTrackedUrl:function(e){var s="relatedposts_hit=1";s+="&relatedposts_origin="+t(e).data("origin"),s+="&relatedposts_position="+t(e).data("position");var a=e.pathname;return"/"!==a[0]&&(a="/"+a),""===e.search?a+"?"+s:a+e.search+"&"+s},cleanupTrackedUrl:function(){if("function"==typeof history.replaceState){var t=document.location.search.replace(/\brelatedposts_[a-z]+=[0-9]*&?\b/gi,"");"?"===t&&(t=""),document.location.search!==t&&history.replaceState({},document.title,document.location.pathname+t)}}};t(function(){"undefined"!=typeof wp&&wp.customize?(wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){"jetpack_relatedposts"===t.partial.id&&e()}),wp.customize.bind("preview-ready",e)):e()})}(jQuery);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
"use strict";!function(e,t,l){var n=e.registerBlockType,a=e.UrlInput,r=t.Placeholder,i=t.SelectControl,c=l.__;n("jetpack/vr",{title:c("VR Image","jetpack"),icon:"embed-photo",category:"embed",support:{html:!1},attributes:{url:{type:"string"},view:{type:"string"}},edit:function(e){var t=e.attributes,l=function(t){return e.setAttributes({url:t})},n=function(t){return e.setAttributes({view:t})};return function(){return t.url&&t.view?wp.element.createElement("div",{className:e.className},wp.element.createElement("iframe",{title:c("VR Image","jetpack"),allowFullScreen:"true",frameBorder:"0",width:"100%",height:"300",src:"https://vr.me.sh/view/?view="+encodeURIComponent(t.view)+"&url="+encodeURIComponent(t.url)})):wp.element.createElement("div",null,wp.element.createElement(r,{key:"placeholder",instructions:c("Enter URL to VR image","jetpack"),icon:"format-image",label:c("VR Image","jetpack"),className:e.className},wp.element.createElement(a,{value:t.url,onChange:l}),wp.element.createElement("div",{style:{marginTop:"10px"}},wp.element.createElement(i,{label:c("View Type","jetpack"),value:t.view,onChange:n,options:[{label:"",value:""},{label:c("360","jetpack"),value:"360"},{label:c("Cinema","jetpack"),value:"cinema"}]}))))}()},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement("iframe",{title:c("VR Image","jetpack"),allowFullScreen:"true",frameBorder:"0",width:"100%",height:"300",src:"https://vr.me.sh/view/?view="+encodeURIComponent(e.attributes.view)+"&url="+encodeURIComponent(e.attributes.url)}))}})}(wp.blocks,wp.components,wp.i18n);

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global brightcove, brightcoveData */
!function(e){function t(){clearTimeout(r),"object"==typeof brightcove?(e(document).ready(brightcove.createExperiences),e("body").on("post-load",brightcove.createExperiences),brightcove.createExperiences()):r=setTimeout(t,100)}var c=document.createElement("script"),o="co.jp"===brightcoveData.tld?"co.jp":"com",r=!1;c.src="https://sadmin.brightcove."+o+"/js/BrightcoveExperiences.js",c.type="text/javascript",c.language="JavaScript",document.head.appendChild(c),t()}(jQuery);

View 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);

View 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()}();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(s){function t(t){var i,o,n,l,r;i=this,i.wrapper=s(t),i.slideshow=s(".presentation",t),i.navLeft=s(".nav-arrow-left",t),i.navRight=s(".nav-arrow-right",t),i.expandButton=s(".nav-fullscreen-button",t),i.overlay=s(".autoplay-overlay",t),i.fullscreen=!1,i.autoPlaying=!1,i.autoplayTime=parseFloat(i.slideshow.attr("data-autoplay"),10)||0,i.wrapper.css({width:i.slideshow.width(),height:i.slideshow.height()}),o=i.slideshow.attr("duration")||"1s",e.animation.transitionDuration=o,i.autoplayTime&&(i.autoplayTime+=1e3*parseFloat(o,10)),o="opacity "+o,n={width:i.slideshow.width(),height:i.slideshow.height(),"-webkit-transition":o,"-moz-transition":o,"-ms-transition":o,"-o-transition":o,transition:o},s(".step",i.slideshow).each(function(t,e){s(e).css(n)}),s(".step.fadebullets li",i.slideshow).each(function(t,e){s(e).attr("data-jmpress","fade")}),s(window).resize(function(){i.fullscreen&&i.resizePresentation()}),i.navLeft.on("click",function(){return i.slideshow.jmpress("prev"),i.overlay.css("opacity",0),!1}),i.navRight.on("click",function(){return i.slideshow.jmpress("next"),i.overlay.css("opacity",0),!1}),i.slideshow.on("click",function(){return i.setAutoplay(!0),!1}),i.slideshow.on("focusout",function(){i.setAutoplay(!1)}),l=/MSIE\s(\d+)\.\d+/,r=l.exec(navigator.userAgent),r&&parseInt(r[1],10)<10?(i.expandButton.remove(),i.expandButton=null):i.expandButton.on("click",function(){return i.setFullscreen(!i.fullscreen),!1}),s(window).on("keydown",function(s){27===s.which&&i.setFullscreen(!1)}),i.slideshow.jmpress(e),i.slideshow.jmpress("initialized")&&(i.slideshow.css("display",""),i.overlay.css("display",""),s(".not-supported-msg",i.wrapper).remove()),i.setFullscreen(!1)}var e={fullscreen:!1,hash:{use:!1},mouse:{clickSelects:!1},keyboard:{use:!0},animation:{transitionDuration:"1s"},presentationMode:!1,stepSelector:".step",duration:{defaultValue:0}};s.extend(t.prototype,{resizePresentation:function(){var t,e,i,o,n,l;i=this.slideshow.jmpress("settings"),e=i.animation.transitionDuration,i.animation.transitionDuration="0s",this.slideshow.jmpress("reselect"),t=1,o={top:0,left:0,zoom:1},this.fullscreen&&(n=s(window).width()/this.slideshow.width(),l=s(window).height()/this.slideshow.height(),t=Math.min(n,l),o.top=(s(window).height()-t*this.slideshow.height())/2,o.left=(s(window).width()-t*this.slideshow.width())/2),this.slideshow.css("-moz-transform")||this.slideshow.css("-ms-transform")?(o.top+=(t-1)*this.slideshow.height()/2,o.left+=(t-1)*this.slideshow.width()/2,t="scale("+t+")",s.extend(o,{"-moz-transform":t,"-ms-transform":t,transform:t})):(o.top/=t,o.left/=t,o.zoom=t),this.slideshow.css(o),i.animation.transitionDuration=e,this.slideshow.jmpress("reselect")},setFullscreen:function(t){this.fullscreen=t,this.setAutoplay(!1),t&&(this.scrollVert=s(window).scrollTop(),this.scrollHoriz=s(window).scrollLeft(),s(window).scrollTop(0),s(window).scrollLeft(0)),s("html").toggleClass("presentation-global-fullscreen",t),s("body").toggleClass("presentation-global-fullscreen",t),this.wrapper.toggleClass("presentation-wrapper-fullscreen",t),this.wrapper.parents().each(function(e,i){s(i).toggleClass("presentation-wrapper-fullscreen-parent",t)}),this.resizePresentation(),t||(s(window).scrollTop(this.scrollVert),s(window).scrollLeft(this.scrollHoriz))},setAutoplay:function(s){var t,e=this;e.autoPlaying!==s&&(t=s&&e.autoplayTime>0?e.autoplayTime:0,e.slideshow.jmpress("settings").duration.defaultValue=t,t?(e.slideshow.jmpress("next"),e.overlay.css("opacity",0)):e.slideshow.jmpress("reselect"),e.autoPlaying=s)}}),s(document).ready(function(){s(".presentation-wrapper").map(function(){new t(this)})})}(jQuery);

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(a){a.fn.shuffleQuiz=function(){var t=this.get(),n=function(a){return Math.floor(Math.random()*a)},i=a.map(t,function(){var i=n(t.length),r=a(t[i]).clone(!0)[0];return t.splice(i,1),r});return this.each(function(t){a(this).replaceWith(a(i[t]))}),a(i)}}(jQuery),jQuery(function(a){a(".jetpack-quiz").each(function(){var t=a(this);t.find("div.jetpack-quiz-answer").shuffleQuiz(),t.find("div[data-correct]").removeAttr("data-correct").data("correct",1),t.find("div.jetpack-quiz-answer:last").addClass("last")}),a("div.jetpack-quiz").on("click","div.jetpack-quiz-answer",function(){var t,n=a(this),i=n.closest("div.jetpack-quiz");i.data("a8ctraining")&&((new Image).src="//pixel.wp.com/b.gif?v=wpcom-no-pv&x_trainingchaos-"+i.data("username")+"="+i.data("a8ctraining")+"&rand="+Math.random(),i.data("a8ctraining",!1),i.data("trackid",!1)),t=i.data("trackid"),n.data("correct")?(n.addClass("correct"),t&&((new Image).src="//pixel.wp.com/b.gif?v=wpcom-no-pv&x_quiz-"+t+"=correct&rand="+Math.random())):(n.addClass("wrong"),t&&((new Image).src="//pixel.wp.com/b.gif?v=wpcom-no-pv&x_quiz-"+t+"=wrong&rand="+Math.random())),i.data("trackid",!1)})});

View File

@@ -0,0 +1,42 @@
/* Do not modify this file directly. It is compiled from other files. */
// jshint ignore: start
/*
* printThis v1.9.0
* @desc Printing plug-in for jQuery
* @author Jason Day
*
* Resources (based on) :
* jPrintArea: http://plugins.jquery.com/project/jPrintArea
* jqPrint: https://github.com/permanenttourist/jquery.jqprint
* Ben Nadal: http://www.bennadel.com/blog/1591-Ask-Ben-Print-Part-Of-A-Web-Page-With-jQuery.htm
*
* Licensed under the MIT licence:
* http://www.opensource.org/licenses/mit-license.php
*
* (c) Jason Day 2015
*
* Usage:
*
* $("#mySelector").printThis({
* debug: false, * show the iframe for debugging
* importCSS: true, * import page CSS
* importStyle: false, * import style tags
* printContainer: true, * grab outer container as well as the contents of the selector
* loadCSS: "path/to/my.css", * path to additional css file - us an array [] for multiple
* pageTitle: "", * add title to print page
* removeInline: false, * remove all inline styles from print elements
* printDelay: 333, * variable print delay
* header: null, * prefix to html
* footer: null, * postfix to html
* base: false, * preserve the BASE tag, or accept a string for the URL
* formValues: true * preserve input/form values
* canvas: false * copy canvas elements (experimental)
* doctypeString: '...' * enter a different doctype for older markup
* });
*
* Notes:
* - the loadCSS will load additional css (with or without @media print) into the iframe, adjusting layout
*
* jshint onevar: false, smarttabs: true, devel: true
*/
!function(e){var t;e.fn.printThis=function(n){t=e.extend({},e.fn.printThis.defaults,n);var i=this instanceof jQuery?this:e(this),a="printThis-"+(new Date).getTime();if(window.location.hostname!==document.domain&&navigator.userAgent.match(/msie/i)){var o='javascript:document.write("<head><script>document.domain=\\"'+document.domain+'\\";<\/script></head><body></body>")',r=document.createElement("iframe");r.name="printIframe",r.id=a,r.className="MSIE",document.body.appendChild(r),r.src=o}else{e("<iframe id='"+a+"' name='printIframe' />").appendTo("body")}var d=e("#"+a);t.debug||d.css({position:"absolute",width:"0px",height:"0px",left:"-600px",top:"-600px"}),setTimeout(function(){t.doctypeString&&function(e,t){var n,i;n=e.get(0),n=n.contentWindow||n.contentDocument||n,i=n.document||n.contentDocument||n,i.open(),i.write(t),i.close()}(d,t.doctypeString);var n,a=d.contents(),o=a.find("head"),r=a.find("body"),s=e("base");if(n=!0===t.base&&s.length>0?s.attr("href"):"string"==typeof t.base?t.base:document.location.protocol+"//"+document.location.host,o.append('<base href="'+n+'">'),t.importCSS&&e("link[rel=stylesheet]").each(function(){var t=e(this).attr("href");if(t){var n=e(this).attr("media")||"all";o.append("<link type='text/css' rel='stylesheet' href='"+t+"' media='"+n+"'>")}}),t.importStyle&&e("style").each(function(){e(this).clone().appendTo(o)}),t.pageTitle&&o.append("<title>"+t.pageTitle+"</title>"),t.loadCSS&&(e.isArray(t.loadCSS)?jQuery.each(t.loadCSS,function(e,t){o.append("<link type='text/css' rel='stylesheet' href='"+this+"'>")}):o.append("<link type='text/css' rel='stylesheet' href='"+t.loadCSS+"'>")),t.header&&r.append(t.header),t.canvas){var c=0;i.find("canvas").each(function(){e(this).attr("data-printthis",c++)})}if(t.printContainer?r.append(i.outer()):i.each(function(){r.append(e(this).html())}),t.canvas&&r.find("canvas").each(function(){var t=e(this).data("printthis"),n=e('[data-printthis="'+t+'"]');this.getContext("2d").drawImage(n[0],0,0),n.removeData("printthis")}),t.formValues){var p=i.find("input");p.length&&p.each(function(){var t=e(this),n=e(this).attr("name"),i=t.is(":checkbox")||t.is(":radio"),o=a.find('input[name="'+n+'"]'),r=t.val();i?t.is(":checked")&&(t.is(":checkbox")?o.attr("checked","checked"):t.is(":radio")&&a.find('input[name="'+n+'"][value="'+r+'"]').attr("checked","checked")):o.val(r)});var h=i.find("select");h.length&&h.each(function(){var t=e(this),n=e(this).attr("name"),i=t.val();a.find('select[name="'+n+'"]').val(i)});var l=i.find("textarea");l.length&&l.each(function(){var t=e(this),n=e(this).attr("name"),i=t.val();a.find('textarea[name="'+n+'"]').val(i)})}t.removeInline&&(e.isFunction(e.removeAttr)?a.find("body *").removeAttr("style"):a.find("body *").attr("style","")),t.footer&&r.append(t.footer),setTimeout(function(){d.hasClass("MSIE")?(window.frames.printIframe.focus(),o.append("<script> window.print(); <\/script>")):document.queryCommandSupported("print")?d[0].contentWindow.document.execCommand("print",!1,null):(d[0].contentWindow.focus(),d[0].contentWindow.print()),t.debug||setTimeout(function(){d.remove()},1e3)},t.printDelay)},333)},e.fn.printThis.defaults={debug:!1,importCSS:!0,importStyle:!1,printContainer:!0,loadCSS:"",pageTitle:"",removeInline:!1,printDelay:333,header:null,footer:null,formValues:!0,canvas:!1,base:!1,doctypeString:"<!DOCTYPE html>"},jQuery.fn.outer=function(){return e(e("<div></div>").html(this.clone())).html()}}(jQuery);

View 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);

View 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="&nbsp;",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);

View File

@@ -0,0 +1,7 @@
/* Do not modify this file directly. It is compiled from other files. */
//fgnass.github.com/spin.js#v1.3
/**
* Copyright (c) 2011-2013 Felix Gnass
* Licensed under the MIT license
*/
!function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Spinner=e()}(this,function(){"use strict";function t(t,e){var i,o=document.createElement(t||"div");for(i in e)o[i]=e[i];return o}function e(t){for(var e=1,i=arguments.length;e<i;e++)t.appendChild(arguments[e]);return t}function i(t,e,i,o){var r=["opacity",e,~~(100*t),i,o].join("-"),n=.01+i/o*100,s=Math.max(1-(1-t)/e*(100-n),t),a=l.substring(0,l.indexOf("Animation")).toLowerCase(),f=a&&"-"+a+"-"||"";return p[r]||(c.insertRule("@"+f+"keyframes "+r+"{0%{opacity:"+s+"}"+n+"%{opacity:"+t+"}"+(n+.01)+"%{opacity:1}"+(n+e)%100+"%{opacity:"+t+"}100%{opacity:"+s+"}}",c.cssRules.length),p[r]=1),r}function o(t,e){var i,o,r=t.style;if(void 0!==r[e])return e;for(e=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<f.length;o++)if(i=f[o]+e,void 0!==r[i])return i}function r(t,e){for(var i in e)t.style[o(t,i)||i]=e[i];return t}function n(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)void 0===t[o]&&(t[o]=i[o])}return t}function s(t){for(var e={x:t.offsetLeft,y:t.offsetTop};t=t.offsetParent;)e.x+=t.offsetLeft,e.y+=t.offsetTop;return e}function a(t){if(void 0===this)return new a(t);this.opts=n(t||{},a.defaults,d)}var l,f=["webkit","Moz","ms","O"],p={},c=function(){var i=t("style",{type:"text/css"});return e(document.getElementsByTagName("head")[0],i),i.sheet||i.styleSheet}(),d={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"auto",left:"auto",position:"relative"};a.defaults={},n(a.prototype,{spin:function(e){this.stop();var i,o,n=this,a=n.opts,f=n.el=r(t(0,{className:a.className}),{position:a.position,width:0,zIndex:a.zIndex}),p=a.radius+a.length+a.width;if(e&&(e.insertBefore(f,e.firstChild||null),o=s(e),i=s(f),r(f,{left:("auto"==a.left?o.x-i.x+(e.offsetWidth>>1):parseInt(a.left,10)+p)+"px",top:("auto"==a.top?o.y-i.y+(e.offsetHeight>>1):parseInt(a.top,10)+p)+"px"})),f.setAttribute("role","progressbar"),n.lines(f,n.opts),!l){var c,d=0,u=(a.lines-1)*(1-a.direction)/2,h=a.fps,y=h/a.speed,m=(1-a.opacity)/(y*a.trail/100),v=y/a.lines;!function t(){d++;for(var e=0;e<a.lines;e++)c=Math.max(1-(d+(a.lines-e)*v)%y*m,a.opacity),n.opacity(f,e*a.direction+u,c,a);n.timeout=n.el&&setTimeout(t,~~(1e3/h))}()}return n},stop:function(){var t=this.el;return t&&(clearTimeout(this.timeout),t.parentNode&&t.parentNode.removeChild(t),this.el=void 0),this},lines:function(o,n){function s(e,i){return r(t(),{position:"absolute",width:n.length+n.width+"px",height:n.width+"px",background:e,boxShadow:i,transformOrigin:"left",transform:"rotate("+~~(360/n.lines*f+n.rotate)+"deg) translate("+n.radius+"px,0)",borderRadius:(n.corners*n.width>>1)+"px"})}for(var a,f=0,p=(n.lines-1)*(1-n.direction)/2;f<n.lines;f++)a=r(t(),{position:"absolute",top:1+~(n.width/2)+"px",transform:n.hwaccel?"translate3d(0,0,0)":"",opacity:n.opacity,animation:l&&i(n.opacity,n.trail,p+f*n.direction,n.lines)+" "+1/n.speed+"s linear infinite"}),n.shadow&&e(a,r(s("#000","0 0 4px #000"),{top:"2px"})),e(o,e(a,s(n.color,"0 0 1px rgba(0,0,0,.1)")));return o},opacity:function(t,e,i){e<t.childNodes.length&&(t.childNodes[e].style.opacity=i)}});var u=r(t("group"),{behavior:"url(#default#VML)"});return!o(u,"transform")&&u.adj?function(){function i(e,i){return t("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',i)}c.addRule(".spin-vml","behavior:url(#default#VML)"),a.prototype.lines=function(t,o){function n(){return r(i("group",{coordsize:f+" "+f,coordorigin:-l+" "+-l}),{width:f,height:f})}function s(t,s,a){e(c,e(r(n(),{rotation:360/o.lines*t+"deg",left:~~s}),e(r(i("roundrect",{arcsize:o.corners}),{width:l,height:o.width,left:o.radius,top:-o.width>>1,filter:a}),i("fill",{color:o.color,opacity:o.opacity}),i("stroke",{opacity:0}))))}var a,l=o.length+o.width,f=2*l,p=2*-(o.width+o.length)+"px",c=r(n(),{position:"absolute",top:p,left:p});if(o.shadow)for(a=1;a<=o.lines;a++)s(a,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(a=1;a<=o.lines;a++)s(a);return e(t,c)},a.prototype.opacity=function(t,e,i,o){var r=t.firstChild;o=o.shadow&&o.lines||0,r&&e+o<r.childNodes.length&&(r=r.childNodes[e+o],r=r&&r.firstChild,(r=r&&r.firstChild)&&(r.opacity=i))}}():l=o(u,"animation"),a});

View File

@@ -0,0 +1,7 @@
<div id="ie-legacy-notice" style="display:none;"><div class="dops-notice is-warning"><span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"></path></g></svg></span><span class="dops-notice__content"><span class="dops-notice__text"><div>#HEADER_TEXT#<br/>#TEXT#</div></span></span></div></div><script type="text/javascript">
/*@cc_on
if ( @_jscript_version <= 10) {
jQuery( '#ie-legacy-notice' ).show();
}
@*/
</script>

View File

@@ -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>

View File

@@ -0,0 +1 @@
<div class="dops-notice is-warning"><span class="dops-notice__icon-wrapper"><svg class="gridicon gridicons-notice dops-notice__icon" height="24" width="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"></path></g></svg></span><span class="dops-notice__content"><span class="dops-notice__text"><div>#HEADER_TEXT#<br/>#TEXT#</div></span></span></div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View 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")}function n(i){function t(){i.resizeAll(),n&&o(t)}var n=!1,r=null;e(window).resize(function(){clearTimeout(r),n||o(t),n=!0,r=setTimeout(function(){n=!1},15)})}function r(i){e(window).resize(function(){i.resizeAll()})}i.prototype.findAndSetupNewGalleries=function(){var i=this;e(".tiled-gallery.tiled-gallery-unresized").each(function(){i.galleries.push(new t(e(this)))})},i.prototype.resizeAll=function(){e.each(this.galleries,function(e,i){i.resize()})},t.prototype.resizeableElementsSelector=".gallery-row, .gallery-group, .tiled-gallery-item img",t.prototype.addCaptionEvents=function(){this.gallery.find(".tiled-gallery-caption").hide(),this.gallery.find(".tiled-gallery-item").hover(function(){e(this).find(".tiled-gallery-caption").stop(!0,!0).slideDown("fast")},function(){e(this).find(".tiled-gallery-caption").stop(!0,!0).slideUp("fast")})},t.prototype.getExtraDimension=function(e,i,t){if("horizontal"===t){var n="border"===i?"borderLeftWidth":i+"Left",r="border"===i?"borderRightWidth":i+"Right";return(parseInt(e.css(n),10)||0)+(parseInt(e.css(r),10)||0)}if("vertical"===t){var o="border"===i?"borderTopWidth":i+"Top",a="border"===i?"borderBottomWidth":i+"Bottom";return(parseInt(e.css(o),10)||0)+(parseInt(e.css(a),10)||0)}return 0},t.prototype.resize=function(){var i=this.gallery.data("original-width"),t=this.gallery.parent().width(),n=Math.min(1,t/i),r=this;this.gallery.find(this.resizeableElementsSelector).each(function(){var i=e(this),t=r.getExtraDimension(i,"margin","horizontal"),o=r.getExtraDimension(i,"margin","vertical"),a=r.getExtraDimension(i,"padding","horizontal"),l=r.getExtraDimension(i,"padding","vertical"),s=r.getExtraDimension(i,"border","horizontal"),d=r.getExtraDimension(i,"border","vertical"),c=i.data("original-width")+a+s+t,h=i.data("original-height")+l+d+o;i.width(Math.floor(n*c)-t).height(Math.floor(n*h)-o)})};var o=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame;e(document).ready(function(){var t=new i;e("body").on("post-load",function(e,i){"string"==typeof i&&"resize"===i?t.resizeAll():t.findAndSetupNewGalleries()}),e(document).on("page-rendered.wpcom-newdash",function(){t.findAndSetupNewGalleries()}),window.chrome&&o?n(t):r(t),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(e){wp.isJetpackWidgetPlaced(e,"gallery")&&t.findAndSetupNewGalleries()})})}(jQuery);

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* jshint ignore:start */
!function(t,e,r){var n,s=t.getElementsByTagName(e)[0],i=/^http:/.test(t.location)?"http":"https";t.getElementById(r)||(n=t.createElement(e),n.id=r,n.src=i+"://platform.twitter.com/widgets.js",s.parentNode.insertBefore(n,s))}(document,"script","twitter-wjs");

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global tinyMCE, vpEditorView */
!function(e,t,a){t.mce=t.mce||{},void 0!==t.mce.views&&(t.mce.videopress_wp_view_renderer={shortcode_string:"videopress",shortcode_data:{},defaults:{w:"",at:"",permalink:!0,hd:!1,loop:!1,freedom:!1,autoplay:!1,flashonly:!1},coerce:t.media.coerce,template:t.template("videopress_iframe_vnext"),getContent:function(){var e,t,o,s="for="+encodeURIComponent(a.home_url_host),l=this.shortcode.attrs.named;for(t in l)switch(t){case"at":parseInt(l[t],10)&&(s+="&"+t+"="+parseInt(l[t],10));break;case"permalink":"false"===l[t]&&(s+="&"+t+"=0");break;case"hd":case"loop":case"autoplay":"true"===l[t]&&(s+="&"+t+"=1")}return e={width:a.content_width,height:.5625*a.content_width,guid:this.shortcode.attrs.numeric[0],urlargs:s},void 0!==l.w&&(o=parseInt(l.w,10))>=a.min_content_width&&o<a.content_width&&(e.width=o,e.height=parseInt(.5625*o,10)),e.ratio=e.height/e.width*100,this.template(e)},edit:function(o){var s=t.shortcode.next(this.shortcode_string,o),l=s.shortcode.attrs.named,i=tinyMCE.activeEditor,n=this,d=tinyMCE.ui.FormItem.prototype.renderHtml;tinyMCE.ui.TextBox.prototype.renderHtml=function(){var e,t,a=this,o=a.settings,s=document.createElement(o.multiline?"textarea":"input"),l=["rows","spellcheck","maxLength","size","readonly","min","max","step","list","pattern","placeholder","required","multiple"];for(e=0;e<l.length;e++)t=l[e],void 0!==o[t]&&s.setAttribute(t,o[t]);return o.multiline?s.innerText=a.state.get("value"):(s.setAttribute("type",o.subtype?o.subtype:"text"),s.setAttribute("value",a.state.get("value"))),s.id=a._id,s.className=a.classes,s.setAttribute("hidefocus",1),a.disabled()&&(s.disabled=!0),s.outerHTML},tinyMCE.ui.FormItem.prototype.renderHtml=function(){return _.each(a.modal_labels,function(e,t){e===this.settings.items.text&&this.classes.add("videopress-field-"+t)},this),_.contains([a.modal_labels.hd,a.modal_labels.permalink,a.modal_labels.autoplay,a.modal_labels.loop,a.modal_labels.freedom,a.modal_labels.flashonly],this.settings.items.text)&&this.classes.add("videopress-checkbox"),d.call(this)},_.each(this.defaults,function(e,t){l[t]=this.coerce(l,t)},this),i.windowManager.open({title:a.modal_labels.title,id:"videopress-shortcode-settings-modal",width:520,height:240,body:[{type:"textbox",disabled:!0,name:"guid",label:a.modal_labels.guid,value:s.shortcode.attrs.numeric[0]},{type:"textbox",subtype:"number",min:a.min_content_width,name:"w",label:a.modal_labels.w,value:l.w},{type:"textbox",subtype:"number",min:0,name:"at",label:a.modal_labels.at,value:l.at},{type:"checkbox",name:"hd",label:a.modal_labels.hd,checked:l.hd},{type:"checkbox",name:"permalink",label:a.modal_labels.permalink,checked:l.permalink},{type:"checkbox",name:"autoplay",label:a.modal_labels.autoplay,checked:l.autoplay},{type:"checkbox",name:"loop",label:a.modal_labels.loop,checked:l.loop},{type:"checkbox",name:"freedom",label:a.modal_labels.freedom,checked:l.freedom},{type:"checkbox",name:"flashonly",label:a.modal_labels.flashonly,checked:l.flashonly}],onsubmit:function(e){var a={tag:n.shortcode_string,type:"single",attrs:{named:_.pick(e.data,_.keys(n.defaults)),numeric:[e.data.guid]}};"0"===a.attrs.named.at&&(a.attrs.named.at=""),_.each(n.defaults,function(e,t){a.attrs.named[t]=this.coerce(a.attrs.named,t),e===a.attrs.named[t]&&delete a.attrs.named[t]},n),i.insertContent(t.shortcode.string(a))},onopen:function(t){var o="mce-videopress-field-";_.each(["w","at"],function(e){t.target.$el.find("."+o+e+" .mce-container-body").append('<span class="'+o+"unit "+o+"unit-"+e+'">'+a.modal_labels[e+"_unit"])}),e("body").addClass("modal-open")},onclose:function(){e("body").removeClass("modal-open")}}),tinyMCE.ui.FormItem.prototype.renderHtml=d}},t.mce.views.register("videopress",t.mce.videopress_wp_view_renderer),t.mce.wpvideo_wp_view_renderer=_.extend({},t.mce.videopress_wp_view_renderer,{shortcode_string:"wpvideo"}),t.mce.views.register("wpvideo",t.mce.wpvideo_wp_view_renderer))}(jQuery,wp,vpEditorView);

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
window.wp=window.wp||{},function(e){e.mediaWidgets&&(e.mediaWidgets.controlConstructors.media_video.prototype.mapMediaToModelProps=function(e){return function(o){var t,i,d;return i=e.call(this,o),t=_.extend({},i),o.videopress&&o.videopress.guid&&(d=o.videopress.guid),!d&&o.videopress_guid&&o.videopress_guid.length&&(d=o.videopress_guid[0]),d&&(t=_.extend({},i,{url:"https://videopress.com/v/"+d,attachment_id:0})),t}}(e.mediaWidgets.controlConstructors.media_video.prototype.mapMediaToModelProps),e.mediaWidgets.controlConstructors.media_video.prototype.isHostedVideo=function(e){return function(o){var t=document.createElement("a");return t.href=o,"videopress.com"===t.hostname||e.call(this,o)}}(e.mediaWidgets.controlConstructors.media_video.prototype.isHostedVideo))}(window.wp);

File diff suppressed because one or more lines are too long

View 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=this;"video"===i.type.split("/")[0]?t.ajax("videopress-get-upload-token",{async:!1,data:{filename:i.name}}).done(function(e){i.videopress=e,a(!0)}).fail(function(e){o.trigger("Error",{code:plupload.VIDEOPRESS_TOKEN_FAILURE,message:plupload.translate("Could not get the VideoPress token needed for uploading"),file:i,response:e}),a(!1)}):void 0!==i.size&&e&&i.size>e?(this.trigger("Error",{code:plupload.FILE_SIZE_ERROR,message:plupload.translate("File size error."),file:i}),a(!1)):a(!0)})}e.VideoPress=i}(window.wp);

View File

@@ -0,0 +1,7 @@
/* Do not modify this file directly. It is compiled from other files. */
/* jshint onevar: false, smarttabs: true */
/* global isRtl */
/* global widget_conditions_parent_pages */
/* global widget_conditions_data */
/* global jQuery */
jQuery(function(i){function t(t){var n,e;if(i("body").hasClass("wp-customizer"))return void t.find(".widget-inside").css("top",0);t.hasClass("expanded")?(t.attr("style")&&t.data("original-style",t.attr("style")),(n=t.width())<400&&(e=400-n,isRtl?t.css("position","relative").css("right","-"+e+"px").css("width","400px"):t.css("position","relative").css("left","-"+e+"px").css("width","400px"))):t.data("original-style")?t.attr("style",t.data("original-style")).data("original-style",null):t.removeAttr("style")}function n(i){var t=i.find("a.display-options").first();t.insertBefore(i.find("input.widget-control-save")),t.parent().removeClass("widget-control-noform").find(".spinner").remove().css("float","left").prependTo(t.parent())}function e(t){var n,e,o,d,a,c,l,r,h,p,u,g,f=t.find(".conditions-rule-minor").html(""),v=t.data("rule-major");if(!v||"post_type"===v)return void f.attr("disabled","disabled");for(n=t.data("rule-minor"),e=t.data("rule-has-children"),o=widget_conditions_data[v],d=0,r=o.length;d<r;d++)if(c=o[d][0],"object"==typeof(l=o[d][1])){for(g=i("<optgroup/>").attr("label",c),a=0,h=l.length;a<h;a++)p=o[d][1][a][0],u=o[d][1][a][1],g.append(i("<option/>").val(p).text(s(u.replace(/&nbsp;/g," "))));f.append(g)}else f.append(i("<option/>").val(c).text(s(l.replace(/&nbsp;/g," "))));f.removeAttr("disabled"),f.val(n),"page"===v&&n in widget_conditions_parent_pages?(f.siblings("span.conditions-rule-has-children").show(),e&&f.siblings("span.conditions-rule-has-children").find('input[type="checkbox"]').attr("checked","checked")):f.siblings("span.conditions-rule-has-children").hide().find('input[type="checkbox"]').removeAttr("checked")}function o(t){var n=0;t.find("span.conditions-rule-has-children").find('input[type="checkbox"]').each(function(){i(this).attr("name","conditions[page_children]["+n+"]"),n++})}function s(i){var t=document.createElement("textarea");return t.innerHTML=i,t.value}var d=i("div#widgets-right");d.length&&i(d).find(".widget-control-actions").length||(d=i("form#customize-controls")),i(".widget").each(function(){n(i(this))}),i(document).on("widget-added",function(i,t){0===t.find("div.widget-control-actions a.display-options").length&&n(t)}),d.on("click.widgetconditions","a.add-condition",function(t){var n=i(this).closest("div.condition"),e=n.clone().data("rule-major","").data("rule-minor","").data("has-children","").insertAfter(n);t.preventDefault(),e.find("select.conditions-rule-major").val(""),e.find("select.conditions-rule-minor").html("").attr("disabled"),e.find("span.conditions-rule-has-children").hide().find('input[type="checkbox"]').removeAttr("checked"),o(e.closest(".conditions"))}),d.on("click.widgetconditions","a.display-options",function(n){var o=i(this),s=o.closest("div.widget");n.preventDefault(),s.find("div.widget-conditional").toggleClass("widget-conditional-hide"),i(this).toggleClass("active"),s.toggleClass("expanded"),t(s),i(this).hasClass("active")?(s.find("input[name=widget-conditions-visible]").val("1"),s.find(".condition").each(function(){e(i(this))})):s.find("input[name=widget-conditions-visible]").val("0")}),d.on("click.widgetconditions","a.delete-condition",function(t){var n=i(this).closest("div.condition");t.preventDefault(),n.is(":first-child")&&n.is(":last-child")?(i(this).closest("div.widget").find("a.display-options").click(),n.find("select.conditions-rule-major").val("").change()):(n.find("select.conditions-rule-major").change(),n.detach()),o(n.closest(".conditions"))}),d.on("click.widgetconditions","div.widget-top",function(){var n=i(this).closest("div.widget"),e=n.find("a.display-options");e.hasClass("active")&&e.attr("opened","true"),e.attr("opened")&&(e.removeAttr("opened"),n.toggleClass("expanded"),t(n))}),d.on("change.widgetconditions","input.conditions-match-all",function(){i(this).parents(".widget-conditional").toggleClass("conjunction").toggleClass("intersection")}),i(document).on("change.widgetconditions","select.conditions-rule-major",function(){var t=i(this),n=t.siblings("select.conditions-rule-minor:first"),o=t.siblings("span.conditions-rule-has-children"),s=n.closest(".condition");s.data("rule-minor","").data("rule-major",t.val()),t.val()?e(s):(t.siblings("select.conditions-rule-minor").attr("disabled","disabled").html(""),o.hide().find('input[type="checkbox"]').removeAttr("checked"))}),i(document).on("change.widgetconditions","select.conditions-rule-minor",function(){var t=i(this),n=t.siblings("select.conditions-rule-major"),e=t.siblings("span.conditions-rule-has-children");t.closest(".condition").data("rule-minor",t.val()),"page"===n.val()&&t.val()in widget_conditions_parent_pages?e.show():e.hide().find('input[type="checkbox"]').removeAttr("checked")}),i(document).on("widget-updated widget-synced",function(t,n){n.find(".condition").each(function(){e(i(this))})})});

View 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);

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global wp, gapi, FB, twttr */
wp.customizerHasPartialWidgetRefresh=function(){return"object"==typeof wp&&"function"==typeof wp.customize&&"object"==typeof wp.customize.selectiveRefresh&&"object"==typeof wp.customize.widgetsPreview&&"function"==typeof wp.customize.widgetsPreview.WidgetPartial},wp.isJetpackWidgetPlaced=function(e,t){return e.partial.widgetId&&0===e.partial.widgetId.indexOf(t)},function(e){e(document).ready(function(){wp&&wp.customize&&wp.customizerHasPartialWidgetRefresh()&&(wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){t.container&&(wp.isJetpackWidgetPlaced(t,"googleplus-badge")&&"object"==typeof gapi&&gapi.person&&"function"==typeof gapi.person.go?gapi.person.go(t.container[0]):wp.isJetpackWidgetPlaced(t,"facebook-likebox")&&"object"==typeof FB&&"object"==typeof FB.XFBML&&"function"==typeof FB.XFBML.parse?FB.XFBML.parse(t.container[0],function(){var i=e(t.container[0]).find(".fb_iframe_widget"),o=i.data("width"),a=i.data("height");i.find("span").css({width:o,height:a}),setTimeout(function(){i.find("iframe").css({width:o,height:a,position:"relative"})},1)}):wp.isJetpackWidgetPlaced(t,"twitter_timeline")&&"object"==typeof twttr&&"object"==typeof twttr.widgets&&"function"==typeof twttr.widgets.load?twttr.widgets.load(t.container[0]):wp.isJetpackWidgetPlaced(t,"eu_cookie_law_widget")&&(e("#eu-cookie-law").hasClass("top")?e(".widget_eu_cookie_law_widget").addClass("top"):e(".widget_eu_cookie_law_widget").removeClass("top"),t.container.fadeIn()))}),wp.customize.selectiveRefresh.bind("partial-content-moved",function(e){e.container&&wp.isJetpackWidgetPlaced(e,"twitter_timeline")&&e.container.find("iframe.twitter-timeline:not([src]):first").length&&e.partial.refresh()}))})}(jQuery);

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(i){var e=i(document);e.on("ready",function(){var o=function(e,o){var c=i(o||this).closest(".eu-cookie-law-widget-policy-url");c.find('input[type="radio"][value="default"]').is(":checked")?(c.find(".notice.default-policy").css("display","block"),c.find(".notice.custom-policy").hide()):(c.find(".notice.default-policy").hide(),c.find(".notice.custom-policy").css("display","block"))};e.on("click",'.eu-cookie-law-widget-policy-url input[type="radio"]',o),e.on("widget-updated widget-added",function(e,c){var d=i(c).attr("id");-1!==d.indexOf("eu_cookie_law_widget")&&o(0,i("#"+d+" .eu-cookie-law-widget-policy-url"))}),i(".eu-cookie-law-widget-policy-url").each(o)})}(jQuery);

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(e){function o(o){if(!d){d=!0,o&&o.preventDefault&&o.preventDefault(),t.hasClass("hide-on-scroll")&&e(window).off("scroll",a);var s=new Date;s.setTime(s.getTime()+24*t.data("consent-expiration")*60*60*1e3),document.cookie="eucookielaw="+s.getTime()+";path=/;expires="+s.toGMTString(),t.hasClass("ads-active")&&t.hasClass("hide-on-button")&&(document.cookie="personalized-ads-consent="+s.getTime()+";path=/;expires="+s.toGMTString()),t.fadeOut(400,function(){t.remove()})}}var s,a,i=document.cookie.replace(/(?:(?:^|.*;\s*)eucookielaw\s*\=\s*([^;]*).*$)|^.*$/,"$1"),t=e("#eu-cookie-law");if(t.hasClass("top")&&e(".widget_eu_cookie_law_widget").addClass("top"),t.hasClass("ads-active")){var n=document.cookie.replace(/(?:(?:^|.*;\s*)personalized-ads-consent\s*\=\s*([^;]*).*$)|^.*$/,"$1");""!==i&&""!==n&&t.remove()}else""!==i&&t.remove();e(".widget_eu_cookie_law_widget").appendTo("body").fadeIn(),t.find("form").on("submit",o),t.hasClass("hide-on-scroll")?(s=e(window).scrollTop(),a=function(){Math.abs(e(window).scrollTop()-s)>50&&o()},e(window).on("scroll",a)):t.hasClass("hide-on-time")&&setTimeout(o,1e3*t.data("hide-timeout"));var d=!1}(jQuery);

View File

@@ -0,0 +1,4 @@
/* Do not modify this file directly. It is compiled from other files. */
/* jshint onevar: false, multistr: true */
/* global _wpMediaViewsL10n, _wpGalleryWidgetAdminSettings */
!function(e){function t(){e(".widget-inside .gallery-widget-style").each(function(){var t=e(this).val(),i=e(this).parents("form");switch(t){case"slideshow":i.find(".gallery-widget-link-wrapper").hide(),i.find(".gallery-widget-columns-wrapper").hide();break;default:i.find(".gallery-widget-link-wrapper").show(),i.find(".gallery-widget-columns-wrapper").show()}})}function i(e,t){t.empty();var i=_wpGalleryWidgetAdminSettings.thumbSize;e.each(function(e){var l=e.get("url")+"?w="+i+"&h="+i+"&crop=true",n=jQuery("<img>",{src:l,alt:e.get("title"),title:e.get("title"),width:i,height:i,class:"thumb"});t.append(n)})}function l(e){if(!e)return null;var t=wp.shortcode.next("gallery",'[gallery ids="'+e+'"]');return t=t.shortcode,wp.media.gallery.attachments(t)}function n(e){var t=new wp.media.model.Selection(e.models,{props:e.props.toJSON(),multiple:!0});return t.gallery=e.gallery,t.more().done(function(){t.props.set({query:!1}),t.unmirror(),t.props.unset("orderby")}),t}function r(e){var t=new wp.media.view.MediaFrame.GalleryWidget(e);return t.on("update",function(e){var l=t.state();if(e=e||l.get("selection")){var n=e.map(function(e){return e.get("id")}),r=n.join(",");a.val(r).trigger("change"),i(e,o)}},this),t.setState(t.options.state),t}var a,o;e(function(){e(document.body).on("click",".gallery-widget-choose-images",function(t){t.preventDefault();var i=e(this).closest("form, .form");a=i.find(".gallery-widget-ids"),o=i.find(".gallery-widget-thumbs");var d=a.val(),s=l(d),g=null,c=!1;s&&(g=n(s),c=!0),r({state:"gallery-edit",title:wp.media.view.l10n.addMedia,multiple:!0,editing:c,selection:g}).open()}),e(".widget-inside").on("change",".gallery-widget-style",t),t()});var d,s=wp.media;d=s.view.l10n="undefined"==typeof _wpMediaViewsL10n?{}:_wpMediaViewsL10n,s.view.MediaFrame.GalleryWidget=s.view.MediaFrame.Post.extend({createStates:function(){var e=this.options;"CollectionEdit"in s.controller?this.states.add([new s.controller.CollectionEdit({type:"image",collectionType:"gallery",title:d.editGalleryTitle,SettingsView:s.view.Settings.Gallery,library:e.selection,editing:e.editing,menu:"gallery"}),new s.controller.CollectionAdd({type:"image",collectionType:"gallery",title:d.addToGalleryTitle})]):("WidgetGalleryEdit"in s.controller||(s.controller.WidgetGalleryEdit=s.controller.GalleryEdit.extend({gallerySettings:function(){}})),this.states.add([new s.controller.WidgetGalleryEdit({library:e.selection,editing:e.editing,menu:"gallery"}),new s.controller.GalleryAdd({})]))}})}(jQuery);

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(o){o("body").on("click",".widget-gallery .no-carousel .tiled-gallery-item a",function(o){return o.stopPropagation(),!0})}(jQuery);

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(e){function o(){e(".widget-inside .googleplus-badge-choose-type").each(function(){var o=e(this).parents("form");o.find('[class^="googleplus-badge-only-"]').parent().hide(),o.find(".googleplus-badge-only-"+e(this).val()).parent().show()})}e(document).on("widget-added",function(){o()}),e(function(){e(document).on("change",".googleplus-badge-choose-type",o).on("widget-updated",o),o()})}(jQuery);

View 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),e&&(window.location.href=window.location.href.replace(t,"").replace(/#googtrans\([a-zA-Z\-_|]+\)/,"")+"#googtrans("+a+"|"+e[1]+")"),new google.translate.TranslateElement({pageLanguage:a,layout:_wp_google_translate_widget.layout,autoDisplay:!1},"google_translate_element")}

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(e){function n(){t.find(".milestone-type").trigger("change")}var t=e("#customize-controls");t.length||(t=e("#wpbody")),t.on("change",".milestone-type",function(){var n=e(this).parent().find(".milestone-message-wrapper");"since"===e(this).find('input[type="radio"]:checked').val()?n.hide():n.show()}),e(document).on("widget-added widget-updated",function(){n()}),n()}(jQuery);

View File

@@ -0,0 +1,3 @@
/* Do not modify this file directly. It is compiled from other files. */
/* global MilestoneConfig */
var Milestone=function(e){var n=function(n){var i=e("#"+n.id),t=n.id,o=1e3*n.refresh;this.timer=function(){var n=this;e.ajax({url:MilestoneConfig.api_root+"jetpack/v4/widgets/"+t,success:function(e){i.find(".milestone-countdown").replaceWith(e.message),(o=1e3*e.refresh)&&setTimeout(function(){n.timer()},o)}})},o>0&&this.timer()};return function(e){return new n(e)}}(jQuery);!function(){var e,n={};if("undefined"!=typeof MilestoneConfig)for(e=0;e<MilestoneConfig.instances.length;e++)n[e]=new Milestone(MilestoneConfig.instances[e])}();

File diff suppressed because one or more lines are too long

View 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"))})});

View File

@@ -0,0 +1,2 @@
/* Do not modify this file directly. It is compiled from other files. */
!function(t){function i(i){i.find(".jetpack-social-icons-widget-list").sortable({items:"> .jetpack-social-icons-widget-item",handle:".handle",cursor:"move",placeholder:"jetpack-social-icons-widget-item ui-state-placeholder",containment:i,forcePlaceholderSize:!0,update:function(){e(t(this).parents(".form").find(".widget-control-save"))}})}function e(i){t(document.body).hasClass("wp-customizer")&&i.length&&i.trigger("click").hide()}var n=null;t(document).ready(function(){t(document).on("click",".jetpack-social-icons-widget.add-button button",function(i){i.preventDefault();var e,n,o,c,a,d;e=t(t.trim(t("#tmpl-jetpack-widget-social-icons-template").html())),n=t(this).parents(".widget-content"),o=n.find(".jetpack-social-icons-widget-list"),a=o.data("url-icon-id"),d=o.data("url-icon-name"),e.find(".jetpack-widget-social-icons-url input").attr("id",a).attr("name",d+"[]"),o.append(e),c=n.find(".jetpack-social-icons-widget-item:last"),c.find("input:first").trigger("focus")}),t(document).on("click",".jetpack-widget-social-icons-remove-item-button",function(i){i.preventDefault();var n=t(this).parents(".form").find(".widget-control-save");t(this).parents(".jetpack-social-icons-widget-item").remove(),e(n)}),t(document).on("click",'div.widget[id*="jetpack_widget_social_icons"] .widget-title, div.widget[id*="jetpack_widget_social_icons"] .widget-action',function(){t(this).parents("#available-widgets").length||i(t(this).parents('.widget[id*="jetpack_widget_social_icons"]'))}),t(document).on("widget-added",function(t,e){e.is('[id*="jetpack_widget_social_icons"]')&&(t.preventDefault(),i(e))}),t(document).on("widget-updated",function(t,e){e.is('[id*="jetpack_widget_social_icons"]')&&(t.preventDefault(),i(e))}),t(document).on("focusout",'input[name*="jetpack_widget_social_icons"]',function(){e(t(this).parents(".form").find(".widget-control-save"))}),t(document).on("keydown",'input[name*="jetpack_widget_social_icons"]',function(i){13===i.keyCode&&e(t(this).parents(".form").find(".widget-control-save"))}),t(document).on("keyup",'input[name*="jetpack_widget_social_icons"]',function(){clearTimeout(n),n=setTimeout(function(){e(t(this).parents(".form").find(".widget-control-save"))},1e3)}),t(document).on("change",'select[name*="jetpack_widget_social_icons"]',function(){e(t(this).parents(".form").find(".widget-control-save"))})})}(jQuery);

View 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)})});

View File

@@ -0,0 +1,288 @@
<?php //phpcs:ignore
class Jetpack_Provision { //phpcs:ignore
/**
* Responsible for checking pre-conditions, registering site, and returning an array of details
* that can be used to provision a plan for the site.
*
* @param array $named_args The array of arguments.
*
* @return WP_Error|array
*/
public static function register_and_build_request_body( $named_args ) {
$url_args = array(
'home_url' => 'WP_HOME',
'site_url' => 'WP_SITEURL',
);
foreach ( $url_args as $url_arg => $constant_name ) {
// Anonymous functions were introduced in 5.3.0. So, if we're running on
// >= 5.3.0, use an anonymous function to set the home/siteurl value%s.
//
// Otherwise, fallback to setting the home/siteurl value via the WP_HOME and
// WP_SITEURL constants if the constant hasn't already been defined.
if ( isset( $named_args[ $url_arg ] ) ) {
if ( version_compare( phpversion(), '5.3.0', '>=' ) ) {
add_filter( $url_arg, function() use ( $url_arg, $named_args ) {
return $named_args[ $url_arg ];
}, 11 );
} elseif ( ! defined( $constant_name ) ) {
define( $constant_name, $named_args[ $url_arg ] );
}
}
}
// If Jetpack is currently connected, and is not in Safe Mode already, kick off a sync of the current
// functions/callables so that we can test if this site is in IDC.
if ( Jetpack::is_active() && ! Jetpack::validate_sync_error_idc_option() && Jetpack_Sync_Actions::sync_allowed() ) {
Jetpack_Sync_Actions::do_full_sync( array( 'functions' => true ) );
Jetpack_Sync_Actions::$sender->do_full_sync();
}
if ( Jetpack::validate_sync_error_idc_option() ) {
return new WP_Error(
'site_in_safe_mode',
__( 'Can not provision a plan while in safe mode. See: https://jetpack.com/support/safe-mode/', 'jetpack' )
);
}
$blog_id = Jetpack_Options::get_option( 'id' );
$blog_token = Jetpack_Options::get_option( 'blog_token' );
if ( ! $blog_id || ! $blog_token || ( isset( $named_args['force_register'] ) && intval( $named_args['force_register'] ) ) ) {
// This code mostly copied from Jetpack::admin_page_load.
Jetpack::maybe_set_version_option();
$registered = Jetpack::try_registration();
if ( is_wp_error( $registered ) ) {
return $registered;
} elseif ( ! $registered ) {
return new WP_Error( 'registration_error', __( 'There was an unspecified error registering the site', 'jetpack' ) );
}
$blog_id = Jetpack_Options::get_option( 'id' );
$blog_token = Jetpack_Options::get_option( 'blog_token' );
}
// If the user isn't specified, but we have a current master user, then set that to current user.
$master_user_id = Jetpack_Options::get_option( 'master_user' );
if ( ! get_current_user_id() && $master_user_id ) {
wp_set_current_user( $master_user_id );
}
$site_icon = ( function_exists( 'has_site_icon' ) && has_site_icon() )
? get_site_icon_url()
: false;
$auto_enable_sso = ( ! Jetpack::is_active() || Jetpack::is_module_active( 'sso' ) );
/** This filter is documented in class.jetpack-cli.php */
if ( apply_filters( 'jetpack_start_enable_sso', $auto_enable_sso ) ) {
$redirect_uri = add_query_arg(
array(
'action' => 'jetpack-sso',
'redirect_to' => rawurlencode( admin_url() ),
),
wp_login_url() // TODO: come back to Jetpack dashboard?
);
} else {
$redirect_uri = admin_url();
}
$request_body = array(
'jp_version' => JETPACK__VERSION,
'redirect_uri' => $redirect_uri,
);
if ( $site_icon ) {
$request_body['site_icon'] = $site_icon;
}
if ( get_current_user_id() ) {
$user = wp_get_current_user();
// Role.
$role = Jetpack::translate_current_user_to_role();
$signed_role = Jetpack::sign_role( $role );
$secrets = Jetpack::init()->generate_secrets( 'authorize' );
// Jetpack auth stuff.
$request_body['scope'] = $signed_role;
$request_body['secret'] = $secrets['secret_1'];
// User stuff.
$request_body['user_id'] = $user->ID;
$request_body['user_email'] = $user->user_email;
$request_body['user_login'] = $user->user_login;
}
// Optional additional params.
if ( isset( $named_args['wpcom_user_id'] ) && ! empty( $named_args['wpcom_user_id'] ) ) {
$request_body['wpcom_user_id'] = $named_args['wpcom_user_id'];
}
// Override email of selected user.
if ( isset( $named_args['wpcom_user_email'] ) && ! empty( $named_args['wpcom_user_email'] ) ) {
$request_body['user_email'] = $named_args['wpcom_user_email'];
}
if ( isset( $named_args['plan'] ) && ! empty( $named_args['plan'] ) ) {
$request_body['plan'] = $named_args['plan'];
}
if ( isset( $named_args['onboarding'] ) && ! empty( $named_args['onboarding'] ) ) {
$request_body['onboarding'] = intval( $named_args['onboarding'] );
}
if ( isset( $named_args['force_connect'] ) && ! empty( $named_args['force_connect'] ) ) {
$request_body['force_connect'] = intval( $named_args['force_connect'] );
}
if ( isset( $request_body['onboarding'] ) && (bool) $request_body['onboarding'] ) {
Jetpack::create_onboarding_token();
}
return $request_body;
}
/**
* Given an access token and an array of arguments, will provision a plan for this site.
*
* @param string $access_token The access token from the partner.
* @param array $named_args The arguments used for registering the site and then provisioning a plan.
*
* @return WP_Error|array
*/
public static function partner_provision( $access_token, $named_args ) {
// First, verify the token.
$verify_response = self::verify_token( $access_token );
if ( is_wp_error( $verify_response ) ) {
return $verify_response;
}
$request_body = self::register_and_build_request_body( $named_args );
if ( is_wp_error( $request_body ) ) {
return $request_body;
}
$request = array(
'headers' => array(
'Authorization' => "Bearer $access_token",
'Host' => defined( 'JETPACK__WPCOM_JSON_API_HOST_HEADER' )
? JETPACK__WPCOM_JSON_API_HOST_HEADER
: 'public-api.wordpress.com',
),
'timeout' => 60,
'method' => 'POST',
'body' => wp_json_encode( $request_body ),
);
$blog_id = Jetpack_Options::get_option( 'id' );
$url = esc_url_raw( sprintf(
'https://%s/rest/v1.3/jpphp/%d/partner-provision',
self::get_api_host(),
$blog_id
) );
if ( ! empty( $named_args['partner_tracking_id'] ) ) {
$url = esc_url_raw( add_query_arg( 'partner_tracking_id', $named_args['partner_tracking_id'], $url ) );
}
// Add calypso env if set.
if ( getenv( 'CALYPSO_ENV' ) ) {
$url = add_query_arg( array( 'calypso_env' => getenv( 'CALYPSO_ENV' ) ), $url );
}
$result = Jetpack_Client::_wp_remote_request( $url, $request );
if ( is_wp_error( $result ) ) {
return $result;
}
$response_code = wp_remote_retrieve_response_code( $result );
$body_json = json_decode( wp_remote_retrieve_body( $result ) );
if ( 200 !== $response_code ) {
if ( isset( $body_json->error ) ) {
return new WP_Error( $body_json->error, $body_json->message );
} else {
return new WP_Error(
'server_error',
/* translators: %s is an HTTP status code retured from an API request. Ex. 400 */
sprintf( __( 'Request failed with code %s', 'jetpack' ), $response_code )
);
}
}
if ( isset( $body_json->access_token ) && is_user_logged_in() ) {
// Check if this matches the existing token before replacing.
$existing_token = Jetpack_Data::get_access_token( get_current_user_id() );
if ( empty( $existing_token ) || $existing_token->secret !== $body_json->access_token ) {
self::authorize_user( get_current_user_id(), $body_json->access_token );
}
}
return $body_json;
}
private static function authorize_user( $user_id, $access_token ) {
// authorize user and enable SSO
Jetpack::update_user_token( $user_id, sprintf( '%s.%d', $access_token, $user_id ), true );
/**
* Auto-enable SSO module for new Jetpack Start connections
*
* @since 5.0.0
*
* @param bool $enable_sso Whether to enable the SSO module. Default to true.
*/
$other_modules = apply_filters( 'jetpack_start_enable_sso', true )
? array( 'sso' )
: array();
if ( $active_modules = Jetpack_Options::get_option( 'active_modules' ) ) {
Jetpack::delete_active_modules();
Jetpack::activate_default_modules( 999, 1, array_merge( $active_modules, $other_modules ), false );
} else {
Jetpack::activate_default_modules( false, false, $other_modules, false );
}
}
private static function verify_token( $access_token ) {
$request = array(
'headers' => array(
'Authorization' => "Bearer " . $access_token,
'Host' => defined( 'JETPACK__WPCOM_JSON_API_HOST_HEADER' ) ? JETPACK__WPCOM_JSON_API_HOST_HEADER : 'public-api.wordpress.com',
),
'timeout' => 10,
'method' => 'POST',
'body' => ''
);
$url = sprintf( 'https://%s/rest/v1.3/jpphp/partner-keys/verify', self::get_api_host() );
$result = Jetpack_Client::_wp_remote_request( $url, $request );
if ( is_wp_error( $result ) ) {
return $result;
}
$response_code = wp_remote_retrieve_response_code( $result );
$body_json = json_decode( wp_remote_retrieve_body( $result ) );
if( 200 !== $response_code ) {
if ( isset( $body_json->error ) ) {
return new WP_Error( $body_json->error, $body_json->message );
} else {
return new WP_Error( 'server_error', sprintf( __( "Request failed with code %s" ), $response_code ) );
}
}
return true;
}
private static function get_api_host() {
$env_api_host = getenv( 'JETPACK_START_API_HOST', true );
return $env_api_host ? $env_api_host : JETPACK__WPCOM_JSON_API_HOST;
}
}

View File

@@ -0,0 +1,36 @@
/* global FB, jpfbembed */
(function( window ) {
var facebookEmbed = function() {
var fbroot, src;
if ( 'undefined' !== typeof FB && FB.XFBML ) {
FB.XFBML.parse();
} else {
fbroot = document.createElement( 'div' );
fbroot.id = 'fb-root';
document.getElementsByTagName( 'body' )[0].appendChild( fbroot );
src = '//connect.facebook.net/' + jpfbembed.locale + '/sdk.js#xfbml=1';
if ( jpfbembed.appid ) {
src += '&appId=' + jpfbembed.appid;
}
src += '&version=v2.3';
jQuery.getScript( src );
}
};
window.fbAsyncInit = function() {
FB.init( {
appId : jpfbembed.appid,
version: 'v2.3'
} );
FB.XFBML.parse();
};
if ( 'undefined' !== typeof infiniteScroll ) {
jQuery( document.body ).on( 'post-load', facebookEmbed );
}
facebookEmbed();
})( this );

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata></metadata>
<defs>
<font id="automatticonsregular" horiz-adv-x="2048" >
<font-face units-per-em="2048" ascent="1638" descent="-410" />
<missing-glyph horiz-adv-x="1200" />
<glyph />
<glyph />
<glyph unicode="&#xd;" />
<glyph unicode=" " horiz-adv-x="1200" />
<glyph unicode="&#x09;" horiz-adv-x="1200" />
<glyph unicode="&#xa0;" horiz-adv-x="1200" />
<glyph unicode="." d="M24 1100l1000 -1000l1000 1000h-2000z" />
<glyph unicode="@" d="M24 -8q48 -6 100 -6q281 0 508 176q-133 1 -238.5 81t-145.5 203q39 -6 78 -6q60 0 108 14q-142 29 -236 142t-94 260v6q86 -49 186 -52q-84 57 -133 146.5t-49 195.5q0 110 56 206q154 -189 374 -303t472 -127q-12 45 -12 94q0 111 55 205.5t149.5 149.5t205.5 55 q87 0 165 -34t135 -94q142 27 260 100q-46 -149 -182 -228q123 14 238 64q-82 -124 -206 -212q2 -18 2 -54q0 -117 -24.5 -235.5t-75 -233t-122 -218t-170 -191t-214 -152t-260 -100.5t-302.5 -36q-344 0 -628 184z" />
<glyph unicode="A" horiz-adv-x="12288" d="M128 356h176l110 220h492l92 -220h176l-458 852h-118zM460 692l186 342l198 -342h-384zM1458 716q0 -174 112.5 -279t337.5 -105q116 0 204 30t140.5 83.5t78 121.5t25.5 149v492h-162v-492q0 -129 -63.5 -197.5t-208.5 -68.5q-147 0 -230.5 71.5t-83.5 194.5v492h-150 v-492zM2710 1056h364v-700h150v700h378v152h-892v-152zM3904 772q0 -82 35 -161t96.5 -141t153 -100t195.5 -38q107 0 199.5 38t153 100.5t95 141t34.5 160.5v24q0 85 -34.5 165t-95 142.5t-152.5 100.5t-200 38q-105 0 -196 -38t-152.5 -100.5t-96.5 -142.5t-35 -165v-24z M4048 784v12q0 125 90.5 216.5t245.5 91.5q82 0 147.5 -26t104.5 -70t59.5 -98t20.5 -114v-12q0 -147 -84.5 -240.5t-247.5 -93.5q-158 0 -247 95t-89 239zM4251 671q0 -15 10 -34q11 -21 33 -37q7 -12 28 -1t30 35l150 224q15 19 10 42t-24 42q-24 10 -46 4.5t-22 -28.5 l-164 -214q-5 -18 -5 -33zM5278 356h152v666l46 -70l330 -596h92l342 596l46 70v-666h164v852h-222l-318 -588l-46 -66l-46 66l-320 588h-220v-852zM6756 356h186l92 220h504l104 -220h160l-448 852h-140zM7092 692l180 342l186 -342h-366zM7928 1056h366v-700h152v700h376 v152h-894v-152zM9076 1056h364v-700h164v700h386v152h-914v-152zM10370 356h160v852h-80q0 -43 -19 -62.5t-61 -19.5v-770zM10908 772q0 -88 37 -167t104 -140t170.5 -97t228.5 -36q237 0 440 164l-104 90q-55 -39 -94.5 -62.5t-108.5 -48.5t-133 -25q-179 0 -277.5 92.5 t-98.5 229.5v12q0 134 98.5 227t277.5 93q170 0 326 -152l114 104q-206 186 -440 186q-116 0 -218.5 -38t-172 -100.5t-109.5 -142.5t-40 -165v-24z" />
<glyph unicode="C" d="M0 402v286q0 8 2.5 17.5t5.5 14.5l2 6l16 28q6 13 0 26l-16 28q-10 18 -10 38v284q0 28 16.5 52t41.5 30l914 378q27 10 54 10q29 0 52 -10l912 -374q26 -9 42 -33.5t16 -52.5v-284q0 -9 -2.5 -18.5t-5.5 -14.5l-2 -5l-16 -28q-6 -13 0 -26l16 -28q10 -20 10 -38v-286 q0 -27 -16 -51t-42 -33l-912 -374q-23 -10 -52 -10q-27 0 -54 10l-914 374q-25 9 -41.5 33.5t-16.5 50.5zM236 574q0 -42 24 -70t56 -28q36 0 59 27.5t23 70.5v90q0 7 -6 13.5t-14 6.5h-24v-120q0 -15 -9.5 -25.5t-24.5 -10.5t-24.5 10.5t-9.5 25.5v406q0 15 9.5 25.5 t24.5 10.5t24.5 -10.5t9.5 -25.5v-116h24q20 0 20 20v84q0 43 -23 70.5t-59 27.5q-32 0 -56 -28t-24 -70v-384zM256 568v398q0 30 18 50t46 20t45 -19.5t17 -50.5v-88q0 -8 -8 -8h-6v96q0 24 -13.5 41t-34.5 17q-22 0 -36 -17t-14 -41v-398q0 -25 13.5 -40.5t36.5 -15.5 q21 0 34.5 15.5t13.5 40.5v96h10h4v-4v-4v-88q0 -31 -17 -51.5t-45 -20.5t-46 21t-18 51zM432 574q0 -43 25.5 -70.5t60.5 -27.5q37 0 61.5 27.5t24.5 70.5v384q0 43 -24.5 70.5t-61.5 27.5q-35 0 -60.5 -27.5t-25.5 -70.5v-384zM452 568v398q0 30 19 50t47 20 q27 0 45.5 -20t18.5 -50v-398q0 -30 -18.5 -51t-45.5 -21q-28 0 -47 21t-19 51zM468 568q0 -25 13.5 -40.5t36.5 -15.5t36.5 15.5t13.5 40.5v398q0 24 -14 41t-36 17t-36 -17t-14 -41v-398zM480 294h4l4 -4h288l34 -24v6q0 4 -2 7t-4 4l-2 1l-16 12l16 14q8 4 8 12v8 l-34 -28h-296v-8zM484 564v406q0 15 9.5 25.5t24.5 10.5t24.5 -10.5t9.5 -25.5v-406q0 -15 -9.5 -25.5t-24.5 -10.5t-24.5 10.5t-9.5 25.5zM592 1220h256v-28q0 -11 8 -16l58 -34h12h8l58 34q12 6 12 16v28h42v-28q0 -4 12 -16l60 -34h6h12l58 34q8 5 8 16v28h256v10l-4 4 h-252v28q0 11 -8 16l-58 34q-12 6 -18 0l-26 -18l-22 30l24 12q8 8 8 16v68q0 10 -8 18l-60 34q-3 3 -9 3t-9 -3l-60 -34q-6 -6 -6 -18v-68q0 -10 6 -16l24 -12l-22 -30l-24 18q-7 7 -20 0l-58 -34q-8 -5 -8 -16v-28h-252l-4 -4v-10zM636 504q0 -8 7 -14t17 -6h60 q43 0 62.5 27t19.5 83v344q0 58 -19.5 85t-62.5 27h-60q-10 0 -17 -6t-7 -14v-526zM658 508v4v514l2 4h60q34 0 48 -21t14 -67v-352q0 -47 -14 -66.5t-48 -19.5h-60v4h-2zM670 516h50q27 0 37.5 17t10.5 57v352q0 41 -10.5 57.5t-37.5 16.5h-50v-500zM690 534v464h30 q18 0 25 -11t7 -39v-362q0 -29 -7 -40.5t-25 -11.5h-30zM836 504q0 -8 7.5 -14t16.5 -6h96q8 0 14 6t6 14v28h-84v220h38q22 0 22 20v28h-60v202h84v28q0 8 -6 14t-14 6h-96q-9 0 -16.5 -6t-7.5 -14v-526zM850 268h38v8h-28v20h24v6h-24v20h28v4h-38v-58zM856 504v4v518 q0 4 4 4l4 4h86l2 -4l4 -4v-6h-84v-238h58v-6q0 -8 -4 -8h-54v-254h84v-6l-4 -4l-2 -4h-90v4h-4zM860 1192v70q0 4 4 4l58 32l4 4q4 0 4 -4l22 -14l-22 -34h-4q-24 0 -24 -24q0 -22 24 -22q18 0 24 16h38v-28q0 -4 -2 -4l-56 -32q-8 -8 -8 0l-58 32zM902 280q0 -12 8 -12h20 q8 0 8 12v10q0 10 -8 10q-8 2 -16 2q-6 6 -6 8v8q2 4 6 4h12l4 -4v-8h8v8q0 8 -8 8h-20q-8 0 -8 -8v-12q0 -5 8 -10q8 0 16 -2l4 -4v-10q0 -4 -4 -4h-16l-2 4v6h-6v-6zM942 1244l24 34l20 -12q2 0 2 -4v-28h-38q-2 2 -4 5t-4 5zM950 322h16v-54h10v54h16v4h-42v-4zM962 1348 v76l62 32q0 4 2 4v-4l62 -32l4 -4v-68l-4 -4l-24 -12l-20 34q0 2 3 7t3 9q0 10 -7.5 17t-16.5 7q-11 0 -18.5 -7t-7.5 -17q0 -4 8 -16l-22 -34zM972 1288l16 32l28 -18h10h8l28 18l16 -32l-20 -10q-12 -12 -12 -16v-28h-42v28q0 10 -12 16zM986 268h10v12h-10v-12zM996 1328 l24 34h6h8l20 -34l-28 -12q0 -3 -1 -3t-1 3zM1030 268h34v8h-24v10q0 4 4 4q4 2 8.5 4t5.5 2q6 4 6 10v12q0 8 -6 8h-18q-2 0 -6 -2.5t-4 -5.5v-4l10 -4v8q0 4 4 4h10q4 0 4 -4v-12q0 -4 -4 -4q-8 -2 -14 -6q-10 0 -10 -6v-22zM1062 1192v28h40q1 -7 8 -11.5t14 -4.5 q24 0 24 22q0 24 -24 24h-6l-20 34l24 14l2 4q4 0 4 -4l58 -32q4 0 4 -4v-70q0 -4 -4 -4l-58 -32q0 -3 -2 -3t-4 3l-58 32zM1062 1234v28l2 4l20 12l24 -34q-2 -2 -6 -10h-40zM1082 280q0 -12 10 -12h12q12 0 12 12v38q0 8 -12 8h-12q-10 0 -10 -8v-38zM1088 280v38l4 4h12 q4 0 4 -4v-38l-4 -4h-12q-4 0 -4 4zM1094 504q0 -8 6.5 -14t15.5 -6h30v242h34q30 0 52 22t22 72v142q0 88 -74 88h-64q-9 0 -15.5 -6t-6.5 -14v-526zM1112 508v516l4 2l2 4h62q54 0 54 -68v-146q0 -68 -54 -68h-56v-248h-6q-6 0 -6 8zM1124 314l16 8v-54h8v58h-8l-16 -4v-8 zM1124 762h56q44 0 44 54v146q0 54 -44 54h-56v-254zM1146 780v218h34q22 0 22 -32v-158q0 -28 -22 -28h-34zM1166 268h34v8h-28v10l4 4q4 2 18 6q6 6 6 10v12q0 8 -10 8h-18q-6 0 -6 -8v-4l6 -4v8l4 4h10q4 0 4 -4v-12q0 -4 -4 -4l-14 -6q-6 0 -6 -6v-22zM1240 266l38 24 h286l2 4h4v2v6h-292l-38 28v-8q0 -4 2 -7t4 -4l2 -1l20 -14l-20 -12q-8 -4 -8 -12v-6zM1292 574q0 -42 24 -70t56 -28q37 0 61.5 27.5t24.5 70.5v384q0 43 -24.5 70.5t-61.5 27.5q-32 0 -56 -28t-24 -70v-384zM1308 568v398q0 30 19 50t45 20q30 0 50 -20t20 -50v-398 q0 -31 -19.5 -51.5t-50.5 -20.5q-28 0 -46 21t-18 51zM1322 568q0 -25 15 -40.5t35 -15.5q24 0 40 15.5t16 40.5v398q0 24 -16 41t-40 17q-20 0 -35 -17t-15 -41v-398zM1342 564v406q0 15 8.5 25.5t21.5 10.5q15 0 25.5 -10.5t10.5 -25.5v-406q0 -15 -10.5 -25.5 t-25.5 -10.5q-13 0 -21.5 10.5t-8.5 25.5zM1496 504q0 -8 6 -14t14 -6h94q20 0 20 20v28h-84v220h40q20 0 20 20v28h-60v202h84v28q0 20 -20 20h-94q-8 0 -14 -6t-6 -14v-526zM1512 508v518l4 4l4 4h84l2 -4l4 -4v-6h-84v-238h60v-6q0 -8 -6 -8h-54v-254h84v-6q0 -4 -4 -4 l-2 -4h-84l-4 4zM1658 1002h54v-498q0 -8 6.5 -14t15.5 -6h30v518h52v28q0 7 -7 13.5t-15 6.5h-114q-22 0 -22 -20v-28zM1680 1020v6q0 4 2 4q0 4 2 4h104q0 -4 4 -4v-10h-50v-520h-4q-8 0 -8 8v512h-50z" />
<glyph unicode="F" d="M24 -286q0 -46 34 -80t80 -34h1772q46 0 80 34t34 80v1772q0 46 -34 80t-80 34h-1772q-46 0 -80 -34t-34 -80v-1772zM972 478v264h194v228q0 68 23 128t67.5 108t119 76t170.5 28q48 0 94.5 -2.5t69.5 -5.5l22 -2l-4 -248q-82 2 -170 2q-67 0 -89.5 -28.5t-22.5 -89.5 v-194h288l-12 -264h-276v-736h-280v736h-194z" />
<glyph unicode="G" d="M134 708q0 183 68 345.5t190 284.5q54 52 129 52t127 -52q50 -52 50 -125t-50 -127q-74 -73 -116 -171.5t-42 -206.5q0 -109 42 -208t113.5 -170.5t170.5 -113.5t208 -42q147 0 270.5 71t195.5 194t72 269q0 173 -99 311.5t-257 194.5v-416q0 -75 -53.5 -126.5 t-128.5 -51.5q-74 0 -126 51.5t-52 126.5v624q0 74 52 126t126 52q182 0 347.5 -70.5t284.5 -190.5t189.5 -285t70.5 -346q0 -182 -70.5 -347.5t-189.5 -285t-284.5 -190.5t-347.5 -71q-181 0 -345.5 71t-284 190.5t-190 285t-70.5 347.5z" />
<glyph unicode="I" d="M0 26v934q146 30 216.5 53.5t103.5 56.5q16 20 32 54t24 58l8 24q3 -3 6.5 -9t14 -24.5t15 -35.5t8.5 -42.5t-6 -44.5q-6 -12 -11 -20.5t-8.5 -15.5t-9.5 -14t-8 -11t-9.5 -9.5t-10 -8t-12.5 -9t-13.5 -8.5t-17.5 -10.5t-20 -11.5q-48 -40 -48 -91v-7q4 -55 48 -86 q17 -11 33 -11q21 1 41 19q36 34 82 122q17 34 26.5 79.5t13.5 78t25.5 72t62.5 70.5q31 24 70 30q29 4 56 5q10 0 20 -1q11 -1 22 -1q28 0 58 4q42 5 92.5 38.5t101.5 100.5q38 47 81 74t83 33q24 4 47 3q16 0 31 -1q39 -4 70.5 -16.5t56 -25.5t37.5 -23l14 -10 q-6 2 -15.5 6t-38.5 12q-30 8 -58 12q-15 2 -33 1q-15 0 -32 -1q-37 -3 -68.5 -16.5t-61.5 -44t-49 -77.5q-19 -43 -35.5 -75t-29.5 -54t-29 -38t-27 -25t-30 -16t-31.5 -10t-38 -9t-43.5 -11q-60 -16 -77 -69q-5 -16 -5 -30q0 -29 21 -52q22 -24 55 -24q28 0 65 18 q10 5 21 11q59 37 93.5 77.5t46 69t39.5 61t77 56.5q69 32 131 43.5t126 14t99 8.5q304 41 384 174q34 52 53 102t21 74l2 24q2 -6 4 -17.5t7 -45.5q4 -30 4 -60q-1 -4 -1 -7q0 -33 -10.5 -78.5t-30.5 -84.5t-59.5 -79t-95.5 -68q-94 -49 -166 -76t-106 -32t-74 -15t-78 -31 q-107 -58 -107 -146q0 -43 25 -92q36 -62 97 -68q6 -1 12 -1q55 0 111 49q33 29 51.5 72.5t20.5 72.5l2 29q3 -7 7 -19.5t11 -48.5q8 -38 8 -71t-13 -72q-13 -41 -41 -71q-56 -60 -94 -84t-92 -25h-4q-54 0 -138 27q-78 22 -135 26q-20 1 -36 1q-31 -1 -49 -5 q-28 -6 -54 -22q-46 -22 -70 -64q-13 -23 -13 -43q0 -17 9 -31q14 -25 31.5 -35.5t48.5 -5.5t74 31q60 33 102 44.5t100 11.5q122 0 218 -56q25 -16 53 -39t43 -38l16 -15q-9 5 -24.5 13t-61.5 21q-44 14 -86 16q-5 0 -11 1q-38 0 -83 -16q-52 -18 -90 -61 q-74 -82 -122 -114q-46 -31 -79 -31q-1 1 -3 1q-34 2 -90 26q-84 34 -126 46q-12 -18 -12 -56q0 -16 5 -30t10 -20l5 -6q36 0 54 -8q92 0 128 -64q12 -25 17 -50t4 -38l-1 -12q-4 3 -11.5 8.5t-31 17t-47 18t-57 6t-63.5 -13.5q-50 -20 -86 -65.5t-42 -98.5h-424 q-87 0 -152.5 65t-65.5 153z" />
<glyph unicode="J" d="M305 433q0 152 21 325.5t62 315.5q54 193 138 398q2 4 4 4q9 17 55 27.5t107 10.5q60 0 107 -11t57 -27l2 -4q76 -179 138 -398q1 -2 2 -7t2 -7l28 6l-6 16q-46 160 -86 262q48 138 80 216q4 4 4 6q12 14 56.5 24t99.5 10q57 0 102 -10.5t54 -25.5l4 -4q69 -169 112 -312 l8 -8q5 -4 13 -11.5t30 -32.5t40.5 -53.5t37.5 -73.5t27 -93q5 -27 5 -55q0 -11 -1 -23q-1 -15 -1 -33q0 -32 3 -75q5 -68 22 -126q14 -45 18 -54l-68 -26l-42 -14l-54 -22q-16 31 -30 72q-10 37 -10 102q0 26 2 56q1 29 1 56q0 75 -11 136q-11 57 -41.5 115.5t-52 86 t-36.5 42.5l-12 -2q36 -106 64 -242q19 -87 22.5 -208.5t7.5 -159.5q6 -73 34 -193t32 -171v-8q8 -67 72 -88q5 -3 34 -8q40 64 40 132q0 14 -2 28q0 2 -1 6t-1 6l40 18l128 60q11 -32 14 -80q-1 -57 -11.5 -98.5t-20.5 -54.5l-10 -13l-220 -60l2 4l-10 -4q-26 -8 -53 -8 q-32 0 -65 12q-87 -21 -194 -24q-20 -4 -44 0q-22 0 -34 2q2 22 2 92l156 38q16 3 26 22l-230 -46l-132 -28q0 -10 7.5 -17t18.5 -7l106 26q-8 -104 -8 -114q-3 -20 -22 -34q-41 -20 -94 -36q24 48 24 122h-8q-16 -83 -66 -136q-8 -10 -28 -30q-40 -26 -76 -32q29 34 40 48 q44 59 64 136l6 28q6 24 6 52q4 39 13.5 100t12.5 92q1 13 1 34q0 26 -2 61q-3 65 -17 153q-30 185 -32 356q-1 15 -1 29q0 147 25 185h-10q-21 -19 -39 -51t-25.5 -52t-21.5 -63q-17 -51 -22 -106q-1 -18 -1 -36q0 -38 7 -80q9 -60 19 -102.5t29 -109.5q12 -57 12 -107 q0 -29 -4 -55q0 -1 -46.5 9.5t-93.5 21.5l-46 11v21q0 63 -16 111q-38 80 -45 196q-2 27 -2 51q0 83 19 143q21 96 60 146q-57 -53 -82 -152q-12 -57 -15 -121q-1 -14 -1 -29q0 -51 8 -106q11 -72 36 -124q21 -58 21 -110q0 -10 -1 -20l-10 4q-52 -27 -85.5 -78.5 t-40.5 -89.5l-8 -38l12 -22l12 -6q0 -8 -8 -12q-60 -85 -60 -167q0 -45 18 -89q-78 18 -142 50q-20 12 -20 34q-7 63 -11 159t-4 248zM423 -169q0 6 5 11l54 54q39 -11 74 -16q14 -8 46 -20q70 -23 163 -23q83 0 185 19l10 -14q9 -6 7 -15.5t-11 -14.5q-95 -35 -234 -38 q-14 -2 -27 -2l-27 2q-139 3 -234 38q-11 6 -11 19zM488 19q0 89 64 179h2l178 -86q-46 -78 -46 -154v-14q0 -18 2 -26q1 -8 4 -19.5t4 -14.5q0 -6 4 -10v-4l-22 6q-10 4 -30 8q-61 15 -122 26h-8l-2 2l-14 24q-14 41 -14 83zM548 1472q0 -14 42.5 -24t101.5 -10t101.5 10 t42.5 24q0 15 -41.5 24.5t-102.5 9.5t-102.5 -9.5t-41.5 -24.5zM646 284q19 38 28 42q4 -1 17.5 -6t29 -10.5t27.5 -9.5l-14 -46l-86 30h-2zM942 964q0 -11 8 -18t18 -6l60 10q51 -246 51 -588q0 -52 -1 -106l46 8q-8 403 -70 692l192 36q19 4 26 22zM1038 1560 q0 -13 40.5 -22.5t97.5 -9.5t97.5 9.5t40.5 22.5t-40.5 22.5t-97.5 9.5t-97.5 -9.5t-40.5 -22.5zM1046 -74q16 8 44 24q31 17 28 48q0 6 2 8q20 0 64 -4q14 -2 60 -2q68 0 164 12l28 -28q7 -8 5 -17.5t-11 -12.5q-92 -33 -224 -36q-14 -2 -27 -2l-27 2q-63 0 -106 8z M1610 488l68 26q16 -24 16 -40q-6 -3 -21.5 -9t-28 -10.5t-20.5 -8.5l-8 16z" />
<glyph unicode="K" d="M126 -198v1798h1798v-1798h-1798zM446 688q0 -20 13 -33t37 -13q25 0 39.5 15t14.5 41q0 19 -12.5 31.5t-35.5 12.5q-26 0 -41 -15t-15 -39zM526 306q0 -18 20 -18h268q8 0 14 5.5t6 12.5q0 20 -20 20q-94 0 -94 48q0 20 14 40l58 138q8 17 20 27.5t30 14.5t29 5t31 1 h252q12 0 12 -10l66 -176q10 -22 10 -46q0 -42 -64 -42q-18 0 -18 -20q0 -18 18 -18h302q16 0 16 18q0 20 -14 20q-49 3 -77.5 23t-44.5 65l-278 722q-6 30 -32 30q-22 0 -42.5 -16.5t-31.5 -39.5l-320 -696q-18 -46 -41.5 -67t-68.5 -21q-9 0 -14.5 -6t-5.5 -14zM840 658v6 l124 272q31 59 38 98q0 6 4 6q2 0 2 -6q6 -51 52 -152l70 -194q4 -6 4 -20t-26 -14h-258q-10 0 -10 4zM1480 688q0 -46 44 -46q27 0 41.5 15t14.5 41q0 19 -12 31.5t-36 12.5q-52 0 -52 -54z" />
<glyph unicode="P" d="M34 606q0 200 79 384t212 317.5t317 213t386 79.5q201 0 384 -79.5t315.5 -213t210.5 -317t78 -384.5q0 -162 -50 -313.5t-141 -272.5t-212.5 -212t-272.5 -140.5t-312 -49.5q-202 0 -386 77.5t-317 209.5t-212 315.5t-79 385.5zM128 606q0 -182 70.5 -348.5t190.5 -288 t287 -193.5t352 -72q262 0 476 137t326 363q68 139 68 294q0 129 -48.5 245t-131.5 202t-193.5 144t-234.5 77q127 -51 224 -158.5t138 -241.5q36 -100 36 -207q0 -71 -16 -145q-40 -186 -166 -318q-122 -134 -303 -196q-125 -43 -252 -43q-57 0 -115 9q-187 26 -340 151 t-230 303q-77 159 -77 341q0 15 1 31q7 200 104 368q94 173 261.5 289t366.5 149q3 0 12.5 3.5t15.5 4.5q-172 -15 -324.5 -91.5t-261.5 -195.5t-172.5 -278.5t-63.5 -334.5zM282 645q1 -35 4 -71q24 -162 115 -302.5t225 -221.5q138 -80 298 -88q17 -1 33 -1q141 0 265 59 q-84 -24 -170 -24q-122 0 -234 48t-193 129t-129 194.5t-48 238.5q0 231 162 406v8l16 16q110 125 264 198.5t324 73.5q176 0 335.5 -80t264.5 -216q-30 50 -78 110q-116 140 -275.5 221t-332.5 87q-27 2 -54 2q-149 0 -289 -56q-165 -66 -281 -194q-120 -114 -176 -276 q-45 -128 -46 -261zM572 650q0 -22 2 -44q6 -127 92 -235.5t208 -144.5q52 -14 103 -14q69 0 141 26q124 44 186 142q59 90 59 193q1 17 -1 35q-12 122 -96 206q-80 85 -201 97q-19 2 -37 2q-98 0 -170 -55q-88 -63 -114 -178q-7 -28 -7 -58q0 -67 35 -140q61 -94 162 -118 q34 -8 66 -8q65 0 120 32q99 74 110 154q5 25 5 49q0 69 -45 129q-23 33 -64 56.5t-82 29.5q-84 0 -162 -62q-48 -48 -48 -117q0 -20 2 -37q7 -69 86 -132q28 -14 98 -14q-51 0 -89 29.5t-57 76.5v8q-15 30 -15 60q0 43 31 86q47 70 146 70q96 -15 138 -94q25 -34 28 -80 v-11q0 -40 -20 -77q-36 -90 -146 -116q-21 -6 -43 -6l-143 62q-36 36 -56 85q-15 38 -15 76q0 11 1 23q0 71 46.5 130.5t120.5 85.5q39 14 80 14h5q32 0 64 -8q76 -18 131 -78q55 -58 71 -136q6 -31 6 -64q0 -48 -14 -98q-26 -76 -95 -130.5t-153 -68.5q-27 -5 -54 -5 q-57 0 -114 20q-117 41 -186 176q-28 57 -34 128q-2 18 -2 35q0 52 14 99q42 134 172 212q94 56 191 56q37 0 75 -8q144 -15 247 -134.5t109 -271.5q0 -77 -24 -153.5t-68 -132.5q-98 -132 -248 -176q-67 -19 -142 -19q-57 0 -120 11q107 -40 194 -40q143 0 263.5 71.5 t189.5 192.5t69 262q-10 119 -69.5 224.5t-152.5 173.5q-109 88 -256 100q-13 1 -27 1h-13q-123 0 -228 -61q-124 -59 -202 -186q-54 -93 -54 -208z" />
<glyph unicode="V" d="M155 1198q1 38 21 73q28 49 80 67l718 254q21 8 50 8t50 -8l718 -254q52 -18 80 -67q21 -35 21 -73q0 -15 -3 -30q-6 -30 -14.5 -65.5t-40 -144t-69 -209.5t-102.5 -244t-138.5 -267t-179.5 -258.5t-224 -237.5q-41 -38 -98 -38t-98 38q-118 103 -224 237.5t-179.5 258.5 t-138.5 267t-102.5 244t-69 209.5t-40 144t-14.5 65.5q-3 15 -3 30zM224 1199q0 -8 2 -17q3 -17 13.5 -62.5t39.5 -142.5t66.5 -203t99.5 -240.5t134 -258.5t174.5 -253.5t216.5 -229.5q23 -20 54 -20t54 20q114 101 216.5 230.5t175 253.5t134.5 258.5t99.5 240t66 202.5 t39 142t13.5 63q2 9 2 17q0 21 -11 39q-15 26 -43 36l-718 254q-14 4 -28 4l-28 -4l-718 -254q-28 -10 -43 -36q-11 -19 -11 -39zM306 1198l718 252l718 -252q-4 -18 -11 -50.5t-36 -131.5t-63.5 -197.5t-95.5 -234t-130.5 -256t-170 -248.5t-211.5 -226q-111 98 -211 224.5 t-170.5 251.5t-130 253t-96.5 237t-63 194.5t-37 134.5zM508 1112l96 -242h22q12 0 22 -8.5t14 -17.5l4 -8l254 -626h208l250 618l4 8q14 34 40 34h22l96 242h-284l-232 -586l-232 586h-284z" />
<glyph unicode="W" d="M24 606q0 203 79.5 388.5t213.5 319t319 213t388 79.5q163 0 315.5 -50.5t275.5 -143t215.5 -215.5t143 -275.5t50.5 -315.5t-50.5 -315.5t-143 -275.5t-215.5 -215.5t-275.5 -143t-315.5 -50.5q-203 0 -388 79.5t-319 213t-213.5 319t-79.5 388.5zM150 606 q0 -252 132 -461.5t352 -320.5l-412 1130q-72 -162 -72 -348zM304 1100h26q68 0 124.5 2.5t79.5 5.5l22 2q28 1 46 -16t19.5 -39.5t-13 -42.5t-42.5 -24t-70 -6l288 -858l194 578l-102 276l-88 10q-22 1 -36.5 14.5t-16.5 31.5t2.5 36t21 29.5t39.5 10.5q52 -10 194 -10 q69 0 125.5 2.5t78.5 5.5l22 2q28 1 46 -16t19.5 -39.5t-13 -42.5t-42.5 -24q-26 -4 -68 -6l286 -850l88 292q68 179 68 288q0 50 -14 102q-21 54 -38 82q-33 51 -45.5 72.5t-27.5 60.5t-15 73q0 62 41 108.5t103 47.5q-117 107 -267 165.5t-315 58.5q-220 0 -410.5 -103 t-309.5 -279zM778 -232q123 -38 246 -38q152 0 290 52q0 2 -2 2l-272 746zM1476 -144q194 118 309 317t115 433q0 208 -96 400q4 -44 4 -66q0 -149 -70 -316z" />
<glyph unicode="s" horiz-adv-x="1200" d="M604 186q154 133 278.5 378.5t179.5 497.5l-458 168v-24q18 -7 61 -22t65 -24l256 -90q4 -2 17 -7t23 -9t10 -6q0 -6 -4 -18l-428 154v-28q102 -35 178 -64q244 -85 244 -90q0 -4 -6 -16l-416 150v-30l292 -104h30q-1 -2 -2 -5t-2 -5l92 -34q-1 -2 -3 -8t-5 -8l-92 32 l-8 -26q20 -5 57 -18t37 -16l-6 -18l-94 34l-12 -24l98 -34q-3 -13 -8 -20l-96 36q-5 -9 -8 -26l98 -34q-2 -4 -4 -10.5t-4 -9.5l-120 42q-3 0 -9.5 -8t-6.5 -12l128 -46q-1 -2 -4 -9t-6 -9l-126 44q-5 -14 -10 -22l128 -48q-1 -2 -2.5 -6t-3 -6.5t-4.5 -3.5l-124 44 q-2 -4 -10 -24l128 -48l-10 -16l-126 44q-1 -4 -4 -12t-4 -12l124 -46q-1 -2 -4.5 -8t-5.5 -8l-122 44q-2 -4 -5 -12t-5 -12l122 -46l-8 -16l-122 44q-1 -3 -4 -11.5t-4 -14.5l118 -42l-10 -18l-118 42l-8 -24l114 -42q-8 -12 -10 -18l-112 40q-2 -3 -5 -12t-5 -12l106 -36 l2 -4q-8 -12 -12 -16l-104 38l-8 -26l100 -36q-8 -12 -12 -16l-96 34q-8 -16 -10 -24l92 -34q-4 -4 -12 -16l-84 32h-66v-6l134 -48q-8 -12 -14 -16l-120 44v-28l104 -40l-14 -14l-90 32v-28l72 -26q-4 -6 -14 -16l-58 22v-30q28 -8 38 -14l-14 -16q-4 2 -12 5t-12 5v-64z M604 616q10 15 10 24q0 2 -10 2v-26zM604 664l18 -6q1 2 4 10.5t4 15.5l-26 8v-28zM604 714l36 -12q1 4 4 12t4 12l-44 16v-28zM604 764l52 -20q4 10 8 26l-60 20v-26zM604 812l66 -24q9 12 12 24l-78 28v-28zM604 862l86 -32q1 4 2.5 8t3 9t2.5 7l-94 34v-26zM604 910 l102 -36q1 3 4 10.5t4 13.5l-110 40v-28zM604 960l120 -42q1 2 2.5 7t3 9t2.5 8l-128 46v-28zM604 1008l136 -48q3 6 8 26l-144 50v-28zM604 1058l156 -56h74l-230 84v-28z" />
<glyph unicode="v" horiz-adv-x="1372" d="M155 1059q0 21 10 39q13 24 39 36l460 164q12 4 25 4l25 -4l460 -164q26 -12 39 -36q10 -19 10 -39q0 -6 -1 -13q0 -1 -1 -6q-8 -36 -18 -72.5t-36 -123.5t-63.5 -172t-88 -183.5t-123 -193.5t-154.5 -169q-20 -20 -50 -20q-28 0 -48 20q-102 91 -189 219t-138 238 t-89.5 223.5t-51 165.5t-16.5 74q-1 7 -1 13zM199 1049q0 -5 1 -9q2 -13 8.5 -39.5t24.5 -89t40.5 -128t61 -151t83 -163.5t107.5 -160t133 -145q14 -10 31 -10t29 10q97 87 179.5 209t130 225.5t84.5 214t48.5 156.5t15.5 71q1 6 1 13q0 9 -5 19q-8 16 -24 22l-444 160 q-3 0 -8 1t-8 1l-14 -2l-444 -160q-16 -6 -24 -22q-6 -11 -7 -23zM368 1000h168l152 -390l154 390h168q-6 -15 -16 -43.5t-19 -51.5t-19 -43q-2 -4 -6.5 -6t-10.5 -3.5t-9 -2.5q-5 -3 -8.5 -6.5t-6 -9t-4 -8.5t-4 -10.5t-3.5 -9.5l-24 -60q-108 -273 -128 -324h-126l-54 132 q-8 24 -28 72q-8 24 -28 72l-30 74q-4 9 -9 24t-10.5 27t-14.5 23q-4 4 -9 5.5t-11 1.5t-8 1q-25 61 -56 146z" />
<glyph unicode="&#x2000;" horiz-adv-x="803" />
<glyph unicode="&#x2001;" horiz-adv-x="1606" />
<glyph unicode="&#x2002;" horiz-adv-x="803" />
<glyph unicode="&#x2003;" horiz-adv-x="1606" />
<glyph unicode="&#x2004;" horiz-adv-x="535" />
<glyph unicode="&#x2005;" horiz-adv-x="401" />
<glyph unicode="&#x2006;" horiz-adv-x="267" />
<glyph unicode="&#x2007;" horiz-adv-x="267" />
<glyph unicode="&#x2008;" horiz-adv-x="200" />
<glyph unicode="&#x2009;" horiz-adv-x="321" />
<glyph unicode="&#x200a;" horiz-adv-x="89" />
<glyph unicode="&#x202f;" horiz-adv-x="321" />
<glyph unicode="&#x205f;" horiz-adv-x="401" />
<glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
</font>
</defs></svg>

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2017-12-4: Created with FontForge (http://fontforge.org)
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20170925 at Mon Dec 4 15:18:51 2017
By Michael Arestad
</metadata>
<defs>
<font id="jetpack" horiz-adv-x="200" >
<font-face
font-family="jetpack"
font-weight="400"
font-stretch="normal"
units-per-em="512"
panose-1="2 0 5 3 0 0 0 0 0 0"
ascent="448"
descent="-64"
bbox="51.2002 -12.7998 460.8 396.8"
underline-thickness="25.6"
underline-position="-51.2"
unicode-range="U+0020-F100"
/>
<missing-glyph />
<glyph glyph-name="space" unicode=" "
/>
<glyph glyph-name="jetpack-logo__icon" unicode="&#xf100;" horiz-adv-x="512"
d="M256 396.8c112.64 0 204.8 -92.1602 204.8 -204.8s-92.1602 -204.8 -204.8 -204.8s-204.8 92.1602 -204.8 204.8s92.1602 204.8 204.8 204.8zM230.4 166.4v179.199l-102.4 -179.199h102.4zM281.6 38.4004l102.4 179.199h-102.4v-179.199z" />
</font>
</defs></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Some files were not shown because too many files have changed in this diff Show More