@everymatrix/general-navigation-bar 1.94.58 → 1.94.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralNavigationBar-Ci53k2cM.js → GeneralNavigationBar-C-cp1KVV.js} +939 -933
- package/components/{GeneralNavigationBar-5O3Ok2u7.js → GeneralNavigationBar-CI2pPGZn.js} +973 -967
- package/components/{GeneralNavigationBar-d0K6ESh8.cjs → GeneralNavigationBar-Cp-g7VYB.cjs} +4 -4
- package/components/{SvgImage-BF__9L4G.cjs → SvgImage-B6pcbBo6.cjs} +1 -1
- package/components/{SvgImage-CQdagKOq.js → SvgImage-BjWTcgoS.js} +1 -1
- package/components/{SvgImage-6AwvqW0h.js → SvgImage-C27690jh.js} +1 -1
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var gt=(a,t,i)=>new Promise((r,u)=>{var E=S=>{try{C(i.next(S))}catch(L){u(L)}},D=S=>{try{C(i.throw(S))}catch(L){u(L)}},C=S=>S.done?r(S.value):Promise.resolve(S.value).then(E,D);C((i=i.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./GeneralNavigationBar-d0K6ESh8.cjs");/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:Rt,setPrototypeOf:dt,isFrozen:jt,getPrototypeOf:Xt,getOwnPropertyDescriptor:Vt}=Object;let{freeze:R,seal:w,create:Lt}=Object,{apply:Fe,construct:He}=typeof Reflect!="undefined"&&Reflect;R||(R=function(t){return t});w||(w=function(t){return t});Fe||(Fe=function(t,i,r){return t.apply(i,r)});He||(He=function(t,i){return new t(...i)});const de=I(Array.prototype.forEach),_t=I(Array.prototype.pop),ie=I(Array.prototype.push),Te=I(String.prototype.toLowerCase),xe=I(String.prototype.toString),Tt=I(String.prototype.match),oe=I(String.prototype.replace),qt=I(String.prototype.indexOf),Kt=I(String.prototype.trim),v=I(Object.prototype.hasOwnProperty),b=I(RegExp.prototype.test),re=Zt(TypeError);function I(a){return function(t){for(var i=arguments.length,r=new Array(i>1?i-1:0),u=1;u<i;u++)r[u-1]=arguments[u];return Fe(a,t,r)}}function Zt(a){return function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return He(a,i)}}function l(a,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Te;dt&&dt(a,null);let r=t.length;for(;r--;){let u=t[r];if(typeof u=="string"){const E=i(u);E!==u&&(jt(t)||(t[r]=E),u=E)}a[u]=!0}return a}function Jt(a){for(let t=0;t<a.length;t++)v(a,t)||(a[t]=null);return a}function j(a){const t=Lt(null);for(const[i,r]of Rt(a))v(a,i)&&(Array.isArray(r)?t[i]=Jt(r):r&&typeof r=="object"&&r.constructor===Object?t[i]=j(r):t[i]=r);return t}function ae(a,t){for(;a!==null;){const r=Vt(a,t);if(r){if(r.get)return I(r.get);if(typeof r.value=="function")return I(r.value)}a=Xt(a)}function i(){return null}return i}const ht=R(["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"]),ve=R(["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"]),Pe=R(["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"]),Qt=R(["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"]),ke=R(["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"]),$t=R(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Et=R(["#text"]),At=R(["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"]),Ue=R(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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"]),St=R(["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"]),_e=R(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=w(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=w(/<%[\w\W]*|[\w\W]*%>/gm),nn=w(/\${[\w\W]*}/gm),on=w(/^data-[\-\w.\u00B7-\uFFFF]/),rn=w(/^aria-[\-\w]+$/),Ot=w(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),an=w(/^(?:\w+script|data):/i),sn=w(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Dt=w(/^html$/i),ln=w(/^[a-z][.\w]*(-[.\w]+)+$/i);var yt=Object.freeze({__proto__:null,MUSTACHE_EXPR:en,ERB_EXPR:tn,TMPLIT_EXPR:nn,DATA_ATTR:on,ARIA_ATTR:rn,IS_ALLOWED_URI:Ot,IS_SCRIPT_OR_DATA:an,ATTR_WHITESPACE:sn,DOCTYPE_NAME:Dt,CUSTOM_ELEMENT:ln});const se={element:1,text:3,progressingInstruction:7,comment:8,document:9},cn=function(){return typeof window=="undefined"?null:window},un=function(t,i){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const u="data-tt-policy-suffix";i&&i.hasAttribute(u)&&(r=i.getAttribute(u));const E="dompurify"+(r?"#"+r:"");try{return t.createPolicy(E,{createHTML(D){return D},createScriptURL(D){return D}})}catch(D){return console.warn("TrustedTypes policy "+E+" could not be created."),null}};function Nt(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn();const t=s=>Nt(s);if(t.version="3.1.6",t.removed=[],!a||!a.document||a.document.nodeType!==se.document)return t.isSupported=!1,t;let{document:i}=a;const r=i,u=r.currentScript,{DocumentFragment:E,HTMLTemplateElement:D,Node:C,Element:S,NodeFilter:L,NamedNodeMap:M=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:P,DOMParser:N,trustedTypes:X}=a,B=S.prototype,he=ae(B,"cloneNode"),Ee=ae(B,"remove"),m=ae(B,"nextSibling"),x=ae(B,"childNodes"),W=ae(B,"parentNode");if(typeof D=="function"){const s=i.createElement("template");s.content&&s.content.ownerDocument&&(i=s.content.ownerDocument)}let g,H="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:Ct,getElementsByTagName:Mt}=i,{importNode:wt}=r;let k={};t.isSupported=typeof Rt=="function"&&typeof W=="function"&&le&&le.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Ae,ERB_EXPR:Se,TMPLIT_EXPR:ye,DATA_ATTR:xt,ARIA_ATTR:vt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:ze,CUSTOM_ELEMENT:kt}=yt;let{IS_ALLOWED_URI:Ge}=yt,d=null;const We=l({},[...ht,...ve,...Pe,...ke,...Et]);let _=null;const Be=l({},[...At,...Ue,...St,..._e]);let p=Object.seal(Lt(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}})),$=null,be=null,Ye=!0,Re=!0,je=!1,Xe=!0,V=!1,Le=!0,Y=!1,Oe=!1,De=!1,q=!1,ue=!1,fe=!1,Ve=!0,qe=!1;const Ut="user-content-";let Ne=!0,ee=!1,K={},Z=null;const Ke=l({},["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 Ze=null;const Je=l({},["audio","video","img","source","image","track"]);let Ie=null;const Qe=l({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",pe="http://www.w3.org/2000/svg",z="http://www.w3.org/1999/xhtml";let J=z,Ce=!1,Me=null;const Ft=l({},[me,pe,z],xe);let te=null;const Ht=["application/xhtml+xml","text/html"],zt="text/html";let T=null,Q=null;const Gt=i.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},we=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Q&&Q===e)){if((!e||typeof e!="object")&&(e={}),e=j(e),te=Ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?zt:e.PARSER_MEDIA_TYPE,T=te==="application/xhtml+xml"?xe:Te,d=v(e,"ALLOWED_TAGS")?l({},e.ALLOWED_TAGS,T):We,_=v(e,"ALLOWED_ATTR")?l({},e.ALLOWED_ATTR,T):Be,Me=v(e,"ALLOWED_NAMESPACES")?l({},e.ALLOWED_NAMESPACES,xe):Ft,Ie=v(e,"ADD_URI_SAFE_ATTR")?l(j(Qe),e.ADD_URI_SAFE_ATTR,T):Qe,Ze=v(e,"ADD_DATA_URI_TAGS")?l(j(Je),e.ADD_DATA_URI_TAGS,T):Je,Z=v(e,"FORBID_CONTENTS")?l({},e.FORBID_CONTENTS,T):Ke,$=v(e,"FORBID_TAGS")?l({},e.FORBID_TAGS,T):{},be=v(e,"FORBID_ATTR")?l({},e.FORBID_ATTR,T):{},K=v(e,"USE_PROFILES")?e.USE_PROFILES:!1,Ye=e.ALLOW_ARIA_ATTR!==!1,Re=e.ALLOW_DATA_ATTR!==!1,je=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Xe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,V=e.SAFE_FOR_TEMPLATES||!1,Le=e.SAFE_FOR_XML!==!1,Y=e.WHOLE_DOCUMENT||!1,q=e.RETURN_DOM||!1,ue=e.RETURN_DOM_FRAGMENT||!1,fe=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,Ve=e.SANITIZE_DOM!==!1,qe=e.SANITIZE_NAMED_PROPS||!1,Ne=e.KEEP_CONTENT!==!1,ee=e.IN_PLACE||!1,Ge=e.ALLOWED_URI_REGEXP||Ot,J=e.NAMESPACE||z,p=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(p.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(p.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(p.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),V&&(Re=!1),ue&&(q=!0),K&&(d=l({},Et),_=[],K.html===!0&&(l(d,ht),l(_,At)),K.svg===!0&&(l(d,ve),l(_,Ue),l(_,_e)),K.svgFilters===!0&&(l(d,Pe),l(_,Ue),l(_,_e)),K.mathMl===!0&&(l(d,ke),l(_,St),l(_,_e))),e.ADD_TAGS&&(d===We&&(d=j(d)),l(d,e.ADD_TAGS,T)),e.ADD_ATTR&&(_===Be&&(_=j(_)),l(_,e.ADD_ATTR,T)),e.ADD_URI_SAFE_ATTR&&l(Ie,e.ADD_URI_SAFE_ATTR,T),e.FORBID_CONTENTS&&(Z===Ke&&(Z=j(Z)),l(Z,e.FORBID_CONTENTS,T)),Ne&&(d["#text"]=!0),Y&&l(d,["html","head","body"]),d.table&&(l(d,["tbody"]),delete $.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw re('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw re('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,H=g.createHTML("")}else g===void 0&&(g=un(X,u)),g!==null&&typeof H=="string"&&(H=g.createHTML(""));R&&R(e),Q=e}},et=l({},["mi","mo","mn","ms","mtext"]),tt=l({},["foreignobject","annotation-xml"]),Wt=l({},["title","style","font","a","script"]),nt=l({},[...ve,...Pe,...Qt]),it=l({},[...ke,...$t]),Bt=function(e){let n=W(e);(!n||!n.tagName)&&(n={namespaceURI:J,tagName:"template"});const o=Te(e.tagName),f=Te(n.tagName);return Me[e.namespaceURI]?e.namespaceURI===pe?n.namespaceURI===z?o==="svg":n.namespaceURI===me?o==="svg"&&(f==="annotation-xml"||et[f]):!!nt[o]:e.namespaceURI===me?n.namespaceURI===z?o==="math":n.namespaceURI===pe?o==="math"&&tt[f]:!!it[o]:e.namespaceURI===z?n.namespaceURI===pe&&!tt[f]||n.namespaceURI===me&&!et[f]?!1:!it[o]&&(Wt[o]||!nt[o]):!!(te==="application/xhtml+xml"&&Me[e.namespaceURI]):!1},U=function(e){ie(t.removed,{element:e});try{W(e).removeChild(e)}catch(n){Ee(e)}},ge=function(e,n){try{ie(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(o){ie(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e==="is"&&!_[e])if(q||ue)try{U(n)}catch(o){}else try{n.setAttribute(e,"")}catch(o){}},ot=function(e){let n=null,o=null;if(De)e="<remove></remove>"+e;else{const h=Tt(e,/^[\r\n\t ]+/);o=h&&h[0]}te==="application/xhtml+xml"&&J===z&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const f=g?g.createHTML(e):e;if(J===z)try{n=new N().parseFromString(f,te)}catch(h){}if(!n||!n.documentElement){n=le.createDocument(J,"template",null);try{n.documentElement.innerHTML=Ce?H:f}catch(h){}}const A=n.body||n.documentElement;return e&&o&&A.insertBefore(i.createTextNode(o),A.childNodes[0]||null),J===z?Mt.call(n,Y?"html":"body")[0]:Y?n.documentElement:A},rt=function(e){return ce.call(e.ownerDocument||e,e,L.SHOW_ELEMENT|L.SHOW_COMMENT|L.SHOW_TEXT|L.SHOW_PROCESSING_INSTRUCTION|L.SHOW_CDATA_SECTION,null)},at=function(e){return e instanceof P&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof M)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},st=function(e){return typeof C=="function"&&e instanceof C},G=function(e,n,o){k[e]&&de(k[e],f=>{f.call(t,n,o,Q)})},lt=function(e){let n=null;if(G("beforeSanitizeElements",e,null),at(e))return U(e),!0;const o=T(e.nodeName);if(G("uponSanitizeElement",e,{tagName:o,allowedTags:d}),e.hasChildNodes()&&!st(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent)||e.nodeType===se.progressingInstruction||Le&&e.nodeType===se.comment&&b(/<[/\w]/g,e.data))return U(e),!0;if(!d[o]||$[o]){if(!$[o]&&ut(o)&&(p.tagNameCheck instanceof RegExp&&b(p.tagNameCheck,o)||p.tagNameCheck instanceof Function&&p.tagNameCheck(o)))return!1;if(Ne&&!Z[o]){const f=W(e)||e.parentNode,A=x(e)||e.childNodes;if(A&&f){const h=A.length;for(let O=h-1;O>=0;--O){const F=he(A[O],!0);F.__removalCount=(e.__removalCount||0)+1,f.insertBefore(F,m(e))}}}return U(e),!0}return e instanceof S&&!Bt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&b(/<\/no(script|embed|frames)/i,e.innerHTML)?(U(e),!0):(V&&e.nodeType===se.text&&(n=e.textContent,de([Ae,Se,ye],f=>{n=oe(n,f," ")}),e.textContent!==n&&(ie(t.removed,{element:e.cloneNode()}),e.textContent=n)),G("afterSanitizeElements",e,null),!1)},ct=function(e,n,o){if(Ve&&(n==="id"||n==="name")&&(o in i||o in Gt))return!1;if(!(Re&&!be[n]&&b(xt,n))){if(!(Ye&&b(vt,n))){if(!_[n]||be[n]){if(!(ut(e)&&(p.tagNameCheck instanceof RegExp&&b(p.tagNameCheck,e)||p.tagNameCheck instanceof Function&&p.tagNameCheck(e))&&(p.attributeNameCheck instanceof RegExp&&b(p.attributeNameCheck,n)||p.attributeNameCheck instanceof Function&&p.attributeNameCheck(n))||n==="is"&&p.allowCustomizedBuiltInElements&&(p.tagNameCheck instanceof RegExp&&b(p.tagNameCheck,o)||p.tagNameCheck instanceof Function&&p.tagNameCheck(o))))return!1}else if(!Ie[n]){if(!b(Ge,oe(o,ze,""))){if(!((n==="src"||n==="xlink:href"||n==="href")&&e!=="script"&&qt(o,"data:")===0&&Ze[e])){if(!(je&&!b(Pt,oe(o,ze,"")))){if(o)return!1}}}}}}return!0},ut=function(e){return e!=="annotation-xml"&&Tt(e,kt)},ft=function(e){G("beforeSanitizeAttributes",e,null);const{attributes:n}=e;if(!n)return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_};let f=n.length;for(;f--;){const A=n[f],{name:h,namespaceURI:O,value:F}=A,ne=T(h);let y=h==="value"?F:Kt(F);if(o.attrName=ne,o.attrValue=y,o.keepAttr=!0,o.forceKeepAttr=void 0,G("uponSanitizeAttribute",e,o),y=o.attrValue,Le&&b(/((--!?|])>)|<\/(style|title)/i,y)){ge(h,e);continue}if(o.forceKeepAttr||(ge(h,e),!o.keepAttr))continue;if(!Xe&&b(/\/>/i,y)){ge(h,e);continue}V&&de([Ae,Se,ye],pt=>{y=oe(y,pt," ")});const mt=T(e.nodeName);if(ct(mt,ne,y)){if(qe&&(ne==="id"||ne==="name")&&(ge(h,e),y=Ut+y),g&&typeof X=="object"&&typeof X.getAttributeType=="function"&&!O)switch(X.getAttributeType(mt,ne)){case"TrustedHTML":{y=g.createHTML(y);break}case"TrustedScriptURL":{y=g.createScriptURL(y);break}}try{O?e.setAttributeNS(O,h,y):e.setAttribute(h,y),at(e)?U(e):_t(t.removed)}catch(pt){}}}G("afterSanitizeAttributes",e,null)},Yt=function s(e){let n=null;const o=rt(e);for(G("beforeSanitizeShadowDOM",e,null);n=o.nextNode();)G("uponSanitizeShadowNode",n,null),!lt(n)&&(n.content instanceof E&&s(n.content),ft(n));G("afterSanitizeShadowDOM",e,null)};return t.sanitize=function(s){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=null,o=null,f=null,A=null;if(Ce=!s,Ce&&(s="<!-->"),typeof s!="string"&&!st(s))if(typeof s.toString=="function"){if(s=s.toString(),typeof s!="string")throw re("dirty is not a string, aborting")}else throw re("toString is not a function");if(!t.isSupported)return s;if(Oe||we(e),t.removed=[],typeof s=="string"&&(ee=!1),ee){if(s.nodeName){const F=T(s.nodeName);if(!d[F]||$[F])throw re("root node is forbidden and cannot be sanitized in-place")}}else if(s instanceof C)n=ot("<!---->"),o=n.ownerDocument.importNode(s,!0),o.nodeType===se.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?n=o:n.appendChild(o);else{if(!q&&!V&&!Y&&s.indexOf("<")===-1)return g&&fe?g.createHTML(s):s;if(n=ot(s),!n)return q?null:fe?H:""}n&&De&&U(n.firstChild);const h=rt(ee?s:n);for(;f=h.nextNode();)lt(f)||(f.content instanceof E&&Yt(f.content),ft(f));if(ee)return s;if(q){if(ue)for(A=Ct.call(n.ownerDocument);n.firstChild;)A.appendChild(n.firstChild);else A=n;return(_.shadowroot||_.shadowrootmode)&&(A=wt.call(r,A,!0)),A}let O=Y?n.outerHTML:n.innerHTML;return Y&&d["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(Dt,n.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+n.ownerDocument.doctype.name+`>
|
|
1
|
+
"use strict";var gt=(a,t,i)=>new Promise((r,u)=>{var E=S=>{try{C(i.next(S))}catch(L){u(L)}},D=S=>{try{C(i.throw(S))}catch(L){u(L)}},C=S=>S.done?r(S.value):Promise.resolve(S.value).then(E,D);C((i=i.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./GeneralNavigationBar-Cp-g7VYB.cjs");/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:Rt,setPrototypeOf:dt,isFrozen:jt,getPrototypeOf:Xt,getOwnPropertyDescriptor:Vt}=Object;let{freeze:R,seal:w,create:Lt}=Object,{apply:Fe,construct:He}=typeof Reflect!="undefined"&&Reflect;R||(R=function(t){return t});w||(w=function(t){return t});Fe||(Fe=function(t,i,r){return t.apply(i,r)});He||(He=function(t,i){return new t(...i)});const de=I(Array.prototype.forEach),_t=I(Array.prototype.pop),ie=I(Array.prototype.push),Te=I(String.prototype.toLowerCase),xe=I(String.prototype.toString),Tt=I(String.prototype.match),oe=I(String.prototype.replace),qt=I(String.prototype.indexOf),Kt=I(String.prototype.trim),v=I(Object.prototype.hasOwnProperty),b=I(RegExp.prototype.test),re=Zt(TypeError);function I(a){return function(t){for(var i=arguments.length,r=new Array(i>1?i-1:0),u=1;u<i;u++)r[u-1]=arguments[u];return Fe(a,t,r)}}function Zt(a){return function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return He(a,i)}}function l(a,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Te;dt&&dt(a,null);let r=t.length;for(;r--;){let u=t[r];if(typeof u=="string"){const E=i(u);E!==u&&(jt(t)||(t[r]=E),u=E)}a[u]=!0}return a}function Jt(a){for(let t=0;t<a.length;t++)v(a,t)||(a[t]=null);return a}function j(a){const t=Lt(null);for(const[i,r]of Rt(a))v(a,i)&&(Array.isArray(r)?t[i]=Jt(r):r&&typeof r=="object"&&r.constructor===Object?t[i]=j(r):t[i]=r);return t}function ae(a,t){for(;a!==null;){const r=Vt(a,t);if(r){if(r.get)return I(r.get);if(typeof r.value=="function")return I(r.value)}a=Xt(a)}function i(){return null}return i}const ht=R(["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"]),ve=R(["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"]),Pe=R(["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"]),Qt=R(["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"]),ke=R(["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"]),$t=R(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Et=R(["#text"]),At=R(["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"]),Ue=R(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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"]),St=R(["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"]),_e=R(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=w(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=w(/<%[\w\W]*|[\w\W]*%>/gm),nn=w(/\${[\w\W]*}/gm),on=w(/^data-[\-\w.\u00B7-\uFFFF]/),rn=w(/^aria-[\-\w]+$/),Ot=w(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),an=w(/^(?:\w+script|data):/i),sn=w(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Dt=w(/^html$/i),ln=w(/^[a-z][.\w]*(-[.\w]+)+$/i);var yt=Object.freeze({__proto__:null,MUSTACHE_EXPR:en,ERB_EXPR:tn,TMPLIT_EXPR:nn,DATA_ATTR:on,ARIA_ATTR:rn,IS_ALLOWED_URI:Ot,IS_SCRIPT_OR_DATA:an,ATTR_WHITESPACE:sn,DOCTYPE_NAME:Dt,CUSTOM_ELEMENT:ln});const se={element:1,text:3,progressingInstruction:7,comment:8,document:9},cn=function(){return typeof window=="undefined"?null:window},un=function(t,i){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const u="data-tt-policy-suffix";i&&i.hasAttribute(u)&&(r=i.getAttribute(u));const E="dompurify"+(r?"#"+r:"");try{return t.createPolicy(E,{createHTML(D){return D},createScriptURL(D){return D}})}catch(D){return console.warn("TrustedTypes policy "+E+" could not be created."),null}};function Nt(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn();const t=s=>Nt(s);if(t.version="3.1.6",t.removed=[],!a||!a.document||a.document.nodeType!==se.document)return t.isSupported=!1,t;let{document:i}=a;const r=i,u=r.currentScript,{DocumentFragment:E,HTMLTemplateElement:D,Node:C,Element:S,NodeFilter:L,NamedNodeMap:M=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:P,DOMParser:N,trustedTypes:X}=a,B=S.prototype,he=ae(B,"cloneNode"),Ee=ae(B,"remove"),m=ae(B,"nextSibling"),x=ae(B,"childNodes"),W=ae(B,"parentNode");if(typeof D=="function"){const s=i.createElement("template");s.content&&s.content.ownerDocument&&(i=s.content.ownerDocument)}let g,H="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:Ct,getElementsByTagName:Mt}=i,{importNode:wt}=r;let k={};t.isSupported=typeof Rt=="function"&&typeof W=="function"&&le&&le.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Ae,ERB_EXPR:Se,TMPLIT_EXPR:ye,DATA_ATTR:xt,ARIA_ATTR:vt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:ze,CUSTOM_ELEMENT:kt}=yt;let{IS_ALLOWED_URI:Ge}=yt,d=null;const We=l({},[...ht,...ve,...Pe,...ke,...Et]);let _=null;const Be=l({},[...At,...Ue,...St,..._e]);let p=Object.seal(Lt(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}})),$=null,be=null,Ye=!0,Re=!0,je=!1,Xe=!0,V=!1,Le=!0,Y=!1,Oe=!1,De=!1,q=!1,ue=!1,fe=!1,Ve=!0,qe=!1;const Ut="user-content-";let Ne=!0,ee=!1,K={},Z=null;const Ke=l({},["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 Ze=null;const Je=l({},["audio","video","img","source","image","track"]);let Ie=null;const Qe=l({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",pe="http://www.w3.org/2000/svg",z="http://www.w3.org/1999/xhtml";let J=z,Ce=!1,Me=null;const Ft=l({},[me,pe,z],xe);let te=null;const Ht=["application/xhtml+xml","text/html"],zt="text/html";let T=null,Q=null;const Gt=i.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},we=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Q&&Q===e)){if((!e||typeof e!="object")&&(e={}),e=j(e),te=Ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?zt:e.PARSER_MEDIA_TYPE,T=te==="application/xhtml+xml"?xe:Te,d=v(e,"ALLOWED_TAGS")?l({},e.ALLOWED_TAGS,T):We,_=v(e,"ALLOWED_ATTR")?l({},e.ALLOWED_ATTR,T):Be,Me=v(e,"ALLOWED_NAMESPACES")?l({},e.ALLOWED_NAMESPACES,xe):Ft,Ie=v(e,"ADD_URI_SAFE_ATTR")?l(j(Qe),e.ADD_URI_SAFE_ATTR,T):Qe,Ze=v(e,"ADD_DATA_URI_TAGS")?l(j(Je),e.ADD_DATA_URI_TAGS,T):Je,Z=v(e,"FORBID_CONTENTS")?l({},e.FORBID_CONTENTS,T):Ke,$=v(e,"FORBID_TAGS")?l({},e.FORBID_TAGS,T):{},be=v(e,"FORBID_ATTR")?l({},e.FORBID_ATTR,T):{},K=v(e,"USE_PROFILES")?e.USE_PROFILES:!1,Ye=e.ALLOW_ARIA_ATTR!==!1,Re=e.ALLOW_DATA_ATTR!==!1,je=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Xe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,V=e.SAFE_FOR_TEMPLATES||!1,Le=e.SAFE_FOR_XML!==!1,Y=e.WHOLE_DOCUMENT||!1,q=e.RETURN_DOM||!1,ue=e.RETURN_DOM_FRAGMENT||!1,fe=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,Ve=e.SANITIZE_DOM!==!1,qe=e.SANITIZE_NAMED_PROPS||!1,Ne=e.KEEP_CONTENT!==!1,ee=e.IN_PLACE||!1,Ge=e.ALLOWED_URI_REGEXP||Ot,J=e.NAMESPACE||z,p=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(p.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(p.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(p.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),V&&(Re=!1),ue&&(q=!0),K&&(d=l({},Et),_=[],K.html===!0&&(l(d,ht),l(_,At)),K.svg===!0&&(l(d,ve),l(_,Ue),l(_,_e)),K.svgFilters===!0&&(l(d,Pe),l(_,Ue),l(_,_e)),K.mathMl===!0&&(l(d,ke),l(_,St),l(_,_e))),e.ADD_TAGS&&(d===We&&(d=j(d)),l(d,e.ADD_TAGS,T)),e.ADD_ATTR&&(_===Be&&(_=j(_)),l(_,e.ADD_ATTR,T)),e.ADD_URI_SAFE_ATTR&&l(Ie,e.ADD_URI_SAFE_ATTR,T),e.FORBID_CONTENTS&&(Z===Ke&&(Z=j(Z)),l(Z,e.FORBID_CONTENTS,T)),Ne&&(d["#text"]=!0),Y&&l(d,["html","head","body"]),d.table&&(l(d,["tbody"]),delete $.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw re('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw re('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,H=g.createHTML("")}else g===void 0&&(g=un(X,u)),g!==null&&typeof H=="string"&&(H=g.createHTML(""));R&&R(e),Q=e}},et=l({},["mi","mo","mn","ms","mtext"]),tt=l({},["foreignobject","annotation-xml"]),Wt=l({},["title","style","font","a","script"]),nt=l({},[...ve,...Pe,...Qt]),it=l({},[...ke,...$t]),Bt=function(e){let n=W(e);(!n||!n.tagName)&&(n={namespaceURI:J,tagName:"template"});const o=Te(e.tagName),f=Te(n.tagName);return Me[e.namespaceURI]?e.namespaceURI===pe?n.namespaceURI===z?o==="svg":n.namespaceURI===me?o==="svg"&&(f==="annotation-xml"||et[f]):!!nt[o]:e.namespaceURI===me?n.namespaceURI===z?o==="math":n.namespaceURI===pe?o==="math"&&tt[f]:!!it[o]:e.namespaceURI===z?n.namespaceURI===pe&&!tt[f]||n.namespaceURI===me&&!et[f]?!1:!it[o]&&(Wt[o]||!nt[o]):!!(te==="application/xhtml+xml"&&Me[e.namespaceURI]):!1},U=function(e){ie(t.removed,{element:e});try{W(e).removeChild(e)}catch(n){Ee(e)}},ge=function(e,n){try{ie(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(o){ie(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e==="is"&&!_[e])if(q||ue)try{U(n)}catch(o){}else try{n.setAttribute(e,"")}catch(o){}},ot=function(e){let n=null,o=null;if(De)e="<remove></remove>"+e;else{const h=Tt(e,/^[\r\n\t ]+/);o=h&&h[0]}te==="application/xhtml+xml"&&J===z&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const f=g?g.createHTML(e):e;if(J===z)try{n=new N().parseFromString(f,te)}catch(h){}if(!n||!n.documentElement){n=le.createDocument(J,"template",null);try{n.documentElement.innerHTML=Ce?H:f}catch(h){}}const A=n.body||n.documentElement;return e&&o&&A.insertBefore(i.createTextNode(o),A.childNodes[0]||null),J===z?Mt.call(n,Y?"html":"body")[0]:Y?n.documentElement:A},rt=function(e){return ce.call(e.ownerDocument||e,e,L.SHOW_ELEMENT|L.SHOW_COMMENT|L.SHOW_TEXT|L.SHOW_PROCESSING_INSTRUCTION|L.SHOW_CDATA_SECTION,null)},at=function(e){return e instanceof P&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof M)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},st=function(e){return typeof C=="function"&&e instanceof C},G=function(e,n,o){k[e]&&de(k[e],f=>{f.call(t,n,o,Q)})},lt=function(e){let n=null;if(G("beforeSanitizeElements",e,null),at(e))return U(e),!0;const o=T(e.nodeName);if(G("uponSanitizeElement",e,{tagName:o,allowedTags:d}),e.hasChildNodes()&&!st(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent)||e.nodeType===se.progressingInstruction||Le&&e.nodeType===se.comment&&b(/<[/\w]/g,e.data))return U(e),!0;if(!d[o]||$[o]){if(!$[o]&&ut(o)&&(p.tagNameCheck instanceof RegExp&&b(p.tagNameCheck,o)||p.tagNameCheck instanceof Function&&p.tagNameCheck(o)))return!1;if(Ne&&!Z[o]){const f=W(e)||e.parentNode,A=x(e)||e.childNodes;if(A&&f){const h=A.length;for(let O=h-1;O>=0;--O){const F=he(A[O],!0);F.__removalCount=(e.__removalCount||0)+1,f.insertBefore(F,m(e))}}}return U(e),!0}return e instanceof S&&!Bt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&b(/<\/no(script|embed|frames)/i,e.innerHTML)?(U(e),!0):(V&&e.nodeType===se.text&&(n=e.textContent,de([Ae,Se,ye],f=>{n=oe(n,f," ")}),e.textContent!==n&&(ie(t.removed,{element:e.cloneNode()}),e.textContent=n)),G("afterSanitizeElements",e,null),!1)},ct=function(e,n,o){if(Ve&&(n==="id"||n==="name")&&(o in i||o in Gt))return!1;if(!(Re&&!be[n]&&b(xt,n))){if(!(Ye&&b(vt,n))){if(!_[n]||be[n]){if(!(ut(e)&&(p.tagNameCheck instanceof RegExp&&b(p.tagNameCheck,e)||p.tagNameCheck instanceof Function&&p.tagNameCheck(e))&&(p.attributeNameCheck instanceof RegExp&&b(p.attributeNameCheck,n)||p.attributeNameCheck instanceof Function&&p.attributeNameCheck(n))||n==="is"&&p.allowCustomizedBuiltInElements&&(p.tagNameCheck instanceof RegExp&&b(p.tagNameCheck,o)||p.tagNameCheck instanceof Function&&p.tagNameCheck(o))))return!1}else if(!Ie[n]){if(!b(Ge,oe(o,ze,""))){if(!((n==="src"||n==="xlink:href"||n==="href")&&e!=="script"&&qt(o,"data:")===0&&Ze[e])){if(!(je&&!b(Pt,oe(o,ze,"")))){if(o)return!1}}}}}}return!0},ut=function(e){return e!=="annotation-xml"&&Tt(e,kt)},ft=function(e){G("beforeSanitizeAttributes",e,null);const{attributes:n}=e;if(!n)return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_};let f=n.length;for(;f--;){const A=n[f],{name:h,namespaceURI:O,value:F}=A,ne=T(h);let y=h==="value"?F:Kt(F);if(o.attrName=ne,o.attrValue=y,o.keepAttr=!0,o.forceKeepAttr=void 0,G("uponSanitizeAttribute",e,o),y=o.attrValue,Le&&b(/((--!?|])>)|<\/(style|title)/i,y)){ge(h,e);continue}if(o.forceKeepAttr||(ge(h,e),!o.keepAttr))continue;if(!Xe&&b(/\/>/i,y)){ge(h,e);continue}V&&de([Ae,Se,ye],pt=>{y=oe(y,pt," ")});const mt=T(e.nodeName);if(ct(mt,ne,y)){if(qe&&(ne==="id"||ne==="name")&&(ge(h,e),y=Ut+y),g&&typeof X=="object"&&typeof X.getAttributeType=="function"&&!O)switch(X.getAttributeType(mt,ne)){case"TrustedHTML":{y=g.createHTML(y);break}case"TrustedScriptURL":{y=g.createScriptURL(y);break}}try{O?e.setAttributeNS(O,h,y):e.setAttribute(h,y),at(e)?U(e):_t(t.removed)}catch(pt){}}}G("afterSanitizeAttributes",e,null)},Yt=function s(e){let n=null;const o=rt(e);for(G("beforeSanitizeShadowDOM",e,null);n=o.nextNode();)G("uponSanitizeShadowNode",n,null),!lt(n)&&(n.content instanceof E&&s(n.content),ft(n));G("afterSanitizeShadowDOM",e,null)};return t.sanitize=function(s){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=null,o=null,f=null,A=null;if(Ce=!s,Ce&&(s="<!-->"),typeof s!="string"&&!st(s))if(typeof s.toString=="function"){if(s=s.toString(),typeof s!="string")throw re("dirty is not a string, aborting")}else throw re("toString is not a function");if(!t.isSupported)return s;if(Oe||we(e),t.removed=[],typeof s=="string"&&(ee=!1),ee){if(s.nodeName){const F=T(s.nodeName);if(!d[F]||$[F])throw re("root node is forbidden and cannot be sanitized in-place")}}else if(s instanceof C)n=ot("<!---->"),o=n.ownerDocument.importNode(s,!0),o.nodeType===se.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?n=o:n.appendChild(o);else{if(!q&&!V&&!Y&&s.indexOf("<")===-1)return g&&fe?g.createHTML(s):s;if(n=ot(s),!n)return q?null:fe?H:""}n&&De&&U(n.firstChild);const h=rt(ee?s:n);for(;f=h.nextNode();)lt(f)||(f.content instanceof E&&Yt(f.content),ft(f));if(ee)return s;if(q){if(ue)for(A=Ct.call(n.ownerDocument);n.firstChild;)A.appendChild(n.firstChild);else A=n;return(_.shadowroot||_.shadowrootmode)&&(A=wt.call(r,A,!0)),A}let O=Y?n.outerHTML:n.innerHTML;return Y&&d["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(Dt,n.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+n.ownerDocument.doctype.name+`>
|
|
2
2
|
`+O),V&&de([Ae,Se,ye],F=>{O=oe(O,F," ")}),g&&fe?g.createHTML(O):O},t.setConfig=function(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};we(s),Oe=!0},t.clearConfig=function(){Q=null,Oe=!1},t.isValidAttribute=function(s,e,n){Q||we({});const o=T(s),f=T(e);return ct(o,f,n)},t.addHook=function(s,e){typeof e=="function"&&(k[s]=k[s]||[],ie(k[s],e))},t.removeHook=function(s){if(k[s])return _t(k[s])},t.removeHooks=function(s){k[s]&&(k[s]=[])},t.removeAllHooks=function(){k={}},t}var fn=Nt();function mn(a){c.append_styles(a,"svelte-88v9np",".InlineSvgContainer{display:inline-flex}")}function bt(a){let t,i;return{c(){t=c.element("img"),c.src_url_equal(t.src,i=a[0])||c.attr(t,"src",i),c.attr(t,"class",a[1]),c.attr(t,"alt",a[2])},m(r,u){c.insert(r,t,u)},p(r,u){u&1&&!c.src_url_equal(t.src,i=r[0])&&c.attr(t,"src",i),u&2&&c.attr(t,"class",r[1]),u&4&&c.attr(t,"alt",r[2])},d(r){r&&c.detach(t)}}}function pn(a){let t,i=a[4]&&bt(a);return{c(){t=c.element("span"),i&&i.c(),c.attr(t,"class","InlineSvgContainer"),c.attr(t,"part","svg-container")},m(r,u){c.insert(r,t,u),i&&i.m(t,null),a[8](t)},p(r,[u]){r[4]?i?i.p(r,u):(i=bt(r),i.c(),i.m(t,null)):i&&(i.d(1),i=null)},i:c.noop,o:c.noop,d(r){r&&c.detach(t),i&&i.d(),a[8](null)}}}function gn(a,t,i){let{src:r}=t,{className:u=""}=t,{ariaLabel:E=""}=t,{clientstyling:D=""}=t,{clientstylingurl:C=""}=t,{mbsource:S}=t,L=!1,M=null,P,N,X;function B(m){return gt(this,null,function*(){if(m){if(i(4,L=!1),P==null||P.abort(),P=new AbortController,!m.toLowerCase().endsWith(".svg")){i(4,L=!0);return}try{const x=yield fetch(m,{signal:P.signal});if(!x.ok)throw new Error("Fetch failed");const W=yield x.text(),g=fn.sanitize(W,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["foreignObject"],FORBID_ATTR:["onload","onerror","onclick","onmouseover"]}),ce=new DOMParser().parseFromString(g,"image/svg+xml").querySelector("svg");if(!ce)throw new Error("No SVG element found");if(M=ce,E?(M.setAttribute("role","img"),M.setAttribute("aria-label",E)):M.setAttribute("aria-hidden","true"),M.setAttribute("part","svg-icon"),!N)return;N.replaceChildren(M)}catch(x){if(x.name==="AbortError")return;console.error("Inline SVG error:",x),i(4,L=!0)}}})}function he(m){var g,H;if(!M)return;const x=(g=m==null?void 0:m.trim())!=null?g:"",W=(H=M.getAttribute("class"))!=null?H:"";x!==W&&(x?M.setAttribute("class",x):M.removeAttribute("class"))}c.onMount(()=>()=>{}),c.onDestroy(()=>{P==null||P.abort()});function Ee(m){c.binding_callbacks[m?"unshift":"push"](()=>{N=m,i(3,N)})}return a.$$set=m=>{"src"in m&&i(0,r=m.src),"className"in m&&i(1,u=m.className),"ariaLabel"in m&&i(2,E=m.ariaLabel),"clientstyling"in m&&i(5,D=m.clientstyling),"clientstylingurl"in m&&i(6,C=m.clientstylingurl),"mbsource"in m&&i(7,S=m.mbsource)},a.$$.update=()=>{a.$$.dirty&1&&r&&B(r),a.$$.dirty&2&&he(u),a.$$.dirty&40&&D&&N&&c.setClientStyling(N,D),a.$$.dirty&72&&C&&N&&c.setClientStylingURL(N,C),a.$$.dirty&136&&S&&N&&c.setStreamStyling(N,`${S}.Style`,X)},[r,u,E,N,L,D,C,S,Ee]}class It extends c.SvelteComponent{constructor(t){super(),c.init(this,t,gn,pn,c.safe_not_equal,{src:0,className:1,ariaLabel:2,clientstyling:5,clientstylingurl:6,mbsource:7},mn)}get src(){return this.$$.ctx[0]}set src(t){this.$$set({src:t}),c.flush()}get className(){return this.$$.ctx[1]}set className(t){this.$$set({className:t}),c.flush()}get ariaLabel(){return this.$$.ctx[2]}set ariaLabel(t){this.$$set({ariaLabel:t}),c.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),c.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),c.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),c.flush()}}c.create_custom_element(It,{src:{},className:{},ariaLabel:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=It;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as Kt, i as Zt, f as $, s as Jt, c as Qt, a as $t, n as dt, d as Ot, b as Nt, e as Dt, g as H, o as en, h as tn, j as _t, k as nn, l as on, m as rn, p as an } from "./GeneralNavigationBar-
|
|
1
|
+
import { S as Kt, i as Zt, f as $, s as Jt, c as Qt, a as $t, n as dt, d as Ot, b as Nt, e as Dt, g as H, o as en, h as tn, j as _t, k as nn, l as on, m as rn, p as an } from "./GeneralNavigationBar-C-cp1KVV.js";
|
|
2
2
|
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
|
|
3
3
|
const {
|
|
4
4
|
entries: Ct,
|
|
@@ -14,7 +14,7 @@ var dt = (a, t, i) => new Promise((r, c) => {
|
|
|
14
14
|
}, I = (A) => A.done ? r(A.value) : Promise.resolve(A.value).then(h, O);
|
|
15
15
|
I((i = i.apply(a, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { S as Zt, i as Jt, s as Qt, f as $, a as $t, n as _t, d as Dt, b as Nt, e as It, c as W, o as en, g as tn, h as Tt, j as nn, k as on, l as rn, m as an, p as sn } from "./GeneralNavigationBar-
|
|
17
|
+
import { S as Zt, i as Jt, s as Qt, f as $, a as $t, n as _t, d as Dt, b as Nt, e as It, c as W, o as en, g as tn, h as Tt, j as nn, k as on, l as rn, m as an, p as sn } from "./GeneralNavigationBar-CI2pPGZn.js";
|
|
18
18
|
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
|
|
19
19
|
const {
|
|
20
20
|
entries: Ct,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...i){try{return e.apply(this,i)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralNavigationBar-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...i){try{return e.apply(this,i)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralNavigationBar-Cp-g7VYB.cjs")).then(e=>e.GeneralNavigationBar_ce).then(({default:e})=>{!customElements.get("general-navigation-bar")&&customElements.define("general-navigation-bar",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/GeneralNavigationBar-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/GeneralNavigationBar-CI2pPGZn.js").then((e) => e.G).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("general-navigation-bar") && customElements.define("general-navigation-bar", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|