@stlite/desktop 0.90.14 → 0.90.16

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/build/assets/{ErrorOutline.esm-BnBxotPi.js → ErrorOutline.esm-CSbmRBTs.js} +1 -1
  4. package/build/assets/{FileDownload.esm-RGPPDhk8.js → FileDownload.esm-Chli17S8.js} +1 -1
  5. package/build/assets/{FileHelper-tNTMbDMm.js → FileHelper-BmOs-7p9.js} +1 -1
  6. package/build/assets/{FormClearHelper-DGQP9oxJ.js → FormClearHelper-DzT4m6x-.js} +1 -1
  7. package/build/assets/{Hooks-Bo61ucn1.js → Hooks-CWxcUAjO.js} +1 -1
  8. package/build/assets/{InputInstructions-Ck_istEY.js → InputInstructions-DXkJDo-d.js} +1 -1
  9. package/build/assets/{Particles-BlxXqWnI.js → Particles-DBUzeOij.js} +1 -1
  10. package/build/assets/{ProgressBar-C-iICo4w.js → ProgressBar-C3YNhB2j.js} +1 -1
  11. package/build/assets/{Toolbar-ByIPpsVy.js → Toolbar-B9tKdtfU.js} +1 -1
  12. package/build/assets/{base-input-DRJDHdAL.js → base-input-iLbK-zKR.js} +1 -1
  13. package/build/assets/{checkbox-2-JpNSRW.js → checkbox-DeJjjX3E.js} +1 -1
  14. package/build/assets/{createSuper-vJD5mbw5.js → createSuper-CwBHRG8y.js} +1 -1
  15. package/build/assets/{data-grid-overlay-editor-BIgAXG8E.js → data-grid-overlay-editor-DUraHWw3.js} +1 -1
  16. package/build/assets/{downloader-JpXWtQ-P.js → downloader-BaaVgY1J.js} +1 -1
  17. package/build/assets/{es6-Lsq1Gov6.js → es6-nNn5dvCp.js} +2 -2
  18. package/build/assets/{iframeResizer.contentWindow-Guiwg0xE.js → iframeResizer.contentWindow-CdPHQImI.js} +1 -1
  19. package/build/assets/{index-mytcrsu7.js → index-B3I5fK3b.js} +1 -1
  20. package/build/assets/{index-B-7gUeK8.js → index-B44FC7jH.js} +1 -1
  21. package/build/assets/{index-B9RImrnB.js → index-B6gNZ4bX.js} +1 -1
  22. package/build/assets/{index-CFCb7WWw.js → index-B8qYwdp8.js} +1 -1
  23. package/build/assets/{index-CoAdDGfF.js → index-BAHHLDfa.js} +1 -1
  24. package/build/assets/{index-DIjJwKUC.js → index-BJFM3-2Z.js} +1 -1
  25. package/build/assets/{index-BhoSXjxz.js → index-BLv0ASbw.js} +1 -1
  26. package/build/assets/{index-D4BdQDBD.js → index-BMYYY1ow.js} +1 -1
  27. package/build/assets/{index-DImx2D5B.js → index-BQMFy65W.js} +1 -1
  28. package/build/assets/{index-lw_DueTS.js → index-BesF0m-H.js} +1 -1
  29. package/build/assets/{index-BYmSaStp.js → index-Bkyb8y7c.js} +1 -1
  30. package/build/assets/{index-DkqUDAbB.js → index-BpdahSmb.js} +1 -1
  31. package/build/assets/{index-CRiFLKI5.js → index-BpkmIL-b.js} +1 -1
  32. package/build/assets/{index-CE3r0KWL.js → index-BzHXNIh0.js} +1 -1
  33. package/build/assets/{index-C0jxm_PH.js → index-C4GjZT3v.js} +1 -1
  34. package/build/assets/{index-DqH3HG1G.js → index-C55LbTPs.js} +1 -1
  35. package/build/assets/{index-Bb6UZSFO.js → index-C73-Ejlm.js} +1 -1
  36. package/build/assets/{index-C9n8vq5U.js → index-C8YVD3tE.js} +1 -1
  37. package/build/assets/{index-C636A-W7.js → index-CKkdmaf5.js} +1 -1
  38. package/build/assets/{index-CO2Aw19y.js → index-CM9UKsWI.js} +1 -1
  39. package/build/assets/{index-m7vCKamN.js → index-CfKvjJq7.js} +1 -1
  40. package/build/assets/{index-B5XMuJqP.js → index-ChDnLbTu.js} +1 -1
  41. package/build/assets/{index-DV5icRRG.js → index-CtSzYaeu.js} +1 -1
  42. package/build/assets/{index-Dtvm0G3c.js → index-D8gnxsH2.js} +1 -1
  43. package/build/assets/{index-BhFJX5Vn.js → index-DJKUgCVw.js} +1 -1
  44. package/build/assets/{index-pOokbnGQ.js → index-DPfkKD9E.js} +1 -1
  45. package/build/assets/{index-Q623jih7.js → index-DZGDXXq2.js} +1 -1
  46. package/build/assets/{index-DgEYnWf9.js → index-DicWkuji.js} +1 -1
  47. package/build/assets/{index-a4tM28AE.js → index-DmG-Yrnj.js} +1 -1
  48. package/build/assets/{index-Zd5xxmFR.js → index-EPlPorpI.js} +1 -1
  49. package/build/assets/{index-CRtbPdb-.js → index-JmbIn5LC.js} +5 -5
  50. package/build/assets/{index-BwsrXI9O.js → index-TcDrXcNe.js} +217 -212
  51. package/build/assets/{index-BZmLxv-D.js → index-V3ySK6f2.js} +1 -1
  52. package/build/assets/{index-B7T6_RXn.js → index-ZWSe7q8u.js} +1 -1
  53. package/build/assets/{index-D94FJ5GB.js → index-fIgYGVDY.js} +1 -1
  54. package/build/assets/{index-0HifpjrJ.js → index-qAmeZqQd.js} +1 -1
  55. package/build/assets/{index-CRhYEwNP.js → index-xw-9-jMZ.js} +1 -1
  56. package/build/assets/{inherits-DgEBZpYa.js → inherits-CarKs31i.js} +1 -1
  57. package/build/assets/{input-BRw1nRj1.js → input-DcFtOzfb.js} +1 -1
  58. package/build/assets/{memory-Do9YV2fF.js → memory-DdaoK7yz.js} +1 -1
  59. package/build/assets/{number-overlay-editor-CBg6iMqb.js → number-overlay-editor-DkLM--gB.js} +1 -1
  60. package/build/assets/{sandbox-DO_nuL9g.js → sandbox-CyGfUjJC.js} +1 -1
  61. package/build/assets/{slicedToArray-CCKNURYu.js → slicedToArray-CgYaBkVH.js} +1 -1
  62. package/build/assets/{timepicker-CBaJIVEG.js → timepicker-B6A12HlE.js} +1 -1
  63. package/build/assets/{uniqueId-7HN9pV-Z.js → uniqueId-Ca7uQu7S.js} +1 -1
  64. package/build/assets/{useBasicWidgetState-CQoPeUHV.js → useBasicWidgetState-DoAL3G-D.js} +1 -1
  65. package/build/assets/{useTextInputAutoExpand-CJ0SgjFi.js → useTextInputAutoExpand-DuBV-baK.js} +1 -1
  66. package/build/assets/{useUpdateUiValue-CakBWvqR.js → useUpdateUiValue-6gLwFH0m.js} +1 -1
  67. package/build/assets/{withFullScreenWrapper-6omMDHWT.js → withFullScreenWrapper-B0RGgIoE.js} +1 -1
  68. package/build/index.html +2 -2
  69. package/package.json +3 -2
  70. package/wheels/stlite_lib-0.1.0-py3-none-any.whl +0 -0
  71. package/wheels/streamlit-1.50.0-cp313-none-any.whl +0 -0
@@ -1 +1 @@
1
- import{s as l,aa as t,t as x,d as s,r as b,B as n,j as i,a as v,b as B,D as k}from"./index-BwsrXI9O.js";function C(o,r){switch(o){case s.XSMALL:return{padding:`${r.spacing.twoXS} ${r.spacing.sm}`,fontSize:r.fontSizes.sm};case s.SMALL:return{padding:`${r.spacing.twoXS} ${r.spacing.md}`};case s.LARGE:return{padding:`${r.spacing.md} ${r.spacing.md}`};default:return{padding:`${r.spacing.xs} ${r.spacing.md}`}}}const u=l("a",{target:"e16zdaao3"})(({containerWidth:o,size:r,theme:a})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:a.fontWeights.normal,padding:`${a.spacing.xs} ${a.spacing.md}`,borderRadius:a.radii.button,minHeight:a.sizes.minElementHeight,margin:0,lineHeight:a.lineHeights.base,color:a.colors.primary,textDecoration:"none",width:o?"100%":"auto",userSelect:"none","&:visited":{color:a.colors.primary},"&:focus":{outline:"none"},"&:focus-visible":{boxShadow:`0 0 0 0.2rem ${x(a.colors.primary,.5)}`},"&:hover":{textDecoration:"none"},"&:active":{textDecoration:"none"},...C(r,a)}),""),S=l(u,{target:"e16zdaao2"})(({theme:o})=>({backgroundColor:o.colors.primary,color:o.colors.white,border:`${o.sizes.borderWidth} solid ${o.colors.primary}`,"&:hover, &:focus-visible":{backgroundColor:t(o.colors.primary,.15),borderColor:t(o.colors.primary,.15)},"&:active":{backgroundColor:o.colors.primary,borderColor:t(o.colors.primary,.15)},"&:visited:not(:active)":{color:o.colors.white},"&[disabled], &[disabled]:hover, &[disabled]:active, &[disabled]:visited":{borderColor:o.colors.borderColor,backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed"}}),""),L=l(u,{target:"e16zdaao1"})(({theme:o})=>({backgroundColor:o.colors.lightenedBg05,color:o.colors.bodyText,border:`${o.sizes.borderWidth} solid ${o.colors.borderColor}`,"&:visited":{color:o.colors.bodyText},"&:hover, &:focus-visible":{backgroundColor:o.colors.darkenedBgMix15},"&:active":{backgroundColor:o.colors.darkenedBgMix25},"&[disabled], &[disabled]:hover, &[disabled]:active":{borderColor:o.colors.borderColor,backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed"}}),""),$=l(u,{target:"e16zdaao0"})(({theme:o})=>({padding:o.spacing.none,backgroundColor:o.colors.transparent,color:o.colors.bodyText,border:"none","&:visited":{color:o.colors.bodyText},"&:hover, &:focus-visible":{color:o.colors.primary},"&:hover:not([disabled]), &:focus-visible:not([disabled])":{"span.stMarkdownColoredText":{color:"inherit !important"}},"&:active":{color:t(o.colors.primary,.25)},"&[disabled], &[disabled]:hover, &[disabled]:active":{backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed"}}),"");function T({kind:o,size:r,disabled:a,children:d,autoFocus:e,href:p,rel:g,target:f,onClick:y}){let c=S;return o===n.SECONDARY?c=L:o===n.TERTIARY&&(c=$),i.jsx(c,{kind:o,size:r||s.MEDIUM,containerWidth:!0,disabled:a||!1,autoFocus:e||!1,href:p,target:f,rel:g,onClick:y,tabIndex:a?-1:0,"data-testid":`stBaseLinkButton-${o}`,children:d})}const z=b.memo(T);function w(o){const{element:r}=o;let a=n.SECONDARY;r.type==="primary"?a=n.PRIMARY:r.type==="tertiary"&&(a=n.TERTIARY);const d=e=>{r.disabled&&e.preventDefault()};return i.jsx(v,{className:"stLinkButton","data-testid":"stLinkButton",children:i.jsx(B,{help:r.help,containerWidth:!0,children:i.jsx(z,{kind:a,size:s.SMALL,disabled:r.disabled,onClick:d,href:r.url,target:"_blank",rel:"noreferrer","aria-disabled":r.disabled,children:i.jsx(k,{icon:r.icon,label:r.label})})})})}const A=b.memo(w);export{A as default};
1
+ import{s as l,aa as t,t as x,d as s,r as b,B as n,j as i,a as v,b as B,D as k}from"./index-TcDrXcNe.js";function C(o,r){switch(o){case s.XSMALL:return{padding:`${r.spacing.twoXS} ${r.spacing.sm}`,fontSize:r.fontSizes.sm};case s.SMALL:return{padding:`${r.spacing.twoXS} ${r.spacing.md}`};case s.LARGE:return{padding:`${r.spacing.md} ${r.spacing.md}`};default:return{padding:`${r.spacing.xs} ${r.spacing.md}`}}}const u=l("a",{target:"e16zdaao3"})(({containerWidth:o,size:r,theme:a})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:a.fontWeights.normal,padding:`${a.spacing.xs} ${a.spacing.md}`,borderRadius:a.radii.button,minHeight:a.sizes.minElementHeight,margin:0,lineHeight:a.lineHeights.base,color:a.colors.primary,textDecoration:"none",width:o?"100%":"auto",userSelect:"none","&:visited":{color:a.colors.primary},"&:focus":{outline:"none"},"&:focus-visible":{boxShadow:`0 0 0 0.2rem ${x(a.colors.primary,.5)}`},"&:hover":{textDecoration:"none"},"&:active":{textDecoration:"none"},...C(r,a)}),""),S=l(u,{target:"e16zdaao2"})(({theme:o})=>({backgroundColor:o.colors.primary,color:o.colors.white,border:`${o.sizes.borderWidth} solid ${o.colors.primary}`,"&:hover, &:focus-visible":{backgroundColor:t(o.colors.primary,.15),borderColor:t(o.colors.primary,.15)},"&:active":{backgroundColor:o.colors.primary,borderColor:t(o.colors.primary,.15)},"&:visited:not(:active)":{color:o.colors.white},"&[disabled], &[disabled]:hover, &[disabled]:active, &[disabled]:visited":{borderColor:o.colors.borderColor,backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed"}}),""),L=l(u,{target:"e16zdaao1"})(({theme:o})=>({backgroundColor:o.colors.lightenedBg05,color:o.colors.bodyText,border:`${o.sizes.borderWidth} solid ${o.colors.borderColor}`,"&:visited":{color:o.colors.bodyText},"&:hover, &:focus-visible":{backgroundColor:o.colors.darkenedBgMix15},"&:active":{backgroundColor:o.colors.darkenedBgMix25},"&[disabled], &[disabled]:hover, &[disabled]:active":{borderColor:o.colors.borderColor,backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed"}}),""),$=l(u,{target:"e16zdaao0"})(({theme:o})=>({padding:o.spacing.none,backgroundColor:o.colors.transparent,color:o.colors.bodyText,border:"none","&:visited":{color:o.colors.bodyText},"&:hover, &:focus-visible":{color:o.colors.primary},"&:hover:not([disabled]), &:focus-visible:not([disabled])":{"span.stMarkdownColoredText":{color:"inherit !important"}},"&:active":{color:t(o.colors.primary,.25)},"&[disabled], &[disabled]:hover, &[disabled]:active":{backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed"}}),"");function T({kind:o,size:r,disabled:a,children:d,autoFocus:e,href:p,rel:g,target:f,onClick:y}){let c=S;return o===n.SECONDARY?c=L:o===n.TERTIARY&&(c=$),i.jsx(c,{kind:o,size:r||s.MEDIUM,containerWidth:!0,disabled:a||!1,autoFocus:e||!1,href:p,target:f,rel:g,onClick:y,tabIndex:a?-1:0,"data-testid":`stBaseLinkButton-${o}`,children:d})}const z=b.memo(T);function w(o){const{element:r}=o;let a=n.SECONDARY;r.type==="primary"?a=n.PRIMARY:r.type==="tertiary"&&(a=n.TERTIARY);const d=e=>{r.disabled&&e.preventDefault()};return i.jsx(v,{className:"stLinkButton","data-testid":"stLinkButton",children:i.jsx(B,{help:r.help,containerWidth:!0,children:i.jsx(z,{kind:a,size:s.SMALL,disabled:r.disabled,onClick:d,href:r.url,target:"_blank",rel:"noreferrer","aria-disabled":r.disabled,children:i.jsx(k,{icon:r.icon,label:r.label})})})})}const A=b.memo(w);export{A as default};
@@ -1,2 +1,2 @@
1
- import{s as $t,r as ht,j as Ne}from"./index-BwsrXI9O.js";const{entries:St,setPrototypeOf:mt,isFrozen:qt,getPrototypeOf:Kt,getOwnPropertyDescriptor:Zt}=Object;let{freeze:S,seal:L,create:ke}=Object,{apply:ve,construct:Ue}=typeof Reflect<"u"&&Reflect;S||(S=function(n){return n});L||(L=function(n){return n});ve||(ve=function(n,s){for(var r=arguments.length,c=new Array(r>2?r-2:0),b=2;b<r;b++)c[b-2]=arguments[b];return n.apply(s,c)});Ue||(Ue=function(n){for(var s=arguments.length,r=new Array(s>1?s-1:0),c=1;c<s;c++)r[c-1]=arguments[c];return new n(...r)});const ce=R(Array.prototype.forEach),Jt=R(Array.prototype.lastIndexOf),pt=R(Array.prototype.pop),q=R(Array.prototype.push),Qt=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),Ie=R(String.prototype.toString),Me=R(String.prototype.match),K=R(String.prototype.replace),en=R(String.prototype.indexOf),tn=R(String.prototype.trim),y=R(Object.prototype.hasOwnProperty),h=R(RegExp.prototype.test),Z=nn(TypeError);function R(a){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var s=arguments.length,r=new Array(s>1?s-1:0),c=1;c<s;c++)r[c-1]=arguments[c];return ve(a,n,r)}}function nn(a){return function(){for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return Ue(a,s)}}function l(a,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;mt&&mt(a,null);let r=n.length;for(;r--;){let c=n[r];if(typeof c=="string"){const b=s(c);b!==c&&(qt(n)||(n[r]=b),c=b)}a[c]=!0}return a}function on(a){for(let n=0;n<a.length;n++)y(a,n)||(a[n]=null);return a}function C(a){const n=ke(null);for(const[s,r]of St(a))y(a,s)&&(Array.isArray(r)?n[s]=on(r):r&&typeof r=="object"&&r.constructor===Object?n[s]=C(r):n[s]=r);return n}function J(a,n){for(;a!==null;){const r=Zt(a,n);if(r){if(r.get)return R(r.get);if(typeof r.value=="function")return R(r.value)}a=Kt(a)}function s(){return null}return s}const dt=S(["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"]),Ce=S(["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"]),we=S(["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"]),an=S(["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"]),xe=S(["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"]),rn=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Tt=S(["#text"]),Et=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Pe=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),_t=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fe=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sn=L(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ln=L(/<%[\w\W]*|[\w\W]*%>/gm),cn=L(/\$\{[\w\W]*/gm),fn=L(/^data-[\-\w.\u00B7-\uFFFF]+$/),un=L(/^aria-[\-\w]+$/),Rt=L(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mn=L(/^(?:\w+script|data):/i),pn=L(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),bt=L(/^html$/i),dn=L(/^[a-z][.\w]*(-[.\w]+)+$/i);var gt=Object.freeze({__proto__:null,ARIA_ATTR:un,ATTR_WHITESPACE:pn,CUSTOM_ELEMENT:dn,DATA_ATTR:fn,DOCTYPE_NAME:bt,ERB_EXPR:ln,IS_ALLOWED_URI:Rt,IS_SCRIPT_OR_DATA:mn,MUSTACHE_EXPR:sn,TMPLIT_EXPR:cn});const Q={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window>"u"?null:window},En=function(n,s){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const c="data-tt-policy-suffix";s&&s.hasAttribute(c)&&(r=s.getAttribute(c));const b="dompurify"+(r?"#"+r:"");try{return n.createPolicy(b,{createHTML(P){return P},createScriptURL(P){return P}})}catch{return console.warn("TrustedTypes policy "+b+" could not be created."),null}},At=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ot(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=i=>Ot(i);if(n.version="3.3.0",n.removed=[],!a||!a.document||a.document.nodeType!==Q.document||!a.Element)return n.isSupported=!1,n;let{document:s}=a;const r=s,c=r.currentScript,{DocumentFragment:b,HTMLTemplateElement:P,Node:me,Element:ze,NodeFilter:B,NamedNodeMap:Lt=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:yt,DOMParser:Dt,trustedTypes:ee}=a,Y=ze.prototype,Nt=J(Y,"cloneNode"),It=J(Y,"remove"),Mt=J(Y,"nextSibling"),Ct=J(Y,"childNodes"),te=J(Y,"parentNode");if(typeof P=="function"){const i=s.createElement("template");i.content&&i.content.ownerDocument&&(s=i.content.ownerDocument)}let g,j="";const{implementation:pe,createNodeIterator:wt,createDocumentFragment:xt,getElementsByTagName:Pt}=s,{importNode:kt}=r;let A=At();n.isSupported=typeof St=="function"&&typeof te=="function"&&pe&&pe.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:de,ERB_EXPR:Te,TMPLIT_EXPR:Ee,DATA_ATTR:vt,ARIA_ATTR:Ut,IS_SCRIPT_OR_DATA:Ft,ATTR_WHITESPACE:Ge,CUSTOM_ELEMENT:Ht}=gt;let{IS_ALLOWED_URI:We}=gt,p=null;const Be=l({},[...dt,...Ce,...we,...xe,...Tt]);let T=null;const Ye=l({},[...Et,...Pe,..._t,...fe]);let u=Object.seal(ke(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}})),X=null,_e=null;const k=Object.seal(ke(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let je=!0,ge=!0,Xe=!1,Ve=!0,v=!1,ne=!0,w=!1,Ae=!1,he=!1,U=!1,oe=!1,ie=!1,$e=!0,qe=!1;const zt="user-content-";let Se=!0,V=!1,F={},H=null;const Ke=l({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ze=null;const Je=l({},["audio","video","img","source","image","track"]);let Re=null;const Qe=l({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml";let z=N,be=!1,Oe=null;const Gt=l({},[ae,re,N],Ie);let se=l({},["mi","mo","mn","ms","mtext"]),le=l({},["annotation-xml"]);const Wt=l({},["title","style","font","a","script"]);let $=null;const Bt=["application/xhtml+xml","text/html"],Yt="text/html";let d=null,G=null;const jt=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),$=Bt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Yt:e.PARSER_MEDIA_TYPE,d=$==="application/xhtml+xml"?Ie:ue,p=y(e,"ALLOWED_TAGS")?l({},e.ALLOWED_TAGS,d):Be,T=y(e,"ALLOWED_ATTR")?l({},e.ALLOWED_ATTR,d):Ye,Oe=y(e,"ALLOWED_NAMESPACES")?l({},e.ALLOWED_NAMESPACES,Ie):Gt,Re=y(e,"ADD_URI_SAFE_ATTR")?l(C(Qe),e.ADD_URI_SAFE_ATTR,d):Qe,Ze=y(e,"ADD_DATA_URI_TAGS")?l(C(Je),e.ADD_DATA_URI_TAGS,d):Je,H=y(e,"FORBID_CONTENTS")?l({},e.FORBID_CONTENTS,d):Ke,X=y(e,"FORBID_TAGS")?l({},e.FORBID_TAGS,d):C({}),_e=y(e,"FORBID_ATTR")?l({},e.FORBID_ATTR,d):C({}),F=y(e,"USE_PROFILES")?e.USE_PROFILES:!1,je=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,Xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ve=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,v=e.SAFE_FOR_TEMPLATES||!1,ne=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,$e=e.SANITIZE_DOM!==!1,qe=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,V=e.IN_PLACE||!1,We=e.ALLOWED_URI_REGEXP||Rt,z=e.NAMESPACE||N,se=e.MATHML_TEXT_INTEGRATION_POINTS||se,le=e.HTML_INTEGRATION_POINTS||le,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),v&&(ge=!1),oe&&(U=!0),F&&(p=l({},Tt),T=[],F.html===!0&&(l(p,dt),l(T,Et)),F.svg===!0&&(l(p,Ce),l(T,Pe),l(T,fe)),F.svgFilters===!0&&(l(p,we),l(T,Pe),l(T,fe)),F.mathMl===!0&&(l(p,xe),l(T,_t),l(T,fe))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?k.tagCheck=e.ADD_TAGS:(p===Be&&(p=C(p)),l(p,e.ADD_TAGS,d))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?k.attributeCheck=e.ADD_ATTR:(T===Ye&&(T=C(T)),l(T,e.ADD_ATTR,d))),e.ADD_URI_SAFE_ATTR&&l(Re,e.ADD_URI_SAFE_ATTR,d),e.FORBID_CONTENTS&&(H===Ke&&(H=C(H)),l(H,e.FORBID_CONTENTS,d)),Se&&(p["#text"]=!0),w&&l(p,["html","head","body"]),p.table&&(l(p,["tbody"]),delete X.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,j=g.createHTML("")}else g===void 0&&(g=En(ee,c)),g!==null&&typeof j=="string"&&(j=g.createHTML(""));S&&S(e),G=e}},tt=l({},[...Ce,...we,...an]),nt=l({},[...xe,...rn]),Xt=function(e){let t=te(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});const o=ue(e.tagName),f=ue(t.tagName);return Oe[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===N?o==="svg":t.namespaceURI===ae?o==="svg"&&(f==="annotation-xml"||se[f]):!!tt[o]:e.namespaceURI===ae?t.namespaceURI===N?o==="math":t.namespaceURI===re?o==="math"&&le[f]:!!nt[o]:e.namespaceURI===N?t.namespaceURI===re&&!le[f]||t.namespaceURI===ae&&!se[f]?!1:!nt[o]&&(Wt[o]||!tt[o]):!!($==="application/xhtml+xml"&&Oe[e.namespaceURI]):!1},D=function(e){q(n.removed,{element:e});try{te(e).removeChild(e)}catch{It(e)}},x=function(e,t){try{q(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{q(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(U||oe)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},ot=function(e){let t=null,o=null;if(he)e="<remove></remove>"+e;else{const m=Me(e,/^[\r\n\t ]+/);o=m&&m[0]}$==="application/xhtml+xml"&&z===N&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const f=g?g.createHTML(e):e;if(z===N)try{t=new Dt().parseFromString(f,$)}catch{}if(!t||!t.documentElement){t=pe.createDocument(z,"template",null);try{t.documentElement.innerHTML=be?j:f}catch{}}const _=t.body||t.documentElement;return e&&o&&_.insertBefore(s.createTextNode(o),_.childNodes[0]||null),z===N?Pt.call(t,w?"html":"body")[0]:w?t.documentElement:_},it=function(e){return wt.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},ye=function(e){return e instanceof yt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Lt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},at=function(e){return typeof me=="function"&&e instanceof me};function I(i,e,t){ce(i,o=>{o.call(n,e,t,G)})}const rt=function(e){let t=null;if(I(A.beforeSanitizeElements,e,null),ye(e))return D(e),!0;const o=d(e.nodeName);if(I(A.uponSanitizeElement,e,{tagName:o,allowedTags:p}),ne&&e.hasChildNodes()&&!at(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||ne&&e.nodeType===Q.comment&&h(/<[/\w]/g,e.data))return D(e),!0;if(!(k.tagCheck instanceof Function&&k.tagCheck(o))&&(!p[o]||X[o])){if(!X[o]&&lt(o)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,o)||u.tagNameCheck instanceof Function&&u.tagNameCheck(o)))return!1;if(Se&&!H[o]){const f=te(e)||e.parentNode,_=Ct(e)||e.childNodes;if(_&&f){const m=_.length;for(let O=m-1;O>=0;--O){const M=Nt(_[O],!0);M.__removalCount=(e.__removalCount||0)+1,f.insertBefore(M,Mt(e))}}}return D(e),!0}return e instanceof ze&&!Xt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(v&&e.nodeType===Q.text&&(t=e.textContent,ce([de,Te,Ee],f=>{t=K(t,f," ")}),e.textContent!==t&&(q(n.removed,{element:e.cloneNode()}),e.textContent=t)),I(A.afterSanitizeElements,e,null),!1)},st=function(e,t,o){if($e&&(t==="id"||t==="name")&&(o in s||o in jt))return!1;if(!(ge&&!_e[t]&&h(vt,t))){if(!(je&&h(Ut,t))){if(!(k.attributeCheck instanceof Function&&k.attributeCheck(t,e))){if(!T[t]||_e[t]){if(!(lt(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,o)||u.tagNameCheck instanceof Function&&u.tagNameCheck(o))))return!1}else if(!Re[t]){if(!h(We,K(o,Ge,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&en(o,"data:")===0&&Ze[e])){if(!(Xe&&!h(Ft,K(o,Ge,"")))){if(o)return!1}}}}}}}return!0},lt=function(e){return e!=="annotation-xml"&&Me(e,Ht)},ct=function(e){I(A.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ye(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:O,value:M}=_,W=d(m),De=M;let E=m==="value"?De:tn(De);if(o.attrName=W,o.attrValue=E,o.keepAttr=!0,o.forceKeepAttr=void 0,I(A.uponSanitizeAttribute,e,o),E=o.attrValue,qe&&(W==="id"||W==="name")&&(x(m,e),E=zt+E),ne&&h(/((--!?|])>)|<\/(style|title|textarea)/i,E)){x(m,e);continue}if(W==="attributename"&&Me(E,"href")){x(m,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){x(m,e);continue}if(!Ve&&h(/\/>/i,E)){x(m,e);continue}v&&ce([de,Te,Ee],ut=>{E=K(E,ut," ")});const ft=d(e.nodeName);if(!st(ft,W,E)){x(m,e);continue}if(g&&typeof ee=="object"&&typeof ee.getAttributeType=="function"&&!O)switch(ee.getAttributeType(ft,W)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{O?e.setAttributeNS(O,m,E):e.setAttribute(m,E),ye(e)?D(e):pt(n.removed)}catch{x(m,e)}}I(A.afterSanitizeAttributes,e,null)},Vt=function i(e){let t=null;const o=it(e);for(I(A.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)I(A.uponSanitizeShadowNode,t,null),rt(t),ct(t),t.content instanceof b&&i(t.content);I(A.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,o=null,f=null,_=null;if(be=!i,be&&(i="<!-->"),typeof i!="string"&&!at(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!n.isSupported)return i;if(Ae||Le(e),n.removed=[],typeof i=="string"&&(V=!1),V){if(i.nodeName){const M=d(i.nodeName);if(!p[M]||X[M])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof me)t=ot("<!---->"),o=t.ownerDocument.importNode(i,!0),o.nodeType===Q.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?t=o:t.appendChild(o);else{if(!U&&!v&&!w&&i.indexOf("<")===-1)return g&&ie?g.createHTML(i):i;if(t=ot(i),!t)return U?null:ie?j:""}t&&he&&D(t.firstChild);const m=it(V?i:t);for(;f=m.nextNode();)rt(f),ct(f),f.content instanceof b&&Vt(f.content);if(V)return i;if(U){if(oe)for(_=xt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=kt.call(r,_,!0)),_}let O=w?t.outerHTML:t.innerHTML;return w&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(bt,t.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
1
+ import{s as $t,r as ht,j as Ne}from"./index-TcDrXcNe.js";const{entries:St,setPrototypeOf:mt,isFrozen:qt,getPrototypeOf:Kt,getOwnPropertyDescriptor:Zt}=Object;let{freeze:S,seal:L,create:ke}=Object,{apply:ve,construct:Ue}=typeof Reflect<"u"&&Reflect;S||(S=function(n){return n});L||(L=function(n){return n});ve||(ve=function(n,s){for(var r=arguments.length,c=new Array(r>2?r-2:0),b=2;b<r;b++)c[b-2]=arguments[b];return n.apply(s,c)});Ue||(Ue=function(n){for(var s=arguments.length,r=new Array(s>1?s-1:0),c=1;c<s;c++)r[c-1]=arguments[c];return new n(...r)});const ce=R(Array.prototype.forEach),Jt=R(Array.prototype.lastIndexOf),pt=R(Array.prototype.pop),q=R(Array.prototype.push),Qt=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),Ie=R(String.prototype.toString),Me=R(String.prototype.match),K=R(String.prototype.replace),en=R(String.prototype.indexOf),tn=R(String.prototype.trim),y=R(Object.prototype.hasOwnProperty),h=R(RegExp.prototype.test),Z=nn(TypeError);function R(a){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var s=arguments.length,r=new Array(s>1?s-1:0),c=1;c<s;c++)r[c-1]=arguments[c];return ve(a,n,r)}}function nn(a){return function(){for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return Ue(a,s)}}function l(a,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;mt&&mt(a,null);let r=n.length;for(;r--;){let c=n[r];if(typeof c=="string"){const b=s(c);b!==c&&(qt(n)||(n[r]=b),c=b)}a[c]=!0}return a}function on(a){for(let n=0;n<a.length;n++)y(a,n)||(a[n]=null);return a}function C(a){const n=ke(null);for(const[s,r]of St(a))y(a,s)&&(Array.isArray(r)?n[s]=on(r):r&&typeof r=="object"&&r.constructor===Object?n[s]=C(r):n[s]=r);return n}function J(a,n){for(;a!==null;){const r=Zt(a,n);if(r){if(r.get)return R(r.get);if(typeof r.value=="function")return R(r.value)}a=Kt(a)}function s(){return null}return s}const dt=S(["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"]),Ce=S(["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"]),we=S(["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"]),an=S(["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"]),xe=S(["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"]),rn=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Tt=S(["#text"]),Et=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Pe=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),_t=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fe=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sn=L(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ln=L(/<%[\w\W]*|[\w\W]*%>/gm),cn=L(/\$\{[\w\W]*/gm),fn=L(/^data-[\-\w.\u00B7-\uFFFF]+$/),un=L(/^aria-[\-\w]+$/),Rt=L(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mn=L(/^(?:\w+script|data):/i),pn=L(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),bt=L(/^html$/i),dn=L(/^[a-z][.\w]*(-[.\w]+)+$/i);var gt=Object.freeze({__proto__:null,ARIA_ATTR:un,ATTR_WHITESPACE:pn,CUSTOM_ELEMENT:dn,DATA_ATTR:fn,DOCTYPE_NAME:bt,ERB_EXPR:ln,IS_ALLOWED_URI:Rt,IS_SCRIPT_OR_DATA:mn,MUSTACHE_EXPR:sn,TMPLIT_EXPR:cn});const Q={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window>"u"?null:window},En=function(n,s){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const c="data-tt-policy-suffix";s&&s.hasAttribute(c)&&(r=s.getAttribute(c));const b="dompurify"+(r?"#"+r:"");try{return n.createPolicy(b,{createHTML(P){return P},createScriptURL(P){return P}})}catch{return console.warn("TrustedTypes policy "+b+" could not be created."),null}},At=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ot(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=i=>Ot(i);if(n.version="3.3.0",n.removed=[],!a||!a.document||a.document.nodeType!==Q.document||!a.Element)return n.isSupported=!1,n;let{document:s}=a;const r=s,c=r.currentScript,{DocumentFragment:b,HTMLTemplateElement:P,Node:me,Element:ze,NodeFilter:B,NamedNodeMap:Lt=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:yt,DOMParser:Dt,trustedTypes:ee}=a,Y=ze.prototype,Nt=J(Y,"cloneNode"),It=J(Y,"remove"),Mt=J(Y,"nextSibling"),Ct=J(Y,"childNodes"),te=J(Y,"parentNode");if(typeof P=="function"){const i=s.createElement("template");i.content&&i.content.ownerDocument&&(s=i.content.ownerDocument)}let g,j="";const{implementation:pe,createNodeIterator:wt,createDocumentFragment:xt,getElementsByTagName:Pt}=s,{importNode:kt}=r;let A=At();n.isSupported=typeof St=="function"&&typeof te=="function"&&pe&&pe.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:de,ERB_EXPR:Te,TMPLIT_EXPR:Ee,DATA_ATTR:vt,ARIA_ATTR:Ut,IS_SCRIPT_OR_DATA:Ft,ATTR_WHITESPACE:Ge,CUSTOM_ELEMENT:Ht}=gt;let{IS_ALLOWED_URI:We}=gt,p=null;const Be=l({},[...dt,...Ce,...we,...xe,...Tt]);let T=null;const Ye=l({},[...Et,...Pe,..._t,...fe]);let u=Object.seal(ke(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}})),X=null,_e=null;const k=Object.seal(ke(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let je=!0,ge=!0,Xe=!1,Ve=!0,v=!1,ne=!0,w=!1,Ae=!1,he=!1,U=!1,oe=!1,ie=!1,$e=!0,qe=!1;const zt="user-content-";let Se=!0,V=!1,F={},H=null;const Ke=l({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ze=null;const Je=l({},["audio","video","img","source","image","track"]);let Re=null;const Qe=l({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml";let z=N,be=!1,Oe=null;const Gt=l({},[ae,re,N],Ie);let se=l({},["mi","mo","mn","ms","mtext"]),le=l({},["annotation-xml"]);const Wt=l({},["title","style","font","a","script"]);let $=null;const Bt=["application/xhtml+xml","text/html"],Yt="text/html";let d=null,G=null;const jt=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),$=Bt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Yt:e.PARSER_MEDIA_TYPE,d=$==="application/xhtml+xml"?Ie:ue,p=y(e,"ALLOWED_TAGS")?l({},e.ALLOWED_TAGS,d):Be,T=y(e,"ALLOWED_ATTR")?l({},e.ALLOWED_ATTR,d):Ye,Oe=y(e,"ALLOWED_NAMESPACES")?l({},e.ALLOWED_NAMESPACES,Ie):Gt,Re=y(e,"ADD_URI_SAFE_ATTR")?l(C(Qe),e.ADD_URI_SAFE_ATTR,d):Qe,Ze=y(e,"ADD_DATA_URI_TAGS")?l(C(Je),e.ADD_DATA_URI_TAGS,d):Je,H=y(e,"FORBID_CONTENTS")?l({},e.FORBID_CONTENTS,d):Ke,X=y(e,"FORBID_TAGS")?l({},e.FORBID_TAGS,d):C({}),_e=y(e,"FORBID_ATTR")?l({},e.FORBID_ATTR,d):C({}),F=y(e,"USE_PROFILES")?e.USE_PROFILES:!1,je=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,Xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ve=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,v=e.SAFE_FOR_TEMPLATES||!1,ne=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,$e=e.SANITIZE_DOM!==!1,qe=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,V=e.IN_PLACE||!1,We=e.ALLOWED_URI_REGEXP||Rt,z=e.NAMESPACE||N,se=e.MATHML_TEXT_INTEGRATION_POINTS||se,le=e.HTML_INTEGRATION_POINTS||le,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),v&&(ge=!1),oe&&(U=!0),F&&(p=l({},Tt),T=[],F.html===!0&&(l(p,dt),l(T,Et)),F.svg===!0&&(l(p,Ce),l(T,Pe),l(T,fe)),F.svgFilters===!0&&(l(p,we),l(T,Pe),l(T,fe)),F.mathMl===!0&&(l(p,xe),l(T,_t),l(T,fe))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?k.tagCheck=e.ADD_TAGS:(p===Be&&(p=C(p)),l(p,e.ADD_TAGS,d))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?k.attributeCheck=e.ADD_ATTR:(T===Ye&&(T=C(T)),l(T,e.ADD_ATTR,d))),e.ADD_URI_SAFE_ATTR&&l(Re,e.ADD_URI_SAFE_ATTR,d),e.FORBID_CONTENTS&&(H===Ke&&(H=C(H)),l(H,e.FORBID_CONTENTS,d)),Se&&(p["#text"]=!0),w&&l(p,["html","head","body"]),p.table&&(l(p,["tbody"]),delete X.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,j=g.createHTML("")}else g===void 0&&(g=En(ee,c)),g!==null&&typeof j=="string"&&(j=g.createHTML(""));S&&S(e),G=e}},tt=l({},[...Ce,...we,...an]),nt=l({},[...xe,...rn]),Xt=function(e){let t=te(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});const o=ue(e.tagName),f=ue(t.tagName);return Oe[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===N?o==="svg":t.namespaceURI===ae?o==="svg"&&(f==="annotation-xml"||se[f]):!!tt[o]:e.namespaceURI===ae?t.namespaceURI===N?o==="math":t.namespaceURI===re?o==="math"&&le[f]:!!nt[o]:e.namespaceURI===N?t.namespaceURI===re&&!le[f]||t.namespaceURI===ae&&!se[f]?!1:!nt[o]&&(Wt[o]||!tt[o]):!!($==="application/xhtml+xml"&&Oe[e.namespaceURI]):!1},D=function(e){q(n.removed,{element:e});try{te(e).removeChild(e)}catch{It(e)}},x=function(e,t){try{q(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{q(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(U||oe)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},ot=function(e){let t=null,o=null;if(he)e="<remove></remove>"+e;else{const m=Me(e,/^[\r\n\t ]+/);o=m&&m[0]}$==="application/xhtml+xml"&&z===N&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const f=g?g.createHTML(e):e;if(z===N)try{t=new Dt().parseFromString(f,$)}catch{}if(!t||!t.documentElement){t=pe.createDocument(z,"template",null);try{t.documentElement.innerHTML=be?j:f}catch{}}const _=t.body||t.documentElement;return e&&o&&_.insertBefore(s.createTextNode(o),_.childNodes[0]||null),z===N?Pt.call(t,w?"html":"body")[0]:w?t.documentElement:_},it=function(e){return wt.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},ye=function(e){return e instanceof yt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Lt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},at=function(e){return typeof me=="function"&&e instanceof me};function I(i,e,t){ce(i,o=>{o.call(n,e,t,G)})}const rt=function(e){let t=null;if(I(A.beforeSanitizeElements,e,null),ye(e))return D(e),!0;const o=d(e.nodeName);if(I(A.uponSanitizeElement,e,{tagName:o,allowedTags:p}),ne&&e.hasChildNodes()&&!at(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||ne&&e.nodeType===Q.comment&&h(/<[/\w]/g,e.data))return D(e),!0;if(!(k.tagCheck instanceof Function&&k.tagCheck(o))&&(!p[o]||X[o])){if(!X[o]&&lt(o)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,o)||u.tagNameCheck instanceof Function&&u.tagNameCheck(o)))return!1;if(Se&&!H[o]){const f=te(e)||e.parentNode,_=Ct(e)||e.childNodes;if(_&&f){const m=_.length;for(let O=m-1;O>=0;--O){const M=Nt(_[O],!0);M.__removalCount=(e.__removalCount||0)+1,f.insertBefore(M,Mt(e))}}}return D(e),!0}return e instanceof ze&&!Xt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(v&&e.nodeType===Q.text&&(t=e.textContent,ce([de,Te,Ee],f=>{t=K(t,f," ")}),e.textContent!==t&&(q(n.removed,{element:e.cloneNode()}),e.textContent=t)),I(A.afterSanitizeElements,e,null),!1)},st=function(e,t,o){if($e&&(t==="id"||t==="name")&&(o in s||o in jt))return!1;if(!(ge&&!_e[t]&&h(vt,t))){if(!(je&&h(Ut,t))){if(!(k.attributeCheck instanceof Function&&k.attributeCheck(t,e))){if(!T[t]||_e[t]){if(!(lt(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,o)||u.tagNameCheck instanceof Function&&u.tagNameCheck(o))))return!1}else if(!Re[t]){if(!h(We,K(o,Ge,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&en(o,"data:")===0&&Ze[e])){if(!(Xe&&!h(Ft,K(o,Ge,"")))){if(o)return!1}}}}}}}return!0},lt=function(e){return e!=="annotation-xml"&&Me(e,Ht)},ct=function(e){I(A.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ye(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:O,value:M}=_,W=d(m),De=M;let E=m==="value"?De:tn(De);if(o.attrName=W,o.attrValue=E,o.keepAttr=!0,o.forceKeepAttr=void 0,I(A.uponSanitizeAttribute,e,o),E=o.attrValue,qe&&(W==="id"||W==="name")&&(x(m,e),E=zt+E),ne&&h(/((--!?|])>)|<\/(style|title|textarea)/i,E)){x(m,e);continue}if(W==="attributename"&&Me(E,"href")){x(m,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){x(m,e);continue}if(!Ve&&h(/\/>/i,E)){x(m,e);continue}v&&ce([de,Te,Ee],ut=>{E=K(E,ut," ")});const ft=d(e.nodeName);if(!st(ft,W,E)){x(m,e);continue}if(g&&typeof ee=="object"&&typeof ee.getAttributeType=="function"&&!O)switch(ee.getAttributeType(ft,W)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{O?e.setAttributeNS(O,m,E):e.setAttribute(m,E),ye(e)?D(e):pt(n.removed)}catch{x(m,e)}}I(A.afterSanitizeAttributes,e,null)},Vt=function i(e){let t=null;const o=it(e);for(I(A.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)I(A.uponSanitizeShadowNode,t,null),rt(t),ct(t),t.content instanceof b&&i(t.content);I(A.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,o=null,f=null,_=null;if(be=!i,be&&(i="<!-->"),typeof i!="string"&&!at(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!n.isSupported)return i;if(Ae||Le(e),n.removed=[],typeof i=="string"&&(V=!1),V){if(i.nodeName){const M=d(i.nodeName);if(!p[M]||X[M])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof me)t=ot("<!---->"),o=t.ownerDocument.importNode(i,!0),o.nodeType===Q.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?t=o:t.appendChild(o);else{if(!U&&!v&&!w&&i.indexOf("<")===-1)return g&&ie?g.createHTML(i):i;if(t=ot(i),!t)return U?null:ie?j:""}t&&he&&D(t.firstChild);const m=it(V?i:t);for(;f=m.nextNode();)rt(f),ct(f),f.content instanceof b&&Vt(f.content);if(V)return i;if(U){if(oe)for(_=xt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=kt.call(r,_,!0)),_}let O=w?t.outerHTML:t.innerHTML;return w&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(bt,t.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
2
2
  `+O),v&&ce([de,Te,Ee],M=>{O=K(O,M," ")}),g&&ie?g.createHTML(O):O},n.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Le(i),Ae=!0},n.clearConfig=function(){G=null,Ae=!1},n.isValidAttribute=function(i,e,t){G||Le({});const o=d(i),f=d(e);return st(o,f,t)},n.addHook=function(i,e){typeof e=="function"&&q(A[i],e)},n.removeHook=function(i,e){if(e!==void 0){const t=Jt(A[i],e);return t===-1?void 0:Qt(A[i],t,1)[0]}return pt(A[i])},n.removeHooks=function(i){A[i]=[]},n.removeAllHooks=function(){A=At()},n}var He=Ot();const _n=$t("div",{target:"e18540fl0"})({name:"1d3w5wq",styles:"width:100%"}),Fe="data-temp-href-target";He.addHook("beforeSanitizeAttributes",function(a){a instanceof HTMLElement&&a.hasAttribute("target")&&a.getAttribute("target")==="_blank"&&a.setAttribute(Fe,"_blank")});He.addHook("afterSanitizeAttributes",function(a){a instanceof HTMLElement&&a.hasAttribute(Fe)&&(a.setAttribute("target","_blank"),a.setAttribute("rel","noopener noreferrer"),a.removeAttribute(Fe))});const gn=a=>{const n={USE_PROFILES:{html:!0},FORCE_BODY:!0};return He.sanitize(a,n)};function An({element:a}){const{body:n}=a,s=ht.useMemo(()=>gn(n),[n]);return Ne.jsx(Ne.Fragment,{children:s&&Ne.jsx(_n,{className:"stHtml","data-testid":"stHtml",dangerouslySetInnerHTML:{__html:s}})})}const Sn=ht.memo(An);export{Sn as default};
@@ -1 +1 @@
1
- import{s as L,r as i,v as N,I as U,w as O,V as R,j as p,x as w}from"./index-BwsrXI9O.js";const x=L("iframe",{target:"evvcert0"})(({theme:r})=>({colorScheme:"normal",border:"none",padding:r.spacing.none,margin:r.spacing.none,width:"100%",aspectRatio:"16 / 9"}),""),A=w.getLogger("Video"),j={width:"100%"};function P({element:r,endpoints:o,elementMgr:f}){const n=i.useRef(null),{type:v,url:g,startTime:a,subtitles:y,endTime:s,loop:d,autoplay:m,muted:E}=r,c=N(g),l=U(y);let V=O(c);const b=i.useMemo(()=>{if(!r.id)return!0;const e=f.getElementState(r.id,"preventAutoplay");return e||f.setElementState(r.id,"preventAutoplay",!0),e??!1},[r.id,f]),S=i.useMemo(()=>JSON.stringify(l?l.map(e=>o.buildMediaURL(`${e.url}`)):[]),[l,o]);i.useEffect(()=>{const e=JSON.parse(S);e.length!==0&&e.forEach(t=>{o.checkSourceUrlResponse(t,"Video Subtitle")})},[S,o]),i.useEffect(()=>{n.current&&(n.current.currentTime=a)},[a]),i.useEffect(()=>{const e=n.current,t=()=>{e&&(e.currentTime=r.startTime)};return e&&e.addEventListener("loadedmetadata",t),()=>{e&&e.removeEventListener("loadedmetadata",t)}},[r]),i.useEffect(()=>{const e=n.current;if(!e)return;let t=!1;const u=()=>{s>0&&e.currentTime>=s&&(d?(e.currentTime=a||0,e.play()):t||(t=!0,e.pause()))};return s>0&&e.addEventListener("timeupdate",u),()=>{e&&s>0&&e.removeEventListener("timeupdate",u)}},[s,d,a]),i.useEffect(()=>{const e=n.current;if(!e)return;const t=()=>{d&&(e.currentTime=a||0,e.play())};return e.addEventListener("ended",t),()=>{e&&e.removeEventListener("ended",t)}},[d,a]);const h=e=>{const t=new URL(e);if(a&&!isNaN(a)&&t.searchParams.append("start",a.toString()),s&&!isNaN(s)&&t.searchParams.append("end",s.toString()),d){t.searchParams.append("loop","1");const u=t.pathname.split("/").pop();u&&t.searchParams.append("playlist",u)}return m&&t.searchParams.append("autoplay","1"),E&&t.searchParams.append("mute","1"),t.toString()};if(v===R.Type.YOUTUBE_IFRAME)return p.jsx(x,{className:"stVideo","data-testid":"stVideo",title:c,src:h(c),allow:"autoplay; encrypted-media",allowFullScreen:!0});const T=e=>{const t=e.currentTarget.src;A.error(`Client Error: Video source error - ${t}`),o.sendClientErrorToHost("Video","Video source failed to load","onerror triggered",t)};return p.jsx("video",{className:"stVideo","data-testid":"stVideo",ref:n,controls:!0,muted:E,autoPlay:m&&!b,src:o.buildMediaURL(c),style:j,crossOrigin:V,onError:T,children:l?.map((e,t)=>p.jsx("track",{kind:"captions",src:o.buildMediaURL(`${e.url}`),label:`${e.label}`,default:t===0,"data-testid":"stVideoSubtitle"},t))})}const I=i.memo(P);export{I as default};
1
+ import{s as L,r as i,v as N,I as U,w as O,V as R,j as p,x as w}from"./index-TcDrXcNe.js";const x=L("iframe",{target:"evvcert0"})(({theme:r})=>({colorScheme:"normal",border:"none",padding:r.spacing.none,margin:r.spacing.none,width:"100%",aspectRatio:"16 / 9"}),""),A=w.getLogger("Video"),j={width:"100%"};function P({element:r,endpoints:o,elementMgr:f}){const n=i.useRef(null),{type:v,url:g,startTime:a,subtitles:y,endTime:s,loop:d,autoplay:m,muted:E}=r,c=N(g),l=U(y);let V=O(c);const b=i.useMemo(()=>{if(!r.id)return!0;const e=f.getElementState(r.id,"preventAutoplay");return e||f.setElementState(r.id,"preventAutoplay",!0),e??!1},[r.id,f]),S=i.useMemo(()=>JSON.stringify(l?l.map(e=>o.buildMediaURL(`${e.url}`)):[]),[l,o]);i.useEffect(()=>{const e=JSON.parse(S);e.length!==0&&e.forEach(t=>{o.checkSourceUrlResponse(t,"Video Subtitle")})},[S,o]),i.useEffect(()=>{n.current&&(n.current.currentTime=a)},[a]),i.useEffect(()=>{const e=n.current,t=()=>{e&&(e.currentTime=r.startTime)};return e&&e.addEventListener("loadedmetadata",t),()=>{e&&e.removeEventListener("loadedmetadata",t)}},[r]),i.useEffect(()=>{const e=n.current;if(!e)return;let t=!1;const u=()=>{s>0&&e.currentTime>=s&&(d?(e.currentTime=a||0,e.play()):t||(t=!0,e.pause()))};return s>0&&e.addEventListener("timeupdate",u),()=>{e&&s>0&&e.removeEventListener("timeupdate",u)}},[s,d,a]),i.useEffect(()=>{const e=n.current;if(!e)return;const t=()=>{d&&(e.currentTime=a||0,e.play())};return e.addEventListener("ended",t),()=>{e&&e.removeEventListener("ended",t)}},[d,a]);const h=e=>{const t=new URL(e);if(a&&!isNaN(a)&&t.searchParams.append("start",a.toString()),s&&!isNaN(s)&&t.searchParams.append("end",s.toString()),d){t.searchParams.append("loop","1");const u=t.pathname.split("/").pop();u&&t.searchParams.append("playlist",u)}return m&&t.searchParams.append("autoplay","1"),E&&t.searchParams.append("mute","1"),t.toString()};if(v===R.Type.YOUTUBE_IFRAME)return p.jsx(x,{className:"stVideo","data-testid":"stVideo",title:c,src:h(c),allow:"autoplay; encrypted-media",allowFullScreen:!0});const T=e=>{const t=e.currentTarget.src;A.error(`Client Error: Video source error - ${t}`),o.sendClientErrorToHost("Video","Video source failed to load","onerror triggered",t)};return p.jsx("video",{className:"stVideo","data-testid":"stVideo",ref:n,controls:!0,muted:E,autoPlay:m&&!b,src:o.buildMediaURL(c),style:j,crossOrigin:V,onError:T,children:l?.map((e,t)=>p.jsx("track",{kind:"captions",src:o.buildMediaURL(`${e.url}`),label:`${e.label}`,default:t===0,"data-testid":"stVideoSubtitle"},t))})}const I=i.memo(P);export{I as default};
@@ -1 +1 @@
1
- import{l as H,ak as _,s as w,r as s,a4 as O,u as G,a5 as S,j as l,W as K,Q as q,T as N,P as Q}from"./index-BwsrXI9O.js";import{u as $}from"./uniqueId-7HN9pV-Z.js";import{I as J}from"./InputInstructions-Ck_istEY.js";import{u as M}from"./useBasicWidgetState-CQoPeUHV.js";import{u as X,a as Y,b as Z}from"./useUpdateUiValue-CakBWvqR.js";import{u as tt,T as et}from"./useTextInputAutoExpand-CJ0SgjFi.js";import"./FormClearHelper-DGQP9oxJ.js";import"./inputUtils-CptNuJwn.js";import"./base-input-DRJDHdAL.js";const it=(e,t)=>{let a="auto";if(e.heightConfig?.useStretch)a="100%";else if(e.heightConfig?.pixelHeight&&e.heightConfig.pixelHeight>0){const o=H(t.labelVisibility?.value)===_.Collapsed?2:30;a=`${e.heightConfig.pixelHeight-o}px`}return a},at=w("div",{target:"ezh4s2r0"})({name:"kdbhus",styles:"height:100%;display:flex;flex-direction:column"}),T=(e,t)=>e.getStringValue(t)??t.default??null,st=e=>e.default??null,ot=e=>e.value??null,rt=(e,t,a,o)=>{t.setStringValue(e,a.value,{fromUi:a.fromUi},o)},lt=({disabled:e,element:t,widgetMgr:a,fragmentId:o,outerElement:d})=>{const m=s.useRef($("text_area_")).current,{width:W,elementRef:y}=O(),[r,h]=s.useState(!1),[I,x]=s.useState(!1),n=d.heightConfig?.useContent??!1,V=d.heightConfig?.useStretch??!1,v=it(d,t),b=s.useRef(null),[u,c]=s.useState(()=>T(a,t)??null),A=s.useCallback(()=>{c(t.default??null),h(!0)},[t]),[F,g]=M({getStateFromWidgetMgr:T,getDefaultStateFromProto:st,getCurrStateFromProto:ot,updateWidgetMgrState:rt,element:t,widgetMgr:a,fragmentId:o,onFormCleared:A});X(F,u,c,r);const i=G(),{height:R,maxHeight:j,updateScrollHeight:C}=tt({textareaRef:b,dependencies:[t.placeholder]}),p=s.useCallback(()=>{h(!1),g({value:u,fromUi:!0})},[u,g]),k=s.useCallback(()=>{r&&p(),x(!1)},[r,p]),z=s.useCallback(()=>{x(!0)},[]),E=s.useCallback(()=>{n&&C()},[n,C]),P=Y({formId:t.formId,maxChars:t.maxChars,setDirty:h,setUiValue:c,setValueWithSource:g,additionalAction:E}),L=Z(t.formId,p,r,a,o,!0),{placeholder:U,formId:f}=t,D=S({formId:f})?a.allowFormEnterToSubmit(f):r,B=I&&W>i.breakpoints.hideWidgetDetails;return l.jsxs(at,{className:"stTextArea","data-testid":"stTextArea",ref:y,children:[l.jsx(K,{label:t.label,disabled:e,labelVisibility:H(t.labelVisibility?.value),htmlFor:m,children:t.help&&l.jsx(q,{children:l.jsx(N,{content:t.help,placement:Q.TOP_RIGHT})})}),l.jsx(et,{inputRef:n?b:void 0,value:u??"",placeholder:U,onBlur:k,onFocus:z,onChange:P,onKeyDown:L,"aria-label":t.label,disabled:e,id:m,overrides:{Input:{style:{fontWeight:i.fontWeights.normal,lineHeight:i.lineHeights.inputWidget,height:n?R:v,maxHeight:n?j:"",minHeight:i.sizes.largestElementHeight,resize:V?"none":"vertical",paddingRight:i.spacing.md,paddingLeft:i.spacing.md,paddingBottom:i.spacing.md,paddingTop:i.spacing.md,"::placeholder":{color:i.colors.fadedText60}}},Root:{props:{"data-testid":"stTextAreaRootElement"},style:{borderLeftWidth:i.sizes.borderWidth,borderRightWidth:i.sizes.borderWidth,borderTopWidth:i.sizes.borderWidth,borderBottomWidth:i.sizes.borderWidth,flexGrow:1}}}}),B&&l.jsx(J,{dirty:r,value:u??"",maxLength:t.maxChars,type:"multiline",inForm:S({formId:f}),allowEnterToSubmit:D})]})},xt=s.memo(lt);export{xt as default};
1
+ import{l as H,ak as _,s as w,r as s,a4 as O,u as G,a5 as S,j as l,W as K,Q as q,T as N,P as Q}from"./index-TcDrXcNe.js";import{u as $}from"./uniqueId-Ca7uQu7S.js";import{I as J}from"./InputInstructions-DXkJDo-d.js";import{u as M}from"./useBasicWidgetState-DoAL3G-D.js";import{u as X,a as Y,b as Z}from"./useUpdateUiValue-6gLwFH0m.js";import{u as tt,T as et}from"./useTextInputAutoExpand-DuBV-baK.js";import"./FormClearHelper-DzT4m6x-.js";import"./inputUtils-CptNuJwn.js";import"./base-input-iLbK-zKR.js";const it=(e,t)=>{let a="auto";if(e.heightConfig?.useStretch)a="100%";else if(e.heightConfig?.pixelHeight&&e.heightConfig.pixelHeight>0){const o=H(t.labelVisibility?.value)===_.Collapsed?2:30;a=`${e.heightConfig.pixelHeight-o}px`}return a},at=w("div",{target:"ezh4s2r0"})({name:"kdbhus",styles:"height:100%;display:flex;flex-direction:column"}),T=(e,t)=>e.getStringValue(t)??t.default??null,st=e=>e.default??null,ot=e=>e.value??null,rt=(e,t,a,o)=>{t.setStringValue(e,a.value,{fromUi:a.fromUi},o)},lt=({disabled:e,element:t,widgetMgr:a,fragmentId:o,outerElement:d})=>{const m=s.useRef($("text_area_")).current,{width:W,elementRef:y}=O(),[r,h]=s.useState(!1),[I,x]=s.useState(!1),n=d.heightConfig?.useContent??!1,V=d.heightConfig?.useStretch??!1,v=it(d,t),b=s.useRef(null),[u,c]=s.useState(()=>T(a,t)??null),A=s.useCallback(()=>{c(t.default??null),h(!0)},[t]),[F,g]=M({getStateFromWidgetMgr:T,getDefaultStateFromProto:st,getCurrStateFromProto:ot,updateWidgetMgrState:rt,element:t,widgetMgr:a,fragmentId:o,onFormCleared:A});X(F,u,c,r);const i=G(),{height:R,maxHeight:j,updateScrollHeight:C}=tt({textareaRef:b,dependencies:[t.placeholder]}),p=s.useCallback(()=>{h(!1),g({value:u,fromUi:!0})},[u,g]),k=s.useCallback(()=>{r&&p(),x(!1)},[r,p]),z=s.useCallback(()=>{x(!0)},[]),E=s.useCallback(()=>{n&&C()},[n,C]),P=Y({formId:t.formId,maxChars:t.maxChars,setDirty:h,setUiValue:c,setValueWithSource:g,additionalAction:E}),L=Z(t.formId,p,r,a,o,!0),{placeholder:U,formId:f}=t,D=S({formId:f})?a.allowFormEnterToSubmit(f):r,B=I&&W>i.breakpoints.hideWidgetDetails;return l.jsxs(at,{className:"stTextArea","data-testid":"stTextArea",ref:y,children:[l.jsx(K,{label:t.label,disabled:e,labelVisibility:H(t.labelVisibility?.value),htmlFor:m,children:t.help&&l.jsx(q,{children:l.jsx(N,{content:t.help,placement:Q.TOP_RIGHT})})}),l.jsx(et,{inputRef:n?b:void 0,value:u??"",placeholder:U,onBlur:k,onFocus:z,onChange:P,onKeyDown:L,"aria-label":t.label,disabled:e,id:m,overrides:{Input:{style:{fontWeight:i.fontWeights.normal,lineHeight:i.lineHeights.inputWidget,height:n?R:v,maxHeight:n?j:"",minHeight:i.sizes.largestElementHeight,resize:V?"none":"vertical",paddingRight:i.spacing.md,paddingLeft:i.spacing.md,paddingBottom:i.spacing.md,paddingTop:i.spacing.md,"::placeholder":{color:i.colors.fadedText60}}},Root:{props:{"data-testid":"stTextAreaRootElement"},style:{borderLeftWidth:i.sizes.borderWidth,borderRightWidth:i.sizes.borderWidth,borderTopWidth:i.sizes.borderWidth,borderBottomWidth:i.sizes.borderWidth,flexGrow:1}}}}),B&&l.jsx(J,{dirty:r,value:u??"",maxLength:t.maxChars,type:"multiline",inForm:S({formId:f}),allowEnterToSubmit:D})]})},xt=s.memo(lt);export{xt as default};
@@ -1,4 +1,4 @@
1
- import{s as r,$ as c,r as m,j as n,aq as p}from"./index-BwsrXI9O.js";import{R as g,P as x}from"./Particles-BlxXqWnI.js";const B="/assets/balloon-0.Czj7AKwE.png",d="/assets/balloon-1.CNvFFrND.png",f="/assets/balloon-2.DTvC6B1t.png",_="/assets/balloon-3.CgSk4tbL.png",A="/assets/balloon-4.mbtFrzxf.png",E="/assets/balloon-5.CSwkUfRA.png",t=300,a=121,l=20,I=80,M=1e3,b=c`
1
+ import{s as r,$ as c,r as m,j as n,aq as p}from"./index-TcDrXcNe.js";import{R as g,P as x}from"./Particles-DBUzeOij.js";const B="/assets/balloon-0.Czj7AKwE.png",d="/assets/balloon-1.CNvFFrND.png",f="/assets/balloon-2.DTvC6B1t.png",_="/assets/balloon-3.CgSk4tbL.png",A="/assets/balloon-4.mbtFrzxf.png",E="/assets/balloon-5.CSwkUfRA.png",t=300,a=121,l=20,I=80,M=1e3,b=c`
2
2
  from {
3
3
  transform: translateY(calc(100vh + ${t}px));
4
4
  }
@@ -1 +1 @@
1
- import{s as l,r as d,L as p,u,j as a,b as x,P as f,y as k,f as b}from"./index-BwsrXI9O.js";const L=l("div",{target:"e11k5jya2"})({name:"b6wrti",styles:"display:flex;flex-direction:column;width:100%"}),C=l("a",{target:"e11k5jya1"})(({disabled:n,isCurrentPage:e,theme:o})=>({textDecoration:"none",width:"100%",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:o.spacing.sm,borderRadius:o.radii.default,paddingLeft:o.spacing.sm,paddingRight:o.spacing.sm,marginTop:o.spacing.threeXS,marginBottom:o.spacing.threeXS,lineHeight:o.lineHeights.menuItem,backgroundColor:e?o.colors.darkenedBgMix15:"transparent","&:hover":{backgroundColor:e?o.colors.darkenedBgMix25:o.colors.darkenedBgMix15},"&:active,&:visited,&:hover":{textDecoration:"none"},"&:focus":{outline:"none"},"&:focus-visible":{backgroundColor:o.colors.darkenedBgMix15},"@media print":{paddingLeft:o.spacing.none},...n?{borderColor:o.colors.borderColor,backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed","&:hover":{color:o.colors.fadedText40,backgroundColor:o.colors.transparent}}:{}}),""),v=l("span",{target:"e11k5jya0"})(({disabled:n,theme:e})=>({color:e.colors.bodyText,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"table-cell",...n?{borderColor:e.colors.borderColor,backgroundColor:e.colors.transparent,color:e.colors.fadedText40,cursor:"not-allowed"}:{}}),"");function y(n){const{onPageChange:e,currentPageScriptHash:o}=d.useContext(p),{colors:s}=u(),{disabled:t,element:r}=n,i=o===r.pageScriptHash,g=c=>{r.external?t&&c.preventDefault():(c.preventDefault(),t||e(r.pageScriptHash))};return a.jsx("div",{className:"stPageLink","data-testid":"stPageLink",children:a.jsx(x,{help:r.help,placement:f.TOP_RIGHT,containerWidth:!0,children:a.jsx(L,{children:a.jsxs(C,{"data-testid":"stPageLink-NavLink",disabled:t,isCurrentPage:i,href:r.page,target:r.external?"_blank":"",rel:"noreferrer",onClick:g,children:[r.icon&&a.jsx(k,{size:"lg",color:t?s.fadedText40:s.bodyText,iconValue:r.icon}),a.jsx(v,{disabled:t,children:a.jsx(b,{source:r.label,allowHTML:!1,isLabel:!0,boldLabel:i,largerLabel:!0,disableLinks:!0})})]})})})})}const T=d.memo(y);export{T as default};
1
+ import{s as l,r as d,L as p,u,j as a,b as x,P as f,y as k,f as b}from"./index-TcDrXcNe.js";const L=l("div",{target:"e11k5jya2"})({name:"b6wrti",styles:"display:flex;flex-direction:column;width:100%"}),C=l("a",{target:"e11k5jya1"})(({disabled:n,isCurrentPage:e,theme:o})=>({textDecoration:"none",width:"100%",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:o.spacing.sm,borderRadius:o.radii.default,paddingLeft:o.spacing.sm,paddingRight:o.spacing.sm,marginTop:o.spacing.threeXS,marginBottom:o.spacing.threeXS,lineHeight:o.lineHeights.menuItem,backgroundColor:e?o.colors.darkenedBgMix15:"transparent","&:hover":{backgroundColor:e?o.colors.darkenedBgMix25:o.colors.darkenedBgMix15},"&:active,&:visited,&:hover":{textDecoration:"none"},"&:focus":{outline:"none"},"&:focus-visible":{backgroundColor:o.colors.darkenedBgMix15},"@media print":{paddingLeft:o.spacing.none},...n?{borderColor:o.colors.borderColor,backgroundColor:o.colors.transparent,color:o.colors.fadedText40,cursor:"not-allowed","&:hover":{color:o.colors.fadedText40,backgroundColor:o.colors.transparent}}:{}}),""),v=l("span",{target:"e11k5jya0"})(({disabled:n,theme:e})=>({color:e.colors.bodyText,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",display:"table-cell",...n?{borderColor:e.colors.borderColor,backgroundColor:e.colors.transparent,color:e.colors.fadedText40,cursor:"not-allowed"}:{}}),"");function y(n){const{onPageChange:e,currentPageScriptHash:o}=d.useContext(p),{colors:s}=u(),{disabled:t,element:r}=n,i=o===r.pageScriptHash,g=c=>{r.external?t&&c.preventDefault():(c.preventDefault(),t||e(r.pageScriptHash))};return a.jsx("div",{className:"stPageLink","data-testid":"stPageLink",children:a.jsx(x,{help:r.help,placement:f.TOP_RIGHT,containerWidth:!0,children:a.jsx(L,{children:a.jsxs(C,{"data-testid":"stPageLink-NavLink",disabled:t,isCurrentPage:i,href:r.page,target:r.external?"_blank":"",rel:"noreferrer",onClick:g,children:[r.icon&&a.jsx(k,{size:"lg",color:t?s.fadedText40:s.bodyText,iconValue:r.icon}),a.jsx(v,{disabled:t,children:a.jsx(b,{source:r.label,allowHTML:!1,isLabel:!0,boldLabel:i,largerLabel:!0,disableLinks:!0})})]})})})})}const T=d.memo(y);export{T as default};