text: (this.csbJsonP=this.csbJsonP||[]).push([[2],{"../sandbox-hooks/html2canvas-lib/core/bitwise.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t],void 0===(s="function"===typeof(o=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.contains=void 0,e.contains=function(e,t){return 0!==(e&t)}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/core/cache-storage.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/regenerator/index.js"),n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/core/features.js"),n("../sandbox-hooks/html2canvas-lib/core/logger.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i){"use strict";var l=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.Cache=e.CacheStorage=void 0,t=l(t),o=l(o),r=l(r),s=l(s);var c=function(){function e(){(0,r.default)(this,e)}return(0,s.default)(e,null,[{key:"create",value:function(t,n){return e._caches[t]=new u(t,n)}},{key:"destroy",value:function(t){delete e._caches[t]}},{key:"open",value:function(t){var n=e._caches[t];if("undefined"!==typeof n)return n;throw new Error('Cache with key "'.concat(t,'" not found'))}},{key:"getOrigin",value:function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"}},{key:"isSameOrigin",value:function(t){return e.getOrigin(t)===e._origin}},{key:"setContext",value:function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)}},{key:"getInstance",value:function(){var t=e._current;if(null===t)throw new Error("No cache instance attached");return t}},{key:"attachInstance",value:function(t){e._current=t}},{key:"detachInstance",value:function(){e._current=null}}]),e}();e.CacheStorage=c,c._caches={},c._origin="about:blank",c._current=null;var u=function(){function e(t,n){(0,r.default)(this,e),this.id=t,this._options=n,this._cache={}}return(0,s.default)(e,[{key:"addImage",value:function(e){var t=Promise.resolve();return this.has(e)?t:v(e)||f(e)?(this._cache[e]=this.loadImage(e),t):t}},{key:"match",value:function(e){return this._cache[e]}},{key:"loadImage",value:function(){var e=(0,o.default)(t.default.mark((function e(n){var o,r,s,l,u=this;return t.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=c.isSameOrigin(n),r=!b(n)&&this._options.useCORS(o)&&a.FEATURES.SUPPORT_CORS_IMAGES,s=!b(n)&&!o&&"string"===typeof this._options.proxy&&a.FEATURES.SUPPORT_CORS_XHR&&!r,o||!1!==this._options.allowTaint||b(n)||s||r){e.next=5;break}return e.abrupt("return");case 5:if(l=n,!s){e.next=10;break}return e.next=9,this.proxy(l);case 9:l=e.sent;case 10:return i.Logger.getInstance(this.id).debug("Added image ".concat(n.substring(0,256))),e.next=13,new Promise((function(e,t){var n=new Image;n.onload=function(){return e(n)},n.onerror=t,(m(l)||"function"===typeof u._options.useCORS&&u._options.useCORS(o)||r)&&(n.crossOrigin="anonymous"),n.src=l,!0===n.complete&&setTimeout((function(){return e(n)}),500),u._options.imageTimeout>0&&setTimeout((function(){return t("Timed out (".concat(u._options.imageTimeout,"ms) loading image"))}),u._options.imageTimeout)}));case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"has",value:function(e){return"undefined"!==typeof this._cache[e]}},{key:"keys",value:function(){return Promise.resolve(Object.keys(this._cache))}},{key:"proxy",value:function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var o=e.substring(0,256);return new Promise((function(r,s){var i=a.FEATURES.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;if(l.onload=function(){if(200===l.status)if("text"===i)r(l.response);else{var e=new FileReader;e.addEventListener("load",(function(){return r(e.result)}),!1),e.addEventListener("error",(function(e){return s(e)}),!1),e.readAsDataURL(l.response)}else s("Failed to proxy resource ".concat(o," with status code ").concat(l.status))},l.onerror=s,l.open("GET","".concat(n,"?url=").concat(encodeURIComponent(e),"&responseType=").concat(i)),"text"!==i&&l instanceof XMLHttpRequest&&(l.responseType=i),t._options.imageTimeout){var c=t._options.imageTimeout;l.timeout=c,l.ontimeout=function(){return s("Timed out (".concat(c,"ms) proxying ").concat(o))}}l.send()}))}}]),e}();e.Cache=u;var d=/^data:image\/svg\+xml/i,p=/^data:image\/.*;base64,/i,h=/^data:image\/.*/i,f=function(e){return a.FEATURES.SUPPORT_SVG_DRAWING||!y(e)},b=function(e){return h.test(e)},m=function(e){return p.test(e)},v=function(e){return"blob"===e.substr(0,4)},y=function(e){return"svg"===e.substr(-3).toLowerCase()||d.test(e)}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/core/features.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t],void 0===(s="function"===typeof(o=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FEATURES=e.loadSerializedSVG=e.createForeignObjectSVG=void 0;var t=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},n=function(e,t,n,o,r){var s="http://www.w3.org/2000/svg",a=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",n.toString()),i.setAttributeNS(null,"y",o.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(i),i.appendChild(r),a};e.createForeignObjectSVG=n;var o=function(e){return new Promise((function(t,n){var o=new Image;o.onload=function(){return t(o)},o.onerror=n,o.src="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent((new XMLSerializer).serializeToString(e)))}))};e.loadSerializedSVG=o;var r={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement("boundtest");n.style.height="".concat(123,"px"),n.style.display="block",e.body.appendChild(n),t.selectNode(n);var o=t.getBoundingClientRect(),r=Math.round(o.height);if(e.body.removeChild(n),123===r)return!0}}return!1}(document);return Object.defineProperty(r,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement("canvas"),o=n.getContext("2d");if(!o)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{o.drawImage(t,0,0),n.toDataURL()}catch(r){return!1}return!0}(document);return Object.defineProperty(r,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?function(e){var r=e.createElement("canvas");r.width=100,r.height=100;var s=r.getContext("2d");if(!s)return Promise.reject(!1);s.fillStyle="rgb(0, 255, 0)",s.fillRect(0,0,100,100);var a=new Image,i=r.toDataURL();a.src=i;var l=n(100,100,0,0,a);return s.fillStyle="red",s.fillRect(0,0,100,100),o(l).then((function(r){s.drawImage(r,0,0);var a=s.getImageData(0,0,100,100).data;s.fillStyle="red",s.fillRect(0,0,100,100);var l=e.createElement("div");return l.style.backgroundImage="url(".concat(i,")"),l.style.height="".concat(100,"px"),t(a)?o(n(100,100,0,0,l)):Promise.reject(!1)})).then((function(e){return s.drawImage(e,0,0),t(s.getImageData(0,0,100,100).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(r,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e="undefined"!==typeof(new Image).crossOrigin;return Object.defineProperty(r,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e="string"===typeof(new XMLHttpRequest).responseType;return Object.defineProperty(r,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(r,"SUPPORT_CORS_XHR",{value:e}),e}};e.FEATURES=r})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/core/logger.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js")],void 0===(s="function"===typeof(o=function(e,t,o){"use strict";var r=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.Logger=void 0,t=r(t),o=r(o);var s=function(){function e(n){var o=n.id,r=n.enabled;(0,t.default)(this,e),this.id=o,this.enabled=r,this.start=Date.now()}return(0,o.default)(e,[{key:"debug",value:function(){if(this.enabled){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o;"undefined"!==typeof window&&window.console&&"function"===typeof console.debug?(o=console).debug.apply(o,[this.id,"".concat(this.getTime(),"ms")].concat(t)):this.info.apply(this,t)}}},{key:"getTime",value:function(){return Date.now()-this.start}},{key:"info",value:function(){if(this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).info.apply(e,[this.id,"".concat(this.getTime(),"ms")].concat(n))}}},{key:"error",value:function(){if(this.enabled){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o;"undefined"!==typeof window&&window.console&&"function"===typeof console.error?(o=console).error.apply(o,[this.id,"".concat(this.getTime(),"ms")].concat(t)):this.info.apply(this,t)}}}],[{key:"create",value:function(t){e.instances[t.id]=new e(t)}},{key:"destroy",value:function(t){delete e.instances[t]}},{key:"getInstance",value:function(t){var n=e.instances[t];if("undefined"===typeof n)throw new Error("No logger instance found with id ".concat(t));return n}}]),e}();e.Logger=s,s.instances={}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/core/util.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t],void 0===(s="function"===typeof(o=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SMALL_IMAGE=void 0,e.SMALL_IMAGE="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t],void 0===(s="function"===typeof(o=function(e){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.PropertyDescriptorParsingType=void 0,e.PropertyDescriptorParsingType=t,function(e){e[e.VALUE=0]="VALUE",e[e.LIST=1]="LIST",e[e.IDENT_VALUE=2]="IDENT_VALUE",e[e.TYPE_VALUE=3]="TYPE_VALUE",e[e.TOKEN_VALUE=4]="TOKEN_VALUE"}(t||(e.PropertyDescriptorParsingType=t={}))})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/index.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-clip.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-color.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-image.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-origin.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-position.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-repeat.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-size.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-color.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-radius.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-style.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-width.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/color.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/display.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/float.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/letter-spacing.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/line-break.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/line-height.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/list-style-image.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/list-style-position.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/list-style-type.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/margin.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/overflow.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/overflow-wrap.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/padding.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-align.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/position.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-shadow.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-transform.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/transform.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/transform-origin.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/visibility.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/word-break.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/z-index.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/color.js"),n("../sandbox-hooks/html2canvas-lib/css/types/angle.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/opacity.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-decoration-color.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-decoration-line.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-family.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-size.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-weight.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-variant.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-style.js"),n("../sandbox-hooks/html2canvas-lib/core/bitwise.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/content.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/counter-increment.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/counter-reset.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/quotes.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/box-shadow.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l,c,u,d,p,h,f,b,m,v,y,T,E,g,x,_,R,k,C,I,S,A,O,N,L,P,j,D,w,M,B,G,U,K,V,H,F,Y,W,z,X,q,Z,J,Q,$,ee,te,ne,oe,re){"use strict";var se=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.CSSParsedCounterDeclaration=e.CSSParsedPseudoDeclaration=e.CSSParsedDeclaration=void 0,t=se(t),o=se(o);var ae=function(){function e(n){(0,t.default)(this,e),this.backgroundClip=ie(s.backgroundClip,n.backgroundClip),this.backgroundColor=ie(a.backgroundColor,n.backgroundColor),this.backgroundImage=ie(i.backgroundImage,n.backgroundImage),this.backgroundOrigin=ie(l.backgroundOrigin,n.backgroundOrigin),this.backgroundPosition=ie(c.backgroundPosition,n.backgroundPosition),this.backgroundRepeat=ie(u.backgroundRepeat,n.backgroundRepeat),this.backgroundSize=ie(d.backgroundSize,n.backgroundSize),this.borderTopColor=ie(p.borderTopColor,n.borderTopColor),this.borderRightColor=ie(p.borderRightColor,n.borderRightColor),this.borderBottomColor=ie(p.borderBottomColor,n.borderBottomColor),this.borderLeftColor=ie(p.borderLeftColor,n.borderLeftColor),this.borderTopLeftRadius=ie(h.borderTopLeftRadius,n.borderTopLeftRadius),this.borderTopRightRadius=ie(h.borderTopRightRadius,n.borderTopRightRadius),this.borderBottomRightRadius=ie(h.borderBottomRightRadius,n.borderBottomRightRadius),this.borderBottomLeftRadius=ie(h.borderBottomLeftRadius,n.borderBottomLeftRadius),this.borderTopStyle=ie(f.borderTopStyle,n.borderTopStyle),this.borderRightStyle=ie(f.borderRightStyle,n.borderRightStyle),this.borderBottomStyle=ie(f.borderBottomStyle,n.borderBottomStyle),this.borderLeftStyle=ie(f.borderLeftStyle,n.borderLeftStyle),this.borderTopWidth=ie(b.borderTopWidth,n.borderTopWidth),this.borderRightWidth=ie(b.borderRightWidth,n.borderRightWidth),this.borderBottomWidth=ie(b.borderBottomWidth,n.borderBottomWidth),this.borderLeftWidth=ie(b.borderLeftWidth,n.borderLeftWidth),this.boxShadow=ie(re.boxShadow,n.boxShadow),this.color=ie(m.color,n.color),this.display=ie(v.display,n.display),this.float=ie(y.float,n.cssFloat),this.fontFamily=ie(z.fontFamily,n.fontFamily),this.fontSize=ie(X.fontSize,n.fontSize),this.fontStyle=ie(Q.fontStyle,n.fontStyle),this.fontVariant=ie(J.fontVariant,n.fontVariant),this.fontWeight=ie(Z.fontWeight,n.fontWeight),this.letterSpacing=ie(T.letterSpacing,n.letterSpacing),this.lineBreak=ie(E.lineBreak,n.lineBreak),this.lineHeight=ie(g.lineHeight,n.lineHeight),this.listStyleImage=ie(x.listStyleImage,n.listStyleImage),this.listStylePosition=ie(_.listStylePosition,n.listStylePosition),this.listStyleType=ie(R.listStyleType,n.listStyleType),this.marginTop=ie(k.marginTop,n.marginTop),this.marginRight=ie(k.marginRight,n.marginRight),this.marginBottom=ie(k.marginBottom,n.marginBottom),this.marginLeft=ie(k.marginLeft,n.marginLeft),this.opacity=ie(H.opacity,n.opacity);var o=ie(C.overflow,n.overflow);this.overflowX=o[0],this.overflowY=o[o.length>1?1:0],this.overflowWrap=ie(I.overflowWrap,n.overflowWrap),this.paddingTop=ie(S.paddingTop,n.paddingTop),this.paddingRight=ie(S.paddingRight,n.paddingRight),this.paddingBottom=ie(S.paddingBottom,n.paddingBottom),this.paddingLeft=ie(S.paddingLeft,n.paddingLeft),this.position=ie(O.position,n.position),this.textAlign=ie(A.textAlign,n.textAlign),this.textDecorationColor=ie(F.textDecorationColor,n.textDecorationColor||n.color),this.textDecorationLine=ie(Y.textDecorationLine,n.textDecorationLine),this.textShadow=ie(N.textShadow,n.textShadow),this.textTransform=ie(L.textTransform,n.textTransform),this.transform=ie(P.transform,n.transform),this.transformOrigin=ie(j.transformOrigin,n.transformOrigin),this.visibility=ie(D.visibility,n.visibility),this.wordBreak=ie(w.wordBreak,n.wordBreak),this.zIndex=ie(M.zIndex,n.zIndex)}return(0,o.default)(e,[{key:"isVisible",value:function(){return this.display>0&&this.opacity>0&&this.visibility===D.VISIBILITY.VISIBLE}},{key:"isTransparent",value:function(){return(0,U.isTransparent)(this.backgroundColor)}},{key:"isTransformed",value:function(){return null!==this.transform}},{key:"isPositioned",value:function(){return this.position!==O.POSITION.STATIC}},{key:"isPositionedWithZIndex",value:function(){return this.isPositioned()&&!this.zIndex.auto}},{key:"isFloating",value:function(){return this.float!==y.FLOAT.NONE}},{key:"isInlineLevel",value:function(){return(0,$.contains)(this.display,4)||(0,$.contains)(this.display,33554432)||(0,$.contains)(this.display,268435456)||(0,$.contains)(this.display,536870912)||(0,$.contains)(this.display,67108864)||(0,$.contains)(this.display,134217728)}}]),e}();e.CSSParsedDeclaration=ae,e.CSSParsedPseudoDeclaration=function e(n){(0,t.default)(this,e),this.content=ie(ee.content,n.content),this.quotes=ie(oe.quotes,n.quotes)},e.CSSParsedCounterDeclaration=function e(n){(0,t.default)(this,e),this.counterIncrement=ie(te.counterIncrement,n.counterIncrement),this.counterReset=ie(ne.counterReset,n.counterReset)};var ie=function(e,t){var n=new G.Tokenizer,o=null!==t&&"undefined"!==typeof t?t.toString():e.initialValue;n.write(o);var s=new B.Parser(n.read());switch(e.type){case r.PropertyDescriptorParsingType.IDENT_VALUE:var a=s.parseComponentValue();return e.parse((0,B.isIdentToken)(a)?a.value:e.initialValue);case r.PropertyDescriptorParsingType.VALUE:return e.parse(s.parseComponentValue());case r.PropertyDescriptorParsingType.LIST:return e.parse(s.parseComponentValues());case r.PropertyDescriptorParsingType.TOKEN_VALUE:return s.parseComponentValue();case r.PropertyDescriptorParsingType.TYPE_VALUE:switch(e.format){case"angle":return K.angle.parse(s.parseComponentValue());case"color":return U.color.parse(s.parseComponentValue());case"image":return V.image.parse(s.parseComponentValue());case"length":var i=s.parseComponentValue();return(0,q.isLength)(i)?i:W.ZERO_LENGTH;case"length-percentage":var l=s.parseComponentValue();return(0,W.isLengthPercentage)(l)?l:W.ZERO_LENGTH}}throw new Error("Attempting to parse unsupported css format type ".concat(e.format))}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/layout/bounds.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js")],void 0===(s="function"===typeof(o=function(e,t,o){"use strict";var r=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.parseDocumentSize=e.parseBounds=e.Bounds=void 0,t=r(t),o=r(o);var s=function(){function e(n,o,r,s){(0,t.default)(this,e),this.left=n,this.top=o,this.width=r,this.height=s}return(0,o.default)(e,[{key:"add",value:function(t,n,o,r){return new e(this.left+t,this.top+n,this.width+o,this.height+r)}}],[{key:"fromClientRect",value:function(t){return new e(t.left,t.top,t.width,t.height)}}]),e}();e.Bounds=s,e.parseBounds=function(e){return s.fromClientRect(e.getBoundingClientRect())},e.parseDocumentSize=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var o=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),r=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new s(0,0,o,r)}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/layout/text.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/overflow-wrap.js"),n("../../node_modules/css-line-break/dist/css-line-break.es5.js"),n("../sandbox-hooks/html2canvas-lib/css/layout/bounds.js"),n("../sandbox-hooks/html2canvas-lib/core/features.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.parseTextBounds=e.TextBounds=void 0,t=i(t);var l=function e(n,o){(0,t.default)(this,e),this.text=n,this.bounds=o};e.TextBounds=l,e.parseTextBounds=function(e,t,n){var o=d(e,t),r=[],s=0;return o.forEach((function(e){if(t.textDecorationLine.length||e.trim().length>0)if(a.FEATURES.SUPPORT_RANGE_BOUNDS)r.push(new l(e,u(n,s,e.length)));else{var o=n.splitText(e.length);r.push(new l(e,c(n))),n=o}else a.FEATURES.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));s+=e.length})),r};var c=function(e){var t=e.ownerDocument;if(t){var n=t.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var o=e.parentNode;if(o){o.replaceChild(n,e);var r=(0,s.parseBounds)(n);return n.firstChild&&o.replaceChild(n.firstChild,n),r}}return new s.Bounds(0,0,0,0)},u=function(e,t,n){var o=e.ownerDocument;if(!o)throw new Error("Node has no owner document");var r=o.createRange();return r.setStart(e,t),r.setEnd(e,t+n),s.Bounds.fromClientRect(r.getBoundingClientRect())},d=function(e,t){return 0!==t.letterSpacing?(0,r.toCodePoints)(e).map((function(e){return(0,r.fromCodePoint)(e)})):p(e,t)},p=function(e,t){for(var n,s=(0,r.LineBreaker)(e,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap===o.OVERFLOW_WRAP.BREAK_WORD?"break-word":t.wordBreak}),a=[];!(n=s.next()).done;)n.value&&a.push(n.value.slice());return a}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-clip.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";var o;Object.defineProperty(e,"__esModule",{value:!0}),e.backgroundClip=e.BACKGROUND_CLIP=void 0,e.BACKGROUND_CLIP=o,function(e){e[e.BORDER_BOX=0]="BORDER_BOX",e[e.PADDING_BOX=1]="PADDING_BOX",e[e.CONTENT_BOX=2]="CONTENT_BOX"}(o||(e.BACKGROUND_CLIP=o={}));var r={name:"background-clip",initialValue:"border-box",prefix:!1,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){return e.map((function(e){if((0,n.isIdentToken)(e))switch(e.value){case"padding-box":return o.PADDING_BOX;case"content-box":return o.CONTENT_BOX}return o.BORDER_BOX}))}};e.backgroundClip=r})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-color.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.backgroundColor=void 0;var n={name:"background-color",initialValue:"transparent",prefix:!1,type:t.PropertyDescriptorParsingType.TYPE_VALUE,format:"color"};e.backgroundColor=n})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-image.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.backgroundImage=void 0;var s={name:"background-image",initialValue:"none",type:o.PropertyDescriptorParsingType.LIST,prefix:!1,parse:function(e){if(0===e.length)return[];var o=e[0];return o.type===t.TokenType.IDENT_TOKEN&&"none"===o.value?[]:e.filter((function(e){return(0,r.nonFunctionArgSeparator)(e)&&(0,n.isSupportedImage)(e)})).map(n.image.parse)}};e.backgroundImage=s})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-origin.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.backgroundOrigin=void 0;var o={name:"background-origin",initialValue:"border-box",prefix:!1,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){return e.map((function(e){if((0,n.isIdentToken)(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}};e.backgroundOrigin=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-position.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js")],void 0===(s="function"===typeof(o=function(e,t,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.backgroundPosition=void 0;var r={name:"background-position",initialValue:"0% 0%",type:t.PropertyDescriptorParsingType.LIST,prefix:!1,parse:function(e){return(0,n.parseFunctionArgs)(e).map((function(e){return e.filter(o.isLengthPercentage)})).map(o.parseLengthPercentageTuple)}};e.backgroundPosition=r})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-repeat.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";var o;Object.defineProperty(e,"__esModule",{value:!0}),e.backgroundRepeat=e.BACKGROUND_REPEAT=void 0,e.BACKGROUND_REPEAT=o,function(e){e[e.REPEAT=0]="REPEAT",e[e.NO_REPEAT=1]="NO_REPEAT",e[e.REPEAT_X=2]="REPEAT_X",e[e.REPEAT_Y=3]="REPEAT_Y"}(o||(e.BACKGROUND_REPEAT=o={}));var r={name:"background-repeat",initialValue:"repeat",prefix:!1,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){return(0,n.parseFunctionArgs)(e).map((function(e){return e.filter(n.isIdentToken).map((function(e){return e.value})).join(" ")})).map(s)}};e.backgroundRepeat=r;var s=function(e){switch(e){case"no-repeat":return o.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return o.REPEAT_X;case"repeat-y":case"no-repeat repeat":return o.REPEAT_Y;case"repeat":default:return o.REPEAT}}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-size.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js")],void 0===(s="function"===typeof(o=function(e,t,n,o){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.backgroundSize=e.BACKGROUND_SIZE=void 0,e.BACKGROUND_SIZE=r,function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(r||(e.BACKGROUND_SIZE=r={}));var s={name:"background-size",initialValue:"0",prefix:!1,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){return(0,n.parseFunctionArgs)(e).map((function(e){return e.filter(a)}))}};e.backgroundSize=s;var a=function(e){return(0,n.isIdentToken)(e)||(0,o.isLengthPercentage)(e)}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-color.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.borderLeftColor=e.borderBottomColor=e.borderRightColor=e.borderTopColor=void 0;var n=function(e){return{name:"border-".concat(e,"-color"),initialValue:"transparent",prefix:!1,type:t.PropertyDescriptorParsingType.TYPE_VALUE,format:"color"}},o=n("top");e.borderTopColor=o;var r=n("right");e.borderRightColor=r;var s=n("bottom");e.borderBottomColor=s;var a=n("left");e.borderLeftColor=a})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-radius.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.borderBottomLeftRadius=e.borderBottomRightRadius=e.borderTopRightRadius=e.borderTopLeftRadius=void 0;var o=function(e){return{name:"border-radius-".concat(e),initialValue:"0 0",prefix:!1,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){return(0,n.parseLengthPercentageTuple)(e.filter(n.isLengthPercentage))}}},r=o("top-left");e.borderTopLeftRadius=r;var s=o("top-right");e.borderTopRightRadius=s;var a=o("bottom-right");e.borderBottomRightRadius=a;var i=o("bottom-left");e.borderBottomLeftRadius=i})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-style.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.borderLeftStyle=e.borderBottomStyle=e.borderRightStyle=e.borderTopStyle=e.BORDER_STYLE=void 0,e.BORDER_STYLE=n,function(e){e[e.NONE=0]="NONE",e[e.SOLID=1]="SOLID"}(n||(e.BORDER_STYLE=n={}));var o=function(e){return{name:"border-".concat(e,"-style"),initialValue:"solid",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"none":return n.NONE}return n.SOLID}}},r=o("top");e.borderTopStyle=r;var s=o("right");e.borderRightStyle=s;var a=o("bottom");e.borderBottomStyle=a;var i=o("left");e.borderLeftStyle=i})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-width.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.borderLeftWidth=e.borderBottomWidth=e.borderRightWidth=e.borderTopWidth=void 0;var o=function(e){return{name:"border-".concat(e,"-width"),initialValue:"0",type:t.PropertyDescriptorParsingType.VALUE,prefix:!1,parse:function(e){return(0,n.isDimensionToken)(e)?e.number:0}}},r=o("top");e.borderTopWidth=r;var s=o("right");e.borderRightWidth=s;var a=o("bottom");e.borderBottomWidth=a;var i=o("left");e.borderLeftWidth=i})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/box-shadow.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js"),n("../sandbox-hooks/html2canvas-lib/css/types/color.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.boxShadow=void 0;var a={name:"box-shadow",initialValue:"none",type:t.PropertyDescriptorParsingType.LIST,prefix:!1,parse:function(e){return 1===e.length&&(0,n.isIdentWithValue)(e[0],"none")?[]:(0,n.parseFunctionArgs)(e).map((function(e){for(var t={color:255,offsetX:o.ZERO_LENGTH,offsetY:o.ZERO_LENGTH,blur:o.ZERO_LENGTH,spread:o.ZERO_LENGTH,inset:!1},a=0,i=0;i<e.length;i++){var l=e[i];(0,n.isIdentWithValue)(l,"inset")?t.inset=!0:(0,s.isLength)(l)?(0===a?t.offsetX=l:1===a?t.offsetY=l:2===a?t.blur=l:t.spread=l,a++):t.color=r.color.parse(l)}return t}))}};e.boxShadow=a})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/color.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.color=void 0;var n={name:"color",initialValue:"transparent",prefix:!1,type:t.PropertyDescriptorParsingType.TYPE_VALUE,format:"color"};e.color=n})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/content.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.content=void 0;var o={name:"content",initialValue:"none",type:n.PropertyDescriptorParsingType.LIST,prefix:!1,parse:function(e){if(0===e.length)return[];var n=e[0];return n.type===t.TokenType.IDENT_TOKEN&&"none"===n.value?[]:e}};e.content=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/counter-increment.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js")],void 0===(s="function"===typeof(o=function(e,t,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.counterIncrement=void 0;var r={name:"counter-increment",initialValue:"none",prefix:!0,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){if(0===e.length)return null;var t=e[0];if(t.type===o.TokenType.IDENT_TOKEN&&"none"===t.value)return null;for(var r=[],s=e.filter(n.nonWhiteSpace),a=0;a<s.length;a++){var i=s[a],l=s[a+1];if(i.type===o.TokenType.IDENT_TOKEN){var c=l&&(0,n.isNumberToken)(l)?l.number:1;r.push({counter:i.value,increment:c})}}return r}};e.counterIncrement=r})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/counter-reset.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.counterReset=void 0;var o={name:"counter-reset",initialValue:"none",prefix:!0,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){if(0===e.length)return[];for(var t=[],o=e.filter(n.nonWhiteSpace),r=0;r<o.length;r++){var s=o[r],a=o[r+1];if((0,n.isIdentToken)(s)&&"none"!==s.value){var i=a&&(0,n.isNumberToken)(a)?a.number:0;t.push({counter:s.value,reset:i})}}return t}};e.counterReset=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/display.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.display=void 0;var o={name:"display",initialValue:"inline-block",prefix:!1,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){return e.filter(n.isIdentToken).reduce((function(e,t){return e|r(t.value)}),0)}};e.display=o;var r=function(e){switch(e){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/float.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.float=e.FLOAT=void 0,e.FLOAT=n,function(e){e[e.NONE=0]="NONE",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.INLINE_START=3]="INLINE_START",e[e.INLINE_END=4]="INLINE_END"}(n||(e.FLOAT=n={}));var o={name:"float",initialValue:"none",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"left":return n.LEFT;case"right":return n.RIGHT;case"inline-start":return n.INLINE_START;case"inline-end":return n.INLINE_END}return n.NONE}};e.float=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-family.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fontFamily=void 0;var o={name:"font-family",initialValue:"",prefix:!1,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){var t=[],o=[];return e.forEach((function(e){switch(e.type){case n.TokenType.IDENT_TOKEN:case n.TokenType.STRING_TOKEN:t.push(e.value);break;case n.TokenType.NUMBER_TOKEN:t.push(e.number.toString());break;case n.TokenType.COMMA_TOKEN:o.push(t.join(" ")),t.length=0}})),t.length&&o.push(t.join(" ")),o.map((function(e){return-1===e.indexOf(" ")?e:"'".concat(e,"'")}))}};e.fontFamily=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-size.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fontSize=void 0;var n={name:"font-size",initialValue:"0",prefix:!1,type:t.PropertyDescriptorParsingType.TYPE_VALUE,format:"length"};e.fontSize=n})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-style.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.fontStyle=e.FONT_STYLE=void 0,e.FONT_STYLE=n,function(e){e.NORMAL="normal",e.ITALIC="italic",e.OBLIQUE="oblique"}(n||(e.FONT_STYLE=n={}));var o={name:"font-style",initialValue:"normal",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"oblique":return n.OBLIQUE;case"italic":return n.ITALIC;case"normal":default:return n.NORMAL}}};e.fontStyle=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-variant.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fontVariant=void 0;var o={name:"font-variant",initialValue:"none",type:t.PropertyDescriptorParsingType.LIST,prefix:!1,parse:function(e){return e.filter(n.isIdentToken).map((function(e){return e.value}))}};e.fontVariant=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/font-weight.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fontWeight=void 0;var o={name:"font-weight",initialValue:"normal",type:t.PropertyDescriptorParsingType.VALUE,prefix:!1,parse:function(e){if((0,n.isNumberToken)(e))return e.number;if((0,n.isIdentToken)(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}};e.fontWeight=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/letter-spacing.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.letterSpacing=void 0;var o={name:"letter-spacing",initialValue:"0",prefix:!1,type:t.PropertyDescriptorParsingType.VALUE,parse:function(e){return e.type===n.TokenType.IDENT_TOKEN&&"normal"===e.value?0:e.type===n.TokenType.NUMBER_TOKEN||e.type===n.TokenType.DIMENSION_TOKEN?e.number:0}};e.letterSpacing=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/line-break.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.lineBreak=e.LINE_BREAK=void 0,e.LINE_BREAK=n,function(e){e.NORMAL="normal",e.STRICT="strict"}(n||(e.LINE_BREAK=n={}));var o={name:"line-break",initialValue:"normal",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"strict":return n.STRICT;case"normal":default:return n.NORMAL}}};e.lineBreak=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/line-height.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeLineHeight=e.lineHeight=void 0;var s={name:"line-height",initialValue:"normal",prefix:!1,type:t.PropertyDescriptorParsingType.TOKEN_VALUE};e.lineHeight=s,e.computeLineHeight=function(e,t){return(0,n.isIdentToken)(e)&&"normal"===e.value?1.2*t:e.type===o.TokenType.NUMBER_TOKEN?t*e.number:(0,r.isLengthPercentage)(e)?(0,r.getAbsoluteValue)(e,t):t}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/list-style-image.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.listStyleImage=void 0;var r={name:"list-style-image",initialValue:"none",type:o.PropertyDescriptorParsingType.VALUE,prefix:!1,parse:function(e){return e.type===t.TokenType.IDENT_TOKEN&&"none"===e.value?null:n.image.parse(e)}};e.listStyleImage=r})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/list-style-position.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.listStylePosition=e.LIST_STYLE_POSITION=void 0,e.LIST_STYLE_POSITION=n,function(e){e[e.INSIDE=0]="INSIDE",e[e.OUTSIDE=1]="OUTSIDE"}(n||(e.LIST_STYLE_POSITION=n={}));var o={name:"list-style-position",initialValue:"outside",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"inside":return n.INSIDE;case"outside":default:return n.OUTSIDE}}};e.listStylePosition=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/list-style-type.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.listStyleType=e.LIST_STYLE_TYPE=void 0,e.LIST_STYLE_TYPE=n,function(e){e[e.NONE=-1]="NONE",e[e.DISC=0]="DISC",e[e.CIRCLE=1]="CIRCLE",e[e.SQUARE=2]="SQUARE",e[e.DECIMAL=3]="DECIMAL",e[e.CJK_DECIMAL=4]="CJK_DECIMAL",e[e.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",e[e.LOWER_ROMAN=6]="LOWER_ROMAN",e[e.UPPER_ROMAN=7]="UPPER_ROMAN",e[e.LOWER_GREEK=8]="LOWER_GREEK",e[e.LOWER_ALPHA=9]="LOWER_ALPHA",e[e.UPPER_ALPHA=10]="UPPER_ALPHA",e[e.ARABIC_INDIC=11]="ARABIC_INDIC",e[e.ARMENIAN=12]="ARMENIAN",e[e.BENGALI=13]="BENGALI",e[e.CAMBODIAN=14]="CAMBODIAN",e[e.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",e[e.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",e[e.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",e[e.DEVANAGARI=18]="DEVANAGARI",e[e.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",e[e.GEORGIAN=20]="GEORGIAN",e[e.GUJARATI=21]="GUJARATI",e[e.GURMUKHI=22]="GURMUKHI",e[e.HEBREW=22]="HEBREW",e[e.HIRAGANA=23]="HIRAGANA",e[e.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",e[e.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",e[e.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",e[e.KANNADA=27]="KANNADA",e[e.KATAKANA=28]="KATAKANA",e[e.KATAKANA_IROHA=29]="KATAKANA_IROHA",e[e.KHMER=30]="KHMER",e[e.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",e[e.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",e[e.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",e[e.LAO=34]="LAO",e[e.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",e[e.MALAYALAM=36]="MALAYALAM",e[e.MONGOLIAN=37]="MONGOLIAN",e[e.MYANMAR=38]="MYANMAR",e[e.ORIYA=39]="ORIYA",e[e.PERSIAN=40]="PERSIAN",e[e.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",e[e.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",e[e.TAMIL=43]="TAMIL",e[e.TELUGU=44]="TELUGU",e[e.THAI=45]="THAI",e[e.TIBETAN=46]="TIBETAN",e[e.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",e[e.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",e[e.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",e[e.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",e[e.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(n||(e.LIST_STYLE_TYPE=n={}));var o={name:"list-style-type",initialValue:"none",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"disc":return n.DISC;case"circle":return n.CIRCLE;case"square":return n.SQUARE;case"decimal":return n.DECIMAL;case"cjk-decimal":return n.CJK_DECIMAL;case"decimal-leading-zero":return n.DECIMAL_LEADING_ZERO;case"lower-roman":return n.LOWER_ROMAN;case"upper-roman":return n.UPPER_ROMAN;case"lower-greek":return n.LOWER_GREEK;case"lower-alpha":return n.LOWER_ALPHA;case"upper-alpha":return n.UPPER_ALPHA;case"arabic-indic":return n.ARABIC_INDIC;case"armenian":return n.ARMENIAN;case"bengali":return n.BENGALI;case"cambodian":return n.CAMBODIAN;case"cjk-earthly-branch":return n.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return n.CJK_HEAVENLY_STEM;case"cjk-ideographic":return n.CJK_IDEOGRAPHIC;case"devanagari":return n.DEVANAGARI;case"ethiopic-numeric":return n.ETHIOPIC_NUMERIC;case"georgian":return n.GEORGIAN;case"gujarati":return n.GUJARATI;case"gurmukhi":return n.GURMUKHI;case"hebrew":return n.HEBREW;case"hiragana":return n.HIRAGANA;case"hiragana-iroha":return n.HIRAGANA_IROHA;case"japanese-formal":return n.JAPANESE_FORMAL;case"japanese-informal":return n.JAPANESE_INFORMAL;case"kannada":return n.KANNADA;case"katakana":return n.KATAKANA;case"katakana-iroha":return n.KATAKANA_IROHA;case"khmer":return n.KHMER;case"korean-hangul-formal":return n.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return n.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return n.KOREAN_HANJA_INFORMAL;case"lao":return n.LAO;case"lower-armenian":return n.LOWER_ARMENIAN;case"malayalam":return n.MALAYALAM;case"mongolian":return n.MONGOLIAN;case"myanmar":return n.MYANMAR;case"oriya":return n.ORIYA;case"persian":return n.PERSIAN;case"simp-chinese-formal":return n.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return n.SIMP_CHINESE_INFORMAL;case"tamil":return n.TAMIL;case"telugu":return n.TELUGU;case"thai":return n.THAI;case"tibetan":return n.TIBETAN;case"trad-chinese-formal":return n.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return n.TRAD_CHINESE_INFORMAL;case"upper-armenian":return n.UPPER_ARMENIAN;case"disclosure-open":return n.DISCLOSURE_OPEN;case"disclosure-closed":return n.DISCLOSURE_CLOSED;case"none":default:return n.NONE}}};e.listStyleType=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/margin.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.marginLeft=e.marginBottom=e.marginRight=e.marginTop=void 0;var n=function(e){return{name:"margin-".concat(e),initialValue:"0",prefix:!1,type:t.PropertyDescriptorParsingType.TOKEN_VALUE}},o=n("top");e.marginTop=o;var r=n("right");e.marginRight=r;var s=n("bottom");e.marginBottom=s;var a=n("left");e.marginLeft=a})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/opacity.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.opacity=void 0;var o={name:"opacity",initialValue:"1",type:t.PropertyDescriptorParsingType.VALUE,prefix:!1,parse:function(e){return(0,n.isNumberToken)(e)?e.number:1}};e.opacity=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/overflow-wrap.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.overflowWrap=e.OVERFLOW_WRAP=void 0,e.OVERFLOW_WRAP=n,function(e){e.NORMAL="normal",e.BREAK_WORD="break-word"}(n||(e.OVERFLOW_WRAP=n={}));var o={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"break-word":return n.BREAK_WORD;case"normal":default:return n.NORMAL}}};e.overflowWrap=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/overflow.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";var o;Object.defineProperty(e,"__esModule",{value:!0}),e.overflow=e.OVERFLOW=void 0,e.OVERFLOW=o,function(e){e[e.VISIBLE=0]="VISIBLE",e[e.HIDDEN=1]="HIDDEN",e[e.SCROLL=2]="SCROLL",e[e.AUTO=3]="AUTO"}(o||(e.OVERFLOW=o={}));var r={name:"overflow",initialValue:"visible",prefix:!1,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){return e.filter(n.isIdentToken).map((function(e){switch(e.value){case"hidden":return o.HIDDEN;case"scroll":return o.SCROLL;case"auto":return o.AUTO;case"visible":default:return o.VISIBLE}}))}};e.overflow=r})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/padding.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.paddingLeft=e.paddingBottom=e.paddingRight=e.paddingTop=void 0;var n=function(e){return{name:"padding-".concat(e),initialValue:"0",prefix:!1,type:t.PropertyDescriptorParsingType.TYPE_VALUE,format:"length-percentage"}},o=n("top");e.paddingTop=o;var r=n("right");e.paddingRight=r;var s=n("bottom");e.paddingBottom=s;var a=n("left");e.paddingLeft=a})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/position.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.position=e.POSITION=void 0,e.POSITION=n,function(e){e[e.STATIC=0]="STATIC",e[e.RELATIVE=1]="RELATIVE",e[e.ABSOLUTE=2]="ABSOLUTE",e[e.FIXED=3]="FIXED",e[e.STICKY=4]="STICKY"}(n||(e.POSITION=n={}));var o={name:"position",initialValue:"static",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"relative":return n.RELATIVE;case"absolute":return n.ABSOLUTE;case"fixed":return n.FIXED;case"sticky":return n.STICKY}return n.STATIC}};e.position=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/quotes.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js")],void 0===(s="function"===typeof(o=function(e,t,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getQuote=e.quotes=void 0;var r={name:"quotes",initialValue:"none",prefix:!0,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){if(0===e.length)return null;var t=e[0];if(t.type===o.TokenType.IDENT_TOKEN&&"none"===t.value)return null;var r=[],s=e.filter(n.isStringToken);if(s.length%2!==0)return null;for(var a=0;a<s.length;a+=2){var i=s[a].value,l=s[a+1].value;r.push({open:i,close:l})}return r}};e.quotes=r,e.getQuote=function(e,t,n){if(!e)return"";var o=e[Math.min(t,e.length-1)];return o?n?o.open:o.close:""}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-align.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.textAlign=e.TEXT_ALIGN=void 0,e.TEXT_ALIGN=n,function(e){e[e.LEFT=0]="LEFT",e[e.CENTER=1]="CENTER",e[e.RIGHT=2]="RIGHT"}(n||(e.TEXT_ALIGN=n={}));var o={name:"text-align",initialValue:"left",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"right":return n.RIGHT;case"center":case"justify":return n.CENTER;case"left":default:return n.LEFT}}};e.textAlign=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-decoration-color.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.textDecorationColor=void 0;var n={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:t.PropertyDescriptorParsingType.TYPE_VALUE,format:"color"};e.textDecorationColor=n})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-decoration-line.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.textDecorationLine=void 0;var o={name:"text-decoration-line",initialValue:"none",prefix:!1,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){return e.filter(n.isIdentToken).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}};e.textDecorationLine=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-shadow.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js"),n("../sandbox-hooks/html2canvas-lib/css/types/color.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.textShadow=void 0;var a={name:"text-shadow",initialValue:"none",type:t.PropertyDescriptorParsingType.LIST,prefix:!1,parse:function(e){return 1===e.length&&(0,n.isIdentWithValue)(e[0],"none")?[]:(0,n.parseFunctionArgs)(e).map((function(e){for(var t={color:r.COLORS.TRANSPARENT,offsetX:o.ZERO_LENGTH,offsetY:o.ZERO_LENGTH,blur:o.ZERO_LENGTH},n=0,a=0;a<e.length;a++){var i=e[a];(0,s.isLength)(i)?(0===n?t.offsetX=i:1===n?t.offsetY=i:t.blur=i,n++):t.color=r.color.parse(i)}return t}))}};e.textShadow=a})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-transform.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.textTransform=e.TEXT_TRANSFORM=void 0,e.TEXT_TRANSFORM=n,function(e){e[e.NONE=0]="NONE",e[e.LOWERCASE=1]="LOWERCASE",e[e.UPPERCASE=2]="UPPERCASE",e[e.CAPITALIZE=3]="CAPITALIZE"}(n||(e.TEXT_TRANSFORM=n={}));var o={name:"text-transform",initialValue:"none",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"uppercase":return n.UPPERCASE;case"lowercase":return n.LOWERCASE;case"capitalize":return n.CAPITALIZE}return n.NONE}};e.textTransform=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/transform-origin.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js")],void 0===(s="function"===typeof(o=function(e,t,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformOrigin=void 0;var r={type:o.TokenType.PERCENTAGE_TOKEN,number:50,flags:o.FLAG_INTEGER},s=[r,r],a={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:t.PropertyDescriptorParsingType.LIST,parse:function(e){var t=e.filter(n.isLengthPercentage);return 2!==t.length?s:[t[0],t[1]]}};e.transformOrigin=a})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/transform.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js"),n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s){"use strict";var a=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.transform=void 0,t=a(t),o=a(o);var i={name:"transform",initialValue:"none",prefix:!0,type:r.PropertyDescriptorParsingType.VALUE,parse:function(e){if(e.type===s.TokenType.IDENT_TOKEN&&"none"===e.value)return null;if(e.type===s.TokenType.FUNCTION){var t=l[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported transform function "'.concat(e.name,'"'));return t(e.values)}return null}};e.transform=i;var l={matrix:function(e){var t=e.filter((function(e){return e.type===s.TokenType.NUMBER_TOKEN})).map((function(e){return e.number}));return 6===t.length?t:null},matrix3d:function(e){var n=e.filter((function(e){return e.type===s.TokenType.NUMBER_TOKEN})).map((function(e){return e.number})),r=(0,o.default)(n,16),a=r[0],i=r[1];(0,t.default)(r[2]),(0,t.default)(r[3]);var l=r[4],c=r[5];(0,t.default)(r[6]),(0,t.default)(r[7]),(0,t.default)(r[8]),(0,t.default)(r[9]),(0,t.default)(r[10]),(0,t.default)(r[11]);var u=r[12],d=r[13];return(0,t.default)(r[14]),(0,t.default)(r[15]),16===n.length?[a,i,l,c,u,d]:null}}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/visibility.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.visibility=e.VISIBILITY=void 0,e.VISIBILITY=n,function(e){e[e.VISIBLE=0]="VISIBLE",e[e.HIDDEN=1]="HIDDEN",e[e.COLLAPSE=2]="COLLAPSE"}(n||(e.VISIBILITY=n={}));var o={name:"visible",initialValue:"none",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"hidden":return n.HIDDEN;case"collapse":return n.COLLAPSE;case"visible":default:return n.VISIBLE}}};e.visibility=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/word-break.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.wordBreak=e.WORD_BREAK=void 0,e.WORD_BREAK=n,function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(n||(e.WORD_BREAK=n={}));var o={name:"word-break",initialValue:"normal",prefix:!1,type:t.PropertyDescriptorParsingType.IDENT_VALUE,parse:function(e){switch(e){case"break-all":return n.BREAK_ALL;case"keep-all":return n.KEEP_ALL;case"normal":default:return n.NORMAL}}};e.wordBreak=o})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/property-descriptors/z-index.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/IPropertyDescriptor.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js")],void 0===(s="function"===typeof(o=function(e,t,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.zIndex=void 0;var r={name:"z-index",initialValue:"auto",prefix:!1,type:t.PropertyDescriptorParsingType.VALUE,parse:function(e){if(e.type===o.TokenType.IDENT_TOKEN)return{auto:!0,order:0};if((0,n.isNumberToken)(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}};e.zIndex=r})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/syntax/parser.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js")],void 0===(s="function"===typeof(o=function(e,t,o,r){"use strict";var s=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.parseFunctionArgs=e.nonFunctionArgSeparator=e.nonWhiteSpace=e.isIdentWithValue=e.isStringToken=e.isIdentToken=e.isNumberToken=e.isDimensionToken=e.Parser=void 0,t=s(t),o=s(o);var a=function(){function e(n){(0,t.default)(this,e),this._tokens=n}return(0,o.default)(e,[{key:"parseComponentValue",value:function(){for(var e=this.consumeToken();e.type===r.TokenType.WHITESPACE_TOKEN;)e=this.consumeToken();if(e.type===r.TokenType.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(e.type===r.TokenType.WHITESPACE_TOKEN);if(e.type===r.TokenType.EOF_TOKEN)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")}},{key:"parseComponentValues",value:function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===r.TokenType.EOF_TOKEN)return e;e.push(t),e.push()}}},{key:"consumeComponentValue",value:function(){var e=this.consumeToken();switch(e.type){case r.TokenType.LEFT_CURLY_BRACKET_TOKEN:case r.TokenType.LEFT_SQUARE_BRACKET_TOKEN:case r.TokenType.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(e.type);case r.TokenType.FUNCTION_TOKEN:return this.consumeFunction(e)}return e}},{key:"consumeSimpleBlock",value:function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(n.type===r.TokenType.EOF_TOKEN||l(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}}},{key:"consumeFunction",value:function(e){for(var t={name:e.value,values:[],type:r.TokenType.FUNCTION};;){var n=this.consumeToken();if(n.type===r.TokenType.EOF_TOKEN||n.type===r.TokenType.RIGHT_PARENTHESIS_TOKEN)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}}},{key:"consumeToken",value:function(){var e=this._tokens.shift();return"undefined"===typeof e?r.EOF_TOKEN:e}},{key:"reconsumeToken",value:function(e){this._tokens.unshift(e)}}],[{key:"create",value:function(t){var n=new r.Tokenizer;return n.write(t),new e(n.read())}},{key:"parseValue",value:function(t){return e.create(t).parseComponentValue()}},{key:"parseValues",value:function(t){return e.create(t).parseComponentValues()}}]),e}();e.Parser=a,e.isDimensionToken=function(e){return e.type===r.TokenType.DIMENSION_TOKEN},e.isNumberToken=function(e){return e.type===r.TokenType.NUMBER_TOKEN};var i=function(e){return e.type===r.TokenType.IDENT_TOKEN};e.isIdentToken=i,e.isStringToken=function(e){return e.type===r.TokenType.STRING_TOKEN},e.isIdentWithValue=function(e,t){return i(e)&&e.value===t},e.nonWhiteSpace=function(e){return e.type!==r.TokenType.WHITESPACE_TOKEN},e.nonFunctionArgSeparator=function(e){return e.type!==r.TokenType.WHITESPACE_TOKEN&&e.type!==r.TokenType.COMMA_TOKEN},e.parseFunctionArgs=function(e){var t=[],n=[];return e.forEach((function(e){if(e.type===r.TokenType.COMMA_TOKEN){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}e.type!==r.TokenType.WHITESPACE_TOKEN&&n.push(e)})),n.length&&t.push(n),t};var l=function(e,t){return t===r.TokenType.LEFT_CURLY_BRACKET_TOKEN&&e.type===r.TokenType.RIGHT_CURLY_BRACKET_TOKEN||t===r.TokenType.LEFT_SQUARE_BRACKET_TOKEN&&e.type===r.TokenType.RIGHT_SQUARE_BRACKET_TOKEN||t===r.TokenType.LEFT_PARENTHESIS_TOKEN&&e.type===r.TokenType.RIGHT_PARENTHESIS_TOKEN}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n("../../node_modules/@babel/runtime/helpers/toConsumableArray.js"),n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../../node_modules/css-line-break/dist/css-line-break.es5.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i,l=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.Tokenizer=e.EOF_TOKEN=e.FLAG_NUMBER=e.FLAG_INTEGER=e.FLAG_ID=e.FLAG_UNRESTRICTED=e.TokenType=void 0,t=l(t),o=l(o),r=l(r),s=l(s),e.TokenType=i,function(e){e[e.STRING_TOKEN=0]="STRING_TOKEN",e[e.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",e[e.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",e[e.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",e[e.COMMA_TOKEN=4]="COMMA_TOKEN",e[e.HASH_TOKEN=5]="HASH_TOKEN",e[e.DELIM_TOKEN=6]="DELIM_TOKEN",e[e.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",e[e.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",e[e.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",e[e.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",e[e.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",e[e.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",e[e.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",e[e.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",e[e.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",e[e.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",e[e.NUMBER_TOKEN=17]="NUMBER_TOKEN",e[e.FUNCTION=18]="FUNCTION",e[e.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",e[e.IDENT_TOKEN=20]="IDENT_TOKEN",e[e.COLUMN_TOKEN=21]="COLUMN_TOKEN",e[e.URL_TOKEN=22]="URL_TOKEN",e[e.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",e[e.CDC_TOKEN=24]="CDC_TOKEN",e[e.CDO_TOKEN=25]="CDO_TOKEN",e[e.COLON_TOKEN=26]="COLON_TOKEN",e[e.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",e[e.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",e[e.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",e[e.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",e[e.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",e[e.EOF_TOKEN=32]="EOF_TOKEN"}(i||(e.TokenType=i={})),e.FLAG_UNRESTRICTED=1,e.FLAG_ID=2,e.FLAG_INTEGER=4,e.FLAG_NUMBER=8;var c=function(e){return e>=48&&e<=57},u=function(e){return c(e)||e>=65&&e<=70||e>=97&&e<=102},d=function(e){return 10===e||9===e||32===e},p=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},h=function(e){return p(e)||c(e)||45===e},f=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},b=function(e,t){return 92===e&&10!==t},m=function(e,t,n){return 45===e?p(t)||b(t,n):!!p(e)||!(92!==e||!b(e,t))},v=function(e,t,n){return 43===e||45===e?!!c(t)||46===t&&c(n):c(46===e?t:e)},y=function(e){var t=0,n=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(n=-1),t++);for(var o=[];c(e[t]);)o.push(e[t++]);var r=o.length?parseInt(a.fromCodePoint.apply(void 0,o),10):0;46===e[t]&&t++;for(var s=[];c(e[t]);)s.push(e[t++]);var i=s.length,l=i?parseInt(a.fromCodePoint.apply(void 0,s),10):0;69!==e[t]&&101!==e[t]||t++;var u=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(u=-1),t++);for(var d=[];c(e[t]);)d.push(e[t++]);var p=d.length?parseInt(a.fromCodePoint.apply(void 0,d),10):0;return n*(r+l*Math.pow(10,-i))*Math.pow(10,u*p)},T={type:i.LEFT_PARENTHESIS_TOKEN},E={type:i.RIGHT_PARENTHESIS_TOKEN},g={type:i.COMMA_TOKEN},x={type:i.SUFFIX_MATCH_TOKEN},_={type:i.PREFIX_MATCH_TOKEN},R={type:i.COLUMN_TOKEN},k={type:i.DASH_MATCH_TOKEN},C={type:i.INCLUDE_MATCH_TOKEN},I={type:i.LEFT_CURLY_BRACKET_TOKEN},S={type:i.RIGHT_CURLY_BRACKET_TOKEN},A={type:i.SUBSTRING_MATCH_TOKEN},O={type:i.BAD_URL_TOKEN},N={type:i.BAD_STRING_TOKEN},L={type:i.CDO_TOKEN},P={type:i.CDC_TOKEN},j={type:i.COLON_TOKEN},D={type:i.SEMICOLON_TOKEN},w={type:i.LEFT_SQUARE_BRACKET_TOKEN},M={type:i.RIGHT_SQUARE_BRACKET_TOKEN},B={type:i.WHITESPACE_TOKEN},G={type:i.EOF_TOKEN};e.EOF_TOKEN=G;var U=function(){function e(){(0,r.default)(this,e),this._value=[]}return(0,s.default)(e,[{key:"write",value:function(e){this._value=this._value.concat((0,a.toCodePoints)(e))}},{key:"read",value:function(){for(var e=[],t=this.consumeToken();t!==G;)e.push(t),t=this.consumeToken();return e}},{key:"consumeToken",value:function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),o=this.peekCodePoint(2);if(h(t)||b(n,o)){var r=m(t,n,o)?2:1,s=this.consumeName();return{type:i.HASH_TOKEN,value:s,flags:r}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),x;break;case 39:return this.consumeStringToken(39);case 40:return T;case 41:return E;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),A;break;case 43:if(v(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return g;case 45:var l=e,f=this.peekCodePoint(0),y=this.peekCodePoint(1);if(v(l,f,y))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(m(l,f,y))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(45===f&&62===y)return this.consumeCodePoint(),this.consumeCodePoint(),P;break;case 46:if(v(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var O=this.consumeCodePoint();if(42===O&&47===(O=this.consumeCodePoint()))return this.consumeToken();if(-1===O)return this.consumeToken()}break;case 58:return j;case 59:return D;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),L;break;case 64:var N=this.peekCodePoint(0),U=this.peekCodePoint(1),K=this.peekCodePoint(2);if(m(N,U,K)){var V=this.consumeName();return{type:i.AT_KEYWORD_TOKEN,value:V}}break;case 91:return w;case 92:if(b(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return M;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),_;break;case 123:return I;case 125:return S;case 117:case 85:var H=this.peekCodePoint(0),F=this.peekCodePoint(1);return 43!==H||!u(F)&&63!==F||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),k;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),R;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),C;break;case-1:return G}return d(e)?(this.consumeWhiteSpace(),B):c(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):p(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:i.DELIM_TOKEN,value:(0,a.fromCodePoint)(e)}}},{key:"consumeCodePoint",value:function(){var e=this._value.shift();return"undefined"===typeof e?-1:e}},{key:"reconsumeCodePoint",value:function(e){this._value.unshift(e)}},{key:"peekCodePoint",value:function(e){return e>=this._value.length?-1:this._value[e]}},{key:"consumeUnicodeRangeToken",value:function(){for(var e=[],t=this.consumeCodePoint();u(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n){var r=parseInt(a.fromCodePoint.apply(void 0,(0,o.default)(e.map((function(e){return 63===e?48:e})))),16),s=parseInt(a.fromCodePoint.apply(void 0,(0,o.default)(e.map((function(e){return 63===e?70:e})))),16);return{type:i.UNICODE_RANGE_TOKEN,start:r,end:s}}var l=parseInt(a.fromCodePoint.apply(void 0,e),16);if(45===this.peekCodePoint(0)&&u(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var c=[];u(t)&&c.length<6;)c.push(t),t=this.consumeCodePoint();var d=parseInt(a.fromCodePoint.apply(void 0,c),16);return{type:i.UNICODE_RANGE_TOKEN,start:l,end:d}}return{type:i.UNICODE_RANGE_TOKEN,start:l,end:l}}},{key:"consumeIdentLikeToken",value:function(){var e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:i.FUNCTION_TOKEN,value:e}):{type:i.IDENT_TOKEN,value:e}}},{key:"consumeUrlToken",value:function(){var e=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:i.URL_TOKEN,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===i.STRING_TOKEN&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:i.URL_TOKEN,value:n.value}):(this.consumeBadUrlRemnants(),O)}for(;;){var o=this.consumeCodePoint();if(-1===o||41===o)return{type:i.URL_TOKEN,value:a.fromCodePoint.apply(void 0,e)};if(d(o))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:i.URL_TOKEN,value:a.fromCodePoint.apply(void 0,e)}):(this.consumeBadUrlRemnants(),O);if(34===o||39===o||40===o||f(o))return this.consumeBadUrlRemnants(),O;if(92===o){if(!b(o,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),O;e.push(this.consumeEscapedCodePoint())}else e.push(o)}}},{key:"consumeWhiteSpace",value:function(){for(;d(this.peekCodePoint(0));)this.consumeCodePoint()}},{key:"consumeBadUrlRemnants",value:function(){for(;;){var e=this.consumeCodePoint();if(41===e||-1===e)return;b(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}}},{key:"consumeStringSlice",value:function(e){for(var t="";e>0;){var n=Math.min(6e4,e);t+=a.fromCodePoint.apply(void 0,(0,o.default)(this._value.splice(0,n))),e-=n}return this._value.shift(),t}},{key:"consumeStringToken",value:function(e){for(var t="",n=0;;){var o=this._value[n];if(-1===o||void 0===o||o===e)return t+=this.consumeStringSlice(n),{type:i.STRING_TOKEN,value:t};if(10===o)return this._value.splice(0,n),N;if(92===o){var r=this._value[n+1];-1!==r&&void 0!==r&&(10===r?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):b(o,r)&&(t+=this.consumeStringSlice(n),t+=(0,a.fromCodePoint)(this.consumeEscapedCodePoint()),n=-1))}n++}}},{key:"consumeNumber",value:function(){var e=[],t=4,n=this.peekCodePoint(0);for(43!==n&&45!==n||e.push(this.consumeCodePoint());c(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var o=this.peekCodePoint(1);if(46===n&&c(o))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;c(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),o=this.peekCodePoint(1);var r=this.peekCodePoint(2);if((69===n||101===n)&&((43===o||45===o)&&c(r)||c(o)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;c(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[y(e),t]}},{key:"consumeNumericToken",value:function(){var e=this.consumeNumber(),n=(0,t.default)(e,2),o=n[0],r=n[1],s=this.peekCodePoint(0),a=this.peekCodePoint(1),l=this.peekCodePoint(2);if(m(s,a,l)){var c=this.consumeName();return{type:i.DIMENSION_TOKEN,number:o,flags:r,unit:c}}return 37===s?(this.consumeCodePoint(),{type:i.PERCENTAGE_TOKEN,number:o,flags:r}):{type:i.NUMBER_TOKEN,number:o,flags:r}}},{key:"consumeEscapedCodePoint",value:function(){var e=this.consumeCodePoint();if(u(e)){for(var t=(0,a.fromCodePoint)(e);u(this.peekCodePoint(0))&&t.length<6;)t+=(0,a.fromCodePoint)(this.consumeCodePoint());d(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return-1===e?65533:e}},{key:"consumeName",value:function(){for(var e="";;){var t=this.consumeCodePoint();if(h(t))e+=(0,a.fromCodePoint)(t);else{if(!b(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=(0,a.fromCodePoint)(this.consumeEscapedCodePoint())}}}}]),e}();e.Tokenizer=U})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/angle.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js")],void 0===(s="function"===typeof(o=function(e,t,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.deg=e.parseNamedSide=e.isAngle=e.angle=void 0;var r={name:"angle",parse:function(e){if(e.type===n.TokenType.DIMENSION_TOKEN)switch(e.unit){case"deg":return Math.PI*e.number/180;case"grad":return Math.PI/200*e.number;case"rad":return e.number;case"turn":return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}};e.angle=r,e.isAngle=function(e){return e.type===n.TokenType.DIMENSION_TOKEN&&("deg"===e.unit||"grad"===e.unit||"rad"===e.unit||"turn"===e.unit)},e.parseNamedSide=function(e){switch(e.filter(t.isIdentToken).map((function(e){return e.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[o.ZERO_LENGTH,o.ZERO_LENGTH];case"to top":case"bottom":return s(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[o.ZERO_LENGTH,o.HUNDRED_PERCENT];case"to right":case"left":return s(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[o.HUNDRED_PERCENT,o.HUNDRED_PERCENT];case"to bottom":case"top":return s(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[o.HUNDRED_PERCENT,o.ZERO_LENGTH];case"to left":case"right":return s(270)}return 0};var s=function(e){return Math.PI*e/180};e.deg=s})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/color.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/angle.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.COLORS=e.pack=e.asString=e.isTransparent=e.color=void 0,t=i(t);var l={name:"color",parse:function(e){if(e.type===r.TokenType.FUNCTION){var t=f[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'.concat(e.name,'"'));return t(e.values)}if(e.type===r.TokenType.HASH_TOKEN){if(3===e.value.length){var n=e.value.substring(0,1),o=e.value.substring(1,2),s=e.value.substring(2,3);return c(parseInt(n+n,16),parseInt(o+o,16),parseInt(s+s,16),1)}if(4===e.value.length){var a=e.value.substring(0,1),i=e.value.substring(1,2),l=e.value.substring(2,3),u=e.value.substring(3,4);return c(parseInt(a+a,16),parseInt(i+i,16),parseInt(l+l,16),parseInt(u+u,16)/255)}if(6===e.value.length){var d=e.value.substring(0,2),p=e.value.substring(2,4),h=e.value.substring(4,6);return c(parseInt(d,16),parseInt(p,16),parseInt(h,16),1)}if(8===e.value.length){var m=e.value.substring(0,2),v=e.value.substring(2,4),y=e.value.substring(4,6),T=e.value.substring(6,8);return c(parseInt(m,16),parseInt(v,16),parseInt(y,16),parseInt(T,16)/255)}}if(e.type===r.TokenType.IDENT_TOKEN){var E=b[e.value.toUpperCase()];if("undefined"!==typeof E)return E}return b.TRANSPARENT}};e.color=l,e.isTransparent=function(e){return 0===(255&e)},e.asString=function(e){var t=255&e,n=255&e>>8,o=255&e>>16,r=255&e>>24;return t<255?"rgba(".concat(r,",").concat(o,",").concat(n,",").concat(t/255,")"):"rgb(".concat(r,",").concat(o,",").concat(n,")")};var c=function(e,t,n,o){return(e<<24|t<<16|n<<8|Math.round(255*o)<<0)>>>0};e.pack=c;var u=function(e,t){if(e.type===r.TokenType.NUMBER_TOKEN)return e.number;if(e.type===r.TokenType.PERCENTAGE_TOKEN){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},d=function(e){var n=e.filter(o.nonFunctionArgSeparator);if(3===n.length){var r=n.map(u),s=(0,t.default)(r,3),a=s[0],i=s[1],l=s[2];return c(a,i,l,1)}if(4===n.length){var d=n.map(u),p=(0,t.default)(d,4),h=p[0],f=p[1],b=p[2],m=p[3];return c(h,f,b,m)}return 0};function p(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var h=function(e){var n=e.filter(o.nonFunctionArgSeparator),i=(0,t.default)(n,4),l=i[0],u=i[1],d=i[2],h=i[3],f=(l.type===r.TokenType.NUMBER_TOKEN?(0,s.deg)(l.number):s.angle.parse(l))/(2*Math.PI),b=(0,a.isLengthPercentage)(u)?u.number/100:0,m=(0,a.isLengthPercentage)(d)?d.number/100:0,v="undefined"!==typeof h&&(0,a.isLengthPercentage)(h)?(0,a.getAbsoluteValue)(h,1):1;if(0===b)return c(255*m,255*m,255*m,1);var y=m<=.5?m*(b+1):m+b-m*b,T=2*m-y,E=p(T,y,f+1/3),g=p(T,y,f),x=p(T,y,f-1/3);return c(255*E,255*g,255*x,v)},f={hsl:h,hsla:h,rgb:d,rgba:d},b={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};e.COLORS=b})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/functions/-prefix-linear-gradient.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/angle.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/gradient.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.prefixLinearGradient=void 0,e.prefixLinearGradient=function(e){var a=(0,r.deg)(180),i=[];return(0,t.parseFunctionArgs)(e).forEach((function(e,t){if(0===t){var n=e[0];if(n.type===o.TokenType.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(n.value))return void(a=(0,r.parseNamedSide)(e));if((0,r.isAngle)(n))return void(a=(r.angle.parse(n)+(0,r.deg)(270))%(0,r.deg)(360))}var l=(0,s.parseColorStop)(e);i.push(l)})),{angle:a,stops:i,type:n.CSSImageType.LINEAR_GRADIENT}}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/functions/-prefix-radial-gradient.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/gradient.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/radial-gradient.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.prefixRadialGradient=void 0,e.prefixRadialGradient=function(e){var i=n.CSSRadialShape.CIRCLE,l=n.CSSRadialExtent.FARTHEST_CORNER,c=[],u=[];return(0,t.parseFunctionArgs)(e).forEach((function(e,d){var p=!0;if(0===d?p=e.reduce((function(e,n){if((0,t.isIdentToken)(n))switch(n.value){case"center":return u.push(r.FIFTY_PERCENT),!1;case"top":case"left":return u.push(r.ZERO_LENGTH),!1;case"right":case"bottom":return u.push(r.HUNDRED_PERCENT),!1}else if((0,r.isLengthPercentage)(n)||(0,s.isLength)(n))return u.push(n),!1;return e}),p):1===d&&(p=e.reduce((function(e,o){if((0,t.isIdentToken)(o))switch(o.value){case a.CIRCLE:return i=n.CSSRadialShape.CIRCLE,!1;case a.ELLIPSE:return i=n.CSSRadialShape.ELLIPSE,!1;case a.CONTAIN:case a.CLOSEST_SIDE:return l=n.CSSRadialExtent.CLOSEST_SIDE,!1;case a.FARTHEST_SIDE:return l=n.CSSRadialExtent.FARTHEST_SIDE,!1;case a.CLOSEST_CORNER:return l=n.CSSRadialExtent.CLOSEST_CORNER,!1;case a.COVER:case a.FARTHEST_CORNER:return l=n.CSSRadialExtent.FARTHEST_CORNER,!1}else if((0,s.isLength)(o)||(0,r.isLengthPercentage)(o))return Array.isArray(l)||(l=[]),l.push(o),!1;return e}),p)),p){var h=(0,o.parseColorStop)(e);c.push(h)}})),{size:l,shape:i,stops:c,position:u,type:n.CSSImageType.RADIAL_GRADIENT}}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/functions/-webkit-gradient.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/css/types/angle.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/color.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.webkitGradient=void 0,e.webkitGradient=function(e){var i=(0,o.deg)(180),l=[],c=n.CSSImageType.LINEAR_GRADIENT,u=n.CSSRadialShape.CIRCLE,d=n.CSSRadialExtent.FARTHEST_CORNER;return(0,t.parseFunctionArgs)(e).forEach((function(e,o){var i=e[0];if(0===o){if((0,t.isIdentToken)(i)&&"linear"===i.value)return void(c=n.CSSImageType.LINEAR_GRADIENT);if((0,t.isIdentToken)(i)&&"radial"===i.value)return void(c=n.CSSImageType.RADIAL_GRADIENT)}if(i.type===r.TokenType.FUNCTION)if("from"===i.name){var u=s.color.parse(i.values[0]);l.push({stop:a.ZERO_LENGTH,color:u})}else if("to"===i.name){var d=s.color.parse(i.values[0]);l.push({stop:a.HUNDRED_PERCENT,color:d})}else if("color-stop"===i.name){var p=i.values.filter(t.nonFunctionArgSeparator);if(2===p.length){var h=s.color.parse(p[1]),f=p[0];(0,t.isNumberToken)(f)&&l.push({stop:{type:r.TokenType.PERCENTAGE_TOKEN,number:100*f.number,flags:f.flags},color:h})}}})),c===n.CSSImageType.LINEAR_GRADIENT?{angle:(i+(0,o.deg)(180))%(0,o.deg)(360),stops:l,type:c}:{size:d,shape:u,stops:l,position:[],type:c}}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/functions/counter.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/list-style-type.js"),n("../../node_modules/css-line-break/dist/css-line-break.es5.js"),n("../sandbox-hooks/html2canvas-lib/core/bitwise.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.createCounterText=e.CounterState=void 0,t=i(t),o=i(o);var l=function(){function e(){(0,t.default)(this,e),this.counters={}}return(0,o.default)(e,[{key:"getCounterValue",value:function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1}},{key:"getCounterValues",value:function(e){var t=this.counters[e];return t||[]}},{key:"pop",value:function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))}},{key:"parse",value:function(e){var t=this,n=e.counterIncrement,o=e.counterReset,r=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(r=!1,n[Math.max(0,n.length-1)]+=e.increment)}));var s=[];return r&&o.forEach((function(e){var n=t.counters[e.counter];s.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),s}}]),e}();e.CounterState=l;var c={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},u={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},d={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},p={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},h=function(e,t,n,o,r,s){return e<t||e>n?y(e,r,s.length>0):o.integers.reduce((function(t,n,r){for(;e>=n;)e-=n,t+=o.values[r];return t}),"")+s},f=function(e,t,n,o){var r="";do{n||e--,r=o(e)+r,e/=t}while(e*t>=t);return r},b=function(e,t,n,o,r){var a=n-t+1;return(e<0?"-":"")+(f(Math.abs(e),a,o,(function(e){return(0,s.fromCodePoint)(Math.floor(e%a)+t)}))+r)},m=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:". ",o=t.length;return f(Math.abs(e),o,!1,(function(e){return t[Math.floor(e%o)]}))+n},v=function(e,t,n,o,s,i){if(e<-9999||e>9999)return y(e,r.LIST_STYLE_TYPE.CJK_DECIMAL,s.length>0);var l=Math.abs(e),c=s;if(0===l)return t[0]+c;for(var u=0;l>0&&u<=4;u++){var d=l%10;0===d&&(0,a.contains)(i,1)&&""!==c?c=t[d]+c:d>1||1===d&&0===u||1===d&&1===u&&(0,a.contains)(i,2)||1===d&&1===u&&(0,a.contains)(i,4)&&e>100||1===d&&u>1&&(0,a.contains)(i,8)?c=t[d]+(u>0?n[u-1]:"")+c:1===d&&u>0&&(c=n[u-1]+c),l=Math.floor(l/10)}return(e<0?o:"")+c},y=function(e,t,n){var o=n?". ":"",s=n?"\u3001":"",a=n?", ":"",i=n?" ":"";switch(t){case r.LIST_STYLE_TYPE.DISC:return"\u2022"+i;case r.LIST_STYLE_TYPE.CIRCLE:return"\u25e6"+i;case r.LIST_STYLE_TYPE.SQUARE:return"\u25fe"+i;case r.LIST_STYLE_TYPE.DECIMAL_LEADING_ZERO:var l=b(e,48,57,!0,o);return l.length<4?"0".concat(l):l;case r.LIST_STYLE_TYPE.CJK_DECIMAL:return m(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",s);case r.LIST_STYLE_TYPE.LOWER_ROMAN:return h(e,1,3999,c,r.LIST_STYLE_TYPE.DECIMAL,o).toLowerCase();case r.LIST_STYLE_TYPE.UPPER_ROMAN:return h(e,1,3999,c,r.LIST_STYLE_TYPE.DECIMAL,o);case r.LIST_STYLE_TYPE.LOWER_GREEK:return b(e,945,969,!1,o);case r.LIST_STYLE_TYPE.LOWER_ALPHA:return b(e,97,122,!1,o);case r.LIST_STYLE_TYPE.UPPER_ALPHA:return b(e,65,90,!1,o);case r.LIST_STYLE_TYPE.ARABIC_INDIC:return b(e,1632,1641,!0,o);case r.LIST_STYLE_TYPE.ARMENIAN:case r.LIST_STYLE_TYPE.UPPER_ARMENIAN:return h(e,1,9999,u,r.LIST_STYLE_TYPE.DECIMAL,o);case r.LIST_STYLE_TYPE.LOWER_ARMENIAN:return h(e,1,9999,u,r.LIST_STYLE_TYPE.DECIMAL,o).toLowerCase();case r.LIST_STYLE_TYPE.BENGALI:return b(e,2534,2543,!0,o);case r.LIST_STYLE_TYPE.CAMBODIAN:case r.LIST_STYLE_TYPE.KHMER:return b(e,6112,6121,!0,o);case r.LIST_STYLE_TYPE.CJK_EARTHLY_BRANCH:return m(e,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",s);case r.LIST_STYLE_TYPE.CJK_HEAVENLY_STEM:return m(e,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",s);case r.LIST_STYLE_TYPE.CJK_IDEOGRAPHIC:case r.LIST_STYLE_TYPE.TRAD_CHINESE_INFORMAL:return v(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",s,14);case r.LIST_STYLE_TYPE.TRAD_CHINESE_FORMAL:return v(e,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",s,15);case r.LIST_STYLE_TYPE.SIMP_CHINESE_INFORMAL:return v(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",s,14);case r.LIST_STYLE_TYPE.SIMP_CHINESE_FORMAL:return v(e,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",s,15);case r.LIST_STYLE_TYPE.JAPANESE_INFORMAL:return v(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",s,0);case r.LIST_STYLE_TYPE.JAPANESE_FORMAL:return v(e,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",s,7);case r.LIST_STYLE_TYPE.KOREAN_HANGUL_FORMAL:return v(e,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc","\ub9c8\uc774\ub108\uc2a4",a,7);case r.LIST_STYLE_TYPE.KOREAN_HANJA_INFORMAL:return v(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\ub9c8\uc774\ub108\uc2a4",a,0);case r.LIST_STYLE_TYPE.KOREAN_HANJA_FORMAL:return v(e,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343","\ub9c8\uc774\ub108\uc2a4",a,7);case r.LIST_STYLE_TYPE.DEVANAGARI:return b(e,2406,2415,!0,o);case r.LIST_STYLE_TYPE.GEORGIAN:return h(e,1,19999,p,r.LIST_STYLE_TYPE.DECIMAL,o);case r.LIST_STYLE_TYPE.GUJARATI:return b(e,2790,2799,!0,o);case r.LIST_STYLE_TYPE.GURMUKHI:return b(e,2662,2671,!0,o);case r.LIST_STYLE_TYPE.HEBREW:return h(e,1,10999,d,r.LIST_STYLE_TYPE.DECIMAL,o);case r.LIST_STYLE_TYPE.HIRAGANA:return m(e,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case r.LIST_STYLE_TYPE.HIRAGANA_IROHA:return m(e,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case r.LIST_STYLE_TYPE.KANNADA:return b(e,3302,3311,!0,o);case r.LIST_STYLE_TYPE.KATAKANA:return m(e,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",s);case r.LIST_STYLE_TYPE.KATAKANA_IROHA:return m(e,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",s);case r.LIST_STYLE_TYPE.LAO:return b(e,3792,3801,!0,o);case r.LIST_STYLE_TYPE.MONGOLIAN:return b(e,6160,6169,!0,o);case r.LIST_STYLE_TYPE.MYANMAR:return b(e,4160,4169,!0,o);case r.LIST_STYLE_TYPE.ORIYA:return b(e,2918,2927,!0,o);case r.LIST_STYLE_TYPE.PERSIAN:return b(e,1776,1785,!0,o);case r.LIST_STYLE_TYPE.TAMIL:return b(e,3046,3055,!0,o);case r.LIST_STYLE_TYPE.TELUGU:return b(e,3174,3183,!0,o);case r.LIST_STYLE_TYPE.THAI:return b(e,3664,3673,!0,o);case r.LIST_STYLE_TYPE.TIBETAN:return b(e,3872,3881,!0,o);case r.LIST_STYLE_TYPE.DECIMAL:default:return b(e,48,57,!0,o)}};e.createCounterText=y})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/functions/gradient.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/css/types/color.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s){"use strict";var a=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.calculateRadius=e.calculateGradientDirection=e.processColorStops=e.parseColorStop=void 0,t=a(t),e.parseColorStop=function(e){var t=r.color.parse(e[0]),n=e[1];return n&&(0,s.isLengthPercentage)(n)?{color:t,stop:n}:{color:t,stop:null}},e.processColorStops=function(e,t){var n=e[0],o=e[e.length-1];null===n.stop&&(n.stop=s.ZERO_LENGTH),null===o.stop&&(o.stop=s.HUNDRED_PERCENT);for(var r=[],a=0,i=0;i<e.length;i++){var l=e[i].stop;if(null!==l){var c=(0,s.getAbsoluteValue)(l,t);c>a?r.push(c):r.push(a),a=c}else r.push(null)}for(var u=null,d=0;d<r.length;d++){var p=r[d];if(null===p)null===u&&(u=d);else if(null!==u){for(var h=d-u,f=(p-r[u-1])/(h+1),b=1;b<=h;b++)r[u+b-1]=f*b;u=null}}return e.map((function(e,n){return{color:e.color,stop:Math.max(Math.min(1,r[n]/t),0)}}))},e.calculateGradientDirection=function(e,t,n){var o="number"===typeof e?e:function(e,t,n){var o=t/2,r=n/2,a=(0,s.getAbsoluteValue)(e[0],t)-o,i=r-(0,s.getAbsoluteValue)(e[1],n);return(Math.atan2(i,a)+2*Math.PI)%(2*Math.PI)}(e,t,n),r=Math.abs(t*Math.sin(o))+Math.abs(n*Math.cos(o)),a=t/2,i=n/2,l=r/2,c=Math.sin(o-Math.PI/2)*l,u=Math.cos(o-Math.PI/2)*l;return[r,a-u,a+u,i-c,i+c]};var i=function(e,t){return Math.sqrt(e*e+t*t)},l=function(e,n,o,r,s){return[[0,0],[0,n],[e,0],[e,n]].reduce((function(e,n){var a=(0,t.default)(n,2),l=a[0],c=a[1],u=i(o-l,r-c);return(s?u<e.optimumDistance:u>e.optimumDistance)?{optimumCorner:n,optimumDistance:u}:e}),{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner};e.calculateRadius=function(e,n,r,a,c){var u=0,d=0;switch(e.size){case o.CSSRadialExtent.CLOSEST_SIDE:e.shape===o.CSSRadialShape.CIRCLE?u=d=Math.min(Math.abs(n),Math.abs(n-a),Math.abs(r),Math.abs(r-c)):e.shape===o.CSSRadialShape.ELLIPSE&&(u=Math.min(Math.abs(n),Math.abs(n-a)),d=Math.min(Math.abs(r),Math.abs(r-c)));break;case o.CSSRadialExtent.CLOSEST_CORNER:if(e.shape===o.CSSRadialShape.CIRCLE)u=d=Math.min(i(n,r),i(n,r-c),i(n-a,r),i(n-a,r-c));else if(e.shape===o.CSSRadialShape.ELLIPSE){var p=Math.min(Math.abs(r),Math.abs(r-c))/Math.min(Math.abs(n),Math.abs(n-a)),h=l(a,c,n,r,!0),f=(0,t.default)(h,2),b=f[0],m=f[1];d=p*(u=i(b-n,(m-r)/p))}break;case o.CSSRadialExtent.FARTHEST_SIDE:e.shape===o.CSSRadialShape.CIRCLE?u=d=Math.max(Math.abs(n),Math.abs(n-a),Math.abs(r),Math.abs(r-c)):e.shape===o.CSSRadialShape.ELLIPSE&&(u=Math.max(Math.abs(n),Math.abs(n-a)),d=Math.max(Math.abs(r),Math.abs(r-c)));break;case o.CSSRadialExtent.FARTHEST_CORNER:if(e.shape===o.CSSRadialShape.CIRCLE)u=d=Math.max(i(n,r),i(n,r-c),i(n-a,r),i(n-a,r-c));else if(e.shape===o.CSSRadialShape.ELLIPSE){var v=Math.max(Math.abs(r),Math.abs(r-c))/Math.max(Math.abs(n),Math.abs(n-a)),y=l(a,c,n,r,!1),T=(0,t.default)(y,2),E=T[0],g=T[1];d=v*(u=i(E-n,(g-r)/v))}}return Array.isArray(e.size)&&(u=(0,s.getAbsoluteValue)(e.size[0],a),d=2===e.size.length?(0,s.getAbsoluteValue)(e.size[1],c):u),[u,d]}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/functions/linear-gradient.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/angle.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/gradient.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.linearGradient=void 0,e.linearGradient=function(e){var a=(0,o.deg)(180),i=[];return(0,t.parseFunctionArgs)(e).forEach((function(e,t){if(0===t){var r=e[0];if(r.type===n.TokenType.IDENT_TOKEN&&"to"===r.value)return void(a=(0,o.parseNamedSide)(e));if((0,o.isAngle)(r))return void(a=o.angle.parse(r))}var l=(0,s.parseColorStop)(e);i.push(l)})),{angle:a,stops:i,type:r.CSSImageType.LINEAR_GRADIENT}}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/functions/radial-gradient.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/gradient.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.radialGradient=e.CONTAIN=e.COVER=e.ELLIPSE=e.CIRCLE=e.FARTHEST_CORNER=e.CLOSEST_CORNER=e.FARTHEST_SIDE=e.CLOSEST_SIDE=void 0,e.CLOSEST_SIDE="closest-side",e.FARTHEST_SIDE="farthest-side",e.CLOSEST_CORNER="closest-corner",e.FARTHEST_CORNER="farthest-corner",e.CIRCLE="circle",e.ELLIPSE="ellipse",e.COVER="cover",e.CONTAIN="contain",e.radialGradient=function(e){var a=n.CSSRadialShape.CIRCLE,i=n.CSSRadialExtent.FARTHEST_CORNER,l=[],c=[];return(0,t.parseFunctionArgs)(e).forEach((function(e,u){var d=!0;if(0===u){var p=!1;d=e.reduce((function(e,o){if(p)if((0,t.isIdentToken)(o))switch(o.value){case"center":return c.push(r.FIFTY_PERCENT),e;case"top":case"left":return c.push(r.ZERO_LENGTH),e;case"right":case"bottom":return c.push(r.HUNDRED_PERCENT),e}else((0,r.isLengthPercentage)(o)||(0,s.isLength)(o))&&c.push(o);else if((0,t.isIdentToken)(o))switch(o.value){case"circle":return a=n.CSSRadialShape.CIRCLE,!1;case"ellipse":return a=n.CSSRadialShape.ELLIPSE,!1;case"at":return p=!0,!1;case"closest-side":return i=n.CSSRadialExtent.CLOSEST_SIDE,!1;case"cover":case"farthest-side":return i=n.CSSRadialExtent.FARTHEST_SIDE,!1;case"contain":case"closest-corner":return i=n.CSSRadialExtent.CLOSEST_CORNER,!1;case"farthest-corner":return i=n.CSSRadialExtent.FARTHEST_CORNER,!1}else if((0,s.isLength)(o)||(0,r.isLengthPercentage)(o))return Array.isArray(i)||(i=[]),i.push(o),!1;return e}),d)}if(d){var h=(0,o.parseColorStop)(e);l.push(h)}})),{size:i,shape:a,stops:l,position:c,type:n.CSSImageType.RADIAL_GRADIENT}}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/image.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/linear-gradient.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/-prefix-linear-gradient.js"),n("../sandbox-hooks/html2canvas-lib/core/cache-storage.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/-webkit-gradient.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/radial-gradient.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/-prefix-radial-gradient.js")],void 0===(s="function"===typeof(o=function(e,t,n,o,r,s,a,i){"use strict";var l,c,u;Object.defineProperty(e,"__esModule",{value:!0}),e.isSupportedImage=function(e){return e.type!==t.TokenType.FUNCTION||p[e.name]},e.image=e.CSSRadialExtent=e.CSSRadialShape=e.isRadialGradient=e.isLinearGradient=e.CSSImageType=void 0,e.CSSImageType=l,function(e){e[e.URL=0]="URL",e[e.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",e[e.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(l||(e.CSSImageType=l={})),e.isLinearGradient=function(e){return e.type===l.LINEAR_GRADIENT},e.isRadialGradient=function(e){return e.type===l.RADIAL_GRADIENT},e.CSSRadialShape=c,function(e){e[e.CIRCLE=0]="CIRCLE",e[e.ELLIPSE=1]="ELLIPSE"}(c||(e.CSSRadialShape=c={})),e.CSSRadialExtent=u,function(e){e[e.CLOSEST_SIDE=0]="CLOSEST_SIDE",e[e.FARTHEST_SIDE=1]="FARTHEST_SIDE",e[e.CLOSEST_CORNER=2]="CLOSEST_CORNER",e[e.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(u||(e.CSSRadialExtent=u={}));var d={name:"image",parse:function(e){if(e.type===t.TokenType.URL_TOKEN){var n={url:e.value,type:l.URL};return r.CacheStorage.getInstance().addImage(e.value),n}if(e.type===t.TokenType.FUNCTION){var o=p[e.name];if("undefined"===typeof o)throw new Error('Attempting to parse an unsupported image function "'.concat(e.name,'"'));return o(e.values)}throw new Error("Unsupported image type")}};e.image=d;var p={"linear-gradient":n.linearGradient,"-moz-linear-gradient":o.prefixLinearGradient,"-ms-linear-gradient":o.prefixLinearGradient,"-o-linear-gradient":o.prefixLinearGradient,"-webkit-linear-gradient":o.prefixLinearGradient,"radial-gradient":a.radialGradient,"-moz-radial-gradient":i.prefixRadialGradient,"-ms-radial-gradient":i.prefixRadialGradient,"-o-radial-gradient":i.prefixRadialGradient,"-webkit-radial-gradient":i.prefixRadialGradient,"-webkit-gradient":s.webkitGradient}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s){"use strict";var a=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.getAbsoluteValue=e.getAbsoluteValueForTuple=e.HUNDRED_PERCENT=e.FIFTY_PERCENT=e.ZERO_LENGTH=e.parseLengthPercentageTuple=e.isLengthPercentage=void 0,t=a(t),e.isLengthPercentage=function(e){return e.type===o.TokenType.PERCENTAGE_TOKEN||(0,s.isLength)(e)},e.parseLengthPercentageTuple=function(e){return e.length>1?[e[0],e[1]]:[e[0]]};var i={type:o.TokenType.NUMBER_TOKEN,number:0,flags:o.FLAG_INTEGER};e.ZERO_LENGTH=i;var l={type:o.TokenType.PERCENTAGE_TOKEN,number:50,flags:o.FLAG_INTEGER};e.FIFTY_PERCENT=l;var c={type:o.TokenType.PERCENTAGE_TOKEN,number:100,flags:o.FLAG_INTEGER};e.HUNDRED_PERCENT=c,e.getAbsoluteValueForTuple=function(e,n,o){var r=(0,t.default)(e,2),s=r[0],a=r[1];return[u(s,n),u("undefined"!==typeof a?a:s,o)]};var u=function(e,t){if(e.type===o.TokenType.PERCENTAGE_TOKEN)return e.number/100*t;if((0,r.isDimensionToken)(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number};e.getAbsoluteValue=u})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/css/types/length.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isLength=void 0,e.isLength=function(e){return e.type===t.TokenType.NUMBER_TOKEN||e.type===t.TokenType.DIMENSION_TOKEN}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/document-cloner.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n("../../node_modules/@babel/runtime/regenerator/index.js"),n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/dom/node-parser.js"),n("../sandbox-hooks/html2canvas-lib/core/logger.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/counter.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/list-style-type.js"),n("../sandbox-hooks/html2canvas-lib/css/index.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/quotes.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l,c,u,d,p,h,f){"use strict";var b=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.copyCSSStyles=e.DocumentCloner=void 0,t=b(t),o=b(o),r=b(r),s=b(s),a=b(a);var m,v=function(){function e(t,n){if((0,s.default)(this,e),this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new d.CounterState,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement)}return(0,a.default)(e,[{key:"toIFrame",value:function(e,t){var n=this,s=y(e,t);if(!s.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,i=e.defaultView.pageYOffset,l=s.contentWindow,c=l.document,u=T(s).then((0,r.default)(o.default.mark((function e(){var r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.scrolledElements.forEach(_),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(c.documentElement.style.top=-t.top+"px",c.documentElement.style.left=-t.left+"px",c.documentElement.style.position="absolute")),r=n.options.onclone,"undefined"!==typeof n.clonedReferenceElement){e.next=5;break}return e.abrupt("return",Promise.reject("Error finding the ".concat(n.referenceElement.nodeName," in the cloned document")));case 5:if(!c.fonts||!c.fonts.ready){e.next=8;break}return e.next=8,c.fonts.ready;case 8:if("function"!==typeof r){e.next=10;break}return e.abrupt("return",Promise.resolve().then((function(){return r(c)})).then((function(){return s})));case 10:return e.abrupt("return",s);case 11:case"end":return e.stop()}}),e)}))));return c.open(),c.write("".concat(g(document.doctype),"<html></html>")),x(this.referenceElement.ownerDocument,a,i),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u}},{key:"createElementClone",value:function(e){if((0,i.isCanvasElement)(e))return this.createCanvasClone(e);if((0,i.isStyleElement)(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return(0,i.isImageElement)(t)&&"lazy"===t.loading&&(t.loading="eager"),t}},{key:"createStyleClone",value:function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),o=e.cloneNode(!1);return o.textContent=n,o}}catch(r){if(l.Logger.getInstance(this.options.id).error("Unable to access cssRules property",r),"SecurityError"!==r.name)throw r}return e.cloneNode(!1)}},{key:"createCanvasClone",value:function(e){if(this.options.inlineImages&&e.ownerDocument){var t=e.ownerDocument.createElement("img");try{return t.src=e.toDataURL(),t}catch(s){l.Logger.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var o=e.getContext("2d"),r=n.getContext("2d");return r&&(o?r.putImageData(o.getImageData(0,0,e.width,e.height),0,0):r.drawImage(e,0,0)),n}catch(s){}return n}},{key:"cloneNode",value:function(e){if((0,i.isTextNode)(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var t=e.ownerDocument.defaultView;if(t&&(0,i.isElementNode)(e)&&((0,i.isHTMLElementNode)(e)||(0,i.isSVGElementNode)(e))){var n=this.createElementClone(e),o=t.getComputedStyle(e),r=t.getComputedStyle(e,":before"),s=t.getComputedStyle(e,":after");this.referenceElement===e&&(0,i.isHTMLElementNode)(n)&&(this.clonedReferenceElement=n),(0,i.isBodyElement)(n)&&C(n);for(var a=this.counters.parse(new h.CSSParsedCounterDeclaration(o)),l=this.resolvePseudoContent(e,n,r,m.BEFORE),c=e.firstChild;c;c=c.nextSibling)(0,i.isElementNode)(c)&&((0,i.isScriptElement)(c)||c.hasAttribute("data-html2canvas-ignore")||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(c))||this.options.copyStyles&&(0,i.isElementNode)(c)&&(0,i.isStyleElement)(c)||n.appendChild(this.cloneNode(c));l&&n.insertBefore(l,n.firstChild);var u=this.resolvePseudoContent(e,n,s,m.AFTER);return u&&n.appendChild(u),this.counters.pop(a),o&&(this.options.copyStyles||(0,i.isSVGElementNode)(e))&&!(0,i.isIFrameElement)(e)&&E(o,n),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),((0,i.isTextareaElement)(e)||(0,i.isSelectElement)(e))&&((0,i.isTextareaElement)(n)||(0,i.isSelectElement)(n))&&(n.value=e.value),n}return e.cloneNode(!1)}},{key:"resolvePseudoContent",value:function(e,n,o,r){var s=this;if(o){var a=o.content,l=n.ownerDocument;if(l&&a&&"none"!==a&&"-moz-alt-content"!==a&&"none"!==o.display){this.counters.parse(new h.CSSParsedCounterDeclaration(o));var b=new h.CSSParsedPseudoDeclaration(o),v=l.createElement("html2canvaspseudoelement");E(o,v),b.content.forEach((function(n){if(n.type===u.TokenType.STRING_TOKEN)v.appendChild(l.createTextNode(n.value));else if(n.type===u.TokenType.URL_TOKEN){var o=l.createElement("img");o.src=n.value,o.style.opacity="1",v.appendChild(o)}else if(n.type===u.TokenType.FUNCTION){if("attr"===n.name){var r=n.values.filter(c.isIdentToken);r.length&&v.appendChild(l.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===n.name){var a=n.values.filter(c.nonFunctionArgSeparator),i=(0,t.default)(a,2),h=i[0],m=i[1];if(h&&(0,c.isIdentToken)(h)){var y=s.counters.getCounterValue(h.value),T=m&&(0,c.isIdentToken)(m)?p.listStyleType.parse(m.value):p.LIST_STYLE_TYPE.DECIMAL;v.appendChild(l.createTextNode((0,d.createCounterText)(y,T,!1)))}}else if("counters"===n.name){var E=n.values.filter(c.nonFunctionArgSeparator),g=(0,t.default)(E,3),x=g[0],_=g[1],R=g[2];if(x&&(0,c.isIdentToken)(x)){var k=s.counters.getCounterValues(x.value),C=R&&(0,c.isIdentToken)(R)?p.listStyleType.parse(R.value):p.LIST_STYLE_TYPE.DECIMAL,I=_&&_.type===u.TokenType.STRING_TOKEN?_.value:"",S=k.map((function(e){return(0,d.createCounterText)(e,C,!1)})).join(I);v.appendChild(l.createTextNode(S))}}}else if(n.type===u.TokenType.IDENT_TOKEN)switch(n.value){case"open-quote":v.appendChild(l.createTextNode((0,f.getQuote)(b.quotes,s.quoteDepth++,!0)));break;case"close-quote":v.appendChild(l.createTextNode((0,f.getQuote)(b.quotes,--s.quoteDepth,!1)));break;default:v.appendChild(l.createTextNode(n.value))}})),v.className="".concat(R," ").concat(k);var y=r===m.BEFORE?" ".concat(R):" ".concat(k);return(0,i.isSVGElementNode)(n)?n.className.baseValue+=y:n.className+=y,v}}}}],[{key:"destroy",value:function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)}}]),e}();e.DocumentCloner=v,function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(m||(m={}));var y=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute("data-html2canvas-ignore","true"),e.body.appendChild(n),n},T=function(e){return new Promise((function(t,n){var o=e.contentWindow;if(!o)return n("No window assigned for iframe");var r=o.document;o.onload=e.onload=r.onreadystatechange=function(){o.onload=e.onload=r.onreadystatechange=null;var n=setInterval((function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(n),t(e))}),50)}}))},E=function(e,t){for(var n=e.length-1;n>=0;n--){var o=e.item(n);"content"!==o&&t.style.setProperty(o,e.getPropertyValue(o))}return t};e.copyCSSStyles=E;var g=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'.concat(e.publicId,'"')),e.systemId&&(t+='"'.concat(e.systemId,'"')),t+=">"),t},x=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},_=function(e){var n=(0,t.default)(e,3),o=n[0],r=n[1],s=n[2];o.scrollLeft=r,o.scrollTop=s},R="___html2canvas___pseudoelement_before",k="___html2canvas___pseudoelement_after",C=function(e){I(e,".".concat(R).concat(":before").concat('{\n    content: "" !important;\n    display: none !important;\n}',"\n         .").concat(k).concat(":after").concat('{\n    content: "" !important;\n    display: none !important;\n}'))},I=function(e,t){var n=e.ownerDocument;if(n){var o=n.createElement("style");o.textContent=t,e.appendChild(o)}}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../sandbox-hooks/html2canvas-lib/css/index.js"),n("../sandbox-hooks/html2canvas-lib/css/layout/bounds.js"),n("../sandbox-hooks/html2canvas-lib/dom/node-parser.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s){"use strict";var a=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.ElementContainer=void 0,t=a(t),e.ElementContainer=function e(n){(0,t.default)(this,e),this.styles=new o.CSSParsedDeclaration(window.getComputedStyle(n,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&(0,s.isHTMLElementNode)(n)&&(n.style.transform="none"),this.bounds=(0,r.parseBounds)(n),this.flags=0}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/elements/li-element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/inherits.js"),n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,r.default)(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.LIElementContainer=void 0,t=i(t),o=i(o),r=i(r),s=i(s);var c=function(e){(0,o.default)(r,e);var n=l(r);function r(e){var o;return(0,t.default)(this,r),(o=n.call(this,e)).value=e.value,o}return r}(a.ElementContainer);e.LIElementContainer=c})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/elements/ol-element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/inherits.js"),n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,r.default)(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.OLElementContainer=void 0,t=i(t),o=i(o),r=i(r),s=i(s);var c=function(e){(0,o.default)(r,e);var n=l(r);function r(e){var o;return(0,t.default)(this,r),(o=n.call(this,e)).start=e.start,o.reversed="boolean"===typeof e.reversed&&!0===e.reversed,o}return r}(a.ElementContainer);e.OLElementContainer=c})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/elements/select-element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/inherits.js"),n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,r.default)(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.SelectElementContainer=void 0,t=i(t),o=i(o),r=i(r),s=i(s);var c=function(e){(0,o.default)(r,e);var n=l(r);function r(e){var o;(0,t.default)(this,r),o=n.call(this,e);var s=e.options[e.selectedIndex||0];return o.value=s&&s.text||"",o}return r}(a.ElementContainer);e.SelectElementContainer=c})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/elements/textarea-element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/inherits.js"),n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,r.default)(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.TextareaElementContainer=void 0,t=i(t),o=i(o),r=i(r),s=i(s);var c=function(e){(0,o.default)(r,e);var n=l(r);function r(e){var o;return(0,t.default)(this,r),(o=n.call(this,e)).value=e.value,o}return r}(a.ElementContainer);e.TextareaElementContainer=c})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/node-parser.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/typeof.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/text-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/image-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/canvas-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/svg-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/elements/li-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/elements/ol-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/input-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/elements/select-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/elements/textarea-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/iframe-element-container.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l,c,u,d,p,h){"use strict";var f=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.isSelectElement=e.isTextareaElement=e.isScriptElement=e.isStyleElement=e.isIFrameElement=e.isImageElement=e.isCanvasElement=e.isBodyElement=e.isSVGElement=e.isHTMLElement=e.isInputElement=e.isOLElement=e.isLIElement=e.isSVGElementNode=e.isHTMLElementNode=e.isElementNode=e.isTextNode=e.parseTree=void 0,t=f(t);var b=["OL","UL","MENU"],m=function(e){return S(e)?new s.ImageElementContainer(e):I(e)?new a.CanvasElementContainer(e):k(e)?new i.SVGElementContainer(e):x(e)?new l.LIElementContainer(e):_(e)?new c.OLElementContainer(e):R(e)?new u.InputElementContainer(e):N(e)?new d.SelectElementContainer(e):O(e)?new p.TextareaElementContainer(e):A(e)?new h.IFrameElementContainer(e):new o.ElementContainer(e)};e.parseTree=function(e){var t=m(e);return t.flags|=4,function e(t,n,o){for(var s,a=t.firstChild;a;a=s)if(s=a.nextSibling,T(a)&&a.data.trim().length>0)n.textNodes.push(new r.TextContainer(a,n.styles));else if(E(a)){var i=m(a);i.styles.isVisible()&&(v(a,i,o)?i.flags|=4:y(i.styles)&&(i.flags|=2),-1!==b.indexOf(a.tagName)&&(i.flags|=8),n.elements.push(i),O(a)||k(a)||N(a)||e(a,i,o))}}(e,t,t),t};var v=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||C(e)&&n.styles.isTransparent()},y=function(e){return e.isPositioned()||e.isFloating()},T=function(e){return e.nodeType===Node.TEXT_NODE};e.isTextNode=T;var E=function(e){return e.nodeType===Node.ELEMENT_NODE};e.isElementNode=E,e.isHTMLElementNode=function(e){return E(e)&&"undefined"!==typeof e.style&&!g(e)};var g=function(e){return"object"===(0,t.default)(e.className)};e.isSVGElementNode=g;var x=function(e){return"LI"===e.tagName};e.isLIElement=x;var _=function(e){return"OL"===e.tagName};e.isOLElement=_;var R=function(e){return"INPUT"===e.tagName};e.isInputElement=R,e.isHTMLElement=function(e){return"HTML"===e.tagName};var k=function(e){return"svg"===e.tagName};e.isSVGElement=k;var C=function(e){return"BODY"===e.tagName};e.isBodyElement=C;var I=function(e){return"CANVAS"===e.tagName};e.isCanvasElement=I;var S=function(e){return"IMG"===e.tagName};e.isImageElement=S;var A=function(e){return"IFRAME"===e.tagName};e.isIFrameElement=A,e.isStyleElement=function(e){return"STYLE"===e.tagName},e.isScriptElement=function(e){return"SCRIPT"===e.tagName};var O=function(e){return"TEXTAREA"===e.tagName};e.isTextareaElement=O;var N=function(e){return"SELECT"===e.tagName};e.isSelectElement=N})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/replaced-elements/canvas-element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/inherits.js"),n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,r.default)(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.CanvasElementContainer=void 0,t=i(t),o=i(o),r=i(r),s=i(s);var c=function(e){(0,o.default)(r,e);var n=l(r);function r(e){var o;return(0,t.default)(this,r),(o=n.call(this,e)).canvas=e,o.intrinsicWidth=e.width,o.intrinsicHeight=e.height,o}return r}(a.ElementContainer);e.CanvasElementContainer=c})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/replaced-elements/iframe-element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/inherits.js"),n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/node-parser.js"),n("../sandbox-hooks/html2canvas-lib/css/types/color.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l,c){"use strict";var u=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function d(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,r.default)(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.IFrameElementContainer=void 0,t=u(t),o=u(o),r=u(r),s=u(s);var p=function(e){return l.color.parse(c.Parser.create(e).parseComponentValue())},h=function(e){(0,o.default)(r,e);var n=d(r);function r(e){var o;(0,t.default)(this,r),(o=n.call(this,e)).src=e.src,o.width=parseInt(e.width,10)||0,o.height=parseInt(e.height,10)||0,o.backgroundColor=o.styles.backgroundColor;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement){o.tree=(0,i.parseTree)(e.contentWindow.document.documentElement);var s=e.contentWindow.document.documentElement?p(getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):l.COLORS.TRANSPARENT,a=e.contentWindow.document.body?p(getComputedStyle(e.contentWindow.document.body).backgroundColor):l.COLORS.TRANSPARENT;o.backgroundColor=(0,l.isTransparent)(s)?(0,l.isTransparent)(a)?o.styles.backgroundColor:a:s}}catch(c){}return o}return r}(a.ElementContainer);e.IFrameElementContainer=h})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/replaced-elements/image-element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/inherits.js"),n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js"),n("../sandbox-hooks/html2canvas-lib/core/cache-storage.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i){"use strict";var l=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function c(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,r.default)(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.ImageElementContainer=void 0,t=l(t),o=l(o),r=l(r),s=l(s);var u=function(e){(0,o.default)(r,e);var n=c(r);function r(e){var o;return(0,t.default)(this,r),(o=n.call(this,e)).src=e.currentSrc||e.src,o.intrinsicWidth=e.naturalWidth,o.intrinsicHeight=e.naturalHeight,i.CacheStorage.getInstance().addImage(o.src),o}return r}(a.ElementContainer);e.ImageElementContainer=u})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/replaced-elements/input-element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/inherits.js"),n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-style.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-clip.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/tokenizer.js"),n("../sandbox-hooks/html2canvas-lib/css/layout/bounds.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l,c,u){"use strict";var d=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function p(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,r.default)(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.InputElementContainer=e.INPUT_COLOR=e.PASSWORD=e.RADIO=e.CHECKBOX=void 0,t=d(t),o=d(o),r=d(r),s=d(s);var h=[{type:c.TokenType.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],f=[{type:c.TokenType.PERCENTAGE_TOKEN,flags:0,number:50}];e.CHECKBOX="checkbox",e.RADIO="radio";var b="password";e.PASSWORD=b,e.INPUT_COLOR=707406591;var m=function(e){(0,o.default)(r,e);var n=p(r);function r(e){var o,s;switch((0,t.default)(this,r),(o=n.call(this,e)).type=e.type.toLowerCase(),o.checked=e.checked,o.value=function(e){var t=e.type===b?new Array(e.value.length+1).join("\u2022"):e.value;return 0===t.length?e.placeholder||"":t}(e),"checkbox"!==o.type&&"radio"!==o.type||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=i.BORDER_STYLE.SOLID,o.styles.backgroundClip=[l.BACKGROUND_CLIP.BORDER_BOX],o.styles.backgroundOrigin=[0],o.bounds=(s=o.bounds).width>s.height?new u.Bounds(s.left+(s.width-s.height)/2,s.top,s.height,s.height):s.width<s.height?new u.Bounds(s.left,s.top+(s.height-s.width)/2,s.width,s.width):s),o.type){case"checkbox":o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=h;break;case"radio":o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=f}return o}return r}(a.ElementContainer);e.InputElementContainer=m})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/replaced-elements/svg-element-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/inherits.js"),n("../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),n("../../node_modules/@babel/runtime/helpers/getPrototypeOf.js"),n("../sandbox-hooks/html2canvas-lib/dom/element-container.js"),n("../sandbox-hooks/html2canvas-lib/core/cache-storage.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i){"use strict";var l=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function c(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var a=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,r.default)(this,n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.SVGElementContainer=void 0,t=l(t),o=l(o),r=l(r),s=l(s);var u=function(e){(0,o.default)(r,e);var n=c(r);function r(e){var o;(0,t.default)(this,r),o=n.call(this,e);var s=new XMLSerializer;return o.svg="data:image/svg+xml,".concat(encodeURIComponent(s.serializeToString(e))),o.intrinsicWidth=e.width.baseVal.value,o.intrinsicHeight=e.height.baseVal.value,i.CacheStorage.getInstance().addImage(o.svg),o}return r}(a.ElementContainer);e.SVGElementContainer=u})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/dom/text-container.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-transform.js"),n("../sandbox-hooks/html2canvas-lib/css/layout/text.js")],void 0===(s="function"===typeof(o=function(e,t,o,r){"use strict";var s=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.TextContainer=void 0,t=s(t),e.TextContainer=function e(n,o){(0,t.default)(this,e),this.text=a(n.data,o.textTransform),this.textBounds=(0,r.parseTextBounds)(this.text,o,n)};var a=function(e,t){switch(t){case o.TEXT_TRANSFORM.LOWERCASE:return e.toLowerCase();case o.TEXT_TRANSFORM.CAPITALIZE:return e.replace(i,l);case o.TEXT_TRANSFORM.UPPERCASE:return e.toUpperCase();default:return e}},i=/(^|\s|:|-|\(|\))([a-z])/g,l=function(e,t,n){return e.length>0?t+n.toUpperCase():e}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/index.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/regenerator/index.js"),n("../../node_modules/@babel/runtime/helpers/defineProperty.js"),n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),n("../sandbox-hooks/html2canvas-lib/css/layout/bounds.js"),n("../sandbox-hooks/html2canvas-lib/css/types/color.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/dom/document-cloner.js"),n("../sandbox-hooks/html2canvas-lib/dom/node-parser.js"),n("../sandbox-hooks/html2canvas-lib/core/logger.js"),n("../sandbox-hooks/html2canvas-lib/core/cache-storage.js"),n("../sandbox-hooks/html2canvas-lib/render/canvas/canvas-renderer.js"),n("../sandbox-hooks/html2canvas-lib/render/canvas/foreignobject-renderer.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l,c,u,d,p,h){"use strict";var f=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=f(t),o=f(o),r=f(r);var v=function(e){return a.color.parse(i.Parser.create(e).parseComponentValue())},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return T(e,t)};e.default=y,"undefined"!==typeof window&&d.CacheStorage.setContext(window);var T=function(){var e=(0,r.default)(t.default.mark((function e(n,o){var r,i,f,b,y,T,E,g,x,_,R,k,C,I,S,A,O,N,L,P,j,D,w,M,B;return t.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.ownerDocument){e.next=3;break}throw new Error("Element is not attached to a Document");case 3:if(i=r.defaultView){e.next=6;break}throw new Error("Document is not attached to a Window");case 6:if(f=(Math.round(1e3*Math.random())+Date.now()).toString(16),b=(0,c.isBodyElement)(n)||(0,c.isHTMLElement)(n)?(0,s.parseDocumentSize)(r):(0,s.parseBounds)(n),y=b.width,T=b.height,E=b.left,g=b.top,x=m(m({},{allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1}),o),_={backgroundColor:"#ffffff",cache:o.cache?o.cache:d.CacheStorage.create(f,x),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:i.devicePixelRatio||1,windowWidth:i.innerWidth,windowHeight:i.innerHeight,scrollX:i.pageXOffset,scrollY:i.pageYOffset,x:E,y:g,width:Math.ceil(y),height:Math.ceil(T),id:f},R=m(m(m({},_),x),o),k=new s.Bounds(R.scrollX,R.scrollY,R.windowWidth,R.windowHeight),u.Logger.create({id:f,enabled:R.logging}),u.Logger.getInstance(f).debug("Starting document clone"),C=new l.DocumentCloner(n,{id:f,onclone:R.onclone,ignoreElements:R.ignoreElements,inlineImages:R.foreignObjectRendering,copyStyles:R.foreignObjectRendering}),I=C.clonedReferenceElement){e.next=19;break}return e.abrupt("return",Promise.reject("Unable to find element in cloned iframe"));case 19:return e.next=21,C.toIFrame(r,k);case 21:if(S=e.sent,A=r.documentElement?v(getComputedStyle(r.documentElement).backgroundColor):a.COLORS.TRANSPARENT,O=r.body?v(getComputedStyle(r.body).backgroundColor):a.COLORS.TRANSPARENT,N=o.backgroundColor,L="string"===typeof N?v(N):null===N?a.COLORS.TRANSPARENT:4294967295,P=n===r.documentElement?(0,a.isTransparent)(A)?(0,a.isTransparent)(O)?L:O:A:L,j={id:f,cache:R.cache,canvas:R.canvas,backgroundColor:P,scale:R.scale,x:R.x,y:R.y,scrollX:R.scrollX,scrollY:R.scrollY,width:R.width,height:R.height,windowWidth:R.windowWidth,windowHeight:R.windowHeight},!R.foreignObjectRendering){e.next=36;break}return u.Logger.getInstance(f).debug("Document cloned, using foreign object rendering"),w=new h.ForeignObjectRenderer(j),e.next=33,w.render(I);case 33:D=e.sent,e.next=47;break;case 36:return u.Logger.getInstance(f).debug("Document cloned, using computed rendering"),d.CacheStorage.attachInstance(R.cache),u.Logger.getInstance(f).debug("Starting DOM parsing"),M=(0,c.parseTree)(I),d.CacheStorage.detachInstance(),P===M.styles.backgroundColor&&(M.styles.backgroundColor=a.COLORS.TRANSPARENT),u.Logger.getInstance(f).debug("Starting renderer"),B=new p.CanvasRenderer(j),e.next=46,B.render(M);case 46:D=e.sent;case 47:return!0===R.removeContainer&&(l.DocumentCloner.destroy(S)||u.Logger.getInstance(f).error("Cannot detach cloned iframe as it is not in the DOM anymore")),u.Logger.getInstance(f).debug("Finished rendering"),u.Logger.destroy(f),d.CacheStorage.destroy(f),e.abrupt("return",D);case 52:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/background.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-size.js"),n("../sandbox-hooks/html2canvas-lib/render/vector.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-repeat.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/render/box-sizing.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-clip.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l,c){"use strict";var u=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.calculateBackgroundRepeatPath=e.getBackgroundValueForIndex=e.calculateBackgroundSize=e.isAuto=e.calculateBackgroundRendering=e.calculateBackgroundPaintingArea=e.calculateBackgroundPositioningArea=void 0,t=u(t);var d=function(e,t){return 0===e?t.bounds:2===e?(0,l.contentBox)(t):(0,l.paddingBox)(t)};e.calculateBackgroundPositioningArea=d;var p=function(e,t){return e===c.BACKGROUND_CLIP.BORDER_BOX?t.bounds:e===c.BACKGROUND_CLIP.CONTENT_BOX?(0,l.contentBox)(t):(0,l.paddingBox)(t)};e.calculateBackgroundPaintingArea=p,e.calculateBackgroundRendering=function(e,n,o){var r=d(m(e.styles.backgroundOrigin,n),e),s=p(m(e.styles.backgroundClip,n),e),i=b(m(e.styles.backgroundSize,n),o,r),l=(0,t.default)(i,2),c=l[0],u=l[1],h=(0,a.getAbsoluteValueForTuple)(m(e.styles.backgroundPosition,n),r.width-c,r.height-u);return[v(m(e.styles.backgroundRepeat,n),h,i,r,s),Math.round(r.left+h[0]),Math.round(r.top+h[1]),c,u]};var h=function(e){return(0,i.isIdentToken)(e)&&e.value===o.BACKGROUND_SIZE.AUTO};e.isAuto=h;var f=function(e){return"number"===typeof e},b=function(e,n,r){var s=(0,t.default)(n,3),l=s[0],c=s[1],u=s[2],d=(0,t.default)(e,2),p=d[0],b=d[1];if((0,a.isLengthPercentage)(p)&&b&&(0,a.isLengthPercentage)(b))return[(0,a.getAbsoluteValue)(p,r.width),(0,a.getAbsoluteValue)(b,r.height)];var m=f(u);if((0,i.isIdentToken)(p)&&(p.value===o.BACKGROUND_SIZE.CONTAIN||p.value===o.BACKGROUND_SIZE.COVER))return f(u)?r.width/r.height<u!==(p.value===o.BACKGROUND_SIZE.COVER)?[r.width,r.width/u]:[r.height*u,r.height]:[r.width,r.height];var v=f(l),y=f(c),T=v||y;if(h(p)&&(!b||h(b)))return v&&y?[l,c]:m||T?T&&m?[v?l:c*u,y?c:l/u]:[v?l:r.width,y?c:r.height]:[r.width,r.height];if(m){var E=0,g=0;return(0,a.isLengthPercentage)(p)?E=(0,a.getAbsoluteValue)(p,r.width):(0,a.isLengthPercentage)(b)&&(g=(0,a.getAbsoluteValue)(b,r.height)),h(p)?E=g*u:b&&!h(b)||(g=E/u),[E,g]}var x=null,_=null;if((0,a.isLengthPercentage)(p)?x=(0,a.getAbsoluteValue)(p,r.width):b&&(0,a.isLengthPercentage)(b)&&(_=(0,a.getAbsoluteValue)(b,r.height)),null===x||b&&!h(b)||(_=v&&y?x/l*c:r.height),null!==_&&h(p)&&(x=v&&y?_/c*l:r.width),null!==x&&null!==_)return[x,_];throw new Error("Unable to calculate background-size for element")};e.calculateBackgroundSize=b;var m=function(e,t){var n=e[t];return"undefined"===typeof n?e[0]:n};e.getBackgroundValueForIndex=m;var v=function(e,n,o,a,i){var l=(0,t.default)(n,2),c=l[0],u=l[1],d=(0,t.default)(o,2),p=d[0],h=d[1];switch(e){case s.BACKGROUND_REPEAT.REPEAT_X:return[new r.Vector(Math.round(a.left),Math.round(a.top+u)),new r.Vector(Math.round(a.left+a.width),Math.round(a.top+u)),new r.Vector(Math.round(a.left+a.width),Math.round(h+a.top+u)),new r.Vector(Math.round(a.left),Math.round(h+a.top+u))];case s.BACKGROUND_REPEAT.REPEAT_Y:return[new r.Vector(Math.round(a.left+c),Math.round(a.top)),new r.Vector(Math.round(a.left+c+p),Math.round(a.top)),new r.Vector(Math.round(a.left+c+p),Math.round(a.height+a.top)),new r.Vector(Math.round(a.left+c),Math.round(a.height+a.top))];case s.BACKGROUND_REPEAT.NO_REPEAT:return[new r.Vector(Math.round(a.left+c),Math.round(a.top+u)),new r.Vector(Math.round(a.left+c+p),Math.round(a.top+u)),new r.Vector(Math.round(a.left+c+p),Math.round(a.top+u+h)),new r.Vector(Math.round(a.left+c),Math.round(a.top+u+h))];default:return[new r.Vector(Math.round(i.left),Math.round(i.top)),new r.Vector(Math.round(i.left+i.width),Math.round(i.top)),new r.Vector(Math.round(i.left+i.width),Math.round(i.height+i.top)),new r.Vector(Math.round(i.left),Math.round(i.height+i.top))]}};e.calculateBackgroundRepeatPath=v})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/bezier-curve.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/render/vector.js"),n("../sandbox-hooks/html2canvas-lib/render/path.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s){"use strict";var a=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.isBezierCurve=e.BezierCurve=void 0,t=a(t),o=a(o);var i=function(e,t,n){return new r.Vector(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},l=function(){function e(n,o,r,a){(0,t.default)(this,e),this.type=s.PathType.BEZIER_CURVE,this.start=n,this.startControl=o,this.endControl=r,this.end=a}return(0,o.default)(e,[{key:"subdivide",value:function(t,n){var o=i(this.start,this.startControl,t),r=i(this.startControl,this.endControl,t),s=i(this.endControl,this.end,t),a=i(o,r,t),l=i(r,s,t),c=i(a,l,t);return n?new e(this.start,o,a,c):new e(c,l,s,this.end)}},{key:"add",value:function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))}},{key:"reverse",value:function(){return new e(this.end,this.endControl,this.startControl,this.start)}}]),e}();e.BezierCurve=l,e.isBezierCurve=function(e){return e.type===s.PathType.BEZIER_CURVE}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/border.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/render/bezier-curve.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parsePathForBorder=void 0,e.parsePathForBorder=function(e,t){switch(t){case 0:return n(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return n(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return n(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return n(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}};var n=function(e,n,o,r){var s=[];return(0,t.isBezierCurve)(e)?s.push(e.subdivide(.5,!1)):s.push(e),(0,t.isBezierCurve)(o)?s.push(o.subdivide(.5,!0)):s.push(o),(0,t.isBezierCurve)(r)?s.push(r.subdivide(.5,!0).reverse()):s.push(r),(0,t.isBezierCurve)(n)?s.push(n.subdivide(.5,!1).reverse()):s.push(n),s}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/bound-curves.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js"),n("../sandbox-hooks/html2canvas-lib/render/vector.js"),n("../sandbox-hooks/html2canvas-lib/render/bezier-curve.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a){"use strict";var i,l=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.calculatePaddingBoxPath=e.calculateContentBoxPath=e.calculateBorderBoxPath=e.BoundCurves=void 0,t=l(t),o=l(o),e.BoundCurves=function e(n){(0,o.default)(this,e);var a=n.styles,l=n.bounds,u=(0,r.getAbsoluteValueForTuple)(a.borderTopLeftRadius,l.width,l.height),d=(0,t.default)(u,2),p=d[0],h=d[1],f=(0,r.getAbsoluteValueForTuple)(a.borderTopRightRadius,l.width,l.height),b=(0,t.default)(f,2),m=b[0],v=b[1],y=(0,r.getAbsoluteValueForTuple)(a.borderBottomRightRadius,l.width,l.height),T=(0,t.default)(y,2),E=T[0],g=T[1],x=(0,r.getAbsoluteValueForTuple)(a.borderBottomLeftRadius,l.width,l.height),_=(0,t.default)(x,2),R=_[0],k=_[1],C=[];C.push((p+m)/l.width),C.push((R+E)/l.width),C.push((h+k)/l.height),C.push((v+g)/l.height);var I=Math.max.apply(Math,C);I>1&&(p/=I,h/=I,m/=I,v/=I,E/=I,g/=I,R/=I,k/=I);var S=l.width-m,A=l.height-g,O=l.width-E,N=l.height-k,L=a.borderTopWidth,P=a.borderRightWidth,j=a.borderBottomWidth,D=a.borderLeftWidth,w=(0,r.getAbsoluteValue)(a.paddingTop,n.bounds.width),M=(0,r.getAbsoluteValue)(a.paddingRight,n.bounds.width),B=(0,r.getAbsoluteValue)(a.paddingBottom,n.bounds.width),G=(0,r.getAbsoluteValue)(a.paddingLeft,n.bounds.width);this.topLeftBorderBox=p>0||h>0?c(l.left,l.top,p,h,i.TOP_LEFT):new s.Vector(l.left,l.top),this.topRightBorderBox=m>0||v>0?c(l.left+S,l.top,m,v,i.TOP_RIGHT):new s.Vector(l.left+l.width,l.top),this.bottomRightBorderBox=E>0||g>0?c(l.left+O,l.top+A,E,g,i.BOTTOM_RIGHT):new s.Vector(l.left+l.width,l.top+l.height),this.bottomLeftBorderBox=R>0||k>0?c(l.left,l.top+N,R,k,i.BOTTOM_LEFT):new s.Vector(l.left,l.top+l.height),this.topLeftPaddingBox=p>0||h>0?c(l.left+D,l.top+L,Math.max(0,p-D),Math.max(0,h-L),i.TOP_LEFT):new s.Vector(l.left+D,l.top+L),this.topRightPaddingBox=m>0||v>0?c(l.left+Math.min(S,l.width+D),l.top+L,S>l.width+D?0:m-D,v-L,i.TOP_RIGHT):new s.Vector(l.left+l.width-P,l.top+L),this.bottomRightPaddingBox=E>0||g>0?c(l.left+Math.min(O,l.width-D),l.top+Math.min(A,l.height+L),Math.max(0,E-P),g-j,i.BOTTOM_RIGHT):new s.Vector(l.left+l.width-P,l.top+l.height-j),this.bottomLeftPaddingBox=R>0||k>0?c(l.left+D,l.top+N,Math.max(0,R-D),k-j,i.BOTTOM_LEFT):new s.Vector(l.left+D,l.top+l.height-j),this.topLeftContentBox=p>0||h>0?c(l.left+D+G,l.top+L+w,Math.max(0,p-(D+G)),Math.max(0,h-(L+w)),i.TOP_LEFT):new s.Vector(l.left+D+G,l.top+L+w),this.topRightContentBox=m>0||v>0?c(l.left+Math.min(S,l.width+D+G),l.top+L+w,S>l.width+D+G?0:m-D+G,v-(L+w),i.TOP_RIGHT):new s.Vector(l.left+l.width-(P+M),l.top+L+w),this.bottomRightContentBox=E>0||g>0?c(l.left+Math.min(O,l.width-(D+G)),l.top+Math.min(A,l.height+L+w),Math.max(0,E-(P+M)),g-(j+B),i.BOTTOM_RIGHT):new s.Vector(l.left+l.width-(P+M),l.top+l.height-(j+B)),this.bottomLeftContentBox=R>0||k>0?c(l.left+D+G,l.top+N,Math.max(0,R-(D+G)),k-(j+B),i.BOTTOM_LEFT):new s.Vector(l.left+D+G,l.top+l.height-(j+B))},function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(i||(i={}));var c=function(e,t,n,o,r){var l=(Math.sqrt(2)-1)/3*4,c=n*l,u=o*l,d=e+n,p=t+o;switch(r){case i.TOP_LEFT:return new a.BezierCurve(new s.Vector(e,p),new s.Vector(e,p-u),new s.Vector(d-c,t),new s.Vector(d,t));case i.TOP_RIGHT:return new a.BezierCurve(new s.Vector(e,t),new s.Vector(e+c,t),new s.Vector(d,p-u),new s.Vector(d,p));case i.BOTTOM_RIGHT:return new a.BezierCurve(new s.Vector(d,t),new s.Vector(d,t+u),new s.Vector(e+c,p),new s.Vector(e,p));case i.BOTTOM_LEFT:default:return new a.BezierCurve(new s.Vector(d,p),new s.Vector(d-c,p),new s.Vector(e,t+u),new s.Vector(e,t))}};e.calculateBorderBoxPath=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},e.calculateContentBoxPath=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},e.calculatePaddingBoxPath=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/box-sizing.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.contentBox=e.paddingBox=void 0,e.paddingBox=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},e.contentBox=function(e){var n=e.styles,o=e.bounds,r=(0,t.getAbsoluteValue)(n.paddingLeft,o.width),s=(0,t.getAbsoluteValue)(n.paddingRight,o.width),a=(0,t.getAbsoluteValue)(n.paddingTop,o.width),i=(0,t.getAbsoluteValue)(n.paddingBottom,o.width);return o.add(r+n.borderLeftWidth,a+n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth+r+s),-(n.borderTopWidth+n.borderBottomWidth+a+i))}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/canvas/canvas-renderer.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n("../../node_modules/@babel/runtime/regenerator/index.js"),n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/render/stacking-context.js"),n("../sandbox-hooks/html2canvas-lib/css/types/color.js"),n("../sandbox-hooks/html2canvas-lib/core/logger.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/border-style.js"),n("../sandbox-hooks/html2canvas-lib/render/path.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/background-clip.js"),n("../sandbox-hooks/html2canvas-lib/render/bound-curves.js"),n("../sandbox-hooks/html2canvas-lib/render/bezier-curve.js"),n("../sandbox-hooks/html2canvas-lib/render/vector.js"),n("../sandbox-hooks/html2canvas-lib/css/types/image.js"),n("../sandbox-hooks/html2canvas-lib/render/border.js"),n("../sandbox-hooks/html2canvas-lib/render/background.js"),n("../sandbox-hooks/html2canvas-lib/css/syntax/parser.js"),n("../sandbox-hooks/html2canvas-lib/css/layout/text.js"),n("../../node_modules/css-line-break/dist/css-line-break.es5.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/image-element-container.js"),n("../sandbox-hooks/html2canvas-lib/render/box-sizing.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/canvas-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/svg-element-container.js"),n("../sandbox-hooks/html2canvas-lib/render/effects.js"),n("../sandbox-hooks/html2canvas-lib/core/bitwise.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/gradient.js"),n("../sandbox-hooks/html2canvas-lib/css/types/length-percentage.js"),n("../sandbox-hooks/html2canvas-lib/render/font-metrics.js"),n("../sandbox-hooks/html2canvas-lib/css/layout/bounds.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/list-style-type.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/line-height.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/input-element-container.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/text-align.js"),n("../sandbox-hooks/html2canvas-lib/dom/elements/textarea-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/elements/select-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/replaced-elements/iframe-element-container.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l,c,u,d,p,h,f,b,m,v,y,T,E,g,x,_,R,k,C,I,S,A,O,N,L,P,j,D,w,M,B){"use strict";var G=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function U(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(e){if("string"===typeof e)return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(e,t):void 0}}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r,s=!0,a=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return s=e.done,e},e:function(e){a=!0,r=e},f:function(){try{s||null==o.return||o.return()}finally{if(a)throw r}}}}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}Object.defineProperty(e,"__esModule",{value:!0}),e.CanvasRenderer=void 0,t=G(t),o=G(o),r=G(r),s=G(s),a=G(a);var V=function(){function e(t){(0,s.default)(this,e),this._activeEffects=[],this.canvas=t.canvas?t.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=t,t.canvas||(this.canvas.width=Math.floor(t.width*t.scale),this.canvas.height=Math.floor(t.height*t.scale),this.canvas.style.width="".concat(t.width,"px"),this.canvas.style.height="".concat(t.height,"px")),this.fontMetrics=new O.FontMetrics(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-t.x+t.scrollX,-t.y+t.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],c.Logger.getInstance(t.id).debug("Canvas renderer initialized (".concat(t.width,"x").concat(t.height," at ").concat(t.x,",").concat(t.y,") with scale ").concat(t.scale))}return(0,a.default)(e,[{key:"applyEffects",value:function(e,t){for(var n=this;this._activeEffects.length;)this.popEffect();e.filter((function(e){return(0,I.contains)(e.target,t)})).forEach((function(e){return n.applyEffect(e)}))}},{key:"applyEffect",value:function(e){this.ctx.save(),(0,C.isTransformEffect)(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),(0,C.isClipEffect)(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)}},{key:"popEffect",value:function(){this._activeEffects.pop(),this.ctx.restore()}},{key:"renderStack",value:function(){var e=(0,r.default)(o.default.mark((function e(t){var n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.element.container.styles).isVisible()){e.next=5;break}return this.ctx.globalAlpha=n.opacity,e.next=5,this.renderStackContent(t);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"renderNode",value:function(){var e=(0,r.default)(o.default.mark((function e(t){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.container.styles.isVisible()){e.next=5;break}return e.next=3,this.renderNodeBackgroundAndBorders(t);case 3:return e.next=5,this.renderNodeContent(t);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"renderTextWithLetterSpacing",value:function(e,t){var n=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+e.bounds.height):(0,g.toCodePoints)(e.text).map((function(e){return(0,g.fromCodePoint)(e)})).reduce((function(t,o){return n.ctx.fillText(o,t,e.bounds.top+e.bounds.height),t+n.ctx.measureText(o).width}),e.bounds.left)}},{key:"createFontStyle",value:function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),n=e.fontFamily.join(", "),o=(0,T.isDimensionToken)(e.fontSize)?"".concat(e.fontSize.number).concat(e.fontSize.unit):"".concat(e.fontSize.number,"px");return[[e.fontStyle,t,e.fontWeight,o,n].join(" "),n,o]}},{key:"renderTextNode",value:function(){var e=(0,r.default)(o.default.mark((function e(n,r){var s,a,i,c,u,d=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s=this.createFontStyle(r),a=(0,t.default)(s,3),i=a[0],c=a[1],u=a[2],this.ctx.font=i,n.textBounds.forEach((function(e){d.ctx.fillStyle=(0,l.asString)(r.color),d.renderTextWithLetterSpacing(e,r.letterSpacing);var t=r.textShadow;t.length&&e.text.trim().length&&(t.slice(0).reverse().forEach((function(t){d.ctx.shadowColor=(0,l.asString)(t.color),d.ctx.shadowOffsetX=t.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=t.offsetY.number*d.options.scale,d.ctx.shadowBlur=t.blur.number,d.ctx.fillText(e.text,e.bounds.left,e.bounds.top+e.bounds.height)})),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),r.textDecorationLine.length&&(d.ctx.fillStyle=(0,l.asString)(r.textDecorationColor||r.color),r.textDecorationLine.forEach((function(t){switch(t){case 1:var n=d.fontMetrics.getMetrics(c,u).baseline;d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+n),e.bounds.width,1);break;case 2:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:var o=d.fontMetrics.getMetrics(c,u).middle;d.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+o),e.bounds.width,1)}})))}));case 3:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"renderReplacedElement",value:function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var o=(0,_.contentBox)(e),r=(0,h.calculatePaddingBoxPath)(t);this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,o.left,o.top,o.width,o.height),this.ctx.restore()}}},{key:"renderNodeContent",value:function(){var n=(0,r.default)(o.default.mark((function n(r){var s,a,i,u,d,p,h,f,v,y,T,g,C,S,O,w,M,G,K,V,F,W;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:this.applyEffects(r.effects,4),s=r.container,a=r.curves,i=s.styles,u=U(s.textNodes),n.prev=5,u.s();case 7:if((d=u.n()).done){n.next=13;break}return p=d.value,n.next=11,this.renderTextNode(p,i);case 11:n.next=7;break;case 13:n.next=18;break;case 15:n.prev=15,n.t0=n.catch(5),u.e(n.t0);case 18:return n.prev=18,u.f(),n.finish(18);case 21:if(!(s instanceof x.ImageElementContainer)){n.next=32;break}return n.prev=22,n.next=25,this.options.cache.match(s.src);case 25:h=n.sent,this.renderReplacedElement(s,a,h),n.next=32;break;case 29:n.prev=29,n.t1=n.catch(22),c.Logger.getInstance(this.options.id).error("Error loading image ".concat(s.src));case 32:if(s instanceof R.CanvasElementContainer&&this.renderReplacedElement(s,a,s.canvas),!(s instanceof k.SVGElementContainer)){n.next=44;break}return n.prev=34,n.next=37,this.options.cache.match(s.svg);case 37:f=n.sent,this.renderReplacedElement(s,a,f),n.next=44;break;case 41:n.prev=41,n.t2=n.catch(34),c.Logger.getInstance(this.options.id).error("Error loading svg ".concat(s.svg.substring(0,255)));case 44:if(!(s instanceof B.IFrameElementContainer&&s.tree)){n.next=50;break}return v=new e({id:this.options.id,scale:this.options.scale,backgroundColor:s.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:s.width,height:s.height,cache:this.options.cache,windowWidth:s.width,windowHeight:s.height}),n.next=48,v.render(s.tree);case 48:y=n.sent,s.width&&s.height&&this.ctx.drawImage(y,0,0,s.width,s.height,s.bounds.left,s.bounds.top,s.bounds.width,s.bounds.height);case 50:if(s instanceof j.InputElementContainer&&(T=Math.min(s.bounds.width,s.bounds.height),s.type===j.CHECKBOX?s.checked&&(this.ctx.save(),this.path([new b.Vector(s.bounds.left+.39363*T,s.bounds.top+.79*T),new b.Vector(s.bounds.left+.16*T,s.bounds.top+.5549*T),new b.Vector(s.bounds.left+.27347*T,s.bounds.top+.44071*T),new b.Vector(s.bounds.left+.39694*T,s.bounds.top+.5649*T),new b.Vector(s.bounds.left+.72983*T,s.bounds.top+.23*T),new b.Vector(s.bounds.left+.84*T,s.bounds.top+.34085*T),new b.Vector(s.bounds.left+.39363*T,s.bounds.top+.79*T)]),this.ctx.fillStyle=(0,l.asString)(j.INPUT_COLOR),this.ctx.fill(),this.ctx.restore()):s.type===j.RADIO&&s.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(s.bounds.left+T/2,s.bounds.top+T/2,T/4,0,2*Math.PI,!0),this.ctx.fillStyle=(0,l.asString)(j.INPUT_COLOR),this.ctx.fill(),this.ctx.restore())),!H(s)||!s.value.length){n.next=75;break}g=this.createFontStyle(i),C=(0,t.default)(g,1),this.ctx.font=C[0],this.ctx.fillStyle=(0,l.asString)(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign=Y(s.styles.textAlign),S=(0,_.contentBox)(s),O=0,n.t3=s.styles.textAlign,n.next=n.t3===D.TEXT_ALIGN.CENTER?63:n.t3===D.TEXT_ALIGN.RIGHT?65:67;break;case 63:return O+=S.width/2,n.abrupt("break",67);case 65:return O+=S.width,n.abrupt("break",67);case 67:w=S.add(O,0,0,-S.height/2+1),this.ctx.save(),this.path([new b.Vector(S.left,S.top),new b.Vector(S.left+S.width,S.top),new b.Vector(S.left+S.width,S.top+S.height),new b.Vector(S.left,S.top+S.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new E.TextBounds(s.value,w),i.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left";case 75:if(!(0,I.contains)(s.styles.display,2048)){n.next=93;break}if(null===s.styles.listStyleImage){n.next=92;break}if((M=s.styles.listStyleImage).type!==m.CSSImageType.URL){n.next=90;break}return K=M.url,n.prev=80,n.next=83,this.options.cache.match(K);case 83:G=n.sent,this.ctx.drawImage(G,s.bounds.left-(G.width+10),s.bounds.top),n.next=90;break;case 87:n.prev=87,n.t4=n.catch(80),c.Logger.getInstance(this.options.id).error("Error loading list-style-image ".concat(K));case 90:n.next=93;break;case 92:r.listValue&&s.styles.listStyleType!==L.LIST_STYLE_TYPE.NONE&&(V=this.createFontStyle(i),F=(0,t.default)(V,1),this.ctx.font=F[0],this.ctx.fillStyle=(0,l.asString)(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",W=new N.Bounds(s.bounds.left,s.bounds.top+(0,A.getAbsoluteValue)(s.styles.paddingTop,s.bounds.width),s.bounds.width,(0,P.computeLineHeight)(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new E.TextBounds(r.listValue,W),i.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left");case 93:case"end":return n.stop()}}),n,this,[[5,15,18,21],[22,29],[34,41],[80,87]])})));return function(e){return n.apply(this,arguments)}}()},{key:"renderStackContent",value:function(){var e=(0,r.default)(o.default.mark((function e(t){var n,r,s,a,i,l,c,u,d,p,h,f,b,m,v,y,T,E,g,x,_;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.renderNodeBackgroundAndBorders(t.element);case 2:n=U(t.negativeZIndex),e.prev=3,n.s();case 5:if((r=n.n()).done){e.next=11;break}return s=r.value,e.next=9,this.renderStack(s);case 9:e.next=5;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(3),n.e(e.t0);case 16:return e.prev=16,n.f(),e.finish(16);case 19:return e.next=21,this.renderNodeContent(t.element);case 21:a=U(t.nonInlineLevel),e.prev=22,a.s();case 24:if((i=a.n()).done){e.next=30;break}return l=i.value,e.next=28,this.renderNode(l);case 28:e.next=24;break;case 30:e.next=35;break;case 32:e.prev=32,e.t1=e.catch(22),a.e(e.t1);case 35:return e.prev=35,a.f(),e.finish(35);case 38:c=U(t.nonPositionedFloats),e.prev=39,c.s();case 41:if((u=c.n()).done){e.next=47;break}return d=u.value,e.next=45,this.renderStack(d);case 45:e.next=41;break;case 47:e.next=52;break;case 49:e.prev=49,e.t2=e.catch(39),c.e(e.t2);case 52:return e.prev=52,c.f(),e.finish(52);case 55:p=U(t.nonPositionedInlineLevel),e.prev=56,p.s();case 58:if((h=p.n()).done){e.next=64;break}return f=h.value,e.next=62,this.renderStack(f);case 62:e.next=58;break;case 64:e.next=69;break;case 66:e.prev=66,e.t3=e.catch(56),p.e(e.t3);case 69:return e.prev=69,p.f(),e.finish(69);case 72:b=U(t.inlineLevel),e.prev=73,b.s();case 75:if((m=b.n()).done){e.next=81;break}return v=m.value,e.next=79,this.renderNode(v);case 79:e.next=75;break;case 81:e.next=86;break;case 83:e.prev=83,e.t4=e.catch(73),b.e(e.t4);case 86:return e.prev=86,b.f(),e.finish(86);case 89:y=U(t.zeroOrAutoZIndexOrTransformedOrOpacity),e.prev=90,y.s();case 92:if((T=y.n()).done){e.next=98;break}return E=T.value,e.next=96,this.renderStack(E);case 96:e.next=92;break;case 98:e.next=103;break;case 100:e.prev=100,e.t5=e.catch(90),y.e(e.t5);case 103:return e.prev=103,y.f(),e.finish(103);case 106:g=U(t.positiveZIndex),e.prev=107,g.s();case 109:if((x=g.n()).done){e.next=115;break}return _=x.value,e.next=113,this.renderStack(_);case 113:e.next=109;break;case 115:e.next=120;break;case 117:e.prev=117,e.t6=e.catch(107),g.e(e.t6);case 120:return e.prev=120,g.f(),e.finish(120);case 123:case"end":return e.stop()}}),e,this,[[3,13,16,19],[22,32,35,38],[39,49,52,55],[56,66,69,72],[73,83,86,89],[90,100,103,106],[107,117,120,123]])})));return function(t){return e.apply(this,arguments)}}()},{key:"mask",value:function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()}},{key:"path",value:function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()}},{key:"formatPath",value:function(e){var t=this;e.forEach((function(e,n){var o=(0,f.isBezierCurve)(e)?e.start:e;0===n?t.ctx.moveTo(o.x,o.y):t.ctx.lineTo(o.x,o.y),(0,f.isBezierCurve)(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))}},{key:"renderRepeat",value:function(e,t,n,o){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,o),this.ctx.fill(),this.ctx.translate(-n,-o)}},{key:"resizeImage",value:function(e,t,n){if(e.width===t&&e.height===n)return e;var o=this.canvas.ownerDocument.createElement("canvas");return o.width=t,o.height=n,o.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),o}},{key:"renderBackgroundImage",value:function(){var e=(0,r.default)(o.default.mark((function e(n){var r,s,a,i,u,d,p,h,f,b,v,T,E,g,x,_,R,k,C,I,O,N,L,P,j,D,w,M,B=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.styles.backgroundImage.length-1,s=U(n.styles.backgroundImage.slice(0).reverse()),e.prev=2,s.s();case 4:if((a=s.n()).done){e.next=25;break}if((i=a.value).type!==m.CSSImageType.URL){e.next=21;break}return u=void 0,d=i.url,e.prev=9,e.next=12,this.options.cache.match(d);case 12:u=e.sent,e.next=18;break;case 15:e.prev=15,e.t0=e.catch(9),c.Logger.getInstance(this.options.id).error("Error loading background-image ".concat(d));case 18:u&&(p=(0,y.calculateBackgroundRendering)(n,r,[u.width,u.height,u.width/u.height]),h=(0,t.default)(p,5),f=h[0],b=h[1],v=h[2],T=h[3],E=h[4],g=this.ctx.createPattern(this.resizeImage(u,T,E),"repeat"),this.renderRepeat(f,g,b,v)),e.next=22;break;case 21:(0,m.isLinearGradient)(i)?function(){var e=(0,y.calculateBackgroundRendering)(n,r,[null,null,null]),o=(0,t.default)(e,5),s=o[0],a=o[1],c=o[2],u=o[3],d=o[4],p=(0,S.calculateGradientDirection)(i.angle,u,d),h=(0,t.default)(p,5),f=h[0],b=h[1],m=h[2],v=h[3],T=h[4],E=document.createElement("canvas");E.width=u,E.height=d;var g=E.getContext("2d"),x=g.createLinearGradient(b,v,m,T);if((0,S.processColorStops)(i.stops,f).forEach((function(e){return x.addColorStop(e.stop,(0,l.asString)(e.color))})),g.fillStyle=x,g.fillRect(0,0,u,d),u>0&&d>0){var _=B.ctx.createPattern(E,"repeat");B.renderRepeat(s,_,a,c)}}():(0,m.isRadialGradient)(i)&&(x=(0,y.calculateBackgroundRendering)(n,r,[null,null,null]),_=(0,t.default)(x,5),R=_[0],k=_[1],C=_[2],I=_[3],O=_[4],N=0===i.position.length?[A.FIFTY_PERCENT]:i.position,L=(0,A.getAbsoluteValue)(N[0],I),P=(0,A.getAbsoluteValue)(N[N.length-1],O),j=(0,S.calculateRadius)(i,L,P,I,O),D=(0,t.default)(j,2),w=D[0],M=D[1],w>0&&w>0&&function(){var e=B.ctx.createRadialGradient(k+L,C+P,0,k+L,C+P,w);if((0,S.processColorStops)(i.stops,2*w).forEach((function(t){return e.addColorStop(t.stop,(0,l.asString)(t.color))})),B.path(R),B.ctx.fillStyle=e,w!==M){var t=n.bounds.left+.5*n.bounds.width,o=n.bounds.top+.5*n.bounds.height,r=M/w,s=1/r;B.ctx.save(),B.ctx.translate(t,o),B.ctx.transform(1,0,0,r,0,0),B.ctx.translate(-t,-o),B.ctx.fillRect(k,s*(C-o)+o,I,O*s),B.ctx.restore()}else B.ctx.fill()}());case 22:r--;case 23:e.next=4;break;case 25:e.next=30;break;case 27:e.prev=27,e.t1=e.catch(2),s.e(e.t1);case 30:return e.prev=30,s.f(),e.finish(30);case 33:case"end":return e.stop()}}),e,this,[[2,27,30,33],[9,15]])})));return function(t){return e.apply(this,arguments)}}()},{key:"renderBorder",value:function(){var e=(0,r.default)(o.default.mark((function e(t,n,r){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.path((0,v.parsePathForBorder)(r,n)),this.ctx.fillStyle=(0,l.asString)(t),this.ctx.fill();case 3:case"end":return e.stop()}}),e,this)})));return function(t,n,o){return e.apply(this,arguments)}}()},{key:"renderNodeBackgroundAndBorders",value:function(){var e=(0,r.default)(o.default.mark((function e(t){var n,r,s,a,i,c,p,f,b=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.applyEffects(t.effects,2),n=t.container.styles,r=!(0,l.isTransparent)(n.backgroundColor)||n.backgroundImage.length,s=[{style:n.borderTopStyle,color:n.borderTopColor},{style:n.borderRightStyle,color:n.borderRightColor},{style:n.borderBottomStyle,color:n.borderBottomColor},{style:n.borderLeftStyle,color:n.borderLeftColor}],a=F((0,y.getBackgroundValueForIndex)(n.backgroundClip,0),t.curves),!r&&!n.boxShadow.length){e.next=14;break}return this.ctx.save(),this.path(a),this.ctx.clip(),(0,l.isTransparent)(n.backgroundColor)||(this.ctx.fillStyle=(0,l.asString)(n.backgroundColor),this.ctx.fill()),e.next=12,this.renderBackgroundImage(t.container);case 12:this.ctx.restore(),n.boxShadow.slice(0).reverse().forEach((function(e){b.ctx.save();var n=(0,h.calculateBorderBoxPath)(t.curves),o=e.inset?0:1e4,r=(0,d.transformPath)(n,-o+(e.inset?1:-1)*e.spread.number,(e.inset?1:-1)*e.spread.number,e.spread.number*(e.inset?-2:2),e.spread.number*(e.inset?-2:2));e.inset?(b.path(n),b.ctx.clip(),b.mask(r)):(b.mask(n),b.ctx.clip(),b.path(r)),b.ctx.shadowOffsetX=e.offsetX.number+o,b.ctx.shadowOffsetY=e.offsetY.number,b.ctx.shadowColor=(0,l.asString)(e.color),b.ctx.shadowBlur=e.blur.number,b.ctx.fillStyle=e.inset?(0,l.asString)(e.color):"rgba(0,0,0,1)",b.ctx.fill(),b.ctx.restore()}));case 14:i=0,c=0,p=s;case 16:if(!(c<p.length)){e.next=25;break}if((f=p[c]).style===u.BORDER_STYLE.NONE||(0,l.isTransparent)(f.color)){e.next=21;break}return e.next=21,this.renderBorder(f.color,i,t.curves);case 21:i++;case 22:c++,e.next=16;break;case 25:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=(0,r.default)(o.default.mark((function e(t){var n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=(0,l.asString)(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),n=(0,i.parseStackingContexts)(t),e.next=4,this.renderStack(n);case 4:return this.applyEffects([],2),e.abrupt("return",this.canvas);case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}();e.CanvasRenderer=V;var H=function(e){return e instanceof w.TextareaElementContainer||e instanceof M.SelectElementContainer||e instanceof j.InputElementContainer&&e.type!==j.RADIO&&e.type!==j.CHECKBOX},F=function(e,t){switch(e){case p.BACKGROUND_CLIP.BORDER_BOX:return(0,h.calculateBorderBoxPath)(t);case p.BACKGROUND_CLIP.CONTENT_BOX:return(0,h.calculateContentBoxPath)(t);case p.BACKGROUND_CLIP.PADDING_BOX:default:return(0,h.calculatePaddingBoxPath)(t)}},Y=function(e){switch(e){case D.TEXT_ALIGN.CENTER:return"center";case D.TEXT_ALIGN.RIGHT:return"right";case D.TEXT_ALIGN.LEFT:default:return"left"}}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/canvas/foreignobject-renderer.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/regenerator/index.js"),n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/core/logger.js"),n("../sandbox-hooks/html2canvas-lib/core/features.js"),n("../sandbox-hooks/html2canvas-lib/css/types/color.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l){"use strict";var c=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.loadSerializedSVG=e.ForeignObjectRenderer=void 0,t=c(t),o=c(o),r=c(r),s=c(s);var u=function(){function e(t){(0,r.default)(this,e),this.canvas=t.canvas?t.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=t,this.canvas.width=Math.floor(t.width*t.scale),this.canvas.height=Math.floor(t.height*t.scale),this.canvas.style.width="".concat(t.width,"px"),this.canvas.style.height="".concat(t.height,"px"),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-t.x+t.scrollX,-t.y+t.scrollY),a.Logger.getInstance(t.id).debug("EXPERIMENTAL ForeignObject renderer initialized (".concat(t.width,"x").concat(t.height," at ").concat(t.x,",").concat(t.y,") with scale ").concat(t.scale))}return(0,s.default)(e,[{key:"render",value:function(){var e=(0,o.default)(t.default.mark((function e(n){var o,r;return t.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(0,i.createForeignObjectSVG)(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,n),e.next=3,d(o);case 3:return r=e.sent,this.options.backgroundColor&&(this.ctx.fillStyle=(0,l.asString)(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),e.abrupt("return",this.canvas);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}();e.ForeignObjectRenderer=u;var d=function(e){return new Promise((function(t,n){var o=new Image;o.onload=function(){t(o)},o.onerror=n,o.src="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent((new XMLSerializer).serializeToString(e)))}))};e.loadSerializedSVG=d})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/effects.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js")],void 0===(s="function"===typeof(o=function(e,t){"use strict";var o=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.isClipEffect=e.isTransformEffect=e.ClipEffect=e.TransformEffect=void 0,t=o(t),e.TransformEffect=function e(n,o,r){(0,t.default)(this,e),this.type=0,this.offsetX=n,this.offsetY=o,this.matrix=r,this.target=6},e.ClipEffect=function e(n,o){(0,t.default)(this,e),this.type=1,this.target=o,this.path=n},e.isTransformEffect=function(e){return 0===e.type},e.isClipEffect=function(e){return 1===e.type}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/font-metrics.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/core/util.js")],void 0===(s="function"===typeof(o=function(e,t,o,r){"use strict";var s=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.FontMetrics=void 0,t=s(t),o=s(o);var a=function(){function e(n){(0,t.default)(this,e),this._data={},this._document=n}return(0,o.default)(e,[{key:"parseMetrics",value:function(e,t){var n=this._document.createElement("div"),o=this._document.createElement("img"),s=this._document.createElement("span"),a=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",a.appendChild(n),o.src=r.SMALL_IMAGE,o.width=1,o.height=1,o.style.margin="0",o.style.padding="0",o.style.verticalAlign="baseline",s.style.fontFamily=e,s.style.fontSize=t,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode("Hidden Text")),n.appendChild(s),n.appendChild(o);var i=o.offsetTop-s.offsetTop+2;n.removeChild(s),n.appendChild(this._document.createTextNode("Hidden Text")),n.style.lineHeight="normal",o.style.verticalAlign="super";var l=o.offsetTop-n.offsetTop+2;return a.removeChild(n),{baseline:i,middle:l}}},{key:"getMetrics",value:function(e,t){var n="".concat(e," ").concat(t);return"undefined"===typeof this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]}}]),e}();e.FontMetrics=a})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/path.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t],void 0===(s="function"===typeof(o=function(e){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.transformPath=e.equalPath=e.PathType=void 0,e.PathType=t,function(e){e[e.VECTOR=0]="VECTOR",e[e.BEZIER_CURVE=1]="BEZIER_CURVE"}(t||(e.PathType=t={})),e.equalPath=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},e.transformPath=function(e,t,n,o,r){return e.map((function(e,s){switch(s){case 0:return e.add(t,n);case 1:return e.add(t+o,n);case 2:return e.add(t+o,n+r);case 3:return e.add(t,n+r)}return e}))}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/stacking-context.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../sandbox-hooks/html2canvas-lib/core/bitwise.js"),n("../sandbox-hooks/html2canvas-lib/render/bound-curves.js"),n("../sandbox-hooks/html2canvas-lib/render/effects.js"),n("../sandbox-hooks/html2canvas-lib/css/property-descriptors/overflow.js"),n("../sandbox-hooks/html2canvas-lib/render/path.js"),n("../sandbox-hooks/html2canvas-lib/dom/elements/ol-element-container.js"),n("../sandbox-hooks/html2canvas-lib/dom/elements/li-element-container.js"),n("../sandbox-hooks/html2canvas-lib/css/types/functions/counter.js")],void 0===(s="function"===typeof(o=function(e,t,o,r,s,a,i,l,c,u,d){"use strict";var p=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.parseStackingContexts=e.ElementPaint=e.StackingContext=void 0,t=p(t),o=p(o);var h=function e(t){(0,o.default)(this,e),this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]};e.StackingContext=h;var f=function(){function e(t,n){if((0,o.default)(this,e),this.container=t,this.effects=n.slice(0),this.curves=new s.BoundCurves(t),null!==t.styles.transform){var r=t.bounds.left+t.styles.transformOrigin[0].number,c=t.bounds.top+t.styles.transformOrigin[1].number,u=t.styles.transform;this.effects.push(new a.TransformEffect(r,c,u))}if(t.styles.overflowX!==i.OVERFLOW.VISIBLE){var d=(0,s.calculateBorderBoxPath)(this.curves),p=(0,s.calculatePaddingBoxPath)(this.curves);(0,l.equalPath)(d,p)?this.effects.push(new a.ClipEffect(d,6)):(this.effects.push(new a.ClipEffect(d,2)),this.effects.push(new a.ClipEffect(p,4)))}}return(0,t.default)(e,[{key:"getParentEffects",value:function(){var e=this.effects.slice(0);if(this.container.styles.overflowX!==i.OVERFLOW.VISIBLE){var t=(0,s.calculateBorderBoxPath)(this.curves),n=(0,s.calculatePaddingBoxPath)(this.curves);(0,l.equalPath)(t,n)||e.push(new a.ClipEffect(n,6))}return e}}]),e}();e.ElementPaint=f;var b=function(e,t){for(var n=e instanceof c.OLElementContainer?e.start:1,o=e instanceof c.OLElementContainer&&e.reversed,r=0;r<t.length;r++){var s=t[r];s.container instanceof u.LIElementContainer&&"number"===typeof s.container.value&&0!==s.container.value&&(n=s.container.value),s.listValue=(0,d.createCounterText)(n,s.container.styles.listStyleType,!0),n+=o?-1:1}};e.parseStackingContexts=function(e){var t=new f(e,[]),n=new h(t),o=[];return function e(t,n,o,s){t.container.elements.forEach((function(a){var i=(0,r.contains)(a.flags,4),l=(0,r.contains)(a.flags,2),c=new f(a,t.getParentEffects());(0,r.contains)(a.styles.display,2048)&&s.push(c);var u=(0,r.contains)(a.flags,8)?[]:s;if(i||l){var d=i||a.styles.isPositioned()?o:n,p=new h(c);if(a.styles.isPositioned()||a.styles.opacity<1||a.styles.isTransformed()){var m=a.styles.zIndex.order;if(m<0){var v=0;d.negativeZIndex.some((function(e,t){return m>e.element.container.styles.zIndex.order?(v=t,!1):v>0})),d.negativeZIndex.splice(v,0,p)}else if(m>0){var y=0;d.positiveZIndex.some((function(e,t){return m>=e.element.container.styles.zIndex.order?(y=t+1,!1):y>0})),d.positiveZIndex.splice(y,0,p)}else d.zeroOrAutoZIndexOrTransformedOrOpacity.push(p)}else a.styles.isFloating()?d.nonPositionedFloats.push(p):d.nonPositionedInlineLevel.push(p);e(c,p,i?p:o,u)}else a.styles.isInlineLevel()?n.inlineLevel.push(c):n.nonInlineLevel.push(c),e(c,n,o,u);(0,r.contains)(a.flags,8)&&b(a,u)}))}(t,n,n,o),b(t.container,o),n}})?o.apply(t,r):o)||(e.exports=s)},"../sandbox-hooks/html2canvas-lib/render/vector.js":function(e,t,n){var o,r,s;"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self&&self,r=[t,n("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),n("../../node_modules/@babel/runtime/helpers/createClass.js"),n("../sandbox-hooks/html2canvas-lib/render/path.js")],void 0===(s="function"===typeof(o=function(e,t,o,r){"use strict";var s=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(e,"__esModule",{value:!0}),e.isVector=e.Vector=void 0,t=s(t),o=s(o);var a=function(){function e(n,o){(0,t.default)(this,e),this.type=r.PathType.VECTOR,this.x=n,this.y=o}return(0,o.default)(e,[{key:"add",value:function(t,n){return new e(this.x+t,this.y+n)}}]),e}();e.Vector=a,e.isVector=function(e){return e.type===r.PathType.VECTOR}})?o.apply(t,r):o)||(e.exports=s)}}]);
  