Files
xmarticaims/wp-content/plugins/table-of-contents-plus/dist/assets/js/Index.B1EysQKR.js
T
2026-11-02 10:26:32 -06:00

15 lines
495 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{$ as e,A as t,B as n,C as r,Ct as i,Dt as a,E as o,Et as s,F as c,G as l,H as u,I as d,J as f,K as p,L as m,M as h,N as g,O as _,P as v,Q as y,R as b,S as x,St as S,T as C,U as w,V as T,W as E,X as ee,Y as te,Z as ne,_ as D,at as re,b as O,c as ie,et as ae,g as k,i as A,it as oe,j as se,k as ce,o as le,ot as ue,p as de,q as fe,r as pe,s as me,t as j,tt as M,u as N,v as he,w as P,wt as F,y as I,z as ge}from"./_plugin-vue_export-helper.D5TAAMQM.js";import{d as _e,l as ve,o as ye}from"./preload-helper.BW7egqpS.js";import{a as be,i as L,o as R,r as xe}from"./translations.BwNKZNiM.js";var Se=e=>(e||document.location.search).replace(/(^\?)/,``).split(`&`).map(function(e){return e=e.split(`=`),this[e[0]]=e[1],this}.bind({}))[0],Ce=(e,t)=>{t||=document.location.href;let n=t.split(`#`),r=n[0].split(`?`);if(2>r.length)return t;let i=encodeURIComponent(e)+`=`,a=r[1].split(/[&;]/g);for(let e=a.length;0<e--;)a[e].lastIndexOf(i,0)!==-1&&a.splice(e,1);let o=n[1]?`#`+n[1]:``,s=r[0]+(0<a.length?`?`+a.join(`&`):``)+o;window.history.replaceState(null,null,s)},we=e=>{let t=A().aioseoTableOfContents.user;return!!t.canManage||!!(t.capabilities&&t.capabilities[e])};function Te(){return{processSaveChanges:()=>{let e=A(),t=pe();e.loading=!0,t.save().finally(()=>{e.loading=!1})}}}var Ee=typeof window<`u`,De,Oe=e=>De=e,ke=Symbol();function Ae(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var je;(function(e){e.direct=`direct`,e.patchObject=`patch object`,e.patchFunction=`patch function`})(je||={});var Me=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function Ne(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function Pe(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){ze(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function Fe(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Ie(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var Le=typeof navigator==`object`?navigator:{userAgent:``},Re=/Macintosh/.test(Le.userAgent)&&/AppleWebKit/.test(Le.userAgent)&&!/Safari/.test(Le.userAgent),ze=Ee?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!Re?Be:`msSaveOrOpenBlob`in Le?Ve:He:()=>{};function Be(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?Ie(r):Fe(r.href)?Pe(e,t,n):(r.target=`_blank`,Ie(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){Ie(r)},0))}function Ve(e,t=`download`,n){if(typeof e==`string`){if(Fe(e))Pe(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){Ie(t)})}}else navigator.msSaveOrOpenBlob(Ne(e,n),t)}function He(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return Pe(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(Me.HTMLElement))||`safari`in Me,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||Re)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:Ue}=Object;function We(){let e=f(!0),t=e.run(()=>M({})),n=[],r=[],i=y({install(e){Oe(i),i._a=e,e.provide(ke,i),e.config.globalProperties.$pinia=i,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}var Ge=()=>{};function Ke(t,n,r,i=Ge){t.add(n);let a=()=>{t.delete(n)&&i()};return!r&&te()&&e(a),a}function qe(e,...t){e.forEach(e=>{e(...t)})}var Je=e=>e(),Ye=Symbol(),Xe=Symbol();function Ze(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!t.hasOwnProperty(n))continue;let r=t[n],i=e[n];e[n]=Ae(i)&&Ae(r)&&e.hasOwnProperty(n)&&!ne(r)&&!ee(r)?Ze(i,r):r}return e}var Qe=Symbol();function $e(e){return!Ae(e)||!Object.prototype.hasOwnProperty.call(e,Qe)}var{assign:et}=Object;function tt(e){return!!(ne(e)&&e.effect)}function nt(e,t,n,r){let{state:i,actions:a,getters:o}=t,s=n.state.value[e],c;function l(){return s||(n.state.value[e]=i?i():{}),et(re(n.state.value[e]),a,Object.keys(o||{}).reduce((t,r)=>(t[r]=y(k(()=>{Oe(n);let t=n._s.get(e);return o[r].call(t,t)})),t),{}))}return c=rt(e,l,t,n,r,!0),c}function rt(e,t,n={},r,i,a){let o,s=et({actions:{}},n),c={deep:!0},u,d,p=new Set,m=new Set,g,_=r.state.value[e];!a&&!_&&(r.state.value[e]={}),M({});let v;function y(t){let n;u=d=!1,typeof t==`function`?(t(r.state.value[e]),n={type:je.patchFunction,storeId:e,events:g}):(Ze(r.state.value[e],t),n={type:je.patchObject,payload:t,storeId:e,events:g});let i=v=Symbol();h().then(()=>{v===i&&(u=!0)}),d=!0,qe(p,n,r.state.value[e])}let b=a?function(){let{state:e}=n,t=e?e():{};this.$patch(e=>{et(e,t)})}:Ge;function x(){o.stop(),p.clear(),m.clear(),r._s.delete(e)}let S=(t,n=``)=>{if(Ye in t)return t[Xe]=n,t;let i=function(){Oe(r);let n=Array.from(arguments),a=new Set,o=new Set;function s(e){a.add(e)}function c(e){o.add(e)}qe(m,{args:n,name:i[Xe],store:w,after:s,onError:c});let l;try{l=t.apply(this&&this.$id===e?this:w,n)}catch(e){throw qe(o,e),e}return l instanceof Promise?l.then(e=>(qe(a,e),e)).catch(e=>(qe(o,e),Promise.reject(e))):(qe(a,l),l)};return i[Ye]=!0,i[Xe]=n,i},C={_p:r,$id:e,$onAction:Ke.bind(null,m),$patch:y,$reset:b,$subscribe(t,n={}){let i=Ke(p,t,n.detached,()=>a()),a=o.run(()=>l(()=>r.state.value[e],r=>{(n.flush===`sync`?d:u)&&t({storeId:e,type:je.direct,events:g},r)},et({},c,n)));return i},$dispose:x},w=ae(C);r._s.set(e,w);let T=(r._a&&r._a.runWithContext||Je)(()=>r._e.run(()=>(o=f()).run(()=>t({action:S}))));for(let t in T){let n=T[t];ne(n)&&!tt(n)||ee(n)?a||(_&&$e(n)&&(ne(n)?n.value=_[t]:Ze(n,_[t])),r.state.value[e][t]=n):typeof n==`function`&&(T[t]=S(n,t),s.actions[t]=n)}return et(w,T),et(oe(w),T),Object.defineProperty(w,"$state",{get:()=>r.state.value[e],set:e=>{y(t=>{et(t,e)})}}),r._p.forEach(e=>{et(w,o.run(()=>e({store:w,app:r._a,pinia:r,options:s})))}),_&&a&&n.hydrate&&n.hydrate(w.$state,_),u=!0,d=!0,w}function z(e,t,n){let r,i=typeof t==`function`;r=i?n:t;function a(n,a){let o=_();return n||=o?ce(ke,null):null,n&&Oe(n),n=De,n._s.has(e)||(i?rt(e,t,r,n):nt(e,r,n)),n._s.get(e)}return a.$id=e,a}var it=z(`AddonsStore`,{state:()=>({addons:[]}),actions:{updateAddon(e){let t=this.addons.findIndex(t=>t.sku===e.sku);t!==-1&&(this.addons[t]=e)}}}),at=s(((e,t)=>{t!==void 0&&(t.exports=n);function n(e){if(e)return r(e)}function r(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[`$`+e]=this._callbacks[`$`+e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks[`$`+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks[`$`+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks[`$`+e],this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=Array(arguments.length-1),n=this._callbacks[`$`+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[`$`+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}})),ot=s(((e,t)=>{t.exports=s,s.default=s,s.stable=d,s.stableStringify=d;var n=`[...]`,r=`[Circular]`,i=[],a=[];function o(){return{depthLimit:2**53-1,edgesLimit:2**53-1}}function s(e,t,n,r){r===void 0&&(r=o()),l(e,``,0,[],void 0,0,r);var s;try{s=a.length===0?JSON.stringify(e,t,n):JSON.stringify(e,p(t),n)}catch{return JSON.stringify(`[unable to serialize, circular reference is too complex to analyze]`)}finally{for(;i.length!==0;){var c=i.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function c(e,t,n,r){var o=Object.getOwnPropertyDescriptor(r,n);o.get===void 0?(r[n]=e,i.push([r,n,t])):o.configurable?(Object.defineProperty(r,n,{value:e}),i.push([r,n,t,o])):a.push([t,n,e])}function l(e,t,i,a,o,s,u){s+=1;var d;if(typeof e==`object`&&e){for(d=0;d<a.length;d++)if(a[d]===e){c(r,e,t,o);return}if(u.depthLimit!==void 0&&s>u.depthLimit){c(n,e,t,o);return}if(u.edgesLimit!==void 0&&i+1>u.edgesLimit){c(n,e,t,o);return}if(a.push(e),Array.isArray(e))for(d=0;d<e.length;d++)l(e[d],d,d,a,e,s,u);else{var f=Object.keys(e);for(d=0;d<f.length;d++){var p=f[d];l(e[p],p,d,a,e,s,u)}}a.pop()}}function u(e,t){return e<t?-1:+(e>t)}function d(e,t,n,r){r===void 0&&(r=o());var s=f(e,``,0,[],void 0,0,r)||e,c;try{c=a.length===0?JSON.stringify(s,t,n):JSON.stringify(s,p(t),n)}catch{return JSON.stringify(`[unable to serialize, circular reference is too complex to analyze]`)}finally{for(;i.length!==0;){var l=i.pop();l.length===4?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}}return c}function f(e,t,a,o,s,l,d){l+=1;var p;if(typeof e==`object`&&e){for(p=0;p<o.length;p++)if(o[p]===e){c(r,e,t,s);return}try{if(typeof e.toJSON==`function`)return}catch{return}if(d.depthLimit!==void 0&&l>d.depthLimit){c(n,e,t,s);return}if(d.edgesLimit!==void 0&&a+1>d.edgesLimit){c(n,e,t,s);return}if(o.push(e),Array.isArray(e))for(p=0;p<e.length;p++)f(e[p],p,p,o,e,l,d);else{var m={},h=Object.keys(e).sort(u);for(p=0;p<h.length;p++){var g=h[p];f(e[g],g,p,o,e,l,d),m[g]=e[g]}if(s!==void 0)i.push([s,t,e]),s[t]=m;else return m}o.pop()}}function p(e){return e=e===void 0?function(e,t){return t}:e,function(t,n){if(a.length>0)for(var r=0;r<a.length;r++){var i=a[r];if(i[1]===t&&i[0]===n){n=i[2],a.splice(r,1);break}}return e.call(this,t,n)}}})),st=s(((e,t)=>{t.exports=Error})),ct=s(((e,t)=>{t.exports=EvalError})),lt=s(((e,t)=>{t.exports=RangeError})),ut=s(((e,t)=>{t.exports=ReferenceError})),dt=s(((e,t)=>{t.exports=SyntaxError})),ft=s(((e,t)=>{t.exports=TypeError})),pt=s(((e,t)=>{t.exports=URIError})),mt=s(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(t in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==r||a.enumerable!==!0)return!1}return!0}})),ht=s(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=mt();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),gt=s(((e,t)=>{var n={__proto__:null,foo:{}},r=Object;t.exports=function(){return{__proto__:n}.foo===n.foo&&!(n instanceof r)}})),_t=s(((e,t)=>{var n=Object.prototype.toString,r=Math.max,i=`[object Function]`,a=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},o=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},s=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||n.apply(t)!==i)throw TypeError(`Function.prototype.bind called on incompatible `+t);for(var c=o(arguments,1),l,u=function(){if(this instanceof l){var n=t.apply(this,a(c,arguments));return Object(n)===n?n:this}return t.apply(e,a(c,arguments))},d=r(0,t.length-c.length),f=[],p=0;p<d;p++)f[p]=`$`+p;if(l=Function(`binder`,`return function (`+s(f,`,`)+`){ return binder.apply(this,arguments); }`)(u),t.prototype){var m=function(){};m.prototype=t.prototype,l.prototype=new m,m.prototype=null}return l}})),vt=s(((e,t)=>{var n=_t();t.exports=Function.prototype.bind||n})),yt=s(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=vt().call(n,r)})),bt=s(((e,t)=>{var n,r=st(),i=ct(),a=lt(),o=ut(),s=dt(),c=ft(),l=pt(),u=Function,d=function(e){try{return u(`"use strict"; return (`+e+`).constructor;`)()}catch{}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},``)}catch{f=null}var p=function(){throw new c},m=f?function(){try{return arguments.callee,p}catch{try{return f(arguments,`callee`).get}catch{return p}}}():p,h=ht()(),g=gt()(),_=Object.getPrototypeOf||(g?function(e){return e.__proto__}:null),v={},y=typeof Uint8Array>`u`||!_?n:_(Uint8Array),b={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":h&&_?_([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":i,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":v,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&_?_(_([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!h||!_?n:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":a,"%ReferenceError%":o,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!h||!_?n:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&_?_(``[Symbol.iterator]()):n,"%Symbol%":h?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":m,"%TypedArray%":y,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet};if(_)try{null.error}catch(e){b[`%Error.prototype%`]=_(_(e))}var x=function e(t){var n;if(t===`%AsyncFunction%`)n=d(`async function () {}`);else if(t===`%GeneratorFunction%`)n=d(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=d(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&_&&(n=_(i.prototype))}return b[t]=n,n},S={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},C=vt(),w=yt(),T=C.call(Function.call,Array.prototype.concat),E=C.call(Function.apply,Array.prototype.splice),ee=C.call(Function.call,String.prototype.replace),te=C.call(Function.call,String.prototype.slice),ne=C.call(Function.call,RegExp.prototype.exec),D=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,re=/\\(\\)?/g,O=function(e){var t=te(e,0,1),n=te(e,-1);if(t===`%`&&n!==`%`)throw new s("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new s("invalid intrinsic syntax, expected opening `%`");var r=[];return ee(e,D,function(e,t,n,i){r[r.length]=n?ee(i,re,`$1`):t||e}),r},ie=function(e,t){var n=e,r;if(w(S,n)&&(r=S[n],n=`%`+r[0]+`%`),w(b,n)){var i=b[n];if(i===v&&(i=x(n)),i===void 0&&!t)throw new c(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new s(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new c(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new c(`"allowMissing" argument must be a boolean`);if(ne(/^%?[^%]*%?$/,e)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=O(e),r=n.length>0?n[0]:``,i=ie(`%`+r+`%`,t),a=i.name,o=i.value,l=!1,u=i.alias;u&&(r=u[0],E(n,T([0,1],u)));for(var d=1,p=!0;d<n.length;d+=1){var m=n[d],h=te(m,0,1),g=te(m,-1);if((h===`"`||h===`'`||h==="`"||g===`"`||g===`'`||g==="`")&&h!==g)throw new s(`property names with quotes must have matching quotes`);if((m===`constructor`||!p)&&(l=!0),r+=`.`+m,a=`%`+r+`%`,w(b,a))o=b[a];else if(o!=null){if(!(m in o)){if(!t)throw new c(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(f&&d+1>=n.length){var _=f(o,m);p=!!_,o=p&&`get`in _&&!(`originalValue`in _.get)?_.get:o[m]}else p=w(o,m),o=o[m];p&&!l&&(b[a]=o)}}return o}})),xt=s(((e,t)=>{var n=bt()(`%Object.defineProperty%`,!0)||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),St=s(((e,t)=>{var n=bt()(`%Object.getOwnPropertyDescriptor%`,!0);if(n)try{n([],`length`)}catch{n=null}t.exports=n})),Ct=s(((e,t)=>{var n=xt(),r=dt(),i=ft(),a=St();t.exports=function(e,t,o){if(!e||typeof e!=`object`&&typeof e!=`function`)throw new i("`obj` must be an object or a function`");if(typeof t!=`string`&&typeof t!=`symbol`)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=`boolean`&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=`boolean`&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=`boolean`&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=`boolean`)throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(n)n(e,t,{configurable:l===null&&d?d.configurable:!l,enumerable:s===null&&d?d.enumerable:!s,value:o,writable:c===null&&d?d.writable:!c});else if(u||!s&&!c&&!l)e[t]=o;else throw new r(`This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.`)}})),wt=s(((e,t)=>{var n=xt(),r=function(){return!!n};r.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],`length`,{value:1}).length!==1}catch{return!0}},t.exports=r})),Tt=s(((e,t)=>{var n=bt(),r=Ct(),i=wt()(),a=St(),o=ft(),s=n(`%Math.floor%`);t.exports=function(e,t){if(typeof e!=`function`)throw new o("`fn` is not a function");if(typeof t!=`number`||t<0||t>4294967295||s(t)!==t)throw new o("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],c=!0,l=!0;if(`length`in e&&a){var u=a(e,`length`);u&&!u.configurable&&(c=!1),u&&!u.writable&&(l=!1)}return(c||l||!n)&&(i?r(e,`length`,t,!0,!0):r(e,`length`,t)),e}})),Et=s(((e,t)=>{var n=vt(),r=bt(),i=Tt(),a=ft(),o=r(`%Function.prototype.apply%`),s=r(`%Function.prototype.call%`),c=r(`%Reflect.apply%`,!0)||n.call(s,o),l=xt(),u=r(`%Math.max%`);t.exports=function(e){if(typeof e!=`function`)throw new a(`a function is required`);return i(c(n,s,arguments),1+u(0,e.length-(arguments.length-1)),!0)};var d=function(){return c(n,o,arguments)};l?l(t.exports,`apply`,{value:d}):t.exports.apply=d})),Dt=s(((e,t)=>{var n=bt(),r=Et(),i=r(n(`String.prototype.indexOf`));t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r(a):a}})),Ot=s(((e,t)=>{var n=typeof Map==`function`&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,`size`):null,i=n&&r&&typeof r.get==`function`?r.get:null,a=n&&Map.prototype.forEach,o=typeof Set==`function`&&Set.prototype,s=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,`size`):null,c=o&&s&&typeof s.get==`function`?s.get:null,l=o&&Set.prototype.forEach,u=typeof WeakMap==`function`&&WeakMap.prototype?WeakMap.prototype.has:null,d=typeof WeakSet==`function`&&WeakSet.prototype?WeakSet.prototype.has:null,f=typeof WeakRef==`function`&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,h=Function.prototype.toString,g=String.prototype.match,_=String.prototype.slice,v=String.prototype.replace,y=String.prototype.toUpperCase,b=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,C=Array.prototype.join,w=Array.prototype.slice,T=Math.floor,E=typeof BigInt==`function`?BigInt.prototype.valueOf:null,ee=Object.getOwnPropertySymbols,te=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?Symbol.prototype.toString:null,ne=typeof Symbol==`function`&&typeof Symbol.iterator==`object`,D=typeof Symbol==`function`&&Symbol.toStringTag?Symbol.toStringTag:null,re=Object.prototype.propertyIsEnumerable,O=(typeof Reflect==`function`?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function ie(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==`number`){var r=e<0?-T(-e):T(e);if(r!==e){var i=String(r),a=_.call(t,i.length+1);return v.call(i,n,`$&_`)+`.`+v.call(v.call(a,/([0-9]{3})/g,`$&_`),/_$/,``)}}return v.call(t,n,`$&_`)}var ae=N(),k=ae.custom,A=j(k)?k:null;t.exports=function e(t,n,r,o){var s=n||{};if(P(s,`quoteStyle`)&&s.quoteStyle!==`single`&&s.quoteStyle!==`double`)throw TypeError(`option "quoteStyle" must be "single" or "double"`);if(P(s,`maxStringLength`)&&(typeof s.maxStringLength==`number`?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!P(s,`customInspect`)||s.customInspect;if(typeof u!=`boolean`&&u!==`symbol`)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(P(s,`indent`)&&s.indent!==null&&s.indent!==` `&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(P(s,`numericSeparator`)&&typeof s.numericSeparator!=`boolean`)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=s.numericSeparator;if(t===void 0)return`undefined`;if(t===null)return`null`;if(typeof t==`boolean`)return t?`true`:`false`;if(typeof t==`string`)return xe(t,s);if(typeof t==`number`){if(t===0)return 1/0/t>0?`0`:`-0`;var f=String(t);return d?ie(t,f):f}if(typeof t==`bigint`){var m=String(t)+`n`;return d?ie(t,m):m}var h=s.depth===void 0?5:s.depth;if(r===void 0&&(r=0),r>=h&&h>0&&typeof t==`object`)return ce(t)?`[Array]`:`[Object]`;var g=De(s,r);if(o===void 0)o=[];else if(ge(o,t)>=0)return`[Circular]`;function y(t,n,i){if(n&&(o=w.call(o),o.push(n)),i){var a={depth:s.depth};return P(s,`quoteStyle`)&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if(typeof t==`function`&&!ue(t)){var x=I(t),T=ke(t,y);return`[Function`+(x?`: `+x:` (anonymous)`)+`]`+(T.length>0?` { `+C.call(T,`, `)+` }`:``)}if(j(t)){var ee=ne?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,`$1`):te.call(t);return typeof t==`object`&&!ne?Ce(ee):ee}if(R(t)){for(var k=`<`+b.call(String(t.nodeName)),N=t.attributes||[],he=0;he<N.length;he++)k+=` `+N[he].name+`=`+oe(se(N[he].value),`double`,s);return k+=`>`,t.childNodes&&t.childNodes.length&&(k+=`...`),k+=`</`+b.call(String(t.nodeName))+`>`,k}if(ce(t)){if(t.length===0)return`[]`;var Se=ke(t,y);return g&&!Ee(Se)?`[`+Oe(Se,g)+`]`:`[ `+C.call(Se,`, `)+` ]`}if(de(t)){var Ae=ke(t,y);return!(`cause`in Error.prototype)&&`cause`in t&&!re.call(t,`cause`)?`{ [`+String(t)+`] `+C.call(S.call(`[cause]: `+y(t.cause),Ae),`, `)+` }`:Ae.length===0?`[`+String(t)+`]`:`{ [`+String(t)+`] `+C.call(Ae,`, `)+` }`}if(typeof t==`object`&&u){if(A&&typeof t[A]==`function`&&ae)return ae(t,{depth:h-r});if(u!==`symbol`&&typeof t.inspect==`function`)return t.inspect()}if(_e(t)){var je=[];return a&&a.call(t,function(e,n){je.push(y(n,t,!0)+` => `+y(e,t))}),Te(`Map`,i.call(t),je,g)}if(be(t)){var Me=[];return l&&l.call(t,function(e){Me.push(y(e,t))}),Te(`Set`,c.call(t),Me,g)}if(ve(t))return we(`WeakMap`);if(L(t))return we(`WeakSet`);if(ye(t))return we(`WeakRef`);if(pe(t))return Ce(y(Number(t)));if(M(t))return Ce(y(E.call(t)));if(me(t))return Ce(p.call(t));if(fe(t))return Ce(y(String(t)));if(typeof window<`u`&&t===window)return`{ [object Window] }`;if(typeof globalThis<`u`&&t===globalThis||typeof global<`u`&&t===global)return`{ [object globalThis] }`;if(!le(t)&&!ue(t)){var Ne=ke(t,y),Pe=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,Fe=t instanceof Object?``:`null prototype`,Ie=!Pe&&D&&Object(t)===t&&D in t?_.call(F(t),8,-1):Fe?`Object`:``,Le=(Pe||typeof t.constructor!=`function`?``:t.constructor.name?t.constructor.name+` `:``)+(Ie||Fe?`[`+C.call(S.call([],Ie||[],Fe||[]),`: `)+`] `:``);return Ne.length===0?Le+`{}`:g?Le+`{`+Oe(Ne,g)+`}`:Le+`{ `+C.call(Ne,`, `)+` }`}return String(t)};function oe(e,t,n){var r=(n.quoteStyle||t)===`double`?`"`:`'`;return r+e+r}function se(e){return v.call(String(e),/"/g,`&quot;`)}function ce(e){return F(e)===`[object Array]`&&(!D||!(typeof e==`object`&&D in e))}function le(e){return F(e)===`[object Date]`&&(!D||!(typeof e==`object`&&D in e))}function ue(e){return F(e)===`[object RegExp]`&&(!D||!(typeof e==`object`&&D in e))}function de(e){return F(e)===`[object Error]`&&(!D||!(typeof e==`object`&&D in e))}function fe(e){return F(e)===`[object String]`&&(!D||!(typeof e==`object`&&D in e))}function pe(e){return F(e)===`[object Number]`&&(!D||!(typeof e==`object`&&D in e))}function me(e){return F(e)===`[object Boolean]`&&(!D||!(typeof e==`object`&&D in e))}function j(e){if(ne)return e&&typeof e==`object`&&e instanceof Symbol;if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||!te)return!1;try{return te.call(e),!0}catch{}return!1}function M(e){if(!e||typeof e!=`object`||!E)return!1;try{return E.call(e),!0}catch{}return!1}var he=Object.prototype.hasOwnProperty||function(e){return e in this};function P(e,t){return he.call(e,t)}function F(e){return m.call(e)}function I(e){if(e.name)return e.name;var t=g.call(h.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ge(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function _e(e){if(!i||!e||typeof e!=`object`)return!1;try{i.call(e);try{c.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function ve(e){if(!u||!e||typeof e!=`object`)return!1;try{u.call(e,u);try{d.call(e,d)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function ye(e){if(!f||!e||typeof e!=`object`)return!1;try{return f.call(e),!0}catch{}return!1}function be(e){if(!c||!e||typeof e!=`object`)return!1;try{c.call(e);try{i.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function L(e){if(!d||!e||typeof e!=`object`)return!1;try{d.call(e,d);try{u.call(e,u)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function R(e){return!e||typeof e!=`object`?!1:typeof HTMLElement<`u`&&e instanceof HTMLElement||typeof e.nodeName==`string`&&typeof e.getAttribute==`function`}function xe(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r=`... `+n+` more character`+(n>1?`s`:``);return xe(_.call(e,0,t.maxStringLength),t)+r}return oe(v.call(v.call(e,/(['\\])/g,`\\$1`),/[\x00-\x1f]/g,Se),`single`,t)}function Se(e){var t=e.charCodeAt(0),n={8:`b`,9:`t`,10:`n`,12:`f`,13:`r`}[t];return n?`\\`+n:`\\x`+(t<16?`0`:``)+y.call(t.toString(16))}function Ce(e){return`Object(`+e+`)`}function we(e){return e+` { ? }`}function Te(e,t,n,r){var i=r?Oe(n,r):C.call(n,`, `);return e+` (`+t+`) {`+i+`}`}function Ee(e){for(var t=0;t<e.length;t++)if(ge(e[t],`
`)>=0)return!1;return!0}function De(e,t){var n;if(e.indent===` `)n=` `;else if(typeof e.indent==`number`&&e.indent>0)n=C.call(Array(e.indent+1),` `);else return null;return{base:n,prev:C.call(Array(t+1),n)}}function Oe(e,t){if(e.length===0)return``;var n=`
`+t.prev+t.base;return n+C.call(e,`,`+n)+`
`+t.prev}function ke(e,t){var n=ce(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=P(e,i)?t(e[i],e):``}var a=typeof ee==`function`?ee(e):[],o;if(ne){o={};for(var s=0;s<a.length;s++)o[`$`+a[s]]=a[s]}for(var c in e)P(e,c)&&(n&&String(Number(c))===c&&c<e.length||ne&&o[`$`+c]instanceof Symbol||(x.call(/[^\w$]/,c)?r.push(t(c,e)+`: `+t(e[c],e)):r.push(c+`: `+t(e[c],e))));if(typeof ee==`function`)for(var l=0;l<a.length;l++)re.call(e,a[l])&&r.push(`[`+t(a[l])+`]: `+t(e[a[l]],e));return r}})),kt=s(((e,t)=>{var n=bt(),r=Dt(),i=Ot(),a=ft(),o=n(`%WeakMap%`,!0),s=n(`%Map%`,!0),c=r(`WeakMap.prototype.get`,!0),l=r(`WeakMap.prototype.set`,!0),u=r(`WeakMap.prototype.has`,!0),d=r(`Map.prototype.get`,!0),f=r(`Map.prototype.set`,!0),p=r(`Map.prototype.has`,!0),m=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},h=function(e,t){var n=m(e,t);return n&&n.value},g=function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},_=function(e,t){return!!m(e,t)};t.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a(`Side channel does not contain `+i(e))},get:function(r){if(o&&r&&(typeof r==`object`||typeof r==`function`)){if(e)return c(e,r)}else if(s){if(t)return d(t,r)}else if(n)return h(n,r)},has:function(r){if(o&&r&&(typeof r==`object`||typeof r==`function`)){if(e)return u(e,r)}else if(s){if(t)return p(t,r)}else if(n)return _(n,r);return!1},set:function(r,i){o&&r&&(typeof r==`object`||typeof r==`function`)?(e||=new o,l(e,r,i)):s?(t||=new s,f(t,r,i)):(n||={key:{},next:null},g(n,r,i))}};return r}})),At=s(((e,t)=>{var n=String.prototype.replace,r=/%20/g,i={RFC1738:`RFC1738`,RFC3986:`RFC3986`};t.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return n.call(e,r,`+`)},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}})),jt=s(((e,t)=>{var n=At(),r=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push(`%`+((t<16?`0`:``)+t.toString(16)).toUpperCase());return e}(),o=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],a=0;a<n.length;++a)n[a]!==void 0&&r.push(n[a]);t.obj[t.prop]=r}}},s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)e[r]!==void 0&&(n[r]=e[r]);return n},c=function e(t,n,a){if(!n)return t;if(typeof n!=`object`){if(i(t))t.push(n);else if(t&&typeof t==`object`)(a&&(a.plainObjects||a.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!=`object`)return[t].concat(n);var o=t;return i(t)&&!i(n)&&(o=s(t,a)),i(t)&&i(n)?(n.forEach(function(n,i){if(r.call(t,i)){var o=t[i];o&&typeof o==`object`&&n&&typeof n==`object`?t[i]=e(o,n,a):t.push(n)}else t[i]=n}),t):Object.keys(n).reduce(function(t,i){var o=n[i];return t[i]=r.call(t,i)?e(t[i],o,a):o,t},o)},l=function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},u=function(e,t,n){var r=e.replace(/\+/g,` `);if(n===`iso-8859-1`)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},d=1024;t.exports={arrayToObject:s,assign:l,combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:`o`}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),c=0;c<s.length;++c){var l=s[c],u=a[l];typeof u==`object`&&u&&n.indexOf(u)===-1&&(t.push({obj:a,prop:l}),n.push(u))}return o(t),e},decode:u,encode:function(e,t,r,i,o){if(e.length===0)return e;var s=e;if(typeof e==`symbol`?s=Symbol.prototype.toString.call(e):typeof e!=`string`&&(s=String(e)),r===`iso-8859-1`)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return`%26%23`+parseInt(e.slice(2),16)+`%3B`});for(var c=``,l=0;l<s.length;l+=d){for(var u=s.length>=d?s.slice(l,l+d):s,f=[],p=0;p<u.length;++p){var m=u.charCodeAt(p);if(m===45||m===46||m===95||m===126||m>=48&&m<=57||m>=65&&m<=90||m>=97&&m<=122||o===n.RFC1738&&(m===40||m===41)){f[f.length]=u.charAt(p);continue}if(m<128){f[f.length]=a[m];continue}if(m<2048){f[f.length]=a[192|m>>6]+a[128|m&63];continue}if(m<55296||m>=57344){f[f.length]=a[224|m>>12]+a[128|m>>6&63]+a[128|m&63];continue}p+=1,m=65536+((m&1023)<<10|u.charCodeAt(p)&1023),f[f.length]=a[240|m>>18]+a[128|m>>12&63]+a[128|m>>6&63]+a[128|m&63]}c+=f.join(``)}return c},isBuffer:function(e){return!e||typeof e!=`object`?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return Object.prototype.toString.call(e)===`[object RegExp]`},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:c}})),Mt=s(((e,t)=>{var n=kt(),r=jt(),i=At(),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+`[]`},comma:`comma`,indices:function(e,t){return e+`[`+t+`]`},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:`indices`,charset:`utf-8`,charsetSentinel:!1,delimiter:`&`,encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`||typeof e==`bigint`},m={},h=function e(t,i,a,o,c,u,d,h,g,_,v,y,b,x,S,C,w,T){for(var E=t,ee=T,te=0,ne=!1;(ee=ee.get(m))!==void 0&&!ne;){var D=ee.get(t);if(te+=1,D!==void 0){if(D===te)throw RangeError(`Cyclic object value`);ne=!0}ee.get(m)===void 0&&(te=0)}if(typeof _==`function`?E=_(i,E):E instanceof Date?E=b(E):a===`comma`&&s(E)&&(E=r.maybeMap(E,function(e){return e instanceof Date?b(e):e})),E===null){if(u)return g&&!C?g(i,f.encoder,w,`key`,x):i;E=``}if(p(E)||r.isBuffer(E))return g?[S(C?i:g(i,f.encoder,w,`key`,x))+`=`+S(g(E,f.encoder,w,`value`,x))]:[S(i)+`=`+S(String(E))];var re=[];if(E===void 0)return re;var O;if(a===`comma`&&s(E))C&&g&&(E=r.maybeMap(E,g)),O=[{value:E.length>0?E.join(`,`)||null:void 0}];else if(s(_))O=_;else{var ie=Object.keys(E);O=v?ie.sort(v):ie}var ae=h?i.replace(/\./g,`%2E`):i,k=o&&s(E)&&E.length===1?ae+`[]`:ae;if(c&&s(E)&&E.length===0)return k+`[]`;for(var A=0;A<O.length;++A){var oe=O[A],se=typeof oe==`object`&&oe.value!==void 0?oe.value:E[oe];if(!(d&&se===null)){var ce=y&&h?oe.replace(/\./g,`%2E`):oe,le=s(E)?typeof a==`function`?a(k,ce):k:k+(y?`.`+ce:`[`+ce+`]`);T.set(t,te);var ue=n();ue.set(m,T),l(re,e(se,le,a,o,c,u,d,h,a===`comma`&&C&&s(E)?null:g,_,v,y,b,x,S,C,w,ue))}}return re},g=function(e){if(!e)return f;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.encodeDotInKeys!==void 0&&typeof e.encodeDotInKeys!=`boolean`)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&e.encoder!==void 0&&typeof e.encoder!=`function`)throw TypeError(`Encoder has to be a function.`);var t=e.charset||f.charset;if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);var n=i.default;if(e.format!==void 0){if(!a.call(i.formatters,e.format))throw TypeError(`Unknown format option provided.`);n=e.format}var r=i.formatters[n],c=f.filter;(typeof e.filter==`function`||s(e.filter))&&(c=e.filter);var l=e.arrayFormat in o?e.arrayFormat:`indices`in e?e.indices?`indices`:`repeat`:f.arrayFormat;if(`commaRoundTrip`in e&&typeof e.commaRoundTrip!=`boolean`)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=e.allowDots===void 0?e.encodeDotInKeys===!0||f.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix==`boolean`?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:l,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:e.delimiter===void 0?f.delimiter:e.delimiter,encode:typeof e.encode==`boolean`?e.encode:f.encode,encodeDotInKeys:typeof e.encodeDotInKeys==`boolean`?e.encodeDotInKeys:f.encodeDotInKeys,encoder:typeof e.encoder==`function`?e.encoder:f.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==`boolean`?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:typeof e.serializeDate==`function`?e.serializeDate:f.serializeDate,skipNulls:typeof e.skipNulls==`boolean`?e.skipNulls:f.skipNulls,sort:typeof e.sort==`function`?e.sort:null,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:f.strictNullHandling}};t.exports=function(e,t){var r=e,i=g(t),a,c;typeof i.filter==`function`?(c=i.filter,r=c(``,r)):s(i.filter)&&(c=i.filter,a=c);var u=[];if(typeof r!=`object`||!r)return``;var d=o[i.arrayFormat],f=d===`comma`&&i.commaRoundTrip;a||=Object.keys(r),i.sort&&a.sort(i.sort);for(var p=n(),m=0;m<a.length;++m){var _=a[m];i.skipNulls&&r[_]===null||l(u,h(r[_],_,d,f,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}var v=u.join(i.delimiter),y=i.addQueryPrefix===!0?`?`:``;return i.charsetSentinel&&(i.charset===`iso-8859-1`?y+=`utf8=%26%2310003%3B&`:y+=`utf8=%E2%9C%93&`),v.length>0?y+v:``}})),Nt=s(((e,t)=>{var n=jt(),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:`utf-8`,charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:`&`,depth:5,duplicates:`combine`,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},o=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t){return e&&typeof e==`string`&&t.comma&&e.indexOf(`,`)>-1?e.split(`,`):e},c=`utf8=%26%2310003%3B`,l=`utf8=%E2%9C%93`,u=function(e,t){var u={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,``):e;d=d.replace(/%5B/gi,`[`).replace(/%5D/gi,`]`);var f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=d.split(t.delimiter,f),m=-1,h,g=t.charset;if(t.charsetSentinel)for(h=0;h<p.length;++h)p[h].indexOf(`utf8=`)===0&&(p[h]===l?g=`utf-8`:p[h]===c&&(g=`iso-8859-1`),m=h,h=p.length);for(h=0;h<p.length;++h)if(h!==m){var _=p[h],v=_.indexOf(`]=`),y=v===-1?_.indexOf(`=`):v+1,b,x;y===-1?(b=t.decoder(_,a.decoder,g,`key`),x=t.strictNullHandling?null:``):(b=t.decoder(_.slice(0,y),a.decoder,g,`key`),x=n.maybeMap(s(_.slice(y+1),t),function(e){return t.decoder(e,a.decoder,g,`value`)})),x&&t.interpretNumericEntities&&g===`iso-8859-1`&&(x=o(x)),_.indexOf(`[]=`)>-1&&(x=i(x)?[x]:x);var S=r.call(u,b);S&&t.duplicates===`combine`?u[b]=n.combine(u[b],x):(!S||t.duplicates===`last`)&&(u[b]=x)}return u},d=function(e,t,n,r){for(var i=r?t:s(t,n),a=e.length-1;a>=0;--a){var o,c=e[a];if(c===`[]`&&n.parseArrays)o=n.allowEmptyArrays&&(i===``||n.strictNullHandling&&i===null)?[]:[].concat(i);else{o=n.plainObjects?Object.create(null):{};var l=c.charAt(0)===`[`&&c.charAt(c.length-1)===`]`?c.slice(1,-1):c,u=n.decodeDotInKeys?l.replace(/%2E/g,`.`):l,d=parseInt(u,10);!n.parseArrays&&u===``?o={0:i}:!isNaN(d)&&c!==u&&String(d)===u&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(o=[],o[d]=i):u!==`__proto__`&&(o[u]=i)}i=o}return i},f=function(e,t,n,i){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,`[$1]`):e,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,c=n.depth>0&&o.exec(a),l=c?a.slice(0,c.index):a,u=[];if(l){if(!n.plainObjects&&r.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var f=0;n.depth>0&&(c=s.exec(a))!==null&&f<n.depth;){if(f+=1,!n.plainObjects&&r.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(c[1])}if(c){if(n.strictDepth===!0)throw RangeError(`Input depth exceeded depth option of `+n.depth+` and strictDepth is true`);u.push(`[`+a.slice(c.index)+`]`)}return d(u,t,n,i)}},p=function(e){if(!e)return a;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.decodeDotInKeys!==void 0&&typeof e.decodeDotInKeys!=`boolean`)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!=`function`)throw TypeError(`Decoder has to be a function.`);if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);var t=e.charset===void 0?a.charset:e.charset,r=e.duplicates===void 0?a.duplicates:e.duplicates;if(r!==`combine`&&r!==`first`&&r!==`last`)throw TypeError(`The duplicates option must be either combine, first, or last`);return{allowDots:e.allowDots===void 0?e.decodeDotInKeys===!0||a.allowDots:!!e.allowDots,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes==`boolean`?e.allowPrototypes:a.allowPrototypes,allowSparse:typeof e.allowSparse==`boolean`?e.allowSparse:a.allowSparse,arrayLimit:typeof e.arrayLimit==`number`?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:a.charsetSentinel,comma:typeof e.comma==`boolean`?e.comma:a.comma,decodeDotInKeys:typeof e.decodeDotInKeys==`boolean`?e.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof e.decoder==`function`?e.decoder:a.decoder,delimiter:typeof e.delimiter==`string`||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:typeof e.depth==`number`||e.depth===!1?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities==`boolean`?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==`number`?e.parameterLimit:a.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects==`boolean`?e.plainObjects:a.plainObjects,strictDepth:typeof e.strictDepth==`boolean`?!!e.strictDepth:a.strictDepth,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:a.strictNullHandling}};t.exports=function(e,t){var r=p(t);if(e===``||e==null)return r.plainObjects?Object.create(null):{};for(var i=typeof e==`string`?u(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(i),s=0;s<o.length;++s){var c=o[s],l=f(c,i[c],r,typeof e==`string`);a=n.merge(a,l,r)}return r.allowSparse===!0?a:n.compact(a)}})),Pt=s(((e,t)=>{var n=Mt(),r=Nt();t.exports={formats:At(),parse:r,stringify:n}})),Ft=s((e=>{e.type=e=>e.split(/ *; */).shift(),e.params=e=>{let t={};for(let n of e.split(/ *; */)){let e=n.split(/ *= */),r=e.shift(),i=e.shift();r&&i&&(t[r]=i)}return t},e.parseLinks=e=>{let t={};for(let n of e.split(/ *, */)){let e=n.split(/ *; */),r=e[0].slice(1,-1),i=e[1].split(/ *= */)[1].slice(1,-1);t[i]=r}return t},e.cleanHeader=(e,t)=>(delete e[`content-type`],delete e[`content-length`],delete e[`transfer-encoding`],delete e.host,t&&(delete e.authorization,delete e.cookie),e),e.isObject=e=>typeof e==`object`&&!!e,e.hasOwn=Object.hasOwn||function(e,t){if(e==null)throw TypeError(`Cannot convert undefined or null to object`);return Object.prototype.hasOwnProperty.call(new Object(e),t)},e.mixin=(t,n)=>{for(let r in n)e.hasOwn(n,r)&&(t[r]=n[r])}})),It=s(((e,t)=>{var{isObject:n,hasOwn:r}=Ft();t.exports=i;function i(){}i.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},i.prototype.parse=function(e){return this._parser=e,this},i.prototype.responseType=function(e){return this._responseType=e,this},i.prototype.serialize=function(e){return this._serializer=e,this},i.prototype.timeout=function(e){if(!e||typeof e!=`object`)return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(let t in e)if(r(e,t))switch(t){case`deadline`:this._timeout=e.deadline;break;case`response`:this._responseTimeout=e.response;break;case`upload`:this._uploadTimeout=e.upload;break;default:console.warn(`Unknown timeout option`,t)}return this},i.prototype.retry=function(e,t){return(arguments.length===0||e===!0)&&(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var a=new Set([`ETIMEDOUT`,`ECONNRESET`,`EADDRINUSE`,`ECONNREFUSED`,`EPIPE`,`ENOTFOUND`,`ENETUNREACH`,`EAI_AGAIN`]),o=new Set([408,413,429,500,502,503,504,521,522,524]);i.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{let n=this._retryCallback(e,t);if(n===!0)return!0;if(n===!1)return!1}catch(e){console.error(e)}return!!(t&&t.status&&o.has(t.status)||e&&(e.code&&a.has(e.code)||e.timeout&&e.code===`ECONNABORTED`||e.crossDomain))},i.prototype._retry=function(){return this.clearTimeout(),this.req&&=(this.req=null,this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},i.prototype.then=function(e,t){if(!this._fullfilledPromise){let e=this;this._endCalled&&console.warn(`Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises`),this._fullfilledPromise=new Promise((t,n)=>{e.on(`abort`,()=>{if(this._maxRetries&&this._maxRetries>this._retries)return;if(this.timedout&&this.timedoutError){n(this.timedoutError);return}let e=Error(`Aborted`);e.code=`ABORTED`,e.status=this.status,e.method=this.method,e.url=this.url,n(e)}),e.end((e,r)=>{e?n(e):t(r)})})}return this._fullfilledPromise.then(e,t)},i.prototype.catch=function(e){return this.then(void 0,e)},i.prototype.use=function(e){return e(this),this},i.prototype.ok=function(e){if(typeof e!=`function`)throw Error(`Callback required`);return this._okCallback=e,this},i.prototype._isResponseOK=function(e){return e?this._okCallback?this._okCallback(e):e.status>=200&&e.status<300:!1},i.prototype.get=function(e){return this._header[e.toLowerCase()]},i.prototype.getHeader=i.prototype.get,i.prototype.set=function(e,t){if(n(e)){for(let t in e)r(e,t)&&this.set(t,e[t]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},i.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},i.prototype.field=function(e,t,i){if(e==null)throw Error(`.field(name, val) name can not be empty`);if(this._data)throw Error(`.field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()`);if(n(e)){for(let t in e)r(e,t)&&this.field(t,e[t]);return this}if(Array.isArray(t)){for(let n in t)r(t,n)&&this.field(e,t[n]);return this}if(t==null)throw Error(`.field(name, val) val can not be empty`);return typeof t==`boolean`&&(t=String(t)),i?this._getFormData().append(e,t,i):this._getFormData().append(e,t),this},i.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit(`abort`),this)},i.prototype._auth=function(e,t,n,r){switch(n.type){case`basic`:this.set(`Authorization`,`Basic ${r(`${e}:${t}`)}`);break;case`auto`:this.username=e,this.password=t;break;case`bearer`:this.set(`Authorization`,`Bearer ${e}`)}return this},i.prototype.withCredentials=function(e){return e===void 0&&(e=!0),this._withCredentials=e,this},i.prototype.redirects=function(e){return this._maxRedirects=e,this},i.prototype.maxResponseSize=function(e){if(typeof e!=`number`)throw TypeError(`Invalid argument`);return this._maxResponseSize=e,this},i.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},i.prototype.send=function(e){let t=n(e),i=this._header[`content-type`];if(this._formData)throw Error(`.send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()`);if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error(`Can't merge these send calls`);if(t&&n(this._data))for(let t in e){if(typeof e[t]==`bigint`&&!e[t].toJSON)throw Error(`Cannot serialize BigInt value to json`);r(e,t)&&(this._data[t]=e[t])}else if(typeof e==`bigint`)throw Error(`Cannot send value of type BigInt`);else typeof e==`string`?(i||this.type(`form`),i=this._header[`content-type`],i&&=i.toLowerCase().trim(),this._data=i===`application/x-www-form-urlencoded`?this._data?`${this._data}&${e}`:e:(this._data||``)+e):this._data=e;return!t||this._isHost(e)||i||this.type(`json`),this},i.prototype.sortQuery=function(e){return this._sort=e===void 0||e,this},i.prototype._finalizeQueryString=function(){let e=this._query.join(`&`);if(e&&(this.url+=(this.url.includes(`?`)?`&`:`?`)+e),this._query.length=0,this._sort){let e=this.url.indexOf(`?`);if(e>=0){let t=this.url.slice(e+1).split(`&`);typeof this._sort==`function`?t.sort(this._sort):t.sort(),this.url=this.url.slice(0,e)+`?`+t.join(`&`)}}},i.prototype._appendQueryString=()=>{console.warn(`Unsupported`)},i.prototype._timeoutError=function(e,t,n){if(this._aborted)return;let r=Error(`${e+t}ms exceeded`);r.timeout=t,r.code=`ECONNABORTED`,r.errno=n,this.timedout=!0,this.timedoutError=r,this.abort(),this.callback(r)},i.prototype._setTimeouts=function(){let e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(()=>{e._timeoutError(`Timeout of `,e._timeout,`ETIME`)},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(()=>{e._timeoutError(`Response timeout of `,e._responseTimeout,`ETIMEDOUT`)},this._responseTimeout))}})),Lt=s(((e,t)=>{var n=Ft();t.exports=r;function r(){}r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){let t=e[`content-type`]||``;this.type=n.type(t);let r=n.params(t);for(let e in r)Object.prototype.hasOwnProperty.call(r,e)&&(this[e]=r[e]);this.links={};try{e.link&&(this.links=n.parseLinks(e.link))}catch{}},r.prototype._setStatusProperties=function(e){let t=Math.trunc(e/100);this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=t===1,this.ok=t===2,this.redirect=t===3,this.clientError=t===4,this.serverError=t===5,this.error=t===4||t===5?this.toError():!1,this.created=e===201,this.accepted=e===202,this.noContent=e===204,this.badRequest=e===400,this.unauthorized=e===401,this.notAcceptable=e===406,this.forbidden=e===403,this.notFound=e===404,this.unprocessableEntity=e===422}})),Rt=s(((e,t)=>{var n=[`use`,`on`,`once`,`set`,`query`,`type`,`accept`,`auth`,`withCredentials`,`sortQuery`,`retry`,`ok`,`redirects`,`timeout`,`buffer`,`serialize`,`parse`,`ca`,`key`,`pfx`,`cert`,`disableTLSCerts`],r=class{constructor(){this._defaults=[]}_setDefaults(e){for(let t of this._defaults)e[t.fn](...t.args)}};for(let e of n)r.prototype[e]=function(){var t=[...arguments];return this._defaults.push({fn:e,args:t}),this};t.exports=r})),zt=a(s(((e,t)=>{var n;typeof window<`u`?n=window:typeof self>`u`?(console.warn(`Using browser-only version of superagent in non-browser environment`),n=void 0):n=self;var r=at(),i=ot(),a=Pt(),o=It(),{isObject:s,mixin:c,hasOwn:l}=Ft(),u=Lt(),d=Rt();function f(){}t.exports=function(t,n){return typeof n==`function`?new e.Request(`GET`,t).end(n):arguments.length===1?new e.Request(`GET`,t):new e.Request(t,n)},e=t.exports;var p=e;e.Request=x,p.getXHR=()=>{if(n.XMLHttpRequest)return new n.XMLHttpRequest;throw Error(`Browser-only version of superagent could not find XHR`)};var m=``.trim?e=>e.trim():e=>e.replace(/(^\s*|\s*$)/g,``);function h(e){if(!s(e))return e;let t=[];for(let n in e)l(e,n)&&g(t,n,e[n]);return t.join(`&`)}function g(e,t,n){if(n!==void 0){if(n===null){e.push(encodeURI(t));return}if(Array.isArray(n))for(let r of n)g(e,t,r);else if(s(n))for(let r in n)l(n,r)&&g(e,`${t}[${r}]`,n[r]);else e.push(encodeURI(t)+`=`+encodeURIComponent(n))}}p.serializeObject=h;function _(e){let t={},n=e.split(`&`),r,i;for(let e=0,a=n.length;e<a;++e)r=n[e],i=r.indexOf(`=`),i===-1?t[decodeURIComponent(r)]=``:t[decodeURIComponent(r.slice(0,i))]=decodeURIComponent(r.slice(i+1));return t}p.parseString=_,p.types={html:`text/html`,json:`application/json`,xml:`text/xml`,urlencoded:`application/x-www-form-urlencoded`,form:`application/x-www-form-urlencoded`,"form-data":`application/x-www-form-urlencoded`},p.serialize={"application/x-www-form-urlencoded":a.stringify,"application/json":i},p.parse={"application/x-www-form-urlencoded":_,"application/json":JSON.parse};function v(e){let t=e.split(/\r?\n/),n={},r,i,a,o;for(let e=0,s=t.length;e<s;++e)i=t[e],r=i.indexOf(`:`),r!==-1&&(a=i.slice(0,r).toLowerCase(),o=m(i.slice(r+1)),n[a]=o);return n}function y(e){return/[/+]json($|[^-\w])/i.test(e)}function b(e){this.req=e,this.xhr=this.req.xhr,this.text=this.req.method!==`HEAD`&&(this.xhr.responseType===``||this.xhr.responseType===`text`)||this.xhr.responseType===void 0?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;let{status:t}=this.xhr;t===1223&&(t=204),this._setStatusProperties(t),this.headers=v(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header[`content-type`]=this.xhr.getResponseHeader(`content-type`),this._setHeaderProperties(this.header),this.body=this.text===null&&e._responseType?this.xhr.response:this.req.method===`HEAD`?null:this._parseBody(this.text?this.text:this.xhr.response)}c(b.prototype,u.prototype),b.prototype._parseBody=function(e){let t=p.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&y(this.type)&&(t=p.parse[`application/json`]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},b.prototype.toError=function(){let{req:e}=this,{method:t}=e,{url:n}=e,r=`cannot ${t} ${n} (${this.status})`,i=Error(r);return i.status=this.status,i.method=t,i.url=n,i},p.Response=b;function x(e,t){let n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on(`end`,()=>{let e=null,t=null;try{t=new b(n)}catch(t){return e=Error(`Parser is unable to parse the response`),e.parse=!0,e.original=t,n.xhr?(e.rawResponse=n.xhr.responseType===void 0?n.xhr.responseText:n.xhr.response,e.status=n.xhr.status?n.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),n.callback(e)}n.emit(`response`,t);let r;try{n._isResponseOK(t)||(r=Error(t.statusText||t.text||`Unsuccessful HTTP response`))}catch(e){r=e}r?(r.original=e,r.response=t,r.status=r.status||t.status,n.callback(r,t)):n.callback(null,t)})}r(x.prototype),c(x.prototype,o.prototype),x.prototype.type=function(e){return this.set(`Content-Type`,p.types[e]||e),this},x.prototype.accept=function(e){return this.set(`Accept`,p.types[e]||e),this},x.prototype.auth=function(e,t,n){arguments.length===1&&(t=``),typeof t==`object`&&t&&(n=t,t=``),n||={type:typeof btoa==`function`?`basic`:`auto`};let r=n.encoder?n.encoder:e=>{if(typeof btoa==`function`)return btoa(e);throw Error(`Cannot use basic auth, btoa is not a function`)};return this._auth(e,t,n,r)},x.prototype.query=function(e){return typeof e!=`string`&&(e=h(e)),e&&this._query.push(e),this},x.prototype.attach=function(e,t,n){if(t){if(this._data)throw Error(`superagent can't mix .send() and .attach()`);this._getFormData().append(e,t,n||t.name)}return this},x.prototype._getFormData=function(){return this._formData||=new n.FormData,this._formData},x.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();let n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit(`error`,e)),n(e,t)},x.prototype.crossDomainError=function(){let e=Error(`Request has been terminated
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.`);e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},x.prototype.agent=function(){return console.warn(`This is not supported in browser version of superagent`),this},x.prototype.ca=x.prototype.agent,x.prototype.buffer=x.prototype.ca,x.prototype.write=()=>{throw Error(`Streaming is not supported in browser version of superagent`)},x.prototype.pipe=x.prototype.write,x.prototype._isHost=function(e){return e&&typeof e==`object`&&!Array.isArray(e)&&Object.prototype.toString.call(e)!==`[object Object]`},x.prototype.end=function(e){this._endCalled&&console.warn(`Warning: .end() was called twice. This is not supported in superagent`),this._endCalled=!0,this._callback=e||f,this._finalizeQueryString(),this._end()},x.prototype._setUploadTimeout=function(){let e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout(()=>{e._timeoutError(`Upload timeout of `,e._uploadTimeout,`ETIMEDOUT`)},this._uploadTimeout))},x.prototype._end=function(){if(this._aborted)return this.callback(Error(`The request has been aborted even before .end() was called`));let e=this;this.xhr=p.getXHR();let{xhr:t}=this,n=this._formData||this._data;this._setTimeouts(),t.addEventListener(`readystatechange`,()=>{let{readyState:n}=t;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),n!==4)return;let r;try{r=t.status}catch{r=0}if(!r)return e.timedout||e._aborted?void 0:e.crossDomainError();e.emit(`end`)});let r=(t,n)=>{n.total>0&&(n.percent=n.loaded/n.total*100,n.percent===100&&clearTimeout(e._uploadTimeoutTimer)),n.direction=t,e.emit(`progress`,n)};if(this.hasListeners(`progress`))try{t.addEventListener(`progress`,r.bind(null,`download`)),t.upload&&t.upload.addEventListener(`progress`,r.bind(null,`upload`))}catch{}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&this.method!==`GET`&&this.method!==`HEAD`&&typeof n!=`string`&&!this._isHost(n)){let e=this._header[`content-type`],t=this._serializer||p.serialize[e?e.split(`;`)[0]:``];!t&&y(e)&&(t=p.serialize[`application/json`]),t&&(n=t(n))}for(let e in this.header)this.header[e]!==null&&l(this.header,e)&&t.setRequestHeader(e,this.header[e]);this._responseType&&(t.responseType=this._responseType),this.emit(`request`,this),t.send(n===void 0?null:n)},p.agent=()=>new d;for(let e of[`GET`,`POST`,`OPTIONS`,`PATCH`,`PUT`,`DELETE`])d.prototype[e.toLowerCase()]=function(t,n){let r=new p.Request(e,t);return this._setDefaults(r),n&&r.end(n),r};d.prototype.del=d.prototype.delete,p.get=(e,t,n)=>{let r=p(`GET`,e);return typeof t==`function`&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.head=(e,t,n)=>{let r=p(`HEAD`,e);return typeof t==`function`&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.options=(e,t,n)=>{let r=p(`OPTIONS`,e);return typeof t==`function`&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r};function S(e,t,n){let r=p(`DELETE`,e);return typeof t==`function`&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}p.del=S,p.delete=S,p.patch=(e,t,n)=>{let r=p(`PATCH`,e);return typeof t==`function`&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.post=(e,t,n)=>{let r=p(`POST`,e);return typeof t==`function`&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.put=(e,t,n)=>{let r=p(`PUT`,e);return typeof t==`function`&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}}))(),1),B=`https://aioseo.com/`,Bt={home:`${B}docs/`,ultimateGuide:`${B}ultimate-wordpress-seo-guide/`,quickStartGuide:`${B}docs/quick-start-guide/`,googleSearchConsole:`${B}docs/how-to-verify-your-site-with-google-search-console/`,bingWebmasterVerification:`${B}docs/how-to-verify-your-site-with-bing-webmaster-tools/`,yandexWebmasterVerification:`${B}docs/how-to-verify-your-site-with-yandex-webmaster-tools/`,baiduWebmasterVerification:`${B}docs/baidu-webmaster-tools-verification/`,pinterestSiteVerification:`${B}docs/how-to-verify-your-site-with-pinterest/`,indexNow:`${B}docs/integrating-with-indexnow-to-instantly-re-index-your-content/`,microsoftClarityDocumentation:`${B}docs/how-to-verify-your-site-with-microsoft-clarity/`,gtmContainerId:`${B}docs/how-to-connect-your-site-with-google-tag-manager/`,rssContent:`${B}docs/how-to-protect-your-content-with-rss-content-settings/`,twitter:`${B}docs/beginners-guide-to-social-networks-settings-for-twitter/`,facebook:`${B}docs/beginners-guide-to-social-networks-settings-for-facebook/`,socialProfiles:`${B}docs/beginners-guide-to-social-networks-settings-for-facebook/`,xmlSitemaps:`${B}docs/how-to-create-an-xml-sitemap/`,blankSitemap:`${B}docs/how-to-fix-a-404-error-when-viewing-your-sitemap/`,sitemapIndexes:`${B}docs/using-sitemap-indexes-and-pagination/`,maxLinks:`${B}docs/using-sitemap-indexes-and-pagination/`,maxLinksRss:`${B}docs/how-to-create-an-rss-sitemap/#configuring-the-rss-sitemap`,selectPostTypes:`${B}docs/choosing-which-content-to-include-in-your-xml-sitemap/`,selectPostTypesColumns:`${B}docs/hiding-the-aioseo-column-on-all-posts-screens/`,selectPostTypesNews:`${B}docs/how-to-create-a-google-news-sitemap/#configuring-the-news-sitemap`,selectPostTypesVideo:`${B}docs/how-to-create-a-video-sitemap/#configuring-the-video-sitemap`,selectPostTypesRss:`${B}docs/how-to-create-an-rss-sitemap/#configuring-the-rss-sitemap`,selectTaxonomies:`${B}docs/choosing-which-content-to-include-in-your-xml-sitemap/`,selectTaxonomiesColumns:`${B}docs/hiding-the-aioseo-column-on-taxonomy-screens/`,selectTaxonomiesVideo:`${B}docs/how-to-create-a-video-sitemap/#configuring-the-video-sitemap`,includeArchivePages:`${B}docs/including-date-and-author-archives-in-your-xml-sitemap/`,excludeImages:`${B}docs/excluding-images-from-the-xml-sitemap/`,dynamicallyGenerate:`${B}docs/what-is-a-dynamically-generated-sitemap-and-why-is-it-better-to-use/`,dynamicallyGenerateVideo:`${B}docs/what-is-a-dynamically-generated-sitemap-and-why-is-it-better-to-use/`,videoSitemaps:`${B}docs/how-to-create-a-video-sitemap/`,includeCustomFields:`${B}docs/including-videos-in-custom-fields-in-your-video-sitemap/`,newsSitemaps:`${B}docs/how-to-create-a-google-news-sitemap/`,rssSitemaps:`${B}docs/how-to-create-an-rss-sitemap/`,facebookAdminId:`${B}docs/adding-your-facebook-admin-id/`,facebookAppId:`${B}docs/adding-your-facebook-app-id/`,facebookAuthorUrl:`${B}docs/setting-the-content-author-for-facebook/`,usageTracking:`${B}docs/usage-tracking/`,schemaSettings:`${B}docs/schema-settings/`,imageSeo:`${B}docs/image-seo-module/`,localSeo:`${B}introducing-local-seo/`,robotsEditor:`${B}docs/using-the-robots-txt-tool-in-all-in-one-seo/`,robotsRewrite:`${B}docs/nginx-rewrite-rules-for-robots-txt/`,useKeyphrasesTooltip:`${B}docs/using-the-focus-keyphrase-to-analyze-your-content/`,whenToUseNoindex:`${B}docs/when-to-use-noindex-or-the-robots-txt/`,installAioseoPro:`${B}docs/installing-all-in-one-seo-pro/`,importProcessSeoData:`${B}docs/importing-and-exporting-aioseo-settings-and-meta-data/`,whatAreMediaAttachments:`${B}docs/what-are-media-attachments-and-should-i-submit-them-to-search-engines/`,minimumRequirements:`${B}docs/what-are-the-minimum-requirements-for-all-in-one-seo-pack/`,apiCodeExamples:`${B}docs/how-do-i-use-your-api-code-examples/`,troubleshootIssues:`${B}docs/how-to-troubleshoot-issues-with-all-in-one-seo-pack/`,staticHomePage:`${B}docs/setting-the-seo-for-your-home-page/#setting-the-seo-when-your-homepage-displays-a-static-page`,staticHomePageFacebook:`${B}docs/setting-facebook-social-meta-for-your-homepage/#setting-the-facebook-social-meta-when-your-homepage-displays-a-static-page`,staticHomePageTwitter:`${B}docs/setting-twitter-social-meta-for-your-homepage/#setting-the-twitter-social-meta-when-your-homepage-displays-a-static-page`,restApi:`${B}docs/aioseo-uses-rest-api/`,configuringSchema:`${B}docs/configuring-the-schema-settings-in-all-in-one-seo/`,unfilteredHtml:`${B}docs/unfiltered-html-capability/`,customFields:`${B}docs/including-custom-fields-in-the-seo-page-analysis/`,productIdentifiers:`${B}docs/unique-product-identifiers/`,redirectManagerRegex:`${B}docs/redirect-manager-regex/`,redirectGdpr:`${B}docs/redirect-gdpr-privacy-information/`,redirectCustomRulesUserAgent:`${B}docs/redirection-manager-custom-rules/#user-agent`,redirectCanonicalHttps:`${B}docs/full-site-redirect/#canonical-settings`,redirectUnknownWebserver:`${B}docs/redirect-manager-unknown-web-server/`,redirectServerConfigReload:`${B}docs/redirect-manager-configuration-reload/`,localSeoShortcodeBusinessInfo:`${B}docs/shortcode-aioseo_local_business_info/`,localSeoShortcodeOpeningHours:`${B}docs/shortcode-aioseo_local_opening_hours/`,localSeoShortcodeLocations:`${B}docs/shortcode-aioseo_local_locations/`,localSeoShortcodeMap:`${B}docs/shortcode-aioseo_local_map/`,localSeoFunctionBusinessInfo:`${B}docs/function-aioseo_local_business_info/`,localSeoFunctionOpeningHours:`${B}docs/function-aioseo_local_opening_hours/`,localSeoFunctionLocations:`${B}docs/function-aioseo_local_locations/`,localSeoFunctionMap:`${B}docs/function-aioseo_local_map/`,localSeoSearchQueryConflict:`${B}docs/enhanced-search-query-conflict/`,localSeoMapSetup:`${B}docs/setting-up-google-maps/`,localSeoMapEmbedApi:`${B}docs/using-places-on-your-maps/`,breadcrumbsDisplay:`${B}docs/displaying-breadcrumbs-on-your-site/`,breadcrumbsShortcode:`${B}docs/shortcode-aioseo_breadcrumbs/`,breadcrumbsFunction:`${B}docs/function-aioseo_breadcrumbs/`,seoAnalyzer:`${B}docs/using-the-seo-analysis-tool/`,seoAnalyzerIssues:`${B}docs/seo-analysis-unable-to-connect-to-your-site/`,htmlSitemap:`${B}docs/html-sitemap/`,htmlSitemapShortcode:`${B}docs/shortcode-html-sitemap/`,htmlSitemapFunction:`${B}docs/function-html-sitemap/`,htmlSitemapCompactArchives:`${B}docs/html-sitemap#compact-archives/`,linkAssistant:`${B}docs/link-assistant`,linkAssistantPostTypes:`${B}docs/link-assistant-settings/#post-types`,linkAssistantPostStatuses:`${B}docs/link-assistant-settings/#post-statuses`,brokenLinkChecker:`${B}docs/broken-link-checker/`,updateWordPress:`${B}docs/update-wordpress/`,runningShortcodes:`${B}docs/running-shortcodes/`,crawlCleanup:`${B}docs/crawl-cleanup-best-practices`,schema:`${B}docs/a-guide-to-schema-org-markup-for-rich-snippets/`,schemaJsonLd:`${B}docs/a-guide-to-schema-org-markup-for-rich-snippets/#schema-markup-in-all-in-one-seo`,smartTags:`${B}docs/using-the-smart-tags-in-titles-and-descriptions/`,wpcode:`${B}docs/wpcode-snippet-library/`,primaryTerm:`${B}docs/setting-the-primary-term-for-breadcrumbs/`,cornerstoneContent:`${B}docs/cornerstone-content/`,eeat:`${B}docs/adding-author-seo-e-e-a-t-to-your-site/`,eeatAuthorBioInjection:`${B}docs/adding-author-seo-e-e-a-t-to-your-site/#aioseo-automatically-displaying-the-author-excerpt`,queryArgMonitor:`${B}docs/using-the-query-arg-monitoring-in-all-in-one-seo/`,businessPhoneNumber:`${B}docs/best-business-phone-services`,keywordRankTracker:`${B}docs/using-the-keyword-rank-tracker-feature-in-search-statistics/`,writingAssistantHowToUse:`${B}docs/how-to-use-the-writing-assistant-in-aioseo/`,aiContentGenerator:`${B}docs/ai-content-generator/`,aiDisclaimer:`${B}docs/using-the-ai-assistant-in-all-in-one-seo-to-create-content/#aioseo-ai-generated-content-disclaimer`,aiBuyingCredits:`${B}docs/buying-and-managing-credits-for-the-aioseo-ai-features/`,llmsTxt:`${B}docs/how-to-create-an-llms-txt-using-all-in-one-seo/`,redirectLogs:`${B}docs/logging-redirects-in-all-in-one-seo/`,redirect404Logs:`${B}docs/redirecting-404-content-not-found-using-all-in-one-seo/`,seoAlerts:`${B}docs/seo-alerts/`,seoAlertsSlackWebhook:`${B}docs/seo-alerts/#how-to-find-your-slack-webhook-url`},Vt={home:B,liteUpgrade:`${B}lite-upgrade/`,pricing:`${B}pricing/`,aiCredits:`${B}pricing-ai-credits/`,semrushPricing:`${B}semrush-pricing/`},Ht=(e,t=null,n)=>{let r=Vt[n]||n;if(n===`liteUpgrade`&&(r=Q().aioseo.urls.upgradeUrl),e===`feature-manager-upgrade`&&t!==`no-license-key`){let n=t===`aioseo-local-business`?`&features[]=local-seo`:`&features[]=`+(t?t.replace(`aioseo-`,``):``);return Jt(e,t,r)+n}return Jt(e,t,r)},Ut=e=>Jt(`documentation`,e,Bt[e]),Wt=(e,t,n,r,i=!1)=>{let a=i?R(`<a href="%1$s" class="no-underline" target="_blank">&nbsp;&rarr;</a>`,Ht(e,t,r)):``;return R(`<a href="%1$s" class="underline" target="_blank">%2$s</a>%3$s`,Ht(e,t,r),n,a)},Gt=(e,t,n=!1,r=!0)=>{let i=r?`target="_blank"`:`_self`,a=R(`<a href="%1$s" target="${i}">%2$s</a>`,t,e);return n===`back`?R(`<a href="%1$s" class="no-underline" target="${i}">&larr;&nbsp;</a>`,t)+a:n?a+R(`<a href="%1$s" class="no-underline" target="${i}">&nbsp;&rarr;</a>`,t):a},Kt=(e,t,n=!1)=>{let r=n?R(`<a href="%1$s" class="no-underline" target="_blank">&nbsp;&rarr;</a>`,Jt(`documentation`,t,Bt[t])):``;return R(`<a href="%1$s" target="_blank">%2$s</a>%3$s`,Jt(`documentation`,t,Bt[t]),e,r)},qt=(e,t,n,r=`${B}pricing/`)=>Ht(t,n,r)+`&features[]=`+e,Jt=(e,t=null,n=`${B}pricing/`)=>n.includes(`shareasale.com/r.cfm`)&&n.includes(`urllink=`)?Xt(n,e,t):Yt(n,e,t),Yt=(e,t,n)=>{let r=e.split(`#`),i=[{key:`utm_source`,value:`WordPress`},{key:`utm_campaign`,value:`liteplugin`},{key:`utm_medium`,value:t}];n&&i.push({key:`utm_content`,value:n}),/^https?:\/\//i.test(r[0])||(r[0]=B+r[0]);let a=r[0].split(`?`);r[0]=a[0]+(a[1]?`?`+a[1]+`&`:`?`),r[0]+=i.map(e=>`${e.key}=${e.value}`).join(`&`);let o=r[0];return r[1]&&(o=o+`#`+r[1]),o},Xt=(e,t,n)=>{try{let r=new URL(e),i=r.searchParams.get(`urllink`);if(!i)return Yt(e,t,n);let a=Yt(decodeURIComponent(i),t,n),o=encodeURIComponent(a);r.searchParams.delete(`urllink`);let s=r.toString();return s+(s.includes(`?`)?`&`:`?`)+`urllink=`+o}catch(r){return console.warn(`Failed to parse URL:`,r),Yt(e,t,n)}},Zt=e=>e&&e.replace(/^\//,``),Qt=e=>e&&e.replace(/\/$/,``),$t=e=>Qt(e)+`/`,V={docLinks:Bt,getDocLink:Kt,ratingUrl:`${B}aioseo-wordpress-rating`,getDocUrl:Ut,getPlainLink:Gt,getPricingUrl:qt,getUpsellLink:Wt,getUpsellUrl:Ht,restUrl:(e,t=`aioseo/v1`)=>{let n=Q();return e=n.aioseo.data.hasUrlTrailingSlash?$t(e):Qt(e),$t(n.aioseo.urls.restUrl)+$t(t)+Zt(e)},trailingSlashIt:$t,unForwardSlashIt:Zt,unTrailingSlashIt:Qt,utmUrl:Jt},H=zt.default.agent().set(`X-WP-Nonce`,typeof window<`u`?window?.aioseo?.nonce:``).use(e=>{e.url[0]===`/`&&(e.url=V.unTrailingSlashIt(V.restUrl(e.url))),e.on(`response`,e=>{(e.status===401||e.status===403)&&console.error(e)})});z(`seoAlerts`,{state:()=>{let e=X(),t=Nd(),n=e.options.tools.seoAlerts;return{enabled:n.enable,alerts:n.alerts,recipients:n.recipients.length?n.recipients:[],slackWebhookUrl:``,hasSlackWebhookUrl:t.hasSeoAlertsSlackWebhookUrl,slackWebhookDirty:!1,slackMemberIds:n.slackMemberIds?.length?n.slackMemberIds:[]}},actions:{toggleAlert(e,t){e in this.alerts&&(this.alerts[e]=t,this.saveSettings())},addRecipient(e=``){this.recipients.push({email:e})},updateRecipient(e,t){this.recipients[e]&&(this.recipients[e].email=t)},deleteRecipient(e){this.recipients.splice(e,1),this.saveSettings()},addSlackMemberId(e=``){this.slackMemberIds.push({memberId:e})},updateSlackMemberId(e,t){this.slackMemberIds[e]&&(this.slackMemberIds[e].memberId=t,this.saveSettings())},deleteSlackMemberId(e){this.slackMemberIds.splice(e,1),this.saveSettings()},updateSlackWebhookUrl(e){this.slackWebhookUrl=e,this.slackWebhookDirty=!0,this.saveSettings()},removeSlackWebhook(){this.hasSlackWebhookUrl&&(this.slackWebhookUrl=``,this.hasSlackWebhookUrl=!1,this.slackWebhookDirty=!0,this.saveSettings())},toggleEnabled(e){this.enabled=e,this.saveSettings()},saveSettings(){let e=X(),t={enable:this.enabled,alerts:this.alerts,recipients:this.recipients,slackMemberIds:this.slackMemberIds};this.slackWebhookDirty&&(t.slackWebhookUrl=this.slackWebhookUrl),e.options.tools.seoAlerts=t},sendTestEmail(e){return H.post(V.restUrl(`seo-alerts/test-email`)).send({email:e}).then(e=>e.body.success?{success:!0,message:e.body.message||`Test email sent successfully.`}:(console.error(e.body.message),{success:!1,message:e.body.message||`Failed to send test email.`})).catch(e=>(console.error(e),{success:!1,message:`An error occurred while sending the test email.`}))},sendTestSlack(e,t){return H.post(V.restUrl(`seo-alerts/test-slack`)).send({webhookUrl:e,memberIds:t}).then(e=>e.body.success?{success:!0,message:e.body.message||`Test message sent successfully.`}:(console.error(e.body.message),{success:!1,message:e.body.message||`Failed to send test message.`})).catch(e=>(console.error(e),{success:!1,message:`An error occurred while sending the test message.`}))}}});var en=typeof global==`object`&&global&&global.Object===Object&&global,tn=typeof self==`object`&&self&&self.Object===Object&&self,nn=en||tn||Function(`return this`)(),rn=nn.Symbol,an=Object.prototype,on=an.hasOwnProperty,sn=an.toString,cn=rn?rn.toStringTag:void 0;function ln(e){var t=on.call(e,cn),n=e[cn];try{e[cn]=void 0;var r=!0}catch{}var i=sn.call(e);return r&&(t?e[cn]=n:delete e[cn]),i}var un=Object.prototype.toString;function dn(e){return un.call(e)}var fn=`[object Null]`,pn=`[object Undefined]`,mn=rn?rn.toStringTag:void 0;function hn(e){return e==null?e===void 0?pn:fn:mn&&mn in Object(e)?ln(e):dn(e)}function gn(e){return typeof e==`object`&&!!e}var _n=`[object Symbol]`;function vn(e){return typeof e==`symbol`||gn(e)&&hn(e)==_n}function yn(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var bn=Array.isArray,xn=1/0,Sn=rn?rn.prototype:void 0,Cn=Sn?Sn.toString:void 0;function wn(e){if(typeof e==`string`)return e;if(bn(e))return yn(e,wn)+``;if(vn(e))return Cn?Cn.call(e):``;var t=e+``;return t==`0`&&1/e==-xn?`-0`:t}function Tn(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function En(e){return e}var Dn=`[object AsyncFunction]`,On=`[object Function]`,kn=`[object GeneratorFunction]`,An=`[object Proxy]`;function jn(e){if(!Tn(e))return!1;var t=hn(e);return t==On||t==kn||t==Dn||t==An}var Mn=nn[`__core-js_shared__`],Nn=function(){var e=/[^.]+$/.exec(Mn&&Mn.keys&&Mn.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function Pn(e){return!!Nn&&Nn in e}var Fn=Function.prototype.toString;function In(e){if(e!=null){try{return Fn.call(e)}catch{}try{return e+``}catch{}}return``}var Ln=/[\\^$.*+?()[\]{}|]/g,Rn=/^\[object .+?Constructor\]$/,zn=Function.prototype,Bn=Object.prototype,Vn=zn.toString,Hn=Bn.hasOwnProperty,Un=RegExp(`^`+Vn.call(Hn).replace(Ln,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Wn(e){return!Tn(e)||Pn(e)?!1:(jn(e)?Un:Rn).test(In(e))}function Gn(e,t){return e?.[t]}function Kn(e,t){var n=Gn(e,t);return Wn(n)?n:void 0}var qn=Object.create,Jn=function(){function e(){}return function(t){if(!Tn(t))return{};if(qn)return qn(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Yn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Xn(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}var Zn=800,Qn=16,$n=Date.now;function er(e){var t=0,n=0;return function(){var r=$n(),i=Qn-(r-n);if(n=r,i>0){if(++t>=Zn)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function tr(e){return function(){return e}}var nr=function(){try{var e=Kn(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),rr=er(nr?function(e,t){return nr(e,`toString`,{configurable:!0,enumerable:!1,value:tr(t),writable:!0})}:En),ir=9007199254740991,ar=/^(?:0|[1-9]\d*)$/;function or(e,t){var n=typeof e;return t??=ir,!!t&&(n==`number`||n!=`symbol`&&ar.test(e))&&e>-1&&e%1==0&&e<t}function sr(e,t,n){t==`__proto__`&&nr?nr(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function cr(e,t){return e===t||e!==e&&t!==t}var lr=Object.prototype.hasOwnProperty;function ur(e,t,n){var r=e[t];(!(lr.call(e,t)&&cr(r,n))||n===void 0&&!(t in e))&&sr(e,t,n)}function dr(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?sr(n,s,c):ur(n,s,c)}return n}var fr=Math.max;function pr(e,t,n){return t=fr(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=fr(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),Yn(e,this,s)}}function mr(e,t){return rr(pr(e,t,En),e+``)}var hr=9007199254740991;function gr(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=hr}function _r(e){return e!=null&&gr(e.length)&&!jn(e)}function vr(e,t,n){if(!Tn(n))return!1;var r=typeof t;return(r==`number`?_r(n)&&or(t,n.length):r==`string`&&t in n)?cr(n[t],e):!1}function yr(e){return mr(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&vr(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var br=Object.prototype;function xr(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||br)}function Sr(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Cr=`[object Arguments]`;function wr(e){return gn(e)&&hn(e)==Cr}var Tr=Object.prototype,Er=Tr.hasOwnProperty,Dr=Tr.propertyIsEnumerable,Or=wr(function(){return arguments}())?wr:function(e){return gn(e)&&Er.call(e,`callee`)&&!Dr.call(e,`callee`)};function kr(){return!1}var Ar=typeof exports==`object`&&exports&&!exports.nodeType&&exports,jr=Ar&&typeof module==`object`&&module&&!module.nodeType&&module,Mr=jr&&jr.exports===Ar?nn.Buffer:void 0,Nr=(Mr?Mr.isBuffer:void 0)||kr,Pr=`[object Arguments]`,Fr=`[object Array]`,Ir=`[object Boolean]`,Lr=`[object Date]`,Rr=`[object Error]`,zr=`[object Function]`,Br=`[object Map]`,Vr=`[object Number]`,Hr=`[object Object]`,Ur=`[object RegExp]`,Wr=`[object Set]`,Gr=`[object String]`,Kr=`[object WeakMap]`,qr=`[object ArrayBuffer]`,Jr=`[object DataView]`,Yr=`[object Float32Array]`,Xr=`[object Float64Array]`,Zr=`[object Int8Array]`,Qr=`[object Int16Array]`,$r=`[object Int32Array]`,ei=`[object Uint8Array]`,ti=`[object Uint8ClampedArray]`,ni=`[object Uint16Array]`,ri=`[object Uint32Array]`,U={};U[Yr]=U[Xr]=U[Zr]=U[Qr]=U[$r]=U[ei]=U[ti]=U[ni]=U[ri]=!0,U[Pr]=U[Fr]=U[qr]=U[Ir]=U[Jr]=U[Lr]=U[Rr]=U[zr]=U[Br]=U[Vr]=U[Hr]=U[Ur]=U[Wr]=U[Gr]=U[Kr]=!1;function ii(e){return gn(e)&&gr(e.length)&&!!U[hn(e)]}function ai(e){return function(t){return e(t)}}var oi=typeof exports==`object`&&exports&&!exports.nodeType&&exports,si=oi&&typeof module==`object`&&module&&!module.nodeType&&module,ci=si&&si.exports===oi&&en.process,li=function(){try{return si&&si.require&&si.require(`util`).types||ci&&ci.binding&&ci.binding(`util`)}catch{}}(),ui=li&&li.isTypedArray,di=ui?ai(ui):ii,fi=Object.prototype.hasOwnProperty;function pi(e,t){var n=bn(e),r=!n&&Or(e),i=!n&&!r&&Nr(e),a=!n&&!r&&!i&&di(e),o=n||r||i||a,s=o?Sr(e.length,String):[],c=s.length;for(var l in e)(t||fi.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||or(l,c)))&&s.push(l);return s}function mi(e,t){return function(n){return e(t(n))}}function hi(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var gi=Object.prototype.hasOwnProperty;function _i(e){if(!Tn(e))return hi(e);var t=xr(e),n=[];for(var r in e)(r!=`constructor`||!t&&gi.call(e,r))&&n.push(r);return n}function vi(e){return _r(e)?pi(e,!0):_i(e)}var yi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bi=/^\w*$/;function xi(e,t){if(bn(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||vn(e)?!0:bi.test(e)||!yi.test(e)||t!=null&&e in Object(t)}var Si=Kn(Object,`create`);function Ci(){this.__data__=Si?Si(null):{},this.size=0}function wi(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var Ti=`__lodash_hash_undefined__`,Ei=Object.prototype.hasOwnProperty;function Di(e){var t=this.__data__;if(Si){var n=t[e];return n===Ti?void 0:n}return Ei.call(t,e)?t[e]:void 0}var Oi=Object.prototype.hasOwnProperty;function ki(e){var t=this.__data__;return Si?t[e]!==void 0:Oi.call(t,e)}var Ai=`__lodash_hash_undefined__`;function ji(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=Si&&t===void 0?Ai:t,this}function Mi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Mi.prototype.clear=Ci,Mi.prototype.delete=wi,Mi.prototype.get=Di,Mi.prototype.has=ki,Mi.prototype.set=ji;function Ni(){this.__data__=[],this.size=0}function Pi(e,t){for(var n=e.length;n--;)if(cr(e[n][0],t))return n;return-1}var Fi=Array.prototype.splice;function Ii(e){var t=this.__data__,n=Pi(t,e);return n<0?!1:(n==t.length-1?t.pop():Fi.call(t,n,1),--this.size,!0)}function Li(e){var t=this.__data__,n=Pi(t,e);return n<0?void 0:t[n][1]}function Ri(e){return Pi(this.__data__,e)>-1}function zi(e,t){var n=this.__data__,r=Pi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Bi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bi.prototype.clear=Ni,Bi.prototype.delete=Ii,Bi.prototype.get=Li,Bi.prototype.has=Ri,Bi.prototype.set=zi;var Vi=Kn(nn,`Map`);function Hi(){this.size=0,this.__data__={hash:new Mi,map:new(Vi||Bi),string:new Mi}}function Ui(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function Wi(e,t){var n=e.__data__;return Ui(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function Gi(e){var t=Wi(this,e).delete(e);return this.size-=+!!t,t}function Ki(e){return Wi(this,e).get(e)}function qi(e){return Wi(this,e).has(e)}function Ji(e,t){var n=Wi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Yi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Yi.prototype.clear=Hi,Yi.prototype.delete=Gi,Yi.prototype.get=Ki,Yi.prototype.has=qi,Yi.prototype.set=Ji;var Xi=`Expected a function`;function Zi(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(Xi);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Zi.Cache||Yi),n}Zi.Cache=Yi;var Qi=500;function $i(e){var t=Zi(e,function(e){return n.size===Qi&&n.clear(),e}),n=t.cache;return t}var ea=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ta=/\\(\\)?/g,na=$i(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(ea,function(e,n,r,i){t.push(r?i.replace(ta,`$1`):n||e)}),t});function ra(e){return e==null?``:wn(e)}function ia(e,t){return bn(e)?e:xi(e,t)?[e]:na(ra(e))}var aa=1/0;function oa(e){if(typeof e==`string`||vn(e))return e;var t=e+``;return t==`0`&&1/e==-aa?`-0`:t}function sa(e,t){t=ia(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[oa(t[n++])];return n&&n==r?e:void 0}function ca(e,t,n){var r=e==null?void 0:sa(e,t);return r===void 0?n:r}var la=mi(Object.getPrototypeOf,Object),ua=`[object Object]`,da=Function.prototype,fa=Object.prototype,pa=da.toString,ma=fa.hasOwnProperty,ha=pa.call(Object);function ga(e){if(!gn(e)||hn(e)!=ua)return!1;var t=la(e);if(t===null)return!0;var n=ma.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&pa.call(n)==ha}function _a(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function va(e){return function(t){return e?.[t]}}var ya=va({À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`s`}),ba=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xa=RegExp(`[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]`,`g`);function Sa(e){return e=ra(e),e&&e.replace(ba,ya).replace(xa,``)}var Ca=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function wa(e){return e.match(Ca)||[]}var Ta=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Ea(e){return Ta.test(e)}var Da=`\\ud800-\\udfff`,Oa=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,ka=`\\u2700-\\u27bf`,Aa=`a-z\\xdf-\\xf6\\xf8-\\xff`,ja=`\\xac\\xb1\\xd7\\xf7`,Ma=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,Na=`\\u2000-\\u206f`,Pa=` \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,Fa=`A-Z\\xc0-\\xd6\\xd8-\\xde`,Ia=`\\ufe0e\\ufe0f`,La=ja+Ma+Na+Pa,Ra=`['’]`,za=`[`+La+`]`,Ba=`[`+Oa+`]`,Va=`\\d+`,Ha=`[`+ka+`]`,Ua=`[`+Aa+`]`,Wa=`[^`+Da+La+Va+ka+Aa+Fa+`]`,Ga=`(?:`+Ba+`|\\ud83c[\\udffb-\\udfff])`,Ka=`[^`+Da+`]`,qa=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Ja=`[\\ud800-\\udbff][\\udc00-\\udfff]`,Ya=`[`+Fa+`]`,Xa=`\\u200d`,Za=`(?:`+Ua+`|`+Wa+`)`,Qa=`(?:`+Ya+`|`+Wa+`)`,$a=`(?:`+Ra+`(?:d|ll|m|re|s|t|ve))?`,eo=`(?:`+Ra+`(?:D|LL|M|RE|S|T|VE))?`,to=Ga+`?`,no=`[`+Ia+`]?`,ro=`(?:`+Xa+`(?:`+[Ka,qa,Ja].join(`|`)+`)`+no+to+`)*`,io=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,ao=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,oo=no+to+ro,so=`(?:`+[Ha,qa,Ja].join(`|`)+`)`+oo,co=RegExp([Ya+`?`+Ua+`+`+$a+`(?=`+[za,Ya,`$`].join(`|`)+`)`,Qa+`+`+eo+`(?=`+[za,Ya+Za,`$`].join(`|`)+`)`,Ya+`?`+Za+`+`+$a,Ya+`+`+eo,ao,io,Va,so].join(`|`),`g`);function lo(e){return e.match(co)||[]}function uo(e,t,n){return e=ra(e),t=n?void 0:t,t===void 0?Ea(e)?lo(e):wa(e):e.match(t)||[]}var fo=RegExp(`['’]`,`g`);function po(e){return function(t){return _a(uo(Sa(t).replace(fo,``)),e,``)}}function mo(){this.__data__=new Bi,this.size=0}function ho(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function go(e){return this.__data__.get(e)}function _o(e){return this.__data__.has(e)}var vo=200;function yo(e,t){var n=this.__data__;if(n instanceof Bi){var r=n.__data__;if(!Vi||r.length<vo-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yi(r)}return n.set(e,t),this.size=n.size,this}function bo(e){var t=this.__data__=new Bi(e);this.size=t.size}bo.prototype.clear=mo,bo.prototype.delete=ho,bo.prototype.get=go,bo.prototype.has=_o,bo.prototype.set=yo;var xo=typeof exports==`object`&&exports&&!exports.nodeType&&exports,So=xo&&typeof module==`object`&&module&&!module.nodeType&&module,Co=So&&So.exports===xo?nn.Buffer:void 0,wo=Co?Co.allocUnsafe:void 0;function To(e,t){if(t)return e.slice();var n=e.length,r=wo?wo(n):new e.constructor(n);return e.copy(r),r}var Eo=nn.Uint8Array;function Do(e){var t=new e.constructor(e.byteLength);return new Eo(t).set(new Eo(e)),t}function Oo(e,t){var n=t?Do(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ko(e){return typeof e.constructor==`function`&&!xr(e)?Jn(la(e)):{}}function Ao(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var jo=Ao();function Mo(e,t,n){(n!==void 0&&!cr(e[t],n)||n===void 0&&!(t in e))&&sr(e,t,n)}function No(e){return gn(e)&&_r(e)}function Po(e,t){if((t!==`constructor`||typeof e[t]!=`function`)&&t!=`__proto__`)return e[t]}function Fo(e){return dr(e,vi(e))}function Io(e,t,n,r,i,a,o){var s=Po(e,n),c=Po(t,n),l=o.get(c);if(l){Mo(e,n,l);return}var u=a?a(s,c,n+``,e,t,o):void 0,d=u===void 0;if(d){var f=bn(c),p=!f&&Nr(c),m=!f&&!p&&di(c);u=c,f||p||m?bn(s)?u=s:No(s)?u=Xn(s):p?(d=!1,u=To(c,!0)):m?(d=!1,u=Oo(c,!0)):u=[]:ga(c)||Or(c)?(u=s,Or(s)?u=Fo(s):(!Tn(s)||jn(s))&&(u=ko(c))):d=!1}d&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),Mo(e,n,u)}function Lo(e,t,n,r,i){e!==t&&jo(t,function(a,o){if(i||=new bo,Tn(a))Io(e,t,o,n,Lo,r,i);else{var s=r?r(Po(e,o),a,o+``,e,t,i):void 0;s===void 0&&(s=a),Mo(e,o,s)}},vi)}var Ro=va({"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`}),zo=/[&<>"']/g,Bo=RegExp(zo.source);function Vo(e){return e=ra(e),e&&Bo.test(e)?e.replace(zo,Ro):e}var Ho=`[object String]`;function Uo(e){return typeof e==`string`||!bn(e)&&gn(e)&&hn(e)==Ho}var Wo=yr(function(e,t,n){Lo(e,t,n)}),Go=po(function(e,t,n){return e+(n?`_`:``)+t.toLowerCase()}),Ko=function(e,t=!1){let n=Q().aioseo.user;return(Array.isArray(e)?e:[e]).some(e=>(t&&(e=Go(e)),!!(n.capabilities&&n.capabilities[e])))},qo=e=>{if(typeof window?.acf!=`object`||typeof window.acf?.getField!=`function`)return null;let t=window.acf.getField(e)||{};return typeof t?.val==`function`?t.val()||{}:null},Jo=()=>{let e=Z();return e?.currentPost?.id&&!!e.currentPost?.isTruSeoEligible||!1},Yo=e=>{let t=RegExp(`\xA0`,`g`);return e.replace(/&nbsp;/g,` `).replace(t,` `)},Xo=()=>{let e=Z().currentPost.postType;if(!e)return``;let t=X().dynamicOptions.searchAppearance.postTypes[e].customFields;if(!t||!Jo)return``;let n=t.replace(/\n/g,`,`).split(`,`),r=[],i=[`INPUT`,`TEXTAREA`,`IMG`];n.forEach(e=>{e=e.trim();let t=document.getElementById(`${e}`)||{},a=document.querySelectorAll(`#the-list > tr`),o=document.querySelectorAll(`.acf-field`);i.includes(t?.tagName)&&!t?.closest(`.acf-field`)?r.push(t):a.forEach(e=>{let t=e.querySelector(`#${e.id}-key`),a=e.querySelector(`#${e.id}-value`);i.includes(a?.tagName)&&n.includes(t?.value)&&r.push(a)}),o.forEach(t=>{if(e!==t.dataset.name||t.dataset.type===`repeater`||t.parentNode?.closest(`.acf-repeater`))return``;let n=t.querySelector(`[id^="acf"][name$="[${t.dataset.key}]"]`);if(t.dataset.type===`image`&&(n=t.querySelector(`.has-value img`)),t.dataset.type===`gallery`&&(n=t.querySelector(`.acf-gallery-attachment img`)),t.dataset.type===`link`&&(n=qo(t.dataset.key)||t.querySelector(`[name$="[${t.dataset.key}][url]"]`)||{},n={tagName:`INPUT`,type:`url`,value:n?.url??n?.value??``}),!n||n.type&&n.type===`hidden`)return``;i.includes(n.tagName)&&r.push(n)})});let a=``;return r.forEach(e=>{let t=``;if(e.value&&(t=e.value),e.tagName===`IMG`&&e.src){let n=e.alt?`alt="${e.alt}"`:``;t=`<img src="${e.src}" ${n}>`}e.value&&e.type&&e.type===`url`&&(t=`<a href="${t}">${t}</a>`),t&&(a+=`${t} `)}),a},Zo=(e,t=[`INPUT`,`TEXTAREA`,`IMG`])=>{if(!e)return``;let n=document.getElementById(`${e}`),r=document.querySelectorAll(`#the-list > tr`),i=document.querySelectorAll(`.acf-field`),a=``;if(n&&t.indexOf(n.tagName)!==-1&&(n.closest(`.acf-field`)||(a=n.tagName===`IMG`?n.getAttribute(`src`):n.value)),r.length&&r.forEach(n=>{let r=n.querySelector(`#${n.id}-key`),i=n.querySelector(`#${n.id}-value`);i&&t.indexOf(i.tagName)!==-1&&r.value===e&&(a=i.tagName===`IMG`?i.getAttribute(`src`):i.value)}),i.length){let n=[];i.forEach(r=>{if(e!==r.dataset.name||r.dataset.type===`repeater`||r.parentNode?.closest(`.acf-repeater`))return;let i;t.forEach(e=>{let t=e.toLowerCase();i=r.querySelector(`[data-key="${r.dataset.key}"] ${t}`)||i}),i&&n.push(i.tagName===`IMG`?i.getAttribute(`src`):i.value)}),a=n.join(` `)}return a},Qo=e=>e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,``),$o=e=>typeof e!=`string`||!e.includes(`&`)?e:(Object.entries({"&amp;":`&`,"&lt;":`<`,"&gt;":`>`,"&quot;":`"`,"&nbsp;":` `}).forEach(([t,n])=>{e=e.replaceAll(t,n)}),Qo(e)),es=e=>new URL(e,import.meta.url).href,ts=e=>{let t=[],n=[...e];for(;n.length;){let{...e}=n.shift();e.innerBlocks?.length&&n.push(...e.innerBlocks),e.innerBlocks=[],t.push(e)}return t},ns=(e,t)=>{if(Array.isArray(e))return e.map(function(e){return e[t]});if(typeof e==`object`){let n=[];for(let r in e)n.push(e[r][t]);return n}},rs=e=>Array.from(new Set(e));typeof window<`u`&&!window.wp?.blockEditor&&window.wp?.blocks&&window.wp.oldEditor&&(window.wp.blockEditor=window.wp.editor);var is=()=>document.body.classList.contains(`block-editor-page`)&&window.wp.data&&_s(),as=()=>!!document.querySelector(`#wp-content-wrap.tmce-active, #wp-content-wrap.html-active`),os=()=>document.querySelector(`#post input#title`)&&!document.querySelector(`#wp-content-wrap`),ss=()=>!!(document.body.classList.contains(`elementor-editor-active`)&&window.elementor),cs=()=>{let e=document.body;return window.ET_Builder?e.classList.contains(`et_pb_pagebuilder_layout`)||e.classList.contains(`et_divi_builder`)&&e.classList.contains(`et-fb`):!1},ls=()=>!!(document.body.classList.contains(`seedprod-builder`)&&window.seedprod_data),us=()=>!!(window.vc&&window.vc_mode),ds=()=>(window.FusionApp||window.FusionPageBuilderApp)?.builderActive,fs=()=>!!(window.TVE&&window.TVE.Editor_Page),ps=()=>{let e=e=>!!(e?.offsetWidth||e?.offsetHeight||e?.getClientRects().length),t=document.querySelectorAll(`.block-editor-page`).length&&window.soPanelsBuilderView!==void 0,n=e(document.querySelector(`#so-panels-panels.attached-to-editor`));return t||n},ms=()=>{try{let e=window?.bricksData?.builderParam;return!!e&&new URLSearchParams(window.location.search).has(e)}catch{return!1}},hs=()=>{try{return!!window?.OxygenFrontend?.utils?.isBuilder()}catch{return!1}},gs=()=>ss()||cs()||ls()||us()||ds()||ps()||fs()||ms()||hs(),_s=()=>{let e=window.wp;return e!==void 0&&e.blocks!==void 0&&e.blockEditor!==void 0},vs=e=>{let t=e.getBody()||{},n=t?.childNodes||[];return 1<n.length?!1:n.length===0?!0:1<n[0]?.childNodes.length?!1:/^\n?$/.test(t?.innerText||t?.textContent||``)};function ys(e){return e?Sa(e).replace(/[\s./]+/g,`-`).replace(/[^\p{L}\p{N}\p{M}_-]+/gu,``).toLowerCase().replace(/-+/g,`-`).replace(/(^-+)|(-+$)/g,``):``}function bs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xs(e){if(Array.isArray(e))return e}function Ss(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Cs(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ws(e,t){return xs(e)||Ss(e,t)||Ts(e,t)||Cs()}function Ts(e,t){if(e){if(typeof e==`string`)return bs(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bs(e,t):void 0}}var Es=Object.entries,Ds=Object.setPrototypeOf,Os=Object.isFrozen,ks=Object.getPrototypeOf,As=Object.getOwnPropertyDescriptor,js=Object.freeze,Ms=Object.seal,Ns=Object.create,Ps=typeof Reflect<`u`&&Reflect,Fs=Ps.apply,Is=Ps.construct;js||=function(e){return e},Ms||=function(e){return e},Fs||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},Is||=function(e){return new e(...[...arguments].slice(1))};var Ls=rc(Array.prototype.forEach),Rs=rc(Array.prototype.lastIndexOf),zs=rc(Array.prototype.pop),Bs=rc(Array.prototype.push),Vs=rc(Array.prototype.splice),Hs=Array.isArray,Us=rc(String.prototype.toLowerCase),Ws=rc(String.prototype.toString),Gs=rc(String.prototype.match),Ks=rc(String.prototype.replace),qs=rc(String.prototype.indexOf),Js=rc(String.prototype.trim),Ys=rc(Number.prototype.toString),Xs=rc(Boolean.prototype.toString),Zs=typeof BigInt>`u`?null:rc(BigInt.prototype.toString),Qs=typeof Symbol>`u`?null:rc(Symbol.prototype.toString),$s=rc(Object.prototype.hasOwnProperty),ec=rc(Object.prototype.toString),tc=rc(RegExp.prototype.test),nc=ic(TypeError);function rc(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Fs(e,t,n)}}function ic(e){return function(){return Is(e,[...arguments])}}function W(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Us;if(Ds&&Ds(e,null),!Hs(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Os(t)||(t[r]=e),i=e)}e[i]=!0}return e}function ac(e){for(let t=0;t<e.length;t++)$s(e,t)||(e[t]=null);return e}function oc(e){let t=Ns(null);for(let r of Es(e)){var n=ws(r,2);let i=n[0],a=n[1];$s(e,i)&&(t[i]=Hs(a)?ac(a):a&&typeof a==`object`&&a.constructor===Object?oc(a):a)}return t}function sc(e){switch(typeof e){case`string`:return e;case`number`:return Ys(e);case`boolean`:return Xs(e);case`bigint`:return Zs?Zs(e):`0`;case`symbol`:return Qs?Qs(e):`Symbol()`;case`undefined`:return ec(e);case`function`:case`object`:{if(e===null)return ec(e);let t=e,n=cc(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:ec(e)}return ec(e)}default:return ec(e)}}function cc(e,t){for(;e!==null;){let n=As(e,t);if(n){if(n.get)return rc(n.get);if(typeof n.value==`function`)return rc(n.value)}e=ks(e)}function n(){return null}return n}function lc(e){try{return tc(e,``),!0}catch{return!1}}var uc=js(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),dc=js(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),fc=js([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),pc=js([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),mc=js(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),hc=js([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),gc=js([`#text`]),_c=js(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),vc=js(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),yc=js(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),bc=js([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),xc=Ms(/{{[\w\W]*|^[\w\W]*}}/g),Sc=Ms(/<%[\w\W]*|^[\w\W]*%>/g),Cc=Ms(/\${[\w\W]*/g),wc=Ms(/^data-[\-\w.\u00B7-\uFFFF]+$/),Tc=Ms(/^aria-[\-\w]+$/),Ec=Ms(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Dc=Ms(/^(?:\w+script|data):/i),Oc=Ms(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),kc=Ms(/^html$/i),Ac=Ms(/^[a-z][.\w]*(-[.\w]+)+$/i),jc=Ms(/<[/\w!]/g),Mc=Ms(/<[/\w]/g),Nc=Ms(/<\/no(script|embed|frames)/i),Pc=Ms(/\/>/i),Fc={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Ic=function(){return typeof window>`u`?null:window},Lc=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},Rc=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},zc=function(e,t,n,r){return $s(e,t)&&Hs(e[t])?W(r.base?oc(r.base):{},e[t],r.transform):n};function Bc(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ic(),t=e=>Bc(e);if(t.version=`3.4.11`,t.removed=[],!e||!e.document||e.document.nodeType!==Fc.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=cc(d,`cloneNode`),p=cc(d,`remove`),m=cc(d,`nextSibling`),h=cc(d,`childNodes`),g=cc(d,`parentNode`),_=cc(d,`shadowRoot`),v=cc(d,`attributes`),y=o&&o.prototype?cc(o.prototype,`nodeType`):null,b=o&&o.prototype?cc(o.prototype,`nodeName`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let x,S=``,C,w=!1,T=0,E=function(){if(T>0)throw nc(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},ee=function(e){E(),T++;try{return x.createHTML(e)}finally{T--}},te=function(e){E(),T++;try{return x.createScriptURL(e)}finally{T--}},ne=function(){return w||=(C=Lc(u,i),!0),C},D=n,re=D.implementation,O=D.createNodeIterator,ie=D.createDocumentFragment,ae=D.getElementsByTagName,k=r.importNode,A=Rc();t.isSupported=typeof Es==`function`&&typeof g==`function`&&re&&re.createHTMLDocument!==void 0;let oe=xc,se=Sc,ce=Cc,le=wc,ue=Tc,de=Dc,fe=Oc,pe=Ac,me=Ec,j=null,M=W({},[...uc,...dc,...fc,...mc,...gc]),N=null,he=W({},[..._c,...vc,...yc,...bc]),P=Object.seal(Ns(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),F=null,I=null,ge=Object.seal(Ns(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),_e=!0,ve=!0,ye=!1,be=!0,L=!1,R=!0,xe=!1,Se=!1,Ce=null,we=null,Te=!1,Ee=!1,De=!1,Oe=!1,ke=!0,Ae=!1,je=`user-content-`,Me=!0,Ne=!1,Pe={},Fe=null,Ie=W({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Le=null,Re=W({},[`audio`,`video`,`img`,`source`,`image`,`track`]),ze=null,Be=W({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ve=`http://www.w3.org/1998/Math/MathML`,He=`http://www.w3.org/2000/svg`,Ue=`http://www.w3.org/1999/xhtml`,We=Ue,Ge=!1,Ke=null,qe=W({},[Ve,He,Ue],Ws),Je=js([`mi`,`mo`,`mn`,`ms`,`mtext`]),Ye=W({},Je),Xe=js([`annotation-xml`]),Ze=W({},Xe),Qe=W({},[`title`,`style`,`font`,`a`,`script`]),$e=null,et=[`application/xhtml+xml`,`text/html`],tt=null,nt=null,rt=n.createElement(`form`),z=function(e){return e instanceof RegExp||e instanceof Function},it=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(nt&&nt===e)return;(!e||typeof e!=`object`)&&(e={}),e=oc(e),$e=et.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,tt=$e===`application/xhtml+xml`?Ws:Us,j=zc(e,`ALLOWED_TAGS`,M,{transform:tt}),N=zc(e,`ALLOWED_ATTR`,he,{transform:tt}),Ke=zc(e,`ALLOWED_NAMESPACES`,qe,{transform:Ws}),ze=zc(e,`ADD_URI_SAFE_ATTR`,Be,{transform:tt,base:Be}),Le=zc(e,`ADD_DATA_URI_TAGS`,Re,{transform:tt,base:Re}),Fe=zc(e,`FORBID_CONTENTS`,Ie,{transform:tt}),F=zc(e,`FORBID_TAGS`,oc({}),{transform:tt}),I=zc(e,`FORBID_ATTR`,oc({}),{transform:tt}),Pe=$s(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?oc(e.USE_PROFILES):e.USE_PROFILES:!1,_e=e.ALLOW_ARIA_ATTR!==!1,ve=e.ALLOW_DATA_ATTR!==!1,ye=e.ALLOW_UNKNOWN_PROTOCOLS||!1,be=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,L=e.SAFE_FOR_TEMPLATES||!1,R=e.SAFE_FOR_XML!==!1,xe=e.WHOLE_DOCUMENT||!1,Ee=e.RETURN_DOM||!1,De=e.RETURN_DOM_FRAGMENT||!1,Oe=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,ke=e.SANITIZE_DOM!==!1,Ae=e.SANITIZE_NAMED_PROPS||!1,Me=e.KEEP_CONTENT!==!1,Ne=e.IN_PLACE||!1,me=lc(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Ec,We=typeof e.NAMESPACE==`string`?e.NAMESPACE:Ue,Ye=$s(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?oc(e.MATHML_TEXT_INTEGRATION_POINTS):W({},Je),Ze=$s(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?oc(e.HTML_INTEGRATION_POINTS):W({},Xe);let t=$s(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?oc(e.CUSTOM_ELEMENT_HANDLING):Ns(null);if(P=Ns(null),$s(t,`tagNameCheck`)&&z(t.tagNameCheck)&&(P.tagNameCheck=t.tagNameCheck),$s(t,`attributeNameCheck`)&&z(t.attributeNameCheck)&&(P.attributeNameCheck=t.attributeNameCheck),$s(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(P.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Ms(P),L&&(ve=!1),De&&(Ee=!0),Pe&&(j=W({},gc),N=Ns(null),Pe.html===!0&&(W(j,uc),W(N,_c)),Pe.svg===!0&&(W(j,dc),W(N,vc),W(N,bc)),Pe.svgFilters===!0&&(W(j,fc),W(N,vc),W(N,bc)),Pe.mathMl===!0&&(W(j,mc),W(N,yc),W(N,bc))),ge.tagCheck=null,ge.attributeCheck=null,$s(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?ge.tagCheck=e.ADD_TAGS:Hs(e.ADD_TAGS)&&(j===M&&(j=oc(j)),W(j,e.ADD_TAGS,tt))),$s(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?ge.attributeCheck=e.ADD_ATTR:Hs(e.ADD_ATTR)&&(N===he&&(N=oc(N)),W(N,e.ADD_ATTR,tt))),$s(e,`ADD_URI_SAFE_ATTR`)&&Hs(e.ADD_URI_SAFE_ATTR)&&W(ze,e.ADD_URI_SAFE_ATTR,tt),$s(e,`FORBID_CONTENTS`)&&Hs(e.FORBID_CONTENTS)&&(Fe===Ie&&(Fe=oc(Fe)),W(Fe,e.FORBID_CONTENTS,tt)),$s(e,`ADD_FORBID_CONTENTS`)&&Hs(e.ADD_FORBID_CONTENTS)&&(Fe===Ie&&(Fe=oc(Fe)),W(Fe,e.ADD_FORBID_CONTENTS,tt)),Me&&(j[`#text`]=!0),xe&&W(j,[`html`,`head`,`body`]),j.table&&(W(j,[`tbody`]),delete F.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw nc(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw nc(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=x;x=e.TRUSTED_TYPES_POLICY;try{S=ee(``)}catch(e){throw x=t,e}}else e.TRUSTED_TYPES_POLICY===null?(x=void 0,S=``):(x===void 0&&(x=ne()),x&&typeof S==`string`&&(S=ee(``)));js&&js(e),nt=e},at=W({},[...dc,...fc,...pc]),ot=W({},[...mc,...hc]),st=function(e,t,n){return t.namespaceURI===Ue?e===`svg`:t.namespaceURI===Ve?e===`svg`&&(n===`annotation-xml`||Ye[n]):!!at[e]},ct=function(e,t,n){return t.namespaceURI===Ue?e===`math`:t.namespaceURI===He?e===`math`&&Ze[n]:!!ot[e]},lt=function(e,t,n){return t.namespaceURI===He&&!Ze[n]||t.namespaceURI===Ve&&!Ye[n]?!1:!ot[e]&&(Qe[e]||!at[e])},ut=function(e){let t=g(e);(!t||!t.tagName)&&(t={namespaceURI:We,tagName:`template`});let n=Us(e.tagName),r=Us(t.tagName);return Ke[e.namespaceURI]?e.namespaceURI===He?st(n,t,r):e.namespaceURI===Ve?ct(n,t,r):e.namespaceURI===Ue?lt(n,t,r):!!($e===`application/xhtml+xml`&&Ke[e.namespaceURI]):!1},dt=function(e){Bs(t.removed,{element:e});try{g(e).removeChild(e)}catch{if(p(e),!g(e))throw nc(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},ft=function(e){let t=h(e);if(t){let e=[];Ls(t,t=>{Bs(e,t)}),Ls(e,e=>{try{p(e)}catch{}})}let n=v(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},pt=function(e,n){try{Bs(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{Bs(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`){if(Ee||De)try{dt(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},mt=function(e){let t=v(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||N[tt(i)]))try{e.removeAttribute(i)}catch{}}},ht=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(y?y(e):e.nodeType)===Fc.element&&mt(e);let n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},gt=function(e){let t=null,r=null;if(Te)e=`<remove></remove>`+e;else{let t=Gs(e,/^[\r\n\t ]+/);r=t&&t[0]}$e===`application/xhtml+xml`&&We===Ue&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=x?ee(e):e;if(We===Ue)try{t=new l().parseFromString(i,$e)}catch{}if(!t||!t.documentElement){t=re.createDocument(We,`template`,null);try{t.documentElement.innerHTML=Ge?S:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),We===Ue?ae.call(t,xe?`html`:`body`)[0]:xe?t.documentElement:a},_t=function(e){return O.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},vt=function(e){return e=Ks(e,oe,` `),e=Ks(e,se,` `),e=Ks(e,ce,` `),e},yt=function(e){e.normalize();let t=O.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),n=t.nextNode();for(;n;)n.data=vt(n.data),n=t.nextNode();let r=e.querySelectorAll?.call(e,`template`);r&&Ls(r,e=>{xt(e.content)&&yt(e.content)})},bt=function(e){let t=b?b(e):null;return typeof t!=`string`||tt(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==v(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==y(e)||e.childNodes!==h(e)},xt=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return y(e)===Fc.documentFragment}catch{return!1}},St=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return typeof y(e)==`number`}catch{return!1}};function Ct(e,n,r){e.length!==0&&Ls(e,e=>{e.call(t,n,r,nt)})}let wt=function(e,t){return!!(R&&e.hasChildNodes()&&!St(e.firstElementChild)&&tc(jc,e.textContent)&&tc(jc,e.innerHTML)||R&&e.namespaceURI===Ue&&t===`style`&&St(e.firstElementChild)||e.nodeType===Fc.processingInstruction||R&&e.nodeType===Fc.comment&&tc(Mc,e.data))},Tt=function(e,t){if(!F[t]&&kt(t)&&(P.tagNameCheck instanceof RegExp&&tc(P.tagNameCheck,t)||P.tagNameCheck instanceof Function&&P.tagNameCheck(t)))return!1;if(Me&&!Fe[t]){let t=g(e),n=h(e);if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=Ne?n[i]:f(n[i],!0);t.insertBefore(r,m(e))}}}return dt(e),!0},Et=function(e){if(Ct(A.beforeSanitizeElements,e,null),bt(e))return dt(e),!0;let n=tt(b?b(e):e.nodeName);if(Ct(A.uponSanitizeElement,e,{tagName:n,allowedTags:j}),wt(e,n))return dt(e),!0;if(F[n]||!(ge.tagCheck instanceof Function&&ge.tagCheck(n))&&!j[n])return Tt(e,n);if((y?y(e):e.nodeType)===Fc.element&&!ut(e)||(n===`noscript`||n===`noembed`||n===`noframes`)&&tc(Nc,e.innerHTML))return dt(e),!0;if(L&&e.nodeType===Fc.text){let n=vt(e.textContent);e.textContent!==n&&(Bs(t.removed,{element:e.cloneNode()}),e.textContent=n)}return Ct(A.afterSanitizeElements,e,null),!1},Dt=function(e,t,r){if(I[t]||ke&&(t===`id`||t===`name`)&&(r in n||r in rt))return!1;let i=N[t]||ge.attributeCheck instanceof Function&&ge.attributeCheck(t,e);if(!(ve&&tc(le,t))&&!(_e&&tc(ue,t))){if(!i){if(!(kt(e)&&(P.tagNameCheck instanceof RegExp&&tc(P.tagNameCheck,e)||P.tagNameCheck instanceof Function&&P.tagNameCheck(e))&&(P.attributeNameCheck instanceof RegExp&&tc(P.attributeNameCheck,t)||P.attributeNameCheck instanceof Function&&P.attributeNameCheck(t,e))||t===`is`&&P.allowCustomizedBuiltInElements&&(P.tagNameCheck instanceof RegExp&&tc(P.tagNameCheck,r)||P.tagNameCheck instanceof Function&&P.tagNameCheck(r))))return!1}else if(!ze[t]&&!tc(me,Ks(r,fe,``))&&(t!==`src`&&t!==`xlink:href`&&t!==`href`||e===`script`||qs(r,`data:`)!==0||!Le[e])&&(!ye||tc(de,Ks(r,fe,``)))&&r)return!1}return!0},Ot=W({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),kt=function(e){return!Ot[Us(e)]&&tc(pe,e)},At=function(e,t,n,r){if(x&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return ee(r);case`TrustedScriptURL`:return te(r)}return r},jt=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),bt(e)?dt(e):zs(t.removed)}catch{pt(n,e)}},Mt=function(e){Ct(A.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||bt(e))return;let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:N,forceKeepAttr:void 0},r=t.length,i=tt(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=tt(o),u=c,d=o===`value`?u:Js(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,Ct(A.uponSanitizeAttribute,e,n),d=n.attrValue,Ae&&(l===`id`||l===`name`)&&qs(d,je)!==0&&(pt(o,e),d=je+d),R&&tc(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){pt(o,e);continue}if(l===`attributename`&&Gs(d,`href`)){pt(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){pt(o,e);continue}if(!be&&tc(Pc,d)){pt(o,e);continue}if(L&&(d=vt(d)),!Dt(i,l,d)){pt(o,e);continue}d=At(i,l,s,d),d!==u&&jt(e,o,s,d)}}Ct(A.afterSanitizeAttributes,e,null)},Nt=function(e){let t=null,n=_t(e);for(Ct(A.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Ct(A.uponSanitizeShadowNode,t,null),Et(t),Mt(t),xt(t.content)&&Nt(t.content),(y?y(t):t.nodeType)===Fc.element){let e=_(t);xt(e)&&(Pt(e),Nt(e))}Ct(A.afterSanitizeShadowDOM,e,null)},Pt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Nt(e.shadow);continue}let n=e.node,r=(y?y(n):n.nodeType)===Fc.element,i=h(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=b?b(n):null;if(typeof e==`string`&&tt(e)===`template`){let e=n.content;xt(e)&&t.push({node:e,shadow:null})}}if(r){let e=_(n);xt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Ge=!e,Ge&&(e=`<!-->`),typeof e!=`string`&&!St(e)&&(e=sc(e),typeof e!=`string`))throw nc(`dirty is not a string, aborting`);if(!t.isSupported)return e;Se?(j=Ce,N=we):it(n),(A.uponSanitizeElement.length>0||A.uponSanitizeAttribute.length>0)&&(j=oc(j)),A.uponSanitizeAttribute.length>0&&(N=oc(N)),t.removed=[];let c=Ne&&typeof e!=`string`&&St(e);if(c){let t=b?b(e):e.nodeName;if(typeof t==`string`){let e=tt(t);if(!j[e]||F[e])throw nc(`root node is forbidden and cannot be sanitized in-place`)}if(bt(e))throw nc(`root node is clobbered and cannot be sanitized in-place`);try{Pt(e)}catch(t){throw ft(e),t}}else if(St(e))i=gt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===Fc.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Pt(a);else{if(!Ee&&!L&&!xe&&e.indexOf(`<`)===-1)return x&&Oe?ee(e):e;if(i=gt(e),!i)return Ee?null:Oe?S:``}i&&Te&&dt(i.firstChild);let l=_t(c?e:i);try{for(;o=l.nextNode();)Et(o),Mt(o),xt(o.content)&&Nt(o.content)}catch(t){throw c&&ft(e),t}if(c)return Ls(t.removed,e=>{e.element&&ht(e.element)}),L&&yt(e),e;if(Ee){if(L&&yt(i),De)for(s=ie.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(N.shadowroot||N.shadowrootmode)&&(s=k.call(r,s,!0)),s}let u=xe?i.outerHTML:i.innerHTML;return xe&&j[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&tc(kc,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
`+u),L&&(u=vt(u)),x&&Oe?ee(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};it(e),Se=!0,Ce=j,we=N},t.clearConfig=function(){nt=null,Se=!1,Ce=null,we=null,x=C,S=``},t.isValidAttribute=function(e,t,n){nt||it({});let r=tt(e),i=tt(t);return Dt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&$s(A,e)&&Bs(A[e],t)},t.removeHook=function(e,t){if($s(A,e)){if(t!==void 0){let n=Rs(A[e],t);return n===-1?void 0:Vs(A[e],n,1)[0]}return zs(A[e])}},t.removeHooks=function(e){$s(A,e)&&(A[e]=[])},t.removeAllHooks=function(){A=Rc()},t}var Vc=Bc(),Hc=s(((e,t)=>{(function(n){var r=typeof e==`object`&&e,i=typeof t==`object`&&t&&t.exports==r&&t,a=typeof global==`object`&&global;(a.global===a||a.window===a)&&(n=a);var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,u={"­":`shy`,"‌":`zwnj`,"‍":`zwj`,"‎":`lrm`,"⁣":`ic`,"⁢":`it`,"⁡":`af`,"‏":`rlm`,"​":`ZeroWidthSpace`,"⁠":`NoBreak`,"̑":`DownBreve`,"⃛":`tdot`,"⃜":`DotDot`," ":`Tab`,"\n":`NewLine`," ":`puncsp`," ":`MediumSpace`," ":`thinsp`," ":`hairsp`," ":`emsp13`," ":`ensp`," ":`emsp14`," ":`emsp`," ":`numsp`,"\xA0":`nbsp`,"  ":`ThickSpace`,"‾":`oline`,_:`lowbar`,"‐":`dash`,"–":`ndash`,"—":`mdash`,"―":`horbar`,",":`comma`,";":`semi`,"⁏":`bsemi`,":":`colon`,"⩴":`Colone`,"!":`excl`,"¡":`iexcl`,"?":`quest`,"¿":`iquest`,".":`period`,"‥":`nldr`,"…":`mldr`,"·":`middot`,"'":`apos`,"‘":`lsquo`,"’":`rsquo`,"‚":`sbquo`,"‹":`lsaquo`,"›":`rsaquo`,'"':`quot`,"“":`ldquo`,"”":`rdquo`,"„":`bdquo`,"«":`laquo`,"»":`raquo`,"(":`lpar`,")":`rpar`,"[":`lsqb`,"]":`rsqb`,"{":`lcub`,"}":`rcub`,"⌈":`lceil`,"⌉":`rceil`,"⌊":`lfloor`,"⌋":`rfloor`,"⦅":`lopar`,"⦆":`ropar`,"⦋":`lbrke`,"⦌":`rbrke`,"⦍":`lbrkslu`,"⦎":`rbrksld`,"⦏":`lbrksld`,"⦐":`rbrkslu`,"⦑":`langd`,"⦒":`rangd`,"⦓":`lparlt`,"⦔":`rpargt`,"⦕":`gtlPar`,"⦖":`ltrPar`,"⟦":`lobrk`,"⟧":`robrk`,"⟨":`lang`,"⟩":`rang`,"⟪":`Lang`,"⟫":`Rang`,"⟬":`loang`,"⟭":`roang`,"❲":`lbbrk`,"❳":`rbbrk`,"‖":`Vert`,"§":`sect`,"¶":`para`,"@":`commat`,"*":`ast`,"/":`sol`,undefined:null,"&":`amp`,"#":`num`,"%":`percnt`,"‰":`permil`,"‱":`pertenk`,"†":`dagger`,"‡":`Dagger`,"•":`bull`,"⁃":`hybull`,"′":`prime`,"″":`Prime`,"‴":`tprime`,"⁗":`qprime`,"‵":`bprime`,"⁁":`caret`,"`":`grave`,"´":`acute`,"˜":`tilde`,"^":`Hat`,"¯":`macr`,"˘":`breve`,"˙":`dot`,"¨":`die`,"˚":`ring`,"˝":`dblac`,"¸":`cedil`,"˛":`ogon`,ˆ:`circ`,ˇ:`caron`,"°":`deg`,"©":`copy`,"®":`reg`,"℗":`copysr`,℘:`wp`,"℞":`rx`,"℧":`mho`,"℩":`iiota`,"←":`larr`,"↚":`nlarr`,"→":`rarr`,"↛":`nrarr`,"↑":`uarr`,"↓":`darr`,"↔":`harr`,"↮":`nharr`,"↕":`varr`,"↖":`nwarr`,"↗":`nearr`,"↘":`searr`,"↙":`swarr`,"↝":`rarrw`,"↝̸":`nrarrw`,"↞":`Larr`,"↟":`Uarr`,"↠":`Rarr`,"↡":`Darr`,"↢":`larrtl`,"↣":`rarrtl`,"↤":`mapstoleft`,"↥":`mapstoup`,"↦":`map`,"↧":`mapstodown`,"↩":`larrhk`,"↪":`rarrhk`,"↫":`larrlp`,"↬":`rarrlp`,"↭":`harrw`,"↰":`lsh`,"↱":`rsh`,"↲":`ldsh`,"↳":`rdsh`,"↵":`crarr`,"↶":`cularr`,"↷":`curarr`,"↺":`olarr`,"↻":`orarr`,"↼":`lharu`,"↽":`lhard`,"↾":`uharr`,"↿":`uharl`,"⇀":`rharu`,"⇁":`rhard`,"⇂":`dharr`,"⇃":`dharl`,"⇄":`rlarr`,"⇅":`udarr`,"⇆":`lrarr`,"⇇":`llarr`,"⇈":`uuarr`,"⇉":`rrarr`,"⇊":`ddarr`,"⇋":`lrhar`,"⇌":`rlhar`,"⇐":`lArr`,"⇍":`nlArr`,"⇑":`uArr`,"⇒":`rArr`,"⇏":`nrArr`,"⇓":`dArr`,"⇔":`iff`,"⇎":`nhArr`,"⇕":`vArr`,"⇖":`nwArr`,"⇗":`neArr`,"⇘":`seArr`,"⇙":`swArr`,"⇚":`lAarr`,"⇛":`rAarr`,"⇝":`zigrarr`,"⇤":`larrb`,"⇥":`rarrb`,"⇵":`duarr`,"⇽":`loarr`,"⇾":`roarr`,"⇿":`hoarr`,"∀":`forall`,"∁":`comp`,"∂":`part`,"∂̸":`npart`,"∃":`exist`,"∄":`nexist`,"∅":`empty`,"∇":`Del`,"∈":`in`,"∉":`notin`,"∋":`ni`,"∌":`notni`,"϶":`bepsi`,"∏":`prod`,"∐":`coprod`,"∑":`sum`,"+":`plus`,"±":`pm`,"÷":`div`,"×":`times`,"<":`lt`,"≮":`nlt`,"<⃒":`nvlt`,"=":`equals`,"≠":`ne`,"=⃥":`bne`,"⩵":`Equal`,">":`gt`,"≯":`ngt`,">⃒":`nvgt`,"¬":`not`,"|":`vert`,"¦":`brvbar`,"−":`minus`,"∓":`mp`,"∔":`plusdo`,"⁄":`frasl`,"∖":`setmn`,"∗":`lowast`,"∘":`compfn`,"√":`Sqrt`,"∝":`prop`,"∞":`infin`,"∟":`angrt`,"∠":`ang`,"∠⃒":`nang`,"∡":`angmsd`,"∢":`angsph`,"∣":`mid`,"∤":`nmid`,"∥":`par`,"∦":`npar`,"∧":`and`,"∨":`or`,"∩":`cap`,"∩︀":`caps`,"∪":`cup`,"∪︀":`cups`,"∫":`int`,"∬":`Int`,"∭":`tint`,"⨌":`qint`,"∮":`oint`,"∯":`Conint`,"∰":`Cconint`,"∱":`cwint`,"∲":`cwconint`,"∳":`awconint`,"∴":`there4`,"∵":`becaus`,"∶":`ratio`,"∷":`Colon`,"∸":`minusd`,"∺":`mDDot`,"∻":`homtht`,"∼":`sim`,"≁":`nsim`,"∼⃒":`nvsim`,"∽":`bsim`,"∽̱":`race`,"∾":`ac`,"∾̳":`acE`,"∿":`acd`,"≀":`wr`,"≂":`esim`,"≂̸":`nesim`,"≃":`sime`,"≄":`nsime`,"≅":`cong`,"≇":`ncong`,"≆":`simne`,"≈":`ap`,"≉":`nap`,"≊":`ape`,"≋":`apid`,"≋̸":`napid`,"≌":`bcong`,"≍":`CupCap`,"≭":`NotCupCap`,"≍⃒":`nvap`,"≎":`bump`,"≎̸":`nbump`,"≏":`bumpe`,"≏̸":`nbumpe`,"≐":`doteq`,"≐̸":`nedot`,"≑":`eDot`,"≒":`efDot`,"≓":`erDot`,"≔":`colone`,"≕":`ecolon`,"≖":`ecir`,"≗":`cire`,"≙":`wedgeq`,"≚":`veeeq`,"≜":`trie`,"≟":`equest`,"≡":`equiv`,"≢":`nequiv`,"≡⃥":`bnequiv`,"≤":`le`,"≰":`nle`,"≤⃒":`nvle`,"≥":`ge`,"≱":`nge`,"≥⃒":`nvge`,"≦":`lE`,"≦̸":`nlE`,"≧":`gE`,"≧̸":`ngE`,"≨︀":`lvnE`,"≨":`lnE`,"≩":`gnE`,"≩︀":`gvnE`,"≪":`ll`,"≪̸":`nLtv`,"≪⃒":`nLt`,"≫":`gg`,"≫̸":`nGtv`,"≫⃒":`nGt`,"≬":`twixt`,"≲":`lsim`,"≴":`nlsim`,"≳":`gsim`,"≵":`ngsim`,"≶":`lg`,"≸":`ntlg`,"≷":`gl`,"≹":`ntgl`,"≺":`pr`,"⊀":`npr`,"≻":`sc`,"⊁":`nsc`,"≼":`prcue`,"⋠":`nprcue`,"≽":`sccue`,"⋡":`nsccue`,"≾":`prsim`,"≿":`scsim`,"≿̸":`NotSucceedsTilde`,"⊂":`sub`,"⊄":`nsub`,"⊂⃒":`vnsub`,"⊃":`sup`,"⊅":`nsup`,"⊃⃒":`vnsup`,"⊆":`sube`,"⊈":`nsube`,"⊇":`supe`,"⊉":`nsupe`,"⊊︀":`vsubne`,"⊊":`subne`,"⊋︀":`vsupne`,"⊋":`supne`,"⊍":`cupdot`,"⊎":`uplus`,"⊏":`sqsub`,"⊏̸":`NotSquareSubset`,"⊐":`sqsup`,"⊐̸":`NotSquareSuperset`,"⊑":`sqsube`,"⋢":`nsqsube`,"⊒":`sqsupe`,"⋣":`nsqsupe`,"⊓":`sqcap`,"⊓︀":`sqcaps`,"⊔":`sqcup`,"⊔︀":`sqcups`,"⊕":`oplus`,"⊖":`ominus`,"⊗":`otimes`,"⊘":`osol`,"⊙":`odot`,"⊚":`ocir`,"⊛":`oast`,"⊝":`odash`,"⊞":`plusb`,"⊟":`minusb`,"⊠":`timesb`,"⊡":`sdotb`,"⊢":`vdash`,"⊬":`nvdash`,"⊣":`dashv`,"⊤":`top`,"⊥":`bot`,"⊧":`models`,"⊨":`vDash`,"⊭":`nvDash`,"⊩":`Vdash`,"⊮":`nVdash`,"⊪":`Vvdash`,"⊫":`VDash`,"⊯":`nVDash`,"⊰":`prurel`,"⊲":`vltri`,"⋪":`nltri`,"⊳":`vrtri`,"⋫":`nrtri`,"⊴":`ltrie`,"⋬":`nltrie`,"⊴⃒":`nvltrie`,"⊵":`rtrie`,"⋭":`nrtrie`,"⊵⃒":`nvrtrie`,"⊶":`origof`,"⊷":`imof`,"⊸":`mumap`,"⊹":`hercon`,"⊺":`intcal`,"⊻":`veebar`,"⊽":`barvee`,"⊾":`angrtvb`,"⊿":`lrtri`,"⋀":`Wedge`,"⋁":`Vee`,"⋂":`xcap`,"⋃":`xcup`,"⋄":`diam`,"⋅":`sdot`,"⋆":`Star`,"⋇":`divonx`,"⋈":`bowtie`,"⋉":`ltimes`,"⋊":`rtimes`,"⋋":`lthree`,"⋌":`rthree`,"⋍":`bsime`,"⋎":`cuvee`,"⋏":`cuwed`,"⋐":`Sub`,"⋑":`Sup`,"⋒":`Cap`,"⋓":`Cup`,"⋔":`fork`,"⋕":`epar`,"⋖":`ltdot`,"⋗":`gtdot`,"⋘":`Ll`,"⋘̸":`nLl`,"⋙":`Gg`,"⋙̸":`nGg`,"⋚︀":`lesg`,"⋚":`leg`,"⋛":`gel`,"⋛︀":`gesl`,"⋞":`cuepr`,"⋟":`cuesc`,"⋦":`lnsim`,"⋧":`gnsim`,"⋨":`prnsim`,"⋩":`scnsim`,"⋮":`vellip`,"⋯":`ctdot`,"⋰":`utdot`,"⋱":`dtdot`,"⋲":`disin`,"⋳":`isinsv`,"⋴":`isins`,"⋵":`isindot`,"⋵̸":`notindot`,"⋶":`notinvc`,"⋷":`notinvb`,"⋹":`isinE`,"⋹̸":`notinE`,"⋺":`nisd`,"⋻":`xnis`,"⋼":`nis`,"⋽":`notnivc`,"⋾":`notnivb`,"⌅":`barwed`,"⌆":`Barwed`,"⌌":`drcrop`,"⌍":`dlcrop`,"⌎":`urcrop`,"⌏":`ulcrop`,"⌐":`bnot`,"⌒":`profline`,"⌓":`profsurf`,"⌕":`telrec`,"⌖":`target`,"⌜":`ulcorn`,"⌝":`urcorn`,"⌞":`dlcorn`,"⌟":`drcorn`,"⌢":`frown`,"⌣":`smile`,"⌭":`cylcty`,"⌮":`profalar`,"⌶":`topbot`,"⌽":`ovbar`,"⌿":`solbar`,"⍼":`angzarr`,"⎰":`lmoust`,"⎱":`rmoust`,"⎴":`tbrk`,"⎵":`bbrk`,"⎶":`bbrktbrk`,"⏜":`OverParenthesis`,"⏝":`UnderParenthesis`,"⏞":`OverBrace`,"⏟":`UnderBrace`,"⏢":`trpezium`,"⏧":`elinters`,"␣":`blank`,"─":`boxh`,"│":`boxv`,"┌":`boxdr`,"┐":`boxdl`,"└":`boxur`,"┘":`boxul`,"├":`boxvr`,"┤":`boxvl`,"┬":`boxhd`,"┴":`boxhu`,"┼":`boxvh`,"═":`boxH`,"║":`boxV`,"╒":`boxdR`,"╓":`boxDr`,"╔":`boxDR`,"╕":`boxdL`,"╖":`boxDl`,"╗":`boxDL`,"╘":`boxuR`,"╙":`boxUr`,"╚":`boxUR`,"╛":`boxuL`,"╜":`boxUl`,"╝":`boxUL`,"╞":`boxvR`,"╟":`boxVr`,"╠":`boxVR`,"╡":`boxvL`,"╢":`boxVl`,"╣":`boxVL`,"╤":`boxHd`,"╥":`boxhD`,"╦":`boxHD`,"╧":`boxHu`,"╨":`boxhU`,"╩":`boxHU`,"╪":`boxvH`,"╫":`boxVh`,"╬":`boxVH`,"▀":`uhblk`,"▄":`lhblk`,"█":`block`,"░":`blk14`,"▒":`blk12`,"▓":`blk34`,"□":`squ`,"▪":`squf`,"▫":`EmptyVerySmallSquare`,"▭":`rect`,"▮":`marker`,"▱":`fltns`,"△":`xutri`,"▴":`utrif`,"▵":`utri`,"▸":`rtrif`,"▹":`rtri`,"▽":`xdtri`,"▾":`dtrif`,"▿":`dtri`,"◂":`ltrif`,"◃":`ltri`,"◊":`loz`,"○":`cir`,"◬":`tridot`,"◯":`xcirc`,"◸":`ultri`,"◹":`urtri`,"◺":`lltri`,"◻":`EmptySmallSquare`,"◼":`FilledSmallSquare`,"★":`starf`,"☆":`star`,"☎":`phone`,"♀":`female`,"♂":`male`,"♠":`spades`,"♣":`clubs`,"♥":`hearts`,"♦":`diams`,"♪":`sung`,"✓":`check`,"✗":`cross`,"✠":`malt`,"✶":`sext`,"❘":`VerticalSeparator`,"⟈":`bsolhsub`,"⟉":`suphsol`,"⟵":`xlarr`,"⟶":`xrarr`,"⟷":`xharr`,"⟸":`xlArr`,"⟹":`xrArr`,"⟺":`xhArr`,"⟼":`xmap`,"⟿":`dzigrarr`,"⤂":`nvlArr`,"⤃":`nvrArr`,"⤄":`nvHarr`,"⤅":`Map`,"⤌":`lbarr`,"⤍":`rbarr`,"⤎":`lBarr`,"⤏":`rBarr`,"⤐":`RBarr`,"⤑":`DDotrahd`,"⤒":`UpArrowBar`,"⤓":`DownArrowBar`,"⤖":`Rarrtl`,"⤙":`latail`,"⤚":`ratail`,"⤛":`lAtail`,"⤜":`rAtail`,"⤝":`larrfs`,"⤞":`rarrfs`,"⤟":`larrbfs`,"⤠":`rarrbfs`,"⤣":`nwarhk`,"⤤":`nearhk`,"⤥":`searhk`,"⤦":`swarhk`,"⤧":`nwnear`,"⤨":`toea`,"⤩":`tosa`,"⤪":`swnwar`,"⤳":`rarrc`,"⤳̸":`nrarrc`,"⤵":`cudarrr`,"⤶":`ldca`,"⤷":`rdca`,"⤸":`cudarrl`,"⤹":`larrpl`,"⤼":`curarrm`,"⤽":`cularrp`,"⥅":`rarrpl`,"⥈":`harrcir`,"⥉":`Uarrocir`,"⥊":`lurdshar`,"⥋":`ldrushar`,"⥎":`LeftRightVector`,"⥏":`RightUpDownVector`,"⥐":`DownLeftRightVector`,"⥑":`LeftUpDownVector`,"⥒":`LeftVectorBar`,"⥓":`RightVectorBar`,"⥔":`RightUpVectorBar`,"⥕":`RightDownVectorBar`,"⥖":`DownLeftVectorBar`,"⥗":`DownRightVectorBar`,"⥘":`LeftUpVectorBar`,"⥙":`LeftDownVectorBar`,"⥚":`LeftTeeVector`,"⥛":`RightTeeVector`,"⥜":`RightUpTeeVector`,"⥝":`RightDownTeeVector`,"⥞":`DownLeftTeeVector`,"⥟":`DownRightTeeVector`,"⥠":`LeftUpTeeVector`,"⥡":`LeftDownTeeVector`,"⥢":`lHar`,"⥣":`uHar`,"⥤":`rHar`,"⥥":`dHar`,"⥦":`luruhar`,"⥧":`ldrdhar`,"⥨":`ruluhar`,"⥩":`rdldhar`,"⥪":`lharul`,"⥫":`llhard`,"⥬":`rharul`,"⥭":`lrhard`,"⥮":`udhar`,"⥯":`duhar`,"⥰":`RoundImplies`,"⥱":`erarr`,"⥲":`simrarr`,"⥳":`larrsim`,"⥴":`rarrsim`,"⥵":`rarrap`,"⥶":`ltlarr`,"⥸":`gtrarr`,"⥹":`subrarr`,"⥻":`suplarr`,"⥼":`lfisht`,"⥽":`rfisht`,"⥾":`ufisht`,"⥿":`dfisht`,"⦚":`vzigzag`,"⦜":`vangrt`,"⦝":`angrtvbd`,"⦤":`ange`,"⦥":`range`,"⦦":`dwangle`,"⦧":`uwangle`,"⦨":`angmsdaa`,"⦩":`angmsdab`,"⦪":`angmsdac`,"⦫":`angmsdad`,"⦬":`angmsdae`,"⦭":`angmsdaf`,"⦮":`angmsdag`,"⦯":`angmsdah`,"⦰":`bemptyv`,"⦱":`demptyv`,"⦲":`cemptyv`,"⦳":`raemptyv`,"⦴":`laemptyv`,"⦵":`ohbar`,"⦶":`omid`,"⦷":`opar`,"⦹":`operp`,"⦻":`olcross`,"⦼":`odsold`,"⦾":`olcir`,"⦿":`ofcir`,"⧀":`olt`,"⧁":`ogt`,"⧂":`cirscir`,"⧃":`cirE`,"⧄":`solb`,"⧅":`bsolb`,"⧉":`boxbox`,"⧍":`trisb`,"⧎":`rtriltri`,"⧏":`LeftTriangleBar`,"⧏̸":`NotLeftTriangleBar`,"⧐":`RightTriangleBar`,"⧐̸":`NotRightTriangleBar`,"⧜":`iinfin`,"⧝":`infintie`,"⧞":`nvinfin`,"⧣":`eparsl`,"⧤":`smeparsl`,"⧥":`eqvparsl`,"⧫":`lozf`,"⧴":`RuleDelayed`,"⧶":`dsol`,"⨀":`xodot`,"⨁":`xoplus`,"⨂":`xotime`,"⨄":`xuplus`,"⨆":`xsqcup`,"⨍":`fpartint`,"⨐":`cirfnint`,"⨑":`awint`,"⨒":`rppolint`,"⨓":`scpolint`,"⨔":`npolint`,"⨕":`pointint`,"⨖":`quatint`,"⨗":`intlarhk`,"⨢":`pluscir`,"⨣":`plusacir`,"⨤":`simplus`,"⨥":`plusdu`,"⨦":`plussim`,"⨧":`plustwo`,"⨩":`mcomma`,"⨪":`minusdu`,"⨭":`loplus`,"⨮":`roplus`,"⨯":`Cross`,"⨰":`timesd`,"⨱":`timesbar`,"⨳":`smashp`,"⨴":`lotimes`,"⨵":`rotimes`,"⨶":`otimesas`,"⨷":`Otimes`,"⨸":`odiv`,"⨹":`triplus`,"⨺":`triminus`,"⨻":`tritime`,"⨼":`iprod`,"⨿":`amalg`,"⩀":`capdot`,"⩂":`ncup`,"⩃":`ncap`,"⩄":`capand`,"⩅":`cupor`,"⩆":`cupcap`,"⩇":`capcup`,"⩈":`cupbrcap`,"⩉":`capbrcup`,"⩊":`cupcup`,"⩋":`capcap`,"⩌":`ccups`,"⩍":`ccaps`,"⩐":`ccupssm`,"⩓":`And`,"⩔":`Or`,"⩕":`andand`,"⩖":`oror`,"⩗":`orslope`,"⩘":`andslope`,"⩚":`andv`,"⩛":`orv`,"⩜":`andd`,"⩝":`ord`,"⩟":`wedbar`,"⩦":`sdote`,"⩪":`simdot`,"⩭":`congdot`,"⩭̸":`ncongdot`,"⩮":`easter`,"⩯":`apacir`,"⩰":`apE`,"⩰̸":`napE`,"⩱":`eplus`,"⩲":`pluse`,"⩳":`Esim`,"⩷":`eDDot`,"⩸":`equivDD`,"⩹":`ltcir`,"⩺":`gtcir`,"⩻":`ltquest`,"⩼":`gtquest`,"⩽":`les`,"⩽̸":`nles`,"⩾":`ges`,"⩾̸":`nges`,"⩿":`lesdot`,"⪀":`gesdot`,"⪁":`lesdoto`,"⪂":`gesdoto`,"⪃":`lesdotor`,"⪄":`gesdotol`,"⪅":`lap`,"⪆":`gap`,"⪇":`lne`,"⪈":`gne`,"⪉":`lnap`,"⪊":`gnap`,"⪋":`lEg`,"⪌":`gEl`,"⪍":`lsime`,"⪎":`gsime`,"⪏":`lsimg`,"⪐":`gsiml`,"⪑":`lgE`,"⪒":`glE`,"⪓":`lesges`,"⪔":`gesles`,"⪕":`els`,"⪖":`egs`,"⪗":`elsdot`,"⪘":`egsdot`,"⪙":`el`,"⪚":`eg`,"⪝":`siml`,"⪞":`simg`,"⪟":`simlE`,"⪠":`simgE`,"⪡":`LessLess`,"⪡̸":`NotNestedLessLess`,"⪢":`GreaterGreater`,"⪢̸":`NotNestedGreaterGreater`,"⪤":`glj`,"⪥":`gla`,"⪦":`ltcc`,"⪧":`gtcc`,"⪨":`lescc`,"⪩":`gescc`,"⪪":`smt`,"⪫":`lat`,"⪬":`smte`,"⪬︀":`smtes`,"⪭":`late`,"⪭︀":`lates`,"⪮":`bumpE`,"⪯":`pre`,"⪯̸":`npre`,"⪰":`sce`,"⪰̸":`nsce`,"⪳":`prE`,"⪴":`scE`,"⪵":`prnE`,"⪶":`scnE`,"⪷":`prap`,"⪸":`scap`,"⪹":`prnap`,"⪺":`scnap`,"⪻":`Pr`,"⪼":`Sc`,"⪽":`subdot`,"⪾":`supdot`,"⪿":`subplus`,"⫀":`supplus`,"⫁":`submult`,"⫂":`supmult`,"⫃":`subedot`,"⫄":`supedot`,"⫅":`subE`,"⫅̸":`nsubE`,"⫆":`supE`,"⫆̸":`nsupE`,"⫇":`subsim`,"⫈":`supsim`,"⫋︀":`vsubnE`,"⫋":`subnE`,"⫌︀":`vsupnE`,"⫌":`supnE`,"⫏":`csub`,"⫐":`csup`,"⫑":`csube`,"⫒":`csupe`,"⫓":`subsup`,"⫔":`supsub`,"⫕":`subsub`,"⫖":`supsup`,"⫗":`suphsub`,"⫘":`supdsub`,"⫙":`forkv`,"⫚":`topfork`,"⫛":`mlcp`,"⫤":`Dashv`,"⫦":`Vdashl`,"⫧":`Barv`,"⫨":`vBar`,"⫩":`vBarv`,"⫫":`Vbar`,"⫬":`Not`,"⫭":`bNot`,"⫮":`rnmid`,"⫯":`cirmid`,"⫰":`midcir`,"⫱":`topcir`,"⫲":`nhpar`,"⫳":`parsim`,"⫽":`parsl`,"⫽⃥":`nparsl`,"♭":`flat`,"♮":`natur`,"♯":`sharp`,"¤":`curren`,"¢":`cent`,$:`dollar`,"£":`pound`,"¥":`yen`,"€":`euro`,"¹":`sup1`,"½":`half`,"⅓":`frac13`,"¼":`frac14`,"⅕":`frac15`,"⅙":`frac16`,"⅛":`frac18`,"²":`sup2`,"⅔":`frac23`,"⅖":`frac25`,"³":`sup3`,"¾":`frac34`,"⅗":`frac35`,"⅜":`frac38`,"⅘":`frac45`,"⅚":`frac56`,"⅝":`frac58`,"⅞":`frac78`,𝒶:`ascr`,𝕒:`aopf`,𝔞:`afr`,𝔸:`Aopf`,𝔄:`Afr`,𝒜:`Ascr`,ª:`ordf`,á:`aacute`,Á:`Aacute`,à:`agrave`,À:`Agrave`,ă:`abreve`,Ă:`Abreve`,â:`acirc`,Â:`Acirc`,å:`aring`,Å:`angst`,ä:`auml`,Ä:`Auml`,ã:`atilde`,Ã:`Atilde`,ą:`aogon`,Ą:`Aogon`,ā:`amacr`,Ā:`Amacr`,æ:`aelig`,Æ:`AElig`,𝒷:`bscr`,𝕓:`bopf`,𝔟:`bfr`,𝔹:`Bopf`,ℬ:`Bscr`,𝔅:`Bfr`,𝔠:`cfr`,𝒸:`cscr`,𝕔:`copf`,ℭ:`Cfr`,𝒞:`Cscr`,ℂ:`Copf`,ć:`cacute`,Ć:`Cacute`,ĉ:`ccirc`,Ĉ:`Ccirc`,č:`ccaron`,Č:`Ccaron`,ċ:`cdot`,Ċ:`Cdot`,ç:`ccedil`,Ç:`Ccedil`,"℅":`incare`,𝔡:`dfr`,ⅆ:`dd`,𝕕:`dopf`,𝒹:`dscr`,𝒟:`Dscr`,𝔇:`Dfr`,ⅅ:`DD`,𝔻:`Dopf`,ď:`dcaron`,Ď:`Dcaron`,đ:`dstrok`,Đ:`Dstrok`,ð:`eth`,Ð:`ETH`,ⅇ:`ee`,ℯ:`escr`,𝔢:`efr`,𝕖:`eopf`,ℰ:`Escr`,𝔈:`Efr`,𝔼:`Eopf`,é:`eacute`,É:`Eacute`,è:`egrave`,È:`Egrave`,ê:`ecirc`,Ê:`Ecirc`,ě:`ecaron`,Ě:`Ecaron`,ë:`euml`,Ë:`Euml`,ė:`edot`,Ė:`Edot`,ę:`eogon`,Ę:`Eogon`,ē:`emacr`,Ē:`Emacr`,𝔣:`ffr`,𝕗:`fopf`,𝒻:`fscr`,𝔉:`Ffr`,𝔽:`Fopf`,ℱ:`Fscr`,ff:`fflig`,ffi:`ffilig`,ffl:`ffllig`,fi:`filig`,fj:`fjlig`,fl:`fllig`,ƒ:`fnof`,ℊ:`gscr`,𝕘:`gopf`,𝔤:`gfr`,𝒢:`Gscr`,𝔾:`Gopf`,𝔊:`Gfr`,ǵ:`gacute`,ğ:`gbreve`,Ğ:`Gbreve`,ĝ:`gcirc`,Ĝ:`Gcirc`,ġ:`gdot`,Ġ:`Gdot`,Ģ:`Gcedil`,𝔥:`hfr`,ℎ:`planckh`,𝒽:`hscr`,𝕙:`hopf`,ℋ:`Hscr`,ℌ:`Hfr`,ℍ:`Hopf`,ĥ:`hcirc`,Ĥ:`Hcirc`,ℏ:`hbar`,ħ:`hstrok`,Ħ:`Hstrok`,𝕚:`iopf`,𝔦:`ifr`,𝒾:`iscr`,ⅈ:`ii`,𝕀:`Iopf`,ℐ:`Iscr`,ℑ:`Im`,í:`iacute`,Í:`Iacute`,ì:`igrave`,Ì:`Igrave`,î:`icirc`,Î:`Icirc`,ï:`iuml`,Ï:`Iuml`,ĩ:`itilde`,Ĩ:`Itilde`,İ:`Idot`,į:`iogon`,Į:`Iogon`,ī:`imacr`,Ī:`Imacr`,ij:`ijlig`,IJ:`IJlig`,ı:`imath`,𝒿:`jscr`,𝕛:`jopf`,𝔧:`jfr`,𝒥:`Jscr`,𝔍:`Jfr`,𝕁:`Jopf`,ĵ:`jcirc`,Ĵ:`Jcirc`,ȷ:`jmath`,𝕜:`kopf`,𝓀:`kscr`,𝔨:`kfr`,𝒦:`Kscr`,𝕂:`Kopf`,𝔎:`Kfr`,ķ:`kcedil`,Ķ:`Kcedil`,𝔩:`lfr`,𝓁:`lscr`,ℓ:`ell`,𝕝:`lopf`,ℒ:`Lscr`,𝔏:`Lfr`,𝕃:`Lopf`,ĺ:`lacute`,Ĺ:`Lacute`,ľ:`lcaron`,Ľ:`Lcaron`,ļ:`lcedil`,Ļ:`Lcedil`,ł:`lstrok`,Ł:`Lstrok`,ŀ:`lmidot`,Ŀ:`Lmidot`,𝔪:`mfr`,𝕞:`mopf`,𝓂:`mscr`,𝔐:`Mfr`,𝕄:`Mopf`,ℳ:`Mscr`,𝔫:`nfr`,𝕟:`nopf`,𝓃:`nscr`,ℕ:`Nopf`,𝒩:`Nscr`,𝔑:`Nfr`,ń:`nacute`,Ń:`Nacute`,ň:`ncaron`,Ň:`Ncaron`,ñ:`ntilde`,Ñ:`Ntilde`,ņ:`ncedil`,Ņ:`Ncedil`,"№":`numero`,ŋ:`eng`,Ŋ:`ENG`,𝕠:`oopf`,𝔬:`ofr`,ℴ:`oscr`,𝒪:`Oscr`,𝔒:`Ofr`,𝕆:`Oopf`,º:`ordm`,ó:`oacute`,Ó:`Oacute`,ò:`ograve`,Ò:`Ograve`,ô:`ocirc`,Ô:`Ocirc`,ö:`ouml`,Ö:`Ouml`,ő:`odblac`,Ő:`Odblac`,õ:`otilde`,Õ:`Otilde`,ø:`oslash`,Ø:`Oslash`,ō:`omacr`,Ō:`Omacr`,œ:`oelig`,Œ:`OElig`,𝔭:`pfr`,𝓅:`pscr`,𝕡:`popf`,ℙ:`Popf`,𝔓:`Pfr`,𝒫:`Pscr`,𝕢:`qopf`,𝔮:`qfr`,𝓆:`qscr`,𝒬:`Qscr`,𝔔:`Qfr`,ℚ:`Qopf`,ĸ:`kgreen`,𝔯:`rfr`,𝕣:`ropf`,𝓇:`rscr`,ℛ:`Rscr`,ℜ:`Re`,ℝ:`Ropf`,ŕ:`racute`,Ŕ:`Racute`,ř:`rcaron`,Ř:`Rcaron`,ŗ:`rcedil`,Ŗ:`Rcedil`,𝕤:`sopf`,𝓈:`sscr`,𝔰:`sfr`,𝕊:`Sopf`,𝔖:`Sfr`,𝒮:`Sscr`,"Ⓢ":`oS`,ś:`sacute`,Ś:`Sacute`,ŝ:`scirc`,Ŝ:`Scirc`,š:`scaron`,Š:`Scaron`,ş:`scedil`,Ş:`Scedil`,ß:`szlig`,𝔱:`tfr`,𝓉:`tscr`,𝕥:`topf`,𝒯:`Tscr`,𝔗:`Tfr`,𝕋:`Topf`,ť:`tcaron`,Ť:`Tcaron`,ţ:`tcedil`,Ţ:`Tcedil`,"™":`trade`,ŧ:`tstrok`,Ŧ:`Tstrok`,𝓊:`uscr`,𝕦:`uopf`,𝔲:`ufr`,𝕌:`Uopf`,𝔘:`Ufr`,𝒰:`Uscr`,ú:`uacute`,Ú:`Uacute`,ù:`ugrave`,Ù:`Ugrave`,ŭ:`ubreve`,Ŭ:`Ubreve`,û:`ucirc`,Û:`Ucirc`,ů:`uring`,Ů:`Uring`,ü:`uuml`,Ü:`Uuml`,ű:`udblac`,Ű:`Udblac`,ũ:`utilde`,Ũ:`Utilde`,ų:`uogon`,Ų:`Uogon`,ū:`umacr`,Ū:`Umacr`,𝔳:`vfr`,𝕧:`vopf`,𝓋:`vscr`,𝔙:`Vfr`,𝕍:`Vopf`,𝒱:`Vscr`,𝕨:`wopf`,𝓌:`wscr`,𝔴:`wfr`,𝒲:`Wscr`,𝕎:`Wopf`,𝔚:`Wfr`,ŵ:`wcirc`,Ŵ:`Wcirc`,𝔵:`xfr`,𝓍:`xscr`,𝕩:`xopf`,𝕏:`Xopf`,𝔛:`Xfr`,𝒳:`Xscr`,𝔶:`yfr`,𝓎:`yscr`,𝕪:`yopf`,𝒴:`Yscr`,𝔜:`Yfr`,𝕐:`Yopf`,ý:`yacute`,Ý:`Yacute`,ŷ:`ycirc`,Ŷ:`Ycirc`,ÿ:`yuml`,Ÿ:`Yuml`,𝓏:`zscr`,𝔷:`zfr`,𝕫:`zopf`,ℨ:`Zfr`,ℤ:`Zopf`,𝒵:`Zscr`,ź:`zacute`,Ź:`Zacute`,ž:`zcaron`,Ž:`Zcaron`,ż:`zdot`,Ż:`Zdot`,Ƶ:`imped`,þ:`thorn`,Þ:`THORN`,ʼn:`napos`,α:`alpha`,Α:`Alpha`,β:`beta`,Β:`Beta`,γ:`gamma`,Γ:`Gamma`,δ:`delta`,Δ:`Delta`,ε:`epsi`,ϵ:`epsiv`,Ε:`Epsilon`,ϝ:`gammad`,Ϝ:`Gammad`,ζ:`zeta`,Ζ:`Zeta`,η:`eta`,Η:`Eta`,θ:`theta`,ϑ:`thetav`,Θ:`Theta`,ι:`iota`,Ι:`Iota`,κ:`kappa`,ϰ:`kappav`,Κ:`Kappa`,λ:`lambda`,Λ:`Lambda`,μ:`mu`,µ:`micro`,Μ:`Mu`,ν:`nu`,Ν:`Nu`,ξ:`xi`,Ξ:`Xi`,ο:`omicron`,Ο:`Omicron`,π:`pi`,ϖ:`piv`,Π:`Pi`,ρ:`rho`,ϱ:`rhov`,Ρ:`Rho`,σ:`sigma`,Σ:`Sigma`,ς:`sigmaf`,τ:`tau`,Τ:`Tau`,υ:`upsi`,Υ:`Upsilon`,ϒ:`Upsi`,φ:`phi`,ϕ:`phiv`,Φ:`Phi`,χ:`chi`,Χ:`Chi`,ψ:`psi`,Ψ:`Psi`,ω:`omega`,Ω:`ohm`,а:`acy`,А:`Acy`,б:`bcy`,Б:`Bcy`,в:`vcy`,В:`Vcy`,г:`gcy`,Г:`Gcy`,ѓ:`gjcy`,Ѓ:`GJcy`,д:`dcy`,Д:`Dcy`,ђ:`djcy`,Ђ:`DJcy`,е:`iecy`,Е:`IEcy`,ё:`iocy`,Ё:`IOcy`,є:`jukcy`,Є:`Jukcy`,ж:`zhcy`,Ж:`ZHcy`,з:`zcy`,З:`Zcy`,ѕ:`dscy`,Ѕ:`DScy`,и:`icy`,И:`Icy`,і:`iukcy`,І:`Iukcy`,ї:`yicy`,Ї:`YIcy`,й:`jcy`,Й:`Jcy`,ј:`jsercy`,Ј:`Jsercy`,к:`kcy`,К:`Kcy`,ќ:`kjcy`,Ќ:`KJcy`,л:`lcy`,Л:`Lcy`,љ:`ljcy`,Љ:`LJcy`,м:`mcy`,М:`Mcy`,н:`ncy`,Н:`Ncy`,њ:`njcy`,Њ:`NJcy`,о:`ocy`,О:`Ocy`,п:`pcy`,П:`Pcy`,р:`rcy`,Р:`Rcy`,с:`scy`,С:`Scy`,т:`tcy`,Т:`Tcy`,ћ:`tshcy`,Ћ:`TSHcy`,у:`ucy`,У:`Ucy`,ў:`ubrcy`,Ў:`Ubrcy`,ф:`fcy`,Ф:`Fcy`,х:`khcy`,Х:`KHcy`,ц:`tscy`,Ц:`TScy`,ч:`chcy`,Ч:`CHcy`,џ:`dzcy`,Џ:`DZcy`,ш:`shcy`,Ш:`SHcy`,щ:`shchcy`,Щ:`SHCHcy`,ъ:`hardcy`,Ъ:`HARDcy`,ы:`ycy`,Ы:`Ycy`,ь:`softcy`,Ь:`SOFTcy`,э:`ecy`,Э:`Ecy`,ю:`yucy`,Ю:`YUcy`,я:`yacy`,Я:`YAcy`,ℵ:`aleph`,ℶ:`beth`,ℷ:`gimel`,ℸ:`daleth`},d=/["&'<>`]/g,f={'"':`&quot;`,"&":`&amp;`,"'":`&#x27;`,"<":`&lt;`,">":`&gt;`,"`":`&#x60;`},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,g={aacute:`á`,Aacute:`Á`,abreve:`ă`,Abreve:`Ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,acirc:`â`,Acirc:`Â`,acute:`´`,acy:`а`,Acy:`А`,aelig:`æ`,AElig:`Æ`,af:`⁡`,afr:`𝔞`,Afr:`𝔄`,agrave:`à`,Agrave:`À`,alefsym:`ℵ`,aleph:`ℵ`,alpha:`α`,Alpha:`Α`,amacr:`ā`,Amacr:`Ā`,amalg:`⨿`,amp:`&`,AMP:`&`,and:`∧`,And:`⩓`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,aogon:`ą`,Aogon:`Ą`,aopf:`𝕒`,Aopf:`𝔸`,ap:`≈`,apacir:`⩯`,ape:`≊`,apE:`⩰`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,aring:`å`,Aring:`Å`,ascr:`𝒶`,Ascr:`𝒜`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,atilde:`ã`,Atilde:`Ã`,auml:`ä`,Auml:`Ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,barwed:`⌅`,Barwed:`⌆`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,bcy:`б`,Bcy:`Б`,bdquo:`„`,becaus:`∵`,because:`∵`,Because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,beta:`β`,Beta:`Β`,beth:`ℶ`,between:`≬`,bfr:`𝔟`,Bfr:`𝔅`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bnot:`⌐`,bNot:`⫭`,bopf:`𝕓`,Bopf:`𝔹`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxdl:`┐`,boxdL:`╕`,boxDl:`╖`,boxDL:`╗`,boxdr:`┌`,boxdR:`╒`,boxDr:`╓`,boxDR:`╔`,boxh:`─`,boxH:`═`,boxhd:`┬`,boxhD:`╥`,boxHd:`╤`,boxHD:`╦`,boxhu:`┴`,boxhU:`╨`,boxHu:`╧`,boxHU:`╩`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxul:`┘`,boxuL:`╛`,boxUl:`╜`,boxUL:`╝`,boxur:`└`,boxuR:`╘`,boxUr:`╙`,boxUR:`╚`,boxv:`│`,boxV:`║`,boxvh:`┼`,boxvH:`╪`,boxVh:`╫`,boxVH:`╬`,boxvl:`┤`,boxvL:`╡`,boxVl:`╢`,boxVL:`╣`,boxvr:`├`,boxvR:`╞`,boxVr:`╟`,boxVR:`╠`,bprime:`‵`,breve:`˘`,Breve:`˘`,brvbar:`¦`,bscr:`𝒷`,Bscr:`ℬ`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpe:`≏`,bumpE:`⪮`,bumpeq:`≏`,Bumpeq:`≎`,cacute:`ć`,Cacute:`Ć`,cap:`∩`,Cap:`⋒`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,ccaron:`č`,Ccaron:`Č`,ccedil:`ç`,Ccedil:`Ç`,ccirc:`ĉ`,Ccirc:`Ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,cdot:`ċ`,Cdot:`Ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,CenterDot:`·`,cfr:`𝔠`,Cfr:`ℭ`,chcy:`ч`,CHcy:`Ч`,check:`✓`,checkmark:`✓`,chi:`χ`,Chi:`Χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cire:`≗`,cirE:`⧃`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,colon:`:`,Colon:`∷`,colone:`≔`,Colone:`⩴`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,conint:`∮`,Conint:`∯`,ContourIntegral:`∮`,copf:`𝕔`,Copf:`ℂ`,coprod:`∐`,Coproduct:`∐`,copy:`©`,COPY:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,cross:`✗`,Cross:`⨯`,cscr:`𝒸`,Cscr:`𝒞`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cup:`∪`,Cup:`⋓`,cupbrcap:`⩈`,cupcap:`⩆`,CupCap:`≍`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dagger:`†`,Dagger:`‡`,daleth:`ℸ`,darr:`↓`,dArr:`⇓`,Darr:`↡`,dash:`‐`,dashv:`⊣`,Dashv:`⫤`,dbkarow:`⤏`,dblac:`˝`,dcaron:`ď`,Dcaron:`Ď`,dcy:`д`,Dcy:`Д`,dd:`ⅆ`,DD:`ⅅ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,delta:`δ`,Delta:`Δ`,demptyv:`⦱`,dfisht:`⥿`,dfr:`𝔡`,Dfr:`𝔇`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,diamond:`⋄`,Diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,djcy:`ђ`,DJcy:`Ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,dopf:`𝕕`,Dopf:`𝔻`,dot:`˙`,Dot:`¨`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,downarrow:`↓`,Downarrow:`⇓`,DownArrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,dscr:`𝒹`,Dscr:`𝒟`,dscy:`ѕ`,DScy:`Ѕ`,dsol:`⧶`,dstrok:`đ`,Dstrok:`Đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,dzcy:`џ`,DZcy:`Џ`,dzigrarr:`⟿`,eacute:`é`,Eacute:`É`,easter:`⩮`,ecaron:`ě`,Ecaron:`Ě`,ecir:`≖`,ecirc:`ê`,Ecirc:`Ê`,ecolon:`≕`,ecy:`э`,Ecy:`Э`,eDDot:`⩷`,edot:`ė`,eDot:`≑`,Edot:`Ė`,ee:`ⅇ`,efDot:`≒`,efr:`𝔢`,Efr:`𝔈`,eg:`⪚`,egrave:`è`,Egrave:`È`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,emacr:`ē`,Emacr:`Ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,eng:`ŋ`,ENG:`Ŋ`,ensp:` `,eogon:`ę`,Eogon:`Ę`,eopf:`𝕖`,Eopf:`𝔼`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,epsilon:`ε`,Epsilon:`Ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,escr:`ℯ`,Escr:`ℰ`,esdot:`≐`,esim:`≂`,Esim:`⩳`,eta:`η`,Eta:`Η`,eth:`ð`,ETH:`Ð`,euml:`ë`,Euml:`Ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,ExponentialE:`ⅇ`,fallingdotseq:`≒`,fcy:`ф`,Fcy:`Ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,ffr:`𝔣`,Ffr:`𝔉`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,fopf:`𝕗`,Fopf:`𝔽`,forall:`∀`,ForAll:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:`𝒻`,Fscr:`ℱ`,gacute:`ǵ`,gamma:`γ`,Gamma:`Γ`,gammad:`ϝ`,Gammad:`Ϝ`,gap:`⪆`,gbreve:`ğ`,Gbreve:`Ğ`,Gcedil:`Ģ`,gcirc:`ĝ`,Gcirc:`Ĝ`,gcy:`г`,Gcy:`Г`,gdot:`ġ`,Gdot:`Ġ`,ge:`≥`,gE:`≧`,gel:`⋛`,gEl:`⪌`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,gfr:`𝔤`,Gfr:`𝔊`,gg:`≫`,Gg:`⋙`,ggg:`⋙`,gimel:`ℷ`,gjcy:`ѓ`,GJcy:`Ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gnE:`≩`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,gopf:`𝕘`,Gopf:`𝔾`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,gscr:`ℊ`,Gscr:`𝒢`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gt:`>`,Gt:`≫`,GT:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,hardcy:`ъ`,HARDcy:`Ъ`,harr:`↔`,hArr:`⇔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,hcirc:`ĥ`,Hcirc:`Ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:`𝔥`,Hfr:`ℌ`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:`𝕙`,Hopf:`ℍ`,horbar:`―`,HorizontalLine:`─`,hscr:`𝒽`,Hscr:`ℋ`,hslash:`ℏ`,hstrok:`ħ`,Hstrok:`Ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,iacute:`í`,Iacute:`Í`,ic:`⁣`,icirc:`î`,Icirc:`Î`,icy:`и`,Icy:`И`,Idot:`İ`,iecy:`е`,IEcy:`Е`,iexcl:`¡`,iff:`⇔`,ifr:`𝔦`,Ifr:`ℑ`,igrave:`ì`,Igrave:`Ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,ijlig:`ij`,IJlig:`IJ`,Im:`ℑ`,imacr:`ī`,Imacr:`Ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,int:`∫`,Int:`∬`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,iocy:`ё`,IOcy:`Ё`,iogon:`į`,Iogon:`Į`,iopf:`𝕚`,Iopf:`𝕀`,iota:`ι`,Iota:`Ι`,iprod:`⨼`,iquest:`¿`,iscr:`𝒾`,Iscr:`ℐ`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,itilde:`ĩ`,Itilde:`Ĩ`,iukcy:`і`,Iukcy:`І`,iuml:`ï`,Iuml:`Ï`,jcirc:`ĵ`,Jcirc:`Ĵ`,jcy:`й`,Jcy:`Й`,jfr:`𝔧`,Jfr:`𝔍`,jmath:`ȷ`,jopf:`𝕛`,Jopf:`𝕁`,jscr:`𝒿`,Jscr:`𝒥`,jsercy:`ј`,Jsercy:`Ј`,jukcy:`є`,Jukcy:`Є`,kappa:`κ`,Kappa:`Κ`,kappav:`ϰ`,kcedil:`ķ`,Kcedil:`Ķ`,kcy:`к`,Kcy:`К`,kfr:`𝔨`,Kfr:`𝔎`,kgreen:`ĸ`,khcy:`х`,KHcy:`Х`,kjcy:`ќ`,KJcy:`Ќ`,kopf:`𝕜`,Kopf:`𝕂`,kscr:`𝓀`,Kscr:`𝒦`,lAarr:`⇚`,lacute:`ĺ`,Lacute:`Ĺ`,laemptyv:`⦴`,lagran:`ℒ`,lambda:`λ`,Lambda:`Λ`,lang:`⟨`,Lang:`⟪`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,larr:`←`,lArr:`⇐`,Larr:`↞`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,latail:`⤙`,lAtail:`⤛`,late:`⪭`,lates:`⪭︀`,lbarr:`⤌`,lBarr:`⤎`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,lcaron:`ľ`,Lcaron:`Ľ`,lcedil:`ļ`,Lcedil:`Ļ`,lceil:`⌈`,lcub:`{`,lcy:`л`,Lcy:`Л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,lE:`≦`,LeftAngleBracket:`⟨`,leftarrow:`←`,Leftarrow:`⇐`,LeftArrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,Leftrightarrow:`⇔`,LeftRightArrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,leg:`⋚`,lEg:`⪋`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,lfr:`𝔩`,Lfr:`𝔏`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,ljcy:`љ`,LJcy:`Љ`,ll:`≪`,Ll:`⋘`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,lmidot:`ŀ`,Lmidot:`Ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lnE:`≨`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,Longleftarrow:`⟸`,LongLeftArrow:`⟵`,longleftrightarrow:`⟷`,Longleftrightarrow:`⟺`,LongLeftRightArrow:`⟷`,longmapsto:`⟼`,longrightarrow:`⟶`,Longrightarrow:`⟹`,LongRightArrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,lopf:`𝕝`,Lopf:`𝕃`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,lscr:`𝓁`,Lscr:`ℒ`,lsh:`↰`,Lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,lstrok:`ł`,Lstrok:`Ł`,lt:`<`,Lt:`≪`,LT:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,map:`↦`,Map:`⤅`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,mcy:`м`,Mcy:`М`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,mfr:`𝔪`,Mfr:`𝔐`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,mopf:`𝕞`,Mopf:`𝕄`,mp:`∓`,mscr:`𝓂`,Mscr:`ℳ`,mstpos:`∾`,mu:`μ`,Mu:`Μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,nacute:`ń`,Nacute:`Ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,ncaron:`ň`,Ncaron:`Ň`,ncedil:`ņ`,Ncedil:`Ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,ncy:`н`,Ncy:`Н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,nearr:`↗`,neArr:`⇗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
`,nexist:`∄`,nexists:`∄`,nfr:`𝔫`,Nfr:`𝔑`,nge:`≱`,ngE:`≧̸`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,ngt:`≯`,nGt:`≫⃒`,ngtr:`≯`,nGtv:`≫̸`,nharr:`↮`,nhArr:`⇎`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,njcy:`њ`,NJcy:`Њ`,nlarr:`↚`,nlArr:`⇍`,nldr:`‥`,nle:`≰`,nlE:`≦̸`,nleftarrow:`↚`,nLeftarrow:`⇍`,nleftrightarrow:`↮`,nLeftrightarrow:`⇎`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nlt:`≮`,nLt:`≪⃒`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,nopf:`𝕟`,Nopf:`ℕ`,not:`¬`,Not:`⫬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrarr:`↛`,nrArr:`⇏`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nrightarrow:`↛`,nRightarrow:`⇏`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,nscr:`𝓃`,Nscr:`𝒩`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsube:`⊈`,nsubE:`⫅̸`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupe:`⊉`,nsupE:`⫆̸`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,ntilde:`ñ`,Ntilde:`Ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,nu:`ν`,Nu:`Ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nvdash:`⊬`,nvDash:`⊭`,nVdash:`⊮`,nVDash:`⊯`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwarr:`↖`,nwArr:`⇖`,nwarrow:`↖`,nwnear:`⤧`,oacute:`ó`,Oacute:`Ó`,oast:`⊛`,ocir:`⊚`,ocirc:`ô`,Ocirc:`Ô`,ocy:`о`,Ocy:`О`,odash:`⊝`,odblac:`ő`,Odblac:`Ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,oelig:`œ`,OElig:`Œ`,ofcir:`⦿`,ofr:`𝔬`,Ofr:`𝔒`,ogon:`˛`,ograve:`ò`,Ograve:`Ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,omacr:`ō`,Omacr:`Ō`,omega:`ω`,Omega:`Ω`,omicron:`ο`,Omicron:`Ο`,omid:`⦶`,ominus:`⊖`,oopf:`𝕠`,Oopf:`𝕆`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,or:`∨`,Or:`⩔`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,oscr:`ℴ`,Oscr:`𝒪`,oslash:`ø`,Oslash:`Ø`,osol:`⊘`,otilde:`õ`,Otilde:`Õ`,otimes:`⊗`,Otimes:`⨷`,otimesas:`⨶`,ouml:`ö`,Ouml:`Ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,pcy:`п`,Pcy:`П`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,pfr:`𝔭`,Pfr:`𝔓`,phi:`φ`,Phi:`Φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,pi:`π`,Pi:`Π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,popf:`𝕡`,Popf:`ℙ`,pound:`£`,pr:`≺`,Pr:`⪻`,prap:`⪷`,prcue:`≼`,pre:`⪯`,prE:`⪳`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,prime:`′`,Prime:`″`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,pscr:`𝓅`,Pscr:`𝒫`,psi:`ψ`,Psi:`Ψ`,puncsp:` `,qfr:`𝔮`,Qfr:`𝔔`,qint:`⨌`,qopf:`𝕢`,Qopf:`ℚ`,qprime:`⁗`,qscr:`𝓆`,Qscr:`𝒬`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,QUOT:`"`,rAarr:`⇛`,race:`∽̱`,racute:`ŕ`,Racute:`Ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,Rang:`⟫`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarr:`→`,rArr:`⇒`,Rarr:`↠`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,rarrtl:`↣`,Rarrtl:`⤖`,rarrw:`↝`,ratail:`⤚`,rAtail:`⤜`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rBarr:`⤏`,RBarr:`⤐`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,rcaron:`ř`,Rcaron:`Ř`,rcedil:`ŗ`,Rcedil:`Ŗ`,rceil:`⌉`,rcub:`}`,rcy:`р`,Rcy:`Р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,reg:`®`,REG:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,rfr:`𝔯`,Rfr:`ℜ`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,rho:`ρ`,Rho:`Ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,rightarrow:`→`,Rightarrow:`⇒`,RightArrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:`𝕣`,Ropf:`ℝ`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,rscr:`𝓇`,Rscr:`ℛ`,rsh:`↱`,Rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,sacute:`ś`,Sacute:`Ś`,sbquo:`‚`,sc:`≻`,Sc:`⪼`,scap:`⪸`,scaron:`š`,Scaron:`Š`,sccue:`≽`,sce:`⪰`,scE:`⪴`,scedil:`ş`,Scedil:`Ş`,scirc:`ŝ`,Scirc:`Ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,scy:`с`,Scy:`С`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,searr:`↘`,seArr:`⇘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,sfr:`𝔰`,Sfr:`𝔖`,sfrown:`⌢`,sharp:`♯`,shchcy:`щ`,SHCHcy:`Щ`,shcy:`ш`,SHcy:`Ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,sigma:`σ`,Sigma:`Σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,softcy:`ь`,SOFTcy:`Ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,sopf:`𝕤`,Sopf:`𝕊`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,square:`□`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,sscr:`𝓈`,Sscr:`𝒮`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,star:`☆`,Star:`⋆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,Sub:`⋐`,subdot:`⪽`,sube:`⊆`,subE:`⫅`,subedot:`⫃`,submult:`⫁`,subne:`⊊`,subnE:`⫋`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,Subset:`⋐`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,sum:`∑`,Sum:`∑`,sung:`♪`,sup:`⊃`,Sup:`⋑`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supe:`⊇`,supE:`⫆`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supne:`⊋`,supnE:`⫌`,supplus:`⫀`,supset:`⊃`,Supset:`⋑`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swarr:`↙`,swArr:`⇙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,tau:`τ`,Tau:`Τ`,tbrk:`⎴`,tcaron:`ť`,Tcaron:`Ť`,tcedil:`ţ`,Tcedil:`Ţ`,tcy:`т`,Tcy:`Т`,tdot:`⃛`,telrec:`⌕`,tfr:`𝔱`,Tfr:`𝔗`,there4:`∴`,therefore:`∴`,Therefore:`∴`,theta:`θ`,Theta:`Θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:`  `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,thorn:`þ`,THORN:`Þ`,tilde:`˜`,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,topf:`𝕥`,Topf:`𝕋`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,TRADE:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,tscr:`𝓉`,Tscr:`𝒯`,tscy:`ц`,TScy:`Ц`,tshcy:`ћ`,TSHcy:`Ћ`,tstrok:`ŧ`,Tstrok:`Ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,uacute:`ú`,Uacute:`Ú`,uarr:`↑`,uArr:`⇑`,Uarr:`↟`,Uarrocir:`⥉`,ubrcy:`ў`,Ubrcy:`Ў`,ubreve:`ŭ`,Ubreve:`Ŭ`,ucirc:`û`,Ucirc:`Û`,ucy:`у`,Ucy:`У`,udarr:`⇅`,udblac:`ű`,Udblac:`Ű`,udhar:`⥮`,ufisht:`⥾`,ufr:`𝔲`,Ufr:`𝔘`,ugrave:`ù`,Ugrave:`Ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,umacr:`ū`,Umacr:`Ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,uogon:`ų`,Uogon:`Ų`,uopf:`𝕦`,Uopf:`𝕌`,uparrow:`↑`,Uparrow:`⇑`,UpArrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,updownarrow:`↕`,Updownarrow:`⇕`,UpDownArrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,upsi:`υ`,Upsi:`ϒ`,upsih:`ϒ`,upsilon:`υ`,Upsilon:`Υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,uring:`ů`,Uring:`Ů`,urtri:`◹`,uscr:`𝓊`,Uscr:`𝒰`,utdot:`⋰`,utilde:`ũ`,Utilde:`Ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,uuml:`ü`,Uuml:`Ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,vArr:`⇕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vBar:`⫨`,Vbar:`⫫`,vBarv:`⫩`,vcy:`в`,Vcy:`В`,vdash:`⊢`,vDash:`⊨`,Vdash:`⊩`,VDash:`⊫`,Vdashl:`⫦`,vee:`∨`,Vee:`⋁`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,Verbar:`‖`,vert:`|`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,vfr:`𝔳`,Vfr:`𝔙`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,vopf:`𝕧`,Vopf:`𝕍`,vprop:`∝`,vrtri:`⊳`,vscr:`𝓋`,Vscr:`𝒱`,vsubne:`⊊︀`,vsubnE:`⫋︀`,vsupne:`⊋︀`,vsupnE:`⫌︀`,Vvdash:`⊪`,vzigzag:`⦚`,wcirc:`ŵ`,Wcirc:`Ŵ`,wedbar:`⩟`,wedge:`∧`,Wedge:`⋀`,wedgeq:`≙`,weierp:`℘`,wfr:`𝔴`,Wfr:`𝔚`,wopf:`𝕨`,Wopf:`𝕎`,wp:`℘`,wr:`≀`,wreath:`≀`,wscr:`𝓌`,Wscr:`𝒲`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,xfr:`𝔵`,Xfr:`𝔛`,xharr:`⟷`,xhArr:`⟺`,xi:`ξ`,Xi:`Ξ`,xlarr:`⟵`,xlArr:`⟸`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,xopf:`𝕩`,Xopf:`𝕏`,xoplus:`⨁`,xotime:`⨂`,xrarr:`⟶`,xrArr:`⟹`,xscr:`𝓍`,Xscr:`𝒳`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,yacute:`ý`,Yacute:`Ý`,yacy:`я`,YAcy:`Я`,ycirc:`ŷ`,Ycirc:`Ŷ`,ycy:`ы`,Ycy:`Ы`,yen:`¥`,yfr:`𝔶`,Yfr:`𝔜`,yicy:`ї`,YIcy:`Ї`,yopf:`𝕪`,Yopf:`𝕐`,yscr:`𝓎`,Yscr:`𝒴`,yucy:`ю`,YUcy:`Ю`,yuml:`ÿ`,Yuml:`Ÿ`,zacute:`ź`,Zacute:`Ź`,zcaron:`ž`,Zcaron:`Ž`,zcy:`з`,Zcy:`З`,zdot:`ż`,Zdot:`Ż`,zeetrf:`ℨ`,ZeroWidthSpace:`​`,zeta:`ζ`,Zeta:`Ζ`,zfr:`𝔷`,Zfr:`ℨ`,zhcy:`ж`,ZHcy:`Ж`,zigrarr:`⇝`,zopf:`𝕫`,Zopf:`ℤ`,zscr:`𝓏`,Zscr:`𝒵`,zwj:`‍`,zwnj:`‌`},_={aacute:`á`,Aacute:`Á`,acirc:`â`,Acirc:`Â`,acute:`´`,aelig:`æ`,AElig:`Æ`,agrave:`à`,Agrave:`À`,amp:`&`,AMP:`&`,aring:`å`,Aring:`Å`,atilde:`ã`,Atilde:`Ã`,auml:`ä`,Auml:`Ä`,brvbar:`¦`,ccedil:`ç`,Ccedil:`Ç`,cedil:`¸`,cent:`¢`,copy:`©`,COPY:`©`,curren:`¤`,deg:`°`,divide:`÷`,eacute:`é`,Eacute:`É`,ecirc:`ê`,Ecirc:`Ê`,egrave:`è`,Egrave:`È`,eth:`ð`,ETH:`Ð`,euml:`ë`,Euml:`Ë`,frac12:`½`,frac14:`¼`,frac34:`¾`,gt:`>`,GT:`>`,iacute:`í`,Iacute:`Í`,icirc:`î`,Icirc:`Î`,iexcl:`¡`,igrave:`ì`,Igrave:`Ì`,iquest:`¿`,iuml:`ï`,Iuml:`Ï`,laquo:`«`,lt:`<`,LT:`<`,macr:`¯`,micro:`µ`,middot:`·`,nbsp:`\xA0`,not:`¬`,ntilde:`ñ`,Ntilde:`Ñ`,oacute:`ó`,Oacute:`Ó`,ocirc:`ô`,Ocirc:`Ô`,ograve:`ò`,Ograve:`Ò`,ordf:`ª`,ordm:`º`,oslash:`ø`,Oslash:`Ø`,otilde:`õ`,Otilde:`Õ`,ouml:`ö`,Ouml:`Ö`,para:`¶`,plusmn:`±`,pound:`£`,quot:`"`,QUOT:`"`,raquo:`»`,reg:`®`,REG:`®`,sect:`§`,shy:`­`,sup1:`¹`,sup2:`²`,sup3:`³`,szlig:`ß`,thorn:`þ`,THORN:`Þ`,times:`×`,uacute:`ú`,Uacute:`Ú`,ucirc:`û`,Ucirc:`Û`,ugrave:`ù`,Ugrave:`Ù`,uml:`¨`,uuml:`ü`,Uuml:`Ü`,yacute:`ý`,Yacute:`Ý`,yen:`¥`,yuml:`ÿ`},v={0:`�`,128:`€`,130:`‚`,131:`ƒ`,132:`„`,133:`…`,134:`†`,135:`‡`,136:`ˆ`,137:`‰`,138:`Š`,139:`‹`,140:`Œ`,142:`Ž`,145:`‘`,146:`’`,147:`“`,148:`”`,149:`•`,150:`–`,151:`—`,152:`˜`,153:`™`,154:`š`,155:`›`,156:`œ`,158:`ž`,159:`Ÿ`},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],b=String.fromCharCode,x={}.hasOwnProperty,S=function(e,t){return x.call(e,t)},C=function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1},w=function(e,t){if(!e)return t;var n={},r;for(r in t)n[r]=S(e,r)?e[r]:t[r];return n},T=function(e,t){var n=``;return e>=55296&&e<=57343||e>1114111?(t&&te(`character reference outside the permissible Unicode range`),`�`):S(v,e)?(t&&te(`disallowed character reference`),v[e]):(t&&C(y,e)&&te(`disallowed character reference`),e>65535&&(e-=65536,n+=b(e>>>10&1023|55296),e=56320|e&1023),n+=b(e),n)},E=function(e){return`&#x`+e.toString(16).toUpperCase()+`;`},ee=function(e){return`&#`+e+`;`},te=function(e){throw Error(`Parse error: `+e)},ne=function(e,t){t=w(t,ne.options),t.strict&&m.test(e)&&te(`forbidden code point`);var n=t.encodeEverything,r=t.useNamedReferences,i=t.allowUnsafeSymbols,a=t.decimal?ee:E,f=function(e){return a(e.charCodeAt(0))};return n?(e=e.replace(s,function(e){return r&&S(u,e)?`&`+u[e]+`;`:f(e)}),r&&(e=e.replace(/&gt;\u20D2/g,`&nvgt;`).replace(/&lt;\u20D2/g,`&nvlt;`).replace(/&#x66;&#x6A;/g,`&fjlig;`)),r&&(e=e.replace(l,function(e){return`&`+u[e]+`;`}))):r?(i||(e=e.replace(d,function(e){return`&`+u[e]+`;`})),e=e.replace(/&gt;\u20D2/g,`&nvgt;`).replace(/&lt;\u20D2/g,`&nvlt;`),e=e.replace(l,function(e){return`&`+u[e]+`;`})):i||(e=e.replace(d,f)),e.replace(o,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return a((t-55296)*1024+n-56320+65536)}).replace(c,f)};ne.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var D=function(e,t){t=w(t,D.options);var n=t.strict;return n&&p.test(e)&&te(`malformed character reference`),e.replace(h,function(e,r,i,a,o,s,c,l,u){var d,f,p,m,h,v;return r?(h=r,g[h]):i?(h=i,v=a,v&&t.isAttributeValue?(n&&v==`=`&&te("`&` did not start a character reference"),e):(n&&te(`named character reference was not terminated by a semicolon`),_[h]+(v||``))):o?(p=o,f=s,n&&!f&&te(`character reference was not terminated by a semicolon`),d=parseInt(p,10),T(d,n)):c?(m=c,f=l,n&&!f&&te(`character reference was not terminated by a semicolon`),d=parseInt(m,16),T(d,n)):(n&&te(`named character reference was not terminated by a semicolon`),e)})};D.options={isAttributeValue:!1,strict:!1};var re={version:`1.2.0`,encode:ne,decode:D,escape:function(e){return e.replace(d,function(e){return f[e]})},unescape:D};if(typeof define==`function`&&typeof define.amd==`object`&&define.amd)define(function(){return re});else if(r&&!r.nodeType){if(i)i.exports=re;else for(var O in re)S(re,O)&&(r[O]=re[O])}else n.he=re})(e)}))();function Uc(e){for(;e!==(0,Hc.decode)(e);)e=(0,Hc.decode)(e);return e}var Wc=(e,t=!1)=>{if(!Uo(e))return``;e=Uc(e);let n=Vc.sanitize(e,{ALLOWED_TAGS:[],ALLOWED_ATTR:[],ALLOWED_URI_REGEX:[]});return t?(0,Hc.decode)(n):n},Gc=e=>Uo(e)?Vc.sanitize(Uc(e)):``,Kc=e=>Uo(e)?Vo(Uc(e)):``,qc=(e,t=`div`,n=!0)=>{let r=document.createElement(t);return r.innerHTML=Gc(n?e.trim():e),r},Jc=(e,t=!0,n=`textContent`)=>(typeof e==`string`&&(t&&(e=e.replace(/[\t|\n]/gm,``)),e=qc(e)),e[n]||e.textContent||e.innerText||``),Yc=(e,t=!0)=>(typeof e==`string`&&(e=qc(e,`div`,t)),e?.outerText??``),Xc=(e,t)=>{try{let n=JSON.parse(t);return n?n[`@type`]&&(e===n[`@type`]||Array.isArray(n[`@type`])&&n[`@type`].includes(e))?n:Array.isArray(n[`@graph`])&&n[`@graph`].find(t=>Array.isArray(t[`@type`])?t[`@type`].includes(e):t[`@type`]===e)||!1:!1}catch{return!1}},Zc=e=>(typeof e!=`string`&&(e=e instanceof HTMLIFrameElement||e instanceof HTMLVideoElement?e.outerHTML:e?.innerHTML||``),[].concat($c(e,`<iframe(?:[^>]+)?>`),$c(e,`\\[video( [^\\]]+?)?\\]`),$c(e,`<video(?:[^>]+)?>`),$c(e,/(http:\/\/|https:\/\/|)(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/)).length),Qc=e=>(typeof e!=`string`&&(e=e instanceof HTMLImageElement?e.outerHTML:e?.innerHTML||``),[].concat($c(e,`<img(?:[^>]+)?>`),$c(e,`\\[gallery( [^\\]]+?)?\\]`)).length);function $c(e,t){let n=new RegExp(t,`ig`),r=e.match(n);return r===null?[]:r}var el=()=>{let e=window.elementor.documents.getCurrent(),t=[];return e.$element?(e.$element.find(`.elementor-widget`).each((e,n)=>{let r=n.innerHTML.trim().replaceAll(/<div class="elementor-widget-container">(.*)<\/div>/g,`$1`).replaceAll(/<p.*>(<img.*>)<\/p>/g,`$1`);(Jc(r)!==``||Qc(r)!==0||Zc(r)!==0)&&t.push(r)}),t.join(` `)):``},tl=()=>{let{settings:e,config:t}=window.elementor;return{content:el(),title:e.page.model.get(`post_title`),excerpt:e.page.model.get(`post_excerpt`)||``,slug:ys(e.page.model.get(`post_title`)),permalink:t.document.urls.permalink||``,featuredImage:e.page.model.get(`post_featured_image`)?.url||``}},nl=`.et_pb_section`,rl=`.et-fb-post-content`,il=`.et-vb-ui`,al=/<style.*?<\/style>|\[object Object\]/gi,ol=/<p[^>]*>\s*(<img[^>]*>)\s*<\/p>/gi,sl=()=>{let e=ET_Builder?.Frames?.app?.frameElement||document.querySelector(`iframe#et-fb-app-frame`)||document.querySelector(`iframe#et-vb-app-frame`);if(!e)return document.createElement(`div`);let t=e.contentWindow.document.querySelectorAll(`#et-fb-app`);return Array.from(t).find(e=>e.classList.contains(`et-fb-root-ancestor`))||t[0]||document.createElement(`div`)},cl=()=>{let e=sl(),t=e.querySelector(rl);return t?.querySelector(nl)?t:e},ll=(e,t)=>{for(let n=t.parentElement;n&&n!==e;n=n.parentElement)if(n.matches(nl))return!0;return!1},ul=e=>{let t=e.cloneNode(!0);return t.querySelectorAll(il).forEach(e=>e.remove()),t.innerHTML},dl=()=>{let e=cl();return Array.from(e.querySelectorAll(nl)).filter(t=>!ll(e,t)).map(e=>ul(e).replace(al,``).replaceAll(ol,`$1`)).filter(e=>Jc(e)||Qc(e)||Zc(e)).join(` `)},fl=``;document.addEventListener(`aioseo-pagebuilder-modal-state`,e=>{e.detail?.isOpen});var pl=()=>document.querySelector(`iframe#et-vb-app-frame`)?.contentWindow,ml=()=>pl()?.divi?.data,hl=e=>ml()?.select(`divi/page-settings`)?.getSetting(e),gl=e=>ml()?.select(`divi/settings`)?.getSetting(e),_l=()=>hl(`postImage`)||0,vl=()=>gl([`post`,`url`])||``,yl=()=>hl(`postTitle`)||``,bl=()=>hl(`postExcerpt`)||``,xl=()=>{try{let e=new URL(vl()).pathname.replace(/\/$/,``).split(`/`).pop();if(e)return e}catch{}return ys(yl())},Sl=()=>ml()?.select(`divi/app-ui`)?.getView()===`wireframe`?fl:dl(),Cl=()=>ETBuilderBackendDynamic?.currentPage?.thumbnailId||0,wl=()=>ETBuilderBackendDynamic?.currentPage?.permalink,Tl=()=>ETBuilderBackendDynamic?.postTitle||``,El=()=>ETBuilderBackendDynamic?.postMeta?.post_excerpt||``,Dl=()=>ETBuilderBackendDynamic?.postMeta?.post_name||ys(ETBuilderBackendDynamic?.postTitle||``),Ol=5<=(parseInt(window.aioseo?.theme?.templateVersion,10)||0),kl=()=>Ol?_l():Cl(),Al=()=>{let e=Ol?vl():wl();try{let t=new URL(e);return t.searchParams.delete(`PageSpeed`),t.href}catch{return e||``}},jl=()=>Ol?yl():Tl(),Ml=()=>Ol?bl():El(),Nl=()=>Ol?xl():Dl(),Pl=async()=>{let{wp:e}=window,t=kl();if(!e||!t)return``;try{let n=e.media.attachment(t);n.get(`url`)||await n.fetch();let r=n.get(`url`);return!Ol&&ETBuilderBackendDynamic?.currentPage&&(ETBuilderBackendDynamic.currentPage.thumbnailUrl=r),r}catch{return``}},Fl=()=>Ol?Sl():dl(),Il=({includeFeaturedImage:e=!0}={})=>({content:Fl(),title:jl(),excerpt:Ml(),slug:Nl(),permalink:Al(),...e&&{featuredImage:Pl()}}),Ll=e=>{let t;switch(e.type){case`header`:t=document.createElement(e.settings.tag),t.innerHTML=e.settings.headerTxt.trim();break;case`image`:let n=document.createElement(`img`);e.settings.altTxt&&n.setAttribute(`alt`,e.settings.altTxt),e.settings.src&&n.setAttribute(`src`,e.settings.src),e.settings.noFollow&&n.setAttribute(`rel`,`nofollow`),t=n,e.settings.link&&(t=document.createElement(`a`),t.setAttribute(`href`,e.settings.link),t.innerHTML=n.outerHTML,e.settings.noFollow&&t.setAttribute(`rel`,`nofollow`),e.settings.openNewWindow&&t.setAttribute(`target`,`_blank`));break;case`video`:e.settings.type===`youtube`?(t=document.createElement(`iframe`),t.setAttribute(`src`,e.settings.youtubeUrl)):(t=document.createElement(`div`),t.innerHTML=e.settings.code);break;case`text`:t=document.createElement(`div`),t.innerHTML=e.settings.txt.trim();break;case`button`:t=document.createElement(`a`),t.appendChild(document.createTextNode(e.settings.btnTxt+` `+e.settings.btnSubTxt)),e.settings.link&&t.setAttribute(`href`,e.settings.link),e.settings.altTxt&&t.setAttribute(`alt`,e.settings.altTxt),e.settings.src&&t.setAttribute(`src`,e.settings.src),e.settings.noFollow&&t.setAttribute(`rel`,`nofollow`),e.settings.openNewWindow&&t.setAttribute(`target`,`_blank`);break;case`bullet-list`:t=document.createElement(`ul`),e.settings.items.forEach(e=>{let n=document.createElement(`li`);n.innerHTML=e.txt,t.appendChild(n)});break;case`custom-html`:t=document.createElement(`div`),t.innerHTML=e.settings.code}return t},Rl=()=>{let e=[];return JSON.parse(JSON.stringify(ca(seedprod_data,`settings.document.sections`,[]))).forEach(t=>{t.rows.forEach(t=>{t.cols.forEach(t=>{t.blocks.forEach(t=>{let n=Ll(t);n&&(Jc(n)!==``||Qc(n)!==0||Zc(n)!==0)&&e.push(n.outerHTML)})})})}),e.join(` `)},zl=()=>`${ca(seedprod_data,`home_url`,``)}/${ca(seedprod_data,`settings.post_name`,``)}/`,Bl=()=>({content:Rl(),title:ca(seedprod_data,`settings.post_title`,``),excerpt:``,slug:ca(seedprod_data,`settings.post_name`,``),permalink:zl()}),Vl=()=>Z().currentPost.processedContent,Hl=e=>{if(e===`admin_frontend_editor`){let{vc:e}=window;return e.builder.getTitle()||document.querySelector(`#vc_page-title-field`)?.value}return document.getElementById(`#title`)?.value||``},Ul=e=>e===`admin_frontend_editor`&&document.querySelector(`#vc_post_excerpt`)?.value||``,Wl=e=>{if(e===`admin_frontend_editor`){let{vc_iframe_src:e}=window,t=new URL(e).pathname.split(`/`).filter(e=>e);return t[t.length-1]||document.querySelector(`#vc_post_name`)?.value}return document.querySelector(`#post_name`)?.value||``},Gl=e=>{if(e===`admin_frontend_editor`){let{vc_iframe_src:e}=window;return e.replace(new URL(e).search,``)}return document.querySelector(`#sample-permalink a`)?.href||``},Kl=()=>{let{vc_mode:e}=window,t=Wl(e)||ys(Hl(e));return{content:Vl(),title:Hl(e),excerpt:Ul(e),slug:t,permalink:Gl(e),featuredImage:``}},ql=()=>Z().currentPost?.processedContent||``,Jl=()=>{let{FusionApp:e}=window;return e?.getPost(`post_title`)||document.getElementById(`#title`)?.value||``},Yl=()=>{let{FusionApp:e}=window;return e?.getDynamicPost(`post_meta`)?.post_excerpt||``},Xl=()=>{let{FusionApp:e}=window;return e?.getPost(`post_name`)||document.querySelector(`#post_name`)?.value||``},Zl=()=>{let{FusionApp:e}=window,t=e?.getPost(`post_permalink`);return(typeof t==`string`?t.replace(`?fb-edit=1`,``):``)||document.querySelector(`#sample-permalink a`)?.href||``},Ql=async()=>{let{wp:e,FusionApp:t}=window;if(!e||!t||!t.getDynamicPost(`post_meta`)?._thumbnail_id)return``;let n=e.media.attachment(t.getDynamicPost(`post_meta`)._thumbnail_id);return n.get(`url`)||await n.fetch(),n.get(`url`)||``},$l=()=>({content:ql(),title:Jl(),excerpt:Yl(),slug:Xl(),permalink:Zl(),featuredImage:Ql()}),eu=()=>{let e=``,t=`p.a.img.caption.br.video.iframe.blockquote.cite.em.strong.i.b.q.h1.h2.h3.h4.h5.h6.ul.ol.li.table.tr.th.td`.split(`.`),n=function(e){let n=qc(e);if(n.querySelectorAll(`.so-panel`).length===0)return e;for(let e of n.querySelectorAll(`iframe, script, style, link`))e.remove();return n.querySelectorAll(`*`).forEach(e=>{if(!t.includes(e.tagName.toLowerCase())){let t=Array.from(e.childNodes);e.replaceWith(...t)}}),n.innerHTML?.replace(/[\t|\n]/gm,` `)||``},{soPanelsBuilderView:r}=window;return r&&(Array.isArray(r)?r.forEach(function(t){e+=n(t.contentPreview)}):e=n(r.contentPreview)),e},tu=()=>({content:eu(),title:``,excerpt:``,slug:``,permalink:``,featuredImage:``}),nu=()=>TVE?.Editor_Page?.content_manager?.get_clean_content()||``,ru=()=>TVE?.CONST?.post?.post_title||``,iu=()=>TVE?.CONST?.post?.post_name||``,au=()=>TVE?.CONST?.post_url||``,ou=()=>{let e=TVE?.CONST?.theme?.post_featured_image?.src||TVE?.CONST?.post_image?.featured||``;return e.includes(`inc/assets/images/featured_image.png`)?``:e},su=()=>({content:nu(),title:ru(),excerpt:``,slug:iu()||ys(ru()),permalink:au(),featuredImage:ou()}),cu=()=>{let e=Z().currentPost.processedContent;return Vc.sanitize(e,{ADD_TAGS:[`iframe`],ALLOWED_ATTR:[`href`,`src`,`alt`],ALLOW_ARIA_ATTR:!1,ALLOW_DATA_ATTR:!1,ALLOW_UNKNOWN_TAGS:!1,FORBID_TAGS:[`script`,`style`],FORBID_ATTR:[`style`,`on*`]})},lu=()=>window.bricksData?.wp?.post?.title||``,uu=()=>{try{let e=new URL(window.bricksData?.previewUrl||``);return e.origin+e.pathname}catch{return``}},du=()=>{try{let e=new URL(window.bricksData?.previewUrl||``).pathname.replace(/\/$/,``).split(`/`);return e[e.length-1]}catch{return``}},fu=()=>Wd().tags.find(e=>e.id===`post_excerpt`)?.value||``,pu=async()=>{let e=window.bricksData?.featuredImage?.url||``;try{return new URL(e),e}catch{return``}},mu=()=>({content:cu(),title:lu(),excerpt:fu(),slug:du(),permalink:uu(),featuredImage:pu()}),hu=()=>Z().currentPost?.processedContent||``,gu=()=>Wd().tags.find(e=>e.id===`post_title`)?.value||``,_u=()=>Wd().tags.find(e=>e.id===`permalink`)?.value||``,vu=()=>{try{let e=new URL(_u()).pathname.replace(/\/$/,``).split(`/`);return e[e.length-1]}catch{return``}},yu=()=>Wd().tags.find(e=>e.id===`post_excerpt`)?.value||``,bu=async()=>``,xu=()=>({content:hu(),title:gu(),excerpt:yu(),slug:vu(),permalink:_u(),featuredImage:bu()}),Su=/base64,(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)/g,Cu=[`acf`,`aioseo`,`core`],wu=()=>{let e=[{isEditor:ss,getData:tl},{isEditor:cs,getData:Il},{isEditor:ls,getData:Bl},{isEditor:us,getData:Kl},{isEditor:ds,getData:$l},{isEditor:ps,getData:tu},{isEditor:fs,getData:su},{isEditor:ms,getData:mu},{isEditor:hs,getData:xu}];for(let t of e)if(t.isEditor())return t.getData()?.content??``;return``},Tu=e=>{if(!e.includes(`<!-- wp:block {"ref":`))return e;let t=window.wp.blocks?.rawHandler({HTML:e});return ts(t).forEach(t=>{if(t.name===`core/block`){let n=window.wp.data.select(`core`).getEntityRecord(`postType`,`wp_block`,t.attributes?.ref);n?.content?.raw&&(e=e.replace(`<!-- wp:block {"ref":${t.attributes?.ref}} /-->`,n.content.raw))}}),e},Eu=(e,t)=>(window.wp.data.select(`core/block-editor`).getBlocks().forEach(n=>{let[r,i]=n.name.split(`/`);if(t.includes(r)){if(r===`core`&&i!==`table`||r===`aioseo`&&i===`faq`)return;let t=document.getElementById(`block-`+n.clientId);if(t?.innerText){let a=r===`core`?i:n.name,o=`<!-- wp:${a}(?:\\s+\\{[^}]*\\})?\\s*-->.*?<!-- /wp:${a} -->|<!-- wp:${a}(?:\\s+\\{[^}]*\\})?\\s*/-->`;e=e.replace(new RegExp(o,`s`),t.innerText)}}}),e),Du=()=>{let e=Wd();if(e.liveTags.post_content)return e.liveTags.post_content;let t=``;if(as()&&!gs()){if(window.tinyMCE||document.querySelector(`#wp-content-wrap.html-active`))t=ku();else{let e=window.setInterval(()=>{window.tinyMCE&&(window.clearInterval(e),t=ku())},50)}}return is()&&(t=window.wp.data.select(`core/editor`).getCurrentPost().content||``,t=Tu(t),t=Eu(t,Cu)),gs()&&(t=wu()),Z().currentPost.descriptionIncludeCustomFields&&(t+=Xo()),t=t.replace(Su,``),t&&e.updatePostContent(t),t},Ou=(e=!1)=>{let t=``;if(as()&&!gs()){if(window.tinyMCE||document.querySelector(`#wp-content-wrap.html-active`))t=ku();else{let e=window.setInterval(()=>{window.tinyMCE&&(window.clearInterval(e),t=ku())},50)}}is()&&(t=window.wp.data.select(`core/editor`).getEditedPostContent(),t=Tu(t),t=Eu(t,Cu)),gs()&&(t=wu());let n=Z();return!e&&n.currentPost.descriptionIncludeCustomFields&&(t+=Xo()),t=t.replace(Su,``),t},ku=()=>{let e,t=window.tinyMCE?window.tinyMCE.get(`content`):``;if(document.querySelector(`#wp-content-wrap.tmce-active`)&&t)e=t.getContent({format:vs(t)?`html`:`raw`});else{let t=document.querySelector(`textarea#content`);e=t?t.value:``}return e},G=`table-of-contents-plus`;L(`always`,G),L(`hourly`,G),L(`daily`,G),L(`weekly`,G),L(`monthly`,G),L(`yearly`,G),L(`never`,G);var Au={add:L(`Add`,G),cancel:L(`Cancel`,G),delete:L(`Delete`,G),disabled:L(`Disabled`,G),edit:L(`Edit`,G),enabled:L(`Enabled`,G),hide:L(`Hide`,G),import:L(`Import`,G),include:L(`Include`,G),learnMore:L(`Learn More`,G),no:L(`No`,G),off:L(`Off`,G),on:L(`On`,G),or:L(`Or`,G),preview:L(`Preview`,G),remove:L(`Remove`,G),show:L(`Show`,G),value:L(`Value`,G),yes:L(`Yes`,G)};L(`Manually Enter Type`,G),L(`Billing Support`,G),L(`Customer Support`,G),L(`Reservations`,G),L(`Sales`,G),L(`Technical Support`,G),L(`Activities`,G),L(`Activity`,G),L(`Sport`,G),L(`Businesses`,G),L(`Bar`,G),L(`Company`,G),L(`Cafe`,G),L(`Hotel`,G),L(`Restaurant`,G),L(`Groups`,G),L(`Cause`,G),L(`Sports League`,G),L(`Sports Team`,G),L(`Organizations`,G),L(`Band`,G),L(`Non-Profit`,G),L(`School`,G),L(`University`,G),L(`People`,G),L(`Actor`,G),L(`Athlete`,G),L(`Author`,G),L(`Director`,G),L(`Musician`,G),L(`Politician`,G),L(`Profile`,G),L(`Public Figure`,G),L(`Places`,G),L(`City`,G),L(`Country`,G),L(`Landmark`,G),L(`State/Province`,G),L(`Products & Entertainment`,G),L(`Album`,G),L(`Book`,G),L(`Drink`,G),L(`Food`,G),L(`Game`,G),L(`Movie`,G),L(`Product`,G),L(`Song`,G),L(`TV Show`,G),L(`Episode`,G),L(`Websites`,G),L(`Article`,G),L(`Website`,G),``+L(`Moved Permanently`,G),``+L(`Found`,G),``+L(`See Other`,G),``+L(`Not Modified`,G),``+L(`Temporary Redirect`,G),``+L(`Permanent Redirect`,G),``+L(`Bad Request`,G),``+L(`Unauthorized`,G),``+L(`Forbidden`,G),``+L(`Not Found`,G),``+L(`Gone`,G),``+L(`I'm a Teapot`,G),``+L(`Unavailable for Legal Reasons`,G),``+L(`Internal Server Error`,G),``+L(`Not Implemented`,G),``+L(`Bad Gateway`,G),``+L(`Service Unavailable`,G),``+L(`Gateway Timeout`,G),``+L(`HTTP Version Not Supported`,G),L(`Pass through`,G),L(`Ignore all parameters`,G),L(`Exact match all parameters in any order`,G),L(`Ignore & pass parameters to the target`,G),L(`Ignore all parameters except UTM`,G),L(`Manual Redirects`,G),L(`Modified Posts`,G),L(`404 Redirects`,G),L(`default`,G),L(`Animal Shelter`,G),L(`Archive Organization`,G),L(`Automotive Business`,G),L(`Childcare`,G),L(`Dentist`,G),L(`Dry Cleaning/Laundry`,G),L(`Emergency Service`,G),L(`Employment Agency`,G),L(`Entertainment Business`,G),L(`Financial Service`,G),L(`Food Establishment`,G),L(`Government Office`,G),L(`Health & Beauty Business`,G),L(`Home & Construction Business`,G),L(`Internet Cafe`,G),L(`Legal Service`,G),L(`Library`,G),L(`Lodging Business`,G),L(`Medical Business`,G),L(`Professional Service`,G),L(`Radio Station`,G),L(`Real Estate Agent`,G),L(`Recycling Center`,G),L(`Self Storage`,G),L(`Shopping Center`,G),L(`Sports Activity Location`,G),L(`Store`,G),L(`Television Station`,G),L(`Tourist Information Center`,G),L(`Travel Agency`,G),L(`General`,G),L(`CORS`,G),L(`Security`,G),L(`Login Status`,G),L(`Referrer`,G),L(`WordPress User Roles`,G),L(`User Agent`,G),L(`Cookie`,G),L(`IP Address`,G),L(`Server`,G),L(`HTTP Header`,G),L(`WordPress Filter`,G),L(`Locale`,G),L(`Mobile`,G),L(`Feeds`,G),L(`Libraries`,G),L(`Logged In`,G),L(`Logged Out`,G),L(`Schedule`,G),L(`Smart Schema`,G),L(`Local SEO`,G),L(`Redirection Manager`,G),L(`Link Assistant`,G),L(`Google Search Console Integration`,G),L(`News & Video Sitemap`,G),L(`Image SEO`,G),L(`Custom Breadcrumb Templates`,G),L(`Advanced support for e-commerce`,G),L(`User Access Control`,G),L(`SEO for Categories, Tags and Custom Taxonomies`,G),L(`Social meta for Categories, Tags and Custom Taxonomies`,G),L(`Ad free (no banner adverts)`,G),L(`Online`,G),L(`Onsite`,G),L(`Blended`,G),L(`Daily`,G),L(`Weekly`,G),L(`Monthly`,G),L(`Yearly`,G),L(`Business Event`,G),L(`Childrens Event`,G),L(`Comedy Event`,G),L(`Dance Event`,G),L(`Delivery Event`,G),L(`Education Event`,G),L(`Exhibition Event`,G),L(`Festival`,G),L(`Food Event`,G),L(`Hackathon`,G),L(`Literary Event`,G),L(`Music Event`,G),L(`Publication Event`,G),L(`Sale Event`,G),L(`Screening Event`,G),L(`Social Event`,G),L(`Sports Event`,G),L(`Theater Event`,G),L(`Visual Arts Event`,G),L(`Scheduled`,G),L(`Cancelled`,G),L(`Postponed`,G),L(`Rescheduled`,G),L(`Moved Online`,G),L(`Paid`,G),L(`Subscription`,G),L(`Free`,G),L(`Partially Free`,G),L(`Web Page`,G),L(`About Page`,G),L(`Checkout Page`,G),L(`Collection Page`,G),L(`Contact Page`,G),L(`Item Page`,G),L(`Medical Page`,G),L(`Profile Page`,G),L(`Real Estate Listing`,G),L(`Search Results Page`,G),L(`Full Time`,G),L(`Part Time`,G),L(`Contractor`,G),L(`Temporary`,G),L(`Intern`,G),L(`Volunteer`,G),L(`Day-by-Day Basis`,G),L(`Other`,G),L(`Professional Certificate`,G),L(`High School`,G),L(`Associate Degree`,G),L(`Bachelor Degree`,G),L(`Postgraduate Degree`,G),L(`Annual`,G),L(`Month`,G),L(`Week`,G),L(`Day`,G),L(`Hour`,G),L(`Male`,G),L(`Female`,G),L(`Unisex`,G),L(`Adults`,G),L(`Kids`,G),L(`Toddlers`,G),L(`Infants`,G),L(`Newborns`,G),L(`Kids`,G),L(`Toddlers`,G),L(`Infants`,G),L(`Newborns`,G),L(`N/A`,G),L(`New`,G),L(`Used`,G),L(`All Wheel Drive`,G),L(`Four Wheel Drive`,G),L(`Front Wheel Drive`,G),L(`Rear Wheel Drive`,G),L(`Miles`,G),L(`Kilometers`,G);var K=`table-of-contents-plus`,ju={titles:10,descriptions:10,socialPosts:10,keyPoints:10,faqs:10,schemas:25,aiAssistant:50,imageAltText:10,imageGenerator:250,truseoSuggest:5,truseoSpelling:5,truseoOptimizePost:25},Mu=e=>typeof e!=`object`||!e?[e===``?NaN:Number(e)]:Object.values(e).flatMap(Mu),Nu=e=>{let t=Mu((X().internalOptions?.internal?.ai?.costPerFeature||{})[e]).filter(Number.isFinite);return t.length?Math.min(...t):ju[e]??10},Pu=()=>{let e=Lu(),t=Q(),n=X(),r=e.options?.minContentLength||200,i=[{value:`analytical`,label:L(`Analytical`,K)},{value:`concise`,label:L(`Concise`,K)},{value:`empathetic`,label:L(`Empathetic`,K)},{value:`friendly`,label:L(`Friendly`,K)},{value:`formal`,label:L(`Formal`,K)},{value:`humorous`,label:L(`Humorous`,K)},{value:`informal`,label:L(`Informal`,K)},{value:`informative`,label:L(`Informative`,K)},{value:`motivational`,label:L(`Motivational`,K)},{value:`neutral`,label:L(`Neutral`,K)},{value:`persuasive`,label:L(`Persuasive`,K)},{value:`playful`,label:L(`Playful`,K)},{value:`professional`,label:L(`Professional`,K)},{value:`serious`,label:L(`Serious`,K)},{value:`storytelling`,label:L(`Storytelling`,K)},{value:`urgent`,label:L(`Urgent`,K)}],a=[{value:`academic`,label:L(`Academic`,K)},{value:`beginners-novices`,label:L(`Beginners & Novices`,K)},{value:`business`,label:L(`Business`,K)},{value:`creative-artistic`,label:L(`Creative & Artistic`,K)},{value:`educational`,label:L(`Educational`,K)},{value:`general`,label:L(`General`,K)},{value:`parents-families`,label:L(`Parents & Families`,K)},{value:`technical`,label:L(`Technical`,K)}],o=[{label:L(`Medium`,K),value:`medium`},{label:L(`Low`,K),value:`low`}],s=[{label:L(`Auto`,K),value:`auto`},{label:L(`3D Render`,K),value:`3d-render`},{label:L(`Cinematic`,K),value:`cinematic`},{label:L(`Creative`,K),value:`creative`},{label:L(`Illustration`,K),value:`illustration`},{label:L(`Minimalist`,K),value:`minimalist`},{label:L(`Stock Photo`,K),value:`stock-photo`},{label:L(`Vibrant`,K),value:`vibrant`}],c=[{label:L(`Landscape (3:2)`,K),value:`landscape`},{label:L(`Portrait (2:3)`,K),value:`portrait`},{label:L(`Square (1:1)`,K),value:`square`}],l=[{label:L(`Nano Banana 2`,K),value:`gemini-3.1-flash-image`,description:L(`Google's state-of-the-art image model. Excels at photorealism, accurate in-image text, and creative edits.`,K),badge:{text:L(`New`,K),color:`green`},supportsQuality:!1,flatCost:1e3},{label:L(`GPT Image 2`,K),value:`gpt-image-2`,description:L(`OpenAI's state-of-the-art model with precise text rendering and high-fidelity output.`,K),badge:{text:L(`Updated`,K),color:`blue`},supportsQuality:!0}],u=(e,t)=>{if(!e||!t)return null;let n=e/t;return 1<n?`landscape`:1>n?`portrait`:`square`},d=()=>Ou().replace(/<\/?[a-z][^>]*?>/gi,``).replace(/<!--[\s\S]*?-->/g,``).trim().length;return{audienceOptions:a,getAspectRatioFromDimensions:u,getFeatureCost:Nu,getPostContentLength:d,getRephraseCost:()=>{let e=n.internalOptions?.internal?.ai?.costPerFeature||{};return Number(e.rephrase||5)},hasEnoughContent:()=>d()>=r,hasEnoughCredits:e=>n.internalOptions.internal.ai.credits.remaining>=e,imageAspectRatioOptions:c,imageModelOptions:l,imageQualityOptions:o,imageStyleOptions:s,loadingText:e=>R(L(`Loading %1$s Content`,K),e),minContentLength:r,strings:{credits:L(`Credits`,K),disclaimer:R(L(`AI-generated content could be inaccurate or biased. %1$s`,K),V.getDocLink(Au.learnMore,`aiDisclaimer`,!0)),alertDescription:R(L(`You can manage your default settings under <a href="%1$s" target="_blank" rel="noopener noreferrer">AI Suite > AI Content</a>.`,K),t.aioseo.urls.aio.aiSuite+`#/ai-content`),audience:L(`Audience`,K),tone:L(`Tone`,K),imageQuality:L(`Quality`,K),imageStyle:L(`Style`,K),imageAspectRatio:L(`Aspect Ratio`,K),imageModel:L(`Image Model`,K),noContentWarning:R(L(`Your post is too short to generate AI content. Please add more content. For the best results, we recommend adding at least %1$d characters.`,K),r),rephrase:L(`Regenerate`,K),somethingWrong:L(`We ran into an error. Please try again or contact support if it persists.`,K),viewPreviousResults:L(`View Previous Results`,K)},toneOptions:i}};z(`AiAssistantStore`,{state:()=>({capability:`aioseo_page_ai_content_settings`,options:{input:{userPrompt:{maxlength:1e3}}},extend:{block:!0,blockEditorInserterButton:!0,paragraphPlaceholder:!0},isBlockHiddenByUser:!1}),getters:{isBlockEnabled:e=>e.extend.block,isBlockAvailable:e=>e.extend.block&&!e.isBlockHiddenByUser,hasPermission:e=>Ko(e.capability),generationPrice:()=>(X().internalOptions?.internal?.ai?.costPerFeature||{}).aiAssistant||ju.aiAssistant},actions:{updateBlockHiddenByUser(){let e=window.wp?.data?.select(`core/preferences`);if(!e)return;let t=(e.get(`core`,`hiddenBlockTypes`)||e.get(`core/edit-post`,`hiddenBlockTypes`)||[]).includes(`aioseo/ai-assistant`);this.isBlockHiddenByUser!==t&&(this.isBlockHiddenByUser=t)}}}),z(`AiImageGeneratorStore`,{state:()=>({currentScreen:`generate`,extend:{imageBlockToolbar:!0,imageBlockPlaceholder:!0,featuredImageButton:!0},form:{prompt:{value:``,id:`aioseo-ai-image-generator-input-prompt`,maxlength:1e3,minlength:5},quality:{value:null,id:`aioseo-ai-image-generator-input-quality`},aspectRatio:{value:null,id:`aioseo-ai-image-generator-input-aspect-ratio`},model:{value:null,id:`aioseo-ai-image-generator-input-model`},isGenerating:!1,generationElapsedTime:null},errors:{api:null},images:{isFetching:!1,selected:[],all:{rows:[]},count:null},modalOpenDeleteImages:!1,initiator:{slug:null,wpMedia:null}}),getters:{formPrompt:e=>(e.form.prompt.value||``).trim(),error:e=>e.errors.api?{message:e.errors.api,type:`red`}:null,selectedImage:e=>e.images.selected?.length?e.images.selected[0]:null,generationPrice:e=>{let t=(X().internalOptions?.internal?.ai?.costPerFeature||{}).imageGenerator||{},n=e.form.quality.value?.value,r=e.form.model.value?.value,i=r?t[r]:void 0;if(typeof i==`number`||typeof i==`string`)return Number(i);if(i&&typeof i==`object`&&n&&i[n]!==void 0)return Number(i[n]);let a=e.form.model.value?.flatCost;if(a)return Number(a);if(n&&t[n])return Number(t[n]);switch(n){case`low`:return 250;case`medium`:return 1e3}return 0},canGenerate(e){let t=X().internalOptions.internal.ai.credits.remaining>=this.generationPrice,n=this.formPrompt.length>=e.form.prompt.minlength,r=!!this.selectedImage&&this.selectedImage.prompt===this.formPrompt;return t&&n&&!r},isGenerationTakingTooLong:e=>!e.form.isGenerating||!e.form.generationElapsedTime?!1:20<e.form.generationElapsedTime},actions:{selectImage(e){let{getAspectRatioFromDimensions:t,imageQualityOptions:n,imageAspectRatioOptions:r,imageModelOptions:i}=Pu(),a=X();this.images.selected=[e],this.form.prompt.value=e?.prompt||``,this.form.quality.value=n.find(t=>t.value===e?.quality)||n.find(e=>e.value===a.options.aiContent.imageQuality)||n[0],this.form.model.value=i.find(t=>t.value===e?.model)||i.find(e=>e.value===a.options.aiContent.imageModel)||i[0];let o=e?.aspectRatio||t(e?.width,e?.height);this.form.aspectRatio.value=r.find(e=>e.value===o)||r.find(e=>e.value===a.options.aiContent.imageAspectRatio)},generateImage(){let e=Lu();this.form.isGenerating=!0,this.form.generationElapsedTime=0;let t=setInterval(()=>{this.form.generationElapsedTime+=1},1e3),n=Z();return H.post(V.restUrl(`ai/image-generator`)).send({prompt:this.formPrompt,quality:this.form.quality.value.value,aspectRatio:this.form.aspectRatio.value.value,model:this.form.model.value?.value,selectedImageId:this.selectedImage?.id||null,postId:n.currentPost.id||null}).then(e=>{if(!e.body.success)throw Error(e.body.message);return e.body}).catch(e=>{throw e}).finally(()=>{this.form.isGenerating=!1,this.form.generationElapsedTime=null,clearInterval(t),e.getCredits(!0)})},fetchImages(){this.images.isFetching=!0;let e=Z();return H.get(V.restUrl(`ai/image-generator`)).query({postId:e.currentPost?.id||null}).then(e=>(this.images.all.rows=e.body.all.rows,this.images.count=e.body.count,e)).catch(e=>{throw e}).finally(()=>{this.images.isFetching=!1})},deleteImages(e){return H.delete(V.restUrl(`ai/image-generator`)).send({ids:e}).then(e=>e).catch(e=>{throw e})},switchScreen(e){this.images.selected=[],this.form.prompt.value=``,this.errors.api=null,this.currentScreen=e},toggleModal(e){e.modal===`modalOpenDeleteImages`&&e.open&&(this.images.selected=e?.images??[]),this[e.modal]=e.open},resetInitiator(){this.initiator={slug:null,wpMedia:null}},setFormDefaults(){let e=X(),{imageQualityOptions:t,imageAspectRatioOptions:n,imageModelOptions:r}=Pu();this.form.quality.value=t.find(t=>t.value===e.options.aiContent.imageQuality)||t[0],this.form.aspectRatio.value=n.find(t=>t.value===e.options.aiContent.imageAspectRatio),this.form.model.value=r.find(t=>t.value===e.options.aiContent.imageModel)||r[0]}}}),z(`AiSchemaGeneratorStore`,{state:()=>({currentScreen:null,generating:!1,mode:`smart`,userPrompt:``})});var Fu=()=>{let e=[{isEditor:ss,getData:tl},{isEditor:cs,getData:Il},{isEditor:ls,getData:Bl},{isEditor:us,getData:Kl},{isEditor:ds,getData:$l},{isEditor:ps,getData:tu},{isEditor:fs,getData:su},{isEditor:ms,getData:mu},{isEditor:hs,getData:xu}];for(let t of e)if(t.isEditor())return t.getData()?.permalink??``;return``},Iu=()=>{let e=Wd();if(e.liveTags.permalink)return e.liveTags.permalink;let t;if(as()||os){let e=document.querySelector(`#edit-slug-box a`);e?.href&&(t=e.href)}return is()&&(t=window.wp.data.select(`core/editor`).getPermalink()),t||=Fu(),t&&e.updatePermalink(t),t},Lu=z(`AiStore`,{state:()=>({options:{},faqs:{tone:``,audience:``},keyPoints:{tone:``,audience:``},socialPosts:{tone:``,audience:``,selected:[]},metaTitle:{tone:``,audience:``},metaDescription:{tone:``,audience:``},isModalOpened:null}),actions:{storeAccessToken(e){let t=Nd();return t.hasAiAccessToken=!!e,H.post(V.restUrl(`ai/auth`)).send({accessToken:e}).then(e=>{if(e.body.error){console.error(e.body.error);return}let t=X();return t.internalOptions.internal.ai=e.body.aiOptions,e})},getCredits(e=!1){return H.post(V.restUrl(`ai/credits`)).send({refresh:e}).then(e=>{if(e.body.error){console.error(e.body.error);return}let t=X();return t.internalOptions.internal.ai=Wo({},t.internalOptions.internal.ai,e.body.aiOptions),e})},generateSocialPosts(){let e=Z(),t=this.socialPosts.selected.map(e=>e.slug);return H.post(V.restUrl(`ai/social-posts`)).send({postId:e.currentPost.id,postContent:Ou(),permalink:Iu(),options:{media:t,tone:this.socialPosts.tone,audience:this.socialPosts.audience}}).then(t=>{if(t.body.error){console.error(t.body.error);return}e.currentPost.ai.socialPosts=t.body.snippets;let n=X();return n.internalOptions.internal.ai=t.body.aiOptions,t})},generateFaqs(e=!1){let t=Z();return H.post(V.restUrl(`ai/faqs`)).send({postId:t.currentPost.id,postContent:Ou(),options:{tone:this.faqs.tone,audience:this.faqs.audience},rephrase:e,faqs:t.currentPost.ai.faqs}).then(e=>{if(e.body.error)return console.error(e.body.error),Promise.reject(e.body.error);t.currentPost.ai.faqs=e.body.faqs;let n=X();return n.internalOptions.internal.ai=e.body.aiOptions,e})},generateSchemas(e){let t=Z();return H.post(V.restUrl(`ai/schema`)).send({postId:t.currentPost.id,...e}).then(e=>{if(e.body.error)return Promise.reject(e.body.error);t.currentPost.ai.schemas=e.body.schemas;let n=X();return n.internalOptions.internal.ai=e.body.aiOptions,e})},generateKeyPoints(e=!1){let t=Z();return H.post(V.restUrl(`ai/key-points`)).send({postId:t.currentPost.id,postContent:Ou(),options:{tone:this.keyPoints.tone,audience:this.keyPoints.audience},rephrase:e,keyPoints:t.currentPost.ai.keyPoints}).then(e=>{if(e.body.error){console.error(e.body.error);return}t.currentPost.ai.keyPoints=e.body.keyPoints;let n=X();return n.internalOptions.internal.ai=e.body.aiOptions,e})},generateMetaTitles(e={}){let t=X();return H.post(V.restUrl(`ai/meta/title`)).send({postId:e.postId,postContent:e?.postContent||``,focusKeyword:e?.focusKeyword||``,rephrase:e?.rephrase||!1,titles:e?.titles||[],options:{tone:this.metaTitle.tone||t.options.aiContent.tone,audience:this.metaTitle.audience||t.options.aiContent.audience}}).then(e=>e.body.error?Promise.reject(e.body.error):(t.internalOptions.internal.ai=e.body.aiOptions,e)).catch(e=>{throw e})},generateImageAlt(e={}){return H.post(V.restUrl(`ai/image/alt`)).send({attachmentId:e.attachmentId}).then(e=>{if(e.body.error)return Promise.reject(e.body.error);let t=X();return t.internalOptions.internal.ai=e.body.aiOptions,e}).catch(e=>{throw e})},generateMetaDescriptions(e={}){let t=X();return H.post(V.restUrl(`ai/meta/description`)).send({postId:e.postId,postContent:e?.postContent||``,focusKeyword:e?.focusKeyword||``,rephrase:e?.rephrase||!1,descriptions:e?.descriptions||[],options:{tone:this.metaDescription.tone||t.options.aiContent.tone,audience:this.metaDescription.audience||t.options.aiContent.audience}}).then(e=>e.body.error?Promise.reject(e.body.error):(t.internalOptions.internal.ai=e.body.aiOptions,e)).catch(e=>{throw e})},deactivate(){return H.post(V.restUrl(`ai/deactivate`)).send().then(e=>{if(!e.body.success)throw Error(e.body.message);let t=X();return e?.body?.aiData&&(t.internalOptions.internal.ai=e.body.aiData),e})}}}),q=`table-of-contents-plus`,Ru=new class{get title(){let e=`&aioseo-scroll=aioseo-post-settings-post-title-row&aioseo-highlight=aioseo-post-settings-post-title-row`;return{"title-missing":{title:L(`No SEO title found.`,q),text:e=>L(`No SEO title found.`,q),description:L(`The SEO title is the title of your page that appears in search results. It should be 40 to 60 characters long, include your focus keyword and incentivize readers to click through to your page.`,q),fixActionParams:e},"title-too-long":{title:L(`The SEO title is too long.`,q),text:e=>R(L(`The SEO title is %1$d characters long, which is higher than our recommended range of 40-60 characters.`,q),e?.length),content:e=>Kc(e?.value||``),description:L(`The SEO title is the title of your page that appears in search results. It should be 40 to 60 characters long, include your focus keyword and incentivize readers to click through to your page.`,q),fixActionParams:e},"title-too-short":{title:L(`The SEO title is too short.`,q),text:e=>e?.length?R(L(`The SEO title is %1$d characters long, which is lower than our recommended range of 40-60 characters.`,q),e?.length):L(`No SEO title found.`,q),content:e=>Kc(e?.value||``),description:L(`The SEO title is the title of your page that appears in search results. It should be 40 to 60 characters long, include your focus keyword and incentivize readers to click through to your page.`,q),fixActionParams:e},"title-ok":{title:L(`The SEO title is of good length.`,q),text:e=>R(L(`The SEO title is %1$d characters long, which is within our recommended range of 40-60 characters.`,q),e?.length),content:e=>Kc(e?.value||``),description:L(`The SEO title is the title of your page that appears in search results. It should be 40 to 60 characters long, include your focus keyword and incentivize readers to click through to your page.`,q)}}}get description(){let e=`&aioseo-scroll=aioseo-post-settings-meta-description-row&aioseo-highlight=aioseo-post-settings-meta-description-row`;return{"description-missing":{title:L(`No meta description found.`,q),text:e=>L(`No meta description was found for the page.`,q),description:L(`The meta description is a summary of your page that appears in search results. It should be 120 to 160 characters long, include your focus keyword and incentivize readers to click through to your page.`,q),fixActionParams:e},"description-too-short":{title:L(`The meta description is too short.`,q),text:e=>R(L(`The meta description is %1$d characters long, which is lower than our recommended range of 120-160 characters.`,q),e?.length),content:e=>Kc(e?.value||``),description:L(`The meta description is a summary of your page that appears in search results. It should be 120 to 160 characters long, include your focus keyword and incentivize readers to click through to your page.`,q),fixActionParams:e},"description-too-long":{title:L(`The meta description is too long.`,q),text:e=>R(L(`The meta description is %1$d characters long, which is higher than our recommended range of 120-160 characters.`,q),e?.length),content:e=>Kc(e?.value||``),description:L(`The meta description is a summary of your page that appears in search results. It should be 120 to 160 characters long, include your focus keyword and incentivize readers to click through to your page.`,q),fixActionParams:e},"description-ok":{title:L(`The meta description is of good length.`,q),text:e=>R(L(`The meta description is %1$d characters long, which is within our recommended range of 120-160 characters.`,q),e?.length),content:e=>Kc(e?.value||``),tooltip:L(`The meta description is a summary of your page that appears in search results.`,q)}}}get h1Tags(){return{"h1-missing":{title:L(`No H1 tag found.`,q),description:L(`The H1 tag is the main heading on the page and signals the topic of your page to search engines. It should be clear and include your focus keyword.`,q)},"h1-too-many":{title:L(`More than one H1 tag found.`,q),description:L(`The H1 tag is the main heading on the page and signals the topic of your page to search engines. You should only have a single H1 tag on your page.`,q)},"h1-missing-focus-keyword":{title:L(`The H1 tag does not include your focus keyword.`,q),description:L(`The H1 tag is the main heading on the page and signals the topic of your page to search engines. It should be clear and include your focus keyword.`,q)},"h1-ok":{title:L(`The H1 tag includes your focus keyword.`,q),description:L(`The H1 tag is the main heading on the page and signals the topic of your page to search engines. It should be clear and include your focus keyword.`,q)}}}get subheadingTags(){return{"subheading-missing":{title:L(`No subheadings found.`,q),description:L(`Subheadings (H2, H3, H4, H5, H6, etc.) are important for SEO and user experience. They help break up the content and make it more readable. At least one subheading should have the focus keyword.`,q)},"subheading-missing-focus-keyword":{title:L(`Subheadings do not include your focus keyword.`,q),text:e=>R(be(`%1$d subheading was found on the page, but it does not include the focus keyword.`,`%1$d subheadings were found on the page, but none of them include the focus keyword.`,e?.length,q),e?.length),description:L(`Subheadings (H2, H3, H4, H5, H6, etc.) are important for SEO and user experience. They help break up the content and make it more readable. At least one subheading should have the focus keyword.`,q)},"subheading-ok":{title:L(`Subheadings include your focus keyword.`,q),text:e=>R(be(`%1$d subheading was found on the page.`,`%1$d subheadings were found on the page.`,e?.length,q),e?.length),description:L(`Subheadings (H2, H3, H4, H5, H6, etc.) are important for SEO and user experience. They help break up the content and make it more readable. At least one subheading should have the focus keyword.`,q)}}}get noImgAltAtts(){return{"image-missing":{title:L(`No images found.`,q),description:L(`Images are important for SEO and improve user experience & engagement. Images should be optimized (relevant filename, alt text, small file size) so they can also rank separately in image search results.`,q)},"image-missing-alt":{title:L(`Images have no alt text.`,q),text:e=>R(be(`%1$d image has no alt text.`,`%1$d images have no alt text.`,e?.length,q),e?.length),content:e=>0<e?.items?.length?e?.items?.map(e=>Kc(e)).join(`<br/>`):``,description:L(`Images are important for SEO and improve user experience & engagement. Images should be optimized (relevant filename, alt text, small file size) so they can also rank separately in image search results.`,q)},"image-ok":{title:L(`Images have alt text.`,q),description:L(`Images are important for SEO and improve user experience & engagement. Images should be optimized (relevant filename, alt text, small file size) so they can also rank separately in image search results.`,q)}}}get linksRatio(){return{"internal-links-missing":{title:L(`No internal links found.`,q),description:L(`Internal links are links that point to other pages on your site. They help search engines understand the structure of your site, discover new pages and improve your site's authority. We recommend adding at least 1 internal link per 500 words of content.`,q)},"internal-links-too-few":{title:L(`Too few internal links found.`,q),text:e=>R(be(`%1$d internal link was found, which is too few.`,`%1$d internal links were found, which is too few.`,e?.length,q),e?.length),description:L(`Internal links are links that point to other pages on your site. They help search engines understand the structure of your site, discover new pages and improve your site's authority. We recommend adding at least 1 internal link per 500 words of content.`,q)},"links-ratio-ok":{title:L(`The page has a correct number of internal and external links.`,q),description:L(`Internal links are links that point to other pages on your site. They help search engines understand the structure of your site, discover new pages and improve your site's authority. We recommend adding at least 1 internal link per 500 words of content.`,q)}}}get hasThumbnail(){return{"thumbnail-missing":{title:L(`No featured image found.`,q),description:L(`The featured image is the main image that represents your page. They grab attention, improve click-through rates on social and search results, and provide context to both users and search engines.`,q)},"thumbnail-ok":{title:L(`The featured image was found.`,q),description:L(`The featured image is the main image that represents your page. They grab attention, improve click-through rates on social and search results, and provide context to both users and search engines.`,q)}}}get contentLength(){return{"content-length-too-short":{title:L(`The content is too short.`,q),text:e=>e?.length?R(L(`The content is %1$d words long, which is too short. We recommend adding at least 300 words of content.`,q),e?.length):L(`No content found.`,q),description:L(`The content is the main body of text on your page that provides information to your visitors. It should be at least 300 words long. Articles that are too short lack depth and are less likely to rank well because search engines prefer longer, more informative content.`,q)},"content-length-ok":{title:L(`The content is long enough.`,q),description:L(`The content is the main body of text on your page that provides information to your visitors. It should be at least 300 words long. Articles that are too short lack depth and are less likely to rank well because search engines prefer longer, more informative content.`,q)}}}get keywordCannibalization(){let e=`&aioseo-tab=analysis&aioseo-scroll=aioseo-post-content-analysis&aioseo-highlight=aioseo-post-content-analysis`;return{"keyword-cannibalization":{title:L(`The focus keyword is targeted by multiple pages.`,q),text:e=>L(`The following pages on your site are competing for the same keyword:`,q),description:L(`The focus keyword is the main keyword that the page is ranking for. It should be unique to the page. If multiple pages are targeting the same focus keyword, they will all compete for the same traffic and perform worse. This is known as keyword cannibalization.`,q),content:t=>t?.posts?.map(t=>t?.editLink?`<a href="${Kc(`${t.editLink}${e}`)}" target="_blank">${Kc(t.title)}</a>`:Kc(t.title)).join(`<br/>`),fixActionParams:e},"keyword-cannibalization-ok":{title:L(`The focus keyword is targeted only by this page.`,q),description:L(`The focus keyword is the main keyword that the page is ranking for. It should be unique to the page. If multiple pages are targeting the same focus keyword, they will all compete for the same traffic and perform worse. This is known as keyword cannibalization.`,q)}}}get focusKeywordInFirstParagraph(){return{"first-paragraph-missing-focus-keyword":{title:L(`The first paragraph does not include the focus keyword.`,q),description:L(`The first paragraph on the page should include your focus keyword. This helps search engines quickly understand what the page is about and signals relevance.`,q)},"first-paragraph-ok":{title:L(`The first paragraph includes the focus keyword.`,q),description:L(`The first paragraph on the page should include your focus keyword. This helps search engines quickly understand what the page is about and signals relevance.`,q)}}}get focusKeywordInTitle(){return{"title-missing-focus-keyword":{title:L(`The SEO title does not include the focus keyword.`,q),description:L(`The SEO title is the title of your page that appears in search results. It should be 40 to 60 characters long, include your focus keyword and incentivize readers to click through to your page.`,q),fixActionParams:`&aioseo-scroll=aioseo-post-settings-post-title-row&aioseo-highlight=aioseo-post-settings-post-title-row`},"title-focus-keyword-ok":{title:L(`The SEO title includes the focus keyword.`,q),description:L(`The SEO title is the title of your page that appears in search results. It should be 40 to 60 characters long, include your focus keyword and incentivize readers to click through to your page.`,q)}}}get focusKeywordInDescription(){return{"description-missing-focus-keyword":{title:L(`The meta description does not include the focus keyword.`,q),description:L(`The meta description is a summary of your page that appears in search results. It should be 120 to 160 characters long, include your focus keyword and incentivize readers to click through to your page.`,q),fixActionParams:`&aioseo-scroll=aioseo-post-settings-meta-description-row&aioseo-highlight=aioseo-post-settings-meta-description-row`},"description-focus-keyword-ok":{title:L(`The meta description includes the focus keyword.`,q),description:L(`The meta description is a summary of your page that appears in search results. It should be 120 to 160 characters long, include your focus keyword and incentivize readers to click through to your page.`,q)}}}get focusKeywordInUrl(){return{"url-missing-focus-keyword":{title:L(`The URL does not include the focus keyword.`,q),description:L(`The URL is the address of your page that appears in search results. It should be 50 characters or less and include your focus keyword to help search engines understand the topic of your page.`,q)},"url-focus-keyword-ok":{title:L(`The URL includes the focus keyword.`,q),description:L(`The URL is the address of your page that appears in search results. It should be 50 characters or less and include your focus keyword to help search engines understand the topic of your page.`,q)}}}get urlLength(){return{"url-length-too-long":{title:L(`The URL is too long.`,q),text:e=>R(L(`The URL is %1$d characters long, it should be less than 50 characters.`,q),e?.length),description:L(`The URL is the address of your page that appears in search results. It should be 50 characters or less and include your focus keyword to help search engines understand the topic of your page.`,q)},"url-length-ok":{title:L(`The URL is of good length.`,q),description:L(`The URL is the address of your page that appears in search results. It should be 50 characters or less and include your focus keyword to help search engines understand the topic of your page.`,q)}}}get productSchema(){return{"product-schema-missing":{title:L(`No product schema found.`,q),description:L(`Product schema is a type of structured data that helps search engines understand your product. Google and other search engines use product schema for rich snippets (e.g. price and star rating) and other features.`,q),fixActionParams:`&aioseo-tab=schema&aioseo-scroll=aioseo-post-schema&aioseo-highlight=aioseo-post-schema`},"product-schema-ok":{title:L(`The product schema was found.`,q),description:L(`Product schema is a type of structured data that helps search engines understand your product. Google and other search engines use product schema for rich snippets (e.g. price and star rating) and other features.`,q)}}}get strings(){return{...this.title,...this.description,...this.h1Tags,...this.subheadingTags,...this.noImgAltAtts,...this.linksRatio,...this.hasThumbnail,...this.contentLength,...this.keywordCannibalization,...this.focusKeywordInFirstParagraph,...this.focusKeywordInTitle,...this.focusKeywordInDescription,...this.focusKeywordInUrl,...this.urlLength,...this.productSchema}}},J=`table-of-contents-plus`,zu=new class{get noindex(){return{noindex:{title:L(`The page cannot be indexed.`,J),description:L(`The noindex tag tells search engines not to index this page. As a result, this page will not appear in search results and will not generate any traffic.`,J),fixActionParams:`&aioseo-tab=advanced&aioseo-scroll=aioseo-post-robots-setting&aioseo-highlight=aioseo-post-robots-setting`},"noindex-ok":{title:L(`The page can be indexed.`,J),description:L(`The noindex tag tells search engines not to index this page. As a result, this page will not appear in search results and will not generate any traffic.`,J)}}}get openGraph(){let e=`&aioseo-tab=general&social-tab=facebook&aioseo-scroll=aioseo-post-settings-facebook&aioseo-highlight=aioseo-post-settings-facebook`;return{"ogp-missing":{title:L(`Open Graph meta tags missing.`,J),text:e=>L(`The following Open Graph meta tags are missing:`,J),content:e=>e?.items?.map(e=>Kc(e)).join(`<br/>`),description:L(`Open Graph meta tags are used to control how your page appears when shared on social media and can help increase click-through rates.`,J),fixActionParams:e},"ogp-duplicates":{title:L(`Duplicate Open Graph meta tags found.`,J),text:e=>L(`The following Open Graph meta tags are duplicated:`,J),content:e=>e?.items?.map(e=>Kc(e)).join(`<br/>`),description:L(`Open Graph meta tags are used to control how your page appears when shared on social media and can help increase click-through rates. Duplicate Open Graph meta tags can lead to conflicts and unexpected results. We recommend identifying which other plugin or theme is outputting them and disabling it.`,J),fixActionParams:e},"ogp-ok":{title:L(`All Open Graph meta tags found.`,J),description:L(`Open Graph meta tags are used to control how your page appears when shared on social media and can help increase click-through rates.`,J)}}}get schema(){return{"schema-missing":{title:L(`No schema data found.`,J),text:e=>L(`No schema found.`,J),description:L(`Schema, also referred to as structured data, helps search engines understand the content on your page. Search engines also use schema to display rich snippets in search results, such as star ratings and prices. which improves user experience and click-through rates.`,J),fixActionParams:`&aioseo-tab=schema&aioseo-scroll=aioseo-post-schema&aioseo-highlight=aioseo-post-schema`},"schema-ok":{title:L(`The schema data was found.`,J),description:L(`Schema, also referred to as structured data, helps search engines understand the content on your page. Search engines also use schema to display rich snippets in search results, such as star ratings and prices. which improves user experience and click-through rates.`,J)}}}get canonicalTag(){return{"canonical-missing":{title:L(`No canonical link found.`,J),description:L(`The canonical link tag tells search engines which version of a page to index. This helps prevent duplicate content issues and improves search engine indexing.`,J),fixActionParams:`&aioseo-tab=advanced&aioseo-scroll=aioseo-post-canonical-url&aioseo-highlight=aioseo-post-canonical-url`},"canonical-ok":{title:L(`The canonical link was found.`,J),description:L(`The canonical link tag tells search engines which version of a page to index. This helps prevent duplicate content issues and improves search engine indexing.`,J)}}}get authorBio(){return{"author-bio-missing":{title:L(`No author bio found.`,J),description:L(`The author bio is the text that appears below the author's name on the page. It should be included to help search engines understand the author of the page and improve user experience. Experience, Expertise, Authoritativeness, and Trustworthiness (E-E-A-T) is a ranking factor.`,J),fixActionParams:`aioseo-tab=author-seo&aioseo-scroll=aioseo-author-bio-settings-row&aioseo-highlight=aioseo-author-bio-settings-row`},"author-bio-ok":{title:L(`The author bio was found.`,J),description:L(`The author bio is the text that appears below the author's name on the page. It should be included to help search engines understand the author of the page and improve user experience. Experience, Expertise, Authoritativeness, and Trustworthiness (E-E-A-T) is a ranking factor.`,J)}}}get mainKeyword(){return{"main-keyword-missing":{title:L(`No focus keyword found.`,J),description:L(`The focus keyword is the main keyword that you want this page to rank for. It should be unique to the page and not used on other pages. It should be 2 to 5 words long.`,J),fixActionParams:`&aioseo-tab=analysis&aioseo-scroll=aioseo-post-content-analysis&aioseo-highlight=aioseo-post-content-analysis`},"main-keyword-ok":{title:L(`The focus keyword was found.`,J),description:L(`The focus keyword is the main keyword that you want this page to rank for. It should be unique to the page and not used on other pages. It should be 2 to 5 words long.`,J)}}}get staleContent(){return{"stale-content-too-old":{title:L(`Stale content found.`,J),description:L(`The content is more than 2 years old and may be outdated. Stale content can hurt rankings if it is outdated or irrelevant. Search engines favor fresh, updated content—especially for topics that change over time. If your content stays accurate and useful, freshness matters less.`,J)},"stale-content-ok":{title:L(`The content is up to date.`,J),description:L(`The content is up to date and fresh. Search engines favor fresh, updated content—especially for topics that change over time. If your content stays accurate and useful, freshness matters less.`,J)}}}get strings(){return{...this.noindex,...this.openGraph,...this.schema,...this.canonicalTag,...this.authorBio,...this.mainKeyword,...this.staleContent}}},Bu=`table-of-contents-plus`,Vu=new class{get requests(){return{requests:{title:L(`Assets loaded`,Bu),text:e=>R(be(`%1$d asset is loaded on the page.`,`%1$d assets are loaded on the page.`,e?.length,Bu),e?.length),tooltip:L(`Assets are resources like images, stylesheets and scripts.`,Bu)}}}get strings(){return{...this.requests}}},Hu=new class{get basic(){return Ru.strings}get advanced(){return zu.strings}get performance(){return Vu.strings}get strings(){return{...this.basic,...this.advanced,...this.performance}}getFilteredResults(e,t){if(typeof e!=`object`||!e)return{};let n={};return Object.keys(e).forEach(r=>{n[r]=e[r].filter(e=>!(!this.strings[e.code]?.title||e.status!==t))}),Object.keys(n).forEach(e=>{n[e].length===0&&delete n[e]}),n}getResultsCount(e,t){let n=this.getFilteredResults(e,t);return n?Object.keys(n).reduce((e,t)=>e+n[t].length,0):0}},Y=`table-of-contents-plus`,Uu=new class{personalize=!1;head=(e,t)=>this[e+`Head`]===void 0?``:this[e+`Head`](t);body=(e,t)=>this[e+`Body`]===void 0?``:this[e+`Body`](t);titleHead=e=>{switch(e?.error||``){case`title-missing`:return L(`We couldn't find an SEO Title.`,Y);case`title-too-short`:return this.personalize?R(L(`Your SEO title is only %1$d characters long, which is too short.`,Y),e.value.length):R(L(`The SEO title is only %1$d characters long, which is too short.`,Y),e.value.length);case`title-too-long`:return this.personalize?R(L(`Your SEO title is %1$d characters long, which is too long.`,Y),e.value.length):R(L(`The SEO title is %1$d characters long, which is too long.`,Y),e.value.length);default:return this.personalize?R(L(`Your SEO title is set and is %1$d characters long.`,Y),e.value.length):R(L(`The SEO title is set and is %1$d characters long.`,Y),e.value.length)}};titleBody=e=>{let t=Q();return{code:e.value,message:L(`Ensure your page's title includes your target keywords, and design it to encourage users to click.`,Y)+`<br><br>`+L(`Writing compelling titles is both a science and an art. There are automated tools that can analyze your title against known metrics for readability and click-worthiness. You also need to understand the psychology of your target audience.`,Y),buttonText:L(`Edit Your Page Title`,Y),buttonLink:t.aioseo.data.staticHomePage?`${t.aioseo.urls.staticHomePage}&aioseo-scroll=aioseo-post-settings-post-title-row&aioseo-highlight=aioseo-post-settings-post-title-row`:`${t.aioseo.urls.aio.searchAppearance}&aioseo-scroll=aioseo-home-page-site-title&aioseo-highlight=aioseo-home-page-site-title`}};descriptionHead=e=>{switch(e?.error||``){case`description-missing`:return this.personalize?L(`No meta description was found for your page.`,Y):L(`No meta description was found for the page.`,Y);case`description-too-short`:return this.personalize?R(L(`Your meta description is only %1$d characters long, which is too short.`,Y),e.value.length):R(L(`The meta description is only %1$d characters long, which is too short.`,Y),e.value.length);case`description-too-long`:return this.personalize?R(L(`Your meta description is %1$d characters long, which is too long.`,Y),e.value.length):R(L(`The meta description is %1$d characters long, which is too long.`,Y),e.value.length);default:return this.personalize?R(L(`Your meta description is set and is %1$d characters long.`,Y),e.value.length):R(L(`The meta description is set and is %1$d characters long.`,Y),e.value.length)}};descriptionBody=e=>{let t=Q();return{code:e.error===`description-missing`?null:e.value,message:L(`Write a meta description for your page. Use your target keywords (in a natural way) and write with human readers in mind. Summarize the content - describe the topics your article discusses.`,Y)+`<br><br>`+L(`The description should stimulate reader interest and get them to click on the article. Think of it as a mini-advertisement for your content.`,Y),buttonText:L(`Edit Your Meta Description`,Y),buttonLink:t.aioseo.data.staticHomePage?`${t.aioseo.urls.staticHomePage}&aioseo-scroll=aioseo-post-settings-meta-description-row&aioseo-highlight=aioseo-post-settings-meta-description-row`:`${t.aioseo.urls.aio.searchAppearance}&aioseo-scroll=aioseo-home-page-meta-description&aioseo-highlight=aioseo-home-page-meta-description`}};h1TagsHead=e=>{switch(e?.error||``){case`h1-missing`:return L(`No H1 tag was found.`,Y)+` `+L(`For the best user experience there should be exactly one H1 tag on each page.`,Y);case`h1-too-many`:return R(L(`%1$d H1 tags were found.`,Y),e.value.length)+` `+L(`For the best user experience there should be exactly one H1 tag on each page.`,Y);default:return this.personalize?L(`One H1 tag was found on your page.`,Y):L(`One H1 tag was found on the page.`,Y)}};h1TagsBody=e=>{let t=Q();return{code:e.error===`h1-missing`?null:e.value.join(`<br>`),message:L(`WordPress sites usually insert the page or post title as an H1 tag (although custom themes can change this behavior).`,Y)+`<br><br>`+L(`Ensure your most important keywords appear in the H1 tag - don't force it, use them in a natural way that makes sense to human readers.`,Y)+`<br><br>`+L(`Because your headline plays a large role in reader engagement, it's worth spending extra time perfecting it. Many top copywriters spend hours getting their headlines just right - sometimes they spend longer on the headline than the rest of the article!`,Y)+`<br><br>`+L(`A good headline stimulates reader interest and offers a compelling reason to read your content. It promises a believable benefit.`,Y)+`<br><br>`+L(`You should write as if your readers are selfish people with short attention spans (because that describes a large percentage of the world's population). Readers visit websites for selfish reasons - they're not there to make you happy.`,Y),buttonText:L(`Edit Your Page`,Y),buttonLink:t.aioseo.data.staticHomePage?t.aioseo.urls.staticHomePage:null}};h2TagsHead=e=>e.error===`h2-missing`?this.personalize?L(`No H2 tags were found on your page.`,Y):L(`No H2 tags were found on the page.`,Y):this.personalize?L(`H2 tags were found on your page.`,Y)+` (`+e.value.length+`)`:L(`H2 tags were found on the page.`,Y)+` (`+e.value.length+`)`;h2TagsBody=e=>{let t=Q();return{code:e.error===`h2-missing`?null:e.value.join(`<br>`),message:L(`Make sure you have a good balance of H2 tags to plain text in your content. Break the content down into logical sections, and use headings to introduce each new topic.`,Y)+`<br><br>`+L(`Also, try to include synonyms and relevant terminology in H2 tag text. Search engines are pretty smart - they know which words usually occur together in each niche.`,Y)+`<br><br>`+L(`It should be easy to include your main and supporting keywords in the H2 tags - after all, these keywords describe your content! If it's hard to work the keywords into your subheadings, it could be a sign that the keywords aren't closely related to your content.`,Y)+`<br><br>`+L(`Don't try to force keywords into sub-headings if they feel unnatural. It will send the wrong message to your readers, possibly driving them away.`,Y),buttonText:L(`Edit Your Page`,Y),buttonLink:t.aioseo.data.staticHomePage?t.aioseo.urls.staticHomePage:null}};noImgAltAttsHead=e=>e.error===`image-missing-alt`?this.personalize?L(`Some images on your page have no alt attribute.`,Y)+` (`+e.value.length+`)`:L(`Some images on the page have no alt attribute.`,Y)+` (`+e.value.length+`)`:this.personalize?L(`All images on your page have alt attributes.`,Y):L(`All images on the page have alt attributes.`,Y);noImgAltAttsBody=e=>{let t=Q();return{codeAlt:e.error===`image-missing-alt`?e.value.map(e=>Gc(e)).join(`
`):null,message:L(`Make sure every image has an alt tag, and add useful descriptions to each image. Add your keywords or synonyms - but do it in a natural way.`,Y),buttonText:L(`Edit Your Page`,Y),buttonLink:t.aioseo.data.staticHomePage?t.aioseo.urls.staticHomePage:null}};linksRatioHead=e=>{switch(e?.error||``){case`internal-links-missing`:return this.personalize?L(`No internal links were found on your page.`,Y):L(`No internal links were found on the page.`,Y);case`internal-links-too-few`:return this.personalize?L(`Too few internal links on your page.`,Y):L(`Too few internal links on the page.`,Y);case`invalid-ratio`:return L(`The ratio of internal links to external links is uneven.`,Y);default:return this.personalize?L(`Your page has a correct number of internal and external links.`,Y):L(`The page has a correct number of internal and external links.`,Y)}};linksRatioBody=e=>{let t=Q();return{code:L(`Internal:`,Y)+` `+e.value.internal+`<br>`+L(`External:`,Y)+` `+e.value.external,message:L(`Add links to internal and external resources that are useful for your readers. For Internal links, make sure the links are highly relevant to the subject you're writing about. For external links, make sure you link to high-quality sites - Google penalizes pages that link to "spammy" sites (ones that break the Google webmaster guidelines).`,Y)+`<br><br>`+L(`It's impossible to cover every aspect of a subject on a single page, but your readers may be fascinated by some detail you barely touch on. If you link to a resource where they can learn more, they'll be grateful. What's more, you'll be rewarded with higher rankings!`,Y),buttonText:L(`Edit Your Page`,Y),buttonLink:t.aioseo.data.staticHomePage?t.aioseo.urls.staticHomePage:null}};canonicalTagHead=e=>e.error===`canonical-missing`?this.personalize?L(`No canonical link tag found on your page.`,Y):L(`No canonical link tag found on the page.`,Y):this.personalize?L(`Your page is using the canonical link tag.`,Y):L(`The page is using the canonical link tag.`,Y);canonicalTagBody=e=>{let t=Q();return{code:e.value,message:L(`Every page on your site should have a <link> tag with a 'rel="canonical"' attribute. The link tag should go inside the page's head tag, and it should contain the page's "correct" URL.`,Y)+`<br><br>`+L(`If you've republished an article from another source (such as another site or a different section of your own site) then you need to pick which URL is the "correct" one and use that!`,Y),buttonText:L(`Edit Your Page`,Y),buttonLink:t.aioseo.data.staticHomePage?`${t.aioseo.urls.staticHomePage}&aioseo-tab=advanced&aioseo-scroll=aioseo-post-canonical-url&aioseo-highlight=aioseo-post-canonical-url`:null}};noindexHead=e=>e.error===`noindex`?this.personalize?L(`Your page contains a noindex header or meta tag.`,Y):L(`The page contains a noindex header or meta tag.`,Y):this.personalize?L(`Your page does not contain any noindex header or meta tag.`,Y):L(`The page does not contain any noindex header or meta tag.`,Y);noindexBody=()=>{let e=Q();return{message:L(`Only ever use noindex meta tag or header on pages you want to keep out of the reach of search engines!`,Y),buttonText:L(`Edit Your Settings`,Y),buttonLink:e.aioseo.urls.admin.optionsReading}};wwwCanonicalizationHead=e=>e.error===`www-canonicalization`?this.personalize?L(`The www and non-www versions of your URL are not redirected to the same site.`,Y):L(`The www and non-www versions of the URL are not redirected to the same site.`,Y):this.personalize?L(`Both the www and non-www versions of your URL are redirected to the same site.`,Y):L(`Both the www and non-www versions of the URL are redirected to the same site.`,Y);wwwCanonicalizationBody=()=>{let e=Q();return{message:L(`Decide whether you want your site's URLs to include a "www", or if you prefer a plain domain name. There are marketing pros and cons for each choice, but neither one is better or worse for SEO purposes - as long as you're consistent.`,Y)+`<br><br>`+L(`You should use HTTP redirections (301 permanent redirects) to pass PageRank from the "wrong" URLs to the standard (canonical) ones. That way, your content will still benefit from backlinks if someone makes a mistake and uses the wrong URL.`,Y),buttonText:L(`Edit Your Settings`,Y),buttonLink:e.aioseo.urls.admin.generalSettings}};robotsRulesHead=e=>e.error===`no-robots`?this.personalize?L(`Your robots.txt file is missing or unavailable.`,Y):L(`The robots.txt file is missing or unavailable.`,Y):e.value.match(/disallow:/i)?this.personalize?L(`Your site has a robots.txt file which includes one or more "disallow" directives.`,Y):L(`The site has a robots.txt file which includes one or more "disallow" directives.`,Y):this.personalize?L(`Your site has a robots.txt file.`,Y):L(`The site has a robots.txt file.`,Y);robotsRulesBody=e=>{let t=Q();return{code:e.error===`no-robots`?null:e.value,message:L(`Make sure that you only block parts you don't want to be indexed.`,Y)+`<br><br>`+L(`You can manually create a robots.txt file and upload it to your site's web root. A simpler option is to use a plugin for your CMS platform.`,Y)+`<br><br>`+R(L(`%1$s has a full suite of tools to manage the robots.txt file, along with other related technologies, like XML Sitemaps.`,Y),`ToC+`),buttonText:L(`Edit Your Robots.txt`,Y),buttonLink:t.aioseo.urls.aio.tools}};openGraphHead=e=>e.error===`ogp-missing`?L(`Some Open Graph meta tags are missing.`,Y):e.error===`ogp-duplicates`?L(`Duplicate Open Graph meta tags were found.`,Y):L(`All the required Open Graph meta tags have been found.`,Y);openGraphBody=e=>{let t=e.error===`ogp-missing`?L(`Open Graph (OG) tags are used to enhance how your website content appears when shared on social media platforms, allowing you to control the title, description, and image displayed. This results in more engaging and informative previews, which can lead to increased click-through rates and better social media engagement.`,Y):L(`Duplicate Open Graph meta tags were found. This means that another plugin on your site or your current theme is generating social meta tags for Facebook (Open Graph) that are also generated by AIOSEO, and there are two sets of Open Graph tags present on your website. You'll want to deactivate this setting in your theme or the plugin that's causing this to avoid issues when sharing content on Facebook, LinkedIn, WhatsApp, or Instagram.`,Y),n=Q(),r=e.error===`ogp-missing`?`${n.aioseo.urls.staticHomePage}&aioseo-tab=general&social-tab=facebook&aioseo-scroll=aioseo-post-facebook-image-source&aioseo-highlight=aioseo-post-facebook-image-source`:n.aioseo.data.staticHomePage,i=e.error===`ogp-missing`?`${n.aioseo.urls.aio.socialNetworks}&aioseo-tab=facebook&aioseo-scroll=aioseo-facebook-default-image-source&aioseo-highlight=aioseo-facebook-default-image-source`:null,a=n.aioseo.data.staticHomePage?L(`Edit Your Page`,Y):L(`Edit Your Settings`,Y);return{code:e.value?e.value.join(`<br>`):null,message:t,buttonText:a,buttonLink:n.aioseo.data.staticHomePage?r:i}};schemaHead=e=>e.error===`schema-missing`?this.personalize?L(`No Schema.org data was found on your page.`,Y):L(`No Schema.org data was found on the page.`,Y):this.personalize?L(`We found Schema.org data on your page.`,Y):L(`We found Schema.org data on the page.`,Y);schemaBody=()=>{let e=Q();return{message:R(L(`%1$s makes it extremely easy to add highly relevant Schema.org markup to your site. It has a simple graphical interface, so you don't have to get your hands dirty with complex HTML markup.`,Y),`ToC+`),buttonText:L(`Edit Your Page`,Y),buttonLink:e.aioseo.data.staticHomePage?`${e.aioseo.urls.staticHomePage}&aioseo-tab=schema&aioseo-scroll=aioseo-post-schema&aioseo-highlight=aioseo-post-schema`:null}};hasImgExpiresHead=e=>e.error===`image-expires-missing`?this.personalize?L(`Your server is not using "expires" headers for your images.`,Y):L(`The server is not using "expires" headers for the images.`,Y):this.personalize?L(`Your server is using "expires" headers for your images.`,Y):L(`The server is using "expires" headers for the images.`,Y);hasImgExpiresBody=()=>({message:L(`If you use the Apache or NGINX web servers, you can edit the configuration files to set the "expires" header for all image files. For Apache, you can also use a ".htaccess" file to change the settings for each folder.`,Y)+`<br><br>`+L(`Alternatively, you can use a CMS plugin to simplify the process - it's a more user-friendly option. WordPress has a host of caching plugins, and most of them give you options to control the caching headers.`,Y)});unminifiedJsHead=e=>e.error===`js-unminified`?L(`Some Javascript files don't seem to be minified.`,Y):L(`All Javascript files appear to be minified.`,Y);unminifiedJsBody=e=>({codeAlt:e.error===`js-unminified`?e.value.join(`
`):null,message:L(`JavaScript files appear in many places, including frameworks (like Bootstrap), themes and templates, and third-party plugins.`,Y)+`<br><br>`+L(`We recommend tracking down where the un-minified JavaScript files come from`,Y)+`<br><br>`+L(`There are server-side tools (including WordPress plugins) to automatically minify JavaScript files.`,Y)});unminifiedCssHead=e=>e.error===`css-unminified`?L(`Some CSS files don't seem to be minified.`,Y):L(`All CSS files appear to be minified.`,Y);unminifiedCssBody=e=>({codeAlt:e.error===`css-unminified`?e.value.join(`
`):null,message:L(`CSS files appear in many places, including frameworks (like Bootstrap), themes and templates, and third-party plugins.`,Y)+`<br><br>`+L(`We recommend tracking down where the un-minified CSS files come from.`,Y)+`<br><br>`+L(`There are server-side tools (including WordPress plugins) to automatically minify CSS files.`,Y)});pageObjectsHead=e=>{let t=this.personalize?R(L(`Your page makes %1$d requests.`,Y),e.total):R(L(`The page makes %1$d requests.`,Y),e.total);return e.error===`page-objects-too-many`?t+` `+L(`More than 20 requests can result in slow page loading.`,Y):t};pageObjectsBody=e=>({code:e.error===`page-objects-too-many`?L(`Images:`,Y)+` `+e.value.images+`<br>`+L(`JavaScript:`,Y)+` `+e.value.js+`<br>`+L(`CSS:`,Y)+` `+e.value.css:null,message:L(`Try to replace embedded objects with HTML5 alternatives.`,Y)});pageSizeHead=e=>{let t=Math.round(e.value/1e3),n=``;return e.error===`page-size-too-big`&&(t=Math.ceil(e.value/1e3),n=L(`This is over our recommendation of 50 KB.`,Y)),33>Math.round(e.value/1e3)&&(n=L(`This is under the average of 33 KB.`,Y)),R(L(`The size of the HTML document is %1$d KB.`,Y),t)+` `+n};pageSizeBody=()=>({message:L(`In order to reduce page size, remove any unnecessary tags from your markup. This includes developer comments, which are invisible to your users - search engines ignore the text in comments, too.`,Y)+`<br><br>`+L(`Sometimes inline CSS is a culprit. A little inline CSS can help your page render faster. Too much will bloat the HTML file and increase the page loading time.`,Y)+`<br><br>`+L(`You can reduce CSS repetition with HTML class and ID attributes. Often the same rules will be repeated across many page elements, embedded in each tag's "style" attribute. You can extract them into a single "style" tag and use classes and ID's to target each element.`,Y)+`<br><br>`+L(`Removing white space can also have an impact on your HTML page's size. White space characters like carriage returns and tabs are ignored by the browser, but they make the markup easier for developers to read. So you should always strip them from your templates or themes before you use them in a production environment.`,Y)});responseTimeHead=e=>e.error===`response-time-too-long`?this.personalize?R(L(`The response time of your page is %1$f seconds. It is recommended to keep it equal to or below 0.2 seconds.`,Y),e.value):R(L(`The response time of the page is %1$f seconds. It is recommended to keep it equal to or below 0.2 seconds.`,Y),e.value):this.personalize?L(`Your response time is under 0.2 seconds.`,Y):L(`The response time is under 0.2 seconds.`,Y);responseTimeBody=()=>({message:L(`If you want to continue to improve your response time, the simplest and fastest fix is to use a caching plugin. Caching plugins keep a cached version of each page on your site. Instead of building the page from scratch, the server will send the cached copy.`,Y)+`<br><br>`+L(`You can get an even greater boost in speed with a content delivery network service. These services host a copy of your content on multiple servers spread out across the globe. A user's request is handled by the edge server that's closest to their physical location, so the content arrives incredibly fast.`,Y)});visiblePluginsHead=e=>e.error===`plugins-visible`?this.personalize?L(`Plugins from your website are publicly visible.`,Y)+` (`+e.value.length+`)`:L(`Plugins from the website are publicly visible.`,Y)+` (`+e.value.length+`)`:this.personalize?L(`You have no visible plugins!`,Y):L(`There are no visible plugins.`,Y);visiblePluginsBody=e=>({code:e.error===`plugins-visible`?e.value.join(`<br>`):null,message:L(`It's a great idea to try and hide the plugins you have visible. From time to time vulnerabilities are found in plugins and if your site is not updated in a timely fashion, outdated plugins and themes can be exploited.`,Y)});visibleThemesHead=e=>e.error===`themes-visible`?this.personalize?R(L(`Anyone can see that you are using the %1$s theme.`,Y),e.value[0]):R(L(`Anyone can see that they are using the %1$s theme.`,Y),e.value[0]):this.personalize?L(`Your theme is not visible!`,Y):L(`The theme is not visible.`,Y);visibleThemesBody=()=>({message:L(`It's a great idea to try and hide the theme you have visible. From time to time vulnerabilities are found in themes and if your site is not updated in a timely fashion, outdated plugins and themes can be exploited.`,Y)});directoryListingHead=e=>e.error===`directory-listing-open`?this.personalize?L(`Directory Listing seems to be enabled on your server.`,Y):L(`Directory Listing seems to be enabled on the server.`,Y):this.personalize?L(`Directory Listing seems to be disabled on your server.`,Y):L(`Directory Listing seems to be disabled on the server.`,Y);directoryListingBody=()=>({message:L(`Fortunately, every popular web server has options to prevent directory listings. They'll show a "403 forbidden" message instead.`,Y)+`<br><br>`+L(`Alternatively, you can create an empty index.php file and save it in every directory on your site. That's an approach that WordPress uses and it works well.`,Y)});googleSafeBrowsingHead=e=>e.error===`google-safe-browsing`?this.personalize?L(`It looks like your site has been added to one of Google's malwares lists.`,Y):L(`It looks like this site has been added to one of Google's malwares lists.`,Y):this.personalize?L(`Google has not flagged your site for malware!`,Y):L(`Google has not flagged this site for malware.`,Y);googleSafeBrowsingBody=()=>({message:L(`Google Safe browsing shows warnings and alerts to users if they visit a suspicious website. If you are flagged by Google Safe Browsing, you should take immediate steps to fix that.`,Y)});secureConnectionHead=e=>e.error===`insecure-connection`?this.personalize?L(`Your site is not using a secure transfer protocol (https).`,Y):L(`The site is not using a secure transfer protocol (https).`,Y):this.personalize?L(`Your site is using a secure transfer protocol (https).`,Y):L(`The site is using a secure transfer protocol (https).`,Y);secureConnectionBody=()=>({message:L(`If you aren't using an SSL certificate for your site that means you are losing a lot of potential traffic. We recommend getting an SSL certificate installed immediately.`,Y)});getFilteredResults=(e,t)=>{let n=JSON.parse(JSON.stringify(e));return Object.keys(n).forEach(e=>{let t=n[e];this.head(e,t)||[`keywords`,`keywordsInTitleDescription`,`searchPreview`,`mobileSearchPreview`,`mobileSnapshot`].includes(e)&&delete n[e]}),Object.keys(n).forEach(e=>{let r=n[e];t!==`all`&&r.status!==t&&delete n[e]}),n};getFilteredGroups=e=>(Object.keys(e).forEach(t=>{let n=e[t];this.head(t,n)||[`searchPreview`,`mobileSearchPreview`,`mobileSnapshot`].includes(t)||delete e[t]}),e);getResultsCount=(e,t)=>{let n=0;return e&&Object.keys(e).forEach(r=>{let i=this.getFilteredGroups(e[r]);Object.keys(i).forEach(e=>{t===i[e].status&&n++})}),n}},Wu=`table-of-contents-plus`;z(`AnalyzerStore`,{state:()=>({activeTab:`all-urls`,homepageAudit:{activeTab:`error`},siteAudit:{activeTab:`error`},analyzer:null,analyzing:!1,analyzeError:null,analyzeErrorCode:null,homeResults:{results:[],score:0},competitors:{},issuesResults:{auditItems:[],auditItemResults:{},isLoading:!0,counts:{passed:0,warning:0,error:0}},allUrlsResults:{rows:[],isLoading:!0,search:``,totals:{page:1,pages:1,total:1},auditItemResults:{}},allUrlsAdditionalFilters:{content_type:`all`},objectsScan:{percent:null,showProcessingPopup:!1}}),getters:{issueResultsTotalCounts:e=>e.issuesResults.counts.passed+e.issuesResults.counts.warning+e.issuesResults.counts.error,getHeadlineAnalysisResults:()=>X().internalOptions.internal.headlineAnalysis.headlines||{},getAnalyzer:e=>(t,n=null)=>{let r={factory:null,results:null};switch(t){case`homepage`:r.factory=Uu,r.results=e.homeResults.results;break;case`site`:r.factory=Hu,r.results=e.issuesResults.auditItems;break;case`competitor`:r.factory=Uu,r.results=e.competitors[n]?.results||{}}return r},allItemsCount:e=>t=>e.recommendedCount(t)+e.criticalCount(t)+e.goodCount(t),recommendedCount:e=>(t,n)=>{let{factory:r,results:i}=e.getAnalyzer(t,n);return r?.getResultsCount(i,`warning`)||0},criticalCount:e=>(t,n)=>{let{factory:r,results:i}=e.getAnalyzer(t,n);return r?.getResultsCount(i,`error`)||0},goodCount:e=>(t,n)=>{let{factory:r,results:i}=e.getAnalyzer(t,n);return r?.getResultsCount(i,`passed`)||0}},actions:{getCompetitorSiteAnalysisResults(){return this.competitors?.length?this.competitors:H.get(V.restUrl(`seo-analysis/competitors`)).then(e=>(this.competitors=e.body.result,this.competitors))},runSiteAnalyzer(e={}){if(!this.analyzing)return this.analyzing=!0,this.analyzer=`competitor-site`,this.analyzeError=null,this.analyzeErrorCode=null,H.post(V.restUrl(`analyze`)).send({url:e.url,refresh:e.refresh}).then(t=>{if(e.url)return this.analyzing=!1,t;this.homeResults=t.body,this.analyzing=!1}).catch(e=>{this.analyzing=!1,this.analyzeErrorCode=e.response?.body?.error||null,this.analyzeError=e.response?.body?.message||L(`We couldn't connect to the site, please try again later.`,Wu)})},runHeadlineAnalyzer(e={}){return this.analyzer=`headline`,H.post(V.restUrl(`analyze-headline`)).send({headline:e.headline,shouldStoreHeadline:e.shouldStoreHeadline}).then(e=>{X().updateOption(`internalOptions`,{groups:[`internal`,`headlineAnalysis`],key:`headlines`,value:e.body}),this.analyzing=!1}).catch(e=>{this.analyzing=!1,this.analyzeErrorCode=null,this.analyzeError=e.response?.body?.message||L(`We couldn't analyze your title, please try again later.`,Wu)})},deleteCompetitorSite(e){return H.post(V.restUrl(`analyze/delete-site`)).send({url:e}).then(()=>{delete this.competitors[e],this.analyzing=!1})},deleteHeadline(e){return H.post(V.restUrl(`analyze-headline/delete`)).send({headline:e}).then(e=>{X().updateOption(`internalOptions`,{groups:[`internal`,`headlineAnalysis`],key:`headlines`,value:e.body}),this.analyzing=!1})},fetchPostsByIssue({filter:e,limit:t,offset:n,searchTerm:r}){let i=n===0?1:n/t+1;return H.get(V.restUrl(`seo-analysis/objects/${e}`)).query({search:r,limit:t,offset:n}).then(t=>(this.issuesResults.auditItemResults[e]={...t.body.result,search:r,page:i},t))},fetchIssuesByObject({filter:e,limit:t,offset:n,searchTerm:r}){let i=n===0?1:n/t+1,{id:a,type:o}=e,s=`${a}-${o.toLowerCase()}`;return this.allUrlsResults.auditItemResults[s]&&this.allUrlsResults.auditItemResults[s].search===r&&this.allUrlsResults.auditItemResults[s].page===i?Promise.resolve():H.get(V.restUrl(`seo-analysis/issues/${o.toLowerCase()}/${a}`)).query({search:r,limit:t,offset:n}).then(e=>(this.allUrlsResults.auditItemResults[s]={...e.body.result,search:r,page:i},e)).catch(e=>{this.allUrlsResults.auditItemResults[s]={error:!0,rows:[],totals:{page:i,pages:0,total:0},search:r,page:i},console.error(`Couldn't fetch issues for object ${s}:`,e)})},fetchAllUrls({limit:e,offset:t,searchTerm:n=``,additionalFilters:r=[]}){return this.allUrlsResults.isLoading=!0,H.get(V.restUrl(`seo-analysis/objects`)).query({search:n,limit:e,offset:t,additionalFilters:r}).then(e=>(this.allUrlsResults={...e.body.result,search:n,auditItemResults:{},isLoading:!1},e))},async fetchSitePagesAnalysisResults(){return this.issuesResults.isLoading=!0,H.get(V.restUrl(`seo-analysis/issues`)).then(e=>{this.issuesResults.auditItems=e.body.result?.results,this.issuesResults.counts=e.body.result?.counts,this.issuesResults.isLoading=!1})},doIgnoreIssue(e,t){let{issueId:n}=e;return H.post(V.restUrl(`seo-analysis/issues/${n}/ignore`)).then(()=>{t.rows=t.rows.filter(e=>e.issueId!==n),t.totals.total--})},changeHomepageAuditTab(e){this.homepageAudit.activeTab=e},changeSiteAuditTab(e){this.siteAudit.activeTab=e},changeSeoAnalyzerTab(e){this.activeTab=e},doAddFocusKeyword(e,t,n=`post`){return H.post(V.restUrl(`seo-analysis/objects/${e}/keywords`)).send({keyphrase:t,objectType:n})},toggleProcessingPopup(){this.objectsScan.showProcessingPopup=!this.objectsScan.showProcessingPopup},async fetchObjectsScanPercent(){return H.get(V.restUrl(`seo-analysis/objects-scan-percent`)).then(async e=>{e.body&&`percent`in e.body&&(this.objectsScan.percent=e.body.percent,e.body.percent!==100&&setTimeout(()=>{this.fetchObjectsScanPercent()},1e4))})}}}),z(`BackupsStore`,{state:()=>({backups:[],networkBackups:{}}),actions:{createBackup(e){return H.post(V.restUrl(`backup`)).send(e).then(t=>{if(e.siteId){this.networkBackups[e.siteId]=t.body.backups;return}this.backups=t.body.backups})},restoreBackup(e){return H.post(V.restUrl(`backup/restore`)).send(e).then(t=>{if(t.body.license&&!e.siteId){let e=Zu();e.license=t.body.license,e.clearLicenseNotices()}let n=X();if(n.options=t.body.options,n.internalOptions=t.body.internalOptions,e.siteId){this.networkBackups[e.siteId]=t.body.backups;return}this.backups=t.body.backups})},deleteBackup(e){return H.delete(V.restUrl(`backup`)).send(e).then(t=>{if(e.siteId){this.networkBackups[e.siteId]=t.body.backups;return}this.backups=t.body.backups})}}}),z(`ConnectStore`,{state:()=>({}),getters:{isConnected:()=>{let e=Zu(),t=Nd();return(void 0).toLowerCase()!==`pro`&&t.hasSiteAnalysisConnectToken||e.license.isActive}},actions:{getConnectUrl({key:e,wizard:t}){return H.post(V.restUrl(`connect-url`)).send({licenseKey:e.trim(),wizard:t})},processConnect(e){let t=Ld();return H.post(V.restUrl(`connect-pro`)).send({downloadUrl:e.file,token:e.token,wizard:e.wizard?JSON.stringify(t.wizard.$state):null})},saveConnectToken(e){let t=Nd();return t.hasSiteAnalysisConnectToken=!0,H.post(V.restUrl(`connect`)).send({token:e})}}});var Gu=()=>{let e=(e,t)=>(e===`rules`&&Array.isArray(t)&&t.forEach((e,n)=>{let r=JSON.parse(e);r.userAgent===null&&r.rule===`allow`&&r.directoryPath===null&&t.splice(n,1)}),e===`separator`&&(t=Wc(t)),t===null?``:t);return{actions:{updateOriginalOptions(e,t){this[e]=JSON.parse(JSON.stringify(t))},disableDirtyCheck(e){this.disabled.push(e)}},normalize:t=>t?JSON.stringify(JSON.parse(JSON.stringify(t)),e):{}}},Ku=z(`DirtyOptionsStore`,{state:()=>({disabled:[],options:{},dynamicOptions:{},networkOptions:{},redirectOptions:{},indexNowOptions:{}}),getters:{isDirty:e=>{let t=Gu(),n=qu(),r=X(),i=gd(),a=[[e.options,r.options],[e.networkOptions,r.networkOptions],[e.dynamicOptions,r.dynamicOptions]];return e.disabled.includes(`redirects`)||a.push([e.redirectOptions,i.options]),e.disabled.includes(`indexNow`)||a.push([e.indexNowOptions,n.options]),!a.every(([e,n])=>t.normalize(e)===t.normalize(n))}},actions:{...Gu().actions}});z(`HelpPanelStore`,{state:()=>({categories:{},docs:{}})});var qu=z(`IndexNowStore`,{state:()=>({options:{indexNow:{apiKey:null}}}),actions:{generateApiKey(){return H.get(V.restUrl(`index-now/generate-api-key`)).then(e=>(this.options.indexNow.apiKey=e.body.key,Ku().updateOriginalOptions(`indexNowOptions`,this.options),e.body.key))},getApiKey(){return H.get(V.restUrl(`index-now/api-key`)).then(e=>(this.options.indexNow.apiKey=e.body.key,Ku().updateOriginalOptions(`indexNowOptions`,this.options),e.body.key))}}});z(`IndexStatusStore`,{state:()=>({objects:{paginated:{rows:[],totals:{page:1,pages:0,total:0},orderBy:``,orderDir:``,limit:``,offset:``,searchTerm:``,additionalFilters:{}},fetching:!1},overview:null,options:{},capability:`aioseo_search_statistics_settings`}),getters:{hasPermission:e=>Ko(e.capability)},actions:{fetchIndexStatusObjects(e={}){this.objects.fetching=!0;let t=Md();return this.objects.paginated={...this.objects.paginated,...e},H.get(V.restUrl(`search-statistics/index-status/objects`)).query({orderBy:this.objects.paginated.orderBy,orderDir:this.objects.paginated.orderDir,limit:this.objects.paginated.limit,offset:this.objects.paginated.offset,searchTerm:this.objects.paginated.searchTerm,additionalFilters:this.objects.paginated.additionalFilters,endDate:t.latestAvailableDate}).then(e=>(this.objects.paginated.rows=e.body.paginated.rows,this.objects.paginated.totals=e.body.paginated.totals,e)).catch(e=>{throw e}).finally(()=>{this.objects.fetching=!1})},fetchIndexStatusOverview(){return H.get(V.restUrl(`search-statistics/index-status/overview`)).query().then(e=>(this.overview=e.body.data,e)).catch(e=>{throw e})}}});var Ju=z(`KeywordRankTrackerStore`,{state:()=>({parentActiveTab:`rank-tracker`,groups:{selected:[],all:{rows:[]},paginated:{rows:[],totals:{page:1,pages:0,total:0},orderBy:``,orderDir:``,limit:``,offset:``,searchTerm:``,filter:`all`,additionalFilters:{}},count:0,statistics:null,tableKeywords:{paginated:{rows:[],totals:{page:1,pages:0,total:0},orderBy:``,orderDir:``,limit:``,offset:``,searchTerm:``,filter:`all`,additionalFilters:{}}}},keywords:{selected:[],all:{rows:[]},paginated:{rows:[],totals:{page:1,pages:0,total:0},orderBy:``,orderDir:``,limit:``,offset:``,searchTerm:``,filter:`all`,additionalFilters:{}},count:0,statistics:null,related:{selected:[],paginated:{rows:[]}},rankingPages:{paginated:{rows:[],totals:{page:1,pages:0,total:0},limit:5,offset:0}}},siteFocusKeywords:[],gscKeywords:[],isFetchingGscKeywords:!1,options:{},modalOpenAddKeywords:!1,modalOpenCreateGroup:!1,modalOpenAssignGroups:!1,modalOpenDeleteKeywords:!1,modalOpenUpdateGroup:!1,modalOpenDeleteGroups:!1,modalOpenPostEdit:!1,isFetchingStatistics:{keywords:!1,groups:!1},fetchKeywordsCallback:null,keywordsLimit:0,errors:{crud:null},favoriteGroup:{}}),getters:{range(){return Md().range}},actions:{toggleModal(e){if(this.fetchKeywordsCallback=e?.fetchKeywordsCallback||null,e.modal===`modalOpenAddKeywords`&&e.open&&(this.keywords.selected=[],this.keywords.related.selected=e?.relatedKeywords??[]),e.modal===`modalOpenAssignGroups`&&e.open&&(this.keywords.selected=e?.keywords??[]),e.modal===`modalOpenDeleteKeywords`&&e.open&&(this.keywords.selected=e?.keywords??[]),e.modal===`modalOpenCreateGroup`&&(this.errors.crud=null),e.modal===`modalOpenUpdateGroup`&&e.open&&(this.errors.crud=null),e.modal===`modalOpenPostEdit`&&!e.open){let e=Md();e.shouldShowSampleReports=!1}this[e.modal]=e.open},insertKeywords({keywords:e,groups:t}){return this.errors.crud=null,H.post(V.restUrl(`search-statistics/keyword-rank-tracker/keywords`)).send({keywords:e,groups:t}).then(e=>e).catch(e=>{throw this.errors.crud=e?.response?.body?.error||null,e})},abstractFetchKeywords(e={}){return this.fetchKeywordsCallback?this.fetchKeywordsCallback(e):this.fetchKeywords(e)},fetchKeywords(e={}){return this.keywords.paginated={...this.keywords.paginated,...e},H.get(V.restUrl(`search-statistics/keyword-rank-tracker/keywords`)).query({orderBy:this.keywords.paginated.orderBy,orderDir:this.keywords.paginated.orderDir,limit:this.keywords.paginated.limit,offset:this.keywords.paginated.offset,searchTerm:this.keywords.paginated.searchTerm,filter:this.keywords.paginated.filter,additionalFilters:this.keywords.paginated.additionalFilters,startDate:this.range.start,endDate:this.range.end,"names[]":e?.names||[],"ids[]":e?.ids||[],postId:e?.postId||0}).then(e=>(this.keywords.paginated.rows=e.body.paginated.rows,this.keywords.paginated.totals=e.body.paginated.totals,this.keywords.paginated.orderBy=e.body.paginated.orderBy,this.keywords.paginated.orderDir=e.body.paginated.orderDir,this.keywords.all.rows=e.body.all.rows,this.keywords.count=e.body.count,e)).catch(e=>{throw e})},updateKeyword({id:e,payload:t}){return H.put(V.restUrl(`search-statistics/keyword-rank-tracker/keywords/${e}/`)).send(t).then(e=>e).catch(e=>{throw e})},deleteKeywords(e){return H.delete(V.restUrl(`search-statistics/keyword-rank-tracker/keywords`)).send({ids:e}).then(e=>([this.keywords.paginated,this.groups.tableKeywords.paginated].forEach(t=>{let n=Math.max(0,t.offset-e.body.rowsAffected);t.offset=t.totals.total-e.body.rowsAffected<=t.offset?Math.floor(n/t.limit)*t.limit:Math.ceil(n/t.limit)*t.limit}),e)).catch(e=>{throw e})},insertGroups({groups:e,keywords:t}){return this.errors.crud=null,H.post(V.restUrl(`search-statistics/keyword-rank-tracker/groups`)).send({groups:e,keywords:t}).then(e=>e).catch(e=>{throw this.errors.crud=e?.response?.body?.error||null,e})},fetchGroups(e={}){return this.groups.paginated={...this.groups.paginated,...e},H.get(V.restUrl(`search-statistics/keyword-rank-tracker/groups`)).query({orderBy:this.groups.paginated.orderBy,orderDir:this.groups.paginated.orderDir,limit:this.groups.paginated.limit,offset:this.groups.paginated.offset,searchTerm:this.groups.paginated.searchTerm,filter:this.groups.paginated.filter,additionalFilters:this.groups.paginated.additionalFilters,startDate:this.range.start,endDate:this.range.end}).then(e=>(this.groups.paginated.rows=e.body.paginated.rows,this.groups.paginated.totals=e.body.paginated.totals,this.groups.all.rows=e.body.all.rows,this.groups.count=e.body.count,e)).catch(e=>{throw e})},fetchGroupsTableKeywords(e={}){let t=Id();return this.groups.tableKeywords.paginated={...this.groups.tableKeywords.paginated,...e,limit:t.settings.tablePagination?.searchStatisticsKrtGroupsTableKeywords},H.get(V.restUrl(`search-statistics/keyword-rank-tracker/keywords`)).query({orderBy:this.groups.tableKeywords.paginated.orderBy,orderDir:this.groups.tableKeywords.paginated.orderDir,limit:this.groups.tableKeywords.paginated.limit,offset:this.groups.tableKeywords.paginated.offset,searchTerm:this.groups.tableKeywords.paginated.searchTerm,filter:this.groups.tableKeywords.paginated.filter,additionalFilters:this.groups.tableKeywords.paginated.additionalFilters,startDate:this.range.start,endDate:this.range.end,"ids[]":e?.ids?e.ids.length?e.ids:[0]:[]}).then(async t=>(this.groups.tableKeywords.paginated.rows=t.body.paginated.rows,this.groups.tableKeywords.paginated.totals=t.body.paginated.totals,e?.updateKeywords&&(await this.fetchKeywords(),this.maybeFetchStatistics({context:`keywords`})),t)).catch(e=>{throw e})},updateGroup({id:e,payload:t}){return this.errors.crud=null,H.put(V.restUrl(`search-statistics/keyword-rank-tracker/groups/${e}/`)).send(t).then(e=>e).catch(e=>{throw this.errors.crud=e?.response?.body?.error||null,e})},deleteGroups(e){return H.delete(V.restUrl(`search-statistics/keyword-rank-tracker/groups`)).send({ids:e}).then(e=>{let t=Math.max(0,this.groups.paginated.offset-e.body.rowsAffected);return this.groups.paginated.offset=this.groups.paginated.totals.total-e.body.rowsAffected<=this.groups.paginated.offset?Math.floor(t/this.groups.paginated.limit)*this.groups.paginated.limit:Math.ceil(t/this.groups.paginated.limit)*this.groups.paginated.limit,e}).catch(e=>{throw e})},updateRelationships({keywords:e,groups:t}){return H.post(V.restUrl(`search-statistics/keyword-rank-tracker/relationships`)).send({keywords:e,groups:t}).then(e=>e).catch(e=>{throw e})},maybeFetchStatistics({context:e,postId:t=0}){if(this[e].paginated.rows.length||this[e].all.rows.length)return this.isFetchingStatistics[e]=!0,H.post(V.restUrl(`search-statistics/keyword-rank-tracker/statistics`)).send({context:e,startDate:this.range.start,endDate:this.range.end,paginated:this[e].paginated,all:this[e].all,postId:t||0}).then(t=>{this[e].paginated.rows=t.body.paginated.rows,this[e].all.rows=t.body.all.rows,this[e].statistics=t.body.statistics}).catch(e=>{throw e}).finally(()=>{this.isFetchingStatistics[e]=!1})},maybeUpdateKeywords(e={}){if(this.keywords.count)return this.fetchKeywords(e).then(()=>this.maybeFetchStatistics({context:`keywords`,postId:e?.postId}))},maybeUpdateGroups(){if(this.groups.count)return this.fetchGroups().then(()=>this.maybeFetchStatistics({context:`groups`}))},resetGroupsTableKeywords(){this.groups.tableKeywords={paginated:{rows:[],totals:{page:1,pages:0,total:0},orderBy:``,orderDir:``,limit:``,offset:``,searchTerm:``,filter:`all`,additionalFilters:{}}}},resetRelatedKeywords(){this.keywords.related={selected:[],paginated:{rows:[]}}},resetKeywordsRankingPages(){this.keywords.rankingPages={paginated:{rows:[],totals:{page:1,pages:0,total:0},limit:5,offset:0}}},fetchGscKeywords(){return this.isFetchingGscKeywords=!0,H.get(V.restUrl(`search-statistics/stats/keywords`)).query({startDate:this.range.start,endDate:this.range.end,filter:`all`,searchTerm:``,limit:50}).then(e=>{e.body.success&&(this.gscKeywords=e.body.data.paginated.rows||[])}).catch(e=>{throw e}).finally(()=>{this.isFetchingGscKeywords=!1})},fetchRelatedKeywords(e){return H.get(V.restUrl(`search-statistics/keyword-rank-tracker/related-keywords`)).query({keyword:e,startDate:this.range.start,endDate:this.range.end}).then(e=>(this.keywords.related.paginated.rows=e.body.paginated.rows,e)).catch(e=>{throw e})},fetchKeywordsRankingPages(e={}){this.keywords.rankingPages.paginated={...this.keywords.rankingPages.paginated,...e};let t=this.keywords.rankingPages.paginated.keywords;return H.post(V.restUrl(`search-statistics/stats/keywords/posts`)).send({limit:this.keywords.rankingPages.paginated.limit,offset:this.keywords.rankingPages.paginated.offset,startDate:this.range.start,endDate:this.range.end,keywords:t}).then(e=>{if(e.body.success){let n=e.body?.data?.[t[0]].paginated||{};this.keywords.rankingPages.paginated.rows=Object.values(n?.rows||{}),this.keywords.rankingPages.paginated.totals=n?.totals||{}}}).catch(e=>{throw e})},maybeFetchRelatedKeywordsStatistics(){if(!this.keywords.related.paginated.rows.every(e=>e.statistics!==null))return H.post(V.restUrl(`search-statistics/keyword-rank-tracker/statistics`)).send({context:`keywords`,startDate:this.range.start,endDate:this.range.end,all:this.keywords.related.paginated}).then(e=>{this.keywords.related.paginated.rows=e.body.all.rows}).catch(e=>{throw e})}}}),Yu=`table-of-contents-plus`,Xu=()=>{let e=Q(),t=document.createElement(`a`);t.href=e.aioseo.urls.aio.settings,t.classList.add(`ab-item`);let n=document.createElement(`span`);return n.innerText=L(`Add License Key`,Yu),n.classList.add(`aioseo-menu-highlight`),n.classList.add(`green`),t.appendChild(n),t},Zu=z(`LicenseStore`,{state:()=>({license:{expires:0,isActive:!1,isDisabled:!1,isExpired:!1,isInvalid:!1}}),getters:{isUnlicensed:e=>(void 0).toLowerCase()!==`pro`||!e.license.isActive,counts:()=>{let e=Q(),t=X(),n=e.aioseo.data.isNetworkAdmin?t.internalNetworkOptions.internal.license?.counts:t.internalOptions.internal.license?.counts;return n&&typeof n==`string`&&(n=JSON.parse(n)),n},upgradeUrl:()=>{let e=Q(),t=X();return e.aioseo.data.isNetworkAdmin?t.internalNetworkOptions.internal.license?.upgradeUrl:t.internalOptions.internal.license?.upgradeUrl}},actions:{activate(e){let t=sd(),n=X(),r=Q(),i=Nd(),a={network:r.aioseo.data.isNetworkAdmin};return e&&(a.licenseKey=e.trim()),H.post(V.restUrl(`activate`)).send(a).then(e=>{if(r.aioseo.data.isNetworkAdmin?i.hasNetworkLicenseKey=!0:i.hasLicenseKey=!0,t.updateNotifications(e.body.notifications),this.license=e.body.license,e.body.licenseData&&(e.body.licenseData?.counts&&typeof e.body.licenseData.counts==`string`&&(e.body.licenseData.counts=JSON.parse(e.body.licenseData.counts)),Object.keys(e.body.licenseData).forEach(t=>{let i=r.aioseo.data.isNetworkAdmin?`internalNetworkOptions`:`internalOptions`;n.updateOption(i,{groups:[`internal`,`license`],key:t,value:e.body.licenseData[t]})}),r.aioseo.data.isNetworkLicensed=r.aioseo.data.isNetworkAdmin,this.clearLicenseNotices()),e.body.aiOptions){let t=r.aioseo.data.isNetworkAdmin?`internalNetworkOptions`:`internalOptions`;Object.keys(e.body.aiOptions).forEach(r=>{n.updateOption(t,{groups:[`internal`,`ai`],key:r,value:e.body.aiOptions[r]})}),e.body.aiOptions.hasAccessToken!==void 0&&(n[t].internal.ai.hasAccessToken=e.body.aiOptions.hasAccessToken)}return e})},multisite(e){let t=sd(),n=Q();return H.post(V.restUrl(`multisite`)).send({network:n.aioseo.data.isNetworkAdmin,sites:e}).then(e=>{n.aioseo.data={...n.aioseo.data,network:{...n.aioseo.data.network}},t.updateNotifications(e.body.notifications)})},deactivate(){let e=sd(),t=X(),n=Q(),r=Nd();return H.post(V.restUrl(`deactivate`)).send({network:n.aioseo.data.isNetworkAdmin}).then(i=>{if(n.aioseo.data.isNetworkAdmin?r.hasNetworkLicenseKey=!1:r.hasLicenseKey=!1,e.updateNotifications(i.body.notifications),i.body.licenseData){if(Object.keys(i.body.licenseData).forEach(e=>{let r=n.aioseo.data.isNetworkAdmin?`internalNetworkOptions`:`internalOptions`;t.updateOption(r,{groups:[`internal`,`license`],key:e,value:i.body.licenseData[e]})}),this.license=i.body.license,i?.body?.aiOptions){let e=n.aioseo.data.isNetworkAdmin?`internalNetworkOptions`:`internalOptions`;Object.keys(i.body.aiOptions).forEach(n=>{t.updateOption(e,{groups:[`internal`,`ai`],key:n,value:i.body.aiOptions[n]})}),i.body.aiOptions.hasAccessToken!==void 0&&(t[e].internal.ai.hasAccessToken=i.body.aiOptions.hasAccessToken)}n.aioseo.isUnlicensed=!0,this.addLicenseNotices()}return i})},clearLicenseNotices(){let e=document.querySelector(`.aioseo-submenu-highlight`);e&&e.remove();let t=document.querySelector(`#wp-admin-bar-aioseo-pro-license`);t&&t.remove()},addLicenseNotices(){this.clearLicenseNotices();let e=document.querySelector(`#toplevel_page_aioseo ul.wp-submenu-wrap`);if(e){let t=document.createElement(`li`);t.classList.add(`aioseo-submenu-highlight`);let n=Xu();t.appendChild(n),e.appendChild(t)}let t=document.querySelector(`#wp-admin-bar-aioseo-main-default`);if(t){let e=document.createElement(`li`);e.id=`wp-admin-bar-aioseo-pro-license`;let n=Xu();e.appendChild(n),t.appendChild(e)}}}}),Qu=z(`LinkAssistantStore`,{state:()=>({options:{main:{affiliatePrefix:``,wordsToIgnore:``,skipSentences:3,postTypes:{all:!0,included:null},postStatuses:{all:!0,included:null},excludePosts:[]}},internalOptions:{internal:{minimumLinkScanDate:null,minimumSuggestionScanDate:null,dismissedAlerts:{suggestions:!1}}},overview:{totals:{crawledPosts:0,externalLinks:0,internalLinks:0,affiliateLinks:0,orphanedPosts:0},linkingOpportunities:[],mostLinkedDomains:[]},domainsReport:{rows:[],totals:{page:1,pages:1,total:1},innerPagination:{}},linksReport:{rows:[],totals:{page:1,pages:1,total:1},prioritizedPosts:[],counts:[{inboundInternal:0,outboundInternal:0,affiliate:0,external:0,suggestionsInbound:0,suggestionsOutbound:0}]},postReport:{inboundInternal:{rows:[],totals:{page:1,pages:1,total:0}},outboundInternal:{rows:[],totals:{page:1,pages:1,total:0}},affiliate:{rows:[],totals:{page:1,pages:1,total:0}},external:{rows:[],totals:{page:1,pages:1,total:0}},suggestionsInbound:{rows:[],totals:{page:1,pages:1,total:0}},suggestionsOutbound:{rows:[],totals:{page:1,pages:1,total:0}}},suggestionsScan:{percent:0,showProcessingPopup:!1},skipNextPostSettingsUpdate:!1}),actions:{linkDelete({postId:e,linkId:t,linksReport:n,postReport:r}){let i=n?`links-report-inner`:r?`post-report`:`post-settings`;return H.post(V.restUrl(`link-assistant/${i}/links/delete`)).send({postId:e,linkId:t}).then(e=>{if(!n&&!r){if(e.body?.links){let t=Z(),n=t.currentPost;n.linkAssistant.links=e.body.links,t.updateState(n)}return}this.getOverviewData(),!r&&n&&this.setLinksReportCounts()})},linksBulk({postId:e,action:t,linkType:n,linkIds:r,linksReport:i,postReport:a}){let o=i?`links-report-inner`:a?`post-report`:`post-settings`;return H.post(V.restUrl(`link-assistant/${o}/links/bulk`)).send({postId:e,action:t,linkType:n,linkIds:r}).then(e=>{if(!i&&!a){if(e.body?.links){let t=Z(),n=t.currentPost;n.linkAssistant.links=e.body.links,t.updateState(n)}return}this.getOverviewData(),!a&&i&&this.setLinksReportCounts()})},linksRefresh({postId:e,linksReport:t,postReport:n}){let r=t?`links-report-inner`:n?`post-report`:`post-settings`;return H.post(V.restUrl(`link-assistant/${r}/refresh`)).send({postId:e}).then(()=>{this.linksReport.prioritizedPosts.push(e),t&&this.setLinksReportCounts(),this.pollSuggestionsScan()}).catch(e=>{console.error(`Couldn't prioritize the post for the next scan.`,e)})},suggestionDismiss({postIndex:e,postId:t,suggestionId:n,linksReport:r,postReport:i}){let a=Z(),o=r?`links-report-inner`:i?`post-report`:`post-settings`;return H.post(V.restUrl(`link-assistant/${o}/suggestions/dismiss`)).send({postId:t||a.currentPost.id,suggestionId:n}).then(t=>{if(!r&&!i){if(t.body?.links){let e=a.currentPost;e.linkAssistant.links=t.body.links,a.updateState(e)}return}i||r&&(t.body?.links&&(e||e===0)&&(this.linksReport.rows[e].links=t.body.links),this.getOverviewData(),this.setLinksReportCounts())})},suggestionsBulk({postId:e,action:t,suggestionType:n,suggestionRows:r,linksReport:i,postReport:a}){let o=i?`links-report-inner`:a?`post-report`:`post-settings`;return H.post(V.restUrl(`link-assistant/${o}/suggestions/bulk`)).send({postId:e,action:t,suggestionType:n,suggestionRows:r}).then(e=>{if(!i&&!a){if(e.body?.links){let t=Z(),n=t.currentPost;n.linkAssistant.links=e.body.links,t.updateState(n)}return}this.getOverviewData(),!a&&i&&this.setLinksReportCounts()})},fetchLinksReport({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,filter:a,additionalFilters:o}){return H.post(V.restUrl(`link-assistant/links-report/${a}`)).send({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,additionalFilters:o}).then(e=>{this.linksReport=e.body.linksReport,this.getOverviewData(),this.setLinksReportCounts()})},fetchLinksReportInner({filter:e,additionalFilters:t}){return H.post(V.restUrl(`link-assistant/links-report-inner/${e}`)).send({additionalFilters:t}).then(e=>{let n=t?.postIndex;e.body?.links&&(n||n===0)&&(this.linksReport.rows[n].links=e.body.links,this.setLinksReportCounts()),this.getOverviewData()})},fetchDomainsReport({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,filter:a,additionalFilters:o}){return H.post(V.restUrl(`link-assistant/domains-report/${a}`)).send({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,additionalFilters:o}).then(e=>{this.domainsReport=e.body.domainsReport,this.getOverviewData()})},fetchDomainsReportInner({orderBy:e,orderDir:t,offset:n,searchTerm:r,filter:i,additionalFilters:a}){return H.post(V.restUrl(`link-assistant/domains-report-inner/${i}`)).send({orderBy:e,orderDir:t,offset:n,searchTerm:r,additionalFilters:a}).then(e=>{this.domainsReport.rows[a.domainIndex][a.domain]=e.body.posts||[],this.getOverviewData()})},fetchPostReport({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,filter:a,additionalFilters:o={}}){return H.post(V.restUrl(`link-assistant/post-report/${a}`)).send({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,additionalFilters:o}).then(e=>(o.type&&(this.postReport[o.type]=e.body.links),e))},linksReportDeleteAll({postId:e}){return H.delete(V.restUrl(`link-assistant/links-report/post/${e}`)).then(()=>{})},domainsReportBulk({action:e,rowIndexes:t}){let n=[];return Array.isArray(t)?t.forEach(e=>{n.push(Object.keys(this.domainsReport.rows[e])[0])}):n.push(Object.keys(this.domainsReport.rows[t])[0]),H.post(V.restUrl(`link-assistant/domains-report/bulk/${e}`)).send({hostnames:n}).then(()=>{this.getOverviewData()})},domainsReportInnerBulk({offset:e,searchTerm:t,action:n,domainIndex:r,linkIndexes:i}){let a=[];if(Array.isArray(i))i.forEach(e=>{let t=Object.keys(this.domainsReport.rows[r])[0];this.domainsReport.rows[r][t][e].links.forEach(e=>{a.push(e)})});else{let e=Object.keys(this.domainsReport.rows[r])[0];this.domainsReport.rows[r][e][i].links.forEach(e=>{a.push(e)})}return H.post(V.restUrl(`link-assistant/domains-report-inner/bulk/${n}`)).send({searchTerm:t,links:a,offset:e}).then(()=>{this.getOverviewData()})},domainsReportInnerLinkUpdate({domain:e,link:t}){return H.put(V.restUrl(`link-assistant/domains-report-inner/link`)).send({hostname:e,link:t}).then(()=>{this.getOverviewData()})},domainsReportInnerLinkDelete({searchTerm:e,rows:t,postIndex:n,linkIndex:r,offset:i}){let a=t[n].links[r];return H.delete(V.restUrl(`link-assistant/domains-report-inner/link`)).send({searchTerm:e,offset:i,link:a}).then(()=>{this.getOverviewData()})},postSettingsUpdate({postContent:e,skipNextRun:t,fromWatcher:n}){if(n&&this.skipNextPostSettingsUpdate){this.skipNextPostSettingsUpdate=!1;return}let r=Z();return window.aioseoBus.$emit(`updatingLinks`,!0),H.post(V.restUrl(`link-assistant/post-settings/update`)).send({postId:r.currentPost.id,postContent:e}).then(e=>{if(e.body?.links){let t=r.currentPost;t.linkAssistant.links=e.body.links,r.updateState(t)}t&&(this.skipNextPostSettingsUpdate=!0)}).catch(e=>{console.error(`Couldn't get updated Link Assistant data:`,e)}).finally(()=>{window.aioseoBus.$emit(`updatingLinks`,!1)})},getMenuData(){return H.get(V.restUrl(`link-assistant/data/menu`)).then(e=>{e.body.data&&this.resetState(e.body.data)})},getOverviewData(){return H.get(V.restUrl(`link-assistant/data/overview`)).then(e=>{e.body.data&&(this.overview=e.body.data)})},getPostData(){let e=Z(),t=e.currentPost.id;return H.get(V.restUrl(`link-assistant/data/post/${t}`)).then(t=>{if(t.body.data){let n=e.currentPost;n.linkAssistant=t.body.data.currentPost.linkAssistant,e.updateState(n),this.resetState(t.body.data)}})},triggerScan(){return H.get(V.restUrl(`link-assistant/data/trigger-scan`)).then(e=>{e.body.data&&this.resetState(e.body.data)})},pollSuggestionsScan(){return H.get(V.restUrl(`link-assistant/data/suggestions-scan-percent`)).then(e=>{e.body&&`percent`in e.body&&(this.suggestionsScan.percent!==e.body.percent&&this.getOverviewData(),this.suggestionsScan.percent=e.body.percent,e.body.percent!==100&&setTimeout(()=>{this.pollSuggestionsScan()},1e4))})},setLinksReportCounts(){let e=[];this.linksReport.rows.forEach((t,n)=>{e[n]={inboundInternal:t.links.inboundInternal.totals.total,outboundInternal:t.links.outboundInternal.totals.total,affiliate:t.links.affiliate.totals.total,external:t.links.external.totals.total,suggestionsInbound:t.links.suggestionsInbound.totals.total,suggestionsOutbound:t.links.suggestionsOutbound.totals.total}}),this.linksReport.counts=e},resetState(e){e.options&&(this.options=e.options),e.internalOptions&&(this.internalOptions=e.internalOptions),e.overview&&(this.overview=e.overview),e.domainsReport&&(this.domainsReport=e.domainsReport),e.linksReport&&(this.linksReport=e.linksReport)},toggleProcessingPopup(){this.suggestionsScan.showProcessingPopup=!this.suggestionsScan.showProcessingPopup},setDomainsReportInnerPaginatedPage({domain:e,page:t}){let n=this.domainsReport.innerPagination||{};n[e]=t,this.domainsReport.innerPagination=n},resetPostReportState(){this.postReport={inboundInternal:{rows:[],totals:{page:1,pages:1,total:0}},outboundInternal:{rows:[],totals:{page:1,pages:1,total:0}},affiliate:{rows:[],totals:{page:1,pages:1,total:0}},external:{rows:[],totals:{page:1,pages:1,total:0}},suggestionsInbound:{rows:[],totals:{page:1,pages:1,total:0}},suggestionsOutbound:{rows:[],totals:{page:1,pages:1,total:0}}}}}});z(`LocalSeoStore`,{state:()=>({importers:[]}),actions:{importPlugins(e){return H.post(V.restUrl(`local-business/import-plugins`)).send(e).then(e=>{if(e.body?.localBusinessOptions){let t=X();t.options.localBusiness=Wo({...t.options.localBusiness},{...e.body?.localBusinessOptions||{}})}})}}});var $u=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),ed=`\\p{L}\\p{N}\\p{M}_`,td=e=>`(?<![${ed}])${$u(e)}(?![${ed}])`,nd=(e,t=null)=>{try{e=JSON.parse(e)}catch{e=t}return e},rd=e=>!!e&&typeof e==`object`&&[`userAgent`,`directive`,`fieldValue`].every(t=>t in e),id=e=>Array.isArray(e)?e.reduce((e,t)=>{let n=typeof t==`string`,r=n?nd(t):t;return rd(r)&&e.push(n?t:JSON.stringify(r)),e},[]):[],ad=z(`NetworkStore`,{state:()=>({activeSites:[],networkData:{},networkRobots:{rules:[]},currentSite:{}}),getters:{getNetworkRobots:()=>{let e=X();return e.networkOptions.tools?e.networkOptions.tools.robots:[]}},actions:{fetchNetworkSites({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,filter:a}){return H.post(V.restUrl(`network-sites/${a}`)).send({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i}).then(e=>{let t=Q();t.aioseo.data={...t.aioseo.data,network:{...t.aioseo.data.network,sites:e.body.sites}},this.networkData.sites=e.body.sites})},fetchSiteRobots(e){return H.get(V.restUrl(`network-robots/${e}`)).then(e=>{this.networkRobots.rules=id(e.body.rules)})},getActiveSites(e){return H.post(V.restUrl(`activated`)).send({domains:e}).then(e=>{this.activeSites=e.body.activeSites})},importRobotsTxt({url:e,text:t,source:n,networkLevel:r,blogId:i}){return H.post(V.restUrl(`tools/import-robots-txt`)).send({url:e,text:t,source:n,networkLevel:r,blogId:i}).then(e=>e)}}}),od=e=>{let t=document.querySelector(`.aioseo-menu-notification-counter`);if(t){if(e.active.length)t.innerText=e.active.length;else{t.remove();let e=document.querySelector(`#wp-admin-bar-aioseo-notifications`);e&&e.remove();let n=document.querySelector(`#toplevel_page_aioseo .wp-first-item`),r=document.querySelector(`#toplevel_page_aioseo .wp-first-item .aioseo-menu-notification-indicator`);n?.contains(r)&&n.remove()}}},sd=z(`NotificationsStore`,{state:()=>({active:[],new:[],dismissed:[],force:!1,showNotifications:!1}),getters:{activeNotifications:e=>e.active,activeNotificationsCount:e=>e.active.length,dismissedNotifications:e=>e.dismissed,dismissedNotificationsCount:e=>e.dismissed.length},actions:{toggleNotifications(){this.showNotifications=!this.showNotifications},dismissNotifications(e){return e.reverse().forEach(e=>{let t=this.active.findIndex(t=>t.slug===e);t!==-1&&this.active.splice(t,1)}),H.post(V.restUrl(`notifications/dismiss`)).send(e).then(e=>{if(!e.body.success)throw Error(e.body.message);this.updateNotifications(e.body.notifications)})},updateNotifications(e){e.new.length&&window.aioseoNotifications&&(window.aioseoNotifications.newNotifications=e.new.length),this.active=e.active,this.new=e.new,this.dismissed=e.dismissed,od(e)},processButtonAction(e){let t=Q();return H.post(V.restUrl(`${e}`)).send({network:t.aioseo.data.isNetworkAdmin}).then(e=>{if(this.updateNotifications(e.body.notifications),!e.body.success)throw Error(e.body.message)})}}}),X=z(`OptionsStore`,{state:()=>({dynamicOptions:{},internalNetworkOptions:{},internalOptions:{},networkOptions:{},options:{},htaccessError:null,saveError:null}),getters:{aiCreditPercentage(){return Math.round(this.internalOptions.internal.ai.credits.remaining/this.internalOptions.internal.ai.credits.total*100)}},actions:{saveChanges(){let e=Ku(),t=qu(),n=Qu(),r=sd(),i=gd(),a=Q(),o={options:this.options,dynamicOptions:this.dynamicOptions,network:a.aioseo.data.isNetworkAdmin,networkOptions:this.networkOptions};switch(a.aioseo.page){case`redirects`:o.redirectOptions=i.options;break;case`link-assistant`:o.linkAssistantOptions=n.options;break;case`settings`:o.indexNowOptions=t.options}return H.post(V.restUrl(`options`)).send(o).then(n=>(r.updateNotifications(n.body.notifications),e.updateOriginalOptions(`options`,this.options),e.updateOriginalOptions(`dynamicOptions`,this.dynamicOptions),i?.options&&e.updateOriginalOptions(`redirectOptions`,i.options),t.options.indexNow.apiKey&&e.updateOriginalOptions(`indexNowOptions`,t.options),n.body.redirection&&(n.body.redirection===`reload`?window.location.reload():window.location.href=n.body.redirection),n)).catch(e=>{console.error(`Failed to save the options.`,e),this.saveError=e.response.body.message})},saveHtaccess(){let e=Q();return H.post(V.restUrl(`htaccess`)).send({htaccess:e.aioseo.data.htaccess}).then(()=>{}).catch(e=>{console.error(`Failed to update .htaccess file.`,e),this.htaccessError=e.response.body.message})},saveNetworkRobots(){let e=Ku(),t=ad(),n=Q(),r=t.currentSite?.blog_id===`network`,i=r?this.networkOptions:this.options,a={enabled:r?this.networkOptions.tools.robots.enable:this.options.tools.robots.enable,network:n.aioseo.data.isNetworkAdmin,rules:t.networkRobots.rules,searchAppearance:i.searchAppearance};return H.post(V.restUrl(`network-robots/${t.currentSite?.blog_id}`)).send(a).then(()=>{e.updateOriginalOptions(r?`networkOptions`:`options`,i)})},getObjects(e){return H.post(V.restUrl(`objects`)).send(e).then(e=>{if(!e.body.success)throw Error(e.body.message);return e})},updateOption(e,{groups:t,key:n,value:r}){let i=this[e];t.forEach(e=>{i=i[e]}),i!==void 0&&i[n]!==void 0&&(i[n]=r)},fetchOptions(e){return H.get(V.restUrl(`options`)).query({siteId:e}).then(e=>(this.options=e.body.options,e)).catch(e=>{throw e})}}});z(`PluginsStore`,{state:()=>({plugins:{}}),actions:{installPlugins(e){let t=Q();return H.post(V.restUrl(`plugins/install`)).send({network:t.aioseo.data.isNetworkAdmin,plugins:e}).then(e=>{if(!e.body.success)throw Error(e.body.message);let t=it();return Object.keys(e.body.completed).forEach(n=>{let r=e.body.completed[n],i=t.addons.find(e=>n===e.sku);i&&(i.basename=r,i.installed=!0,i.hasMinimumVersion=!0,i.installedVersion=i.version,t.updateAddon(i))}),e})},upgradePlugins(e){let t=Q();return H.post(V.restUrl(`plugins/upgrade`)).send({network:t.aioseo.data.isNetworkAdmin,plugins:e}).then(e=>{if(!e.body.success)throw Error(e.body.message);let t=it();return Object.keys(e.body.completed).forEach(n=>{t.updateAddon(e.body.completed[n])}),e})},deactivatePlugins(e){let t=Q();return H.post(V.restUrl(`plugins/deactivate`)).send({network:t.aioseo.data.isNetworkAdmin,plugins:e}).then(e=>e)}}});var cd=[`introductionKeyword`,`keyphraseLength`,`keyphraseDensity`,`keyphraseDistribution`,`keywordCannibalization`,`metaDescriptionKeyword`,`subheadingsKeyword`,`textCompetingLinks`,`imageKeyphrase`,`keyphraseInSEOTitle`,`keyphraseInTermName`,`slugKeyword`,`functionWordsInKeyphrase`];function ld(e,t=new Set){return{basic:ud(e,t),readability:dd(e,t),spelling:fd(e,t)}}function ud(e,t=new Set){return pd([`keyphraseInSEOTitle`,`titleWidth`,`functionWordsInKeyphrase`,`imageAltTags`,`images`,`internalLinks`,`introductionKeyword`,`keyphraseDistribution`,`imageKeyphrase`,`keyphraseLength`,`keyphraseDensity`,`keywordCannibalization`,`metaDescriptionKeyword`,`metaDescriptionLength`,`externalLinks`,`productIdentifier`,`productSKU`,`singleH1`,`subheadingsKeyword`,`textCompetingLinks`,`textLength`,`slugKeyword`],e,t)}function dd(e,t=new Set){return pd([`textParagraphTooLong`,`passiveVoice`,`sentenceBeginnings`,`textSentenceLength`,`subheadingsTooLong`,`textAlignment`,`textPresence`,`textTransitionWords`,`wordComplexity`],e,t)}function fd(e,t=new Set){return pd([`spellingChecker`],e,t)}function pd(e,t,n=new Set){let r={};return t instanceof Map?e.forEach(e=>{n.has(e)||t.has(e)&&(r[e]=t.get(e))}):typeof t==`object`&&e.forEach(e=>{n.has(e)||t[e]&&(r[e]=t[e])}),r}var md=null,hd=e=>{let t=new Set([`modalOpen`,`seo_score`,`page_analysis`,`truseo`,`additional_keywords`,`headlineAnalyzer`,`loading`,`score`,`analysis`,`ai`,`highlightingEnabled`,`showReviewCta`]);return JSON.stringify(e,(e,n)=>t.has(e)?void 0:n)},Z=z(`PostEditorStore`,{state:()=>({isDirty:!1,currentPost:{},isFetchingPostData:!1}),getters:{newHeadlineAnaylzerData(){let e=this.currentPost.headlineAnalyzer?.newData?.headline?this.currentPost.headlineAnalyzer.newData.headline:``,t=this.currentPost.headlineAnalyzer?.newData?.data[Object.keys(this.currentPost.headlineAnalyzer.newData.data)?.[0]]?this.currentPost.headlineAnalyzer.newData.data[Object.keys(this.currentPost.headlineAnalyzer.newData.data)?.[0]]:null;return t=t?JSON.parse(t):null,{newTitle:e,newResult:t}},truseoData(){let{truseo:e,focus_keyword:t,additional_keywords:n}=this.currentPost,r=e?.focus_keyword||null,i=e?.general||null,a=new Set(cd);t&&r?.items&&Object.keys(r.items).forEach(e=>a.add(e)),n?.forEach(e=>{e?.items&&Object.keys(e.items).forEach(e=>a.add(e))});let o=i?ld(i,a):null;return{focusKeyword:t,focusKeywordSynonyms:this.currentPost.keyphrases?.focus?.synonyms||``,additionalKeywords:n,truseo:{focus_keyword:r,general:{basic:o?.basic,readability:o?.readability,spelling:o?.spelling}}}}},actions:{updateTitle(e){this.currentPost.title=e,window.aioseoBus.$emit(`updateTitleKey`)},updateDescription(e){this.currentPost.description=e,window.aioseoBus.$emit(`updateDescriptionKey`)},updatePostHeadlineAnalyzerData(e,t){this.currentPost.headlineAnalyzer=this.currentPost.headlineAnalyzer||{},this.currentPost.headlineAnalyzer.data=e,this.currentPost.headlineAnalyzer.headline=t,this.currentPost.headlineAnalyzer.previousHeadlines=this.currentPost.headlineAnalyzer.previousHeadlines||[];let n=e?.[Object.keys(e||{})?.[0]];if(!n)return;let r=JSON.parse(n);this.recordAnalyzedHeadline(t,r),this.currentPost.headlineAnalyzer.latestScore=r.score},recordAnalyzedHeadline(e,t){if(!e||!t)return;this.currentPost.headlineAnalyzer=this.currentPost.headlineAnalyzer||{},this.currentPost.headlineAnalyzer.previousHeadlines=this.currentPost.headlineAnalyzer.previousHeadlines||[];let n=$o(e);this.currentPost.headlineAnalyzer.previousHeadlines.some(e=>$o(e.headline)===n)||this.currentPost.headlineAnalyzer.previousHeadlines.push({headline:e,result:t,score:t.score})},updateLatestScore(e){this.currentPost.headlineAnalyzer.latestScore=e},updateNewHeadlineAnalyzerData(e,t){this.currentPost.headlineAnalyzer.newData=this.currentPost.headlineAnalyzer.newData||{},this.currentPost.headlineAnalyzer.newData.data=e,this.currentPost.headlineAnalyzer.newData.headline=t,this.currentPost.headlineAnalyzer.newData.showPreview=!0,this.currentPost.headlineAnalyzer.previousHeadlines||(this.currentPost.headlineAnalyzer.previousHeadlines=[]);let n=this.currentPost.headlineAnalyzer.newData.data[Object.keys(this.currentPost.headlineAnalyzer.newData.data)?.[0]];n=JSON.parse(n),this.currentPost.headlineAnalyzer.previousHeadlines.some(e=>e.headline===t)||(this.currentPost.headlineAnalyzer.previousHeadlines.push({headline:t,result:n,score:n.score}),this.currentPost.headlineAnalyzer.latestScore=n.score)},toggleShowNewHeadlineAnalyzerData(e){this.currentPost.headlineAnalyzer.showNewData=e},toggleShowNewHeadlineAnalyzerPreview(e){this.currentPost.headlineAnalyzer.newData.showPreview=e},setNewHeadlineAnalyzerPreview(e,t){this.currentPost.headlineAnalyzer=this.currentPost.headlineAnalyzer||{},this.currentPost.headlineAnalyzer.newData={data:e,headline:t,showPreview:!0},this.currentPost.headlineAnalyzer.showNewData=!0},clearNewHeadlineAnalyzerPreview(){this.currentPost.headlineAnalyzer&&(this.currentPost.headlineAnalyzer.newData=null,this.currentPost.headlineAnalyzer.showNewData=!1)},changeGeneralPreview(e){this.currentPost.generalMobilePrev=e},saveCurrentPost(e){return Ko(`aioseo_page_general_settings`)?(this.currentPost=e,H.post(V.restUrl(`post`)).send(e).then(()=>!0).catch(e=>(console.error(`Unable to update the post data: ${e}`),!1))):Promise.resolve(!1)},updateState(e){this.currentPost=e},savePostState(){if(!this.currentPost||!Object.keys(this.currentPost).length)return;md===null&&(md=hd(this.currentPost)),md!==hd(this.currentPost)&&(this.isDirty=!0,md=hd(this.currentPost),window.aioseoBus.$emit(`postSettingsUpdated`));let e=document.querySelector(`#aioseo-post-settings`);if(e&&(e.value=JSON.stringify(this.currentPost)),this.currentPost.context===`term`){let e=document.querySelector(`#aioseo-term-settings`);e&&(e.value=JSON.stringify(this.currentPost))}},disablePrimaryTermEducation(){return Ko(`aioseo_page_general_settings`)?(this.currentPost.options.primaryTerm.productEducationDismissed=!0,H.post(V.restUrl(`post/${this.currentPost.id}/disable-primary-term-education`))):Promise.resolve()},disableLinkAssistantEducation(){return Ko(`aioseo_page_general_settings`)?(this.currentPost.options.linkFormat.linkAssistantDismissed=!0,H.post(V.restUrl(`post/${this.currentPost.id}/disable-link-format-education`))):Promise.resolve()},saveTruSeoHighlighting(e){let t=this.currentPost;return t?.context===`term`||!t?.options?.truSeo||!Ko(`aioseo_page_general_settings`)?Promise.resolve():(t.options.truSeo.highlightingEnabled=e,H.post(V.restUrl(`post/${t.id}/tru-seo-highlighting`)).send({enabled:e}).then(()=>!0).catch(()=>!1))},incrementInternalLinkCount(){if(!Ko(`aioseo_page_general_settings`))return Promise.resolve();let e=this.currentPost.options.linkFormat.internalLinkCount||0;return this.currentPost.options.linkFormat.internalLinkCount=e+1,H.post(V.restUrl(`post/${this.currentPost.id}/update-internal-link-count`)).send({count:e})},getUserImage({userId:e}){return Ko(`aioseo_page_social_settings`)?H.get(V.restUrl(`user/${e}/image`)).then(e=>e.statusCode===200?e.body.url:``):Promise.resolve(``)},getFirstAttachedImage({postId:e}){return Ko(`aioseo_page_social_settings`)?H.get(V.restUrl(`post/${e}/first-attached-image`)).then(e=>e.statusCode===200?e.body.url:``):Promise.resolve(``)},getMediaData({mediaId:e}){return H.get(V.restUrl(`media/${e}`,`wp/v2`)).then(e=>e.statusCode===200?e.body:{})},processContent({content:e,integration:t}){return Ko(`aioseo_page_general_settings`)?H.post(V.restUrl(`post/${this.currentPost.id}/process-content`)).send({content:e,integration:t}).then(e=>{this.currentPost.processedContent=e.body.content}).catch(e=>{throw e}):Promise.resolve()},fetchPostData(e={}){return this.isFetchingPostData=!0,H.get(V.restUrl(`post`)).query(e).then(e=>e).catch(e=>{throw e}).finally(()=>{this.isFetchingPostData=!1})}}}),gd=z(`RedirectsStore`,{state:()=>({options:{},importers:[],redirects:[],rows:[],logs:[],logs404:[],filters:[],selectedFilters:{},manualUrls:[],sort:{logs:`last_accessed`,logs404:`last_accessed`},sortDir:{logs:`desc`,logs404:`desc`},logSizes:{logs404:{original:0,readable:0},redirectLogs:{original:0,readable:0}},totals:{main:{total:0,pages:0,page:1},total404:{total:0,pages:0,page:1},logs:{total:0,pages:0,page:1}},server:{redirectTest:{testing:!1,failed:!1},filePath:``},lateRefresh:{redirects:!1,logs:!1,logs404:!1},protectedPaths:[],path:``,addNewRedirect:{sourceUrls:[],targetUrl:null,redirectType:null,queryParam:null,customRules:[],showAdvancedSettings:!1,comment:``},capability:`aioseo_page_redirects_manage`}),getters:{hasPermission:e=>Ko(e.capability)},actions:{updateState(e=null){for(let t in e||{})this[t]=e[t]},bulk({action:e,rowIds:t}){if(t=t.filter(t=>{let n=this.rows.find(e=>e.id===parseInt(t));return!(e===`enable`&&n.enabled||e===`disable`&&!n.enabled||e===`reset-hits`&&!n.hits)}),!t.length)return Promise.resolve();let n=e===`delete`?`delete`:`post`,r=e===`delete`?``:`${e}/`;return H[n](V.restUrl(`redirects/bulk/${r}`)).send({rowIds:t})},fetchRedirects({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,filter:a,additionalFilters:o}){let s=Z();return s.currentPost?.context===`post`||s.currentPost?.context===`term`?this.getPostRedirects():H.post(V.restUrl(`redirects/${a}`)).send({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,additionalFilters:o}).then(e=>{this.filters=e.body.filters,this.rows=e.body.rows,this.totals.main=e.body.totals})},fetchLogs({slug:e,orderBy:t,orderDir:n,limit:r,offset:i,searchTerm:a,filter:o}){return H.post(V.restUrl(`redirects/${e}/${o}`)).send({orderBy:t,orderDir:n,limit:r,offset:i,searchTerm:a}).then(t=>{this[e===`404`?`logs404`:`logs`]=t.body.rows,this.totals[e===`404`?`total404`:`logs`]=t.body.totals})},create(e){return e?.group===`404`&&this.setLateRefresh(!0,`redirects`),H.post(V.restUrl(`redirects`)).send(e)},update({id:e,payload:t}){return H.post(V.restUrl(`redirects/${e}/`)).send(t).then(e=>{if(e.body.redirect?.id){let t=this.rows.findIndex(t=>t.id===e.body.redirect.id);t!==-1&&(this.rows[t]=e.body.redirect)}})},delete(e){return H.delete(V.restUrl(`redirects/${e}`))},test({id:e,payload:t}){return H.post(V.restUrl(`redirects/${e}/test/`)).send(t)},deleteLog({slug:e,ids:t}){return H.delete(V.restUrl(`redirects/logs/${e}`)).send({ids:t})},exportServerRedirects(e){return H.get(V.restUrl(`redirects/export/${e}/`))},exportRedirects({groups:e,type:t}){return H.post(V.restUrl(`redirects/export/${t}/`)).send({groups:e})},exportLogs(e){return H.get(V.restUrl(`redirects/export-logs/${e}/`))},uploadFile({file:e,filename:t}){return H.post(V.restUrl(`redirects/import`)).attach(`file`,e,t).then(e=>{this.filters=e.body.filters,this.rows=e.body.rows,this.totals.main=e.body.totals})},importPlugins(e){return H.post(V.restUrl(`redirects/import-plugins`)).send({plugins:e}).then(()=>this.setLateRefresh({value:!0,type:`redirects`}))},importCsvRedirects(e){return H.post(V.restUrl(`redirects/import-csv`)).send(e)},getPosts(e){return H.post(V.restUrl(`redirects/posts`)).send(e).then(e=>{if(!e.body.success)throw Error(e.body.message);return e})},getRedirectOptions(){return H.get(V.restUrl(`redirects/options`)).then(e=>{e.body.options&&(this.options=e.body.options,this.importers=e.body.importers,Ku().updateOriginalOptions(`redirectOptions`,this.options))})},testServerRedirects(){if(!Ko(`aioseo_redirects_manage`))return Promise.resolve();let e=sd();if(!this.server.redirectTest.testing)return this.server.redirectTest.testing=!0,H.get(V.restUrl(`redirects/server/test`)).then(t=>{this.server.redirectTest.testing=!1,this.server.redirectTest.failed=!t.body.success,e.updateNotifications(t.body.notifications)}).catch(()=>{this.server.redirectTest.testing=!1,this.server.redirectTest.failed=!0})},getPostRedirects(){if(!Ko(this.capability))return Promise.resolve();let e=Z();return H.get(V.restUrl(`redirects/`+e.currentPost.context+`/`+e.currentPost.id)).then(t=>{this.rows=t.body.rows,e.currentPost.permalinkPath=t.body.permalinkPath,e.currentPost.postStatus=t.body.postStatus}).catch(()=>{})},setLateRefresh({value:e=!0,type:t=`all`}){t=t===`all`?[`redirects`,`logs`,`logs404`]:[t];for(let n in t)this.lateRefresh[t[n]]=e},resetPageNumbers(){let{main:e,total404:t,logs:n}=this.totals;e.page=1,t.page=1,n.page=1;let r={main:e,total404:t,logs:n};this.totals=r},clearLog(e){return H.post(V.restUrl(`clear-log`)).send({log:e}).then(t=>{this.logSizes[e]=t.body.logSize})}}}),Q=z(`RootStore`,{state:()=>({pong:!0,loaded:!1,loading:!1,isPro:(void 0).toLowerCase()===`pro`,aioseo:{},navigate:{scroll:null,highlight:null},modals:{active:null,all:new Set,rendered:new Set}}),getters:{truseoData(){let{truseo:e,focus_keyword:t,additional_keywords:n}=this.aioseo,r=e?.focus_keyword||null,i=e?.general||null,a=Array.isArray(n)?n:[],o=new Set(cd);t&&r?.items&&Object.keys(r.items).forEach(e=>o.add(e)),a.forEach(e=>{e?.items&&Object.keys(e.items).forEach(e=>o.add(e))});let s=i?ld(i,o):null;return{focusKeyword:t,additionalKeywords:a,truseo:{focus_keyword:r,general:{basic:s?.basic,readability:s?.readability,spelling:s?.spelling}}}}},actions:{ping(){H.get(V.restUrl(`ping`)).catch(()=>{this.pong=!1})},setActiveModal(e){this.modals.active=e,this.modals.all.add(e)},unsetActiveModal(e){this.modals.all.delete(e),this.modals.active=[...this.modals.all].pop()||null}}}),$=`table-of-contents-plus`,_d=void 0,vd=()=>{let e=[{slug:`article`,graphName:`Article`,label:L(`Article`,$)},{slug:`book`,graphName:`Book`,label:L(`Book`,$)},{slug:`course`,graphName:`Course`,label:L(`Course`,$)},{slug:`dataset`,graphName:`Dataset`,label:L(`Dataset`,$)},{slug:`event`,graphName:`Event`,label:L(`Event`,$)},{slug:`faq-page`,graphName:`FAQPage`,label:L(`FAQ`,$)},{slug:`fact-check`,graphName:`FactCheck`,label:L(`Fact Check`,$)},{slug:`how-to`,graphName:`HowTo`,label:L(`How To`,$)},{slug:`job-posting`,graphName:`JobPosting`,label:L(`Job Posting`,$)},{slug:`movie`,graphName:`Movie`,label:L(`Movie`,$)},{slug:`music`,graphName:`Music`,label:L(`Music`,$)},{slug:`person`,graphName:`Person`,label:L(`Person`,$)},{slug:`product`,graphName:`Product`,label:L(`Product`,$)},{slug:`product-review`,graphName:`ProductReview`,label:L(`Product Review`,$)},{slug:`car`,graphName:`Car`,label:L(`Car`,$)},{slug:`recipe`,graphName:`Recipe`,label:L(`Recipe`,$)},{slug:`service`,graphName:`Service`,label:L(`Service`,$)},{slug:`software-application`,graphName:`SoftwareApplication`,label:L(`Software`,$)},{slug:`video`,graphName:`Video`,label:L(`Video`,$)},{slug:`web-page`,graphName:`WebPage`,label:L(`Web Page`,$)}],t={Article:[{childGraphName:`BlogPosting`,label:L(`Blog Post`,$)},{childGraphName:`NewsArticle`,label:L(`News Article`,$)}],Music:[{childGraphName:`MusicAlbum`,label:L(`Music Album`,$)},{childGraphName:`MusicGroup`,label:L(`Music Group`,$)}],WebPage:[{childGraphName:`WebPage`,label:L(`Web Page`,$)},{childGraphName:`AboutPage`,label:L(`About Page`,$)},{childGraphName:`CheckoutPage`,label:L(`Checkout Page`,$)},{childGraphName:`CollectionPage`,label:L(`Collection Page`,$)},{childGraphName:`ContactPage`,label:L(`Contact Page`,$)},{childGraphName:`ItemPage`,label:L(`Item Page`,$)},{childGraphName:`MedicalWebPage`,label:L(`Medical Page`,$)},{childGraphName:`ProfilePage`,label:L(`Profile Page`,$)},{childGraphName:`RealEstateListing`,label:L(`Real Estate Listing`,$)},{childGraphName:`SearchResultsPage`,label:L(`Search Results Page`,$)}]};return{childGraphs:t,graphs:e,getSchemaWarnings:e=>{let t=Wd(),n=[];return!t.liveTags.featured_image_url&&e?.includes(`#featured_image_url`)&&n.push(L(`This schema uses your featured image URL, which hasn't been set yet. It will resolve automatically once you add a featured image.`,_d)),n},initSchemaEditor:e=>{let t=yd(),n=JSON.stringify(t.graph);t.graph=Wo(e,t.graph);let r=JSON.stringify(t.graph);JSON.stringify(n)!==JSON.stringify(r)&&(t.isDirty=!0)},getGraphObject:(n,r=!1)=>!r&&n?.properties?.type!==n.graphName&&t[n.graphName]?t[n.graphName].find(e=>e.childGraphName===n.properties.type):e.find(e=>e.slug===n.slug),getParentGraphName:e=>{let n=``;return Object.entries(t).forEach(t=>{let r=t[0];t[1].forEach(t=>{n||e===t.childGraphName&&(n=r)})}),n||e}}},yd=z(`SchemaStore`,{state:()=>({capability:`aioseo_general_settings`,custom:{graphName:``,schema:``},defaultGraphParent:``,graph:null,graphCardsKey:0,isDirty:!1,isEditingCustomGraph:!1,isEditingCustomTemplate:!1,isEditingDefaultGraph:!1,isEditingGraph:!1,isEditingTemplate:!1,modalOpen:!1,output:``,outputKey:0,tabs:{generator:`schema-templates`,templates:`schema-catalog`},templateName:``,previousOutputRequestData:null}),getters:{canManageTemplates(){return Ko(this.capability)}},actions:{getCustomObject(e,t){return{id:`#aioseo-custom-`+new Date().getTime().toString(36)+Math.random().toString(36).substring(2,6),custom:!0,graphName:e??this.custom.graphName,schema:t??this.custom.schema}},resetSessionState(){this.custom={graphName:``,schema:``},this.defaultGraphParent=``,this.graph=null,this.templateName=``,this.isEditingCustomGraph=!1,this.isEditingCustomTemplate=!1,this.isEditingDefaultGraph=!1,this.isEditingGraph=!1,this.isEditingTemplate=!1,this.isDirty=!1},addCustomAsGraph(e){let t=Z();e||=[this.getCustomObject()],e.forEach(e=>{t.currentPost.schema.customGraphs.push(e)}),t.currentPost.schema.customGraphs=t.currentPost.schema.customGraphs.sort((e,t)=>e.graphName<t.graphName?-1:1),this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1},addCustomAsTemplate(){let e=X(),t={...this.getCustomObject()};if(!Ko(this.capability))return;let n={...JSON.parse(JSON.stringify(t)),label:`Custom Schema - `+t.graphName};e.internalOptions.internal.schema.templates.push(this.getCustomObject()),this.resetSessionState(),this.setTabTemplates(`your-templates`),H.post(V.restUrl(`schema/templates`)).send({template:n}).then(e=>{e.body.success&&e.body.templates&&this.parseAndUpdateTemplates(e.body.templates)})},addCustomTemplateAsGraph(){let e=Z();e.currentPost.schema.customGraphs.push(this.graph),e.currentPost.schema.customGraphs=e.currentPost.schema.customGraphs.sort((e,t)=>e.graphName<t.graphName?-1:1),this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1},addDefaultGraph(){let e=Z();e.currentPost.schema.default.isEnabled=!0,this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1},addGraph(){let e=Z();e.currentPost.schema.graphs.push(this.graph),e.currentPost.schema.graphs=e.currentPost.schema.graphs.sort((e,t)=>e.graphName<t.graphName?-1:1),this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1},addGraphAsTemplate(){let e=vd();if(this.graph?.properties?.type&&this.graph.properties.type!==this.graph.graphName?this.graph.label=e.getGraphObject(this.graph,!0)?.label+` - `+e.getGraphObject(this.graph)?.label+` - `+this.templateName:this.graph.label=e.getGraphObject(this.graph,!0)?.label+` - `+this.templateName,!Ko(this.capability))return;let t=JSON.parse(JSON.stringify(this.graph));X().internalOptions.internal.schema.templates.push(this.graph),this.resetSessionState(),this.setTabTemplates(`your-templates`),H.post(V.restUrl(`schema/templates`)).send({template:t}).then(e=>{e.body.success&&e.body.templates&&this.parseAndUpdateTemplates(e.body.templates)})},addTemplateAsGraph(e,t=``){let n=X().internalOptions.internal.schema.templates;if(t){let e=new RegExp($u(t).replace(/\s/g,`\\s`),`i`);n=n.filter(t=>t?.label?.match(e))}e===void 0&&(e=n.findIndex(e=>e.id===this.graph.id));let r=JSON.parse(JSON.stringify(n[e]));r.id+=new Date().getTime().toString(18);let i=Z();r.custom?(i.currentPost.schema.customGraphs.push(r),i.currentPost.schema.customGraphs=i.currentPost.schema.customGraphs.sort((e,t)=>e.graphName<t.graphName?-1:1)):(i.currentPost.schema.graphs.push(r),i.currentPost.schema.graphs=i.currentPost.schema.graphs.sort((e,t)=>e.graphName<t.graphName?-1:1)),this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1},deleteCustomGraph(e){let t=Z();e===void 0&&(e=t.currentPost.schema.customGraphs.findIndex(e=>e.id===this.graph.id)),t.currentPost.schema.customGraphs.splice(e,1),this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1},deleteDefaultGraph(){let e=Z();e.currentPost.schema.default.isEnabled=!1,this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1},deleteGraph(e){let t=Z();e===void 0&&(e=t.currentPost.schema.graphs.findIndex(e=>e.id===this.graph.id)),t.currentPost.schema.graphs.splice(e,1),this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1},deleteTemplate(e){if(!Ko(this.capability))return;let t=this.graph.id,n=X();e===void 0&&(e=n.internalOptions.internal.schema.templates.findIndex(e=>e.id===t)),n.internalOptions.internal.schema.templates.splice(e,1),this.resetSessionState(),this.setTabTemplates(`your-templates`),H.delete(V.restUrl(`schema/templates`)).send({templateId:t}).then(e=>{e.body.success&&e.body.templates&&this.parseAndUpdateTemplates(e.body.templates)})},editCustomGraph({customGraphIndex:e}){let t=Z(),n=JSON.parse(JSON.stringify(t.currentPost.schema.customGraphs[e]));this.graph=n,this.isEditingCustomGraph=!0,this.tabs.generator=`custom-schema`,this.modalOpen=!0},editDefaultGraph({parentGraphName:e}){this.defaultGraphParent=e;let t=Z();t.currentPost.schema.default.data[e]&&(this.graph=t.currentPost.schema.default.data[e]),this.isEditingDefaultGraph=!0,this.tabs.generator=`schema-templates`,this.modalOpen=!0},async editGraph({graphIndex:e}){let t=Z(),n=JSON.parse(JSON.stringify(t.currentPost.schema.graphs[e]));this.graph=n,this.isEditingGraph=!0,this.tabs.generator=`schema-templates`,this.modalOpen=!0,await h(),this.isDirty=!1},async editTemplate(e,t=``){let n=X().internalOptions.internal.schema.templates;if(t){let e=new RegExp($u(t).replace(/\s/g,`\\s`),`i`);n=n.filter(t=>t.label.match(e))}let r=JSON.parse(JSON.stringify(n[e]));if(this.graph=r,r.custom)this.templateName=this.graphName,this.isEditingCustomTemplate=!0,this.tabs.generator=`custom-schema`;else{let e=RegExp(`^${this.graph.graphName} -`,`i`),t=this.graph.label.replace(e,``);this.templateName=t,this.isEditingTemplate=!0}await h(),this.isDirty=!1},updateCustomGraph(){let e=Z(),t=e.currentPost.schema.customGraphs.findIndex(e=>e.id===this.graph.id);t!==-1&&(e.currentPost.schema.customGraphs[t]=this.graph,e.currentPost.schema.customGraphs=e.currentPost.schema.customGraphs.sort((e,t)=>e.graphName<t.graphName?-1:1),this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1)},updateDefaultGraph(){let e=Z();e.currentPost.schema.default.data[this.defaultGraphParent]=this.graph,this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1},updateGraph(){let e=Z(),t=e.currentPost.schema.graphs.findIndex(e=>e.id===this.graph.id);t!==-1&&(e.currentPost.schema.graphs[t]=this.graph,e.currentPost.schema.graphs=e.currentPost.schema.graphs.sort((e,t)=>e.graphName<t.graphName?-1:1),this.resetSessionState(),this.graphCardsKey+=1,this.modalOpen=!1)},updateSchemaOutput(){if(!Ko(`aioseo_page_schema_settings`))return;let e=Z();if(Zu().isUnlicensed)return;let t=e.currentPost.id;if(is()&&(t=window.wp.data.select(`core/editor`).getCurrentPostId()),!t||e.currentPost.context!==`post`)return;let n={postId:t,graphs:e.currentPost.schema.graphs,customGraphs:e.currentPost.schema.customGraphs,default:e.currentPost.schema.default,blockGraphs:e.currentPost.schema.blockGraphs};JSON.stringify(n)!==this.previousOutputRequestData&&(this.previousOutputRequestData=JSON.stringify(n),H.post(V.restUrl(`schema/validator/output`)).send(n).then(e=>{if(e.body.success&&e.body.output){let t=null;try{t=JSON.parse(e.body.output)}catch{return}if(e.body.output=JSON.stringify(t,null,` `).trim(),e.body.output===this.output)return;this.output=e.body.output,this.outputKey+=1}}))},updateTemplate(){if(!Ko(this.capability))return;this.graph.label=this.graph.graphName+` - `+this.templateName;let e=JSON.parse(JSON.stringify(this.graph)),t=X(),n=t.internalOptions.internal.schema.templates.findIndex(e=>e.id===this.graph.id);n!==-1&&(t.internalOptions.internal.schema.templates[n]=this.graph,this.resetSessionState(),this.setTabTemplates(`your-templates`),H.put(V.restUrl(`schema/templates`)).send({template:e}).then(e=>{e.body.success&&e.body.templates&&this.parseAndUpdateTemplates(e.body.templates)}))},parseAndUpdateTemplates(e){e=e.map(e=>(typeof e==`string`&&(e=JSON.parse(e)),e)),e=e.sort((e,t)=>{let n=+!e.custom;return e.graphName<t.graphName?-1:n});let t=X();t.internalOptions.internal.schema.templates=e},setModalOpen({isOpen:e,initialTab:t}){e||(this.resetSessionState(),this.setTabTemplates(`schema-catalog`)),this.modalOpen=e,t&&(this.tabs.generator=t)},setTabTemplates(e){this.tabs.generator=`schema-templates`,this.tabs.templates=e}}}),bd=()=>{let e=A();return(e.aioseo?.user?.locale||e.aioseoBrokenLinkChecker?.user?.locale||`en-US`).replace(`_`,`-`)},xd={d:e=>kd(e.getDate()),D:e=>Sd(e).substr(0,3),j:e=>e.getDate(),l:e=>Sd(e),N:e=>e.getDay()||7,S:e=>Td(e.getDate()),w:e=>e.getDay(),z:e=>{let t=e.getFullYear(),n=e.getMonth(),r=e.getDate();return Math.floor((Date.UTC(t,n,r)-Date.UTC(t,0,1))/864e5)},W:e=>Ed(e)[1],F:e=>Cd(e),m:e=>kd(e.getMonth()+1),M:e=>Cd(e).substr(0,3),n:e=>e.getMonth()+1,t:e=>new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),L:e=>+(new Date(e.getFullYear(),1,29).getDate()===29),o:e=>Ed(e)[0],Y:e=>{let t=e.getFullYear();return 0>t&&(t=`-`+(`000`+Math.abs(t)).slice(-4)),t},y:e=>{let t=e.getFullYear();return 0<=t?(`0`+t).slice(-2):(t=Math.abs(t),-+(`0`+t).slice(-2))},a:e=>12>e.getHours()?`am`:`pm`,A:e=>12>e.getHours()?`AM`:`PM`,B:e=>((+e+36e5)%864e5/86400).toFixed(0),g:e=>e.getHours()%12||12,G:e=>e.getHours(),h:e=>kd(e.getHours()%12||12),H:e=>kd(e.getHours()),i:e=>kd(e.getMinutes()),s:e=>kd(e.getSeconds()),u:()=>`000000`,v:e=>Ad(e.getMilliseconds()),e:()=>0,I:e=>e.getTimezoneOffset()===wd(e)[0]?0:1,O:e=>Od(-e.getTimezoneOffset(),!1),P:e=>Od(-e.getTimezoneOffset(),!0),T:e=>e.toLocaleString(`en`,{year:`numeric`,timeZoneName:`long`}).replace(/[^A-Z]/g,``),Z:e=>e.getTimezoneOffset()*-60,c:e=>jd(e,`Y-m-d\\TH:i:sP`),r:e=>jd(e,`D, d M Y H:i:s O`),U:e=>e.getTime()/1e3|0},Sd=e=>e.toLocaleString(bd(),{weekday:`long`}),Cd=e=>e.toLocaleString(bd(),{month:`long`}),wd=e=>{let t=e.getFullYear(),n=[0,2,5,9].map(e=>new Date(t,e).getTimezoneOffset());return[Math.max(...n),Math.min(...n)]},Td=e=>(e%=100,(10>e||13<e)&&[`th`,`st`,`nd`,`rd`][e%10]||`th`),Ed=e=>{let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()));t.setUTCDate(t.getUTCDate()+4-(t.getUTCDay()||7));let n=new Date(Date.UTC(t.getUTCFullYear(),0,1)),r=Math.ceil(((t-n)/864e5+1)/7);return[t.getUTCFullYear(),r]},Dd=e=>Object.prototype.toString.call(e)===`[object Date]`,Od=(e,t)=>{let n=0>e?`-`:`+`;e=Math.abs(e);let r=kd(e/60|0),i=kd(e%60);return n+r+(t?`:`:``)+i},kd=e=>(10>e?`0`:``)+e,Ad=e=>(10>e?`00`:100>e?`0`:``)+e,jd=(e,t)=>{if(Dd(e)&&typeof t==`string`)return t.split(``).reduce((t,n,r,i)=>(n===`\\`?t+=i.splice(r+1,1):n in xd?t+=xd[n](e):t+=n,t),``)},Md=z(`SearchStatisticsStore`,{state:()=>({isConnected:!1,hasInitialized:!1,latestAvailableDate:null,unverifiedSite:!1,authedSite:null,quotaExceeded:{},rolling:null,sitemapsWithErrors:[],range:{start:null,end:null,compareStart:null,compareEnd:null},loading:{seoStatistics:!1,keywords:!1,contentRankings:!1,postDetailSeoStatistics:!1,postDetailKeywords:!1},data:{seoStatistics:{statistics:{clicks:0,impressions:0,ctr:0,position:0,keywords:0,difference:{clicks:0,impressions:0,ctr:0,position:0}},intervals:[],pages:{topPages:{rows:[]},topWinning:{rows:[]},topLosing:{rows:[]},paginated:{rows:[],totals:{page:0,pages:0,total:0}}},timelineMarkers:{}},keywords:{distribution:[],distributionIntervals:[],topWinning:[],topLosing:[],topKeywords:[],paginated:{rows:[],totals:{page:0,pages:0,total:0}}},contentRankings:{paginated:{rows:[],totals:{page:0,pages:0,total:0}}},postDetail:{postId:0,seoStatistics:{intervals:[],statistics:{clicks:0,impressions:0,ctr:0,position:0,keywords:0,difference:{clicks:0,impressions:0,ctr:0,position:0}},timelineMarkers:{}},keywords:{paginated:{rows:[],totals:{page:0,pages:0,total:0}}}}},shouldShowSampleReports:!1}),getters:{canRefreshUrlInspection:e=>!e.quotaExceeded.urlInspection},actions:{getAuthUrl({returnTo:e}){return H.get(V.restUrl(`search-statistics/url/auth`)).query({returnTo:e}).then(e=>e.body.url)},getReauthUrl({returnTo:e}){return H.get(V.restUrl(`search-statistics/url/reauth`)).query({returnTo:e}).then(e=>e.body.url)},deleteAuth(){return H.delete(V.restUrl(`search-statistics/auth`)).send().then(e=>(!0===e.body.success&&(this.isConnected=!1),e.body))},async setDateRange(e,t=!0){let n=Ju();this.range={start:jd(e.dateRange[0],`Y-m-d`),end:jd(e.dateRange[1],`Y-m-d`)},this.rolling=e.rolling,t&&await Promise.all([()=>this.updateSeoStatistics({filter:`all`,searchTerm:``}),()=>this.updateKeywords({filter:`all`,searchTerm:``}),()=>this.updateContentRankings({searchTerm:``}),()=>n.maybeUpdateKeywords(),()=>n.maybeUpdateGroups()].map(e=>e()))},loadInitialData(){this.hasInitialized||(this.hasInitialized=!0,this.data.seoStatistics?.statistics?.impressions||this.updateSeoStatistics({filter:`all`,searchTerm:``}),this.data.keywords?.paginated?.rows?.length||this.updateKeywords({filter:`all`,searchTerm:``}),this.data.contentRankings?.paginated?.totals?.total||this.updateContentRankings({searchTerm:``}))},updateSeoStatistics(e){return this.loading.seoStatistics=!0,H.get(V.restUrl(`search-statistics/stats/seo-statistics`)).query({startDate:this.range.start,endDate:this.range.end,rolling:this.rolling,...e}).then(e=>{e.body.success&&(this.range=e.body.range,this.data.seoStatistics=e.body.data)}).catch(e=>{e.response&&e.response.body&&(e.response.body.range&&(this.range=e.response.body.range),!1===e.response.body.success&&(this.data.seoStatistics=!1))}).finally(()=>{this.loading.seoStatistics=!1})},updateKeywords(e){return this.loading.keywords=!0,H.get(V.restUrl(`search-statistics/stats/keywords`)).query({startDate:this.range.start,endDate:this.range.end,rolling:this.rolling,...e}).then(e=>{e.body.success&&(this.range=e.body.range,this.data.keywords=e.body.data)}).catch(e=>{e.response&&e.response.body&&(e.response.body.range&&(this.range=e.response.body.range),!1===e.response.body.success&&(this.data.keywords=!1))}).finally(()=>{this.loading.keywords=!1})},updateContentRankings(e){return this.loading.contentRankings=!0,H.get(V.restUrl(`search-statistics/stats/content-rankings`)).query({endDate:this.latestAvailableDate,...e}).then(e=>{e.body.success&&(this.data.contentRankings=e.body.data)}).catch(e=>{e.response&&e.response.body&&!1===e.response.body.success&&(this.data.contentRankings=!1)}).finally(()=>{this.loading.contentRankings=!1})},getInspectionResult({paths:e,force:t}){return H.get(V.restUrl(`search-statistics/inspection-result`)).query({"paths[]":e,force:t??!1}).then(e=>(this.quotaExceeded.urlInspection=e.body.quotaExceeded,e.body.data)).catch(e=>{throw e})},getPagesByKeywords(e={}){let t=e.keywords;return H.post(V.restUrl(`search-statistics/stats/keywords/posts`)).send({limit:e.limit,offset:e.offset,startDate:this.range.start,endDate:this.range.end,keywords:t}).then(e=>e.body?.data?.[t[0]].paginated||{}).catch(e=>{throw e})},getPostDetail(e){return H.get(V.restUrl(`search-statistics/post-detail`)).query({startDate:this.range.start,endDate:this.range.end,postId:e}).then(e=>e)},getPostDetailFocusKeywordTrend({focusKeyword:e}){return H.get(V.restUrl(`search-statistics/post-detail/focus-keyword`)).query({startDate:this.range.start,endDate:this.range.end,postId:this.data.postDetail.postId,focusKeyword:e}).then(e=>e)},updatePostDetailSeoStatistics(e){return this.loading.postDetailSeoStatistics=!0,H.get(V.restUrl(`search-statistics/post-detail/seo-statistics`)).query({startDate:this.range.start,endDate:this.range.end,rolling:this.rolling,postId:this.data.postDetail.postId,...e}).then(e=>{e.body.success&&(this.data.postDetail.seoStatistics=e.body.data)}).finally(()=>{this.loading.postDetailSeoStatistics=!1})},updatePostDetailKeywords(e){return this.loading.postDetailKeywords=!0,H.get(V.restUrl(`search-statistics/post-detail/keywords`)).query({startDate:this.range.start,endDate:this.range.end,rolling:this.rolling,postId:this.data.postDetail.postId,...e}).then(e=>{e.body.success&&(this.data.postDetail.keywords=e.body.data)}).finally(()=>{this.loading.postDetailKeywords=!1})},getPageSpeed(e){return H.get(V.restUrl(`search-statistics/pagespeed`)).query(e).then(e=>e)},deleteSitemap({sitemap:e}){return H.post(V.restUrl(`search-statistics/sitemap/delete`)).send({sitemap:e}).then(e=>{X().updateOption(`internalOptions`,{groups:[`internal`,`searchStatistics`],key:`sitemap`,value:e.body.data.internalOptions}),this.sitemapsWithErrors=e.body.data.sitemapsWithErrors})},ignoreSitemap({sitemap:e}){return H.post(V.restUrl(`search-statistics/sitemap/ignore`)).send({sitemap:e}).then(e=>{X().updateOption(`internalOptions`,{groups:[`internal`,`searchStatistics`],key:`sitemap`,value:e.body.data.internalOptions}),this.sitemapsWithErrors=e.body.data.sitemapsWithErrors})},updateSeoRevision(e){let t=this.data.postDetail.seoStatistics.timelineMarkers;Object.keys(t).forEach(n=>{t[n].forEach((r,i)=>{r.type===`aioseoRevision`&&(t[n][i].revisions=t[n][i].revisions.map(t=>t.id===e[0].id?e[0]:t))})}),this.data.postDetail.seoStatistics.timelineMarkers=t},deleteSeoRevision(e){let t=this.data.postDetail.seoStatistics.timelineMarkers;Object.keys(t).forEach(n=>{t[n].forEach((r,i)=>{r.type===`aioseoRevision`&&(t[n][i].revisions=t[n][i].revisions.filter(t=>t.id!==e.id))})}),this.data.postDetail.seoStatistics.timelineMarkers=t},showSampleReports(){this.shouldShowSampleReports=!0}}}),Nd=z(`SensitiveOptionsStore`,{state:()=>({hasLicenseKey:!1,hasNetworkLicenseKey:!1,hasConnectLicenseKey:!1,hasAiAccessToken:!1,hasSemrushAccessToken:!1,hasSemrushRefreshToken:!1,hasSearchStatisticsProfileKey:!1,hasSearchStatisticsProfileToken:!1,hasSearchStatisticsTrustToken:!1,hasSiteAnalysisConnectToken:!1,hasConnectKey:!1,hasConnectToken:!1,hasSeoAlertsSlackWebhookUrl:!1})});z(`SeoChecklistStore`,{state:()=>({items:[],rows:[],loading:!1,error:null,filters:[],expandedItems:{},dismissedItems:[],totals:{total:0,pages:1,page:1},overallCompletedCount:0,overallTotalCount:0,totalCompleted:0,totalIncomplete:0,actionLoading:{}}),getters:{completedItems:e=>e.rows.filter(e=>e.completed),pendingItems:e=>e.rows.filter(t=>!t.completed&&!e.dismissedItems.includes(t.name)),progressPercentage:e=>e.overallTotalCount===0?0:Math.round(e.overallCompletedCount/e.overallTotalCount*100),completedCount:e=>e.overallCompletedCount,totalCount:e=>e.overallTotalCount,remainingMessage(){let e=this.totalCount-this.completedCount;return e===0?`SEO checklist complete!`:`${e} task${e===1?``:`s`} away from SEO checklist complete.`},itemsByPriority:e=>({high:e.rows.filter(e=>e.priority===`high`),medium:e.rows.filter(e=>e.priority===`medium`),optional:e.rows.filter(e=>e.priority===`optional`)})},actions:{fetchChecks({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,filter:a,additionalFilters:o}){return H.post(V.restUrl(`seo-checklist/fetch`)).send({orderBy:e,orderDir:t,limit:n,offset:r,searchTerm:i,filter:a,additionalFilters:o}).then(e=>{this.filters=e.body.filters,this.rows=e.body.rows,this.totals=e.body.totals,e.body.completedCount!==void 0&&(this.overallCompletedCount=e.body.completedCount),e.body.totalCount!==void 0&&(this.overallTotalCount=e.body.totalCount),e.body.completedCount!==void 0&&e.body.totalCount!==void 0&&(this.totalCompleted=e.body.completedCount,this.totalIncomplete=e.body.totalCount-e.body.completedCount)})},async completeItem(e){this.actionLoading[e]=!0;try{return(await H.post(V.restUrl(`seo-checklist/complete`)).send({check:e})).body.success}catch(e){return this.error=`Failed to complete item`,console.error(`Failed to complete item:`,e),!1}finally{delete this.actionLoading[e]}},async doAction(e,t){this.actionLoading[e]=!0;try{return(await H.post(V.restUrl(`seo-checklist/action`)).send({check:e,callback:t})).body.success}catch(e){return this.error=`Failed to execute action: ${t}`,console.error(`Failed to execute action:`,e),!1}finally{delete this.actionLoading[e]}},async dismissItem(e){this.actionLoading[e]=!0;try{return(await H.post(V.restUrl(`seo-checklist/complete`)).send({check:e})).body.success?(this.dismissedItems.includes(e)||this.dismissedItems.push(e),this.rows=this.rows.filter(t=>t.name!==e),!0):!1}catch(e){return this.error=`Failed to dismiss item`,console.error(`Failed to dismiss item:`,e),!1}finally{delete this.actionLoading[e]}},async uncompleteItem(e){this.actionLoading[e]=!0;try{if((await H.post(V.restUrl(`seo-checklist/uncomplete`)).send({check:e})).body.success){let t=this.rows.find(t=>t.name===e);return t&&(t.completed=!1),!0}return!1}catch(e){return this.error=`Failed to uncomplete item`,console.error(`Failed to uncomplete item:`,e),!1}finally{delete this.actionLoading[e]}},async bulkCompleteItems(e){if(!e.length)return!1;try{return(await H.post(V.restUrl(`seo-checklist/bulk-complete`)).send({checks:e})).body.success}catch(e){return this.error=`Failed to complete items`,console.error(`Failed to bulk complete items:`,e),!1}},async bulkUncompleteItems(e){if(!e.length)return!1;try{return(await H.post(V.restUrl(`seo-checklist/bulk-uncomplete`)).send({checks:e})).body.success}catch(e){return this.error=`Failed to uncomplete items`,console.error(`Failed to bulk uncomplete items:`,e),!1}},restoreItem(e){let t=this.dismissedItems.indexOf(e);-1<t&&this.dismissedItems.splice(t,1)},toggleExpanded(e){this.expandedItems[e]=!this.expandedItems[e]},async fetchCompletedChecks(){try{let e=await H.get(V.restUrl(`seo-checklist/completed`));return e.body.success?{totalCompleted:e.body.totalCompleted||0,totalIncomplete:e.body.totalIncomplete||0}:null}catch(e){return console.error(`Failed to fetch completed checks:`,e),null}},hasCompletedChecksChanged(e){return e?this.totalCompleted!==e.totalCompleted||this.totalIncomplete!==e.totalIncomplete:!1},updatePollingCounts(e){e&&(this.totalCompleted=e.totalCompleted,this.totalIncomplete=e.totalIncomplete)}}});var Pd=e=>{let t=e.find(e=>0<e.headings?.length);return!!(t&&Object.keys(t).length)},Fd=(e,t=0)=>{if(!Pd([...e]))return e;let n=[],r=[...e];for(;r.length&&!(t&&n.length===t);){let{...e}=r.shift();e.headings?.length&&r.unshift(...e.headings),e.headings=[],n.push(e)}return n};z(`SeoPreviewStore`,{getters:{richResults(){let e=yd(),t=rs((Fd(Op()?.headings)||[])?.map(e=>e?.content||``));return(!Array.isArray(t)||!t.length)&&(t=[]),{anchorLinks:t.filter(e=>!!e),reviewSnippet:this.extractReviewSnippet(e.output),faq:this.extractFaq(e.output)}}},actions:{extractReviewSnippet(e){let t={};for(let n of[`Movie`,`Product`,`SoftwareApplication`,`Car`,`ProductReview`]){let r=Xc(n,e);if(r){let e=r?.aggregateRating||null,n=r?.offers||null,i=rs(Array.isArray(n)?ns(n,`price`):[]),a=[];if(r?.review){if(Array.isArray(r?.review))a=r.review.map(e=>{let t=Array.isArray(e?.positiveNotes?.itemListElement)?e.positiveNotes.itemListElement.map(e=>e.name):[],n=Array.isArray(e?.negativeNotes?.itemListElement)?e.negativeNotes.itemListElement.map(e=>e.name):[];return t.concat(n)}).flat();else{let e=Array.isArray(r.review.positiveNotes?.itemListElement)?r.review.positiveNotes.itemListElement.map(e=>e.name):[],t=Array.isArray(r.review.negativeNotes?.itemListElement)?r.review.negativeNotes.itemListElement.map(e=>e.name):[];a=e.concat(t)}}i.sort((e,t)=>e-t),t={...e&&{bestRating:r.aggregateRating.bestRating??null,ratingValue:r.aggregateRating.ratingValue??null,reviewCount:r.aggregateRating.reviewCount??null,ratingCount:r.aggregateRating.ratingCount??null},...n&&{priceCurrency:n[0]?.priceCurrency??n.priceCurrency??null,price:i[0]??n.price??null,priceFrom:i[0]??null,priceTo:i[i.length-1]??null},prosConsNotes:a};break}}return t},extractFaq(e){let t=Xc(`FAQPage`,e);return t?.mainEntity?Object.values(t.mainEntity).map(e=>({question:e?.name,answer:e?.acceptedAnswer?.text})):{}}}}),z(`SeoRevisionsStore`,{state:()=>({items:[],currentUser:{avatar:null,display_name:null},itemFrom:{},itemTo:{},itemContext:``,noteMaxLength:0,itemsLimit:0,itemsTotalCount:0,seoRevisionsDiff:[],seoRevisionsDiffCache:{},modalOpenSidebar:!1,error:null,capability:`aioseo_page_seo_revisions_settings`}),getters:{hasPermission:e=>Ko(e.capability),hasDiff(){return 0<this.seoRevisionsDiff.length?0<ns(this.seoRevisionsDiff,`diff`).filter(e=>e).length:!0}},actions:{updateState(e=null){for(let t in e||{})this[t]=e[t]},delete(e){return this.hasPermission?H.delete(V.restUrl(`seo-revisions/${e}`)).then(e=>(this.itemsTotalCount=e.body.itemsTotalCount,e)):Promise.resolve()},fetch(e={},t=!1){if(!this.hasPermission)return Promise.resolve();let n=Z();return H.get(V.restUrl(`seo-revisions/`+n.currentPost.context+`/`+n.currentPost.id)).query(e).then(e=>{if(this.itemsTotalCount=e.body.itemsTotalCount,t)for(let t of e.body.items)this.items.push(t);else this.items=e.body.items;return e})},update({id:e,payload:t}){return this.hasPermission?H.post(V.restUrl(`seo-revisions/${e}/`)).send(t).then(e=>e):Promise.resolve()},restore({id:e}){return this.hasPermission?H.post(V.restUrl(`seo-revisions/restore/${e}/`)).then(e=>e):Promise.resolve()},fetchDiff(e){if(!this.hasPermission)return Promise.resolve();let t=e.fromId+`_`+e.toId;return new Promise(n=>{this.seoRevisionsDiffCache[t]?(this.seoRevisionsDiff=this.seoRevisionsDiffCache[t],n({})):H.get(V.restUrl(`seo-revisions/diff`)).query(e).then(e=>{this.seoRevisionsDiff=e.body.diff,this.seoRevisionsDiffCache[t]=e.body.diff,n(e)})})}}});var Id=z(`SettingsStore`,{state:()=>({settings:{},metaBoxTabs:{mainSidebar:{},main:`general`,modal:`general`,social:`facebook`,socialModal:`facebook`,linkAssistant:`inbound-internal`},modals:{aiGenerator:!1},userProfile:{}}),actions:{closeCard(e){this.settings.toggledCards[e]=!1},openCard(e){this.settings.toggledCards[e]||this.toggleCard({slug:e,shouldSave:!0})},changeTabSettings({setting:e,value:t}){this.metaBoxTabs[e]=t},setModalState({modalName:e,value:t}){this.modals[e]=t},toggleCard({slug:e,shouldSave:t}){this.settings.toggledCards[e]=!this.settings.toggledCards[e],t&&H.post(V.restUrl(`settings/toggle-card`)).send({card:e}).then(()=>{})},toggleRadio({slug:e,value:t}){this.settings.toggledRadio[e]=t,H.post(V.restUrl(`settings/toggle-radio`)).send({radio:e,value:t}).then(()=>{})},dismissAlert(e){this.settings.dismissedAlerts[e]=!0,H.post(V.restUrl(`settings/dismiss-alert`)).send({alert:e}).then(()=>{})},dismissReviewCta(e){return H.post(V.restUrl(`settings/dismiss-review-cta`)).send({delay:e}).then(()=>{}).catch(e=>console.error(`Failed to dismiss the review CTA.`,e))},changeItemsPerPage({slug:e,value:t}){return this.settings.tablePagination[e]=t,H.post(V.restUrl(`settings/items-per-page`)).send({table:e,value:t}).then(()=>{})},changeTab({slug:e,value:t}){this.settings.internalTabs[e]=t},hideUpgradeBar(){return this.settings.showUpgradeBar=!1,H.post(V.restUrl(`settings/hide-upgrade-bar`)).send({}).then(()=>{})},hideSetupWizard(){return this.settings.showSetupWizard=!1,H.post(V.restUrl(`settings/hide-setup-wizard`)).send({}).then(()=>{})},changeSemrushCountry({value:e}){return this.settings.semrushCountry=e,H.post(V.restUrl(`settings/semrush-country`)).send({value:e}).then(()=>{})}}}),Ld=z(`SetupWizardStore`,{state:()=>({currentStage:`welcome`,stages:[`import`,`category`,`additional-information`,`features`,`search-appearance`,`smart-recommendations`,`search-console`,`license-key`],importers:[],category:{category:`blog`,categoryOther:null,siteTitle:``,metaDescription:``},additionalInformation:{siteRepresents:`organization`,person:null,organizationName:null,orgnaizationDescription:null,organizationLogo:null,personName:null,personLogo:null,phone:null,socialShareImage:null,social:{profiles:{sameUsername:{enable:!0,username:null,included:[`facebookPageUrl`,`twitterUrl`,`pinterestUrl`,`instagramUrl`,`youtubeUrl`,`linkedinUrl`]},urls:{facebookPageUrl:null,twitterUrl:null,instagramUrl:null,pinterestUrl:null,youtubeUrl:null,linkedinUrl:null,tumblrUrl:null,yelpPageUrl:null,soundCloudUrl:null,wikipediaUrl:null,myspaceUrl:null,googlePlacesUrl:null,wordPressUrl:null}}}},features:[],searchAppearance:{underConstruction:!1,postTypes:{postTypes:{all:!0,included:[`post`,`page`,`attachment`,`product`]}},multipleAuthors:!0,redirectAttachmentPages:!0,emailReports:!0},smartRecommendations:{accountInfo:null,usageTracking:!0},licenseKey:null,showUsageTrackingModal:!1}),getters:{shouldShowImportStep:()=>{let e=Q();return Ko(`aioseo_tools_settings`)&&e.aioseo.importers.filter(e=>e.canImport).length},getNextLink:e=>{let t={name:e.stages[0]},n=e.stages.findIndex(t=>t===e.currentStage);return n===-1||(t.name=e.stages[n+1]?e.stages[n+1]:`success`),t},getPrevLink:e=>{let t={name:e.stages[0]},n=e.stages.findIndex(t=>t===e.currentStage);return n===-1||(t.name=e.stages[n-1]?e.stages[n-1]:`welcome`),t},getCurrentStageCount:e=>{let t=e.stages.findIndex(t=>t===e.currentStage);return t===-1?e.currentStage===`success`?e.getTotalStageCount:0:t+1},getTotalStageCount:e=>e.stages.length},actions:{saveWizard(e){let t=Q(),n={...this.$state};return n.showUsageTrackingModal=!1,H.post(V.restUrl(`wizard`)).send({section:e,wizard:n,network:t.aioseo.data.isNetworkAdmin}).then(e=>{if(e.body.options){let t=Ku(),n=X();n.options=e.body.options,t.updateOriginalOptions(`options`,e.body.options)}})},loadState(e){Object.keys(e).forEach(t=>{this[t]=e[t]})}}}),Rd=`table-of-contents-plus`,zd=12e3,Bd=250,Vd=2e3,Hd=3,Ud=z(`SpellCheckerDictionaryStore`,{state:()=>({userLocale:``,languageLabel:``,activeLocale:``,activeLabel:``,supported:!1,hasSpellChecker:!1,needsDownload:!1,supportedLanguages:[],installedLocales:[],started:!1,downloading:!1,completed:!1,failed:!1,errorMessage:``,percent:0,_promise:null,_progressId:null,_generation:0}),actions:{hydrate(){let e=window.aioseo?.spellChecker||{};this.userLocale=e.userLocale||``,this.languageLabel=e.userLanguageLabel||``,this.supported=!!e.userLocaleSupported,this.hasSpellChecker=!!e.userLocaleHasSpellCheck,this.needsDownload=!!e.userLocaleNeedsDownload,this.supportedLanguages=Array.isArray(e.supportedLanguages)?[...e.supportedLanguages]:[],this.installedLocales=Array.isArray(e.installedLocales)?[...e.installedLocales]:[],this.completed=!this.needsDownload},isLocaleSpellCheckable(e){return e?this.supportedLanguages.some(t=>t.hasSpellChecker?t.locale===e||Array.isArray(t.variants)&&t.variants.some(t=>t.locale===e):!1):!1},isLocaleInstalled(e){return!!e&&this.installedLocales.includes(e)},shouldDownload(){return!!(window.aioseo?.spellChecker?.enabled&&this.hasSpellChecker&&this.needsDownload&&!this.isLocaleInstalled(this.userLocale))},ensureDownloaded(){return this._promise?this._promise:this.completed||!this.shouldDownload()?(this.completed=!0,this._promise=Promise.resolve(),this._promise):this._run(this.userLocale,this.languageLabel)},downloadForLocale(e,t=``){return!e||!window.aioseo?.spellChecker?.enabled||(this.dismissFailure(),this.supportedLanguages.length&&!this.isLocaleSpellCheckable(e))||this.isLocaleInstalled(e)?Promise.resolve():this._run(e,t)},dismissFailure(){this.failed=!1,this.errorMessage=``},waitForDownload(){return this._promise?this._promise:this.shouldDownload()?this.ensureDownloaded():Promise.resolve()},_run(e,t){this._stopFakeProgress(),this.activeLocale=e,this.activeLabel=t||``,this.started=!0,this.downloading=!0,this.completed=!1,this.failed=!1,this.errorMessage=``,this.percent=5,this._startFakeProgress();let n=++this._generation,r=this._attemptDownload(e,n,0);return this._promise=r,r},_attemptDownload(e,t,n){return H.post(V.restUrl(`spell-checker/download-dictionary`)).send({locale:e}).then(e=>{if(this._generation===t){if(e?.body&&!1===e.body.success){this._settleFailure(e.body.message||``);return}this._settleSuccess()}}).catch(r=>{if(this._generation!==t)return;let i=r?.response?.body;if(i?.code===`download_in_progress`){if(n<Hd)return new Promise(e=>window.setTimeout(e,Vd)).then(()=>{if(this._generation===t)return this._attemptDownload(e,t,n+1)});this._settleFailure(L(`Another post is currently downloading this dictionary. Spell-check for this language won't be available until it finishes.`,Rd));return}let a=i?.message||r?.message||``;this._settleFailure(a)})},_startFakeProgress(){this._stopFakeProgress();let e=Date.now();this._progressId=window.setInterval(()=>{let t=Date.now()-e,n=Math.min(1,t/zd),r=1-(1-n)**2,i=Math.round(5+85*r);i>this.percent&&(this.percent=i),1<=n&&this._stopFakeProgress()},Bd)},_stopFakeProgress(){this._progressId&&=(window.clearInterval(this._progressId),null)},_settleSuccess(){this._stopFakeProgress(),this.percent=100,this.completed=!0,this.needsDownload=!1,this.failed=!1,this._promise=null,this.activeLocale&&!this.installedLocales.includes(this.activeLocale)&&this.installedLocales.push(this.activeLocale),window.setTimeout(()=>{this.downloading=!1},600)},_settleFailure(e){this._stopFakeProgress(),this.percent=100,this.completed=!0,this.failed=!0,this.errorMessage=e,this._promise=null,window.setTimeout(()=>{this.downloading=!1},1500)}}}),Wd=z(`TagsStore`,{state:()=>({tags:[],context:{},liveTags:{post_title:null,post_content:null,post_excerpt:null,taxonomy_title:null,taxonomy_description:null,custom_field:[],featured_image_url:null,permalink:null,attachment_caption:null,attachment_description:null,alt_tag:null,categories:null,woocommerce_brand:null,woocommerce_sku:null,woocommerce_price:null},permalinkSlug:null}),actions:{getTags(){return H.get(V.restUrl(`tags`)).then(e=>{this.tags=e.body.tags})},updateTaxonomyTitle(e){this.liveTags.taxonomy_title=e},updateTaxonomyDescription(e){this.liveTags.taxonomy_description=e},updatePermalink(e){this.liveTags.permalink=e},updatePostTitle(e){this.liveTags.post_title=e},updatePostContent(e){this.liveTags.post_content=e},updatePostExcerpt(e){this.liveTags.post_excerpt=e},updateAttachmentCaption(e){this.liveTags.attachment_caption=e},updateAttachmentDescription(e){this.liveTags.attachment_description=e},updateAltTag(e){this.liveTags.alt_tag=e},updateCategories(e){this.liveTags.categories=e},updateFeaturedImageUrl(e){if(this.liveTags.featured_image_url=e,!e){let e=this.tags.find(e=>e.id===`featured_image_url`);e&&(e.value=``)}},updateWooCommerceBrand(e){this.liveTags.woocommerce_brand=e},updateWooCommerceSku(e){this.liveTags.woocommerce_sku=e},updateWooCommercePrice(e){this.liveTags.woocommerce_price=e},updatePermalinkSlug(e){this.permalinkSlug=e}}});z(`ToolsStore`,{actions:{emailDebugInfo(e){return H.post(V.restUrl(`email-debug-info`)).send({email:e})},doTask({action:e,data:t,siteId:n}){let r=Q();return H.post(V.restUrl(`settings/do-task`)).send({action:e,data:t,siteId:n,network:r.aioseo.data.isNetworkAdmin}).then(t=>{if(!t?.statusCode||t.statusCode===400)return Promise.reject(Error(`Task ${e} could not be completed.`))})},uploadFile({file:e,filename:t,siteId:n}){return H.post(V.restUrl(`settings/import/${n||``}`)).attach(`file`,e,t).then(e=>{if(e.body.license&&!n){let t=Zu();t.license=e.body.license,t.clearLicenseNotices()}let t=X();return t.options=e.body.options,e})},exportSettings(e){return H.post(V.restUrl(`settings/export`)).send(e)},exportContent(e){return H.post(V.restUrl(`settings/export-content`)).send(e)},resetSettings({payload:e,siteId:t}){return H.post(V.restUrl(`reset-settings`)).send({settings:e,siteId:t})},importPlugins(e){return H.post(V.restUrl(`settings/import-plugins`)).send(e)}}});var Gd=(e,t=0)=>{let n=3735928559^t,r=1103547991^t;for(let t=0;t<e.length;t++){let i=e.charCodeAt(t);n=Math.imul(n^i,2654435761),r=Math.imul(r^i,1597334677)}return n=Math.imul(n^n>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507)^Math.imul(n^n>>>13,3266489909),4294967296*(2097151&r)+(n>>>0)},Kd=null,qd=null,Jd=null;function Yd(){return Kd}async function Xd(){if(typeof Jd!=`function`)return null;try{return await Jd()}catch(e){return console.error(`TruSEO analysis run failed:`,e),null}}async function Zd(e){return[]}async function Qd(e){return!0}async function $d(){if(typeof qd==`function`)try{await qd()}catch(e){console.error(`TruSEO analysis refresh failed:`,e)}}async function ef(e,t=!1){return!1}var tf=`aioseo/tru-seo-highlights`,nf=`table-of-contents-plus`;Object.freeze({textParagraphTooLong:`#EC4899`,passiveVoice:`#8B5CF6`,sentenceBeginnings:`#F59E0B`,spellingChecker:`#DC2626`,textSentenceLength:`#3B82F6`,subheadingsTooLong:`#14B8A6`,textAlignment:`#D946EF`,textPresence:`#10B981`,textTransitionWords:`#06B6D4`,wordComplexity:`#84CC16`}),Object.freeze({textParagraphTooLong:`#EC4899`,passiveVoice:`#8B5CF6`,sentenceBeginnings:`#EAB308`,spellingChecker:`#EF4444`,textSentenceLength:`#3B82F6`,subheadingsTooLong:`#64748B`,textAlignment:`#D946EF`,textPresence:`#10B981`,textTransitionWords:`#06B6D4`,wordComplexity:`#84CC16`}),Object.freeze({textParagraphTooLong:L(`Paragraph length`,nf),passiveVoice:L(`Passive voice`,nf),sentenceBeginnings:L(`Repeated sentence starts`,nf),spellingChecker:L(`Spelling`,nf),textSentenceLength:L(`Sentence length`,nf),subheadingsTooLong:L(`Subheading distribution`,nf),textAlignment:L(`Text alignment`,nf),textPresence:L(`Content length`,nf),textTransitionWords:L(`Transition words`,nf),wordComplexity:L(`Word complexity`,nf)});var rf=Object.freeze({textParagraphTooLong:L(`Long paragraphs look dense on screen. Splitting them into shorter ones makes your content easier to read.`,nf),passiveVoice:L(`Passive voice (e.g. "mistakes were made") is often wordier and less direct than active voice ("we made mistakes"). Prefer active voice to keep sentences clear.`,nf),sentenceBeginnings:L(`Starting several sentences in a row with the same word reads as repetitive. Varying your openings keeps the writing engaging.`,nf),textSentenceLength:L(`Long sentences are harder to follow. Breaking them into shorter ones makes your content easier to read and scan.`,nf),subheadingsTooLong:L(`Long stretches of text without a subheading are hard to skim. Add subheadings to break big sections into smaller ones.`,nf),textAlignment:L(`Large blocks of centered or justified text are harder to read. Left-aligned text is easiest for most readers.`,nf),textPresence:L(`Search engines need enough text to understand your page. Add more content so your topic comes through clearly.`,nf),textTransitionWords:L(`Transition words — like "however", "because" or "for example" — connect your ideas so your writing flows. Use them to link sentences that build on each other.`,nf),wordComplexity:L(`Long or unusual words slow readers down. Where you can, swap them for simpler alternatives to keep your content accessible.`,nf),keyphraseDistribution:L(`Your keyword should appear throughout the post, not clustered in one spot. Spreading it out helps search engines see it's the topic of the whole page.`,nf),keyphraseDensity:L(`Keyword density is how often your keyword appears relative to your total word count. Too little and search engines may miss your topic; too much reads as spam.`,nf),textCompetingLinks:L(`Linking to your own pages using your exact keyword makes them compete with this post in search. Vary that link text to avoid it.`,nf)});function af(e){return rf[e]||``}var of=()=>{if(typeof window?.tinymce?.editors==`object`)for(let e of window.tinymce.editors)try{let t=e.getBody();if(!t)continue;let n=t.querySelectorAll(`[data-mce-annotation]`);if(!n.length)continue;e.undoManager.ignore(()=>{for(let e of n){let t=e.parentNode;for(;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}t.normalize()}),e.setDirty(!1)}catch{}},sf=e=>e?.attributes?.caption?`caption`:e?.attributes?.value?`value`:e?.attributes?.citation?`citation`:`content`,cf=e=>{try{let t=e?.attributes?.content||e?.attributes?.caption||e?.attributes?.value||e?.attributes?.citation||``;return e?.name===`core/table`&&(t=e?.originalContent||``),t&&typeof t==`object`&&typeof t.toHTMLString==`function`&&(t=t.toHTMLString()),t=String(t).replace(/<br[^>]*>/gi,`
`),Yo(Yc(t,!1))}catch{return``}},lf=(e,t)=>{if(!e||!t)return null;let n=!t.includes(` `),r=n?td(t):$u(t),i=new RegExp(r,n?`u`:``).exec(e);return i?{start:i.index,end:i.index+i[0].length||1}:null},uf=e=>{let t=window?.wp?.data?.select?.(`core/block-editor`);if(t)for(let n of e||[]){if(!n?.block||n.block.name===`core/freeform`)continue;let e=t.getBlock(n.block.clientId);if(!e)continue;let r=lf(cf(e),n.sentence);r&&(n.range=r)}},df=e=>{if(!window?.wp?.data?.dispatch)return;let t=window.wp.data.dispatch(tf);t.clearAll();let n={};for(let t of e){if(!t.block||t.block.name===`core/freeform`)continue;let e=sf(t.block),r=`${t.block.clientId}:${e}:${t.analyzer}`;n[r]||(n[r]={blockClientId:t.block.clientId,richTextIdentifier:e,analyzer:t.analyzer,ranges:[]}),n[r].ranges.push({id:t.id,start:t.range.start,end:t.range.end})}for(let e of Object.values(n))t.addHighlights(e.blockClientId,e.richTextIdentifier,e.analyzer,e.ranges)};function ff(e,t){if(!e||!t)return t;if(1<e.length&&e===e.toUpperCase()&&e!==e.toLowerCase())return t.toUpperCase();let n=e.charAt(0);return n===n.toUpperCase()&&n!==n.toLowerCase()?t.charAt(0).toUpperCase()+t.slice(1):t}function pf(e,t,n){if(!e||!window?.wp?.data||!window?.wp?.richText)return!1;let{select:r,dispatch:i}=window.wp.data,a=r(`core/block-editor`).getBlock(e);if(!a)return!1;let o=sf(a),s=a.attributes[o];if(!s)return!1;let c=typeof s==`object`&&typeof s.toHTMLString==`function`,l=c?s.toHTMLString():String(s),{create:u,insert:d,toHTMLString:f}=window.wp.richText,p=new RegExp(td(t),`gu`),m=[],h=u({html:l}),g;for(;(g=p.exec(h.text))!==null;)m.push({start:g.index,end:g.index+g[0].length,matched:g[0]});if(!m.length)return!1;for(let e=m.length-1;0<=e;e--)h=d(h,u({text:ff(m[e].matched,n)}),m[e].start,m[e].end);let _=f({value:h}),v=window.wp?.richText?.RichTextData,y=c&&v?v.fromHTMLString(_):_;return i(`core/block-editor`).updateBlockAttributes(e,{[o]:y}),!0}function mf(){return is()}var hf={"core/paragraph":`paragraph`,"core/heading":`heading`};function gf(e){let t=document.createElement(`div`);return t.innerHTML=String(e||``),(t.textContent||``).trim()}function _f(){if(!is())return[];let e=window.wp?.data?.select(`core/block-editor`)?.getBlocks?.()||[],t=[],n=e=>{for(let r of e){let e=hf[r.name];if(e){let n=gf(r.attributes?.content);n&&t.push({id:r.clientId,type:e,level:e===`heading`?r.attributes?.level||2:0,text:n})}r.innerBlocks?.length&&n(r.innerBlocks)}};return n(e),t}function vf(e){if(!is()||!Array.isArray(e)||!e.length)return 0;let t=window.wp?.blocks?.createBlock,n=window.wp?.data?.dispatch?.(`core/block-editor`),r=window.wp?.data?.select?.(`core/block-editor`);if(!t||!n?.replaceBlock||!r?.getBlock)return 0;let i=0;for(let a of e){if(!a?.id||!Array.isArray(a.blocks)||!a.blocks.length||!r.getBlock(a.id))continue;let e=a.blocks.map(e=>e.type===`heading`?t(`core/heading`,{level:e.level||2,content:e.text}):t(`core/paragraph`,{content:e.text}));n.replaceBlock(a.id,e),i++}return i}var yf=1e3;function bf(e){let t=sf(e),n=e?.attributes?.[t];if(!n)return``;let r=typeof n==`object`&&typeof n.toHTMLString==`function`?n.toHTMLString():String(n),i=window.wp?.richText?.create;return i?i({html:r}).text:gf(r)}function xf(e,t){let n=new RegExp(td(t),`u`).exec(e);if(!n)return null;let r=n.index,i=0,a=e.length;for(let t=r-1;0<=t;t--)if(/[.!?\n]/.test(e[t])){i=t+1;break}for(let n=r+t.length;n<e.length;n++)if(/[.!?\n]/.test(e[n])){a=n+1;break}let o=e.slice(i,a).trim();if(o.length<=yf)return o||t;let s=r-i,c=Math.max(0,s-Math.floor(yf/2));return o.slice(c,c+yf)||t}function Sf(e){if(!is()||!Array.isArray(e)||!e.length)return[];let t=[...new Set(e.map(e=>(e||``).trim()).filter(Boolean))];if(!t.length)return[];let n=window.wp?.data?.select(`core/block-editor`)?.getBlocks?.()||[],r=new Map,i=e=>{for(let n of e){let e=bf(n);if(e)for(let n of t){if(r.has(n))continue;let t=xf(e,n);t!==null&&r.set(n,t)}n.innerBlocks?.length&&i(n.innerBlocks)}};return i(n),t.filter(e=>r.has(e)).map(e=>({word:e,context:r.get(e)}))}function Cf(e){if(!is()||!Array.isArray(e)||!e.length)return 0;let t=e.map(e=>({word:(e?.word||``).trim(),correction:(e?.correction||``).trim()})).filter(e=>e.word&&e.correction);if(!t.length)return 0;let n=window.wp?.data?.select(`core/block-editor`)?.getBlocks?.()||[],r=new Set,i=e=>{for(let n of e){for(let{word:e,correction:i}of t)pf(n.clientId,e,i)&&r.add(e);n.innerBlocks?.length&&i(n.innerBlocks)}};return i(n),r.size}var wf=function(e){return 7>e},Tf=({separator:e})=>{let t=M(e);return{parseTags:e=>{let n=Wd();return!e||!n.tags?e:(n.tags.forEach(r=>{if(r.id===`custom_field`){let t=RegExp(`#${r.id}-([a-zA-Z0-9_-]+)`,`g`),n=e.match(t);n&&n.forEach(t=>{let n=RegExp(`#${r.id}-([a-zA-Z0-9_-]+)`),i=t.match(n);i&&i[1]&&(e=e.replace(n,Zo(i[1])))});return}if(r.id===`tax_name`){let t=RegExp(`#${r.id}-([a-zA-Z0-9_-]+)`,`g`);e=e.replace(t,`[${r.name} - $1]`);return}let i=RegExp(`#${r.id}(?![a-zA-Z0-9_])`,`g`);r.id===`separator_sa`&&t.value!==void 0&&(e=e.replace(i,t.value));let a=e.match(i),o=n.liveTags[r.id]||r.value;a&&(e=e.replace(i,`%|%`+o))}),e=e.replace(/%\|%/g,``),Wc(e,!0))},separator:t}},Ef=e=>String(e||``).toLowerCase().split(/[-_]/)[0],Df=e=>Ef(e)===`en`,Of=e=>e!==`product`,kf=()=>Z().currentPost?.truseo_locale||window.aioseo?.spellChecker?.userLocale||window.aioseo?.user?.locale||`en_US`,Af=()=>{let e=X(),t=Z();return!!e.options.advanced.headlineAnalyzer&&(is()||as()||os())&&Df(kf())&&Of(t.currentPost?.postType)},jf=e=>zt.default.agent().set(`X-WP-Nonce`,e).use(e=>{e.on(`response`,e=>{(e.status===401||e.status===403)&&console.error(e)})}),Mf=e=>e.replace(/^\//,``),Nf=e=>e.replace(/\/$/,``),Pf=e=>Nf(e)+`/`,Ff=e=>{let t=Q();return e=t.aioseo.data.hasUrlTrailingSlash?Pf(e):Nf(e),Pf(t.aioseo.urls.restUrl)+Pf(`aioseo/v1`)+Mf(e)},If=()=>{let e=[{isEditor:ss,getData:tl},{isEditor:cs,getData:Il},{isEditor:ls,getData:Bl},{isEditor:us,getData:Kl},{isEditor:ds,getData:$l},{isEditor:ps,getData:tu},{isEditor:fs,getData:su},{isEditor:ms,getData:mu},{isEditor:hs,getData:xu}];for(let t of e)if(t.isEditor())return t.getData()?.title??``;return``},Lf=()=>{let e,t=document.querySelector(`#edittag input#name`);if(t)return t.value||``;if(as()||os()){let t=document.querySelector(`#post input#title`);e=t?t.value:``}return is()&&(e=window.wp.data.select(`core/editor`).getEditedPostAttribute(`title`)),e||=If(),e},Rf,zf=(e,t)=>((...n)=>{clearTimeout(Rf),Rf=setTimeout(()=>e(...n),t)}).call(),Bf=async(e=null)=>{let t=e||Lf();return t=Wc((t||``).trim()),t?jf(window.aioseo.nonce).post(Ff(`analyze-headline`)).send({headline:t,shouldStoreHeadline:!1}).then(e=>({data:e.body,headline:t})).catch(e=>({error:e.response.body?.message})):null};async function Vf(){if(!Af())return;let e=Z(),t=await Bf();if(!t?.data){e.updatePostHeadlineAnalyzerData({},``);return}let n=JSON.parse(t.data[Object.keys(t.data)[0]]);if(!n){e.updatePostHeadlineAnalyzerData({},``);return}e.updatePostHeadlineAnalyzerData(t.data,t.headline),e.updateLatestScore(n.score)}var Hf=M(!1),Uf=M(null),Wf=!1,Gf=()=>{let e=Z(),t=k(()=>Af());return{ensureHeadlineScore:()=>{if(Wf||!t.value||(Wf=!0,Vf(),!as()&&!os()))return;let n=document.querySelector(`#post input#title`);n&&n.addEventListener(`input`,()=>{zf(()=>{e.currentPost?.headlineAnalyzer?.newData&&e.toggleShowNewHeadlineAnalyzerPreview(!1),e.currentPost?.headlineAnalyzer?.showNewData&&e.toggleShowNewHeadlineAnalyzerData(!1),Vf()},2e3)})},getHeadlineScoreClass:e=>40>e?`score--red`:70>e?`score--orange`:`score--green`,headlineAnalyzerEnabled:t,headlineScore:k(()=>{let t=e.currentPost?.headlineAnalyzer;return t?.headline?t.latestScore??null:null}),headlineAnalyzerOpen:Hf,headlineSelection:Uf,openHeadlineAnalyzer:()=>{Hf.value=!0},closeHeadlineAnalyzer:()=>{Hf.value=!1},selectHeadline:e=>{Uf.value={headline:e}}}},Kf=`table-of-contents-plus`,qf=[`passiveVoice`,`textSentenceLength`,`textParagraphTooLong`,`sentenceBeginnings`,`textTransitionWords`,`wordComplexity`,`textCompetingLinks`,`keyphraseDistribution`,`keyphraseDensity`],Jf={passiveVoice:`sentence`,textSentenceLength:`sentence`,textParagraphTooLong:`paragraph`,sentenceBeginnings:`sentence`,textTransitionWords:`sentence`,wordComplexity:`word`,textCompetingLinks:`anchor`,keyphraseDistribution:`sentence`,keyphraseDensity:`sentence`},Yf=1500,Xf=e=>{if(!e)return``;let t=e.parent?.textContent?Yo(e.parent.textContent).trim():``;if(!t||t===e.sentence)return``;if(t.length<=Yf)return t;let n=t.indexOf(e.sentence);if(n===-1)return t.slice(0,Yf)+`…`;let r=Math.max(0,n-Math.floor(Yf/2)),i=Math.min(t.length,r+Yf),a=t.slice(r,i);return 0<r&&(a=`…`+a),i<t.length&&(a+=`…`),a},Zf=e=>{let t=e?.keyphraseDensity;return t&&-10>=t.score?`over`:`under`},Qf=e=>{let t=Z().currentPost?.truseo?.general||{};return e?.analyzer===`keyphraseDensity`?{direction:Zf(t)}:{}},$f=(e,{rephrase:t=!1}={})=>{let n=Z(),r=X(),i=e[0]?.analyzer,a=n.truseoData?.focusKeyword||``,o=n.truseoData?.focusKeywordSynonyms||``,s=n.currentPost?.truseo_locale||window.aioseo?.user?.locale||`en_US`,c=r.options?.aiContent?.tone||``,l=r.options?.aiContent?.audience||``;return{analyzer:i,scope:Jf[i]||``,focusKeyphrase:a,focusSynonyms:o,postId:n.currentPost?.id||0,locale:s,options:{tone:c,audience:l},rephrase:t,issues:e.map(e=>({id:e.id,targetText:e?.sentence||``,contextText:Xf(e),metadata:Qf(e)}))}},ep=[`sentenceBeginnings`,`textTransitionWords`],tp=e=>{if(!e?.analyzer||!e?.id)return null;let t=Z(),n=X();return Gd([e.analyzer,Jf[e.analyzer]||``,e.sentence||``,t.truseoData?.focusKeyword||``,t.truseoData?.focusKeywordSynonyms||``,n.options?.aiContent?.tone||``,n.options?.aiContent?.audience||``,t.currentPost?.truseo_locale||window.aioseo?.user?.locale||`en_US`,JSON.stringify(Qf(e)),ep.includes(e.analyzer)?Xf(e):``].join(``)).toString(36)},np=e=>e?.block?.clientId||``,rp=(e,t,n)=>`${e||``}\x1f${t||``}\x1f${n||``}`,ip=(e,t)=>{if(!t?.analyzer)return null;let n=tp(t);if(n&&e[n])return e[n];let r=rp(t.analyzer,t.sentence,np(t));return Object.values(e).find(e=>e&&rp(e.analyzer,e.sentence,e.block)===r)||null},ap=e=>e?e.analyzer===`spellingChecker`?`w:${(e.sentence||``).toLowerCase()}`:`id:${e.id}`:null,op=e=>e?e.analyzer===`spellingChecker`?`w:${(e.sentence||``).toLowerCase()}`:`a:${e.analyzer}|b:${e.block?.clientId||``}|s:${e.sentence||``}`:null,sp=(e,t)=>{if(!t)return[];let n=e.filter(e=>e.analyzer===t.analyzer&&e.node).sort((e,t)=>e.node===t.node?0:e.node.compareDocumentPosition(t.node)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1);if(t.analyzer!==`spellingChecker`)return n;let r=new Set;return n.filter(e=>{let t=ap(e);return!r.has(t)&&(r.add(t),!0)})},cp=e=>{let t=new Map;return e?.allResults?.forEach&&e.allResults.forEach((e,n)=>{e?.title&&wf(e.score)&&t.set(n,e.title)}),t},lp=e=>(e?.allResults?.get?.(`spellingChecker`)?.highlightSentences||[]).map(e=>(e||``).trim()).filter(Boolean),up=e=>{let t=(e||[]).map(e=>e?.text||``).join(` `).trim();if(!t)return 0;let n=t.match(/\S+/g);return n?n.length:0},dp=null,fp=null,pp=600,mp=4e3,hp=()=>{dp&&=(clearTimeout(dp),null),fp&&=(clearTimeout(fp),null)},gp=()=>window.aioseo?.currentPost?.context===`term`;z(`TruSeoHighlighterStore`,{state:()=>({allowHighlighting:!0,enabled:!gp(),highlightingEnabled:!gp()&&(window.aioseo?.options?.advanced?.highlighter??!0),highlightAnalyzers:[],rememberedHighlightAnalyzers:null,deselectedHighlightAnalyzers:[],highlightMarks:[],highlightPopover:{},hoveredMarkId:null,source:`aioseo-tru-seo-highlighter`,markNavigationSeq:0,popoverHideSeq:0,advanceToKeys:[],advanceReady:!1,suggestionsCache:{},suggestionsLoadingFor:null,aiSuggestionsCache:{},aiSuggestionsLoadingKeys:{},aiSuggestionsError:null,addToSafeWordsLoadingFor:[],addToSafeWordsError:null,safeWordsModalOpen:!1,wpBodyContentObserver:null,editorModeUnsubscribe:null,editorModeSuspended:null,awaitingFreshHighlights:!1,optimizePhase:`idle`,optimizeResult:null,optimizeOriginalBlocks:null,optimizePostError:null}),getters:{optimizingPost(){return[`optimizing`,`spelling`].includes(this.optimizePhase)},optimizeIncludesSpelling(){return 0<(Z().truseoData?.truseo?.general?.spelling?.spellingChecker?.highlightSentences||[]).length&&this.shouldRunSpelling()},optimizeCreditCost(){return Nu(`truseoOptimizePost`)+(this.optimizeIncludesSpelling?Nu(`truseoSpelling`):0)},availableHighlightAnalyzers(){let e=Z().truseoData?.truseo?.general||{},t={...e.readability,...e.spelling};return Object.entries(t).filter(([,e])=>e?.title&&wf(e.score)&&e.highlightSentences?.length).map(([e])=>e)},allHighlightSentences(){let e=Z().currentPost?.truseo?.general||{},t={};for(let n of this.highlightAnalyzers){let r=e[n];if(!r?.highlightSentences?.length||!wf(r.score))continue;let i=r.highlightSentences.flat().map(e=>(e=e.replace(/&[a-zA-Z0-9#]{2,};$/,``),e=e.replace(/<br[^>]*>/gi,`
`),e=Yo(e),Yc(e))).filter(e=>!!e.trim());i.length&&(t[n]=i)}return t},highlightSentences(){let e=this.allHighlightSentences,t=Object.values(e).flat();return t.length?t:null},highlightAnalyzerHasError(){let e=Z().currentPost?.truseo?.general||{};return this.highlightAnalyzers.some(t=>!!e[t]?.error)},activeMark(){return this.highlightMarks.length?this.highlightMarks.find(e=>e.active&&e.node):null},hoveredMark(){return this.hoveredMarkId&&this.highlightMarks.find(e=>e.id===this.hoveredMarkId&&e.node)||null},hoveredMarkAssessmentText(){let e=this.hoveredMark;return e?af(e.analyzer):``},hoveredMarkSuggestions(){let e=this.hoveredMark?.sentence;return!e||!this.suggestionsCache[e]?[]:this.suggestionsCache[e]},hoveredMarkHasCachedSuggestions(){let e=this.hoveredMark?.sentence;return!!e&&e in this.suggestionsCache},suggestionsLoading(){let e=this.hoveredMark?.sentence;return!!e&&this.suggestionsLoadingFor===e},hoveredMarkAiCacheKey(){return tp(this.hoveredMark)},hoveredMarkAiSuggestions(){return ip(this.aiSuggestionsCache,this.hoveredMark)?.suggestions||[]},hoveredMarkHasCachedAiSuggestions(){return!!ip(this.aiSuggestionsCache,this.hoveredMark)},aiSuggestionsLoading(){let e=this.hoveredMarkAiCacheKey;return!!e&&!!this.aiSuggestionsLoadingKeys[e]},hoveredMarkSiblings(){return sp(this.highlightMarks,this.hoveredMark)},hoveredMarkPosition(){let e=this.hoveredMarkSiblings;if(!e.length)return{index:-1,total:0};let t=ap(this.hoveredMark);return{index:e.findIndex(e=>ap(e)===t),total:e.length}},pendingAdvanceMark(){if(!this.advanceToKeys.length||!this.advanceReady)return null;for(let e of this.advanceToKeys){let t=this.highlightMarks.find(t=>t.node&&op(t)===e);if(t)return t.id}return null},hasPreviousHoveredSibling(){return 0<this.hoveredMarkPosition.index},hasNextHoveredSibling(){let{index:e,total:t}=this.hoveredMarkPosition;return e!==-1&&e<t-1}},actions:{clearHighlightPopover(){this.highlightPopover?.observer&&this.highlightPopover.observer.disconnect(),this.highlightPopover?.node&&this.highlightPopover.node.remove(),this.highlightPopover?.app&&this.highlightPopover.app.unmount(),this.highlightPopover={}},clearAnnotations(){if(window?.wp?.data?.dispatch){let e=window.wp.data.dispatch(tf);e&&e.clearAll()}of(),this.highlightMarks=[]},clearAll(){this.advanceToKeys.length&&!this.advanceReady&&(this.advanceReady=!0),this.hoveredMarkId=null,this.suggestionsLoadingFor=null,this.aiSuggestionsLoadingKeys={},this.aiSuggestionsError=null,this.pruneSuggestionsCache(),this.clearHighlightPopover(),this.clearAnnotations()},navigateHoveredMark(e){let t=this.hoveredMarkSiblings;if(!t.length)return;let n=ap(this.hoveredMark),r=t.findIndex(e=>ap(e)===n);if(r===-1)return;let i=t[r+(0>e?-1:1)];i&&(this.hoveredMarkId=i.id,this.markNavigationSeq++)},nextIssueAdvanceKeys(e){let t=sp(this.highlightMarks,e);if(2>t.length)return[];let n=ap(e),r=t.findIndex(e=>ap(e)===n);if(r===-1)return[];let i=t.slice(r+1),a=t.slice(0,r).reverse();return[...i,...a].map(op)},armAdvance(e){hp(),this.advanceToKeys=Array.isArray(e)?e:e?[e]:[],this.advanceReady=!1,this.advanceToKeys.length&&(dp=setTimeout(()=>{dp=null,this.advanceToKeys.length&&!this.advanceReady&&(this.advanceReady=!0)},pp),fp=setTimeout(()=>{fp=null,this.cancelAdvance()},mp))},resolveAdvance(e){hp(),this.advanceToKeys=[],this.advanceReady=!1,this.hoveredMarkId=e,this.markNavigationSeq++},cancelAdvance(){hp(),this.advanceToKeys=[],this.advanceReady=!1},requestPopoverHide(){this.popoverHideSeq++},pruneMarksForIssue(e){if(!e)return;let t=e.analyzer!==`spellingChecker`,n=np(e);this.highlightMarks=this.highlightMarks.filter(r=>r.analyzer!==e.analyzer||r.sentence!==e.sentence||t&&np(r)!==n),uf(this.highlightMarks),df(this.highlightMarks)},dismissAfterFix(e){hp(),this.advanceToKeys=[],this.advanceReady=!1,this.hoveredMarkId=null,this.suggestionsLoadingFor=null,this.aiSuggestionsLoadingFor=null,this.aiSuggestionsError=null,this.clearHighlightPopover(),this.pruneMarksForIssue(e),this.pruneSuggestionsCache()},pruneSuggestionsCache(){if(!this.highlightMarks.length)return;let e=new Set(this.highlightMarks.filter(e=>e.analyzer===`spellingChecker`).map(e=>e.sentence));for(let t of Object.keys(this.suggestionsCache))e.has(t)||delete this.suggestionsCache[t];let t=new Set(this.highlightMarks.filter(e=>qf.includes(e.analyzer)).map(e=>rp(e.analyzer,e.sentence,np(e))));for(let[e,n]of Object.entries(this.aiSuggestionsCache))(!n||!t.has(rp(n.analyzer,n.sentence,n.block)))&&delete this.aiSuggestionsCache[e]},removeAiSuggestionsForMark(e){if(!e?.analyzer)return;let t=rp(e.analyzer,e.sentence,np(e));for(let[e,n]of Object.entries(this.aiSuggestionsCache))n&&rp(n.analyzer,n.sentence,n.block)===t&&delete this.aiSuggestionsCache[e]},isSpellingWorkerReady(){return!!Yd()},async fetchSpellingSuggestions(e){if(!e||e in this.suggestionsCache)return;this.suggestionsLoadingFor=e;let[t]=await Promise.all([Zd(e),new Promise(e=>setTimeout(e,300))]);this.suggestionsCache[e]=t,this.suggestionsLoadingFor===e&&(this.suggestionsLoadingFor=null)},async fetchAiSuggestionsForType(e,{rephrase:t=!1,marks:n=null}={}){if(!e||!qf.includes(e))return;let r=Array.isArray(n)&&n.length?n:null,i=r||this.highlightMarks.filter(t=>t.analyzer===e&&t.id&&t.node&&!ip(this.aiSuggestionsCache,t));if(!r){let e=i.findIndex(e=>e.id===this.hoveredMarkId);0<e&&(i=[...i.slice(e),...i.slice(0,e)])}if(t)for(let e of i)this.removeAiSuggestionsForMark(e);if(i=i.slice(0,25),!i.length)return;let a=i.map(e=>tp(e)),o=new Map(i.map(e=>[String(e.id),e]));this.aiSuggestionsError=null;for(let e of a)this.aiSuggestionsLoadingKeys[e]=!0;try{let e=$f(i,{rephrase:t}),n=await H.post(V.restUrl(`ai/truseo/suggest`)).send(e);if(n.body?.success){let e=Array.isArray(n.body.results)?n.body.results:[];for(let t of e){let e=t?.id?o.get(String(t.id)):null;if(!e)continue;let n=Array.isArray(t.suggestions)?t.suggestions:[];n.length&&(this.removeAiSuggestionsForMark(e),this.aiSuggestionsCache[tp(e)]={analyzer:e.analyzer,sentence:e.sentence,block:np(e),suggestions:n})}if(n.body.aiOptions){let e=X();e.internalOptions.internal.ai=Wo({},e.internalOptions.internal.ai,n.body.aiOptions)}}else this.aiSuggestionsError=n.body?.message||L(`Couldn't generate suggestions. Please try again.`,Kf)}catch(e){let t=e?.response?.body;if(t?.code&&t.aiOptions){let e=X();e.internalOptions.internal.ai=Wo({},e.internalOptions.internal.ai,t.aiOptions)}this.aiSuggestionsError=t?.message||L(`Couldn't generate suggestions. Please try again.`,Kf)}finally{for(let e of a)delete this.aiSuggestionsLoadingKeys[e]}},openOptimizeModal(){this.optimizePostError=null,this.optimizePhase=this.optimizeResult?`done`:`intro`},async revertOptimizeField(e){let t=Z(),n=this.optimizeResult;if(!n)return;switch(e){case`seoTitle`:t.updateTitle(n.seoTitle?.before??``);break;case`metaDescription`:t.updateDescription(n.metaDescription?.before??``);break;case`headline`:window.wp?.data?.dispatch?.(`core/editor`)?.editPost?.({title:n.headline?.before??``});break;case`content`:this.optimizeOriginalBlocks&&window.wp?.data?.dispatch?.(`core/block-editor`)?.resetBlocks?.(this.optimizeOriginalBlocks);break;default:return}n.reverted={...n.reverted||{},[e]:!0};let r=await Xd();if(this.optimizeResult!==n)return;let i=r?.seoScore;typeof i==`number`&&(n.score={...n.score,after:i})},async optimizePost(){if(this.optimizingPost||!mf())return;let e=Z(),t=X(),{parseTags:n}=Tf({separator:void 0}),r=_f();if(!r.length){this.optimizePostError=L(`Add some content to this post before optimizing.`,Kf);return}let i=this.optimizeIncludesSpelling,a=e.truseoData?.focusKeyword||``,o=n(e.currentPost?.title||e.currentPost?.tags?.title||``),s=n(e.currentPost?.description||e.currentPost?.tags?.description||``),c=up(r),l=window.wp?.data?.select?.(`core/block-editor`)?.getBlocks?.();this.optimizeOriginalBlocks=Array.isArray(l)?y(l):null;let{headlineAnalyzerEnabled:u}=Gf(),d=u.value,f=()=>window.wp?.data?.select?.(`core/editor`)?.getEditedPostAttribute?.(`title`)||``,p=d?f():``,m=Ko(`aioseo_page_general_settings`),h={postId:e.currentPost?.id||0,seo_title:n(e.currentPost?.title||e.currentPost?.tags?.title||``),seo_description:n(e.currentPost?.description||e.currentPost?.tags?.description||``),focus_keyword:a,locale:e.currentPost?.truseo_locale||window.aioseo?.user?.locale||`en_US`,options:{tone:t.options?.aiContent?.tone||``,audience:t.options?.aiContent?.audience||``},content:r};d&&(h.post_title=p),this.optimizePhase=`optimizing`,this.optimizeResult=null,this.optimizePostError=null;let g=await Xd(),_=g?.seoScore??(e.currentPost?.seo_score||0),v=cp(g);try{try{await window.wp?.data?.dispatch?.(`core/editor`)?.savePost?.()}catch{}let n=await H.post(V.restUrl(`ai/truseo/optimize-post`)).send(h);if(n.body?.success){m&&(e.updateTitle(n.body.seo_title),e.updateDescription(n.body.seo_description)),n.body.aiOptions&&(t.internalOptions.internal.ai=Wo({},t.internalOptions.internal.ai,n.body.aiOptions));let a=d?f():``,l=d&&!!n.body.headline&&a===p&&n.body.headline!==a;l&&window.wp?.data?.dispatch?.(`core/editor`)?.editPost?.({title:n.body.headline});let u=vf(n.body.content);await $d();let y=null;if(i){this.optimizePhase=`spelling`;try{y=await this.runSpellingPass(h.locale,h.options)}catch{}}let b=await Xd(),x=b?.seoScore??(e.currentPost?.seo_score||0),S=up(_f());if(y){let e=lp(g),t=lp(b).length,n=new Set((y.addedToDictionary||[]).map(e=>(e||``).toLowerCase())),r=e.filter(e=>n.has(e.toLowerCase())).length;y.fixed=Math.max(0,e.length-t-r)}let C=[];v.forEach((e,t)=>{if(y&&t===`spellingChecker`)return;let n=b?.allResults?.get?.(t);(!n||!wf(n.score))&&C.push({title:e})});let w=Math.max(0,x-_);if(w&&C.length){let e=Math.floor(w/C.length),t=w-e*C.length;C.forEach((n,r)=>{n.points=e+ +(r<t)})}let T=(n.body.content||[]).map(e=>({before:r.find(t=>t.id===e.id)?.text||``,after:Array.isArray(e.blocks)?e.blocks.map(e=>e.text||``).join(`
`):``})).filter(e=>e.before!==e.after);return this.optimizeResult={seoTitle:m?{before:o,after:n.body.seo_title||``}:null,metaDescription:m?{before:s,after:n.body.seo_description||``}:null,headline:l?{before:p,after:n.body.headline}:null,blocksRewritten:u,score:{before:_,after:x},words:{before:c,after:S},contentBlocks:T,fixedChecks:C,spelling:y,reverted:{}},this.optimizePhase=`done`,!0}return this.optimizePostError=n.body?.message||L(`Couldn't optimize this post. Please try again.`,Kf),this.optimizePhase=`intro`,!1}catch(e){let n=e?.response?.body;return n?.code&&n.aiOptions&&(t.internalOptions.internal.ai=Wo({},t.internalOptions.internal.ai,n.aiOptions)),this.optimizePostError=n?.message||L(`Couldn't optimize this post. Please try again.`,Kf),this.optimizePhase=`intro`,!1}},closeOptimizeModal(){this.optimizePhase=`idle`,this.optimizePostError=null},openSafeWordsModal(){this.safeWordsModalOpen=!0},closeSafeWordsModal(){this.safeWordsModalOpen=!1},shouldRunSpelling(){if(!window.aioseo?.spellChecker?.enabled||!this.isSpellingWorkerReady())return!1;let e=Z().currentPost?.truseo_locale||window.aioseo?.user?.locale||`en_US`;return Ud().isLocaleSpellCheckable(e)},async runSpellingPass(e,t){let n={fixed:0,addedToDictionary:[]},r=Z(),i=X(),a=(await Xd())?.allResults?.get?.(`spellingChecker`),o=[...new Set((a?.highlightSentences||[]).map(e=>(e||``).trim()).filter(Boolean))];if(!o.length)return n;let s=Sf(o);if(!s.length)return n;let c=await Promise.all(s.map(e=>Zd(e.word))),l=s.map((e,t)=>({word:e.word,suggestions:Array.isArray(c[t])?c[t]:[],context:e.context})),u=[];try{let a=await H.post(V.restUrl(`ai/truseo/spelling`)).send({postId:r.currentPost?.id||0,locale:e,options:t,words:l});if(a.body?.aiOptions&&(i.internalOptions.internal.ai=Wo({},i.internalOptions.internal.ai,a.body.aiOptions)),!a.body?.success)return n;u=Array.isArray(a.body.results)?a.body.results:[]}catch(e){let t=e?.response?.body;return t?.aiOptions&&(i.internalOptions.internal.ai=Wo({},i.internalOptions.internal.ai,t.aiOptions)),n}let d=[...new Set(u.filter(e=>e?.addToDictionary&&e?.word).map(e=>e.word))],f=u.filter(e=>e?.word&&(e?.correction||``).trim()),p=await Promise.all(f.map(e=>Qd((e.correction||``).trim()))),m=f.filter((e,t)=>p[t]);if(!m.length&&!d.length)return n;Cf(m);let h=await this.addSafeWordsBatch(d);return h.length||await $d(),{fixed:m.length,addedToDictionary:h}},async addSafeWordsBatch(e){let t=[...new Set((e||[]).map(e=>(e||``).trim()).filter(Boolean))];if(!t.length)return[];this.addToSafeWordsError=null;let n=[];for(let e of t)try{let t=await H.post(V.restUrl(`spell-checker/safe-words/add`)).send({word:e});if(!t.body?.success)continue;let r=t.body.word||e;await ef(r),this.invalidateSpellingSuggestions(r),n.push(r)}catch{}return n.length&&await $d(),n},async addToSafeWords(e){if(!e)return!1;this.addToSafeWordsError=null,this.addToSafeWordsLoadingFor.push(e);try{let t=await H.post(V.restUrl(`spell-checker/safe-words/add`)).send({word:e});if(!t.body?.success)return this.addToSafeWordsError=t.body?.message||`Failed to add word to your dictionary.`,!1;let n=t.body.word||e;return await ef(n),this.invalidateSpellingSuggestions(n),await this.refreshAnalysisAfterDictionaryChange(),!0}catch(e){let t=e?.response?.body;return this.addToSafeWordsError=t?.message||`Failed to add word to your dictionary.`,!1}finally{this.addToSafeWordsLoadingFor=this.addToSafeWordsLoadingFor.filter(t=>t!==e)}},async refreshAnalysisAfterDictionaryChange(){await Xd()},async reanalyzeNow(){await Xd()},invalidateSpellingSuggestions(e){if(!e)return;let t=e.toLowerCase();for(let e of Object.keys(this.suggestionsCache))e.toLowerCase()===t&&delete this.suggestionsCache[e]},clearAddToSafeWordsError(){this.addToSafeWordsError=null},clearAiSuggestionsError(){this.aiSuggestionsError=null},sanitizeHighlightMarks(){this.highlightMarks=this.highlightMarks.filter(e=>!!e.node),this.highlightMarks.length&&!this.highlightMarks.find(e=>!!e.active)&&(this.highlightMarks[0].active=!0)},toggleHighlightAnalyzer(e){if(this.awaitingFreshHighlights=!1,!e)return this.highlightAnalyzers=[],this.highlightingEnabled=!1,!1;let t=this.highlightAnalyzers.indexOf(e);t===-1?(this.highlightAnalyzers.push(e),this.deselectedHighlightAnalyzers=this.deselectedHighlightAnalyzers.filter(t=>t!==e)):(this.highlightAnalyzers.splice(t,1),this.deselectedHighlightAnalyzers.includes(e)||this.deselectedHighlightAnalyzers.push(e)),0<this.highlightAnalyzers.length&&(this.highlightingEnabled=!0)},toggleGlobalHighlighting(){if(this.awaitingFreshHighlights=!1,this.highlightingEnabled=!this.highlightingEnabled,Z().saveTruSeoHighlighting(this.highlightingEnabled),!this.highlightingEnabled){this.rememberedHighlightAnalyzers=[...this.highlightAnalyzers],this.highlightAnalyzers=[];return}let e=this.availableHighlightAnalyzers,t=[...e];if(this.rememberedHighlightAnalyzers===null){this.highlightAnalyzers=t;return}let n=this.rememberedHighlightAnalyzers.filter(t=>e.includes(t));this.highlightAnalyzers=n.length?n:t},suspendHighlighting(){this.allowHighlighting=!1,!this.editorModeSuspended&&(this.editorModeSuspended={highlightingEnabled:this.highlightingEnabled,highlightAnalyzers:[...this.highlightAnalyzers]},this.highlightAnalyzers=[],this.highlightingEnabled=!1)},resumeHighlighting(){this.allowHighlighting=!0,this.editorModeSuspended&&(this.highlightingEnabled=this.editorModeSuspended.highlightingEnabled,this.highlightAnalyzers=[...this.editorModeSuspended.highlightAnalyzers],this.editorModeSuspended=null,this.syncNewHighlightAnalyzers(),this.ensureSpellingHighlightPainted())},initTruSeoHighlighting(){if(!this.enabled)return;let e=Z().currentPost?.options?.truSeo?.highlightingEnabled;typeof e==`boolean`&&(this.highlightingEnabled=e)},syncNewHighlightAnalyzers(){if(!this.highlightingEnabled)return;let e=this.availableHighlightAnalyzers.filter(e=>e!==`spellingChecker`&&!this.highlightAnalyzers.includes(e)&&!this.deselectedHighlightAnalyzers.includes(e));e.length&&(this.highlightAnalyzers=[...this.highlightAnalyzers,...e])},ensureSpellingHighlightPainted(){this.highlightingEnabled&&!this.highlightAnalyzers.includes(`spellingChecker`)&&this.availableHighlightAnalyzers.includes(`spellingChecker`)&&(this.highlightAnalyzers=[...this.highlightAnalyzers,`spellingChecker`])},beginLanguageSwitch(){this.awaitingFreshHighlights=!0,this.rememberedHighlightAnalyzers=null,this.deselectedHighlightAnalyzers=[],this.highlightAnalyzers=[],this.highlightingEnabled=!1,this.clearAnnotations()},enableAllAvailableHighlights(){let e=this.availableHighlightAnalyzers;e.length&&(this.highlightingEnabled=!0,this.highlightAnalyzers=[...e])}}}),z(`WritingAssistantSettings`,{state:()=>({seoBoost:{isLoggedIn:!1,loginUrl:``,userOptions:{},countries:{},languages:{},searchEngines:{}},updating:{userOptions:!1}}),getters:{loading:e=>e.updating.userOptions,getCountriesOptions:e=>{let t=e.seoBoost?.countries||[],n=e.seoBoost?.searchEngines||[];if(!t||!n)return[];let r=[];return Object.keys(t).forEach(function(e){r.push({label:t[e]+` (`+n[e]+`)`,value:e})}),r},userCountryOption:e=>e.getCountriesOptions.find(t=>t.value===e.seoBoost.userOptions.country)||[],getLanguagesOptions:e=>{let t=e.seoBoost?.languages||[];if(!t)return[];let n=[];return Object.keys(t).forEach(function(e){n.push({label:t[e],value:e})}),n},userLanguageOption:e=>e.getLanguagesOptions.find(t=>t.value===e.seoBoost.userOptions.language)||[]},actions:{setUserLoggedIn(e){this.seoBoost.isLoggedIn=e,this.refreshUserOptions()},disconnect(){H.post(V.restUrl(`writing-assistant/disconnect`)).send().then(e=>{e.body.success&&(this.seoBoost.isLoggedIn=!1)})},hookSaveUserOptions(){window.aioseoBus.$on(`saving-changes`,()=>{this.saveUserOptions()})},saveUserOptions(){this.seoBoost.isLoggedIn&&H.post(V.restUrl(`writing-assistant/user-options`)).send({country:this.seoBoost.userOptions.country,language:this.seoBoost.userOptions.language}).then(e=>{if(!e.body.success)throw Error(e.body.message)})},getCountryLabel(e){return this.getCountriesOptions.find(t=>t.value.toUpperCase()===e.toUpperCase())?.label||``},getLanguageLabel(e){return this.getLanguagesOptions.find(t=>t.value===e)?.label||``},refreshUserOptions(){this.updating.userOptions||(this.updating.userOptions=!0,H.get(`/writing-assistant/user-options`).then(e=>{e.body?.error||(this.seoBoost.userOptions=e.body||{}),this.updating.userOptions=!1}))}}});var _p={servings:1,calories:``},vp={preparation:``,cooking:``},yp={minimum:1,maximum:5},bp={headline:``,content:``,author:``};z(`RecipeStore`,{state:()=>({blockClientId:null,isSelected:!1,canRemove:!0,name:`#post_title`,description:``,author:`#author_name`,ingredients:``,dishType:``,cuisineType:``,keywords:``,image:``,nutrition:JSON.stringify(_p),timeRequired:JSON.stringify(vp),rating:JSON.stringify(yp),reviews:JSON.stringify([bp]),instructions:[]})});var xp={sku:``,gtin:``,mpn:``,isbn:``},Sp={price:``,currency:``,availability:``,validUntil:``},Cp={gender:`Unisex`,minimumAge:``,maximumAge:``},wp={minimum:1,maximum:5},Tp={headline:``,content:``,author:``},Ep={material:``,color:``,pattern:``,size:``,energyRating:``},Dp={type:`country`,country:``,postalCodes:[],states:[],rate:0,deliveryTime:{handlingTime:{minValue:``,maxValue:``},transitTime:{minValue:``,maxValue:``}}};z(`ProductStore`,{state:()=>({blockClientId:null,isSelected:!1,autogenerate:!0,canRemove:!0,name:`#post_title`,description:``,brand:``,image:``,identifiers:JSON.stringify(xp),offer:JSON.stringify(Sp),attributes:JSON.stringify(Ep),audience:JSON.stringify(Cp),rating:JSON.stringify(wp),reviews:JSON.stringify([Tp]),shippingDestinations:JSON.stringify([Dp])})});var Op=z(`TableOfContentsStore`,{state:()=>({clientIds:[]}),getters:{headings:e=>{if(!window.wp?.data?.select)return[];let t=[];return e.clientIds.forEach(e=>{let n=window.wp.data.select(`core/block-editor`)?.getBlockAttributes(e);n?.headings&&t.push(...n.headings)}),t}},actions:{addClientId(e){this.clientIds.includes(e)||this.clientIds.push(e)},removeClientId(e){this.clientIds=this.clientIds.filter(t=>t!==e)}}});function kp(e,t,n,r){if(typeof e[n]==`number`){if(r===`asc`)return e[n]-t[n];if(r===`desc`)return t[n]-e[n]}if(typeof e[n]==`string`){if(r===`asc`)return e[n].localeCompare(t[n],`en`,{sensitivity:`base`});if(r===`desc`)return t[n].localeCompare(e[n],`en`,{sensitivity:`base`})}return 0}var Ap=55,jp=e=>{if(!e)return``;e=e.replaceAll(/\n\n/g,` `),e=Jc(e,!1,`innerText`),e=e.replace(/\[.*?]/g,``),e=e.trim();let t=e.split(/\s+/);return Ap<t.length?t.slice(0,Ap).join(` `):e},Mp=()=>{let e=[{isEditor:ss,getData:tl},{isEditor:cs,getData:Il},{isEditor:ls,getData:Bl},{isEditor:us,getData:Kl},{isEditor:ds,getData:$l},{isEditor:ps,getData:tu},{isEditor:fs,getData:su},{isEditor:ms,getData:mu},{isEditor:hs,getData:xu}];for(let t of e)if(t.isEditor())return t.getData()?.excerpt??``;return``},Np=()=>{let e=Wd();if(e.liveTags.post_excerpt)return e.liveTags.post_excerpt;let t;return(as()||os())&&(t=Pp()),is()&&(t=window.wp.data.select(`core/editor`).getCurrentPost().excerpt),t||=Mp(),t||=jp(Du()),t&&e.updatePostExcerpt(t),t},Pp=()=>{let e=``,t=document.querySelector(`#postexcerpt textarea#excerpt`);if(e=t?t.value:``,document.querySelector(`#wp-excerpt-wrap.tmce-active`)){let t=window.tinyMCE?window.tinyMCE.get(`excerpt`):``;t&&(e=t.getContent({format:`raw`}))}return e},Fp=`table-of-contents-plus`;z(`WritingAssistantStore`,{state:()=>({loaded:!1,keywordText:``,report:{},contentAnalysis:{},analyzingContent:!1,error:null,processing:!1,polling:!1,postId:0,progress:{percent:0,text:``},progressRunning:!1,sortFilters:{optimizationWizard:{slug:`importance`,sortDir:`desc`,perPage:10,page:1,search:``},competitors:{slug:`googlePosition`,sortDir:`asc`,perPage:10,page:1,search:``}},seoBoost:{isLoggedIn:!1,loginUrl:``},userInfo:{},updating:{userInfo:!1,reportHistory:!1},reportHistory:[]}),getters:{isProcessing:e=>e.report?.uuid&&!e.error?parseInt(e.report?.progress)!==100:e.processing,processDone:e=>parseInt(e.report?.progress)===100,getCompetitors:e=>e.report.competitors.competitors||[],getCompetitorsSearched:e=>{let t=e.sortFilters.competitors.search.toLowerCase();return e.getCompetitors.filter(e=>e.url.toLowerCase().includes(t)||e.title.toLowerCase().includes(t))},getCompetitorsPaged:e=>{let t=(e.sortFilters.competitors.page-1)*e.sortFilters.competitors.perPage,n=t+e.sortFilters.competitors.perPage;return e.getCompetitorsSearched.slice(t,n)},getCompetitorsPages:e=>Math.ceil(e.getCompetitorsSearched.length/e.sortFilters.competitors.perPage),getKeywordCompetitorsSummary:e=>e.report.competitors.summary||[],getKeywords:e=>e.report.keywords||[],getKeywordsSearched:e=>{let t=e.sortFilters.optimizationWizard.search.toLowerCase();return e.getKeywords.filter(e=>e.text.toLowerCase().includes(t))},getKeywordsPaged:e=>{let t=(e.sortFilters.optimizationWizard.page-1)*e.sortFilters.optimizationWizard.perPage,n=t+e.sortFilters.optimizationWizard.perPage;return e.getKeywordsSearched.slice(t,n)},getKeywordsPages:e=>Math.ceil(e.getKeywordsSearched.length/e.sortFilters.optimizationWizard.perPage),getContentAnalysis:e=>e.contentAnalysis||[],hasReport:e=>e.report&&parseInt(e.report?.progress)===100},actions:{processKeyword({keyword:e,country:t,language:n}){this.processing||(this.processing=!0,this.setReportProgress(0),this.error=null,H.post(`/writing-assistant/process`).send({postId:this.postId,keyword:e,country:t,language:n}).then(t=>{if(!1===t.body.success){this.processing=!1,this.error=t.body.error;return}this.keywordText=e,this.setReportProgress(5,L(`processing keyword`,Fp)+`...`),this.resetTables(),this.pollKeyword()}))},pollKeyword(){this.processing=!0,this.polling=!0,this.error=null,H.get(`/writing-assistant/keyword/`+this.postId).then(e=>{if(!1===e.body?.success){this.processing=!1,this.polling=!1,this.error=e.body.error,this.report={};return}if(this.startReportProgress(e.body.progress),parseInt(e.body.progress)===100){this.updateUserInfo(),this.updateReportHistory(),this.report=e.body||[],setTimeout(()=>{this.polling=!1,this.processing=!1,window.aioseoBus.$emit(`writingAssistantAnalyzeContent`)},2e3);return}setTimeout(()=>{this.pollKeyword()},8e3)})},openReport(e,t,n){this.processKeyword({keyword:e,country:t,language:n})},async analyzeContent(e){return this.analyzingContent?Promise.resolve():(this.analyzingContent=!0,H.post(`/writing-assistant/content-analysis`).send({title:Lf(),description:Np(),content:e,postId:this.postId}).then(e=>{this.analyzingContent=!1,this.contentAnalysis=e.body||{}}))},async countContentKeywords(e){return!e||!this.getKeywords.length?Promise.resolve():(e=e.replace(/(<([^>]+)>)/gi,` `),this.getKeywords.forEach(t=>{t.contentCount=e.match(RegExp(`\\b`+t.text.replace(/[\\^$*+?.()|[\]{}]/g,`\\$&`)+`\\b`,`gmi`))?.length||0}),this.sortFilters.optimizationWizard.slug===`contentCount`&&this.doOptimizationWizardSort({slug:this.sortFilters.optimizationWizard.slug,order:this.sortFilters.optimizationWizard.sortDir}),Promise.resolve())},doOptimizationWizardSort(e){let t=e?.order||`asc`;!e?.order&&e.slug===this.sortFilters.optimizationWizard.slug&&(t=this.sortFilters.optimizationWizard.sortDir===`asc`?`desc`:`asc`),this.sortFilters.optimizationWizard.slug=e.slug,this.sortFilters.optimizationWizard.sortDir=t,this.getKeywords.sort((e,t)=>kp(e,t,this.sortFilters.optimizationWizard.slug,this.sortFilters.optimizationWizard.sortDir))},doOptimizationWizardPerPage(e){this.sortFilters.optimizationWizard.page=1,this.sortFilters.optimizationWizard.perPage=e},doOptimizationWizardSearch(e){this.sortFilters.optimizationWizard.page=1,this.sortFilters.optimizationWizard.search=e},doCompetitorSort(e){let t=`asc`;e.slug===this.sortFilters.competitors.slug&&(t=this.sortFilters.competitors.sortDir===`asc`?`desc`:`asc`),this.sortFilters.competitors.slug=e.slug,this.sortFilters.competitors.sortDir=t,this.getCompetitors.sort((e,t)=>kp(e,t,this.sortFilters.competitors.slug,this.sortFilters.competitors.sortDir))},doCompetitorPerPage(e){this.sortFilters.competitors.page=1,this.sortFilters.competitors.perPage=e},doCompetitorSearch(e){this.sortFilters.competitors.page=1,this.sortFilters.competitors.search=e},newReport(){this.report={},this.contentAnalysis={},this.error=null},updateUserInfo(){this.updating.userInfo||(this.updating.userInfo=!0,H.get(`/writing-assistant/user-info`).then(e=>{e.body?.error||(this.userInfo=e.body||{}),this.updating.userInfo=!1}))},updateReportHistory(){this.updating.reportHistory||(this.updating.reportHistory=!0,H.get(`/writing-assistant/report-history`).then(e=>{e.body?.error||(this.reportHistory=e.body||{}),this.updating.reportHistory=!1}))},setUserLoggedIn(e){this.seoBoost.isLoggedIn=e,e&&(this.updateUserInfo(),this.isProcessing&&this.pollKeyword())},async startReportProgress(e){if(this.progressRunning)return;this.progressRunning=!0;let t=(e,t)=>Math.floor(Math.random()*(t-e+1)+e),n=[{percent:t(5,10),duration:2e3,text:L(`querying search engines`,Fp)+`...`},{percent:t(15,20),duration:5e3,text:L(`fetching serps`,Fp)+`...`},{percent:t(25,30),duration:6e3,text:L(`analyzing serps`,Fp)+`...`},{percent:t(35,40),duration:1e4,text:L(`fetching competitor data`,Fp)+`...`},{percent:t(45,50),duration:7e3,text:L(`fetching keywords data`,Fp)+`...`},{percent:t(55,60),duration:7e3,text:L(`calculating keywords heading presence`,Fp)+`...`},{percent:t(65,70),duration:7e3,text:L(`calculating keywords use suggestions`,Fp)+`...`},{percent:t(75,80),duration:7e3,text:L(`calculating keywords importance`,Fp)+`...`},{percent:t(85,90),duration:7e3,text:L(`fetching keywords examples`,Fp)+`...`},{percent:100,duration:1e3,text:L(`fetching report`,Fp)+`...`}],r=0;for(let t of n.filter(t=>t.percent>=e))await new Promise(n=>{setTimeout(()=>{t.percent===100&&(t.percent=97,this.progressRunning=!1),this.setReportProgress(t.percent,t.text),e!==100&&H.post(`/writing-assistant/set-report-progress`).send({postId:this.postId,progress:t.percent}).then(e=>e.body),n()},r),r=t.duration})},setReportProgress(e,t=``,n=0){setTimeout(()=>{this.progress.percent=e,this.progress.text=t},n)},resetTables(){this.sortFilters.optimizationWizard={slug:`importance`,sortDir:`desc`,perPage:10,page:1,search:``},this.sortFilters.competitors={slug:`googlePosition`,sortDir:`asc`,perPage:10,page:1,search:``}}}});var Ip=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),ee=E.prototype;return w.prototype=ee,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){ee[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),Lp=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),Rp=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),zp=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_relativeTime=r()})(e,(function(){return function(e,t,n){e||={};var r=t.prototype,i={future:`in %s`,past:`%s ago`,s:`a few seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`};function a(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,a,o,s){for(var c,l,u,d=a.$locale().relativeTime||i,f=e.thresholds||[{l:`s`,r:44,d:`second`},{l:`m`,r:89},{l:`mm`,r:44,d:`minute`},{l:`h`,r:89},{l:`hh`,r:21,d:`hour`},{l:`d`,r:35},{l:`dd`,r:25,d:`day`},{l:`M`,r:45},{l:`MM`,r:10,d:`month`},{l:`y`,r:17},{l:`yy`,d:`year`}],p=f.length,m=0;m<p;m+=1){var h=f[m];h.d&&(c=o?n(t).diff(a,h.d,!0):a.diff(t,h.d,!0));var g=(e.rounding||Math.round)(Math.abs(c));if(u=c>0,g<=h.r||!h.r){g<=1&&m>0&&(h=f[m-1]);var _=d[h.l];s&&(g=s(``+g)),l=typeof _==`string`?_.replace(`%d`,g):_(g,r,h.l,u);break}}if(r)return l;var v=u?d.future:d.past;return typeof v==`function`?v(l):v.replace(`%s`,l)},r.to=function(e,t){return a(e,t,this,!0)},r.from=function(e,t){return a(e,t,this)};var o=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(o(this),e)},r.fromNow=function(e){return this.from(o(this),e)}}}))})),Bp=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var a,o=function(e,n,r){r===void 0&&(r={});var i=new Date(e);return function(e,n){n===void 0&&(n={});var r=n.timeZoneName||`short`,i=e+`|`+r,a=t[i];return a||(a=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,timeZoneName:r}),t[i]=a),a}(n,r).formatToParts(i)},s=function(t,n){for(var r=o(t,n),a=[],s=0;s<r.length;s+=1){var c=r[s],l=c.type,u=c.value,d=e[l];d>=0&&(a[d]=parseInt(u,10))}var f=a[3],p=f===24?0:f,m=a[0]+`-`+a[1]+`-`+a[2]+` `+p+`:`+a[4]+`:`+a[5]+`:000`,h=+t;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(e,t){e===void 0&&(e=a);var n,r=this.utcOffset(),o=this.toDate(),s=o.toLocaleString(`en-US`,{timeZone:e}),c=Math.round((o-new Date(s))/1e3/60),l=15*-Math.round(o.getTimezoneOffset()/15)-c;if(!Number(l))n=this.utcOffset(0,t);else if(n=i(s,{locale:this.$L}).$set(`millisecond`,this.$ms).utcOffset(l,!0),t){var u=n.utcOffset();n=n.add(r-u,`minute`)}return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return e.type.toLowerCase()===`timezonename`}));return n&&n.value};var l=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var n=i(this.format(`YYYY-MM-DD HH:mm:ss:SSS`),{locale:this.$L});return l.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,o=n||t||a,c=s(+i(),o);if(typeof e!=`string`)return i(e).tz(o);var l=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var a=s(r-=60*(i-t)*1e3,n);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}(i.utc(e,r).valueOf(),c,o),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=o,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){a=e}}}))})),Vp=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){var e=`minute`,t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var o=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},o.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?l.call(this):this.$offset;if(typeof r==`string`&&(r=function(e){e===void 0&&(e=``);var r=e.match(t);if(!r)return null;var i=(``+r[0]).match(n)||[`-`,0,0],a=i[0],o=60*i[1]+ +i[2];return o===0?0:a===`+`?o:-o}(r),r===null))return this;var o=Math.abs(r)<=16?60*r:r;if(o===0)return this.utc(i);var s=this.clone();if(i)return s.$offset=o,s.$u=!1,s;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(o+c,e)).$offset=o,s.$x.$localOffset=c,s};var u=o.format;o.format=function(e){var t=e||(this.$u?`YYYY-MM-DDTHH:mm:ss[Z]`:``);return u.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(e){return e===`s`&&this.$offset?a(this.format(`YYYY-MM-DD HH:mm:ss:SSS`)).toDate():d.call(this)};var f=o.diff;o.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=a(e).local();return f.call(r,i,t,n)}}}))})),Hp=a(Ip(),1),Up=a(Lp(),1),Wp=a(Rp(),1),Gp=a(zp(),1),Kp=a(Bp(),1),qp=a(Vp(),1);Hp.default.extend(Up.default),Hp.default.extend(Wp.default),Hp.default.extend(Gp.default),Hp.default.extend(qp.default),Hp.default.extend(Kp.default);var Jp=Hp.default,Yp=`table-of-contents-plus`,Xp=null;z(`SemrushStore`,{state:()=>({results:[],error:null}),getters:{expired:()=>{let e=X();if(!e.internalOptions.integrations.semrush.expires)return!0;let t=Jp(parseInt(e.internalOptions.integrations.semrush.expires*1e3,10));return!Jp().isBefore(t)},hasValidTokens:e=>{let t=Nd();return!e.expired&&t.hasSemrushAccessToken&&t.hasSemrushRefreshToken}},actions:{getKeyphrases(e){this.error=null;let t=Z();return H.post(V.restUrl(`integration/semrush/keyphrases`)).send({keyphrase:t.truseoData?.focusKeyword,database:e}).then(e=>{if(e.body.keyphrases.status===403){this.error=e.body.keyphrases.error;return}this.results=e.body.keyphrases.data.rows}).catch(e=>{if(this.results=[],!e?.response?.body?.message&&!e?.response?.message){this.error=L(`An unknown error occurred, please try again later.`,Yp);return}this.error=e?.response?.body?.message||e?.response?.message})},authenticate(e){return this.error=null,H.post(V.restUrl(`integration/semrush/authenticate`)).send({code:e}).then(e=>{let t=X();t.updateOption(`internalOptions`,{groups:[`integrations`],key:`semrush`,value:e.body.semrush},{root:!0}),t.internalOptions.integrations.semrush=e.body.semrush;let n=Nd();n.hasSemrushAccessToken=!0,n.hasSemrushRefreshToken=!0}).catch(e=>{if(!e?.response?.body?.message){this.error=L(`An unknown error occurred, please try again later.`,Yp);return}this.error=e.response.body.message})},refresh(){if(Xp)return Xp;let e=Nd();return Xp=H.post(V.restUrl(`integration/semrush/refresh`)).then(t=>{let n=X();n.updateOption(`internalOptions`,{groups:[`integrations`],key:`semrush`,value:t.body.semrush},{root:!0}),n.internalOptions.integrations.semrush=t.body.semrush,e.hasSemrushAccessToken=!0,e.hasSemrushRefreshToken=!0}).catch(t=>{let n=X();n.updateOption(`internalOptions`,{groups:[`integrations`],key:`semrush`,value:``},{root:!0}),n.internalOptions.integrations.semrush=``,e.hasSemrushAccessToken=!1,e.hasSemrushRefreshToken=!1}).finally(()=>{Xp=null}),Xp}}}),z(`WpCodeStore`,{state:()=>({snippets:[],pluginInstalled:!1,pluginActive:!1,pluginNeedsUpdate:!1,ctaUrl:``}),getters:{getSnippets:e=>e.snippets},actions:{loadSnippets(){return H.post(V.restUrl(`integration/wpcode/snippets`)).send().then(e=>{e.body.snippets&&(this.snippets=e.body.snippets),this.pluginInstalled=e.body.pluginInstalled,this.pluginActive=e.body.pluginActive,this.pluginNeedsUpdate=e.body.pluginNeedsUpdate})}}}),We();var Zp={},Qp={viewBox:`0 0 20 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-logo-gear`};function $p(e,t){return b(),O(`svg`,Qp,[...t[0]||=[D(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47716 0 0 4.47715 0 10C0 15.5228 4.47716 20 10 20ZM8.40767 3.65998C8.27222 3.45353 8.02129 3.357 7.79121 3.43828C7.52913 3.53087 7.27279 3.63976 7.02373 3.76429C6.80511 3.87361 6.69542 4.12332 6.74355 4.36686L6.91501 5.23457C6.95914 5.45792 6.86801 5.68459 6.69498 5.82859C6.42152 6.05617 6.16906 6.31347 5.94287 6.59826C5.80229 6.77526 5.58046 6.86908 5.36142 6.82484L4.51082 6.653C4.27186 6.60473 4.02744 6.71767 3.92115 6.94133C3.86111 7.06769 3.80444 7.19669 3.75129 7.32826C3.69815 7.45983 3.64929 7.59212 3.60464 7.72495C3.52562 7.96007 3.62107 8.21596 3.82396 8.35351L4.54621 8.84316C4.73219 8.96925 4.82481 9.19531 4.80234 9.42199C4.7662 9.78671 4.76767 10.1508 4.80457 10.5089C4.82791 10.7355 4.73605 10.9619 4.55052 11.0886L3.82966 11.5811C3.62734 11.7193 3.53274 11.9753 3.61239 12.2101C3.70314 12.4775 3.80985 12.7391 3.93188 12.9932C4.03901 13.2163 4.28373 13.3282 4.5224 13.2791L5.37279 13.1042C5.59165 13.0591 5.8138 13.1521 5.95491 13.3287C6.17794 13.6077 6.43009 13.8653 6.70918 14.0961C6.88264 14.2396 6.97459 14.4659 6.93122 14.6894L6.76282 15.5574C6.71551 15.8013 6.8262 16.0507 7.04538 16.1591C7.16921 16.2204 7.29563 16.2782 7.42457 16.3324C7.55352 16.3867 7.68316 16.4365 7.81334 16.4821C8.19418 16.6154 8.72721 16.1383 9.1213 15.7855C9.31563 15.6116 9.4355 15.3654 9.43677 15.1018C9.43677 15.1004 9.43678 15.099 9.43678 15.0976L9.43677 13.6462C9.43677 13.6308 9.43736 13.6155 9.43852 13.6004C8.27454 13.3165 7.40918 12.248 7.40918 10.9732V9.43198C7.40918 9.31483 7.50224 9.21986 7.61706 9.21986H8.338V7.70343C8.338 7.49405 8.50433 7.32432 8.70952 7.32432C8.9147 7.32432 9.08105 7.49405 9.08105 7.70343V9.21986H11.0316V7.70343C11.0316 7.49405 11.1979 7.32432 11.4031 7.32432C11.6083 7.32432 11.7746 7.49405 11.7746 7.70343V9.21986H12.4956C12.6104 9.21986 12.7034 9.31483 12.7034 9.43198V10.9732C12.7034 12.2883 11.7825 13.3838 10.5628 13.625C10.5631 13.632 10.5632 13.6391 10.5632 13.6462L10.5632 15.0914C10.5632 15.36 10.6867 15.6107 10.8868 15.7853C11.2879 16.1351 11.8302 16.6079 12.2088 16.4742C12.4708 16.3816 12.7272 16.2727 12.9762 16.1482C13.1949 16.0389 13.3046 15.7891 13.2564 15.5456L13.085 14.6779C13.0408 14.4545 13.132 14.2278 13.305 14.0838C13.5785 13.8563 13.8309 13.599 14.0571 13.3142C14.1977 13.1372 14.4195 13.0434 14.6385 13.0876L15.4892 13.2595C15.7281 13.3077 15.9725 13.1948 16.0788 12.9711C16.1389 12.8448 16.1955 12.7158 16.2487 12.5842C16.3018 12.4526 16.3507 12.3204 16.3953 12.1875C16.4744 11.9524 16.3789 11.6965 16.176 11.559L15.4537 11.0693C15.2678 10.9432 15.1752 10.7171 15.1976 10.4905C15.2338 10.1258 15.2323 9.76167 15.1954 9.40357C15.1721 9.17699 15.2639 8.95062 15.4495 8.82387L16.1703 8.33141C16.3726 8.1932 16.4672 7.93715 16.3876 7.70238C16.2968 7.43495 16.1901 7.17337 16.0681 6.91924C15.961 6.69615 15.7162 6.58422 15.4776 6.63333L14.6272 6.8083C14.4083 6.85333 14.1862 6.76033 14.0451 6.58377C13.822 6.30474 13.5699 6.04713 13.2908 5.81632C13.1173 5.67287 13.0254 5.44652 13.0688 5.22301L13.2372 4.35503C13.2845 4.11121 13.1738 3.86179 12.9546 3.75334C12.8308 3.69208 12.7043 3.63424 12.5754 3.58002C12.4465 3.52579 12.3168 3.47593 12.1866 3.43037C11.9562 3.34974 11.7055 3.44713 11.5707 3.65416L11.0908 4.39115C10.9672 4.58093 10.7457 4.67543 10.5235 4.65251C10.1661 4.61563 9.80932 4.61712 9.45837 4.65477C9.23633 4.6786 9.01448 4.58486 8.89027 4.39554L8.40767 3.65998Z`,fill:`currentColor`},null,-1)]])}var em=j(Zp,[[`render`,$p]]),tm=`table-of-contents-plus`,nm={setup(){return{rootStore:Q()}},components:{SvgAioseoLogoGear:em},data(){return{strings:{boldText:R(`<strong>%1$s %2$s</strong>`,`ToC+`,this.rootStore.isPro?`Pro`:``),linkText:L(`Click here to learn more`,tm)}}},computed:{link(){return R(`<strong><a href="%1$s" target="_blank" class="text-white">%2$s</a></strong>`,V.getDocUrl(`restApi`),this.strings.linkText)},upgradeText(){return R(L(`%1$s relies on the WordPress Rest API and your site might have it disabled. %2$s.`,tm),this.strings.boldText,this.link)}},mounted(){document.body.classList.add(`aioseo-has-bar`)},beforeUnmount(){document.body.classList.remove(`aioseo-has-bar`)}},rm={class:`aioseo-api-bar`},im={class:`upgrade-text`},am=[`innerHTML`];function om(e,t,n,r,i,a){let o=u(`svg-aioseo-logo-gear`);return b(),O(`div`,rm,[D(`div`,im,[P(o),D(`div`,{innerHTML:a.upgradeText},null,8,am)])])}var sm=j(nm,[[`render`,om]]),cm={props:{hero:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fullWidth:Boolean,small:Boolean},computed:{classes(){let e=this.fluid?`aioseo-container-fluid `:`aioseo-container `;return e+=this.hero?`aioseo-hero `:``,e+=this.fullWidth?`full-width `:``,e+=this.small?`small `:``,e}}};function lm(e,t,n,r,i,a){return b(),O(`div`,{class:S(a.classes)},[T(e.$slots,`default`)],2)}var um=j(cm,[[`render`,lm]]),dm={},fm={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`};function pm(e,t){return b(),O(`svg`,fm,[...t[0]||=[D(`path`,{d:`M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z`},null,-1)]])}var mm=j(dm,[[`render`,pm]]),hm={},gm={class:`toc-plus-logo`,viewBox:`0 0 684 84`,role:`img`,"aria-label":`Table of Contents Plus, an AIOSEO product`,xmlns:`http://www.w3.org/2000/svg`};function _m(e,t){return b(),O(`svg`,gm,[...t[0]||=[x(`<path d="M41.6 83.2C64.575 83.2 83.2 64.575 83.2 41.6C83.2 18.625 64.575 0 41.6 0C18.625 0 0 18.625 0 41.6C0 64.575 18.625 83.2 41.6 83.2Z" fill="#005AE0"></path><path d="M41.7 16.6C43.9 16.6 45.9 17.4 47.4 19.1C48.9 20.6 49.6 22.5 49.7 24.6V25C49.7 26.8 49.2 28.4 48.2 29.8C47.4 30.9 46.4 31.8 45.2 32.4V34.4H49.6C50.9 34.4 52 35.5 52 36.8V39.4C52 40.7 50.9 41.8 49.6 41.8H45.2V58C47 57.6 48.7 56.8 50.4 55.8C52.2 54.7 53.6 53.4 54.5 52L52.6 50C51.6 49 51.7 47.3 52.9 46.4L59.3 41.4C60.9 40.2 63.1 41.3 63.1 43.3V48.2C63.1 50.7 62.4 53.1 61 55.3C59.7 57.4 57.9 59.3 55.9 60.8C53.8 62.4 51.5 63.6 49 64.5C46.5 65.4 44 65.9 41.5 65.9C39 65.9 36.6 65.4 34 64.5C31.5 63.6 29.2 62.4 27.1 60.8C25 59.2 23.3 57.4 22 55.3C20.6 53.1 19.9 50.7 19.9 48.2V43.3C19.9 41.3 22.1 40.2 23.7 41.4L30.1 46.4C31.2 47.3 31.3 49 30.4 50L28.5 52C29.5 53.4 30.8 54.6 32.6 55.8C34.3 56.8 36.1 57.6 37.8 58V41.9H33.4C32.1 41.9 31 40.8 31 39.5V36.9C31 35.6 32.1 34.5 33.4 34.5H38V32.5C36.8 31.9 35.8 31 35 29.9C34 28.6 33.5 27 33.5 25.4V25.1C33.5 22.8 34.3 20.8 35.8 19.2C37.5 17.5 39.4 16.6 41.7 16.6ZM41.7 22.2C40.9 22.2 40.3 22.5 39.8 23C39.3 23.5 39 24.2 39 25C39 25.8 39.3 26.5 39.8 27C40.3 27.5 40.9 27.8 41.7 27.8C42.5 27.8 43.1 27.5 43.6 27C44.1 26.5 44.4 25.8 44.4 25C44.4 24.2 44.1 23.5 43.6 23C43.1 22.5 42.5 22.2 41.7 22.2Z" fill="white"></path><path d="M124.701 30.6286V3.92733H115.2V0.595299H137.984V3.92733H128.438V30.6286H124.701Z" fill="#434960"></path><path d="M161.35 30.6286L158.693 23.9645H143.744L141.088 30.6286H136.81L148.877 0.595299H153.515L165.628 30.6286H161.35ZM151.219 4.46766L144.825 20.6325H157.568L151.219 4.46766Z" fill="#434960"></path><path d="M169.554 30.6286V0.595299H182.927C184.218 0.595299 185.389 0.790418 186.439 1.18066C187.49 1.54088 188.376 2.0662 189.096 2.75662C189.816 3.41702 190.372 4.22751 190.762 5.1881C191.152 6.11866 191.347 7.13929 191.347 8.24996C191.347 9.21055 191.197 10.0811 190.897 10.8616C190.627 11.642 190.237 12.3324 189.726 12.9328C189.246 13.5032 188.691 13.9835 188.06 14.3737C187.43 14.7339 186.77 14.9891 186.079 15.1392C186.89 15.2592 187.64 15.5444 188.331 15.9947C189.051 16.445 189.666 17.0003 190.177 17.6607C190.717 18.3211 191.137 19.0716 191.437 19.9121C191.768 20.7526 191.933 21.6231 191.933 22.5237C191.933 23.7244 191.738 24.8201 191.347 25.8107C190.957 26.8013 190.387 27.6568 189.636 28.3772C188.886 29.0977 187.97 29.653 186.89 30.0432C185.839 30.4335 184.623 30.6286 183.242 30.6286H169.554ZM182.297 13.6082C184.008 13.6082 185.299 13.158 186.169 12.2574C187.04 11.3268 187.475 10.1711 187.475 8.79029C187.475 7.43947 187.04 6.29877 186.169 5.36821C185.299 4.40762 184.008 3.92733 182.297 3.92733H173.291V13.6082H182.297ZM182.477 27.2966C184.248 27.2966 185.614 26.8463 186.574 25.9457C187.565 25.0152 188.06 23.7394 188.06 22.1184C188.06 21.428 187.94 20.7676 187.7 20.1372C187.46 19.5068 187.1 18.9665 186.619 18.5162C186.169 18.0359 185.599 17.6607 184.908 17.3905C184.218 17.0903 183.408 16.9403 182.477 16.9403H173.291V27.2966H182.477Z" fill="#434960"></path><path d="M197.872 30.6286V0.595299H201.609V27.2966H215.568V30.6286H197.872Z" fill="#434960"></path><path d="M220.826 30.6286V0.595299H240.503V3.92733H224.563V13.6082H240.187V16.9403H224.563V27.2966H240.503V30.6286H220.826Z" fill="#434960"></path><path d="M271.758 31.1689C269.537 31.1689 267.511 30.7787 265.68 29.9982C263.848 29.2177 262.272 28.1371 260.952 26.7562C259.661 25.3454 258.655 23.6944 257.935 21.8032C257.214 19.9121 256.854 17.8558 256.854 15.6345C256.854 13.4131 257.214 11.3569 257.935 9.4657C258.655 7.57455 259.661 5.93855 260.952 4.55771C262.272 3.14685 263.848 2.05119 265.68 1.27071C267.511 0.490236 269.537 0.0999985 271.758 0.0999985C273.98 0.0999985 276.006 0.490236 277.837 1.27071C279.668 2.05119 281.229 3.14685 282.52 4.55771C283.841 5.93855 284.861 7.57455 285.582 9.4657C286.302 11.3569 286.662 13.4131 286.662 15.6345C286.662 17.8558 286.302 19.9121 285.582 21.8032C284.861 23.6944 283.841 25.3454 282.52 26.7562C281.229 28.1371 279.668 29.2177 277.837 29.9982C276.006 30.7787 273.98 31.1689 271.758 31.1689ZM271.758 27.8369C273.439 27.8369 274.955 27.5367 276.306 26.9363C277.657 26.306 278.813 25.4504 279.773 24.3698C280.734 23.2591 281.469 21.9683 281.979 20.4974C282.52 18.9965 282.79 17.3755 282.79 15.6345C282.79 13.8934 282.52 12.2724 281.979 10.7715C281.469 9.27058 280.734 7.9798 279.773 6.89914C278.813 5.81848 277.657 4.97797 276.306 4.3776C274.955 3.74722 273.439 3.43203 271.758 3.43203C270.077 3.43203 268.546 3.74722 267.165 4.3776C265.815 4.97797 264.659 5.81848 263.698 6.89914C262.738 7.9798 262.002 9.27058 261.492 10.7715C260.982 12.2724 260.727 13.8934 260.727 15.6345C260.727 17.3755 260.982 18.9965 261.492 20.4974C262.002 21.9683 262.738 23.2591 263.698 24.3698C264.659 25.4504 265.815 26.306 267.165 26.9363C268.546 27.5367 270.077 27.8369 271.758 27.8369Z" fill="#434960"></path><path d="M292.5 30.6286V0.595299H312.177V3.92733H296.237V13.6082H311.862V16.9403H296.237V30.6286H292.5Z" fill="#434960"></path><path d="M343.094 31.1689C340.932 31.1689 338.906 30.7937 337.015 30.0432C335.154 29.2928 333.518 28.2421 332.107 26.8913C330.726 25.5105 329.63 23.8745 328.82 21.9833C328.039 20.0622 327.649 17.9459 327.649 15.6345C327.649 13.3231 328.039 11.2218 328.82 9.33062C329.63 7.40945 330.726 5.77345 332.107 4.42263C333.518 3.04179 335.154 1.97614 337.015 1.22568C338.906 0.475227 340.932 0.0999985 343.094 0.0999985C344.414 0.0999985 345.63 0.25009 346.741 0.550272C347.882 0.850455 348.917 1.27071 349.848 1.81104C350.808 2.35137 351.664 2.98175 352.414 3.70219C353.195 4.42263 353.885 5.20311 354.486 6.04362L351.334 7.79969C350.463 6.53892 349.292 5.50329 347.822 4.6928C346.381 3.85228 344.805 3.43203 343.094 3.43203C341.443 3.43203 339.912 3.73221 338.501 4.33258C337.09 4.93294 335.859 5.77346 334.809 6.85411C333.788 7.93477 332.977 9.22556 332.377 10.7265C331.807 12.1974 331.522 13.8334 331.522 15.6345C331.522 17.4055 331.807 19.0415 332.377 20.5424C332.977 22.0434 333.788 23.3342 334.809 24.4148C335.859 25.4955 337.09 26.336 338.501 26.9363C339.912 27.5367 341.443 27.8369 343.094 27.8369C344.805 27.8369 346.381 27.4316 347.822 26.6212C349.292 25.8107 350.463 24.76 351.334 23.4692L354.531 25.2253C353.27 26.9363 351.709 28.3622 349.848 29.5029C348.017 30.6136 345.765 31.1689 343.094 31.1689Z" fill="#434960"></path><path d="M372.982 31.1689C370.761 31.1689 368.734 30.7787 366.903 29.9982C365.072 29.2177 363.496 28.1371 362.175 26.7562C360.885 25.3454 359.879 23.6944 359.159 21.8032C358.438 19.9121 358.078 17.8558 358.078 15.6345C358.078 13.4131 358.438 11.3569 359.159 9.4657C359.879 7.57455 360.885 5.93855 362.175 4.55771C363.496 3.14685 365.072 2.05119 366.903 1.27071C368.734 0.490236 370.761 0.0999985 372.982 0.0999985C375.203 0.0999985 377.23 0.490236 379.061 1.27071C380.892 2.05119 382.453 3.14685 383.744 4.55771C385.064 5.93855 386.085 7.57455 386.805 9.4657C387.526 11.3569 387.886 13.4131 387.886 15.6345C387.886 17.8558 387.526 19.9121 386.805 21.8032C386.085 23.6944 385.064 25.3454 383.744 26.7562C382.453 28.1371 380.892 29.2177 379.061 29.9982C377.23 30.7787 375.203 31.1689 372.982 31.1689ZM372.982 27.8369C374.663 27.8369 376.179 27.5367 377.53 26.9363C378.881 26.306 380.036 25.4504 380.997 24.3698C381.957 23.2591 382.693 21.9683 383.203 20.4974C383.744 18.9965 384.014 17.3755 384.014 15.6345C384.014 13.8934 383.744 12.2724 383.203 10.7715C382.693 9.27058 381.957 7.9798 380.997 6.89914C380.036 5.81848 378.881 4.97797 377.53 4.3776C376.179 3.74722 374.663 3.43203 372.982 3.43203C371.301 3.43203 369.77 3.74722 368.389 4.3776C367.038 4.97797 365.883 5.81848 364.922 6.89914C363.962 7.9798 363.226 9.27058 362.716 10.7715C362.205 12.2724 361.95 13.8934 361.95 15.6345C361.95 17.3755 362.205 18.9965 362.716 20.4974C363.226 21.9683 363.962 23.2591 364.922 24.3698C365.883 25.4504 367.038 26.306 368.389 26.9363C369.77 27.5367 371.301 27.8369 372.982 27.8369Z" fill="#434960"></path><path d="M414.977 30.6286L397.461 6.674V30.6286H393.724V0.595299H397.551L414.842 24.0546V0.595299H418.579V30.6286H414.977Z" fill="#434960"></path><path d="M433.033 30.6286V3.92733H423.532V0.595299H446.316V3.92733H436.77V30.6286H433.033Z" fill="#434960"></path><path d="M451.283 30.6286V0.595299H470.96V3.92733H455.021V13.6082H470.645V16.9403H455.021V27.2966H470.96V30.6286H451.283Z" fill="#434960"></path><path d="M498.172 30.6286L480.656 6.674V30.6286H476.919V0.595299H480.746L498.037 24.0546V0.595299H501.774V30.6286H498.172Z" fill="#434960"></path><path d="M516.228 30.6286V3.92733H506.728V0.595299H529.511V3.92733H519.966V30.6286H516.228Z" fill="#434960"></path><path d="M544.072 31.1689C541.431 31.1689 539.165 30.7337 537.273 29.8631C535.382 28.9626 533.806 27.8069 532.545 26.396L534.752 23.5593C535.232 24.0996 535.802 24.6399 536.463 25.1803C537.123 25.6906 537.844 26.1409 538.624 26.5311C539.435 26.9213 540.305 27.2365 541.236 27.4767C542.166 27.7168 543.157 27.8369 544.208 27.8369C545.558 27.8369 546.684 27.6718 547.585 27.3416C548.485 27.0114 549.206 26.6061 549.746 26.1259C550.286 25.6155 550.677 25.0602 550.917 24.4598C551.157 23.8295 551.277 23.2291 551.277 22.6587C551.277 21.6982 551.022 20.9027 550.511 20.2723C550.001 19.6419 549.326 19.1166 548.485 18.6963C547.675 18.2461 546.729 17.8858 545.648 17.6157C544.598 17.3155 543.502 17.0153 542.361 16.7151C541.251 16.3849 540.155 16.0247 539.074 15.6345C538.024 15.2442 537.078 14.7489 536.238 14.1486C535.427 13.5182 534.767 12.7527 534.257 11.8522C533.746 10.9516 533.491 9.82592 533.491 8.4751C533.491 7.24435 533.746 6.11866 534.257 5.09804C534.797 4.07742 535.517 3.20689 536.418 2.48645C537.348 1.736 538.444 1.16565 539.705 0.775409C540.966 0.355153 542.331 0.145025 543.802 0.145025C546.114 0.145025 548.155 0.505244 549.926 1.22568C551.697 1.94612 553.213 2.98175 554.474 4.33258L552.222 7.07925C551.082 5.81848 549.761 4.90292 548.26 4.33258C546.759 3.76223 545.183 3.47705 543.532 3.47705C541.731 3.47705 540.245 3.91232 539.074 4.78285C537.934 5.65338 537.363 6.80909 537.363 8.24996C537.363 9.09047 537.619 9.78089 538.129 10.3212C538.639 10.8616 539.3 11.3268 540.11 11.7171C540.951 12.1073 541.896 12.4525 542.947 12.7527C544.027 13.0229 545.123 13.3231 546.234 13.6533C547.375 13.9534 548.47 14.3137 549.521 14.7339C550.601 15.1542 551.547 15.6945 552.358 16.3549C553.198 17.0153 553.873 17.8258 554.384 18.7864C554.894 19.747 555.149 20.9327 555.149 22.3435C555.149 23.4242 554.954 24.5049 554.564 25.5855C554.174 26.6362 553.528 27.5817 552.628 28.4222C551.757 29.2327 550.616 29.8931 549.206 30.4035C547.795 30.9138 546.084 31.1689 544.072 31.1689Z" fill="#434960"></path><path d="M579.273 30.6286H571.528V0.595299H586.567C593.321 0.595299 597.013 5.14307 597.013 10.5914C597.013 15.9947 593.321 20.5424 586.567 20.5424H579.273V30.6286ZM585.532 13.7883C587.603 13.7883 589.134 12.6176 589.134 10.5914C589.134 8.52013 587.603 7.34941 585.532 7.34941H579.273V13.7883H585.532Z" fill="#141B38"></path><path d="M620.274 30.6286H600.462V0.595299H608.206V23.8745H620.274V30.6286Z" fill="#141B38"></path><path d="M637.512 31.1689C627.831 31.1689 623.283 25.8557 623.283 18.4712V0.595299H631.163V18.201C631.163 21.7582 633.279 24.3248 637.512 24.3248C641.654 24.3248 643.816 21.7582 643.816 18.201V0.595299H651.65V18.4262C651.65 25.9007 647.103 31.1689 637.512 31.1689Z" fill="#141B38"></path><path d="M668.22 31.1689C662.142 31.1689 657.909 29.2778 654.892 26.396L658.99 20.5875C661.151 22.7488 664.483 24.5499 668.581 24.5499C671.237 24.5499 672.858 23.5143 672.858 22.0734C672.858 17.9759 655.838 21.2629 655.838 9.69084C655.838 4.64777 660.116 0.145025 667.815 0.145025C672.633 0.145025 676.821 1.5859 680.018 4.33258L675.785 9.87095C673.264 7.79969 669.977 6.76406 667.005 6.76406C664.753 6.76406 663.763 7.6646 663.763 8.92537C663.763 12.7527 680.738 9.961 680.738 21.1278C680.738 27.1615 676.28 31.1689 668.22 31.1689Z" fill="#141B38"></path><path d="M293.944 77.3231C297.968 77.3231 300.756 74.0316 300.756 68.7922C300.756 63.5193 297.968 60.295 293.944 60.295C291.789 60.295 289.888 61.4705 288.78 63.1162V60.698H286.403V83.0998H288.78V74.4683C290.015 76.2819 291.853 77.3231 293.944 77.3231ZM293.342 75.0728C291.473 75.0728 289.603 73.8637 288.78 72.4531V65.1314C289.603 63.7208 291.473 62.5453 293.342 62.5453C296.415 62.5453 298.253 65.1985 298.253 68.7922C298.253 72.3859 296.415 75.0728 293.342 75.0728Z" fill="#141B38"></path><path d="M306.911 76.92V65.4336C307.608 64.1238 309.604 62.8475 311.061 62.8475C311.442 62.8475 311.727 62.8811 312.012 62.9483V60.3622C309.921 60.3622 308.147 61.6049 306.911 63.3177V60.698H304.535V76.92H306.911Z" fill="#141B38"></path><path d="M321.678 77.3231C326.335 77.3231 329.25 73.4943 329.25 68.7922C329.25 64.0902 326.335 60.295 321.678 60.295C317.02 60.295 314.106 64.0902 314.106 68.7922C314.106 73.4943 317.02 77.3231 321.678 77.3231ZM321.678 75.0728C318.414 75.0728 316.577 72.1172 316.577 68.7922C316.577 65.5008 318.414 62.5453 321.678 62.5453C324.941 62.5453 326.747 65.5008 326.747 68.7922C326.747 72.1172 324.941 75.0728 321.678 75.0728Z" fill="#141B38"></path><path d="M346.589 76.92V54.5182H344.213V63.1498C342.978 61.3697 341.108 60.295 339.049 60.295C335.025 60.295 332.237 63.6536 332.237 68.8258C332.237 74.0988 335.057 77.3231 339.049 77.3231C341.203 77.3231 343.073 76.1476 344.213 74.5018V76.92H346.589ZM339.619 75.0728C336.546 75.0728 334.708 72.4195 334.708 68.8258C334.708 65.2321 336.546 62.5453 339.619 62.5453C341.52 62.5453 343.358 63.7544 344.213 65.165V72.5203C343.358 73.9309 341.52 75.0728 339.619 75.0728Z" fill="#141B38"></path><path d="M364.053 76.92V60.698H361.677V72.621C360.79 73.9309 359.016 75.0728 357.146 75.0728C355.087 75.0728 353.724 74.2332 353.724 71.3784V60.698H351.348V72.1508C351.348 75.6774 353.027 77.3231 356.227 77.3231C358.509 77.3231 360.505 76.0468 361.677 74.6362V76.92H364.053Z" fill="#141B38"></path><path d="M375.547 77.3231C378.335 77.3231 379.983 76.114 381.155 74.5018L379.571 72.9569C378.557 74.4011 377.258 75.0728 375.674 75.0728C372.411 75.0728 370.383 72.3859 370.383 68.7922C370.383 65.1985 372.411 62.5453 375.674 62.5453C377.258 62.5453 378.557 63.1834 379.571 64.6612L381.155 63.1162C379.983 61.5041 378.335 60.295 375.547 60.295C370.985 60.295 367.912 63.9895 367.912 68.7922C367.912 73.6286 370.985 77.3231 375.547 77.3231Z" fill="#141B38"></path><path d="M388.351 77.3231C389.745 77.3231 390.601 76.8865 391.203 76.2819L390.506 74.4011C390.189 74.7705 389.555 75.0728 388.89 75.0728C387.844 75.0728 387.337 74.1996 387.337 72.9905V62.9147H390.442V60.698H387.337V56.2647H384.961V60.698H382.426V62.9147H384.961V73.5279C384.961 75.946 386.102 77.3231 388.351 77.3231Z" fill="#141B38"></path><path d="M128.126 76.9622V66.3398C128.126 62.5963 125.406 61.1245 122.143 61.1245C119.615 61.1245 117.632 61.9564 115.968 63.6842L117.088 65.3479C118.463 63.8761 119.967 63.2042 121.823 63.2042C124.063 63.2042 125.726 64.3881 125.726 66.4678V69.2513C124.479 67.8116 122.719 67.1397 120.607 67.1397C117.984 67.1397 115.2 68.7714 115.2 72.2269C115.2 75.5864 117.984 77.3461 120.607 77.3461C122.687 77.3461 124.447 76.6103 125.726 75.2025V76.9622H128.126ZM121.471 75.6184C119.231 75.6184 117.664 74.2106 117.664 72.2589C117.664 70.2752 119.231 68.8674 121.471 68.8674C123.167 68.8674 124.799 69.5073 125.726 70.7871V73.6987C124.799 74.9785 123.167 75.6184 121.471 75.6184Z" fill="#141B38"></path><path d="M145.766 76.9622V66.1158C145.766 62.7563 144.071 61.1245 140.839 61.1245C138.536 61.1245 136.424 62.4684 135.336 63.7482V61.5085H132.936V76.9622H135.336V65.6679C136.232 64.4201 138.024 63.2682 139.911 63.2682C141.991 63.2682 143.367 64.1321 143.367 66.8517V76.9622H145.766Z" fill="#141B38"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M263.295 80.5014C269.675 80.5014 274.847 75.3246 274.847 68.9388C274.847 62.5529 269.675 57.3761 263.295 57.3761C256.914 57.3761 251.742 62.5529 251.742 68.9388C251.742 75.3246 256.914 80.5014 263.295 80.5014ZM261.455 61.608C261.299 61.3693 261.009 61.2577 260.743 61.3517C260.44 61.4587 260.144 61.5846 259.856 61.7286C259.604 61.855 259.477 62.1437 259.533 62.4253L259.731 63.4286C259.782 63.6869 259.676 63.949 259.477 64.1155C259.161 64.3786 258.869 64.6761 258.608 65.0054C258.445 65.2101 258.189 65.3186 257.936 65.2674L256.953 65.0687C256.677 65.0129 256.395 65.1435 256.272 65.4021C256.203 65.5482 256.137 65.6974 256.076 65.8495C256.014 66.0016 255.958 66.1546 255.906 66.3082C255.815 66.5801 255.925 66.8759 256.16 67.035L256.994 67.6011C257.209 67.7469 257.316 68.0083 257.29 68.2704C257.248 68.6921 257.25 69.1131 257.293 69.5272C257.32 69.7892 257.214 70.0509 256.999 70.1975L256.166 70.7669C255.933 70.9267 255.823 71.2228 255.915 71.4942C256.02 71.8034 256.143 72.1059 256.284 72.3997C256.408 72.6577 256.691 72.7871 256.967 72.7303L257.949 72.528C258.202 72.4759 258.459 72.5835 258.622 72.7876C258.879 73.1103 259.171 73.4081 259.493 73.675C259.693 73.8409 259.8 74.1026 259.75 74.361L259.555 75.3646C259.5 75.6466 259.628 75.935 259.881 76.0604C260.024 76.1312 260.17 76.1981 260.319 76.2608C260.468 76.3235 260.618 76.3811 260.769 76.4338C261.209 76.5879 261.824 76.0362 262.28 75.6284C262.504 75.4273 262.643 75.1426 262.644 74.8379C262.644 74.8362 262.644 74.8346 262.644 74.833L262.644 73.1547C262.644 73.1369 262.645 73.1193 262.646 73.1018C261.301 72.7735 260.302 71.538 260.302 70.0641V68.282C260.302 68.1465 260.409 68.0367 260.542 68.0367H261.375V66.2833C261.375 66.0412 261.567 65.8449 261.804 65.8449C262.041 65.8449 262.233 66.0412 262.233 66.2833V68.0367H264.486V66.2833C264.486 66.0412 264.679 65.8449 264.916 65.8449C265.153 65.8449 265.345 66.0412 265.345 66.2833V68.0367H266.178C266.31 68.0367 266.418 68.1465 266.418 68.282V70.0641C266.418 71.5846 265.354 72.8514 263.945 73.1302C263.945 73.1383 263.945 73.1465 263.945 73.1547L263.945 74.8257C263.945 75.1364 264.088 75.4262 264.319 75.6281C264.783 76.0325 265.409 76.5793 265.846 76.4246C266.149 76.3176 266.445 76.1917 266.733 76.0477C266.986 75.9213 267.112 75.6326 267.057 75.351L266.859 74.3476C266.808 74.0894 266.913 73.8273 267.113 73.6608C267.429 73.3976 267.72 73.1001 267.982 72.7709C268.144 72.5662 268.4 72.4577 268.653 72.5089L269.636 72.7076C269.912 72.7634 270.195 72.6328 270.317 72.3742C270.387 72.2281 270.452 72.0789 270.514 71.9268C270.575 71.7747 270.631 71.6217 270.683 71.4681C270.774 71.1963 270.664 70.9004 270.43 70.7413L269.595 70.1752C269.38 70.0294 269.273 69.768 269.299 69.5059C269.341 69.0842 269.339 68.6632 269.297 68.2491C269.27 67.9871 269.376 67.7254 269.59 67.5788L270.423 67.0094C270.657 66.8496 270.766 66.5535 270.674 66.2821C270.569 65.9729 270.446 65.6704 270.305 65.3766C270.181 65.1186 269.899 64.9892 269.623 65.046L268.64 65.2483C268.388 65.3004 268.131 65.1928 267.968 64.9887C267.71 64.666 267.419 64.3682 267.096 64.1013C266.896 63.9354 266.79 63.6737 266.84 63.4153L267.035 62.4117C267.089 62.1297 266.961 61.8413 266.708 61.7159C266.565 61.6451 266.419 61.5782 266.27 61.5155C266.121 61.4528 265.971 61.3952 265.821 61.3425C265.555 61.2493 265.265 61.3619 265.109 61.6013L264.555 62.4534C264.412 62.6729 264.156 62.7821 263.9 62.7556C263.487 62.713 263.074 62.7147 262.669 62.7582C262.412 62.7858 262.156 62.6774 262.013 62.4585L261.455 61.608Z" fill="#005AE0"></path><path d="M224.084 57.994C227.523 57.9941 230.512 59.024 232.794 60.9862L229.772 64.9423C227.972 63.4627 225.626 62.7226 223.73 62.7226C221.898 62.7226 221.191 63.4626 221.191 64.3954C221.191 65.5213 222.509 65.9079 224.887 66.3583C228.423 67.0982 233.308 68.1274 233.308 72.9843C233.308 77.2949 230.126 80.1581 224.373 80.1581C220.034 80.1581 217.012 78.8076 214.859 76.7489L217.784 72.5985C219.327 74.1426 221.705 75.4295 224.63 75.4296C226.526 75.4296 227.683 74.625 227.683 73.5956C227.683 72.3734 226.301 71.8906 224.019 71.4081C220.484 70.7004 215.534 69.8 215.534 64.7177C215.534 61.1148 218.588 57.994 224.084 57.994ZM251.242 58.3153C250.549 59.7972 249.996 61.3578 249.601 62.9804H241.422V66.5507H249.001C248.926 67.3398 248.886 68.1395 248.886 68.9481C248.886 69.7235 248.924 70.4905 248.993 71.2479H241.422V75.1083H249.648C250.057 76.7317 250.624 78.2921 251.332 79.7724H235.893V58.3153H251.242Z" fill="#005AE0"></path><path d="M173.835 79.7829H179.683L171.803 58.9082H165.049L157.2 79.7829H163.047L164.111 76.6219H172.772L173.835 79.7829ZM168.426 63.6027L171.365 72.084H165.518L168.426 63.6027Z" fill="#141B38"></path><path d="M182.155 79.7829H187.533V58.9082H182.155V79.7829Z" fill="#141B38"></path><path d="M190.222 69.3612C190.222 75.7143 195.006 80.1584 201.385 80.1584C207.764 80.1584 212.517 75.7143 212.517 69.3612C212.517 63.008 207.764 58.564 201.385 58.564C195.006 58.564 190.222 63.008 190.222 69.3612ZM207.045 69.3612C207.045 72.7412 204.825 75.4014 201.385 75.4014C197.914 75.4014 195.694 72.7412 195.694 69.3612C195.694 65.9499 197.914 63.321 201.385 63.321C204.825 63.321 207.045 65.9499 207.045 69.3612Z" fill="#141B38"></path>`,35)]])}var vm={setup(){return{notificationsStore:le(),rootStore:A(),logoUrl:me.utmUrl(`toc-logo`,`header`,`https://aioseo.com/`)}},components:{CoreApiBar:sm,GridContainer:um,SvgBell:mm,Logo:j(hm,[[`render`,_m]])},props:{fullWidth:Boolean,small:Boolean,pageName:String,actions:{type:Boolean,default(){return!0}},upgradeBar:{type:Boolean,default(){return!0}}},methods:{debounce(e){let t;return(...n)=>{t&&cancelAnimationFrame(t),t=requestAnimationFrame(()=>{e(...n)})}},storeScroll(){document.documentElement.dataset.scroll=window.scrollY},toggleModal(){document.getElementById(`aioseo-help-modal`).classList.toggle(`visible`),document.body.classList.toggle(`modal-open`)}},mounted(){this.storeScroll(),document.addEventListener(`scroll`,this.debounce(this.storeScroll),{passive:!0})}},ym={class:`aioseo-header`},bm={class:`aioseo-header-content`},xm={class:`logo`},Sm=[`href`],Cm={key:0,class:`header-actions`},wm={key:0,class:`round number`};function Tm(e,t,n,r,i,a){let o=u(`core-api-bar`),s=u(`logo`),c=u(`svg-bell`),l=u(`grid-container`);return b(),O(`div`,ym,[r.rootStore.pong?I(``,!0):(b(),he(o,{key:0})),P(l,{"full-width":n.fullWidth,small:n.small},{default:p(()=>[D(`div`,bm,[D(`div`,xm,[D(`a`,{href:r.logoUrl,target:`_blank`,rel:`noopener noreferrer`},[P(s)],8,Sm)]),n.actions?(b(),O(`div`,Cm,[D(`span`,{class:`round`,onClick:t[0]||=_e((...e)=>r.notificationsStore.toggleNotifications&&r.notificationsStore.toggleNotifications(...e),[`stop`])},[r.notificationsStore.activeNotificationsCount?(b(),O(`span`,wm,F(r.notificationsStore.activeNotificationsCount>9?`!`:r.notificationsStore.activeNotificationsCount),1)):I(``,!0),P(c,{onClick:_e(r.notificationsStore.toggleNotifications,[`stop`])},null,8,[`onClick`])])])):I(``,!0)])]),_:1},8,[`full-width`,`small`])])}var Em=j(vm,[[`render`,Tm]]),Dm={},Om={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-caret`};function km(e,t){return b(),O(`svg`,Om,[...t[0]||=[D(`path`,{d:`M16.59 8.29492L12 12.8749L7.41 8.29492L6 9.70492L12 15.7049L18 9.70492L16.59 8.29492Z`,fill:`currentColor`},null,-1)]])}var Am=j(Dm,[[`render`,km]]),jm={emits:[`open-start`,`open-end`,`close-start`,`close-end`],props:{active:Boolean,duration:{type:Number,default:500},tag:{type:String,default:`div`},useHidden:{type:Boolean,default:!0}},data(){return{style:{},initial:!1,hidden:!1,targetHeight:null}},watch:{active(){this.$nextTick(()=>{this.layout()})}},computed:{el(){return this.$refs.container&&this.$refs.container.$el?this.$refs.container.$el:this.$refs.container||null}},methods:{layout(){this.active?(this.hidden=!1,this.$emit(`open-start`),this.initial&&this.setHeight(`0px`,()=>this.el.scrollHeight+`px`)):(this.$emit(`close-start`),this.setHeight(this.el.scrollHeight+`px`,()=>`0px`))},asap(e){this.initial?this.$nextTick(e):e()},setHeight(e,t){this.style={height:e},this.asap(()=>{this.__=this.el.scrollHeight,this.targetHeight=t(),this.style={height:this.targetHeight,overflow:`hidden`,"transition-property":`all`,"transition-duration":this.duration+`ms`}})},reachedTargetHeight(){return this.targetHeight===null||1>Math.abs(this.el.getBoundingClientRect().height-parseFloat(this.targetHeight))},onTransitionEnd(e){e.target===this.el&&e.propertyName===`height`&&this.reachedTargetHeight()&&(this.active?(this.style={},this.$emit(`open-end`)):(this.style={height:`0`,overflow:`hidden`},this.hidden=!0,this.$emit(`close-end`)))}},mounted(){this.layout(),this.initial=!0},created(){this.hidden=!this.active}};function Mm(e,t,n,r,a,o){return b(),he(E(n.tag),{style:i(a.style),ref:`container`,onTransitionend:o.onTransitionEnd,"aria-hidden":!n.active||null,"aria-expanded":n.active||null},{default:p(()=>[a.hidden?I(``,!0):T(e.$slots,`default`,{key:0})]),_:3},40,[`style`,`onTransitionend`,`aria-hidden`,`aria-expanded`])}var Nm=j(jm,[[`render`,Mm]]),Pm={locks:{},zIndex:2e3,enableRipple:!0};ae(Pm);var Fm=ae(Pm),Im=Object.defineProperty,Lm=Object.defineProperties,Rm=Object.getOwnPropertyDescriptors,zm=Object.getOwnPropertySymbols,Bm=Object.prototype.hasOwnProperty,Vm=Object.prototype.propertyIsEnumerable,Hm=(e,t,n)=>t in e?Im(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Um=(e,t)=>{for(var n in t||={})Bm.call(t,n)&&Hm(e,n,t[n]);if(zm)for(var n of zm(t))Vm.call(t,n)&&Hm(e,n,t[n]);return e},Wm=(e,t)=>Lm(e,Rm(t)),Gm=e=>typeof e==`string`,Km=e=>typeof e==`boolean`,qm=e=>typeof e==`number`,Jm=e=>qm(e)||Gm(e)&&/^[-+]?\d+$/.test(e),Ym=e=>Object.prototype.toString.call(e)===`[object Object]`,Xm=e=>typeof e==`function`,Zm=e=>Array.isArray(e),Qm=e=>e===window,$m=()=>eh()&&`ontouchstart`in window,eh=()=>typeof window<`u`,{hasOwnProperty:th}=Object.prototype,nh=(e,t)=>{if(e.length){let n=e.indexOf(t);if(n>-1)return e.splice(n,1)}},rh=(...e)=>e.map(e=>{if(Zm(e)){let[t,n,r=null]=e;return t?n:r}return e}),ih=()=>typeof globalThis<`u`?globalThis:eh()?window:typeof global<`u`?global:self,ah=e=>{let t=ih();return t.requestAnimationFrame?t.requestAnimationFrame(e):t.setTimeout(e)},oh=()=>new Promise(e=>{ah(e)}),sh=()=>new Promise(e=>{ah(()=>{ah(e)})}),ch=e=>window.getComputedStyle(e),lh=e=>{if(Qm(e)){let t=e.innerWidth,n=e.innerHeight,r={x:0,y:0,top:0,left:0,right:t,bottom:n,width:t,height:n};return Wm(Um({},r),{toJSON:()=>r})}return e.getBoundingClientRect()},uh=e=>{let t=`scrollTop`in e?e.scrollTop:e.scrollY;return Math.max(t,0)},dh=e=>{let t=`scrollLeft`in e?e.scrollLeft:e.scrollX;return Math.max(t,0)};function fh(e,...t){if(Zm(e))return e.map(e=>e(...t));if(e)return e(...t)}var ph=e=>e==null?0:Gm(e)?(e=parseFloat(e),e=Number.isNaN(e)?0:e,e):Km(e)?Number(e):e,mh=(e,t,n)=>Math.min(n,Math.max(t,e)),hh=e=>gh(e).replace(e.charAt(0),e.charAt(0).toUpperCase()),gh=e=>e.replace(/-(\w)/g,(e,t)=>t.toUpperCase());function _h(e){return t=>{let n=`${e}-${t}`;return{name:hh(n),n:t=>t?t[0]===`$`?t.replace(`$`,e):t.startsWith(`--`)?`${n}${t}`:`${n}__${t}`:n,classes:rh}}}var vh=Object.defineProperty,yh=Object.getOwnPropertySymbols,bh=Object.prototype.hasOwnProperty,xh=Object.prototype.propertyIsEnumerable,Sh=(e,t,n)=>t in e?vh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ch=(e,t)=>{for(var n in t||={})bh.call(t,n)&&Sh(e,n,t[n]);if(yh)for(var n of yh(t))xh.call(t,n)&&Sh(e,n,t[n]);return e},wh=(e,t)=>{var n={};for(var r in e)bh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&yh)for(var r of yh(e))t.indexOf(r)<0&&xh.call(e,r)&&(n[r]=e[r]);return n};function Th(e){let t=!1;d(()=>{e(),h(()=>{t=!0})}),g(()=>{t&&e()})}function Eh(e,t,n,r={}){if(!eh())return;let{passive:i=!1,capture:a=!1}=r,o=!1,s=!1,u=e=>Xm(e)?e():ue(e),d=e=>{if(o||s)return;let r=u(e);r&&(r.addEventListener(t,n,{passive:i,capture:a}),o=!0)},f=e=>{if(!o||s)return;let r=u(e);r&&(r.removeEventListener(t,n,{capture:a}),o=!1)},p;return ne(e)&&(p=l(()=>e.value,(e,t)=>{f(t),d(e)})),Th(()=>{d(e)}),v(()=>{f(e)}),c(()=>{f(e)}),()=>{p?.(),f(e),s=!0}}function Dh(e){m(()=>{e()}),c(()=>{e()})}function Oh(e){return e in o().provides}function kh(e){if(!Oh(e))return{index:null,parentProvider:null,bindParent:null};let t=ce(e),{childInstances:n,collect:r,clear:i}=t,a=wh(t,[`childInstances`,`collect`,`clear`]),s=o();return{index:k(()=>n.indexOf(s)),parentProvider:a,bindParent:e=>{d(()=>{h().then(()=>{r(s,e)})}),v(()=>{h().then(()=>{i(s,e)})})}}}function Ah(e){let n=[],r=e=>{if(e?.component){r(e?.component.subTree);return}Array.isArray(e?.children)&&e.children.forEach(e=>{t(e)&&(n.push(e),r(e))})};return r(e),n}function jh(e){let t=o(),n=ae([]),r=[],i=k(()=>n.length),a=()=>{let e=Ah(t.subTree);n.sort((t,n)=>e.indexOf(t.vnode)-e.indexOf(n.vnode))},s=(e,t)=>{n.push(e),r.push(t),a()},c=(e,t)=>{nh(n,e),nh(r,t)};return{length:i,childProviders:r,bindChildren:t=>{ge(e,Ch({childInstances:n,collect:s,clear:c},t))}}}function Mh(e){Eh(()=>window,`resize`,e,{passive:!0}),Eh(()=>window,`orientationchange`,e,{passive:!0})}var Nh=Object.defineProperty,Ph=Object.defineProperties,Fh=Object.getOwnPropertyDescriptors,Ih=Object.getOwnPropertySymbols,Lh=Object.prototype.hasOwnProperty,Rh=Object.prototype.propertyIsEnumerable,zh=(e,t,n)=>t in e?Nh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bh=(e,t)=>{for(var n in t||={})Lh.call(t,n)&&zh(e,n,t[n]);if(Ih)for(var n of Ih(t))Rh.call(t,n)&&zh(e,n,t[n]);return e},Vh=(e,t)=>Ph(e,Fh(t));function Hh(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=e[n],t),{}):e[t]}function Uh(e,t){let n=t??e;return n.install=function(t){let{name:n}=e;n&&t.component(n,e)},n}function Wh(e,t){e.setPropsDefaults=function(e){Object.entries(e).forEach(([e,n])=>{let r=t[e];if(r!=null){if(Ym(r)){t[e]=Vh(Bh({},r),{default:n});return}t[e]={type:r,default:n}}})}}var Gh=_h(`var`);function Kh(e){return{type:[Function,Array],default:e}}function qh(e,t){return e===!1?null:(e===!0&&t&&(e=t),`var-elevation--${e}`)}var Jh=Object.defineProperty,Yh=Object.defineProperties,Xh=Object.getOwnPropertyDescriptors,Zh=Object.getOwnPropertySymbols,Qh=Object.prototype.hasOwnProperty,$h=Object.prototype.propertyIsEnumerable,eg=(e,t,n)=>t in e?Jh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tg=(e,t)=>{for(var n in t||={})Qh.call(t,n)&&eg(e,n,t[n]);if(Zh)for(var n of Zh(t))$h.call(t,n)&&eg(e,n,t[n]);return e},ng=(e,t)=>Yh(e,Xh(t)),{n:rg}=Gh(`ripple`),ig=250;function ag(e){let{zIndex:t,position:n}=ch(e);e.style.overflow=`hidden`,e.style.overflowX=`hidden`,e.style.overflowY=`hidden`,n===`static`&&(e.style.position=`relative`),t===`auto`&&(e.style.zIndex=`1`)}function og(e,t){let{top:n,left:r}=lh(e),{clientWidth:i,clientHeight:a}=e,o=Math.sqrt(i**2+a**2)/2,s=o*2,c=t.touches[0].clientX-r,l=t.touches[0].clientY-n,u=(i-o*2)/2,d=(a-o*2)/2;return{x:c-o,y:l-o,centerX:u,centerY:d,size:s}}function sg(e){let t=this._ripple;t.removeRipple(),!(t.disabled||t.tasker||!Fm.enableRipple)&&(t.tasker=window.setTimeout(()=>{t.tasker=null;let{x:n,y:r,centerX:i,centerY:a,size:o}=og(this,e),s=document.createElement(`div`);s.classList.add(rg()),s.style.opacity=`0`,s.style.transform=`translate(${n}px, ${r}px) scale3d(.3, .3, .3)`,s.style.width=`${o}px`,s.style.height=`${o}px`,t.color&&(s.style.backgroundColor=t.color),s.dataset.createdAt=String(performance.now()),ag(this),this.appendChild(s),window.setTimeout(()=>{s.style.transform=`translate(${i}px, ${a}px) scale3d(1, 1, 1)`,s.style.opacity=`.25`},20)},30))}function cg(){let e=this._ripple,t=()=>{let e=this.querySelectorAll(`.${rg()}`);if(!e.length)return;let t=e[e.length-1],n=ig-performance.now()+Number(t.dataset.createdAt);window.setTimeout(()=>{t.style.opacity=`0`,window.setTimeout(()=>t.parentNode?.removeChild(t),ig)},n)};e.tasker?window.setTimeout(t,30):t()}function lg(){if(!$m()||!Fm.enableRipple)return;let e=this._ripple;e.tasker&&window.clearTimeout(e.tasker),e.tasker=null}function ug(e,t){e._ripple=ng(tg({tasker:null},t.value??{}),{removeRipple:cg.bind(e)}),e.addEventListener(`touchstart`,sg,{passive:!0}),e.addEventListener(`touchmove`,lg,{passive:!0}),e.addEventListener(`dragstart`,cg,{passive:!0}),document.addEventListener(`touchend`,e._ripple.removeRipple,{passive:!0}),document.addEventListener(`touchcancel`,e._ripple.removeRipple,{passive:!0}),document.addEventListener(`dragend`,e._ripple.removeRipple,{passive:!0})}function dg(e){e.removeEventListener(`touchstart`,sg),e.removeEventListener(`touchmove`,lg),e.removeEventListener(`dragstart`,cg),document.removeEventListener(`touchend`,e._ripple.removeRipple),document.removeEventListener(`touchcancel`,e._ripple.removeRipple),document.removeEventListener(`dragend`,e._ripple.removeRipple)}function fg(e,t){let n={color:t.value?.color,disabled:t.value?.disabled};(n.color!==e._ripple?.color||n.disabled!==e._ripple?.disabled)&&(e._ripple=tg({tasker:n.disabled?null:e._ripple?.tasker,removeRipple:e._ripple?.removeRipple},n))}var pg={mounted:ug,unmounted:dg,updated:fg,install(e){e.directive(`ripple`,this)}},mg={name:[String,Number],disabled:Boolean,ripple:{type:Boolean,default:!0},onClick:Kh()};function hg(e,t){throw Error(`Varlet [${e}]: ${t}`)}var gg=Symbol(`TABS_BIND_TAB_KEY`);function _g(){let{childProviders:e,bindChildren:t,length:n}=jh(gg);return{length:n,tabList:e,bindTabList:t}}function vg(){let{parentProvider:e,bindParent:t,index:n}=kh(gg);return t||hg(`Tab`,`<var-tab/> must in <var-tabs/>`),{index:n,tabs:e,bindTabs:t}}var{name:yg,n:bg,classes:xg}=Gh(`tab`);function Sg(e,t){let n=w(`ripple`);return fe((b(),O(`div`,{class:S(e.classes(e.n(),e.n(`$--box`),e.computeColorClass(),e.n(`--${e.itemDirection}`))),ref:`tabEl`,style:i({color:e.computeColorStyle()}),onClick:t[0]||=(...t)=>e.handleClick&&e.handleClick(...t)},[T(e.$slots,`default`)],6)),[[n,{disabled:e.disabled||!e.ripple}]])}var Cg=C({name:yg,directives:{Ripple:pg},props:mg,setup(e){let t=M(null),n=k(()=>t.value),r=k(()=>e.name),i=k(()=>e.disabled),{index:a,tabs:o,bindTabs:s}=vg(),{onTabClick:c,active:u,activeColor:d,inactiveColor:f,disabledColor:p,itemDirection:m,resize:h}=o,g={name:r,index:a,disabled:i,element:n};s(g),l(()=>[e.name,e.disabled],h);function _(){return e.name==null?u.value===a?.value:u.value===e.name}function v(){return e.disabled?p.value:_()?d.value:f.value}function y(){return e.disabled?bg(`$-tab--disabled`):_()?bg(`$-tab--active`):bg(`$-tab--inactive`)}function b(t){let{disabled:n,name:r,onClick:i}=e;n||(fh(i,r??a.value,t),c(g))}return{tabEl:t,active:u,activeColor:d,inactiveColor:f,itemDirection:m,n:bg,classes:xg,computeColorStyle:v,computeColorClass:y,handleClick:b}}});Cg.render=Sg;var wg=Cg;Uh(wg),Wh(wg,mg);var Tg=wg,Eg={offsetTop:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:10},cssMode:Boolean,disabled:Boolean,onScroll:Kh()};function Dg(e){let t=e;for(;t&&!(!t.parentNode||(t=t.parentNode,t===document.body||t===document.documentElement));){let e=/(scroll|auto)/,{overflowY:n,overflow:r}=ch(t);if(e.test(n)||e.test(r))return t}return window}function Og(){let{width:e,height:t}=lh(window);return{vw:e,vh:t,vMin:Math.min(e,t),vMax:Math.max(e,t)}}var kg=e=>Gm(e)&&e.endsWith(`rem`),Ag=e=>Gm(e)&&e.endsWith(`px`)||qm(e),jg=e=>Gm(e)&&e.endsWith(`vw`),Mg=e=>Gm(e)&&e.endsWith(`vh`),Ng=e=>Gm(e)&&e.endsWith(`vmin`),Pg=e=>Gm(e)&&e.endsWith(`vmax`),Fg=e=>{if(Jm(e))return Number(e);if(Ag(e))return+e.replace(`px`,``);if(!eh())return 0;let{vw:t,vh:n,vMin:r,vMax:i}=Og();if(jg(e))return+e.replace(`vw`,``)*t/100;if(Mg(e))return+e.replace(`vh`,``)*n/100;if(Ng(e))return+e.replace(`vmin`,``)*r/100;if(Pg(e))return+e.replace(`vmax`,``)*i/100;if(kg(e)){let t=+e.replace(`rem`,``),n=ch(document.documentElement).fontSize;return t*parseFloat(n)}return Gm(e)?ph(e):0},Ig=e=>{if(e!=null)return Jm(e)?`${e}px`:String(e)};function Lg(e,{top:t=0,left:n=0,duration:r=300,animation:i}){let a=Date.now(),o=uh(e),s=dh(e);return new Promise(c=>{let l=()=>{let u=(Date.now()-a)/r;if(u<1){let r=o+(t-o)*i(u),a=s+(n-s)*i(u);e.scrollTo(a,r),requestAnimationFrame(l)}else e.scrollTo(n,t),c()};requestAnimationFrame(l)})}var Rg=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),{name:zg,n:Bg,classes:Vg}=Gh(`sticky`);function Hg(e,t){return b(),O(`div`,{class:S(e.classes(e.n(),[e.enableCSSMode,e.n(`--css-mode`)])),ref:`stickyEl`,style:i({zIndex:e.toNumber(e.zIndex),top:e.enableCSSMode?`${e.offsetTop}px`:void 0,width:e.enableFixedMode?e.fixedWidth:void 0,height:e.enableFixedMode?e.fixedHeight:void 0})},[D(`div`,{class:S(e.n(`wrapper`)),ref:`wrapperEl`,style:i({zIndex:e.toNumber(e.zIndex),position:e.enableFixedMode?`fixed`:void 0,width:e.enableFixedMode?e.fixedWrapperWidth:void 0,height:e.enableFixedMode?e.fixedWrapperHeight:void 0,left:e.enableFixedMode?e.fixedLeft:void 0,top:e.enableFixedMode?e.fixedTop:void 0})},[T(e.$slots,`default`)],6)],6)}var Ug=C({name:zg,props:Eg,setup(e){let t=M(null),n=M(null),r=M(!1),i=M(`0px`),a=M(`0px`),o=M(`auto`),s=M(`auto`),c=M(`auto`),u=M(`auto`),d=k(()=>!e.disabled&&e.cssMode),f=k(()=>!e.disabled&&!e.cssMode&&r.value),p=k(()=>Fg(e.offsetTop)),m;l(()=>e.disabled,y),Th(()=>Rg(this,null,function*(){yield sh(),g(),_()})),Dh(v),Mh(y),Eh(()=>window,`scroll`,_);function h(){let{cssMode:l,disabled:d}=e;if(d)return;let f=0;if(m!==window){let{top:e}=lh(m);f=e}let h=n.value,g=t.value,{top:_,left:v}=lh(g),y=_-f;return y<=p.value?(l||(o.value=`${g.offsetWidth}px`,s.value=`${g.offsetHeight}px`,i.value=`${f+p.value}px`,a.value=`${v}px`,c.value=`${h.offsetWidth}px`,u.value=`${h.offsetHeight}px`,r.value=!0),{offsetTop:p.value,isFixed:!0}):(r.value=!1,{offsetTop:y,isFixed:!1})}function g(){m=Dg(t.value),m!==window&&m.addEventListener(`scroll`,_)}function _(){let t=h();t&&fh(e.onScroll,t.offsetTop,t.isFixed)}function v(){m&&m!==window&&m.removeEventListener(`scroll`,_)}function y(){return Rg(this,null,function*(){r.value=!1,yield oh(),h()})}return{stickyEl:t,wrapperEl:n,isFixed:r,offsetTop:p,fixedTop:i,fixedLeft:a,fixedWidth:o,fixedHeight:s,fixedWrapperWidth:c,fixedWrapperHeight:u,enableCSSMode:d,enableFixedMode:f,n:Bg,classes:Vg,resize:y,toNumber:ph}}});Ug.render=Hg;var Wg=Ug;Uh(Wg),Wh(Wg,Eg);var Gg=Wg,Kg={active:{type:[String,Number],default:0},layoutDirection:{type:String,default:`horizontal`},itemDirection:{type:String,default:`horizontal`},fixedBottom:Boolean,activeColor:String,inactiveColor:String,disabledColor:String,color:String,indicatorColor:String,indicatorSize:[String,Number],elevation:{type:[Boolean,String,Number],default:!1},scrollable:{type:String,default:`auto`},indicatorPosition:{type:String,default:`normal`},safeArea:Boolean,sticky:Boolean,stickyCssMode:Hh(Eg,`cssMode`),stickyZIndex:Hh(Eg,`zIndex`),offsetTop:Hh(Eg,`offsetTop`),onClick:Kh(),onChange:Kh(),"onUpdate:active":Kh()},qg=e=>e,Jg=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),{name:Yg,n:Xg,classes:Zg}=Gh(`tabs`);function Qg(e,t){return b(),he(E(e.sticky?e.n(`$-sticky`):e.Transition),{ref:e.sticky?`stickyComponent`:void 0,"css-mode":e.sticky?e.stickyCssMode:void 0,"offset-top":e.sticky?e.offsetTop:void 0,"z-index":e.sticky?e.stickyZIndex:void 0},{default:p(()=>[D(`div`,se({class:e.classes(e.n(),e.n(`$--box`),e.n(`--item-${e.itemDirection}`),e.n(`--layout-${e.layoutDirection}-padding`),e.formatElevation(e.elevation,4),[e.fixedBottom,e.n(`--fixed-bottom`)],[e.safeArea,e.n(`--safe-area`)]),style:{background:e.color}},e.$attrs),[D(`div`,{ref:`scrollerEl`,class:S(e.classes(e.n(`tab-wrap`),[e.localScrollable,e.n(`--layout-${e.layoutDirection}-scrollable`)],e.n(`--layout-${e.layoutDirection}`)))},[T(e.$slots,`default`),D(`div`,{class:S(e.classes(e.n(`indicator`),e.n(`--layout-${e.layoutDirection}${e.indicatorPosition}-indicator`))),style:i({width:e.layoutDirection===`horizontal`?e.indicatorWidth:e.toSizeUnit(e.indicatorSize),height:e.layoutDirection===`horizontal`?e.toSizeUnit(e.indicatorSize):e.indicatorHeight,transform:e.layoutDirection===`horizontal`?`translateX(${e.indicatorX})`:`translateY(${e.indicatorY})`})},[D(`div`,{class:S(e.classes(e.n(`indicator-inner`),e.n(`--layout-${e.layoutDirection}-indicator-inner`))),style:i({background:e.indicatorColor||e.activeColor})},null,6)],6)],2)],16)]),_:3},8,[`css-mode`,`offset-top`,`z-index`])}var $g=C({name:Yg,components:{VarSticky:Gg},inheritAttrs:!1,props:Kg,setup(e){let t=M(`0px`),n=M(`0px`),r=M(`0px`),i=M(`0px`),a=M(!1),o=M(null),s=k(()=>e.active),c=k(()=>e.activeColor),u=k(()=>e.inactiveColor),d=k(()=>e.disabledColor),f=k(()=>e.itemDirection),p=M(null),m=k(()=>e.indicatorPosition===`reverse`?`-reverse`:``),{tabList:h,bindTabList:_,length:v}=_g();_({active:s,activeColor:c,inactiveColor:u,disabledColor:d,itemDirection:f,resize:E,onTabClick:y}),l(()=>v.value,()=>Jg(this,null,function*(){yield sh(),E()})),l(()=>[e.active,e.scrollable],E),g(E),Mh(E);function y(t){let n=t.name.value??t.index.value,{active:r,onChange:i,onClick:a}=e;fh(e[`onUpdate:active`],n),fh(a,n),n!==r&&fh(i,n)}function b(){return h.find(({name:t})=>e.active===t.value)}function x(t){return h.find(({index:n})=>(t??e.active)===n.value)}function S(){if(v.value===0)return;let{active:t}=e;if(qm(t)){let n=mh(t,0,v.value-1);return fh(e[`onUpdate:active`],n),x(n)}}function C(){a.value=e.scrollable===`always`||h.length>=5}function w({element:a}){let o=a.value;o&&(e.layoutDirection===`horizontal`?(t.value=`${o.offsetWidth}px`,r.value=`${o.offsetLeft}px`):(n.value=`${o.offsetHeight}px`,i.value=`${o.offsetTop}px`))}function T({element:t}){if(!a.value)return;let n=o.value,r=t.value;e.layoutDirection===`horizontal`?Lg(n,{left:r.offsetLeft+r.offsetWidth/2-n.offsetWidth/2,animation:qg}):Lg(n,{top:r.offsetTop+r.offsetHeight/2-n.offsetHeight/2,animation:qg})}function E(){let e=b()||x()||S();e&&!e.disabled.value&&(C(),w(e),T(e))}function ee(){return Jg(this,null,function*(){e.sticky&&p.value&&(yield p.value.resize())})}return{stickyComponent:p,indicatorWidth:t,indicatorHeight:n,indicatorX:r,indicatorY:i,indicatorPosition:m,localScrollable:a,scrollerEl:o,Transition:ye,toSizeUnit:Ig,n:Xg,classes:Zg,resize:E,resizeSticky:ee,formatElevation:qh}}});$g.render=Qg;var e_=$g;Uh(e_),Wh(e_,Kg);var t_=e_,n_=`table-of-contents-plus`,r_={emits:[`changed`],setup(){let{processSaveChanges:e}=Te();return{processSaveChanges:e,rootStore:A()}},components:{BaseButton:xe,SvgCaret:Am,TransitionSlide:Nm,VarTab:Tg,VarTabs:t_},props:{tabs:{type:Array,required:!0},skinnyTabs:Boolean,active:String,showSaveButton:{type:Boolean,default(){return!0}},internal:Boolean,disableMobile:Boolean},data(){return{buttonLoading:!1,showMobileMenu:!0,calculateWidth:!1,showMobileTabs:!1,strings:{saveChanges:ie(`Save Changes`,n_)}}},computed:{activeTab(){return this.active?this.active:this.$route?.name?this.$route.name:this.tabs[0]?.slug},filteredTabs(){return this.tabs.filter(e=>e.slug!==(this.active?this.active:this.$route?.name?this.$route.name:``))}},methods:{maybeChangeTab(e){if(this.active){this.$emit(`changed`,e);return}let t=this.tabs.find(t=>t.slug===e);t&&this.$router.push(t.url)},getActiveTabName(){let e=this.tabs.find(e=>e.slug===(this.active?this.active:this.$route?.name?this.$route.name:``));return e?e.name:``},maybeShowMobileMenu(){if(window.matchMedia(`(max-width: 782px)`).matches&&!this.disableMobile){this.showMobileMenu=!0;return}let e=0;this.calculateWidth=!0,this.$nextTick(()=>{e=this.$refs[`tabs-scroller`].offsetWidth,this.calculateWidth=!1;let t=0,n=this.$refs[`tabs-button`];if(n){let e=n.querySelector(`.aioseo-button`);t=e?e.scrollWidth:0}if(e+t>this.$refs[`aioseo-tabs`].offsetWidth){this.showMobileMenu=!0;return}this.showMobileMenu=!1})},createRipple(e){let t=e.currentTarget,n=document.createElement(`span`),r=Math.max(t.clientWidth,t.clientHeight),i=r/2,a=t.getBoundingClientRect();n.style.width=n.style.height=`${r}px`,n.style.left=`${e.clientX-(a.left+i)}px`,n.style.top=`${e.clientY-(a.top+i)}px`,n.classList.add(`ripple`);let o=t.getElementsByClassName(`ripple`)[0];o&&o.remove(),t.appendChild(n)}},beforeMount(){window.addEventListener(`resize`,this.maybeShowMobileMenu)},async mounted(){this.$nextTick(()=>{this.maybeShowMobileMenu();let e=this.$refs[`aioseo-tabs`],t=e.querySelector(`.var-tab--active`),n=e.querySelector(`.var-tabs__indicator`);if(!t||!n)return;setTimeout(()=>{n.style.width===`0px`&&(n.style.width=`${t.offsetWidth}px`,n.style.transform=`translateX(${t.offsetLeft}px)`)},300),new MutationObserver(()=>{n.style.width===`0px`&&(n.style.width=`${t.offsetWidth}px`,n.style.transform=`translateX(${t.offsetLeft}px)`)}).observe(n,{attributes:!0});let r=e.querySelectorAll(`.var-tab`);r.length&&r.forEach(e=>{e.addEventListener(`click`,this.createRipple)})})},beforeUnmount(){window.removeEventListener(`resize`,this.maybeShowMobileMenu)}},i_={class:`tabs-scroller`,ref:`tabs-scroller`},a_={class:`label`},o_={key:0,class:`aioseo-mobile-tabs`},s_={class:`tab-links`},c_=[`onClick`],l_={key:1,class:`button-right`,ref:`tabs-button`},u_={class:`tabs-extra`};function d_(e,t,i,a,o,s){let c=u(`var-tab`),l=u(`var-tabs`),d=u(`svg-caret`),f=u(`router-link`),m=u(`transition-slide`),h=u(`base-button`);return b(),O(`div`,{class:S([`aioseo-tabs`,{internal:i.internal,skinny:i.skinnyTabs}]),ref:`aioseo-tabs`},[fe(D(`div`,i_,[P(l,{active:s.activeTab,onClick:s.maybeChangeTab,ref:`var-tabs`},{default:p(()=>[(b(!0),O(de,null,n(i.tabs,(t,n)=>(b(),he(c,{name:t.slug,key:n},{default:p(()=>[T(e.$slots,`var-tab`,{tab:t},()=>[T(e.$slots,`var-tab-icon`,{tab:t}),D(`span`,a_,F(t.name),1)])]),_:2},1032,[`name`]))),128))]),_:3},8,[`active`,`onClick`])],512),[[ve,!o.showMobileMenu||o.calculateWidth]]),o.showMobileMenu?(b(),O(`div`,o_,[D(`div`,{class:`active-tab`,onClick:t[1]||=e=>o.showMobileTabs=!o.showMobileTabs},[D(`div`,null,[r(F(s.getActiveTabName())+` `,1),P(d,{onClick:t[0]||=_e(e=>o.showMobileTabs=!o.showMobileTabs,[`stop`]),class:S({rotated:!o.showMobileTabs})},null,8,[`class`]),t[3]||=D(`span`,{class:`tab-indicator`},null,-1)])]),P(m,{active:o.showMobileTabs,class:`tab-dropdown`},{default:p(()=>[D(`div`,s_,[i.active?I(``,!0):(b(!0),O(de,{key:0},n(s.filteredTabs,(e,n)=>(b(),he(f,{key:n,to:e.url,onClick:t[2]||=e=>o.showMobileTabs=!1},{default:p(()=>[r(F(e.name),1)]),_:2},1032,[`to`]))),128)),i.active?(b(!0),O(de,{key:1},n(s.filteredTabs,(t,n)=>(b(),O(`a`,{href:`#`,key:n,onClick:_e(n=>e.$emit(`changed`,t.slug)&&(o.showMobileTabs=!1),[`prevent`])},F(t.name),9,c_))),128)):I(``,!0)])]),_:1},8,[`active`])])):I(``,!0),i.showSaveButton?(b(),O(`div`,l_,[T(e.$slots,`button`,{},()=>[P(h,{type:`blue`,size:`medium`,loading:a.rootStore.loading,onClick:a.processSaveChanges},{default:p(()=>[r(F(o.strings.saveChanges),1)]),_:1},8,[`loading`,`onClick`])])],512)):I(``,!0),D(`div`,u_,[T(e.$slots,`extra`)])],2)}var f_=j(r_,[[`render`,d_]]),p_=`table-of-contents-plus`,m_=()=>{let e={notifications:L(`Notifications`,p_),newNotifications:L(`New Notifications`,p_),activeNotifications:L(`Active Notifications`,p_)},t=M(!1),n=le(),r=k(()=>t.value?n.dismissedNotificationsCount:n.activeNotificationsCount),i=k(()=>t.value?n.dismissedNotifications:n.activeNotifications);return{dismissed:t,notificationTitle:k(()=>t.value?e.notifications:e.newNotifications),notifications:i,notificationsCount:r,strings:e}},h_=window.__aioseoDynamicImportPreload__(`images/dannie-detective.C0gjJQEP.png`);function g_(e){return Jp.utc(e).tz(Jp.tz.guess()).fromNow().replace(`a few seconds ago`,L(`a few seconds ago`,G)).replace(`a minute ago`,L(`a minute ago`,G)).replace(`minutes ago`,L(`minutes ago`,G)).replace(`a day ago`,L(`a day ago`,G)).replace(`days ago`,L(`days ago`,G)).replace(`a month ago`,L(`a month ago`,G)).replace(`months ago`,L(`months ago`,G)).replace(`a year ago`,L(`a year ago`,G)).replace(`years ago`,L(`years ago`,G))}var __=()=>{let e=M(!1),t=M(!1),n=e=>{if(!e)return``;let t=e;if(i(e)){let n=e.split(`#`)[1].split(`:`);t=A().aioseo.urls.aio.dashboard.replace(`page=aioseo`,`page=${n[0]}#/${n[1]}`)}return t},r=e=>i(e)?null:`_blank`,i=e=>e.startsWith(`http://route#`)||e.startsWith(`https://route#`),a=e=>e.startsWith(`http://action#`)||e.startsWith(`https://action#`),o=e=>a(e)?`button`:`a`,s=(e,t)=>{if([`button${t}Loading`].value=!0,a(e))return c(e,t);if(i(e))return l(e);[`button${t}Loading`].value=!1},c=(e,t)=>{let n=e.match(/[^#?]*/gm),r=n[2];le().processButtonAction(r).then(()=>{if(n[4]&&n[4].startsWith(`redirect=`)){let e=A(),t=n[4].replace(`redirect=`,``).split(`:`),r=e.aioseo.urls.aio.dashboard.replace(`page=aioseo`,`page=${t[0]}#/${t[1]}`);if(r===window.location.href){window.location.reload();return}window.location.href=r}else n[4]&&n[4].startsWith(`refresh`)?window.location.reload():[`button${t}Loading`].value=!1})},l=e=>{let t=A(),n=e.match(/[^#?]*/gm)[2].split(`:`);t.aioseo.urls.aio.dashboard.replace(`page=aioseo`,`page=${n[0]}#/${n[1]}`)===window.location.href&&window.location.reload()};return{button1Loading:e,button2Loading:t,getHref:n,getTagType:o,getTarget:r,processAction:c,processButtonClick:s,processRoute:l,decodeUrl:e=>{if(!e)return null;try{return decodeURIComponent(e)}catch{return e}}}},v_={},y_={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-circle-check`};function b_(e,t){return b(),O(`svg`,y_,[...t[0]||=[D(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM10 14.17L16.59 7.58L18 9L10 17L6 13L7.41 11.59L10 14.17Z`,fill:`currentColor`},null,-1)]])}var x_=j(v_,[[`render`,b_]]),S_={},C_={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-circle-close`};function w_(e,t){return b(),O(`svg`,C_,[...t[0]||=[D(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M12 2.00006C6.47 2.00006 2 6.47006 2 12.0001C2 17.5301 6.47 22.0001 12 22.0001C17.53 22.0001 22 17.5301 22 12.0001C22 6.47006 17.53 2.00006 12 2.00006ZM14.59 8.00006L12 10.5901L9.41 8.00006L8 9.41006L10.59 12.0001L8 14.5901L9.41 16.0001L12 13.4101L14.59 16.0001L16 14.5901L13.41 12.0001L16 9.41006L14.59 8.00006ZM4 12.0001C4 16.4101 7.59 20.0001 12 20.0001C16.41 20.0001 20 16.4101 20 12.0001C20 7.59006 16.41 4.00006 12 4.00006C7.59 4.00006 4 7.59006 4 12.0001Z`,fill:`currentColor`},null,-1)]])}var T_=j(S_,[[`render`,w_]]),E_={},D_={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-circle-exclamation`};function O_(e,t){return b(),O(`svg`,D_,[...t[0]||=[D(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M11.99 2.00012C6.47 2.00012 2 6.48012 2 12.0001C2 17.5201 6.47 22.0001 11.99 22.0001C17.52 22.0001 22 17.5201 22 12.0001C22 6.48012 17.52 2.00012 11.99 2.00012ZM13 13.0001V7.00012H11V13.0001H13ZM13 17.0001V15.0001H11V17.0001H13ZM4 12.0001C4 16.4201 7.58 20.0001 12 20.0001C16.42 20.0001 20 16.4201 20 12.0001C20 7.58012 16.42 4.00012 12 4.00012C7.58 4.00012 4 7.58012 4 12.0001Z`,fill:`currentColor`},null,-1)]])}var k_=j(E_,[[`render`,O_]]),A_={},j_={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-gear`};function M_(e,t){return b(),O(`svg`,j_,[...t[0]||=[D(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M19.5023 12C19.5023 12.34 19.4723 12.66 19.4323 12.98L21.5423 14.63C21.7323 14.78 21.7823 15.05 21.6623 15.27L19.6623 18.73C19.5723 18.89 19.4023 18.98 19.2323 18.98C19.1723 18.98 19.1123 18.97 19.0523 18.95L16.5623 17.95C16.0423 18.34 15.4823 18.68 14.8723 18.93L14.4923 21.58C14.4623 21.82 14.2523 22 14.0023 22H10.0023C9.75228 22 9.54228 21.82 9.51228 21.58L9.13228 18.93C8.52228 18.68 7.96228 18.35 7.44228 17.95L4.95228 18.95C4.90228 18.97 4.84228 18.98 4.78228 18.98C4.60228 18.98 4.43228 18.89 4.34228 18.73L2.34228 15.27C2.22228 15.05 2.27228 14.78 2.46228 14.63L4.57228 12.98C4.53228 12.66 4.50228 12.33 4.50228 12C4.50228 11.67 4.53228 11.34 4.57228 11.02L2.46228 9.37C2.27228 9.22 2.21228 8.95 2.34228 8.73L4.34228 5.27C4.43228 5.11 4.60228 5.02 4.77228 5.02C4.83228 5.02 4.89228 5.03 4.95228 5.05L7.44228 6.05C7.96228 5.66 8.52228 5.32 9.13228 5.07L9.51228 2.42C9.54228 2.18 9.75228 2 10.0023 2H14.0023C14.2523 2 14.4623 2.18 14.4923 2.42L14.8723 5.07C15.4823 5.32 16.0423 5.65 16.5623 6.05L19.0523 5.05C19.1023 5.03 19.1623 5.02 19.2223 5.02C19.4023 5.02 19.5723 5.11 19.6623 5.27L21.6623 8.73C21.7823 8.95 21.7323 9.22 21.5423 9.37L19.4323 11.02C19.4723 11.34 19.5023 11.66 19.5023 12ZM17.5023 12C17.5023 11.79 17.4923 11.58 17.4523 11.27L17.3123 10.14L18.2023 9.44L19.2723 8.59L18.5723 7.38L17.3023 7.89L16.2423 8.32L15.3323 7.62C14.9323 7.32 14.5323 7.09 14.1023 6.91L13.0423 6.48L12.8823 5.35L12.6923 4H11.3023L11.1023 5.35L10.9423 6.48L9.88228 6.91C9.47228 7.08 9.06228 7.32 8.63228 7.64L7.73228 8.32L6.69228 7.9L5.42228 7.39L4.72228 8.6L5.80228 9.44L6.69228 10.14L6.55228 11.27C6.52228 11.57 6.50228 11.8 6.50228 12C6.50228 12.2 6.52228 12.43 6.55228 12.74L6.69228 13.87L5.80228 14.57L4.72228 15.41L5.42228 16.62L6.69228 16.11L7.75228 15.68L8.66228 16.38C9.06228 16.68 9.46228 16.91 9.89228 17.09L10.9523 17.52L11.1123 18.65L11.3023 20H12.7023L12.9023 18.65L13.0623 17.52L14.1223 17.09C14.5323 16.92 14.9423 16.68 15.3723 16.36L16.2723 15.68L17.3123 16.1L18.5823 16.61L19.2823 15.4L18.2023 14.56L17.3123 13.86L17.4523 12.73C17.4823 12.43 17.5023 12.21 17.5023 12ZM12.0023 8C9.79228 8 8.00228 9.79 8.00228 12C8.00228 14.21 9.79228 16 12.0023 16C14.2123 16 16.0023 14.21 16.0023 12C16.0023 9.79 14.2123 8 12.0023 8ZM10.0023 12C10.0023 13.1 10.9023 14 12.0023 14C13.1023 14 14.0023 13.1 14.0023 12C14.0023 10.9 13.1023 10 12.0023 10C10.9023 10 10.0023 10.9 10.0023 12Z`,fill:`currentColor`},null,-1)]])}var N_=j(A_,[[`render`,M_]]),P_=`table-of-contents-plus`,F_={emits:[`dismissed-notification`],setup(){let{button1Loading:e,button2Loading:t,getHref:n,getTagType:r,getTarget:i,processButtonClick:a}=__();return{button1Loading:e,button2Loading:t,getHref:n,getTagType:r,getTarget:i,notificationsStore:le(),processButtonClick:a,sanitizeString:Wc}},components:{BaseButton:xe,SvgCircleCheck:x_,SvgCircleClose:T_,SvgCircleExclamation:k_,SvgGear:N_,TransitionSlide:Nm},props:{notification:{type:Object,required:!0}},data(){return{active:!0,strings:{dismiss:L(`Dismiss`,P_)}}},computed:{getIcon(){switch(this.notification.type){case`warning`:return`svg-circle-exclamation`;case`error`:return`svg-circle-close`;case`info`:return`svg-gear`;default:return`svg-circle-check`}},getDate(){return g_(this.notification.start)}},methods:{processDismissNotification(){this.active=!1,this.notificationsStore.dismissNotifications([this.notification.slug]),this.$emit(`dismissed-notification`)},getButtonType(e){switch(this.notification.notification_name){case`search-console-site-not-connected`:case`search-console-site-not-verified`:case`email-reports-enable-reminder`:return e===1?`blue`:`gray`;default:return`gray`}}}},I_={class:`icon`},L_={class:`body`},R_={class:`title`},z_={class:`date`},B_=[`innerHTML`],V_={class:`actions`};function H_(e,t,n,i,a,o){let s=u(`base-button`),c=u(`transition-slide`);return b(),he(c,{class:S([`aioseo-notification`,[`aioseo-notification-${n.notification.notification_name}`]]),active:a.active},{default:p(()=>[D(`div`,null,[D(`div`,I_,[(b(),he(E(o.getIcon),{class:S(n.notification.type)},null,8,[`class`]))]),D(`div`,L_,[D(`div`,R_,[D(`div`,null,F(i.sanitizeString(n.notification.title)),1),D(`div`,z_,F(o.getDate),1)]),D(`div`,{class:`notification-content`,innerHTML:n.notification.content},null,8,B_),D(`div`,V_,[n.notification.button1_label&&n.notification.button1_action?(b(),he(s,{key:0,size:`small`,type:o.getButtonType(1),class:`aioseo-button1`,tag:i.getTagType(n.notification.button1_action),href:i.getHref(n.notification.button1_action),target:i.getTarget(n.notification.button1_action),onClick:t[0]||=e=>i.processButtonClick(n.notification.button1_action,1),loading:i.button1Loading},{default:p(()=>[r(F(n.notification.button1_label),1)]),_:1},8,[`type`,`tag`,`href`,`target`,`loading`])):I(``,!0),n.notification.button2_label&&n.notification.button2_action?(b(),he(s,{key:1,size:`small`,type:o.getButtonType(2),class:`aioseo-button2`,tag:i.getTagType(n.notification.button2_action),href:i.getHref(n.notification.button2_action),target:i.getTarget(n.notification.button2_action),onClick:t[1]||=e=>i.processButtonClick(n.notification.button2_action,2),loading:i.button2Loading},{default:p(()=>[r(F(n.notification.button2_label),1)]),_:1},8,[`type`,`tag`,`href`,`target`,`loading`])):I(``,!0),n.notification.dismissed?I(``,!0):(b(),O(`a`,{key:2,href:`#`,class:`dismiss`,onClick:t[2]||=_e((...e)=>o.processDismissNotification&&o.processDismissNotification(...e),[`stop`,`prevent`])},F(a.strings.dismiss),1))])])])]),_:1},8,[`class`,`active`])}var U_=j(F_,[[`render`,H_]]),W_=`table-of-contents-plus`,G_={emits:[`dismissed-notification`],setup(){return{licenseStore:Zu(),notificationsStore:sd(),optionsStore:X(),rootStore:Q()}},components:{SvgCircleCheck:x_,TransitionSlide:Nm},props:{notification:{type:Object,required:!0}},data(){return{step:1,active:!0,ratingUrl:V.ratingUrl,strings:{dismiss:L(`Dismiss`,W_),yesILoveIt:L(`Yes, I love it!`,W_),notReally:L(`Not Really...`,W_),okYouDeserveIt:L(`Ok, you deserve it`,W_),nopeMaybeLater:L(`Nope, maybe later`,W_),giveFeedback:L(`Give feedback`,W_),noThanks:L(`No thanks`,W_)}}},computed:{title(){switch(this.step){case 2:return L(`That's Awesome!`,W_);case 3:return L(`Help us improve`,W_);default:return R(L(`Are you enjoying %1$s?`,W_),`ToC+`)}},content(){switch(this.step){case 2:return L(`Could you please do us a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?`,W_);case 3:return R(L(`We're sorry to hear you aren't enjoying %1$s. We would love a chance to improve. Could you take a minute and let us know what we can do better?`,W_),`Table of Contents Plus`);default:return``}},feedbackUrl(){let e=this.rootStore.isPro?`pro`:`lite`;return V.utmUrl(`notification-review-notice`,this.rootStore.aioseo.version,`https://aioseo.com/plugin-feedback/?wpf7528_24=`+encodeURIComponent(this.rootStore.aioseo.urls.home)+`&wpf7528_27=`+e+`&wpf7528_28=`+this.rootStore.aioseo.version)}},methods:{processDismissNotification(e=!1){this.active=!1,this.notificationsStore.dismissNotifications([this.notification.slug+(e?`-delay`:``)]),this.$emit(`dismissed-notification`)}}},K_={class:`icon`},q_={class:`body`},J_={class:`title`},Y_=[`innerHTML`],X_={class:`actions`};function Z_(e,t,n,i,a,o){let s=u(`svg-circle-check`),c=u(`base-button`),l=u(`transition-slide`);return b(),he(l,{class:`aioseo-notification`,active:a.active},{default:p(()=>[D(`div`,null,[D(`div`,K_,[P(s,{class:`success`})]),D(`div`,q_,[D(`div`,J_,[D(`div`,null,F(o.title),1)]),D(`div`,{class:`notification-content`,innerHTML:o.content},null,8,Y_),D(`div`,X_,[a.step===1?(b(),O(de,{key:0},[P(c,{size:`small`,type:`blue`,onClick:t[0]||=_e(e=>a.step=2,[`stop`])},{default:p(()=>[r(F(a.strings.yesILoveIt),1)]),_:1}),P(c,{size:`small`,type:`gray`,onClick:t[1]||=_e(e=>a.step=3,[`stop`])},{default:p(()=>[r(F(a.strings.notReally),1)]),_:1})],64)):I(``,!0),a.step===2?(b(),O(de,{key:1},[P(c,{tag:`a`,href:a.ratingUrl,size:`small`,type:`blue`,target:`_blank`,rel:`noopener noreferrer`,onClick:t[2]||=e=>o.processDismissNotification(!1)},{default:p(()=>[r(F(a.strings.okYouDeserveIt),1)]),_:1},8,[`href`]),P(c,{size:`small`,type:`gray`,onClick:t[3]||=_e(e=>o.processDismissNotification(!0),[`stop`,`prevent`])},{default:p(()=>[r(F(a.strings.nopeMaybeLater),1)]),_:1})],64)):I(``,!0),a.step===3?(b(),O(de,{key:2},[P(c,{tag:`a`,href:o.feedbackUrl,size:`small`,type:`blue`,target:`_blank`,rel:`noopener noreferrer`,onClick:t[4]||=e=>o.processDismissNotification(!1)},{default:p(()=>[r(F(a.strings.giveFeedback),1)]),_:1},8,[`href`]),P(c,{size:`small`,type:`gray`,onClick:t[5]||=_e(e=>o.processDismissNotification(!1),[`stop`,`prevent`])},{default:p(()=>[r(F(a.strings.noThanks),1)]),_:1})],64)):I(``,!0),n.notification.dismissed?I(``,!0):(b(),O(`a`,{key:3,class:`dismiss`,href:`#`,onClick:t[6]||=_e(e=>o.processDismissNotification(!1),[`stop`,`prevent`])},F(a.strings.dismiss),1))])])])]),_:1},8,[`active`])}var Q_=j(G_,[[`render`,Z_]]),$_=`table-of-contents-plus`,ev={emits:[`dismissed-notification`],setup(){return{notificationsStore:le()}},components:{BaseButton:xe,SvgCircleCheck:x_,TransitionSlide:Nm},props:{notification:{type:Object,required:!0}},data(){return{active:!0,strings:{dismiss:L(`Dismiss`,$_),yesILoveIt:L(`Yes, I love it!`,$_),notReally:L(`Not Really...`,$_),okYouDeserveIt:L(`Ok, you deserve it`,$_),nopeMaybeLater:L(`Nope, maybe later`,$_),giveFeedback:L(`Give feedback`,$_),noThanks:L(`No thanks`,$_)}}},computed:{title(){return R(L(`Are you enjoying %1$s?`,$_),`ToC+`)},content(){return R(L(`Hey, we noticed you have been using %1$s for some time - that’s awesome! Could you please do us a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?`,$_),`<strong>Table of Contents Plus</strong>`)}},methods:{processDismissNotification(e=!1){this.active=!1,this.notificationsStore.dismissNotifications([this.notification.slug+(e?`-delay`:``)]),this.$emit(`dismissed-notification`)}}},tv={class:`icon`},nv={class:`body`},rv={class:`title`},iv=[`innerHTML`],av={class:`actions`};function ov(e,t,n,i,a,o){let s=u(`svg-circle-check`),c=u(`base-button`),l=u(`transition-slide`);return b(),he(l,{class:`aioseo-notification`,active:a.active},{default:p(()=>[D(`div`,null,[D(`div`,tv,[P(s,{class:`success`})]),D(`div`,nv,[D(`div`,rv,[D(`div`,null,F(o.title),1)]),D(`div`,{class:`notification-content`,innerHTML:o.content},null,8,iv),D(`div`,av,[P(c,{tag:`a`,href:`https://aioseo.com/table-of-contents-plus-rating`,size:`small`,type:`blue`,target:`_blank`,rel:`noopener noreferrer`,onClick:t[0]||=e=>o.processDismissNotification(!1)},{default:p(()=>[r(F(a.strings.okYouDeserveIt),1)]),_:1}),P(c,{size:`small`,type:`gray`,onClick:t[1]||=_e(e=>o.processDismissNotification(!0),[`stop`,`prevent`])},{default:p(()=>[r(F(a.strings.nopeMaybeLater),1)]),_:1}),n.notification.dismissed?I(``,!0):(b(),O(`a`,{key:0,class:`dismiss`,href:`#`,onClick:t[2]||=_e(e=>o.processDismissNotification(!1),[`stop`,`prevent`])},F(a.strings.dismiss),1))])])])]),_:1},8,[`active`])}var sv=j(ev,[[`render`,ov]]),cv={class:`icon`},lv={class:`body`},uv={class:`title`},dv=[`innerHTML`],fv={class:`actions`},pv={__name:`UnlicensedAddons`,props:{notification:{type:Object,required:!0}},setup(e){let t=`table-of-contents-plus`,n=e,i=Q(),a=M(!0),o={title:R(L(`%1$s Addons Not Configured Properly`,t),`ToC+`),learnMore:L(`Learn More`,t),upgrade:L(`Upgrade`,t)},s=k(()=>{let e=`<ul>`;return n.notification.addons.forEach(t=>{e+=`<li><strong>ToC+ - `+t.name+`</strong></li>`}),e+=`</ul>`,n.notification.message+e});return(e,t)=>{let n=u(`base-button`);return b(),he(ue(Nm),{class:`aioseo-notification`,active:a.value},{default:p(()=>[D(`div`,null,[D(`div`,cv,[P(ue(T_),{class:`error`})]),D(`div`,lv,[D(`div`,uv,[D(`div`,null,F(o.title),1)]),D(`div`,{class:`notification-content`,innerHTML:s.value},null,8,dv),D(`div`,fv,[P(n,{size:`small`,type:`green`,tag:`a`,href:ue(V).getUpsellUrl(`notification-unlicensed-addons`,null,ue(i).isPro?`pricing`:`liteUpgrade`),target:`_blank`},{default:p(()=>[r(F(o.upgrade),1)]),_:1},8,[`href`])])])])]),_:1},8,[`active`])}}},mv=`table-of-contents-plus`,hv={emits:[`toggle-dismissed`,`dismissed-notification`],components:{CoreNotification:U_,NotificationsReview:Q_,NotificationsReview2:sv,NotificationsUnlicensedAddons:pv},props:{dismissedCount:{type:Number,required:!0},notifications:{type:Array,required:!0}},data(){return{dannieDetectiveImg:h_,strings:{greatScott:L(`Great Scott! Where'd they all go?`,mv),noNewNotifications:L(`You have no new notifications.`,mv),seeDismissed:L(`See Dismissed Notifications`,mv)}}},methods:{getAssetUrl:es}},gv={class:`aioseo-notification-cards`},_v={key:`no-notifications`},vv={class:`no-notifications`},yv=[`src`],bv={class:`great-scott`},xv={class:`no-new-notifications`};function Sv(e,t,r,i,a,o){return b(),O(`div`,gv,[r.notifications.length?(b(!0),O(de,{key:0},n(r.notifications,n=>(b(),he(E(n.component?n.component:`core-notification`),{key:n.slug,notification:n,ref_for:!0,ref:`notification`,onDismissedNotification:t[0]||=t=>e.$emit(`dismissed-notification`)},null,40,[`notification`]))),128)):I(``,!0),r.notifications.length?I(``,!0):(b(),O(`div`,_v,[T(e.$slots,`no-notifications`,{},()=>[D(`div`,vv,[D(`img`,{alt:`Dannie the Detective`,src:o.getAssetUrl(a.dannieDetectiveImg)},null,8,yv),D(`div`,bv,F(a.strings.greatScott),1),D(`div`,xv,F(a.strings.noNewNotifications),1),r.dismissedCount?(b(),O(`a`,{key:0,href:`#`,class:`dismiss`,onClick:t[1]||=_e(t=>e.$emit(`toggle-dismissed`),[`stop`,`prevent`])},F(a.strings.seeDismissed),1)):I(``,!0)])])]))])}var Cv=j(hv,[[`render`,Sv]]),wv={},Tv={viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-close`};function Ev(e,t){return b(),O(`svg`,Tv,[...t[0]||=[D(`path`,{d:`M11.8211 1.3415L10.6451 0.166504L5.98305 4.82484L1.32097 0.166504L0.14502 1.3415L4.80711 5.99984L0.14502 10.6582L1.32097 11.8332L5.98305 7.17484L10.6451 11.8332L11.8211 10.6582L7.159 5.99984L11.8211 1.3415Z`,fill:`currentColor`},null,-1)]])}var Dv=j(wv,[[`render`,Ev]]),Ov=`table-of-contents-plus`,kv={setup(){let{dismissed:e,notificationTitle:t,notifications:n,notificationsCount:r,strings:i}=m_();return{composableStrings:i,dismissed:e,notificationsStore:le(),notificationTitle:t,notifications:n,notificationsCount:r}},components:{CoreNotificationCards:Cv,SvgClose:Dv},data(){return{maxNotifications:2**53-1,currentPage:0,totalPages:1,strings:Wo(this.composableStrings,{dismissedNotifications:L(`Dismissed Notifications`,Ov),dismissAll:L(`Dismiss All`,Ov)})}},watch:{"notificationsStore.showNotifications"(e){e?(this.currentPage=0,this.setMaxNotifications(),this.addBodyClass()):this.removeBodyClass()},dismissed(){this.setMaxNotifications()},notifications(){this.setMaxNotifications()}},computed:{filteredNotifications(){return[...this.notifications].splice(this.currentPage===0?0:this.currentPage*this.maxNotifications,this.maxNotifications)},pages(){if(typeof this.totalPages!=`number`||!isFinite(this.totalPages)||0>=this.totalPages)return 1;let e=[];for(let t=0;t<this.totalPages;t++)e.push({number:t+1});return e}},methods:{escapeListener(e){e.key===`Escape`&&this.notificationsStore.showNotifications&&this.notificationsStore.toggleNotifications()},addBodyClass(){document.body.classList.add(`aioseo-show-notifications`)},removeBodyClass(){document.body.classList.remove(`aioseo-show-notifications`)},documentClick(e){if(!this.notificationsStore.showNotifications)return;let t=e&&e.target?e.target:null,n=document.querySelector(`#wp-admin-bar-aioseo-notifications`);if(n&&(n===t||n.contains(t)))return;let r=document.querySelector(`#toplevel_page_aioseo .wp-first-item`),i=document.querySelector(`#toplevel_page_aioseo .wp-first-item .aioseo-menu-notification-indicator`);if(r&&r.contains(i)&&(r===t||r.contains(t)))return;let a=this.$refs[`aioseo-notifications`];(!a||a!==t&&!a.contains(t))&&this.notificationsStore.toggleNotifications()},notificationsLinkClick(e){e.preventDefault(),this.notificationsStore.toggleNotifications()},processDismissAllNotifications(){let e=[];this.notifications.forEach(t=>{e.push(t.slug)}),this.notificationsStore.dismissNotifications(e).then(()=>{this.setMaxNotifications()})},setMaxNotifications(){let e=this.currentPage;this.currentPage=0,this.totalPages=1,this.maxNotifications=2**53-1,this.$nextTick(async()=>{let t=Array.from(document.querySelectorAll(`.notification-menu .aioseo-notification`)).map(e=>{let t=window.getComputedStyle?getComputedStyle(e,null):e.currentStyle,n=parseInt(t.marginTop)||0,r=parseInt(t.marginBottom)||0;return e.offsetHeight+n+r}),n=document.querySelector(`.notification-menu .aioseo-notification-cards`);if(n&&0<t.length){let e=0,r=0;for(let i of t){if(r+=i,r>n.offsetHeight)break;e++}this.maxNotifications=e||1,isFinite(e)&&0<e&&(this.totalPages=Math.ceil(t.length/e))}this.currentPage=e>this.totalPages-1?this.totalPages-1:e})}},mounted(){document.addEventListener(`keydown`,this.escapeListener),document.addEventListener(`mousedown`,this.documentClick);let e=document.querySelector(`#wp-admin-bar-aioseo-notifications .ab-item`);e&&e.addEventListener(`mousedown`,this.notificationsLinkClick);let t=document.querySelector(`#toplevel_page_aioseo .wp-first-item`),n=document.querySelector(`#toplevel_page_aioseo .wp-first-item .aioseo-menu-notification-indicator`);t&&n&&t.addEventListener(`mousedown`,this.notificationsLinkClick)}},Av={class:`aioseo-notifications`,ref:`aioseo-notifications`},jv={key:0,class:`notification-menu`},Mv={class:`notification-header`},Nv={class:`new-notifications`},Pv={class:`dismissed-notifications`},Fv={key:0,class:`notification-footer`},Iv={class:`pagination`},Lv=[`onClick`],Rv={key:0,class:`dismiss-all`};function zv(e,t,r,i,a,o){let s=u(`svg-close`),c=u(`core-notification-cards`);return b(),O(`div`,Av,[P(ye,{name:`notifications-slide`},{default:p(()=>[i.notificationsStore.showNotifications?(b(),O(`div`,jv,[D(`div`,Mv,[D(`span`,Nv,`(`+F(i.notificationsCount)+`) `+F(i.notificationTitle),1),D(`div`,Pv,[!i.dismissed&&i.notificationsStore.dismissedNotificationsCount?(b(),O(`a`,{key:0,href:`#`,onClick:t[0]||=_e(e=>i.dismissed=!0,[`stop`,`prevent`])},F(a.strings.dismissedNotifications),1)):I(``,!0),i.dismissed&&i.notificationsStore.dismissedNotificationsCount?(b(),O(`a`,{key:1,href:`#`,onClick:t[1]||=_e(e=>i.dismissed=!1,[`stop`,`prevent`])},F(a.strings.activeNotifications),1)):I(``,!0)]),D(`div`,{onClick:t[2]||=_e((...e)=>i.notificationsStore.toggleNotifications&&i.notificationsStore.toggleNotifications(...e),[`stop`])},[P(s)])]),P(c,{class:`notification-cards`,notifications:o.filteredNotifications,dismissedCount:i.notificationsStore.dismissedNotificationsCount,onToggleDismissed:t[3]||=e=>i.dismissed=!i.dismissed},null,8,[`notifications`,`dismissedCount`]),a.totalPages>1||!i.dismissed&&i.notifications.length?(b(),O(`div`,Fv,[D(`div`,Iv,[a.totalPages>1?(b(!0),O(de,{key:0},n(o.pages,(e,t)=>(b(),O(`div`,{class:S([`page-number`,{active:e.number===1+a.currentPage}]),key:t,onClick:_e(t=>a.currentPage=e.number-1,[`stop`])},F(e.number),11,Lv))),128)):I(``,!0)]),i.dismissed?I(``,!0):(b(),O(`div`,Rv,[i.notifications.length?(b(),O(`a`,{key:0,href:`#`,class:`dismiss`,onClick:t[4]||=_e((...e)=>o.processDismissAllNotifications&&o.processDismissAllNotifications(...e),[`stop`,`prevent`])},F(a.strings.dismissAll),1)):I(``,!0)]))])):I(``,!0)])):I(``,!0)]),_:1}),P(ye,{name:`notifications-fade`},{default:p(()=>[i.notificationsStore.showNotifications?(b(),O(`div`,{key:0,onClick:t[5]||=(...e)=>i.notificationsStore.toggleNotifications&&i.notificationsStore.toggleNotifications(...e),class:`overlay`})):I(``,!0)]),_:1})],512)}var Bv=j(kv,[[`render`,zv]]),Vv=`table-of-contents-plus`,Hv={setup(){let{processSaveChanges:e}=Te();return{allowed:we,notificationsStore:le(),processSaveChanges:e,rootStore:A()}},components:{BaseButton:xe,CoreHeader:Em,CoreMainTabs:f_,CoreNotifications:Bv,GridContainer:um},props:{showTabs:{type:Boolean,default(){return!0}},showSaveButton:{type:Boolean,default(){return!0}},excludeTabs:{type:Array,default(){return[]}}},data(){return{tabsKey:0,strings:{saveChanges:ie(`Save Changes`,Vv)}}},watch:{excludeTabs(){this.tabsKey+=1}},computed:{tabs(){return this.$router.options.routes.filter(e=>e.name&&e.meta&&e.meta.name).filter(e=>this.allowed(e.meta.access)).filter(e=>!this.excludeTabs.includes(e.name)).map(e=>({slug:e.name,name:e.meta.name,url:{name:e.name},access:e.meta.access,pro:!!e.meta.pro}))},shouldShowSaveButton(){if(this.$route?.name){let e=this.$router.options.routes.find(e=>e.name===this.$route.name);if(e&&e.meta&&e.meta.hideSaveButton)return!1}return this.showSaveButton}},mounted(){Se().notifications&&(this.notificationsStore.showNotifications||(this.notificationsStore.showNotifications=!this.notificationsStore.showNotifications),setTimeout(()=>{Ce(`notifications`)},500))}},Uv={class:`aioseo-main`},Wv={key:1,class:`save-changes`};function Gv(e,t,n,i,a,o){let s=u(`core-notifications`),c=u(`core-header`),l=u(`core-main-tabs`),d=u(`base-button`),f=u(`grid-container`);return b(),O(`div`,null,[P(s),D(`div`,Uv,[P(c),P(f,null,{default:p(()=>[n.showTabs?(b(),he(l,{key:a.tabsKey,tabs:o.tabs,showSaveButton:o.shouldShowSaveButton},null,8,[`tabs`,`showSaveButton`])):I(``,!0),P(ye,{name:`route-fade`,mode:`out-in`},{default:p(()=>[T(e.$slots,`default`)]),_:3}),o.shouldShowSaveButton?(b(),O(`div`,Wv,[P(d,{type:`blue`,size:`medium`,loading:i.rootStore.loading,onClick:i.processSaveChanges},{default:p(()=>[r(F(a.strings.saveChanges),1)]),_:1},8,[`loading`,`onClick`])])):I(``,!0)]),_:3})])])}var Kv=j(Hv,[[`render`,Gv]]);export{Am as a,x_ as i,Dv as n,T_ as r,Kv as t};