@loomweaver/frame-kit 0.9.0-preview.5 → 0.9.0-preview.7
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/dist/lw-elements.global.js +16 -16
- package/dist/lw-frame.css +1 -1
- package/dist/lw-frame.d.ts +1 -1
- package/dist/penpal.global.js +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* @loomweaver/frame-kit 0.9.0-preview.
|
|
2
|
-
"use strict";(()=>{function b(o,t){let e=o;if(Object.hasOwn(o,t)){let r=e[t];delete e[t],e[t]=r}}function C(o,t,e){e==null?o.removeAttribute(t):o.setAttribute(t,e)}function Jo(o,t,e){let r=["lw-btn",`lw-btn--${o}`];return t==="sm"&&r.push("lw-btn--sm"),e&&r.push("lw-btn--icon"),r}var tr="lw-button",Ue=class extends HTMLElement{static observedAttributes=["variant","size","icon-only","disabled"];get variant(){return this.getAttribute("variant")??"default"}set variant(t){C(this,"variant",t)}get size(){return this.getAttribute("size")??"md"}set size(t){C(this,"size",t)}get iconOnly(){return this.hasAttribute("icon-only")}set iconOnly(t){this.toggleAttribute("icon-only",t)}get disabled(){return this.hasAttribute("disabled")}set disabled(t){this.toggleAttribute("disabled",t)}connectedCallback(){b(this,"variant"),b(this,"size"),b(this,"iconOnly"),b(this,"disabled"),this.setAttribute("role","button"),this.addEventListener("keydown",this.onKeydown),this.render()}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown)}attributeChangedCallback(){this.isConnected&&this.render()}onKeydown=t=>{!(t.key==="Enter"||t.key===" ")||this.disabled||(t.preventDefault(),this.click())};render(){let t=[...this.classList].filter(e=>e.startsWith("lw-btn"));this.classList.remove(...t),this.classList.add(...Jo(this.variant,this.size,this.iconOnly)),this.setAttribute("aria-disabled",String(this.disabled)),this.tabIndex=this.disabled?-1:0}};function er(){typeof customElements<"u"&&!customElements.get(tr)&&customElements.define(tr,Ue)}function or(o,t){(t==null||t>o.length)&&(t=o.length);for(var e=0,r=Array(t);e<t;e++)r[e]=o[e];return r}function _0(o){if(Array.isArray(o))return o}function b0(o,t){var e=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(e!=null){var r,n,s,c,a=[],d=!0,p=!1;try{if(s=(e=e.call(o)).next,t!==0)for(;!(d=(r=s.call(e)).done)&&(a.push(r.value),a.length!==t);d=!0);}catch(m){p=!0,n=m}finally{try{if(!d&&e.return!=null&&(c=e.return(),Object(c)!==c))return}finally{if(p)throw n}}return a}}function
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function M0(o,t){return _0(o)||b0(o,t)||A0(o,t)||y0()}function A0(o,t){if(o){if(typeof o=="string")return or(o,t);var e={}.toString.call(o).slice(8,-1);return e==="Object"&&o.constructor&&(e=o.constructor.name),e==="Map"||e==="Set"?Array.from(o):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?or(o,t):void 0}}var mr=Object.entries,rr=Object.setPrototypeOf,C0=Object.isFrozen,T0=Object.getPrototypeOf,E0=Object.getOwnPropertyDescriptor,O=Object.freeze,P=Object.seal,Bt=Object.create,kr=typeof Reflect<"u"&&Reflect,Ye=kr.apply,Ke=kr.construct;O||(O=function(t){return t});P||(P=function(t){return t});Ye||(Ye=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];return t.apply(e,n)});Ke||(Ke=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return new t(...r)});var Lt=R(Array.prototype.forEach),L0=R(Array.prototype.lastIndexOf),nr=R(Array.prototype.pop),St=R(Array.prototype.push),S0=R(Array.prototype.splice),dt=Array.isArray,Ut=R(String.prototype.toLowerCase),$e=R(String.prototype.toString),ir=R(String.prototype.match),Nt=R(String.prototype.replace),sr=R(String.prototype.indexOf),B0=R(String.prototype.trim),H0=R(Number.prototype.toString),R0=R(Boolean.prototype.toString),ar=typeof BigInt>"u"?null:R(BigInt.prototype.toString),lr=typeof Symbol>"u"?null:R(Symbol.prototype.toString),Z=R(Object.prototype.hasOwnProperty),zt=R(Object.prototype.toString),j=R(RegExp.prototype.test),mt=j0(TypeError);function R(o){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return Ye(o,t,r)}}function j0(o){return function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Ke(o,e)}}function _(o,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ut;if(rr&&rr(o,null),!dt(t))return o;let r=t.length;for(;r--;){let n=t[r];if(typeof n=="string"){let s=e(n);s!==n&&(C0(t)||(t[r]=s),n=s)}o[n]=!0}return o}function Z0(o){for(let t=0;t<o.length;t++)Z(o,t)||(o[t]=null);return o}function D(o){let t=Bt(null);for(let r of mr(o)){var e=M0(r,2);let n=e[0],s=e[1];Z(o,n)&&(dt(s)?t[n]=Z0(s):s&&typeof s=="object"&&s.constructor===Object?t[n]=D(s):t[n]=s)}return t}function V0(o){switch(typeof o){case"string":return o;case"number":return H0(o);case"boolean":return R0(o);case"bigint":return ar?ar(o):"0";case"symbol":return lr?lr(o):"Symbol()";case"undefined":return zt(o);case"function":case"object":{if(o===null)return zt(o);let t=o,e=K(t,"toString");if(typeof e=="function"){let r=e(t);return typeof r=="string"?r:zt(r)}return zt(o)}default:return zt(o)}}function K(o,t){for(;o!==null;){let r=E0(o,t);if(r){if(r.get)return R(r.get);if(typeof r.value=="function")return R(r.value)}o=T0(o)}function e(){return null}return e}function I0(o){try{return j(o,""),!0}catch{return!1}}var cr=O(["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"]),Fe=O(["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"]),Ge=O(["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"]),O0=O(["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"]),We=O(["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"]),P0=O(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),hr=O(["#text"]),dr=O(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","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"]),qe=O(["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","dominant-baseline","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-orientation","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"]),ur=O(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),le=O(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),D0=P(/{{[\w\W]*|^[\w\W]*}}/g),N0=P(/<%[\w\W]*|^[\w\W]*%>/g),z0=P(/\${[\w\W]*/g),U0=P(/^data-[\-\w.\u00B7-\uFFFF]+$/),$0=P(/^aria-[\-\w]+$/),pr=P(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F0=P(/^(?:\w+script|data):/i),G0=P(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W0=P(/^html$/i),q0=P(/^[a-z][.\w]*(-[.\w]+)+$/i),wr=P(/<[/\w!]/g),gr=P(/<[/\w]/g),Y0=P(/<\/no(script|embed|frames)/i),K0=P(/\/>/i),W={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},X0=function(){return typeof window>"u"?null:window},Q0=function(t,e){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null,n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));let s="dompurify"+(r?"#"+r:"");try{return t.createPolicy(s,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},vr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ht=function(t,e,r,n){return Z(t,e)&&dt(t[e])?_(n.base?D(n.base):{},t[e],n.transform):r};function fr(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:X0(),t=u=>fr(u);if(t.version="3.4.13",t.removed=[],!o||!o.document||o.document.nodeType!==W.document||!o.Element)return t.isSupported=!1,t;let e=o.document,r=e,n=r.currentScript;o.DocumentFragment;let s=o.HTMLTemplateElement,c=o.Node,a=o.Element,d=o.NodeFilter,p=o.NamedNodeMap;p===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;let m=o.DOMParser,v=o.trustedTypes,k=a.prototype,V=K(k,"cloneNode"),y=K(k,"remove"),q=K(k,"nextSibling"),Y=K(k,"childNodes"),J=K(k,"parentNode"),jt=K(k,"shadowRoot"),Zt=K(k,"attributes"),I=c&&c.prototype?K(c.prototype,"nodeType"):null,U=c&&c.prototype?K(c.prototype,"nodeName"):null,tt=c&&c.prototype?K(c.prototype,"ownerDocument"):null;if(typeof s=="function"){let u=e.createElement("template");u.content&&u.content.ownerDocument&&(e=u.content.ownerDocument)}let $,wt="",Ae,Co=!1,Vt=0,To=function(){if(Vt>0)throw mt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},yt=function(i){To(),Vt++;try{return $.createHTML(i)}finally{Vt--}},Wn=function(i){To(),Vt++;try{return $.createScriptURL(i)}finally{Vt--}},qn=function(){return Co||(Ae=Q0(v,n),Co=!0),Ae},Kt=e,Ce=Kt.implementation,Eo=Kt.createNodeIterator,Yn=Kt.createDocumentFragment,Kn=Kt.getElementsByTagName,Xn=r.importNode,T=vr();t.isSupported=typeof mr=="function"&&typeof J=="function"&&Ce&&Ce.createHTMLDocument!==void 0;let Qn=D0,Jn=N0,t0=z0,e0=U0,o0=$0,r0=F0,Lo=G0,n0=q0,So=pr,E=null,Te=_({},[...cr,...Fe,...Ge,...We,...hr]),L=null,Ee=_({},[...dr,...qe,...ur,...le]),H=Object.seal(Bt(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}})),It=null,Bo=null,st=Object.seal(Bt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Ho=!0,Le=!0,Ro=!1,jo=!0,at=!1,lt=!0,gt=!1,Se=!1,Xt=null,Qt=null,Be=!1,Mt=!1,Jt=!1,te=!1,Zo=!0,Vo=!1,Io="user-content-",He=!0,ee=!1,At={},et=null,Re=_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),Oo=null,Po=_({},["audio","video","img","source","image","track"]),je=null,Do=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),oe="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml",Ct=ot,Ze=!1,Ve=null,i0=_({},[oe,re,ot],$e),No=O(["mi","mo","mn","ms","mtext"]),Ie=_({},No),zo=O(["annotation-xml"]),Oe=_({},zo),s0=_({},["title","style","font","a","script"]),Ot=null,a0=["application/xhtml+xml","text/html"],l0="text/html",S=null,Tt=null,c0=e.createElement("form"),Uo=function(i){return i instanceof RegExp||i instanceof Function},Pe=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Tt&&Tt===i)return;(!i||typeof i!="object")&&(i={}),i=D(i),Ot=a0.indexOf(i.PARSER_MEDIA_TYPE)===-1?l0:i.PARSER_MEDIA_TYPE,S=Ot==="application/xhtml+xml"?$e:Ut,E=ht(i,"ALLOWED_TAGS",Te,{transform:S}),L=ht(i,"ALLOWED_ATTR",Ee,{transform:S}),Ve=ht(i,"ALLOWED_NAMESPACES",i0,{transform:$e}),je=ht(i,"ADD_URI_SAFE_ATTR",Do,{transform:S,base:Do}),Oo=ht(i,"ADD_DATA_URI_TAGS",Po,{transform:S,base:Po}),et=ht(i,"FORBID_CONTENTS",Re,{transform:S}),It=ht(i,"FORBID_TAGS",D({}),{transform:S}),Bo=ht(i,"FORBID_ATTR",D({}),{transform:S}),At=Z(i,"USE_PROFILES")?i.USE_PROFILES&&typeof i.USE_PROFILES=="object"?D(i.USE_PROFILES):i.USE_PROFILES:!1,Ho=i.ALLOW_ARIA_ATTR!==!1,Le=i.ALLOW_DATA_ATTR!==!1,Ro=i.ALLOW_UNKNOWN_PROTOCOLS||!1,jo=i.ALLOW_SELF_CLOSE_IN_ATTR!==!1,at=i.SAFE_FOR_TEMPLATES||!1,lt=i.SAFE_FOR_XML!==!1,gt=i.WHOLE_DOCUMENT||!1,Mt=i.RETURN_DOM||!1,Jt=i.RETURN_DOM_FRAGMENT||!1,te=i.RETURN_TRUSTED_TYPE||!1,Be=i.FORCE_BODY||!1,Zo=i.SANITIZE_DOM!==!1,Vo=i.SANITIZE_NAMED_PROPS||!1,He=i.KEEP_CONTENT!==!1,ee=i.IN_PLACE||!1,So=I0(i.ALLOWED_URI_REGEXP)?i.ALLOWED_URI_REGEXP:pr,Ct=typeof i.NAMESPACE=="string"?i.NAMESPACE:ot,Ie=Z(i,"MATHML_TEXT_INTEGRATION_POINTS")&&i.MATHML_TEXT_INTEGRATION_POINTS&&typeof i.MATHML_TEXT_INTEGRATION_POINTS=="object"?D(i.MATHML_TEXT_INTEGRATION_POINTS):_({},No),Oe=Z(i,"HTML_INTEGRATION_POINTS")&&i.HTML_INTEGRATION_POINTS&&typeof i.HTML_INTEGRATION_POINTS=="object"?D(i.HTML_INTEGRATION_POINTS):_({},zo);let l=Z(i,"CUSTOM_ELEMENT_HANDLING")&&i.CUSTOM_ELEMENT_HANDLING&&typeof i.CUSTOM_ELEMENT_HANDLING=="object"?D(i.CUSTOM_ELEMENT_HANDLING):Bt(null);if(H=Bt(null),Z(l,"tagNameCheck")&&Uo(l.tagNameCheck)&&(H.tagNameCheck=l.tagNameCheck),Z(l,"attributeNameCheck")&&Uo(l.attributeNameCheck)&&(H.attributeNameCheck=l.attributeNameCheck),Z(l,"allowCustomizedBuiltInElements")&&typeof l.allowCustomizedBuiltInElements=="boolean"&&(H.allowCustomizedBuiltInElements=l.allowCustomizedBuiltInElements),P(H),at&&(Le=!1),Jt&&(Mt=!0),At&&(E=_({},hr),L=Bt(null),At.html===!0&&(_(E,cr),_(L,dr)),At.svg===!0&&(_(E,Fe),_(L,qe),_(L,le)),At.svgFilters===!0&&(_(E,Ge),_(L,qe),_(L,le)),At.mathMl===!0&&(_(E,We),_(L,ur),_(L,le))),st.tagCheck=null,st.attributeCheck=null,Z(i,"ADD_TAGS")&&(typeof i.ADD_TAGS=="function"?st.tagCheck=i.ADD_TAGS:dt(i.ADD_TAGS)&&(E===Te&&(E=D(E)),_(E,i.ADD_TAGS,S))),Z(i,"ADD_ATTR")&&(typeof i.ADD_ATTR=="function"?st.attributeCheck=i.ADD_ATTR:dt(i.ADD_ATTR)&&(L===Ee&&(L=D(L)),_(L,i.ADD_ATTR,S))),Z(i,"ADD_URI_SAFE_ATTR")&&dt(i.ADD_URI_SAFE_ATTR)&&_(je,i.ADD_URI_SAFE_ATTR,S),Z(i,"FORBID_CONTENTS")&&dt(i.FORBID_CONTENTS)&&(et===Re&&(et=D(et)),_(et,i.FORBID_CONTENTS,S)),Z(i,"ADD_FORBID_CONTENTS")&&dt(i.ADD_FORBID_CONTENTS)&&(et===Re&&(et=D(et)),_(et,i.ADD_FORBID_CONTENTS,S)),He&&(E["#text"]=!0),gt&&_(E,["html","head","body"]),E.table&&(_(E,["tbody"]),delete It.tbody),i.TRUSTED_TYPES_POLICY){if(typeof i.TRUSTED_TYPES_POLICY.createHTML!="function")throw mt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof i.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw mt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let h=$;$=i.TRUSTED_TYPES_POLICY;try{wt=yt("")}catch(w){throw $=h,w}}else i.TRUSTED_TYPES_POLICY===null?($=void 0,wt=""):($===void 0&&($=qn()),$&&typeof wt=="string"&&(wt=yt("")));O&&O(i),Tt=i},$o=_({},[...Fe,...Ge,...O0]),Fo=_({},[...We,...P0]),h0=function(i,l,h){return l.namespaceURI===ot?i==="svg":l.namespaceURI===oe?i==="svg"&&(h==="annotation-xml"||Ie[h]):!!$o[i]},d0=function(i,l,h){return l.namespaceURI===ot?i==="math":l.namespaceURI===re?i==="math"&&Oe[h]:!!Fo[i]},u0=function(i,l,h){return l.namespaceURI===re&&!Oe[h]||l.namespaceURI===oe&&!Ie[h]?!1:!Fo[i]&&(s0[i]||!$o[i])},p0=function(i){let l=J(i);(!l||!l.tagName)&&(l={namespaceURI:Ct,tagName:"template"});let h=Ut(i.tagName),w=Ut(l.tagName);return Ve[i.namespaceURI]?i.namespaceURI===re?h0(h,l,w):i.namespaceURI===oe?d0(h,l,w):i.namespaceURI===ot?u0(h,l,w):!!(Ot==="application/xhtml+xml"&&Ve[i.namespaceURI]):!1},ct=function(i){St(t.removed,{element:i});try{J(i).removeChild(i)}catch{if(y(i),!J(i))throw mt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ne=function(i){Pt(i);let l=Y(i);if(l){let w=[];Lt(l,g=>{St(w,g)}),Lt(w,g=>{try{y(g)}catch{}})}let h=Zt(i);if(h)for(let w=h.length-1;w>=0;--w){let g=h[w],f=g&&g.name;if(typeof f=="string")try{i.removeAttribute(f)}catch{}}},vt=function(i,l){try{St(t.removed,{attribute:l.getAttributeNode(i),from:l})}catch{St(t.removed,{attribute:null,from:l})}if(l.removeAttribute(i),i==="is")if(Mt||Jt)try{ct(l)}catch{}else try{l.setAttribute(i,"")}catch{}},w0=function(i){let l=Zt(i);if(l)for(let h=l.length-1;h>=0;--h){let w=l[h],g=w&&w.name;if(!(typeof g!="string"||L[S(g)]))try{i.removeAttribute(g)}catch{}}},Pt=function(i){let l=[i];for(;l.length>0;){let h=l.pop();(I?I(h):h.nodeType)===W.element&&w0(h);let g=Y(h);if(g)for(let f=g.length-1;f>=0;--f)l.push(g[f])}},g0=function(i){if(!lt)return;let l=[i];for(;l.length>0;){let h=l.pop(),w=I?I(h):h.nodeType;if(w===W.processingInstruction||w===W.comment&&j(gr,h.data)){try{y(h)}catch{}continue}if(w===W.element){let f=h,A=S(U?U(h):h.nodeName);try{f.hasAttribute&&f.hasAttribute("patchsrc")&&f.removeAttribute("patchsrc"),f.hasAttribute&&f.hasAttribute("for")&&A!=="label"&&A!=="output"&&f.removeAttribute("for")}catch{}}let g=Y(h);if(g)for(let f=g.length-1;f>=0;--f)l.push(g[f])}},Go=function(i){let l=null,h=null;if(Be)i="<remove></remove>"+i;else{let f=ir(i,/^[\r\n\t ]+/);h=f&&f[0]}Ot==="application/xhtml+xml"&&Ct===ot&&(i='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+i+"</body></html>");let w=$?yt(i):i;if(Ct===ot)try{l=new m().parseFromString(w,Ot)}catch{}if(!l||!l.documentElement){l=Ce.createDocument(Ct,"template",null);try{l.documentElement.innerHTML=Ze?wt:w}catch{}}let g=l.body||l.documentElement;return i&&h&&g.insertBefore(e.createTextNode(h),g.childNodes[0]||null),Ct===ot?Kn.call(l,gt?"html":"body")[0]:gt?l.documentElement:g},Wo=function(i){let l=tt?tt(i):i.ownerDocument;return Eo.call(l||i,i,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},ie=function(i){return i=Nt(i,Qn," "),i=Nt(i,Jn," "),i=Nt(i,t0," "),i},De=function(i){var l;i.normalize();let h=tt?tt(i):i.ownerDocument,w=Eo.call(h||i,i,d.SHOW_TEXT|d.SHOW_COMMENT|d.SHOW_CDATA_SECTION|d.SHOW_PROCESSING_INSTRUCTION,null),g=w.nextNode();for(;g;)g.data=ie(g.data),g=w.nextNode();let f=(l=i.querySelectorAll)===null||l===void 0?void 0:l.call(i,"template");f&&Lt(f,A=>{Et(A.content)&&De(A.content)})},se=function(i){let l=U?U(i):null;return typeof l!="string"||S(l)!=="form"?!1:typeof i.nodeName!="string"||typeof i.textContent!="string"||typeof i.removeChild!="function"||i.attributes!==Zt(i)||typeof i.removeAttribute!="function"||typeof i.setAttribute!="function"||typeof i.namespaceURI!="string"||typeof i.insertBefore!="function"||typeof i.hasChildNodes!="function"||i.nodeType!==I(i)||i.childNodes!==Y(i)},Et=function(i){if(!I||typeof i!="object"||i===null)return!1;try{return I(i)===W.documentFragment}catch{return!1}},Dt=function(i){if(!I||typeof i!="object"||i===null)return!1;try{return typeof I(i)=="number"}catch{return!1}};function rt(u,i,l){u.length!==0&&Lt(u,h=>{h.call(t,i,l,Tt)})}let v0=function(i,l){return!!(lt&&i.hasChildNodes()&&!Dt(i.firstElementChild)&&j(wr,i.textContent)&&j(wr,i.innerHTML)||lt&&i.namespaceURI===ot&&l==="style"&&Dt(i.firstElementChild)||i.nodeType===W.processingInstruction||lt&&i.nodeType===W.comment&&j(gr,i.data))},m0=function(i,l,h){if(!It[l]&&Xo(l)&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,l)||H.tagNameCheck instanceof Function&&H.tagNameCheck(l)))return!1;if(He&&!et[l]){let w=J(i),g=Y(i);if(g&&w){let f=g.length;for(let A=f-1;A>=0;--A){let B=i===h?V(g[A],!0):g[A];w.insertBefore(B,q(i))}}}return ct(i),!0},qo=function(i,l,h,w){return i.length===0?l:l===h||l===w?D(l):l},Yo=function(i,l){if(rt(T.beforeSanitizeElements,i,null),i!==l&&J(i)===null)return ee&&Pt(i),!0;if(se(i))return ct(i),!0;let h=S(U?U(i):i.nodeName);if(E=qo(T.uponSanitizeElement,E,Te,Xt),rt(T.uponSanitizeElement,i,{tagName:h,allowedTags:E}),i!==l&&J(i)===null)return ee&&Pt(i),!0;if(v0(i,h))return ct(i),!0;if(It[h]||!(st.tagCheck instanceof Function&&st.tagCheck(h))&&!E[h]){let g=m0(i,h,l);return g===!1&&rt(T.afterSanitizeElements,i,null),g}if((I?I(i):i.nodeType)===W.element&&!p0(i)||(h==="noscript"||h==="noembed"||h==="noframes")&&j(Y0,i.innerHTML))return ct(i),!0;if(at&&i.nodeType===W.text){let g=ie(i.textContent);i.textContent!==g&&(St(t.removed,{element:i.cloneNode()}),i.textContent=g)}return rt(T.afterSanitizeElements,i,null),!1},Ko=function(i,l,h){if(Bo[l]||lt&&l==="patchsrc"||lt&&l==="for"&&i!=="label"&&i!=="output"||Zo&&(l==="id"||l==="name")&&(h in e||h in c0))return!1;let w=L[l]||st.attributeCheck instanceof Function&&st.attributeCheck(l,i);if(!(Le&&j(e0,l))){if(!(Ho&&j(o0,l))){if(w){if(!je[l]){if(!j(So,Nt(h,Lo,""))){if(!((l==="src"||l==="xlink:href"||l==="href")&&i!=="script"&&sr(h,"data:")===0&&Oo[i])){if(!(Ro&&!j(r0,Nt(h,Lo,"")))){if(h)return!1}}}}}else if(!(Xo(i)&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,i)||H.tagNameCheck instanceof Function&&H.tagNameCheck(i))&&(H.attributeNameCheck instanceof RegExp&&j(H.attributeNameCheck,l)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(l,i))||l==="is"&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,h)||H.tagNameCheck instanceof Function&&H.tagNameCheck(h))))return!1}}return!0},k0=_({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Xo=function(i){return!k0[Ut(i)]&&j(n0,i)},f0=function(i,l,h,w){if($&&typeof v=="object"&&typeof v.getAttributeType=="function"&&!h)switch(v.getAttributeType(i,l)){case"TrustedHTML":return yt(w);case"TrustedScriptURL":return Wn(w)}return w},x0=function(i,l,h,w){try{h?i.setAttributeNS(h,l,w):i.setAttribute(l,w),se(i)?ct(i):nr(t.removed)}catch{vt(l,i)}},Qo=function(i){rt(T.beforeSanitizeAttributes,i,null);let l=i.attributes;if(!l||se(i))return;L=qo(T.uponSanitizeAttribute,L,Ee,Qt);let h={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0},w=l.length,g=S(i.nodeName);for(;w--;){let f=l[w],A=f.name,B=f.namespaceURI,F=f.value,G=S(A),ze=F,z=A==="value"?ze:B0(ze);if(h.attrName=G,h.attrValue=z,h.keepAttr=!0,h.forceKeepAttr=void 0,rt(T.uponSanitizeAttribute,i,h),z=h.attrValue,Vo&&(G==="id"||G==="name")&&sr(z,Io)!==0&&(vt(A,i),z=Io+z),lt&&j(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,z)){vt(A,i);continue}if(G==="attributename"&&ir(z,"href")){vt(A,i);continue}if(!h.forceKeepAttr){if(!h.keepAttr){vt(A,i);continue}if(!jo&&j(K0,z)){vt(A,i);continue}if(at&&(z=ie(z)),!Ko(g,G,z)){vt(A,i);continue}z=f0(g,G,B,z),z!==ze&&x0(i,A,B,z)}}rt(T.afterSanitizeAttributes,i,null)},ae=function(i){let l=null,h=Wo(i);for(rt(T.beforeSanitizeShadowDOM,i,null);l=h.nextNode();)if(rt(T.uponSanitizeShadowNode,l,null),Yo(l,i),Qo(l),Et(l.content)&&ae(l.content),(I?I(l):l.nodeType)===W.element){let g=jt(l);Et(g)&&(Ne(g),ae(g))}rt(T.afterSanitizeShadowDOM,i,null)},Ne=function(i){let l=[{node:i,shadow:null}];for(;l.length>0;){let h=l.pop();if(h.shadow){ae(h.shadow);continue}let w=h.node,f=(I?I(w):w.nodeType)===W.element,A=Y(w);if(A)for(let B=A.length-1;B>=0;--B)l.push({node:A[B],shadow:null});if(f){let B=U?U(w):null;if(typeof B=="string"&&S(B)==="template"){let F=w.content;Et(F)&&l.push({node:F,shadow:null})}}if(f){let B=jt(w);Et(B)&&l.push({node:null,shadow:B},{node:B,shadow:null})}}};return t.sanitize=function(u){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=null,h=null,w=null,g=null;if(Ze=!u,Ze&&(u="<!-->"),typeof u!="string"&&!Dt(u)&&(u=V0(u),typeof u!="string"))throw mt("dirty is not a string, aborting");if(!t.isSupported)return u;Se?(E=Xt,L=Qt):Pe(i),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(E=D(E)),T.uponSanitizeAttribute.length>0&&(L=D(L)),t.removed=[];let f=ee&&typeof u!="string"&&Dt(u);if(f){g0(u);let F=U?U(u):u.nodeName;if(typeof F=="string"){let G=S(F);if(!E[G]||It[G])throw ne(u),mt("root node is forbidden and cannot be sanitized in-place")}if(se(u))throw ne(u),mt("root node is clobbered and cannot be sanitized in-place");try{Ne(u)}catch(G){throw ne(u),G}}else if(Dt(u))l=Go("<!---->"),h=l.ownerDocument.importNode(u,!0),h.nodeType===W.element&&h.nodeName==="BODY"||h.nodeName==="HTML"?l=h:l.appendChild(h),Ne(h);else{if(!Mt&&!at&&!gt&&u.indexOf("<")===-1)return $&&te?yt(u):u;if(l=Go(u),!l)return Mt?null:te?wt:""}l&&Be&&ct(l.firstChild);let A=f?u:l;try{let F=Wo(A);for(;w=F.nextNode();)Yo(w,A),Qo(w),Et(w.content)&&ae(w.content)}catch(F){throw f&&(ne(u),Lt(t.removed,G=>{G.element&&Pt(G.element)})),F}if(f)return Lt(t.removed,F=>{F.element&&Pt(F.element)}),at&&De(u),u;if(Mt){if(at&&De(l),Jt)for(g=Yn.call(l.ownerDocument);l.firstChild;)g.appendChild(l.firstChild);else g=l;return(L.shadowroot||L.shadowrootmode)&&(g=Xn.call(r,g,!0)),g}let B=gt?l.outerHTML:l.innerHTML;return gt&&E["!doctype"]&&l.ownerDocument&&l.ownerDocument.doctype&&l.ownerDocument.doctype.name&&j(W0,l.ownerDocument.doctype.name)&&(B="<!DOCTYPE "+l.ownerDocument.doctype.name+`>
|
|
4
|
-
`+B),at&&(B=ie(B)),$&&te?yt(B):B},t.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Pe(u),Se=!0,Xt=E,Qt=L},t.clearConfig=function(){Tt=null,Se=!1,Xt=null,Qt=null,$=Ae,wt=""},t.isValidAttribute=function(u,i,l){Tt||Pe({});let h=S(u),w=S(i);return Ko(h,w,l)},t.addHook=function(u,i){typeof i=="function"&&Z(T,u)&&St(T[u],i)},t.removeHook=function(u,i){if(Z(T,u)){if(i!==void 0){let l=L0(T[u],i);return l===-1?void 0:S0(T[u],l,1)[0]}return nr(T[u])}},t.removeHooks=function(u){Z(T,u)&&(T[u]=[])},t.removeAllHooks=function(){T=vr()},t}var ce=fr();var xr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"></path></svg>';var _r='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"></path></svg>';var br='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"></path></svg>';var yr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"></path></svg>';var Mr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"></path></svg>',Ar='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"></path></svg>';var Cr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"></path></svg>';var Xe='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"></path></svg>';var Qe='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5"></path></svg>';var Tr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"></path></svg>',Er='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"></path></svg>';var Lr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5"></path></svg>';var Sr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>';var Br='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"></path></svg>';var Hr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"></path></svg>';var Rr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"></path></svg>';var jr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>';var Zr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"></path></svg>';var Vr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"></path></svg>',Ir='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"></path></svg>';var Or='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"></path></svg>';var Pr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14"></path></svg>',Dr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"></path></svg>';var Nr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"></path></svg>';var zr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15"></path></svg>';var Ur='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z"></path></svg>';var $r='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"></path></svg>';var Fr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"></path></svg>';var Gr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"></path></svg>';var Wr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"></path></svg>';var qr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125Z"></path></svg>';var Yr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path></svg>',Kr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"></path></svg>';var Xr={themeLight:Gr,themeDark:Dr,themeSystem:Br,chevronsLeft:Tr,chevronsRight:Er,chevronDown:Lr,check:Qe,close:Kr,pin:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M8 4h8M10.5 4v7M13.5 4v7M7 11h10M12 11v9"/></svg>',save:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M17 3.75H5.25a1.5 1.5 0 0 0-1.5 1.5v13.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V7l-3.25-3.25Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 3.75v4.5h6.5v-4.5M7.75 20.25v-7h8.5v7"/></svg>',splitPanes:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M4 5.25h16a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75V6a.75.75 0 0 1 .75-.75ZM12 5.25v13.5"/></svg>',splitPanesDown:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M4 5.25h16a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75V6a.75.75 0 0 1 .75-.75ZM3.25 12h17.5"/></svg>',workspaces:Fr,menu:Xe,document:Hr,openWork:qr,navigator:Xe,outline:Vr,add:zr,edit:Nr,trash:Wr,preview:jr,sort:Cr,reset:_r,undo:yr,info:Zr,lock:Ir,success:Qe,warning:Rr,error:Yr,settings:Sr,help:$r,search:Or,plugin:Ur,download:xr,maximize:Ar,popout:br,restore:Mr,minimize:Pr};var he=new Map(Object.entries(Xr));function Qr(o){return he.get(o)}function Jr(o){return he.has(o)}function Je(o){return ce.sanitize(o,{USE_PROFILES:{svg:!0,svgFilters:!0}})}function to(o,t){he.set(o,t)}function tn(o){he.delete(o)}var ut="lw-icon",J0="1.25rem",eo=class extends HTMLElement{static observedAttributes=["name","size","aria-label"];get name(){return this.getAttribute("name")??""}set name(t){C(this,"name",t)}get size(){return this.getAttribute("size")??J0}set size(t){C(this,"size",t)}connectedCallback(){b(this,"name"),b(this,"size"),this.render()}attributeChangedCallback(){this.refresh()}refresh(){this.isConnected&&this.render()}render(){this.innerHTML=Qr(this.name)??"";let t=this.querySelector("svg");t&&(t.setAttribute("width",this.size),t.setAttribute("height",this.size)),this.getAttribute("aria-label")?(this.setAttribute("role","img"),this.removeAttribute("aria-hidden")):(this.setAttribute("aria-hidden","true"),this.removeAttribute("role"))}};function en(){typeof customElements<"u"&&!customElements.get(ut)&&customElements.define(ut,eo)}function io(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var xt=io();function hn(o){xt=o}var kt={exec:()=>null};function Ht(o){let t=[];return e=>{let r=Math.max(0,Math.min(3,e-1)),n=t[r];return n||(n=o(r),t[r]=n),n}}function x(o,t=""){let e=typeof o=="string"?o:o.source,r={replace:(n,s)=>{let c=typeof s=="string"?s:s.source;return c=c.replace(N.caret,"$1"),e=e.replace(n,c),r},getRegex:()=>new RegExp(e,t)};return r}var t1=((o="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+o)}catch{return!1}})(),N={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:o=>new RegExp(`^( {0,3}${o})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Ht(o=>new RegExp(`^ {0,${o}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Ht(o=>new RegExp(`^ {0,${o}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Ht(o=>new RegExp(`^ {0,${o}}(?:\`\`\`|~~~)`)),headingBeginRegex:Ht(o=>new RegExp(`^ {0,${o}}#`)),htmlBeginRegex:Ht(o=>new RegExp(`^ {0,${o}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:Ht(o=>new RegExp(`^ {0,${o}}>`))},e1=/^(?:[ \t]*(?:\n|$))+/,o1=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,r1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Gt=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,n1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,so=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,dn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,un=x(dn).replace(/bull/g,so).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),i1=x(dn).replace(/bull/g,so).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ao=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,s1=/^[^\n]+/,lo=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,a1=x(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",lo).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),l1=x(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,so).getRegex(),ge="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",co=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,c1=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",co).replace("tag",ge).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),pn=o=>x(ao).replace("hr",Gt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list",o).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ge).getRegex(),h1=pn(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),d1=pn(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),u1=x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",d1).getRegex(),ho={blockquote:u1,code:o1,def:a1,fences:r1,heading:n1,hr:Gt,html:c1,lheading:un,list:l1,newline:e1,paragraph:h1,table:kt,text:s1},on=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Gt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ge).getRegex(),p1={...ho,lheading:i1,table:on,paragraph:x(ao).replace("hr",Gt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",on).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ge).getRegex()},w1={...ho,html:x(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",co).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:kt,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(ao).replace("hr",Gt).replace("heading",` *#{1,6} *[^
|
|
5
|
-
]`).replace("lheading",un).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},g1=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,v1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,wn=/^( {2,}|\\)\n(?!\s*$)/,m1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,it=/[\p{P}\p{S}]/u,Rt=/[\s\p{P}\p{S}]/u,Wt=/[^\s\p{P}\p{S}]/u,k1=x(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Rt).getRegex(),f1=/[\p{Pi}\p{Ps}"']/u,gn=/(?!~)[\p{P}\p{S}]/u,x1=/(?!~)[\s\p{P}\p{S}]/u,_1=/(?:[^\s\p{P}\p{S}]|~)/u,b1=x(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",t1?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),vn=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,
|
|
1
|
+
/* @loomweaver/frame-kit 0.9.0-preview.7 — lw-elements.global.js. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
|
|
2
|
+
"use strict";(()=>{function b(o,t){let e=o;if(Object.hasOwn(o,t)){let r=e[t];delete e[t],e[t]=r}}function C(o,t,e){e==null?o.removeAttribute(t):o.setAttribute(t,e)}function Jo(o,t,e){let r=["lw-btn",`lw-btn--${o}`];return t==="sm"&&r.push("lw-btn--sm"),e&&r.push("lw-btn--icon"),r}var tr="lw-button",Ue=class extends HTMLElement{static observedAttributes=["variant","size","icon-only","disabled"];get variant(){return this.getAttribute("variant")??"default"}set variant(t){C(this,"variant",t)}get size(){return this.getAttribute("size")??"md"}set size(t){C(this,"size",t)}get iconOnly(){return this.hasAttribute("icon-only")}set iconOnly(t){this.toggleAttribute("icon-only",t)}get disabled(){return this.hasAttribute("disabled")}set disabled(t){this.toggleAttribute("disabled",t)}connectedCallback(){b(this,"variant"),b(this,"size"),b(this,"iconOnly"),b(this,"disabled"),this.setAttribute("role","button"),this.addEventListener("keydown",this.onKeydown),this.render()}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown)}attributeChangedCallback(){this.isConnected&&this.render()}onKeydown=t=>{!(t.key==="Enter"||t.key===" ")||this.disabled||(t.preventDefault(),this.click())};render(){let t=[...this.classList].filter(e=>e.startsWith("lw-btn"));this.classList.remove(...t),this.classList.add(...Jo(this.variant,this.size,this.iconOnly)),this.setAttribute("aria-disabled",String(this.disabled)),this.tabIndex=this.disabled?-1:0}};function er(){typeof customElements<"u"&&!customElements.get(tr)&&customElements.define(tr,Ue)}function or(o,t){(t==null||t>o.length)&&(t=o.length);for(var e=0,r=Array(t);e<t;e++)r[e]=o[e];return r}function _0(o){if(Array.isArray(o))return o}function b0(o,t){var e=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(e!=null){var r,n,s,c,a=[],d=!0,p=!1;try{if(s=(e=e.call(o)).next,t!==0)for(;!(d=(r=s.call(e)).done)&&(a.push(r.value),a.length!==t);d=!0);}catch(m){p=!0,n=m}finally{try{if(!d&&e.return!=null&&(c=e.return(),Object(c)!==c))return}finally{if(p)throw n}}return a}}function M0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y0(o,t){return _0(o)||b0(o,t)||A0(o,t)||M0()}function A0(o,t){if(o){if(typeof o=="string")return or(o,t);var e={}.toString.call(o).slice(8,-1);return e==="Object"&&o.constructor&&(e=o.constructor.name),e==="Map"||e==="Set"?Array.from(o):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?or(o,t):void 0}}var mr=Object.entries,rr=Object.setPrototypeOf,C0=Object.isFrozen,T0=Object.getPrototypeOf,E0=Object.getOwnPropertyDescriptor,O=Object.freeze,P=Object.seal,Bt=Object.create,kr=typeof Reflect<"u"&&Reflect,Ye=kr.apply,Ke=kr.construct;O||(O=function(t){return t});P||(P=function(t){return t});Ye||(Ye=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];return t.apply(e,n)});Ke||(Ke=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return new t(...r)});var Lt=R(Array.prototype.forEach),L0=R(Array.prototype.lastIndexOf),nr=R(Array.prototype.pop),St=R(Array.prototype.push),S0=R(Array.prototype.splice),dt=Array.isArray,Ut=R(String.prototype.toLowerCase),$e=R(String.prototype.toString),ir=R(String.prototype.match),Nt=R(String.prototype.replace),sr=R(String.prototype.indexOf),B0=R(String.prototype.trim),H0=R(Number.prototype.toString),R0=R(Boolean.prototype.toString),ar=typeof BigInt>"u"?null:R(BigInt.prototype.toString),lr=typeof Symbol>"u"?null:R(Symbol.prototype.toString),Z=R(Object.prototype.hasOwnProperty),zt=R(Object.prototype.toString),j=R(RegExp.prototype.test),mt=j0(TypeError);function R(o){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return Ye(o,t,r)}}function j0(o){return function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Ke(o,e)}}function _(o,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ut;if(rr&&rr(o,null),!dt(t))return o;let r=t.length;for(;r--;){let n=t[r];if(typeof n=="string"){let s=e(n);s!==n&&(C0(t)||(t[r]=s),n=s)}o[n]=!0}return o}function Z0(o){for(let t=0;t<o.length;t++)Z(o,t)||(o[t]=null);return o}function D(o){let t=Bt(null);for(let r of mr(o)){var e=y0(r,2);let n=e[0],s=e[1];Z(o,n)&&(dt(s)?t[n]=Z0(s):s&&typeof s=="object"&&s.constructor===Object?t[n]=D(s):t[n]=s)}return t}function V0(o){switch(typeof o){case"string":return o;case"number":return H0(o);case"boolean":return R0(o);case"bigint":return ar?ar(o):"0";case"symbol":return lr?lr(o):"Symbol()";case"undefined":return zt(o);case"function":case"object":{if(o===null)return zt(o);let t=o,e=K(t,"toString");if(typeof e=="function"){let r=e(t);return typeof r=="string"?r:zt(r)}return zt(o)}default:return zt(o)}}function K(o,t){for(;o!==null;){let r=E0(o,t);if(r){if(r.get)return R(r.get);if(typeof r.value=="function")return R(r.value)}o=T0(o)}function e(){return null}return e}function I0(o){try{return j(o,""),!0}catch{return!1}}var cr=O(["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"]),Fe=O(["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"]),Ge=O(["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"]),O0=O(["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"]),We=O(["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"]),P0=O(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),hr=O(["#text"]),dr=O(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","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"]),qe=O(["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","dominant-baseline","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-orientation","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"]),ur=O(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),le=O(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),D0=P(/{{[\w\W]*|^[\w\W]*}}/g),N0=P(/<%[\w\W]*|^[\w\W]*%>/g),z0=P(/\${[\w\W]*/g),U0=P(/^data-[\-\w.\u00B7-\uFFFF]+$/),$0=P(/^aria-[\-\w]+$/),pr=P(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F0=P(/^(?:\w+script|data):/i),G0=P(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W0=P(/^html$/i),q0=P(/^[a-z][.\w]*(-[.\w]+)+$/i),wr=P(/<[/\w!]/g),gr=P(/<[/\w]/g),Y0=P(/<\/no(script|embed|frames)/i),K0=P(/\/>/i),W={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},X0=function(){return typeof window>"u"?null:window},Q0=function(t,e){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null,n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));let s="dompurify"+(r?"#"+r:"");try{return t.createPolicy(s,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},vr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ht=function(t,e,r,n){return Z(t,e)&&dt(t[e])?_(n.base?D(n.base):{},t[e],n.transform):r};function fr(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:X0(),t=u=>fr(u);if(t.version="3.4.13",t.removed=[],!o||!o.document||o.document.nodeType!==W.document||!o.Element)return t.isSupported=!1,t;let e=o.document,r=e,n=r.currentScript;o.DocumentFragment;let s=o.HTMLTemplateElement,c=o.Node,a=o.Element,d=o.NodeFilter,p=o.NamedNodeMap;p===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;let m=o.DOMParser,v=o.trustedTypes,k=a.prototype,V=K(k,"cloneNode"),M=K(k,"remove"),q=K(k,"nextSibling"),Y=K(k,"childNodes"),J=K(k,"parentNode"),jt=K(k,"shadowRoot"),Zt=K(k,"attributes"),I=c&&c.prototype?K(c.prototype,"nodeType"):null,U=c&&c.prototype?K(c.prototype,"nodeName"):null,tt=c&&c.prototype?K(c.prototype,"ownerDocument"):null;if(typeof s=="function"){let u=e.createElement("template");u.content&&u.content.ownerDocument&&(e=u.content.ownerDocument)}let $,wt="",Ae,Co=!1,Vt=0,To=function(){if(Vt>0)throw mt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Mt=function(i){To(),Vt++;try{return $.createHTML(i)}finally{Vt--}},Wn=function(i){To(),Vt++;try{return $.createScriptURL(i)}finally{Vt--}},qn=function(){return Co||(Ae=Q0(v,n),Co=!0),Ae},Kt=e,Ce=Kt.implementation,Eo=Kt.createNodeIterator,Yn=Kt.createDocumentFragment,Kn=Kt.getElementsByTagName,Xn=r.importNode,T=vr();t.isSupported=typeof mr=="function"&&typeof J=="function"&&Ce&&Ce.createHTMLDocument!==void 0;let Qn=D0,Jn=N0,t0=z0,e0=U0,o0=$0,r0=F0,Lo=G0,n0=q0,So=pr,E=null,Te=_({},[...cr,...Fe,...Ge,...We,...hr]),L=null,Ee=_({},[...dr,...qe,...ur,...le]),H=Object.seal(Bt(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}})),It=null,Bo=null,st=Object.seal(Bt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Ho=!0,Le=!0,Ro=!1,jo=!0,at=!1,lt=!0,gt=!1,Se=!1,Xt=null,Qt=null,Be=!1,yt=!1,Jt=!1,te=!1,Zo=!0,Vo=!1,Io="user-content-",He=!0,ee=!1,At={},et=null,Re=_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),Oo=null,Po=_({},["audio","video","img","source","image","track"]),je=null,Do=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),oe="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml",Ct=ot,Ze=!1,Ve=null,i0=_({},[oe,re,ot],$e),No=O(["mi","mo","mn","ms","mtext"]),Ie=_({},No),zo=O(["annotation-xml"]),Oe=_({},zo),s0=_({},["title","style","font","a","script"]),Ot=null,a0=["application/xhtml+xml","text/html"],l0="text/html",S=null,Tt=null,c0=e.createElement("form"),Uo=function(i){return i instanceof RegExp||i instanceof Function},Pe=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Tt&&Tt===i)return;(!i||typeof i!="object")&&(i={}),i=D(i),Ot=a0.indexOf(i.PARSER_MEDIA_TYPE)===-1?l0:i.PARSER_MEDIA_TYPE,S=Ot==="application/xhtml+xml"?$e:Ut,E=ht(i,"ALLOWED_TAGS",Te,{transform:S}),L=ht(i,"ALLOWED_ATTR",Ee,{transform:S}),Ve=ht(i,"ALLOWED_NAMESPACES",i0,{transform:$e}),je=ht(i,"ADD_URI_SAFE_ATTR",Do,{transform:S,base:Do}),Oo=ht(i,"ADD_DATA_URI_TAGS",Po,{transform:S,base:Po}),et=ht(i,"FORBID_CONTENTS",Re,{transform:S}),It=ht(i,"FORBID_TAGS",D({}),{transform:S}),Bo=ht(i,"FORBID_ATTR",D({}),{transform:S}),At=Z(i,"USE_PROFILES")?i.USE_PROFILES&&typeof i.USE_PROFILES=="object"?D(i.USE_PROFILES):i.USE_PROFILES:!1,Ho=i.ALLOW_ARIA_ATTR!==!1,Le=i.ALLOW_DATA_ATTR!==!1,Ro=i.ALLOW_UNKNOWN_PROTOCOLS||!1,jo=i.ALLOW_SELF_CLOSE_IN_ATTR!==!1,at=i.SAFE_FOR_TEMPLATES||!1,lt=i.SAFE_FOR_XML!==!1,gt=i.WHOLE_DOCUMENT||!1,yt=i.RETURN_DOM||!1,Jt=i.RETURN_DOM_FRAGMENT||!1,te=i.RETURN_TRUSTED_TYPE||!1,Be=i.FORCE_BODY||!1,Zo=i.SANITIZE_DOM!==!1,Vo=i.SANITIZE_NAMED_PROPS||!1,He=i.KEEP_CONTENT!==!1,ee=i.IN_PLACE||!1,So=I0(i.ALLOWED_URI_REGEXP)?i.ALLOWED_URI_REGEXP:pr,Ct=typeof i.NAMESPACE=="string"?i.NAMESPACE:ot,Ie=Z(i,"MATHML_TEXT_INTEGRATION_POINTS")&&i.MATHML_TEXT_INTEGRATION_POINTS&&typeof i.MATHML_TEXT_INTEGRATION_POINTS=="object"?D(i.MATHML_TEXT_INTEGRATION_POINTS):_({},No),Oe=Z(i,"HTML_INTEGRATION_POINTS")&&i.HTML_INTEGRATION_POINTS&&typeof i.HTML_INTEGRATION_POINTS=="object"?D(i.HTML_INTEGRATION_POINTS):_({},zo);let l=Z(i,"CUSTOM_ELEMENT_HANDLING")&&i.CUSTOM_ELEMENT_HANDLING&&typeof i.CUSTOM_ELEMENT_HANDLING=="object"?D(i.CUSTOM_ELEMENT_HANDLING):Bt(null);if(H=Bt(null),Z(l,"tagNameCheck")&&Uo(l.tagNameCheck)&&(H.tagNameCheck=l.tagNameCheck),Z(l,"attributeNameCheck")&&Uo(l.attributeNameCheck)&&(H.attributeNameCheck=l.attributeNameCheck),Z(l,"allowCustomizedBuiltInElements")&&typeof l.allowCustomizedBuiltInElements=="boolean"&&(H.allowCustomizedBuiltInElements=l.allowCustomizedBuiltInElements),P(H),at&&(Le=!1),Jt&&(yt=!0),At&&(E=_({},hr),L=Bt(null),At.html===!0&&(_(E,cr),_(L,dr)),At.svg===!0&&(_(E,Fe),_(L,qe),_(L,le)),At.svgFilters===!0&&(_(E,Ge),_(L,qe),_(L,le)),At.mathMl===!0&&(_(E,We),_(L,ur),_(L,le))),st.tagCheck=null,st.attributeCheck=null,Z(i,"ADD_TAGS")&&(typeof i.ADD_TAGS=="function"?st.tagCheck=i.ADD_TAGS:dt(i.ADD_TAGS)&&(E===Te&&(E=D(E)),_(E,i.ADD_TAGS,S))),Z(i,"ADD_ATTR")&&(typeof i.ADD_ATTR=="function"?st.attributeCheck=i.ADD_ATTR:dt(i.ADD_ATTR)&&(L===Ee&&(L=D(L)),_(L,i.ADD_ATTR,S))),Z(i,"ADD_URI_SAFE_ATTR")&&dt(i.ADD_URI_SAFE_ATTR)&&_(je,i.ADD_URI_SAFE_ATTR,S),Z(i,"FORBID_CONTENTS")&&dt(i.FORBID_CONTENTS)&&(et===Re&&(et=D(et)),_(et,i.FORBID_CONTENTS,S)),Z(i,"ADD_FORBID_CONTENTS")&&dt(i.ADD_FORBID_CONTENTS)&&(et===Re&&(et=D(et)),_(et,i.ADD_FORBID_CONTENTS,S)),He&&(E["#text"]=!0),gt&&_(E,["html","head","body"]),E.table&&(_(E,["tbody"]),delete It.tbody),i.TRUSTED_TYPES_POLICY){if(typeof i.TRUSTED_TYPES_POLICY.createHTML!="function")throw mt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof i.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw mt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let h=$;$=i.TRUSTED_TYPES_POLICY;try{wt=Mt("")}catch(w){throw $=h,w}}else i.TRUSTED_TYPES_POLICY===null?($=void 0,wt=""):($===void 0&&($=qn()),$&&typeof wt=="string"&&(wt=Mt("")));O&&O(i),Tt=i},$o=_({},[...Fe,...Ge,...O0]),Fo=_({},[...We,...P0]),h0=function(i,l,h){return l.namespaceURI===ot?i==="svg":l.namespaceURI===oe?i==="svg"&&(h==="annotation-xml"||Ie[h]):!!$o[i]},d0=function(i,l,h){return l.namespaceURI===ot?i==="math":l.namespaceURI===re?i==="math"&&Oe[h]:!!Fo[i]},u0=function(i,l,h){return l.namespaceURI===re&&!Oe[h]||l.namespaceURI===oe&&!Ie[h]?!1:!Fo[i]&&(s0[i]||!$o[i])},p0=function(i){let l=J(i);(!l||!l.tagName)&&(l={namespaceURI:Ct,tagName:"template"});let h=Ut(i.tagName),w=Ut(l.tagName);return Ve[i.namespaceURI]?i.namespaceURI===re?h0(h,l,w):i.namespaceURI===oe?d0(h,l,w):i.namespaceURI===ot?u0(h,l,w):!!(Ot==="application/xhtml+xml"&&Ve[i.namespaceURI]):!1},ct=function(i){St(t.removed,{element:i});try{J(i).removeChild(i)}catch{if(M(i),!J(i))throw mt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ne=function(i){Pt(i);let l=Y(i);if(l){let w=[];Lt(l,g=>{St(w,g)}),Lt(w,g=>{try{M(g)}catch{}})}let h=Zt(i);if(h)for(let w=h.length-1;w>=0;--w){let g=h[w],f=g&&g.name;if(typeof f=="string")try{i.removeAttribute(f)}catch{}}},vt=function(i,l){try{St(t.removed,{attribute:l.getAttributeNode(i),from:l})}catch{St(t.removed,{attribute:null,from:l})}if(l.removeAttribute(i),i==="is")if(yt||Jt)try{ct(l)}catch{}else try{l.setAttribute(i,"")}catch{}},w0=function(i){let l=Zt(i);if(l)for(let h=l.length-1;h>=0;--h){let w=l[h],g=w&&w.name;if(!(typeof g!="string"||L[S(g)]))try{i.removeAttribute(g)}catch{}}},Pt=function(i){let l=[i];for(;l.length>0;){let h=l.pop();(I?I(h):h.nodeType)===W.element&&w0(h);let g=Y(h);if(g)for(let f=g.length-1;f>=0;--f)l.push(g[f])}},g0=function(i){if(!lt)return;let l=[i];for(;l.length>0;){let h=l.pop(),w=I?I(h):h.nodeType;if(w===W.processingInstruction||w===W.comment&&j(gr,h.data)){try{M(h)}catch{}continue}if(w===W.element){let f=h,A=S(U?U(h):h.nodeName);try{f.hasAttribute&&f.hasAttribute("patchsrc")&&f.removeAttribute("patchsrc"),f.hasAttribute&&f.hasAttribute("for")&&A!=="label"&&A!=="output"&&f.removeAttribute("for")}catch{}}let g=Y(h);if(g)for(let f=g.length-1;f>=0;--f)l.push(g[f])}},Go=function(i){let l=null,h=null;if(Be)i="<remove></remove>"+i;else{let f=ir(i,/^[\r\n\t ]+/);h=f&&f[0]}Ot==="application/xhtml+xml"&&Ct===ot&&(i='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+i+"</body></html>");let w=$?Mt(i):i;if(Ct===ot)try{l=new m().parseFromString(w,Ot)}catch{}if(!l||!l.documentElement){l=Ce.createDocument(Ct,"template",null);try{l.documentElement.innerHTML=Ze?wt:w}catch{}}let g=l.body||l.documentElement;return i&&h&&g.insertBefore(e.createTextNode(h),g.childNodes[0]||null),Ct===ot?Kn.call(l,gt?"html":"body")[0]:gt?l.documentElement:g},Wo=function(i){let l=tt?tt(i):i.ownerDocument;return Eo.call(l||i,i,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},ie=function(i){return i=Nt(i,Qn," "),i=Nt(i,Jn," "),i=Nt(i,t0," "),i},De=function(i){var l;i.normalize();let h=tt?tt(i):i.ownerDocument,w=Eo.call(h||i,i,d.SHOW_TEXT|d.SHOW_COMMENT|d.SHOW_CDATA_SECTION|d.SHOW_PROCESSING_INSTRUCTION,null),g=w.nextNode();for(;g;)g.data=ie(g.data),g=w.nextNode();let f=(l=i.querySelectorAll)===null||l===void 0?void 0:l.call(i,"template");f&&Lt(f,A=>{Et(A.content)&&De(A.content)})},se=function(i){let l=U?U(i):null;return typeof l!="string"||S(l)!=="form"?!1:typeof i.nodeName!="string"||typeof i.textContent!="string"||typeof i.removeChild!="function"||i.attributes!==Zt(i)||typeof i.removeAttribute!="function"||typeof i.setAttribute!="function"||typeof i.namespaceURI!="string"||typeof i.insertBefore!="function"||typeof i.hasChildNodes!="function"||i.nodeType!==I(i)||i.childNodes!==Y(i)},Et=function(i){if(!I||typeof i!="object"||i===null)return!1;try{return I(i)===W.documentFragment}catch{return!1}},Dt=function(i){if(!I||typeof i!="object"||i===null)return!1;try{return typeof I(i)=="number"}catch{return!1}};function rt(u,i,l){u.length!==0&&Lt(u,h=>{h.call(t,i,l,Tt)})}let v0=function(i,l){return!!(lt&&i.hasChildNodes()&&!Dt(i.firstElementChild)&&j(wr,i.textContent)&&j(wr,i.innerHTML)||lt&&i.namespaceURI===ot&&l==="style"&&Dt(i.firstElementChild)||i.nodeType===W.processingInstruction||lt&&i.nodeType===W.comment&&j(gr,i.data))},m0=function(i,l,h){if(!It[l]&&Xo(l)&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,l)||H.tagNameCheck instanceof Function&&H.tagNameCheck(l)))return!1;if(He&&!et[l]){let w=J(i),g=Y(i);if(g&&w){let f=g.length;for(let A=f-1;A>=0;--A){let B=i===h?V(g[A],!0):g[A];w.insertBefore(B,q(i))}}}return ct(i),!0},qo=function(i,l,h,w){return i.length===0?l:l===h||l===w?D(l):l},Yo=function(i,l){if(rt(T.beforeSanitizeElements,i,null),i!==l&&J(i)===null)return ee&&Pt(i),!0;if(se(i))return ct(i),!0;let h=S(U?U(i):i.nodeName);if(E=qo(T.uponSanitizeElement,E,Te,Xt),rt(T.uponSanitizeElement,i,{tagName:h,allowedTags:E}),i!==l&&J(i)===null)return ee&&Pt(i),!0;if(v0(i,h))return ct(i),!0;if(It[h]||!(st.tagCheck instanceof Function&&st.tagCheck(h))&&!E[h]){let g=m0(i,h,l);return g===!1&&rt(T.afterSanitizeElements,i,null),g}if((I?I(i):i.nodeType)===W.element&&!p0(i)||(h==="noscript"||h==="noembed"||h==="noframes")&&j(Y0,i.innerHTML))return ct(i),!0;if(at&&i.nodeType===W.text){let g=ie(i.textContent);i.textContent!==g&&(St(t.removed,{element:i.cloneNode()}),i.textContent=g)}return rt(T.afterSanitizeElements,i,null),!1},Ko=function(i,l,h){if(Bo[l]||lt&&l==="patchsrc"||lt&&l==="for"&&i!=="label"&&i!=="output"||Zo&&(l==="id"||l==="name")&&(h in e||h in c0))return!1;let w=L[l]||st.attributeCheck instanceof Function&&st.attributeCheck(l,i);if(!(Le&&j(e0,l))){if(!(Ho&&j(o0,l))){if(w){if(!je[l]){if(!j(So,Nt(h,Lo,""))){if(!((l==="src"||l==="xlink:href"||l==="href")&&i!=="script"&&sr(h,"data:")===0&&Oo[i])){if(!(Ro&&!j(r0,Nt(h,Lo,"")))){if(h)return!1}}}}}else if(!(Xo(i)&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,i)||H.tagNameCheck instanceof Function&&H.tagNameCheck(i))&&(H.attributeNameCheck instanceof RegExp&&j(H.attributeNameCheck,l)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(l,i))||l==="is"&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,h)||H.tagNameCheck instanceof Function&&H.tagNameCheck(h))))return!1}}return!0},k0=_({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Xo=function(i){return!k0[Ut(i)]&&j(n0,i)},f0=function(i,l,h,w){if($&&typeof v=="object"&&typeof v.getAttributeType=="function"&&!h)switch(v.getAttributeType(i,l)){case"TrustedHTML":return Mt(w);case"TrustedScriptURL":return Wn(w)}return w},x0=function(i,l,h,w){try{h?i.setAttributeNS(h,l,w):i.setAttribute(l,w),se(i)?ct(i):nr(t.removed)}catch{vt(l,i)}},Qo=function(i){rt(T.beforeSanitizeAttributes,i,null);let l=i.attributes;if(!l||se(i))return;L=qo(T.uponSanitizeAttribute,L,Ee,Qt);let h={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0},w=l.length,g=S(i.nodeName);for(;w--;){let f=l[w],A=f.name,B=f.namespaceURI,F=f.value,G=S(A),ze=F,z=A==="value"?ze:B0(ze);if(h.attrName=G,h.attrValue=z,h.keepAttr=!0,h.forceKeepAttr=void 0,rt(T.uponSanitizeAttribute,i,h),z=h.attrValue,Vo&&(G==="id"||G==="name")&&sr(z,Io)!==0&&(vt(A,i),z=Io+z),lt&&j(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,z)){vt(A,i);continue}if(G==="attributename"&&ir(z,"href")){vt(A,i);continue}if(!h.forceKeepAttr){if(!h.keepAttr){vt(A,i);continue}if(!jo&&j(K0,z)){vt(A,i);continue}if(at&&(z=ie(z)),!Ko(g,G,z)){vt(A,i);continue}z=f0(g,G,B,z),z!==ze&&x0(i,A,B,z)}}rt(T.afterSanitizeAttributes,i,null)},ae=function(i){let l=null,h=Wo(i);for(rt(T.beforeSanitizeShadowDOM,i,null);l=h.nextNode();)if(rt(T.uponSanitizeShadowNode,l,null),Yo(l,i),Qo(l),Et(l.content)&&ae(l.content),(I?I(l):l.nodeType)===W.element){let g=jt(l);Et(g)&&(Ne(g),ae(g))}rt(T.afterSanitizeShadowDOM,i,null)},Ne=function(i){let l=[{node:i,shadow:null}];for(;l.length>0;){let h=l.pop();if(h.shadow){ae(h.shadow);continue}let w=h.node,f=(I?I(w):w.nodeType)===W.element,A=Y(w);if(A)for(let B=A.length-1;B>=0;--B)l.push({node:A[B],shadow:null});if(f){let B=U?U(w):null;if(typeof B=="string"&&S(B)==="template"){let F=w.content;Et(F)&&l.push({node:F,shadow:null})}}if(f){let B=jt(w);Et(B)&&l.push({node:null,shadow:B},{node:B,shadow:null})}}};return t.sanitize=function(u){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=null,h=null,w=null,g=null;if(Ze=!u,Ze&&(u="<!-->"),typeof u!="string"&&!Dt(u)&&(u=V0(u),typeof u!="string"))throw mt("dirty is not a string, aborting");if(!t.isSupported)return u;Se?(E=Xt,L=Qt):Pe(i),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(E=D(E)),T.uponSanitizeAttribute.length>0&&(L=D(L)),t.removed=[];let f=ee&&typeof u!="string"&&Dt(u);if(f){g0(u);let F=U?U(u):u.nodeName;if(typeof F=="string"){let G=S(F);if(!E[G]||It[G])throw ne(u),mt("root node is forbidden and cannot be sanitized in-place")}if(se(u))throw ne(u),mt("root node is clobbered and cannot be sanitized in-place");try{Ne(u)}catch(G){throw ne(u),G}}else if(Dt(u))l=Go("<!---->"),h=l.ownerDocument.importNode(u,!0),h.nodeType===W.element&&h.nodeName==="BODY"||h.nodeName==="HTML"?l=h:l.appendChild(h),Ne(h);else{if(!yt&&!at&&!gt&&u.indexOf("<")===-1)return $&&te?Mt(u):u;if(l=Go(u),!l)return yt?null:te?wt:""}l&&Be&&ct(l.firstChild);let A=f?u:l;try{let F=Wo(A);for(;w=F.nextNode();)Yo(w,A),Qo(w),Et(w.content)&&ae(w.content)}catch(F){throw f&&(ne(u),Lt(t.removed,G=>{G.element&&Pt(G.element)})),F}if(f)return Lt(t.removed,F=>{F.element&&Pt(F.element)}),at&&De(u),u;if(yt){if(at&&De(l),Jt)for(g=Yn.call(l.ownerDocument);l.firstChild;)g.appendChild(l.firstChild);else g=l;return(L.shadowroot||L.shadowrootmode)&&(g=Xn.call(r,g,!0)),g}let B=gt?l.outerHTML:l.innerHTML;return gt&&E["!doctype"]&&l.ownerDocument&&l.ownerDocument.doctype&&l.ownerDocument.doctype.name&&j(W0,l.ownerDocument.doctype.name)&&(B="<!DOCTYPE "+l.ownerDocument.doctype.name+`>
|
|
4
|
+
`+B),at&&(B=ie(B)),$&&te?Mt(B):B},t.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Pe(u),Se=!0,Xt=E,Qt=L},t.clearConfig=function(){Tt=null,Se=!1,Xt=null,Qt=null,$=Ae,wt=""},t.isValidAttribute=function(u,i,l){Tt||Pe({});let h=S(u),w=S(i);return Ko(h,w,l)},t.addHook=function(u,i){typeof i=="function"&&Z(T,u)&&St(T[u],i)},t.removeHook=function(u,i){if(Z(T,u)){if(i!==void 0){let l=L0(T[u],i);return l===-1?void 0:S0(T[u],l,1)[0]}return nr(T[u])}},t.removeHooks=function(u){Z(T,u)&&(T[u]=[])},t.removeAllHooks=function(){T=vr()},t}var ce=fr();var xr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"></path></svg>';var _r='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"></path></svg>';var br='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"></path></svg>';var Mr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"></path></svg>';var yr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"></path></svg>',Ar='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"></path></svg>';var Cr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"></path></svg>';var Xe='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"></path></svg>';var Qe='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5"></path></svg>';var Tr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"></path></svg>',Er='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"></path></svg>';var Lr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5"></path></svg>';var Sr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>';var Br='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"></path></svg>';var Hr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"></path></svg>';var Rr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"></path></svg>';var jr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>';var Zr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"></path></svg>';var Vr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"></path></svg>',Ir='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"></path></svg>';var Or='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"></path></svg>';var Pr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14"></path></svg>',Dr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"></path></svg>';var Nr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"></path></svg>';var zr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15"></path></svg>';var Ur='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z"></path></svg>';var $r='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"></path></svg>';var Fr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"></path></svg>';var Gr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"></path></svg>';var Wr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"></path></svg>';var qr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125Z"></path></svg>';var Yr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path></svg>',Kr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"></path></svg>';var Xr={themeLight:Gr,themeDark:Dr,themeSystem:Br,chevronsLeft:Tr,chevronsRight:Er,chevronDown:Lr,check:Qe,close:Kr,pin:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M8 4h8M10.5 4v7M13.5 4v7M7 11h10M12 11v9"/></svg>',save:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M17 3.75H5.25a1.5 1.5 0 0 0-1.5 1.5v13.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V7l-3.25-3.25Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 3.75v4.5h6.5v-4.5M7.75 20.25v-7h8.5v7"/></svg>',splitPanes:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M4 5.25h16a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75V6a.75.75 0 0 1 .75-.75ZM12 5.25v13.5"/></svg>',splitPanesDown:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M4 5.25h16a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75V6a.75.75 0 0 1 .75-.75ZM3.25 12h17.5"/></svg>',sidebarLeftOpen:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path fill="currentColor" fill-opacity=".28" stroke="none" d="M3.75 3H9v18H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM9 3v18"/></svg>',sidebarLeftClosed:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM9 3v18"/></svg>',sidebarRightOpen:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path fill="currentColor" fill-opacity=".28" stroke="none" d="M15 3h5.25a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H15V3Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM15 3v18"/></svg>',sidebarRightClosed:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM15 3v18"/></svg>',workspaces:Fr,menu:Xe,document:Hr,openWork:qr,navigator:Xe,outline:Vr,add:zr,edit:Nr,trash:Wr,preview:jr,sort:Cr,reset:_r,undo:Mr,info:Zr,lock:Ir,success:Qe,warning:Rr,error:Yr,settings:Sr,help:$r,search:Or,plugin:Ur,download:xr,maximize:Ar,popout:br,restore:yr,minimize:Pr};var he=new Map(Object.entries(Xr));function Qr(o){return he.get(o)}function Jr(o){return he.has(o)}function Je(o){return ce.sanitize(o,{USE_PROFILES:{svg:!0,svgFilters:!0}})}function to(o,t){he.set(o,t)}function tn(o){he.delete(o)}var ut="lw-icon",J0="1.25rem",eo=class extends HTMLElement{static observedAttributes=["name","size","aria-label"];get name(){return this.getAttribute("name")??""}set name(t){C(this,"name",t)}get size(){return this.getAttribute("size")??J0}set size(t){C(this,"size",t)}connectedCallback(){b(this,"name"),b(this,"size"),this.render()}attributeChangedCallback(){this.refresh()}refresh(){this.isConnected&&this.render()}render(){this.innerHTML=Qr(this.name)??"";let t=this.querySelector("svg");t&&(t.setAttribute("width",this.size),t.setAttribute("height",this.size)),this.getAttribute("aria-label")?(this.setAttribute("role","img"),this.removeAttribute("aria-hidden")):(this.setAttribute("aria-hidden","true"),this.removeAttribute("role"))}};function en(){typeof customElements<"u"&&!customElements.get(ut)&&customElements.define(ut,eo)}function io(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var xt=io();function hn(o){xt=o}var kt={exec:()=>null};function Ht(o){let t=[];return e=>{let r=Math.max(0,Math.min(3,e-1)),n=t[r];return n||(n=o(r),t[r]=n),n}}function x(o,t=""){let e=typeof o=="string"?o:o.source,r={replace:(n,s)=>{let c=typeof s=="string"?s:s.source;return c=c.replace(N.caret,"$1"),e=e.replace(n,c),r},getRegex:()=>new RegExp(e,t)};return r}var t1=((o="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+o)}catch{return!1}})(),N={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:o=>new RegExp(`^( {0,3}${o})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Ht(o=>new RegExp(`^ {0,${o}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Ht(o=>new RegExp(`^ {0,${o}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Ht(o=>new RegExp(`^ {0,${o}}(?:\`\`\`|~~~)`)),headingBeginRegex:Ht(o=>new RegExp(`^ {0,${o}}#`)),htmlBeginRegex:Ht(o=>new RegExp(`^ {0,${o}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:Ht(o=>new RegExp(`^ {0,${o}}>`))},e1=/^(?:[ \t]*(?:\n|$))+/,o1=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,r1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Gt=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,n1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,so=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,dn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,un=x(dn).replace(/bull/g,so).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),i1=x(dn).replace(/bull/g,so).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ao=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,s1=/^[^\n]+/,lo=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,a1=x(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",lo).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),l1=x(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,so).getRegex(),ge="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",co=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,c1=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",co).replace("tag",ge).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),pn=o=>x(ao).replace("hr",Gt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list",o).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ge).getRegex(),h1=pn(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),d1=pn(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),u1=x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",d1).getRegex(),ho={blockquote:u1,code:o1,def:a1,fences:r1,heading:n1,hr:Gt,html:c1,lheading:un,list:l1,newline:e1,paragraph:h1,table:kt,text:s1},on=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Gt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ge).getRegex(),p1={...ho,lheading:i1,table:on,paragraph:x(ao).replace("hr",Gt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",on).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ge).getRegex()},w1={...ho,html:x(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",co).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:kt,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(ao).replace("hr",Gt).replace("heading",` *#{1,6} *[^
|
|
5
|
+
]`).replace("lheading",un).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},g1=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,v1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,wn=/^( {2,}|\\)\n(?!\s*$)/,m1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,it=/[\p{P}\p{S}]/u,Rt=/[\s\p{P}\p{S}]/u,Wt=/[^\s\p{P}\p{S}]/u,k1=x(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Rt).getRegex(),f1=/[\p{Pi}\p{Ps}"']/u,gn=/(?!~)[\p{P}\p{S}]/u,x1=/(?!~)[\s\p{P}\p{S}]/u,_1=/(?:[^\s\p{P}\p{S}]|~)/u,b1=x(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",t1?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),vn=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,M1=x(vn,"u").replace(/punct/g,it).getRegex(),y1=x(vn,"u").replace(/punct/g,gn).getRegex(),A1=/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,C1=x(A1,"u").replace(/openQuote/g,f1).replace(/punct/g,it).getRegex(),mn="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",T1=x(mn,"gu").replace(/notPunctSpace/g,Wt).replace(/punctSpace/g,Rt).replace(/punct/g,it).getRegex(),E1=x(mn,"gu").replace(/notPunctSpace/g,_1).replace(/punctSpace/g,x1).replace(/punct/g,gn).getRegex(),L1="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)",S1=x(L1,"gu").replace(/notPunctSpace/g,Wt).replace(/punctSpace/g,Rt).replace(/punct/g,it).getRegex(),B1=x("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Wt).replace(/punctSpace/g,Rt).replace(/punct/g,it).getRegex(),H1="^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)",R1=x(H1,"gu").replace(/notPunctSpace/g,Wt).replace(/punctSpace/g,Rt).replace(/punct/g,it).getRegex(),j1=x(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,it).getRegex(),Z1="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",V1=x(Z1,"gu").replace(/notPunctSpace/g,Wt).replace(/punctSpace/g,Rt).replace(/punct/g,it).getRegex(),I1=x(/\\(punct)/,"gu").replace(/punct/g,it).getRegex(),O1=x(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),P1=x(co).replace("(?:-->|$)","-->").getRegex(),D1=x("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",P1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ue=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,N1=x(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",ue).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),kn=x(/^!?\[(label)\]\[(ref)\]/).replace("label",ue).replace("ref",lo).getRegex(),fn=x(/^!?\[(ref)\](?:\[\])?/).replace("ref",lo).getRegex(),z1=x("reflink|nolink(?!\\()","g").replace("reflink",kn).replace("nolink",fn).getRegex(),rn=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,uo={_backpedal:kt,anyPunctuation:I1,autolink:O1,blockSkip:b1,br:wn,code:v1,del:kt,delLDelim:kt,delRDelim:kt,emStrongLDelim:M1,emStrongRDelimAst:T1,emStrongRDelimUnd:B1,escape:g1,link:N1,nolink:fn,punctuation:k1,reflink:kn,reflinkSearch:z1,tag:D1,text:m1,url:kt},U1={...uo,emStrongLDelim:C1,emStrongRDelimAst:S1,emStrongRDelimUnd:R1,link:x(/^!?\[(label)\]\((.*?)\)/).replace("label",ue).getRegex(),reflink:x(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ue).getRegex()},oo={...uo,emStrongRDelimAst:E1,emStrongLDelim:y1,delLDelim:j1,delRDelim:V1,url:x(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",rn).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:x(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",rn).getRegex()},$1={...oo,br:x(wn).replace("{2,}","*").getRegex(),text:x(oo.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},de={normal:ho,gfm:p1,pedantic:w1},$t={normal:uo,gfm:oo,breaks:$1,pedantic:U1},F1={"&":"&","<":"<",">":">",'"':""","'":"'"},nn=o=>F1[o];function nt(o,t){if(t){if(N.escapeTest.test(o))return o.replace(N.escapeReplace,nn)}else if(N.escapeTestNoEncode.test(o))return o.replace(N.escapeReplaceNoEncode,nn);return o}function sn(o){try{o=encodeURI(o).replace(N.percentDecode,"%")}catch{return null}return o}function an(o,t){let e=o.replace(N.findPipe,(s,c,a)=>{let d=!1,p=c;for(;--p>=0&&a[p]==="\\";)d=!d;return d?"|":" |"}),r=e.split(N.splitPipe),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(N.slashPipe,"|");return r}function pt(o,t,e){let r=o.length;if(r===0)return"";let n=0;for(;n<r;){let s=o.charAt(r-n-1);if(s===t&&!e)n++;else if(s!==t&&e)n++;else break}return o.slice(0,r-n)}function ln(o){let t=o.split(`
|
|
6
6
|
`),e=t.length-1;for(;e>=0&&N.blankLine.test(t[e]);)e--;return t.length-e<=2?o:t.slice(0,e+1).join(`
|
|
7
7
|
`)}function G1(o,t){if(o.indexOf(t[1])===-1)return-1;let e=0;for(let r=0;r<o.length;r++)if(o[r]==="\\")r++;else if(o[r]===t[0])e++;else if(o[r]===t[1]&&(e--,e<0))return r;return e>0?-2:-1}function W1(o,t=0){let e=t,r="";for(let n of o)if(n===" "){let s=4-e%4;r+=" ".repeat(s),e+=s}else r+=n,e++;return r}function cn(o,t,e,r,n){let s=t.href,c=t.title||null,a=o[1].replace(n.other.outputLinkReplace,"$1");r.state.inLink=!0;let d={type:o[0].charAt(0)==="!"?"image":"link",raw:e,href:s,title:c,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,d}function q1(o,t,e){let r=o.match(e.other.indentCodeCompensation);if(r===null)return t;let n=r[1];return t.split(`
|
|
8
8
|
`).map(s=>{let c=s.match(e.other.beginningSpace);if(c===null)return s;let[a]=c;return a.length>=n.length?s.slice(n.length):s}).join(`
|
|
@@ -14,25 +14,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14
14
|
`),m=p.replace(this.rules.other.blockquoteSetextReplace,`
|
|
15
15
|
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
|
|
16
16
|
${p}`:p,n=n?`${n}
|
|
17
|
-
${m}`:m;let v=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(m,s,!0),this.lexer.state.top=v,e.length===0)break;let k=s.at(-1);if(k?.type==="code")break;if(k?.type==="blockquote"){let V=k,
|
|
17
|
+
${m}`:m;let v=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(m,s,!0),this.lexer.state.top=v,e.length===0)break;let k=s.at(-1);if(k?.type==="code")break;if(k?.type==="blockquote"){let V=k,M=e.join(`
|
|
18
18
|
`),q=V.raw+`
|
|
19
|
-
`+
|
|
20
|
-
${
|
|
19
|
+
`+M.replace(this.rules.other.blockquoteSetextReplace2,""),Y=this.blockquote(q);s[s.length-1]=Y,r=`${r}
|
|
20
|
+
${M}`,n=n.substring(0,n.length-V.text.length)+Y.text;break}else if(k?.type==="list"){let V=k,M=V.raw+`
|
|
21
21
|
`+e.join(`
|
|
22
|
-
`),q=this.list(
|
|
22
|
+
`),q=this.list(M);s[s.length-1]=q,r=r.substring(0,r.length-k.raw.length)+q.raw,n=n.substring(0,n.length-V.raw.length)+q.raw,e=M.substring(s.at(-1).raw.length).split(`
|
|
23
23
|
`);continue}}return{type:"blockquote",raw:r,tokens:s,text:n}}}list(o){let t=this.rules.block.list.exec(o);if(t){let e=t[1].trim(),r=e.length>1,n={type:"list",raw:"",ordered:r,start:r?+e.slice(0,-1):"",loose:!1,items:[]};e=r?`\\d{1,9}\\${e.slice(-1)}`:`\\${e}`,this.options.pedantic&&(e=r?e:"[*+-]");let s=this.rules.other.listItemRegex(e),c=!1;for(;o;){let d=!1,p="",m="";if(!(t=s.exec(o))||this.rules.block.hr.test(o))break;p=t[0],o=o.substring(p.length);let v=W1(t[2].split(`
|
|
24
24
|
`,1)[0],t[1].length),k=o.split(`
|
|
25
|
-
`,1)[0],V=!v.trim(),
|
|
26
|
-
`,o=o.substring(k.length+1),d=!0),!d){let q=this.rules.other.nextBulletRegex(
|
|
27
|
-
`,1)[0],tt;if(k=U,this.options.pedantic?(k=k.replace(this.rules.other.listReplaceNesting," "),tt=k):tt=k.replace(this.rules.other.tabCharGlobal," "),J.test(k)||jt.test(k)||Zt.test(k)||I.test(k)||q.test(k)||Y.test(k))break;if(tt.search(this.rules.other.nonSpaceChar)>=
|
|
28
|
-
`+tt.slice(
|
|
25
|
+
`,1)[0],V=!v.trim(),M=0;if(this.options.pedantic?(M=2,m=v.trimStart()):V?M=t[1].length+1:(M=v.search(this.rules.other.nonSpaceChar),M=M>4?1:M,m=v.slice(M),M+=t[1].length),V&&this.rules.other.blankLine.test(k)&&(p+=k+`
|
|
26
|
+
`,o=o.substring(k.length+1),d=!0),!d){let q=this.rules.other.nextBulletRegex(M),Y=this.rules.other.hrRegex(M),J=this.rules.other.fencesBeginRegex(M),jt=this.rules.other.headingBeginRegex(M),Zt=this.rules.other.htmlBeginRegex(M),I=this.rules.other.blockquoteBeginRegex(M);for(;o;){let U=o.split(`
|
|
27
|
+
`,1)[0],tt;if(k=U,this.options.pedantic?(k=k.replace(this.rules.other.listReplaceNesting," "),tt=k):tt=k.replace(this.rules.other.tabCharGlobal," "),J.test(k)||jt.test(k)||Zt.test(k)||I.test(k)||q.test(k)||Y.test(k))break;if(tt.search(this.rules.other.nonSpaceChar)>=M||!k.trim())m+=`
|
|
28
|
+
`+tt.slice(M);else{if(V||v.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||J.test(v)||jt.test(v)||Y.test(v))break;m+=`
|
|
29
29
|
`+k}V=!k.trim(),p+=U+`
|
|
30
|
-
`,o=o.substring(U.length+1),v=tt.slice(
|
|
30
|
+
`,o=o.substring(U.length+1),v=tt.slice(M)}}n.loose||(c?n.loose=!0:this.rules.other.doubleBlankLine.test(p)&&(c=!0)),n.items.push({type:"list_item",raw:p,task:!!this.options.gfm&&this.rules.other.listIsTask.test(m),loose:!1,text:m,tokens:[]}),n.raw+=p}let a=n.items.at(-1);if(a)a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd();else return;n.raw=n.raw.trimEnd();for(let d of n.items){this.lexer.state.top=!1,d.tokens=this.lexer.blockTokens(d.text,[]);let p=d.tokens[0];if(d.task&&(p?.type==="text"||p?.type==="paragraph")){d.text=d.text.replace(this.rules.other.listReplaceTask,""),p.raw=p.raw.replace(this.rules.other.listReplaceTask,""),p.text=p.text.replace(this.rules.other.listReplaceTask,"");for(let v=this.lexer.inlineQueue.length-1;v>=0;v--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[v].src)){this.lexer.inlineQueue[v].src=this.lexer.inlineQueue[v].src.replace(this.rules.other.listReplaceTask,"");break}let m=this.rules.other.listTaskCheckbox.exec(d.raw);if(m){let v={type:"checkbox",raw:m[0]+" ",checked:m[0]!=="[ ]"};d.checked=v.checked,n.loose?d.tokens[0]&&["paragraph","text"].includes(d.tokens[0].type)&&"tokens"in d.tokens[0]&&d.tokens[0].tokens?(d.tokens[0].raw=v.raw+d.tokens[0].raw,d.tokens[0].text=v.raw+d.tokens[0].text,d.tokens[0].tokens.unshift(v)):d.tokens.unshift({type:"paragraph",raw:v.raw,text:v.raw,tokens:[v]}):d.tokens.unshift(v)}}else d.task&&(d.task=!1);if(!n.loose){let m=d.tokens.filter(k=>k.type==="space"),v=m.length>0&&m.some(k=>this.rules.other.anyLine.test(k.raw));n.loose=v}}if(n.loose)for(let d of n.items){d.loose=!0;for(let p of d.tokens)p.type==="text"&&(p.type="paragraph")}return n}}html(o){let t=this.rules.block.html.exec(o);if(t){let e=ln(t[0]);return{type:"html",block:!0,raw:e,pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:e}}}def(o){let t=this.rules.block.def.exec(o);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:pt(t[0],`
|
|
31
31
|
`),href:r,title:n}}}table(o){let t=this.rules.block.table.exec(o);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let e=an(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),n=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
32
32
|
`):[],s={type:"table",raw:pt(t[0],`
|
|
33
33
|
`),header:[],align:[],rows:[]};if(e.length===r.length){for(let c of r)this.rules.other.tableAlignRight.test(c)?s.align.push("right"):this.rules.other.tableAlignCenter.test(c)?s.align.push("center"):this.rules.other.tableAlignLeft.test(c)?s.align.push("left"):s.align.push(null);for(let c=0;c<e.length;c++)s.header.push({text:e[c],tokens:this.lexer.inline(e[c]),header:!0,align:s.align[c]});for(let c of n)s.rows.push(an(c,s.header.length).map((a,d)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:s.align[d]})));return s}}lheading(o){let t=this.rules.block.lheading.exec(o);if(t){let e=t[1].trim();return{type:"heading",raw:pt(t[0],`
|
|
34
34
|
`),depth:t[2].charAt(0)==="="?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(o){let t=this.rules.block.paragraph.exec(o);if(t){let e=t[1].charAt(t[1].length-1)===`
|
|
35
|
-
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(o){let t=this.rules.block.text.exec(o);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(o){let t=this.rules.inline.escape.exec(o);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(o){let t=this.rules.inline.tag.exec(o);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(o){let t=this.rules.inline.link.exec(o);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let s=pt(e.slice(0,-1),"\\");if((e.length-s.length)%2===0)return}else{let s=G1(t[2],"()");if(s===-2)return;if(s>-1){let c=(t[0].indexOf("!")===0?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,c).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],n=s[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?r=r.slice(1):r=r.slice(1,-1)),cn(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(o,t){let e;if((e=this.rules.inline.reflink.exec(o))||(e=this.rules.inline.nolink.exec(o))){let r=(e[2]||e[1]).replace(this.rules.other.multipleSpaceGlobal," "),n=t[r.toLowerCase()];if(!n){let s=e[0].charAt(0);return{type:"text",raw:s,text:s}}return cn(e,n,e[0],this.lexer,this.rules)}}emStrong(o,t,e=""){let r=this.rules.inline.emStrongLDelim.exec(o);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&e.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!e||this.rules.inline.punctuation.exec(e))){let n=[...r[0]].length-1,s,c,a=n,d=0,p=r[0][0],m=e===p,v=p==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,t=t.slice(-1*o.length+n);(r=v.exec(t))!==null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(c=[...s].length,r[3]||r[4]){a+=c;continue}else if(r[5]||r[6]){if(n%3&&!((n+c)%3)){d+=c;continue}if(m)break}if(a-=c,a>0)continue;c=Math.min(c,c+a+d);let k=[...r[0]][0].length,V=o.slice(0,n+r.index+k+c);if(Math.min(n,c)%2){let q=V.slice(1,-1);return{type:"em",raw:V,text:q,tokens:this.lexer.inlineTokens(q)}}let
|
|
35
|
+
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(o){let t=this.rules.block.text.exec(o);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(o){let t=this.rules.inline.escape.exec(o);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(o){let t=this.rules.inline.tag.exec(o);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(o){let t=this.rules.inline.link.exec(o);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let s=pt(e.slice(0,-1),"\\");if((e.length-s.length)%2===0)return}else{let s=G1(t[2],"()");if(s===-2)return;if(s>-1){let c=(t[0].indexOf("!")===0?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,c).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],n=s[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?r=r.slice(1):r=r.slice(1,-1)),cn(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(o,t){let e;if((e=this.rules.inline.reflink.exec(o))||(e=this.rules.inline.nolink.exec(o))){let r=(e[2]||e[1]).replace(this.rules.other.multipleSpaceGlobal," "),n=t[r.toLowerCase()];if(!n){let s=e[0].charAt(0);return{type:"text",raw:s,text:s}}return cn(e,n,e[0],this.lexer,this.rules)}}emStrong(o,t,e=""){let r=this.rules.inline.emStrongLDelim.exec(o);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&e.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!e||this.rules.inline.punctuation.exec(e))){let n=[...r[0]].length-1,s,c,a=n,d=0,p=r[0][0],m=e===p,v=p==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,t=t.slice(-1*o.length+n);(r=v.exec(t))!==null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(c=[...s].length,r[3]||r[4]){a+=c;continue}else if(r[5]||r[6]){if(n%3&&!((n+c)%3)){d+=c;continue}if(m)break}if(a-=c,a>0)continue;c=Math.min(c,c+a+d);let k=[...r[0]][0].length,V=o.slice(0,n+r.index+k+c);if(Math.min(n,c)%2){let q=V.slice(1,-1);return{type:"em",raw:V,text:q,tokens:this.lexer.inlineTokens(q)}}let M=V.slice(2,-2);return{type:"strong",raw:V,text:M,tokens:this.lexer.inlineTokens(M)}}}}codespan(o){let t=this.rules.inline.code.exec(o);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(e),n=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return r&&n&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(o){let t=this.rules.inline.br.exec(o);if(t)return{type:"br",raw:t[0]}}del(o,t,e=""){let r=this.rules.inline.delLDelim.exec(o);if(r&&(!r[1]||!e||this.rules.inline.punctuation.exec(e))){let n=[...r[0]].length-1,s,c,a=n,d=this.rules.inline.delRDelim;for(d.lastIndex=0,t=t.slice(-1*o.length+n);(r=d.exec(t))!==null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s||(c=[...s].length,c!==n))continue;if(r[3]||r[4]){a+=c;continue}if(a-=c,a>0)continue;c=Math.min(c,c+a);let p=[...r[0]][0].length,m=o.slice(0,n+r.index+p+c),v=m.slice(n,-n);return{type:"del",raw:m,text:v,tokens:this.lexer.inlineTokens(v)}}}}autolink(o){let t=this.rules.inline.autolink.exec(o);if(t){let e,r;return t[2]==="@"?(e=t[1],r="mailto:"+e):(e=t[1],r=e),{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(o){let t;if(t=this.rules.inline.url.exec(o)){let e,r;if(t[2]==="@")e=t[0],r="mailto:"+e;else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0]);e=t[0],t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(o){let t=this.rules.inline.text.exec(o);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},X=class ro{tokens;options;state;inlineQueue;tokenizer;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||xt,this.options.tokenizer=this.options.tokenizer||new pe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:N,block:de.normal,inline:$t.normal};this.options.pedantic?(e.block=de.pedantic,e.inline=$t.pedantic):this.options.gfm&&(e.block=de.gfm,this.options.breaks?e.inline=$t.breaks:e.inline=$t.gfm),this.tokenizer.rules=e}static get rules(){return{block:de,inline:$t}}static lex(t,e){return new ro(e).lex(t)}static lexInline(t,e){return new ro(e).inlineTokens(t)}lex(t){t=t.replace(N.carriageReturn,`
|
|
36
36
|
`),this.blockTokens(t,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let r=this.inlineQueue[e];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,e=[],r=!1){this.tokenizer.lexer=this,this.options.pedantic&&(t=t.replace(N.tabCharGlobal," ").replace(N.spaceLine,""));let n=1/0;for(;t;){if(t.length<n)n=t.length;else{this.infiniteLoopError(t.charCodeAt(0));break}let s;if(this.options.extensions?.block?.some(a=>(s=a.call({lexer:this},t,e))?(t=t.substring(s.raw.length),e.push(s),!0):!1))continue;if(s=this.tokenizer.space(t)){t=t.substring(s.raw.length);let a=e.at(-1);s.raw.length===1&&a!==void 0?a.raw+=`
|
|
37
37
|
`:e.push(s);continue}if(s=this.tokenizer.code(t)){t=t.substring(s.raw.length);let a=e.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(`
|
|
38
38
|
`)?"":`
|
|
@@ -65,7 +65,7 @@ ${this.parser.parse(o)}</blockquote>
|
|
|
65
65
|
${o}</tr>
|
|
66
66
|
`}tablecell(o){let t=this.parser.parseInline(o.tokens),e=o.header?"th":"td";return(o.align?`<${e} align="${o.align}">`:`<${e}>`)+t+`</${e}>
|
|
67
67
|
`}strong({tokens:o}){return`<strong>${this.parser.parseInline(o)}</strong>`}em({tokens:o}){return`<em>${this.parser.parseInline(o)}</em>`}codespan({text:o}){return`<code>${nt(o,!0)}</code>`}br(o){return"<br>"}del({tokens:o}){return`<del>${this.parser.parseInline(o)}</del>`}link({href:o,title:t,tokens:e}){let r=this.parser.parseInline(e),n=sn(o);if(n===null)return r;o=n;let s='<a href="'+o+'"';return t&&(s+=' title="'+nt(t)+'"'),s+=">"+r+"</a>",s}image({href:o,title:t,text:e,tokens:r}){r&&(e=this.parser.parseInline(r,this.parser.textRenderer));let n=sn(o);if(n===null)return nt(e);o=n;let s=`<img src="${o}" alt="${nt(e)}"`;return t&&(s+=` title="${nt(t)}"`),s+=">",s}text(o){return"tokens"in o&&o.tokens?this.parser.parseInline(o.tokens):"escaped"in o&&o.escaped?o.text:nt(o.text)}},po=class{strong({text:o}){return o}em({text:o}){return o}codespan({text:o}){return o}del({text:o}){return o}html({text:o}){return o}text({text:o}){return o}link({text:o}){return""+o}image({text:o}){return""+o}br(){return""}checkbox({raw:o}){return o}},Q=class no{options;renderer;textRenderer;constructor(t){this.options=t||xt,this.options.renderer=this.options.renderer||new we,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new po}static parse(t,e){return new no(e).parse(t)}static parseInline(t,e){return new no(e).parseInline(t)}parse(t){this.renderer.parser=this;let e="";for(let r=0;r<t.length;r++){let n=t[r];if(this.options.extensions?.renderers?.[n.type]){let c=n,a=this.options.extensions.renderers[c.type].call({parser:this},c);if(a!==!1||!["space","hr","heading","code","table","blockquote","list","checkbox","html","def","paragraph","text"].includes(c.type)){e+=a||"";continue}}let s=n;switch(s.type){case"space":{e+=this.renderer.space(s);break}case"hr":{e+=this.renderer.hr(s);break}case"heading":{e+=this.renderer.heading(s);break}case"code":{e+=this.renderer.code(s);break}case"table":{e+=this.renderer.table(s);break}case"blockquote":{e+=this.renderer.blockquote(s);break}case"list":{e+=this.renderer.list(s);break}case"checkbox":{e+=this.renderer.checkbox(s);break}case"html":{e+=this.renderer.html(s);break}case"def":{e+=this.renderer.def(s);break}case"paragraph":{e+=this.renderer.paragraph(s);break}case"text":{e+=this.renderer.text(s);break}default:{let c='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return e}parseInline(t,e=this.renderer){this.renderer.parser=this;let r="";for(let n=0;n<t.length;n++){let s=t[n];if(this.options.extensions?.renderers?.[s.type]){let a=this.options.extensions.renderers[s.type].call({parser:this},s);if(a!==!1||!["escape","html","link","image","checkbox","strong","em","codespan","br","del","text"].includes(s.type)){r+=a||"";continue}}let c=s;switch(c.type){case"escape":{r+=e.text(c);break}case"html":{r+=e.html(c);break}case"link":{r+=e.link(c);break}case"image":{r+=e.image(c);break}case"checkbox":{r+=e.checkbox(c);break}case"strong":{r+=e.strong(c);break}case"em":{r+=e.em(c);break}case"codespan":{r+=e.codespan(c);break}case"br":{r+=e.br(c);break}case"del":{r+=e.del(c);break}case"text":{r+=e.text(c);break}default:{let a='Token with "'+c.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}},Ft=class{options;block;constructor(o){this.options=o||xt}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(o){return o}postprocess(o){return o}processAllTokens(o){return o}emStrongMask(o){return o}provideLexer(o=this.block){return o?X.lex:X.lexInline}provideParser(o=this.block){return o?Q.parse:Q.parseInline}},Y1=class{defaults=io();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Q;Renderer=we;TextRenderer=po;Lexer=X;Tokenizer=pe;Hooks=Ft;constructor(...o){this.use(...o)}walkTokens(o,t){let e=[];for(let r of o)switch(e=e.concat(t.call(this,r)),r.type){case"table":{let n=r;for(let s of n.header)e=e.concat(this.walkTokens(s.tokens,t));for(let s of n.rows)for(let c of s)e=e.concat(this.walkTokens(c.tokens,t));break}case"list":{let n=r;e=e.concat(this.walkTokens(n.items,t));break}default:{let n=r;this.defaults.extensions?.childTokens?.[n.type]?this.defaults.extensions.childTokens[n.type].forEach(s=>{let c=n[s].flat(1/0);e=e.concat(this.walkTokens(c,t))}):n.tokens&&(e=e.concat(this.walkTokens(n.tokens,t)))}}return e}use(...o){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return o.forEach(e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let s=t.renderers[n.name];s?t.renderers[n.name]=function(...c){let a=n.renderer.apply(this,c);return a===!1&&(a=s.apply(this,c)),a}:t.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=t[n.level];s?s.unshift(n.tokenizer):t[n.level]=[n.tokenizer],n.start&&(n.level==="block"?t.startBlock?t.startBlock.push(n.start):t.startBlock=[n.start]:n.level==="inline"&&(t.startInline?t.startInline.push(n.start):t.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(t.childTokens[n.name]=n.childTokens)}),r.extensions=t),e.renderer){let n=this.defaults.renderer||new we(this.defaults);for(let s in e.renderer){if(!(s in n))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let c=s,a=e.renderer[c],d=n[c];n[c]=(...p)=>{let m=a.apply(n,p);return m===!1&&(m=d.apply(n,p)),m||""}}r.renderer=n}if(e.tokenizer){let n=this.defaults.tokenizer||new pe(this.defaults);for(let s in e.tokenizer){if(!(s in n))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let c=s,a=e.tokenizer[c],d=n[c];n[c]=(...p)=>{let m=a.apply(n,p);return m===!1&&(m=d.apply(n,p)),m}}r.tokenizer=n}if(e.hooks){let n=this.defaults.hooks||new Ft;for(let s in e.hooks){if(!(s in n))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let c=s,a=e.hooks[c],d=n[c];Ft.passThroughHooks.has(s)?n[c]=p=>{if(this.defaults.async&&Ft.passThroughHooksRespectAsync.has(s))return(async()=>{let v=await a.call(n,p);return d.call(n,v)})();let m=a.call(n,p);return d.call(n,m)}:n[c]=(...p)=>{if(this.defaults.async)return(async()=>{let v=await a.apply(n,p);return v===!1&&(v=await d.apply(n,p)),v})();let m=a.apply(n,p);return m===!1&&(m=d.apply(n,p)),m}}r.hooks=n}if(e.walkTokens){let n=this.defaults.walkTokens,s=e.walkTokens;r.walkTokens=function(c){let a=[];return a.push(s.call(this,c)),n&&(a=a.concat(n.call(this,c))),a}}this.defaults={...this.defaults,...r}}),this}setOptions(o){return this.defaults={...this.defaults,...o},this}lexer(o,t){return X.lex(o,t??this.defaults)}parser(o,t){return Q.parse(o,t??this.defaults)}parseMarkdown(o){return(t,e)=>{let r={...e},n={...this.defaults,...r},s=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&r.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(n.hooks&&(n.hooks.options=n,n.hooks.block=o),n.async)return(async()=>{let c=n.hooks?await n.hooks.preprocess(t):t,a=await(n.hooks?await n.hooks.provideLexer(o):o?X.lex:X.lexInline)(c,n),d=n.hooks?await n.hooks.processAllTokens(a):a;n.walkTokens&&await Promise.all(this.walkTokens(d,n.walkTokens));let p=await(n.hooks?await n.hooks.provideParser(o):o?Q.parse:Q.parseInline)(d,n);return n.hooks?await n.hooks.postprocess(p):p})().catch(s);try{n.hooks&&(t=n.hooks.preprocess(t));let c=(n.hooks?n.hooks.provideLexer(o):o?X.lex:X.lexInline)(t,n);n.hooks&&(c=n.hooks.processAllTokens(c)),n.walkTokens&&this.walkTokens(c,n.walkTokens);let a=(n.hooks?n.hooks.provideParser(o):o?Q.parse:Q.parseInline)(c,n);return n.hooks&&(a=n.hooks.postprocess(a)),a}catch(c){return s(c)}}}onError(o,t){return e=>{if(e.message+=`
|
|
68
|
-
Please report this to https://github.com/markedjs/marked.`,o){let r="<p>An error occurred:</p><pre>"+nt(e.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(e);throw e}}},ft=new Y1;function M(o,t){return ft.parse(o,t)}M.options=M.setOptions=function(o){return ft.setOptions(o),M.defaults=ft.defaults,hn(M.defaults),M};M.getDefaults=io;M.defaults=xt;function K1(...o){return ft.use(...o),M.defaults=ft.defaults,hn(M.defaults),M}M.use=K1;M.walkTokens=function(o,t){return ft.walkTokens(o,t)};M.parseInline=ft.parseInline;M.Parser=Q;M.parser=Q.parse;M.Renderer=we;M.TextRenderer=po;M.Lexer=X;M.lexer=X.lex;M.Tokenizer=pe;M.Hooks=Ft;M.parse=M;var A5=M.options,C5=M.setOptions,T5=M.walkTokens,E5=M.parseInline;var L5=Q.parse,S5=X.lex;var xn="lw-markdown",wo=class extends HTMLElement{static observedAttributes=["source"];prose;get source(){return this.getAttribute("source")??""}set source(t){C(this,"source",t)}connectedCallback(){b(this,"source"),this.prose||(this.prose=document.createElement("div"),this.prose.className="prose prose-sm max-w-none prose-lw",this.append(this.prose)),this.render(this.prose)}attributeChangedCallback(){this.prose&&this.render(this.prose)}render(t){let e=M.parse(this.source,{async:!1,gfm:!0,breaks:!0});t.innerHTML=ce.sanitize(e)}};function _n(){typeof customElements<"u"&&!customElements.get(xn)&&customElements.define(xn,wo)}var bn="lw-menu",yn="lw-menu-item",me=4,ve=4,X1="lw-menu-select",Q1="lw-menu-dismiss";function go(o,t,e){return o>=me&&o+t<=e-me}function ke(o,t,e){return Math.max(me,Math.min(o,e-t-me))}function Mn(o,t,e,r){return go(o,e,r)?o:go(t,e,r)?t:ke(o,e,r)}function An(o,t,e,r){return go(o,e,r)?o:ke(t-e,e,r)}var vo=class extends HTMLElement{static observedAttributes=["label","command","disabled","icon","shortcut","checkbox","checked"];get label(){return this.getAttribute("label")}set label(t){C(this,"label",t)}get command(){return this.getAttribute("command")}set command(t){C(this,"command",t)}connectedCallback(){b(this,"label"),b(this,"command"),this.tabIndex=-1,this.render()}attributeChangedCallback(){this.isConnected&&this.render()}render(){let t=this.hasAttribute("checkbox"),e=this.hasAttribute("checked");this.setAttribute("role",t?"menuitemcheckbox":"menuitem"),t?this.setAttribute("aria-checked",String(e)):this.removeAttribute("aria-checked"),this.setAttribute("aria-disabled",String(this.hasAttribute("disabled")));let r=document.createElement("span");r.className="lw-menu-item-lead",r.setAttribute("aria-hidden","true");let n;if(t?n=e?"check":null:n=this.getAttribute("icon"),n){let a=document.createElement("lw-icon");a.setAttribute("name",n),a.setAttribute("size","0.9rem"),r.append(a)}let s=document.createElement("span");s.className="lw-menu-item-label",s.textContent=this.getAttribute("label")??"",this.replaceChildren(r,s);let c=this.getAttribute("shortcut");if(c){let a=document.createElement("span");a.className="lw-menu-item-shortcut",a.setAttribute("aria-hidden","true"),a.textContent=c,this.append(a)}}},mo=class extends HTMLElement{active=-1;connectedCallback(){this.setAttribute("role","menu"),this.tabIndex=-1,this.addEventListener("keydown",this.onKeydown),this.addEventListener("click",this.onClick),queueMicrotask(()=>{this.isConnected&&this.focus()})}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown),this.removeEventListener("click",this.onClick)}openAt(t,e){let{width:r,height:n}=this.getBoundingClientRect();this.place(ke(t,r,window.innerWidth),ke(e,n,window.innerHeight))}openBeside(t,e){let{width:r,height:n}=this.getBoundingClientRect(),s=window.innerWidth,c=window.innerHeight,a={x:t.right+ve,y:t.bottom+ve},d={x:t.left-ve-r,y:t.top-ve-n};if(e==="left"||e==="right"){let v=e==="right"?a.x:d.x,k=e==="right"?d.x:a.x;this.place(Mn(v,k,r,s),An(t.top,t.bottom,n,c));return}let p=e==="bottom"?a.y:d.y,m=e==="bottom"?d.y:a.y;this.place(An(t.left,t.right,r,s),Mn(p,m,n,c))}onKeydown=t=>this.handleKeydown(t);onClick=t=>{let e=t.target?.closest('[role^="menuitem"]');e&&!this.isDisabled(e)&&this.select(e)};place(t,e){this.style.left=`${t}px`,this.style.top=`${e}px`}items(){return[...this.querySelectorAll('[role^="menuitem"]')].filter(t=>!this.isDisabled(t))}isDisabled(t){return t.getAttribute("aria-disabled")==="true"||t.hasAttribute("disabled")}setActive(t){let e=this.items();if(e.length===0)return;this.active=(t+e.length)%e.length;for(let[n,s]of e.entries())s.tabIndex=n===this.active?0:-1;let r=e[this.active];r.focus(),r.scrollIntoView?.({block:"nearest"})}select(t){this.dispatchEvent(new CustomEvent(X1,{detail:{command:t.getAttribute("command")},bubbles:!0}))}handleKeydown(t){switch(t.key){case"ArrowDown":{this.setActive(this.active<0?0:this.active+1);break}case"ArrowUp":{this.setActive((this.active<0?this.items().length:this.active)-1);break}case"Home":{this.setActive(0);break}case"End":{this.setActive(this.items().length-1);break}case"Enter":case" ":{let e=this.active>=0?this.items()[this.active]:void 0;e&&this.select(e);break}case"Escape":case"Tab":{this.dispatchEvent(new CustomEvent(Q1,{bubbles:!0}));return}default:return}t.preventDefault()}};function Cn(){typeof customElements>"u"||(customElements.get(yn)||customElements.define(yn,vo),customElements.get(bn)||customElements.define(bn,mo))}function Tn(o,t){return o===void 0?!1:o===t||o.startsWith(t===""?"":`${t}/`)}var ko="data-lw-nav-part";function _t(o,t,e){let r=[...o.children].find(s=>s.getAttribute(ko)===t);if(r instanceof HTMLElement&&r.localName===e)return r;r?.remove();let n=document.createElement(e);return n.setAttribute(ko,t),n}function fe(o,t){fo(o,t)?.remove()}function fo(o,t){return[...o.children].find(e=>e.getAttribute(ko)===t)}function En(o,t,e){let r=_t(o,t,ut);r.setAttribute("name",e),r.setAttribute("size","1rem"),r.classList.add("lw-nav-glyph"),r.parentElement!==o&&o.prepend(r)}function Ln(o,t){let e=null;for(let r of o)t(r)&&(e===null||r.length>e.length)&&(e=r);return e}function xe(o){return o.getAttribute("path")??""}var bt="lw-nav-item",_e=class extends HTMLElement{static observedAttributes=["path","label","icon"];get path(){return this.getAttribute("path")??""}set path(t){C(this,"path",t)}get label(){return this.getAttribute("label")??""}set label(t){C(this,"label",t)}get icon(){return this.getAttribute("icon")}set icon(t){C(this,"icon",t)}connectedCallback(){b(this,"path"),b(this,"label"),b(this,"icon"),this.setAttribute("role","button"),this.classList.add("lw-nav-item"),this.tabIndex=0,this.addEventListener("keydown",this.onKeydown),this.render()}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown)}attributeChangedCallback(){this.isConnected&&this.render()}onKeydown=t=>{t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),this.click())};render(){let t=this.icon;t?En(this,"glyph",t):fe(this,"glyph");let e=_t(this,"label","span");e.className="lw-nav-item-label",e.textContent=this.label,e.parentElement!==this&&this.insertBefore(e,this.glyphEnd())}glyphEnd(){let t=fo(this,"glyph");return t?t.nextSibling:this.firstChild}};var Sn=new Map;function Bn(o,t){return Sn.get(o)??t}function Hn(o,t){Sn.set(o,t)}var xo="lw-nav-group",be=class extends HTMLElement{static observedAttributes=["label","key","collapsed"];observer;drawnItems=-1;get label(){return this.getAttribute("label")??""}set label(t){C(this,"label",t)}get key(){return this.getAttribute("key")??this.label}set key(t){C(this,"key",t)}get collapsed(){return this.hasAttribute("collapsed")}set collapsed(t){this.toggleAttribute("collapsed",t)}get open(){return this.itemCount()===0||!Bn(this.key,this.collapsed)}connectedCallback(){b(this,"label"),b(this,"key"),b(this,"collapsed"),this.classList.add("lw-nav-group"),this.observer=new MutationObserver(()=>this.onChildren()),this.observer.observe(this,{childList:!0}),this.render()}disconnectedCallback(){this.observer?.disconnect(),this.observer=void 0}attributeChangedCallback(){this.isConnected&&this.render()}toggle(){this.itemCount()!==0&&(Hn(this.key,this.open),this.render())}onChildren(){this.itemCount()!==this.drawnItems&&this.render()}itemCount(){return[...this.children].filter(t=>t.localName===bt).length}render(){let t=this.itemCount();this.drawnItems=t;let e=_t(this,"heading","button");if(e.className="lw-nav-group-heading",e.setAttribute("type","button"),e.toggleAttribute("disabled",t===0),t===0?e.removeAttribute("aria-expanded"):e.setAttribute("aria-expanded",String(this.open)),e.parentElement!==this&&(e.addEventListener("click",()=>this.toggle()),this.prepend(e)),t===0)fe(e,"chevron");else{let n=_t(e,"chevron",ut);n.setAttribute("name","chevronDown"),n.setAttribute("size","0.875rem"),n.className="lw-nav-chevron",n.parentElement!==e&&e.prepend(n)}let r=_t(e,"label","span");r.className="lw-nav-group-label",r.textContent=this.label,r.parentElement!==e&&e.append(r),this.dataset.open=String(this.open)}};var _o="lw-nav-tree",J1="lw-nav-select",bo=class extends HTMLElement{static observedAttributes=["current"];observer;get current(){return this.getAttribute("current")}set current(t){C(this,"current",t)}connectedCallback(){b(this,"current"),this.setAttribute("role","navigation"),this.classList.add("lw-nav-tree"),this.addEventListener("click",this.onClick),this.observer=new MutationObserver(()=>this.mark()),this.observer.observe(this,{childList:!0,subtree:!0,attributeFilter:["path"]}),this.mark()}disconnectedCallback(){this.removeEventListener("click",this.onClick),this.observer?.disconnect(),this.observer=void 0}attributeChangedCallback(){this.isConnected&&this.mark()}onClick=t=>{let e=t.target?.closest(bt);!e||!this.owns(e)||this.dispatchEvent(new CustomEvent(J1,{detail:{path:xe(e)},bubbles:!0}))};mark(){let t=this.items(),e=this.current??void 0,r=Ln(t.map(n=>xe(n)),n=>Tn(e,n));for(let n of t)r!==null&&xe(n)===r?n.setAttribute("aria-current","page"):n.removeAttribute("aria-current")}items(){return[...this.querySelectorAll(bt)].filter(t=>this.owns(t))}owns(t){return t.closest(_o)===this}};function Rn(){typeof customElements>"u"||(customElements.get(bt)||customElements.define(bt,_e),customElements.get(xo)||customElements.define(xo,be),customElements.get(_o)||customElements.define(_o,bo))}var jn="lw-progress-ring";var yo=class extends HTMLElement{static observedAttributes=["value","max","size"];connectedCallback(){this.render()}attributeChangedCallback(){this.isConnected&&this.render()}num(t,e){let r=this.getAttribute(t);if(r===null||r.trim()==="")return e;let n=Number(r);return Number.isFinite(n)?n:e}render(){let t=Math.max(this.num("max",100),1),e=Math.min(Math.max(this.num("value",0),0),t),r=Math.round(e/t*100),n=this.getAttribute("size")??"2.5rem";this.style.width=n,this.style.height=n,this.setAttribute("role","progressbar"),this.setAttribute("aria-valuenow",String(e)),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax",String(t)),this.innerHTML=`<svg class="lw-progress-ring-svg" viewBox="0 0 36 36" aria-hidden="true"><circle class="lw-progress-ring-track" cx="18" cy="18" r="${15.9155}"></circle><circle class="lw-progress-ring-value" cx="18" cy="18" r="${15.9155}" transform="rotate(-90 18 18)" stroke-dasharray="100" stroke-dashoffset="${100-r}"></circle><text class="lw-progress-ring-text" x="18" y="18">${r}%</text></svg>`}};function Zn(){typeof customElements<"u"&&!customElements.get(jn)&&customElements.define(jn,yo)}var qt="lw-option",ye=class extends HTMLElement{get value(){return this.getAttribute("value")}set value(t){C(this,"value",t)}get icon(){return this.getAttribute("icon")}set icon(t){C(this,"icon",t)}connectedCallback(){b(this,"value"),b(this,"icon")}};function Vn(o){return[...o.querySelectorAll(qt)].map(t=>({value:t.getAttribute("value")??"",label:(t.textContent??"").trim(),icon:t.getAttribute("icon"),disabled:t.hasAttribute("disabled")}))}function In(o){let t=document.createElement("button");t.type="button",t.className="lw-select-trigger",t.setAttribute("aria-haspopup","listbox"),t.setAttribute("aria-expanded","false"),t.setAttribute("aria-controls",o.listboxId),t.style.setProperty("anchor-name",o.anchorName),t.addEventListener("click",o.onToggle),t.addEventListener("keydown",o.onKeydown);let e=document.createElement("span");e.className="lw-select-value";let r=document.createElement("span");return r.className="lw-select-chevron",r.setAttribute("aria-hidden","true"),r.textContent="\u25BE",t.append(e,r),{trigger:t,valueSlot:e}}function On(o){let t=document.createElement("div");return t.id=o.listboxId,t.className="lw-select-listbox",t.setAttribute("role","listbox"),t.hidden=!0,t.style.setProperty("position-anchor",o.anchorName),t.addEventListener("keydown",o.onKeydown),t}function Pn(o,t,e){o.textContent="",e&&o.append(Nn(e)),o.append(document.createTextNode(t))}function Dn(o){let t=o.choice,e=document.createElement("div");return e.className="lw-select-option",e.setAttribute("role","option"),e.id=o.id,e.dataset.value=t.value,e.setAttribute("aria-selected",String(o.selected)),e.tabIndex=-1,t.disabled&&e.setAttribute("aria-disabled","true"),t.icon&&e.append(Nn(t.icon)),e.append(document.createTextNode(t.label)),e.addEventListener("click",()=>{t.disabled||o.onPick()}),e.addEventListener("pointermove",o.onHover),e}function Nn(o){let t=document.createElement("span");return t.className="lw-select-glyph",t.setAttribute("aria-hidden","true"),t.textContent=o,t}var zn="lw-select",t5="lw-select-change",e5=0,o5=500,Mo=class o extends HTMLElement{static observedAttributes=["value","label","placeholder","disabled"];selectId=e5++;anchorName=`--lw-select-${this.selectId}`;listboxId=`lw-select-listbox-${this.selectId}`;open=!1;activeIndex=0;typeahead="";typeaheadTimer;trigger;valueSlot;listbox;observer;get value(){return this.getAttribute("value")}set value(t){C(this,"value",t)}connectedCallback(){b(this,"value"),this.trigger||this.buildControl(),this.observer=new MutationObserver(()=>this.syncTrigger()),this.observe(),this.syncTrigger()}disconnectedCallback(){this.observer?.disconnect(),document.removeEventListener("pointerdown",this.onOutsidePointer,!0),this.typeaheadTimer!==void 0&&clearTimeout(this.typeaheadTimer)}attributeChangedCallback(t){this.trigger&&(o.observedAttributes.includes(t)&&this.syncTrigger(),t==="disabled"&&this.hasAttribute("disabled")&&this.close(!1))}onOutsidePointer=t=>{this.contains(t.target)||this.close(!1)};observe(){this.observer?.observe(this,{childList:!0,characterData:!0,subtree:!0,attributes:!0})}write(t){this.observer?.disconnect();try{t()}finally{this.observe()}}choices(){return Vn(this)}selectedChoice(){let t=this.value;return this.choices().find(e=>e.value===t)}buildControl(){let{trigger:t,valueSlot:e}=In({anchorName:this.anchorName,listboxId:this.listboxId,onToggle:()=>this.toggle(),onKeydown:n=>this.onTriggerKeydown(n)}),r=On({anchorName:this.anchorName,listboxId:this.listboxId,onKeydown:n=>this.onListboxKeydown(n)});this.append(t,r),this.trigger=t,this.valueSlot=e,this.listbox=r}syncTrigger(){let t=this.trigger,e=this.valueSlot;if(!t||!e)return;let r=this.getAttribute("label"),n=this.selectedChoice(),s=n?.label??this.getAttribute("placeholder")??"";this.write(()=>{t.disabled=this.hasAttribute("disabled"),r!==null&&(t.setAttribute("aria-label",r),this.listbox?.setAttribute("aria-label",r)),Pn(e,s,n?.icon??null)})}toggle(){this.open?this.close():this.openListbox()}openListbox(){let t=this.listbox,e=this.trigger;if(this.open||this.hasAttribute("disabled")||!t||!e)return;this.renderOptions(),this.open=!0,this.write(()=>{t.hidden=!1,e.setAttribute("aria-expanded","true")});let n=this.choices().findIndex(s=>s.value===this.value);this.setActive(Math.max(0,n)),document.addEventListener("pointerdown",this.onOutsidePointer,{capture:!0})}close(t=!0){let e=this.listbox,r=this.trigger;!this.open||!e||!r||(this.open=!1,this.write(()=>{e.hidden=!0,e.replaceChildren(),r.setAttribute("aria-expanded","false")}),document.removeEventListener("pointerdown",this.onOutsidePointer,!0),t&&r.focus())}renderOptions(){let t=this.listbox;if(!t)return;let e=this.choices().map((r,n)=>Dn({choice:r,id:`${this.listboxId}-opt-${n}`,selected:r.value===this.value,onPick:()=>this.commit(r.value),onHover:()=>this.setActive(n)}));this.write(()=>t.replaceChildren(...e))}setActive(t){if(!this.listbox)return;let e=[...this.listbox.children];if(e.length===0)return;this.activeIndex=Math.max(0,Math.min(t,e.length-1)),this.write(()=>{for(let[n,s]of e.entries())s.classList.toggle("is-active",n===this.activeIndex),s.tabIndex=n===this.activeIndex?0:-1});let r=e[this.activeIndex];r.focus(),r.scrollIntoView?.({block:"nearest"})}onTriggerKeydown(t){["ArrowDown","ArrowUp","Enter"," "].includes(t.key)&&(t.preventDefault(),this.openListbox())}onListboxKeydown(t){let e=this.choices().length-1;switch(t.key){case"ArrowDown":{this.setActive(this.activeIndex>=e?0:this.activeIndex+1);break}case"ArrowUp":{this.setActive(this.activeIndex<=0?e:this.activeIndex-1);break}case"Home":{this.setActive(0);break}case"End":{this.setActive(e);break}case"Enter":case" ":{this.commitActive();break}case"Escape":{this.close();break}case"Tab":{this.close(!1);return}default:{t.key.length===1&&this.onTypeahead(t.key);return}}t.preventDefault()}onTypeahead(t){this.typeahead+=t.toLowerCase(),this.typeaheadTimer!==void 0&&clearTimeout(this.typeaheadTimer),this.typeaheadTimer=setTimeout(()=>this.typeahead="",o5);let e=this.choices().findIndex(r=>!r.disabled&&r.label.toLowerCase().startsWith(this.typeahead));e!==-1&&this.setActive(e)}commitActive(){let t=this.choices()[this.activeIndex];t&&!t.disabled&&this.commit(t.value)}commit(t){let e=t!==this.value;this.value=t,this.close(),e&&this.dispatchEvent(new CustomEvent(t5,{detail:{value:t},bubbles:!0}))}};function Un(){typeof customElements>"u"||(customElements.get(qt)||customElements.define(qt,ye),customElements.get(zn)||customElements.define(zn,Mo))}var $n=600,Me=6,Yt=4,r5=0,n5=16,i5=6,Fn="lw-tooltip",Ao=class extends HTMLElement{static observedAttributes=["text","position","delay-ms","max-width"];bubble;trigger;showTimer;pointer;get text(){return this.getAttribute("text")}set text(t){C(this,"text",t)}get position(){return this.getAttribute("position")??"top"}set position(t){C(this,"position",t)}connectedCallback(){b(this,"text"),b(this,"position"),this.render(),this.trigger=this.parentElement??void 0,this.trigger?.addEventListener("pointerenter",this.onEnter),this.trigger?.addEventListener("pointermove",this.onMove),this.trigger?.addEventListener("pointerleave",this.onLeave),this.trigger?.addEventListener("focusin",this.onFocusIn),this.trigger?.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){this.hide(),this.trigger?.removeEventListener("pointerenter",this.onEnter),this.trigger?.removeEventListener("pointermove",this.onMove),this.trigger?.removeEventListener("pointerleave",this.onLeave),this.trigger?.removeEventListener("focusin",this.onFocusIn),this.trigger?.removeEventListener("focusout",this.onFocusOut),this.trigger=void 0}attributeChangedCallback(){this.isConnected&&this.render()}onEnter=t=>this.scheduleShow(t);onMove=t=>{t.pointerType==="mouse"&&(this.pointer={x:t.clientX,y:t.clientY})};onLeave=()=>this.hide();onFocusIn=()=>this.scheduleShow();onFocusOut=()=>this.hide();render(){let t=(this.getAttribute("text")??"").trim();if(!t){this.bubble?.remove(),this.bubble=void 0;return}let e=this.bubble??this.createBubble();e.textContent=t,e.style.maxWidth=this.getAttribute("max-width")??"16rem"}createBubble(){let t=document.createElement("span");return t.className="lw-tooltip-bubble",t.setAttribute("role","tooltip"),t.setAttribute("popover","manual"),this.append(t),this.bubble=t,t}scheduleShow(t){t&&t.pointerType!=="mouse"||(this.pointer=t?{x:t.clientX,y:t.clientY}:void 0,this.clearTimer(),this.showTimer=setTimeout(()=>this.show(),this.delayMs()))}delayMs(){let t=this.getAttribute("delay-ms");if(t===null||t.trim()==="")return $n;let e=Number(t);return Number.isFinite(e)&&e>=0?e:$n}show(){let t=this.bubble;if(!(!t?.isConnected||typeof t.showPopover!="function")){try{t.showPopover()}catch{return}this.placeBubble(t)}}placeBubble(t){let e=t.getBoundingClientRect(),r,n;if(this.pointer){r=this.pointer.x+r5;let a=this.pointer.y+n5;n=a+e.height+Yt>window.innerHeight?this.pointer.y-e.height-i5:a}else if(this.trigger){let a=this.trigger.getBoundingClientRect(),d=a.left+a.width/2-e.width/2,p=a.top+a.height/2-e.height/2;switch(this.position){case"bottom":{[r,n]=[d,a.bottom+Me];break}case"left":{[r,n]=[a.left-e.width-Me,p];break}case"right":{[r,n]=[a.right+Me,p];break}default:[r,n]=[d,a.top-e.height-Me]}}else return;let s=window.innerWidth-e.width-Yt,c=window.innerHeight-e.height-Yt;t.style.left=`${Math.round(Math.max(Yt,Math.min(r,s)))}px`,t.style.top=`${Math.round(Math.max(Yt,Math.min(n,c)))}px`}hide(){this.clearTimer();let t=this.bubble;if(!(!t||typeof t.hidePopover!="function"))try{t.hidePopover()}catch{return}}clearTimer(){this.showTimer!==void 0&&(clearTimeout(this.showTimer),this.showTimer=void 0)}};function Gn(){typeof customElements<"u"&&!customElements.get(Fn)&&customElements.define(Fn,Ao)}function s5(o){let t=document.documentElement;for(let[e,r]of Object.entries(o.tokens??{}))t.style.setProperty(e,r);if(o.rootFontSize&&(t.style.fontSize=o.rootFontSize),o.theme){let e=o.theme==="dark";t.classList.toggle("dark",e),document.body?.classList.toggle("dark",e)}a5(o.icons)}function a5(o){let t=Object.entries(o??{});if(t.length!==0){for(let[e,r]of t)to(e,Je(r));for(let e of document.querySelectorAll(ut))e.refresh()}}function l5(){let o=new Map,t,e=r=>{let n=o.get(r);if(n)return n;let s={value:void 0,loaded:!1,listeners:[]};return o.set(r,s),t?.stateWatch(r),s};return{connect(r){t=r;for(let n of o.keys())r.stateWatch(n)},apply(r,n,s){let c=e(r);c.value=n,c.loaded=s;for(let a of c.listeners)a(n,s)},watch(r){let n=e(r);return{value:()=>n.value,loaded:()=>n.loaded,set:s=>{n.value=s,t?.stateSet(r,s)},clear:()=>{n.value=void 0,t?.stateClear(r)},dispose:()=>{o.delete(r),t?.stateUnwatch(r)},onChange:s=>{n.listeners.push(s)}}}}}function c5(){Gn(),Un(),Cn(),er(),_n(),en(),Zn(),Rn();let o=l5(),t={setIcon:(e,r)=>to(e,Je(r)),removeIcon:tn,hasIcon:Jr,applySurfaceState:s5,connectState:e=>(o.connect(e),o),state:o};return globalThis.LwFrame=t,t}c5();})();
|
|
68
|
+
Please report this to https://github.com/markedjs/marked.`,o){let r="<p>An error occurred:</p><pre>"+nt(e.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(e);throw e}}},ft=new Y1;function y(o,t){return ft.parse(o,t)}y.options=y.setOptions=function(o){return ft.setOptions(o),y.defaults=ft.defaults,hn(y.defaults),y};y.getDefaults=io;y.defaults=xt;function K1(...o){return ft.use(...o),y.defaults=ft.defaults,hn(y.defaults),y}y.use=K1;y.walkTokens=function(o,t){return ft.walkTokens(o,t)};y.parseInline=ft.parseInline;y.Parser=Q;y.parser=Q.parse;y.Renderer=we;y.TextRenderer=po;y.Lexer=X;y.lexer=X.lex;y.Tokenizer=pe;y.Hooks=Ft;y.parse=y;var A5=y.options,C5=y.setOptions,T5=y.walkTokens,E5=y.parseInline;var L5=Q.parse,S5=X.lex;var xn="lw-markdown",wo=class extends HTMLElement{static observedAttributes=["source"];prose;get source(){return this.getAttribute("source")??""}set source(t){C(this,"source",t)}connectedCallback(){b(this,"source"),this.prose||(this.prose=document.createElement("div"),this.prose.className="prose prose-sm max-w-none prose-lw",this.append(this.prose)),this.render(this.prose)}attributeChangedCallback(){this.prose&&this.render(this.prose)}render(t){let e=y.parse(this.source,{async:!1,gfm:!0,breaks:!0});t.innerHTML=ce.sanitize(e)}};function _n(){typeof customElements<"u"&&!customElements.get(xn)&&customElements.define(xn,wo)}var bn="lw-menu",Mn="lw-menu-item",me=4,ve=4,X1="lw-menu-select",Q1="lw-menu-dismiss";function go(o,t,e){return o>=me&&o+t<=e-me}function ke(o,t,e){return Math.max(me,Math.min(o,e-t-me))}function yn(o,t,e,r){return go(o,e,r)?o:go(t,e,r)?t:ke(o,e,r)}function An(o,t,e,r){return go(o,e,r)?o:ke(t-e,e,r)}var vo=class extends HTMLElement{static observedAttributes=["label","command","disabled","icon","shortcut","checkbox","checked"];get label(){return this.getAttribute("label")}set label(t){C(this,"label",t)}get command(){return this.getAttribute("command")}set command(t){C(this,"command",t)}connectedCallback(){b(this,"label"),b(this,"command"),this.tabIndex=-1,this.render()}attributeChangedCallback(){this.isConnected&&this.render()}render(){let t=this.hasAttribute("checkbox"),e=this.hasAttribute("checked");this.setAttribute("role",t?"menuitemcheckbox":"menuitem"),t?this.setAttribute("aria-checked",String(e)):this.removeAttribute("aria-checked"),this.setAttribute("aria-disabled",String(this.hasAttribute("disabled")));let r=document.createElement("span");r.className="lw-menu-item-lead",r.setAttribute("aria-hidden","true");let n;if(t?n=e?"check":null:n=this.getAttribute("icon"),n){let a=document.createElement("lw-icon");a.setAttribute("name",n),a.setAttribute("size","0.9rem"),r.append(a)}let s=document.createElement("span");s.className="lw-menu-item-label",s.textContent=this.getAttribute("label")??"",this.replaceChildren(r,s);let c=this.getAttribute("shortcut");if(c){let a=document.createElement("span");a.className="lw-menu-item-shortcut",a.setAttribute("aria-hidden","true"),a.textContent=c,this.append(a)}}},mo=class extends HTMLElement{active=-1;connectedCallback(){this.setAttribute("role","menu"),this.tabIndex=-1,this.addEventListener("keydown",this.onKeydown),this.addEventListener("click",this.onClick),queueMicrotask(()=>{this.isConnected&&this.focus()})}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown),this.removeEventListener("click",this.onClick)}openAt(t,e){let{width:r,height:n}=this.getBoundingClientRect();this.place(ke(t,r,window.innerWidth),ke(e,n,window.innerHeight))}openBeside(t,e){let{width:r,height:n}=this.getBoundingClientRect(),s=window.innerWidth,c=window.innerHeight,a={x:t.right+ve,y:t.bottom+ve},d={x:t.left-ve-r,y:t.top-ve-n};if(e==="left"||e==="right"){let v=e==="right"?a.x:d.x,k=e==="right"?d.x:a.x;this.place(yn(v,k,r,s),An(t.top,t.bottom,n,c));return}let p=e==="bottom"?a.y:d.y,m=e==="bottom"?d.y:a.y;this.place(An(t.left,t.right,r,s),yn(p,m,n,c))}onKeydown=t=>this.handleKeydown(t);onClick=t=>{let e=t.target?.closest('[role^="menuitem"]');e&&!this.isDisabled(e)&&this.select(e)};place(t,e){this.style.left=`${t}px`,this.style.top=`${e}px`}items(){return[...this.querySelectorAll('[role^="menuitem"]')].filter(t=>!this.isDisabled(t))}isDisabled(t){return t.getAttribute("aria-disabled")==="true"||t.hasAttribute("disabled")}setActive(t){let e=this.items();if(e.length===0)return;this.active=(t+e.length)%e.length;for(let[n,s]of e.entries())s.tabIndex=n===this.active?0:-1;let r=e[this.active];r.focus(),r.scrollIntoView?.({block:"nearest"})}select(t){this.dispatchEvent(new CustomEvent(X1,{detail:{command:t.getAttribute("command")},bubbles:!0}))}handleKeydown(t){switch(t.key){case"ArrowDown":{this.setActive(this.active<0?0:this.active+1);break}case"ArrowUp":{this.setActive((this.active<0?this.items().length:this.active)-1);break}case"Home":{this.setActive(0);break}case"End":{this.setActive(this.items().length-1);break}case"Enter":case" ":{let e=this.active>=0?this.items()[this.active]:void 0;e&&this.select(e);break}case"Escape":case"Tab":{this.dispatchEvent(new CustomEvent(Q1,{bubbles:!0}));return}default:return}t.preventDefault()}};function Cn(){typeof customElements>"u"||(customElements.get(Mn)||customElements.define(Mn,vo),customElements.get(bn)||customElements.define(bn,mo))}function Tn(o,t){return o===void 0?!1:o===t||o.startsWith(t===""?"":`${t}/`)}var ko="data-lw-nav-part";function _t(o,t,e){let r=[...o.children].find(s=>s.getAttribute(ko)===t);if(r instanceof HTMLElement&&r.localName===e)return r;r?.remove();let n=document.createElement(e);return n.setAttribute(ko,t),n}function fe(o,t){fo(o,t)?.remove()}function fo(o,t){return[...o.children].find(e=>e.getAttribute(ko)===t)}function En(o,t,e){let r=_t(o,t,ut);r.setAttribute("name",e),r.setAttribute("size","1rem"),r.classList.add("lw-nav-glyph"),r.parentElement!==o&&o.prepend(r)}function Ln(o,t){let e=null;for(let r of o)t(r)&&(e===null||r.length>e.length)&&(e=r);return e}function xe(o){return o.getAttribute("path")??""}var bt="lw-nav-item",_e=class extends HTMLElement{static observedAttributes=["path","label","icon"];get path(){return this.getAttribute("path")??""}set path(t){C(this,"path",t)}get label(){return this.getAttribute("label")??""}set label(t){C(this,"label",t)}get icon(){return this.getAttribute("icon")}set icon(t){C(this,"icon",t)}connectedCallback(){b(this,"path"),b(this,"label"),b(this,"icon"),this.setAttribute("role","button"),this.classList.add("lw-nav-item"),this.tabIndex=0,this.addEventListener("keydown",this.onKeydown),this.render()}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown)}attributeChangedCallback(){this.isConnected&&this.render()}onKeydown=t=>{t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),this.click())};render(){let t=this.icon;t?En(this,"glyph",t):fe(this,"glyph");let e=_t(this,"label","span");e.className="lw-nav-item-label",e.textContent=this.label,e.parentElement!==this&&this.insertBefore(e,this.glyphEnd())}glyphEnd(){let t=fo(this,"glyph");return t?t.nextSibling:this.firstChild}};var Sn=new Map;function Bn(o,t){return Sn.get(o)??t}function Hn(o,t){Sn.set(o,t)}var xo="lw-nav-group",be=class extends HTMLElement{static observedAttributes=["label","key","collapsed"];observer;drawnItems=-1;get label(){return this.getAttribute("label")??""}set label(t){C(this,"label",t)}get key(){return this.getAttribute("key")??this.label}set key(t){C(this,"key",t)}get collapsed(){return this.hasAttribute("collapsed")}set collapsed(t){this.toggleAttribute("collapsed",t)}get open(){return this.itemCount()===0||!Bn(this.key,this.collapsed)}connectedCallback(){b(this,"label"),b(this,"key"),b(this,"collapsed"),this.classList.add("lw-nav-group"),this.observer=new MutationObserver(()=>this.onChildren()),this.observer.observe(this,{childList:!0}),this.render()}disconnectedCallback(){this.observer?.disconnect(),this.observer=void 0}attributeChangedCallback(){this.isConnected&&this.render()}toggle(){this.itemCount()!==0&&(Hn(this.key,this.open),this.render())}onChildren(){this.itemCount()!==this.drawnItems&&this.render()}itemCount(){return[...this.children].filter(t=>t.localName===bt).length}render(){let t=this.itemCount();this.drawnItems=t;let e=_t(this,"heading","button");if(e.className="lw-nav-group-heading",e.setAttribute("type","button"),e.toggleAttribute("disabled",t===0),t===0?e.removeAttribute("aria-expanded"):e.setAttribute("aria-expanded",String(this.open)),e.parentElement!==this&&(e.addEventListener("click",()=>this.toggle()),this.prepend(e)),t===0)fe(e,"chevron");else{let n=_t(e,"chevron",ut);n.setAttribute("name","chevronDown"),n.setAttribute("size","0.875rem"),n.className="lw-nav-chevron",n.parentElement!==e&&e.prepend(n)}let r=_t(e,"label","span");r.className="lw-nav-group-label",r.textContent=this.label,r.parentElement!==e&&e.append(r),this.dataset.open=String(this.open)}};var _o="lw-nav-tree",J1="lw-nav-select",bo=class extends HTMLElement{static observedAttributes=["current"];observer;get current(){return this.getAttribute("current")}set current(t){C(this,"current",t)}connectedCallback(){b(this,"current"),this.setAttribute("role","navigation"),this.classList.add("lw-nav-tree"),this.addEventListener("click",this.onClick),this.observer=new MutationObserver(()=>this.mark()),this.observer.observe(this,{childList:!0,subtree:!0,attributeFilter:["path"]}),this.mark()}disconnectedCallback(){this.removeEventListener("click",this.onClick),this.observer?.disconnect(),this.observer=void 0}attributeChangedCallback(){this.isConnected&&this.mark()}onClick=t=>{let e=t.target?.closest(bt);!e||!this.owns(e)||this.dispatchEvent(new CustomEvent(J1,{detail:{path:xe(e)},bubbles:!0}))};mark(){let t=this.items(),e=this.current??void 0,r=Ln(t.map(n=>xe(n)),n=>Tn(e,n));for(let n of t)r!==null&&xe(n)===r?n.setAttribute("aria-current","page"):n.removeAttribute("aria-current")}items(){return[...this.querySelectorAll(bt)].filter(t=>this.owns(t))}owns(t){return t.closest(_o)===this}};function Rn(){typeof customElements>"u"||(customElements.get(bt)||customElements.define(bt,_e),customElements.get(xo)||customElements.define(xo,be),customElements.get(_o)||customElements.define(_o,bo))}var jn="lw-progress-ring";var Mo=class extends HTMLElement{static observedAttributes=["value","max","size"];connectedCallback(){this.render()}attributeChangedCallback(){this.isConnected&&this.render()}num(t,e){let r=this.getAttribute(t);if(r===null||r.trim()==="")return e;let n=Number(r);return Number.isFinite(n)?n:e}render(){let t=Math.max(this.num("max",100),1),e=Math.min(Math.max(this.num("value",0),0),t),r=Math.round(e/t*100),n=this.getAttribute("size")??"2.5rem";this.style.width=n,this.style.height=n,this.setAttribute("role","progressbar"),this.setAttribute("aria-valuenow",String(e)),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax",String(t)),this.innerHTML=`<svg class="lw-progress-ring-svg" viewBox="0 0 36 36" aria-hidden="true"><circle class="lw-progress-ring-track" cx="18" cy="18" r="${15.9155}"></circle><circle class="lw-progress-ring-value" cx="18" cy="18" r="${15.9155}" transform="rotate(-90 18 18)" stroke-dasharray="100" stroke-dashoffset="${100-r}"></circle><text class="lw-progress-ring-text" x="18" y="18">${r}%</text></svg>`}};function Zn(){typeof customElements<"u"&&!customElements.get(jn)&&customElements.define(jn,Mo)}var qt="lw-option",Me=class extends HTMLElement{get value(){return this.getAttribute("value")}set value(t){C(this,"value",t)}get icon(){return this.getAttribute("icon")}set icon(t){C(this,"icon",t)}connectedCallback(){b(this,"value"),b(this,"icon")}};function Vn(o){return[...o.querySelectorAll(qt)].map(t=>({value:t.getAttribute("value")??"",label:(t.textContent??"").trim(),icon:t.getAttribute("icon"),disabled:t.hasAttribute("disabled")}))}function In(o){let t=document.createElement("button");t.type="button",t.className="lw-select-trigger",t.setAttribute("aria-haspopup","listbox"),t.setAttribute("aria-expanded","false"),t.setAttribute("aria-controls",o.listboxId),t.style.setProperty("anchor-name",o.anchorName),t.addEventListener("click",o.onToggle),t.addEventListener("keydown",o.onKeydown);let e=document.createElement("span");e.className="lw-select-value";let r=document.createElement("span");return r.className="lw-select-chevron",r.setAttribute("aria-hidden","true"),r.textContent="\u25BE",t.append(e,r),{trigger:t,valueSlot:e}}function On(o){let t=document.createElement("div");return t.id=o.listboxId,t.className="lw-select-listbox",t.setAttribute("role","listbox"),t.hidden=!0,t.style.setProperty("position-anchor",o.anchorName),t.addEventListener("keydown",o.onKeydown),t}function Pn(o,t,e){o.textContent="",e&&o.append(Nn(e)),o.append(document.createTextNode(t))}function Dn(o){let t=o.choice,e=document.createElement("div");return e.className="lw-select-option",e.setAttribute("role","option"),e.id=o.id,e.dataset.value=t.value,e.setAttribute("aria-selected",String(o.selected)),e.tabIndex=-1,t.disabled&&e.setAttribute("aria-disabled","true"),t.icon&&e.append(Nn(t.icon)),e.append(document.createTextNode(t.label)),e.addEventListener("click",()=>{t.disabled||o.onPick()}),e.addEventListener("pointermove",o.onHover),e}function Nn(o){let t=document.createElement("span");return t.className="lw-select-glyph",t.setAttribute("aria-hidden","true"),t.textContent=o,t}var zn="lw-select",t5="lw-select-change",e5=0,o5=500,yo=class o extends HTMLElement{static observedAttributes=["value","label","placeholder","disabled"];selectId=e5++;anchorName=`--lw-select-${this.selectId}`;listboxId=`lw-select-listbox-${this.selectId}`;open=!1;activeIndex=0;typeahead="";typeaheadTimer;trigger;valueSlot;listbox;observer;get value(){return this.getAttribute("value")}set value(t){C(this,"value",t)}connectedCallback(){b(this,"value"),this.trigger||this.buildControl(),this.observer=new MutationObserver(()=>this.syncTrigger()),this.observe(),this.syncTrigger()}disconnectedCallback(){this.observer?.disconnect(),document.removeEventListener("pointerdown",this.onOutsidePointer,!0),this.typeaheadTimer!==void 0&&clearTimeout(this.typeaheadTimer)}attributeChangedCallback(t){this.trigger&&(o.observedAttributes.includes(t)&&this.syncTrigger(),t==="disabled"&&this.hasAttribute("disabled")&&this.close(!1))}onOutsidePointer=t=>{this.contains(t.target)||this.close(!1)};observe(){this.observer?.observe(this,{childList:!0,characterData:!0,subtree:!0,attributes:!0})}write(t){this.observer?.disconnect();try{t()}finally{this.observe()}}choices(){return Vn(this)}selectedChoice(){let t=this.value;return this.choices().find(e=>e.value===t)}buildControl(){let{trigger:t,valueSlot:e}=In({anchorName:this.anchorName,listboxId:this.listboxId,onToggle:()=>this.toggle(),onKeydown:n=>this.onTriggerKeydown(n)}),r=On({anchorName:this.anchorName,listboxId:this.listboxId,onKeydown:n=>this.onListboxKeydown(n)});this.append(t,r),this.trigger=t,this.valueSlot=e,this.listbox=r}syncTrigger(){let t=this.trigger,e=this.valueSlot;if(!t||!e)return;let r=this.getAttribute("label"),n=this.selectedChoice(),s=n?.label??this.getAttribute("placeholder")??"";this.write(()=>{t.disabled=this.hasAttribute("disabled"),r!==null&&(t.setAttribute("aria-label",r),this.listbox?.setAttribute("aria-label",r)),Pn(e,s,n?.icon??null)})}toggle(){this.open?this.close():this.openListbox()}openListbox(){let t=this.listbox,e=this.trigger;if(this.open||this.hasAttribute("disabled")||!t||!e)return;this.renderOptions(),this.open=!0,this.write(()=>{t.hidden=!1,e.setAttribute("aria-expanded","true")});let n=this.choices().findIndex(s=>s.value===this.value);this.setActive(Math.max(0,n)),document.addEventListener("pointerdown",this.onOutsidePointer,{capture:!0})}close(t=!0){let e=this.listbox,r=this.trigger;!this.open||!e||!r||(this.open=!1,this.write(()=>{e.hidden=!0,e.replaceChildren(),r.setAttribute("aria-expanded","false")}),document.removeEventListener("pointerdown",this.onOutsidePointer,!0),t&&r.focus())}renderOptions(){let t=this.listbox;if(!t)return;let e=this.choices().map((r,n)=>Dn({choice:r,id:`${this.listboxId}-opt-${n}`,selected:r.value===this.value,onPick:()=>this.commit(r.value),onHover:()=>this.setActive(n)}));this.write(()=>t.replaceChildren(...e))}setActive(t){if(!this.listbox)return;let e=[...this.listbox.children];if(e.length===0)return;this.activeIndex=Math.max(0,Math.min(t,e.length-1)),this.write(()=>{for(let[n,s]of e.entries())s.classList.toggle("is-active",n===this.activeIndex),s.tabIndex=n===this.activeIndex?0:-1});let r=e[this.activeIndex];r.focus(),r.scrollIntoView?.({block:"nearest"})}onTriggerKeydown(t){["ArrowDown","ArrowUp","Enter"," "].includes(t.key)&&(t.preventDefault(),this.openListbox())}onListboxKeydown(t){let e=this.choices().length-1;switch(t.key){case"ArrowDown":{this.setActive(this.activeIndex>=e?0:this.activeIndex+1);break}case"ArrowUp":{this.setActive(this.activeIndex<=0?e:this.activeIndex-1);break}case"Home":{this.setActive(0);break}case"End":{this.setActive(e);break}case"Enter":case" ":{this.commitActive();break}case"Escape":{this.close();break}case"Tab":{this.close(!1);return}default:{t.key.length===1&&this.onTypeahead(t.key);return}}t.preventDefault()}onTypeahead(t){this.typeahead+=t.toLowerCase(),this.typeaheadTimer!==void 0&&clearTimeout(this.typeaheadTimer),this.typeaheadTimer=setTimeout(()=>this.typeahead="",o5);let e=this.choices().findIndex(r=>!r.disabled&&r.label.toLowerCase().startsWith(this.typeahead));e!==-1&&this.setActive(e)}commitActive(){let t=this.choices()[this.activeIndex];t&&!t.disabled&&this.commit(t.value)}commit(t){let e=t!==this.value;this.value=t,this.close(),e&&this.dispatchEvent(new CustomEvent(t5,{detail:{value:t},bubbles:!0}))}};function Un(){typeof customElements>"u"||(customElements.get(qt)||customElements.define(qt,Me),customElements.get(zn)||customElements.define(zn,yo))}var $n=600,ye=6,Yt=4,r5=0,n5=16,i5=6,Fn="lw-tooltip",Ao=class extends HTMLElement{static observedAttributes=["text","position","delay-ms","max-width"];bubble;trigger;showTimer;pointer;get text(){return this.getAttribute("text")}set text(t){C(this,"text",t)}get position(){return this.getAttribute("position")??"top"}set position(t){C(this,"position",t)}connectedCallback(){b(this,"text"),b(this,"position"),this.render(),this.trigger=this.parentElement??void 0,this.trigger?.addEventListener("pointerenter",this.onEnter),this.trigger?.addEventListener("pointermove",this.onMove),this.trigger?.addEventListener("pointerleave",this.onLeave),this.trigger?.addEventListener("focusin",this.onFocusIn),this.trigger?.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){this.hide(),this.trigger?.removeEventListener("pointerenter",this.onEnter),this.trigger?.removeEventListener("pointermove",this.onMove),this.trigger?.removeEventListener("pointerleave",this.onLeave),this.trigger?.removeEventListener("focusin",this.onFocusIn),this.trigger?.removeEventListener("focusout",this.onFocusOut),this.trigger=void 0}attributeChangedCallback(){this.isConnected&&this.render()}onEnter=t=>this.scheduleShow(t);onMove=t=>{t.pointerType==="mouse"&&(this.pointer={x:t.clientX,y:t.clientY})};onLeave=()=>this.hide();onFocusIn=()=>this.scheduleShow();onFocusOut=()=>this.hide();render(){let t=(this.getAttribute("text")??"").trim();if(!t){this.bubble?.remove(),this.bubble=void 0;return}let e=this.bubble??this.createBubble();e.textContent=t,e.style.maxWidth=this.getAttribute("max-width")??"16rem"}createBubble(){let t=document.createElement("span");return t.className="lw-tooltip-bubble",t.setAttribute("role","tooltip"),t.setAttribute("popover","manual"),this.append(t),this.bubble=t,t}scheduleShow(t){t&&t.pointerType!=="mouse"||(this.pointer=t?{x:t.clientX,y:t.clientY}:void 0,this.clearTimer(),this.showTimer=setTimeout(()=>this.show(),this.delayMs()))}delayMs(){let t=this.getAttribute("delay-ms");if(t===null||t.trim()==="")return $n;let e=Number(t);return Number.isFinite(e)&&e>=0?e:$n}show(){let t=this.bubble;if(!(!t?.isConnected||typeof t.showPopover!="function")){try{t.showPopover()}catch{return}this.placeBubble(t)}}placeBubble(t){let e=t.getBoundingClientRect(),r,n;if(this.pointer){r=this.pointer.x+r5;let a=this.pointer.y+n5;n=a+e.height+Yt>window.innerHeight?this.pointer.y-e.height-i5:a}else if(this.trigger){let a=this.trigger.getBoundingClientRect(),d=a.left+a.width/2-e.width/2,p=a.top+a.height/2-e.height/2;switch(this.position){case"bottom":{[r,n]=[d,a.bottom+ye];break}case"left":{[r,n]=[a.left-e.width-ye,p];break}case"right":{[r,n]=[a.right+ye,p];break}default:[r,n]=[d,a.top-e.height-ye]}}else return;let s=window.innerWidth-e.width-Yt,c=window.innerHeight-e.height-Yt;t.style.left=`${Math.round(Math.max(Yt,Math.min(r,s)))}px`,t.style.top=`${Math.round(Math.max(Yt,Math.min(n,c)))}px`}hide(){this.clearTimer();let t=this.bubble;if(!(!t||typeof t.hidePopover!="function"))try{t.hidePopover()}catch{return}}clearTimer(){this.showTimer!==void 0&&(clearTimeout(this.showTimer),this.showTimer=void 0)}};function Gn(){typeof customElements<"u"&&!customElements.get(Fn)&&customElements.define(Fn,Ao)}function s5(o){let t=document.documentElement;for(let[e,r]of Object.entries(o.tokens??{}))t.style.setProperty(e,r);if(o.rootFontSize&&(t.style.fontSize=o.rootFontSize),o.theme){let e=o.theme==="dark";t.classList.toggle("dark",e),document.body?.classList.toggle("dark",e)}a5(o.icons)}function a5(o){let t=Object.entries(o??{});if(t.length!==0){for(let[e,r]of t)to(e,Je(r));for(let e of document.querySelectorAll(ut))e.refresh()}}function l5(){let o=new Map,t,e=r=>{let n=o.get(r);if(n)return n;let s={value:void 0,loaded:!1,listeners:[]};return o.set(r,s),t?.stateWatch(r),s};return{connect(r){t=r;for(let n of o.keys())r.stateWatch(n)},apply(r,n,s){let c=e(r);c.value=n,c.loaded=s;for(let a of c.listeners)a(n,s)},watch(r){let n=e(r);return{value:()=>n.value,loaded:()=>n.loaded,set:s=>{n.value=s,t?.stateSet(r,s)},clear:()=>{n.value=void 0,t?.stateClear(r)},dispose:()=>{o.delete(r),t?.stateUnwatch(r)},onChange:s=>{n.listeners.push(s)}}}}}function c5(){Gn(),Un(),Cn(),er(),_n(),en(),Zn(),Rn();let o=l5(),t={setIcon:(e,r)=>to(e,Je(r)),removeIcon:tn,hasIcon:Jr,applySurfaceState:s5,connectState:e=>(o.connect(e),o),state:o};return globalThis.LwFrame=t,t}c5();})();
|
|
69
69
|
/*! Bundled license information:
|
|
70
70
|
|
|
71
71
|
dompurify/dist/purify.es.mjs:
|
package/dist/lw-frame.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* @loomweaver/frame-kit 0.9.0-preview.
|
|
1
|
+
/* @loomweaver/frame-kit 0.9.0-preview.7 — lw-frame.css. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
|
|
2
2
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--spacing: .25rem;--text-xs: .75rem;--text-xs--line-height: calc(1 / .75);--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-base: 1rem;--text-base--line-height: 1.5 ;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--tracking-tight: -.025em;--radius-sm: .25rem;--radius-md: .375rem;--radius-lg: .5rem;--blur-xs: 4px;--default-transition-duration: .15s;--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);--default-font-family: var(--lw-font-sans);--default-mono-font-family: var(--lw-font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor;@supports (color: color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.relative{position:relative}.static{position:static}.prose{color:var(--tw-prose-body);max-width:65ch;:where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}:where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}:where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}:where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}:where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}:where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}:where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}:where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}:where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}:where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"\201c""\201d""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}:where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}:where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}:where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}:where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}:where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}:where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}:where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}:where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}:where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}:where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}:where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}:where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}:where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}:where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}:where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}:where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}:where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}:where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}:where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}:where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}:where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}:where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}:where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}:where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}:where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}:where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}:where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}--tw-prose-body: oklch(37.3% .034 259.733);--tw-prose-headings: oklch(21% .034 264.665);--tw-prose-lead: oklch(44.6% .03 256.802);--tw-prose-links: oklch(21% .034 264.665);--tw-prose-bold: oklch(21% .034 264.665);--tw-prose-counters: oklch(55.1% .027 264.364);--tw-prose-bullets: oklch(87.2% .01 258.338);--tw-prose-hr: oklch(92.8% .006 264.531);--tw-prose-quotes: oklch(21% .034 264.665);--tw-prose-quote-borders: oklch(92.8% .006 264.531);--tw-prose-captions: oklch(55.1% .027 264.364);--tw-prose-kbd: oklch(21% .034 264.665);--tw-prose-kbd-shadows: color-mix(in oklab, oklch(21% .034 264.665) 10%, transparent);--tw-prose-code: oklch(21% .034 264.665);--tw-prose-pre-code: oklch(92.8% .006 264.531);--tw-prose-pre-bg: oklch(27.8% .033 256.848);--tw-prose-th-borders: oklch(87.2% .01 258.338);--tw-prose-td-borders: oklch(92.8% .006 264.531);--tw-prose-invert-body: oklch(87.2% .01 258.338);--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: oklch(70.7% .022 261.325);--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: oklch(70.7% .022 261.325);--tw-prose-invert-bullets: oklch(44.6% .03 256.802);--tw-prose-invert-hr: oklch(37.3% .034 259.733);--tw-prose-invert-quotes: oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders: oklch(37.3% .034 259.733);--tw-prose-invert-captions: oklch(70.7% .022 261.325);--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: oklch(44.6% .03 256.802);--tw-prose-invert-td-borders: oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75;:where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}:where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}:where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}:where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}:where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}:where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}:where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}.prose-sm{font-size:.875rem;line-height:1.7142857;:where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}:where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}:where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}:where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}:where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}:where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}:where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}:where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}:where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}:where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}:where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}:where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}:where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}:where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}:where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}:where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}:where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}:where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}:where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}:where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}:where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}:where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}:where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}:where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}:where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}:where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}:where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}:where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}:where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}.mt-2{margin-top:calc(var(--spacing) * 2)}.block{display:block}.hidden{display:none}.inline{display:inline}.max-w-none{max-width:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.shadow{--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.prose-lw{--tw-prose-body: var(--lw-content);--tw-prose-headings: var(--lw-content);--tw-prose-lead: var(--lw-content-muted);--tw-prose-links: var(--lw-brand);--tw-prose-bold: var(--lw-content);--tw-prose-counters: var(--lw-content-muted);--tw-prose-bullets: var(--lw-border);--tw-prose-hr: var(--lw-border);--tw-prose-quotes: var(--lw-content);--tw-prose-quote-borders: var(--lw-border);--tw-prose-captions: var(--lw-content-muted);--tw-prose-code: var(--lw-content);--tw-prose-pre-code: var(--lw-content);--tw-prose-pre-bg: var(--lw-surface-overlay);--tw-prose-th-borders: var(--lw-border);--tw-prose-td-borders: var(--lw-border)}}@layer lw-base,lw-plugin-theme,lw-tenant-theme;@layer lw-base{:root{color-scheme:light;--lw-brand: #2e96c9;--lw-brand-strong: #2680b0;--lw-brand-text: #256f92;--lw-brand-fill: #1d7099;--lw-on-brand: #ffffff;--lw-accent: #c59a2f;--lw-accent-strong: #a8821f;--lw-surface: #f7f9fb;--lw-surface-raised: #ffffff;--lw-surface-overlay: #eef2f6;--lw-field: #ffffff;--lw-border: #e2e8f0;--lw-content: #1f2933;--lw-content-muted: #5b6b7a;--lw-content-faint: #5f7082;--lw-tooltip: #2b3542;--lw-tooltip-content: #f7f9fb;--lw-positive: #1f7a43;--lw-on-positive: #ffffff;--lw-negative: #d14343;--lw-negative-fill: #c62d2d;--lw-on-negative: #ffffff;--lw-caution: #b8841f;--lw-on-caution: #0f1419;--lw-info: #1d7099;--lw-on-info: #ffffff;--lw-scrim: rgb(0 0 0 / .4);--lw-scroll-thumb: rgb(31 41 51 / .28);--lw-scroll-track: transparent;--lw-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--lw-font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", monospace}:root.dark{color-scheme:dark;--lw-brand: #4aa9d6;--lw-brand-strong: #6cbce0;--lw-brand-text: #4aa9d6;--lw-brand-fill: #4aa9d6;--lw-on-brand: #0f1419;--lw-accent: #d9b250;--lw-accent-strong: #e6c878;--lw-surface: #14191f;--lw-surface-raised: #1b222a;--lw-surface-overlay: #232c36;--lw-field: #1b222a;--lw-border: #2d3743;--lw-content: #e6edf3;--lw-content-muted: #9aa7b4;--lw-content-faint: #8695a4;--lw-tooltip: #e6edf3;--lw-tooltip-content: #14191f;--lw-positive: #46c178;--lw-on-positive: #0f1419;--lw-negative: #e06464;--lw-negative-fill: #c62d2d;--lw-on-negative: #ffffff;--lw-caution: #d9b250;--lw-on-caution: #14191f;--lw-info: #4aa9d6;--lw-on-info: #0f1419;--lw-scrim: rgb(0 0 0 / .6);--lw-scroll-thumb: rgb(226 232 240 / .28);--lw-scroll-track: transparent}}@layer components{.lw-btn{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}height:calc(var(--spacing) * 9);padding-inline:calc(var(--spacing) * 3);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height))}.lw-btn:disabled,.lw-btn[aria-disabled=true]{pointer-events:none;opacity:50%}.lw-btn--primary{background-color:var(--lw-brand-fill);color:var(--lw-on-brand);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--default{border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-raised);color:var(--lw-content);&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}}.lw-btn--success{background-color:var(--lw-positive);color:var(--lw-on-positive);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--danger{background-color:var(--lw-negative-fill);color:var(--lw-on-negative);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--warning{background-color:var(--lw-caution);color:var(--lw-on-caution);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--info{background-color:var(--lw-info);color:var(--lw-on-info);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--ghost{color:var(--lw-content-muted);&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:hover{@media(hover:hover){color:var(--lw-content)}}}.lw-btn--sm{height:calc(var(--spacing) * 7);padding-inline:calc(var(--spacing) * 2);font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height))}.lw-btn--icon{aspect-ratio:1 / 1;padding-inline:0px}.lw-icon-btn{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center;border-radius:.25rem;color:var(--lw-content-faint);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:hover{@media(hover:hover){color:var(--lw-content)}}}.lw-rail-initials{font-family:var(--lw-font-sans);font-size:.75rem;--tw-leading: 1;line-height:1;--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal);--tw-tracking: var(--tracking-tight);letter-spacing:var(--tracking-tight);text-transform:uppercase;-webkit-user-select:none;user-select:none}.lw-chrome-picture{flex-shrink:0;border-radius:calc(infinity * 1px);object-fit:cover}.lw-segmented{margin:0;display:inline-flex;height:calc(var(--spacing) * 8.5);align-items:center;gap:calc(var(--spacing) * .5);border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding:calc(var(--spacing) * .5)}.lw-segmented-item{position:relative;display:flex;height:calc(var(--spacing) * 7);width:calc(var(--spacing) * 7);align-items:center;justify-content:center;border-radius:.25rem;color:var(--lw-content-muted);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){color:var(--lw-content)}}}.lw-segmented-item[aria-pressed=true]{background-color:var(--lw-surface-raised);color:var(--lw-brand);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.lw-field{display:block;width:100%;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-field);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&::placeholder{color:var(--lw-content-faint)}&:focus-visible{border-color:var(--lw-brand)}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:0px}&:focus-visible{outline-color:var(--lw-brand)}&:disabled{cursor:not-allowed}&:disabled{opacity:60%}}.lw-field--invalid{border-color:var(--lw-negative);&:focus-visible{border-color:var(--lw-negative)}&:focus-visible{outline-color:var(--lw-negative)}}textarea.lw-field{min-height:calc(var(--spacing) * 20);resize:vertical}.lw-checkbox{height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);flex-shrink:0;cursor:pointer;accent-color:var(--lw-brand)}.lw-checkbox:disabled{cursor:not-allowed;opacity:60%}.lw-progress{height:calc(var(--spacing) * 2);width:100%;appearance:none;overflow:hidden;border-radius:calc(infinity * 1px);border-style:var(--tw-border-style);border-width:0px;background:var(--lw-border)}.lw-progress::-webkit-progress-bar{background:var(--lw-border)}.lw-progress::-webkit-progress-value{background:var(--lw-brand);border-radius:9999px}.lw-progress::-moz-progress-bar{background:var(--lw-brand);border-radius:9999px}lw-progress-ring{display:inline-block;vertical-align:middle}.lw-progress-ring-svg{display:block;height:100%;width:100%}.lw-progress-ring-track{fill:none;stroke:var(--lw-border);stroke-width:3.5}.lw-progress-ring-value{fill:none;stroke:var(--lw-brand);stroke-width:3.5;stroke-linecap:round;transition:stroke-dashoffset .3s ease}.lw-progress-ring-text{fill:var(--lw-content);font-size:10px;font-weight:600;text-anchor:middle;dominant-baseline:central}.lw-divider{border-style:var(--tw-border-style);border-width:0px;border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--lw-border);margin:0}.lw-divider--vertical{height:100%;align-self:stretch;border-top-style:var(--tw-border-style);border-top-width:0px;border-left-style:var(--tw-border-style);border-left-width:1px;border-color:var(--lw-border)}.lw-collapsible{overflow:hidden;border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border)}.lw-collapsible>summary{display:flex;cursor:pointer;list-style-type:none;align-items:center;gap:calc(var(--spacing) * 3);background-color:var(--lw-surface-raised);padding-inline:calc(var(--spacing) * 4);padding-block:calc(var(--spacing) * 2.5);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:-2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-collapsible>summary::-webkit-details-marker{display:none}.lw-collapsible>summary:after{content:"";margin-left:auto;height:calc(var(--spacing) * 2);width:calc(var(--spacing) * 2);flex-shrink:0;border-right-style:var(--tw-border-style);border-right-width:2px;border-bottom-style:var(--tw-border-style);border-bottom-width:2px;border-color:var(--lw-content-muted);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));transform:translateY(-1px) rotate(45deg)}.lw-collapsible[open]>summary:after{transform:translateY(1px) rotate(-135deg)}.lw-collapsible-body{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--lw-border);padding-inline:calc(var(--spacing) * 4);padding-block:calc(var(--spacing) * 3);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content-muted)}.lw-badge{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:var(--spacing);border-radius:calc(infinity * 1px);background-color:var(--lw-surface-overlay);padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * .5);font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);white-space:nowrap;color:var(--lw-content-muted);min-width:1.5rem}.lw-badge--brand{background-color:var(--lw-brand-fill);color:var(--lw-on-brand)}.lw-badge--success{background-color:var(--lw-positive);color:var(--lw-on-positive)}.lw-badge--danger{background-color:var(--lw-negative-fill);color:var(--lw-on-negative)}.lw-radio{height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);flex-shrink:0;cursor:pointer;accent-color:var(--lw-brand)}.lw-radio:disabled{cursor:not-allowed;opacity:60%}.lw-range{height:calc(var(--spacing) * 2);width:100%;cursor:pointer;appearance:none;border-radius:calc(infinity * 1px);background-color:var(--lw-border);&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-range::-webkit-slider-thumb{-webkit-appearance:none;height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);border-radius:calc(infinity * 1px);background-color:var(--lw-brand);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.lw-range::-moz-range-thumb{height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);border-radius:calc(infinity * 1px);border-style:var(--tw-border-style);border-width:0px;background-color:var(--lw-brand);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.lw-range:disabled{cursor:not-allowed;opacity:60%}.lw-switch{position:relative;height:calc(var(--spacing) * 5);width:calc(var(--spacing) * 9);flex-shrink:0;cursor:pointer;appearance:none;border-radius:calc(infinity * 1px);background-color:var(--lw-border);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-switch:before{content:"";position:absolute;top:calc(var(--spacing) * .5);left:calc(var(--spacing) * .5);height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);border-radius:calc(infinity * 1px);background-color:var(--lw-surface);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.lw-switch:checked{background-color:var(--lw-brand)}.lw-switch:checked:before{--tw-translate-x: calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.lw-switch:disabled{cursor:not-allowed;opacity:60%}.lw-scrim{background-color:var(--lw-scrim);--tw-backdrop-blur: blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.cdk-visually-hidden{position:absolute;left:0;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;outline:0;appearance:none}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-drag-preview{border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-raised);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cdk-drag-placeholder{opacity:30%}.cdk-drag-animating,.cdk-drop-list-dragging .cdk-drag:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.lw-pane-drop-preview{pointer-events:none;position:absolute;border-radius:var(--radius-sm);border-style:var(--tw-border-style);border-width:1px;--tw-border-style: dashed;border-style:dashed;border-color:transparent;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.lw-pane-drop-zone.cdk-drop-list-dragging .lw-pane-drop-preview{border-color:var(--lw-brand);background-color:var(--lw-brand);@supports (color: color-mix(in lab,red,red)){background-color:color-mix(in oklab,var(--lw-brand) 15%,transparent)}}.lw-pane-drop-preview--left{inset:0 50% 0 0}.lw-pane-drop-preview--right{inset:0 0 0 50%}.lw-pane-drop-preview--top{inset:0 0 50%}.lw-pane-drop-preview--bottom{inset:50% 0 0}.lw-pane-drop-preview--fill{inset:0}.lw-pane-animate{transition:flex-grow .16s ease,flex-basis .16s ease}.lw-pane-minimized-strip{animation:lw-fade-in .16s ease-out;overflow:hidden}lw-content-grid.fixed{animation:lw-maximize-in .14s ease-out}@keyframes lw-fade-in{0%{opacity:0}to{opacity:1}}@keyframes lw-maximize-in{0%{opacity:.4}to{opacity:1}}lw-tooltip{position:absolute;inset:0;pointer-events:none}.lw-tooltip-bubble{border-radius:var(--radius-md);background-color:var(--lw-tooltip);padding-inline:calc(var(--spacing) * 2);padding-block:var(--spacing);font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal);color:var(--lw-tooltip-content);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;inset:auto;margin:0;border:0;width:max-content;white-space:normal;pointer-events:none}body.lw-menu-open .lw-tooltip-bubble{display:none!important}lw-select{position:relative;display:inline-block}lw-select>lw-option{display:none}.lw-select-trigger{display:flex;height:calc(var(--spacing) * 8.5);align-items:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding-inline:calc(var(--spacing) * 2);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-raised)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}&:disabled{cursor:not-allowed}&:disabled{opacity:50%}&:disabled{&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}}}.lw-select-value{display:flex;align-items:center;gap:calc(var(--spacing) * 1.5)}.lw-select-chevron{font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));color:var(--lw-content-muted)}.lw-select-listbox{z-index:50;min-width:calc(var(--spacing) * 40);overflow:auto;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding-block:var(--spacing);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;position-area:block-end span-inline-end;position-try-fallbacks:flip-block,flip-inline;max-height:16rem;margin-top:.25rem}.lw-select-option{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing) * 2);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 1.5);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));outline:none}.lw-select-option:hover,.lw-select-option.is-active{background-color:var(--lw-surface-raised)}.lw-select-option[aria-selected=true]{color:var(--lw-brand-text)}.lw-select-option[aria-disabled=true]{pointer-events:none;opacity:50%}.lw-select-glyph{font-size:var(--text-base);line-height:var(--tw-leading, var(--text-base--line-height));--tw-leading: 1;line-height:1}lw-menu{z-index:50;min-width:calc(var(--spacing) * 44);overflow:auto;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding-block:var(--spacing);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;max-height:24rem;outline:none}lw-menu-item{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing) * 2);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 1.5);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));outline:none}lw-menu-item:hover,lw-menu-item:focus{background-color:var(--lw-surface-raised)}lw-menu-item[aria-disabled=true]{pointer-events:none;opacity:50%}.lw-menu-item-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-menu-item-shortcut{margin-left:calc(var(--spacing) * 4);flex-shrink:0;font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));color:var(--lw-content-muted)}.lw-menu-item-lead{display:none;width:calc(var(--spacing) * 4);flex-shrink:0;align-items:center;justify-content:center;color:var(--lw-content-muted)}.lw-menu--leading .lw-menu-item-lead{display:flex}.lw-menu-separator{margin-block:var(--spacing);border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--lw-border);height:0}.lw-menu-header{margin-top:calc(var(--spacing) * -1);margin-bottom:var(--spacing);display:flex;align-items:center;gap:calc(var(--spacing) * 2);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--lw-border);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2)}.lw-menu-header-mark{display:flex;height:calc(var(--spacing) * 7);width:calc(var(--spacing) * 7);flex-shrink:0;align-items:center;justify-content:center;border-radius:calc(infinity * 1px);background-color:var(--lw-surface-raised);color:var(--lw-content-muted);font-family:var(--lw-font-sans);font-size:.75rem;--tw-leading: 1;line-height:1;--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal);--tw-tracking: var(--tracking-tight);letter-spacing:var(--tracking-tight);text-transform:uppercase;-webkit-user-select:none;user-select:none}.lw-menu-header-picture{height:100%;width:100%;border-radius:calc(infinity * 1px);object-fit:cover}.lw-menu-header-lines{display:flex;min-width:0px;flex-direction:column}.lw-menu-header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold);color:var(--lw-content)}.lw-menu-header-detail{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));color:var(--lw-content-muted)}lw-nav-tree{display:flex;height:100%;flex-direction:column;gap:var(--spacing);overflow-y:auto;padding-inline:calc(var(--spacing) * 1.5);padding-block:calc(var(--spacing) * 2)}lw-nav-group{display:flex;flex-direction:column}.lw-nav-group-heading{display:flex;width:100%;align-items:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * 1.5);text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-nav-group-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-nav-group-heading:disabled{cursor:default;color:var(--lw-content-faint);&:hover{@media(hover:hover){background-color:transparent}}}.lw-nav-chevron{flex-shrink:0;color:var(--lw-content-faint);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}lw-nav-group[data-open=false] .lw-nav-chevron{transform:rotate(-90deg)}lw-nav-group[data-open=false]>lw-nav-item{display:none}lw-nav-item{display:flex;width:100%;align-items:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * 1.5);text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content-muted);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:hover{@media(hover:hover){color:var(--lw-content)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-nav-item-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-nav-glyph{flex-shrink:0}lw-nav-item[aria-current=page]{background-color:var(--lw-surface-raised);--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--lw-content);--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}lw-nav-item[aria-current=page] .lw-nav-glyph{color:var(--lw-brand)}}@layer base{button:not(:disabled),[role=button]:not([aria-disabled=true]){cursor:pointer}}html,body{margin:0}@layer base{:root{scrollbar-color:var(--lw-scroll-thumb) var(--lw-scroll-track)}*{scrollbar-width:thin}}body{font-family:var(--lw-font-sans);background:var(--lw-surface);color:var(--lw-content)}@media(prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.lw-spinner-ring{animation-duration:.8s!important;animation-iteration-count:infinite!important}}@property --tw-rotate-x{syntax: "*"; inherits: false;}@property --tw-rotate-y{syntax: "*"; inherits: false;}@property --tw-rotate-z{syntax: "*"; inherits: false;}@property --tw-skew-x{syntax: "*"; inherits: false;}@property --tw-skew-y{syntax: "*"; inherits: false;}@property --tw-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: "*"; inherits: false;}@property --tw-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: "*"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: "*"; inherits: false;}@property --tw-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: "*"; inherits: false;}@property --tw-inset-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: "*"; inherits: false;}@property --tw-ring-offset-width{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: "*"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-outline-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-blur{syntax: "*"; inherits: false;}@property --tw-brightness{syntax: "*"; inherits: false;}@property --tw-contrast{syntax: "*"; inherits: false;}@property --tw-grayscale{syntax: "*"; inherits: false;}@property --tw-hue-rotate{syntax: "*"; inherits: false;}@property --tw-invert{syntax: "*"; inherits: false;}@property --tw-opacity{syntax: "*"; inherits: false;}@property --tw-saturate{syntax: "*"; inherits: false;}@property --tw-sepia{syntax: "*"; inherits: false;}@property --tw-drop-shadow{syntax: "*"; inherits: false;}@property --tw-drop-shadow-color{syntax: "*"; inherits: false;}@property --tw-drop-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-drop-shadow-size{syntax: "*"; inherits: false;}@property --tw-font-weight{syntax: "*"; inherits: false;}@property --tw-border-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-leading{syntax: "*"; inherits: false;}@property --tw-tracking{syntax: "*"; inherits: false;}@property --tw-translate-x{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-y{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-z{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-backdrop-blur{syntax: "*"; inherits: false;}@property --tw-backdrop-brightness{syntax: "*"; inherits: false;}@property --tw-backdrop-contrast{syntax: "*"; inherits: false;}@property --tw-backdrop-grayscale{syntax: "*"; inherits: false;}@property --tw-backdrop-hue-rotate{syntax: "*"; inherits: false;}@property --tw-backdrop-invert{syntax: "*"; inherits: false;}@property --tw-backdrop-opacity{syntax: "*"; inherits: false;}@property --tw-backdrop-saturate{syntax: "*"; inherits: false;}@property --tw-backdrop-sepia{syntax: "*"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x: initial;--tw-rotate-y: initial;--tw-rotate-z: initial;--tw-skew-x: initial;--tw-skew-y: initial;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-outline-style: solid;--tw-blur: initial;--tw-brightness: initial;--tw-contrast: initial;--tw-grayscale: initial;--tw-hue-rotate: initial;--tw-invert: initial;--tw-opacity: initial;--tw-saturate: initial;--tw-sepia: initial;--tw-drop-shadow: initial;--tw-drop-shadow-color: initial;--tw-drop-shadow-alpha: 100%;--tw-drop-shadow-size: initial;--tw-font-weight: initial;--tw-border-style: solid;--tw-leading: initial;--tw-tracking: initial;--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-backdrop-blur: initial;--tw-backdrop-brightness: initial;--tw-backdrop-contrast: initial;--tw-backdrop-grayscale: initial;--tw-backdrop-hue-rotate: initial;--tw-backdrop-invert: initial;--tw-backdrop-opacity: initial;--tw-backdrop-saturate: initial;--tw-backdrop-sepia: initial}}}
|
package/dist/lw-frame.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @loomweaver/frame-kit 0.9.0-preview.
|
|
1
|
+
/* @loomweaver/frame-kit 0.9.0-preview.7 — lw-frame.d.ts. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
|
|
2
2
|
interface LwSurfaceRenderState {
|
|
3
3
|
readonly theme?: 'light' | 'dark';
|
|
4
4
|
readonly tokens?: Readonly<Record<string, string>>;
|
package/dist/penpal.global.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* @loomweaver/frame-kit 0.9.0-preview.
|
|
1
|
+
/* @loomweaver/frame-kit 0.9.0-preview.7 — penpal.global.js. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
|
|
2
2
|
var Penpal=(()=>{var _=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var J=Object.getOwnPropertyNames;var X=Object.prototype.hasOwnProperty;var q=(e,t)=>{for(var r in t)_(e,r,{get:t[r],enumerable:!0})},B=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of J(t))!X.call(e,s)&&s!==r&&_(e,s,{get:()=>t[s],enumerable:!(n=G(t,s))||n.enumerable});return e};var Q=e=>B(_({},"__esModule",{value:!0}),e);var Fe={};q(Fe,{CallOptions:()=>j,ErrorCode:()=>be,PenpalError:()=>d,PortMessenger:()=>Le,Reply:()=>F,WindowMessenger:()=>Pe,WorkerMessenger:()=>_e,connect:()=>me,debug:()=>He});var Z=class extends Error{code;constructor(e,t){super(t),this.name="PenpalError",this.code=e}},d=Z,ee=e=>({name:e.name,message:e.message,stack:e.stack,penpalCode:e instanceof d?e.code:void 0}),te=({name:e,message:t,stack:r,penpalCode:n})=>{let s=n?new d(n,t):new Error(t);return s.name=e,s.stack=r,s},re=Symbol("Reply"),se=class{value;transferables;#e=re;constructor(e,t){this.value=e,this.transferables=t?.transferables}},F=se,v="penpal",m=e=>typeof e=="object"&&e!==null,U=e=>typeof e=="function",ne=e=>m(e)&&e.namespace===v,I=e=>e.type==="SYN",R=e=>e.type==="ACK1",A=e=>e.type==="ACK2",x=e=>e.type==="CALL",$=e=>e.type==="REPLY",ae=e=>e.type==="DESTROY",V=(e,t=[])=>{let r=[];for(let n of Object.keys(e)){let s=e[n];U(s)?r.push([...t,n]):m(s)&&r.push(...V(s,[...t,n]))}return r},ie=(e,t)=>{let r=e.reduce((n,s)=>m(n)?n[s]:void 0,t);return U(r)?r:void 0},y=e=>e.join("."),D=(e,t,r)=>({namespace:v,channel:e,type:"REPLY",callId:t,isError:!0,...r instanceof Error?{value:ee(r),isSerializedErrorInstance:!0}:{value:r}}),oe=(e,t,r,n)=>{let s=!1,u=async f=>{if(s||!x(f))return;n?.(`Received ${y(f.methodPath)}() call`,f);let{methodPath:p,args:c,id:i}=f,a,M;try{let l=ie(p,t);if(!l)throw new d("METHOD_NOT_FOUND",`Method \`${y(p)}\` is not found.`);let h=await l(...c);h instanceof F&&(M=h.transferables,h=await h.value),a={namespace:v,channel:r,type:"REPLY",callId:i,value:h}}catch(l){a=D(r,i,l)}if(!s)try{n?.(`Sending ${y(p)}() reply`,a),e.sendMessage(a,M)}catch(l){throw l.name==="DataCloneError"&&(a=D(r,i,l),n?.(`Sending ${y(p)}() reply`,a),e.sendMessage(a)),l}};return e.addMessageHandler(u),()=>{s=!0,e.removeMessageHandler(u)}},de=oe,Y=crypto.randomUUID?.bind(crypto)??(()=>new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")),le=Symbol("CallOptions"),ce=class{transferables;timeout;#e=le;constructor(e){this.transferables=e?.transferables,this.timeout=e?.timeout}},j=ce,he=new Set(["apply","call","bind"]),W=(e,t,r=[])=>new Proxy(r.length?()=>{}:Object.create(null),{get(n,s){if(s!=="then")return r.length&&he.has(s)?Reflect.get(n,s):W(e,t,[...r,s])},apply(n,s,u){return e(r,u)}}),b=e=>new d("CONNECTION_DESTROYED",`Method call ${y(e)}() failed due to destroyed connection`),ue=(e,t,r)=>{let n=!1,s=new Map,u=c=>{if(!$(c))return;let{callId:i,value:a,isError:M,isSerializedErrorInstance:l}=c,h=s.get(i);h&&(s.delete(i),r?.(`Received ${y(h.methodPath)}() call`,c),M?h.reject(l?te(a):a):h.resolve(a))};return e.addMessageHandler(u),{remoteProxy:W((c,i)=>{if(n)throw b(c);let a=Y(),M=i[i.length-1],l=M instanceof j,{timeout:h,transferables:P}=l?M:{},S=l?i.slice(0,-1):i;return new Promise((N,w)=>{let T=h!==void 0?window.setTimeout(()=>{s.delete(a),w(new d("METHOD_CALL_TIMEOUT",`Method call ${y(c)}() timed out after ${h}ms`))},h):void 0;s.set(a,{methodPath:c,resolve:N,reject:w,timeoutId:T});try{let E={namespace:v,channel:t,type:"CALL",id:a,methodPath:c,args:S};r?.(`Sending ${y(c)}() call`,E),e.sendMessage(E,P)}catch(E){w(new d("TRANSMISSION_FAILED",E.message))}})},r),destroy:()=>{n=!0,e.removeMessageHandler(u);for(let{methodPath:c,reject:i,timeoutId:a}of s.values())clearTimeout(a),i(b(c));s.clear()}}},fe=ue,ve=()=>{let e,t;return{promise:new Promise((n,s)=>{e=n,t=s}),resolve:e,reject:t}},pe=ve,O="deprecated-penpal",Me=e=>m(e)&&"penpal"in e,ye=e=>e.split("."),k=e=>e.join("."),ge=e=>{try{return JSON.stringify(e)}catch{return String(e)}},z=e=>new d("TRANSMISSION_FAILED",`Unexpected message to translate: ${ge(e)}`),Ee=e=>{if(e.penpal==="syn")return{namespace:v,channel:void 0,type:"SYN",participantId:O};if(e.penpal==="ack")return{namespace:v,channel:void 0,type:"ACK2"};if(e.penpal==="call")return{namespace:v,channel:void 0,type:"CALL",id:e.id,methodPath:ye(e.methodName),args:e.args};if(e.penpal==="reply")return e.resolution==="fulfilled"?{namespace:v,channel:void 0,type:"REPLY",callId:e.id,value:e.returnValue}:{namespace:v,channel:void 0,type:"REPLY",callId:e.id,isError:!0,...e.returnValueIsError?{value:e.returnValue,isSerializedErrorInstance:!0}:{value:e.returnValue}};throw z(e)},Ie=e=>{if(R(e))return{penpal:"synAck",methodNames:e.methodPaths.map(k)};if(x(e))return{penpal:"call",id:e.id,methodName:k(e.methodPath),args:e.args};if($(e))return e.isError?{penpal:"reply",id:e.callId,resolution:"rejected",...e.isSerializedErrorInstance?{returnValue:e.value,returnValueIsError:!0}:{returnValue:e.value}}:{penpal:"reply",id:e.callId,resolution:"fulfilled",returnValue:e.value};throw z(e)},we=({messenger:e,methods:t,timeout:r,channel:n,log:s})=>{let u=Y(),f,p=[],c=!1,i=V(t),{promise:a,resolve:M,reject:l}=pe(),h=r!==void 0?setTimeout(()=>{l(new d("CONNECTION_TIMEOUT",`Connection timed out after ${r}ms`))},r):void 0,P=()=>{for(let o of p)o()},S=()=>{if(c)return;p.push(de(e,t,n,s));let{remoteProxy:o,destroy:g}=fe(e,n,s);p.push(g),clearTimeout(h),c=!0,M({remoteProxy:o,destroy:P})},N=()=>{let o={namespace:v,type:"SYN",channel:n,participantId:u};s?.("Sending handshake SYN",o);try{e.sendMessage(o)}catch(g){l(new d("TRANSMISSION_FAILED",g.message))}},w=o=>{if(s?.("Received handshake SYN",o),o.participantId===f&&f!==O||(f=o.participantId,N(),!(u>f||f===O)))return;let C={namespace:v,channel:n,type:"ACK1",methodPaths:i};s?.("Sending handshake ACK1",C);try{e.sendMessage(C)}catch(K){l(new d("TRANSMISSION_FAILED",K.message));return}},T=o=>{s?.("Received handshake ACK1",o);let g={namespace:v,channel:n,type:"ACK2"};s?.("Sending handshake ACK2",g);try{e.sendMessage(g)}catch(C){l(new d("TRANSMISSION_FAILED",C.message));return}S()},E=o=>{s?.("Received handshake ACK2",o),S()},L=o=>{I(o)&&w(o),R(o)&&T(o),A(o)&&E(o)};return e.addMessageHandler(L),p.push(()=>e.removeMessageHandler(L)),N(),a},Ae=we,Se=e=>{let t=!1,r;return(...n)=>(t||(t=!0,r=e(...n)),r)},Ne=Se,H=new WeakSet,Ce=({messenger:e,methods:t={},timeout:r,channel:n,log:s})=>{if(!e)throw new d("INVALID_ARGUMENT","messenger must be defined");if(H.has(e))throw new d("INVALID_ARGUMENT","A messenger can only be used for a single connection");H.add(e);let u=[e.destroy],f=Ne(i=>{if(i){let a={namespace:v,channel:n,type:"DESTROY"};try{e.sendMessage(a)}catch{}}for(let a of u)a();s?.("Connection destroyed")}),p=i=>ne(i)&&i.channel===n;return{promise:(async()=>{try{e.initialize({log:s,validateReceivedMessage:p}),e.addMessageHandler(M=>{ae(M)&&f(!1)});let{remoteProxy:i,destroy:a}=await Ae({messenger:e,methods:t,timeout:r,channel:n,log:s});return u.push(a),i}catch(i){throw f(!0),i}})(),destroy:()=>{f(!0)}}},me=Ce,Re=class{#e;#a;#s;#n;#r;#i=new Set;#t;#o=!1;constructor({remoteWindow:e,allowedOrigins:t}){if(!e)throw new d("INVALID_ARGUMENT","remoteWindow must be defined");this.#e=e,this.#a=t?.length?t:[window.origin]}initialize=({log:e,validateReceivedMessage:t})=>{this.#s=e,this.#n=t,window.addEventListener("message",this.#h)};sendMessage=(e,t)=>{if(I(e)){let r=this.#d(e);this.#e.postMessage(e,{targetOrigin:r,transfer:t});return}if(R(e)||this.#o){let r=this.#o?Ie(e):e,n=this.#d(e);this.#e.postMessage(r,{targetOrigin:n,transfer:t});return}if(A(e)){let{port1:r,port2:n}=new MessageChannel;this.#t=r,r.addEventListener("message",this.#l),r.start();let s=[n,...t||[]],u=this.#d(e);this.#e.postMessage(e,{targetOrigin:u,transfer:s});return}if(this.#t){this.#t.postMessage(e,{transfer:t});return}throw new d("TRANSMISSION_FAILED","Cannot send message because the MessagePort is not connected")};addMessageHandler=e=>{this.#i.add(e)};removeMessageHandler=e=>{this.#i.delete(e)};destroy=()=>{window.removeEventListener("message",this.#h),this.#c(),this.#i.clear()};#u=e=>this.#a.some(t=>t instanceof RegExp?t.test(e):t===e||t==="*");#d=e=>{if(I(e))return"*";if(!this.#r)throw new d("TRANSMISSION_FAILED","Cannot send message because the remote origin is not established");return this.#r==="null"&&this.#a.includes("*")?"*":this.#r};#c=()=>{this.#t?.removeEventListener("message",this.#l),this.#t?.close(),this.#t=void 0};#h=({source:e,origin:t,ports:r,data:n})=>{if(e===this.#e){if(Me(n)){this.#s?.("Please upgrade the child window to the latest version of Penpal."),this.#o=!0;try{n=Ee(n)}catch(s){this.#s?.(`Failed to translate deprecated message: ${s.message}`);return}}if(this.#n?.(n)){if(!this.#u(t)){this.#s?.(`Received a message from origin \`${t}\` which did not match allowed origins \`[${this.#a.join(", ")}]\``);return}if(I(n)&&(this.#c(),this.#r=t),A(n)&&!this.#o){if(this.#t=r[0],!this.#t){this.#s?.("Ignoring ACK2 because it did not include a MessagePort");return}this.#t.addEventListener("message",this.#l),this.#t.start()}for(let s of this.#i)s(n)}}};#l=({data:e})=>{if(this.#n?.(e))for(let t of this.#i)t(e)}},Pe=Re,Te=class{#e;#a;#s;#n=new Set;#r;constructor({worker:e}){if(!e)throw new d("INVALID_ARGUMENT","worker must be defined");this.#e=e}initialize=({log:e,validateReceivedMessage:t})=>{this.#a=e,this.#s=t,this.#e.addEventListener("message",this.#t)};sendMessage=(e,t)=>{if(I(e)||R(e)){this.#e.postMessage(e,{transfer:t});return}if(A(e)){let{port1:r,port2:n}=new MessageChannel;this.#r=r,r.addEventListener("message",this.#t),r.start(),this.#e.postMessage(e,{transfer:[n,...t||[]]});return}if(this.#r){this.#r.postMessage(e,{transfer:t});return}throw new d("TRANSMISSION_FAILED","Cannot send message because the MessagePort is not connected")};addMessageHandler=e=>{this.#n.add(e)};removeMessageHandler=e=>{this.#n.delete(e)};destroy=()=>{this.#e.removeEventListener("message",this.#t),this.#i(),this.#n.clear()};#i=()=>{this.#r?.removeEventListener("message",this.#t),this.#r?.close(),this.#r=void 0};#t=({ports:e,data:t})=>{if(this.#s?.(t)){if(I(t)&&this.#i(),A(t)){if(this.#r=e[0],!this.#r){this.#a?.("Ignoring ACK2 because it did not include a MessagePort");return}this.#r.addEventListener("message",this.#t),this.#r.start()}for(let r of this.#n)r(t)}}},_e=Te,Oe=class{#e;#a;#s=new Set;constructor({port:e}){if(!e)throw new d("INVALID_ARGUMENT","port must be defined");this.#e=e}initialize=({validateReceivedMessage:e})=>{this.#a=e,this.#e.addEventListener("message",this.#n),this.#e.start()};sendMessage=(e,t)=>{this.#e?.postMessage(e,{transfer:t})};addMessageHandler=e=>{this.#s.add(e)};removeMessageHandler=e=>{this.#s.delete(e)};destroy=()=>{this.#e.removeEventListener("message",this.#n),this.#e.close(),this.#s.clear()};#n=({data:e})=>{if(this.#a?.(e))for(let t of this.#s)t(e)}},Le=Oe,De={ConnectionDestroyed:"CONNECTION_DESTROYED",ConnectionTimeout:"CONNECTION_TIMEOUT",InvalidArgument:"INVALID_ARGUMENT",MethodCallTimeout:"METHOD_CALL_TIMEOUT",MethodNotFound:"METHOD_NOT_FOUND",TransmissionFailed:"TRANSMISSION_FAILED"},be=De,ke=e=>(...t)=>{console.log(`\u270D\uFE0F %c${e}%c`,"font-weight: bold;","",...t)},He=ke;return Q(Fe);})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loomweaver/frame-kit",
|
|
3
|
-
"version": "0.9.0-preview.
|
|
3
|
+
"version": "0.9.0-preview.7",
|
|
4
4
|
"description": "LoomWeaver: open-source plugin platform for Angular workbenches. The frame kit: the <lw-*> custom elements, the compiled .lw-* class contracts and Penpal, served as static assets to sandboxed iframe plugins.",
|
|
5
5
|
"types": "dist/lw-frame.d.ts",
|
|
6
6
|
"keywords": [
|