← Back
Editing: preload-helper-DadE4qT2.chunk.mjs
var hm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function sl(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var uu={exports:{}},rt=uu.exports={},qt,Xt;function Po(){throw new Error("setTimeout has not been defined")}function Lo(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?qt=setTimeout:qt=Po}catch{qt=Po}try{typeof clearTimeout=="function"?Xt=clearTimeout:Xt=Lo}catch{Xt=Lo}})();function cu(t){if(qt===setTimeout)return setTimeout(t,0);if((qt===Po||!qt)&&setTimeout)return qt=setTimeout,setTimeout(t,0);try{return qt(t,0)}catch{try{return qt.call(null,t,0)}catch{return qt.call(this,t,0)}}}function al(t){if(Xt===clearTimeout)return clearTimeout(t);if((Xt===Lo||!Xt)&&clearTimeout)return Xt=clearTimeout,clearTimeout(t);try{return Xt(t)}catch{try{return Xt.call(null,t)}catch{return Xt.call(this,t)}}}var ie=[],Ke=!1,Ne,ir=-1;function ul(){!Ke||!Ne||(Ke=!1,Ne.length?ie=Ne.concat(ie):ir=-1,ie.length&&lu())}function lu(){if(!Ke){var t=cu(ul);Ke=!0;for(var e=ie.length;e;){for(Ne=ie,ie=[];++ir<e;)Ne&&Ne[ir].run();ir=-1,e=ie.length}Ne=null,Ke=!1,al(t)}}rt.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];ie.push(new fu(t,e)),ie.length===1&&!Ke&&cu(lu)};function fu(t,e){this.fun=t,this.array=e}fu.prototype.run=function(){this.fun.apply(null,this.array)},rt.title="browser",rt.browser=!0,rt.env={},rt.argv=[],rt.version="",rt.versions={};function ee(){}rt.on=ee,rt.addListener=ee,rt.once=ee,rt.off=ee,rt.removeListener=ee,rt.removeAllListeners=ee,rt.emit=ee,rt.prependListener=ee,rt.prependOnceListener=ee,rt.listeners=function(t){return[]},rt.binding=function(t){throw new Error("process.binding is not supported")},rt.cwd=function(){return"/"},rt.chdir=function(t){throw new Error("process.chdir is not supported")},rt.umask=function(){return 0};var cl=uu.exports;const Ze=sl(cl);var Kr,ys;function pu(){if(ys)return Kr;ys=1;var t={};return Kr=typeof Ze=="object"&&t&&t.NODE_DEBUG&&/\bsemver\b/i.test(t.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},Kr}var Zr,bs;function hu(){if(bs)return Zr;bs=1;const t="2.0.0",e=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,o=e-6;return Zr={MAX_LENGTH:e,MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Zr}var Jr={exports:{}},_s;function ll(){return _s||(_s=1,function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=hu(),i=pu();e=t.exports={};const s=e.re=[],u=e.safeRe=[],c=e.src=[],l=e.safeSrc=[],a=e.t={};let p=0;const f="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",o],[f,r]],d=v=>{for(const[O,m]of h)v=v.split(`${O}*`).join(`${O}{0,${m}}`).split(`${O}+`).join(`${O}{1,${m}}`);return v},g=(v,O,m)=>{const b=d(O),E=p++;i(v,E,O),a[v]=E,c[E]=O,l[E]=b,s[E]=new RegExp(O,m?"g":void 0),u[E]=new RegExp(b,m?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),g("MAINVERSION",`(${c[a.NUMERICIDENTIFIER]})\\.(${c[a.NUMERICIDENTIFIER]})\\.(${c[a.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${c[a.NUMERICIDENTIFIERLOOSE]})\\.(${c[a.NUMERICIDENTIFIERLOOSE]})\\.(${c[a.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${c[a.NUMERICIDENTIFIER]}|${c[a.NONNUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${c[a.NUMERICIDENTIFIERLOOSE]}|${c[a.NONNUMERICIDENTIFIER]})`),g("PRERELEASE",`(?:-(${c[a.PRERELEASEIDENTIFIER]}(?:\\.${c[a.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${c[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[a.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${f}+`),g("BUILD",`(?:\\+(${c[a.BUILDIDENTIFIER]}(?:\\.${c[a.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${c[a.MAINVERSION]}${c[a.PRERELEASE]}?${c[a.BUILD]}?`),g("FULL",`^${c[a.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${c[a.MAINVERSIONLOOSE]}${c[a.PRERELEASELOOSE]}?${c[a.BUILD]}?`),g("LOOSE",`^${c[a.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${c[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${c[a.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${c[a.XRANGEIDENTIFIER]})(?:\\.(${c[a.XRANGEIDENTIFIER]})(?:\\.(${c[a.XRANGEIDENTIFIER]})(?:${c[a.PRERELEASE]})?${c[a.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${c[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[a.XRANGEIDENTIFIERLOOSE]})(?:${c[a.PRERELEASELOOSE]})?${c[a.BUILD]}?)?)?`),g("XRANGE",`^${c[a.GTLT]}\\s*${c[a.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${c[a.GTLT]}\\s*${c[a.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),g("COERCE",`${c[a.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",c[a.COERCEPLAIN]+`(?:${c[a.PRERELEASE]})?(?:${c[a.BUILD]})?(?:$|[^\\d])`),g("COERCERTL",c[a.COERCE],!0),g("COERCERTLFULL",c[a.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${c[a.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",g("TILDE",`^${c[a.LONETILDE]}${c[a.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${c[a.LONETILDE]}${c[a.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${c[a.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",g("CARET",`^${c[a.LONECARET]}${c[a.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${c[a.LONECARET]}${c[a.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${c[a.GTLT]}\\s*(${c[a.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${c[a.GTLT]}\\s*(${c[a.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${c[a.GTLT]}\\s*(${c[a.LOOSEPLAIN]}|${c[a.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${c[a.XRANGEPLAIN]})\\s+-\\s+(${c[a.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${c[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[a.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(Jr,Jr.exports)),Jr.exports}var Qr,ws;function fl(){if(ws)return Qr;ws=1;const t=Object.freeze({loose:!0}),e=Object.freeze({});return Qr=n=>n?typeof n!="object"?t:n:e,Qr}var to,Es;function pl(){if(Es)return to;Es=1;const t=/^[0-9]+$/,e=(n,r)=>{const o=t.test(n),i=t.test(r);return o&&i&&(n=+n,r=+r),n===r?0:o&&!i?-1:i&&!o?1:n<r?-1:1};return to={compareIdentifiers:e,rcompareIdentifiers:(n,r)=>e(r,n)},to}var eo,xs;function du(){if(xs)return eo;xs=1;const t=pu(),{MAX_LENGTH:e,MAX_SAFE_INTEGER:n}=hu(),{safeRe:r,safeSrc:o,t:i}=ll(),s=fl(),{compareIdentifiers:u}=pl();class c{constructor(a,p){if(p=s(p),a instanceof c){if(a.loose===!!p.loose&&a.includePrerelease===!!p.includePrerelease)return a;a=a.version}else if(typeof a!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof a}".`);if(a.length>e)throw new TypeError(`version is longer than ${e} characters`);t("SemVer",a,p),this.options=p,this.loose=!!p.loose,this.includePrerelease=!!p.includePrerelease;const f=a.trim().match(p.loose?r[i.LOOSE]:r[i.FULL]);if(!f)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+f[1],this.minor=+f[2],this.patch=+f[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");f[4]?this.prerelease=f[4].split(".").map(h=>{if(/^[0-9]+$/.test(h)){const d=+h;if(d>=0&&d<n)return d}return h}):this.prerelease=[],this.build=f[5]?f[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(a){if(t("SemVer.compare",this.version,this.options,a),!(a instanceof c)){if(typeof a=="string"&&a===this.version)return 0;a=new c(a,this.options)}return a.version===this.version?0:this.compareMain(a)||this.comparePre(a)}compareMain(a){return a instanceof c||(a=new c(a,this.options)),u(this.major,a.major)||u(this.minor,a.minor)||u(this.patch,a.patch)}comparePre(a){if(a instanceof c||(a=new c(a,this.options)),this.prerelease.length&&!a.prerelease.length)return-1;if(!this.prerelease.length&&a.prerelease.length)return 1;if(!this.prerelease.length&&!a.prerelease.length)return 0;let p=0;do{const f=this.prerelease[p],h=a.prerelease[p];if(t("prerelease compare",p,f,h),f===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(f===void 0)return-1;if(f!==h)return u(f,h)}while(++p)}compareBuild(a){a instanceof c||(a=new c(a,this.options));let p=0;do{const f=this.build[p],h=a.build[p];if(t("build compare",p,f,h),f===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(f===void 0)return-1;if(f!==h)return u(f,h)}while(++p)}inc(a,p,f){if(a.startsWith("pre")){if(!p&&f===!1)throw new Error("invalid increment argument: identifier is empty");if(p){const h=new RegExp(`^${this.options.loose?o[i.PRERELEASELOOSE]:o[i.PRERELEASE]}$`),d=`-${p}`.match(h);if(!d||d[1]!==p)throw new Error(`invalid identifier: ${p}`)}}switch(a){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",p,f);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",p,f);break;case"prepatch":this.prerelease.length=0,this.inc("patch",p,f),this.inc("pre",p,f);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",p,f),this.inc("pre",p,f);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const h=Number(f)?1:0;if(this.prerelease.length===0)this.prerelease=[h];else{let d=this.prerelease.length;for(;--d>=0;)typeof this.prerelease[d]=="number"&&(this.prerelease[d]++,d=-2);if(d===-1){if(p===this.prerelease.join(".")&&f===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(h)}}if(p){let d=[p,h];f===!1&&(d=[p]),u(this.prerelease[0],p)===0?isNaN(this.prerelease[1])&&(this.prerelease=d):this.prerelease=d}break}default:throw new Error(`invalid increment argument: ${a}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return eo=c,eo}var no,Os;function hl(){if(Os)return no;Os=1;const t=du();return no=(e,n,r=!1)=>{if(e instanceof t)return e;try{return new t(e,n)}catch(o){if(!r)return null;throw o}},no}var ro,Ts;function dl(){if(Ts)return ro;Ts=1;const t=hl();return ro=(e,n)=>{const r=t(e,n);return r?r.version:null},ro}var gl=dl();const ml=pi(gl);var oo,Ns;function vl(){if(Ns)return oo;Ns=1;const t=du();return oo=(e,n)=>new t(e,n).major,oo}var yl=vl();const As=pi(yl);class bl{bus;constructor(e){typeof e.getVersion!="function"||!ml(e.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):As(e.getVersion())!==As(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()),this.bus=e}getVersion(){return"3.3.2"}subscribe(e,n){this.bus.subscribe(e,n)}unsubscribe(e,n){this.bus.unsubscribe(e,n)}emit(e,...n){this.bus.emit(e,...n)}}class _l{handlers=new Map;getVersion(){return"3.3.2"}subscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).concat(n))}unsubscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).filter(r=>r!==n))}emit(e,...n){(this.handlers.get(e)||[]).forEach(r=>{try{r(n[0])}catch(o){console.error("could not invoke event listener",o)}})}}let un=null;function hi(){return un!==null?un:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window?._nc_event_bus<"u"?un=new bl(window._nc_event_bus):un=window._nc_event_bus=new _l,un)}function wl(t,e){hi().subscribe(t,e)}function dm(t,e){hi().unsubscribe(t,e)}function gm(t,...e){hi().emit(t,...e)}class gr{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(e,n,r){this.scope=`${r?gr.GLOBAL_SCOPE_PERSISTENT:gr.GLOBAL_SCOPE_VOLATILE}_${btoa(e)}_`,this.wrapped=n}scopeKey(e){return`${this.scope}${e}`}setItem(e,n){this.wrapped.setItem(this.scopeKey(e),n)}getItem(e){return this.wrapped.getItem(this.scopeKey(e))}removeItem(e){this.wrapped.removeItem(this.scopeKey(e))}clear(){Object.keys(this.wrapped).filter(e=>e.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class El{appId;persisted=!1;clearedOnLogout=!1;constructor(e){this.appId=e}persist(e=!0){return this.persisted=e,this}clearOnLogout(e=!0){return this.clearedOnLogout=e,this}build(){return new gr(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function xl(t){return new El(t)}let En;const gu=[];function Ol(){return En===void 0&&(En=document.head.dataset.requesttoken??null),En}function Tl(t){gu.push(t)}wl("csrf-token-update",t=>{En=t.token,gu.forEach(e=>{try{e(En)}catch(n){console.error("Error updating CSRF token observer",n)}})});xl("public").persist().build();let Ge;function Ss(t,e){return t?t.getAttribute(e):null}function Rr(){if(Ge!==void 0)return Ge;const t=document?.getElementsByTagName("head")[0];if(!t)return null;const e=Ss(t,"data-user");return e===null?(Ge=null,Ge):(Ge={uid:e,displayName:Ss(t,"data-user-displayname"),isAdmin:!!window._oc_isadmin},Ge)}function mu(t,e,n){const r=document.querySelector(`#initial-state-${t}-${e}`);if(r===null){if(n!==void 0)return n;throw new Error(`Could not find initial state ${e} of ${t}`)}try{return JSON.parse(atob(r.value))}catch{throw new Error(`Could not parse initial state ${e} of ${t}`)}}function di(){return mu("files_sharing","isPublic",null)??document.querySelector('input#isPublic[type="hidden"][name="isPublic"][value="1"]')!==null}function Nl(){return mu("files_sharing","sharingToken",null)??document.querySelector('input#sharingToken[type="hidden"]')?.value??null}const Al=t=>"/remote.php/"+t,Sl=(t,e)=>{var n;return((n=void 0)!=null?n:vu())+Al(t)},mm=(t,e,n)=>{var r;const o=Object.assign({ocsVersion:2},{}).ocsVersion===1?1:2;return((r=void 0)!=null?r:vu())+"/ocs/v"+o+".php"+Ro(t,e,n)},Ro=(t,e,n)=>{const r=Object.assign({escape:!0},n||{}),o=function(i,s){return s=s||{},i.replace(/{([^{}]*)}/g,function(u,c){const l=s[c];return r.escape?encodeURIComponent(typeof l=="string"||typeof l=="number"?l.toString():u):typeof l=="string"||typeof l=="number"?l.toString():u})};return t.charAt(0)!=="/"&&(t="/"+t),o(t,e||{})},vm=(t,e,n)=>{var r,o,i;const s=Object.assign({noRewrite:!1},n||{}),u=(r=n?.baseURL)!=null?r:gi();return((i=(o=window?.OC)==null?void 0:o.config)==null?void 0:i.modRewriteWorking)===!0&&!s.noRewrite?u+Ro(t,e,n):u+"/index.php"+Ro(t,e,n)},ym=(t,e)=>e.includes(".")?Cs(t,"img",e):Cs(t,"img","".concat(e,".svg")),Cs=(t,e,n)=>{var r,o,i;const s=(i=(o=(r=window?.OC)==null?void 0:r.coreApps)==null?void 0:o.includes(t))!=null?i:!1,u=n.slice(-3)==="php";let c=gi();return u&&!s?(c+="/index.php/apps/".concat(t),c+="/".concat(encodeURI(e)),n!=="index.php"&&(c+="/".concat(n))):!u&&!s?(c=Cl(t),c+="/".concat(e,"/"),c.at(-1)!=="/"&&(c+="/"),c+=n):(c+="/".concat(t),c+="/".concat(e),c+="/".concat(n)),c},vu=()=>window.location.protocol+"//"+window.location.host+gi();function gi(){let t=window._oc_webroot;if(typeof t>"u"){t=location.pathname;const e=t.indexOf("/index.php/");if(e!==-1)t=t.slice(0,e);else{const n=t.indexOf("/",1);t=t.slice(0,n>0?n:void 0)}}return t}function Cl(t){var e,n;return(n=((e=window._oc_appswebroots)!=null?e:{})[t])!=null?n:""}function pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $s(t,e,n){$l(t,e),e.set(t,n)}function $l(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function gt(t,e){var n=yu(t,e,"get");return Il(t,n)}function Il(t,e){return e.get?e.get.call(t):e.value}function Is(t,e,n){var r=yu(t,e,"set");return Pl(t,r,n),n}function yu(t,e,n){if(!e.has(t))throw new TypeError("attempted to "+n+" private field on non-instance");return e.get(t)}function Pl(t,e,n){if(e.set)e.set.call(t,n);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=n}}var Ll=typeof Symbol<"u"?Symbol.toStringTag:"@@toStringTag",mt=new WeakMap,cn=new WeakMap;class kr{constructor(e){var{executor:n=()=>{},internals:r=vi(),promise:o=new Promise((i,s)=>n(i,s,u=>{r.onCancelList.push(u)}))}=e;$s(this,mt,{writable:!0,value:void 0}),$s(this,cn,{writable:!0,value:void 0}),pe(this,Ll,"CancelablePromise"),this.cancel=this.cancel.bind(this),Is(this,mt,r),Is(this,cn,o||new Promise((i,s)=>n(i,s,u=>{r.onCancelList.push(u)})))}then(e,n){return sr(gt(this,cn).then(Hn(e,gt(this,mt)),Hn(n,gt(this,mt))),gt(this,mt))}catch(e){return sr(gt(this,cn).catch(Hn(e,gt(this,mt))),gt(this,mt))}finally(e,n){return n&>(this,mt).onCancelList.push(e),sr(gt(this,cn).finally(Hn(()=>{if(e)return n&&(gt(this,mt).onCancelList=gt(this,mt).onCancelList.filter(r=>r!==e)),e()},gt(this,mt))),gt(this,mt))}cancel(){gt(this,mt).isCanceled=!0;var e=gt(this,mt).onCancelList;gt(this,mt).onCancelList=[];for(var n of e)if(typeof n=="function")try{n()}catch(r){console.error(r)}}isCanceled(){return gt(this,mt).isCanceled===!0}}class re extends kr{constructor(e){super({executor:e})}}pe(re,"all",function(t){return qn(t,Promise.all(t))}),pe(re,"allSettled",function(t){return qn(t,Promise.allSettled(t))}),pe(re,"any",function(t){return qn(t,Promise.any(t))}),pe(re,"race",function(t){return qn(t,Promise.race(t))}),pe(re,"resolve",function(t){return Ps(Promise.resolve(t))}),pe(re,"reject",function(t){return Ps(Promise.reject(t))}),pe(re,"isCancelable",mi);function Ps(t){return sr(t,vi())}function mi(t){return t instanceof re||t instanceof kr}function Hn(t,e){if(t)return n=>{if(!e.isCanceled){var r=t(n);return mi(r)&&e.onCancelList.push(r.cancel),r}return n}}function sr(t,e){return new kr({internals:e,promise:t})}function qn(t,e){var n=vi();return n.onCancelList.push(()=>{for(var r of t)mi(r)&&r.cancel()}),new kr({internals:n,promise:e})}function vi(){return{isCanceled:!1,onCancelList:[]}}const Ve=globalThis||void 0||self;var io={},Rl={2:t=>{function e(o,i,s){o instanceof RegExp&&(o=n(o,s)),i instanceof RegExp&&(i=n(i,s));var u=r(o,i,s);return u&&{start:u[0],end:u[1],pre:s.slice(0,u[0]),body:s.slice(u[0]+o.length,u[1]),post:s.slice(u[1]+i.length)}}function n(o,i){var s=i.match(o);return s?s[0]:null}function r(o,i,s){var u,c,l,a,p,f=s.indexOf(o),h=s.indexOf(i,f+1),d=f;if(f>=0&&h>0){for(u=[],l=s.length;d>=0&&!p;)d==f?(u.push(d),f=s.indexOf(o,d+1)):u.length==1?p=[u.pop(),h]:((c=u.pop())<l&&(l=c,a=h),h=s.indexOf(i,d+1)),d=f<h&&f>=0?f:h;u.length&&(p=[l,a])}return p}t.exports=e,e.range=r},101:function(t,e,n){var r;t=n.nmd(t),function(o){var i=(t&&t.exports,typeof Ve=="object"&&Ve);i.global!==i&&i.window;var s=function(p){this.message=p};(s.prototype=new Error).name="InvalidCharacterError";var u=function(p){throw new s(p)},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=/[\t\n\f\r ]/g,a={encode:function(p){p=String(p),/[^\0-\xFF]/.test(p)&&u("The string to be encoded contains characters outside of the Latin1 range.");for(var f,h,d,g,v=p.length%3,O="",m=-1,b=p.length-v;++m<b;)f=p.charCodeAt(m)<<16,h=p.charCodeAt(++m)<<8,d=p.charCodeAt(++m),O+=c.charAt((g=f+h+d)>>18&63)+c.charAt(g>>12&63)+c.charAt(g>>6&63)+c.charAt(63&g);return v==2?(f=p.charCodeAt(m)<<8,h=p.charCodeAt(++m),O+=c.charAt((g=f+h)>>10)+c.charAt(g>>4&63)+c.charAt(g<<2&63)+"="):v==1&&(g=p.charCodeAt(m),O+=c.charAt(g>>2)+c.charAt(g<<4&63)+"=="),O},decode:function(p){var f=(p=String(p).replace(l,"")).length;f%4==0&&(f=(p=p.replace(/==?$/,"")).length),(f%4==1||/[^+a-zA-Z0-9/]/.test(p))&&u("Invalid character: the string to be decoded is not correctly encoded.");for(var h,d,g=0,v="",O=-1;++O<f;)d=c.indexOf(p.charAt(O)),h=g%4?64*h+d:d,g++%4&&(v+=String.fromCharCode(255&h>>(-2*g&6)));return v},version:"1.0.0"};(r=function(){return a}.call(e,n,e,t))===void 0||(t.exports=r)}()},172:(t,e)=>{e.d=function(n){if(!n)return 0;for(var r=(n=n.toString()).length,o=n.length;o--;){var i=n.charCodeAt(o);56320<=i&&i<=57343&&o--,127<i&&i<=2047?r++:2047<i&&i<=65535&&(r+=2)}return r}},526:t=>{var e={utf8:{stringToBytes:function(n){return e.bin.stringToBytes(unescape(encodeURIComponent(n)))},bytesToString:function(n){return decodeURIComponent(escape(e.bin.bytesToString(n)))}},bin:{stringToBytes:function(n){for(var r=[],o=0;o<n.length;o++)r.push(255&n.charCodeAt(o));return r},bytesToString:function(n){for(var r=[],o=0;o<n.length;o++)r.push(String.fromCharCode(n[o]));return r.join("")}}};t.exports=e},298:t=>{var e,n;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(r,o){return r<<o|r>>>32-o},rotr:function(r,o){return r<<32-o|r>>>o},endian:function(r){if(r.constructor==Number)return 16711935&n.rotl(r,8)|4278255360&n.rotl(r,24);for(var o=0;o<r.length;o++)r[o]=n.endian(r[o]);return r},randomBytes:function(r){for(var o=[];r>0;r--)o.push(Math.floor(256*Math.random()));return o},bytesToWords:function(r){for(var o=[],i=0,s=0;i<r.length;i++,s+=8)o[s>>>5]|=r[i]<<24-s%32;return o},wordsToBytes:function(r){for(var o=[],i=0;i<32*r.length;i+=8)o.push(r[i>>>5]>>>24-i%32&255);return o},bytesToHex:function(r){for(var o=[],i=0;i<r.length;i++)o.push((r[i]>>>4).toString(16)),o.push((15&r[i]).toString(16));return o.join("")},hexToBytes:function(r){for(var o=[],i=0;i<r.length;i+=2)o.push(parseInt(r.substr(i,2),16));return o},bytesToBase64:function(r){for(var o=[],i=0;i<r.length;i+=3)for(var s=r[i]<<16|r[i+1]<<8|r[i+2],u=0;u<4;u++)8*i+6*u<=8*r.length?o.push(e.charAt(s>>>6*(3-u)&63)):o.push("=");return o.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],i=0,s=0;i<r.length;s=++i%4)s!=0&&o.push((e.indexOf(r.charAt(i-1))&Math.pow(2,-2*s+8)-1)<<2*s|e.indexOf(r.charAt(i))>>>6-2*s);return o}},t.exports=n},635:(t,e,n)=>{const r=n(31),o=n(338),i=n(221);t.exports={XMLParser:o,XMLValidator:r,XMLBuilder:i}},118:t=>{t.exports=function(e){return typeof e=="function"?e:Array.isArray(e)?n=>{for(const r of e)if(typeof r=="string"&&n===r||r instanceof RegExp&&r.test(n))return!0}:()=>!1}},705:(t,e)=>{const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r="["+n+"]["+n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",o=new RegExp("^"+r+"$");e.isExist=function(i){return i!==void 0},e.isEmptyObject=function(i){return Object.keys(i).length===0},e.merge=function(i,s,u){if(s){const c=Object.keys(s),l=c.length;for(let a=0;a<l;a++)i[c[a]]=u==="strict"?[s[c[a]]]:s[c[a]]}},e.getValue=function(i){return e.isExist(i)?i:""},e.isName=function(i){return o.exec(i)!=null},e.getAllMatches=function(i,s){const u=[];let c=s.exec(i);for(;c;){const l=[];l.startIndex=s.lastIndex-c[0].length;const a=c.length;for(let p=0;p<a;p++)l.push(c[p]);u.push(l),c=s.exec(i)}return u},e.nameRegexp=r},31:(t,e,n)=>{const r=n(705),o={allowBooleanAttributes:!1,unpairedTags:[]};function i(m){return m===" "||m===" "||m===` `||m==="\r"}function s(m,b){const E=b;for(;b<m.length;b++)if(!(m[b]!="?"&&m[b]!=" ")){const N=m.substr(E,b-E);if(b>5&&N==="xml")return d("InvalidXml","XML declaration allowed only at the start of the document.",v(m,b));if(m[b]=="?"&&m[b+1]==">"){b++;break}}return b}function u(m,b){if(m.length>b+5&&m[b+1]==="-"&&m[b+2]==="-"){for(b+=3;b<m.length;b++)if(m[b]==="-"&&m[b+1]==="-"&&m[b+2]===">"){b+=2;break}}else if(m.length>b+8&&m[b+1]==="D"&&m[b+2]==="O"&&m[b+3]==="C"&&m[b+4]==="T"&&m[b+5]==="Y"&&m[b+6]==="P"&&m[b+7]==="E"){let E=1;for(b+=8;b<m.length;b++)if(m[b]==="<")E++;else if(m[b]===">"&&(E--,E===0))break}else if(m.length>b+9&&m[b+1]==="["&&m[b+2]==="C"&&m[b+3]==="D"&&m[b+4]==="A"&&m[b+5]==="T"&&m[b+6]==="A"&&m[b+7]==="["){for(b+=8;b<m.length;b++)if(m[b]==="]"&&m[b+1]==="]"&&m[b+2]===">"){b+=2;break}}return b}e.validate=function(m,b){b=Object.assign({},o,b);const E=[];let N=!1,x=!1;m[0]==="\uFEFF"&&(m=m.substr(1));for(let T=0;T<m.length;T++)if(m[T]==="<"&&m[T+1]==="?"){if(T+=2,T=s(m,T),T.err)return T}else{if(m[T]!=="<"){if(i(m[T]))continue;return d("InvalidChar","char '"+m[T]+"' is not expected.",v(m,T))}{let I=T;if(T++,m[T]==="!"){T=u(m,T);continue}{let L=!1;m[T]==="/"&&(L=!0,T++);let P="";for(;T<m.length&&m[T]!==">"&&m[T]!==" "&&m[T]!==" "&&m[T]!==` `&&m[T]!=="\r";T++)P+=m[T];if(P=P.trim(),P[P.length-1]==="/"&&(P=P.substring(0,P.length-1),T--),C=P,!r.isName(C)){let A;return A=P.trim().length===0?"Invalid space after '<'.":"Tag '"+P+"' is an invalid name.",d("InvalidTag",A,v(m,T))}const w=a(m,T);if(w===!1)return d("InvalidAttr","Attributes for '"+P+"' have open quote.",v(m,T));let y=w.value;if(T=w.index,y[y.length-1]==="/"){const A=T-y.length;y=y.substring(0,y.length-1);const $=f(y,b);if($!==!0)return d($.err.code,$.err.msg,v(m,A+$.err.line));N=!0}else if(L){if(!w.tagClosed)return d("InvalidTag","Closing tag '"+P+"' doesn't have proper closing.",v(m,T));if(y.trim().length>0)return d("InvalidTag","Closing tag '"+P+"' can't have attributes or invalid starting.",v(m,I));if(E.length===0)return d("InvalidTag","Closing tag '"+P+"' has not been opened.",v(m,I));{const A=E.pop();if(P!==A.tagName){let $=v(m,A.tagStartPos);return d("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+$.line+", col "+$.col+") instead of closing tag '"+P+"'.",v(m,I))}E.length==0&&(x=!0)}}else{const A=f(y,b);if(A!==!0)return d(A.err.code,A.err.msg,v(m,T-y.length+A.err.line));if(x===!0)return d("InvalidXml","Multiple possible root nodes found.",v(m,T));b.unpairedTags.indexOf(P)!==-1||E.push({tagName:P,tagStartPos:I}),N=!0}for(T++;T<m.length;T++)if(m[T]==="<"){if(m[T+1]==="!"){T++,T=u(m,T);continue}if(m[T+1]!=="?")break;if(T=s(m,++T),T.err)return T}else if(m[T]==="&"){const A=h(m,T);if(A==-1)return d("InvalidChar","char '&' is not expected.",v(m,T));T=A}else if(x===!0&&!i(m[T]))return d("InvalidXml","Extra text at the end",v(m,T));m[T]==="<"&&T--}}}var C;return N?E.length==1?d("InvalidTag","Unclosed tag '"+E[0].tagName+"'.",v(m,E[0].tagStartPos)):!(E.length>0)||d("InvalidXml","Invalid '"+JSON.stringify(E.map(T=>T.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):d("InvalidXml","Start tag expected.",1)};const c='"',l="'";function a(m,b){let E="",N="",x=!1;for(;b<m.length;b++){if(m[b]===c||m[b]===l)N===""?N=m[b]:N!==m[b]||(N="");else if(m[b]===">"&&N===""){x=!0;break}E+=m[b]}return N===""&&{value:E,index:b,tagClosed:x}}const p=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function f(m,b){const E=r.getAllMatches(m,p),N={};for(let x=0;x<E.length;x++){if(E[x][1].length===0)return d("InvalidAttr","Attribute '"+E[x][2]+"' has no space in starting.",O(E[x]));if(E[x][3]!==void 0&&E[x][4]===void 0)return d("InvalidAttr","Attribute '"+E[x][2]+"' is without value.",O(E[x]));if(E[x][3]===void 0&&!b.allowBooleanAttributes)return d("InvalidAttr","boolean attribute '"+E[x][2]+"' is not allowed.",O(E[x]));const C=E[x][2];if(!g(C))return d("InvalidAttr","Attribute '"+C+"' is an invalid name.",O(E[x]));if(N.hasOwnProperty(C))return d("InvalidAttr","Attribute '"+C+"' is repeated.",O(E[x]));N[C]=1}return!0}function h(m,b){if(m[++b]===";")return-1;if(m[b]==="#")return function(N,x){let C=/\d/;for(N[x]==="x"&&(x++,C=/[\da-fA-F]/);x<N.length;x++){if(N[x]===";")return x;if(!N[x].match(C))break}return-1}(m,++b);let E=0;for(;b<m.length;b++,E++)if(!(m[b].match(/\w/)&&E<20)){if(m[b]===";")break;return-1}return b}function d(m,b,E){return{err:{code:m,msg:b,line:E.line||E,col:E.col}}}function g(m){return r.isName(m)}function v(m,b){const E=m.substring(0,b).split(/\r?\n/);return{line:E.length,col:E[E.length-1].length+1}}function O(m){return m.startIndex+m[1].length}},221:(t,e,n)=>{const r=n(87),o=n(118),i={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(a,p){return p},attributeValueProcessor:function(a,p){return p},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function s(a){this.options=Object.assign({},i,a),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=o(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=u,this.options.format?(this.indentate=c,this.tagEndChar=`> `,this.newLine=` `):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function u(a,p,f,h){const d=this.j2x(a,f+1,h.concat(p));return a[this.options.textNodeName]!==void 0&&Object.keys(a).length===1?this.buildTextValNode(a[this.options.textNodeName],p,d.attrStr,f):this.buildObjectNode(d.val,p,d.attrStr,f)}function c(a){return this.options.indentBy.repeat(a)}function l(a){return!(!a.startsWith(this.options.attributeNamePrefix)||a===this.options.textNodeName)&&a.substr(this.attrPrefixLen)}s.prototype.build=function(a){return this.options.preserveOrder?r(a,this.options):(Array.isArray(a)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(a={[this.options.arrayNodeName]:a}),this.j2x(a,0,[]).val)},s.prototype.j2x=function(a,p,f){let h="",d="";const g=f.join(".");for(let v in a)if(Object.prototype.hasOwnProperty.call(a,v))if(a[v]===void 0)this.isAttribute(v)&&(d+="");else if(a[v]===null)this.isAttribute(v)?d+="":v[0]==="?"?d+=this.indentate(p)+"<"+v+"?"+this.tagEndChar:d+=this.indentate(p)+"<"+v+"/"+this.tagEndChar;else if(a[v]instanceof Date)d+=this.buildTextValNode(a[v],v,"",p);else if(typeof a[v]!="object"){const O=this.isAttribute(v);if(O&&!this.ignoreAttributesFn(O,g))h+=this.buildAttrPairStr(O,""+a[v]);else if(!O)if(v===this.options.textNodeName){let m=this.options.tagValueProcessor(v,""+a[v]);d+=this.replaceEntitiesValue(m)}else d+=this.buildTextValNode(a[v],v,"",p)}else if(Array.isArray(a[v])){const O=a[v].length;let m="",b="";for(let E=0;E<O;E++){const N=a[v][E];if(N!==void 0)if(N===null)v[0]==="?"?d+=this.indentate(p)+"<"+v+"?"+this.tagEndChar:d+=this.indentate(p)+"<"+v+"/"+this.tagEndChar;else if(typeof N=="object")if(this.options.oneListGroup){const x=this.j2x(N,p+1,f.concat(v));m+=x.val,this.options.attributesGroupName&&N.hasOwnProperty(this.options.attributesGroupName)&&(b+=x.attrStr)}else m+=this.processTextOrObjNode(N,v,p,f);else if(this.options.oneListGroup){let x=this.options.tagValueProcessor(v,N);x=this.replaceEntitiesValue(x),m+=x}else m+=this.buildTextValNode(N,v,"",p)}this.options.oneListGroup&&(m=this.buildObjectNode(m,v,b,p)),d+=m}else if(this.options.attributesGroupName&&v===this.options.attributesGroupName){const O=Object.keys(a[v]),m=O.length;for(let b=0;b<m;b++)h+=this.buildAttrPairStr(O[b],""+a[v][O[b]])}else d+=this.processTextOrObjNode(a[v],v,p,f);return{attrStr:h,val:d}},s.prototype.buildAttrPairStr=function(a,p){return p=this.options.attributeValueProcessor(a,""+p),p=this.replaceEntitiesValue(p),this.options.suppressBooleanAttributes&&p==="true"?" "+a:" "+a+'="'+p+'"'},s.prototype.buildObjectNode=function(a,p,f,h){if(a==="")return p[0]==="?"?this.indentate(h)+"<"+p+f+"?"+this.tagEndChar:this.indentate(h)+"<"+p+f+this.closeTag(p)+this.tagEndChar;{let d="</"+p+this.tagEndChar,g="";return p[0]==="?"&&(g="?",d=""),!f&&f!==""||a.indexOf("<")!==-1?this.options.commentPropName!==!1&&p===this.options.commentPropName&&g.length===0?this.indentate(h)+`<!--${a}-->`+this.newLine:this.indentate(h)+"<"+p+f+g+this.tagEndChar+a+this.indentate(h)+d:this.indentate(h)+"<"+p+f+g+">"+a+d}},s.prototype.closeTag=function(a){let p="";return this.options.unpairedTags.indexOf(a)!==-1?this.options.suppressUnpairedNode||(p="/"):p=this.options.suppressEmptyNode?"/":`></${a}`,p},s.prototype.buildTextValNode=function(a,p,f,h){if(this.options.cdataPropName!==!1&&p===this.options.cdataPropName)return this.indentate(h)+`<![CDATA[${a}]]>`+this.newLine;if(this.options.commentPropName!==!1&&p===this.options.commentPropName)return this.indentate(h)+`<!--${a}-->`+this.newLine;if(p[0]==="?")return this.indentate(h)+"<"+p+f+"?"+this.tagEndChar;{let d=this.options.tagValueProcessor(p,a);return d=this.replaceEntitiesValue(d),d===""?this.indentate(h)+"<"+p+f+this.closeTag(p)+this.tagEndChar:this.indentate(h)+"<"+p+f+">"+d+"</"+p+this.tagEndChar}},s.prototype.replaceEntitiesValue=function(a){if(a&&a.length>0&&this.options.processEntities)for(let p=0;p<this.options.entities.length;p++){const f=this.options.entities[p];a=a.replace(f.regex,f.val)}return a},t.exports=s},87:t=>{function e(s,u,c,l){let a="",p=!1;for(let f=0;f<s.length;f++){const h=s[f],d=n(h);if(d===void 0)continue;let g="";if(g=c.length===0?d:`${c}.${d}`,d===u.textNodeName){let b=h[d];o(g,u)||(b=u.tagValueProcessor(d,b),b=i(b,u)),p&&(a+=l),a+=b,p=!1;continue}if(d===u.cdataPropName){p&&(a+=l),a+=`<![CDATA[${h[d][0][u.textNodeName]}]]>`,p=!1;continue}if(d===u.commentPropName){a+=l+`<!--${h[d][0][u.textNodeName]}-->`,p=!0;continue}if(d[0]==="?"){const b=r(h[":@"],u),E=d==="?xml"?"":l;let N=h[d][0][u.textNodeName];N=N.length!==0?" "+N:"",a+=E+`<${d}${N}${b}?>`,p=!0;continue}let v=l;v!==""&&(v+=u.indentBy);const O=l+`<${d}${r(h[":@"],u)}`,m=e(h[d],u,g,v);u.unpairedTags.indexOf(d)!==-1?u.suppressUnpairedNode?a+=O+">":a+=O+"/>":m&&m.length!==0||!u.suppressEmptyNode?m&&m.endsWith(">")?a+=O+`>${m}${l}</${d}>`:(a+=O+">",m&&l!==""&&(m.includes("/>")||m.includes("</"))?a+=l+u.indentBy+m+l:a+=m,a+=`</${d}>`):a+=O+"/>",p=!0}return a}function n(s){const u=Object.keys(s);for(let c=0;c<u.length;c++){const l=u[c];if(s.hasOwnProperty(l)&&l!==":@")return l}}function r(s,u){let c="";if(s&&!u.ignoreAttributes)for(let l in s){if(!s.hasOwnProperty(l))continue;let a=u.attributeValueProcessor(l,s[l]);a=i(a,u),a===!0&&u.suppressBooleanAttributes?c+=` ${l.substr(u.attributeNamePrefix.length)}`:c+=` ${l.substr(u.attributeNamePrefix.length)}="${a}"`}return c}function o(s,u){let c=(s=s.substr(0,s.length-u.textNodeName.length-1)).substr(s.lastIndexOf(".")+1);for(let l in u.stopNodes)if(u.stopNodes[l]===s||u.stopNodes[l]==="*."+c)return!0;return!1}function i(s,u){if(s&&s.length>0&&u.processEntities)for(let c=0;c<u.entities.length;c++){const l=u.entities[c];s=s.replace(l.regex,l.val)}return s}t.exports=function(s,u){let c="";return u.format&&u.indentBy.length>0&&(c=` `),e(s,u,"",c)}},193:(t,e,n)=>{const r=n(705);function o(p,f){let h="";for(;f<p.length&&p[f]!=="'"&&p[f]!=='"';f++)h+=p[f];if(h=h.trim(),h.indexOf(" ")!==-1)throw new Error("External entites are not supported");const d=p[f++];let g="";for(;f<p.length&&p[f]!==d;f++)g+=p[f];return[h,g,f]}function i(p,f){return p[f+1]==="!"&&p[f+2]==="-"&&p[f+3]==="-"}function s(p,f){return p[f+1]==="!"&&p[f+2]==="E"&&p[f+3]==="N"&&p[f+4]==="T"&&p[f+5]==="I"&&p[f+6]==="T"&&p[f+7]==="Y"}function u(p,f){return p[f+1]==="!"&&p[f+2]==="E"&&p[f+3]==="L"&&p[f+4]==="E"&&p[f+5]==="M"&&p[f+6]==="E"&&p[f+7]==="N"&&p[f+8]==="T"}function c(p,f){return p[f+1]==="!"&&p[f+2]==="A"&&p[f+3]==="T"&&p[f+4]==="T"&&p[f+5]==="L"&&p[f+6]==="I"&&p[f+7]==="S"&&p[f+8]==="T"}function l(p,f){return p[f+1]==="!"&&p[f+2]==="N"&&p[f+3]==="O"&&p[f+4]==="T"&&p[f+5]==="A"&&p[f+6]==="T"&&p[f+7]==="I"&&p[f+8]==="O"&&p[f+9]==="N"}function a(p){if(r.isName(p))return p;throw new Error(`Invalid entity name ${p}`)}t.exports=function(p,f){const h={};if(p[f+3]!=="O"||p[f+4]!=="C"||p[f+5]!=="T"||p[f+6]!=="Y"||p[f+7]!=="P"||p[f+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{f+=9;let d=1,g=!1,v=!1,O="";for(;f<p.length;f++)if(p[f]!=="<"||v)if(p[f]===">"){if(v?p[f-1]==="-"&&p[f-2]==="-"&&(v=!1,d--):d--,d===0)break}else p[f]==="["?g=!0:O+=p[f];else{if(g&&s(p,f)){let m,b;f+=7,[m,b,f]=o(p,f+1),b.indexOf("&")===-1&&(h[a(m)]={regx:RegExp(`&${m};`,"g"),val:b})}else if(g&&u(p,f))f+=8;else if(g&&c(p,f))f+=8;else if(g&&l(p,f))f+=9;else{if(!i)throw new Error("Invalid DOCTYPE");v=!0}d++,O=""}if(d!==0)throw new Error("Unclosed DOCTYPE")}return{entities:h,i:f}}},63:(t,e)=>{const n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(r,o){return o},attributeValueProcessor:function(r,o){return o},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(r,o,i){return r}};e.buildOptions=function(r){return Object.assign({},n,r)},e.defaultOptions=n},299:(t,e,n)=>{const r=n(705),o=n(365),i=n(193),s=n(494),u=n(118);function c(x){const C=Object.keys(x);for(let T=0;T<C.length;T++){const I=C[T];this.lastEntities[I]={regex:new RegExp("&"+I+";","g"),val:x[I]}}}function l(x,C,T,I,L,P,w){if(x!==void 0&&(this.options.trimValues&&!I&&(x=x.trim()),x.length>0)){w||(x=this.replaceEntitiesValue(x));const y=this.options.tagValueProcessor(C,x,T,L,P);return y==null?x:typeof y!=typeof x||y!==x?y:this.options.trimValues||x.trim()===x?N(x,this.options.parseTagValue,this.options.numberParseOptions):x}}function a(x){if(this.options.removeNSPrefix){const C=x.split(":"),T=x.charAt(0)==="/"?"/":"";if(C[0]==="xmlns")return"";C.length===2&&(x=T+C[1])}return x}const p=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function f(x,C,T){if(this.options.ignoreAttributes!==!0&&typeof x=="string"){const I=r.getAllMatches(x,p),L=I.length,P={};for(let w=0;w<L;w++){const y=this.resolveNameSpace(I[w][1]);if(this.ignoreAttributesFn(y,C))continue;let A=I[w][4],$=this.options.attributeNamePrefix+y;if(y.length)if(this.options.transformAttributeName&&($=this.options.transformAttributeName($)),$==="__proto__"&&($="#__proto__"),A!==void 0){this.options.trimValues&&(A=A.trim()),A=this.replaceEntitiesValue(A);const k=this.options.attributeValueProcessor(y,A,C);P[$]=k==null?A:typeof k!=typeof A||k!==A?k:N(A,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(P[$]=!0)}if(!Object.keys(P).length)return;if(this.options.attributesGroupName){const w={};return w[this.options.attributesGroupName]=P,w}return P}}const h=function(x){x=x.replace(/\r\n?/g,` `);const C=new o("!xml");let T=C,I="",L="";for(let P=0;P<x.length;P++)if(x[P]==="<")if(x[P+1]==="/"){const w=m(x,">",P,"Closing Tag is not closed.");let y=x.substring(P+2,w).trim();if(this.options.removeNSPrefix){const k=y.indexOf(":");k!==-1&&(y=y.substr(k+1))}this.options.transformTagName&&(y=this.options.transformTagName(y)),T&&(I=this.saveTextToParentTag(I,T,L));const A=L.substring(L.lastIndexOf(".")+1);if(y&&this.options.unpairedTags.indexOf(y)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${y}>`);let $=0;A&&this.options.unpairedTags.indexOf(A)!==-1?($=L.lastIndexOf(".",L.lastIndexOf(".")-1),this.tagsNodeStack.pop()):$=L.lastIndexOf("."),L=L.substring(0,$),T=this.tagsNodeStack.pop(),I="",P=w}else if(x[P+1]==="?"){let w=b(x,P,!1,"?>");if(!w)throw new Error("Pi Tag is not closed.");if(I=this.saveTextToParentTag(I,T,L),!(this.options.ignoreDeclaration&&w.tagName==="?xml"||this.options.ignorePiTags)){const y=new o(w.tagName);y.add(this.options.textNodeName,""),w.tagName!==w.tagExp&&w.attrExpPresent&&(y[":@"]=this.buildAttributesMap(w.tagExp,L,w.tagName)),this.addChild(T,y,L)}P=w.closeIndex+1}else if(x.substr(P+1,3)==="!--"){const w=m(x,"-->",P+4,"Comment is not closed.");if(this.options.commentPropName){const y=x.substring(P+4,w-2);I=this.saveTextToParentTag(I,T,L),T.add(this.options.commentPropName,[{[this.options.textNodeName]:y}])}P=w}else if(x.substr(P+1,2)==="!D"){const w=i(x,P);this.docTypeEntities=w.entities,P=w.i}else if(x.substr(P+1,2)==="!["){const w=m(x,"]]>",P,"CDATA is not closed.")-2,y=x.substring(P+9,w);I=this.saveTextToParentTag(I,T,L);let A=this.parseTextData(y,T.tagname,L,!0,!1,!0,!0);A==null&&(A=""),this.options.cdataPropName?T.add(this.options.cdataPropName,[{[this.options.textNodeName]:y}]):T.add(this.options.textNodeName,A),P=w+2}else{let w=b(x,P,this.options.removeNSPrefix),y=w.tagName;const A=w.rawTagName;let $=w.tagExp,k=w.attrExpPresent,U=w.closeIndex;this.options.transformTagName&&(y=this.options.transformTagName(y)),T&&I&&T.tagname!=="!xml"&&(I=this.saveTextToParentTag(I,T,L,!1));const F=T;if(F&&this.options.unpairedTags.indexOf(F.tagname)!==-1&&(T=this.tagsNodeStack.pop(),L=L.substring(0,L.lastIndexOf("."))),y!==C.tagname&&(L+=L?"."+y:y),this.isItStopNode(this.options.stopNodes,L,y)){let M="";if($.length>0&&$.lastIndexOf("/")===$.length-1)y[y.length-1]==="/"?(y=y.substr(0,y.length-1),L=L.substr(0,L.length-1),$=y):$=$.substr(0,$.length-1),P=w.closeIndex;else if(this.options.unpairedTags.indexOf(y)!==-1)P=w.closeIndex;else{const j=this.readStopNodeData(x,A,U+1);if(!j)throw new Error(`Unexpected end of ${A}`);P=j.i,M=j.tagContent}const z=new o(y);y!==$&&k&&(z[":@"]=this.buildAttributesMap($,L,y)),M&&(M=this.parseTextData(M,y,L,!0,k,!0,!0)),L=L.substr(0,L.lastIndexOf(".")),z.add(this.options.textNodeName,M),this.addChild(T,z,L)}else{if($.length>0&&$.lastIndexOf("/")===$.length-1){y[y.length-1]==="/"?(y=y.substr(0,y.length-1),L=L.substr(0,L.length-1),$=y):$=$.substr(0,$.length-1),this.options.transformTagName&&(y=this.options.transformTagName(y));const M=new o(y);y!==$&&k&&(M[":@"]=this.buildAttributesMap($,L,y)),this.addChild(T,M,L),L=L.substr(0,L.lastIndexOf("."))}else{const M=new o(y);this.tagsNodeStack.push(T),y!==$&&k&&(M[":@"]=this.buildAttributesMap($,L,y)),this.addChild(T,M,L),T=M}I="",P=U}}else I+=x[P];return C.child};function d(x,C,T){const I=this.options.updateTag(C.tagname,T,C[":@"]);I===!1||(typeof I=="string"&&(C.tagname=I),x.addChild(C))}const g=function(x){if(this.options.processEntities){for(let C in this.docTypeEntities){const T=this.docTypeEntities[C];x=x.replace(T.regx,T.val)}for(let C in this.lastEntities){const T=this.lastEntities[C];x=x.replace(T.regex,T.val)}if(this.options.htmlEntities)for(let C in this.htmlEntities){const T=this.htmlEntities[C];x=x.replace(T.regex,T.val)}x=x.replace(this.ampEntity.regex,this.ampEntity.val)}return x};function v(x,C,T,I){return x&&(I===void 0&&(I=Object.keys(C.child).length===0),(x=this.parseTextData(x,C.tagname,T,!1,!!C[":@"]&&Object.keys(C[":@"]).length!==0,I))!==void 0&&x!==""&&C.add(this.options.textNodeName,x),x=""),x}function O(x,C,T){const I="*."+T;for(const L in x){const P=x[L];if(I===P||C===P)return!0}return!1}function m(x,C,T,I){const L=x.indexOf(C,T);if(L===-1)throw new Error(I);return L+C.length-1}function b(x,C,T){const I=function(k,U){let F,M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:">",z="";for(let j=U;j<k.length;j++){let B=k[j];if(F)B===F&&(F="");else if(B==='"'||B==="'")F=B;else if(B===M[0]){if(!M[1])return{data:z,index:j};if(k[j+1]===M[1])return{data:z,index:j}}else B===" "&&(B=" ");z+=B}}(x,C+1,arguments.length>3&&arguments[3]!==void 0?arguments[3]:">");if(!I)return;let L=I.data;const P=I.index,w=L.search(/\s/);let y=L,A=!0;w!==-1&&(y=L.substring(0,w),L=L.substring(w+1).trimStart());const $=y;if(T){const k=y.indexOf(":");k!==-1&&(y=y.substr(k+1),A=y!==I.data.substr(k+1))}return{tagName:y,tagExp:L,closeIndex:P,attrExpPresent:A,rawTagName:$}}function E(x,C,T){const I=T;let L=1;for(;T<x.length;T++)if(x[T]==="<")if(x[T+1]==="/"){const P=m(x,">",T,`${C} is not closed`);if(x.substring(T+2,P).trim()===C&&(L--,L===0))return{tagContent:x.substring(I,T),i:P};T=P}else if(x[T+1]==="?")T=m(x,"?>",T+1,"StopNode is not closed.");else if(x.substr(T+1,3)==="!--")T=m(x,"-->",T+3,"StopNode is not closed.");else if(x.substr(T+1,2)==="![")T=m(x,"]]>",T,"StopNode is not closed.")-2;else{const P=b(x,T,">");P&&((P&&P.tagName)===C&&P.tagExp[P.tagExp.length-1]!=="/"&&L++,T=P.closeIndex)}}function N(x,C,T){if(C&&typeof x=="string"){const I=x.trim();return I==="true"||I!=="false"&&s(x,T)}return r.isExist(x)?x:""}t.exports=class{constructor(x){this.options=x,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(C,T)=>String.fromCharCode(Number.parseInt(T,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(C,T)=>String.fromCharCode(Number.parseInt(T,16))}},this.addExternalEntities=c,this.parseXml=h,this.parseTextData=l,this.resolveNameSpace=a,this.buildAttributesMap=f,this.isItStopNode=O,this.replaceEntitiesValue=g,this.readStopNodeData=E,this.saveTextToParentTag=v,this.addChild=d,this.ignoreAttributesFn=u(this.options.ignoreAttributes)}}},338:(t,e,n)=>{const{buildOptions:r}=n(63),o=n(299),{prettify:i}=n(728),s=n(31);t.exports=class{constructor(u){this.externalEntities={},this.options=r(u)}parse(u,c){if(typeof u!="string"){if(!u.toString)throw new Error("XML data is accepted in String or Bytes[] form.");u=u.toString()}if(c){c===!0&&(c={});const p=s.validate(u,c);if(p!==!0)throw Error(`${p.err.msg}:${p.err.line}:${p.err.col}`)}const l=new o(this.options);l.addExternalEntities(this.externalEntities);const a=l.parseXml(u);return this.options.preserveOrder||a===void 0?a:i(a,this.options)}addEntity(u,c){if(c.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(u.indexOf("&")!==-1||u.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(c==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[u]=c}}},728:(t,e)=>{function n(s,u,c){let l;const a={};for(let p=0;p<s.length;p++){const f=s[p],h=r(f);let d="";if(d=c===void 0?h:c+"."+h,h===u.textNodeName)l===void 0?l=f[h]:l+=""+f[h];else{if(h===void 0)continue;if(f[h]){let g=n(f[h],u,d);const v=i(g,u);f[":@"]?o(g,f[":@"],d,u):Object.keys(g).length!==1||g[u.textNodeName]===void 0||u.alwaysCreateTextNode?Object.keys(g).length===0&&(u.alwaysCreateTextNode?g[u.textNodeName]="":g=""):g=g[u.textNodeName],a[h]!==void 0&&a.hasOwnProperty(h)?(Array.isArray(a[h])||(a[h]=[a[h]]),a[h].push(g)):u.isArray(h,d,v)?a[h]=[g]:a[h]=g}}}return typeof l=="string"?l.length>0&&(a[u.textNodeName]=l):l!==void 0&&(a[u.textNodeName]=l),a}function r(s){const u=Object.keys(s);for(let c=0;c<u.length;c++){const l=u[c];if(l!==":@")return l}}function o(s,u,c,l){if(u){const a=Object.keys(u),p=a.length;for(let f=0;f<p;f++){const h=a[f];l.isArray(h,c+"."+h,!0,!0)?s[h]=[u[h]]:s[h]=u[h]}}}function i(s,u){const{textNodeName:c}=u,l=Object.keys(s).length;return l===0||!(l!==1||!s[c]&&typeof s[c]!="boolean"&&s[c]!==0)}e.prettify=function(s,u){return n(s,u)}},365:t=>{t.exports=class{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,n){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:n})}addChild(e){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child})}}},135:t=>{function e(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}t.exports=function(n){return n!=null&&(e(n)||function(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&e(r.slice(0,0))}(n)||!!n._isBuffer)}},542:(t,e,n)=>{(function(){var r=n(298),o=n(526).utf8,i=n(135),s=n(526).bin,u=function(c,l){c.constructor==String?c=l&&l.encoding==="binary"?s.stringToBytes(c):o.stringToBytes(c):i(c)?c=Array.prototype.slice.call(c,0):Array.isArray(c)||c.constructor===Uint8Array||(c=c.toString());for(var a=r.bytesToWords(c),p=8*c.length,f=1732584193,h=-271733879,d=-1732584194,g=271733878,v=0;v<a.length;v++)a[v]=16711935&(a[v]<<8|a[v]>>>24)|4278255360&(a[v]<<24|a[v]>>>8);a[p>>>5]|=128<<p%32,a[14+(p+64>>>9<<4)]=p;var O=u._ff,m=u._gg,b=u._hh,E=u._ii;for(v=0;v<a.length;v+=16){var N=f,x=h,C=d,T=g;f=O(f,h,d,g,a[v+0],7,-680876936),g=O(g,f,h,d,a[v+1],12,-389564586),d=O(d,g,f,h,a[v+2],17,606105819),h=O(h,d,g,f,a[v+3],22,-1044525330),f=O(f,h,d,g,a[v+4],7,-176418897),g=O(g,f,h,d,a[v+5],12,1200080426),d=O(d,g,f,h,a[v+6],17,-1473231341),h=O(h,d,g,f,a[v+7],22,-45705983),f=O(f,h,d,g,a[v+8],7,1770035416),g=O(g,f,h,d,a[v+9],12,-1958414417),d=O(d,g,f,h,a[v+10],17,-42063),h=O(h,d,g,f,a[v+11],22,-1990404162),f=O(f,h,d,g,a[v+12],7,1804603682),g=O(g,f,h,d,a[v+13],12,-40341101),d=O(d,g,f,h,a[v+14],17,-1502002290),f=m(f,h=O(h,d,g,f,a[v+15],22,1236535329),d,g,a[v+1],5,-165796510),g=m(g,f,h,d,a[v+6],9,-1069501632),d=m(d,g,f,h,a[v+11],14,643717713),h=m(h,d,g,f,a[v+0],20,-373897302),f=m(f,h,d,g,a[v+5],5,-701558691),g=m(g,f,h,d,a[v+10],9,38016083),d=m(d,g,f,h,a[v+15],14,-660478335),h=m(h,d,g,f,a[v+4],20,-405537848),f=m(f,h,d,g,a[v+9],5,568446438),g=m(g,f,h,d,a[v+14],9,-1019803690),d=m(d,g,f,h,a[v+3],14,-187363961),h=m(h,d,g,f,a[v+8],20,1163531501),f=m(f,h,d,g,a[v+13],5,-1444681467),g=m(g,f,h,d,a[v+2],9,-51403784),d=m(d,g,f,h,a[v+7],14,1735328473),f=b(f,h=m(h,d,g,f,a[v+12],20,-1926607734),d,g,a[v+5],4,-378558),g=b(g,f,h,d,a[v+8],11,-2022574463),d=b(d,g,f,h,a[v+11],16,1839030562),h=b(h,d,g,f,a[v+14],23,-35309556),f=b(f,h,d,g,a[v+1],4,-1530992060),g=b(g,f,h,d,a[v+4],11,1272893353),d=b(d,g,f,h,a[v+7],16,-155497632),h=b(h,d,g,f,a[v+10],23,-1094730640),f=b(f,h,d,g,a[v+13],4,681279174),g=b(g,f,h,d,a[v+0],11,-358537222),d=b(d,g,f,h,a[v+3],16,-722521979),h=b(h,d,g,f,a[v+6],23,76029189),f=b(f,h,d,g,a[v+9],4,-640364487),g=b(g,f,h,d,a[v+12],11,-421815835),d=b(d,g,f,h,a[v+15],16,530742520),f=E(f,h=b(h,d,g,f,a[v+2],23,-995338651),d,g,a[v+0],6,-198630844),g=E(g,f,h,d,a[v+7],10,1126891415),d=E(d,g,f,h,a[v+14],15,-1416354905),h=E(h,d,g,f,a[v+5],21,-57434055),f=E(f,h,d,g,a[v+12],6,1700485571),g=E(g,f,h,d,a[v+3],10,-1894986606),d=E(d,g,f,h,a[v+10],15,-1051523),h=E(h,d,g,f,a[v+1],21,-2054922799),f=E(f,h,d,g,a[v+8],6,1873313359),g=E(g,f,h,d,a[v+15],10,-30611744),d=E(d,g,f,h,a[v+6],15,-1560198380),h=E(h,d,g,f,a[v+13],21,1309151649),f=E(f,h,d,g,a[v+4],6,-145523070),g=E(g,f,h,d,a[v+11],10,-1120210379),d=E(d,g,f,h,a[v+2],15,718787259),h=E(h,d,g,f,a[v+9],21,-343485551),f=f+N>>>0,h=h+x>>>0,d=d+C>>>0,g=g+T>>>0}return r.endian([f,h,d,g])};u._ff=function(c,l,a,p,f,h,d){var g=c+(l&a|~l&p)+(f>>>0)+d;return(g<<h|g>>>32-h)+l},u._gg=function(c,l,a,p,f,h,d){var g=c+(l&p|a&~p)+(f>>>0)+d;return(g<<h|g>>>32-h)+l},u._hh=function(c,l,a,p,f,h,d){var g=c+(l^a^p)+(f>>>0)+d;return(g<<h|g>>>32-h)+l},u._ii=function(c,l,a,p,f,h,d){var g=c+(a^(l|~p))+(f>>>0)+d;return(g<<h|g>>>32-h)+l},u._blocksize=16,u._digestsize=16,t.exports=function(c,l){if(c==null)throw new Error("Illegal argument "+c);var a=r.wordsToBytes(u(c,l));return l&&l.asBytes?a:l&&l.asString?s.bytesToString(a):r.bytesToHex(a)}})()},285:(t,e,n)=>{var r=n(2);t.exports=function(O){return O?(O.substr(0,2)==="{}"&&(O="\\{\\}"+O.substr(2)),v(function(m){return m.split("\\\\").join(o).split("\\{").join(i).split("\\}").join(s).split("\\,").join(u).split("\\.").join(c)}(O),!0).map(a)):[]};var o="\0SLASH"+Math.random()+"\0",i="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",u="\0COMMA"+Math.random()+"\0",c="\0PERIOD"+Math.random()+"\0";function l(O){return parseInt(O,10)==O?parseInt(O,10):O.charCodeAt(0)}function a(O){return O.split(o).join("\\").split(i).join("{").split(s).join("}").split(u).join(",").split(c).join(".")}function p(O){if(!O)return[""];var m=[],b=r("{","}",O);if(!b)return O.split(",");var E=b.pre,N=b.body,x=b.post,C=E.split(",");C[C.length-1]+="{"+N+"}";var T=p(x);return x.length&&(C[C.length-1]+=T.shift(),C.push.apply(C,T)),m.push.apply(m,C),m}function f(O){return"{"+O+"}"}function h(O){return/^-?0\d/.test(O)}function d(O,m){return O<=m}function g(O,m){return O>=m}function v(O,m){var b=[],E=r("{","}",O);if(!E)return[O];var N=E.pre,x=E.post.length?v(E.post,!1):[""];if(/\$$/.test(E.pre))for(var C=0;C<x.length;C++){var T=N+"{"+E.body+"}"+x[C];b.push(T)}else{var I,L,P=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(E.body),w=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(E.body),y=P||w,A=E.body.indexOf(",")>=0;if(!y&&!A)return E.post.match(/,.*\}/)?v(O=E.pre+"{"+E.body+s+E.post):[O];if(y)I=E.body.split(/\.\./);else if((I=p(E.body)).length===1&&(I=v(I[0],!1).map(f)).length===1)return x.map(function(Et){return E.pre+I[0]+Et});if(y){var $=l(I[0]),k=l(I[1]),U=Math.max(I[0].length,I[1].length),F=I.length==3?Math.abs(l(I[2])):1,M=d;k<$&&(F*=-1,M=g);var z=I.some(h);L=[];for(var j=$;M(j,k);j+=F){var B;if(w)(B=String.fromCharCode(j))==="\\"&&(B="");else if(B=String(j),z){var V=U-B.length;if(V>0){var ft=new Array(V+1).join("0");B=j<0?"-"+ft+B.slice(1):ft+B}}L.push(B)}}else{L=[];for(var q=0;q<I.length;q++)L.push.apply(L,v(I[q],!1))}for(q=0;q<L.length;q++)for(C=0;C<x.length;C++)T=N+L[q]+x[C],(!m||y||T)&&b.push(T)}return b}},829:t=>{function e(l){return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e(l)}function n(l){var a=typeof Map=="function"?new Map:void 0;return n=function(p){if(p===null||(f=p,Function.toString.call(f).indexOf("[native code]")===-1))return p;var f;if(typeof p!="function")throw new TypeError("Super expression must either be null or a function");if(a!==void 0){if(a.has(p))return a.get(p);a.set(p,h)}function h(){return r(p,arguments,i(this).constructor)}return h.prototype=Object.create(p.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),o(h,p)},n(l)}function r(l,a,p){return r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()?Reflect.construct:function(f,h,d){var g=[null];g.push.apply(g,h);var v=new(Function.bind.apply(f,g));return d&&o(v,d.prototype),v},r.apply(null,arguments)}function o(l,a){return o=Object.setPrototypeOf||function(p,f){return p.__proto__=f,p},o(l,a)}function i(l){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},i(l)}var s=function(l){function a(p){var f;return function(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}(this,a),(f=function(h,d){return!d||e(d)!=="object"&&typeof d!="function"?function(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}(h):d}(this,i(a).call(this,p))).name="ObjectPrototypeMutationError",f}return function(p,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(f&&f.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),f&&o(p,f)}(a,l),a}(n(Error));function u(l,a){for(var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},f=a.split("."),h=f.length,d=function(O){var m=f[O];if(!l)return{v:void 0};if(m==="+"){if(Array.isArray(l))return{v:l.map(function(E,N){var x=f.slice(O+1);return x.length>0?u(E,x.join("."),p):p(l,N,f,O)})};var b=f.slice(0,O).join(".");throw new Error("Object at wildcard (".concat(b,") is not an array"))}l=p(l,m,f,O)},g=0;g<h;g++){var v=d(g);if(e(v)==="object")return v.v}return l}function c(l,a){return l.length===a+1}t.exports={set:function(l,a,p){if(e(l)!="object"||l===null||a===void 0)return l;if(typeof a=="number")return l[a]=p,l[a];try{return u(l,a,function(f,h,d,g){if(f===Reflect.getPrototypeOf({}))throw new s("Attempting to mutate Object.prototype");if(!f[h]){var v=Number.isInteger(Number(d[g+1])),O=d[g+1]==="+";f[h]=v||O?[]:{}}return c(d,g)&&(f[h]=p),f[h]})}catch(f){if(f instanceof s)throw f;return l}},get:function(l,a){if(e(l)!="object"||l===null||a===void 0)return l;if(typeof a=="number")return l[a];try{return u(l,a,function(p,f){return p[f]})}catch{return l}},has:function(l,a){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(e(l)!="object"||l===null||a===void 0)return!1;if(typeof a=="number")return a in l;try{var f=!1;return u(l,a,function(h,d,g,v){if(!c(g,v))return h&&h[d];f=p.own?h.hasOwnProperty(d):d in h}),f}catch{return!1}},hasOwn:function(l,a,p){return this.has(l,a,p||{own:!0})},isIn:function(l,a,p){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e(l)!="object"||l===null||a===void 0)return!1;try{var h=!1,d=!1;return u(l,a,function(g,v,O,m){return h=h||g===p||!!g&&g[v]===p,d=c(O,m)&&e(g)==="object"&&v in g,g&&g[v]}),f.validPath?h&&d:h}catch{return!1}},ObjectPrototypeMutationError:s}},47:(t,e,n)=>{var r=n(410),o=function(l){return typeof l=="string"};function i(l,a){for(var p=[],f=0;f<l.length;f++){var h=l[f];h&&h!=="."&&(h===".."?p.length&&p[p.length-1]!==".."?p.pop():a&&p.push(".."):p.push(h))}return p}var s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,u={};function c(l){return s.exec(l).slice(1)}u.resolve=function(){for(var l="",a=!1,p=arguments.length-1;p>=-1&&!a;p--){var f=p>=0?arguments[p]:Ze.cwd();if(!o(f))throw new TypeError("Arguments to path.resolve must be strings");f&&(l=f+"/"+l,a=f.charAt(0)==="/")}return(a?"/":"")+(l=i(l.split("/"),!a).join("/"))||"."},u.normalize=function(l){var a=u.isAbsolute(l),p=l.substr(-1)==="/";return(l=i(l.split("/"),!a).join("/"))||a||(l="."),l&&p&&(l+="/"),(a?"/":"")+l},u.isAbsolute=function(l){return l.charAt(0)==="/"},u.join=function(){for(var l="",a=0;a<arguments.length;a++){var p=arguments[a];if(!o(p))throw new TypeError("Arguments to path.join must be strings");p&&(l+=l?"/"+p:p)}return u.normalize(l)},u.relative=function(l,a){function p(m){for(var b=0;b<m.length&&m[b]==="";b++);for(var E=m.length-1;E>=0&&m[E]==="";E--);return b>E?[]:m.slice(b,E+1)}l=u.resolve(l).substr(1),a=u.resolve(a).substr(1);for(var f=p(l.split("/")),h=p(a.split("/")),d=Math.min(f.length,h.length),g=d,v=0;v<d;v++)if(f[v]!==h[v]){g=v;break}var O=[];for(v=g;v<f.length;v++)O.push("..");return(O=O.concat(h.slice(g))).join("/")},u._makeLong=function(l){return l},u.dirname=function(l){var a=c(l),p=a[0],f=a[1];return p||f?(f&&(f=f.substr(0,f.length-1)),p+f):"."},u.basename=function(l,a){var p=c(l)[2];return a&&p.substr(-1*a.length)===a&&(p=p.substr(0,p.length-a.length)),p},u.extname=function(l){return c(l)[3]},u.format=function(l){if(!r.isObject(l))throw new TypeError("Parameter 'pathObject' must be an object, not "+typeof l);var a=l.root||"";if(!o(a))throw new TypeError("'pathObject.root' must be a string or undefined, not "+typeof l.root);return(l.dir?l.dir+u.sep:"")+(l.base||"")},u.parse=function(l){if(!o(l))throw new TypeError("Parameter 'pathString' must be a string, not "+typeof l);var a=c(l);if(!a||a.length!==4)throw new TypeError("Invalid path '"+l+"'");return a[1]=a[1]||"",a[2]=a[2]||"",a[3]=a[3]||"",{root:a[0],dir:a[0]+a[1].slice(0,a[1].length-1),base:a[2],ext:a[3],name:a[2].slice(0,a[2].length-a[3].length)}},u.sep="/",u.delimiter=":",t.exports=u},647:(t,e)=>{var n=Object.prototype.hasOwnProperty;function r(i){try{return decodeURIComponent(i.replace(/\+/g," "))}catch{return null}}function o(i){try{return encodeURIComponent(i)}catch{return null}}e.stringify=function(i,s){s=s||"";var u,c,l=[];for(c in typeof s!="string"&&(s="?"),i)if(n.call(i,c)){if((u=i[c])||u!=null&&!isNaN(u)||(u=""),c=o(c),u=o(u),c===null||u===null)continue;l.push(c+"="+u)}return l.length?s+l.join("&"):""},e.parse=function(i){for(var s,u=/([^=?#&]+)=?([^&]*)/g,c={};s=u.exec(i);){var l=r(s[1]),a=r(s[2]);l===null||a===null||l in c||(c[l]=a)}return c}},670:t=>{t.exports=function(e,n){if(n=n.split(":")[0],!(e=+e))return!1;switch(n){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}},494:t=>{const e=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const r={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};t.exports=function(o){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(i=Object.assign({},r,i),!o||typeof o!="string")return o;let s=o.trim();if(i.skipLike!==void 0&&i.skipLike.test(s))return o;if(i.hex&&e.test(s))return Number.parseInt(s,16);{const c=n.exec(s);if(c){const l=c[1],a=c[2];let p=((u=c[3])&&u.indexOf(".")!==-1&&((u=u.replace(/0+$/,""))==="."?u="0":u[0]==="."?u="0"+u:u[u.length-1]==="."&&(u=u.substr(0,u.length-1))),u);const f=c[4]||c[6];if(!i.leadingZeros&&a.length>0&&l&&s[2]!=="."||!i.leadingZeros&&a.length>0&&!l&&s[1]!==".")return o;{const h=Number(s),d=""+h;return d.search(/[eE]/)!==-1||f?i.eNotation?h:o:s.indexOf(".")!==-1?d==="0"&&p===""||d===p||l&&d==="-"+p?h:o:a?p===d||l+p===d?h:o:s===d||s===l+d?h:o}}return o}var u}},737:(t,e,n)=>{var r=n(670),o=n(647),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,u=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,a=/^[a-zA-Z]:/;function p(m){return(m||"").toString().replace(i,"")}var f=[["#","hash"],["?","query"],function(m,b){return g(b.protocol)?m.replace(/\\/g,"/"):m},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],h={hash:1,query:1};function d(m){var b,E=(typeof window<"u"?window:typeof Ve<"u"?Ve:typeof self<"u"?self:{}).location||{},N={},x=typeof(m=m||E);if(m.protocol==="blob:")N=new O(unescape(m.pathname),{});else if(x==="string")for(b in N=new O(m,{}),h)delete N[b];else if(x==="object"){for(b in m)b in h||(N[b]=m[b]);N.slashes===void 0&&(N.slashes=u.test(m.href))}return N}function g(m){return m==="file:"||m==="ftp:"||m==="http:"||m==="https:"||m==="ws:"||m==="wss:"}function v(m,b){m=(m=p(m)).replace(s,""),b=b||{};var E,N=l.exec(m),x=N[1]?N[1].toLowerCase():"",C=!!N[2],T=!!N[3],I=0;return C?T?(E=N[2]+N[3]+N[4],I=N[2].length+N[3].length):(E=N[2]+N[4],I=N[2].length):T?(E=N[3]+N[4],I=N[3].length):E=N[4],x==="file:"?I>=2&&(E=E.slice(2)):g(x)?E=N[4]:x?C&&(E=E.slice(2)):I>=2&&g(b.protocol)&&(E=N[4]),{protocol:x,slashes:C||g(x),slashesCount:I,rest:E}}function O(m,b,E){if(m=(m=p(m)).replace(s,""),!(this instanceof O))return new O(m,b,E);var N,x,C,T,I,L,P=f.slice(),w=typeof b,y=this,A=0;for(w!=="object"&&w!=="string"&&(E=b,b=null),E&&typeof E!="function"&&(E=o.parse),N=!(x=v(m||"",b=d(b))).protocol&&!x.slashes,y.slashes=x.slashes||N&&b.slashes,y.protocol=x.protocol||b.protocol||"",m=x.rest,(x.protocol==="file:"&&(x.slashesCount!==2||a.test(m))||!x.slashes&&(x.protocol||x.slashesCount<2||!g(y.protocol)))&&(P[3]=[/(.*)/,"pathname"]);A<P.length;A++)typeof(T=P[A])!="function"?(C=T[0],L=T[1],C!=C?y[L]=m:typeof C=="string"?~(I=C==="@"?m.lastIndexOf(C):m.indexOf(C))&&(typeof T[2]=="number"?(y[L]=m.slice(0,I),m=m.slice(I+T[2])):(y[L]=m.slice(I),m=m.slice(0,I))):(I=C.exec(m))&&(y[L]=I[1],m=m.slice(0,I.index)),y[L]=y[L]||N&&T[3]&&b[L]||"",T[4]&&(y[L]=y[L].toLowerCase())):m=T(m,y);E&&(y.query=E(y.query)),N&&b.slashes&&y.pathname.charAt(0)!=="/"&&(y.pathname!==""||b.pathname!=="")&&(y.pathname=function($,k){if($==="")return k;for(var U=(k||"/").split("/").slice(0,-1).concat($.split("/")),F=U.length,M=U[F-1],z=!1,j=0;F--;)U[F]==="."?U.splice(F,1):U[F]===".."?(U.splice(F,1),j++):j&&(F===0&&(z=!0),U.splice(F,1),j--);return z&&U.unshift(""),M!=="."&&M!==".."||U.push(""),U.join("/")}(y.pathname,b.pathname)),y.pathname.charAt(0)!=="/"&&g(y.protocol)&&(y.pathname="/"+y.pathname),r(y.port,y.protocol)||(y.host=y.hostname,y.port=""),y.username=y.password="",y.auth&&(~(I=y.auth.indexOf(":"))?(y.username=y.auth.slice(0,I),y.username=encodeURIComponent(decodeURIComponent(y.username)),y.password=y.auth.slice(I+1),y.password=encodeURIComponent(decodeURIComponent(y.password))):y.username=encodeURIComponent(decodeURIComponent(y.auth)),y.auth=y.password?y.username+":"+y.password:y.username),y.origin=y.protocol!=="file:"&&g(y.protocol)&&y.host?y.protocol+"//"+y.host:"null",y.href=y.toString()}O.prototype={set:function(m,b,E){var N=this;switch(m){case"query":typeof b=="string"&&b.length&&(b=(E||o.parse)(b)),N[m]=b;break;case"port":N[m]=b,r(b,N.protocol)?b&&(N.host=N.hostname+":"+b):(N.host=N.hostname,N[m]="");break;case"hostname":N[m]=b,N.port&&(b+=":"+N.port),N.host=b;break;case"host":N[m]=b,c.test(b)?(b=b.split(":"),N.port=b.pop(),N.hostname=b.join(":")):(N.hostname=b,N.port="");break;case"protocol":N.protocol=b.toLowerCase(),N.slashes=!E;break;case"pathname":case"hash":if(b){var x=m==="pathname"?"/":"#";N[m]=b.charAt(0)!==x?x+b:b}else N[m]=b;break;case"username":case"password":N[m]=encodeURIComponent(b);break;case"auth":var C=b.indexOf(":");~C?(N.username=b.slice(0,C),N.username=encodeURIComponent(decodeURIComponent(N.username)),N.password=b.slice(C+1),N.password=encodeURIComponent(decodeURIComponent(N.password))):N.username=encodeURIComponent(decodeURIComponent(b))}for(var T=0;T<f.length;T++){var I=f[T];I[4]&&(N[I[1]]=N[I[1]].toLowerCase())}return N.auth=N.password?N.username+":"+N.password:N.username,N.origin=N.protocol!=="file:"&&g(N.protocol)&&N.host?N.protocol+"//"+N.host:"null",N.href=N.toString(),N},toString:function(m){m&&typeof m=="function"||(m=o.stringify);var b,E=this,N=E.host,x=E.protocol;x&&x.charAt(x.length-1)!==":"&&(x+=":");var C=x+(E.protocol&&E.slashes||g(E.protocol)?"//":"");return E.username?(C+=E.username,E.password&&(C+=":"+E.password),C+="@"):E.password?(C+=":"+E.password,C+="@"):E.protocol!=="file:"&&g(E.protocol)&&!N&&E.pathname!=="/"&&(C+="@"),(N[N.length-1]===":"||c.test(E.hostname)&&!E.port)&&(N+=":"),C+=N+E.pathname,(b=typeof E.query=="object"?m(E.query):E.query)&&(C+=b.charAt(0)!=="?"?"?"+b:b),E.hash&&(C+=E.hash),C}},O.extractProtocol=v,O.location=d,O.trimLeft=p,O.qs=o,t.exports=O},410:()=>{},388:()=>{},805:()=>{},345:()=>{},800:()=>{}},Ls={};function K(t){var e=Ls[t];if(e!==void 0)return e.exports;var n=Ls[t]={id:t,loaded:!1,exports:{}};return Rl[t].call(n.exports,n,n.exports,K),n.loaded=!0,n.exports}K.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return K.d(e,{a:e}),e},K.d=(t,e)=>{for(var n in e)K.o(e,n)&&!K.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},K.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),K.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var Dt={};K.d(Dt,{hT:()=>Tt,O4:()=>ue,Kd:()=>Bl,YK:()=>Vl,UU:()=>Zf,Gu:()=>Eu,ky:()=>Iu,h4:()=>Pn,ch:()=>jr,hq:()=>Le,i5:()=>Pu});var kl=K(737),jl=K.n(kl);function so(t){if(!ko(t))throw new Error("Parameter was not an error")}function ko(t){return!!t&&typeof t=="object"&&(e=t,Object.prototype.toString.call(e)==="[object Error]")||t instanceof Error;var e}class At extends Error{constructor(e,n){const r=[...arguments],{options:o,shortMessage:i}=function(u){let c,l="";if(u.length===0)c={};else if(ko(u[0]))c={cause:u[0]},l=u.slice(1).join(" ")||"";else if(u[0]&&typeof u[0]=="object")c=Object.assign({},u[0]),l=u.slice(1).join(" ")||"";else{if(typeof u[0]!="string")throw new Error("Invalid arguments passed to Layerr");c={},l=l=u.join(" ")||""}return{options:c,shortMessage:l}}(r);let s=i;if(o.cause&&(s=`${s}: ${o.cause.message}`),super(s),this.message=s,o.name&&typeof o.name=="string"?this.name=o.name:this.name="Layerr",o.cause&&Object.defineProperty(this,"_cause",{value:o.cause}),Object.defineProperty(this,"_info",{value:{}}),o.info&&typeof o.info=="object"&&Object.assign(this._info,o.info),Error.captureStackTrace){const u=o.constructorOpt||this.constructor;Error.captureStackTrace(this,u)}}static cause(e){return so(e),e._cause&&ko(e._cause)?e._cause:null}static fullStack(e){so(e);const n=At.cause(e);return n?`${e.stack} caused by: ${At.fullStack(n)}`:e.stack??""}static info(e){so(e);const n={},r=At.cause(e);return r&&Object.assign(n,At.info(r)),e._info&&Object.assign(n,e._info),n}toString(){let e=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e=`${e}: ${this.message}`),e}}var Dl=K(47),mr=K.n(Dl);const Rs="__PATH_SEPARATOR_POSIX__",ks="__PATH_SEPARATOR_WINDOWS__";function et(t){try{const e=t.replace(/\//g,Rs).replace(/\\\\/g,ks);return encodeURIComponent(e).split(ks).join("\\\\").split(Rs).join("/")}catch(e){throw new At(e,"Failed encoding path")}}function js(t){return t.startsWith("/")?t:"/"+t}function Tn(t){let e=t;return e[0]!=="/"&&(e="/"+e),/^.+\/$/.test(e)&&(e=e.substr(0,e.length-1)),e}function Ml(t){let e=new(jl())(t).pathname;return e.length<=0&&(e="/"),Tn(e)}function nt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(){return function(r){var o=[];if(r.length===0)return"";if(typeof r[0]!="string")throw new TypeError("Url must be a string. Received "+r[0]);if(r[0].match(/^[^/:]+:\/*$/)&&r.length>1){var i=r.shift();r[0]=i+r[0]}r[0].match(/^file:\/\/\//)?r[0]=r[0].replace(/^([^/:]+):\/*/,"$1:///"):r[0]=r[0].replace(/^([^/:]+):\/*/,"$1://");for(var s=0;s<r.length;s++){var u=r[s];if(typeof u!="string")throw new TypeError("Url must be a string. Received "+u);u!==""&&(s>0&&(u=u.replace(/^[\/]+/,"")),u=s<r.length-1?u.replace(/[\/]+$/,""):u.replace(/[\/]+$/,"/"),o.push(u))}var c=o.join("/"),l=(c=c.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return l.shift()+(l.length>0?"?":"")+l.join("&")}(typeof arguments[0]=="object"?arguments[0]:[].slice.call(arguments))}(e.reduce((r,o,i)=>((i===0||o!=="/"||o==="/"&&r[r.length-1]!=="/")&&r.push(o),r),[]))}var Fl=K(542),ln=K.n(Fl);const Ul="abcdef0123456789";function Ds(t,e){const n=t.url.replace("//",""),r=n.indexOf("/")==-1?"/":n.slice(n.indexOf("/")),o=t.method?t.method.toUpperCase():"GET",i=!!/(^|,)\s*auth\s*($|,)/.test(e.qop)&&"auth",s=`00000000${e.nc}`.slice(-8),u=function(f,h,d,g,v,O,m){const b=m||ln()(`${h}:${d}:${g}`);return f&&f.toLowerCase()==="md5-sess"?ln()(`${b}:${v}:${O}`):b}(e.algorithm,e.username,e.realm,e.password,e.nonce,e.cnonce,e.ha1),c=ln()(`${o}:${r}`),l=i?ln()(`${u}:${e.nonce}:${s}:${e.cnonce}:${i}:${c}`):ln()(`${u}:${e.nonce}:${c}`),a={username:e.username,realm:e.realm,nonce:e.nonce,uri:r,qop:i,response:l,nc:s,cnonce:e.cnonce,algorithm:e.algorithm,opaque:e.opaque},p=[];for(const f in a)a[f]&&(f==="qop"||f==="nc"||f==="algorithm"?p.push(`${f}=${a[f]}`):p.push(`${f}="${a[f]}"`));return`Digest ${p.join(", ")}`}function bu(t){return(t.headers&&t.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()==="digest"}var zl=K(101),_u=K.n(zl);function Ms(t){return _u().decode(t)}function Fs(t,e){var n;return`Basic ${n=`${t}:${e}`,_u().encode(n)}`}const vr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:typeof window<"u"?window:globalThis,Gl=vr.fetch.bind(vr),Bl=vr.Request,Vl=vr.Response;let Tt=function(t){return t.Auto="auto",t.Digest="digest",t.None="none",t.Password="password",t.Token="token",t}({}),ue=function(t){return t.DataTypeNoLength="data-type-no-length",t.InvalidAuthType="invalid-auth-type",t.InvalidOutputFormat="invalid-output-format",t.LinkUnsupportedAuthType="link-unsupported-auth",t.InvalidUpdateRange="invalid-update-range",t.NotSupported="not-supported",t}({});function wu(t,e,n,r,o){switch(t.authType){case Tt.Auto:e&&n&&(t.headers.Authorization=Fs(e,n));break;case Tt.Digest:t.digest=function(s,u,c){return{username:s,password:u,ha1:c,nc:0,algorithm:"md5",hasDigestAuth:!1}}(e,n,o);break;case Tt.None:break;case Tt.Password:t.headers.Authorization=Fs(e,n);break;case Tt.Token:t.headers.Authorization=`${(i=r).token_type} ${i.access_token}`;break;default:throw new At({info:{code:ue.InvalidAuthType}},`Invalid auth type: ${t.authType}`)}var i}K(345),K(800);const Us="@@HOTPATCHER",Wl=()=>{};function ao(t){return{original:t,methods:[t],final:!1}}class Hl{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=Us}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(e){this.configuration.getEmptyAction=e}control(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!e||e.__type__!==Us)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(e.configuration.registry).forEach(r=>{this.configuration.registry.hasOwnProperty(r)?n&&(this.configuration.registry[r]=Object.assign({},e.configuration.registry[r])):this.configuration.registry[r]=Object.assign({},e.configuration.registry[r])}),e._configuration=this.configuration,this}execute(e){const n=this.get(e)||Wl;for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n(...o)}get(e){const n=this.configuration.registry[e];if(!n)switch(this.getEmptyAction){case"null":return null;case"throw":throw new Error(`Failed handling method request: No method provided for override: ${e}`);default:throw new Error(`Failed handling request which resulted in an empty method: Invalid empty-action specified: ${this.getEmptyAction}`)}return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];if(o.length===0)throw new Error("Failed creating sequence: No functions provided");return function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];let l=u;const a=this;for(;o.length>0;)l=[o.shift().apply(a,l)];return l[0]}}(...n.methods)}isPatched(e){return!!this.configuration.registry[e]}patch(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{chain:o=!1}=r;if(this.configuration.registry[e]&&this.configuration.registry[e].final)throw new Error(`Failed patching '${e}': Method marked as being final`);if(typeof n!="function")throw new Error(`Failed patching '${e}': Provided method is not a function`);if(o)this.configuration.registry[e]?this.configuration.registry[e].methods.push(n):this.configuration.registry[e]=ao(n);else if(this.isPatched(e)){const{original:i}=this.configuration.registry[e];this.configuration.registry[e]=Object.assign(ao(n),{original:i})}else this.configuration.registry[e]=ao(n);return this}patchInline(e,n){this.isPatched(e)||this.patch(e,n);for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return this.execute(e,...o)}plugin(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach(i=>{this.patch(e,i,{chain:!0})}),this}restore(e){if(!this.isPatched(e))throw new Error(`Failed restoring method: No method present for key: ${e}`);if(typeof this.configuration.registry[e].original!="function")throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${e}`);return this.configuration.registry[e].methods=[this.configuration.registry[e].original],this}setFinal(e){if(!this.configuration.registry.hasOwnProperty(e))throw new Error(`Failed marking '${e}' as final: No method found for key`);return this.configuration.registry[e].final=!0,this}}let uo=null;function Eu(){return uo||(uo=new Hl),uo}function yr(t){return function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let n=e;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}(t)?Object.assign({},t):Object.setPrototypeOf(Object.assign({},t),Object.getPrototypeOf(t))}function zs(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=null,o=[...e];for(;o.length>0;){const i=o.shift();r=r?xu(r,i):yr(i)}return r}function xu(t,e){const n=yr(t);return Object.keys(e).forEach(r=>{n.hasOwnProperty(r)?Array.isArray(e[r])?n[r]=Array.isArray(n[r])?[...n[r],...e[r]]:[...e[r]]:typeof e[r]=="object"&&e[r]?n[r]=typeof n[r]=="object"&&n[r]?xu(n[r],e[r]):yr(e[r]):n[r]=e[r]:n[r]=e[r]}),n}function ql(t){const e={};for(const n of t.keys())e[n]=t.get(n);return e}function jo(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(e.length===0)return{};const r={};return e.reduce((o,i)=>(Object.keys(i).forEach(s=>{const u=s.toLowerCase();r.hasOwnProperty(u)?o[r[u]]=i[s]:(r[u]=s,o[s]=i[s])}),o),{})}K(805);const Xl=typeof ArrayBuffer=="function",{toString:Yl}=Object.prototype;function Ou(t){return Xl&&(t instanceof ArrayBuffer||Yl.call(t)==="[object ArrayBuffer]")}function Tu(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function yi(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}function Do(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Nu=yi(function(t){const e=t._digest;return delete t._digest,e.hasDigestAuth&&(t=zs(t,{headers:{Authorization:Ds(t,e)}})),Do(br(t),function(n){let r=!1;return o=function(s){return r?s:n},(i=function(){if(n.status==401)return e.hasDigestAuth=function(s,u){if(!bu(s))return!1;const c=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;for(;;){const l=s.headers&&s.headers.get("www-authenticate")||"",a=c.exec(l);if(!a)break;u[a[1]]=a[2]||a[3]}return u.nc+=1,u.cnonce=function(){let l="";for(let a=0;a<32;++a)l=`${l}${Ul[Math.floor(16*Math.random())]}`;return l}(),!0}(n,e),function(){if(e.hasDigestAuth)return Do(br(t=zs(t,{headers:{Authorization:Ds(t,e)}})),function(s){return s.status==401?e.hasDigestAuth=!1:e.nc++,r=!0,s})}();e.nc++}())&&i.then?i.then(o):o(i);var o,i})}),Kl=yi(function(t,e){return Do(br(t),function(n){return n.ok?(e.authType=Tt.Password,n):n.status==401&&bu(n)?(e.authType=Tt.Digest,wu(e,e.username,e.password,void 0,void 0),t._digest=e.digest,Nu(t)):n})}),ut=yi(function(t,e){return e.authType===Tt.Auto?Kl(t,e):t._digest?Nu(t):br(t)});function ct(t,e,n){const r=yr(t);return r.headers=jo(e.headers,r.headers||{},n.headers||{}),n.data!==void 0&&(r.data=n.data),n.signal&&(r.signal=n.signal),e.httpAgent&&(r.httpAgent=e.httpAgent),e.httpsAgent&&(r.httpsAgent=e.httpsAgent),e.digest&&(r._digest=e.digest),typeof e.withCredentials=="boolean"&&(r.withCredentials=e.withCredentials),r}function br(t){const e=Eu();return e.patchInline("request",n=>e.patchInline("fetch",Gl,n.url,function(r){let o={};const i={method:r.method};if(r.headers&&(o=jo(o,r.headers)),r.data!==void 0){const[s,u]=function(c){if(typeof c=="string")return[c,{}];if(Tu(c))return[c,{}];if(Ou(c))return[c,{}];if(c&&typeof c=="object")return[JSON.stringify(c),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof c)}(r.data);i.body=s,o=jo(o,u)}return r.signal&&(i.signal=r.signal),r.withCredentials&&(i.credentials="include"),i.headers=o,i}(n)),t)}var Zl=K(285);const _r=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},Jl={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},fn=t=>t.replace(/[[\]\\-]/g,"\\$&"),Gs=t=>t.join(""),Ql=(t,e)=>{const n=e;if(t.charAt(n)!=="[")throw new Error("not in a brace expression");const r=[],o=[];let i=n+1,s=!1,u=!1,c=!1,l=!1,a=n,p="";t:for(;i<t.length;){const g=t.charAt(i);if(g!=="!"&&g!=="^"||i!==n+1){if(g==="]"&&s&&!c){a=i+1;break}if(s=!0,g!=="\\"||c){if(g==="["&&!c){for(const[v,[O,m,b]]of Object.entries(Jl))if(t.startsWith(v,i)){if(p)return["$.",!1,t.length-n,!0];i+=v.length,b?o.push(O):r.push(O),u=u||m;continue t}}c=!1,p?(g>p?r.push(fn(p)+"-"+fn(g)):g===p&&r.push(fn(g)),p="",i++):t.startsWith("-]",i+1)?(r.push(fn(g+"-")),i+=2):t.startsWith("-",i+1)?(p=g,i+=2):(r.push(fn(g)),i++)}else c=!0,i++}else l=!0,i++}if(a<i)return["",!1,0,!1];if(!r.length&&!o.length)return["$.",!1,t.length-n,!0];if(o.length===0&&r.length===1&&/^\\?.$/.test(r[0])&&!l)return[(f=r[0].length===2?r[0].slice(-1):r[0],f.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")),!1,a-n,!1];var f;const h="["+(l?"^":"")+Gs(r)+"]",d="["+(l?"":"^")+Gs(o)+"]";return[r.length&&o.length?"("+h+"|"+d+")":r.length?h:d,u,a-n,!0]},_n=function(t){let{windowsPathsNoEscape:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},tf=new Set(["!","?","+","*","@"]),Bs=t=>tf.has(t),co="(?!\\.)",ef=new Set(["[","."]),nf=new Set(["..","."]),rf=new Set("().*{}+?[]^$\\!"),bi="[^/]",Vs=bi+"*?",Ws=bi+"+?";class Ot{type;#n;#r;#i=!1;#t=[];#e;#s;#u;#a=!1;#o;#c;#f=!1;constructor(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.type=e,e&&(this.#r=!0),this.#e=n,this.#n=this.#e?this.#e.#n:this,this.#o=this.#n===this?r:this.#n.#o,this.#u=this.#n===this?[]:this.#n.#u,e!=="!"||this.#n.#a||this.#u.push(this),this.#s=this.#e?this.#e.#t.length:0}get hasMagic(){if(this.#r!==void 0)return this.#r;for(const e of this.#t)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#c!==void 0?this.#c:this.type?this.#c=this.type+"("+this.#t.map(e=>String(e)).join("|")+")":this.#c=this.#t.map(e=>String(e)).join("")}#h(){if(this!==this.#n)throw new Error("should only call on root");if(this.#a)return this;let e;for(this.toString(),this.#a=!0;e=this.#u.pop();){if(e.type!=="!")continue;let n=e,r=n.#e;for(;r;){for(let o=n.#s+1;!r.type&&o<r.#t.length;o++)for(const i of e.#t){if(typeof i=="string")throw new Error("string part in extglob AST??");i.copyIn(r.#t[o])}n=r,r=n.#e}}return this}push(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(const o of n)if(o!==""){if(typeof o!="string"&&!(o instanceof Ot&&o.#e===this))throw new Error("invalid part: "+o);this.#t.push(o)}}toJSON(){const e=this.type===null?this.#t.slice().map(n=>typeof n=="string"?n:n.toJSON()):[this.type,...this.#t.map(n=>n.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#n||this.#n.#a&&this.#e?.type==="!")&&e.push({}),e}isStart(){if(this.#n===this)return!0;if(!this.#e?.isStart())return!1;if(this.#s===0)return!0;const e=this.#e;for(let n=0;n<this.#s;n++){const r=e.#t[n];if(!(r instanceof Ot&&r.type==="!"))return!1}return!0}isEnd(){if(this.#n===this||this.#e?.type==="!")return!0;if(!this.#e?.isEnd())return!1;if(!this.type)return this.#e?.isEnd();const e=this.#e?this.#e.#t.length:0;return this.#s===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){const n=new Ot(this.type,e);for(const r of this.#t)n.copyIn(r);return n}static#l(e,n,r,o){let i=!1,s=!1,u=-1,c=!1;if(n.type===null){let h=r,d="";for(;h<e.length;){const g=e.charAt(h++);if(i||g==="\\")i=!i,d+=g;else if(s)h===u+1?g!=="^"&&g!=="!"||(c=!0):g!=="]"||h===u+2&&c||(s=!1),d+=g;else if(g!=="[")if(o.noext||!Bs(g)||e.charAt(h)!=="(")d+=g;else{n.push(d),d="";const v=new Ot(g,n);h=Ot.#l(e,v,h,o),n.push(v)}else s=!0,u=h,c=!1,d+=g}return n.push(d),h}let l=r+1,a=new Ot(null,n);const p=[];let f="";for(;l<e.length;){const h=e.charAt(l++);if(i||h==="\\")i=!i,f+=h;else if(s)l===u+1?h!=="^"&&h!=="!"||(c=!0):h!=="]"||l===u+2&&c||(s=!1),f+=h;else if(h!=="[")if(Bs(h)&&e.charAt(l)==="("){a.push(f),f="";const d=new Ot(h,a);a.push(d),l=Ot.#l(e,d,l,o)}else if(h!=="|"){if(h===")")return f===""&&n.#t.length===0&&(n.#f=!0),a.push(f),f="",n.push(...p,a),l;f+=h}else a.push(f),f="",p.push(a),a=new Ot(null,n);else s=!0,u=l,c=!1,f+=h}return n.type=null,n.#r=void 0,n.#t=[e.substring(r-1)],l}static fromGlob(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=new Ot(null,void 0,n);return Ot.#l(e,r,0,n),r}toMMPattern(){if(this!==this.#n)return this.#n.toMMPattern();const e=this.toString(),[n,r,o,i]=this.toRegExpSource();if(!(o||this.#r||this.#o.nocase&&!this.#o.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return r;const s=(this.#o.nocase?"i":"")+(i?"u":"");return Object.assign(new RegExp(`^${n}$`,s),{_src:n,_glob:e})}get options(){return this.#o}toRegExpSource(e){const n=e??!!this.#o.dot;if(this.#n===this&&this.#h(),!this.type){const c=this.isStart()&&this.isEnd(),l=this.#t.map(f=>{const[h,d,g,v]=typeof f=="string"?Ot.#d(f,this.#r,c):f.toRegExpSource(e);return this.#r=this.#r||g,this.#i=this.#i||v,h}).join("");let a="";if(this.isStart()&&typeof this.#t[0]=="string"&&(this.#t.length!==1||!nf.has(this.#t[0]))){const f=ef,h=n&&f.has(l.charAt(0))||l.startsWith("\\.")&&f.has(l.charAt(2))||l.startsWith("\\.\\.")&&f.has(l.charAt(4)),d=!n&&!e&&f.has(l.charAt(0));a=h?"(?!(?:^|/)\\.\\.?(?:$|/))":d?co:""}let p="";return this.isEnd()&&this.#n.#a&&this.#e?.type==="!"&&(p="(?:$|\\/)"),[a+l+p,_n(l),this.#r=!!this.#r,this.#i]}const r=this.type==="*"||this.type==="+",o=this.type==="!"?"(?:(?!(?:":"(?:";let i=this.#p(n);if(this.isStart()&&this.isEnd()&&!i&&this.type!=="!"){const c=this.toString();return this.#t=[c],this.type=null,this.#r=void 0,[c,_n(this.toString()),!1,!1]}let s=!r||e||n?"":this.#p(!0);s===i&&(s=""),s&&(i=`(?:${i})(?:${s})*?`);let u="";return u=this.type==="!"&&this.#f?(this.isStart()&&!n?co:"")+Ws:o+i+(this.type==="!"?"))"+(!this.isStart()||n||e?"":co)+Vs+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&s?")":this.type==="*"&&s?")?":`)${this.type}`),[u,_n(i),this.#r=!!this.#r,this.#i]}#p(e){return this.#t.map(n=>{if(typeof n=="string")throw new Error("string type in extglob ast??");const[r,o,i,s]=n.toRegExpSource(e);return this.#i=this.#i||s,r}).filter(n=>!(this.isStart()&&this.isEnd()&&!n)).join("|")}static#d(e,n){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],o=!1,i="",s=!1;for(let u=0;u<e.length;u++){const c=e.charAt(u);if(o)o=!1,i+=(rf.has(c)?"\\":"")+c;else if(c!=="\\"){if(c==="["){const[l,a,p,f]=Ql(e,u);if(p){i+=l,s=s||a,u+=p-1,n=n||f;continue}}c!=="*"?c!=="?"?i+=c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):(i+=bi,n=!0):(i+=r&&e==="*"?Ws:Vs,n=!0)}else u===e.length-1?i+="\\\\":o=!0}return[i,_n(e),!!n,s]}}const bt=function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return _r(e),!(!n.nocomment&&e.charAt(0)==="#")&&new wr(e,n).match(t)},of=/^\*+([^+@!?\*\[\(]*)$/,sf=t=>e=>!e.startsWith(".")&&e.endsWith(t),af=t=>e=>e.endsWith(t),uf=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),cf=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),lf=/^\*+\.\*+$/,ff=t=>!t.startsWith(".")&&t.includes("."),pf=t=>t!=="."&&t!==".."&&t.includes("."),hf=/^\.\*+$/,df=t=>t!=="."&&t!==".."&&t.startsWith("."),gf=/^\*+$/,mf=t=>t.length!==0&&!t.startsWith("."),vf=t=>t.length!==0&&t!=="."&&t!=="..",yf=/^\?+([^+@!?\*\[\(]*)?$/,bf=t=>{let[e,n=""]=t;const r=Au([e]);return n?(n=n.toLowerCase(),o=>r(o)&&o.toLowerCase().endsWith(n)):r},_f=t=>{let[e,n=""]=t;const r=Su([e]);return n?(n=n.toLowerCase(),o=>r(o)&&o.toLowerCase().endsWith(n)):r},wf=t=>{let[e,n=""]=t;const r=Su([e]);return n?o=>r(o)&&o.endsWith(n):r},Ef=t=>{let[e,n=""]=t;const r=Au([e]);return n?o=>r(o)&&o.endsWith(n):r},Au=t=>{let[e]=t;const n=e.length;return r=>r.length===n&&!r.startsWith(".")},Su=t=>{let[e]=t;const n=e.length;return r=>r.length===n&&r!=="."&&r!==".."},Cu=typeof Ze=="object"&&Ze?typeof io=="object"&&io&&io.__MINIMATCH_TESTING_PLATFORM__||Ze.platform:"posix";bt.sep=Cu==="win32"?"\\":"/";const jt=Symbol("globstar **");bt.GLOBSTAR=jt,bt.filter=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return n=>bt(n,t,e)};const kt=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.assign({},t,e)};bt.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return bt;const e=bt;return Object.assign(function(n,r){return e(n,r,kt(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))},{Minimatch:class extends e.Minimatch{constructor(n){super(n,kt(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}))}static defaults(n){return e.defaults(kt(t,n)).Minimatch}},AST:class extends e.AST{constructor(n,r){super(n,r,kt(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}static fromGlob(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.AST.fromGlob(n,kt(t,r))}},unescape:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.unescape(n,kt(t,r))},escape:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.escape(n,kt(t,r))},filter:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.filter(n,kt(t,r))},defaults:n=>e.defaults(kt(t,n)),makeRe:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.makeRe(n,kt(t,r))},braceExpand:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.braceExpand(n,kt(t,r))},match:function(n,r){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e.match(n,r,kt(t,o))},sep:e.sep,GLOBSTAR:jt})};const $u=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _r(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Zl(t)};bt.braceExpand=$u,bt.makeRe=function(t){return new wr(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).makeRe()},bt.match=function(t,e){const n=new wr(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{});return t=t.filter(r=>n.match(r)),n.options.nonull&&!t.length&&t.push(e),t};const Hs=/[?*]|[+@!]\(.*?\)|\[|\]/;class wr{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_r(e),n=n||{},this.options=n,this.pattern=e,this.platform=n.platform||Cu,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!n.windowsPathsNoEscape||n.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!n.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!n.nonegate,this.comment=!1,this.empty=!1,this.partial=!!n.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=n.windowsNoMagicRoot!==void 0?n.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const e of this.set)for(const n of e)if(typeof n!="string")return!0;return!1}debug(){}make(){const e=this.pattern,n=this.options;if(!n.nocomment&&e.charAt(0)==="#")return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],n.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,this.globSet);const r=this.globSet.map(i=>this.slashSplit(i));this.globParts=this.preprocess(r),this.debug(this.pattern,this.globParts);let o=this.globParts.map((i,s,u)=>{if(this.isWindows&&this.windowsNoMagicRoot){const c=!(i[0]!==""||i[1]!==""||i[2]!=="?"&&Hs.test(i[2])||Hs.test(i[3])),l=/^[a-z]:/i.test(i[0]);if(c)return[...i.slice(0,4),...i.slice(4).map(a=>this.parse(a))];if(l)return[i[0],...i.slice(1).map(a=>this.parse(a))]}return i.map(c=>this.parse(c))});if(this.debug(this.pattern,o),this.set=o.filter(i=>i.indexOf(!1)===-1),this.isWindows)for(let i=0;i<this.set.length;i++){const s=this.set[i];s[0]===""&&s[1]===""&&this.globParts[i][2]==="?"&&typeof s[3]=="string"&&/^[a-z]:$/i.test(s[3])&&(s[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let r=0;r<e.length;r++)for(let o=0;o<e[r].length;o++)e[r][o]==="**"&&(e[r][o]="*");const{optimizationLevel:n=1}=this.options;return n>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=n>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(n=>{let r=-1;for(;(r=n.indexOf("**",r+1))!==-1;){let o=r;for(;n[o+1]==="**";)o++;o!==r&&n.splice(r,o-r)}return n})}levelOneOptimize(e){return e.map(n=>(n=n.reduce((r,o)=>{const i=r[r.length-1];return o==="**"&&i==="**"?r:o===".."&&i&&i!==".."&&i!=="."&&i!=="**"?(r.pop(),r):(r.push(o),r)},[])).length===0?[""]:n)}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let n=!1;do{if(n=!1,!this.preserveMultipleSlashes){for(let o=1;o<e.length-1;o++){const i=e[o];o===1&&i===""&&e[0]===""||i!=="."&&i!==""||(n=!0,e.splice(o,1),o--)}e[0]!=="."||e.length!==2||e[1]!=="."&&e[1]!==""||(n=!0,e.pop())}let r=0;for(;(r=e.indexOf("..",r+1))!==-1;){const o=e[r-1];o&&o!=="."&&o!==".."&&o!=="**"&&(n=!0,e.splice(r-1,2),r-=2)}}while(n);return e.length===0?[""]:e}firstPhasePreProcess(e){let n=!1;do{n=!1;for(let r of e){let o=-1;for(;(o=r.indexOf("**",o+1))!==-1;){let s=o;for(;r[s+1]==="**";)s++;s>o&&r.splice(o+1,s-o);let u=r[o+1];const c=r[o+2],l=r[o+3];if(u!==".."||!c||c==="."||c===".."||!l||l==="."||l==="..")continue;n=!0,r.splice(o,1);const a=r.slice(0);a[o]="**",e.push(a),o--}if(!this.preserveMultipleSlashes){for(let s=1;s<r.length-1;s++){const u=r[s];s===1&&u===""&&r[0]===""||u!=="."&&u!==""||(n=!0,r.splice(s,1),s--)}r[0]!=="."||r.length!==2||r[1]!=="."&&r[1]!==""||(n=!0,r.pop())}let i=0;for(;(i=r.indexOf("..",i+1))!==-1;){const s=r[i-1];if(s&&s!=="."&&s!==".."&&s!=="**"){n=!0;const u=i===1&&r[i+1]==="**"?["."]:[];r.splice(i-1,2,...u),r.length===0&&r.push(""),i-=2}}}}while(n);return e}secondPhasePreProcess(e){for(let n=0;n<e.length-1;n++)for(let r=n+1;r<e.length;r++){const o=this.partsMatch(e[n],e[r],!this.preserveMultipleSlashes);if(o){e[n]=[],e[r]=o;break}}return e.filter(n=>n.length)}partsMatch(e,n){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],o=0,i=0,s=[],u="";for(;o<e.length&&i<n.length;)if(e[o]===n[i])s.push(u==="b"?n[i]:e[o]),o++,i++;else if(r&&e[o]==="**"&&n[i]===e[o+1])s.push(e[o]),o++;else if(r&&n[i]==="**"&&e[o]===n[i+1])s.push(n[i]),i++;else if(e[o]!=="*"||!n[i]||!this.options.dot&&n[i].startsWith(".")||n[i]==="**"){if(n[i]!=="*"||!e[o]||!this.options.dot&&e[o].startsWith(".")||e[o]==="**"||u==="a")return!1;u="b",s.push(n[i]),o++,i++}else{if(u==="b")return!1;u="a",s.push(e[o]),o++,i++}return e.length===n.length&&s}parseNegate(){if(this.nonegate)return;const e=this.pattern;let n=!1,r=0;for(let o=0;o<e.length&&e.charAt(o)==="!";o++)n=!n,r++;r&&(this.pattern=e.slice(r)),this.negate=n}matchOne(e,n){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const o=this.options;if(this.isWindows){const g=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),v=!g&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),O=typeof n[0]=="string"&&/^[a-z]:$/i.test(n[0]),m=v?3:g?0:void 0,b=!O&&n[0]===""&&n[1]===""&&n[2]==="?"&&typeof n[3]=="string"&&/^[a-z]:$/i.test(n[3])?3:O?0:void 0;if(typeof m=="number"&&typeof b=="number"){const[E,N]=[e[m],n[b]];E.toLowerCase()===N.toLowerCase()&&(n[b]=E,b>m?n=n.slice(b):m>b&&(e=e.slice(m)))}}const{optimizationLevel:i=1}=this.options;i>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:n}),this.debug("matchOne",e.length,n.length);for(var s=0,u=0,c=e.length,l=n.length;s<c&&u<l;s++,u++){this.debug("matchOne loop");var a=n[u],p=e[s];if(this.debug(n,a,p),a===!1)return!1;if(a===jt){this.debug("GLOBSTAR",[n,a,p]);var f=s,h=u+1;if(h===l){for(this.debug("** at the end");s<c;s++)if(e[s]==="."||e[s]===".."||!o.dot&&e[s].charAt(0)===".")return!1;return!0}for(;f<c;){var d=e[f];if(this.debug(` globstar while`,e,f,n,h,d),this.matchOne(e.slice(f),n.slice(h),r))return this.debug("globstar found match!",f,c,d),!0;if(d==="."||d===".."||!o.dot&&d.charAt(0)==="."){this.debug("dot detected!",e,f,n,h);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!r||(this.debug(` >>> no match, partial?`,e,f,n,h),f!==c))}let g;if(typeof a=="string"?(g=p===a,this.debug("string match",a,p,g)):(g=a.test(p),this.debug("pattern match",a,p,g)),!g)return!1}if(s===c&&u===l)return!0;if(s===c)return r;if(u===l)return s===c-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return $u(this.pattern,this.options)}parse(e){_r(e);const n=this.options;if(e==="**")return jt;if(e==="")return"";let r,o=null;(r=e.match(gf))?o=n.dot?vf:mf:(r=e.match(of))?o=(n.nocase?n.dot?cf:uf:n.dot?af:sf)(r[1]):(r=e.match(yf))?o=(n.nocase?n.dot?_f:bf:n.dot?wf:Ef)(r):(r=e.match(lf))?o=n.dot?pf:ff:(r=e.match(hf))&&(o=df);const i=Ot.fromGlob(e,this.options).toMMPattern();return o&&typeof i=="object"&&Reflect.defineProperty(i,"test",{value:o}),i}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const n=this.options,r=n.noglobstar?"[^/]*?":n.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",o=new Set(n.nocase?["i"]:[]);let i=e.map(c=>{const l=c.map(a=>{if(a instanceof RegExp)for(const p of a.flags.split(""))o.add(p);return typeof a=="string"?a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):a===jt?jt:a._src});return l.forEach((a,p)=>{const f=l[p+1],h=l[p-1];a===jt&&h!==jt&&(h===void 0?f!==void 0&&f!==jt?l[p+1]="(?:\\/|"+r+"\\/)?"+f:l[p]=r:f===void 0?l[p-1]=h+"(?:\\/|"+r+")?":f!==jt&&(l[p-1]=h+"(?:\\/|\\/"+r+"\\/)"+f,l[p+1]=jt))}),l.filter(a=>a!==jt).join("/")}).join("|");const[s,u]=e.length>1?["(?:",")"]:["",""];i="^"+s+i+u+"$",this.negate&&(i="^(?!"+i+").+$");try{this.regexp=new RegExp(i,[...o].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.partial;if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&n)return!0;const r=this.options;this.isWindows&&(e=e.split("\\").join("/"));const o=this.slashSplit(e);this.debug(this.pattern,"split",o);const i=this.set;this.debug(this.pattern,"set",i);let s=o[o.length-1];if(!s)for(let u=o.length-2;!s&&u>=0;u--)s=o[u];for(let u=0;u<i.length;u++){const c=i[u];let l=o;if(r.matchBase&&c.length===1&&(l=[s]),this.matchOne(l,c,n))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate}static defaults(e){return bt.defaults(e).Minimatch}}function _i(t){const e=new Error(`${arguments.length>1&&arguments[1]!==void 0?arguments[1]:""}Invalid response: ${t.status} ${t.statusText}`);return e.status=t.status,e.response=t,e}function lt(t,e){const{status:n}=e;if(n===401&&t.digest)return e;if(n>=400)throw _i(e);return e}function Le(t,e){return arguments.length>2&&arguments[2]!==void 0&&arguments[2]?{data:e,headers:t.headers?ql(t.headers):{},status:t.status,statusText:t.statusText}:e}bt.AST=Ot,bt.Minimatch=wr,bt.escape=function(t){let{windowsPathsNoEscape:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},bt.unescape=_n;const xf=(qs=function(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=ct({url:nt(t.remoteURL,et(e)),method:"COPY",headers:{Destination:nt(t.remoteURL,et(n)),Overwrite:r.overwrite===!1?"F":"T",Depth:r.shallow?"0":"infinity"}},t,r);return s=function(u){lt(t,u)},(i=ut(o,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];try{return Promise.resolve(qs.apply(this,t))}catch(n){return Promise.reject(n)}});var qs,wi=K(635),Of=K(829),oe=K.n(Of),We=function(t){return t.Array="array",t.Object="object",t.Original="original",t}(We||{});function Xn(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:We.Original;const r=oe().get(t,e);return n==="array"&&Array.isArray(r)===!1?[r]:n==="object"&&Array.isArray(r)?r[0]:r}function Pn(t){return new Promise(e=>{e(function(n){const{multistatus:r}=n;if(r==="")return{multistatus:{response:[]}};if(!r)throw new Error("Invalid response: No root multistatus found");const o={multistatus:Array.isArray(r)?r[0]:r};return oe().set(o,"multistatus.response",Xn(o,"multistatus.response",We.Array)),oe().set(o,"multistatus.response",oe().get(o,"multistatus.response").map(i=>function(s){const u=Object.assign({},s);return u.status?oe().set(u,"status",Xn(u,"status",We.Object)):(oe().set(u,"propstat",Xn(u,"propstat",We.Object)),oe().set(u,"propstat.prop",Xn(u,"propstat.prop",We.Object))),u}(i))),o}(new wi.XMLParser({allowBooleanAttributes:!0,attributeNamePrefix:"",textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor:(n,r,o)=>r==="true"||r==="false"?r==="true":r,tagValueProcessor(n,r,o){if(!o.endsWith("propstat.prop.displayname"))return r}}).parse(t)))})}function jr(t,e){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{getlastmodified:r=null,getcontentlength:o="0",resourcetype:i=null,getcontenttype:s=null,getetag:u=null}=t,c=i&&typeof i=="object"&&i.collection!==void 0?"directory":"file",l={filename:e,basename:mr().basename(e),lastmod:r,size:parseInt(o,10),type:c,etag:typeof u=="string"?u.replace(/"/g,""):null};return c==="file"&&(l.mime=s&&typeof s=="string"?s.split(";")[0]:""),n&&(t.displayname!==void 0&&(t.displayname=String(t.displayname)),l.props=t),l}function Iu(t,e){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=null;try{t.multistatus.response[0].propstat&&(r=t.multistatus.response[0])}catch{}if(!r)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:o,status:i}}=r,[s,u,c]=i.split(" ",3),l=parseInt(u,10);if(l>=400){const a=new Error(`Invalid response: ${l} ${c}`);throw a.status=l,a}return jr(o,Tn(e),n)}function Pu(t){switch(String(t)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(t),10)}}function lo(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Ei=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{details:r=!1}=n,o=ct({url:nt(t.remoteURL,et(e)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,n);return lo(ut(o,t),function(i){return lt(t,i),lo(i.text(),function(s){return lo(Pn(s),function(u){const c=Iu(u,e,r);return Le(i,c,r)})})})});function Lu(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Tf=Ru(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=function(i){if(!i||i==="/")return[];let s=i;const u=[];do u.push(s),s=mr().dirname(s);while(s&&s!=="/");return u}(Tn(e));r.sort((i,s)=>i.length>s.length?1:s.length>i.length?-1:0);let o=!1;return function(i,s,u){if(typeof i[Ys]=="function"){let g=function(v){try{for(;!(c=p.next()).done;)if((v=s(c.value))&&v.then){if(!Ks(v))return void v.then(g,a||(a=Nt.bind(null,l=new He,2)));v=v.v}l?Nt(l,1,v):l=v}catch(O){Nt(l||(l=new He),2,O)}};var c,l,a,p=i[Ys]();if(g(),p.return){var f=function(v){try{c.done||p.return()}catch{}return v};if(l&&l.then)return l.then(f,function(v){throw f(v)});f()}return l}if(!("length"in i))throw new TypeError("Object is not iterable");for(var h=[],d=0;d<i.length;d++)h.push(i[d]);return function(g,v,O){var m,b,E=-1;return function N(x){try{for(;++E<g.length&&(!O||!O());)if((x=v(E))&&x.then){if(!Ks(x))return void x.then(N,b||(b=Nt.bind(null,m=new He,2)));x=x.v}m?Nt(m,1,x):m=x}catch(C){Nt(m||(m=new He),2,C)}}(),m}(h,function(g){return s(h[g])},u)}(r,function(i){return s=function(){return function(c,l){try{var a=Lu(Ei(t,i),function(p){if(p.type!=="directory")throw new Error(`Path includes a file: ${e}`)})}catch(p){return l(p)}return a&&a.then?a.then(void 0,l):a}(0,function(c){const l=c;return function(){if(l.status===404)return o=!0,Xs(Mo(t,i,{...n,recursive:!1}));throw c}()})},(u=function(){if(o)return Xs(Mo(t,i,{...n,recursive:!1}))}())&&u.then?u.then(s):s();var s,u},function(){return!1})});function Ru(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}function Nf(){}function Xs(t,e){return t&&t.then?t.then(Nf):Promise.resolve()}const Ys=typeof Symbol<"u"?Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")):"@@iterator";function Nt(t,e,n){if(!t.s){if(n instanceof He){if(!n.s)return void(n.o=Nt.bind(null,t,e));1&e&&(e=n.s),n=n.v}if(n&&n.then)return void n.then(Nt.bind(null,t,e),Nt.bind(null,t,2));t.s=e,t.v=n;const r=t.o;r&&r(t)}}const He=function(){function t(){}return t.prototype.then=function(e,n){const r=new t,o=this.s;if(o){const i=1&o?e:n;if(i){try{Nt(r,1,i(this.v))}catch(s){Nt(r,2,s)}return r}return this}return this.o=function(i){try{const s=i.v;1&i.s?Nt(r,1,e?e(s):s):n?Nt(r,1,n(s)):Nt(r,2,s)}catch(s){Nt(r,2,s)}},r},t}();function Ks(t){return t instanceof He&&1&t.s}const Mo=Ru(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n.recursive===!0)return Tf(t,e,n);const r=ct({url:nt(t.remoteURL,(o=et(e),o.endsWith("/")?o:o+"/")),method:"MKCOL"},t,n);var o;return Lu(ut(r,t),function(i){lt(t,i)})});var Af=K(388),Zs=K.n(Af);const Sf=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r={};if(typeof n.range=="object"&&typeof n.range.start=="number"){let u=`bytes=${n.range.start}-`;typeof n.range.end=="number"&&(u=`${u}${n.range.end}`),r.Range=u}const o=ct({url:nt(t.remoteURL,et(e)),method:"GET",headers:r},t,n);return s=function(u){if(lt(t,u),r.Range&&u.status!==206){const c=new Error(`Invalid response code for partial request: ${u.status}`);throw c.status=u.status,c}return n.callback&&setTimeout(()=>{n.callback(u)},0),u.body},(i=ut(o,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s}),Cf=()=>{},$f=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e,n){n.url||(n.url=nt(t.remoteURL,et(e)));const r=ct(n,t,{});return i=function(s){return lt(t,s),s},(o=ut(r,t))&&o.then||(o=Promise.resolve(o)),i?o.then(i):o;var o,i}),If=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=ct({url:nt(t.remoteURL,et(e)),method:"DELETE"},t,n);return i=function(s){lt(t,s)},(o=ut(r,t))&&o.then||(o=Promise.resolve(o)),i?o.then(i):o;var o,i}),Pf=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return function(r,o){try{var i=(s=Ei(t,e,n),u=function(){return!0},c?u?u(s):s:(s&&s.then||(s=Promise.resolve(s)),u?s.then(u):s))}catch(l){return o(l)}var s,u,c;return i&&i.then?i.then(void 0,o):i}(0,function(r){if(r.status===404)return!1;throw r})});function fo(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Lf=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=ct({url:nt(t.remoteURL,et(e),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:n.deep?"infinity":"1"}},t,n);return fo(ut(r,t),function(o){return lt(t,o),fo(o.text(),function(i){if(!i)throw new Error("Failed parsing directory contents: Empty response");return fo(Pn(i),function(s){const u=js(e);let c=function(l,a,p){let f=arguments.length>3&&arguments[3]!==void 0&&arguments[3],h=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const d=mr().join(a,"/"),{multistatus:{response:g}}=l,v=g.map(O=>{const m=function(E){try{return E.replace(/^https?:\/\/[^\/]+/,"")}catch(N){throw new At(N,"Failed normalising HREF")}}(O.href),{propstat:{prop:b}}=O;return jr(b,d==="/"?decodeURIComponent(Tn(m)):Tn(mr().relative(decodeURIComponent(d),decodeURIComponent(m))),f)});return h?v:v.filter(O=>O.basename&&(O.type==="file"||O.filename!==p.replace(/\/$/,"")))}(s,js(t.remoteBasePath||t.remotePath),u,n.details,n.includeSelf);return n.glob&&(c=function(l,a){return l.filter(p=>bt(p.filename,a,{matchBase:!0}))}(c,n.glob)),Le(o,c,n.details)})})})});function xi(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}const Rf=xi(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=ct({url:nt(t.remoteURL,et(e)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[Df]},t,n);return Er(ut(r,t),function(o){return lt(t,o),Er(o.text(),function(i){return Le(o,i,n.details)})})});function Er(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const kf=xi(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=ct({url:nt(t.remoteURL,et(e)),method:"GET"},t,n);return Er(ut(r,t),function(o){let i;return lt(t,o),function(s,u){var c=s();return c&&c.then?c.then(u):u()}(function(){return Er(o.arrayBuffer(),function(s){i=s})},function(){return Le(o,i,n.details)})})}),jf=xi(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{format:r="binary"}=n;if(r!=="binary"&&r!=="text")throw new At({info:{code:ue.InvalidOutputFormat}},`Invalid output format: ${r}`);return r==="text"?Rf(t,e,n):kf(t,e,n)}),Df=t=>t;function Mf(t){return new wi.XMLBuilder({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,suppressEmptyNode:!0}).build(ku({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:t}}},"d"))}function ku(t,e){const n={...t};for(const r in n)n.hasOwnProperty(r)&&(n[r]&&typeof n[r]=="object"&&r.indexOf(":")===-1?(n[`${e}:${r}`]=ku(n[r],e),delete n[r]):/^@_/.test(r)===!1&&(n[`${e}:${r}`]=n[r],delete n[r]));return n}function Fo(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}function ju(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}const Ff=ju(function(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=ct({url:nt(t.remoteURL,et(e)),method:"UNLOCK",headers:{"Lock-Token":n}},t,r);return Fo(ut(o,t),function(i){if(lt(t,i),i.status!==204&&i.status!==200)throw _i(i)})}),Uf=ju(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{refreshToken:r,timeout:o=zf}=n,i={Accept:"text/plain,application/xml",Timeout:o};r&&(i.If=r);const s=ct({url:nt(t.remoteURL,et(e)),method:"LOCK",headers:i,data:Mf(t.contactHref)},t,n);return Fo(ut(s,t),function(u){return lt(t,u),Fo(u.text(),function(c){const l=(f=c,new wi.XMLParser({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(f)),a=oe().get(l,"prop.lockdiscovery.activelock.locktoken.href"),p=oe().get(l,"prop.lockdiscovery.activelock.timeout");var f;if(!a)throw _i(u,"No lock token received: ");return{token:a,serverTimeout:p}})})}),zf="Infinite, Second-4100000000";function po(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Gf=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=e.path||"/",r=ct({url:nt(t.remoteURL,n),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,e);return po(ut(r,t),function(o){return lt(t,o),po(o.text(),function(i){return po(Pn(i),function(s){const u=function(c){try{const[l]=c.multistatus.response,{propstat:{prop:{"quota-used-bytes":a,"quota-available-bytes":p}}}=l;return a!==void 0&&p!==void 0?{used:parseInt(String(a),10),available:Pu(p)}:null}catch{}return null}(s);return Le(o,u,e.details)})})})});function ho(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Bf=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{details:r=!1}=n,o=ct({url:nt(t.remoteURL,et(e)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":t.headers["Content-Type"]||"application/xml; charset=utf-8"}},t,n);return ho(ut(o,t),function(i){return lt(t,i),ho(i.text(),function(s){return ho(Pn(s),function(u){const c=function(l,a,p){const f={truncated:!1,results:[]};return f.truncated=l.multistatus.response.some(h=>(h.status||h.propstat?.status).split(" ",3)?.[1]==="507"&&h.href.replace(/\/$/,"").endsWith(et(a).replace(/\/$/,""))),l.multistatus.response.forEach(h=>{if(h.propstat===void 0)return;const d=h.href.split("/").map(decodeURIComponent).join("/");f.results.push(jr(h.propstat.prop,d,p))}),f}(u,e,r);return Le(i,c,r)})})})}),Vf=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=ct({url:nt(t.remoteURL,et(e)),method:"MOVE",headers:{Destination:nt(t.remoteURL,et(n)),Overwrite:r.overwrite===!1?"F":"T"}},t,r);return s=function(u){lt(t,u)},(i=ut(o,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s});var Wf=K(172);const Hf=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const{contentLength:o=!0,overwrite:i=!0}=r,s={"Content-Type":"application/octet-stream"};o===!1||(s["Content-Length"]=typeof o=="number"?`${o}`:`${function(a){if(Ou(a))return a.byteLength;if(Tu(a))return a.length;if(typeof a=="string")return(0,Wf.d)(a);throw new At({info:{code:ue.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}(n)}`),i||(s["If-None-Match"]="*");const u=ct({url:nt(t.remoteURL,et(e)),method:"PUT",headers:s,data:n},t,r);return l=function(a){try{lt(t,a)}catch(p){const f=p;if(f.status!==412||i)throw f;return!1}return!0},(c=ut(u,t))&&c.then||(c=Promise.resolve(c)),l?c.then(l):c;var c,l}),Du=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}(function(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=ct({url:nt(t.remoteURL,et(e)),method:"OPTIONS"},t,n);return i=function(s){try{lt(t,s)}catch(u){throw u}return{compliance:(s.headers.get("DAV")??"").split(",").map(u=>u.trim()),server:s.headers.get("Server")??""}},(o=ut(r,t))&&o.then||(o=Promise.resolve(o)),i?o.then(i):o;var o,i});function xn(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const qf=Oi(function(t,e,n,r,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(n>r||n<0)throw new At({info:{code:ue.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const s={"Content-Type":"application/octet-stream","Content-Length":""+(r-n+1),"Content-Range":`bytes ${n}-${r}/*`},u=ct({url:nt(t.remoteURL,et(e)),method:"PUT",headers:s,data:o},t,i);return xn(ut(u,t),function(c){lt(t,c)})});function Js(t,e){var n=t();return n&&n.then?n.then(e):e(n)}const Xf=Oi(function(t,e,n,r,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(n>r||n<0)throw new At({info:{code:ue.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const s={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(r-n+1),"X-Update-Range":`bytes=${n}-${r}`},u=ct({url:nt(t.remoteURL,et(e)),method:"PATCH",headers:s,data:o},t,i);return xn(ut(u,t),function(c){lt(t,c)})});function Oi(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return Promise.resolve(t.apply(this,e))}catch(r){return Promise.reject(r)}}}const Yf=Oi(function(t,e,n,r,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};return xn(Du(t,e,i),function(s){let u=!1;return Js(function(){if(s.compliance.includes("sabredav-partialupdate"))return xn(Xf(t,e,n,r,o,i),function(c){return u=!0,c})},function(c){let l=!1;return u?c:Js(function(){if(s.server.includes("Apache")&&s.compliance.includes("<http://apache.org/dav/propset/fs/1>"))return xn(qf(t,e,n,r,o,i),function(a){return l=!0,a})},function(a){if(l)return a;throw new At({info:{code:ue.NotSupported}},"Not supported")})})})}),Kf="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function Zf(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{authType:n=null,remoteBasePath:r,contactHref:o=Kf,ha1:i,headers:s={},httpAgent:u,httpsAgent:c,password:l,token:a,username:p,withCredentials:f}=e;let h=n;h||(h=p||l?Tt.Password:Tt.None);const d={authType:h,remoteBasePath:r,contactHref:o,ha1:i,headers:Object.assign({},s),httpAgent:u,httpsAgent:c,password:l,remotePath:Ml(t),remoteURL:t,token:a,username:p,withCredentials:f};return wu(d,p,l,a,i),{copyFile:(g,v,O)=>xf(d,g,v,O),createDirectory:(g,v)=>Mo(d,g,v),createReadStream:(g,v)=>function(O,m){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const E=new(Zs()).PassThrough;return Sf(O,m,b).then(N=>{N.pipe(E)}).catch(N=>{E.emit("error",N)}),E}(d,g,v),createWriteStream:(g,v,O)=>function(m,b){let E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Cf;const x=new(Zs()).PassThrough,C={};E.overwrite===!1&&(C["If-None-Match"]="*");const T=ct({url:nt(m.remoteURL,et(b)),method:"PUT",headers:C,data:x,maxRedirects:0},m,E);return ut(T,m).then(I=>lt(m,I)).then(I=>{setTimeout(()=>{N(I)},0)}).catch(I=>{x.emit("error",I)}),x}(d,g,v,O),customRequest:(g,v)=>$f(d,g,v),deleteFile:(g,v)=>If(d,g,v),exists:(g,v)=>Pf(d,g,v),getDirectoryContents:(g,v)=>Lf(d,g,v),getFileContents:(g,v)=>jf(d,g,v),getFileDownloadLink:g=>function(v,O){let m=nt(v.remoteURL,et(O));const b=/^https:/i.test(m)?"https":"http";switch(v.authType){case Tt.None:break;case Tt.Password:{const E=Ms(v.headers.Authorization.replace(/^Basic /i,"").trim());m=m.replace(/^https?:\/\//,`${b}://${E}@`);break}default:throw new At({info:{code:ue.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${v.authType}`)}return m}(d,g),getFileUploadLink:g=>function(v,O){let m=`${nt(v.remoteURL,et(O))}?Content-Type=application/octet-stream`;const b=/^https:/i.test(m)?"https":"http";switch(v.authType){case Tt.None:break;case Tt.Password:{const E=Ms(v.headers.Authorization.replace(/^Basic /i,"").trim());m=m.replace(/^https?:\/\//,`${b}://${E}@`);break}default:throw new At({info:{code:ue.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${v.authType}`)}return m}(d,g),getHeaders:()=>Object.assign({},d.headers),getQuota:g=>Gf(d,g),lock:(g,v)=>Uf(d,g,v),moveFile:(g,v,O)=>Vf(d,g,v,O),putFileContents:(g,v,O)=>Hf(d,g,v,O),partialUpdateFileContents:(g,v,O,m,b)=>Yf(d,g,v,O,m,b),getDAVCompliance:g=>Du(d,g),search:(g,v)=>Bf(d,g,v),setHeaders:g=>{d.headers=Object.assign({},g)},stat:(g,v)=>Ei(d,g,v),unlock:(g,v,O)=>Ff(d,g,v,O)}}Dt.hT,Dt.O4,Dt.Kd,Dt.YK;var Jf=Dt.UU,Qf=Dt.Gu;Dt.ky,Dt.h4,Dt.ch,Dt.hq,Dt.i5;var it=(t=>(t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal",t))(it||{}),tp=Object.defineProperty,ep=(t,e,n)=>e in t?tp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,np=(t,e,n)=>(ep(t,e+"",n),n);class rp{constructor(e){np(this,"context"),this.context=e||{}}formatMessage(e,n,r){let o="["+it[n].toUpperCase()+"] ";return r&&r.app&&(o+=r.app+": "),typeof e=="string"?o+e:(o+="Unexpected ".concat(e.name),e.message&&(o+=' "'.concat(e.message,'"')),n===it.Debug&&e.stack&&(o+=` Stack trace: `.concat(e.stack)),o)}log(e,n,r){var o,i;if(!(typeof((o=this.context)==null?void 0:o.level)=="number"&&e<((i=this.context)==null?void 0:i.level)))switch(typeof n=="object"&&r?.error===void 0&&(r.error=n),e){case it.Debug:console.debug(this.formatMessage(n,it.Debug,r),r);break;case it.Info:console.info(this.formatMessage(n,it.Info,r),r);break;case it.Warn:console.warn(this.formatMessage(n,it.Warn,r),r);break;case it.Error:console.error(this.formatMessage(n,it.Error,r),r);break;case it.Fatal:default:console.error(this.formatMessage(n,it.Fatal,r),r);break}}debug(e,n){this.log(it.Debug,e,Object.assign({},this.context,n))}info(e,n){this.log(it.Info,e,Object.assign({},this.context,n))}warn(e,n){this.log(it.Warn,e,Object.assign({},this.context,n))}error(e,n){this.log(it.Error,e,Object.assign({},this.context,n))}fatal(e,n){this.log(it.Fatal,e,Object.assign({},this.context,n))}}function op(t){return new rp(t)}var ip=Object.defineProperty,sp=(t,e,n)=>e in t?ip(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Qs=(t,e,n)=>(sp(t,typeof e!="symbol"?e+"":e,n),n);class ap{constructor(e){Qs(this,"context"),Qs(this,"factory"),this.context={},this.factory=e}setApp(e){return this.context.app=e,this}setLogLevel(e){return this.context.level=e,this}setUid(e){return this.context.uid=e,this}detectUser(){const e=Rr();return e!==null&&(this.context.uid=e.uid),this}detectLogLevel(){const e=this,n=()=>{var r,o;document.readyState==="complete"||document.readyState==="interactive"?(e.context.level=(o=(r=window._oc_config)==null?void 0:r.loglevel)!=null?o:it.Warn,window._oc_debug&&(e.context.level=it.Debug),document.removeEventListener("readystatechange",n)):document.addEventListener("readystatechange",n)};return n(),this}build(){return this.context.level===void 0&&this.detectLogLevel(),this.factory(this.context)}}function up(){return new ap(op)}var go,ta;function cp(){if(ta)return go;ta=1;function t(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function e(o,i){for(var s="",u=0,c=-1,l=0,a,p=0;p<=o.length;++p){if(p<o.length)a=o.charCodeAt(p);else{if(a===47)break;a=47}if(a===47){if(!(c===p-1||l===1))if(c!==p-1&&l===2){if(s.length<2||u!==2||s.charCodeAt(s.length-1)!==46||s.charCodeAt(s.length-2)!==46){if(s.length>2){var f=s.lastIndexOf("/");if(f!==s.length-1){f===-1?(s="",u=0):(s=s.slice(0,f),u=s.length-1-s.lastIndexOf("/")),c=p,l=0;continue}}else if(s.length===2||s.length===1){s="",u=0,c=p,l=0;continue}}i&&(s.length>0?s+="/..":s="..",u=2)}else s.length>0?s+="/"+o.slice(c+1,p):s=o.slice(c+1,p),u=p-c-1;c=p,l=0}else a===46&&l!==-1?++l:l=-1}return s}function n(o,i){var s=i.dir||i.root,u=i.base||(i.name||"")+(i.ext||"");return s?s===i.root?s+u:s+o+u:u}var r={resolve:function(){for(var o="",i=!1,s,u=arguments.length-1;u>=-1&&!i;u--){var c;u>=0?c=arguments[u]:(s===void 0&&(s=Ze.cwd()),c=s),t(c),c.length!==0&&(o=c+"/"+o,i=c.charCodeAt(0)===47)}return o=e(o,!i),i?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(t(o),o.length===0)return".";var i=o.charCodeAt(0)===47,s=o.charCodeAt(o.length-1)===47;return o=e(o,!i),o.length===0&&!i&&(o="."),o.length>0&&s&&(o+="/"),i?"/"+o:o},isAbsolute:function(o){return t(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,i=0;i<arguments.length;++i){var s=arguments[i];t(s),s.length>0&&(o===void 0?o=s:o+="/"+s)}return o===void 0?".":r.normalize(o)},relative:function(o,i){if(t(o),t(i),o===i||(o=r.resolve(o),i=r.resolve(i),o===i))return"";for(var s=1;s<o.length&&o.charCodeAt(s)===47;++s);for(var u=o.length,c=u-s,l=1;l<i.length&&i.charCodeAt(l)===47;++l);for(var a=i.length,p=a-l,f=c<p?c:p,h=-1,d=0;d<=f;++d){if(d===f){if(p>f){if(i.charCodeAt(l+d)===47)return i.slice(l+d+1);if(d===0)return i.slice(l+d)}else c>f&&(o.charCodeAt(s+d)===47?h=d:d===0&&(h=0));break}var g=o.charCodeAt(s+d),v=i.charCodeAt(l+d);if(g!==v)break;g===47&&(h=d)}var O="";for(d=s+h+1;d<=u;++d)(d===u||o.charCodeAt(d)===47)&&(O.length===0?O+="..":O+="/..");return O.length>0?O+i.slice(l+h):(l+=h,i.charCodeAt(l)===47&&++l,i.slice(l))},_makeLong:function(o){return o},dirname:function(o){if(t(o),o.length===0)return".";for(var i=o.charCodeAt(0),s=i===47,u=-1,c=!0,l=o.length-1;l>=1;--l)if(i=o.charCodeAt(l),i===47){if(!c){u=l;break}}else c=!1;return u===-1?s?"/":".":s&&u===1?"//":o.slice(0,u)},basename:function(o,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');t(o);var s=0,u=-1,c=!0,l;if(i!==void 0&&i.length>0&&i.length<=o.length){if(i.length===o.length&&i===o)return"";var a=i.length-1,p=-1;for(l=o.length-1;l>=0;--l){var f=o.charCodeAt(l);if(f===47){if(!c){s=l+1;break}}else p===-1&&(c=!1,p=l+1),a>=0&&(f===i.charCodeAt(a)?--a===-1&&(u=l):(a=-1,u=p))}return s===u?u=p:u===-1&&(u=o.length),o.slice(s,u)}else{for(l=o.length-1;l>=0;--l)if(o.charCodeAt(l)===47){if(!c){s=l+1;break}}else u===-1&&(c=!1,u=l+1);return u===-1?"":o.slice(s,u)}},extname:function(o){t(o);for(var i=-1,s=0,u=-1,c=!0,l=0,a=o.length-1;a>=0;--a){var p=o.charCodeAt(a);if(p===47){if(!c){s=a+1;break}continue}u===-1&&(c=!1,u=a+1),p===46?i===-1?i=a:l!==1&&(l=1):i!==-1&&(l=-1)}return i===-1||u===-1||l===0||l===1&&i===u-1&&i===s+1?"":o.slice(i,u)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return n("/",o)},parse:function(o){t(o);var i={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return i;var s=o.charCodeAt(0),u=s===47,c;u?(i.root="/",c=1):c=0;for(var l=-1,a=0,p=-1,f=!0,h=o.length-1,d=0;h>=c;--h){if(s=o.charCodeAt(h),s===47){if(!f){a=h+1;break}continue}p===-1&&(f=!1,p=h+1),s===46?l===-1?l=h:d!==1&&(d=1):l!==-1&&(d=-1)}return l===-1||p===-1||d===0||d===1&&l===p-1&&l===a+1?p!==-1&&(a===0&&u?i.base=i.name=o.slice(1,p):i.base=i.name=o.slice(a,p)):(a===0&&u?(i.name=o.slice(1,l),i.base=o.slice(1,p)):(i.name=o.slice(a,l),i.base=o.slice(a,p)),i.ext=o.slice(l,p)),a>0?i.dir=o.slice(0,a-1):u&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,go=r,go}var Te=cp();function lp(t){return t&&t.split("/").map(encodeURIComponent).join("/")}function bm(t){return t.replace(/\\/g,"/").replace(/.*\//,"")}function _m(...t){if(arguments.length<1)return"";const e=t.filter(c=>c.length>0);if(e.length<1)return"";const n=e[e.length-1],r=e[0].charAt(0)==="/",o=n.charAt(n.length-1)==="/",i=e.reduce((c,l)=>c.concat(l.split("/")),[]);let s=!r;const u=i.reduce((c,l)=>l===""?c:s?(s=!1,c+l):c+"/"+l,"");return o?u+"/":u}const ar=up().setApp("@nextcloud/files").detectUser().build();var Ti=(t=>(t.Folder="folder",t.File="file",t))(Ti||{}),Vt=(t=>(t[t.NONE=0]="NONE",t[t.CREATE=4]="CREATE",t[t.READ=1]="READ",t[t.UPDATE=2]="UPDATE",t[t.DELETE=8]="DELETE",t[t.SHARE=16]="SHARE",t[t.ALL=31]="ALL",t))(Vt||{});const Mu=function(t,e){return t.match(e)!==null},fe=(t,e)=>{if(t.id&&typeof t.id!="number")throw new Error("Invalid id type of value");if(!t.source)throw new Error("Missing mandatory source");try{new URL(t.source)}catch{throw new Error("Invalid source format, source must be a valid URL")}if(!t.source.startsWith("http"))throw new Error("Invalid source format, only http(s) is supported");if(t.displayname&&typeof t.displayname!="string")throw new Error("Invalid displayname type");if(t.mtime&&!(t.mtime instanceof Date))throw new Error("Invalid mtime type");if(t.crtime&&!(t.crtime instanceof Date))throw new Error("Invalid crtime type");if(!t.mime||typeof t.mime!="string"||!t.mime.match(/^[-\w.]+\/[-+\w.]+$/gi))throw new Error("Missing or invalid mandatory mime");if("size"in t&&typeof t.size!="number"&&t.size!==void 0)throw new Error("Invalid size type");if("permissions"in t&&t.permissions!==void 0&&!(typeof t.permissions=="number"&&t.permissions>=Vt.NONE&&t.permissions<=Vt.ALL))throw new Error("Invalid permissions");if(t.owner&&t.owner!==null&&typeof t.owner!="string")throw new Error("Invalid owner type");if(t.attributes&&typeof t.attributes!="object")throw new Error("Invalid attributes type");if(t.root&&typeof t.root!="string")throw new Error("Invalid root type");if(t.root&&!t.root.startsWith("/"))throw new Error("Root must start with a leading slash");if(t.root&&!t.source.includes(t.root))throw new Error("Root must be part of the source");if(t.root&&Mu(t.source,e)){const n=t.source.match(e)[0];if(!t.source.includes(Te.join(n,t.root)))throw new Error("The root must be relative to the service. e.g /files/emma")}if(t.status&&!Object.values(Ni).includes(t.status))throw new Error("Status must be a valid NodeStatus")};var Ni=(t=>(t.NEW="new",t.FAILED="failed",t.LOADING="loading",t.LOCKED="locked",t))(Ni||{});class Dr{_data;_attributes;_knownDavService=/(remote|public)\.php\/(web)?dav/i;readonlyAttributes=Object.entries(Object.getOwnPropertyDescriptors(Dr.prototype)).filter(e=>typeof e[1].get=="function"&&e[0]!=="__proto__").map(e=>e[0]);handler={set:(e,n,r)=>this.readonlyAttributes.includes(n)?!1:Reflect.set(e,n,r),deleteProperty:(e,n)=>this.readonlyAttributes.includes(n)?!1:Reflect.deleteProperty(e,n),get:(e,n,r)=>this.readonlyAttributes.includes(n)?(ar.warn(`Accessing "Node.attributes.${n}" is deprecated, access it directly on the Node instance.`),Reflect.get(this,n)):Reflect.get(e,n,r)};constructor(e,n){e.mime||(e.mime="application/octet-stream"),fe(e,n||this._knownDavService),this._data={displayname:e.attributes?.displayname,...e,attributes:{}},this._attributes=new Proxy(this._data.attributes,this.handler),this.update(e.attributes??{}),n&&(this._knownDavService=n)}get source(){return this._data.source.replace(/\/$/i,"")}get encodedSource(){const{origin:e}=new URL(this.source);return e+lp(this.source.slice(e.length))}get basename(){return Te.basename(this.source)}get displayname(){return this._data.displayname||this.basename}set displayname(e){fe({...this._data,displayname:e},this._knownDavService),this._data.displayname=e}get extension(){return Te.extname(this.source)}get dirname(){if(this.root){let n=this.source;this.isDavResource&&(n=n.split(this._knownDavService).pop());const r=n.indexOf(this.root),o=this.root.replace(/\/$/,"");return Te.dirname(n.slice(r+o.length)||"/")}const e=new URL(this.source);return Te.dirname(e.pathname)}get mime(){return this._data.mime||"application/octet-stream"}set mime(e){e??="application/octet-stream",fe({...this._data,mime:e},this._knownDavService),this._data.mime=e}get mtime(){return this._data.mtime}set mtime(e){fe({...this._data,mtime:e},this._knownDavService),this._data.mtime=e}get crtime(){return this._data.crtime}get size(){return this._data.size}set size(e){fe({...this._data,size:e},this._knownDavService),this.updateMtime(),this._data.size=e}get attributes(){return this._attributes}get permissions(){return this.owner===null&&!this.isDavResource?Vt.READ:this._data.permissions!==void 0?this._data.permissions:Vt.NONE}set permissions(e){fe({...this._data,permissions:e},this._knownDavService),this.updateMtime(),this._data.permissions=e}get owner(){return this.isDavResource?this._data.owner:null}get isDavResource(){return Mu(this.source,this._knownDavService)}get isDavRessource(){return this.isDavResource}get root(){return this._data.root?this._data.root.replace(/^(.+)\/$/,"$1"):this.isDavResource&&Te.dirname(this.source).split(this._knownDavService).pop()||null}get path(){if(this.root){let e=this.source;this.isDavResource&&(e=e.split(this._knownDavService).pop());const n=e.indexOf(this.root),r=this.root.replace(/\/$/,"");return e.slice(n+r.length)||"/"}return(this.dirname+"/"+this.basename).replace(/\/\//g,"/")}get fileid(){return this._data?.id}get status(){return this._data?.status}set status(e){fe({...this._data,status:e},this._knownDavService),this._data.status=e}get data(){return structuredClone(this._data)}move(e){fe({...this._data,source:e},this._knownDavService);const n=this.basename;this._data.source=e,this.displayname===n&&this.basename!==n&&(this.displayname=this.basename)}rename(e){if(e.includes("/"))throw new Error("Invalid basename");this.move(Te.dirname(this.source)+"/"+e)}updateMtime(){this._data.mtime&&(this._data.mtime=new Date)}update(e){for(const[n,r]of Object.entries(e))try{r===void 0?delete this.attributes[n]:this.attributes[n]=r}catch(o){if(o instanceof TypeError)continue;throw o}}}class Ai extends Dr{get type(){return Ti.File}clone(){return new Ai(this.data)}}class Si extends Dr{constructor(e){super({...e,mime:"httpd/unix-directory"})}get type(){return Ti.Folder}get extension(){return null}get mime(){return"httpd/unix-directory"}clone(){return new Si(this.data)}}const fp=function(t=""){let e=Vt.NONE;return t&&((t.includes("C")||t.includes("K"))&&(e|=Vt.CREATE),t.includes("G")&&(e|=Vt.READ),(t.includes("W")||t.includes("N")||t.includes("V"))&&(e|=Vt.UPDATE),t.includes("D")&&(e|=Vt.DELETE),t.includes("R")&&(e|=Vt.SHARE)),e},Fu=["d:getcontentlength","d:getcontenttype","d:getetag","d:getlastmodified","d:creationdate","d:displayname","d:quota-available-bytes","d:resourcetype","nc:has-preview","nc:is-encrypted","nc:mount-type","oc:comments-unread","oc:favorite","oc:fileid","oc:owner-display-name","oc:owner-id","oc:permissions","oc:size"],Uu={d:"DAV:",nc:"http://nextcloud.org/ns",oc:"http://owncloud.org/ns",ocs:"http://open-collaboration-services.org/ns"},wm=function(t,e={nc:"http://nextcloud.org/ns"}){typeof window._nc_dav_properties>"u"&&(window._nc_dav_properties=[...Fu],window._nc_dav_namespaces={...Uu});const n={...window._nc_dav_namespaces,...e};if(window._nc_dav_properties.find(o=>o===t))return ar.warn(`${t} already registered`,{prop:t}),!1;if(t.startsWith("<")||t.split(":").length!==2)return ar.error(`${t} is not valid. See example: 'oc:fileid'`,{prop:t}),!1;const r=t.split(":")[0];return n[r]?(window._nc_dav_properties.push(t),window._nc_dav_namespaces=n,!0):(ar.error(`${t} namespace unknown`,{prop:t,namespaces:n}),!1)},Ci=function(){return typeof window._nc_dav_properties>"u"&&(window._nc_dav_properties=[...Fu]),window._nc_dav_properties.map(t=>`<${t} />`).join(" ")},$i=function(){return typeof window._nc_dav_namespaces>"u"&&(window._nc_dav_namespaces={...Uu}),Object.keys(window._nc_dav_namespaces).map(t=>`xmlns:${t}="${window._nc_dav_namespaces?.[t]}"`).join(" ")},Em=function(){return`<?xml version="1.0"?> <d:propfind ${$i()}> <d:prop> ${Ci()} </d:prop> </d:propfind>`},pp=function(){return`<?xml version="1.0"?> <oc:filter-files ${$i()}> <d:prop> ${Ci()} </d:prop> <oc:filter-rules> <oc:favorite>1</oc:favorite> </oc:filter-rules> </oc:filter-files>`},xm=function(t){return`<?xml version="1.0" encoding="UTF-8"?> <d:searchrequest ${$i()} xmlns:ns="https://github.com/icewind1991/SearchDAV/ns"> <d:basicsearch> <d:select> <d:prop> ${Ci()} </d:prop> </d:select> <d:from> <d:scope> <d:href>/files/${Rr()?.uid}/</d:href> <d:depth>infinity</d:depth> </d:scope> </d:from> <d:where> <d:and> <d:or> <d:not> <d:eq> <d:prop> <d:getcontenttype/> </d:prop> <d:literal>httpd/unix-directory</d:literal> </d:eq> </d:not> <d:eq> <d:prop> <oc:size/> </d:prop> <d:literal>0</d:literal> </d:eq> </d:or> <d:gt> <d:prop> <d:getlastmodified/> </d:prop> <d:literal>${t}</d:literal> </d:gt> </d:and> </d:where> <d:orderby> <d:order> <d:prop> <d:getlastmodified/> </d:prop> <d:descending/> </d:order> </d:orderby> <d:limit> <d:nresults>100</d:nresults> <ns:firstresult>0</ns:firstresult> </d:limit> </d:basicsearch> </d:searchrequest>`};function hp(){return di()?`/files/${Nl()}`:`/files/${Rr()?.uid}`}const zu=hp();function dp(){const t=Sl("dav");return di()?t.replace("remote.php","public.php"):t}const Gu=dp(),Om=function(t=Gu,e={}){const n=Jf(t,{headers:e});function r(o){n.setHeaders({...e,"X-Requested-With":"XMLHttpRequest",requesttoken:o??""})}return Tl(r),r(Ol()),Qf().patch("fetch",(o,i)=>{const s=i.headers;return s?.method&&(i.method=s.method,delete s.method),fetch(o,i)}),n},Tm=(t,e="/",n=zu)=>{const r=new AbortController;return new re(async(o,i,s)=>{s(()=>r.abort());try{const u=(await t.getDirectoryContents(`${n}${e}`,{signal:r.signal,details:!0,data:pp(),headers:{method:"REPORT"},includeSelf:!0})).data.filter(c=>c.filename!==e).map(c=>gp(c,n));o(u)}catch(u){i(u)}})},gp=function(t,e=zu,n=Gu){let r=Rr()?.uid;if(di())r=r??"anonymous";else if(!r)throw new Error("No user id found");const o=t.props,i=fp(o?.permissions),s=String(o?.["owner-id"]||r),u=o.fileid||0,c=new Date(Date.parse(t.lastmod)),l=new Date(Date.parse(o.creationdate)),a={id:u,source:`${n}${t.filename}`,mtime:!isNaN(c.getTime())&&c.getTime()!==0?c:void 0,crtime:!isNaN(l.getTime())&&l.getTime()!==0?l:void 0,mime:t.mime||"application/octet-stream",displayname:o.displayname!==void 0?String(o.displayname):void 0,size:o?.size||Number.parseInt(o.getcontentlength||"0"),status:u<0?Ni.FAILED:void 0,permissions:i,owner:s,root:e,attributes:{...t,...o,hasPreview:o?.["has-preview"]}};return delete a.attributes?.props,t.type==="file"?new Ai(a):new Si(a)},{entries:Bu,setPrototypeOf:ea,isFrozen:mp,getPrototypeOf:vp,getOwnPropertyDescriptor:yp}=Object;let{freeze:Ct,seal:Ft,create:Uo}=Object,{apply:zo,construct:Go}=typeof Reflect<"u"&&Reflect;Ct||(Ct=function(t){return t}),Ft||(Ft=function(t){return t}),zo||(zo=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.apply(e,r)}),Go||(Go=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new t(...n)});const Yn=$t(Array.prototype.forEach),bp=$t(Array.prototype.lastIndexOf),na=$t(Array.prototype.pop),pn=$t(Array.prototype.push),_p=$t(Array.prototype.splice),ur=$t(String.prototype.toLowerCase),mo=$t(String.prototype.toString),vo=$t(String.prototype.match),hn=$t(String.prototype.replace),wp=$t(String.prototype.indexOf),Ep=$t(String.prototype.trim),Bt=$t(Object.prototype.hasOwnProperty),xt=$t(RegExp.prototype.test),dn=xp(TypeError);function $t(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return zo(t,e,r)}}function xp(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Go(t,n)}}function H(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ur;ea&&ea(t,null);let r=e.length;for(;r--;){let o=e[r];if(typeof o=="string"){const i=n(o);i!==o&&(mp(e)||(e[r]=i),o=i)}t[o]=!0}return t}function Op(t){for(let e=0;e<t.length;e++)Bt(t,e)||(t[e]=null);return t}function ne(t){const e=Uo(null);for(const[n,r]of Bu(t))Bt(t,n)&&(Array.isArray(r)?e[n]=Op(r):r&&typeof r=="object"&&r.constructor===Object?e[n]=ne(r):e[n]=r);return e}function gn(t,e){for(;t!==null;){const r=yp(t,e);if(r){if(r.get)return $t(r.get);if(typeof r.value=="function")return $t(r.value)}t=vp(t)}function n(){return null}return n}const ra=Ct(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),yo=Ct(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),bo=Ct(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Tp=Ct(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),_o=Ct(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Np=Ct(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),oa=Ct(["#text"]),ia=Ct(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),wo=Ct(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),sa=Ct(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Kn=Ct(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ap=Ft(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Sp=Ft(/<%[\w\W]*|[\w\W]*%>/gm),Cp=Ft(/\$\{[\w\W]*/gm),$p=Ft(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ip=Ft(/^aria-[\-\w]+$/),Vu=Ft(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Pp=Ft(/^(?:\w+script|data):/i),Lp=Ft(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wu=Ft(/^html$/i),Rp=Ft(/^[a-z][.\w]*(-[.\w]+)+$/i);var aa=Object.freeze({__proto__:null,ARIA_ATTR:Ip,ATTR_WHITESPACE:Lp,CUSTOM_ELEMENT:Rp,DATA_ATTR:$p,DOCTYPE_NAME:Wu,ERB_EXPR:Sp,IS_ALLOWED_URI:Vu,IS_SCRIPT_OR_DATA:Pp,MUSTACHE_EXPR:Ap,TMPLIT_EXPR:Cp});const mn={element:1,text:3,progressingInstruction:7,comment:8,document:9},kp=function(){return typeof window>"u"?null:window},jp=function(t,e){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},ua=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Hu(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:kp();const e=_=>Hu(_);if(e.version="3.3.0",e.removed=[],!t||!t.document||t.document.nodeType!==mn.document||!t.Element)return e.isSupported=!1,e;let{document:n}=t;const r=n,o=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:u,Element:c,NodeFilter:l,NamedNodeMap:a=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:h}=t,d=c.prototype,g=gn(d,"cloneNode"),v=gn(d,"remove"),O=gn(d,"nextSibling"),m=gn(d,"childNodes"),b=gn(d,"parentNode");if(typeof s=="function"){const _=n.createElement("template");_.content&&_.content.ownerDocument&&(n=_.content.ownerDocument)}let E,N="";const{implementation:x,createNodeIterator:C,createDocumentFragment:T,getElementsByTagName:I}=n,{importNode:L}=r;let P=ua();e.isSupported=typeof Bu=="function"&&typeof b=="function"&&x&&x.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:w,ERB_EXPR:y,TMPLIT_EXPR:A,DATA_ATTR:$,ARIA_ATTR:k,IS_SCRIPT_OR_DATA:U,ATTR_WHITESPACE:F,CUSTOM_ELEMENT:M}=aa;let{IS_ALLOWED_URI:z}=aa,j=null;const B=H({},[...ra,...yo,...bo,..._o,...oa]);let V=null;const ft=H({},[...ia,...wo,...sa,...Kn]);let q=Object.seal(Uo(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Et=null,Rt=null;const Zt=Object.seal(Uo(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ke=!0,Ur=!0,Qi=!1,ts=!0,je=!1,Fn=!0,we=!1,zr=!1,Gr=!1,De=!1,Un=!1,zn=!1,es=!0,ns=!1;const Zc="user-content-";let Br=!0,sn=!1,Me={},Fe=null;const rs=H({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let os=null;const is=H({},["audio","video","img","source","image","track"]);let Vr=null;const ss=H({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Gn="http://www.w3.org/1998/Math/MathML",Bn="http://www.w3.org/2000/svg",Jt="http://www.w3.org/1999/xhtml";let Ue=Jt,Wr=!1,Hr=null;const Jc=H({},[Gn,Bn,Jt],mo);let Vn=H({},["mi","mo","mn","ms","mtext"]),Wn=H({},["annotation-xml"]);const Qc=H({},["title","style","font","a","script"]);let an=null;const tl=["application/xhtml+xml","text/html"],el="text/html";let pt=null,ze=null;const nl=n.createElement("form"),as=function(_){return _ instanceof RegExp||_ instanceof Function},qr=function(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ze&&ze===_)){if((!_||typeof _!="object")&&(_={}),_=ne(_),an=tl.indexOf(_.PARSER_MEDIA_TYPE)===-1?el:_.PARSER_MEDIA_TYPE,pt=an==="application/xhtml+xml"?mo:ur,j=Bt(_,"ALLOWED_TAGS")?H({},_.ALLOWED_TAGS,pt):B,V=Bt(_,"ALLOWED_ATTR")?H({},_.ALLOWED_ATTR,pt):ft,Hr=Bt(_,"ALLOWED_NAMESPACES")?H({},_.ALLOWED_NAMESPACES,mo):Jc,Vr=Bt(_,"ADD_URI_SAFE_ATTR")?H(ne(ss),_.ADD_URI_SAFE_ATTR,pt):ss,os=Bt(_,"ADD_DATA_URI_TAGS")?H(ne(is),_.ADD_DATA_URI_TAGS,pt):is,Fe=Bt(_,"FORBID_CONTENTS")?H({},_.FORBID_CONTENTS,pt):rs,Et=Bt(_,"FORBID_TAGS")?H({},_.FORBID_TAGS,pt):ne({}),Rt=Bt(_,"FORBID_ATTR")?H({},_.FORBID_ATTR,pt):ne({}),Me=Bt(_,"USE_PROFILES")?_.USE_PROFILES:!1,ke=_.ALLOW_ARIA_ATTR!==!1,Ur=_.ALLOW_DATA_ATTR!==!1,Qi=_.ALLOW_UNKNOWN_PROTOCOLS||!1,ts=_.ALLOW_SELF_CLOSE_IN_ATTR!==!1,je=_.SAFE_FOR_TEMPLATES||!1,Fn=_.SAFE_FOR_XML!==!1,we=_.WHOLE_DOCUMENT||!1,De=_.RETURN_DOM||!1,Un=_.RETURN_DOM_FRAGMENT||!1,zn=_.RETURN_TRUSTED_TYPE||!1,Gr=_.FORCE_BODY||!1,es=_.SANITIZE_DOM!==!1,ns=_.SANITIZE_NAMED_PROPS||!1,Br=_.KEEP_CONTENT!==!1,sn=_.IN_PLACE||!1,z=_.ALLOWED_URI_REGEXP||Vu,Ue=_.NAMESPACE||Jt,Vn=_.MATHML_TEXT_INTEGRATION_POINTS||Vn,Wn=_.HTML_INTEGRATION_POINTS||Wn,q=_.CUSTOM_ELEMENT_HANDLING||{},_.CUSTOM_ELEMENT_HANDLING&&as(_.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=_.CUSTOM_ELEMENT_HANDLING.tagNameCheck),_.CUSTOM_ELEMENT_HANDLING&&as(_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),_.CUSTOM_ELEMENT_HANDLING&&typeof _.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(q.allowCustomizedBuiltInElements=_.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),je&&(Ur=!1),Un&&(De=!0),Me&&(j=H({},oa),V=[],Me.html===!0&&(H(j,ra),H(V,ia)),Me.svg===!0&&(H(j,yo),H(V,wo),H(V,Kn)),Me.svgFilters===!0&&(H(j,bo),H(V,wo),H(V,Kn)),Me.mathMl===!0&&(H(j,_o),H(V,sa),H(V,Kn))),_.ADD_TAGS&&(typeof _.ADD_TAGS=="function"?Zt.tagCheck=_.ADD_TAGS:(j===B&&(j=ne(j)),H(j,_.ADD_TAGS,pt))),_.ADD_ATTR&&(typeof _.ADD_ATTR=="function"?Zt.attributeCheck=_.ADD_ATTR:(V===ft&&(V=ne(V)),H(V,_.ADD_ATTR,pt))),_.ADD_URI_SAFE_ATTR&&H(Vr,_.ADD_URI_SAFE_ATTR,pt),_.FORBID_CONTENTS&&(Fe===rs&&(Fe=ne(Fe)),H(Fe,_.FORBID_CONTENTS,pt)),Br&&(j["#text"]=!0),we&&H(j,["html","head","body"]),j.table&&(H(j,["tbody"]),delete Et.tbody),_.TRUSTED_TYPES_POLICY){if(typeof _.TRUSTED_TYPES_POLICY.createHTML!="function")throw dn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof _.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw dn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=_.TRUSTED_TYPES_POLICY,N=E.createHTML("")}else E===void 0&&(E=jp(h,o)),E!==null&&typeof N=="string"&&(N=E.createHTML(""));Ct&&Ct(_),ze=_}},us=H({},[...yo,...bo,...Tp]),cs=H({},[..._o,...Np]),rl=function(_){let D=b(_);(!D||!D.tagName)&&(D={namespaceURI:Ue,tagName:"template"});const R=ur(_.tagName),X=ur(D.tagName);return Hr[_.namespaceURI]?_.namespaceURI===Bn?D.namespaceURI===Jt?R==="svg":D.namespaceURI===Gn?R==="svg"&&(X==="annotation-xml"||Vn[X]):!!us[R]:_.namespaceURI===Gn?D.namespaceURI===Jt?R==="math":D.namespaceURI===Bn?R==="math"&&Wn[X]:!!cs[R]:_.namespaceURI===Jt?D.namespaceURI===Bn&&!Wn[X]||D.namespaceURI===Gn&&!Vn[X]?!1:!cs[R]&&(Qc[R]||!us[R]):!!(an==="application/xhtml+xml"&&Hr[_.namespaceURI]):!1},Ee=function(_){pn(e.removed,{element:_});try{b(_).removeChild(_)}catch{v(_)}},xe=function(_,D){try{pn(e.removed,{attribute:D.getAttributeNode(_),from:D})}catch{pn(e.removed,{attribute:null,from:D})}if(D.removeAttribute(_),_==="is")if(De||Un)try{Ee(D)}catch{}else try{D.setAttribute(_,"")}catch{}},ls=function(_){let D=null,R=null;if(Gr)_="<remove></remove>"+_;else{const Q=vo(_,/^[\r\n\t ]+/);R=Q&&Q[0]}an==="application/xhtml+xml"&&Ue===Jt&&(_='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+_+"</body></html>");const X=E?E.createHTML(_):_;if(Ue===Jt)try{D=new f().parseFromString(X,an)}catch{}if(!D||!D.documentElement){D=x.createDocument(Ue,"template",null);try{D.documentElement.innerHTML=Wr?N:X}catch{}}const ht=D.body||D.documentElement;return _&&R&&ht.insertBefore(n.createTextNode(R),ht.childNodes[0]||null),Ue===Jt?I.call(D,we?"html":"body")[0]:we?D.documentElement:ht},fs=function(_){return C.call(_.ownerDocument||_,_,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Xr=function(_){return _ instanceof p&&(typeof _.nodeName!="string"||typeof _.textContent!="string"||typeof _.removeChild!="function"||!(_.attributes instanceof a)||typeof _.removeAttribute!="function"||typeof _.setAttribute!="function"||typeof _.namespaceURI!="string"||typeof _.insertBefore!="function"||typeof _.hasChildNodes!="function")},ps=function(_){return typeof u=="function"&&_ instanceof u};function Qt(_,D,R){Yn(_,X=>{X.call(e,D,R,ze)})}const hs=function(_){let D=null;if(Qt(P.beforeSanitizeElements,_,null),Xr(_))return Ee(_),!0;const R=pt(_.nodeName);if(Qt(P.uponSanitizeElement,_,{tagName:R,allowedTags:j}),Fn&&_.hasChildNodes()&&!ps(_.firstElementChild)&&xt(/<[/\w!]/g,_.innerHTML)&&xt(/<[/\w!]/g,_.textContent)||_.nodeType===mn.progressingInstruction||Fn&&_.nodeType===mn.comment&&xt(/<[/\w]/g,_.data))return Ee(_),!0;if(!(Zt.tagCheck instanceof Function&&Zt.tagCheck(R))&&(!j[R]||Et[R])){if(!Et[R]&&gs(R)&&(q.tagNameCheck instanceof RegExp&&xt(q.tagNameCheck,R)||q.tagNameCheck instanceof Function&&q.tagNameCheck(R)))return!1;if(Br&&!Fe[R]){const X=b(_)||_.parentNode,ht=m(_)||_.childNodes;if(ht&&X){const Q=ht.length;for(let te=Q-1;te>=0;--te){const zt=g(ht[te],!0);zt.__removalCount=(_.__removalCount||0)+1,X.insertBefore(zt,O(_))}}}return Ee(_),!0}return _ instanceof c&&!rl(_)||(R==="noscript"||R==="noembed"||R==="noframes")&&xt(/<\/no(script|embed|frames)/i,_.innerHTML)?(Ee(_),!0):(je&&_.nodeType===mn.text&&(D=_.textContent,Yn([w,y,A],X=>{D=hn(D,X," ")}),_.textContent!==D&&(pn(e.removed,{element:_.cloneNode()}),_.textContent=D)),Qt(P.afterSanitizeElements,_,null),!1)},ds=function(_,D,R){if(es&&(D==="id"||D==="name")&&(R in n||R in nl))return!1;if(!(Ur&&!Rt[D]&&xt($,D))&&!(ke&&xt(k,D))&&!(Zt.attributeCheck instanceof Function&&Zt.attributeCheck(D,_))){if(!V[D]||Rt[D]){if(!(gs(_)&&(q.tagNameCheck instanceof RegExp&&xt(q.tagNameCheck,_)||q.tagNameCheck instanceof Function&&q.tagNameCheck(_))&&(q.attributeNameCheck instanceof RegExp&&xt(q.attributeNameCheck,D)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(D,_))||D==="is"&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&xt(q.tagNameCheck,R)||q.tagNameCheck instanceof Function&&q.tagNameCheck(R))))return!1}else if(!Vr[D]&&!xt(z,hn(R,F,""))&&!((D==="src"||D==="xlink:href"||D==="href")&&_!=="script"&&wp(R,"data:")===0&&os[_])&&!(Qi&&!xt(U,hn(R,F,"")))&&R)return!1}return!0},gs=function(_){return _!=="annotation-xml"&&vo(_,M)},ms=function(_){Qt(P.beforeSanitizeAttributes,_,null);const{attributes:D}=_;if(!D||Xr(_))return;const R={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:V,forceKeepAttr:void 0};let X=D.length;for(;X--;){const ht=D[X],{name:Q,namespaceURI:te,value:zt}=ht,Gt=pt(Q),Yr=zt;let dt=Q==="value"?Yr:Ep(Yr);if(R.attrName=Gt,R.attrValue=dt,R.keepAttr=!0,R.forceKeepAttr=void 0,Qt(P.uponSanitizeAttribute,_,R),dt=R.attrValue,ns&&(Gt==="id"||Gt==="name")&&(xe(Q,_),dt=Zc+dt),Fn&&xt(/((--!?|])>)|<\/(style|title|textarea)/i,dt)){xe(Q,_);continue}if(Gt==="attributename"&&vo(dt,"href")){xe(Q,_);continue}if(R.forceKeepAttr)continue;if(!R.keepAttr){xe(Q,_);continue}if(!ts&&xt(/\/>/i,dt)){xe(Q,_);continue}je&&Yn([w,y,A],il=>{dt=hn(dt,il," ")});const vs=pt(_.nodeName);if(!ds(vs,Gt,dt)){xe(Q,_);continue}if(E&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!te)switch(h.getAttributeType(vs,Gt)){case"TrustedHTML":{dt=E.createHTML(dt);break}case"TrustedScriptURL":{dt=E.createScriptURL(dt);break}}if(dt!==Yr)try{te?_.setAttributeNS(te,Q,dt):_.setAttribute(Q,dt),Xr(_)?Ee(_):na(e.removed)}catch{xe(Q,_)}}Qt(P.afterSanitizeAttributes,_,null)},ol=function _(D){let R=null;const X=fs(D);for(Qt(P.beforeSanitizeShadowDOM,D,null);R=X.nextNode();)Qt(P.uponSanitizeShadowNode,R,null),hs(R),ms(R),R.content instanceof i&&_(R.content);Qt(P.afterSanitizeShadowDOM,D,null)};return e.sanitize=function(_){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=null,X=null,ht=null,Q=null;if(Wr=!_,Wr&&(_="<!-->"),typeof _!="string"&&!ps(_))if(typeof _.toString=="function"){if(_=_.toString(),typeof _!="string")throw dn("dirty is not a string, aborting")}else throw dn("toString is not a function");if(!e.isSupported)return _;if(zr||qr(D),e.removed=[],typeof _=="string"&&(sn=!1),sn){if(_.nodeName){const Gt=pt(_.nodeName);if(!j[Gt]||Et[Gt])throw dn("root node is forbidden and cannot be sanitized in-place")}}else if(_ instanceof u)R=ls("<!---->"),X=R.ownerDocument.importNode(_,!0),X.nodeType===mn.element&&X.nodeName==="BODY"||X.nodeName==="HTML"?R=X:R.appendChild(X);else{if(!De&&!je&&!we&&_.indexOf("<")===-1)return E&&zn?E.createHTML(_):_;if(R=ls(_),!R)return De?null:zn?N:""}R&&Gr&&Ee(R.firstChild);const te=fs(sn?_:R);for(;ht=te.nextNode();)hs(ht),ms(ht),ht.content instanceof i&&ol(ht.content);if(sn)return _;if(De){if(Un)for(Q=T.call(R.ownerDocument);R.firstChild;)Q.appendChild(R.firstChild);else Q=R;return(V.shadowroot||V.shadowrootmode)&&(Q=L.call(r,Q,!0)),Q}let zt=we?R.outerHTML:R.innerHTML;return we&&j["!doctype"]&&R.ownerDocument&&R.ownerDocument.doctype&&R.ownerDocument.doctype.name&&xt(Wu,R.ownerDocument.doctype.name)&&(zt="<!DOCTYPE "+R.ownerDocument.doctype.name+`> `+zt),je&&Yn([w,y,A],Gt=>{zt=hn(zt,Gt," ")}),E&&zn?E.createHTML(zt):zt},e.setConfig=function(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};qr(_),zr=!0},e.clearConfig=function(){ze=null,zr=!1},e.isValidAttribute=function(_,D,R){ze||qr({});const X=pt(_),ht=pt(D);return ds(X,ht,R)},e.addHook=function(_,D){typeof D=="function"&&pn(P[_],D)},e.removeHook=function(_,D){if(D!==void 0){const R=bp(P[_],D);return R===-1?void 0:_p(P[_],R,1)[0]}return na(P[_])},e.removeHooks=function(_){P[_]=[]},e.removeAllHooks=function(){P=ua()},e}var Dp=Hu(),Eo,ca;function Mp(){if(ca)return Eo;ca=1;var t=/["'&<>]/;Eo=e;function e(n){var r=""+n,o=t.exec(r);if(!o)return r;var i,s="",u=0,c=0;for(u=o.index;u<r.length;u++){switch(r.charCodeAt(u)){case 34:i=""";break;case 38:i="&";break;case 39:i="'";break;case 60:i="<";break;case 62:i=">";break;default:continue}c!==u&&(s+=r.substring(c,u)),c=u+1,s+=i}return c!==u?s+r.substring(c,u):s}return Eo}var Fp=Mp();const la=pi(Fp);function Up(){return globalThis._nc_l10n_locale}function Nm(){return Up().replaceAll(/_/g,"-")}function qu(){return globalThis._nc_l10n_language}function Am(t){const e=qu();return["ae","ar","arc","arz","bcc","bqi","ckb","dv","fa","glk","ha","he","khw","ks","ku","mzn","nqo","pnb","ps","sd","ug","ur","ur-PK","uz-AF","yi"].includes(e)}globalThis._nc_l10n_locale??=typeof document<"u"&&document.documentElement.dataset.locale||Intl.DateTimeFormat().resolvedOptions().locale.replaceAll(/-/g,"_"),globalThis._nc_l10n_language??=typeof document<"u"&&document.documentElement.lang||(globalThis.navigator?.language??"en");function Xu(t){return{translations:globalThis._oc_l10n_registry_translations[t]??{},pluralFunction:globalThis._oc_l10n_registry_plural_functions[t]??(e=>e)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function xo(t,e,n,r,o){const i=typeof n=="object"?n:void 0,s=typeof r=="number"?r:typeof n=="number"?n:void 0,u={escape:!0,sanitize:!0,...typeof o=="object"?o:typeof r=="object"?r:{}},c=d=>d,l=(u.sanitize?Dp.sanitize:c)||c,a=u.escape?la:c,p=d=>typeof d=="string"||typeof d=="number",f=(d,g,v)=>d.replace(/%n/g,""+v).replace(/{([^{}]*)}/g,(O,m)=>{if(g===void 0||!(m in g))return a(O);const b=g[m];return p(b)?a(`${b}`):typeof b=="object"&&p(b.value)?(b.escape!==!1?la:c)(`${b.value}`):a(O)});let h=(o?.bundle??Xu(t)).translations[e]||e;return h=Array.isArray(h)?h[0]:h,l(typeof i=="object"||s!==void 0?f(h,i,s):h)}function Sm(t,e,n,r,o,i){const s="_"+e+"_::_"+n+"_",u=i?.bundle??Xu(t),c=u.translations[s];if(typeof c<"u"){const l=c;if(Array.isArray(l)){const a=u.pluralFunction(r);return xo(t,l[a],o,r,i)}}return r===1?xo(t,e,o,r,i):xo(t,n,o,r,i)}function Cm(t,e=qu()){switch(e==="pt-BR"&&(e="xbr"),e.length>3&&(e=e.substring(0,e.lastIndexOf("-"))),e){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return t===1?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return t===0||t===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"cs":case"sk":return t===1?0:t>=2&&t<=4?1:2;case"ga":return t===1?0:t===2?1:2;case"lt":return t%10===1&&t%100!==11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2;case"sl":return t%100===1?0:t%100===2?1:t%100===3||t%100===4?2:3;case"mk":return t%10===1?0:1;case"mt":return t===1?0:t===0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3;case"lv":return t===0?0:t%10===1&&t%100!==11?1:2;case"pl":return t===1?0:t%10>=2&&t%10<=4&&(t%100<12||t%100>14)?1:2;case"cy":return t===1?0:t===2?1:t===8||t===11?2:3;case"ro":return t===1?0:t===0||t%100>0&&t%100<20?1:2;case"ar":return t===0?0:t===1?1:t===2?2:t%100>=3&&t%100<=10?3:t%100>=11&&t%100<=99?4:5;default:return 0}}var zp={},yt=Object.freeze({}),W=Array.isArray;function G(t){return t==null}function S(t){return t!=null}function tt(t){return t===!0}function Gp(t){return t===!1}function Ln(t){return typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="boolean"}function Y(t){return typeof t=="function"}function wt(t){return t!==null&&typeof t=="object"}var Ii=Object.prototype.toString;function It(t){return Ii.call(t)==="[object Object]"}function Bp(t){return Ii.call(t)==="[object RegExp]"}function Yu(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function Bo(t){return S(t)&&typeof t.then=="function"&&typeof t.catch=="function"}function Vp(t){return t==null?"":Array.isArray(t)||It(t)&&t.toString===Ii?JSON.stringify(t,Wp,2):String(t)}function Wp(t,e){return e&&e.__v_isRef?e.value:e}function Nn(t){var e=parseFloat(t);return isNaN(e)?t:e}function Ht(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(i){return n[i.toLowerCase()]}:function(i){return n[i]}}Ht("slot,component",!0);var Hp=Ht("key,ref,slot,slot-scope,is");function be(t,e){var n=t.length;if(n){if(e===t[n-1]){t.length=n-1;return}var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var qp=Object.prototype.hasOwnProperty;function St(t,e){return qp.call(t,e)}function Re(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var Xp=/-(\w)/g,Ce=Re(function(t){return t.replace(Xp,function(e,n){return n?n.toUpperCase():""})}),Yp=Re(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Kp=/\B([A-Z])/g,Rn=Re(function(t){return t.replace(Kp,"-$1").toLowerCase()});function Zp(t,e){function n(r){var o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,r):t.call(e)}return n._length=t.length,n}function Jp(t,e){return t.bind(e)}var Ku=Function.prototype.bind?Jp:Zp;function Vo(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function Z(t,e){for(var n in e)t[n]=e[n];return t}function Zu(t){for(var e={},n=0;n<t.length;n++)t[n]&&Z(e,t[n]);return e}function J(t,e,n){}var Zn=function(t,e,n){return!1},Ju=function(t){return t};function $e(t,e){if(t===e)return!0;var n=wt(t),r=wt(e);if(n&&r)try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every(function(c,l){return $e(c,e[l])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(!o&&!i){var s=Object.keys(t),u=Object.keys(e);return s.length===u.length&&s.every(function(c){return $e(t[c],e[c])})}else return!1}catch{return!1}else return!n&&!r?String(t)===String(e):!1}function Qu(t,e){for(var n=0;n<t.length;n++)if($e(t[n],e))return n;return-1}function xr(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function Wo(t,e){return t===e?t===0&&1/t!==1/e:t===t||e===e}var fa="data-server-rendered",Mr=["component","directive","filter"],tc=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],Mt={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Zn,isReservedAttr:Zn,isUnknownElement:Zn,getTagNamespace:J,parsePlatformTagName:Ju,mustUseProp:Zn,async:!0,_lifecycleHooks:tc},Qp=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function ec(t){var e=(t+"").charCodeAt(0);return e===36||e===95}function ot(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!1,writable:!0,configurable:!0})}var th=new RegExp("[^".concat(Qp.source,".$_\\d]"));function eh(t){if(!th.test(t)){var e=t.split(".");return function(n){for(var r=0;r<e.length;r++){if(!n)return;n=n[e[r]]}return n}}}var nh="__proto__"in{},Pt=typeof window<"u",Ut=Pt&&window.navigator.userAgent.toLowerCase(),en=Ut&&/msie|trident/.test(Ut),nn=Ut&&Ut.indexOf("msie 9.0")>0,nc=Ut&&Ut.indexOf("edge/")>0;Ut&&Ut.indexOf("android")>0;var rh=Ut&&/iphone|ipad|ipod|ios/.test(Ut),pa=Ut&&Ut.match(/firefox\/(\d+)/),Ho={}.watch,rc=!1;if(Pt)try{var ha={};Object.defineProperty(ha,"passive",{get:function(){rc=!0}}),window.addEventListener("test-passive",null,ha)}catch{}var Jn,_e=function(){return Jn===void 0&&(!Pt&&typeof Ve<"u"?Jn=Ve.process&&zp.VUE_ENV==="server":Jn=!1),Jn},Or=Pt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Je(t){return typeof t=="function"&&/native code/.test(t.toString())}var kn=typeof Symbol<"u"&&Je(Symbol)&&typeof Reflect<"u"&&Je(Reflect.ownKeys),An;typeof Set<"u"&&Je(Set)?An=Set:An=function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(e){return this.set[e]===!0},t.prototype.add=function(e){this.set[e]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var at=null;function $m(){return at&&{proxy:at}}function me(t){t===void 0&&(t=null),t||at&&at._scope.off(),at=t,t&&t._scope.on()}var Lt=function(){function t(e,n,r,o,i,s,u,c){this.tag=e,this.data=n,this.children=r,this.text=o,this.elm=i,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=u,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=c,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),Qe=function(t){t===void 0&&(t="");var e=new Lt;return e.text=t,e.isComment=!0,e};function qe(t){return new Lt(void 0,void 0,void 0,String(t))}function qo(t){var e=new Lt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var oh=0,cr=[],ih=function(){for(var t=0;t<cr.length;t++){var e=cr[t];e.subs=e.subs.filter(function(n){return n}),e._pending=!1}cr.length=0},Kt=function(){function t(){this._pending=!1,this.id=oh++,this.subs=[]}return t.prototype.addSub=function(e){this.subs.push(e)},t.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,cr.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(e){for(var n=this.subs.filter(function(s){return s}),r=0,o=n.length;r<o;r++){var i=n[r];i.update()}},t}();Kt.target=null;var lr=[];function rn(t){lr.push(t),Kt.target=t}function on(){lr.pop(),Kt.target=lr[lr.length-1]}var oc=Array.prototype,Tr=Object.create(oc),sh=["push","pop","shift","unshift","splice","sort","reverse"];sh.forEach(function(t){var e=oc[t];ot(Tr,t,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n),i=this.__ob__,s;switch(t){case"push":case"unshift":s=n;break;case"splice":s=n.slice(2);break}return s&&i.observeArray(s),i.dep.notify(),o})});var da=Object.getOwnPropertyNames(Tr),ic={},Pi=!0;function ve(t){Pi=t}var ah={notify:J,depend:J,addSub:J,removeSub:J},ga=function(){function t(e,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!1),this.value=e,this.shallow=n,this.mock=r,this.dep=r?ah:new Kt,this.vmCount=0,ot(e,"__ob__",this),W(e)){if(!r)if(nh)e.__proto__=Tr;else for(var o=0,i=da.length;o<i;o++){var s=da[o];ot(e,s,Tr[s])}n||this.observeArray(e)}else for(var u=Object.keys(e),o=0;o<u.length;o++){var s=u[o];ye(e,s,ic,void 0,n,r)}}return t.prototype.observeArray=function(e){for(var n=0,r=e.length;n<r;n++)ce(e[n],!1,this.mock)},t}();function ce(t,e,n){if(t&&St(t,"__ob__")&&t.__ob__ instanceof ga)return t.__ob__;if(Pi&&(n||!_e())&&(W(t)||It(t))&&Object.isExtensible(t)&&!t.__v_skip&&!_t(t)&&!(t instanceof Lt))return new ga(t,e,n)}function ye(t,e,n,r,o,i,s){s===void 0&&(s=!1);var u=new Kt,c=Object.getOwnPropertyDescriptor(t,e);if(!(c&&c.configurable===!1)){var l=c&&c.get,a=c&&c.set;(!l||a)&&(n===ic||arguments.length===2)&&(n=t[e]);var p=o?n&&n.__ob__:ce(n,!1,i);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var f=l?l.call(t):n;return Kt.target&&(u.depend(),p&&(p.dep.depend(),W(f)&&ac(f))),_t(f)&&!o?f.value:f},set:function(f){var h=l?l.call(t):n;if(Wo(h,f)){if(a)a.call(t,f);else{if(l)return;if(!o&&_t(h)&&!_t(f)){h.value=f;return}else n=f}p=o?f&&f.__ob__:ce(f,!1,i),u.notify()}}}),u}}function Li(t,e,n){if(!jn(t)){var r=t.__ob__;return W(t)&&Yu(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&ce(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(ye(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function sc(t,e){if(W(t)&&Yu(e)){t.splice(e,1);return}var n=t.__ob__;t._isVue||n&&n.vmCount||jn(t)||St(t,e)&&(delete t[e],n&&n.dep.notify())}function ac(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),W(e)&&ac(e)}function Im(t){return cc(t,!1),t}function uc(t){return cc(t,!0),ot(t,"__v_isShallow",!0),t}function cc(t,e){jn(t)||ce(t,e,_e())}function fr(t){return jn(t)?fr(t.__v_raw):!!(t&&t.__ob__)}function Xo(t){return!!(t&&t.__v_isShallow)}function jn(t){return!!(t&&t.__v_isReadonly)}function uh(t){var e=t&&t.__v_raw;return e?uh(e):t}function Pm(t){return Object.isExtensible(t)&&ot(t,"__v_skip",!0),t}var Dn="__v_isRef";function _t(t){return!!(t&&t.__v_isRef===!0)}function Lm(t){return lc(t,!1)}function Rm(t){return lc(t,!0)}function lc(t,e){if(_t(t))return t;var n={};return ot(n,Dn,!0),ot(n,"__v_isShallow",e),ot(n,"dep",ye(n,"value",t,null,e,_e())),n}function km(t){return _t(t)?t.value:t}function Yo(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var r=e[n];if(_t(r))return r.value;var o=r&&r.__ob__;return o&&o.dep.depend(),r},set:function(r){var o=e[n];_t(o)&&!_t(r)?o.value=r:e[n]=r}})}function jm(t){var e=new Kt,n=t(function(){e.depend()},function(){e.notify()}),r=n.get,o=n.set,i={get value(){return r()},set value(s){o(s)}};return ot(i,Dn,!0),i}function Dm(t){var e=W(t)?new Array(t.length):{};for(var n in t)e[n]=ch(t,n);return e}function ch(t,e,n){var r=t[e];if(_t(r))return r;var o={get value(){var i=t[e];return i===void 0?n:i},set value(i){t[e]=i}};return ot(o,Dn,!0),o}var lh="__v_rawToReadonly";function fh(t){return ph(t)}function ph(t,e){if(!It(t)||jn(t))return t;var n=lh,r=t[n];if(r)return r;var o=Object.create(Object.getPrototypeOf(t));ot(t,n,o),ot(o,"__v_isReadonly",!0),ot(o,"__v_raw",t),_t(t)&&ot(o,Dn,!0),Xo(t)&&ot(o,"__v_isShallow",!0);for(var i=Object.keys(t),s=0;s<i.length;s++)hh(o,t,i[s]);return o}function hh(t,e,n,r){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var o=e[n];return It(o)?fh(o):o},set:function(){}})}function Mm(t,e){var n,r,o=Y(t);o?(n=t,r=J):(n=t.get,r=t.set);var i=_e()?null:new Mn(at,n,J,{lazy:!0}),s={effect:i,get value(){return i?(i.dirty&&i.evaluate(),Kt.target&&i.depend(),i.value):n()},set value(u){r(u)}};return ot(s,Dn,!0),ot(s,"__v_isReadonly",o),s}var Fr="watcher",ma="".concat(Fr," callback"),va="".concat(Fr," getter"),dh="".concat(Fr," cleanup");function Fm(t,e){return Ri(t,null,e)}function gh(t,e){return Ri(t,null,{flush:"post"})}var ya={};function Um(t,e,n){return Ri(t,e,n)}function Ri(t,e,n){var r=n===void 0?yt:n,o=r.immediate,i=r.deep,s=r.flush,u=s===void 0?"pre":s;r.onTrack,r.onTrigger;var c=at,l=function(m,b,E){E===void 0&&(E=null);var N=le(m,null,E,c,b);return i&&N&&N.__ob__&&N.__ob__.dep.depend(),N},a,p=!1,f=!1;if(_t(t)?(a=function(){return t.value},p=Xo(t)):fr(t)?(a=function(){return t.__ob__.dep.depend(),t},i=!0):W(t)?(f=!0,p=t.some(function(m){return fr(m)||Xo(m)}),a=function(){return t.map(function(m){if(_t(m))return m.value;if(fr(m))return m.__ob__.dep.depend(),tn(m);if(Y(m))return l(m,va)})}):Y(t)?e?a=function(){return l(t,va)}:a=function(){if(!(c&&c._isDestroyed))return d&&d(),l(t,Fr,[g])}:a=J,e&&i){var h=a;a=function(){return tn(h())}}var d,g=function(m){d=v.onStop=function(){l(m,dh)}};if(_e())return g=J,e?o&&l(e,ma,[a(),f?[]:void 0,g]):a(),J;var v=new Mn(at,a,J,{lazy:!0});v.noRecurse=!e;var O=f?[]:ya;return v.run=function(){if(v.active)if(e){var m=v.get();(i||p||(f?m.some(function(b,E){return Wo(b,O[E])}):Wo(m,O)))&&(d&&d(),l(e,ma,[m,O===ya?void 0:O,g]),O=m)}else v.get()},u==="sync"?v.update=v.run:u==="post"?(v.post=!0,v.update=function(){return ni(v)}):v.update=function(){if(c&&c===at&&!c._isMounted){var m=c._preWatchers||(c._preWatchers=[]);m.indexOf(v)<0&&m.push(v)}else ni(v)},e?o?v.run():O=v.get():u==="post"&&c?c.$once("hook:mounted",function(){return v.get()}):v.get(),function(){v.teardown()}}var vt,fc=function(){function t(e){e===void 0&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=vt,!e&&vt&&(this.index=(vt.scopes||(vt.scopes=[])).push(this)-1)}return t.prototype.run=function(e){if(this.active){var n=vt;try{return vt=this,e()}finally{vt=n}}},t.prototype.on=function(){vt=this},t.prototype.off=function(){vt=this.parent},t.prototype.stop=function(e){if(this.active){var n=void 0,r=void 0;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].teardown();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){var o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this.active=!1}},t}();function zm(t){return new fc(t)}function mh(t,e){e===void 0&&(e=vt),e&&e.active&&e.effects.push(t)}function vh(){return vt}function Gm(t){vt&&vt.cleanups.push(t)}function Bm(t,e){at&&(pc(at)[t]=e)}function pc(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function Vm(t,e,n){n===void 0&&(n=!1);var r=at;if(r){var o=r.$parent&&r.$parent._provided;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Y(e)?e.call(r):e}}var ba=Re(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var n=t.charAt(0)==="~";t=n?t.slice(1):t;var r=t.charAt(0)==="!";return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}});function Ko(t,e){function n(){var r=n.fns;if(W(r))for(var o=r.slice(),i=0;i<o.length;i++)le(o[i],null,arguments,e,"v-on handler");else return le(r,null,arguments,e,"v-on handler")}return n.fns=t,n}function hc(t,e,n,r,o,i){var s,u,c,l;for(s in t)u=t[s],c=e[s],l=ba(s),G(u)||(G(c)?(G(u.fns)&&(u=t[s]=Ko(u,i)),tt(l.once)&&(u=t[s]=o(l.name,u,l.capture)),n(l.name,u,l.capture,l.passive,l.params)):u!==c&&(c.fns=u,t[s]=c));for(s in e)G(t[s])&&(l=ba(s),r(l.name,e[s],l.capture))}function de(t,e,n){t instanceof Lt&&(t=t.data.hook||(t.data.hook={}));var r,o=t[e];function i(){n.apply(this,arguments),be(r.fns,i)}G(o)?r=Ko([i]):S(o.fns)&&tt(o.merged)?(r=o,r.fns.push(i)):r=Ko([o,i]),r.merged=!0,t[e]=r}function yh(t,e,n){var r=e.options.props;if(!G(r)){var o={},i=t.attrs,s=t.props;if(S(i)||S(s))for(var u in r){var c=Rn(u);_a(o,s,u,c,!0)||_a(o,i,u,c,!1)}return o}}function _a(t,e,n,r,o){if(S(e)){if(St(e,n))return t[n]=e[n],o||delete e[n],!0;if(St(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function bh(t){for(var e=0;e<t.length;e++)if(W(t[e]))return Array.prototype.concat.apply([],t);return t}function ki(t){return Ln(t)?[qe(t)]:W(t)?dc(t):void 0}function vn(t){return S(t)&&S(t.text)&&Gp(t.isComment)}function dc(t,e){var n=[],r,o,i,s;for(r=0;r<t.length;r++)o=t[r],!(G(o)||typeof o=="boolean")&&(i=n.length-1,s=n[i],W(o)?o.length>0&&(o=dc(o,"".concat(e||"","_").concat(r)),vn(o[0])&&vn(s)&&(n[i]=qe(s.text+o[0].text),o.shift()),n.push.apply(n,o)):Ln(o)?vn(s)?n[i]=qe(s.text+o):o!==""&&n.push(qe(o)):vn(o)&&vn(s)?n[i]=qe(s.text+o.text):(tt(t._isVList)&&S(o.tag)&&G(o.key)&&S(e)&&(o.key="__vlist".concat(e,"_").concat(r,"__")),n.push(o)));return n}function _h(t,e){var n=null,r,o,i,s;if(W(t)||typeof t=="string")for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if(typeof t=="number")for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(wt(t))if(kn&&t[Symbol.iterator]){n=[];for(var u=t[Symbol.iterator](),c=u.next();!c.done;)n.push(e(c.value,n.length)),c=u.next()}else for(i=Object.keys(t),n=new Array(i.length),r=0,o=i.length;r<o;r++)s=i[r],n[r]=e(t[s],s,r);return S(n)||(n=[]),n._isVList=!0,n}function wh(t,e,n,r){var o=this.$scopedSlots[t],i;o?(n=n||{},r&&(n=Z(Z({},r),n)),i=o(n)||(Y(e)?e():e)):i=this.$slots[t]||(Y(e)?e():e);var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Eh(t){return $r(this.$options,"filters",t)||Ju}function wa(t,e){return W(t)?t.indexOf(e)===-1:t!==e}function xh(t,e,n,r,o){var i=Mt.keyCodes[e]||n;return o&&r&&!Mt.keyCodes[e]?wa(o,r):i?wa(i,t):r?Rn(r)!==e:t===void 0}function Oh(t,e,n,r,o){if(n&&wt(n)){W(n)&&(n=Zu(n));var i=void 0,s=function(c){if(c==="class"||c==="style"||Hp(c))i=t;else{var l=t.attrs&&t.attrs.type;i=r||Mt.mustUseProp(e,l,c)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var a=Ce(c),p=Rn(c);if(!(a in i)&&!(p in i)&&(i[c]=n[c],o)){var f=t.on||(t.on={});f["update:".concat(c)]=function(h){n[c]=h}}};for(var u in n)s(u)}return t}function Th(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),gc(r,"__static__".concat(t),!1)),r}function Nh(t,e,n){return gc(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function gc(t,e,n){if(W(t))for(var r=0;r<t.length;r++)t[r]&&typeof t[r]!="string"&&Ea(t[r],"".concat(e,"_").concat(r),n);else Ea(t,e,n)}function Ea(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ah(t,e){if(e&&It(e)){var n=t.on=t.on?Z({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}return t}function mc(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var i=t[o];W(i)?mc(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return r&&(e.$key=r),e}function Sh(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];typeof r=="string"&&r&&(t[e[n]]=e[n+1])}return t}function Ch(t,e){return typeof t=="string"?e+t:t}function vc(t){t._o=Nh,t._n=Nn,t._s=Vp,t._l=_h,t._t=wh,t._q=$e,t._i=Qu,t._m=Th,t._f=Eh,t._k=xh,t._b=Oh,t._v=qe,t._e=Qe,t._u=mc,t._g=Ah,t._d=Sh,t._p=Ch}function ji(t,e){if(!t||!t.length)return{};for(var n={},r=0,o=t.length;r<o;r++){var i=t[r],s=i.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,(i.context===e||i.fnContext===e)&&s&&s.slot!=null){var u=s.slot,c=n[u]||(n[u]=[]);i.tag==="template"?c.push.apply(c,i.children||[]):c.push(i)}else(n.default||(n.default=[])).push(i)}for(var l in n)n[l].every($h)&&delete n[l];return n}function $h(t){return t.isComment&&!t.asyncFactory||t.text===" "}function Sn(t){return t.isComment&&t.asyncFactory}function On(t,e,n,r){var o,i=Object.keys(n).length>0,s=e?!!e.$stable:!i,u=e&&e.$key;if(!e)o={};else{if(e._normalized)return e._normalized;if(s&&r&&r!==yt&&u===r.$key&&!i&&!r.$hasNormal)return r;o={};for(var c in e)e[c]&&c[0]!=="$"&&(o[c]=Ih(t,n,c,e[c]))}for(var l in n)l in o||(o[l]=Ph(n,l));return e&&Object.isExtensible(e)&&(e._normalized=o),ot(o,"$stable",s),ot(o,"$key",u),ot(o,"$hasNormal",i),o}function Ih(t,e,n,r){var o=function(){var i=at;me(t);var s=arguments.length?r.apply(null,arguments):r({});s=s&&typeof s=="object"&&!W(s)?[s]:ki(s);var u=s&&s[0];return me(i),s&&(!u||s.length===1&&u.isComment&&!Sn(u))?void 0:s};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function Ph(t,e){return function(){return t[e]}}function Lh(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=yc(t);me(t),rn();var o=le(n,null,[t._props||uc({}),r],t,"setup");if(on(),me(),Y(o))e.render=o;else if(wt(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var s in o)s!=="__sfc"&&Yo(i,o,s)}else for(var s in o)ec(s)||Yo(t,o,s)}}function yc(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};ot(e,"_v_attr_proxy",!0),Nr(e,t.$attrs,yt,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Nr(e,t.$listeners,yt,t,"$listeners")}return t._listenersProxy},get slots(){return kh(t)},emit:Ku(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(n){return Yo(t,e,n)})}}}function Nr(t,e,n,r,o){var i=!1;for(var s in e)s in t?e[s]!==n[s]&&(i=!0):(i=!0,Rh(t,s,r,o));for(var s in t)s in e||(i=!0,delete t[s]);return i}function Rh(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function kh(t){return t._slotsProxy||bc(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function bc(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Wm(){return jh().slots}function jh(){var t=at;return t._setupContext||(t._setupContext=yc(t))}function Dh(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=ji(e._renderChildren,r),t.$scopedSlots=n?On(t.$parent,n.data.scopedSlots,t.$slots):yt,t._c=function(i,s,u,c){return Ar(t,i,s,u,c,!1)},t.$createElement=function(i,s,u,c){return Ar(t,i,s,u,c,!0)};var o=n&&n.data;ye(t,"$attrs",o&&o.attrs||yt,null,!0),ye(t,"$listeners",e._parentListeners||yt,null,!0)}var pr=null;function Mh(t){vc(t.prototype),t.prototype.$nextTick=function(e){return Di(e,this)},t.prototype._render=function(){var e=this,n=e.$options,r=n.render,o=n._parentVnode;o&&e._isMounted&&(e.$scopedSlots=On(e.$parent,o.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&bc(e._slotsProxy,e.$scopedSlots)),e.$vnode=o;var i=at,s=pr,u;try{me(e),pr=e,u=r.call(e._renderProxy,e.$createElement)}catch(c){Ie(c,e,"render"),u=e._vnode}finally{pr=s,me(i)}return W(u)&&u.length===1&&(u=u[0]),u instanceof Lt||(u=Qe()),u.parent=o,u}}function Oo(t,e){return(t.__esModule||kn&&t[Symbol.toStringTag]==="Module")&&(t=t.default),wt(t)?e.extend(t):t}function Fh(t,e,n,r,o){var i=Qe();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function Uh(t,e){if(tt(t.error)&&S(t.errorComp))return t.errorComp;if(S(t.resolved))return t.resolved;var n=pr;if(n&&S(t.owners)&&t.owners.indexOf(n)===-1&&t.owners.push(n),tt(t.loading)&&S(t.loadingComp))return t.loadingComp;if(n&&!S(t.owners)){var r=t.owners=[n],o=!0,i=null,s=null;n.$on("hook:destroyed",function(){return be(r,n)});var u=function(p){for(var f=0,h=r.length;f<h;f++)r[f].$forceUpdate();p&&(r.length=0,i!==null&&(clearTimeout(i),i=null),s!==null&&(clearTimeout(s),s=null))},c=xr(function(p){t.resolved=Oo(p,e),o?r.length=0:u(!0)}),l=xr(function(p){S(t.errorComp)&&(t.error=!0,u(!0))}),a=t(c,l);return wt(a)&&(Bo(a)?G(t.resolved)&&a.then(c,l):Bo(a.component)&&(a.component.then(c,l),S(a.error)&&(t.errorComp=Oo(a.error,e)),S(a.loading)&&(t.loadingComp=Oo(a.loading,e),a.delay===0?t.loading=!0:i=setTimeout(function(){i=null,G(t.resolved)&&G(t.error)&&(t.loading=!0,u(!1))},a.delay||200)),S(a.timeout)&&(s=setTimeout(function(){s=null,G(t.resolved)&&l(null)},a.timeout)))),o=!1,t.loading?t.loadingComp:t.resolved}}function _c(t){if(W(t))for(var e=0;e<t.length;e++){var n=t[e];if(S(n)&&(S(n.componentOptions)||Sn(n)))return n}}var zh=1,wc=2;function Ar(t,e,n,r,o,i){return(W(n)||Ln(n))&&(o=r,r=n,n=void 0),tt(i)&&(o=wc),Gh(t,e,n,r,o)}function Gh(t,e,n,r,o){if(S(n)&&S(n.__ob__)||(S(n)&&S(n.is)&&(e=n.is),!e))return Qe();W(r)&&Y(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===wc?r=ki(r):o===zh&&(r=bh(r));var i,s;if(typeof e=="string"){var u=void 0;s=t.$vnode&&t.$vnode.ns||Mt.getTagNamespace(e),Mt.isReservedTag(e)?i=new Lt(Mt.parsePlatformTagName(e),n,r,void 0,void 0,t):(!n||!n.pre)&&S(u=$r(t.$options,"components",e))?i=$a(u,n,t,r,e):i=new Lt(e,n,r,void 0,void 0,t)}else i=$a(e,n,t,r);return W(i)?i:S(i)?(S(s)&&Ec(i,s),S(n)&&Bh(n),i):Qe()}function Ec(t,e,n){if(t.ns=e,t.tag==="foreignObject"&&(e=void 0,n=!0),S(t.children))for(var r=0,o=t.children.length;r<o;r++){var i=t.children[r];S(i.tag)&&(G(i.ns)||tt(n)&&i.tag!=="svg")&&Ec(i,e,n)}}function Bh(t){wt(t.style)&&tn(t.style),wt(t.class)&&tn(t.class)}function Ie(t,e,n){rn();try{if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var s=o[i].call(r,t,e,n)===!1;if(s)return}catch(u){xa(u,r,"errorCaptured hook")}}xa(t,e,n)}finally{on()}}function le(t,e,n,r,o){var i;try{i=n?t.apply(e,n):t.call(e),i&&!i._isVue&&Bo(i)&&!i._handled&&(i.catch(function(s){return Ie(s,r,o+" (Promise/async)")}),i._handled=!0)}catch(s){Ie(s,r,o)}return i}function xa(t,e,n){if(Mt.errorHandler)try{return Mt.errorHandler.call(null,t,e,n)}catch(r){r!==t&&Oa(r)}Oa(t)}function Oa(t,e,n){if(Pt&&typeof console<"u")console.error(t);else throw t}var Zo=!1,Jo=[],Qo=!1;function Qn(){Qo=!1;var t=Jo.slice(0);Jo.length=0;for(var e=0;e<t.length;e++)t[e]()}var wn;if(typeof Promise<"u"&&Je(Promise)){var Vh=Promise.resolve();wn=function(){Vh.then(Qn),rh&&setTimeout(J)},Zo=!0}else if(!en&&typeof MutationObserver<"u"&&(Je(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var tr=1,Wh=new MutationObserver(Qn),Ta=document.createTextNode(String(tr));Wh.observe(Ta,{characterData:!0}),wn=function(){tr=(tr+1)%2,Ta.data=String(tr)},Zo=!0}else typeof setImmediate<"u"&&Je(setImmediate)?wn=function(){setImmediate(Qn)}:wn=function(){setTimeout(Qn,0)};function Di(t,e){var n;if(Jo.push(function(){if(t)try{t.call(e)}catch(r){Ie(r,e,"nextTick")}else n&&n(e)}),Qo||(Qo=!0,wn()),!t&&typeof Promise<"u")return new Promise(function(r){n=r})}function Hm(t){t===void 0&&(t="$style");{if(!at)return yt;var e=at[t];return e||yt}}function qm(t){if(Pt){var e=at;e&&gh(function(){var n=e.$el,r=t(e,e._setupProxy);if(n&&n.nodeType===1){var o=n.style;for(var i in r)o.setProperty("--".concat(i),r[i])}})}}function Xm(t){Y(t)&&(t={loader:t});var e=t.loader,n=t.loadingComponent,r=t.errorComponent,o=t.delay,i=o===void 0?200:o,s=t.timeout;t.suspensible;var u=t.onError,c=null,l=0,a=function(){return l++,c=null,p()},p=function(){var f;return c||(f=c=e().catch(function(h){if(h=h instanceof Error?h:new Error(String(h)),u)return new Promise(function(d,g){var v=function(){return d(a())},O=function(){return g(h)};u(h,v,O,l+1)});throw h}).then(function(h){return f!==c&&c?c:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),h)}))};return function(){var f=p();return{component:f,delay:i,timeout:s,error:r,loading:n}}}function Mi(t){return function(e,n){if(n===void 0&&(n=at),!!n)return Hh(n,t,e)}}function Hh(t,e,n){var r=t.$options;r[e]=Cc(r[e],n)}var Ym=Mi("mounted"),Km=Mi("beforeDestroy"),Zm=Mi("destroyed"),qh="2.7.16";function Jm(t){return t}var Na=new An;function tn(t){return hr(t,Na),Na.clear(),t}function hr(t,e){var n,r,o=W(t);if(!(!o&&!wt(t)||t.__v_skip||Object.isFrozen(t)||t instanceof Lt)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)hr(t[n],e);else if(_t(t))hr(t.value,e);else for(r=Object.keys(t),n=r.length;n--;)hr(t[r[n]],e)}}var Xh=0,Mn=function(){function t(e,n,r,o,i){mh(this,vt&&!vt._vm?vt:e?e._scope:void 0),(this.vm=e)&&i&&(e._watcher=this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync,this.before=o.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++Xh,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new An,this.newDepIds=new An,this.expression="",Y(n)?this.getter=n:(this.getter=eh(n),this.getter||(this.getter=J)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){rn(this);var e,n=this.vm;try{e=this.getter.call(n,n)}catch(r){if(this.user)Ie(r,n,'getter for watcher "'.concat(this.expression,'"'));else throw r}finally{this.deep&&tn(e),on(),this.cleanupDeps()}return e},t.prototype.addDep=function(e){var n=e.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(e),this.depIds.has(n)||e.addSub(this))},t.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var n=this.deps[e];this.newDepIds.has(n.id)||n.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ni(this)},t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||wt(e)||this.deep){var n=this.value;if(this.value=e,this.user){var r='callback for watcher "'.concat(this.expression,'"');le(this.cb,this.vm,[e,n],this.vm,r)}else this.cb.call(this.vm,e,n)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&be(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function Yh(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&xc(t,e)}var Cn;function Kh(t,e){Cn.$on(t,e)}function Zh(t,e){Cn.$off(t,e)}function Jh(t,e){var n=Cn;return function r(){var o=e.apply(null,arguments);o!==null&&n.$off(t,r)}}function xc(t,e,n){Cn=t,hc(e,n||{},Kh,Zh,Jh,t),Cn=void 0}function Qh(t){var e=/^hook:/;t.prototype.$on=function(n,r){var o=this;if(W(n))for(var i=0,s=n.length;i<s;i++)o.$on(n[i],r);else(o._events[n]||(o._events[n]=[])).push(r),e.test(n)&&(o._hasHookEvent=!0);return o},t.prototype.$once=function(n,r){var o=this;function i(){o.$off(n,i),r.apply(o,arguments)}return i.fn=r,o.$on(n,i),o},t.prototype.$off=function(n,r){var o=this;if(!arguments.length)return o._events=Object.create(null),o;if(W(n)){for(var i=0,s=n.length;i<s;i++)o.$off(n[i],r);return o}var u=o._events[n];if(!u)return o;if(!r)return o._events[n]=null,o;for(var c,l=u.length;l--;)if(c=u[l],c===r||c.fn===r){u.splice(l,1);break}return o},t.prototype.$emit=function(n){var r=this,o=r._events[n];if(o){o=o.length>1?Vo(o):o;for(var i=Vo(arguments,1),s='event handler for "'.concat(n,'"'),u=0,c=o.length;u<c;u++)le(o[u],r,i,r,s)}return r}}var Ae=null;function Oc(t){var e=Ae;return Ae=t,function(){Ae=e}}function td(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function ed(t){t.prototype._update=function(e,n){var r=this,o=r.$el,i=r._vnode,s=Oc(r);r._vnode=e,i?r.$el=r.__patch__(i,e):r.$el=r.__patch__(r.$el,e,n,!1),s(),o&&(o.__vue__=null),r.$el&&(r.$el.__vue__=r);for(var u=r;u&&u.$vnode&&u.$parent&&u.$vnode===u.$parent._vnode;)u.$parent.$el=u.$el,u=u.$parent},t.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},t.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Wt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var n=e.$parent;n&&!n._isBeingDestroyed&&!e.$options.abstract&&be(n.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Wt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function nd(t,e,n){t.$el=e,t.$options.render||(t.$options.render=Qe),Wt(t,"beforeMount");var r;r=function(){t._update(t._render(),n)};var o={before:function(){t._isMounted&&!t._isDestroyed&&Wt(t,"beforeUpdate")}};new Mn(t,r,J,o,!0),n=!1;var i=t._preWatchers;if(i)for(var s=0;s<i.length;s++)i[s].run();return t.$vnode==null&&(t._isMounted=!0,Wt(t,"mounted")),t}function rd(t,e,n,r,o){var i=r.data.scopedSlots,s=t.$scopedSlots,u=!!(i&&!i.$stable||s!==yt&&!s.$stable||i&&t.$scopedSlots.$key!==i.$key||!i&&t.$scopedSlots.$key),c=!!(o||t.$options._renderChildren||u),l=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o;var a=r.data.attrs||yt;t._attrsProxy&&Nr(t._attrsProxy,a,l.data&&l.data.attrs||yt,t,"$attrs")&&(c=!0),t.$attrs=a,n=n||yt;var p=t.$options._parentListeners;if(t._listenersProxy&&Nr(t._listenersProxy,n,p||yt,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,xc(t,n,p),e&&t.$options.props){ve(!1);for(var f=t._props,h=t.$options._propKeys||[],d=0;d<h.length;d++){var g=h[d],v=t.$options.props;f[g]=Vi(g,v,e,t)}ve(!0),t.$options.propsData=e}c&&(t.$slots=ji(o,r.context),t.$forceUpdate())}function Tc(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Fi(t,e){if(e){if(t._directInactive=!1,Tc(t))return}else if(t._directInactive)return;if(t._inactive||t._inactive===null){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Fi(t.$children[n]);Wt(t,"activated")}}function Nc(t,e){if(!(e&&(t._directInactive=!0,Tc(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Nc(t.$children[n]);Wt(t,"deactivated")}}function Wt(t,e,n,r){r===void 0&&(r=!0),rn();var o=at,i=vh();r&&me(t);var s=t.$options[e],u="".concat(e," hook");if(s)for(var c=0,l=s.length;c<l;c++)le(s[c],t,null,t,u);t._hasHookEvent&&t.$emit("hook:"+e),r&&(me(o),i&&i.on()),on()}var se=[],Ui=[],Sr={},ti=!1,zi=!1,Xe=0;function od(){Xe=se.length=Ui.length=0,Sr={},ti=zi=!1}var Ac=0,ei=Date.now;if(Pt&&!en){var To=window.performance;To&&typeof To.now=="function"&&ei()>document.createEvent("Event").timeStamp&&(ei=function(){return To.now()})}var id=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function sd(){Ac=ei(),zi=!0;var t,e;for(se.sort(id),Xe=0;Xe<se.length;Xe++)t=se[Xe],t.before&&t.before(),e=t.id,Sr[e]=null,t.run();var n=Ui.slice(),r=se.slice();od(),cd(n),ad(r),ih(),Or&&Mt.devtools&&Or.emit("flush")}function ad(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Wt(r,"updated")}}function ud(t){t._inactive=!1,Ui.push(t)}function cd(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Fi(t[e],!0)}function ni(t){var e=t.id;if(Sr[e]==null&&!(t===Kt.target&&t.noRecurse)){if(Sr[e]=!0,!zi)se.push(t);else{for(var n=se.length-1;n>Xe&&se[n].id>t.id;)n--;se.splice(n+1,0,t)}ti||(ti=!0,Di(sd))}}function ld(t){var e=t.$options.provide;if(e){var n=Y(e)?e.call(t):e;if(!wt(n))return;for(var r=pc(t),o=kn?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var s=o[i];Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))}}}function fd(t){var e=Sc(t.$options.inject,t);e&&(ve(!1),Object.keys(e).forEach(function(n){ye(t,n,e[n])}),ve(!0))}function Sc(t,e){if(t){for(var n=Object.create(null),r=kn?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];if(i!=="__ob__"){var s=t[i].from;if(s in e._provided)n[i]=e._provided[s];else if("default"in t[i]){var u=t[i].default;n[i]=Y(u)?u.call(e):u}}}return n}}function Gi(t,e,n,r,o){var i=this,s=o.options,u;St(r,"_uid")?(u=Object.create(r),u._original=r):(u=r,r=r._original);var c=tt(s._compiled),l=!c;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||yt,this.injections=Sc(s.inject,r),this.slots=function(){return i.$slots||On(r,t.scopedSlots,i.$slots=ji(n,r)),i.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return On(r,t.scopedSlots,this.slots())}}),c&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=On(r,t.scopedSlots,this.$slots)),s._scopeId?this._c=function(a,p,f,h){var d=Ar(u,a,p,f,h,l);return d&&!W(d)&&(d.fnScopeId=s._scopeId,d.fnContext=r),d}:this._c=function(a,p,f,h){return Ar(u,a,p,f,h,l)}}vc(Gi.prototype);function pd(t,e,n,r,o){var i=t.options,s={},u=i.props;if(S(u))for(var c in u)s[c]=Vi(c,u,e||yt);else S(n.attrs)&&Sa(s,n.attrs),S(n.props)&&Sa(s,n.props);var l=new Gi(n,s,o,r,t),a=i.render.call(null,l._c,l);if(a instanceof Lt)return Aa(a,n,l.parent,i);if(W(a)){for(var p=ki(a)||[],f=new Array(p.length),h=0;h<p.length;h++)f[h]=Aa(p[h],n,l.parent,i);return f}}function Aa(t,e,n,r,o){var i=qo(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function Sa(t,e){for(var n in e)t[Ce(n)]=e[n]}function Cr(t){return t.name||t.__name||t._componentTag}var Bi={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Bi.prepatch(n,n)}else{var r=t.componentInstance=hd(t,Ae);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;rd(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Wt(n,"mounted")),t.data.keepAlive&&(e._isMounted?ud(n):Fi(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Nc(e,!0):e.$destroy())}},Ca=Object.keys(Bi);function $a(t,e,n,r,o){if(!G(t)){var i=n.$options._base;if(wt(t)&&(t=i.extend(t)),typeof t=="function"){var s;if(G(t.cid)&&(s=t,t=Uh(s,i),t===void 0))return Fh(s,e,n,r,o);e=e||{},Hi(t),S(e.model)&&md(t.options,e);var u=yh(e,t);if(tt(t.options.functional))return pd(t,u,e,n,r);var c=e.on;if(e.on=e.nativeOn,tt(t.options.abstract)){var l=e.slot;e={},l&&(e.slot=l)}dd(e);var a=Cr(t.options)||o,p=new Lt("vue-component-".concat(t.cid).concat(a?"-".concat(a):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:u,listeners:c,tag:o,children:r},s);return p}}}function hd(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return S(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function dd(t){for(var e=t.hook||(t.hook={}),n=0;n<Ca.length;n++){var r=Ca[n],o=e[r],i=Bi[r];o!==i&&!(o&&o._merged)&&(e[r]=o?gd(i,o):i)}}function gd(t,e){var n=function(r,o){t(r,o),e(r,o)};return n._merged=!0,n}function md(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),i=o[r],s=e.model.callback;S(i)?(W(i)?i.indexOf(s)===-1:i!==s)&&(o[r]=[s].concat(i)):o[r]=s}var vd=J,Yt=Mt.optionMergeStrategies;function $n(t,e,n){if(n===void 0&&(n=!0),!e)return t;for(var r,o,i,s=kn?Reflect.ownKeys(e):Object.keys(e),u=0;u<s.length;u++)r=s[u],r!=="__ob__"&&(o=t[r],i=e[r],!n||!St(t,r)?Li(t,r,i):o!==i&&It(o)&&It(i)&&$n(o,i));return t}function Ia(t,e,n){return n?function(){var r=Y(e)?e.call(n,n):e,o=Y(t)?t.call(n,n):t;return r?$n(r,o):o}:e?t?function(){return $n(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:e:t}Yt.data=function(t,e,n){return n?Ia(t,e,n):e&&typeof e!="function"?t:Ia(t,e)};function Cc(t,e){var n=e?t?t.concat(e):W(e)?e:[e]:t;return n&&yd(n)}function yd(t){for(var e=[],n=0;n<t.length;n++)e.indexOf(t[n])===-1&&e.push(t[n]);return e}tc.forEach(function(t){Yt[t]=Cc});function bd(t,e,n,r){var o=Object.create(t||null);return e?Z(o,e):o}Mr.forEach(function(t){Yt[t+"s"]=bd}),Yt.watch=function(t,e,n,r){if(t===Ho&&(t=void 0),e===Ho&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};Z(o,t);for(var i in e){var s=o[i],u=e[i];s&&!W(s)&&(s=[s]),o[i]=s?s.concat(u):W(u)?u:[u]}return o},Yt.props=Yt.methods=Yt.inject=Yt.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return Z(o,t),e&&Z(o,e),o},Yt.provide=function(t,e){return t?function(){var n=Object.create(null);return $n(n,Y(t)?t.call(this):t),e&&$n(n,Y(e)?e.call(this):e,!1),n}:e};var _d=function(t,e){return e===void 0?t:e};function wd(t,e){var n=t.props;if(n){var r={},o,i,s;if(W(n))for(o=n.length;o--;)i=n[o],typeof i=="string"&&(s=Ce(i),r[s]={type:null});else if(It(n))for(var u in n)i=n[u],s=Ce(u),r[s]=It(i)?i:{type:i};t.props=r}}function Ed(t,e){var n=t.inject;if(n){var r=t.inject={};if(W(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(It(n))for(var i in n){var s=n[i];r[i]=It(s)?Z({from:i},s):{from:s}}}}function xd(t){var e=t.directives;if(e)for(var n in e){var r=e[n];Y(r)&&(e[n]={bind:r,update:r})}}function Pe(t,e,n){if(Y(e)&&(e=e.options),wd(e),Ed(e),xd(e),!e._base&&(e.extends&&(t=Pe(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=Pe(t,e.mixins[r],n);var i={},s;for(s in t)u(s);for(s in e)St(t,s)||u(s);function u(c){var l=Yt[c]||_d;i[c]=l(t[c],e[c],n,c)}return i}function $r(t,e,n,r){if(typeof n=="string"){var o=t[e];if(St(o,n))return o[n];var i=Ce(n);if(St(o,i))return o[i];var s=Yp(i);if(St(o,s))return o[s];var u=o[n]||o[i]||o[s];return u}}function Vi(t,e,n,r){var o=e[t],i=!St(n,t),s=n[t],u=La(Boolean,o.type);if(u>-1){if(i&&!St(o,"default"))s=!1;else if(s===""||s===Rn(t)){var c=La(String,o.type);(c<0||u<c)&&(s=!0)}}if(s===void 0){s=Od(r,o,t);var l=Pi;ve(!0),ce(s),ve(l)}return s}function Od(t,e,n){if(St(e,"default")){var r=e.default;return t&&t.$options.propsData&&t.$options.propsData[n]===void 0&&t._props[n]!==void 0?t._props[n]:Y(r)&&ri(e.type)!=="Function"?r.call(t):r}}var Td=/^\s*function (\w+)/;function ri(t){var e=t&&t.toString().match(Td);return e?e[1]:""}function Pa(t,e){return ri(t)===ri(e)}function La(t,e){if(!W(e))return Pa(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Pa(e[n],t))return n;return-1}var he={enumerable:!0,configurable:!0,get:J,set:J};function Wi(t,e,n){he.get=function(){return this[e][n]},he.set=function(r){this[e][n]=r},Object.defineProperty(t,n,he)}function Nd(t){var e=t.$options;if(e.props&&Ad(t,e.props),Lh(t),e.methods&&Pd(t,e.methods),e.data)Sd(t);else{var n=ce(t._data={});n&&n.vmCount++}e.computed&&Id(t,e.computed),e.watch&&e.watch!==Ho&&Ld(t,e.watch)}function Ad(t,e){var n=t.$options.propsData||{},r=t._props=uc({}),o=t.$options._propKeys=[],i=!t.$parent;i||ve(!1);var s=function(c){o.push(c);var l=Vi(c,e,n,t);ye(r,c,l,void 0,!0),c in t||Wi(t,"_props",c)};for(var u in e)s(u);ve(!0)}function Sd(t){var e=t.$options.data;e=t._data=Y(e)?Cd(e,t):e||{},It(e)||(e={});var n=Object.keys(e),r=t.$options.props;t.$options.methods;for(var o=n.length;o--;){var i=n[o];r&&St(r,i)||ec(i)||Wi(t,"_data",i)}var s=ce(e);s&&s.vmCount++}function Cd(t,e){rn();try{return t.call(e,e)}catch(n){return Ie(n,e,"data()"),{}}finally{on()}}var $d={lazy:!0};function Id(t,e){var n=t._computedWatchers=Object.create(null),r=_e();for(var o in e){var i=e[o],s=Y(i)?i:i.get;r||(n[o]=new Mn(t,s||J,J,$d)),o in t||$c(t,o,i)}}function $c(t,e,n){var r=!_e();Y(n)?(he.get=r?Ra(e):ka(n),he.set=J):(he.get=n.get?r&&n.cache!==!1?Ra(e):ka(n.get):J,he.set=n.set||J),Object.defineProperty(t,e,he)}function Ra(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Kt.target&&e.depend(),e.value}}function ka(t){return function(){return t.call(this,this)}}function Pd(t,e){t.$options.props;for(var n in e)t[n]=typeof e[n]!="function"?J:Ku(e[n],t)}function Ld(t,e){for(var n in e){var r=e[n];if(W(r))for(var o=0;o<r.length;o++)oi(t,n,r[o]);else oi(t,n,r)}}function oi(t,e,n,r){return It(n)&&(r=n,n=n.handler),typeof n=="string"&&(n=t[n]),t.$watch(e,n,r)}function Rd(t){var e={};e.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Li,t.prototype.$delete=sc,t.prototype.$watch=function(r,o,i){var s=this;if(It(o))return oi(s,r,o,i);i=i||{},i.user=!0;var u=new Mn(s,r,o,i);if(i.immediate){var c='callback for immediate watcher "'.concat(u.expression,'"');rn(),le(o,s,[u.value],s,c),on()}return function(){u.teardown()}}}var kd=0;function jd(t){t.prototype._init=function(e){var n=this;n._uid=kd++,n._isVue=!0,n.__v_skip=!0,n._scope=new fc(!0),n._scope.parent=void 0,n._scope._vm=!0,e&&e._isComponent?Dd(n,e):n.$options=Pe(Hi(n.constructor),e||{},n),n._renderProxy=n,n._self=n,td(n),Yh(n),Dh(n),Wt(n,"beforeCreate",void 0,!1),fd(n),Nd(n),ld(n),Wt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}function Dd(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Hi(t){var e=t.options;if(t.super){var n=Hi(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var o=Md(t);o&&Z(t.extendOptions,o),e=t.options=Pe(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Md(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}function st(t){this._init(t)}jd(st),Rd(st),Qh(st),ed(st),Mh(st);function Fd(t){t.use=function(e){var n=this._installedPlugins||(this._installedPlugins=[]);if(n.indexOf(e)>-1)return this;var r=Vo(arguments,1);return r.unshift(this),Y(e.install)?e.install.apply(e,r):Y(e)&&e.apply(null,r),n.push(e),this}}function Ud(t){t.mixin=function(e){return this.options=Pe(this.options,e),this}}function zd(t){t.cid=0;var e=1;t.extend=function(n){n=n||{};var r=this,o=r.cid,i=n._Ctor||(n._Ctor={});if(i[o])return i[o];var s=Cr(n)||Cr(r.options),u=function(c){this._init(c)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.cid=e++,u.options=Pe(r.options,n),u.super=r,u.options.props&&Gd(u),u.options.computed&&Bd(u),u.extend=r.extend,u.mixin=r.mixin,u.use=r.use,Mr.forEach(function(c){u[c]=r[c]}),s&&(u.options.components[s]=u),u.superOptions=r.options,u.extendOptions=n,u.sealedOptions=Z({},u.options),i[o]=u,u}}function Gd(t){var e=t.options.props;for(var n in e)Wi(t.prototype,"_props",n)}function Bd(t){var e=t.options.computed;for(var n in e)$c(t.prototype,n,e[n])}function Vd(t){Mr.forEach(function(e){t[e]=function(n,r){return r?(e==="component"&&It(r)&&(r.name=r.name||n,r=this.options._base.extend(r)),e==="directive"&&Y(r)&&(r={bind:r,update:r}),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}})}function ja(t){return t&&(Cr(t.Ctor.options)||t.tag)}function er(t,e){return W(t)?t.indexOf(e)>-1:typeof t=="string"?t.split(",").indexOf(e)>-1:Bp(t)?t.test(e):!1}function Da(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var s in n){var u=n[s];if(u){var c=u.name;c&&!e(c)&&ii(n,s,r,o)}}i.componentOptions.children=void 0}function ii(t,e,n,r){var o=t[e];o&&(!r||o.tag!==r.tag)&&o.componentInstance.$destroy(),t[e]=null,be(n,e)}var Ma=[String,RegExp,Array],Wd={name:"keep-alive",abstract:!0,props:{include:Ma,exclude:Ma,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,s=r.componentInstance,u=r.componentOptions;e[o]={name:ja(u),tag:i,componentInstance:s},n.push(o),this.max&&n.length>parseInt(this.max)&&ii(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ii(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){Da(t,function(n){return er(e,n)})}),this.$watch("exclude",function(e){Da(t,function(n){return!er(e,n)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=_c(t),n=e&&e.componentOptions;if(n){var r=ja(n),o=this,i=o.include,s=o.exclude;if(i&&(!r||!er(i,r))||s&&r&&er(s,r))return e;var u=this,c=u.cache,l=u.keys,a=e.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[a]?(e.componentInstance=c[a].componentInstance,be(l,a),l.push(a)):(this.vnodeToCache=e,this.keyToCache=a),e.data.keepAlive=!0}return e||t&&t[0]}},Hd={KeepAlive:Wd};function qd(t){var e={};e.get=function(){return Mt},Object.defineProperty(t,"config",e),t.util={warn:vd,extend:Z,mergeOptions:Pe,defineReactive:ye},t.set=Li,t.delete=sc,t.nextTick=Di,t.observable=function(n){return ce(n),n},t.options=Object.create(null),Mr.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,Z(t.options.components,Hd),Fd(t),Ud(t),zd(t),Vd(t)}qd(st),Object.defineProperty(st.prototype,"$isServer",{get:_e}),Object.defineProperty(st.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(st,"FunctionalRenderContext",{value:Gi}),st.version=qh;var Xd=Ht("style,class"),Yd=Ht("input,textarea,option,select,progress"),Kd=function(t,e,n){return n==="value"&&Yd(t)&&e!=="button"||n==="selected"&&t==="option"||n==="checked"&&t==="input"||n==="muted"&&t==="video"},Ic=Ht("contenteditable,draggable,spellcheck"),Zd=Ht("events,caret,typing,plaintext-only"),Jd=function(t,e){return Ir(e)||e==="false"?"false":t==="contenteditable"&&Zd(e)?e:"true"},Qd=Ht("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),si="http://www.w3.org/1999/xlink",qi=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},Pc=function(t){return qi(t)?t.slice(6,t.length):""},Ir=function(t){return t==null||t===!1};function tg(t){for(var e=t.data,n=t,r=t;S(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(e=Fa(r.data,e));for(;S(n=n.parent);)n&&n.data&&(e=Fa(e,n.data));return eg(e.staticClass,e.class)}function Fa(t,e){return{staticClass:Xi(t.staticClass,e.staticClass),class:S(t.class)?[t.class,e.class]:e.class}}function eg(t,e){return S(t)||S(e)?Xi(t,Yi(e)):""}function Xi(t,e){return t?e?t+" "+e:t:e||""}function Yi(t){return Array.isArray(t)?ng(t):wt(t)?rg(t):typeof t=="string"?t:""}function ng(t){for(var e="",n,r=0,o=t.length;r<o;r++)S(n=Yi(t[r]))&&n!==""&&(e&&(e+=" "),e+=n);return e}function rg(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var og={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ig=Ht("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ki=Ht("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Lc=function(t){return ig(t)||Ki(t)};function sg(t){if(Ki(t))return"svg";if(t==="math")return"math"}var nr=Object.create(null);function ag(t){if(!Pt)return!0;if(Lc(t))return!1;if(t=t.toLowerCase(),nr[t]!=null)return nr[t];var e=document.createElement(t);return t.indexOf("-")>-1?nr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:nr[t]=/HTMLUnknownElement/.test(e.toString())}var ai=Ht("text,number,password,search,email,tel,url");function ug(t){if(typeof t=="string"){var e=document.querySelector(t);return e||document.createElement("div")}else return t}function cg(t,e){var n=document.createElement(t);return t!=="select"||e.data&&e.data.attrs&&e.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function lg(t,e){return document.createElementNS(og[t],e)}function fg(t){return document.createTextNode(t)}function pg(t){return document.createComment(t)}function hg(t,e,n){t.insertBefore(e,n)}function dg(t,e){t.removeChild(e)}function gg(t,e){t.appendChild(e)}function mg(t){return t.parentNode}function vg(t){return t.nextSibling}function yg(t){return t.tagName}function bg(t,e){t.textContent=e}function _g(t,e){t.setAttribute(e,"")}var wg=Object.freeze({__proto__:null,createElement:cg,createElementNS:lg,createTextNode:fg,createComment:pg,insertBefore:hg,removeChild:dg,appendChild:gg,parentNode:mg,nextSibling:vg,tagName:yg,setTextContent:bg,setStyleScope:_g}),Eg={create:function(t,e){Ye(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ye(t,!0),Ye(e))},destroy:function(t){Ye(t,!0)}};function Ye(t,e){var n=t.data.ref;if(S(n)){var r=t.context,o=t.componentInstance||t.elm,i=e?null:o,s=e?void 0:o;if(Y(n)){le(n,r,[i],r,"template ref function");return}var u=t.data.refInFor,c=typeof n=="string"||typeof n=="number",l=_t(n),a=r.$refs;if(c||l){if(u){var p=c?a[n]:n.value;e?W(p)&&be(p,o):W(p)?p.includes(o)||p.push(o):c?(a[n]=[o],Ua(r,n,a[n])):n.value=[o]}else if(c){if(e&&a[n]!==o)return;a[n]=s,Ua(r,n,i)}else if(l){if(e&&n.value!==o)return;n.value=i}}}}function Ua(t,e,n){var r=t._setupState;r&&St(r,e)&&(_t(r[e])?r[e].value=n:r[e]=n)}var ge=new Lt("",{},[]),yn=["create","activate","update","remove","destroy"];function Oe(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&S(t.data)===S(e.data)&&xg(t,e)||tt(t.isAsyncPlaceholder)&&G(e.asyncFactory.error))}function xg(t,e){if(t.tag!=="input")return!0;var n,r=S(n=t.data)&&S(n=n.attrs)&&n.type,o=S(n=e.data)&&S(n=n.attrs)&&n.type;return r===o||ai(r)&&ai(o)}function Og(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,S(o)&&(i[o]=r);return i}function Tg(t){var e,n,r={},o=t.modules,i=t.nodeOps;for(e=0;e<yn.length;++e)for(r[yn[e]]=[],n=0;n<o.length;++n)S(o[n][yn[e]])&&r[yn[e]].push(o[n][yn[e]]);function s(w){return new Lt(i.tagName(w).toLowerCase(),{},[],void 0,w)}function u(w,y){function A(){--A.listeners===0&&c(w)}return A.listeners=y,A}function c(w){var y=i.parentNode(w);S(y)&&i.removeChild(y,w)}function l(w,y,A,$,k,U,F){if(S(w.elm)&&S(U)&&(w=U[F]=qo(w)),w.isRootInsert=!k,!a(w,y,A,$)){var M=w.data,z=w.children,j=w.tag;S(j)?(w.elm=w.ns?i.createElementNS(w.ns,j):i.createElement(j,w),O(w),d(w,z,y),S(M)&&v(w,y),h(A,w.elm,$)):tt(w.isComment)?(w.elm=i.createComment(w.text),h(A,w.elm,$)):(w.elm=i.createTextNode(w.text),h(A,w.elm,$))}}function a(w,y,A,$){var k=w.data;if(S(k)){var U=S(w.componentInstance)&&k.keepAlive;if(S(k=k.hook)&&S(k=k.init)&&k(w,!1),S(w.componentInstance))return p(w,y),h(A,w.elm,$),tt(U)&&f(w,y,A,$),!0}}function p(w,y){S(w.data.pendingInsert)&&(y.push.apply(y,w.data.pendingInsert),w.data.pendingInsert=null),w.elm=w.componentInstance.$el,g(w)?(v(w,y),O(w)):(Ye(w),y.push(w))}function f(w,y,A,$){for(var k,U=w;U.componentInstance;)if(U=U.componentInstance._vnode,S(k=U.data)&&S(k=k.transition)){for(k=0;k<r.activate.length;++k)r.activate[k](ge,U);y.push(U);break}h(A,w.elm,$)}function h(w,y,A){S(w)&&(S(A)?i.parentNode(A)===w&&i.insertBefore(w,y,A):i.appendChild(w,y))}function d(w,y,A){if(W(y))for(var $=0;$<y.length;++$)l(y[$],A,w.elm,null,!0,y,$);else Ln(w.text)&&i.appendChild(w.elm,i.createTextNode(String(w.text)))}function g(w){for(;w.componentInstance;)w=w.componentInstance._vnode;return S(w.tag)}function v(w,y){for(var A=0;A<r.create.length;++A)r.create[A](ge,w);e=w.data.hook,S(e)&&(S(e.create)&&e.create(ge,w),S(e.insert)&&y.push(w))}function O(w){var y;if(S(y=w.fnScopeId))i.setStyleScope(w.elm,y);else for(var A=w;A;)S(y=A.context)&&S(y=y.$options._scopeId)&&i.setStyleScope(w.elm,y),A=A.parent;S(y=Ae)&&y!==w.context&&y!==w.fnContext&&S(y=y.$options._scopeId)&&i.setStyleScope(w.elm,y)}function m(w,y,A,$,k,U){for(;$<=k;++$)l(A[$],U,w,y,!1,A,$)}function b(w){var y,A,$=w.data;if(S($))for(S(y=$.hook)&&S(y=y.destroy)&&y(w),y=0;y<r.destroy.length;++y)r.destroy[y](w);if(S(y=w.children))for(A=0;A<w.children.length;++A)b(w.children[A])}function E(w,y,A){for(;y<=A;++y){var $=w[y];S($)&&(S($.tag)?(N($),b($)):c($.elm))}}function N(w,y){if(S(y)||S(w.data)){var A,$=r.remove.length+1;for(S(y)?y.listeners+=$:y=u(w.elm,$),S(A=w.componentInstance)&&S(A=A._vnode)&&S(A.data)&&N(A,y),A=0;A<r.remove.length;++A)r.remove[A](w,y);S(A=w.data.hook)&&S(A=A.remove)?A(w,y):y()}else c(w.elm)}function x(w,y,A,$,k){for(var U=0,F=0,M=y.length-1,z=y[0],j=y[M],B=A.length-1,V=A[0],ft=A[B],q,Et,Rt,Zt,ke=!k;U<=M&&F<=B;)G(z)?z=y[++U]:G(j)?j=y[--M]:Oe(z,V)?(T(z,V,$,A,F),z=y[++U],V=A[++F]):Oe(j,ft)?(T(j,ft,$,A,B),j=y[--M],ft=A[--B]):Oe(z,ft)?(T(z,ft,$,A,B),ke&&i.insertBefore(w,z.elm,i.nextSibling(j.elm)),z=y[++U],ft=A[--B]):Oe(j,V)?(T(j,V,$,A,F),ke&&i.insertBefore(w,j.elm,z.elm),j=y[--M],V=A[++F]):(G(q)&&(q=Og(y,U,M)),Et=S(V.key)?q[V.key]:C(V,y,U,M),G(Et)?l(V,$,w,z.elm,!1,A,F):(Rt=y[Et],Oe(Rt,V)?(T(Rt,V,$,A,F),y[Et]=void 0,ke&&i.insertBefore(w,Rt.elm,z.elm)):l(V,$,w,z.elm,!1,A,F)),V=A[++F]);U>M?(Zt=G(A[B+1])?null:A[B+1].elm,m(w,Zt,A,F,B,$)):F>B&&E(y,U,M)}function C(w,y,A,$){for(var k=A;k<$;k++){var U=y[k];if(S(U)&&Oe(w,U))return k}}function T(w,y,A,$,k,U){if(w!==y){S(y.elm)&&S($)&&(y=$[k]=qo(y));var F=y.elm=w.elm;if(tt(w.isAsyncPlaceholder)){S(y.asyncFactory.resolved)?P(w.elm,y,A):y.isAsyncPlaceholder=!0;return}if(tt(y.isStatic)&&tt(w.isStatic)&&y.key===w.key&&(tt(y.isCloned)||tt(y.isOnce))){y.componentInstance=w.componentInstance;return}var M,z=y.data;S(z)&&S(M=z.hook)&&S(M=M.prepatch)&&M(w,y);var j=w.children,B=y.children;if(S(z)&&g(y)){for(M=0;M<r.update.length;++M)r.update[M](w,y);S(M=z.hook)&&S(M=M.update)&&M(w,y)}G(y.text)?S(j)&&S(B)?j!==B&&x(F,j,B,A,U):S(B)?(S(w.text)&&i.setTextContent(F,""),m(F,null,B,0,B.length-1,A)):S(j)?E(j,0,j.length-1):S(w.text)&&i.setTextContent(F,""):w.text!==y.text&&i.setTextContent(F,y.text),S(z)&&S(M=z.hook)&&S(M=M.postpatch)&&M(w,y)}}function I(w,y,A){if(tt(A)&&S(w.parent))w.parent.data.pendingInsert=y;else for(var $=0;$<y.length;++$)y[$].data.hook.insert(y[$])}var L=Ht("attrs,class,staticClass,staticStyle,key");function P(w,y,A,$){var k,U=y.tag,F=y.data,M=y.children;if($=$||F&&F.pre,y.elm=w,tt(y.isComment)&&S(y.asyncFactory))return y.isAsyncPlaceholder=!0,!0;if(S(F)&&(S(k=F.hook)&&S(k=k.init)&&k(y,!0),S(k=y.componentInstance)))return p(y,A),!0;if(S(U)){if(S(M))if(!w.hasChildNodes())d(y,M,A);else if(S(k=F)&&S(k=k.domProps)&&S(k=k.innerHTML)){if(k!==w.innerHTML)return!1}else{for(var z=!0,j=w.firstChild,B=0;B<M.length;B++){if(!j||!P(j,M[B],A,$)){z=!1;break}j=j.nextSibling}if(!z||j)return!1}if(S(F)){var V=!1;for(var ft in F)if(!L(ft)){V=!0,v(y,A);break}!V&&F.class&&tn(F.class)}}else w.data!==y.text&&(w.data=y.text);return!0}return function(w,y,A,$){if(G(y)){S(w)&&b(w);return}var k=!1,U=[];if(G(w))k=!0,l(y,U);else{var F=S(w.nodeType);if(!F&&Oe(w,y))T(w,y,U,null,null,$);else{if(F){if(w.nodeType===1&&w.hasAttribute(fa)&&(w.removeAttribute(fa),A=!0),tt(A)&&P(w,y,U))return I(y,U,!0),w;w=s(w)}var M=w.elm,z=i.parentNode(M);if(l(y,U,M._leaveCb?null:z,i.nextSibling(M)),S(y.parent))for(var j=y.parent,B=g(y);j;){for(var V=0;V<r.destroy.length;++V)r.destroy[V](j);if(j.elm=y.elm,B){for(var ft=0;ft<r.create.length;++ft)r.create[ft](ge,j);var q=j.data.hook.insert;if(q.merged)for(var Et=q.fns.slice(1),Rt=0;Rt<Et.length;Rt++)Et[Rt]()}else Ye(j);j=j.parent}S(z)?E([w],0,0):S(w.tag)&&b(w)}}return I(y,U,k),y.elm}}var Ng={create:No,update:No,destroy:function(t){No(t,ge)}};function No(t,e){(t.data.directives||e.data.directives)&&Ag(t,e)}function Ag(t,e){var n=t===ge,r=e===ge,o=za(t.data.directives,t.context),i=za(e.data.directives,e.context),s=[],u=[],c,l,a;for(c in i)l=o[c],a=i[c],l?(a.oldValue=l.value,a.oldArg=l.arg,bn(a,"update",e,t),a.def&&a.def.componentUpdated&&u.push(a)):(bn(a,"bind",e,t),a.def&&a.def.inserted&&s.push(a));if(s.length){var p=function(){for(var f=0;f<s.length;f++)bn(s[f],"inserted",e,t)};n?de(e,"insert",p):p()}if(u.length&&de(e,"postpatch",function(){for(var f=0;f<u.length;f++)bn(u[f],"componentUpdated",e,t)}),!n)for(c in o)i[c]||bn(o[c],"unbind",t,t,r)}var Sg=Object.create(null);function za(t,e){var n=Object.create(null);if(!t)return n;var r,o;for(r=0;r<t.length;r++){if(o=t[r],o.modifiers||(o.modifiers=Sg),n[Cg(o)]=o,e._setupState&&e._setupState.__sfc){var i=o.def||$r(e,"_setupState","v-"+o.name);typeof i=="function"?o.def={bind:i,update:i}:o.def=i}o.def=o.def||$r(e.$options,"directives",o.name)}return n}function Cg(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function bn(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(s){Ie(s,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var $g=[Eg,Ng];function Ga(t,e){var n=e.componentOptions;if(!(S(n)&&n.Ctor.options.inheritAttrs===!1)&&!(G(t.data.attrs)&&G(e.data.attrs))){var r,o,i,s=e.elm,u=t.data.attrs||{},c=e.data.attrs||{};(S(c.__ob__)||tt(c._v_attr_proxy))&&(c=e.data.attrs=Z({},c));for(r in c)o=c[r],i=u[r],i!==o&&Ba(s,r,o,e.data.pre);(en||nc)&&c.value!==u.value&&Ba(s,"value",c.value);for(r in u)G(c[r])&&(qi(r)?s.removeAttributeNS(si,Pc(r)):Ic(r)||s.removeAttribute(r))}}function Ba(t,e,n,r){r||t.tagName.indexOf("-")>-1?Va(t,e,n):Qd(e)?Ir(n)?t.removeAttribute(e):(n=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e,t.setAttribute(e,n)):Ic(e)?t.setAttribute(e,Jd(e,n)):qi(e)?Ir(n)?t.removeAttributeNS(si,Pc(e)):t.setAttributeNS(si,e,n):Va(t,e,n)}function Va(t,e,n){if(Ir(n))t.removeAttribute(e);else{if(en&&!nn&&t.tagName==="TEXTAREA"&&e==="placeholder"&&n!==""&&!t.__ieph){var r=function(o){o.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Ig={create:Ga,update:Ga};function Wa(t,e){var n=e.elm,r=e.data,o=t.data;if(!(G(r.staticClass)&&G(r.class)&&(G(o)||G(o.staticClass)&&G(o.class)))){var i=tg(e),s=n._transitionClasses;S(s)&&(i=Xi(i,Yi(s))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var Pg={create:Wa,update:Wa},Ao="__r",So="__c";function Lg(t){if(S(t[Ao])){var e=en?"change":"input";t[e]=[].concat(t[Ao],t[e]||[]),delete t[Ao]}S(t[So])&&(t.change=[].concat(t[So],t.change||[]),delete t[So])}var In;function Rg(t,e,n){var r=In;return function o(){var i=e.apply(null,arguments);i!==null&&Rc(t,o,n,r)}}var kg=Zo&&!(pa&&Number(pa[1])<=53);function jg(t,e,n,r){if(kg){var o=Ac,i=e;e=i._wrapper=function(s){if(s.target===s.currentTarget||s.timeStamp>=o||s.timeStamp<=0||s.target.ownerDocument!==document)return i.apply(this,arguments)}}In.addEventListener(t,e,rc?{capture:n,passive:r}:n)}function Rc(t,e,n,r){(r||In).removeEventListener(t,e._wrapper||e,n)}function Co(t,e){if(!(G(t.data.on)&&G(e.data.on))){var n=e.data.on||{},r=t.data.on||{};In=e.elm||t.elm,Lg(n),hc(n,r,jg,Rc,Rg,e.context),In=void 0}}var Dg={create:Co,update:Co,destroy:function(t){return Co(t,ge)}},rr;function Ha(t,e){if(!(G(t.data.domProps)&&G(e.data.domProps))){var n,r,o=e.elm,i=t.data.domProps||{},s=e.data.domProps||{};(S(s.__ob__)||tt(s._v_attr_proxy))&&(s=e.data.domProps=Z({},s));for(n in i)n in s||(o[n]="");for(n in s){if(r=s[n],n==="textContent"||n==="innerHTML"){if(e.children&&(e.children.length=0),r===i[n])continue;o.childNodes.length===1&&o.removeChild(o.childNodes[0])}if(n==="value"&&o.tagName!=="PROGRESS"){o._value=r;var u=G(r)?"":String(r);Mg(o,u)&&(o.value=u)}else if(n==="innerHTML"&&Ki(o.tagName)&&G(o.innerHTML)){rr=rr||document.createElement("div"),rr.innerHTML="<svg>".concat(r,"</svg>");for(var c=rr.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;c.firstChild;)o.appendChild(c.firstChild)}else if(r!==i[n])try{o[n]=r}catch{}}}}function Mg(t,e){return!t.composing&&(t.tagName==="OPTION"||Fg(t,e)||Ug(t,e))}function Fg(t,e){var n=!0;try{n=document.activeElement!==t}catch{}return n&&t.value!==e}function Ug(t,e){var n=t.value,r=t._vModifiers;if(S(r)){if(r.number)return Nn(n)!==Nn(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var zg={create:Ha,update:Ha},Gg=Re(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(o){if(o){var i=o.split(r);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function $o(t){var e=kc(t.style);return t.staticStyle?Z(t.staticStyle,e):e}function kc(t){return Array.isArray(t)?Zu(t):typeof t=="string"?Gg(t):t}function Bg(t,e){for(var n={},r,o=t;o.componentInstance;)o=o.componentInstance._vnode,o&&o.data&&(r=$o(o.data))&&Z(n,r);(r=$o(t.data))&&Z(n,r);for(var i=t;i=i.parent;)i.data&&(r=$o(i.data))&&Z(n,r);return n}var Vg=/^--/,qa=/\s*!important$/,Xa=function(t,e,n){if(Vg.test(e))t.style.setProperty(e,n);else if(qa.test(n))t.style.setProperty(Rn(e),n.replace(qa,""),"important");else{var r=Wg(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},Ya=["Webkit","Moz","ms"],or,Wg=Re(function(t){if(or=or||document.createElement("div").style,t=Ce(t),t!=="filter"&&t in or)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Ya.length;n++){var r=Ya[n]+e;if(r in or)return r}});function Ka(t,e){var n=e.data,r=t.data;if(!(G(n.staticStyle)&&G(n.style)&&G(r.staticStyle)&&G(r.style))){var o,i,s=e.elm,u=r.staticStyle,c=r.normalizedStyle||r.style||{},l=u||c,a=kc(e.data.style)||{};e.data.normalizedStyle=S(a.__ob__)?Z({},a):a;var p=Bg(e);for(i in l)G(p[i])&&Xa(s,i,"");for(i in p)o=p[i],Xa(s,i,o??"")}}var Hg={create:Ka,update:Ka},jc=/\s+/;function Dc(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(jc).forEach(function(r){return t.classList.add(r)}):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Mc(t,e){if(!(!e||!(e=e.trim())))if(t.classList)e.indexOf(" ")>-1?e.split(jc).forEach(function(o){return t.classList.remove(o)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Fc(t){if(t){if(typeof t=="object"){var e={};return t.css!==!1&&Z(e,Za(t.name||"v")),Z(e,t),e}else if(typeof t=="string")return Za(t)}}var Za=Re(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),Uc=Pt&&!nn,Be="transition",Io="animation",dr="transition",Pr="transitionend",ui="animation",zc="animationend";Uc&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(dr="WebkitTransition",Pr="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(ui="WebkitAnimation",zc="webkitAnimationEnd"));var Ja=Pt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Gc(t){Ja(function(){Ja(t)})}function Se(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Dc(t,e))}function ae(t,e){t._transitionClasses&&be(t._transitionClasses,e),Mc(t,e)}function Bc(t,e,n){var r=Vc(t,e),o=r.type,i=r.timeout,s=r.propCount;if(!o)return n();var u=o===Be?Pr:zc,c=0,l=function(){t.removeEventListener(u,a),n()},a=function(p){p.target===t&&++c>=s&&l()};setTimeout(function(){c<s&&l()},i+1),t.addEventListener(u,a)}var qg=/\b(transform|all)(,|$)/;function Vc(t,e){var n=window.getComputedStyle(t),r=(n[dr+"Delay"]||"").split(", "),o=(n[dr+"Duration"]||"").split(", "),i=Qa(r,o),s=(n[ui+"Delay"]||"").split(", "),u=(n[ui+"Duration"]||"").split(", "),c=Qa(s,u),l,a=0,p=0;e===Be?i>0&&(l=Be,a=i,p=o.length):e===Io?c>0&&(l=Io,a=c,p=u.length):(a=Math.max(i,c),l=a>0?i>c?Be:Io:null,p=l?l===Be?o.length:u.length:0);var f=l===Be&&qg.test(n[dr+"Property"]);return{type:l,timeout:a,propCount:p,hasTransform:f}}function Qa(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(n,r){return tu(n)+tu(t[r])}))}function tu(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function ci(t,e){var n=t.elm;S(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Fc(t.data.transition);if(!G(r)&&!(S(n._enterCb)||n.nodeType!==1)){for(var o=r.css,i=r.type,s=r.enterClass,u=r.enterToClass,c=r.enterActiveClass,l=r.appearClass,a=r.appearToClass,p=r.appearActiveClass,f=r.beforeEnter,h=r.enter,d=r.afterEnter,g=r.enterCancelled,v=r.beforeAppear,O=r.appear,m=r.afterAppear,b=r.appearCancelled,E=r.duration,N=Ae,x=Ae.$vnode;x&&x.parent;)N=x.context,x=x.parent;var C=!N._isMounted||!t.isRootInsert;if(!(C&&!O&&O!=="")){var T=C&&l?l:s,I=C&&p?p:c,L=C&&a?a:u,P=C&&v||f,w=C&&Y(O)?O:h,y=C&&m||d,A=C&&b||g,$=Nn(wt(E)?E.enter:E),k=o!==!1&&!nn,U=Zi(w),F=n._enterCb=xr(function(){k&&(ae(n,L),ae(n,I)),F.cancelled?(k&&ae(n,T),A&&A(n)):y&&y(n),n._enterCb=null});t.data.show||de(t,"insert",function(){var M=n.parentNode,z=M&&M._pending&&M._pending[t.key];z&&z.tag===t.tag&&z.elm._leaveCb&&z.elm._leaveCb(),w&&w(n,F)}),P&&P(n),k&&(Se(n,T),Se(n,I),Gc(function(){ae(n,T),F.cancelled||(Se(n,L),U||(Hc($)?setTimeout(F,$):Bc(n,i,F)))})),t.data.show&&(e&&e(),w&&w(n,F)),!k&&!U&&F()}}}function Wc(t,e){var n=t.elm;S(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Fc(t.data.transition);if(G(r)||n.nodeType!==1)return e();if(S(n._leaveCb))return;var o=r.css,i=r.type,s=r.leaveClass,u=r.leaveToClass,c=r.leaveActiveClass,l=r.beforeLeave,a=r.leave,p=r.afterLeave,f=r.leaveCancelled,h=r.delayLeave,d=r.duration,g=o!==!1&&!nn,v=Zi(a),O=Nn(wt(d)?d.leave:d),m=n._leaveCb=xr(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),g&&(ae(n,u),ae(n,c)),m.cancelled?(g&&ae(n,s),f&&f(n)):(e(),p&&p(n)),n._leaveCb=null});h?h(b):b();function b(){m.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),l&&l(n),g&&(Se(n,s),Se(n,c),Gc(function(){ae(n,s),m.cancelled||(Se(n,u),v||(Hc(O)?setTimeout(m,O):Bc(n,i,m)))})),a&&a(n,m),!g&&!v&&m())}}function Hc(t){return typeof t=="number"&&!isNaN(t)}function Zi(t){if(G(t))return!1;var e=t.fns;return S(e)?Zi(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function eu(t,e){e.data.show!==!0&&ci(e)}var Xg=Pt?{create:eu,activate:eu,remove:function(t,e){t.data.show!==!0?Wc(t,e):e()}}:{},Yg=[Ig,Pg,Dg,zg,Hg,Xg],Kg=Yg.concat($g),Zg=Tg({nodeOps:wg,modules:Kg});nn&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Ji(t,"input")});var qc={inserted:function(t,e,n,r){n.tag==="select"?(r.elm&&!r.elm._vOptions?de(n,"postpatch",function(){qc.componentUpdated(t,e,n)}):nu(t,e,n.context),t._vOptions=[].map.call(t.options,Lr)):(n.tag==="textarea"||ai(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Jg),t.addEventListener("compositionend",iu),t.addEventListener("change",iu),nn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if(n.tag==="select"){nu(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Lr);if(o.some(function(s,u){return!$e(s,r[u])})){var i=t.multiple?e.value.some(function(s){return ou(s,o)}):e.value!==e.oldValue&&ou(e.value,o);i&&Ji(t,"change")}}}};function nu(t,e,n){ru(t,e),(en||nc)&&setTimeout(function(){ru(t,e)},0)}function ru(t,e,n){var r=e.value,o=t.multiple;if(!(o&&!Array.isArray(r))){for(var i,s,u=0,c=t.options.length;u<c;u++)if(s=t.options[u],o)i=Qu(r,Lr(s))>-1,s.selected!==i&&(s.selected=i);else if($e(Lr(s),r)){t.selectedIndex!==u&&(t.selectedIndex=u);return}o||(t.selectedIndex=-1)}}function ou(t,e){return e.every(function(n){return!$e(n,t)})}function Lr(t){return"_value"in t?t._value:t.value}function Jg(t){t.target.composing=!0}function iu(t){t.target.composing&&(t.target.composing=!1,Ji(t.target,"input"))}function Ji(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function li(t){return t.componentInstance&&(!t.data||!t.data.transition)?li(t.componentInstance._vnode):t}var Qg={bind:function(t,e,n){var r=e.value;n=li(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;r&&o?(n.data.show=!0,ci(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!=!o){n=li(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?ci(n,function(){t.style.display=t.__vOriginalDisplay}):Wc(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},tm={model:qc,show:Qg},Xc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function fi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?fi(_c(e.children)):t}function Yc(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[Ce(r)]=o[r];return e}function su(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function em(t){for(;t=t.parent;)if(t.data.transition)return!0}function nm(t,e){return e.key===t.key&&e.tag===t.tag}var rm=function(t){return t.tag||Sn(t)},om=function(t){return t.name==="show"},im={name:"transition",props:Xc,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(rm),!!n.length)){var r=this.mode,o=n[0];if(em(this.$vnode))return o;var i=fi(o);if(!i)return o;if(this._leaving)return su(t,o);var s="__transition-".concat(this._uid,"-");i.key=i.key==null?i.isComment?s+"comment":s+i.tag:Ln(i.key)?String(i.key).indexOf(s)===0?i.key:s+i.key:i.key;var u=(i.data||(i.data={})).transition=Yc(this),c=this._vnode,l=fi(c);if(i.data.directives&&i.data.directives.some(om)&&(i.data.show=!0),l&&l.data&&!nm(i,l)&&!Sn(l)&&!(l.componentInstance&&l.componentInstance._vnode.isComment)){var a=l.data.transition=Z({},u);if(r==="out-in")return this._leaving=!0,de(a,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),su(t,o);if(r==="in-out"){if(Sn(i))return c;var p,f=function(){p()};de(u,"afterEnter",f),de(u,"enterCancelled",f),de(a,"delayLeave",function(h){p=h})}}return o}}},Kc=Z({tag:String,moveClass:String},Xc);delete Kc.mode;var sm={props:Kc,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Oc(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],s=Yc(this),u=0;u<o.length;u++){var c=o[u];c.tag&&c.key!=null&&String(c.key).indexOf("__vlist")!==0&&(i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=s)}if(r){for(var l=[],a=[],u=0;u<r.length;u++){var c=r[u];c.data.transition=s,c.data.pos=c.elm.getBoundingClientRect(),n[c.key]?l.push(c):a.push(c)}this.kept=t(e,null,l),this.removed=a}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";!t.length||!this.hasMove(t[0].elm,e)||(t.forEach(am),t.forEach(um),t.forEach(cm),this._reflow=document.body.offsetHeight,t.forEach(function(n){if(n.data.moved){var r=n.elm,o=r.style;Se(r,e),o.transform=o.WebkitTransform=o.transitionDuration="",r.addEventListener(Pr,r._moveCb=function i(s){s&&s.target!==r||(!s||/transform$/.test(s.propertyName))&&(r.removeEventListener(Pr,i),r._moveCb=null,ae(r,e))})}}))},methods:{hasMove:function(t,e){if(!Uc)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(o){Mc(n,o)}),Dc(n,e),n.style.display="none",this.$el.appendChild(n);var r=Vc(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function am(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function um(t){t.data.newPos=t.elm.getBoundingClientRect()}function cm(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var lm={Transition:im,TransitionGroup:sm};st.config.mustUseProp=Kd,st.config.isReservedTag=Lc,st.config.isReservedAttr=Xd,st.config.getTagNamespace=sg,st.config.isUnknownElement=ag,Z(st.options.directives,tm),Z(st.options.components,lm),st.prototype.__patch__=Pt?Zg:J,st.prototype.$mount=function(t,e){return t=t&&Pt?ug(t):void 0,nd(this,t,e)},Pt&&setTimeout(function(){Mt.devtools&&Or&&Or.emit("init",st)},0);const fm="modulepreload",pm=function(t,e){return new URL(t,e).href},au={},Qm=function(t,e,n){let r=Promise.resolve();if(e&&e.length>0){let i=function(l){return Promise.all(l.map(a=>Promise.resolve(a).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const s=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");r=i(e.map(l=>{if(l=pm(l,n),l in au)return;au[l]=!0;const a=l.endsWith(".css"),p=a?'[rel="stylesheet"]':"";if(n)for(let h=s.length-1;h>=0;h--){const d=s[h];if(d.href===l&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${p}`))return;const f=document.createElement("link");if(f.rel=a?"stylesheet":fm,a||(f.as="script"),f.crossOrigin="",f.href=l,c&&f.setAttribute("nonce",c),document.head.appendChild(f),a)return new Promise((h,d)=>{f.addEventListener("load",h),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return r.then(i=>{for(const s of i||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})};export{Dm as $,Ve as A,mu as B,mm as C,hm as D,di as E,Ti as F,Si as G,Gu as H,up as I,Om as J,Te as K,lp as L,bm as M,vu as N,Nl as O,Vt as P,km as Q,Rm as R,gm as S,Tm as T,Sl as U,st as V,Di as W,re as X,xm as Y,Em as Z,Qm as _,zu as a,Li as a0,Im as a1,Pm as a2,zm as a3,_t as a4,fr as a5,uh as a6,vh as a7,Gm as a8,Cm as a9,Up as aa,Ze as ab,ar as ac,fp as ad,Bm as ae,Km as af,Wm as ag,Hm as ah,xl as ai,Am as aj,jm as ak,gi as al,Dp as am,Ol as an,Tl as ao,dp as ap,hp as aq,Ci as ar,ym as as,Xm as b,Mm as c,Jm as d,ch as e,Sm as f,$m as g,wm as h,Lm as i,_m as j,vm as k,Nm as l,qu as m,Fm as n,Zm as o,fh as p,Rr as q,gp as r,wl as s,xo as t,dm as u,pi as v,Um as w,Vm as x,Ym as y,qm as z}; //# sourceMappingURL=preload-helper-DadE4qT2.chunk.mjs.map
Save File
Cancel