-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex-CqY9_Aan.chunk.mjs
More file actions
3 lines (3 loc) · 39.9 KB
/
Copy pathindex-CqY9_Aan.chunk.mjs
File metadata and controls
3 lines (3 loc) · 39.9 KB
1
2
3
function dt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Hn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var pn={exports:{}},y=pn.exports={},z,H;function ut(){throw new Error("setTimeout has not been defined")}function pt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?z=setTimeout:z=ut}catch{z=ut}try{typeof clearTimeout=="function"?H=clearTimeout:H=pt}catch{H=pt}})();function fn(t){if(z===setTimeout)return setTimeout(t,0);if((z===ut||!z)&&setTimeout)return z=setTimeout,setTimeout(t,0);try{return z(t,0)}catch{try{return z.call(null,t,0)}catch{return z.call(this,t,0)}}}function Bn(t){if(H===clearTimeout)return clearTimeout(t);if((H===pt||!H)&&clearTimeout)return H=clearTimeout,clearTimeout(t);try{return H(t)}catch{try{return H.call(null,t)}catch{return H.call(this,t)}}}var q=[],ce=!1,J,Ce=-1;function Xn(){!ce||!J||(ce=!1,J.length?q=J.concat(q):Ce=-1,q.length&&mn())}function mn(){if(!ce){var t=fn(Xn);ce=!0;for(var n=q.length;n;){for(J=q,q=[];++Ce<n;)J&&J[Ce].run();Ce=-1,n=q.length}J=null,ce=!1,Bn(t)}}y.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)n[o-1]=arguments[o];q.push(new dn(t,n)),q.length===1&&!ce&&fn(mn)};function dn(t,n){this.fun=t,this.array=n}dn.prototype.run=function(){this.fun.apply(null,this.array)},y.title="browser",y.browser=!0,y.env={},y.argv=[],y.version="",y.versions={};function V(){}y.on=V,y.addListener=V,y.once=V,y.off=V,y.removeListener=V,y.removeAllListeners=V,y.emit=V,y.prependListener=V,y.prependOnceListener=V,y.listeners=function(t){return[]},y.binding=function(t){throw new Error("process.binding is not supported")},y.cwd=function(){return"/"},y.chdir=function(t){throw new Error("process.chdir is not supported")},y.umask=function(){return 0};var Wn=pn.exports;const Vn=Hn(Wn);var Ye,Ut;function En(){if(Ut)return Ye;Ut=1;var t={};return Ye=typeof Vn=="object"&&t&&t.NODE_DEBUG&&/\bsemver\b/i.test(t.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{},Ye}var qe,Gt;function hn(){if(Gt)return qe;Gt=1;const t="2.0.0",n=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,a=16,p=n-6;return qe={MAX_LENGTH:n,MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:p,MAX_SAFE_INTEGER:o,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},qe}var Ke={exports:{}},jt;function Yn(){return jt||(jt=1,function(t,n){const{MAX_SAFE_COMPONENT_LENGTH:o,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:p}=hn(),f=En();n=t.exports={};const m=n.re=[],c=n.safeRe=[],i=n.src=[],u=n.safeSrc=[],r=n.t={};let E=0;const g="[a-zA-Z0-9-]",N=[["\\s",1],["\\d",p],[g,a]],M=U=>{for(const[P,G]of N)U=U.split(`${P}*`).join(`${P}{0,${G}}`).split(`${P}+`).join(`${P}{1,${G}}`);return U},d=(U,P,G)=>{const $=M(P),I=E++;f(U,I,P),r[U]=I,i[I]=P,u[I]=$,m[I]=new RegExp(P,G?"g":void 0),c[I]=new RegExp($,G?"g":void 0)};d("NUMERICIDENTIFIER","0|[1-9]\\d*"),d("NUMERICIDENTIFIERLOOSE","\\d+"),d("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${g}*`),d("MAINVERSION",`(${i[r.NUMERICIDENTIFIER]})\\.(${i[r.NUMERICIDENTIFIER]})\\.(${i[r.NUMERICIDENTIFIER]})`),d("MAINVERSIONLOOSE",`(${i[r.NUMERICIDENTIFIERLOOSE]})\\.(${i[r.NUMERICIDENTIFIERLOOSE]})\\.(${i[r.NUMERICIDENTIFIERLOOSE]})`),d("PRERELEASEIDENTIFIER",`(?:${i[r.NONNUMERICIDENTIFIER]}|${i[r.NUMERICIDENTIFIER]})`),d("PRERELEASEIDENTIFIERLOOSE",`(?:${i[r.NONNUMERICIDENTIFIER]}|${i[r.NUMERICIDENTIFIERLOOSE]})`),d("PRERELEASE",`(?:-(${i[r.PRERELEASEIDENTIFIER]}(?:\\.${i[r.PRERELEASEIDENTIFIER]})*))`),d("PRERELEASELOOSE",`(?:-?(${i[r.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[r.PRERELEASEIDENTIFIERLOOSE]})*))`),d("BUILDIDENTIFIER",`${g}+`),d("BUILD",`(?:\\+(${i[r.BUILDIDENTIFIER]}(?:\\.${i[r.BUILDIDENTIFIER]})*))`),d("FULLPLAIN",`v?${i[r.MAINVERSION]}${i[r.PRERELEASE]}?${i[r.BUILD]}?`),d("FULL",`^${i[r.FULLPLAIN]}$`),d("LOOSEPLAIN",`[v=\\s]*${i[r.MAINVERSIONLOOSE]}${i[r.PRERELEASELOOSE]}?${i[r.BUILD]}?`),d("LOOSE",`^${i[r.LOOSEPLAIN]}$`),d("GTLT","((?:<|>)?=?)"),d("XRANGEIDENTIFIERLOOSE",`${i[r.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),d("XRANGEIDENTIFIER",`${i[r.NUMERICIDENTIFIER]}|x|X|\\*`),d("XRANGEPLAIN",`[v=\\s]*(${i[r.XRANGEIDENTIFIER]})(?:\\.(${i[r.XRANGEIDENTIFIER]})(?:\\.(${i[r.XRANGEIDENTIFIER]})(?:${i[r.PRERELEASE]})?${i[r.BUILD]}?)?)?`),d("XRANGEPLAINLOOSE",`[v=\\s]*(${i[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[r.XRANGEIDENTIFIERLOOSE]})(?:${i[r.PRERELEASELOOSE]})?${i[r.BUILD]}?)?)?`),d("XRANGE",`^${i[r.GTLT]}\\s*${i[r.XRANGEPLAIN]}$`),d("XRANGELOOSE",`^${i[r.GTLT]}\\s*${i[r.XRANGEPLAINLOOSE]}$`),d("COERCEPLAIN",`(^|[^\\d])(\\d{1,${o}})(?:\\.(\\d{1,${o}}))?(?:\\.(\\d{1,${o}}))?`),d("COERCE",`${i[r.COERCEPLAIN]}(?:$|[^\\d])`),d("COERCEFULL",i[r.COERCEPLAIN]+`(?:${i[r.PRERELEASE]})?(?:${i[r.BUILD]})?(?:$|[^\\d])`),d("COERCERTL",i[r.COERCE],!0),d("COERCERTLFULL",i[r.COERCEFULL],!0),d("LONETILDE","(?:~>?)"),d("TILDETRIM",`(\\s*)${i[r.LONETILDE]}\\s+`,!0),n.tildeTrimReplace="$1~",d("TILDE",`^${i[r.LONETILDE]}${i[r.XRANGEPLAIN]}$`),d("TILDELOOSE",`^${i[r.LONETILDE]}${i[r.XRANGEPLAINLOOSE]}$`),d("LONECARET","(?:\\^)"),d("CARETTRIM",`(\\s*)${i[r.LONECARET]}\\s+`,!0),n.caretTrimReplace="$1^",d("CARET",`^${i[r.LONECARET]}${i[r.XRANGEPLAIN]}$`),d("CARETLOOSE",`^${i[r.LONECARET]}${i[r.XRANGEPLAINLOOSE]}$`),d("COMPARATORLOOSE",`^${i[r.GTLT]}\\s*(${i[r.LOOSEPLAIN]})$|^$`),d("COMPARATOR",`^${i[r.GTLT]}\\s*(${i[r.FULLPLAIN]})$|^$`),d("COMPARATORTRIM",`(\\s*)${i[r.GTLT]}\\s*(${i[r.LOOSEPLAIN]}|${i[r.XRANGEPLAIN]})`,!0),n.comparatorTrimReplace="$1$2$3",d("HYPHENRANGE",`^\\s*(${i[r.XRANGEPLAIN]})\\s+-\\s+(${i[r.XRANGEPLAIN]})\\s*$`),d("HYPHENRANGELOOSE",`^\\s*(${i[r.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[r.XRANGEPLAINLOOSE]})\\s*$`),d("STAR","(<|>)?=?\\s*\\*"),d("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),d("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(Ke,Ke.exports)),Ke.exports}var Ze,zt;function qn(){if(zt)return Ze;zt=1;const t=Object.freeze({loose:!0}),n=Object.freeze({});return Ze=o=>o?typeof o!="object"?t:o:n,Ze}var Je,Ht;function Kn(){if(Ht)return Je;Ht=1;const t=/^[0-9]+$/,n=(o,a)=>{const p=t.test(o),f=t.test(a);return p&&f&&(o=+o,a=+a),o===a?0:p&&!f?-1:f&&!p?1:o<a?-1:1};return Je={compareIdentifiers:n,rcompareIdentifiers:(o,a)=>n(a,o)},Je}var Qe,Bt;function gn(){if(Bt)return Qe;Bt=1;const t=En(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:o}=hn(),{safeRe:a,t:p}=Yn(),f=qn(),{compareIdentifiers:m}=Kn();class c{constructor(u,r){if(r=f(r),u instanceof c){if(u.loose===!!r.loose&&u.includePrerelease===!!r.includePrerelease)return u;u=u.version}else if(typeof u!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof u}".`);if(u.length>n)throw new TypeError(`version is longer than ${n} characters`);t("SemVer",u,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const E=u.trim().match(r.loose?a[p.LOOSE]:a[p.FULL]);if(!E)throw new TypeError(`Invalid Version: ${u}`);if(this.raw=u,this.major=+E[1],this.minor=+E[2],this.patch=+E[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");E[4]?this.prerelease=E[4].split(".").map(g=>{if(/^[0-9]+$/.test(g)){const N=+g;if(N>=0&&N<o)return N}return g}):this.prerelease=[],this.build=E[5]?E[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(u){if(t("SemVer.compare",this.version,this.options,u),!(u instanceof c)){if(typeof u=="string"&&u===this.version)return 0;u=new c(u,this.options)}return u.version===this.version?0:this.compareMain(u)||this.comparePre(u)}compareMain(u){return u instanceof c||(u=new c(u,this.options)),m(this.major,u.major)||m(this.minor,u.minor)||m(this.patch,u.patch)}comparePre(u){if(u instanceof c||(u=new c(u,this.options)),this.prerelease.length&&!u.prerelease.length)return-1;if(!this.prerelease.length&&u.prerelease.length)return 1;if(!this.prerelease.length&&!u.prerelease.length)return 0;let r=0;do{const E=this.prerelease[r],g=u.prerelease[r];if(t("prerelease compare",r,E,g),E===void 0&&g===void 0)return 0;if(g===void 0)return 1;if(E===void 0)return-1;if(E!==g)return m(E,g)}while(++r)}compareBuild(u){u instanceof c||(u=new c(u,this.options));let r=0;do{const E=this.build[r],g=u.build[r];if(t("build compare",r,E,g),E===void 0&&g===void 0)return 0;if(g===void 0)return 1;if(E===void 0)return-1;if(E!==g)return m(E,g)}while(++r)}inc(u,r,E){if(u.startsWith("pre")){if(!r&&E===!1)throw new Error("invalid increment argument: identifier is empty");if(r){const g=`-${r}`.match(this.options.loose?a[p.PRERELEASELOOSE]:a[p.PRERELEASE]);if(!g||g[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(u){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,E);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,E);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,E),this.inc("pre",r,E);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,E),this.inc("pre",r,E);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 g=Number(E)?1:0;if(this.prerelease.length===0)this.prerelease=[g];else{let N=this.prerelease.length;for(;--N>=0;)typeof this.prerelease[N]=="number"&&(this.prerelease[N]++,N=-2);if(N===-1){if(r===this.prerelease.join(".")&&E===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(g)}}if(r){let N=[r,g];E===!1&&(N=[r]),m(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=N):this.prerelease=N}break}default:throw new Error(`invalid increment argument: ${u}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Qe=c,Qe}var et,Xt;function Zn(){if(Xt)return et;Xt=1;const t=gn();return et=(n,o,a=!1)=>{if(n instanceof t)return n;try{return new t(n,o)}catch(p){if(!a)return null;throw p}},et}var tt,Wt;function Jn(){if(Wt)return tt;Wt=1;const t=Zn();return tt=(n,o)=>{const a=t(n,o);return a?a.version:null},tt}var Qn=Jn();const er=dt(Qn);var nt,Vt;function tr(){if(Vt)return nt;Vt=1;const t=gn();return nt=(n,o)=>new t(n,o).major,nt}var nr=tr();const Yt=dt(nr);class rr{bus;constructor(n){typeof n.getVersion!="function"||!er(n.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):Yt(n.getVersion())!==Yt(this.getVersion())&&console.warn("Proxying an event bus of version "+n.getVersion()+" with "+this.getVersion()),this.bus=n}getVersion(){return"3.3.2"}subscribe(n,o){this.bus.subscribe(n,o)}unsubscribe(n,o){this.bus.unsubscribe(n,o)}emit(n,...o){this.bus.emit(n,...o)}}class or{handlers=new Map;getVersion(){return"3.3.2"}subscribe(n,o){this.handlers.set(n,(this.handlers.get(n)||[]).concat(o))}unsubscribe(n,o){this.handlers.set(n,(this.handlers.get(n)||[]).filter(a=>a!==o))}emit(n,...o){(this.handlers.get(n)||[]).forEach(a=>{try{a(o[0])}catch(p){console.error("could not invoke event listener",p)}})}}let me=null;function ir(){return me!==null?me: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"?me=new rr(window._nc_event_bus):me=window._nc_event_bus=new or,me)}function ar(t,n){ir().subscribe(t,n)}var ae={},de={},Ee={},qt;function Tn(){if(qt)return Ee;qt=1,Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.default=void 0;function t(p,f,m){return f=n(f),f in p?Object.defineProperty(p,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):p[f]=m,p}function n(p){var f=o(p,"string");return typeof f=="symbol"?f:f+""}function o(p,f){if(typeof p!="object"||!p)return p;var m=p[Symbol.toPrimitive];if(m!==void 0){var c=m.call(p,f);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(p)}class a{constructor(f,m,c){t(this,"scope",void 0),t(this,"wrapped",void 0),this.scope="".concat(c?a.GLOBAL_SCOPE_PERSISTENT:a.GLOBAL_SCOPE_VOLATILE,"_").concat(btoa(f),"_"),this.wrapped=m}scopeKey(f){return"".concat(this.scope).concat(f)}setItem(f,m){this.wrapped.setItem(this.scopeKey(f),m)}getItem(f){return this.wrapped.getItem(this.scopeKey(f))}removeItem(f){this.wrapped.removeItem(this.scopeKey(f))}clear(){Object.keys(this.wrapped).filter(f=>f.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}return Ee.default=a,t(a,"GLOBAL_SCOPE_VOLATILE","nextcloud_vol"),t(a,"GLOBAL_SCOPE_PERSISTENT","nextcloud_per"),Ee}var Kt;function sr(){if(Kt)return de;Kt=1,Object.defineProperty(de,"__esModule",{value:!0}),de.default=void 0;var t=n(Tn());function n(m){return m&&m.__esModule?m:{default:m}}function o(m,c,i){return c=a(c),c in m?Object.defineProperty(m,c,{value:i,enumerable:!0,configurable:!0,writable:!0}):m[c]=i,m}function a(m){var c=p(m,"string");return typeof c=="symbol"?c:c+""}function p(m,c){if(typeof m!="object"||!m)return m;var i=m[Symbol.toPrimitive];if(i!==void 0){var u=i.call(m,c);if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(m)}class f{constructor(c){o(this,"appId",void 0),o(this,"persisted",!1),o(this,"clearedOnLogout",!1),this.appId=c}persist(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return this.persisted=c,this}clearOnLogout(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return this.clearedOnLogout=c,this}build(){return new t.default(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}return de.default=f,de}var Zt;function cr(){if(Zt)return ae;Zt=1,Object.defineProperty(ae,"__esModule",{value:!0}),ae.clearAll=f,ae.clearNonPersistent=m,ae.getBuilder=a;var t=o(sr()),n=o(Tn());function o(c){return c&&c.__esModule?c:{default:c}}function a(c){return new t.default(c)}function p(c,i){Object.keys(c).filter(u=>i?i(u):!0).map(c.removeItem.bind(c))}function f(){[window.sessionStorage,window.localStorage].map(c=>p(c))}function m(){[window.sessionStorage,window.localStorage].map(c=>p(c,i=>!i.startsWith(n.default.GLOBAL_SCOPE_PERSISTENT)))}return ae}var lr=cr();let Ae;const Nn=[];function $r(){return Ae===void 0&&(Ae=document.head.dataset.requesttoken??null),Ae}function kr(t){Nn.push(t)}ar("csrf-token-update",t=>{Ae=t.token,Nn.forEach(n=>{try{n(Ae)}catch(o){console.error("Error updating CSRF token observer",o)}})}),lr.getBuilder("public").persist().build();let se;const Jt=(t,n)=>t?t.getAttribute(n):null;function xr(){if(se!==void 0)return se;const t=document?.getElementsByTagName("head")[0];if(!t)return null;const n=Jt(t,"data-user");return n===null?(se=null,se):(se={uid:n,displayName:Jt(t,"data-user-displayname"),isAdmin:!!window._oc_isadmin},se)}const{entries:In,setPrototypeOf:Qt,isFrozen:ur,getPrototypeOf:pr,getOwnPropertyDescriptor:fr}=Object;let{freeze:C,seal:k,create:An}=Object,{apply:ft,construct:mt}=typeof Reflect<"u"&&Reflect;C||(C=function(t){return t}),k||(k=function(t){return t}),ft||(ft=function(t,n,o){return t.apply(n,o)}),mt||(mt=function(t,n){return new t(...n)});const _e=D(Array.prototype.forEach),mr=D(Array.prototype.lastIndexOf),en=D(Array.prototype.pop),he=D(Array.prototype.push),dr=D(Array.prototype.splice),De=D(String.prototype.toLowerCase),rt=D(String.prototype.toString),tn=D(String.prototype.match),ge=D(String.prototype.replace),Er=D(String.prototype.indexOf),hr=D(String.prototype.trim),F=D(Object.prototype.hasOwnProperty),w=D(RegExp.prototype.test),Te=gr(TypeError);function D(t){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var o=arguments.length,a=new Array(o>1?o-1:0),p=1;p<o;p++)a[p-1]=arguments[p];return ft(t,n,a)}}function gr(t){return function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return mt(t,o)}}function h(t,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:De;Qt&&Qt(t,null);let a=n.length;for(;a--;){let p=n[a];if(typeof p=="string"){const f=o(p);f!==p&&(ur(n)||(n[a]=f),p=f)}t[p]=!0}return t}function Tr(t){for(let n=0;n<t.length;n++)F(t,n)||(t[n]=null);return t}function Y(t){const n=An(null);for(const[o,a]of In(t))F(t,o)&&(Array.isArray(a)?n[o]=Tr(a):a&&typeof a=="object"&&a.constructor===Object?n[o]=Y(a):n[o]=a);return n}function Ne(t,n){for(;t!==null;){const a=fr(t,n);if(a){if(a.get)return D(a.get);if(typeof a.value=="function")return D(a.value)}t=pr(t)}function o(){return null}return o}const nn=C(["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","section","select","shadow","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"]),ot=C(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),it=C(["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"]),Nr=C(["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"]),at=C(["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"]),Ir=C(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),rn=C(["#text"]),on=C(["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","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),st=C(["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","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"]),an=C(["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"]),we=C(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ar=k(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Rr=k(/<%[\w\W]*|[\w\W]*%>/gm),yr=k(/\$\{[\w\W]*/gm),Lr=k(/^data-[\-\w.\u00B7-\uFFFF]+$/),br=k(/^aria-[\-\w]+$/),Rn=k(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Or=k(/^(?:\w+script|data):/i),vr=k(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),yn=k(/^html$/i),Sr=k(/^[a-z][.\w]*(-[.\w]+)+$/i);var sn=Object.freeze({__proto__:null,ARIA_ATTR:br,ATTR_WHITESPACE:vr,CUSTOM_ELEMENT:Sr,DATA_ATTR:Lr,DOCTYPE_NAME:yn,ERB_EXPR:Rr,IS_ALLOWED_URI:Rn,IS_SCRIPT_OR_DATA:Or,MUSTACHE_EXPR:Ar,TMPLIT_EXPR:yr});const Ie={element:1,text:3,progressingInstruction:7,comment:8,document:9},_r=function(){return typeof window>"u"?null:window},wr=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const a="data-tt-policy-suffix";n&&n.hasAttribute(a)&&(o=n.getAttribute(a));const p="dompurify"+(o?"#"+o:"");try{return t.createPolicy(p,{createHTML(f){return f},createScriptURL(f){return f}})}catch{return console.warn("TrustedTypes policy "+p+" could not be created."),null}},cn=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ln(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_r();const n=e=>Ln(e);if(n.version="3.2.6",n.removed=[],!t||!t.document||t.document.nodeType!==Ie.document||!t.Element)return n.isSupported=!1,n;let{document:o}=t;const a=o,p=a.currentScript,{DocumentFragment:f,HTMLTemplateElement:m,Node:c,Element:i,NodeFilter:u,NamedNodeMap:r=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:E,DOMParser:g,trustedTypes:N}=t,M=i.prototype,d=Ne(M,"cloneNode"),U=Ne(M,"remove"),P=Ne(M,"nextSibling"),G=Ne(M,"childNodes"),$=Ne(M,"parentNode");if(typeof m=="function"){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let I,le="";const{implementation:Me,createNodeIterator:On,createDocumentFragment:vn,getElementsByTagName:Sn}=o,{importNode:_n}=a;let _=cn();n.isSupported=typeof In=="function"&&typeof $=="function"&&Me&&Me.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Pe,ERB_EXPR:$e,TMPLIT_EXPR:ke,DATA_ATTR:wn,ARIA_ATTR:Cn,IS_SCRIPT_OR_DATA:Dn,ATTR_WHITESPACE:Et,CUSTOM_ELEMENT:Mn}=sn;let{IS_ALLOWED_URI:ht}=sn,L=null;const gt=h({},[...nn,...ot,...it,...at,...rn]);let O=null;const Tt=h({},[...on,...st,...an,...we]);let R=Object.seal(An(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}})),ue=null,xe=null,Nt=!0,Fe=!0,It=!1,At=!0,Q=!1,Re=!0,K=!1,Ue=!1,Ge=!1,ee=!1,ye=!1,Le=!1,Rt=!0,yt=!1;const Pn="user-content-";let je=!0,pe=!1,te={},ne=null;const Lt=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 bt=null;const Ot=h({},["audio","video","img","source","image","track"]);let ze=null;const vt=h({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),be="http://www.w3.org/1998/Math/MathML",Oe="http://www.w3.org/2000/svg",B="http://www.w3.org/1999/xhtml";let re=B,He=!1,Be=null;const $n=h({},[be,Oe,B],rt);let ve=h({},["mi","mo","mn","ms","mtext"]),Se=h({},["annotation-xml"]);const kn=h({},["title","style","font","a","script"]);let fe=null;const xn=["application/xhtml+xml","text/html"],Fn="text/html";let b=null,oe=null;const Un=o.createElement("form"),St=function(e){return e instanceof RegExp||e instanceof Function},Xe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(oe&&oe===e)){if((!e||typeof e!="object")&&(e={}),e=Y(e),fe=xn.indexOf(e.PARSER_MEDIA_TYPE)===-1?Fn:e.PARSER_MEDIA_TYPE,b=fe==="application/xhtml+xml"?rt:De,L=F(e,"ALLOWED_TAGS")?h({},e.ALLOWED_TAGS,b):gt,O=F(e,"ALLOWED_ATTR")?h({},e.ALLOWED_ATTR,b):Tt,Be=F(e,"ALLOWED_NAMESPACES")?h({},e.ALLOWED_NAMESPACES,rt):$n,ze=F(e,"ADD_URI_SAFE_ATTR")?h(Y(vt),e.ADD_URI_SAFE_ATTR,b):vt,bt=F(e,"ADD_DATA_URI_TAGS")?h(Y(Ot),e.ADD_DATA_URI_TAGS,b):Ot,ne=F(e,"FORBID_CONTENTS")?h({},e.FORBID_CONTENTS,b):Lt,ue=F(e,"FORBID_TAGS")?h({},e.FORBID_TAGS,b):Y({}),xe=F(e,"FORBID_ATTR")?h({},e.FORBID_ATTR,b):Y({}),te=F(e,"USE_PROFILES")?e.USE_PROFILES:!1,Nt=e.ALLOW_ARIA_ATTR!==!1,Fe=e.ALLOW_DATA_ATTR!==!1,It=e.ALLOW_UNKNOWN_PROTOCOLS||!1,At=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Q=e.SAFE_FOR_TEMPLATES||!1,Re=e.SAFE_FOR_XML!==!1,K=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,ye=e.RETURN_DOM_FRAGMENT||!1,Le=e.RETURN_TRUSTED_TYPE||!1,Ge=e.FORCE_BODY||!1,Rt=e.SANITIZE_DOM!==!1,yt=e.SANITIZE_NAMED_PROPS||!1,je=e.KEEP_CONTENT!==!1,pe=e.IN_PLACE||!1,ht=e.ALLOWED_URI_REGEXP||Rn,re=e.NAMESPACE||B,ve=e.MATHML_TEXT_INTEGRATION_POINTS||ve,Se=e.HTML_INTEGRATION_POINTS||Se,R=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(R.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&St(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(R.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(R.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Q&&(Fe=!1),ye&&(ee=!0),te&&(L=h({},rn),O=[],te.html===!0&&(h(L,nn),h(O,on)),te.svg===!0&&(h(L,ot),h(O,st),h(O,we)),te.svgFilters===!0&&(h(L,it),h(O,st),h(O,we)),te.mathMl===!0&&(h(L,at),h(O,an),h(O,we))),e.ADD_TAGS&&(L===gt&&(L=Y(L)),h(L,e.ADD_TAGS,b)),e.ADD_ATTR&&(O===Tt&&(O=Y(O)),h(O,e.ADD_ATTR,b)),e.ADD_URI_SAFE_ATTR&&h(ze,e.ADD_URI_SAFE_ATTR,b),e.FORBID_CONTENTS&&(ne===Lt&&(ne=Y(ne)),h(ne,e.FORBID_CONTENTS,b)),je&&(L["#text"]=!0),K&&h(L,["html","head","body"]),L.table&&(h(L,["tbody"]),delete ue.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Te('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Te('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');I=e.TRUSTED_TYPES_POLICY,le=I.createHTML("")}else I===void 0&&(I=wr(N,p)),I!==null&&typeof le=="string"&&(le=I.createHTML(""));C&&C(e),oe=e}},_t=h({},[...ot,...it,...Nr]),wt=h({},[...at,...Ir]),Gn=function(e){let l=$(e);(!l||!l.tagName)&&(l={namespaceURI:re,tagName:"template"});const s=De(e.tagName),T=De(l.tagName);return Be[e.namespaceURI]?e.namespaceURI===Oe?l.namespaceURI===B?s==="svg":l.namespaceURI===be?s==="svg"&&(T==="annotation-xml"||ve[T]):!!_t[s]:e.namespaceURI===be?l.namespaceURI===B?s==="math":l.namespaceURI===Oe?s==="math"&&Se[T]:!!wt[s]:e.namespaceURI===B?l.namespaceURI===Oe&&!Se[T]||l.namespaceURI===be&&!ve[T]?!1:!wt[s]&&(kn[s]||!_t[s]):!!(fe==="application/xhtml+xml"&&Be[e.namespaceURI]):!1},Z=function(e){he(n.removed,{element:e});try{$(e).removeChild(e)}catch{U(e)}},ie=function(e,l){try{he(n.removed,{attribute:l.getAttributeNode(e),from:l})}catch{he(n.removed,{attribute:null,from:l})}if(l.removeAttribute(e),e==="is")if(ee||ye)try{Z(l)}catch{}else try{l.setAttribute(e,"")}catch{}},Ct=function(e){let l=null,s=null;if(Ge)e="<remove></remove>"+e;else{const A=tn(e,/^[\r\n\t ]+/);s=A&&A[0]}fe==="application/xhtml+xml"&&re===B&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const T=I?I.createHTML(e):e;if(re===B)try{l=new g().parseFromString(T,fe)}catch{}if(!l||!l.documentElement){l=Me.createDocument(re,"template",null);try{l.documentElement.innerHTML=He?le:T}catch{}}const v=l.body||l.documentElement;return e&&s&&v.insertBefore(o.createTextNode(s),v.childNodes[0]||null),re===B?Sn.call(l,K?"html":"body")[0]:K?l.documentElement:v},Dt=function(e){return On.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},We=function(e){return e instanceof E&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof r)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Mt=function(e){return typeof c=="function"&&e instanceof c};function X(e,l,s){_e(e,T=>{T.call(n,l,s,oe)})}const Pt=function(e){let l=null;if(X(_.beforeSanitizeElements,e,null),We(e))return Z(e),!0;const s=b(e.nodeName);if(X(_.uponSanitizeElement,e,{tagName:s,allowedTags:L}),Re&&e.hasChildNodes()&&!Mt(e.firstElementChild)&&w(/<[/\w!]/g,e.innerHTML)&&w(/<[/\w!]/g,e.textContent)||e.nodeType===Ie.progressingInstruction||Re&&e.nodeType===Ie.comment&&w(/<[/\w]/g,e.data))return Z(e),!0;if(!L[s]||ue[s]){if(!ue[s]&&kt(s)&&(R.tagNameCheck instanceof RegExp&&w(R.tagNameCheck,s)||R.tagNameCheck instanceof Function&&R.tagNameCheck(s)))return!1;if(je&&!ne[s]){const T=$(e)||e.parentNode,v=G(e)||e.childNodes;if(v&&T){const A=v.length;for(let W=A-1;W>=0;--W){const x=d(v[W],!0);x.__removalCount=(e.__removalCount||0)+1,T.insertBefore(x,P(e))}}}return Z(e),!0}return e instanceof i&&!Gn(e)||(s==="noscript"||s==="noembed"||s==="noframes")&&w(/<\/no(script|embed|frames)/i,e.innerHTML)?(Z(e),!0):(Q&&e.nodeType===Ie.text&&(l=e.textContent,_e([Pe,$e,ke],T=>{l=ge(l,T," ")}),e.textContent!==l&&(he(n.removed,{element:e.cloneNode()}),e.textContent=l)),X(_.afterSanitizeElements,e,null),!1)},$t=function(e,l,s){if(Rt&&(l==="id"||l==="name")&&(s in o||s in Un))return!1;if(!(Fe&&!xe[l]&&w(wn,l))&&!(Nt&&w(Cn,l))){if(!O[l]||xe[l]){if(!(kt(e)&&(R.tagNameCheck instanceof RegExp&&w(R.tagNameCheck,e)||R.tagNameCheck instanceof Function&&R.tagNameCheck(e))&&(R.attributeNameCheck instanceof RegExp&&w(R.attributeNameCheck,l)||R.attributeNameCheck instanceof Function&&R.attributeNameCheck(l))||l==="is"&&R.allowCustomizedBuiltInElements&&(R.tagNameCheck instanceof RegExp&&w(R.tagNameCheck,s)||R.tagNameCheck instanceof Function&&R.tagNameCheck(s))))return!1}else if(!ze[l]&&!w(ht,ge(s,Et,""))&&!((l==="src"||l==="xlink:href"||l==="href")&&e!=="script"&&Er(s,"data:")===0&&bt[e])&&!(It&&!w(Dn,ge(s,Et,"")))&&s)return!1}return!0},kt=function(e){return e!=="annotation-xml"&&tn(e,Mn)},xt=function(e){X(_.beforeSanitizeAttributes,e,null);const{attributes:l}=e;if(!l||We(e))return;const s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:O,forceKeepAttr:void 0};let T=l.length;for(;T--;){const v=l[T],{name:A,namespaceURI:W,value:x}=v,j=b(A),Ve=x;let S=A==="value"?Ve:hr(Ve);if(s.attrName=j,s.attrValue=S,s.keepAttr=!0,s.forceKeepAttr=void 0,X(_.uponSanitizeAttribute,e,s),S=s.attrValue,yt&&(j==="id"||j==="name")&&(ie(A,e),S=Pn+S),Re&&w(/((--!?|])>)|<\/(style|title)/i,S)){ie(A,e);continue}if(s.forceKeepAttr)continue;if(!s.keepAttr){ie(A,e);continue}if(!At&&w(/\/>/i,S)){ie(A,e);continue}Q&&_e([Pe,$e,ke],zn=>{S=ge(S,zn," ")});const Ft=b(e.nodeName);if(!$t(Ft,j,S)){ie(A,e);continue}if(I&&typeof N=="object"&&typeof N.getAttributeType=="function"&&!W)switch(N.getAttributeType(Ft,j)){case"TrustedHTML":{S=I.createHTML(S);break}case"TrustedScriptURL":{S=I.createScriptURL(S);break}}if(S!==Ve)try{W?e.setAttributeNS(W,A,S):e.setAttribute(A,S),We(e)?Z(e):en(n.removed)}catch{ie(A,e)}}X(_.afterSanitizeAttributes,e,null)},jn=function e(l){let s=null;const T=Dt(l);for(X(_.beforeSanitizeShadowDOM,l,null);s=T.nextNode();)X(_.uponSanitizeShadowNode,s,null),Pt(s),xt(s),s.content instanceof f&&e(s.content);X(_.afterSanitizeShadowDOM,l,null)};return n.sanitize=function(e){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=null,T=null,v=null,A=null;if(He=!e,He&&(e="<!-->"),typeof e!="string"&&!Mt(e))if(typeof e.toString=="function"){if(e=e.toString(),typeof e!="string")throw Te("dirty is not a string, aborting")}else throw Te("toString is not a function");if(!n.isSupported)return e;if(Ue||Xe(l),n.removed=[],typeof e=="string"&&(pe=!1),pe){if(e.nodeName){const j=b(e.nodeName);if(!L[j]||ue[j])throw Te("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof c)s=Ct("<!---->"),T=s.ownerDocument.importNode(e,!0),T.nodeType===Ie.element&&T.nodeName==="BODY"||T.nodeName==="HTML"?s=T:s.appendChild(T);else{if(!ee&&!Q&&!K&&e.indexOf("<")===-1)return I&&Le?I.createHTML(e):e;if(s=Ct(e),!s)return ee?null:Le?le:""}s&&Ge&&Z(s.firstChild);const W=Dt(pe?e:s);for(;v=W.nextNode();)Pt(v),xt(v),v.content instanceof f&&jn(v.content);if(pe)return e;if(ee){if(ye)for(A=vn.call(s.ownerDocument);s.firstChild;)A.appendChild(s.firstChild);else A=s;return(O.shadowroot||O.shadowrootmode)&&(A=_n.call(a,A,!0)),A}let x=K?s.outerHTML:s.innerHTML;return K&&L["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&w(yn,s.ownerDocument.doctype.name)&&(x="<!DOCTYPE "+s.ownerDocument.doctype.name+`>
`+x),Q&&_e([Pe,$e,ke],j=>{x=ge(x,j," ")}),I&&Le?I.createHTML(x):x},n.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Xe(e),Ue=!0},n.clearConfig=function(){oe=null,Ue=!1},n.isValidAttribute=function(e,l,s){oe||Xe({});const T=b(e),v=b(l);return $t(T,v,s)},n.addHook=function(e,l){typeof l=="function"&&he(_[e],l)},n.removeHook=function(e,l){if(l!==void 0){const s=mr(_[e],l);return s===-1?void 0:dr(_[e],s,1)[0]}return en(_[e])},n.removeHooks=function(e){_[e]=[]},n.removeAllHooks=function(){_=cn()},n}var Cr=Ln(),ct,ln;function Dr(){if(ln)return ct;ln=1;var t=/["'&<>]/;ct=n;function n(o){var a=""+o,p=t.exec(a);if(!p)return a;var f,m="",c=0,i=0;for(c=p.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:f=""";break;case 38:f="&";break;case 39:f="'";break;case 60:f="<";break;case 62:f=">";break;default:continue}i!==c&&(m+=a.substring(i,c)),i=c+1,m+=f}return i!==c?m+a.substring(i,c):m}return ct}var Mr=Dr();const un=dt(Mr);function Pr(){return document.documentElement.lang||"en"}function bn(t){return{translations:window._oc_l10n_registry_translations?.[t]??{},pluralFunction:window._oc_l10n_registry_plural_functions?.[t]??(n=>n)}}function lt(t,n,o,a,p){const f=typeof o=="object"?o:void 0,m=typeof a=="number"?a:typeof o=="number"?o:void 0,c={escape:!0,sanitize:!0,...typeof p=="object"?p:typeof a=="object"?a:{}},i=M=>M,u=c.sanitize?Cr.sanitize:i,r=c.escape?un:i,E=M=>typeof M=="string"||typeof M=="number",g=(M,d,U)=>M.replace(/%n/g,""+U).replace(/{([^{}]*)}/g,(P,G)=>{if(d===void 0||!(G in d))return r(P);const $=d[G];return E($)?r(`${$}`):typeof $=="object"&&E($.value)?($.escape!==!1?un:i)(`${$.value}`):r(P)});let N=(p?.bundle??bn(t)).translations[n]||n;return N=Array.isArray(N)?N[0]:N,u(typeof f=="object"||m!==void 0?g(N,f,m):N)}function Fr(t,n,o,a,p,f){const m="_"+n+"_::_"+o+"_",c=f?.bundle??bn(t),i=c.translations[m];if(typeof i<"u"){const u=i;if(Array.isArray(u)){const r=c.pluralFunction(a);return lt(t,u[r],p,a,f)}}return a===1?lt(t,n,p,a,f):lt(t,o,p,a,f)}function Ur(t,n=Pr()){switch(n==="pt-BR"&&(n="xbr"),n.length>3&&(n=n.substring(0,n.lastIndexOf("-"))),n){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}}function Gr(t,n,o){const a=document.querySelector(`#initial-state-${t}-${n}`);if(a===null){if(o!==void 0)return o;throw new Error(`Could not find initial state ${n} of ${t}`)}try{return JSON.parse(atob(a.value))}catch{throw new Error(`Could not parse initial state ${n} of ${t}`)}}export{Fr as a,dt as b,Pr as c,Ur as d,Cr as e,$r as f,xr as g,Gr as l,kr as o,Vn as p,lt as t};
//# sourceMappingURL=index-CqY9_Aan.chunk.mjs.map