(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-wxinvoicing"],{"00f1":function(A,e,t){"use strict";t("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("a9e3");var r={props:{color:{type:String,default:uni.$u.props.line.color},length:{type:[String,Number],default:uni.$u.props.line.length},direction:{type:String,default:uni.$u.props.line.direction},hairline:{type:Boolean,default:uni.$u.props.line.hairline},margin:{type:[String,Number],default:uni.$u.props.line.margin},dashed:{type:Boolean,default:uni.$u.props.line.dashed}}};e.default=r},"0128":function(A,e,t){var r=t("24fb");e=r(!1),e.push([A.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* uni.scss */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-e5503b06]{background:#f9f9f9}body.?%PAGE?%[data-v-e5503b06]{background:#f9f9f9}.img-box[data-v-e5503b06]{padding:0 %?28?% %?28?%}.img-box .img-box-img[data-v-e5503b06]{width:100%;height:100%}.img-box .tips[data-v-e5503b06]{display:flex;justify-content:center;padding:%?28?% 0;font-size:%?32?%;font-weight:700;color:#000;position:relative}.img-box .tips .close[data-v-e5503b06]{width:%?40?%;height:%?40?%;position:absolute;right:0;top:50%;margin-top:%?-20?%;display:flex;align-items:center;justify-content:center}.Box .box_nav[data-v-e5503b06]{padding:%?100?% %?28?% 0 %?28?%}.Box .box_nav .box_navT[data-v-e5503b06]{font-size:%?28?%;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#fff}.Box .box_nav .box_navO[data-v-e5503b06]{font-size:%?36?%;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#999;border-radius:%?2?%}.Box .box_nav .box_navO uni-text[data-v-e5503b06]{padding:%?8?% %?16?%}.Box .box_nav .box_navO .box_navO_text_O[data-v-e5503b06]{color:#333;border-radius:0 %?5?%}.Box .Box_item[data-v-e5503b06]{padding:%?28?%}.Box .Box_item .Box_item_content[data-v-e5503b06]{position:relative;margin-top:%?48?%;width:100%;background:#318afe;border-radius:%?35?%}.Box .Box_item .Box_item_content .Box_item_content_T[data-v-e5503b06]{margin-top:%?62?%;background:#fff;border-radius:%?18?%}.Box .Box_item .Box_item_content .Box_item_content_E[data-v-e5503b06]{margin-top:%?24?%;font-size:%?28?%;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#000}.Box .Box_item .Box_item_content .Box_item_content_f[data-v-e5503b06]{margin-top:%?32?%;width:%?282?%;height:%?72?%;line-height:%?72?%;background:#fff;box-shadow:%?0?% %?6?% %?12?% %?2?% rgba(41,112,204,.99);border-radius:%?36?% %?36?% %?36?% %?36?%;font-family:Source Han Sans CN;font-weight:700;font-size:%?36?%;color:#318afe;text-align:center;font-style:normal;text-transform:none}.Box .Box_item .Box_item_content .Box_item_content_fs[data-v-e5503b06]{margin-bottom:%?36?%;margin-top:%?30?%;font-family:Source Han Sans CN;font-weight:400;font-size:%?28?%;color:#fff;line-height:%?0?%;text-align:center;font-style:normal;text-transform:none}.Box .Box_item .classvie[data-v-e5503b06]{padding:%?16?% %?32?% %?32?% %?56?%;background:#fff;border-radius:%?0?% %?0?% %?12?% %?12?%}.Box .Box_item .classvie .classvie_item[data-v-e5503b06]{margin-top:%?16?%}.Box .Box_item .classvie .classvie_item .classvie_itemone[data-v-e5503b06]{font-family:Source Han Sans CN;font-weight:700;font-size:%?28?%;color:#666;font-style:normal;text-transform:none}.Box .Box_item .classvie .classvie_item .classvie_itemtow[data-v-e5503b06]{font-family:Source Han Sans CN;font-weight:700;font-size:%?28?%;color:#333;font-style:normal;text-transform:none}.Box .Box_item .Box_item_content_botton_text[data-v-e5503b06]{margin-top:%?48?%;font-size:%?24?%;font-family:SourceHanSansCN-Regular,SourceHanSansCN;font-weight:400;color:#999}.Box .Box_item .Box_item_content_botton_bouut[data-v-e5503b06]{margin-top:%?48?%;width:100%}.Box .Box_item .Box_item_content_botton_bouut uni-view[data-v-e5503b06]{padding:%?8?% 0;width:%?558?%;background:#288efb;border-radius:%?50?%;font-size:%?36?%;text-align:center;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#fff}.Box .Box_item .Box_item_content_botton_bouuts[data-v-e5503b06]{margin-top:%?22?%;font-size:%?36?%;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#333}.Box .box_class[data-v-e5503b06]{margin:%?100?% auto;width:%?558?%;height:%?84?%;background:#288efb;border-radius:%?50?% %?50?% %?50?% %?50?%;font-family:Source Han Sans CN;font-weight:400;font-size:%?36?%;color:#fff;line-height:%?84?%;text-align:center;font-style:normal}',""]),A.exports=e},"012f":function(A,e,t){"use strict";t.r(e);var r=t("2626b"),n=t.n(r);for(var B in r)["default"].indexOf(B)<0&&function(A){t.d(e,A,(function(){return r[A]}))}(B);e["default"]=n.a},"099e":function(A,e,t){"use strict";t("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("a9e3");var r={props:{show:{type:Boolean,default:uni.$u.props.modal.show},title:{type:[String],default:uni.$u.props.modal.title},content:{type:String,default:uni.$u.props.modal.content},confirmText:{type:String,default:uni.$u.props.modal.confirmText},cancelText:{type:String,default:uni.$u.props.modal.cancelText},showConfirmButton:{type:Boolean,default:uni.$u.props.modal.showConfirmButton},showCancelButton:{type:Boolean,default:uni.$u.props.modal.showCancelButton},confirmColor:{type:String,default:uni.$u.props.modal.confirmColor},cancelColor:{type:String,default:uni.$u.props.modal.cancelColor},buttonReverse:{type:Boolean,default:uni.$u.props.modal.buttonReverse},zoom:{type:Boolean,default:uni.$u.props.modal.zoom},asyncClose:{type:Boolean,default:uni.$u.props.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:uni.$u.props.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:uni.$u.props.modal.negativeTop},width:{type:[String,Number],default:uni.$u.props.modal.width},confirmButtonShape:{type:String,default:uni.$u.props.modal.confirmButtonShape}}};e.default=r},"103b":function(A,e,t){"use strict";t.r(e);var r=t("fd6b"),n=t("97da");for(var B in n)["default"].indexOf(B)<0&&function(A){t.d(e,A,(function(){return n[A]}))}(B);t("2e69");var s=t("f0c5"),o=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"e8b3007e",null,!1,r["a"],void 0);e["default"]=o.exports},"2626b":function(A,e,t){"use strict";t("7a82");var r=t("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(t("00f1")),B={name:"u-line",mixins:[uni.$u.mpMixin,uni.$u.mixin,n.default],computed:{lineStyle:function(){var A={};return A.margin=this.margin,"row"===this.direction?(A.borderBottomWidth="1px",A.borderBottomStyle=this.dashed?"dashed":"solid",A.width=uni.$u.addUnit(this.length),this.hairline&&(A.transform="scaleY(0.5)")):(A.borderLeftWidth="1px",A.borderLeftStyle=this.dashed?"dashed":"solid",A.height=uni.$u.addUnit(this.length),this.hairline&&(A.transform="scaleX(0.5)")),A.borderColor=this.color,uni.$u.deepMerge(A,uni.$u.addStyle(this.customStyle))}}};e.default=B},"2e69":function(A,e,t){"use strict";var r=t("e489"),n=t.n(r);n.a},"2ed0":function(A,e,t){"use strict";t.d(e,"b",(function(){return n})),t.d(e,"c",(function(){return B})),t.d(e,"a",(function(){return r}));var r={uModal:t("103b").default,uPopup:t("c081").default,uIcon:t("499f").default},n=function(){var A=this,e=A.$createElement,t=A._self._c||e;return t("v-uni-view",{staticClass:"Box"},[t("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:0==A.qrodeshow,expression:"qrodeshow == 0"}],staticClass:"Box_item"},[t("v-uni-view",{attrs:{id:"Box"}},[t("v-uni-view",{staticClass:"Box_item_content flex-colum"},[t("v-uni-view",{staticClass:"Box_item_content_T flex-center",staticStyle:{padding:"16rpx"}},[t("v-uni-view",{staticStyle:{width:"242px",height:"242px"}},[t("v-uni-canvas",{ref:"qrcode",staticStyle:{width:"100%",height:"100%"},attrs:{id:"qrcode","canvas-id":"qrcode"}})],1)],1),t("v-uni-view",{staticClass:"Box_item_content_f flex-center",on:{click:function(e){arguments[0]=e=A.$handleEvent(e),A.savealbum.apply(void 0,arguments)}}},[A._v("保存二维码")]),t("v-uni-view",{staticClass:"Box_item_content_fs flex-center"},[A._v(A._s(A.datares.string1))])],1)],1),t("v-uni-view",{staticClass:"classvie"},[t("v-uni-view",{staticClass:"classvie_item flex-start"},[t("v-uni-text",{staticClass:"classvie_itemone"},[A._v("发票金额:")]),t("v-uni-text",{staticClass:"classvie_itemtow",staticStyle:{color:"#FF6565"}},[A._v("¥"+A._s(A.datares.price))])],1),t("v-uni-view",{staticClass:"classvie_item flex-start"},[t("v-uni-text",{staticClass:"classvie_itemone"},[A._v("发票名称:")]),t("v-uni-text",{staticClass:"classvie_itemtow"},[A._v(A._s(A.datares.title))])],1),t("v-uni-view",{staticClass:"classvie_item flex-start"},[t("v-uni-text",{staticClass:"classvie_itemone"},[A._v("发票类型:")]),t("v-uni-text",{staticClass:"classvie_itemtow"},[A._v(A._s(A.datares.type))])],1)],1)],1),t("v-uni-view",{staticClass:"box_class",on:{click:function(e){arguments[0]=e=A.$handleEvent(e),A.box_class.apply(void 0,arguments)}}},[A._v("已完成")]),t("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1==A.qrodeshow,expression:"qrodeshow == 1"}]}),t("u-modal",{attrs:{show:A.modalshow.show,showCancelButton:!0,title:A.modalshow.title,content:A.modalshow.content}}),t("u-popup",{attrs:{show:A.imgShow},on:{close:function(e){arguments[0]=e=A.$handleEvent(e),A.imgShow=!1}}},[t("v-uni-view",{staticClass:"img-box"},[t("v-uni-view",{staticClass:"tips"},[t("v-uni-view",{staticClass:"close",on:{click:function(e){arguments[0]=e=A.$handleEvent(e),A.imgShow=!1}}},[t("u-icon",{attrs:{name:"close",size:"16",color:"#fff"}})],1)],1),t("v-uni-image",{staticClass:"img-box-img",attrs:{"show-menu-by-longpress":!0,src:A.img,mode:"widthFix"}})],1)],1)],1)},B=[]},3439:function(A,e,t){var r=t("24fb");e=r(!1),e.push([A.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* uni.scss */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-e8b3007e], uni-scroll-view[data-v-e8b3007e], uni-swiper-item[data-v-e8b3007e]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-modal[data-v-e8b3007e]{width:%?650?%;border-radius:6px;overflow:hidden}.u-modal__title[data-v-e8b3007e]{font-size:16px;font-weight:700;color:#606266;text-align:center;padding-top:25px}.u-modal__content[data-v-e8b3007e]{padding:12px 25px 25px 25px;display:flex;flex-direction:row;justify-content:center}.u-modal__content__text[data-v-e8b3007e]{font-size:15px;color:#606266;flex:1}.u-modal__button-group[data-v-e8b3007e]{display:flex;flex-direction:row}.u-modal__button-group--confirm-button[data-v-e8b3007e]{flex-direction:column;padding:0 25px 15px 25px}.u-modal__button-group__wrapper[data-v-e8b3007e]{flex:1;display:flex;flex-direction:row;justify-content:center;align-items:center;height:48px}.u-modal__button-group__wrapper--confirm[data-v-e8b3007e], .u-modal__button-group__wrapper--only-cancel[data-v-e8b3007e]{border-bottom-right-radius:6px}.u-modal__button-group__wrapper--cancel[data-v-e8b3007e], .u-modal__button-group__wrapper--only-confirm[data-v-e8b3007e]{border-bottom-left-radius:6px}.u-modal__button-group__wrapper--hover[data-v-e8b3007e]{background-color:#f3f4f6}.u-modal__button-group__wrapper__text[data-v-e8b3007e]{color:#606266;font-size:16px;text-align:center}',""]),A.exports=e},"38bc":function(A,e,t){"use strict";t("7a82");var r=t("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(t("f07e")),B=r(t("c964")),s=r(t("6001")),o=r(t("a9dd")),i=r(t("5582")),a={data:function(){return{text:"uQRCode",qrodeshow:0,modalshow:{show:!1,title:"温馨提示",content:"微信支付认证未审核,该收款码,暂不支持微信支付"},userApp:uni.cache.get("userApp"),size:242,data:{},fowxAuditInfo:{},imgShow:!1,img:""}},onLoad:function(A){console.log(A),this.datares=A},onReady:function(){this.merchantStoreshowMerchantStoreReceipt()},computed:{},methods:{box_class:function(){uni.navigateBack()},savealbum:function(A){this.img?this.imgShow=!0:(uni.showLoading({title:"保存中...",mask:!0}),(0,o.default)(document.querySelector("#Box"),{backgroundColor:"transparent",useCORS:!0}).then((function(A){uni.hideLoading();var e=A.toDataURL("image/png"),t=document.createElement("a");document.body.appendChild(t),t.href=e,t.download=(0,s.default)().valueOf(),t.click()})).catch((function(A){console.log(A)})))},merchantStoreshowMerchantStoreReceipt:function(A){var e=this;return(0,B.default)((0,n.default)().mark((function t(){var r,B;return(0,n.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:r=new i.default,console.log(A),r.data=e.datares.url,r.size=e.size,r.make(),B=uni.createCanvasContext("qrcode",e),r.canvasContext=B,r.drawCanvas();case 8:case"end":return t.stop()}}),t)})))()},requestlang:function(){uni.request({url:uni.conf.baseUrl+"wap/merchant/authPay",data:{userAppId:2,channel:1,qrNo:1,view:1},header:{"user-agent":"micromessenger"},method:"GET",success:function(A){console.log("接口返回------",A)}})}}};e.default=a},"38cf":function(A,e,t){"use strict";var r=t("23e7"),n=t("1148");r({target:"String",proto:!0},{repeat:n})},5377:function(A,e,t){"use strict";var r=t("da84"),n=t("83ab"),B=t("edd0"),s=t("ad6d"),o=t("d039"),i=r.RegExp,a=i.prototype,c=n&&o((function(){var A=!0;try{i(".","d")}catch(c){A=!1}var e={},t="",r=A?"dgimsy":"gimsy",n=function(A,r){Object.defineProperty(e,A,{get:function(){return t+=r,!0}})},B={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in A&&(B.hasIndices="d"),B)n(s,B[s]);var o=Object.getOwnPropertyDescriptor(a,"flags").get.call(e);return o!==r||t!==r}));c&&B(a,"flags",{configurable:!0,get:s})},6001:function(A,e,t){var r,n,B=t("62f5").default;t("6c57"),t("ac1f"),t("5319"),t("00b4"),t("466d"),t("d401"),t("d3b7"),t("25f0"),t("fb6a"),t("a9e3"),t("f4b3"),t("bf19"),function(s,o){"object"==B(e)&&"undefined"!=typeof A?A.exports=o():(r=o,n="function"===typeof r?r.call(e,t,e,A):r,void 0===n||(A.exports=n))}(0,(function(){"use strict";var A=6e4,e=36e5,t="millisecond",r="second",n="minute",s="hour",o="day",i="week",a="month",c="quarter",u="year",g="date",Q="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(A){var e=["th","st","nd","rd"],t=A%100;return"["+A+(e[(t-20)%10]||e[t]||e[0])+"]"}},U=function(A,e,t){var r=String(A);return!r||r.length>=e?A:""+Array(e+1-r.length).join(t)+A},F={s:U,z:function(A){var e=-A.utcOffset(),t=Math.abs(e),r=Math.floor(t/60),n=t%60;return(e<=0?"+":"-")+U(r,2,"0")+":"+U(n,2,"0")},m:function A(e,t){if(e.date()1)return A(s[0])}else{var o=e.name;h[o]=e,n=o}return!r&&n&&(d=n),n||!r&&d},E=function(A,e){if(p(A))return A.clone();var t="object"==B(e)?e:{};return t.date=A,t.args=arguments,new I(t)},y=F;y.l=H,y.i=p,y.w=function(A,e){return E(A,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var I=function(){function B(A){this.$L=H(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[f]=!0}var C=B.prototype;return C.parse=function(A){this.$d=function(A){var e=A.date,t=A.utc;if(null===e)return new Date(NaN);if(y.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(w);if(r){var n=r[2]-1||0,B=(r[7]||"0").substring(0,3);return t?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,B)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,B)}}return new Date(e)}(A),this.init()},C.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},C.$utils=function(){return y},C.isValid=function(){return!(this.$d.toString()===Q)},C.isSame=function(A,e){var t=E(A);return this.startOf(e)<=t&&t<=this.endOf(e)},C.isAfter=function(A,e){return E(A) * Copyright (c) 2022 Niklas von Hertzen * Released under MIT License */ function(s,o){"object"===B(e)&&"undefined"!==typeof A?A.exports=o():(r=o,n="function"===typeof r?r.call(e,t,e,A):r,void 0===n||(A.exports=n))}(0,(function(){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var A=function(e,t){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(A[t]=e[t])},A(e,t)};function e(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var t=function(){return t=Object.assign||function(A){for(var e,t=1,r=arguments.length;t0&&n[n.length-1])&&(6===B[0]||2===B[0])){s=0;continue}if(3===B[0]&&(!n||B[1]>n[0]&&B[1]=55296&&n<=56319&&t>10),s%1024+56320)),(n+1===t||r.length>16384)&&(B+=String.fromCharCode.apply(String,r),r.length=0)}return B},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Q=0;Q=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>5],e=(e<<2)+(31&A),this.data[e];if(A<=65535)return e=this.index[2048+(A-55296>>5)],e=(e<<2)+(31&A),this.data[e];if(A>11),e=this.index[e],e+=A>>5&63,e=this.index[e],e=(e<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f>4,c[i++]=(15&r)<<4|n>>2,c[i++]=(3&n)<<6|63&B;return a}(A),r=Array.isArray(t)?function(A){for(var e=A.length,t=[],r=0;r0){B--;var o=r[B];if(Array.isArray(A)?-1!==A.indexOf(o):A===o){var i=t;while(i<=r.length){i++;s=r[i];if(s===e)return!0;if(s!==p)break}}if(o!==p)break}}return!1},tA=function(A,e){var t=A;while(t>=0){var r=e[t];if(r!==p)return r;t--}return 0},rA=function(A,e,t,r,n){if(0===t[r])return"×";var B=r-1;if(Array.isArray(n)&&!0===n[B])return"×";var s=B-1,o=B+1,i=e[B],a=s>=0?e[s]:0,c=e[o];if(2===i&&3===c)return"×";if(-1!==Z.indexOf(i))return"!";if(-1!==Z.indexOf(c))return"×";if(-1!==$.indexOf(c))return"×";if(8===tA(B,e))return"÷";if(11===Y.get(A[B]))return"×";if((i===O||i===G)&&11===Y.get(A[o]))return"×";if(7===i||7===c)return"×";if(9===i)return"×";if(-1===[p,H,E].indexOf(i)&&9===c)return"×";if(-1!==[y,I,m,L,M].indexOf(c))return"×";if(tA(B,e)===b)return"×";if(eA(23,b,B,e))return"×";if(eA([y,I],K,B,e))return"×";if(eA(12,12,B,e))return"×";if(i===p)return"÷";if(23===i||23===c)return"×";if(16===c||16===i)return"÷";if(-1!==[H,E,K].indexOf(c)||14===i)return"×";if(36===a&&-1!==AA.indexOf(i))return"×";if(i===M&&36===c)return"×";if(c===v)return"×";if(-1!==W.indexOf(c)&&i===D||-1!==W.indexOf(i)&&c===D)return"×";if(i===S&&-1!==[R,O,G].indexOf(c)||-1!==[R,O,G].indexOf(i)&&c===x)return"×";if(-1!==W.indexOf(i)&&-1!==q.indexOf(c)||-1!==q.indexOf(i)&&-1!==W.indexOf(c))return"×";if(-1!==[S,x].indexOf(i)&&(c===D||-1!==[b,E].indexOf(c)&&e[o+1]===D)||-1!==[b,E].indexOf(i)&&c===D||i===D&&-1!==[D,M,L].indexOf(c))return"×";if(-1!==[D,M,L,y,I].indexOf(c)){var u=B;while(u>=0){var g=e[u];if(g===D)return"×";if(-1===[M,L].indexOf(g))break;u--}}if(-1!==[S,x].indexOf(c)){u=-1!==[y,I].indexOf(i)?s:B;while(u>=0){g=e[u];if(g===D)return"×";if(-1===[M,L].indexOf(g))break;u--}}if(N===i&&-1!==[N,P,V,k].indexOf(c)||-1!==[P,V].indexOf(i)&&-1!==[P,_].indexOf(c)||-1!==[_,k].indexOf(i)&&c===_)return"×";if(-1!==z.indexOf(i)&&-1!==[v,x].indexOf(c)||-1!==z.indexOf(c)&&i===S)return"×";if(-1!==W.indexOf(i)&&-1!==W.indexOf(c))return"×";if(i===L&&-1!==W.indexOf(c))return"×";if(-1!==W.concat(D).indexOf(i)&&c===b&&-1===X.indexOf(A[o])||-1!==W.concat(D).indexOf(c)&&i===I)return"×";if(41===i&&41===c){var Q=t[B],w=1;while(Q>0){if(Q--,41!==e[Q])break;w++}if(w%2!==0)return"×"}return i===O&&c===G?"×":"÷"},nA=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=function(A,e){void 0===e&&(e="strict");var t=[],r=[],n=[];return A.forEach((function(A,B){var s=Y.get(A);if(s>50?(n.push(!0),s-=50):n.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return r.push(B),t.push(16);if(4===s||11===s){if(0===B)return r.push(B),t.push(T);var o=t[B-1];return-1===j.indexOf(o)?(r.push(r[B-1]),t.push(o)):(r.push(B),t.push(T))}return r.push(B),31===s?t.push("strict"===e?K:R):s===J||29===s?t.push(T):43===s?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(R):t.push(T):void t.push(s)})),[r,t,n]}(A,e.lineBreak),r=t[0],n=t[1],B=t[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(n=n.map((function(A){return-1!==[D,T,J].indexOf(A)?R:A})));var s="keep-all"===e.wordBreak?B.map((function(e,t){return e&&A[t]>=19968&&A[t]<=40959})):void 0;return[r,n,s]},BA=function(){function A(A,e,t,r){this.codePoints=A,this.required="!"===e,this.start=t,this.end=r}return A.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),sA=function(A){return A>=48&&A<=57},oA=function(A){return sA(A)||A>=65&&A<=70||A>=97&&A<=102},iA=function(A){return 10===A||9===A||32===A},aA=function(A){return function(A){return function(A){return A>=97&&A<=122}(A)||function(A){return A>=65&&A<=90}(A)}(A)||function(A){return A>=128}(A)||95===A},cA=function(A){return aA(A)||sA(A)||45===A},uA=function(A){return A>=0&&A<=8||11===A||A>=14&&A<=31||127===A},gA=function(A,e){return 92===A&&10!==e},QA=function(A,e,t){return 45===A?aA(e)||gA(e,t):!!aA(A)||!(92!==A||!gA(A,e))},wA=function(A,e,t){return 43===A||45===A?!!sA(e)||46===e&&sA(t):sA(46===A?e:A)},lA=function(A){var e=0,t=1;43!==A[e]&&45!==A[e]||(45===A[e]&&(t=-1),e++);var r=[];while(sA(A[e]))r.push(A[e++]);var n=r.length?parseInt(c.apply(void 0,r),10):0;46===A[e]&&e++;var B=[];while(sA(A[e]))B.push(A[e++]);var s=B.length,o=s?parseInt(c.apply(void 0,B),10):0;69!==A[e]&&101!==A[e]||e++;var i=1;43!==A[e]&&45!==A[e]||(45===A[e]&&(i=-1),e++);var a=[];while(sA(A[e]))a.push(A[e++]);var u=a.length?parseInt(c.apply(void 0,a),10):0;return t*(n+o*Math.pow(10,-s))*Math.pow(10,i*u)},CA={type:2},UA={type:3},FA={type:4},dA={type:13},hA={type:8},fA={type:21},pA={type:9},HA={type:10},EA={type:11},yA={type:12},IA={type:14},mA={type:23},vA={type:1},KA={type:25},bA={type:24},LA={type:26},DA={type:27},xA={type:28},SA={type:29},MA={type:31},TA={type:32},OA=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(a(A))},A.prototype.read=function(){var A=[],e=this.consumeToken();while(e!==TA)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),r=this.peekCodePoint(2);if(cA(e)||gA(t,r)){var n=QA(e,t,r)?2:1,B=this.consumeName();return{type:5,value:B,flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),dA;break;case 39:return this.consumeStringToken(39);case 40:return CA;case 41:return UA;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),IA;break;case 43:if(wA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return FA;case 45:var s=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(wA(s,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(QA(s,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(45===o&&62===i)return this.consumeCodePoint(),this.consumeCodePoint(),bA;break;case 46:if(wA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0)){this.consumeCodePoint();while(1){var a=this.consumeCodePoint();if(42===a&&(a=this.consumeCodePoint(),47===a))return this.consumeToken();if(-1===a)return this.consumeToken()}}break;case 58:return LA;case 59:return DA;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),KA;break;case 64:var u=this.peekCodePoint(0),g=this.peekCodePoint(1),Q=this.peekCodePoint(2);if(QA(u,g,Q)){B=this.consumeName();return{type:7,value:B}}break;case 91:return xA;case 92:if(gA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return SA;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),hA;break;case 123:return EA;case 125:return yA;case 117:case 85:var w=this.peekCodePoint(0),l=this.peekCodePoint(1);return 43!==w||!oA(l)&&63!==l||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),pA;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),fA;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),HA;break;case-1:return TA}return iA(A)?(this.consumeWhiteSpace(),MA):sA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):aA(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:c(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){var A=[],e=this.consumeCodePoint();while(oA(e)&&A.length<6)A.push(e),e=this.consumeCodePoint();var t=!1;while(63===e&&A.length<6)A.push(e),e=this.consumeCodePoint(),t=!0;if(t){var r=parseInt(c.apply(void 0,A.map((function(A){return 63===A?48:A}))),16),n=parseInt(c.apply(void 0,A.map((function(A){return 63===A?70:A}))),16);return{type:30,start:r,end:n}}var B=parseInt(c.apply(void 0,A),16);if(45===this.peekCodePoint(0)&&oA(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();var s=[];while(oA(e)&&s.length<6)s.push(e),e=this.consumeCodePoint();n=parseInt(c.apply(void 0,s),16);return{type:30,start:B,end:n}}return{type:30,start:B,end:B}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),mA)}while(1){var r=this.consumeCodePoint();if(-1===r||41===r)return{type:22,value:c.apply(void 0,A)};if(iA(r))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,A)}):(this.consumeBadUrlRemnants(),mA);if(34===r||39===r||40===r||uA(r))return this.consumeBadUrlRemnants(),mA;if(92===r){if(!gA(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),mA;A.push(this.consumeEscapedCodePoint())}else A.push(r)}},A.prototype.consumeWhiteSpace=function(){while(iA(this.peekCodePoint(0)))this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){while(1){var A=this.consumeCodePoint();if(41===A||-1===A)return;gA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){var e="";while(A>0){var t=Math.min(5e4,A);e+=c.apply(void 0,this._value.splice(0,t)),A-=t}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){var e="",t=0;do{var r=this._value[t];if(-1===r||void 0===r||r===A)return e+=this.consumeStringSlice(t),{type:0,value:e};if(10===r)return this._value.splice(0,t),vA;if(92===r){var n=this._value[t+1];-1!==n&&void 0!==n&&(10===n?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):gA(r,n)&&(e+=this.consumeStringSlice(t),e+=c(this.consumeEscapedCodePoint()),t=-1))}t++}while(1)},A.prototype.consumeNumber=function(){var A=[],e=4,t=this.peekCodePoint(0);43!==t&&45!==t||A.push(this.consumeCodePoint());while(sA(this.peekCodePoint(0)))A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===t&&sA(r)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;while(sA(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}t=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((69===t||101===t)&&((43===r||45===r)&&sA(n)||sA(r))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;while(sA(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[lA(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),B=this.peekCodePoint(2);if(QA(r,n,B)){var s=this.consumeName();return{type:15,number:e,flags:t,unit:s}}return 37===r?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(oA(A)){var e=c(A);while(oA(this.peekCodePoint(0))&&e.length<6)e+=c(this.consumeCodePoint());iA(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||function(A){return A>=55296&&A<=57343}(t)||t>1114111?65533:t}return-1===A?65533:A},A.prototype.consumeName=function(){var A="";while(1){var e=this.consumeCodePoint();if(cA(e))A+=c(e);else{if(!gA(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=c(this.consumeEscapedCodePoint())}}},A}(),GA=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new OA;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){var A=this.consumeToken();while(31===A.type)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){var A=[];while(1){var e=this.consumeComponentValue();if(32===e.type)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){var e={type:A,values:[]},t=this.consumeToken();while(1){if(32===t.type||YA(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){var e={name:A.value,values:[],type:18};while(1){var t=this.consumeToken();if(32===t.type||3===t.type)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?TA:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),VA=function(A){return 15===A.type},kA=function(A){return 17===A.type},RA=function(A){return 20===A.type},NA=function(A){return 0===A.type},PA=function(A,e){return RA(A)&&A.value===e},_A=function(A){return 31!==A.type},JA=function(A){return 31!==A.type&&4!==A.type},XA=function(A){var e=[],t=[];return A.forEach((function(A){if(4===A.type){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}31!==A.type&&t.push(A)})),t.length&&e.push(t),e},YA=function(A,e){return 11===e&&12===A.type||(28===e&&29===A.type||2===e&&3===A.type)},WA=function(A){return 17===A.type||15===A.type},ZA=function(A){return 16===A.type||WA(A)},$A=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},qA={type:17,number:0,flags:4},jA={type:16,number:50,flags:4},zA={type:16,number:100,flags:4},Ae=function(A,e,t){var r=A[0],n=A[1];return[ee(r,e),ee("undefined"!==typeof n?n:r,t)]},ee=function(A,e){if(16===A.type)return A.number/100*e;if(VA(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},te={name:"angle",parse:function(A,e){if(15===e.type)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")}},re=function(A){return 15===A.type&&("deg"===A.unit||"grad"===A.unit||"rad"===A.unit||"turn"===A.unit)},ne=function(A){var e=A.filter(RA).map((function(A){return A.value})).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[qA,qA];case"to top":case"bottom":return Be(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[qA,zA];case"to right":case"left":return Be(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[zA,zA];case"to bottom":case"top":return Be(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[zA,qA];case"to left":case"right":return Be(270)}return 0},Be=function(A){return Math.PI*A/180},se={name:"color",parse:function(A,e){if(18===e.type){var t=we[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(5===e.type){if(3===e.value.length){var r=e.value.substring(0,1),n=e.value.substring(1,2),B=e.value.substring(2,3);return ae(parseInt(r+r,16),parseInt(n+n,16),parseInt(B+B,16),1)}if(4===e.value.length){r=e.value.substring(0,1),n=e.value.substring(1,2),B=e.value.substring(2,3);var s=e.value.substring(3,4);return ae(parseInt(r+r,16),parseInt(n+n,16),parseInt(B+B,16),parseInt(s+s,16)/255)}if(6===e.value.length){r=e.value.substring(0,2),n=e.value.substring(2,4),B=e.value.substring(4,6);return ae(parseInt(r,16),parseInt(n,16),parseInt(B,16),1)}if(8===e.value.length){r=e.value.substring(0,2),n=e.value.substring(2,4),B=e.value.substring(4,6),s=e.value.substring(6,8);return ae(parseInt(r,16),parseInt(n,16),parseInt(B,16),parseInt(s,16)/255)}}if(20===e.type){var o=Ce[e.value.toUpperCase()];if("undefined"!==typeof o)return o}return Ce.TRANSPARENT}},oe=function(A){return 0===(255&A)},ie=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},ae=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(255*r)<<0)>>>0},ce=function(A,e){if(17===A.type)return A.number;if(16===A.type){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},ue=function(A,e){var t=e.filter(JA);if(3===t.length){var r=t.map(ce),n=r[0],B=r[1],s=r[2];return ae(n,B,s,1)}if(4===t.length){var o=t.map(ce),i=(n=o[0],B=o[1],s=o[2],o[3]);return ae(n,B,s,i)}return 0};function ge(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A}var Qe=function(A,e){var t=e.filter(JA),r=t[0],n=t[1],B=t[2],s=t[3],o=(17===r.type?Be(r.number):te.parse(A,r))/(2*Math.PI),i=ZA(n)?n.number/100:0,a=ZA(B)?B.number/100:0,c="undefined"!==typeof s&&ZA(s)?ee(s,1):1;if(0===i)return ae(255*a,255*a,255*a,1);var u=a<=.5?a*(i+1):a+i-a*i,g=2*a-u,Q=ge(g,u,o+1/3),w=ge(g,u,o),l=ge(g,u,o-1/3);return ae(255*Q,255*w,255*l,c)},we={hsl:Qe,hsla:Qe,rgb:ue,rgba:ue},le=function(A,e){return se.parse(A,GA.create(e).parseComponentValue())},Ce={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},Ue={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(RA(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Fe={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},de=function(A,e){var t=se.parse(A,e[0]),r=e[1];return r&&ZA(r)?{color:t,stop:r}:{color:t,stop:null}},he=function(A,e){var t=A[0],r=A[A.length-1];null===t.stop&&(t.stop=qA),null===r.stop&&(r.stop=zA);for(var n=[],B=0,s=0;sB?n.push(i):n.push(B),B=i}else n.push(null)}var a=null;for(s=0;sA.optimumDistance)?{optimumCorner:e,optimumDistance:o}:A}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Ee=function(A,e){var t=Be(180),r=[];return XA(e).forEach((function(e,n){if(0===n){var B=e[0];if(20===B.type&&-1!==["top","left","right","bottom"].indexOf(B.value))return void(t=ne(e));if(re(B))return void(t=(te.parse(A,B)+Be(270))%Be(360))}var s=de(A,e);r.push(s)})),{angle:t,stops:r,type:1}},ye=function(A,e){var t=0,r=3,n=[],B=[];return XA(e).forEach((function(e,s){var o=!0;if(0===s?o=e.reduce((function(A,e){if(RA(e))switch(e.value){case"center":return B.push(jA),!1;case"top":case"left":return B.push(qA),!1;case"right":case"bottom":return B.push(zA),!1}else if(ZA(e)||WA(e))return B.push(e),!1;return A}),o):1===s&&(o=e.reduce((function(A,e){if(RA(e))switch(e.value){case"circle":return t=0,!1;case"ellipse":return t=1,!1;case"contain":case"closest-side":return r=0,!1;case"farthest-side":return r=1,!1;case"closest-corner":return r=2,!1;case"cover":case"farthest-corner":return r=3,!1}else if(WA(e)||ZA(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return A}),o)),o){var i=de(A,e);n.push(i)}})),{size:r,shape:t,stops:n,position:B,type:2}},Ie={name:"image",parse:function(A,e){if(22===e.type){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){var r=ve[e.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};var me,ve={"linear-gradient":function(A,e){var t=Be(180),r=[];return XA(e).forEach((function(e,n){if(0===n){var B=e[0];if(20===B.type&&"to"===B.value)return void(t=ne(e));if(re(B))return void(t=te.parse(A,B))}var s=de(A,e);r.push(s)})),{angle:t,stops:r,type:1}},"-moz-linear-gradient":Ee,"-ms-linear-gradient":Ee,"-o-linear-gradient":Ee,"-webkit-linear-gradient":Ee,"radial-gradient":function(A,e){var t=0,r=3,n=[],B=[];return XA(e).forEach((function(e,s){var o=!0;if(0===s){var i=!1;o=e.reduce((function(A,e){if(i)if(RA(e))switch(e.value){case"center":return B.push(jA),A;case"top":case"left":return B.push(qA),A;case"right":case"bottom":return B.push(zA),A}else(ZA(e)||WA(e))&&B.push(e);else if(RA(e))switch(e.value){case"circle":return t=0,!1;case"ellipse":return t=1,!1;case"at":return i=!0,!1;case"closest-side":return r=0,!1;case"cover":case"farthest-side":return r=1,!1;case"contain":case"closest-corner":return r=2,!1;case"farthest-corner":return r=3,!1}else if(WA(e)||ZA(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return A}),o)}if(o){var a=de(A,e);n.push(a)}})),{size:r,shape:t,stops:n,position:B,type:2}},"-moz-radial-gradient":ye,"-ms-radial-gradient":ye,"-o-radial-gradient":ye,"-webkit-radial-gradient":ye,"-webkit-gradient":function(A,e){var t=Be(180),r=[],n=1;return XA(e).forEach((function(e,t){var B=e[0];if(0===t){if(RA(B)&&"linear"===B.value)return void(n=1);if(RA(B)&&"radial"===B.value)return void(n=2)}if(18===B.type)if("from"===B.name){var s=se.parse(A,B.values[0]);r.push({stop:qA,color:s})}else if("to"===B.name){s=se.parse(A,B.values[0]);r.push({stop:zA,color:s})}else if("color-stop"===B.name){var o=B.values.filter(JA);if(2===o.length){s=se.parse(A,o[1]);var i=o[0];kA(i)&&r.push({stop:{type:16,number:100*i.number,flags:i.flags},color:s})}}})),1===n?{angle:(t+Be(180))%Be(360),stops:r,type:n}:{size:3,shape:0,stops:r,position:[],type:n}}},Ke={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter((function(A){return JA(A)&&function(A){return!(20===A.type&&"none"===A.value)&&(18!==A.type||!!ve[A.name])}(A)})).map((function(e){return Ie.parse(A,e)}))}},be={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(RA(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Le={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return XA(e).map((function(A){return A.filter(ZA)})).map($A)}},De={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return XA(e).map((function(A){return A.filter(RA).map((function(A){return A.value})).join(" ")})).map(xe)}},xe=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};(function(A){A["AUTO"]="auto",A["CONTAIN"]="contain",A["COVER"]="cover"})(me||(me={}));var Se,Me={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return XA(e).map((function(A){return A.filter(Te)}))}},Te=function(A){return RA(A)||ZA(A)},Oe=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ge=Oe("top"),Ve=Oe("right"),ke=Oe("bottom"),Re=Oe("left"),Ne=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return $A(e.filter(ZA))}}},Pe=Ne("top-left"),_e=Ne("top-right"),Je=Ne("bottom-right"),Xe=Ne("bottom-left"),Ye=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},We=Ye("top"),Ze=Ye("right"),$e=Ye("bottom"),qe=Ye("left"),je=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return VA(e)?e.number:0}}},ze=je("top"),At=je("right"),et=je("bottom"),tt=je("left"),rt={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},nt={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},Bt={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(RA).reduce((function(A,e){return A|st(e.value)}),0)}},st=function(A){switch(A){case"block":case"-webkit-box":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},ot={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},it={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};(function(A){A["NORMAL"]="normal",A["STRICT"]="strict"})(Se||(Se={}));var at,ct={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return Se.STRICT;case"normal":default:return Se.NORMAL}}},ut={name:"line-height",initialValue:"normal",prefix:!1,type:4},gt=function(A,e){return RA(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:ZA(A)?ee(A,e):e},Qt={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:Ie.parse(A,e)}},wt={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},lt={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Ct=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},Ut=Ct("top"),Ft=Ct("right"),dt=Ct("bottom"),ht=Ct("left"),ft={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(RA).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},pt={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ht=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Et=Ht("top"),yt=Ht("right"),It=Ht("bottom"),mt=Ht("left"),vt={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Kt={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},bt={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&PA(e[0],"none")?[]:XA(e).map((function(e){for(var t={color:Ce.TRANSPARENT,offsetX:qA,offsetY:qA,blur:qA},r=0,n=0;n1?1:0],this.overflowWrap=ar(A,pt,e.overflowWrap),this.paddingTop=ar(A,Et,e.paddingTop),this.paddingRight=ar(A,yt,e.paddingRight),this.paddingBottom=ar(A,It,e.paddingBottom),this.paddingLeft=ar(A,mt,e.paddingLeft),this.paintOrder=ar(A,rr,e.paintOrder),this.position=ar(A,Kt,e.position),this.textAlign=ar(A,vt,e.textAlign),this.textDecorationColor=ar(A,Nt,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=ar(A,Pt,null!==(r=e.textDecorationLine)&&void 0!==r?r:e.textDecoration),this.textShadow=ar(A,bt,e.textShadow),this.textTransform=ar(A,Lt,e.textTransform),this.transform=ar(A,Dt,e.transform),this.transformOrigin=ar(A,Tt,e.transformOrigin),this.visibility=ar(A,Ot,e.visibility),this.webkitTextStrokeColor=ar(A,nr,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=ar(A,Br,e.webkitTextStrokeWidth),this.wordBreak=ar(A,Gt,e.wordBreak),this.zIndex=ar(A,Vt,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return oe(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return Zt(this.display,4)||Zt(this.display,33554432)||Zt(this.display,268435456)||Zt(this.display,536870912)||Zt(this.display,67108864)||Zt(this.display,134217728)},A}(),or=function(){return function(A,e){this.content=ar(A,$t,e.content),this.quotes=ar(A,Ar,e.quotes)}}(),ir=function(){return function(A,e){this.counterIncrement=ar(A,qt,e.counterIncrement),this.counterReset=ar(A,jt,e.counterReset)}}(),ar=function(A,e,t){var r=new OA,n=null!==t&&"undefined"!==typeof t?t.toString():e.initialValue;r.write(n);var B=new GA(r.read());switch(e.type){case 2:var s=B.parseComponentValue();return e.parse(A,RA(s)?s.value:e.initialValue);case 0:return e.parse(A,B.parseComponentValue());case 1:return e.parse(A,B.parseComponentValues());case 4:return B.parseComponentValue();case 3:switch(e.format){case"angle":return te.parse(A,B.parseComponentValue());case"color":return se.parse(A,B.parseComponentValue());case"image":return Ie.parse(A,B.parseComponentValue());case"length":var o=B.parseComponentValue();return WA(o)?o:qA;case"length-percentage":var i=B.parseComponentValue();return ZA(i)?i:qA;case"time":return kt.parse(A,B.parseComponentValue())}break}},cr=function(A,e){var t=function(A){var e=A.getAttribute("data-html2canvas-debug");switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(A);return 1===t||e===t},ur=function(){return function(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,cr(e,3),this.styles=new sr(A,window.getComputedStyle(e,null)),un(e)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=i(this.context,e),cr(e,4)&&(this.flags|=16)}}(),gr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qr="undefined"===typeof Uint8Array?[]:new Uint8Array(256),wr=0;wr=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>5],e=(e<<2)+(31&A),this.data[e];if(A<=65535)return e=this.index[2048+(A-55296>>5)],e=(e<<2)+(31&A),this.data[e];if(A>11),e=this.index[e],e+=A>>5&63,e=this.index[e],e=(e<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),Ur="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Fr="undefined"===typeof Uint8Array?[]:new Uint8Array(256),dr=0;dr>10),s%1024+56320)),(n+1===t||r.length>16384)&&(B+=String.fromCharCode.apply(String,r),r.length=0)}return B},Ir=function(A,e){var t=function(A){var e,t,r,n,B,s=.75*A.length,o=A.length,i=0;"="===A[A.length-1]&&(s--,"="===A[A.length-2]&&s--);var a="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(a)?a:new Uint8Array(a);for(e=0;e>4,c[i++]=(15&r)<<4|n>>2,c[i++]=(3&n)<<6|63&B;return a}(A),r=Array.isArray(t)?function(A){for(var e=A.length,t=[],r=0;r=55296&&n<=56319&&t=t)return{done:!0,value:null};var A="×";while(rs.x||n.y>s.y;return s=n,0===e||o}));return A.body.removeChild(e),o}(document);return Object.defineProperty(xr,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,";try{r.drawImage(e,0,0),t.toDataURL()}catch(n){return!1}return!0}(document);return Object.defineProperty(xr,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?function(A){var e=A.createElement("canvas");e.width=100,e.height=100;var t=e.getContext("2d");if(!t)return Promise.reject(!1);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,100,100);var r=new Image,n=e.toDataURL();r.src=n;var B=Lr(100,100,0,0,r);return t.fillStyle="red",t.fillRect(0,0,100,100),Dr(B).then((function(e){t.drawImage(e,0,0);var r=t.getImageData(0,0,100,100).data;t.fillStyle="red",t.fillRect(0,0,100,100);var B=A.createElement("div");return B.style.backgroundImage="url("+n+")",B.style.height="100px",br(r)?Dr(Lr(100,100,0,0,B)):Promise.reject(!1)})).then((function(A){return t.drawImage(A,0,0),br(t.getImageData(0,0,100,100).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(xr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=function(){return"undefined"!==typeof(new Image).crossOrigin}();return Object.defineProperty(xr,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=function(){return"string"===typeof(new XMLHttpRequest).responseType}();return Object.defineProperty(xr,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(xr,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(xr,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Sr=function(){return function(A,e){this.text=A,this.bounds=e}}(),Mr=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var B=i(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),B}}return o.EMPTY},Tr=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},Or=function(A){if(xr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map((function(A){return A.segment}))}return function(A){var e,t=Kr(A),r=[];while(!(e=t.next()).done)e.value&&r.push(e.value.slice());return r}(A)},Gr=function(A,e){return 0!==e.letterSpacing?Or(A):function(A,e){if(xr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map((function(A){return A.segment}))}return kr(A,e)}(A,e)},Vr=[32,160,4961,65792,65793,4153,4241],kr=function(A,e){var t,r=function(A,e){var t=a(A),r=nA(t,e),n=r[0],B=r[1],s=r[2],o=t.length,i=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};var A="×";while(c0)if(xr.SUPPORT_RANGE_BOUNDS){var n=Tr(r,s,e.length).getClientRects();if(n.length>1){var i=Or(e),a=0;i.forEach((function(e){B.push(new Sr(e,o.fromDOMRectList(A,Tr(r,a+s,e.length).getClientRects()))),a+=e.length}))}else B.push(new Sr(e,o.fromDOMRectList(A,n)))}else{var c=r.splitText(e.length);B.push(new Sr(e,Mr(A,r))),r=c}else xr.SUPPORT_RANGE_BOUNDS||(r=r.splitText(e.length));s+=e.length})),B}(A,this.text,t,e)}}(),Nr=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(Pr,_r);case 2:return A.toUpperCase();default:return A}},Pr=/(^|\s|:|-|\(|\))([a-z])/g,_r=function(A,e,t){return A.length>0?e+t.toUpperCase():A},Jr=function(A){function t(e,t){var r=A.call(this,e,t)||this;return r.src=t.currentSrc||t.src,r.intrinsicWidth=t.naturalWidth,r.intrinsicHeight=t.naturalHeight,r.context.cache.addImage(r.src),r}return e(t,A),t}(ur),Xr=function(A){function t(e,t){var r=A.call(this,e,t)||this;return r.canvas=t,r.intrinsicWidth=t.width,r.intrinsicHeight=t.height,r}return e(t,A),t}(ur),Yr=function(A){function t(e,t){var r=A.call(this,e,t)||this,n=new XMLSerializer,B=i(e,t);return t.setAttribute("width",B.width+"px"),t.setAttribute("height",B.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(t)),r.intrinsicWidth=t.width.baseVal.value,r.intrinsicHeight=t.height.baseVal.value,r.context.cache.addImage(r.svg),r}return e(t,A),t}(ur),Wr=function(A){function t(e,t){var r=A.call(this,e,t)||this;return r.value=t.value,r}return e(t,A),t}(ur),Zr=function(A){function t(e,t){var r=A.call(this,e,t)||this;return r.start=t.start,r.reversed="boolean"===typeof t.reversed&&!0===t.reversed,r}return e(t,A),t}(ur),$r=[{type:15,flags:0,unit:"px",number:3}],qr=[{type:16,flags:0,number:50}],jr="password",zr=function(A){function t(e,t){var r=A.call(this,e,t)||this;switch(r.type=t.type.toLowerCase(),r.checked=t.checked,r.value=function(A){var e=A.type===jr?new Array(A.value.length+1).join("•"):A.value;return 0===e.length?A.placeholder||"":e}(t),"checkbox"!==r.type&&"radio"!==r.type||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=function(A){return A.width>A.height?new o(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)r.textNodes.push(new Rr(e,B,r.styles));else if(cn(B))if(yn(B)&&B.assignedNodes)B.assignedNodes().forEach((function(t){return A(e,t,r,n)}));else{var o=nn(e,B);o.styles.isVisible()&&(sn(B,o,n)?o.flags|=4:on(o.styles)&&(o.flags|=2),-1!==rn.indexOf(B.tagName)&&(o.flags|=8),r.elements.push(o),B.slot,B.shadowRoot?A(e,B.shadowRoot,o,n):Hn(B)||Cn(B)||En(B)||A(e,B,o,n))}}(A,e,t,t),t},sn=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Un(A)&&t.styles.isTransparent()},on=function(A){return A.isPositioned()||A.isFloating()},an=function(A){return A.nodeType===Node.TEXT_NODE},cn=function(A){return A.nodeType===Node.ELEMENT_NODE},un=function(A){return cn(A)&&"undefined"!==typeof A.style&&!gn(A)},gn=function(A){return"object"===B(A.className)},Qn=function(A){return"LI"===A.tagName},wn=function(A){return"OL"===A.tagName},ln=function(A){return"INPUT"===A.tagName},Cn=function(A){return"svg"===A.tagName},Un=function(A){return"BODY"===A.tagName},Fn=function(A){return"CANVAS"===A.tagName},dn=function(A){return"VIDEO"===A.tagName},hn=function(A){return"IMG"===A.tagName},fn=function(A){return"IFRAME"===A.tagName},pn=function(A){return"STYLE"===A.tagName},Hn=function(A){return"TEXTAREA"===A.tagName},En=function(A){return"SELECT"===A.tagName},yn=function(A){return"SLOT"===A.tagName},In=function(A){return A.tagName.indexOf("-")>0},mn=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},A.prototype.pop=function(A){var e=this;A.forEach((function(A){return e.counters[A].pop()}))},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,r=A.counterReset,n=!0;null!==t&&t.forEach((function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(n=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)}));var B=[];return n&&r.forEach((function(A){var t=e.counters[A.counter];B.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)})),B},A}(),vn={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"]},Kn={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},bn={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Ln={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Dn=function(A,e,t,r,n,B){return At?On(A,n,B.length>0):r.integers.reduce((function(e,t,n){while(A>=t)A-=t,e+=r.values[n];return e}),"")+B},xn=function(A,e,t,r){var n="";do{t||A--,n=r(A)+n,A/=e}while(A*e>=e);return n},Sn=function(A,e,t,r,n){var B=t-e+1;return(A<0?"-":"")+(xn(Math.abs(A),B,r,(function(A){return c(Math.floor(A%B)+e)}))+n)},Mn=function(A,e,t){void 0===t&&(t=". ");var r=e.length;return xn(Math.abs(A),r,!1,(function(A){return e[Math.floor(A%r)]}))+t},Tn=function(A,e,t,r,n,B){if(A<-9999||A>9999)return On(A,4,n.length>0);var s=Math.abs(A),o=n;if(0===s)return e[0]+o;for(var i=0;s>0&&i<=4;i++){var a=s%10;0===a&&Zt(B,1)&&""!==o?o=e[a]+o:a>1||1===a&&0===i||1===a&&1===i&&Zt(B,2)||1===a&&1===i&&Zt(B,4)&&A>100||1===a&&i>1&&Zt(B,8)?o=e[a]+(i>0?t[i-1]:"")+o:1===a&&i>0&&(o=t[i-1]+o),s=Math.floor(s/10)}return(A<0?r:"")+o},On=function(A,e,t){var r=t?". ":"",n=t?"、":"",B=t?", ":"",s=t?" ":"";switch(e){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=Sn(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Mn(A,"〇一二三四五六七八九",n);case 6:return Dn(A,1,3999,vn,3,r).toLowerCase();case 7:return Dn(A,1,3999,vn,3,r);case 8:return Sn(A,945,969,!1,r);case 9:return Sn(A,97,122,!1,r);case 10:return Sn(A,65,90,!1,r);case 11:return Sn(A,1632,1641,!0,r);case 12:case 49:return Dn(A,1,9999,Kn,3,r);case 35:return Dn(A,1,9999,Kn,3,r).toLowerCase();case 13:return Sn(A,2534,2543,!0,r);case 14:case 30:return Sn(A,6112,6121,!0,r);case 15:return Mn(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Mn(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Tn(A,"零一二三四五六七八九","十百千萬","負",n,14);case 47:return Tn(A,"零壹貳參肆伍陸柒捌玖","拾佰仟萬","負",n,15);case 42:return Tn(A,"零一二三四五六七八九","十百千萬","负",n,14);case 41:return Tn(A,"零壹贰叁肆伍陆柒捌玖","拾佰仟萬","负",n,15);case 26:return Tn(A,"〇一二三四五六七八九","十百千万","マイナス",n,0);case 25:return Tn(A,"零壱弐参四伍六七八九","拾百千万","マイナス",n,7);case 31:return Tn(A,"영일이삼사오육칠팔구","십백천만","마이너스",B,7);case 33:return Tn(A,"零一二三四五六七八九","十百千萬","마이너스",B,0);case 32:return Tn(A,"零壹貳參四五六七八九","拾百千","마이너스",B,7);case 18:return Sn(A,2406,2415,!0,r);case 20:return Dn(A,1,19999,Ln,3,r);case 21:return Sn(A,2790,2799,!0,r);case 22:return Sn(A,2662,2671,!0,r);case 22:return Dn(A,1,10999,bn,3,r);case 23:return Mn(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Mn(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Sn(A,3302,3311,!0,r);case 28:return Mn(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Mn(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return Sn(A,3792,3801,!0,r);case 37:return Sn(A,6160,6169,!0,r);case 38:return Sn(A,4160,4169,!0,r);case 39:return Sn(A,2918,2927,!0,r);case 40:return Sn(A,1776,1785,!0,r);case 43:return Sn(A,3046,3055,!0,r);case 44:return Sn(A,3174,3183,!0,r);case 45:return Sn(A,3664,3673,!0,r);case 46:return Sn(A,3872,3881,!0,r);case 3:default:return Sn(A,48,57,!0,r)}},Gn=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new mn,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,e){var t=this,B=kn(A,e);if(!B.contentWindow)return Promise.reject("Unable to find iframe window");var s=A.defaultView.pageXOffset,o=A.defaultView.pageYOffset,i=B.contentWindow,a=i.document,c=Pn(B).then((function(){return r(t,void 0,void 0,(function(){var A,t;return n(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(Wn),i&&(i.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||i.scrollY===e.top&&i.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-e.left,i.scrollY-e.top,0,0))),A=this.options.onclone,t=this.clonedReferenceElement,"undefined"===typeof t?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Nn(a)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(a,t)})).then((function(){return B}))]:[2,B]}}))}))}));return a.open(),a.write(Xn(document.doctype)+""),Yn(this.referenceElement.ownerDocument,s,o),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),c},A.prototype.createElementClone=function(A){if(cr(A,2),Fn(A))return this.createCanvasClone(A);if(dn(A))return this.createVideoClone(A);if(pn(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return hn(e)&&(hn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),In(e)?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return Jn(A.style,e),e},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce((function(A,e){return e&&"string"===typeof e.cssText?A+e.cssText:A}),""),r=A.cloneNode(!1);return r.textContent=t,r}}catch(n){if(this.context.logger.error("Unable to access cssRules property",n),"SecurityError"!==n.name)throw n}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(i){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var r=A.cloneNode(!1);try{r.width=A.width,r.height=A.height;var n=A.getContext("2d"),B=r.getContext("2d");if(B)if(!this.options.allowTaint&&n)B.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var s=null!==(e=A.getContext("webgl2"))&&void 0!==e?e:A.getContext("webgl");if(s){var o=s.getContextAttributes();!1===(null===o||void 0===o?void 0:o.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}B.drawImage(A,0,0)}return r}catch(i){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return r},A.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch(n){this.context.logger.info("Unable to clone video as it is tainted",A)}var r=A.ownerDocument.createElement("canvas");return r.width=A.offsetWidth,r.height=A.offsetHeight,r},A.prototype.appendChildNode=function(A,e,t){cn(e)&&(function(A){return"SCRIPT"===A.tagName}(e)||e.hasAttribute("data-html2canvas-ignore")||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&cn(e)&&pn(e)||A.appendChild(this.cloneNode(e,t))},A.prototype.cloneChildNodes=function(A,e,t){for(var r=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(cn(n)&&yn(n)&&"function"===typeof n.assignedNodes){var B=n.assignedNodes();B.length&&B.forEach((function(A){return r.appendChildNode(e,A,t)}))}else this.appendChildNode(e,n,t)},A.prototype.cloneNode=function(A,e){if(an(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&cn(A)&&(un(A)||gn(A))){var r=this.createElementClone(A);r.style.transitionProperty="none";var n=t.getComputedStyle(A),B=t.getComputedStyle(A,":before"),s=t.getComputedStyle(A,":after");this.referenceElement===A&&un(r)&&(this.clonedReferenceElement=r),Un(r)&&qn(r);var o=this.counters.parse(new ir(this.context,n)),i=this.resolvePseudoContent(A,r,B,hr.BEFORE);In(A)&&(e=!0),dn(A)||this.cloneChildNodes(A,r,e),i&&r.insertBefore(i,r.firstChild);var a=this.resolvePseudoContent(A,r,s,hr.AFTER);return a&&r.appendChild(a),this.counters.pop(o),(n&&(this.options.copyStyles||gn(A))&&!fn(A)||e)&&Jn(n,r),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([r,A.scrollLeft,A.scrollTop]),(Hn(A)||En(A))&&(Hn(r)||En(r))&&(r.value=A.value),r}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,r){var n=this;if(t){var B=t.content,s=e.ownerDocument;if(s&&B&&"none"!==B&&"-moz-alt-content"!==B&&"none"!==t.display){this.counters.parse(new ir(this.context,t));var o=new or(this.context,t),i=s.createElement("html2canvaspseudoelement");Jn(t,i),o.content.forEach((function(e){if(0===e.type)i.appendChild(s.createTextNode(e.value));else if(22===e.type){var t=s.createElement("img");t.src=e.value,t.style.opacity="1",i.appendChild(t)}else if(18===e.type){if("attr"===e.name){var r=e.values.filter(RA);r.length&&i.appendChild(s.createTextNode(A.getAttribute(r[0].value)||""))}else if("counter"===e.name){var B=e.values.filter(JA),a=B[0],c=B[1];if(a&&RA(a)){var u=n.counters.getCounterValue(a.value),g=c&&RA(c)?lt.parse(n.context,c.value):3;i.appendChild(s.createTextNode(On(u,g,!1)))}}else if("counters"===e.name){var Q=e.values.filter(JA),w=(a=Q[0],Q[1]);c=Q[2];if(a&&RA(a)){var l=n.counters.getCounterValues(a.value),C=c&&RA(c)?lt.parse(n.context,c.value):3,U=w&&0===w.type?w.value:"",F=l.map((function(A){return On(A,C,!1)})).join(U);i.appendChild(s.createTextNode(F))}}}else if(20===e.type)switch(e.value){case"open-quote":i.appendChild(s.createTextNode(er(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":i.appendChild(s.createTextNode(er(o.quotes,--n.quoteDepth,!1)));break;default:i.appendChild(s.createTextNode(e.value))}})),i.className=Zn+" "+$n;var a=r===hr.BEFORE?" "+Zn:" "+$n;return gn(e)?e.className.baseValue+=a:e.className+=a,i}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();(function(A){A[A["BEFORE"]=0]="BEFORE",A[A["AFTER"]=1]="AFTER"})(hr||(hr={}));var Vn,kn=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute("data-html2canvas-ignore","true"),A.body.appendChild(t),t},Rn=function(A){return new Promise((function(e){A.complete?e():A.src?(A.onload=e,A.onerror=e):e()}))},Nn=function(A){return Promise.all([].slice.call(A.images,0).map(Rn))},Pn=function(A){return new Promise((function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var t=setInterval((function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(t),e(A))}),50)}}))},_n=["all","d","content"],Jn=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);-1===_n.indexOf(r)&&e.style.setProperty(r,A.getPropertyValue(r))}return e},Xn=function(A){var e="";return A&&(e+=""),e},Yn=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},Wn=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},Zn="___html2canvas___pseudoelement_before",$n="___html2canvas___pseudoelement_after",qn=function(A){jn(A,"."+Zn+':before{\n content: "" !important;\n display: none !important;\n}\n .'+$n+':after{\n content: "" !important;\n display: none !important;\n}')},jn=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},zn=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),AB=function(){function A(A,e){this.context=A,this._options=e,this._cache={}}return A.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)?e:oB(A)||nB(A)?((this._cache[A]=this.loadImage(A)).catch((function(){})),e):e},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return r(this,void 0,void 0,(function(){var e,t,r,B,s=this;return n(this,(function(n){switch(n.label){case 0:return e=zn.isSameOrigin(A),t=!BB(A)&&!0===this._options.useCORS&&xr.SUPPORT_CORS_IMAGES&&!e,r=!BB(A)&&!e&&!oB(A)&&"string"===typeof this._options.proxy&&xr.SUPPORT_CORS_XHR&&!t,e||!1!==this._options.allowTaint||BB(A)||oB(A)||r||t?(B=A,r?[4,this.proxy(B)]:[3,2]):[2];case 1:B=n.sent(),n.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise((function(A,e){var r=new Image;r.onload=function(){return A(r)},r.onerror=e,(sB(B)||t)&&(r.crossOrigin="anonymous"),r.src=B,!0===r.complete&&setTimeout((function(){return A(r)}),500),s._options.imageTimeout>0&&setTimeout((function(){return e("Timed out ("+s._options.imageTimeout+"ms) loading image")}),s._options.imageTimeout)}))];case 3:return[2,n.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var r=A.substring(0,256);return new Promise((function(n,B){var s=xr.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(200===o.status)if("text"===s)n(o.response);else{var A=new FileReader;A.addEventListener("load",(function(){return n(A.result)}),!1),A.addEventListener("error",(function(A){return B(A)}),!1),A.readAsDataURL(o.response)}else B("Failed to proxy resource "+r+" with status code "+o.status)},o.onerror=B;var i=t.indexOf("?")>-1?"&":"?";if(o.open("GET",""+t+i+"url="+encodeURIComponent(A)+"&responseType="+s),"text"!==s&&o instanceof XMLHttpRequest&&(o.responseType=s),e._options.imageTimeout){var a=e._options.imageTimeout;o.timeout=a,o.ontimeout=function(){return B("Timed out ("+a+"ms) proxying "+r)}}o.send()}))},A}(),eB=/^data:image\/svg\+xml/i,tB=/^data:image\/.*;base64,/i,rB=/^data:image\/.*/i,nB=function(A){return xr.SUPPORT_SVG_DRAWING||!iB(A)},BB=function(A){return rB.test(A)},sB=function(A){return tB.test(A)},oB=function(A){return"blob"===A.substr(0,4)},iB=function(A){return"svg"===A.substr(-3).toLowerCase()||eB.test(A)},aB=function(){function A(A,e){this.type=0,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),cB=function(A,e,t){return new aB(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},uB=function(){function A(A,e,t,r){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=r}return A.prototype.subdivide=function(e,t){var r=cB(this.start,this.startControl,e),n=cB(this.startControl,this.endControl,e),B=cB(this.endControl,this.end,e),s=cB(r,n,e),o=cB(n,B,e),i=cB(s,o,e);return t?new A(this.start,r,s,i):new A(i,o,B,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),gB=function(A){return 1===A.type},QB=function(){return function(A){var e=A.styles,t=A.bounds,r=Ae(e.borderTopLeftRadius,t.width,t.height),n=r[0],B=r[1],s=Ae(e.borderTopRightRadius,t.width,t.height),o=s[0],i=s[1],a=Ae(e.borderBottomRightRadius,t.width,t.height),c=a[0],u=a[1],g=Ae(e.borderBottomLeftRadius,t.width,t.height),Q=g[0],w=g[1],l=[];l.push((n+o)/t.width),l.push((Q+c)/t.width),l.push((B+w)/t.height),l.push((i+u)/t.height);var C=Math.max.apply(Math,l);C>1&&(n/=C,B/=C,o/=C,i/=C,c/=C,u/=C,Q/=C,w/=C);var U=t.width-o,F=t.height-u,d=t.width-c,h=t.height-w,f=e.borderTopWidth,p=e.borderRightWidth,H=e.borderBottomWidth,E=e.borderLeftWidth,y=ee(e.paddingTop,A.bounds.width),I=ee(e.paddingRight,A.bounds.width),m=ee(e.paddingBottom,A.bounds.width),v=ee(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||B>0?wB(t.left+E/3,t.top+f/3,n-E/3,B-f/3,Vn.TOP_LEFT):new aB(t.left+E/3,t.top+f/3),this.topRightBorderDoubleOuterBox=n>0||B>0?wB(t.left+U,t.top+f/3,o-p/3,i-f/3,Vn.TOP_RIGHT):new aB(t.left+t.width-p/3,t.top+f/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?wB(t.left+d,t.top+F,c-p/3,u-H/3,Vn.BOTTOM_RIGHT):new aB(t.left+t.width-p/3,t.top+t.height-H/3),this.bottomLeftBorderDoubleOuterBox=Q>0||w>0?wB(t.left+E/3,t.top+h,Q-E/3,w-H/3,Vn.BOTTOM_LEFT):new aB(t.left+E/3,t.top+t.height-H/3),this.topLeftBorderDoubleInnerBox=n>0||B>0?wB(t.left+2*E/3,t.top+2*f/3,n-2*E/3,B-2*f/3,Vn.TOP_LEFT):new aB(t.left+2*E/3,t.top+2*f/3),this.topRightBorderDoubleInnerBox=n>0||B>0?wB(t.left+U,t.top+2*f/3,o-2*p/3,i-2*f/3,Vn.TOP_RIGHT):new aB(t.left+t.width-2*p/3,t.top+2*f/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?wB(t.left+d,t.top+F,c-2*p/3,u-2*H/3,Vn.BOTTOM_RIGHT):new aB(t.left+t.width-2*p/3,t.top+t.height-2*H/3),this.bottomLeftBorderDoubleInnerBox=Q>0||w>0?wB(t.left+2*E/3,t.top+h,Q-2*E/3,w-2*H/3,Vn.BOTTOM_LEFT):new aB(t.left+2*E/3,t.top+t.height-2*H/3),this.topLeftBorderStroke=n>0||B>0?wB(t.left+E/2,t.top+f/2,n-E/2,B-f/2,Vn.TOP_LEFT):new aB(t.left+E/2,t.top+f/2),this.topRightBorderStroke=n>0||B>0?wB(t.left+U,t.top+f/2,o-p/2,i-f/2,Vn.TOP_RIGHT):new aB(t.left+t.width-p/2,t.top+f/2),this.bottomRightBorderStroke=c>0||u>0?wB(t.left+d,t.top+F,c-p/2,u-H/2,Vn.BOTTOM_RIGHT):new aB(t.left+t.width-p/2,t.top+t.height-H/2),this.bottomLeftBorderStroke=Q>0||w>0?wB(t.left+E/2,t.top+h,Q-E/2,w-H/2,Vn.BOTTOM_LEFT):new aB(t.left+E/2,t.top+t.height-H/2),this.topLeftBorderBox=n>0||B>0?wB(t.left,t.top,n,B,Vn.TOP_LEFT):new aB(t.left,t.top),this.topRightBorderBox=o>0||i>0?wB(t.left+U,t.top,o,i,Vn.TOP_RIGHT):new aB(t.left+t.width,t.top),this.bottomRightBorderBox=c>0||u>0?wB(t.left+d,t.top+F,c,u,Vn.BOTTOM_RIGHT):new aB(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=Q>0||w>0?wB(t.left,t.top+h,Q,w,Vn.BOTTOM_LEFT):new aB(t.left,t.top+t.height),this.topLeftPaddingBox=n>0||B>0?wB(t.left+E,t.top+f,Math.max(0,n-E),Math.max(0,B-f),Vn.TOP_LEFT):new aB(t.left+E,t.top+f),this.topRightPaddingBox=o>0||i>0?wB(t.left+Math.min(U,t.width-p),t.top+f,U>t.width+p?0:Math.max(0,o-p),Math.max(0,i-f),Vn.TOP_RIGHT):new aB(t.left+t.width-p,t.top+f),this.bottomRightPaddingBox=c>0||u>0?wB(t.left+Math.min(d,t.width-E),t.top+Math.min(F,t.height-H),Math.max(0,c-p),Math.max(0,u-H),Vn.BOTTOM_RIGHT):new aB(t.left+t.width-p,t.top+t.height-H),this.bottomLeftPaddingBox=Q>0||w>0?wB(t.left+E,t.top+Math.min(h,t.height-H),Math.max(0,Q-E),Math.max(0,w-H),Vn.BOTTOM_LEFT):new aB(t.left+E,t.top+t.height-H),this.topLeftContentBox=n>0||B>0?wB(t.left+E+v,t.top+f+y,Math.max(0,n-(E+v)),Math.max(0,B-(f+y)),Vn.TOP_LEFT):new aB(t.left+E+v,t.top+f+y),this.topRightContentBox=o>0||i>0?wB(t.left+Math.min(U,t.width+E+v),t.top+f+y,U>t.width+E+v?0:o-E+v,i-(f+y),Vn.TOP_RIGHT):new aB(t.left+t.width-(p+I),t.top+f+y),this.bottomRightContentBox=c>0||u>0?wB(t.left+Math.min(d,t.width-(E+v)),t.top+Math.min(F,t.height+f+y),Math.max(0,c-(p+I)),u-(H+m),Vn.BOTTOM_RIGHT):new aB(t.left+t.width-(p+I),t.top+t.height-(H+m)),this.bottomLeftContentBox=Q>0||w>0?wB(t.left+E+v,t.top+h,Math.max(0,Q-(E+v)),w-(H+m),Vn.BOTTOM_LEFT):new aB(t.left+E+v,t.top+t.height-(H+m))}}();(function(A){A[A["TOP_LEFT"]=0]="TOP_LEFT",A[A["TOP_RIGHT"]=1]="TOP_RIGHT",A[A["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",A[A["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(Vn||(Vn={}));var wB=function(A,e,t,r,n){var B=(Math.sqrt(2)-1)/3*4,s=t*B,o=r*B,i=A+t,a=e+r;switch(n){case Vn.TOP_LEFT:return new uB(new aB(A,a),new aB(A,a-o),new aB(i-s,e),new aB(i,e));case Vn.TOP_RIGHT:return new uB(new aB(A,e),new aB(A+s,e),new aB(i,a-o),new aB(i,a));case Vn.BOTTOM_RIGHT:return new uB(new aB(i,e),new aB(i,e+o),new aB(A+s,a),new aB(A,a));case Vn.BOTTOM_LEFT:default:return new uB(new aB(i,a),new aB(i-s,a),new aB(A,e+o),new aB(A,e))}},lB=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},CB=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},UB=function(){return function(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6}}(),FB=function(){return function(A,e){this.path=A,this.target=e,this.type=1}}(),dB=function(){return function(A){this.opacity=A,this.type=2,this.target=6}}(),hB=function(A){return 1===A.type},fB=function(A,e){return A.length===e.length&&A.some((function(A,t){return A===e[t]}))},pB=function(){return function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),HB=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new QB(this.container),this.container.styles.opacity<1&&this.effects.push(new dB(this.container.styles.opacity)),null!==this.container.styles.transform){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new UB(t,r,n))}if(0!==this.container.styles.overflowX){var B=lB(this.curves),s=CB(this.curves);fB(B,s)?this.effects.push(new FB(B,6)):(this.effects.push(new FB(B,2)),this.effects.push(new FB(s,4)))}}return A.prototype.getEffects=function(A){var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,r=this.effects.slice(0);while(t){var n=t.effects.filter((function(A){return!hB(A)}));if(e||0!==t.container.styles.position||!t.parent){if(r.unshift.apply(r,n),e=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var B=lB(t.curves),s=CB(t.curves);fB(B,s)||r.unshift(new FB(s,6))}}else r.unshift.apply(r,n);t=t.parent}return r.filter((function(e){return Zt(e.target,A)}))},A}(),EB=function(A,e){for(var t=A instanceof Zr?A.start:1,r=A instanceof Zr&&A.reversed,n=0;nA.element.container.styles.zIndex.order?(Q=e,!1):Q>0})),c.negativeZIndex.splice(Q,0,u)}else if(g>0){var w=0;c.positiveZIndex.some((function(A,e){return g>=A.element.container.styles.zIndex.order?(w=e+1,!1):w>0})),c.positiveZIndex.splice(w,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else B.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);A(i,u,s?u:r,a)}else B.styles.isInlineLevel()?t.inlineLevel.push(i):t.nonInlineLevel.push(i),A(i,t,r,a);Zt(B.flags,8)&&EB(B,a)}))}(e,t,t,r),EB(e.container,r),t},IB=function(A,e){switch(e){case 0:return vB(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return vB(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return vB(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return vB(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},mB=function(A,e){var t=[];return gB(A)?t.push(A.subdivide(.5,!1)):t.push(A),gB(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},vB=function(A,e,t,r){var n=[];return gB(A)?n.push(A.subdivide(.5,!1)):n.push(A),gB(t)?n.push(t.subdivide(.5,!0)):n.push(t),gB(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),gB(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},KB=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},bB=function(A){var e=A.styles,t=A.bounds,r=ee(e.paddingLeft,t.width),n=ee(e.paddingRight,t.width),B=ee(e.paddingTop,t.width),s=ee(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,B+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+B+s))},LB=function(A,e,t){var r=function(A,e){return 0===A?e.bounds:2===A?bB(e):KB(e)}(MB(A.styles.backgroundOrigin,e),A),n=function(A,e){return 0===A?e.bounds:2===A?bB(e):KB(e)}(MB(A.styles.backgroundClip,e),A),B=SB(MB(A.styles.backgroundSize,e),t,r),s=B[0],o=B[1],i=Ae(MB(A.styles.backgroundPosition,e),r.width-s,r.height-o),a=TB(MB(A.styles.backgroundRepeat,e),i,B,r,n),c=Math.round(r.left+i[0]),u=Math.round(r.top+i[1]);return[a,c,u,s,o]},DB=function(A){return RA(A)&&A.value===me.AUTO},xB=function(A){return"number"===typeof A},SB=function(A,e,t){var r=e[0],n=e[1],B=e[2],s=A[0],o=A[1];if(!s)return[0,0];if(ZA(s)&&o&&ZA(o))return[ee(s,t.width),ee(o,t.height)];var i=xB(B);if(RA(s)&&(s.value===me.CONTAIN||s.value===me.COVER)){if(xB(B)){var a=t.width/t.height;return a0&&A.intrinsicHeight>0){var r=bB(A),n=CB(e);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(A){return r(this,void 0,void 0,(function(){var e,r,B,s,i,a,c,u,g,Q,w,l,C,U,F,d,h,f,p;return n(this,(function(n){switch(n.label){case 0:this.applyEffects(A.getEffects(4)),e=A.container,r=A.curves,B=e.styles,s=0,i=e.textNodes,n.label=1;case 1:return s0&&b>0&&(L=r.ctx.createRadialGradient(f+I,p+m,0,f+I,p+m,K),he(t.stops,2*K).forEach((function(A){return L.addColorStop(A.stop,ie(A.color))})),r.path(h),r.ctx.fillStyle=L,K!==b?(D=A.bounds.left+.5*A.bounds.width,x=A.bounds.top+.5*A.bounds.height,S=b/K,M=1/S,r.ctx.save(),r.ctx.translate(D,x),r.ctx.transform(1,0,0,S,0,0),r.ctx.translate(-D,-x),r.ctx.fillRect(f,M*(p-x)+x,H,E*M),r.ctx.restore()):r.ctx.fill())):(i=LB(A,e,[null,null,null]),h=i[0],I=i[1],m=i[2],H=i[3],E=i[4],a=fe(t.angle,H,E),c=a[0],u=a[1],g=a[2],Q=a[3],w=a[4],l=document.createElement("canvas"),l.width=H,l.height=E,C=l.getContext("2d"),U=C.createLinearGradient(u,Q,g,w),he(t.stops,c).forEach((function(A){return U.addColorStop(A.stop,ie(A.color))})),C.fillStyle=U,C.fillRect(0,0,H,E),H>0&&E>0&&(F=r.ctx.createPattern(l,"repeat"),r.renderRepeat(h,F,I,m))),n.label=6;case 6:return e--,[2]}}))},r=this,B=0,s=A.styles.backgroundImage.slice(0).reverse(),i.label=1;case 1:return B0?2!==a.style?[3,5]:[4,this.renderDashedDottedBorder(a.color,a.width,s,A.curves,2)]:[3,11]):[3,13];case 4:return n.sent(),[3,11];case 5:return 3!==a.style?[3,7]:[4,this.renderDashedDottedBorder(a.color,a.width,s,A.curves,3)];case 6:return n.sent(),[3,11];case 7:return 4!==a.style?[3,9]:[4,this.renderDoubleBorder(a.color,a.width,s,A.curves)];case 8:return n.sent(),[3,11];case 9:return[4,this.renderSolidBorder(a.color,s,A.curves)];case 10:n.sent(),n.label=11;case 11:s++,n.label=12;case 12:return o++,[3,3];case 13:return[2]}}))}))},t.prototype.renderDashedDottedBorder=function(A,e,t,B,s){return r(this,void 0,void 0,(function(){var r,o,i,a,c,u,g,Q,w,l,C,U,F,d,h,f;return n(this,(function(n){return this.ctx.save(),r=function(A,e){switch(e){case 0:return mB(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return mB(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return mB(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return mB(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}}(B,t),o=IB(B,t),2===s&&(this.path(o),this.ctx.clip()),gB(o[0])?(i=o[0].start.x,a=o[0].start.y):(i=o[0].x,a=o[0].y),gB(o[1])?(c=o[1].end.x,u=o[1].end.y):(c=o[1].x,u=o[1].y),g=0===t||2===t?Math.abs(i-c):Math.abs(a-u),this.ctx.beginPath(),3===s?this.formatPath(r):this.formatPath(o.slice(0,2)),Q=e<3?3*e:2*e,w=e<3?2*e:e,3===s&&(Q=e,w=e),l=!0,g<=2*Q?l=!1:g<=2*Q+w?(C=g/(2*Q+w),Q*=C,w*=C):(U=Math.floor((g+w)/(Q+w)),F=(g-U*Q)/(U-1),d=(g-(U+1)*Q)/U,w=d<=0||Math.abs(w-F)n){if(e=+arguments[n++],B(e,1114111)!==e)throw new s(e+" is not a valid code point");t[n]=e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320)}return a(t,"")}})},fb2c:function(A,e,t){"use strict";var r=t("74e8");r("Uint32",(function(A){return function(e,t,r){return A(this,e,t,r)}}))},fd6b:function(A,e,t){"use strict";t.d(e,"b",(function(){return n})),t.d(e,"c",(function(){return B})),t.d(e,"a",(function(){return r}));var r={uPopup:t("c081").default,uLine:t("d97c").default,uLoadingIcon:t("a4d6").default},n=function(){var A=this,e=A.$createElement,t=A._self._c||e;return t("u-popup",{attrs:{mode:"center",zoom:A.zoom,show:A.show,customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:"-"+A.$u.addUnit(A.negativeTop)},closeOnClickOverlay:A.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:400},on:{click:function(e){arguments[0]=e=A.$handleEvent(e),A.clickHandler.apply(void 0,arguments)}}},[t("v-uni-view",{staticClass:"u-modal",style:{width:A.$u.addUnit(A.width)}},[A.title?t("v-uni-text",{staticClass:"u-modal__title"},[A._v(A._s(A.title))]):A._e(),t("v-uni-view",{staticClass:"u-modal__content",style:{paddingTop:(A.title?12:25)+"px"}},[A._t("default",[t("v-uni-text",{staticClass:"u-modal__content__text"},[A._v(A._s(A.content))])])],2),A.$slots.confirmButton?t("v-uni-view",{staticClass:"u-modal__button-group--confirm-button"},[A._t("confirmButton")],2):[t("u-line"),t("v-uni-view",{staticClass:"u-modal__button-group",style:{flexDirection:A.buttonReverse?"row-reverse":"row"}},[A.showCancelButton?t("v-uni-view",{staticClass:"u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel",class:[A.showCancelButton&&!A.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"],attrs:{"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover"},on:{click:function(e){arguments[0]=e=A.$handleEvent(e),A.cancelHandler.apply(void 0,arguments)}}},[t("v-uni-text",{staticClass:"u-modal__button-group__wrapper__text",style:{color:A.cancelColor}},[A._v(A._s(A.cancelText))])],1):A._e(),A.showConfirmButton&&A.showCancelButton?t("u-line",{attrs:{direction:"column"}}):A._e(),A.showConfirmButton?t("v-uni-view",{staticClass:"u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm",class:[!A.showCancelButton&&A.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"],attrs:{"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover"},on:{click:function(e){arguments[0]=e=A.$handleEvent(e),A.confirmHandler.apply(void 0,arguments)}}},[A.loading?t("u-loading-icon"):t("v-uni-text",{staticClass:"u-modal__button-group__wrapper__text",style:{color:A.confirmColor}},[A._v(A._s(A.confirmText))])],1):A._e()],1)]],2)],1)},B=[]}}]);