From 4094e872238475f0be069ad8443c714ab38ec4fe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2024 14:25:53 +0100 Subject: [PATCH] Bump the npm_and_yarn group across 3 directories with 2 updates (#27162) * Bump the npm_and_yarn group across 3 directories with 2 updates Bumps the npm_and_yarn group with 2 updates in the /tgui directory: [webpack](https://github.com/webpack/webpack) and [dompurify](https://github.com/cure53/DOMPurify). Bumps the npm_and_yarn group with 1 update in the /tgui/packages/tgui directory: [dompurify](https://github.com/cure53/DOMPurify). Bumps the npm_and_yarn group with 1 update in the /tgui/packages/tgui-panel directory: [dompurify](https://github.com/cure53/DOMPurify). Updates `webpack` from 5.93.0 to 5.94.0 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.93.0...v5.94.0) Updates `dompurify` from 2.5.0 to 2.5.4 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.5.0...2.5.4) Updates `dompurify` from 2.5.0 to 2.5.4 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.5.0...2.5.4) Updates `dompurify` from 2.5.0 to 2.5.4 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.5.0...2.5.4) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: dompurify dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: dompurify dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: dompurify dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] * tgui rebuild --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com> --- tgui/package.json | 2 +- tgui/packages/tgui-panel/package.json | 2 +- tgui/packages/tgui/package.json | 2 +- tgui/public/tgui-panel.bundle.js | 82 +++++++++++++-------------- tgui/yarn.lock | 33 ++++++----- 5 files changed, 60 insertions(+), 61 deletions(-) diff --git a/tgui/package.json b/tgui/package.json index 798232a65ad4..6c4db999354a 100644 --- a/tgui/package.json +++ b/tgui/package.json @@ -47,7 +47,7 @@ "style-loader": "^4.0.0", "terser-webpack-plugin": "^5.3.10", "typescript": "^5.5.3", - "webpack": "^5.93.0", + "webpack": "^5.94.0", "webpack-bundle-analyzer": "^4.10.2", "webpack-cli": "^5.1.4" } diff --git a/tgui/packages/tgui-panel/package.json b/tgui/packages/tgui-panel/package.json index 5dc920a2b430..ad35f7c6a035 100644 --- a/tgui/packages/tgui-panel/package.json +++ b/tgui/packages/tgui-panel/package.json @@ -4,7 +4,7 @@ "version": "4.5.1-paradise", "dependencies": { "common": "workspace:*", - "dompurify": "2.5.0", + "dompurify": "2.5.4", "inferno": "^8.2.3", "tgui": "workspace:*", "tgui-dev-server": "workspace:*", diff --git a/tgui/packages/tgui/package.json b/tgui/packages/tgui/package.json index 203b22705c4b..b491d41ca5c8 100644 --- a/tgui/packages/tgui/package.json +++ b/tgui/packages/tgui/package.json @@ -7,7 +7,7 @@ "@types/marked": "^6.0.0", "common": "workspace:*", "csstype": "^3.1.3", - "dompurify": "2.5.0", + "dompurify": "2.5.4", "highlight.js": "^11.10.0", "inferno": "^8.2.3", "inferno-vnode-flags": "^8.2.3", diff --git a/tgui/public/tgui-panel.bundle.js b/tgui/public/tgui-panel.bundle.js index b232c5745e71..8b51192ba878 100644 --- a/tgui/public/tgui-panel.bundle.js +++ b/tgui/public/tgui-panel.bundle.js @@ -1,8 +1,8 @@ -(function(){(function(){var xn={96376:function(E,n,t){"use strict";n.__esModule=!0,n.createPopper=void 0,n.popperGenerator=g;var e=i(t(74758)),r=i(t(28811)),o=i(t(98309)),a=i(t(44896)),s=i(t(33118)),u=i(t(10579)),c=i(t(56500)),p=i(t(17633));n.detectOverflow=p.default;var d=t(75573);function i(h){return h&&h.__esModule?h:{default:h}}var v={placement:"bottom",modifiers:[],strategy:"absolute"};function l(){for(var h=arguments.length,m=new Array(h),b=0;b0&&(0,r.round)(i.width)/c.offsetWidth||1,l=c.offsetHeight>0&&(0,r.round)(i.height)/c.offsetHeight||1);var g=(0,e.isElement)(c)?(0,o.default)(c):window,f=g.visualViewport,h=!(0,a.default)()&&d,m=(i.left+(h&&f?f.offsetLeft:0))/v,b=(i.top+(h&&f?f.offsetTop:0))/l,I=i.width/v,O=i.height/l;return{width:I,height:O,top:b,right:m+I,bottom:b+O,left:m,x:m,y:b}}},49035:function(E,n,t){"use strict";n.__esModule=!0,n.default=O;var e=t(46206),r=h(t(87991)),o=h(t(79752)),a=h(t(98309)),s=h(t(44896)),u=h(t(40600)),c=h(t(16599)),p=t(75573),d=h(t(37786)),i=h(t(57819)),v=h(t(4206)),l=h(t(12972)),g=h(t(81666)),f=t(63618);function h(C){return C&&C.__esModule?C:{default:C}}function m(C,y){var S=(0,d.default)(C,!1,y==="fixed");return S.top=S.top+C.clientTop,S.left=S.left+C.clientLeft,S.bottom=S.top+C.clientHeight,S.right=S.left+C.clientWidth,S.width=C.clientWidth,S.height=C.clientHeight,S.x=S.left,S.y=S.top,S}function b(C,y,S){return y===e.viewport?(0,g.default)((0,r.default)(C,S)):(0,p.isElement)(y)?m(y,S):(0,g.default)((0,o.default)((0,u.default)(C)))}function I(C){var y=(0,a.default)((0,i.default)(C)),S=["absolute","fixed"].indexOf((0,c.default)(C).position)>=0,T=S&&(0,p.isHTMLElement)(C)?(0,s.default)(C):C;return(0,p.isElement)(T)?y.filter(function(N){return(0,p.isElement)(N)&&(0,v.default)(N,T)&&(0,l.default)(N)!=="body"}):[]}function O(C,y,S,T){var N=y==="clippingParents"?I(C):[].concat(y),M=[].concat(N,[S]),w=M[0],L=M.reduce(function(B,V){var x=b(C,V,T);return B.top=(0,f.max)(x.top,B.top),B.right=(0,f.min)(x.right,B.right),B.bottom=(0,f.min)(x.bottom,B.bottom),B.left=(0,f.max)(x.left,B.left),B},b(C,w,T));return L.width=L.right-L.left,L.height=L.bottom-L.top,L.x=L.left,L.y=L.top,L}},74758:function(E,n,t){"use strict";n.__esModule=!0,n.default=v;var e=d(t(37786)),r=d(t(13390)),o=d(t(12972)),a=t(75573),s=d(t(79697)),u=d(t(40600)),c=d(t(10798)),p=t(63618);function d(l){return l&&l.__esModule?l:{default:l}}function i(l){var g=l.getBoundingClientRect(),f=(0,p.round)(g.width)/l.offsetWidth||1,h=(0,p.round)(g.height)/l.offsetHeight||1;return f!==1||h!==1}function v(l,g,f){f===void 0&&(f=!1);var h=(0,a.isHTMLElement)(g),m=(0,a.isHTMLElement)(g)&&i(g),b=(0,u.default)(g),I=(0,e.default)(l,m,f),O={scrollLeft:0,scrollTop:0},C={x:0,y:0};return(h||!h&&!f)&&(((0,o.default)(g)!=="body"||(0,c.default)(b))&&(O=(0,r.default)(g)),(0,a.isHTMLElement)(g)?(C=(0,e.default)(g,!0),C.x+=g.clientLeft,C.y+=g.clientTop):b&&(C.x=(0,s.default)(b))),{x:I.left+O.scrollLeft-C.x,y:I.top+O.scrollTop-C.y,width:I.width,height:I.height}}},16599:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(95115));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return(0,e.default)(a).getComputedStyle(a)}},40600:function(E,n,t){"use strict";n.__esModule=!0,n.default=r;var e=t(75573);function r(o){return(((0,e.isElement)(o)?o.ownerDocument:o.document)||window.document).documentElement}},79752:function(E,n,t){"use strict";n.__esModule=!0,n.default=c;var e=u(t(40600)),r=u(t(16599)),o=u(t(79697)),a=u(t(43750)),s=t(63618);function u(p){return p&&p.__esModule?p:{default:p}}function c(p){var d,i=(0,e.default)(p),v=(0,a.default)(p),l=(d=p.ownerDocument)==null?void 0:d.body,g=(0,s.max)(i.scrollWidth,i.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),f=(0,s.max)(i.scrollHeight,i.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),h=-v.scrollLeft+(0,o.default)(p),m=-v.scrollTop;return(0,r.default)(l||i).direction==="rtl"&&(h+=(0,s.max)(i.clientWidth,l?l.clientWidth:0)-g),{width:g,height:f,x:h,y:m}}},3073:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},28811:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(37786));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var s=(0,e.default)(a),u=a.offsetWidth,c=a.offsetHeight;return Math.abs(s.width-u)<=1&&(u=s.width),Math.abs(s.height-c)<=1&&(c=s.height),{x:a.offsetLeft,y:a.offsetTop,width:u,height:c}}},12972:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return e?(e.nodeName||"").toLowerCase():null}},13390:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(43750)),r=s(t(95115)),o=t(75573),a=s(t(3073));function s(c){return c&&c.__esModule?c:{default:c}}function u(c){return c===(0,r.default)(c)||!(0,o.isHTMLElement)(c)?(0,e.default)(c):(0,a.default)(c)}},44896:function(E,n,t){"use strict";n.__esModule=!0,n.default=v;var e=p(t(95115)),r=p(t(12972)),o=p(t(16599)),a=t(75573),s=p(t(87031)),u=p(t(57819)),c=p(t(35366));function p(l){return l&&l.__esModule?l:{default:l}}function d(l){return!(0,a.isHTMLElement)(l)||(0,o.default)(l).position==="fixed"?null:l.offsetParent}function i(l){var g=/firefox/i.test((0,c.default)()),f=/Trident/i.test((0,c.default)());if(f&&(0,a.isHTMLElement)(l)){var h=(0,o.default)(l);if(h.position==="fixed")return null}var m=(0,u.default)(l);for((0,a.isShadowRoot)(m)&&(m=m.host);(0,a.isHTMLElement)(m)&&["html","body"].indexOf((0,r.default)(m))<0;){var b=(0,o.default)(m);if(b.transform!=="none"||b.perspective!=="none"||b.contain==="paint"||["transform","perspective"].indexOf(b.willChange)!==-1||g&&b.willChange==="filter"||g&&b.filter&&b.filter!=="none")return m;m=m.parentNode}return null}function v(l){for(var g=(0,e.default)(l),f=d(l);f&&(0,s.default)(f)&&(0,o.default)(f).position==="static";)f=d(f);return f&&((0,r.default)(f)==="html"||(0,r.default)(f)==="body"&&(0,o.default)(f).position==="static")?g:f||i(l)||g}},57819:function(E,n,t){"use strict";n.__esModule=!0,n.default=s;var e=a(t(12972)),r=a(t(40600)),o=t(75573);function a(u){return u&&u.__esModule?u:{default:u}}function s(u){return(0,e.default)(u)==="html"?u:u.assignedSlot||u.parentNode||((0,o.isShadowRoot)(u)?u.host:null)||(0,r.default)(u)}},24426:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(57819)),r=s(t(10798)),o=s(t(12972)),a=t(75573);function s(c){return c&&c.__esModule?c:{default:c}}function u(c){return["html","body","#document"].indexOf((0,o.default)(c))>=0?c.ownerDocument.body:(0,a.isHTMLElement)(c)&&(0,r.default)(c)?c:u((0,e.default)(c))}},87991:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(95115)),r=s(t(40600)),o=s(t(79697)),a=s(t(89331));function s(c){return c&&c.__esModule?c:{default:c}}function u(c,p){var d=(0,e.default)(c),i=(0,r.default)(c),v=d.visualViewport,l=i.clientWidth,g=i.clientHeight,f=0,h=0;if(v){l=v.width,g=v.height;var m=(0,a.default)();(m||!m&&p==="fixed")&&(f=v.offsetLeft,h=v.offsetTop)}return{width:l,height:g,x:f+(0,o.default)(c),y:h}}},95115:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var r=e.ownerDocument;return r&&r.defaultView||window}return e}},43750:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(95115));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var s=(0,e.default)(a),u=s.pageXOffset,c=s.pageYOffset;return{scrollLeft:u,scrollTop:c}}},79697:function(E,n,t){"use strict";n.__esModule=!0,n.default=s;var e=a(t(37786)),r=a(t(40600)),o=a(t(43750));function a(u){return u&&u.__esModule?u:{default:u}}function s(u){return(0,e.default)((0,r.default)(u)).left+(0,o.default)(u).scrollLeft}},75573:function(E,n,t){"use strict";n.__esModule=!0,n.isElement=o,n.isHTMLElement=a,n.isShadowRoot=s;var e=r(t(95115));function r(u){return u&&u.__esModule?u:{default:u}}function o(u){var c=(0,e.default)(u).Element;return u instanceof c||u instanceof Element}function a(u){var c=(0,e.default)(u).HTMLElement;return u instanceof c||u instanceof HTMLElement}function s(u){if(typeof ShadowRoot=="undefined")return!1;var c=(0,e.default)(u).ShadowRoot;return u instanceof c||u instanceof ShadowRoot}},89331:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(35366));function r(a){return a&&a.__esModule?a:{default:a}}function o(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},10798:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(16599));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var s=(0,e.default)(a),u=s.overflow,c=s.overflowX,p=s.overflowY;return/auto|scroll|overlay|hidden/.test(u+p+c)}},87031:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(12972));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return["table","td","th"].indexOf((0,e.default)(a))>=0}},98309:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(24426)),r=s(t(57819)),o=s(t(95115)),a=s(t(10798));function s(c){return c&&c.__esModule?c:{default:c}}function u(c,p){var d;p===void 0&&(p=[]);var i=(0,e.default)(c),v=i===((d=c.ownerDocument)==null?void 0:d.body),l=(0,o.default)(i),g=v?[l].concat(l.visualViewport||[],(0,a.default)(i)?i:[]):i,f=p.concat(g);return v?f:f.concat(u((0,r.default)(g)))}},46206:function(E,n){"use strict";n.__esModule=!0,n.write=n.viewport=n.variationPlacements=n.top=n.start=n.right=n.reference=n.read=n.popper=n.placements=n.modifierPhases=n.main=n.left=n.end=n.clippingParents=n.bottom=n.beforeWrite=n.beforeRead=n.beforeMain=n.basePlacements=n.auto=n.afterWrite=n.afterRead=n.afterMain=void 0;var t=n.top="top",e=n.bottom="bottom",r=n.right="right",o=n.left="left",a=n.auto="auto",s=n.basePlacements=[t,e,r,o],u=n.start="start",c=n.end="end",p=n.clippingParents="clippingParents",d=n.viewport="viewport",i=n.popper="popper",v=n.reference="reference",l=n.variationPlacements=s.reduce(function(N,M){return N.concat([M+"-"+u,M+"-"+c])},[]),g=n.placements=[].concat(s,[a]).reduce(function(N,M){return N.concat([M,M+"-"+u,M+"-"+c])},[]),f=n.beforeRead="beforeRead",h=n.read="read",m=n.afterRead="afterRead",b=n.beforeMain="beforeMain",I=n.main="main",O=n.afterMain="afterMain",C=n.beforeWrite="beforeWrite",y=n.write="write",S=n.afterWrite="afterWrite",T=n.modifierPhases=[f,h,m,b,I,O,C,y,S]},95996:function(E,n,t){"use strict";n.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};n.popperGenerator=n.detectOverflow=n.createPopperLite=n.createPopperBase=n.createPopper=void 0;var r=t(46206);Object.keys(r).forEach(function(c){c==="default"||c==="__esModule"||Object.prototype.hasOwnProperty.call(e,c)||c in n&&n[c]===r[c]||(n[c]=r[c])});var o=t(39805);Object.keys(o).forEach(function(c){c==="default"||c==="__esModule"||Object.prototype.hasOwnProperty.call(e,c)||c in n&&n[c]===o[c]||(n[c]=o[c])});var a=t(96376);n.popperGenerator=a.popperGenerator,n.detectOverflow=a.detectOverflow,n.createPopperBase=a.createPopper;var s=t(83312);n.createPopper=s.createPopper;var u=t(2473);n.createPopperLite=u.createPopper},19975:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=o(t(12972)),r=t(75573);function o(c){return c&&c.__esModule?c:{default:c}}function a(c){var p=c.state;Object.keys(p.elements).forEach(function(d){var i=p.styles[d]||{},v=p.attributes[d]||{},l=p.elements[d];!(0,r.isHTMLElement)(l)||!(0,e.default)(l)||(Object.assign(l.style,i),Object.keys(v).forEach(function(g){var f=v[g];f===!1?l.removeAttribute(g):l.setAttribute(g,f===!0?"":f)}))})}function s(c){var p=c.state,d={popper:{position:p.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(p.elements.popper.style,d.popper),p.styles=d,p.elements.arrow&&Object.assign(p.elements.arrow.style,d.arrow),function(){Object.keys(p.elements).forEach(function(i){var v=p.elements[i],l=p.attributes[i]||{},g=Object.keys(p.styles.hasOwnProperty(i)?p.styles[i]:d[i]),f=g.reduce(function(h,m){return h[m]="",h},{});!(0,r.isHTMLElement)(v)||!(0,e.default)(v)||(Object.assign(v.style,f),Object.keys(l).forEach(function(h){v.removeAttribute(h)}))})}}var u=n.default={name:"applyStyles",enabled:!0,phase:"write",fn:a,effect:s,requires:["computeStyles"]}},52744:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=i(t(83104)),r=i(t(28811)),o=i(t(4206)),a=i(t(44896)),s=i(t(41199)),u=t(28595),c=i(t(43286)),p=i(t(81447)),d=t(46206);function i(h){return h&&h.__esModule?h:{default:h}}var v=function(){function h(m,b){return m=typeof m=="function"?m(Object.assign({},b.rects,{placement:b.placement})):m,(0,c.default)(typeof m!="number"?m:(0,p.default)(m,d.basePlacements))}return h}();function l(h){var m,b=h.state,I=h.name,O=h.options,C=b.elements.arrow,y=b.modifiersData.popperOffsets,S=(0,e.default)(b.placement),T=(0,s.default)(S),N=[d.left,d.right].indexOf(S)>=0,M=N?"height":"width";if(!(!C||!y)){var w=v(O.padding,b),L=(0,r.default)(C),B=T==="y"?d.top:d.left,V=T==="y"?d.bottom:d.right,x=b.rects.reference[M]+b.rects.reference[T]-y[T]-b.rects.popper[M],$=y[T]-b.rects.reference[T],G=(0,a.default)(C),D=G?T==="y"?G.clientHeight||0:G.clientWidth||0:0,j=x/2-$/2,U=w[B],Y=D-L[M]-w[V],K=D/2-L[M]/2+j,H=(0,u.within)(U,K,Y),rt=T;b.modifiersData[I]=(m={},m[rt]=H,m.centerOffset=H-K,m)}}function g(h){var m=h.state,b=h.options,I=b.element,O=I===void 0?"[data-popper-arrow]":I;O!=null&&(typeof O=="string"&&(O=m.elements.popper.querySelector(O),!O)||(0,o.default)(m.elements.popper,O)&&(m.elements.arrow=O))}var f=n.default={name:"arrow",enabled:!0,phase:"main",fn:l,effect:g,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},59894:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0,n.mapToStyles=l;var e=t(46206),r=d(t(44896)),o=d(t(95115)),a=d(t(40600)),s=d(t(16599)),u=d(t(83104)),c=d(t(45)),p=t(63618);function d(h){return h&&h.__esModule?h:{default:h}}var i={top:"auto",right:"auto",bottom:"auto",left:"auto"};function v(h,m){var b=h.x,I=h.y,O=m.devicePixelRatio||1;return{x:(0,p.round)(b*O)/O||0,y:(0,p.round)(I*O)/O||0}}function l(h){var m,b=h.popper,I=h.popperRect,O=h.placement,C=h.variation,y=h.offsets,S=h.position,T=h.gpuAcceleration,N=h.adaptive,M=h.roundOffsets,w=h.isFixed,L=y.x,B=L===void 0?0:L,V=y.y,x=V===void 0?0:V,$=typeof M=="function"?M({x:B,y:x}):{x:B,y:x};B=$.x,x=$.y;var G=y.hasOwnProperty("x"),D=y.hasOwnProperty("y"),j=e.left,U=e.top,Y=window;if(N){var K=(0,r.default)(b),H="clientHeight",rt="clientWidth";if(K===(0,o.default)(b)&&(K=(0,a.default)(b),(0,s.default)(K).position!=="static"&&S==="absolute"&&(H="scrollHeight",rt="scrollWidth")),K=K,O===e.top||(O===e.left||O===e.right)&&C===e.end){U=e.bottom;var lt=w&&K===Y&&Y.visualViewport?Y.visualViewport.height:K[H];x-=lt-I.height,x*=T?1:-1}if(O===e.left||(O===e.top||O===e.bottom)&&C===e.end){j=e.right;var ct=w&&K===Y&&Y.visualViewport?Y.visualViewport.width:K[rt];B-=ct-I.width,B*=T?1:-1}}var k=Object.assign({position:S},N&&i),Q=M===!0?v({x:B,y:x},(0,o.default)(b)):{x:B,y:x};if(B=Q.x,x=Q.y,T){var it;return Object.assign({},k,(it={},it[U]=D?"0":"",it[j]=G?"0":"",it.transform=(Y.devicePixelRatio||1)<=1?"translate("+B+"px, "+x+"px)":"translate3d("+B+"px, "+x+"px, 0)",it))}return Object.assign({},k,(m={},m[U]=D?x+"px":"",m[j]=G?B+"px":"",m.transform="",m))}function g(h){var m=h.state,b=h.options,I=b.gpuAcceleration,O=I===void 0?!0:I,C=b.adaptive,y=C===void 0?!0:C,S=b.roundOffsets,T=S===void 0?!0:S,N={placement:(0,u.default)(m.placement),variation:(0,c.default)(m.placement),popper:m.elements.popper,popperRect:m.rects.popper,gpuAcceleration:O,isFixed:m.options.strategy==="fixed"};m.modifiersData.popperOffsets!=null&&(m.styles.popper=Object.assign({},m.styles.popper,l(Object.assign({},N,{offsets:m.modifiersData.popperOffsets,position:m.options.strategy,adaptive:y,roundOffsets:T})))),m.modifiersData.arrow!=null&&(m.styles.arrow=Object.assign({},m.styles.arrow,l(Object.assign({},N,{offsets:m.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:T})))),m.attributes.popper=Object.assign({},m.attributes.popper,{"data-popper-placement":m.placement})}var f=n.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:g,data:{}}},36692:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=r(t(95115));function r(u){return u&&u.__esModule?u:{default:u}}var o={passive:!0};function a(u){var c=u.state,p=u.instance,d=u.options,i=d.scroll,v=i===void 0?!0:i,l=d.resize,g=l===void 0?!0:l,f=(0,e.default)(c.elements.popper),h=[].concat(c.scrollParents.reference,c.scrollParents.popper);return v&&h.forEach(function(m){m.addEventListener("scroll",p.update,o)}),g&&f.addEventListener("resize",p.update,o),function(){v&&h.forEach(function(m){m.removeEventListener("scroll",p.update,o)}),g&&f.removeEventListener("resize",p.update,o)}}var s=n.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function u(){}return u}(),effect:a,data:{}}},23798:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=p(t(71376)),r=p(t(83104)),o=p(t(86459)),a=p(t(17633)),s=p(t(9041)),u=t(46206),c=p(t(45));function p(l){return l&&l.__esModule?l:{default:l}}function d(l){if((0,r.default)(l)===u.auto)return[];var g=(0,e.default)(l);return[(0,o.default)(l),g,(0,o.default)(g)]}function i(l){var g=l.state,f=l.options,h=l.name;if(!g.modifiersData[h]._skip){for(var m=f.mainAxis,b=m===void 0?!0:m,I=f.altAxis,O=I===void 0?!0:I,C=f.fallbackPlacements,y=f.padding,S=f.boundary,T=f.rootBoundary,N=f.altBoundary,M=f.flipVariations,w=M===void 0?!0:M,L=f.allowedAutoPlacements,B=g.options.placement,V=(0,r.default)(B),x=V===B,$=C||(x||!w?[(0,e.default)(B)]:d(B)),G=[B].concat($).reduce(function(nt,z){return nt.concat((0,r.default)(z)===u.auto?(0,s.default)(g,{placement:z,boundary:S,rootBoundary:T,padding:y,flipVariations:w,allowedAutoPlacements:L}):z)},[]),D=g.rects.reference,j=g.rects.popper,U=new Map,Y=!0,K=G[0],H=0;H=0,Q=k?"width":"height",it=(0,a.default)(g,{placement:rt,boundary:S,rootBoundary:T,altBoundary:N,padding:y}),vt=k?ct?u.right:u.left:ct?u.bottom:u.top;D[Q]>j[Q]&&(vt=(0,e.default)(vt));var ft=(0,e.default)(vt),J=[];if(b&&J.push(it[lt]<=0),O&&J.push(it[vt]<=0,it[ft]<=0),J.every(function(nt){return nt})){K=rt,Y=!1;break}U.set(rt,J)}if(Y)for(var at=w?3:1,st=function(){function nt(z){var Z=G.find(function(et){var ht=U.get(et);if(ht)return ht.slice(0,z).every(function(St){return St})});if(Z)return K=Z,"break"}return nt}(),mt=at;mt>0;mt--){var ot=st(mt);if(ot==="break")break}g.placement!==K&&(g.modifiersData[h]._skip=!0,g.placement=K,g.reset=!0)}}var v=n.default={name:"flip",enabled:!0,phase:"main",fn:i,requiresIfExists:["offset"],data:{_skip:!1}}},83761:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=t(46206),r=o(t(17633));function o(p){return p&&p.__esModule?p:{default:p}}function a(p,d,i){return i===void 0&&(i={x:0,y:0}),{top:p.top-d.height-i.y,right:p.right-d.width+i.x,bottom:p.bottom-d.height+i.y,left:p.left-d.width-i.x}}function s(p){return[e.top,e.right,e.bottom,e.left].some(function(d){return p[d]>=0})}function u(p){var d=p.state,i=p.name,v=d.rects.reference,l=d.rects.popper,g=d.modifiersData.preventOverflow,f=(0,r.default)(d,{elementContext:"reference"}),h=(0,r.default)(d,{altBoundary:!0}),m=a(f,v),b=a(h,l,g),I=s(m),O=s(b);d.modifiersData[i]={referenceClippingOffsets:m,popperEscapeOffsets:b,isReferenceHidden:I,hasPopperEscaped:O},d.attributes.popper=Object.assign({},d.attributes.popper,{"data-popper-reference-hidden":I,"data-popper-escaped":O})}var c=n.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:u}},39805:function(E,n,t){"use strict";n.__esModule=!0,n.preventOverflow=n.popperOffsets=n.offset=n.hide=n.flip=n.eventListeners=n.computeStyles=n.arrow=n.applyStyles=void 0;var e=i(t(19975));n.applyStyles=e.default;var r=i(t(52744));n.arrow=r.default;var o=i(t(59894));n.computeStyles=o.default;var a=i(t(36692));n.eventListeners=a.default;var s=i(t(23798));n.flip=s.default;var u=i(t(83761));n.hide=u.default;var c=i(t(61410));n.offset=c.default;var p=i(t(40107));n.popperOffsets=p.default;var d=i(t(75137));n.preventOverflow=d.default;function i(v){return v&&v.__esModule?v:{default:v}}},61410:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0,n.distanceAndSkiddingToXY=a;var e=o(t(83104)),r=t(46206);function o(c){return c&&c.__esModule?c:{default:c}}function a(c,p,d){var i=(0,e.default)(c),v=[r.left,r.top].indexOf(i)>=0?-1:1,l=typeof d=="function"?d(Object.assign({},p,{placement:c})):d,g=l[0],f=l[1];return g=g||0,f=(f||0)*v,[r.left,r.right].indexOf(i)>=0?{x:f,y:g}:{x:g,y:f}}function s(c){var p=c.state,d=c.options,i=c.name,v=d.offset,l=v===void 0?[0,0]:v,g=r.placements.reduce(function(b,I){return b[I]=a(I,p.rects,l),b},{}),f=g[p.placement],h=f.x,m=f.y;p.modifiersData.popperOffsets!=null&&(p.modifiersData.popperOffsets.x+=h,p.modifiersData.popperOffsets.y+=m),p.modifiersData[i]=g}var u=n.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:s}},40107:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=r(t(89951));function r(s){return s&&s.__esModule?s:{default:s}}function o(s){var u=s.state,c=s.name;u.modifiersData[c]=(0,e.default)({reference:u.rects.reference,element:u.rects.popper,strategy:"absolute",placement:u.placement})}var a=n.default={name:"popperOffsets",enabled:!0,phase:"read",fn:o,data:{}}},75137:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=t(46206),r=l(t(83104)),o=l(t(41199)),a=l(t(28066)),s=t(28595),u=l(t(28811)),c=l(t(44896)),p=l(t(17633)),d=l(t(45)),i=l(t(34780)),v=t(63618);function l(h){return h&&h.__esModule?h:{default:h}}function g(h){var m=h.state,b=h.options,I=h.name,O=b.mainAxis,C=O===void 0?!0:O,y=b.altAxis,S=y===void 0?!1:y,T=b.boundary,N=b.rootBoundary,M=b.altBoundary,w=b.padding,L=b.tether,B=L===void 0?!0:L,V=b.tetherOffset,x=V===void 0?0:V,$=(0,p.default)(m,{boundary:T,rootBoundary:N,padding:w,altBoundary:M}),G=(0,r.default)(m.placement),D=(0,d.default)(m.placement),j=!D,U=(0,o.default)(G),Y=(0,a.default)(U),K=m.modifiersData.popperOffsets,H=m.rects.reference,rt=m.rects.popper,lt=typeof x=="function"?x(Object.assign({},m.rects,{placement:m.placement})):x,ct=typeof lt=="number"?{mainAxis:lt,altAxis:lt}:Object.assign({mainAxis:0,altAxis:0},lt),k=m.modifiersData.offset?m.modifiersData.offset[m.placement]:null,Q={x:0,y:0};if(K){if(C){var it,vt=U==="y"?e.top:e.left,ft=U==="y"?e.bottom:e.right,J=U==="y"?"height":"width",at=K[U],st=at+$[vt],mt=at-$[ft],ot=B?-rt[J]/2:0,nt=D===e.start?H[J]:rt[J],z=D===e.start?-rt[J]:-H[J],Z=m.elements.arrow,et=B&&Z?(0,u.default)(Z):{width:0,height:0},ht=m.modifiersData["arrow#persistent"]?m.modifiersData["arrow#persistent"].padding:(0,i.default)(),St=ht[vt],ut=ht[ft],yt=(0,s.within)(0,H[J],et[J]),Pt=j?H[J]/2-ot-yt-St-ct.mainAxis:nt-yt-St-ct.mainAxis,_=j?-H[J]/2+ot+yt+ut+ct.mainAxis:z+yt+ut+ct.mainAxis,pt=m.elements.arrow&&(0,c.default)(m.elements.arrow),Ct=pt?U==="y"?pt.clientTop||0:pt.clientLeft||0:0,At=(it=k==null?void 0:k[U])!=null?it:0,Dt=at+Pt-At-Ct,jt=at+_-At,It=(0,s.within)(B?(0,v.min)(st,Dt):st,at,B?(0,v.max)(mt,jt):mt);K[U]=It,Q[U]=It-at}if(S){var gt,Et=U==="x"?e.top:e.left,Ot=U==="x"?e.bottom:e.right,bt=K[Y],Nt=Y==="y"?"height":"width",Ft=bt+$[Et],Vt=bt-$[Ot],$t=[e.top,e.left].indexOf(G)!==-1,Wt=(gt=k==null?void 0:k[Y])!=null?gt:0,Gt=$t?Ft:bt-H[Nt]-rt[Nt]-Wt+ct.altAxis,Ht=$t?bt+H[Nt]+rt[Nt]-Wt-ct.altAxis:Vt,Jt=B&&$t?(0,s.withinMaxClamp)(Gt,bt,Ht):(0,s.within)(B?Gt:Ft,bt,B?Ht:Vt);K[Y]=Jt,Q[Y]=Jt-bt}m.modifiersData[I]=Q}}var f=n.default={name:"preventOverflow",enabled:!0,phase:"main",fn:g,requiresIfExists:["offset"]}},2473:function(E,n,t){"use strict";n.__esModule=!0,n.defaultModifiers=n.createPopper=void 0;var e=t(96376);n.popperGenerator=e.popperGenerator,n.detectOverflow=e.detectOverflow;var r=u(t(36692)),o=u(t(40107)),a=u(t(59894)),s=u(t(19975));function u(d){return d&&d.__esModule?d:{default:d}}var c=n.defaultModifiers=[r.default,o.default,a.default,s.default],p=n.createPopper=(0,e.popperGenerator)({defaultModifiers:c})},83312:function(E,n,t){"use strict";n.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};n.defaultModifiers=n.createPopperLite=n.createPopper=void 0;var r=t(96376);n.popperGenerator=r.popperGenerator,n.detectOverflow=r.detectOverflow;var o=f(t(36692)),a=f(t(40107)),s=f(t(59894)),u=f(t(19975)),c=f(t(61410)),p=f(t(23798)),d=f(t(75137)),i=f(t(52744)),v=f(t(83761)),l=t(2473);n.createPopperLite=l.createPopper;var g=t(39805);Object.keys(g).forEach(function(b){b==="default"||b==="__esModule"||Object.prototype.hasOwnProperty.call(e,b)||b in n&&n[b]===g[b]||(n[b]=g[b])});function f(b){return b&&b.__esModule?b:{default:b}}var h=n.defaultModifiers=[o.default,a.default,s.default,u.default,c.default,p.default,d.default,i.default,v.default],m=n.createPopperLite=n.createPopper=(0,r.popperGenerator)({defaultModifiers:h})},9041:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(45)),r=t(46206),o=s(t(17633)),a=s(t(83104));function s(c){return c&&c.__esModule?c:{default:c}}function u(c,p){p===void 0&&(p={});var d=p,i=d.placement,v=d.boundary,l=d.rootBoundary,g=d.padding,f=d.flipVariations,h=d.allowedAutoPlacements,m=h===void 0?r.placements:h,b=(0,e.default)(i),I=b?f?r.variationPlacements:r.variationPlacements.filter(function(y){return(0,e.default)(y)===b}):r.basePlacements,O=I.filter(function(y){return m.indexOf(y)>=0});O.length===0&&(O=I);var C=O.reduce(function(y,S){return y[S]=(0,o.default)(c,{placement:S,boundary:v,rootBoundary:l,padding:g})[(0,a.default)(S)],y},{});return Object.keys(C).sort(function(y,S){return C[y]-C[S]})}},89951:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(83104)),r=s(t(45)),o=s(t(41199)),a=t(46206);function s(c){return c&&c.__esModule?c:{default:c}}function u(c){var p=c.reference,d=c.element,i=c.placement,v=i?(0,e.default)(i):null,l=i?(0,r.default)(i):null,g=p.x+p.width/2-d.width/2,f=p.y+p.height/2-d.height/2,h;switch(v){case a.top:h={x:g,y:p.y-d.height};break;case a.bottom:h={x:g,y:p.y+p.height};break;case a.right:h={x:p.x+p.width,y:f};break;case a.left:h={x:p.x-d.width,y:f};break;default:h={x:p.x,y:p.y}}var m=v?(0,o.default)(v):null;if(m!=null){var b=m==="y"?"height":"width";switch(l){case a.start:h[m]=h[m]-(p[b]/2-d[b]/2);break;case a.end:h[m]=h[m]+(p[b]/2-d[b]/2);break;default:}}return h}},10579:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){var r;return function(){return r||(r=new Promise(function(o){Promise.resolve().then(function(){r=void 0,o(e())})})),r}}},17633:function(E,n,t){"use strict";n.__esModule=!0,n.default=v;var e=i(t(49035)),r=i(t(40600)),o=i(t(37786)),a=i(t(89951)),s=i(t(81666)),u=t(46206),c=t(75573),p=i(t(43286)),d=i(t(81447));function i(l){return l&&l.__esModule?l:{default:l}}function v(l,g){g===void 0&&(g={});var f=g,h=f.placement,m=h===void 0?l.placement:h,b=f.strategy,I=b===void 0?l.strategy:b,O=f.boundary,C=O===void 0?u.clippingParents:O,y=f.rootBoundary,S=y===void 0?u.viewport:y,T=f.elementContext,N=T===void 0?u.popper:T,M=f.altBoundary,w=M===void 0?!1:M,L=f.padding,B=L===void 0?0:L,V=(0,p.default)(typeof B!="number"?B:(0,d.default)(B,u.basePlacements)),x=N===u.popper?u.reference:u.popper,$=l.rects.popper,G=l.elements[w?x:N],D=(0,e.default)((0,c.isElement)(G)?G:G.contextElement||(0,r.default)(l.elements.popper),C,S,I),j=(0,o.default)(l.elements.reference),U=(0,a.default)({reference:j,element:$,strategy:"absolute",placement:m}),Y=(0,s.default)(Object.assign({},$,U)),K=N===u.popper?Y:j,H={top:D.top-K.top+V.top,bottom:K.bottom-D.bottom+V.bottom,left:D.left-K.left+V.left,right:K.right-D.right+V.right},rt=l.modifiersData.offset;if(N===u.popper&&rt){var lt=rt[m];Object.keys(H).forEach(function(ct){var k=[u.right,u.bottom].indexOf(ct)>=0?1:-1,Q=[u.top,u.bottom].indexOf(ct)>=0?"y":"x";H[ct]+=lt[Q]*k})}return H}},81447:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e,r){return r.reduce(function(o,a){return o[a]=e,o},{})}},28066:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return e==="x"?"y":"x"}},83104:function(E,n,t){"use strict";n.__esModule=!0,n.default=r;var e=t(46206);function r(o){return o.split("-")[0]}},34780:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(){return{top:0,right:0,bottom:0,left:0}}},41199:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},71376:function(E,n){"use strict";n.__esModule=!0,n.default=e;var t={left:"right",right:"left",bottom:"top",top:"bottom"};function e(r){return r.replace(/left|right|bottom|top/g,function(o){return t[o]})}},86459:function(E,n){"use strict";n.__esModule=!0,n.default=e;var t={start:"end",end:"start"};function e(r){return r.replace(/start|end/g,function(o){return t[o]})}},45:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return e.split("-")[1]}},63618:function(E,n){"use strict";n.__esModule=!0,n.round=n.min=n.max=void 0;var t=n.max=Math.max,e=n.min=Math.min,r=n.round=Math.round},56500:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){var r=e.reduce(function(o,a){var s=o[a.name];return o[a.name]=s?Object.assign({},s,a,{options:Object.assign({},s.options,a.options),data:Object.assign({},s.data,a.data)}):a,o},{});return Object.keys(r).map(function(o){return r[o]})}},43286:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(34780));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return Object.assign({},(0,e.default)(),a)}},33118:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=t(46206);function r(a){var s=new Map,u=new Set,c=[];a.forEach(function(d){s.set(d.name,d)});function p(d){u.add(d.name);var i=[].concat(d.requires||[],d.requiresIfExists||[]);i.forEach(function(v){if(!u.has(v)){var l=s.get(v);l&&p(l)}}),c.push(d)}return a.forEach(function(d){u.has(d.name)||p(d)}),c}function o(a){var s=r(a);return e.modifierPhases.reduce(function(u,c){return u.concat(s.filter(function(p){return p.phase===c}))},[])}},81666:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},35366:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}},28595:function(E,n,t){"use strict";n.__esModule=!0,n.within=r,n.withinMaxClamp=o;var e=t(63618);function r(a,s,u){return(0,e.max)(a,(0,e.min)(s,u))}function o(a,s,u){var c=r(a,s,u);return c>u?u:c}},22734:function(E){"use strict";/*! @license DOMPurify 2.5.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.0/LICENSE */(function(n,t){E.exports=t()})(void 0,function(){"use strict";function n(_){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pt){return typeof pt}:function(pt){return pt&&typeof Symbol=="function"&&pt.constructor===Symbol&&pt!==Symbol.prototype?"symbol":typeof pt},n(_)}function t(_,pt){return t=Object.setPrototypeOf||function(){function Ct(At,Dt){return At.__proto__=Dt,At}return Ct}(),t(_,pt)}function e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(_){return!1}}function r(_,pt,Ct){return e()?r=Reflect.construct:r=function(){function At(Dt,jt,It){var gt=[null];gt.push.apply(gt,jt);var Et=Function.bind.apply(Dt,gt),Ot=new Et;return It&&t(Ot,It.prototype),Ot}return At}(),r.apply(null,arguments)}function o(_){return a(_)||s(_)||u(_)||p()}function a(_){if(Array.isArray(_))return c(_)}function s(_){if(typeof Symbol!="undefined"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function u(_,pt){if(_){if(typeof _=="string")return c(_,pt);var Ct=Object.prototype.toString.call(_).slice(8,-1);if(Ct==="Object"&&_.constructor&&(Ct=_.constructor.name),Ct==="Map"||Ct==="Set")return Array.from(_);if(Ct==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ct))return c(_,pt)}}function c(_,pt){(pt==null||pt>_.length)&&(pt=_.length);for(var Ct=0,At=new Array(pt);Ct1?Ct-1:0),Dt=1;Dt/gm),st=h(/\${[\w\W]*}/gm),mt=h(/^data-[\-\w.\u00B7-\uFFFF]/),ot=h(/^aria-[\-\w]+$/),nt=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=h(/^(?:\w+script|data):/i),Z=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),et=h(/^html$/i),ht=h(/^[a-z][.\w]*(-[.\w]+)+$/i),St=function(){function _(){return typeof window=="undefined"?null:window}return _}(),ut=function(){function _(pt,Ct){if(n(pt)!=="object"||typeof pt.createPolicy!="function")return null;var At=null,Dt="data-tt-policy-suffix";Ct.currentScript&&Ct.currentScript.hasAttribute(Dt)&&(At=Ct.currentScript.getAttribute(Dt));var jt="dompurify"+(At?"#"+At:"");try{return pt.createPolicy(jt,{createHTML:function(){function It(gt){return gt}return It}(),createScriptURL:function(){function It(gt){return gt}return It}()})}catch(It){return null}}return _}();function yt(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:St(),pt=function(){function A(P){return yt(P)}return A}();if(pt.version="2.5.0",pt.removed=[],!_||!_.document||_.document.nodeType!==9)return pt.isSupported=!1,pt;var Ct=_.document,At=_.document,Dt=_.DocumentFragment,jt=_.HTMLTemplateElement,It=_.Node,gt=_.Element,Et=_.NodeFilter,Ot=_.NamedNodeMap,bt=Ot===void 0?_.NamedNodeMap||_.MozNamedAttrMap:Ot,Nt=_.HTMLFormElement,Ft=_.DOMParser,Vt=_.trustedTypes,$t=gt.prototype,Wt=U($t,"cloneNode"),Gt=U($t,"nextSibling"),Ht=U($t,"childNodes"),Jt=U($t,"parentNode");if(typeof jt=="function"){var Le=At.createElement("template");Le.content&&Le.content.ownerDocument&&(At=Le.content.ownerDocument)}var qt=ut(Vt,Ct),Pe=qt?qt.createHTML(""):"",Ne=At,me=Ne.implementation,ye=Ne.createNodeIterator,an=Ne.createDocumentFragment,un=Ne.getElementsByTagName,Tn=Ct.importNode,Ye={};try{Ye=j(At).documentMode?At.documentMode:{}}catch(A){}var re={};pt.isSupported=typeof Jt=="function"&&me&&me.createHTMLDocument!==void 0&&Ye!==9;var Ke=J,He=at,Be=st,sn=mt,In=ot,cn=z,ln=Z,On=ht,Se=nt,zt=null,te=D({},[].concat(o(Y),o(K),o(H),o(lt),o(k))),Yt=null,Ee=D({},[].concat(o(Q),o(it),o(vt),o(ft))),kt=Object.seal(Object.create(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}})),le=null,Ce=null,We=!0,ze=!0,fn=!1,dn=!0,be=!1,De=!0,fe=!1,Fe=!1,xe=!1,de=!1,Xt=!1,Ve=!1,vn=!0,ke=!1,hn="user-content-",ue=!0,Me=!1,Te={},Ie=null,Xe=D({},["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"]),Qe=null,pn=D({},["audio","video","img","source","image","track"]),je=null,gn=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ee="http://www.w3.org/1998/Math/MathML",Ue="http://www.w3.org/2000/svg",se="http://www.w3.org/1999/xhtml",Oe=se,Ze=!1,Je=null,An=D({},[ee,Ue,se],N),ce,Pn=["application/xhtml+xml","text/html"],mn="text/html",Qt,Ae=null,Nn=At.createElement("form"),yn=function(){function A(P){return P instanceof RegExp||P instanceof Function}return A}(),_e=function(){function A(P){Ae&&Ae===P||((!P||n(P)!=="object")&&(P={}),P=j(P),ce=Pn.indexOf(P.PARSER_MEDIA_TYPE)===-1?ce=mn:ce=P.PARSER_MEDIA_TYPE,Qt=ce==="application/xhtml+xml"?N:T,zt="ALLOWED_TAGS"in P?D({},P.ALLOWED_TAGS,Qt):te,Yt="ALLOWED_ATTR"in P?D({},P.ALLOWED_ATTR,Qt):Ee,Je="ALLOWED_NAMESPACES"in P?D({},P.ALLOWED_NAMESPACES,N):An,je="ADD_URI_SAFE_ATTR"in P?D(j(gn),P.ADD_URI_SAFE_ATTR,Qt):gn,Qe="ADD_DATA_URI_TAGS"in P?D(j(pn),P.ADD_DATA_URI_TAGS,Qt):pn,Ie="FORBID_CONTENTS"in P?D({},P.FORBID_CONTENTS,Qt):Xe,le="FORBID_TAGS"in P?D({},P.FORBID_TAGS,Qt):{},Ce="FORBID_ATTR"in P?D({},P.FORBID_ATTR,Qt):{},Te="USE_PROFILES"in P?P.USE_PROFILES:!1,We=P.ALLOW_ARIA_ATTR!==!1,ze=P.ALLOW_DATA_ATTR!==!1,fn=P.ALLOW_UNKNOWN_PROTOCOLS||!1,dn=P.ALLOW_SELF_CLOSE_IN_ATTR!==!1,be=P.SAFE_FOR_TEMPLATES||!1,De=P.SAFE_FOR_XML!==!1,fe=P.WHOLE_DOCUMENT||!1,de=P.RETURN_DOM||!1,Xt=P.RETURN_DOM_FRAGMENT||!1,Ve=P.RETURN_TRUSTED_TYPE||!1,xe=P.FORCE_BODY||!1,vn=P.SANITIZE_DOM!==!1,ke=P.SANITIZE_NAMED_PROPS||!1,ue=P.KEEP_CONTENT!==!1,Me=P.IN_PLACE||!1,Se=P.ALLOWED_URI_REGEXP||Se,Oe=P.NAMESPACE||se,kt=P.CUSTOM_ELEMENT_HANDLING||{},P.CUSTOM_ELEMENT_HANDLING&&yn(P.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(kt.tagNameCheck=P.CUSTOM_ELEMENT_HANDLING.tagNameCheck),P.CUSTOM_ELEMENT_HANDLING&&yn(P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(kt.attributeNameCheck=P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),P.CUSTOM_ELEMENT_HANDLING&&typeof P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(kt.allowCustomizedBuiltInElements=P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),be&&(ze=!1),Xt&&(de=!0),Te&&(zt=D({},o(k)),Yt=[],Te.html===!0&&(D(zt,Y),D(Yt,Q)),Te.svg===!0&&(D(zt,K),D(Yt,it),D(Yt,ft)),Te.svgFilters===!0&&(D(zt,H),D(Yt,it),D(Yt,ft)),Te.mathMl===!0&&(D(zt,lt),D(Yt,vt),D(Yt,ft))),P.ADD_TAGS&&(zt===te&&(zt=j(zt)),D(zt,P.ADD_TAGS,Qt)),P.ADD_ATTR&&(Yt===Ee&&(Yt=j(Yt)),D(Yt,P.ADD_ATTR,Qt)),P.ADD_URI_SAFE_ATTR&&D(je,P.ADD_URI_SAFE_ATTR,Qt),P.FORBID_CONTENTS&&(Ie===Xe&&(Ie=j(Ie)),D(Ie,P.FORBID_CONTENTS,Qt)),ue&&(zt["#text"]=!0),fe&&D(zt,["html","head","body"]),zt.table&&(D(zt,["tbody"]),delete le.tbody),f&&f(P),Ae=P)}return A}(),Sn=D({},["mi","mo","mn","ms","mtext"]),oe=D({},["foreignobject","desc","title","annotation-xml"]),$e=D({},["title","style","font","a","script"]),we=D({},K);D(we,H),D(we,rt);var qe=D({},lt);D(qe,ct);var Mn=function(){function A(P){var R=Jt(P);(!R||!R.tagName)&&(R={namespaceURI:Oe,tagName:"template"});var F=T(P.tagName),W=T(R.tagName);return Je[P.namespaceURI]?P.namespaceURI===Ue?R.namespaceURI===se?F==="svg":R.namespaceURI===ee?F==="svg"&&(W==="annotation-xml"||Sn[W]):!!we[F]:P.namespaceURI===ee?R.namespaceURI===se?F==="math":R.namespaceURI===Ue?F==="math"&&oe[W]:!!qe[F]:P.namespaceURI===se?R.namespaceURI===Ue&&!oe[W]||R.namespaceURI===ee&&!Sn[W]?!1:!qe[F]&&($e[F]||!we[F]):!!(ce==="application/xhtml+xml"&&Je[P.namespaceURI]):!1}return A}(),ne=function(){function A(P){S(pt.removed,{element:P});try{P.parentNode.removeChild(P)}catch(R){try{P.outerHTML=Pe}catch(F){P.remove()}}}return A}(),Ge=function(){function A(P,R){try{S(pt.removed,{attribute:R.getAttributeNode(P),from:R})}catch(F){S(pt.removed,{attribute:null,from:R})}if(R.removeAttribute(P),P==="is"&&!Yt[P])if(de||Xt)try{ne(R)}catch(F){}else try{R.setAttribute(P,"")}catch(F){}}return A}(),En=function(){function A(P){var R,F;if(xe)P=""+P;else{var W=M(P,/^[\r\n\t ]+/);F=W&&W[0]}ce==="application/xhtml+xml"&&Oe===se&&(P=''+P+"");var q=qt?qt.createHTML(P):P;if(Oe===se)try{R=new Ft().parseFromString(q,ce)}catch(dt){}if(!R||!R.documentElement){R=me.createDocument(Oe,"template",null);try{R.documentElement.innerHTML=Ze?Pe:q}catch(dt){}}var tt=R.body||R.documentElement;return P&&F&&tt.insertBefore(At.createTextNode(F),tt.childNodes[0]||null),Oe===se?un.call(R,fe?"html":"body")[0]:fe?R.documentElement:tt}return A}(),Re=function(){function A(P){return ye.call(P.ownerDocument||P,P,Et.SHOW_ELEMENT|Et.SHOW_COMMENT|Et.SHOW_TEXT|Et.SHOW_PROCESSING_INSTRUCTION|Et.SHOW_CDATA_SECTION,null,!1)}return A}(),wn=function(){function A(P){return P instanceof Nt&&(typeof P.nodeName!="string"||typeof P.textContent!="string"||typeof P.removeChild!="function"||!(P.attributes instanceof bt)||typeof P.removeAttribute!="function"||typeof P.setAttribute!="function"||typeof P.namespaceURI!="string"||typeof P.insertBefore!="function"||typeof P.hasChildNodes!="function")}return A}(),he=function(){function A(P){return n(It)==="object"?P instanceof It:P&&n(P)==="object"&&typeof P.nodeType=="number"&&typeof P.nodeName=="string"}return A}(),ae=function(){function A(P,R,F){re[P]&&C(re[P],function(W){W.call(pt,R,F,Ae)})}return A}(),Cn=function(){function A(P){var R;if(ae("beforeSanitizeElements",P,null),wn(P)||V(/[\u0080-\uFFFF]/,P.nodeName))return ne(P),!0;var F=Qt(P.nodeName);if(ae("uponSanitizeElement",P,{tagName:F,allowedTags:zt}),P.hasChildNodes()&&!he(P.firstElementChild)&&(!he(P.content)||!he(P.content.firstElementChild))&&V(/<[/\w]/g,P.innerHTML)&&V(/<[/\w]/g,P.textContent)||F==="select"&&V(/