8 lines
94 KiB
JavaScript
8 lines
94 KiB
JavaScript
import{B as Di,E as sr,G as Bn,p as Fi,H as ki,I as Ke,J as Mn,K as $i,L as qi,M as Li,x as Ni,C as ji,N as Ui,z as Bi,A as Mi}from"./runtime-dom.esm-bundler.DYN7TRGp.js";var Dr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Hi(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var a=!1;try{a=this instanceof n}catch{}return a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var Me={exports:{}},Fr;function zi(){if(Fr)return Me.exports;Fr=1;function e(){}return e.prototype={on:function(t,r,n){var a=this.e||(this.e={});return(a[t]||(a[t]=[])).push({fn:r,ctx:n}),this},once:function(t,r,n){var a=this;function i(){a.off(t,i),r.apply(n,arguments)}return i._=r,this.on(t,i,n)},emit:function(t){var r=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),a=0,i=n.length;for(a;a<i;a++)n[a].fn.apply(n[a].ctx,r);return this},off:function(t,r){var n=this.e||(this.e={}),a=n[t],i=[];if(a&&r)for(var o=0,c=a.length;o<c;o++)a[o].fn!==r&&a[o].fn._!==r&&i.push(a[o]);return i.length?n[t]=i:delete n[t],this}},Me.exports=e,Me.exports.TinyEmitter=e,Me.exports}var pt,kr;function Gi(){if(kr)return pt;kr=1;var e=zi();return pt=new e,pt}var Wi=Gi();const He=ur(Wi);window.aioseoBrokenLinkChecker=window.aioseoBrokenLinkChecker||{};window.aioseoBrokenLinkCheckerBus=window.aioseoBrokenLinkCheckerBus||{$on:(...e)=>He.on(...e),$once:(...e)=>He.once(...e),$off:(...e)=>He.off(...e),$emit:(...e)=>He.emit(...e)};window.__aioseoDynamicImportPreload__=e=>`${window.aioseoBrokenLinkChecker.urls.publicPath||"/"}dist/assets/${e}`;const Cu=e=>e;let Hn;const Xe=e=>Hn=e,zn=Symbol();function Xt(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Fe;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Fe||(Fe={}));function Ki(){const e=Bn(!0),t=e.run(()=>Di({}));let r=[],n=[];const a=sr({install(i){Xe(a),a._a=i,i.provide(zn,a),i.config.globalProperties.$pinia=a,n.forEach(o=>r.push(o)),n=[]},use(i){return this._a?r.push(i):n.push(i),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return a}const Gn=()=>{};function $r(e,t,r,n=Gn){e.add(t);const a=()=>{e.delete(t)&&n()};return!r&&qi()&&Li(a),a}function we(e,...t){e.forEach(r=>{r(...t)})}const Ji=e=>e(),qr=Symbol(),ht=Symbol();function Zt(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,n)=>e.set(n,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],a=e[r];Xt(a)&&Xt(n)&&e.hasOwnProperty(r)&&!Ke(n)&&!Mn(n)?e[r]=Zt(a,n):e[r]=n}return e}const Vi=Symbol();function Qi(e){return!Xt(e)||!Object.prototype.hasOwnProperty.call(e,Vi)}const{assign:pe}=Object;function Xi(e){return!!(Ke(e)&&e.effect)}function Zi(e,t,r,n){const{state:a,actions:i,getters:o}=t,c=r.state.value[e];let m;function O(){c||(r.state.value[e]=a?a():{});const T=Ui(r.state.value[e]);return pe(T,i,Object.keys(o||{}).reduce((w,b)=>(w[b]=sr(Bi(()=>{Xe(r);const l=r._s.get(e);return o[b].call(l,l)})),w),{}))}return m=Wn(e,O,t,r,n,!0),m}function Wn(e,t,r={},n,a,i){let o;const c=pe({actions:{}},r),m={deep:!0};let O,T,w=new Set,b=new Set,l;const P=n.state.value[e];!i&&!P&&(n.state.value[e]={});let g;function u(s){let v;O=T=!1,typeof s=="function"?(s(n.state.value[e]),v={type:Fe.patchFunction,storeId:e,events:l}):(Zt(n.state.value[e],s),v={type:Fe.patchObject,payload:s,storeId:e,events:l});const A=g=Symbol();ji().then(()=>{g===A&&(O=!0)}),T=!0,we(w,v,n.state.value[e])}const y=i?function(){const{state:v}=r,A=v?v():{};this.$patch(I=>{pe(I,A)})}:Gn;function p(){o.stop(),w.clear(),b.clear(),n._s.delete(e)}const E=(s,v="")=>{if(qr in s)return s[ht]=v,s;const A=function(){Xe(n);const I=Array.from(arguments),R=new Set,N=new Set;function z(F){R.add(F)}function $(F){N.add(F)}we(b,{args:I,name:A[ht],store:f,after:z,onError:$});let V;try{V=s.apply(this&&this.$id===e?this:f,I)}catch(F){throw we(N,F),F}return V instanceof Promise?V.then(F=>(we(R,F),F)).catch(F=>(we(N,F),Promise.reject(F))):(we(R,V),V)};return A[qr]=!0,A[ht]=v,A},S={_p:n,$id:e,$onAction:$r.bind(null,b),$patch:u,$reset:y,$subscribe(s,v={}){const A=$r(w,s,v.detached,()=>I()),I=o.run(()=>Mi(()=>n.state.value[e],R=>{(v.flush==="sync"?T:O)&&s({storeId:e,type:Fe.direct,events:l},R)},pe({},m,v)));return A},$dispose:p},f=Ni(S);n._s.set(e,f);const h=(n._a&&n._a.runWithContext||Ji)(()=>n._e.run(()=>(o=Bn()).run(()=>t({action:E}))));for(const s in h){const v=h[s];if(Ke(v)&&!Xi(v)||Mn(v))i||(P&&Qi(v)&&(Ke(v)?v.value=P[s]:Zt(v,P[s])),n.state.value[e][s]=v);else if(typeof v=="function"){const A=E(v,s);h[s]=A,c.actions[s]=v}}return pe(f,h),pe($i(f),h),Object.defineProperty(f,"$state",{get:()=>n.state.value[e],set:s=>{u(v=>{pe(v,s)})}}),n._p.forEach(s=>{pe(f,o.run(()=>s({store:f,app:n._a,pinia:n,options:c})))}),P&&i&&r.hydrate&&r.hydrate(f.$state,P),O=!0,T=!0,f}function ve(e,t,r){let n;const a=typeof t=="function";n=a?r:t;function i(o,c){const m=ki();return o=o||(m?Fi(zn,null):null),o&&Xe(o),o=Hn,o._s.has(e)||(a?Wn(e,t,n,o):Zi(e,n,o)),o._s.get(e)}return i.$id=e,i}var ze={exports:{}},yt={exports:{}},Lr;function Yi(){return Lr||(Lr=1,(function(e){e.exports=t;function t(n){if(n)return r(n)}function r(n){for(var a in t.prototype)n[a]=t.prototype[a];return n}t.prototype.on=t.prototype.addEventListener=function(n,a){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(a),this},t.prototype.once=function(n,a){function i(){this.off(n,i),a.apply(this,arguments)}return i.fn=a,this.on(n,i),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(n,a){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var i=this._callbacks["$"+n];if(!i)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var o,c=0;c<i.length;c++)if(o=i[c],o===a||o.fn===a){i.splice(c,1);break}return i.length===0&&delete this._callbacks["$"+n],this},t.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var a=new Array(arguments.length-1),i=this._callbacks["$"+n],o=1;o<arguments.length;o++)a[o-1]=arguments[o];if(i){i=i.slice(0);for(var o=0,c=i.length;o<c;++o)i[o].apply(this,a)}return this},t.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]},t.prototype.hasListeners=function(n){return!!this.listeners(n).length}})(yt)),yt.exports}var dt,Nr;function eo(){if(Nr)return dt;Nr=1,dt=i,i.default=i,i.stable=O,i.stableStringify=O;var e="[...]",t="[Circular]",r=[],n=[];function a(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function i(b,l,P,g){typeof g>"u"&&(g=a()),c(b,"",0,[],void 0,0,g);var u;try{n.length===0?u=JSON.stringify(b,l,P):u=JSON.stringify(b,w(l),P)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var y=r.pop();y.length===4?Object.defineProperty(y[0],y[1],y[3]):y[0][y[1]]=y[2]}}return u}function o(b,l,P,g){var u=Object.getOwnPropertyDescriptor(g,P);u.get!==void 0?u.configurable?(Object.defineProperty(g,P,{value:b}),r.push([g,P,l,u])):n.push([l,P,b]):(g[P]=b,r.push([g,P,l]))}function c(b,l,P,g,u,y,p){y+=1;var E;if(typeof b=="object"&&b!==null){for(E=0;E<g.length;E++)if(g[E]===b){o(t,b,l,u);return}if(typeof p.depthLimit<"u"&&y>p.depthLimit){o(e,b,l,u);return}if(typeof p.edgesLimit<"u"&&P+1>p.edgesLimit){o(e,b,l,u);return}if(g.push(b),Array.isArray(b))for(E=0;E<b.length;E++)c(b[E],E,E,g,b,y,p);else{var S=Object.keys(b);for(E=0;E<S.length;E++){var f=S[E];c(b[f],f,E,g,b,y,p)}}g.pop()}}function m(b,l){return b<l?-1:b>l?1:0}function O(b,l,P,g){typeof g>"u"&&(g=a());var u=T(b,"",0,[],void 0,0,g)||b,y;try{n.length===0?y=JSON.stringify(u,l,P):y=JSON.stringify(u,w(l),P)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var p=r.pop();p.length===4?Object.defineProperty(p[0],p[1],p[3]):p[0][p[1]]=p[2]}}return y}function T(b,l,P,g,u,y,p){y+=1;var E;if(typeof b=="object"&&b!==null){for(E=0;E<g.length;E++)if(g[E]===b){o(t,b,l,u);return}try{if(typeof b.toJSON=="function")return}catch{return}if(typeof p.depthLimit<"u"&&y>p.depthLimit){o(e,b,l,u);return}if(typeof p.edgesLimit<"u"&&P+1>p.edgesLimit){o(e,b,l,u);return}if(g.push(b),Array.isArray(b))for(E=0;E<b.length;E++)T(b[E],E,E,g,b,y,p);else{var S={},f=Object.keys(b).sort(m);for(E=0;E<f.length;E++){var x=f[E];T(b[x],x,E,g,b,y,p),S[x]=b[x]}if(typeof u<"u")r.push([u,l,b]),u[l]=S;else return S}g.pop()}}function w(b){return b=typeof b<"u"?b:function(l,P){return P},function(l,P){if(n.length>0)for(var g=0;g<n.length;g++){var u=n[g];if(u[1]===l&&u[0]===P){P=u[2],n.splice(g,1);break}}return b.call(this,l,P)}}return dt}var gt,jr;function to(){return jr||(jr=1,gt=Error),gt}var vt,Ur;function ro(){return Ur||(Ur=1,vt=EvalError),vt}var mt,Br;function no(){return Br||(Br=1,mt=RangeError),mt}var bt,Mr;function io(){return Mr||(Mr=1,bt=ReferenceError),bt}var _t,Hr;function Kn(){return Hr||(Hr=1,_t=SyntaxError),_t}var wt,zr;function Le(){return zr||(zr=1,wt=TypeError),wt}var St,Gr;function oo(){return Gr||(Gr=1,St=URIError),St}var Et,Wr;function ao(){return Wr||(Wr=1,Et=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==a||o.enumerable!==!0)return!1}return!0}),Et}var Ot,Kr;function so(){if(Kr)return Ot;Kr=1;var e=typeof Symbol<"u"&&Symbol,t=ao();return Ot=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Ot}var At,Jr;function uo(){if(Jr)return At;Jr=1;var e={__proto__:null,foo:{}},t=Object;return At=function(){return{__proto__:e}.foo===e.foo&&!(e instanceof t)},At}var Tt,Vr;function lo(){if(Vr)return Tt;Vr=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",a=function(m,O){for(var T=[],w=0;w<m.length;w+=1)T[w]=m[w];for(var b=0;b<O.length;b+=1)T[b+m.length]=O[b];return T},i=function(m,O){for(var T=[],w=O,b=0;w<m.length;w+=1,b+=1)T[b]=m[w];return T},o=function(c,m){for(var O="",T=0;T<c.length;T+=1)O+=c[T],T+1<c.length&&(O+=m);return O};return Tt=function(m){var O=this;if(typeof O!="function"||t.apply(O)!==n)throw new TypeError(e+O);for(var T=i(arguments,1),w,b=function(){if(this instanceof w){var y=O.apply(this,a(T,arguments));return Object(y)===y?y:this}return O.apply(m,a(T,arguments))},l=r(0,O.length-T.length),P=[],g=0;g<l;g++)P[g]="$"+g;if(w=Function("binder","return function ("+o(P,",")+"){ return binder.apply(this,arguments); }")(b),O.prototype){var u=function(){};u.prototype=O.prototype,w.prototype=new u,u.prototype=null}return w},Tt}var Pt,Qr;function lr(){if(Qr)return Pt;Qr=1;var e=lo();return Pt=Function.prototype.bind||e,Pt}var xt,Xr;function co(){if(Xr)return xt;Xr=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=lr();return xt=r.call(e,t),xt}var Rt,Zr;function Ae(){if(Zr)return Rt;Zr=1;var e,t=to(),r=ro(),n=no(),a=io(),i=Kn(),o=Le(),c=oo(),m=Function,O=function(F){try{return m('"use strict"; return ('+F+").constructor;")()}catch{}},T=Object.getOwnPropertyDescriptor;if(T)try{T({},"")}catch{T=null}var w=function(){throw new o},b=T?(function(){try{return arguments.callee,w}catch{try{return T(arguments,"callee").get}catch{return w}}})():w,l=so()(),P=uo()(),g=Object.getPrototypeOf||(P?function(F){return F.__proto__}:null),u={},y=typeof Uint8Array>"u"||!g?e:g(Uint8Array),p={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":l&&g?g([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":u,"%AsyncGenerator%":u,"%AsyncGeneratorFunction%":u,"%AsyncIteratorPrototype%":u,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":u,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l&&g?g(g([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!l||!g?e:g(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":n,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!l||!g?e:g(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l&&g?g(""[Symbol.iterator]()):e,"%Symbol%":l?Symbol:e,"%SyntaxError%":i,"%ThrowTypeError%":b,"%TypedArray%":y,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet};if(g)try{null.error}catch(F){var E=g(g(F));p["%Error.prototype%"]=E}var S=function F(C){var j;if(C==="%AsyncFunction%")j=O("async function () {}");else if(C==="%GeneratorFunction%")j=O("function* () {}");else if(C==="%AsyncGeneratorFunction%")j=O("async function* () {}");else if(C==="%AsyncGenerator%"){var q=F("%AsyncGeneratorFunction%");q&&(j=q.prototype)}else if(C==="%AsyncIteratorPrototype%"){var M=F("%AsyncGenerator%");M&&g&&(j=g(M.prototype))}return p[C]=j,j},f={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=lr(),h=co(),s=x.call(Function.call,Array.prototype.concat),v=x.call(Function.apply,Array.prototype.splice),A=x.call(Function.call,String.prototype.replace),I=x.call(Function.call,String.prototype.slice),R=x.call(Function.call,RegExp.prototype.exec),N=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,$=function(C){var j=I(C,0,1),q=I(C,-1);if(j==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&j!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return A(C,N,function(J,ie,B,Y){M[M.length]=B?A(Y,z,"$1"):ie||J}),M},V=function(C,j){var q=C,M;if(h(f,q)&&(M=f[q],q="%"+M[0]+"%"),h(p,q)){var J=p[q];if(J===u&&(J=S(q)),typeof J>"u"&&!j)throw new o("intrinsic "+C+" exists, but is not available. Please file an issue!");return{alias:M,name:q,value:J}}throw new i("intrinsic "+C+" does not exist!")};return Rt=function(C,j){if(typeof C!="string"||C.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof j!="boolean")throw new o('"allowMissing" argument must be a boolean');if(R(/^%?[^%]*%?$/,C)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=$(C),M=q.length>0?q[0]:"",J=V("%"+M+"%",j),ie=J.name,B=J.value,Y=!1,se=J.alias;se&&(M=se[0],v(q,s([0,1],se)));for(var ue=1,ee=!0;ue<q.length;ue+=1){var Q=q[ue],X=I(Q,0,1),oe=I(Q,-1);if((X==='"'||X==="'"||X==="`"||oe==='"'||oe==="'"||oe==="`")&&X!==oe)throw new i("property names with quotes must have matching quotes");if((Q==="constructor"||!ee)&&(Y=!0),M+="."+Q,ie="%"+M+"%",h(p,ie))B=p[ie];else if(B!=null){if(!(Q in B)){if(!j)throw new o("base intrinsic for "+C+" exists, but the property is not available.");return}if(T&&ue+1>=q.length){var ae=T(B,Q);ee=!!ae,ee&&"get"in ae&&!("originalValue"in ae.get)?B=ae.get:B=B[Q]}else ee=h(B,Q),B=B[Q];ee&&!Y&&(p[ie]=B)}}return B},Rt}var It={exports:{}},Ct,Yr;function cr(){if(Yr)return Ct;Yr=1;var e=Ae(),t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Ct=t,Ct}var Dt,en;function Jn(){if(en)return Dt;en=1;var e=Ae(),t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return Dt=t,Dt}var Ft,tn;function fo(){if(tn)return Ft;tn=1;var e=cr(),t=Kn(),r=Le(),n=Jn();return Ft=function(i,o,c){if(!i||typeof i!="object"&&typeof i!="function")throw new r("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,O=arguments.length>4?arguments[4]:null,T=arguments.length>5?arguments[5]:null,w=arguments.length>6?arguments[6]:!1,b=!!n&&n(i,o);if(e)e(i,o,{configurable:T===null&&b?b.configurable:!T,enumerable:m===null&&b?b.enumerable:!m,value:c,writable:O===null&&b?b.writable:!O});else if(w||!m&&!O&&!T)i[o]=c;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Ft}var kt,rn;function po(){if(rn)return kt;rn=1;var e=cr(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},kt=t,kt}var $t,nn;function ho(){if(nn)return $t;nn=1;var e=Ae(),t=fo(),r=po()(),n=Jn(),a=Le(),i=e("%Math.floor%");return $t=function(c,m){if(typeof c!="function")throw new a("`fn` is not a function");if(typeof m!="number"||m<0||m>4294967295||i(m)!==m)throw new a("`length` must be a positive 32-bit integer");var O=arguments.length>2&&!!arguments[2],T=!0,w=!0;if("length"in c&&n){var b=n(c,"length");b&&!b.configurable&&(T=!1),b&&!b.writable&&(w=!1)}return(T||w||!O)&&(r?t(c,"length",m,!0,!0):t(c,"length",m)),c},$t}var on;function yo(){return on||(on=1,(function(e){var t=lr(),r=Ae(),n=ho(),a=Le(),i=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),c=r("%Reflect.apply%",!0)||t.call(o,i),m=cr(),O=r("%Math.max%");e.exports=function(b){if(typeof b!="function")throw new a("a function is required");var l=c(t,o,arguments);return n(l,1+O(0,b.length-(arguments.length-1)),!0)};var T=function(){return c(t,i,arguments)};m?m(e.exports,"apply",{value:T}):e.exports.apply=T})(It)),It.exports}var qt,an;function go(){if(an)return qt;an=1;var e=Ae(),t=yo(),r=t(e("String.prototype.indexOf"));return qt=function(a,i){var o=e(a,!!i);return typeof o=="function"&&r(a,".prototype.")>-1?t(o):o},qt}const vo={},mo=Object.freeze(Object.defineProperty({__proto__:null,default:vo},Symbol.toStringTag,{value:"Module"})),bo=Hi(mo);var Lt,sn;function _o(){if(sn)return Lt;sn=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&typeof t.get=="function"?t.get:null,n=e&&Map.prototype.forEach,a=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=a&&i&&typeof i.get=="function"?i.get:null,c=a&&Set.prototype.forEach,m=typeof WeakMap=="function"&&WeakMap.prototype,O=m?WeakMap.prototype.has:null,T=typeof WeakSet=="function"&&WeakSet.prototype,w=T?WeakSet.prototype.has:null,b=typeof WeakRef=="function"&&WeakRef.prototype,l=b?WeakRef.prototype.deref:null,P=Boolean.prototype.valueOf,g=Object.prototype.toString,u=Function.prototype.toString,y=String.prototype.match,p=String.prototype.slice,E=String.prototype.replace,S=String.prototype.toUpperCase,f=String.prototype.toLowerCase,x=RegExp.prototype.test,h=Array.prototype.concat,s=Array.prototype.join,v=Array.prototype.slice,A=Math.floor,I=typeof BigInt=="function"?BigInt.prototype.valueOf:null,R=Object.getOwnPropertySymbols,N=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,z=typeof Symbol=="function"&&typeof Symbol.iterator=="object",$=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===z||!0)?Symbol.toStringTag:null,V=Object.prototype.propertyIsEnumerable,F=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(d){return d.__proto__}:null);function C(d,_){if(d===1/0||d===-1/0||d!==d||d&&d>-1e3&&d<1e3||x.call(/e/,_))return _;var k=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof d=="number"){var L=d<0?-A(-d):A(d);if(L!==d){var H=String(L),D=p.call(_,H.length+1);return E.call(H,k,"$&_")+"."+E.call(E.call(D,/([0-9]{3})/g,"$&_"),/_$/,"")}}return E.call(_,k,"$&_")}var j=bo,q=j.custom,M=oe(q)?q:null;Lt=function d(_,k,L,H){var D=k||{};if(re(D,"quoteStyle")&&D.quoteStyle!=="single"&&D.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(re(D,"maxStringLength")&&(typeof D.maxStringLength=="number"?D.maxStringLength<0&&D.maxStringLength!==1/0:D.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ce=re(D,"customInspect")?D.customInspect:!0;if(typeof ce!="boolean"&&ce!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(re(D,"indent")&&D.indent!==null&&D.indent!==" "&&!(parseInt(D.indent,10)===D.indent&&D.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(re(D,"numericSeparator")&&typeof D.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var he=D.numericSeparator;if(typeof _>"u")return"undefined";if(_===null)return"null";if(typeof _=="boolean")return _?"true":"false";if(typeof _=="string")return Sr(_,D);if(typeof _=="number"){if(_===0)return 1/0/_>0?"0":"-0";var Z=String(_);return he?C(_,Z):Z}if(typeof _=="bigint"){var fe=String(_)+"n";return he?C(_,fe):fe}var ot=typeof D.depth>"u"?5:D.depth;if(typeof L>"u"&&(L=0),L>=ot&&ot>0&&typeof _=="object")return B(_)?"[Array]":"[Object]";var be=Ri(D,L);if(typeof H>"u")H=[];else if(wr(H,_)>=0)return"[Circular]";function ne(_e,Be,Ci){if(Be&&(H=v.call(H),H.push(Be)),Ci){var Cr={depth:D.depth};return re(D,"quoteStyle")&&(Cr.quoteStyle=D.quoteStyle),d(_e,Cr,L+1,H)}return d(_e,D,L+1,H)}if(typeof _=="function"&&!se(_)){var Or=_i(_),Ar=je(_,ne);return"[Function"+(Or?": "+Or:" (anonymous)")+"]"+(Ar.length>0?" { "+s.call(Ar,", ")+" }":"")}if(oe(_)){var Tr=z?E.call(String(_),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(_);return typeof _=="object"&&!z?Re(Tr):Tr}if(Ti(_)){for(var Ie="<"+f.call(String(_.nodeName)),at=_.attributes||[],Ue=0;Ue<at.length;Ue++)Ie+=" "+at[Ue].name+"="+J(ie(at[Ue].value),"double",D);return Ie+=">",_.childNodes&&_.childNodes.length&&(Ie+="..."),Ie+="</"+f.call(String(_.nodeName))+">",Ie}if(B(_)){if(_.length===0)return"[]";var st=je(_,ne);return be&&!xi(st)?"["+it(st,be)+"]":"[ "+s.call(st,", ")+" ]"}if(ue(_)){var ut=je(_,ne);return!("cause"in Error.prototype)&&"cause"in _&&!V.call(_,"cause")?"{ ["+String(_)+"] "+s.call(h.call("[cause]: "+ne(_.cause),ut),", ")+" }":ut.length===0?"["+String(_)+"]":"{ ["+String(_)+"] "+s.call(ut,", ")+" }"}if(typeof _=="object"&&ce){if(M&&typeof _[M]=="function"&&j)return j(_,{depth:ot-L});if(ce!=="symbol"&&typeof _.inspect=="function")return _.inspect()}if(wi(_)){var Pr=[];return n&&n.call(_,function(_e,Be){Pr.push(ne(Be,_,!0)+" => "+ne(_e,_))}),Er("Map",r.call(_),Pr,be)}if(Oi(_)){var xr=[];return c&&c.call(_,function(_e){xr.push(ne(_e,_))}),Er("Set",o.call(_),xr,be)}if(Si(_))return nt("WeakMap");if(Ai(_))return nt("WeakSet");if(Ei(_))return nt("WeakRef");if(Q(_))return Re(ne(Number(_)));if(ae(_))return Re(ne(I.call(_)));if(X(_))return Re(P.call(_));if(ee(_))return Re(ne(String(_)));if(typeof window<"u"&&_===window)return"{ [object Window] }";if(typeof globalThis<"u"&&_===globalThis||typeof Dr<"u"&&_===Dr)return"{ [object globalThis] }";if(!Y(_)&&!se(_)){var lt=je(_,ne),Rr=F?F(_)===Object.prototype:_ instanceof Object||_.constructor===Object,ct=_ instanceof Object?"":"null prototype",Ir=!Rr&&$&&Object(_)===_&&$ in _?p.call(te(_),8,-1):ct?"Object":"",Ii=Rr||typeof _.constructor!="function"?"":_.constructor.name?_.constructor.name+" ":"",ft=Ii+(Ir||ct?"["+s.call(h.call([],Ir||[],ct||[]),": ")+"] ":"");return lt.length===0?ft+"{}":be?ft+"{"+it(lt,be)+"}":ft+"{ "+s.call(lt,", ")+" }"}return String(_)};function J(d,_,k){var L=(k.quoteStyle||_)==="double"?'"':"'";return L+d+L}function ie(d){return E.call(String(d),/"/g,""")}function B(d){return te(d)==="[object Array]"&&(!$||!(typeof d=="object"&&$ in d))}function Y(d){return te(d)==="[object Date]"&&(!$||!(typeof d=="object"&&$ in d))}function se(d){return te(d)==="[object RegExp]"&&(!$||!(typeof d=="object"&&$ in d))}function ue(d){return te(d)==="[object Error]"&&(!$||!(typeof d=="object"&&$ in d))}function ee(d){return te(d)==="[object String]"&&(!$||!(typeof d=="object"&&$ in d))}function Q(d){return te(d)==="[object Number]"&&(!$||!(typeof d=="object"&&$ in d))}function X(d){return te(d)==="[object Boolean]"&&(!$||!(typeof d=="object"&&$ in d))}function oe(d){if(z)return d&&typeof d=="object"&&d instanceof Symbol;if(typeof d=="symbol")return!0;if(!d||typeof d!="object"||!N)return!1;try{return N.call(d),!0}catch{}return!1}function ae(d){if(!d||typeof d!="object"||!I)return!1;try{return I.call(d),!0}catch{}return!1}var rt=Object.prototype.hasOwnProperty||function(d){return d in this};function re(d,_){return rt.call(d,_)}function te(d){return g.call(d)}function _i(d){if(d.name)return d.name;var _=y.call(u.call(d),/^function\s*([\w$]+)/);return _?_[1]:null}function wr(d,_){if(d.indexOf)return d.indexOf(_);for(var k=0,L=d.length;k<L;k++)if(d[k]===_)return k;return-1}function wi(d){if(!r||!d||typeof d!="object")return!1;try{r.call(d);try{o.call(d)}catch{return!0}return d instanceof Map}catch{}return!1}function Si(d){if(!O||!d||typeof d!="object")return!1;try{O.call(d,O);try{w.call(d,w)}catch{return!0}return d instanceof WeakMap}catch{}return!1}function Ei(d){if(!l||!d||typeof d!="object")return!1;try{return l.call(d),!0}catch{}return!1}function Oi(d){if(!o||!d||typeof d!="object")return!1;try{o.call(d);try{r.call(d)}catch{return!0}return d instanceof Set}catch{}return!1}function Ai(d){if(!w||!d||typeof d!="object")return!1;try{w.call(d,w);try{O.call(d,O)}catch{return!0}return d instanceof WeakSet}catch{}return!1}function Ti(d){return!d||typeof d!="object"?!1:typeof HTMLElement<"u"&&d instanceof HTMLElement?!0:typeof d.nodeName=="string"&&typeof d.getAttribute=="function"}function Sr(d,_){if(d.length>_.maxStringLength){var k=d.length-_.maxStringLength,L="... "+k+" more character"+(k>1?"s":"");return Sr(p.call(d,0,_.maxStringLength),_)+L}var H=E.call(E.call(d,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Pi);return J(H,"single",_)}function Pi(d){var _=d.charCodeAt(0),k={8:"b",9:"t",10:"n",12:"f",13:"r"}[_];return k?"\\"+k:"\\x"+(_<16?"0":"")+S.call(_.toString(16))}function Re(d){return"Object("+d+")"}function nt(d){return d+" { ? }"}function Er(d,_,k,L){var H=L?it(k,L):s.call(k,", ");return d+" ("+_+") {"+H+"}"}function xi(d){for(var _=0;_<d.length;_++)if(wr(d[_],`
|
||
`)>=0)return!1;return!0}function Ri(d,_){var k;if(d.indent===" ")k=" ";else if(typeof d.indent=="number"&&d.indent>0)k=s.call(Array(d.indent+1)," ");else return null;return{base:k,prev:s.call(Array(_+1),k)}}function it(d,_){if(d.length===0)return"";var k=`
|
||
`+_.prev+_.base;return k+s.call(d,","+k)+`
|
||
`+_.prev}function je(d,_){var k=B(d),L=[];if(k){L.length=d.length;for(var H=0;H<d.length;H++)L[H]=re(d,H)?_(d[H],d):""}var D=typeof R=="function"?R(d):[],ce;if(z){ce={};for(var he=0;he<D.length;he++)ce["$"+D[he]]=D[he]}for(var Z in d)re(d,Z)&&(k&&String(Number(Z))===Z&&Z<d.length||z&&ce["$"+Z]instanceof Symbol||(x.call(/[^\w$]/,Z)?L.push(_(Z,d)+": "+_(d[Z],d)):L.push(Z+": "+_(d[Z],d))));if(typeof R=="function")for(var fe=0;fe<D.length;fe++)V.call(d,D[fe])&&L.push("["+_(D[fe])+"]: "+_(d[D[fe]],d));return L}return Lt}var Nt,un;function wo(){if(un)return Nt;un=1;var e=Ae(),t=go(),r=_o(),n=Le(),a=e("%WeakMap%",!0),i=e("%Map%",!0),o=t("WeakMap.prototype.get",!0),c=t("WeakMap.prototype.set",!0),m=t("WeakMap.prototype.has",!0),O=t("Map.prototype.get",!0),T=t("Map.prototype.set",!0),w=t("Map.prototype.has",!0),b=function(u,y){for(var p=u,E;(E=p.next)!==null;p=E)if(E.key===y)return p.next=E.next,E.next=u.next,u.next=E,E},l=function(u,y){var p=b(u,y);return p&&p.value},P=function(u,y,p){var E=b(u,y);E?E.value=p:u.next={key:y,next:u.next,value:p}},g=function(u,y){return!!b(u,y)};return Nt=function(){var y,p,E,S={assert:function(f){if(!S.has(f))throw new n("Side channel does not contain "+r(f))},get:function(f){if(a&&f&&(typeof f=="object"||typeof f=="function")){if(y)return o(y,f)}else if(i){if(p)return O(p,f)}else if(E)return l(E,f)},has:function(f){if(a&&f&&(typeof f=="object"||typeof f=="function")){if(y)return m(y,f)}else if(i){if(p)return w(p,f)}else if(E)return g(E,f);return!1},set:function(f,x){a&&f&&(typeof f=="object"||typeof f=="function")?(y||(y=new a),c(y,f,x)):i?(p||(p=new i),T(p,f,x)):(E||(E={key:{},next:null}),P(E,f,x))}};return S},Nt}var jt,ln;function fr(){if(ln)return jt;ln=1;var e=String.prototype.replace,t=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};return jt={default:r.RFC3986,formatters:{RFC1738:function(n){return e.call(n,t,"+")},RFC3986:function(n){return String(n)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986},jt}var Ut,cn;function Vn(){if(cn)return Ut;cn=1;var e=fr(),t=Object.prototype.hasOwnProperty,r=Array.isArray,n=(function(){for(var u=[],y=0;y<256;++y)u.push("%"+((y<16?"0":"")+y.toString(16)).toUpperCase());return u})(),a=function(y){for(;y.length>1;){var p=y.pop(),E=p.obj[p.prop];if(r(E)){for(var S=[],f=0;f<E.length;++f)typeof E[f]<"u"&&S.push(E[f]);p.obj[p.prop]=S}}},i=function(y,p){for(var E=p&&p.plainObjects?Object.create(null):{},S=0;S<y.length;++S)typeof y[S]<"u"&&(E[S]=y[S]);return E},o=function u(y,p,E){if(!p)return y;if(typeof p!="object"){if(r(y))y.push(p);else if(y&&typeof y=="object")(E&&(E.plainObjects||E.allowPrototypes)||!t.call(Object.prototype,p))&&(y[p]=!0);else return[y,p];return y}if(!y||typeof y!="object")return[y].concat(p);var S=y;return r(y)&&!r(p)&&(S=i(y,E)),r(y)&&r(p)?(p.forEach(function(f,x){if(t.call(y,x)){var h=y[x];h&&typeof h=="object"&&f&&typeof f=="object"?y[x]=u(h,f,E):y.push(f)}else y[x]=f}),y):Object.keys(p).reduce(function(f,x){var h=p[x];return t.call(f,x)?f[x]=u(f[x],h,E):f[x]=h,f},S)},c=function(y,p){return Object.keys(p).reduce(function(E,S){return E[S]=p[S],E},y)},m=function(u,y,p){var E=u.replace(/\+/g," ");if(p==="iso-8859-1")return E.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(E)}catch{return E}},O=1024,T=function(y,p,E,S,f){if(y.length===0)return y;var x=y;if(typeof y=="symbol"?x=Symbol.prototype.toString.call(y):typeof y!="string"&&(x=String(y)),E==="iso-8859-1")return escape(x).replace(/%u[0-9a-f]{4}/gi,function(N){return"%26%23"+parseInt(N.slice(2),16)+"%3B"});for(var h="",s=0;s<x.length;s+=O){for(var v=x.length>=O?x.slice(s,s+O):x,A=[],I=0;I<v.length;++I){var R=v.charCodeAt(I);if(R===45||R===46||R===95||R===126||R>=48&&R<=57||R>=65&&R<=90||R>=97&&R<=122||f===e.RFC1738&&(R===40||R===41)){A[A.length]=v.charAt(I);continue}if(R<128){A[A.length]=n[R];continue}if(R<2048){A[A.length]=n[192|R>>6]+n[128|R&63];continue}if(R<55296||R>=57344){A[A.length]=n[224|R>>12]+n[128|R>>6&63]+n[128|R&63];continue}I+=1,R=65536+((R&1023)<<10|v.charCodeAt(I)&1023),A[A.length]=n[240|R>>18]+n[128|R>>12&63]+n[128|R>>6&63]+n[128|R&63]}h+=A.join("")}return h},w=function(y){for(var p=[{obj:{o:y},prop:"o"}],E=[],S=0;S<p.length;++S)for(var f=p[S],x=f.obj[f.prop],h=Object.keys(x),s=0;s<h.length;++s){var v=h[s],A=x[v];typeof A=="object"&&A!==null&&E.indexOf(A)===-1&&(p.push({obj:x,prop:v}),E.push(A))}return a(p),y},b=function(y){return Object.prototype.toString.call(y)==="[object RegExp]"},l=function(y){return!y||typeof y!="object"?!1:!!(y.constructor&&y.constructor.isBuffer&&y.constructor.isBuffer(y))},P=function(y,p){return[].concat(y,p)},g=function(y,p){if(r(y)){for(var E=[],S=0;S<y.length;S+=1)E.push(p(y[S]));return E}return p(y)};return Ut={arrayToObject:i,assign:c,combine:P,compact:w,decode:m,encode:T,isBuffer:l,isRegExp:b,maybeMap:g,merge:o},Ut}var Bt,fn;function So(){if(fn)return Bt;fn=1;var e=wo(),t=Vn(),r=fr(),n=Object.prototype.hasOwnProperty,a={brackets:function(u){return u+"[]"},comma:"comma",indices:function(u,y){return u+"["+y+"]"},repeat:function(u){return u}},i=Array.isArray,o=Array.prototype.push,c=function(g,u){o.apply(g,i(u)?u:[u])},m=Date.prototype.toISOString,O=r.default,T={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,format:O,formatter:r.formatters[O],indices:!1,serializeDate:function(u){return m.call(u)},skipNulls:!1,strictNullHandling:!1},w=function(u){return typeof u=="string"||typeof u=="number"||typeof u=="boolean"||typeof u=="symbol"||typeof u=="bigint"},b={},l=function g(u,y,p,E,S,f,x,h,s,v,A,I,R,N,z,$,V,F){for(var C=u,j=F,q=0,M=!1;(j=j.get(b))!==void 0&&!M;){var J=j.get(u);if(q+=1,typeof J<"u"){if(J===q)throw new RangeError("Cyclic object value");M=!0}typeof j.get(b)>"u"&&(q=0)}if(typeof v=="function"?C=v(y,C):C instanceof Date?C=R(C):p==="comma"&&i(C)&&(C=t.maybeMap(C,function(te){return te instanceof Date?R(te):te})),C===null){if(f)return s&&!$?s(y,T.encoder,V,"key",N):y;C=""}if(w(C)||t.isBuffer(C)){if(s){var ie=$?y:s(y,T.encoder,V,"key",N);return[z(ie)+"="+z(s(C,T.encoder,V,"value",N))]}return[z(y)+"="+z(String(C))]}var B=[];if(typeof C>"u")return B;var Y;if(p==="comma"&&i(C))$&&s&&(C=t.maybeMap(C,s)),Y=[{value:C.length>0?C.join(",")||null:void 0}];else if(i(v))Y=v;else{var se=Object.keys(C);Y=A?se.sort(A):se}var ue=h?y.replace(/\./g,"%2E"):y,ee=E&&i(C)&&C.length===1?ue+"[]":ue;if(S&&i(C)&&C.length===0)return ee+"[]";for(var Q=0;Q<Y.length;++Q){var X=Y[Q],oe=typeof X=="object"&&typeof X.value<"u"?X.value:C[X];if(!(x&&oe===null)){var ae=I&&h?X.replace(/\./g,"%2E"):X,rt=i(C)?typeof p=="function"?p(ee,ae):ee:ee+(I?"."+ae:"["+ae+"]");F.set(u,q);var re=e();re.set(b,F),c(B,g(oe,rt,p,E,S,f,x,h,p==="comma"&&$&&i(C)?null:s,v,A,I,R,N,z,$,V,re))}}return B},P=function(u){if(!u)return T;if(typeof u.allowEmptyArrays<"u"&&typeof u.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof u.encodeDotInKeys<"u"&&typeof u.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(u.encoder!==null&&typeof u.encoder<"u"&&typeof u.encoder!="function")throw new TypeError("Encoder has to be a function.");var y=u.charset||T.charset;if(typeof u.charset<"u"&&u.charset!=="utf-8"&&u.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var p=r.default;if(typeof u.format<"u"){if(!n.call(r.formatters,u.format))throw new TypeError("Unknown format option provided.");p=u.format}var E=r.formatters[p],S=T.filter;(typeof u.filter=="function"||i(u.filter))&&(S=u.filter);var f;if(u.arrayFormat in a?f=u.arrayFormat:"indices"in u?f=u.indices?"indices":"repeat":f=T.arrayFormat,"commaRoundTrip"in u&&typeof u.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var x=typeof u.allowDots>"u"?u.encodeDotInKeys===!0?!0:T.allowDots:!!u.allowDots;return{addQueryPrefix:typeof u.addQueryPrefix=="boolean"?u.addQueryPrefix:T.addQueryPrefix,allowDots:x,allowEmptyArrays:typeof u.allowEmptyArrays=="boolean"?!!u.allowEmptyArrays:T.allowEmptyArrays,arrayFormat:f,charset:y,charsetSentinel:typeof u.charsetSentinel=="boolean"?u.charsetSentinel:T.charsetSentinel,commaRoundTrip:u.commaRoundTrip,delimiter:typeof u.delimiter>"u"?T.delimiter:u.delimiter,encode:typeof u.encode=="boolean"?u.encode:T.encode,encodeDotInKeys:typeof u.encodeDotInKeys=="boolean"?u.encodeDotInKeys:T.encodeDotInKeys,encoder:typeof u.encoder=="function"?u.encoder:T.encoder,encodeValuesOnly:typeof u.encodeValuesOnly=="boolean"?u.encodeValuesOnly:T.encodeValuesOnly,filter:S,format:p,formatter:E,serializeDate:typeof u.serializeDate=="function"?u.serializeDate:T.serializeDate,skipNulls:typeof u.skipNulls=="boolean"?u.skipNulls:T.skipNulls,sort:typeof u.sort=="function"?u.sort:null,strictNullHandling:typeof u.strictNullHandling=="boolean"?u.strictNullHandling:T.strictNullHandling}};return Bt=function(g,u){var y=g,p=P(u),E,S;typeof p.filter=="function"?(S=p.filter,y=S("",y)):i(p.filter)&&(S=p.filter,E=S);var f=[];if(typeof y!="object"||y===null)return"";var x=a[p.arrayFormat],h=x==="comma"&&p.commaRoundTrip;E||(E=Object.keys(y)),p.sort&&E.sort(p.sort);for(var s=e(),v=0;v<E.length;++v){var A=E[v];p.skipNulls&&y[A]===null||c(f,l(y[A],A,x,h,p.allowEmptyArrays,p.strictNullHandling,p.skipNulls,p.encodeDotInKeys,p.encode?p.encoder:null,p.filter,p.sort,p.allowDots,p.serializeDate,p.format,p.formatter,p.encodeValuesOnly,p.charset,s))}var I=f.join(p.delimiter),R=p.addQueryPrefix===!0?"?":"";return p.charsetSentinel&&(p.charset==="iso-8859-1"?R+="utf8=%26%2310003%3B&":R+="utf8=%E2%9C%93&"),I.length>0?R+I:""},Bt}var Mt,pn;function Eo(){if(pn)return Mt;pn=1;var e=Vn(),t=Object.prototype.hasOwnProperty,r=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},a=function(b){return b.replace(/&#(\d+);/g,function(l,P){return String.fromCharCode(parseInt(P,10))})},i=function(b,l){return b&&typeof b=="string"&&l.comma&&b.indexOf(",")>-1?b.split(","):b},o="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",m=function(l,P){var g={__proto__:null},u=P.ignoreQueryPrefix?l.replace(/^\?/,""):l;u=u.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var y=P.parameterLimit===1/0?void 0:P.parameterLimit,p=u.split(P.delimiter,y),E=-1,S,f=P.charset;if(P.charsetSentinel)for(S=0;S<p.length;++S)p[S].indexOf("utf8=")===0&&(p[S]===c?f="utf-8":p[S]===o&&(f="iso-8859-1"),E=S,S=p.length);for(S=0;S<p.length;++S)if(S!==E){var x=p[S],h=x.indexOf("]="),s=h===-1?x.indexOf("="):h+1,v,A;s===-1?(v=P.decoder(x,n.decoder,f,"key"),A=P.strictNullHandling?null:""):(v=P.decoder(x.slice(0,s),n.decoder,f,"key"),A=e.maybeMap(i(x.slice(s+1),P),function(R){return P.decoder(R,n.decoder,f,"value")})),A&&P.interpretNumericEntities&&f==="iso-8859-1"&&(A=a(A)),x.indexOf("[]=")>-1&&(A=r(A)?[A]:A);var I=t.call(g,v);I&&P.duplicates==="combine"?g[v]=e.combine(g[v],A):(!I||P.duplicates==="last")&&(g[v]=A)}return g},O=function(b,l,P,g){for(var u=g?l:i(l,P),y=b.length-1;y>=0;--y){var p,E=b[y];if(E==="[]"&&P.parseArrays)p=P.allowEmptyArrays&&(u===""||P.strictNullHandling&&u===null)?[]:[].concat(u);else{p=P.plainObjects?Object.create(null):{};var S=E.charAt(0)==="["&&E.charAt(E.length-1)==="]"?E.slice(1,-1):E,f=P.decodeDotInKeys?S.replace(/%2E/g,"."):S,x=parseInt(f,10);!P.parseArrays&&f===""?p={0:u}:!isNaN(x)&&E!==f&&String(x)===f&&x>=0&&P.parseArrays&&x<=P.arrayLimit?(p=[],p[x]=u):f!=="__proto__"&&(p[f]=u)}u=p}return u},T=function(l,P,g,u){if(l){var y=g.allowDots?l.replace(/\.([^.[]+)/g,"[$1]"):l,p=/(\[[^[\]]*])/,E=/(\[[^[\]]*])/g,S=g.depth>0&&p.exec(y),f=S?y.slice(0,S.index):y,x=[];if(f){if(!g.plainObjects&&t.call(Object.prototype,f)&&!g.allowPrototypes)return;x.push(f)}for(var h=0;g.depth>0&&(S=E.exec(y))!==null&&h<g.depth;){if(h+=1,!g.plainObjects&&t.call(Object.prototype,S[1].slice(1,-1))&&!g.allowPrototypes)return;x.push(S[1])}if(S){if(g.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+g.depth+" and strictDepth is true");x.push("["+y.slice(S.index)+"]")}return O(x,P,g,u)}},w=function(l){if(!l)return n;if(typeof l.allowEmptyArrays<"u"&&typeof l.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof l.decodeDotInKeys<"u"&&typeof l.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(l.decoder!==null&&typeof l.decoder<"u"&&typeof l.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof l.charset<"u"&&l.charset!=="utf-8"&&l.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var P=typeof l.charset>"u"?n.charset:l.charset,g=typeof l.duplicates>"u"?n.duplicates:l.duplicates;if(g!=="combine"&&g!=="first"&&g!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var u=typeof l.allowDots>"u"?l.decodeDotInKeys===!0?!0:n.allowDots:!!l.allowDots;return{allowDots:u,allowEmptyArrays:typeof l.allowEmptyArrays=="boolean"?!!l.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof l.allowPrototypes=="boolean"?l.allowPrototypes:n.allowPrototypes,allowSparse:typeof l.allowSparse=="boolean"?l.allowSparse:n.allowSparse,arrayLimit:typeof l.arrayLimit=="number"?l.arrayLimit:n.arrayLimit,charset:P,charsetSentinel:typeof l.charsetSentinel=="boolean"?l.charsetSentinel:n.charsetSentinel,comma:typeof l.comma=="boolean"?l.comma:n.comma,decodeDotInKeys:typeof l.decodeDotInKeys=="boolean"?l.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof l.decoder=="function"?l.decoder:n.decoder,delimiter:typeof l.delimiter=="string"||e.isRegExp(l.delimiter)?l.delimiter:n.delimiter,depth:typeof l.depth=="number"||l.depth===!1?+l.depth:n.depth,duplicates:g,ignoreQueryPrefix:l.ignoreQueryPrefix===!0,interpretNumericEntities:typeof l.interpretNumericEntities=="boolean"?l.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof l.parameterLimit=="number"?l.parameterLimit:n.parameterLimit,parseArrays:l.parseArrays!==!1,plainObjects:typeof l.plainObjects=="boolean"?l.plainObjects:n.plainObjects,strictDepth:typeof l.strictDepth=="boolean"?!!l.strictDepth:n.strictDepth,strictNullHandling:typeof l.strictNullHandling=="boolean"?l.strictNullHandling:n.strictNullHandling}};return Mt=function(b,l){var P=w(l);if(b===""||b===null||typeof b>"u")return P.plainObjects?Object.create(null):{};for(var g=typeof b=="string"?m(b,P):b,u=P.plainObjects?Object.create(null):{},y=Object.keys(g),p=0;p<y.length;++p){var E=y[p],S=T(E,g[E],P,typeof b=="string");u=e.merge(u,S,P)}return P.allowSparse===!0?u:e.compact(u)},Mt}var Ht,hn;function Oo(){if(hn)return Ht;hn=1;var e=So(),t=Eo(),r=fr();return Ht={formats:r,parse:t,stringify:e},Ht}var zt={},yn;function pr(){return yn||(yn=1,(function(e){e.type=t=>t.split(/ *; */).shift(),e.params=t=>{const r={};for(const n of t.split(/ *; */)){const a=n.split(/ *= */),i=a.shift(),o=a.shift();i&&o&&(r[i]=o)}return r},e.parseLinks=t=>{const r={};for(const n of t.split(/ *, */)){const a=n.split(/ *; */),i=a[0].slice(1,-1),o=a[1].split(/ *= */)[1].slice(1,-1);r[o]=i}return r},e.cleanHeader=(t,r)=>(delete t["content-type"],delete t["content-length"],delete t["transfer-encoding"],delete t.host,r&&(delete t.authorization,delete t.cookie),t),e.isObject=t=>t!==null&&typeof t=="object",e.hasOwn=Object.hasOwn||function(t,r){if(t==null)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(new Object(t),r)},e.mixin=(t,r)=>{for(const n in r)e.hasOwn(r,n)&&(t[n]=r[n])}})(zt)),zt}var Gt,dn;function Ao(){if(dn)return Gt;dn=1;const{isObject:e,hasOwn:t}=pr();Gt=r;function r(){}r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},r.prototype.parse=function(i){return this._parser=i,this},r.prototype.responseType=function(i){return this._responseType=i,this},r.prototype.serialize=function(i){return this._serializer=i,this},r.prototype.timeout=function(i){if(!i||typeof i!="object")return this._timeout=i,this._responseTimeout=0,this._uploadTimeout=0,this;for(const o in i)if(t(i,o))switch(o){case"deadline":this._timeout=i.deadline;break;case"response":this._responseTimeout=i.response;break;case"upload":this._uploadTimeout=i.upload;break;default:console.warn("Unknown timeout option",o)}return this},r.prototype.retry=function(i,o){return(arguments.length===0||i===!0)&&(i=1),i<=0&&(i=0),this._maxRetries=i,this._retries=0,this._retryCallback=o,this};const n=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),a=new Set([408,413,429,500,502,503,504,521,522,524]);return r.prototype._shouldRetry=function(i,o){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{const c=this._retryCallback(i,o);if(c===!0)return!0;if(c===!1)return!1}catch(c){console.error(c)}return!!(o&&o.status&&a.has(o.status)||i&&(i.code&&n.has(i.code)||i.timeout&&i.code==="ECONNABORTED"||i.crossDomain))},r.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()},r.prototype.then=function(i,o){if(!this._fullfilledPromise){const c=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((m,O)=>{c.on("abort",()=>{if(this._maxRetries&&this._maxRetries>this._retries)return;if(this.timedout&&this.timedoutError){O(this.timedoutError);return}const T=new Error("Aborted");T.code="ABORTED",T.status=this.status,T.method=this.method,T.url=this.url,O(T)}),c.end((T,w)=>{T?O(T):m(w)})})}return this._fullfilledPromise.then(i,o)},r.prototype.catch=function(i){return this.then(void 0,i)},r.prototype.use=function(i){return i(this),this},r.prototype.ok=function(i){if(typeof i!="function")throw new Error("Callback required");return this._okCallback=i,this},r.prototype._isResponseOK=function(i){return i?this._okCallback?this._okCallback(i):i.status>=200&&i.status<300:!1},r.prototype.get=function(i){return this._header[i.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(i,o){if(e(i)){for(const c in i)t(i,c)&&this.set(c,i[c]);return this}return this._header[i.toLowerCase()]=o,this.header[i]=o,this},r.prototype.unset=function(i){return delete this._header[i.toLowerCase()],delete this.header[i],this},r.prototype.field=function(i,o,c){if(i==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(e(i)){for(const m in i)t(i,m)&&this.field(m,i[m]);return this}if(Array.isArray(o)){for(const m in o)t(o,m)&&this.field(i,o[m]);return this}if(o==null)throw new Error(".field(name, val) val can not be empty");return typeof o=="boolean"&&(o=String(o)),c?this._getFormData().append(i,o,c):this._getFormData().append(i,o),this},r.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)},r.prototype._auth=function(i,o,c,m){switch(c.type){case"basic":this.set("Authorization",`Basic ${m(`${i}:${o}`)}`);break;case"auto":this.username=i,this.password=o;break;case"bearer":this.set("Authorization",`Bearer ${i}`);break}return this},r.prototype.withCredentials=function(i){return i===void 0&&(i=!0),this._withCredentials=i,this},r.prototype.redirects=function(i){return this._maxRedirects=i,this},r.prototype.maxResponseSize=function(i){if(typeof i!="number")throw new TypeError("Invalid argument");return this._maxResponseSize=i,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(i){const o=e(i);let c=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(o&&!this._data)Array.isArray(i)?this._data=[]:this._isHost(i)||(this._data={});else if(i&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(o&&e(this._data))for(const m in i){if(typeof i[m]=="bigint"&&!i[m].toJSON)throw new Error("Cannot serialize BigInt value to json");t(i,m)&&(this._data[m]=i[m])}else{if(typeof i=="bigint")throw new Error("Cannot send value of type BigInt");typeof i=="string"?(c||this.type("form"),c=this._header["content-type"],c&&(c=c.toLowerCase().trim()),c==="application/x-www-form-urlencoded"?this._data=this._data?`${this._data}&${i}`:i:this._data=(this._data||"")+i):this._data=i}return!o||this._isHost(i)?this:(c||this.type("json"),this)},r.prototype.sortQuery=function(i){return this._sort=typeof i>"u"?!0:i,this},r.prototype._finalizeQueryString=function(){const i=this._query.join("&");if(i&&(this.url+=(this.url.includes("?")?"&":"?")+i),this._query.length=0,this._sort){const o=this.url.indexOf("?");if(o>=0){const c=this.url.slice(o+1).split("&");typeof this._sort=="function"?c.sort(this._sort):c.sort(),this.url=this.url.slice(0,o)+"?"+c.join("&")}}},r.prototype._appendQueryString=()=>{console.warn("Unsupported")},r.prototype._timeoutError=function(i,o,c){if(this._aborted)return;const m=new Error(`${i+o}ms exceeded`);m.timeout=o,m.code="ECONNABORTED",m.errno=c,this.timedout=!0,this.timedoutError=m,this.abort(),this.callback(m)},r.prototype._setTimeouts=function(){const i=this;this._timeout&&!this._timer&&(this._timer=setTimeout(()=>{i._timeoutError("Timeout of ",i._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(()=>{i._timeoutError("Response timeout of ",i._responseTimeout,"ETIMEDOUT")},this._responseTimeout))},Gt}var Wt,gn;function To(){if(gn)return Wt;gn=1;const e=pr();Wt=t;function t(){}return t.prototype.get=function(r){return this.header[r.toLowerCase()]},t.prototype._setHeaderProperties=function(r){const n=r["content-type"]||"";this.type=e.type(n);const a=e.params(n);for(const i in a)Object.prototype.hasOwnProperty.call(a,i)&&(this[i]=a[i]);this.links={};try{r.link&&(this.links=e.parseLinks(r.link))}catch{}},t.prototype._setStatusProperties=function(r){const n=Math.trunc(r/100);this.statusCode=r,this.status=this.statusCode,this.statusType=n,this.info=n===1,this.ok=n===2,this.redirect=n===3,this.clientError=n===4,this.serverError=n===5,this.error=n===4||n===5?this.toError():!1,this.created=r===201,this.accepted=r===202,this.noContent=r===204,this.badRequest=r===400,this.unauthorized=r===401,this.notAcceptable=r===406,this.forbidden=r===403,this.notFound=r===404,this.unprocessableEntity=r===422},Wt}var Kt,vn;function Po(){if(vn)return Kt;vn=1;const e=["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"];class t{constructor(){this._defaults=[]}_setDefaults(n){for(const a of this._defaults)n[a.fn](...a.args)}}for(const r of e)t.prototype[r]=function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return this._defaults.push({fn:r,args:a}),this};return Kt=t,Kt}var mn;function xo(){return mn||(mn=1,(function(e,t){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 n=Yi(),a=eo(),i=Oo(),o=Ao(),{isObject:c,mixin:m,hasOwn:O}=pr(),T=To(),w=Po();function b(){}e.exports=function(h,s){return typeof s=="function"?new t.Request("GET",h).end(s):arguments.length===1?new t.Request("GET",h):new t.Request(h,s)},t=e.exports;const l=t;t.Request=f,l.getXHR=()=>{if(r.XMLHttpRequest)return new r.XMLHttpRequest;throw new Error("Browser-only version of superagent could not find XHR")};const P="".trim?h=>h.trim():h=>h.replace(/(^\s*|\s*$)/g,"");function g(h){if(!c(h))return h;const s=[];for(const v in h)O(h,v)&&u(s,v,h[v]);return s.join("&")}function u(h,s,v){if(v!==void 0){if(v===null){h.push(encodeURI(s));return}if(Array.isArray(v))for(const A of v)u(h,s,A);else if(c(v))for(const A in v)O(v,A)&&u(h,`${s}[${A}]`,v[A]);else h.push(encodeURI(s)+"="+encodeURIComponent(v))}}l.serializeObject=g;function y(h){const s={},v=h.split("&");let A,I;for(let R=0,N=v.length;R<N;++R)A=v[R],I=A.indexOf("="),I===-1?s[decodeURIComponent(A)]="":s[decodeURIComponent(A.slice(0,I))]=decodeURIComponent(A.slice(I+1));return s}l.parseString=y,l.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"},l.serialize={"application/x-www-form-urlencoded":i.stringify,"application/json":a},l.parse={"application/x-www-form-urlencoded":y,"application/json":JSON.parse};function p(h){const s=h.split(/\r?\n/),v={};let A,I,R,N;for(let z=0,$=s.length;z<$;++z)I=s[z],A=I.indexOf(":"),A!==-1&&(R=I.slice(0,A).toLowerCase(),N=P(I.slice(A+1)),v[R]=N);return v}function E(h){return/[/+]json($|[^-\w])/i.test(h)}function S(h){this.req=h,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:s}=this.xhr;s===1223&&(s=204),this._setStatusProperties(s),this.headers=p(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),this.text===null&&h._responseType?this.body=this.xhr.response:this.body=this.req.method==="HEAD"?null:this._parseBody(this.text?this.text:this.xhr.response)}m(S.prototype,T.prototype),S.prototype._parseBody=function(h){let s=l.parse[this.type];return this.req._parser?this.req._parser(this,h):(!s&&E(this.type)&&(s=l.parse["application/json"]),s&&h&&(h.length>0||h instanceof Object)?s(h):null)},S.prototype.toError=function(){const{req:h}=this,{method:s}=h,{url:v}=h,A=`cannot ${s} ${v} (${this.status})`,I=new Error(A);return I.status=this.status,I.method=s,I.url=v,I},l.Response=S;function f(h,s){const v=this;this._query=this._query||[],this.method=h,this.url=s,this.header={},this._header={},this.on("end",()=>{let A=null,I=null;try{I=new S(v)}catch(N){return A=new Error("Parser is unable to parse the response"),A.parse=!0,A.original=N,v.xhr?(A.rawResponse=typeof v.xhr.responseType>"u"?v.xhr.responseText:v.xhr.response,A.status=v.xhr.status?v.xhr.status:null,A.statusCode=A.status):(A.rawResponse=null,A.status=null),v.callback(A)}v.emit("response",I);let R;try{v._isResponseOK(I)||(R=new Error(I.statusText||I.text||"Unsuccessful HTTP response"))}catch(N){R=N}R?(R.original=A,R.response=I,R.status=R.status||I.status,v.callback(R,I)):v.callback(null,I)})}n(f.prototype),m(f.prototype,o.prototype),f.prototype.type=function(h){return this.set("Content-Type",l.types[h]||h),this},f.prototype.accept=function(h){return this.set("Accept",l.types[h]||h),this},f.prototype.auth=function(h,s,v){arguments.length===1&&(s=""),typeof s=="object"&&s!==null&&(v=s,s=""),v||(v={type:typeof btoa=="function"?"basic":"auto"});const A=v.encoder?v.encoder:I=>{if(typeof btoa=="function")return btoa(I);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(h,s,v,A)},f.prototype.query=function(h){return typeof h!="string"&&(h=g(h)),h&&this._query.push(h),this},f.prototype.attach=function(h,s,v){if(s){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(h,s,v||s.name)}return this},f.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},f.prototype.callback=function(h,s){if(this._shouldRetry(h,s))return this._retry();const v=this._callback;this.clearTimeout(),h&&(this._maxRetries&&(h.retries=this._retries-1),this.emit("error",h)),v(h,s)},f.prototype.crossDomainError=function(){const h=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.`);h.crossDomain=!0,h.status=this.status,h.method=this.method,h.url=this.url,this.callback(h)},f.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},f.prototype.ca=f.prototype.agent,f.prototype.buffer=f.prototype.ca,f.prototype.write=()=>{throw new Error("Streaming is not supported in browser version of superagent")},f.prototype.pipe=f.prototype.write,f.prototype._isHost=function(h){return h&&typeof h=="object"&&!Array.isArray(h)&&Object.prototype.toString.call(h)!=="[object Object]"},f.prototype.end=function(h){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=h||b,this._finalizeQueryString(),this._end()},f.prototype._setUploadTimeout=function(){const h=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout(()=>{h._timeoutError("Upload timeout of ",h._uploadTimeout,"ETIMEDOUT")},this._uploadTimeout))},f.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));const h=this;this.xhr=l.getXHR();const{xhr:s}=this;let v=this._formData||this._data;this._setTimeouts(),s.addEventListener("readystatechange",()=>{const{readyState:I}=s;if(I>=2&&h._responseTimeoutTimer&&clearTimeout(h._responseTimeoutTimer),I!==4)return;let R;try{R=s.status}catch{R=0}if(!R)return h.timedout||h._aborted?void 0:h.crossDomainError();h.emit("end")});const A=(I,R)=>{R.total>0&&(R.percent=R.loaded/R.total*100,R.percent===100&&clearTimeout(h._uploadTimeoutTimer)),R.direction=I,h.emit("progress",R)};if(this.hasListeners("progress"))try{s.addEventListener("progress",A.bind(null,"download")),s.upload&&s.upload.addEventListener("progress",A.bind(null,"upload"))}catch{}s.upload&&this._setUploadTimeout();try{this.username&&this.password?s.open(this.method,this.url,!0,this.username,this.password):s.open(this.method,this.url,!0)}catch(I){return this.callback(I)}if(this._withCredentials&&(s.withCredentials=!0),!this._formData&&this.method!=="GET"&&this.method!=="HEAD"&&typeof v!="string"&&!this._isHost(v)){const I=this._header["content-type"];let R=this._serializer||l.serialize[I?I.split(";")[0]:""];!R&&E(I)&&(R=l.serialize["application/json"]),R&&(v=R(v))}for(const I in this.header)this.header[I]!==null&&O(this.header,I)&&s.setRequestHeader(I,this.header[I]);this._responseType&&(s.responseType=this._responseType),this.emit("request",this),s.send(typeof v>"u"?null:v)},l.agent=()=>new w;for(const h of["GET","POST","OPTIONS","PATCH","PUT","DELETE"])w.prototype[h.toLowerCase()]=function(s,v){const A=new l.Request(h,s);return this._setDefaults(A),v&&A.end(v),A};w.prototype.del=w.prototype.delete,l.get=(h,s,v)=>{const A=l("GET",h);return typeof s=="function"&&(v=s,s=null),s&&A.query(s),v&&A.end(v),A},l.head=(h,s,v)=>{const A=l("HEAD",h);return typeof s=="function"&&(v=s,s=null),s&&A.query(s),v&&A.end(v),A},l.options=(h,s,v)=>{const A=l("OPTIONS",h);return typeof s=="function"&&(v=s,s=null),s&&A.send(s),v&&A.end(v),A};function x(h,s,v){const A=l("DELETE",h);return typeof s=="function"&&(v=s,s=null),s&&A.send(s),v&&A.end(v),A}l.del=x,l.delete=x,l.patch=(h,s,v)=>{const A=l("PATCH",h);return typeof s=="function"&&(v=s,s=null),s&&A.send(s),v&&A.end(v),A},l.post=(h,s,v)=>{const A=l("POST",h);return typeof s=="function"&&(v=s,s=null),s&&A.send(s),v&&A.end(v),A},l.put=(h,s,v)=>{const A=l("PUT",h);return typeof s=="function"&&(v=s,s=null),s&&A.send(s),v&&A.end(v),A}})(ze,ze.exports)),ze.exports}var Ro=xo();const Io=ur(Ro),W=Io.agent().set("X-WP-Nonce",window?.aioseoBrokenLinkChecker?.nonce).use(e=>{e.on("response",t=>{(t.status===401||t.status===403)&&console.error(t)})});function Co(e,t){var r=0,n,a;t=t||{};function i(){var o=n,c=arguments.length,m,O;e:for(;o;){if(o.args.length!==arguments.length){o=o.next;continue}for(O=0;O<c;O++)if(o.args[O]!==arguments[O]){o=o.next;continue e}return o!==n&&(o===a&&(a=o.prev),o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n,o.prev=null,n.prev=o,n=o),o.val}for(m=new Array(c),O=0;O<c;O++)m[O]=arguments[O];return o={args:m,val:e.apply(null,m)},n?(n.prev=o,o.next=n):a=o,r===t.maxSize?(a=a.prev,a.next=null):r++,n=o,o.val}return i.clear=function(){n=null,a=null,r=0},i}var Jt={},bn;function Do(){return bn||(bn=1,(function(e){(function(){var t={not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function r(c){return a(o(c),arguments)}function n(c,m){return r.apply(null,[c].concat(m||[]))}function a(c,m){var O=1,T=c.length,w,b="",l,P,g,u,y,p,E,S;for(l=0;l<T;l++)if(typeof c[l]=="string")b+=c[l];else if(typeof c[l]=="object"){if(g=c[l],g.keys)for(w=m[O],P=0;P<g.keys.length;P++){if(w==null)throw new Error(r('[sprintf] Cannot access property "%s" of undefined value "%s"',g.keys[P],g.keys[P-1]));w=w[g.keys[P]]}else g.param_no?w=m[g.param_no]:w=m[O++];if(t.not_type.test(g.type)&&t.not_primitive.test(g.type)&&w instanceof Function&&(w=w()),t.numeric_arg.test(g.type)&&typeof w!="number"&&isNaN(w))throw new TypeError(r("[sprintf] expecting number but found %T",w));switch(t.number.test(g.type)&&(E=w>=0),g.type){case"b":w=parseInt(w,10).toString(2);break;case"c":w=String.fromCharCode(parseInt(w,10));break;case"d":case"i":w=parseInt(w,10);break;case"j":w=JSON.stringify(w,null,g.width?parseInt(g.width):0);break;case"e":w=g.precision?parseFloat(w).toExponential(g.precision):parseFloat(w).toExponential();break;case"f":w=g.precision?parseFloat(w).toFixed(g.precision):parseFloat(w);break;case"g":w=g.precision?String(Number(w.toPrecision(g.precision))):parseFloat(w);break;case"o":w=(parseInt(w,10)>>>0).toString(8);break;case"s":w=String(w),w=g.precision?w.substring(0,g.precision):w;break;case"t":w=String(!!w),w=g.precision?w.substring(0,g.precision):w;break;case"T":w=Object.prototype.toString.call(w).slice(8,-1).toLowerCase(),w=g.precision?w.substring(0,g.precision):w;break;case"u":w=parseInt(w,10)>>>0;break;case"v":w=w.valueOf(),w=g.precision?w.substring(0,g.precision):w;break;case"x":w=(parseInt(w,10)>>>0).toString(16);break;case"X":w=(parseInt(w,10)>>>0).toString(16).toUpperCase();break}t.json.test(g.type)?b+=w:(t.number.test(g.type)&&(!E||g.sign)?(S=E?"+":"-",w=w.toString().replace(t.sign,"")):S="",y=g.pad_char?g.pad_char==="0"?"0":g.pad_char.charAt(1):" ",p=g.width-(S+w).length,u=g.width&&p>0?y.repeat(p):"",b+=g.align?S+w+u:y==="0"?S+u+w:u+S+w)}return b}var i=Object.create(null);function o(c){if(i[c])return i[c];for(var m=c,O,T=[],w=0;m;){if((O=t.text.exec(m))!==null)T.push(O[0]);else if((O=t.modulo.exec(m))!==null)T.push("%");else if((O=t.placeholder.exec(m))!==null){if(O[2]){w|=1;var b=[],l=O[2],P=[];if((P=t.key.exec(l))!==null)for(b.push(P[1]);(l=l.substring(P[0].length))!=="";)if((P=t.key_access.exec(l))!==null)b.push(P[1]);else if((P=t.index_access.exec(l))!==null)b.push(P[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");O[2]=b}else w|=2;if(w===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");T.push({placeholder:O[0],param_no:O[1],keys:O[2],sign:O[3],pad_char:O[4],align:O[5],width:O[6],precision:O[7],type:O[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");m=m.substring(O[0].length)}return i[c]=T}e.sprintf=r,e.vsprintf=n,typeof window<"u"&&(window.sprintf=r,window.vsprintf=n)})()})(Jt)),Jt}var Fo=Do();const ko=ur(Fo),$o=Co(console.error);function Se(e,...t){try{return ko.sprintf(e,...t)}catch(r){return r instanceof Error&&$o(`sprintf error:
|
||
|
||
`+r.toString()),e}}var Yt,Qn,De,Xn;Yt={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1};Qn=["(","?"];De={")":["("],":":["?","?:"]};Xn=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;function qo(e){for(var t=[],r=[],n,a,i,o;n=e.match(Xn);){for(a=n[0],i=e.substr(0,n.index).trim(),i&&t.push(i);o=r.pop();){if(De[a]){if(De[a][0]===o){a=De[a][1]||a;break}}else if(Qn.indexOf(o)>=0||Yt[o]<Yt[a]){r.push(o);break}t.push(o)}De[a]||r.push(a),e=e.substr(n.index+a.length)}return e=e.trim(),e&&t.push(e),t.concat(r.reverse())}var Lo={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,r){if(e)throw t;return r}};function No(e,t){var r=[],n,a,i,o,c,m;for(n=0;n<e.length;n++){if(c=e[n],o=Lo[c],o){for(a=o.length,i=Array(a);a--;)i[a]=r.pop();try{m=o.apply(null,i)}catch(O){return O}}else t.hasOwnProperty(c)?m=t[c]:m=+c;r.push(m)}return r[0]}function jo(e){var t=qo(e);return function(r){return No(t,r)}}function Uo(e){var t=jo(e);return function(r){return+t({n:r})}}var _n={contextDelimiter:"",onMissingKey:null};function Bo(e){var t,r,n;for(t=e.split(";"),r=0;r<t.length;r++)if(n=t[r].trim(),n.indexOf("plural=")===0)return n.substr(7)}function hr(e,t){var r;this.data=e,this.pluralForms={},this.options={};for(r in _n)this.options[r]=t!==void 0&&r in t?t[r]:_n[r]}hr.prototype.getPluralForm=function(e,t){var r=this.pluralForms[e],n,a,i;return r||(n=this.data[e][""],i=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,typeof i!="function"&&(a=Bo(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=Uo(a)),r=this.pluralForms[e]=i),r(t)};hr.prototype.dcnpgettext=function(e,t,r,n,a){var i,o,c;return a===void 0?i=0:i=this.getPluralForm(e,a),o=r,t&&(o=t+this.options.contextDelimiter+r),c=this.data[e][o],c&&c[i]?c[i]:(this.options.onMissingKey&&this.options.onMissingKey(r,e),i===0?r:n)};const wn={"":{plural_forms(e){return e===1?0:1}}},Mo=/^i18n\.(n?gettext|has_translation)(_|$)/,Ho=(e,t,r)=>{const n=new hr({}),a=new Set,i=()=>{a.forEach(S=>S())},o=S=>(a.add(S),()=>a.delete(S)),c=(S="default")=>n.data[S],m=(S,f="default")=>{n.data[f]={...n.data[f],...S},n.data[f][""]={...wn[""],...n.data[f]?.[""]},delete n.pluralForms[f]},O=(S,f)=>{m(S,f),i()},T=(S,f="default")=>{n.data[f]={...n.data[f],...S,"":{...wn[""],...n.data[f]?.[""],...S?.[""]}},delete n.pluralForms[f],i()},w=(S,f)=>{n.data={},n.pluralForms={},O(S,f)},b=(S="default",f,x,h,s)=>(n.data[S]||m(void 0,S),n.dcnpgettext(S,f,x,h,s)),l=(S="default")=>S,P=(S,f)=>{let x=b(f,void 0,S);return r?(x=r.applyFilters("i18n.gettext",x,S,f),r.applyFilters("i18n.gettext_"+l(f),x,S,f)):x},g=(S,f,x)=>{let h=b(x,f,S);return r?(h=r.applyFilters("i18n.gettext_with_context",h,S,f,x),r.applyFilters("i18n.gettext_with_context_"+l(x),h,S,f,x)):h},u=(S,f,x,h)=>{let s=b(h,void 0,S,f,x);return r?(s=r.applyFilters("i18n.ngettext",s,S,f,x,h),r.applyFilters("i18n.ngettext_"+l(h),s,S,f,x,h)):s},y=(S,f,x,h,s)=>{let v=b(s,h,S,f,x);return r?(v=r.applyFilters("i18n.ngettext_with_context",v,S,f,x,h,s),r.applyFilters("i18n.ngettext_with_context_"+l(s),v,S,f,x,h,s)):v},p=()=>g("ltr","text direction")==="rtl",E=(S,f,x)=>{const h=f?f+""+S:S;let s=!!n.data?.[x??"default"]?.[h];return r&&(s=r.applyFilters("i18n.has_translation",s,S,f,x),s=r.applyFilters("i18n.has_translation_"+l(x),s,S,f,x)),s};if(r){const S=f=>{Mo.test(f)&&i()};r.addAction("hookAdded","core/i18n",S),r.addAction("hookRemoved","core/i18n",S)}return{getLocaleData:c,setLocaleData:O,addLocaleData:T,resetLocaleData:w,subscribe:o,__:P,_x:g,_n:u,_nx:y,isRTL:p,hasTranslation:E}};function Zn(e){return typeof e!="string"||e===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}function yr(e){return typeof e!="string"||e===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}function Sn(e,t){return function(n,a,i,o=10){const c=e[t];if(!yr(n)||!Zn(a))return;if(typeof i!="function"){console.error("The hook callback must be a function.");return}if(typeof o!="number"){console.error("If specified, the hook priority must be a number.");return}const m={callback:i,priority:o,namespace:a};if(c[n]){const O=c[n].handlers;let T;for(T=O.length;T>0&&!(o>=O[T-1].priority);T--);T===O.length?O[T]=m:O.splice(T,0,m),c.__current.forEach(w=>{w.name===n&&w.currentIndex>=T&&w.currentIndex++})}else c[n]={handlers:[m],runs:0};n!=="hookAdded"&&e.doAction("hookAdded",n,a,i,o)}}function Ge(e,t,r=!1){return function(a,i){const o=e[t];if(!yr(a)||!r&&!Zn(i))return;if(!o[a])return 0;let c=0;if(r)c=o[a].handlers.length,o[a]={runs:o[a].runs,handlers:[]};else{const m=o[a].handlers;for(let O=m.length-1;O>=0;O--)m[O].namespace===i&&(m.splice(O,1),c++,o.__current.forEach(T=>{T.name===a&&T.currentIndex>=O&&T.currentIndex--}))}return a!=="hookRemoved"&&e.doAction("hookRemoved",a,i),c}}function En(e,t){return function(n,a){const i=e[t];return typeof a<"u"?n in i&&i[n].handlers.some(o=>o.namespace===a):n in i}}function On(e,t,r=!1){return function(a,...i){const o=e[t];o[a]||(o[a]={handlers:[],runs:0}),o[a].runs++;const c=o[a].handlers;if(!c||!c.length)return r?i[0]:void 0;const m={name:a,currentIndex:0};for(o.__current.push(m);m.currentIndex<c.length;){const T=c[m.currentIndex].callback.apply(null,i);r&&(i[0]=T),m.currentIndex++}if(o.__current.pop(),r)return i[0]}}function An(e,t){return function(){var n;const a=e[t];return(n=a.__current[a.__current.length-1]?.name)!==null&&n!==void 0?n:null}}function Tn(e,t){return function(n){const a=e[t];return typeof n>"u"?typeof a.__current[0]<"u":a.__current[0]?n===a.__current[0].name:!1}}function Pn(e,t){return function(n){const a=e[t];if(yr(n))return a[n]&&a[n].runs?a[n].runs:0}}class zo{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Sn(this,"actions"),this.addFilter=Sn(this,"filters"),this.removeAction=Ge(this,"actions"),this.removeFilter=Ge(this,"filters"),this.hasAction=En(this,"actions"),this.hasFilter=En(this,"filters"),this.removeAllActions=Ge(this,"actions",!0),this.removeAllFilters=Ge(this,"filters",!0),this.doAction=On(this,"actions"),this.applyFilters=On(this,"filters",!0),this.currentAction=An(this,"actions"),this.currentFilter=An(this,"filters"),this.doingAction=Tn(this,"actions"),this.doingFilter=Tn(this,"filters"),this.didAction=Pn(this,"actions"),this.didFilter=Pn(this,"filters")}}function Go(){return new zo}const Yn=Go(),{addAction:Du,addFilter:Fu,removeAction:ku,removeFilter:$u,hasAction:qu,hasFilter:Lu,removeAllActions:Nu,removeAllFilters:ju,doAction:Uu,applyFilters:Bu,currentAction:Mu,currentFilter:Hu,doingAction:zu,doingFilter:Gu,didAction:Wu,didFilter:Ku,actions:Ju,filters:Vu}=Yn,G=Ho(void 0,void 0,Yn);G.getLocaleData.bind(G);const xn=G.setLocaleData.bind(G);G.resetLocaleData.bind(G);G.subscribe.bind(G);const Qu=G.__.bind(G);G._x.bind(G);const Xu=G._n.bind(G);G._nx.bind(G);G.isRTL.bind(G);G.hasTranslation.bind(G);window.aioseoTranslations?(xn(window.aioseoTranslations.translations,"broken-link-checker-seo"),window.aioseoTranslationsPro&&window.aioseoTranslationsPro.translationsPro&&xn(window.aioseoTranslationsPro.translationsPro,"aioseo-blc-pro")):window.aioseo&&console.warn("AIOSEO translations couldn't be loaded.");const Ee=window.aioseoBrokenLinkChecker.urls.marketingSite,Je={home:`${Ee}docs/`},Wo={home:Ee,pricing:`${Ee}pricing-broken-link-checker/`},er=(e,t=null,r)=>Oe(e,t,Wo[r]),Ko=e=>Oe("documentation",e,Je[e]),Jo=(e,t,r,n,a=!1)=>{const i=a?Se('<a href="%1$s" class="no-underline" target="_blank"> →</a>',er(e,t,n)):"";return Se('<a href="%1$s" target="_blank">%2$s</a>%3$s',er(e,t,n),r,i)},Vo=(e,t,r=!1)=>{const n=r?Se('<a href="%1$s" class="no-underline" target="_blank"> →</a>',t):"";return Se('<a href="%1$s" target="_blank">%2$s</a>%3$s',t,e,n)},Qo=(e,t,r=!1)=>{const n=r?Se('<a href="%1$s" class="no-underline" target="_blank"> →</a>',Oe("documentation",t,Je[t])):"";return Se('<a href="%1$s" target="_blank">%2$s</a>%3$s',Oe("documentation",t,Je[t]),e,n)},Xo=(e,t,r,n=`${Ee}pricing-broken-link-checker/`)=>Oe(t,r,n)+"&features[]="+e,Oe=(e,t=null,r=`${Ee}pricing-broken-link-checker/`)=>{const n=r.split("#"),a=[{key:"utm_source",value:"WordPress"},{key:"utm_campaign",value:"plugin"},{key:"utm_medium",value:e}];t&&a.push({key:"utm_content",value:t}),/^https?:\/\//i.test(n[0])||(n[0]=Ee+n[0]);const o=n[0].split("?");return n[0]=o[0]+(o[1]?"?"+o[1]+"&":"?"),n[0]+=a.map(c=>`${c.key}=${c.value}`).join("&"),r=n[0],n[1]&&(r=r+"#"+n[1]),r},ei=e=>e&&e.replace(/^\//,""),dr=e=>e&&e.replace(/\/$/,""),We=e=>dr(e)+"/",Zo=(e,t="aioseoBrokenLinkChecker/v1")=>(e=window.aioseoBrokenLinkChecker.hasUrlTrailingSlash?We(e):dr(e),We(window.aioseoBrokenLinkChecker.urls.restUrl)+We(t)+ei(e)),K={docLinks:Je,getDocLink:Qo,getDocUrl:Ko,getPlainLink:Vo,getPricingUrl:Xo,getUpsellLink:Jo,getUpsellUrl:er,restUrl:Zo,trailingSlashIt:We,unForwardSlashIt:ei,unTrailingSlashIt:dr,utmUrl:Oe},ti=ve("LinkStatusTableStore",{state:()=>({linkStatuses:{rows:[],totals:{page:1,pages:1,total:1},filters:[{slug:"all",name:"",count:0,active:!1},{slug:"broken",name:"",count:0,active:!1},{slug:"redirects",name:"",count:0,active:!1},{slug:"good",name:"",count:0,active:!1},{slug:"dismissed",name:"",count:0,active:!1}]}}),actions:{fetchData({limit:e,offset:t,searchTerm:r,filter:n,orderBy:a,orderDir:i}){return W.post(K.restUrl("link-status-table/")).send({limit:e,offset:t,searchTerm:r,filter:n,orderBy:a,orderDir:i}).then(o=>{this.linkStatuses=o.body.linkStatuses})},deletePost({postId:e,limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o}){return W.post(K.restUrl("link-status-table/deletePost")).send({postId:e}).then(()=>{this.fetchData({limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o})})},dismiss({linkStatusId:e,limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o}){return W.post(K.restUrl("link-status-table/dismiss")).send({linkStatusId:e}).then(()=>{this.fetchData({limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o})})},undismiss({linkStatusId:e,limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o}){return W.post(K.restUrl("link-status-table/undismiss")).send({linkStatusId:e}).then(()=>{this.fetchData({limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o})})},unlink({linkStatusId:e,limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o}){return W.post(K.restUrl("link-status-table/unlink")).send({linkStatusId:e}).then(()=>{this.fetchData({limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o})})},recheck({linkStatusId:e,limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o}){return W.post(K.restUrl("link-status-table/recheck")).send({linkStatusId:e}).then(()=>{this.fetchData({limit:t,offset:r,searchTerm:n,filter:a,orderBy:i,orderDir:o}),tr().refreshOptions()})},runBulkAction({action:e,rows:t,limit:r,offset:n,searchTerm:a,filter:i,orderBy:o,orderDir:c}){return W.post(K.restUrl("link-status-table/bulk")).send({action:e,rows:t}).then(()=>{this.fetchData({limit:r,offset:n,searchTerm:a,filter:i,orderBy:o,orderDir:c}),tr().refreshOptions()})}}}),Yo=e=>{const t=document.querySelector(".aioseo-menu-notification-counter");t&&(e.active.length?t.innerText=e.active.length:t.remove())},ri=ve("NotificationStore",{state:()=>({active:[],new:[],dismissed:[],force:!1,showNotifications:!1}),getters:{activeNotifications:e=>e.active,activeNotificationsCount:e=>e.active.length,dismissedNotifications:e=>e.dismissed,dismissedNotificationsCount:e=>e.dismissed.length},actions:{dismissNotifications(e){return e.reverse().forEach(r=>{const n=this.active.findIndex(a=>a.slug===r);n!==-1&&this.active.splice(n,1)}),W.post(K.restUrl("notifications/dismiss")).send(e).then(r=>{if(!r.body.success)throw new Error(r.body.message);this.updateNotifications(r.body.notifications)})},updateNotifications(e){e.new.length&&window.aioseoBrokenLinkCheckerNotifications&&(window.aioseoBrokenLinkCheckerNotifications.newNotifications=e.new.length),this.active=e.active,this.new=e.new,this.dismissed=e.dismissed,Yo(e)},toggleNotifications(){this.showNotifications=!this.showNotifications}}}),tr=ve("OptionsStore",{state:()=>({internalOptions:{},options:{}}),actions:{getObjects(e){return W.post(K.restUrl("objects")).send(e).then(t=>{if(!t.body.success)throw new Error(t.body.message);return t})},saveChanges(){return W.post(K.restUrl("options")).send({options:this.options}).then(e=>{ri().updateNotifications(e.body.notifications);const r=ti(),n=rr();return r.fetchData({limit:n.settings.tablePagination.brokenLinks,offset:0,searchTerm:"",filter:"all"}),e})},refreshOptions(){return W.get(K.restUrl("options")).send().then(e=>{if(!e.body.success)throw new Error(e.body.message);const t=rr();this.options=e.body.options,this.internalOptions=e.body.internalOptions,t.settings=e.body.settings})},updateOption(e,{groups:t,key:r,value:n}){let a=this[e];t.forEach(i=>{a=a[i]}),a[r]=n}}}),ea=ve("PluginsStore",{state:()=>({plugins:{}}),actions:{installPlugins(e){return W.post(K.restUrl("plugins/install")).send({network:!1,plugins:e}).then(t=>{if(!t.body.success)throw new Error(t.body.message);return t})}}}),ta=ve("RootStore",{state:()=>({pong:!0,loading:!1,aioseoBrokenLinkChecker:{},modals:{active:null,all:[]}}),actions:{ping(){W.get(K.restUrl("ping")).catch(()=>{this.pong=!1})},setActiveModal(e){this.modals.active=e,this.modals.all.includes(e)||this.modals.all.push(e)},unsetActiveModal(e){this.modals.all.includes(e)&&(this.modals.all=this.modals.all.filter(t=>t!==e),this.modals.active=this.modals.all[this.modals.all.length-1]||null)}}}),ra=ve("ScansStore",{state:()=>({scans:{percentages:{links:0,linkStatuses:0},show:{links:!1,linkStatuses:!1}}}),actions:{pollScan(e){return W.post(K.restUrl("broken-links/scan")).send({scan:e}).then(t=>{t.body&&"percent"in t.body&&(this.scans.percentages[e]=t.body.percent,t.body.percent!==100&&setTimeout(()=>{this.pollScan(e)},1e4))})}}}),rr=ve("SettingsStore",{state:()=>({settings:{}}),actions:{toggleCard({slug:e,shouldSave:t}){this.settings.toggledCards[e]=!this.settings.toggledCards[e],t&&W.post(K.restUrl("settings/toggle-card")).send({card:e}).then(()=>{})},toggleRadio({slug:e,value:t}){this.settings.toggledRadio[e]=t,W.post(K.restUrl("settings/toggle-radio")).send({radio:e,value:t}).then(()=>{})},changeItemsPerPage({slug:e,value:t}){return this.settings.tablePagination[e]=t,W.post(K.restUrl("settings/items-per-page")).send({table:e,value:t}).then(()=>{})}}});var ni=typeof global=="object"&&global&&global.Object===Object&&global,na=typeof self=="object"&&self&&self.Object===Object&&self,Te=ni||na||Function("return this")(),Ve=Te.Symbol,ii=Object.prototype,ia=ii.hasOwnProperty,oa=ii.toString,Ce=Ve?Ve.toStringTag:void 0;function aa(e){var t=ia.call(e,Ce),r=e[Ce];try{e[Ce]=void 0;var n=!0}catch{}var a=oa.call(e);return n&&(t?e[Ce]=r:delete e[Ce]),a}var sa=Object.prototype,ua=sa.toString;function la(e){return ua.call(e)}var ca="[object Null]",fa="[object Undefined]",Rn=Ve?Ve.toStringTag:void 0;function Ze(e){return e==null?e===void 0?fa:ca:Rn&&Rn in Object(e)?aa(e):la(e)}function Ne(e){return e!=null&&typeof e=="object"}var nr=Array.isArray;function me(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function oi(e){return e}var pa="[object AsyncFunction]",ha="[object Function]",ya="[object GeneratorFunction]",da="[object Proxy]";function gr(e){if(!me(e))return!1;var t=Ze(e);return t==ha||t==ya||t==pa||t==da}var Vt=Te["__core-js_shared__"],In=(function(){var e=/[^.]+$/.exec(Vt&&Vt.keys&&Vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function ga(e){return!!In&&In in e}var va=Function.prototype,ma=va.toString;function ba(e){if(e!=null){try{return ma.call(e)}catch{}try{return e+""}catch{}}return""}var _a=/[\\^$.*+?()[\]{}|]/g,wa=/^\[object .+?Constructor\]$/,Sa=Function.prototype,Ea=Object.prototype,Oa=Sa.toString,Aa=Ea.hasOwnProperty,Ta=RegExp("^"+Oa.call(Aa).replace(_a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Pa(e){if(!me(e)||ga(e))return!1;var t=gr(e)?Ta:wa;return t.test(ba(e))}function xa(e,t){return e?.[t]}function vr(e,t){var r=xa(e,t);return Pa(r)?r:void 0}var Cn=Object.create,Ra=(function(){function e(){}return function(t){if(!me(t))return{};if(Cn)return Cn(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function Ia(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Ca(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Da=800,Fa=16,ka=Date.now;function $a(e){var t=0,r=0;return function(){var n=ka(),a=Fa-(n-r);if(r=n,a>0){if(++t>=Da)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function qa(e){return function(){return e}}var Qe=(function(){try{var e=vr(Object,"defineProperty");return e({},"",{}),e}catch{}})(),La=Qe?function(e,t){return Qe(e,"toString",{configurable:!0,enumerable:!1,value:qa(t),writable:!0})}:oi,Na=$a(La),ja=9007199254740991,Ua=/^(?:0|[1-9]\d*)$/;function ai(e,t){var r=typeof e;return t=t??ja,!!t&&(r=="number"||r!="symbol"&&Ua.test(e))&&e>-1&&e%1==0&&e<t}function mr(e,t,r){t=="__proto__"&&Qe?Qe(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Ye(e,t){return e===t||e!==e&&t!==t}var Ba=Object.prototype,Ma=Ba.hasOwnProperty;function Ha(e,t,r){var n=e[t];(!(Ma.call(e,t)&&Ye(n,r))||r===void 0&&!(t in e))&&mr(e,t,r)}function za(e,t,r,n){var a=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var c=t[i],m=void 0;m===void 0&&(m=e[c]),a?mr(r,c,m):Ha(r,c,m)}return r}var Dn=Math.max;function Ga(e,t,r){return t=Dn(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=Dn(n.length-t,0),o=Array(i);++a<i;)o[a]=n[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=n[a];return c[t]=r(o),Ia(e,this,c)}}function Wa(e,t){return Na(Ga(e,t,oi),e+"")}var Ka=9007199254740991;function si(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ka}function br(e){return e!=null&&si(e.length)&&!gr(e)}function Ja(e,t,r){if(!me(r))return!1;var n=typeof t;return(n=="number"?br(r)&&ai(t,r.length):n=="string"&&t in r)?Ye(r[t],e):!1}function ui(e){return Wa(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,o=a>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,o&&Ja(r[0],r[1],o)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var c=r[n];c&&e(t,c,n,i)}return t})}var Va=Object.prototype;function li(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Va;return e===r}function Qa(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Xa="[object Arguments]";function Fn(e){return Ne(e)&&Ze(e)==Xa}var ci=Object.prototype,Za=ci.hasOwnProperty,Ya=ci.propertyIsEnumerable,ir=Fn((function(){return arguments})())?Fn:function(e){return Ne(e)&&Za.call(e,"callee")&&!Ya.call(e,"callee")};function es(){return!1}var fi=typeof exports=="object"&&exports&&!exports.nodeType&&exports,kn=fi&&typeof module=="object"&&module&&!module.nodeType&&module,ts=kn&&kn.exports===fi,$n=ts?Te.Buffer:void 0,rs=$n?$n.isBuffer:void 0,pi=rs||es,ns="[object Arguments]",is="[object Array]",os="[object Boolean]",as="[object Date]",ss="[object Error]",us="[object Function]",ls="[object Map]",cs="[object Number]",fs="[object Object]",ps="[object RegExp]",hs="[object Set]",ys="[object String]",ds="[object WeakMap]",gs="[object ArrayBuffer]",vs="[object DataView]",ms="[object Float32Array]",bs="[object Float64Array]",_s="[object Int8Array]",ws="[object Int16Array]",Ss="[object Int32Array]",Es="[object Uint8Array]",Os="[object Uint8ClampedArray]",As="[object Uint16Array]",Ts="[object Uint32Array]",U={};U[ms]=U[bs]=U[_s]=U[ws]=U[Ss]=U[Es]=U[Os]=U[As]=U[Ts]=!0;U[ns]=U[is]=U[gs]=U[os]=U[vs]=U[as]=U[ss]=U[us]=U[ls]=U[cs]=U[fs]=U[ps]=U[hs]=U[ys]=U[ds]=!1;function Ps(e){return Ne(e)&&si(e.length)&&!!U[Ze(e)]}function xs(e){return function(t){return e(t)}}var hi=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ke=hi&&typeof module=="object"&&module&&!module.nodeType&&module,Rs=ke&&ke.exports===hi,Qt=Rs&&ni.process,qn=(function(){try{var e=ke&&ke.require&&ke.require("util").types;return e||Qt&&Qt.binding&&Qt.binding("util")}catch{}})(),Ln=qn&&qn.isTypedArray,yi=Ln?xs(Ln):Ps;function Is(e,t){var r=nr(e),n=!r&&ir(e),a=!r&&!n&&pi(e),i=!r&&!n&&!a&&yi(e),o=r||n||a||i,c=o?Qa(e.length,String):[],m=c.length;for(var O in e)o&&(O=="length"||a&&(O=="offset"||O=="parent")||i&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||ai(O,m))||c.push(O);return c}function Cs(e,t){return function(r){return e(t(r))}}function Ds(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Fs=Object.prototype,ks=Fs.hasOwnProperty;function $s(e){if(!me(e))return Ds(e);var t=li(e),r=[];for(var n in e)n=="constructor"&&(t||!ks.call(e,n))||r.push(n);return r}function di(e){return br(e)?Is(e):$s(e)}var qe=vr(Object,"create");function qs(){this.__data__=qe?qe(null):{},this.size=0}function Ls(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Ns="__lodash_hash_undefined__",js=Object.prototype,Us=js.hasOwnProperty;function Bs(e){var t=this.__data__;if(qe){var r=t[e];return r===Ns?void 0:r}return Us.call(t,e)?t[e]:void 0}var Ms=Object.prototype,Hs=Ms.hasOwnProperty;function zs(e){var t=this.__data__;return qe?t[e]!==void 0:Hs.call(t,e)}var Gs="__lodash_hash_undefined__";function Ws(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=qe&&t===void 0?Gs:t,this}function ge(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ge.prototype.clear=qs;ge.prototype.delete=Ls;ge.prototype.get=Bs;ge.prototype.has=zs;ge.prototype.set=Ws;function Ks(){this.__data__=[],this.size=0}function et(e,t){for(var r=e.length;r--;)if(Ye(e[r][0],t))return r;return-1}var Js=Array.prototype,Vs=Js.splice;function Qs(e){var t=this.__data__,r=et(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Vs.call(t,r,1),--this.size,!0}function Xs(e){var t=this.__data__,r=et(t,e);return r<0?void 0:t[r][1]}function Zs(e){return et(this.__data__,e)>-1}function Ys(e,t){var r=this.__data__,n=et(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function le(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}le.prototype.clear=Ks;le.prototype.delete=Qs;le.prototype.get=Xs;le.prototype.has=Zs;le.prototype.set=Ys;var gi=vr(Te,"Map");function eu(){this.size=0,this.__data__={hash:new ge,map:new(gi||le),string:new ge}}function tu(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function tt(e,t){var r=e.__data__;return tu(t)?r[typeof t=="string"?"string":"hash"]:r.map}function ru(e){var t=tt(this,e).delete(e);return this.size-=t?1:0,t}function nu(e){return tt(this,e).get(e)}function iu(e){return tt(this,e).has(e)}function ou(e,t){var r=tt(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Pe(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pe.prototype.clear=eu;Pe.prototype.delete=ru;Pe.prototype.get=nu;Pe.prototype.has=iu;Pe.prototype.set=ou;var vi=Cs(Object.getPrototypeOf,Object),au="[object Object]",su=Function.prototype,uu=Object.prototype,mi=su.toString,lu=uu.hasOwnProperty,cu=mi.call(Object);function fu(e){if(!Ne(e)||Ze(e)!=au)return!1;var t=vi(e);if(t===null)return!0;var r=lu.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&mi.call(r)==cu}function pu(){this.__data__=new le,this.size=0}function hu(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function yu(e){return this.__data__.get(e)}function du(e){return this.__data__.has(e)}var gu=200;function vu(e,t){var r=this.__data__;if(r instanceof le){var n=r.__data__;if(!gi||n.length<gu-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Pe(n)}return r.set(e,t),this.size=r.size,this}function xe(e){var t=this.__data__=new le(e);this.size=t.size}xe.prototype.clear=pu;xe.prototype.delete=hu;xe.prototype.get=yu;xe.prototype.has=du;xe.prototype.set=vu;var bi=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Nn=bi&&typeof module=="object"&&module&&!module.nodeType&&module,mu=Nn&&Nn.exports===bi,jn=mu?Te.Buffer:void 0;jn&&jn.allocUnsafe;function bu(e,t){return e.slice()}var Un=Te.Uint8Array;function _u(e){var t=new e.constructor(e.byteLength);return new Un(t).set(new Un(e)),t}function wu(e,t){var r=_u(e.buffer);return new e.constructor(r,e.byteOffset,e.length)}function Su(e){return typeof e.constructor=="function"&&!li(e)?Ra(vi(e)):{}}function Eu(e){return function(t,r,n){for(var a=-1,i=Object(t),o=n(t),c=o.length;c--;){var m=o[++a];if(r(i[m],m,i)===!1)break}return t}}var Ou=Eu();function or(e,t,r){(r!==void 0&&!Ye(e[t],r)||r===void 0&&!(t in e))&&mr(e,t,r)}function Au(e){return Ne(e)&&br(e)}function ar(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Tu(e){return za(e,di(e))}function Pu(e,t,r,n,a,i,o){var c=ar(e,r),m=ar(t,r),O=o.get(m);if(O){or(e,r,O);return}var T=i?i(c,m,r+"",e,t,o):void 0,w=T===void 0;if(w){var b=nr(m),l=!b&&pi(m),P=!b&&!l&&yi(m);T=m,b||l||P?nr(c)?T=c:Au(c)?T=Ca(c):l?(w=!1,T=bu(m)):P?(w=!1,T=wu(m)):T=[]:fu(m)||ir(m)?(T=c,ir(c)?T=Tu(c):(!me(c)||gr(c))&&(T=Su(m))):w=!1}w&&(o.set(m,T),a(T,m,n,i,o),o.delete(m)),or(e,r,T)}function _r(e,t,r,n,a){e!==t&&Ou(t,function(i,o){if(a||(a=new xe),me(i))Pu(e,t,o,r,_r,n,a);else{var c=n?n(ar(e,o),i,o+"",e,t,a):void 0;c===void 0&&(c=i),or(e,o,c)}},di)}var ye=ui(function(e,t,r,n){_r(e,t,r,n)}),xu=ui(function(e,t,r){_r(e,t,r)});const de=(e,t)=>{if(Array.isArray(t))return t},$e=Ki(),Zu=(e,t=null)=>{Ru(e,t);const r=ta();if(r.loaded)return $e;const n=JSON.parse(JSON.stringify(window.aioseoBrokenLinkChecker||{})),a=ti(),i=ri(),o=tr(),c=ea(),m=ra(),O=rr();return o.internalOptions=ye({...o.internalOptions},{...n.internalOptions||{}},de),o.options=ye({...o.options},{...n.options||{}},de),a.linkStatuses=ye({...a.linkStatuses},{...n.linkStatuses||{}},de),i.$state=ye({...i.$state},{...n.notifications||{}},de),c.plugins=ye({...c.plugins},{...n.plugins||{}},de),m.scans=ye({...m.scans},{...n.scans||{}},de),O.settings=ye({...O.settings},{...n.settings||{}},de),delete n.internalOptions,delete n.license,delete n.links,delete n.notifications,delete n.options,delete n.plugins,delete n.scans,delete n.settings,n.publicPath="/",n.translations={},r.aioseoBrokenLinkChecker=xu({...r.aioseoBrokenLinkChecker},{...n||{}}),r.loaded=!0,$e},Ru=(e,t=null)=>(t&&$e.use(({store:r})=>{r.$router=sr(t)}),e.use($e),$e);export{Qu as _,Cu as a,tr as b,Dr as c,K as d,ea as e,ve as f,ur as g,W as h,ti as i,rr as j,Xu as k,Zu as l,xu as m,ra as n,ri as o,bo as r,Se as s,ta as u};
|