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.Bs2-bdpF.js";import{d as _e,l as ve,o as ye}from"./preload-helper.DLBjt9q7.js";import{a as be,i as L,o as R,r as xe}from"./translations.DhZsnMqj.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{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{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;du.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;dt)}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;pd.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;p0)for(var r=0;r{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{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){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`,t.childNodes&&t.childNodes.length&&(k+=`...`),k+=``,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,`"`)}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;nt.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=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{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=d?s.slice(l,l+d):s,f=[],p=0;p=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{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;A0?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-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{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;e0||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(` →`,Ht(e,t,r)):``;return R(`%2$s%3$s`,Ht(e,t,r),n,a)},Gt=(e,t,n=!1,r=!0)=>{let i=r?`target="_blank"`:`_self`,a=R(`%2$s`,t,e);return n===`back`?R(`← `,t)+a:n?a+R(` →`,t):a},Kt=(e,t,n=!1)=>{let r=n?R(` →`,Jt(`documentation`,t,Bt[t])):``;return R(`%2$s%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,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=bd(),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);++n0){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-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-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":`>`,'"':`"`,"'":`'`}),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(/ /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=``}e.value&&e.type&&e.type===`url`&&(t=`${t}`),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(/]*>([\S\s]*?)<\/script>/gim,``),$o=e=>typeof e!=`string`||!e.includes(`&`)?e:(Object.entries({"&":`&`,"<":`<`,">":`>`,""":`"`," ":` `}).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 1e.length)&&(t=e.length);for(var n=0,r=Array(t);n`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/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=``+e;else{let t=Gs(e,/^[\r\n\t ]+/);r=t&&t[0]}$e===`application/xhtml+xml`&&We===Ue&&(e=``+e+``);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=` `+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={'"':`"`,"&":`&`,"'":`'`,"<":`<`,">":`>`,"`":```},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=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(/>\u20D2/g,`>⃒`).replace(/<\u20D2/g,`<⃒`).replace(/fj/g,`fj`)),r&&(e=e.replace(l,function(e){return`&`+u[e]+`;`}))):r?(i||(e=e.replace(d,function(e){return`&`+u[e]+`;`})),e=e.replace(/>\u20D2/g,`>⃒`).replace(/<\u20D2/g,`<⃒`),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,`]+)?>`),$c(e,`\\[video( [^\\]]+?)?\\]`),$c(e,`]+)?>`),$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,`]+)?>`),$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>/g,`$1`).replaceAll(/()<\/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=()=>{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`)},rl=()=>{let e=/|\[object Object\]/gi;return Array.from(nl().querySelectorAll(`.et_pb_section`)).map(t=>t.innerHTML.replace(e,``).replaceAll(/()<\/p>/g,`$1`)).filter(e=>Jc(e)||Qc(e)||Zc(e)).join(` `)},il=``;document.addEventListener(`aioseo-pagebuilder-modal-state`,e=>{e.detail?.isOpen});var al=()=>document.querySelector(`iframe#et-vb-app-frame`)?.contentWindow,ol=()=>al()?.divi?.data,sl=e=>ol()?.select(`divi/page-settings`)?.getSetting(e),cl=e=>ol()?.select(`divi/settings`)?.getSetting(e),ll=()=>sl(`postImage`)||0,ul=()=>cl([`post`,`url`])||``,dl=()=>sl(`postTitle`)||``,fl=()=>sl(`postExcerpt`)||``,pl=()=>{try{let e=new URL(ul()).pathname.replace(/\/$/,``).split(`/`).pop();if(e)return e}catch{}return ys(dl())},ml=()=>ol()?.select(`divi/app-ui`)?.getView()===`wireframe`?il:rl(),hl=()=>ETBuilderBackendDynamic?.currentPage?.thumbnailId||0,gl=()=>ETBuilderBackendDynamic?.currentPage?.permalink,_l=()=>ETBuilderBackendDynamic?.postTitle||``,vl=()=>ETBuilderBackendDynamic?.postMeta?.post_excerpt||``,yl=()=>ETBuilderBackendDynamic?.postMeta?.post_name||ys(ETBuilderBackendDynamic?.postTitle||``),bl=5<=(parseInt(window.aioseo?.theme?.templateVersion,10)||0),xl=()=>bl?ll():hl(),Sl=()=>{let e=bl?ul():gl();try{let t=new URL(e);return t.searchParams.delete(`PageSpeed`),t.href}catch{return e||``}},Cl=()=>bl?dl():_l(),wl=()=>bl?fl():vl(),Tl=()=>bl?pl():yl(),El=async()=>{let{wp:e}=window,t=xl();if(!e||!t)return``;try{let n=e.media.attachment(t);n.get(`url`)||await n.fetch();let r=n.get(`url`);return!bl&&ETBuilderBackendDynamic?.currentPage&&(ETBuilderBackendDynamic.currentPage.thumbnailUrl=r),r}catch{return``}},Dl=()=>bl?ml():rl(),Ol=({includeFeaturedImage:e=!0}={})=>({content:Dl(),title:Cl(),excerpt:wl(),slug:Tl(),permalink:Sl(),...e&&{featuredImage:El()}}),kl=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},Al=()=>{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=kl(t);n&&(Jc(n)!==``||Qc(n)!==0||Zc(n)!==0)&&e.push(n.outerHTML)})})})}),e.join(` `)},jl=()=>`${ca(seedprod_data,`home_url`,``)}/${ca(seedprod_data,`settings.post_name`,``)}/`,Ml=()=>({content:Al(),title:ca(seedprod_data,`settings.post_title`,``),excerpt:``,slug:ca(seedprod_data,`settings.post_name`,``),permalink:jl()}),Nl=()=>Z().currentPost.processedContent,Pl=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||``},Fl=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||``},Il=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||``},Ll=()=>{let{vc_mode:e}=window,t=Fl(e)||ys(Pl(e));return{content:Nl(),title:Pl(e),excerpt:``,slug:t,permalink:Il(e),featuredImage:``}},Rl=()=>Z().currentPost?.processedContent||``,zl=()=>{let{FusionApp:e}=window;return e?.getPost(`post_title`)||document.getElementById(`#title`)?.value||``},Bl=()=>{let{FusionApp:e}=window;return e?.getPost(`post_name`)||document.querySelector(`#post_name`)?.value||``},Vl=()=>{let{FusionApp:e}=window,t=e?.getPost(`post_permalink`);return(typeof t==`string`?t.replace(`?fb-edit=1`,``):``)||document.querySelector(`#sample-permalink a`)?.href||``},Hl=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`)||``},Ul=()=>({content:Rl(),title:zl(),excerpt:``,slug:Bl(),permalink:Vl(),featuredImage:Hl()}),Wl=()=>{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},Gl=()=>({content:Wl(),title:``,excerpt:``,slug:``,permalink:``,featuredImage:``}),Kl=()=>TVE?.Editor_Page?.content_manager?.get_clean_content()||``,ql=()=>TVE?.CONST?.post?.post_title||``,Jl=()=>TVE?.CONST?.post?.post_name||``,Yl=()=>TVE?.CONST?.post_url||``,Xl=()=>{let e=TVE?.CONST?.theme?.post_featured_image?.src||TVE?.CONST?.post_image?.featured||``;return e.includes(`inc/assets/images/featured_image.png`)?``:e},Zl=()=>({content:Kl(),title:ql(),excerpt:``,slug:Jl()||ys(ql()),permalink:Yl(),featuredImage:Xl()}),Ql=()=>{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*`]})},$l=()=>window.bricksData?.wp?.post?.title||``,eu=()=>{try{let e=new URL(window.bricksData?.previewUrl||``);return e.origin+e.pathname}catch{return``}},tu=()=>{try{let e=new URL(window.bricksData?.previewUrl||``).pathname.replace(/\/$/,``).split(`/`);return e[e.length-1]}catch{return``}},nu=()=>jd().tags.find(e=>e.id===`post_excerpt`)?.value||``,ru=async()=>{let e=window.bricksData?.featuredImage?.url||``;try{return new URL(e),e}catch{return``}},iu=()=>({content:Ql(),title:$l(),excerpt:nu(),slug:tu(),permalink:eu(),featuredImage:ru()}),au=()=>Z().currentPost?.processedContent||``,ou=()=>jd().tags.find(e=>e.id===`post_title`)?.value||``,su=()=>jd().tags.find(e=>e.id===`permalink`)?.value||``,cu=()=>{try{let e=new URL(su()).pathname.replace(/\/$/,``).split(`/`);return e[e.length-1]}catch{return``}},lu=()=>jd().tags.find(e=>e.id===`post_excerpt`)?.value||``,uu=async()=>``,du=()=>({content:au(),title:ou(),excerpt:lu(),slug:cu(),permalink:su(),featuredImage:uu()}),fu=/base64,(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)/g,pu=[`acf`,`aioseo`,`core`],mu=()=>{let e=[{isEditor:ss,getData:tl},{isEditor:cs,getData:Ol},{isEditor:ls,getData:Ml},{isEditor:us,getData:Ll},{isEditor:ds,getData:Ul},{isEditor:ps,getData:Gl},{isEditor:fs,getData:Zl},{isEditor:ms,getData:iu},{isEditor:hs,getData:du}];for(let t of e)if(t.isEditor())return t.getData()?.content??``;return``},hu=e=>{if(!e.includes(``,n.content.raw))}}),e},gu=(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=`.*?|`;e=e.replace(new RegExp(o,`s`),t.innerText)}}}),e),_u=()=>{let e=jd();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=yu();else{let e=window.setInterval(()=>{window.tinyMCE&&(window.clearInterval(e),t=yu())},50)}}return is()&&(t=window.wp.data.select(`core/editor`).getCurrentPost().content||``,t=hu(t),t=gu(t,pu)),gs()&&(t=mu()),Z().currentPost.descriptionIncludeCustomFields&&(t+=Xo()),t=t.replace(fu,``),t&&e.updatePostContent(t),t},vu=(e=!1)=>{let t=``;if(as()&&!gs()){if(window.tinyMCE||document.querySelector(`#wp-content-wrap.html-active`))t=yu();else{let e=window.setInterval(()=>{window.tinyMCE&&(window.clearInterval(e),t=yu())},50)}}is()&&(t=window.wp.data.select(`core/editor`).getEditedPostContent(),t=hu(t),t=gu(t,pu)),gs()&&(t=mu());let n=Z();return!e&&n.currentPost.descriptionIncludeCustomFields&&(t+=Xo()),t=t.replace(fu,``),t},yu=()=>{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 bu={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`,xu={titles:10,descriptions:10,socialPosts:10,keyPoints:10,faqs:10,schemas:25,aiAssistant:50,imageAltText:10,imageGenerator:250,truseoSuggest:5,truseoSpelling:5,truseoOptimizePost:25},Su=e=>typeof e!=`object`||!e?[e===``?NaN:Number(e)]:Object.values(e).flatMap(Su),Cu=e=>{let t=Su((X().internalOptions?.internal?.ai?.costPerFeature||{})[e]).filter(Number.isFinite);return t.length?Math.min(...t):xu[e]??10},wu=()=>{let e=Du(),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 1n?`portrait`:`square`},d=()=>vu().replace(/<\/?[a-z][^>]*?>/gi,``).replace(//g,``).trim().length;return{audienceOptions:a,getAspectRatioFromDimensions:u,getFeatureCost:Cu,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(bu.learnMore,`aiDisclaimer`,!0)),alertDescription:R(L(`You can manage your default settings under AI Suite > AI Content.`,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||xu.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:20t.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=Du();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}=wu();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 Tu=()=>{let e=[{isEditor:ss,getData:tl},{isEditor:cs,getData:Ol},{isEditor:ls,getData:Ml},{isEditor:us,getData:Ll},{isEditor:ds,getData:Ul},{isEditor:ps,getData:Gl},{isEditor:fs,getData:Zl},{isEditor:ms,getData:iu},{isEditor:hs,getData:du}];for(let t of e)if(t.isEditor())return t.getData()?.permalink??``;return``},Eu=()=>{let e=jd();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||=Tu(),t&&e.updatePermalink(t),t},Du=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=bd();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:vu(),permalink:Eu(),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:vu(),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:vu(),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`,Ou=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=>0Kc(e)).join(`
`):``,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?`${Kc(t.title)}`:Kc(t.title)).join(`
`),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`,ku=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(`
`),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(`
`),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}}},Au=`table-of-contents-plus`,ju=new class{get requests(){return{requests:{title:L(`Assets loaded`,Au),text:e=>R(be(`%1$d asset is loaded on the page.`,`%1$d assets are loaded on the page.`,e?.length,Au),e?.length),tooltip:L(`Assets are resources like images, stylesheets and scripts.`,Au)}}}get strings(){return{...this.requests}}},Mu=new class{get basic(){return Ou.strings}get advanced(){return ku.strings}get performance(){return ju.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`,Nu=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)+`

`+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)+`

`+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(`
`),message:L(`WordPress sites usually insert the page or post title as an H1 tag (although custom themes can change this behavior).`,Y)+`

`+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)+`

`+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)+`

`+L(`A good headline stimulates reader interest and offers a compelling reason to read your content. It promises a believable benefit.`,Y)+`

`+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(`
`),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)+`

`+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)+`

`+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)+`

`+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+`
`+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)+`

`+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 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)+`

`+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)+`

`+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)+`

`+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)+`

`+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(`
`):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)+`

`+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)+`

`+L(`We recommend tracking down where the un-minified JavaScript files come from`,Y)+`

`+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)+`

`+L(`We recommend tracking down where the un-minified CSS files come from.`,Y)+`

`+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+`
`+L(`JavaScript:`,Y)+` `+e.value.js+`
`+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)+`

`+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)+`

`+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)+`

`+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)+`

`+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(`
`):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)+`

`+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}},Pu=`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=Nu,r.results=e.homeResults.results;break;case`site`:r.factory=Mu,r.results=e.issuesResults.auditItems;break;case`competitor`:r.factory=Nu,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.`,Pu)})},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.`,Pu)})},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))},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=Vu();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=Vu(),t=bd();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=wd();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=bd();return t.hasSiteAnalysisConnectToken=!0,H.post(V.restUrl(`connect`)).send({token:e})}}});var Fu=()=>{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):{}}},Iu=z(`DirtyOptionsStore`,{state:()=>({disabled:[],options:{},dynamicOptions:{},networkOptions:{},redirectOptions:{},indexNowOptions:{}}),getters:{isDirty:e=>{let t=Fu(),n=Lu(),r=X(),i=ed(),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:{...Fu().actions}});z(`HelpPanelStore`,{state:()=>({categories:{},docs:{}})});var Lu=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,Iu().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,Iu().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=yd();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 Ru=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 yd().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=yd();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=Cd();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})}}}),zu=`table-of-contents-plus`,Bu=()=>{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`,zu),n.classList.add(`aioseo-menu-highlight`),n.classList.add(`green`),t.appendChild(n),t},Vu=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=Gu(),n=X(),r=Q(),i=bd(),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=Gu(),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=Gu(),t=X(),n=Q(),r=bd();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=Bu();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=Bu();e.appendChild(n),t.appendChild(e)}}}}),Hu=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}){if(this.skipNextPostSettingsUpdate){this.skipNextPostSettingsUpdate=!1;return}let n=Z();return window.aioseoBus.$emit(`updatingLinks`,!0),H.post(V.restUrl(`link-assistant/post-settings/update`)).send({postId:n.currentPost.id,postContent:e}).then(e=>{if(e.body?.links){let t=n.currentPost;t.linkAssistant.links=e.body.links,n.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 Uu=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=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)}}}),Wu=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()}}},Gu=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,Wu(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=Iu(),t=Lu(),n=Hu(),r=Gu(),i=ed(),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=Iu(),t=Uu(),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 Ku=[`introductionKeyword`,`keyphraseLength`,`keyphraseDensity`,`keyphraseDistribution`,`keywordCannibalization`,`metaDescriptionKeyword`,`subheadingsKeyword`,`textCompetingLinks`,`imageKeyphrase`,`keyphraseInSEOTitle`,`keyphraseInTermName`,`slugKeyword`,`functionWordsInKeyphrase`];function qu(e,t=new Set){return{basic:Ju(e,t),readability:Yu(e,t),spelling:Xu(e,t)}}function Ju(e,t=new Set){return Zu([`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 Yu(e,t=new Set){return Zu([`textParagraphTooLong`,`passiveVoice`,`sentenceBeginnings`,`textSentenceLength`,`subheadingsTooLong`,`textAlignment`,`textPresence`,`textTransitionWords`,`wordComplexity`],e,t)}function Xu(e,t=new Set){return Zu([`spellingChecker`],e,t)}function Zu(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 Qu=null,$u=e=>{let t=new Set([`modalOpen`,`seo_score`,`page_analysis`,`truseo`,`additional_keywords`,`headlineAnalyzer`,`loading`,`score`,`analysis`,`ai`,`highlightingEnabled`]);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(Ku);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?qu(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;Qu===null&&(Qu=$u(this.currentPost)),Qu!==$u(this.currentPost)&&(this.isDirty=!0,Qu=$u(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})}}}),ed=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,Iu().updateOriginalOptions(`redirectOptions`,this.options))})},testServerRedirects(){if(!Ko(`aioseo_redirects_manage`))return Promise.resolve();let e=Gu();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(Ku);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?qu(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`,td=void 0,nd=()=>{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=jd(),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.`,td)),n},initSchemaEditor:e=>{let t=od(),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}}},rd=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),id=`\\p{L}\\p{N}\\p{M}_`,ad=e=>`(?({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{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.graphNamee.graphName{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(rd(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.graphNamee.graphNamee.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(rd(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.graphNamee.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{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{let e=A();return(e.aioseo?.user?.locale||e.aioseoBrokenLinkChecker?.user?.locale||`en-US`).replace(`_`,`-`)},cd={d:e=>gd(e.getDate()),D:e=>ld(e).substr(0,3),j:e=>e.getDate(),l:e=>ld(e),N:e=>e.getDay()||7,S:e=>fd(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=>pd(e)[1],F:e=>ud(e),m:e=>gd(e.getMonth()+1),M:e=>ud(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=>pd(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=>gd(e.getHours()%12||12),H:e=>gd(e.getHours()),i:e=>gd(e.getMinutes()),s:e=>gd(e.getSeconds()),u:()=>`000000`,v:e=>_d(e.getMilliseconds()),e:()=>0,I:e=>e.getTimezoneOffset()===dd(e)[0]?0:1,O:e=>hd(-e.getTimezoneOffset(),!1),P:e=>hd(-e.getTimezoneOffset(),!0),T:e=>e.toLocaleString(`en`,{year:`numeric`,timeZoneName:`long`}).replace(/[^A-Z]/g,``),Z:e=>e.getTimezoneOffset()*-60,c:e=>vd(e,`Y-m-d\\TH:i:sP`),r:e=>vd(e,`D, d M Y H:i:s O`),U:e=>e.getTime()/1e3|0},ld=e=>e.toLocaleString(sd(),{weekday:`long`}),ud=e=>e.toLocaleString(sd(),{month:`long`}),dd=e=>{let t=e.getFullYear(),n=[0,2,5,9].map(e=>new Date(t,e).getTimezoneOffset());return[Math.max(...n),Math.min(...n)]},fd=e=>(e%=100,(10>e||13{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]},md=e=>Object.prototype.toString.call(e)===`[object Date]`,hd=(e,t)=>{let n=0>e?`-`:`+`;e=Math.abs(e);let r=gd(e/60|0),i=gd(e%60);return n+r+(t?`:`:``)+i},gd=e=>(10>e?`0`:``)+e,_d=e=>(10>e?`00`:100>e?`0`:``)+e,vd=(e,t)=>{if(!(!md(e)||typeof t!=`string`))return t.split(``).reduce((t,n,r,i)=>(n===`\\`?t+=i.splice(r+1,1):n in cd?t+=cd[n](e):t+=n,t),``)},yd=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=Ru();this.range={start:vd(e.dateRange[0],`Y-m-d`),end:vd(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}}}),bd=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{let t=e.find(e=>0{if(!xd([...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=od(),t=rs((Sd(hp()?.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 0e).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 Cd=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(()=>{})},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(()=>{})}}}),wd=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=Iu(),n=X();n.options=e.body.options,t.updateOriginalOptions(`options`,e.body.options)}})},loadState(e){Object.keys(e).forEach(t=>{this[t]=e[t]})}}}),Td=`table-of-contents-plus`,Ed=12e3,Dd=250,Od=2e3,kd=3,Ad=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(nwindow.setTimeout(e,Od)).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.`,Td));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/Ed),r=1-(1-n)**2,i=Math.round(5+85*r);i>this.percent&&(this.percent=i),1<=n&&this._stopFakeProgress()},Dd)},_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)}}}),jd=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=Vu();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 Md=(e,t=0)=>{let n=3735928559^t,r=1103547991^t;for(let t=0;t>>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)},Nd=null,Pd=null,Fd=null;function Id(){return Nd}async function Ld(){if(typeof Fd!=`function`)return null;try{return await Fd()}catch(e){return console.error(`TruSEO analysis run failed:`,e),null}}async function Rd(e){return[]}async function zd(e){return!0}async function Bd(){if(typeof Pd==`function`)try{await Pd()}catch(e){console.error(`TruSEO analysis refresh failed:`,e)}}async function Vd(e,t=!1){return!1}var Hd=`aioseo/tru-seo-highlights`,Ud=`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`,Ud),passiveVoice:L(`Passive voice`,Ud),sentenceBeginnings:L(`Repeated sentence starts`,Ud),spellingChecker:L(`Spelling`,Ud),textSentenceLength:L(`Sentence length`,Ud),subheadingsTooLong:L(`Subheading distribution`,Ud),textAlignment:L(`Text alignment`,Ud),textPresence:L(`Content length`,Ud),textTransitionWords:L(`Transition words`,Ud),wordComplexity:L(`Word complexity`,Ud)});var Wd=Object.freeze({textParagraphTooLong:L(`Long paragraphs look dense on screen. Splitting them into shorter ones makes your content easier to read.`,Ud),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.`,Ud),sentenceBeginnings:L(`Starting several sentences in a row with the same word reads as repetitive. Varying your openings keeps the writing engaging.`,Ud),textSentenceLength:L(`Long sentences are harder to follow. Breaking them into shorter ones makes your content easier to read and scan.`,Ud),subheadingsTooLong:L(`Long stretches of text without a subheading are hard to skim. Add subheadings to break big sections into smaller ones.`,Ud),textAlignment:L(`Large blocks of centered or justified text are harder to read. Left-aligned text is easiest for most readers.`,Ud),textPresence:L(`Search engines need enough text to understand your page. Add more content so your topic comes through clearly.`,Ud),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.`,Ud),wordComplexity:L(`Long or unusual words slow readers down. Where you can, swap them for simpler alternatives to keep your content accessible.`,Ud),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.`,Ud),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.`,Ud),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.`,Ud)});function Gd(e){return Wd[e]||``}var Kd=()=>{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{}},qd=e=>e?.attributes?.caption?`caption`:e?.attributes?.value?`value`:e?.attributes?.citation?`citation`:`content`,Jd=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(/]*>/gi,` `),Yo(Yc(t,!1))}catch{return``}},Yd=(e,t)=>{if(!e||!t)return null;let n=!t.includes(` `),r=n?ad(t):rd(t),i=new RegExp(r,n?`u`:``).exec(e);return i?{start:i.index,end:i.index+i[0].length||1}:null},Xd=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=Yd(Jd(e),n.sentence);r&&(n.range=r)}},Zd=e=>{if(!window?.wp?.data?.dispatch)return;let t=window.wp.data.dispatch(Hd);t.clearAll();let n={};for(let t of e){if(!t.block||t.block.name===`core/freeform`)continue;let e=qd(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 Qd(e,t){if(!e||!t)return t;if(1{for(let r of e){let e=tf[r.name];if(e){let n=nf(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 af(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 of=1e3;function sf(e){let t=qd(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:nf(r)}function cf(e,t){let n=new RegExp(ad(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||``).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=sf(n);if(e)for(let n of t){if(r.has(n))continue;let t=cf(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 uf(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)$d(n.clientId,e,i)&&r.add(e);n.innerBlocks?.length&&i(n.innerBlocks)}};return i(n),r.size}var df=function(e){return 7>e},ff=({separator:e})=>{let t=M(e);return{parseTags:e=>{let n=jd();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))},separator:t}},pf=e=>String(e||``).toLowerCase().split(/[-_]/)[0],mf=e=>pf(e)===`en`,hf=e=>e!==`product`,gf=()=>Z().currentPost?.truseo_locale||window.aioseo?.spellChecker?.userLocale||window.aioseo?.user?.locale||`en_US`,_f=()=>{let e=X(),t=Z();return!!e.options.advanced.headlineAnalyzer&&(is()||as()||os())&&mf(gf())&&hf(t.currentPost?.postType)},vf=e=>zt.default.agent().set(`X-WP-Nonce`,e).use(e=>{e.on(`response`,e=>{(e.status===401||e.status===403)&&console.error(e)})}),yf=e=>e.replace(/^\//,``),bf=e=>e.replace(/\/$/,``),xf=e=>bf(e)+`/`,Sf=e=>{let t=Q();return e=t.aioseo.data.hasUrlTrailingSlash?xf(e):bf(e),xf(t.aioseo.urls.restUrl)+xf(`aioseo/v1`)+yf(e)},Cf=()=>{let e=[{isEditor:ss,getData:tl},{isEditor:cs,getData:Ol},{isEditor:ls,getData:Ml},{isEditor:us,getData:Ll},{isEditor:ds,getData:Ul},{isEditor:ps,getData:Gl},{isEditor:fs,getData:Zl},{isEditor:ms,getData:iu},{isEditor:hs,getData:du}];for(let t of e)if(t.isEditor())return t.getData()?.title??``;return``},wf=()=>{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||=Cf(),e},Tf,Ef=(e,t)=>((...n)=>{clearTimeout(Tf),Tf=setTimeout(()=>e(...n),t)}).call(),Df=async(e=null)=>{let t=e||wf();return t=Wc((t||``).trim()),t?vf(window.aioseo.nonce).post(Sf(`analyze-headline`)).send({headline:t,shouldStoreHeadline:!1}).then(e=>({data:e.body,headline:t})).catch(e=>({error:e.response.body?.message})):null};async function Of(){if(!_f())return;let e=Z(),t=await Df();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 kf=M(!1),Af=M(null),jf=!1,Mf=()=>{let e=Z(),t=k(()=>_f());return{ensureHeadlineScore:()=>{if(jf||!t.value||(jf=!0,Of(),!as()&&!os()))return;let n=document.querySelector(`#post input#title`);n&&n.addEventListener(`input`,()=>{Ef(()=>{e.currentPost?.headlineAnalyzer?.newData&&e.toggleShowNewHeadlineAnalyzerPreview(!1),e.currentPost?.headlineAnalyzer?.showNewData&&e.toggleShowNewHeadlineAnalyzerData(!1),Of()},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:kf,headlineSelection:Af,openHeadlineAnalyzer:()=>{kf.value=!0},closeHeadlineAnalyzer:()=>{kf.value=!1},selectHeadline:e=>{Af.value={headline:e}}}},Nf=`table-of-contents-plus`,Pf=[`passiveVoice`,`textSentenceLength`,`textParagraphTooLong`,`sentenceBeginnings`,`textTransitionWords`,`wordComplexity`,`textCompetingLinks`,`keyphraseDistribution`,`keyphraseDensity`],Ff={passiveVoice:`sentence`,textSentenceLength:`sentence`,textParagraphTooLong:`paragraph`,sentenceBeginnings:`sentence`,textTransitionWords:`sentence`,wordComplexity:`word`,textCompetingLinks:`anchor`,keyphraseDistribution:`sentence`,keyphraseDensity:`sentence`},If=1500,Lf=e=>{if(!e)return``;let t=e.parent?.textContent?Yo(e.parent.textContent).trim():``;if(!t||t===e.sentence)return``;if(t.length<=If)return t;let n=t.indexOf(e.sentence);if(n===-1)return t.slice(0,If)+`…`;let r=Math.max(0,n-Math.floor(If/2)),i=Math.min(t.length,r+If),a=t.slice(r,i);return 0{let t=e?.keyphraseDensity;return t&&-10>=t.score?`over`:`under`},zf=e=>{let t=Z().currentPost?.truseo?.general||{};return e?.analyzer===`keyphraseDensity`?{direction:Rf(t)}:{}},Bf=(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:Ff[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:Lf(e),metadata:zf(e)}))}},Vf=[`sentenceBeginnings`,`textTransitionWords`],Hf=e=>{if(!e?.analyzer||!e?.id)return null;let t=Z(),n=X();return Md([e.analyzer,Ff[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(zf(e)),Vf.includes(e.analyzer)?Lf(e):``].join(``)).toString(36)},Uf=e=>e?.block?.clientId||``,Wf=(e,t,n)=>`${e||``}\x1f${t||``}\x1f${n||``}`,Gf=(e,t)=>{if(!t?.analyzer)return null;let n=Hf(t);if(n&&e[n])return e[n];let r=Wf(t.analyzer,t.sentence,Uf(t));return Object.values(e).find(e=>e&&Wf(e.analyzer,e.sentence,e.block)===r)||null},Kf=e=>e?e.analyzer===`spellingChecker`?`w:${(e.sentence||``).toLowerCase()}`:`id:${e.id}`:null,qf=e=>e?e.analyzer===`spellingChecker`?`w:${(e.sentence||``).toLowerCase()}`:`a:${e.analyzer}|b:${e.block?.clientId||``}|s:${e.sentence||``}`:null,Jf=(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=Kf(e);return!r.has(t)&&(r.add(t),!0)})},Yf=e=>{let t=new Map;return e?.allResults?.forEach&&e.allResults.forEach((e,n)=>{e?.title&&df(e.score)&&t.set(n,e.title)}),t},Xf=e=>(e?.allResults?.get?.(`spellingChecker`)?.highlightSentences||[]).map(e=>(e||``).trim()).filter(Boolean),Zf=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},Qf=null,$f=null,ep=600,tp=4e3,np=()=>{Qf&&=(clearTimeout(Qf),null),$f&&=(clearTimeout($f),null)},rp=()=>window.aioseo?.currentPost?.context===`term`;z(`TruSeoHighlighterStore`,{state:()=>({allowHighlighting:!0,enabled:!rp(),highlightingEnabled:!rp()&&(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 Cu(`truseoOptimizePost`)+(this.optimizeIncludesSpelling?Cu(`truseoSpelling`):0)},availableHighlightAnalyzers(){let e=Z().truseoData?.truseo?.general||{},t={...e.readability,...e.spelling};return Object.entries(t).filter(([,e])=>e?.title&&df(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||!df(r.score))continue;let i=r.highlightSentences.flat().map(e=>(e=e.replace(/&[a-zA-Z0-9#]{2,};$/,``),e=e.replace(/]*>/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?Gd(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 Hf(this.hoveredMark)},hoveredMarkAiSuggestions(){return Gf(this.aiSuggestionsCache,this.hoveredMark)?.suggestions||[]},hoveredMarkHasCachedAiSuggestions(){return!!Gf(this.aiSuggestionsCache,this.hoveredMark)},aiSuggestionsLoading(){let e=this.hoveredMarkAiCacheKey;return!!e&&!!this.aiSuggestionsLoadingKeys[e]},hoveredMarkSiblings(){return Jf(this.highlightMarks,this.hoveredMark)},hoveredMarkPosition(){let e=this.hoveredMarkSiblings;if(!e.length)return{index:-1,total:0};let t=Kf(this.hoveredMark);return{index:e.findIndex(e=>Kf(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&&qf(t)===e);if(t)return t.id}return null},hasPreviousHoveredSibling(){return 0Kf(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=Jf(this.highlightMarks,e);if(2>t.length)return[];let n=Kf(e),r=t.findIndex(e=>Kf(e)===n);if(r===-1)return[];let i=t.slice(r+1),a=t.slice(0,r).reverse();return[...i,...a].map(qf)},armAdvance(e){np(),this.advanceToKeys=Array.isArray(e)?e:e?[e]:[],this.advanceReady=!1,this.advanceToKeys.length&&(Qf=setTimeout(()=>{Qf=null,this.advanceToKeys.length&&!this.advanceReady&&(this.advanceReady=!0)},ep),$f=setTimeout(()=>{$f=null,this.cancelAdvance()},tp))},resolveAdvance(e){np(),this.advanceToKeys=[],this.advanceReady=!1,this.hoveredMarkId=e,this.markNavigationSeq++},cancelAdvance(){np(),this.advanceToKeys=[],this.advanceReady=!1},requestPopoverHide(){this.popoverHideSeq++},pruneMarksForIssue(e){if(!e)return;let t=e.analyzer!==`spellingChecker`,n=Uf(e);this.highlightMarks=this.highlightMarks.filter(r=>r.analyzer!==e.analyzer||r.sentence!==e.sentence||t&&Uf(r)!==n),Xd(this.highlightMarks),Zd(this.highlightMarks)},dismissAfterFix(e){np(),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=>Pf.includes(e.analyzer)).map(e=>Wf(e.analyzer,e.sentence,Uf(e))));for(let[e,n]of Object.entries(this.aiSuggestionsCache))(!n||!t.has(Wf(n.analyzer,n.sentence,n.block)))&&delete this.aiSuggestionsCache[e]},removeAiSuggestionsForMark(e){if(!e?.analyzer)return;let t=Wf(e.analyzer,e.sentence,Uf(e));for(let[e,n]of Object.entries(this.aiSuggestionsCache))n&&Wf(n.analyzer,n.sentence,n.block)===t&&delete this.aiSuggestionsCache[e]},isSpellingWorkerReady(){return!!Id()},async fetchSpellingSuggestions(e){if(!e||e in this.suggestionsCache)return;this.suggestionsLoadingFor=e;let[t]=await Promise.all([Rd(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||!Pf.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&&!Gf(this.aiSuggestionsCache,t));if(!r){let e=i.findIndex(e=>e.id===this.hoveredMarkId);0Hf(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=Bf(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[Hf(e)]={analyzer:e.analyzer,sentence:e.sentence,block:Uf(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.`,Nf)}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.`,Nf)}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 Ld();if(this.optimizeResult!==n)return;let i=r?.seoScore;typeof i==`number`&&(n.score={...n.score,after:i})},async optimizePost(){if(this.optimizingPost||!ef())return;let e=Z(),t=X(),{parseTags:n}=ff({separator:void 0}),r=rf();if(!r.length){this.optimizePostError=L(`Add some content to this post before optimizing.`,Nf);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=Zf(r),l=window.wp?.data?.select?.(`core/block-editor`)?.getBlocks?.();this.optimizeOriginalBlocks=Array.isArray(l)?y(l):null;let{headlineAnalyzerEnabled:u}=Mf(),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 Ld(),_=g?.seoScore??(e.currentPost?.seo_score||0),v=Yf(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=af(n.body.content);await Bd();let y=null;if(i){this.optimizePhase=`spelling`;try{y=await this.runSpellingPass(h.locale,h.options)}catch{}}let b=await Ld(),x=b?.seoScore??(e.currentPost?.seo_score||0),S=Zf(rf());if(y){let e=Xf(g),t=Xf(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||!df(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({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.`,Nf),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.`,Nf),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 Ad().isLocaleSpellCheckable(e)},async runSpellingPass(e,t){let n={fixed:0,addedToDictionary:[]},r=Z(),i=X(),a=(await Ld())?.allResults?.get?.(`spellingChecker`),o=[...new Set((a?.highlightSentences||[]).map(e=>(e||``).trim()).filter(Boolean))];if(!o.length)return n;let s=lf(o);if(!s.length)return n;let c=await Promise.all(s.map(e=>Rd(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=>zd((e.correction||``).trim()))),m=f.filter((e,t)=>p[t]);if(!m.length&&!d.length)return n;uf(m);let h=await this.addSafeWordsBatch(d);return h.length||await Bd(),{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 Vd(r),this.invalidateSpellingSuggestions(r),n.push(r)}catch{}return n.length&&await Bd(),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 Vd(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 Ld()},async reanalyzeNow(){await Ld()},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)),0e.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 ip={servings:1,calories:``},ap={preparation:``,cooking:``},op={minimum:1,maximum:5},sp={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(ip),timeRequired:JSON.stringify(ap),rating:JSON.stringify(op),reviews:JSON.stringify([sp]),instructions:[]})});var cp={sku:``,gtin:``,mpn:``,isbn:``},lp={price:``,currency:``,availability:``,validUntil:``},up={gender:`Unisex`,minimumAge:``,maximumAge:``},dp={minimum:1,maximum:5},fp={headline:``,content:``,author:``},pp={material:``,color:``,pattern:``,size:``,energyRating:``},mp={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(cp),offer:JSON.stringify(lp),attributes:JSON.stringify(pp),audience:JSON.stringify(up),rating:JSON.stringify(dp),reviews:JSON.stringify([fp]),shippingDestinations:JSON.stringify([mp])})});var hp=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 gp(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 _p=55,vp=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 _p{let e=[{isEditor:ss,getData:tl},{isEditor:cs,getData:Ol},{isEditor:ls,getData:Ml},{isEditor:us,getData:Ll},{isEditor:ds,getData:Ul},{isEditor:ps,getData:Gl},{isEditor:fs,getData:Zl},{isEditor:ms,getData:iu},{isEditor:hs,getData:du}];for(let t of e)if(t.isEditor())return t.getData()?.excerpt??``;return``},bp=()=>{let e=jd();if(e.liveTags.post_excerpt)return e.liveTags.post_excerpt;let t;return(as()||os())&&(t=xp()),is()&&(t=window.wp.data.select(`core/editor`).getCurrentPost().excerpt),t||=yp(),t||=vp(_u()),t&&e.updatePostExcerpt(t),t},xp=()=>{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},Sp=`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`,Sp)+`...`),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:wf(),description:bp(),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)=>gp(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)=>gp(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`,Sp)+`...`},{percent:t(15,20),duration:5e3,text:L(`fetching serps`,Sp)+`...`},{percent:t(25,30),duration:6e3,text:L(`analyzing serps`,Sp)+`...`},{percent:t(35,40),duration:1e4,text:L(`fetching competitor data`,Sp)+`...`},{percent:t(45,50),duration:7e3,text:L(`fetching keywords data`,Sp)+`...`},{percent:t(55,60),duration:7e3,text:L(`calculating keywords heading presence`,Sp)+`...`},{percent:t(65,70),duration:7e3,text:L(`calculating keywords use suggestions`,Sp)+`...`},{percent:t(75,80),duration:7e3,text:L(`calculating keywords importance`,Sp)+`...`},{percent:t(85,90),duration:7e3,text:L(`fetching keywords examples`,Sp)+`...`},{percent:100,duration:1e3,text:L(`fetching report`,Sp)+`...`}],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 Cp=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()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){(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)}}}))})),Tp=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-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)}}}))})),Ep=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;m0,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)}}}))})),Dp=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=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}}}))})),Op=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)}}}))})),kp=a(Cp(),1),Ap=a(wp(),1),jp=a(Tp(),1),Mp=a(Ep(),1),Np=a(Dp(),1),Pp=a(Op(),1);kp.default.extend(Ap.default),kp.default.extend(jp.default),kp.default.extend(Mp.default),kp.default.extend(Pp.default),kp.default.extend(Np.default);var Fp=kp.default,Ip=`table-of-contents-plus`,Lp=null;z(`SemrushStore`,{state:()=>({results:[],error:null}),getters:{expired:()=>{let e=X();if(!e.internalOptions.integrations.semrush.expires)return!0;let t=Fp(parseInt(e.internalOptions.integrations.semrush.expires*1e3,10));return!Fp().isBefore(t)},hasValidTokens:e=>{let t=bd();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.`,Ip);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=bd();n.hasSemrushAccessToken=!0,n.hasSemrushRefreshToken=!0}).catch(e=>{if(!e?.response?.body?.message){this.error=L(`An unknown error occurred, please try again later.`,Ip);return}this.error=e.response.body.message})},refresh(){if(Lp)return Lp;let e=bd();return Lp=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(()=>{Lp=null}),Lp}}}),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 Rp={},zp={viewBox:`0 0 20 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-logo-gear`};function Bp(e,t){return b(),O(`svg`,zp,[...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 Vp=j(Rp,[[`render`,Bp]]),Hp=`table-of-contents-plus`,Up={setup(){return{rootStore:Q()}},components:{SvgAioseoLogoGear:Vp},data(){return{strings:{boldText:R(`%1$s %2$s`,`ToC+`,this.rootStore.isPro?`Pro`:``),linkText:L(`Click here to learn more`,Hp)}}},computed:{link(){return R(`%2$s`,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.`,Hp),this.strings.boldText,this.link)}},mounted(){document.body.classList.add(`aioseo-has-bar`)},beforeUnmount(){document.body.classList.remove(`aioseo-has-bar`)}},Wp={class:`aioseo-api-bar`},Gp={class:`upgrade-text`},Kp=[`innerHTML`];function qp(e,t,n,r,i,a){let o=u(`svg-aioseo-logo-gear`);return b(),O(`div`,Wp,[D(`div`,Gp,[P(o),D(`div`,{innerHTML:a.upgradeText},null,8,Kp)])])}var Jp=j(Up,[[`render`,qp]]),Yp={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 Xp(e,t,n,r,i,a){return b(),O(`div`,{class:S(a.classes)},[T(e.$slots,`default`)],2)}var Zp=j(Yp,[[`render`,Xp]]),Qp={},$p={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`};function em(e,t){return b(),O(`svg`,$p,[...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 tm=j(Qp,[[`render`,em]]),nm={},rm={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 im(e,t){return b(),O(`svg`,rm,[...t[0]||=[x(``,35)]])}var am={setup(){return{notificationsStore:le(),rootStore:A(),logoUrl:me.utmUrl(`toc-logo`,`header`,`https://aioseo.com/`)}},components:{CoreApiBar:Jp,GridContainer:Zp,SvgBell:tm,Logo:j(nm,[[`render`,im]])},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})}},om={class:`aioseo-header`},sm={class:`aioseo-header-content`},cm={class:`logo`},lm=[`href`],um={key:0,class:`header-actions`},dm={key:0,class:`round number`};function fm(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`,om,[r.rootStore.pong?I(``,!0):(b(),he(o,{key:0})),P(l,{"full-width":n.fullWidth,small:n.small},{default:p(()=>[D(`div`,sm,[D(`div`,cm,[D(`a`,{href:r.logoUrl,target:`_blank`,rel:`noopener noreferrer`},[P(s)],8,lm)]),n.actions?(b(),O(`div`,um,[D(`span`,{class:`round`,onClick:t[0]||=_e((...e)=>r.notificationsStore.toggleNotifications&&r.notificationsStore.toggleNotifications(...e),[`stop`])},[r.notificationsStore.activeNotificationsCount?(b(),O(`span`,dm,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 pm=j(am,[[`render`,fm]]),mm={},hm={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-caret`};function gm(e,t){return b(),O(`svg`,hm,[...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 _m=j(mm,[[`render`,gm]]),vm={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 ym(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 bm=j(vm,[[`render`,ym]]),xm={locks:{},zIndex:2e3,enableRipple:!0};ae(xm);var Sm=ae(xm),Cm=Object.defineProperty,wm=Object.defineProperties,Tm=Object.getOwnPropertyDescriptors,Em=Object.getOwnPropertySymbols,Dm=Object.prototype.hasOwnProperty,Om=Object.prototype.propertyIsEnumerable,km=(e,t,n)=>t in e?Cm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Am=(e,t)=>{for(var n in t||={})Dm.call(t,n)&&km(e,n,t[n]);if(Em)for(var n of Em(t))Om.call(t,n)&&km(e,n,t[n]);return e},jm=(e,t)=>wm(e,Tm(t)),Mm=e=>typeof e==`string`,Nm=e=>typeof e==`boolean`,Pm=e=>typeof e==`number`,Fm=e=>Pm(e)||Mm(e)&&/^[-+]?\d+$/.test(e),Im=e=>Object.prototype.toString.call(e)===`[object Object]`,Lm=e=>typeof e==`function`,Rm=e=>Array.isArray(e),zm=e=>e===window,Bm=()=>Vm()&&`ontouchstart`in window,Vm=()=>typeof window<`u`,{hasOwnProperty:Hm}=Object.prototype,Um=(e,t)=>{if(e.length){let n=e.indexOf(t);if(n>-1)return e.splice(n,1)}},Wm=(...e)=>e.map(e=>{if(Rm(e)){let[t,n,r=null]=e;return t?n:r}return e}),Gm=()=>typeof globalThis<`u`?globalThis:Vm()?window:typeof global<`u`?global:self,Km=e=>{let t=Gm();return t.requestAnimationFrame?t.requestAnimationFrame(e):t.setTimeout(e)},qm=()=>new Promise(e=>{Km(e)}),Jm=()=>new Promise(e=>{Km(()=>{Km(e)})}),Ym=e=>window.getComputedStyle(e),Xm=e=>{if(zm(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 jm(Am({},r),{toJSON:()=>r})}return e.getBoundingClientRect()},Zm=e=>{let t=`scrollTop`in e?e.scrollTop:e.scrollY;return Math.max(t,0)},Qm=e=>{let t=`scrollLeft`in e?e.scrollLeft:e.scrollX;return Math.max(t,0)};function $m(e,...t){if(Rm(e))return e.map(e=>e(...t));if(e)return e(...t)}var eh=e=>e==null?0:Mm(e)?(e=parseFloat(e),e=Number.isNaN(e)?0:e,e):Nm(e)?Number(e):e,th=(e,t,n)=>Math.min(n,Math.max(t,e)),nh=e=>rh(e).replace(e.charAt(0),e.charAt(0).toUpperCase()),rh=e=>e.replace(/-(\w)/g,(e,t)=>t.toUpperCase());function ih(e){return t=>{let n=`${e}-${t}`;return{name:nh(n),n:t=>t?t[0]===`$`?t.replace(`$`,e):t.startsWith(`--`)?`${n}${t}`:`${n}__${t}`:n,classes:Wm}}}var ah=Object.defineProperty,oh=Object.getOwnPropertySymbols,sh=Object.prototype.hasOwnProperty,ch=Object.prototype.propertyIsEnumerable,lh=(e,t,n)=>t in e?ah(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uh=(e,t)=>{for(var n in t||={})sh.call(t,n)&&lh(e,n,t[n]);if(oh)for(var n of oh(t))ch.call(t,n)&&lh(e,n,t[n]);return e},dh=(e,t)=>{var n={};for(var r in e)sh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&oh)for(var r of oh(e))t.indexOf(r)<0&&ch.call(e,r)&&(n[r]=e[r]);return n};function fh(e){let t=!1;d(()=>{e(),h(()=>{t=!0})}),g(()=>{t&&e()})}function ph(e,t,n,r={}){if(!Vm())return;let{passive:i=!1,capture:a=!1}=r,o=!1,s=!1,u=e=>Lm(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)})),fh(()=>{d(e)}),v(()=>{f(e)}),c(()=>{f(e)}),()=>{p?.(),f(e),s=!0}}function mh(e){m(()=>{e()}),c(()=>{e()})}function hh(e){return e in o().provides}function gh(e){if(!hh(e))return{index:null,parentProvider:null,bindParent:null};let t=ce(e),{childInstances:n,collect:r,clear:i}=t,a=dh(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 _h(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 vh(e){let t=o(),n=ae([]),r=[],i=k(()=>n.length),a=()=>{let e=_h(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)=>{Um(n,e),Um(r,t)};return{length:i,childProviders:r,bindChildren:t=>{ge(e,uh({childInstances:n,collect:s,clear:c},t))}}}function yh(e){ph(()=>window,`resize`,e,{passive:!0}),ph(()=>window,`orientationchange`,e,{passive:!0})}var bh=Object.defineProperty,xh=Object.defineProperties,Sh=Object.getOwnPropertyDescriptors,Ch=Object.getOwnPropertySymbols,wh=Object.prototype.hasOwnProperty,Th=Object.prototype.propertyIsEnumerable,Eh=(e,t,n)=>t in e?bh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dh=(e,t)=>{for(var n in t||={})wh.call(t,n)&&Eh(e,n,t[n]);if(Ch)for(var n of Ch(t))Th.call(t,n)&&Eh(e,n,t[n]);return e},Oh=(e,t)=>xh(e,Sh(t));function kh(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=e[n],t),{}):e[t]}function Ah(e,t){let n=t??e;return n.install=function(t){let{name:n}=e;n&&t.component(n,e)},n}function jh(e,t){e.setPropsDefaults=function(e){Object.entries(e).forEach(([e,n])=>{let r=t[e];if(r!=null){if(Im(r)){t[e]=Oh(Dh({},r),{default:n});return}t[e]={type:r,default:n}}})}}var Mh=ih(`var`);function Nh(e){return{type:[Function,Array],default:e}}function Ph(e,t){return e===!1?null:(e===!0&&t&&(e=t),`var-elevation--${e}`)}var Fh=Object.defineProperty,Ih=Object.defineProperties,Lh=Object.getOwnPropertyDescriptors,Rh=Object.getOwnPropertySymbols,zh=Object.prototype.hasOwnProperty,Bh=Object.prototype.propertyIsEnumerable,Vh=(e,t,n)=>t in e?Fh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hh=(e,t)=>{for(var n in t||={})zh.call(t,n)&&Vh(e,n,t[n]);if(Rh)for(var n of Rh(t))Bh.call(t,n)&&Vh(e,n,t[n]);return e},Uh=(e,t)=>Ih(e,Lh(t)),{n:Wh}=Mh(`ripple`),Gh=250;function Kh(e){let{zIndex:t,position:n}=Ym(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 qh(e,t){let{top:n,left:r}=Xm(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 Jh(e){let t=this._ripple;t.removeRipple(),!(t.disabled||t.tasker||!Sm.enableRipple)&&(t.tasker=window.setTimeout(()=>{t.tasker=null;let{x:n,y:r,centerX:i,centerY:a,size:o}=qh(this,e),s=document.createElement(`div`);s.classList.add(Wh()),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()),Kh(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 Yh(){let e=this._ripple,t=()=>{let e=this.querySelectorAll(`.${Wh()}`);if(!e.length)return;let t=e[e.length-1],n=Gh-performance.now()+Number(t.dataset.createdAt);window.setTimeout(()=>{t.style.opacity=`0`,window.setTimeout(()=>t.parentNode?.removeChild(t),Gh)},n)};e.tasker?window.setTimeout(t,30):t()}function Xh(){if(!Bm()||!Sm.enableRipple)return;let e=this._ripple;e.tasker&&window.clearTimeout(e.tasker),e.tasker=null}function Zh(e,t){e._ripple=Uh(Hh({tasker:null},t.value??{}),{removeRipple:Yh.bind(e)}),e.addEventListener(`touchstart`,Jh,{passive:!0}),e.addEventListener(`touchmove`,Xh,{passive:!0}),e.addEventListener(`dragstart`,Yh,{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 Qh(e){e.removeEventListener(`touchstart`,Jh),e.removeEventListener(`touchmove`,Xh),e.removeEventListener(`dragstart`,Yh),document.removeEventListener(`touchend`,e._ripple.removeRipple),document.removeEventListener(`touchcancel`,e._ripple.removeRipple),document.removeEventListener(`dragend`,e._ripple.removeRipple)}function $h(e,t){let n={color:t.value?.color,disabled:t.value?.disabled};(n.color!==e._ripple?.color||n.disabled!==e._ripple?.disabled)&&(e._ripple=Hh({tasker:n.disabled?null:e._ripple?.tasker,removeRipple:e._ripple?.removeRipple},n))}var eg={mounted:Zh,unmounted:Qh,updated:$h,install(e){e.directive(`ripple`,this)}},tg={name:[String,Number],disabled:Boolean,ripple:{type:Boolean,default:!0},onClick:Nh()};function ng(e,t){throw Error(`Varlet [${e}]: ${t}`)}var rg=Symbol(`TABS_BIND_TAB_KEY`);function ig(){let{childProviders:e,bindChildren:t,length:n}=vh(rg);return{length:n,tabList:e,bindTabList:t}}function ag(){let{parentProvider:e,bindParent:t,index:n}=gh(rg);return t||ng(`Tab`,` must in `),{index:n,tabs:e,bindTabs:t}}var{name:og,n:sg,classes:cg}=Mh(`tab`);function lg(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 ug=C({name:og,directives:{Ripple:eg},props:tg,setup(e){let t=M(null),n=k(()=>t.value),r=k(()=>e.name),i=k(()=>e.disabled),{index:a,tabs:o,bindTabs:s}=ag(),{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?sg(`$-tab--disabled`):_()?sg(`$-tab--active`):sg(`$-tab--inactive`)}function b(t){let{disabled:n,name:r,onClick:i}=e;n||($m(i,r??a.value,t),c(g))}return{tabEl:t,active:u,activeColor:d,inactiveColor:f,itemDirection:m,n:sg,classes:cg,computeColorStyle:v,computeColorClass:y,handleClick:b}}});ug.render=lg;var dg=ug;Ah(dg),jh(dg,tg);var fg=dg,pg={offsetTop:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:10},cssMode:Boolean,disabled:Boolean,onScroll:Nh()};function mg(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}=Ym(t);if(e.test(n)||e.test(r))return t}return window}function hg(){let{width:e,height:t}=Xm(window);return{vw:e,vh:t,vMin:Math.min(e,t),vMax:Math.max(e,t)}}var gg=e=>Mm(e)&&e.endsWith(`rem`),_g=e=>Mm(e)&&e.endsWith(`px`)||Pm(e),vg=e=>Mm(e)&&e.endsWith(`vw`),yg=e=>Mm(e)&&e.endsWith(`vh`),bg=e=>Mm(e)&&e.endsWith(`vmin`),xg=e=>Mm(e)&&e.endsWith(`vmax`),Sg=e=>{if(Fm(e))return Number(e);if(_g(e))return+e.replace(`px`,``);if(!Vm())return 0;let{vw:t,vh:n,vMin:r,vMax:i}=hg();if(vg(e))return+e.replace(`vw`,``)*t/100;if(yg(e))return+e.replace(`vh`,``)*n/100;if(bg(e))return+e.replace(`vmin`,``)*r/100;if(xg(e))return+e.replace(`vmax`,``)*i/100;if(gg(e)){let t=+e.replace(`rem`,``),n=Ym(document.documentElement).fontSize;return t*parseFloat(n)}return Mm(e)?eh(e):0},Cg=e=>{if(e!=null)return Fm(e)?`${e}px`:String(e)};function wg(e,{top:t=0,left:n=0,duration:r=300,animation:i}){let a=Date.now(),o=Zm(e),s=Qm(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 Tg=(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:Eg,n:Dg,classes:Og}=Mh(`sticky`);function kg(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 Ag=C({name:Eg,props:pg,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(()=>Sg(e.offsetTop)),m;l(()=>e.disabled,y),fh(()=>Tg(this,null,function*(){yield Jm(),g(),_()})),mh(v),yh(y),ph(()=>window,`scroll`,_);function h(){let{cssMode:l,disabled:d}=e;if(d)return;let f=0;if(m!==window){let{top:e}=Xm(m);f=e}let h=n.value,g=t.value,{top:_,left:v}=Xm(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=mg(t.value),m!==window&&m.addEventListener(`scroll`,_)}function _(){let t=h();t&&$m(e.onScroll,t.offsetTop,t.isFixed)}function v(){!m||m===window||m.removeEventListener(`scroll`,_)}function y(){return Tg(this,null,function*(){r.value=!1,yield qm(),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:Dg,classes:Og,resize:y,toNumber:eh}}});Ag.render=kg;var jg=Ag;Ah(jg),jh(jg,pg);var Mg=jg,Ng={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:kh(pg,`cssMode`),stickyZIndex:kh(pg,`zIndex`),offsetTop:kh(pg,`offsetTop`),onClick:Nh(),onChange:Nh(),"onUpdate:active":Nh()},Pg=e=>e,Fg=(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:Ig,n:Lg,classes:Rg}=Mh(`tabs`);function zg(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 Bg=C({name:Ig,components:{VarSticky:Mg},inheritAttrs:!1,props:Ng,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}=ig();_({active:s,activeColor:c,inactiveColor:u,disabledColor:d,itemDirection:f,resize:E,onTabClick:y}),l(()=>v.value,()=>Fg(this,null,function*(){yield Jm(),E()})),l(()=>[e.active,e.scrollable],E),g(E),yh(E);function y(t){let n=t.name.value??t.index.value,{active:r,onChange:i,onClick:a}=e;$m(e[`onUpdate:active`],n),$m(a,n),n!==r&&$m(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(Pm(t)){let n=th(t,0,v.value-1);return $m(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`?wg(n,{left:r.offsetLeft+r.offsetWidth/2-n.offsetWidth/2,animation:Pg}):wg(n,{top:r.offsetTop+r.offsetHeight/2-n.offsetHeight/2,animation:Pg})}function E(){let e=b()||x()||S();!e||e.disabled.value||(C(),w(e),T(e))}function ee(){return Fg(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:Cg,n:Lg,classes:Rg,resize:E,resizeSticky:ee,formatElevation:Ph}}});Bg.render=zg;var Vg=Bg;Ah(Vg),jh(Vg,Ng);var Hg=Vg,Ug=`table-of-contents-plus`,Wg={emits:[`changed`],setup(){let{processSaveChanges:e}=Te();return{processSaveChanges:e,rootStore:A()}},components:{BaseButton:xe,SvgCaret:_m,TransitionSlide:bm,VarTab:fg,VarTabs:Hg},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`,Ug)}}},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)}},Gg={class:`tabs-scroller`,ref:`tabs-scroller`},Kg={class:`label`},qg={key:0,class:`aioseo-mobile-tabs`},Jg={class:`tab-links`},Yg=[`onClick`],Xg={key:1,class:`button-right`,ref:`tabs-button`},Zg={class:`tabs-extra`};function Qg(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`,Gg,[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`,Kg,F(t.name),1)])]),_:2},1032,[`name`]))),128))]),_:3},8,[`active`,`onClick`])],512),[[ve,!o.showMobileMenu||o.calculateWidth]]),o.showMobileMenu?(b(),O(`div`,qg,[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`,Jg,[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,Yg))),128)):I(``,!0)])]),_:1},8,[`active`])])):I(``,!0),i.showSaveButton?(b(),O(`div`,Xg,[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`,Zg,[T(e.$slots,`extra`)])],2)}var $g=j(Wg,[[`render`,Qg]]),e_=`table-of-contents-plus`,t_=()=>{let e={notifications:L(`Notifications`,e_),newNotifications:L(`New Notifications`,e_),activeNotifications:L(`Active Notifications`,e_)},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}},n_=``+window.__aioseoDynamicImportPreload__(`images/dannie-detective.C0gjJQEP.png`);function r_(e){return Fp.utc(e).tz(Fp.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 i_=()=>{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}}}},a_={},o_={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-circle-check`};function s_(e,t){return b(),O(`svg`,o_,[...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 c_=j(a_,[[`render`,s_]]),l_={},u_={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-circle-close`};function d_(e,t){return b(),O(`svg`,u_,[...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 f_=j(l_,[[`render`,d_]]),p_={},m_={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-circle-exclamation`};function h_(e,t){return b(),O(`svg`,m_,[...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 g_=j(p_,[[`render`,h_]]),__={},v_={viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-gear`};function y_(e,t){return b(),O(`svg`,v_,[...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 b_=j(__,[[`render`,y_]]),x_=`table-of-contents-plus`,S_={emits:[`dismissed-notification`],setup(){let{button1Loading:e,button2Loading:t,getHref:n,getTagType:r,getTarget:i,processButtonClick:a}=i_();return{button1Loading:e,button2Loading:t,getHref:n,getTagType:r,getTarget:i,notificationsStore:le(),processButtonClick:a,sanitizeString:Wc}},components:{BaseButton:xe,SvgCircleCheck:c_,SvgCircleClose:f_,SvgCircleExclamation:g_,SvgGear:b_,TransitionSlide:bm},props:{notification:{type:Object,required:!0}},data(){return{active:!0,strings:{dismiss:L(`Dismiss`,x_)}}},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 r_(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`}}}},C_={class:`icon`},w_={class:`body`},T_={class:`title`},E_={class:`date`},D_=[`innerHTML`],O_={class:`actions`};function k_(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`,C_,[(b(),he(E(o.getIcon),{class:S(n.notification.type)},null,8,[`class`]))]),D(`div`,w_,[D(`div`,T_,[D(`div`,null,F(i.sanitizeString(n.notification.title)),1),D(`div`,E_,F(o.getDate),1)]),D(`div`,{class:`notification-content`,innerHTML:n.notification.content},null,8,D_),D(`div`,O_,[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 A_=j(S_,[[`render`,k_]]),j_=`table-of-contents-plus`,M_={emits:[`dismissed-notification`],setup(){return{licenseStore:Vu(),notificationsStore:Gu(),optionsStore:X(),rootStore:Q()}},components:{SvgCircleCheck:c_,TransitionSlide:bm},props:{notification:{type:Object,required:!0}},data(){return{step:1,active:!0,strings:{dismiss:L(`Dismiss`,j_),yesILoveIt:L(`Yes, I love it!`,j_),notReally:L(`Not Really...`,j_),okYouDeserveIt:L(`Ok, you deserve it`,j_),nopeMaybeLater:L(`Nope, maybe later`,j_),giveFeedback:L(`Give feedback`,j_),noThanks:L(`No thanks`,j_)}}},computed:{title(){switch(this.step){case 2:return L(`That's Awesome!`,j_);case 3:return L(`Help us improve`,j_);default:return R(L(`Are you enjoying %1$s?`,j_),`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?`,j_);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?`,j_),`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`)}}},N_={class:`icon`},P_={class:`body`},F_={class:`title`},I_=[`innerHTML`],L_={class:`actions`};function R_(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`,N_,[P(s,{class:`success`})]),D(`div`,P_,[D(`div`,F_,[D(`div`,null,F(o.title),1)]),D(`div`,{class:`notification-content`,innerHTML:o.content},null,8,I_),D(`div`,L_,[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:`https://aioseo.com/aioseo-wordpress-rating`,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}),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 z_=j(M_,[[`render`,R_]]),B_=`table-of-contents-plus`,V_={emits:[`dismissed-notification`],setup(){return{notificationsStore:le()}},components:{BaseButton:xe,SvgCircleCheck:c_,TransitionSlide:bm},props:{notification:{type:Object,required:!0}},data(){return{active:!0,strings:{dismiss:L(`Dismiss`,B_),yesILoveIt:L(`Yes, I love it!`,B_),notReally:L(`Not Really...`,B_),okYouDeserveIt:L(`Ok, you deserve it`,B_),nopeMaybeLater:L(`Nope, maybe later`,B_),giveFeedback:L(`Give feedback`,B_),noThanks:L(`No thanks`,B_)}}},computed:{title(){return R(L(`Are you enjoying %1$s?`,B_),`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?`,B_),`Table of Contents Plus`)}},methods:{processDismissNotification(e=!1){this.active=!1,this.notificationsStore.dismissNotifications([this.notification.slug+(e?`-delay`:``)]),this.$emit(`dismissed-notification`)}}},H_={class:`icon`},U_={class:`body`},W_={class:`title`},G_=[`innerHTML`],K_={class:`actions`};function q_(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`,H_,[P(s,{class:`success`})]),D(`div`,U_,[D(`div`,W_,[D(`div`,null,F(o.title),1)]),D(`div`,{class:`notification-content`,innerHTML:o.content},null,8,G_),D(`div`,K_,[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 J_=j(V_,[[`render`,q_]]),Y_={class:`icon`},X_={class:`body`},Z_={class:`title`},Q_=[`innerHTML`],$_={class:`actions`},ev={__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=`
    `;return n.notification.addons.forEach(t=>{e+=`
  • ToC+ - `+t.name+`
  • `}),e+=`
`,n.notification.message+e});return(e,t)=>{let n=u(`base-button`);return b(),he(ue(bm),{class:`aioseo-notification`,active:a.value},{default:p(()=>[D(`div`,null,[D(`div`,Y_,[P(ue(f_),{class:`error`})]),D(`div`,X_,[D(`div`,Z_,[D(`div`,null,F(o.title),1)]),D(`div`,{class:`notification-content`,innerHTML:s.value},null,8,Q_),D(`div`,$_,[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`])}}},tv=`table-of-contents-plus`,nv={emits:[`toggle-dismissed`,`dismissed-notification`],components:{CoreNotification:A_,NotificationsReview:z_,NotificationsReview2:J_,NotificationsUnlicensedAddons:ev},props:{dismissedCount:{type:Number,required:!0},notifications:{type:Array,required:!0}},data(){return{dannieDetectiveImg:n_,strings:{greatScott:L(`Great Scott! Where'd they all go?`,tv),noNewNotifications:L(`You have no new notifications.`,tv),seeDismissed:L(`See Dismissed Notifications`,tv)}}},methods:{getAssetUrl:es}},rv={class:`aioseo-notification-cards`},iv={key:`no-notifications`},av={class:`no-notifications`},ov=[`src`],sv={class:`great-scott`},cv={class:`no-new-notifications`};function lv(e,t,r,i,a,o){return b(),O(`div`,rv,[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`,iv,[T(e.$slots,`no-notifications`,{},()=>[D(`div`,av,[D(`img`,{alt:`Dannie the Detective`,src:o.getAssetUrl(a.dannieDetectiveImg)},null,8,ov),D(`div`,sv,F(a.strings.greatScott),1),D(`div`,cv,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 uv=j(nv,[[`render`,lv]]),dv={},fv={viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`aioseo-close`};function pv(e,t){return b(),O(`svg`,fv,[...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 mv=j(dv,[[`render`,pv]]),hv=`table-of-contents-plus`,gv={setup(){let{dismissed:e,notificationTitle:t,notifications:n,notificationsCount:r,strings:i}=t_();return{composableStrings:i,dismissed:e,notificationsStore:le(),notificationTitle:t,notifications:n,notificationsCount:r}},components:{CoreNotificationCards:uv,SvgClose:mv},data(){return{maxNotifications:2**53-1,currentPage:0,totalPages:1,strings:Wo(this.composableStrings,{dismissedNotifications:L(`Dismissed Notifications`,hv),dismissAll:L(`Dismiss All`,hv)})}},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{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&&0n.offsetHeight)break;e++}this.maxNotifications=e||1,isFinite(e)&&0this.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)}},_v={class:`aioseo-notifications`,ref:`aioseo-notifications`},vv={key:0,class:`notification-menu`},yv={class:`notification-header`},bv={class:`new-notifications`},xv={class:`dismissed-notifications`},Sv={key:0,class:`notification-footer`},Cv={class:`pagination`},wv=[`onClick`],Tv={key:0,class:`dismiss-all`};function Ev(e,t,r,i,a,o){let s=u(`svg-close`),c=u(`core-notification-cards`);return b(),O(`div`,_v,[P(ye,{name:`notifications-slide`},{default:p(()=>[i.notificationsStore.showNotifications?(b(),O(`div`,vv,[D(`div`,yv,[D(`span`,bv,`(`+F(i.notificationsCount)+`) `+F(i.notificationTitle),1),D(`div`,xv,[!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`,Sv,[D(`div`,Cv,[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,wv))),128)):I(``,!0)]),i.dismissed?I(``,!0):(b(),O(`div`,Tv,[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 Dv=j(gv,[[`render`,Ev]]),Ov=`table-of-contents-plus`,kv={setup(){let{processSaveChanges:e}=Te();return{allowed:we,notificationsStore:le(),processSaveChanges:e,rootStore:A()}},components:{BaseButton:xe,CoreHeader:pm,CoreMainTabs:$g,CoreNotifications:Dv,GridContainer:Zp},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`,Ov)}}},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))}},Av={class:`aioseo-main`},jv={key:1,class:`save-changes`};function Mv(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`,Av,[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`,jv,[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 Nv=j(kv,[[`render`,Mv]]);export{_m as a,c_ as i,mv as n,f_ as r,Nv as t};