!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=65)}([function(e,t,n){"use strict";e.exports=n(79)},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return o}));var r="reader",a="standard",c="transitional",o=783},,function(e,t){!function(){e.exports=this.lodash}()},function(e,t,n){var r=n(74),a=n(75),c=n(76),o=n(78);e.exports=function(e,t){return r(e)||a(e,t)||c(e,t)||o()}},,function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return y}));var r=n(7),a=n.n(r),c=n(24),o=n.n(c),i=n(27),l=n.n(i),s=n(5),u=n.n(s),d=n(0),f=n(28),m=n.n(f),h=(n(11),n(31)),p=n(32);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=ampSettings},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return l}));var r=n(5),a=n.n(r),c=n(0),o=(n(11),n(36)),i=Object(c.createContext)();function l(t){var n=t.children,r=Object(c.useState)(null),l=a()(r,2),s=l[0],u=l[1],d=Object(c.useState)(null),f=a()(d,2),m=f[0],h=f[1],p=Object(c.useState)(!0),v=a()(p,2),b=v[0],g=v[1];return Object(c.useEffect)((function(){b||s||u(Object(o.getQueryArg)(e.location.href,"amp-theme-issues")?["Theme issue 1"]:null)}),[b,s]),Object(c.useEffect)((function(){b||m||h(Object(o.getQueryArg)(e.location.href,"amp-plugin-issues")?["Plugin issue 1"]:null)}),[b,m]),Object(c.useEffect)((function(){!0===b&&g(!1)}),[b]),Object(c.createElement)(i.Provider,{value:{pluginIssues:m,scanningSite:b,themeIssues:s}},n)}}).call(this,n(40))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r=n(5),a=n.n(r),c=n(0),o=(n(11),n(9)),i=n(21),l=n(22),s=n(25),u=Object(c.createContext)();function d(e){var t=e.children,n=Object(c.useContext)(o.a),r=n.editedOptions,d=n.originalOptions,f=n.updateOptions,m=n.readerModeWasOverridden,h=n.setReaderModeWasOverridden,p=Object(c.useContext)(l.a),v=p.activePageIndex,b=p.currentPage.slug,g=p.setActivePageIndex,y=Object(c.useContext)(i.a),k=y.selectedTheme,O=y.currentTheme,E=Object(c.useContext)(s.a),j=E.developerToolsOption,w=E.fetchingUser,z=E.originalDeveloperToolsOption,M=Object(c.useState)(!1),C=a()(M,2),L=C[0],x=C[1],_=Object(c.useState)(null),H=a()(_,2),V=H[0],T=H[1],S=Object(c.useState)(!1),P=a()(S,2),N=P[0],A=P[1],R=(r||{}).theme_support,I=(d||{}).theme_support,F=!w&&j!==z;return Object(c.useEffect)((function(){F&&A(!0)}),[F]),Object(c.useEffect)((function(){R&&T(R)}),[R]),Object(c.useEffect)((function(){"summary"===b&&"reader"===R&&k.name===O.name&&(m?h(!1):(f({theme_support:"transitional"}),h(!0),g(v-1)))}),[v,k.name,O.name,R,b,m,f,h,g]),Object(c.useEffect)((function(){if(!w&&"technical-background"===b)if(L||I===R){if(L||j===z||(x(!0),f({theme_support:void 0})),L&&j===z){var e=V||I;R!==e&&f({theme_support:e})}}else x(!0)}),[b,j,w,V,z,I,L,R,f]),Object(c.createElement)(u.Provider,{value:{readerModeWasOverridden:m,technicalQuestionChangedAtLeastOnce:N}},t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(37);function a(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";var r=n(92),a=n(93),c=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(c(e)&&c(t))return a(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=a},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),a=n.n(r),c=n(0),o=(n(11),n(12)),i=n.n(o),l=n(107),s=n(29),u=(n(91),"right");function d(t){var n=t.children,r=void 0===n?null:n,o=t.className,d=t.heading,f=t.handleType,m=void 0===f?"full-width":f,h=t.id,p=t.initialOpen,v=void 0!==p&&p,b=t.selected,g=void 0!==b&&b,y=t.hiddenTitle,k=Object(c.useState)(v),O=a()(k,2),E=O[0],j=O[1],w=Object(c.useState)(null),z=a()(w,2),M=z[0],C=z[1];return Object(c.useEffect)((function(){var t,n=new e.MutationObserver((function(e){a()(e,1)[0].target.classList.contains("is-opened")&&!E?j(!0):E&&j(!1)})),r=null===(t=document.getElementById(h))||void 0===t?void 0:t.querySelector(".components-panel__body");return r&&n.observe(r,{attributes:!0}),function(){n.disconnect()}}),[h,E]),Object(c.useEffect)((function(){C(null!==M?"resetting":"waiting")}),[v]),Object(c.useEffect)((function(){"resetting"===M&&C("waiting")}),[M]),Object(c.createElement)(s.a,{id:h,className:i()("amp-drawer","amp-drawer--handle-type-".concat(m),o,E?"amp-drawer--opened":""),selected:g},m===u&&Object(c.createElement)("div",{className:"amp-drawer__heading"},d),"resetting"!==M&&Object(c.createElement)(l.a,{title:m===u?Object(c.createElement)("span",{className:"components-visually-hidden"},y):Object(c.createElement)("div",{className:"amp-drawer__heading"},d),className:"amp-drawer__panel-body",initialOpen:v},Object(c.createElement)("div",{className:"amp-drawer__panel-body-inner"},r)))}}).call(this,n(40))},function(e,t){!function(){e.exports=this.wp.htmlEntities}()},,,function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,l=o(e),s=1;s1)for(var n=1;n3&&void 0!==arguments[3]?arguments[3]:10;if(f(t)&&d(n))if("function"==typeof r)if("number"==typeof a){var c={callback:r,priority:a,namespace:n};if(e[t]){var o,i=e[t].handlers;for(o=i.length;o>0&&!(a>=i[o-1].priority);o--);o===i.length?i[o]=c:i.splice(o,0,c),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=o&&e.currentIndex++}))}else e[t]={handlers:[c],runs:0};"hookAdded"!==t&&E("hookAdded",t,n,r,a)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var h=function(e,t){return function(n,r){if(f(n)&&(t||d(r))){if(!e[n])return 0;var a=0;if(t)a=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var c=e[n].handlers,o=function(t){c[t].namespace===r&&(c.splice(t,1),a++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},i=c.length-1;i>=0;i--)o(i);return"hookRemoved"!==n&&E("hookRemoved",n,r),a}}};var p=function(e){return function(t,n){return void 0!==n?t in e&&e[t].handlers.some((function(e){return e.namespace===n})):t in e}},v=n(23);var b=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;var r=e[n].handlers;for(var a=arguments.length,c=new Array(a>1?a-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,r=t.alternative,a=t.plugin,c=t.link,o=t.hint,i=a?" from ".concat(a):"",l=n?" and will be removed".concat(i," in version ").concat(n):"",s=r?" Please use ".concat(r," instead."):"",u=c?" See: ".concat(c):"",d=o?" Note: ".concat(o):"",f="".concat(e," is deprecated").concat(l,".").concat(s).concat(u).concat(d);f in j||(E("deprecated",e,t,f),console.warn(f),j[f]=!0)}var z=n(17),M=n(18),C=n(19),L=n(8),x=n(20),_=n(10);function H(){for(var e=arguments.length,t=new Array(e),n=0;n0||e.offsetHeight>0||e.getClientRects().length>0}function I(e){var t=e.querySelectorAll(A);return Array.from(t).filter((function(e){return!(!R(e)||function(e){return"iframe"===e.nodeName.toLowerCase()&&"-1"===e.getAttribute("tabindex")}(e))&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&R(n)}(e))}))}function F(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function D(e){return-1!==F(e)}function W(e,t){return{element:e,index:t}}function B(e){return e.element}function Z(e,t){var n=F(e.element),r=F(t.element);return n===r?e.index-t.index:n-r}function U(e){return e.filter(D).map(W).sort(Z).map(B).reduce((t={},function(e,n){var r=n.nodeName,a=n.type,c=n.checked,o=n.name;if("INPUT"!==r||"radio"!==a||!o)return e.concat(n);var i=t.hasOwnProperty(o);if(!c&&i)return e;if(i){var l=t[o];e=Object(u.without)(e,l)}return t[o]=n,e.concat(n)}),[]);var t}function Q(e){return U(I(e))}function $(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=I(document.body),n=t.indexOf(e);return t.length=n,Object(u.last)(U(t))}function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=I(document.body),n=t.indexOf(e),r=t.slice(n+1).filter((function(t){return!e.contains(t)}));return Object(u.first)(U(r))}var q={focusable:r,tabbable:a},Y=n(1);function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(u.includes)(["iPad","iPhone"],t)}var X="alt",J="ctrl",ee="meta",te="shift",ne={primary:function(e){return e()?[ee]:[J]},primaryShift:function(e){return e()?[te,ee]:[J,te]},primaryAlt:function(e){return e()?[X,ee]:[J,X]},secondary:function(e){return e()?[te,X,ee]:[J,te,X]},access:function(e){return e()?[J,X]:[te,X]},ctrl:function(){return[J]},alt:function(){return[X]},ctrlShift:function(){return[J,te]},shift:function(){return[te]},shiftAlt:function(){return[te,X]}},re=(Object(u.mapValues)(ne,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G;return[].concat(Object(v.a)(e(n)),[t.toLowerCase()]).join("+")}})),Object(u.mapValues)(ne,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G,a=r(),c=(n={},Object(_.a)(n,X,a?"⌥":"Alt"),Object(_.a)(n,J,a?"^":"Ctrl"),Object(_.a)(n,ee,"⌘"),Object(_.a)(n,te,a?"⇧":"Shift"),n),o=e(r).reduce((function(e,t){var n=Object(u.get)(c,t,t);return[].concat(Object(v.a)(e),a?[n]:[n,"+"])}),[]),i=Object(u.capitalize)(t);return[].concat(Object(v.a)(o),[i])}})));Object(u.mapValues)(re,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G;return e(t,n).join("")}})),Object(u.mapValues)(ne,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G,a=r(),c=(n={},Object(_.a)(n,te,"Shift"),Object(_.a)(n,ee,a?"Command":"Control"),Object(_.a)(n,J,"Control"),Object(_.a)(n,X,a?"Option":"Alt"),Object(_.a)(n,",",Object(Y.__)("Comma")),Object(_.a)(n,".",Object(Y.__)("Period")),Object(_.a)(n,"`",Object(Y.__)("Backtick")),n);return[].concat(Object(v.a)(e(r)),[t]).map((function(e){return Object(u.capitalize)(Object(u.get)(c,e,e))})).join(a?" ":" + ")}}));function ae(e){return[X,J,ee,te].filter((function(t){return e["".concat(t,"Key")]}))}Object(u.mapValues)(ne,(function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G,a=e(r),c=ae(t);return!Object(u.xor)(a,c).length&&(n?t.key===n:Object(u.includes)(a,t.key.toLowerCase()))}}));function ce(e){var t=T(Object(i.useState)(e&&window.matchMedia(e).matches),2),n=t[0],r=t[1];return Object(i.useEffect)((function(){if(e){var t=function(){return r(window.matchMedia(e).matches)};t();var n=window.matchMedia(e);return n.addListener(t),function(){n.removeListener(t)}}}),[e]),e&&n}var oe={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},ie={">=":"min-width","<":"max-width"},le={">=":function(e,t){return t>=e},"<":function(e,t){return t1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(i.useContext)(se),r=!n&&"(".concat(ie[t],": ").concat(oe[e],"px)"),a=ce(r);return n?le[t](oe[e],n):a};ue.__experimentalWidthProvider=se.Provider;var de=ue,fe=n(59),me=n.n(fe).a,he=n(109),pe=Object(i.createElement)(he.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(he.a,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t0?i/2:s)+(s+i/2>window.innerWidth?window.innerWidth-s:i/2)},d=e.left;"right"===r?d=e.right:"middle"!==c&&(d=s);var f=e.right;"left"===r?f=e.left:"middle"!==c&&(f=s);var m,h={popoverLeft:d,contentWidth:d-i>0?i:d},p={popoverLeft:f,contentWidth:f+i>window.innerWidth?window.innerWidth-f:i},v=n,b=null;if(!a)if("center"===n&&u.contentWidth===i)v="center";else if("left"===n&&h.contentWidth===i)v="left";else if("right"===n&&p.contentWidth===i)v="right";else{var g="left"===(v=h.contentWidth>p.contentWidth?"left":"right")?h.contentWidth:p.contentWidth;b=g!==i?g:null}if(m="center"===v?u.popoverLeft:"left"===v?h.popoverLeft:p.popoverLeft,o){var y=o.getBoundingClientRect();m=Math.min(m,y.right-i)}return{xAxis:v,popoverLeft:m,contentWidth:b}}function ye(e,t,n,r,a,c,o){var i=t.height;if(a){var l=(function e(t){if(t){if(t.scrollHeight>t.clientHeight){var n=window.getComputedStyle(t).overflowY;if(/(auto|scroll)/.test(n))return t}return e(t.parentNode)}}(c)||document.body).getBoundingClientRect().top+i-o;if(e.top<=l)return{yAxis:n,popoverTop:Math.min(e.bottom,l)}}var s=e.top+e.height/2;"bottom"===r?s=e.bottom:"top"===r&&(s=e.top);var u={popoverTop:s,contentHeight:(s-i/2>0?i/2:s)+(s+i/2>window.innerHeight?window.innerHeight-s:i/2)},d={popoverTop:e.top,contentHeight:e.top-10-i>0?i:e.top-10},f={popoverTop:e.bottom,contentHeight:e.bottom+10+i>window.innerHeight?window.innerHeight-10-e.bottom:i},m=n,h=null;if(!a)if("middle"===n&&u.contentHeight===i)m="middle";else if("top"===n&&d.contentHeight===i)m="top";else if("bottom"===n&&f.contentHeight===i)m="bottom";else{var p="top"===(m=d.contentHeight>f.contentHeight?"top":"bottom")?d.contentHeight:f.contentHeight;h=p!==i?p:null}return{yAxis:m,popoverTop:"middle"===m?u.popoverTop:"top"===m?d.popoverTop:f.popoverTop,contentHeight:h}}var ke=function(e,t){return function(n){var r=e(n),a=n.displayName,c=void 0===a?n.name||"Component":a;return r.displayName="".concat(Object(u.upperFirst)(Object(u.camelCase)(t)),"(").concat(c,")"),r}},Oe=n(16);function Ee(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var je=Object(i.createContext)({focusHistory:[]}),we=je.Provider,ze=je.Consumer;we.displayName="FocusReturnProvider",ze.displayName="FocusReturnConsumer";i.Component;function Me(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Ce=ke((function e(t){if((r=t)instanceof i.Component||"function"==typeof r){var n=t;return e({})(n)}var r,a=t.onFocusReturn,c=void 0===a?u.stubTrue:a;return function(e){var t=function(t){Object(x.a)(a,t);var n,r=(n=a,function(){var e,t=Object(L.a)(n);if(Me()){var r=Object(L.a)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Object(C.a)(this,e)});function a(){var e;return Object(z.a)(this,a),(e=r.apply(this,arguments)).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(M.a)(a,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==c())for(var r,a=[].concat(Object(v.a)(u.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(v.a)(n)))),[e]);r=a.pop();)if(document.body.contains(r))return void r.focus()}},{key:"render",value:function(){return Object(i.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(i.createElement)(e,this.props.childProps))}}]),a}(i.Component);return function(e){return Object(i.createElement)(ze,null,(function(n){return Object(i.createElement)(t,{childProps:e,focus:n})}))}}}),"withFocusReturn");function Le(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var xe=ke((function(e){return function(t){Object(x.a)(a,t);var n,r=(n=a,function(){var e,t=Object(L.a)(n);if(Le()){var r=Object(L.a)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Object(C.a)(this,e)});function a(){var e;return Object(z.a)(this,a),(e=r.apply(this,arguments)).focusContainRef=Object(i.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(Oe.a)(e)),e}return Object(M.a)(a,[{key:"handleTabBehaviour",value:function(e){if(9===e.keyCode){var t=q.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(i.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(i.createElement)(e,this.props))}}]),a}(i.Component)}),"withConstrainedTabbing");function _e(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var He=["button","submit"];function Ve(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Te=ke((function(e){return function(t){Object(x.a)(a,t);var n,r=(n=a,function(){var e,t=Object(L.a)(n);if(_e()){var r=Object(L.a)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Object(C.a)(this,e)});function a(){var e;return Object(z.a)(this,a),(e=r.apply(this,arguments)).bindNode=e.bindNode.bind(Object(Oe.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(Oe.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(Oe.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(Oe.a)(e)),e}return Object(M.a)(a,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(u.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(u.includes)(He,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(i.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(i.createElement)(e,Object(c.a)({ref:this.bindNode},this.props)))}}]),a}(i.Component)}),"withFocusOutside")(function(e){Object(x.a)(r,e);var t,n=(t=r,function(){var e,n=Object(L.a)(t);if(Ve()){var r=Object(L.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(C.a)(this,e)});function r(){return Object(z.a)(this,r),n.apply(this,arguments)}return Object(M.a)(r,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),r}(i.Component));function Se(e){return function(){var t,n=Object(L.a)(e);if(Pe()){var r=Object(L.a)(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Object(C.a)(this,t)}}function Pe(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,a=void 0===r?"lockscroll":r,c=0,o=0;function l(e){var t=n.scrollingElement||n.body;e&&(o=t.scrollTop);var r=e?"add":"remove";t.classList[r](a),n.documentElement.classList[r](a),e||(t.scrollTop=o)}function s(){0===c&&l(!0),++c}function u(){1===c&&l(!1),--c}return function(e){Object(x.a)(n,e);var t=Se(n);function n(){return Object(z.a)(this,n),t.apply(this,arguments)}return Object(M.a)(n,[{key:"componentDidMount",value:function(){s()}},{key:"componentWillUnmount",value:function(){u()}},{key:"render",value:function(){return null}}]),n}(i.Component)}();function Ae(e){e.stopPropagation()}var Re=Object(i.forwardRef)((function(e,t){var n=e.children,r=Object(o.a)(e,["children"]);return Object(i.createElement)("div",Object(c.a)({},r,{ref:t,onMouseDown:Ae}),n)})),Ie=n(33);function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function De(e){var t=Object(i.useContext)(Ie.a),n=t.slots[e]||{},r=t.fills[e],a=Object(i.useMemo)((function(){return r||[]}),[r]);return function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function bt(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var gt=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,a=e.children,l=e.className,u=e.noArrow,d=void 0===u||u,f=e.isAlternate,m=e.position,h=void 0===m?"bottom right":m,p=(e.range,e.focusOnMount),v=void 0===p?"firstElement":p,b=e.anchorRef,g=e.shouldAnchorIncludePadding,y=e.anchorRect,k=e.getAnchorRect,O=e.expandOnMobile,E=e.animate,j=void 0===E||E,z=e.onClickOutside,M=e.onFocusOutside,C=e.__unstableSticky,L=e.__unstableSlotName,x=void 0===L?"Popover":L,_=e.__unstableObserveElement,H=e.__unstableBoundaryParent,V=Object(o.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableObserveElement","__unstableBoundaryParent"]),S=Object(i.useRef)(null),P=Object(i.useRef)(null),A=Object(i.useRef)(),R=de("medium","<"),I=T(Object(i.useState)(),2),F=I[0],D=I[1],W=De(x),B=O&&R,Z=T(me(),2),U=Z[0],Q=Z[1];d=B||d,Object(i.useLayoutEffect)((function(){if(B)return bt(A.current,"is-without-arrow",d),bt(A.current,"is-alternate",f),pt(A.current,"data-x-axis"),pt(A.current,"data-y-axis"),vt(A.current,"top"),vt(A.current,"left"),vt(P.current,"maxHeight"),void vt(P.current,"maxWidth");var e=function(){if(A.current&&P.current){var e=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if(r instanceof window.Range)return N(r);if(r instanceof window.Element){var c=r.getBoundingClientRect();return a?c:ht(c,r)}var o=r.top,i=r.bottom,l=o.getBoundingClientRect(),s=i.getBoundingClientRect(),u=new window.DOMRect(l.left,l.top,l.width,s.bottom-l.top);return a?u:ht(u,r)}if(e.current){var d=e.current.parentNode,f=d.getBoundingClientRect();return a?f:ht(f,d)}}(S,y,k,b,g);if(e){var t,n,r=A.current,a=r.offsetParent,c=r.ownerDocument,o=0;if(a&&a!==c.body){var i=a.getBoundingClientRect();o=i.top,e=new window.DOMRect(e.left-i.left,e.top-i.top,e.width,e.height)}if(H)t=null===(n=A.current.closest(".popover-slot"))||void 0===n?void 0:n.parentNode;var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,c=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,i=n.split(" "),l=T(i,3),s=l[0],u=l[1],d=void 0===u?"center":u,f=l[2],m=ye(e,t,s,f,r,a,c),h=ge(e,t,d,f,r,m.yAxis,o);return be({},h,{},m)}(e,Q.height?Q:P.current.getBoundingClientRect(),h,C,A.current,o,t),s=l.popoverTop,u=l.popoverLeft,m=l.xAxis,p=l.yAxis,v=l.contentHeight,O=l.contentWidth;"number"==typeof s&&"number"==typeof u&&(vt(A.current,"top",s+"px"),vt(A.current,"left",u+"px")),bt(A.current,"is-without-arrow",d||"center"===m&&"middle"===p),bt(A.current,"is-alternate",f),pt(A.current,"data-x-axis",m),pt(A.current,"data-y-axis",p),vt(P.current,"maxHeight","number"==typeof v?v+"px":""),vt(P.current,"maxWidth","number"==typeof O?O+"px":"");D(({left:"right",right:"left"}[m]||"center")+" "+({top:"bottom",bottom:"top"}[p]||"middle"))}}};e();var t,n,r=window.setInterval(e,500),a=function(){window.cancelAnimationFrame(t),t=window.requestAnimationFrame(e)};return window.addEventListener("click",a),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),_&&(n=new window.MutationObserver(e)).observe(_,{attributes:!0}),function(){window.clearInterval(r),window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0),window.removeEventListener("click",a),window.cancelAnimationFrame(t),n&&n.disconnect()}}),[B,y,k,b,g,h,Q,C,_,H]),function(e,t){Object(i.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=q.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(v,P);var $=function(e){27===e.keyCode&&n&&(e.stopPropagation(),n()),r&&r(e)};var K=Object(i.createElement)(Te,{onFocusOutside:function(e){if(M)M(e);else if(z){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),w("Popover onClickOutside prop",{alternative:"onFocusOutside"}),z(t)}else n&&n()}},Object(i.createElement)(ft,{type:j&&F?"appear":null,options:{origin:F}},(function(e){var r=e.className;return Object(i.createElement)(Re,Object(c.a)({className:s()("components-popover",l,r,{"is-expanded":B,"is-without-arrow":d,"is-alternate":f})},V,{onKeyDown:$,ref:A}),B&&Object(i.createElement)(Ne,null),B&&Object(i.createElement)("div",{className:"components-popover__header"},Object(i.createElement)("span",{className:"components-popover__header-title"},t),Object(i.createElement)(Ct,{className:"components-popover__close",icon:pe,onClick:n})),Object(i.createElement)("div",{ref:P,className:"components-popover__content",tabIndex:"-1"},Object(i.createElement)("div",{style:{position:"relative"}},U,a)))})));return v&&(K=Object(i.createElement)(mt,null,K)),W.ref&&(K=Object(i.createElement)(dt,{name:x},K)),b||y?K:Object(i.createElement)("span",{ref:S},K)};gt.Slot=function(e){var t=e.name,n=void 0===t?"Popover":t;return Object(i.createElement)(ut,{bubblesVirtually:!0,name:n,className:"popover-slot"})};var yt=gt;var kt=function(e){var t,n,r=e.shortcut,a=e.className;return r?(Object(u.isString)(r)&&(t=r),Object(u.isObject)(r)&&(t=r.display,n=r.ariaLabel),Object(i.createElement)("span",{className:a,"aria-label":n},t)):null};function Ot(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Et=function(e){Object(x.a)(r,e);var t,n=(t=r,function(){var e,n=Object(L.a)(t);if(Ot()){var r=Object(L.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(C.a)(this,e)});function r(){var e;return Object(z.a)(this,r),(e=n.apply(this,arguments)).delayedSetIsOver=Object(u.debounce)((function(t){return e.setState({isOver:t})}),700),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(M.a)(r,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===i.Children.count(n)){var r=i.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!(r.currentTarget.disabled||"focus"===r.type&&n.isInMouseDown)){n.delayedSetIsOver.cancel();var a=Object(u.includes)(["focus","mouseenter"],r.type);a!==n.state.isOver&&(t?n.delayedSetIsOver(a):n.setState({isOver:a}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(n){t.emitToChild(e?"onMouseDown":"onMouseUp",n),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,a=e.shortcut;if(1!==i.Children.count(t))return t;var c=i.Children.only(t),o=this.state.isOver;return Object(i.cloneElement)(c,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:H(c.props.children,o&&Object(i.createElement)(yt,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},r,Object(i.createElement)(kt,{className:"components-tooltip__shortcut",shortcut:a})))})}}]),r}(i.Component),jt=n(38);function wt(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return zt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zt(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a,c=!0,o=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){o=!0,a=e},f:function(){try{c||null==r.return||r.return()}finally{if(o)throw a}}}}function zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nyour site will have a non-AMP and an AMP version, and each version will use its own theme. If automatic mobile redirection is enabled, the AMP version of the content will be served on mobile devices. If AMP-to-AMP linking is enabled, once users are on an AMP page, they will continue navigating your AMP content.","amp");case a(A,C.d,R,D):case a(A,C.d,R,F):case a(A,C.d,"mostRecommended",D):case a(A,C.d,"mostRecommended",F):case a(A,C.d,I,D):case a(A,C.d,I,F):return Object(r.__)("In Transitional mode your site will have a non-AMP and an AMP version, and both will use the same theme. If automatic mobile redirection is enabled, the AMP version of the content will be served on mobile devices. If AMP-to-AMP linking is enabled, once users are on an AMP page, they will continue navigating your AMP content. ","amp");case a(A,C.c,I,D):case a(A,C.c,I,F):case a(A,C.c,"mostRecommended",D):case a(A,C.c,"mostRecommended",F):case a(A,C.c,R,D):case a(A,C.c,R,F):return Object(r.__)("In Standard mode your site will be completely AMP (except in cases where you opt-out of AMP for specific parts of your site), and it will use a single theme. ","amp");case a(N,C.c,I,D):case a(N,C.c,I,F):return"Standard mode is a good choice if your site uses an AMP-compatible theme and only uses AMP-compatible plugins. If you're not sure of the compatibility of your themes and plugins, Reader mode may be a better option.";default:throw new Error(Object(r.__)("A selection text recommendation was not accounted for. ","amp")+JSON.stringify(t))}}function B(e){var t=e.currentThemeIsAmongReaderThemes,n=e.developerToolsOption,c=e.firstTimeInWizard,o=e.technicalQuestionChanged,i=e.pluginIssues,l=e.savedCurrentMode,s=e.themeIssues,u=Object(a.useMemo)((function(){return!0===n}),[n]),d=Object(a.useMemo)((function(){return function(e){var t,n,a,c,o,i,l,s,u=e.currentThemeIsAmongReaderThemes,d=e.userIsTechnical,f=e.hasPluginIssues,m=e.hasThemeIssues,h=e.hasScanResults;if(!(void 0===h||h))return d?(s={},T()(s,C.b,u?"mostRecommended":I),T()(s,C.c,I),T()(s,C.d,u?"mostRecommended":I),s):(l={},T()(l,C.b,"mostRecommended"),T()(l,C.c,I),T()(l,C.d,u?"mostRecommended":I),l);switch(!0){case m&&f&&d:case m&&!f&&d:return t={},T()(t,C.b,"mostRecommended"),T()(t,C.c,R),T()(t,C.d,I),t;case m&&f&&!d:case m&&!f&&!d:return n={},T()(n,C.b,"mostRecommended"),T()(n,C.c,R),T()(n,C.d,R),n;case!m&&f&&d:return a={},T()(a,C.b,R),T()(a,C.c,R),T()(a,C.d,"mostRecommended"),a;case!m&&f&&!d:return c={},T()(c,C.b,R),T()(c,C.c,R),T()(c,C.d,"mostRecommended"),c;case!m&&!f&&d:return o={},T()(o,C.b,R),T()(o,C.c,"mostRecommended"),T()(o,C.d,R),o;case!m&&!f&&!d:return i={},T()(i,C.b,R),T()(i,C.c,R),T()(i,C.d,"mostRecommended"),i;default:throw new Error(Object(r.__)("A template mode recommendation case was not accounted for.","amp"))}}({currentThemeIsAmongReaderThemes:t,userIsTechnical:u,hasScanResults:null!==i&&null!==s,hasPluginIssues:i&&0".concat(Z.AMP_QUERY_VAR,""),"".concat(Z.DEFAULT_AMP_QUERY_VAR,""),"AMP_QUERY_VAR","amp_query_var","plugins_loaded")}}):Object(r.__)("The following themes are compatible but cannot be installed automatically. Please install them manually, or contact your host if you are not able to do so.","amp")),Object(a.createElement)("ul",{className:"choose-reader-theme__grid"},l.map((function(e){return Object(a.createElement)(K,b()({key:"theme-card-".concat(e.slug),screenshotUrl:e.screenshot_url,disabled:!0},e))}))))))}$.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 139"};n(100),n(101);function G(e){var t=e.children;return Object(a.createElement)("div",{className:"desktop"},Object(a.createElement)("div",{className:"desktop__toolbar"},Object(a.createElement)("span",null),Object(a.createElement)("span",null),Object(a.createElement)("span",null)),t)}function X(e){return Object(a.createElement)("svg",b()({width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Object(a.createElement)("path",{d:"M2.05273 0.726562H18.834C19.1777 0.726562 19.459 0.851563 19.6777 1.10156C19.9277 1.32031 20.0527 1.60156 20.0527 1.94531V13.9453C20.0527 14.2578 19.9277 14.5391 19.6777 14.7891C19.459 15.0078 19.1777 15.1172 18.834 15.1172H12.834V17.5547H15.2246C15.5684 17.5547 15.8496 17.6797 16.0684 17.9297C16.3184 18.1484 16.4434 18.4141 16.4434 18.7266V19.9453H4.44336V18.7266C4.44336 18.4141 4.55273 18.1484 4.77148 17.9297C5.02148 17.6797 5.31836 17.5547 5.66211 17.5547H8.05273V15.1172H2.05273C1.70898 15.1172 1.41211 15.0078 1.16211 14.7891C0.943359 14.5391 0.833984 14.2578 0.833984 13.9453V1.94531C0.833984 1.60156 0.943359 1.32031 1.16211 1.10156C1.41211 0.851563 1.70898 0.726562 2.05273 0.726562ZM17.6621 11.5547V3.11719H3.22461V11.5547H17.6621ZM4.44336 4.33594H15.2246L4.44336 9.11719V4.33594Z",fill:"black",fillOpacity:"0.87"}))}function J(e){return Object(a.createElement)("svg",b()({width:"13",height:"20",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Object(a.createElement)("path",{d:"M1.66211 0.265625H11.2246C11.5684 0.265625 11.8496 0.390625 12.0684 0.640625C12.3184 0.859375 12.4434 1.14063 12.4434 1.48438V18.2656C12.4434 18.6094 12.3184 18.9062 12.0684 19.1562C11.8496 19.375 11.5684 19.4844 11.2246 19.4844H1.66211C1.31836 19.4844 1.02148 19.375 0.771484 19.1562C0.552734 18.9062 0.443359 18.6094 0.443359 18.2656V1.48438C0.443359 1.14063 0.552734 0.859375 0.771484 0.640625C1.02148 0.390625 1.31836 0.265625 1.66211 0.265625ZM10.0527 14.6562V2.65625H2.83398V14.6562H10.0527ZM4.05273 3.875H8.83398L4.05273 9.875V3.875Z",fill:"black",fillOpacity:"0.87"}))}var ee=n(4),te=n(110),ne=n(15),re=n(13);var ae=function(e){var t=e.className,n=e.checked,r=e.id,c=e.onChange,o=void 0===c?ee.noop:c,i=Object(re.a)(e,["className","checked","id","onChange"]),l=O()("components-form-toggle",t,{"is-checked":n});return Object(a.createElement)("span",{className:l},Object(a.createElement)("input",Object(ne.a)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:o},i)),Object(a.createElement)("span",{className:"components-form-toggle__track"}),Object(a.createElement)("span",{className:"components-form-toggle__thumb"}))},ce=n(10);function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ie=function(e){var t=e.as,n=void 0===t?"div":t,r=e.className,c=Object(re.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(re.a)(e,["as"]);return"function"==typeof r.children?r.children(r):Object(a.createElement)(n,r)}(function(e){for(var t=1;tyour site will be completely AMP (except in cases where you opt-out of AMP for specific parts of your site), and it will use a single theme. ","amp")}),Object(a.createElement)(ge,t))}function ke(e){var t=e.currentTheme,n=Object(a.useContext)(h.a).readerModeWasOverridden;return Object(a.createElement)(a.Fragment,null,n&&Object(a.createElement)(E,{type:"info",size:"large"},Object(r.__)("Because you selected a Reader theme that is the same as your site's active theme, your site has automatically been switched to Transitional template mode.","amp")),Object(a.createElement)(me,{illustration:Object(a.createElement)(z,null),title:Object(r.__)("Transitional","amp"),text:Object(r.__)("In Transitional mode your site will have a non-AMP and an AMP version, and both will use the same theme. If automatic mobile redirection is enabled, the AMP version of the content will be served on mobile devices. If AMP-to-AMP linking is enabled, once users are on an AMP page, they will continue navigating your AMP content.","amp")}),Object(a.createElement)(ge,t),Object(a.createElement)(fe,null))}be.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236 178"};var Oe=n(60);n(103);function Ee(){return Object(a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 201.73 147.98",className:"svg-done"},Object(a.createElement)("defs",null,Object(a.createElement)("style",null,".svg-done-1{fill:none;}.svg-done-1,.svg-done-2{stroke:#2459e7;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}.svg-done-2{fill:#fff;}")),Object(a.createElement)("g",{id:"svg-done-layer-2","data-name":"Layer 2"},Object(a.createElement)("g",{id:"svg-done-layer-1-2","data-name":"Layer 1"},Object(a.createElement)("path",{className:"svg-done-1",d:"M73.61,147s34.7-34,109.3-17.6"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M96.28,133.57s-43.86-24.39-83.51-9.27"}),Object(a.createElement)("path",{className:"svg-done-2",d:"M144.21,134.63l-.06,0c-1.29-1-1.23-2.33-1.77-3.62a21.2,21.2,0,0,1-1.28-5.22,2.11,2.11,0,0,1,0-1c.25-.66,1.33-.48,1.49-1s-1-1.59-1.31-2.07a8.06,8.06,0,0,1-1-4.92,4.16,4.16,0,0,1,.63-1.88,2.81,2.81,0,0,1,1.44-1.12c.55-.16,1.37,0,1.68-.58a1.1,1.1,0,0,0,.08-.6c-.17-2.3-1.25-5.43,1.7-6.88a6.43,6.43,0,0,1,4.16-.32,8.76,8.76,0,0,1,5.68,3.88c1.57,2.77.62,6.07-1.38,8.51a1.28,1.28,0,0,0,.25,2c.58.36,1.35.38,1.74.91a2.65,2.65,0,0,1,.36,1.84c-.09,1-.12,2-.28,3a11.05,11.05,0,0,1-1,3.23,12,12,0,0,1-1.94,2.79,30.08,30.08,0,0,1-2.26,2.55,6.39,6.39,0,0,1-3.28,1.55A5.27,5.27,0,0,1,144.21,134.63Z"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M152.38,113.73S149,117,147.94,117.3"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M150.84,119.89a16.86,16.86,0,0,1-4.37,3.3"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M152.15,125.31a39.59,39.59,0,0,1-6.87,2.85"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M147,135.38s1.21-6.36,1.75-7.82a12.62,12.62,0,0,0-.67-6.59,31.55,31.55,0,0,1,.33-9.89,33.83,33.83,0,0,0,.68-5.86"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M156,138.05c-9-4.51-17.17-1.76-16.89-1.11"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M27.56,120a3.35,3.35,0,1,1,2.69-6.12A2.67,2.67,0,0,1,35.07,112,4.8,4.8,0,0,1,40.13,109a4.86,4.86,0,0,1,3.7,2.66,2.41,2.41,0,1,1,3.28,3.52,3,3,0,0,1,3.13,4.57"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M29.89,131.13A14.58,14.58,0,0,0,33.81,130c1-.51,1.9-1.65.79-2.55-.71-.58-2.5-.46-3.4-.54a8.48,8.48,0,0,0-4.65.52c-1.05.51-4.4,2.86-4,4.19C23,133.18,28.71,131.35,29.89,131.13Z"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M47.12,126.12a7.37,7.37,0,0,0-2.23-.35c-2.46.06-4.51,2.14-2,3.83,1.57,1.06,3.87,1.19,5.69,1.44,1.13.16,2.54.08,3-.94a2,2,0,0,0-.52-2.13,5.71,5.71,0,0,0-2-1.15C48.42,126.57,47.77,126.31,47.12,126.12Z"}),Object(a.createElement)("path",{className:"svg-done-2",d:"M174.82,78.37a4.68,4.68,0,0,0,2.54-1.28,4,4,0,0,0,1.19-4.28c-.53-1.29-2.22-3.41-6-3.09-.82.07-1.87-3.39-2.38-4a8.2,8.2,0,0,0-5.14-2.9,5.29,5.29,0,0,0-3,.2c-.42.19-2.22,1.52-1.85,2.15,0,0-4.39-7.49-10.62-1.14a13.2,13.2,0,0,0-2.05,3.22s-5.7-1.29-6.88,3.34c-.54,2.36-1.51,7.2,5.92,7.63,5.2,0,10.42.11,15.61.2,3.61.05,7.24.6,10.85.24A18.31,18.31,0,0,0,174.82,78.37Z"}),Object(a.createElement)("path",{className:"svg-done-2",d:"M12.51,76.39H31.62a4.39,4.39,0,0,0-.69-5.54,4.21,4.21,0,0,0-5.45,0,4.7,4.7,0,0,0-8.71-2.67A5.46,5.46,0,0,0,9,70.22C7.74,73,9.58,75.59,12.51,76.39Z"}),Object(a.createElement)("path",{className:"svg-done-2",d:"M180.92,61.75H200a4.38,4.38,0,0,0-.69-5.54,4.22,4.22,0,0,0-5.45,0,4.7,4.7,0,0,0-8.71-2.67,5.46,5.46,0,0,0-7.74,2.06C176.15,58.34,178,61,180.92,61.75Z"}),Object(a.createElement)("polygon",{className:"svg-done-2",points:"187.73 104.77 184.65 111.08 187.53 117.49 181.22 114.41 174.81 117.29 177.89 110.97 175.01 104.56 181.32 107.65 187.73 104.77"}),Object(a.createElement)("polygon",{className:"svg-done-2",points:"18.03 46.61 11 46.73 6.6 52.2 6.48 45.18 1 40.77 8.03 40.66 12.43 35.18 12.55 42.2 18.03 46.61"}),Object(a.createElement)("polygon",{className:"svg-done-2",points:"182.96 38.95 175.94 39.07 171.53 44.55 171.41 37.52 165.94 33.12 172.96 33 177.37 27.52 177.49 34.55 182.96 38.95"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M65.86,10.57a25.53,25.53,0,0,0-8,.17C45.54,13,35.69,24.22,34.32,36.63c-1.94,17.61,17.79,45.15,37.43,34C77.91,67.14,82.08,61,85,54.5c3.79-8.39,5.78-18.11,2.77-26.81C84.55,18.44,75.53,11.88,65.86,10.57Z"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M142.15,4.53a25.61,25.61,0,0,0-7.49-2.95C122.45-1.06,109,5.5,103,16.43c-8.57,15.5-1,48.52,21.45,45.79,7-.85,13.26-5,18.43-9.79,6.73-6.28,12.31-14.49,12.88-23.68C156.36,19,150.56,9.46,142.15,4.53Z"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M116.15,61.48c-12.61,2.58.28,13.12,0,18.09-.27,4.75-4.76,3.66-7,6.79-4.1,5.72,2.46,12.83-3.42,18.27"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M66.05,72.92C59.1,84.21,72.92,84.1,73,93.51c0,5-3.25,5.83-.5,10.55,2.39,4.11,5.68,4.7,6.12,9.22"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M45.17,28.08a17.37,17.37,0,0,0-1.83,17.81"}),Object(a.createElement)("path",{className:"svg-done-1",d:"M123.81,10c-9.19,4.55-14.6,10.48-13.92,21.57"}))))}function je(){return Object(a.createElement)("div",{className:"saving"},Object(a.createElement)("svg",{width:"285",height:"138",viewBox:"0 0 285 138",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)("path",{d:"M95.1831 136.785C95.1831 136.785 129.883 102.785 204.483 119.185",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M117.883 123.285C117.883 123.285 73.9833 98.8854 34.3833 113.985",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M177.583 127.785C168.583 123.285 160.383 125.985 160.683 126.685",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M49.1836 109.788C47.4836 109.188 46.4836 106.988 47.2836 105.288C47.9836 103.588 50.2836 102.788 51.8836 103.688C51.6836 102.488 52.4836 101.288 53.5836 100.888C54.6836 100.488 56.0836 100.888 56.7836 101.788C57.4836 99.7882 59.6836 98.4882 61.8836 98.6882C63.4836 98.8882 64.8836 99.8882 65.5836 101.388C66.4836 100.488 68.1836 100.488 69.0836 101.488C69.9836 102.388 69.8836 104.088 68.8836 104.988C70.0836 104.688 71.3836 105.188 71.9836 106.188C72.5836 107.188 72.6836 108.588 71.9836 109.588",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M51.4828 120.886C52.7828 120.586 54.1828 120.386 55.3828 119.786C56.3828 119.286 57.2828 118.186 56.1828 117.286C55.4828 116.686 53.6828 116.786 52.7828 116.786C51.1828 116.686 49.5828 116.586 48.0828 117.286C47.0828 117.786 43.6828 120.186 44.0828 121.486C44.6828 122.986 50.2828 121.086 51.4828 120.886Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M68.6833 115.885C67.9833 115.685 67.1833 115.485 66.4833 115.585C63.9833 115.685 61.9833 117.685 64.4833 119.385C66.0833 120.485 68.3833 120.585 70.1833 120.785C71.2833 120.985 72.6833 120.885 73.1833 119.885C73.4833 119.185 73.1833 118.285 72.6833 117.785C72.1833 117.185 71.3833 116.885 70.6833 116.685C70.0833 116.285 69.3833 116.085 68.6833 115.885Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M246.827 89.9262C247.727 89.7262 248.627 89.4262 249.327 88.6262C250.427 87.5262 251.227 85.9262 250.527 84.3262C250.027 83.0262 248.327 80.9262 244.527 81.2262C243.727 81.3262 242.627 77.8262 242.127 77.2262C240.827 75.6262 239.027 74.7262 237.027 74.3262C236.027 74.1262 234.927 74.1262 234.027 74.5262C233.627 74.7262 231.827 76.0262 232.127 76.6262C232.127 76.6262 227.727 69.1262 221.527 75.5262C220.027 77.3262 219.527 78.7262 219.527 78.7262C219.527 78.7262 213.827 77.4262 212.627 82.0262C212.127 84.4262 211.127 89.2262 218.527 89.6262C223.727 89.6262 228.927 89.7262 234.127 89.8262C237.727 89.9262 241.327 90.4262 245.027 90.0262C245.627 90.1262 246.227 90.0262 246.827 89.9262Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M235.629 109.054H254.729C255.929 107.454 255.529 104.854 254.029 103.554C252.529 102.254 250.029 102.154 248.629 103.554C248.729 101.454 247.329 99.454 245.329 98.854C243.329 98.254 241.029 99.154 239.929 100.854C237.429 99.154 233.529 100.154 232.229 102.954C230.829 105.654 232.629 108.254 235.629 109.054Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M275.75 56.9414L277.85 62.8414L283.75 64.9414L277.85 67.0414L275.75 72.9414L273.65 67.0414L267.75 64.9414L273.65 62.8414L275.75 56.9414Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M34.3833 64.9414L36.4833 70.8414L42.3833 72.9414L36.4833 75.0414L34.3833 80.9414L32.2833 75.0414L26.3833 72.9414L32.2833 70.8414L34.3833 64.9414Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M10.4722 81.5586L12.8722 88.1586L19.4722 90.5586L12.8722 92.9586L10.4722 99.5586L8.07217 92.9586L1.47217 90.5586L8.07217 88.1586L10.4722 81.5586Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M144.095 75.0624L145.303 84.4721L151.979 86.8034L156.709 93.8481L155.359 100.717L164.592 105.589L169.674 100.473L178.103 99.0727L184.393 103.366L191.437 98.6364L189.651 92.1705L194.524 82.9369L201.182 80.1693L199.782 71.7409L193.106 69.4095L187.395 62.172L188.745 55.3034L180.493 50.6238L175.218 56.7209L166.982 57.1403L159.711 52.6535L153.84 56.5953L155.434 64.0425L150.561 73.276L144.095 75.0624Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M170.614 87.9204C176.033 88.9857 181.29 85.4562 182.355 80.037C183.42 74.6179 179.891 69.3612 174.471 68.296C169.052 67.2307 163.796 70.7603 162.73 76.1794C161.665 81.5986 165.195 86.8552 170.614 87.9204Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M138.394 47.0394L148.416 53.086L146.101 64.8607L134.536 66.6639L131.609 71.1842L134.394 82.9421L123.827 90.0372L113.998 83.0094L108.706 84.0074L103.834 93.241L91.0776 90.7336L90.0628 80.3427L84.7541 76.2417L74.9587 79.4119L67.8636 68.845L73.7173 59.8043L72.7192 54.5124L62.6973 48.4659L65.0119 36.6912L76.5768 34.888L79.6966 29.3864L76.7193 18.6098L87.0933 12.4959L96.9223 19.5237L102.407 17.5445L107.28 8.31088L120.035 10.8183L122.032 21.4021L126.359 25.3101L137.136 22.3328L144.424 31.9185L137.589 40.7664L138.394 47.0394Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M103.628 60.5884C109.047 61.6537 114.304 58.1241 115.369 52.705C116.434 47.2858 112.905 42.0292 107.486 40.964C102.066 39.8987 96.8098 43.4282 95.7445 48.8474C94.6793 54.2665 98.2088 59.5232 103.628 60.5884Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M101.718 70.3011C112.502 72.421 122.963 65.3972 125.083 54.6131C127.203 43.829 120.179 33.3683 109.395 31.2485C98.6109 29.1286 88.1502 36.1524 86.0303 46.9365C83.9105 57.7206 90.9342 68.1813 101.718 70.3011Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"})),Object(a.createElement)("h1",null,Object(r.__)("Saving your settings …","amp")))}function we(){var e=Object(a.useContext)(h.a).originalOptions.preview_permalink;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Q,null,Object(a.createElement)("iframe",{className:"done__preview-iframe",src:e,title:Object(r.__)("Site preview","amp"),name:"amp-wizard-completion-preview"})),Object(a.createElement)("div",{className:"done__link-buttons"},Object(a.createElement)(Oe.a,{isPrimary:!0,href:e,target:"_blank",rel:"noreferrer"},Object(r.__)("Browse AMP","amp"))))}n(104);var ze=[{slug:"welcome",title:Object(r.__)("Welcome","amp"),PageComponent:function(){return Object(a.createElement)("div",{className:"welcome"},Object(a.createElement)("div",{className:"welcome__header"},Object(a.createElement)("div",{className:"welcome__illustration"},Object(a.createElement)("svg",{width:"201",height:"152",viewBox:"0 0 201 152",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)("g",{clipPath:"url(#clip-welcome)"},Object(a.createElement)("path",{d:"M62.7531 150.5C62.7531 150.5 97.4531 116.5 172.053 132.9",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M85.4531 137C85.4531 137 41.5531 112.6 1.95306 127.7",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M133.353 138.103C131.953 137.103 132.053 135.703 131.553 134.403C130.853 132.703 130.553 130.903 130.253 129.203C130.253 128.903 130.153 128.503 130.253 128.203C130.453 127.503 131.553 127.703 131.753 127.203C131.853 126.703 130.753 125.603 130.453 125.103C129.553 123.603 129.253 121.903 129.453 120.203C129.553 119.503 129.653 118.903 130.053 118.303C130.353 117.803 130.853 117.403 131.453 117.203C132.053 117.003 132.853 117.203 133.153 116.603C133.253 116.403 133.253 116.203 133.253 116.003C133.053 113.703 132.053 110.603 134.953 109.103C136.153 108.503 137.753 108.503 139.153 108.803C141.553 109.403 143.753 110.803 144.853 112.703C146.453 115.503 145.453 118.803 143.453 121.203C142.953 121.803 142.953 122.703 143.753 123.203C144.353 123.603 145.053 123.603 145.453 124.103C145.853 124.603 145.853 125.403 145.853 125.903C145.753 126.903 145.753 127.903 145.553 128.903C145.353 130.003 145.053 131.103 144.553 132.103C144.053 133.103 143.353 134.003 142.653 134.903C141.853 135.703 141.253 136.703 140.353 137.403C139.453 138.203 138.353 138.803 137.053 138.903C135.753 139.203 134.353 138.803 133.353 138.103Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M141.553 117.203C141.553 117.203 138.153 120.503 137.153 120.803",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M140.053 123.402C140.053 123.402 137.653 125.902 135.653 126.702",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M141.353 128.801C141.353 128.801 136.953 131.101 134.453 131.601",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M136.153 138.903C136.153 138.903 137.353 132.503 137.853 131.103C138.153 129.803 138.153 127.003 137.153 124.503C136.853 123.003 136.753 117.803 137.453 114.603C138.053 111.203 138.153 109.503 138.153 108.703",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M145.153 141.5C136.153 137 127.953 139.7 128.253 140.4",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M16.7531 123.503C15.0531 122.903 14.0531 120.703 14.8531 119.003C15.5531 117.303 17.8531 116.503 19.4531 117.403C19.2531 116.203 20.0531 115.003 21.1531 114.603C22.2531 114.203 23.6531 114.603 24.3531 115.503C25.0531 113.503 27.2531 112.203 29.4531 112.403C31.0531 112.603 32.4531 113.603 33.1531 115.103C34.0531 114.203 35.7531 114.203 36.6531 115.203C37.5531 116.103 37.4531 117.803 36.4531 118.703C37.6531 118.403 38.9531 118.903 39.5531 119.903C40.1531 120.903 40.2531 122.303 39.5531 123.303",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M19.0531 134.6C20.3531 134.3 21.7531 134.1 22.9531 133.5C23.9531 133 24.8531 131.9 23.7531 131C23.0531 130.4 21.2531 130.5 20.3531 130.5C18.7531 130.4 17.1531 130.3 15.6531 131C14.6531 131.5 11.2531 133.9 11.6531 135.2C12.2531 136.7 17.8531 134.8 19.0531 134.6Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M36.2531 129.6C35.5531 129.4 34.7531 129.2 34.0531 129.3C31.5531 129.4 29.5531 131.4 32.0531 133.1C33.6531 134.2 35.9531 134.3 37.7531 134.5C38.8531 134.7 40.2531 134.6 40.7531 133.6C41.0531 132.9 40.7531 132 40.2531 131.5C39.7531 130.9 38.9531 130.6 38.2531 130.4C37.6531 130 36.9531 129.8 36.2531 129.6Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M195.353 76.5004C196.253 76.3004 197.153 76.0004 197.853 75.2004C198.953 74.1004 199.753 72.5004 199.053 70.9004C198.553 69.6004 196.853 67.5004 193.053 67.8004C192.253 67.9004 191.153 64.4004 190.653 63.8004C189.353 62.2004 187.553 61.3004 185.553 60.9004C184.553 60.7004 183.453 60.7004 182.553 61.1004C182.153 61.3004 180.353 62.6004 180.653 63.2004C180.653 63.2004 176.253 55.7004 170.053 62.1004C168.553 63.9004 168.053 65.3004 168.053 65.3004C168.053 65.3004 162.353 64.0004 161.153 68.6004C160.653 71.0004 159.653 75.8004 167.053 76.2004C172.253 76.2004 177.453 76.3004 182.653 76.4004C186.253 76.5004 189.853 77.0004 193.553 76.6004C194.153 76.7004 194.753 76.6004 195.353 76.5004Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M150.553 101.3H169.653C170.853 99.7001 170.453 97.1001 168.953 95.8001C167.453 94.5001 164.953 94.4001 163.553 95.8001C163.653 93.7001 162.253 91.7001 160.253 91.1001C158.253 90.5001 155.953 91.4001 154.853 93.1001C152.353 91.4001 148.453 92.4001 147.153 95.2001C145.753 97.9001 147.553 100.5 150.553 101.3Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M92.0531 12.4023L100.753 20.9023L111.953 16.4023L116.753 27.5023L128.853 27.7023L129.053 39.8023L140.153 44.5023L135.653 55.8023L144.053 64.5023L135.653 73.1023L140.153 84.4023L129.053 89.2023L128.853 101.302L116.753 101.402L111.953 112.502L100.753 108.102L92.0531 116.502L83.3531 108.102L72.1531 112.502L67.3531 101.402L55.2531 101.302L55.0531 89.2023L43.9531 84.4023L48.4531 73.1023L39.9531 64.5023L48.4531 55.8023L43.9531 44.5023L55.0531 39.8023L55.2531 27.7023L67.3531 27.5023L72.1531 16.4023L83.3531 20.9023L92.0531 12.4023Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M91.7531 26.0017C70.2531 26.1017 52.9531 43.5017 53.1531 64.8017C53.2531 86.1017 70.8531 103.202 92.2531 103.002C113.753 102.902 131.053 85.5017 130.853 64.2017C130.753 42.9017 113.253 25.8017 91.7531 26.0017Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M105.353 60.9016L89.0531 87.8016H86.0531L88.9531 70.3016H79.9531H79.8531C79.0531 70.3016 78.3531 69.6016 78.3531 68.8016C78.3531 68.5016 78.6531 67.9016 78.6531 67.9016L94.9531 41.1016H97.9531L94.9531 58.6016H104.053H104.153C104.953 58.6016 105.653 59.3016 105.653 60.1016C105.653 60.4016 105.553 60.7016 105.353 60.9016Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M152.853 1.60156L154.953 7.50156L160.853 9.60156L154.953 11.7016L152.853 17.6016L150.753 11.7016L144.853 9.60156L150.753 7.50156L152.853 1.60156Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M14.8531 50.6016L16.9531 56.5016L22.8531 58.6016L16.9531 60.7016L14.8531 66.6016L12.7531 60.7016L6.85309 58.6016L12.7531 56.5016L14.8531 50.6016Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),Object(a.createElement)("path",{d:"M170.853 21.6016L173.253 28.2016L179.853 30.6016L173.253 33.0016L170.853 39.6016L168.453 33.0016L161.853 30.6016L168.453 28.2016L170.853 21.6016Z",fill:"white",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})),Object(a.createElement)("defs",null,Object(a.createElement)("clipPath",{id:"clip-welcome"},Object(a.createElement)("rect",{width:"199.4",height:"150.9",fill:"white",transform:"translate(0.953064 0.601562)"}))))),Object(a.createElement)("h1",null,Object(r.__)("Welcome to the Official AMP Plugin for WordPress","amp"))),Object(a.createElement)("div",{className:"welcome__body"},Object(a.createElement)("div",{className:"welcome__section"},Object(a.createElement)("div",{className:"welcome__section-icon"},Object(a.createElement)("svg",{width:"41",height:"41",viewBox:"0 0 41 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)("g",{clipPath:"url(#clip-welcome-2"},Object(a.createElement)("path",{d:"M8.37808 39.1765C7.85308 39.1765 7.41558 38.739 7.41558 38.214C7.41558 38.1265 7.41558 38.1265 7.41558 38.039L9.60308 25.439L0.415576 16.514C0.0655762 16.164 0.0655762 15.5515 0.415576 15.114C0.590576 14.939 0.765576 14.8515 0.940576 14.8515L13.6281 13.014L19.3156 1.55146C19.5781 1.11396 20.1906 0.93896 20.7156 1.20146C20.8031 1.28896 20.8906 1.37646 20.9781 1.55146L26.6656 13.014L39.3531 14.8515C39.8781 14.939 40.2281 15.3765 40.1406 15.9015C40.1406 16.0765 40.0531 16.339 39.8781 16.4265L30.6906 25.439L32.8781 38.039C32.9656 38.564 32.6156 39.089 32.0906 39.1765C31.9156 39.1765 31.6531 39.1765 31.4781 39.089L20.1031 33.139L8.72808 39.089C8.64058 39.1765 8.46558 39.1765 8.37808 39.1765ZM3.12808 16.5146L11.2656 24.4771C11.5281 24.7396 11.6156 25.0021 11.5281 25.3521L9.60308 36.5521L19.6656 31.3021C19.9281 31.1271 20.2781 31.1271 20.5406 31.3021L30.6031 36.5521L28.7656 25.2646C28.6781 24.9146 28.8531 24.6521 29.0281 24.3896L37.1656 16.4271L25.8781 14.7646C25.5281 14.6771 25.2656 14.5021 25.1781 14.2396L20.1031 4.08958L15.0281 14.3271C14.8531 14.5896 14.5906 14.7646 14.3281 14.8521L3.12808 16.5146Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M18.8774 29.0242H17.9149L18.8774 23.3367H15.9899C15.7274 23.3367 15.5524 23.1617 15.5524 22.8992C15.5524 22.8117 15.6399 22.7242 15.6399 22.6367L20.8024 13.8867H21.7649L20.8024 19.5742H23.7774C24.0399 19.5742 24.2149 19.7492 24.2149 20.0117C24.2149 20.0992 24.2149 20.1867 24.1274 20.2742L18.8774 29.0242Z",fill:"#005AF0"})),Object(a.createElement)("defs",null,Object(a.createElement)("clipPath",{id:"clip-welcome-2"},Object(a.createElement)("rect",{width:"40",height:"40",fill:"white",transform:"translate(0.153076 0.125)"}))))),Object(a.createElement)("div",{className:"welcome__section-description"},Object(a.createElement)("h4",null,Object(r.__)("AMP and WordPress","amp")),Object(a.createElement)("p",null,Object(r.__)("AMP is a web framework designed to make it easier to build user-first sites, which are beautiful, fast, engaging, secure, and accessible.","amp")," ",Object(r.__)("The Official AMP plugin for WordPress enables you to incorporate AMP into your site.","amp")))),Object(a.createElement)("div",{className:"welcome__section"},Object(a.createElement)("div",{className:"welcome__section-icon"},Object(a.createElement)("svg",{width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)("g",{clipPath:"url(#clip-welcome-3)"},Object(a.createElement)("path",{d:"M16.045 18.1819H3.35247C1.83747 18.1806 0.609343 16.9525 0.608093 15.4375V2.74437C0.609343 1.22937 1.83747 0.00125 3.35247 0H16.0456C17.5606 0.00125 18.7887 1.22937 18.79 2.74437V15.4375C18.7887 16.9525 17.5606 18.1806 16.0456 18.1819H16.045ZM3.35247 1.81813C2.84122 1.81875 2.42684 2.23312 2.42622 2.74437V15.4369C2.42684 15.9481 2.84122 16.3625 3.35247 16.3631H16.045C16.5562 16.3625 16.9706 15.9481 16.9712 15.4369V2.74437C16.9706 2.23312 16.5562 1.81875 16.045 1.81813H3.35247Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M1.51684 16.3639C1.01497 16.3639 0.608093 15.957 0.608093 15.4552C0.608093 15.2039 0.709968 14.977 0.874343 14.8127L6.97184 8.71516L9.69934 11.4427L15.1537 5.98828L18.5237 9.35828C18.6818 9.52141 18.7787 9.74453 18.7787 9.99016C18.7787 10.492 18.3718 10.8989 17.87 10.8989C17.6243 10.8989 17.4018 10.8014 17.2381 10.6433L15.1537 8.55891L9.69934 14.0133L6.97184 11.2858L2.15997 16.0977C1.99559 16.262 1.76809 16.3639 1.51747 16.3639H1.51684Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M8.78933 5.00047C8.78933 5.75359 8.1787 6.36422 7.42558 6.36422C6.67245 6.36422 6.06183 5.75359 6.06183 5.00047C6.06183 4.24734 6.67245 3.63672 7.42558 3.63672C8.1787 3.63672 8.78933 4.24734 8.78933 5.00047Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M34.2437 6.36438H26.9712C26.4693 6.36438 26.0618 5.9575 26.0618 5.45562C26.0618 4.95375 26.4687 4.54688 26.9712 4.54688H34.2437C34.7456 4.54688 35.1531 4.95375 35.1531 5.45562C35.1531 5.9575 34.7462 6.36438 34.2437 6.36438Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M34.2438 10.0011H26.9713C26.4694 10.0011 26.0619 9.59422 26.0619 9.09234C26.0619 8.59047 26.4688 8.18359 26.9713 8.18359H34.2438C34.7456 8.18359 35.1531 8.59047 35.1531 9.09234C35.1531 9.59422 34.7463 10.0011 34.2438 10.0011Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M34.2438 13.6378H26.9713C26.4694 13.6378 26.0619 13.2309 26.0619 12.7291C26.0619 12.2272 26.4688 11.8203 26.9713 11.8203H34.2438C34.7456 11.8203 35.1531 12.2272 35.1531 12.7291C35.1531 13.2309 34.7463 13.6378 34.2438 13.6378Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M36.9543 18.1819H24.2618C22.7468 18.1806 21.5187 16.9525 21.5175 15.4375V2.74437C21.5187 1.22937 22.7468 0.00125 24.2618 0H36.955C38.47 0.00125 39.6981 1.22937 39.6993 2.74437V15.4375C39.6981 16.9525 38.47 18.1806 36.955 18.1819H36.9543ZM24.2612 1.81813C23.75 1.81875 23.3356 2.23312 23.335 2.74437V15.4369C23.3356 15.9481 23.75 16.3625 24.2612 16.3631H36.9537C37.465 16.3625 37.8793 15.9481 37.88 15.4369V2.74437C37.8793 2.23312 37.465 1.81875 36.9537 1.81813H24.2612Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M36.9543 40H3.35247C1.83747 39.9988 0.609343 38.7706 0.608093 37.2556V22.7444C0.609343 21.2294 1.83747 20.0013 3.35247 20H36.9543C38.4693 20.0013 39.6975 21.2294 39.6987 22.7444V37.2556C39.6975 38.7706 38.4693 39.9988 36.9543 40ZM3.35247 21.8181C2.84122 21.8188 2.42684 22.2331 2.42622 22.7444V37.2556C2.42684 37.7669 2.84122 38.1812 3.35247 38.1819H36.9543C37.4656 38.1812 37.88 37.7669 37.8806 37.2556V22.7444C37.88 22.2331 37.4656 21.8188 36.9543 21.8181H3.35247Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M17.8806 34.5456C17.3787 34.5456 16.9718 34.1388 16.9718 33.6362V26.4244C16.9718 25.9225 17.3787 25.5156 17.8806 25.5156C18.0668 25.5156 18.2406 25.5719 18.3849 25.6681L18.3818 25.6663L23.8362 29.2719C24.0831 29.4369 24.2437 29.715 24.2437 30.03C24.2437 30.345 24.0831 30.6231 23.8393 30.7862L23.8362 30.7881L18.3818 34.3944C18.2406 34.4887 18.0674 34.545 17.8812 34.545L17.8806 34.5456ZM18.7893 28.1156V31.9456L21.6868 30.03L18.7893 28.1156Z",fill:"#005AF0"})),Object(a.createElement)("defs",null,Object(a.createElement)("clipPath",{id:"clip-welcome-3"},Object(a.createElement)("rect",{width:"40",height:"40",fill:"white",transform:"translate(0.153076)"}))))),Object(a.createElement)("div",{className:"welcome__section-description"},Object(a.createElement)("h4",null,Object(r.__)("Configure your site with AMP","amp")),Object(a.createElement)("p",null,Object(r.__)("There are different ways in which you can incorporate AMP content into your site, depending on its configuration (e.g. which theme and/or plugins you are using), your technical expertise and the level of resources you may have for addressing AMP compatibility issues as your site evolves.","amp")))),Object(a.createElement)("div",{className:"welcome__section"},Object(a.createElement)("div",{className:"welcome__section-icon"},Object(a.createElement)("svg",{width:"41",height:"41",viewBox:"0 0 41 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)("g",{clipPath:"url(#clip-welcome-4)"},Object(a.createElement)("path",{d:"M20.1356 37.9038C19.5937 37.9038 19.0518 37.6326 18.6 37.2719L3.33683 21.6476C-0.908174 17.2219 -0.908174 10.3582 3.33683 5.93257C7.4912 1.68757 14.3556 1.68757 18.6 5.75194C18.6906 5.84257 18.6906 5.84257 18.7806 5.93257L20.1356 7.37757L21.4906 5.93257C25.555 1.68757 32.4187 1.59757 36.6637 5.66132C36.7543 5.75194 36.8443 5.84194 36.935 5.93257C40.4575 9.54507 41.18 15.0544 38.6512 19.3894C38.38 19.8413 37.8381 19.9313 37.3868 19.6601C36.9356 19.3888 36.845 18.8469 37.0256 18.4857C39.1031 14.8732 38.6512 10.2669 35.5806 7.19632C32.1487 3.67382 26.4587 3.58382 22.9362 7.01569C22.8456 7.10632 22.7556 7.10632 22.665 7.19632L20.0456 9.81569L17.4262 7.19632C14.0843 3.67382 8.30433 3.58382 4.78183 7.01569C4.69183 7.10632 4.69183 7.19632 4.6012 7.19632C0.988701 10.8994 0.988701 16.6794 4.6012 20.3826L19.8643 36.0069C19.955 36.0976 20.2256 36.0976 20.3162 36.0069L20.5875 35.7357C20.9487 35.3744 21.4906 35.3744 21.8518 35.7357C22.2131 36.0969 22.2131 36.6388 21.8518 37.0001L21.4906 37.3613C21.2193 37.7226 20.6775 37.9032 20.1356 37.9032V37.9038Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M29.1668 37.4481C23.6574 37.4481 19.2318 33.0225 19.2318 27.5131C19.2318 22.0037 23.6574 17.5781 29.1668 17.5781C34.6762 17.5781 39.1018 22.0037 39.1018 27.5131C39.1018 33.0225 34.6762 37.4481 29.1668 37.4481ZM29.1668 19.385C24.6512 19.385 21.0387 22.9975 21.0387 27.5137C21.0387 32.03 24.6512 35.6419 29.1668 35.6419C33.6824 35.6419 37.2949 32.0294 37.2949 27.5137C37.2949 22.9981 33.6824 19.3856 29.1668 19.3856V19.385Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M32.7799 27.5167C32.5087 27.5167 32.3281 27.4261 32.1481 27.2455L29.1674 24.2648L26.1868 27.2455C25.8256 27.6067 25.2837 27.6067 24.9224 27.2455C24.5612 26.8842 24.5612 26.3423 24.9224 25.9811L28.5349 22.3686C28.8962 22.0073 29.4381 22.0073 29.7993 22.3686L33.4118 25.9811C33.7731 26.3423 33.7731 26.8842 33.4118 27.2455C33.2312 27.4261 33.0506 27.5167 32.7799 27.5167Z",fill:"#005AF0"}),Object(a.createElement)("path",{d:"M29.1668 32.9344C28.6249 32.9344 28.2637 32.5731 28.2637 32.0312V23.9031C28.2637 23.3612 28.6249 23 29.1668 23C29.7087 23 30.0699 23.3612 30.0699 23.9031V32.0312C30.0699 32.5731 29.7087 32.9344 29.1668 32.9344Z",fill:"#005AF0"})),Object(a.createElement)("defs",null,Object(a.createElement)("clipPath",{id:"clip-welcome-4"},Object(a.createElement)("rect",{width:"40",height:"40",fill:"white",transform:"translate(0.153076 0.289062)"}))))),Object(a.createElement)("div",{className:"welcome__section-description"},Object(a.createElement)("h4",null,Object(r.__)("Onboarding flow","amp")),Object(a.createElement)("p",null,Object(r.__)("This onboarding flow will guide you through the plugin configuration and getting started with AMP on your site.","amp"))))))},showTitle:!1},{slug:"technical-background",title:Object(r.__)("Technical Background","amp"),PageComponent:function(){var e=Object(a.useContext)(c.a).setCanGoForward,t=Object(a.useContext)(o.a),n=t.developerToolsOption,u=t.fetchingUser,f=t.setDeveloperToolsOption,m=Object(a.useCallback)((function(e){f(e)}),[f]);return Object(a.useEffect)((function(){"boolean"==typeof n&&e(!0)}),[n,e]),u?Object(a.createElement)(d,null):Object(a.createElement)("div",{className:"technical-background"},Object(a.createElement)("div",{className:"technical-background__header"},Object(a.createElement)("svg",{width:"130",height:"136",viewBox:"0 0 130 136",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)("g",{clipPath:"url(#clip-technical-background)"},Object(a.createElement)("path",{d:"M84.847 103.785H30.847C28.047 103.785 25.847 101.585 25.847 98.7852V45.7852C25.847 42.9852 28.047 40.7852 30.847 40.7852H89.847C92.647 40.7852 94.847 42.9852 94.847 45.7852V93.7852C94.847 99.2852 90.347 103.785 84.847 103.785Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M73.847 89.1867H46.847C44.047 89.1867 41.847 86.9867 41.847 84.1867V60.3867C41.847 57.5867 44.047 55.3867 46.847 55.3867H73.847C76.647 55.3867 78.847 57.5867 78.847 60.3867V84.1867C78.847 86.9867 76.647 89.1867 73.847 89.1867Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M60.847 40.7852V19.7852",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M37.847 40.7852V11.7852",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M26.247 72.7852H7.84698",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M62.847 104.086V126.786",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M84.847 103.785V128.785",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M95.147 76.7852H107.847",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M94.847 51.7852H116.847",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M82.847 40.3852V29.7852",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M37.847 104.086V119.786",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M37.847 129.785C40.6084 129.785 42.847 127.547 42.847 124.785C42.847 122.024 40.6084 119.785 37.847 119.785C35.0856 119.785 32.847 122.024 32.847 124.785C32.847 127.547 35.0856 129.785 37.847 129.785Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M6.84698 110.785C9.60841 110.785 11.847 108.547 11.847 105.785C11.847 103.024 9.60841 100.785 6.84698 100.785C4.08556 100.785 1.84698 103.024 1.84698 105.785C1.84698 108.547 4.08556 110.785 6.84698 110.785Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M37.847 11.7852C40.6084 11.7852 42.847 9.54658 42.847 6.78516C42.847 4.02373 40.6084 1.78516 37.847 1.78516C35.0856 1.78516 32.847 4.02373 32.847 6.78516C32.847 9.54658 35.0856 11.7852 37.847 11.7852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M82.847 29.7852C85.6084 29.7852 87.847 27.5466 87.847 24.7852C87.847 22.0237 85.6084 19.7852 82.847 19.7852C80.0856 19.7852 77.847 22.0237 77.847 24.7852C77.847 27.5466 80.0856 29.7852 82.847 29.7852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M123.847 81.7852C126.608 81.7852 128.847 79.5466 128.847 76.7852C128.847 74.0237 126.608 71.7852 123.847 71.7852C121.086 71.7852 118.847 74.0237 118.847 76.7852C118.847 79.5466 121.086 81.7852 123.847 81.7852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M121.847 56.7852C124.608 56.7852 126.847 54.5466 126.847 51.7852C126.847 49.0237 124.608 46.7852 121.847 46.7852C119.086 46.7852 116.847 49.0237 116.847 51.7852C116.847 54.5466 119.086 56.7852 121.847 56.7852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M60.847 19.7852C62.5038 19.7852 63.847 18.442 63.847 16.7852C63.847 15.1283 62.5038 13.7852 60.847 13.7852C59.1901 13.7852 57.847 15.1283 57.847 16.7852C57.847 18.442 59.1901 19.7852 60.847 19.7852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M84.847 134.785C86.5038 134.785 87.847 133.442 87.847 131.785C87.847 130.128 86.5038 128.785 84.847 128.785C83.1901 128.785 81.847 130.128 81.847 131.785C81.847 133.442 83.1901 134.785 84.847 134.785Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M110.847 79.7852C112.504 79.7852 113.847 78.442 113.847 76.7852C113.847 75.1283 112.504 73.7852 110.847 73.7852C109.19 73.7852 107.847 75.1283 107.847 76.7852C107.847 78.442 109.19 79.7852 110.847 79.7852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M86.847 50.2852C87.9516 50.2852 88.847 49.3897 88.847 48.2852C88.847 47.1806 87.9516 46.2852 86.847 46.2852C85.7424 46.2852 84.847 47.1806 84.847 48.2852C84.847 49.3897 85.7424 50.2852 86.847 50.2852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M33.847 50.2852C34.9516 50.2852 35.847 49.3897 35.847 48.2852C35.847 47.1806 34.9516 46.2852 33.847 46.2852C32.7424 46.2852 31.847 47.1806 31.847 48.2852C31.847 49.3897 32.7424 50.2852 33.847 50.2852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M86.847 98.2852C87.9516 98.2852 88.847 97.3897 88.847 96.2852C88.847 95.1806 87.9516 94.2852 86.847 94.2852C85.7424 94.2852 84.847 95.1806 84.847 96.2852C84.847 97.3897 85.7424 98.2852 86.847 98.2852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M33.847 98.2852C34.9516 98.2852 35.847 97.3897 35.847 96.2852C35.847 95.1806 34.9516 94.2852 33.847 94.2852C32.7424 94.2852 31.847 95.1806 31.847 96.2852C31.847 97.3897 32.7424 98.2852 33.847 98.2852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M4.84698 75.7852C6.50384 75.7852 7.84698 74.442 7.84698 72.7852C7.84698 71.1283 6.50384 69.7852 4.84698 69.7852C3.19013 69.7852 1.84698 71.1283 1.84698 72.7852C1.84698 74.442 3.19013 75.7852 4.84698 75.7852Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M62.847 132.785C64.5038 132.785 65.847 131.442 65.847 129.785C65.847 128.128 64.5038 126.785 62.847 126.785C61.1901 126.785 59.847 128.128 59.847 129.785C59.847 131.442 61.1901 132.785 62.847 132.785Z",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"}),Object(a.createElement)("path",{d:"M25.547 86.5859H13.847L6.74701 93.6859V100.686",stroke:"#2459E7",strokeWidth:"2",strokeMiterlimit:"10"})),Object(a.createElement)("defs",null,Object(a.createElement)("clipPath",{id:"clip-technical-background"},Object(a.createElement)("rect",{width:"129",height:"135",fill:"white",transform:"translate(0.846985 0.785156)"})))),Object(a.createElement)("h1",null,Object(r.__)("Are you technical?","amp")),Object(a.createElement)("p",null,Object(r.__)("In order to recommend the best plugin configuration options for your site, please indicate your level of technical expertise.","amp"))),Object(a.createElement)("form",null,Object(a.createElement)(s.a,{className:"technical-background-option-container",selected:!0===n},Object(a.createElement)("label",{htmlFor:"technical-background-enable",className:"technical-background-option"},Object(a.createElement)("div",{className:"technical-background-option__input-container"},Object(a.createElement)("input",{type:"radio",id:"technical-background-enable",checked:!0===n,onChange:function(){m(!0)}})),Object(a.createElement)(i,null),Object(a.createElement)("div",{className:"technical-background-option__description"},Object(a.createElement)("div",null,Object(a.createElement)("h2",null,Object(r.__)("Developer or technically savvy","amp"))),Object(a.createElement)("p",null,Object(r.__)("I am a “Developer or technically savvy” user. I am familiar with HTML, CSS, JavaScript, and PHP. I am able to do WordPress development, including making changes to themes and plugins, as well as assembling full WordPress sites out of plugins and theme components. I can understand and address AMP validation issues.","amp"))))),Object(a.createElement)(s.a,{className:"technical-background-option-container",selected:!1===n},Object(a.createElement)("label",{htmlFor:"technical-background-disable",className:"technical-background-option"},Object(a.createElement)("div",{className:"technical-background-option__input-container"},Object(a.createElement)("input",{type:"radio",id:"technical-background-disable",checked:!1===n,onChange:function(){m(!1)}})),Object(a.createElement)(l,null),Object(a.createElement)("div",{className:"technical-background-option__description"},Object(a.createElement)("div",null,Object(a.createElement)("h2",null,Object(r.__)("Non-technically savvy or wanting a simpler setup","amp"))),Object(a.createElement)("p",null,Object(r.__)("I am not a developer and I am not responsible for configuring and fixing issues on my site. I am a site owner and/or content creator who wants to take advantage of AMP to build user-first sites.","amp")))))))},showTitle:!1},{slug:"template-modes",title:Object(r.__)("Template Modes","amp"),PageComponent:function(){var e=Object(a.useContext)(c.a).setCanGoForward,t=Object(a.useContext)(h.a),n=t.editedOptions,r=t.originalOptions,i=t.updateOptions,l=Object(a.useContext)(o.a).developerToolsOption,s=Object(a.useContext)(f.a),u=s.pluginIssues,v=s.themeIssues,b=s.scanningSite,g=Object(a.useContext)(m.a).currentTheme,y=Object(a.useContext)(p.a).technicalQuestionChangedAtLeastOnce,k=n.theme_support;return Object(a.useEffect)((function(){!1===b&&void 0!==k&&e(!0)}),[e,b,k]),b?Object(a.createElement)(d,null):Object(a.createElement)(B,{currentMode:k,currentThemeIsAmongReaderThemes:g.is_reader_theme,developerToolsOption:l,firstTimeInWizard:!1===r.plugin_configured,pluginIssues:u,savedCurrentMode:r.theme_support,setCurrentMode:function(e){i({theme_support:e})},technicalQuestionChanged:y,themeIssues:v})}},{slug:"theme-selection",title:Object(r.__)("Theme Selection","amp"),PageComponent:function(){var e=Object(a.useContext)(c.a),t=e.canGoForward,n=e.setCanGoForward,r=Object(a.useContext)(h.a).editedOptions,o=Object(a.useContext)(m.a),i=o.fetchingThemes,l=o.themes,s=r.reader_theme,u=r.theme_support;return Object(a.useEffect)((function(){(l&&s&&!1===t&&!Z.AMP_QUERY_VAR_CUSTOMIZED_LATE?l.map((function(e){return e.slug})).includes(s):s===Z.LEGACY_THEME_SLUG)&&n(!0)}),[t,n,s,l,u]),i?Object(a.createElement)(d,null):Object(a.createElement)("div",{className:"choose-reader-theme"},Object(a.createElement)(Y,null))}},{slug:"summary",title:Object(r.__)("Review","amp"),PageComponent:function(){var e=Object(a.useContext)(c.a).setCanGoForward,t=Object(a.useContext)(h.a).editedOptions,n=Object(a.useContext)(m.a).currentTheme,o=t.theme_support;Object(a.useEffect)((function(){e(!0)}),[e]);var i=Object(a.useCallback)((function(){if(void 0===o)return null;switch(o){case"reader":return Object(a.createElement)(ve,{currentTheme:n});case"standard":return Object(a.createElement)(ye,{currentTheme:n});case"transitional":return Object(a.createElement)(ke,{currentTheme:n});default:throw new Error(Object(r.__)("A mode option was not accounted for on the summary screen.","amp"))}}),[n,o]);return Object(a.createElement)("div",{className:"summary"},Object(a.createElement)(i,null))}},{slug:"done",title:Object(r.__)("Done","amp"),PageComponent:function(){var e=Object(a.useContext)(h.a),t=e.didSaveOptions,n=e.editedOptions,i=n.theme_support,l=n.reader_theme,s=e.saveOptions,u=e.savingOptions,d=Object(a.useContext)(o.a),f=d.didSaveDeveloperToolsOption,p=d.saveDeveloperToolsOption,v=d.savingDeveloperToolsOption,b=Object(a.useContext)(c.a),g=b.canGoForward,y=b.setCanGoForward,k=Object(a.useContext)(m.a),O=k.downloadedTheme,j=k.downloadingTheme,w=k.downloadingThemeError;if(Object(a.useEffect)((function(){g||y(!0)}),[y,g]),Object(a.useEffect)((function(){t||u||s()}),[t,s,u]),Object(a.useEffect)((function(){f||v||p()}),[f,v,p]),u||v||j)return Object(a.createElement)(je,null);var z=Object(r.__)("Congratulations!","amp");return"standard"===i&&(z=Object(r.__)("Your site is ready","amp")),Object(a.createElement)("div",{className:"done"},Object(a.createElement)("div",{className:"done__text"},Object(a.createElement)(Ee,null),Object(a.createElement)("h1",null,z),"reader"===i&&O===l&&Object(a.createElement)(E,{size:"large",type:"success"},Object(r.__)("Your Reader theme was automatically installed","amp")),Object(a.createElement)("p",null,function(e){switch(e){case"standard":return Object(r.__)("Your site is ready to serve AMP pages to your users! In Standard mode (AMP-first) all canonical URLs are AMP by default. You can still opt out of AMP for specific content types and templates from the AMP settings screen. Depending on the theme and plugins you are using, development work may be required to maintain your site’s AMP compatibility.","amp");case"transitional":return Object(r.__)("Your site is ready to serve AMP pages to your users! In Transitional mode both the AMP and non-AMP versions of your site will be served using your currently active theme. With further development work to address AMP-compatibility issues in your themes and plugins, your site can be made fully AMP-first.","amp");case"reader":return Object(r.__)("Your site is ready to serve AMP pages to your users! In Reader mode the AMP version of your site will be served using the Reader theme you have selected (shown to the right), while pages for the non-AMP version of your site will be served using your primary theme. As a last step, make sure you tailor the Reader theme as needed using the Customizer.","amp");default:return""}}(i))),Object(a.createElement)("div",{className:"done__preview-container"},"reader"===i&&w&&Object(a.createElement)(E,{size:"large",type:"info"},Object(r.__)("There was an error downloading your Reader theme. As a result, your site is currently using the legacy reader theme. Please install your chosen theme manually.","amp")),Object(a.createElement)(we,null)))},showTitle:!1}]},function(e,t,n){"use strict";n.d(t,"a",(function(){return H}));var r=n(0),a=n(1),c=n(111);n(11);function o(){return Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(r.createElement)("g",{fill:"none",fillRule:"evenodd"},Object(r.createElement)("path",{fill:"#FFF",d:"M0 15c0 8.284 6.716 15 15 15 8.285 0 15-6.716 15-15 0-8.284-6.715-15-15-15C6.716 0 0 6.716 0 15z"}),Object(r.createElement)("path",{fill:"#005AF0",fillRule:"nonzero",d:"M13.85 24.098h-1.14l1.128-6.823-3.49.005h-.05a.57.57 0 0 1-.568-.569c0-.135.125-.363.125-.363l6.272-10.46 1.16.005-1.156 6.834 3.508-.004h.056c.314 0 .569.254.569.568 0 .128-.05.24-.121.335L13.85 24.098zM15 0C6.716 0 0 6.716 0 15c0 8.284 6.716 15 15 15 8.285 0 15-6.716 15-15 0-8.284-6.715-15-15-15z"})))}var i=n(5),l=n.n(i),s=n(25),u=n(9);function d(e){var t=e.excludeUserContext,n=void 0!==t&&t,c=Object(r.useContext)(u.a),o=c.hasOptionsChanges,i=c.didSaveOptions,s=Object(r.useState)({hasDeveloperToolsOptionChange:!1,didSaveDeveloperToolsOption:!0}),d=l()(s,2),m=d[0],h=d[1],p=m.hasDeveloperToolsOptionChange,v=m.didSaveDeveloperToolsOption;return Object(r.useEffect)((function(){if(o&&!i||p&&!v){var e=function(e){return e.returnValue=Object(a.__)("This page has unsaved changes. Are you sure you want to leave?","amp"),null};return window.addEventListener("beforeunload",e),function(){window.removeEventListener("beforeunload",e)}}return function(){}}),[o,i,p,v]),n?null:Object(r.createElement)(f,{setUserState:h})}function f(e){var t=e.setUserState,n=Object(r.useContext)(s.a),a=n.hasDeveloperToolsOptionChange,c=n.didSaveDeveloperToolsOption;return Object(r.useEffect)((function(){t({hasDeveloperToolsOptionChange:a,didSaveDeveloperToolsOption:c})}),[a,c,t]),null}var m=n(7),h=n.n(m),p=n(2);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e=b(b({},e),{},{mobileBreakpoint:p.a}),n=t.mobileBreakpoint,a=Object(r.useState)(window.innerWidth),c=l()(a,2),o=c[0],i=c[1];return Object(r.useEffect)((function(){var e=function(){i(window.innerWidth)};return window.addEventListener("resize",e,{passive:!0}),function(){window.removeEventListener("resize",e)}}),[]),{windowWidth:o,isMobile:on,c=!a&&t===n;return a?Object(r.createElement)("span",{className:"amp-stepper__bullet amp-stepper__bullet--check"},Object(r.createElement)(k,null)):c?Object(r.createElement)("span",{className:"amp-stepper__bullet amp-stepper__bullet--dot"},Object(r.createElement)("span",null)):Object(r.createElement)("span",{className:"amp-stepper__bullet"},n+1)}function E(e){var t=e.activePageIndex,n=e.pages,a=Object(y.a)(E);return Object(r.createElement)("div",{className:"amp-stepper"},Object(r.createElement)("ul",null,n.map((function(e,n){var c=e.title;return Object(r.createElement)("li",{className:"amp-stepper__item ".concat(n===t?"amp-stepper__item--active":""," ").concat(t>n?"amp-stepper__item--done":""),key:"".concat(a,"-").concat(n)},Object(r.createElement)(O,{activePageIndex:t,index:n}),Object(r.createElement)("span",{className:"amp-stepper__item-title"},c))}))))}var j=n(60),w=n(36),z=n(14),M=n(22),C=(n(105),n(21));function L(e){var t=e.closeLink;return Object(r.createElement)(j.a,{isLink:!0,href:t},Object(r.createElement)("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("mask",{id:"close-icon","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"3",y:"3",width:"19",height:"19"},Object(r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.895 3.71875H5.89502C4.79502 3.71875 3.89502 4.61875 3.89502 5.71875V19.7188C3.89502 20.8188 4.79502 21.7188 5.89502 21.7188H19.895C21.005 21.7188 21.895 20.8188 21.895 19.7188V15.7188H19.895V19.7188H5.89502V5.71875H19.895V9.71875H21.895V5.71875C21.895 4.61875 21.005 3.71875 19.895 3.71875ZM13.395 17.7188L14.805 16.3088L12.225 13.7188H21.895V11.7188H12.225L14.805 9.12875L13.395 7.71875L8.39502 12.7188L13.395 17.7188Z",fill:"white"})),Object(r.createElement)("g",{mask:"url(#close-icon)"},Object(r.createElement)("rect",{width:"24",height:"24",transform:"matrix(-1 0 0 1 24.895 0.71875)",fill:"#2459E7"}))),Object(a.__)("Close","amp"))}function x(e){var t,n,c=e.closeLink,o=e.finishLink,i=g().isMobile,l=Object(r.useContext)(M.a),d=l.activePageIndex,f=l.canGoForward,m=l.isLastPage,v=l.moveBack,b=l.moveForward,y=Object(r.useContext)(u.a),k=y.savingOptions,O=y.editedOptions.theme_support,E=y.originalOptions,x=E.preview_permalink,_=E.reader_theme,H=Object(r.useContext)(s.a).savingDeveloperToolsOption,V=Object(r.useContext)(C.a).downloadingTheme;return m&&p.b===O?(t=Object(a.__)("Customize","amp"),n=H||k?void 0:Object(w.addQueryArgs)(z.CUSTOMIZER_LINK,"legacy"===_?{"autofocus[panel]":"amp_panel",url:x}:h()({url:x},z.AMP_QUERY_VAR,"1"))):m?(t=Object(a.__)("Finish","amp"),n=H||k?void 0:o):(t=Object(a.__)("Next","amp"),n=void 0),Object(r.createElement)("div",{className:"onboarding-wizard-nav"},Object(r.createElement)("div",{className:"onboarding-wizard-nav__inner"},Object(r.createElement)("div",{className:"onboarding-wizard-nav__close"},!i&&(!m||p.b===O)&&Object(r.createElement)(L,{closeLink:c})),Object(r.createElement)("div",{className:"onboarding-wizard-nav__prev-next"},1>d?Object(r.createElement)("span",{className:"onboarding-wizard-nav__placeholder"}," "):Object(r.createElement)(j.a,{className:"onboarding-wizard-nav__prev",onClick:v},Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},Object(r.createElement)("path",{d:"M43.16 10.18c-0.881-0.881-2.322-0.881-3.203 0s-0.881 2.322 0 3.203l16.335 16.335h-54.051c-1.281 0-2.242 1.041-2.242 2.242 0 1.281 0.961 2.322 2.242 2.322h54.051l-16.415 16.335c-0.881 0.881-0.881 2.322 0 3.203s2.322 0.881 3.203 0l20.259-20.259c0.881-0.881 0.881-2.322 0-3.203l-20.179-20.179z"})),Object(a.__)("Previous","amp")),Object(r.createElement)(j.a,{disabled:!f||k||H||V,href:n,id:"next-button",isPrimary:!0,onClick:b},t,!m&&Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},Object(r.createElement)("path",{d:"M43.16 10.18c-0.881-0.881-2.322-0.881-3.203 0s-0.881 2.322 0 3.203l16.335 16.335h-54.051c-1.281 0-2.242 1.041-2.242 2.242 0 1.281 0.961 2.322 2.242 2.322h54.051l-16.415 16.335c-0.881 0.881-0.881 2.322 0 3.203s2.322 0.881 3.203 0l20.259-20.259c0.881-0.881 0.881-2.322 0-3.203l-20.179-20.179z"}))))))}function _(e){var t=e.children;return Object(r.useEffect)((function(){document.body.scrollTop=0,document.documentElement.scrollTop=0}),[]),t}function H(e){var t=e.closeLink,n=e.finishLink,i=g().isMobile,l=Object(r.useContext)(M.a),s=l.activePageIndex,u=l.currentPage,f=u.title,m=u.PageComponent,h=u.showTitle,p=l.moveBack,v=l.moveForward,b=l.pages,y=Object(r.useMemo)((function(){return function(){return Object(r.createElement)(_,null,Object(r.createElement)(m,null))}}),[m]);return Object(r.createElement)("div",{className:"amp-onboarding-wizard-container"},Object(r.createElement)("div",{className:"amp-onboarding-wizard"},Object(r.createElement)("div",{className:"amp-stepper-container"},Object(r.createElement)("div",{className:"amp-stepper-container__header"},i&&Object(r.createElement)(L,{closeLink:t}),Object(r.createElement)("div",{className:"amp-onboarding-wizard__logo-container"},Object(r.createElement)(o,null),Object(r.createElement)("h1",null,Object(a.__)("AMP","amp"))),Object(r.createElement)("div",{className:"amp-onboarding-wizard-plugin-name"},Object(a.__)("Official WordPress Plugin","amp"))),Object(r.createElement)(E,{activePageIndex:s,pages:b})),Object(r.createElement)("div",{className:"amp-onboarding-wizard-panel-container"},Object(r.createElement)(c.a,{className:"amp-onboarding-wizard-panel"},!1!==h&&Object(r.createElement)("h1",null,f),Object(r.createElement)(y,null)),Object(r.createElement)(x,{activePageIndex:s,closeLink:t,finishLink:n,moveBack:p,moveForward:v,pages:b}))),Object(r.createElement)(d,null))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(54),a=n.n(r),c=n(55),o=n.n(c),i=n(56),l=n.n(i),s=n(57),u=n.n(s),d=n(46),f=n.n(d),m=n(0),h=(n(11),n(1)),p=n(111);n(83);function v(e){var t=e.error,n=e.finishLink;return Object(m.createElement)("div",{className:"error-screen-container"},Object(m.createElement)(p.a,{className:"error-screen"},Object(m.createElement)("h1",null,Object(h.__)("The setup wizard has experienced an error.","amp")),Object(m.createElement)("p",null,Object(m.createElement)("span",{dangerouslySetInnerHTML:{__html:t.message||Object(h.__)("There was an error loading the setup wizard.","amp")}})," ",n&&Object(m.createElement)("a",{href:n},Object(h.__)("Return to AMP settings.","amp")))))}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var g=function(e){l()(n,e);var t=b(n);function n(e){var r;return a()(this,n),(r=t.call(this,e)).timeout=null,r.state={error:null},r}return o()(n,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"componentDidCatch",value:function(e){this.setState({error:e})}},{key:"render",value:function(){var e=this.state.error,t=this.props,n=t.children,r=t.exitLink,a=t.fullScreen;return e&&a?Object(m.createElement)(v,{error:e,finishLink:r}):n}}]),n}(m.Component)},,function(e,t,n){e.exports=n(66)},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"Providers",(function(){return y}));var r=n(0),a=n(106),c=n(53),o=n.n(c),i=n(14),l=(n(11),n(69),n(70),n(71),n(72),n(9)),s=n(21),u=n(63),d=n(32),f=n(61),m=n(62),h=n(22),p=n(25),v=n(42),b=n(43),g=e.ajaxurl;function y(e){var t=e.children;return Object(r.createElement)(d.b,null,Object(r.createElement)(u.a,{exitLink:i.FINISH_LINK,fullScreen:!0},Object(r.createElement)(l.b,{delaySave:!0,hasErrorBoundary:!0,optionsRestPath:i.OPTIONS_REST_PATH,populateDefaultValues:!1},Object(r.createElement)(p.b,{userOptionDeveloperTools:i.USER_FIELD_DEVELOPER_TOOLS_ENABLED,userRestPath:i.USER_REST_PATH},Object(r.createElement)(h.b,{pages:f.a},Object(r.createElement)(s.b,{currentTheme:i.CURRENT_THEME,hasErrorBoundary:!0,wpAjaxUrl:g,readerThemesRestPath:i.READER_THEMES_REST_PATH,updatesNonce:i.UPDATES_NONCE},Object(r.createElement)(b.b,null,Object(r.createElement)(v.b,null,t))))))))}o()((function(){var e=document.getElementById(i.APP_ROOT_ID);e&&Object(a.render)(Object(r.createElement)(y,null,Object(r.createElement)(m.a,{closeLink:i.CLOSE_LINK,finishLink:i.FINISH_LINK})),e)}))}.call(this,n(40))},function(e,t,n){"use strict";var r=n(68);function a(){}function c(){}c.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,c,o){if(o!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:c,resetWarningCache:a};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function i(e,t,n,r){var a=t&&t.prototype instanceof u?t:u,c=Object.create(a.prototype),o=new E(r||[]);return c._invoke=function(e,t,n){var r="suspendedStart";return function(a,c){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw c;return w()}for(n.method=a,n.arg=c;;){var o=n.delegate;if(o){var i=y(o,n);if(i){if(i===s)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,o),c}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=i;var s={};function u(){}function d(){}function f(){}var m={};m[a]=function(){return this};var h=Object.getPrototypeOf,p=h&&h(h(j([])));p&&p!==t&&n.call(p,a)&&(m=p);var v=f.prototype=u.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function g(e,t){var r;this._invoke=function(a,c){function o(){return new t((function(r,o){!function r(a,c,o,i){var s=l(e[a],e,c);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,o,i)}),(function(e){r("throw",e,o,i)})):t.resolve(d).then((function(e){u.value=e,o(u)}),(function(e){return r("throw",e,o,i)}))}i(s.arg)}(a,c,r,o)}))}return r=r?r.then(o,o):o()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function j(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,c=function t(){for(;++r=0;--a){var c=this.tryEntries[a],o=c.completion;if("root"===c.tryLoc)return r("end");if(c.tryLoc<=this.prev){var i=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(i&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;O(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,c=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(a)throw c}}return n}}},function(e,t,n){var r=n(77);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n_.length&&_.push(e)}function T(e,t,n){return null==e?0:function e(t,n,r,a){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var l=!1;if(null===t)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case c:case o:l=!0}}if(l)return r(a,t,""===n?"."+S(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s=0||(a[n]=e[n]);return a}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,a,c,o,i;if(e===t)return!0;if(n=r(e),a=r(t),n.length!==a.length)return!1;for(c=0;c