!function(){function A(A){return function(A){if(Array.isArray(A))return a(A)}(A)||function(A){if("undefined"!=typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(A)||c(A)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(A);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,r)}return t}function t(A){for(var t=1;t=0;--n){var B=this.tryEntries[n],s=B.completion;if("root"===B.tryLoc)return r("end");if(B.tryLoc<=this.prev){var o=t.call(B,"catchLoc"),i=t.call(B,"finallyLoc");if(o&&i){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&t.call(n,"finallyLoc")&&this.prev=0;--e){var t=this.tryEntries[e];if(t.finallyLoc===A)return this.complete(t.completion,t.afterLoc),y(t),u}},catch:function(A){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc===A){var r=t.completion;if("throw"===r.type){var n=r.arg;y(t)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(A,e,t){return this.delegate={iterator:v(A),resultName:e,nextLoc:t},"next"===this.method&&(this.arg=void 0),u}},A}function B(A,e,t,r,n,B,s){try{var o=A[B](s),i=o.value}catch(c){return void t(c)}o.done?e(i):Promise.resolve(i).then(r,n)}function s(A){return function(){var e=this,t=arguments;return new Promise((function(r,n){var s=A.apply(e,t);function o(A){B(s,r,n,o,i,"next",A)}function i(A){B(s,r,n,o,i,"throw",A)}o(void 0)}))}}function o(A){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},o(A)}function i(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:"undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var r,n,B,s,o=[],i=!0,c=!1;try{if(B=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;i=!1}else for(;!(i=(r=B.call(t)).done)&&(o.push(r.value),o.length!==e);i=!0);}catch(a){c=!0,n=a}finally{try{if(!i&&null!=t.return&&(s=t.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(A,e)||c(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(A,e){if(A){if("string"==typeof A)return a(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);return"Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t?Array.from(A):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(A,e):void 0}}function a(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,r=new Array(e);timg{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._back_1uhmc_1:active{opacity:.8}._container_1uhmc_16{background:url("+new URL("icon_bg-f94bd665.png",r.meta.url).href+") no-repeat center center / cover;padding:1.25333rem .32rem .53333rem 1.44rem;height:100vh;overflow:hidden}._content_1uhmc_22{display:flex;height:calc(100vh - 1.78667rem);overflow:hidden}._opacityBg_1uhmc_27{background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:.05333rem solid #fff}._leftContent_1uhmc_32{position:relative;display:flex;width:45%}._leftBg_1uhmc_37{position:absolute;left:0;top:0;width:2.53333rem;height:100%;background:linear-gradient(48deg,#43B2FF 0%,#159AF7 100%);border:2Px solid #fff;border-radius:.48rem .24rem 0 .48rem;z-index:1}._leftBg2_1uhmc_48{position:absolute;left:0;top:0;width:calc(100% - .32rem);height:100%;background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:2Px solid #fff}._types_1uhmc_58{position:relative;top:2Px;width:2.53333rem;height:calc(100% - 4Px);padding:.10667rem 0;overflow-x:hidden;overflow-y:auto;border-radius:.48rem;z-index:1;flex-shrink:0}._types_1uhmc_58::-webkit-scrollbar{width:0;display:none}._types_1uhmc_58 ._type_1uhmc_58{position:relative;padding:.10667rem .32rem}._types_1uhmc_58 ._type_1uhmc_58._typeActive_1uhmc_78 ._typeImg_1uhmc_78{padding:.16rem;border-color:#99ffd0;animation:_scaleBtn_1uhmc_1 1s ease-in-out}._types_1uhmc_58 ._typeImg_1uhmc_78{border:.05333rem solid transparent;border-radius:.16rem;height:2.53333rem;transition:.3s}._types_1uhmc_58 ._typeImg_1uhmc_78:active{transform:scale(.8)}._types_1uhmc_58 ._typeIcon_1uhmc_92{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:0;transition:opacity .3s}._types_1uhmc_58 ._typeIcon_1uhmc_92[loaded=true]{opacity:1}._center_1uhmc_103{flex:1;position:relative;padding-right:.32rem;height:100%;overflow:hidden}._center_1uhmc_103 .van-search{padding:.16rem .24rem;width:100%;z-index:1}._center_1uhmc_103 .van-field__control::-webkit-input-placeholder{font-size:12Px}._musicContent_1uhmc_118{width:100%;height:calc(100% - var(--van-search-input-height) - .32rem - 2Px);padding:.16rem .32rem .32rem;overflow-x:hidden;overflow-y:auto}._musicContent_1uhmc_118::-webkit-scrollbar{width:0;display:none}._searchNotice_1uhmc_129{position:fixed;padding:0;pointer-events:none}._searchNotice_1uhmc_129 .van-notice-bar{padding:0;height:100%}._searchNoticeShow_1uhmc_138 .van-field__control{opacity:0}._musicItem_1uhmc_141{position:relative;display:flex;align-items:center;border:.08rem solid #fff;border-radius:.24rem;margin-bottom:.16rem;background-color:#fff;padding:.10667rem;transition:all .3s;overflow:hidden;--van-notice-bar-text-color: #333}._musicItem_1uhmc_141._disableNotic_1uhmc_154 .van-notice-bar__content{transition-duration:0s!important;transform:none!important}._musicItem_1uhmc_141._musicActive_1uhmc_158{border-width:.08rem;background:linear-gradient(180deg,#FFFFFF 0%,#BFE1FF 100%);transform:scale(1.05);box-shadow:0 .05333rem .10667rem #499fe4;--van-notice-bar-text-color: #499fe4}._musicItem_1uhmc_141._musicActive_1uhmc_158 .van-notice-bar__content{transition-property:transform}._musicItem_1uhmc_141 ._musicAvtor_1uhmc_168{display:block;width:7.2vw;height:7.2vw;border-radius:10Px;-o-object-fit:cover;object-fit:cover;flex-shrink:0;margin-right:1vw;opacity:0;transition:opacity .3s}._musicItem_1uhmc_141 ._musicAvtor_1uhmc_168[loaded=true]{opacity:1}._musicItem_1uhmc_141 ._musicInfo_1uhmc_182{flex:1}._musicItem_1uhmc_141 ._musicInfo_1uhmc_182 ._musicName_1uhmc_185{font-weight:600;color:#333;margin-bottom:.08rem}._musicItem_1uhmc_141 ._musicInfo_1uhmc_182 ._noticeBar_1uhmc_190{padding:0;height:.74667rem}._musicItem_1uhmc_141 ._musicInfo_1uhmc_182 ._musicDes_1uhmc_194{width:100%;display:flex;align-items:center}._musicItem_1uhmc_141 ._musicInfo_1uhmc_182 ._musicFavitor_1uhmc_199{border:.02667rem solid #FFC5C5;color:#ff6a6a;padding:.02667rem .08rem .02667rem .37333rem;border-radius:.10667rem;background-color:#fff8f7;background-image:url("+new URL("icon_hot-954f4a46.svg",r.meta.url).href+");background-repeat:no-repeat;background-size:auto 70%;background-position:.05333rem center;margin-right:.10667rem}._musicItem_1uhmc_141 ._musicInfo_1uhmc_182 ._musicAuthor_1uhmc_211{flex:1;font-size:.32rem;font-weight:400;color:#777;line-height:.32rem;max-width:9vw}._musicItem_1uhmc_141 ._musicIcon_1uhmc_219{flex-shrink:0;margin-right:.10667rem}._right_1uhmc_223{position:relative;background:#fff;overflow:hidden;border:none;width:55%}._right-musicName_1uhmc_230{font-size:.4rem;font-weight:500;color:#131415;line-height:.53333rem;text-align:center;padding:.32rem 0}._staff_1uhmc_238{width:100%}._rightBtns_1uhmc_241{position:absolute;bottom:0;left:0;right:0;padding:0 .21333rem .48rem;display:flex;align-items:flex-end;height:2.08rem;background:#fff;background-image:linear-gradient(180deg,rgba(255,255,255,0) 0%,#C1EEFF 100%);border-radius:0 0 .48rem .48rem}._rightBtns_1uhmc_241>img{margin:0 .10667rem;height:.8rem;transition:.3s}._rightBtns_1uhmc_241>img:active{transform:scale(.6)}._rightBtns_1uhmc_241>img:last-child{margin-left:auto;animation:_scaleBtn_1uhmc_1 1s ease-in-out infinite}@keyframes _scaleBtn_1uhmc_1{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes _displayIcon_1uhmc_1{to{opacity:1}}._loadingWrap_1uhmc_282{display:flex;justify-content:center;min-height:80Px}._empty_1uhmc_287 .van-empty__image{width:100%;height:initial}._empty_1uhmc_287 .van-empty__description{color:#fff;padding:0}\n",document.head.appendChild(R);var P=i(B("notice-bar"),2),N=P[0],_=P[1],J={text:String,mode:String,color:String,delay:c(1),speed:c(60),leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null}},X=a({name:N,props:J,emits:["close","replay"],setup:function(A,e){var t,r=e.emit,n=e.slots,B=0,s=0,o=Q(),i=Q(),c=g({show:!0,offset:0,duration:0}),a=function(e){"closeable"===A.mode&&(c.show=!1,r("close",e))},y=function(){if(n["right-icon"])return n["right-icon"]();var e="closeable"===A.mode?"cross":"link"===A.mode?"arrow":void 0;return e?d(f,{name:e,class:_("right-icon"),onClick:a},null):void 0},I=function(){c.offset=B,c.duration=0,E((function(){H((function(){c.offset=-s,c.duration=(s+B)/+A.speed,r("replay")}))}))},v=function(){var e=A.delay,r=A.speed,n=A.scrollable,a=m(e)?1e3*+e:0;B=0,s=0,c.offset=0,c.duration=0,clearTimeout(t),t=setTimeout((function(){if(o.value&&i.value&&!1!==n){var A=p(o).width,e=p(i).width;(n||e>A)&&H((function(){B=A,s=e,c.offset=-s,c.duration=s/+r}))}}),a)};return u(v),w(v),l("pageshow",v),C({reset:v}),U((function(){return[A.text,A.scrollable]}),v),function(){var e,t,r=A.color,B=A.wrapable,s=A.background;return h(d("div",{role:"alert",class:_({wrapable:B}),style:{color:r,background:s}},[n["left-icon"]?n["left-icon"]():A.leftIcon?d(f,{class:_("left-icon"),name:A.leftIcon},null):void 0,(e=!1===A.scrollable&&!A.wrapable,t={transform:c.offset?"translateX(".concat(c.offset,"px)"):"",transitionDuration:"".concat(c.duration,"s")},d("div",{ref:o,role:"marquee",class:_("wrap")},[d("div",{ref:i,style:t,class:[_("content"),{"van-ellipsis":e}],onTransitionend:I},[n.default?n.default():A.text])])),y()]),[[F,c.show]])}}}),W=y(X),Y="_back_1uhmc_1",Z="_container_1uhmc_16",q="_content_1uhmc_22",j="_opacityBg_1uhmc_27",z="_leftContent_1uhmc_32",$="_leftBg_1uhmc_37",AA="_leftBg2_1uhmc_48",eA="_types_1uhmc_58",tA="_type_1uhmc_58",rA="_typeActive_1uhmc_78",nA="_typeImg_1uhmc_78",BA="_typeIcon_1uhmc_92",sA="_center_1uhmc_103",oA="_musicContent_1uhmc_118",iA="_searchNotice_1uhmc_129",cA="_searchNoticeShow_1uhmc_138",aA="_musicItem_1uhmc_141",QA="_disableNotic_1uhmc_154",gA="_musicActive_1uhmc_158",uA="_musicAvtor_1uhmc_168",wA="_musicInfo_1uhmc_182",lA="_musicName_1uhmc_185",CA="_noticeBar_1uhmc_190",UA="_musicDes_1uhmc_194",hA="_musicFavitor_1uhmc_199",FA="_musicAuthor_1uhmc_211",dA="_right_1uhmc_223",fA="_right-musicName_1uhmc_230",pA="_staff_1uhmc_238",HA="_rightBtns_1uhmc_241",EA="_loadingWrap_1uhmc_282",mA="_empty_1uhmc_287",yA=""+new URL("icon_back-b80c2fc2.svg",r.meta.url).href,IA=""+new URL("icon_down-27184904.svg",r.meta.url).href,vA=""+new URL("icon_jianpu-80bd16a8.svg",r.meta.url).href,KA=""+new URL("icon_jianpuActive-17580202.svg",r.meta.url).href,bA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANYAAAA8CAMAAAAt4rT4AAAC61B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SV63MFxTE1thKd5/y48xaBd0kUKOrdBHS1FJHy18k1ITSbyca51JQEl+wastGS3dMtLTk7F3rkpzVluFsRXe+mOMf11rnoZKh2qbAAAAAElFTkSuQmCC",LA=function(A,e){return LA=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])},LA(A,e)};function DA(A,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=A}LA(A,e),A.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var xA=function(){return xA=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},RA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",PA="undefined"==typeof Uint8Array?[]:new Uint8Array(256),NA=0;NA<64;NA++)PA[RA.charCodeAt(NA)]=NA;for(var _A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",JA="undefined"==typeof Uint8Array?[]:new Uint8Array(256),XA=0;XA<64;XA++)JA[_A.charCodeAt(XA)]=XA;for(var WA=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},YA=function(){function A(A,e,t,r,n,B){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=r,this.index=n,this.data=B}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),ZA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qA="undefined"==typeof Uint8Array?[]:new Uint8Array(256),jA=0;jA<64;jA++)qA[ZA.charCodeAt(jA)]=jA;var zA=10,$A=13,Ae=15,ee=17,te=18,re=19,ne=20,Be=21,se=22,oe=24,ie=25,ce=26,ae=27,Qe=28,ge=30,ue=32,we=33,le=34,Ce=35,Ue=37,he=38,Fe=39,de=40,fe=42,pe=[9001,65288],He="×",Ee="÷",me=function(A,e){var t,r,n,B=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 c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),a=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e>4,a[i++]=(15&r)<<4|n>>2,a[i++]=(3&n)<<6|63&B;return c}(A),s=Array.isArray(B)?function(A){for(var e=A.length,t=[],r=0;r0;){var s=r[--B];if(Array.isArray(A)?-1!==A.indexOf(s):A===s)for(var o=t;o<=r.length;){var i;if((i=r[++o])===e)return!0;if(i!==zA)break}if(s!==zA)break}return!1},Se=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r!==zA)return r;t--}return 0},Me=function(A,e,t,r,n){if(0===t[r])return He;var B=r-1;if(Array.isArray(n)&&!0===n[B])return He;var s=B-1,o=B+1,i=e[B],c=s>=0?e[s]:0,a=e[o];if(2===i&&3===a)return He;if(-1!==Ie.indexOf(i))return"!";if(-1!==Ie.indexOf(a))return He;if(-1!==ve.indexOf(a))return He;if(8===Se(B,e))return Ee;if(11===me.get(A[B]))return He;if((i===ue||i===we)&&11===me.get(A[o]))return He;if(7===i||7===a)return He;if(9===i)return He;if(-1===[zA,$A,Ae].indexOf(i)&&9===a)return He;if(-1!==[ee,te,re,oe,Qe].indexOf(a))return He;if(Se(B,e)===se)return He;if(xe(23,se,B,e))return He;if(xe([ee,te],Be,B,e))return He;if(xe(12,12,B,e))return He;if(i===zA)return Ee;if(23===i||23===a)return He;if(16===a||16===i)return Ee;if(-1!==[$A,Ae,Be].indexOf(a)||14===i)return He;if(36===c&&-1!==De.indexOf(i))return He;if(i===Qe&&36===a)return He;if(a===ne)return He;if(-1!==ye.indexOf(a)&&i===ie||-1!==ye.indexOf(i)&&a===ie)return He;if(i===ae&&-1!==[Ue,ue,we].indexOf(a)||-1!==[Ue,ue,we].indexOf(i)&&a===ce)return He;if(-1!==ye.indexOf(i)&&-1!==Ke.indexOf(a)||-1!==Ke.indexOf(i)&&-1!==ye.indexOf(a))return He;if(-1!==[ae,ce].indexOf(i)&&(a===ie||-1!==[se,Ae].indexOf(a)&&e[o+1]===ie)||-1!==[se,Ae].indexOf(i)&&a===ie||i===ie&&-1!==[ie,Qe,oe].indexOf(a))return He;if(-1!==[ie,Qe,oe,ee,te].indexOf(a))for(var Q=B;Q>=0;){if((g=e[Q])===ie)return He;if(-1===[Qe,oe].indexOf(g))break;Q--}if(-1!==[ae,ce].indexOf(a))for(Q=-1!==[ee,te].indexOf(i)?s:B;Q>=0;){var g;if((g=e[Q])===ie)return He;if(-1===[Qe,oe].indexOf(g))break;Q--}if(he===i&&-1!==[he,Fe,le,Ce].indexOf(a)||-1!==[Fe,le].indexOf(i)&&-1!==[Fe,de].indexOf(a)||-1!==[de,Ce].indexOf(i)&&a===de)return He;if(-1!==Le.indexOf(i)&&-1!==[ne,ce].indexOf(a)||-1!==Le.indexOf(a)&&i===ae)return He;if(-1!==ye.indexOf(i)&&-1!==ye.indexOf(a))return He;if(i===oe&&-1!==ye.indexOf(a))return He;if(-1!==ye.concat(ie).indexOf(i)&&a===se&&-1===pe.indexOf(A[o])||-1!==ye.concat(ie).indexOf(a)&&i===te)return He;if(41===i&&41===a){for(var u=t[B],w=1;u>0&&41===e[--u];)w++;if(w%2!=0)return He}return i===ue&&a===we?He:Ee},Oe=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=me.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(ge);var o=t[B-1];return-1===be.indexOf(o)?(r.push(r[B-1]),t.push(o)):(r.push(B),t.push(ge))}return r.push(B),31===s?t.push("strict"===e?Be:Ue):s===fe||29===s?t.push(ge):43===s?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(Ue):t.push(ge):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!==[ie,ge,fe].indexOf(A)?Ue: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]},Te=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 kA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),Ge=45,Ve=43,ke=-1,Re=function(A){return A>=48&&A<=57},Pe=function(A){return Re(A)||A>=65&&A<=70||A>=97&&A<=102},Ne=function(A){return 10===A||9===A||32===A},_e=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},Je=function(A){return _e(A)||Re(A)||A===Ge},Xe=function(A){return A>=0&&A<=8||11===A||A>=14&&A<=31||127===A},We=function(A,e){return 92===A&&10!==e},Ye=function(A,e,t){return A===Ge?_e(e)||We(e,t):!!_e(A)||!(92!==A||!We(A,e))},Ze=function(A,e,t){return A===Ve||A===Ge?!!Re(e)||46===e&&Re(t):Re(46===A?e:A)},qe=function(A){var e=0,t=1;A[e]!==Ve&&A[e]!==Ge||(A[e]===Ge&&(t=-1),e++);for(var r=[];Re(A[e]);)r.push(A[e++]);var n=r.length?parseInt(kA.apply(void 0,r),10):0;46===A[e]&&e++;for(var B=[];Re(A[e]);)B.push(A[e++]);var s=B.length,o=s?parseInt(kA.apply(void 0,B),10):0;69!==A[e]&&101!==A[e]||e++;var i=1;A[e]!==Ve&&A[e]!==Ge||(A[e]===Ge&&(i=-1),e++);for(var c=[];Re(A[e]);)c.push(A[e++]);var a=c.length?parseInt(kA.apply(void 0,c),10):0;return t*(n+o*Math.pow(10,-s))*Math.pow(10,i*a)},je={type:2},ze={type:3},$e={type:4},At={type:13},et={type:8},tt={type:21},rt={type:9},nt={type:10},Bt={type:11},st={type:12},ot={type:14},it={type:23},ct={type:1},at={type:25},Qt={type:24},gt={type:26},ut={type:27},wt={type:28},lt={type:29},Ct={type:31},Ut={type:32},ht=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(VA(A))},A.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==Ut;)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(Je(e)||We(t,r)){var n=Ye(e,t,r)?2:1;return{type:5,value:this.consumeName(),flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),At;break;case 39:return this.consumeStringToken(39);case 40:return je;case 41:return ze;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ot;break;case Ve:if(Ze(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return $e;case Ge:var B=A,s=this.peekCodePoint(0),o=this.peekCodePoint(1);if(Ze(B,s,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Ye(B,s,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(s===Ge&&62===o)return this.consumeCodePoint(),this.consumeCodePoint(),Qt;break;case 46:if(Ze(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var i=this.consumeCodePoint();if(42===i&&47===(i=this.consumeCodePoint()))return this.consumeToken();if(i===ke)return this.consumeToken()}break;case 58:return gt;case 59:return ut;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===Ge&&this.peekCodePoint(2)===Ge)return this.consumeCodePoint(),this.consumeCodePoint(),at;break;case 64:var c=this.peekCodePoint(0),a=this.peekCodePoint(1),Q=this.peekCodePoint(2);if(Ye(c,a,Q))return{type:7,value:this.consumeName()};break;case 91:return wt;case 92:if(We(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return lt;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),et;break;case 123:return Bt;case 125:return st;case 117:case 85:var g=this.peekCodePoint(0),u=this.peekCodePoint(1);return g!==Ve||!Pe(u)&&63!==u||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),rt;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),tt;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),nt;break;case ke:return Ut}return Ne(A)?(this.consumeWhiteSpace(),Ct):Re(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):_e(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:kA(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return void 0===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(){for(var A=[],e=this.consumeCodePoint();Pe(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(kA.apply(void 0,A.map((function(A){return 63===A?48:A}))),16),end:parseInt(kA.apply(void 0,A.map((function(A){return 63===A?70:A}))),16)};var r=parseInt(kA.apply(void 0,A),16);if(this.peekCodePoint(0)===Ge&&Pe(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var n=[];Pe(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();return{type:30,start:r,end:parseInt(kA.apply(void 0,n),16)}}return{type:30,start:r,end:r}},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(),this.peekCodePoint(0)===ke)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(),this.peekCodePoint(0)===ke||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),it)}for(;;){var r=this.consumeCodePoint();if(r===ke||41===r)return{type:22,value:kA.apply(void 0,A)};if(Ne(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ke||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:kA.apply(void 0,A)}):(this.consumeBadUrlRemnants(),it);if(34===r||39===r||40===r||Xe(r))return this.consumeBadUrlRemnants(),it;if(92===r){if(!We(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),it;A.push(this.consumeEscapedCodePoint())}else A.push(r)}},A.prototype.consumeWhiteSpace=function(){for(;Ne(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||A===ke)return;We(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var e="";A>0;){var t=Math.min(5e4,A);e+=kA.apply(void 0,this._value.splice(0,t)),A-=t}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){for(var e="",t=0;;){var r=this._value[t];if(r===ke||void 0===r||r===A)return{type:0,value:e+=this.consumeStringSlice(t)};if(10===r)return this._value.splice(0,t),ct;if(92===r){var n=this._value[t+1];n!==ke&&void 0!==n&&(10===n?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):We(r,n)&&(e+=this.consumeStringSlice(t),e+=kA(this.consumeEscapedCodePoint()),t=-1))}t++}},A.prototype.consumeNumber=function(){var A=[],e=4,t=this.peekCodePoint(0);for(t!==Ve&&t!==Ge||A.push(this.consumeCodePoint());Re(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===t&&Re(r))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;Re(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)&&((r===Ve||r===Ge)&&Re(n)||Re(r)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;Re(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[qe(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);return Ye(r,n,B)?{type:15,number:e,flags:t,unit:this.consumeName()}: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(Pe(A)){for(var e=kA(A);Pe(this.peekCodePoint(0))&&e.length<6;)e+=kA(this.consumeCodePoint());Ne(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 A===ke?65533:A},A.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(Je(e))A+=kA(e);else{if(!We(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=kA(this.consumeEscapedCodePoint())}}},A}(),Ft=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new ht;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(){for(var A=this.consumeToken();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(){for(var A=[];;){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){for(var e={type:A,values:[]},t=this.consumeToken();;){if(32===t.type||vt(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){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 void 0===A?Ut:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),dt=function(A){return 15===A.type},ft=function(A){return 17===A.type},pt=function(A){return 20===A.type},Ht=function(A){return 0===A.type},Et=function(A,e){return pt(A)&&A.value===e},mt=function(A){return 31!==A.type},yt=function(A){return 31!==A.type&&4!==A.type},It=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},vt=function(A,e){return 11===e&&12===A.type||(28===e&&29===A.type||2===e&&3===A.type)},Kt=function(A){return 17===A.type||15===A.type},bt=function(A){return 16===A.type||Kt(A)},Lt=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Dt={type:17,number:0,flags:4},xt={type:16,number:50,flags:4},St={type:16,number:100,flags:4},Mt=function(A,e,t){var r=A[0],n=A[1];return[Ot(r,e),Ot(void 0!==n?n:r,t)]},Ot=function(A,e){if(16===A.type)return A.number/100*e;if(dt(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},Tt="grad",Gt="turn",Vt=function(A,e){if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case Tt:return Math.PI/200*e.number;case"rad":return e.number;case Gt:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")},kt=function(A){return 15===A.type&&("deg"===A.unit||A.unit===Tt||"rad"===A.unit||A.unit===Gt)},Rt=function(A){switch(A.filter(pt).map((function(A){return A.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Dt,Dt];case"to top":case"bottom":return Pt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Dt,St];case"to right":case"left":return Pt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[St,St];case"to bottom":case"top":return Pt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[St,Dt];case"to left":case"right":return Pt(270)}return 0},Pt=function(A){return Math.PI*A/180},Nt=function(A,e){if(18===e.type){var t=jt[e.name];if(void 0===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 Xt(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 Xt(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 Xt(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 Xt(parseInt(r,16),parseInt(n,16),parseInt(B,16),parseInt(s,16)/255)}}if(20===e.type){var o=$t[e.value.toUpperCase()];if(void 0!==o)return o}return $t.TRANSPARENT},_t=function(A){return 0==(255&A)},Jt=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+")"},Xt=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(255*r)<<0)>>>0},Wt=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},Yt=function(A,e){var t=e.filter(yt);if(3===t.length){var r=t.map(Wt),n=r[0],B=r[1],s=r[2];return Xt(n,B,s,1)}if(4===t.length){var o=t.map(Wt),i=(n=o[0],B=o[1],s=o[2],o[3]);return Xt(n,B,s,i)}return 0};function Zt(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 qt=function(A,e){var t=e.filter(yt),r=t[0],n=t[1],B=t[2],s=t[3],o=(17===r.type?Pt(r.number):Vt(A,r))/(2*Math.PI),i=bt(n)?n.number/100:0,c=bt(B)?B.number/100:0,a=void 0!==s&&bt(s)?Ot(s,1):1;if(0===i)return Xt(255*c,255*c,255*c,1);var Q=c<=.5?c*(i+1):c+i-c*i,g=2*c-Q,u=Zt(g,Q,o+1/3),w=Zt(g,Q,o),l=Zt(g,Q,o-1/3);return Xt(255*u,255*w,255*l,a)},jt={hsl:qt,hsla:qt,rgb:Yt,rgba:Yt},zt=function(A,e){return Nt(A,Ft.create(e).parseComponentValue())},$t={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},Ar={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(pt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},er={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},tr=function(A,e){var t=Nt(A,e[0]),r=e[1];return r&&bt(r)?{color:t,stop:r}:{color:t,stop:null}},rr=function(A,e){var t=A[0],r=A[A.length-1];null===t.stop&&(t.stop=Dt),null===r.stop&&(r.stop=St);for(var n=[],B=0,s=0;sB?n.push(i):n.push(B),B=i}else n.push(null)}var c=null;for(s=0;sA.optimumDistance)?{optimumCorner:e,optimumDistance:o}:A}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},or=function(A,e){var t=Pt(180),r=[];return It(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=Rt(e));if(kt(B))return void(t=(Vt(A,B)+Pt(270))%Pt(360))}var s=tr(A,e);r.push(s)})),{angle:t,stops:r,type:1}},ir="closest-side",cr="farthest-side",ar="closest-corner",Qr="farthest-corner",gr="circle",ur="ellipse",wr="cover",lr="contain",Cr=function(A,e){var t=0,r=3,n=[],B=[];return It(e).forEach((function(e,s){var o=!0;if(0===s?o=e.reduce((function(A,e){if(pt(e))switch(e.value){case"center":return B.push(xt),!1;case"top":case"left":return B.push(Dt),!1;case"right":case"bottom":return B.push(St),!1}else if(bt(e)||Kt(e))return B.push(e),!1;return A}),o):1===s&&(o=e.reduce((function(A,e){if(pt(e))switch(e.value){case gr:return t=0,!1;case ur:return t=1,!1;case lr:case ir:return r=0,!1;case cr:return r=1,!1;case ar:return r=2,!1;case wr:case Qr:return r=3,!1}else if(Kt(e)||bt(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return A}),o)),o){var i=tr(A,e);n.push(i)}})),{size:r,shape:t,stops:n,position:B,type:2}},Ur=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=Fr[e.name];if(void 0===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 hr,Fr={"linear-gradient":function(A,e){var t=Pt(180),r=[];return It(e).forEach((function(e,n){if(0===n){var B=e[0];if(20===B.type&&"to"===B.value)return void(t=Rt(e));if(kt(B))return void(t=Vt(A,B))}var s=tr(A,e);r.push(s)})),{angle:t,stops:r,type:1}},"-moz-linear-gradient":or,"-ms-linear-gradient":or,"-o-linear-gradient":or,"-webkit-linear-gradient":or,"radial-gradient":function(A,e){var t=0,r=3,n=[],B=[];return It(e).forEach((function(e,s){var o=!0;if(0===s){var i=!1;o=e.reduce((function(A,e){if(i)if(pt(e))switch(e.value){case"center":return B.push(xt),A;case"top":case"left":return B.push(Dt),A;case"right":case"bottom":return B.push(St),A}else(bt(e)||Kt(e))&&B.push(e);else if(pt(e))switch(e.value){case gr:return t=0,!1;case ur:return t=1,!1;case"at":return i=!0,!1;case ir:return r=0,!1;case wr:case cr:return r=1,!1;case lr:case ar:return r=2,!1;case Qr:return r=3,!1}else if(Kt(e)||bt(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return A}),o)}if(o){var c=tr(A,e);n.push(c)}})),{size:r,shape:t,stops:n,position:B,type:2}},"-moz-radial-gradient":Cr,"-ms-radial-gradient":Cr,"-o-radial-gradient":Cr,"-webkit-radial-gradient":Cr,"-webkit-gradient":function(A,e){var t=Pt(180),r=[],n=1;return It(e).forEach((function(e,t){var B=e[0];if(0===t){if(pt(B)&&"linear"===B.value)return void(n=1);if(pt(B)&&"radial"===B.value)return void(n=2)}if(18===B.type)if("from"===B.name){var s=Nt(A,B.values[0]);r.push({stop:Dt,color:s})}else if("to"===B.name){s=Nt(A,B.values[0]);r.push({stop:St,color:s})}else if("color-stop"===B.name){var o=B.values.filter(yt);if(2===o.length){s=Nt(A,o[1]);var i=o[0];ft(i)&&r.push({stop:{type:16,number:100*i.number,flags:i.flags},color:s})}}})),1===n?{angle:(t+Pt(180))%Pt(360),stops:r,type:n}:{size:3,shape:0,stops:r,position:[],type:n}}},dr={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 yt(A)&&function(A){return!(20===A.type&&"none"===A.value||18===A.type&&!Fr[A.name])}(A)})).map((function(e){return Ur(A,e)}))}},fr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(pt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},pr={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return It(e).map((function(A){return A.filter(bt)})).map(Lt)}},Hr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return It(e).map((function(A){return A.filter(pt).map((function(A){return A.value})).join(" ")})).map(Er)}},Er=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;default:return 0}};!function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"}(hr||(hr={}));var mr,yr={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return It(e).map((function(A){return A.filter(Ir)}))}},Ir=function(A){return pt(A)||bt(A)},vr=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Kr=vr("top"),br=vr("right"),Lr=vr("bottom"),Dr=vr("left"),xr=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return Lt(e.filter(bt))}}},Sr=xr("top-left"),Mr=xr("top-right"),Or=xr("bottom-right"),Tr=xr("bottom-left"),Gr=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}}},Vr=Gr("top"),kr=Gr("right"),Rr=Gr("bottom"),Pr=Gr("left"),Nr=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return dt(e)?e.number:0}}},_r=Nr("top"),Jr=Nr("right"),Xr=Nr("bottom"),Wr=Nr("left"),Yr={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Zr={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return"rtl"===e?1:0}},qr={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(pt).reduce((function(A,e){return A|jr(e.value)}),0)}},jr=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},zr={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}},$r={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"}(mr||(mr={}));var An,en={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"strict"===e?mr.STRICT:mr.NORMAL}},tn={name:"line-height",initialValue:"normal",prefix:!1,type:4},rn=function(A,e){return pt(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:bt(A)?Ot(A,e):e},nn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:Ur(A,e)}},Bn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return"inside"===e?0:1}},sn={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":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;default:return-1}}},on=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},cn=on("top"),an=on("right"),Qn=on("bottom"),gn=on("left"),un={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(pt).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},wn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"break-word"===e?"break-word":"normal"}},ln=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Cn=ln("top"),Un=ln("right"),hn=ln("bottom"),Fn=ln("left"),dn={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;default:return 0}}},fn={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}},pn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&Et(e[0],"none")?[]:It(e).map((function(e){for(var t={color:$t.TRANSPARENT,offsetX:Dt,offsetY:Dt,blur:Dt},r=0,n=0;n1?1:0],this.overflowWrap=eB(A,wn,e.overflowWrap),this.paddingTop=eB(A,Cn,e.paddingTop),this.paddingRight=eB(A,Un,e.paddingRight),this.paddingBottom=eB(A,hn,e.paddingBottom),this.paddingLeft=eB(A,Fn,e.paddingLeft),this.paintOrder=eB(A,Zn,e.paintOrder),this.position=eB(A,fn,e.position),this.textAlign=eB(A,dn,e.textAlign),this.textDecorationColor=eB(A,Sn,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=eB(A,Mn,null!==(r=e.textDecorationLine)&&void 0!==r?r:e.textDecoration),this.textShadow=eB(A,pn,e.textShadow),this.textTransform=eB(A,Hn,e.textTransform),this.transform=eB(A,En,e.transform),this.transformOrigin=eB(A,vn,e.transformOrigin),this.visibility=eB(A,Kn,e.visibility),this.webkitTextStrokeColor=eB(A,qn,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=eB(A,jn,e.webkitTextStrokeWidth),this.wordBreak=eB(A,bn,e.wordBreak),this.zIndex=eB(A,Ln,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return _t(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 Rn(this.display,4)||Rn(this.display,33554432)||Rn(this.display,268435456)||Rn(this.display,536870912)||Rn(this.display,67108864)||Rn(this.display,134217728)},A}(),$n=function(A,e){this.content=eB(A,Pn,e.content),this.quotes=eB(A,Xn,e.quotes)},AB=function(A,e){this.counterIncrement=eB(A,Nn,e.counterIncrement),this.counterReset=eB(A,_n,e.counterReset)},eB=function(A,e,t){var r=new ht,n=null!=t?t.toString():e.initialValue;r.write(n);var B=new Ft(r.read());switch(e.type){case 2:var s=B.parseComponentValue();return e.parse(A,pt(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 Vt(A,B.parseComponentValue());case"color":return Nt(A,B.parseComponentValue());case"image":return Ur(A,B.parseComponentValue());case"length":var o=B.parseComponentValue();return Kt(o)?o:Dt;case"length-percentage":var i=B.parseComponentValue();return bt(i)?i:Dt;case"time":return Dn(A,B.parseComponentValue())}}},tB=function(A,e){var t=function(A){switch(A.getAttribute("data-html2canvas-debug")){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},rB=function(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,tB(e,3),this.styles=new zn(A,window.getComputedStyle(e,null)),os(e)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=GA(this.context,e),tB(e,4)&&(this.flags|=16)},nB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",BB="undefined"==typeof Uint8Array?[]:new Uint8Array(256),sB=0;sB<64;sB++)BB[nB.charCodeAt(sB)]=sB;for(var oB=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},iB=function(){function A(A,e,t,r,n,B){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=r,this.index=n,this.data=B}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),cB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",aB="undefined"==typeof Uint8Array?[]:new Uint8Array(256),QB=0;QB<64;QB++)aB[cB.charCodeAt(QB)]=QB;var gB,uB=8,wB=9,lB=11,CB=12,UB=function(){for(var A=[],e=0;e>10),s%1024+56320)),(n+1===t||r.length>16384)&&(B+=String.fromCharCode.apply(String,r),r.length=0)}return B},hB=function(A,e){var t,r,n,B=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 c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),a=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e>4,a[i++]=(15&r)<<4|n>>2,a[i++]=(3&n)<<6|63&B;return c}(A),s=Array.isArray(B)?function(A){for(var e=A.length,t=[],r=0;r=55296&&n<=56319&&t=t)return{done:!0,value:null};for(var A=FB;rs.x||n.y>s.y;return s=n,0===e||o}));return A.body.removeChild(e),o}(document);return Object.defineProperty(yB,"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(yB,"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"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,B=e.toDataURL();n.src=B;var s=EB(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),mB(s).then((function(e){r.drawImage(e,0,0);var n=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var s=A.createElement("div");return s.style.backgroundImage="url("+B+")",s.style.height=t+"px",HB(n)?mB(EB(t,t,0,0,s)):Promise.reject(!1)})).then((function(A){return r.drawImage(A,0,0),HB(r.getImageData(0,0,t,t).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(yB,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=void 0!==(new Image).crossOrigin;return Object.defineProperty(yB,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(yB,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(yB,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(yB,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},IB=function(A,e){this.text=A,this.bounds=e},vB=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=GA(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),B}}return TA.EMPTY},KB=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},bB=function(A){if(yB.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){for(var e,t=pB(A),r=[];!(e=t.next()).done;)e.value&&r.push(e.value.slice());return r}(A)},LB=function(A,e){return 0!==e.letterSpacing?bB(A):function(A,e){if(yB.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 xB(A,e)}(A,e)},DB=[32,160,4961,65792,65793,4153,4241],xB=function(A,e){for(var t,r=function(A,e){var t=VA(A),r=Oe(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};for(var A=He;c0)if(yB.SUPPORT_RANGE_BOUNDS){var n=KB(r,s,e.length).getClientRects();if(n.length>1){var o=bB(e),i=0;o.forEach((function(e){B.push(new IB(e,TA.fromDOMRectList(A,KB(r,i+s,e.length).getClientRects()))),i+=e.length}))}else B.push(new IB(e,TA.fromDOMRectList(A,n)))}else{var c=r.splitText(e.length);B.push(new IB(e,vB(A,r))),r=c}else yB.SUPPORT_RANGE_BOUNDS||(r=r.splitText(e.length));s+=e.length})),B}(A,this.text,t,e)},MB=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(OB,TB);case 2:return A.toUpperCase();default:return A}},OB=/(^|\s|:|-|\(|\))([a-z])/g,TB=function(A,e,t){return A.length>0?e+t.toUpperCase():A},GB=function(A){function e(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 DA(e,A),e}(rB),VB=function(A){function e(e,t){var r=A.call(this,e,t)||this;return r.canvas=t,r.intrinsicWidth=t.width,r.intrinsicHeight=t.height,r}return DA(e,A),e}(rB),kB=function(A){function e(e,t){var r=A.call(this,e,t)||this,n=new XMLSerializer,B=GA(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 DA(e,A),e}(rB),RB=function(A){function e(e,t){var r=A.call(this,e,t)||this;return r.value=t.value,r}return DA(e,A),e}(rB),PB=function(A){function e(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 DA(e,A),e}(rB),NB=[{type:15,flags:0,unit:"px",number:3}],_B=[{type:16,flags:0,number:50}],JB="checkbox",XB="radio",WB="password",YB=707406591,ZB=function(A){function e(e,t){var r,n,B,s=A.call(this,e,t)||this;switch(s.type=t.type.toLowerCase(),s.checked=t.checked,s.value=0===(n=(r=t).type===WB?new Array(r.value.length+1).join("•"):r.value).length?r.placeholder||"":n,s.type!==JB&&s.type!==XB||(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=(B=s.bounds).width>B.height?new TA(B.left+(B.width-B.height)/2,B.top,B.height,B.height):B.width0)r.textNodes.push(new SB(e,B,r.styles));else if(ss(B))if(fs(B)&&B.assignedNodes)B.assignedNodes().forEach((function(t){return A(e,t,r,n)}));else{var o=es(e,B);o.styles.isVisible()&&(rs(B,o,n)?o.flags|=4:ns(o.styles)&&(o.flags|=2),-1!==$B.indexOf(B.tagName)&&(o.flags|=8),r.elements.push(o),B.slot,B.shadowRoot?A(e,B.shadowRoot,o,n):Fs(B)||gs(B)||ds(B)||A(e,B,o,n))}},es=function(A,e){return Cs(e)?new GB(A,e):ws(e)?new VB(A,e):gs(e)?new kB(A,e):cs(e)?new RB(A,e):as(e)?new PB(A,e):Qs(e)?new ZB(A,e):ds(e)?new qB(A,e):Fs(e)?new jB(A,e):Us(e)?new zB(A,e):new rB(A,e)},ts=function(A,e){var t=es(A,e);return t.flags|=4,As(A,e,t,t),t},rs=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||us(A)&&t.styles.isTransparent()},ns=function(A){return A.isPositioned()||A.isFloating()},Bs=function(A){return A.nodeType===Node.TEXT_NODE},ss=function(A){return A.nodeType===Node.ELEMENT_NODE},os=function(A){return ss(A)&&void 0!==A.style&&!is(A)},is=function(A){return"object"===o(A.className)},cs=function(A){return"LI"===A.tagName},as=function(A){return"OL"===A.tagName},Qs=function(A){return"INPUT"===A.tagName},gs=function(A){return"svg"===A.tagName},us=function(A){return"BODY"===A.tagName},ws=function(A){return"CANVAS"===A.tagName},ls=function(A){return"VIDEO"===A.tagName},Cs=function(A){return"IMG"===A.tagName},Us=function(A){return"IFRAME"===A.tagName},hs=function(A){return"STYLE"===A.tagName},Fs=function(A){return"TEXTAREA"===A.tagName},ds=function(A){return"SELECT"===A.tagName},fs=function(A){return"SLOT"===A.tagName},ps=function(A){return A.tagName.indexOf("-")>0},Hs=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}(),Es={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"]},ms={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ys={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Is={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},vs=function(A,e,t,r,n,B){return At?Ts(A,n,B.length>0):r.integers.reduce((function(e,t,n){for(;A>=t;)A-=t,e+=r.values[n];return e}),"")+B},Ks=function(A,e,t,r){var n="";do{t||A--,n=r(A)+n,A/=e}while(A*e>=e);return n},bs=function(A,e,t,r,n){var B=t-e+1;return(A<0?"-":"")+(Ks(Math.abs(A),B,r,(function(A){return kA(Math.floor(A%B)+e)}))+n)},Ls=function(A,e,t){void 0===t&&(t=". ");var r=e.length;return Ks(Math.abs(A),r,!1,(function(A){return e[Math.floor(A%r)]}))+t},Ds=function(A,e,t,r,n,B){if(A<-9999||A>9999)return Ts(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 c=s%10;0===c&&Rn(B,1)&&""!==o?o=e[c]+o:c>1||1===c&&0===i||1===c&&1===i&&Rn(B,2)||1===c&&1===i&&Rn(B,4)&&A>100||1===c&&i>1&&Rn(B,8)?o=e[c]+(i>0?t[i-1]:"")+o:1===c&&i>0&&(o=t[i-1]+o),s=Math.floor(s/10)}return(A<0?r:"")+o},xs="十百千萬",Ss="拾佰仟萬",Ms="マイナス",Os="마이너스",Ts=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=bs(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Ls(A,"〇一二三四五六七八九",n);case 6:return vs(A,1,3999,Es,3,r).toLowerCase();case 7:return vs(A,1,3999,Es,3,r);case 8:return bs(A,945,969,!1,r);case 9:return bs(A,97,122,!1,r);case 10:return bs(A,65,90,!1,r);case 11:return bs(A,1632,1641,!0,r);case 12:case 49:return vs(A,1,9999,ms,3,r);case 35:return vs(A,1,9999,ms,3,r).toLowerCase();case 13:return bs(A,2534,2543,!0,r);case 14:case 30:return bs(A,6112,6121,!0,r);case 15:return Ls(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Ls(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Ds(A,"零一二三四五六七八九",xs,"負",n,14);case 47:return Ds(A,"零壹貳參肆伍陸柒捌玖",Ss,"負",n,15);case 42:return Ds(A,"零一二三四五六七八九",xs,"负",n,14);case 41:return Ds(A,"零壹贰叁肆伍陆柒捌玖",Ss,"负",n,15);case 26:return Ds(A,"〇一二三四五六七八九","十百千万",Ms,n,0);case 25:return Ds(A,"零壱弐参四伍六七八九","拾百千万",Ms,n,7);case 31:return Ds(A,"영일이삼사오육칠팔구","십백천만",Os,B,7);case 33:return Ds(A,"零一二三四五六七八九","十百千萬",Os,B,0);case 32:return Ds(A,"零壹貳參四五六七八九","拾百千",Os,B,7);case 18:return bs(A,2406,2415,!0,r);case 20:return vs(A,1,19999,Is,3,r);case 21:return bs(A,2790,2799,!0,r);case 22:return bs(A,2662,2671,!0,r);case 22:return vs(A,1,10999,ys,3,r);case 23:return Ls(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ls(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return bs(A,3302,3311,!0,r);case 28:return Ls(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Ls(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return bs(A,3792,3801,!0,r);case 37:return bs(A,6160,6169,!0,r);case 38:return bs(A,4160,4169,!0,r);case 39:return bs(A,2918,2927,!0,r);case 40:return bs(A,1776,1785,!0,r);case 43:return bs(A,3046,3055,!0,r);case 44:return bs(A,3174,3183,!0,r);case 45:return bs(A,3664,3673,!0,r);case 46:return bs(A,3872,3881,!0,r);default:return bs(A,48,57,!0,r)}},Gs="data-html2canvas-ignore",Vs=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new Hs,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,r=Rs(A,e);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var n=A.defaultView.pageXOffset,B=A.defaultView.pageYOffset,s=r.contentWindow,o=s.document,i=_s(r).then((function(){return SA(t,void 0,void 0,(function(){var A,t;return MA(this,(function(n){switch(n.label){case 0:return this.scrolledElements.forEach(Zs),s&&(s.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===e.top&&s.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-e.left,s.scrollY-e.top,0,0))),A=this.options.onclone,void 0===(t=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:o.fonts&&o.fonts.ready?[4,o.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ns(o)]:[3,4];case 3:n.sent(),n.label=4;case 4:return"function"==typeof A?[2,Promise.resolve().then((function(){return A(o,t)})).then((function(){return r}))]:[2,r]}}))}))}));return o.open(),o.write(Ws(document.doctype)+""),Ys(this.referenceElement.ownerDocument,n,B),o.replaceChild(o.adoptNode(this.documentElement),o.documentElement),o.close(),i},A.prototype.createElementClone=function(A){if(tB(A,2),ws(A))return this.createCanvasClone(A);if(ls(A))return this.createVideoClone(A);if(hs(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return Cs(e)&&(Cs(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),ps(e)?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return Xs(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.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){ss(e)&&("SCRIPT"===e.tagName||e.hasAttribute(Gs)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&ss(e)&&hs(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(ss(n)&&fs(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(Bs(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&ss(A)&&(os(A)||is(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&&os(r)&&(this.clonedReferenceElement=r),us(r)&&$s(r);var o=this.counters.parse(new AB(this.context,n)),i=this.resolvePseudoContent(A,r,B,gB.BEFORE);ps(A)&&(e=!0),ls(A)||this.cloneChildNodes(A,r,e),i&&r.insertBefore(i,r.firstChild);var c=this.resolvePseudoContent(A,r,s,gB.AFTER);return c&&r.appendChild(c),this.counters.pop(o),(n&&(this.options.copyStyles||is(A))&&!Us(A)||e)&&Xs(n,r),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([r,A.scrollLeft,A.scrollTop]),(Fs(A)||ds(A))&&(Fs(r)||ds(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 AB(this.context,t));var o=new $n(this.context,t),i=s.createElement("html2canvaspseudoelement");Xs(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(pt);r.length&&i.appendChild(s.createTextNode(A.getAttribute(r[0].value)||""))}else if("counter"===e.name){var B=e.values.filter(yt),c=B[0],a=B[1];if(c&&pt(c)){var Q=n.counters.getCounterValue(c.value),g=a&&pt(a)?sn.parse(n.context,a.value):3;i.appendChild(s.createTextNode(Ts(Q,g,!1)))}}else if("counters"===e.name){var u=e.values.filter(yt),w=(c=u[0],u[1]);a=u[2];if(c&&pt(c)){var l=n.counters.getCounterValues(c.value),C=a&&pt(a)?sn.parse(n.context,a.value):3,U=w&&0===w.type?w.value:"",h=l.map((function(A){return Ts(A,C,!1)})).join(U);i.appendChild(s.createTextNode(h))}}}else if(20===e.type)switch(e.value){case"open-quote":i.appendChild(s.createTextNode(Wn(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":i.appendChild(s.createTextNode(Wn(o.quotes,--n.quoteDepth,!1)));break;default:i.appendChild(s.createTextNode(e.value))}})),i.className=qs+" "+js;var c=r===gB.BEFORE?" "+qs:" "+js;return is(e)?e.className.baseValue+=c:e.className+=c,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"}(gB||(gB={}));var ks,Rs=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(Gs,"true"),A.body.appendChild(t),t},Ps=function(A){return new Promise((function(e){A.complete?e():A.src?(A.onload=e,A.onerror=e):e()}))},Ns=function(A){return Promise.all([].slice.call(A.images,0).map(Ps))},_s=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)}}))},Js=["all","d","content"],Xs=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);-1===Js.indexOf(r)&&e.style.setProperty(r,A.getPropertyValue(r))}return e},Ws=function(A){var e="";return A&&(e+=""),e},Ys=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},Zs=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},qs="___html2canvas___pseudoelement_before",js="___html2canvas___pseudoelement_after",zs='{\n content: "" !important;\n display: none !important;\n}',$s=function(A){Ao(A,"."+qs+":before"+zs+"\n ."+js+":after"+zs)},Ao=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},eo=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}(),to=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:co(A)||so(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 SA(this,void 0,void 0,(function(){var e,t,r,n,B=this;return MA(this,(function(s){switch(s.label){case 0:return e=eo.isSameOrigin(A),t=!oo(A)&&!0===this._options.useCORS&&yB.SUPPORT_CORS_IMAGES&&!e,r=!oo(A)&&!e&&!co(A)&&"string"==typeof this._options.proxy&&yB.SUPPORT_CORS_XHR&&!t,e||!1!==this._options.allowTaint||oo(A)||co(A)||r||t?(n=A,r?[4,this.proxy(n)]:[3,2]):[2];case 1:n=s.sent(),s.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,(io(n)||t)&&(r.crossOrigin="anonymous"),r.src=n,!0===r.complete&&setTimeout((function(){return A(r)}),500),B._options.imageTimeout>0&&setTimeout((function(){return e("Timed out ("+B._options.imageTimeout+"ms) loading image")}),B._options.imageTimeout)}))];case 3:return[2,s.sent()]}}))}))},A.prototype.has=function(A){return void 0!==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=yB.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 c=e._options.imageTimeout;o.timeout=c,o.ontimeout=function(){return B("Timed out ("+c+"ms) proxying "+r)}}o.send()}))},A}(),ro=/^data:image\/svg\+xml/i,no=/^data:image\/.*;base64,/i,Bo=/^data:image\/.*/i,so=function(A){return yB.SUPPORT_SVG_DRAWING||!ao(A)},oo=function(A){return Bo.test(A)},io=function(A){return no.test(A)},co=function(A){return"blob"===A.substr(0,4)},ao=function(A){return"svg"===A.substr(-3).toLowerCase()||ro.test(A)},Qo=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}(),go=function(A,e,t){return new Qo(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},uo=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=go(this.start,this.startControl,e),n=go(this.startControl,this.endControl,e),B=go(this.endControl,this.end,e),s=go(r,n,e),o=go(n,B,e),i=go(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}(),wo=function(A){return 1===A.type},lo=function(A){var e=A.styles,t=A.bounds,r=Mt(e.borderTopLeftRadius,t.width,t.height),n=r[0],B=r[1],s=Mt(e.borderTopRightRadius,t.width,t.height),o=s[0],i=s[1],c=Mt(e.borderBottomRightRadius,t.width,t.height),a=c[0],Q=c[1],g=Mt(e.borderBottomLeftRadius,t.width,t.height),u=g[0],w=g[1],l=[];l.push((n+o)/t.width),l.push((u+a)/t.width),l.push((B+w)/t.height),l.push((i+Q)/t.height);var C=Math.max.apply(Math,l);C>1&&(n/=C,B/=C,o/=C,i/=C,a/=C,Q/=C,u/=C,w/=C);var U=t.width-o,h=t.height-Q,F=t.width-a,d=t.height-w,f=e.borderTopWidth,p=e.borderRightWidth,H=e.borderBottomWidth,E=e.borderLeftWidth,m=Ot(e.paddingTop,A.bounds.width),y=Ot(e.paddingRight,A.bounds.width),I=Ot(e.paddingBottom,A.bounds.width),v=Ot(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||B>0?Co(t.left+E/3,t.top+f/3,n-E/3,B-f/3,ks.TOP_LEFT):new Qo(t.left+E/3,t.top+f/3),this.topRightBorderDoubleOuterBox=n>0||B>0?Co(t.left+U,t.top+f/3,o-p/3,i-f/3,ks.TOP_RIGHT):new Qo(t.left+t.width-p/3,t.top+f/3),this.bottomRightBorderDoubleOuterBox=a>0||Q>0?Co(t.left+F,t.top+h,a-p/3,Q-H/3,ks.BOTTOM_RIGHT):new Qo(t.left+t.width-p/3,t.top+t.height-H/3),this.bottomLeftBorderDoubleOuterBox=u>0||w>0?Co(t.left+E/3,t.top+d,u-E/3,w-H/3,ks.BOTTOM_LEFT):new Qo(t.left+E/3,t.top+t.height-H/3),this.topLeftBorderDoubleInnerBox=n>0||B>0?Co(t.left+2*E/3,t.top+2*f/3,n-2*E/3,B-2*f/3,ks.TOP_LEFT):new Qo(t.left+2*E/3,t.top+2*f/3),this.topRightBorderDoubleInnerBox=n>0||B>0?Co(t.left+U,t.top+2*f/3,o-2*p/3,i-2*f/3,ks.TOP_RIGHT):new Qo(t.left+t.width-2*p/3,t.top+2*f/3),this.bottomRightBorderDoubleInnerBox=a>0||Q>0?Co(t.left+F,t.top+h,a-2*p/3,Q-2*H/3,ks.BOTTOM_RIGHT):new Qo(t.left+t.width-2*p/3,t.top+t.height-2*H/3),this.bottomLeftBorderDoubleInnerBox=u>0||w>0?Co(t.left+2*E/3,t.top+d,u-2*E/3,w-2*H/3,ks.BOTTOM_LEFT):new Qo(t.left+2*E/3,t.top+t.height-2*H/3),this.topLeftBorderStroke=n>0||B>0?Co(t.left+E/2,t.top+f/2,n-E/2,B-f/2,ks.TOP_LEFT):new Qo(t.left+E/2,t.top+f/2),this.topRightBorderStroke=n>0||B>0?Co(t.left+U,t.top+f/2,o-p/2,i-f/2,ks.TOP_RIGHT):new Qo(t.left+t.width-p/2,t.top+f/2),this.bottomRightBorderStroke=a>0||Q>0?Co(t.left+F,t.top+h,a-p/2,Q-H/2,ks.BOTTOM_RIGHT):new Qo(t.left+t.width-p/2,t.top+t.height-H/2),this.bottomLeftBorderStroke=u>0||w>0?Co(t.left+E/2,t.top+d,u-E/2,w-H/2,ks.BOTTOM_LEFT):new Qo(t.left+E/2,t.top+t.height-H/2),this.topLeftBorderBox=n>0||B>0?Co(t.left,t.top,n,B,ks.TOP_LEFT):new Qo(t.left,t.top),this.topRightBorderBox=o>0||i>0?Co(t.left+U,t.top,o,i,ks.TOP_RIGHT):new Qo(t.left+t.width,t.top),this.bottomRightBorderBox=a>0||Q>0?Co(t.left+F,t.top+h,a,Q,ks.BOTTOM_RIGHT):new Qo(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=u>0||w>0?Co(t.left,t.top+d,u,w,ks.BOTTOM_LEFT):new Qo(t.left,t.top+t.height),this.topLeftPaddingBox=n>0||B>0?Co(t.left+E,t.top+f,Math.max(0,n-E),Math.max(0,B-f),ks.TOP_LEFT):new Qo(t.left+E,t.top+f),this.topRightPaddingBox=o>0||i>0?Co(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),ks.TOP_RIGHT):new Qo(t.left+t.width-p,t.top+f),this.bottomRightPaddingBox=a>0||Q>0?Co(t.left+Math.min(F,t.width-E),t.top+Math.min(h,t.height-H),Math.max(0,a-p),Math.max(0,Q-H),ks.BOTTOM_RIGHT):new Qo(t.left+t.width-p,t.top+t.height-H),this.bottomLeftPaddingBox=u>0||w>0?Co(t.left+E,t.top+Math.min(d,t.height-H),Math.max(0,u-E),Math.max(0,w-H),ks.BOTTOM_LEFT):new Qo(t.left+E,t.top+t.height-H),this.topLeftContentBox=n>0||B>0?Co(t.left+E+v,t.top+f+m,Math.max(0,n-(E+v)),Math.max(0,B-(f+m)),ks.TOP_LEFT):new Qo(t.left+E+v,t.top+f+m),this.topRightContentBox=o>0||i>0?Co(t.left+Math.min(U,t.width+E+v),t.top+f+m,U>t.width+E+v?0:o-E+v,i-(f+m),ks.TOP_RIGHT):new Qo(t.left+t.width-(p+y),t.top+f+m),this.bottomRightContentBox=a>0||Q>0?Co(t.left+Math.min(F,t.width-(E+v)),t.top+Math.min(h,t.height+f+m),Math.max(0,a-(p+y)),Q-(H+I),ks.BOTTOM_RIGHT):new Qo(t.left+t.width-(p+y),t.top+t.height-(H+I)),this.bottomLeftContentBox=u>0||w>0?Co(t.left+E+v,t.top+d,Math.max(0,u-(E+v)),w-(H+I),ks.BOTTOM_LEFT):new Qo(t.left+E+v,t.top+t.height-(H+I))};!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"}(ks||(ks={}));var Co=function(A,e,t,r,n){var B=(Math.sqrt(2)-1)/3*4,s=t*B,o=r*B,i=A+t,c=e+r;switch(n){case ks.TOP_LEFT:return new uo(new Qo(A,c),new Qo(A,c-o),new Qo(i-s,e),new Qo(i,e));case ks.TOP_RIGHT:return new uo(new Qo(A,e),new Qo(A+s,e),new Qo(i,c-o),new Qo(i,c));case ks.BOTTOM_RIGHT:return new uo(new Qo(i,e),new Qo(i,e+o),new Qo(A+s,c),new Qo(A,c));case ks.BOTTOM_LEFT:default:return new uo(new Qo(i,c),new Qo(i-s,c),new Qo(A,e+o),new Qo(A,e))}},Uo=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},ho=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Fo=function(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6},fo=function(A,e){this.path=A,this.target=e,this.type=1},po=function(A){this.opacity=A,this.type=2,this.target=6},Ho=function(A){return 1===A.type},Eo=function(A,e){return A.length===e.length&&A.some((function(A,t){return A===e[t]}))},mo=function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},yo=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new lo(this.container),this.container.styles.opacity<1&&this.effects.push(new po(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 Fo(t,r,n))}if(0!==this.container.styles.overflowX){var B=Uo(this.curves),s=ho(this.curves);Eo(B,s)?this.effects.push(new fo(B,6)):(this.effects.push(new fo(B,2)),this.effects.push(new fo(s,4)))}}return A.prototype.getEffects=function(A){for(var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,r=this.effects.slice(0);t;){var n=t.effects.filter((function(A){return!Ho(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=Uo(t.curves),s=ho(t.curves);Eo(B,s)||r.unshift(new fo(s,6))}}else r.unshift.apply(r,n);t=t.parent}return r.filter((function(e){return Rn(e.target,A)}))},A}(),Io=function A(e,t,r,n){e.container.elements.forEach((function(B){var s=Rn(B.flags,4),o=Rn(B.flags,2),i=new yo(B,e);Rn(B.styles.display,2048)&&n.push(i);var c=Rn(B.flags,8)?[]:n;if(s||o){var a=s||B.styles.isPositioned()?r:t,Q=new mo(i);if(B.styles.isPositioned()||B.styles.opacity<1||B.styles.isTransformed()){var g=B.styles.zIndex.order;if(g<0){var u=0;a.negativeZIndex.some((function(A,e){return g>A.element.container.styles.zIndex.order?(u=e,!1):u>0})),a.negativeZIndex.splice(u,0,Q)}else if(g>0){var w=0;a.positiveZIndex.some((function(A,e){return g>=A.element.container.styles.zIndex.order?(w=e+1,!1):w>0})),a.positiveZIndex.splice(w,0,Q)}else a.zeroOrAutoZIndexOrTransformedOrOpacity.push(Q)}else B.styles.isFloating()?a.nonPositionedFloats.push(Q):a.nonPositionedInlineLevel.push(Q);A(i,Q,s?Q:r,c)}else B.styles.isInlineLevel()?t.inlineLevel.push(i):t.nonInlineLevel.push(i),A(i,t,r,c);Rn(B.flags,8)&&vo(B,c)}))},vo=function(A,e){for(var t=A instanceof PB?A.start:1,r=A instanceof PB&&A.reversed,n=0;n0&&A.intrinsicHeight>0){var r=So(A),n=ho(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()}},e.prototype.renderNodeContent=function(A){return SA(this,void 0,void 0,(function(){var t,r,n,B,s,o,i,c,a,Q,g,u,w,l,C,U,h,F;return MA(this,(function(d){switch(d.label){case 0:this.applyEffects(A.getEffects(4)),t=A.container,r=A.curves,n=t.styles,B=0,s=t.textNodes,d.label=1;case 1:return B0&&H>0&&(U=r.ctx.createPattern(w,"repeat"),r.renderRepeat(F,U,m,y))):function(A){return 2===A.type}(t)&&(h=Mo(A,e,[null,null,null]),F=h[0],d=h[1],f=h[2],p=h[3],H=h[4],E=0===t.position.length?[xt]:t.position,m=Ot(E[0],p),y=Ot(E[E.length-1],H),I=function(A,e,t,r,n){var B=0,s=0;switch(A.size){case 0:0===A.shape?B=s=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):1===A.shape&&(B=Math.min(Math.abs(e),Math.abs(e-r)),s=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(0===A.shape)B=s=Math.min(Br(e,t),Br(e,t-n),Br(e-r,t),Br(e-r,t-n));else if(1===A.shape){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),i=sr(r,n,e,t,!0),c=i[0],a=i[1];s=o*(B=Br(c-e,(a-t)/o))}break;case 1:0===A.shape?B=s=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):1===A.shape&&(B=Math.max(Math.abs(e),Math.abs(e-r)),s=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(0===A.shape)B=s=Math.max(Br(e,t),Br(e,t-n),Br(e-r,t),Br(e-r,t-n));else if(1===A.shape){o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r));var Q=sr(r,n,e,t,!1);c=Q[0],a=Q[1],s=o*(B=Br(c-e,(a-t)/o))}}return Array.isArray(A.size)&&(B=Ot(A.size[0],r),s=2===A.size.length?Ot(A.size[1],n):B),[B,s]}(t,m,y,p,H),v=I[0],K=I[1],v>0&&K>0&&(b=r.ctx.createRadialGradient(d+m,f+y,0,d+m,f+y,v),rr(t.stops,2*v).forEach((function(A){return b.addColorStop(A.stop,Jt(A.color))})),r.path(F),r.ctx.fillStyle=b,v!==K?(L=A.bounds.left+.5*A.bounds.width,D=A.bounds.top+.5*A.bounds.height,S=1/(x=K/v),r.ctx.save(),r.ctx.translate(L,D),r.ctx.transform(1,0,0,x,0,0),r.ctx.translate(-L,-D),r.ctx.fillRect(d,S*(f-D)+D,p,H*S),r.ctx.restore()):r.ctx.fill())),M.label=6;case 6:return e--,[2]}}))},r=this,n=0,B=A.styles.backgroundImage.slice(0).reverse(),o.label=1;case 1:return n0?2!==i.style?[3,5]:[4,this.renderDashedDottedBorder(i.color,i.width,B,A.curves,2)]:[3,11]:[3,13];case 4:return a.sent(),[3,11];case 5:return 3!==i.style?[3,7]:[4,this.renderDashedDottedBorder(i.color,i.width,B,A.curves,3)];case 6:return a.sent(),[3,11];case 7:return 4!==i.style?[3,9]:[4,this.renderDoubleBorder(i.color,i.width,B,A.curves)];case 8:return a.sent(),[3,11];case 9:return[4,this.renderSolidBorder(i.color,B,A.curves)];case 10:a.sent(),a.label=11;case 11:B++,a.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},e.prototype.renderDashedDottedBorder=function(A,e,t,r,n){return SA(this,void 0,void 0,(function(){var B,s,o,i,c,a,Q,g,u,w,l,C,U,h,F,d;return MA(this,(function(f){return this.ctx.save(),B=function(A,e){switch(e){case 0:return Lo(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return Lo(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return Lo(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return Lo(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}}(r,t),s=bo(r,t),2===n&&(this.path(s),this.ctx.clip()),wo(s[0])?(o=s[0].start.x,i=s[0].start.y):(o=s[0].x,i=s[0].y),wo(s[1])?(c=s[1].end.x,a=s[1].end.y):(c=s[1].x,a=s[1].y),Q=0===t||2===t?Math.abs(o-c):Math.abs(i-a),this.ctx.beginPath(),3===n?this.formatPath(B):this.formatPath(s.slice(0,2)),g=e<3?3*e:2*e,u=e<3?2*e:e,3===n&&(g=e,u=e),w=!0,Q<=2*g?w=!1:Q<=2*g+u?(g*=l=Q/(2*g+u),u*=l):(C=Math.floor((Q+u)/(g+u)),U=(Q-C*g)/(C-1),u=(h=(Q-(C+1)*g)/C)<=0||Math.abs(u-U)0&&(B.musicSheetCategoriesId=o.types[0].id)),A.next=10;break;case 7:A.prev=7,A.t0=A.catch(0),console.log("🚀 ~ error:",A.t0);case 10:case"end":return A.stop()}var n}),A,null,[[0,7]])})));return function(){return A.apply(this,arguments)}}(),w=function(){var e=s(n().mark((function e(){var r,s;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o.loading=!0,e.prev=1,e.next=4,n=t({},B),I.post("/edu-app/musicSheet/page",{data:n});case 4:200===(s=e.sent).code&&Array.isArray(null==s||null===(r=s.data)||void 0===r?void 0:r.rows)&&(o.musics=[].concat(A(o.musics),A(s.data.rows)),o.finshed=!s.data.next),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.log("🚀 ~ error:",e.t0);case 11:o.loading=!1;case 12:case"end":return e.stop()}var n}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}(),l=function(){B.page=1,o.musics=[],w()},C=Q(),U=function(){var A=document.querySelector(".searchNotice .van-field__control");if(A){var e=A.getBoundingClientRect();o.searchNotice.left=e.x+"px",o.searchNotice.top=e.y+"px",o.searchNotice.width=e.width+"px",o.searchNotice.height=e.height+"px"}};return K(s(n().mark((function A(){var e;return n().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,u();case 2:w(),e=new IntersectionObserver((function(A){A[0].intersectionRatio>0&&(o.loading||o.finshed||(B.page=B.page+1,w()))})),b((function(){e.observe(C.value)})),L("webViewOnResume",(function(){l()})),U();case 7:case"end":return A.stop()}}),A)})))),function(){var A;return d("div",{class:Z},[d("div",{class:Y,onClick:c},[d("img",{src:yA},null)]),d("div",{class:q},[d("div",{class:[z]},[d("div",{class:AA},null),d("div",{class:$},null),d("div",{class:eA},[o.types.map((function(A,e){return d("div",{class:[tA,B.musicSheetCategoriesId===A.id&&rA],onClick:function(){B.musicSheetCategoriesId=A.id,l()}},[d("div",{class:nA},[d("img",{class:BA,src:A.coverImg,onLoad:function(A){A.target.setAttribute("loaded","true")}},null)])])}))]),d("div",{class:sA},[d(k,{class:["searchNotice",o.searchNoticeShow?cA:""],shape:"round",background:"transparent",clearable:!1,placeholder:"请输入关键字",onFocus:function(){return o.searchNoticeShow=!1},onBlur:function(A){B.keyword=A,requestAnimationFrame((function(){requestAnimationFrame((function(){o.searchNoticeShow=!0}))}))},onSearch:function(A){B.keyword=A,l()}},null),d("div",{class:oA},[o.musics.map((function(A,e){return d("div",{class:[aA,o.musicIndex===e?gA:QA],onClick:function(){return o.musicIndex=e}},[d("img",{class:uA,src:A.titleImg,onLoad:function(A){A.target.setAttribute("loaded","true")}},null),d("div",{class:wA},[d("div",{class:lA},[d(W,{text:A.musicSheetName,class:CA,background:"none"},null)]),d("div",{class:UA},[d("div",{class:hA},[A.usedNum]),d("div",{class:[FA,"van-ellipsis"]},[A.composer||"佚名"])])])])})),!o.finshed&&d("div",{ref:C,class:EA},[d(D,{color:"#259CFE"},null)]),!o.loading&&0===o.musics.length&&d("div",{class:mA},[d(x,{description:"暂无曲谱"},null)])])])]),d("div",{class:[j,dA]},[d("div",{ref:i},[d("div",{class:fA},[null===(A=o.musics[o.musicIndex])||void 0===A?void 0:A.musicSheetName]),o.isShowJianpu?d(S,null,[d(M,{name:"van-fade"},{default:function(){var A,e;return[null===(A=o.musics[o.musicIndex])||void 0===A||null===(e=A.musicSvg)||void 0===e?void 0:e.split(",").map((function(A,e){return d("img",{class:pA,src:A+"?v="+Date.now(),key:A},null)}))]}})]):d(S,null,[d(M,{name:"van-fade"},{default:function(){var A,e;return[null===(A=o.musics[o.musicIndex])||void 0===A||null===(e=A.musicImg)||void 0===e?void 0:e.split(",").map((function(A,e){return d("img",{class:pA,src:A+"?v="+Date.now(),key:A,crossorigin:"anonymous"},null)}))]}})])]),d("div",{class:HA},[d("img",{src:o.isShowJianpu?KA:vA,onClick:function(){return o.isShowJianpu=!o.isShowJianpu}},null),d("img",{src:IA,onClick:a},null),d("img",{src:bA,onClick:function(){return e="".concat(location.origin,"/instrument?id=").concat(null===(A=o.musics[o.musicIndex])||void 0===A?void 0:A.id),console.log(e),void O({api:"openAccompanyWebView",content:{url:e,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,c_orientation:0}});var A,e}},null)])])]),o.searchNotice.width&&o.searchNoticeShow&&d("div",{class:iA,style:t({},o.searchNotice)},[d(W,{text:B.keyword,color:"#333",background:"none"},null)])])}}}))}}}))}();