관리-도구
편집 파일: index.lqcu3hi3.js
var fi=Object.defineProperty;var gi=(t,e,r)=>e in t?fi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var v=(t,e,r)=>gi(t,typeof e!="symbol"?e+"":e,r);import{aC as Co,g as xo,aT as tt,i as mi,bl as To,aP as kt,aN as ss,bm as yi,w as bi,r as Di,aH as wi,aD as Ai,b1 as Ei,n as or,P as Si,f as ki}from"./runtime-dom.esm-bundler.h3clfjuw.js";import{g as vi,s as V,c as xr,_ as l}from"./default-i18n.bz7purh4.js";import{m as Ci,H as xi,F as Ti,K as Bi,r as Oi,U as Ss,h as Fi,$ as Ni,D as qi,a0 as Pi,N as Li,O as Bo,e as Ii,f as Ri,d as ks,a1 as Ui,R as Mi,g as vs,a as Oo,a2 as $i,a3 as _i,E as zi,a4 as Vi,C as Hi,a5 as Fo,o as Gi,n as No,Y as vt,a6 as Ae,Z as Wi,a7 as ji}from"./cleanForSlug.etvx808q.js";import"./translations.e22mvhfh.js";var Yi=!1;/*! * pinia v2.2.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */let qo;const Bt=t=>qo=t,Po=Symbol();function _r(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Et;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Et||(Et={}));function Ki(){const t=Co(!0),e=t.run(()=>xo({}));let r=[],s=[];const o=tt({install(n){Bt(o),o._a=n,n.provide(Po,o),n.config.globalProperties.$pinia=o,s.forEach(i=>r.push(i)),s=[]},use(n){return!this._a&&!Yi?s.push(n):r.push(n),this},_p:r,_a:null,_e:t,_s:new Map,state:e});return o}const Lo=()=>{};function Cs(t,e,r,s=Lo){t.push(e);const o=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),s())};return!r&&Ai()&&Ei(o),o}function Ze(t,...e){t.slice().forEach(r=>{r(...e)})}const Zi=t=>t(),xs=Symbol(),Tr=Symbol();function zr(t,e){t instanceof Map&&e instanceof Map?e.forEach((r,s)=>t.set(s,r)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const r in e){if(!e.hasOwnProperty(r))continue;const s=e[r],o=t[r];_r(o)&&_r(s)&&t.hasOwnProperty(r)&&!kt(s)&&!ss(s)?t[r]=zr(o,s):t[r]=s}return t}const Ji=Symbol();function Qi(t){return!_r(t)||!t.hasOwnProperty(Ji)}const{assign:Ne}=Object;function Xi(t){return!!(kt(t)&&t.effect)}function ea(t,e,r,s){const{state:o,actions:n,getters:i}=e,a=r.state.value[t];let u;function c(){a||(r.state.value[t]=o?o():{});const g=Si(r.state.value[t]);return Ne(g,n,Object.keys(i||{}).reduce((A,k)=>(A[k]=tt(ki(()=>{Bt(r);const D=r._s.get(t);return i[k].call(D,D)})),A),{}))}return u=Io(t,c,e,r,s,!0),u}function Io(t,e,r={},s,o,n){let i;const a=Ne({actions:{}},r),u={deep:!0};let c,g,A=[],k=[],D;const S=s.state.value[t];!n&&!S&&(s.state.value[t]={}),xo({});let T;function N(f){let y;c=g=!1,typeof f=="function"?(f(s.state.value[t]),y={type:Et.patchFunction,storeId:t,events:D}):(zr(s.state.value[t],f),y={type:Et.patchObject,payload:f,storeId:t,events:D});const w=T=Symbol();or().then(()=>{T===w&&(c=!0)}),g=!0,Ze(A,y,s.state.value[t])}const j=n?function(){const{state:y}=r,w=y?y():{};this.$patch(C=>{Ne(C,w)})}:Lo;function te(){i.stop(),A=[],k=[],s._s.delete(t)}const J=(f,y="")=>{if(xs in f)return f[Tr]=y,f;const w=function(){Bt(s);const C=Array.from(arguments),q=[],G=[];function ce(K){q.push(K)}function me(K){G.push(K)}Ze(k,{args:C,name:w[Tr],store:B,after:ce,onError:me});let ke;try{ke=f.apply(this&&this.$id===t?this:B,C)}catch(K){throw Ze(G,K),K}return ke instanceof Promise?ke.then(K=>(Ze(q,K),K)).catch(K=>(Ze(G,K),Promise.reject(K))):(Ze(q,ke),ke)};return w[xs]=!0,w[Tr]=y,w},Q={_p:s,$id:t,$onAction:Cs.bind(null,k),$patch:N,$reset:j,$subscribe(f,y={}){const w=Cs(A,f,y.detached,()=>C()),C=i.run(()=>bi(()=>s.state.value[t],q=>{(y.flush==="sync"?g:c)&&f({storeId:t,type:Et.direct,events:D},q)},Ne({},u,y)));return w},$dispose:te},B=Di(Q);s._s.set(t,B);const m=(s._a&&s._a.runWithContext||Zi)(()=>s._e.run(()=>(i=Co()).run(()=>e({action:J}))));for(const f in m){const y=m[f];if(kt(y)&&!Xi(y)||ss(y))n||(S&&Qi(y)&&(kt(y)?y.value=S[f]:zr(y,S[f])),s.state.value[t][f]=y);else if(typeof y=="function"){const w=J(y,f);m[f]=w,a.actions[f]=y}}return Ne(B,m),Ne(To(B),m),Object.defineProperty(B,"$state",{get:()=>s.state.value[t],set:f=>{N(y=>{Ne(y,f)})}}),s._p.forEach(f=>{Ne(B,i.run(()=>f({store:B,app:s._a,pinia:s,options:a})))}),S&&n&&r.hydrate&&r.hydrate(B.$state,S),c=!0,g=!0,B}function $(t,e,r){let s,o;const n=typeof e=="function";typeof t=="string"?(s=t,o=n?r:e):(o=t,s=t.id);function i(a,u){const c=wi();return a=a||(c?mi(Po,null):null),a&&Bt(a),a=qo,a._s.has(s)||(n?Io(s,e,o,a):ea(s,o,a)),a._s.get(s)}return i.$id=s,i}function Jc(t){{t=To(t);const e={};for(const r in t){const s=t[r];(kt(s)||ss(s))&&(e[r]=yi(t,r))}return e}}const Vr=$("AddonsStore",{state:()=>({addons:[]}),actions:{updateAddon(t){const e=this.addons.findIndex(r=>r.sku===t.sku);e!==-1&&(this.addons[e]=t)}}});var Hr={exports:{}},Ro={exports:{}};(function(t){t.exports=e;function e(s){if(s)return r(s)}function r(s){for(var o in e.prototype)s[o]=e.prototype[o];return s}e.prototype.on=e.prototype.addEventListener=function(s,o){return this._callbacks=this._callbacks||{},(this._callbacks["$"+s]=this._callbacks["$"+s]||[]).push(o),this},e.prototype.once=function(s,o){function n(){this.off(s,n),o.apply(this,arguments)}return n.fn=o,this.on(s,n),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(s,o){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+s];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+s],this;for(var i,a=0;a<n.length;a++)if(i=n[a],i===o||i.fn===o){n.splice(a,1);break}return n.length===0&&delete this._callbacks["$"+s],this},e.prototype.emit=function(s){this._callbacks=this._callbacks||{};for(var o=new Array(arguments.length-1),n=this._callbacks["$"+s],i=1;i<arguments.length;i++)o[i-1]=arguments[i];if(n){n=n.slice(0);for(var i=0,a=n.length;i<a;++i)n[i].apply(this,o)}return this},e.prototype.listeners=function(s){return this._callbacks=this._callbacks||{},this._callbacks["$"+s]||[]},e.prototype.hasListeners=function(s){return!!this.listeners(s).length}})(Ro);var ta=Ro.exports,ra=Ct;Ct.default=Ct;Ct.stable=$o;Ct.stableStringify=$o;var nr="[...]",Uo="[Circular]",He=[],_e=[];function Mo(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function Ct(t,e,r,s){typeof s>"u"&&(s=Mo()),Gr(t,"",0,[],void 0,0,s);var o;try{_e.length===0?o=JSON.stringify(t,e,r):o=JSON.stringify(t,_o(e),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;He.length!==0;){var n=He.pop();n.length===4?Object.defineProperty(n[0],n[1],n[3]):n[0][n[1]]=n[2]}}return o}function rt(t,e,r,s){var o=Object.getOwnPropertyDescriptor(s,r);o.get!==void 0?o.configurable?(Object.defineProperty(s,r,{value:t}),He.push([s,r,e,o])):_e.push([e,r,t]):(s[r]=t,He.push([s,r,e]))}function Gr(t,e,r,s,o,n,i){n+=1;var a;if(typeof t=="object"&&t!==null){for(a=0;a<s.length;a++)if(s[a]===t){rt(Uo,t,e,o);return}if(typeof i.depthLimit<"u"&&n>i.depthLimit){rt(nr,t,e,o);return}if(typeof i.edgesLimit<"u"&&r+1>i.edgesLimit){rt(nr,t,e,o);return}if(s.push(t),Array.isArray(t))for(a=0;a<t.length;a++)Gr(t[a],a,a,s,t,n,i);else{var u=Object.keys(t);for(a=0;a<u.length;a++){var c=u[a];Gr(t[c],c,a,s,t,n,i)}}s.pop()}}function sa(t,e){return t<e?-1:t>e?1:0}function $o(t,e,r,s){typeof s>"u"&&(s=Mo());var o=Wr(t,"",0,[],void 0,0,s)||t,n;try{_e.length===0?n=JSON.stringify(o,e,r):n=JSON.stringify(o,_o(e),r)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;He.length!==0;){var i=He.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return n}function Wr(t,e,r,s,o,n,i){n+=1;var a;if(typeof t=="object"&&t!==null){for(a=0;a<s.length;a++)if(s[a]===t){rt(Uo,t,e,o);return}try{if(typeof t.toJSON=="function")return}catch{return}if(typeof i.depthLimit<"u"&&n>i.depthLimit){rt(nr,t,e,o);return}if(typeof i.edgesLimit<"u"&&r+1>i.edgesLimit){rt(nr,t,e,o);return}if(s.push(t),Array.isArray(t))for(a=0;a<t.length;a++)Wr(t[a],a,a,s,t,n,i);else{var u={},c=Object.keys(t).sort(sa);for(a=0;a<c.length;a++){var g=c[a];Wr(t[g],g,a,s,t,n,i),u[g]=t[g]}if(typeof o<"u")He.push([o,e,t]),o[e]=u;else return u}s.pop()}}function _o(t){return t=typeof t<"u"?t:function(e,r){return r},function(e,r){if(_e.length>0)for(var s=0;s<_e.length;s++){var o=_e[s];if(o[1]===e&&o[0]===r){r=o[2],_e.splice(s,1);break}}return t.call(this,e,r)}}var yr={};(function(t){t.type=e=>e.split(/ *; */).shift(),t.params=e=>{const r={};for(const s of e.split(/ *; */)){const o=s.split(/ *= */),n=o.shift(),i=o.shift();n&&i&&(r[n]=i)}return r},t.parseLinks=e=>{const r={};for(const s of e.split(/ *, */)){const o=s.split(/ *; */),n=o[0].slice(1,-1),i=o[1].split(/ *= */)[1].slice(1,-1);r[i]=n}return r},t.cleanHeader=(e,r)=>(delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,r&&(delete e.authorization,delete e.cookie),e),t.isObject=e=>e!==null&&typeof e=="object",t.hasOwn=Object.hasOwn||function(e,r){if(e==null)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(new Object(e),r)},t.mixin=(e,r)=>{for(const s in r)t.hasOwn(r,s)&&(e[s]=r[s])}})(yr);const{isObject:ir,hasOwn:xt}=yr;var oa=M;function M(){}M.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this};M.prototype.parse=function(t){return this._parser=t,this};M.prototype.responseType=function(t){return this._responseType=t,this};M.prototype.serialize=function(t){return this._serializer=t,this};M.prototype.timeout=function(t){if(!t||typeof t!="object")return this._timeout=t,this._responseTimeout=0,this._uploadTimeout=0,this;for(const e in t)if(xt(t,e))switch(e){case"deadline":this._timeout=t.deadline;break;case"response":this._responseTimeout=t.response;break;case"upload":this._uploadTimeout=t.upload;break;default:console.warn("Unknown timeout option",e)}return this};M.prototype.retry=function(t,e){return(arguments.length===0||t===!0)&&(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};const na=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),ia=new Set([408,413,429,500,502,503,504,521,522,524]);M.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{const r=this._retryCallback(t,e);if(r===!0)return!0;if(r===!1)return!1}catch(r){console.error(r)}return!!(e&&e.status&&ia.has(e.status)||t&&(t.code&&na.has(t.code)||t.timeout&&t.code==="ECONNABORTED"||t.crossDomain))};M.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()};M.prototype.then=function(t,e){if(!this._fullfilledPromise){const r=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((s,o)=>{r.on("abort",()=>{if(this._maxRetries&&this._maxRetries>this._retries)return;if(this.timedout&&this.timedoutError){o(this.timedoutError);return}const n=new Error("Aborted");n.code="ABORTED",n.status=this.status,n.method=this.method,n.url=this.url,o(n)}),r.end((n,i)=>{n?o(n):s(i)})})}return this._fullfilledPromise.then(t,e)};M.prototype.catch=function(t){return this.then(void 0,t)};M.prototype.use=function(t){return t(this),this};M.prototype.ok=function(t){if(typeof t!="function")throw new Error("Callback required");return this._okCallback=t,this};M.prototype._isResponseOK=function(t){return t?this._okCallback?this._okCallback(t):t.status>=200&&t.status<300:!1};M.prototype.get=function(t){return this._header[t.toLowerCase()]};M.prototype.getHeader=M.prototype.get;M.prototype.set=function(t,e){if(ir(t)){for(const r in t)xt(t,r)&&this.set(r,t[r]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this};M.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this};M.prototype.field=function(t,e,r){if(t==null)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(ir(t)){for(const s in t)xt(t,s)&&this.field(s,t[s]);return this}if(Array.isArray(e)){for(const s in e)xt(e,s)&&this.field(t,e[s]);return this}if(e==null)throw new Error(".field(name, val) val can not be empty");return typeof e=="boolean"&&(e=String(e)),r?this._getFormData().append(t,e,r):this._getFormData().append(t,e),this};M.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)};M.prototype._auth=function(t,e,r,s){switch(r.type){case"basic":this.set("Authorization",`Basic ${s(`${t}:${e}`)}`);break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization",`Bearer ${t}`);break}return this};M.prototype.withCredentials=function(t){return t===void 0&&(t=!0),this._withCredentials=t,this};M.prototype.redirects=function(t){return this._maxRedirects=t,this};M.prototype.maxResponseSize=function(t){if(typeof t!="number")throw new TypeError("Invalid argument");return this._maxResponseSize=t,this};M.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}};M.prototype.send=function(t){const e=ir(t);let r=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(e&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(e&&ir(this._data))for(const s in t){if(typeof t[s]=="bigint"&&!t[s].toJSON)throw new Error("Cannot serialize BigInt value to json");xt(t,s)&&(this._data[s]=t[s])}else{if(typeof t=="bigint")throw new Error("Cannot send value of type BigInt");typeof t=="string"?(r||this.type("form"),r=this._header["content-type"],r&&(r=r.toLowerCase().trim()),r==="application/x-www-form-urlencoded"?this._data=this._data?`${this._data}&${t}`:t:this._data=(this._data||"")+t):this._data=t}return!e||this._isHost(t)?this:(r||this.type("json"),this)};M.prototype.sortQuery=function(t){return this._sort=typeof t>"u"?!0:t,this};M.prototype._finalizeQueryString=function(){const t=this._query.join("&");if(t&&(this.url+=(this.url.includes("?")?"&":"?")+t),this._query.length=0,this._sort){const e=this.url.indexOf("?");if(e>=0){const r=this.url.slice(e+1).split("&");typeof this._sort=="function"?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,e)+"?"+r.join("&")}}};M.prototype._appendQueryString=()=>{console.warn("Unsupported")};M.prototype._timeoutError=function(t,e,r){if(this._aborted)return;const s=new Error(`${t+e}ms exceeded`);s.timeout=e,s.code="ECONNABORTED",s.errno=r,this.timedout=!0,this.timedoutError=s,this.abort(),this.callback(s)};M.prototype._setTimeouts=function(){const t=this;this._timeout&&!this._timer&&(this._timer=setTimeout(()=>{t._timeoutError("Timeout of ",t._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(()=>{t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")},this._responseTimeout))};const Br=yr;var aa=br;function br(){}br.prototype.get=function(t){return this.header[t.toLowerCase()]};br.prototype._setHeaderProperties=function(t){const e=t["content-type"]||"";this.type=Br.type(e);const r=Br.params(e);for(const s in r)Object.prototype.hasOwnProperty.call(r,s)&&(this[s]=r[s]);this.links={};try{t.link&&(this.links=Br.parseLinks(t.link))}catch{}};br.prototype._setStatusProperties=function(t){const e=Math.trunc(t/100);this.statusCode=t,this.status=this.statusCode,this.statusType=e,this.info=e===1,this.ok=e===2,this.redirect=e===3,this.clientError=e===4,this.serverError=e===5,this.error=e===4||e===5?this.toError():!1,this.created=t===201,this.accepted=t===202,this.noContent=t===204,this.badRequest=t===400,this.unauthorized=t===401,this.notAcceptable=t===406,this.forbidden=t===403,this.notFound=t===404,this.unprocessableEntity=t===422};const ua=["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"];class zo{constructor(){this._defaults=[]}_setDefaults(e){for(const r of this._defaults)e[r.fn](...r.args)}}for(const t of ua)zo.prototype[t]=function(){for(var e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];return this._defaults.push({fn:t,args:r}),this};var la=zo;(function(t,e){let r;typeof window<"u"?r=window:typeof self>"u"?(console.warn("Using browser-only version of superagent in non-browser environment"),r=void 0):r=self;const s=ta,o=ra,n=Ci,i=oa,{isObject:a,mixin:u,hasOwn:c}=yr,g=aa,A=la;function k(){}t.exports=function(m,f){return typeof f=="function"?new e.Request("GET",m).end(f):arguments.length===1?new e.Request("GET",m):new e.Request(m,f)},e=t.exports;const D=e;e.Request=B,D.getXHR=()=>{if(r.XMLHttpRequest)return new r.XMLHttpRequest;throw new Error("Browser-only version of superagent could not find XHR")};const S="".trim?m=>m.trim():m=>m.replace(/(^\s*|\s*$)/g,"");function T(m){if(!a(m))return m;const f=[];for(const y in m)c(m,y)&&N(f,y,m[y]);return f.join("&")}function N(m,f,y){if(y!==void 0){if(y===null){m.push(encodeURI(f));return}if(Array.isArray(y))for(const w of y)N(m,f,w);else if(a(y))for(const w in y)c(y,w)&&N(m,`${f}[${w}]`,y[w]);else m.push(encodeURI(f)+"="+encodeURIComponent(y))}}D.serializeObject=T;function j(m){const f={},y=m.split("&");let w,C;for(let q=0,G=y.length;q<G;++q)w=y[q],C=w.indexOf("="),C===-1?f[decodeURIComponent(w)]="":f[decodeURIComponent(w.slice(0,C))]=decodeURIComponent(w.slice(C+1));return f}D.parseString=j,D.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},D.serialize={"application/x-www-form-urlencoded":n.stringify,"application/json":o},D.parse={"application/x-www-form-urlencoded":j,"application/json":JSON.parse};function te(m){const f=m.split(/\r?\n/),y={};let w,C,q,G;for(let ce=0,me=f.length;ce<me;++ce)C=f[ce],w=C.indexOf(":"),w!==-1&&(q=C.slice(0,w).toLowerCase(),G=S(C.slice(w+1)),y[q]=G);return y}function J(m){return/[/+]json($|[^-\w])/i.test(m)}function Q(m){this.req=m,this.xhr=this.req.xhr,this.text=this.req.method!=="HEAD"&&(this.xhr.responseType===""||this.xhr.responseType==="text")||typeof this.xhr.responseType>"u"?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;let{status:f}=this.xhr;f===1223&&(f=204),this._setStatusProperties(f),this.headers=te(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),this.text===null&&m._responseType?this.body=this.xhr.response:this.body=this.req.method==="HEAD"?null:this._parseBody(this.text?this.text:this.xhr.response)}u(Q.prototype,g.prototype),Q.prototype._parseBody=function(m){let f=D.parse[this.type];return this.req._parser?this.req._parser(this,m):(!f&&J(this.type)&&(f=D.parse["application/json"]),f&&m&&(m.length>0||m instanceof Object)?f(m):null)},Q.prototype.toError=function(){const{req:m}=this,{method:f}=m,{url:y}=m,w=`cannot ${f} ${y} (${this.status})`,C=new Error(w);return C.status=this.status,C.method=f,C.url=y,C},D.Response=Q;function B(m,f){const y=this;this._query=this._query||[],this.method=m,this.url=f,this.header={},this._header={},this.on("end",()=>{let w=null,C=null;try{C=new Q(y)}catch(G){return w=new Error("Parser is unable to parse the response"),w.parse=!0,w.original=G,y.xhr?(w.rawResponse=typeof y.xhr.responseType>"u"?y.xhr.responseText:y.xhr.response,w.status=y.xhr.status?y.xhr.status:null,w.statusCode=w.status):(w.rawResponse=null,w.status=null),y.callback(w)}y.emit("response",C);let q;try{y._isResponseOK(C)||(q=new Error(C.statusText||C.text||"Unsuccessful HTTP response"))}catch(G){q=G}q?(q.original=w,q.response=C,q.status=q.status||C.status,y.callback(q,C)):y.callback(null,C)})}s(B.prototype),u(B.prototype,i.prototype),B.prototype.type=function(m){return this.set("Content-Type",D.types[m]||m),this},B.prototype.accept=function(m){return this.set("Accept",D.types[m]||m),this},B.prototype.auth=function(m,f,y){arguments.length===1&&(f=""),typeof f=="object"&&f!==null&&(y=f,f=""),y||(y={type:typeof btoa=="function"?"basic":"auto"});const w=y.encoder?y.encoder:C=>{if(typeof btoa=="function")return btoa(C);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(m,f,y,w)},B.prototype.query=function(m){return typeof m!="string"&&(m=T(m)),m&&this._query.push(m),this},B.prototype.attach=function(m,f,y){if(f){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(m,f,y||f.name)}return this},B.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},B.prototype.callback=function(m,f){if(this._shouldRetry(m,f))return this._retry();const y=this._callback;this.clearTimeout(),m&&(this._maxRetries&&(m.retries=this._retries-1),this.emit("error",m)),y(m,f)},B.prototype.crossDomainError=function(){const m=new 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.`);m.crossDomain=!0,m.status=this.status,m.method=this.method,m.url=this.url,this.callback(m)},B.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},B.prototype.ca=B.prototype.agent,B.prototype.buffer=B.prototype.ca,B.prototype.write=()=>{throw new Error("Streaming is not supported in browser version of superagent")},B.prototype.pipe=B.prototype.write,B.prototype._isHost=function(m){return m&&typeof m=="object"&&!Array.isArray(m)&&Object.prototype.toString.call(m)!=="[object Object]"},B.prototype.end=function(m){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=m||k,this._finalizeQueryString(),this._end()},B.prototype._setUploadTimeout=function(){const m=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout(()=>{m._timeoutError("Upload timeout of ",m._uploadTimeout,"ETIMEDOUT")},this._uploadTimeout))},B.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));const m=this;this.xhr=D.getXHR();const{xhr:f}=this;let y=this._formData||this._data;this._setTimeouts(),f.addEventListener("readystatechange",()=>{const{readyState:C}=f;if(C>=2&&m._responseTimeoutTimer&&clearTimeout(m._responseTimeoutTimer),C!==4)return;let q;try{q=f.status}catch{q=0}if(!q)return m.timedout||m._aborted?void 0:m.crossDomainError();m.emit("end")});const w=(C,q)=>{q.total>0&&(q.percent=q.loaded/q.total*100,q.percent===100&&clearTimeout(m._uploadTimeoutTimer)),q.direction=C,m.emit("progress",q)};if(this.hasListeners("progress"))try{f.addEventListener("progress",w.bind(null,"download")),f.upload&&f.upload.addEventListener("progress",w.bind(null,"upload"))}catch{}f.upload&&this._setUploadTimeout();try{this.username&&this.password?f.open(this.method,this.url,!0,this.username,this.password):f.open(this.method,this.url,!0)}catch(C){return this.callback(C)}if(this._withCredentials&&(f.withCredentials=!0),!this._formData&&this.method!=="GET"&&this.method!=="HEAD"&&typeof y!="string"&&!this._isHost(y)){const C=this._header["content-type"];let q=this._serializer||D.serialize[C?C.split(";")[0]:""];!q&&J(C)&&(q=D.serialize["application/json"]),q&&(y=q(y))}for(const C in this.header)this.header[C]!==null&&c(this.header,C)&&f.setRequestHeader(C,this.header[C]);this._responseType&&(f.responseType=this._responseType),this.emit("request",this),f.send(typeof y>"u"?null:y)},D.agent=()=>new A;for(const m of["GET","POST","OPTIONS","PATCH","PUT","DELETE"])A.prototype[m.toLowerCase()]=function(f,y){const w=new D.Request(m,f);return this._setDefaults(w),y&&w.end(y),w};A.prototype.del=A.prototype.delete,D.get=(m,f,y)=>{const w=D("GET",m);return typeof f=="function"&&(y=f,f=null),f&&w.query(f),y&&w.end(y),w},D.head=(m,f,y)=>{const w=D("HEAD",m);return typeof f=="function"&&(y=f,f=null),f&&w.query(f),y&&w.end(y),w},D.options=(m,f,y)=>{const w=D("OPTIONS",m);return typeof f=="function"&&(y=f,f=null),f&&w.send(f),y&&w.end(y),w};function oe(m,f,y){const w=D("DELETE",m);return typeof f=="function"&&(y=f,f=null),f&&w.send(f),y&&w.end(y),w}D.del=oe,D.delete=oe,D.patch=(m,f,y)=>{const w=D("PATCH",m);return typeof f=="function"&&(y=f,f=null),f&&w.send(f),y&&w.end(y),w},D.post=(m,f,y)=>{const w=D("POST",m);return typeof f=="function"&&(y=f,f=null),f&&w.send(f),y&&w.end(y),w},D.put=(m,f,y)=>{const w=D("PUT",m);return typeof f=="function"&&(y=f,f=null),f&&w.send(f),y&&w.end(y),w}})(Hr,Hr.exports);var ca=Hr.exports;const da=vi(ca),b="https://aioseo.com/",ar={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/`,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/`,showSitelinks:`${b}docs/how-do-i-get-google-to-show-sitelinks-for-my-site/`,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`,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/`,openAi:`${b}docs/using-openai-to-generate-seo-titles-and-meta-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/`},ur={home:b,liteUpgrade:`${b}lite-upgrade/`,pricing:`${b}pricing/`,semrushPricing:`${b}semrush-pricing/`},ha=(t,e=null,r)=>{if(t==="feature-manager-upgrade"&&e!=="no-license-key"){const s=e==="aioseo-local-business"?"&features[]=local-seo":"&features[]="+(e?e.replace("aioseo-",""):"");return ve(t,e,ur[r])+s}return ve(t,e,ur[r])},pa=t=>ve("documentation",t,ar[t]),fa=(t,e,r,s=!1)=>{const o=s?V('<a href="%1$s" class="no-underline" target="_blank"> →</a>',ve(t,r,ur[r])):"";return V('<a href="%1$s" target="_blank">%2$s</a>%3$s',ve(t,r,ur[r]),e,o)},ga=(t,e,r=!1,s=!0)=>{const o=s?'target="_blank"':"_self",n=r?V(`<a href="%1$s" class="no-underline" target="${o}"> →</a>`,e):"";return V(`<a href="%1$s" target="${o}">%2$s</a>%3$s`,e,t,n)},ma=(t,e,r=!1)=>{const s=r?V('<a href="%1$s" class="no-underline" target="_blank"> →</a>',ve("documentation",e,ar[e])):"";return V('<a href="%1$s" target="_blank">%2$s</a>%3$s',ve("documentation",e,ar[e]),t,s)},ya=(t,e,r,s=`${b}pricing/`)=>ve(e,r,s)+"&features[]="+t,ve=(t,e=null,r=`${b}pricing/`)=>{let s=!1;(`${b}pricing/`===r||`${b}lite-upgrade/`===r)&&"Lite".toLowerCase()!=="pro"&&(s=L().aioseo.urls.upgradeUrl!==b,r=`${b}lite-upgrade/`);const o=r.split("#"),n=[{key:"utm_source",value:"WordPress"},{key:"utm_campaign",value:"Lite".toLowerCase()==="pro"?"proplugin":"liteplugin"},{key:"utm_medium",value:t}];e&&n.push({key:"utm_content",value:e}),/^https?:\/\//i.test(o[0])||(o[0]=b+o[0]);const a=o[0].split("?");return o[0]=a[0]+(a[1]?"?"+a[1]+"&":"?"),o[0]+=n.map(u=>`${u.key}=${u.value}`).join("&"),r=o[0],o[1]&&(r=r+"#"+o[1]),s&&(r=L().aioseo.urls.upgradeUrl.replace("https%3A%2F%2Faioseo.com%2F",ba(r))),r},ba=t=>{const e={};e["'"]="%27",e["("]="%28",e[")"]="%29",e["*"]="%2A",e["~"]="%7E",e["!"]="%21",t=encodeURIComponent(t),t=t.replace("%20"," ");for(const r in e)t=t.replace(r,e[r]);return t.replace(/(%([a-z0-9]{2}))/g,function(r,s,o){return"%"+o.toUpperCase()})},Vo=t=>t&&t.replace(/^\//,""),os=t=>t&&t.replace(/\/$/,""),tr=t=>os(t)+"/",Da=(t,e="aioseo/v1")=>{const r=L();return t=r.aioseo.data.hasUrlTrailingSlash?tr(t):os(t),tr(r.aioseo.urls.restUrl)+tr(e)+Vo(t)},p={docLinks:ar,getDocLink:ma,getDocUrl:pa,getPlainLink:ga,getPricingUrl:ya,getUpsellLink:fa,getUpsellUrl:ha,restUrl:Da,trailingSlashIt:tr,unForwardSlashIt:Vo,unTrailingSlashIt:os,utmUrl:ve};var So;const h=da.agent().set("X-WP-Nonce",(So=window==null?void 0:window.aioseo)==null?void 0:So.nonce).use(t=>{t.url[0]==="/"&&(t.url=p.unTrailingSlashIt(p.restUrl(t.url))),t.on("response",e=>{(e.status===401||e.status===403)&&console.error(e)})});var lr={exports:{}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */lr.exports;(function(t,e){(function(r){var s=e,o=t&&t.exports==s&&t,n=typeof xr=="object"&&xr;(n.global===n||n.window===n)&&(r=n);var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\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,g={"":"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"," ":"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"},A=/["&'<>`]/g,k={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},D=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,S=/[\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]/,T=/&(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,N={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:" ",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:" ",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:""},j={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:" ",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:"ÿ"},te={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:"Ÿ"},J=[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],Q=String.fromCharCode,B={},oe=B.hasOwnProperty,m=function(x,W){return oe.call(x,W)},f=function(x,W){for(var X=-1,de=x.length;++X<de;)if(x[X]==W)return!0;return!1},y=function(x,W){if(!x)return W;var X={},de;for(de in W)X[de]=m(x,de)?x[de]:W[de];return X},w=function(x,W){var X="";return x>=55296&&x<=57343||x>1114111?(W&&G("character reference outside the permissible Unicode range"),"�"):m(te,x)?(W&&G("disallowed character reference"),te[x]):(W&&f(J,x)&&G("disallowed character reference"),x>65535&&(x-=65536,X+=Q(x>>>10&1023|55296),x=56320|x&1023),X+=Q(x),X)},C=function(x){return"&#x"+x.toString(16).toUpperCase()+";"},q=function(x){return"&#"+x+";"},G=function(x){throw Error("Parse error: "+x)},ce=function(x,W){W=y(W,ce.options);var X=W.strict;X&&S.test(x)&&G("forbidden code point");var de=W.encodeEverything,Ue=W.useNamedReferences,bt=W.allowUnsafeSymbols,zt=W.decimal?q:C,Ke=function(re){return zt(re.charCodeAt(0))};return de?(x=x.replace(a,function(re){return Ue&&m(g,re)?"&"+g[re]+";":Ke(re)}),Ue&&(x=x.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),Ue&&(x=x.replace(c,function(re){return"&"+g[re]+";"}))):Ue?(bt||(x=x.replace(A,function(re){return"&"+g[re]+";"})),x=x.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),x=x.replace(c,function(re){return"&"+g[re]+";"})):bt||(x=x.replace(A,Ke)),x.replace(i,function(re){var Vt=re.charCodeAt(0),Cr=re.charCodeAt(1),ws=(Vt-55296)*1024+Cr-56320+65536;return zt(ws)}).replace(u,Ke)};ce.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var me=function(x,W){W=y(W,me.options);var X=W.strict;return X&&D.test(x)&&G("malformed character reference"),x.replace(T,function(de,Ue,bt,zt,Ke,re,Vt,Cr,ws){var Ht,Gt,As,Es,Wt,jt;return Ue?(Wt=Ue,N[Wt]):bt?(Wt=bt,jt=zt,jt&&W.isAttributeValue?(X&&jt=="="&&G("`&` did not start a character reference"),de):(X&&G("named character reference was not terminated by a semicolon"),j[Wt]+(jt||""))):Ke?(As=Ke,Gt=re,X&&!Gt&&G("character reference was not terminated by a semicolon"),Ht=parseInt(As,10),w(Ht,X)):Vt?(Es=Vt,Gt=Cr,X&&!Gt&&G("character reference was not terminated by a semicolon"),Ht=parseInt(Es,16),w(Ht,X)):(X&&G("named character reference was not terminated by a semicolon"),de)})};me.options={isAttributeValue:!1,strict:!1};var ke=function(x){return x.replace(A,function(W){return k[W]})},K={version:"1.2.0",encode:ce,decode:me,escape:ke,unescape:me};if(s&&!s.nodeType)if(o)o.exports=K;else for(var yt in K)m(K,yt)&&(s[yt]=K[yt]);else r.he=K})(xr)})(lr,lr.exports);var wa=lr.exports,Ho=xi(Object.getPrototypeOf,Object),Aa="[object Object]",Ea=Function.prototype,Sa=Object.prototype,Go=Ea.toString,ka=Sa.hasOwnProperty,va=Go.call(Object);function Ca(t){if(!Ti(t)||Bi(t)!=Aa)return!1;var e=Ho(t);if(e===null)return!0;var r=ka.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Go.call(r)==va}var Wo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ts=Wo&&typeof module=="object"&&module&&!module.nodeType&&module,xa=Ts&&Ts.exports===Wo,Bs=xa?Oi.Buffer:void 0,Os=Bs?Bs.allocUnsafe:void 0;function Ta(t,e){if(e)return t.slice();var r=t.length,s=Os?Os(r):new t.constructor(r);return t.copy(s),s}function Ba(t){var e=new t.constructor(t.byteLength);return new Ss(e).set(new Ss(t)),e}function Oa(t,e){var r=e?Ba(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function Fa(t){return typeof t.constructor=="function"&&!Fi(t)?Ni(Ho(t)):{}}function jr(t,e,r){(r!==void 0&&!qi(t[e],r)||r===void 0&&!(e in t))&&Pi(t,e,r)}function Yr(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function Na(t){return Li(t,Bo(t))}function qa(t,e,r,s,o,n,i){var a=Yr(t,r),u=Yr(e,r),c=i.get(u);if(c){jr(t,r,c);return}var g=n?n(a,u,r+"",t,e,i):void 0,A=g===void 0;if(A){var k=ks(u),D=!k&&Ii(u),S=!k&&!D&&Ri(u);g=u,k||D||S?ks(a)?g=a:Ui(a)?g=Mi(a):D?(A=!1,g=Ta(u,!0)):S?(A=!1,g=Oa(u,!0)):g=[]:Ca(u)||vs(u)?(g=a,vs(a)?g=Na(a):(!Oo(a)||$i(a))&&(g=Fa(u))):A=!1}A&&(i.set(u,g),o(g,u,s,n,i),i.delete(u)),jr(t,r,g)}function jo(t,e,r,s,o){t!==e&&_i(e,function(n,i){if(o||(o=new zi),Oo(n))qa(t,e,i,r,jo,s,o);else{var a=s?s(Yr(t,i),n,i+"",t,e,o):void 0;a===void 0&&(a=n),jr(t,i,a)}},Bo)}var z=Vi(function(t,e,r){jo(t,e,r)});function Pa(t,e,r){return t==null?t:Hi(t,e,r)}const ns=t=>Fo(t)?La(wa.decode(t)):"",La=t=>Fo(t)?t.replace(/(<([^>]+)>)/gi,""):"",Yo=t=>typeof t!="string"?t:t.replace(/(<|<).*?\bon\w+=.*?(>|>)/gmi,""),d="all-in-one-seo-pack";class Ia{constructor(){v(this,"personalize",!1);v(this,"head",(e,r)=>this[e+"Head"]!==void 0?this[e+"Head"](r):"");v(this,"body",(e,r)=>this[e+"Body"]!==void 0?this[e+"Body"](r):"");v(this,"titleHead",e=>{switch((e==null?void 0:e.error)||""){case"title-missing":return l("We couldn't find an SEO Title.",d);case"title-too-short":return this.personalize?V(l("Your SEO title is only %1$d characters long, which is too short.",d),e.value.length):V(l("The SEO title is only %1$d characters long, which is too short.",d),e.value.length);case"title-too-long":return this.personalize?V(l("Your SEO title is %1$d characters long, which is too long.",d),e.value.length):V(l("The SEO title is %1$d characters long, which is too long.",d),e.value.length);default:return this.personalize?V(l("Your SEO title is set and is %1$d characters long.",d),e.value.length):V(l("The SEO title is set and is %1$d characters long.",d),e.value.length)}});v(this,"titleBody",e=>{const r=L();return{code:e.value,message:l("Ensure your page's title includes your target keywords, and design it to encourage users to click.",d)+"<br><br>"+l("Writing compelling titles is both a science and an art. There are automated tools that can analyze your title against known metrics for readability and click-worthiness. You also need to understand the psychology of your target audience.",d),buttonText:l("Edit Your Page Title",d),buttonLink:r.aioseo.data.staticHomePage?`${r.aioseo.urls.staticHomePage}&aioseo-scroll=aioseo-post-settings-post-title-row&aioseo-highlight=aioseo-post-settings-post-title-row`:`${r.aioseo.urls.aio.searchAppearance}&aioseo-scroll=aioseo-home-page-site-title&aioseo-highlight=aioseo-home-page-site-title`}});v(this,"descriptionHead",e=>{switch((e==null?void 0:e.error)||""){case"description-missing":return this.personalize?l("No meta description was found for your page.",d):l("No meta description was found for the page.",d);case"description-too-short":return this.personalize?V(l("Your meta description is only %1$d characters long, which is too short.",d),e.value.length):V(l("The meta description is only %1$d characters long, which is too short.",d),e.value.length);case"description-too-long":return this.personalize?V(l("Your meta description is %1$d characters long, which is too long.",d),e.value.length):V(l("The meta description is %1$d characters long, which is too long.",d),e.value.length);default:return this.personalize?V(l("Your meta description is set and is %1$d characters long.",d),e.value.length):V(l("The meta description is set and is %1$d characters long.",d),e.value.length)}});v(this,"descriptionBody",e=>{const r=L();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.",d)+"<br><br>"+l("The description should stimulate reader interest and get them to click on the article. Think of it as a mini-advertisement for your content.",d),buttonText:l("Edit Your Meta Description",d),buttonLink:r.aioseo.data.staticHomePage?`${r.aioseo.urls.staticHomePage}&aioseo-scroll=aioseo-post-settings-meta-description-row&aioseo-highlight=aioseo-post-settings-meta-description-row`:`${r.aioseo.urls.aio.searchAppearance}&aioseo-scroll=aioseo-home-page-meta-description&aioseo-highlight=aioseo-home-page-meta-description`}});v(this,"h1TagsHead",e=>{switch((e==null?void 0:e.error)||""){case"h1-missing":return l("No H1 tag was found.",d)+" "+l("For the best user experience there should be exactly one H1 tag on each page.",d);case"h1-too-many":return V(l("%1$d H1 tags were found.",d),e.value.length)+" "+l("For the best user experience there should be exactly one H1 tag on each page.",d);default:return this.personalize?l("One H1 tag was found on your page.",d):l("One H1 tag was found on the page.",d)}});v(this,"h1TagsBody",e=>{const r=L();return{code:e.error==="h1-missing"?null:e.value.join("<br>"),message:l("WordPress sites usually insert the page or post title as an H1 tag (although custom themes can change this behavior).",d)+"<br><br>"+l("Ensure your most important keywords appear in the H1 tag - don't force it, use them in a natural way that makes sense to human readers.",d)+"<br><br>"+l("Because your headline plays a large role in reader engagement, it's worth spending extra time perfecting it. Many top copywriters spend hours getting their headlines just right - sometimes they spend longer on the headline than the rest of the article!",d)+"<br><br>"+l("A good headline stimulates reader interest and offers a compelling reason to read your content. It promises a believable benefit.",d)+"<br><br>"+l("You should write as if your readers are selfish people with short attention spans (because that describes a large percentage of the world's population). Readers visit websites for selfish reasons - they're not there to make you happy.",d),buttonText:l("Edit Your Page",d),buttonLink:r.aioseo.data.staticHomePage?r.aioseo.urls.staticHomePage:null}});v(this,"h2TagsHead",e=>e.error==="h2-missing"?this.personalize?l("No H2 tags were found on your page.",d):l("No H2 tags were found on the page.",d):this.personalize?l("H2 tags were found on your page.",d)+" ("+e.value.length+")":l("H2 tags were found on the page.",d)+" ("+e.value.length+")");v(this,"h2TagsBody",e=>{const r=L();return{code:e.error==="h2-missing"?null:e.value.join("<br>"),message:l("Make sure you have a good balance of H2 tags to plain text in your content. Break the content down into logical sections, and use headings to introduce each new topic.",d)+"<br><br>"+l("Also, try to include synonyms and relevant terminology in H2 tag text. Search engines are pretty smart - they know which words usually occur together in each niche.",d)+"<br><br>"+l("It should be easy to include your main and supporting keywords in the H2 tags - after all, these keywords describe your content! If it's hard to work the keywords into your subheadings, it could be a sign that the keywords aren't closely related to your content.",d)+"<br><br>"+l("Don't try to force keywords into sub-headings if they feel unnatural. It will send the wrong message to your readers, possibly driving them away.",d),buttonText:l("Edit Your Page",d),buttonLink:r.aioseo.data.staticHomePage?r.aioseo.urls.staticHomePage:null}});v(this,"noImgAltAttsHead",e=>e.error==="image-missing-alt"?this.personalize?l("Some images on your page have no alt attribute.",d)+" ("+e.value.length+")":l("Some images on the page have no alt attribute.",d)+" ("+e.value.length+")":this.personalize?l("All images on your page have alt attributes.",d):l("All images on the page have alt attributes.",d));v(this,"noImgAltAttsBody",e=>{const r=L();return{codeAlt:e.error!=="image-missing-alt"?null:e.value.map(o=>Yo(o)).join(` `),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.",d),buttonText:l("Edit Your Page",d),buttonLink:r.aioseo.data.staticHomePage?r.aioseo.urls.staticHomePage:null}});v(this,"linksRatioHead",e=>{switch((e==null?void 0:e.error)||""){case"internal-links-missing":return this.personalize?l("No internal links were found on your page.",d):l("No internal links were found on the page.",d);case"internal-links-too-few":return this.personalize?l("Too few internal links on your page.",d):l("Too few internal links on the page.",d);case"invalid-ratio":return l("The ratio of internal links to external links is uneven.",d);default:return this.personalize?l("Your page has a correct number of internal and external links.",d):l("The page has a correct number of internal and external links.",d)}});v(this,"linksRatioBody",e=>{const r=L();return{code:l("Internal:",d)+" "+e.value.internal+"<br>"+l("External:",d)+" "+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).`,d)+"<br><br>"+l("It's impossible to cover every aspect of a subject on a single page, but your readers may be fascinated by some detail you barely touch on. If you link to a resource where they can learn more, they'll be grateful. What's more, you'll be rewarded with higher rankings!",d),buttonText:l("Edit Your Page",d),buttonLink:r.aioseo.data.staticHomePage?r.aioseo.urls.staticHomePage:null}});v(this,"canonicalTagHead",e=>e.error==="canonical-missing"?this.personalize?l("No canonical link tag found on your page.",d):l("No canonical link tag found on the page.",d):this.personalize?l("Your page is using the canonical link tag.",d):l("The page is using the canonical link tag.",d));v(this,"canonicalTagBody",e=>{const r=L();return{code:e.value,message:l(`Every page on your site should have a <link> tag with a 'rel="canonical"' attribute. The link tag should go inside the page's head tag, and it should contain the page's "correct" URL.`,d)+"<br><br>"+l(`If you've republished an article from another source (such as another site or a different section of your own site) then you need to pick which URL is the "correct" one and use that!`,d),buttonText:l("Edit Your Page",d),buttonLink:r.aioseo.data.staticHomePage?`${r.aioseo.urls.staticHomePage}&aioseo-tab=advanced&aioseo-scroll=aioseo-post-canonical-url&aioseo-highlight=aioseo-post-canonical-url`:null}});v(this,"noindexHead",e=>e.error==="noindex"?this.personalize?l("Your page contains a noindex header or meta tag.",d):l("The page contains a noindex header or meta tag.",d):this.personalize?l("Your page does not contain any noindex header or meta tag.",d):l("The page does not contain any noindex header or meta tag.",d));v(this,"noindexBody",()=>{const e=L();return{message:l("Only ever use noindex meta tag or header on pages you want to keep out of the reach of search engines!",d),buttonText:l("Edit Your Page",d),buttonLink:e.aioseo.data.staticHomePage?`${e.aioseo.urls.staticHomePage}&aioseo-tab=advanced&aioseo-scroll=aioseo-post-robots-setting&aioseo-highlight=aioseo-post-robots-setting`:null}});v(this,"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.",d):l("The www and non-www versions of the URL are not redirected to the same site.",d):this.personalize?l("Both the www and non-www versions of your URL are redirected to the same site.",d):l("Both the www and non-www versions of the URL are redirected to the same site.",d));v(this,"wwwCanonicalizationBody",()=>{const e=L();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.`,d)+"<br><br>"+l('You should use HTTP redirections (301 permanant 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.',d),buttonText:l("Edit Your Page",d),buttonLink:e.aioseo.data.staticHomePage?e.aioseo.urls.staticHomePage:null}});v(this,"robotsRulesHead",e=>e.error==="no-robots"?this.personalize?l("Your robots.txt file is missing or unavailable.",d):l("The robots.txt file is missing or unavailable.",d):e.value.match(/disallow:/i)?this.personalize?l('Your site has a robots.txt file which includes one or more "disallow" directives.',d):l('The site has a robots.txt file which includes one or more "disallow" directives.',d):this.personalize?l("Your site has a robots.txt file.",d):l("The site has a robots.txt file.",d));v(this,"robotsRulesBody",e=>{const r=L();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.",d)+"<br><br>"+l("You can manually create a robots.txt file and upload it to your site's web root. A simpler option is to use a plugin for your CMS platform.",d)+"<br><br>"+V(l("%1$s has a full suite of tools to manage the robots.txt file, along with other related technologies, like XML Sitemaps.",d),"AIOSEO"),buttonText:l("Edit Your Page",d),buttonLink:r.aioseo.data.staticHomePage?r.aioseo.urls.staticHomePage:null}});v(this,"openGraphHead",e=>e.error==="ogp-missing"?l("Some Open Graph meta tags are missing.",d):e.error==="ogp-duplicates"?l("Duplicate Open Graph meta tags were found.",d):l("All the required Open Graph meta tags have been found.",d));v(this,"openGraphBody",e=>{const r=L();return{code:e.value?e.value.join("<br>"):null,message:l("Insert a customized Open Graph meta tag for each important page on your site. The standard is very well documented - you can learn more from Facebook's developer pages.",d)+"<br><br>"+V(l("%1$s provides a simple but powerful interface to craft your Open Graph data. You get immediate feedback with an interactive preview, and you don't have to mess around with raw HTML markup.",d),"AIOSEO"),buttonText:l("Edit Your Page",d),buttonLink:r.aioseo.data.staticHomePage?`${r.aioseo.urls.staticHomePage}&aioseo-tab=social&social-tab=facebook&aioseo-scroll=aioseo-post-settings-facebook&aioseo-highlight=aioseo-post-settings-facebook`:r.aioseo.urls.aio.socialNetworks+"#/facebook"}});v(this,"schemaHead",e=>e.error==="schema-missing"?this.personalize?l("No Schema.org data was found on your page.",d):l("No Schema.org data was found on the page.",d):this.personalize?l("We found Schema.org data on your page.",d):l("We found Schema.org data on the page.",d));v(this,"schemaBody",()=>{const e=L();return{message:V(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.",d),"AIOSEO"),buttonText:l("Edit Your Page",d),buttonLink:e.aioseo.data.staticHomePage?`${e.aioseo.urls.staticHomePage}&aioseo-tab=schema&aioseo-scroll=aioseo-post-schema&aioseo-highlight=aioseo-post-schema`:null}});v(this,"hasImgExpiresHead",e=>e.error==="image-expires-missing"?this.personalize?l('Your server is not using "expires" headers for your images.',d):l('The server is not using "expires" headers for the images.',d):this.personalize?l('Your server is using "expires" headers for your images.',d):l('The server is using "expires" headers for the images.',d));v(this,"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.',d)+"<br><br>"+l("Alternatively, you can use a CMS plugin to simplify the process - it's a more user-friendly option. WordPress has a host of caching plugins, and most of them give you options to control the caching headers.",d)}));v(this,"unminifiedJsHead",e=>e.error==="js-unminified"?l("Some Javascript files don't seem to be minified.",d):l("All Javascript files appear to be minified.",d));v(this,"unminifiedJsBody",e=>({codeAlt:e.error!=="js-unminified"?null:e.value.join(` `),message:l("JavaScript files appear in many places, including frameworks (like Bootstrap), themes and templates, and third-party plugins.",d)+"<br><br>"+l("We recommend tracking down where the un-minified JavaScript files come from",d)+"<br><br>"+l("There are server-side tools (including WordPress plugins) to automatically minify JavaScript files.",d)}));v(this,"unminifiedCssHead",e=>e.error==="css-unminified"?l("Some CSS files don't seem to be minified.",d):l("All CSS files appear to be minified.",d));v(this,"unminifiedCssBody",e=>({codeAlt:e.error!=="css-unminified"?null:e.value.join(` `),message:l("CSS files appear in many places, including frameworks (like Bootstrap), themes and templates, and third-party plugins.",d)+"<br><br>"+l("We recommend tracking down where the un-minified CSS files come from.",d)+"<br><br>"+l("There are server-side tools (including WordPress plugins) to automatically minify CSS files.",d)}));v(this,"pageObjectsHead",e=>{const r=this.personalize?V(l("Your page makes %1$d requests.",d),e.total):V(l("The page makes %1$d requests.",d),e.total);return e.error==="page-objects-too-many"?r+" "+l("More than 20 requests can result in slow page loading.",d):r});v(this,"pageObjectsBody",e=>({code:e.error!=="page-objects-too-many"?null:l("Images:",d)+" "+e.value.images+"<br>"+l("JavaScript:",d)+" "+e.value.js+"<br>"+l("CSS:",d)+" "+e.value.css,message:l("Try to replace embedded objects with HTML5 alternatives.",d)}));v(this,"pageSizeHead",e=>{let r=Math.round(e.value/1e3),s="";return e.error==="page-size-too-big"&&(r=Math.ceil(e.value/1e3),s=l("This is over our recommendation of 50 KB.",d)),33>Math.round(e.value/1e3)&&(s=l("This is under the average of 33 KB.",d)),V(l("The size of the HTML document is %1$d KB.",d),r)+" "+s});v(this,"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.",d)+"<br><br>"+l("Sometimes inline CSS is a culprit. A little inline CSS can help your page render faster. Too much will bloat the HTML file and increase the page loading time.",d)+"<br><br>"+l(`You can reduce CSS repetition with HTML class and ID attributes. Often the same rules will be repeated across many page elements, embedded in each tag's "style" attribute. You can extract them into a single "style" tag and use classes and ID's to target each element.`,d)+"<br><br>"+l("Removing white space can also have an impact on your HTML page's size. White space characters like carriage returns and tabs are ignored by the browser, but they make the markup easier for developers to read. So you should always strip them from your templates or themes before you use them in a production environment.",d)}));v(this,"responseTimeHead",e=>e.error==="response-time-too-long"?this.personalize?V(l("The response time of your page is %1$f seconds. It is recommended to keep it equal to or below 0.2 seconds.",d),e.value):V(l("The response time of the page is %1$f seconds. It is recommended to keep it equal to or below 0.2 seconds.",d),e.value):this.personalize?l("Your response time is under 0.2 seconds.",d):l("The response time is under 0.2 seconds.",d));v(this,"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.",d)+"<br><br>"+l("You can get an even greater boost in speed with a content delivery network service. These services host a copy of your content on multiple servers spread out across the globe. A user's request is handled by the edge server that's closest to their physical location, so the content arrives incredibly fast.",d)}));v(this,"visiblePluginsHead",e=>e.error==="plugins-visible"?this.personalize?l("Plugins from your website are publicly visible.",d)+" ("+e.value.length+")":l("Plugins from the website are publicly visible.",d)+" ("+e.value.length+")":this.personalize?l("You have no visible plugins!",d):l("There are no visible plugins.",d));v(this,"visiblePluginsBody",e=>({code:e.error!=="plugins-visible"?null:e.value.join("<br>"),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.",d)}));v(this,"visibleThemesHead",e=>e.error==="themes-visible"?this.personalize?V(l("Anyone can see that you are using the %1$s theme.",d),e.value[0]):V(l("Anyone can see that they are using the %1$s theme.",d),e.value[0]):this.personalize?l("Your theme is not visible!",d):l("The theme is not visible.",d));v(this,"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.",d)}));v(this,"directoryListingHead",e=>e.error==="directory-listing-open"?this.personalize?l("Directory Listing seems to be enabled on your server.",d):l("Directory Listing seems to be enabled on the server.",d):this.personalize?l("Directory Listing seems to be disabled on your server.",d):l("Directory Listing seems to be disabled on the server.",d));v(this,"directoryListingBody",()=>({message:l(`Fortunately, every popular web server has options to prevent directory listings. They'll show a "403 forbidden" message instead.`,d)+"<br><br>"+l("Alternatively, you can create an empty index.php file and save it in every directory on your site. That's an approach that WordPress uses and it works well.",d)}));v(this,"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.",d):l("It looks like this site has been added to one of Google's malwares lists.",d):this.personalize?l("Google has not flagged your site for malware!",d):l("Google has not flagged this site for malware.",d));v(this,"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.",d)}));v(this,"secureConnectionHead",e=>e.error==="insecure-connection"?this.personalize?l("Your site is not using a secure transfer protocol (https).",d):l("The site is not using a secure transfer protocol (https).",d):this.personalize?l("Your site is using a secure transfer protocol (https).",d):l("The site is using a secure transfer protocol (https).",d));v(this,"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.",d)}))}}const Ra=new Ia,Fs="all-in-one-seo-pack",Or=t=>(Object.keys(t).forEach(e=>{const r=t[e];Ra.head(e,r)||["searchPreview","mobileSearchPreview","mobileSnapshot"].includes(e)||delete t[e]}),t),Qc=$("AnalyzerStore",{state:()=>({analyzer:null,analyzing:!1,analyzeError:null}),getters:{getSiteAnalysisResults:()=>{let t={};try{const e=I();t=JSON.parse(e.internalOptions.internal.siteAnalysis.results)}catch{t={}}return t},getCompetitorSiteAnalysisResults:()=>I().internalOptions.internal.siteAnalysis.competitors||{},getHeadlineAnalysisResults:()=>I().internalOptions.internal.headlineAnalysis.headlines||{},allItemsCount:t=>e=>t.recommendedCount(e)+t.criticalCount(e)+t.goodCount(e),recommendedCount:t=>e=>{let r=0;return e=e||t.getSiteAnalysisResults||{},Object.keys(e).forEach(s=>{const o=Or(e[s]);Object.keys(o).forEach(n=>{o[n].status==="warning"&&r++})}),r},criticalCount:t=>e=>{let r=0;return e=e||t.getSiteAnalysisResults||{},Object.keys(e).forEach(s=>{const o=Or(e[s]);Object.keys(o).forEach(n=>{o[n].status==="error"&&r++})}),r},goodCount:t=>e=>{let r=0;return e=e||t.getSiteAnalysisResults||{},Object.keys(e).forEach(s=>{const o=Or(e[s]);Object.keys(o).forEach(n=>{o[n].status==="passed"&&r++})}),r}},actions:{runSiteAnalyzer(t={}){return this.analyzing=!0,this.analyzer="competitor-site",h.post(p.restUrl("analyze")).send({url:t.url,refresh:t.refresh}).then(e=>{const r=I();if(t.url)return r.updateOption("internalOptions",{groups:["internal","siteAnalysis"],key:"competitors",value:e.body}),this.analyzing=!1,e;r.updateOption("internalOptions",{groups:["internal","siteAnalysis"],key:"score",value:e.body.score}),r.updateOption("internalOptions",{groups:["internal","siteAnalysis"],key:"results",value:JSON.stringify(e.body.results)}),this.analyzing=!1}).catch(e=>{var s;this.analyzing=!1;let r=l("We couldn't connect to the site, please try again later.",Fs);(s=e.response.body.response)!=null&&s.error&&(r=e.response.body.response.error),this.analyzeError=r})},runHeadlineAnalyzer(t={}){return this.analyzer="headline",h.post(p.restUrl("analyze-headline")).send({headline:t.headline,shouldStoreHeadline:t.shouldStoreHeadline}).then(e=>{I().updateOption("internalOptions",{groups:["internal","headlineAnalysis"],key:"headlines",value:e.body}),this.analyzing=!1}).catch(e=>{var s;this.analyzing=!1;let r=l("We couldn't analyze your title, please try again later.",Fs);(s=e.response.body)!=null&&s.message&&(r=e.response.body.message),this.analyzeError=r})},deleteCompetitorSite(t){return h.post(p.restUrl("analyze/delete-site")).send({url:t}).then(e=>{I().updateOption("internalOptions",{groups:["internal","siteAnalysis"],key:"competitors",value:e.body}),this.analyzing=!1})},deleteHeadline(t){return h.post(p.restUrl("analyze-headline/delete")).send({headline:t}).then(e=>{I().updateOption("internalOptions",{groups:["internal","siteAnalysis"],key:"headlines",value:e.body}),this.analyzing=!1})}}}),Ua=$("BackupsStore",{state:()=>({backups:[],networkBackups:{}}),actions:{createBackup(t){return h.post(p.restUrl("backup")).send(t).then(e=>{if(t.siteId){this.networkBackups[t.siteId]=e.body.backups;return}this.backups=e.body.backups})},restoreBackup(t){return h.post(p.restUrl("backup/restore")).send(t).then(e=>{if(e.body.license&&!t.siteId){const s=Ot();s.license=e.body.license,s.clearLicenseNotices()}const r=I();if(r.options=e.body.options,r.internalOptions=e.body.internalOptions,t.siteId){this.networkBackups[t.siteId]=e.body.backups;return}this.backups=e.body.backups})},deleteBackup(t){return h.delete(p.restUrl("backup")).send(t).then(e=>{if(t.siteId){this.networkBackups[t.siteId]=e.body.backups;return}this.backups=e.body.backups})}}}),Xc=$("ConnectStore",{state:()=>({}),getters:{isConnected:()=>{var r;const t=Ot(),e=I();return"Lite".toLowerCase()!=="pro"&&((r=e.internalOptions.internal.siteAnalysis)==null?void 0:r.connectToken)||t.license.isActive}},actions:{getConnectUrl({key:t,wizard:e}){return h.post(p.restUrl("connect-url")).send({licenseKey:t.trim(),wizard:e})},processConnect(t){const e=tu();return h.post(p.restUrl("connect-pro")).send({downloadUrl:t.file,token:t.token,wizard:t.wizard?JSON.stringify(e.wizard.$state):null})},saveConnectToken(t){return I().updateOption("internalOptions",{groups:["internal","siteAnalysis"],key:"connectToken",value:t}),h.post(p.restUrl("connect")).send({token:t})}}}),Ns=()=>{const t=(s,o)=>(s==="licenseKey"&&(o=""),s==="rules"&&Array.isArray(o)&&o.forEach((n,i)=>{const a=JSON.parse(n);a.userAgent===null&&a.rule==="allow"&&a.directoryPath===null&&o.splice(i,1)}),s==="separator"&&(o=ns(o)),o===null?"":o);return{actions:{updateOriginalOptions(s,o){this[s]=JSON.parse(JSON.stringify(o))},disableDirtyCheck(s){this.disabled.push(s)}},normalize:s=>s?JSON.stringify(JSON.parse(JSON.stringify(s)),t):{}}},Ge=$("DirtyOptionsStore",{state:()=>({disabled:[],options:{},dynamicOptions:{},networkOptions:{},redirectOptions:{},indexNowOptions:{}}),getters:{isDirty:t=>{const e=Ns(),r=is(),s=I(),o=as(),n=[[t.options,s.options],[t.networkOptions,s.networkOptions],[t.dynamicOptions,s.dynamicOptions]];return t.disabled.includes("redirects")||n.push([t.redirectOptions,o.options]),t.disabled.includes("indexNow")||n.push([t.indexNowOptions,r.options]),!n.every(([i,a])=>e.normalize(i)===e.normalize(a))}},actions:{...Ns().actions}}),Ma=$("HelpPanelStore",{state:()=>({categories:{},docs:{}})}),is=$("IndexNowStore",{state:()=>({options:{indexNow:{apiKey:null}}}),actions:{generateApiKey(){return h.get(p.restUrl("index-now/generate-api-key")).then(t=>(this.options.indexNow.apiKey=t.body.key,Ge().updateOriginalOptions("indexNowOptions",this.options),t.body.key))},getApiKey(){return h.get(p.restUrl("index-now/api-key")).then(t=>(this.options.indexNow.apiKey=t.body.key,Ge().updateOriginalOptions("indexNowOptions",this.options),t.body.key))}}}),Ko=$("KeywordRankTrackerStore",{state:()=>({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},siteFocusKeywords:[],options:{},modalOpenAddKeywords:!1,modalOpenCreateGroup:!1,modalOpenAssignGroups:!1,modalOpenDeleteKeywords:!1,modalOpenUpdateGroup:!1,modalOpenDeleteGroups:!1,modalOpenPostEdit:!1,isFetchingStatistics:!1,fetchKeywordsCallback:null,keywordsLimit:0,errors:{crud:null},favoriteGroup:[]}),getters:{range(){return Kr().range}},actions:{toggleModal(t){if(this.fetchKeywordsCallback=(t==null?void 0:t.fetchKeywordsCallback)||null,t.modal==="modalOpenAddKeywords"&&t.open&&(this.keywords.selected=[]),t.modal==="modalOpenAssignGroups"&&t.open&&(this.keywords.selected=(t==null?void 0:t.keywords)??[]),t.modal==="modalOpenDeleteKeywords"&&t.open&&(this.keywords.selected=(t==null?void 0:t.keywords)??[]),t.modal==="modalOpenCreateGroup"&&(this.errors.crud=null),t.modal==="modalOpenUpdateGroup"&&t.open&&(this.errors.crud=null),t.modal==="modalOpenPostEdit"&&!t.open){const e=Kr();e.shouldShowSampleReports=!1}this[t.modal]=t.open},insertKeywords({keywords:t,groups:e}){return this.errors.crud=null,h.post(p.restUrl("search-statistics/keyword-rank-tracker/keywords")).send({keywords:t,groups:e}).then(r=>r).catch(r=>{var s,o;throw this.errors.crud=((o=(s=r==null?void 0:r.response)==null?void 0:s.body)==null?void 0:o.error)||null,r})},abstractFetchKeywords(t={}){return this.fetchKeywordsCallback?this.fetchKeywordsCallback(t):this.fetchKeywords(t)},fetchKeywords(t={}){return this.keywords.paginated={...this.keywords.paginated,...t},h.get(p.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[]":(t==null?void 0:t.names)||[],"ids[]":(t==null?void 0:t.ids)||[]}).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:t,payload:e}){return h.put(p.restUrl(`search-statistics/keyword-rank-tracker/keywords/${t}/`)).send(e).then(r=>r).catch(r=>{throw r})},deleteKeywords(t){return h.delete(p.restUrl("search-statistics/keyword-rank-tracker/keywords")).send({ids:t}).then(e=>([this.keywords.paginated,this.groups.tableKeywords.paginated].forEach(s=>{const o=Math.max(0,s.offset-e.body.rowsAffected);s.offset=s.totals.total-e.body.rowsAffected<=s.offset?Math.floor(o/s.limit)*s.limit:Math.ceil(o/s.limit)*s.limit}),e)).catch(e=>{throw e})},insertGroups({groups:t,keywords:e}){return this.errors.crud=null,h.post(p.restUrl("search-statistics/keyword-rank-tracker/groups")).send({groups:t,keywords:e}).then(r=>r).catch(r=>{var s,o;throw this.errors.crud=((o=(s=r==null?void 0:r.response)==null?void 0:s.body)==null?void 0:o.error)||null,r})},fetchGroups(t={}){return this.groups.paginated={...this.groups.paginated,...t},h.get(p.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(t={}){return this.groups.tableKeywords.paginated={...this.groups.tableKeywords.paginated,...t},h.get(p.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[]":t!=null&&t.ids?t.ids.length?t.ids:[0]:[]}).then(async e=>(this.groups.tableKeywords.paginated.rows=e.body.paginated.rows,this.groups.tableKeywords.paginated.totals=e.body.paginated.totals,t!=null&&t.updateKeywords&&(await this.fetchKeywords(),this.maybeFetchStatistics({context:"keywords"})),e)).catch(e=>{throw e})},updateGroup({id:t,payload:e}){return this.errors.crud=null,h.put(p.restUrl(`search-statistics/keyword-rank-tracker/groups/${t}/`)).send(e).then(r=>r).catch(r=>{var s,o;throw this.errors.crud=((o=(s=r==null?void 0:r.response)==null?void 0:s.body)==null?void 0:o.error)||null,r})},deleteGroups(t){return h.delete(p.restUrl("search-statistics/keyword-rank-tracker/groups")).send({ids:t}).then(e=>{const r=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(r/this.groups.paginated.limit)*this.groups.paginated.limit:Math.ceil(r/this.groups.paginated.limit)*this.groups.paginated.limit,e}).catch(e=>{throw e})},updateRelationships({keywords:t,groups:e}){return h.post(p.restUrl("search-statistics/keyword-rank-tracker/relationships")).send({keywords:t,groups:e}).then(r=>r).catch(r=>{throw r})},maybeFetchStatistics({context:t}){if(!(!this[t].paginated.rows.length&&!this[t].all.rows.length))return this.isFetchingStatistics=!0,h.post(p.restUrl(`search-statistics/keyword-rank-tracker/statistics/${t}`)).send({startDate:this.range.start,endDate:this.range.end,paginated:this[t].paginated,all:this[t].all}).then(e=>{this[t].paginated.rows=e.body.paginated.rows,this[t].all.rows=e.body.all.rows,this[t].statistics=e.body.statistics}).catch(e=>{throw e}).finally(()=>{this.isFetchingStatistics=!1})},maybeUpdateKeywords(t={}){if(this.keywords.count)return this.fetchKeywords(t).then(()=>this.maybeFetchStatistics({context:"keywords"}))},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:{}}}}}}),$a="all-in-one-seo-pack",qs=()=>{const t=L(),e=document.createElement("a");e.href=t.aioseo.urls.aio.settings,e.classList.add("ab-item");const r=document.createElement("span");return r.innerText=l("Add License Key",$a),r.classList.add("aioseo-menu-highlight"),r.classList.add("green"),e.appendChild(r),e},Ot=$("LicenseStore",{state:()=>({license:{expires:0,isActive:!1,isDisabled:!1,isExpired:!1,isInvalid:!1,features:{}}}),getters:{isUnlicensed:t=>"Lite".toLowerCase()!=="pro"||!t.license.isActive,licenseKey:()=>{const t=L(),e=I();return t.aioseo.data.isNetworkAdmin?e.networkOptions.general.licenseKey:e.options.general.licenseKey}},actions:{activate(t){const e=st(),r=L();return h.post(p.restUrl("activate")).send({licenseKey:t.trim(),network:r.aioseo.data.isNetworkAdmin}).then(s=>{const o=I(),n=r.aioseo.data.isNetworkAdmin?"networkOptions":"options";return o.updateOption(n,{groups:["general"],key:"licenseKey",value:t}),e.updateNotifications(s.body.notifications),s.body.licenseData&&(Object.keys(s.body.licenseData).forEach(i=>{const a=r.aioseo.data.isNetworkAdmin?"internalNetworkOptions":"internalOptions";o.updateOption(a,{groups:["internal","license"],key:i,value:s.body.licenseData[i]})}),this.license=s.body.license,r.aioseo.data.isNetworkLicensed=r.aioseo.data.isNetworkAdmin,this.clearLicenseNotices()),s})},multisite(t){const e=st(),r=L();return h.post(p.restUrl("multisite")).send({network:r.aioseo.data.isNetworkAdmin,sites:t}).then(s=>{r.aioseo.data={...r.aioseo.data,network:{...r.aioseo.data.network}},e.updateNotifications(s.body.notifications)})},deactivate(){const t=st(),e=L();return h.post(p.restUrl("deactivate")).send({network:e.aioseo.data.isNetworkAdmin}).then(r=>{const s=I(),o=e.aioseo.data.isNetworkAdmin?"networkOptions":"options";return s.updateOption(o,{groups:["general"],key:"licenseKey",value:null}),t.updateNotifications(r.body.notifications),r.body.licenseData&&(Object.keys(r.body.licenseData).forEach(n=>{const i=e.aioseo.data.isNetworkAdmin?"internalNetworkOptions":"internalOptions";s.updateOption(i,{groups:["internal","license"],key:n,value:r.body.licenseData[n]})}),this.license=r.body.license,e.aioseo.isUnlicensed=!0,this.addLicenseNotices()),r})},clearLicenseNotices(){const t=document.querySelector(".aioseo-submenu-highlight");t&&t.remove();const e=document.querySelector("#wp-admin-bar-aioseo-pro-license");e&&e.remove()},addLicenseNotices(){this.clearLicenseNotices();const t=document.querySelector("#toplevel_page_aioseo ul.wp-submenu-wrap");if(t){const r=document.createElement("li");r.classList.add("aioseo-submenu-highlight");const s=qs();r.appendChild(s),t.appendChild(r)}const e=document.querySelector("#wp-admin-bar-aioseo-main-default");if(e){const r=document.createElement("li");r.id="wp-admin-bar-aioseo-pro-license";const s=qs();r.appendChild(s),e.appendChild(r)}}}}),Zo=$("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:t,linkId:e,linksReport:r,postReport:s}){const o=r?"links-report-inner":s?"post-report":"post-settings";return h.post(p.restUrl(`link-assistant/${o}/links/delete`)).send({postId:t,linkId:e}).then(n=>{if(!r&&!s){if(n.body){const i=O(),a=i.currentPost;a.linkAssistant.links=n.body.links,i.updateState(a)}return}this.getOverviewData(),!s&&r&&this.setLinksReportCounts()})},linksBulk({postId:t,action:e,linkType:r,linkIds:s,linksReport:o,postReport:n}){const i=o?"links-report-inner":n?"post-report":"post-settings";return h.post(p.restUrl(`link-assistant/${i}/links/bulk`)).send({postId:t,action:e,linkType:r,linkIds:s}).then(a=>{if(!o&&!n){if(a.body){const u=O(),c=u.currentPost;c.linkAssistant.links=a.body.links,u.updateState(c)}return}this.getOverviewData(),!n&&o&&this.setLinksReportCounts()})},linksRefresh({postId:t,linksReport:e,postReport:r}){const s=e?"links-report-inner":r?"post-report":"post-settings";return h.post(p.restUrl(`link-assistant/${s}/refresh`)).send({postId:t}).then(()=>{this.linksReport.prioritizedPosts.push(t),e&&this.setLinksReportCounts(),this.pollSuggestionsScan()}).catch(o=>{console.error("Couldn't prioritize the post for the next scan.",o)})},suggestionDismiss({postIndex:t,postId:e,suggestionId:r,linksReport:s,postReport:o}){const n=O(),a=s?"links-report-inner":o?"post-report":"post-settings";return h.post(p.restUrl(`link-assistant/${a}/suggestions/dismiss`)).send({postId:e||n.currentPost.id,suggestionId:r}).then(u=>{if(!s&&!o){if(u.body){const c=n.currentPost;c.linkAssistant.links=u.body.links,n.updateState(c)}return}o||s&&((t||t===0)&&(this.linksReport.rows[t].links=u.body.links),this.getOverviewData(),this.setLinksReportCounts())})},suggestionsBulk({postId:t,action:e,suggestionType:r,suggestionRows:s,linksReport:o,postReport:n}){const i=o?"links-report-inner":n?"post-report":"post-settings";return h.post(p.restUrl(`link-assistant/${i}/suggestions/bulk`)).send({postId:t,action:e,suggestionType:r,suggestionRows:s}).then(a=>{if(!o&&!n){if(a.body){const u=O(),c=u.currentPost;c.linkAssistant.links=a.body.links,u.updateState(c)}return}this.getOverviewData(),!n&&o&&this.setLinksReportCounts()})},fetchLinksReport({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o,filter:n,additionalFilters:i}){return h.post(p.restUrl(`link-assistant/links-report/${n}`)).send({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o,additionalFilters:i}).then(a=>{this.linksReport=a.body.linksReport,this.getOverviewData(),this.setLinksReportCounts()})},fetchLinksReportInner({filter:t,additionalFilters:e}){return h.post(p.restUrl(`link-assistant/links-report-inner/${t}`)).send({additionalFilters:e}).then(r=>{e!=null&&e.postIndex&&(this.linksReport.rows[e.postIndex].links=r.body.links),this.getOverviewData()})},fetchDomainsReport({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o,filter:n,additionalFilters:i}){return h.post(p.restUrl(`link-assistant/domains-report/${n}`)).send({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o,additionalFilters:i}).then(a=>{this.domainsReport=a.body.domainsReport,this.getOverviewData()})},fetchDomainsReportInner({orderBy:t,orderDir:e,offset:r,searchTerm:s,filter:o,additionalFilters:n}){return h.post(p.restUrl(`link-assistant/domains-report-inner/${o}`)).send({orderBy:t,orderDir:e,offset:r,searchTerm:s,additionalFilters:n}).then(i=>{this.domainsReport.rows[n.domainIndex][n.domain]=i.body.posts,this.getOverviewData()})},fetchPostReport({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o,filter:n,additionalFilters:i={}}){return h.post(p.restUrl(`link-assistant/post-report/${n}`)).send({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o,additionalFilters:i}).then(a=>(i.type&&(this.postReport[i.type]=a.body.links),a))},linksReportDeleteAll({postId:t}){return h.delete(p.restUrl(`link-assistant/links-report/post/${t}`)).then(()=>{})},domainsReportBulk({action:t,rowIndexes:e}){const r=[];return Array.isArray(e)?e.forEach(s=>{r.push(Object.keys(this.domainsReport.rows[s])[0])}):r.push(Object.keys(this.domainsReport.rows[e])[0]),h.post(p.restUrl(`link-assistant/domains-report/bulk/${t}`)).send({hostnames:r}).then(()=>{this.getOverviewData()})},domainsReportInnerBulk({offset:t,searchTerm:e,action:r,domainIndex:s,linkIndexes:o}){const n=[];if(Array.isArray(o))o.forEach(i=>{const a=Object.keys(this.domainsReport.rows[s])[0];this.domainsReport.rows[s][a][i].links.forEach(c=>{n.push(c)})});else{const i=Object.keys(this.domainsReport.rows[s])[0];this.domainsReport.rows[s][i][o].links.forEach(u=>{n.push(u)})}return h.post(n.restUrl(`link-assistant/domains-report-inner/bulk/${r}`)).send({searchTerm:e,links:n,offset:t}).then(()=>{this.getOverviewData()})},domainsReportInnerLinkUpdate({domain:t,link:e}){return h.put(p.restUrl("link-assistant/domains-report-inner/link")).send({hostname:t,link:e}).then(()=>{this.getOverviewData()})},domainsReportInnerLinkDelete({searchTerm:t,rows:e,postIndex:r,linkIndex:s,offset:o}){const n=e[r].links[s];return h.delete(p.restUrl("link-assistant/domains-report-inner/link")).send({searchTerm:t,offset:o,link:n}).then(()=>{this.getOverviewData()})},postSettingsUpdate({postContent:t,skipNextRun:e}){if(this.skipNextPostSettingsUpdate){this.skipNextPostSettingsUpdate=!1;return}const r=O();return window.aioseoBus.$emit("updatingLinks",!0),h.post(p.restUrl("link-assistant/post-settings/update")).send({postId:r.currentPost.id,postContent:t}).then(s=>{if(s.body){const o=r.currentPost;o.linkAssistant.links=s.body.links,r.updateState(o)}e&&(this.skipNextPostSettingsUpdate=!0)}).catch(s=>{console.error("Couldn't get updated Link Assistant data:",s)}).finally(()=>{window.aioseoBus.$emit("updatingLinks",!1)})},getMenuData(){return h.get(p.restUrl("link-assistant/data/menu")).then(t=>{t.body.data&&this.resetState(t.body.data)})},getOverviewData(){return h.get(p.restUrl("link-assistant/data/overview")).then(t=>{t.body.data&&(this.overview=t.body.data)})},getPostData(){const t=O(),e=t.currentPost.id;return h.get(p.restUrl(`link-assistant/data/post/${e}`)).then(r=>{if(r.body.data){const s=t.currentPost;s.linkAssistant=r.body.data.currentPost.linkAssistant,t.updateState(s),this.resetState(r.body.data)}})},triggerScan(){return h.get(p.restUrl("link-assistant/data/trigger-scan")).then(t=>{t.body.data&&this.resetState(t.body.data)})},pollSuggestionsScan(){return h.get(p.restUrl("link-assistant/data/suggestions-scan-percent")).then(t=>{t.body&&"percent"in t.body&&(this.suggestionsScan.percent!==t.body.percent&&this.getOverviewData(),this.suggestionsScan.percent=t.body.percent,t.body.percent!==100&&setTimeout(()=>{this.pollSuggestionsScan()},1e4))})},setLinksReportCounts(){const t=[];this.linksReport.rows.forEach((e,r)=>{t[r]={inboundInternal:e.links.inboundInternal.totals.total,outboundInternal:e.links.outboundInternal.totals.total,affiliate:e.links.affiliate.totals.total,external:e.links.external.totals.total,suggestionsInbound:e.links.suggestionsInbound.totals.total,suggestionsOutbound:e.links.suggestionsOutbound.totals.total}}),this.linksReport.counts=t},resetState(t){t.options&&(this.options=t.options),t.internalOptions&&(this.internalOptions=t.internalOptions),t.overview&&(this.overview=t.overview),t.domainsReport&&(this.domainsReport=t.domainsReport),t.linksReport&&(this.linksReport=t.linksReport)},toggleProcessingPopup(){this.suggestionsScan.showProcessingPopup=!this.suggestionsScan.showProcessingPopup},setDomainsReportInnerPaginatedPage({domain:t,page:e}){const r=this.domainsReport.innerPagination||{};r[t]=e,this.domainsReport.innerPagination=r},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}}}}}}),_a=$("LocalSeoStore",{state:()=>({importers:[]}),actions:{importPlugins(t){return h.post(p.restUrl("local-business/import-plugins")).send(t).then(e=>{var r,s;if((r=e.body)!=null&&r.localBusinessOptions){const o=I();o.options.localBusiness=z({...o.options.localBusiness},{...((s=e.body)==null?void 0:s.localBusinessOptions)||{}})}})}}}),Jo=$("NetworkStore",{state:()=>({activeSites:[],networkData:{},networkRobots:{siteId:"network",rules:[]}}),getters:{getNetworkRobots:()=>{const t=I();return t.networkOptions.tools?t.networkOptions.tools.robots:[]}},actions:{fetchNetworkSites({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o,filter:n}){return h.post(p.restUrl(`network-sites/${n}`)).send({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o}).then(i=>{const a=L();a.aioseo.data={...a.aioseo.data,network:{...a.aioseo.data.network,sites:i.body.sites}},this.networkData.sites=i.body.sites})},fetchSiteRobots(t){return h.get(p.restUrl(`network-robots/${t}`)).then(e=>{this.networkRobots.rules=e.body.rules,this.networkRobots.siteId=t})},getActiveSites(t){return h.post(p.restUrl("activated")).send({domains:t}).then(e=>{this.activeSites=e.body.activeSites})},importRobotsTxt({url:t,text:e,source:r,networkLevel:s,blogId:o}){return h.post(p.restUrl("tools/import-robots-txt")).send({url:t,text:e,source:r,networkLevel:s,blogId:o}).then(n=>n)}}}),za=t=>{const e=document.querySelector(".aioseo-menu-notification-counter");if(e)if(t.active.length)e.innerText=t.active.length;else{e.remove();const r=document.querySelector("#wp-admin-bar-aioseo-notifications");r&&r.remove();const s=document.querySelector("#toplevel_page_aioseo .wp-first-item"),o=document.querySelector("#toplevel_page_aioseo .wp-first-item .aioseo-menu-notification-indicator");s!=null&&s.contains(o)&&s.remove()}},st=$("NotificationsStore",{state:()=>({active:[],new:[],dismissed:[],force:!1,showNotifications:!1}),getters:{activeNotifications:t=>t.active,activeNotificationsCount:t=>t.active.length,dismissedNotifications:t=>t.dismissed,dismissedNotificationsCount:t=>t.dismissed.length},actions:{toggleNotifications(){this.showNotifications=!this.showNotifications},dismissNotifications(t){return t.reverse().forEach(r=>{const s=this.active.findIndex(o=>o.slug===r);s!==-1&&this.active.splice(s,1)}),h.post(p.restUrl("notifications/dismiss")).send(t).then(r=>{if(!r.body.success)throw new Error(r.body.message);this.updateNotifications(r.body.notifications)})},updateNotifications(t){t.new.length&&window.aioseoNotifications&&(window.aioseoNotifications.newNotifications=t.new.length),this.active=t.active,this.new=t.new,this.dismissed=t.dismissed,za(t)},processButtonAction(t){const e=L();return h.post(p.restUrl(`${t}`)).send({network:e.aioseo.data.isNetworkAdmin}).then(r=>{if(this.updateNotifications(r.body.notifications),!r.body.success)throw new Error(r.body.message)})}}}),I=$("OptionsStore",{state:()=>({dynamicOptions:{},internalNetworkOptions:{},internalOptions:{},networkOptions:{},options:{},htaccessError:null,saveError:null}),actions:{saveChanges(){const t=Ge(),e=is(),r=Zo(),s=st(),o=as(),n=L(),i={options:this.options,dynamicOptions:this.dynamicOptions,network:n.aioseo.data.isNetworkAdmin,networkOptions:this.networkOptions};switch(n.aioseo.page){case"redirects":{i.redirectOptions=o.options;break}case"link-assistant":{i.linkAssistantOptions=r.options;break}case"settings":{i.indexNowOptions=e.options;break}}return h.post(p.restUrl("options")).send(i).then(a=>(s.updateNotifications(a.body.notifications),t.updateOriginalOptions("options",this.options),t.updateOriginalOptions("dynamicOptions",this.dynamicOptions),o!=null&&o.options&&t.updateOriginalOptions("redirectOptions",o.options),e.options.indexNow.apiKey&&t.updateOriginalOptions("indexNowOptions",e.options),a.body.redirection&&(a.body.redirection==="reload"?window.location.reload():window.location.href=a.body.redirection),a)).catch(a=>{console.error("Failed to save the options.",a),this.saveError=a.response.body.message})},saveHtaccess(){const t=L();return h.post(p.restUrl("htaccess")).send({htaccess:t.aioseo.data.htaccess}).then(()=>{}).catch(e=>{console.error("Failed to update .htaccess file.",e),this.htaccessError=e.response.body.message})},saveNetworkRobots(){const t=Ge(),e=Jo(),r=L(),s={enabled:e.networkRobots.siteId==="network"?this.networkOptions.tools.robots.enable:this.options.tools.robots.enable,network:r.aioseo.data.isNetworkAdmin,rules:e.networkRobots.rules};return h.post(p.restUrl(`network-robots/${e.networkRobots.siteId}`)).send(s).then(()=>{t.updateOriginalOptions("options",this.options)})},getObjects(t){return h.post(p.restUrl("objects")).send(t).then(e=>{if(!e.body.success)throw new Error(e.body.message);return e})},updateOption(t,{groups:e,key:r,value:s}){let o=this[t];e.forEach(n=>{o=o[n]}),o[r]=s}}}),Va=$("PluginsStore",{state:()=>({plugins:{}}),actions:{installPlugins(t){const e=L();return h.post(p.restUrl("plugins/install")).send({network:e.aioseo.data.isNetworkAdmin,plugins:t}).then(r=>{if(!r.body.success)throw new Error(r.body.message);const s=Vr();return Object.keys(r.body.completed).forEach(o=>{const n=r.body.completed[o],i=s.addons.find(a=>o===a.sku);i&&(i.basename=n,i.installed=!0,i.hasMinimumVersion=!0,i.installedVersion=i.version,s.updateAddon(i))}),r})},upgradePlugins(t){const e=L();return h.post(p.restUrl("plugins/upgrade")).send({network:e.aioseo.data.isNetworkAdmin,plugins:t}).then(r=>{if(!r.body.success)throw new Error(r.body.message);const s=Vr();return Object.keys(r.body.completed).forEach(o=>{s.updateAddon(r.body.completed[o])}),r})},deactivatePlugins(t){const e=L();return h.post(p.restUrl("plugins/deactivate")).send({network:e.aioseo.data.isNetworkAdmin,plugins:t}).then(r=>r)}}});let Fr=null;const Ps=t=>{const e=["modalOpen","seo_score","page_analysis"],r=JSON.parse(JSON.stringify(t));return e.forEach(s=>{delete r[s]}),JSON.stringify(r)},O=$("PostEditorStore",{state:()=>({isDirty:!1,currentPost:{},openAiError:null}),getters:{newHeadlineAnaylzerData(){var r,s,o,n,i,a;const t=(s=(r=this.currentPost.headlineAnalyzer)==null?void 0:r.newData)!=null&&s.headline?this.currentPost.headlineAnalyzer.newData.headline:"";let e=(i=(o=this.currentPost.headlineAnalyzer)==null?void 0:o.newData)!=null&&i.data[(n=Object.keys(this.currentPost.headlineAnalyzer.newData.data))==null?void 0:n[0]]?this.currentPost.headlineAnalyzer.newData.data[(a=Object.keys(this.currentPost.headlineAnalyzer.newData.data))==null?void 0:a[0]]:null;return e=e?JSON.parse(e):null,{newTitle:t,newResult:e}}},actions:{updateTitle(t){this.currentPost.title=t,window.aioseoBus.$emit("updateTitleKey")},updateDescription(t){this.currentPost.description=t,window.aioseoBus.$emit("updateDescriptionKey")},updatePostHeadlineAnalyzerData(t,e){var r,s;if(this.currentPost.headlineAnalyzer=this.currentPost.headlineAnalyzer||{},this.currentPost.headlineAnalyzer.data=t,this.currentPost.headlineAnalyzer.headline=e,this.currentPost.headlineAnalyzer.previousHeadlines||(this.currentPost.headlineAnalyzer.previousHeadlines=[]),this.currentPost.headlineAnalyzer.data[(r=Object.keys(this.currentPost.headlineAnalyzer.data))==null?void 0:r[0]]){let o=this.currentPost.headlineAnalyzer.data[(s=Object.keys(this.currentPost.headlineAnalyzer.data))==null?void 0:s[0]];o=JSON.parse(o),this.currentPost.headlineAnalyzer.previousHeadlines.some(i=>i.headline===e)||(this.currentPost.headlineAnalyzer.previousHeadlines.push({headline:e,result:o,score:o.score}),this.currentPost.headlineAnalyzer.latestScore=o.score)}},updateLatestScore(t){this.currentPost.headlineAnalyzer.latestScore=t},shouldShowPrevScores(){this.currentPost.headlineAnalyzer.showPrevScores=!0},updateNewHeadlineAnalyzerData(t,e){var o;this.currentPost.headlineAnalyzer.newData=this.currentPost.headlineAnalyzer.newData||{},this.currentPost.headlineAnalyzer.newData.data=t,this.currentPost.headlineAnalyzer.newData.headline=e,this.currentPost.headlineAnalyzer.newData.showPreview=!0,this.currentPost.headlineAnalyzer.previousHeadlines||(this.currentPost.headlineAnalyzer.previousHeadlines=[]);let r=this.currentPost.headlineAnalyzer.newData.data[(o=Object.keys(this.currentPost.headlineAnalyzer.newData.data))==null?void 0:o[0]];r=JSON.parse(r),this.currentPost.headlineAnalyzer.previousHeadlines.some(n=>n.headline===e)||(this.currentPost.headlineAnalyzer.previousHeadlines.push({headline:e,result:r,score:r.score}),this.currentPost.headlineAnalyzer.latestScore=r.score)},toggleShowNewHeadlineAnalyzerData(t){this.currentPost.headlineAnalyzer.showNewData=t},toggleShowNewHeadlineAnalyzerPreview(t){this.currentPost.headlineAnalyzer.newData.showPreview=t},changeGeneralPreview(t){this.currentPost.generalMobilePrev=t},saveCurrentPost(t){return this.currentPost=t,h.post(p.restUrl("post")).send(t).then(()=>{}).catch(e=>{console.error(`Unable to update the post data: ${e}`)})},updateState(t){this.currentPost=t},savePostState(){if(!this.currentPost||!Object.keys(this.currentPost).length)return;Fr===null&&(Fr=Ps(this.currentPost)),Fr!==Ps(this.currentPost)&&window.aioseoBus.$emit("postSettingsUpdated");const t=document.querySelector("#aioseo-post-settings");if(t&&(t.value=JSON.stringify(this.currentPost)),this.currentPost.context==="term"){const e=document.querySelector("#aioseo-term-settings");e&&(e.value=JSON.stringify(this.currentPost))}},disablePrimaryTermEducation(){return this.currentPost.options.primaryTerm.productEducationDismissed=!0,h.post(p.restUrl(`post/${this.currentPost.id}/disable-primary-term-education`))},disableLinkAssistantEducation(){return this.currentPost.options.linkFormat.linkAssistantDismissed=!0,h.post(p.restUrl(`post/${this.currentPost.id}/disable-link-format-education`))},incrementInternalLinkCount(){const t=this.currentPost.options.linkFormat.internalLinkCount||0;return this.currentPost.options.linkFormat.internalLinkCount=t+1,h.post(p.restUrl(`post/${this.currentPost.id}/update-internal-link-count`)).send({count:t})},generateTitlesDescriptions(t){return h.post(p.restUrl("ai/generate/")).send(t).then(e=>{if(!e.body.suggestions){e.body.error&&(this.openAiError=e.body.error);return}this.openAiError=null,this.currentPost.open_ai[t.type].suggestions=e.body.suggestions,this.currentPost.open_ai[t.type].usage=e.body.usage})},saveOpenAiApiKey(t){return h.post(p.restUrl("ai/save-api-key")).send({apiKey:t})},getUserImage({userId:t}){return h.get(p.restUrl(`user/${t}/image`)).then(e=>e.statusCode===200?e.body.url:"")},getFirstAttachedImage({postId:t}){return h.get(p.restUrl(`post/${t}/first-attached-image`)).then(e=>e.statusCode===200?e.body.url:"")},getMediaData({mediaId:t}){return h.get(p.restUrl(`media/${t}`,"wp/v2")).then(e=>e.statusCode===200?e.body:{})},processContent({content:t}){return h.post(p.restUrl(`post/${this.currentPost.id}/process-content`)).send({content:t}).then(e=>{this.currentPost.processedContent=e.body.content})}}}),as=$("RedirectsStore",{state:()=>({options:{},importers:[],redirects:[],rows:[],logs:[],logs404:[],filters:[],selectedFilters:{},manualUrls:[],sort:{logs:"last_accessed",logs404:"last_accessed"},sortDir:{logs:"desc",logs404:"desc"},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}}),actions:{bulk({action:t,rowIds:e}){if(e=e.filter(o=>{const n=this.rows.find(i=>i.id===parseInt(o));return!(t==="enable"&&n.enabled||t==="disable"&&!n.enabled||t==="reset-hits"&&!n.hits)}),!e.length)return Promise.resolve();const r=t==="delete"?"delete":"post",s=t==="delete"?"":`${t}/`;return h[r](p.restUrl(`redirects/bulk/${s}`)).send({rowIds:e})},fetchRedirects({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o,filter:n,additionalFilters:i}){var u,c;const a=O();return((u=a.currentPost)==null?void 0:u.context)==="post"||((c=a.currentPost)==null?void 0:c.context)==="term"?this.getPostRedirects():h.post(p.restUrl(`redirects/${n}`)).send({orderBy:t,orderDir:e,limit:r,offset:s,searchTerm:o,additionalFilters:i}).then(g=>{this.filters=g.body.filters,this.rows=g.body.rows,this.totals.main=g.body.totals})},fetchLogs({slug:t,orderBy:e,orderDir:r,limit:s,offset:o,searchTerm:n,filter:i}){return h.post(p.restUrl(`redirects/${t}/${i}`)).send({orderBy:e,orderDir:r,limit:s,offset:o,searchTerm:n}).then(a=>{this[t==="404"?"logs404":"logs"]=a.body.rows,this.totals[t==="404"?"total404":"logs"]=a.body.totals})},create(t){return(t==null?void 0:t.group)==="404"&&this.setLateRefresh(!0,"redirects"),h.post(p.restUrl("redirects")).send(t)},update({id:t,payload:e}){return h.post(p.restUrl(`redirects/${t}/`)).send(e).then(r=>{var s;if((s=r.body.redirect)!=null&&s.id){const o=this.rows.findIndex(n=>n.id===r.body.redirect.id);o!==-1&&(this.rows[o]=r.body.redirect)}})},delete(t){return h.delete(p.restUrl(`redirects/${t}`))},test({id:t,payload:e}){return h.post(p.restUrl(`redirects/${t}/test/`)).send(e)},deleteLog({slug:t,urls:e}){return h.delete(p.restUrl(`redirects/logs/${t}`)).send({urls:e})},exportServerRedirects(t){return h.get(p.restUrl(`redirects/export/${t}/`))},exportRedirects({groups:t,type:e}){return h.post(p.restUrl(`redirects/export/${e}/`)).send({groups:t})},exportLogs(t){return h.get(p.restUrl(`redirects/export-logs/${t}/`))},uploadFile({file:t,filename:e}){return h.post(p.restUrl("redirects/import")).attach("file",t,e).then(r=>{this.filters=r.body.filters,this.rows=r.body.rows,this.totals.main=r.body.totals})},importPlugins(t){return h.post(p.restUrl("redirects/import-plugins")).send({plugins:t}).then(()=>this.setLateRefresh({value:!0,type:"redirects"}))},importCsvRedirects(t){return h.post(p.restUrl("redirects/import-csv")).send(t)},getPosts(t){return h.post(p.restUrl("redirects/posts")).send(t).then(e=>{if(!e.body.success)throw new Error(e.body.message);return e})},getRedirectOptions(){return h.get(p.restUrl("redirects/options")).then(t=>{t.body.options&&(this.options=t.body.options,this.importers=t.body.importers,Ge().updateOriginalOptions("redirectOptions",this.options))})},testServerRedirects(){const t=st();if(!this.server.redirectTest.testing)return this.server.redirectTest.testing=!0,h.get(p.restUrl("redirects/server/test")).then(e=>{this.server.redirectTest.testing=!1,this.server.redirectTest.failed=!e.body.success,t.updateNotifications(e.body.notifications)}).catch(()=>{this.server.redirectTest.testing=!1,this.server.redirectTest.failed=!0})},getPostRedirects(){const t=O();return h.get(p.restUrl("redirects/"+t.currentPost.context+"/"+t.currentPost.id)).then(e=>{this.rows=e.body.rows,t.currentPost.permalinkPath=e.body.permalinkPath,t.currentPost.postStatus=e.body.postStatus}).catch(()=>{})},setLateRefresh({value:t=!0,type:e="all"}){e=e==="all"?["redirects","logs","logs404"]:[e];for(const r in e)this.lateRefresh[e[r]]=t},resetPageNumbers(){const{main:t,total404:e,logs:r}=this.totals;t.page=1,e.page=1,r.page=1;const s={main:t,total404:e,logs:r};this.totals=s}}}),L=$("RootStore",{state:()=>({pong:!0,loaded:!1,loading:!1,isPro:"Lite".toLowerCase()==="pro",aioseo:{},navigate:{scroll:null,highlight:null},modals:{active:null,all:[]}}),actions:{ping(){h.get(p.restUrl("ping")).catch(()=>{this.pong=!1})},setActiveModal(t){this.modals.active=t,this.modals.all.includes(t)||this.modals.all.push(t)},unsetActiveModal(t){this.modals.all.includes(t)&&(this.modals.all=this.modals.all.filter(e=>e!==t),this.modals.active=this.modals.all[this.modals.all.length-1]||null)}}}),R="all-in-one-seo-pack",Ha=()=>{const t=[{slug:"article",graphName:"Article",label:l("Article",R)},{slug:"book",graphName:"Book",label:l("Book",R)},{slug:"course",graphName:"Course",label:l("Course",R)},{slug:"dataset",graphName:"Dataset",label:l("Dataset",R)},{slug:"event",graphName:"Event",label:l("Event",R)},{slug:"faq-page",graphName:"FAQPage",label:l("FAQ",R)},{slug:"fact-check",graphName:"FactCheck",label:l("Fact Check",R)},{slug:"how-to",graphName:"HowTo",label:l("How To",R)},{slug:"job-posting",graphName:"JobPosting",label:l("Job Posting",R)},{slug:"movie",graphName:"Movie",label:l("Movie",R)},{slug:"music",graphName:"Music",label:l("Music",R)},{slug:"person",graphName:"Person",label:l("Person",R)},{slug:"product",graphName:"Product",label:l("Product",R)},{slug:"product-review",graphName:"ProductReview",label:l("Product Review",R)},{slug:"car",graphName:"Car",label:l("Car",R)},{slug:"recipe",graphName:"Recipe",label:l("Recipe",R)},{slug:"service",graphName:"Service",label:l("Service",R)},{slug:"software-application",graphName:"SoftwareApplication",label:l("Software",R)},{slug:"video",graphName:"Video",label:l("Video",R)},{slug:"web-page",graphName:"WebPage",label:l("Web Page",R)}],e={Article:[{childGraphName:"BlogPosting",label:l("Blog Post",R)},{childGraphName:"NewsArticle",label:l("News Article",R)}],Music:[{childGraphName:"MusicAlbum",label:l("Music Album",R)},{childGraphName:"MusicGroup",label:l("Music Group",R)}],WebPage:[{childGraphName:"WebPage",label:l("Web Page",R)},{childGraphName:"AboutPage",label:l("About Page",R)},{childGraphName:"CheckoutPage",label:l("Checkout Page",R)},{childGraphName:"CollectionPage",label:l("Collection Page",R)},{childGraphName:"ContactPage",label:l("Contact Page",R)},{childGraphName:"ItemPage",label:l("Item Page",R)},{childGraphName:"MedicalWebPage",label:l("Medical Page",R)},{childGraphName:"ProfilePage",label:l("Profile Page",R)},{childGraphName:"RealEstateListing",label:l("Real Estate Listing",R)},{childGraphName:"SearchResultsPage",label:l("Search Results Page",R)}]};return{childGraphs:e,graphs:t,initSchemaEditor:n=>{const i=us(),a=JSON.stringify(i.graph);i.graph=z(n,i.graph);const u=JSON.stringify(i.graph);JSON.stringify(a)!==JSON.stringify(u)&&(i.isDirty=!0)},getGraphObject:(n,i=!1)=>{var a;return!i&&((a=n==null?void 0:n.properties)==null?void 0:a.type)!==n.graphName&&e[n.graphName]?e[n.graphName].find(u=>u.childGraphName===n.properties.type):t.find(u=>u.slug===n.slug)},getParentGraphName:n=>{let i="";return Object.entries(e).forEach(a=>{const u=a[0];a[1].forEach(c=>{i||n===c.childGraphName&&(i=u)})}),i||n}}},Ls=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ed=t=>{try{return new RegExp(t),!0}catch{return!1}};var ko,vo;!((ko=window.wp)!=null&&ko.blockEditor)&&((vo=window.wp)!=null&&vo.blocks)&&window.wp.oldEditor&&(window.wp.blockEditor=window.wp.editor);const le=()=>document.body.classList.contains("block-editor-page")&&window.wp.data&&Ga(),Se=()=>!!document.querySelector("#wp-content-wrap.tmce-active, #wp-content-wrap.html-active"),xe=()=>document.querySelector("#post input#title")&&!document.querySelector("#wp-content-wrap"),je=()=>!!(document.body.classList.contains("elementor-editor-active")&&window.elementor),at=()=>!!(document.body.classList.contains("et_pb_pagebuilder_layout")&&window.ET_Builder),ut=()=>!!(document.body.classList.contains("seedprod-builder")&&window.seedprod_data),lt=()=>!!(window.vc&&window.vc_mode),ct=()=>{var t;return(t=window.FusionApp||window.FusionPageBuilderApp)==null?void 0:t.builderActive},dt=()=>!!(window.TVE&&window.TVE.Editor_Page),ht=()=>{const t=s=>!!(s!=null&&s.offsetWidth||s!=null&&s.offsetHeight||s!=null&&s.getClientRects().length),e=document.querySelectorAll(".block-editor-page").length&&typeof window.soPanelsBuilderView<"u",r=t(document.querySelector("#so-panels-panels.attached-to-editor"));return e||r},td=()=>{const t=O();return L().aioseo.data.isWooCommerceActive&&t.currentPost&&t.currentPost.postType==="product"},cr=()=>je()||at()||ut()||lt()||ct()||ht()||dt(),Ga=()=>{const t=window.wp;return typeof t<"u"&&typeof t.blocks<"u"&&typeof t.blockEditor<"u"},us=$("SchemaStore",{state:()=>({custom:{graphName:"",schema:""},defaultGraphParent:"",graph:null,graphCardsKey:0,isDirty:!1,isEditingCustomGraph:!1,isEditingCustomTemplate:!1,isEditingDefaultGraph:!1,isEditingGraph:!1,isEditingTemplate:!1,modalOpenMetabox:!1,modalOpenSidebar:!1,output:"",outputKey:0,tabs:{generator:"schema-templates",templates:"schema-catalog"},templateName:"",previousOutputRequestData:null}),actions:{getCustomObject(){return{id:"#aioseo-custom-"+new Date().getTime().toString(36),custom:!0,graphName:this.custom.graphName,schema: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(){const t=O();t.currentPost.schema.customGraphs.push(this.getCustomObject()),t.currentPost.schema.customGraphs=t.currentPost.schema.customGraphs.sort((e,r)=>e.graphName<r.graphName?-1:1),this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1},addCustomAsTemplate(){const t=I(),e={...this.getCustomObject()},r={...JSON.parse(JSON.stringify(e)),label:"Custom Schema - "+e.graphName};t.internalOptions.internal.schema.templates.push(this.getCustomObject()),this.resetSessionState(),this.setTabTemplates("your-templates"),h.post(p.restUrl("schema/templates")).send({template:r}).then(s=>{s.body.success&&s.body.templates&&this.parseAndUpdateTemplates(s.body.templates)})},addCustomTemplateAsGraph(){const t=O();t.currentPost.schema.customGraphs.push(this.graph),t.currentPost.schema.customGraphs=t.currentPost.schema.customGraphs.sort((e,r)=>e.graphName<r.graphName?-1:1),this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1},addDefaultGraph(){const t=O();t.currentPost.schema.default.isEnabled=!0,this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1},addGraph(){const t=O();t.currentPost.schema.graphs.push(this.graph),t.currentPost.schema.graphs=t.currentPost.schema.graphs.sort((e,r)=>e.graphName<r.graphName?-1:1),this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1},addGraphAsTemplate(){var s,o,n,i,a;const t=Ha();(o=(s=this.graph)==null?void 0:s.properties)!=null&&o.type&&this.graph.properties.type!==this.graph.graphName?this.graph.label=((n=t.getGraphObject(this.graph,!0))==null?void 0:n.label)+" - "+((i=t.getGraphObject(this.graph))==null?void 0:i.label)+" - "+this.templateName:this.graph.label=((a=t.getGraphObject(this.graph,!0))==null?void 0:a.label)+" - "+this.templateName;const e=JSON.parse(JSON.stringify(this.graph));I().internalOptions.internal.schema.templates.push(this.graph),this.resetSessionState(),this.setTabTemplates("your-templates"),h.post(p.restUrl("schema/templates")).send({template:e}).then(u=>{u.body.success&&u.body.templates&&this.parseAndUpdateTemplates(u.body.templates)})},addTemplateAsGraph(t,e=""){let s=I().internalOptions.internal.schema.templates;if(e){const i=new RegExp(Ls(e).replace(/\s/g,"\\s"),"i");s=s.filter(a=>{var u;return(u=a==null?void 0:a.label)==null?void 0:u.match(i)})}t===void 0&&(t=s.findIndex(i=>i.id===this.graph.id));const o=JSON.parse(JSON.stringify(s[t]));o.id=o.id+new Date().getTime().toString(18);const n=O();o.custom?(n.currentPost.schema.customGraphs.push(o),n.currentPost.schema.customGraphs=n.currentPost.schema.customGraphs.sort((i,a)=>i.graphName<a.graphName?-1:1)):(n.currentPost.schema.graphs.push(o),n.currentPost.schema.graphs=n.currentPost.schema.graphs.sort((i,a)=>i.graphName<a.graphName?-1:1)),this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1},deleteCustomGraph(t){const e=O();t===void 0&&(t=e.currentPost.schema.customGraphs.findIndex(r=>r.id===this.graph.id)),e.currentPost.schema.customGraphs.splice(t,1),this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1},deleteDefaultGraph(){const t=O();t.currentPost.schema.default.isEnabled=!1,this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1},deleteGraph(t){const e=O();t===void 0&&(t=e.currentPost.schema.graphs.findIndex(r=>r.id===this.graph.id)),e.currentPost.schema.graphs.splice(t,1),this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1},deleteTemplate(t){const e=this.graph.id,r=I();t===void 0&&(t=r.internalOptions.internal.schema.templates.findIndex(s=>s.id===e)),r.internalOptions.internal.schema.templates.splice(t,1),this.resetSessionState(),this.setTabTemplates("your-templates"),h.delete(p.restUrl("schema/templates")).send({templateId:e}).then(s=>{s.body.success&&s.body.templates&&this.parseAndUpdateTemplates(s.body.templates)})},editCustomGraph({customGraphIndex:t,isSidebar:e}){const r=O(),s=JSON.parse(JSON.stringify(r.currentPost.schema.customGraphs[t]));this.graph=s,this.isEditingCustomGraph=!0,this.tabs.generator="custom-schema",e?this.modalOpenSidebar=!0:this.modalOpenMetabox=!0},editDefaultGraph({isSidebar:t,parentGraphName:e}){this.defaultGraphParent=e;const r=O();r.currentPost.schema.default.data[e]&&(this.graph=r.currentPost.schema.default.data[e]),this.isEditingDefaultGraph=!0,this.tabs.generator="schema-templates",t?this.modalOpenSidebar=!0:this.modalOpenMetabox=!0},async editGraph({graphIndex:t,isSidebar:e}){const r=O(),s=JSON.parse(JSON.stringify(r.currentPost.schema.graphs[t]));this.graph=s,this.isEditingGraph=!0,this.tabs.generator="schema-templates",e?this.modalOpenSidebar=!0:this.modalOpenMetabox=!0,await or(),this.isDirty=!1},async editTemplate(t,e=""){let s=I().internalOptions.internal.schema.templates;if(e){const n=new RegExp(Ls(e).replace(/\s/g,"\\s"),"i");s=s.filter(i=>i.label.match(n))}const o=JSON.parse(JSON.stringify(s[t]));if(this.graph=o,o.custom)this.templateName=this.graphName,this.isEditingCustomTemplate=!0,this.tabs.generator="custom-schema";else{const n=new RegExp(`^${this.graph.graphName} -`,"i"),i=this.graph.label.replace(n,"");this.templateName=i,this.isEditingTemplate=!0}await or(),this.isDirty=!1},updateCustomGraph(){const t=O(),e=t.currentPost.schema.customGraphs.findIndex(r=>r.id===this.graph.id);e!==-1&&(t.currentPost.schema.customGraphs[e]=this.graph,t.currentPost.schema.customGraphs=t.currentPost.schema.customGraphs.sort((r,s)=>r.graphName<s.graphName?-1:1),this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1)},updateDefaultGraph(){const t=O();t.currentPost.schema.default.data[this.defaultGraphParent]=this.graph,this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1},updateGraph(){const t=O(),e=t.currentPost.schema.graphs.findIndex(r=>r.id===this.graph.id);e!==-1&&(t.currentPost.schema.graphs[e]=this.graph,t.currentPost.schema.graphs=t.currentPost.schema.graphs.sort((r,s)=>r.graphName<s.graphName?-1:1),this.resetSessionState(),this.graphCardsKey=this.graphCardsKey+1,this.modalOpenMetabox=!1,this.modalOpenSidebar=!1)},updateSchemaOutput(){const t=O();if(Ot().isUnlicensed)return;let r=t.currentPost.id;if(le()&&(r=window.wp.data.select("core/editor").getCurrentPostId()),!r||t.currentPost.context!=="post")return;const s={postId:r,graphs:t.currentPost.schema.graphs,customGraphs:t.currentPost.schema.customGraphs,default:t.currentPost.schema.default,blockGraphs:t.currentPost.schema.blockGraphs};JSON.stringify(s)!==this.previousOutputRequestData&&(this.previousOutputRequestData=JSON.stringify(s),h.post(p.restUrl("schema/validator/output")).send(s).then(o=>{if(o.body.success&&o.body.output){let n=null;try{n=JSON.parse(o.body.output)}catch{return}if(o.body.output=JSON.stringify(n,null," ").trim(),o.body.output===this.output)return;this.output=o.body.output,this.outputKey=this.outputKey+1}}))},updateTemplate(){this.graph.label=this.graph.graphName+" - "+this.templateName;const t=JSON.parse(JSON.stringify(this.graph)),e=I(),r=e.internalOptions.internal.schema.templates.findIndex(s=>s.id===this.graph.id);r!==-1&&(e.internalOptions.internal.schema.templates[r]=this.graph,this.resetSessionState(),this.setTabTemplates("your-templates"),h.put(p.restUrl("schema/templates")).send({template:t}).then(s=>{s.body.success&&s.body.templates&&this.parseAndUpdateTemplates(s.body.templates)}))},parseAndUpdateTemplates(t){t=t.map(r=>(typeof r!="string"||(r=JSON.parse(r)),r)),t=t.sort((r,s)=>{const o=r.custom?0:1;return r.graphName<s.graphName?-1:o});const e=I();e.internalOptions.internal.schema.templates=t},setModalOpen({isOpen:t,initialTab:e,isSidebar:r}){t||(this.resetSessionState(),this.setTabTemplates("schema-catalog")),r?this.modalOpenSidebar=t:this.modalOpenMetabox=t,e&&(this.tabs.generator=e)},setTabTemplates(t){this.tabs.generator="schema-templates",this.tabs.templates=t}}}),Qo=()=>L().aioseo.user.locale.replace("_","-")||"en-US",Is={d:t=>qe(t.getDate()),D:t=>Rs(t).substr(0,3),j:t=>t.getDate(),l:t=>Rs(t),N:t=>t.getDay()||7,S:t=>ja(t.getDate()),w:t=>t.getDay(),z:t=>{const e=t.getFullYear(),r=t.getMonth(),s=t.getDate();return Math.floor((Date.UTC(e,r,s)-Date.UTC(e,0,1))/864e5)},W:t=>Ms(t)[1],F:t=>Us(t),m:t=>qe(t.getMonth()+1),M:t=>Us(t).substr(0,3),n:t=>t.getMonth()+1,t:t=>new Date(t.getFullYear(),t.getMonth()+1,0).getDate(),L:t=>new Date(t.getFullYear(),1,29).getDate()===29?1:0,o:t=>Ms(t)[0],Y:t=>{let e=t.getFullYear();return 0>e&&(e="-"+("000"+Math.abs(e)).slice(-4)),e},y:t=>{let e=t.getFullYear();return 0<=e?("0"+e).slice(-2):(e=Math.abs(e),-+("0"+e).slice(-2))},a:t=>12>t.getHours()?"am":"pm",A:t=>12>t.getHours()?"AM":"PM",B:t=>((+t+36e5)%864e5/86400).toFixed(0),g:t=>t.getHours()%12||12,G:t=>t.getHours(),h:t=>qe(t.getHours()%12||12),H:t=>qe(t.getHours()),i:t=>qe(t.getMinutes()),s:t=>qe(t.getSeconds()),u:()=>"000000",v:t=>Ka(t.getMilliseconds()),e:()=>0,I:t=>t.getTimezoneOffset()===Wa(t)[0]?0:1,O:t=>$s(-t.getTimezoneOffset(),!1),P:t=>$s(-t.getTimezoneOffset(),!0),T:t=>t.toLocaleString("en",{year:"numeric",timeZoneName:"long"}).replace(/[^A-Z]/g,""),Z:t=>t.getTimezoneOffset()*-60,c:t=>dr(t,"Y-m-d\\TH:i:sP"),r:t=>dr(t,"D, d M Y H:i:s O"),U:t=>t.getTime()/1e3|0},Rs=t=>t.toLocaleString(Qo(),{weekday:"long"}),Us=t=>t.toLocaleString(Qo(),{month:"long"}),Wa=t=>{const e=t.getFullYear(),r=[0,2,5,9].map(s=>new Date(e,s).getTimezoneOffset());return[Math.max(...r),Math.min(...r)]},ja=t=>{t=t%100;const e=["th","st","nd","rd"];return(10>t||13<t)&&e[t%10]||"th"},Ms=t=>{const e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()));e.setUTCDate(e.getUTCDate()+4-(e.getUTCDay()||7));const r=new Date(Date.UTC(e.getUTCFullYear(),0,1)),s=Math.ceil(((e-r)/864e5+1)/7);return[e.getUTCFullYear(),s]},Ya=t=>Object.prototype.toString.call(t)==="[object Date]",$s=(t,e)=>{const r=0>t?"-":"+";t=Math.abs(t);const s=qe(t/60|0),o=qe(t%60);return r+s+(e?":":"")+o},qe=t=>(10>t?"0":"")+t,Ka=t=>(10>t?"00":100>t?"0":"")+t,dr=(t,e)=>{if(!(!Ya(t)||typeof e!="string"))return e.split("").reduce((r,s,o,n)=>(s==="\\"?r+=n.splice(o+1,1):s in Is?r+=Is[s](t):r+=s,r),"")},Kr=$("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}),actions:{getAuthUrl({returnTo:t}){return h.get(p.restUrl("search-statistics/url/auth")).query({returnTo:t}).then(e=>e.body.url)},getReauthUrl({returnTo:t}){return h.get(p.restUrl("search-statistics/url/reauth")).query({returnTo:t}).then(e=>e.body.url)},deleteAuth({force:t}){return h.delete(p.restUrl("search-statistics/auth")).send({force:t}).then(e=>(e.body.success===!0&&(this.isConnected=!1),e.body))},setDateRange(t){const e=Ko();this.range={start:dr(t.dateRange[0],"Y-m-d"),end:dr(t.dateRange[1],"Y-m-d")},this.rolling=t.rolling;const r=[()=>this.updateSeoStatistics({filter:"all",searchTerm:""}),()=>this.updateKeywords({filter:"all",searchTerm:""}),()=>this.updateContentRankings({searchTerm:""}),()=>e.maybeUpdateKeywords(),()=>e.maybeUpdateGroups()];return Promise.all(r.map(s=>s()))},loadInitialData(){var t,e,r,s,o,n,i,a;this.hasInitialized||(this.hasInitialized=!0,(e=(t=this.data.seoStatistics)==null?void 0:t.statistics)!=null&&e.impressions||this.updateSeoStatistics({filter:"all",searchTerm:""}),(o=(s=(r=this.data.keywords)==null?void 0:r.paginated)==null?void 0:s.rows)!=null&&o.length||this.updateKeywords({filter:"all",searchTerm:""}),(a=(i=(n=this.data.contentRankings)==null?void 0:n.paginated)==null?void 0:i.totals)!=null&&a.total||this.updateContentRankings({searchTerm:""}))},updateSeoStatistics(t){return this.loading.seoStatistics=!0,h.get(p.restUrl("search-statistics/stats/seo-statistics")).query({startDate:this.range.start,endDate:this.range.end,rolling:this.rolling,...t}).then(e=>{e.body.success&&(this.range=e.body.range,this.data.seoStatistics=e.body.data)}).finally(()=>{this.loading.seoStatistics=!1})},updateKeywords(t){return this.loading.keywords=!0,h.get(p.restUrl("search-statistics/stats/keywords")).query({startDate:this.range.start,endDate:this.range.end,rolling:this.rolling,...t}).then(e=>{e.body.success&&(this.range=e.body.range,this.data.keywords=e.body.data)}).finally(()=>{this.loading.keywords=!1})},updateContentRankings(t){return this.loading.contentRankings=!0,h.get(p.restUrl("search-statistics/stats/content-rankings")).query({endDate:this.latestAvailableDate,...t}).then(e=>{e.body.success&&(this.data.contentRankings=e.body.data)}).finally(()=>{this.loading.contentRankings=!1})},getInspectionResult(t){return h.get(p.restUrl("search-statistics/inspection-result")).query({"paths[]":t}).then(e=>(this.quotaExceeded.urlInspection=e.body.quotaExceeded,e.body.data))},getPagesByKeywords(t){return h.post(p.restUrl("search-statistics/stats/keywords/posts")).send({startDate:this.range.start,endDate:this.range.end,keywords:t}).then(e=>e.body.data)},getPostDetail(t){return h.get(p.restUrl("search-statistics/post-detail")).query({startDate:this.range.start,endDate:this.range.end,postId:t}).then(e=>e)},getPostDetailFocusKeywordTrend({focusKeyword:t}){return h.get(p.restUrl("search-statistics/post-detail/focus-keyword")).query({startDate:this.range.start,endDate:this.range.end,postId:this.data.postDetail.postId,focusKeyword:t}).then(e=>e)},updatePostDetailSeoStatistics(t){return this.loading.postDetailSeoStatistics=!0,h.get(p.restUrl("search-statistics/post-detail/seo-statistics")).query({startDate:this.range.start,endDate:this.range.end,rolling:this.rolling,postId:this.data.postDetail.postId,...t}).then(e=>{e.body.success&&(this.data.postDetail.seoStatistics=e.body.data)}).finally(()=>{this.loading.postDetailSeoStatistics=!1})},updatePostDetailKeywords(t){return this.loading.postDetailKeywords=!0,h.get(p.restUrl("search-statistics/post-detail/keywords")).query({startDate:this.range.start,endDate:this.range.end,rolling:this.rolling,postId:this.data.postDetail.postId,...t}).then(e=>{e.body.success&&(this.data.postDetail.keywords=e.body.data)}).finally(()=>{this.loading.postDetailKeywords=!1})},getPageSpeed(t){return h.get(p.restUrl("search-statistics/pagespeed")).query(t).then(e=>e)},deleteSitemap({sitemap:t}){return h.post(p.restUrl("search-statistics/sitemap/delete")).send({sitemap:t}).then(e=>{I().updateOption("internalOptions",{groups:["internal","searchStatistics"],key:"sitemap",value:e.body.data.internalOptions}),this.sitemapsWithErrors=e.body.data.sitemapsWithErrors})},ignoreSitemap({sitemap:t}){return h.post(p.restUrl("search-statistics/sitemap/ignore")).send({sitemap:t}).then(e=>{I().updateOption("internalOptions",{groups:["internal","searchStatistics"],key:"sitemap",value:e.body.data.internalOptions}),this.sitemapsWithErrors=e.body.data.sitemapsWithErrors})},updateSeoRevision(t){const e=this.data.postDetail.seoStatistics.timelineMarkers;Object.keys(e).forEach(r=>{e[r].forEach((s,o)=>{s.type==="aioseoRevision"&&(e[r][o].revisions=e[r][o].revisions.map(n=>n.id===t[0].id?t[0]:n))})}),this.data.postDetail.seoStatistics.timelineMarkers=e},deleteSeoRevision(t){const e=this.data.postDetail.seoStatistics.timelineMarkers;Object.keys(e).forEach(r=>{e[r].forEach((s,o)=>{s.type==="aioseoRevision"&&(e[r][o].revisions=e[r][o].revisions.filter(n=>n.id!==t.id))})}),this.data.postDetail.seoStatistics.timelineMarkers=e},showSampleReports(){this.shouldShowSampleReports=!0}}}),Za=t=>{const e=t.find(r=>{var s;return 0<((s=r.headings)==null?void 0:s.length)});return!!(e&&Object.keys(e).length)},ls=(t,e=0)=>{var o;if(!Za([...t]))return t;const r=[],s=[...t];for(;s.length&&!(e&&r.length===e);){const{...n}=s.shift();(o=n.headings)!=null&&o.length&&s.unshift(...n.headings),n.headings=[],r.push(n)}return r},rd=t=>{const e=(s,o="root")=>{const n={[o]:[]};return s.forEach(i=>{n[o].push(i.blockClientId),Object.assign(n,e(i.headings,i.blockClientId))}),n},r=e([...t]);return t=ls([...t]),Object.entries(r).forEach(([s,o])=>{o.length&&(s==="root"?o.map(n=>{const i=t.findIndex(a=>a.blockClientId===n);return t[i].editedLevel=1,n}):o.map(n=>{const i=t.findIndex(u=>u.blockClientId===s),a=t.findIndex(u=>u.blockClientId===n);return t[a].editedLevel=t[i].editedLevel+1,n}))}),t.forEach((s,o)=>{s.editedOrder=o+1}),t.sort((s,o)=>s.editedOrder-o.editedOrder)},Ja=t=>{const e=[];let r=[],s=-1;if(t.length===0)return[];t=ls([...t]);const o=()=>{0<r.length&&(e[e.length-1].headings=Ja(r))};return t.forEach(n=>{n={...n};const i=n.editedLevel||n.level;if(s!==-1&&s<i){r.push(n);return}o(),s=i,e.push(n),r=[]}),o(),e},Dr=(t,e="div")=>{const r=document.createElement(e);return r.innerHTML=Yo(t.trim()),r},wr=(t,e=!0,r="textContent")=>(typeof t=="string"&&(e&&(t=t.replace(/[\t|\n]/gm,"")),t=Dr(t)),t[r]||t.textContent||t.innerText||""),Qa=t=>(typeof t=="string"&&(t=Dr(t)),(t==null?void 0:t.outerText)??""),cs=t=>(typeof t=="string"&&(t=Dr(t)),t.querySelectorAll("img")),sd=(t,e=200)=>t&&(e<t.length&&(t=t.substring(0,e).trim()+ns("…")),t),_s=(t,e)=>{try{const r=JSON.parse(e);return r?r["@type"]&&(t===r["@type"]||Array.isArray(r["@type"])&&r["@type"].includes(t))?r:Array.isArray(r["@graph"])&&r["@graph"].find(o=>Array.isArray(o["@type"])?o["@type"].includes(t):o["@type"]===t)||!1:!1}catch{return!1}},od=()=>{var t;return{url:window.location.href,title:document.title||"",description:((t=document.querySelector('meta[name="description"]'))==null?void 0:t.content)||""}},nd=()=>{var e,r,s,o;const t={description:((e=document.querySelector('meta[property="og:description"]'))==null?void 0:e.content)||"",image:((r=document.querySelector('meta[property="og:image"]'))==null?void 0:r.content)||"",title:((s=document.querySelector('meta[property="og:title"]'))==null?void 0:s.content)||"",type:((o=document.querySelector('meta[property="og:type"]'))==null?void 0:o.content)||""};if(!t.title&&(t.title=document.title||"",!t.title)){const n=L();t.title=n.aioseo.urls.domain}return t},id=()=>{var t,e,r,s;return{card:((t=document.querySelector('meta[name="twitter:card"]'))==null?void 0:t.content)||"",description:((e=document.querySelector('meta[name="twitter:description"]'))==null?void 0:e.content)||"",image:((r=document.querySelector('meta[name="twitter:image"]'))==null?void 0:r.content)||"",title:((s=document.querySelector('meta[name="twitter:title"]'))==null?void 0:s.content)||""}},ad=$("SeoPreviewStore",{getters:{richResults(){var s;const t=us(),e=su();let r=(s=ls(e.headings,4)||[])==null?void 0:s.map(o=>(o==null?void 0:o.content)||"");return(!Array.isArray(r)||!r.length)&&(r=[]),{anchorLinks:r.filter(o=>!!o),reviewSnippet:this.extractReviewSnippet(t.output),faq:this.extractFaq(t.output)}}},actions:{extractReviewSnippet(t){var s,o,n;let e={};const r=["Movie","Product","SoftwareApplication","Car","ProductReview"];for(const i of r){const a=_s(i,t);if(a){const u=(a==null?void 0:a.aggregateRating)||null,c=(a==null?void 0:a.offers)||null,g=Gi(Array.isArray(c)?No(c,"price"):[]);let A=[];if(a!=null&&a.review)if(Array.isArray(a==null?void 0:a.review))A=a.review.map(k=>{var T,N;const D=Array.isArray((T=k==null?void 0:k.positiveNotes)==null?void 0:T.itemListElement)?k.positiveNotes.itemListElement.map(j=>j.name):[],S=Array.isArray((N=k==null?void 0:k.negativeNotes)==null?void 0:N.itemListElement)?k.negativeNotes.itemListElement.map(j=>j.name):[];return D.concat(S)}).flat();else{const k=Array.isArray((s=a.review.positiveNotes)==null?void 0:s.itemListElement)?a.review.positiveNotes.itemListElement.map(S=>S.name):[],D=Array.isArray((o=a.review.negativeNotes)==null?void 0:o.itemListElement)?a.review.negativeNotes.itemListElement.map(S=>S.name):[];A=k.concat(D)}g.sort((k,D)=>k-D),e={...u&&{bestRating:a.aggregateRating.bestRating??null,ratingValue:a.aggregateRating.ratingValue??null,reviewCount:a.aggregateRating.reviewCount??null,ratingCount:a.aggregateRating.ratingCount??null},...c&&{priceCurrency:((n=c[0])==null?void 0:n.priceCurrency)??c.priceCurrency??null,price:g[0]??c.price??null,priceFrom:g[0]??null,priceTo:g[g.length-1]??null},prosConsNotes:A};break}}return e},extractFaq(t){const e=_s("FAQPage",t);return e!=null&&e.mainEntity?Object.values(e.mainEntity).map(r=>{var s;return{question:r==null?void 0:r.name,answer:(s=r==null?void 0:r.acceptedAnswer)==null?void 0:s.text}}):{}}}}),Xa=$("SeoRevisionsStore",{state:()=>({items:[],currentUser:{avatar:null,display_name:null},itemFrom:{},itemTo:{},noteMaxLength:0,itemsLimit:0,itemsTotalCount:0,seoRevisionsDiff:{},seoRevisionsDiffCache:{},modalOpenSidebar:!1,error:null}),getters:{hasDiff(){return 0<this.seoRevisionsDiff.length?0<No(this.seoRevisionsDiff,"diff").filter(t=>t).length:!0}},actions:{delete(t){return h.delete(p.restUrl(`seo-revisions/${t}`)).then(e=>(this.itemsTotalCount=e.body.itemsTotalCount,e))},fetch(t={},e=!1){const r=O();return h.get(p.restUrl("seo-revisions/"+r.currentPost.context+"/"+r.currentPost.id)).query(t).then(s=>{if(this.itemsTotalCount=s.body.itemsTotalCount,e)for(const o of s.body.items)this.items.push(o);else this.items=s.body.items;return s})},update({id:t,payload:e}){return h.post(p.restUrl(`seo-revisions/${t}/`)).send(e).then(r=>r)},restore({id:t}){return h.post(p.restUrl(`seo-revisions/restore/${t}/`)).then(e=>e)},fetchDiff(t){const e=t.fromId+"_"+t.toId;return new Promise(r=>{this.seoRevisionsDiffCache[e]?(this.seoRevisionsDiff=this.seoRevisionsDiffCache[e],r({})):h.get(p.restUrl("seo-revisions/diff")).query(t).then(s=>{this.seoRevisionsDiff=s.body.diff,this.seoRevisionsDiffCache[e]=s.body.diff,r(s)})})}}}),eu=$("SettingsStore",{state:()=>({settings:{},metaBoxTabs:{mainSidebar:{},main:"general",modal:"general",social:"facebook",socialModal:"facebook",linkAssistant:"inbound-internal"},modals:{aiGenerator:!1},userProfile:{}}),actions:{closeCard(t){this.settings.toggledCards[t]=!1},changeTabSettings({setting:t,value:e}){this.metaBoxTabs[t]=e},setModalState({modalName:t,value:e}){this.modals[t]=e},toggleCard({slug:t,shouldSave:e}){this.settings.toggledCards[t]=!this.settings.toggledCards[t],e&&h.post(p.restUrl("settings/toggle-card")).send({card:t}).then(()=>{})},toggleRadio({slug:t,value:e}){this.settings.toggledRadio[t]=e,h.post(p.restUrl("settings/toggle-radio")).send({radio:t,value:e}).then(()=>{})},dismissAlert(t){this.settings.dismissedAlerts[t]=!0,h.post(p.restUrl("settings/dismiss-alert")).send({alert:t}).then(()=>{})},changeItemsPerPage({slug:t,value:e}){return this.settings.tablePagination[t]=e,h.post(p.restUrl("settings/items-per-page")).send({table:t,value:e}).then(()=>{})},changeTab({slug:t,value:e}){this.settings.internalTabs[t]=e},hideUpgradeBar(){return this.settings.showUpgradeBar=!1,h.post(p.restUrl("settings/hide-upgrade-bar")).send({}).then(()=>{})},hideSetupWizard(){return this.settings.showSetupWizard=!1,h.post(p.restUrl("settings/hide-setup-wizard")).send({}).then(()=>{})}}}),tu=$("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},smartRecommendations:{accountInfo:null,usageTracking:!0},licenseKey:null,showUsageTrackingModal:!1}),getters:{shouldShowImportStep:()=>L().aioseo.importers.filter(e=>e.canImport).length,getNextLink:t=>{const e={name:t.stages[0]},r=t.stages.findIndex(s=>s===t.currentStage);return r===-1||(e.name=t.stages[r+1]?t.stages[r+1]:"success"),e},getPrevLink:t=>{const e={name:t.stages[0]},r=t.stages.findIndex(s=>s===t.currentStage);return r===-1||(e.name=t.stages[r-1]?t.stages[r-1]:"welcome"),e},getCurrentStageCount:t=>{const e=t.stages.findIndex(r=>r===t.currentStage);return e===-1?t.currentStage==="success"?t.getTotalStageCount:0:e+1},getTotalStageCount:t=>t.stages.length},actions:{saveWizard(t){const e=L(),r={...this.$state};return r.showUsageTrackingModal=!1,h.post(p.restUrl("wizard")).send({section:t,wizard:r,network:e.aioseo.data.isNetworkAdmin}).then(s=>{if(s.body.options){const o=Ge(),n=I();n.options=s.body.options,o.updateOriginalOptions("options",s.body.options)}})},loadState(t){Object.keys(t).forEach(e=>{this[e]=t[e]})}}}),ie=$("TagsStore",{state:()=>({tags:[],context:{},liveTags:{post_title:null,post_content:null,post_excerpt:null,taxonomy_title:null,taxonomy_description:null,custom_field:[],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(p.restUrl("tags")).then(t=>{this.tags=t.body.tags})},updateTaxonomyTitle(t){this.liveTags.taxonomy_title=t},updateTaxonomyDescription(t){this.liveTags.taxonomy_description=t},updatePermalink(t){this.liveTags.permalink=t},updatePostTitle(t){this.liveTags.post_title=t},updatePostContent(t){this.liveTags.post_content=t},updatePostExcerpt(t){this.liveTags.post_excerpt=t},updateAttachmentCaption(t){this.liveTags.attachment_caption=t},updateAttachmentDescription(t){this.liveTags.attachment_description=t},updateAltTag(t){this.liveTags.alt_tag=t},updateCategories(t){this.liveTags.categories=t},updateWooCommerceBrand(t){this.liveTags.woocommerce_brand=t},updateWooCommerceSku(t){this.liveTags.woocommerce_sku=t},updateWooCommercePrice(t){this.liveTags.woocommerce_price=t},updatePermalinkSlug(t){this.permalinkSlug=t}}}),ud=$("ToolsStore",{actions:{clearLog(t){return h.post(p.restUrl("clear-log")).send({log:t}).then(e=>{const r=L();r.aioseo.data.logSizes[t]=e.body.logSize})},emailDebugInfo(t){return h.post(p.restUrl("email-debug-info")).send({email:t})},doTask({action:t,data:e,siteId:r}){const s=L();return h.post(p.restUrl("settings/do-task")).send({action:t,data:e,siteId:r,network:s.aioseo.data.isNetworkAdmin}).then(o=>{if(!(o!=null&&o.statusCode)||o.statusCode===400)return Promise.reject(new Error(`Task ${t} could not be completed.`))})},uploadFile({file:t,filename:e,siteId:r}){return h.post(p.restUrl(`settings/import/${r||""}`)).attach("file",t,e).then(s=>{if(s.body.license&&!r){const n=Ot();n.license=s.body.license,n.clearLicenseNotices()}const o=I();return o.options=s.body.options,s})},exportSettings(t){return h.post(p.restUrl("settings/export")).send(t)},exportContent(t){return h.post(p.restUrl("settings/export-content")).send(t)},resetSettings({payload:t,siteId:e}){return h.post(p.restUrl("reset-settings")).send({settings:t,siteId:e})},importPlugins(t){return h.post(p.restUrl("settings/import-plugins")).send(t)}}}),ld=$("TruSeoHighlighterStore",{state:()=>{var t,e;return{allowScrolling:!1,allowHighlighting:!0,dispatchAnnotations:((e=(t=window==null?void 0:window.wp)==null?void 0:t.data)==null?void 0:e.dispatch("core/annotations"))||null,enabled:!0,highlightAnalyzer:null,highlightMarks:[],highlightPopover:{},source:"aioseo-tru-seo-highlighter",wpBodyContentObserver:null}},getters:{highlightAnalysis(){var s,o;const e=((o=(s=O().currentPost)==null?void 0:s.page_analysis)==null?void 0:o.analysis)||{};return(Object.values(e).flat().find(n=>!!n[this.highlightAnalyzer])||{})[this.highlightAnalyzer]||{}},highlightAnalyzerHasError(){var t;return!!((t=this.highlightAnalysis)!=null&&t.error)},highlightSentences(){var e;let t=[];return Array.isArray((e=this.highlightAnalysis)==null?void 0:e.highlightSentences)&&(t=this.highlightAnalysis.highlightSentences.flat().map(r=>(r=r.replace(/&[a-zA-Z0-9#]{2,};$/,""),r=r.replace(/<br[^>]*>/gi,` `),Qa(r))).filter(r=>!!r.trim())),t.length?t:null},activeMark(){return this.highlightMarks.length?this.highlightMarks.find(t=>t.active&&t.node):null}},actions:{clearHighlightPopover(){var t,e,r;(t=this.highlightPopover)!=null&&t.observer&&this.highlightPopover.observer.disconnect(),(e=this.highlightPopover)!=null&&e.node&&this.highlightPopover.node.remove(),(r=this.highlightPopover)!=null&&r.app&&this.highlightPopover.app.unmount(),this.highlightPopover={}},clearAnnotations(){var t,e;if(typeof((t=this.dispatchAnnotations)==null?void 0:t.__experimentalRemoveAnnotationsBySource)=="function"&&this.dispatchAnnotations.__experimentalRemoveAnnotationsBySource(this.source),typeof((e=window==null?void 0:window.tinymce)==null?void 0:e.editors)=="object")for(const r of window.tinymce.editors){const s=r.selection.win.getSelection(),o=Object.values(r.annotator.getAll(this.source)).flat();for(const n of Object.values(o))r.undoManager.ignore(()=>{s.selectAllChildren(n),s.setPosition(n,0),r.annotator.remove(this.source)})}this.highlightMarks=[]},clearAll(){this.clearHighlightPopover(),this.clearAnnotations()},sanitizeHighlightMarks(){this.highlightMarks=this.highlightMarks.filter(t=>!!t.node),this.highlightMarks.length&&!this.highlightMarks.find(t=>!!t.active)&&(this.highlightMarks[0].active=!0)},toggleHighlightAnalyzer(t){if(this.allowScrolling=!0,this.highlightAnalyzer===t)return this.highlightAnalyzer=null,!1;this.highlightAnalyzer=null,or().then(()=>{this.highlightAnalyzer=t})}}}),ru=$("WritingAssistantSettings",{state:()=>({seoBoost:{isLoggedIn:!1,loginUrl:"",userOptions:{}},updating:{userOptions:!1}}),getters:{loading:t=>t.updating.userOptions,getCountriesOptions:t=>{var r,s;const e=[];return(r=t.seoBoost.userOptions)!=null&&r.country_list&&Object.keys((s=t.seoBoost.userOptions)==null?void 0:s.country_list).forEach(function(o){var n,i;e.push({label:((n=t.seoBoost.userOptions)==null?void 0:n.country_list[o])+" ("+((i=t.seoBoost.userOptions)==null?void 0:i.search_engine_list[o])+")",value:o})}),e},userCountryOption:t=>t.getCountriesOptions.find(e=>e.value===t.seoBoost.userOptions.country)||[],getLanguagesOptions:t=>{var r,s;const e=[];return(r=t.seoBoost.userOptions)!=null&&r.language_list&&Object.keys((s=t.seoBoost.userOptions)==null?void 0:s.language_list).forEach(function(o){var n;e.push({label:(n=t.seoBoost.userOptions)==null?void 0:n.language_list[o],value:o})}),e},userLanguageOption:t=>t.getLanguagesOptions.find(e=>e.value===t.seoBoost.userOptions.language)||[]},actions:{setUserLoggedIn(t){this.seoBoost.isLoggedIn=t,this.refreshUserOptions()},disconnect(){h.post(p.restUrl("writing-assistant/disconnect")).send().then(t=>{t.body.success&&(this.seoBoost.isLoggedIn=!1)})},hookSaveUserOptions(){window.aioseoBus.$on("saving-changes",()=>{this.saveUserOptions()})},saveUserOptions(){this.seoBoost.isLoggedIn&&h.post(p.restUrl("writing-assistant/user-options")).send({country:this.seoBoost.userOptions.country,language:this.seoBoost.userOptions.language}).then(t=>{if(!t.body.success)throw new Error(t.body.message)})},getCountryLabel(t){var e;return((e=this.getCountriesOptions.find(r=>r.value.toUpperCase()===t.toUpperCase()))==null?void 0:e.label)||""},getLanguageLabel(t){var e;return((e=this.getLanguagesOptions.find(r=>r.value===t))==null?void 0:e.label)||""},refreshUserOptions(){this.updating.userOptions||(this.updating.userOptions=!0,h.get("/writing-assistant/user-options").then(t=>{var e;(e=t.body)!=null&&e.error||(this.seoBoost.userOptions=t.body||{}),this.updating.userOptions=!1}))}}}),su=$("TableOfContentsStore",{state:()=>({blockClientId:null,headings:[],listStyle:"ul",reOrdered:!1}),actions:{setHeadings(t){this.headings=t}}});function zs(t,e,r,s){if(typeof t[r]=="number"){if(s==="asc")return t[r]-e[r];if(s==="desc")return e[r]-t[r]}if(typeof t[r]=="string"){if(s==="asc")return t[r].localeCompare(e[r],"en",{sensitivity:"base"});if(s==="desc")return e[r].localeCompare(t[r],"en",{sensitivity:"base"})}return 0}let Vs,Nr;const cd=(t,e)=>((...r)=>{const s=()=>t(...r);clearTimeout(Vs),Vs=setTimeout(s,e)}).call(),Zr=function(t,e){Nr&&clearTimeout(Nr),Nr=setTimeout(t,e)},ou=t=>{var r;if(typeof(window==null?void 0:window.acf)!="object"||typeof((r=window.acf)==null?void 0:r.getField)!="function")return null;const e=window.acf.getField(t)||{};return typeof(e==null?void 0:e.val)!="function"?null:e.val()||{}},nu=(t=null)=>{var a,u,c,g,A,k,D;Hc();const e=I(),r=O();if(t)return!!((u=(a=e.dynamicOptions.searchAppearance.postTypes[t])==null?void 0:a.advanced)!=null&&u.showMetaBox);if(!((c=r.currentPost)!=null&&c.id))return!1;const s=r.currentPost.postType,o=r.currentPost.termType,n=!!(s&&r.currentPost.context==="post"&&e.dynamicOptions.searchAppearance.postTypes[s]&&((A=(g=e.dynamicOptions.searchAppearance.postTypes[s])==null?void 0:g.advanced)!=null&&A.showMetaBox)),i=!!(o&&r.currentPost.context==="term"&&e.dynamicOptions.searchAppearance.taxonomies[o]&&((D=(k=e.dynamicOptions.searchAppearance.taxonomies[o])==null?void 0:k.advanced)!=null&&D.showMetaBox));return n||i},iu=()=>{const t=window.elementor.documents.getCurrent(),e=[];return t.$element?(t.$element.find(".elementor-widget-container").each((r,s)=>{const o=s.innerHTML.trim().replaceAll(/<p.*>(<img.*>)<\/p>/g,"$1");wr(o)===""&&cs(o).length===0||e.push(o)}),e.join(" ")):""},Ft=()=>{var r;const{settings:t,config:e}=window.elementor;return{content:iu(),title:t.page.model.get("post_title"),excerpt:t.page.model.get("post_excerpt")||"",slug:vt(t.page.model.get("post_title")),permalink:e.document.urls.permalink||"",featuredImage:((r=t.page.model.get("post_featured_image"))==null?void 0:r.url)||""}},au=()=>{const t=Ae(ET_Builder,"Frames.app.frameElement",document.querySelector("iframe#et-fb-app-frame"));if(!t)return document.createElement("div");let e=t.contentWindow.document.querySelectorAll("#et-fb-app");return 1<e.length&&(e=[...e].filter(r=>r.classList.contains("et-fb-root-ancestor"))),e[0]||document.createElement("div")},uu=()=>{const t=[],e=au().querySelectorAll(".et_pb_section"),r=new RegExp(["<style.*?</style>","\\[object Object\\]"].join("|"),"gi");for(const s of e){const o=s.innerHTML.replace(r,"").replaceAll(/<p.*>(<img.*>)<\/p>/g,"$1");wr(o)===""&&cs(o).length===0||t.push(o)}return t.join(" ")},lu=()=>{const t=new URL(Ae(ETBuilderBackendDynamic,"currentPage.permalink",""));return t.searchParams.delete("PageSpeed"),t.href},cu=async()=>{const{wp:t}=window,e=Ae(ETBuilderBackendDynamic,"currentPage.thumbnailId",0);if(!t||e===0)return"";const r=t.media.attachment(e);let s="";return await r.fetch().then(()=>{s=r.get("url"),Pa(ETBuilderBackendDynamic,"currentPage.thumbnailUrl",s)}),s},Nt=()=>({content:uu(),title:Ae(ETBuilderBackendDynamic,"postTitle",""),excerpt:Ae(ETBuilderBackendDynamic,"postMeta.post_excerpt",""),slug:Ae(ETBuilderBackendDynamic,"postMeta.post_name",""),permalink:lu(),featuredImage:cu()}),du=t=>{let e;switch(t.type){case"header":e=document.createElement(t.settings.tag),e.innerHTML=t.settings.headerTxt.trim();break;case"image":const r=document.createElement("img");t.settings.altTxt&&r.setAttribute("alt",t.settings.altTxt),t.settings.src&&r.setAttribute("src",t.settings.src),t.settings.noFollow&&r.setAttribute("rel","nofollow"),e=r,t.settings.link&&(e=document.createElement("a"),e.setAttribute("href",t.settings.link),e.innerHTML=r.outerHTML,t.settings.noFollow&&e.setAttribute("rel","nofollow"),t.settings.openNewWindow&&e.setAttribute("target","_blank"));break;case"video":t.settings.type==="youtube"?(e=document.createElement("iframe"),e.setAttribute("src",t.settings.youtubeUrl)):(e=document.createElement("div"),e.innerHTML=t.settings.code);break;case"text":e=document.createElement("div"),e.innerHTML=t.settings.txt.trim();break;case"button":e=document.createElement("a"),e.appendChild(document.createTextNode(t.settings.btnTxt+" "+t.settings.btnSubTxt)),t.settings.link&&e.setAttribute("href",t.settings.link),t.settings.altTxt&&e.setAttribute("alt",t.settings.altTxt),t.settings.src&&e.setAttribute("src",t.settings.src),t.settings.noFollow&&e.setAttribute("rel","nofollow"),t.settings.openNewWindow&&e.setAttribute("target","_blank");break;case"bullet-list":e=document.createElement("ul"),t.settings.items.forEach(s=>{const o=document.createElement("li");o.innerHTML=s.txt,e.appendChild(o)});break;case"custom-html":e=document.createElement("div"),e.innerHTML=t.settings.code;break}return e},hu=()=>{const t=[];return JSON.parse(JSON.stringify(Ae(seedprod_data,"settings.document.sections",[]))).forEach(r=>{r.rows.forEach(s=>{s.cols.forEach(o=>{o.blocks.forEach(n=>{const i=du(n);i&&(wr(i)===""&&cs(i).length===0||t.push(i.outerHTML))})})})}),t.join(" ")},pu=()=>{const t=Ae(seedprod_data,"home_url",""),e=Ae(seedprod_data,"settings.post_name","");return`${t}/${e}/`},qt=()=>({content:hu(),title:Ae(seedprod_data,"settings.post_title",""),excerpt:"",slug:Ae(seedprod_data,"settings.post_name",""),permalink:pu()}),fu=()=>O().currentPost.processedContent,gu=t=>{var e;if(t==="admin_frontend_editor"){const{vc:r}=window;return r.builder.getTitle()}return((e=document.getElementById("#title"))==null?void 0:e.value)||""},mu=t=>{var e;if(t==="admin_frontend_editor"){const{vc_iframe_src:r}=window,s=new URL(r).pathname.split("/").filter(o=>o);return s[s.length-1]}return((e=document.querySelector("#post_name"))==null?void 0:e.value)||""},yu=t=>{var e;if(t==="admin_frontend_editor"){const{vc_iframe_src:r}=window;return r.replace(new URL(r).search,"")}return((e=document.querySelector("#sample-permalink a"))==null?void 0:e.href)||""},Pt=()=>{const{vc_mode:t}=window;return{content:fu(),title:gu(t),excerpt:"",slug:mu(t),permalink:yu(t),featuredImage:""}},bu=()=>{var e;return((e=O().currentPost)==null?void 0:e.processedContent)||""},Du=()=>{var e;const{FusionApp:t}=window;return(t==null?void 0:t.getPost("post_title"))||((e=document.getElementById("#title"))==null?void 0:e.value)||""},wu=()=>{var e;const{FusionApp:t}=window;return(t==null?void 0:t.getPost("post_name"))||((e=document.querySelector("#post_name"))==null?void 0:e.value)||""},Au=()=>{var e;const{FusionApp:t}=window;return(t==null?void 0:t.getPost("post_permalink").replace("?fb-edit=1",""))||((e=document.querySelector("#sample-permalink a"))==null?void 0:e.href)||""},Eu=async()=>{const{wp:t,FusionApp:e}=window;if(!t||!e||!e.getDynamicPost("post_meta")._thumbnail_id)return"";const r=t.media.attachment(e.getDynamicPost("post_meta")._thumbnail_id);let s="";return await r.fetch().then(()=>{s=r.get("url")}),s},Lt=()=>({content:bu(),title:Du(),excerpt:"",slug:wu(),permalink:Au(),featuredImage:Eu()}),Su=()=>{let t="";const e=["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"],r=function(o){var i;const n=Dr(o);if(n.querySelectorAll(".so-panel").length===0)return o;for(const a of n.querySelectorAll("iframe, script, style, link"))a.remove();return n.querySelectorAll("*").forEach(a=>{if(!e.includes(a.tagName.toLowerCase())){const u=Array.from(a.childNodes);a.replaceWith(...u)}}),((i=n.innerHTML)==null?void 0:i.replace(/[\t|\n]/gm," "))||""},{soPanelsBuilderView:s}=window;return s&&(Array.isArray(s)?s.forEach(function(o){t+=r(o.contentPreview)}):t=r(s.contentPreview)),t},It=()=>({content:Su(),title:"",excerpt:"",slug:"",permalink:"",featuredImage:""}),ku=()=>{var t,e;return((e=(t=TVE==null?void 0:TVE.Editor_Page)==null?void 0:t.content_manager)==null?void 0:e.get_clean_content())||""},vu=()=>{var t,e;return((e=(t=TVE==null?void 0:TVE.CONST)==null?void 0:t.post)==null?void 0:e.post_title)||""},Cu=()=>{var t,e;return((e=(t=TVE==null?void 0:TVE.CONST)==null?void 0:t.post)==null?void 0:e.post_name)||""},xu=()=>{var t;return((t=TVE==null?void 0:TVE.CONST)==null?void 0:t.post_url)||""},Tu=()=>{var e,r,s,o,n;const t=((s=(r=(e=TVE==null?void 0:TVE.CONST)==null?void 0:e.theme)==null?void 0:r.post_featured_image)==null?void 0:s.src)||((n=(o=TVE==null?void 0:TVE.CONST)==null?void 0:o.post_image)==null?void 0:n.featured)||"";return t.includes("inc/assets/images/featured_image.png")?"":t},Rt=()=>({content:ku(),title:vu(),excerpt:"",slug:Cu(),permalink:xu(),featuredImage:Tu()}),Xo=()=>{let t="";switch(!0){case je():t=Ft().permalink;break;case at():t=Nt().permalink;break;case ut():t=qt().permalink;break;case lt():t=Pt().permalink;break;case ct():t=Lt().permalink;break;case ht():t=It().permalink;break;case dt():t=Rt().permalink;break}return t},Bu=()=>{const t=ie();if(t.liveTags.permalink)return t.liveTags.permalink;let e;if(Se()||xe){const r=document.querySelector("#edit-slug-box a");r&&r.href&&(e=r.href)}return le()&&(e=window.wp.data.select("core/editor").getPermalink()),e||(e=Xo()),e&&t.updatePermalink(e),e},We=()=>{let t;if(Se()||xe){const e=document.querySelector("#edit-slug-box a");e&&e.href&&(t=e.href)}return le()&&(t=window.wp.data.select("core/editor").getPermalink()),t||(t=Xo()),t},Ou=async(t=!0)=>{let e=Bu();const r=We();if(e!==r&&(e=r,e)){const s=O();if(ie().updatePermalink(e),!t)return;new Te().runAnalysis({postId:s.currentPost.id,postData:{...s.currentPost},content:Re(),slug:We()})}},en=t=>t?(t=t.replaceAll(/\n\n/g," "),t=wr(t,!1,"innerText"),t=t.replace(/\[.*?]/g,""),t.trim()):"",tn=()=>{let t="";switch(!0){case je():t=Ft().excerpt;break;case at():t=Nt().excerpt;break;case ut():t=qt().excerpt;break;case lt():t=Pt().excerpt;break;case ct():t=Lt().excerpt;break;case ht():t=It().excerpt;break;case dt():t=Rt().excerpt;break}return t},rn=()=>{const t=ie();if(t.liveTags.post_excerpt)return t.liveTags.post_excerpt;let e;return(Se()||xe())&&(e=sn()),le()&&(e=window.wp.data.select("core/editor").getCurrentPost().excerpt),e||(e=tn()),e||(e=en(pn())),e&&t.updatePostExcerpt(e),e},Fu=()=>{let t;return(Se()||xe())&&(t=sn()),le()&&(t=window.wp.data.select("core/editor").getEditedPostAttribute("excerpt")),t||(t=tn()),t||(t=en(Re())),t},Nu=async(t=!0)=>{let e=rn();const r=Fu();if(e!==r){e=r;const s=O();if(ie().updatePostExcerpt(e),!t)return;new Te().runAnalysis({postId:s.currentPost.id,postData:{...s.currentPost},content:Re(),slug:We()})}},sn=()=>{let t="";const e=document.querySelector("#postexcerpt textarea#excerpt");if(t=e?e.value:"",document.querySelector("#wp-excerpt-wrap.tmce-active")){const r=window.tinyMCE?window.tinyMCE.get("excerpt"):"";r&&(t=r.getContent({format:"raw"}))}return t},on=()=>{let t="";switch(!0){case je():t=Ft().slug;break;case at():t=Nt().slug;break;case ut():t=qt().slug;break;case lt():t=Pt().slug;break;case ct():t=Lt().slug;break;case ht():t=It().slug;break;case dt():t=Rt().slug;break}return t},qu=()=>{const t=ie();if(t.permalinkSlug)return t.permalinkSlug;let e="";if(Se()||xe()){const r=document.querySelector("#post_name");r&&(e=vt(r.value))}return le()&&(e=window.wp.data.select("core/editor").getCurrentPost().slug),e||(e=on()),e&&t.updatePermalinkSlug(e),e},Pu=()=>{let t="";if(Se()||xe()){const e=document.querySelector("#post_name");e&&(t=vt(e.value))}if(le()&&(t=window.wp.data.select("core/editor").getEditedPostAttribute("slug")),je()){const e=window.elementor.settings.page.model.get("post_title");e&&(t=vt(e))}return t||(t=on()),t},Lu=async(t=!0)=>{let e=qu();const r=Pu();if(e!==r){e=r;const s=O();if(ie().updatePermalinkSlug(e),!t)return;new Te().runAnalysis({postId:s.currentPost.id,postData:{...s.currentPost},content:Re(),slug:We()})}};let he="",Be="";const Iu=(t=!0)=>{var s;const e=ie();if(Se()||xe()){const o=document.querySelectorAll('#post input[name="post_category[]"]:checked');o.length?(he!==o[0].parentNode.innerText&&(he=o[0].parentNode.innerText,e.updateTaxonomyTitle(he)),Be=Array.from(o).map(n=>n.parentNode.innerText).join(", "),e.updateCategories(Be)):he!==""&&(he=Be="",e.updateTaxonomyTitle(he),e.updateCategories(Be))}if(le()){let o=[],n=[];if((s=L().aioseo.user.data.allcaps)!=null&&s.manageCategories&&(o=window.wp.data.select("core").getEntityRecords("taxonomy","category"),n=window.wp.data.select("core/editor").getEditedPostAttribute("categories")),n&&n.length&&o){const a=o.find(u=>u.id===n[0]);a&&he!==a.name&&(he=a.name,e.updateTaxonomyTitle(he)),Be=o.filter(u=>n.includes(u.id)).map(u=>u.name).join(", "),e.updateCategories(Be)}else he!==""&&(he=Be="",e.updateTaxonomyTitle(he),e.updateCategories(Be))}const r=O();t&&new Te().runAnalysis({postId:r.currentPost.id})},Ru=(t=!1)=>{const e=O();if(e.currentPost.context!=="term")return;const r=ie(),s=document.querySelector("#edittag input#name");s&&(r.updateTaxonomyTitle(s.value),s.addEventListener("input",()=>{r.updateTaxonomyTitle(s.value)}));const o=document.querySelector("#edittag textarea#description");o&&(r.updateTaxonomyDescription(o.value),o.addEventListener("input",()=>{r.updateTaxonomyDescription(o.value)}));const n=document.querySelector("#edittag input#slug");if(n){const i=vt(n.value);r.updatePermalinkSlug(i),r.updatePermalink(e.currentPost.permalink.replace(`/${r.permalinkSlug}`,`/${i.replace(/ /gi,"-").replace(/[^a-z0-9-]/gi,"").toLowerCase()}`)),n.addEventListener("input",()=>{r.updatePermalinkSlug(i),r.updatePermalink(e.currentPost.permalink.replace(`/${r.permalinkSlug}`,`/${i.replace(/ /gi,"-").replace(/[^a-z0-9-]/gi,"").toLowerCase()}`))})}e.savePostState(),t&&Te.runAnalysis({postId:e.currentPost.id})},Uu=(t=!1)=>{const e=O();if(e.currentPost.postType!=="attachment")return;const r=ie(),s=document.querySelector("textarea#attachment_caption");s&&(r.updateAttachmentCaption(s.value),s.addEventListener("input",u=>{r.updateAttachmentCaption(u.target.value)}));const o=document.querySelector("textarea#attachment-details-caption");o&&(r.updateAttachmentCaption(o.value),o.addEventListener("input",u=>{r.updateAttachmentCaption(u.target.value)}));const n=document.querySelector("textarea#attachment_content");n&&(r.updateAttachmentDescription(n.value),n.addEventListener("input",u=>{r.updateAttachmentDescription(u.target.value)}));const i=document.querySelector("input#attachment_alt");i&&(r.updateAltTag(i.value),i.addEventListener("input",u=>{r.updateAltTag(u.target.value)}));const a=document.querySelector("input#attachment-details-alt-text");a&&(r.updateAltTag(i.value),a.addEventListener("input",u=>{r.updateAltTag(u.target.value)})),t&&new Te().runAnalysis({postId:e.currentPost.id})},nn=()=>{var e,r;const t=O();return(e=t==null?void 0:t.currentPost)!=null&&e.id&&!!((r=t.currentPost)!=null&&r.isTruSeoEligible)||!1},dd=()=>{var s,o;const t=L();if(!((s=t.aioseo.screen)!=null&&s.postType))return!1;const e=O();return!!((o=I().options.advanced)!=null&&o.truSeo&&nu(t.aioseo.screen.postType)&&!e.currentPost.isStaticPostsPage)},Je=async(t=900,e=!0)=>{Zr(async()=>{const r=us(),s=O();await Vu(!1),await $u(!1),await Nu(!1),await Lu(!1),await Ou(!1),Iu(!1),Ru(!1),Uu(!1),Zr(r.updateSchemaOutput,Math.max(t*2,1800)),e&&new Te().runAnalysis({postId:s.currentPost.id})},t)},hd=t=>{const e=t.getRangeAt(0),r=e.cloneRange();return r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.startContainer,e.startOffset),t},pd=t=>{const e=new RegExp(" ","g");return t.replace(/ /g," ").replace(e," ")},fd=({element:t,property:e,value:r})=>{if(!t)return document.documentElement;let s=t.parentElement;for(;s;){if(s.isEqualNode(document.documentElement)||r===document.defaultView.getComputedStyle(s).getPropertyValue(e))return s;s=s.parentElement}},gd=()=>{const t=document.createElement("div");return t.classList.add("tru-seo-highlight-popover-wrapper"),t.style.position="absolute",t.style.zIndex="999",t.style.display="flex",t.setAttribute("tabindex",-1),t},an=()=>{const e=O().currentPost.postType;if(!e)return"";const s=I().dynamicOptions.searchAppearance.postTypes[e].customFields;if(!s||!nn)return"";const o=()=>{Je(500)},n=s.replace(/\n/g,",").split(","),i=[],a=["INPUT","TEXTAREA","IMG"],u=g=>{try{document.createDocumentFragment().querySelector(g)}catch{return!1}return!0};n.forEach(g=>{g=g.trim();const A=u(`#${g}`)?document.querySelector(`#${g}`):!1,k=document.querySelectorAll("#the-list > tr"),D=document.querySelectorAll(".acf-field");a.includes(A==null?void 0:A.tagName)&&!(A!=null&&A.closest(".acf-field"))?i.push(A):k.forEach(S=>{const T=S.querySelector(`#${S.id}-key`),N=S.querySelector(`#${S.id}-value`);a.includes(N==null?void 0:N.tagName)&&n.includes(T==null?void 0:T.value)&&i.push(N)}),D.forEach(S=>{if(g!==S.dataset.name)return"";let T=S.querySelector(`[id^="acf"][name$="[${S.dataset.key}]"]`);if(S.dataset.type==="image"&&(T=S.querySelector(".has-value img")),S.dataset.type==="gallery"&&(T=S.querySelector(".acf-gallery-attachment img")),S.dataset.type==="link"&&(T=ou(S.dataset.key)||S.querySelector(`[name$="[${S.dataset.key}][url]"]`)||{},T={tagName:"INPUT",type:"url",value:(T==null?void 0:T.url)??(T==null?void 0:T.value)??""}),!T||T.type&&T.type==="hidden")return"";if(S.dataset.type==="wysiwyg"){const N=window.setInterval(()=>{var Q,B;(B=(Q=window.tinyMCE)==null?void 0:Q.activeEditor)!=null&&B.acf&&(window.clearInterval(N),window.tinyMCE.activeEditor.on("keyup",function(){Je(500)}),window.tinyMCE.activeEditor.on("PostProcess",function(){Zr(()=>{Je(500)},10)}))},50),j=function(Q){Q.forEach(B=>{var oe;if(B.attributeName==="class"&&S.querySelector(".wp-editor-wrap.tmce-active")&&((oe=window.tinyMCE)!=null&&oe.activeEditor)){window.tinyMCE.activeEditor.on("keyup",function(){Je(500)});const m=S.querySelector(`[name="acf[${S.dataset.key}]"]`);m&&(m.addEventListener("keyup",()=>{Je(500)}),m.addEventListener("paste",()=>{Je(500)}))}})},te=new MutationObserver(j),J=S.querySelector(".wp-editor-wrap");J&&te.observe(J,{attributes:!0})}a.includes(T.tagName)&&i.push(T)})});let c="";return i.forEach(g=>{let A="";if(a.includes(g.tagName)&&typeof(g==null?void 0:g.addEventListener)=="function"&&g.addEventListener("keyup",o),g.value&&(A=g.value),g.tagName==="IMG"&&g.src){const k=g.alt?`alt="${g.alt}"`:"";A=`<img src="${g.src}" ${k}>`}g.value&&g.type&&g.type==="url"&&(A=`<a href="${A}">${A}</a>`),A&&(c+=`${A} `)}),c},md=(t,e=["INPUT","TEXTAREA","IMG"])=>{if(!t)return"";const r=document.querySelector(`#${t}`),s=document.querySelectorAll("#the-list > tr"),o=document.querySelectorAll(".acf-field");let n="";return r&&e.indexOf(r.tagName)!==-1&&(r.closest(".acf-field")||(n=r.tagName==="IMG"?r.getAttribute("src"):r.value)),s.length&&s.forEach(i=>{const a=i.querySelector(`#${i.id}-key`),u=i.querySelector(`#${i.id}-value`);u&&e.indexOf(u.tagName)!==-1&&a.value===t&&(n=u.tagName==="IMG"?u.getAttribute("src"):u.value)}),o.length&&o.forEach(i=>{if(t!==i.dataset.name)return;let a;e.forEach(u=>{const c=u.toLowerCase();a=i.querySelector(`[data-key="${i.dataset.key}"] ${c}`)||a}),a&&(n=a.tagName==="IMG"?a.getAttribute("src"):a.value)}),n},Mu=t=>{const e=t.getBody();return 1<e.childNodes.length?!1:e.childNodes.length===0?!0:1<e.childNodes[0].childNodes.length?!1:/^\n?$/.test(e.innerText||e.textContent)},un=/base64,(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)/g,ln=["acf","aioseo"],cn=()=>{let t="";switch(!0){case je():t=Ft().content;break;case at():t=Nt().content;break;case ut():t=qt().content;break;case lt():t=Pt().content;break;case ct():t=Lt().content;break;case ht():t=It().content;break;case dt():t=Rt().content;break}return t},dn=t=>{var s;if(!t.includes('<!-- wp:block {"ref":'))return t;const e=(s=window.wp.blocks)==null?void 0:s.rawHandler({HTML:t});return Wi(e).forEach(o=>{var n,i,a;if(o.name==="core/block"){const u=window.wp.data.select("core").getEntityRecord("postType","wp_block",(n=o.attributes)==null?void 0:n.ref);(i=u==null?void 0:u.content)!=null&&i.raw&&(t=t.replace(`<!-- wp:block {"ref":${(a=o.attributes)==null?void 0:a.ref}} /-->`,u.content.raw))}}),t},hn=(t,e)=>(window.wp.data.select("core/block-editor").getBlocks().forEach(s=>{if(e.includes(s.name.split("/")[0])){const o=document.getElementById("block-"+s.clientId);if(o&&o.innerText){const n=`(<!-- wp:${s.name}.*?/wp:${s.name} -->)|(<!-- wp:${s.name}.*?/-->)`;t=t.replace(new RegExp(n,"s"),o.innerText)}}}),t),pn=()=>{const t=ie();if(t.liveTags.post_content)return t.liveTags.post_content;let e="";if(Se()&&!cr())if(window.tinyMCE||document.querySelector("#wp-content-wrap.html-active"))e=hr();else{const s=window.setInterval(()=>{window.tinyMCE&&(window.clearInterval(s),e=hr())},50)}return le()&&(e=window.wp.data.select("core/editor").getCurrentPost().content||"",e=dn(e),e=hn(e,ln)),cr()&&(e=cn()),O().currentPost.descriptionIncludeCustomFields&&(e=e+an()),e=e.replace(un,""),e&&t.updatePostContent(e),e},Re=(t=!1)=>{let e="";if(Se()&&!cr())if(window.tinyMCE||document.querySelector("#wp-content-wrap.html-active"))e=hr();else{const s=window.setInterval(()=>{window.tinyMCE&&(window.clearInterval(s),e=hr())},50)}le()&&(e=window.wp.data.select("core/editor").getEditedPostContent(),e=dn(e),e=hn(e,ln)),cr()&&(e=cn());const r=O();return!t&&r.currentPost.descriptionIncludeCustomFields&&(e=e+an()),e=e.replace(un,""),e},$u=async(t=!0)=>{let e=pn();const r=Re();if(e!==r){e=r;const s=O();if(ie().updatePostContent(e),!t)return;new Te().runAnalysis({postId:s.currentPost.id,postData:{...s.currentPost},content:Re(),slug:We()})}},hr=()=>{let t;const e=window.tinyMCE?window.tinyMCE.get("content"):"";if(document.querySelector("#wp-content-wrap.tmce-active")&&e)t=e.getContent({format:Mu(e)?"html":"raw"});else{const r=document.querySelector("textarea#content");t=r?r.value:""}return t};function _u(t){return new Worker(""+window.__aioseoDynamicImportPreload__("main-BPrMxXiR.js"),{name:t==null?void 0:t.name})}class Te{constructor(){v(this,"postId",null);v(this,"postTitle",null);v(this,"postParsedTitle",null);v(this,"postParsedDescription",null);v(this,"postDescription",null);v(this,"keyphrases",null);v(this,"postContent",null);v(this,"postSlug",null);v(this,"isAnalyzing",!1);v(this,"worker",null)}async runAnalysis({postId:e,postData:r,content:s=Re(),slug:o=We()}){var S;const n=O(),i=I();if(r=r||{...n.currentPost},!((S=i.options.advanced)!=null&&S.truSeo)||!n.currentPost.page_analysis||this.isAnalyzing)return;this.worker&&this.worker.terminate();const a={separator:ns(i.options.searchAppearance.global.separator)},u=L(),c=ie(),g=c.tags.map(T=>c.liveTags[T.id]!==void 0&&T.value!==c.liveTags[T.id]?{...T,value:c.liveTags[T.id]}:T),A={...tt(u.aioseo),tags:tt(g),currentPost:tt(n.currentPost)},k=JSON.parse(JSON.stringify({postId:e,postData:r,content:s,aioseo:A,slug:o,postEditedTitle:ds(),aioseoGlobals:a}));let D=[];this.worker=new _u,this.worker.addEventListener("message",T=>{T.data.event==="tru-seo-analysis-complete"&&(D=T.data.analysis,this.dispatchActions(D,k),this.worker.terminate())}),this.worker.postMessage({event:"tru-seo-analysis",analysisData:k})}setSidebarButtonScore(e){const r=document.getElementById("aioseo-post-settings-sidebar-button"),s=document.getElementById("aioseo-post-score");!r||!s||(r.className=80<e?"score-green":50<e?"score-orange":"score-red",le()||(r.classList.add("aioseo-score-button","classic-editor"),e=`${e}/100`),s.textContent=e)}dispatchActions(e,r){const s=O();e.forEach(o=>{o.action==="updateState"&&r.postEditedTitle&&nn()&&this.setSidebarButtonScore(o.data.seo_score),s[o.action](o.data)})}}const fn=()=>{let t="";switch(!0){case je():t=Ft().title;break;case at():t=Nt().title;break;case ut():t=qt().title;break;case lt():t=Pt().title;break;case ct():t=Lt().title;break;case ht():t=It().title;break;case dt():t=Rt().title;break}return t},zu=()=>{const t=ie();if(t.liveTags.post_title)return t.liveTags.post_title;let e;if(Se()||xe()){const r=document.querySelector("#post input#title");e=r?r.value:""}return le()&&(e=window.wp.data.select("core/editor").getCurrentPost().title),e||(e=fn()),e&&t.updatePostTitle(e),e},ds=()=>{let t;if(Se()||xe()){const e=document.querySelector("#post input#title");t=e?e.value:""}return le()&&(t=window.wp.data.select("core/editor").getEditedPostAttribute("title")),t||(t=fn()),t},Vu=async(t=!0)=>{let e=zu();const r=ds();if(e!==r){e=r;const s=O();if(ie().updatePostTitle(e),!t)return;new Te().runAnalysis({postId:s.currentPost.id,postData:{...s.currentPost},content:Re(),slug:We()})}},ye="all-in-one-seo-pack",yd=$("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:t=>{var e,r;return(e=t.report)!=null&&e.uuid&&!t.error?parseInt((r=t.report)==null?void 0:r.progress)!==100:t.processing},processDone:t=>{var e;return parseInt((e=t.report)==null?void 0:e.progress)===100},getCompetitors:t=>t.report.competitors.competitors||[],getCompetitorsSearched:t=>{const e=t.sortFilters.competitors.search.toLowerCase();return t.getCompetitors.filter(r=>r.url.toLowerCase().includes(e)||r.title.toLowerCase().includes(e))},getCompetitorsPaged:t=>{const e=(t.sortFilters.competitors.page-1)*t.sortFilters.competitors.perPage,r=e+t.sortFilters.competitors.perPage;return t.getCompetitorsSearched.slice(e,r)},getCompetitorsPages:t=>Math.ceil(t.getCompetitorsSearched.length/t.sortFilters.competitors.perPage),getKeywordCompetitorsSummary:t=>t.report.competitors.summary||[],getKeywords:t=>t.report.keywords||[],getKeywordsSearched:t=>{const e=t.sortFilters.optimizationWizard.search.toLowerCase();return t.getKeywords.filter(r=>r.text.toLowerCase().includes(e))},getKeywordsPaged:t=>{const e=(t.sortFilters.optimizationWizard.page-1)*t.sortFilters.optimizationWizard.perPage,r=e+t.sortFilters.optimizationWizard.perPage;return t.getKeywordsSearched.slice(e,r)},getKeywordsPages:t=>Math.ceil(t.getKeywordsSearched.length/t.sortFilters.optimizationWizard.perPage),getContentAnalysis:t=>t.contentAnalysis||[],hasReport:t=>{var e;return t.report&&parseInt((e=t.report)==null?void 0:e.progress)===100}},actions:{processKeyword({keyword:t,country:e,language:r}){this.processing||(this.processing=!0,this.setReportProgress(0),this.error=null,h.post("/writing-assistant/process").send({postId:this.postId,keyword:t,country:e,language:r}).then(s=>{if(s.body.success===!1){this.processing=!1,this.error=s.body.error;return}this.keywordText=t,this.setReportProgress(5,l("processing keyword",ye)+"..."),this.resetTables(),this.pollKeyword()}))},pollKeyword(){this.processing=!0,this.polling=!0,this.error=null,h.get("/writing-assistant/keyword/"+this.postId).then(t=>{var e;if(((e=t.body)==null?void 0:e.success)===!1){this.processing=!1,this.polling=!1,this.error=t.body.error,this.report={};return}if(this.startReportProgress(t.body.progress),parseInt(t.body.progress)===100){this.updateUserInfo(),this.updateReportHistory(),this.report=t.body||[],setTimeout(()=>{this.polling=!1,this.processing=!1,window.aioseoBus.$emit("writingAssistantAnalyzeContent")},2e3);return}setTimeout(()=>{this.pollKeyword()},8e3)})},openReport(t,e,r){this.processKeyword({keyword:t,country:e,language:r})},async analyzeContent(t){return this.analyzingContent?Promise.resolve():(this.analyzingContent=!0,h.post("/writing-assistant/content-analysis").send({title:ds(),description:rn(),content:t,postId:this.postId}).then(e=>{this.analyzingContent=!1,this.contentAnalysis=e.body||{}}))},async countContentKeywords(t){return!t||!this.getKeywords.length||(t=t.replace(/(<([^>]+)>)/gi," "),this.getKeywords.forEach(e=>{var r;e.contentCount=((r=t.match(new RegExp("\\b"+ji(e.text)+"\\b","gmi")))==null?void 0:r.length)||0}),this.sortFilters.optimizationWizard.slug==="contentCount"&&this.doOptimizationWizardSort({slug:this.sortFilters.optimizationWizard.slug,order:this.sortFilters.optimizationWizard.sortDir})),Promise.resolve()},doOptimizationWizardSort(t){let e=(t==null?void 0:t.order)||"asc";!(t!=null&&t.order)&&t.slug===this.sortFilters.optimizationWizard.slug&&(e=this.sortFilters.optimizationWizard.sortDir==="asc"?"desc":"asc"),this.sortFilters.optimizationWizard.slug=t.slug,this.sortFilters.optimizationWizard.sortDir=e,this.getKeywords.sort((r,s)=>zs(r,s,this.sortFilters.optimizationWizard.slug,this.sortFilters.optimizationWizard.sortDir))},doOptimizationWizardPerPage(t){this.sortFilters.optimizationWizard.page=1,this.sortFilters.optimizationWizard.perPage=t},doOptimizationWizardSearch(t){this.sortFilters.optimizationWizard.page=1,this.sortFilters.optimizationWizard.search=t},doCompetitorSort(t){let e="asc";t.slug===this.sortFilters.competitors.slug&&(e=this.sortFilters.competitors.sortDir==="asc"?"desc":"asc"),this.sortFilters.competitors.slug=t.slug,this.sortFilters.competitors.sortDir=e,this.getCompetitors.sort((r,s)=>zs(r,s,this.sortFilters.competitors.slug,this.sortFilters.competitors.sortDir))},doCompetitorPerPage(t){this.sortFilters.competitors.page=1,this.sortFilters.competitors.perPage=t},doCompetitorSearch(t){this.sortFilters.competitors.page=1,this.sortFilters.competitors.search=t},newReport(){this.report={},this.contentAnalysis={},this.error=null},updateUserInfo(){this.updating.userInfo||(this.updating.userInfo=!0,h.get("/writing-assistant/user-info").then(t=>{var e;(e=t.body)!=null&&e.error||(this.userInfo=t.body||{}),this.updating.userInfo=!1}))},updateReportHistory(){this.updating.reportHistory||(this.updating.reportHistory=!0,h.get("/writing-assistant/report-history").then(t=>{var e;(e=t.body)!=null&&e.error||(this.reportHistory=t.body||{}),this.updating.reportHistory=!1}))},setUserLoggedIn(t){this.seoBoost.isLoggedIn=t,t&&(this.updateUserInfo(),this.isProcessing&&this.pollKeyword())},async startReportProgress(t){if(this.progressRunning)return;this.progressRunning=!0;const e=(o,n)=>Math.floor(Math.random()*(n-o+1)+o),r=[{percent:e(5,10),duration:2e3,text:l("querying search engines",ye)+"..."},{percent:e(15,20),duration:5e3,text:l("fetching serps",ye)+"..."},{percent:e(25,30),duration:6e3,text:l("analyzing serps",ye)+"..."},{percent:e(35,40),duration:1e4,text:l("fetching competitor data",ye)+"..."},{percent:e(45,50),duration:7e3,text:l("fetching keywords data",ye)+"..."},{percent:e(55,60),duration:7e3,text:l("calculating keywords heading presence",ye)+"..."},{percent:e(65,70),duration:7e3,text:l("calculating keywords use suggestions",ye)+"..."},{percent:e(75,80),duration:7e3,text:l("calculating keywords importance",ye)+"..."},{percent:e(85,90),duration:7e3,text:l("fetching keywords examples",ye)+"..."},{percent:100,duration:1e3,text:l("fetching report",ye)+"..."}];let s=0;for(const o of r.filter(n=>n.percent>=t))await new Promise(n=>{setTimeout(()=>{o.percent===100&&(o.percent=97,this.progressRunning=!1),this.setReportProgress(o.percent,o.text),t!==100&&h.post("/writing-assistant/set-report-progress").send({postId:this.postId,progress:o.percent}).then(i=>i.body),n()},s),s=o.duration})},setReportProgress(t,e="",r=0){setTimeout(()=>{this.progress.percent=t,this.progress.text=e},r)},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:""}}}});class Ye extends Error{}class Hu extends Ye{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class Gu extends Ye{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class Wu extends Ye{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class et extends Ye{}class gn extends Ye{constructor(e){super(`Invalid unit ${e}`)}}class ae extends Ye{}class Oe extends Ye{constructor(){super("Zone is an abstract class")}}const E="numeric",Ee="short",ue="long",pr={year:E,month:E,day:E},mn={year:E,month:Ee,day:E},ju={year:E,month:Ee,day:E,weekday:Ee},yn={year:E,month:ue,day:E},bn={year:E,month:ue,day:E,weekday:ue},Dn={hour:E,minute:E},wn={hour:E,minute:E,second:E},An={hour:E,minute:E,second:E,timeZoneName:Ee},En={hour:E,minute:E,second:E,timeZoneName:ue},Sn={hour:E,minute:E,hourCycle:"h23"},kn={hour:E,minute:E,second:E,hourCycle:"h23"},vn={hour:E,minute:E,second:E,hourCycle:"h23",timeZoneName:Ee},Cn={hour:E,minute:E,second:E,hourCycle:"h23",timeZoneName:ue},xn={year:E,month:E,day:E,hour:E,minute:E},Tn={year:E,month:E,day:E,hour:E,minute:E,second:E},Bn={year:E,month:Ee,day:E,hour:E,minute:E},On={year:E,month:Ee,day:E,hour:E,minute:E,second:E},Yu={year:E,month:Ee,day:E,weekday:Ee,hour:E,minute:E},Fn={year:E,month:ue,day:E,hour:E,minute:E,timeZoneName:Ee},Nn={year:E,month:ue,day:E,hour:E,minute:E,second:E,timeZoneName:Ee},qn={year:E,month:ue,day:E,weekday:ue,hour:E,minute:E,timeZoneName:ue},Pn={year:E,month:ue,day:E,weekday:ue,hour:E,minute:E,second:E,timeZoneName:ue};class Ut{get type(){throw new Oe}get name(){throw new Oe}get ianaName(){return this.name}get isUniversal(){throw new Oe}offsetName(e,r){throw new Oe}formatOffset(e,r){throw new Oe}offset(e){throw new Oe}equals(e){throw new Oe}get isValid(){throw new Oe}}let qr=null;class Ar extends Ut{static get instance(){return qr===null&&(qr=new Ar),qr}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:s}){return Vn(e,r,s)}formatOffset(e,r){return St(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let rr={};function Ku(t){return rr[t]||(rr[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),rr[t]}const Zu={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Ju(t,e){const r=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,o,n,i,a,u,c,g]=s;return[i,o,n,a,u,c,g]}function Qu(t,e){const r=t.formatToParts(e),s=[];for(let o=0;o<r.length;o++){const{type:n,value:i}=r[o],a=Zu[n];n==="era"?s[a]=i:F(a)||(s[a]=parseInt(i,10))}return s}let Yt={};class Ce extends Ut{static create(e){return Yt[e]||(Yt[e]=new Ce(e)),Yt[e]}static resetCache(){Yt={},rr={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Ce.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:s}){return Vn(e,r,s,this.name)}formatOffset(e,r){return St(this.offset(e),r)}offset(e){const r=new Date(e);if(isNaN(r))return NaN;const s=Ku(this.name);let[o,n,i,a,u,c,g]=s.formatToParts?Qu(s,r):Ju(s,r);a==="BC"&&(o=-Math.abs(o)+1);const k=Sr({year:o,month:n,day:i,hour:u===24?0:u,minute:c,second:g,millisecond:0});let D=+r;const S=D%1e3;return D-=S>=0?S:1e3+S,(k-D)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let Hs={};function Xu(t,e={}){const r=JSON.stringify([t,e]);let s=Hs[r];return s||(s=new Intl.ListFormat(t,e),Hs[r]=s),s}let Jr={};function Qr(t,e={}){const r=JSON.stringify([t,e]);let s=Jr[r];return s||(s=new Intl.DateTimeFormat(t,e),Jr[r]=s),s}let Xr={};function el(t,e={}){const r=JSON.stringify([t,e]);let s=Xr[r];return s||(s=new Intl.NumberFormat(t,e),Xr[r]=s),s}let es={};function tl(t,e={}){const{base:r,...s}=e,o=JSON.stringify([t,s]);let n=es[o];return n||(n=new Intl.RelativeTimeFormat(t,e),es[o]=n),n}let At=null;function rl(){return At||(At=new Intl.DateTimeFormat().resolvedOptions().locale,At)}let Gs={};function sl(t){let e=Gs[t];if(!e){const r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,Gs[t]=e}return e}function ol(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const r=t.indexOf("-u-");if(r===-1)return[t];{let s,o;try{s=Qr(t).resolvedOptions(),o=t}catch{const u=t.substring(0,r);s=Qr(u).resolvedOptions(),o=u}const{numberingSystem:n,calendar:i}=s;return[o,n,i]}}function nl(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function il(t){const e=[];for(let r=1;r<=12;r++){const s=P.utc(2009,r,1);e.push(t(s))}return e}function al(t){const e=[];for(let r=1;r<=7;r++){const s=P.utc(2016,11,13+r);e.push(t(s))}return e}function Kt(t,e,r,s){const o=t.listingMode();return o==="error"?null:o==="en"?r(e):s(e)}function ul(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class ll{constructor(e,r,s){this.padTo=s.padTo||0,this.floor=s.floor||!1;const{padTo:o,floor:n,...i}=s;if(!r||Object.keys(i).length>0){const a={useGrouping:!1,...s};s.padTo>0&&(a.minimumIntegerDigits=s.padTo),this.inf=el(e,a)}}format(e){if(this.inf){const r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{const r=this.floor?Math.floor(e):gs(e,3);return ee(r,this.padTo)}}}class cl{constructor(e,r,s){this.opts=s,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const i=-1*(e.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;e.offset!==0&&Ce.create(a).valid?(o=a,this.dt=e):(o="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,o=e.zone.name):(o="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const n={...this.opts};n.timeZone=n.timeZone||o,this.dtf=Qr(r,n)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){const s=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:s}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class dl{constructor(e,r,s){this.opts={style:"long",...s},!r&&_n()&&(this.rtf=tl(e,s))}format(e,r){return this.rtf?this.rtf.format(e,r):Fl(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}}const hl={firstDay:1,minimalDays:4,weekend:[6,7]};class H{static fromOpts(e){return H.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,s,o,n=!1){const i=e||Z.defaultLocale,a=i||(n?"en-US":rl()),u=r||Z.defaultNumberingSystem,c=s||Z.defaultOutputCalendar,g=ts(o)||Z.defaultWeekSettings;return new H(a,u,c,g,i)}static resetCache(){At=null,Jr={},Xr={},es={}}static fromObject({locale:e,numberingSystem:r,outputCalendar:s,weekSettings:o}={}){return H.create(e,r,s,o)}constructor(e,r,s,o,n){const[i,a,u]=ol(e);this.locale=i,this.numberingSystem=r||a||null,this.outputCalendar=s||u||null,this.weekSettings=o,this.intl=nl(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=ul(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:H.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,ts(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return Kt(this,e,Wn,()=>{const s=r?{month:e,day:"numeric"}:{month:e},o=r?"format":"standalone";return this.monthsCache[o][e]||(this.monthsCache[o][e]=il(n=>this.extract(n,s,"month"))),this.monthsCache[o][e]})}weekdays(e,r=!1){return Kt(this,e,Kn,()=>{const s=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},o=r?"format":"standalone";return this.weekdaysCache[o][e]||(this.weekdaysCache[o][e]=al(n=>this.extract(n,s,"weekday"))),this.weekdaysCache[o][e]})}meridiems(){return Kt(this,void 0,()=>Zn,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[P.utc(2016,11,13,9),P.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Kt(this,e,Jn,()=>{const r={era:e};return this.eraCache[e]||(this.eraCache[e]=[P.utc(-40,1,1),P.utc(2017,1,1)].map(s=>this.extract(s,r,"era"))),this.eraCache[e]})}extract(e,r,s){const o=this.dtFormatter(e,r),n=o.formatToParts(),i=n.find(a=>a.type.toLowerCase()===s);return i?i.value:null}numberFormatter(e={}){return new ll(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new cl(e,this.intl,r)}relFormatter(e={}){return new dl(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Xu(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:zn()?sl(this.locale):hl}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let Pr=null;class ne extends Ut{static get utcInstance(){return Pr===null&&(Pr=new ne(0)),Pr}static instance(e){return e===0?ne.utcInstance:new ne(e)}static parseSpecifier(e){if(e){const r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new ne(kr(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${St(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${St(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return St(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class pl extends Ut{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Le(t,e){if(F(t)||t===null)return e;if(t instanceof Ut)return t;if(ml(t)){const r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?Ar.instance:r==="utc"||r==="gmt"?ne.utcInstance:ne.parseSpecifier(r)||Ce.create(t)}else return Ve(t)?ne.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new pl(t)}let Ws=()=>Date.now(),js="system",Ys=null,Ks=null,Zs=null,Js=60,Qs,Xs=null;class Z{static get now(){return Ws}static set now(e){Ws=e}static set defaultZone(e){js=e}static get defaultZone(){return Le(js,Ar.instance)}static get defaultLocale(){return Ys}static set defaultLocale(e){Ys=e}static get defaultNumberingSystem(){return Ks}static set defaultNumberingSystem(e){Ks=e}static get defaultOutputCalendar(){return Zs}static set defaultOutputCalendar(e){Zs=e}static get defaultWeekSettings(){return Xs}static set defaultWeekSettings(e){Xs=ts(e)}static get twoDigitCutoffYear(){return Js}static set twoDigitCutoffYear(e){Js=e%100}static get throwOnInvalid(){return Qs}static set throwOnInvalid(e){Qs=e}static resetCaches(){H.resetCache(),Ce.resetCache()}}class we{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ln=[0,31,59,90,120,151,181,212,243,273,304,334],In=[0,31,60,91,121,152,182,213,244,274,305,335];function fe(t,e){return new we("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,r){const s=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const o=s.getUTCDay();return o===0?7:o}function Rn(t,e,r){return r+(Mt(t)?In:Ln)[e-1]}function Un(t,e){const r=Mt(t)?In:Ln,s=r.findIndex(n=>n<e),o=e-r[s];return{month:s+1,day:o}}function ps(t,e){return(t-e+7)%7+1}function fr(t,e=4,r=1){const{year:s,month:o,day:n}=t,i=Rn(s,o,n),a=ps(hs(s,o,n),r);let u=Math.floor((i-a+14-e)/7),c;return u<1?(c=s-1,u=Tt(c,e,r)):u>Tt(s,e,r)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...vr(t)}}function eo(t,e=4,r=1){const{weekYear:s,weekNumber:o,weekday:n}=t,i=ps(hs(s,1,e),r),a=ot(s);let u=o*7+n-i-7+e,c;u<1?(c=s-1,u+=ot(c)):u>a?(c=s+1,u-=ot(s)):c=s;const{month:g,day:A}=Un(c,u);return{year:c,month:g,day:A,...vr(t)}}function Lr(t){const{year:e,month:r,day:s}=t,o=Rn(e,r,s);return{year:e,ordinal:o,...vr(t)}}function to(t){const{year:e,ordinal:r}=t,{month:s,day:o}=Un(e,r);return{year:e,month:s,day:o,...vr(t)}}function ro(t,e){if(!F(t.localWeekday)||!F(t.localWeekNumber)||!F(t.localWeekYear)){if(!F(t.weekday)||!F(t.weekNumber)||!F(t.weekYear))throw new et("Cannot mix locale-based week fields with ISO-based week fields");return F(t.localWeekday)||(t.weekday=t.localWeekday),F(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),F(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function fl(t,e=4,r=1){const s=Er(t.weekYear),o=ge(t.weekNumber,1,Tt(t.weekYear,e,r)),n=ge(t.weekday,1,7);return s?o?n?!1:fe("weekday",t.weekday):fe("week",t.weekNumber):fe("weekYear",t.weekYear)}function gl(t){const e=Er(t.year),r=ge(t.ordinal,1,ot(t.year));return e?r?!1:fe("ordinal",t.ordinal):fe("year",t.year)}function Mn(t){const e=Er(t.year),r=ge(t.month,1,12),s=ge(t.day,1,gr(t.year,t.month));return e?r?s?!1:fe("day",t.day):fe("month",t.month):fe("year",t.year)}function $n(t){const{hour:e,minute:r,second:s,millisecond:o}=t,n=ge(e,0,23)||e===24&&r===0&&s===0&&o===0,i=ge(r,0,59),a=ge(s,0,59),u=ge(o,0,999);return n?i?a?u?!1:fe("millisecond",o):fe("second",s):fe("minute",r):fe("hour",e)}function F(t){return typeof t>"u"}function Ve(t){return typeof t=="number"}function Er(t){return typeof t=="number"&&t%1===0}function ml(t){return typeof t=="string"}function yl(t){return Object.prototype.toString.call(t)==="[object Date]"}function _n(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function zn(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function bl(t){return Array.isArray(t)?t:[t]}function so(t,e,r){if(t.length!==0)return t.reduce((s,o)=>{const n=[e(o),o];return s&&r(s[0],n[0])===s[0]?s:n},null)[1]}function Dl(t,e){return e.reduce((r,s)=>(r[s]=t[s],r),{})}function it(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ts(t){if(t==null)return null;if(typeof t!="object")throw new ae("Week settings must be an object");if(!ge(t.firstDay,1,7)||!ge(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!ge(e,1,7)))throw new ae("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function ge(t,e,r){return Er(t)&&t>=e&&t<=r}function wl(t,e){return t-e*Math.floor(t/e)}function ee(t,e=2){const r=t<0;let s;return r?s="-"+(""+-t).padStart(e,"0"):s=(""+t).padStart(e,"0"),s}function Pe(t){if(!(F(t)||t===null||t===""))return parseInt(t,10)}function Me(t){if(!(F(t)||t===null||t===""))return parseFloat(t)}function fs(t){if(!(F(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function gs(t,e,r=!1){const s=10**e;return(r?Math.trunc:Math.round)(t*s)/s}function Mt(t){return t%4===0&&(t%100!==0||t%400===0)}function ot(t){return Mt(t)?366:365}function gr(t,e){const r=wl(e-1,12)+1,s=t+(e-r)/12;return r===2?Mt(s)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Sr(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oo(t,e,r){return-ps(hs(t,1,e),r)+e-1}function Tt(t,e=4,r=1){const s=oo(t,e,r),o=oo(t+1,e,r);return(ot(t)-s+o)/7}function rs(t){return t>99?t:t>Z.twoDigitCutoffYear?1900+t:2e3+t}function Vn(t,e,r,s=null){const o=new Date(t),n={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(n.timeZone=s);const i={timeZoneName:e,...n},a=new Intl.DateTimeFormat(r,i).formatToParts(o).find(u=>u.type.toLowerCase()==="timezonename");return a?a.value:null}function kr(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);const s=parseInt(e,10)||0,o=r<0||Object.is(r,-0)?-s:s;return r*60+o}function Hn(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new ae(`Invalid unit value ${t}`);return e}function mr(t,e){const r={};for(const s in t)if(it(t,s)){const o=t[s];if(o==null)continue;r[e(s)]=Hn(o)}return r}function St(t,e){const r=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),o=t>=0?"+":"-";switch(e){case"short":return`${o}${ee(r,2)}:${ee(s,2)}`;case"narrow":return`${o}${r}${s>0?`:${s}`:""}`;case"techie":return`${o}${ee(r,2)}${ee(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function vr(t){return Dl(t,["hour","minute","second","millisecond"])}const Al=["January","February","March","April","May","June","July","August","September","October","November","December"],Gn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],El=["J","F","M","A","M","J","J","A","S","O","N","D"];function Wn(t){switch(t){case"narrow":return[...El];case"short":return[...Gn];case"long":return[...Al];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const jn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Yn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Sl=["M","T","W","T","F","S","S"];function Kn(t){switch(t){case"narrow":return[...Sl];case"short":return[...Yn];case"long":return[...jn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Zn=["AM","PM"],kl=["Before Christ","Anno Domini"],vl=["BC","AD"],Cl=["B","A"];function Jn(t){switch(t){case"narrow":return[...Cl];case"short":return[...vl];case"long":return[...kl];default:return null}}function xl(t){return Zn[t.hour<12?0:1]}function Tl(t,e){return Kn(e)[t.weekday-1]}function Bl(t,e){return Wn(e)[t.month-1]}function Ol(t,e){return Jn(e)[t.year<0?0:1]}function Fl(t,e,r="always",s=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},n=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&n){const A=t==="days";switch(e){case 1:return A?"tomorrow":`next ${o[t][0]}`;case-1:return A?"yesterday":`last ${o[t][0]}`;case 0:return A?"today":`this ${o[t][0]}`}}const i=Object.is(e,-0)||e<0,a=Math.abs(e),u=a===1,c=o[t],g=s?u?c[1]:c[2]||c[1]:u?o[t][0]:t;return i?`${a} ${g} ago`:`in ${a} ${g}`}function no(t,e){let r="";for(const s of t)s.literal?r+=s.val:r+=e(s.val);return r}const Nl={D:pr,DD:mn,DDD:yn,DDDD:bn,t:Dn,tt:wn,ttt:An,tttt:En,T:Sn,TT:kn,TTT:vn,TTTT:Cn,f:xn,ff:Bn,fff:Fn,ffff:qn,F:Tn,FF:On,FFF:Nn,FFFF:Pn};class se{static create(e,r={}){return new se(e,r)}static parseFormat(e){let r=null,s="",o=!1;const n=[];for(let i=0;i<e.length;i++){const a=e.charAt(i);a==="'"?(s.length>0&&n.push({literal:o||/^\s+$/.test(s),val:s}),r=null,s="",o=!o):o||a===r?s+=a:(s.length>0&&n.push({literal:/^\s+$/.test(s),val:s}),s=a,r=a)}return s.length>0&&n.push({literal:o||/^\s+$/.test(s),val:s}),n}static macroTokenToFormatOpts(e){return Nl[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0){if(this.opts.forceSimple)return ee(e,r);const s={...this.opts};return r>0&&(s.padTo=r),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,r){const s=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",n=(D,S)=>this.loc.extract(e,D,S),i=D=>e.isOffsetFixed&&e.offset===0&&D.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,D.format):"",a=()=>s?xl(e):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(D,S)=>s?Bl(e,D):n(S?{month:D}:{month:D,day:"numeric"},"month"),c=(D,S)=>s?Tl(e,D):n(S?{weekday:D}:{weekday:D,month:"long",day:"numeric"},"weekday"),g=D=>{const S=se.macroTokenToFormatOpts(D);return S?this.formatWithSystemDefault(e,S):D},A=D=>s?Ol(e,D):n({era:D},"era"),k=D=>{switch(D){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return o?n({day:"numeric"},"day"):this.num(e.day);case"dd":return o?n({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return o?n({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return o?n({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return o?n({month:"numeric"},"month"):this.num(e.month);case"MM":return o?n({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return o?n({year:"numeric"},"year"):this.num(e.year);case"yy":return o?n({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return o?n({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return o?n({year:"numeric"},"year"):this.num(e.year,6);case"G":return A("short");case"GG":return A("long");case"GGGGG":return A("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return g(D)}};return no(se.parseFormat(r),k)}formatDurationFromString(e,r){const s=u=>{switch(u[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=u=>c=>{const g=s(c);return g?this.num(u.get(g),c.length):c},n=se.parseFormat(r),i=n.reduce((u,{literal:c,val:g})=>c?u:u.concat(g),[]),a=e.shiftTo(...i.map(s).filter(u=>u));return no(n,o(a))}}const Qn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function pt(...t){const e=t.reduce((r,s)=>r+s.source,"");return RegExp(`^${e}$`)}function ft(...t){return e=>t.reduce(([r,s,o],n)=>{const[i,a,u]=n(e,o);return[{...r,...i},a||s,u]},[{},null,1]).slice(0,2)}function gt(t,...e){if(t==null)return[null,null];for(const[r,s]of e){const o=r.exec(t);if(o)return s(o)}return[null,null]}function Xn(...t){return(e,r)=>{const s={};let o;for(o=0;o<t.length;o++)s[t[o]]=Pe(e[r+o]);return[s,null,r+o]}}const ei=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ql=`(?:${ei.source}?(?:\\[(${Qn.source})\\])?)?`,ms=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,ti=RegExp(`${ms.source}${ql}`),ys=RegExp(`(?:T${ti.source})?`),Pl=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Ll=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Il=/(\d{4})-?(\d{3})/,Rl=Xn("weekYear","weekNumber","weekDay"),Ul=Xn("year","ordinal"),Ml=/(\d{4})-(\d\d)-(\d\d)/,ri=RegExp(`${ms.source} ?(?:${ei.source}|(${Qn.source}))?`),$l=RegExp(`(?: ${ri.source})?`);function nt(t,e,r){const s=t[e];return F(s)?r:Pe(s)}function _l(t,e){return[{year:nt(t,e),month:nt(t,e+1,1),day:nt(t,e+2,1)},null,e+3]}function mt(t,e){return[{hours:nt(t,e,0),minutes:nt(t,e+1,0),seconds:nt(t,e+2,0),milliseconds:fs(t[e+3])},null,e+4]}function $t(t,e){const r=!t[e]&&!t[e+1],s=kr(t[e+1],t[e+2]),o=r?null:ne.instance(s);return[{},o,e+3]}function _t(t,e){const r=t[e]?Ce.create(t[e]):null;return[{},r,e+1]}const zl=RegExp(`^T?${ms.source}$`),Vl=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Hl(t){const[e,r,s,o,n,i,a,u,c]=t,g=e[0]==="-",A=u&&u[0]==="-",k=(D,S=!1)=>D!==void 0&&(S||D&&g)?-D:D;return[{years:k(Me(r)),months:k(Me(s)),weeks:k(Me(o)),days:k(Me(n)),hours:k(Me(i)),minutes:k(Me(a)),seconds:k(Me(u),u==="-0"),milliseconds:k(fs(c),A)}]}const Gl={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function bs(t,e,r,s,o,n,i){const a={year:e.length===2?rs(Pe(e)):Pe(e),month:Gn.indexOf(r)+1,day:Pe(s),hour:Pe(o),minute:Pe(n)};return i&&(a.second=Pe(i)),t&&(a.weekday=t.length>3?jn.indexOf(t)+1:Yn.indexOf(t)+1),a}const Wl=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function jl(t){const[,e,r,s,o,n,i,a,u,c,g,A]=t,k=bs(e,o,s,r,n,i,a);let D;return u?D=Gl[u]:c?D=0:D=kr(g,A),[k,new ne(D)]}function Yl(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Kl=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Zl=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Jl=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function io(t){const[,e,r,s,o,n,i,a]=t;return[bs(e,o,s,r,n,i,a),ne.utcInstance]}function Ql(t){const[,e,r,s,o,n,i,a]=t;return[bs(e,a,r,s,o,n,i),ne.utcInstance]}const Xl=pt(Pl,ys),ec=pt(Ll,ys),tc=pt(Il,ys),rc=pt(ti),si=ft(_l,mt,$t,_t),sc=ft(Rl,mt,$t,_t),oc=ft(Ul,mt,$t,_t),nc=ft(mt,$t,_t);function ic(t){return gt(t,[Xl,si],[ec,sc],[tc,oc],[rc,nc])}function ac(t){return gt(Yl(t),[Wl,jl])}function uc(t){return gt(t,[Kl,io],[Zl,io],[Jl,Ql])}function lc(t){return gt(t,[Vl,Hl])}const cc=ft(mt);function dc(t){return gt(t,[zl,cc])}const hc=pt(Ml,$l),pc=pt(ri),fc=ft(mt,$t,_t);function gc(t){return gt(t,[hc,si],[pc,fc])}const ao="Invalid Duration",oi={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},mc={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...oi},pe=146097/400,Qe=146097/4800,yc={years:{quarters:4,months:12,weeks:pe/7,days:pe,hours:pe*24,minutes:pe*24*60,seconds:pe*24*60*60,milliseconds:pe*24*60*60*1e3},quarters:{months:3,weeks:pe/28,days:pe/4,hours:pe*24/4,minutes:pe*24*60/4,seconds:pe*24*60*60/4,milliseconds:pe*24*60*60*1e3/4},months:{weeks:Qe/7,days:Qe,hours:Qe*24,minutes:Qe*24*60,seconds:Qe*24*60*60,milliseconds:Qe*24*60*60*1e3},...oi},ze=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],bc=ze.slice(0).reverse();function Fe(t,e,r=!1){const s={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new U(s)}function ni(t,e){let r=e.milliseconds??0;for(const s of bc.slice(1))e[s]&&(r+=e[s]*t[s].milliseconds);return r}function uo(t,e){const r=ni(t,e)<0?-1:1;ze.reduceRight((s,o)=>{if(F(e[o]))return s;if(s){const n=e[s]*r,i=t[o][s],a=Math.floor(n/i);e[o]+=a*r,e[s]-=a*i*r}return o},null),ze.reduce((s,o)=>{if(F(e[o]))return s;if(s){const n=e[s]%1;e[s]-=n,e[o]+=n*t[s][o]}return o},null)}function Dc(t){const e={};for(const[r,s]of Object.entries(t))s!==0&&(e[r]=s);return e}class U{constructor(e){const r=e.conversionAccuracy==="longterm"||!1;let s=r?yc:mc;e.matrix&&(s=e.matrix),this.values=e.values,this.loc=e.loc||H.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=s,this.isLuxonDuration=!0}static fromMillis(e,r){return U.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new ae(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new U({values:mr(e,U.normalizeUnit),loc:H.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(Ve(e))return U.fromMillis(e);if(U.isDuration(e))return e;if(typeof e=="object")return U.fromObject(e);throw new ae(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){const[s]=lc(e);return s?U.fromObject(s,r):U.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){const[s]=dc(e);return s?U.fromObject(s,r):U.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new ae("need to specify a reason the Duration is invalid");const s=e instanceof we?e:new we(e,r);if(Z.throwOnInvalid)throw new Wu(s);return new U({invalid:s})}static normalizeUnit(e){const r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new gn(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){const s={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?se.create(this.loc,s).formatDurationFromString(this,e):ao}toHuman(e={}){if(!this.isValid)return ao;const r=ze.map(s=>{const o=this.values[s];return F(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(o)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=gs(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},P.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ni(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const r=U.fromDurationLike(e),s={};for(const o of ze)(it(r.values,o)||it(this.values,o))&&(s[o]=r.get(o)+this.get(o));return Fe(this,{values:s},!0)}minus(e){if(!this.isValid)return this;const r=U.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;const r={};for(const s of Object.keys(this.values))r[s]=Hn(e(this.values[s],s));return Fe(this,{values:r},!0)}get(e){return this[U.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const r={...this.values,...mr(e,U.normalizeUnit)};return Fe(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:s,matrix:o}={}){const i={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:o,conversionAccuracy:s};return Fe(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return uo(this.matrix,e),Fe(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=Dc(this.normalize().shiftToAll().toObject());return Fe(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(i=>U.normalizeUnit(i));const r={},s={},o=this.toObject();let n;for(const i of ze)if(e.indexOf(i)>=0){n=i;let a=0;for(const c in s)a+=this.matrix[c][i]*s[c],s[c]=0;Ve(o[i])&&(a+=o[i]);const u=Math.trunc(a);r[i]=u,s[i]=(a*1e3-u*1e3)/1e3}else Ve(o[i])&&(s[i]=o[i]);for(const i in s)s[i]!==0&&(r[n]+=i===n?s[i]:s[i]/this.matrix[n][i]);return uo(this.matrix,r),Fe(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return Fe(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(s,o){return s===void 0||s===0?o===void 0||o===0:s===o}for(const s of ze)if(!r(this.values[s],e.values[s]))return!1;return!0}}const Xe="Invalid Interval";function wc(t,e){return!t||!t.isValid?Y.invalid("missing or invalid start"):!e||!e.isValid?Y.invalid("missing or invalid end"):e<t?Y.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}class Y{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new ae("need to specify a reason the Interval is invalid");const s=e instanceof we?e:new we(e,r);if(Z.throwOnInvalid)throw new Gu(s);return new Y({invalid:s})}static fromDateTimes(e,r){const s=wt(e),o=wt(r),n=wc(s,o);return n??new Y({start:s,end:o})}static after(e,r){const s=U.fromDurationLike(r),o=wt(e);return Y.fromDateTimes(o,o.plus(s))}static before(e,r){const s=U.fromDurationLike(r),o=wt(e);return Y.fromDateTimes(o.minus(s),o)}static fromISO(e,r){const[s,o]=(e||"").split("/",2);if(s&&o){let n,i;try{n=P.fromISO(s,r),i=n.isValid}catch{i=!1}let a,u;try{a=P.fromISO(o,r),u=a.isValid}catch{u=!1}if(i&&u)return Y.fromDateTimes(n,a);if(i){const c=U.fromISO(o,r);if(c.isValid)return Y.after(n,c)}else if(u){const c=U.fromISO(s,r);if(c.isValid)return Y.before(a,c)}}return Y.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;const s=this.start.startOf(e,r);let o;return r!=null&&r.useLocaleWeeks?o=this.end.reconfigure({locale:s.locale}):o=this.end,o=o.startOf(e,r),Math.floor(o.diff(s,e).get(e))+(o.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?Y.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];const r=e.map(wt).filter(i=>this.contains(i)).sort((i,a)=>i.toMillis()-a.toMillis()),s=[];let{s:o}=this,n=0;for(;o<this.e;){const i=r[n]||this.e,a=+i>+this.e?this.e:i;s.push(Y.fromDateTimes(o,a)),o=a,n+=1}return s}splitBy(e){const r=U.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s}=this,o=1,n;const i=[];for(;s<this.e;){const a=this.start.plus(r.mapUnits(u=>u*o));n=+a>+this.e?this.e:a,i.push(Y.fromDateTimes(s,n)),s=n,o+=1}return i}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const r=this.s>e.s?this.s:e.s,s=this.e<e.e?this.e:e.e;return r>=s?null:Y.fromDateTimes(r,s)}union(e){if(!this.isValid)return this;const r=this.s<e.s?this.s:e.s,s=this.e>e.e?this.e:e.e;return Y.fromDateTimes(r,s)}static merge(e){const[r,s]=e.sort((o,n)=>o.s-n.s).reduce(([o,n],i)=>n?n.overlaps(i)||n.abutsStart(i)?[o,n.union(i)]:[o.concat([n]),i]:[o,i],[[],null]);return s&&r.push(s),r}static xor(e){let r=null,s=0;const o=[],n=e.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),i=Array.prototype.concat(...n),a=i.sort((u,c)=>u.time-c.time);for(const u of a)s+=u.type==="s"?1:-1,s===1?r=u.time:(r&&+r!=+u.time&&o.push(Y.fromDateTimes(r,u.time)),r=null);return Y.merge(o)}difference(...e){return Y.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Xe}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=pr,r={}){return this.isValid?se.create(this.s.loc.clone(r),e).formatInterval(this):Xe}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Xe}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Xe}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Xe}toFormat(e,{separator:r=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:Xe}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):U.invalid(this.invalidReason)}mapEndpoints(e){return Y.fromDateTimes(e(this.s),e(this.e))}}class Zt{static hasDST(e=Z.defaultZone){const r=P.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return Ce.isValidZone(e)}static normalizeZone(e){return Le(e,Z.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||H.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||H.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||H.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:s=null,locObj:o=null,outputCalendar:n="gregory"}={}){return(o||H.create(r,s,n)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:s=null,locObj:o=null,outputCalendar:n="gregory"}={}){return(o||H.create(r,s,n)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:s=null,locObj:o=null}={}){return(o||H.create(r,s,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:s=null,locObj:o=null}={}){return(o||H.create(r,s,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return H.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return H.create(r,null,"gregory").eras(e)}static features(){return{relative:_n(),localeWeek:zn()}}}function lo(t,e){const r=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=r(e)-r(t);return Math.floor(U.fromMillis(s).as("days"))}function Ac(t,e,r){const s=[["years",(u,c)=>c.year-u.year],["quarters",(u,c)=>c.quarter-u.quarter+(c.year-u.year)*4],["months",(u,c)=>c.month-u.month+(c.year-u.year)*12],["weeks",(u,c)=>{const g=lo(u,c);return(g-g%7)/7}],["days",lo]],o={},n=t;let i,a;for(const[u,c]of s)r.indexOf(u)>=0&&(i=u,o[u]=c(t,e),a=n.plus(o),a>e?(o[u]--,t=n.plus(o),t>e&&(a=t,o[u]--,t=n.plus(o))):t=a);return[t,o,a,i]}function Ec(t,e,r,s){let[o,n,i,a]=Ac(t,e,r);const u=e-o,c=r.filter(A=>["hours","minutes","seconds","milliseconds"].indexOf(A)>=0);c.length===0&&(i<e&&(i=o.plus({[a]:1})),i!==o&&(n[a]=(n[a]||0)+u/(i-o)));const g=U.fromObject(n,s);return c.length>0?U.fromMillis(u,s).shiftTo(...c).plus(g):g}const Ds={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},co={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Sc=Ds.hanidec.replace(/[\[|\]]/g,"").split("");function kc(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){const s=t.charCodeAt(r);if(t[r].search(Ds.hanidec)!==-1)e+=Sc.indexOf(t[r]);else for(const o in co){const[n,i]=co[o];s>=n&&s<=i&&(e+=s-n)}}return parseInt(e,10)}else return e}function be({numberingSystem:t},e=""){return new RegExp(`${Ds[t||"latn"]}${e}`)}const vc="missing Intl.DateTimeFormat.formatToParts support";function _(t,e=r=>r){return{regex:t,deser:([r])=>e(kc(r))}}const Cc=" ",ii=`[ ${Cc}]`,ai=new RegExp(ii,"g");function xc(t){return t.replace(/\./g,"\\.?").replace(ai,ii)}function ho(t){return t.replace(/\./g,"").replace(ai," ").toLowerCase()}function De(t,e){return t===null?null:{regex:RegExp(t.map(xc).join("|")),deser:([r])=>t.findIndex(s=>ho(r)===ho(s))+e}}function po(t,e){return{regex:t,deser:([,r,s])=>kr(r,s),groups:e}}function Jt(t){return{regex:t,deser:([e])=>e}}function Tc(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Bc(t,e){const r=be(e),s=be(e,"{2}"),o=be(e,"{3}"),n=be(e,"{4}"),i=be(e,"{6}"),a=be(e,"{1,2}"),u=be(e,"{1,3}"),c=be(e,"{1,6}"),g=be(e,"{1,9}"),A=be(e,"{2,4}"),k=be(e,"{4,6}"),D=N=>({regex:RegExp(Tc(N.val)),deser:([j])=>j,literal:!0}),T=(N=>{if(t.literal)return D(N);switch(N.val){case"G":return De(e.eras("short"),0);case"GG":return De(e.eras("long"),0);case"y":return _(c);case"yy":return _(A,rs);case"yyyy":return _(n);case"yyyyy":return _(k);case"yyyyyy":return _(i);case"M":return _(a);case"MM":return _(s);case"MMM":return De(e.months("short",!0),1);case"MMMM":return De(e.months("long",!0),1);case"L":return _(a);case"LL":return _(s);case"LLL":return De(e.months("short",!1),1);case"LLLL":return De(e.months("long",!1),1);case"d":return _(a);case"dd":return _(s);case"o":return _(u);case"ooo":return _(o);case"HH":return _(s);case"H":return _(a);case"hh":return _(s);case"h":return _(a);case"mm":return _(s);case"m":return _(a);case"q":return _(a);case"qq":return _(s);case"s":return _(a);case"ss":return _(s);case"S":return _(u);case"SSS":return _(o);case"u":return Jt(g);case"uu":return Jt(a);case"uuu":return _(r);case"a":return De(e.meridiems(),0);case"kkkk":return _(n);case"kk":return _(A,rs);case"W":return _(a);case"WW":return _(s);case"E":case"c":return _(r);case"EEE":return De(e.weekdays("short",!1),1);case"EEEE":return De(e.weekdays("long",!1),1);case"ccc":return De(e.weekdays("short",!0),1);case"cccc":return De(e.weekdays("long",!0),1);case"Z":case"ZZ":return po(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return po(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Jt(/[a-z_+-/]{1,256}?/i);case" ":return Jt(/[^\S\n\r]/);default:return D(N)}})(t)||{invalidReason:vc};return T.token=t,T}const Oc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Fc(t,e,r){const{type:s,value:o}=t;if(s==="literal"){const u=/^\s+$/.test(o);return{literal:!u,val:u?" ":o}}const n=e[s];let i=s;s==="hour"&&(e.hour12!=null?i=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?i="hour12":i="hour24":i=r.hour12?"hour12":"hour24");let a=Oc[i];if(typeof a=="object"&&(a=a[n]),a)return{literal:!1,val:a}}function Nc(t){return[`^${t.map(r=>r.regex).reduce((r,s)=>`${r}(${s.source})`,"")}$`,t]}function qc(t,e,r){const s=t.match(e);if(s){const o={};let n=1;for(const i in r)if(it(r,i)){const a=r[i],u=a.groups?a.groups+1:1;!a.literal&&a.token&&(o[a.token.val[0]]=a.deser(s.slice(n,n+u))),n+=u}return[s,o]}else return[s,{}]}function Pc(t){const e=n=>{switch(n){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let r=null,s;return F(t.z)||(r=Ce.create(t.z)),F(t.Z)||(r||(r=new ne(t.Z)),s=t.Z),F(t.q)||(t.M=(t.q-1)*3+1),F(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),F(t.u)||(t.S=fs(t.u)),[Object.keys(t).reduce((n,i)=>{const a=e(i);return a&&(n[a]=t[i]),n},{}),r,s]}let Ir=null;function Lc(){return Ir||(Ir=P.fromMillis(1555555555555)),Ir}function Ic(t,e){if(t.literal)return t;const r=se.macroTokenToFormatOpts(t.val),s=ci(r,e);return s==null||s.includes(void 0)?t:s}function ui(t,e){return Array.prototype.concat(...t.map(r=>Ic(r,e)))}function li(t,e,r){const s=ui(se.parseFormat(r),t),o=s.map(i=>Bc(i,t)),n=o.find(i=>i.invalidReason);if(n)return{input:e,tokens:s,invalidReason:n.invalidReason};{const[i,a]=Nc(o),u=RegExp(i,"i"),[c,g]=qc(e,u,a),[A,k,D]=g?Pc(g):[null,null,void 0];if(it(g,"a")&&it(g,"H"))throw new et("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:s,regex:u,rawMatches:c,matches:g,result:A,zone:k,specificOffset:D}}}function Rc(t,e,r){const{result:s,zone:o,specificOffset:n,invalidReason:i}=li(t,e,r);return[s,o,n,i]}function ci(t,e){if(!t)return null;const s=se.create(e,t).dtFormatter(Lc()),o=s.formatToParts(),n=s.resolvedOptions();return o.map(i=>Fc(i,t,n))}const Rr="Invalid DateTime",fo=864e13;function Qt(t){return new we("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return t.weekData===null&&(t.weekData=fr(t.c)),t.weekData}function Mr(t){return t.localWeekData===null&&(t.localWeekData=fr(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $e(t,e){const r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new P({...r,...e,old:r})}function di(t,e,r){let s=t-e*60*1e3;const o=r.offset(s);if(e===o)return[s,e];s-=(o-e)*60*1e3;const n=r.offset(s);return o===n?[s,o]:[t-Math.min(o,n)*60*1e3,Math.max(o,n)]}function Xt(t,e){t+=e*60*1e3;const r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function sr(t,e,r){return di(Sr(t),e,r)}function go(t,e){const r=t.o,s=t.c.year+Math.trunc(e.years),o=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,n={...t.c,year:s,month:o,day:Math.min(t.c.day,gr(s,o))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},i=U.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Sr(n);let[u,c]=di(a,r,t.zone);return i!==0&&(u+=i,c=t.zone.offset(u)),{ts:u,o:c}}function Dt(t,e,r,s,o,n){const{setZone:i,zone:a}=r;if(t&&Object.keys(t).length!==0||e){const u=e||a,c=P.fromObject(t,{...r,zone:u,specificOffset:n});return i?c:c.setZone(a)}else return P.invalid(new we("unparsable",`the input "${o}" can't be parsed as ${s}`))}function er(t,e,r=!0){return t.isValid?se.create(H.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function $r(t,e){const r=t.c.year>9999||t.c.year<0;let s="";return r&&t.c.year>=0&&(s+="+"),s+=ee(t.c.year,r?6:4),e?(s+="-",s+=ee(t.c.month),s+="-",s+=ee(t.c.day)):(s+=ee(t.c.month),s+=ee(t.c.day)),s}function mo(t,e,r,s,o,n){let i=ee(t.c.hour);return e?(i+=":",i+=ee(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(i+=":")):i+=ee(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(i+=ee(t.c.second),(t.c.millisecond!==0||!s)&&(i+=".",i+=ee(t.c.millisecond,3))),o&&(t.isOffsetFixed&&t.offset===0&&!n?i+="Z":t.o<0?(i+="-",i+=ee(Math.trunc(-t.o/60)),i+=":",i+=ee(Math.trunc(-t.o%60))):(i+="+",i+=ee(Math.trunc(t.o/60)),i+=":",i+=ee(Math.trunc(t.o%60)))),n&&(i+="["+t.zone.ianaName+"]"),i}const hi={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Uc={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Mc={ordinal:1,hour:0,minute:0,second:0,millisecond:0},pi=["year","month","day","hour","minute","second","millisecond"],$c=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],_c=["year","ordinal","hour","minute","second","millisecond"];function zc(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new gn(t);return e}function yo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return zc(t)}}function bo(t,e){const r=Le(e.zone,Z.defaultZone),s=H.fromObject(e),o=Z.now();let n,i;if(F(t.year))n=o;else{for(const c of pi)F(t[c])&&(t[c]=hi[c]);const a=Mn(t)||$n(t);if(a)return P.invalid(a);const u=r.offset(o);[n,i]=sr(t,u,r)}return new P({ts:n,zone:r,loc:s,o:i})}function Do(t,e,r){const s=F(r.round)?!0:r.round,o=(i,a)=>(i=gs(i,s||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(i,a)),n=i=>r.calendary?e.hasSame(t,i)?0:e.startOf(i).diff(t.startOf(i),i).get(i):e.diff(t,i).get(i);if(r.unit)return o(n(r.unit),r.unit);for(const i of r.units){const a=n(i);if(Math.abs(a)>=1)return o(a,i)}return o(t>e?-0:0,r.units[r.units.length-1])}function wo(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}class P{constructor(e){const r=e.zone||Z.defaultZone;let s=e.invalid||(Number.isNaN(e.ts)?new we("invalid input"):null)||(r.isValid?null:Qt(r));this.ts=F(e.ts)?Z.now():e.ts;let o=null,n=null;if(!s)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[o,n]=[e.old.c,e.old.o];else{const a=r.offset(this.ts);o=Xt(this.ts,a),s=Number.isNaN(o.year)?new we("invalid input"):null,o=s?null:o,n=s?null:a}this._zone=r,this.loc=e.loc||H.create(),this.invalid=s,this.weekData=null,this.localWeekData=null,this.c=o,this.o=n,this.isLuxonDateTime=!0}static now(){return new P({})}static local(){const[e,r]=wo(arguments),[s,o,n,i,a,u,c]=r;return bo({year:s,month:o,day:n,hour:i,minute:a,second:u,millisecond:c},e)}static utc(){const[e,r]=wo(arguments),[s,o,n,i,a,u,c]=r;return e.zone=ne.utcInstance,bo({year:s,month:o,day:n,hour:i,minute:a,second:u,millisecond:c},e)}static fromJSDate(e,r={}){const s=yl(e)?e.valueOf():NaN;if(Number.isNaN(s))return P.invalid("invalid input");const o=Le(r.zone,Z.defaultZone);return o.isValid?new P({ts:s,zone:o,loc:H.fromObject(r)}):P.invalid(Qt(o))}static fromMillis(e,r={}){if(Ve(e))return e<-fo||e>fo?P.invalid("Timestamp out of range"):new P({ts:e,zone:Le(r.zone,Z.defaultZone),loc:H.fromObject(r)});throw new ae(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(Ve(e))return new P({ts:e*1e3,zone:Le(r.zone,Z.defaultZone),loc:H.fromObject(r)});throw new ae("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};const s=Le(r.zone,Z.defaultZone);if(!s.isValid)return P.invalid(Qt(s));const o=H.fromObject(r),n=mr(e,yo),{minDaysInFirstWeek:i,startOfWeek:a}=ro(n,o),u=Z.now(),c=F(r.specificOffset)?s.offset(u):r.specificOffset,g=!F(n.ordinal),A=!F(n.year),k=!F(n.month)||!F(n.day),D=A||k,S=n.weekYear||n.weekNumber;if((D||g)&&S)throw new et("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(k&&g)throw new et("Can't mix ordinal dates with month/day");const T=S||n.weekday&&!D;let N,j,te=Xt(u,c);T?(N=$c,j=Uc,te=fr(te,i,a)):g?(N=_c,j=Mc,te=Lr(te)):(N=pi,j=hi);let J=!1;for(const w of N){const C=n[w];F(C)?J?n[w]=j[w]:n[w]=te[w]:J=!0}const Q=T?fl(n,i,a):g?gl(n):Mn(n),B=Q||$n(n);if(B)return P.invalid(B);const oe=T?eo(n,i,a):g?to(n):n,[m,f]=sr(oe,c,s),y=new P({ts:m,zone:s,o:f,loc:o});return n.weekday&&D&&e.weekday!==y.weekday?P.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${y.toISO()}`):y}static fromISO(e,r={}){const[s,o]=ic(e);return Dt(s,o,r,"ISO 8601",e)}static fromRFC2822(e,r={}){const[s,o]=ac(e);return Dt(s,o,r,"RFC 2822",e)}static fromHTTP(e,r={}){const[s,o]=uc(e);return Dt(s,o,r,"HTTP",r)}static fromFormat(e,r,s={}){if(F(e)||F(r))throw new ae("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:n=null}=s,i=H.fromOpts({locale:o,numberingSystem:n,defaultToEN:!0}),[a,u,c,g]=Rc(i,e,r);return g?P.invalid(g):Dt(a,u,s,`format ${r}`,e,c)}static fromString(e,r,s={}){return P.fromFormat(e,r,s)}static fromSQL(e,r={}){const[s,o]=gc(e);return Dt(s,o,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new ae("need to specify a reason the DateTime is invalid");const s=e instanceof we?e:new we(e,r);if(Z.throwOnInvalid)throw new Hu(s);return new P({invalid:s})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){const s=ci(e,H.fromObject(r));return s?s.map(o=>o?o.val:null).join(""):null}static expandFormat(e,r={}){return ui(se.parseFormat(e),H.fromObject(r)).map(o=>o.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?Lr(this.c).ordinal:NaN}get monthShort(){return this.isValid?Zt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Zt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Zt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Zt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,r=6e4,s=Sr(this.c),o=this.zone.offset(s-e),n=this.zone.offset(s+e),i=this.zone.offset(s-o*r),a=this.zone.offset(s-n*r);if(i===a)return[this];const u=s-i*r,c=s-a*r,g=Xt(u,i),A=Xt(c,a);return g.hour===A.hour&&g.minute===A.minute&&g.second===A.second&&g.millisecond===A.millisecond?[$e(this,{ts:u}),$e(this,{ts:c})]:[this]}get isInLeapYear(){return Mt(this.year)}get daysInMonth(){return gr(this.year,this.month)}get daysInYear(){return this.isValid?ot(this.year):NaN}get weeksInWeekYear(){return this.isValid?Tt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Tt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:r,numberingSystem:s,calendar:o}=se.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:s,outputCalendar:o}}toUTC(e=0,r={}){return this.setZone(ne.instance(e),r)}toLocal(){return this.setZone(Z.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:s=!1}={}){if(e=Le(e,Z.defaultZone),e.equals(this.zone))return this;if(e.isValid){let o=this.ts;if(r||s){const n=e.offset(this.ts),i=this.toObject();[o]=sr(i,n,e)}return $e(this,{ts:o,zone:e})}else return P.invalid(Qt(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:s}={}){const o=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:s});return $e(this,{loc:o})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const r=mr(e,yo),{minDaysInFirstWeek:s,startOfWeek:o}=ro(r,this.loc),n=!F(r.weekYear)||!F(r.weekNumber)||!F(r.weekday),i=!F(r.ordinal),a=!F(r.year),u=!F(r.month)||!F(r.day),c=a||u,g=r.weekYear||r.weekNumber;if((c||i)&&g)throw new et("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&i)throw new et("Can't mix ordinal dates with month/day");let A;n?A=eo({...fr(this.c,s,o),...r},s,o):F(r.ordinal)?(A={...this.toObject(),...r},F(r.day)&&(A.day=Math.min(gr(A.year,A.month),A.day))):A=to({...Lr(this.c),...r});const[k,D]=sr(A,this.o,this.zone);return $e(this,{ts:k,o:D})}plus(e){if(!this.isValid)return this;const r=U.fromDurationLike(e);return $e(this,go(this,r))}minus(e){if(!this.isValid)return this;const r=U.fromDurationLike(e).negate();return $e(this,go(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;const s={},o=U.normalizeUnit(e);switch(o){case"years":s.month=1;case"quarters":case"months":s.day=1;case"weeks":case"days":s.hour=0;case"hours":s.minute=0;case"minutes":s.second=0;case"seconds":s.millisecond=0;break}if(o==="weeks")if(r){const n=this.loc.getStartOfWeek(),{weekday:i}=this;i<n&&(s.weekNumber=this.weekNumber-1),s.weekday=n}else s.weekday=1;if(o==="quarters"){const n=Math.ceil(this.month/3);s.month=(n-1)*3+1}return this.set(s)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?se.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):Rr}toLocaleString(e=pr,r={}){return this.isValid?se.create(this.loc.clone(r),e).formatDateTime(this):Rr}toLocaleParts(e={}){return this.isValid?se.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:s=!1,includeOffset:o=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const i=e==="extended";let a=$r(this,i);return a+="T",a+=mo(this,i,r,s,o,n),a}toISODate({format:e="extended"}={}){return this.isValid?$r(this,e==="extended"):null}toISOWeekDate(){return er(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:s=!0,includePrefix:o=!1,extendedZone:n=!1,format:i="extended"}={}){return this.isValid?(o?"T":"")+mo(this,i==="extended",r,e,s,n):null}toRFC2822(){return er(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return er(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?$r(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:s=!0}={}){let o="HH:mm:ss.SSS";return(r||e)&&(s&&(o+=" "),r?o+="z":e&&(o+="ZZ")),er(this,o,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",s={}){if(!this.isValid||!e.isValid)return U.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...s},n=bl(r).map(U.normalizeUnit),i=e.valueOf()>this.valueOf(),a=i?this:e,u=i?e:this,c=Ec(a,u,n,o);return i?c.negate():c}diffNow(e="milliseconds",r={}){return this.diff(P.now(),e,r)}until(e){return this.isValid?Y.fromDateTimes(this,e):this}hasSame(e,r,s){if(!this.isValid)return!1;const o=e.valueOf(),n=this.setZone(e.zone,{keepLocalTime:!0});return n.startOf(r,s)<=o&&o<=n.endOf(r,s)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const r=e.base||P.fromObject({},{zone:this.zone}),s=e.padding?this<r?-e.padding:e.padding:0;let o=["years","months","days","hours","minutes","seconds"],n=e.unit;return Array.isArray(e.unit)&&(o=e.unit,n=void 0),Do(r,this.plus(s),{...e,numeric:"always",units:o,unit:n})}toRelativeCalendar(e={}){return this.isValid?Do(e.base||P.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(P.isDateTime))throw new ae("min requires all arguments be DateTimes");return so(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(P.isDateTime))throw new ae("max requires all arguments be DateTimes");return so(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,s={}){const{locale:o=null,numberingSystem:n=null}=s,i=H.fromOpts({locale:o,numberingSystem:n,defaultToEN:!0});return li(i,e,r)}static fromStringExplain(e,r,s={}){return P.fromFormatExplain(e,r,s)}static get DATE_SHORT(){return pr}static get DATE_MED(){return mn}static get DATE_MED_WITH_WEEKDAY(){return ju}static get DATE_FULL(){return yn}static get DATE_HUGE(){return bn}static get TIME_SIMPLE(){return Dn}static get TIME_WITH_SECONDS(){return wn}static get TIME_WITH_SHORT_OFFSET(){return An}static get TIME_WITH_LONG_OFFSET(){return En}static get TIME_24_SIMPLE(){return Sn}static get TIME_24_WITH_SECONDS(){return kn}static get TIME_24_WITH_SHORT_OFFSET(){return vn}static get TIME_24_WITH_LONG_OFFSET(){return Cn}static get DATETIME_SHORT(){return xn}static get DATETIME_SHORT_WITH_SECONDS(){return Tn}static get DATETIME_MED(){return Bn}static get DATETIME_MED_WITH_SECONDS(){return On}static get DATETIME_MED_WITH_WEEKDAY(){return Yu}static get DATETIME_FULL(){return Fn}static get DATETIME_FULL_WITH_SECONDS(){return Nn}static get DATETIME_HUGE(){return qn}static get DATETIME_HUGE_WITH_SECONDS(){return Pn}}function wt(t){if(P.isDateTime(t))return t;if(t&&t.valueOf&&Ve(t.valueOf()))return P.fromJSDate(t);if(t&&typeof t=="object")return P.fromObject(t);throw new ae(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const Ao="all-in-one-seo-pack",bd=$("SemrushStore",{state:()=>({results:[],error:null}),getters:{expired:()=>{const t=I();if(!t.internalOptions.integrations.semrush.expires)return!0;const e=P.now(),r=P.fromMillis(parseInt(t.internalOptions.integrations.semrush.expires*1e3,10));return e>=r},hasValidTokens:t=>{const e=I();return!t.expired&&!!e.internalOptions.integrations.semrush.accessToken&&!!e.internalOptions.integrations.semrush.refreshToken}},actions:{getKeyphrases(t){this.error=null;const e=O();return h.post(p.restUrl("integration/semrush/keyphrases")).send({keyphrase:e.currentPost.keyphrases.focus.keyphrase,database:t}).then(r=>{if(r.body.keyphrases.status===403){this.error=r.body.keyphrases.error;return}this.results=r.body.keyphrases.data.rows}).catch(r=>{var s,o;if(!((o=(s=r==null?void 0:r.response)==null?void 0:s.body)!=null&&o.message)){this.error=l("An unknown error occurred, please try again later.",Ao);return}this.error=r.response.body.message})},authenticate(t){return this.error=null,h.post(p.restUrl("integration/semrush/authenticate")).send({code:t}).then(e=>{const r=I();r.updateOption("internalOptions",{groups:["integrations"],key:"semrush",value:e.body.semrush},{root:!0}),r.internalOptions.integrations.semrush=e.body.semrush}).catch(e=>{var r,s;if(!((s=(r=e==null?void 0:e.response)==null?void 0:r.body)!=null&&s.message)){this.error=l("An unknown error occurred, please try again later.",Ao);return}this.error=e.response.body.message})},refresh(){return h.post(p.restUrl("integration/semrush/refresh")).then(t=>{const e=I();e.updateOption("internalOptions",{groups:["integrations"],key:"semrush",value:t.body.semrush},{root:!0}),e.internalOptions.integrations.semrush=t.body.semrush})}}}),Vc=$("WpCodeStore",{state:()=>({snippets:[],pluginInstalled:!1,pluginActive:!1,pluginNeedsUpdate:!1,ctaUrl:""}),getters:{getSnippets:t=>t.snippets},actions:{loadSnippets(){return h.post(p.restUrl("integration/wpcode/snippets")).send().then(t=>{t.body.snippets&&(this.snippets=t.body.snippets),this.pluginInstalled=t.body.pluginInstalled,this.pluginActive=t.body.pluginActive,this.pluginNeedsUpdate=t.body.pluginNeedsUpdate})}}}),Ie=Ki();let Eo=!1;const Hc=(t,e=null,r=()=>{})=>{var C,q,G,ce,me,ke,K;Gc(t,e);const s=L();if(s.loaded)return Ie;const o=JSON.parse(JSON.stringify(window.aioseo||{})),n=Vr(),i=Ua(),a=Ge(),u=Ma(),c=is(),g=Ko(),A=Ot(),k=Zo(),D=_a(),S=Jo(),T=st(),N=I(),j=Va(),te=O(),J=as(),Q=Kr(),B=Xa(),oe=eu(),m=ie(),f=Vc(),y=ru(),w={sites:(q=(C=o.data)==null?void 0:C.network)==null?void 0:q.sites,activeSites:(ce=(G=o.data)==null?void 0:G.network)==null?void 0:ce.activeSites};return N.dynamicOptions=z({...N.dynamicOptions},{...o.dynamicOptions||{}}),N.internalOptions=z({...N.internalOptions},{...o.internalOptions||{}}),N.options=z({...N.options},{...o.options||{}}),N.internalNetworkOptions=z({...N.internalNetworkOptions},{...o.internalNetworkOptions||{}}),N.networkOptions=z({...N.networkOptions},{...o.networkOptions||{}}),n.addons=z([...n.addons],[...o.addons||[]]),i.backups=z([...i.backups],[...o.backups||[]]),i.networkBackups=z({...i.networkBackups},{...((ke=(me=o.data)==null?void 0:me.network)==null?void 0:ke.backups)||{}}),u.$state=z({...u.$state},{...o.helpPanel||{}}),c.$state=z({...c.$state},{...o.indexNow||{}}),g.$state=z({...g.$state},{...o.keywordRankTracker||{}}),A.license=z({...A.license},{...o.license||{}}),k.$state=z({...k.$state},{...o.linkAssistant||{}}),D.$state=z({...D.$state},{...o.localBusiness||{}}),S.networkData=z({...S.networkData},{...w}),T.$state=z({...T.$state},{...o.notifications||{}}),j.plugins=z({...j.plugins},{...o.plugins||{}}),te.currentPost=z({...te.currentPost},{...o.currentPost||{}}),J.$state=z({...J.$state},{...o.redirects||{}}),Q.$state=z({...Q.$state},{...o.searchStatistics||{}}),B.$state=z({...B.$state},{...o.seoRevisions||{}}),oe.settings=z({...oe.settings},{...o.settings||{}}),oe.userProfile=z({...oe.userProfile},{...o.userProfile||{}}),m.$state=z({...m.$state},{...o.tags||{}}),y.$state=z({...y.$state},{...o.writingAssistantSettings||{}}),(K=o.integrations)!=null&&K.wpcode&&(f.$state=z({...f.$state},{...o.integrations.wpcode||{}})),r(o),delete o.addons,delete o.backups,delete o.currentPost,delete o.dynamicOptions,delete o.helpPanel,delete o.indexNow,delete o.internalNetworkOptions,delete o.internalOptions,delete o.keywordRankTracker,delete o.license,delete o.linkAssistant,delete o.networkOptions,delete o.notifications,delete o.options,delete o.plugins,delete o.redirects,delete o.searchStatistics,delete o.seoRevisions,delete o.settings,delete o.tags,delete o.userProfile,o.publicPath="/",o.translations={},s.aioseo=z({...s.aioseo},{...o||{}}),a.updateOriginalOptions("options",N.options),a.updateOriginalOptions("dynamicOptions",N.dynamicOptions),a.updateOriginalOptions("networkOptions",N.networkOptions),J!=null&&J.options&&a.updateOriginalOptions("redirectOptions",J.options),a.updateOriginalOptions("indexNowOptions",c.options),c.options.indexNow.apiKey||a.disableDirtyCheck("indexNowOptions"),s.loaded=!0,Eo||(Eo=!0,window.addEventListener("beforeunload",yt=>{if(!a.isDirty)return;const x=l("Are you sure you want to leave? you have unsaved changes!","all-in-one-seo-pack");return(yt||window.event).returnValue=x,x})),Ie},Gc=(t,e=null)=>(e&&Ie.use(({store:r})=>{r.$router=tt(e)}),t?(t.use(Ie),Ie):(Bt(Ie),Ie));export{ru as $,Vc as A,wa as B,O as C,P as D,h as E,Xa as F,Je as G,Se as H,xe as I,le as J,je as K,Ft as L,at as M,Nt as N,ct as O,Lt as P,dt as Q,Rt as R,Re as S,Te as T,nu as U,Iu as V,nn as W,td as X,Ru as Y,Uu as Z,yd as _,Vr as a,Ra as a0,Ls as a1,Zo as a2,ed as a3,Pa as a4,Pt as a5,Jc as a6,dd as a7,It as a8,Ma as a9,gd as aA,bd as aB,Ha as aC,cd as aD,Ho as aa,Ba as ab,Oa as ac,Ta as ad,Fa as ae,Ua as af,nd as ag,ad as ah,od as ai,id as aj,Gc as ak,is as al,da as am,Pu as an,Ko as ao,su as ap,rd as aq,Ja as ar,ls as as,Ga as at,ld as au,cr as av,fd as aw,hd as ax,Qa as ay,pd as az,ie as b,md as c,Zr as d,Kr as e,eu as f,st as g,tu as h,Ot as i,I as j,Qc as k,p as l,Jo as m,as as n,Hc as o,wr as p,Yo as q,La as r,ns as s,sd as t,L as u,z as v,Xc as w,Va as x,dr as y,ud as z};