%PDF- %PDF-
Direktori : /var/www/html/buggydubrovnik.com/wp-content/plugins/wordpress-seo/js/dist/ |
Current File : /var/www/html/buggydubrovnik.com/wp-content/plugins/wordpress-seo/js/dist/indexables-page.js |
!function(e){var t={};function n(s){if(t[s])return t[s].exports;var a=t[s]={i:s,l:!1,exports:{}};return e[s].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,s){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},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 s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(s,a,function(t){return e[t]}.bind(null,a));return s},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=285)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},10:function(e,t){e.exports=window.yoast.helpers},11:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},112:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));const s="undefined"==typeof window||"undefined"==typeof document},135:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));class s extends Error{constructor(e,t){super(e),this.name="ParseError",this.parseString=t}}},138:function(e,t,n){"use strict";function s(e,t){const n=new URL(e);return n.searchParams.delete(t),n.href}function a(e,t,n){window.history.pushState(e,t,n)}n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a}))},147:function(e,t,n){"use strict";function s(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let s=""===(null==t?void 0:t.getAttribute("disabled"));return(!s||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&s}n.d(t,"a",(function(){return s}))},148:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var s=n(3),a=n(23);function r(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function i(e,t){let[n,i]=Object(s.useState)(()=>r(e));return Object(a.a)(()=>{i(r(e))},[e.type,e.as]),Object(a.a)(()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&i("button")},[n,t]),n}},156:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var s=n(3),a=n(60),r=n(36);function i(e,t,n){let a=Object(r.a)(t);Object(s.useEffect)(()=>{function t(e){a.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function o(e,t,n=!0){let r=Object(s.useRef)(!1);function o(n,s){if(!r.current||n.defaultPrevented)return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),o=s(n);if(null!==o&&o.ownerDocument.documentElement.contains(o)){for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(o))return}return!Object(a.d)(o,a.b.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}}Object(s.useEffect)(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);let l=Object(s.useRef)(null);i("mousedown",e=>{r.current&&(l.current=e.target)},!0),i("click",e=>{!l.current||(o(e,()=>l.current),l.current=null)},!0),i("blur",e=>o(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},170:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var s=n(3),a=n(23),r=n(85);function i({container:e,accept:t,walk:n,enabled:i=!0}){let o=Object(s.useRef)(t),l=Object(s.useRef)(n);Object(s.useEffect)(()=>{o.current=t,l.current=n},[t,n]),Object(a.a)(()=>{if(!e||!i)return;let t=Object(r.a)(e);if(!t)return;let n=o.current,s=l.current,a=Object.assign(e=>n(e),{acceptNode:n}),c=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a,!1);for(;c.nextNode();)s(c.currentNode)},[e,i,o,l])}},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return c}));var s,a,r=n(3),i=n(24),o=((a=o||{})[a.None=0]="None",a[a.RenderStrategy=1]="RenderStrategy",a[a.Static=2]="Static",a),l=((s=l||{})[s.Unmount=0]="Unmount",s[s.Hidden=1]="Hidden",s);function c({ourProps:e,theirProps:t,slot:n,defaultTag:s,features:a,visible:r=!0,name:o}){let l=d(t,e);if(r)return u(l,n,s,o);let c=null!=a?a:0;if(2&c){let{static:e=!1,...t}=l;if(e)return u(t,n,s,o)}if(1&c){let{unmount:e=!0,...t}=l;return Object(i.a)(e?0:1,{0:()=>null,1:()=>u({...t,hidden:!0,style:{display:"none"}},n,s,o)})}return u(l,n,s,o)}function u(e,t={},n,s){let{as:a=n,children:i,refName:o="ref",...l}=y(e,["unmount","static"]),c=void 0!==e.ref?{[o]:e.ref}:{},u="function"==typeof i?i(t):i;l.className&&"function"==typeof l.className&&(l.className=l.className(t));let m={};if(t){let e=!1,n=[];for(let[s,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&n.push(s);e&&(m["data-headlessui-state"]=n.join(" "))}if(a===r.Fragment&&Object.keys(b(l)).length>0){if(!Object(r.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${s} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map(e=>" - "+e).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>" - "+e).join("\n")].join("\n"));return Object(r.cloneElement)(u,Object.assign({},d(u.props,b(y(l,["ref"]))),m,c,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(u.ref,c.ref)))}return Object(r.createElement)(a,Object.assign({},y(l,["ref"]),a!==r.Fragment&&c,a!==r.Fragment&&m),u)}function d(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let s of e)for(let e in s)e.startsWith("on")&&"function"==typeof s[e]?(null!=n[e]||(n[e]=[]),n[e].push(s[e])):t[e]=s[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...s){let a=n[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...s)}}});return t}function m(e){var t;return Object.assign(Object(r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function b(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function y(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},2:function(e,t){e.exports=window.wp.i18n},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var s=n(3),a=n.n(s),r=n(36);let i=function(e){let t=Object(r.a)(e);return a.a.useCallback((...e)=>t.current(...e),[t])}},205:function(e,t,n){"use strict";var s=n(3);const a=s.forwardRef((function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}));t.a=a},21:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var s=n(0);function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(s.createInterpolateElement)(e,{a:Object(s.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},22:function(e,t){e.exports=window.wp.apiFetch},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var s=n(3);let a=n(112).a?s.useEffect:s.useLayoutEffect},24:function(e,t,n){"use strict";function s(e,t,...n){if(e in t){let s=t[e];return"function"==typeof s?s(...n):s}let a=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,s),a}n.d(t,"a",(function(){return s}))},241:function(e,t,n){"use strict";n.d(t,"a",(function(){return D}));var s=n(3),a=n.n(s),r=n(18),i=n(34),o=n(24),l=n(23);function c(){let e=Object(s.useRef)(!1);return Object(l.a)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var u=n(36),d=n(97),m=n(49),b=n(37);function y(e,...t){e&&t.length>0&&e.classList.add(...t)}function p(e,...t){e&&t.length>0&&e.classList.remove(...t)}var f,h=((f=h||{}).Ended="ended",f.Cancelled="cancelled",f);var g=n(63),j=n(20);function O(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let w=Object(s.createContext)(null);w.displayName="TransitionContext";var v,x=((v=x||{}).Visible="visible",v.Hidden="hidden",v);let E=Object(s.createContext)(null);function I(e){return"children"in e?I(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function k(e,t){let n=Object(u.a)(e),a=Object(s.useRef)([]),i=c(),l=Object(g.a)(),d=Object(j.a)((e,t=r.b.Hidden)=>{let s=a.current.findIndex(({el:t})=>t===e);-1!==s&&(Object(o.a)(t,{[r.b.Unmount](){a.current.splice(s,1)},[r.b.Hidden](){a.current[s].state="hidden"}}),l.microTask(()=>{var e;!I(a)&&i.current&&(null==(e=n.current)||e.call(n))}))}),m=Object(j.a)(e=>{let t=a.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>d(e,r.b.Unmount)}),b=Object(s.useRef)([]),y=Object(s.useRef)(Promise.resolve()),p=Object(s.useRef)({enter:[],leave:[],idle:[]}),f=Object(j.a)((e,n,s)=>{b.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{b.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(p.current[n].map(([e,t])=>t)).then(()=>e())})]),"enter"===n?y.current=y.current.then(()=>null==t?void 0:t.wait.current).then(()=>s(n)):s(n)}),h=Object(j.a)((e,t,n)=>{Promise.all(p.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=b.current.shift())||e()}).then(()=>n(t))});return Object(s.useMemo)(()=>({children:a,register:m,unregister:d,onStart:f,onStop:h,wait:y,chains:p}),[m,d,a,f,h,p,y])}function _(){}E.displayName="NestingContext";let M=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function N(e){var t;let n={};for(let s of M)n[s]=null!=(t=e[s])?t:_;return n}let S=r.a.RenderStrategy,C=Object(r.d)((function(e,t){let{beforeEnter:n,afterEnter:f,beforeLeave:v,afterLeave:x,enter:_,enterFrom:M,enterTo:C,entered:T,leave:L,leaveFrom:D,leaveTo:q,...A}=e,z=Object(s.useRef)(null),R=Object(m.a)(z,t),P=A.unmount?r.b.Unmount:r.b.Hidden,{show:F,appear:H,initial:U}=function(){let e=Object(s.useContext)(w);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[B,Q]=Object(s.useState)(F?"visible":"hidden"),Z=function(){let e=Object(s.useContext)(E);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:W,unregister:G}=Z,Y=Object(s.useRef)(null);Object(s.useEffect)(()=>W(z),[W,z]),Object(s.useEffect)(()=>{if(P===r.b.Hidden&&z.current)return F&&"visible"!==B?void Q("visible"):Object(o.a)(B,{hidden:()=>G(z),visible:()=>W(z)})},[B,z,W,G,F,P]);let $=Object(u.a)({enter:O(_),enterFrom:O(M),enterTo:O(C),entered:O(T),leave:O(L),leaveFrom:O(D),leaveTo:O(q)}),V=function(e){let t=Object(s.useRef)(N(e));return Object(s.useEffect)(()=>{t.current=N(e)},[e]),t}({beforeEnter:n,afterEnter:f,beforeLeave:v,afterLeave:x}),J=Object(d.a)();Object(s.useEffect)(()=>{if(J&&"visible"===B&&null===z.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[z,B,J]);let K=U&&!H,X=!J||K||Y.current===F?"idle":F?"enter":"leave",ee=Object(j.a)(e=>Object(o.a)(e,{enter:()=>V.current.beforeEnter(),leave:()=>V.current.beforeLeave(),idle:()=>{}})),te=Object(j.a)(e=>Object(o.a)(e,{enter:()=>V.current.afterEnter(),leave:()=>V.current.afterLeave(),idle:()=>{}})),ne=k(()=>{Q("hidden"),G(z)},Z);(function({container:e,direction:t,classes:n,onStart:s,onStop:a}){let r=c(),i=Object(g.a)(),d=Object(u.a)(t);Object(l.a)(()=>{let t=Object(b.a)();i.add(t.dispose);let l=e.current;if(l&&"idle"!==d.current&&r.current)return t.dispose(),s.current(d.current),t.add(function(e,t,n,s){let a=n?"enter":"leave",r=Object(b.a)(),i=void 0!==s?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(s):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let l=Object(o.a)(a,{enter:()=>t.enter,leave:()=>t.leave}),c=Object(o.a)(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),u=Object(o.a)(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return p(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),y(e,...l,...u),r.nextFrame(()=>{p(e,...u),y(e,...c),function(e,t){let n=Object(b.a)();if(!e)return n.dispose;let{transitionDuration:s,transitionDelay:a}=getComputedStyle(e),[r,i]=[s,a].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t});if(r+i!==0){let s=[];s.push(n.addEventListener(e,"transitionrun",a=>{a.target===a.currentTarget&&(s.splice(0).forEach(e=>e()),s.push(n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t("ended"),s.splice(0).forEach(e=>e()))}),n.addEventListener(e,"transitioncancel",e=>{e.target===e.currentTarget&&(t("cancelled"),s.splice(0).forEach(e=>e()))})))}))}else t("ended");n.add(()=>t("cancelled")),n.dispose}(e,n=>("ended"===n&&(p(e,...l),y(e,...t.entered)),i(n)))}),r.dispose}(l,n.current,"enter"===d.current,e=>{t.dispose(),Object(o.a)(e,{[h.Ended](){a.current(d.current)},[h.Cancelled]:()=>{}})})),t.dispose},[t])})({container:z,classes:$,direction:X,onStart:Object(u.a)(e=>{ne.onStart(z,e,ee)}),onStop:Object(u.a)(e=>{ne.onStop(z,e,te),"leave"===e&&!I(ne)&&(Q("hidden"),G(z))})}),Object(s.useEffect)(()=>{!K||(P===r.b.Hidden?Y.current=null:Y.current=F)},[F,K,B]);let se=A,ae={ref:R};return a.a.createElement(E.Provider,{value:ne},a.a.createElement(i.a,{value:Object(o.a)(B,{visible:i.b.Open,hidden:i.b.Closed})},Object(r.e)({ourProps:ae,theirProps:se,defaultTag:"div",features:S,visible:"visible"===B,name:"Transition.Child"})))})),T=Object(r.d)((function(e,t){let{show:n,appear:c=!1,unmount:u,...b}=e,y=Object(s.useRef)(null),p=Object(m.a)(y,t);Object(d.a)();let f=Object(i.c)();if(void 0===n&&null!==f&&(n=Object(o.a)(f,{[i.b.Open]:!0,[i.b.Closed]:!1})),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[h,g]=Object(s.useState)(n?"visible":"hidden"),j=k(()=>{g("hidden")}),[O,v]=Object(s.useState)(!0),x=Object(s.useRef)([n]);Object(l.a)(()=>{!1!==O&&x.current[x.current.length-1]!==n&&(x.current.push(n),v(!1))},[x,n]);let _=Object(s.useMemo)(()=>({show:n,appear:c,initial:O}),[n,c,O]);Object(s.useEffect)(()=>{if(n)g("visible");else if(I(j)){let e=y.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&g("hidden")}else g("hidden")},[n,j]);let M={unmount:u};return a.a.createElement(E.Provider,{value:j},a.a.createElement(w.Provider,{value:_},Object(r.e)({ourProps:{...M,as:s.Fragment,children:a.a.createElement(C,{ref:p,...M,...b})},theirProps:{},defaultTag:s.Fragment,features:S,visible:"visible"===h,name:"Transition"})))})),L=Object(r.d)((function(e,t){let n=null!==Object(s.useContext)(w),r=null!==Object(i.c)();return a.a.createElement(a.a.Fragment,null,!n&&r?a.a.createElement(T,{ref:t,...e}):a.a.createElement(C,{ref:t,...e}))})),D=Object.assign(T,{Child:L,Root:T})},26:function(e,t,n){var s;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var r=typeof s;if("string"===r||"number"===r)e.push(s);else if(Array.isArray(s)&&s.length){var i=a.apply(null,s);i&&e.push(i)}else if("object"===r)for(var o in s)n.call(s,o)&&s[o]&&e.push(o)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(s=function(){return a}.apply(t,[]))||(e.exports=s)}()},267:function(e,t,n){"use strict";var s=n(3);const a=s.forwardRef((function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));t.a=a},285:function(e,t,n){"use strict";n.r(t);var s,a,r=n(0),i=n(64),o=n.n(i),l=n(9),c=n(4),u=n(22),d=n.n(u),m=n(2),b=n(21),y=n(3),p=n.n(y),f=function(){return Object(r.createElement)("div",{id:"all-features-disabled-view",className:"yst-max-w-full yst-my-6 yst-flex"},Object(r.createElement)("div",{className:"yst-flex yst-flex-col yst-max-w-6xl yst-w-full yst-items-center yst-bg-white yst-rounded-lg yst-px-8 yst-py-10 yst-shadow"},Object(r.createElement)("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzhweCIgaGVpZ2h0PSIzOHB4IiB2aWV3Qm94PSIwIDAgMzggMzgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+U2hhcGU8L3RpdGxlPgogICAgPGcgaWQ9IkRlc2lnbnMiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+CiAgICAgICAgPGcgaWQ9IkluZGV4YWJsZXMtcGFnZS0tLUFsbC1kYXNoYm9hcmQtZmVhdHVyZXMtZGlzYWJsZWQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC03NjMuMDAwMDAwLCAtNDM4LjAwMDAwMCkiIHN0cm9rZT0iIzk0QTNCOCIgc3Ryb2tlLXdpZHRoPSIyIj4KICAgICAgICAgICAgPGcgaWQ9Ik5vLWRhdGEtdG8tc2hvdy15ZXQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MC4wMDAwMDAsIDM5OS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTg0LjAwMDAwMCwgNDAuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTE4LDQuNSBMMTgsMCBNMTgsNC41IEMxNS41MTQ3MTg2LDQuNSAxMy41LDYuNTE0NzE4NjMgMTMuNSw5IEMxMy41LDExLjQ4NTI4MTQgMTUuNTE0NzE4NiwxMy41IDE4LDEzLjUgTTE4LDQuNSBDMjAuNDg1MjgxNCw0LjUgMjIuNSw2LjUxNDcxODYzIDIyLjUsOSBDMjIuNSwxMS40ODUyODE0IDIwLjQ4NTI4MTQsMTMuNSAxOCwxMy41IE00LjUsMzEuNSBDNi45ODUyODEzNywzMS41IDksMjkuNDg1MjgxNCA5LDI3IEM5LDI0LjUxNDcxODYgNi45ODUyODEzNywyMi41IDQuNSwyMi41IE00LjUsMzEuNSBDMi4wMTQ3MTg2MywzMS41IDAsMjkuNDg1MjgxNCAwLDI3IEMwLDI0LjUxNDcxODYgMi4wMTQ3MTg2MywyMi41IDQuNSwyMi41IE00LjUsMzEuNSBMNC41LDM2IE00LjUsMjIuNSBMNC41LDAgTTE4LDEzLjUgTDE4LDM2IE0zMS41LDMxLjUgQzMzLjk4NTI4MTQsMzEuNSAzNiwyOS40ODUyODE0IDM2LDI3IEMzNiwyNC41MTQ3MTg2IDMzLjk4NTI4MTQsMjIuNSAzMS41LDIyLjUgTTMxLjUsMzEuNSBDMjkuMDE0NzE4NiwzMS41IDI3LDI5LjQ4NTI4MTQgMjcsMjcgQzI3LDI0LjUxNDcxODYgMjkuMDE0NzE4NiwyMi41IDMxLjUsMjIuNSBNMzEuNSwzMS41IEwzMS41LDM2IE0zMS41LDIyLjUgTDMxLjUsMCIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==",alt:"Magnifying lens icon",className:"yst-mb-4"}),Object(r.createElement)("h4",{className:"yst-mb-2 yst-text-base yst-text-slate-900 yst-font-medium yst-leading-tight"},Object(m.__)("You've disabled features that are needed to show data","wordpress-seo")),Object(r.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center"},Object(r.createElement)("p",{className:"yst-slate-500 yst-font-normal yst-leading-normal yst-px-10 yst-text-center"},Object(b.a)(// translators: %1$s and %2$s are the opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("We use features like our 'SEO analysis', 'Readability analysis' and 'Text link counter' to calculate how your content is performing. You can enable these features on the %1$sFeatures tab%2$s.","wordpress-seo"),"<a>","</a>"),"/wp-admin/admin.php?page=wpseo_dashboard#top#features")))))},h=y.forwardRef((function(e,t){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),y.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"}))})),g=y.forwardRef((function(e,t){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),y.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),j=n(10),O=n(1),w=n.n(O),v=n(26),x=n.n(v),E=n(11),I=n.n(E),k=n(24),_=n(18),M=n(37),N=n(63),S=n(23),C=n(49),T=n(77),L=n(29),D=n(32),q=n(147),A=n(60),z=n(156),R=n(170),P=n(34),F=n(148),H=n(85),U=n(20),B=((a=B||{})[a.Open=0]="Open",a[a.Closed=1]="Closed",a),Q=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Q||{}),Z=((s=Z||{})[s.OpenMenu=0]="OpenMenu",s[s.CloseMenu=1]="CloseMenu",s[s.GoToItem=2]="GoToItem",s[s.Search=3]="Search",s[s.ClearSearch=4]="ClearSearch",s[s.RegisterItem=5]="RegisterItem",s[s.UnregisterItem=6]="UnregisterItem",s);function W(e,t=(e=>e)){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,s=Object(A.f)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),a=n?s.indexOf(n):null;return-1===a&&(a=null),{items:s,activeItemIndex:a}}let G={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{var n;let s=W(e),a=Object(D.b)(t,{resolveItems:()=>s.items,resolveActiveIndex:()=>s.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...s,searchQuery:"",activeItemIndex:a,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,s=e.searchQuery+t.value.toLowerCase(),a=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(s))&&!e.dataRef.current.disabled}),r=a?e.items.indexOf(a):-1;return-1===r||r===e.activeItemIndex?{...e,searchQuery:s}:{...e,searchQuery:s,activeItemIndex:r,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=W(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=W(e,e=>{let n=e.findIndex(e=>e.id===t.id);return-1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},Y=Object(y.createContext)(null);function $(e){let t=Object(y.useContext)(Y);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,$),t}return t}function V(e,t){return Object(k.a)(t.type,G,e,t)}Y.displayName="MenuContext";let J=y.Fragment,K=Object(_.d)((function(e,t){let n=Object(y.useReducer)(V,{menuState:1,buttonRef:Object(y.createRef)(),itemsRef:Object(y.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:s,itemsRef:a,buttonRef:r},i]=n,o=Object(C.a)(t);Object(z.a)([r,a],(e,t)=>{var n;i({type:1}),Object(A.d)(t,A.b.Loose)||(e.preventDefault(),null==(n=r.current)||n.focus())},0===s);let l=Object(y.useMemo)(()=>({open:0===s}),[s]),c=e,u={ref:o};return p.a.createElement(Y.Provider,{value:n},p.a.createElement(P.a,{value:Object(k.a)(s,{0:P.b.Open,1:P.b.Closed})},Object(_.e)({ourProps:u,theirProps:c,slot:l,defaultTag:J,name:"Menu"})))})),X=Object(_.d)((function(e,t){var n;let[s,a]=$("Menu.Button"),r=Object(C.a)(s.buttonRef,t),i="headlessui-menu-button-"+Object(T.a)(),o=Object(N.a)(),l=Object(U.a)(e=>{switch(e.key){case L.a.Space:case L.a.Enter:case L.a.ArrowDown:e.preventDefault(),e.stopPropagation(),a({type:0}),o.nextFrame(()=>a({type:2,focus:D.a.First}));break;case L.a.ArrowUp:e.preventDefault(),e.stopPropagation(),a({type:0}),o.nextFrame(()=>a({type:2,focus:D.a.Last}))}}),c=Object(U.a)(e=>{switch(e.key){case L.a.Space:e.preventDefault()}}),u=Object(U.a)(t=>{if(Object(q.a)(t.currentTarget))return t.preventDefault();e.disabled||(0===s.menuState?(a({type:1}),o.nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(t.preventDefault(),a({type:0})))}),d=Object(y.useMemo)(()=>({open:0===s.menuState}),[s]),m=e,b={ref:r,id:i,type:Object(F.a)(e,s.buttonRef),"aria-haspopup":!0,"aria-controls":null==(n=s.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===s.menuState,onKeyDown:l,onKeyUp:c,onClick:u};return Object(_.e)({ourProps:b,theirProps:m,slot:d,defaultTag:"button",name:"Menu.Button"})})),ee=_.a.RenderStrategy|_.a.Static,te=Object(_.d)((function(e,t){var n,s;let[a,r]=$("Menu.Items"),i=Object(C.a)(a.itemsRef,t),o=function(...e){return Object(y.useMemo)(()=>Object(H.a)(...e),[...e])}(a.itemsRef),l="headlessui-menu-items-"+Object(T.a)(),c=Object(N.a)(),u=Object(P.c)(),d=null!==u?u===P.b.Open:0===a.menuState;Object(y.useEffect)(()=>{let e=a.itemsRef.current;!e||0===a.menuState&&e!==(null==o?void 0:o.activeElement)&&e.focus({preventScroll:!0})},[a.menuState,a.itemsRef,o]),Object(R.a)({container:a.itemsRef.current,enabled:0===a.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let m=Object(U.a)(e=>{var t,n;switch(c.dispose(),e.key){case L.a.Space:if(""!==a.searchQuery)return e.preventDefault(),e.stopPropagation(),r({type:3,value:e.key});case L.a.Enter:if(e.preventDefault(),e.stopPropagation(),r({type:1}),null!==a.activeItemIndex){let{dataRef:e}=a.items[a.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}Object(A.e)(a.buttonRef.current);break;case L.a.ArrowDown:return e.preventDefault(),e.stopPropagation(),r({type:2,focus:D.a.Next});case L.a.ArrowUp:return e.preventDefault(),e.stopPropagation(),r({type:2,focus:D.a.Previous});case L.a.Home:case L.a.PageUp:return e.preventDefault(),e.stopPropagation(),r({type:2,focus:D.a.First});case L.a.End:case L.a.PageDown:return e.preventDefault(),e.stopPropagation(),r({type:2,focus:D.a.Last});case L.a.Escape:e.preventDefault(),e.stopPropagation(),r({type:1}),Object(M.a)().nextFrame(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case L.a.Tab:e.preventDefault(),e.stopPropagation(),r({type:1}),Object(M.a)().nextFrame(()=>{Object(A.c)(a.buttonRef.current,e.shiftKey?A.a.Previous:A.a.Next)});break;default:1===e.key.length&&(r({type:3,value:e.key}),c.setTimeout(()=>r({type:4}),350))}}),b=Object(U.a)(e=>{switch(e.key){case L.a.Space:e.preventDefault()}}),p=Object(y.useMemo)(()=>({open:0===a.menuState}),[a]),f=e,h={"aria-activedescendant":null===a.activeItemIndex||null==(n=a.items[a.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(s=a.buttonRef.current)?void 0:s.id,id:l,onKeyDown:m,onKeyUp:b,role:"menu",tabIndex:0,ref:i};return Object(_.e)({ourProps:h,theirProps:f,slot:p,defaultTag:"div",features:ee,visible:d,name:"Menu.Items"})})),ne=y.Fragment,se=Object(_.d)((function(e,t){let{disabled:n=!1,...s}=e,[a,r]=$("Menu.Item"),i="headlessui-menu-item-"+Object(T.a)(),o=null!==a.activeItemIndex&&a.items[a.activeItemIndex].id===i,l=Object(y.useRef)(null),c=Object(C.a)(t,l);Object(S.a)(()=>{if(0!==a.menuState||!o||0===a.activationTrigger)return;let e=Object(M.a)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=l.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[l,o,a.menuState,a.activationTrigger,a.activeItemIndex]);let u=Object(y.useRef)({disabled:n,domRef:l});Object(S.a)(()=>{u.current.disabled=n},[u,n]),Object(S.a)(()=>{var e,t;u.current.textValue=null==(t=null==(e=l.current)?void 0:e.textContent)?void 0:t.toLowerCase()},[u,l]),Object(S.a)(()=>(r({type:5,id:i,dataRef:u}),()=>r({type:6,id:i})),[u,i]);let d=Object(U.a)(e=>{if(n)return e.preventDefault();r({type:1}),Object(A.e)(a.buttonRef.current)}),m=Object(U.a)(()=>{if(n)return r({type:2,focus:D.a.Nothing});r({type:2,focus:D.a.Specific,id:i})}),b=Object(U.a)(()=>{n||o||r({type:2,focus:D.a.Specific,id:i,trigger:0})}),p=Object(U.a)(()=>{n||!o||r({type:2,focus:D.a.Nothing})}),f=Object(y.useMemo)(()=>({active:o,disabled:n}),[o,n]);return Object(_.e)({ourProps:{id:i,ref:c,role:"menuitem",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,disabled:void 0,onClick:d,onFocus:m,onPointerMove:b,onMouseMove:b,onPointerLeave:p,onMouseLeave:p},theirProps:s,slot:f,defaultTag:ne,name:"Menu.Item"})})),ae=Object.assign(K,{Button:X,Items:te,Item:se});var re=n(241),ie=y.forwardRef((function(e,t){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),y.createElement("path",{d:"M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"}))}));function oe(e){let{options:t}=e;return Object(r.createElement)(ae,{as:"div",className:"yst-relative yst-inline-block yst-text-left"},Object(r.createElement)("div",null,Object(r.createElement)(ae.Button,{className:x()("yst-bg-white yst-rounded-full yst-flex yst-items-center yst-border-none yst-text-slate-400 yst-p-1","focus:yst-ring-primary-500 focus:yst-shadow-none focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-offset-white focus:yst-text-slate-500","hover:yst-shadow-none hover:yst-outline-none hover:yst-text-slate-500")},Object(r.createElement)("span",{className:"yst-sr-only"},"Open options"),Object(r.createElement)(ie,{className:"yst-h-5 yst-w-5","aria-hidden":"true"}))),Object(r.createElement)(re.a,{as:r.Fragment,enter:"yst-transition yst-ease-out yst-duration-100",enterFrom:"yst-transform yst-opacity-0 yst-scale-95",enterTo:"yst-transform yst-opacity-100 yst-scale-100",leave:"yst-transition yst-ease-in yst-duration-75",leaveFrom:"yst-transform yst-opacity-100 yst-scale-100",leaveTo:"yst-transform yst-opacity-0 yst-scale-95"},Object(r.createElement)(ae.Items,{className:"yst-origin-top-right yst-absolute yst-right-0 yst-mt-2 yst-w-56 yst-rounded-md yst-shadow-lg yst-bg-white yst-ring-1 yst-ring-black yst-ring-opacity-5 focus:yst-outline-none"},Object(r.createElement)("div",{className:"yst-py-1"},t.map((e,t)=>Object(r.createElement)(ae.Item,{key:"card-option-"+t},()=>Object(r.createElement)("button",I()({type:"button",onClick:e.action,className:x()(e.active?"hover:yst-bg-slate-100 hover:yst-text-slate-900 ":"yst-opacity-50 ","yst-text-slate-700 yst-w-full yst-block yst-px-4 yst-py-2 yst-text-sm yst-text-left"),disabled:!e.active},e.menuItemData),e.title)))))))}function le(e){let{title:t,className:n,options:s,children:a}=e;return Object(r.createElement)("div",{className:x()("yst-w-full yst-inline-block",n)},Object(r.createElement)("div",{className:"yst-bg-white yst-rounded-lg yst-shadow"},Object(r.createElement)("div",{className:"yst-w-full yst-flex yst-justify-between yst-p-8 yst-pb-0"},Object(r.createElement)("h3",{className:"yst-mb-4 yst-text-base yst-text-slate-900 yst-font-medium yst-w-full"},t),s.length>0&&Object(r.createElement)(oe,{options:s})),Object(r.createElement)("div",{className:"yst-p-8 yst-pt-0 yst-overflow-x-hidden"},a)))}oe.propTypes={options:w.a.arrayOf(w.a.shape({title:w.a.string.isRequired,action:w.a.function,active:w.a.bool,menuItemData:w.a.object}))},oe.defaultProps={options:[]},le.propTypes={title:w.a.oneOfType([w.a.string,w.a.object]).isRequired,children:w.a.node.isRequired,className:w.a.string,options:w.a.arrayOf(w.a.shape({title:w.a.string,action:w.a.function}))},le.defaultProps={className:"",options:[]};var ce=le;const ue=Object(j.makeOutboundLink)(),de=[{title:"How to write a blog post: A step-by-step guide from preparation to publication",link:wpseoIndexablesPageData.shortlinks.recommendedReadingOne},{title:"10 tips for an awesome and SEO-friendly blog post",link:wpseoIndexablesPageData.shortlinks.recommendedReadingTwo},{title:"Keyword research for SEO: the ultimate guide",link:wpseoIndexablesPageData.shortlinks.recommendedReadingThree},{title:"How to start a blog",link:wpseoIndexablesPageData.shortlinks.recommendedReadingFour},{title:"SEO copywriting must-reads",link:wpseoIndexablesPageData.shortlinks.recommendedReadingFive}];var me=()=>{const[e,t]=Object(r.useState)([!1,!1,!1,!1,!1]);Object(r.useEffect)(async()=>{try{const e=await d()({path:"yoast/v1/get_reading_list",method:"GET"}),n=await e.json;t(n.state)}catch(e){return!1}},[]);const n=Object(r.useCallback)(async n=>{const s=parseInt(n.currentTarget.dataset.index,10),a=[...e],r=[...e];r[s]=n.target.checked,t(r);try{const e=await d()({path:"yoast/v1/set_reading_list",method:"POST",data:{state:r}});if(!(await e.json).success)return t(a),!1}catch(e){return t(a),!1}},[e,t,d.a]);return Object(r.createElement)("div",{className:"yst-max-w-full"},Object(r.createElement)("div",{id:"start-writing-content",className:"yst-max-w-7xl yst-grid yst-grid-cols-1 2xl:yst-grid-cols-2 2xl:yst-grid-flow-row yst-gap-6"},Object(r.createElement)(ce,{title:Object(m.__)("Start writing content!","wordpress-seo")},Object(r.createElement)("div",{className:"yst-mb-6 yst-text-slate-500"},Object(r.createElement)("p",null,Object(m.__)("You need to have more content on your site to make your website rank well in the search engines.","wordpress-seo")),Object(r.createElement)("br",null),Object(r.createElement)("p",null,Object(m.__)("There are three major elements you need to consider when writing good content for SEO:","wordpress-seo")),Object(r.createElement)("p",null,Object(m.__)("keyword strategy, site structure and copywriting.","wordpress-seo")),Object(r.createElement)("br",null),Object(r.createElement)("p",null,Object(m.__)("Don't know where to start? Have a look at our recommended reading list!","wordpress-seo"))),Object(r.createElement)(ue,{href:"/wp-admin/post-new.php",className:"yst-button yst-button--primary yst-text-white"},Object(r.createElement)(h,{className:"yst-w-4 yst-h-4 yst-mr-1"}),Object(m.__)("Start writing a new post","wordpress-seo"))),Object(r.createElement)(ce,{title:Object(m.__)("Yoast's recommended reading list","wordpress-seo")},Object(r.createElement)("ul",{className:"yst-divide-y yst-divide-slate-200"},de.map((t,s)=>Object(r.createElement)("li",{key:`article-${s}-li`,className:"yst-my-0 yst-max-w-none yst-font-medium yst-text-slate-700 yst-flex yst-flex-row yst-items-center yst-h-14 "},Object(r.createElement)(l.Checkbox,{id:`article-${s}-checkbox`,name:`article-${s}-checkbox`,className:"yst-mr-1 yst-text-white",label:"",value:"",onChange:n,"data-index":s,checked:e[s]}),e[s]?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("span",{className:"yst-font-medium yst-text-slate-400 yst-text-sm yst-line-through yst-mr-2"},t.title),Object(r.createElement)(g,{className:"yst-shrink-0 yst-h-[13px] yst-w-[13px] yst-text-slate-400"})):Object(r.createElement)(ue,{href:t.link,className:"yst-min-w-0 yst-rounded-md focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500 yst-flex yst-items-center yst-gap-2 yst-no-underline yst-text-inherit hover:yst-text-indigo-500"},Object(r.createElement)("span",{className:"yst-text-ellipsis yst-whitespace-nowrap yst-overflow-hidden"},t.title),Object(r.createElement)(g,{className:"yst-shrink-0 yst-h-[13px] yst-w-[13px]"}))))))))};const be=Object(j.makeOutboundLink)();function ye(e){let{indexable:t,showType:n}=e;return Object(r.createElement)("div",{className:"yst-grow yst-min-w-0 yst-flex yst-h-3/5 yst-ml-1"},Object(r.createElement)(be,{href:t.permalink,className:"yst-px-2 yst-min-w-0 yst-rounded-md focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500 yst-flex yst-items-center yst-gap-2 yst-no-underline yst-text-inherit hover:yst-text-indigo-500 yst--ml-2"},Object(r.createElement)("span",{className:"yst-text-ellipsis yst-whitespace-nowrap yst-overflow-hidden"},t.breadcrumb_title),Object(r.createElement)(g,{className:"yst-shrink-0 yst-h-[13px] yst-w-[13px] yst--ml-1 yst-mr-1"})),n&&Object(r.createElement)(l.Badge,{variant:"plain",className:"yst-text-slate-800 yst-text-[10px] yst-self-center yst-h-4 yst-ml-1"},t.object_sub_type))}ye.propTypes={indexable:w.a.shape({permalink:w.a.string.isRequired,breadcrumb_title:w.a.string.isRequired,object_sub_type:w.a.string}).isRequired,showType:w.a.bool},ye.defaultProps={showType:!0};var pe=ye,fe=y.forwardRef((function(e,t){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),y.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"}))})),he=y.forwardRef((function(e,t){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),y.createElement("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}))})),ge=n(8);const je=n.n(ge).a.svg` width: ${e=>e.size}; height: ${e=>e.size}; flex: none; animation: loadingSpinnerRotator 1.4s linear infinite; & .path { stroke: ${e=>e.fill}; stroke-dasharray: 187; stroke-dashoffset: 0; transform-origin: center; animation: loadingSpinnerDash 1.4s ease-in-out infinite; } @keyframes loadingSpinnerRotator { 0% { transform: rotate( 0deg ); } 100% { transform: rotate( 270deg ); } } @keyframes loadingSpinnerDash { 0% { stroke-dashoffset: 187; } 50% { stroke-dashoffset: 47; transform:rotate( 135deg ); } 100% { stroke-dashoffset: 187; transform: rotate( 450deg ); } } `,Oe={"chevron-down":{viewbox:"0 0 24 24",width:"24px",path:[Object(r.createElement)("g",{key:"1"},Object(r.createElement)("path",{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)("g",{key:"2"},Object(r.createElement)("path",{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"}))]},"chevron-up":{viewbox:"0 0 24 24",width:"24px",path:[Object(r.createElement)("g",{key:"1"},Object(r.createElement)("path",{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)("g",{key:"2"},Object(r.createElement)("path",{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))]},clipboard:{viewbox:"0 0 1792 1792",path:"M768 1664h896v-640h-416q-40 0-68-28t-28-68v-416h-384v1152zm256-1440v-64q0-13-9.5-22.5t-22.5-9.5h-704q-13 0-22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h704q13 0 22.5-9.5t9.5-22.5zm256 672h299l-299-299v299zm512 128v672q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-544q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h1088q40 0 68 28t28 68v328q21 13 36 28l408 408q28 28 48 76t20 88z"},check:{viewbox:"0 0 1792 1792",path:"M249.2,431.2c-23,0-45.6,9.4-61.8,25.6L25.6,618.6C9.4,634.8,0,657.4,0,680.4c0,23,9.4,45.6,25.6,61.8 l593.1,593.1c16.2,16.2,38.8,25.6,61.8,25.6c23,0,45.6-9.4,61.8-25.6L1766.4,311c16.2-16.2,25.6-38.8,25.6-61.8 s-9.4-45.6-25.6-61.8L1604.5,25.6C1588.3,9.4,1565.8,0,1542.8,0c-23,0-45.6,9.4-61.8,25.6L680.4,827L311,456.3 C294.8,440.5,272.3,431.2,249.2,431.2z"},"angle-down":{viewbox:"0 0 1792 1792",path:"M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"},"angle-left":{viewbox:"0 0 1792 1792",path:"M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"},"angle-right":{viewbox:"0 0 1792 1792",path:"M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"},"angle-up":{viewbox:"0 0 1792 1792",path:"M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"},"arrow-down":{viewbox:"0 0 1792 1792",path:"M896 1791L120.91 448.5L1671.09 448.5z"},"arrow-left":{viewbox:"0 0 1792 1792",path:"M1343.5 1671.09L1 896L1343.5 120.91z"},"arrow-right":{viewbox:"0 0 1792 1792",path:"M1791 896L448.5 1671.09L448.5 120.91z"},"arrow-up":{viewbox:"0 0 1792 1792",path:"M1671.09 1343.5L120.91 1343.5L896 1z"},"caret-right":{viewbox:"0 0 192 512",path:"M 0 384.662 V 127.338 c 0 -17.818 21.543 -26.741 34.142 -14.142 l 128.662 128.662 c 7.81 7.81 7.81 20.474 0 28.284 L 34.142 398.804 C 21.543 411.404 0 402.48 0 384.662 Z"},circle:{viewbox:"0 0 1792 1792",path:"M1664 896q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},desktop:{viewbox:"0 0 1792 1792",path:"M1728 992v-832q0-13-9.5-22.5t-22.5-9.5h-1600q-13 0-22.5 9.5t-9.5 22.5v832q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5zm128-832v1088q0 66-47 113t-113 47h-544q0 37 16 77.5t32 71 16 43.5q0 26-19 45t-45 19h-512q-26 0-45-19t-19-45q0-14 16-44t32-70 16-78h-544q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1600q66 0 113 47t47 113z"},edit:{viewbox:"0 0 1792 1792",path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"},eye:{viewbox:"0 0 1792 1792",path:"M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"},"exclamation-triangle":{viewbox:"0 0 1792 1792",path:"M1024 1375v-190q0-14-9.5-23.5T992 1152H800q-13 0-22.5 9.5T768 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11H786q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17H128q-34 0-63.5-17T18 1601q-37-63-2-126L784 67q17-31 47-49t65-18 65 18 47 49z"},"file-text":{viewbox:"0 0 1792 1792",path:"M1596 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-768v1536h1280zm-1024-864q0-14 9-23t23-9h704q14 0 23 9t9 23v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64zm736 224q14 0 23 9t9 23v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704zm0 256q14 0 23 9t9 23v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704z"},gear:{viewbox:"0 0 1792 1792",path:"M1800 800h-218q-26 -107 -81 -193l154 -154l-210 -210l-154 154q-88 -55 -191 -79v-218h-300v218q-103 24 -191 79l-154 -154l-212 212l154 154q-55 88 -79 191h-218v297h217q23 101 80 194l-154 154l210 210l154 -154q85 54 193 81v218h300v-218q103 -24 191 -79 l154 154l212 -212l-154 -154q57 -93 80 -194h217v-297zM950 650q124 0 212 88t88 212t-88 212t-212 88t-212 -88t-88 -212t88 -212t212 -88z"},key:{viewbox:"0 0 1792 1792",path:"M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5t-102.5-265.5q0-160 95-313t248-248 313-95q163 0 265.5 102.5t102.5 265.5q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z"},list:{viewbox:"0 0 1792 1792",path:"M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"},"loading-spinner":{viewbox:"0 0 66 66",CustomComponent:je,path:[Object(r.createElement)("circle",{key:"5",className:"path",fill:"none",strokeWidth:"6",strokeLinecap:"round",cx:"33",cy:"33",r:"30"})]},mobile:{viewbox:"0 0 1792 1792",path:"M976 1408q0-33-23.5-56.5t-56.5-23.5-56.5 23.5-23.5 56.5 23.5 56.5 56.5 23.5 56.5-23.5 23.5-56.5zm208-160v-704q0-13-9.5-22.5t-22.5-9.5h-512q-13 0-22.5 9.5t-9.5 22.5v704q0 13 9.5 22.5t22.5 9.5h512q13 0 22.5-9.5t9.5-22.5zm-192-848q0-16-16-16h-160q-16 0-16 16t16 16h160q16 0 16-16zm288-16v1024q0 52-38 90t-90 38h-512q-52 0-90-38t-38-90v-1024q0-52 38-90t90-38h512q52 0 90 38t38 90z"},"pencil-square":{viewbox:"0 0 1792 1792",path:"M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"},plus:{viewbox:"0 0 1792 1792",path:"M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"},"plus-circle":{viewbox:"0 0 1792 1792",path:"M1344 960v-128q0-26-19-45t-45-19h-256v-256q0-26-19-45t-45-19h-128q-26 0-45 19t-19 45v256h-256q-26 0-45 19t-19 45v128q0 26 19 45t45 19h256v256q0 26 19 45t45 19h128q26 0 45-19t19-45v-256h256q26 0 45-19t19-45zm320-64q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},"question-circle":{viewbox:"0 0 1792 1792",path:"M1024 1376v-192q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23-9t9-23zm256-672q0-88-55.5-163t-138.5-116-170-41q-243 0-371 213-15 24 8 42l132 100q7 6 19 6 16 0 25-12 53-68 86-92 34-24 86-24 48 0 85.5 26t37.5 59q0 38-20 61t-68 45q-63 28-115.5 86.5t-52.5 125.5v36q0 14 9 23t23 9h192q14 0 23-9t9-23q0-19 21.5-49.5t54.5-49.5q32-18 49-28.5t46-35 44.5-48 28-60.5 12.5-81zm384 192q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},search:{viewbox:"0 0 1792 1792",path:"M1216 832q0-185-131.5-316.5t-316.5-131.5-316.5 131.5-131.5 316.5 131.5 316.5 316.5 131.5 316.5-131.5 131.5-316.5zm512 832q0 52-38 90t-90 38q-54 0-90-38l-343-342q-179 124-399 124-143 0-273.5-55.5t-225-150-150-225-55.5-273.5 55.5-273.5 150-225 225-150 273.5-55.5 273.5 55.5 225 150 150 225 55.5 273.5q0 220-124 399l343 343q37 37 37 90z"},"seo-score-bad":{viewbox:"0 0 496 512",path:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8z M328 176c17.7 0 32 14.3 32 32 s-14.3 32-32 32s-32-14.3-32-32S310.3 176 328 176z M168 176c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32S150.3 176 168 176 z M338.2 394.2C315.8 367.4 282.9 352 248 352s-67.8 15.4-90.2 42.2c-13.5 16.3-38.1-4.2-24.6-20.5C161.7 339.6 203.6 320 248 320 s86.3 19.6 114.7 53.8C376.3 390 351.7 410.5 338.2 394.2L338.2 394.2z"},"seo-score-good":{viewbox:"0 0 496 512",path:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8z M328 176c17.7 0 32 14.3 32 32 s-14.3 32-32 32s-32-14.3-32-32S310.3 176 328 176z M168 176c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32S150.3 176 168 176 z M362.8 346.2C334.3 380.4 292.5 400 248 400s-86.3-19.6-114.8-53.8c-13.6-16.3 11-36.7 24.6-20.5c22.4 26.9 55.2 42.2 90.2 42.2 s67.8-15.4 90.2-42.2C351.6 309.5 376.3 329.9 362.8 346.2L362.8 346.2z"},"seo-score-none":{viewbox:"0 0 496 512",path:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8z"},"seo-score-ok":{viewbox:"0 0 496 512",path:"M248 8c137 0 248 111 248 248S385 504 248 504S0 393 0 256S111 8 248 8z M360 208c0-17.7-14.3-32-32-32 s-32 14.3-32 32s14.3 32 32 32S360 225.7 360 208z M344 368c21.2 0 21.2-32 0-32H152c-21.2 0-21.2 32 0 32H344z M200 208 c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32S200 225.7 200 208z"},times:{viewbox:"0 0 1792 1792",path:"M1490 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68l-294 294 294 294q28 28 28 68z"},"times-circle":{viewbox:"0 0 20 20",path:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z"},"alert-info":{viewbox:"0 0 512 512",path:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},"alert-error":{viewbox:"0 0 512 512",path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"},"alert-success":{viewbox:"0 0 512 512",path:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},"alert-warning":{viewbox:"0 0 576 512",path:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},"chart-square-bar":{viewbox:"0 0 24 24",path:[Object(r.createElement)("path",{key:"1",fill:"#ffffff",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M16 8v8m-4-5v5m-4-2v2m-2 4h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})]}};var we=Object(j.createSvgIconComponent)(Oe),ve=n(267);const xe=e=>{let{suggestedLinksModalData:t,isPremium:n,children:s}=e;return Object(r.createElement)("div",{className:"yst-grid yst-grid-cols-1"},Object(r.createElement)("h3",{className:"yst-mb-4 yst-text-xl yst-text-slate-900 yst-font-medium"},"Add incoming links",!n&&Object(r.createElement)(l.Badge,{variant:"upsell",className:"yst-text-[10px] yst-text-amber-900 yst-font-semibold yst-h-4 yst-ml-2"},"Premium")),Object(r.createElement)("h4",{className:"yst-mb-2 yst-text-base yst-text-slate-900 yst-font-medium"},"To:"),Object(r.createElement)("div",{className:"yst-flex yst-text-slate-700 yst-mb-6 yst-items-center"},Object(r.createElement)(Re,{count:parseInt(t.incomingLinksCount,10)}),Object(r.createElement)(ye,{indexable:{permalink:t.permalink,breadcrumb_title:t.breadcrumbTitle,object_sub_type:null},showType:!1})),Object(r.createElement)("h4",{className:"yst-mb-2 yst-text-base yst-text-slate-900 yst-font-medium"},"From suggested posts:"),s)};xe.propTypes={suggestedLinksModalData:w.a.object,isPremium:w.a.bool,children:w.a.node};const Ee=e=>{let{isLinkSuggestionsEnabled:t,isPremium:n,suggestedLinksModalData:s}=e;return null===s?Object(r.createElement)(we,{icon:"loading-spinner"}):null!==s.error?Object(r.createElement)(l.Alert,{variant:"error"},Object(m.sprintf)(// Translators: %s expands to the error message. Object(m.__)("An error occurred while fetching the suggested links list: %s","wordpress-seo"),s.error)):t?n?0===s.linksList.length?Object(r.createElement)(xe,{suggestedLinksModalData:s,isPremium:n},Object(r.createElement)("p",{className:"yst-italic yst-mb-2"},"No suggestions available")):Object(r.createElement)(xe,{suggestedLinksModalData:s,isPremium:n},Object(r.createElement)("ul",{className:"yst-divide-y yst-divide-slate-200"},s.linksList.map((e,t)=>Object(r.createElement)("li",{key:"suggested-"+t,className:"yst-my-0 yst-max-w-none yst-font-medium yst-text-slate-700 yst-flex yst-flex-row yst-items-center yst-gap-3 yst-h-14"},Object(r.createElement)("span",{className:" yst-flex yst-grow"},Object(r.createElement)(ye,{showType:!1,indexable:e})),Object(r.createElement)(l.Button,{className:"yst-items-end yst-text-slate-700",type:"button",as:"a",href:"/wp-admin/post.php?action=edit&post="+e.object_id,target:"_blank",rel:"noopener noreferrer",variant:"secondary"},Object(m.__)("Edit","wordpress-seo")))))):Object(r.createElement)(xe,{suggestedLinksModalData:s,isPremium:n},Object(r.createElement)("div",{className:"yst-mb-3.5 yst-text-justify"},Object(b.a)(// translators: %1$s and %2$s are replaced by opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("Get relevant internal linking suggestions with Yoast SEO Premium! This feature will show you posts on your site with similar content that might be interesting to link from. %1$sRead more about how internal linking can improve your site structure%2$s.","wordpress-seo"),"<a>","</a>"),wpseoIndexablesPageData.shortlinks.internalLinks)),Object(r.createElement)("div",{className:"yst-grow-0 yst-mb-4"},Object(r.createElement)(l.Button,{id:"indexables-page-suggested-links-upsell-button",type:"button",as:"a",href:wpseoIndexablesPageData.shortlinks.getPremium,variant:"upsell",className:"yst-text-slate-800",target:"_blank"},Object(m.__)("Unlock with Premium!","wordpress-seo"),Object(r.createElement)("span",{className:"yst-sr-only"},Object(m.__)("(Opens in a new browser tab)","wordpress-seo")),Object(r.createElement)(ve.a,{className:"yst-ml-2 yst-h-5 yst-w-5 yst-text-yellow-900"}))),Object(r.createElement)("ul",{className:"yst-divide-y yst-divide-slate-200"},Object(c.range)(1,6).map((e,t)=>Object(r.createElement)("li",{key:"suggested-"+t,className:"yst-my-0 yst-max-w-none yst-font-medium yst-text-slate-400 yst-flex yst-flex-row yst-items-center yst-gap-3 yst-h-14"},Object(r.createElement)("span",{className:" yst-flex yst-grow"},"Suggested post to link from "+e,Object(r.createElement)(g,{className:"yst-h-4 yst-w- yst-ml-2"})),Object(r.createElement)(l.Button,{className:"yst-items-end",variant:"secondary",disabled:!0},Object(m.__)("Edit","wordpress-seo")))))):Object(r.createElement)(xe,{suggestedLinksModalData:s,isPremium:n},Object(r.createElement)(l.Alert,null,Object(b.a)(// translators: %1$s and %2$s are replaced by opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("You've disabled the 'Link suggestions' feature. Enable this feature on the %1$sFeatures tab%2$s if you want to see suggested posts to link from.","wordpress-seo"),"<a>","</a>"),"/wp-admin/admin.php?page=wpseo_dashboard#top#features")))};Ee.propTypes={isLinkSuggestionsEnabled:w.a.bool,isPremium:w.a.bool,suggestedLinksModalData:w.a.shape({linksList:w.a.arrayOf(w.a.object),error:w.a.string})};var Ie=Ee,ke=y.forwardRef((function(e,t){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),y.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"}))}));function _e(e){let{columnCount:t,listSize:n}=e;const s=[],a=[];for(let e=0;e<t;e++)s.push(Object(r.createElement)("div",{key:"placeholder-column-"+e,className:"yst-inline-block yst-animate-pulse"},Object(r.createElement)("div",{className:"yst-w-full yst-bg-slate-200 yst-h-3 yst-rounded"})));for(let e=0;e<n;e++)a.push(Object(r.createElement)("li",{key:"placeholder-row-"+e,className:"yst-w-full yst-my-0 yst-h-14 yst-max-w-none yst-grid yst-gap-2 yst-items-center yst-grid-cols-[0.5fr_7.5fr_1fr_2fr_1fr]"},s));return a}const Me=e=>{let{indexable:t,children:n,type:s,setIgnoredIndexable:a,ignoredLists:i,setIgnoredLists:o,position:u,setErrorMessage:b}=e;const[y,p]=Object(r.useState)(!1),[f,h]=Object(r.useState)(""),g=Object(r.useCallback)(()=>{a({indexable:t,type:s,position:u})},[t,s,u,a]),j=Object(r.useCallback)(async e=>{p(!0);const t=e.currentTarget.dataset.indexableid,n=e.currentTarget.dataset.indexabletype,s=Object(c.union)(i[n],[parseInt(t,10)]);o(e=>({...e,[n]:Object(c.union)(e[n],[parseInt(t,10)])}));try{const e=await d()({path:"yoast/v1/update_ignored_indexables",method:"POST",data:{type:n,list:s}});return(await e.json).success?(h("yst-animate-slideRight"),!0):(b(Object(m.__)("The request has failed.","wordpress-seo")),!1)}catch(e){p(!1),b(e.message)}},[d.a,a,i,o]);return Object(r.createElement)("li",{key:`indexable-${t.id}-row`,className:"yst-my-0 yst-max-w-none yst-font-medium yst-text-slate-700 yst-flex yst-flex-row yst-items-center yst-gap-3 yst-h-14 "+f,onAnimationEnd:g},n,Object(r.createElement)("div",null,Object(r.createElement)(l.Button,{variant:"secondary","data-indexableid":t.id,"data-indexabletype":s,onClick:j,disabled:y},y?Object(r.createElement)(l.Spinner,null):Object(r.createElement)(ke,{className:"yst-w-4 yst-h-4"}))))};function Ne(e){let{isLoading:t,children:n}=e;return Object(r.createElement)("ul",{className:"yst-divide-y yst-divide-slate-200"},t&&Object(r.createElement)(_e,{columnCount:5,listSize:5}),n,!t&&0===n.length&&"nothing to see here")}Me.propTypes={indexable:w.a.object,type:w.a.string,setIgnoredIndexable:w.a.func,ignoredLists:w.a.object,setIgnoredLists:w.a.func,position:w.a.number,setErrorMessage:w.a.func,children:w.a.node},Ne.propTypes={isLoading:w.a.bool,children:w.a.node},Ne.defaultProps={isLoading:!1,children:null},Ne.Row=Me;var Se=Ne,Ce=y.forwardRef((function(e,t){return y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),y.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"}))}));function Te(e){let{onClickCallback:t,lastRefreshTime:n}=e;return Object(r.createElement)("div",{className:"yst-max-w-7xl yst-text-right yst-gap-6 yst-mb-4"},Object(r.createElement)("span",{className:"yst-italic"},// translators: %d is the number of minutes since the last refresh. Object(m.sprintf)(Object(m._n)("Last refreshed: %d min ago","Last refreshed: %d mins ago",n,"wordpress-seo"),n)),Object(r.createElement)("button",{type:"button",onClick:t,className:"yst-ml-6 yst-font-medium yst-text-indigo-600 hover:yst-text-indigo-500 focus:yst-ring-indigo-500 focus:yst-shadow-none focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-offset-[#f0f0f1] yst-rounded-lg yst-py-2 yst-px-3"},Object(r.createElement)(Ce,{className:"yst-inline-block yst-align-text-bottom yst-mr-1 yst-h-4 yst-w-4"}),Object(m.__)("Refresh data","wordpress-seo")))}Te.propTypes={onClickCallback:w.a.func.isRequired,lastRefreshTime:w.a.number.isRequired};var Le=Te;function De(e){return parseInt(e.primary_focus_keyword_score,10)>40?"yst-bg-amber-500":"yst-bg-red-500"}function qe(e){return parseInt(e.readability_score,10)>59?"yst-bg-amber-500":"yst-bg-red-500"}const Ae=Object(j.makeOutboundLink)();function ze(e){let{colorClass:t}=e;return Object(r.createElement)("div",{className:"yst-flex yst-items-center"},Object(r.createElement)("span",{className:"yst-rounded-full yst-w-3 yst-h-3 "+t}))}function Re(e){let{count:t}=e;return Object(r.createElement)("div",{className:"yst-min-w-[36px] yst-shrink-0 yst-flex yst-items-center yst-gap-1.5"},Object(r.createElement)(fe,{className:"yst-h-4 yst-w-4 yst-text-slate-400"}),t)}ze.propTypes={colorClass:w.a.string.isRequired},Re.propTypes={count:w.a.number.isRequired};const Pe=Object(b.a)(// translators: %1$s and %2$s are replaced by opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("If you want to prevent your content from being orphaned, you need to make sure to link to that content. Linking to it from other places on your site will help Google and your audience reach it. %1$sLearn more about orphaned content%2$s.","wordpress-seo"),"<a>","</a>"),wpseoIndexablesPageData.shortlinks.orphanedContent),Fe=Object(b.a)(// translators: %1$s and %2$s are replaced by opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("Find and fix any orphaned content on your site by using this %1$sstep-by-step workout%2$s!","wordpress-seo"),"<a>","</a>"),wpseoIndexablesPageData.isPremium?"/wp-admin/admin.php?page=wpseo_workouts#orphaned":"/wp-admin/admin.php?page=wpseo_workouts"),He=Object(r.createElement)(r.Fragment,null,Object(m.__)("The content below is supposed to be your cornerstone content: the most important and extensive articles on your site. ","wordpress-seo"),Object(r.createInterpolateElement)(// translators: %1$s and %2$s are replaced by opening and closing span tags. Object(m.sprintf)(Object(m.__)("Make sure to mark this content as cornerstone content %1$s(%3$s)%2$s. %4$sLearn more about cornerstone content%5$s.","wordpress-seo"),"<span>","</span>","<StarIcon />","<a>","</a>"),{span:Object(r.createElement)("span",{className:"yst-whitespace-nowrap"}),a:Object(r.createElement)("a",{id:"indexables-page-cornerstone-link",href:wpseoIndexablesPageData.shortlinks.cornerstoneContent,target:"_blank",rel:"noopener noreferrer"}),StarIcon:Object(r.createElement)(he,{className:"yst-h-4 yst-w-4 yst-text-slate-700 yst-inline"})})),Ue=Object(b.a)(// translators: %1$s and %2$s are replaced by opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("Improve rankings for all your cornerstones by using this %1$sstep-by-step workout%2$s!","wordpress-seo"),"<a>","</a>"),wpseoIndexablesPageData.isPremium?"/wp-admin/admin.php?page=wpseo_workouts#cornerstone":"/wp-admin/admin.php?page=wpseo_workouts");function Be(e){let{setupInfo:t}=e;const n=parseInt(wpseoIndexablesPageData.listSize,10),s=2*n,a=Boolean(wpseoIndexablesPageData.isPremium),i=Boolean(wpseoIndexablesPageData.isLinkSuggestionsEnabled),[o,c]=Object(r.useState)([]),[u,y]=Object(r.useState)([]),[p,f]=Object(r.useState)(0),[h,g]=Object(r.useState)(null),[j,O]=Object(r.useState)(!1),[w,v]=Object(r.useState)(!1),[x,E]=Object(r.useState)(null),I=!Object(l.useMediaQuery)("(min-width: 1536px)").matches,[k,_]=Object(r.useState)({least_readability:[],least_seo_score:[],most_linked:[],least_linked:[]}),[M,N]=Object(r.useState)({least_readability:null,least_seo_score:null,most_linked:null,least_linked:null}),S=Object(r.useMemo)(()=>({least_seo_score:t.enabledFeatures.isSeoScoreEnabled,least_readability:t.enabledFeatures.isReadabilityEnabled,least_linked:t.enabledFeatures.isLinkCountEnabled,most_linked:t.enabledFeatures.isLinkCountEnabled}),[t]),C=Object(r.useCallback)(e=>S[e],[S]),T=Object(r.useCallback)(e=>o.includes(e),[o]),L=Object(r.useCallback)(e=>u.includes(e),[u]),D=Object(r.useCallback)(e=>0===k[e].length,[k]),[q,A]=Object(r.useState)(null),[z,R]=Object(r.useState)({least_readability:wpseoIndexablesPageData.ignoreLists.least_readability,least_seo_score:wpseoIndexablesPageData.ignoreLists.least_seo_score,most_linked:wpseoIndexablesPageData.ignoreLists.most_linked,least_linked:wpseoIndexablesPageData.ignoreLists.least_linked}),[P,F]=Object(r.useState)(!1),[H,U]=Object(r.useState)(null),B=Object(r.useCallback)(e=>!C(e),[C]),Q=Object(r.useCallback)(e=>C(e)&&!T(e),[T,C]),Z=Object(r.useCallback)(e=>C(e)&&T(e)&&!D(e),[C,T,D]),W=Object(r.useCallback)(e=>C(e)&&T(e)&&D(e),[C,T,D]),G=Object(r.useCallback)(e=>L(e),[L]),Y=Object(r.useCallback)(()=>k.most_linked.slice(0,5).filter(e=>!!parseInt(e.is_cornerstone,10)).length>0,[k.most_linked]),$=Object(r.useCallback)(async e=>{y(t=>[...t].filter(t=>t!==e));try{c(t=>[...t].filter(t=>t!==e));const t=await d()({path:"yoast/v1/"+e,method:"GET"}),n=await t.json;let s=[];n.list.length>0&&(s=n.list.filter(t=>"least_readability"===e?parseInt(t.readability_score,10)<=89:"least_seo_score"!==e||parseInt(t.primary_focus_keyword_score,10)<=70),s.length!==n.list.length&&("least_readability"===e?O(!0):"least_seo_score"===e&&v(!0))),_(t=>({...t,[e]:s})),N(t=>({...t,[e]:s.length})),c(t=>[...t,e])}catch(t){c(t=>[...t,e]),y(t=>[...t,e]),_(t=>({...t,[e]:[]})),N(t=>({...t,[e]:0}))}},[d.a,y,c,O,v,_,N]),V=e=>{if(null===q)return;const t=q.indexable.id;_(n=>({...n,[e]:n[e].filter(e=>e.id!==t)}))},J=Object(r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];0===k[e].length||t?$(e):k[e].length<s&&M[e]>=s?$(e,!0):V(e)}),[$,V,s,M,k]),K=e=>{t.enabledFeatures.isReadabilityEnabled?J("least_readability",e):c(e=>[...e,"least_readability"]),t.enabledFeatures.isSeoScoreEnabled?J("least_seo_score",e):c(e=>[...e,"least_seo_score"]),t.enabledFeatures.isLinkCountEnabled?(J("most_linked",e),J("least_linked",e)):c(e=>[...e,"most_linked","least_linked"]),h&&clearInterval(h),f(0);const n=setInterval(()=>{f(e=>e+1)},6e4);g(n)},X=Object(r.useCallback)(()=>{c([]),K(!0)},[c,K]);Object(r.useEffect)(()=>{K(!1)},[]),Object(r.useEffect)(async()=>{null!==q&&J(q.type)},[q]);const ee=Object(r.useCallback)(async(e,t,n,s)=>{if(F(!0),!a)return U({incomingLinksCount:t,linksList:null,breadcrumbTitle:n,permalink:s,error:null}),!0;try{const a=await d()({path:"yoast/v1/workouts/link_suggestions?indexableId="+e,method:"GET"}),r=await a.json;return 0===r.length?(U({incomingLinksCount:t,linksList:[],breadcrumbTitle:n,permalink:s,error:null}),!0):r.length>0&&(U({incomingLinksCount:t,linksList:r,breadcrumbTitle:n,permalink:s,error:null}),!0)}catch(e){return U({incomingLinksCount:null,linksList:null,breadcrumbTitle:null,permalink:null,error:e.message}),!1}},[U,F]),te=Object(r.useCallback)(e=>{ee(e.currentTarget.dataset.indexableid,e.currentTarget.dataset.incominglinkscount,e.currentTarget.dataset.breadcrumbtitle,e.currentTarget.dataset.permalink)},[ee]),ne=Object(r.useCallback)(()=>{F(!1),U(null)},[]),se=Object(r.useCallback)(()=>{E(null)},[]),ae=Object(r.useCallback)(async e=>{const t=e.indexable.id,n=e.type,s=e.indexable,a=e.position;try{const e=await d()({path:"yoast/v1/restore_indexable",method:"POST",data:{id:t,type:n}});(await e.json).success?(_(e=>{const t=e[n].slice(0);return t.splice(a,0,s),{...e,[n]:t}}),A(null),R(e=>({...e,[n]:e[n].filter(e=>e!==parseInt(t,10))}))):E(Object(m.__)("The undo request was unsuccessful.","wordpress-seo"))}catch(e){E(e.message)}},[d.a,_,k,A,R]),re=Object(r.useCallback)(e=>{if(null!==e)return()=>ae(e)},[ae]),ie=Object(r.useCallback)(async e=>{const{type:t}=e.target.dataset;c(e=>[...e].filter(e=>e!==t));try{const e=await d()({path:"yoast/v1/restore_all_indexables_for_list",method:"POST",data:{type:t}});(await e.json).success?(q&&q.type===t&&A(null),J(t,!0),R(e=>({...e,[t]:[]}))):E(Object(m.__)("The undo request was unsuccessful.","wordpress-seo"))}catch(e){E(e.message)}},[d.a,J,k,q,A,R]),oe=[Object(r.createElement)(ce,{key:"lowest-readability-scores",title:Q("least_readability")?Object(r.createElement)("div",{className:"yst-flex yst-items-center yst-h-8 yst-animate-pulse"},Object(r.createElement)("div",{className:"yst-w-3/5 yst-bg-slate-200 yst-h-3 yst-rounded"})):Object(m.__)("Lowest readability scores","wordpress-seo"),className:"2xl:yst-mb-6 2xl:last:yst-mb-0",options:[{title:Object(m.__)("Restore last hidden item","wordpress-seo"),active:q&&"least_readability"===q.type,action:re(q),menuItemData:{"data-type":"least_readability"}},{title:Object(m.__)("Restore all hidden items","wordpress-seo"),active:!0,action:ie,menuItemData:{"data-type":"least_readability"}}]},B("least_readability")&&Object(r.createElement)(l.Alert,{variant:"info"},Object(b.a)(// translators: %1$s and %2$s are the opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("You've disabled the 'Readability analysis' feature. Enable this feature on the %1$sFeatures tab%2$s if you want us to calculate the Readability score of your content","wordpress-seo"),"<a>","</a>"),"/wp-admin/admin.php?page=wpseo_dashboard#top#features")),Q("least_readability")&&Object(r.createElement)(Se,{isLoading:!0}),Z("least_readability")&&Object(r.createElement)(Se,null,k.least_readability.slice(0,n).map((e,t)=>Object(r.createElement)(Se.Row,{key:`indexable-${e.id}-row`,type:"least_readability",indexable:e,setIgnoredIndexable:A,ignoredLists:z,setIgnoredLists:R,position:t,setErrorMessage:E},Object(r.createElement)(ze,{colorClass:qe(e)}),Object(r.createElement)(pe,{indexable:e}),Object(r.createElement)("div",null,Object(r.createElement)(Ae,{id:"least-readability-edit-link",href:"/wp-admin/post.php?action=edit&post="+e.object_id,className:"yst-button yst-button--secondary yst-text-slate-700"},Object(m.__)("Improve","wordpress-seo")))))),G("least_readability")&&Object(r.createElement)(l.Alert,{variant:"error"},Object(m.__)("An error occured while calculating the Readability scores of your content. Please try again later.","wordpress-seo")),W("least_readability")&&!G("least_readability")&&!j&&Object(r.createElement)("div",{className:"yst-flex"},Object(r.createElement)("p",null,Object(m.__)("Your site has no content with Readability scores left to display here.","wordpress-seo"))),W("least_readability")&&!G("least_readability")&&j&&Object(r.createElement)("div",{className:"yst-flex"},Object(r.createElement)(ze,{colorClass:"yst-bg-emerald-500"}),Object(r.createElement)("p",{className:"yst-ml-2"},Object(m.__)("Congratulations! All of your content has a green readability score!","wordpress-seo")))),Object(r.createElement)(ce,{key:"lowest-link-count",title:Q("least_linked")?Object(r.createElement)("div",{className:"yst-flex yst-items-center yst-h-8 yst-animate-pulse"},Object(r.createElement)("div",{className:"yst-w-3/5 yst-bg-slate-200 yst-h-3 yst-rounded"})):Object(m.__)("Lowest number of incoming links","wordpress-seo"),className:"2xl:yst-mb-6 2xl:last:yst-mb-0",options:[{title:Object(m.__)("Restore last hidden item","wordpress-seo"),active:q&&"least_linked"===q.type,action:re(q),menuItemData:{"data-type":"least_linked"}},{title:Object(m.__)("Restore all hidden items","wordpress-seo"),active:!0,action:ie,menuItemData:{"data-type":"least_linked"}}]},B("least_linked")&&Object(r.createElement)(l.Alert,{variant:"info"},Object(b.a)(// translators: %1$s and %2$s are the opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("You've disabled the 'Text link counter' feature. Enable this feature on the %1$sFeatures tab%2$s if you want us to calculate the number of links in your content","wordpress-seo"),"<a>","</a>"),"/wp-admin/admin.php?page=wpseo_dashboard#top#features")),G("least_linked")&&Object(r.createElement)(l.Alert,{variant:"error"},Object(m.__)("An error occured while calculating the incoming links of your content. Please try again later.","wordpress-seo")),Q("least_linked")&&Object(r.createElement)(Se,{isLoading:!0}),Z("least_linked")&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"yst-mb-3 yst-text-justify yst-max-w-[600px]"},Pe),Object(r.createElement)(Se,null,k.least_linked.slice(0,n).map((e,t)=>Object(r.createElement)(Se.Row,{key:`indexable-${e.id}-row`,type:"least_linked",indexable:e,setIgnoredIndexable:A,ignoredLists:z,setIgnoredLists:R,position:t,setErrorMessage:E},Object(r.createElement)(Re,{count:parseInt(e.incoming_link_count,10)}),Object(r.createElement)(pe,{indexable:e}),Object(r.createElement)("div",{key:"least-linked-modal-button-"+e.id,className:"yst-shrink-0"},Object(r.createElement)(l.Button,{id:"least-linked-modal-button","data-indexableid":e.id,"data-incominglinkscount":null===e.incoming_link_count?0:e.incoming_link_count,"data-breadcrumbtitle":e.breadcrumb_title,"data-permalink":e.permalink,onClick:te,variant:"secondary"},Object(m.__)("Add links","wordpress-seo")))))),Object(r.createElement)("div",{className:"yst-mt-3 yst-text-justify yst-max-w-[600px]"},Fe)),W("least_linked")&&!G("least_linked")&&Object(r.createElement)("div",{className:"yst-flex"},Object(r.createElement)("p",null,Object(m.__)("You have hidden all items from this list, so there is no content left to display here.","wordpress-seo"))))],le=[...oe].reverse();return Object(r.createElement)("div",{className:"yst-max-w-full yst-mt-2"},Object(r.createElement)(l.Modal,{id:"error-modal",onClose:se,isOpen:null!==x},Object(r.createElement)(l.Alert,{variant:"error"},Object(m.sprintf)(// Translators: %s expands to the error message. Object(m.__)("An error occurred: %s","wordpress-seo"),x))),Object(r.createElement)(l.Modal,{id:"suggested-links-modal",onClose:ne,isOpen:P},Object(r.createElement)(Ie,{isLinkSuggestionsEnabled:i,isPremium:a,suggestedLinksModalData:H})),Object(r.createElement)(Le,{onClickCallback:X,lastRefreshTime:p}),Object(r.createElement)("div",{id:"indexables-table-columns",className:"yst-max-w-7xl yst-flex yst-flex-col 2xl:yst-block 2xl:yst-columns-2 yst-gap-6"},Object(r.createElement)(ce,{title:Q("least_seo_score")?Object(r.createElement)("div",{className:"yst-flex yst-items-center yst-h-8 yst-animate-pulse"},Object(r.createElement)("div",{className:"yst-w-3/5 yst-bg-slate-200 yst-h-3 yst-rounded"})):Object(m.__)("Lowest SEO scores","wordpress-seo"),className:"2xl:yst-mb-6 2xl:last:yst-mb-0",options:[{title:Object(m.__)("Restore last hidden item","wordpress-seo"),active:q&&"least_seo_score"===q.type,action:re(q),menuItemData:{"data-type":"least_seo_score"}},{title:Object(m.__)("Restore all hidden items","wordpress-seo"),active:!0,action:ie,menuItemData:{"data-type":"least_seo_score"}}]},B("least_seo_score")&&Object(r.createElement)(l.Alert,{variant:"info"},Object(b.a)(// translators: %1$s and %2$s are the opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("You've disabled the 'SEO analysis' feature. Enable this feature on the %1$sFeatures tab%2$s if you want us to calculate the SEO score of your content","wordpress-seo"),"<a>","</a>"),"/wp-admin/admin.php?page=wpseo_dashboard#top#features")),Q("least_seo_score")&&Object(r.createElement)(Se,{isLoading:!0}),Z("least_seo_score")&&Object(r.createElement)(Se,null,k.least_seo_score.slice(0,n).map((e,t)=>Object(r.createElement)(Se.Row,{key:`indexable-${e.id}-row`,type:"least_seo_score",indexable:e,setIgnoredIndexable:A,ignoredLists:z,setIgnoredLists:R,position:t,setErrorMessage:E},Object(r.createElement)(ze,{colorClass:De(e)}),Object(r.createElement)(pe,{indexable:e}),Object(r.createElement)("div",null,Object(r.createElement)(Ae,{id:"least-seo-score-edit-link",href:"/wp-admin/post.php?action=edit&post="+e.object_id,className:"yst-button yst-button--secondary yst-text-slate-700"},Object(m.__)("Improve","wordpress-seo")))))),G("least_seo_score")&&Object(r.createElement)(l.Alert,{variant:"error"},Object(m.__)("An error occured while calculating the SEO scores of your content. Please try again later.","wordpress-seo")),W("least_seo_score")&&!G("least_seo_score")&&!w&&Object(r.createElement)("div",{className:"yst-flex"},Object(r.createElement)("p",null,Object(m.__)("Your site has no content with SEO scores left to display here.","wordpress-seo"))),W("least_seo_score")&&!G("least_seo_score")&&w&&Object(r.createElement)("div",{className:"yst-flex"},Object(r.createElement)(ze,{colorClass:"yst-bg-emerald-500"}),Object(r.createElement)("p",{className:"yst-ml-2"},Object(m.__)("Congratulations! All of your content has a green SEO score!","wordpress-seo")))),I?oe:le,Object(r.createElement)(ce,{key:"most-link-count",title:Q("most_linked")?Object(r.createElement)("div",{className:"yst-flex yst-items-center yst-h-8 yst-animate-pulse"},Object(r.createElement)("div",{className:"yst-w-3/5 yst-bg-slate-200 yst-h-3 yst-rounded"})):Object(m.__)("Highest number of incoming links","wordpress-seo"),className:"yst-mb-6",options:[{title:Object(m.__)("Restore last hidden item","wordpress-seo"),active:q&&"most_linked"===q.type,action:re(q),menuItemData:{"data-type":"most_linked"}},{title:Object(m.__)("Restore hidden items","wordpress-seo"),active:!0,action:ie,menuItemData:{"data-type":"most_linked"}}]},B("most_linked")&&Object(r.createElement)(l.Alert,{variant:"info"},Object(b.a)(// translators: %1$s and %2$s are the opening and closing anchor tags. Object(m.sprintf)(Object(m.__)("You've disabled the 'Text link counter' feature. Enable this feature on the %1$sFeatures tab%2$s if you want us to calculate the number of links in your content","wordpress-seo"),"<a>","</a>"),"/wp-admin/admin.php?page=wpseo_dashboard#top#features")),G("most_linked")&&Object(r.createElement)(l.Alert,{variant:"error"},Object(m.__)("An error occured while calculating the incoming links of your content. Please try again later.","wordpress-seo")),Q("most_linked")&&Object(r.createElement)(Se,{isLoading:!0}),Z("most_linked")&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"yst-mb-3 yst-text-justify yst-max-w-[600px]"},He),Object(r.createElement)(Se,null,k.most_linked.slice(0,n).map((e,t)=>Object(r.createElement)(Se.Row,{key:`indexable-${e.id}-row`,type:"most_linked",indexable:e,setIgnoredIndexable:A,ignoredLists:z,setIgnoredLists:R,position:t,setErrorMessage:E},Y()&&Object(r.createElement)("div",{className:"yst-flex yst-items-center"},1==!!parseInt(e.is_cornerstone,10)?Object(r.createElement)(he,{className:"yst-h-4 yst-w-4 yst-text-slate-700"}):Object(r.createElement)("div",{className:"yst-w-4"})),Object(r.createElement)(Re,{count:parseInt(e.incoming_link_count,10)}),Object(r.createElement)(pe,{indexable:e}),Object(r.createElement)("div",null,Object(r.createElement)(Ae,{id:"most-linked-edit-link",href:"/wp-admin/post.php?action=edit&post="+e.object_id,className:"yst-button yst-button--secondary yst-text-slate-700"},Object(m.__)("Edit","wordpress-seo")))))),Object(r.createElement)("div",{className:"yst-mt-3 yst-text-justify yst-max-w-[600px]"},Ue)),W("most_linked")&&!G("most_linked")&&Object(r.createElement)("div",{className:"yst-flex"},Object(r.createElement)("p",null,Object(m.__)("Your site has no content with incoming links left to display here.","wordpress-seo"))))))}Be.propTypes={setupInfo:w.a.object.isRequired};var Qe=Be;const Ze=e=>{let{indexablesList:t,seoEnabled:n}=e;const[s,a]=Object(r.useState)(5),[i,o]=Object(r.useState)(s),c=Object(r.useCallback)(e=>{e.preventDefault();const n=i+s>t.length?t.length:i+s,r=t.length-n>s?s:t.length-n;o(n),a(r)},[i,o]),u=n?Object(m.sprintf)( /* translators: %1$s expands to the number of posts without a focus keyphrase */ Object(m.__)("Posts and pages without a focus keyphrase (%1$s)","wordpress-seo"),t.length):Object(m.sprintf)( /* translators: %1$s expands to the number of posts which hasn't been analyzed */ Object(m.__)("Posts and pages that haven't been analyzed (%1$s)","wordpress-seo"),t.length),d=n?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",null,Object(m.__)("Most of your posts and pages don't have a focus keyphrase yet. Help us to analyze your content by adding focus keyphrases. Below, we ordered your posts and pages on the highest number of incoming links, so you can start adding focus keyphrases for your most important content first.","wordpress-seo")),Object(r.createElement)("p",{className:"yst-mt-4"},Object(m.__)("Clicking the 'Add focus keyphrase' button will open the editor in a new browser tab. Once you're done, don't forget to click 'Update'.","wordpress-seo"))):Object(r.createElement)("p",null,Object(m.__)("Most of your posts and pages haven't been analyzed yet. Help us to analyze your content by opening and updating it. Clicking the 'Open editor' button will open the editor in a new browser tab. Make sure to click 'Update' at the top of that page.","wordpress-seo"));return Object(r.createElement)("div",{className:"yst-max-w-full"},Object(r.createElement)("div",{id:"start-writing-content",className:"yst-max-w-7xl yst-grid yst-grid-cols-1 2xl:yst-grid-cols-2 2xl:yst-grid-flow-row yst-gap-6"},Object(r.createElement)(ce,{title:u},d,Object(r.createElement)("ul",{className:"yst-divide-y yst-divide-slate-200"},t.slice(0,i).map((e,t)=>Object(r.createElement)("li",{key:`article-${t}-li`,className:"yst-my-0 yst-max-w-none yst-font-medium yst-text-slate-700 yst-flex yst-flex-row yst-items-center yst-h-14 last:yst-border-b-slate-200 last:yst-border-b-1"},Object(r.createElement)(Re,{key:"no-keyphrase-indexable-"+e.id,count:parseInt(e.incoming_link_count,10)}),Object(r.createElement)(pe,{indexable:e,showType:!1,additionalClassNames:"yst-ml-2.5"}),Object(r.createElement)(l.Button,{as:"a",type:"button",href:"/wp-admin/post.php?action=edit&post="+e.object_id,target:"_blank",rel:"noopener noreferrer",variant:"secondary",className:"yst-button yst-button--secondary yst-text-slate-700 yst-shrink-0"},n?Object(m.__)("Add focus keyphrase","wordpress-seo"):Object(m.__)("Open editor","wordpress-seo"))))),i<t.length&&Object(r.createElement)("div",{className:"yst-flex yst-justify-center yst-border-solid yst-border-t-[1px] yst-pt-6"},Object(r.createElement)(l.Link,{as:"button",onClick:c}, /* translators: %1$s expands to the step value (i.e. the number of posts to be added to the visible list) */ Object(m.sprintf)(Object(m.__)("Show %1$s more...","wordpress-seo"),s))))))};Ze.propTypes={indexablesList:w.a.arrayOf(w.a.object).isRequired,seoEnabled:w.a.bool.isRequired};var We=Ze,Ge=n(138),Ye=n(94);function $e(e){let{title:t,value:n}=e;return n?Object(r.createElement)("p",null,Object(r.createElement)("strong",null,t),Object(r.createElement)("br",null),n):null}function Ve(e){let{title:t,value:n}=e;return n?Object(r.createElement)("details",null,Object(r.createElement)("summary",null,t),Object(r.createElement)("pre",{className:"yst-overflow-x-scroll yst-mt-2 yst-max-w-[500px] yst-border yst-border-solid yst-border-red-900 yst-rounded yst-p-4"},n)):null}function Je(e){let{message:t,error:n}=e;return Object(r.createElement)(l.Alert,{className:"yst-mb-4 indexables-indexing-error",variant:"error"},Object(r.createElement)("div",{dangerouslySetInnerHTML:{__html:t}}),Object(r.createElement)("details",null,Object(r.createElement)("summary",null,Object(m.__)("Error details","wordpress-seo")),Object(r.createElement)("div",{className:"yst-mt-2"},Object(r.createElement)($e,{title:Object(m.__)("Request URL","wordpress-seo"),value:n.url}),Object(r.createElement)($e,{title:Object(m.__)("Request method","wordpress-seo"),value:n.method}),Object(r.createElement)($e,{title:Object(m.__)("Status code","wordpress-seo"),value:n.statusCode}),Object(r.createElement)($e,{title:Object(m.__)("Error message","wordpress-seo"),value:n.message}),Object(r.createElement)(Ve,{title:Object(m.__)("Response","wordpress-seo"),value:n.parseString}),Object(r.createElement)(Ve,{title:Object(m.__)("Error stack trace","wordpress-seo"),value:n.stackTrace}))))}$e.propTypes={title:w.a.string.isRequired,value:w.a.any},$e.defaultProps={value:""},Ve.propTypes={title:w.a.string.isRequired,value:w.a.string},Ve.defaultProps={value:""},Je.propTypes={message:w.a.string.isRequired,error:w.a.oneOfType([w.a.instanceOf(Error),w.a.instanceOf(Ye.a)]).isRequired};var Ke=n(51),Xe=n(135);class et extends r.Component{constructor(e){super(e),this.settings=yoastIndexingData,this.state={state:"idle",processed:0,error:null,amount:parseInt(this.settings.amount,10),firstTime:"1"===this.settings.firstTime},this.startIndexing=this.startIndexing.bind(this),this.stopIndexing=this.stopIndexing.bind(this)}async doIndexingRequest(e,t){const n=await fetch(e,{method:"POST",headers:{"X-WP-Nonce":t}}),s=await n.text();let a;try{a=JSON.parse(s)}catch(e){throw new Xe.a("Error parsing the response to JSON.",s)}if(!n.ok){const t=a.data?a.data.stackTrace:"";throw new Ye.a(a.message,e,"POST",n.status,t)}return a}async doPreIndexingAction(e){"function"==typeof this.props.preIndexingActions[e]&&await this.props.preIndexingActions[e](this.settings)}async doPostIndexingAction(e,t){"function"==typeof this.props.indexingActions[e]&&await this.props.indexingActions[e](t.objects,this.settings)}async doIndexing(e){let t=this.settings.restApi.root+this.settings.restApi.indexing_endpoints[e];for(;this.isState("in_progress")&&!1!==t;)try{await this.doPreIndexingAction(e);const n=await this.doIndexingRequest(t,this.settings.restApi.nonce);await this.doPostIndexingAction(e,n),this.setState(e=>({processed:e.processed+n.objects.length,firstTime:!1})),t=n.next_url}catch(e){this.setState({state:"errored",error:e,firstTime:!1})}}async index(){for(const e of Object.keys(this.settings.restApi.indexing_endpoints))await this.doIndexing(e);this.isState("errored")||this.isState("idle")||this.completeIndexing()}async startIndexing(){this.setState({processed:0,state:"in_progress"},this.index)}completeIndexing(){this.setState({state:"completed"})}stopIndexing(){this.setState(e=>({state:"idle",processed:0,amount:e.amount-e.processed}))}componentDidMount(){if(!this.settings.disabled&&(this.props.indexingStateCallback(0===this.state.amount?"already_done":this.state.state),"true"===new URLSearchParams(window.location.search).get("start-indexation"))){const e=Object(Ge.b)(window.location.href,"start-indexation");Object(Ge.a)(null,document.title,e),this.startIndexing()}}componentDidUpdate(e,t){this.state.state!==t.state&&this.props.indexingStateCallback(this.state.state)}isState(e){return this.state.state===e}renderFirstIndexationNotice(){return Object(r.createElement)(Ke.b,{type:"info",className:"yst-mt-6"},Object(m.__)("This feature includes and replaces the Text Link Counter and Internal Linking Analysis","wordpress-seo"))}renderStartButton(){return Object(r.createElement)("button",{type:"button",className:"yst-button yst-button--primary",onClick:this.startIndexing,id:"indexation-site-analysis"},Object(m.__)("Start site analysis","wordpress-seo"))}renderStopButton(){return Object(r.createElement)("button",{type:"button",className:"yst-button yst-button--secondary",onClick:this.stopIndexing},Object(m.__)("Stop site analysis","wordpress-seo"))}renderDisabledTool(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",null,Object(r.createElement)("button",{type:"button",className:"yst-button yst-button--secondary yst-button--disabled",disabled:!0,id:"indexation-site-analysis"},Object(m.__)("Start site analysis","wordpress-seo"))),Object(r.createElement)(Ke.b,{type:"info",className:"yst-mt-6"},Object(m.__)("Site analysis is disabled for non-production environments.","wordpress-seo")))}renderProgressBar(){let e=0;return this.isState("completed")&&(e=100),this.isState("in_progress")&&(e=this.state.processed/parseInt(this.state.amount,10)*100),Object(r.createElement)("div",{className:"yst-w-full yst-bg-slate-200 yst-rounded-full yst-h-2.5 yst-mb-4"},Object(r.createElement)("div",{className:"yst-transition-[width] yst-ease-linear yst-bg-primary-500 yst-h-2.5 yst-rounded-full",style:{width:e+"%"}}))}renderErrorAlert(){return Object(r.createElement)(Je,{message:yoastIndexingData.errorMessage,error:this.state.error,className:"yst-mb-4"})}render(){return this.settings.disabled?this.renderDisabledTool():Object(r.createElement)("div",{className:"yst-relative yst-w-full yst-flex yst-flex-col yst-items-center"},this.props.children,this.renderProgressBar(),this.isState("errored")&&this.renderErrorAlert(),this.isState("in_progress")?this.renderStopButton():this.renderStartButton(),this.isState("idle")&&this.state.firstTime&&this.renderFirstIndexationNotice())}}et.propTypes={indexingActions:w.a.object,preIndexingActions:w.a.object,indexingStateCallback:w.a.func,children:w.a.node},et.defaultProps={indexingActions:{},preIndexingActions:{},indexingStateCallback:()=>{},children:null};var tt=et;function nt(e){let{setIndexingState:t}=e;return Object(r.createElement)("div",{id:"indexation-view",className:"yst-max-w-full yst-my-6 yst-flex"},Object(r.createElement)("div",{className:"yst-flex yst-flex-col yst-w-full yst-items-center yst-bg-white yst-rounded-lg yst-px-8 yst-py-10 yst-shadow"},Object(r.createElement)("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzZweCIgaGVpZ2h0PSIzNnB4IiB2aWV3Qm94PSIwIDAgMzggMzgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+SWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0iRGVzaWducyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICAgICAgICA8ZyBpZD0iSW5kZXhhYmxlcy1wYWdlLS0tRW10cHktc3RhdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC03MDUuMDAwMDAwLCAtMTkzLjAwMDAwMCkiIHN0cm9rZT0iIzk0QTNCOCIgc3Ryb2tlLXdpZHRoPSIyIj4KICAgICAgICAgICAgPGcgaWQ9Ikljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDcwNi4wMDAwMDAsIDE5NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMCwyNS45OTk5OTk2IEwxNS43NTgsMjAuMjQxOTk5NiBNMTUuNzU4LDIwLjI0MTk5OTYgQzE3LjI2OTMzOTgsMjEuNzc4NTE3NyAxOS40ODg2NjksMjIuMzg2Mzk4MSAyMS41NzIwMzcxLDIxLjgzNDQ4MDYgQzIzLjY1NTQwNTMsMjEuMjgyNTYzIDI1LjI4MjcwMTksMTkuNjU1NjQ5OSAyNS44MzUxMTA1LDE3LjU3MjQxMiBDMjYuMzg3NTE5MSwxNS40ODkxNzQgMjUuNzgwMTYxOCwxMy4yNjk3MDE2IDI0LjI0NCwxMS43NTc5OTk2IEMyMS44OTU3MTQsOS40NDcxMDQ2NiAxOC4xMjMzNDI0LDkuNDYyMDE5MTkgMTUuNzkzNDAyNCwxMS43OTE0MTAxIEMxMy40NjM0NjIzLDE0LjEyMDgwMSAxMy40NDc2NTg2LDE3Ljg5MzE2OSAxNS43NTgsMjAuMjQxOTk5NiBaIE0zNiwxOCBDMzYsMjQuNDMwNzgwMyAzMi41NjkyMTk1LDMwLjM3MzA2NjcgMjcsMzMuNTg4NDU3MSBDMjEuNDMwNzgwNywzNi44MDM4NDc1IDE0LjU2OTIxOTMsMzYuODAzODQ3NSA5LDMzLjU4ODQ1NzEgQzMuNDMwNzgwNSwzMC4zNzMwNjY3IDguODgxNzg0MmUtMTYsMjQuNDMwNzgwMyA4Ljg4MTc4NDJlLTE2LDE4IEM4Ljg4MTc4NDJlLTE2LDguMDU4ODc0MjcgOC4wNTg4NzQ2NSwwIDE4LDAgQzI3Ljk0MTEyNTMsMCAzNiw4LjA1ODg3NDI3IDM2LDE4IEwzNiwxOCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+",alt:"Magnifying lens icon",className:"yst-mb-4"}),Object(r.createElement)("h4",{className:"yst-mb-2 yst-text-base yst-text-slate-900 yst-font-medium yst-leading-tight"},Object(m.__)("No data to show yet","wordpress-seo")),Object(r.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center"},Object(r.createElement)("p",{className:"yst-slate-500 yst-font-normal yst-leading-normal"},Object(m.__)("We would like to show you insights into content that we feel could use improving.","wordpress-seo")),Object(r.createElement)("p",{className:"yst-slate-500 yst-font-normal yst-leading-normal yst-mb-6"},Object(m.__)("Help us to analyze your site by running the site analysis below.","wordpress-seo")),Object(r.createElement)(tt,{preIndexingActions:window.yoast.indexing.preIndexingActions,indexingActions:window.yoast.indexing.indexingActions,indexingStateCallback:t}))))}nt.propTypes={setIndexingState:w.a.func.isRequired};var st=nt,at=function(){var e;const[t,n]=Object(r.useState)(()=>0===parseInt(yoastIndexingData.amount,10)?"already_done":"idle"),[s,a]=Object(r.useState)(null),[i,o]=Object(r.useState)(null),[c,u]=Object(r.useState)(0),[b,y]=Object(r.useState)(null),p=Object(r.useCallback)(async()=>{var e;if("staging"!==(null===(e=window.wpseoIndexablesPageData)||void 0===e?void 0:e.environment)&&("already_done"===t||"completed"===t)){a(null);try{const e=await d()({path:"yoast/v1/setup_info",method:"GET"}),t=await e.json;a(t)}catch(e){o(e.message)}}},[t,a,d.a,o]);return Object(r.useEffect)(async()=>{p()},[t]),Object(r.useEffect)(()=>{b&&clearInterval(b),u(0);const e=setInterval(()=>{u(e=>e+1)},6e4);y(e)},[s]),"staging"===(null===(e=window.wpseoIndexablesPageData)||void 0===e?void 0:e.environment)?Object(r.createElement)("div",{className:"yst-max-w-full yst-my-6"},Object(r.createElement)(l.Alert,{variant:"info"},Object(m.__)("This functionality is disabled in staging environments.","wordpress-seo"))):"already_done"!==t&&"completed"!==t?Object(r.createElement)(st,{setIndexingState:n}):null!==i?Object(r.createElement)("div",{className:"yst-flex yst-max-w-full yst-my-6 yst-justify-center"},Object(r.createElement)(l.Alert,{variant:"error"},Object(m.sprintf)(// Translators: %s expands to the error message. Object(m.__)("An error occurred while calculating your content: %s","wordpress-seo"),i))):s&&Object.values(s.enabledFeatures).every(e=>!1===e)?Object(r.createElement)(f,null):s&&!1===s.enoughContent?Object(r.createElement)("div",{className:" yst-mt-2 yst-mb-6"},Object(r.createElement)(Le,{onClickCallback:p,lastRefreshTime:c}),Object(r.createElement)(me,null)):s&&!1===s.enoughAnalysedContent&&(s.enabledFeatures.isSeoScoreEnabled||s.enabledFeatures.isReadabilityEnabled)?Object(r.createElement)("div",{className:" yst-mt-2 yst-mb-6"},Object(r.createElement)(Le,{onClickCallback:p,lastRefreshTime:c}),Object(r.createElement)(We,{indexablesList:s.postsWithoutKeyphrase,seoEnabled:s.enabledFeatures.isSeoScoreEnabled})):null===s?Object(r.createElement)("div",{className:"yst-flex yst-max-w-full yst-my-6 yst-justify-center"},Object(r.createElement)("div",{className:"yst-flex"},Object(r.createElement)(l.Spinner,null),Object(r.createElement)("span",{className:"yst-ml-3"},Object(m.__)("Loading...","wordpress-seo")))):Object(r.createElement)(Qe,{setupInfo:s})};o()(()=>{const e={isRtl:Boolean(Object(c.get)(window,"wpseoScriptData.metabox.isRtl",!1))},t=document.getElementById("wpseo-indexables-page");t&&Object(r.render)(Object(r.createElement)(l.Root,{context:e},Object(r.createElement)("div",{className:"yst-max-w-7xl yst-h-full yst-border-y yst-border-gray-300 yst-py-2"},Object(r.createElement)(at,null))),t)})},29:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var s,a=((s=a||{}).Space=" ",s.Enter="Enter",s.Escape="Escape",s.Backspace="Backspace",s.Delete="Delete",s.ArrowLeft="ArrowLeft",s.ArrowUp="ArrowUp",s.ArrowRight="ArrowRight",s.ArrowDown="ArrowDown",s.Home="Home",s.End="End",s.PageUp="PageUp",s.PageDown="PageDown",s.Tab="Tab",s)},3:function(e,t){e.exports=window.React},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var s,a=((s=a||{})[s.First=0]="First",s[s.Previous=1]="Previous",s[s.Next=2]="Next",s[s.Last=3]="Last",s[s.Specific=4]="Specific",s[s.Nothing=5]="Nothing",s);function r(e,t){let n=t.resolveItems();if(n.length<=0)return null;let s=t.resolveActiveIndex(),a=null!=s?s:-1,r=(()=>{switch(e.focus){case 0:return n.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=n.slice().reverse().findIndex((e,n,s)=>!(-1!==a&&s.length-n-1>=a||t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 2:return n.findIndex((e,n)=>!(n<=a||t.resolveDisabled(e)));case 3:{let e=n.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return-1===e?e:n.length-1-e}case 4:return n.findIndex(n=>t.resolveId(n)===e.id);case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===r?s:r}},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return l}));var s=n(3),a=n.n(s);let r=Object(s.createContext)(null);r.displayName="OpenClosedContext";var i,o=((i=o||{})[i.Open=0]="Open",i[i.Closed=1]="Closed",i);function l(){return Object(s.useContext)(r)}function c({value:e,children:t}){return a.a.createElement(r.Provider,{value:e},t)}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var s=n(3),a=n(23);function r(e){let t=Object(s.useRef)(e);return Object(a.a)(()=>{t.current=e},[e]),t}},37:function(e,t,n){"use strict";function s(){let e=[],t=[],n={enqueue(e){t.push(e)},addEventListener:(e,t,s,a)=>(e.addEventListener(t,s,a),n.add(()=>e.removeEventListener(t,s,a))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}(()=>{t.current&&e[0]()}),n.add(()=>{t.current=!1})},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0){let[t]=e.splice(n,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return n}n.d(t,"a",(function(){return s}))},4:function(e,t){e.exports=window.lodash},49:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var s=n(3),a=n(20);let r=Symbol();function i(...e){let t=Object(s.useRef)(e);Object(s.useEffect)(()=>{t.current=e},[e]);let n=Object(a.a)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[r]))?void 0:n}},51:function(e,t,n){"use strict";n.d(t,"b",(function(){return y})),n.d(t,"a",(function(){return p}));var s=n(0),a=n(3),r=a.forwardRef((function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"}))})),i=a.forwardRef((function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{fillRule:"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),o=a.forwardRef((function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"}))})),l=n(205),c=n(1),u=n(26),d=n.n(u),m=n(62),b=n.n(m);function y(e){let t,n,{type:a,children:c,className:u}=e;switch(a){case"info":t=Object(s.createElement)(r,{"aria-hidden":"true",className:"yst-flex-shrink-0 yst-w-5 yst-h-5 yst-text-blue-500"}),n="yst-bg-blue-100 yst-text-blue-800";break;case"warning":t=Object(s.createElement)(i,{"aria-hidden":"true",className:"yst-flex-shrink-0 yst-w-5 yst-h-5 yst-text-yellow-500"}),n="yst-bg-yellow-100 yst-text-yellow-800";break;case"error":t=Object(s.createElement)(o,{"aria-hidden":"true",className:"yst-flex-shrink-0 yst-w-5 yst-h-5 yst-text-red-500"}),n="yst-bg-red-100 yst-text-red-800";break;case"success":t=Object(s.createElement)(l.a,{"aria-hidden":"true",className:"yst-flex-shrink-0 yst-w-5 yst-h-5 yst-text-emerald-600"}),n="yst-bg-green-100 yst-text-green-800"}return Object(s.createElement)("div",{className:d()("yst-flex yst-p-4 yst-rounded-md",n,u)},t,Object(s.createElement)("div",{className:"yst-flex-1 yst-ml-3 yst-text-sm"},c))}function p(e){let{id:t,isVisible:n,expandDuration:a,type:r,children:i,className:o}=e;const[l,c]=Object(s.useState)(n?"yst-opacity-100":"yst-opacity-0"),u=Object(s.useCallback)(()=>{c("yst-opacity-100")});return Object(s.createElement)(b.a,{id:t,height:n?"auto":0,easing:"linear",duration:a,onAnimationEnd:u},Object(s.createElement)(y,{type:r,className:d()("yst-transition-opacity yst-duration-300 yst-mt-4",l,o)},i))}y.propTypes={type:c.PropTypes.oneOf(["info","warning","error","success"]),children:c.PropTypes.oneOfType([c.PropTypes.arrayOf(c.PropTypes.node),c.PropTypes.node]).isRequired,className:c.PropTypes.string},y.defaultProps={type:"info",className:""},p.propTypes={id:c.PropTypes.string.isRequired,isVisible:c.PropTypes.bool.isRequired,type:c.PropTypes.oneOf(["info","warning","error","success"]),children:c.PropTypes.oneOfType([c.PropTypes.arrayOf(c.PropTypes.node),c.PropTypes.node]).isRequired,expandDuration:c.PropTypes.number,className:c.PropTypes.string},p.defaultProps={expandDuration:400,type:"info",className:""}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return g}));var s=n(37),a=n(24),r=n(85);let i=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>e+":not([tabindex='-1'])").join(",");var o,l,c,u=((c=u||{})[c.First=1]="First",c[c.Previous=2]="Previous",c[c.Next=4]="Next",c[c.Last=8]="Last",c[c.WrapAround=16]="WrapAround",c[c.NoScroll=32]="NoScroll",c),d=((l=d||{})[l.Error=0]="Error",l[l.Overflow=1]="Overflow",l[l.Success=2]="Success",l[l.Underflow=3]="Underflow",l),m=((o=m||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o);function b(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(i))}var y=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(y||{});function p(e,t=0){var n;return e!==(null==(n=Object(r.a)(e))?void 0:n.body)&&Object(a.a)(t,{0:()=>e.matches(i),1(){let t=e;for(;null!==t;){if(t.matches(i))return!0;t=t.parentElement}return!1}})}function f(e){let t=Object(r.a)(e);Object(s.a)().nextFrame(()=>{t&&!p(t.activeElement,0)&&function(e){null==e||e.focus({preventScroll:!0})}(e)})}let h=["textarea","input"].join(",");function g(e,t=(e=>e)){return e.slice().sort((e,n)=>{let s=t(e),a=t(n);if(null===s||null===a)return 0;let r=s.compareDocumentPosition(a);return r&Node.DOCUMENT_POSITION_FOLLOWING?-1:r&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function j(e,t){return function(e,t,n=!0,s=null){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,r=Array.isArray(e)?n?g(e):e:b(e);s=null!=s?s:a.activeElement;let i,o=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,r.indexOf(s))-1;if(4&t)return Math.max(0,r.indexOf(s))+1;if(8&t)return r.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=32&t?{preventScroll:!0}:{},u=0,d=r.length;do{if(u>=d||u+d<=0)return 0;let e=l+u;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}i=r[e],null==i||i.focus(c),u+=o}while(i!==a.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,h))&&n}(i)&&i.select(),i.hasAttribute("tabindex")||i.setAttribute("tabindex","0"),2}(b(),t,!0,e)}},62:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),i=c(n(3)),o=c(n(1)),l=c(n(26));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"},m=["animateOpacity","animationStateClasses","applyInlineTransitions","children","contentClassName","delay","duration","easing","height","onAnimationEnd","onAnimationStart"];function b(e){for(var t=arguments.length,n=Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];if(!n.length)return e;for(var a={},r=Object.keys(e),i=0;i<r.length;i++){var o=r[i];-1===n.indexOf(o)&&(a[o]=e[o])}return a}function y(e){e.forEach((function(e){return cancelAnimationFrame(e)}))}function p(e){return!isNaN(parseFloat(e))&&isFinite(e)}function f(e){return"string"==typeof e&&e.search("%")===e.length-1&&p(e.substr(0,e.length-1))}function h(e,t){e&&"function"==typeof e&&e(t)}var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.animationFrameIDs=[];var s="auto",r="visible";p(e.height)?(s=e.height<0||"0"===e.height?0:e.height,r="hidden"):f(e.height)&&(s="0%"===e.height?0:e.height,r="hidden"),n.animationStateClasses=a({},d,e.animationStateClasses);var i=n.getStaticStateClasses(s);return n.state={animationStateClasses:i,height:s,overflow:r,shouldUseTransitions:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this.state.height;this.contentElement&&this.contentElement.style&&this.hideContent(e)}},{key:"componentDidUpdate",value:function(e,t){var n,s,a=this,r=this.props,i=r.delay,o=r.duration,c=r.height,d=r.onAnimationEnd,m=r.onAnimationStart;if(this.contentElement&&c!==e.height){var b;this.showContent(t.height),this.contentElement.style.overflow="hidden";var g=this.contentElement.offsetHeight;this.contentElement.style.overflow="";var j=o+i,O=null,w={height:null,overflow:"hidden"},v="auto"===t.height;p(c)?(O=c<0||"0"===c?0:c,w.height=O):f(c)?(O="0%"===c?0:c,w.height=O):(O=g,w.height="auto",w.overflow=null),v&&(w.height=O,O=g);var x=(0,l.default)((u(b={},this.animationStateClasses.animating,!0),u(b,this.animationStateClasses.animatingUp,"auto"===e.height||c<e.height),u(b,this.animationStateClasses.animatingDown,"auto"===c||c>e.height),u(b,this.animationStateClasses.animatingToHeightZero,0===w.height),u(b,this.animationStateClasses.animatingToHeightAuto,"auto"===w.height),u(b,this.animationStateClasses.animatingToHeightSpecific,w.height>0),b)),E=this.getStaticStateClasses(w.height);this.setState({animationStateClasses:x,height:O,overflow:"hidden",shouldUseTransitions:!v}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),v?(w.shouldUseTransitions=!0,y(this.animationFrameIDs),this.animationFrameIDs=(n=function(){a.setState(w),h(m,{newHeight:w.height})},(s=[])[0]=requestAnimationFrame((function(){s[1]=requestAnimationFrame((function(){n()}))})),s),this.animationClassesTimeoutID=setTimeout((function(){a.setState({animationStateClasses:E,shouldUseTransitions:!1}),a.hideContent(w.height),h(d,{newHeight:w.height})}),j)):(h(m,{newHeight:O}),this.timeoutID=setTimeout((function(){w.animationStateClasses=E,w.shouldUseTransitions=!1,a.setState(w),"auto"!==c&&a.hideContent(O),h(d,{newHeight:O})}),j))}}},{key:"componentWillUnmount",value:function(){y(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null,this.animationClassesTimeoutID=null,this.animationStateClasses=null}},{key:"showContent",value:function(e){0===e&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(e){0===e&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(e){var t;return(0,l.default)((u(t={},this.animationStateClasses.static,!0),u(t,this.animationStateClasses.staticHeightZero,0===e),u(t,this.animationStateClasses.staticHeightSpecific,e>0),u(t,this.animationStateClasses.staticHeightAuto,"auto"===e),t))}},{key:"render",value:function(){var e,t=this,n=this.props,s=n.animateOpacity,r=n.applyInlineTransitions,o=n.children,c=n.className,d=n.contentClassName,y=n.delay,p=n.duration,f=n.easing,h=n.id,g=n.style,j=this.state,O=j.height,w=j.overflow,v=j.animationStateClasses,x=j.shouldUseTransitions,E=a({},g,{height:O,overflow:w||g.overflow});x&&r&&(E.transition="height "+p+"ms "+f+" "+y+"ms",g.transition&&(E.transition=g.transition+", "+E.transition),E.WebkitTransition=E.transition);var I={};s&&(I.transition="opacity "+p+"ms "+f+" "+y+"ms",I.WebkitTransition=I.transition,0===O&&(I.opacity=0));var k=(0,l.default)((u(e={},v,!0),u(e,c,c),e)),_=void 0!==this.props["aria-hidden"]?this.props["aria-hidden"]:0===O;return i.default.createElement("div",a({},b.apply(void 0,[this.props].concat(m)),{"aria-hidden":_,className:k,id:h,style:E}),i.default.createElement("div",{className:d,style:I,ref:function(e){return t.contentElement=e}},o))}}]),t}(i.default.Component);g.propTypes={"aria-hidden":o.default.bool,animateOpacity:o.default.bool,animationStateClasses:o.default.object,applyInlineTransitions:o.default.bool,children:o.default.any.isRequired,className:o.default.string,contentClassName:o.default.string,delay:o.default.number,duration:o.default.number,easing:o.default.string,height:function(e,t,n){var a=e[t];return"number"==typeof a&&a>=0||f(a)||"auto"===a?null:new TypeError('value "'+a+'" of type "'+(void 0===a?"undefined":s(a))+'" is invalid type for '+t+" in "+n+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')},id:o.default.string,onAnimationEnd:o.default.func,onAnimationStart:o.default.func,style:o.default.object},g.defaultProps={animateOpacity:!1,animationStateClasses:d,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}},t.default=g},63:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var s=n(3),a=n(37);function r(){let[e]=Object(s.useState)(a.a);return Object(s.useEffect)(()=>()=>e.dispose(),[e]),e}},64:function(e,t){e.exports=window.wp.domReady},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var s,a=n(3),r=n.n(a),i=n(23),o=n(97);let l=0;function c(){return++l}let u=null!=(s=r.a.useId)?s:function(){let e=Object(o.a)(),[t,n]=r.a.useState(e?c:null);return Object(i.a)(()=>{null===t&&n(c())},[t]),null!=t?""+t:void 0}},8:function(e,t){e.exports=window.yoast.styledComponents},85:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var s=n(112);function a(e){return s.a?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},9:function(e,t){e.exports=window.yoast.uiLibrary},94:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));class s extends Error{constructor(e,t,n,s,a){super(e),this.name="RequestError",this.url=t,this.method=n,this.statusCode=s,this.stackTrace=a}}},97:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var s=n(3);let a={serverHandoffComplete:!1};function r(){let[e,t]=Object(s.useState)(a.serverHandoffComplete);return Object(s.useEffect)(()=>{!0!==e&&t(!0)},[e]),Object(s.useEffect)(()=>{!1===a.serverHandoffComplete&&(a.serverHandoffComplete=!0)},[]),e}}});