diff --git a/dist/development/strigo.sdk.js b/dist/development/strigo.sdk.js index c6ffa90..1f54ac3 100644 --- a/dist/development/strigo.sdk.js +++ b/dist/development/strigo.sdk.js @@ -13032,8 +13032,8 @@ ${JSON.stringify(parsedContext)}` : ""); const { recordedAssessment, challengeSuccessEvent, _id } = assessment; const { actionType, expectedText } = recordedAssessment; if (actionType === "notification" /* NOTIFICATION */ && expectedText) { - const notificationText = window.document.body.innerText?.toLowerCase(); - if (notificationText.indexOf(expectedText.toLowerCase())) { + const bodyText = window.document.body.innerText?.toLowerCase(); + if (bodyText.length > 100 && bodyText.indexOf(expectedText.toLowerCase()) !== -1) { LoggerInstance.info("*** Found notification text. Sending success event..."); window.Strigo.sendEvent(challengeSuccessEvent); } diff --git a/dist/production/strigo.sdk.min.js b/dist/production/strigo.sdk.min.js index 80e1be6..7695f0d 100644 --- a/dist/production/strigo.sdk.min.js +++ b/dist/production/strigo.sdk.min.js @@ -1,18 +1,18 @@ -(()=>{var Og=Object.create;var Da=Object.defineProperty;var Dg=Object.getOwnPropertyDescriptor;var Kg=Object.getOwnPropertyNames;var Mg=Object.getPrototypeOf,Rg=Object.prototype.hasOwnProperty;var _g=h=>Da(h,"__esModule",{value:!0});var Wi=(h,B)=>()=>(B||h((B={exports:{}}).exports,B),B.exports);var Pg=(h,B,Q,y)=>{if(B&&typeof B=="object"||typeof B=="function")for(let b of Kg(B))!Rg.call(h,b)&&(Q||b!=="default")&&Da(h,b,{get:()=>B[b],enumerable:!(y=Dg(B,b))||y.enumerable});return h},So=(h,B)=>Pg(_g(Da(h!=null?Og(Mg(h)):{},"default",!B&&h&&h.__esModule?{get:()=>h.default,enumerable:!0}:{value:h,enumerable:!0})),h);var xl=Wi((ka,Va)=>{(function(h,B){typeof ka=="object"&&typeof Va!="undefined"?Va.exports=B():typeof define=="function"&&define.amd?define(B):(h=typeof globalThis!="undefined"?globalThis:h||self,h.html2canvas=B())})(ka,function(){"use strict";var h=function(r,e){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(o[a]=n[a])},h(r,e)};function B(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");h(r,e);function o(){this.constructor=r}r.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}var Q=function(){return Q=Object.assign||function(e){for(var o,n=1,a=arguments.length;n0&&l[l.length-1])&&(E[0]===6||E[0]===2)){o=0;continue}if(E[0]===3&&(!l||E[1]>l[0]&&E[1]=55296&&a<=56319&&o>10)+55296,p%1024+56320)),(a+1===o||n.length>16384)&&(l+=String.fromCharCode.apply(String,n),n.length=0)}return l},LA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",SA=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),BA=0;BA>4,I[a++]=(p&15)<<4|v>>2,I[a++]=(v&3)<<6|w&63;return E},Ut=function(r){for(var e=r.length,o=[],n=0;n>OA,ye=1<>OA,zt=WA+yt,eA=zt,HA=2048>>6,Re=eA+HA,_e=65536>>Ue,M=1<=0){if(e<55296||e>56319&&e<=65535)return o=this.index[e>>OA],o=(o<>OA)],o=(o<>Ue),o=this.index[o],o+=e>>OA&tA,o=this.index[o],o=(o<VA?(a.push(!0),v-=VA):a.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(l)!==-1)return n.push(p),o.push(Zt);if(v===iA||v===Pe){if(p===0)return n.push(p),o.push(Ze);var w=o[p-1];return gs.indexOf(w)===-1?(n.push(n[p-1]),o.push(w)):(n.push(p),o.push(Ze))}if(n.push(p),v===us)return o.push(e==="strict"?Qr:gt);if(v===jn||v===Wn)return o.push(Ze);if(v===fs)return l>=131072&&l<=196605||l>=196608&&l<=262141?o.push(gt):o.push(Ze);o.push(v)}),[n,o,a]},Zn=function(r,e,o,n){var a=n[o];if(Array.isArray(r)?r.indexOf(a)!==-1:r===a)for(var l=o;l<=n.length;){l++;var p=n[l];if(p===e)return!0;if(p!==YA)break}if(a===YA)for(var l=o;l>0;){l--;var v=n[l];if(Array.isArray(r)?r.indexOf(v)!==-1:r===v)for(var w=o;w<=n.length;){w++;var p=n[w];if(p===e)return!0;if(p!==YA)break}if(v!==YA)break}return!1},qn=function(r,e){for(var o=r;o>=0;){var n=e[o];if(n===YA)o--;else return n}return 0},Vo=function(r,e,o,n,a){if(o[n]===0)return pA;var l=n-1;if(Array.isArray(a)&&a[l]===!0)return pA;var p=l-1,v=l+1,w=e[l],E=p>=0?e[p]:0,I=e[v];if(w===D&&I===X)return pA;if(fe.indexOf(w)!==-1)return lA;if(fe.indexOf(I)!==-1||yr.indexOf(I)!==-1)return pA;if(qn(l,e)===ie)return Bt;if(zn.get(r[l])===Pe||(w===Ft||w===$r)&&zn.get(r[v])===Pe||w===cA||I===cA||w===He||[YA,vr,xe].indexOf(w)===-1&&I===He||[je,mr,qr,ft,ze].indexOf(I)!==-1||qn(l,e)===qt||Zn(Cr,qt,l,e)||Zn([je,mr],Qr,l,e)||Zn(Po,Po,l,e))return pA;if(w===YA)return Bt;if(w===Cr||I===Cr)return pA;if(I===Zt||w===Zt)return Bt;if([vr,xe,Qr].indexOf(I)!==-1||w===ls||E===Jn&&Ar.indexOf(w)!==-1||w===ze&&I===Jn||I===Xn||$e.indexOf(I)!==-1&&w===he||$e.indexOf(w)!==-1&&I===he||w===Ur&&[gt,Ft,$r].indexOf(I)!==-1||[gt,Ft,$r].indexOf(w)!==-1&&I===$t||$e.indexOf(w)!==-1&&No.indexOf(I)!==-1||No.indexOf(w)!==-1&&$e.indexOf(I)!==-1||[Ur,$t].indexOf(w)!==-1&&(I===he||[qt,xe].indexOf(I)!==-1&&e[v+1]===he)||[qt,xe].indexOf(w)!==-1&&I===he||w===he&&[he,ze,ft].indexOf(I)!==-1)return pA;if([he,ze,ft,je,mr].indexOf(I)!==-1)for(var S=l;S>=0;){var L=e[S];if(L===he)return pA;if([ze,ft].indexOf(L)!==-1)S--;else break}if([Ur,$t].indexOf(I)!==-1)for(var S=[je,mr].indexOf(w)!==-1?p:l;S>=0;){var L=e[S];if(L===he)return pA;if([ze,ft].indexOf(L)!==-1)S--;else break}if(Yn===w&&[Yn,we,An,Te].indexOf(I)!==-1||[we,An].indexOf(w)!==-1&&[we,Fe].indexOf(I)!==-1||[Fe,Te].indexOf(w)!==-1&&I===Fe||Go.indexOf(w)!==-1&&[Xn,$t].indexOf(I)!==-1||Go.indexOf(I)!==-1&&w===Ur||$e.indexOf(w)!==-1&&$e.indexOf(I)!==-1||w===ft&&$e.indexOf(I)!==-1||$e.concat(he).indexOf(w)!==-1&&I===qt&&dt.indexOf(r[v])===-1||$e.concat(he).indexOf(I)!==-1&&w===mr)return pA;if(w===qe&&I===qe){for(var $=o[l],N=1;$>0&&($--,e[$]===qe);)N++;if(N%2!==0)return pA}return w===Ft&&I===$r?pA:Bt},en=function(r,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var o=ko(r,e.lineBreak),n=o[0],a=o[1],l=o[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(a=a.map(function(v){return[he,Ze,jn].indexOf(v)!==-1?gt:v}));var p=e.wordBreak==="keep-all"?l.map(function(v,w){return v&&r[w]>=19968&&r[w]<=40959}):void 0;return[n,a,p]},Xo=function(){function r(e,o,n,a){this.codePoints=e,this.required=o===lA,this.start=n,this.end=a}return r.prototype.slice=function(){return Y.apply(void 0,this.codePoints.slice(this.start,this.end))},r}(),$n=function(r,e){var o=UA(r),n=en(o,e),a=n[0],l=n[1],p=n[2],v=o.length,w=0,E=0;return{next:function(){if(E>=v)return{done:!0,value:null};for(var I=pA;E=tr&&r<=57},ei=function(r){return r>=55296&&r<=57343},pt=function(r){return se(r)||r>=kA&&r<=to||r>=$o&&r<=sn},Es=function(r){return r>=$o&&r<=ys},ro=function(r){return r>=kA&&r<=Ot},bs=function(r){return Es(r)||ro(r)},Is=function(r){return r>=Cs},At=function(r){return r===tn||r===Bs||r===ps},an=function(r){return bs(r)||Is(r)||r===Hr},$A=function(r){return an(r)||se(r)||r===le},ti=function(r){return r>=DA&&r<=on||r===PA||r>=Zo&&r<=Tr||r===qo},Oe=function(r,e){return r!==Et?!1:e!==tn},cn=function(r,e,o){return r===le?an(e)||Oe(e,o):an(r)?!0:!!(r===Et&&Oe(r,e))},ln=function(r,e,o){return r===Le||r===le?se(e)?!0:e===xr&&se(o):se(r===xr?e:r)},ri=function(r){var e=0,o=1;(r[e]===Le||r[e]===le)&&(r[e]===le&&(o=-1),e++);for(var n=[];se(r[e]);)n.push(r[e++]);var a=n.length?parseInt(Y.apply(void 0,n),10):0;r[e]===xr&&e++;for(var l=[];se(r[e]);)l.push(r[e++]);var p=l.length,v=p?parseInt(Y.apply(void 0,l),10):0;(r[e]===Ai||r[e]===Lr)&&e++;var w=1;(r[e]===Le||r[e]===le)&&(r[e]===le&&(w=-1),e++);for(var E=[];se(r[e]);)E.push(r[e++]);var I=E.length?parseInt(Y.apply(void 0,E),10):0;return o*(a+v*Math.pow(10,-p))*Math.pow(10,w*I)},Ss={type:2},Or={type:3},Hs={type:4},Dr={type:13},ni={type:8},xs={type:21},Kr={type:9},no={type:10},un={type:11},Ts={type:12},et={type:14},fn={type:23},gn={type:1},Ls={type:25},oo={type:24},Os={type:26},dn={type:27},Ds={type:28},io={type:29},so={type:31},Bn={type:32},oi=function(){function r(){this._value=[]}return r.prototype.write=function(e){this._value=this._value.concat(UA(e))},r.prototype.read=function(){for(var e=[],o=this.consumeToken();o!==Bn;)e.push(o),o=this.consumeToken();return e},r.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case bt:return this.consumeStringToken(bt);case er:var o=this.peekCodePoint(0),n=this.peekCodePoint(1),a=this.peekCodePoint(2);if($A(o)||Oe(n,a)){var l=cn(o,n,a)?ds:Wo,p=this.consumeName();return{type:5,value:p,flags:l}}break;case hs:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),Dr;break;case Sr:return this.consumeStringToken(Sr);case rn:return Ss;case It:return Or;case Lt:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),et;break;case Le:if(ln(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Ao:return Hs;case le:var v=e,w=this.peekCodePoint(0),E=this.peekCodePoint(1);if(ln(v,w,E))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(cn(v,w,E))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(w===le&&E===Ht)return this.consumeCodePoint(),this.consumeCodePoint(),oo;break;case xr:if(ln(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case br:if(this.peekCodePoint(0)===Lt)for(this.consumeCodePoint();;){var I=this.consumeCodePoint();if(I===Lt&&(I=this.consumeCodePoint(),I===br))return this.consumeToken();if(I===Ne)return this.consumeToken()}break;case Us:return Os;case eo:return dn;case St:if(this.peekCodePoint(0)===vs&&this.peekCodePoint(1)===le&&this.peekCodePoint(2)===le)return this.consumeCodePoint(),this.consumeCodePoint(),Ls;break;case Jo:var S=this.peekCodePoint(0),L=this.peekCodePoint(1),$=this.peekCodePoint(2);if(cn(S,L,$)){var p=this.consumeName();return{type:7,value:p}}break;case Yo:return Ds;case Et:if(Oe(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case ms:return io;case xt:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),ni;break;case Qs:return un;case jo:return Ts;case ve:case Fs:var N=this.peekCodePoint(0),z=this.peekCodePoint(1);return N===Le&&(pt(z)||z===Tt)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case te:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),Kr;if(this.peekCodePoint(0)===te)return this.consumeCodePoint(),xs;break;case nn:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),no;break;case Ne:return Bn}return At(e)?(this.consumeWhiteSpace(),so):se(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):an(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:Y(e)}},r.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e=="undefined"?-1:e},r.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},r.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},r.prototype.consumeUnicodeRangeToken=function(){for(var e=[],o=this.consumeCodePoint();pt(o)&&e.length<6;)e.push(o),o=this.consumeCodePoint();for(var n=!1;o===Tt&&e.length<6;)e.push(o),o=this.consumeCodePoint(),n=!0;if(n){var a=parseInt(Y.apply(void 0,e.map(function(w){return w===Tt?tr:w})),16),l=parseInt(Y.apply(void 0,e.map(function(w){return w===Tt?to:w})),16);return{type:30,start:a,end:l}}var p=parseInt(Y.apply(void 0,e),16);if(this.peekCodePoint(0)===le&&pt(this.peekCodePoint(1))){this.consumeCodePoint(),o=this.consumeCodePoint();for(var v=[];pt(o)&&v.length<6;)v.push(o),o=this.consumeCodePoint();var l=parseInt(Y.apply(void 0,v),16);return{type:30,start:p,end:l}}else return{type:30,start:p,end:p}},r.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===rn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===rn?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},r.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ne)return{type:22,value:""};var o=this.peekCodePoint(0);if(o===Sr||o===bt){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ne||this.peekCodePoint(0)===It)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),fn)}for(;;){var a=this.consumeCodePoint();if(a===Ne||a===It)return{type:22,value:Y.apply(void 0,e)};if(At(a))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Ne||this.peekCodePoint(0)===It?(this.consumeCodePoint(),{type:22,value:Y.apply(void 0,e)}):(this.consumeBadUrlRemnants(),fn);if(a===bt||a===Sr||a===rn||ti(a))return this.consumeBadUrlRemnants(),fn;if(a===Et)if(Oe(a,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),fn;else e.push(a)}},r.prototype.consumeWhiteSpace=function(){for(;At(this.peekCodePoint(0));)this.consumeCodePoint()},r.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===It||e===Ne)return;Oe(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},r.prototype.consumeStringSlice=function(e){for(var o=5e4,n="";e>0;){var a=Math.min(o,e);n+=Y.apply(void 0,this._value.splice(0,a)),e-=a}return this._value.shift(),n},r.prototype.consumeStringToken=function(e){var o="",n=0;do{var a=this._value[n];if(a===Ne||a===void 0||a===e)return o+=this.consumeStringSlice(n),{type:0,value:o};if(a===tn)return this._value.splice(0,n),gn;if(a===Et){var l=this._value[n+1];l!==Ne&&l!==void 0&&(l===tn?(o+=this.consumeStringSlice(n),n=-1,this._value.shift()):Oe(a,l)&&(o+=this.consumeStringSlice(n),o+=Y(this.consumeEscapedCodePoint()),n=-1))}n++}while(!0)},r.prototype.consumeNumber=function(){var e=[],o=Fr,n=this.peekCodePoint(0);for((n===Le||n===le)&&e.push(this.consumeCodePoint());se(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var a=this.peekCodePoint(1);if(n===xr&&se(a))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),o=Er;se(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),a=this.peekCodePoint(1);var l=this.peekCodePoint(2);if((n===Ai||n===Lr)&&((a===Le||a===le)&&se(l)||se(a)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),o=Er;se(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[ri(e),o]},r.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),o=e[0],n=e[1],a=this.peekCodePoint(0),l=this.peekCodePoint(1),p=this.peekCodePoint(2);if(cn(a,l,p)){var v=this.consumeName();return{type:15,number:o,flags:n,unit:v}}return a===ws?(this.consumeCodePoint(),{type:16,number:o,flags:n}):{type:17,number:o,flags:n}},r.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(pt(e)){for(var o=Y(e);pt(this.peekCodePoint(0))&&o.length<6;)o+=Y(this.consumeCodePoint());At(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(o,16);return n===0||ei(n)||n>1114111?zo:n}return e===Ne?zo:e},r.prototype.consumeName=function(){for(var e="";;){var o=this.consumeCodePoint();if($A(o))e+=Y(o);else if(Oe(o,this.peekCodePoint(0)))e+=Y(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(o),e}},r}(),rr=function(){function r(e){this._tokens=e}return r.create=function(e){var o=new oi;return o.write(e),new r(o.read())},r.parseValue=function(e){return r.create(e).parseComponentValue()},r.parseValues=function(e){return r.create(e).parseComponentValues()},r.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var o=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return o;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},r.prototype.parseComponentValues=function(){for(var e=[];;){var o=this.consumeComponentValue();if(o.type===32)return e;e.push(o),e.push()}},r.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},r.prototype.consumeSimpleBlock=function(e){for(var o={type:e,values:[]},n=this.consumeToken();;){if(n.type===32||si(n,e))return o;this.reconsumeToken(n),o.values.push(this.consumeComponentValue()),n=this.consumeToken()}},r.prototype.consumeFunction=function(e){for(var o={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(n.type===32||n.type===3)return o;this.reconsumeToken(n),o.values.push(this.consumeComponentValue())}},r.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e=="undefined"?Bn:e},r.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},r}(),Mr=function(r){return r.type===15},tt=function(r){return r.type===17},bA=function(r){return r.type===20},ii=function(r){return r.type===0},ao=function(r,e){return bA(r)&&r.value===e},Rr=function(r){return r.type!==31},ht=function(r){return r.type!==31&&r.type!==4},De=function(r){var e=[],o=[];return r.forEach(function(n){if(n.type===4){if(o.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(o),o=[];return}n.type!==31&&o.push(n)}),o.length&&e.push(o),e},si=function(r,e){return e===11&&r.type===12||e===28&&r.type===29?!0:e===2&&r.type===3},wt=function(r){return r.type===17||r.type===15},qA=function(r){return r.type===16||wt(r)},pn=function(r){return r.length>1?[r[0],r[1]]:[r[0]]},ae={type:17,number:0,flags:Fr},nr={type:16,number:50,flags:Fr},Ge={type:16,number:100,flags:Fr},or=function(r,e,o){var n=r[0],a=r[1];return[KA(n,e),KA(typeof a!="undefined"?a:n,o)]},KA=function(r,e){if(r.type===16)return r.number/100*e;if(Mr(r))switch(r.unit){case"rem":case"em":return 16*r.number;case"px":default:return r.number}return r.number},hn="deg",ai="grad",ci="rad",ir="turn",sr={name:"angle",parse:function(r,e){if(e.type===15)switch(e.unit){case hn:return Math.PI*e.number/180;case ai:return Math.PI/200*e.number;case ci:return e.number;case ir:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},ar=function(r){return r.type===15&&(r.unit===hn||r.unit===ai||r.unit===ci||r.unit===ir)},li=function(r){var e=r.filter(bA).map(function(o){return o.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ae,ae];case"to top":case"bottom":return me(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ae,Ge];case"to right":case"left":return me(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ge,Ge];case"to bottom":case"top":return me(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ge,ae];case"to left":case"right":return me(270)}return 0},me=function(r){return Math.PI*r/180},vt={name:"color",parse:function(r,e){if(e.type===18){var o=ui[e.name];if(typeof o=="undefined")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return o(r,e.values)}if(e.type===5){if(e.value.length===3){var n=e.value.substring(0,1),a=e.value.substring(1,2),l=e.value.substring(2,3);return rt(parseInt(n+n,16),parseInt(a+a,16),parseInt(l+l,16),1)}if(e.value.length===4){var n=e.value.substring(0,1),a=e.value.substring(1,2),l=e.value.substring(2,3),p=e.value.substring(3,4);return rt(parseInt(n+n,16),parseInt(a+a,16),parseInt(l+l,16),parseInt(p+p,16)/255)}if(e.value.length===6){var n=e.value.substring(0,2),a=e.value.substring(2,4),l=e.value.substring(4,6);return rt(parseInt(n,16),parseInt(a,16),parseInt(l,16),1)}if(e.value.length===8){var n=e.value.substring(0,2),a=e.value.substring(2,4),l=e.value.substring(4,6),p=e.value.substring(6,8);return rt(parseInt(n,16),parseInt(a,16),parseInt(l,16),parseInt(p,16)/255)}}if(e.type===20){var v=MA[e.value.toUpperCase()];if(typeof v!="undefined")return v}return MA.TRANSPARENT}},ge=function(r){return(255&r)===0},Ae=function(r){var e=255&r,o=255&r>>8,n=255&r>>16,a=255&r>>24;return e<255?"rgba("+a+","+n+","+o+","+e/255+")":"rgb("+a+","+n+","+o+")"},rt=function(r,e,o,n){return(r<<24|e<<16|o<<8|Math.round(n*255)<<0)>>>0},co=function(r,e){if(r.type===17)return r.number;if(r.type===16){var o=e===3?1:255;return e===3?r.number/100*o:Math.round(r.number/100*o)}return 0},re=function(r,e){var o=e.filter(ht);if(o.length===3){var n=o.map(co),a=n[0],l=n[1],p=n[2];return rt(a,l,p,1)}if(o.length===4){var v=o.map(co),a=v[0],l=v[1],p=v[2],w=v[3];return rt(a,l,p,w)}return 0};function lo(r,e,o){return o<0&&(o+=1),o>=1&&(o-=1),o<1/6?(e-r)*o*6+r:o<1/2?e:o<2/3?(e-r)*6*(2/3-o)+r:r}var uo=function(r,e){var o=e.filter(ht),n=o[0],a=o[1],l=o[2],p=o[3],v=(n.type===17?me(n.number):sr.parse(r,n))/(Math.PI*2),w=qA(a)?a.number/100:0,E=qA(l)?l.number/100:0,I=typeof p!="undefined"&&qA(p)?KA(p,1):1;if(w===0)return rt(E*255,E*255,E*255,1);var S=E<=.5?E*(w+1):E+w-E*w,L=E*2-S,$=lo(L,S,v+1/3),N=lo(L,S,v),z=lo(L,S,v-1/3);return rt($*255,N*255,z*255,I)},ui={hsl:uo,hsla:uo,rgb:re,rgba:re},Dt=function(r,e){return vt.parse(r,rr.create(e).parseComponentValue())},MA={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},Ks={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(r,e){return e.map(function(o){if(bA(o))switch(o.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},fi={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wn=function(r,e){var o=vt.parse(r,e[0]),n=e[1];return n&&qA(n)?{color:o,stop:n}:{color:o,stop:null}},gi=function(r,e){var o=r[0],n=r[r.length-1];o.stop===null&&(o.stop=ae),n.stop===null&&(n.stop=Ge);for(var a=[],l=0,p=0;pl?a.push(w):a.push(l),l=w}else a.push(null)}for(var E=null,p=0;pp.optimumDistance)?{optimumCorner:v,optimumDistance:I}:p},{optimumDistance:a?1/0:-1/0,optimumCorner:null}).optimumCorner},di=function(r,e,o,n,a){var l=0,p=0;switch(r.size){case 0:r.shape===0?l=p=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(o),Math.abs(o-a)):r.shape===1&&(l=Math.min(Math.abs(e),Math.abs(e-n)),p=Math.min(Math.abs(o),Math.abs(o-a)));break;case 2:if(r.shape===0)l=p=Math.min(Qe(e,o),Qe(e,o-a),Qe(e-n,o),Qe(e-n,o-a));else if(r.shape===1){var v=Math.min(Math.abs(o),Math.abs(o-a))/Math.min(Math.abs(e),Math.abs(e-n)),w=fo(n,a,e,o,!0),E=w[0],I=w[1];l=Qe(E-e,(I-o)/v),p=v*l}break;case 1:r.shape===0?l=p=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(o),Math.abs(o-a)):r.shape===1&&(l=Math.max(Math.abs(e),Math.abs(e-n)),p=Math.max(Math.abs(o),Math.abs(o-a)));break;case 3:if(r.shape===0)l=p=Math.max(Qe(e,o),Qe(e,o-a),Qe(e-n,o),Qe(e-n,o-a));else if(r.shape===1){var v=Math.max(Math.abs(o),Math.abs(o-a))/Math.max(Math.abs(e),Math.abs(e-n)),S=fo(n,a,e,o,!1),E=S[0],I=S[1];l=Qe(E-e,(I-o)/v),p=v*l}break}return Array.isArray(r.size)&&(l=KA(r.size[0],n),p=r.size.length===2?KA(r.size[1],a):l),[l,p]},_r=function(r,e){var o=me(180),n=[];return De(e).forEach(function(a,l){if(l===0){var p=a[0];if(p.type===20&&p.value==="to"){o=li(a);return}else if(ar(p)){o=sr.parse(r,p);return}}var v=wn(r,a);n.push(v)}),{angle:o,stops:n,type:1}},Kt=function(r,e){var o=me(180),n=[];return De(e).forEach(function(a,l){if(l===0){var p=a[0];if(p.type===20&&["top","left","right","bottom"].indexOf(p.value)!==-1){o=li(a);return}else if(ar(p)){o=(sr.parse(r,p)+me(270))%me(360);return}}var v=wn(r,a);n.push(v)}),{angle:o,stops:n,type:1}},Ms=function(r,e){var o=me(180),n=[],a=1,l=0,p=3,v=[];return De(e).forEach(function(w,E){var I=w[0];if(E===0){if(bA(I)&&I.value==="linear"){a=1;return}else if(bA(I)&&I.value==="radial"){a=2;return}}if(I.type===18){if(I.name==="from"){var S=vt.parse(r,I.values[0]);n.push({stop:ae,color:S})}else if(I.name==="to"){var S=vt.parse(r,I.values[0]);n.push({stop:Ge,color:S})}else if(I.name==="color-stop"){var L=I.values.filter(ht);if(L.length===2){var S=vt.parse(r,L[1]),$=L[0];tt($)&&n.push({stop:{type:16,number:$.number*100,flags:$.flags},color:S})}}}}),a===1?{angle:(o+me(180))%me(360),stops:n,type:a}:{size:p,shape:l,stops:n,position:v,type:a}},Bi="closest-side",Mt="farthest-side",go="closest-corner",Qn="farthest-corner",pi="circle",Bo="ellipse",hi="cover",wi="contain",Rs=function(r,e){var o=0,n=3,a=[],l=[];return De(e).forEach(function(p,v){var w=!0;if(v===0){var E=!1;w=p.reduce(function(S,L){if(E)if(bA(L))switch(L.value){case"center":return l.push(nr),S;case"top":case"left":return l.push(ae),S;case"right":case"bottom":return l.push(Ge),S}else(qA(L)||wt(L))&&l.push(L);else if(bA(L))switch(L.value){case pi:return o=0,!1;case Bo:return o=1,!1;case"at":return E=!0,!1;case Bi:return n=0,!1;case hi:case Mt:return n=1,!1;case wi:case go:return n=2,!1;case Qn:return n=3,!1}else if(wt(L)||qA(L))return Array.isArray(n)||(n=[]),n.push(L),!1;return S},w)}if(w){var I=wn(r,p);a.push(I)}}),{size:n,shape:o,stops:a,position:l,type:2}},ke=function(r,e){var o=0,n=3,a=[],l=[];return De(e).forEach(function(p,v){var w=!0;if(v===0?w=p.reduce(function(I,S){if(bA(S))switch(S.value){case"center":return l.push(nr),!1;case"top":case"left":return l.push(ae),!1;case"right":case"bottom":return l.push(Ge),!1}else if(qA(S)||wt(S))return l.push(S),!1;return I},w):v===1&&(w=p.reduce(function(I,S){if(bA(S))switch(S.value){case pi:return o=0,!1;case Bo:return o=1,!1;case wi:case Bi:return n=0,!1;case Mt:return n=1,!1;case go:return n=2,!1;case hi:case Qn:return n=3,!1}else if(wt(S)||qA(S))return Array.isArray(n)||(n=[]),n.push(S),!1;return I},w)),w){var E=wn(r,p);a.push(E)}}),{size:n,shape:o,stops:a,position:l,type:2}},vi=function(r){return r.type===1},_s=function(r){return r.type===2},Pr={name:"image",parse:function(r,e){if(e.type===22){var o={url:e.value,type:0};return r.cache.addImage(e.value),o}if(e.type===18){var n=Cn[e.name];if(typeof n=="undefined")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(r,e.values)}throw new Error("Unsupported image type "+e.type)}};function de(r){return!(r.type===20&&r.value==="none")&&(r.type!==18||!!Cn[r.name])}var Cn={"linear-gradient":_r,"-moz-linear-gradient":Kt,"-ms-linear-gradient":Kt,"-o-linear-gradient":Kt,"-webkit-linear-gradient":Kt,"radial-gradient":Rs,"-moz-radial-gradient":ke,"-ms-radial-gradient":ke,"-o-radial-gradient":ke,"-webkit-radial-gradient":ke,"-webkit-gradient":Ms},mi={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(r,e){if(e.length===0)return[];var o=e[0];return o.type===20&&o.value==="none"?[]:e.filter(function(n){return ht(n)&&de(n)}).map(function(n){return Pr.parse(r,n)})}},Ps={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(r,e){return e.map(function(o){if(bA(o))switch(o.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ve={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(r,e){return De(e).map(function(o){return o.filter(qA)}).map(pn)}},Qi={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(r,e){return De(e).map(function(o){return o.filter(bA).map(function(n){return n.value}).join(" ")}).map(Ci)}},Ci=function(r){switch(r){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}},Rt;(function(r){r.AUTO="auto",r.CONTAIN="contain",r.COVER="cover"})(Rt||(Rt={}));var Ui={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(r,e){return De(e).map(function(o){return o.filter(Ns)})}},Ns=function(r){return bA(r)||qA(r)},nt=function(r){return{name:"border-"+r+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Gs=nt("top"),yi=nt("right"),ks=nt("bottom"),cr=nt("left"),Un=function(r){return{name:"border-radius-"+r,initialValue:"0 0",prefix:!1,type:1,parse:function(e,o){return pn(o.filter(qA))}}},Vs=Un("top-left"),Fi=Un("top-right"),Xs=Un("bottom-right"),po=Un("bottom-left"),Ke=function(r){return{name:"border-"+r+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,o){switch(o){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ei=Ke("top"),Ws=Ke("right"),ot=Ke("bottom"),bi=Ke("left"),Nr=function(r){return{name:"border-"+r+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,o){return Mr(o)?o.number:0}}},Js=Nr("top"),lr=Nr("right"),Ii=Nr("bottom"),Ys=Nr("left"),ho={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wo={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(r,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},ur={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(r,e){return e.filter(bA).reduce(function(o,n){return o|js(n.value)},0)}},js=function(r){switch(r){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},yn={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(r,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},zs={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(r,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Fn;(function(r){r.NORMAL="normal",r.STRICT="strict"})(Fn||(Fn={}));var _t={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(r,e){switch(e){case"strict":return Fn.STRICT;case"normal":default:return Fn.NORMAL}}},vo={name:"line-height",initialValue:"normal",prefix:!1,type:4},Si=function(r,e){return bA(r)&&r.value==="normal"?1.2*e:r.type===17?e*r.number:qA(r)?KA(r,e):e},mo={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(r,e){return e.type===20&&e.value==="none"?null:Pr.parse(r,e)}},Zs={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(r,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Gr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(r,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}}},Pt=function(r){return{name:"margin-"+r,initialValue:"0",prefix:!1,type:4}},qs=Pt("top"),kr=Pt("right"),En=Pt("bottom"),mt=Pt("left"),Hi={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(r,e){return e.filter(bA).map(function(o){switch(o.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Qo={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(r,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},bn=function(r){return{name:"padding-"+r,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},In=bn("top"),$s=bn("right"),Aa=bn("bottom"),ea=bn("left"),Sn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(r,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},ta={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(r,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ra={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(r,e){return e.length===1&&ao(e[0],"none")?[]:De(e).map(function(o){for(var n={color:MA.TRANSPARENT,offsetX:ae,offsetY:ae,blur:ae},a=0,l=0;l1?1:0],this.overflowWrap=R(e,Qo,o.overflowWrap),this.paddingTop=R(e,In,o.paddingTop),this.paddingRight=R(e,$s,o.paddingRight),this.paddingBottom=R(e,Aa,o.paddingBottom),this.paddingLeft=R(e,ea,o.paddingLeft),this.paintOrder=R(e,_,o.paintOrder),this.position=R(e,ta,o.position),this.textAlign=R(e,Sn,o.textAlign),this.textDecorationColor=R(e,A,(n=o.textDecorationColor)!==null&&n!==void 0?n:o.color),this.textDecorationLine=R(e,t,(a=o.textDecorationLine)!==null&&a!==void 0?a:o.textDecoration),this.textShadow=R(e,ra,o.textShadow),this.textTransform=R(e,na,o.textTransform),this.transform=R(e,Hn,o.transform),this.transformOrigin=R(e,aa,o.transformOrigin),this.visibility=R(e,Ee,o.visibility),this.webkitTextStrokeColor=R(e,W,o.webkitTextStrokeColor),this.webkitTextStrokeWidth=R(e,P,o.webkitTextStrokeWidth),this.wordBreak=R(e,ca,o.wordBreak),this.zIndex=R(e,Gt,o.zIndex)}return r.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},r.prototype.isTransparent=function(){return ge(this.backgroundColor)},r.prototype.isTransformed=function(){return this.transform!==null},r.prototype.isPositioned=function(){return this.position!==0},r.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},r.prototype.isFloating=function(){return this.float!==0},r.prototype.isInlineLevel=function(){return u(this.display,4)||u(this.display,33554432)||u(this.display,268435456)||u(this.display,536870912)||u(this.display,67108864)||u(this.display,134217728)},r}(),sA=function(){function r(e,o){this.content=R(e,g,o.content),this.quotes=R(e,x,o.quotes)}return r}(),dA=function(){function r(e,o){this.counterIncrement=R(e,m,o.counterIncrement),this.counterReset=R(e,C,o.counterReset)}return r}(),R=function(r,e,o){var n=new oi,a=o!==null&&typeof o!="undefined"?o.toString():e.initialValue;n.write(a);var l=new rr(n.read());switch(e.type){case 2:var p=l.parseComponentValue();return e.parse(r,bA(p)?p.value:e.initialValue);case 0:return e.parse(r,l.parseComponentValue());case 1:return e.parse(r,l.parseComponentValues());case 4:return l.parseComponentValue();case 3:switch(e.format){case"angle":return sr.parse(r,l.parseComponentValue());case"color":return vt.parse(r,l.parseComponentValue());case"image":return Pr.parse(r,l.parseComponentValue());case"length":var v=l.parseComponentValue();return wt(v)?v:ae;case"length-percentage":var w=l.parseComponentValue();return qA(w)?w:ae;case"time":return xn.parse(r,l.parseComponentValue())}break}},RA="data-html2canvas-debug",QA=function(r){var e=r.getAttribute(RA);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},xA=function(r,e){var o=QA(r);return o===1||e===o},jA=function(){function r(e,o){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,xA(o,3))debugger;this.styles=new nA(e,window.getComputedStyle(o,null)),ya(o)&&(this.styles.animationDuration.some(function(n){return n>0})&&(o.style.animationDuration="0s"),this.styles.transform!==null&&(o.style.transform="none")),this.bounds=J(this.context,o),xA(o,4)&&(this.flags|=16)}return r}(),it="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAw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AZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAI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4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Tn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Uo=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),xi=0;xi>4,I[a++]=(p&15)<<4|v>>2,I[a++]=(v&3)<<6|w&63;return E},Ou=function(r){for(var e=r.length,o=[],n=0;n>Xr,Mu=1<>Xr,_u=ic+Ru,Pu=_u,Nu=2048>>6,Gu=Pu+Nu,ku=65536>>ua,Vu=1<=0){if(e<55296||e>56319&&e<=65535)return o=this.index[e>>Xr],o=(o<>Xr)],o=(o<>ua),o=this.index[o],o+=e>>Xr&Xu,o=this.index[o],o=(o<=55296&&a<=56319&&o>10)+55296,p%1024+56320)),(a+1===o||n.length>16384)&&(l+=String.fromCharCode.apply(String,n),n.length=0)}return l},Af=Ju(it),Xe="\xD7",va="\xF7",ef=function(r){return Af.get(r)},tf=function(r,e,o){var n=o-2,a=e[n],l=e[o-1],p=e[o];if(l===da&&p===Ba)return Xe;if(l===da||l===Ba||l===cc||p===da||p===Ba||p===cc)return va;if(l===uc&&[uc,pa,fc,gc].indexOf(p)!==-1||(l===fc||l===pa)&&(p===pa||p===ha)||(l===gc||l===ha)&&p===ha||p===dc||p===lc||p===Zu||l===zu)return Xe;if(l===dc&&p===Bc){for(;a===lc;)a=e[--n];if(a===Bc)return Xe}if(l===wa&&p===wa){for(var v=0;a===wa;)v++,a=e[--n];if(v%2===0)return Xe}return va},rf=function(r){var e=qu(r),o=e.length,n=0,a=0,l=e.map(ef);return{next:function(){if(n>=o)return{done:!0,value:null};for(var p=Xe;np.x||I.y>p.y;return p=I,E===0?!0:S});return r.body.removeChild(e),v},af=function(){return typeof new Image().crossOrigin!="undefined"},cf=function(){return typeof new XMLHttpRequest().responseType=="string"},lf=function(r){var e=new Image,o=r.createElement("canvas"),n=o.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,";try{n.drawImage(e,0,0),o.toDataURL()}catch{return!1}return!0},pc=function(r){return r[0]===0&&r[1]===255&&r[2]===0&&r[3]===255},uf=function(r){var e=r.createElement("canvas"),o=100;e.width=o,e.height=o;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,o,o);var a=new Image,l=e.toDataURL();a.src=l;var p=ma(o,o,0,0,a);return n.fillStyle="red",n.fillRect(0,0,o,o),hc(p).then(function(v){n.drawImage(v,0,0);var w=n.getImageData(0,0,o,o).data;n.fillStyle="red",n.fillRect(0,0,o,o);var E=r.createElement("div");return E.style.backgroundImage="url("+l+")",E.style.height=o+"px",pc(w)?hc(ma(o,o,0,0,E)):Promise.reject(!1)}).then(function(v){return n.drawImage(v,0,0),pc(n.getImageData(0,0,o,o).data)}).catch(function(){return!1})},ma=function(r,e,o,n,a){var l="http://www.w3.org/2000/svg",p=document.createElementNS(l,"svg"),v=document.createElementNS(l,"foreignObject");return p.setAttributeNS(null,"width",r.toString()),p.setAttributeNS(null,"height",e.toString()),v.setAttributeNS(null,"width","100%"),v.setAttributeNS(null,"height","100%"),v.setAttributeNS(null,"x",o.toString()),v.setAttributeNS(null,"y",n.toString()),v.setAttributeNS(null,"externalResourcesRequired","true"),p.appendChild(v),v.appendChild(a),p},hc=function(r){return new Promise(function(e,o){var n=new Image;n.onload=function(){return e(n)},n.onerror=o,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(r))})},Be={get SUPPORT_RANGE_BOUNDS(){var r=of(document);return Object.defineProperty(Be,"SUPPORT_RANGE_BOUNDS",{value:r}),r},get SUPPORT_WORD_BREAKING(){var r=Be.SUPPORT_RANGE_BOUNDS&&sf(document);return Object.defineProperty(Be,"SUPPORT_WORD_BREAKING",{value:r}),r},get SUPPORT_SVG_DRAWING(){var r=lf(document);return Object.defineProperty(Be,"SUPPORT_SVG_DRAWING",{value:r}),r},get SUPPORT_FOREIGNOBJECT_DRAWING(){var r=typeof Array.from=="function"&&typeof window.fetch=="function"?uf(document):Promise.resolve(!1);return Object.defineProperty(Be,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:r}),r},get SUPPORT_CORS_IMAGES(){var r=af();return Object.defineProperty(Be,"SUPPORT_CORS_IMAGES",{value:r}),r},get SUPPORT_RESPONSE_TYPE(){var r=cf();return Object.defineProperty(Be,"SUPPORT_RESPONSE_TYPE",{value:r}),r},get SUPPORT_CORS_XHR(){var r="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Be,"SUPPORT_CORS_XHR",{value:r}),r},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var r=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Be,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:r}),r}},yo=function(){function r(e,o){this.text=e,this.bounds=o}return r}(),ff=function(r,e,o,n){var a=Bf(e,o),l=[],p=0;return a.forEach(function(v){if(o.textDecorationLine.length||v.trim().length>0)if(Be.SUPPORT_RANGE_BOUNDS){var w=wc(n,p,v.length).getClientRects();if(w.length>1){var E=Qa(v),I=0;E.forEach(function(L){l.push(new yo(L,K.fromDOMRectList(r,wc(n,I+p,L.length).getClientRects()))),I+=L.length})}else l.push(new yo(v,K.fromDOMRectList(r,w)))}else{var S=n.splitText(v.length);l.push(new yo(v,gf(r,n))),n=S}else Be.SUPPORT_RANGE_BOUNDS||(n=n.splitText(v.length));p+=v.length}),l},gf=function(r,e){var o=e.ownerDocument;if(o){var n=o.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var a=e.parentNode;if(a){a.replaceChild(n,e);var l=J(r,n);return n.firstChild&&a.replaceChild(n.firstChild,n),l}}return K.EMPTY},wc=function(r,e,o){var n=r.ownerDocument;if(!n)throw new Error("Node has no owner document");var a=n.createRange();return a.setStart(r,e),a.setEnd(r,e+o),a},Qa=function(r){if(Be.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(r)).map(function(o){return o.segment})}return nf(r)},df=function(r,e){if(Be.SUPPORT_NATIVE_TEXT_SEGMENTATION){var o=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(o.segment(r)).map(function(n){return n.segment})}return hf(r,e)},Bf=function(r,e){return e.letterSpacing!==0?Qa(r):df(r,e)},pf=[32,160,4961,65792,65793,4153,4241],hf=function(r,e){for(var o=$n(r,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),n=[],a,l=function(){if(a.value){var p=a.value.slice(),v=UA(p),w="";v.forEach(function(E){pf.indexOf(E)===-1?w+=Y(E):(w.length&&n.push(w),n.push(Y(E)),w="")}),w.length&&n.push(w)}};!(a=o.next()).done;)l();return n},wf=function(){function r(e,o,n){this.text=vf(o.data,n.textTransform),this.textBounds=ff(e,this.text,n,o)}return r}(),vf=function(r,e){switch(e){case 1:return r.toLowerCase();case 3:return r.replace(mf,Qf);case 2:return r.toUpperCase();default:return r}},mf=/(^|\s|:|-|\(|\))([a-z])/g,Qf=function(r,e,o){return r.length>0?e+o.toUpperCase():r},vc=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this;return a.src=n.currentSrc||n.src,a.intrinsicWidth=n.naturalWidth,a.intrinsicHeight=n.naturalHeight,a.context.cache.addImage(a.src),a}return e}(jA),mc=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this;return a.canvas=n,a.intrinsicWidth=n.width,a.intrinsicHeight=n.height,a}return e}(jA),Qc=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this,l=new XMLSerializer,p=J(o,n);return n.setAttribute("width",p.width+"px"),n.setAttribute("height",p.height+"px"),a.svg="data:image/svg+xml,"+encodeURIComponent(l.serializeToString(n)),a.intrinsicWidth=n.width.baseVal.value,a.intrinsicHeight=n.height.baseVal.value,a.context.cache.addImage(a.svg),a}return e}(jA),Cc=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this;return a.value=n.value,a}return e}(jA),Ca=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this;return a.start=n.start,a.reversed=typeof n.reversed=="boolean"&&n.reversed===!0,a}return e}(jA),Cf=[{type:15,flags:0,unit:"px",number:3}],Uf=[{type:16,flags:0,number:50}],yf=function(r){return r.width>r.height?new K(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width0)o.textNodes.push(new wf(r,a,o.styles));else if(Ln(a))if(Dc(a)&&a.assignedNodes)a.assignedNodes().forEach(function(v){return Di(r,v,o,n)});else{var p=bc(r,a);p.styles.isVisible()&&(If(a,p,n)?p.flags|=4:Sf(p.styles)&&(p.flags|=2),bf.indexOf(a.tagName)!==-1&&(p.flags|=8),o.elements.push(p),a.slot,a.shadowRoot?Di(r,a.shadowRoot,p,n):!Mi(a)&&!Hc(a)&&!Ri(a)&&Di(r,a,p,n))}},bc=function(r,e){return Ea(e)?new vc(r,e):xc(e)?new mc(r,e):Hc(e)?new Qc(r,e):Hf(e)?new Cc(r,e):xf(e)?new Ca(r,e):Tf(e)?new Ua(r,e):Ri(e)?new yc(r,e):Mi(e)?new Fc(r,e):Lc(e)?new Ec(r,e):new jA(r,e)},Ic=function(r,e){var o=bc(r,e);return o.flags|=4,Di(r,e,o,o),o},If=function(r,e,o){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Fa(r)&&o.styles.isTransparent()},Sf=function(r){return r.isPositioned()||r.isFloating()},Sc=function(r){return r.nodeType===Node.TEXT_NODE},Ln=function(r){return r.nodeType===Node.ELEMENT_NODE},ya=function(r){return Ln(r)&&typeof r.style!="undefined"&&!Ki(r)},Ki=function(r){return typeof r.className=="object"},Hf=function(r){return r.tagName==="LI"},xf=function(r){return r.tagName==="OL"},Tf=function(r){return r.tagName==="INPUT"},Lf=function(r){return r.tagName==="HTML"},Hc=function(r){return r.tagName==="svg"},Fa=function(r){return r.tagName==="BODY"},xc=function(r){return r.tagName==="CANVAS"},Tc=function(r){return r.tagName==="VIDEO"},Ea=function(r){return r.tagName==="IMG"},Lc=function(r){return r.tagName==="IFRAME"},Oc=function(r){return r.tagName==="STYLE"},Of=function(r){return r.tagName==="SCRIPT"},Mi=function(r){return r.tagName==="TEXTAREA"},Ri=function(r){return r.tagName==="SELECT"},Dc=function(r){return r.tagName==="SLOT"},Kc=function(r){return r.tagName.indexOf("-")>0},Df=function(){function r(){this.counters={}}return r.prototype.getCounterValue=function(e){var o=this.counters[e];return o&&o.length?o[o.length-1]:1},r.prototype.getCounterValues=function(e){var o=this.counters[e];return o||[]},r.prototype.pop=function(e){var o=this;e.forEach(function(n){return o.counters[n].pop()})},r.prototype.parse=function(e){var o=this,n=e.counterIncrement,a=e.counterReset,l=!0;n!==null&&n.forEach(function(v){var w=o.counters[v.counter];w&&v.increment!==0&&(l=!1,w.length||w.push(1),w[Math.max(0,w.length-1)]+=v.increment)});var p=[];return l&&a.forEach(function(v){var w=o.counters[v.counter];p.push(v.counter),w||(w=o.counters[v.counter]=[]),w.push(v.reset)}),p},r}(),Mc={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"]},Rc={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Kf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Mf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},On=function(r,e,o,n,a,l){return ro?Eo(r,a,l.length>0):n.integers.reduce(function(p,v,w){for(;r>=v;)r-=v,p+=n.values[w];return p},"")+l},_c=function(r,e,o,n){var a="";do o||r--,a=n(r)+a,r/=e;while(r*e>=e);return a},ee=function(r,e,o,n,a){var l=o-e+1;return(r<0?"-":"")+(_c(Math.abs(r),l,n,function(p){return Y(Math.floor(p%l)+e)})+a)},Wr=function(r,e,o){o===void 0&&(o=". ");var n=e.length;return _c(Math.abs(r),n,!1,function(a){return e[Math.floor(a%n)]})+o},Dn=1<<0,fr=1<<1,gr=1<<2,Fo=1<<3,kt=function(r,e,o,n,a,l){if(r<-9999||r>9999)return Eo(r,4,a.length>0);var p=Math.abs(r),v=a;if(p===0)return e[0]+v;for(var w=0;p>0&&w<=4;w++){var E=p%10;E===0&&u(l,Dn)&&v!==""?v=e[E]+v:E>1||E===1&&w===0||E===1&&w===1&&u(l,fr)||E===1&&w===1&&u(l,gr)&&r>100||E===1&&w>1&&u(l,Fo)?v=e[E]+(w>0?o[w-1]:"")+v:E===1&&w>0&&(v=o[w-1]+v),p=Math.floor(p/10)}return(r<0?n:"")+v},Pc="\u5341\u767E\u5343\u842C",Nc="\u62FE\u4F70\u4EDF\u842C",Gc="\u30DE\u30A4\u30CA\u30B9",ba="\uB9C8\uC774\uB108\uC2A4",Eo=function(r,e,o){var n=o?". ":"",a=o?"\u3001":"",l=o?", ":"",p=o?" ":"";switch(e){case 0:return"\u2022"+p;case 1:return"\u25E6"+p;case 2:return"\u25FE"+p;case 5:var v=ee(r,48,57,!0,n);return v.length<4?"0"+v:v;case 4:return Wr(r,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",a);case 6:return On(r,1,3999,Mc,3,n).toLowerCase();case 7:return On(r,1,3999,Mc,3,n);case 8:return ee(r,945,969,!1,n);case 9:return ee(r,97,122,!1,n);case 10:return ee(r,65,90,!1,n);case 11:return ee(r,1632,1641,!0,n);case 12:case 49:return On(r,1,9999,Rc,3,n);case 35:return On(r,1,9999,Rc,3,n).toLowerCase();case 13:return ee(r,2534,2543,!0,n);case 14:case 30:return ee(r,6112,6121,!0,n);case 15:return Wr(r,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",a);case 16:return Wr(r,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",a);case 17:case 48:return kt(r,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Pc,"\u8CA0",a,fr|gr|Fo);case 47:return kt(r,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Nc,"\u8CA0",a,Dn|fr|gr|Fo);case 42:return kt(r,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Pc,"\u8D1F",a,fr|gr|Fo);case 41:return kt(r,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Nc,"\u8D1F",a,Dn|fr|gr|Fo);case 26:return kt(r,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Gc,a,0);case 25:return kt(r,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Gc,a,Dn|fr|gr);case 31:return kt(r,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",ba,l,Dn|fr|gr);case 33:return kt(r,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",ba,l,0);case 32:return kt(r,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",ba,l,Dn|fr|gr);case 18:return ee(r,2406,2415,!0,n);case 20:return On(r,1,19999,Mf,3,n);case 21:return ee(r,2790,2799,!0,n);case 22:return ee(r,2662,2671,!0,n);case 22:return On(r,1,10999,Kf,3,n);case 23:return Wr(r,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Wr(r,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return ee(r,3302,3311,!0,n);case 28:return Wr(r,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",a);case 29:return Wr(r,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",a);case 34:return ee(r,3792,3801,!0,n);case 37:return ee(r,6160,6169,!0,n);case 38:return ee(r,4160,4169,!0,n);case 39:return ee(r,2918,2927,!0,n);case 40:return ee(r,1776,1785,!0,n);case 43:return ee(r,3046,3055,!0,n);case 44:return ee(r,3174,3183,!0,n);case 45:return ee(r,3664,3673,!0,n);case 46:return ee(r,3872,3881,!0,n);case 3:default:return ee(r,48,57,!0,n)}},kc="data-html2canvas-ignore",Vc=function(){function r(e,o,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=o,this.counters=new Df,this.quoteDepth=0,!o.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(o.ownerDocument.documentElement,!1)}return r.prototype.toIFrame=function(e,o){var n=this,a=Rf(e,o);if(!a.contentWindow)return Promise.reject("Unable to find iframe window");var l=e.defaultView.pageXOffset,p=e.defaultView.pageYOffset,v=a.contentWindow,w=v.document,E=Nf(a).then(function(){return y(n,void 0,void 0,function(){var I,S;return b(this,function(L){switch(L.label){case 0:return this.scrolledElements.forEach(Xf),v&&(v.scrollTo(o.left,o.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(v.scrollY!==o.top||v.scrollX!==o.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(v.scrollX-o.left,v.scrollY-o.top,0,0))),I=this.options.onclone,S=this.clonedReferenceElement,typeof S=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:w.fonts&&w.fonts.ready?[4,w.fonts.ready]:[3,2];case 1:L.sent(),L.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Pf(w)]:[3,4];case 3:L.sent(),L.label=4;case 4:return typeof I=="function"?[2,Promise.resolve().then(function(){return I(w,S)}).then(function(){return a})]:[2,a]}})})});return w.open(),w.write(kf(document.doctype)+""),Vf(this.referenceElement.ownerDocument,l,p),w.replaceChild(w.adoptNode(this.documentElement),w.documentElement),w.close(),E},r.prototype.createElementClone=function(e){if(xA(e,2))debugger;if(xc(e))return this.createCanvasClone(e);if(Tc(e))return this.createVideoClone(e);if(Oc(e))return this.createStyleClone(e);var o=e.cloneNode(!1);return Ea(o)&&(Ea(e)&&e.currentSrc&&e.currentSrc!==e.src&&(o.src=e.currentSrc,o.srcset=""),o.loading==="lazy"&&(o.loading="eager")),Kc(o)?this.createCustomElementClone(o):o},r.prototype.createCustomElementClone=function(e){var o=document.createElement("html2canvascustomelement");return Ia(e.style,o),o},r.prototype.createStyleClone=function(e){try{var o=e.sheet;if(o&&o.cssRules){var n=[].slice.call(o.cssRules,0).reduce(function(l,p){return p&&typeof p.cssText=="string"?l+p.cssText:l},""),a=e.cloneNode(!1);return a.textContent=n,a}}catch(l){if(this.context.logger.error("Unable to access cssRules property",l),l.name!=="SecurityError")throw l}return e.cloneNode(!1)},r.prototype.createCanvasClone=function(e){var o;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var a=e.cloneNode(!1);try{a.width=e.width,a.height=e.height;var l=e.getContext("2d"),p=a.getContext("2d");if(p)if(!this.options.allowTaint&&l)p.putImageData(l.getImageData(0,0,e.width,e.height),0,0);else{var v=(o=e.getContext("webgl2"))!==null&&o!==void 0?o:e.getContext("webgl");if(v){var w=v.getContextAttributes();(w==null?void 0:w.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}p.drawImage(e,0,0)}return a}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return a},r.prototype.createVideoClone=function(e){var o=e.ownerDocument.createElement("canvas");o.width=e.offsetWidth,o.height=e.offsetHeight;var n=o.getContext("2d");try{return n&&(n.drawImage(e,0,0,o.width,o.height),this.options.allowTaint||n.getImageData(0,0,o.width,o.height)),o}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var a=e.ownerDocument.createElement("canvas");return a.width=e.offsetWidth,a.height=e.offsetHeight,a},r.prototype.appendChildNode=function(e,o,n){(!Ln(o)||!Of(o)&&!o.hasAttribute(kc)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(o)))&&(!this.options.copyStyles||!Ln(o)||!Oc(o))&&e.appendChild(this.cloneNode(o,n))},r.prototype.cloneChildNodes=function(e,o,n){for(var a=this,l=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;l;l=l.nextSibling)if(Ln(l)&&Dc(l)&&typeof l.assignedNodes=="function"){var p=l.assignedNodes();p.length&&p.forEach(function(v){return a.appendChildNode(o,v,n)})}else this.appendChildNode(o,l,n)},r.prototype.cloneNode=function(e,o){if(Sc(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&Ln(e)&&(ya(e)||Ki(e))){var a=this.createElementClone(e);a.style.transitionProperty="none";var l=n.getComputedStyle(e),p=n.getComputedStyle(e,":before"),v=n.getComputedStyle(e,":after");this.referenceElement===e&&ya(a)&&(this.clonedReferenceElement=a),Fa(a)&&Yf(a);var w=this.counters.parse(new dA(this.context,l)),E=this.resolvePseudoContent(e,a,p,bo.BEFORE);Kc(e)&&(o=!0),Tc(e)||this.cloneChildNodes(e,a,o),E&&a.insertBefore(E,a.firstChild);var I=this.resolvePseudoContent(e,a,v,bo.AFTER);return I&&a.appendChild(I),this.counters.pop(w),(l&&(this.options.copyStyles||Ki(e))&&!Lc(e)||o)&&Ia(l,a),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([a,e.scrollLeft,e.scrollTop]),(Mi(e)||Ri(e))&&(Mi(a)||Ri(a))&&(a.value=e.value),a}return e.cloneNode(!1)},r.prototype.resolvePseudoContent=function(e,o,n,a){var l=this;if(!!n){var p=n.content,v=o.ownerDocument;if(!(!v||!p||p==="none"||p==="-moz-alt-content"||n.display==="none")){this.counters.parse(new dA(this.context,n));var w=new sA(this.context,n),E=v.createElement("html2canvaspseudoelement");Ia(n,E),w.content.forEach(function(S){if(S.type===0)E.appendChild(v.createTextNode(S.value));else if(S.type===22){var L=v.createElement("img");L.src=S.value,L.style.opacity="1",E.appendChild(L)}else if(S.type===18){if(S.name==="attr"){var $=S.values.filter(bA);$.length&&E.appendChild(v.createTextNode(e.getAttribute($[0].value)||""))}else if(S.name==="counter"){var N=S.values.filter(ht),z=N[0],hA=N[1];if(z&&bA(z)){var oA=l.counters.getCounterValue(z.value),rA=hA&&bA(hA)?Gr.parse(l.context,hA.value):3;E.appendChild(v.createTextNode(Eo(oA,rA,!1)))}}else if(S.name==="counters"){var IA=S.values.filter(ht),z=IA[0],mA=IA[1],hA=IA[2];if(z&&bA(z)){var uA=l.counters.getCounterValues(z.value),q=hA&&bA(hA)?Gr.parse(l.context,hA.value):3,FA=mA&&mA.type===0?mA.value:"",EA=uA.map(function(be){return Eo(be,q,!1)}).join(FA);E.appendChild(v.createTextNode(EA))}}}else if(S.type===20)switch(S.value){case"open-quote":E.appendChild(v.createTextNode(O(w.quotes,l.quoteDepth++,!0)));break;case"close-quote":E.appendChild(v.createTextNode(O(w.quotes,--l.quoteDepth,!1)));break;default:E.appendChild(v.createTextNode(S.value))}}),E.className=Sa+" "+Ha;var I=a===bo.BEFORE?" "+Sa:" "+Ha;return Ki(o)?o.className.baseValue+=I:o.className+=I,E}}},r.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},r}(),bo;(function(r){r[r.BEFORE=0]="BEFORE",r[r.AFTER=1]="AFTER"})(bo||(bo={}));var Rf=function(r,e){var o=r.createElement("iframe");return o.className="html2canvas-container",o.style.visibility="hidden",o.style.position="fixed",o.style.left="-10000px",o.style.top="0px",o.style.border="0",o.width=e.width.toString(),o.height=e.height.toString(),o.scrolling="no",o.setAttribute(kc,"true"),r.body.appendChild(o),o},_f=function(r){return new Promise(function(e){if(r.complete){e();return}if(!r.src){e();return}r.onload=e,r.onerror=e})},Pf=function(r){return Promise.all([].slice.call(r.images,0).map(_f))},Nf=function(r){return new Promise(function(e,o){var n=r.contentWindow;if(!n)return o("No window assigned for iframe");var a=n.document;n.onload=r.onload=function(){n.onload=r.onload=null;var l=setInterval(function(){a.body.childNodes.length>0&&a.readyState==="complete"&&(clearInterval(l),e(r))},50)}})},Gf=["all","d","content"],Ia=function(r,e){for(var o=r.length-1;o>=0;o--){var n=r.item(o);Gf.indexOf(n)===-1&&e.style.setProperty(n,r.getPropertyValue(n))}return e},kf=function(r){var e="";return r&&(e+=""),e},Vf=function(r,e,o){r&&r.defaultView&&(e!==r.defaultView.pageXOffset||o!==r.defaultView.pageYOffset)&&r.defaultView.scrollTo(e,o)},Xf=function(r){var e=r[0],o=r[1],n=r[2];e.scrollLeft=o,e.scrollTop=n},Wf=":before",Jf=":after",Sa="___html2canvas___pseudoelement_before",Ha="___html2canvas___pseudoelement_after",Xc=`{ +(()=>{var Og=Object.create;var Da=Object.defineProperty;var Dg=Object.getOwnPropertyDescriptor;var Kg=Object.getOwnPropertyNames;var Mg=Object.getPrototypeOf,Rg=Object.prototype.hasOwnProperty;var _g=h=>Da(h,"__esModule",{value:!0});var Wi=(h,B)=>()=>(B||h((B={exports:{}}).exports,B),B.exports);var Pg=(h,B,Q,y)=>{if(B&&typeof B=="object"||typeof B=="function")for(let b of Kg(B))!Rg.call(h,b)&&(Q||b!=="default")&&Da(h,b,{get:()=>B[b],enumerable:!(y=Dg(B,b))||y.enumerable});return h},So=(h,B)=>Pg(_g(Da(h!=null?Og(Mg(h)):{},"default",!B&&h&&h.__esModule?{get:()=>h.default,enumerable:!0}:{value:h,enumerable:!0})),h);var xl=Wi((ka,Va)=>{(function(h,B){typeof ka=="object"&&typeof Va!="undefined"?Va.exports=B():typeof define=="function"&&define.amd?define(B):(h=typeof globalThis!="undefined"?globalThis:h||self,h.html2canvas=B())})(ka,function(){"use strict";var h=function(r,e){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(o[a]=n[a])},h(r,e)};function B(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");h(r,e);function o(){this.constructor=r}r.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}var Q=function(){return Q=Object.assign||function(e){for(var o,n=1,a=arguments.length;n0&&l[l.length-1])&&(E[0]===6||E[0]===2)){o=0;continue}if(E[0]===3&&(!l||E[1]>l[0]&&E[1]=55296&&a<=56319&&o>10)+55296,p%1024+56320)),(a+1===o||n.length>16384)&&(l+=String.fromCharCode.apply(String,n),n.length=0)}return l},LA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bA=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),BA=0;BA>4,I[a++]=(p&15)<<4|v>>2,I[a++]=(v&3)<<6|w&63;return E},Ut=function(r){for(var e=r.length,o=[],n=0;n>OA,ye=1<>OA,zt=WA+yt,eA=zt,HA=2048>>6,Re=eA+HA,_e=65536>>Ue,M=1<=0){if(e<55296||e>56319&&e<=65535)return o=this.index[e>>OA],o=(o<>OA)],o=(o<>Ue),o=this.index[o],o+=e>>OA&tA,o=this.index[o],o=(o<VA?(a.push(!0),v-=VA):a.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(l)!==-1)return n.push(p),o.push(Zt);if(v===iA||v===Pe){if(p===0)return n.push(p),o.push(Ze);var w=o[p-1];return gs.indexOf(w)===-1?(n.push(n[p-1]),o.push(w)):(n.push(p),o.push(Ze))}if(n.push(p),v===us)return o.push(e==="strict"?Qr:gt);if(v===jn||v===Wn)return o.push(Ze);if(v===fs)return l>=131072&&l<=196605||l>=196608&&l<=262141?o.push(gt):o.push(Ze);o.push(v)}),[n,o,a]},Zn=function(r,e,o,n){var a=n[o];if(Array.isArray(r)?r.indexOf(a)!==-1:r===a)for(var l=o;l<=n.length;){l++;var p=n[l];if(p===e)return!0;if(p!==YA)break}if(a===YA)for(var l=o;l>0;){l--;var v=n[l];if(Array.isArray(r)?r.indexOf(v)!==-1:r===v)for(var w=o;w<=n.length;){w++;var p=n[w];if(p===e)return!0;if(p!==YA)break}if(v!==YA)break}return!1},qn=function(r,e){for(var o=r;o>=0;){var n=e[o];if(n===YA)o--;else return n}return 0},Vo=function(r,e,o,n,a){if(o[n]===0)return pA;var l=n-1;if(Array.isArray(a)&&a[l]===!0)return pA;var p=l-1,v=l+1,w=e[l],E=p>=0?e[p]:0,I=e[v];if(w===D&&I===X)return pA;if(fe.indexOf(w)!==-1)return lA;if(fe.indexOf(I)!==-1||yr.indexOf(I)!==-1)return pA;if(qn(l,e)===ie)return Bt;if(zn.get(r[l])===Pe||(w===Ft||w===$r)&&zn.get(r[v])===Pe||w===cA||I===cA||w===He||[YA,vr,xe].indexOf(w)===-1&&I===He||[je,mr,qr,ft,ze].indexOf(I)!==-1||qn(l,e)===qt||Zn(Cr,qt,l,e)||Zn([je,mr],Qr,l,e)||Zn(Po,Po,l,e))return pA;if(w===YA)return Bt;if(w===Cr||I===Cr)return pA;if(I===Zt||w===Zt)return Bt;if([vr,xe,Qr].indexOf(I)!==-1||w===ls||E===Jn&&Ar.indexOf(w)!==-1||w===ze&&I===Jn||I===Xn||$e.indexOf(I)!==-1&&w===he||$e.indexOf(w)!==-1&&I===he||w===Ur&&[gt,Ft,$r].indexOf(I)!==-1||[gt,Ft,$r].indexOf(w)!==-1&&I===$t||$e.indexOf(w)!==-1&&No.indexOf(I)!==-1||No.indexOf(w)!==-1&&$e.indexOf(I)!==-1||[Ur,$t].indexOf(w)!==-1&&(I===he||[qt,xe].indexOf(I)!==-1&&e[v+1]===he)||[qt,xe].indexOf(w)!==-1&&I===he||w===he&&[he,ze,ft].indexOf(I)!==-1)return pA;if([he,ze,ft,je,mr].indexOf(I)!==-1)for(var S=l;S>=0;){var L=e[S];if(L===he)return pA;if([ze,ft].indexOf(L)!==-1)S--;else break}if([Ur,$t].indexOf(I)!==-1)for(var S=[je,mr].indexOf(w)!==-1?p:l;S>=0;){var L=e[S];if(L===he)return pA;if([ze,ft].indexOf(L)!==-1)S--;else break}if(Yn===w&&[Yn,we,An,Te].indexOf(I)!==-1||[we,An].indexOf(w)!==-1&&[we,Fe].indexOf(I)!==-1||[Fe,Te].indexOf(w)!==-1&&I===Fe||Go.indexOf(w)!==-1&&[Xn,$t].indexOf(I)!==-1||Go.indexOf(I)!==-1&&w===Ur||$e.indexOf(w)!==-1&&$e.indexOf(I)!==-1||w===ft&&$e.indexOf(I)!==-1||$e.concat(he).indexOf(w)!==-1&&I===qt&&dt.indexOf(r[v])===-1||$e.concat(he).indexOf(I)!==-1&&w===mr)return pA;if(w===qe&&I===qe){for(var $=o[l],N=1;$>0&&($--,e[$]===qe);)N++;if(N%2!==0)return pA}return w===Ft&&I===$r?pA:Bt},en=function(r,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var o=ko(r,e.lineBreak),n=o[0],a=o[1],l=o[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(a=a.map(function(v){return[he,Ze,jn].indexOf(v)!==-1?gt:v}));var p=e.wordBreak==="keep-all"?l.map(function(v,w){return v&&r[w]>=19968&&r[w]<=40959}):void 0;return[n,a,p]},Xo=function(){function r(e,o,n,a){this.codePoints=e,this.required=o===lA,this.start=n,this.end=a}return r.prototype.slice=function(){return Y.apply(void 0,this.codePoints.slice(this.start,this.end))},r}(),$n=function(r,e){var o=UA(r),n=en(o,e),a=n[0],l=n[1],p=n[2],v=o.length,w=0,E=0;return{next:function(){if(E>=v)return{done:!0,value:null};for(var I=pA;E=tr&&r<=57},ei=function(r){return r>=55296&&r<=57343},pt=function(r){return se(r)||r>=kA&&r<=to||r>=$o&&r<=sn},Es=function(r){return r>=$o&&r<=ys},ro=function(r){return r>=kA&&r<=Ot},bs=function(r){return Es(r)||ro(r)},Is=function(r){return r>=Cs},At=function(r){return r===tn||r===Bs||r===ps},an=function(r){return bs(r)||Is(r)||r===Hr},$A=function(r){return an(r)||se(r)||r===le},ti=function(r){return r>=DA&&r<=on||r===PA||r>=Zo&&r<=Tr||r===qo},Oe=function(r,e){return r!==Et?!1:e!==tn},cn=function(r,e,o){return r===le?an(e)||Oe(e,o):an(r)?!0:!!(r===Et&&Oe(r,e))},ln=function(r,e,o){return r===Le||r===le?se(e)?!0:e===xr&&se(o):se(r===xr?e:r)},ri=function(r){var e=0,o=1;(r[e]===Le||r[e]===le)&&(r[e]===le&&(o=-1),e++);for(var n=[];se(r[e]);)n.push(r[e++]);var a=n.length?parseInt(Y.apply(void 0,n),10):0;r[e]===xr&&e++;for(var l=[];se(r[e]);)l.push(r[e++]);var p=l.length,v=p?parseInt(Y.apply(void 0,l),10):0;(r[e]===Ai||r[e]===Lr)&&e++;var w=1;(r[e]===Le||r[e]===le)&&(r[e]===le&&(w=-1),e++);for(var E=[];se(r[e]);)E.push(r[e++]);var I=E.length?parseInt(Y.apply(void 0,E),10):0;return o*(a+v*Math.pow(10,-p))*Math.pow(10,w*I)},Ss={type:2},Or={type:3},Hs={type:4},Dr={type:13},ni={type:8},xs={type:21},Kr={type:9},no={type:10},un={type:11},Ts={type:12},et={type:14},fn={type:23},gn={type:1},Ls={type:25},oo={type:24},Os={type:26},dn={type:27},Ds={type:28},io={type:29},so={type:31},Bn={type:32},oi=function(){function r(){this._value=[]}return r.prototype.write=function(e){this._value=this._value.concat(UA(e))},r.prototype.read=function(){for(var e=[],o=this.consumeToken();o!==Bn;)e.push(o),o=this.consumeToken();return e},r.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case bt:return this.consumeStringToken(bt);case er:var o=this.peekCodePoint(0),n=this.peekCodePoint(1),a=this.peekCodePoint(2);if($A(o)||Oe(n,a)){var l=cn(o,n,a)?ds:Wo,p=this.consumeName();return{type:5,value:p,flags:l}}break;case hs:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),Dr;break;case Sr:return this.consumeStringToken(Sr);case rn:return Ss;case It:return Or;case Lt:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),et;break;case Le:if(ln(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Ao:return Hs;case le:var v=e,w=this.peekCodePoint(0),E=this.peekCodePoint(1);if(ln(v,w,E))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(cn(v,w,E))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(w===le&&E===Ht)return this.consumeCodePoint(),this.consumeCodePoint(),oo;break;case xr:if(ln(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case br:if(this.peekCodePoint(0)===Lt)for(this.consumeCodePoint();;){var I=this.consumeCodePoint();if(I===Lt&&(I=this.consumeCodePoint(),I===br))return this.consumeToken();if(I===Ne)return this.consumeToken()}break;case Us:return Os;case eo:return dn;case St:if(this.peekCodePoint(0)===vs&&this.peekCodePoint(1)===le&&this.peekCodePoint(2)===le)return this.consumeCodePoint(),this.consumeCodePoint(),Ls;break;case Jo:var S=this.peekCodePoint(0),L=this.peekCodePoint(1),$=this.peekCodePoint(2);if(cn(S,L,$)){var p=this.consumeName();return{type:7,value:p}}break;case Yo:return Ds;case Et:if(Oe(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case ms:return io;case xt:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),ni;break;case Qs:return un;case jo:return Ts;case ve:case Fs:var N=this.peekCodePoint(0),z=this.peekCodePoint(1);return N===Le&&(pt(z)||z===Tt)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case te:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),Kr;if(this.peekCodePoint(0)===te)return this.consumeCodePoint(),xs;break;case nn:if(this.peekCodePoint(0)===Ir)return this.consumeCodePoint(),no;break;case Ne:return Bn}return At(e)?(this.consumeWhiteSpace(),so):se(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):an(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:Y(e)}},r.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e=="undefined"?-1:e},r.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},r.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},r.prototype.consumeUnicodeRangeToken=function(){for(var e=[],o=this.consumeCodePoint();pt(o)&&e.length<6;)e.push(o),o=this.consumeCodePoint();for(var n=!1;o===Tt&&e.length<6;)e.push(o),o=this.consumeCodePoint(),n=!0;if(n){var a=parseInt(Y.apply(void 0,e.map(function(w){return w===Tt?tr:w})),16),l=parseInt(Y.apply(void 0,e.map(function(w){return w===Tt?to:w})),16);return{type:30,start:a,end:l}}var p=parseInt(Y.apply(void 0,e),16);if(this.peekCodePoint(0)===le&&pt(this.peekCodePoint(1))){this.consumeCodePoint(),o=this.consumeCodePoint();for(var v=[];pt(o)&&v.length<6;)v.push(o),o=this.consumeCodePoint();var l=parseInt(Y.apply(void 0,v),16);return{type:30,start:p,end:l}}else return{type:30,start:p,end:p}},r.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===rn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===rn?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},r.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ne)return{type:22,value:""};var o=this.peekCodePoint(0);if(o===Sr||o===bt){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ne||this.peekCodePoint(0)===It)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),fn)}for(;;){var a=this.consumeCodePoint();if(a===Ne||a===It)return{type:22,value:Y.apply(void 0,e)};if(At(a))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Ne||this.peekCodePoint(0)===It?(this.consumeCodePoint(),{type:22,value:Y.apply(void 0,e)}):(this.consumeBadUrlRemnants(),fn);if(a===bt||a===Sr||a===rn||ti(a))return this.consumeBadUrlRemnants(),fn;if(a===Et)if(Oe(a,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),fn;else e.push(a)}},r.prototype.consumeWhiteSpace=function(){for(;At(this.peekCodePoint(0));)this.consumeCodePoint()},r.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===It||e===Ne)return;Oe(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},r.prototype.consumeStringSlice=function(e){for(var o=5e4,n="";e>0;){var a=Math.min(o,e);n+=Y.apply(void 0,this._value.splice(0,a)),e-=a}return this._value.shift(),n},r.prototype.consumeStringToken=function(e){var o="",n=0;do{var a=this._value[n];if(a===Ne||a===void 0||a===e)return o+=this.consumeStringSlice(n),{type:0,value:o};if(a===tn)return this._value.splice(0,n),gn;if(a===Et){var l=this._value[n+1];l!==Ne&&l!==void 0&&(l===tn?(o+=this.consumeStringSlice(n),n=-1,this._value.shift()):Oe(a,l)&&(o+=this.consumeStringSlice(n),o+=Y(this.consumeEscapedCodePoint()),n=-1))}n++}while(!0)},r.prototype.consumeNumber=function(){var e=[],o=Fr,n=this.peekCodePoint(0);for((n===Le||n===le)&&e.push(this.consumeCodePoint());se(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var a=this.peekCodePoint(1);if(n===xr&&se(a))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),o=Er;se(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),a=this.peekCodePoint(1);var l=this.peekCodePoint(2);if((n===Ai||n===Lr)&&((a===Le||a===le)&&se(l)||se(a)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),o=Er;se(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[ri(e),o]},r.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),o=e[0],n=e[1],a=this.peekCodePoint(0),l=this.peekCodePoint(1),p=this.peekCodePoint(2);if(cn(a,l,p)){var v=this.consumeName();return{type:15,number:o,flags:n,unit:v}}return a===ws?(this.consumeCodePoint(),{type:16,number:o,flags:n}):{type:17,number:o,flags:n}},r.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(pt(e)){for(var o=Y(e);pt(this.peekCodePoint(0))&&o.length<6;)o+=Y(this.consumeCodePoint());At(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(o,16);return n===0||ei(n)||n>1114111?zo:n}return e===Ne?zo:e},r.prototype.consumeName=function(){for(var e="";;){var o=this.consumeCodePoint();if($A(o))e+=Y(o);else if(Oe(o,this.peekCodePoint(0)))e+=Y(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(o),e}},r}(),rr=function(){function r(e){this._tokens=e}return r.create=function(e){var o=new oi;return o.write(e),new r(o.read())},r.parseValue=function(e){return r.create(e).parseComponentValue()},r.parseValues=function(e){return r.create(e).parseComponentValues()},r.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var o=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return o;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},r.prototype.parseComponentValues=function(){for(var e=[];;){var o=this.consumeComponentValue();if(o.type===32)return e;e.push(o),e.push()}},r.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},r.prototype.consumeSimpleBlock=function(e){for(var o={type:e,values:[]},n=this.consumeToken();;){if(n.type===32||si(n,e))return o;this.reconsumeToken(n),o.values.push(this.consumeComponentValue()),n=this.consumeToken()}},r.prototype.consumeFunction=function(e){for(var o={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(n.type===32||n.type===3)return o;this.reconsumeToken(n),o.values.push(this.consumeComponentValue())}},r.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e=="undefined"?Bn:e},r.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},r}(),Mr=function(r){return r.type===15},tt=function(r){return r.type===17},IA=function(r){return r.type===20},ii=function(r){return r.type===0},ao=function(r,e){return IA(r)&&r.value===e},Rr=function(r){return r.type!==31},ht=function(r){return r.type!==31&&r.type!==4},De=function(r){var e=[],o=[];return r.forEach(function(n){if(n.type===4){if(o.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(o),o=[];return}n.type!==31&&o.push(n)}),o.length&&e.push(o),e},si=function(r,e){return e===11&&r.type===12||e===28&&r.type===29?!0:e===2&&r.type===3},wt=function(r){return r.type===17||r.type===15},qA=function(r){return r.type===16||wt(r)},pn=function(r){return r.length>1?[r[0],r[1]]:[r[0]]},ae={type:17,number:0,flags:Fr},nr={type:16,number:50,flags:Fr},Ge={type:16,number:100,flags:Fr},or=function(r,e,o){var n=r[0],a=r[1];return[KA(n,e),KA(typeof a!="undefined"?a:n,o)]},KA=function(r,e){if(r.type===16)return r.number/100*e;if(Mr(r))switch(r.unit){case"rem":case"em":return 16*r.number;case"px":default:return r.number}return r.number},hn="deg",ai="grad",ci="rad",ir="turn",sr={name:"angle",parse:function(r,e){if(e.type===15)switch(e.unit){case hn:return Math.PI*e.number/180;case ai:return Math.PI/200*e.number;case ci:return e.number;case ir:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},ar=function(r){return r.type===15&&(r.unit===hn||r.unit===ai||r.unit===ci||r.unit===ir)},li=function(r){var e=r.filter(IA).map(function(o){return o.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ae,ae];case"to top":case"bottom":return me(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ae,Ge];case"to right":case"left":return me(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ge,Ge];case"to bottom":case"top":return me(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ge,ae];case"to left":case"right":return me(270)}return 0},me=function(r){return Math.PI*r/180},vt={name:"color",parse:function(r,e){if(e.type===18){var o=ui[e.name];if(typeof o=="undefined")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return o(r,e.values)}if(e.type===5){if(e.value.length===3){var n=e.value.substring(0,1),a=e.value.substring(1,2),l=e.value.substring(2,3);return rt(parseInt(n+n,16),parseInt(a+a,16),parseInt(l+l,16),1)}if(e.value.length===4){var n=e.value.substring(0,1),a=e.value.substring(1,2),l=e.value.substring(2,3),p=e.value.substring(3,4);return rt(parseInt(n+n,16),parseInt(a+a,16),parseInt(l+l,16),parseInt(p+p,16)/255)}if(e.value.length===6){var n=e.value.substring(0,2),a=e.value.substring(2,4),l=e.value.substring(4,6);return rt(parseInt(n,16),parseInt(a,16),parseInt(l,16),1)}if(e.value.length===8){var n=e.value.substring(0,2),a=e.value.substring(2,4),l=e.value.substring(4,6),p=e.value.substring(6,8);return rt(parseInt(n,16),parseInt(a,16),parseInt(l,16),parseInt(p,16)/255)}}if(e.type===20){var v=MA[e.value.toUpperCase()];if(typeof v!="undefined")return v}return MA.TRANSPARENT}},ge=function(r){return(255&r)===0},Ae=function(r){var e=255&r,o=255&r>>8,n=255&r>>16,a=255&r>>24;return e<255?"rgba("+a+","+n+","+o+","+e/255+")":"rgb("+a+","+n+","+o+")"},rt=function(r,e,o,n){return(r<<24|e<<16|o<<8|Math.round(n*255)<<0)>>>0},co=function(r,e){if(r.type===17)return r.number;if(r.type===16){var o=e===3?1:255;return e===3?r.number/100*o:Math.round(r.number/100*o)}return 0},re=function(r,e){var o=e.filter(ht);if(o.length===3){var n=o.map(co),a=n[0],l=n[1],p=n[2];return rt(a,l,p,1)}if(o.length===4){var v=o.map(co),a=v[0],l=v[1],p=v[2],w=v[3];return rt(a,l,p,w)}return 0};function lo(r,e,o){return o<0&&(o+=1),o>=1&&(o-=1),o<1/6?(e-r)*o*6+r:o<1/2?e:o<2/3?(e-r)*6*(2/3-o)+r:r}var uo=function(r,e){var o=e.filter(ht),n=o[0],a=o[1],l=o[2],p=o[3],v=(n.type===17?me(n.number):sr.parse(r,n))/(Math.PI*2),w=qA(a)?a.number/100:0,E=qA(l)?l.number/100:0,I=typeof p!="undefined"&&qA(p)?KA(p,1):1;if(w===0)return rt(E*255,E*255,E*255,1);var S=E<=.5?E*(w+1):E+w-E*w,L=E*2-S,$=lo(L,S,v+1/3),N=lo(L,S,v),z=lo(L,S,v-1/3);return rt($*255,N*255,z*255,I)},ui={hsl:uo,hsla:uo,rgb:re,rgba:re},Dt=function(r,e){return vt.parse(r,rr.create(e).parseComponentValue())},MA={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},Ks={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(r,e){return e.map(function(o){if(IA(o))switch(o.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},fi={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wn=function(r,e){var o=vt.parse(r,e[0]),n=e[1];return n&&qA(n)?{color:o,stop:n}:{color:o,stop:null}},gi=function(r,e){var o=r[0],n=r[r.length-1];o.stop===null&&(o.stop=ae),n.stop===null&&(n.stop=Ge);for(var a=[],l=0,p=0;pl?a.push(w):a.push(l),l=w}else a.push(null)}for(var E=null,p=0;pp.optimumDistance)?{optimumCorner:v,optimumDistance:I}:p},{optimumDistance:a?1/0:-1/0,optimumCorner:null}).optimumCorner},di=function(r,e,o,n,a){var l=0,p=0;switch(r.size){case 0:r.shape===0?l=p=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(o),Math.abs(o-a)):r.shape===1&&(l=Math.min(Math.abs(e),Math.abs(e-n)),p=Math.min(Math.abs(o),Math.abs(o-a)));break;case 2:if(r.shape===0)l=p=Math.min(Qe(e,o),Qe(e,o-a),Qe(e-n,o),Qe(e-n,o-a));else if(r.shape===1){var v=Math.min(Math.abs(o),Math.abs(o-a))/Math.min(Math.abs(e),Math.abs(e-n)),w=fo(n,a,e,o,!0),E=w[0],I=w[1];l=Qe(E-e,(I-o)/v),p=v*l}break;case 1:r.shape===0?l=p=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(o),Math.abs(o-a)):r.shape===1&&(l=Math.max(Math.abs(e),Math.abs(e-n)),p=Math.max(Math.abs(o),Math.abs(o-a)));break;case 3:if(r.shape===0)l=p=Math.max(Qe(e,o),Qe(e,o-a),Qe(e-n,o),Qe(e-n,o-a));else if(r.shape===1){var v=Math.max(Math.abs(o),Math.abs(o-a))/Math.max(Math.abs(e),Math.abs(e-n)),S=fo(n,a,e,o,!1),E=S[0],I=S[1];l=Qe(E-e,(I-o)/v),p=v*l}break}return Array.isArray(r.size)&&(l=KA(r.size[0],n),p=r.size.length===2?KA(r.size[1],a):l),[l,p]},_r=function(r,e){var o=me(180),n=[];return De(e).forEach(function(a,l){if(l===0){var p=a[0];if(p.type===20&&p.value==="to"){o=li(a);return}else if(ar(p)){o=sr.parse(r,p);return}}var v=wn(r,a);n.push(v)}),{angle:o,stops:n,type:1}},Kt=function(r,e){var o=me(180),n=[];return De(e).forEach(function(a,l){if(l===0){var p=a[0];if(p.type===20&&["top","left","right","bottom"].indexOf(p.value)!==-1){o=li(a);return}else if(ar(p)){o=(sr.parse(r,p)+me(270))%me(360);return}}var v=wn(r,a);n.push(v)}),{angle:o,stops:n,type:1}},Ms=function(r,e){var o=me(180),n=[],a=1,l=0,p=3,v=[];return De(e).forEach(function(w,E){var I=w[0];if(E===0){if(IA(I)&&I.value==="linear"){a=1;return}else if(IA(I)&&I.value==="radial"){a=2;return}}if(I.type===18){if(I.name==="from"){var S=vt.parse(r,I.values[0]);n.push({stop:ae,color:S})}else if(I.name==="to"){var S=vt.parse(r,I.values[0]);n.push({stop:Ge,color:S})}else if(I.name==="color-stop"){var L=I.values.filter(ht);if(L.length===2){var S=vt.parse(r,L[1]),$=L[0];tt($)&&n.push({stop:{type:16,number:$.number*100,flags:$.flags},color:S})}}}}),a===1?{angle:(o+me(180))%me(360),stops:n,type:a}:{size:p,shape:l,stops:n,position:v,type:a}},Bi="closest-side",Mt="farthest-side",go="closest-corner",Qn="farthest-corner",pi="circle",Bo="ellipse",hi="cover",wi="contain",Rs=function(r,e){var o=0,n=3,a=[],l=[];return De(e).forEach(function(p,v){var w=!0;if(v===0){var E=!1;w=p.reduce(function(S,L){if(E)if(IA(L))switch(L.value){case"center":return l.push(nr),S;case"top":case"left":return l.push(ae),S;case"right":case"bottom":return l.push(Ge),S}else(qA(L)||wt(L))&&l.push(L);else if(IA(L))switch(L.value){case pi:return o=0,!1;case Bo:return o=1,!1;case"at":return E=!0,!1;case Bi:return n=0,!1;case hi:case Mt:return n=1,!1;case wi:case go:return n=2,!1;case Qn:return n=3,!1}else if(wt(L)||qA(L))return Array.isArray(n)||(n=[]),n.push(L),!1;return S},w)}if(w){var I=wn(r,p);a.push(I)}}),{size:n,shape:o,stops:a,position:l,type:2}},ke=function(r,e){var o=0,n=3,a=[],l=[];return De(e).forEach(function(p,v){var w=!0;if(v===0?w=p.reduce(function(I,S){if(IA(S))switch(S.value){case"center":return l.push(nr),!1;case"top":case"left":return l.push(ae),!1;case"right":case"bottom":return l.push(Ge),!1}else if(qA(S)||wt(S))return l.push(S),!1;return I},w):v===1&&(w=p.reduce(function(I,S){if(IA(S))switch(S.value){case pi:return o=0,!1;case Bo:return o=1,!1;case wi:case Bi:return n=0,!1;case Mt:return n=1,!1;case go:return n=2,!1;case hi:case Qn:return n=3,!1}else if(wt(S)||qA(S))return Array.isArray(n)||(n=[]),n.push(S),!1;return I},w)),w){var E=wn(r,p);a.push(E)}}),{size:n,shape:o,stops:a,position:l,type:2}},vi=function(r){return r.type===1},_s=function(r){return r.type===2},Pr={name:"image",parse:function(r,e){if(e.type===22){var o={url:e.value,type:0};return r.cache.addImage(e.value),o}if(e.type===18){var n=Cn[e.name];if(typeof n=="undefined")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(r,e.values)}throw new Error("Unsupported image type "+e.type)}};function de(r){return!(r.type===20&&r.value==="none")&&(r.type!==18||!!Cn[r.name])}var Cn={"linear-gradient":_r,"-moz-linear-gradient":Kt,"-ms-linear-gradient":Kt,"-o-linear-gradient":Kt,"-webkit-linear-gradient":Kt,"radial-gradient":Rs,"-moz-radial-gradient":ke,"-ms-radial-gradient":ke,"-o-radial-gradient":ke,"-webkit-radial-gradient":ke,"-webkit-gradient":Ms},mi={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(r,e){if(e.length===0)return[];var o=e[0];return o.type===20&&o.value==="none"?[]:e.filter(function(n){return ht(n)&&de(n)}).map(function(n){return Pr.parse(r,n)})}},Ps={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(r,e){return e.map(function(o){if(IA(o))switch(o.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ve={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(r,e){return De(e).map(function(o){return o.filter(qA)}).map(pn)}},Qi={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(r,e){return De(e).map(function(o){return o.filter(IA).map(function(n){return n.value}).join(" ")}).map(Ci)}},Ci=function(r){switch(r){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}},Rt;(function(r){r.AUTO="auto",r.CONTAIN="contain",r.COVER="cover"})(Rt||(Rt={}));var Ui={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(r,e){return De(e).map(function(o){return o.filter(Ns)})}},Ns=function(r){return IA(r)||qA(r)},nt=function(r){return{name:"border-"+r+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Gs=nt("top"),yi=nt("right"),ks=nt("bottom"),cr=nt("left"),Un=function(r){return{name:"border-radius-"+r,initialValue:"0 0",prefix:!1,type:1,parse:function(e,o){return pn(o.filter(qA))}}},Vs=Un("top-left"),Fi=Un("top-right"),Xs=Un("bottom-right"),po=Un("bottom-left"),Ke=function(r){return{name:"border-"+r+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,o){switch(o){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ei=Ke("top"),Ws=Ke("right"),ot=Ke("bottom"),bi=Ke("left"),Nr=function(r){return{name:"border-"+r+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,o){return Mr(o)?o.number:0}}},Js=Nr("top"),lr=Nr("right"),Ii=Nr("bottom"),Ys=Nr("left"),ho={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wo={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(r,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},ur={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(r,e){return e.filter(IA).reduce(function(o,n){return o|js(n.value)},0)}},js=function(r){switch(r){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},yn={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(r,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},zs={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(r,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},Fn;(function(r){r.NORMAL="normal",r.STRICT="strict"})(Fn||(Fn={}));var _t={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(r,e){switch(e){case"strict":return Fn.STRICT;case"normal":default:return Fn.NORMAL}}},vo={name:"line-height",initialValue:"normal",prefix:!1,type:4},Si=function(r,e){return IA(r)&&r.value==="normal"?1.2*e:r.type===17?e*r.number:qA(r)?KA(r,e):e},mo={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(r,e){return e.type===20&&e.value==="none"?null:Pr.parse(r,e)}},Zs={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(r,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Gr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(r,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}}},Pt=function(r){return{name:"margin-"+r,initialValue:"0",prefix:!1,type:4}},qs=Pt("top"),kr=Pt("right"),En=Pt("bottom"),mt=Pt("left"),Hi={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(r,e){return e.filter(IA).map(function(o){switch(o.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Qo={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(r,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},bn=function(r){return{name:"padding-"+r,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},In=bn("top"),$s=bn("right"),Aa=bn("bottom"),ea=bn("left"),Sn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(r,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},ta={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(r,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ra={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(r,e){return e.length===1&&ao(e[0],"none")?[]:De(e).map(function(o){for(var n={color:MA.TRANSPARENT,offsetX:ae,offsetY:ae,blur:ae},a=0,l=0;l1?1:0],this.overflowWrap=R(e,Qo,o.overflowWrap),this.paddingTop=R(e,In,o.paddingTop),this.paddingRight=R(e,$s,o.paddingRight),this.paddingBottom=R(e,Aa,o.paddingBottom),this.paddingLeft=R(e,ea,o.paddingLeft),this.paintOrder=R(e,_,o.paintOrder),this.position=R(e,ta,o.position),this.textAlign=R(e,Sn,o.textAlign),this.textDecorationColor=R(e,A,(n=o.textDecorationColor)!==null&&n!==void 0?n:o.color),this.textDecorationLine=R(e,t,(a=o.textDecorationLine)!==null&&a!==void 0?a:o.textDecoration),this.textShadow=R(e,ra,o.textShadow),this.textTransform=R(e,na,o.textTransform),this.transform=R(e,Hn,o.transform),this.transformOrigin=R(e,aa,o.transformOrigin),this.visibility=R(e,Ee,o.visibility),this.webkitTextStrokeColor=R(e,W,o.webkitTextStrokeColor),this.webkitTextStrokeWidth=R(e,P,o.webkitTextStrokeWidth),this.wordBreak=R(e,ca,o.wordBreak),this.zIndex=R(e,Gt,o.zIndex)}return r.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},r.prototype.isTransparent=function(){return ge(this.backgroundColor)},r.prototype.isTransformed=function(){return this.transform!==null},r.prototype.isPositioned=function(){return this.position!==0},r.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},r.prototype.isFloating=function(){return this.float!==0},r.prototype.isInlineLevel=function(){return u(this.display,4)||u(this.display,33554432)||u(this.display,268435456)||u(this.display,536870912)||u(this.display,67108864)||u(this.display,134217728)},r}(),sA=function(){function r(e,o){this.content=R(e,g,o.content),this.quotes=R(e,x,o.quotes)}return r}(),dA=function(){function r(e,o){this.counterIncrement=R(e,m,o.counterIncrement),this.counterReset=R(e,C,o.counterReset)}return r}(),R=function(r,e,o){var n=new oi,a=o!==null&&typeof o!="undefined"?o.toString():e.initialValue;n.write(a);var l=new rr(n.read());switch(e.type){case 2:var p=l.parseComponentValue();return e.parse(r,IA(p)?p.value:e.initialValue);case 0:return e.parse(r,l.parseComponentValue());case 1:return e.parse(r,l.parseComponentValues());case 4:return l.parseComponentValue();case 3:switch(e.format){case"angle":return sr.parse(r,l.parseComponentValue());case"color":return vt.parse(r,l.parseComponentValue());case"image":return Pr.parse(r,l.parseComponentValue());case"length":var v=l.parseComponentValue();return wt(v)?v:ae;case"length-percentage":var w=l.parseComponentValue();return qA(w)?w:ae;case"time":return xn.parse(r,l.parseComponentValue())}break}},RA="data-html2canvas-debug",QA=function(r){var e=r.getAttribute(RA);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},xA=function(r,e){var o=QA(r);return o===1||e===o},jA=function(){function r(e,o){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,xA(o,3))debugger;this.styles=new nA(e,window.getComputedStyle(o,null)),ya(o)&&(this.styles.animationDuration.some(function(n){return n>0})&&(o.style.animationDuration="0s"),this.styles.transform!==null&&(o.style.transform="none")),this.bounds=J(this.context,o),xA(o,4)&&(this.flags|=16)}return r}(),it="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFO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gACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVA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AExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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pu=_u,Nu=2048>>6,Gu=Pu+Nu,ku=65536>>ua,Vu=1<=0){if(e<55296||e>56319&&e<=65535)return o=this.index[e>>Xr],o=(o<>Xr)],o=(o<>ua),o=this.index[o],o+=e>>Xr&Xu,o=this.index[o],o=(o<=55296&&a<=56319&&o>10)+55296,p%1024+56320)),(a+1===o||n.length>16384)&&(l+=String.fromCharCode.apply(String,n),n.length=0)}return l},Af=Ju(it),Xe="\xD7",va="\xF7",ef=function(r){return Af.get(r)},tf=function(r,e,o){var n=o-2,a=e[n],l=e[o-1],p=e[o];if(l===da&&p===Ba)return Xe;if(l===da||l===Ba||l===cc||p===da||p===Ba||p===cc)return va;if(l===uc&&[uc,pa,fc,gc].indexOf(p)!==-1||(l===fc||l===pa)&&(p===pa||p===ha)||(l===gc||l===ha)&&p===ha||p===dc||p===lc||p===Zu||l===zu)return Xe;if(l===dc&&p===Bc){for(;a===lc;)a=e[--n];if(a===Bc)return Xe}if(l===wa&&p===wa){for(var v=0;a===wa;)v++,a=e[--n];if(v%2===0)return Xe}return va},rf=function(r){var e=qu(r),o=e.length,n=0,a=0,l=e.map(ef);return{next:function(){if(n>=o)return{done:!0,value:null};for(var p=Xe;np.x||I.y>p.y;return p=I,E===0?!0:S});return r.body.removeChild(e),v},af=function(){return typeof new Image().crossOrigin!="undefined"},cf=function(){return typeof new XMLHttpRequest().responseType=="string"},lf=function(r){var e=new Image,o=r.createElement("canvas"),n=o.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,";try{n.drawImage(e,0,0),o.toDataURL()}catch{return!1}return!0},pc=function(r){return r[0]===0&&r[1]===255&&r[2]===0&&r[3]===255},uf=function(r){var e=r.createElement("canvas"),o=100;e.width=o,e.height=o;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,o,o);var a=new Image,l=e.toDataURL();a.src=l;var p=ma(o,o,0,0,a);return n.fillStyle="red",n.fillRect(0,0,o,o),hc(p).then(function(v){n.drawImage(v,0,0);var w=n.getImageData(0,0,o,o).data;n.fillStyle="red",n.fillRect(0,0,o,o);var E=r.createElement("div");return E.style.backgroundImage="url("+l+")",E.style.height=o+"px",pc(w)?hc(ma(o,o,0,0,E)):Promise.reject(!1)}).then(function(v){return n.drawImage(v,0,0),pc(n.getImageData(0,0,o,o).data)}).catch(function(){return!1})},ma=function(r,e,o,n,a){var l="http://www.w3.org/2000/svg",p=document.createElementNS(l,"svg"),v=document.createElementNS(l,"foreignObject");return p.setAttributeNS(null,"width",r.toString()),p.setAttributeNS(null,"height",e.toString()),v.setAttributeNS(null,"width","100%"),v.setAttributeNS(null,"height","100%"),v.setAttributeNS(null,"x",o.toString()),v.setAttributeNS(null,"y",n.toString()),v.setAttributeNS(null,"externalResourcesRequired","true"),p.appendChild(v),v.appendChild(a),p},hc=function(r){return new Promise(function(e,o){var n=new Image;n.onload=function(){return e(n)},n.onerror=o,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(r))})},Be={get SUPPORT_RANGE_BOUNDS(){var r=of(document);return Object.defineProperty(Be,"SUPPORT_RANGE_BOUNDS",{value:r}),r},get SUPPORT_WORD_BREAKING(){var r=Be.SUPPORT_RANGE_BOUNDS&&sf(document);return Object.defineProperty(Be,"SUPPORT_WORD_BREAKING",{value:r}),r},get SUPPORT_SVG_DRAWING(){var r=lf(document);return Object.defineProperty(Be,"SUPPORT_SVG_DRAWING",{value:r}),r},get SUPPORT_FOREIGNOBJECT_DRAWING(){var r=typeof Array.from=="function"&&typeof window.fetch=="function"?uf(document):Promise.resolve(!1);return Object.defineProperty(Be,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:r}),r},get SUPPORT_CORS_IMAGES(){var r=af();return Object.defineProperty(Be,"SUPPORT_CORS_IMAGES",{value:r}),r},get SUPPORT_RESPONSE_TYPE(){var r=cf();return Object.defineProperty(Be,"SUPPORT_RESPONSE_TYPE",{value:r}),r},get SUPPORT_CORS_XHR(){var r="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Be,"SUPPORT_CORS_XHR",{value:r}),r},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var r=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Be,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:r}),r}},yo=function(){function r(e,o){this.text=e,this.bounds=o}return r}(),ff=function(r,e,o,n){var a=Bf(e,o),l=[],p=0;return a.forEach(function(v){if(o.textDecorationLine.length||v.trim().length>0)if(Be.SUPPORT_RANGE_BOUNDS){var w=wc(n,p,v.length).getClientRects();if(w.length>1){var E=Qa(v),I=0;E.forEach(function(L){l.push(new yo(L,K.fromDOMRectList(r,wc(n,I+p,L.length).getClientRects()))),I+=L.length})}else l.push(new yo(v,K.fromDOMRectList(r,w)))}else{var S=n.splitText(v.length);l.push(new yo(v,gf(r,n))),n=S}else Be.SUPPORT_RANGE_BOUNDS||(n=n.splitText(v.length));p+=v.length}),l},gf=function(r,e){var o=e.ownerDocument;if(o){var n=o.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var a=e.parentNode;if(a){a.replaceChild(n,e);var l=J(r,n);return n.firstChild&&a.replaceChild(n.firstChild,n),l}}return K.EMPTY},wc=function(r,e,o){var n=r.ownerDocument;if(!n)throw new Error("Node has no owner document");var a=n.createRange();return a.setStart(r,e),a.setEnd(r,e+o),a},Qa=function(r){if(Be.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(r)).map(function(o){return o.segment})}return nf(r)},df=function(r,e){if(Be.SUPPORT_NATIVE_TEXT_SEGMENTATION){var o=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(o.segment(r)).map(function(n){return n.segment})}return hf(r,e)},Bf=function(r,e){return e.letterSpacing!==0?Qa(r):df(r,e)},pf=[32,160,4961,65792,65793,4153,4241],hf=function(r,e){for(var o=$n(r,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),n=[],a,l=function(){if(a.value){var p=a.value.slice(),v=UA(p),w="";v.forEach(function(E){pf.indexOf(E)===-1?w+=Y(E):(w.length&&n.push(w),n.push(Y(E)),w="")}),w.length&&n.push(w)}};!(a=o.next()).done;)l();return n},wf=function(){function r(e,o,n){this.text=vf(o.data,n.textTransform),this.textBounds=ff(e,this.text,n,o)}return r}(),vf=function(r,e){switch(e){case 1:return r.toLowerCase();case 3:return r.replace(mf,Qf);case 2:return r.toUpperCase();default:return r}},mf=/(^|\s|:|-|\(|\))([a-z])/g,Qf=function(r,e,o){return r.length>0?e+o.toUpperCase():r},vc=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this;return a.src=n.currentSrc||n.src,a.intrinsicWidth=n.naturalWidth,a.intrinsicHeight=n.naturalHeight,a.context.cache.addImage(a.src),a}return e}(jA),mc=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this;return a.canvas=n,a.intrinsicWidth=n.width,a.intrinsicHeight=n.height,a}return e}(jA),Qc=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this,l=new XMLSerializer,p=J(o,n);return n.setAttribute("width",p.width+"px"),n.setAttribute("height",p.height+"px"),a.svg="data:image/svg+xml,"+encodeURIComponent(l.serializeToString(n)),a.intrinsicWidth=n.width.baseVal.value,a.intrinsicHeight=n.height.baseVal.value,a.context.cache.addImage(a.svg),a}return e}(jA),Cc=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this;return a.value=n.value,a}return e}(jA),Ca=function(r){B(e,r);function e(o,n){var a=r.call(this,o,n)||this;return a.start=n.start,a.reversed=typeof n.reversed=="boolean"&&n.reversed===!0,a}return e}(jA),Cf=[{type:15,flags:0,unit:"px",number:3}],Uf=[{type:16,flags:0,number:50}],yf=function(r){return r.width>r.height?new K(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width0)o.textNodes.push(new wf(r,a,o.styles));else if(Ln(a))if(Dc(a)&&a.assignedNodes)a.assignedNodes().forEach(function(v){return Di(r,v,o,n)});else{var p=bc(r,a);p.styles.isVisible()&&(If(a,p,n)?p.flags|=4:Sf(p.styles)&&(p.flags|=2),bf.indexOf(a.tagName)!==-1&&(p.flags|=8),o.elements.push(p),a.slot,a.shadowRoot?Di(r,a.shadowRoot,p,n):!Mi(a)&&!Hc(a)&&!Ri(a)&&Di(r,a,p,n))}},bc=function(r,e){return Ea(e)?new vc(r,e):xc(e)?new mc(r,e):Hc(e)?new Qc(r,e):Hf(e)?new Cc(r,e):xf(e)?new Ca(r,e):Tf(e)?new Ua(r,e):Ri(e)?new yc(r,e):Mi(e)?new Fc(r,e):Lc(e)?new Ec(r,e):new jA(r,e)},Ic=function(r,e){var o=bc(r,e);return o.flags|=4,Di(r,e,o,o),o},If=function(r,e,o){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Fa(r)&&o.styles.isTransparent()},Sf=function(r){return r.isPositioned()||r.isFloating()},Sc=function(r){return r.nodeType===Node.TEXT_NODE},Ln=function(r){return r.nodeType===Node.ELEMENT_NODE},ya=function(r){return Ln(r)&&typeof r.style!="undefined"&&!Ki(r)},Ki=function(r){return typeof r.className=="object"},Hf=function(r){return r.tagName==="LI"},xf=function(r){return r.tagName==="OL"},Tf=function(r){return r.tagName==="INPUT"},Lf=function(r){return r.tagName==="HTML"},Hc=function(r){return r.tagName==="svg"},Fa=function(r){return r.tagName==="BODY"},xc=function(r){return r.tagName==="CANVAS"},Tc=function(r){return r.tagName==="VIDEO"},Ea=function(r){return r.tagName==="IMG"},Lc=function(r){return r.tagName==="IFRAME"},Oc=function(r){return r.tagName==="STYLE"},Of=function(r){return r.tagName==="SCRIPT"},Mi=function(r){return r.tagName==="TEXTAREA"},Ri=function(r){return r.tagName==="SELECT"},Dc=function(r){return r.tagName==="SLOT"},Kc=function(r){return r.tagName.indexOf("-")>0},Df=function(){function r(){this.counters={}}return r.prototype.getCounterValue=function(e){var o=this.counters[e];return o&&o.length?o[o.length-1]:1},r.prototype.getCounterValues=function(e){var o=this.counters[e];return o||[]},r.prototype.pop=function(e){var o=this;e.forEach(function(n){return o.counters[n].pop()})},r.prototype.parse=function(e){var o=this,n=e.counterIncrement,a=e.counterReset,l=!0;n!==null&&n.forEach(function(v){var w=o.counters[v.counter];w&&v.increment!==0&&(l=!1,w.length||w.push(1),w[Math.max(0,w.length-1)]+=v.increment)});var p=[];return l&&a.forEach(function(v){var w=o.counters[v.counter];p.push(v.counter),w||(w=o.counters[v.counter]=[]),w.push(v.reset)}),p},r}(),Mc={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"]},Rc={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Kf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Mf={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},On=function(r,e,o,n,a,l){return ro?Eo(r,a,l.length>0):n.integers.reduce(function(p,v,w){for(;r>=v;)r-=v,p+=n.values[w];return p},"")+l},_c=function(r,e,o,n){var a="";do o||r--,a=n(r)+a,r/=e;while(r*e>=e);return a},ee=function(r,e,o,n,a){var l=o-e+1;return(r<0?"-":"")+(_c(Math.abs(r),l,n,function(p){return Y(Math.floor(p%l)+e)})+a)},Wr=function(r,e,o){o===void 0&&(o=". ");var n=e.length;return _c(Math.abs(r),n,!1,function(a){return e[Math.floor(a%n)]})+o},Dn=1<<0,fr=1<<1,gr=1<<2,Fo=1<<3,kt=function(r,e,o,n,a,l){if(r<-9999||r>9999)return Eo(r,4,a.length>0);var p=Math.abs(r),v=a;if(p===0)return e[0]+v;for(var w=0;p>0&&w<=4;w++){var E=p%10;E===0&&u(l,Dn)&&v!==""?v=e[E]+v:E>1||E===1&&w===0||E===1&&w===1&&u(l,fr)||E===1&&w===1&&u(l,gr)&&r>100||E===1&&w>1&&u(l,Fo)?v=e[E]+(w>0?o[w-1]:"")+v:E===1&&w>0&&(v=o[w-1]+v),p=Math.floor(p/10)}return(r<0?n:"")+v},Pc="\u5341\u767E\u5343\u842C",Nc="\u62FE\u4F70\u4EDF\u842C",Gc="\u30DE\u30A4\u30CA\u30B9",ba="\uB9C8\uC774\uB108\uC2A4",Eo=function(r,e,o){var n=o?". ":"",a=o?"\u3001":"",l=o?", ":"",p=o?" ":"";switch(e){case 0:return"\u2022"+p;case 1:return"\u25E6"+p;case 2:return"\u25FE"+p;case 5:var v=ee(r,48,57,!0,n);return v.length<4?"0"+v:v;case 4:return Wr(r,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",a);case 6:return On(r,1,3999,Mc,3,n).toLowerCase();case 7:return On(r,1,3999,Mc,3,n);case 8:return ee(r,945,969,!1,n);case 9:return ee(r,97,122,!1,n);case 10:return ee(r,65,90,!1,n);case 11:return ee(r,1632,1641,!0,n);case 12:case 49:return On(r,1,9999,Rc,3,n);case 35:return On(r,1,9999,Rc,3,n).toLowerCase();case 13:return ee(r,2534,2543,!0,n);case 14:case 30:return ee(r,6112,6121,!0,n);case 15:return Wr(r,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",a);case 16:return Wr(r,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",a);case 17:case 48:return kt(r,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Pc,"\u8CA0",a,fr|gr|Fo);case 47:return kt(r,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Nc,"\u8CA0",a,Dn|fr|gr|Fo);case 42:return kt(r,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Pc,"\u8D1F",a,fr|gr|Fo);case 41:return kt(r,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Nc,"\u8D1F",a,Dn|fr|gr|Fo);case 26:return kt(r,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Gc,a,0);case 25:return kt(r,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Gc,a,Dn|fr|gr);case 31:return kt(r,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",ba,l,Dn|fr|gr);case 33:return kt(r,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",ba,l,0);case 32:return kt(r,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",ba,l,Dn|fr|gr);case 18:return ee(r,2406,2415,!0,n);case 20:return On(r,1,19999,Mf,3,n);case 21:return ee(r,2790,2799,!0,n);case 22:return ee(r,2662,2671,!0,n);case 22:return On(r,1,10999,Kf,3,n);case 23:return Wr(r,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Wr(r,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return ee(r,3302,3311,!0,n);case 28:return Wr(r,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",a);case 29:return Wr(r,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",a);case 34:return ee(r,3792,3801,!0,n);case 37:return ee(r,6160,6169,!0,n);case 38:return ee(r,4160,4169,!0,n);case 39:return ee(r,2918,2927,!0,n);case 40:return ee(r,1776,1785,!0,n);case 43:return ee(r,3046,3055,!0,n);case 44:return ee(r,3174,3183,!0,n);case 45:return ee(r,3664,3673,!0,n);case 46:return ee(r,3872,3881,!0,n);case 3:default:return ee(r,48,57,!0,n)}},kc="data-html2canvas-ignore",Vc=function(){function r(e,o,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=o,this.counters=new Df,this.quoteDepth=0,!o.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(o.ownerDocument.documentElement,!1)}return r.prototype.toIFrame=function(e,o){var n=this,a=Rf(e,o);if(!a.contentWindow)return Promise.reject("Unable to find iframe window");var l=e.defaultView.pageXOffset,p=e.defaultView.pageYOffset,v=a.contentWindow,w=v.document,E=Nf(a).then(function(){return y(n,void 0,void 0,function(){var I,S;return b(this,function(L){switch(L.label){case 0:return this.scrolledElements.forEach(Xf),v&&(v.scrollTo(o.left,o.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(v.scrollY!==o.top||v.scrollX!==o.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(v.scrollX-o.left,v.scrollY-o.top,0,0))),I=this.options.onclone,S=this.clonedReferenceElement,typeof S=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:w.fonts&&w.fonts.ready?[4,w.fonts.ready]:[3,2];case 1:L.sent(),L.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Pf(w)]:[3,4];case 3:L.sent(),L.label=4;case 4:return typeof I=="function"?[2,Promise.resolve().then(function(){return I(w,S)}).then(function(){return a})]:[2,a]}})})});return w.open(),w.write(kf(document.doctype)+""),Vf(this.referenceElement.ownerDocument,l,p),w.replaceChild(w.adoptNode(this.documentElement),w.documentElement),w.close(),E},r.prototype.createElementClone=function(e){if(xA(e,2))debugger;if(xc(e))return this.createCanvasClone(e);if(Tc(e))return this.createVideoClone(e);if(Oc(e))return this.createStyleClone(e);var o=e.cloneNode(!1);return Ea(o)&&(Ea(e)&&e.currentSrc&&e.currentSrc!==e.src&&(o.src=e.currentSrc,o.srcset=""),o.loading==="lazy"&&(o.loading="eager")),Kc(o)?this.createCustomElementClone(o):o},r.prototype.createCustomElementClone=function(e){var o=document.createElement("html2canvascustomelement");return Ia(e.style,o),o},r.prototype.createStyleClone=function(e){try{var o=e.sheet;if(o&&o.cssRules){var n=[].slice.call(o.cssRules,0).reduce(function(l,p){return p&&typeof p.cssText=="string"?l+p.cssText:l},""),a=e.cloneNode(!1);return a.textContent=n,a}}catch(l){if(this.context.logger.error("Unable to access cssRules property",l),l.name!=="SecurityError")throw l}return e.cloneNode(!1)},r.prototype.createCanvasClone=function(e){var o;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var a=e.cloneNode(!1);try{a.width=e.width,a.height=e.height;var l=e.getContext("2d"),p=a.getContext("2d");if(p)if(!this.options.allowTaint&&l)p.putImageData(l.getImageData(0,0,e.width,e.height),0,0);else{var v=(o=e.getContext("webgl2"))!==null&&o!==void 0?o:e.getContext("webgl");if(v){var w=v.getContextAttributes();(w==null?void 0:w.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}p.drawImage(e,0,0)}return a}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return a},r.prototype.createVideoClone=function(e){var o=e.ownerDocument.createElement("canvas");o.width=e.offsetWidth,o.height=e.offsetHeight;var n=o.getContext("2d");try{return n&&(n.drawImage(e,0,0,o.width,o.height),this.options.allowTaint||n.getImageData(0,0,o.width,o.height)),o}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var a=e.ownerDocument.createElement("canvas");return a.width=e.offsetWidth,a.height=e.offsetHeight,a},r.prototype.appendChildNode=function(e,o,n){(!Ln(o)||!Of(o)&&!o.hasAttribute(kc)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(o)))&&(!this.options.copyStyles||!Ln(o)||!Oc(o))&&e.appendChild(this.cloneNode(o,n))},r.prototype.cloneChildNodes=function(e,o,n){for(var a=this,l=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;l;l=l.nextSibling)if(Ln(l)&&Dc(l)&&typeof l.assignedNodes=="function"){var p=l.assignedNodes();p.length&&p.forEach(function(v){return a.appendChildNode(o,v,n)})}else this.appendChildNode(o,l,n)},r.prototype.cloneNode=function(e,o){if(Sc(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&Ln(e)&&(ya(e)||Ki(e))){var a=this.createElementClone(e);a.style.transitionProperty="none";var l=n.getComputedStyle(e),p=n.getComputedStyle(e,":before"),v=n.getComputedStyle(e,":after");this.referenceElement===e&&ya(a)&&(this.clonedReferenceElement=a),Fa(a)&&Yf(a);var w=this.counters.parse(new dA(this.context,l)),E=this.resolvePseudoContent(e,a,p,bo.BEFORE);Kc(e)&&(o=!0),Tc(e)||this.cloneChildNodes(e,a,o),E&&a.insertBefore(E,a.firstChild);var I=this.resolvePseudoContent(e,a,v,bo.AFTER);return I&&a.appendChild(I),this.counters.pop(w),(l&&(this.options.copyStyles||Ki(e))&&!Lc(e)||o)&&Ia(l,a),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([a,e.scrollLeft,e.scrollTop]),(Mi(e)||Ri(e))&&(Mi(a)||Ri(a))&&(a.value=e.value),a}return e.cloneNode(!1)},r.prototype.resolvePseudoContent=function(e,o,n,a){var l=this;if(!!n){var p=n.content,v=o.ownerDocument;if(!(!v||!p||p==="none"||p==="-moz-alt-content"||n.display==="none")){this.counters.parse(new dA(this.context,n));var w=new sA(this.context,n),E=v.createElement("html2canvaspseudoelement");Ia(n,E),w.content.forEach(function(S){if(S.type===0)E.appendChild(v.createTextNode(S.value));else if(S.type===22){var L=v.createElement("img");L.src=S.value,L.style.opacity="1",E.appendChild(L)}else if(S.type===18){if(S.name==="attr"){var $=S.values.filter(IA);$.length&&E.appendChild(v.createTextNode(e.getAttribute($[0].value)||""))}else if(S.name==="counter"){var N=S.values.filter(ht),z=N[0],hA=N[1];if(z&&IA(z)){var oA=l.counters.getCounterValue(z.value),rA=hA&&IA(hA)?Gr.parse(l.context,hA.value):3;E.appendChild(v.createTextNode(Eo(oA,rA,!1)))}}else if(S.name==="counters"){var SA=S.values.filter(ht),z=SA[0],mA=SA[1],hA=SA[2];if(z&&IA(z)){var uA=l.counters.getCounterValues(z.value),q=hA&&IA(hA)?Gr.parse(l.context,hA.value):3,FA=mA&&mA.type===0?mA.value:"",EA=uA.map(function(be){return Eo(be,q,!1)}).join(FA);E.appendChild(v.createTextNode(EA))}}}else if(S.type===20)switch(S.value){case"open-quote":E.appendChild(v.createTextNode(O(w.quotes,l.quoteDepth++,!0)));break;case"close-quote":E.appendChild(v.createTextNode(O(w.quotes,--l.quoteDepth,!1)));break;default:E.appendChild(v.createTextNode(S.value))}}),E.className=Sa+" "+Ha;var I=a===bo.BEFORE?" "+Sa:" "+Ha;return Ki(o)?o.className.baseValue+=I:o.className+=I,E}}},r.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},r}(),bo;(function(r){r[r.BEFORE=0]="BEFORE",r[r.AFTER=1]="AFTER"})(bo||(bo={}));var Rf=function(r,e){var o=r.createElement("iframe");return o.className="html2canvas-container",o.style.visibility="hidden",o.style.position="fixed",o.style.left="-10000px",o.style.top="0px",o.style.border="0",o.width=e.width.toString(),o.height=e.height.toString(),o.scrolling="no",o.setAttribute(kc,"true"),r.body.appendChild(o),o},_f=function(r){return new Promise(function(e){if(r.complete){e();return}if(!r.src){e();return}r.onload=e,r.onerror=e})},Pf=function(r){return Promise.all([].slice.call(r.images,0).map(_f))},Nf=function(r){return new Promise(function(e,o){var n=r.contentWindow;if(!n)return o("No window assigned for iframe");var a=n.document;n.onload=r.onload=function(){n.onload=r.onload=null;var l=setInterval(function(){a.body.childNodes.length>0&&a.readyState==="complete"&&(clearInterval(l),e(r))},50)}})},Gf=["all","d","content"],Ia=function(r,e){for(var o=r.length-1;o>=0;o--){var n=r.item(o);Gf.indexOf(n)===-1&&e.style.setProperty(n,r.getPropertyValue(n))}return e},kf=function(r){var e="";return r&&(e+=""),e},Vf=function(r,e,o){r&&r.defaultView&&(e!==r.defaultView.pageXOffset||o!==r.defaultView.pageYOffset)&&r.defaultView.scrollTo(e,o)},Xf=function(r){var e=r[0],o=r[1],n=r[2];e.scrollLeft=o,e.scrollTop=n},Wf=":before",Jf=":after",Sa="___html2canvas___pseudoelement_before",Ha="___html2canvas___pseudoelement_after",Xc=`{ content: "" !important; display: none !important; }`,Yf=function(r){jf(r,"."+Sa+Wf+Xc+` - .`+Ha+Jf+Xc)},jf=function(r,e){var o=r.ownerDocument;if(o){var n=o.createElement("style");n.textContent=e,r.appendChild(n)}},Wc=function(){function r(){}return r.getOrigin=function(e){var o=r._link;return o?(o.href=e,o.href=o.href,o.protocol+o.hostname+o.port):"about:blank"},r.isSameOrigin=function(e){return r.getOrigin(e)===r._origin},r.setContext=function(e){r._link=e.document.createElement("a"),r._origin=r.getOrigin(e.location.href)},r._origin="about:blank",r}(),zf=function(){function r(e,o){this.context=e,this._options=o,this._cache={}}return r.prototype.addImage=function(e){var o=Promise.resolve();return this.has(e)||(Ta(e)||Ag(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),o},r.prototype.match=function(e){return this._cache[e]},r.prototype.loadImage=function(e){return y(this,void 0,void 0,function(){var o,n,a,l,p=this;return b(this,function(v){switch(v.label){case 0:return o=Wc.isSameOrigin(e),n=!xa(e)&&this._options.useCORS===!0&&Be.SUPPORT_CORS_IMAGES&&!o,a=!xa(e)&&!o&&!Ta(e)&&typeof this._options.proxy=="string"&&Be.SUPPORT_CORS_XHR&&!n,!o&&this._options.allowTaint===!1&&!xa(e)&&!Ta(e)&&!a&&!n?[2]:(l=e,a?[4,this.proxy(l)]:[3,2]);case 1:l=v.sent(),v.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(w,E){var I=new Image;I.onload=function(){return w(I)},I.onerror=E,(eg(l)||n)&&(I.crossOrigin="anonymous"),I.src=l,I.complete===!0&&setTimeout(function(){return w(I)},500),p._options.imageTimeout>0&&setTimeout(function(){return E("Timed out ("+p._options.imageTimeout+"ms) loading image")},p._options.imageTimeout)})];case 3:return[2,v.sent()]}})})},r.prototype.has=function(e){return typeof this._cache[e]!="undefined"},r.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},r.prototype.proxy=function(e){var o=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var a=e.substring(0,256);return new Promise(function(l,p){var v=Be.SUPPORT_RESPONSE_TYPE?"blob":"text",w=new XMLHttpRequest;w.onload=function(){if(w.status===200)if(v==="text")l(w.response);else{var S=new FileReader;S.addEventListener("load",function(){return l(S.result)},!1),S.addEventListener("error",function(L){return p(L)},!1),S.readAsDataURL(w.response)}else p("Failed to proxy resource "+a+" with status code "+w.status)},w.onerror=p;var E=n.indexOf("?")>-1?"&":"?";if(w.open("GET",""+n+E+"url="+encodeURIComponent(e)+"&responseType="+v),v!=="text"&&w instanceof XMLHttpRequest&&(w.responseType=v),o._options.imageTimeout){var I=o._options.imageTimeout;w.timeout=I,w.ontimeout=function(){return p("Timed out ("+I+"ms) proxying "+a)}}w.send()})},r}(),Zf=/^data:image\/svg\+xml/i,qf=/^data:image\/.*;base64,/i,$f=/^data:image\/.*/i,Ag=function(r){return Be.SUPPORT_SVG_DRAWING||!tg(r)},xa=function(r){return $f.test(r)},eg=function(r){return qf.test(r)},Ta=function(r){return r.substr(0,4)==="blob"},tg=function(r){return r.substr(-3).toLowerCase()==="svg"||Zf.test(r)},Z=function(){function r(e,o){this.type=0,this.x=e,this.y=o}return r.prototype.add=function(e,o){return new r(this.x+e,this.y+o)},r}(),Kn=function(r,e,o){return new Z(r.x+(e.x-r.x)*o,r.y+(e.y-r.y)*o)},_i=function(){function r(e,o,n,a){this.type=1,this.start=e,this.startControl=o,this.endControl=n,this.end=a}return r.prototype.subdivide=function(e,o){var n=Kn(this.start,this.startControl,e),a=Kn(this.startControl,this.endControl,e),l=Kn(this.endControl,this.end,e),p=Kn(n,a,e),v=Kn(a,l,e),w=Kn(p,v,e);return o?new r(this.start,n,p,w):new r(w,v,l,this.end)},r.prototype.add=function(e,o){return new r(this.start.add(e,o),this.startControl.add(e,o),this.endControl.add(e,o),this.end.add(e,o))},r.prototype.reverse=function(){return new r(this.end,this.endControl,this.startControl,this.start)},r}(),We=function(r){return r.type===1},rg=function(){function r(e){var o=e.styles,n=e.bounds,a=or(o.borderTopLeftRadius,n.width,n.height),l=a[0],p=a[1],v=or(o.borderTopRightRadius,n.width,n.height),w=v[0],E=v[1],I=or(o.borderBottomRightRadius,n.width,n.height),S=I[0],L=I[1],$=or(o.borderBottomLeftRadius,n.width,n.height),N=$[0],z=$[1],hA=[];hA.push((l+w)/n.width),hA.push((N+S)/n.width),hA.push((p+z)/n.height),hA.push((E+L)/n.height);var oA=Math.max.apply(Math,hA);oA>1&&(l/=oA,p/=oA,w/=oA,E/=oA,S/=oA,L/=oA,N/=oA,z/=oA);var rA=n.width-w,IA=n.height-L,mA=n.width-S,uA=n.height-z,q=o.borderTopWidth,FA=o.borderRightWidth,EA=o.borderBottomWidth,gA=o.borderLeftWidth,ne=KA(o.paddingTop,e.bounds.width),be=KA(o.paddingRight,e.bounds.width),Me=KA(o.paddingBottom,e.bounds.width),_A=KA(o.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=l>0||p>0?XA(n.left+gA/3,n.top+q/3,l-gA/3,p-q/3,TA.TOP_LEFT):new Z(n.left+gA/3,n.top+q/3),this.topRightBorderDoubleOuterBox=l>0||p>0?XA(n.left+rA,n.top+q/3,w-FA/3,E-q/3,TA.TOP_RIGHT):new Z(n.left+n.width-FA/3,n.top+q/3),this.bottomRightBorderDoubleOuterBox=S>0||L>0?XA(n.left+mA,n.top+IA,S-FA/3,L-EA/3,TA.BOTTOM_RIGHT):new Z(n.left+n.width-FA/3,n.top+n.height-EA/3),this.bottomLeftBorderDoubleOuterBox=N>0||z>0?XA(n.left+gA/3,n.top+uA,N-gA/3,z-EA/3,TA.BOTTOM_LEFT):new Z(n.left+gA/3,n.top+n.height-EA/3),this.topLeftBorderDoubleInnerBox=l>0||p>0?XA(n.left+gA*2/3,n.top+q*2/3,l-gA*2/3,p-q*2/3,TA.TOP_LEFT):new Z(n.left+gA*2/3,n.top+q*2/3),this.topRightBorderDoubleInnerBox=l>0||p>0?XA(n.left+rA,n.top+q*2/3,w-FA*2/3,E-q*2/3,TA.TOP_RIGHT):new Z(n.left+n.width-FA*2/3,n.top+q*2/3),this.bottomRightBorderDoubleInnerBox=S>0||L>0?XA(n.left+mA,n.top+IA,S-FA*2/3,L-EA*2/3,TA.BOTTOM_RIGHT):new Z(n.left+n.width-FA*2/3,n.top+n.height-EA*2/3),this.bottomLeftBorderDoubleInnerBox=N>0||z>0?XA(n.left+gA*2/3,n.top+uA,N-gA*2/3,z-EA*2/3,TA.BOTTOM_LEFT):new Z(n.left+gA*2/3,n.top+n.height-EA*2/3),this.topLeftBorderStroke=l>0||p>0?XA(n.left+gA/2,n.top+q/2,l-gA/2,p-q/2,TA.TOP_LEFT):new Z(n.left+gA/2,n.top+q/2),this.topRightBorderStroke=l>0||p>0?XA(n.left+rA,n.top+q/2,w-FA/2,E-q/2,TA.TOP_RIGHT):new Z(n.left+n.width-FA/2,n.top+q/2),this.bottomRightBorderStroke=S>0||L>0?XA(n.left+mA,n.top+IA,S-FA/2,L-EA/2,TA.BOTTOM_RIGHT):new Z(n.left+n.width-FA/2,n.top+n.height-EA/2),this.bottomLeftBorderStroke=N>0||z>0?XA(n.left+gA/2,n.top+uA,N-gA/2,z-EA/2,TA.BOTTOM_LEFT):new Z(n.left+gA/2,n.top+n.height-EA/2),this.topLeftBorderBox=l>0||p>0?XA(n.left,n.top,l,p,TA.TOP_LEFT):new Z(n.left,n.top),this.topRightBorderBox=w>0||E>0?XA(n.left+rA,n.top,w,E,TA.TOP_RIGHT):new Z(n.left+n.width,n.top),this.bottomRightBorderBox=S>0||L>0?XA(n.left+mA,n.top+IA,S,L,TA.BOTTOM_RIGHT):new Z(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=N>0||z>0?XA(n.left,n.top+uA,N,z,TA.BOTTOM_LEFT):new Z(n.left,n.top+n.height),this.topLeftPaddingBox=l>0||p>0?XA(n.left+gA,n.top+q,Math.max(0,l-gA),Math.max(0,p-q),TA.TOP_LEFT):new Z(n.left+gA,n.top+q),this.topRightPaddingBox=w>0||E>0?XA(n.left+Math.min(rA,n.width-FA),n.top+q,rA>n.width+FA?0:Math.max(0,w-FA),Math.max(0,E-q),TA.TOP_RIGHT):new Z(n.left+n.width-FA,n.top+q),this.bottomRightPaddingBox=S>0||L>0?XA(n.left+Math.min(mA,n.width-gA),n.top+Math.min(IA,n.height-EA),Math.max(0,S-FA),Math.max(0,L-EA),TA.BOTTOM_RIGHT):new Z(n.left+n.width-FA,n.top+n.height-EA),this.bottomLeftPaddingBox=N>0||z>0?XA(n.left+gA,n.top+Math.min(uA,n.height-EA),Math.max(0,N-gA),Math.max(0,z-EA),TA.BOTTOM_LEFT):new Z(n.left+gA,n.top+n.height-EA),this.topLeftContentBox=l>0||p>0?XA(n.left+gA+_A,n.top+q+ne,Math.max(0,l-(gA+_A)),Math.max(0,p-(q+ne)),TA.TOP_LEFT):new Z(n.left+gA+_A,n.top+q+ne),this.topRightContentBox=w>0||E>0?XA(n.left+Math.min(rA,n.width+gA+_A),n.top+q+ne,rA>n.width+gA+_A?0:w-gA+_A,E-(q+ne),TA.TOP_RIGHT):new Z(n.left+n.width-(FA+be),n.top+q+ne),this.bottomRightContentBox=S>0||L>0?XA(n.left+Math.min(mA,n.width-(gA+_A)),n.top+Math.min(IA,n.height+q+ne),Math.max(0,S-(FA+be)),L-(EA+Me),TA.BOTTOM_RIGHT):new Z(n.left+n.width-(FA+be),n.top+n.height-(EA+Me)),this.bottomLeftContentBox=N>0||z>0?XA(n.left+gA+_A,n.top+uA,Math.max(0,N-(gA+_A)),z-(EA+Me),TA.BOTTOM_LEFT):new Z(n.left+gA+_A,n.top+n.height-(EA+Me))}return r}(),TA;(function(r){r[r.TOP_LEFT=0]="TOP_LEFT",r[r.TOP_RIGHT=1]="TOP_RIGHT",r[r.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",r[r.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(TA||(TA={}));var XA=function(r,e,o,n,a){var l=4*((Math.sqrt(2)-1)/3),p=o*l,v=n*l,w=r+o,E=e+n;switch(a){case TA.TOP_LEFT:return new _i(new Z(r,E),new Z(r,E-v),new Z(w-p,e),new Z(w,e));case TA.TOP_RIGHT:return new _i(new Z(r,e),new Z(r+p,e),new Z(w,E-v),new Z(w,E));case TA.BOTTOM_RIGHT:return new _i(new Z(w,e),new Z(w,e+v),new Z(r+p,E),new Z(r,E));case TA.BOTTOM_LEFT:default:return new _i(new Z(w,E),new Z(w-p,E),new Z(r,e+v),new Z(r,e))}},Pi=function(r){return[r.topLeftBorderBox,r.topRightBorderBox,r.bottomRightBorderBox,r.bottomLeftBorderBox]},ng=function(r){return[r.topLeftContentBox,r.topRightContentBox,r.bottomRightContentBox,r.bottomLeftContentBox]},Ni=function(r){return[r.topLeftPaddingBox,r.topRightPaddingBox,r.bottomRightPaddingBox,r.bottomLeftPaddingBox]},og=function(){function r(e,o,n){this.offsetX=e,this.offsetY=o,this.matrix=n,this.type=0,this.target=2|4}return r}(),Gi=function(){function r(e,o){this.path=e,this.target=o,this.type=1}return r}(),ig=function(){function r(e){this.opacity=e,this.type=2,this.target=2|4}return r}(),sg=function(r){return r.type===0},Jc=function(r){return r.type===1},ag=function(r){return r.type===2},Yc=function(r,e){return r.length===e.length?r.some(function(o,n){return o===e[n]}):!1},cg=function(r,e,o,n,a){return r.map(function(l,p){switch(p){case 0:return l.add(e,o);case 1:return l.add(e+n,o);case 2:return l.add(e+n,o+a);case 3:return l.add(e,o+a)}return l})},jc=function(){function r(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return r}(),zc=function(){function r(e,o){if(this.container=e,this.parent=o,this.effects=[],this.curves=new rg(this.container),this.container.styles.opacity<1&&this.effects.push(new ig(this.container.styles.opacity)),this.container.styles.transform!==null){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,a=this.container.bounds.top+this.container.styles.transformOrigin[1].number,l=this.container.styles.transform;this.effects.push(new og(n,a,l))}if(this.container.styles.overflowX!==0){var p=Pi(this.curves),v=Ni(this.curves);Yc(p,v)?this.effects.push(new Gi(p,2|4)):(this.effects.push(new Gi(p,2)),this.effects.push(new Gi(v,4)))}}return r.prototype.getEffects=function(e){for(var o=[2,3].indexOf(this.container.styles.position)===-1,n=this.parent,a=this.effects.slice(0);n;){var l=n.effects.filter(function(w){return!Jc(w)});if(o||n.container.styles.position!==0||!n.parent){if(a.unshift.apply(a,l),o=[2,3].indexOf(n.container.styles.position)===-1,n.container.styles.overflowX!==0){var p=Pi(n.curves),v=Ni(n.curves);Yc(p,v)||a.unshift(new Gi(v,2|4))}}else a.unshift.apply(a,l);n=n.parent}return a.filter(function(w){return u(w.target,e)})},r}(),La=function(r,e,o,n){r.container.elements.forEach(function(a){var l=u(a.flags,4),p=u(a.flags,2),v=new zc(a,r);u(a.styles.display,2048)&&n.push(v);var w=u(a.flags,8)?[]:n;if(l||p){var E=l||a.styles.isPositioned()?o:e,I=new jc(v);if(a.styles.isPositioned()||a.styles.opacity<1||a.styles.isTransformed()){var S=a.styles.zIndex.order;if(S<0){var L=0;E.negativeZIndex.some(function(N,z){return S>N.element.container.styles.zIndex.order?(L=z,!1):L>0}),E.negativeZIndex.splice(L,0,I)}else if(S>0){var $=0;E.positiveZIndex.some(function(N,z){return S>=N.element.container.styles.zIndex.order?($=z+1,!1):$>0}),E.positiveZIndex.splice($,0,I)}else E.zeroOrAutoZIndexOrTransformedOrOpacity.push(I)}else a.styles.isFloating()?E.nonPositionedFloats.push(I):E.nonPositionedInlineLevel.push(I);La(v,I,l?I:o,w)}else a.styles.isInlineLevel()?e.inlineLevel.push(v):e.nonInlineLevel.push(v),La(v,e,o,w);u(a.flags,8)&&Zc(a,w)})},Zc=function(r,e){for(var o=r instanceof Ca?r.start:1,n=r instanceof Ca?r.reversed:!1,a=0;a0&&o.intrinsicHeight>0){var l=Vi(o),p=Ni(n);this.path(p),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(a,0,0,o.intrinsicWidth,o.intrinsicHeight,l.left,l.top,l.width,l.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(o){return y(this,void 0,void 0,function(){var n,a,l,p,v,w,rA,rA,E,I,S,L,mA,$,N,uA,z,hA,oA,rA,IA,mA,uA;return b(this,function(q){switch(q.label){case 0:this.applyEffects(o.getEffects(4)),n=o.container,a=o.curves,l=n.styles,p=0,v=n.textNodes,q.label=1;case 1:return p0&&pe>0&&(EA=l.ctx.createPattern(uA,"repeat"),l.renderRepeat(ne,EA,Ie,Se))):_s(I)&&(gA=Oa(o,n,[null,null,null]),ne=gA[0],be=gA[1],Me=gA[2],_A=gA[3],pe=gA[4],dr=I.position.length===0?[nr]:I.position,Ie=KA(dr[0],_A),Se=KA(dr[dr.length-1],pe),Jr=di(I,Ie,Se,_A,pe),Qt=Jr[0],Br=Jr[1],Qt>0&&Br>0&&(Yr=l.ctx.createRadialGradient(be+Ie,Me+Se,0,be+Ie,Me+Se,Qt),gi(I.stops,Qt*2).forEach(function(Io){return Yr.addColorStop(Io.stop,Ae(Io.color))}),l.path(ne),l.ctx.fillStyle=Yr,Qt!==Br?(jr=o.bounds.left+.5*o.bounds.width,Vt=o.bounds.top+.5*o.bounds.height,zr=Br/Qt,Xt=1/zr,l.ctx.save(),l.ctx.translate(jr,Vt),l.ctx.transform(1,0,0,zr,0,0),l.ctx.translate(-jr,-Vt),l.ctx.fillRect(be,Xt*(Me-Vt)+Vt,_A,pe*Xt),l.ctx.restore()):l.ctx.fill())),_n.label=6;case 6:return n--,[2]}})},l=this,p=0,v=o.styles.backgroundImage.slice(0).reverse(),E.label=1;case 1:return p0?I.style!==2?[3,5]:[4,this.renderDashedDottedBorder(I.color,I.width,v,o.curves,2)]:[3,11]):[3,13];case 4:return L.sent(),[3,11];case 5:return I.style!==3?[3,7]:[4,this.renderDashedDottedBorder(I.color,I.width,v,o.curves,3)];case 6:return L.sent(),[3,11];case 7:return I.style!==4?[3,9]:[4,this.renderDoubleBorder(I.color,I.width,v,o.curves)];case 8:return L.sent(),[3,11];case 9:return[4,this.renderSolidBorder(I.color,v,o.curves)];case 10:L.sent(),L.label=11;case 11:v++,L.label=12;case 12:return w++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(o,n,a,l,p){return y(this,void 0,void 0,function(){var v,w,E,I,S,L,$,N,z,hA,oA,rA,IA,mA,uA,q,uA,q;return b(this,function(FA){return this.ctx.save(),v=gg(l,a),w=qc(l,a),p===2&&(this.path(w),this.ctx.clip()),We(w[0])?(E=w[0].start.x,I=w[0].start.y):(E=w[0].x,I=w[0].y),We(w[1])?(S=w[1].end.x,L=w[1].end.y):(S=w[1].x,L=w[1].y),a===0||a===2?$=Math.abs(E-S):$=Math.abs(I-L),this.ctx.beginPath(),p===3?this.formatPath(v):this.formatPath(w.slice(0,2)),N=n<3?n*3:n*2,z=n<3?n*2:n,p===3&&(N=n,z=n),hA=!0,$<=N*2?hA=!1:$<=N*2+z?(oA=$/(2*N+z),N*=oA,z*=oA):(rA=Math.floor(($+z)/(N+z)),IA=($-rA*N)/(rA-1),mA=($-(rA+1)*N)/rA,z=mA<=0||Math.abs(z-IA){(function(h){typeof ql=="object"&&typeof za!="undefined"?za.exports=h():typeof define=="function"&&define.amd?define([],h):(typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this).interact=h()})(function(){var h={};Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function(A){return!(!A||!A.Window)&&A instanceof A.Window};var B={};Object.defineProperty(B,"__esModule",{value:!0}),B.getWindow=function(A){return(0,h.default)(A)?A:(A.ownerDocument||A).defaultView||y.window},B.init=b,B.window=B.realWindow=void 0;var Q=void 0;B.realWindow=Q;var y=void 0;function b(A){B.realWindow=Q=A;var t=A.document.createTextNode("");t.ownerDocument!==A.document&&typeof A.wrap=="function"&&A.wrap(t)===t&&(A=A.wrap(A)),B.window=y=A}B.window=y,typeof window!="undefined"&&window&&b(window);var U={};function K(A){return K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},K(A)}Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var J=function(A){return!!A&&K(A)==="object"},AA=function(A){return typeof A=="function"},UA={window:function(A){return A===B.window||(0,h.default)(A)},docFrag:function(A){return J(A)&&A.nodeType===11},object:J,func:AA,number:function(A){return typeof A=="number"},bool:function(A){return typeof A=="boolean"},string:function(A){return typeof A=="string"},element:function(A){if(!A||K(A)!=="object")return!1;var t=B.getWindow(A)||B.window;return/object|function/.test(typeof Element=="undefined"?"undefined":K(Element))?A instanceof Element||A instanceof t.Element:A.nodeType===1&&typeof A.nodeName=="string"},plainObject:function(A){return J(A)&&!!A.constructor&&/function Object\b/.test(A.constructor.toString())},array:function(A){return J(A)&&A.length!==void 0&&AA(A.splice)}};U.default=UA;var Y={};function LA(A){var t=A.interaction;if(t.prepared.name==="drag"){var i=t.prepared.axis;i==="x"?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):i==="y"&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}}function SA(A){var t=A.iEvent,i=A.interaction;if(i.prepared.name==="drag"){var s=i.prepared.axis;if(s==="x"||s==="y"){var c=s==="x"?"y":"x";t.page[c]=i.coords.start.page[c],t.client[c]=i.coords.start.client[c],t.delta[c]=0}}}Object.defineProperty(Y,"__esModule",{value:!0}),Y.default=void 0;var BA={id:"actions/drag",install:function(A){var t=A.actions,i=A.Interactable,s=A.defaults;i.prototype.draggable=BA.draggable,t.map.drag=BA,t.methodDict.drag="draggable",s.actions.drag=BA.defaults},listeners:{"interactions:before-action-move":LA,"interactions:action-resume":LA,"interactions:action-move":SA,"auto-start:check":function(A){var t=A.interaction,i=A.interactable,s=A.buttons,c=i.options.drag;if(c&&c.enabled&&(!t.pointerIsDown||!/mouse|pointer/.test(t.pointerType)||(s&i.options.drag.mouseButtons)!=0))return A.action={name:"drag",axis:c.lockAxis==="start"?c.startAxis:c.lockAxis},!1}},draggable:function(A){return U.default.object(A)?(this.options.drag.enabled=A.enabled!==!1,this.setPerAction("drag",A),this.setOnEvents("drag",A),/^(xy|x|y|start)$/.test(A.lockAxis)&&(this.options.drag.lockAxis=A.lockAxis),/^(xy|x|y)$/.test(A.startAxis)&&(this.options.drag.startAxis=A.startAxis),this):U.default.bool(A)?(this.options.drag.enabled=A,this):this.options.drag},beforeMove:LA,move:SA,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"}},ce=BA;Y.default=ce;var fA={};Object.defineProperty(fA,"__esModule",{value:!0}),fA.default=void 0;var NA={init:function(A){var t=A;NA.document=t.document,NA.DocumentFragment=t.DocumentFragment||ue,NA.SVGElement=t.SVGElement||ue,NA.SVGSVGElement=t.SVGSVGElement||ue,NA.SVGElementInstance=t.SVGElementInstance||ue,NA.Element=t.Element||ue,NA.HTMLElement=t.HTMLElement||NA.Element,NA.Event=t.Event,NA.Touch=t.Touch||ue,NA.PointerEvent=t.PointerEvent||t.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function ue(){}var Ut=NA;fA.default=Ut;var GA={};Object.defineProperty(GA,"__esModule",{value:!0}),GA.default=void 0;var OA={init:function(A){var t=fA.default.Element,i=A.navigator||{};OA.supportsTouch="ontouchstart"in A||U.default.func(A.DocumentTouch)&&fA.default.document instanceof A.DocumentTouch,OA.supportsPointerEvent=i.pointerEnabled!==!1&&!!fA.default.PointerEvent,OA.isIOS=/iP(hone|od|ad)/.test(i.platform),OA.isIOS7=/iP(hone|od|ad)/.test(i.platform)&&/OS 7[^\d]/.test(i.appVersion),OA.isIe9=/MSIE 9/.test(i.userAgent),OA.isOperaMobile=i.appName==="Opera"&&OA.supportsTouch&&/Presto/.test(i.userAgent),OA.prefixedMatchesSelector="matches"in t.prototype?"matches":"webkitMatchesSelector"in t.prototype?"webkitMatchesSelector":"mozMatchesSelector"in t.prototype?"mozMatchesSelector":"oMatchesSelector"in t.prototype?"oMatchesSelector":"msMatchesSelector",OA.pEventTypes=OA.supportsPointerEvent?fA.default.PointerEvent===A.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,OA.wheelEvent=fA.default.document&&"onmousewheel"in fA.default.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},Ue=OA;GA.default=Ue;var G={};function zA(A){var t=A.parentNode;if(U.default.docFrag(t)){for(;(t=t.host)&&U.default.docFrag(t););return t}return t}function WA(A,t){return B.window!==B.realWindow&&(t=t.replace(/\/deep\//g," ")),A[GA.default.prefixedMatchesSelector](t)}Object.defineProperty(G,"__esModule",{value:!0}),G.closest=function(A,t){for(;U.default.element(A);){if(WA(A,t))return A;A=zA(A)}return null},G.getActualElement=function(A){return A.correspondingUseElement||A},G.getElementClientRect=zt,G.getElementRect=function(A){var t=zt(A);if(!GA.default.isIOS7&&t){var i=yt(B.getWindow(A));t.left+=i.x,t.right+=i.x,t.top+=i.y,t.bottom+=i.y}return t},G.getPath=function(A){for(var t=[];A;)t.push(A),A=zA(A);return t},G.getScrollXY=yt,G.indexOfDeepestElement=function(A){for(var t,i=[],s=0;s=(parseInt(B.getWindow(H).getComputedStyle(H).zIndex,10)||0)&&(t=s);else t=s}else t=s}var O,H;return t},G.matchesSelector=WA,G.matchesUpTo=function(A,t,i){for(;U.default.element(A);){if(WA(A,t))return!0;if((A=zA(A))===i)return WA(A,t)}return!1},G.nodeContains=function(A,t){if(A.contains)return A.contains(t);for(;t;){if(t===A)return!0;t=t.parentNode}return!1},G.parentNode=zA,G.trySelector=function(A){return!!U.default.string(A)&&(fA.default.document.querySelector(A),!0)};var ye=function(A){return A.parentNode||A.host};function ut(A,t){for(var i,s=[],c=A;(i=ye(c))&&c!==t&&i!==c.ownerDocument;)s.unshift(c),c=i;return s}function yt(A){return{x:(A=A||B.window).scrollX||A.document.documentElement.scrollLeft,y:A.scrollY||A.document.documentElement.scrollTop}}function zt(A){var t=A instanceof fA.default.SVGElement?A.getBoundingClientRect():A.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}}var eA={};Object.defineProperty(eA,"__esModule",{value:!0}),eA.default=function(A,t){for(var i in t)A[i]=t[i];return A};var HA={};function Re(A,t){(t==null||t>A.length)&&(t=A.length);for(var i=0,s=Array(t);i0&&setTimeout(function(){return E("Timed out ("+p._options.imageTimeout+"ms) loading image")},p._options.imageTimeout)})];case 3:return[2,v.sent()]}})})},r.prototype.has=function(e){return typeof this._cache[e]!="undefined"},r.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},r.prototype.proxy=function(e){var o=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var a=e.substring(0,256);return new Promise(function(l,p){var v=Be.SUPPORT_RESPONSE_TYPE?"blob":"text",w=new XMLHttpRequest;w.onload=function(){if(w.status===200)if(v==="text")l(w.response);else{var S=new FileReader;S.addEventListener("load",function(){return l(S.result)},!1),S.addEventListener("error",function(L){return p(L)},!1),S.readAsDataURL(w.response)}else p("Failed to proxy resource "+a+" with status code "+w.status)},w.onerror=p;var E=n.indexOf("?")>-1?"&":"?";if(w.open("GET",""+n+E+"url="+encodeURIComponent(e)+"&responseType="+v),v!=="text"&&w instanceof XMLHttpRequest&&(w.responseType=v),o._options.imageTimeout){var I=o._options.imageTimeout;w.timeout=I,w.ontimeout=function(){return p("Timed out ("+I+"ms) proxying "+a)}}w.send()})},r}(),Zf=/^data:image\/svg\+xml/i,qf=/^data:image\/.*;base64,/i,$f=/^data:image\/.*/i,Ag=function(r){return Be.SUPPORT_SVG_DRAWING||!tg(r)},xa=function(r){return $f.test(r)},eg=function(r){return qf.test(r)},Ta=function(r){return r.substr(0,4)==="blob"},tg=function(r){return r.substr(-3).toLowerCase()==="svg"||Zf.test(r)},Z=function(){function r(e,o){this.type=0,this.x=e,this.y=o}return r.prototype.add=function(e,o){return new r(this.x+e,this.y+o)},r}(),Kn=function(r,e,o){return new Z(r.x+(e.x-r.x)*o,r.y+(e.y-r.y)*o)},_i=function(){function r(e,o,n,a){this.type=1,this.start=e,this.startControl=o,this.endControl=n,this.end=a}return r.prototype.subdivide=function(e,o){var n=Kn(this.start,this.startControl,e),a=Kn(this.startControl,this.endControl,e),l=Kn(this.endControl,this.end,e),p=Kn(n,a,e),v=Kn(a,l,e),w=Kn(p,v,e);return o?new r(this.start,n,p,w):new r(w,v,l,this.end)},r.prototype.add=function(e,o){return new r(this.start.add(e,o),this.startControl.add(e,o),this.endControl.add(e,o),this.end.add(e,o))},r.prototype.reverse=function(){return new r(this.end,this.endControl,this.startControl,this.start)},r}(),We=function(r){return r.type===1},rg=function(){function r(e){var o=e.styles,n=e.bounds,a=or(o.borderTopLeftRadius,n.width,n.height),l=a[0],p=a[1],v=or(o.borderTopRightRadius,n.width,n.height),w=v[0],E=v[1],I=or(o.borderBottomRightRadius,n.width,n.height),S=I[0],L=I[1],$=or(o.borderBottomLeftRadius,n.width,n.height),N=$[0],z=$[1],hA=[];hA.push((l+w)/n.width),hA.push((N+S)/n.width),hA.push((p+z)/n.height),hA.push((E+L)/n.height);var oA=Math.max.apply(Math,hA);oA>1&&(l/=oA,p/=oA,w/=oA,E/=oA,S/=oA,L/=oA,N/=oA,z/=oA);var rA=n.width-w,SA=n.height-L,mA=n.width-S,uA=n.height-z,q=o.borderTopWidth,FA=o.borderRightWidth,EA=o.borderBottomWidth,gA=o.borderLeftWidth,ne=KA(o.paddingTop,e.bounds.width),be=KA(o.paddingRight,e.bounds.width),Me=KA(o.paddingBottom,e.bounds.width),_A=KA(o.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=l>0||p>0?XA(n.left+gA/3,n.top+q/3,l-gA/3,p-q/3,TA.TOP_LEFT):new Z(n.left+gA/3,n.top+q/3),this.topRightBorderDoubleOuterBox=l>0||p>0?XA(n.left+rA,n.top+q/3,w-FA/3,E-q/3,TA.TOP_RIGHT):new Z(n.left+n.width-FA/3,n.top+q/3),this.bottomRightBorderDoubleOuterBox=S>0||L>0?XA(n.left+mA,n.top+SA,S-FA/3,L-EA/3,TA.BOTTOM_RIGHT):new Z(n.left+n.width-FA/3,n.top+n.height-EA/3),this.bottomLeftBorderDoubleOuterBox=N>0||z>0?XA(n.left+gA/3,n.top+uA,N-gA/3,z-EA/3,TA.BOTTOM_LEFT):new Z(n.left+gA/3,n.top+n.height-EA/3),this.topLeftBorderDoubleInnerBox=l>0||p>0?XA(n.left+gA*2/3,n.top+q*2/3,l-gA*2/3,p-q*2/3,TA.TOP_LEFT):new Z(n.left+gA*2/3,n.top+q*2/3),this.topRightBorderDoubleInnerBox=l>0||p>0?XA(n.left+rA,n.top+q*2/3,w-FA*2/3,E-q*2/3,TA.TOP_RIGHT):new Z(n.left+n.width-FA*2/3,n.top+q*2/3),this.bottomRightBorderDoubleInnerBox=S>0||L>0?XA(n.left+mA,n.top+SA,S-FA*2/3,L-EA*2/3,TA.BOTTOM_RIGHT):new Z(n.left+n.width-FA*2/3,n.top+n.height-EA*2/3),this.bottomLeftBorderDoubleInnerBox=N>0||z>0?XA(n.left+gA*2/3,n.top+uA,N-gA*2/3,z-EA*2/3,TA.BOTTOM_LEFT):new Z(n.left+gA*2/3,n.top+n.height-EA*2/3),this.topLeftBorderStroke=l>0||p>0?XA(n.left+gA/2,n.top+q/2,l-gA/2,p-q/2,TA.TOP_LEFT):new Z(n.left+gA/2,n.top+q/2),this.topRightBorderStroke=l>0||p>0?XA(n.left+rA,n.top+q/2,w-FA/2,E-q/2,TA.TOP_RIGHT):new Z(n.left+n.width-FA/2,n.top+q/2),this.bottomRightBorderStroke=S>0||L>0?XA(n.left+mA,n.top+SA,S-FA/2,L-EA/2,TA.BOTTOM_RIGHT):new Z(n.left+n.width-FA/2,n.top+n.height-EA/2),this.bottomLeftBorderStroke=N>0||z>0?XA(n.left+gA/2,n.top+uA,N-gA/2,z-EA/2,TA.BOTTOM_LEFT):new Z(n.left+gA/2,n.top+n.height-EA/2),this.topLeftBorderBox=l>0||p>0?XA(n.left,n.top,l,p,TA.TOP_LEFT):new Z(n.left,n.top),this.topRightBorderBox=w>0||E>0?XA(n.left+rA,n.top,w,E,TA.TOP_RIGHT):new Z(n.left+n.width,n.top),this.bottomRightBorderBox=S>0||L>0?XA(n.left+mA,n.top+SA,S,L,TA.BOTTOM_RIGHT):new Z(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=N>0||z>0?XA(n.left,n.top+uA,N,z,TA.BOTTOM_LEFT):new Z(n.left,n.top+n.height),this.topLeftPaddingBox=l>0||p>0?XA(n.left+gA,n.top+q,Math.max(0,l-gA),Math.max(0,p-q),TA.TOP_LEFT):new Z(n.left+gA,n.top+q),this.topRightPaddingBox=w>0||E>0?XA(n.left+Math.min(rA,n.width-FA),n.top+q,rA>n.width+FA?0:Math.max(0,w-FA),Math.max(0,E-q),TA.TOP_RIGHT):new Z(n.left+n.width-FA,n.top+q),this.bottomRightPaddingBox=S>0||L>0?XA(n.left+Math.min(mA,n.width-gA),n.top+Math.min(SA,n.height-EA),Math.max(0,S-FA),Math.max(0,L-EA),TA.BOTTOM_RIGHT):new Z(n.left+n.width-FA,n.top+n.height-EA),this.bottomLeftPaddingBox=N>0||z>0?XA(n.left+gA,n.top+Math.min(uA,n.height-EA),Math.max(0,N-gA),Math.max(0,z-EA),TA.BOTTOM_LEFT):new Z(n.left+gA,n.top+n.height-EA),this.topLeftContentBox=l>0||p>0?XA(n.left+gA+_A,n.top+q+ne,Math.max(0,l-(gA+_A)),Math.max(0,p-(q+ne)),TA.TOP_LEFT):new Z(n.left+gA+_A,n.top+q+ne),this.topRightContentBox=w>0||E>0?XA(n.left+Math.min(rA,n.width+gA+_A),n.top+q+ne,rA>n.width+gA+_A?0:w-gA+_A,E-(q+ne),TA.TOP_RIGHT):new Z(n.left+n.width-(FA+be),n.top+q+ne),this.bottomRightContentBox=S>0||L>0?XA(n.left+Math.min(mA,n.width-(gA+_A)),n.top+Math.min(SA,n.height+q+ne),Math.max(0,S-(FA+be)),L-(EA+Me),TA.BOTTOM_RIGHT):new Z(n.left+n.width-(FA+be),n.top+n.height-(EA+Me)),this.bottomLeftContentBox=N>0||z>0?XA(n.left+gA+_A,n.top+uA,Math.max(0,N-(gA+_A)),z-(EA+Me),TA.BOTTOM_LEFT):new Z(n.left+gA+_A,n.top+n.height-(EA+Me))}return r}(),TA;(function(r){r[r.TOP_LEFT=0]="TOP_LEFT",r[r.TOP_RIGHT=1]="TOP_RIGHT",r[r.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",r[r.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(TA||(TA={}));var XA=function(r,e,o,n,a){var l=4*((Math.sqrt(2)-1)/3),p=o*l,v=n*l,w=r+o,E=e+n;switch(a){case TA.TOP_LEFT:return new _i(new Z(r,E),new Z(r,E-v),new Z(w-p,e),new Z(w,e));case TA.TOP_RIGHT:return new _i(new Z(r,e),new Z(r+p,e),new Z(w,E-v),new Z(w,E));case TA.BOTTOM_RIGHT:return new _i(new Z(w,e),new Z(w,e+v),new Z(r+p,E),new Z(r,E));case TA.BOTTOM_LEFT:default:return new _i(new Z(w,E),new Z(w-p,E),new Z(r,e+v),new Z(r,e))}},Pi=function(r){return[r.topLeftBorderBox,r.topRightBorderBox,r.bottomRightBorderBox,r.bottomLeftBorderBox]},ng=function(r){return[r.topLeftContentBox,r.topRightContentBox,r.bottomRightContentBox,r.bottomLeftContentBox]},Ni=function(r){return[r.topLeftPaddingBox,r.topRightPaddingBox,r.bottomRightPaddingBox,r.bottomLeftPaddingBox]},og=function(){function r(e,o,n){this.offsetX=e,this.offsetY=o,this.matrix=n,this.type=0,this.target=2|4}return r}(),Gi=function(){function r(e,o){this.path=e,this.target=o,this.type=1}return r}(),ig=function(){function r(e){this.opacity=e,this.type=2,this.target=2|4}return r}(),sg=function(r){return r.type===0},Jc=function(r){return r.type===1},ag=function(r){return r.type===2},Yc=function(r,e){return r.length===e.length?r.some(function(o,n){return o===e[n]}):!1},cg=function(r,e,o,n,a){return r.map(function(l,p){switch(p){case 0:return l.add(e,o);case 1:return l.add(e+n,o);case 2:return l.add(e+n,o+a);case 3:return l.add(e,o+a)}return l})},jc=function(){function r(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return r}(),zc=function(){function r(e,o){if(this.container=e,this.parent=o,this.effects=[],this.curves=new rg(this.container),this.container.styles.opacity<1&&this.effects.push(new ig(this.container.styles.opacity)),this.container.styles.transform!==null){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,a=this.container.bounds.top+this.container.styles.transformOrigin[1].number,l=this.container.styles.transform;this.effects.push(new og(n,a,l))}if(this.container.styles.overflowX!==0){var p=Pi(this.curves),v=Ni(this.curves);Yc(p,v)?this.effects.push(new Gi(p,2|4)):(this.effects.push(new Gi(p,2)),this.effects.push(new Gi(v,4)))}}return r.prototype.getEffects=function(e){for(var o=[2,3].indexOf(this.container.styles.position)===-1,n=this.parent,a=this.effects.slice(0);n;){var l=n.effects.filter(function(w){return!Jc(w)});if(o||n.container.styles.position!==0||!n.parent){if(a.unshift.apply(a,l),o=[2,3].indexOf(n.container.styles.position)===-1,n.container.styles.overflowX!==0){var p=Pi(n.curves),v=Ni(n.curves);Yc(p,v)||a.unshift(new Gi(v,2|4))}}else a.unshift.apply(a,l);n=n.parent}return a.filter(function(w){return u(w.target,e)})},r}(),La=function(r,e,o,n){r.container.elements.forEach(function(a){var l=u(a.flags,4),p=u(a.flags,2),v=new zc(a,r);u(a.styles.display,2048)&&n.push(v);var w=u(a.flags,8)?[]:n;if(l||p){var E=l||a.styles.isPositioned()?o:e,I=new jc(v);if(a.styles.isPositioned()||a.styles.opacity<1||a.styles.isTransformed()){var S=a.styles.zIndex.order;if(S<0){var L=0;E.negativeZIndex.some(function(N,z){return S>N.element.container.styles.zIndex.order?(L=z,!1):L>0}),E.negativeZIndex.splice(L,0,I)}else if(S>0){var $=0;E.positiveZIndex.some(function(N,z){return S>=N.element.container.styles.zIndex.order?($=z+1,!1):$>0}),E.positiveZIndex.splice($,0,I)}else E.zeroOrAutoZIndexOrTransformedOrOpacity.push(I)}else a.styles.isFloating()?E.nonPositionedFloats.push(I):E.nonPositionedInlineLevel.push(I);La(v,I,l?I:o,w)}else a.styles.isInlineLevel()?e.inlineLevel.push(v):e.nonInlineLevel.push(v),La(v,e,o,w);u(a.flags,8)&&Zc(a,w)})},Zc=function(r,e){for(var o=r instanceof Ca?r.start:1,n=r instanceof Ca?r.reversed:!1,a=0;a0&&o.intrinsicHeight>0){var l=Vi(o),p=Ni(n);this.path(p),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(a,0,0,o.intrinsicWidth,o.intrinsicHeight,l.left,l.top,l.width,l.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(o){return y(this,void 0,void 0,function(){var n,a,l,p,v,w,rA,rA,E,I,S,L,mA,$,N,uA,z,hA,oA,rA,SA,mA,uA;return b(this,function(q){switch(q.label){case 0:this.applyEffects(o.getEffects(4)),n=o.container,a=o.curves,l=n.styles,p=0,v=n.textNodes,q.label=1;case 1:return p0&&pe>0&&(EA=l.ctx.createPattern(uA,"repeat"),l.renderRepeat(ne,EA,Ie,Se))):_s(I)&&(gA=Oa(o,n,[null,null,null]),ne=gA[0],be=gA[1],Me=gA[2],_A=gA[3],pe=gA[4],dr=I.position.length===0?[nr]:I.position,Ie=KA(dr[0],_A),Se=KA(dr[dr.length-1],pe),Jr=di(I,Ie,Se,_A,pe),Qt=Jr[0],Br=Jr[1],Qt>0&&Br>0&&(Yr=l.ctx.createRadialGradient(be+Ie,Me+Se,0,be+Ie,Me+Se,Qt),gi(I.stops,Qt*2).forEach(function(Io){return Yr.addColorStop(Io.stop,Ae(Io.color))}),l.path(ne),l.ctx.fillStyle=Yr,Qt!==Br?(jr=o.bounds.left+.5*o.bounds.width,Vt=o.bounds.top+.5*o.bounds.height,zr=Br/Qt,Xt=1/zr,l.ctx.save(),l.ctx.translate(jr,Vt),l.ctx.transform(1,0,0,zr,0,0),l.ctx.translate(-jr,-Vt),l.ctx.fillRect(be,Xt*(Me-Vt)+Vt,_A,pe*Xt),l.ctx.restore()):l.ctx.fill())),_n.label=6;case 6:return n--,[2]}})},l=this,p=0,v=o.styles.backgroundImage.slice(0).reverse(),E.label=1;case 1:return p0?I.style!==2?[3,5]:[4,this.renderDashedDottedBorder(I.color,I.width,v,o.curves,2)]:[3,11]):[3,13];case 4:return L.sent(),[3,11];case 5:return I.style!==3?[3,7]:[4,this.renderDashedDottedBorder(I.color,I.width,v,o.curves,3)];case 6:return L.sent(),[3,11];case 7:return I.style!==4?[3,9]:[4,this.renderDoubleBorder(I.color,I.width,v,o.curves)];case 8:return L.sent(),[3,11];case 9:return[4,this.renderSolidBorder(I.color,v,o.curves)];case 10:L.sent(),L.label=11;case 11:v++,L.label=12;case 12:return w++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(o,n,a,l,p){return y(this,void 0,void 0,function(){var v,w,E,I,S,L,$,N,z,hA,oA,rA,SA,mA,uA,q,uA,q;return b(this,function(FA){return this.ctx.save(),v=gg(l,a),w=qc(l,a),p===2&&(this.path(w),this.ctx.clip()),We(w[0])?(E=w[0].start.x,I=w[0].start.y):(E=w[0].x,I=w[0].y),We(w[1])?(S=w[1].end.x,L=w[1].end.y):(S=w[1].x,L=w[1].y),a===0||a===2?$=Math.abs(E-S):$=Math.abs(I-L),this.ctx.beginPath(),p===3?this.formatPath(v):this.formatPath(w.slice(0,2)),N=n<3?n*3:n*2,z=n<3?n*2:n,p===3&&(N=n,z=n),hA=!0,$<=N*2?hA=!1:$<=N*2+z?(oA=$/(2*N+z),N*=oA,z*=oA):(rA=Math.floor(($+z)/(N+z)),SA=($-rA*N)/(rA-1),mA=($-(rA+1)*N)/rA,z=mA<=0||Math.abs(z-SA){(function(h){typeof ql=="object"&&typeof za!="undefined"?za.exports=h():typeof define=="function"&&define.amd?define([],h):(typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this).interact=h()})(function(){var h={};Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function(A){return!(!A||!A.Window)&&A instanceof A.Window};var B={};Object.defineProperty(B,"__esModule",{value:!0}),B.getWindow=function(A){return(0,h.default)(A)?A:(A.ownerDocument||A).defaultView||y.window},B.init=b,B.window=B.realWindow=void 0;var Q=void 0;B.realWindow=Q;var y=void 0;function b(A){B.realWindow=Q=A;var t=A.document.createTextNode("");t.ownerDocument!==A.document&&typeof A.wrap=="function"&&A.wrap(t)===t&&(A=A.wrap(A)),B.window=y=A}B.window=y,typeof window!="undefined"&&window&&b(window);var U={};function K(A){return K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},K(A)}Object.defineProperty(U,"__esModule",{value:!0}),U.default=void 0;var J=function(A){return!!A&&K(A)==="object"},AA=function(A){return typeof A=="function"},UA={window:function(A){return A===B.window||(0,h.default)(A)},docFrag:function(A){return J(A)&&A.nodeType===11},object:J,func:AA,number:function(A){return typeof A=="number"},bool:function(A){return typeof A=="boolean"},string:function(A){return typeof A=="string"},element:function(A){if(!A||K(A)!=="object")return!1;var t=B.getWindow(A)||B.window;return/object|function/.test(typeof Element=="undefined"?"undefined":K(Element))?A instanceof Element||A instanceof t.Element:A.nodeType===1&&typeof A.nodeName=="string"},plainObject:function(A){return J(A)&&!!A.constructor&&/function Object\b/.test(A.constructor.toString())},array:function(A){return J(A)&&A.length!==void 0&&AA(A.splice)}};U.default=UA;var Y={};function LA(A){var t=A.interaction;if(t.prepared.name==="drag"){var i=t.prepared.axis;i==="x"?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):i==="y"&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}}function bA(A){var t=A.iEvent,i=A.interaction;if(i.prepared.name==="drag"){var s=i.prepared.axis;if(s==="x"||s==="y"){var c=s==="x"?"y":"x";t.page[c]=i.coords.start.page[c],t.client[c]=i.coords.start.client[c],t.delta[c]=0}}}Object.defineProperty(Y,"__esModule",{value:!0}),Y.default=void 0;var BA={id:"actions/drag",install:function(A){var t=A.actions,i=A.Interactable,s=A.defaults;i.prototype.draggable=BA.draggable,t.map.drag=BA,t.methodDict.drag="draggable",s.actions.drag=BA.defaults},listeners:{"interactions:before-action-move":LA,"interactions:action-resume":LA,"interactions:action-move":bA,"auto-start:check":function(A){var t=A.interaction,i=A.interactable,s=A.buttons,c=i.options.drag;if(c&&c.enabled&&(!t.pointerIsDown||!/mouse|pointer/.test(t.pointerType)||(s&i.options.drag.mouseButtons)!=0))return A.action={name:"drag",axis:c.lockAxis==="start"?c.startAxis:c.lockAxis},!1}},draggable:function(A){return U.default.object(A)?(this.options.drag.enabled=A.enabled!==!1,this.setPerAction("drag",A),this.setOnEvents("drag",A),/^(xy|x|y|start)$/.test(A.lockAxis)&&(this.options.drag.lockAxis=A.lockAxis),/^(xy|x|y)$/.test(A.startAxis)&&(this.options.drag.startAxis=A.startAxis),this):U.default.bool(A)?(this.options.drag.enabled=A,this):this.options.drag},beforeMove:LA,move:bA,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"}},ce=BA;Y.default=ce;var fA={};Object.defineProperty(fA,"__esModule",{value:!0}),fA.default=void 0;var NA={init:function(A){var t=A;NA.document=t.document,NA.DocumentFragment=t.DocumentFragment||ue,NA.SVGElement=t.SVGElement||ue,NA.SVGSVGElement=t.SVGSVGElement||ue,NA.SVGElementInstance=t.SVGElementInstance||ue,NA.Element=t.Element||ue,NA.HTMLElement=t.HTMLElement||NA.Element,NA.Event=t.Event,NA.Touch=t.Touch||ue,NA.PointerEvent=t.PointerEvent||t.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function ue(){}var Ut=NA;fA.default=Ut;var GA={};Object.defineProperty(GA,"__esModule",{value:!0}),GA.default=void 0;var OA={init:function(A){var t=fA.default.Element,i=A.navigator||{};OA.supportsTouch="ontouchstart"in A||U.default.func(A.DocumentTouch)&&fA.default.document instanceof A.DocumentTouch,OA.supportsPointerEvent=i.pointerEnabled!==!1&&!!fA.default.PointerEvent,OA.isIOS=/iP(hone|od|ad)/.test(i.platform),OA.isIOS7=/iP(hone|od|ad)/.test(i.platform)&&/OS 7[^\d]/.test(i.appVersion),OA.isIe9=/MSIE 9/.test(i.userAgent),OA.isOperaMobile=i.appName==="Opera"&&OA.supportsTouch&&/Presto/.test(i.userAgent),OA.prefixedMatchesSelector="matches"in t.prototype?"matches":"webkitMatchesSelector"in t.prototype?"webkitMatchesSelector":"mozMatchesSelector"in t.prototype?"mozMatchesSelector":"oMatchesSelector"in t.prototype?"oMatchesSelector":"msMatchesSelector",OA.pEventTypes=OA.supportsPointerEvent?fA.default.PointerEvent===A.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,OA.wheelEvent=fA.default.document&&"onmousewheel"in fA.default.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},Ue=OA;GA.default=Ue;var G={};function zA(A){var t=A.parentNode;if(U.default.docFrag(t)){for(;(t=t.host)&&U.default.docFrag(t););return t}return t}function WA(A,t){return B.window!==B.realWindow&&(t=t.replace(/\/deep\//g," ")),A[GA.default.prefixedMatchesSelector](t)}Object.defineProperty(G,"__esModule",{value:!0}),G.closest=function(A,t){for(;U.default.element(A);){if(WA(A,t))return A;A=zA(A)}return null},G.getActualElement=function(A){return A.correspondingUseElement||A},G.getElementClientRect=zt,G.getElementRect=function(A){var t=zt(A);if(!GA.default.isIOS7&&t){var i=yt(B.getWindow(A));t.left+=i.x,t.right+=i.x,t.top+=i.y,t.bottom+=i.y}return t},G.getPath=function(A){for(var t=[];A;)t.push(A),A=zA(A);return t},G.getScrollXY=yt,G.indexOfDeepestElement=function(A){for(var t,i=[],s=0;s=(parseInt(B.getWindow(H).getComputedStyle(H).zIndex,10)||0)&&(t=s);else t=s}else t=s}var O,H;return t},G.matchesSelector=WA,G.matchesUpTo=function(A,t,i){for(;U.default.element(A);){if(WA(A,t))return!0;if((A=zA(A))===i)return WA(A,t)}return!1},G.nodeContains=function(A,t){if(A.contains)return A.contains(t);for(;t;){if(t===A)return!0;t=t.parentNode}return!1},G.parentNode=zA,G.trySelector=function(A){return!!U.default.string(A)&&(fA.default.document.querySelector(A),!0)};var ye=function(A){return A.parentNode||A.host};function ut(A,t){for(var i,s=[],c=A;(i=ye(c))&&c!==t&&i!==c.ownerDocument;)s.unshift(c),c=i;return s}function yt(A){return{x:(A=A||B.window).scrollX||A.document.documentElement.scrollLeft,y:A.scrollY||A.document.documentElement.scrollTop}}function zt(A){var t=A instanceof fA.default.SVGElement?A.getBoundingClientRect():A.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}}var eA={};Object.defineProperty(eA,"__esModule",{value:!0}),eA.default=function(A,t){for(var i in t)A[i]=t[i];return A};var HA={};function Re(A,t){(t==null||t>A.length)&&(t=A.length);for(var i=0,s=Array(t);i1?k(t):t[0];JA(s,A.page),vA(s,A.client),A.timeStamp=i},V.setZeroCoords=function(A){A.page.x=0,A.page.y=0,A.client.x=0,A.client.y=0},V.touchAngle=function(A,t){var i=t+"X",s=t+"Y",c=VA(A),f=c[1][i]-c[0][i],d=c[1][s]-c[0][s];return 180*Math.atan2(d,f)/Math.PI},V.touchBBox=function(A){if(!A.length)return null;var t=VA(A),i=Math.min(t[0].pageX,t[1].pageX),s=Math.min(t[0].pageY,t[1].pageY),c=Math.max(t[0].pageX,t[1].pageX),f=Math.max(t[0].pageY,t[1].pageY);return{x:i,y:s,left:i,top:s,right:c,bottom:f,width:c-i,height:f-s}},V.touchDistance=function(A,t){var i=t+"X",s=t+"Y",c=VA(A),f=c[0][i]-c[1][i],d=c[0][s]-c[1][s];return(0,aA.default)(f,d)};var D={};function X(A,t){for(var i=0;iP.left&&R.xP.top&&R.y=P.left&&jA<=P.right&&it>=P.top&&it<=P.bottom}return xA&&U.default.number(sA)&&(nA=Math.max(0,Math.min(P.right,xA.right)-Math.max(P.left,xA.left))*Math.max(0,Math.min(P.bottom,xA.bottom)-Math.max(P.top,xA.top))/(xA.width*xA.height)>=sA),F.options.drop.checker&&(nA=F.options.drop.checker(x,O,nA,F,W,H,_)),nA}(this,f,d,u,g,m,C)},i.dynamicDrop=function(f){return U.default.bool(f)?(A.dynamicDrop=f,i):A.dynamicDrop},(0,eA.default)(t.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),t.methodDict.drop="dropzone",A.dynamicDrop=!1,c.actions.drop=$t.defaults},listeners:{"interactions:before-action-start":function(A){var t=A.interaction;t.prepared.name==="drag"&&(t.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(A,t){var i=A.interaction,s=(A.event,A.iEvent);if(i.prepared.name==="drag"){var c=i.dropState;c.activeDrops=null,c.events=null,c.activeDrops=Qr(t,i.element),c.events=Cr(i,0,s),c.events.activate&&(Xn(c.activeDrops,c.events.activate),t.fire("actions/drop:start",{interaction:i,dragEvent:s}))}},"interactions:action-move":he,"interactions:after-action-move":function(A,t){var i=A.interaction,s=A.iEvent;i.prepared.name==="drag"&&(ft(i,i.dropState.events),t.fire("actions/drop:move",{interaction:i,dragEvent:s}),i.dropState.events={})},"interactions:action-end":function(A,t){if(A.interaction.prepared.name==="drag"){var i=A.interaction,s=A.iEvent;he(A,t),ft(i,i.dropState.events),t.fire("actions/drop:end",{interaction:i,dragEvent:s})}},"interactions:stop":function(A){var t=A.interaction;if(t.prepared.name==="drag"){var i=t.dropState;i&&(i.activeDrops=null,i.events=null,i.cur.dropzone=null,i.cur.element=null,i.prev.dropzone=null,i.prev.element=null,i.rejected=!1)}}},getActiveDrops:Qr,getDrop:qt,getDropEvents:Cr,fireDropEvents:ft,defaults:{enabled:!1,accept:null,overlap:"pointer"}},Ur=$t;qr.default=Ur;var ze={};function Wn(A){var t=A.interaction,i=A.iEvent,s=A.phase;if(t.prepared.name==="gesture"){var c=t.pointers.map(function(m){return m.pointer}),f=s==="start",d=s==="end",u=t.interactable.options.deltaSource;if(i.touches=[c[0],c[1]],f)i.distance=V.touchDistance(c,u),i.box=V.touchBBox(c),i.scale=1,i.ds=0,i.angle=V.touchAngle(c,u),i.da=0,t.gesture.startDistance=i.distance,t.gesture.startAngle=i.angle;else if(d){var g=t.prevEvent;i.distance=g.distance,i.box=g.box,i.scale=g.scale,i.ds=0,i.angle=g.angle,i.da=0}else i.distance=V.touchDistance(c,u),i.box=V.touchBBox(c),i.scale=i.distance/t.gesture.startDistance,i.angle=V.touchAngle(c,u),i.ds=i.scale-t.gesture.scale,i.da=i.angle-t.gesture.angle;t.gesture.distance=i.distance,t.gesture.angle=i.angle,U.default.number(i.scale)&&i.scale!==1/0&&!isNaN(i.scale)&&(t.gesture.scale=i.scale)}}Object.defineProperty(ze,"__esModule",{value:!0}),ze.default=void 0;var Ze={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(A){var t=A.actions,i=A.Interactable,s=A.defaults;i.prototype.gesturable=function(c){return U.default.object(c)?(this.options.gesture.enabled=c.enabled!==!1,this.setPerAction("gesture",c),this.setOnEvents("gesture",c),this):U.default.bool(c)?(this.options.gesture.enabled=c,this):this.options.gesture},t.map.gesture=Ze,t.methodDict.gesture="gesturable",s.actions.gesture=Ze.defaults},listeners:{"interactions:action-start":Wn,"interactions:action-move":Wn,"interactions:action-end":Wn,"interactions:new":function(A){A.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(A){if(!(A.interaction.pointers.length<2)){var t=A.interactable.options.gesture;if(t&&t.enabled)return A.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""}},us=Ze;ze.default=us;var Ft={};function $r(A,t,i,s,c,f,d){if(!t)return!1;if(t===!0){var u=U.default.number(f.width)?f.width:f.right-f.left,g=U.default.number(f.height)?f.height:f.bottom-f.top;if(d=Math.min(d,Math.abs((A==="left"||A==="right"?u:g)/2)),u<0&&(A==="left"?A="right":A==="right"&&(A="left")),g<0&&(A==="top"?A="bottom":A==="bottom"&&(A="top")),A==="left"){var m=u>=0?f.left:f.right;return i.x=0?f.top:f.bottom;return i.y(u>=0?f.right:f.left)-d;if(A==="bottom")return i.y>(g>=0?f.bottom:f.top)-d}return!!U.default.element(s)&&(U.default.element(t)?t===s:G.matchesUpTo(s,t,c))}function An(A){var t=A.iEvent,i=A.interaction;if(i.prepared.name==="resize"&&i.resizeAxes){var s=t;i.interactable.options.resize.square?(i.resizeAxes==="y"?s.delta.x=s.delta.y:s.delta.y=s.delta.x,s.axes="xy"):(s.axes=i.resizeAxes,i.resizeAxes==="x"?s.delta.y=0:i.resizeAxes==="y"&&(s.delta.x=0))}}Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.default=void 0;var Te={id:"actions/resize",before:["actions/drag"],install:function(A){var t=A.actions,i=A.browser,s=A.Interactable,c=A.defaults;Te.cursors=function(f){return f.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(i),Te.defaultMargin=i.supportsTouch||i.supportsPointerEvent?20:10,s.prototype.resizable=function(f){return function(d,u,g){return U.default.object(u)?(d.options.resize.enabled=u.enabled!==!1,d.setPerAction("resize",u),d.setOnEvents("resize",u),U.default.string(u.axis)&&/^x$|^y$|^xy$/.test(u.axis)?d.options.resize.axis=u.axis:u.axis===null&&(d.options.resize.axis=g.defaults.actions.resize.axis),U.default.bool(u.preserveAspectRatio)?d.options.resize.preserveAspectRatio=u.preserveAspectRatio:U.default.bool(u.square)&&(d.options.resize.square=u.square),d):U.default.bool(u)?(d.options.resize.enabled=u,d):d.options.resize}(this,f,A)},t.map.resize=Te,t.methodDict.resize="resizable",c.actions.resize=Te.defaults},listeners:{"interactions:new":function(A){A.interaction.resizeAxes="xy"},"interactions:action-start":function(A){(function(t){var i=t.iEvent,s=t.interaction;if(s.prepared.name==="resize"&&s.prepared.edges){var c=i,f=s.rect;s._rects={start:(0,eA.default)({},f),corrected:(0,eA.default)({},f),previous:(0,eA.default)({},f),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},c.edges=s.prepared.edges,c.rect=s._rects.corrected,c.deltaRect=s._rects.delta}})(A),An(A)},"interactions:action-move":function(A){(function(t){var i=t.iEvent,s=t.interaction;if(s.prepared.name==="resize"&&s.prepared.edges){var c=i,f=s.interactable.options.resize.invert,d=f==="reposition"||f==="negate",u=s.rect,g=s._rects,m=g.start,C=g.corrected,F=g.delta,x=g.previous;if((0,eA.default)(x,C),d){if((0,eA.default)(C,u),f==="reposition"){if(C.top>C.bottom){var O=C.top;C.top=C.bottom,C.bottom=O}if(C.left>C.right){var H=C.left;C.left=C.right,C.right=H}}}else C.top=Math.min(u.top,m.bottom),C.bottom=Math.max(u.bottom,m.top),C.left=Math.min(u.left,m.right),C.right=Math.max(u.right,m.left);for(var _ in C.width=C.right-C.left,C.height=C.bottom-C.top,C)F[_]=C[_]-x[_];c.edges=s.prepared.edges,c.rect=C,c.deltaRect=F}})(A),An(A)},"interactions:action-end":function(A){var t=A.iEvent,i=A.interaction;if(i.prepared.name==="resize"&&i.prepared.edges){var s=t;s.edges=i.prepared.edges,s.rect=i._rects.corrected,s.deltaRect=i._rects.delta}},"auto-start:check":function(A){var t=A.interaction,i=A.interactable,s=A.element,c=A.rect,f=A.buttons;if(c){var d=(0,eA.default)({},t.coords.cur.page),u=i.options.resize;if(u&&u.enabled&&(!t.pointerIsDown||!/mouse|pointer/.test(t.pointerType)||(f&u.mouseButtons)!=0)){if(U.default.object(u.edges)){var g={left:!1,right:!1,top:!1,bottom:!1};for(var m in g)g[m]=$r(m,u.edges[m],d,t._latestPointer.eventTarget,s,c,u.margin||Te.defaultMargin);g.left=g.left&&!g.right,g.top=g.top&&!g.bottom,(g.left||g.right||g.top||g.bottom)&&(A.action={name:"resize",edges:g})}else{var C=u.axis!=="y"&&d.x>c.right-Te.defaultMargin,F=u.axis!=="x"&&d.y>c.bottom-Te.defaultMargin;(C||F)&&(A.action={name:"resize",axes:(C?"x":"")+(F?"y":"")})}return!A.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(A){var t=A.edges,i=A.axis,s=A.name,c=Te.cursors,f=null;if(i)f=c[s+i];else if(t){for(var d="",u=["top","bottom","left","right"],g=0;g=1){var m={x:lA.x*g,y:lA.y*g};if(m.x||m.y){var C=Bt(f);U.default.window(f)?f.scrollBy(m.x,m.y):f&&(f.scrollLeft+=m.x,f.scrollTop+=m.y);var F=Bt(f),x={x:F.x-C.x,y:F.y-C.y};(x.x||x.y)&&t.fire({type:"autoscroll",target:i,interactable:t,delta:x,interaction:A,container:f})}lA.prevTime=d}lA.isScrolling&&(we.default.cancel(lA.i),lA.i=we.default.request(lA.scroll))},check:function(A,t){var i;return(i=A.options[t].autoScroll)==null?void 0:i.enabled},onInteractionMove:function(A){var t=A.interaction,i=A.pointer;if(t.interacting()&&lA.check(t.interactable,t.prepared.name))if(t.simulation)lA.x=lA.y=0;else{var s,c,f,d,u=t.interactable,g=t.element,m=t.prepared.name,C=u.options[m].autoScroll,F=pA(C.container,u,g);if(U.default.window(F))d=i.clientXF.innerWidth-lA.margin,f=i.clientY>F.innerHeight-lA.margin;else{var x=G.getElementClientRect(F);d=i.clientXx.right-lA.margin,f=i.clientY>x.bottom-lA.margin}lA.x=c?1:d?-1:0,lA.y=f?1:s?-1:0,lA.isScrolling||(lA.margin=C.margin,lA.speed=C.speed,lA.start(t))}}};function pA(A,t,i){return(U.default.string(A)?(0,HA.getStringOptionResult)(A,t,i):A)||(0,B.getWindow)(i)}function Bt(A){return U.default.window(A)&&(A=window.document.body),{x:A.scrollLeft,y:A.scrollTop}}var zn={id:"auto-scroll",install:function(A){var t=A.defaults,i=A.actions;A.autoScroll=lA,lA.now=function(){return A.now()},i.phaselessTypes.autoscroll=!0,t.perAction.autoScroll=lA.defaults},listeners:{"interactions:new":function(A){A.interaction.autoScroll=null},"interactions:destroy":function(A){A.interaction.autoScroll=null,lA.stop(),lA.interaction&&(lA.interaction=null)},"interactions:stop":lA.stop,"interactions:action-move":function(A){return lA.onInteractionMove(A)}}},$e=zn;dt.default=$e;var fe={};Object.defineProperty(fe,"__esModule",{value:!0}),fe.copyAction=function(A,t){return A.name=t.name,A.axis=t.axis,A.edges=t.edges,A},fe.sign=void 0,fe.warnOnce=function(A,t){var i=!1;return function(){return i||(B.window.console.warn(t),i=!0),A.apply(this,arguments)}},fe.sign=function(A){return A>=0?1:-1};var yr={};function No(A){return U.default.bool(A)?(this.options.styleCursor=A,this):A===null?(delete this.options.styleCursor,this):this.options.styleCursor}function gs(A){return U.default.func(A)?(this.options.actionChecker=A,this):A===null?(delete this.options.actionChecker,this):this.options.actionChecker}Object.defineProperty(yr,"__esModule",{value:!0}),yr.default=void 0;var Go={id:"auto-start/interactableMethods",install:function(A){var t=A.Interactable;t.prototype.getAction=function(i,s,c,f){var d=function(u,g,m,C,F){var x=u.getRect(C),O={action:null,interactable:u,interaction:m,element:C,rect:x,buttons:g.buttons||{0:1,1:4,3:8,4:16}[g.button]};return F.fire("auto-start:check",O),O.action}(this,s,c,f,A);return this.options.actionChecker?this.options.actionChecker(i,s,d,this,f,c):d},t.prototype.ignoreFrom=(0,fe.warnOnce)(function(i){return this._backCompatOption("ignoreFrom",i)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),t.prototype.allowFrom=(0,fe.warnOnce)(function(i){return this._backCompatOption("allowFrom",i)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),t.prototype.actionChecker=gs,t.prototype.styleCursor=No}};yr.default=Go;var Ar={};function ko(A,t,i,s,c){return t.testIgnoreAllow(t.options[A.name],i,s)&&t.options[A.name].enabled&&en(t,i,A,c)?A:null}function Zn(A,t,i,s,c,f,d){for(var u=0,g=s.length;u=u||x.interactable===A&&((m+=O===i.name?1:0)>=f||x.element===t&&(C++,O===i.name&&C>=d))))return!1}return u>0}function Xo(A,t){return U.default.number(A)?(t.autoStart.maxInteractions=A,this):t.autoStart.maxInteractions}function $n(A,t,i){var s=i.autoStart.cursorElement;s&&s!==A&&(s.style.cursor=""),A.ownerDocument.documentElement.style.cursor=t,A.style.cursor=t,i.autoStart.cursorElement=t?A:null}function Wo(A,t){var i=A.interactable,s=A.element,c=A.prepared;if(A.pointerType==="mouse"&&i&&i.options.styleCursor){var f="";if(c.name){var d=i.options[c.name].cursorChecker;f=U.default.func(d)?d(c,i,s,A._interacting):t.actions.map[c.name].getCursor(c)}$n(A.element,f||"",t)}else t.autoStart.cursorElement&&$n(t.autoStart.cursorElement,"",t)}Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.default=void 0;var ds={id:"auto-start/base",before:["actions"],install:function(A){var t=A.interactStatic,i=A.defaults;A.usePlugin(yr.default),i.base.actionChecker=null,i.base.styleCursor=!0,(0,eA.default)(i.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),t.maxInteractions=function(s){return Xo(s,A)},A.autoStart={maxInteractions:1/0,withinInteractionLimit:en,cursorElement:null}},listeners:{"interactions:down":function(A,t){var i=A.interaction,s=A.pointer,c=A.event,f=A.eventTarget;i.interacting()||Vo(i,qn(i,s,c,f,t),t)},"interactions:move":function(A,t){(function(i,s){var c=i.interaction,f=i.pointer,d=i.event,u=i.eventTarget;c.pointerType!=="mouse"||c.pointerIsDown||c.interacting()||Vo(c,qn(c,f,d,u,s),s)})(A,t),function(i,s){var c=i.interaction;if(c.pointerIsDown&&!c.interacting()&&c.pointerWasMoved&&c.prepared.name){s.fire("autoStart:before-start",i);var f=c.interactable,d=c.prepared.name;d&&f&&(f.options[d].manualStart||!en(f,c.element,c.prepared,s)?c.stop():(c.start(c.prepared,f,c.element),Wo(c,s)))}}(A,t)},"interactions:stop":function(A,t){var i=A.interaction,s=i.interactable;s&&s.options.styleCursor&&$n(i.element,"",t)}},maxInteractions:Xo,withinInteractionLimit:en,validateAction:ko},Fr=ds;Ar.default=Fr;var Er={};Object.defineProperty(Er,"__esModule",{value:!0}),Er.default=void 0;var tn={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(A,t){var i=A.interaction,s=A.eventTarget,c=A.dx,f=A.dy;if(i.prepared.name==="drag"){var d=Math.abs(c),u=Math.abs(f),g=i.interactable.options.drag,m=g.startAxis,C=d>u?"x":d0&&(t.autoStartHoldTimer=setTimeout(function(){t.start(t.prepared,t.interactable,t.element)},i))},"interactions:move":function(A){var t=A.interaction,i=A.duplicate;t.autoStartHoldTimer&&t.pointerWasMoved&&!i&&(clearTimeout(t.autoStartHoldTimer),t.autoStartHoldTimer=null)},"autoStart:before-start":function(A){var t=A.interaction;Et(t)>0&&(t.prepared.name=null)}},getHoldDuration:Et},ps=Bs;br.default=ps;var bt={};Object.defineProperty(bt,"__esModule",{value:!0}),bt.default=void 0;var Ir={id:"auto-start",install:function(A){A.usePlugin(Ar.default),A.usePlugin(br.default),A.usePlugin(Er.default)}};bt.default=Ir;var er={};function hs(A){return/^(always|never|auto)$/.test(A)?(this.options.preventDefault=A,this):U.default.bool(A)?(this.options.preventDefault=A?"always":"never",this):this.options.preventDefault}function ws(A){var t=A.interaction,i=A.event;t.interactable&&t.interactable.checkAndPreventDefault(i)}function Sr(A){var t=A.Interactable;t.prototype.preventDefault=hs,t.prototype.checkAndPreventDefault=function(i){return function(s,c,f){var d=s.options.preventDefault;if(d!=="never")if(d!=="always"){if(c.events.supportsPassive&&/^touch(start|move)$/.test(f.type)){var u=(0,B.getWindow)(f.target).document,g=c.getDocOptions(u);if(!g||!g.events||g.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(f.type)||U.default.element(f.target)&&(0,G.matchesSelector)(f.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||f.preventDefault()}else f.preventDefault()}(this,A,i)},A.interactions.docEvents.push({type:"dragstart",listener:function(i){for(var s=0;sA.length)&&(t=A.length);for(var i=0,s=Array(t);i150)return null;var g=180*Math.atan2(u.prevEvent.velocityY,u.prevEvent.velocityX)/Math.PI;g<0&&(g+=360);var m=112.5<=g&&g<247.5,C=202.5<=g&&g<337.5;return{up:C,down:!C&&22.5<=g&&g<157.5,left:m,right:!m&&(292.5<=g||g<67.5),angle:g,speed:u.prevEvent.speed,velocity:{x:u.prevEvent.velocityX,y:u.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}])&&Us(t.prototype,i),Object.defineProperty(t,"prototype",{writable:!1}),d}(D.BaseEvent);Le.InteractEvent=Zo,Object.defineProperties(Zo.prototype,{pageX:{get:function(){return this.page.x},set:function(A){this.page.x=A}},pageY:{get:function(){return this.page.y},set:function(A){this.page.y=A}},clientX:{get:function(){return this.client.x},set:function(A){this.client.x=A}},clientY:{get:function(){return this.client.y},set:function(A){this.client.y=A}},dx:{get:function(){return this.delta.x},set:function(A){this.delta.x=A}},dy:{get:function(){return this.delta.y},set:function(A){this.delta.y=A}},velocityX:{get:function(){return this.velocity.x},set:function(A){this.velocity.x=A}},velocityY:{get:function(){return this.velocity.y},set:function(A){this.velocity.y=A}}});var Tr={};function qo(A,t){for(var i=0;ithis.pointerMoveTolerance);var m=this.getPointerIndex(s),C={pointer:s,pointerIndex:m,pointerInfo:this.pointers[m],event:c,type:"move",eventTarget:f,dx:d,dy:u,duplicate:g,interaction:this};g||V.setCoordVelocity(this.coords.velocity,this.coords.delta),this._scopeFire("interactions:move",C),g||this.simulation||(this.interacting()&&(C.type=null,this.move(C)),this.pointerWasMoved&&V.copyCoords(this.coords.prev,this.coords.cur))}},{key:"move",value:function(s){s&&s.event||V.setZeroCoords(this.coords.delta),(s=(0,eA.default)({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},s||{})).phase="move",this._doPhase(s)}},{key:"pointerUp",value:function(s,c,f,d){var u=this.getPointerIndex(s);u===-1&&(u=this.updatePointer(s,c,f,!1));var g=/cancel$/i.test(c.type)?"cancel":"up";this._scopeFire("interactions:".concat(g),{pointer:s,pointerIndex:u,pointerInfo:this.pointers[u],event:c,eventTarget:f,type:g,curEventTarget:d,interaction:this}),this.simulation||this.end(c),this.removePointer(s,c)}},{key:"documentBlur",value:function(s){this.end(s),this._scopeFire("interactions:blur",{event:s,type:"blur",interaction:this})}},{key:"end",value:function(s){var c;this._ending=!0,s=s||this._latestPointer.event,this.interacting()&&(c=this._doPhase({event:s,interaction:this,phase:"end"})),this._ending=!1,c===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(s){var c=V.getPointerId(s);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:cA.findIndex(this.pointers,function(f){return f.id===c})}},{key:"getPointerInfo",value:function(s){return this.pointers[this.getPointerIndex(s)]}},{key:"updatePointer",value:function(s,c,f,d){var u=V.getPointerId(s),g=this.getPointerIndex(s),m=this.pointers[g];return d=d!==!1&&(d||/(down|start)$/i.test(c.type)),m?m.pointer=s:(m=new Tr.PointerInfo(u,s,c,null,null),g=this.pointers.length,this.pointers.push(m)),V.setCoords(this.coords.cur,this.pointers.map(function(C){return C.pointer}),this._now()),V.setCoordDeltas(this.coords.delta,this.coords.prev,this.coords.cur),d&&(this.pointerIsDown=!0,m.downTime=this.coords.cur.timeStamp,m.downTarget=f,V.pointerExtend(this.downPointer,s),this.interacting()||(V.copyCoords(this.coords.start,this.coords.cur),V.copyCoords(this.coords.prev,this.coords.cur),this.downEvent=c,this.pointerWasMoved=!1)),this._updateLatestPointer(s,c,f),this._scopeFire("interactions:update-pointer",{pointer:s,event:c,eventTarget:f,down:d,pointerInfo:m,pointerIndex:g,interaction:this}),g}},{key:"removePointer",value:function(s,c){var f=this.getPointerIndex(s);if(f!==-1){var d=this.pointers[f];this._scopeFire("interactions:remove-pointer",{pointer:s,event:c,eventTarget:null,pointerIndex:f,pointerInfo:d,interaction:this}),this.pointers.splice(f,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(s,c,f){this._latestPointer.pointer=s,this._latestPointer.event=c,this._latestPointer.eventTarget=f}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(s,c,f,d){return new Le.InteractEvent(this,s,this.prepared.name,c,this.element,f,d)}},{key:"_fireEvent",value:function(s){var c;(c=this.interactable)==null||c.fire(s),(!this.prevEvent||s.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=s)}},{key:"_doPhase",value:function(s){var c=s.event,f=s.phase,d=s.preEnd,u=s.type,g=this.rect;if(g&&f==="move"&&(HA.addEdges(this.edges,g,this.coords.delta[this.interactable.options.deltaSource]),g.width=g.right-g.left,g.height=g.bottom-g.top),this._scopeFire("interactions:before-action-".concat(f),s)===!1)return!1;var m=s.iEvent=this._createPreparedEvent(c,f,d,u);return this._scopeFire("interactions:action-".concat(f),s),f==="start"&&(this.prevEvent=m),this._fireEvent(m),this._scopeFire("interactions:after-action-".concat(f),s),!0}},{key:"_now",value:function(){return Date.now()}}],i&&ys(t.prototype,i),Object.defineProperty(t,"prototype",{writable:!1}),A}();ve.Interaction=to;var Fs=to;ve.default=Fs;var Ot={};function se(A){A.pointerIsDown&&(ro(A.coords.cur,A.offset.total),A.offset.pending.x=0,A.offset.pending.y=0)}function ei(A){pt(A.interaction)}function pt(A){if(!function(i){return!(!i.offset.pending.x&&!i.offset.pending.y)}(A))return!1;var t=A.offset.pending;return ro(A.coords.cur,t),ro(A.coords.delta,t),HA.addEdges(A.edges,A.rect,t),t.x=0,t.y=0,!0}function Es(A){var t=A.x,i=A.y;this.offset.pending.x+=t,this.offset.pending.y+=i,this.offset.total.x+=t,this.offset.total.y+=i}function ro(A,t){var i=A.page,s=A.client,c=t.x,f=t.y;i.x+=c,i.y+=f,s.x+=c,s.y+=f}Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.addTotal=se,Ot.applyPending=pt,Ot.default=void 0,ve._ProxyMethods.offsetBy="";var bs={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(A){A.Interaction.prototype.offsetBy=Es},listeners:{"interactions:new":function(A){A.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(A){return se(A.interaction)},"interactions:before-action-start":ei,"interactions:before-action-move":ei,"interactions:before-action-end":function(A){var t=A.interaction;if(pt(t))return t.move({offset:!0}),t.end(),!1},"interactions:stop":function(A){var t=A.interaction;t.offset.total.x=0,t.offset.total.y=0,t.offset.pending.x=0,t.offset.pending.y=0}}},Is=bs;Ot.default=Is;var At={};function an(A,t){for(var i=0;if.minSpeed&&u>f.endSpeed)this.startInertia();else{if(g.result=g.setAll(this.modifierArg),!g.result.changed)return!1;this.startSmoothEnd()}return c.modification.result.rect=null,c.offsetBy(this.targetOffset),c._doPhase({interaction:c,event:s,phase:"inertiastart"}),c.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),c.modification.result.rect=null,this.active=!0,c.simulation=this,!0}},{key:"startInertia",value:function(){var s=this,c=this.interaction.coords.velocity.client,f=Oe(this.interaction),d=f.resistance,u=-Math.log(f.endSpeed/this.v0)/d;this.targetOffset={x:(c.x-u)/d,y:(c.y-u)/d},this.te=u,this.lambda_v0=d/this.v0,this.one_ve_v0=1-f.endSpeed/this.v0;var g=this.modification,m=this.modifierArg;m.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},g.result=g.setAll(m),g.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+g.result.delta.x,y:this.targetOffset.y+g.result.delta.y}),this.onNextFrame(function(){return s.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var s=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return s.smoothEndTick()})}},{key:"onNextFrame",value:function(s){var c=this;this.timeout=we.default.request(function(){c.active&&s()})}},{key:"inertiaTick",value:function(){var s,c,f,d,u,g=this,m=this.interaction,C=Oe(m).resistance,F=(m._now()-this.t0)/1e3;if(F=0;f--){var d=c[f],u=d.selector,g=d.context,m=d.listeners;u===this.target&&g===this._context&&c.splice(f,1);for(var C=m.length-1;C>=0;C--)this._scopeEvents.removeDelegate(this.target,this._context,s,m[C][0],m[C][1])}else this._scopeEvents.remove(this.target,"all")}}])&&Ts(t.prototype,i),Object.defineProperty(t,"prototype",{writable:!1}),A}();un.Interactable=fn;var gn={};function Ls(A,t){for(var i=0;iA.length)&&(t=A.length);for(var i=0,s=Array(t);i=0;_--){var sA=P[_];if(sA.selector===C&&sA.context===F){for(var dA=sA.listeners,R=dA.length-1;R>=0;R--){var RA=so(dA[R],2),QA=RA[0],xA=RA[1],jA=xA.capture,it=xA.passive;if(QA===O&&jA===W.capture&&it===W.passive){dA.splice(R,1),dA.length||(P.splice(_,1),u(F,x,g),u(F,x,m,!0)),nA=!0;break}}if(nA)break}}},delegateListener:g,delegateUseCapture:m,delegatedEvents:s,documents:c,targets:i,supportsOptions:!1,supportsPassive:!1};function d(C,F,x,O){var H=rr(O),_=cA.find(i,function(W){return W.eventTarget===C});_||(_={eventTarget:C,events:{}},i.push(_)),_.events[F]||(_.events[F]=[]),C.addEventListener&&!cA.contains(_.events[F],x)&&(C.addEventListener(F,x,f.supportsOptions?H:H.capture),_.events[F].push(x))}function u(C,F,x,O){var H=rr(O),_=cA.findIndex(i,function(R){return R.eventTarget===C}),W=i[_];if(W&&W.events)if(F!=="all"){var P=!1,nA=W.events[F];if(nA){if(x==="all"){for(var sA=nA.length-1;sA>=0;sA--)u(C,F,nA[sA],H);return}for(var dA=0;dA=2)continue;if(!c.interacting()&&t===c.pointerType)return c}return null}};function ii(A,t){return A.pointers.some(function(i){return i.id===t})}var ao=bA;tt.default=ao;var Rr={};function ht(A){return ht=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(A)}function De(A,t){return function(i){if(Array.isArray(i))return i}(A)||function(i,s){var c=i==null?null:typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(c!=null){var f,d,u=[],g=!0,m=!1;try{for(c=c.call(i);!(g=(f=c.next()).done)&&(u.push(f.value),!s||u.length!==s);g=!0);}catch(C){m=!0,d=C}finally{try{g||c.return==null||c.return()}finally{if(m)throw d}}return u}}(A,t)||function(i,s){if(i){if(typeof i=="string")return si(i,s);var c=Object.prototype.toString.call(i).slice(8,-1);return c==="Object"&&i.constructor&&(c=i.constructor.name),c==="Map"||c==="Set"?Array.from(i):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?si(i,s):void 0}}(A,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Bn(A,t){(t==null||t>A.length)&&(t=A.length);for(var i=0,s=Array(t);i=0;_--){var sA=P[_];if(sA.selector===C&&sA.context===F){for(var dA=sA.listeners,R=dA.length-1;R>=0;R--){var RA=so(dA[R],2),QA=RA[0],xA=RA[1],jA=xA.capture,it=xA.passive;if(QA===O&&jA===W.capture&&it===W.passive){dA.splice(R,1),dA.length||(P.splice(_,1),u(F,x,g),u(F,x,m,!0)),nA=!0;break}}if(nA)break}}},delegateListener:g,delegateUseCapture:m,delegatedEvents:s,documents:c,targets:i,supportsOptions:!1,supportsPassive:!1};function d(C,F,x,O){var H=rr(O),_=cA.find(i,function(W){return W.eventTarget===C});_||(_={eventTarget:C,events:{}},i.push(_)),_.events[F]||(_.events[F]=[]),C.addEventListener&&!cA.contains(_.events[F],x)&&(C.addEventListener(F,x,f.supportsOptions?H:H.capture),_.events[F].push(x))}function u(C,F,x,O){var H=rr(O),_=cA.findIndex(i,function(R){return R.eventTarget===C}),W=i[_];if(W&&W.events)if(F!=="all"){var P=!1,nA=W.events[F];if(nA){if(x==="all"){for(var sA=nA.length-1;sA>=0;sA--)u(C,F,nA[sA],H);return}for(var dA=0;dA=2)continue;if(!c.interacting()&&t===c.pointerType)return c}return null}};function ii(A,t){return A.pointers.some(function(i){return i.id===t})}var ao=IA;tt.default=ao;var Rr={};function ht(A){return ht=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(A)}function De(A,t){return function(i){if(Array.isArray(i))return i}(A)||function(i,s){var c=i==null?null:typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(c!=null){var f,d,u=[],g=!0,m=!1;try{for(c=c.call(i);!(g=(f=c.next()).done)&&(u.push(f.value),!s||u.length!==s);g=!0);}catch(C){m=!0,d=C}finally{try{g||c.return==null||c.return()}finally{if(m)throw d}}return u}}(A,t)||function(i,s){if(i){if(typeof i=="string")return si(i,s);var c=Object.prototype.toString.call(i).slice(8,-1);return c==="Object"&&i.constructor&&(c=i.constructor.name),c==="Map"||c==="Set"?Array.from(i):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?si(i,s):void 0}}(A,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function si(A,t){(t==null||t>A.length)&&(t=A.length);for(var i=0,s=Array(t);i=0;s--){var c=t.interactions.list[s];c.interactable===i&&(c.stop(),t.fire("interactions:destroy",{interaction:c}),c.destroy(),t.interactions.list.length>2&&t.interactions.list.splice(s,1))}}},onDocSignal:hn,doOnInteractions:or,methodNames:Ge},ci=ai;Rr.default=ci;var ir={};function sr(A){return sr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sr(A)}function ar(){return ar=typeof Reflect!="undefined"&&Reflect.get?Reflect.get.bind():function(A,t,i){var s=li(A,t);if(s){var c=Object.getOwnPropertyDescriptor(s,t);return c.get?c.get.call(arguments.length<3?A:i):c.value}},ar.apply(this,arguments)}function li(A,t){for(;!Object.prototype.hasOwnProperty.call(A,t)&&(A=ge(A))!==null;);return A}function me(A,t){return me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,s){return i.__proto__=s,i},me(A,t)}function vt(A,t){if(t&&(sr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(A)}function ge(A){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ge(A)}function Ae(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(A,t){for(var i=0;iA.length)&&(t=A.length);for(var i=0,s=Array(t);iMath.abs(g.y),u.coords,u.rect),(0,eA.default)(s,u.coords)),u.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function hi(A,t,i){var s=A.startCoords,c=A.edgeSign;t?i.y=s.y+(i.x-s.x)*c.y:i.x=s.x+(i.y-s.y)*c.x}function wi(A,t,i,s){var c=A.startRect,f=A.startCoords,d=A.ratio,u=A.edgeSign;if(t){var g=s.width/d;i.y=f.y+(g-c.height)*u.y}else{var m=s.height*d;i.x=f.x+(m-c.width)*u.x}}Mt.aspectRatio=Bo;var Rs=(0,te.makeModifier)(Bo,"aspectRatio");Mt.default=Rs;var ke={};Object.defineProperty(ke,"__esModule",{value:!0}),ke.default=void 0;var vi=function(){};vi._defaults={};var _s=vi;ke.default=_s;var Pr={};Object.defineProperty(Pr,"__esModule",{value:!0}),Object.defineProperty(Pr,"default",{enumerable:!0,get:function(){return ke.default}});var de={};function Cn(A,t,i){return U.default.func(A)?HA.resolveRectLike(A,t.interactable,t.element,[i.x,i.y,t]):HA.resolveRectLike(A,t.interactable,t.element)}Object.defineProperty(de,"__esModule",{value:!0}),de.default=void 0,de.getRestrictionRect=Cn,de.restrict=void 0;var mi={start:function(A){var t=A.rect,i=A.startOffset,s=A.state,c=A.interaction,f=A.pageCoords,d=s.options,u=d.elementRect,g=(0,eA.default)({left:0,top:0,right:0,bottom:0},d.offset||{});if(t&&u){var m=Cn(d.restriction,c,f);if(m){var C=m.right-m.left-t.width,F=m.bottom-m.top-t.height;C<0&&(g.left+=C,g.right+=C),F<0&&(g.top+=F,g.bottom+=F)}g.left+=i.left-t.width*u.left,g.top+=i.top-t.height*u.top,g.right+=i.right-t.width*(1-u.right),g.bottom+=i.bottom-t.height*(1-u.bottom)}s.offset=g},set:function(A){var t=A.coords,i=A.interaction,s=A.state,c=s.options,f=s.offset,d=Cn(c.restriction,i,t);if(d){var u=HA.xywhToTlbr(d);t.x=Math.max(Math.min(u.right-f.right,t.x),u.left+f.left),t.y=Math.max(Math.min(u.bottom-f.bottom,t.y),u.top+f.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}};de.restrict=mi;var Ps=(0,te.makeModifier)(mi,"restrict");de.default=Ps;var Ve={};Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.restrictEdges=Ve.default=void 0;var Qi={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Ci={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Rt(A,t){for(var i=["top","left","bottom","right"],s=0;sA.length)&&(t=A.length);for(var i=0,s=Array(t);i{var rd="Expected a function",Au=0/0,nd="[object Symbol]",od=/^\s+|\s+$/g,id=/^[-+]0x[0-9a-f]+$/i,sd=/^0b[01]+$/i,ad=/^0o[0-7]+$/i,cd=parseInt,ld=typeof global=="object"&&global&&global.Object===Object&&global,ud=typeof self=="object"&&self&&self.Object===Object&&self,fd=ld||ud||Function("return this")(),gd=Object.prototype,dd=gd.toString,Bd=Math.max,pd=Math.min,Za=function(){return fd.Date.now()};function hd(h,B,Q){var y,b,U,K,J,AA,UA=0,Y=!1,LA=!1,SA=!0;if(typeof h!="function")throw new TypeError(rd);B=eu(B)||0,qa(Q)&&(Y=!!Q.leading,LA="maxWait"in Q,U=LA?Bd(eu(Q.maxWait)||0,B):U,SA="trailing"in Q?!!Q.trailing:SA);function BA(G){var zA=y,WA=b;return y=b=void 0,UA=G,K=h.apply(WA,zA),K}function ce(G){return UA=G,J=setTimeout(ue,B),Y?BA(G):K}function fA(G){var zA=G-AA,WA=G-UA,ye=B-zA;return LA?pd(ye,U-WA):ye}function NA(G){var zA=G-AA,WA=G-UA;return AA===void 0||zA>=B||zA<0||LA&&WA>=U}function ue(){var G=Za();if(NA(G))return Ut(G);J=setTimeout(ue,fA(G))}function Ut(G){return J=void 0,SA&&y?BA(G):(y=b=void 0,K)}function GA(){J!==void 0&&clearTimeout(J),UA=0,y=AA=b=J=void 0}function OA(){return J===void 0?K:Ut(Za())}function Ue(){var G=Za(),zA=NA(G);if(y=arguments,b=this,AA=G,zA){if(J===void 0)return ce(AA);if(LA)return J=setTimeout(ue,B),BA(AA)}return J===void 0&&(J=setTimeout(ue,B)),K}return Ue.cancel=GA,Ue.flush=OA,Ue}function qa(h){var B=typeof h;return!!h&&(B=="object"||B=="function")}function wd(h){return!!h&&typeof h=="object"}function vd(h){return typeof h=="symbol"||wd(h)&&dd.call(h)==nd}function eu(h){if(typeof h=="number")return h;if(vd(h))return Au;if(qa(h)){var B=typeof h.valueOf=="function"?h.valueOf():h;h=qa(B)?B+"":B}if(typeof h!="string")return h===0?h:+h;h=h.replace(od,"");var Q=sd.test(h);return Q||ad.test(h)?cd(h.slice(2),Q?2:8):id.test(h)?Au:+h}tu.exports=hd});var ou=Wi((IB,nu)=>{nu.exports={compareTwoStrings:ru,findBestMatch:md};function ru(h,B){if(h=h.replace(/\s+/g,""),B=B.replace(/\s+/g,""),h===B)return 1;if(h.length<2||B.length<2)return 0;let Q=new Map;for(let b=0;b0&&(Q.set(U,K-1),y++)}return 2*y/(h.length+B.length-2)}function md(h,B){if(!Qd(h,B))throw new Error("Bad arguments: First argument should be a string, second should be an array of strings");let Q=[],y=0;for(let U=0;UQ[y].rating&&(y=U)}let b=Q[y];return{ratings:Q,bestMatch:b,bestMatchIndex:y}}function Qd(h,B){return!(typeof h!="string"||!Array.isArray(B)||!B.length||B.find(function(Q){return typeof Q!="string"}))}});var tl="strigo-sdk",Ka="strigo.io",rl=["strigo-exercises"],nl=["orig-iframe"],Ji=` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()),H=O[0],_=O[1];if(H in F||_ in F){F.x=F[H],F.y=F[_];break}}c.options.targets.push(F)}}var W=Ke.snap.set(A);return c.options=d,W},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}};ot.snapSize=Nr;var Js=(0,te.makeModifier)(Nr,"snapSize");ot.default=Js;var lr={};Object.defineProperty(lr,"__esModule",{value:!0}),lr.snapEdges=lr.default=void 0;var Ii={start:function(A){var t=A.edges;return t?(A.state.targetFields=A.state.targetFields||[[t.left?"left":"right",t.top?"top":"bottom"]],ot.snapSize.start(A)):null},set:ot.snapSize.set,defaults:(0,eA.default)((0,St.default)(ot.snapSize.defaults),{targets:null,range:null,offset:{x:0,y:0}})};lr.snapEdges=Ii;var Ys=(0,te.makeModifier)(Ii,"snapEdges");lr.default=Ys;var ho={};Object.defineProperty(ho,"__esModule",{value:!0}),Object.defineProperty(ho,"default",{enumerable:!0,get:function(){return ke.default}});var wo={};Object.defineProperty(wo,"__esModule",{value:!0}),Object.defineProperty(wo,"default",{enumerable:!0,get:function(){return ke.default}});var ur={};Object.defineProperty(ur,"__esModule",{value:!0}),ur.default=void 0;var js={aspectRatio:Mt.default,restrictEdges:Ve.default,restrict:de.default,restrictRect:nt.default,restrictSize:cr.default,snapEdges:lr.default,snap:Ke.default,snapSize:ot.default,spring:ho.default,avoid:Pr.default,transform:wo.default,rubberband:po.default};ur.default=js;var yn={};Object.defineProperty(yn,"__esModule",{value:!0}),yn.default=void 0;var zs={id:"modifiers",install:function(A){var t=A.interactStatic;for(var i in A.usePlugin(te.default),A.usePlugin(Kt.default),t.modifiers=ur.default,ur.default){var s=ur.default[i],c=s._defaults,f=s._methods;c._methods=f,A.defaults.perAction[i]=c}}},Fn=zs;yn.default=Fn;var _t={};function vo(A){return vo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vo(A)}function Si(A,t){for(var i=0;i{var rd="Expected a function",Au=0/0,nd="[object Symbol]",od=/^\s+|\s+$/g,id=/^[-+]0x[0-9a-f]+$/i,sd=/^0b[01]+$/i,ad=/^0o[0-7]+$/i,cd=parseInt,ld=typeof global=="object"&&global&&global.Object===Object&&global,ud=typeof self=="object"&&self&&self.Object===Object&&self,fd=ld||ud||Function("return this")(),gd=Object.prototype,dd=gd.toString,Bd=Math.max,pd=Math.min,Za=function(){return fd.Date.now()};function hd(h,B,Q){var y,b,U,K,J,AA,UA=0,Y=!1,LA=!1,bA=!0;if(typeof h!="function")throw new TypeError(rd);B=eu(B)||0,qa(Q)&&(Y=!!Q.leading,LA="maxWait"in Q,U=LA?Bd(eu(Q.maxWait)||0,B):U,bA="trailing"in Q?!!Q.trailing:bA);function BA(G){var zA=y,WA=b;return y=b=void 0,UA=G,K=h.apply(WA,zA),K}function ce(G){return UA=G,J=setTimeout(ue,B),Y?BA(G):K}function fA(G){var zA=G-AA,WA=G-UA,ye=B-zA;return LA?pd(ye,U-WA):ye}function NA(G){var zA=G-AA,WA=G-UA;return AA===void 0||zA>=B||zA<0||LA&&WA>=U}function ue(){var G=Za();if(NA(G))return Ut(G);J=setTimeout(ue,fA(G))}function Ut(G){return J=void 0,bA&&y?BA(G):(y=b=void 0,K)}function GA(){J!==void 0&&clearTimeout(J),UA=0,y=AA=b=J=void 0}function OA(){return J===void 0?K:Ut(Za())}function Ue(){var G=Za(),zA=NA(G);if(y=arguments,b=this,AA=G,zA){if(J===void 0)return ce(AA);if(LA)return J=setTimeout(ue,B),BA(AA)}return J===void 0&&(J=setTimeout(ue,B)),K}return Ue.cancel=GA,Ue.flush=OA,Ue}function qa(h){var B=typeof h;return!!h&&(B=="object"||B=="function")}function wd(h){return!!h&&typeof h=="object"}function vd(h){return typeof h=="symbol"||wd(h)&&dd.call(h)==nd}function eu(h){if(typeof h=="number")return h;if(vd(h))return Au;if(qa(h)){var B=typeof h.valueOf=="function"?h.valueOf():h;h=qa(B)?B+"":B}if(typeof h!="string")return h===0?h:+h;h=h.replace(od,"");var Q=sd.test(h);return Q||ad.test(h)?cd(h.slice(2),Q?2:8):id.test(h)?Au:+h}tu.exports=hd});var ou=Wi((IB,nu)=>{nu.exports={compareTwoStrings:ru,findBestMatch:md};function ru(h,B){if(h=h.replace(/\s+/g,""),B=B.replace(/\s+/g,""),h===B)return 1;if(h.length<2||B.length<2)return 0;let Q=new Map;for(let b=0;b0&&(Q.set(U,K-1),y++)}return 2*y/(h.length+B.length-2)}function md(h,B){if(!Qd(h,B))throw new Error("Bad arguments: First argument should be a string, second should be an array of strings");let Q=[],y=0;for(let U=0;UQ[y].rating&&(y=U)}let b=Q[y];return{ratings:Q,bestMatch:b,bestMatchIndex:y}}function Qd(h,B){return!(typeof h!="string"||!Array.isArray(B)||!B.length||B.find(function(Q){return typeof Q!="string"}))}});var tl="strigo-sdk",Ka="strigo.io",rl=["strigo-exercises"],nl=["orig-iframe"],Ji=` `,Wt="https://cdn.statically.io/gh/strigo/strigo-sdk";var ol="https://assessment-recorder.web.app",Ho="http://local.strigo.io:3000",il="http://local-preview.strigo.io:3000";var sl="v1.1.40";var Yi="strigoAssessmentUuid",al="strigoAssessmentRecorder";var Ma="strigoChildIframe";function Ng(h){let B={};for(let[Q,y]of h)B[Q]=y;return B}function Gg(h){let Q=new URLSearchParams(h).entries();return Ng(Q)}function ll(){let{host:h,pathname:B,href:Q,origin:y,search:b}=window.location;return{host:h,pathName:B,href:Q,origin:y,search:b,params:Gg(b)}}function ji(h,B){let{subDomain:Q,user:y,webApiKey:b}=h,U=B?il:Ho,K=B?`https://academy-preview.${Ka}`:`https://${Q}.${Ka}`,J=window.Strigo.isDevelopment()?U:K,AA=new URL(`${J}/academy/courses`);return AA.searchParams.set("token",y.token.token),AA.searchParams.set("webApiKey",b),AA.toString()}function ul(h){let B=new URL(h);return B.searchParams.set(Ma,"true"),B.toString()}function fl(){return window.location.search.includes(Ma)}function gl(){let h=new URL(window.location.href),B=new URLSearchParams(h.search);B.delete(Ma),h.search=B.toString(),window.history.replaceState(window.history.state,"",h)}function dl(){let h=document.getElementById(tl);return{webApiKey:h?.getAttribute("data-web-api-key")||"",subDomain:h?.getAttribute("data-subdomain")||"",selectedWidgetFlavor:h?.getAttribute("data-layout-flavor")||"dynamic"}}function Bl(h){return window.Strigo.isDevelopment()?`${SDK_LOCAL_URL}/styles/strigo.css`:h?`${Wt}@${h}/dist/production/styles/strigo.min.css`:`${Wt}@master/dist/production/styles/strigo.min.css`}function pl(h){return window.Strigo.isDevelopment()?`${SDK_LOCAL_URL}/styles/strigo-widget.css`:h?`${Wt}@${h}/dist/production/styles/strigo-widget.min.css`:`${Wt}@master/dist/production/styles/strigo-widget.min.css`}function zi(h){return window.Strigo.isDevelopment()?`${SDK_LOCAL_URL}/styles/strigo-academy-hat.css`:h?`${Wt}@${h}/dist/production/styles/strigo-academy-hat.min.css`:`${Wt}@master/dist/production/styles/strigo-academy-hat.min.css`}function hl(h){return window.Strigo.isDevelopment()?`${SDK_LOCAL_URL}/styles/strigo-assessment-recorder.css`:h?`${Wt}@${h}/dist/production/styles/strigo-assessment-recorder.min.css`:`${Wt}@${sl}/dist/production/styles/strigo-assessment-recorder.min.css`}function wl(){return window.Strigo.isDevelopment()?RECORDER_LOCAL_URL:ol}function Zi(h){let B=new URL(h),Q=new URLSearchParams(B.search);return Q.delete(Yi),Q.delete(al),B.search=Q.toString(),B.toString()}var vl=class{constructor(B){this.url=B?.url}setup(B){this.url=B.url}logToRemote(B,Q,y){return fetch(this.url,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({level:B,message:Q,context:y})}).then(b=>{b.ok||console.warn("Logging to Strigo failed",{result:b})}).catch(b=>{console.warn("Logging to Strigo failed",{err:b})})}logToConsole(B,Q,y){let b=`${new Date().toISOString()} - ${Q}`,U=y.err instanceof Error?{...y,err:{message:y.err.message,name:y.err.name,stack:y.err.stack}}:y;console[B](b,y?` ${JSON.stringify(U)}`:"")}getDefaultContext(){let B=oe();if(!B)return{};let{user:Q,subDomain:y,initSite:b,version:U,selectedWidgetFlavor:K}=B;return{token:Q?.token.token,initSite:b?.href,subDomain:y,development:window.Strigo.isDevelopment(),version:U,selectedWidgetFlavor:K}}log(B,Q,y){let b={...this.getDefaultContext(),...y};try{this.url&&window.Strigo.isDevelopment()&&this.logToRemote(B,Q,b),this.logToConsole(B,`Academy - ${Q}`,b)}catch(U){console.log("Logging error:",{err:U})}}debug(B,Q={}){this.log("debug",B,Q)}info(B,Q={}){this.log("info",B,Q)}warn(B,Q={}){this.log("warn",B,Q)}error(B,Q={}){this.log("error",B,Q)}},T=new vl;function xo(h,B){try{return JSON.parse(window[h].getItem(B))}catch(Q){return T.error("get storage data error",{err:Q}),null}}function To(h,B,Q){try{return window[h].setItem(B,JSON.stringify(Q)),Q}catch(y){return T.error("setup storage error",{err:y}),null}}function qi(h,B,Q,y){try{let b=xo(h,B);if(!b)throw new Error("Can't find initial state");let U={...b,[Q]:y};return window[h].setItem(B,JSON.stringify(U)),U}catch(b){return T.error("set storage value error",{err:b}),null}}function $i(h,B){try{window[h].removeItem(B)}catch(Q){T.error("clear storage error",{err:Q})}}function oe(){return xo("localStorage","strigoConfig")}function ml(h){let B=oe();return To("localStorage","strigoConfig",{...B,...h})}function Ql(h){let B=oe();return To("localStorage","strigoConfig",{...B,...h})}function Cl(h,B){return qi("localStorage","strigoConfig",h,B)}function Pn(h){return oe()?.[h]}function Ul(){$i("localStorage","strigoConfig")}async function yl(h){try{let B=window.Strigo.isDevelopment()?Ho:"https://app.strigo.io",Q=await fetch(`${B}/api/internal/academy/v1/config?domain=${window.location.hostname}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`Bearer ${h.token}`}});if(!Q.ok)throw new Error(`Failed to fetch remote configuration: ${Q.statusText}`);return(await Q.json()).data}catch(B){return T.warn("Error fetching configuration from Strigo",{err:B}),null}}async function Fl(h,B){try{T.info("Sending success event to strigo",{eventName:B});let Q=window.Strigo.isDevelopment()?Ho:"https://app.strigo.io",y=await fetch(`${Q}/api/internal/academy/v1/success-event`,{method:"POST",body:JSON.stringify({eventName:B}),headers:{"Content-Type":"application/json",Authorization:`Bearer ${h.token}`}});if(!y.ok)throw new Error(`Failed sending success event to Strigo: ${y.statusText}`);let b=await y.json();T.info("Success event Response",{successEventResponse:b})}catch(Q){return T.warn("Error sending success event to Strigo",{err:Q}),null}}function Na(){let h=oe()?.user?.token,B=sessionStorage.getItem("strigoPreviewUserToken");return B?{token:B,expiration:`${Date.now()+1e3*60*60*24}`}:h}function El(h){return To("sessionStorage","strigoSession",h)}function As(){return xo("sessionStorage","strigoSession")}function Jt(){return As()?As().shouldPanelBeOpen:!0}function Nn(){return As()?.widgetFlavor}function Yt(h,B){return qi("sessionStorage","strigoSession",h,B)}function Zr(h){return As()?.[h]}function bl(){$i("sessionStorage","strigoSession")}function Ga(){try{return JSON.parse(window["localStorage"].getItem("strigoAssessments"))}catch(h){return T.error("Get assessments storage error",{error:h}),null}}function Il(){try{let h=Ga();if(h)return T.debug("Assessments storage already exists"),h;let B={assessments:[]};return window["localStorage"].setItem("strigoAssessments",JSON.stringify(B)),B}catch(h){return T.error("Init assessments storage error",{error:h}),null}}function Sl(h){try{let B=h?{assessments:[...h]}:{assessments:[]};return window["localStorage"].setItem("strigoAssessments",JSON.stringify(B)),B}catch(B){return T.error("Assessments storage setup error",{error:B}),null}}function Hl(){try{window["localStorage"].removeItem("strigoAssessments")}catch(h){T.error("Clear assessments storage error",{error:h})}}var Wl=So(xl(),1);function Lo(){return window.top}function hr(){return document.getElementsByTagName("head")[0]}function Tl(){document.open(),document.close()}function Ll(){let h=document.createElement("div");return h.className="strigo-main",document.body.appendChild(h),h}function wr(h){let{url:B,parentElement:Q}=h,y=document.createElement("link");y.rel="stylesheet",y.href=B,Q.appendChild(y)}function Oo(h){let{url:B,parentElement:Q,classNames:y,id:b}=h,U=document.createElement("iframe");return U.classList.add(...y),U.id=b,U.src=B,Q.appendChild(U),U}function Ol(){location.reload()}function Dl(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function ts(){return Dl()?[window.screen.width,window.screen.width]:[window.screen.width/2,window.screen.width]}function Kl(){return Dl()?[0,0]:[window.screen.width*.25,0]}function Ml(){let h=new XMLHttpRequest;h.open("GET",window.document.location.href,!1),h.send(null);let Q=h.getAllResponseHeaders().toLowerCase().split(`\r -`);for(let y of Q)if(y.includes("x-frame-options")){let b=y.split(":");if(b&&b.length>1)return b[1].trim()!=="deny"}return!0}function Rl(){let h=document.getElementById("strigo-widget"),B=document.getElementById("strigo-collapse-div"),Q=document.getElementById("strigo-academy-hat");h.classList.toggle("align-left"),B.classList.toggle("align-left"),Q.classList.toggle("align-left");let y=h.classList.contains("align-left")?"left":"right",b=document.getElementById("strigo-exercises");Cl("dockingSide",y),b.contentWindow.postMessage({dockingSide:y},"*")}function _l(h){h.document.getElementById("strigo-widget").remove()}function rs(){document.getElementById("loader")?.remove(),document.getElementById("strigo-academy-hat-icon")?.classList.remove("loader")}function Gn(){let h=document.getElementById("strigo-widget");h.classList.add("slide-in"),h.classList.add("loaded"),document.getElementById("strigo-collapse-div").classList.remove("slide-in"),document.getElementById("strigo-academy-hat").classList.remove("slide-in")}function Xa(){let h=document.getElementById("strigo-widget");h.classList.remove("slide-in"),h.classList.remove("loaded"),document.getElementById("strigo-collapse-div").classList.add("slide-in"),document.getElementById("strigo-academy-hat").classList.add("slide-in")}function Pl(){Yt("shouldPanelBeOpen",!1),Xa()}var Xg=function(h){if(h.filter(Q=>["HTML","BODY"].includes(Q.target.nodeName)).length>0){if(window.document.getElementById("strigo-widget")){T.info("*** Strigo widget already exist on the DOM.");return}T.info("*** Reloading widget in navigation observer"),setTimeout(window.Strigo.open.bind(window.Strigo),0)}};function Wg(){let B=!Jt();Yt("shouldPanelBeOpen",B),B?Gn():Xa()}function Nl(h){let B=Jt(),Q=Pn("dockingSide"),y=document.createElement("div");y.className="strigo-academy-hat",y.id="strigo-academy-hat",y.onclick=()=>{Wg()};let b=document.createElement("div");b.className="strigo-academy-hat-icon loader",b.id="strigo-academy-hat-icon",b.innerHTML=Ji,y.appendChild(b);let U=document.createElement("div");U.className="loader",U.id="loader",y.appendChild(U);let K=document.createElement("div");K.className="strigo-collapse-div",K.id="strigo-collapse-div";let J=document.createElement("iframe");J.className="strigo-iframe",J.id="strigo-exercises",J.src=h;let AA=document.createElement("div");return AA.id="strigo-widget",AA.appendChild(K),AA.appendChild(J),Q==="left"&&(AA.classList.add("align-left"),K.classList.add("align-left"),y.classList.add("align-left")),document.body.appendChild(AA),document.body.appendChild(y),B?Gn():Xa(),J}function Gl(h){h.strigoNavigationObserver={observer:new MutationObserver(Xg)};let B={childList:!0,subtree:!0};h?.strigoNavigationObserver?.observer?.observe(h.document,B)}function kl(h){let{primaryColor:B,primaryHoverColor:Q,primaryTextAccent:y}=h,b=document.querySelector(":root");b.style.setProperty("--customizable-hat-bg-color",B),b.style.setProperty("--customizable-hat-bg-hover-color",Q),b.style.setProperty("--customizable-hat-text-color",y==="dark"?"#000000":"#FFFFFF")}function Wa(){var h;(function(M){M[M.All=0]="All",M[M.Two=1]="Two",M[M.One=2]="One"})(h||(h={}));let B,Q;function y(M,tA){if(M.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if(M.tagName.toLowerCase()==="html")return"html";let j={root:document.body,idName:V=>!0,className:V=>!0,tagName:V=>!0,attr:(V,yA)=>!1,seedMinLength:1,buildNodeTreeUpToRoot:!1,maxNumberOfTries:2e3};B=Object.assign(Object.assign({},j),tA),Q=UA(B.root,j);let aA=LA(M),CA=Y(M);return{nodeTree:aA,recordedElementInfo:CA}}function b(M){let tA=M[0],j=tA.name;for(let aA=1;aA ${j}`:j=`${M[aA].name} ${j}`,tA=M[aA];return j}function U(M,tA){let j=M.parent,aA=[];for(aA.push(tA),M.path&&aA.push(M.path);j?.path;)aA.push(j.path),j=j.parent;return b(aA)}function K(M,tA){let j=M.sort((JA,vA)=>vA.level-JA.level),aA={path:null,children:[],parent:null,level:-1},CA=[],V=new Set,yA=null,wA=0;for(CA.push(aA),V.add(aA);CA.length>0&&j[wA];){let JA=CA.pop(),{nodeIdentifiers:vA}=j[wA],VA=AA(vA,wA),k=[];for(let D of VA){let X=U(JA,D),iA=document.querySelectorAll(X).length;if(iA!==0){if(iA===1){k.splice(0,k.length),k.push({path:D,children:[],parent:JA,level:wA}),yA=X;break}k.push({path:D,children:[],parent:JA,level:wA})}}if(k.length===0)return;JA.children.push(...k),JA.children.filter(D=>!V.has(D)).forEach(D=>{V.add(D),CA.push(D)}),wA=wA+1}return yA}function J(M,tA){let j={root:document.body,idName:aA=>!0,className:aA=>!0,tagName:aA=>!0,attr:(aA,CA)=>!1,optimizedMinLength:6,maxNumberOfTries:2e3,fallbackNodeTree:M};return B=Object.assign(Object.assign({},j),tA),Q=UA(B.root,j),K(M,Q)}function AA(M,tA){let j=G(M.find(vA=>vA.identifier==="id")),aA=G(...M.filter(vA=>vA.identifier==="attribute")),CA=G(...M.filter(vA=>vA.identifier==="className")),V=G(...M.filter(vA=>vA.identifier==="tagName")),yA=M.filter(vA=>vA.identifier==="index"&&vA.identifier.outOf!=="1")?.[0]?.index,wA=[...j||[],...aA||[],...CA||[],...V||[]];return yA&&(wA=wA.concat(wA.filter(Ue).map(vA=>OA(vA,yA)))),(wA?ye(WA([wA])):null).map(([vA])=>({...vA,level:tA}))}function UA(M,tA){return M.nodeType===Node.DOCUMENT_NODE?M:M===tA.root?M.ownerDocument:M}function Y(M){let tA=Array.from(M.childNodes).reduce((yA,wA)=>(wA.nodeType===3&&yA.push(wA.nodeValue),yA),[]).join(""),j=Array.from(M.childNodes).map(yA=>{let wA=yA.nodeName.toLowerCase();return{classes:yA.classList?Array.from(yA.classList):[],nodeName:wA}}),aA=M.classList?Array.from(M.classList):[],CA=M.tagName.toLowerCase(),V=Zi(window.location.href);return{tagName:CA,classes:aA,internalStructure:j,directInnerText:tA,url:V}}function LA(M){let tA=[],j=M,aA=0;for(;j&&j!==B.root.parentElement;){let CA=[G(ce(j)),G(ue(j)),G(...fA(j)),G(...NA(j)),G(GA(j))].filter(zA).flat().sort((V,yA)=>V.penalty-yA.penalty);tA.push({nodeIdentifiers:CA,level:aA}),j=j.parentElement,aA++}return tA}function SA(M){return M.map(tA=>tA.penalty).reduce((tA,j)=>tA+j,0)}function BA(M){switch(Q.querySelectorAll(b(M)).length){case 0:throw new Error(`Can't select any node with this selector: ${b(M)}`);case 1:return!0;default:return!1}}function ce(M){M?.getAttribute||alert(JSON.stringify(M));let tA=M.getAttribute("id");return tA&&B.idName(tA)?{name:"#"+_e(tA,{isIdentifier:!0}),penalty:0,identifier:"id"}:null}function fA(M){return Array.from(M.attributes).filter(j=>B.attr(j.name,j.value)).map(j=>({name:"["+_e(j.name,{isIdentifier:!0})+'="'+_e(j.value)+'"]',penalty:.5,identifier:"attribute"}))}function NA(M){return Array.from(M.classList).filter(B.className).map(j=>({name:"."+_e(j,{isIdentifier:!0}),penalty:1,identifier:"className"}))}function ue(M){let tA=M.tagName.toLowerCase();return B.tagName(tA)?{name:tA,penalty:2,identifier:"tagName"}:null}function Ut(){return{name:"*",penalty:3,identifier:"any"}}function GA(M){let tA=M.parentNode;if(!tA)return null;let j=tA.firstChild;if(!j)return null;let aA=0;for(;j&&(j.nodeType===Node.ELEMENT_NODE&&aA++,j!==M);)j=j.nextSibling;return{index:aA,outOf:tA.childElementCount,penalty:4,identifier:"index"}}function OA(M,tA){return{name:M.name+`:nth-child(${tA})`,penalty:M.penalty+1}}function Ue(M){return M.name!=="html"&&!M.name.startsWith("#")&&!B.allowDuplicates}function G(...M){let tA=M.filter(zA);return tA.length>0?tA:null}function zA(M){return M!=null}function*WA(M,tA=[]){if(M.length>0)for(let j of M[0])yield*WA(M.slice(1,M.length),tA.concat(j));else yield tA}function ye(M){return Array.from(M).sort((tA,j)=>SA(tA)-SA(j))}function*ut(M,tA,j={counter:0,visited:new Map}){if(M.length>2&&M.length>B.optimizedMinLength)for(let aA=1;aAB.maxNumberOfTries){console.log(`*** Selector optimization exhausted. Exceeded max number of tries - ${B.maxNumberOfTries}`);return}j.counter+=1;let CA=[...M];CA.splice(aA,1);let V=b(CA);if(j.visited.has(V))return;BA(CA)&&yt(CA,tA)&&(yield CA,j.visited.set(V,!0),yield*ut(CA,tA,j))}}function yt(M,tA){return Q.querySelector(b(M))===tA}let zt=/[ -,\.\/:-@\[-\^`\{-~]/,eA=/[ -,\.\/:-@\[\]\^`\{-~]/,HA=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Re={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};function _e(M,tA={}){let j=Object.assign(Object.assign({},Re),tA);j.quotes!="single"&&j.quotes!="double"&&(j.quotes="single");let aA=j.quotes=="double"?'"':"'",CA=j.isIdentifier,V=M.charAt(0),yA="",wA=0,JA=M.length;for(;wA126){if(VA>=55296&&VA<=56319&&wAK===B},{nodeTree:b,recordedElementInfo:U}=Q.getElementProfileNodeTree(h.target,y);return console.log("*** Just FYI - this is how it can generate css selector:",Q.generateSelectorFromNodeTree(b,y)),{nodeTree:b,recordedElementInfo:U}}function Do(h,B){let Q=Wa(),b={...{allowDuplicates:!1,optimizedMinLength:10,threshold:1e3,attr:K=>K===dataAttribute,fallbackNodeTree:h},...B};return Q.generateSelectorFromNodeTree(h,b)}function Xl(h,B){this.removeOverlayElement=()=>{console.log("Removing mouse over event listener from the selected element."),h.removeEventListener("mouseover",this.mouseOverEvent);let b=h.getElementById("element-selector-overlay");b&&h?.body?.removeChild(b)},this.saveSelectedSelector=b=>{b.preventDefault(),b.stopPropagation(),this.removeOverlayElement();let U=Jg(b,{dataAttribute:"some-custom-strigo-attribute"});U=U||{},console.log("Selected element with elementProfile:",U),B.onElementProfileCreated(U)};function Q(b,U){for(let K in U)b.style[K]=U[K]}let y=(b,U,K=[])=>{if(U===b.target)return;let J=b.target;if(K.includes(J.id))return;let AA=J.offsetWidth+2,UA=J.offsetHeight+2;function Y(BA){let ce=0,fA=0;for(;BA&&!isNaN(BA.offsetLeft)&&!isNaN(BA.offsetTop);)ce+=BA.offsetLeft-BA.scrollLeft,fA+=BA.offsetTop-BA.scrollTop,BA=BA.offsetParent;return{top:fA-window.scrollY,left:ce-window.scrollX}}let LA=Y(J),SA={top:LA.top-2+"px",left:LA.left-2+"px",width:AA+"px",height:UA+"px"};Q(U,SA)};return this.mouseOverEvent=b=>{let U=window.document.getElementById("element-selector-overlay");y(b,U,["element-selector-overlay","strigo-assessment-recorder-iframe"]),b.target.addEventListener("click",this.saveSelectedSelector)},this.removeClickListenerFromHoveredElement=b=>{b.target.removeEventListener("click",this.saveSelectedSelector)},this.startElementSelector=()=>{let b=h.createElement("div");b.setAttribute("id","element-selector-overlay"),b.setAttribute("id","element-selector-overlay"),b.setAttribute("style",` +`);for(let y of Q)if(y.includes("x-frame-options")){let b=y.split(":");if(b&&b.length>1)return b[1].trim()!=="deny"}return!0}function Rl(){let h=document.getElementById("strigo-widget"),B=document.getElementById("strigo-collapse-div"),Q=document.getElementById("strigo-academy-hat");h.classList.toggle("align-left"),B.classList.toggle("align-left"),Q.classList.toggle("align-left");let y=h.classList.contains("align-left")?"left":"right",b=document.getElementById("strigo-exercises");Cl("dockingSide",y),b.contentWindow.postMessage({dockingSide:y},"*")}function _l(h){h.document.getElementById("strigo-widget").remove()}function rs(){document.getElementById("loader")?.remove(),document.getElementById("strigo-academy-hat-icon")?.classList.remove("loader")}function Gn(){let h=document.getElementById("strigo-widget");h.classList.add("slide-in"),h.classList.add("loaded"),document.getElementById("strigo-collapse-div").classList.remove("slide-in"),document.getElementById("strigo-academy-hat").classList.remove("slide-in")}function Xa(){let h=document.getElementById("strigo-widget");h.classList.remove("slide-in"),h.classList.remove("loaded"),document.getElementById("strigo-collapse-div").classList.add("slide-in"),document.getElementById("strigo-academy-hat").classList.add("slide-in")}function Pl(){Yt("shouldPanelBeOpen",!1),Xa()}var Xg=function(h){if(h.filter(Q=>["HTML","BODY"].includes(Q.target.nodeName)).length>0){if(window.document.getElementById("strigo-widget")){T.info("*** Strigo widget already exist on the DOM.");return}T.info("*** Reloading widget in navigation observer"),setTimeout(window.Strigo.open.bind(window.Strigo),0)}};function Wg(){let B=!Jt();Yt("shouldPanelBeOpen",B),B?Gn():Xa()}function Nl(h){let B=Jt(),Q=Pn("dockingSide"),y=document.createElement("div");y.className="strigo-academy-hat",y.id="strigo-academy-hat",y.onclick=()=>{Wg()};let b=document.createElement("div");b.className="strigo-academy-hat-icon loader",b.id="strigo-academy-hat-icon",b.innerHTML=Ji,y.appendChild(b);let U=document.createElement("div");U.className="loader",U.id="loader",y.appendChild(U);let K=document.createElement("div");K.className="strigo-collapse-div",K.id="strigo-collapse-div";let J=document.createElement("iframe");J.className="strigo-iframe",J.id="strigo-exercises",J.src=h;let AA=document.createElement("div");return AA.id="strigo-widget",AA.appendChild(K),AA.appendChild(J),Q==="left"&&(AA.classList.add("align-left"),K.classList.add("align-left"),y.classList.add("align-left")),document.body.appendChild(AA),document.body.appendChild(y),B?Gn():Xa(),J}function Gl(h){h.strigoNavigationObserver={observer:new MutationObserver(Xg)};let B={childList:!0,subtree:!0};h?.strigoNavigationObserver?.observer?.observe(h.document,B)}function kl(h){let{primaryColor:B,primaryHoverColor:Q,primaryTextAccent:y}=h,b=document.querySelector(":root");b.style.setProperty("--customizable-hat-bg-color",B),b.style.setProperty("--customizable-hat-bg-hover-color",Q),b.style.setProperty("--customizable-hat-text-color",y==="dark"?"#000000":"#FFFFFF")}function Wa(){var h;(function(M){M[M.All=0]="All",M[M.Two=1]="Two",M[M.One=2]="One"})(h||(h={}));let B,Q;function y(M,tA){if(M.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if(M.tagName.toLowerCase()==="html")return"html";let j={root:document.body,idName:V=>!0,className:V=>!0,tagName:V=>!0,attr:(V,yA)=>!1,seedMinLength:1,buildNodeTreeUpToRoot:!1,maxNumberOfTries:2e3};B=Object.assign(Object.assign({},j),tA),Q=UA(B.root,j);let aA=LA(M),CA=Y(M);return{nodeTree:aA,recordedElementInfo:CA}}function b(M){let tA=M[0],j=tA.name;for(let aA=1;aA ${j}`:j=`${M[aA].name} ${j}`,tA=M[aA];return j}function U(M,tA){let j=M.parent,aA=[];for(aA.push(tA),M.path&&aA.push(M.path);j?.path;)aA.push(j.path),j=j.parent;return b(aA)}function K(M,tA){let j=M.sort((JA,vA)=>vA.level-JA.level),aA={path:null,children:[],parent:null,level:-1},CA=[],V=new Set,yA=null,wA=0;for(CA.push(aA),V.add(aA);CA.length>0&&j[wA];){let JA=CA.pop(),{nodeIdentifiers:vA}=j[wA],VA=AA(vA,wA),k=[];for(let D of VA){let X=U(JA,D),iA=document.querySelectorAll(X).length;if(iA!==0){if(iA===1){k.splice(0,k.length),k.push({path:D,children:[],parent:JA,level:wA}),yA=X;break}k.push({path:D,children:[],parent:JA,level:wA})}}if(k.length===0)return;JA.children.push(...k),JA.children.filter(D=>!V.has(D)).forEach(D=>{V.add(D),CA.push(D)}),wA=wA+1}return yA}function J(M,tA){let j={root:document.body,idName:aA=>!0,className:aA=>!0,tagName:aA=>!0,attr:(aA,CA)=>!1,optimizedMinLength:6,maxNumberOfTries:2e3,fallbackNodeTree:M};return B=Object.assign(Object.assign({},j),tA),Q=UA(B.root,j),K(M,Q)}function AA(M,tA){let j=G(M.find(vA=>vA.identifier==="id")),aA=G(...M.filter(vA=>vA.identifier==="attribute")),CA=G(...M.filter(vA=>vA.identifier==="className")),V=G(...M.filter(vA=>vA.identifier==="tagName")),yA=M.filter(vA=>vA.identifier==="index"&&vA.identifier.outOf!=="1")?.[0]?.index,wA=[...j||[],...aA||[],...CA||[],...V||[]];return yA&&(wA=wA.concat(wA.filter(Ue).map(vA=>OA(vA,yA)))),(wA?ye(WA([wA])):null).map(([vA])=>({...vA,level:tA}))}function UA(M,tA){return M.nodeType===Node.DOCUMENT_NODE?M:M===tA.root?M.ownerDocument:M}function Y(M){let tA=Array.from(M.childNodes).reduce((yA,wA)=>(wA.nodeType===3&&yA.push(wA.nodeValue),yA),[]).join(""),j=Array.from(M.childNodes).map(yA=>{let wA=yA.nodeName.toLowerCase();return{classes:yA.classList?Array.from(yA.classList):[],nodeName:wA}}),aA=M.classList?Array.from(M.classList):[],CA=M.tagName.toLowerCase(),V=Zi(window.location.href);return{tagName:CA,classes:aA,internalStructure:j,directInnerText:tA,url:V}}function LA(M){let tA=[],j=M,aA=0;for(;j&&j!==B.root.parentElement;){let CA=[G(ce(j)),G(ue(j)),G(...fA(j)),G(...NA(j)),G(GA(j))].filter(zA).flat().sort((V,yA)=>V.penalty-yA.penalty);tA.push({nodeIdentifiers:CA,level:aA}),j=j.parentElement,aA++}return tA}function bA(M){return M.map(tA=>tA.penalty).reduce((tA,j)=>tA+j,0)}function BA(M){switch(Q.querySelectorAll(b(M)).length){case 0:throw new Error(`Can't select any node with this selector: ${b(M)}`);case 1:return!0;default:return!1}}function ce(M){M?.getAttribute||alert(JSON.stringify(M));let tA=M.getAttribute("id");return tA&&B.idName(tA)?{name:"#"+_e(tA,{isIdentifier:!0}),penalty:0,identifier:"id"}:null}function fA(M){return Array.from(M.attributes).filter(j=>B.attr(j.name,j.value)).map(j=>({name:"["+_e(j.name,{isIdentifier:!0})+'="'+_e(j.value)+'"]',penalty:.5,identifier:"attribute"}))}function NA(M){return Array.from(M.classList).filter(B.className).map(j=>({name:"."+_e(j,{isIdentifier:!0}),penalty:1,identifier:"className"}))}function ue(M){let tA=M.tagName.toLowerCase();return B.tagName(tA)?{name:tA,penalty:2,identifier:"tagName"}:null}function Ut(){return{name:"*",penalty:3,identifier:"any"}}function GA(M){let tA=M.parentNode;if(!tA)return null;let j=tA.firstChild;if(!j)return null;let aA=0;for(;j&&(j.nodeType===Node.ELEMENT_NODE&&aA++,j!==M);)j=j.nextSibling;return{index:aA,outOf:tA.childElementCount,penalty:4,identifier:"index"}}function OA(M,tA){return{name:M.name+`:nth-child(${tA})`,penalty:M.penalty+1}}function Ue(M){return M.name!=="html"&&!M.name.startsWith("#")&&!B.allowDuplicates}function G(...M){let tA=M.filter(zA);return tA.length>0?tA:null}function zA(M){return M!=null}function*WA(M,tA=[]){if(M.length>0)for(let j of M[0])yield*WA(M.slice(1,M.length),tA.concat(j));else yield tA}function ye(M){return Array.from(M).sort((tA,j)=>bA(tA)-bA(j))}function*ut(M,tA,j={counter:0,visited:new Map}){if(M.length>2&&M.length>B.optimizedMinLength)for(let aA=1;aAB.maxNumberOfTries){console.log(`*** Selector optimization exhausted. Exceeded max number of tries - ${B.maxNumberOfTries}`);return}j.counter+=1;let CA=[...M];CA.splice(aA,1);let V=b(CA);if(j.visited.has(V))return;BA(CA)&&yt(CA,tA)&&(yield CA,j.visited.set(V,!0),yield*ut(CA,tA,j))}}function yt(M,tA){return Q.querySelector(b(M))===tA}let zt=/[ -,\.\/:-@\[-\^`\{-~]/,eA=/[ -,\.\/:-@\[\]\^`\{-~]/,HA=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Re={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};function _e(M,tA={}){let j=Object.assign(Object.assign({},Re),tA);j.quotes!="single"&&j.quotes!="double"&&(j.quotes="single");let aA=j.quotes=="double"?'"':"'",CA=j.isIdentifier,V=M.charAt(0),yA="",wA=0,JA=M.length;for(;wA126){if(VA>=55296&&VA<=56319&&wAK===B},{nodeTree:b,recordedElementInfo:U}=Q.getElementProfileNodeTree(h.target,y);return console.log("*** Just FYI - this is how it can generate css selector:",Q.generateSelectorFromNodeTree(b,y)),{nodeTree:b,recordedElementInfo:U}}function Do(h,B){let Q=Wa(),b={...{allowDuplicates:!1,optimizedMinLength:10,threshold:1e3,attr:K=>K===dataAttribute,fallbackNodeTree:h},...B};return Q.generateSelectorFromNodeTree(h,b)}function Xl(h,B){this.removeOverlayElement=()=>{console.log("Removing mouse over event listener from the selected element."),h.removeEventListener("mouseover",this.mouseOverEvent);let b=h.getElementById("element-selector-overlay");b&&h?.body?.removeChild(b)},this.saveSelectedSelector=b=>{b.preventDefault(),b.stopPropagation(),this.removeOverlayElement();let U=Jg(b,{dataAttribute:"some-custom-strigo-attribute"});U=U||{},console.log("Selected element with elementProfile:",U),B.onElementProfileCreated(U)};function Q(b,U){for(let K in U)b.style[K]=U[K]}let y=(b,U,K=[])=>{if(U===b.target)return;let J=b.target;if(K.includes(J.id))return;let AA=J.offsetWidth+2,UA=J.offsetHeight+2;function Y(BA){let ce=0,fA=0;for(;BA&&!isNaN(BA.offsetLeft)&&!isNaN(BA.offsetTop);)ce+=BA.offsetLeft-BA.scrollLeft,fA+=BA.offsetTop-BA.scrollTop,BA=BA.offsetParent;return{top:fA-window.scrollY,left:ce-window.scrollX}}let LA=Y(J),bA={top:LA.top-2+"px",left:LA.left-2+"px",width:AA+"px",height:UA+"px"};Q(U,bA)};return this.mouseOverEvent=b=>{let U=window.document.getElementById("element-selector-overlay");y(b,U,["element-selector-overlay","strigo-assessment-recorder-iframe"]),b.target.addEventListener("click",this.saveSelectedSelector)},this.removeClickListenerFromHoveredElement=b=>{b.target.removeEventListener("click",this.saveSelectedSelector)},this.startElementSelector=()=>{let b=h.createElement("div");b.setAttribute("id","element-selector-overlay"),b.setAttribute("id","element-selector-overlay"),b.setAttribute("style",` position: fixed; top: 0; left: 0; @@ -26,7 +26,7 @@ ${JSON.stringify(U)}`:"")}getDefaultContext(){let B=oe();if(!B)return{};let{user border: 2px dashed #696CBF; box-sizing: border-box; border-radius: 4px; - `),console.log("Appending overlay selector element."),h.body.appendChild(b),h.addEventListener("mouseover",this.mouseOverEvent),h.addEventListener("mouseout",this.removeClickListenerFromHoveredElement),window.focus(),h.body.focus(),window.addEventListener("keydown",this.onEscSelection,!0)},this.onEscSelection=b=>{b.key==="Escape"&&(console.log("Aborting element selection...",b.key),this.stopElementSelection())},this.stopElementSelection=()=>{this.removeOverlayElement(),window.removeEventListener("keydown",this.onEscSelection,!0),B.onElementSelectionCancel()},{startElementSelector:this.startElementSelector,stopElementSelection:this.stopElementSelection}}function Yg(h,B){let Q=document.getElementById("strigo-assessment-recorder-iframe"),{nodeTree:y}=h,b=Do(y);(0,Wl.default)(document.querySelector(b),{backgroundColor:"#c6c7e7"}).then(U=>{let K={imageData:U.toDataURL(),profile:h,querySelector:b};Q.contentWindow.postMessage(JSON.stringify({messageType:"end-capture",payload:{elementType:B,selectedElement:K},windowName:window.name}),"*"),Q.classList.replace("slide-from-opened-to-minimized","slide-from-minimized-to-opened")})}function jg(h){T.info("Aborting element selection...");let B=document.getElementById("strigo-assessment-recorder-iframe");B.classList.replace("slide-from-opened-to-minimized","slide-from-minimized-to-opened"),B.contentWindow.postMessage(JSON.stringify({messageType:"end-capture",payload:{elementType:h,selectedElement:null},windowName:window.name}),"*")}function Jl(){if(document.getElementById("strigo-assessment-recorder-iframe"))return;let h=wl();wr({parentElement:hr(),url:hl()});let B=Oo({classNames:["strigo-assessment-recorder-iframe","opened"],id:"strigo-assessment-recorder-iframe",parentElement:window.document.body,url:h});window.addEventListener("message",Q=>{if(!Q||!Q.data||Q.origin!==h)return;let y;try{y=JSON.parse(Q.data)}catch{return}let{messageType:b,payload:U}=y;switch(b){case"start-capture":{T.info("Start capturing message received"),B.classList.replace("opened","slide-from-opened-to-minimized")||B.classList.replace("slide-from-minimized-to-opened","slide-from-opened-to-minimized");let{elementType:J,rootElementSelector:AA}=U?.captureParams;window.Strigo.startElementSelector(UA=>Yg(UA,J),()=>jg(J),AA);break}case"stop-capture":{T.info("Stop capturing message received"),B.classList.replace("slide-from-opened-to-minimized","slide-from-minimized-to-opened"),window.Strigo.stopElementSelector();break}case"submit-assessment":{let K=window.sessionStorage.getItem(Yi),J=Zi(window.location.href);window.opener.postMessage({assessment:{...U.assessment,url:J},recorderWindowId:K},"*"),window.close();break}case"cancel-assessment":{window.close();break}default:break}},!1)}var Ye=typeof window!="undefined"?window:null,Ya=Ye===null,Mo=Ya?void 0:Ye.document,st="addEventListener",at="removeEventListener",Ja="getBoundingClientRect",Ko="_a",ct="_b",jt="_c",ns="horizontal",lt=function(){return!1},Zg=Ya?"calc":["","-webkit-","-moz-","-o-"].filter(function(h){var B=Mo.createElement("div");return B.style.cssText="width:"+h+"calc(9px)",!!B.style.length}).shift()+"calc",jl=function(h){return typeof h=="string"||h instanceof String},Yl=function(h){if(jl(h)){var B=Mo.querySelector(h);if(!B)throw new Error("Selector "+h+" did not match a DOM element");return B}return h},Ce=function(h,B,Q){var y=h[B];return y!==void 0?y:Q},os=function(h,B,Q,y){if(B){if(y==="end")return 0;if(y==="center")return h/2}else if(Q){if(y==="start")return 0;if(y==="center")return h/2}return h},qg=function(h,B){var Q=Mo.createElement("div");return Q.className="gutter gutter-"+B,Q},$g=function(h,B,Q){var y={};return jl(B)?y[h]=B:y[h]=Zg+"("+B+"% - "+Q+"px)",y},Ad=function(h,B){var Q;return Q={},Q[h]=B+"px",Q},ed=function(h,B){if(B===void 0&&(B={}),Ya)return{};var Q=h,y,b,U,K,J,AA;Array.from&&(Q=Array.from(Q));var UA=Yl(Q[0]),Y=UA.parentNode,LA=getComputedStyle?getComputedStyle(Y):null,SA=LA?LA.flexDirection:null,BA=Ce(B,"sizes")||Q.map(function(){return 100/Q.length}),ce=Ce(B,"minSize",100),fA=Array.isArray(ce)?ce:Q.map(function(){return ce}),NA=Ce(B,"maxSize",1/0),ue=Array.isArray(NA)?NA:Q.map(function(){return NA}),Ut=Ce(B,"expandToMin",!1),GA=Ce(B,"gutterSize",10),OA=Ce(B,"gutterAlign","center"),Ue=Ce(B,"snapOffset",30),G=Array.isArray(Ue)?Ue:Q.map(function(){return Ue}),zA=Ce(B,"dragInterval",1),WA=Ce(B,"direction",ns),ye=Ce(B,"cursor",WA===ns?"col-resize":"row-resize"),ut=Ce(B,"gutter",qg),yt=Ce(B,"elementStyle",$g),zt=Ce(B,"gutterStyle",Ad);WA===ns?(y="width",b="clientX",U="left",K="right",J="clientWidth"):WA==="vertical"&&(y="height",b="clientY",U="top",K="bottom",J="clientHeight");function eA(k,D,X,iA){var ZA=yt(y,D,X,iA);Object.keys(ZA).forEach(function(cA){k.style[cA]=ZA[cA]})}function HA(k,D,X){var iA=zt(y,D,X);Object.keys(iA).forEach(function(ZA){k.style[ZA]=iA[ZA]})}function Re(){return AA.map(function(k){return k.size})}function _e(k){return"touches"in k?k.touches[0][b]:k[b]}function M(k){var D=AA[this.a],X=AA[this.b],iA=D.size+X.size;D.size=k/this.size*iA,X.size=iA-k/this.size*iA,eA(D.element,D.size,this[ct],D.i),eA(X.element,X.size,this[jt],X.i)}function tA(k){var D,X=AA[this.a],iA=AA[this.b];!this.dragging||(D=_e(k)-this.start+(this[ct]-this.dragOffset),zA>1&&(D=Math.round(D/zA)*zA),D<=X.minSize+X.snapOffset+this[ct]?D=X.minSize+this[ct]:D>=this.size-(iA.minSize+iA.snapOffset+this[jt])&&(D=this.size-(iA.minSize+this[jt])),D>=X.maxSize-X.snapOffset+this[ct]?D=X.maxSize+this[ct]:D<=this.size-(iA.maxSize-iA.snapOffset+this[jt])&&(D=this.size-(iA.maxSize+this[jt])),M.call(this,D),Ce(B,"onDrag",lt)(Re()))}function j(){var k=AA[this.a].element,D=AA[this.b].element,X=k[Ja](),iA=D[Ja]();this.size=X[y]+iA[y]+this[ct]+this[jt],this.start=X[U],this.end=X[K]}function aA(k){if(!getComputedStyle)return null;var D=getComputedStyle(k);if(!D)return null;var X=k[J];return X===0?null:(WA===ns?X-=parseFloat(D.paddingLeft)+parseFloat(D.paddingRight):X-=parseFloat(D.paddingTop)+parseFloat(D.paddingBottom),X)}function CA(k){var D=aA(Y);if(D===null||fA.reduce(function(cA,ie){return cA+ie},0)>D)return k;var X=0,iA=[],ZA=k.map(function(cA,ie){var He=D*cA/100,YA=os(GA,ie===0,ie===k.length-1,OA),Pe=fA[ie]+YA;return He0&&iA[ie]-X>0){var YA=Math.min(X,iA[ie]-X);X-=YA,He=cA-YA}return He/D*100})}function V(){var k=this,D=AA[k.a].element,X=AA[k.b].element;k.dragging&&Ce(B,"onDragEnd",lt)(Re()),k.dragging=!1,Ye[at]("mouseup",k.stop),Ye[at]("touchend",k.stop),Ye[at]("touchcancel",k.stop),Ye[at]("mousemove",k.move),Ye[at]("touchmove",k.move),k.stop=null,k.move=null,D[at]("selectstart",lt),D[at]("dragstart",lt),X[at]("selectstart",lt),X[at]("dragstart",lt),D.style.userSelect="",D.style.webkitUserSelect="",D.style.MozUserSelect="",D.style.pointerEvents="",X.style.userSelect="",X.style.webkitUserSelect="",X.style.MozUserSelect="",X.style.pointerEvents="",k.gutter.style.cursor="",k.parent.style.cursor="",Mo.body.style.cursor=""}function yA(k){if(!("button"in k&&k.button!==0)){var D=this,X=AA[D.a].element,iA=AA[D.b].element;D.dragging||Ce(B,"onDragStart",lt)(Re()),k.preventDefault(),D.dragging=!0,D.move=tA.bind(D),D.stop=V.bind(D),Ye[st]("mouseup",D.stop),Ye[st]("touchend",D.stop),Ye[st]("touchcancel",D.stop),Ye[st]("mousemove",D.move),Ye[st]("touchmove",D.move),X[st]("selectstart",lt),X[st]("dragstart",lt),iA[st]("selectstart",lt),iA[st]("dragstart",lt),X.style.userSelect="none",X.style.webkitUserSelect="none",X.style.MozUserSelect="none",X.style.pointerEvents="none",iA.style.userSelect="none",iA.style.webkitUserSelect="none",iA.style.MozUserSelect="none",iA.style.pointerEvents="none",D.gutter.style.cursor=ye,D.parent.style.cursor=ye,Mo.body.style.cursor=ye,j.call(D),D.dragOffset=_e(k)-D.end}}BA=CA(BA);var wA=[];AA=Q.map(function(k,D){var X={element:Yl(k),size:BA[D],minSize:fA[D],maxSize:ue[D],snapOffset:G[D],i:D},iA;if(D>0&&(iA={a:D-1,b:D,dragging:!1,direction:WA,parent:Y},iA[ct]=os(GA,D-1===0,!1,OA),iA[jt]=os(GA,!1,D===Q.length-1,OA),SA==="row-reverse"||SA==="column-reverse")){var ZA=iA.a;iA.a=iA.b,iA.b=ZA}if(D>0){var cA=ut(D,WA,X.element);HA(cA,GA,D),iA[Ko]=yA.bind(iA),cA[st]("mousedown",iA[Ko]),cA[st]("touchstart",iA[Ko]),Y.insertBefore(cA,X.element),iA.gutter=cA}return eA(X.element,X.size,os(GA,D===0,D===Q.length-1,OA),D),D>0&&wA.push(iA),X});function JA(k){var D=k.i===wA.length,X=D?wA[k.i-1]:wA[k.i];j.call(X);var iA=D?X.size-k.minSize-X[jt]:k.minSize+X[ct];M.call(X,iA)}AA.forEach(function(k){var D=k.element[Ja]()[y];D0){var ZA=wA[iA-1],cA=AA[ZA.a],ie=AA[ZA.b];cA.size=D[iA-1],ie.size=X,eA(cA.element,cA.size,ZA[ct],cA.i),eA(ie.element,ie.size,ZA[jt],ie.i)}})}function VA(k,D){wA.forEach(function(X){if(D!==!0?X.parent.removeChild(X.gutter):(X.gutter[at]("mousedown",X[Ko]),X.gutter[at]("touchstart",X[Ko])),k!==!0){var iA=yt(y,X.a.size,X[ct]);Object.keys(iA).forEach(function(ZA){AA[X.a].element.style[ZA]="",AA[X.b].element.style[ZA]=""})}})}return{setSizes:vA,getSizes:Re,collapse:function(D){JA(AA[D])},destroy:VA,parent:Y,pairs:wA}},ja=ed;var td=` + `),console.log("Appending overlay selector element."),h.body.appendChild(b),h.addEventListener("mouseover",this.mouseOverEvent),h.addEventListener("mouseout",this.removeClickListenerFromHoveredElement),window.focus(),h.body.focus(),window.addEventListener("keydown",this.onEscSelection,!0)},this.onEscSelection=b=>{b.key==="Escape"&&(console.log("Aborting element selection...",b.key),this.stopElementSelection())},this.stopElementSelection=()=>{this.removeOverlayElement(),window.removeEventListener("keydown",this.onEscSelection,!0),B.onElementSelectionCancel()},{startElementSelector:this.startElementSelector,stopElementSelection:this.stopElementSelection}}function Yg(h,B){let Q=document.getElementById("strigo-assessment-recorder-iframe"),{nodeTree:y}=h,b=Do(y);(0,Wl.default)(document.querySelector(b),{backgroundColor:"#c6c7e7"}).then(U=>{let K={imageData:U.toDataURL(),profile:h,querySelector:b};Q.contentWindow.postMessage(JSON.stringify({messageType:"end-capture",payload:{elementType:B,selectedElement:K},windowName:window.name}),"*"),Q.classList.replace("slide-from-opened-to-minimized","slide-from-minimized-to-opened")})}function jg(h){T.info("Aborting element selection...");let B=document.getElementById("strigo-assessment-recorder-iframe");B.classList.replace("slide-from-opened-to-minimized","slide-from-minimized-to-opened"),B.contentWindow.postMessage(JSON.stringify({messageType:"end-capture",payload:{elementType:h,selectedElement:null},windowName:window.name}),"*")}function Jl(){if(document.getElementById("strigo-assessment-recorder-iframe"))return;let h=wl();wr({parentElement:hr(),url:hl()});let B=Oo({classNames:["strigo-assessment-recorder-iframe","opened"],id:"strigo-assessment-recorder-iframe",parentElement:window.document.body,url:h});window.addEventListener("message",Q=>{if(!Q||!Q.data||Q.origin!==h)return;let y;try{y=JSON.parse(Q.data)}catch{return}let{messageType:b,payload:U}=y;switch(b){case"start-capture":{T.info("Start capturing message received"),B.classList.replace("opened","slide-from-opened-to-minimized")||B.classList.replace("slide-from-minimized-to-opened","slide-from-opened-to-minimized");let{elementType:J,rootElementSelector:AA}=U?.captureParams;window.Strigo.startElementSelector(UA=>Yg(UA,J),()=>jg(J),AA);break}case"stop-capture":{T.info("Stop capturing message received"),B.classList.replace("slide-from-opened-to-minimized","slide-from-minimized-to-opened"),window.Strigo.stopElementSelector();break}case"submit-assessment":{let K=window.sessionStorage.getItem(Yi),J=Zi(window.location.href);window.opener.postMessage({assessment:{...U.assessment,url:J},recorderWindowId:K},"*"),window.close();break}case"cancel-assessment":{window.close();break}default:break}},!1)}var Ye=typeof window!="undefined"?window:null,Ya=Ye===null,Mo=Ya?void 0:Ye.document,st="addEventListener",at="removeEventListener",Ja="getBoundingClientRect",Ko="_a",ct="_b",jt="_c",ns="horizontal",lt=function(){return!1},Zg=Ya?"calc":["","-webkit-","-moz-","-o-"].filter(function(h){var B=Mo.createElement("div");return B.style.cssText="width:"+h+"calc(9px)",!!B.style.length}).shift()+"calc",jl=function(h){return typeof h=="string"||h instanceof String},Yl=function(h){if(jl(h)){var B=Mo.querySelector(h);if(!B)throw new Error("Selector "+h+" did not match a DOM element");return B}return h},Ce=function(h,B,Q){var y=h[B];return y!==void 0?y:Q},os=function(h,B,Q,y){if(B){if(y==="end")return 0;if(y==="center")return h/2}else if(Q){if(y==="start")return 0;if(y==="center")return h/2}return h},qg=function(h,B){var Q=Mo.createElement("div");return Q.className="gutter gutter-"+B,Q},$g=function(h,B,Q){var y={};return jl(B)?y[h]=B:y[h]=Zg+"("+B+"% - "+Q+"px)",y},Ad=function(h,B){var Q;return Q={},Q[h]=B+"px",Q},ed=function(h,B){if(B===void 0&&(B={}),Ya)return{};var Q=h,y,b,U,K,J,AA;Array.from&&(Q=Array.from(Q));var UA=Yl(Q[0]),Y=UA.parentNode,LA=getComputedStyle?getComputedStyle(Y):null,bA=LA?LA.flexDirection:null,BA=Ce(B,"sizes")||Q.map(function(){return 100/Q.length}),ce=Ce(B,"minSize",100),fA=Array.isArray(ce)?ce:Q.map(function(){return ce}),NA=Ce(B,"maxSize",1/0),ue=Array.isArray(NA)?NA:Q.map(function(){return NA}),Ut=Ce(B,"expandToMin",!1),GA=Ce(B,"gutterSize",10),OA=Ce(B,"gutterAlign","center"),Ue=Ce(B,"snapOffset",30),G=Array.isArray(Ue)?Ue:Q.map(function(){return Ue}),zA=Ce(B,"dragInterval",1),WA=Ce(B,"direction",ns),ye=Ce(B,"cursor",WA===ns?"col-resize":"row-resize"),ut=Ce(B,"gutter",qg),yt=Ce(B,"elementStyle",$g),zt=Ce(B,"gutterStyle",Ad);WA===ns?(y="width",b="clientX",U="left",K="right",J="clientWidth"):WA==="vertical"&&(y="height",b="clientY",U="top",K="bottom",J="clientHeight");function eA(k,D,X,iA){var ZA=yt(y,D,X,iA);Object.keys(ZA).forEach(function(cA){k.style[cA]=ZA[cA]})}function HA(k,D,X){var iA=zt(y,D,X);Object.keys(iA).forEach(function(ZA){k.style[ZA]=iA[ZA]})}function Re(){return AA.map(function(k){return k.size})}function _e(k){return"touches"in k?k.touches[0][b]:k[b]}function M(k){var D=AA[this.a],X=AA[this.b],iA=D.size+X.size;D.size=k/this.size*iA,X.size=iA-k/this.size*iA,eA(D.element,D.size,this[ct],D.i),eA(X.element,X.size,this[jt],X.i)}function tA(k){var D,X=AA[this.a],iA=AA[this.b];!this.dragging||(D=_e(k)-this.start+(this[ct]-this.dragOffset),zA>1&&(D=Math.round(D/zA)*zA),D<=X.minSize+X.snapOffset+this[ct]?D=X.minSize+this[ct]:D>=this.size-(iA.minSize+iA.snapOffset+this[jt])&&(D=this.size-(iA.minSize+this[jt])),D>=X.maxSize-X.snapOffset+this[ct]?D=X.maxSize+this[ct]:D<=this.size-(iA.maxSize-iA.snapOffset+this[jt])&&(D=this.size-(iA.maxSize+this[jt])),M.call(this,D),Ce(B,"onDrag",lt)(Re()))}function j(){var k=AA[this.a].element,D=AA[this.b].element,X=k[Ja](),iA=D[Ja]();this.size=X[y]+iA[y]+this[ct]+this[jt],this.start=X[U],this.end=X[K]}function aA(k){if(!getComputedStyle)return null;var D=getComputedStyle(k);if(!D)return null;var X=k[J];return X===0?null:(WA===ns?X-=parseFloat(D.paddingLeft)+parseFloat(D.paddingRight):X-=parseFloat(D.paddingTop)+parseFloat(D.paddingBottom),X)}function CA(k){var D=aA(Y);if(D===null||fA.reduce(function(cA,ie){return cA+ie},0)>D)return k;var X=0,iA=[],ZA=k.map(function(cA,ie){var He=D*cA/100,YA=os(GA,ie===0,ie===k.length-1,OA),Pe=fA[ie]+YA;return He0&&iA[ie]-X>0){var YA=Math.min(X,iA[ie]-X);X-=YA,He=cA-YA}return He/D*100})}function V(){var k=this,D=AA[k.a].element,X=AA[k.b].element;k.dragging&&Ce(B,"onDragEnd",lt)(Re()),k.dragging=!1,Ye[at]("mouseup",k.stop),Ye[at]("touchend",k.stop),Ye[at]("touchcancel",k.stop),Ye[at]("mousemove",k.move),Ye[at]("touchmove",k.move),k.stop=null,k.move=null,D[at]("selectstart",lt),D[at]("dragstart",lt),X[at]("selectstart",lt),X[at]("dragstart",lt),D.style.userSelect="",D.style.webkitUserSelect="",D.style.MozUserSelect="",D.style.pointerEvents="",X.style.userSelect="",X.style.webkitUserSelect="",X.style.MozUserSelect="",X.style.pointerEvents="",k.gutter.style.cursor="",k.parent.style.cursor="",Mo.body.style.cursor=""}function yA(k){if(!("button"in k&&k.button!==0)){var D=this,X=AA[D.a].element,iA=AA[D.b].element;D.dragging||Ce(B,"onDragStart",lt)(Re()),k.preventDefault(),D.dragging=!0,D.move=tA.bind(D),D.stop=V.bind(D),Ye[st]("mouseup",D.stop),Ye[st]("touchend",D.stop),Ye[st]("touchcancel",D.stop),Ye[st]("mousemove",D.move),Ye[st]("touchmove",D.move),X[st]("selectstart",lt),X[st]("dragstart",lt),iA[st]("selectstart",lt),iA[st]("dragstart",lt),X.style.userSelect="none",X.style.webkitUserSelect="none",X.style.MozUserSelect="none",X.style.pointerEvents="none",iA.style.userSelect="none",iA.style.webkitUserSelect="none",iA.style.MozUserSelect="none",iA.style.pointerEvents="none",D.gutter.style.cursor=ye,D.parent.style.cursor=ye,Mo.body.style.cursor=ye,j.call(D),D.dragOffset=_e(k)-D.end}}BA=CA(BA);var wA=[];AA=Q.map(function(k,D){var X={element:Yl(k),size:BA[D],minSize:fA[D],maxSize:ue[D],snapOffset:G[D],i:D},iA;if(D>0&&(iA={a:D-1,b:D,dragging:!1,direction:WA,parent:Y},iA[ct]=os(GA,D-1===0,!1,OA),iA[jt]=os(GA,!1,D===Q.length-1,OA),bA==="row-reverse"||bA==="column-reverse")){var ZA=iA.a;iA.a=iA.b,iA.b=ZA}if(D>0){var cA=ut(D,WA,X.element);HA(cA,GA,D),iA[Ko]=yA.bind(iA),cA[st]("mousedown",iA[Ko]),cA[st]("touchstart",iA[Ko]),Y.insertBefore(cA,X.element),iA.gutter=cA}return eA(X.element,X.size,os(GA,D===0,D===Q.length-1,OA),D),D>0&&wA.push(iA),X});function JA(k){var D=k.i===wA.length,X=D?wA[k.i-1]:wA[k.i];j.call(X);var iA=D?X.size-k.minSize-X[jt]:k.minSize+X[ct];M.call(X,iA)}AA.forEach(function(k){var D=k.element[Ja]()[y];D0){var ZA=wA[iA-1],cA=AA[ZA.a],ie=AA[ZA.b];cA.size=D[iA-1],ie.size=X,eA(cA.element,cA.size,ZA[ct],cA.i),eA(ie.element,ie.size,ZA[jt],ie.i)}})}function VA(k,D){wA.forEach(function(X){if(D!==!0?X.parent.removeChild(X.gutter):(X.gutter[at]("mousedown",X[Ko]),X.gutter[at]("touchstart",X[Ko])),k!==!0){var iA=yt(y,X.a.size,X[ct]);Object.keys(iA).forEach(function(ZA){AA[X.a].element.style[ZA]="",AA[X.b].element.style[ZA]=""})}})}return{setSizes:vA,getSizes:Re,collapse:function(D){JA(AA[D])},destroy:VA,parent:Y,pairs:wA}},ja=ed;var td=`
-`;function zl(){let h=document.createElement("div");h.className="strigo-loader",h.innerHTML=td,document.body.appendChild(h)}function Zl(){let h=document.querySelector(".strigo-loader");return new Promise(B=>{let Q=setInterval(()=>{h.style.opacity||(h.style.opacity="1");let y=parseFloat(h.style.opacity);y>0?h.style.opacity=(y-.1).toString():(h.style.pointerEvents="none",clearInterval(Q),B())},200)})}var oc=So($l(),1);var fu=So($a(),1);var is=So(ou(),1);function Cd(h,B){if(h.length===0&&B.length===0)return 1;let Q=h.filter(U=>B.includes(U)),y=h.length+B.length-Q.length;if(y===0)return 0;let b=Q.length/y;return T.info("*** Style similarity ratio:",{similarityRatio:b}),b}function Ud(h,B){let Q=Array.from(B.childNodes).map(({nodeName:U})=>U.toLowerCase()),y=h.internalStructure?.map(({nodeName:U})=>U.toLowerCase()),b=is.default.compareTwoStrings(Q.join(""),y.join(""));return T.info("*** Internal structure similarity ratio:",{internalStructureSimilarity:b}),b}function yd(h,B){let Q=Array.from(B.childNodes).reduce((b,U)=>(U.nodeType===3&&b.push(U.nodeValue),b),[]).join(""),y=is.default.compareTwoStrings(h.directInnerText,Q);return T.info("*** Text similarity ratio: ",{textSimilarity:y}),y}function Fd(h,B){if(h.tagName!==B.tagName.toLocaleLowerCase())return T.info("*** Mismatching element type. Similarity rating is 0.",{recordedElementTagName:h.tagName,capturedElementTagName:B.tagName.toLocaleLowerCase()}),0;let Q=h.classes,y=Array.from(B.classList),b=Cd(Q,y),U=Ud(h,B),K=yd(h,B),J=(b+U+K)/3;return T.info("*** Avg. similarity rating: ",{avgSimilarityRating:J}),J}function su(h,B){return T.info("*** elementInfo",{recordedElementInfo:h}),!(Fd(h,B)fA!==""),J=U.pathname.split("/").filter(fA=>fA!=="");if(K.length!==J.length)return!1;let AA=K.filter(fA=>J.includes(fA)),UA=K.filter(fA=>!J.includes(fA)),Y=J.filter(fA=>!K.includes(fA)),LA=K.length,SA=AA.length/LA,BA=is.default.compareTwoStrings(UA.join(""),Y.join(""));if(AA.length===0)return BA>.1;let ce=SA+(1-SA)*BA;return T.info("*** Url path similarity rating:",{pathSimilarityRating:ce}),ce>=oe()?.assessmentThresholds?.urlPathSimilarityThreshold}var Ed="strigoLocationId",cu="strigo-location-id",Ac={subtree:!0,childList:!0},lu={subtree:!0,characterData:!0,childList:!0},Ct={},kn={},Ro,gu;function tc(h,B){kn[h]={...kn[h],...B}}function du(h,B){let Q=window.sessionStorage.getItem(h),b={...Q?JSON.parse(Q):{},...B};window.sessionStorage.setItem(h,JSON.stringify(b))}function bd(h,B){let Q=h.recordedAssessment?.exampleElement?.profile;if(Q){T.info("*** No example element profile. Aborting count...");return}let{nodeTree:y,recordedElementInfo:b}=Q,U;try{U=Do(y,{allowDuplicates:!0})}catch{T.info("*** Failed to retrieve a selector for the example element");return}let{_id:K}=h,J=document.querySelectorAll(U)||[];T.info("*** Example elements found:",{exampleElements:J});let AA=Array.from(J).filter(BA=>B.contains(BA));T.info("*** Example elements that are inside the location element:",{exampleElementsInsideTheLocationElement:AA});let UA=AA?.length||0,Y=window.sessionStorage.getItem(K),SA=(Y?JSON.parse(Y):{})?.[document.location.href];return T.info("*** evaluating example element count",{currentExampleElementCount:UA,previousExampleElementCount:SA,exampleElementSelector:U,documentText:document.body.innerText.slice(0,10)}),SA||(T.info("*** Persisting example element count to local storage",{currentExampleElementCount:UA}),du(K,{[document.location.href]:UA})),UA}var ec=async(h,B={})=>{let{_id:Q,challengeSuccessEvent:y}=h;T.info("*** Successfully detected assessment criteria!",{assessmentId:Q,challengeSuccessEvent:y,...h,window,...B}),tc(Q,{status:"SUCCESS"}),T.info(`sent event ${y}`),await window.Strigo.sendEvent(y)};function Id(h){if(T.info("*** Got an item count mutation in the location element!"),Ro!==document.location.href){T.info("*** Aborting element count due to race condition");return}let{challengeSuccessEvent:B,_id:Q}=this.assessment;if(kn[Q]?.status==="SUCCESS"){T.info("*** Assessment already completed successfully.");return}let y;try{y=bd(this.assessment,this.locationElement)}catch{return}let b=window.sessionStorage.getItem(Q),K=(b?JSON.parse(b):{})?.[document.location.href];K&&y>parseInt(K)&&(T.info("*** Yo! we got a successfully added item!",{currentExampleElementCount:y,previousExampleElementCount:K}),du(Q,{[document.location.href]:y}),ec(this.assessment),Ct[Q].observer.disconnect(),delete Ct[Q])}var Sd=(h,B)=>{let Q,y,b=kn[h]?.locationElement,U=window.document.contains(b);if(b&&U)T.info("*** Got a cached location element...",{cachedLocationElement:b}),Q=b,y=kn[h]?.locationElementSelector;else{let{nodeTree:K,recordedElementInfo:J}=B;if(y=Do(K,{threshold:5e3}),!y)throw new Error("*** No location element selector was found fitting.");if(T.info("*** Retrieving location element by selector:",{locationElementSelector:y}),Q=window.document.querySelector(y),T.info("*** Found location element:",{locationElement:Q,locationElementSelector:y}),Q&&!su(J,Q))throw new Error("*** Not similar to the recorded element.");tc(h,{locationElement:Q,locationElementSelector:y})}return{locationElement:Q,locationElementSelector:y}},Hd=function(h,B){let Q=window.document.createElement("div");Q.dataset[Ed]=B;let y={top:-window.scrollY,left:-window.scrollX},b=h;for(;b&&b!==window.document.body;)y.top+=b.offsetTop,y.left+=b.offsetLeft,b=b.offsetParent;let U=` +`;function zl(){let h=document.createElement("div");h.className="strigo-loader",h.innerHTML=td,document.body.appendChild(h)}function Zl(){let h=document.querySelector(".strigo-loader");return new Promise(B=>{let Q=setInterval(()=>{h.style.opacity||(h.style.opacity="1");let y=parseFloat(h.style.opacity);y>0?h.style.opacity=(y-.1).toString():(h.style.pointerEvents="none",clearInterval(Q),B())},200)})}var oc=So($l(),1);var fu=So($a(),1);var is=So(ou(),1);function Cd(h,B){if(h.length===0&&B.length===0)return 1;let Q=h.filter(U=>B.includes(U)),y=h.length+B.length-Q.length;if(y===0)return 0;let b=Q.length/y;return T.info("*** Style similarity ratio:",{similarityRatio:b}),b}function Ud(h,B){let Q=Array.from(B.childNodes).map(({nodeName:U})=>U.toLowerCase()),y=h.internalStructure?.map(({nodeName:U})=>U.toLowerCase()),b=is.default.compareTwoStrings(Q.join(""),y.join(""));return T.info("*** Internal structure similarity ratio:",{internalStructureSimilarity:b}),b}function yd(h,B){let Q=Array.from(B.childNodes).reduce((b,U)=>(U.nodeType===3&&b.push(U.nodeValue),b),[]).join(""),y=is.default.compareTwoStrings(h.directInnerText,Q);return T.info("*** Text similarity ratio: ",{textSimilarity:y}),y}function Fd(h,B){if(h.tagName!==B.tagName.toLocaleLowerCase())return T.info("*** Mismatching element type. Similarity rating is 0.",{recordedElementTagName:h.tagName,capturedElementTagName:B.tagName.toLocaleLowerCase()}),0;let Q=h.classes,y=Array.from(B.classList),b=Cd(Q,y),U=Ud(h,B),K=yd(h,B),J=(b+U+K)/3;return T.info("*** Avg. similarity rating: ",{avgSimilarityRating:J}),J}function su(h,B){return T.info("*** elementInfo",{recordedElementInfo:h}),!(Fd(h,B)fA!==""),J=U.pathname.split("/").filter(fA=>fA!=="");if(K.length!==J.length)return!1;let AA=K.filter(fA=>J.includes(fA)),UA=K.filter(fA=>!J.includes(fA)),Y=J.filter(fA=>!K.includes(fA)),LA=K.length,bA=AA.length/LA,BA=is.default.compareTwoStrings(UA.join(""),Y.join(""));if(AA.length===0)return BA>.1;let ce=bA+(1-bA)*BA;return T.info("*** Url path similarity rating:",{pathSimilarityRating:ce}),ce>=oe()?.assessmentThresholds?.urlPathSimilarityThreshold}var Ed="strigoLocationId",cu="strigo-location-id",Ac={subtree:!0,childList:!0},lu={subtree:!0,characterData:!0,childList:!0},Ct={},kn={},Ro,gu;function tc(h,B){kn[h]={...kn[h],...B}}function du(h,B){let Q=window.sessionStorage.getItem(h),b={...Q?JSON.parse(Q):{},...B};window.sessionStorage.setItem(h,JSON.stringify(b))}function bd(h,B){let Q=h.recordedAssessment?.exampleElement?.profile;if(Q){T.info("*** No example element profile. Aborting count...");return}let{nodeTree:y,recordedElementInfo:b}=Q,U;try{U=Do(y,{allowDuplicates:!0})}catch{T.info("*** Failed to retrieve a selector for the example element");return}let{_id:K}=h,J=document.querySelectorAll(U)||[];T.info("*** Example elements found:",{exampleElements:J});let AA=Array.from(J).filter(BA=>B.contains(BA));T.info("*** Example elements that are inside the location element:",{exampleElementsInsideTheLocationElement:AA});let UA=AA?.length||0,Y=window.sessionStorage.getItem(K),bA=(Y?JSON.parse(Y):{})?.[document.location.href];return T.info("*** evaluating example element count",{currentExampleElementCount:UA,previousExampleElementCount:bA,exampleElementSelector:U,documentText:document.body.innerText.slice(0,10)}),bA||(T.info("*** Persisting example element count to local storage",{currentExampleElementCount:UA}),du(K,{[document.location.href]:UA})),UA}var ec=async(h,B={})=>{let{_id:Q,challengeSuccessEvent:y}=h;T.info("*** Successfully detected assessment criteria!",{assessmentId:Q,challengeSuccessEvent:y,...h,window,...B}),tc(Q,{status:"SUCCESS"}),T.info(`sent event ${y}`),await window.Strigo.sendEvent(y)};function Id(h){if(T.info("*** Got an item count mutation in the location element!"),Ro!==document.location.href){T.info("*** Aborting element count due to race condition");return}let{challengeSuccessEvent:B,_id:Q}=this.assessment;if(kn[Q]?.status==="SUCCESS"){T.info("*** Assessment already completed successfully.");return}let y;try{y=bd(this.assessment,this.locationElement)}catch{return}let b=window.sessionStorage.getItem(Q),K=(b?JSON.parse(b):{})?.[document.location.href];K&&y>parseInt(K)&&(T.info("*** Yo! we got a successfully added item!",{currentExampleElementCount:y,previousExampleElementCount:K}),du(Q,{[document.location.href]:y}),ec(this.assessment),Ct[Q].observer.disconnect(),delete Ct[Q])}var Sd=(h,B)=>{let Q,y,b=kn[h]?.locationElement,U=window.document.contains(b);if(b&&U)T.info("*** Got a cached location element...",{cachedLocationElement:b}),Q=b,y=kn[h]?.locationElementSelector;else{let{nodeTree:K,recordedElementInfo:J}=B;if(y=Do(K,{threshold:5e3}),!y)throw new Error("*** No location element selector was found fitting.");if(T.info("*** Retrieving location element by selector:",{locationElementSelector:y}),Q=window.document.querySelector(y),T.info("*** Found location element:",{locationElement:Q,locationElementSelector:y}),Q&&!su(J,Q))throw new Error("*** Not similar to the recorded element.");tc(h,{locationElement:Q,locationElementSelector:y})}return{locationElement:Q,locationElementSelector:y}},Hd=function(h,B){let Q=window.document.createElement("div");Q.dataset[Ed]=B;let y={top:-window.scrollY,left:-window.scrollX},b=h;for(;b&&b!==window.document.body;)y.top+=b.offsetTop,y.left+=b.offsetLeft,b=b.offsetParent;let U=` position: fixed; top: ${y.top-40}px; left: ${y.left}px; @@ -65,7 +65,7 @@ ${JSON.stringify(U)}`:"")}getDefaultContext(){let B=oe();if(!B)return{};let{user
Expected text: ${Q?.recordedAssessment?.expectedText}
Selector used: ${B}
- `,b.children[0].children[1].appendChild(K),T.info("*** Appending assessment debug context element.");let AA=window.document.querySelectorAll(`[data-${cu}="${B}"]`)?.[0];AA?AA.appendChild(b):Hd(h,B).appendChild(b)},uu=function(){T.info("*** Evaluating Assessments...",{bodyTextDuringAssessment:window.document.body.innerText.slice(0,50)}),gu.filter(({recordedAssessment:B})=>{let Q=B?.locationElement?.profile?.recordedElementInfo?.url||B?.url;if(!Q)return T.info("*** missing recorded element url. Aborting..."),!1;let y=window.location.href;return au(Q,y)}).forEach(B=>{let{recordedAssessment:Q,challengeSuccessEvent:y,_id:b}=B,{actionType:U,expectedText:K}=Q;if(U==="notification"&&K){(window.document.body.innerText?.toLowerCase()).indexOf(K.toLowerCase())&&(T.info("*** Found notification text. Sending success event..."),window.Strigo.sendEvent(y));return}let J=Q?.locationElement?.profile;if(!J){T.info("*** missing location element profile. Aborting...");return}if(kn?.[b]?.status==="SUCCESS"){T.info('*** Assessment already in "success" status. Aborting...');return}tc(b,{status:"pending"});let AA;try{AA=Sd(b,J)}catch{T.info("*** Failed to find location element. Aborting assessment evaluation...");return}let UA=oe()?.isAcademyAssessmentDebug,{locationElement:Y,locationElementSelector:LA}=AA;switch(UA&&xd(Y,LA,B),U){case"added-item":{let SA=Id.bind({assessment:B,locationElement:Y,window});if(Ct[b]?.observer&&Y===Ct[b].element){Ct[b].element=Y;try{SA([]),Ct[b].observer.observe(Y,Ac),T.info("Same reference - no need to observe again"),T.info(" *** Same reference - no need to observe again",{locationElement:Y})}catch(BA){T.error("*** Got an error in item count",{err:BA});break}break}if(Ct[b]?.observer){try{SA([]),Ct[b].observer.observe(Y,Ac),T.info("DOM Reference have changed - observing again"),T.info(" *** DOM Reference have changed - observing again",{locationElement:Y})}catch(BA){T.error("*** Got an error in item count",{err:BA});break}break}Ct[b]={element:Y,observer:new MutationObserver(SA)};try{SA([]),Ct[b].observer.observe(Y,Ac)}catch(BA){T.info("*** Got an error in item count",BA);break}break}case"text-change":{if(T.info("*** Assessing text changes in location element...",{locationElement:Y,locationElementType:Y instanceof HTMLInputElement?"input":"non-input",innerTextValue:Y instanceof HTMLInputElement?Y?.value:Y?.innerText,expectedText:K}),Y instanceof HTMLInputElement&&Y?.value?.includes(K)){ec(B,{locationElement:Y});break}if(Y?.innerText?.includes(K)){ec(B,{locationElement:Y});break}break}default:break}})},Td=function(h){let B=h.some(y=>y.addedNodes?.length>0),Q=h.some(y=>y.type=="characterData");if(T.info("#####",{isAddedNodes:B,isCharacterDataChanged:Q}),!B&&!Q){T.info("*** No added nodes and no character data change were detected after url change.",{previousLocation:Ro||"",newLocation:document.location.href});return}Ro===document.location.href?T.info("*** No URL change and no nodes were added."):(T.info("*** Detected URL change!",{previousLocation:Ro||"",newLocation:document.location.href}),Ro=document.location.href),rc(window)},rc=(0,fu.default)(h=>{if(T.info("*** Initializing document observer"),gu=Ga().assessments.filter(({assessmentType:B})=>B==="recorded-flow"),!window?.strigoObserver?.observer){T.info("*** Adding Strigo observer to document body"),window.strigoObserver={observer:new MutationObserver(Td),observedBodyElement:window.document.body},uu(),T.info("*** Starting to observe document body"),window?.strigoObserver?.observer?.observe(window.document,lu);return}uu(),window.document.contains(window.strigoObserver.observedBodyElement)||(T.info('*** Detected a "body" element change. Re-initializing the document observer...'),window.strigoObserver.observedBodyElement=window.document.body,window.strigoObserver.observer.observe(window.document,lu))},500);var hu=So($a(),1);var Bu={subtree:!0,childList:!0},ss;function wu(h){try{window["localStorage"].setItem("strigoUrlTriggers",JSON.stringify(h))}catch(B){return T.error("Url triggers setup error",{error:B}),null}}function Od(){try{let h=window["localStorage"].getItem("strigoUrlTriggers");if(h)return JSON.parse(h)}catch(h){return T.error("Get url triggers error",{error:h}),null}}function pu(h){let B=document.getElementById("strigo-exercises"),Q=h.document.location.href,y=Od();if(!y)return;let b=Zr("urlTriggeredCourses")||[];for(let U of y){let{publishmentId:K,urlTriggerMatchType:J,urlTriggerUrl:AA}=U;if(T.info("Detect URL trigger invoked",{publishmentId:K,urlTriggeredCourses:b}),!K){T.info("URL trigger detected without course id");continue}if(b.includes(K)){T.info("Detected URL trigger for a course that was already opened, doing nothing");continue}switch(J){case"exact":{AA.trim()===Q.trim()&&B.contentWindow.postMessage({selectedCourseId:K},"*");break}case"starts_with":{Q.trim().startsWith(AA.trim())&&B.contentWindow.postMessage({selectedCourseId:K},"*");break}default:break}}}var Dd=function(h){let B=h.some(Q=>Q.addedNodes?.length>0);if(T.info("#####",{isAddedNodes:B}),!B){T.info("*** No added nodes and no character data change were detected after url change.",{previousLocation:ss||"",newLocation:document.location.href});return}ss===document.location.href?T.info("*** No URL change and no nodes were added."):(T.info("*** Detected URL change!",{previousLocation:ss||"",newLocation:document.location.href}),ss=document.location.href),nc(window)},nc=(0,hu.default)(h=>{if(T.info("*** Initializing url trigger observer"),!h?.strigoUrlTriggerObserver?.observer){T.info("*** Adding Strigo url trigger observer to document body"),h.strigoUrlTriggerObserver={observer:new MutationObserver(Dd),observedBodyElement:h.document.body},pu(h),T.info("*** Starting to observe document body - url trigger observer"),h?.strigoUrlTriggerObserver?.observer?.observe(h.document,Bu);return}pu(h),h.document.contains(h.strigoUrlTriggerObserver.observedBodyElement)||(T.info('*** Detected a "body" element change. Re-initializing the document observer - url trigger observer...'),h.strigoUrlTriggerObserver.observedBodyElement=h.document.body,h.strigoUrlTriggerObserver.observer.observe(h.document,Bu))},500);var vu=342;function mu(){T.info("Posting dockable state to Strigo",{});let h=Pn("dockingSide");document.getElementById("strigo-exercises").contentWindow.postMessage({dockable:!0,dockingSide:h},"*")}function Md(){let[h]=ts();(0,oc.default)("#strigo-widget").resizable({edges:{left:"#strigo-collapse-div",right:"#strigo-collapse-div.align-left",bottom:!1,top:!1},listeners:{move(B){let Q=B.target;Q.style.width=`${B.rect.widthh?h:B.rect.width}px`},start(){let B=document.getElementById("strigo-exercises");B.style.pointerEvents="none"},end(){let B=document.getElementById("strigo-exercises");B.style.pointerEvents="auto"}},modifiers:[oc.default.modifiers.restrictEdges({outer:"parent"})]})}var Cu=class{init(){return T.info("overlay init called"),"OVERLAY"}setup({version:B}){T.info("overlay setup called"),wr({parentElement:hr(),url:pl(B)}),wr({parentElement:hr(),url:zi(B)});let Q=oe(),y=sessionStorage.getItem("strigoPreviewUserToken"),b=!!y,U=Nl(ji({...Q,user:{token:{token:y||Q.user.token.token,expiration:Q.user.token.expiration}}},b)),K=Lo();this.initEventListeners(K,U),T.info("adding assessment document observer"),rc(K),nc(K),Gl(K),T.info("assessment document observer added"),Md()}shutdown(){T.info("overlay shutdown called");let B=Lo();this.removeEventListeners(B),B?.strigoObserver?.observer?.disconnect(),_l(B)}collapse(){T.info("overlay collapse called"),Pl()}open(){Gn(),mu()}move(){Rl()}initEventListeners(B,Q){cs(Q,mu),as(B)}removeEventListeners(B){Uu()}},_o=new Cu;function Fu(h){let B=h?.data;if(!!B){if(B.startsWith?.("url-triggered")){let Q=Zr("urlTriggeredCourses")||[],y=B.split("/")[1];if(T.info("URL trigger message received",{selectedCourseId:y,urlTriggeredCourses:Q}),!y){T.info("URL trigger message received without course id");return}if(Q.includes(y)){T.info("URL trigger message received for a course that was already opened, doing nothing");return}T.info("URL trigger message received for a new course, opening it"),Q.push(y),Yt("urlTriggeredCourses",Q),Nn()==="overlay"&&Gn();return}switch(h.data){case"move":{T.info("Panel move message received"),Nn()==="overlay"&&_o.move();break}case"close":{T.info("Shutdown message received - will collapse panel"),window.Strigo?.collapse();break}case"destroy":{T.info("Destroy message received"),window.Strigo?.destroy();break}case"challenge-success":{T.info("Challenge event success message received"),Nn()==="overlay"&&_o.open();break}case"rendered":{T.info("Panel rendered message received"),Yt("isRendered",!0),rs(),Jt()&&window.Strigo?.expandPanel();break}default:break}}}function as(h){h.addEventListener("message",Fu,!1)}function Uu(){window.removeEventListener("message",Fu)}function cs(h,B){h.addEventListener("load",async()=>{Zr("isLoading")&&(B&&await B(),Yt("isLoading",!1))})}function Eu(h){let B=Pn("initSite")?.host;h.addEventListener("load",function(){try{this.contentWindow.location.host!==B&&window.Strigo.shutdown()}catch(Q){T.error(Q),window.Strigo.shutdown()}})}function bu(){return ja(["#strigo-exercises","#original-site"],{sizes:[25,75],maxSize:ts(),minSize:Kl(),gutterSize:2})}async function _d(){await Zl(),document.getElementById("strigo-exercises").contentWindow.postMessage({dockable:!1},"*")}var Iu=class{init(){let B;return fl()?(T.info("Child SDK window"),B="CHILD",window.dispatchEvent(new Event("strigo-opened")),gl()):(T.info("Parent SDK window"),B="PARENT"),B}setup({version:B}){T.info("iframe setup started"),Tl(),wr({parentElement:hr(),url:Bl(B)}),wr({parentElement:hr(),url:zi(B)}),zl();let Q=oe(),y=Ll(),b=Oo({parentElement:y,url:ji(Q,!1),classNames:rl,id:"strigo-exercises"}),U=Oo({parentElement:y,url:ul(Q.initSite.href),classNames:nl,id:"original-site"}),K=document.createElement("div");K.className="strigo-academy-hat align-left",K.id="strigo-academy-hat",K.onclick=()=>{document.getElementById("strigo-academy-hat").classList.toggle("slide-in"),this.splitInstance=bu()};let J=document.createElement("div");J.className="strigo-academy-hat-icon",J.id="strigo-academy-hat-icon",J.innerHTML=Ji,K.appendChild(J),y.appendChild(K),this.splitInstance=bu();let AA=Lo();this.initEventListeners(AA,b,U)}collapse(){this.splitInstance&&(this.splitInstance.destroy(),this.splitInstance=ja(["#strigo-exercises","#original-site"],{sizes:[25,75],minSize:0,gutterSize:0}),this.splitInstance.collapse(0),document.getElementById("strigo-academy-hat").classList.toggle("slide-in"))}open(){}shutdown(){T.info("iframe shutdown called"),Ol()}initEventListeners(B,Q,y){cs(Q,_d),Eu(y),as(y.contentWindow)}},Su=new Iu;function Hu(h){return h&&h==="dynamic"?Ml()?"iframe":"overlay":h}function Vn(h){let B=null;switch(h){case"iframe":{B=Su;break}case"overlay":{B=_o;break}default:throw T.error("Widget flavor is not supported",{widgetFlavor:h}),new Error(`Widget flavor ${h} is not supported`)}return B}var xu=class{constructor(){this.config={}}isDevelopment(){return!1}init(B){try{if(T.info("Initializing SDK..."),this.config.initialized){T.info("SDK was already initialized");return}Il();let{webApiKey:Q,subDomain:y,selectedWidgetFlavor:b}=dl();if(!Q||!y||!b)throw new Error("Init data is missing");let U=Hu(b);ml({webApiKey:Q,subDomain:y,selectedWidgetFlavor:U});let K=Vn(U);if(this.config.sdkType=K.init(),this.config.initialized=!0,T.info("Initialized SDK."),this.config.sdkType!=="CHILD"&&Jt()){let J=Na(),AA=sessionStorage.getItem("strigoPreviewUserToken");this.setup({token:J,isPreview:!!AA})}}catch(Q){T.error("Could not initialize SDK",{err:Q})}}async setup(B){try{T.info("Starting to setup SDK...");let Q=document.getElementById("strigo-widget");if(this.config.isOpen&&Q||this.config.sdkType==="CHILD"){T.info('panel is already opened. Aborting "setup" action...');return}if(!this.config.initialized)throw new Error("SDK was not initialized");let b=oe(),{token:U,version:K,openWidget:J=!0,dockingSide:AA="right",isPreview:UA}={...b?.user,...b,...B};if(!U)throw new Error("Setup data is missing");let Y=await yl(U);if(!Y?.allowedAcademyDomains?.includes(window.location.host.replace(/^www\./i,""))){T.warn("Running on an unrelated domain. Aborting...",{allowedDomains:Y?.allowedAcademyDomains,currentHost:window.location.host});return}if(Y){let{loggingConfig:LA,userAssessments:SA}=Y;T.debug("Configuration fetched from Strigo"),T.setup(LA),Sl(SA),Y.academyColors&&kl(Y.academyColors),Y.urlTriggers&&wu(Y.urlTriggers)}if(UA||Ql({user:{token:U},initSite:ll(),version:K,loggingConfig:Y?.loggingConfig,assessmentThresholds:Y?.assessmentThresholds,isAcademyAssessmentDebug:Y?.isAcademyAssessmentDebug,dockingSide:AA}),this.config.configured=!0,T.info("Finished SDK setup."),J){let LA=Jt();this.open(),this.collapse(),Yt("shouldPanelBeOpen",LA)}}catch(Q){T.error("Could not setup SDK",{err:Q})}}open(){try{if(T.info("Opening academy panel..."),!this.config.configured)throw new Error("SDK was not set up");let B=document.getElementById("strigo-widget");if(this.config.isOpen&&B||this.config.sdkType==="CHILD"){T.info('Panel is already opened. Aborting "open" action...');return}let y=oe();El({currentUrl:y.initSite.href,shouldPanelBeOpen:Jt(),isLoading:!0,isRendered:!1,widgetFlavor:y.selectedWidgetFlavor}),Vn(y.selectedWidgetFlavor).setup({version:y.version}),this.config.isOpen=!0,T.info("Opened academy panel.")}catch(B){T.error("Could not open academy panel",{err:B})}}expandPanel(){T.info("Expanding academy panel");let B=oe();Vn(B.selectedWidgetFlavor).open(),Zr("isRendered")&&rs()}collapse(){T.info("Collapsing academy panel");let{selectedWidgetFlavor:B}=oe();Vn(B).collapse()}shutdown(){try{if(T.info("Closing academy panel..."),this.config.sdkType==="CHILD"){window.parent.postMessage(JSON.stringify({messageType:"close"}),"*"),T.info("Notified parent frame to close academy panel.");return}if(!this.config.isOpen){T.info("Tried to close unopened academy panel");return}let B=Vn(Nn());bl(),B.collapse(),B.shutdown(),this.config.isOpen=!1,T.info("Closed academy panel.")}catch(B){T.error("Could not close academy panel",{err:B})}}destroy(){try{if(T.info("Destroying SDK..."),this.config.sdkType==="CHILD"){window.parent.postMessage(JSON.stringify({messageType:"destroy"}),"*"),T.info("Notified parent frame to destroy SDK.");return}Ul(),Hl(),this.shutdown(),this.config={},T.info("Destroyed SDK.")}catch(B){T.error("Could not destroy SDK",{err:B})}}async sendEvent(B){let Q=Na();await Fl(Q,B),T.debug("sendEvent called",{eventName:B})}startElementSelector(B,Q,y){T.debug("startElementSelector called");let b=y?window.document.querySelector(y):window.document.body,{startElementSelector:U,stopElementSelection:K}=Xl(window.document,{onElementProfileCreated:B,onElementSelectionCancel:Q,zIndex:2147483645,rootElement:b});this.stopElementSelector=K,U()}stopElementSelector(){}assessmentRecorder(){Jl()}},Tu=new xu;window.Strigo=Tu;window.chrome&&chrome.runtime&&chrome.runtime.id||window.Strigo.init({isExtension:!1});})(); + `,b.children[0].children[1].appendChild(K),T.info("*** Appending assessment debug context element.");let AA=window.document.querySelectorAll(`[data-${cu}="${B}"]`)?.[0];AA?AA.appendChild(b):Hd(h,B).appendChild(b)},uu=function(){T.info("*** Evaluating Assessments...",{bodyTextDuringAssessment:window.document.body.innerText.slice(0,50)}),gu.filter(({recordedAssessment:B})=>{let Q=B?.locationElement?.profile?.recordedElementInfo?.url||B?.url;if(!Q)return T.info("*** missing recorded element url. Aborting..."),!1;let y=window.location.href;return au(Q,y)}).forEach(B=>{let{recordedAssessment:Q,challengeSuccessEvent:y,_id:b}=B,{actionType:U,expectedText:K}=Q;if(U==="notification"&&K){let bA=window.document.body.innerText?.toLowerCase();bA.length>100&&bA.indexOf(K.toLowerCase())!==-1&&(T.info("*** Found notification text. Sending success event..."),window.Strigo.sendEvent(y));return}let J=Q?.locationElement?.profile;if(!J){T.info("*** missing location element profile. Aborting...");return}if(kn?.[b]?.status==="SUCCESS"){T.info('*** Assessment already in "success" status. Aborting...');return}tc(b,{status:"pending"});let AA;try{AA=Sd(b,J)}catch{T.info("*** Failed to find location element. Aborting assessment evaluation...");return}let UA=oe()?.isAcademyAssessmentDebug,{locationElement:Y,locationElementSelector:LA}=AA;switch(UA&&xd(Y,LA,B),U){case"added-item":{let bA=Id.bind({assessment:B,locationElement:Y,window});if(Ct[b]?.observer&&Y===Ct[b].element){Ct[b].element=Y;try{bA([]),Ct[b].observer.observe(Y,Ac),T.info("Same reference - no need to observe again"),T.info(" *** Same reference - no need to observe again",{locationElement:Y})}catch(BA){T.error("*** Got an error in item count",{err:BA});break}break}if(Ct[b]?.observer){try{bA([]),Ct[b].observer.observe(Y,Ac),T.info("DOM Reference have changed - observing again"),T.info(" *** DOM Reference have changed - observing again",{locationElement:Y})}catch(BA){T.error("*** Got an error in item count",{err:BA});break}break}Ct[b]={element:Y,observer:new MutationObserver(bA)};try{bA([]),Ct[b].observer.observe(Y,Ac)}catch(BA){T.info("*** Got an error in item count",BA);break}break}case"text-change":{if(T.info("*** Assessing text changes in location element...",{locationElement:Y,locationElementType:Y instanceof HTMLInputElement?"input":"non-input",innerTextValue:Y instanceof HTMLInputElement?Y?.value:Y?.innerText,expectedText:K}),Y instanceof HTMLInputElement&&Y?.value?.includes(K)){ec(B,{locationElement:Y});break}if(Y?.innerText?.includes(K)){ec(B,{locationElement:Y});break}break}default:break}})},Td=function(h){let B=h.some(y=>y.addedNodes?.length>0),Q=h.some(y=>y.type=="characterData");if(T.info("#####",{isAddedNodes:B,isCharacterDataChanged:Q}),!B&&!Q){T.info("*** No added nodes and no character data change were detected after url change.",{previousLocation:Ro||"",newLocation:document.location.href});return}Ro===document.location.href?T.info("*** No URL change and no nodes were added."):(T.info("*** Detected URL change!",{previousLocation:Ro||"",newLocation:document.location.href}),Ro=document.location.href),rc(window)},rc=(0,fu.default)(h=>{if(T.info("*** Initializing document observer"),gu=Ga().assessments.filter(({assessmentType:B})=>B==="recorded-flow"),!window?.strigoObserver?.observer){T.info("*** Adding Strigo observer to document body"),window.strigoObserver={observer:new MutationObserver(Td),observedBodyElement:window.document.body},uu(),T.info("*** Starting to observe document body"),window?.strigoObserver?.observer?.observe(window.document,lu);return}uu(),window.document.contains(window.strigoObserver.observedBodyElement)||(T.info('*** Detected a "body" element change. Re-initializing the document observer...'),window.strigoObserver.observedBodyElement=window.document.body,window.strigoObserver.observer.observe(window.document,lu))},500);var hu=So($a(),1);var Bu={subtree:!0,childList:!0},ss;function wu(h){try{window["localStorage"].setItem("strigoUrlTriggers",JSON.stringify(h))}catch(B){return T.error("Url triggers setup error",{error:B}),null}}function Od(){try{let h=window["localStorage"].getItem("strigoUrlTriggers");if(h)return JSON.parse(h)}catch(h){return T.error("Get url triggers error",{error:h}),null}}function pu(h){let B=document.getElementById("strigo-exercises"),Q=h.document.location.href,y=Od();if(!y)return;let b=Zr("urlTriggeredCourses")||[];for(let U of y){let{publishmentId:K,urlTriggerMatchType:J,urlTriggerUrl:AA}=U;if(T.info("Detect URL trigger invoked",{publishmentId:K,urlTriggeredCourses:b}),!K){T.info("URL trigger detected without course id");continue}if(b.includes(K)){T.info("Detected URL trigger for a course that was already opened, doing nothing");continue}switch(J){case"exact":{AA.trim()===Q.trim()&&B.contentWindow.postMessage({selectedCourseId:K},"*");break}case"starts_with":{Q.trim().startsWith(AA.trim())&&B.contentWindow.postMessage({selectedCourseId:K},"*");break}default:break}}}var Dd=function(h){let B=h.some(Q=>Q.addedNodes?.length>0);if(T.info("#####",{isAddedNodes:B}),!B){T.info("*** No added nodes and no character data change were detected after url change.",{previousLocation:ss||"",newLocation:document.location.href});return}ss===document.location.href?T.info("*** No URL change and no nodes were added."):(T.info("*** Detected URL change!",{previousLocation:ss||"",newLocation:document.location.href}),ss=document.location.href),nc(window)},nc=(0,hu.default)(h=>{if(T.info("*** Initializing url trigger observer"),!h?.strigoUrlTriggerObserver?.observer){T.info("*** Adding Strigo url trigger observer to document body"),h.strigoUrlTriggerObserver={observer:new MutationObserver(Dd),observedBodyElement:h.document.body},pu(h),T.info("*** Starting to observe document body - url trigger observer"),h?.strigoUrlTriggerObserver?.observer?.observe(h.document,Bu);return}pu(h),h.document.contains(h.strigoUrlTriggerObserver.observedBodyElement)||(T.info('*** Detected a "body" element change. Re-initializing the document observer - url trigger observer...'),h.strigoUrlTriggerObserver.observedBodyElement=h.document.body,h.strigoUrlTriggerObserver.observer.observe(h.document,Bu))},500);var vu=342;function mu(){T.info("Posting dockable state to Strigo",{});let h=Pn("dockingSide");document.getElementById("strigo-exercises").contentWindow.postMessage({dockable:!0,dockingSide:h},"*")}function Md(){let[h]=ts();(0,oc.default)("#strigo-widget").resizable({edges:{left:"#strigo-collapse-div",right:"#strigo-collapse-div.align-left",bottom:!1,top:!1},listeners:{move(B){let Q=B.target;Q.style.width=`${B.rect.widthh?h:B.rect.width}px`},start(){let B=document.getElementById("strigo-exercises");B.style.pointerEvents="none"},end(){let B=document.getElementById("strigo-exercises");B.style.pointerEvents="auto"}},modifiers:[oc.default.modifiers.restrictEdges({outer:"parent"})]})}var Cu=class{init(){return T.info("overlay init called"),"OVERLAY"}setup({version:B}){T.info("overlay setup called"),wr({parentElement:hr(),url:pl(B)}),wr({parentElement:hr(),url:zi(B)});let Q=oe(),y=sessionStorage.getItem("strigoPreviewUserToken"),b=!!y,U=Nl(ji({...Q,user:{token:{token:y||Q.user.token.token,expiration:Q.user.token.expiration}}},b)),K=Lo();this.initEventListeners(K,U),T.info("adding assessment document observer"),rc(K),nc(K),Gl(K),T.info("assessment document observer added"),Md()}shutdown(){T.info("overlay shutdown called");let B=Lo();this.removeEventListeners(B),B?.strigoObserver?.observer?.disconnect(),_l(B)}collapse(){T.info("overlay collapse called"),Pl()}open(){Gn(),mu()}move(){Rl()}initEventListeners(B,Q){cs(Q,mu),as(B)}removeEventListeners(B){Uu()}},_o=new Cu;function Fu(h){let B=h?.data;if(!!B){if(B.startsWith?.("url-triggered")){let Q=Zr("urlTriggeredCourses")||[],y=B.split("/")[1];if(T.info("URL trigger message received",{selectedCourseId:y,urlTriggeredCourses:Q}),!y){T.info("URL trigger message received without course id");return}if(Q.includes(y)){T.info("URL trigger message received for a course that was already opened, doing nothing");return}T.info("URL trigger message received for a new course, opening it"),Q.push(y),Yt("urlTriggeredCourses",Q),Nn()==="overlay"&&Gn();return}switch(h.data){case"move":{T.info("Panel move message received"),Nn()==="overlay"&&_o.move();break}case"close":{T.info("Shutdown message received - will collapse panel"),window.Strigo?.collapse();break}case"destroy":{T.info("Destroy message received"),window.Strigo?.destroy();break}case"challenge-success":{T.info("Challenge event success message received"),Nn()==="overlay"&&_o.open();break}case"rendered":{T.info("Panel rendered message received"),Yt("isRendered",!0),rs(),Jt()&&window.Strigo?.expandPanel();break}default:break}}}function as(h){h.addEventListener("message",Fu,!1)}function Uu(){window.removeEventListener("message",Fu)}function cs(h,B){h.addEventListener("load",async()=>{Zr("isLoading")&&(B&&await B(),Yt("isLoading",!1))})}function Eu(h){let B=Pn("initSite")?.host;h.addEventListener("load",function(){try{this.contentWindow.location.host!==B&&window.Strigo.shutdown()}catch(Q){T.error(Q),window.Strigo.shutdown()}})}function bu(){return ja(["#strigo-exercises","#original-site"],{sizes:[25,75],maxSize:ts(),minSize:Kl(),gutterSize:2})}async function _d(){await Zl(),document.getElementById("strigo-exercises").contentWindow.postMessage({dockable:!1},"*")}var Iu=class{init(){let B;return fl()?(T.info("Child SDK window"),B="CHILD",window.dispatchEvent(new Event("strigo-opened")),gl()):(T.info("Parent SDK window"),B="PARENT"),B}setup({version:B}){T.info("iframe setup started"),Tl(),wr({parentElement:hr(),url:Bl(B)}),wr({parentElement:hr(),url:zi(B)}),zl();let Q=oe(),y=Ll(),b=Oo({parentElement:y,url:ji(Q,!1),classNames:rl,id:"strigo-exercises"}),U=Oo({parentElement:y,url:ul(Q.initSite.href),classNames:nl,id:"original-site"}),K=document.createElement("div");K.className="strigo-academy-hat align-left",K.id="strigo-academy-hat",K.onclick=()=>{document.getElementById("strigo-academy-hat").classList.toggle("slide-in"),this.splitInstance=bu()};let J=document.createElement("div");J.className="strigo-academy-hat-icon",J.id="strigo-academy-hat-icon",J.innerHTML=Ji,K.appendChild(J),y.appendChild(K),this.splitInstance=bu();let AA=Lo();this.initEventListeners(AA,b,U)}collapse(){this.splitInstance&&(this.splitInstance.destroy(),this.splitInstance=ja(["#strigo-exercises","#original-site"],{sizes:[25,75],minSize:0,gutterSize:0}),this.splitInstance.collapse(0),document.getElementById("strigo-academy-hat").classList.toggle("slide-in"))}open(){}shutdown(){T.info("iframe shutdown called"),Ol()}initEventListeners(B,Q,y){cs(Q,_d),Eu(y),as(y.contentWindow)}},Su=new Iu;function Hu(h){return h&&h==="dynamic"?Ml()?"iframe":"overlay":h}function Vn(h){let B=null;switch(h){case"iframe":{B=Su;break}case"overlay":{B=_o;break}default:throw T.error("Widget flavor is not supported",{widgetFlavor:h}),new Error(`Widget flavor ${h} is not supported`)}return B}var xu=class{constructor(){this.config={}}isDevelopment(){return!1}init(B){try{if(T.info("Initializing SDK..."),this.config.initialized){T.info("SDK was already initialized");return}Il();let{webApiKey:Q,subDomain:y,selectedWidgetFlavor:b}=dl();if(!Q||!y||!b)throw new Error("Init data is missing");let U=Hu(b);ml({webApiKey:Q,subDomain:y,selectedWidgetFlavor:U});let K=Vn(U);if(this.config.sdkType=K.init(),this.config.initialized=!0,T.info("Initialized SDK."),this.config.sdkType!=="CHILD"&&Jt()){let J=Na(),AA=sessionStorage.getItem("strigoPreviewUserToken");this.setup({token:J,isPreview:!!AA})}}catch(Q){T.error("Could not initialize SDK",{err:Q})}}async setup(B){try{T.info("Starting to setup SDK...");let Q=document.getElementById("strigo-widget");if(this.config.isOpen&&Q||this.config.sdkType==="CHILD"){T.info('panel is already opened. Aborting "setup" action...');return}if(!this.config.initialized)throw new Error("SDK was not initialized");let b=oe(),{token:U,version:K,openWidget:J=!0,dockingSide:AA="right",isPreview:UA}={...b?.user,...b,...B};if(!U)throw new Error("Setup data is missing");let Y=await yl(U);if(!Y?.allowedAcademyDomains?.includes(window.location.host.replace(/^www\./i,""))){T.warn("Running on an unrelated domain. Aborting...",{allowedDomains:Y?.allowedAcademyDomains,currentHost:window.location.host});return}if(Y){let{loggingConfig:LA,userAssessments:bA}=Y;T.debug("Configuration fetched from Strigo"),T.setup(LA),Sl(bA),Y.academyColors&&kl(Y.academyColors),Y.urlTriggers&&wu(Y.urlTriggers)}if(UA||Ql({user:{token:U},initSite:ll(),version:K,loggingConfig:Y?.loggingConfig,assessmentThresholds:Y?.assessmentThresholds,isAcademyAssessmentDebug:Y?.isAcademyAssessmentDebug,dockingSide:AA}),this.config.configured=!0,T.info("Finished SDK setup."),J){let LA=Jt();this.open(),this.collapse(),Yt("shouldPanelBeOpen",LA)}}catch(Q){T.error("Could not setup SDK",{err:Q})}}open(){try{if(T.info("Opening academy panel..."),!this.config.configured)throw new Error("SDK was not set up");let B=document.getElementById("strigo-widget");if(this.config.isOpen&&B||this.config.sdkType==="CHILD"){T.info('Panel is already opened. Aborting "open" action...');return}let y=oe();El({currentUrl:y.initSite.href,shouldPanelBeOpen:Jt(),isLoading:!0,isRendered:!1,widgetFlavor:y.selectedWidgetFlavor}),Vn(y.selectedWidgetFlavor).setup({version:y.version}),this.config.isOpen=!0,T.info("Opened academy panel.")}catch(B){T.error("Could not open academy panel",{err:B})}}expandPanel(){T.info("Expanding academy panel");let B=oe();Vn(B.selectedWidgetFlavor).open(),Zr("isRendered")&&rs()}collapse(){T.info("Collapsing academy panel");let{selectedWidgetFlavor:B}=oe();Vn(B).collapse()}shutdown(){try{if(T.info("Closing academy panel..."),this.config.sdkType==="CHILD"){window.parent.postMessage(JSON.stringify({messageType:"close"}),"*"),T.info("Notified parent frame to close academy panel.");return}if(!this.config.isOpen){T.info("Tried to close unopened academy panel");return}let B=Vn(Nn());bl(),B.collapse(),B.shutdown(),this.config.isOpen=!1,T.info("Closed academy panel.")}catch(B){T.error("Could not close academy panel",{err:B})}}destroy(){try{if(T.info("Destroying SDK..."),this.config.sdkType==="CHILD"){window.parent.postMessage(JSON.stringify({messageType:"destroy"}),"*"),T.info("Notified parent frame to destroy SDK.");return}Ul(),Hl(),this.shutdown(),this.config={},T.info("Destroyed SDK.")}catch(B){T.error("Could not destroy SDK",{err:B})}}async sendEvent(B){let Q=Na();await Fl(Q,B),T.debug("sendEvent called",{eventName:B})}startElementSelector(B,Q,y){T.debug("startElementSelector called");let b=y?window.document.querySelector(y):window.document.body,{startElementSelector:U,stopElementSelection:K}=Xl(window.document,{onElementProfileCreated:B,onElementSelectionCancel:Q,zIndex:2147483645,rootElement:b});this.stopElementSelector=K,U()}stopElementSelector(){}assessmentRecorder(){Jl()}},Tu=new xu;window.Strigo=Tu;window.chrome&&chrome.runtime&&chrome.runtime.id||window.Strigo.init({isExtension:!1});})(); /*! * html2canvas 1.4.1 * Copyright (c) 2022 Niklas von Hertzen diff --git a/src/modules/no-code-assessment/no-code-assessment.ts b/src/modules/no-code-assessment/no-code-assessment.ts index 13d3f01..7607fdb 100644 --- a/src/modules/no-code-assessment/no-code-assessment.ts +++ b/src/modules/no-code-assessment/no-code-assessment.ts @@ -338,9 +338,9 @@ const evaluateAssessments = function (): void { const { actionType, expectedText } = recordedAssessment; if (actionType === AssessmentActionType.NOTIFICATION && expectedText) { - const notificationText = window.document.body.innerText?.toLowerCase(); + const bodyText = window.document.body.innerText?.toLowerCase(); - if (notificationText.indexOf(expectedText.toLowerCase())) { + if (bodyText.length > 100 && bodyText.indexOf(expectedText.toLowerCase()) !== -1) { Logger.info('*** Found notification text. Sending success event...'); window.Strigo.sendEvent(challengeSuccessEvent);