vendor: 5,075 bytes, line 1
1var _g=Object.defineProperty;var mg=(e,t,r)=>t in e?_g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ct=(e,t,r)=>(mg(e,typeof t!="symbol"?t+"":t,r),r);import{c as lt,g as $u,a as Sd}from"./lodash.ac68a88b.js";var Td=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(i,a){return i[0]===r?(n=a,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(r,n){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,i=e(n,r);~i&&n.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var i=0,a=this.__entries__;i<a.length;i++){var s=a[i];r.call(n,s[1],s[0])}},t}()}(),U0=typeof window<"u"&&typeof document<"u"&&window.document===document,Ua=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),yg=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Ua):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),bg=2;function wg(e,t){var r=!1,n=!1,i=0;function a(){r&&(r=!1,e()),n&&o()}function s(){yg(a)}function o(){var u=Date.now();if(r){if(u-i<bg)return;n=!0}else r=!0,n=!1,setTimeout(s,t);i=u}return o}var Eg=20,Cg=["top","right","bottom","left","width","height","size","weight"],Ag=typeof MutationObserver<"u",Sg=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=wg(this.refresh.bind(this),Eg)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!U0||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ag?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!U0||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,i=Cg.some(function(a){return!!~n.indexOf(a)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Dd=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},Qn=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||Ua},kd=_s(0,0,0,0);function ja(e){return parseFloat(e)||0}function Wf(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,i){var a=e["border-"+i+"-width"];return n+ja(a)},0)}function Tg(e){for(var t=["top","right","bottom","left"],r={},n=0,i=t;n<i.length;n++){var a=i[n],s=e["padding-"+a];r[a]=ja(s)}return r}function Dg(e){var t=e.getBBox();return _s(0,0,t.width,t.height)}function kg(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return kd;var n=Qn(e).getComputedStyle(e),i=Tg(n),a=i.left+i.right,s=i.top+i.bottom,o=ja(n.width),u=ja(n.height);if(n.boxSizing==="border-box"&&(Math.round(o+a)!==t&&(o-=Wf(n,"left","right")+a),Math.round(u+s)!==r&&(u-=Wf(n,"top","bottom")+s)),!Fg(e)){var f=Math.round(o+a)-t,l=Math.round(u+s)-r;Math.abs(f)!==1&&(o-=f),Math.abs(l)!==1&&(u-=l)}return _s(i.left,i.top,o,u)}var Bg=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Qn(e).SVGGraphicsElement}:function(e){return e instanceof Qn(e).SVGElement&&typeof e.getBBox=="function"}}();function Fg(e){return e===Qn(e).document.documentElement}function Og(e){return U0?Bg(e)?Dg(e):kg(e):kd}
1function Rg(e){var t=e.x,r=e.y,n=e.width,i=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,s=Object.create(a.prototype);return Dd(s,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),s}function _s(e,t,r,n){return{x:e,y:t,width:r,height:n}}var Lg=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_s(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Og(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),Pg=function(){function e(t,r){var n=Rg(r);Dd(this,{target:t,contentRect:n})}return e}(),Mg=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new Td,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Qn(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Lg(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Qn(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;!r.has(t)||(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(!!this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new Pg(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Bd=typeof WeakMap<"u"?new WeakMap:new Td,Fd=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Sg.getInstance(),n=new Mg(t,r,this);Bd.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Fd.prototype[e]=function(){var t;return(t=Bd.get(this))[e].apply(t,arguments)}});var l3=function(){return typeof Ua.ResizeObserver<"u"?Ua.ResizeObserver:Fd}();function qf(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function Yf(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function Xs(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return Yf(r.overflowY,t)||Yf(r.overflowX,t)||function(n){var i=function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!i&&(i.clientHeight<n.scrollHeight||i.clientWidth<n.scrollWidth)}(e)}return!1}function ra(e,t,r,n,i,a,s,o){return a<e&&s>t||a>e&&s<t?0:a<=e&&o<=r||s>=t&&o>=r?a-e-n:s>t&&o<r||a<e&&o>r?s-t+i:0}var Gf=function(e,t){var r=window,n=t.scrollMode,i=t.block,a=t.inline,s=t.boundary,o=t.skipOverflowHiddenElements,u=typeof s=="function"?s:function(S){return S!==s};if(!qf(e))throw new TypeError("Invalid target");for(var f,l,c=document.scrollingElement||document.documentElement,h=[],d=e;qf(d)&&u(d);){if((d=(l=(f=d).parentElement)==null?f.getRootNode().host||null:l)===c){h.push(d);break}d!=null&&d===document.body&&Xs(d)&&!Xs(document.documentElement)||d!=null&&Xs(d,o)&&h.push(d)}
1for(var g=r.visualViewport?r.visualViewport.width:innerWidth,y=r.visualViewport?r.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,p=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),x=m.height,_=m.width,b=m.top,w=m.right,C=m.bottom,A=m.left,k=i==="start"||i==="nearest"?b:i==="end"?C:b+x/2,D=a==="center"?A+_/2:a==="end"?w:A,F=[],T=0;T<h.length;T++){var R=h[T],E=R.getBoundingClientRect(),z=E.height,W=E.width,q=E.top,G=E.right,Y=E.bottom,Z=E.left;if(n==="if-needed"&&b>=0&&A>=0&&C<=y&&w<=g&&b>=q&&C<=Y&&A>=Z&&w<=G)return F;var I=getComputedStyle(R),P=parseInt(I.borderLeftWidth,10),j=parseInt(I.borderTopWidth,10),$=parseInt(I.borderRightWidth,10),X=parseInt(I.borderBottomWidth,10),tt=0,nt=0,et="offsetWidth"in R?R.offsetWidth-R.clientWidth-P-$:0,at="offsetHeight"in R?R.offsetHeight-R.clientHeight-j-X:0,ot="offsetWidth"in R?R.offsetWidth===0?0:W/R.offsetWidth:0,rt="offsetHeight"in R?R.offsetHeight===0?0:z/R.offsetHeight:0;if(c===R)tt=i==="start"?k:i==="end"?k-y:i==="nearest"?ra(p,p+y,y,j,X,p+k,p+k+x,x):k-y/2,nt=a==="start"?D:a==="center"?D-g/2:a==="end"?D-g:ra(v,v+g,g,P,$,v+D,v+D+_,_),tt=Math.max(0,tt+p),nt=Math.max(0,nt+v);else{tt=i==="start"?k-q-j:i==="end"?k-Y+X+at:i==="nearest"?ra(q,Y,z,j,X+at,k,k+x,x):k-(q+z/2)+at/2,nt=a==="start"?D-Z-P:a==="center"?D-(Z+W/2)+et/2:a==="end"?D-G+$+et:ra(Z,G,W,P,$+et,D,D+_,_);var ut=R.scrollLeft,ct=R.scrollTop;k+=ct-(tt=Math.max(0,Math.min(ct+tt/rt,R.scrollHeight-z/rt+at))),D+=ut-(nt=Math.max(0,Math.min(ut+nt/ot,R.scrollWidth-W/ot+et)))}F.push({el:R,top:tt,left:nt})}return F},Yi=function(e){return function(t){return Math.pow(t,e)}},Gi=function(e){return function(t){return 1-Math.abs(Math.pow(t-1,e))}},ms=function(e){return function(t){return t<.5?Yi(e)(t*2)/2:Gi(e)(t*2-1)/2+.5}},Ig=function(e){return e},Ng=Yi(2),zg=Gi(2),$g=ms(2),Hg=Yi(3),Ug=Gi(3),jg=ms(3),Wg=Yi(4),qg=Gi(4),Yg=ms(4),Gg=Yi(5),Xg=Gi(5),Vg=ms(5),Zg=function(e){return 1+Math.sin(Math.PI/2*e-Math.PI/2)},Kg=function(e){return Math.sin(Math.PI/2*e)},Qg=function(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2},Hu=function(e){var t=7.5625,r=2.75;return e<1/r?t*e*e:e<2/r?(e-=1.5/r,t*e*e+.75):e<2.5/r?(e-=2.25/r,t*e*e+.9375):(e-=2.625/r,t*e*e+.984375)},Od=function(e){return 1-Hu(1-e)},Jg=function(e){return e<.5?Od(e*2)*.5:Hu(e*2-1)*.5+.5},tx=Object.freeze({linear:Ig,quadIn:Ng,quadOut:zg,quadInOut:$g,cubicIn:Hg,cubicOut:Ug,cubicInOut:jg,quartIn:Wg,quartOut:qg,quartInOut:Yg,quintIn:Gg,quintOut:Xg,quintInOut:Vg,sineIn:Zg,sineOut:Kg,sineInOut:Qg,bounceOut:Hu,bounceIn:Od,bounceInOut:Jg}),Uu=function(t){var r=t.from,n=t.to,i=t.duration,a=t.delay,s=t.easing,o=t.onStart,u=t.onUpdate,f=t.onFinish;for(var l in r)n[l]===void 0&&(n[l]=r[l]);for(var c in n)r[c]===void 0&&(r[c]=n[c]);this.from=r,this.to=n,this.duration=i||500,this.delay=a||0,this.easing=s||"linear",this.onStart=o,this.onUpdate=u||function(){},this.onFinish=f,this.startTime=Date.now()+this.delay,this.started=!1,this.finished=!1,this.timer=null,this.keys={}};Uu.prototype.update=function(){if(this.time=Date.now(),!(this.time<this.startTime)&&!this.finished){if(this.elapsed===this.duration){this.finished||(this.finished=!0,this.onFinish&&this.onFinish(this.keys));return}this.elapsed=this.time-this.startTime,this.elapsed=this.elapsed>this.duration?this.duration:this.elapsed;for(var t in this.to)this.keys[t]=this.from[t]+(this.to[t]-this.from[t])*tx[this.easing](this.elapsed/this.duration);this.started||(this.onStart&&this.onStart(this.keys),this.started=!0),this.onUpdate(this.keys)}};Uu.prototype.start=function(){var t=this;this.startTime=Date.now()+this.delay;var r=function(){t.update(),t.timer=requestAnimationFrame(r),t.finished&&(cancelAnimationFrame(t.timer),t.timer=null)};r()};Uu.prototype.stop=function(){cancelAnimationFrame(this.timer),this.timer=null};var ju={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(lt,function(){var r=1e3,n=6e4,i=36e5,a="millisecond",s="second",o="minute",u="hour",f="day",l="week",c="month",h="quarter",d="year",g="date",y="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
vendor: 5,329 bytes, line 1
1|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var z=["th","st","nd","rd"],W=E%100;return"["+E+(z[(W-20)%10]||z[W]||z[0])+"]"}},x=function(E,z,W){var q=String(E);return!q||q.length>=z?E:""+Array(z+1-q.length).join(W)+E},_={s:x,z:function(E){var z=-E.utcOffset(),W=Math.abs(z),q=Math.floor(W/60),G=W%60;return(z<=0?"+":"-")+x(q,2,"0")+":"+x(G,2,"0")},m:function E(z,W){if(z.date()<W.date())return-E(W,z);var q=12*(W.year()-z.year())+(W.month()-z.month()),G=z.clone().add(q,c),Y=W-G<0,Z=z.clone().add(q+(Y?-1:1),c);return+(-(q+(W-G)/(Y?G-Z:Z-G))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:c,y:d,w:l,d:f,D:g,h:u,m:o,s,ms:a,Q:h}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},b="en",w={};w[b]=m;var C="$isDayjsObject",A=function(E){return E instanceof T||!(!E||!E[C])},k=function E(z,W,q){var G;if(!z)return b;if(typeof z=="string"){var Y=z.toLowerCase();w[Y]&&(G=Y),W&&(w[Y]=W,G=Y);var Z=z.split("-");if(!G&&Z.length>1)return E(Z[0])}else{var I=z.name;w[I]=z,G=I}return!q&&G&&(b=G),G||!q&&b},D=function(E,z){if(A(E))return E.clone();var W=typeof z=="object"?z:{};return W.date=E,W.args=arguments,new T(W)},F=_;F.l=k,F.i=A,F.w=function(E,z){return D(E,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var T=function(){function E(W){this.$L=k(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[C]=!0}var z=E.prototype;return z.parse=function(W){this.$d=function(q){var G=q.date,Y=q.utc;if(G===null)return new Date(NaN);if(F.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var Z=G.match(v);if(Z){var I=Z[2]-1||0,P=(Z[7]||"0").substring(0,3);return Y?new Date(Date.UTC(Z[1],I,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,P)):new Date(Z[1],I,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,P)}}return new Date(G)}(W),this.init()},z.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},z.$utils=function(){return F},z.isValid=function(){return this.$d.toString()!==y},z.isSame=function(W,q){var G=D(W);return this.startOf(q)<=G&&G<=this.endOf(q)},z.isAfter=function(W,q){return D(W)<this.startOf(q)},z.isBefore=function(W,q){return this.endOf(q)<D(W)},z.$g=function(W,q,G){return F.u(W)?this[q]:this.set(G,W)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(W,q){var G=this,Y=!!F.u(q)||q,Z=F.p(W),I=function(at,ot){var rt=F.w(G.$u?Date.UTC(G.$y,ot,at):new Date(G.$y,ot,at),G);return Y?rt:rt.endOf(f)},P=function(at,ot){return F.w(G.toDate()[at].apply(G.toDate("s"),(Y?[0,0,0,0]:[23,59,59,999]).slice(ot)),G)},j=this.$W,$=this.$M,X=this.$D,tt="set"+(this.$u?"UTC":"");switch(Z){case d:return Y?I(1,0):I(31,11);case c:return Y?I(1,$):I(0,$+1);case l:var nt=this.$locale().weekStart||0,et=(j<nt?j+7:j)-nt;return I(Y?X-et:X+(6-et),$);case f:case g:return P(tt+"Hours",0);case u:return P(tt+"Minutes",1);case o:return P(tt+"Seconds",2);case s:return P(tt+"Milliseconds",3);default:return this.clone()}},z.endOf=function(W){return this.startOf(W,!1)},z.$set=function(W,q){var G,Y=F.p(W),Z="set"+(this.$u?"UTC":""),I=(G={},G[f]=Z+"Date",G[g]=Z+"Date",G[c]=Z+"Month",G[d]=Z+"FullYear",G[u]=Z+"Hours",G[o]=Z+"Minutes",G[s]=Z+"Seconds",G[a]=Z+"Milliseconds",G)[Y],P=Y===f?this.$D+(q-this.$W):q;if(Y===c||Y===d){var j=this.clone().set(g,1);j.$d[I](P),j.init(),this.$d=j.set(g,Math.min(this.$D,j.daysInMonth())).$d}else I&&this.$d[I](P);return this.init(),this},z.set=function(W,q){return this.clone().$set(W,q)},z.get=function(W){return this[F.p(W)]()},z.add=function(W,q){var G,Y=this;W=Number(W);var Z=F.p(q),I=function($){var X=D(Y);return F.w(X.date(X.date()+Math.round($*W)),Y)};if(Z===c)return this.set(c,this.$M+W);if(Z===d)return this.set(d,this.$y+W);if(Z===f)return I(1);if(Z===l)return I(7);var P=(G={},G[o]=n,G[u]=i,G[s]=r,G)[Z]||1,j=this.$d.getTime()+W*P;return F.w(j,this)},z.subtract=function(W,q){return this.add(-1*W,q)},z.format=function(W){var q=this,G=this.$locale();if(!this.isValid())return G.invalidDate||y;var Y=W||"YYYY-MM-DDTHH:mm:ssZ",Z=F.z(this),I=this.$H,P=this.$m,j=this.$M,$=G.weekdays,X=G.months,tt=G.meridiem,nt=function(ot,rt,ut,ct){return ot&&(ot[rt]||ot(q,Y))||ut[rt].slice(0,ct)},et=function(ot){return F.s(I%12||12,ot,"0")},at=tt||function(ot,rt,ut){var ct=ot<12?"AM":"PM";return ut?ct.toLowerCase():ct};return Y.replace(p,function(ot,rt){return rt||function(ut){switch(ut){case"YY":return String(q.$y).slice(-2);case"YYYY":return F.s(q.$y,4,"0");case"M":return j+1;case"MM":return F.s(j+1,2,"0");case"MMM":return nt(G.monthsShort,j,X,3);case"MMMM":return nt(X,j);case"D":return q.$D;case"DD":return F.s(q.$D,2,"0");case"d":return String(q.$W);case"dd":return nt(G.weekdaysMin,q.$W,$,2);case"ddd":return nt(G.weekdaysShort,q.$W,$,3);case"dddd":return $[q.$W];case"H":return String(I);case"HH":return F.s(I,2,"0");case"h":return et(1);case"hh":return et(2);case"a":return at(I,P,!0);case"A":return at(I,P,!1);case"m":return String(P);case"mm":return F.s(P,2,"0");
1case"s":return String(q.$s);case"ss":return F.s(q.$s,2,"0");case"SSS":return F.s(q.$ms,3,"0");case"Z":return Z}return null}(ot)||Z.replace(":","")})},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(W,q,G){var Y,Z=this,I=F.p(q),P=D(W),j=(P.utcOffset()-this.utcOffset())*n,$=this-P,X=function(){return F.m(Z,P)};switch(I){case d:Y=X()/12;break;case c:Y=X();break;case h:Y=X()/3;break;case l:Y=($-j)/6048e5;break;case f:Y=($-j)/864e5;break;case u:Y=$/i;break;case o:Y=$/n;break;case s:Y=$/r;break;default:Y=$}return G?Y:F.a(Y)},z.daysInMonth=function(){return this.endOf(c).$D},z.$locale=function(){return w[this.$L]},z.locale=function(W,q){if(!W)return this.$L;var G=this.clone(),Y=k(W,q,!0);return Y&&(G.$L=Y),G},z.clone=function(){return F.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},E}(),R=T.prototype;return D.prototype=R,[["$ms",a],["$s",s],["$m",o],["$H",u],["$W",f],["$M",c],["$y",d],["$D",g]].forEach(function(E){R[E[1]]=function(z){return this.$g(z,E[0],E[1])}}),D.extend=function(E,z){return E.$i||(E(z,T,D),E.$i=!0),D},D.locale=k,D.isDayjs=A,D.unix=function(E){return D(1e3*E)},D.en=w[b],D.Ls=w,D.p={},D})})(ju);const c3=ju.exports;var Rd={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(lt,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,a=/\d\d/,s=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,u={},f=function(v){return(v=+v)+(v>68?1900:2e3)},l=function(v){return function(p){this[v]=+p}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(p){if(!p||p==="Z")return 0;var m=p.match(/([+-]|\d\d)/g),x=60*m[1]+(+m[2]||0);return x===0?0:m[0]==="+"?-x:x}(v)}],h=function(v){var p=u[v];return p&&(p.indexOf?p:p.s.concat(p.f))},d=function(v,p){var m,x=u.meridiem;if(x){for(var _=1;_<=24;_+=1)if(v.indexOf(x(_,0,p))>-1){m=_>12;break}}else m=v===(p?"pm":"PM");return m},g={A:[o,function(v){this.afternoon=d(v,!1)}],a:[o,function(v){this.afternoon=d(v,!0)}],Q:[i,function(v){this.month=3*(v-1)+1}],S:[i,function(v){this.milliseconds=100*+v}],SS:[a,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[s,l("seconds")],ss:[s,l("seconds")],m:[s,l("minutes")],mm:[s,l("minutes")],H:[s,l("hours")],h:[s,l("hours")],HH:[s,l("hours")],hh:[s,l("hours")],D:[s,l("day")],DD:[a,l("day")],Do:[o,function(v){var p=u.ordinal,m=v.match(/\d+/);if(this.day=m[0],p)for(var x=1;x<=31;x+=1)p(x).replace(/\[|\]/g,"")===v&&(this.day=x)}],w:[s,l("week")],ww:[a,l("week")],M:[s,l("month")],MM:[a,l("month")],MMM:[o,function(v){var p=h("months"),m=(h("monthsShort")||p.map(function(x){return x.slice(0,3)})).indexOf(v)+1;if(m<1)throw new Error;this.month=m%12||m}],MMMM:[o,function(v){var p=h("months").indexOf(v)+1;if(p<1)throw new Error;this.month=p%12||p}],Y:[/[+-]?\d+/,l("year")],YY:[a,function(v){this.year=f(v)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function y(v){var p,m;p=v,m=u&&u.formats;for(var x=(v=p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(D,F,T){var R=T&&T.toUpperCase();return F||m[T]||r[T]||m[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(E,z,W){return z||W.slice(1)})})).match(n),_=x.length,b=0;b<_;b+=1){var w=x[b],C=g[w],A=C&&C[0],k=C&&C[1];x[b]=k?{regex:A,parser:k}:w.replace(/^\[|\]$/g,"")}return function(D){for(var F={},T=0,R=0;T<_;T+=1){var E=x[T];if(typeof E=="string")R+=E.length;else{var z=E.regex,W=E.parser,q=D.slice(R),G=z.exec(q)[0];W.call(F,G),D=D.replace(G,"")}}return function(Y){var Z=Y.afternoon;if(Z!==void 0){var I=Y.hours;Z?I<12&&(Y.hours+=12):I===12&&(Y.hours=0),delete Y.afternoon}}(F),F}}return function(v,p,m){m.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(f=v.parseTwoDigitYear);var x=p.prototype,_=x.parse;x.parse=function(b){var w=b.date,C=b.utc,A=b.args;this.$u=C;var k=A[1];if(typeof k=="string"){var D=A[2]===!0,F=A[3]===!0,T=D||F,R=A[2];F&&(R=A[2]),u=this.$locale(),!D&&R&&(u=m.Ls[R]),this.$d=function(q,G,Y,Z){try{if(["x","X"].indexOf(G)>-1)return new Date((G==="X"?1e3:1)*q);var I=y(G)(q),P=I.year,j=I.month,$=I.day,X=I.hours,tt=I.minutes,nt=I.seconds,et=I.milliseconds,at=I.zone,ot=I.week,rt=new Date,ut=$||(P||j?1:rt.getDate()),ct=P||rt.getFullYear(),S=0;P&&!j||(S=j>0?j-1:rt.getMonth());var Q,H=X||0,M=tt||0,L=nt||0,U=et||0;return at?new Date(Date.UTC(ct,S,ut,H,M,L,U+60*at.offset*1e3)):Y?new Date(Date.UTC(ct,S,ut,H,M,L,U)):(Q=new Date(ct,S,ut,H,M,L,U),ot&&(Q=Z(Q).week(ot).toDate()),Q)}catch{return new Date("")}}(w,k,C,m),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),T&&w!=this.format(k)&&(this.$d=new Date("")),u={}}else if(k instanceof Array)for(var E=k.length,z=1;z<=E;z+=1){A[1]=k[z-1];var W=m.apply(this,A);if(W.isValid()){this.$d=W.$d,this.$L=W.$L,this.init();break}z===E&&(this.$d=new Date(""))}else _.call(this,b)}}})})(Rd);const h3=Rd.exports;var Ld={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(lt,function(){return function(r,n,i){n.prototype.isBetween=function(a,s,o,u){var f=i(a),l=i(s),c=(u=u||"()")[0]==="(",h=u[1]===")";return(c?this.isAfter(f,o):!this.isBefore(f,o))&&(h?this.isBefore(l,o):!this.isAfter(l,o))||(c?this.isBefore(f,o):!this.isAfter(f,o))&&(h?this.isAfter(l,o):!this.isBefore(l,o))}}})})(Ld);const d3=Ld.exports;var Pd={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(lt,function(){var r="week",n="year";return function(i,a,s){var o=a.prototype;o.week=function(u){if(u===void 0&&(u=null),u!==null)return this.add(7*(u-this.week()),"day");var f=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var l=s(this).startOf(n).add(1,n).date(f),c=s(this).endOf(r);if(l.isBefore(c))return 1}var h=s(this).startOf(n).date(f).startOf(r).subtract(1,"millisecond"),d=this.diff(h,r,!0);return d<0?s(this).startOf("week").week():Math.ceil(d)},o.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(Pd);const v3=Pd.exports;var Md={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(lt,function(){return function(r,n){var i=n.prototype,a=i.format;i.format=function(s){var o=this,u=this.$locale();if(!this.isValid())return a.bind(this)(s);var f=this.$utils(),l=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(c){switch(c){case"Q":return Math.ceil((o.$M+1)/3);case"Do":return u.ordinal(o.$D);case"gggg":return o.weekYear();case"GGGG":return o.isoWeekYear();case"wo":return u.ordinal(o.week(),"W");case"w":case"ww":return f.s(o.week(),c==="w"?1:2,"0");case"W":case"WW":return f.s(o.isoWeek(),c==="W"?1:2,"0");case"k":case"kk":return f.s(String(o.$H===0?24:o.$H),c==="k"?1:2,"0");case"X":return Math.floor(o.$d.getTime()/1e3);case"x":return o.$d.getTime();case"z":return"["+o.offsetName()+"]";case"zzz":return"["+o.offsetName("long")+"]";default:return c}});return a.bind(this)(l)}}})})(Md);const p3=Md.exports;var Id={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(lt,function(){return function(r,n){n.prototype.weekYear=function(){var i=this.month(),a=this.week(),s=this.year();return a===1&&i===11?s+1:i===0&&a>=52?s-1:s}}})})(Id);const g3=Id.exports;var Nd={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(lt,function(){var r="month",n="quarter";return function(i,a){var s=a.prototype;s.quarter=function(f){return this.$utils().u(f)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(f-1))};var o=s.add;s.add=function(f,l){return f=Number(f),this.$utils().p(l)===n?this.add(3*f,r):o.bind(this)(f,l)};var u=s.startOf;s.startOf=function(f,l){var c=this.$utils(),h=!!c.u(l)||l;if(c.p(f)===n){var d=this.quarter()-1;return h?this.month(3*d).startOf(r).startOf("day"):this.month(3*d+2).endOf(r).endOf("day")}return u.bind(this)(f,l)}}})})(Nd);const x3=Nd.exports;var ex={exports:{}};(function(e,t){(function(r,n){e.exports=n(ju.exports)})(lt,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(s,o){return o==="W"?s+"\u5468":s+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%
1d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(s,o){var u=100*s+o;return u<600?"\u51CC\u6668":u<900?"\u65E9\u4E0A":u<1100?"\u4E0A\u5348":u<1300?"\u4E2D\u5348":u<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return i.default.locale(a,null,!0),a})})(ex);function Wu(e,t){return t===void 0&&(t=15),+parseFloat(Number(e).toPrecision(t))}function Xe(e){var t=e.toString().split(/[eE]/),r=(t[0].split(".")[1]||"").length-+(t[1]||0);return r>0?r:0}function Pi(e){if(e.toString().indexOf("e")===-1)return Number(e.toString().replace(".",""));var t=Xe(e);return t>0?Wu(Number(e)*Math.pow(10,t)):Number(e)}function j0(e){$d&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn(e+" is beyond boundary when transfer to integer, the results may not be accurate")}function ys(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t[0],i=t.slice(1);return i.reduce(function(a,s){return e(a,s)},n)}}var br=ys(function(e,t){var r=Pi(e),n=Pi(t),i=Xe(e)+Xe(t),a=r*n;return j0(a),a/Math.pow(10,i)}),rx=ys(function(e,t){var r=Math.pow(10,Math.max(Xe(e),Xe(t)));return(br(e,r)+br(t,r))/r}),nx=ys(function(e,t){var r=Math.pow(10,Math.max(Xe(e),Xe(t)));return(br(e,r)-br(t,r))/r}),zd=ys(function(e,t){var r=Pi(e),n=Pi(t);return j0(r),j0(n),br(r/n,Wu(Math.pow(10,Xe(t)-Xe(e))))});function ix(e,t){var r=Math.pow(10,t),n=zd(Math.round(Math.abs(br(e,r))),r);return e<0&&n!==0&&(n=br(n,-1)),n}var $d=!0;function ax(e){e===void 0&&(e=!0),$d=e}var _3={strip:Wu,plus:rx,minus:nx,times:br,divide:zd,round:ix,digitLength:Xe,float2Fixed:Pi,enableBoundaryChecking:ax};function Hd(e){return e===Object(e)&&Object.keys(e).length!==0}function sx(e,t){t===void 0&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach(function(n){var i=n.el,a=n.top,s=n.left;i.scroll&&r?i.scroll({top:a,left:s,behavior:t}):(i.scrollTop=a,i.scrollLeft=s)})}function ox(e){return e===!1?{block:"end",inline:"nearest"}:Hd(e)?e:{block:"start",inline:"nearest"}}function m3(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(Hd(t)&&typeof t.behavior=="function")return t.behavior(r?Gf(e,t):[]);if(!!r){var n=ox(t);return sx(Gf(e,n),n.behavior)}}var ni=Object.prototype.toString;function bs(e){return ni.call(e)==="[object Array]"}function or(e){return ni.call(e)==="[object Object]"}function W0(e){return ni.call(e)==="[object String]"}function ux(e){return ni.call(e)==="[object Number]"&&e===e}function fx(e){return ni.call(e)==="[object Boolean]"}function q0(e){return ni.call(e)==="[object Function]"}function lx(e){return or(e)&&Object.keys(e).length===0}function en(e){return e==null||e===""}function Ud(e){return bs(e)&&!e.length}var qu=function(e,t){if(typeof e!="object"||typeof t!="object")return e===t;if(q0(e)&&q0(t))return e===t||e.toString()===t.toString();if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e){var n=qu(e[r],t[r]);if(!n)return!1}return!0},Yu=function(e,t){var r=Object.assign({},e);return Object.keys(t||{}).forEach(function(n){var i=r[n],a=t==null?void 0:t[n];r[n]=or(i)?Object.assign(Object.assign({},i),a):a||i}),r},cx=function(e,t){for(var r=t.split("."),n=e,i=0;i<r.length;i++)if(n=n&&n[r[i]],n===void 0)return n;return n},lr="#{field} is not a #{type} type",hx={required:"#{field} is required",type:{ip:lr,email:lr,url:lr,string:lr,number:lr,array:lr,object:lr,boolean:lr},number:{min:"`#{value}` is not greater than `#{min}`",max:"`#{value}` is not less than `#{max}`",equal:"`#{value}` is not equal to `#{equal}`",range:"`#{value}` is not in range `#{min} ~ #{max}`",positive:"`#{value}` is not a positive number",negative:"`#{value}` is not a negative number"},string:{maxLength:"#{field} cannot be longer than #{maxLength} characters",minLength:"#{field} must be at least #{minLength} characters",length:"#{field} must be exactly #{length} characters",match:"`#{value}` does not match pattern #{pattern}",uppercase:"`#{value}` must be all uppercase",lowercase:"`#{value}` must be all lowercased"},array:{length:"#{field} must be exactly #{length} in length",minLength:"#{field} cannot be less than #{minLength} in length",maxLength:"#{field} cannot be greater than #{maxLength} in length",includes:"#{field} is not includes #{includes}",deepEqual:"#{field} is not deep equal with #{deepEqual}",empty:"#{field} is not an empty array"},object:{deepEqual:"#{field} is not deep equal to expected value",hasKeys:"#{field} does not contain required fields",empty:"#{field} is not an empty object"},boolean:{true:"Expect true but got `#{value}`",false:"Expect false but got `#{value}`"}},Me=function(t,r){var n=this;this.getValidateMsg=function(i,a){a===void 0&&(a={});var s=Object.assign(Object.assign({},a),{value:n.obj,field:n.field,type:n.type}),o=cx(n.validateMessages,i);return q0(o)?o(s):W0(o)?o.replace(/\#\{.+?\}/g,function(u){var f=u.slice(2,-1);if(f in s){if(or(s[f])||bs(s[f]))try{return JSON.stringify(s[f])}catch{return s[f]}return String(s[f])}return u}):o},or(r)&&W0(t)&&r.trim?this.obj=t.trim():or(r)&&r.ignoreEmptyString&&t===""?this.obj=void 0:this.obj=t,this.message=r.message,this.type=r.type,this.error=null,this.field=r.field||r.type,this.validateMessages=Yu(hx,r.validateMessages)},ws={not:{configurable:!0},isRequired:{configurable:!0},end:{configurable:!0}};ws.not.get=function(){return this._not=!this._not,this};ws.isRequired.get=function(){if(en(this.obj)||Ud(this.obj)){var e=this.getValidateMsg("required");
1this.error={value:this.obj,type:this.type,requiredError:!0,message:this.message||(or(e)?e:(this._not?"[NOT MODE]:":"")+e)}}return this};ws.end.get=function(){return this.error};Me.prototype.addError=function(t){!this.error&&t&&(this.error={value:this.obj,type:this.type,message:this.message||(or(t)?t:(this._not?"[NOT MODE]:":"")+t)})};Me.prototype.validate=function(t,r){var n=this._not?t:!t;return n&&this.addError(r),this};Me.prototype.collect=function(t){t&&t(this.error)};Object.defineProperties(Me.prototype,ws);var dx=function(e){function t(n,i){e.call(this,n,Object.assign(Object.assign({},i),{type:"string"})),this.validate(i&&i.strict?W0(this.obj):!0,this.getValidateMsg("type.string"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={uppercase:{configurable:!0},lowercase:{configurable:!0}};return t.prototype.maxLength=function(i){return this.obj?this.validate(this.obj.length<=i,this.getValidateMsg("string.maxLength",{maxLength:i})):this},t.prototype.minLength=function(i){return this.obj?this.validate(this.obj.length>=i,this.getValidateMsg("string.minLength",{minLength:i})):this},t.prototype.length=function(i){return this.obj?this.validate(this.obj.length===i,this.getValidateMsg("string.length",{length:i})):this},t.prototype.match=function(i){var a=i instanceof RegExp;return a&&(i.lastIndex=0),this.validate(this.obj===void 0||a&&i.test(this.obj),this.getValidateMsg("string.match",{pattern:i}))},r.uppercase.get=function(){return this.obj?this.validate(this.obj.toUpperCase()===this.obj,this.getValidateMsg("string.uppercase")):this},r.lowercase.get=function(){return this.obj?this.validate(this.obj.toLowerCase()===this.obj,this.getValidateMsg("string.lowercase")):this},Object.defineProperties(t.prototype,r),t}(Me),vx=function(e){function t(n,i){e.call(this,n,Object.assign(Object.assign({},i),{type:"number"})),this.validate(i&&i.strict?ux(this.obj):!0,this.getValidateMsg("type.number"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={positive:{configurable:!0},negative:{configurable:!0}};return t.prototype.min=function(i){return en(this.obj)?this:this.validate(this.obj>=i,this.getValidateMsg("number.min",{min:i}))},t.prototype.max=function(i){return en(this.obj)?this:this.validate(this.obj<=i,this.getValidateMsg("number.max",{max:i}))},t.prototype.equal=function(i){return en(this.obj)?this:this.validate(this.obj===i,this.getValidateMsg("number.equal",{equal:i}))},t.prototype.range=function(i,a){return en(this.obj)?this:this.validate(this.obj>=i&&this.obj<=a,this.getValidateMsg("number.range",{min:i,max:a}))},r.positive.get=function(){return en(this.obj)?this:this.validate(this.obj>0,this.getValidateMsg("number.positive"))},r.negative.get=function(){return en(this.obj)?this:this.validate(this.obj<0,this.getValidateMsg("number.negative"))},Object.defineProperties(t.prototype,r),t}(Me),px=function(e){function t(n,i){e.call(this,n,Object.assign(Object.assign({},i),{type:"array"})),this.validate(i&&i.strict?bs(this.obj):!0,this.getValidateMsg("type.array",{value:this.obj,type:this.t
1ype}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={empty:{configurable:!0}};return t.prototype.length=function(i){return this.obj?this.validate(this.obj.length===i,this.getValidateMsg("array.length",{value:this.obj,length:i})):this},t.prototype.minLength=function(i){return this.obj?this.validate(this.obj.length>=i,this.getValidateMsg("array.minLength",{value:this.obj,minLength:i})):this},t.prototype.maxLength=function(i){return this.obj?this.validate(this.obj.length<=i,this.getValidateMsg("array.maxLength",{value:this.obj,maxLength:i})):this},t.prototype.includes=function(i){var a=this;return this.obj?this.validate(i.every(function(s){return a.obj.indexOf(s)!==-1}),this.getValidateMsg("array.includes",{value:this.obj,includes:i})):this},t.prototype.deepEqual=function(i){return this.obj?this.validate(qu(this.obj,i),this.getValidateMsg("array.deepEqual",{value:this.obj,deepEqual:i})):this},r.empty.get=function(){return this.validate(Ud(this.obj),this.getValidateMsg("array.empty",{value:this.obj}))},Object.defineProperties(t.prototype,r),t}(Me),gx=function(e){function t(n,i){e.call(this,n,Object.assign(Object.assign({},i),{type:"object"})),this.validate(i&&i.strict?or(this.obj):!0,this.getValidateMsg("type.object"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={empty:{configurable:!0}};return t.prototype.deepEqual=function(i){return this.obj?this.validate(qu(this.obj,i),this.getValidateMsg("object.deepEqual",{deepEqual:i})):this},t.prototype.hasKeys=function(i){var a=this;return this.obj?this.validate(i.every(function(s){return a.obj[s]}),this.getValidateMsg("object.hasKeys",{keys:i})):this},r.empty.get=function(){return this.validate(lx(this.obj),this.getValidateMsg("object.empty"))},Object.defineProperties(t.prototype,r),t}(Me),xx=function(e){function t(n,i){e.call(this,n,Object.assign(Object.assign({},i),{type:"boolean"})),this.validate(i&&i.strict?fx(this.obj):!0,this.getValidateMsg("type.boolean"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={true:{configurable:!0},false:{configurable:!0}};return r.true.get=function(){return this.validate(this.obj===!0,this.getValidateMsg("boolean.true"))},r.false.get=function(){return this.validate(this.obj===!1,this.getValidateMsg("boolean.false"))},Object.defineProperties(t.prototype,r),t}(Me),_x=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,mx=new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),yx=/^(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}$/,bx=function(e){function t(n,i){e.call(this,n,Object.assign(Object.assign({},i),{type:"type"}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={email:{configurable:!0},url:{configurable:!0},ip:{configurable:!0}};return r.email.get=function(){return this.type="email",this.validate(this.obj===void 0||_x.test(this.obj),this.getValidateMsg("type.email"))},r.url.get=function(){return this.type="url",this.validate(this.obj===void 0||mx.test(this.obj),this.getValidateMsg("type.url"))},r.ip.get=function(){return this.type="ip",this.validate(this.obj===void 0||yx.test(this.obj),this.getValidateMsg("type.ip"))},Object.defineProperties(t.prototype,r),t}(Me),Ex=function(e){function t(n,i){e.call(this,n,Object.assign(Object.assign({},i),{type:"custom"}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={validate:{configurable:!0}};return r.validate.get=function(){var n=this;return function(i,a){var s;if(i)return s=i(n.obj,n.addError.bind(n)),s&&s.then?(a&&s.then(function(){a&&a(n.error)},function(o){console.error(o)}),[s,n]):(a&&a(n.error),n.error)}},Object.defineProperties(t.prototype,r),t}(Me),Wa=function(e,t){return new jd(e,Object.assign({field:"value"},t))};Wa.globalConfig={};Wa.setGlobalConfig=function(e){Wa.globalConfig=e||{}};var jd=function(t,r){var n=Wa.globalConfig,i=Object.assign(Object.assign(Object.assign({},n),r),{validateMessages:Yu(n.validateMessages,r.validateMessages)});this.string=new dx(t,i),this.number=new vx(t,i),this.array=new px(t,i),this.object=new gx(t,i),this.boolean=new xx(t,i),this.type=new bx(t,i),this.custom=new Ex(t,i)},Wd=function(t,r){r===void 0&&(r={}),this.schema=t,this.options=r};Wd.prototype.messages=function(t){this.options=Object.assign(Object.assign({},this.options),{validateMessages:Yu(this.options.validateMessages,t)})};Wd.prototype.validate=function(t,r){var n=this;if(!or(t))return;var i=[],a=null;function s(o,u){a||(a={}),(!a[o]||u.requiredError)&&(a[o]=u)}
1this.schema&&Object.keys(this.schema).forEach(function(o){if(bs(n.schema[o]))for(var u=function(c){var h=n.schema[o][c],d=h.type,g=h.message;if(!d&&!h.validator)throw"You must specify a type to field "+o+"!";var y=Object.assign(Object.assign({},n.options),{message:g,field:o});"ignoreEmptyString"in h&&(y.ignoreEmptyString=h.ignoreEmptyString),"strict"in h&&(y.strict=h.strict);var v=new jd(t[o],y),p=v.type[d]||null;if(!p)if(h.validator){p=v.custom.validate(h.validator),Object.prototype.toString.call(p)==="[object Array]"&&p[0].then?i.push({function:p[0],_this:p[1],key:o}):p&&s(o,p);return}else p=v[d];if(Object.keys(h).forEach(function(m){h.required&&(p=p.isRequired),m!=="message"&&p[m]&&h[m]&&typeof p[m]=="object"&&(p=p[m]),p[m]&&h[m]!==void 0&&typeof p[m]=="function"&&(p=p[m](h[m]))}),p.collect(function(m){m&&s(o,m)}),a)return"break"},f=0;f<n.schema[o].length;f++){var l=u(f);if(l==="break")break}}),i.length>0?Promise.all(i.map(function(o){return o.function})).then(function(){i.forEach(function(o){o._this.error&&s(o.key,o._this.error)}),r&&r(a)}):r&&r(a)};/*! ***************************************************************************** 2Copyright (c) Microsoft Corporation. 3 4Permission to use, copy, modify, and/or distribute this software for any 5purpose with or without fee is hereby granted. 6 7THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 8REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 9AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 10INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 11LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 12OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 13PERFORMANCE OF THIS SOFTWARE. 14***************************************************************************** */var Y0=function(e,t){return Y0=Object.
14setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Y0(e,t)};function bt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Y0(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Cx=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),Ax=function(){function e(){this.browser=new Cx,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e}(),pr=new Ax;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(pr.wxa=!0,pr.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?pr.worker=!0:!pr.hasGlobalWindow||"Deno"in window?(pr.node=!0,pr.svgSupported=!0):Sx(navigator.userAgent,pr);function Sx(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),s=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),s&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var o=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in o||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in o)&&!("OTransition"in o),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}const Zt=pr;var Gu=12,qd="sans-serif",wr=Gu+"px "+qd,Tx=20,Dx=100,kx="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function Bx(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-Tx)/Dx;t[n]=i}return t}var Fx=Bx(kx),Xi={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,n){if(!e){var i=Xi.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||wr),e.measureText(r);r=r||"",n=n||wr;var a=/((?:\d+)?\.?\d*)px/.exec(n),s=a&&+a[1]||Gu,o=0;if(n.indexOf("mono")>=0)o=s*r.length;else for(var u=0;u<r.length;u++){var f=Fx[r[u]];o+=f==null?s:f*s}return{width:o}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},Yd=Cs(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),Gd=Cs(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),ii=Object.prototype.toString,Es=Array.prototype,Ox=Es.forEach,Rx=Es.filter,Xu=Es.slice,Lx=Es.map,Xf=function(){}.constructor,na=Xf?Xf.prototype:null,Vu="__proto__",Px=2311;function Xd(){return Px++}function Zu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function vn(e){if(e==null||typeof e!="object")return e;var t=e,r=ii.call(e);if(r==="[object Array]"){if(!Ti(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=vn(e[n])}}else if(Gd[r]){if(!Ti(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!Yd[r]&&!Ti(e)&&!X0(e)){t={};for(var s in e)e.hasOwnProperty(s)&&s!==Vu&&(t[s]=vn(e[s]))}return t}function $n(e,t,r){if(!sr(t)||!sr(e))return r?vn(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==Vu){var i=e[n],a=t[n];sr(a)&&sr(i)&&!Jn(a)&&!Jn(i)&&!X0(a)&&!X0(i)&&!Vf(a)&&!Vf(i)&&!Ti(a)&&!Ti(i)?$n(i,a,r):(r||!(n in e))&&(e[n]=vn(t[n]))}return e}function y3(e,t){for(var r=e[0],n=1,i=e.length;n<i;n++)r=$n(r,e[n],t);return r}function mt(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==Vu&&(e[r]=t[r]);return e}function Se(e,t,r){for(var n=St(t),i=0,a=n.length;i<a;i++){var s=n[i];(r?t[s]!=null:e[s]==null)&&(e[s]=t[s])}return e}Xi.createCanvas;function qe(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r}return-1}function b3(e,t){var r=e.prototype;function n(){}n.prototype=t.prototype,e.prototype=new n;for(var i in r)r.hasOwnProperty(i)&&(e.prototype[i]=r[i]);e.prototype.constructor=e,e.superClass=t}function Vd(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){var a=n[i];a!=="constructor"&&(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}else Se(e,t,r)}function Ve(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function Kt(e,t,r){if(!!(e&&t))if(e.forEach&&e.forEach===Ox)e.forEach(t,r);else if(e.length===+e.length)for(var n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(r,e[a],a,e)}function It(e,t,r){if(!e)return[];if(!t)return Zd(e);if(e.map&&e.map===Lx)return e.map(t,r);for(var n=[],i=0,a=e.length;i<a;i++)n.push(t.call(r,e[i],i,e));return n}function Cs(e,t,r,n){if(!!(e&&t)){for(var i=0,a=e.length;i<a;i++)r=t.call(n,r,e[i],i,e);return r}}function G0(e,t,r){if(!e)return[];if(!t)return Zd(e);if(e.filter&&e.filter===Rx)return e.filter(t,r);for(var n=[],i=0,a=e.length;i<a;i++)t.call(r,e[i],i,e)&&n.push(e[i]);return n}function w3(e,t,r){if(!!(e&&t)){for(var n=0,i=e.length;n<i;n++)if(t.call(r,e[n],n,e))return e[n]}}function St(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}function Mx(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return e.apply(t,r.concat(Xu.call(arguments)))}}var E3=na&&Vi(na.bind)?na.call.bind(na.bind):Mx;function C3(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(){return e.apply(this,t.concat(Xu.call(arguments)))}}function Jn(e){return Array.isArray?Array.isArray(e):ii.call(e)==="[object Array]"}function Vi(e){return typeof e=="function"}function Ze(e){return typeof e=="string"}function A3(e){return ii.call(e)==="[object String]"}function Si(e){return typeof e=="number"}function sr(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function Vf(e){return!!Yd[ii.call(e)]}function Ix(e){return!!Gd[ii.call(e)]}function X0(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function As(e){return e.colorStops!=null}function Nx(e){return e.image!=null}function S3(e){return ii.call(e)==="[object RegExp]"}function zx(e){return e!==e}function T3(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e.length;r<n;r++)if(e[r]!=null)return e[r]}function Rt(e,t){return e!=null?e:t}function Ba(e,t,r){return e!=null?e:t!=null?t:r}function Zd(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Xu.apply(e,t)}function $x(e){if(typeof e=="number")return[e,e,e,e];var t=e.length;return t===2?[e[0],e[1],e[0],e[1]]:t===3?[e[0],e[1],e[2],e[1]]:e}function Zf(e,t){if(!e)throw new Error(t)}function Hn(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Kd="__ec_primitive__";function D3(e){e[Kd]=!0}function Ti(e){return e[Kd]}var Hx=function(){function e(){this.data={}}return e.prototype.delete=function(t){var r=this.has(t);return r&&delete this.data[t],r},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,r){return this.data[t]=r,this},e.prototype.keys=function(){return St(this.data)},e.prototype.forEach=function(t){var r=this.data;for(var n in r)r.hasOwnProperty(n)&&t(r[n],n)},e}(),Qd=typeof Map=="function";function Ux(){return Qd?new Map:new Hx}var jx=function(){function e(t){var r=Jn(t);this.data=Ux();var n=this;t instanceof e?t.each(i):t&&Kt(t,i);function i(a,s){r?n.set(a,s):n.set(s,a)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,r){return this.data.set(t,r),r},e.prototype.each=function(t,r){this.data.forEach(function(n,i){t.call(r,n,i)})},e.prototype.keys=function(){var t=this.data.keys();return Qd?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e}();function k3(e){return new jx(e)}function B3(e,t){for(var r=new e.constructor(e.length+t.length),n=0;n<e.length;n++)r[n]=e[n];for(var i=e.length,n=0;n<t.length;n++)r[n+i]=t[n];return r}function Ss(e,t){var r;if(Object.create)r=Object.create(e);else{var n=function(){};n.prototype=e,r=new n}return t&&mt(r,t),r}function Jd(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function qa(e,t){return e.hasOwnProperty(t)}function fn(){}var Fa=180/Math.PI;function ai(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function F3(e,t){return e[0]=t[0],e[1]=t[1],e}function Wx(e){return[e[0],e[1]]}function O3(e,t,r){return e[0]=t,e[1]=r,e}function Kf(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function R3(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e}function qx(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function Yx(e){return Math.sqrt(Gx(e))}function Gx(e){return e[0]*e[0]+e[1]*e[1]}function Vs(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function Xx(e,t){var r=Yx(t);return r===0?(e[0]=0,e[1]=0):(e[0]=t[0]/r,e[1]=t[1]/r),e}function V0(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var Vx=V0;function Zx(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var Vn=Zx;function Kx(e,t,r,n){return e[0]=t[0]+n*(r[0]-t[0]),e[1]=t[1]+n*(r[1]-t[1]),e}function Di(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[2]*i+r[4],e[1]=r[1]*n+r[3]*i+r[5],e}function Un(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e}function jn(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e}var An=function(){function e(t,r){this.target=t,this.topTarget=r&&r.topTarget}return e}(),Qx=function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var r=t.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new An(r,t),"dragstart",t.event))},e.prototype._drag=function(t){var r=this._draggingTarget;if(r){var n=t.offsetX,i=t.offsetY,a=n-this._x,s=i-this._y;this._x=n,this._y=i,r.drift(a,s,t),this.handler.dispatchToElement(new An(r,t),"drag",t.event);var o=this.handler.findHover(n,i,r).target,u=this._dropTarget;this._dropTarget=o,r!==o&&(u&&o!==u&&this.handler.dispatchToElement(new An(u,t),"dragleave",t.event),o&&o!==u&&this.handler.dispatchToElement(new An(o,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new An(r,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new An(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e}();const Jx=Qx;var t_=function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,r,n,i){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof r=="function"&&(i=n,n=r,r=null),!n||!t)return this;var s=this._$eventProcessor;r!=null&&s&&s.normalizeQuery&&(r=s.normalizeQuery(r)),a[t]||(a[t]=[]);for(var o=0;o<a[t].length;o++)if(a[t][o].h===n)return this;var u={h:n,query:r,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},f=a[t].length-1,l=a[t][f];return l&&l.callAtLast?a[t].splice(f,0,u):a[t].push(u),this},e.prototype.isSilent=function(t){var r=this._$handlers;return!r||!r[t]||!r[t].length},e.prototype.off=function(t,r){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(r){if(n[t]){for(var i=[],a=0,s=n[t].length;a<s;a++)n[t][a].h!==r&&i.push(n[t][a]);n[t]=i}n[t]&&n[t].length===0&&delete n[t]}else delete n[t];return this},e.prototype.trigger=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],a=this._$eventProcessor;if(i)for(var s=r.length,o=i.length,u=0;u<o;u++){var f=i[u];if(!(a&&a.filter&&f.query!=null&&!a.filter(t,f.query)))switch(s){case 0:f.h.call(f.ctx);break;case 1:f.h.call(f.ctx,r[0]);break;case 2:f.h.call(f.ctx,r[0],r[1]);break;default:f.h.apply(f.ctx,r);break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e.prototype.triggerWithContext=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],a=this._$eventProcessor;if(i)for(var s=r.length,o=r[s-1],u=i.length,f=0;f<u;f++){var l=i[f];if(!(a&&a.filter&&l.query!=null&&!a.filter(t,l.query)))switch(s){case 0:l.h.call(o);break;case 1:l.h.call(o,r[0]);break;case 2:l.h.call(o,r[0],r[1]);break;default:l.h.apply(o,r.slice(1,s-1));break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e}();const si=t_;var e_=Math.log(2);function Z0(e,t,r,n,i,a){var s=n+"-"+i,o=e.length;if(a.hasOwnProperty(s))return a[s];if(t===1){var u=Math.round(Math.log((1<<o)-1&~i)/e_);return e[r][u]}for(var f=n|1<<r,l=r+1;n&1<<l;)l++;for(var c=0,h=0,d=0;h<o;h++){var g=1<<h;g&i||(c+=(d%2?-1:1)*e[r][h]*Z0(e,t-1,l,f,i|g,a),d++)}return a[s]=c,c}function Qf(e,t){var r=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],n={},i=Z0(r,8,0,0,0,n);if(i!==0){for(var a=[],s=0;s<8;s++)for(var o=0;o<8;o++)a[o]==null&&(a[o]=0),a[o]+=((s+o)%2?-1:1)*Z0(r,7,s===0?1:0,1<<s,1<<o,n)/i*t[s];return function(u,f,l){var c=f*a[6]+l*a[7]+1;u[0]=(f*a[0]+l*a[1]+a[2])/c,u[1]=(f*a[3]+l*a[4]+a[5])/c}}}var Jf="___zrEVENTSAVED",Zs=[];function L3(e,t,r,n,i){return K0(Zs,t,n,i,!0)&&K0(e,r,Zs[0],Zs[1])}function K0(e,t,r,n,i){if(t.getBoundingClientRect&&Zt.domSupported&&!tv(t)){var a=t[Jf]||(t[Jf]={}),s=r_(t,a),o=n_(s,a,i);if(o)return o(e,r,n),!0}return!1}function r_(e,t){var r=t.markers;if(r)return r;r=t.markers=[];for(var n=["left","right"],i=["top","bottom"],a=0;a<4;a++){var s=document.createElement("div"),o=s.style,u=a%2,f=(a>>1)%2;o.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[u]+":0",i[f]+":0",n[1-u]+":auto",i[1-f]+":auto",""].join("!important;"),e.appendChild(s),r.push(s)}return r}function n_(e,t,r){for(var n=r?"invTrans":"trans",i=t[n],a=t.srcCoords,s=[],o=[],u=!0,f=0;f<4;f++){var l=e[f].getBoundingClientRect(),c=2*f,h=l.left,d=l.top;s.push(h,d),u=u&&a&&h===a[c]&&d===a[c+1],o.push(e[f].offsetLeft,e[f].offsetTop)}return u&&i?i:(t.srcCoords=s,t[n]=r?Qf(o,s):Qf(s,o))}
14function tv(e){return e.nodeName.toUpperCase()==="CANVAS"}var i_=/([&<>"'])/g,a_={"&":"&","<":"<",">":">",'"':""","'":"'"};function s_(e){return e==null?"":(e+"").replace(i_,function(t,r){return a_[r]})}var o_=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ks=[],u_=Zt.browser.firefox&&+Zt.browser.version.split(".")[0]<39;function Q0(e,t,r,n){return r=r||{},n?tl(e,t,r):u_&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):tl(e,t,r),r}function tl(e,t,r){if(Zt.domSupported&&e.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(tv(e)){var a=e.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(K0(Ks,e,n,i)){r.zrX=Ks[0],r.zrY=Ks[1];return}}r.zrX=r.zrY=0}function Ku(e){return e||window.event}function Be(e,t,r){if(t=Ku(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var s=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];s&&Q0(e,s,t,r)}else{Q0(e,t,t,r);var a=f_(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var o=t.button;return t.which==null&&o!==void 0&&o_.test(t.type)&&(t.which=o&1?1:o&2?3:o&4?2:0),t}function f_(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var i=Math.abs(n!==0?n:r),a=n>0?-1:n<0?1:r>0?-1:1;return 3*i*a}function l_(e,t,r,n){e.addEventListener(t,r,n)}function c_(e,t,r,n){e.removeEventListener(t,r,n)}var h_=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function P3(e){return e.which===2||e.which===3}var d_=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,n){var i=t.touches;if(!!i){for(var a={points:[],touches:[],target:r,event:t},s=0,o=i.length;s<o;s++){var u=i[s],f=Q0(n,u,{});a.points.push([f.zrX,f.zrY]),a.touches.push(u)}this._track.push(a)}},e.prototype._recognize=function(t){for(var r in Qs)if(Qs.hasOwnProperty(r)){var n=Qs[r](this._track,t);if(n)return n}},e}();function el(e){var t=e[1][0]-e[0][0],r=e[1][1]-e[0][1];return Math.sqrt(t*t+r*r)}function v_(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var Qs={pinch:function(e,t){var r=e.length;if(!!r){var n=(e[r-1]||{}).points,i=(e[r-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var a=el(n)/el(i);!isFinite(a)&&(a=1),t.pinchScale=a;var s=v_(n);return t.pinchX=s[0],t.pinchY=s[1],{type:"pinch",target:e[0].target,event:t}}}}};function ln(){return[1,0,0,1,0,0]}function p_(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function ev(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function ki(e,t,r){var n=t[0]*r[0]+t[2]*r[1],i=t[1]*r[0]+t[3]*r[1],a=t[0]*r[2]+t[2]*r[3],s=t[1]*r[2]+t[3]*r[3],o=t[0]*r[4]+t[2]*r[5]+t[4],u=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=n,e[1]=i,e[2]=a,e[3]=s,e[4]=o,e[5]=u,e}function J0(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function rv(e,t,r,n){n===void 0&&(n=[0,0]);var i=t[0],a=t[2],s=t[4],o=t[1],u=t[3],f=t[5],l=Math.sin(r),c=Math.cos(r);return e[0]=i*c+o*l,e[1]=-i*l+o*c,e[2]=a*c+u*l,e[3]=-a*l+c*u,e[4]=c*(s-n[0])+l*(f-n[1])+n[0],e[5]=c*(f-n[1])-l*(s-n[0])+n[1],e}function nv(e,t,r){var n=r[0],i=r[1];return e[0]=t[0]*n,e[1]=t[1]*i,e[2]=t[2]*n,e[3]=t[3]*i,e[4]=t[4]*n,e[5]=t[5]*i,e}function g_(e,t){var r=t[0],n=t[2],i=t[4],a=t[1],s=t[3],o=t[5],u=r*s-a*n;return u?(u=1/u,e[0]=s*u,e[1]=-a*u,e[2]=-n*u,e[3]=r*u,e[4]=(n*o-s*i)*u,e[5]=(a*i-r*o)*u,e):null}function M3(e){var t=ln();return ev(t,e),t}var x_=function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,n=this.y-t.y;return Math.sqrt(r*r+n*n)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,n=this.y-t.y;return r*r+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(!!t){var r=this.x,n=this.y;return this.x=t[0]*r+t[2]*n+t[4],this.y=t[1]*r+t[3]*n+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,n){t.x=r,t.y=n},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,n){t.x=r.x+n.x,t.y=r.y+n.y},e.sub=function(t,r,n){t.x=r.x-n.x,t.y=r.y-n.y},e.scale=function(t,r,n){t.x=r.x*n,t.y=r.y*n},e.scaleAndAdd=function(t,r,n,i){t.x=r.x+n.x*i,t.y=r.y+n.y*i},e.lerp=function(t,r,n,i){var a=1-i;t.x=a*r.x+i*n.x,t.y=a*r.y+i*n.y},e}();const gt=x_;var ia=Math.min,aa=Math.max,Lr=new gt,Pr=new gt,Mr=new gt,Ir=new gt,fi=new gt,li=new gt,__=function(){function e(t,r,n,i){n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),this.x=t,this.y=r,this.width=n,this.height=i}return e.prototype.union=function(t){var r=ia(t.x,this.x),n=ia(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=aa(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=aa(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=r,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,n=t.width/r.width,i=t.height/r.height,a=ln();return J0(a,a,[-r.x,-r.y]),nv(a,a,[n,i]),J0(a,a,[t.x,t.y]),a},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.create(t));var n=this,i=n.x,a=n.x+n.width,s=n.y,o=n.y+n.height,u=t.x,f=t.x+t.width,l=t.y,c=t.y+t.height,h=!(a<u||f<i||o<l||c<s);if(r){var d=1/0,g=0,y=Math.abs(a-u),v=Math.abs(f-i),p=Math.abs(o-l),m=Math.abs(c-s),x=Math.min(y,v),_=Math.min(p,m);a<u||f<i?x>g&&(g=x,y<v?gt.set(li,-y,0):gt.set(li,v,0)):x<d&&(d=x,y<v?gt.set(fi,y,0):gt.set(fi,-v,0)),o<l||c<s?_>g&&(g=_,p<m?gt.set(li,0,-p):gt.set(li,0,m)):x<d&&(d=x,p<m?gt.set(fi,0,p):gt.set(fi,0,-m))}return r&>.copy(r,h?fi:li),h},e.prototype.contain=function(t,r){var n=this;return t>=n.x&&t<=n.x+n.width&&r>=n.y&&r<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},e.applyTransform=function(t,r,n){if(!n){t!==r&&e.copy(t,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],s=n[4],o=n[5];t.x=r.x*i+s,t.y=r.y*a+o,t.width=r.width*i,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Lr.x=Mr.x=r.x,Lr.y=Ir.y=r.y,Pr.x=Ir.x=r.x+r.width,Pr.y=Mr.y=r.y+r.height,Lr.transform(n),Ir.transform(n),Pr.transform(n),Mr.transform(n),t.x=ia(Lr.x,Pr.x,Mr.x,Ir.x),t.y=ia(Lr.y,Pr.y,Mr.y,Ir.y);var u=aa(Lr.x,Pr.x,Mr.x,Ir.x),f=aa(Lr.y,Pr.y,Mr.y,Ir.y);t.width=u-t.x,t.height=f-t.y},e}();const kt=__;var iv="silent";function m_(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:y_}}function y_(){h_(this.event)}var b_=function(e){bt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(si),ci=function(){function e(t,r){this.x=t,this.y=r}return e}(),w_=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Js=new kt(0,0,0,0),av=function(e){bt(t,e);function t(r,n,i,a,s){var o=e.call(this)||this;return o._hovered=new ci(0,0),o.storage=r,o.painter=n,o.painterRoot=a,o._pointerSize=s,i=i||new b_,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr
14=new Jx(o),o}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(Kt(w_,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var n=r.zrX,i=r.zrY,a=sv(this,n,i),s=this._hovered,o=s.target;o&&!o.__zr&&(s=this.findHover(s.x,s.y),o=s.target);var u=this._hovered=a?new ci(n,i):this.findHover(n,i),f=u.target,l=this.proxy;l.setCursor&&l.setCursor(f?f.cursor:"default"),o&&f!==o&&this.dispatchToElement(s,"mouseout",r),this.dispatchToElement(u,"mousemove",r),f&&f!==o&&this.dispatchToElement(u,"mouseover",r)},t.prototype.mouseout=function(r){var n=r.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new ci(0,0)},t.prototype.dispatch=function(r,n){var i=this[r];i&&i.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},t.prototype.dispatchToElement=function(r,n,i){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var s="on"+n,o=m_(n,r,i);a&&(a[s]&&(o.cancelBubble=!!a[s].call(a,o)),a.trigger(n,o),a=a.__hostTarget?a.__hostTarget:a.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(n,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(u){typeof u[s]=="function"&&u[s].call(u,o),u.trigger&&u.trigger(n,o)}))}},t.prototype.findHover=function(r,n,i){var a=this.storage.getDisplayList(),s=new ci(r,n);if(rl(a,s,r,n,i),this._pointerSize&&!s.target){for(var o=[],u=this._pointerSize,f=u/2,l=new kt(r-f,n-f,u,u),c=a.length-1;c>=0;c--){var h=a[c];h!==i&&!h.ignore&&!h.ignoreCoarsePointer&&(!h.parent||!h.parent.ignoreCoarsePointer)&&(Js.copy(h.getBoundingRect()),h.transform&&Js.applyTransform(h.transform),Js.intersect(l)&&o.push(h))}if(o.length)for(var d=4,g=Math.PI/12,y=Math.PI*2,v=0;v<f;v+=d)for(var p=0;p<y;p+=g){var m=r+v*Math.cos(p),x=n+v*Math.sin(p);if(rl(o,s,m,x,i),s.target)return s}}return s},t.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new d_);var i=this._gestureMgr;n==="start"&&i.clear();var a=i.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);
14if(n==="end"&&i.clear(),a){var s=a.type;r.gestureEvent=s;var o=new ci;o.target=a.target,this.dispatchToElement(o,s,a.event)}},t}(si);Kt(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){av.prototype[e]=function(t){var r=t.zrX,n=t.zrY,i=sv(this,r,n),a,s;if((e!=="mouseup"||!i)&&(a=this.findHover(r,n),s=a.target),e==="mousedown")this._downEl=s,this._downPoint=[t.zrX,t.zrY],this._upEl=s;else if(e==="mouseup")this._upEl=s;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||Vx(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function E_(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var n=e,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var s=n.getClipPath();if(s&&!s.contain(t,r))return!1}n.silent&&(i=!0);var o=n.__hostTarget;n=o||n.parent}return i?iv:!0}return!1}function rl(e,t,r,n,i){for(var a=e.length-1;a>=0;a--){var s=e[a],o=void 0;if(s!==i&&!s.ignore&&(o=E_(s,r,n))&&(!t.topTarget&&(t.topTarget=s),o!==iv)){t.target=s;break}}}function sv(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}const C_=av;var ov=32,hi=7;function A_(e){for(var t=0;e>=ov;)t|=e&1,e>>=1;return e+t}function nl(e,t,r,n){var i=t+1;if(i===r)return 1;if(n(e[i++],e[t])<0){for(;i<r&&n(e[i],e[i-1])<0;)i++;S_(e,t,i)}else for(;i<r&&n(e[i],e[i-1])>=0;)i++;return i-t}function S_(e,t,r){for(r--;t<r;){var n=e[t];e[t++]=e[r],e[r--]=n}}function il(e,t,r,n,i){for(n===t&&n++;n<r;n++){for(var a=e[n],s=t,o=n,u;s<o;)u=s+o>>>1,i(a,e[u])<0?o=u:s=u+1;var f=n-s;switch(f){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;f>0;)e[s+f]=e[s+f-1],f--}e[s]=a}}function to(e,t,r,n,i,a){var s=0,o=0,u=1;if(a(e,t[r+i])>0){for(o=n-i;u<o&&a(e,t[r+i+u])>0;)s=u,u=(u<<1)+1,u<=0&&(u=o);u>o&&(u=o),s+=i,u+=i}else{for(o=i+1;u<o&&a(e,t[r+i-u])<=0;)s=u,u=(u<<1)+1,u<=0&&(u=o);u>o&&(u=o);var f=s;s=i-u,u=i-f}for(s++;s<u;){var l=s+(u-s>>>1);a(e,t[r+l])>0?s=l+1:u=l}return u}function eo(e,t,r,n,i,a){var s=0,o=0,u=1;if(a(e,t[r+i])<0){for(o=i+1;u<o&&a(e,t[r+i-u])<0;)s=u,u=(u<<1)+1,u<=0&&(u=o);u>o&&(u=o);var f=s;s=i-u,u=i-f}else{for(o=n-i;u<o&&a(e,t[r+i+u])>=0;)s=u,u=(u<<1)+1,u<=0&&(u=o);u>o&&(u=o),s+=i,u+=i}for(s++;s<u;){var l=s+(u-s>>>1);a(e,t[r+l])<0?u=l:s=l+1}return u}function T_(e,t){var r=hi,n,i,a=0,s=[];n=[],i=[];function o(d,g){n[a]=d,i[a]=g,a+=1}function u(){for(;a>1;){var d=a-2;if(d>=1&&i[d-1]<=i[d]+i[d+1]||d>=2&&i[d-2]<=i[d]+i[d-1])i[d-1]<i[d+1]&&d--;else if(i[d]>i[d+1])break;l(d)}}function f(){for(;a>1;){var d=a-2;d>0&&i[d-1]<i[d+1]&&d--,l(d)}}function l(d){var g=n[d],y=i[d],v=n[d+1],p=i[d+1];i[d]=y+p,d===a-3&&(n[d+1]=n[d+2],i[d+1]=i[d+2]),a--;var m=eo(e[v],e,g,y,0,t);g+=m,y-=m,y!==0&&(p=to(e[g+y-1],e,v,p,p-1,t),p!==0&&(y<=p?c(g,y,v,p):h(g,y,v,p)))}function c(d,g,y,v){var p=0;for(p=0;p<g;p++)s[p]=e[d+p];var m=0,x=y,_=d;if(e[_++]=e[x++],--v===0){for(p=0;p<g;p++)e[_+p]=s[m+p];return}if(g===1){for(p=0;p<v;p++)e[_+p]=e[x+p];e[_+v]=s[m];return}for(var b=r,w,C,A;;){w=0,C=0,A=!1;do if(t(e[x],s[m])<0){if(e[_++]=e[x++],C++,w=0,--v===0){A=!0;break}}else if(e[_++]=s[m++],w++,C=0,--g===1){A=!0;break}while((w|C)<b);if(A)break;
14do{if(w=eo(e[x],s,m,g,0,t),w!==0){for(p=0;p<w;p++)e[_+p]=s[m+p];if(_+=w,m+=w,g-=w,g<=1){A=!0;break}}if(e[_++]=e[x++],--v===0){A=!0;break}if(C=to(s[m],e,x,v,0,t),C!==0){for(p=0;p<C;p++)e[_+p]=e[x+p];if(_+=C,x+=C,v-=C,v===0){A=!0;break}}if(e[_++]=s[m++],--g===1){A=!0;break}b--}while(w>=hi||C>=hi);if(A)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),g===1){for(p=0;p<v;p++)e[_+p]=e[x+p];e[_+v]=s[m]}else{if(g===0)throw new Error;for(p=0;p<g;p++)e[_+p]=s[m+p]}}function h(d,g,y,v){var p=0;for(p=0;p<v;p++)s[p]=e[y+p];var m=d+g-1,x=v-1,_=y+v-1,b=0,w=0;if(e[_--]=e[m--],--g===0){for(b=_-(v-1),p=0;p<v;p++)e[b+p]=s[p];return}if(v===1){for(_-=g,m-=g,w=_+1,b=m+1,p=g-1;p>=0;p--)e[w+p]=e[b+p];e[_]=s[x];return}for(var C=r;;){var A=0,k=0,D=!1;do if(t(s[x],e[m])<0){if(e[_--]=e[m--],A++,k=0,--g===0){D=!0;break}}else if(e[_--]=s[x--],k++,A=0,--v===1){D=!0;break}while((A|k)<C);if(D)break;do{if(A=g-eo(s[x],e,d,g,g-1,t),A!==0){for(_-=A,m-=A,g-=A,w=_+1,b=m+1,p=A-1;p>=0;p--)e[w+p]=e[b+p];if(g===0){D=!0;break}}if(e[_--]=s[x--],--v===1){D=!0;break}if(k=v-to(e[m],s,0,v,v-1,t),k!==0){for(_-=k,x-=k,v-=k,w=_+1,b=x+1,p=0;p<k;p++)e[w+p]=s[b+p];if(v<=1){D=!0;break}}if(e[_--]=e[m--],--g===0){D=!0;break}C--}while(A>=hi||k>=hi);if(D)break;C<0&&(C=0),C+=2}if(r=C,r<1&&(r=1),v===1){for(_-=g,m-=g,w=_+1,b=m+1,p=g-1;p>=0;p--)e[w+p]=e[b+p];e[_]=s[x]}else{if(v===0)throw new Error;for(b=_-(v-1),p=0;p<v;p++)e[b+p]=s[p]}}return{mergeRuns:u,forceMergeRuns:f,pushRun:o}}function D_(e,t,r,n){r||(r=0),n||(n=e.length);var i=n-r;if(!(i<2)){var a=0;if(i<ov){a=nl(e,r,n,t),il(e,r,n,r+a,t);return}var s=T_(e,t),o=A_(i);do{if(a=nl(e,r,n,t),a<o){var u=i;u>o&&(u=o),il(e,r,r+u,r+a,t),a=u}s.pushRun(r,a),s.mergeRuns(),i-=a,r+=a}while(i!==0);s.forceMergeRuns()}}var ve=1,yi=2,Pn=4,al=!1;function ro(){al||(al=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function sl(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var k_=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=sl}return e.prototype.traverse=function(t,r){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,r)},e.prototype.getDisplayList=function(t,r){r=r||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(r),n},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var r=this._roots,n=this._displayList,i=0,a=r.length;i<a;i++)this._updateAndAddDisplayable(r[i],null,t);n.length=this._displayListLen,D_(n,sl)},e.prototype._updateAndAddDisplayable=function(t,r,n){if(!(t.ignore&&!n)){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)r=null;else if(i){r?r=r.slice():r=[];for(var a=i,s=t;a;)a.parent=s,a.updateTransform(),r.push(a),s=a,a=a.getClipPath()}if(t.childrenRef){for(var o=t.childrenRef(),u=0;u<o.length;u++){var f=o[u];t.__dirty&&(f.__dirty|=ve),this._updateAndAddDisplayable(f,r,n)}t.__dirty=0}else{var l=t;r&&r.length?l.__clipPaths=r:l.__clipPaths&&l.__clipPaths.length>0&&(l.__clipPaths=[]),isNaN(l.z)&&(ro(),l.z=0),isNaN(l.z2)&&(ro(),l.z2=0),isNaN(l.zlevel)&&(ro(),l.zlevel=0),this._displayList[this._displayListLen++]=l}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,r,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,r,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,r,n)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,n=t.length;r<n;r++)this.delRoot(t[r]);return}var i=qe(this._roots,t);i>=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}();const B_=k_;var uv;uv=Zt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};const tu=uv;var Oa={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)))},elasticOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-Oa.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?Oa.bounceIn(e*2)*.5:Oa.bounceOut(e*2-1)*.5+.5}};const fv=Oa;var sa=Math.pow,yr=Math.sqrt,Ya=1e-8,lv=1e-4,ol=yr(3),oa=1/3,Ye=ai(),we=ai(),Zn=ai();function xr(e){return e>-Ya&&e<Ya}function cv(e){return e>Ya||e<-Ya}function Yt(e,t,r,n,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*n+3*a*r)}function ul(e,t,r,n,i){var a=1-i;return 3*(((t-e)*a+2*(r-t)*i)*a+(n-r)*i*i)}function hv(e,t,r,n,i,a){var s=n+3*(t-r)-e,o=3*(r-t*2+e),u=3*(t-e),f=e-i,l=o*o-3*s*u,c=o*u-9*s*f,h=u*u-3*o*f,d=0;if(xr(l)&&xr(c))if(xr(o))a[0]=0;else{var g=-u/o;g>=0&&g<=1&&(a[d++]=g)}else{var y=c*c-4*l*h;if(xr(y)){var v=c/l,g=-o/s+v,p=-v/2;g>=0&&g<=1&&(a[d++]=g),p>=0&&p<=1&&(a[d++]=p)}else if(y>0){var m=yr(y),x=l*o+1.5*s*(-c+m),_=l*o+1.5*s*(-c-m);x<0?x=-sa(-x,oa):x=sa(x,oa),_<0?_=-sa(-_,oa):_=sa(_,oa);var g=(-o-(x+_))/(3*s);g>=0&&g<=1&&(a[d++]=g)}else{var b=(2*l*o-3*s*c)/(2*yr(l*l*l)),w=Math.acos(b)/3,C=yr(l),A=Math.cos(w),g=(-o-2*C*A)/(3*s),p=(-o+C*(A+ol*Math.sin(w)))/(3*s),k=(-o+C*(A-ol*Math.sin(w)))/(3*s);g>=0&&g<=1&&(a[d++]=g),p>=0&&p<=1&&(a[d++]=p),k>=0&&k<=1&&(a[d++]=k)}}return d}function dv(e,t,r,n,i){var a=6*r-12*t+6*e,s=9*t+3*n-3*e-9*r,o=3*t-3*e,u=0;
14if(xr(s)){if(cv(a)){var f=-o/a;f>=0&&f<=1&&(i[u++]=f)}}else{var l=a*a-4*s*o;if(xr(l))i[0]=-a/(2*s);else if(l>0){var c=yr(l),f=(-a+c)/(2*s),h=(-a-c)/(2*s);f>=0&&f<=1&&(i[u++]=f),h>=0&&h<=1&&(i[u++]=h)}}return u}function Er(e,t,r,n,i,a){var s=(t-e)*i+e,o=(r-t)*i+t,u=(n-r)*i+r,f=(o-s)*i+s,l=(u-o)*i+o,c=(l-f)*i+f;a[0]=e,a[1]=s,a[2]=f,a[3]=c,a[4]=c,a[5]=l,a[6]=u,a[7]=n}function F_(e,t,r,n,i,a,s,o,u,f,l){var c,h=.005,d=1/0,g,y,v,p;Ye[0]=u,Ye[1]=f;for(var m=0;m<1;m+=.05)we[0]=Yt(e,r,i,s,m),we[1]=Yt(t,n,a,o,m),v=Vn(Ye,we),v<d&&(c=m,d=v);d=1/0;for(var x=0;x<32&&!(h<lv);x++)g=c-h,y=c+h,we[0]=Yt(e,r,i,s,g),we[1]=Yt(t,n,a,o,g),v=Vn(we,Ye),g>=0&&v<d?(c=g,d=v):(Zn[0]=Yt(e,r,i,s,y),Zn[1]=Yt(t,n,a,o,y),p=Vn(Zn,Ye),y<=1&&p<d?(c=y,d=p):h*=.5);return l&&(l[0]=Yt(e,r,i,s,c),l[1]=Yt(t,n,a,o,c)),yr(d)}function O_(e,t,r,n,i,a,s,o,u){for(var f=e,l=t,c=0,h=1/u,d=1;d<=u;d++){var g=d*h,y=Yt(e,r,i,s,g),v=Yt(t,n,a,o,g),p=y-f,m=v-l;c+=Math.sqrt(p*p+m*m),f=y,l=v}return c}function Vt(e,t,r,n){var i=1-n;return i*(i*e+2*n*t)+n*n*r}function fl(e,t,r,n){return 2*((1-n)*(t-e)+n*(r-t))}function R_(e,t,r,n,i){var a=e-2*t+r,s=2*(t-e),o=e-n,u=0;if(xr(a)){if(cv(s)){var f=-o/s;f>=0&&f<=1&&(i[u++]=f)}}else{var l=s*s-4*a*o;if(xr(l)){var f=-s/(2*a);f>=0&&f<=1&&(i[u++]=f)}else if(l>0){var c=yr(l),f=(-s+c)/(2*a),h=(-s-c)/(2*a);f>=0&&f<=1&&(i[u++]=f),h>=0&&h<=1&&(i[u++]=h)}}return u}function vv(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function Ga(e,t,r,n,i){var a=(t-e)*n+e,s=(r-t)*n+t,o=(s-a)*n+a;i[0]=e,i[1]=a,i[2]=o,i[3]=o,i[4]=s,i[5]=r}function L_(e,t,r,n,i,a,s,o,u){var f,l=.005,c=1/0;Ye[0]=s,Ye[1]=o;for(var h=0;h<1;h+=.05){we[0]=Vt(e,r,i,h),we[1]=Vt(t,n,a,h);var d=Vn(Ye,we);d<c&&(f=h,c=d)}c=1/0;for(var g=0;g<32&&!(l<lv);g++){var y=f-l,v=f+l;we[0]=Vt(e,r,i,y),we[1]=Vt(t,n,a,y);var d=Vn(we,Ye);if(y>=0&&d<c)f=y,c=d;else{Zn[0]=Vt(e,r,i,v),Zn[1]=Vt(t,n,a,v);var p=Vn(Zn,Ye);v<=1&&p<c?(f=v,c=p):l*=.5}}return u&&(u[0]=Vt(e,r,i,f),u[1]=Vt(t,n,a,f)),yr(c)}function P_(e,t,r,n,i,a,s){for(var o=e,u=t,f=0,l=1/s,c=1;c<=s;c++){var h=c*l,d=Vt(e,r,i,h),g=Vt(t,n,a,h),y=d-o,v=g-u;f+=Math.sqrt(y*y+v*v),o=d,u=g}return f}var M_=/cubic-bezier\(([0-9,\.e ]+)\)/;function Qu(e){var t=e&&M_.exec(e);if(t){var r=t[1].split(","),n=+Hn(r[0]),i=+Hn(r[1]),a=+Hn(r[2]),s=+Hn(r[3]);if(isNaN(n+i+a+s))return;var o=[];return function(u){return u<=0?0:u>=1?1:hv(0,n,a,1,u,o)&&Yt(0,i,s,1,o[0])}}}var I_=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||fn,this.ondestroy=t.ondestroy||fn,this.onrestart=t.onrestart||fn,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,i=t-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var s=this.easingFunc,o=s?s(a):a;if(this.onframe(o),a===1)if(this.loop){var u=i%n;this._startTime=t-u,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Vi(t)?t:fv[t]||Qu(t)},e}();const N_=I_;var pv=function(){function e(t){this.value=t}return e}(),z_=function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new pv(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,n=t.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),$_=function(){function e(t){this._list=new z_,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var n=this._list,i=this._map,a=null;if(i[t]==null){var s=n.len(),o=this._lastRemovedEntry;if(s>=this._maxSize&&s>0){var u=n.head;n.remove(u),delete i[u.key],a=u.value,this._lastRemovedEntry=u}o?o.value=r:o=new pv(r),o.key=t,n.insertEntry(o),i[t]=o}return a},e.prototype.get=function(t){var r=this._map[t],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const Ts=$_;var ll={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Re(e){return e=Math.round(e),e<0?0:e>255?255:e}function H_(e){return e=Math.round(e),e<0?0:e>360?360:e}function Mi(e){return e<0?0:e>1?1:e}function no(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Re(parseFloat(t)/100*255):Re(parseInt(t,10))}function cn(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Mi(parseFloat(t)/100):Mi(parseFloat(t))}function io(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function _r(e,t,r){return e+(t-e)*r}function ye(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function eu(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var gv=new Ts(20),ua=null;function Sn(e,t){ua&&eu(ua,t),ua=gv.put(e,ua||t.slice())}function Le(e,t){if(!!e){t=t||[];var r=gv.get(e);if(r)return eu(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in ll)return eu(t,ll[n]),Sn(e,t),t;var i=n.length;
14if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){ye(t,0,0,0,1);return}return ye(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),Sn(e,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){ye(t,0,0,0,1);return}return ye(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),Sn(e,t),t}return}var s=n.indexOf("("),o=n.indexOf(")");if(s!==-1&&o+1===i){var u=n.substr(0,s),f=n.substr(s+1,o-(s+1)).split(","),l=1;switch(u){case"rgba":if(f.length!==4)return f.length===3?ye(t,+f[0],+f[1],+f[2],1):ye(t,0,0,0,1);l=cn(f.pop());case"rgb":if(f.length>=3)return ye(t,no(f[0]),no(f[1]),no(f[2]),f.length===3?l:cn(f[3])),Sn(e,t),t;ye(t,0,0,0,1);return;case"hsla":if(f.length!==4){ye(t,0,0,0,1);return}return f[3]=cn(f[3]),ru(f,t),Sn(e,t),t;case"hsl":if(f.length!==3){ye(t,0,0,0,1);return}return ru(f,t),Sn(e,t),t;default:return}}ye(t,0,0,0,1)}}function ru(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=cn(e[1]),i=cn(e[2]),a=i<=.5?i*(n+1):i+n-i*n,s=i*2-a;return t=t||[],ye(t,Re(io(s,a,r+1/3)*255),Re(io(s,a,r)*255),Re(io(s,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function U_(e){if(!!e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),a=Math.max(t,r,n),s=a-i,o=(a+i)/2,u,f;if(s===0)u=0,f=0;else{o<.5?f=s/(a+i):f=s/(2-a-i);var l=((a-t)/6+s/2)/s,c=((a-r)/6+s/2)/s,h=((a-n)/6+s/2)/s;t===a?u=h-c:r===a?u=1/3+l-h:n===a&&(u=2/3+c-l),u<0&&(u+=1),u>1&&(u-=1)}var d=[u*360,f,o];return e[3]!=null&&d.push(e[3]),d}}function cl(e,t){var r=Le(e);if(r){for(var n=0;n<3;n++)t<0?r[n]=r[n]*(1-t)|0:r[n]=(255-r[n])*t+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return Zi(r,r.length===4?"rgba":"rgb")}}function I3(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){r=r||[];var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),s=t[i],o=t[a],u=n-i;return r[0]=Re(_r(s[0],o[0],u)),r[1]=Re(_r(s[1],o[1],u)),r[2]=Re(_r(s[2],o[2],u)),r[3]=Mi(_r(s[3],o[3],u)),r}}function N3(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),s=Le(t[i]),o=Le(t[a]),u=n-i,f=Zi([Re(_r(s[0],o[0],u)),Re(_r(s[1],o[1],u)),Re(_r(s[2],o[2],u)),Mi(_r(s[3],o[3],u))],"rgba");return r?{color:f,leftIndex:i,rightIndex:a,value:n}:f}}function z3(e,t,r,n){var i=Le(e);if(e)return i=U_(i),t!=null&&(i[0]=H_(t)),r!=null&&(i[1]=cn(r)),n!=null&&(i[2]=cn(n)),Zi(ru(i),"rgba")}function $3(e,t){var r=Le(e);if(r&&t!=null)return r[3]=Mi(t),Zi(r,"rgba")}function Zi(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function Xa(e,t){var r=Le(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}var hl=new Ts(100);function j_(e){if(Ze(e)){var t=hl.get(e);return t||(t=cl(e,-.1),hl.put(e,t)),t}else if(As(e)){var r=mt({},e);return r.colorStops=It(e.colorStops,function(n){return{offset:n.offset,color:cl(n.color,-.1)}}),r}return e}var Va=Math.round;function Ii(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var r=Le(e);r&&(e="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}return{color:e,opacity:t==null?1:t}}var dl=1e-4;function mr(e){return e<dl&&e>-dl}function fa(e){return Va(e*1e3)/1e3}function nu(e){return Va(e*1e4)/1e4}function W_(e){return"matrix("+fa(e[0])+","+fa(e[1])+","+fa(e[2])+","+fa(e[3])+","+nu(e[4])+","+nu(e[5])+")"}var q_={left:"start",right:"end",center:"middle",middle:"middle"};function Y_(e,t,r){return r==="top"?e+=t/2:r==="bottom"&&(e-=t/2),e}function G_(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function X_(e){var t=e.style,r=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function xv(e){return e&&!!e.image}function V_(e){return e&&!!e.svgElement}function Ju(e){return xv(e)||V_(e)}function _v(e){return e.type==="linear"}function mv(e){return e.type==="radial"}function yv(e){return e&&(e.type==="linear"||e.type==="radial")}function Ds(e){return"url(#"+e+")"}function bv(e){var t=e.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function wv(e){var t=e.x||0,r=e.y||0,n=(e.rotation||0)*Fa,i=Rt(e.scaleX,1),a=Rt(e.scaleY,1),s=e.skewX||0,o=e.skewY||0,u=[];return(t||r)&&u.push("translate("+t+"px,"+r+"px)"),n&&u.push("rotate("+n+")"),(i!==1||a!==1)&&u.push("scale("+i+","+a+")"),(s||o)&&u.push("skew("+Va(s*Fa)+"deg, "+Va(o*Fa)+"deg)"),u.join(" ")}var Z_=function(){return Zt.hasGlobalWindow&&Vi(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),iu=Array.prototype.slice;function nr(e,t,r){return(t-e)*r+e}function ao(e,t,r,n){for(var i=t.length,a=0;a<i;a++)e[a]=nr(t[a],r[a],n);return e}function K_(e,t,r,n){for(var i=t.length,a=i&&t[0].length,s=0;s<i;s++){e[s]||(e[s]=[]);for(var o=0;o<a;o++)e[s][o]=nr(t[s][o],r[s][o],n)}return e}function la(e,t,r,n){for(var i=t.length,a=0;a<i;a++)e[a]=t[a]+r[a]*n;return e}function vl(e,t,r,n){for(var i=t.length,a=i&&t[0].length,s=0;s<i;s++){e[s]||(e[s]=[]);for(var o=0;o<a;o++)e[s][o]=t[s][o]+r[s][o]*n}return e}function Q_(e,t){for(var r=e.length,n=t.length,i=r>n?t:e,a=Math.min(r,n),s=i[a-1]||{color:[0,0,0,0],offset:0},o=a;o<Math.max(r,n);o++)i.push({offset:s.offset,color:s.color.slice()})}function J_(e,t,r){var n=e,i=t;if(!(!n.push||!i.push)){var a=n.length,s=i.length;if(a!==s){var o=a>s;if(o)n.length=s;else for(var u=a;u<s;u++)n.push(r===1?i[u]:iu.call(i[u]))}for(var f=n[0]&&n[0].length,u=0;u<n.length;u++)if(r===1)isNaN(n[u])&&(n[u]=i[u]);else for(var l=0;l<f;l++)isNaN(n[u][l])&&(n[u][l]=i[u][l])}}function Ra(e){if(Ve(e)){var t=e.length;if(Ve(e[0])){for(var r=[],n=0;n<t;n++)r.push(iu.call(e[n]));return r}return iu.call(e)}return e}function La(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=e[3]==null?1:e[3],"rgba("+e.join(",")+")"}function tm(e){return Ve(e&&e[0])?2:1}var ca=0,Pa=1,Ev=2,bi=3,au=4,su=5,pl=6;function gl(e){return e===au||e===su}function ha(e){return e===Pa||e===Ev}var di=[0,0,0,0],em=function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,n){this._needsSort=!0;var i=this.keyframes,a=i.length,s=!1,o=pl,u=r;if(Ve(r)){var f=tm(r);o=f,(f===1&&!Si(r[0])||f===2&&!Si(r[0][0]))&&(s=!0)}else if(Si(r)&&!zx(r))o=ca;else if(Ze(r))if(!isNaN(+r))o=ca;else{var l=Le(r);l&&(u=l,o=bi)}else if(As(r)){var c=mt({},u);c.colorStops=It(r.colorStops,function(d){return{offset:d.offset,color:Le(d.color)}}),_v(r)?o=au:mv(r)&&(o=su),u=c}a===0?this.valType=o:(o!==this.valType||o===pl)&&(s=!0),this.discrete=this.discrete||s;var h={time:t,value:u,rawValue:r,percent:0};return n&&(h.easing=n,h.easingFunc=Vi(n)?n:fv[n]||Qu(n)),i.push(h),h},e.prototype.prepare=function(t,r){var n=this.keyframes;this._needsSort&&n.sort(function(y,v){return y.time-v.time});for(var i=this.valType,a=n.length,s=n[a-1],o=this.discrete,u=ha(i),f=gl(i),l=0;l<a;l++){var c=n[l],h=c.value,d=s.value;c.percent=c.time/t,o||(u&&l!==a-1?J_(h,d,i):f&&Q_(h.colorStops,d.colorStops))}if(!o&&i!==su&&r&&this.needsAnimate()&&r.needsAnimate()&&i===r.valType&&!r._finished){this._additiveTrack=r;for(var g=n[0].value,l=0;l<a;l++)i===ca?n[l].additiveValue=n[l].value-g:i===bi?n[l].additiveValue=la([],n[l].value,g,-1):ha(i)&&(n[l].additiveValue=i===Pa?la([],n[l].value,g,-1):vl([],n[l].value,g,-1))}},e.prototype.step=function(t,r){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n=this._additiveTrack!=null,i=n?"additiveValue":"value",a=this.valType,s=this.keyframes,o=s.length,u=this.propName,f=a===bi,l,c=this._lastFr,h=Math.min,d,g;if(o===1)d=g=s[0];else{if(r<0)l=0;else if(r<this._lastFrP){var y=h(c+1,o-1);for(l=y;l>=0&&!(s[l].percent<=r);l--);l=h(l,o-2)}else{for(l=c;l<o&&!(s[l].percent>r);l++);l=h(l-1,o-2)}g=s[l+1],d=s[l]}if(!!(d&&g)){this._lastFr=l,this._lastFrP=r;var v=g.percent-d.percent,p=v===0?1:h((r-d.percent)/v,1);g.easingFunc&&(p=g.easingFunc(p));var m=n?this._additiveValue:f?di:t[u];
14if((ha(a)||f)&&!m&&(m=this._additiveValue=[]),this.discrete)t[u]=p<1?d.rawValue:g.rawValue;else if(ha(a))a===Pa?ao(m,d[i],g[i],p):K_(m,d[i],g[i],p);else if(gl(a)){var x=d[i],_=g[i],b=a===au;t[u]={type:b?"linear":"radial",x:nr(x.x,_.x,p),y:nr(x.y,_.y,p),colorStops:It(x.colorStops,function(C,A){var k=_.colorStops[A];return{offset:nr(C.offset,k.offset,p),color:La(ao([],C.color,k.color,p))}}),global:_.global},b?(t[u].x2=nr(x.x2,_.x2,p),t[u].y2=nr(x.y2,_.y2,p)):t[u].r=nr(x.r,_.r,p)}else if(f)ao(m,d[i],g[i],p),n||(t[u]=La(m));else{var w=nr(d[i],g[i],p);n?this._additiveValue=w:t[u]=w}n&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,n=this.propName,i=this._additiveValue;r===ca?t[n]=t[n]+i:r===bi?(Le(t[n],di),la(di,di,i,1),t[n]=La(di)):r===Pa?la(t[n],t[n],i,1):r===Ev&&vl(t[n],t[n],i,1)},e}(),tf=function(){function e(t,r,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&i){Zu("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,n){return this.whenWithKeys(t,r,St(r),n)},e.prototype.whenWithKeys=function(t,r,n,i){for(var a=this._tracks,s=0;s<n.length;s++){var o=n[s],u=a[o];if(!u){u=a[o]=new em(o);var f=void 0,l=this._getAdditiveTrack(o);if(l){var c=l.keyframes,h=c[c.length-1];f=h&&h.value,l.valType===bi&&f&&(f=La(f))}else f=this._target[o];if(f==null)continue;t>0&&u.addKeyframe(0,Ra(f),i),this._trackKeys.push(o)}u.addKeyframe(t,Ra(r[o]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,n=0;n<r;n++)t[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,r=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,r)for(var n=0;n<r.length;n++)r[n].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,r=this._trackKeys,n=0;n<r.length;n++)t[r[n]].setFinished()},e.prototype._getAdditiveTrack=function(t){var r,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var a=n[i].getTrack(t);a&&(r=a)}return r},e.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var r=this,n=[],i=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var s=this._trackKeys[a],o=this._tracks[s],u=this._getAdditiveTrack(s),f=o.keyframes,l=f.length;if(o.prepare(i,u),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var c=f[l-1];c&&(r._target[o.propName]=c.rawValue),o.setFinished()}else n.push(o)}if(n.length||this._force){var h=new N_({life:i,loop:this._loop,delay:this._delay||0,onframe:function(d){r._started=2;var g=r._additiveAnimators;if(g){for(var y=!1,v=0;v<g.length;v++)if(g[v]._clip){y=!0;break}y||(r._additiveAnimators=null)}for(var v=0;v<n.length;v++)n[v].step(r._target,d);var p=r._onframeCbs;if(p)for(var v=0;v<p.length;v++)p[v](r._target,d)},ondestroy:function(){r._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(!!this._clip){var r=this._clip;t&&r.onframe(1),this._abortedCallback()}},e.prototype.delay=function(t){return this._delay=t,this},e.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},e.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},e.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(t){return this._tracks[t]},e.prototype.getTracks=function(){var t=this;return It(this._trackKeys,function(r){return t._tracks[r]})},e.prototype.stopTracks=function(t,r){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,a=0;a<t.length;a++){var s=n[t[a]];s&&!s.isFinished()&&(r?s.step(this._target,1):this._started===1&&s.step(this._target,0),s.setFinished())}for(var o=!0,a=0;a<i.length;a++)if(!n[i[a]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},e.prototype.saveTo=function(t,r,n){if(!!t){r=r||this._trackKeys;for(var i=0;i<r.length;i++){var a=r[i],s=this._tracks[a];if(!(!s||s.isFinished())){var o=s.keyframes,u=o[n?0:o.length-1];u&&(t[a]=Ra(u.rawValue))}}}},e.prototype.__changeFinalValue=function(t,r){r=r||St(t);for(var n=0;n<r.length;n++){var i=r[n],a=this._tracks[i];if(!!a){var s=a.keyframes;if(s.length>1){var o=s.pop();a.addKeyframe(o.time,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e}();function Wn(){return new Date().getTime()}var rm=function(e){bt(t,e);function t(r){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(r){if(!!r.animation){var n=r.prev,i=r.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},t.prototype.update=function(r){for(var n=Wn()-this._pausedTime,i=n-this._time,a=this._head;a;){var s=a.next,o=a.step(n,i);o&&(a.ondestroy(),this.removeClip(a)),a=s}this._time=n,r||(this.trigger("frame",i),this.stage.update&&this.stage.update(
14))},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(tu(n),!r._paused&&r.update())}tu(n)},t.prototype.start=function(){this._running||(this._time=Wn(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Wn(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Wn()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,n){n=n||{},this.start();var i=new tf(r,n.loop);return this.addAnimator(i),i},t}(si);const nm=rm;var im=300,so=Zt.domSupported,oo=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=It(e,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:e,touch:t,pointer:n}}(),xl={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},_l=!1;function ou(e){var t=e.pointerType;return t==="pen"||t==="touch"}function am(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function uo(e){e&&(e.zrByTouch=!0)}function sm(e,t){return Be(e.dom,new om(e,t),!0)}function Cv(e,t){for(var r=t,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return n}var om=function(){function e(t,r){this.stopPropagation=fn,this.stopImmediatePropagation=fn,this.preventDefault=fn,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e}(),Fe={mousedown:function(e){e=Be(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=Be(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=Be(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=Be(this.dom,e);var t=e.toElement||e.relatedTarget;Cv(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){_l=!0,e=Be(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){_l||(e=Be(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=Be(this.dom,e),uo(e),this.__lastTouchMoment=ne
14w Date,this.handler.processGesture(e,"start"),Fe.mousemove.call(this,e),Fe.mousedown.call(this,e)},touchmove:function(e){e=Be(this.dom,e),uo(e),this.handler.processGesture(e,"change"),Fe.mousemove.call(this,e)},touchend:function(e){e=Be(this.dom,e),uo(e),this.handler.processGesture(e,"end"),Fe.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<im&&Fe.click.call(this,e)},pointerdown:function(e){Fe.mousedown.call(this,e)},pointermove:function(e){ou(e)||Fe.mousemove.call(this,e)},pointerup:function(e){Fe.mouseup.call(this,e)},pointerout:function(e){ou(e)||Fe.mouseout.call(this,e)}};Kt(["click","dblclick","contextmenu"],function(e){Fe[e]=function(t){t=Be(this.dom,t),this.trigger(e,t)}});var uu={pointermove:function(e){ou(e)||uu.mousemove.call(this,e)},pointerup:function(e){uu.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function um(e,t){var r=t.domHandlers;Zt.pointerEventsSupported?Kt(oo.pointer,function(n){Ma(t,n,function(i){r[n].call(e,i)})}):(Zt.touchEventsSupported&&Kt(oo.touch,function(n){Ma(t,n,function(i){r[n].call(e,i),am(t)})}),Kt(oo.mouse,function(n){Ma(t,n,function(i){i=Ku(i),t.touching||r[n].call(e,i)})}))}function fm(e,t){Zt.pointerEventsSupported?Kt(xl.pointer,r):Zt.touchEventsSupported||Kt(xl.mouse,r);function r(n){function i(a){a=Ku(a),Cv(e,a.target)||(a=sm(e,a),t.domHandlers[n].call(e,a))}Ma(t,n,i,{capture:!0})}}function Ma(e,t,r,n){e.mounted[t]=r,e.listenerOpts[t]=n,l_(e.domTarget,t,r,n)}function fo(e){var t=e.mounted;for(var r in t)t.hasOwnProperty(r)&&c_(e.domTarget,r,t[r],e.listenerOpts[r]);e.mounted={}}var ml=function(){function e(t,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=r}return e}(),lm=function(e){bt(t,e);function t(r,n){var i=e.call(this)||this;return i.__pointerCapturing=!1,i.dom=r,i.painterRoot=n,i._localHandlerScope=new ml(r,Fe),so&&(i._globalHandlerScope=new ml(document,uu)),um(i,i._localHandlerScope),i}return t.prototype.dispose=function(){fo(this._localHandlerScope),so&&fo(this._globalHandlerScope)},t.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},t.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,so&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var n=this._globalHandlerScope;r?fm(this,n):fo(n)}},t}(si);const cm=lm;var Av=1;Zt.hasGlobalWindow&&(Av=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Za=Av,fu=.4,lu="#333",cu="#ccc",hm="#eee",yl=p_,bl=5e-5;function Nr(e){return e>bl||e<-bl}var zr=[],Tn=[],lo=ln(),co=Math.abs,ef=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Nr(this.rotation)||Nr(this.x)||Nr(this.y)||Nr(this.scaleX-1)||Nr(this.scaleY-1)||Nr(this.skewX)||Nr(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&(yl(n),this.invTransform=null);return}n=n||ln(),r?this.getLocalTransform(n):yl(n),t&&(r?ki(n,t,n):ev(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(zr);var n=zr[0]<0?-1:1,i=zr[1]<0?-1:1,a=((zr[0]-n)*r+n)/zr[0]||0,s=((zr[1]-i)*r+i)/zr[1]||0;t[0]*=a,t[1]*=a,t[2]*=s,t[3]*=s}this.invTransform=this.invTransform||ln(),g_(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(!!t){var r=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);
14n=Math.sqrt(n)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(!!this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||ln(),ki(Tn,t.invTransform,r),r=Tn);var n=this.originX,i=this.originY;(n||i)&&(lo[4]=n,lo[5]=i,ki(Tn,r,lo),Tn[4]-=n,Tn[5]-=i,r=Tn),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var n=[t,r],i=this.invTransform;return i&&Di(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],i=this.transform;return i&&Di(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&co(t[0]-1)>1e-10&&co(t[3]-1)>1e-10?Math.sqrt(co(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){Sv(this,t)},e.getLocalTransform=function(t,r){r=r||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,s=t.scaleY,o=t.anchorX,u=t.anchorY,f=t.rotation||0,l=t.x,c=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||o||u){var g=n+o,y=i+u;r[4]=-g*a-h*y*s,r[5]=-y*s-d*g*a}else r[4]=r[5]=0;return r[0]=a,r[3]=s,r[1]=d*a,r[2]=h*s,f&&rv(r,r,f),r[4]+=n+l,r[5]+=i+c,r},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),Ni=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Sv(e,t){for(var r=0;r<Ni.length;r++){var n=Ni[r];e[n]=t[n]}}var wl={};function ge(e,t){t=t||wr;var r=wl[t];r||(r=wl[t]=new Ts(500));var n=r.get(e);return n==null&&(n=Xi.measureText(e,t).width,r.put(e,n)),n}function El(e,t,r,n){var i=ge(e,t),a=ks(t),s=wi(0,i,r),o=Mn(0,a,n),u=new kt(s,o,i,a);return u}function dm(e,t,r,n){var i=((e||"")+"").split(` 15`),a=i.length;if(a===1)return El(i[0],t,r,n);for(var s=new kt(0,0,0,0),o=0;o<i.length;o++){var u=El(i[o],t,r,n);o===0?s.copy(u):s.union(u)}return s}function wi(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function Mn(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function ks(e){return ge("\u56FD",e)}function zi(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function vm(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,s=r.width,o=a/2,u=r.x,f=r.y,l="left",c="top";if(n instanceof Array)u+=zi(n[0],r.width),f+=zi(n[1],r.height),l=null,c=null;else switch(n){case"left":u-=i,f+=o,l="right",c="middle";break;case"right":u+=i+s,f+=o,c="middle";break;case"top":u+=s/2,f-=i,l="center",c="bottom";break;case"bottom":u+=s/2,f+=a+i,l="center";break;case"inside":u+=s/2,f+=o,l="center",c="middle";break;case"insideLeft":u+=i,f+=o,c="middle";break;case"insideRight":u+=s-i,f+=o,l="right",c="middle";break;case"insideTop":u+=s/2,f+=i,l="center";break;case"insideBottom":u+=s/2,f+=a-i,l="center",c="bottom";break;case"insideTopLeft":u+=i,f+=i;break;case"insideTopRight":u+=s-i,f+=i,l="right";break;case"insideBottomLeft":u+=i,f+=a-i,c="bottom";break;case"insideBottomRight":u+=s-i,f+=a-i,l="right",c="bottom";break}return e=e||{},e.x=u,e.y=f,e.align=l,e.verticalAlign=c,e}var ho="__zr_normal__",vo=Ni.concat(["ignore"]),pm=Cs(Ni,function(e,t){return e[t]=!0,e},{ignore:!1}),Dn={},gm=new kt(0,0,0,0),rf=function(){function e(t){this.id=Xd(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,s=void 0,o=void 0,u=!1;a.parent=i?this:null;var f=!1;if(a.copyTransform(r),n.position!=null){var l=gm;
15n.layoutRect?l.copy(n.layoutRect):l.copy(this.getBoundingRect()),i||l.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Dn,n,l):vm(Dn,n,l),a.x=Dn.x,a.y=Dn.y,s=Dn.align,o=Dn.verticalAlign;var c=n.origin;if(c&&n.rotation!=null){var h=void 0,d=void 0;c==="center"?(h=l.width*.5,d=l.height*.5):(h=zi(c[0],l.width),d=zi(c[1],l.height)),f=!0,a.originX=-a.x+h+(i?0:l.x),a.originY=-a.y+d+(i?0:l.y)}}n.rotation!=null&&(a.rotation=n.rotation);var g=n.offset;g&&(a.x+=g[0],a.y+=g[1],f||(a.originX=-g[0],a.originY=-g[1]));var y=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,v=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),p=void 0,m=void 0,x=void 0;y&&this.canBeInsideText()?(p=n.insideFill,m=n.insideStroke,(p==null||p==="auto")&&(p=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(p),x=!0)):(p=n.outsideFill,m=n.outsideStroke,(p==null||p==="auto")&&(p=this.getOutsideFill()),(m==null||m==="auto")&&(m=this.getOutsideStroke(p),x=!0)),p=p||"#000",(p!==v.fill||m!==v.stroke||x!==v.autoStroke||s!==v.align||o!==v.verticalAlign)&&(u=!0,v.fill=p,v.stroke=m,v.autoStroke=x,v.align=s,v.verticalAlign=o,r.setDefaultTextStyle(v)),r.__dirty|=ve,u&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?cu:lu},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&Le(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),s=0;s<3;s++)n[s]=n[s]*i+(a?0:255)*(1-i);return n[3]=1,Zi(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},mt(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(sr(t))for(var n=t,i=St(n),a=0;a<i.length;a++){var s=i[a];this.attrKV(s,t[s])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var r=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],a=i.__fromStateTransition;if(!(i.getLoop()||a&&a!==ho)){var s=i.targetName,o=s?r[s]:r;i.saveTo(o)}}},e.prototype._innerSaveToNormal=function(t){var r=this._normalState;r||(r=this._normalState={}),t.textConfig&&!r.textConfig&&(r.textConfig=this.textConfig),this._savePrimaryToNormal(t,r,vo)},e.prototype._savePrimaryToNormal=function(t,r,n){for(var i=0;i<n.length;i++){var a=n[i];t[a]!=null&&!(a in r)&&(r[a]=this[a])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(ho,!1,t)},e.prototype.useState=function(t,r,n,i){var a=t===ho,s=this.hasState();if(!(!s&&a)){var o=this.currentStates,u=this.stateTransition;if(!(qe(o,t)>=0&&(r||o.length===1))){var f;if(this.stateProxy&&!a&&(f=this.stateProxy(t)),f||(f=this.states&&this.states[t]),!f&&!a){Zu("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(f);var l=!!(f&&f.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,f,this._normalState,r,!n&&!this.__inHover&&u&&u.duration>0,u);var c=this._textContent,h=this._textGuide;return c&&c.useState(t,r,n,l),h&&h.useState(t,r,n,l),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ve),f}}},e.prototype.useStates=function(t,r,n){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,s=t.length,o=s===a.length;if(o){for(var u=0;u<s;u++)if(t[u]!==a[u]){o=!1;break}}if(o)return;for(var u=0;u<s;u++){var f=t[u],l=void 0;this.stateProxy&&(l=this.stateProxy(f,t)),l||(l=this.states[f]),l&&i.push(l)}var c=i[s-1],h=!!(c&&c.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),g=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!r&&!this.__inHover&&g&&g.duration>0,g);var y=this._textContent,v=this._textGuide;y&&y.useStates(t,r,h),v&&v.useStates(t,r,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ve)}},e.prototype.isSilent=function(){for(var t=this.silent,r=this.parent;!t&&r;){if(r.silent){t=!0;break}r=r.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var r=this.animators[t];r.targetName&&r.changeTarget(this[r.targetName])}},e.prototype.removeState=function(t){var r=qe(this.currentStates,t);
15if(r>=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},e.prototype.replaceState=function(t,r,n){var i=this.currentStates.slice(),a=qe(i,t),s=qe(i,r)>=0;a>=0?s?i.splice(a,1):i[a]=r:n&&!s&&i.push(r),this.useStates(i)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},n,i=0;i<t.length;i++){var a=t[i];mt(r,a),a.textConfig&&(n=n||{},mt(n,a.textConfig))}return n&&(r.textConfig=n),r},e.prototype._applyStateObj=function(t,r,n,i,a,s){var o=!(r&&i);r&&r.textConfig?(this.textConfig=mt({},i?this.textConfig:n.textConfig),mt(this.textConfig,r.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var u={},f=!1,l=0;l<vo.length;l++){var c=vo[l],h=a&&pm[c];r&&r[c]!=null?h?(f=!0,u[c]=r[c]):this[c]=r[c]:o&&n[c]!=null&&(h?(f=!0,u[c]=n[c]):this[c]=n[c])}if(!a)for(var l=0;l<this.animators.length;l++){var d=this.animators[l],g=d.targetName;d.getLoop()||d.__changeFinalValue(g?(r||n)[g]:r||n)}f&&this._transitionState(t,u,s)},e.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var r=this.__zr;r&&t.addSelfToZr(r),t.__zr=r,t.__hostTarget=this}},e.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},e.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(t){var r=this._textContent;r!==t&&(r&&r!==t&&this.removeTextContent(),t.innerTransformable=new ef,this._attachComponent(t),this._textContent=t,this.markRedraw())},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),mt(this.textConfig,t),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=ve;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var r=this._textContent,n=this._textGuide;r&&(r.__inHover=t),n&&(n.__inHover=t)},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.addAnimator(r[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){if(!!this.__zr){this.__zr=null;var r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.removeAnimator(r[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,r,n){var i=t?this[t]:this,a=new tf(i,r,n);return t&&(a.targetName=t),this.addAnimator(a,t),a},e.prototype.addAnimator=function(t,r){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(r)}).done(function(){var a=i.animators,s=qe(a,t);s>=0&&a.splice(s,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var n=this.animators,i=n.length,a=[],s=0;s<i;s++){var o=n[s];!t||t===o.scope?o.stop(r):a.push(o)}return this.animators=a,this},e.prototype.animateTo=function(t,r,n){po(this,t,r,n)},e.prototype.animateFrom=function(t,r,n){po(this,t,r,n,!0)},e.prototype._transitionState=function(t,r,n,i){for(var a=po(this,r,n,i),s=0;s<a.length;s++)a[s].__fromStateTransition=t},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=ve;function r(n,i,a,s){Object.defineProperty(t,n,{get:function(){if(!this[i]){var u=this[i]=[];o(this,u)}return this[i]},set:function(u){this[a]=u[0],this[s]=u[1],this[i]=u,o(this,u)}});function o(u,f){Object.defineProperty(f,0,{get:function(){return u[a]},set:function(l){u[a]=l}}),Object.defineProperty(f,1,{get:function(){return u[s]},set:function(l){u[s]=l}})}}Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),e}();Vd(rf,si);Vd(rf,ef);function po(e,t,r,n,i){r=r||{};var a=[];Tv(e,"",e,t,r,n,a,i);var s=a.length,o=!1,u=r.done,f=r.aborted,l=function(){o=!0,s--,s<=0&&(o?u&&u():f&&f())},c=function(){s--,s<=0&&(o?u&&u():f&&f())};s||u&&u(),a.length>0&&r.during&&a[0].during(function(g,y){r.during(y)});for(var h=0;h<a.length;h++){var d=a[h];l&&d.done(l),c&&d.aborted(c),r.force&&d.duration(r.duration),d.start(r.easing)}return a}function go(e,t,r){for(var n=0;n<r;n++)e[n]=t[n]}function xm(e){return Ve(e[0])}function _m(e,t,r){if(Ve(t[r]))if(Ve(e[r])||(e[r]=[]),Ix(t[r])){var n=t[r].length;e[r].length!==n&&(e[r]=new t[r].constructor(n),go(e[r],t[r],n))}else{var i=t[r],a=e[r],s=i.length;if(xm(i))for(var o=i[0].length,u=0;u<s;u++)a[u]?go(a[u],i[u],o):a[u]=Array.prototype.slice.call(i[u]);else go(a,i,s);a.length=i.length}else e[r]=t[r]}function mm(e,t){return e===t||Ve(e)&&Ve(t)&&ym(e,t)}function ym(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function Tv(e,t,r,n,i,a,s,o){for(var u=St(n),f=i.duration,l=i.delay,c=i.additive,h=i.setToFinal,d=!sr(a),g=e.animators,y=[],v=0;v<u.length;v++){var p=u[v],m=n[p];if(m!=null&&r[p]!=null&&(d||a[p]))if(sr(m)&&!Ve(m)&&!As(m)){if(t){o||(r[p]=m,e.updateDuringAnimation(t));continue}Tv(e,p,r[p],m,i,a&&a[p],s,o)}else y.push(p);else o||(r[p]=m,e.updateDuringAnimation(t),y.push(p))}var x=y.length;if(!c&&x)for(var _=0;_<g.length;_++){var b=g[_];if(b.targetName===t){var w=b.stopTracks(y);if(w){var C=qe(g,b);g.splice(C,1)}}}
15if(i.force||(y=G0(y,function(F){return!mm(n[F],r[F])}),x=y.length),x>0||i.force&&!s.length){var A=void 0,k=void 0,D=void 0;if(o){k={},h&&(A={});for(var _=0;_<x;_++){var p=y[_];k[p]=r[p],h?A[p]=n[p]:r[p]=n[p]}}else if(h){D={};for(var _=0;_<x;_++){var p=y[_];D[p]=Ra(r[p]),_m(r,n,p)}}var b=new tf(r,!1,!1,c?G0(g,function(T){return T.targetName===t}):null);b.targetName=t,i.scope&&(b.scope=i.scope),h&&A&&b.whenWithKeys(0,A,y),D&&b.whenWithKeys(0,D,y),b.whenWithKeys(f==null?500:f,o?k:n,y).delay(l||0),e.addAnimator(b,t),s.push(b)}}const Dv=rf;var kv=function(e){bt(t,e);function t(r){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var n=this._children,i=0;i<n.length;i++)if(n[i].name===r)return n[i]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(r){return r&&r!==this&&r.parent!==this&&(this._children.push(r),this._doAdd(r)),this},t.prototype.addBefore=function(r,n){if(r&&r!==this&&r.parent!==this&&n&&n.parent===this){var i=this._children,a=i.indexOf(n);a>=0&&(i.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,n){var i=qe(this._children,r);return i>=0&&this.replaceAt(n,i),this},t.prototype.replaceAt=function(r,n){var i=this._children,a=i[n];if(r&&r!==this&&r.parent!==this&&r!==a){i[n]=r,a.parent=null;var s=this.__zr;s&&a.removeSelfFromZr(s),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(r){var n=this.__zr,i=this._children,a=qe(i,r);return a<0?this:(i.splice(a,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,i=0;i<r.length;i++){var a=r[i];n&&a.removeSelfFromZr(n),a.parent=null}return r.length=0,this},t.prototype.eachChild=function(r,n){for(var i=this._children,a=0;a<i.length;a++){var s=i[a];r.call(n,s,a)}return this},t.prototype.traverse=function(r,n){for(var i=0;i<this._children.length;i++){var a=this._children[i],s=r.call(n,a);a.isGroup&&!s&&a.traverse(r,n)}return this},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(r)}},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(r)}},t.prototype.getBoundingRect=function(r){for(var n=new kt(0,0,0,0),i=r||this._children,a=[],s=null,o=0;o<i.length;o++){var u=i[o];if(!(u.ignore||u.invisible)){var f=u.getBoundingRect(),l=u.getLocalTransform(a);l?(kt.applyTransform(n,f,l),s=s||n.clone(),s.union(n)):(s=s||f.clone(),s.union(f))}}return s||n},t}(Dv);kv.prototype.type="group";const In=kv;/*! 16* ZRender, a high performance 2d drawing library. 17* 18* Copyright (c) 2013, Baidu Inc. 19* All rights reserved. 20* 21* LICENSE 22* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt 23*/var Ia={},Bv={};function bm(e){delete Bv[e]}function wm(e){if(!e)return!1;if(typeof e=="string")return Xa(e,1)<fu;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=Xa(t[i].color,1);return r/=n,r<fu}return!1}var Em=function(){function e(t,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var a=new B_,s=n.renderer||"canvas";Ia[s]||(s=St(Ia)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var o=new Ia[s](r,a,n,t),u=n.ssr||o.ssrOnly;this.storage=a,this.painter=o;var f=!Zt.node&&!Zt.worker&&!u?new cm(o.getViewportRoot(),o.root):null,l=n.useCoarsePointer,c=l==null||l==="auto"?Zt.touchEventsSupported:!!l,h=44,d;c&&(d=Rt(n.pointerSize,h)),this.handler=new C_(a,o,f,o.root,d),this.animation=new nm({stage:{update:u?null:function(){return i._flush(!0)}}}),u||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh())}
23,e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=wm(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(t){var r,n=Wn();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=Wn();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){if(!this._disposed)return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this._disposed||this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this._disposed||this.handler.off(t,r)},e.prototype.trigger=function(t,r){this._disposed||this.handler.trigger(t,r)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof In&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,bm(this.id))},e}();function H3(e,t){var r=new Em(Xd(),e,t);return Bv[r.id]=r,r}function U3(e,t){Ia[e]=t}var hu;function Cm(e){if(typeof hu=="function")return hu(e)}function j3(e){hu=e}var du=new Ts(50);function Am(e){if(typeof e=="string"){var t=du.get(e);return t&&t.image}else return e}function nf(e,t,r,n,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=du.get(e),s={hostEl:r,cb:n,cbPayload:i};return a?(t=a.image,!Bs(t)&&a.pending.push(s)):(t=Xi.loadImage(e,Cl,Cl),t.__zrImageSrc=e,du.put(e,t.__cachedImgObj={image:t,pending:[s]})),t}else return e;else return t}function Cl(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var r=e.pending[t],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}e.pending.length=0}function Bs(e){return e&&e.width&&e.height}var xo=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Sm(e,t,r,n,i,a){if(!r){e.text="",e.isTruncated=!1;return}var s=(t+"").split(` 24`);a=Fv(r,n,i,a);for(var o=!1,u={},f=0,l=s.length;f<l;f++)Ov(u,s[f],a),s[f]=u.textLine,o=o||u.isTruncated;e.text=s.join(` 25`),e.isTruncated=o}function Fv(e,t,r,n){n=n||{};var i=mt({},n);i.font=t,r=Rt(r,"..."),i.maxIterations=Rt(n.maxIterations,2);var a=i.minChar=Rt(n.minChar,0);i.cnCharWidth=ge("\u56FD",t);var s=i.ascCharWidth=ge("a",t);i.placeholder=Rt(n.placeholder,"");for(var o=e=Math.max(0,e-1),u=0;u<a&&o>=s;u++)o-=s;var f=ge(r,t);return f>o&&(r="",f=0),o=e-f,i.ellipsis=r,i.ellipsisWidth=f,i.contentWidth=o,i.containerWidth=e,i}function Ov(e,t,r){var n=r.containerWidth,i=r.font,a=r.contentWidth;if(!n){e.textLine="",e.isTruncated=!1;return}var s=ge(t,i);if(s<=n){e.textLine=t,e.isTruncated=!1;return}for(var o=0;;o++){if(s<=a||o>=r.maxIterations){t+=r.ellipsis;break}var u=o===0?Tm(t,a,r.ascCharWidth,r.cnCharWidth):s>0?Math.floor(t.length*a/s):0;t=t.substr(0,u),s=ge(t,i)}t===""&&(t=r.placeholder),e.textLine=t,e.isTruncated=!0}function Tm(e,t,r,n){for(var i=0,a=0,s=e.length;a<s&&i<t;a++){var o=e.charCodeAt(a);i+=0<=o&&o<=127?r:n}return a}function Dm(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,i=t.font,a=r==="truncate",s=ks(i),o=Rt(t.lineHeight,s),u=!!t.backgroundColor,f=t.lineOverflow==="truncate",l=!1,c=t.width,h;c!=null&&(r==="break"||r==="breakAll")?h=e?Rv(e,t.font,c,r==="breakAll",0).lines:[]:h=e?e.split(` 26`):[];var d=h.length*o,g=Rt(t.height,d);if(d>g&&f){var y=Math.floor(g/o);l=l||h.length>y,h=h.slice(0,y)}if(e&&a&&c!=null)for(var v=Fv(c,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),p={},m=0;m<h.length;
26m++)Ov(p,h[m],v),h[m]=p.textLine,l=l||p.isTruncated;for(var x=g,_=0,m=0;m<h.length;m++)_=Math.max(ge(h[m],i),_);c==null&&(c=_);var b=_;return n&&(x+=n[0]+n[2],b+=n[1]+n[3],c+=n[1]+n[3]),u&&(b=c),{lines:h,height:g,outerWidth:b,outerHeight:x,lineHeight:o,calculatedLineHeight:s,contentWidth:_,contentHeight:d,width:c,isTruncated:l}}var km=function(){function e(){}return e}(),Al=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),Bm=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e}();function Fm(e,t){var r=new Bm;if(e!=null&&(e+=""),!e)return r;for(var n=t.width,i=t.height,a=t.overflow,s=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,o=xo.lastIndex=0,u;(u=xo.exec(e))!=null;){var f=u.index;f>o&&_o(r,e.substring(o,f),t,s),_o(r,u[2],t,s,u[1]),o=xo.lastIndex}o<e.length&&_o(r,e.substring(o,e.length),t,s);var l=[],c=0,h=0,d=t.padding,g=a==="truncate",y=t.lineOverflow==="truncate",v={};function p(Z,I,P){Z.width=I,Z.lineHeight=P,c+=P,h=Math.max(h,I)}t:for(var m=0;m<r.lines.length;m++){for(var x=r.lines[m],_=0,b=0,w=0;w<x.tokens.length;w++){var C=x.tokens[w],A=C.styleName&&t.rich[C.styleName]||{},k=C.textPadding=A.padding,D=k?k[1]+k[3]:0,F=C.font=A.font||t.font;C.contentHeight=ks(F);var T=Rt(A.height,C.contentHeight);if(C.innerHeight=T,k&&(T+=k[0]+k[2]),C.height=T,C.lineHeight=Ba(A.lineHeight,t.lineHeight,T),C.align=A&&A.align||t.align,C.verticalAlign=A&&A.verticalAlign||"middle",y&&i!=null&&c+C.lineHeight>i){var R=r.lines.length;w>0?(x.tokens=x.tokens.slice(0,w),p(x,b,_),r.lines=r.lines.slice(0,m+1)):r.lines=r.lines.slice(0,m),r.isTruncated=r.isTruncated||r.lines.length<R;break t}var E=A.width,z=E==null||E==="auto";if(typeof E=="string"&&E.charAt(E.length-1)==="%")C.percentWidth=E,l.push(C),C.contentWidth=ge(C.text,F);else{if(z){var W=A.backgroundColor,q=W&&W.image;q&&(q=Am(q),Bs(q)&&(C.width=Math.max(C.width,q.width*T/q.height)))}var G=g&&n!=null?n-b:null;G!=null&&G<C.width?!z||G<D?(C.text="",C.width=C.contentWidth=0):(Sm(v,C.text,G-D,F,t.ellipsis,{minChar:t.truncateMinChar}),C.text=v.text,r.isTruncated=r.isTruncated||v.isTruncated,C.width=C.contentWidth=ge(C.text,F)):C.contentWidth=ge(C.text,F)}C.width+=D,b+=C.width,A&&(_=Math.max(_,C.lineHeight))}p(x,b,_)}r.outerWidth=r.width=Rt(n,h),r.outerHeight=r.height=Rt(i,c),r.contentHeight=c,r.contentWidth=h,d&&(r.outerWidth+=d[1]+d[3],r.outerHeight+=d[0]+d[2]);for(var m=0;m<l.length;m++){var C=l[m],Y=C.percentWidth;C.width=parseInt(Y,10)/100*r.width}return r}function _o(e,t,r,n,i){var a=t==="",s=i&&r.rich[i]||{},o=e.lines,u=s.font||r.font,f=!1,l,c;if(n){var h=s.padding,d=h?h[1]+h[3]:0;if(s.width!=null&&s.width!=="auto"){var g=zi(s.width,n.width)+d;o.length>0&&g+n.accumWidth>n.width&&(l=t.split(` 27`),f=!0),n.accumWidth=g}else{var y=Rv(t,u,n.width,n.breakAll,n.accumWidth);n.accumWidth=y.accumWidth+d,c=y.linesWidths,l=y.lines}}else l=t.split(` 28`);for(var v=0;v<l.length;v++){var p=l[v],m=new km;if(m.styleName=i,m.text=p,m.isLineHolder=!p&&!a,typeof s.width=="number"?m.width=s.width:m.width=c?c[v]:ge(p,u),!v&&!f){var x=(o[o.length-1]||(o[0]=new Al)).tokens,_=x.length;_===1&&x[0].isLineHolder?x[0]=m:(p||!_||a)&&x.push(m)}else o.push(new Al([m]))}}function Om(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var Rm=Cs(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function Lm(e){return Om(e)?!!Rm[e]:!0}function Rv(e,t,r,n,i){for(var a=[],s=[],o="",u="",f=0,l=0,c=0;c<e.length;c++){var h=e.charAt(c);if(h===` 29`){u&&(o+=u,l+=f),a.push(o),s.push(l),o="",u="",f=0,l=0;continue}var d=ge(h,t),g=n?!1:!Lm(h);if(a.length?l+d>r:i+l+d>r){l?(o||u)&&(g?(o||(o=u,u="",f=0,l=f),a.push(o),s.push(l-f),u+=h,f+=d,o="",l=f):(u&&(o+=u,u="",f=0),a.push(o),s.push(l),o=h,l=d)):g?(a.push(u),s.push(f),u=h,f=d):(a.push(h),s.push(d));continue}l+=d,g?(u+=h,f+=d):(u&&(o+=u,u="",f=0),o+=h)}return!a.length&&!o&&(o=e,u="",f=0),u&&(o+=u),o&&(a.push(o),s.push(l)),a.length===1&&(l+=i),{accumWidth:l,lines:a,linesWidths:s}}var vu="__zr_style_"+Math.round(Math.random()*10),hn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Fs={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};hn[vu]=!0;var Sl=["z","z2","invisible"],Pm=["invisible"],Mm=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=St(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var s=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&Im(this,r,n)||s&&!s[0]&&!s[3])return!1;if(i&&this.__clipPaths){for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1}if(a&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect
29();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,s=a.shadowBlur||0,o=a.shadowOffsetX||0,u=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new kt(0,0,0,0)),n?kt.applyTransform(r,i,n):r.copy(i),(s||o||u)&&(r.width+=s*2+Math.abs(o),r.height+=s*2+Math.abs(u),r.x=Math.min(r.x,r.x+o-s),r.y=Math.min(r.y,r.y+u-s));var f=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-f),r.y=Math.floor(r.y-f),r.width=Math.ceil(r.width+1+f*2),r.height=Math.ceil(r.height+1+f*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new kt(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:mt(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=yi,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&yi)},t.prototype.styleUpdated=function(){this.__dirty&=~yi},t.prototype.createStyle=function(r){return Ss(hn,r)},t.prototype.useStyle=function(r){r[vu]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[vu]},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,Sl)},t.prototype._applyStateObj=function(r,n,i,a,s,o){e.prototype._applyStateObj.call(this,r,n,i,a,s,o);var u=!(n&&a),f;if(n&&n.style?s?a?f=n.style:(f=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(f,n.style)):(f=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(f,n.style)):u&&(f=i.style),f)if(s){var l=this.style;if(this.style=this.createStyle(u?{}:l),u)for(var c=St(l),h=0;h<c.length;h++){var d=c[h];d in f&&(f[d]=f[d],this.style[d]=l[d])}for(var g=St(f),h=0;h<g.length;h++){var d=g[h];this.style[d]=this.style[d]}this._transitionState(r,{style:f},o,this.getAnimationStyleProps())}else this.useStyle(f);for(var y=this.__inHover?Pm:Sl,h=0;h<y.length;h++){var d=y[h];n&&n[d]!=null?this[d]=n[d]:u&&i[d]!=null&&(this[d]=i[d])}},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var s=r[a];s.style&&(i=i||{},this._mergeStyle(i,s.style))}return i&&(n.style=i),n},t.prototype._mergeStyle=function(r,n){return mt(r,n),r},t.prototype.getAnimationStyleProps=function(){return Fs},t.initDefaultProps=function(){var r=t.prototype;r.type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.dirtyRectTolerance=0,r.__dirty=ve|yi}(),t}(Dv),mo=new kt(0,0,0,0),yo=new kt(0,0,0,0);function Im(e,t,r){return mo.copy(e.getBoundingRect()),e.transform&&mo.applyTransform(e.transform),yo.width=t,yo.height=r,!mo.intersect(yo)}const Ki=Mm;var ue=Math.min,fe=Math.max,bo=Math.sin,wo=Math.cos,$r=Math.PI*2,da=ai(),va=ai(),pa=ai();function Lv(e,t,r){if(e.length!==0){for(var n=e[0],i=n[0],a=n[0],s=n[1],o=n[1],u=1;u<e.length;u++)n=e[u],i=ue(i,n[0]),a=fe(a,n[0]),s=ue(s,n[1]),o=fe(o,n[1]);t[0]=i,t[1]=s,r[0]=a,r[1]=o}}function Tl(e,t,r,n,i,a){i[0]=ue(e,r),i[1]=ue(t,n),a[0]=fe(e,r),a[1]=fe(t,n)}var Dl=[],kl=[];function Nm(e,t,r,n,i,a,s,o,u,f){var l=dv,c=Yt,h=l(e,r,i,s,Dl);u[0]=1/0,u[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var d=0;d<h;d++){var g=c(e,r,i,s,Dl[d]);u[0]=ue(g,u[0]),f[0]=fe(g,f[0])}h=l(t,n,a,o,kl);for(var d=0;d<h;d++){var y=c(t,n,a,o,kl[d]);u[1]=ue(y,u[1]),f[1]=fe(y,f[1])}u[0]=ue(e,u[0]),f[0]=fe(e,f[0]),u[0]=ue(s,u[0]),f[0]=fe(s,f[0]),u[1]=ue(t,u[1]),f[1]=fe(t,f[1]),u[1]=ue(o,u[1]),f[1]=fe(o,f[1])}function zm(e,t,r,n,i,a,s,o){var u=vv,f=Vt,l=fe(ue(u(e,r,i),1),0),c=fe(ue(u(t,n,a),1),0),h=f(e,r,i,l),d=f(t,n,a,c);s[0]=ue(e,i,h),s[1]=ue(t,a,d),o[0]=fe(e,i,h),o[1]=fe(t,a,d)}function $m(e,t,r,n,i,a,s,o,u){var f=Un,l=jn,c=Math.abs(i-a);if(c%$r<1e-4&&c>1e-4){o[0]=e-r,o[1]=t-n,u[0]=e+r,u[1]=t+n;return}if(da[0]=wo(i)*r+e,da[1]=bo(i)*n+t,va[0]=wo(a)*r+e,va[1]=bo(a)*n+t,f(o,da,va),l(u,da,va),i=i%$r,i<0&&(i=i+$r),a=a%$r,a<0&&(a=a+$r),i>a&&!s?a+=$r:i<a&&s&&(i+=$r),s){var h=a;a=i,i=h}for(var d=0;d<a;d+=Math.PI/2)d>i&&(pa[0]=wo(d)*r+e,pa[1]=bo(d)*n+t,f(o,pa,o),l(u,pa,u))}var _t={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Hr=[],Ur=[],ze=[],cr=[],$e=[],He=[],Eo=Math.min,Co=Math.max,jr=Math.cos,Wr=Math.sin,er=Math.abs,pu=Math.PI,gr=pu*2,Ao=typeof Float32Array<"u",vi=[];function So(e){var t=Math.round(e/pu*1e8)/1e8;return t%2*pu}function Hm(e,t){var r=So(e[0]);r<0&&(r+=gr);var n=r-e[0],i=e[1];i+=n,!t&&i-r>=gr?i=r+gr:t&&r-i>=gr?i=r-gr:!t&&r>i?i=r+(gr-So(r-i)):t&&r<i&&(i=r-(gr-So(i-r))),e[0]=r,e[1]=i}var Um=function(){function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,r,n){n=n||0,n>0&&(this._ux=er(n/Za/t)||0,this._uy=er(n/Za/r)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(_t.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var n=er(t-this._xi),i=er(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData(_t.L,t,r),this._ctx&&a&&this._ctx.lineTo(t,r),a)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var s=n*n+i*i;s>
29this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=s)}return this},e.prototype.bezierCurveTo=function(t,r,n,i,a,s){return this._drawPendingPt(),this.addData(_t.C,t,r,n,i,a,s),this._ctx&&this._ctx.bezierCurveTo(t,r,n,i,a,s),this._xi=a,this._yi=s,this},e.prototype.quadraticCurveTo=function(t,r,n,i){return this._drawPendingPt(),this.addData(_t.Q,t,r,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,r,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,r,n,i,a,s){this._drawPendingPt(),vi[0]=i,vi[1]=a,Hm(vi,s),i=vi[0],a=vi[1];var o=a-i;return this.addData(_t.A,t,r,n,n,i,o,0,s?0:1),this._ctx&&this._ctx.arc(t,r,n,i,a,s),this._xi=jr(a)*n+t,this._yi=Wr(a)*n+r,this},e.prototype.arcTo=function(t,r,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,n,i,a),this},e.prototype.rect=function(t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,n,i),this.addData(_t.R,t,r,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(_t.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&t.closePath(),this._xi=r,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var r=t.length;!(this.data&&this.data.length===r)&&Ao&&(this.data=new Float32Array(r));for(var n=0;n<r;n++)this.data[n]=t[n];this._len=r},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var r=t.length,n=0,i=this._len,a=0;a<r;a++)n+=t[a].len();Ao&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var a=0;a<r;a++)for(var s=t[a].data,o=0;o<s.length;o++)this.data[i++]=s[o];this._len=i},e.prototype.addData=function(t,r,n,i,a,s,o,u,f){if(!!this._saveData){var l=this.data;this._len+arguments.length>l.length&&(this._expandData(),l=this.data);for(var c=0;c<arguments.length;c++)l[this._len++]=arguments[c]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r<this._len;r++)t[r]=this.data[r];this.data=t}},e.prototype.toStatic=function(){if(!!this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Ao&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){ze[0]=ze[1]=$e[0]=$e[1]=Number.MAX_VALUE,cr[0]=cr[1]=He[0]=He[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,i=0,a=0,s;for(s=0;s<this._len;){var o=t[s++],u=s===1;switch(u&&(r=t[s],n=t[s+1],i=r,a=n),o){case _t.M:r=i=t[s++],n=a=t[s++],$e[0]=i,$e[1]=a,He[0]=i,He[1]=a;break;case _t.L:Tl(r,n,t[s],t[s+1],$e,He),r=t[s++],n=t[s++];break;case _t.C:Nm(r,n,t[s++],t[s++],t[s++],t[s++],t[s],t[s+1],$e,He),r=t[s++],n=t[s++];break;case _t.Q:zm(r,n,t[s++],t[s++],t[s],t[s+1],$e,He),r=t[s++],n=t[s++];break;case _t.A:var f=t[s++],l=t[s++],c=t[s++],h=t[s++],d=t[s++],g=t[s++]+d;s+=1;var y=!t[s++];u&&(i=jr(d)*c+f,a=Wr(d)*h+l),$m(f,l,c,h,d,g,y,$e,He),r=jr(g)*c+f,n=Wr(g)*h+l;break;case _t.R:i=r=t[s++],a=n=t[s++];var v=t[s++],p=t[s++];Tl(i,a,i+v,a+p,$e,He);break;case _t.Z:r=i,n=a;break}Un(ze,ze,$e),jn(cr,cr,He)}return s===0&&(ze[0]=ze[1]=cr[0]=cr[1]=0),new kt(ze[0],ze[1],cr[0]-ze[0],cr[1]-ze[1])},e.prototype._calculateLength=function(){var t=this.data,r=this._len,n=this._ux,i=this._uy,a=0,s=0,o=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var f=this._pathSegLen,l=0,c=0,h=0;h<r;){var d=t[h++],g=h===1;g&&(a=t[h],s=t[h+1],o=a,u=s);var y=-1;switch(d){case _t.M:a=o=t[h++],s=u=t[h++];break;case _t.L:{var v=t[h++],p=t[h++],m=v-a,x=p-s;(er(m)>n||er(x)>i||h===r-1)&&(y=Math.sqrt(m*m+x*x),a=v,s=p);break}case _t.C:{var _=t[h++],b=t[h++],v=t[h++],p=t[h++],w=t[h++],C=t[h++];y=O_(a,s,_,b,v,p,w,C,10),a=w,s=C;break}case _t.Q:{var _=t[h++],b=t[h++],v=t[h++],p=t[h++];y=P_(a,s,_,b,v,p,10),a=v,s=p;break}case _t.A:var A=t[h++],k=t[h++],D=t[h++],F=t[h++],T=t[h++],R=t[h++],E=R+T;h+=1,g&&(o=jr(T)*D+A,u=Wr(T)*F+k),y=Co(D,F)*Eo(gr,Math.abs(R)),a=jr(E)*D+A,s=Wr(E)*F+k;break;case _t.R:{o=a=t[h++],u=s=t[h++];var z=t[h++],W=t[h++];y=z*2+W*2;break}case _t.Z:{var m=o-a,x=u-s;y=Math.sqrt(m*m+x*x),a=o,s=u;break}}y>=0&&(f[c++]=y,l+=y)}return this._pathLen=l,l},e.prototype.rebuildPath=function(t,r){var n=this.data,i=this._ux,a=this._uy,s=this._len,o,u,f,l,c,h,d=r<1,g,
29y,v=0,p=0,m,x=0,_,b;if(d&&(this._pathSegLen||this._calculateLength(),g=this._pathSegLen,y=this._pathLen,m=r*y,!m))return;t:for(var w=0;w<s;){var C=n[w++],A=w===1;switch(A&&(f=n[w],l=n[w+1],o=f,u=l),C!==_t.L&&x>0&&(t.lineTo(_,b),x=0),C){case _t.M:o=f=n[w++],u=l=n[w++],t.moveTo(f,l);break;case _t.L:{c=n[w++],h=n[w++];var k=er(c-f),D=er(h-l);if(k>i||D>a){if(d){var F=g[p++];if(v+F>m){var T=(m-v)/F;t.lineTo(f*(1-T)+c*T,l*(1-T)+h*T);break t}v+=F}t.lineTo(c,h),f=c,l=h,x=0}else{var R=k*k+D*D;R>x&&(_=c,b=h,x=R)}break}case _t.C:{var E=n[w++],z=n[w++],W=n[w++],q=n[w++],G=n[w++],Y=n[w++];if(d){var F=g[p++];if(v+F>m){var T=(m-v)/F;Er(f,E,W,G,T,Hr),Er(l,z,q,Y,T,Ur),t.bezierCurveTo(Hr[1],Ur[1],Hr[2],Ur[2],Hr[3],Ur[3]);break t}v+=F}t.bezierCurveTo(E,z,W,q,G,Y),f=G,l=Y;break}case _t.Q:{var E=n[w++],z=n[w++],W=n[w++],q=n[w++];if(d){var F=g[p++];if(v+F>m){var T=(m-v)/F;Ga(f,E,W,T,Hr),Ga(l,z,q,T,Ur),t.quadraticCurveTo(Hr[1],Ur[1],Hr[2],Ur[2]);break t}v+=F}t.quadraticCurveTo(E,z,W,q),f=W,l=q;break}case _t.A:var Z=n[w++],I=n[w++],P=n[w++],j=n[w++],$=n[w++],X=n[w++],tt=n[w++],nt=!n[w++],et=P>j?P:j,at=er(P-j)>.001,ot=$+X,rt=!1;if(d){var F=g[p++];v+F>m&&(ot=$+X*(m-v)/F,rt=!0),v+=F}if(at&&t.ellipse?t.ellipse(Z,I,P,j,tt,$,ot,nt):t.arc(Z,I,et,$,ot,nt),rt)break t;A&&(o=jr($)*P+Z,u=Wr($)*j+I),f=jr(ot)*P+Z,l=Wr(ot)*j+I;break;case _t.R:o=f=n[w],u=l=n[w+1],c=n[w++],h=n[w++];var ut=n[w++],ct=n[w++];if(d){var F=g[p++];if(v+F>m){var S=m-v;t.moveTo(c,h),t.lineTo(c+Eo(S,ut),h),S-=ut,S>0&&t.lineTo(c+ut,h+Eo(S,ct)),S-=ct,S>0&&t.lineTo(c+Co(ut-S,0),h+ct),S-=ut,S>0&&t.lineTo(c,h+Co(ct-S,0));break t}v+=F}t.rect(c,h,ut,ct);break;case _t.Z:if(d){var F=g[p++];if(v+F>m){var T=(m-v)/F;t.lineTo(f*(1-T)+o*T,l*(1-T)+u*T);break t}v+=F}t.closePath(),f=o,l=u}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=_t,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();const Cr=Um;function kn(e,t,r,n,i,a,s){if(i===0)return!1;var o=i,u=0,f=e;if(s>t+o&&s>n+o||s<t-o&&s<n-o||a>e+o&&a>r+o||a<e-o&&a<r-o)return!1;if(e!==r)u=(t-n)/(e-r),f=(e*n-r*t)/(e-r);else return Math.abs(a-e)<=o/2;var l=u*a-s+f,c=l*l/(u*u+1);return c<=o/2*o/2}function jm(e,t,r,n,i,a,s,o,u,f,l){if(u===0)return!1;var c=u;if(l>t+c&&l>n+c&&l>a+c&&l>o+c||l<t-c&&l<n-c&&l<a-c&&l<o-c||f>e+c&&f>r+c&&f>i+c&&f>s+c||f<e-c&&f<r-c&&f<i-c&&f<s-c)return!1;var h=F_(e,t,r,n,i,a,s,o,f,l,null);return h<=c/2}function Wm(e,t,r,n,i,a,s,o,u){if(s===0)return!1;var f=s;if(u>t+f&&u>n+f&&u>a+f||u<t-f&&u<n-f&&u<a-f||o>e+f&&o>r+f&&o>i+f||o<e-f&&o<r-f&&o<i-f)return!1;var l=L_(e,t,r,n,i,a,o,u,null);return l<=f/2}var Bl=Math.PI*2;function ga(e){return e%=Bl,e<0&&(e+=Bl),e}var pi=Math.PI*2;function qm(e,t,r,n,i,a,s,o,u){if(s===0)return!1;var f=s;o-=e,u-=t;var l=Math.sqrt(o*o+u*u);if(l-f>r||l+f<r)return!1;if(Math.abs(n-i)%pi<1e-4)return!0;if(a){var c=n;n=ga(i),i=ga(c)}else n=ga(n),i=ga(i);n>i&&(i+=pi);var h=Math.atan2(u,o);return h<0&&(h+=pi),h>=n&&h<=i||h+pi>=n&&h+pi<=i}function ir(e,t,r,n,i,a){if(a>t&&a>n||a<t&&a<n||n===t)return 0;var s=(a-t)/(n-t),o=n<t?1:-1;(s===1||s===0)&&(o=n<t?.5:-.5);var u=s*(r-e)+e;return u===i?1/0:u>i?o:0}var hr=Cr.CMD,qr=Math.PI*2,Ym=1e-4;function Gm(e,t){return Math.abs(e-t)<Ym}var te=[-1,-1,-1],be=[-1,-1];function Xm(){var e=be[0];be[0]=be[1],be[1]=e}function Vm(e,t,r,n,i,a,s,o,u,f){if(f>t&&f>n&&f>a&&f>o||f<t&&f<n&&f<a&&f<o)return 0;var l=hv(t,n,a,o,f,te);if(l===0)return 0;for(var c=0,h=-1,d=void 0,g=void 0,y=0;y<l;y++){var v=te[y],p=v===0||v===1?.5:1,m=Yt(e,r,i,s,v);m<u||(h<0&&(h=dv(t,n,a,o,be),be[1]<be[0]&&h>1&&Xm(),d=Yt(t,n,a,o,be[0]),h>1&&(g=Yt(t,n,a,o,be[1]))),h===2?v<be[0]?c+=d<t?p:-p:v<be[1]?c+=g<d?p:-p:c+=o<g?p:-p:v<be[0]?c+=d<t?p:-p:c+=o<d?p:-p)}return c}function Zm(e,t,r,n,i,a,s,o){if(o>t&&o>n&&o>a||o<t&&o<n&&o<a)return 0;var u=R_(t,n,a,o,te);if(u===0)return 0;var f=vv(t,n,a);if(f>=0&&f<=1){for(var l=0,c=Vt(t,n,a,f),h=0;h<u;h++){var d=te[h]===0||te[h]===1?.5:1,g=Vt(e,r,i,te[h]);g<s||(te[h]<f?l+=c<t?d:-d:l+=a<c?d:-d)}return l}else{var d=te[0]===0||te[0]===1?.5:1,g=Vt(e,r,i,te[0]);return g<s?0:a<t?d:-d}}function Km(e,t,r,n,i,a,s,o){if(o-=t,o>r||o<-r)return 0;var u=Math.sqrt(r*r-o*o);te[0]=-u,te[1]=u;var f=Math.abs(n-i);if(f<1e-4)return 0;if(f>=qr-1e-4){n=0,i=qr;var l=a?1:-1;return s>=te[0]+e&&s<=te[1]+e?l:0}if(n>i){var c=n;n=i,i=c}n<0&&(n+=qr,i+=qr);for(var h=0,d=0;d<2;d++){var g=te[d];if(g+e>s){var y=Math.atan2(o,g),l=a?1:-1;y<0&&(y=qr+y),(y>=n&&y<=i||y+qr>=n&&y+qr<=i)&&(y>Math.PI/2&&y<Math.PI*1.5&&(l=-l),h+=l)}}return h}function Pv(e,t,r,n,i){for(var a=e.data,s=e.len(),o=0,u=0,f=0,l=0,c=0,h,d,g=0;g<s;){var y=a[g++],v=g===1;switch(y===hr.M&&g>1&&(r||(o+=ir(u,f,l,c,n,i))),v&&(u=a[g],f=a[g+1],l=u,c=f),y){case hr.M:l=a[g++],c=a[g++],u=l,f=c;break;case hr.L:if(r){if(kn(u,f,a[g],a[g+1],t,n,i))return!0}else o+=ir(u,f,a[g],a[g+1],n,i)||0;u=a[g++],f=a[g++];break;case hr.C:if(r){if(jm(u,f,a[g++],a[g++],a[g++],a[g++],a[g],a[g+1],t,n,i))return!0}else o+=Vm(u,f,a[g++],a[g++],a[g++],a[g++],a[g],a[g+1],n,i)||0;u=a[g++],f=a[g++];break;case hr.Q:if(r){if(Wm(u,f,a[g++],a[g++],a[g],a[g+1],t,n,i))return!0}else o+=Zm(u,f,a[g++],a[g++],a[g],a[g+1],n,i)||0;u=a[g++],f=a[g++];break;case hr.A:var p=a[g++],m=a[g++],x=a[g++],_=a[g++],b=a[g++],w=a[g++];g+=1;var C=!!(1-a[g++]);h=Math.cos(b)*x+p,d=Math.sin(b)*_+m,v?(l=h,c=d):o+=ir(u,f,h,d,n,i);var A=(n-p)*_/x+p;if(r){if(qm(p,m,_,b,b+w,C,t,A,i))return!0}else o+=Km(p,m,_,b,b+w,C,A,i);u=Math.cos(b+w)*x+p,f=Math.sin(b+w)*_+m;break;case hr.R:l=u=a[g++],c=f=a[g++];var k=a[g++],D=a[g++];if(h=l+k,d=c+D,r){if(kn(l,c,h,c,t,n,i)||kn(h,c,h,d,t,n,i)||kn(h,d,l,d,t,n,i)||kn(l,d,l,c,t,n,i))return!0}else o+=ir(h,c,h,d,n,i),o+=ir(l,d,l,c,n,i);break;case hr.Z:if(r){if(kn(u,f,l,c,t,n,i))return!0}else o+=ir(u,f,l,c,n,i);u=l,f=c;break}}return!r&&!Gm(f,c)&&(o+=ir(u,f,l,c,n,i)||0),o!==0}function Qm(e,t,r){return Pv(e,0,!1,t,r)}function Jm(e,t,r,n){return Pv(e,t,!0,r,n)}var Ka=Se({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},hn),ty={style:Se({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Fs.style)},To=Ni.concat(["invisible","culling","z","z2","zlevel","parent"]),ey=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.update=function(){var r=this;e.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(u){r.buildPath(u,r.shape)}),i.silent=!0;var a=i.style;for(var s in n)a[s]!==n[s]&&(a[s]=n[s]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var o=0;o<To.length;++o)i[To[o]]=this[To[o]];i.__dirty|=ve}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(r){var n=St(r);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var a=0;a<n.length;a++){var s=n[a],o=r[s];s==="style"?this.style?mt(this.style,o):this.useStyle(o):s==="shape"?mt(this.shape,o):e.prototype.attrKV.call(this,s,o)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var r=this.style.fill;if(r!=="none"){if(Ze(r)){var n=Xa(r,0);return n>.5?lu:n>.2?hm:cu}else if(r)return cu}return lu},t.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(Ze(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),s=Xa(r,0)<fu;if(a===s)return n}},t.prototype.buildPath=function(r,n,i){},t.prototype.pathUpdated=function(){this.__dirty&=~Pn},t.prototype.getUpdatedPathProxy=function(r){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,r),this.path},t.prototype.createPathProxy=function(){this.path=new Cr(!1)},t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return!(n==null||n==="none"||!(r.lineWidth>0))},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,n=this.style,i=!r;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var s=this.path;(a||this.__dirty&Pn)&&(s.beginPath(),this.buildPath(s,this.shape,!1),this.pathUpdated()),r
29=s.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||i){o.copy(r);var u=n.strokeNoScale?this.getLineScale():1,f=n.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;f=Math.max(f,l==null?4:l)}u>1e-10&&(o.width+=f/u,o.height+=f/u,o.x-=f/u/2,o.y-=f/u/2)}return o}return r},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect(),s=this.style;if(r=i[0],n=i[1],a.contain(r,n)){var o=this.path;if(this.hasStroke()){var u=s.lineWidth,f=s.strokeNoScale?this.getLineScale():1;if(f>1e-10&&(this.hasFill()||(u=Math.max(u,this.strokeContainThreshold)),Jm(o,u/f,r,n)))return!0}if(this.hasFill())return Qm(o,r,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Pn,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):e.prototype.attrKV.call(this,r,n)},t.prototype.setShape=function(r,n){var i=this.shape;return i||(i=this.shape={}),typeof r=="string"?i[r]=n:mt(i,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Pn)},t.prototype.createStyle=function(r){return Ss(Ka,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=mt({},this.shape))},t.prototype._applyStateObj=function(r,n,i,a,s,o){e.prototype._applyStateObj.call(this,r,n,i,a,s,o);var u=!(n&&a),f;if(n&&n.shape?s?a?f=n.shape:(f=mt({},i.shape),mt(f,n.shape)):(f=mt({},a?this.shape:i.shape),mt(f,n.shape)):u&&(f=i.shape),f)if(s){this.shape=mt({},this.shape);for(var l={},c=St(f),h=0;h<c.length;h++){var d=c[h];typeof f[d]=="object"?this.shape[d]=f[d]:l[d]=f[d]}this._transitionState(r,{shape:l},o)}else this.shape=f,this.dirtyShape()},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var s=r[a];s.shape&&(i=i||{},this._mergeStyle(i,s.shape))}return i&&(n.shape=i),n},t.prototype.getAnimationStyleProps=function(){return ty},t.prototype.isZeroArea=function(){return!1},t.extend=function(r){var n=function(a){bt(s,a);function s(o){var u=a.call(this,o)||this;return r.init&&r.init.call(u,o),u}return s.prototype.getDefaultStyle=function(){return vn(r.style)},s.prototype.getDefaultShape=function(){return vn(r.shape)},s}(t);for(var i in r)typeof r[i]=="function"&&(n.prototype[i]=r[i]);return n},t.initDefaultProps=function(){var r=t.prototype;r.type="path",r.strokeContainThreshold=5,r.segmentIgnoreThreshold=0,r.subPixelOptimize=!1,r.autoBatch=!1,r.__dirty=ve|yi|Pn}(),t}(Ki);const Nt=ey;var ry=Se({strokeFirst:!0,font:wr,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Ka),Mv=function(e){bt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return n!=null&&n!=="none"&&r.lineWidth>0},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(r){return Ss(ry,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var n=r.text;n!=null?n+="":n="";var i=dm(n,r.font,r.textAlign,r.textBaseline);if(i.x+=r.x||0,i.y+=r.y||0,this.hasStroke()){var a=r.lineWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect},t.initDefaultProps=function(){var r=t.prototype;r.dirtyRectTolerance=10}(),t}(Ki);Mv.prototype.type="tspan";const $i=Mv;var ny=Se({x:0,y:0},hn),iy={style:Se({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Fs.style)};function ay(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var Iv=function(e){bt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return Ss(ny,r)},t.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=ay(n.image)?n.image:this.__image;if(!a)return 0;var s=r==="width"?"height":"width",o=n[s];return o==null?a[r]:a[r]/a[s]*o},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return iy},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new kt(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Ki);Iv.prototype.type="image";const Qi=Iv;function sy(e,t){var r=t.x,n=t.y,i=t.width,a=t.height,s=t.r,o,u,f,l;i<0&&(r=r+i,i=-i),a<0&&(n=n+a,a=-a),typeof s=="number"?o=u=f=l=s:s instanceof Array?s.length===1?o=u=f=l=s[0]:s.length===2?(o=f=s[0],u=l=s[1]):s.length===3?(o=s[0],u=l=s[1],f=s[2]):(o=s[0],u=s[1],f=s[2],l=s[3]):o=u=f=l=0;var c;o+u>i&&(c=o+u,o*=i/c,u*=i/c),f+l>i&&(c=f+l,f*=i/c,l*=i/c),u+f>a&&(c=u+f,u*=a/c,f*=a/c),o+l>a&&(c=o+l,o*=a/c,l*=a/c),e.moveTo(r+o,n),e.lineTo(r+i-u,n),u!==0&&e.arc(r+i-u,n+u,u,-Math.PI/2,0),e.lineTo(r+i,n+a-f),f!==0&&e.arc(r+i-f,n+a-f,f,0,Math.PI/2),e.lineTo(r+l,n+a),l!==0&&e.arc(r+l,n+a-l,l,Math.PI/2,Math.PI),e.lineTo(r,n+o),o!==0&&e.arc(r+o,n+o,o,Math.PI,Math.PI*1.5)}var qn=Math.round;function oy(e,t,r){if(!!t){var n=t.x1,i=t.x2,a=t.y1,s=t.y2;e.x1=n,e.x2=i,e.y1=a,e.y2=s;var o=r&&r.lineWidth;return o&&(qn(n*2)===qn(i*2)&&(e.x1=e.x2=Yn(n,o,!0)),qn(a*2)===qn(s*2)&&(e.y1=e.y2=Yn(a,o,!0))),e}}function uy(e,t,r){if(!!t){var n=t.x,i=t.y,a=t.width,s=t.height;e.x=n,e.y=i,e.width=a,e.height=s;var o=r&&r.lineWidth;return o&&(e.x=Yn(n,o,!0),e.y=Yn(i,o,!0),e.width=Math.max(Yn(n+a,o,!1)-e.x,a===0?0:1),e.height=Math.max(Yn(i+s,o,!1)-e.y,s===0?0:1)),e}}function Yn(e,t,r){if(!t)return e;var n=qn(e*2);return(n+qn(t))%2===0?n/2:(n+(r?1:-1))/2}var fy=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),ly={},Nv=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new fy},t.prototype.buildPath=function(r,n){var i,a,s,o;
29if(this.subPixelOptimize){var u=uy(ly,n,this.style);i=u.x,a=u.y,s=u.width,o=u.height,u.r=n.r,n=u}else i=n.x,a=n.y,s=n.width,o=n.height;n.r?sy(r,n):r.rect(i,a,s,o)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Nt);Nv.prototype.type="rect";const Qa=Nv;var Fl={fill:"#000"},Ol=2,cy={style:Se({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Fs.style)},zv=function(e){bt(t,e);function t(r){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Fl,n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r<this._children.length;r++){var n=this._children[r];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var r=this.innerTransformable;r?(r.updateTransform(),r.transform&&(this.transform=r.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(r){var n=this.innerTransformable;return n?n.getLocalTransform(r):e.prototype.getLocalTransform.call(this,r)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,vy(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=r},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var r=new kt(0,0,0,0),n=this._children,i=[],a=null,s=0;s<n.length;s++){var o=n[s],u=o.getBoundingRect(),f=o.getLocalTransform(i);f?(r.copy(u),r.applyTransform(f),a=a||r.clone(),a.union(r)):(a=a||u.clone(),a.union(u))}this._rect=a||r}return this._rect},t.prototype.setDefaultTextStyle=function(r){this._defaultStyle=r||Fl},t.prototype.setTextContent=function(r){},t.prototype._mergeStyle=function(r,n){if(!n)return r;var i=n.rich,a=r.rich||i&&{};return mt(r,n),i&&a?(this._mergeRich(a,i),r.rich=a):a&&(r.rich=a),r},t.prototype._mergeRich=function(r,n){for(var i=St(n),a=0;a<i.length;a++){var s=i[a];r[s]=r[s]||{},mt(r[s],n[s])}},t.prototype.getAnimationStyleProps=function(){return cy},t.prototype._getOrCreateChild=function(r){var n=this._children[this._childCursor];return(!n||!(n instanceof r))&&(n=new r),this._children[this._childCursor++]=n,n.__zr=this.__zr,n.parent=this,n},t.prototype._updatePlainTexts=function(){var r=this.style,n=r.font||wr,i=r.padding,a=zl(r),s=Dm(a,r),o=Do(r),u=!!r.backgroundColor,f=s.outerHeight,l=s.outerWidth,c=s.contentWidth,h=s.lines,d=s.lineHeight,g=this._defaultStyle;this.isTruncated=!!s.isTruncated;var y=r.x||0,v=r.y||0,p=r.align||g.align||"left",m=r.verticalAlign||g.verticalAlign||"top",x=y,_=Mn(v,s.contentHeight,m);if(o||i){var b=wi(y,l,p),w=Mn(v,f,m);o&&this._renderBackground(r,r,b,w,l,f)}_+=d/2,i&&(x=Nl(y,p,i),m==="top"?_+=i[0]:m==="bottom"&&(_-=i[2]));for(var C=0,A=!1,k=Il("fill"in r?r.fill:(A=!0,g.fill)),D=Ml("stroke"in r?r.stroke:!u&&(!g.autoStroke||A)?(C=Ol,g.stroke):null),F=r.textShadowBlur>0,T=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),R=s.calculatedLineHeight,E=0;E<h.length;E++){var z=this._getOrCreateChild($i),W=z.createStyle();z.useStyle(W),W.text=h[E],W.x=x,W.y=_,p&&(W.textAlign=p),W.textBaseline="middle",W.opacity=r.opacity,W.strokeFirst=!0,F&&(W.shadowBlur=r.textShadowBlur||0,W.shadowColor=r.textShadowColor||"transparent",W.shadowOffsetX=r.textShadowOffsetX||0,W.shadowOffsetY=r.textShadowOffsetY||0),W.stroke=D,W.fill=k,D&&(W.lineWidth=r.lineWidth||C,W.lineDash=r.lineDash,W.lineDashOffset=r.lineDashOffset||0),W.font=n,Ll(W,r),_+=d,T&&z.setBoundingRect
29(new kt(wi(W.x,c,W.textAlign),Mn(W.y,R,W.textBaseline),c,R))}},t.prototype._updateRichTexts=function(){var r=this.style,n=zl(r),i=Fm(n,r),a=i.width,s=i.outerWidth,o=i.outerHeight,u=r.padding,f=r.x||0,l=r.y||0,c=this._defaultStyle,h=r.align||c.align,d=r.verticalAlign||c.verticalAlign;this.isTruncated=!!i.isTruncated;var g=wi(f,s,h),y=Mn(l,o,d),v=g,p=y;u&&(v+=u[3],p+=u[0]);var m=v+a;Do(r)&&this._renderBackground(r,r,g,y,s,o);for(var x=!!r.backgroundColor,_=0;_<i.lines.length;_++){for(var b=i.lines[_],w=b.tokens,C=w.length,A=b.lineHeight,k=b.width,D=0,F=v,T=m,R=C-1,E=void 0;D<C&&(E=w[D],!E.align||E.align==="left");)this._placeToken(E,r,A,p,F,"left",x),k-=E.width,F+=E.width,D++;for(;R>=0&&(E=w[R],E.align==="right");)this._placeToken(E,r,A,p,T,"right",x),k-=E.width,T-=E.width,R--;for(F+=(a-(F-v)-(m-T)-k)/2;D<=R;)E=w[D],this._placeToken(E,r,A,p,F+E.width/2,"center",x),F+=E.width,D++;p+=A}},t.prototype._placeToken=function(r,n,i,a,s,o,u){var f=n.rich[r.styleName]||{};f.text=r.text;var l=r.verticalAlign,c=a+i/2;l==="top"?c=a+r.height/2:l==="bottom"&&(c=a+i-r.height/2);var h=!r.isLineHolder&&Do(f);h&&this._renderBackground(f,n,o==="right"?s-r.width:o==="center"?s-r.width/2:s,c-r.height/2,r.width,r.height);var d=!!f.backgroundColor,g=r.textPadding;g&&(s=Nl(s,o,g),c-=r.height/2-g[0]-r.innerHeight/2);var y=this._getOrCreateChild($i),v=y.createStyle();y.useStyle(v);var p=this._defaultStyle,m=!1,x=0,_=Il("fill"in f?f.fill:"fill"in n?n.fill:(m=!0,p.fill)),b=Ml("stroke"in f?f.stroke:"stroke"in n?n.stroke:!d&&!u&&(!p.autoStroke||m)?(x=Ol,p.stroke):null),w=f.textShadowBlur>0||n.textShadowBlur>0;v.text=r.text,v.x=s,v.y=c,w&&(v.shadowBlur=f.textShadowBlur||n.textShadowBlur||0,v.shadowColor=f.textShadowColor||n.textShadowColor||"transparent",v.shadowOffsetX=f.textShadowOffsetX||n.textShadowOffsetX||0,v.shadowOffsetY=f.textShadowOffsetY||n.textShadowOffsetY||0),v.textAlign=o,v.textBaseline="middle",v.font=r.font||wr,v.opacity=Ba(f.opacity,n.opacity,1),Ll(v,f),b&&(v.lineWidth=Ba(f.lineWidth,n.lineWidth,x),v.lineDash=Rt(f.lineDash,n.lineDash),v.lineDashOffset=n.lineDashOffset||0,v.stroke=b),_&&(v.fill=_);var C=r.contentWidth,A=r.contentHeight;y.setBoundingRect(new kt(wi(v.x,C,v.textAlign),Mn(v.y,A,v.textBaseline),C,A))},t.prototype._renderBackground=function(r,n,i,a,s,o){var u=r.backgroundColor,f=r.borderWidth,l=r.borderColor,c=u&&u.image,h=u&&!c,d=r.borderRadius,g=this,y,v;if(h||r.lineHeight||f&&l){y=this._getOrCreateChild(Qa),y.useStyle(y.createStyle()),y.style.fill=null;var p=y.shape;p.x=i,p.y=a,p.width=s,p.height=o,p.r=d,y.dirtyShape()}if(h){var m=y.style;m.fill=u||null,m.fillOpacity=Rt(r.fillOpacity,1)}else if(c){v=this._getOrCreateChild(Qi),v.onload=function(){g.dirtyStyle()};var x=v.style;x.image=u.image,x.x=i,x.y=a,x.width=s,x.height=o}if(f&&l){var m=y.style;m.lineWidth=f,m.stroke=l,m.strokeOpacity=Rt(r.strokeOpacity,1),m.lineDash=r.borderDash,m.lineDashOffset=r.borderDashOffset||0,y.strokeContainThreshold=0,y.hasFill()&&y.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var _=(y||v).style;_.shadowBlur=r.shadowBlur||0,_.shadowColor=r.shadowColor||"transparent",_.shadowOffsetX=r.shadowOffsetX||0,_.shadowOffsetY=r.shadowOffsetY||0,_.opacity=Ba(r.opacity,n.opacity,1)},t.makeFont=function(r){var n="";return Hv(r)&&(n=[r.fontStyle,r.fontWeight,$v(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&Hn(n)||r.textFont||r.font},t}(Ki),hy={left:!0,right:1,center:1},dy={top:1,bottom:1,middle:1},Rl=["fontStyle","fontWeight","fontSize","fontFamily"];function $v(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?Gu+"px":e+"px"}function Ll(e,t){for(var r=0;r<Rl.length;r++){var n=Rl[r],i=t[n];i!=null&&(e[n]=i)}}function Hv(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function vy(e){return Pl(e),Kt(e.rich,Pl),e}function Pl(e){if(e){e.font=zv.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||hy[t]?t:"left";var r=e.verticalAlign;r==="center"&&(r="middle"),e.verticalAlign=r==null||dy[r]?r:"top";var n=e.padding;n&&(e.padding=$x(e.padding))}}function Ml(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function Il(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function Nl(e,t,r){return t==="right"?e-r[1]:t==="center"?e+r[3]/2-r[1]/2:e+r[3]}function zl(e){var t=e.text;return t!=null&&(t+=""),t}function Do(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}const W3=zv;var Bn=Cr.CMD,py=[[],[],[]],$l=Math.sqrt,gy=Math.atan2;function Uv(e,t){if(!!t){var r=e.data,n=e.len(),i,a,s,o,u,f,l=Bn.M,c=Bn.C,h=Bn.L,d=Bn.R,g=Bn.A,y=Bn.Q;for(s=0,o=0;s<n;){switch(i=r[s++],o=s,a=0,i){case l:a=1;break;case h:a=1;break;case c:a=3;break;case y:a=2;break;case g:var v=t[4],p=t[5],m=$l(t[0]*t[0]+t[1]*t[1]),x=$l(t[2]*t[2]+t[3]*t[3]),_=gy(-t[1]/x,t[0]/m);r[s]*=m,r[s++]+=v,r[s]*=x,r[s++]+=p,r[s++]*=m,r[s++]*=x,r[s++]+=_,r[s++]+=_,s+=2,o=s;break;case d:f[0]=r[s++],f[1]=r[s++],Di(f,f,t),r[o++]=f[0],r[o++]=f[1],f[0]+=r[s++],f[1]+=r[s++],Di(f,f,t),r[o++]=f[0],r[o++]=f[1]}for(u=0;
29u<a;u++){var b=py[u];b[0]=r[s++],b[1]=r[s++],Di(b,b,t),r[o++]=b[0],r[o++]=b[1]}}e.increaseVersion()}}var ko=Math.sqrt,xa=Math.sin,_a=Math.cos,gi=Math.PI;function Hl(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function gu(e,t){return(e[0]*t[0]+e[1]*t[1])/(Hl(e)*Hl(t))}function Ul(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(gu(e,t))}function jl(e,t,r,n,i,a,s,o,u,f,l){var c=u*(gi/180),h=_a(c)*(e-r)/2+xa(c)*(t-n)/2,d=-1*xa(c)*(e-r)/2+_a(c)*(t-n)/2,g=h*h/(s*s)+d*d/(o*o);g>1&&(s*=ko(g),o*=ko(g));var y=(i===a?-1:1)*ko((s*s*(o*o)-s*s*(d*d)-o*o*(h*h))/(s*s*(d*d)+o*o*(h*h)))||0,v=y*s*d/o,p=y*-o*h/s,m=(e+r)/2+_a(c)*v-xa(c)*p,x=(t+n)/2+xa(c)*v+_a(c)*p,_=Ul([1,0],[(h-v)/s,(d-p)/o]),b=[(h-v)/s,(d-p)/o],w=[(-1*h-v)/s,(-1*d-p)/o],C=Ul(b,w);if(gu(b,w)<=-1&&(C=gi),gu(b,w)>=1&&(C=0),C<0){var A=Math.round(C/gi*1e6)/1e6;C=gi*2+A%2*gi}l.addData(f,m,x,s,o,_,C,c,a)}var xy=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,_y=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function my(e){var t=new Cr;if(!e)return t;var r=0,n=0,i=r,a=n,s,o=Cr.CMD,u=e.match(xy);if(!u)return t;for(var f=0;f<u.length;f++){for(var l=u[f],c=l.charAt(0),h=void 0,d=l.match(_y)||[],g=d.length,y=0;y<g;y++)d[y]=parseFloat(d[y]);for(var v=0;v<g;){var p=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,C=void 0,A=r,k=n,D=void 0,F=void 0;switch(c){case"l":r+=d[v++],n+=d[v++],h=o.L,t.addData(h,r,n);break;case"L":r=d[v++],n=d[v++],h=o.L,t.addData(h,r,n);break;case"m":r+=d[v++],n+=d[v++],h=o.M,t.addData(h,r,n),i=r,a=n,c="l";break;case"M":r=d[v++],n=d[v++],h=o.M,t.addData(h,r,n),i=r,a=n,c="L";break;case"h":r+=d[v++],h=o.L,t.addData(h,r,n);break;case"H":r=d[v++],h=o.L,t.addData(h,r,n);break;case"v":n+=d[v++],h=o.L,t.addData(h,r,n);break;case"V":n=d[v++],h=o.L,t.addData(h,r,n);break;case"C":h=o.C,t.addData(h,d[v++],d[v++],d[v++],d[v++],d[v++],d[v++]),r=d[v-2],n=d[v-1];break;case"c":h=o.C,t.addData(h,d[v++]+r,d[v++]+n,d[v++]+r,d[v++]+n,d[v++]+r,d[v++]+n),r+=d[v-2],n+=d[v-1];break;case"S":p=r,m=n,D=t.len(),F=t.data,s===o.C&&(p+=r-F[D-4],m+=n-F[D-3]),h=o.C,A=d[v++],k=d[v++],r=d[v++],n=d[v++],t.addData(h,p,m,A,k,r,n);break;case"s":p=r,m=n,D=t.len(),F=t.data,s===o.C&&(p+=r-F[D-4],m+=n-F[D-3]),h=o.C,A=r+d[v++],k=n+d[v++],r+=d[v++],n+=d[v++],t.addData(h,p,m,A,k,r,n);break;case"Q":A=d[v++],k=d[v++],r=d[v++],n=d[v++],h=o.Q,t.addData(h,A,k,r,n);break;case"q":A=d[v++]+r,k=d[v++]+n,r+=d[v++],n+=d[v++],h=o.Q,t.addData(h,A,k,r,n);break;case"T":p=r,m=n,D=t.len(),F=t.data,s===o.Q&&(p+=r-F[D-4],m+=n-F[D-3]),r=d[v++],n=d[v++],h=o.Q,t.addData(h,p,m,r,n);break;case"t":p=r,m=n,D=t.len(),F=t.data,s===o.Q&&(p+=r-F[D-4],m+=n-F[D-3]),r+=d[v++],n+=d[v++],h=o.Q,t.addData(h,p,m,r,n);break;case"A":x=d[v++],_=d[v++],b=d[v++],w=d[v++],C=d[v++],A=r,k=n,r=d[v++],n=d[v++],h=o.A,jl(A,k,r,n,w,C,x,_,b,h,t);break;case"a":x=d[v++],_=d[v++],b=d[v++],w=d[v++],C=d[v++],A=r,k=n,r+=d[v++],n+=d[v++],h=o.A,jl(A,k,r,n,w,C,x,_,b,h,t);break}}(c==="z"||c==="Z")&&(h=o.Z,t.addData(h),r=i,n=a),s=h}return t.toStatic(),t}var jv=function(e){bt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(r){},t}(Nt);function Wv(e){return e.setData!=null}function qv(e,t){var r=my(e),n=mt({},t);return n.buildPath=function(i){if(Wv(i)){i.setData(r.data);var a=i.getContext();a&&i.rebuildPath(a,1)}else{var a=i;r.rebuildPath(a,1)}},n.applyTransform=function(i){Uv(r,i),this.dirtyShape()},n}function yy(e,t){return new jv(qv(e,t))}function q3(e,t){var r=qv(e,t),n=function(i){bt(a,i);function a(s){var o=i.call(this,s)||this;return o.applyTransform=r.applyTransform,o.buildPath=r.buildPath,o}return a}(jv);return n}function Y3(e,t){for(var r=[],n=e.length,i=0;i<n;i++){var a=e[i];r.push(a.getUpdatedPathProxy(!0))}var s=new Nt(t);return s.createPathProxy(),s.buildPath=function(o){if(Wv(o)){o.appendPath(r);var u=o.getContext();u&&o.rebuildPath(u,1)}},s}function Yv(e,t){t=t||{};var r=new Nt;return e.shape&&r.setShape(e.shape),r.setStyle(e.style),t.bakeTransform?Uv(r.path,e.getComputedTransform()):t.toLocal?r.setLocalTransform(e.getComputedTransform()):r.copyTransform(e),r.buildPath=e.buildPath,r.applyTransform=r.applyTransform,r.z=e.z,r.z2=e.z2,r.zlevel=e.zlevel,r}var by=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),Gv=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new by},t.prototype.buildPath=function(r,n){r.moveTo(n.cx+n.r,n.cy),r.arc(n.cx,n.cy,n.r,0,Math.PI*2)},t}(Nt);Gv.prototype.type="circle";const wy=Gv;var Ey=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),Xv=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Ey},t.prototype.buildPath=function(r,n){var i=.5522848,a=n.cx,s=n.cy,o=n.rx,u=n.ry,f=o*i,l=u*i;r.moveTo(a-o,s),r.bezierCurveTo(a-o,s-l,a-f,s-u,a,s-u),r.bezierCurveTo(a+f,s-u,a+o,s-l,a+o,s),r.bezierCurveTo(a+o,s+l,a+f,s+u,a,s+u),r.bezierCurveTo(a-f,s+u,a-o,s+l,a-o,s),r.closePath()},t}(Nt);Xv.prototype.type="ellipse";const Cy=Xv;var Vv=Math.PI,Bo=Vv*2,Yr=Math.sin,Fn=Math.cos,Ay=Math.acos,Xt=Math.atan2,Wl=Math.abs,Bi=Math.sqrt,Ei=Math.max,Ue=Math.min,ke=1e-4;function Sy(e,t,r,n,i,a,s,o){var u=r-e,f=n-t,l=s-i,c=o-a,h=c*u-l*f;if(!(h*h<ke))return h=(l*(t-a)-c*(e-i))/h,[e+h*u,t+h*f]}function ma(e,t,r,n,i,a,s){var o=e-r,u=t-n,f=(s?a:-a)/Bi(o*o+u*u),l=f*u,c=-f*o,h=e+l,d=t+c,g=r+l,y=n+c,v=(h+g)/2,p=(d+y)/2,m=g-h,x=y-d,_=m*m+x*x,b=i-a,w=h*y-g*d,C=(x<0?-1:1)*Bi(Ei(0,b*b*_-w*w)),A=(w*x-m*C)/_,k=(-w*m-x*C)/_,D=(w*x+m*C)/_,F=(-w*m+x*C)/_,T=A-v,R=k-p,E=D-v,z=F-p;return T*T+R*R>E*E+z*z&&(A=D,k=F),{cx:A,cy:k,x0:-l,y0:-c,x1:A*(i/b-1),y1:k*(i/b-1)}}function Ty(e){var t;if(Jn(e)){var r=e.length;if(!r)return e;r===1?t=[e[0],e[0],0,0]:r===2?t=[e[0],e[0],e[1],e[1]]:r===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function Dy(e,t){var r,n=Ei(t.r,0),i=Ei(t.r0||0,0),a=n>0,s=i>0;
29if(!(!a&&!s)){if(a||(n=i,i=0),i>n){var o=n;n=i,i=o}var u=t.startAngle,f=t.endAngle;if(!(isNaN(u)||isNaN(f))){var l=t.cx,c=t.cy,h=!!t.clockwise,d=Wl(f-u),g=d>Bo&&d%Bo;if(g>ke&&(d=g),!(n>ke))e.moveTo(l,c);else if(d>Bo-ke)e.moveTo(l+n*Fn(u),c+n*Yr(u)),e.arc(l,c,n,u,f,!h),i>ke&&(e.moveTo(l+i*Fn(f),c+i*Yr(f)),e.arc(l,c,i,f,u,h));else{var y=void 0,v=void 0,p=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,C=void 0,A=void 0,k=void 0,D=void 0,F=void 0,T=void 0,R=void 0,E=void 0,z=n*Fn(u),W=n*Yr(u),q=i*Fn(f),G=i*Yr(f),Y=d>ke;if(Y){var Z=t.cornerRadius;Z&&(r=Ty(Z),y=r[0],v=r[1],p=r[2],m=r[3]);var I=Wl(n-i)/2;if(x=Ue(I,p),_=Ue(I,m),b=Ue(I,y),w=Ue(I,v),k=C=Ei(x,_),D=A=Ei(b,w),(C>ke||A>ke)&&(F=n*Fn(f),T=n*Yr(f),R=i*Fn(u),E=i*Yr(u),d<Vv)){var P=Sy(z,W,R,E,F,T,q,G);if(P){var j=z-P[0],$=W-P[1],X=F-P[0],tt=T-P[1],nt=1/Yr(Ay((j*X+$*tt)/(Bi(j*j+$*$)*Bi(X*X+tt*tt)))/2),et=Bi(P[0]*P[0]+P[1]*P[1]);k=Ue(C,(n-et)/(nt+1)),D=Ue(A,(i-et)/(nt-1))}}}if(!Y)e.moveTo(l+z,c+W);else if(k>ke){var at=Ue(p,k),ot=Ue(m,k),rt=ma(R,E,z,W,n,at,h),ut=ma(F,T,q,G,n,ot,h);e.moveTo(l+rt.cx+rt.x0,c+rt.cy+rt.y0),k<C&&at===ot?e.arc(l+rt.cx,c+rt.cy,k,Xt(rt.y0,rt.x0),Xt(ut.y0,ut.x0),!h):(at>0&&e.arc(l+rt.cx,c+rt.cy,at,Xt(rt.y0,rt.x0),Xt(rt.y1,rt.x1),!h),e.arc(l,c,n,Xt(rt.cy+rt.y1,rt.cx+rt.x1),Xt(ut.cy+ut.y1,ut.cx+ut.x1),!h),ot>0&&e.arc(l+ut.cx,c+ut.cy,ot,Xt(ut.y1,ut.x1),Xt(ut.y0,ut.x0),!h))}else e.moveTo(l+z,c+W),e.arc(l,c,n,u,f,!h);if(!(i>ke)||!Y)e.lineTo(l+q,c+G);else if(D>ke){var at=Ue(y,D),ot=Ue(v,D),rt=ma(q,G,F,T,i,-ot,h),ut=ma(z,W,R,E,i,-at,h);e.lineTo(l+rt.cx+rt.x0,c+rt.cy+rt.y0),D<A&&at===ot?e.arc(l+rt.cx,c+rt.cy,D,Xt(rt.y0,rt.x0),Xt(ut.y0,ut.x0),!h):(ot>0&&e.arc(l+rt.cx,c+rt.cy,ot,Xt(rt.y0,rt.x0),Xt(rt.y1,rt.x1),!h),e.arc(l,c,i,Xt(rt.cy+rt.y1,rt.cx+rt.x1),Xt(ut.cy+ut.y1,ut.cx+ut.x1),h),at>0&&e.arc(l+ut.cx,c+ut.cy,at,Xt(ut.y1,ut.x1),Xt(ut.y0,ut.x0),!h))}else e.lineTo(l+q,c+G),e.arc(l,c,i,f,u,h)}e.closePath()}}}var ky=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),Zv=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new ky},t.prototype.buildPath=function(r,n){Dy(r,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Nt);Zv.prototype.type="sector";const ql=Zv;var By=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),Kv=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new By},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,s=Math.PI*2;r.moveTo(i+n.r,a),r.arc(i,a,n.r,0,s,!1),r.moveTo(i+n.r0,a),r.arc(i,a,n.r0,0,s,!0)},t}(Nt);Kv.prototype.type="ring";const G3=Kv;function Fy(e,t,r,n){var i=[],a=[],s=[],o=[],u,f,l,c;if(n){l=[1/0,1/0],c=[-1/0,-1/0];for(var h=0,d=e.length;h<d;h++)Un(l,l,e[h]),jn(c,c,e[h]);Un(l,l,n[0]),jn(c,c,n[1])}for(var h=0,d=e.length;h<d;h++){var g=e[h];if(r)u=e[h?h-1:d-1],f=e[(h+1)%d];else if(h===0||h===d-1){i.push(Wx(e[h]));continue}else u=e[h-1],f=e[h+1];qx(a,f,u),Vs(a,a,t);var y=V0(g,u),v=V0(g,f),p=y+v;p!==0&&(y/=p,v/=p),Vs(s,a,-y),Vs(o,a,v);var m=Kf([],g,s),x=Kf([],g,o);n&&(jn(m,m,l),Un(m,m,c),jn(x,x,l),Un(x,x,c)),i.push(m),i.push(x)}return r&&i.push(i.shift()),i}function Qv(e,t,r){var n=t.smooth,i=t.points;if(i&&i.length>=2){if(n){var a=Fy(i,n,r,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var s=i.length,o=0;o<(r?s:s-1);o++){var u=a[o*2],f=a[o*2+1],l=i[(o+1)%s];e.bezierCurveTo(u[0],u[1],f[0],f[1],l[0],l[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var o=1,c=i.length;o<c;o++)e.lineTo(i[o][0],i[o][1])}r&&e.closePath()}}var Oy=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),Jv=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Oy},t.prototype.buildPath=function(r,n){Qv(r,n,!0)},t}(Nt);Jv.prototype.type="polygon";const tp=Jv;var Ry=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),ep=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ry},t.prototype.buildPath=function(r,n){Qv(r,n,!1)},t}(Nt);ep.prototype.type="polyline";const Ly=ep;var Py={},My=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),rp=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new My},t.prototype.buildPath=function(r,n){var i,a,s,o;
29if(this.subPixelOptimize){var u=oy(Py,n,this.style);i=u.x1,a=u.y1,s=u.x2,o=u.y2}else i=n.x1,a=n.y1,s=n.x2,o=n.y2;var f=n.percent;f!==0&&(r.moveTo(i,a),f<1&&(s=i*(1-f)+s*f,o=a*(1-f)+o*f),r.lineTo(s,o))},t.prototype.pointAt=function(r){var n=this.shape;return[n.x1*(1-r)+n.x2*r,n.y1*(1-r)+n.y2*r]},t}(Nt);rp.prototype.type="line";const Iy=rp;var oe=[],Ny=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function Yl(e,t,r){var n=e.cpx2,i=e.cpy2;return n!=null||i!=null?[(r?ul:Yt)(e.x1,e.cpx1,e.cpx2,e.x2,t),(r?ul:Yt)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(r?fl:Vt)(e.x1,e.cpx1,e.x2,t),(r?fl:Vt)(e.y1,e.cpy1,e.y2,t)]}var np=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ny},t.prototype.buildPath=function(r,n){var i=n.x1,a=n.y1,s=n.x2,o=n.y2,u=n.cpx1,f=n.cpy1,l=n.cpx2,c=n.cpy2,h=n.percent;h!==0&&(r.moveTo(i,a),l==null||c==null?(h<1&&(Ga(i,u,s,h,oe),u=oe[1],s=oe[2],Ga(a,f,o,h,oe),f=oe[1],o=oe[2]),r.quadraticCurveTo(u,f,s,o)):(h<1&&(Er(i,u,l,s,h,oe),u=oe[1],l=oe[2],s=oe[3],Er(a,f,c,o,h,oe),f=oe[1],c=oe[2],o=oe[3]),r.bezierCurveTo(u,f,l,c,s,o)))},t.prototype.pointAt=function(r){return Yl(this.shape,r,!1)},t.prototype.tangentAt=function(r){var n=Yl(this.shape,r,!0);return Xx(n,n)},t}(Nt);np.prototype.type="bezier-curve";const X3=np;var zy=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),ip=function(e){bt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new zy},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,s=Math.max(n.r,0),o=n.startAngle,u=n.endAngle,f=n.clockwise,l=Math.cos(o),c=Math.sin(o);r.moveTo(l*s+i,c*s+a),r.arc(i,a,s,o,u,!f)},t}(Nt);ip.prototype.type="arc";const V3=ip;var $y=function(e){bt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="compound",r}return t.prototype._updatePathDirty=function(){for(var r=this.shape.paths,n=this.shapeChanged(),i=0;i<r.length;i++)n=n||r[i].shapeChanged();n&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var r=this.shape.paths||[],n=this.getGlobalScale(),i=0;i<r.length;i++)r[i].path||r[i].createPathProxy(),r[i].path.setScale(n[0],n[1],r[i].segmentIgnoreThreshold)},t.prototype.buildPath=function(r,n){for(var i=n.paths||[],a=0;a<i.length;a++)i[a].buildPath(r,i[a].shape,!0)},t.prototype.afterBrush=function(){for(var r=this.shape.paths||[],n=0;n<r.length;n++)r[n].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Nt.prototype.getBoundingRect.call(this)},t}(Nt);const Hy=$y;var Uy=function(){function e(t){this.colorStops=t||[]}return e.prototype.addColorStop=function(t,r){this.colorStops.push({offset:t,color:r})},e}();const ap=Uy;var jy=function(e){bt(t,e);function t(r,n,i,a,s,o){var u=e.call(this,s)||this;return u.x=r==null?0:r,u.y=n==null?0:n,u.x2=i==null?1:i,u.y2=a==null?0:a,u.type="linear",u.global=o||!1,u}return t}(ap);const Wy=jy;var qy=function(e){bt(t,e);function t(r,n,i,a,s){var o=e.call(this,a)||this;return o.x=r==null?.5:r,o.y=n==null?.5:n,o.r=i==null?.5:i,o.type="radial",o.global=s||!1,o}return t}(ap);const Yy=qy;var Gr=[0,0],Xr=[0,0],ya=new gt,ba=new gt,Gy=function(){function e(t,r){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new gt;for(var n=0;n<2;n++)this._axes[n]=new gt;t&&this.fromBoundingRect(t,r)}return e.prototype.fromBoundingRect=function(t,r){var n=this._corners,i=this._axes,a=t.x,s=t.y,o=a+t.width,u=s+t.height;if(n[0].set(a,s),n[1].set(o,s),n[2].set(o,u),n[3].set(a,u),r)for(var f=0;f<4;f++)n[f].transform(r);gt.sub(i[0],n[1],n[0]),gt.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(var f=0;f<2;f++)this._origin[f]=i[f].dot(n[0])},e.prototype.intersect=function(t,r){var n=!0,i=!r;return ya.set(1/0,1/0),ba.set(0,0),!this._intersectCheckOneSide(this,t,ya,ba,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,ya,ba,i,-1)&&(n=!1,i)||i||gt.copy(r,n?ya:ba),n},e.prototype._intersectCheckOneSide=function(t,r,n,i,a,s){for(var o=!0,u=0;u<2;u++){var f=this._axes[u];if(this._getProjMinMaxOnAxis(u,t._corners,Gr),this._getProjMinMaxOnAxis(u,r._corners,Xr),Gr[1]<Xr[0]||Gr[0]>Xr[1]){if(o=!1,a)return o;var l=Math.abs(Xr[0]-Gr[1]),c=Math.abs(Gr[0]-Xr[1]);Math.min(l,c)>i.len()&&(l<c?gt.scale(i,f,-l*s):gt.scale(i,f,c*s))}else if(n){var l=Math.abs(Xr[0]-Gr[1]),c=Math.abs(Gr[0]-Xr[1]);Math.min(l,c)<n.len()&&(l<c?gt.scale(n,f,l*s):gt.scale(n,f,-c*s))}}return o},e.prototype._getProjMinMaxOnAxis=function(t,r,n){for(var i=this._axes[t],a=this._origin,s=r[0].dot(i)+a[t],o=s,u=s,f=1;f<r.length;f++){var l=r[f].dot(i)+a[t];o=Math.min(l,o),u=Math.max(l,u)}n[0]=o,n[1]=u},e}();const Z3=Gy;var Xy=[],Vy=function(e){bt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.notClear=!0,r.incremental=!0,r._displayables=[],r._temporaryDisplayables=[],r._cursor=0,r}return t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(r,n){n?this._temporaryDisplayables.push(r):this._displayables.push(r),this.markRedraw()},t.prototype.addDisplayables=function(r,n){n=n||!1;for(var i=0;i<r.length;i++)this.addDisplayable(r[i],n)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(r){for(var n=this._cursor;n<this._displayables.length;n++)r&&r(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)r&&r(this._temporaryDisplayables[n])},t.prototype.update=function(){this.updateTransform();for(var r=this._cursor;r<this._displayables.length;r++){var n=this._displayables[r];n.parent=this,n.update(),n.parent=null}for(var r=0;r<this._temporaryDisplayables.length;r++){var n=this._temporaryDisplayables[r];n.parent=this,n.update(),n.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var r=new kt(1/0,1/0,-1/0,-1/0),n=0;n<this._displayables.length;
29n++){var i=this._displayables[n],a=i.getBoundingRect().clone();i.needLocalTransform()&&a.applyTransform(i.getLocalTransform(Xy)),r.union(a)}this._rect=r}return this._rect},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();if(a.contain(i[0],i[1]))for(var s=0;s<this._displayables.length;s++){var o=this._displayables[s];if(o.contain(r,n))return!0}return!1},t}(Ki);const K3=Vy;var Zy=Math.round(Math.random()*9),Ky=typeof Object.defineProperty=="function",Qy=function(){function e(){this._id="__ec_inner_"+Zy++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,r){var n=this._guard(t);return Ky?Object.defineProperty(n,this._id,{value:r,enumerable:!1,configurable:!0}):n[this._id]=r,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e}();const Q3=Qy;function an(e){return isFinite(e)}function Jy(e,t,r){var n=t.x==null?0:t.x,i=t.x2==null?1:t.x2,a=t.y==null?0:t.y,s=t.y2==null?0:t.y2;t.global||(n=n*r.width+r.x,i=i*r.width+r.x,a=a*r.height+r.y,s=s*r.height+r.y),n=an(n)?n:0,i=an(i)?i:1,a=an(a)?a:0,s=an(s)?s:0;var o=e.createLinearGradient(n,a,i,s);return o}function t2(e,t,r){var n=r.width,i=r.height,a=Math.min(n,i),s=t.x==null?.5:t.x,o=t.y==null?.5:t.y,u=t.r==null?.5:t.r;t.global||(s=s*n+r.x,o=o*i+r.y,u=u*a),s=an(s)?s:.5,o=an(o)?o:.5,u=u>=0&&an(u)?u:.5;var f=e.createRadialGradient(s,o,0,s,o,u);return f}function xu(e,t,r){for(var n=t.type==="radial"?t2(e,t,r):Jy(e,t,r),i=t.colorStops,a=0;a<i.length;a++)n.addColorStop(i[a].offset,i[a].color);return n}function e2(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!0;return!1}function wa(e){return parseInt(e,10)}function Gn(e,t,r){var n=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],s=["paddingRight","paddingBottom"][t];if(r[n]!=null&&r[n]!=="auto")return parseFloat(r[n]);var o=document.defaultView.getComputedStyle(e);return(e[i]||wa(o[n])||wa(e.style[n]))-(wa(o[a])||0)-(wa(o[s])||0)|0}function r2(e,t){return!e||e==="solid"||!(t>0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Si(e)?[e]:Jn(e)?e:null}function af(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&r2(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(r){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(r=It(r,function(a){return a/i}),n/=i)}return[r,n]}var n2=new Cr(!0);function Ja(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function Gl(e){return typeof e=="string"&&e!=="none"}function ts(e){var t=e.fill;return t!=null&&t!=="none"}function Xl(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function Vl(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function _u(e,t,r){var n=nf(t.image,t.__image,r);if(Bs(n)){var i=e.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*Fa),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function i2(e,t,r,n){var i,a=Ja(r),s=ts(r),o=r.strokePercent,u=o<1,f=!t.path;(!t.silent||u)&&f&&t.createPathProxy();var l=t.path||n2,c=t.__dirty;if(!n){var h=r.fill,d=r.stroke,g=s&&!!h.colorStops,y=a&&!!d.colorStops,v=s&&!!h.image,p=a&&!!d.image,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0;(g||y)&&(w=t.getBoundingRect()),g&&(m=c?xu(e,h,w):t.__canvasFillGradient,t.__canvasFillGradient=m),y&&(x=c?xu(e,d,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=x),v&&(_=c||!t.__canvasFillPattern?_u(e,h,t):t.__canvasFillPattern,t.__canvasFillPattern=_),p&&(b=c||!t.__canvasStrokePattern?_u(e,d,t):t.__canvasStrokePattern,t.__canvasStrokePattern=_),g?e.fillStyle=m:v&&(_?e.fillStyle=_:s=!1),y?e.strokeStyle=x:p&&(b?e.strokeStyle=b:a=!1)}var C=t.getGlobalScale();l.setScale(C[0],C[1],t.segmentIgnoreThreshold);var A,k;e.setLineDash&&r.lineDash&&(i=af(t),A=i[0],k=i[1]);var D=!0;(f||c&Pn)&&(l.setDPR(e.dpr),u?l.setContext(null):(l.setContext(e),D=!1),l.reset(),t.buildPath(l,t.shape,n),l.toStatic(),t.pathUpdated()),D&&l.rebuildPath(e,u?o:1),A&&(e.setLineDash(A),e.lineDashOffset=k),n||(r.strokeFirst?(a&&Vl(e,r),s&&Xl(e,r)):(s&&
29Xl(e,r),a&&Vl(e,r))),A&&e.setLineDash([])}function a2(e,t,r){var n=t.__image=nf(r.image,t.__image,t,t.onload);if(!(!n||!Bs(n))){var i=r.x||0,a=r.y||0,s=t.getWidth(),o=t.getHeight(),u=n.width/n.height;if(s==null&&o!=null?s=o*u:o==null&&s!=null?o=s/u:s==null&&o==null&&(s=n.width,o=n.height),r.sWidth&&r.sHeight){var f=r.sx||0,l=r.sy||0;e.drawImage(n,f,l,r.sWidth,r.sHeight,i,a,s,o)}else if(r.sx&&r.sy){var f=r.sx,l=r.sy,c=s-f,h=o-l;e.drawImage(n,f,l,c,h,i,a,s,o)}else e.drawImage(n,i,a,s,o)}}function s2(e,t,r){var n,i=r.text;if(i!=null&&(i+=""),i){e.font=r.font||wr,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var a=void 0,s=void 0;e.setLineDash&&r.lineDash&&(n=af(t),a=n[0],s=n[1]),a&&(e.setLineDash(a),e.lineDashOffset=s),r.strokeFirst?(Ja(r)&&e.strokeText(i,r.x,r.y),ts(r)&&e.fillText(i,r.x,r.y)):(ts(r)&&e.fillText(i,r.x,r.y),Ja(r)&&e.strokeText(i,r.x,r.y)),a&&e.setLineDash([])}}var Zl=["shadowBlur","shadowOffsetX","shadowOffsetY"],Kl=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function sp(e,t,r,n,i){var a=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){le(e,i),a=!0;var s=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(s)?hn.opacity:s}(n||t.blend!==r.blend)&&(a||(le(e,i),a=!0),e.globalCompositeOperation=t.blend||hn.blend);for(var o=0;o<Zl.length;o++){var u=Zl[o];(n||t[u]!==r[u])&&(a||(le(e,i),a=!0),e[u]=e.dpr*(t[u]||0))}return(n||t.shadowColor!==r.shadowColor)&&(a||(le(e,i),a=!0),e.shadowColor=t.shadowColor||hn.shadowColor),a}function Ql(e,t,r,n,i){var a=Hi(t,i.inHover),s=n?null:r&&Hi(r,i.inHover)||{};if(a===s)return!1;var o=sp(e,a,s,n,i);if((n||a.fill!==s.fill)&&(o||(le(e,i),o=!0),Gl(a.fill)&&(e.fillStyle=a.fill)),(n||a.stroke!==s.stroke)&&(o||(le(e,i),o=!0),Gl(a.stroke)&&(e.strokeStyle=a.stroke)),(n||a.opacity!==s.opacity)&&(o||(le(e,i),o=!0),e.globalAlpha=a.opacity==null?1:a.opacity),t.hasStroke()){var u=a.lineWidth,f=u/(a.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==f&&(o||(le(e,i),o=!0),e.lineWidth=f)}for(var l=0;l<Kl.length;l++){var c=Kl[l],h=c[0];(n||a[h]!==s[h])&&(o||(le(e,i),o=!0),e[h]=a[h]||c[1])}return o}function o2(e,t,r,n,i){return sp(e,Hi(t,i.inHover),r&&Hi(r,i.inHover),n,i)}function op(e,t){var r=t.transform,n=e.dpr||1;r?e.setTransform(n*r[0],n*r[1],n*r[2],n*r[3],n*r[4],n*r[5]):e.setTransform(n,0,0,n,0,0)}function u2(e,t,r){for(var n=!1,i=0;i<e.length;i++){var a=e[i];n=n||a.isZeroArea(),op(t,a),t.beginPath(),a.buildPath(t,a.shape),t.clip()}r.allClipped=n}function f2(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var Jl=1,tc=2,ec=3,rc=4;function l2(e){var t=ts(e),r=Ja(e);return!(e.lineDash||!(+t^+r)||t&&typeof e.fill!="string"||r&&typeof e.stroke!="string"||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function le(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function Hi(e,t){return t&&e.__hoverStyle||e.style}function c2(e,t){sn(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function sn(e,t,r,n){var i=t.transform;if(!t.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){t.__dirty&=~ve,t.__isRendered=!1;return}var a=t.__clipPaths,s=r.prevElClipPaths,o=!1,u=!1;if((!s||e2(a,s))&&(s&&s.length&&(le(e,r),e.restore(),u=o=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),a&&a.length&&(le(e,r),e.save(),u2(a,e,r),o=!0),r.prevElClipPaths=a),r.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var f=r.prevEl;f||(u=o=!0);var l=t instanceof Nt&&t.autoBatch&&l2(t.style);o||f2(i,f.transform)?(le(e,r),op(e,t)):l||le(e,r);var c=Hi(t,r.inHover);t instanceof Nt?(r.lastDrawType!==Jl&&(u=!0,r.lastDrawType=Jl),Ql(e,t,f,u,r),(!l||!r.batchFill&&!r.batchStroke)&&e.beginPath(),i2(e,t,c,l),l&&(r.batchFill=c.fill||"",r.batchStroke=c.stroke||"")):t instanceof $i?(r.lastDrawType!==ec&&(u=!0,r.lastDrawType=ec),Ql(e,t,f,u,r),s2(e,t,c)):t instanceof Qi?(r.lastDrawType!==tc&&(u=!0,r.lastDrawType=tc),o2(e,t,f,u,r),a2(e,t,c)):t.getTemporalDisplayables&&(r.lastDrawType!==rc&&(u=!0,r.lastDrawType=rc),h2(e,t,r)),l&&n&&le(e,r),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),r.prevEl=t,t.__dirty=0,t.__isRendered=!0}function h2(e,t,r){var n=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var a={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover},s,o;for(s=t.getCursor(),o=n.length;s<o;s++){var u=n[s];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),sn(e,u,a,s===o-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),a.prevEl=u}for(var f=0,l=i.length;f<l;f++){var u=i[f];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),sn(e,u,a,f===l-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),a.prevEl=u}
29t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var d2=1e-8;function nc(e,t){return Math.abs(e-t)<d2}function J3(e,t,r){var n=0,i=e[0];if(!i)return!1;for(var a=1;a<e.length;a++){var s=e[a];n+=ir(i[0],i[1],s[0],s[1],t,r),i=s}var o=e[0];return(!nc(i[0],o[0])||!nc(i[1],o[1]))&&(n+=ir(i[0],i[1],o[0],o[1],t,r)),n!==0}var Fo=Math.sin,Oo=Math.cos,up=Math.PI,Vr=Math.PI*2,v2=180/up,p2=function(){function e(){}return e.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},e.prototype.moveTo=function(t,r){this._add("M",t,r)},e.prototype.lineTo=function(t,r){this._add("L",t,r)},e.prototype.bezierCurveTo=function(t,r,n,i,a,s){this._add("C",t,r,n,i,a,s)},e.prototype.quadraticCurveTo=function(t,r,n,i){this._add("Q",t,r,n,i)},e.prototype.arc=function(t,r,n,i,a,s){this.ellipse(t,r,n,n,0,i,a,s)},e.prototype.ellipse=function(t,r,n,i,a,s,o,u){var f=o-s,l=!u,c=Math.abs(f),h=mr(c-Vr)||(l?f>=Vr:-f>=Vr),d=f>0?f%Vr:f%Vr+Vr,g=!1;h?g=!0:mr(c)?g=!1:g=d>=up==!!l;var y=t+n*Oo(s),v=r+i*Fo(s);this._start&&this._add("M",y,v);var p=Math.round(a*v2);if(h){var m=1/this._p,x=(l?1:-1)*(Vr-m);this._add("A",n,i,p,1,+l,t+n*Oo(s+x),r+i*Fo(s+x)),m>.01&&this._add("A",n,i,p,0,+l,y,v)}else{var _=t+n*Oo(o),b=r+i*Fo(o);this._add("A",n,i,p,+g,+l,_,b)}},e.prototype.rect=function(t,r,n,i){this._add("M",t,r),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,r,n,i,a,s,o,u,f){for(var l=[],c=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d)){this._invalid=!0;return}l.push(Math.round(d*c)/c)}this._d.push(t+l.join(" ")),this._start=t==="Z"},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}();const fp=p2;var Fi="none",g2=Math.round;function x2(e){var t=e.fill;return t!=null&&t!==Fi}function _2(e){var t=e.stroke;return t!=null&&t!==Fi}var mu=["lineCap","miterLimit","lineJoin"],m2=It(mu,function(e){return"stroke-"+e.toLowerCase()});function y2(e,t,r,n){var i=t.opacity==null?1:t.opacity;if(r instanceof Qi){e("opacity",i);return}if(x2(t)){var a=Ii(t.fill);e("fill",a.color);var s=t.fillOpacity!=null?t.fillOpacity*a.opacity*i:a.opacity*i;(n||s<1)&&e("fill-opacity",s)}else e("fill",Fi);if(_2(t)){var o=Ii(t.stroke);e("stroke",o.color);var u=t.strokeNoScale?r.getLineScale():1,f=u?(t.lineWidth||0)/u:0,l=t.strokeOpacity!=null?t.strokeOpacity*o.opacity*i:o.opacity*i,c=t.strokeFirst;if((n||f!==1)&&e("stroke-width",f),(n||c)&&e("paint-order",c?"stroke":"fill"),(n||l<1)&&e("stroke-opacity",l),t.lineDash){var h=af(r),d=h[0],g=h[1];d&&(g=g2(g||0),e("stroke-dasharray",d.join(",")),(g||n)&&e("stroke-dashoffset",g))}else n&&e("stroke-dasharray",Fi);for(var y=0;y<mu.length;y++){var v=mu[y];if(n||t[v]!==Ka[v]){var p=t[v]||Ka[v];p&&e(m2[y],p)}}}else n&&e("stroke",Fi)}var lp="http://www.w3.org/2000/svg",cp="http://www.w3.org/1999/xlink",b2="http://www.w3.org/2000/xmlns/",w2="http://www.w3.org/XML/1998/namespace",ic="ecmeta_";function hp(e){return document.createElementNS(lp,e)}function $t(e,t,r,n,i){return{tag:e,attrs:r||{},children:n,text:i,key:t}}function E2(e,t){var r=[];if(t)for(var n in t){var i=t[n],a=n;i!==!1&&(i!==!0&&i!=null&&(a+='="'+i+'"'),r.push(a))}return"<"+e+" "+r.join(" ")+">"}function C2(e){return"</"+e+">"}function sf(e,t){t=t||{};var r=t.newline?` 30`:"";function n(i){var a=i.children,s=i.tag,o=i.attrs,u=i.text;return E2(s,o)+(s!=="style"?s_(u):u||"")+(a?""+r+It(a,function(f){return n(f)}).join(r)+r:"")+C2(s)}return n(e)}function A2(e,t,r){r=r||{};var n=r.newline?` 31`:"",i=" {"+n,a=n+"}",s=It(St(e),function(u){return u+i+It(St(e[u]),function(f){return f+":"+e[u][f]+";"}).join(n)+a}).join(n),o=It(St(t),function(u){return"@keyframes "+u+i+It(St(t[u]),function(f){return f+i+It(St(t[u][f]),function(l){var c=t[u][f][l];return l==="d"&&(c='path("'+c+'")'),l+":"+c+";"}).join(n)+a}).join(n)+a}).join(n);return!s&&!o?"":["<![CDATA[",s,o,"]]>"].join(n)}function yu(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{}
31,clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function ac(e,t,r,n){return $t("svg","root",{width:e,height:t,xmlns:lp,"xmlns:xlink":cp,version:"1.1",baseProfile:"full",viewBox:n?"0 0 "+e+" "+t:!1},r)}var S2=0;function dp(){return S2++}var sc={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},rn="transform-origin";function T2(e,t,r){var n=mt({},e.shape);mt(n,t),e.buildPath(r,n);var i=new fp;return i.reset(bv(e)),r.rebuildPath(i,1),i.generateStr(),i.getStr()}function D2(e,t){var r=t.originX,n=t.originY;(r||n)&&(e[rn]=r+"px "+n+"px")}var k2={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function vp(e,t){var r=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[r]=e,r}function B2(e,t,r){var n=e.shape.paths,i={},a,s;if(Kt(n,function(u){var f=yu(r.zrId);f.animation=!0,Os(u,{},f,!0);var l=f.cssAnims,c=f.cssNodes,h=St(l),d=h.length;if(!!d){s=h[d-1];var g=l[s];for(var y in g){var v=g[y];i[y]=i[y]||{d:""},i[y].d+=v.d||""}for(var p in c){var m=c[p].animation;m.indexOf(s)>=0&&(a=m)}}}),!!a){t.d=!1;var o=vp(i,r);return a.replace(s,o)}}function oc(e){return Ze(e)?sc[e]?"cubic-bezier("+sc[e]+")":Qu(e)?e:"":""}function Os(e,t,r,n){var i=e.animators,a=i.length,s=[];if(e instanceof Hy){var o=B2(e,t,r);if(o)s.push(o);else if(!a)return}else if(!a)return;for(var u={},f=0;f<a;f++){var l=i[f],c=[l.getMaxTime()/1e3+"s"],h=oc(l.getClip().easing),d=l.getDelay();h?c.push(h):c.push("linear"),d&&c.push(d/1e3+"s"),l.getLoop()&&c.push("infinite");var g=c.join(" ");u[g]=u[g]||[g,[]],u[g][1].push(l)}function y(m){var x=m[1],_=x.length,b={},w={},C={},A="animation-timing-function";function k(et,at,ot){for(var rt=et.getTracks(),ut=et.getMaxTime(),ct=0;ct<rt.length;ct++){var S=rt[ct];if(S.needsAnimate()){var Q=S.keyframes,H=S.propName;if(ot&&(H=ot(H)),H)for(var M=0;M<Q.length;M++){var L=Q[M],U=Math.round(L.time/ut*100)+"%",B=oc(L.easing),O=L.rawValue;(Ze(O)||Si(O))&&(at[U]=at[U]||{},at[U][H]=L.rawValue,B&&(at[U][A]=B))}}}}for(var D=0;D<_;D++){var F=x[D],T=F.targetName;T?T==="shape"&&k(F,w):!n&&k(F,b)}for(var R in b){var E={};Sv(E,e),mt(E,b[R]);var z=wv(E),W=b[R][A];C[R]=z?{transform:z}:{},D2(C[R],E),W&&(C[R][A]=W)}var q,G=!0;for(var R in w){C[R]=C[R]||{};var Y=!q,W=w[R][A];Y&&(q=new Cr);var Z=q.len();q.reset(),C[R].d=T2(e,w[R],q);var I=q.len();if(!Y&&Z!==I){G=!1;break}W&&(C[R][A]=W)}if(!G)for(var R in C)delete C[R].d;if(!n)for(var D=0;D<_;D++){var F=x[D],T=F.targetName;T==="style"&&k(F,C,function(rt){return k2[rt]})}for(var P=St(C),j=!0,$,D=1;D<P.length;D++){var X=P[D-1],tt=P[D];if(C[X][rn]!==C[tt][rn]){j=!1;break}$=C[X][rn]}if(j&&$){for(var R in C)C[R][rn]&&delete C[R][rn];t[rn]=$}if(G0(P,function(et){return St(C[et]).length>0}).length){var nt=vp(C,r);return nt+" "+m[0]+" both"}}for(var v in u){var o=y(u[v]);o&&s.push(o)}if(s.length){var p=r.zrId+"-cls-"+dp();r.cssNodes["."+p]={animation:s.join(",")},t.class=p}}function F2(e,t,r){if(!e.ignore)if(e.isSilent()){var n={"pointer-events":"none"};uc(n,t,r,!0)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},a=i.fill;if(!a){var s=e.style&&e.style.fill,o=e.states.select&&e.states.select.style&&e.states.select.style.fill,u=e.currentStates.indexOf("select")>=0&&o||s;u&&(a=j_(u))}var f=i.lineWidth;if(f){var l=!i.strokeNoScale&&e.transform?e.transform[0]:1;f=f/l}var n={cursor:"pointer"};a&&(n.fill=a),i.stroke&&(n.stroke=i.stroke),f&&(n["stroke-width"]=f),uc(n,t,r,!0)}}function uc(e,t,r,n){var i=JSON.stringify(e),a=r.cssStyleCache[i];a||(a=r.zrId+"-cls-"+dp(),r.cssStyleCache[i]=a,r.cssNodes["."+a+(n?":hover":"")]=e),t.class=t.class?t.class+" "+a:a}var Ui=Math.round;function pp(e){return e&&Ze(e.src)}function gp(e){return e&&Vi(e.toDataURL)}function of(e,t,r,n){y2(function(i,a){var s=i==="fill"||i==="stroke";s&&yv(a)?_p(t,e,i,n):s&&Ju(a)?mp(r,e,i,n):e[i]=a,s&&n.ssr&&a==="none"&&(e["pointer-events"]="visible")}
31,t,r,!1),N2(r,e,n)}function uf(e,t){var r=Cm(t);r&&(r.each(function(n,i){n!=null&&(e[(ic+i).toLowerCase()]=n+"")}),t.isSilent()&&(e[ic+"silent"]="true"))}function fc(e){return mr(e[0]-1)&&mr(e[1])&&mr(e[2])&&mr(e[3]-1)}function O2(e){return mr(e[4])&&mr(e[5])}function ff(e,t,r){if(t&&!(O2(t)&&fc(t))){var n=r?10:1e4;e.transform=fc(t)?"translate("+Ui(t[4]*n)/n+" "+Ui(t[5]*n)/n+")":W_(t)}}function lc(e,t,r){for(var n=e.points,i=[],a=0;a<n.length;a++)i.push(Ui(n[a][0]*r)/r),i.push(Ui(n[a][1]*r)/r);t.points=i.join(" ")}function cc(e){return!e.smooth}function R2(e){var t=It(e,function(r){return typeof r=="string"?[r,r]:r});return function(r,n,i){for(var a=0;a<t.length;a++){var s=t[a],o=r[s[0]];o!=null&&(n[s[1]]=Ui(o*i)/i)}}}var L2={circle:[R2(["cx","cy","r"])],polyline:[lc,cc],polygon:[lc,cc]};function P2(e){for(var t=e.animators,r=0;r<t.length;r++)if(t[r].targetName==="shape")return!0;return!1}function xp(e,t){var r=e.style,n=e.shape,i=L2[e.type],a={},s=t.animation,o="path",u=e.style.strokePercent,f=t.compress&&bv(e)||4;if(i&&!t.willUpdate&&!(i[1]&&!i[1](n))&&!(s&&P2(e))&&!(u<1)){o=e.type;var l=Math.pow(10,f);i[0](n,a,l)}else{var c=!e.path||e.shapeChanged();e.path||e.createPathProxy();var h=e.path;c&&(h.beginPath(),e.buildPath(h,e.shape),e.pathUpdated());var d=h.getVersion(),g=e,y=g.__svgPathBuilder;(g.__svgPathVersion!==d||!y||u!==g.__svgPathStrokePercent)&&(y||(y=g.__svgPathBuilder=new fp),y.reset(f),h.rebuildPath(y,u),y.generateStr(),g.__svgPathVersion=d,g.__svgPathStrokePercent=u),a.d=y.getStr()}return ff(a,e.transform),of(a,r,e,t),uf(a,e),t.animation&&Os(e,a,t),t.emphasis&&F2(e,a,t),$t(o,e.id+"",a)}function M2(e,t){var r=e.style,n=r.image;if(n&&!Ze(n)&&(pp(n)?n=n.src:gp(n)&&(n=n.toDataURL())),!!n){var i=r.x||0,a=r.y||0,s=r.width,o=r.height,u={href:n,width:s,height:o};return i&&(u.x=i),a&&(u.y=a),ff(u,e.transform),of(u,r,e,t),uf(u,e),t.animation&&Os(e,u,t),$t("image",e.id+"",u)}}function I2(e,t){var r=e.style,n=r.text;if(n!=null&&(n+=""),!(!n||isNaN(r.x)||isNaN(r.y))){var i=r.font||wr,a=r.x||0,s=Y_(r.y||0,ks(i),r.textBaseline),o=q_[r.textAlign]||r.textAlign,u={"dominant-baseline":"central","text-anchor":o};if(Hv(r)){var f="",l=r.fontStyle,c=$v(r.fontSize);if(!parseFloat(c))return;var h=r.fontFamily||qd,d=r.fontWeight;f+="font-size:"+c+";font-family:"+h+";",l&&l!=="normal"&&(f+="font-style:"+l+";"),d&&d!=="normal"&&(f+="font-weight:"+d+";"),u.style=f}else u.style="font: "+i;return n.match(/\s/)&&(u["xml:space"]="preserve"),a&&(u.x=a),s&&(u.y=s),ff(u,e.transform),of(u,r,e,t),uf(u,e),t.animation&&Os(e,u,t),$t("text",e.id+"",u,void 0,n)}}function hc(e,t){if(e instanceof Nt)return xp(e,t);if(e instanceof Qi)return M2(e,t);if(e instanceof $i)return I2(e,t)}function N2(e,t,r){var n=e.style;if(G_(n)){var i=X_(e),a=r.shadowCache,s=a[i];if(!s){var o=e.getGlobalScale(),u=o[0],f=o[1];if(!u||!f)return;var l=n.shadowOffsetX||0,c=n.shadowOffsetY||0,h=n.shadowBlur,d=Ii(n.shadowColor),g=d.opacity,y=d.color,v=h/2/u,p=h/2/f,m=v+" "+p;s=r.zrId+"-s"+r.shadowIdx++,r.defs[s]=$t("filter",s,{id:s,x:"-100%",y:"-100%",width:"300%",height:"300%"},[$t("feDropShadow","",{dx:l/u,dy:c/f,stdDeviation:m,"flood-color":y,"flood-opacity":g})]),a[i]=s}t.filter=Ds(s)}}function _p(e,t,r,n){var i=e[r],a,s={gradientUnits:i.global?"userSpaceOnUse":"objectBoundingBox"};if(_v(i))a="linearGradient",s.x1=i.x,s.y1=i.y,s.x2=i.x2,s.y2=i.y2;else if(mv(i))a="radialGradient",s.cx=Rt(i.x,.5),s.cy=Rt(i.y,.5),s.r=Rt(i.r,.5);else return;for(var o=i.colorStops,u=[],f=0,l=o.length;f<l;++f){var c=nu(o[f].offset)*100+"%",h=o[f].color,d=Ii(h),g=d.color,y=d.opacity,v={offset:c};v["stop-color"]=g,y<1&&(v["stop-opacity"]=y),u.push($t("stop",f+"",v))}var p=$t(a,"",s,u),m=sf(p),x=n.gradientCache,_=x[m];_||(_=n.zrId+"-g"+n.gradientIdx++,x[m]=_,s.id=_,n.defs[_]=$t(a,_,s,u)),t[r]=Ds(_)}function mp(e,t,r,n){var i=e.style[r],a=e.getBoundingRect(),s={},o=i.repeat,u=o==="no-repeat",f=o==="repeat-x",l=o==="repeat-y",c;if(xv(i)){var h=i.imageWidth,d=i.imageHeight,g=void 0,y=i.image;if(Ze(y)?g=y:pp(y)?g=y.src:gp(y)&&(g=y.toDataURL()),typeof Image>"u"){var v="Image width/height must been given explictly in svg-ssr renderer.";Zf(h,v),Zf(d,v)}else if(h==null||d==null){var p=function(D,F){if(D){var T=D.elm,R=h||F.width,E=d||F.height;D.tag==="pattern"&&(f?(E=1,R/=a.width):l&&(R=1,E/=a.height)),D.attrs.width=R,D.attrs.height=E,T&&(T.setAttribute("width",R),T.setAttribute("height",E))}},m=nf(g,null,e,function(D){u||p(w,D),p(c,D)});m&&m.width&&m.height&&(h=h||m.width,d=d||m.height)}c=$t("image","img",{href:g,width:h,height:d}),s.width=h,s.height=d}else i.svgElement&&(c=vn(i.svgElement),s.width=i.svgWidth,s.height=i.svgHeight);if(!!c){var x,_;u?x=_=1:f?(_=1,x=s.width/a.width):l?(x=1,_=s.height/a.height):s.patternUnits="userSpaceOnUse",x!=null&&!isNaN(x)&&(s.width=x),_!=null&&!isNaN(_)&&(s.height=_);var b=wv(i);b&&(s.patternTransform=b);var w=$t("pattern","",s,[c]),C=sf(w),A=n.patternCache,k=A[C];k||(k=n.zrId+"-p"+n.patternIdx++,A[C]=k,s.id=k,w=n.defs[k]=$t("pattern",k,s,[c])),t[r]=Ds(k)}}function z2(e,t,r){var n=r.clipPathCache,i=r.defs,a=n[e.id];if(!a){a=r.zrId+"-c"+r.clipPathIdx++;var s={id:a};n[e.id]=a,i[a]=$t("clipPath",a,s,[xp(e,r)])}t["clip-path"]=Ds(a)}function dc(e){return document.createTextNode(e)}function nn(e,t,r){e.insertBefore(t,r)}function vc(e,t){e.removeChild(t)}function pc(e,t){e.appendChild(t)}function yp(e){return e.parentNode}function bp(e){return e.nextSibling}function Ro(e,t){e.textContent=t}var gc=58,$2=120,H2=$t("","");function bu(e){return e===void 0}function We(e){return e!==void 0}function U2(e,t,r){for(var n={},i=t;i<=r;++i){var a=e[i].key;a!==void 0&&(n[a]=i)}return n}function Ci(e,t){var r=e.key===t.key,n=e.tag===t.tag;return n&&r}function ji(e){var t,r=e.children,n=e.tag;if(We(n)){var i=e.elm=hp(n);if(lf(H2,e),Jn(r))for(t=0;t<r.length;++t){var a=r[t];a!=null&&pc(i,ji(a))}else We(e.text)&&!sr(e.text)&&pc(i,dc(e.text))}else e.elm=dc(e.text);return e.elm}function wp(e,t,r,n,i){for(;n<=i;++n){var a=r[n];a!=null&&nn(e,ji(a),t)}}function es(e,t,r,n){for(;r<=n;++r){var i=t[r];
31if(i!=null)if(We(i.tag)){var a=yp(i.elm);vc(a,i.elm)}else vc(e,i.elm)}}function lf(e,t){var r,n=t.elm,i=e&&e.attrs||{},a=t.attrs||{};if(i!==a){for(r in a){var s=a[r],o=i[r];o!==s&&(s===!0?n.setAttribute(r,""):s===!1?n.removeAttribute(r):r==="style"?n.style.cssText=s:r.charCodeAt(0)!==$2?n.setAttribute(r,s):r==="xmlns:xlink"||r==="xmlns"?n.setAttributeNS(b2,r,s):r.charCodeAt(3)===gc?n.setAttributeNS(w2,r,s):r.charCodeAt(5)===gc?n.setAttributeNS(cp,r,s):n.setAttribute(r,s))}for(r in i)r in a||n.removeAttribute(r)}}function j2(e,t,r){for(var n=0,i=0,a=t.length-1,s=t[0],o=t[a],u=r.length-1,f=r[0],l=r[u],c,h,d,g;n<=a&&i<=u;)s==null?s=t[++n]:o==null?o=t[--a]:f==null?f=r[++i]:l==null?l=r[--u]:Ci(s,f)?(Nn(s,f),s=t[++n],f=r[++i]):Ci(o,l)?(Nn(o,l),o=t[--a],l=r[--u]):Ci(s,l)?(Nn(s,l),nn(e,s.elm,bp(o.elm)),s=t[++n],l=r[--u]):Ci(o,f)?(Nn(o,f),nn(e,o.elm,s.elm),o=t[--a],f=r[++i]):(bu(c)&&(c=U2(t,n,a)),h=c[f.key],bu(h)?nn(e,ji(f),s.elm):(d=t[h],d.tag!==f.tag?nn(e,ji(f),s.elm):(Nn(d,f),t[h]=void 0,nn(e,d.elm,s.elm))),f=r[++i]);(n<=a||i<=u)&&(n>a?(g=r[u+1]==null?null:r[u+1].elm,wp(e,g,r,i,u)):es(e,t,n,a))}function Nn(e,t){var r=t.elm=e.elm,n=e.children,i=t.children;e!==t&&(lf(e,t),bu(t.text)?We(n)&&We(i)?n!==i&&j2(r,n,i):We(i)?(We(e.text)&&Ro(r,""),wp(r,null,i,0,i.length-1)):We(n)?es(r,n,0,n.length-1):We(e.text)&&Ro(r,""):e.text!==t.text&&(We(n)&&es(r,n,0,n.length-1),Ro(r,t.text)))}function W2(e,t){if(Ci(e,t))Nn(e,t);else{var r=e.elm,n=yp(r);ji(t),n!==null&&(nn(n,t.elm,bp(r)),es(n,[e],0,0))}return t}var q2=0,Y2=function(){function e(t,r,n){if(this.type="svg",this.refreshHover=xc(),this.configLayer=xc(),this.storage=r,this._opts=n=mt({},n),this.root=t,this._id="zr"+q2++,this._oldVNode=ac(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var a=this._svgDom=this._oldVNode.elm=hp("svg");lf(null,this._oldVNode),i.appendChild(a),t.appendChild(i)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",W2(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return hc(t,yu(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var r=this.storage.getDisplayList(!0),n=this._width,i=this._height,a=yu(this._id);a.animation=t.animation,a.willUpdate=t.willUpdate,a.compress=t.compress,a.emphasis=t.emphasis,a.ssr=this._opts.ssr;var s=[],o=this._bgVNode=G2(n,i,this._backgroundColor,a);o&&s.push(o);var u=t.compress?null:this._mainVNode=$t("g","main",{},[]);this._paintList(r,a,u?u.children:s),u&&s.push(u);var f=It(St(a.defs),function(h){return a.defs[h]});if(f.length&&s.push($t("defs","defs",{},f)),t.animation){var l=A2(a.cssNodes,a.cssAnims,{newline:!0});if(l){var c=$t("style","stl",{},[],l);s.push(c)}}return ac(n,i,s,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},sf(this.renderToVNode({animation:Rt(t.cssAnimation,!0),emphasis:Rt(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Rt(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,r,n){for(var i=t.length,a=[],s=0,o,u,f=0,l=0;l<i;l++){var c=t[l];if(!c.invisible){var h=c.__clipPaths,d=h&&h.length||0,g=u&&u.length||0,y=void 0;for(y=Math.max(d-1,g-1);y>=0&&!(h&&u&&h[y]===u[y]);y--);for(var v=g-1;v>y;v--)s--,o=a[s-1];for(var p=y+1;p<d;p++){var m={};z2(h[p],m,r);var x=$t("g","clip-g-"+f++,m,[]);(o?o.children:n).push(x),a[s++]=x,o=x}u=h;var _=hc(c,r);_&&(o?o.children:n).push(_)}}},e.prototype.resize=function(t,r){var n=this._opts,i=this.root,a=this._viewport;if(t!=null&&(n.width=t),r!=null&&(n.height=r),i&&a&&(a.style.display="none",t=Gn(i,0,n),r=Gn(i,1,n),a.style.display=""),this._width!==t||this._height!==r){if(this._width=t,this._height=r,a){var s=a.style;s.width=t+"px",s.height=r+"px"}if(Ju(this._backgroundColor))this.refresh();else{var o=this._svgDom;o&&(o.setAttribute("width",t),o.setAttribute("height",r));var u=this._bgVNode&&this._bgVNode.elm;u&&(u.setAttribute("width",t),u.setAttribute("height",r))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(t){var r=this.renderToString(),n="data:image/svg+xml;";return t?(r=Z_(r),r&&n+"base64,"+r):n+"charset=UTF-8,"+encodeURIComponent(r)},e}();function xc(e){return function(){}}function G2(e,t,r,n){var i;if(r&&r!=="none")if(i=$t("rect","bg",{width:e,height:t,x:"0",y:"0"}),yv(r))_p({fill:r},i.attrs,"fill",n);else if(Ju(r))mp({style:{fill:r},dirty:fn,getBoundingRect:function(){return{width:e,height:t}}},i.attrs,"fill",n);else{var a=Ii(r),s=a.color,o=a.opacity;i.attrs.fill=s,o<1&&(i.attrs["fill-opacity"]=o)}return i}const tC=Y2;function _c(e,t,r){var n=Xi.createCanvas(),i=t.getWidth(),a=t.getHeight(),s=n.style;return s&&(s.position="absolute",s.left="0",s.top="0",s.width=i+"px",s.height=a+"px",n.setAttribute("data-zr-dom-id",e)),n.width=i*r,n.height=a*r,n}var X2=function(e){bt(t,e);function t(r,n,i){var a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null;var s;i=i||Za,typeof r=="string"?s=_c(r,n,i):sr(r)&&(s=r,r=s.id),a.id=r,a.dom=s;var o=s.style;return o&&(Jd(s),s.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),a.painter=n,a.dpr=i,a}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=_c("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},t.prototype.createRepaintRects=function(r,n,i,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var s=[],o=this.maxRepaintRectCount,u=!1,f=new kt(0,0,0,0);function l(m){if(!(!m.isFinite()||m.isZero()))if(s.length===0){var x=new kt(0,0,0,0);x.copy(m),s.push(x)}else{for(var _=!1,b=1/0,w=0,C=0;C<s.length;++C){var A=s[C];if(A.intersect(m)){var k=new kt(0,0,0,0);k.copy(A),k.union(m),s[C]=k,_=!0;break}else if(u){f.copy(m),f.union(A);var D=m.width*m.height,F=A.width*A.height,T=f.width*f.height,R=T-D-F;R<b&&(b=R,w=C)}}if(u&&(s[w].union(m),_=!0),!_){var x=new kt(0,0,0,0);x.copy(m),s.push(x)}u||(u=s.length>=o)}}for(var c=this.__startIndex;c<this.__endIndex;++c){var h=r[c];
31if(h){var d=h.shouldBePainted(i,a,!0,!0),g=h.__isRendered&&(h.__dirty&ve||!d)?h.getPrevPaintRect():null;g&&l(g);var y=d&&(h.__dirty&ve||!h.__isRendered)?h.getPaintRect():null;y&&l(y)}}for(var c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var h=n[c],d=h&&h.shouldBePainted(i,a,!0,!0);if(h&&(!d||!h.__zr)&&h.__isRendered){var g=h.getPrevPaintRect();g&&l(g)}}var v;do{v=!1;for(var c=0;c<s.length;){if(s[c].isZero()){s.splice(c,1);continue}for(var p=c+1;p<s.length;)s[c].intersect(s[p])?(v=!0,s[c].union(s[p]),s.splice(p,1)):p++;c++}}while(v);return this._paintRects=s,s},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(r,n){var i=this.dpr,a=this.dom,s=a.style,o=this.domBack;s&&(s.width=r+"px",s.height=n+"px"),a.width=r*i,a.height=n*i,o&&(o.width=r*i,o.height=n*i,i!==1&&this.ctxBack.scale(i,i))},t.prototype.clear=function(r,n,i){var a=this.dom,s=this.ctx,o=a.width,u=a.height;n=n||this.clearColor;var f=this.motionBlur&&!r,l=this.lastFrameAlpha,c=this.dpr,h=this;f&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(a,0,0,o/c,u/c));var d=this.domBack;function g(y,v,p,m){if(s.clearRect(y,v,p,m),n&&n!=="transparent"){var x=void 0;if(As(n)){var _=n.global||n.__width===p&&n.__height===m;x=_&&n.__canvasGradient||xu(s,n,{x:0,y:0,width:p,height:m}),n.__canvasGradient=x,n.__width=p,n.__height=m}else Nx(n)&&(n.scaleX=n.scaleX||c,n.scaleY=n.scaleY||c,x=_u(s,n,{dirty:function(){h.setUnpainted(),h.painter.refresh()}}));s.save(),s.fillStyle=x||n,s.fillRect(y,v,p,m),s.restore()}f&&(s.save(),s.globalAlpha=l,s.drawImage(d,y,v,p,m),s.restore())}!i||f?g(0,0,o,u):i.length&&Kt(i,function(y){g(y.x*c,y.y*c,y.width*c,y.height*c)})},t}(si);const Lo=X2;var mc=1e5,Zr=314159,Ea=.01,V2=.001;function Z2(e){return e?e.__builtin__?!0:!(typeof e.resize!="function"||typeof e.refresh!="function"):!1}function K2(e,t){var r=document.createElement("div");return r.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",r}var Q2=function(){function e(t,r,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||t.nodeName.toUpperCase()==="CANVAS";this._opts=n=mt({},n||{}),this.dpr=n.devicePixelRatio||Za,this._singleCanvas=a,this.root=t;var s=t.style;s&&(Jd(t),t.innerHTML=""),this.storage=r;var o=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var l=t,c=l.width,h=l.height;n.width!=null&&(c=n.width),n.height!=null&&(h=n.height),this.dpr=n.devicePixelRatio||1,l.width=c*this.dpr,l.height=h*this.dpr,this._width=c,this._height=h;var d=new Lo(l,this,this.dpr);d.__builtin__=!0,d.initContext(),u[Zr]=d,d.zlevel=Zr,o.push(Zr),this._domRoot=t}else{this._width=Gn(t,0,n),this._height=Gn(t,1,n);var f=this._domRoot=K2(this._width,this._height);t.appendChild(f)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.refresh=function(t){var r=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(r,n,t,this._redrawId);for(var a=0;a<i.length;a++){var s=i[a],o=this._layers[s];if(!o.__builtin__&&o.refresh){var u=a===0?this._backgroundColor:null;o.refresh(u)}}return this._opts.useDirtyRect&&(this._prevDisplayList=r.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(t){var r=t.length,n=this._hoverlayer;if(n&&n.clear(),!!r){for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height},a,s=0;s<r;s++){var o=t[s];o.__inHover&&(n||(n=this._hoverlayer=this.getLayer(mc)),a||(a=n.ctx,a.save()),sn(a,o,i,s===r-1))}a&&a.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(mc)},e.prototype.paintOne=function(t,r){c2(t,r)},e.prototype._paintList=function(t,r,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var a=this._doPaintList(t,r,n),s=a.finished,o=a.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(t),s)this.eachLayer(function(f){f.afterBrush&&f.afterBrush()});else{var u=this;tu(function(){u._paintList(t,r,n,i)})}}},e.prototype._compositeManually=function(){var t=this.getLayer(Zr).ctx,r=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,r,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,r,n)})},e.prototype._doPaintList=function(t,r,n){for(var i=this,a=[],s=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var u=this._zlevelList[o],f=this._layers[u];f.__builtin__&&f!==this._hoverlayer&&(f.__dirty||n)&&a.push(f)}for(var l=!0,c=!1,h=function(y){var v=a[y],p=v.ctx,m=s&&v.createRepaintRects(t,r,d._width,d._height),x=n?v.__startIndex:v.__drawIndex,_=!n&&v.incremental&&Date.now,b=_&&Date.now(),w=v.zlevel===d._zlevelList[0]?d._backgroundColor:null;if(v.__startIndex===v.__endIndex)v.clear(!1,w,m);else if(x===v.__startIndex){var C=t[x];(!C.incremental||!C.notClear||n)&&v.clear(!1,w,m)}x===-1&&(console.error("For some unknown reason. drawIndex is -1"),x=v.__startIndex);var A,k=function(R){var E={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(A=x;A<v.__endIndex;A++){var z=t[A];if(z.__inHover&&(c=!0),i._doPaintEl(z,v,s,R,E,A===v.__endIndex-1),_){var W=Date.now()-b;if(W>15)break}}
31E.prevElClipPaths&&p.restore()};if(m)if(m.length===0)A=v.__endIndex;else for(var D=d.dpr,F=0;F<m.length;++F){var T=m[F];p.save(),p.beginPath(),p.rect(T.x*D,T.y*D,T.width*D,T.height*D),p.clip(),k(T),p.restore()}else p.save(),k(),p.restore();v.__drawIndex=A,v.__drawIndex<v.__endIndex&&(l=!1)},d=this,g=0;g<a.length;g++)h(g);return Zt.wxa&&Kt(this._layers,function(y){y&&y.ctx&&y.ctx.draw&&y.ctx.draw()}),{finished:l,needsRefreshHover:c}},e.prototype._doPaintEl=function(t,r,n,i,a,s){var o=r.ctx;if(n){var u=t.getPaintRect();(!i||u&&u.intersect(i))&&(sn(o,t,a,s),t.setPrevPaintRect(u))}else sn(o,t,a,s)},e.prototype.getLayer=function(t,r){this._singleCanvas&&!this._needsManuallyCompositing&&(t=Zr);var n=this._layers[t];return n||(n=new Lo("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?$n(n,this._layerConfig[t],!0):this._layerConfig[t-Ea]&&$n(n,this._layerConfig[t-Ea],!0),r&&(n.virtual=r),this.insertLayer(t,n),n.initContext()),n},e.prototype.insertLayer=function(t,r){var n=this._layers,i=this._zlevelList,a=i.length,s=this._domRoot,o=null,u=-1;if(!n[t]&&!!Z2(r)){if(a>0&&t>i[0]){for(u=0;u<a-1&&!(i[u]<t&&i[u+1]>t);u++);o=n[i[u]]}if(i.splice(u+1,0,t),n[t]=r,!r.virtual)if(o){var f=o.dom;f.nextSibling?s.insertBefore(r.dom,f.nextSibling):s.appendChild(r.dom)}else s.firstChild?s.insertBefore(r.dom,s.firstChild):s.appendChild(r.dom);r.painter||(r.painter=this)}},e.prototype.eachLayer=function(t,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i];t.call(r,this._layers[a],a)}},e.prototype.eachBuiltinLayer=function(t,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i],s=this._layers[a];s.__builtin__&&t.call(r,s,a)}},e.prototype.eachOtherLayer=function(t,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i],s=this._layers[a];s.__builtin__||t.call(r,s,a)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(t){this.eachBuiltinLayer(function(c,h){c.__dirty=c.__used=!1});function r(c){a&&(a.__endIndex!==c&&(a.__dirty=!0),a.__endIndex=c)}if(this._singleCanvas)for(var n=1;n<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var a=null,s=0,o,u;for(u=0;
31u<t.length;u++){var i=t[u],f=i.zlevel,l=void 0;o!==f&&(o=f,s=0),i.incremental?(l=this.getLayer(f+V2,this._needsManuallyCompositing),l.incremental=!0,s=1):l=this.getLayer(f+(s>0?Ea:0),this._needsManuallyCompositing),l.__builtin__||Zu("ZLevel "+f+" has been used by unkown layer "+l.id),l!==a&&(l.__used=!0,l.__startIndex!==u&&(l.__dirty=!0),l.__startIndex=u,l.incremental?l.__drawIndex=-1:l.__drawIndex=u,r(u),a=l),i.__dirty&ve&&!i.__inHover&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=u))}r(u),this.eachBuiltinLayer(function(c,h){!c.__used&&c.getElementCount()>0&&(c.__dirty=!0,c.__startIndex=c.__endIndex=c.__drawIndex=0),c.__dirty&&c.__drawIndex<0&&(c.__drawIndex=c.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,Kt(this._layers,function(r){r.setUnpainted()})},e.prototype.configLayer=function(t,r){if(r){var n=this._layerConfig;n[t]?$n(n[t],r,!0):n[t]=r;for(var i=0;i<this._zlevelList.length;i++){var a=this._zlevelList[i];if(a===t||a===t+Ea){var s=this._layers[a];$n(s,n[t],!0)}}}},e.prototype.delLayer=function(t){var r=this._layers,n=this._zlevelList,i=r[t];!i||(i.dom.parentNode.removeChild(i.dom),delete r[t],n.splice(qe(n,t),1))},e.prototype.resize=function(t,r){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,a=this.root;if(t!=null&&(i.width=t),r!=null&&(i.height=r),t=Gn(a,0,i),r=Gn(a,1,i),n.style.display="",this._width!==t||r!==this._height){n.style.width=t+"px",n.style.height=r+"px";for(var s in this._layers)this._layers.hasOwnProperty(s)&&this._layers[s].resize(t,r);this.refresh(!0)}this._width=t,this._height=r}else{if(t==null||r==null)return;this._width=t,this._height=r,this.getLayer(Zr).resize(t,r)}return this},e.prototype.clearLayer=function(t){var r=this._layers[t];r&&r.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[Zr].dom;var r=new Lo("image",this,t.pixelRatio||this.dpr);r.initContext(),r.clear(!1,t.backgroundColor||this._backgroundColor);var n=r.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=r.dom.width,a=r.dom.height;this.eachLayer(function(c){c.__builtin__?n.drawImage(c.dom,0,0,i,a):c.renderToCanvas&&(n.save(),c.renderToCanvas(n),n.restore())})}else for(var s={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),u=0,f=o.length;u<f;u++){var l=o[u];sn(n,l,s,u===f-1)}return r.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();const eC=Q2;function J2(e){if(Ze(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}var r=e;for(r.nodeType===9&&(r=r.firstChild);r.nodeName.toLowerCase()!=="svg"||r.nodeType!==1;)r=r.nextSibling;return r}var Po,rs={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},yc=St(rs),ns={"alignment-baseline":"textBaseline","stop-color":"stopColor"},bc=St(ns),tb=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(t,r){r=r||{};var n=J2(t);this._defsUsePending=[];var i=new In;this._root=i;var a=[],s=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||r.width),u=parseFloat(n.getAttribute("height")||r.height);isNaN(o)&&(o=null),isNaN(u)&&(u=null),ce(n,i,null,!0,!1);for(var f=n.firstChild;f;)this._parseNode(f,i,a,null,!1,!1),f=f.nextSibling;nb(this._defs,this._defsUsePending),this._defsUsePending=[];var l,c;if(s){var h=Rs(s);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&o!=null&&u!=null&&(c=ub(l,{x:0,y:0,width:o,height:u}),!r.ignoreViewBox)){var d=i;i=new In,i.add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return!r.ignoreRootClip&&o!=null&&u!=null&&i.setClipPath(new Qa({shape:{x:0,y:0,width:o,height:u}})),{root:i,width:o,height:u,viewBoxRect:l,viewBoxTransform:c,named:a}},e.prototype._parseNode=function(t,r,n,i,a,s){var o=t.nodeName.toLowerCase(),u,f=i;if(o==="defs"&&(a=!0),o==="text"&&(s=!0),o==="defs"||o==="switch")u=r;else{if(!a){var l=Po[o];if(l&&qa(Po,o)){u=l.call(this,t,r);var c=t.getAttribute("name");if(c){var h={name:c,namedFrom:null,svgNodeTagLower:o,el:u};n.push(h),o==="g"&&(f=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:o,el:u});r.add(u)}}var d=wc[o];
31if(d&&qa(wc,o)){var g=d.call(this,t),y=t.getAttribute("id");y&&(this._defs[y]=g)}}if(u&&u.isGroup)for(var v=t.firstChild;v;)v.nodeType===1?this._parseNode(v,u,n,f,a,s):v.nodeType===3&&s&&this._parseText(v,u),v=v.nextSibling},e.prototype._parseText=function(t,r){var n=new $i({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});me(r,n),ce(t,n,this._defsUsePending,!1,!1),eb(n,r);var i=n.style,a=i.fontSize;a&&a<9&&(i.fontSize=9,n.scaleX*=a/9,n.scaleY*=a/9);var s=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=s;var o=n.getBoundingRect();return this._textX+=o.width,r.add(n),n},e.internalField=function(){Po={g:function(t,r){var n=new In;return me(r,n),ce(t,n,this._defsUsePending,!1,!1),n},rect:function(t,r){var n=new Qa;return me(r,n),ce(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,r){var n=new wy;return me(r,n),ce(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,r){var n=new Iy;return me(r,n),ce(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,r){var n=new Cy;return me(r,n),ce(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,r){var n=t.getAttribute("points"),i;n&&(i=Ac(n));var a=new tp({shape:{points:i||[]},silent:!0});return me(r,a),ce(t,a,this._defsUsePending,!1,!1),a},polyline:function(t,r){var n=t.getAttribute("points"),i;n&&(i=Ac(n));var a=new Ly({shape:{points:i||[]},silent:!0});return me(r,a),ce(t,a,this._defsUsePending,!1,!1),a},image:function(t,r){var n=new Qi;return me(r,n),ce(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,r){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",a=t.getAttribute("dx")||"0",s=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(i)+parseFloat(s);var o=new In;return me(r,o),ce(t,o,this._defsUsePending,!1,!0),o},tspan:function(t,r){var n=t.getAttribute("x"),i=t.getAttribute("y");n!=null&&(this._textX=parseFloat(n)),i!=null&&(this._textY=parseFloat(i));var a=t.getAttribute("dx")||"0",s=t.getAttribute("dy")||"0",o=new In;return me(r,o),ce(t,o,this._defsUsePending,!1,!0),this._textX+=parseFloat(a),this._textY+=parseFloat(s),o},path:function(t,r){var n=t.getAttribute("d")||"",i=yy(n);return me(r,i),ce(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),e}(),wc={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),r=parseInt(e.getAttribute("y1")||"0",10),n=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),a=new Wy(t,r,n,i);return Ec(e,a),Cc(e,a),a},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),r=parseInt(e.getAttribute("cy")||"0",10),n=parseInt(e.getAttribute("r")||"0",10),i=new Yy(t,r,n);return Ec(e,i),Cc(e,i),i}};function Ec(e,t){var r=e.getAttribute("gradientUnits");r==="userSpaceOnUse"&&(t.global=!0)}function Cc(e,t){for(var r=e.firstChild;r;){if(r.nodeType===1&&r.nodeName.toLocaleLowerCase()==="stop"){var n=r.getAttribute("offset"),i=void 0;n&&n.indexOf("%")>0?i=parseInt(n,10)/100:n?i=parseFloat(n):i=0;var a={};Ep(r,a,a);var s=a.stopColor||r.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:s})}r=r.nextSibling}}function me(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Se(t.__inheritedStyle,e.__inheritedStyle))}function Ac(e){for(var t=Rs(e),r=[],n=0;n<t.length;n+=2){var i=parseFloat(t[n]),a=parseFloat(t[n+1]);r.push([i,a])}return r}function ce(e,t,r,n,i){var a=t,s=a.__inheritedStyle=a.__inheritedStyle||{},o={};e.nodeType===1&&(sb(e,t),Ep(e,s,o),n||ob(e,s,o)),a.style=a.style||{},s.fill!=null&&(a.style.fill=Sc(a,"fill",s.fill,r)),s.stroke!=null&&(a.style.stroke=Sc(a,"stroke",s.stroke,r)),Kt(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(u){s[u]!=null&&(a.style[u]=parseFloat(s[u]))}),Kt(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(u){s[u]!=null&&(a.style[u]=s[u])}),i&&(a.__selfStyle=o),s.lineDash&&(a.style.lineDash=It(Rs(s.lineDash),function(u){return parseFloat(u)})),(s.visibility==="hidden"||s.visibility==="collapse")&&(a.invisible=!0),s.display==="none"&&(a.ignore=!0)}function eb(e,t){var r=t.__selfStyle;if(r){var n=r.textBaseline,i=n;!n||n==="auto"||n==="baseline"?i="alphabetic":n==="before-edge"||n==="text-before-edge"?i="top":n==="after-edge"||n==="text-after-edge"?i="bottom":(n==="central"||n==="mathematical")&&(i="middle"),e.style.textBaseline=i}var a=t.__inheritedStyle;if(a){var s=a.textAlign,o=s;s&&(s==="middle"&&(o="center"),e.style.textAlign=o)}}var rb=/^url\(\s*#(.*?)\)/;function Sc(e,t,r,n){var i=r&&r.match(rb);
31if(i){var a=Hn(i[1]);n.push([e,t,a]);return}return r==="none"&&(r=null),r}function nb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n[0].style[n[1]]=e[n[2]]}}var ib=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Rs(e){return e.match(ib)||[]}var ab=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,Mo=Math.PI/180;function sb(e,t){var r=e.getAttribute("transform");if(r){r=r.replace(/,/g," ");var n=[],i=null;r.replace(ab,function(c,h,d){return n.push(h,d),""});for(var a=n.length-1;a>0;a-=2){var s=n[a],o=n[a-1],u=Rs(s);switch(i=i||ln(),o){case"translate":J0(i,i,[parseFloat(u[0]),parseFloat(u[1]||"0")]);break;case"scale":nv(i,i,[parseFloat(u[0]),parseFloat(u[1]||u[0])]);break;case"rotate":rv(i,i,-parseFloat(u[0])*Mo,[parseFloat(u[1]||"0"),parseFloat(u[2]||"0")]);break;case"skewX":var f=Math.tan(parseFloat(u[0])*Mo);ki(i,[1,0,f,1,0,0],i);break;case"skewY":var l=Math.tan(parseFloat(u[0])*Mo);ki(i,[1,l,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(u[0]),i[1]=parseFloat(u[1]),i[2]=parseFloat(u[2]),i[3]=parseFloat(u[3]),i[4]=parseFloat(u[4]),i[5]=parseFloat(u[5]);break}}t.setLocalTransform(i)}}var Tc=/([^\s:;]+)\s*:\s*([^:;]+)/g;function Ep(e,t,r){var n=e.getAttribute("style");if(!!n){Tc.lastIndex=0;for(var i;(i=Tc.exec(n))!=null;){var a=i[1],s=qa(rs,a)?rs[a]:null;s&&(t[s]=i[2]);var o=qa(ns,a)?ns[a]:null;o&&(r[o]=i[2])}}}function ob(e,t,r){for(var n=0;n<yc.length;n++){var i=yc[n],a=e.getAttribute(i);a!=null&&(t[rs[i]]=a)}for(var n=0;n<bc.length;n++){var i=bc[n],a=e.getAttribute(i);a!=null&&(r[ns[i]]=a)}}function ub(e,t){var r=t.width/e.width,n=t.height/e.height,i=Math.min(r,n);return{scale:i,x:-(e.x+e.width/2)*i+(t.x+t.width/2),y:-(e.y+e.height/2)*i+(t.y+t.height/2)}}function rC(e,t){var r=new tb;return r.parse(e,t)}var Io=null;function fb(e){return Io||(Io=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(window)),Io(e)}var No=null;function lb(e){No||(No=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(t){clearTimeout(t)}).bind(window)),No(e)}function cb(e){var t=document.createElement("style");return t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}function Ca(e,t){t===void 0&&(t={});var r=document.createElement(e);return Object.keys(t).forEach(function(n){r[n]=t[n]}),r}function Cp(e,t,r){var n=window.getComputedStyle(e,r||null)||{display:"none"};return n[t]}function wu(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};for(var t=e;t!==document;){if(Cp(t,"display")==="none")return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var hb='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',Eu=0,Na=null;function nC(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=vb.bind(e));var r=e.__resize_listeners__;if(!r){if(e.__resize_listeners__=[],window.ResizeObserver){var n=e.offsetWidth,i=e.offsetHeight,a=new ResizeObserver(function(){!e.__resize_observer_triggered__&&(e.__resize_observer_triggered__=!0,e.offsetWidth===n&&e.offsetHeight===i)||is(e)}),s=wu(e),o=s.detached,u=s.rendered;e.__resize_observer_triggered__=o===!1&&u===!1,e.__resize_observer__=a,a.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){is(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(Eu||(Na=cb(hb)),pb(e),e.__resize_rendered__=wu(e).rendered,window.MutationObserver){var f=new MutationObserver(e.__resize_mutation_handler__);f.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=f}}e.__resize_listeners__.push(t),Eu++}function iC(e,t){var r=e.__resize_listeners__;if(!!r){if(t&&r.splice(r.indexOf(t),1),!r.length||!t){if(e.detachEvent&&e.removeEventListener){e.detachEvent("onresize",e.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);return}e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",cf),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--Eu&&Na&&Na.parentNode.removeChild(Na)}}function db(e){var t=e.__resize_last__,r=t.width,n=t.height,i=e.offsetWidth,a=e.offsetHeight;return i!==r||a!==n?{width:i,height:a}:null}function vb(){var e=wu(this),t=e.rendered,r=e.detached;t!==this.__resize_rendered__&&(!r&&this.__resize_triggers__&&(hf(this),this.addEventListener("scroll",cf,!0)),this.__resize_rendered__=t,is(this))}function cf(){var e=this;hf(this),this.__resize_raf__&&lb(this.__resize_raf__),this.__resize_raf__=fb(function(){var t=db(e);t&&(e.__resize_last__=t,is(e))})}function is(e){!e||!e.__resize_listeners__||e.__resize_listeners__.forEach(function(t){t.call(e,e)})}function pb(e){var t=Cp(e,"position");(!t||t==="static")&&(e.style.position="relative"),e.__resize_old_position__=t,e.__resize_last__={};var r=Ca("div",{className:"resize-triggers"}),n=Ca("div",{className:"resize-expand-trigger"}),i=Ca("div"),a=Ca("div",{className:"resize-contract-trigger"});n.appendChild(i),r.appendChild(n),r.appendChild(a),e.appendChild(r),e.__resize_triggers__={triggers:r,expand:n,expandChild:i,contract:a},hf(e),e.addEventListener("scroll",cf,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function hf(e){var t=e.__resize_triggers__,r=t.expand,n=t.expandChild,i=t.contract,a=i.scrollWidth,s=i.scrollHeight,o=r.offsetWidth,u=r.offsetHeight,f=r.scrollWidth,l=r.scrollHeight;i.scrollLeft=a,i.scrollTop=s,n.style.width=o+1+"px",n.style.height=u+1+"px",r.scrollLeft=f,r.scrollTop=l}/*! 32 * shared v9.14.5 33 * (c) 2025 kazuya kawaguchi 34 * Released under the MIT License. 35 */function df(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Dc={};function gb(e){Dc[e]||(Dc[e]=!0,df(e))}const Ap=typeof window<"u";let Sp,Tp;{const e=Ap&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Sp=t=>{e.mark(t)},Tp=(t,r,n)=>{e.measure(t,r,n),e.clearMarks(r),e.clearMarks(n)})}const xb=/\{([0-9a-zA-Z]+)\}/g;function _b(e,...t){return t.length===1&&pn(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(xb,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const mb=(e,t=!1)=>t?Symbol.for(e):Symbol(e),yb=(e,t,r)=>Dp({l:e,k:t,s:r}),Dp=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),bb=e=>typeof e=="number"&&isFinite(e),wb=e=>xf(e)==="[object Date]",Eb=e=>xf(e)==="[object RegExp]",Cb=e=>_f(e)&&Object.keys(e).length===0,Ab=Object.assign,Sb=Object.create,vf=(e=null)=>Sb(e);let kc;const Tb=()=>kc||(kc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:vf());function Db(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Bc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function kb(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,i,a)=>`${i}="${Bc(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,i,a)=>`${i}='${Bc(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(df("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEac
35h(n=>{e=e.replace(n,"$1javascript:")}),e}const Bb=Object.prototype.hasOwnProperty;function Fb(e,t){return Bb.call(e,t)}const pf=Array.isArray,Cu=e=>typeof e=="function",Ob=e=>typeof e=="string",Rb=e=>typeof e=="boolean",Lb=e=>typeof e=="symbol",pn=e=>e!==null&&typeof e=="object",Pb=e=>pn(e)&&Cu(e.then)&&Cu(e.catch),gf=Object.prototype.toString,xf=e=>gf.call(e),_f=e=>{if(!pn(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Mb=e=>e==null?"":pf(e)||_f(e)&&e.toString===gf?JSON.stringify(e,null,2):String(e);function Ib(e,t=""){return e.reduce((r,n,i)=>i===0?r+n:r+t+n,"")}const Fc=2;function Nb(e,t=0,r=e.length){const n=e.split(/\r?\n/);let i=0;const a=[];for(let s=0;s<n.length;s++)if(i+=n[s].length+1,i>=t){for(let o=s-Fc;o<=s+Fc||r>i;o++){if(o<0||o>=n.length)continue;const u=o+1;a.push(`${u}${" ".repeat(3-String(u).length)}| ${n[o]}`);const f=n[o].length;if(o===s){const l=t-(i-f)+1,c=Math.max(1,r>i?f-l:r-t);a.push(" | "+" ".repeat(l)+"^".repeat(c))}else if(o>s){if(r>i){const l=Math.max(Math.min(r-i,f),1);a.push(" | "+"^".repeat(l))}i+=f+1}}break}return a.join(` 36`)}function zb(e){let t=e;return()=>++t}function $b(){const e=new Map;return{events:e,on(r,n){const i=e.get(r);i&&i.push(n)||e.set(r,[n])},off(r,n){const i=e.get(r);i&&i.splice(i.indexOf(n)>>>0,1)},emit(r,n){(e.get(r)||[]).slice().map(i=>i(n)),(e.get("*")||[]).slice().map(i=>i(r,n))}}}const Aa=e=>!pn(e)||pf(e);function Hb(e,t){if(Aa(e)||Aa(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:i}=r.pop();Object.keys(n).forEach(a=>{a!=="__proto__"&&(pn(n[a])&&!pn(i[a])&&(i[a]=Array.isArray(n[a])?[]:vf()),Aa(i[a])||Aa(n[a])?i[a]=n[a]:r.push({src:n[a],des:i[a]}))})}}const Ub=Object.freeze(Object.defineProperty({__proto__:null,assign:Ab,create:vf,createEmitter:$b,deepCopy:Hb,escapeHtml:Db,format:_b,friendlyJSONstringify:Dp,generateCodeFrame:Nb,generateFormatCacheKey:yb,getGlobalThis:Tb,hasOwn:Fb,inBrowser:Ap,incrementer:zb,isArray:pf,isBoolean:Rb,isDate:wb,isEmptyObject:Cb,isFunction:Cu,isNumber:bb,isObject:pn,isPlainObject:_f,isPromise:Pb,isRegExp:Eb,isString:Ob,isSymbol:Lb,join:Ib,makeSymbol:mb,get mark(){return Sp},get measure(){return Tp},objectToString:gf,sanitizeTranslatedHtml:kb,toDisplayString:Mb,toTypeString:xf,warn:df,warnOnce:gb},Symbol.toStringTag,{value:"Module"})),aC=$u(Ub);/*! 37 * core-base v9.14.5 38 * (c) 2025 kazuya kawaguchi 39 * Released under the MIT License. 40 */function mn(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Oc={};function jb(e){Oc[e]||(Oc[e]=!0,mn(e))}const gn=typeof window<"u";let pe,xn;{const e=gn&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(pe=t=>{e.mark(t)},xn=(t,r,n)=>{e.measure(t,r,n),e.clearMarks(r),e.clearMarks(n)})}const Wb=/\{([0-9a-zA-Z]+)\}/g;function Ls(e,...t){return t.length===1&&Ht(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Wb,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const qb=(e,t,r)=>Yb({l:e,k:t,s:r}),Yb=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),re=e=>typeof e=="number"&&isFinite(e),Gb=e=>Bp(e)==="[object Date]",Rc=e=>Bp(e)==="[object RegExp]",mf=e=>Tt(e)&&Object.keys(e).length===0,Dr=Object.assign,Xb=Object.create,ie=(e=null)=>Xb(e);function Lc(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Pc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Vb(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(n,i,a)=>`${i}="${Pc(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(n,i,a)=>`${i}='${Pc(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(mn("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEac
40h(n=>{e=e.replace(n,"$1javascript:")}),e}const Zb=Object.prototype.hasOwnProperty;function on(e,t){return Zb.call(e,t)}const Ge=Array.isArray,zt=e=>typeof e=="function",dt=e=>typeof e=="string",ne=e=>typeof e=="boolean",Ht=e=>e!==null&&typeof e=="object",Kb=e=>Ht(e)&&zt(e.then)&&zt(e.catch),kp=Object.prototype.toString,Bp=e=>kp.call(e),Tt=e=>{if(!Ht(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Qb=e=>e==null?"":Ge(e)||Tt(e)&&e.toString===kp?JSON.stringify(e,null,2):String(e);function yf(e,t=""){return e.reduce((r,n,i)=>i===0?r+n:r+t+n,"")}const Mc=2;function Jb(e,t=0,r=e.length){const n=e.split(/\r?\n/);let i=0;const a=[];for(let s=0;s<n.length;s++)if(i+=n[s].length+1,i>=t){for(let o=s-Mc;o<=s+Mc||r>i;o++){if(o<0||o>=n.length)continue;const u=o+1;a.push(`${u}${" ".repeat(3-String(u).length)}| ${n[o]}`);const f=n[o].length;if(o===s){const l=t-(i-f)+1,c=Math.max(1,r>i?f-l:r-t);a.push(" | "+" ".repeat(l)+"^".repeat(c))}else if(o>s){if(r>i){const l=Math.max(Math.min(r-i,f),1);a.push(" | "+"^".repeat(l))}i+=f+1}}break}return a.join(` 41`)}function Fp(e){let t=e;return()=>++t}function tw(e,t,r){return{line:e,column:t,offset:r}}function as(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}const Ps={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},ew={[Ps.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function rw(e,t,...r){const n=Ls(ew[e]||"",...r||[]),i={message:String(n),code:e};return t&&(i.location=t),i}const ht={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},nw={[ht.EXPECTED_TOKEN]:"Expected token: '{0}'",[ht.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ht.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ht.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ht.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ht.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ht.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ht.EMPTY_PLACEHOLDER]:"Empty placeholder",[ht.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ht.INVALID_LINKED_FORMAT]:"Invalid linked format",[ht.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ht.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ht.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ht.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ht.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ht.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function oi(e,t,r={}){const{domain:n,messages:i,args:a}=r,s=Ls((i||nw)[e]||"",...a||[]),o=new SyntaxError(String(s));return o.code=e,t&&(o.location=t),o.domain=n,o}function iw(e){throw e}const aw=/<\/?[\w\s="/.':;#-\/]+>/,sw=e=>aw.test(e),rr=" ",ow="\r",Jt=` 42`,uw=String.fromCharCode(8232),fw=String.fromCharCode(8233);function lw(e){const t=e;let r=0,n=1,i=1,a=0;const s=C=>t[C]===ow&&t[C+1]===Jt,o=C=>t[C]===Jt,u=C=>t[C]===fw,f=C=>t[C]===uw,l=C=>s(C)||o(C)||u(C)||f(C),c=()=>r,h=()=>n,d=()=>i,g=()=>a,y=C=>s(C)||u(C)||f(C)?Jt:t[C],v=()=>y(r),p=()=>y(r+a);function m(){return a=0,l(r)&&(n++,i=0),s(r)&&r++,r++,i++,t[r]}function x(){return s(r+a)&&a++,a++,t[r+a]}function _(){r=0,n=1,i=1,a=0}function b(C=0){a=C}function w(){const C=r+a;for(;C!==r;)m();a=0}return{index:c,line:h,column:d,peekOffset:g,charAt:y,currentChar:v,currentPeek:p,next:m,peek:x,reset:_,resetPeek:b,skipToPeek:w}}const dr=void 0,cw=".",Ic="'",hw="tokenizer";function dw(e,t={}){const r=t.location!==!1,n=lw(e),i=()=>n.index(),a=()=>tw(n.line(),n.column(),n.index()),s=a(),o=i(),u={currentType:14,offset:o,startLoc:s,endLoc:s,lastType:14,lastOffset:o,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},f=()=>u,{onError:l}=t;function c(B,O,N,...V){const J=f();if(O.column+=N,O.offset+=N,l){const K=r?as(J.startLoc,O):null,it=oi(B,K,{domain:hw,args:V});l(it)}}function h(B,O,N){B.endLoc=a(),B.currentType=O;const V={type:O};return r&&(V.loc=as(B.startLoc,B.endLoc)),N!=null&&(V.value=N),V}const d=B=>h(B,14);function g(B,O){return B.currentChar()===O?(B.next(),O):(c(ht.EXPECTED_TOKEN,a(),0,O),"")}function y(B){let O="";for(;B.currentPeek()===rr||B.currentPeek()===Jt;)O+=B.currentPeek(),B.peek();return O}function v(B){const O=y(B);return B.skipToPeek(),O}function p(B){if(B===dr)return!1;
42const O=B.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O===95}function m(B){if(B===dr)return!1;const O=B.charCodeAt(0);return O>=48&&O<=57}function x(B,O){const{currentType:N}=O;if(N!==2)return!1;y(B);const V=p(B.currentPeek());return B.resetPeek(),V}function _(B,O){const{currentType:N}=O;if(N!==2)return!1;y(B);const V=B.currentPeek()==="-"?B.peek():B.currentPeek(),J=m(V);return B.resetPeek(),J}function b(B,O){const{currentType:N}=O;if(N!==2)return!1;y(B);const V=B.currentPeek()===Ic;return B.resetPeek(),V}function w(B,O){const{currentType:N}=O;if(N!==8)return!1;y(B);const V=B.currentPeek()===".";return B.resetPeek(),V}function C(B,O){const{currentType:N}=O;if(N!==9)return!1;y(B);const V=p(B.currentPeek());return B.resetPeek(),V}function A(B,O){const{currentType:N}=O;if(!(N===8||N===12))return!1;y(B);const V=B.currentPeek()===":";return B.resetPeek(),V}function k(B,O){const{currentType:N}=O;if(N!==10)return!1;const V=()=>{const K=B.currentPeek();return K==="{"?p(B.peek()):K==="@"||K==="%"||K==="|"||K===":"||K==="."||K===rr||!K?!1:K===Jt?(B.peek(),V()):T(B,!1)},J=V();return B.resetPeek(),J}function D(B){y(B);const O=B.currentPeek()==="|";return B.resetPeek(),O}function F(B){const O=y(B),N=B.currentPeek()==="%"&&B.peek()==="{";return B.resetPeek(),{isModulo:N,hasSpace:O.length>0}}function T(B,O=!0){const N=(J=!1,K="",it=!1)=>{const st=B.currentPeek();return st==="{"?K==="%"?!1:J:st==="@"||!st?K==="%"?!0:J:st==="%"?(B.peek(),N(J,"%",!0)):st==="|"?K==="%"||it?!0:!(K===rr||K===Jt):st===rr?(B.peek(),N(!0,rr,it)):st===Jt?(B.peek(),N(!0,Jt,it)):!0},V=N();return O&&B.resetPeek(),V}function R(B,O){const N=B.currentChar();return N===dr?dr:O(N)?(B.next(),N):null}function E(B){const O=B.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36}function z(B){return R(B,E)}function W(B){const O=B.charCodeAt(0);return O>=97&&O<=122||O>=65&&O<=90||O>=48&&O<=57||O===95||O===36||O===45}function q(B){return R(B,W)}function G(B){const O=B.charCodeAt(0);return O>=48&&O<=57}function Y(B){return R(B,G)}function Z(B){const O=B.charCodeAt(0);return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}function I(B){return R(B,Z)}function P(B){let O="",N="";for(;O=Y(B);)N+=O;return N}function j(B){v(B);const O=B.currentChar();return O!=="%"&&c(ht.EXPECTED_TOKEN,a(),0,O),B.next(),"%"}function $(B){let O="";for(;;){const N=B.currentChar();if(N==="{"||N==="}"||N==="@"||N==="|"||!N)break;if(N==="%")if(T(B))O+=N,B.next();else break;else if(N===rr||N===Jt)if(T(B))O+=N,B.next();else{if(D(B))break;O+=N,B.next()}else O+=N,B.next()}return O}function X(B){v(B);let O="",N="";for(;O=q(B);)N+=O;return B.currentChar()===dr&&c(ht.UNTERMINATED_CLOSING_BRACE,a(),0),N}function tt(B){v(B);let O="";return B.currentChar()==="-"?(B.next(),O+=`-${P(B)}`):O+=P(B),B.currentChar()===dr&&c(ht.UNTERMINATED_CLOSING_BRACE,a(),0),O}function nt(B){return B!==Ic&&B!==Jt}function et(B){v(B),g(B,"'");let O="",N="";for(;O=R(B,nt);)O==="\\"?N+=at(B):N+=O;const V=B.currentChar();return V===Jt||V===dr?(c(ht.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),V===Jt&&(B.next(),g(B,"'")),N):(g(B,"'"),N)}function at(B){const O=B.currentChar();switch(O){case"\\":case"'":return B.next(),`\\${O}`;case"u":return ot(B,O,4);case"U":return ot(B,O,6);default:return c(ht.UNKNOWN_ESCAPE_SEQUENCE,a(),0,O),""}}function ot(B,O,N){g(B,O);let V="";for(let J=0;J<N;J++){const K=I(B);if(!K){c(ht.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${O}${V}${B.currentChar()}`);break}V+=K}return`\\${O}${V}`}function rt(B){return B!=="{"&&B!=="}"&&B!==rr&&B!==Jt}function ut(B){v(B);let O="",N="";for(;O=R(B,rt);)N+=O;return N}function ct(B){let O="",N="";for(;O=z(B);)N+=O;return N}function S(B){const O=N=>{const V=B.currentChar();return V==="{"||V==="%"||V==="@"||V==="|"||V==="("||V===")"||!V||V===rr?N:(N+=V,B.next(),O(N))};return O("")}function Q(B){v(B);const O=g(B,"|");return v(B),O}function H(B,O){let N=null;switch(B.currentChar()){case"{":return O.braceNest>=1&&c(ht.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),B.next(),N=h(O,2,"{"),v(B),O.braceNest++,N;case"}":return O.braceNest>0&&O.currentType===2&&c(ht.EMPTY_PLACEHOLDER,a(),0),B.next(),N=h(O,3,"}"),O.braceNest--,O.braceNest>0&&v(B),O.inLinked&&O.braceNest===0&&(O.inLinked=!1),N;case"@":return O.braceNest>0&&c(ht.UNTERMINATED_CLOSING_BRACE,a(),0),N=M(B,O)||d(O),O.braceNest=0,N;default:{let J=!0,K=!0,it=!0;if(D(B))return O.braceNest>0&&c(ht.UNTERMINATED_CLOSING_BRACE,a(),0),N=h(O,1,Q(B)),O.braceNest=0,O.inLinked=!1,N;if(O.braceNest>0&&(O.currentType===5||O.currentType===6||O.currentType===7))return c(ht.UNTERMINATED_CLOSING_BRACE,a(),0),O.braceNest=0,L(B,O);if(J=x(B,O))return N=h(O,5,X(B)),v(B),N;if(K=_(B,O))return N=h(O,6,tt(B)),v(B),N;if(it=b(B,O))return N=h(O,7,et(B)),v(B),N;if(!J&&!K&&!it)return N=h(O,13,ut(B)),c(ht.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,N.value),v(B),N;break}}return N}function M(B,O){const{currentType:N}=O;let V=null;const J=B.currentChar();switch((N===8||N===9||N===12||N===10)&&(J===Jt||J===rr)&&c(ht.INVALID_LINKED_FORMAT,a(),0),J){case"@":return B.next(),V=h(O,8,"@"),O.inLinked=!0,V;case".":return v(B),B.next(),h(O,9,".");case":":return v(B),B.next(),h(O,10,":");default:return D(B)?(V=h(O,1,Q(B)),O.braceNest=0,O.inLinked=!1,V):w(B,O)||A(B,O)?(v(B),M(B,O)):C(B,O)?(v(B),h(O,12,ct(B))):k(B,O)?(v(B),J==="{"?H(B,O)||V:h(O,11,S(B))):(N===8&&c(ht.INVALID_LINKED_FORMAT,a(),0),O.braceNest=0,O.inLinked=!1,L(B,O))}}function L(B,O){let N={type:14};if(O.braceNest>0)return H(B,O)||d(O);if(O.inLinked)return M(B,O)||d(O);switch(B.currentChar()){case"{":return H(B,O)||d(O);case"}":return c(ht.UNBALANCED_CLOSING_BRACE,a(),0),B.next(),h(O,3,"}");case"@":return M(B,O)||d(O);
42default:{if(D(B))return N=h(O,1,Q(B)),O.braceNest=0,O.inLinked=!1,N;const{isModulo:J,hasSpace:K}=F(B);if(J)return K?h(O,0,$(B)):h(O,4,j(B));if(T(B))return h(O,0,$(B));break}}return N}function U(){const{currentType:B,offset:O,startLoc:N,endLoc:V}=u;return u.lastType=B,u.lastOffset=O,u.lastStartLoc=N,u.lastEndLoc=V,u.offset=i(),u.startLoc=a(),n.currentChar()===dr?h(u,14):L(n,u)}return{nextToken:U,currentOffset:i,currentPosition:a,context:f}}const vw="parser",pw=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function gw(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"\uFFFD"}}}function xw(e={}){const t=e.location!==!1,{onError:r,onWarn:n}=e;function i(x,_,b,w,...C){const A=x.currentPosition();if(A.offset+=w,A.column+=w,r){const k=t?as(b,A):null,D=oi(_,k,{domain:vw,args:C});r(D)}}function a(x,_,b,w,...C){const A=x.currentPosition();if(A.offset+=w,A.column+=w,n){const k=t?as(b,A):null;n(rw(_,k,C))}}function s(x,_,b){const w={type:x};return t&&(w.start=_,w.end=_,w.loc={start:b,end:b}),w}function o(x,_,b,w){w&&(x.type=w),t&&(x.end=_,x.loc&&(x.loc.end=b))}function u(x,_){const b=x.context(),w=s(3,b.offset,b.startLoc);return w.value=_,o(w,x.currentOffset(),x.currentPosition()),w}function f(x,_){const b=x.context(),{lastOffset:w,lastStartLoc:C}=b,A=s(5,w,C);return A.index=parseInt(_,10),x.nextToken(),o(A,x.currentOffset(),x.currentPosition()),A}function l(x,_,b){const w=x.context(),{lastOffset:C,lastStartLoc:A}=w,k=s(4,C,A);return k.key=_,b===!0&&(k.modulo=!0),x.nextToken(),o(k,x.currentOffset(),x.currentPosition()),k}function c(x,_){const b=x.context(),{lastOffset:w,lastStartLoc:C}=b,A=s(9,w,C);return A.value=_.replace(pw,gw),x.nextToken(),o(A,x.currentOffset(),x.currentPosition()),A}function h(x){const _=x.nextToken(),b=x.context(),{lastOffset:w,lastStartLoc:C}=b,A=s(8,w,C);return _.type!==12?(i(x,ht.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),A.value="",o(A,w,C),{nextConsumeToken:_,node:A}):(_.value==null&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,De(_)),A.value=_.value||"",o(A,x.currentOffset(),x.currentPosition()),{node:A})}function d(x,_){const b=x.context(),w=s(7,b.offset,b.startLoc);return w.value=_,o(w,x.currentOffset(),x.currentPosition()),w}function g(x){const _=x.context(),b=s(6,_.offset,_.startLoc);let w=x.nextToken();if(w.type===9){const C=h(x);b.modifier=C.node,w=C.nextConsumeToken||x.nextToken()}switch(w.type!==10&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,De(w)),w=x.nextToken(),w.type===2&&(w=x.nextToken()),w.type){case 11:w.value==null&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,De(w)),b.key=d(x,w.value||"");break;case 5:w.value==null&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,De(w)),b.key=l(x,w.value||"");break;case 6:w.value==null&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,De(w)),b.key=f(x,w.value||"");break;case 7:w.value==null&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,De(w)),b.key=c(x,w.value||"");break;default:{i(x,ht.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const C=x.context(),A=s(7,C.offset,C.startLoc);return A.value="",o(A,C.offset,C.startLoc),b.key=A,o(b,C.offset,C.startLoc),{nextConsumeToken:w,node:b}}}return o(b,x.currentOffset(),x.currentPosition()),{node:b}}function y(x){const _=x.context(),b=_.currentType===1?x.currentOffset():_.offset,w=_.currentType===1?_.endLoc:_.startLoc,C=s(2,b,w);C.items=[];let A=null,k=null;do{const T=A||x.nextToken();switch(A=null,T.type){case 0:T.value==null&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,De(T)),C.items.push(u(x,T.value||""));break;case 6:T.value==null&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,De(T)),C.items.push(f(x,T.value||""));break;case 4:k=!0;break;case 5:T.value==null&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,De(T)),C.items.push(l(x,T.value||"",!!k)),k&&(a(x,Ps.USE_MODULO_SYNTAX,_.lastStartLoc,0,De(T)),k=null);break;case 7:T.value==null&&i(x,ht.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,De(T)),C.items.push(c(x,T.value||""));break;case 8:{const R=g(x);C.items.push(R.node),A=R.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const D=_.currentType===1?_.lastOffset:x.currentOffset(),F=_.currentType===1?_.lastEndLoc:x.currentPosition();return o(C,D,F),C}function v(x,_,b,w){const C=x.context();let A=w.items.length===0;const k=s(1,_,b);k.cases=[],k.cases.push(w);do{const D=y(x);A||(A=D.items.length===0),k.cases.push(D)}while(C.currentType!==14);return A&&i(x,ht.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),o(k,x.currentOffset(),x.currentPosition()),k}function p(x){const _=x.context(),{offset:b,startLoc:w}=_,C=y(x);return _.currentType===14?C:v(x,b,w,C)}function m(x){const _=dw(x,Dr({},e)),b=_.context(),w=s(0,b.offset,b.startLoc);return t&&w.loc&&(w.loc.source=x),w.body=p(_),e.onCacheKey&&(w.cacheKey=e.onCacheKey(x)),b.currentType!==14&&i(_,ht.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,x[b.offset]||""),o(w,_.currentOffset(),_.currentPosition()),w}return{parse:m}}function De(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function _w(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>
42r,helper:a=>(r.helpers.add(a),a)}}function Nc(e,t){for(let r=0;r<e.length;r++)bf(e[r],t)}function bf(e,t){switch(e.type){case 1:Nc(e.cases,t),t.helper("plural");break;case 2:Nc(e.items,t);break;case 6:{bf(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function mw(e,t={}){const r=_w(e);r.helper("normalize"),e.body&&bf(e.body,r);const n=r.context();e.helpers=Array.from(n.helpers)}function yw(e){const t=e.body;return t.type===2?zc(t):t.cases.forEach(r=>zc(r)),e}function zc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;r<e.items.length;r++){const n=e.items[r];if(!(n.type===3||n.type===9)||n.value==null)break;t.push(n.value)}if(t.length===e.items.length){e.static=yf(t);for(let r=0;r<e.items.length;r++){const n=e.items[r];(n.type===3||n.type===9)&&delete n.value}}}}const bw="minifier";function zn(e){switch(e.t=e.type,e.type){case 0:{const t=e;zn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,r=t.cases;for(let n=0;n<r.length;n++)zn(r[n]);t.c=r,delete t.cases;break}case 2:{const t=e,r=t.items;for(let n=0;n<r.length;n++)zn(r[n]);t.i=r,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;zn(t.key),t.k=t.key,delete t.key,t.modifier&&(zn(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw oi(ht.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:bw,args:[e.type]})}delete e.type}const ww="parser";function Ew(e,t){const{sourceMap:r,filename:n,breakLineCode:i,needIndent:a}=t,s=t.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};s&&e.loc&&(o.source=e.loc.source);const u=()=>o;function f(v,p){o.code+=v}function l(v,p=!0){const m=p?i:"";f(a?m+" ".repeat(v):m)}function c(v=!0){const p=++o.indentLevel;v&&l(p)}function h(v=!0){const p=--o.indentLevel;v&&l(p)}function d(){l(o.indentLevel)}return{context:u,push:f,indent:c,deindent:h,newline:d,helper:v=>`_${v}`,needIndent:()=>o.needIndent}}function Cw(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),ti(e,t.key),t.modifier?(e.push(", "),ti(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Aw(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const i=t.items.length;for(let a=0;a<i&&(ti(e,t.items[a]),a!==i-1);a++)e.push(", ");e.deindent(n()),e.push("])")}function Sw(e,t){const{helper:r,needIndent:n}=e;if(t.cases.length>1){e.push(`${r("plural")}([`),e.indent(n());const i=t.cases.length;for(let a=0;a<i&&(ti(e,t.cases[a]),a!==i-1);a++)e.push(", ");e.deindent(n()),e.push("])")}}function Tw(e,t){t.body?ti(e,t.body):e.push("null")}function ti(e,t){const{helper:r}=e;switch(t.type){case 0:Tw(e,t);break;case 1:Sw(e,t);break;case 2:Aw(e,t);break;case 6:Cw(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${r("interpolate")}(${r("list")}(${t.index}))`,t);break;case 4:e.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw oi(ht.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:ww,args:[t.type]})}}const Dw=(e,t={})=>{const r=dt(t.mode)?t.mode:"normal",n=dt(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":` 43`,s=t.needIndent?t.needIndent:r!=="arrow",o=e.helpers||[],u=Ew(e,{mode:r,filename:n,sourceMap:i,breakLineCode:a,needIndent:s});u.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(s),o.length>0&&(u.push(`const { ${yf(o.map(c=>`${c}: _${c}`),", ")} } = ctx`),u.newline()),u.push("return "),ti(u,e),u.deindent(s),u.push("}"),delete e.helpers;const{code:f,map:l}=u.context();return{ast:e,code:f,map:l?l.toJSON():void 0}};function kw(e,t={}){const r=Dr({},t),n=!!r.jit,i=!!r.minify,a=r.optimize==null?!0:r.optimize,o=xw(r).parse(e);
43return n?(a&&yw(o),i&&zn(o),{ast:o,code:""}):(mw(o,r),Dw(o,r))}function Ar(e){return Ht(e)&&wf(e)===0&&(on(e,"b")||on(e,"body"))}const Op=["b","body"];function Bw(e){return kr(e,Op)}const Rp=["c","cases"];function Fw(e){return kr(e,Rp,[])}const Lp=["s","static"];function Ow(e){return kr(e,Lp)}const Pp=["i","items"];function Rw(e){return kr(e,Pp,[])}const Mp=["t","type"];function wf(e){return kr(e,Mp)}const Ip=["v","value"];function Sa(e,t){const r=kr(e,Ip);if(r!=null)return r;throw Wi(t)}const Np=["m","modifier"];function Lw(e){return kr(e,Np)}const zp=["k","key"];function Pw(e){const t=kr(e,zp);if(t)return t;throw Wi(6)}function kr(e,t,r){for(let n=0;n<t.length;n++){const i=t[n];if(on(e,i)&&e[i]!=null)return e[i]}return r}const $p=[...Op,...Rp,...Lp,...Pp,...zp,...Np,...Ip,...Mp];function Wi(e){return new Error(`unhandled node type: ${e}`)}const Br=[];Br[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Br[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Br[2]={w:[2],i:[3,0],[0]:[3,0]};Br[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Br[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Br[5]={["'"]:[4,0],o:8,l:[5,0]};Br[6]={['"']:[4,0],o:8,l:[6,0]};const Mw=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Iw(e){return Mw.test(e)}function Nw(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function zw(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function $w(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Iw(t)?Nw(t):"*"+t}function Hp(e){const t=[];let r=-1,n=0,i=0,a,s,o,u,f,l,c;const h=[];h[0]=()=>{s===void 0?s=o:s+=o},h[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},h[2]=()=>{h[0](),i++},h[3]=()=>{if(i>0)i--,n=4,h[0]();else{if(i=0,s===void 0||(s=$w(s),s===!1))return!1;h[1]()}};function d(){const g=e[r+1];if(n===5&&g==="'"||n===6&&g==='"')return r++,o="\\"+g,h[0](),!0}for(;n!==null;)if(r++,a=e[r],!(a==="\\"&&d())){if(u=zw(a),c=Br[n],f=c[u]||c.l||8,f===8||(n=f[0],f[1]!==void 0&&(l=h[f[1]],l&&(o=a,l()===!1))))return;if(n===7)return t}}const $c=new Map;function Up(e,t){return Ht(e)?e[t]:null}function Hw(e,t){if(!Ht(e))return null;let r=$c.get(t);if(r||(r=Hp(t),r&&$c.set(t,r)),!r)return null;const n=r.length;let i=e,a=0;for(;a<n;){const s=r[a];if($p.includes(s)&&Ar(i))return null;const o=i[s];if(o===void 0||zt(i))return null;i=o,a++}return i}const Uw=e=>e,jw=e=>"",jp="text",Ww=e=>e.length===0?"":yf(e),qw=Qb;function Hc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Yw(e){const t=re(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(re(e.named.count)||re(e.named.n))?re(e.named.count)?e.named.count:re(e.named.n)?e.named.n:t:t}function Gw(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Wp(e={}){const t=e.locale,r=Yw(e),n=Ht(e.pluralRules)&&dt(t)&&zt(e.pluralRules[t])?e.pluralRules[t]:Hc,i=Ht(e.pluralRules)&&dt(t)&&zt(e.pluralRules[t])?Hc:void 0,a=p=>p[n(r,p.length,i)],s=e.list||[],o=p=>s[p],u=e.named||ie();re(e.pluralIndex)&&Gw(r,u);const f=p=>u[p];function l(p){const m=zt(e.messages)?e.messages(p):Ht(e.messages)?e.messages[p]:!1;return m||(e.parent?e.parent.message(p):jw)}const c=p=>e.modifiers?e.modifiers[p]:Uw,h=Tt(e.processor)&&zt(e.processor.normalize)?e.processor.normalize:Ww,d=Tt(e.processor)&&zt(e.processor.interpolate)?e.processor.interpolate:qw,g=Tt(e.processor)&&dt(e.processor.type)?e.processor.type:jp,v={list:o,named:f,plural:a,linked:(p,...m)=>{const[x,_]=m;let b="text",w="";m.length===1?Ht(x)?(w=x.modifier||w,b=x.type||b):dt(x)&&(w=x||w):m.length===2&&(dt(x)&&(w=x||w),dt(_)&&(b=_||b));const C=l(p)(v),A=b==="vnode"&&Ge(C)&&w?C[0]:C;return w?c(w)(A,b):A},message:l,type:g,interpolate:d,normalize:h,values:Dr(ie(),s,u)};return v}let ei=null;function Xw(e){ei=e}function Vw(){return ei}function qp(e,t,r){ei&&ei.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const Yp=Zw("function:translate");function Zw(e){return t=>ei&&ei.emit(e,t)}const Gp=Ps.__EXTEND_POINT__,Kr=Fp(Gp),ee={NOT_FOUND_KEY:Gp,FALLBACK_TO_TRANSLATE:Kr(),CANNOT_FORMAT_NUM
43BER:Kr(),FALLBACK_TO_NUMBER_FORMAT:Kr(),CANNOT_FORMAT_DATE:Kr(),FALLBACK_TO_DATE_FORMAT:Kr(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Kr(),__EXTEND_POINT__:Kr()},Kw={[ee.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ee.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ee.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ee.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ee.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ee.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Sr(e,...t){return Ls(Kw[e],...t)}const Xp=ht.__EXTEND_POINT__,Qr=Fp(Xp),jt={INVALID_ARGUMENT:Xp,INVALID_DATE_ARGUMENT:Qr(),INVALID_ISO_DATE_ARGUMENT:Qr(),NOT_SUPPORT_NON_STRING_MESSAGE:Qr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Qr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Qr(),NOT_SUPPORT_LOCALE_TYPE:Qr(),__EXTEND_POINT__:Qr()};function Oe(e){return oi(e,null,{messages:Qw})}const Qw={[jt.INVALID_ARGUMENT]:"Invalid arguments",[jt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[jt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[jt.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[jt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[jt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[jt.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Ms(e,t){return t.locale!=null?Au(t.locale):Au(e.locale)}let zo;function Au(e){if(dt(e))return e;if(zt(e)){if(e.resolvedOnce&&zo!=null)return zo;if(e.constructor.name==="Function"){const t=e();if(Kb(t))throw Oe(jt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return zo=t}else throw Oe(jt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Oe(jt.NOT_SUPPORT_LOCALE_TYPE)}function Vp(e,t,r){return[...new Set([r,...Ge(t)?t:Ht(t)?Object.keys(t):dt(t)?[t]:[r]])]}function Jw(e,t,r){const n=dt(r)?r:ss,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let a=i.__localeChainCache.get(n);if(!a){a=[];let s=[r];for(;Ge(s);)s=Uc(a,s,t);const o=Ge(t)||!Tt(t)?t:t.default?t.default:null;s=dt(o)?[o]:o,Ge(s)&&Uc(a,s,!1),i.__localeChainCache.set(n,a)}return a}function Uc(e,t,r){let n=!0;for(let i=0;i<t.length&&ne(n);i++){const a=t[i];dt(a)&&(n=tE(e,t[i],r))}return n}function tE(e,t,r){let n;const i=t.split("-");do{const a=i.join("-");n=eE(e,a,r),i.splice(-1,1)}while(i.length&&n===!0);return n}function eE(e,t,r){let n=!1;if(!e.includes(t)&&(n=!0,t)){n=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(Ge(r)||Tt(r))&&r[i]&&(n=r[i])}return n}const Zp="9.14.5",Is=-1,ss="en-US",Ef="",jc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function rE(){return{upper:(e,t)=>t==="text"&&dt(e)?e.toUpperCase():t==="vnode"&&Ht(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&dt(e)?e.toLowerCase():t==="vnode"&&Ht(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&dt(e)?jc(e):t==="vnode"&&Ht(e)&&"__v_isVNode"in e?jc(e.children):e}}let Kp;function nE(e){Kp=e}let Qp;function iE(e){Qp=e}let Jp;function aE(e){Jp=e}let t1=null;const sE=e=>{t1=e},e1=()=>t1;let r1=null;const oE=e=>{r1=e},uE=()=>r1;let Wc=0;function fE(e={}){const t=zt(e.onWarn)?e.onWarn:mn,r=dt(e.version)?e.version:Zp,n=dt(e.locale)||zt(e.locale)?e.locale:ss,i=zt(n)?ss:n,a=Ge(e.fallbackLocale)||Tt(e.fallbackLocale)||dt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,s=Tt(e.messages)?e.messages:$o(i),o=Tt(e.datetimeFormats)?e.datetimeFormats:$o(i),u=Tt(e.numberFormats)?e.numberFormats:$o(i),f=Dr(ie(),e.modifiers,rE()),l=e.pluralRules||ie(),c=zt(e.missing)?e.missing:null,h=ne(e.missingWarn)||Rc(e.missingWarn)?e.missingWarn:!0,d=ne(e.fallbackWarn)||Rc(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,y=!!e.unresolving,v=zt(e.postTranslation)?e.postTranslation:null,p=Tt(e.processor)?e.processor:null,m=ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter,_=zt(e.messageCompiler)?e.messageCompiler:Kp;zt(e.messageCompiler)&&jb(Sr(ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER)
43);const b=zt(e.messageResolver)?e.messageResolver:Qp||Up,w=zt(e.localeFallbacker)?e.localeFallbacker:Jp||Vp,C=Ht(e.fallbackContext)?e.fallbackContext:void 0,A=e,k=Ht(A.__datetimeFormatters)?A.__datetimeFormatters:new Map,D=Ht(A.__numberFormatters)?A.__numberFormatters:new Map,F=Ht(A.__meta)?A.__meta:{};Wc++;const T={version:r,cid:Wc,locale:n,fallbackLocale:a,messages:s,modifiers:f,pluralRules:l,missing:c,missingWarn:h,fallbackWarn:d,fallbackFormat:g,unresolving:y,postTranslation:v,processor:p,warnHtmlMessage:m,escapeParameter:x,messageCompiler:_,messageResolver:b,localeFallbacker:w,fallbackContext:C,onWarn:t,__meta:F};return T.datetimeFormats=o,T.numberFormats=u,T.__datetimeFormatters=k,T.__numberFormatters=D,T.__v_emitter=A.__v_emitter!=null?A.__v_emitter:void 0,qp(T,r,F),T}const $o=e=>({[e]:ie()});function Ns(e,t){return e instanceof RegExp?e.test(t):e}function n1(e,t){return e instanceof RegExp?e.test(t):e}function zs(e,t,r,n,i){const{missing:a,onWarn:s}=e;{const o=e.__v_emitter;o&&o.emit("missing",{locale:r,key:t,type:i,groupId:`${i}:${t}`})}if(a!==null){const o=a(e,r,t,i);return dt(o)?o:t}else return n1(n,t)&&s(Sr(ee.NOT_FOUND_KEY,{key:t,locale:r})),t}function lE(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function Cf(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function i1(e,t){const r=t.indexOf(e);if(r===-1)return!1;for(let n=r+1;n<t.length;n++)if(Cf(e,t[n]))return!0;return!1}function Ho(e){return r=>cE(r,e)}function cE(e,t){const r=Bw(t);if(r==null)throw Wi(0);if(wf(r)===1){const a=Fw(r);return e.plural(a.reduce((s,o)=>[...s,qc(e,o)],[]))}else return qc(e,r)}function qc(e,t){const r=Ow(t);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const n=Rw(t).reduce((i,a)=>[...i,Su(e,a)],[]);return e.normalize(n)}}function Su(e,t){const r=wf(t);switch(r){case 3:return Sa(t,r);case 9:return Sa(t,r);case 4:{const n=t;if(on(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(on(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Wi(r)}case 5:{const n=t;if(on(n,"i")&&re(n.i))return e.interpolate(e.list(n.i));if(on(n,"index")&&re(n.index))return e.interpolate(e.list(n.index));throw Wi(r)}case 6:{const n=t,i=Lw(n),a=Pw(n);return e.linked(Su(e,a),i?Su(e,i):void 0,e.type)}case 7:return Sa(t,r);case 8:return Sa(t,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}const hE="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function a1(e,t){t&&sw(e)&&mn(Ls(hE,{source:e}))}const s1=e=>e;let un=ie();function o1(e){e.code===Ps.USE_MODULO_SYNTAX&&mn(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10. 44reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format 45(message compiler warning message: ${e.message})`)}function dE(){un=ie()}function u1(e,t={}){let r=!1;const n=t.onError||iw;return t.onError=i=>{r=!0,n(i)},{...kw(e,t),detectError:r}}const vE=(e,t)=>{if(!dt(e))throw Oe(jt.NOT_SUPPORT_NON_STRING_MESSAGE);t.onWarn=o1;{const r=ne(t.warnHtmlMessage)?t.warnHtmlMessage:!0;a1(e,r);const i=(t.onCacheKey||s1)(e),a=un[i];if(a)return a;const{code:s,detectError:o}=u1(e,t),u=new Function(`return ${s}`)();return o?u:un[i]=u}};function pE(e,t){if(t.onWarn=o1,dt(e)){const r=ne(t.warnHtmlMessage)?t.warnHtmlMessage:!0;a1(e,r);const i=(t.onCacheKey||s1)(e),a=un[i];if(a)return a;const{ast:s,detectError:o}=u1(e,{...t,location:!0,jit:!0}),u=Ho(s);return o?u:un[i]=u}else{if(!Ar(e))return mn(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const r=e.cacheKey;if(r){const n=un[r];return n||(un[r]=Ho(e))}else return Ho(e)}}const Yc=()=>"",Ee=e=>zt(e);function gE(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:i,messageCompiler:a,fallbackLocale:s,messages:o}=e,[u,f]=c1(...t),l=ne(f.missingWarn)?f.missingWarn:e.missingWarn,c=ne(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,h=ne(f.escapeParameter)?f.escapeParameter:e.escapeParameter,d=!!f.resolvedMessage,g=dt(f.default)||ne(f.default)?ne(f.default)?a?u:()=>u:f.default:r?a?u:()=>u:"",y=r||g!=="",v=Ms(e,f);h&&xE(f);let[p,m,x]=d?[u,v,o[v]||ie()]:f1(e,u,v,s,c,l),_=p,b=u;if(!d&&!(dt(_)||Ar(_)||Ee(_))&&y&&(_=g,b=_),!d&&(!(dt(_)||Ar(_)||Ee(_))||!dt(m)))return i?Is:u;if(dt(_)&&e.messageCompiler==null)return mn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let w=!1;const C=()=>{w=!0},A=Ee(_)?_:l1(e,u,m,_,b,C);if(w)return _;
45const k=bE(e,m,x,f),D=Wp(k),F=_E(e,A,D);let T=n?n(F,u):F;h&&dt(T)&&(T=Vb(T));{const R={timestamp:Date.now(),key:dt(u)?u:Ee(_)?_.key:"",locale:m||(Ee(_)?_.locale:""),format:dt(_)?_:Ee(_)?_.source:"",message:T};R.meta=Dr({},e.__meta,e1()||{}),Yp(R)}return T}function xE(e){Ge(e.list)?e.list=e.list.map(t=>dt(t)?Lc(t):t):Ht(e.named)&&Object.keys(e.named).forEach(t=>{dt(e.named[t])&&(e.named[t]=Lc(e.named[t]))})}function f1(e,t,r,n,i,a){const{messages:s,onWarn:o,messageResolver:u,localeFallbacker:f}=e,l=f(e,n,r);let c=ie(),h,d=null,g=r,y=null;const v="translate";for(let p=0;p<l.length;p++){if(h=y=l[p],r!==h&&!Cf(r,h)&&Ns(i,t)&&o(Sr(ee.FALLBACK_TO_TRANSLATE,{key:t,target:h})),r!==h){const b=e.__v_emitter;b&&b.emit("fallback",{type:v,key:t,from:g,to:y,groupId:`${v}:${t}`})}c=s[h]||ie();let m=null,x,_;if(gn&&(m=window.performance.now(),x="intlify-message-resolve-start",_="intlify-message-resolve-end",pe&&pe(x)),(d=u(c,t))===null&&(d=c[t]),gn){const b=window.performance.now(),w=e.__v_emitter;w&&m&&d&&w.emit("message-resolve",{type:"message-resolve",key:t,message:d,time:b-m,groupId:`${v}:${t}`}),x&&_&&pe&&xn&&(pe(_),xn("intlify message resolve",x,_))}if(dt(d)||Ar(d)||Ee(d))break;if(!i1(h,l)){const b=zs(e,t,h,a,v);b!==t&&(d=b)}g=y}return[d,h,c]}function l1(e,t,r,n,i,a){const{messageCompiler:s,warnHtmlMessage:o}=e;if(Ee(n)){const h=n;return h.locale=h.locale||r,h.key=h.key||t,h}if(s==null){const h=()=>n;return h.locale=r,h.key=t,h}let u=null,f,l;gn&&(u=window.performance.now(),f="intlify-message-compilation-start",l="intlify-message-compilation-end",pe&&pe(f));const c=s(n,mE(e,r,i,n,o,a));if(gn){const h=window.performance.now(),d=e.__v_emitter;d&&u&&d.emit("message-compilation",{type:"message-compilation",message:n,time:h-u,groupId:`translate:${t}`}),f&&l&&pe&&xn&&(pe(l),xn("intlify message compilation",f,l))}return c.locale=r,c.key=t,c.source=n,c}function _E(e,t,r){let n=null,i,a;gn&&(n=window.performance.now(),i="intlify-message-evaluation-start",a="intlify-message-evaluation-end",pe&&pe(i));const s=t(r);if(gn){const o=window.performance.now(),u=e.__v_emitter;u&&n&&u.emit("message-evaluation",{type:"message-evaluation",value:s,time:o-n,groupId:`translate:${t.key}`}),i&&a&&pe&&xn&&(pe(a),xn("intlify message evaluation",i,a))}return s}function c1(...e){const[t,r,n]=e,i=ie();if(!dt(t)&&!re(t)&&!Ee(t)&&!Ar(t))throw Oe(jt.INVALID_ARGUMENT);const a=re(t)?String(t):(Ee(t),t);return re(r)?i.plural=r:dt(r)?i.default=r:Tt(r)&&!mf(r)?i.named=r:Ge(r)&&(i.list=r),re(n)?i.plural=n:dt(n)?i.default=n:Tt(n)&&Dr(i,n),[a,i]}function mE(e,t,r,n,i,a){return{locale:t,key:r,warnHtmlMessage:i,onError:s=>{a&&a(s);{const o=yE(n),u=`Message compilation error: ${s.message}`,f=s.location&&o&&Jb(o,s.location.start.offset,s.location.end.offset),l=e.__v_emitter;l&&o&&l.emit("compile-error",{message:o,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${r}`}),console.error(f?`${u} 46${f}`:u)}},onCacheKey:s=>qb(t,r,s)}}function yE(e){if(dt(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function bE(e,t,r,n){const{modifiers:i,pluralRules:a,messageResolver:s,fallbackLocale:o,fallbackWarn:u,missingWarn:f,fallbackContext:l}=e,h={locale:t,modifiers:i,pluralRules:a,messages:d=>{let g=s(r,d);if(g==null&&l){const[,,y]=f1(l,d,t,o,u,f);g=s(y,d)}if(dt(g)||Ar(g)){let y=!1;const p=l1(e,d,t,g,d,()=>{y=!0});return y?Yc:p}else return Ee(g)?g:Yc}};return e.processor&&(h.processor=e.processor),n.list&&(h.list=n.list),n.named&&(h.named=n.named),re(n.plural)&&(h.pluralIndex=n.plural),h}const Gc=typeof Intl<"u",h1={dateTimeFormat:Gc&&typeof Intl.DateTimeFormat<"u",numberFormat:Gc&&typeof Intl.NumberFormat<"u"};function wE(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:i,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:o}=e;if(!h1.dateTimeFormat)return a(Sr(ee.CANNOT_FORMAT_DATE)),Ef;const[u,f,l,c]=v1(...t),h=ne(l.missingWarn)?l.missingWarn:e.missingWarn,d=ne(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,g=!!l.part,y=Ms(e,l),v=s(e,i,y);if(!dt(u)||u==="")return new Intl.DateTimeFormat(y,c).format(f);let p={},m,x=null,_=y,b=null;const w="datetime format";for(let k=0;k<v.length;k++){if(m=b=v[k],y!==m&&Ns(d,u)&&a(Sr(ee.FALLBACK_TO_DATE_FORMAT,{key:u,target:m})),y!==m){const D=e.__v_emitter;D&&D.emit("fallback",{type:w,key:u,from:_,to:b,groupId:`${w}:${u}`})}if(p=r[m]||{},x=p[u],Tt(x))break;zs(e,u,m,h,w),_=b}if(!Tt(x)||!dt(m))return n?Is:u;let C=`${m}__${u}`;mf(c)||(C=`${C}__${JSON.stringify(c)}`);let A=o.get(C);return A||(A=new Intl.DateTimeFormat(m,Dr({},x,c)),o.set(C,A)),g?A.formatToParts(f):A.format(f)}const d1=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function v1(...e){const[t,r,n,i]=e,a=ie();let s=ie(),o;if(dt(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Oe(jt.INVALID_ISO_DATE_ARGUMENT);const f=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();o=new Date(f);try{o.toISOString()}catch{throw Oe(jt.INVALID_ISO_DATE_ARGUMENT)}}else if(Gb(t)){if(isNaN(t.getTime()))throw Oe(jt.INVALID_DATE_ARGUMENT);o=t}else if(re(t))o=t;else throw Oe(jt.INVALID_ARGUMENT);return dt(r)?a.key=r:Tt(r)&&Object.keys(r).forEach(u=>{d1.includes(u)?s[u]=r[u]:a[u]=r[u]}),dt(n)?a.locale=n:Tt(n)&&(s=n),Tt(i)&&(s=i),[a.key||"",o,a,s]}function EE(e,t,r){const n=e;for(const i in r){const a=`${t}__${i}`;!n.__datetimeFormatters.has(a)||n.__datetimeFormatters.delete(a)}}function CE(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:i,onWarn:a,localeFallbacker:s}=e,{__numberFormatters:o}=e;
46if(!h1.numberFormat)return a(Sr(ee.CANNOT_FORMAT_NUMBER)),Ef;const[u,f,l,c]=g1(...t),h=ne(l.missingWarn)?l.missingWarn:e.missingWarn,d=ne(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,g=!!l.part,y=Ms(e,l),v=s(e,i,y);if(!dt(u)||u==="")return new Intl.NumberFormat(y,c).format(f);let p={},m,x=null,_=y,b=null;const w="number format";for(let k=0;k<v.length;k++){if(m=b=v[k],y!==m&&Ns(d,u)&&a(Sr(ee.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:m})),y!==m){const D=e.__v_emitter;D&&D.emit("fallback",{type:w,key:u,from:_,to:b,groupId:`${w}:${u}`})}if(p=r[m]||{},x=p[u],Tt(x))break;zs(e,u,m,h,w),_=b}if(!Tt(x)||!dt(m))return n?Is:u;let C=`${m}__${u}`;mf(c)||(C=`${C}__${JSON.stringify(c)}`);let A=o.get(C);return A||(A=new Intl.NumberFormat(m,Dr({},x,c)),o.set(C,A)),g?A.formatToParts(f):A.format(f)}const p1=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function g1(...e){const[t,r,n,i]=e,a=ie();let s=ie();if(!re(t))throw Oe(jt.INVALID_ARGUMENT);const o=t;return dt(r)?a.key=r:Tt(r)&&Object.keys(r).forEach(u=>{p1.includes(u)?s[u]=r[u]:a[u]=r[u]}),dt(n)?a.locale=n:Tt(n)&&(s=n),Tt(i)&&(s=i),[a.key||"",o,a,s]}function AE(e,t,r){const n=e;for(const i in r){const a=`${t}__${i}`;!n.__numberFormatters.has(a)||n.__numberFormatters.delete(a)}}const SE=Object.freeze(Object.defineProperty({__proto__:null,AST_NODE_PROPS_KEYS:$p,CompileErrorCodes:ht,CoreErrorCodes:jt,CoreWarnCodes:ee,DATETIME_FORMAT_OPTIONS_KEYS:d1,DEFAULT_LOCALE:ss,DEFAULT_MESSAGE_DATA_TYPE:jp,MISSING_RESOLVE_VALUE:Ef,NOT_REOSLVED:Is,NUMBER_FORMAT_OPTIONS_KEYS:p1,VERSION:Zp,clearCompileCache:dE,clearDateTimeFormat:EE,clearNumberFormat:AE,compile:pE,compileToFunction:vE,createCompileError:oi,createCoreContext:fE,createCoreError:Oe,createMessageContext:Wp,datetime:wE,fallbackWithLocaleChain:Jw,fallbackWithSimple:Vp,getAdditionalMeta:e1,getDevToolsHook:Vw,getFallbackContext:uE,getLocale:Ms,getWarnMessage:Sr,handleMissing:zs,initI18nDevTools:qp,isAlmostSameLocale:Cf,isImplicitFallback:i1,isMessageAST:Ar,isMessageFunction:Ee,isTranslateFallbackWarn:Ns,isTranslateMissingWarn:n1,number:CE,parse:Hp,parseDateTimeArgs:v1,parseNumberArgs:g1,parseTranslateArgs:c1,registerLocaleFallbacker:aE,registerMessageCompiler:nE,registerMessageResolver:iE,resolveLocale:Au,resolveValue:Hw,resolveWithKeyValue:Up,setAdditionalMeta:sE,setDevToolsHook:Xw,setFallbackContext:oE,translate:gE,translateDevTools:Yp,updateFallbackLocale:lE},Symbol.toStringTag,{value:"Module"})),sC=$u(SE);function Ie(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Af(e){var t=Ie(e).Element;return e instanceof t||e instanceof Element}function Pe(e){var t=Ie(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function x1(e){if(typeof ShadowRoot>"u")return!1;var t=Ie(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ri=Math.round;function Tu(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function TE(){return!/^((?!chrome|android).)*safari/i.test(Tu())}function os(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&Pe(e)&&(i=e.offsetWidth>0&&ri(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ri(n.height)/e.offsetHeight||1);var s=Af(e)?Ie(e):window,o=s.visualViewport,u=!TE()&&r,f=(n.left+(u&&o?o.offsetLeft:0))/i,l=(n.top+(u&&o?o.offsetTop:0))/a,c=n.width/i,h=n.height/a;return{width:c,height:h,top:l,right:f+c,bottom:l+h,left:f,x:f,y:l}}function _1(e){var t=Ie(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function DE(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function kE(e){return e===Ie(e)||!Pe(e)?_1(e):DE(e)}function ur(e){return e?(e.nodeName||"").toLowerCase():null}function $s(e){return((Af(e)?e.ownerDocument:e.document)||window.document).documentElement}function BE(e){return os($s(e)).left+_1(e).scrollLeft}function fr(e){return Ie(e).getComputedStyle(e)}function Sf(e){var t=fr(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function FE(e){var t=e.getBoundingClientRect(),r=ri(t.width)/e.offsetWidth||1,n=ri(t.height)/e.offsetHeight||1;return r!==1||n!==1}function OE(e,t,r){r===void 0&&(r=!1);var n=Pe(t),i=Pe(t)&&FE(t),a=$s(t),s=os(e,i,r),o={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((ur(t)!=="body"||Sf(a))&&(o=kE(t)),Pe(t)?(u=os(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=BE(a))),{x:s.left+o.scrollLeft-u.x,y:s.top+o.scrollTop-u.y,width:s.width,height:s.height}}function RE(e){var t=os(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Tf(e){return ur(e)==="html"?e:e.assignedSlot||e.parentNode||(x1(e)?e.host:null)||$s(e)}function m1(e){return["html","body","#document"].indexOf(ur(e))>=0?e.ownerDocument.body:Pe(e)&&Sf(e)?e:m1(Tf(e))}function za(e,t){var r;t===void 0&&(t=[]);var n=m1(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=Ie(n),s=i?[a].concat(a.visualVie
46wport||[],Sf(n)?n:[]):n,o=t.concat(s);return i?o:o.concat(za(Tf(s)))}function LE(e){return["table","td","th"].indexOf(ur(e))>=0}function Xc(e){return!Pe(e)||fr(e).position==="fixed"?null:e.offsetParent}function PE(e){var t=/firefox/i.test(Tu()),r=/Trident/i.test(Tu());if(r&&Pe(e)){var n=fr(e);if(n.position==="fixed")return null}var i=Tf(e);for(x1(i)&&(i=i.host);Pe(i)&&["html","body"].indexOf(ur(i))<0;){var a=fr(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function y1(e){for(var t=Ie(e),r=Xc(e);r&&LE(r)&&fr(r).position==="static";)r=Xc(r);return r&&(ur(r)==="html"||ur(r)==="body"&&fr(r).position==="static")?t:r||PE(e)||t}var Kn="top",us="bottom",qi="right",dn="left",b1="auto",ME=[Kn,us,qi,dn],w1="start",fs="end",IE=[].concat(ME,[b1]).reduce(function(e,t){return e.concat([t,t+"-"+w1,t+"-"+fs])},[]),NE="beforeRead",zE="read",$E="afterRead",HE="beforeMain",UE="main",jE="afterMain",WE="beforeWrite",qE="write",YE="afterWrite",Du=[NE,zE,$E,HE,UE,jE,WE,qE,YE];function GE(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(o){if(!r.has(o)){var u=t.get(o);u&&i(u)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function XE(e){var t=GE(e);return Du.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function VE(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function vr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return[].concat(r).reduce(function(i,a){return i.replace(/%s/,a)},e)}var Jr='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',ZE='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Vc=["name","enabled","phase","fn","effect","requires","options"];function KE(e){e.forEach(function(t){[].concat(Object.keys(t),Vc).filter(function(r,n,i){return i.indexOf(r)===n}).forEach(function(r){switch(r){case"name":typeof t.name!="string"&&console.error(vr(Jr,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(vr(Jr,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":Du.indexOf(t.phase)<0&&console.error(vr(Jr,t.name,'"phase"',"either "+Du.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(vr(Jr,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":t.effect!=null&&typeof t.effect!="function"&&console.error(vr(Jr,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":t.requires!=null&&!Array.isArray(t.requires)&&console.error(vr(Jr,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(vr(Jr,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Vc.map(function(n){return'"'+n+'"'}).join(", ")+'; but "'+r+'" was provided.')}t.requires&&t.requires.forEach(function(n){e.find(function(i){return i.name===n})==null&&console.error(vr(ZE,String(t.name),n,n))})})})}function QE(e,t){var r=new Set;return e.filter(function(n){var i=t(n);if(!r.has(i))return r.add(i),!0})}function Hs(e){return e.split("-")[0]}function JE(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}function E1(e){return e.split("-")[1]}function t4(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function e4(e){var t=e.reference,r=e.element,n=e.placement,i=n?Hs(n):null,a=n?E1(n):null,s=t.x+t.width/2-r.width/2,o=t.y+t.height/2-r.height/2,u;switch(i){case Kn:u={x:s,y:t.y-r.height};break;case us:u={x:s,y:t.y+t.height};break;case qi:u={x:t.x+t.width,y:o};break;case dn:u={x:t.x-r.width,y:o};break;default:u={x:t.x,y:t.y}}var f=i?t4(i):null;if(f!=null){var l=f==="y"?"height":"width";switch(a){case w1:u[f]=u[f]-(t[l]/2-r[l]/2);break;case fs:u[f]=u[f]+(t[l]/2-r[l]/2);break}}return u}var Zc="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",r4="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Kc={placement:"bottom",modifiers:[],strategy:"absolute"};function Qc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function n4(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?Kc:i;return function(o,u,f){f===void 0&&(f=a);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Kc,a),modifiersData:{},elements:{reference:o,popper:u},attributes:{},styles:{}},c=[],h=!1,d={state:l,setOptions:function(p){var m=typeof p=="function"?p(l.options):p;y(),l.options=Object.assign({},a,l.options,m),l.scrollParents={reference:Af(o)?za(o):o.contextElement?za(o.contextElement):[],popper:za(u)};var x=XE(JE([].concat(n,l.options.modifiers)));l.orderedModifiers=x.filter(function(F){return F.enabled});{var _=QE([].concat(x,l.options.modifiers),function(F){var T=F.name;return T});if(KE(_),Hs(l.options.placement)===b1){var b=l.orderedModifiers.find(function(F){var T=F.name;return T==="flip"});b||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var w=fr(u),C=w.marginTop,A=w.marginRight,k=w.marginBottom,D=w.marginLeft;[C,A,k,D].some(function(F){return parseFloat(F)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return g(),d.update()}
vendor: 1,032 bytes, line 46
46,forceUpdate:function(){if(!h){var p=l.elements,m=p.reference,x=p.popper;if(!Qc(m,x)){console.error(Zc);return}l.rects={reference:OE(m,y1(x),l.options.strategy==="fixed"),popper:RE(x)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(F){return l.modifiersData[F.name]=Object.assign({},F.data)});for(var _=0,b=0;b<l.orderedModifiers.length;b++){if(_+=1,_>100){console.error(r4);break}if(l.reset===!0){l.reset=!1,b=-1;continue}var w=l.orderedModifiers[b],C=w.fn,A=w.options,k=A===void 0?{}:A,D=w.name;typeof C=="function"&&(l=C({state:l,options:k,name:D,instance:d})||l)}}},update:VE(function(){return new Promise(function(v){d.forceUpdate(),v(l)})}),destroy:function(){y(),h=!0}};if(!Qc(o,u))return console.error(Zc),d;d.setOptions(f).then(function(v){!h&&f.onFirstUpdate&&f.onFirstUpdate(v)});function g(){l.orderedModifiers.forEach(function(v){var p=v.name,m=v.options,x=m===void 0?{}:m,_=v.effect;if(typeof _=="function"){var b=_({state:l,name:p,instance:d,options:x}),w=function(){};c.push(b||w)}})}
46function y(){c.forEach(function(v){return v()}),c=[]}return d}}var Ta={passive:!0};function i4(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,s=n.resize,o=s===void 0?!0:s,u=Ie(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&f.forEach(function(l){l.addEventListener("scroll",r.update,Ta)}),o&&u.addEventListener("resize",r.update,Ta),function(){a&&f.forEach(function(l){l.removeEventListener("scroll",r.update,Ta)}),o&&u.removeEventListener("resize",r.update,Ta)}}var a4={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:i4,data:{}};function s4(e){var t=e.state,r=e.name;t.modifiersData[r]=e4({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var o4={name:"popperOffsets",enabled:!0,phase:"read",fn:s4,data:{}},u4={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f4(e){var t=e.x,r=e.y,n=window,i=n.devicePixelRatio||1;return{x:ri(t*i)/i||0,y:ri(r*i)/i||0}}function Jc(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,o=e.position,u=e.gpuAcceleration,f=e.adaptive,l=e.roundOffsets,c=e.isFixed,h=s.x,d=h===void 0?0:h,g=s.y,y=g===void 0?0:g,v=typeof l=="function"?l({x:d,y}):{x:d,y};d=v.x,y=v.y;var p=s.hasOwnProperty("x"),m=s.hasOwnProperty("y"),x=dn,_=Kn,b=window;if(f){var w=y1(r),C="clientHeight",A="clientWidth";if(w===Ie(r)&&(w=$s(r),fr(w).position!=="static"&&o==="absolute"&&(C="scrollHeight",A="scrollWidth")),w=w,i===Kn||(i===dn||i===qi)&&a===fs){_=us;var k=c&&w===b&&b.visualViewport?b.visualViewport.height:w[C];y-=k-n.height,y*=u?1:-1}if(i===dn||(i===Kn||i===us)&&a===fs){x=qi;var D=c&&w===b&&b.visualViewport?b.visualViewport.width:w[A];d-=D-n.width,d*=u?1:-1}}var F=Object.assign({position:o},f&&u4),T=l===!0?f4({x:d,y}):{x:d,y};if(d=T.x,y=T.y,u){var R;return Object.assign({},F,(R={},R[_]=m?"0":"",R[x]=p?"0":"",R.transform=(b.devicePixelRatio||1)<=1?"translate("+d+"px, "+y+"px)":"translate3d("+d+"px, "+y+"px, 0)",R))}return Object.assign({},F,(t={},t[_]=m?y+"px":"",t[x]=p?d+"px":"",t.transform="",t))}function l4(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,s=a===void 0?!0:a,o=r.roundOffsets,u=o===void 0?!0:o;{var f=fr(t.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(c){return f.indexOf(c)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',` 47 48`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",` 49 50`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var l={placement:Hs(t.placement),variation:E1(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Jc(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Jc(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var c4={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:l4,data:{}};function h4(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];
50!Pe(a)||!ur(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(s){var o=i[s];o===!1?a.removeAttribute(s):a.setAttribute(s,o===!0?"":o)}))})}function d4(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),o=s.reduce(function(u,f){return u[f]="",u},{});!Pe(i)||!ur(i)||(Object.assign(i.style,o),Object.keys(a).forEach(function(u){i.removeAttribute(u)}))})}}var v4={name:"applyStyles",enabled:!0,phase:"write",fn:h4,effect:d4,requires:["computeStyles"]},p4=[a4,o4,c4,v4],oC=n4({defaultModifiers:p4});function g4(e,t,r){var n=Hs(e),i=[dn,Kn].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=a[0],o=a[1];return s=s||0,o=(o||0)*i,[dn,qi].indexOf(n)>=0?{x:o,y:s}:{x:s,y:o}}function x4(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,s=IE.reduce(function(l,c){return l[c]=g4(c,t.rects,a),l},{}),o=s[t.placement],u=o.x,f=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=f),t.modifiersData[n]=s}var uC={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:x4},C1={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress 51 * @license MIT */(function(e,t){(function(r,n){e.exports=n()})(lt,function(){var r={};r.version="0.2.0";var n=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};r.configure=function(g){var y,v;for(y in g)v=g[y],v!==void 0&&g.hasOwnProperty(y)&&(n[y]=v);return this},r.status=null,r.set=function(g){var y=r.isStarted();g=i(g,n.minimum,1),r.status=g===1?null:g;var v=r.render(!y),p=v.querySelector(n.barSelector),m=n.speed,x=n.easing;return v.offsetWidth,o(function(_){n.positionUsing===""&&(n.positionUsing=r.getPositioningCSS()),u(p,s(g,m,x)),g===1?(u(v,{transition:"none",opacity:1}),v.offsetWidth,setTimeout(function(){u(v,{transition:"all "+m+"ms linear",opacity:0}),setTimeout(function(){r.remove(),_()},m)},m)):setTimeout(_,m)}),this},r.isStarted=function(){return typeof r.status=="number"},r.start=function(){r.status||r.set(0);var g=function(){setTimeout(function(){!r.status||(r.trickle(),g())},n.trickleSpeed)};return n.trickle&&g(),this},r.done=function(g){return!g&&!r.status?this:r.inc(.3+.5*Math.random()).set(1)},r.inc=function(g){var y=r.status;return y?(typeof g!="number"&&(g=(1-y)*i(Math.random()*y,.1,.95)),y=i(y+g,0,.994),r.set(y)):r.start()},r.trickle=function(){return r.inc(Math.random()*n.trickleRate)},function(){var g=0,y=0;r.promise=function(v){return!v||v.state()==="resolved"?this:(y===0&&r.start(),g++,y++,v.always(function(){y--,y===0?(g=0,r.done()):r.set((g-y)/g)}),this)}}(),r.render=function(g){if(r.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var y=document.createElement("div");y.id="nprogress",y.innerHTML=n.template;var v=y.querySelector(n.barSelector),p=g?"-100":a(r.status||0),m=document.querySelector(n.parent),x;return u(v,{transition:"all 0 linear",transform:"translate3d("+p+"%,0,0)"}),n.showSpinner||(x=y.querySelector(n.spinnerSelector),x&&d(x)),m!=document.body&&l(m,"nprogress-custom-parent"),m.appendChild(y),y},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(n.parent),"nprogress-custom-parent");var g=document.getElementById("nprogress");g&&d(g)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var g=document.body.style,y="WebkitTransform"in g?"Webkit":"MozTransform"in g?"Moz":"msTransform"in g?"ms":"OTransform"in g?"O":"";return y+"Perspective"in g?"translate3d":y+"Transform"in g?"translate":"margin"};function i(g,y,v){return g<y?y:g>v?v:g}function a(g){return(-1+g)*100}function s(g,y,v){var p;return n.positionUsing==="translate3d"?p={transform:"translate3d("+a(g)+"%,0,0)"}:n.positionUsing==="translate"?p={transform:"translate("+a(g)+"%,0)"}:p={"margin-left":a(g)+"%"},p.transition="all "+y+"ms "+v,p}var o=function(){var g=[];function y(){var v=g.shift();v&&v(y)}return function(v){g.push(v),g.length==1&&y()}}(),u=function(){var g=["Webkit","O","Moz","ms"],y={};function v(_){return _.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(b,w){return w.toUpperCase()})}function p(_){var b=document.body.style;if(_ in b)return _;for(var w=g.length,C=_.charAt(0).toUpperCase()+_.slice(1),A;w--;)if(A=g[w]+C,A in b)return A;return _}function m(_){return _=v(_),y[_]||(y[_]=p(_))}function x(_,b,w){b=m(b),_.style[b]=w}return function(_,b){var w=arguments,C,A;if(w.length==2)for(C in b)A=b[C],A!==void 0&&b.hasOwnProperty(C)&&x(_,C,A);else x(_,w[1],w[2])}}();function f(g,y){var v=typeof g=="string"?g:h(g);return v.indexOf(" "+y+" ")>=0}function l(g,y){var v=h(g),p=v+y;f(v,y)||(g.className=p.substring(1))}function c(g,y){var v=h(g),p;!f(g,y)||(p=v.replace(" "+y+" "," "),g.className=p.substring(1,p.length-1))}function h(g){return(" "+(g.className||"")+" ").replace(/\s+/gi," ")}function d(g){g&&g.parentNode&&g.parentNode.removeChild(g)}return r})})(C1);const fC=C1.exports;var A1={exports:{}},Df={exports:{}},S1=function(t,r){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(r,i)}},_4=S1,yn=Object.prototype.toString;function kf(e){return yn.call(e)==="[object Array]"}function ku(e){return typeof e>"u"}function m4(e){return e!==null&&!ku(e)&&e.constructor!==null&&!ku(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function y4(e){return yn.call(e)==="[object ArrayBuffer]"}function b4(e){return typeof FormData<"u"&&e instanceof FormData}function w4(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function E4(e){return typeof e=="string"}function C4(e){return typeof e=="number"}function T1(e){return e!==null&&typeof e=="object"}function $a(e){if(yn.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function A4(e){return yn.call(e)==="[object Date]"}function S4(e){return yn.call(e)==="[object File]"}function T4(e){return yn.call(e)==="[object Blob]"}function D1(e){return yn.call(e)==="[object Function]"}function D4(e){return T1(e)&&D1(e.pipe)}function k4(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function B4(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}
51function F4(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Bf(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),kf(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function Bu(){var e={};function t(i,a){$a(e[a])&&$a(i)?e[a]=Bu(e[a],i):$a(i)?e[a]=Bu({},i):kf(i)?e[a]=i.slice():e[a]=i}for(var r=0,n=arguments.length;r<n;r++)Bf(arguments[r],t);return e}function O4(e,t,r){return Bf(t,function(i,a){r&&typeof i=="function"?e[a]=_4(i,r):e[a]=i}),e}function R4(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var xe={isArray:kf,isArrayBuffer:y4,isBuffer:m4,isFormData:b4,isArrayBufferView:w4,isString:E4,isNumber:C4,isObject:T1,isPlainObject:$a,isUndefined:ku,isDate:A4,isFile:S4,isBlob:T4,isFunction:D1,isStream:D4,isURLSearchParams:k4,isStandardBrowserEnv:F4,forEach:Bf,merge:Bu,extend:O4,trim:B4,stripBOM:R4},On=xe;function th(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var k1=function(t,r,n){if(!r)return t;var i;if(n)i=n(r);else if(On.isURLSearchParams(r))i=r.toString();else{var a=[];On.forEach(r,function(u,f){u===null||typeof u>"u"||(On.isArray(u)?f=f+"[]":u=[u],On.forEach(u,function(c){On.isDate(c)?c=c.toISOString():On.isObject(c)&&(c=JSON.stringify(c)),a.push(th(f)+"="+th(c))}))}),i=a.join("&")}if(i){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},L4=xe;function Us(){this.handlers=[]}Us.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};Us.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Us.prototype.forEach=function(t){L4.forEach(this.handlers,function(n){n!==null&&t(n)})};var P4=Us,M4=xe,I4=function(t,r){M4.forEach(t,function(i,a){a!==r&&a.toUpperCase()===r.toUpperCase()&&(t[r]=i,delete t[a])})},B1=function(t,r,n,i,a){return t.config=r,n&&(t.code=n),t.request=i,t.response=a,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},Uo,eh;function F1(){if(eh)return Uo;eh=1;var e=B1;return Uo=function(r,n,i,a,s){var o=new Error(r);return e(o,n,i,a,s)},Uo}var jo,rh;function N4(){if(rh)return jo;rh=1;var e=F1();return jo=function(r,n,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?r(i):n(e("Request failed with status code "+i.status,i.config,null,i.request,i))},jo}var Wo,nh;function z4(){if(nh)return Wo;nh=1;var e=xe;return Wo=e.isStandardBrowserEnv()?function(){return{write:function(n,i,a,s,o,u){var f=[];f.push(n+"="+encodeURIComponent(i)),e.isNumber(a)&&f.push("expires="+new Date(a).toGMTString()),e.isString(s)&&f.push("path="+s),e.isString(o)&&f.push("domain="+o),u===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Wo}var qo,ih;function $4(){return ih||(ih=1,qo=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}),qo}var Yo,ah;function H4(){return ah||(ah=1,Yo=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),Yo}var Go,sh;function U4(){if(sh)return Go;sh=1;var e=$4(),t=H4();return Go=function(n,i){return n&&!e(i)?t(n,i):i},Go}var Xo,oh;function j4(){if(oh)return Xo;oh=1;var e=xe,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Xo=function(n){var i={},a,s,o;return n&&e.forEach(n.split(` 52`),function(f){if(o=f.indexOf(":"),a=e.trim(f.substr(0,o)).toLowerCase(),s=e.trim(f.substr(o+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([s]):i[a]=i[a]?i[a]+", "+s:s}}),i},Xo}var Vo,uh;
52function W4(){if(uh)return Vo;uh=1;var e=xe;return Vo=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function a(s){var o=s;return r&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=a(window.location.href),function(o){var u=e.isString(o)?a(o):o;return u.protocol===i.protocol&&u.host===i.host}}():function(){return function(){return!0}}(),Vo}var Zo,fh;function js(){if(fh)return Zo;fh=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,Zo=e,Zo}var Ko,lh;function ch(){if(lh)return Ko;lh=1;var e=xe,t=N4(),r=z4(),n=k1,i=U4(),a=j4(),s=W4(),o=F1(),u=Ws(),f=js();return Ko=function(c){return new Promise(function(d,g){var y=c.data,v=c.headers,p=c.responseType,m;function x(){c.cancelToken&&c.cancelToken.unsubscribe(m),c.signal&&c.signal.removeEventListener("abort",m)}e.isFormData(y)&&delete v["Content-Type"];var _=new XMLHttpRequest;if(c.auth){var b=c.auth.username||"",w=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+w)}var C=i(c.baseURL,c.url);_.open(c.method.toUpperCase(),n(C,c.params,c.paramsSerializer),!0),_.timeout=c.timeout;function A(){if(!!_){var D="getAllResponseHeaders"in _?a(_.getAllResponseHeaders()):null,F=!p||p==="text"||p==="json"?_.responseText:_.response,T={data:F,status:_.status,statusText:_.statusText,headers:D,config:c,request:_};t(function(E){d(E),x()},function(E){g(E),x()},T),_=null}}if("onloadend"in _?_.onloadend=A:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(A)},_.onabort=function(){!_||(g(o("Request aborted",c,"ECONNABORTED",_)),_=null)},_.onerror=function(){g(o("Network Error",c,null,_)),_=null},_.ontimeout=function(){var F=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",T=c.transitional||u.transitional;c.timeoutErrorMessage&&(F=c.timeoutErrorMessage),g(o(F,c,T.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",_)),_=null},e.isStandardBrowserEnv()){var k=(c.withCredentials||s(C))&&c.xsrfCookieName?r.read(c.xsrfCookieName):void 0;k&&(v[c.xsrfHeaderName]=k)}"setRequestHeader"in _&&e.forEach(v,function(F,T){typeof y>"u"&&T.toLowerCase()==="content-type"?delete v[T]:_.setRequestHeader(T,F)}),e.isUndefined(c.withCredentials)||(_.withCredentials=!!c.withCredentials),p&&p!=="json"&&(_.responseType=c.responseType),typeof c.onDownloadProgress=="function"&&_.addEventListener("progress",c.onDownloadProgress),typeof c.onUploadProgress=="function"&&_.upload&&_.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(m=function(D){!_||(g(!D||D&&D.type?new f("canceled"):D),_.abort(),_=null)},c.cancelToken&&c.cancelToken.subscribe(m),c.signal&&(c.signal.aborted?m():c.signal.addEventListener("abort",m))),y||(y=null),_.send(y)})},Ko}var Qo,hh;function Ws(){if(hh)return Qo;hh=1;var e=xe,t=I4,r=B1,n={"Content-Type":"application/x-www-form-urlencoded"};function i(u,f){!e.isUndefined(u)&&e.isUndefined(u["Content-Type"])&&(u["Content-Type"]=f)}function a(){var u;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(u=ch()),u}function s(u,f,l){if(e.isString(u))try{return(f||JSON.parse)(u),e.trim(u)}catch(c){if(c.name!=="SyntaxError")throw c}return(l||JSON.stringify)(u)}var o={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:a(),transformRequest:[function(f,l){return t(l,"Accept"),t(l,"Content-Type"),e.isFormData(f)||e.isArrayBuffer(f)||e.isBuffer(f)||e.isStream(f)||e.isFile(f)||e.isBlob(f)?f:e.isArrayBufferView(f)?f.buffer:e.isURLSearchParams(f)?(i(l,"application/x-www-form-urlencoded;charset=utf-8"),f.toString()):e.isObject(f)||l&&l["Content-Type"]==="application/json"?(i(l,"a
52pplication/json"),s(f)):f}],transformResponse:[function(f){var l=this.transitional||o.transitional,c=l&&l.silentJSONParsing,h=l&&l.forcedJSONParsing,d=!c&&this.responseType==="json";if(d||h&&e.isString(f)&&f.length)try{return JSON.parse(f)}catch(g){if(d)throw g.name==="SyntaxError"?r(g,this,"E_JSON_PARSE"):g}return f}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(f){return f>=200&&f<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],function(f){o.headers[f]={}}),e.forEach(["post","put","patch"],function(f){o.headers[f]=e.merge(n)}),Qo=o,Qo}var q4=xe,Y4=Ws(),G4=function(t,r,n){var i=this||Y4;return q4.forEach(n,function(s){t=s.call(i,t,r)}),t},Jo,dh;function O1(){return dh||(dh=1,Jo=function(t){return!!(t&&t.__CANCEL__)}),Jo}var vh=xe,t0=G4,X4=O1(),V4=Ws(),Z4=js();function e0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Z4("canceled")}var K4=function(t){e0(t),t.headers=t.headers||{},t.data=t0.call(t,t.data,t.headers,t.transformRequest),t.headers=vh.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),vh.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var r=t.adapter||V4.adapter;return r(t).then(function(i){return e0(t),i.data=t0.call(t,i.data,i.headers,t.transformResponse),i},function(i){return X4(i)||(e0(t),i&&i.response&&(i.response.data=t0.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},he=xe,R1=function(t,r){r=r||{};var n={};function i(l,c){return he.isPlainObject(l)&&he.isPlainObject(c)?he.merge(l,c):he.isPlainObject(c)?he.merge({},c):he.isArray(c)?c.slice():c}function a(l){if(he.isUndefined(r[l])){if(!he.isUndefined(t[l]))return i(void 0,t[l])}else return i(t[l],r[l])}function s(l){if(!he.isUndefined(r[l]))return i(void 0,r[l])}function o(l){if(he.isUndefined(r[l])){if(!he.isUndefined(t[l]))return i(void 0,t[l])}else return i(void 0,r[l])}function u(l){if(l in r)return i(t[l],r[l]);if(l in t)return i(void 0,t[l])}var f={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u};return he.forEach(Object.keys(t).concat(Object.keys(r)),function(c){var h=f[c]||a,d=h(c);he.isUndefined(d)&&h!==u||(n[c]=d)}),n},r0,ph;function L1(){return ph||(ph=1,r0={version:"0.24.0"}),r0}var Q4=L1().version,Ff={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Ff[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var gh={};Ff.transitional=function(t,r,n){function i(a,s){return"[Axios v"+Q4+"] Transitional option '"+a+"'"+s+(n?". "+n:"")}return function(a,s,o){if(t===!1)throw new Error(i(s," has been removed"+(r?" in "+r:"")));return r&&!gh[s]&&(gh[s]=!0,console.warn(i(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,s,o):!0}};function J4(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],s=t[a];if(s){var o=e[a],u=o===void 0||s(o,a,e);if(u!==!0)throw new TypeError("option "+a+" must be "+u);continue}if(r!==!0)throw Error("Unknown option "+a)}}var t5={assertOptions:J4,validators:Ff},P1=xe,e5=k1,xh=P4,_h=K4,qs=R1,M1=t5,Rn=M1.validators;function Ji(e){this.defaults=e,this.interceptors={request:new xh,response:new xh}}Ji.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=qs(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;r!==void 0&&M1.assertOptions(r,{silentJSONParsing:Rn.transitional(Rn.boolean),forcedJSONParsing:Rn.transitional(Rn.boolean),clarifyTimeoutError:Rn.transitional(Rn.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(t)===!1||(i=i&&h.synchronous,n.unshift(h.fulfilled,h.rejected))});var a=[];this.interceptors.response.forEach(function(h){a.push(h.fulfilled,h.rejected)});var s;if(!i){var o=[_h,void 0];for(Array.prototype.unshift.apply(o,n),o=o.concat(a),s=Promise.resolve(t);o.length;)s=s.then(o.shift(),o.shift());return s}for(var u=t;n.length;){var f=n.shift(),l=n.shift();try{u=f(u)}catch(c){l(c);break}}try{s=_h(u)}catch(c){return Promise.reject(c)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};Ji.prototype.getUri=function(t){return t=qs(this.defaults,t),e5(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};
52P1.forEach(["delete","get","head","options"],function(t){Ji.prototype[t]=function(r,n){return this.request(qs(n||{},{method:t,url:r,data:(n||{}).data}))}});P1.forEach(["post","put","patch"],function(t){Ji.prototype[t]=function(r,n,i){return this.request(qs(i||{},{method:t,url:r,data:n}))}});var r5=Ji,n0,mh;function n5(){if(mh)return n0;mh=1;var e=js();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(s){n=s});var i=this;this.promise.then(function(a){if(!!i._listeners){var s,o=i._listeners.length;for(s=0;s<o;s++)i._listeners[s](a);i._listeners=null}}),this.promise.then=function(a){var s,o=new Promise(function(u){i.subscribe(u),s=u}).then(a);return o.cancel=function(){i.unsubscribe(s)},o},r(function(s){i.reason||(i.reason=new e(s),n(i.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(!!this._listeners){var i=this._listeners.indexOf(n);i!==-1&&this._listeners.splice(i,1)}},t.source=function(){var n,i=new t(function(s){n=s});return{token:i,cancel:n}},n0=t,n0}var i0,yh;function i5(){return yh||(yh=1,i0=function(t){return function(n){return t.apply(null,n)}}),i0}var a0,bh;function a5(){return bh||(bh=1,a0=function(t){return typeof t=="object"&&t.isAxiosError===!0}),a0}var wh=xe,s5=S1,Ha=r5,o5=R1,u5=Ws();function I1(e){var t=new Ha(e),r=s5(Ha.prototype.request,t);return wh.extend(r,Ha.prototype,t),wh.extend(r,t),r.create=function(i){return I1(o5(e,i))},r}var Ke=I1(u5);Ke.Axios=Ha;Ke.Cancel=js();Ke.CancelToken=n5();Ke.isCancel=O1();Ke.VERSION=L1().version;Ke.all=function(t){return Promise.all(t)};Ke.spread=i5();Ke.isAxiosError=a5();Df.exports=Ke;Df.exports.default=Ke;(function(e){e.exports=Df.exports})(A1);const lC=Sd(A1.exports);var N1={exports:{}};function Ai(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var s0={exports:{}};const f5={},l5=Object.freeze(Object.defineProperty({__proto__:null,default:f5},Symbol.toStringTag,{value:"Module"})),c5=$u(l5);var Eh;function pt(){return Eh||(Eh=1,function(e,t){(function(r,n){e.exports=n()})(lt,function(){var r=r||function(n,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof lt<"u"&<.crypto&&(a=lt.crypto),!a&&typeof Ai=="function")try{a=c5}catch{}var s=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function m(){}return function(x){var _;return m.prototype=x,_=new m,m.prototype=null,_}}(),u={},f=u.lib={},l=f.Base=function(){return{extend:function(m){var x=o(this);return m&&x.mixIn(m),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var x in m)m.hasOwnProperty(x)&&(this[x]=m[x]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=f.WordArray=l.extend({init:function(m,x){m=this.words=m||[],x!=i?this.sigBytes=x:this.sigBytes=m.length*4},toString:function(m){return(m||d).stringify(this)},concat:function(m){var x=this.words,_=m.words,b=this.sigBytes,w=m.sigBytes;if(this.clamp(),b%4)for(var C=0;C<w;C++){var A=_[C>>>2]>>>24-C%4*8&255;x[b+C>>>2]|=A<<24-(b+C)%4*8}else for(var k=0;k<w;k+=4)x[b+k>>>2]=_[k>>>2];return this.sigBytes+=w,this},clamp:function(){var m=this.words,x=this.sigBytes;m[x>>>2]&=4294967295<<32-x%4*8,m.length=n.ceil(x/4)},clone:function(){var m=l.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var x=[],_=0;_<m;_+=4)x.push(s());return new c.init(x,m)}}),h=u.enc={},d=h.Hex={stringify:function(m){for(var x=m.words,_=m.sigBytes,b=[],w=0;w<_;w++){var C=x[w>>>2]>>>24-w%4*8&255;b.push((C>>>4).toString(16)),b.push((C&15).toString(16))}return b.join("")},parse:function(m){for(var x=m.length,_=[],b=0;b<x;b+=2)_[b>>>3]|=parseInt(m.substr(b,2),16)<<24-b%8*4;return new c.init(_,x/2)}},g=h.Latin1={stringify:function(m){for(var x=m.words,_=m.sigBytes,b=[],w=0;w<_;w++){var C=x[w>>>2]>>>24-w%4*8&255;b.push(String.fromCharCode(C))}return b.join("")},parse:function(m){for(var x=m.length,_=[],b=0;b<x;b++)_[b>>>2]|=(m.charCodeAt(b)&255)<<24-b%4*8;return new c.init(_,x)}},y=h.Utf8={stringify:function(m){try{return decodeURIComponent(escape(g.stringify(m)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(m){return g.parse(unescape(encodeURIComponent(m)))}},v=f.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=y.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var x,_=this._data,b=_.words,w=_.sigBytes,C=this.blockSize,A=C*4,k=w/A;m?k=n.ceil(k):k=n.max((k|0)-this._minBufferSize,0);var D=k*C,F=n.min(D*4,w);if(D){for(var T=0;T<D;T+=C)this._doProcessBlock(b,T);x=b.splice(0,D),_.sigBytes-=F}return new c.init(x,F)},clone:function(){var m=l.clone.call(this);return m._data=this._data.clone(),m},_minBufferSize:0});f.Hasher=v.extend({cfg:l.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(m){return this._append(m),this._process(),this},finalize:function(m){m&&this._append(m);var x=this._doFinalize();return x},blockSize:16,_createHelper:function(m){return function(x,_){return new m.init(_).finalize(x)}},_createHmacHelper:function(m){return function(x,_){return new p.HMAC.init(m,_).finalize(x)}}});var p=u.algo={};return u}(Math);return r})}(s0)),s0.exports}var o0={exports:{}},Ch;function Ys(){return Ch||(Ch=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){return function(n){var i=r,a=i.lib,s=a.Base,o=a.WordArray,u=i.x64={};u.Word=s.extend({init:function(f,l){this.high=f,this.low=l}}),u.WordArray=s.extend({init:function(f,l){f=this.words=f||[],l!=n?this.sigBytes=l:this.sigBytes=f.length*8},toX32:function(){for(var f=this.words,l=f.length,c=[],h=0;h<l;h++){var d=f[h];c.push(d.high),c.push(d.low)}return o.create(c,this.sigBytes)},clone:function(){for(var f=s.clone.call(this),l=f.words=this.words.slice(0),c=l.length,h=0;h<c;h++)l[h]=l[h].clone();return f}})}(),r})}(o0)),o0.exports}var u0={exports:{}},Ah;function h5(){return Ah||(Ah=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){return function(){if(typeof ArrayBuffer=="function"){var n=r,i=n.lib,a=i.WordArray,s=a.init,o=a.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var f=u.byteLength,l=[],c=0;c<f;c++)l[c>>>2]|=u[c]<<24-c%4*8;s.call(this,l,f)}else s.apply(this,arguments)};o.prototype=a}}(),r.lib.WordArray})}(u0)),u0.exports}var f0={exports:{}},Sh;function d5(){return Sh||(Sh=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,s=n.enc;s.Utf16=s.Utf16BE={stringify:function(u){for(var f=u.words,l=u.sigBytes,c=[],h=0;h<l;h+=2){var d=f[h>>>2]>>>16-h%4*8&65535;c.push(String.fromCharCode(d))}return c.join("")},parse:function(u){for(var f=u.length,l=[],c=0;c<f;c++)l[c>>>1]|=u.charCodeAt(c)<<16-c%2*16;return a.create(l,f*2)}},s.Utf16LE={stringify:function(u){for(var f=u.words,l=u.sigBytes,c=[],h=0;h<l;h+=2){var d=o(f[h>>>2]>>>16-h%4*8&65535);c.push(String.fromCharCode(d))}return c.join("")},parse:function(u){for(var f=u.length,l=[],c=0;c<f;c++)l[c>>>1]|=o(u.charCodeAt(c)<<16-c%2*16);return a.create(l,f*2)}};function o(u){return u<<8&4278255360|u>>>8&16711935}}(),r.enc.Utf16})}
vendor: 17,570 bytes, lines 52-57
52(f0)),f0.exports}var l0={exports:{}},Th;function bn(){return Th||(Th=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,s=n.enc;s.Base64={stringify:function(u){var f=u.words,l=u.sigBytes,c=this._map;u.clamp();for(var h=[],d=0;d<l;d+=3)for(var g=f[d>>>2]>>>24-d%4*8&255,y=f[d+1>>>2]>>>24-(d+1)%4*8&255,v=f[d+2>>>2]>>>24-(d+2)%4*8&255,p=g<<16|y<<8|v,m=0;m<4&&d+m*.75<l;m++)h.push(c.charAt(p>>>6*(3-m)&63));var x=c.charAt(64);if(x)for(;h.length%4;)h.push(x);return h.join("")},parse:function(u){var f=u.length,l=this._map,c=this._reverseMap;if(!c){c=this._reverseMap=[];for(var h=0;h<l.length;h++)c[l.charCodeAt(h)]=h}var d=l.charAt(64);if(d){var g=u.indexOf(d);g!==-1&&(f=g)}return o(u,f,c)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function o(u,f,l){for(var c=[],h=0,d=0;d<f;d++)if(d%4){var g=l[u.charCodeAt(d-1)]<<d%4*2,y=l[u.charCodeAt(d)]>>>6-d%4*2,v=g|y;c[h>>>2]|=v<<24-h%4*8,h++}return a.create(c,h)}}(),r.enc.Base64})}(l0)),l0.exports}var c0={exports:{}},Dh;function v5(){return Dh||(Dh=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,s=n.enc;s.Base64url={stringify:function(u,f){f===void 0&&(f=!0);var l=u.words,c=u.sigBytes,h=f?this._safe_map:this._map;u.clamp();for(var d=[],g=0;g<c;g+=3)for(var y=l[g>>>2]>>>24-g%4*8&255,v=l[g+1>>>2]>>>24-(g+1)%4*8&255,p=l[g+2>>>2]>>>24-(g+2)%4*8&255,m=y<<16|v<<8|p,x=0;x<4&&g+x*.75<c;x++)d.push(h.charAt(m>>>6*(3-x)&63));var _=h.charAt(64);if(_)for(;d.length%4;)d.push(_);return d.join("")},parse:function(u,f){f===void 0&&(f=!0);var l=u.length,c=f?this._safe_map:this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var d=0;d<c.length;d++)h[c.charCodeAt(d)]=d}var g=c.charAt(64);if(g){var y=u.indexOf(g);y!==-1&&(l=y)}return o(u,l,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function o(u,f,l){for(var c=[],h=0,d=0;d<f;d++)if(d%4){var g=l[u.charCodeAt(d-1)]<<d%4*2,y=l[u.charCodeAt(d)]>>>6-d%4*2,v=g|y;c[h>>>2]|=v<<24-h%4*8,h++}return a.create(c,h)}}(),r.enc.Base64url})}(c0)),c0.exports}var h0={exports:{}},kh;function wn(){return kh||(kh=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){return function(n){var i=r,a=i.lib,s=a.WordArray,o=a.Hasher,u=i.algo,f=[];(function(){for(var y=0;y<64;y++)f[y]=n.abs(n.sin(y+1))*4294967296|0})();var l=u.MD5=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(y,v){for(var p=0;p<16;p++){var m=v+p,x=y[m];y[m]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}var _=this._hash.words,b=y[v+0],w=y[v+1],C=y[v+2],A=y[v+3],k=y[v+4],D=y[v+5],F=y[v+6],T=y[v+7],R=y[v+8],E=y[v+9],z=y[v+10],W=y[v+11],q=y[v+12],G=y[v+13],Y=y[v+14],Z=y[v+15],I=_[0],P=_[1],j=_[2],$=_[3];I=c(I,P,j,$,b,7,f[0]),$=c($,I,P,j,w,12,f[1]),j=c(j,$,I,P,C,17,f[2]),P=c(P,j,$,I,A,22,f[3]),I=c(I,P,j,$,k,7,f[4]),$=c($,I,P,j,D,12,f[5]),j=c(j,$,I,P,F,17,f[6]),P=c(P,j,$,I,T,22,f[7]),I=c(I,P,j,$,R,7,f[8]),$=c($,I,P,j,E,12,f[9]),j=c(j,$,I,P,z,17,f[10]),P=c(P,j,$,I,W,22,f[11]),I=c(I,P,j,$,q,7,f[12]),$=c($,I,P,j,G,12,f[13]),j=c(j,$,I,P,Y,17,f[14]),P=c(P,j,$,I,Z,22,f[15]),I=h(I,P,j,$,w,5,f[16]),$=h($,I,P,j,F,9,f[17]),j=h(j,$,I,P,W,14,f[18]),P=h(P,j,$,I,b,20,f[19]),I=h(I,P,j,$,D,5,f[20]),$=h($,I,P,j,z,9,f[21]),j=h(j,$,I,P,Z,14,f[22]),P=h(P,j,$,I,k,20,f[23]),I=h(I,P,j,$,E,5,f[24]),$=h($,I,P,j,Y,9,f[25]),j=h(j,$,I,P,A,14,f[26]),P=h(P,j,$,I,R,20,f[27]),I=h(I,P,j,$,G,5,f[28]),$=h($,I,P,j,C,9,f[29]),j=h(j,$,I,P,T,14,f[30]),P=h(P,j,$,I,q,20,f[31]),I=d(I,P,j,$,D,4,f[32]),$=d($,I,P,j,R,11,f[33]),j=d(j,$,I,P,W,16,f[34]),P=d(P,j,$,I,Y,23,f[35]),I=d(I,P,j,$,w,4,f[36]),$=d($,I,P,j,k,11,f[37]),j=d(j,$,I,P,T,16,f[38]),P=d(P,j,$,I,z,23,f[39]),I=d(I,P,j,$,G,4,f[40]),$=d($,I,P,j,b,11,f[41]),j=d(j,$,I,P,A,16,f[42]),P=d(P,j,$,I,F,23,f[43]),I=d(I,P,j,$,E,4,f[44]),$=d($,I,P,j,q,11,f[45]),j=d(j,$,I,P,Z,16,f[46]),P=d(P,j,$,I,C,23,f[47]),I=g(I,P,j,$,b,6,f[48]),$=g($,I,P,j,T,10,f[49]),j=g(j,$,I,P,Y,15,f[50]),P=g(P,j,$,I,D,21,f[51]),I=g(I,P,j,$,q,6,f[52]),$=g($,I,P,j,A,10,f[53]),j=g(j,$,I,P,z,15,f[54]),P=g(P,j,$,I,w,21,f[55]),I=g(I,P,j,$,R,6,f[56]),$=g($,I,P,j,Z,10,f[57]),j=g(j,$,I,P,F,15,f[58]),P=g(P,j,$,I,G,21,f[59]),I=g(I,P,j,$,k,6,f[60]),$=g($,I,P,j,W,10,f[61]),j=g(j,$,I,P,C,15,f[62]),P=g(P,j,$,I,E,21,f[63]),_[0]=_[0]+I|0,_[1]=_[1]+P|0,_[2]=_[2]+j|0,_[3]=_[3]+$|0},_doFinalize:function(){var y=this._data,v=y.words,p=this._nDataBytes*8,m=y.sigBytes*8;v[m>>>5]|=128<<24-m%32;var x=n.floor(p/4294967296),_=p;v[(m+64>>>9<<4)+15]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,v[(m+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,y.sigBytes=(v.length+1)*4,this._process();for(var b=this._hash,w=b.words,C=0;C<4;C++){var A=w[C];w[C]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}return b},clone:function(){var y=o.clone.call(this);return y._hash=this._hash.clone(),y}});function c(y,v,p,m,x,_,b){var w=y+(v&p|~v&m)+x+b;return(w<<_|w>>>32-_)+v}function h(y,v,p,m,x,_,b){var w=y+(v&m|p&~m)+x+b;return(w<<_|w>>>32-_)+v}function d(y,v,p,m,x,_,b){var w=y+(v^p^m)+x+b;return(w<<_|w>>>32-_)+v}function g(y,v,p,m,x,_,b){var w=y+(p^(v|~m))+x+b;return(w<<_|w>>>32-_)+v}i.MD5=o._createHelper(l),i.HmacMD5=o._createHmacHelper(l)}(Math),r.MD5})}(h0)),h0.exports}var d0={exports:{}},Bh;function z1(){return Bh||(Bh=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,s=i.Hasher,o=n.algo,u=[],f=o.SHA1=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,c){for(var h=this._hash.words,d=h[0],g=h[1],y=h[2],v=h[3],p=h[4],m=0;m<80;m++){if(m<16)u[m]=l[c+m]|0;else{var x=u[m-3]^u[m-8]^u[m-14]^u[m-16];u[m]=x<<1|x>>>31}var _=(d<<5|d>>>27)+p+u[m];m<20?_+=(g&y|~g&v)+1518500249:m<40?_+=(g^y^v)+1859775393:m<60?_+=(g&y|g&v|y&v)-1894007588:_+=(g^y^v)-899497514,p=v,v=y,y=g<<30|g>>>2,g=d,d=_}h[0]=h[0]+d|0,h[1]=h[1]+g|0,h[2]=h[2]+y|0,h[3]=h[3]+v|0,h[4]=h[4]+p|0},_doFinalize:function(){var l=this._data,c=l.words,h=this._nDataBytes*8,d=l.sigBytes*8;return c[d>>>5]|=128<<24-d%32,c[(d+64>>>9<<4)+14]=Math.floor(h/4294967296),c[(d+64>>>9<<4)+15]=h,l.sigBytes=c.length*4,this._process(),this._hash},clone:function(){var l=s.clone.call(this);return l._hash=this._hash.clone(),l}});n.SHA1=s._createHelper(f),n.HmacSHA1=s._createHmacHelper(f)}(),r.SHA1})}(d0)),d0.exports}var v0={exports:{}},Fh;function Of(){return Fh||(Fh=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){return function(n){var i=r,a=i.lib,s=a.WordArray,o=a.Hasher,u=i.algo,f=[],l=[];(function(){function d(p){for(var m=n.sqrt(p),x=2;x<=m;x++)if(!(p%x))return!1;return!0}function g(p){return(p-(p|0))*4294967296|0}for(var y=2,v=0;v<64;)d(y)&&(v<8&&(f[v]=g(n.pow(y,1/2))),l[v]=g(n.pow(y,1/3)),v++),y++})();var c=[],h=u.SHA256=o.extend({_doReset:function(){this._hash=new s.init(f.slice(0))},_doProcessBlock:function(d,g){for(var y=this._hash.words,v=y[0],p=y[1],m=y[2],x=y[3],_=y[4],b=y[5],w=y[6],C=y[7],A=0;A<64;A++){if(A<16)c[A]=d[g+A]|0;else{var k=c[A-15],D=(k<<25|k>>>7)^(k<<14|k>>>18)^k>>>3,F=c[A-2],T=(F<<15|F>>>17)^(F<<13|F>>>19)^F>>>10;c[A]=D+c[A-7]+T+c[A-16]}var R=_&b^~_&w,E=v&p^v&m^p&m,z=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),W=(_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25),q=C+W+R+l[A]+c[A],G=z+E;C=w,w=b,b=_,_=x+q|0,x=m,m=p,p=v,v=q+G|0}y[0]=y[0]+v|0,y[1]=y[1]+p|0,y[2]=y[2]+m|0,y[3]=y[3]+x|0,y[4]=y[4]+_|0,y[5]=y[5]+b|0,y[6]=y[6]+w|0,y[7]=y[7]+C|0},_doFinalize:function(){var d=this._data,g=d.words,y=this._nDataBytes*8,v=d.sigBytes*8;return g[v>>>5]|=128<<24-v%32,g[(v+64>>>9<<4)+14]=n.floor(y/4294967296),g[(v+64>>>9<<4)+15]=y,d.sigBytes=g.length*4,this._process(),this._hash},clone:function(){var d=o.clone.call(this);return d._hash=this._hash.clone(),d}});i.SHA256=o._createHelper(h),i.HmacSHA256=o._createHmacHelper(h)}(Math),r.SHA256})}(v0)),v0.exports}var p0={exports:{}},Oh;function p5(){return Oh||(Oh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Of())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,s=n.algo,o=s.SHA256,u=s.SHA224=o.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var f=o._doFinalize.call(this);return f.sigBytes-=4,f}});n.SHA224=o._createHelper(u),n.HmacSHA224=o._createHmacHelper(u)}(),r.SHA224})}(p0)),p0.exports}var g0={exports:{}},Rh;function $1(){return Rh||(Rh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Ys())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.Hasher,s=n.x64,o=s.Word,u=s.WordArray,f=n.algo;function l(){return o.create.apply(o,arguments)}var c=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],h=[];(function(){for(var g=0;g<80;g++)h[g]=l()})();var d=f.SHA512=a.extend({_doReset:function(){this._hash=new u.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(g,y){for(var v=this._hash.words,p=v[0],m=v[1],x=v[2],_=v[3],b=v[4],w=v[5],C=v[6],A=v[7],k=p.high,D=p.low,F=m.high,T=m.low,R=x.high,E=x.low,z=_.high,W=_.low,q=b.high,G=b.low,Y=w.high,Z=w.low,I=C.high,P=C.low,j=A.high,$=A.low,X=k,tt=D,nt=F,et=T,at=R,ot=E,rt=z,ut=W,ct=q,S=G,Q=Y,H=Z,M=I,L=P,U=j,B=$,O=0;O<80;O++){var N,V,J=h[O];if(O<16)V=J.high=g[y+O*2]|0,N=J.low=g[y+O*2+1]|0;else{var K=h[O-15],it=K.high,st=K.low,ft=(it>>>1|st<<31)^(it>>>8|st<<24)^it>>>7,At=(st>>>1|it<<31)^(st>>>8|it<<24)^(st>>>7|it<<25),ae=h[O-2],xt=ae.high,Et=ae.low,vt=(xt>>>19|Et<<13)^(xt<<3|Et>>>29)^xt>>>6,se=(Et>>>19|xt<<13)^(Et<<3|xt>>>29)^(Et>>>6|xt<<26),Te=h[O-7],Bt=Te.high,Qe=Te.low,Lt=h[O-16],Or=Lt.high,_e=Lt.low;N=At+Qe,V=ft+Bt+(N>>>0<At>>>0?1:0),N=N+se,V=V+vt+(N>>>0<se>>>0?1:0),N=N+_e,V=V+Or+(N>>>0<_e>>>0?1:0),J.high=V,J.low=N}var Cn=ct&Q^~ct&M,Ne=S&H^~S&L,Je=X&nt^X&at^nt&at,ui=tt&et^tt&ot^et&ot,Rr=(X>>>28|tt<<4)^(X<<30|tt>>>2)^(X<<25|tt>>>7),Ft=(tt>>>28|X<<4)^(tt<<30|X>>>2)^(tt<<25|X>>>7),Ot=(ct>>>14|S<<18)^(ct>>>18|S<<14)^(ct<<23|S>>>9),Qt=(S>>>14|ct<<18)^(S>>>18|ct<<14)^(S<<23|ct>>>9),Gt=c[O],qt=Gt.high,Pt=Gt.low,Dt=B+Qt,Ut=U+Ot+(Dt>>>0<B>>>0?1:0),Dt=Dt+Ne,Ut=Ut+Cn+(Dt>>>0<Ne>>>0?1:0),Dt=Dt+Pt,Ut=Ut+qt+(Dt>>>0<Pt>>>0?1:0),Dt=Dt+N,Ut=Ut+V+(Dt>>>0<N>>>0?1:0),tr=Ft+ui,xg=Rr+Je+(tr>>>0<Ft>>>0?1:0);U=M,B=L,M=Q,L=H,Q=ct,H=S,S=ut+Dt|0,ct=rt+Ut+(S>>>0<ut>>>0?1:0)|0,rt=at,ut=ot,at=nt,ot=et,nt=X,et=tt,tt=Dt+tr|0,X=Ut+xg+(tt>>>0<Dt>>>0?1:0)|0}D=p.low=D+tt,p.high=k+X+(D>>>0<tt>>>0?1:0),T=m.low=T+et,m.high=F+nt+(T>>>0<et>>>0?1:0),E=x.low=E+ot,x.high=R+at+(E>>>0<ot>>>0?1:0),W=_.low=W+ut,_.high=z+rt+(W>>>0<ut>>>0?1:0),G=b.low=G+S,b.high=q+ct+(G>>>0<S>>>0?1:0),Z=w.low=Z+H,w.high=Y+Q+(Z>>>0<H>>>0?1:0),P=C.low=P+L,C.high=I+M+(P>>>0<L>>>0?1:0),$=A.low=$+B,A.high=j+U+($>>>0<B>>>0?1:0)},_doFinalize:function(){var g=this._data,y=g.words,v=this._nDataBytes*8,p=g.sigBytes*8;y[p>>>5]|=128<<24-p%32,y[(p+128>>>10<<5)+30]=Math.floor(v/4294967296),y[(p+128>>>10<<5)+31]=v,g.sigBytes=y.length*4,this._process();var m=this._hash.toX32();return m},clone:function(){var g=a.clone.call(this);return g._hash=this._hash.clone(),g},blockSize:1024/32});n.SHA512=a._createHelper(d),n.HmacSHA512=a._createHmacHelper(d)}(),r.SHA512})}(g0)),g0.exports}var x0={exports:{}},Lh;function g5(){return Lh||(Lh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Ys(),$1())})(lt,function(r){return function(){var n=r,i=n.x64,a=i.Word,s=i.WordArray,o=n.algo,u=o.SHA512,f=o.SHA384=u.extend({_doReset:function(){this._hash=new s.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var l=u._doFinalize.call(this);return l.sigBytes-=16,l}});n.SHA384=u._createHelper(f),n.HmacSHA384=u._createHmacHelper(f)}(),r.SHA384})}(x0)),x0.exports}var _0={exports:{}},Ph;function x5(){return Ph||(Ph=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Ys())})(lt,function(r){return function(n){var i=r,a=i.lib,s=a.WordArray,o=a.Hasher,u=i.x64,f=u.Word,l=i.algo,c=[],h=[],d=[];(function(){for(var v=1,p=0,m=0;m<24;m++){c[v+5*p]=(m+1)*(m+2)/2%64;var x=p%5,_=(2*v+3*p)%5;v=x,p=_}for(var v=0;v<5;v++)for(var p=0;p<5;p++)h[v+5*p]=p+(2*v+3*p)%5*5;for(var b=1,w=0;w<24;w++){for(var C=0,A=0,k=0;k<7;k++){if(b&1){var D=(1<<k)-1;D<32?A^=1<<D:C^=1<<D-32}b&128?b=b<<1^113:b<<=1}d[w]=f.create(C,A)}})();var g=[];(function(){for(var v=0;v<25;v++)g[v]=f.create()})();var y=l.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],p=0;p<25;p++)v[p]=new f.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,p){for(var m=this._state,x=this.blockSize/2,_=0;_<x;_++){var b=v[p+2*_],w=v[p+2*_+1];b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var C=m[_];C.high^=w,C.low^=b}for(var A=0;A<24;A++){for(var k=0;k<5;k++){for(var D=0,F=0,T=0;T<5;T++){var C=m[k+5*T];D^=C.high,F^=C.low}var R=g[k];R.high=D,R.low=F}for(var k=0;k<5;k++)for(var E=g[(k+4)%5],z=g[(k+1)%5],W=z.high,q=z.low,D=E.high^(W<<1|q>>>31),F=E.low^(q<<1|W>>>31),T=0;T<5;T++){var C=m[k+5*T];C.high^=D,C.low^=F}for(var G=1;G<25;G++){var D,F,C=m[G],Y=C.high,Z=C.low,I=c[G];I<32?(D=Y<<I|Z>>>32-I,F=Z<<I|Y>>>32-I):(D=Z<<I-32|Y>>>64-I,F=Y<<I-32|Z>>>64-I);var P=g[h[G]];P.high=D,P.low=F}var j=g[0],$=m[0];j.high=$.high,j.low=$.low;for(var k=0;k<5;k++)for(var T=0;T<5;T++){var G=k+5*T,C=m[G],X=g[G],tt=g[(k+1)%5+5*T],nt=g[(k+2)%5+5*T];C.high=X.high^~tt.high&nt.high,C.low=X.low^~tt.low&nt.low}var C=m[0],et=d[A];C.high^=et.high,C.low^=et.low}},_doFinalize:function(){var v=this._data,p=v.words;this._nDataBytes*8;var m=v.sigBytes*8,x=this.blockSize*32;p[m>>>5]|=1<<24-m%32,p[(n.ceil((m+1)/x)*x>>>5)-1]|=128,v.sigBytes=p.length*4,this._process();for(var _=this._state,b=this.cfg.outputLength/8,w=b/8,C=[],A=0;A<w;A++){var k=_[A],D=k.high,F=k.low;D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,C.push(F),C.push(D)}return new s.init(C,b)},clone:function(){for(var v=o.clone.call(this),p=v._state=this._state.slice(0),m=0;m<25;m++)p[m]=p[m].clone();return v}});i.SHA3=o._createHelper(y),i.HmacSHA3=o._createHmacHelper(y)}(Math),r.SHA3})}(_0)),_0.exports}var m0={exports:{}},Mh;function _5(){return Mh||(Mh=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){/** @preserve 53(c) 2012 by Cédric Mesnil. All rights reserved. 54 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 55 - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 56 - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 57 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (
57INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 58*/return function(n){var i=r,a=i.lib,s=a.WordArray,o=a.Hasher,u=i.algo,f=s.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=s.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=s.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=s.create([0,1518500249,1859775393,2400959708,2840853838]),g=s.create([1352829926,1548603684,1836072691,2053994217,0]),y=u.RIPEMD160=o.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(w,C){for(var A=0;A<16;A++){var k=C+A,D=w[k];w[k]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}var F=this._hash.words,T=d.words,R=g.words,E=f.words,z=l.words,W=c.words,q=h.words,G,Y,Z,I,P,j,$,X,tt,nt;j=G=F[0],$=Y=F[1],X=Z=F[2],tt=I=F[3],nt=P=F[4];for(var et,A=0;A<80;A+=1)et=G+w[C+E[A]]|0,A<16?et+=v(Y,Z,I)+T[0]:A<32?et+=p(Y,Z,I)+T[1]:A<48?et+=m(Y,Z,I)+T[2]:A<64?et+=x(Y,Z,I)+T[3]:et+=_(Y,Z,I)+T[4],et=et|0,et=b(et,W[A]),et=et+P|0,G=P,P=I,I=b(Z,10),Z=Y,Y=et,et=j+w[C+z[A]]|0,A<16?et+=_($,X,tt)+R[0]:A<32?et+=x($,X,tt)+R[1]:A<48?et+=m($,X,tt)+R[2]:A<64?et+=p($,X,tt)+R[3]:et+=v($,X,tt)+R[4],et=et|0,et=b(et,q[A]),et=et+nt|0,j=nt,nt=tt,tt=b(X,10),X=$,$=et;et=F[1]+Z+tt|0,F[1]=F[2]+I+nt|0,F[2]=F[3]+P+j|0,F[3]=F[4]+G+$|0,F[4]=F[0]+Y+X|0,F[0]=et},_doFinalize:function(){var w=this._data,C=w.words,A=this._nDataBytes*8,k=w.sigBytes*8;C[k>>>5]|=128<<24-k%32,C[(k+64>>>9<<4)+14]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,w.sigBytes=(C.length+1)*4,this._process();for(var D=this._hash,F=D.words,T=0;T<5;T++){var R=F[T];F[T]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}return D},clone:function(){var w=o.clone.call(this);return w._hash=this._hash.clone(),w}});function v(w,C,A){return w^C^A}function p(w,C,A){return w&C|~w&A}function m(w,C,A){return(w|~C)^A}function x(w,C,A){return w&A|C&~A}function _(w,C,A){return w^(C|~A)}function b(w,C){return w<<C|w>>>32-C}i.RIPEMD160=o._createHelper(y),i.HmacRIPEMD160=o._createHmacHelper(y)}(),r.RIPEMD160})}(m0)),m0.exports}var y0={exports:{}},Ih;function Rf(){return Ih||(Ih=1,function(e,t){(function(r,n){e.exports=n(pt())})(lt,function(r){(function(){var n=r,i=n.lib,a=i.Base,s=n.enc,o=s.Utf8,u=n.algo;u.HMAC=a.extend({init:function(f,l){f=this._hasher=new f.init,typeof l=="string"&&(l=o.parse(l));var c=f.blockSize,h=c*4;l.sigBytes>h&&(l=f.finalize(l)),l.clamp();for(var d=this._oKey=l.clone(),g=this._iKey=l.clone(),y=d.words,v=g.words,p=0;p<c;p++)y[p]^=1549556828,v[p]^=909522486;d.sigBytes=g.sigBytes=h,this.reset()},reset:function(){var f=this._hasher;f.reset(),f.update(this._iKey)},update:function(f){return this._hasher.update(f),this},finalize:function(f){var l=this._hasher,c=l.finalize(f);l.reset();var h=l.finalize(this._oKey.clone().concat(c));return h}})})()})}(y0)),y0.exports}var b0={exports:{}},Nh;function m5(){return Nh||(Nh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Of(),Rf())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.Base,s=i.WordArray,o=n.algo,u=o.SHA256,f=o.HMAC,l=o.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:u,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,h){for(var d=this.cfg,g=f.create(d.hasher,c),y=s.create(),v=s.create([1]),p=y.words,m=v.words,x=d.keySize,_=d.iterations;p.length<x;){var b=g.update(h).finalize(v);g.reset();for(var w=b.words,C=w.length,A=b,k=1;k<_;k++){A=g.finalize(A),g.reset();for(var D=A.words,F=0;F<C;F++)w[F]^=D[F]}y.concat(b),m[0]++}return y.sigBytes=x*4,y}});n.PBKDF2=function(c,h,d){return l.create(d).compute(c,h)}}(),r.PBKDF2})}(b0)),b0.exports}var w0={exports:{}},zh;function Fr(){return zh||(zh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),z1(),Rf())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.Base,s=i.WordArray,o=n.algo,u=o.MD5,f=o.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:u,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,c){for(var h,d=this.cfg,g=d.hasher.create(),y=s.create(),v=y.words,p=d.keySize,m=d.iterations;v.length<p;){h&&g.update(h),h=g.update(l).finalize(c),g.reset();for(var x=1;x<m;x++)h=g.finalize(h),g.reset();y.concat(h)}return y.sigBytes=p*4,y}});n.EvpKDF=function(l,c,h){return f.create(h).compute(l,c)}}(),r.EvpKDF})}(w0)),w0.exports}var E0={exports:{}},$h;function Wt(){return $h||($h=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Fr())})(lt,function(r){r.lib.Cipher||function(n){var i=r,a=i.lib,s=a.Base,o=a.WordArray,u=a.BufferedBlockAlgorithm,f=i.enc;f.Utf8;var l=f.Base64,c=i.algo,h=c.EvpKDF,d=a.Cipher=u.extend({cfg:s.extend(),createEncryptor:function(D,F){return this.create(this._ENC_XFORM_MODE,D,F)},createDecryptor:function(D,F){return this.create(this._DEC_XFORM_MODE,D,F)},init:function(D,F,T){this.cfg=this.cfg.extend(T),this._xformMode=D,this._key=
vendor: 11,615 bytes, lines 58-62
58F,this.reset()},reset:function(){u.reset.call(this),this._doReset()},process:function(D){return this._append(D),this._process()},finalize:function(D){D&&this._append(D);var F=this._doFinalize();return F},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function D(F){return typeof F=="string"?k:w}return function(F){return{encrypt:function(T,R,E){return D(R).encrypt(F,T,R,E)},decrypt:function(T,R,E){return D(R).decrypt(F,T,R,E)}}}}()});a.StreamCipher=d.extend({_doFinalize:function(){var D=this._process(!0);return D},blockSize:1});var g=i.mode={},y=a.BlockCipherMode=s.extend({createEncryptor:function(D,F){return this.Encryptor.create(D,F)},createDecryptor:function(D,F){return this.Decryptor.create(D,F)},init:function(D,F){this._cipher=D,this._iv=F}}),v=g.CBC=function(){var D=y.extend();D.Encryptor=D.extend({processBlock:function(T,R){var E=this._cipher,z=E.blockSize;F.call(this,T,R,z),E.encryptBlock(T,R),this._prevBlock=T.slice(R,R+z)}}),D.Decryptor=D.extend({processBlock:function(T,R){var E=this._cipher,z=E.blockSize,W=T.slice(R,R+z);E.decryptBlock(T,R),F.call(this,T,R,z),this._prevBlock=W}});function F(T,R,E){var z,W=this._iv;W?(z=W,this._iv=n):z=this._prevBlock;for(var q=0;q<E;q++)T[R+q]^=z[q]}return D}(),p=i.pad={},m=p.Pkcs7={pad:function(D,F){for(var T=F*4,R=T-D.sigBytes%T,E=R<<24|R<<16|R<<8|R,z=[],W=0;W<R;W+=4)z.push(E);var q=o.create(z,R);D.concat(q)},unpad:function(D){var F=D.words[D.sigBytes-1>>>2]&255;D.sigBytes-=F}};a.BlockCipher=d.extend({cfg:d.cfg.extend({mode:v,padding:m}),reset:function(){var D;d.reset.call(this);var F=this.cfg,T=F.iv,R=F.mode;this._xformMode==this._ENC_XFORM_MODE?D=R.createEncryptor:(D=R.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==D?this._mode.init(this,T&&T.words):(this._mode=D.call(R,this,T&&T.words),this._mode.__creator=D)},_doProcessBlock:function(D,F){this._mode.processBlock(D,F)},_doFinalize:function(){var D,F=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(F.pad(this._data,this.blockSize),D=this._process(!0)):(D=this._process(!0),F.unpad(D)),D},blockSize:128/32});var x=a.CipherParams=s.extend({init:function(D){this.mixIn(D)},toString:function(D){return(D||this.formatter).stringify(this)}}),_=i.format={},b=_.OpenSSL={stringify:function(D){var F,T=D.ciphertext,R=D.salt;return R?F=o.create([1398893684,1701076831]).concat(R).concat(T):F=T,F.toString(l)},parse:function(D){var F,T=l.parse(D),R=T.words;return R[0]==1398893684&&R[1]==1701076831&&(F=o.create(R.slice(2,4)),R.splice(0,4),T.sigBytes-=16),x.create({ciphertext:T,salt:F})}},w=a.SerializableCipher=s.extend({cfg:s.extend({format:b}),encrypt:function(D,F,T,R){R=this.cfg.extend(R);var E=D.createEncryptor(T,R),z=E.finalize(F),W=E.cfg;return x.create({ciphertext:z,key:T,iv:W.iv,algorithm:D,mode:W.mode,padding:W.padding,blockSize:D.blockSize,formatter:R.format})},decrypt:function(D,F,T,R){R=this.cfg.extend(R),F=this._parse(F,R.format);var E=D.createDecryptor(T,R).finalize(F.ciphertext);return E},_parse:function(D,F){return typeof D=="string"?F.parse(D,this):D}}),C=i.kdf={},A=C.OpenSSL={execute:function(D,F,T,R,E){if(R||(R=o.random(64/8)),E)var z=h.create({keySize:F+T,hasher:E}).compute(D,R);else var z=h.create({keySize:F+T}).compute(D,R);var W=o.create(z.words.slice(F),T*4);return z.sigBytes=F*4,x.create({key:z,iv:W,salt:R})}},k=a.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:A}),encrypt:function(D,F,T,R){R=this.cfg.extend(R);var E=R.kdf.execute(T,D.keySize,D.ivSize,R.salt,R.hasher);R.iv=E.iv;var z=w.encrypt.call(this,D,F,E.key,R);return z.mixIn(E),z},decrypt:function(D,F,T,R){R=this.cfg.extend(R),F=this._parse(F,R.format);var E=R.kdf.execute(T,D.keySize,D.ivSize,F.salt,R.hasher);R.iv=E.iv;var z=w.decrypt.call(this,D,F,E.key,R);return z}})}()})}(E0)),E0.exports}var C0={exports:{}},Hh;function y5(){return Hh||(Hh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,s){var o=this._cipher,u=o.blockSize;i.call(this,a,s,u,o),this._prevBlock=a.slice(s,s+u)}}),n.Decryptor=n.extend({processBlock:function(a,s){var o=this._cipher,u=o.blockSize,f=a.slice(s,s+u);i.call(this,a,s,u,o),this._prevBlock=f}});function i(a,s,o,u){var f,l=this._iv;l?(f=l.slice(0),this._iv=void 0):f=this._prevBlock,u.encryptBlock(f,0);for(var c=0;c<o;c++)a[s+c]^=f[c]}return n}(),r.mode.CFB})}(C0)),C0.exports}var A0={exports:{}},Uh;function b5(){return Uh||(Uh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return r.mode.CTR=function(){var n=r.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(a,s){var o=this._cipher,u=o.blockSize,f=this._iv,l=this._counter;f&&(l=this._counter=f.slice(0),this._iv=void 0);var c=l.slice(0);o.encryptBlock(c,0),l[u-1]=l[u-1]+1|0;for(var h=0;h<u;h++)a[s+h]^=c[h]}});return n.Decryptor=i,n}(),r.mode.CTR})}(A0)),A0.exports}var S0={exports:{}},jh;function w5(){return jh||(jh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){/** @preserve 59 * Counter block mode compatible with Dr Brian Gladman fileenc.c 60 * derived from CryptoJS.mode.CTR 61 * Jan Hruby [email protected] 62 */return r.mode.CTRGladman=function(){var n=r.lib.BlockCipherMode.extend();function i(o){if((o>>24&255)===255){var u=o>>16&255,f=o>>8&255,l=o&255;u===255?(u=0,f===255?(f=0,l===255?l=0:++l):++f):++u,o=0,o+=u<<16,o+=f<<8,o+=l}else o+=1<<24;return o}function a(o){return(o[0]=i(o[0]))===0&&(o[1]=i(o[1])),o}var s=n.Encryptor=n.extend({processBlock:function(o,u){var f=this._cipher,l=f.blockSize,c=this._iv,h=this._counter;c&&(h=this._counter=c.slice(0),this._iv=void 0),a(h);var d=h.slice(0);f.encryptBlock(d,0);for(var g=0;g<l;g++)o[u+g]^=d[g]}});return n.Decryptor=s,n}(),r.mode.CTRGladman})}(S0)),S0.exports}var T0={exports:{}},Wh;function E5(){return Wh||(Wh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return r.mode.OFB=function(){var n=r.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(a,s){var o=this._cipher,u=o.blockSize,f=this._iv,l=this._keystream;f&&(l=this._keystream=f.slice(0),this._iv=void 0),o.encryptBlock(l,0);for(var c=0;c<u;c++)a[s+c]^=l[c]}});return n.Decryptor=i,n}(),r.mode.OFB})}(T0)),T0.exports}var D0={exports:{}},qh;function C5(){return qh||(qh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return r.mode.ECB=function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(i,a){this._cipher.encryptBlock(i,a)}}),n.Decryptor=n.extend({processBlock:function(i,a){this._cipher.decryptBlock(i,a)}}),n}(),r.mode.ECB})}(D0)),D0.exports}var k0={exports:{}},Yh;function A5(){return Yh||(Yh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return r.pad.AnsiX923={pad:function(n,i){var a=n.sigBytes,s=i*4,o=s-a%s,u=a+o-1;n.clamp(),n.words[u>>>2]|=o<<24-u%4*8,n.sigBytes+=o},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Ansix923})}(k0)),k0.exports}var B0={exports:{}},Gh;function S5(){return Gh||(Gh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return r.pad.Iso10126={pad:function(n,i){var a=i*4,s=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(s-1)).concat(r.lib.WordArray.create([s<<24],1))},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Iso10126})}(B0)),B0.exports}var F0={exports:{}},Xh;function T5(){return Xh||(Xh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return r.pad.Iso97971={pad:function(n,i){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,i)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(F0)),F0.exports}var O0={exports:{}},Vh;function D5(){return Vh||(Vh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return r.pad.ZeroPadding={pad:function(n,i){var a=i*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var i=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(i[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(O0)),O0.exports}var R0={exports:{}},Zh;function k5(){return Zh||(Zh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(R0)),R0.exports}var L0={exports:{}},Kh;function B5(){return Kh||(Kh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),Wt())})(lt,function(r){return function(n){var i=r,a=i.lib,s=a.CipherParams,o=i.enc,u=o.Hex,f=i.format;f.Hex={stringify:function(l){return l.ciphertext.toString(u)},parse:function(l){var c=u.parse(l);return s.create({ciphertext:c})}}}(),r.format.Hex})}(L0)),L0.exports}var P0={exports:{}},Qh;function F5(){return Qh||(Qh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),bn(),wn(),Fr(),Wt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.BlockCipher,s=n.algo,o=[],u=[],f=[],l=[],c=[],h=[],d=[],g=[],y=[],v=[];(function(){for(var x=[],_=0;_<256;_++)_<128?x[_]=_<<1:x[_]=_<<1^283;for(var b=0,w=0,_=0;_<256;_++){var C=w^w<<1^w<<2^w<<3^w<<4;C=C>>>8^C&255^99,o[b]=C,u[C]=b;var A=x[b],k=x[A],D=x[k],F=x[C]*257^C*16843008;f[b]=F<<24|F>>>8,l[b]=F<<16|F>>>16,c[b]=F<<8|F>>>24,h[b]=F;var F=D*16843009^k*65537^A*257^b*16843008;d[C]=F<<24|F>>>8,g[C]=F<<16|F>>>16,y[C]=F<<8|F>>>24,v[C]=F,b?(b=A^x[x[x[D^A]]],w^=x[x[w]]):b=w=1}})();var p=[0,1,2,4,8,16,32,64,128,27,54],m=s.AES=a.extend({_doReset:function(){var x;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var _=this._keyPriorReset=this._key,b=_.words,w=_.sigBytes/4,C=this._nRounds=w+6,A=(C+1)*4,k=this._keySchedule=[],D=0;D<A;D++)D<w?k[D]=b[D]:(x=k[D-1],D%w?w>6&&D%w==4&&(x=o[x>>>24]<<24|o[x>>>16&255]<<16|o[x>>>8&255]<<8|o[x&255]):(x=x<<8|x>>>24,x=o[x>>>24]<<24|o[x>>>16&255]<<16|o[x>>>8&255]<<8|o[x&255],x^=p[D/w|0]<<24),k[D]=k[D-w]^x);for(var F=this._invKeySchedule=[],T=0;T<A;T++){var D=A-T;if(T%4)var x=k[D];else var x=k[D-4];T<4||D<=4?F[T]=x:F[T]=d[o[x>>>24]]^g[o[x>>>16&255]]^y[o[x>>>8&255]]^v[o[x&255]]}}},encryptBlock:function(x,_){this._doCryptBlock(x,_,this._keySchedule,f,l,c,h,o)},decryptBlock:function(x,_){var b=x[_+1];x[_+1]=x[_+3],x[_+3]=b,this._doCryptBlock(x,_,this._invKeySchedule,d,g,y,v,u);var b=x[_+1];x[_+1]=x[_+3],x[_+3]=b},_doCryptBlock:function(x,_,b,w,C,A,k,D){for(var F=this._nRounds,T=x[_]^b[0],R=x[_+1]^b[1],E=x[_+2]^b[2],z=x[_+3]^b[3],W=4,q=1;q<F;q++){var G=w[T>>>24]^C[R>>>16&255]^A[E>>>8&255]^k[z&255]^b[W++],Y=w[R>>>24]^C[E>>>16&255]^A[z>>>8&255]^k[T&255]^b[W++],Z=w[E>>>24]^C[z>>>16&255]^A[T>>>8&255]^k[R&255]^b[W++],I=w[z>>>24]^C[T>>>16&255]^A[R>>>8&255]^k[E&255]^b[W++];T=G,R=Y,E=Z,z=I}var G=(D[T>>>24]<<24|D[R>>>16&255]<<16|D[E>>>8&255]<<8|D[z&255])^b[W++],Y=(D[R>>>24]<<24|D[E>>>16&255]<<16|D[z>>>8&255]<<8|D[T&255])^b[W++],Z=(D[E>>>24]<<24|D[z>>>16&255]<<16|D[T>>>8&255]<<8|D[R&255])^b[W++],I=(D[z>>>24]<<24|D[T>>>16&255]<<16|D[R>>>8&255]<<8|D[E&255])^b[W++];x[_]=G,x[_+1]=Y,x[_+2]=Z,x[_+3]=I},keySize:256/32});n.AES=a._createHelper(m)}(),r.AES})}(P0)),P0.exports}var M0={exports:{}},Jh;function O5(){return Jh||(Jh=1,function(e,t){(function(r,n,i){e.exports=n(pt(),bn(),wn(),Fr(),Wt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,s=i.BlockCipher,o=n.algo,u=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],f=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c
vendor: 7,629 bytes, line 62
62=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],
vendor: 8,164 bytes, line 62
62h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=o.DES=s.extend({_doReset:function(){for(var p=this._key,m=p.words,x=[],_=0;_<56;_++){var b=u[_]-1;x[_]=m[b>>>5]>>>31-b%32&1}for(var w=this._subKeys=[],C=0;C<16;C++){for(var A=w[C]=[],k=l[C],_=0;_<24;_++)A[_/6|0]|=x[(f[_]-1+k)%28]<<31-_%6,A[4+(_/6|0)]|=x[28+(f[_+24]-1+k)%28]<<31-_%6;A[0]=A[0]<<1|A[0]>>>31;for(var _=1;_<7;_++)A[_]=A[_]>>>(_-1)*4+3;A[7]=A[7]<<5|A[7]>>>27}for(var D=this._invSubKeys=[],_=0;_<16;_++)D[_]=w[15-_]},encryptBlock:function(p,m){this._doCryptBlock(p,m,this._subKeys)},decryptBlock:function(p,m){this._doCryptBlock(p,m,this._invSubKeys)},_doCryptBlock:function(p,m,x){this._lBlock=p[m],this._rBlock=p[m+1],g.call(this,4,252645135),g.call(this,16,65535),y.call(this,2,858993459),y.call(this,8,16711935),g.call(this,1,1431655765);for(var _=0;_<16;_++){for(var b=x[_],w=this._lBlock,C=this._rBlock,A=0,k=0;k<8;k++)A|=c[k][((C^b[k])&h[k])>>>0];this._lBlock=C,this._rBlock=w^A}var D=this._lBlock;this._lBlock=this._rBlock,this._rBlock=D,g.call(this,1,1431655765),y.call(this,8,16711935),y.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),p[m]=this._lBlock,p[m+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function g(p,m){var x=(this._lBlock>>>p^this._rBlock)&m;this._rBlock^=x,this._lBlock^=x<<p}function y(p,m){var x=(this._rBlock>>>p^this._lBlock)&m;this._lBlock^=x,this._rBlock^=x<<p}n.DES=s._createHelper(d);var v=o.TripleDES=s.extend({_doReset:function(){var p=this._key,m=p.words;if(m.length!==2&&m.length!==4&&m.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var x=m.slice(0,2),_=m.length<4?m.slice(0,2):m.slice(2,4),b=m.length<6?m.slice(0,2):m.slice(4,6);this._des1=d.createEncryptor(a.create(x)),this._des2=d.createEncryptor(a.create(_)),this._des3=d.createEncryptor(a.create(b))},encryptBlock:function(p,m){this._des1.encryptBlock(p,m),this._des2.decryptBlock(p,m),this._des3.encryptBlock(p,m)},decryptBlock:function(p,m){this._des3.decryptBlock(p,m),this._des2.encryptBlock(p,m),this._des1.decryptBlock(p,m)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=s._createHelper(v)}(),r.TripleDES})}(M0)),M0.exports}var I0={exports:{}},td;function R5(){return td||(td=1,function(e,t){(function(r,n,i){e.exports=n(pt(),bn(),wn(),Fr(),Wt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.StreamCipher,s=n.algo,o=s.RC4=a.extend({_doReset:function(){for(var l=this._key,c=l.words,h=l.sigBytes,d=this._S=[],g=0;g<256;g++)d[g]=g;for(var g=0,y=0;g<256;g++){var v=g%h,p=c[v>>>2]>>>24-v%4*8&255;y=(y+d[g]+p)%256;var m=d[g];d[g]=d[y],d[y]=m}this._i=this._j=0},_doProcessBlock:function(l,c){l[c]^=u.call(this)},keySize:256/32,ivSize:0});function u(){for(var l=this._S,c=this._i,h=this._j,d=0,g=0;g<4;g++){c=(c+1)%256,h=(h+l[c])%256;var y=l[c];l[c]=l[h],l[h]=y,d|=l[(l[c]+l[h])%256]<<24-g*8}return this._i=c,this._j=h,d}n.RC4=a._createHelper(o);var f=s.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var l=this.cfg.drop;l>0;l--)u.call(this)}});n.RC4Drop=a._createHelper(f)}(),r.RC4})}(I0)),I0.exports}var N0={exports:{}},ed;function L5(){return ed||(ed=1,function(e,t){(function(r,n,i){e.exports=n(pt(),bn(),wn(),Fr(),Wt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.StreamCipher,s=n.algo,o=[],u=[],f=[],l=s.Rabbit=a.extend({_doReset:function(){for(var h=this._key.words,d=this.cfg.iv,g=0;g<4;g++)h[g]=(h[g]<<8|h[g]>>>24)&16711935|(h[g]<<24|h[g]>>>8)&4278255360;var y=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],v=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var g=0;g<4;g++)c.call(this);for(var g=0;g<8;g++)v[g]^=y[g+4&7];if(d){var p=d.words,m=p[0],x=p[1],_=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,b=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,w=_>>>16|b&4294901760,C=b<<16|_&65535;v[0]^=_,v[1]^=w,v[2]^=b,v[3]^=C,v[4]^=_,v[5]^=w,v[6]^=b,v[7]^=C;for(var g=0;g<4;g++)c.call(this)}},_doProcessBlock:function(h,d){var g=this._X;c.call(this),o[0]=g[0]^g[5]>>>16^g[3]<<16,o[1]=g[2]^g[7]>>>16^g[5]<<16,o[2]=g[4]^g[1]>>>16^g[7]<<16,o[3]=g[6]^g[3]>>>16^g[1]<<16;for(var y=0;y<4;y++)o[y]=(o[y]<<8|o[y]>>>24)&16711935|(o[y]<<24|o[y]>>>8)&4278255360,h[d+y]^=o[y]},blockSize:128/32,ivSize:64/32});function c(){for(var h=this._X,d=this._C,g=0;g<8;g++)u[g]=d[g];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<u[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<u[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<u[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<u[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<u[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<u[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<u[6]>>>0?1:0)|0,this._b=d[7]>>>0<u[7]>>>0?1:0;for(var g=0;g<8;g++){var y=h[g]+d[g],v=y&65535,p=y>>>16,m=((v*v>>>17)+v*p>>>15)+p*p,x=((y&4294901760)*y|0)+((y&65535)*y|0);f[g]=m^x}h[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,h[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,h[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,h[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,h[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,h[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,h[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,h[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[5]|0}n.Rabbit=a._createHelper(l)}(),r.Rabbit})}(N0)),N0.exports}var z0={exports:{}},rd;function P5(){return rd||(rd=1,function(e,t){(function(r,n,i){e.exports=n(pt(),bn(),wn(),Fr(),Wt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.StreamCipher,s=n.algo,o=[],u=[],f=[],l=s.RabbitLegacy=a.extend({_doReset:function(){var h=this._key.words,d=this.cfg.iv,g=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],y=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var v=0;v<4;v++)c.call(this);for(var v=0;v<8;v++)y[v]^=g[v+4&7];if(d){var p=d.words,m=p[0],x=p[1],_=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,b=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,w=_>>>16|b&4294901760,C=b<<16|_&65535;y[0]^=_,y[1]^=w,y[2]^=b,y[3]^=C,y[4]^=_,y[5]^=w,y[6]^=b,y[7]^=C;for(var v=0;v<4;v++)c.call(this)}},_doProcessBlock:function(h,d){var g=this._X;c.call(this),o[0]=g[0]^g[5]>>>16^g[3]<<16,o[1]=g[2]^g[7]>>>16^g[5]<<16,o[2]=g[4]^g[1]>>>16^g[7]<<16,o[3]=g[6]^g[3]>>>16^g[1]<<16;for(var y=0;y<4;y++)o[y]=(o[y]<<8|o[y]>>>24)&16711935|(o[y]<<24|o[y]>>>8)&4278255360,h[d+y]^=o[y]},blockSize:128/32,ivSize:64/32});function c(){for(var h=this._X,d=this._C,g=0;g<8;g++)u[g]=d[g];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<u[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<u[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<u[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<u[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<u[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<u[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<u[6]>>>0?1:0)|0,this._b=d[7]>>>0<u[7]>>>0?1:0;for(var g=0;g<8;g++){var y=h[g]+d[g],v=y&65535,p=y>>>16,m=((v*v>>>17)+v*p>>>15)+p*p,x=((y&4294901760)*y|0)+((y&65535)*y|0);f[g]=m^x}h[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,h[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,h[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,h[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,h[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,h[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,h[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,h[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[5]|0}n.RabbitLegacy=a._createHelper(l)}(),r.RabbitLegacy})}(z0)),z0.exports}var $0={exports:{}},nd;function M5(){return nd||(nd=1,function(e,t){(function(r,n,i){e.exports=n(pt(),bn(),wn(),Fr(),Wt())})(lt,function(r){return function(){var n=r,i=n.lib,a=i.BlockCipher,s=n.algo;const o=16,u=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],f
vendor: 11,033 bytes, line 62
62=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]]
vendor: 503 bytes, line 62
62;var l={pbox:[],sbox:[]};function c(v,p){let m=p>>24&255,x=p>>16&255,_=p>>8&255,b=p&255,w=v.sbox[0][m]+v.sbox[1][x];return w=w^v.sbox[2][_],w=w+v.sbox[3][b],w}function h(v,p,m){let x=p,_=m,b;for(let w=0;w<o;++w)x=x^v.pbox[w],_=c(v,x)^_,b=x,x=_,_=b;return b=x,x=_,_=b,_=_^v.pbox[o],x=x^v.pbox[o+1],{left:x,right:_}}function d(v,p,m){let x=p,_=m,b;for(let w=o+1;w>1;--w)x=x^v.pbox[w],_=c(v,x)^_,b=x,x=_,_=b;return b=x,x=_,_=b,_=_^v.pbox[1],x=x^v.pbox[0],{left:x,right:_}}function g(v,p,m){for(let C=0;C<4;
62C++){v.sbox[C]=[];for(let A=0;A<256;A++)v.sbox[C][A]=f[C][A]}let x=0;for(let C=0;C<o+2;C++)v.pbox[C]=u[C]^p[x],x++,x>=m&&(x=0);let _=0,b=0,w=0;for(let C=0;C<o+2;C+=2)w=h(v,_,b),_=w.left,b=w.right,v.pbox[C]=_,v.pbox[C+1]=b;for(let C=0;C<4;C++)for(let A=0;A<256;A+=2)w=h(v,_,b),_=w.left,b=w.right,v.sbox[C][A]=_,v.sbox[C][A+1]=b;return!0}var y=s.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,p=v.words,m=v.sigBytes/4;g(l,p,m)}},encryptBlock:function(v,p){var m=h(l,v[p],v[p+1]);v[p]=m.left,v[p+1]=m.right},decryptBlock:function(v,p){var m=d(l,v[p],v[p+1]);v[p]=m.left,v[p+1]=m.right},blockSize:64/32,keySize:128/32,ivSize:64/32});n.Blowfish=a._createHelper(y)}(),r.Blowfish})}($0)),$0.exports}(function(e,t){(function(r,n,i){e.exports=n(pt(),Ys(),h5(),d5(),bn(),v5(),wn(),z1(),Of(),p5(),$1(),g5(),x5(),_5(),Rf(),m5(),Fr(),Wt(),y5(),b5(),w5(),E5(),C5(),A5(),S5(),T5(),D5(),k5(),B5(),F5(),O5(),R5(),L5(),P5(),M5())})(lt,function(r){return r})})(N1);const cC=N1.exports;var H1={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(r){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function i(p,m){var x=p[0],_=p[1],b=p[2],w=p[3];x+=(_&b|~_&w)+m[0]-680876936|0,x=(x<<7|x>>>25)+_|0,w+=(x&_|~x&b)+m[1]-389564586|0,w=(w<<12|w>>>20)+x|0,b+=(w&x|~w&_)+m[2]+606105819|0,b=(b<<17|b>>>15)+w|0,_+=(b&w|~b&x)+m[3]-1044525330|0,_=(_<<22|_>>>10)+b|0,x+=(_&b|~_&w)+m[4]-176418897|0,x=(x<<7|x>>>25)+_|0,w+=(x&_|~x&b)+m[5]+1200080426|0,w=(w<<12|w>>>20)+x|0,b+=(w&x|~w&_)+m[6]-1473231341|0,b=(b<<17|b>>>15)+w|0,_+=(b&w|~b&x)+m[7]-45705983|0,_=(_<<22|_>>>10)+b|0,x+=(_&b|~_&w)+m[8]+1770035416|0,x=(x<<7|x>>>25)+_|0,w+=(x&_|~x&b)+m[9]-1958414417|0,w=(w<<12|w>>>20)+x|0,b+=(w&x|~w&_)+m[10]-42063|0,b=(b<<17|b>>>15)+w|0,_+=(b&w|~b&x)+m[11]-1990404162|0,_=(_<<22|_>>>10)+b|0,x+=(_&b|~_&w)+m[12]+1804603682|0,x=(x<<7|x>>>25)+_|0,w+=(x&_|~x&b)+m[13]-40341101|0,w=(w<<12|w>>>20)+x|0,b+=(w&x|~w&_)+m[14]-1502002290|0,b=(b<<17|b>>>15)+w|0,_+=(b&w|~b&x)+m[15]+1236535329|0,_=(_<<22|_>>>10)+b|0,x+=(_&w|b&~w)+m[1]-165796510|0,x=(x<<5|x>>>27)+_|0,w+=(x&b|_&~b)+m[6]-1069501632|0,w=(w<<9|w>>>23)+x|0,b+=(w&_|x&~_)+m[11]+643717713|0,b=(b<<14|b>>>18)+w|0,_+=(b&x|w&~x)+m[0]-373897302|0,_=(_<<20|_>>>12)+b|0,x+=(_&w|b&~w)+m[5]-701558691|0,x=(x<<5|x>>>27)+_|0,w+=(x&b|_&~b)+m[10]+38016083|0,w=(w<<9|w>>>23)+x|0,b+=(w&_|x&~_)+m[15]-660478335|0,b=(b<<14|b>>>18)+w|0,_+=(b&x|w&~x)+m[4]-405537848|0,_=(_<<20|_>>>12)+b|0,x+=(_&w|b&~w)+m[9]+568446438|0,x=(x<<5|x>>>27)+_|0,w+=(x&b|_&~b)+m[14]-1019803690|0,w=(w<<9|w>>>23)+x|0,b+=(w&_|x&~_)+m[3]-187363961|0,b=(b<<14|b>>>18)+w|0,_+=(b&x|w&~x)+m[8]+1163531501|0,_=(_<<20|_>>>12)+b|0,x+=(_&w|b&~w)+m[13]-1444681467|0,x=(x<<5|x>>>27)+_|0,w+=(x&b|_&~b)+m[2]-51403784|0,w=(w<<9|w>>>23)+x|0,b+=(w&_|x&~_)+m[7]+1735328473|0,b=(b<<14|b>>>18)+w|0,_+=(b&x|w&~x)+m[12]-1926607734|0,_=(_<<20|_>>>12)+b|0,x+=(_^b^w)+m[5]-378558|0,x=(x<<4|x>>>28)+_|0,w+=(x^_^b)+m[8]-2022574463|0,w=(w<<11|w>>>21)+x|0,b+=(w^x^_)+m[11]+1839030562|0,b=(b<<16|b>>>16)+w|0,_+=(b^w^x)+m[14]-35309556|0,_=(_<<23|_>>>9)+b|0,x+=(_^b^w)+m[1]-1530992060|0,x=(x<<4|x>>>28)+_|0,w+=(x^_^b)+m[4]+1272893353|0,w=(w<<11|w>>>21)+x|0,b+=(w^x^_)+m[7]-155497632|0,b=(b<<16|b>>>16)+w|0,_+=(b^w^x)+m[10]-1094730640|0,_=(_<<23|_>>>9)+b|0,x+=(_^b^w)+m[13]+681279174|0,x=(x<<4|x>>>28)+_|0,w+=(x^_^b)+m[0]-358537222|0,w=(w<<11|w>>>21)+x|0,b+=(w^x^_)+m[3]-722521979|0,b=(b<<16|b>>>16)+w|0,_+=(b^w^x)+m[6]+76029189|0,_=(_<<23|_>>>9)+b|0,x+=(_^b^w)+m[9]-640364487|0,x=(x<<4|x>>>28)+_|0,w+=(x^_^b)+m[12]-421815835|0,w=(w<<11|w>>>21)+x|0,b+=(w^x^_)+m[15]+530742520|0,b=(b<<16|b>>>16)+w|0,_+=(b^w^x)+m[2]-995338651|0,_=(_<<23|_>>>9)+b|0,x+=(b^(_|~w))+m[0]-198630844|0,x=(x<<6|x>>>26)+_|0,w+=(_^(x|~b))+m[7]+1126891415|0,w=(w<<10|w>>>22)+x|0,b+=(x^(w|~_))+m[14]-1416354905|0,b=(b<<15|b>>>17)+w|0,_+=(w^(b|~x))+m[5]-57434055|0,_=(_<<21|_>>>11)+b|0,x+=(b^(_|~w))+m[12]+1700485571|0,x=(x<<6|x>>>26)+_|0,w+=(_^(x|~b))+m[3]-1894986606|0,w=(w<<10|w>>>22)+x|0,b+=(x^(w|~_))+m[10]-1051523|0,b=(b<<15|b>>>17)+w|0,_+=(w^(b|~x))+m[1]-2054922799|0,_=(_<<21|_>>>11)+b|0,x+=(b^(_|~w))+m[8]+1873313359|0,x=(x<<6|x>>>26)+_|0,w+=(_^(x|~b))+m[15]-30611744|0,w=(w<<10|w>>>22)+x|0,b+=(x^(w|~_))+m[6]-1560198380|0,b=(b<<15|b>>>17)+w|0,_+=(w^(b|~x))+m[13]+1309151649|0,_=(_<<21|_>>>11)+b|0,x+=(b^(_|~w))+m[4]-145523070|0,x=(x<<6|x>>>26)+_|0,w+=(_^(x|~b))+m[11]-1120210379|0,w=(w<<10|w>>>22)+x|0,b+=(x^(w|~_))+m[2]+718787259|0,b=(b<<15|b>>>17)+w|0,_+=(w^(b|~x))+m[9]-343485551|0,_=(_<<21|_>>>11)+b|0,p[0]=x+p[0]|0,p[1]=_+p[1]|0,p[2]=b+p[2]|0,p[3]=w+p[3]|0}function a(p){var m=[],x;for(x=0;x<64;x+=4)m[x>>
622]=p.charCodeAt(x)+(p.charCodeAt(x+1)<<8)+(p.charCodeAt(x+2)<<16)+(p.charCodeAt(x+3)<<24);return m}function s(p){var m=[],x;for(x=0;x<64;x+=4)m[x>>2]=p[x]+(p[x+1]<<8)+(p[x+2]<<16)+(p[x+3]<<24);return m}function o(p){var m=p.length,x=[1732584193,-271733879,-1732584194,271733878],_,b,w,C,A,k;for(_=64;_<=m;_+=64)i(x,a(p.substring(_-64,_)));for(p=p.substring(_-64),b=p.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_=0;_<b;_+=1)w[_>>2]|=p.charCodeAt(_)<<(_%4<<3);if(w[_>>2]|=128<<(_%4<<3),_>55)for(i(x,w),_=0;_<16;_+=1)w[_]=0;return C=m*8,C=C.toString(16).match(/(.*?)(.{0,8})$/),A=parseInt(C[2],16),k=parseInt(C[1],16)||0,w[14]=A,w[15]=k,i(x,w),x}function u(p){var m=p.length,x=[1732584193,-271733879,-1732584194,271733878],_,b,w,C,A,k;for(_=64;_<=m;_+=64)i(x,s(p.subarray(_-64,_)));for(p=_-64<m?p.subarray(_-64):new Uint8Array(0),b=p.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_=0;_<b;_+=1)w[_>>2]|=p[_]<<(_%4<<3);if(w[_>>2]|=128<<(_%4<<3),_>55)for(i(x,w),_=0;_<16;_+=1)w[_]=0;return C=m*8,C=C.toString(16).match(/(.*?)(.{0,8})$/),A=parseInt(C[2],16),k=parseInt(C[1],16)||0,w[14]=A,w[15]=k,i(x,w),x}function f(p){var m="",x;for(x=0;x<4;x+=1)m+=n[p>>x*8+4&15]+n[p>>x*8&15];return m}function l(p){var m;for(m=0;m<p.length;m+=1)p[m]=f(p[m]);return p.join("")}l(o("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function p(m,x){return m=m|0||0,m<0?Math.max(m+x,0):Math.min(m,x)}ArrayBuffer.prototype.slice=function(m,x){var _=this.byteLength,b=p(m,_),w=_,C,A,k,D;return x!==r&&(w=p(x,_)),b>w?new ArrayBuffer(0):(C=w-b,A=new ArrayBuffer(C),k=new Uint8Array(A),D=new Uint8Array(this,b,C),k.set(D),A)}}();function c(p){return/[\u0080-\uFFFF]/.test(p)&&(p=unescape(encodeURIComponent(p))),p}function h(p,m){var x=p.length,_=new ArrayBuffer(x),b=new Uint8Array(_),w;for(w=0;w<x;w+=1)b[w]=p.charCodeAt(w);return m?b:_}function d(p){return String.fromCharCode.apply(null,new Uint8Array(p))}function g(p,m,x){var _=new Uint8Array(p.byteLength+m.byteLength);return _.set(new Uint8Array(p)),_.set(new Uint8Array(m),p.byteLength),x?_:_.buffer}function y(p){var m=[],x=p.length,_;for(_=0;_<x-1;_+=2)m.push(parseInt(p.substr(_,2),16));return String.fromCharCode.apply(String,m)}function v(){this.reset()}return v.prototype.append=function(p){return this.appendBinary(c(p)),this},v.prototype.appendBinary=function(p){this._buff+=p,this._length+=p.length;var m=this._buff.length,x;for(x=64;x<=m;x+=64)i(this._hash,a(this._buff.substring(x-64,x)));return this._buff=this._buff.substring(x-64),this},v.prototype.end=function(p){var m=this._buff,x=m.length,_,b=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w;for(_=0;_<x;_+=1)b[_>>2]|=m.charCodeAt(_)<<(_%4<<3);return this._finish(b,x),w=l(this._hash),p&&(w=y(w)),this.reset(),w},v.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},v.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},v.prototype.setState=function(p){return this._buff=p.buff,this._length=p.length,this._hash=p.hash,this},v.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},v.prototype._finish=function(p,m){var x=m,_,b,w;if(p[x>>2]|=128<<(x%4<<3),x>55)for(i(this._hash,p),x=0;x<16;x+=1)p[x]=0;_=this._length*8,_=_.toString(16).match(/(.*?)(.{0,8})$/),b=parseInt(_[2],16),w=parseInt(_[1],16)||0,p[14]=b,p[15]=w,i(this._hash,p)},v.hash=function(p,m){return v.hashBinary(c(p),m)},v.hashBinary=function(p,m){var x=o(p),_=l(x);return m?y(_):_},v.ArrayBuffer=function(){this.reset()},v.ArrayBuffer.prototype.append=function(p){var m=g(this._buff.buffer,p,!0),x=m.length,_;for(this._length+=p.byteLength,_=64;_<=x;_+=64)i(this._hash,s(m.subarray(_-64,_)));return this._buff=_-64<x?new Uint8Array(m.buffer.slice(_-64)):new Uint8Array(0),this},v.ArrayBuffer.prototype.end=function(p){var m=this._buff,x=m.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],b,w;for(b=0;b<x;b+=1)_[b>>2]|=m[b]<<(b%4<<3);return this._finish(_,x),w=l(this._hash),p&&(w=y(w)),this.reset(),w},v.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},v.ArrayBuffer.prototype.getState=function(){var p=v.prototype.getState.call(this);
62return p.buff=d(p.buff),p},v.ArrayBuffer.prototype.setState=function(p){return p.buff=h(p.buff,!0),v.prototype.setState.call(this,p)},v.ArrayBuffer.prototype.destroy=v.prototype.destroy,v.ArrayBuffer.prototype._finish=v.prototype._finish,v.ArrayBuffer.hash=function(p,m){var x=u(new Uint8Array(p)),_=l(x);return m?y(_):_},v})})(H1);const hC=H1.exports;function dC(e){return{all:e=e||new Map,on:function(t,r){var n=e.get(t);n?n.push(r):e.set(t,[r])},off:function(t,r){var n=e.get(t);n&&(r?n.splice(n.indexOf(r)>>>0,1):e.set(t,[]))},emit:function(t,r){var n=e.get(t);n&&n.slice().map(function(i){i(r)}),(n=e.get("*"))&&n.slice().map(function(i){i(t,r)})}}}const U1="%[a-f0-9]{2}",id=new RegExp("("+U1+")|([^%]+?)","gi"),ad=new RegExp("("+U1+")+","gi");function Fu(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;const r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],Fu(r),Fu(n))}function I5(e){try{return decodeURIComponent(e)}catch{let t=e.match(id)||[];for(let r=1;r<t.length;r++)e=Fu(t,r).join(""),t=e.match(id)||[];return e}}function N5(e){const t={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"};let r=ad.exec(e);for(;r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{const i=I5(r[0]);i!==r[0]&&(t[r[0]]=i)}r=ad.exec(e)}t["%C2"]="\uFFFD";const n=Object.keys(t);for(const i of n)e=e.replace(new RegExp(i,"g"),t[i]);return e}function z5(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return N5(e)}}function j1(e,t){if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e===""||t==="")return[];const r=e.indexOf(t);return r===-1?[]:[e.slice(0,r),e.slice(r+t.length)]}function $5(e,t){const r={};if(Array.isArray(t))for(const n of t){const i=Object.getOwnPropertyDescriptor(e,n);i!=null&&i.enumerable&&Object.defineProperty(r,n,i)}else for(const n of Reflect.ownKeys(e)){const i=Object.getOwnPropertyDescriptor(e,n);if(i.enumerable){const a=e[n];t(n,a,e)&&Object.defineProperty(r,n,i)}}return r}const H5=e=>e==null,U5=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Ou=Symbol("encodeFragmentIdentifier");function j5(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{const i=r.length;return n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[Mt(t,e),"[",i,"]"].join("")]:[...r,[Mt(t,e),"[",Mt(i,e),"]=",Mt(n,e)].join("")]};case"bracket":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[Mt(t,e),"[]"].join("")]:[...r,[Mt(t,e),"[]=",Mt(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[Mt(t,e),":list="].join("")]:[...r,[Mt(t,e),":list=",Mt(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t=e.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?n:(i=i===null?"":i,n.length===0?[[Mt(r,e),t,Mt(i,e)].join("")]:[[n,Mt(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,Mt(t,e)]:[...r,[Mt(t,e),"=",Mt(n,e)].join("")]}}function W5(e){let t;switch(e.arrayFormat){case"index":return(r,n,i)=>{if(t=/\[(\d*)]$/.exec(r),r=r.replace(/\[\d*]$/,""),!t){i[r]=n;return}i[r]===void 0&&(i[r]={}),i[r][t[1]]=n};case"bracket":return(r,n,i)=>{if(t=/(\[])$/.exec(r),r=r.replace(/\[]$/,""),!t){i[r]=n;return}if(i[r]===void 0){i[r]=[n];return}i[r]=[...i[r],n]};case"colon-list-separator":return(r,n,i)=>{if(t=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!t){i[r]=n;return}if(i[r]===void 0){i[r]=[n];return}i[r]=[...i[r],n]};case"comma":case"separator":return(r,n,i)=>{const a=typeof n=="string"&&n.includes(e.arrayFormatSeparator),s=typeof n=="string"&&!a&&ar(n,e).includes(e.arrayFormatSeparator);n=s?ar(n,e):n;const o=a||s?n.split(e.arrayFormatSeparator).map(u=>ar(u,e)):n===null?n:ar(n,e);i[r]=o};case"bracket-separator":return(r,n,i)=>{const a=/(\[])$/.test(r);if(r=r.replace(/\[]$/,""),!a){i[r]=n&&ar(n,e);return}const s=n===null?[]:n.split(e.arrayFormatSeparator).map(o=>ar(o,e));if(i[r]===void 0){i[r]=s;return}i[r]=[...i[r],...s]};default:return(r,n,i)=>{if(i[r]===void 0){i[r]=n;return}i[r]=[...[i[r]].flat(),n]}}}function W1(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function Mt(e,t){return t.encode?t.strict?U5(e):encodeURIComponent(e):e}function ar(e,t){return t.decode?z5(e):e}function q1(e){return Array.isArray(e)?e.sort():typeof e=="object"?q1(Object.keys(e)).sort((t,r)=>Number(t)-Number(r)).map(t=>e[t]):e}function Y1(e){const t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function q5(e){let t="";const r=e.indexOf("#");return r!==-1&&(t=e.slice(r)),t}function sd(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function Lf(e){e=Y1(e);const t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function Pf(e,t){t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t},W1(t.arrayFormatSeparator);const r=W5(t),n=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return n;for(const i of e.split("&")){if(i==="")continue;const a=t.decode?i.replace(/\+/g," "):i;let[s,o]=j1(a,"=");s===void 0&&(s=a),o=o===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?o:ar(o,t),r(ar(s,t),o,n)}for(const[i,a]of Object.entries(n))if(typeof a=="object"&&a!==null)for(const[s,o]of Object.entries(a))a[s]=sd(o,t);else n[i]=sd(a,t);return t.sort===!1?n:(t.sort===!0?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((i,a)=>{const s=n[a];return i[a]=Boolean(s)&&typeof s=="object"&&!Array.isArray(s)?q1(s):s,i},Object.create(null))}function G1(e,t){if(!e)return"";t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t},W1(t.arrayFormatSeparator);const r=s=>t.skipNull&&H5(e[s])||t.skipEmptyString&&e[s]==="",n=j5(t),i={};for(const[s,o]of Object.entries(e))r(s)||(i[s]=o);const a=Object.keys(i);return t.sort!==!1&&a.sort(t.sort),a.map(s=>{const o=e[s];return o===void 0?"":o===null?Mt(s,t):Array.isArray(o)?o.length===0&&t.arrayFormat==="bracket-separator"?Mt(s,t)+"[]":o.reduce(n(s),[]).join("&"):Mt(s,t)+"="+Mt(o,t)}
62).filter(s=>s.length>0).join("&")}function X1(e,t){var i,a;t={decode:!0,...t};let[r,n]=j1(e,"#");return r===void 0&&(r=e),{url:(a=(i=r==null?void 0:r.split("?"))==null?void 0:i[0])!=null?a:"",query:Pf(Lf(e),t),...t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:ar(n,t)}:{}}}function V1(e,t){t={encode:!0,strict:!0,[Ou]:!0,...t};const r=Y1(e.url).split("?")[0]||"",n=Lf(e.url),i={...Pf(n,{sort:!1}),...e.query};let a=G1(i,t);a&&(a=`?${a}`);let s=q5(e.url);if(e.fragmentIdentifier){const o=new URL(r);o.hash=e.fragmentIdentifier,s=t[Ou]?o.hash:`#${e.fragmentIdentifier}`}return`${r}${a}${s}`}function Z1(e,t,r){r={parseFragmentIdentifier:!0,[Ou]:!1,...r};const{url:n,query:i,fragmentIdentifier:a}=X1(e,r);return V1({url:n,query:$5(i,t),fragmentIdentifier:a},r)}function Y5(e,t,r){const n=Array.isArray(t)?i=>!t.includes(i):(i,a)=>!t(i,a);return Z1(e,n,r)}const vC=Object.freeze(Object.defineProperty({__proto__:null,extract:Lf,parse:Pf,stringify:G1,parseUrl:X1,stringifyUrl:V1,pick:Z1,exclude:Y5},Symbol.toStringTag,{value:"Module"}));var K1={exports:{}};/*! 63 * clipboard.js v2.0.11 64 * https://clipboardjs.com/ 65 * 66 * Licensed MIT © Zeno Rocha 67 */(function(e,t){(function(n,i){e.exports=i()})(lt,function(){return function(){var r={686:function(a,s,o){o.d(s,{default:function(){return I}});var u=o(279),f=o.n(u),l=o(370),c=o.n(l),h=o(817),d=o.n(h);function g(P){try{return document.execCommand(P)}catch{return!1}}var y=function(j){var $=d()(j);return g("cut"),$},v=y;function p(P){var j=document.documentElement.getAttribute("dir")==="rtl",$=document.createElement("textarea");$.style.fontSize="12pt",$.style.border="0",$.style.padding="0",$.style.margin="0",$.style.position="absolute",$.style[j?"right":"left"]="-9999px";var X=window.pageYOffset||document.documentElement.scrollTop;return $.style.top="".concat(X,"px"),$.setAttribute("readonly",""),$.value=P,$}var m=function(j,$){var X=p(j);$.container.appendChild(X);var tt=d()(X);return g("copy"),X.remove(),tt},x=function(j){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},X="";return typeof j=="string"?X=m(j,$):j instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(j==null?void 0:j.type)?X=m(j.value,$):(X=d()(j),g("copy")),X},_=x;function b(P){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function($){return typeof $}:b=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},b(P)}var w=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=j.action,X=$===void 0?"copy":$,tt=j.container,nt=j.target,et=j.text;if(X!=="copy"&&X!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(nt!==void 0)if(nt&&b(nt)==="object"&&nt.nodeType===1){if(X==="copy"&&nt.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(X==="cut"&&(nt.hasAttribute("readonly")||nt.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(et)return _(et,{container:tt});if(nt)return X==="cut"?v(nt):_(nt,{container:tt})},C=w;function A(P){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function($){return typeof $}:A=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},A(P)}function k(P,j){if(!(P instanceof j))throw new TypeError("Cannot call a class as a function")}function D(P,j){for(var $=0;$<j.length;$++){var X=j[$];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(P,X.key,X)}}function F(P,j,$){return j&&D(P.prototype,j),$&&D(P,$),P}function T(P,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(j&&j.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),j&&R(P,j)}
vendor: 5,515 bytes, line 67
67function R(P,j){return R=Object.setPrototypeOf||function(X,tt){return X.__proto__=tt,X},R(P,j)}function E(P){var j=q();return function(){var X=G(P),tt;if(j){var nt=G(this).constructor;tt=Reflect.construct(X,arguments,nt)}else tt=X.apply(this,arguments);return z(this,tt)}}function z(P,j){return j&&(A(j)==="object"||typeof j=="function")?j:W(P)}function W(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function q(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function G(P){return G=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},G(P)}function Y(P,j){var $="data-clipboard-".concat(P);if(!!j.hasAttribute($))return j.getAttribute($)}var Z=function(P){T($,P);var j=E($);function $(X,tt){var nt;return k(this,$),nt=j.call(this),nt.resolveOptions(tt),nt.listenClick(X),nt}return F($,[{key:"resolveOptions",value:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof tt.action=="function"?tt.action:this.defaultAction,this.target=typeof tt.target=="function"?tt.target:this.defaultTarget,this.text=typeof tt.text=="function"?tt.text:this.defaultText,this.container=A(tt.container)==="object"?tt.container:document.body}},{key:"listenClick",value:function(tt){var nt=this;this.listener=c()(tt,"click",function(et){return nt.onClick(et)})}},{key:"onClick",value:function(tt){var nt=tt.delegateTarget||tt.currentTarget,et=this.action(nt)||"copy",at=C({action:et,container:this.container,target:this.target(nt),text:this.text(nt)});this.emit(at?"success":"error",{action:et,text:at,trigger:nt,clearSelection:function(){nt&&nt.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(tt){return Y("action",tt)}},{key:"defaultTarget",value:function(tt){var nt=Y("target",tt);if(nt)return document.querySelector(nt)}},{key:"defaultText",value:function(tt){return Y("text",tt)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(tt){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return _(tt,nt)}},{key:"cut",value:function(tt){return v(tt)}},{key:"isSupported",value:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],nt=typeof tt=="string"?[tt]:tt,et=!!document.queryCommandSupported;return nt.forEach(function(at){et=et&&!!document.queryCommandSupported(at)}),et}}]),$}(f()),I=Z},828:function(a){var s=9;if(typeof Element<"u"&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}function u(f,l){for(;f&&f.nodeType!==s;){if(typeof f.matches=="function"&&f.matches(l))return f;f=f.parentNode}}a.exports=u},438:function(a,s,o){var u=o(828);function f(h,d,g,y,v){var p=c.apply(this,arguments);return h.addEventListener(g,p,v),{destroy:function(){h.removeEventListener(g,p,v)}}}function l(h,d,g,y,v){return typeof h.addEventListener=="function"?f.apply(null,arguments):typeof g=="function"?f.bind(null,document).apply(null,arguments):(typeof h=="string"&&(h=document.querySelectorAll(h)),Array.prototype.map.call(h,function(p){return f(p,d,g,y,v)}))}function c(h,d,g,y){return function(v){v.delegateTarget=u(v.target,d),v.delegateTarget&&y.call(h,v)}}a.exports=l},879:function(a,s){s.node=function(o){return o!==void 0&&o instanceof HTMLElement&&o.nodeType===1},s.nodeList=function(o){var u=Object.prototype.toString.call(o);return o!==void 0&&(u==="[object NodeList]"||u==="[object HTMLCollection]")&&"length"in o&&(o.length===0||s.node(o[0]))},s.string=function(o){return typeof o=="string"||o instanceof String},s.fn=function(o){var u=Object.prototype.toString.call(o);return u==="[object Function]"}},370:function(a,s,o){var u=o(879),f=o(438);function l(g,y,v){if(!g&&!y&&!v)throw new Error("Missing required arguments");if(!u.string(y))throw new TypeError("Second argument must be a String");if(!u.fn(v))throw new TypeError("Third argument must be a Function");if(u.node(g))return c(g,y,v);if(u.nodeList(g))return h(g,y,v);if(u.string(g))return d(g,y,v);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(g,y,v){return g.addEventListener(y,v),{destroy:function(){g.removeEventListener(y,v)}}}function h(g,y,v){return Array.prototype.forEach.call(g,function(p){p.addEventListener(y,v)}),{destroy:function(){Array.prototype.forEach.call(g,function(p){p.removeEventListener(y,v)})}}}function d(g,y,v){return f(document.body,g,y,v)}a.exports=l},817:function(a){function s(o){var u;if(o.nodeName==="SELECT")o.focus(),u=o.value;else if(o.nodeName==="INPUT"||o.nodeName==="TEXTAREA"){var f=o.hasAttribute("readonly");f||o.setAttribute("readonly",""),o.select(),o.setSelectionRange(0,o.value.length),f||o.removeAttribute("readonly"),u=o.value}else{o.hasAttribute("contenteditable")&&o.focus();var l=window.getSelection(),c=document.createRange();c.selectNodeContents(o),l.removeAllRanges(),l.addRange(c),u=l.toString()}return u}a.exports=s},279:function(a){function s(){}s.prototype={on:function(o,u,f){var l=this.e||(this.e={});return(l[o]||(l[o]=[])).push({fn:u,ctx:f}),this},once:function(o,u,f){var l=this;function c(){l.off(o,c),u.apply(f,arguments)}return c._=u,this.on(o,c,f)}
67,emit:function(o){var u=[].slice.call(arguments,1),f=((this.e||(this.e={}))[o]||[]).slice(),l=0,c=f.length;for(l;l<c;l++)f[l].fn.apply(f[l].ctx,u);return this},off:function(o,u){var f=this.e||(this.e={}),l=f[o],c=[];if(l&&u)for(var h=0,d=l.length;h<d;h++)l[h].fn!==u&&l[h].fn._!==u&&c.push(l[h]);return c.length?f[o]=c:delete f[o],this}},a.exports=s,a.exports.TinyEmitter=s}},n={};function i(a){if(n[a])return n[a].exports;var s=n[a]={exports:{}};return r[a](s,s.exports,i),s.exports}return function(){i.n=function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(s,{a:s}),s}}(),function(){i.d=function(a,s){for(var o in s)i.o(s,o)&&!i.o(a,o)&&Object.defineProperty(a,o,{enumerable:!0,get:s[o]})}}(),function(){i.o=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)}}(),i(686)}().default})})(K1);const pC=Sd(K1.exports);function Mf(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let En=Mf();function Q1(e){En=e}const J1=/[&<>"']/,G5=new RegExp(J1.source,"g"),tg=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,X5=new RegExp(tg.source,"g"),V5={"&":"&","<":"<",">":">",'"':""","'":"'"},od=e=>V5[e];function de(e,t){if(t){if(J1.test(e))return e.replace(G5,od)}else if(tg.test(e))return e.replace(X5,od);return e}const Z5=/(^|[^\[])\^/g;function wt(e,t){let r=typeof e=="string"?e:e.source;t=t||"";const n={replace:(i,a)=>{let s=typeof a=="string"?a:a.source;return s=s.replace(Z5,"$1"),r=r.replace(i,s),n},getRegex:()=>new RegExp(r,t)};return n}function ud(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const Oi={exec:()=>null};function fd(e,t){const r=e.replace(/\|/g,(a,s,o)=>{let u=!1,f=s;for(;--f>=0&&o[f]==="\\";)u=!u;return u?"|":" |"}),n=r.split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n}function xi(e,t,r){const n=e.length;if(n===0)return"";let i=0;for(;i<n;){const a=e.charAt(n-i-1);if(a===t&&!r)i++;else if(a!==t&&r)i++;else break}return e.slice(0,n-i)}function K5(e,t){if(e.indexOf(t[1])===-1)return-1;let r=0;for(let n=0;n<e.length;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return-1}function ld(e,t,r,n){const i=t.href,a=t.title?de(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const o={type:"link",raw:r,href:i,title:a,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,o}return{type:"image",raw:r,href:i,title:a,text:de(s)}}function Q5(e,t){const r=e.match(/^(\s+)(?:```)/);if(r===null)return t;const n=r[1];return t.split(` 68`).map(i=>{const a=i.match(/^\s+/);if(a===null)return i;const[s]=a;return s.length>=n.length?i.slice(n.length):i}).join(` 69`)}class ls{constructor(t){Ct(this,"options");Ct(this,"rules");Ct(this,"lexer");this.options=t||En}space(t){const r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){const r=this.rules.block.code.exec(t);if(r){const n=r[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:xi(n,` 70`)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=Q5(n,r[3]||"");return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:i}}}heading(t){const r=this.rules.block.heading.exec(t);if(r){let n=r[2].trim();if(/#$/.test(n)){const i=xi(n,"#");(this.options.pedantic||!i||/ $/.test(i))&&(n=i.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){const r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:xi(r[0],` 71`)}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){let n=xi(r[0],` 72`).split(` 73`),i="",a="";const s=[];for(;n.length>0;){let o=!1;const u=[];let f;for(f=0;f<n.length;f++)if(/^ {0,3}>/.test(n[f]))u.push(n[f]),o=!0;else if(!o)u.push(n[f]);else break;n=n.slice(f);const l=u.join(` 74`),c=l.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` 75 $1`).replace(/^ {0,3}>[ \t]?/gm,"");i=i?`${i} 76${l}`:l,a=a?`${a}
77${c}`:c;const h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,s,!0),this.lexer.state.top=h,n.length===0)break;const d=s[s.length-1];if((d==null?void 0:d.type)==="code")break;if((d==null?void 0:d.type)==="blockquote"){const g=d,y=g.raw+` 78`+n.join(` 79`),v=this.blockquote(y);s[s.length-1]=v,i=i.substring(0,i.length-g.raw.length)+v.raw,a=a.substring(0,a.length-g.text.length)+v.text;break}else if((d==null?void 0:d.type)==="list"){const g=d,y=g.raw+` 80`+n.join(` 81`),v=this.list(y);s[s.length-1]=v,i=i.substring(0,i.length-d.raw.length)+v.raw,a=a.substring(0,a.length-g.raw.length)+v.raw,n=y.substring(s[s.length-1].raw.length).split(` 82`);continue}}return{type:"blockquote",raw:i,tokens:s,text:a}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n=r[1].trim();const i=n.length>1,a={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const s=new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`);let o=!1;for(;t;){let u=!1,f="",l="";if(!(r=s.exec(t))||this.rules.block.hr.test(t))break;f=r[0],t=t.substring(f.length);let c=r[2].split(` 83`,1)[0].replace(/^\t+/,p=>" ".repeat(3*p.length)),h=t.split(` 84`,1)[0],d=!c.trim(),g=0;if(this.options.pedantic?(g=2,l=c.trimStart()):d?g=r[1].length+1:(g=r[2].search(/[^ ]/),g=g>4?1:g,l=c.slice(g),g+=r[1].length),d&&/^[ \t]*$/.test(h)&&(f+=h+` 85`,t=t.substring(h.length+1),u=!0),!u){const p=new RegExp(`^ {0,${Math.min(3,g-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),m=new RegExp(`^ {0,${Math.min(3,g-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),x=new RegExp(`^ {0,${Math.min(3,g-1)}}(?:\`\`\`|~~~)`),_=new RegExp(`^ {0,${Math.min(3,g-1)}}#`),b=new RegExp(`^ {0,${Math.min(3,g-1)}}<(?:[a-z].*>|!--)`,"i");for(;t;){const w=t.split(` 86`,1)[0];let C;if(h=w,this.options.pedantic?(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),C=h):C=h.replace(/\t/g," "),x.test(h)||_.test(h)||b.test(h)||p.test(h)||m.test(h))break;if(C.search(/[^ ]/)>=g||!h.trim())l+=` 87`+C.slice(g);else{if(d||c.replace(/\t/g," ").search(/[^ ]/)>=4||x.test(c)||_.test(c)||m.test(c))break;l+=` 88`+h}!d&&!h.trim()&&(d=!0),f+=w+` 89`,t=t.substring(w.length+1),c=C.slice(g)}}a.loose||(o?a.loose=!0:/\n[ \t]*\n[ \t]*$/.test(f)&&(o=!0));let y=null,v;this.options.gfm&&(y=/^\[[ xX]\] /.exec(l),y&&(v=y[0]!=="[ ] ",l=l.replace(/^\[[ xX]\] +/,""))),a.items.push({type:"list_item",raw:f,task:!!y,checked:v,loose:!1,text:l,tokens:[]}),a.raw+=f}a.items[a.items.length-1].raw=a.items[a.items.length-1].raw.trimEnd(),a.items[a.items.length-1].text=a.items[a.items.length-1].text.trimEnd(),a.raw=a.raw.trimEnd();for(let u=0;u<a.items.length;u++)if(this.lexer.state.top=!1,a.items[u].tokens=this.lexer.blockTokens(a.items[u].text,[]),!a.loose){const f=a.items[u].tokens.filter(c=>c.type==="space"),l=f.length>0&&f.some(c=>/\n.*\n/.test(c.raw));a.loose=l}if(a.loose)for(let u=0;u<a.items.length;u++)a.items[u].loose=!0;return a}}html(t){const r=this.rules.block.html.exec(t);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(t){const r=this.rules.block.def.exec(t);if(r){const n=r[1].toLowerCase().replace(/\s+/g," "),i=r[2]?r[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:i,title:a}}}table(t){const r=this.rules.block.table.exec(t);if(!r||!/[:|]/.test(r[2]))return;const n=fd(r[1]),i=r[2].replace(/^\||\| *$/g,"").split("|"),a=r[3]&&r[3].trim()?r[3].replace(/\n[ \t]*$/,"").split(` 90`):[],s={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const o of i)/^ *-+: *$/.test(o)?s.align.push("right"):/^ *:-+: *$/.test(o)?s.align.push("center"):/^ *:-+ *$/.test(o)?s.align.push("left"):s.align.push(null);for(let o=0;o<n.length;o++)s.header.push({text:n[o],tokens:this.lexer.inline(n[o]),header:!0,align:s.align[o]});for(const o of a)s.rows.push(fd(o,s.header.length).map((u,f)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:s.align[f]})));return s}}lheading(t){const r=this.rules.block.lheading.exec(t);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(t){const r=this.rules.block.paragraph.exec(t);if(r){const n=r[1].charAt(r[1].length-1)===` 91`?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(t){const r=this.rules.block.text.exec(t);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(t){const r=this.rules.inline.escape.exec(t);if(r)return{type:"escape",raw:r[0],text:de(r[1])}}tag(t){const r=this.rules.inline.tag.exec(t);if(r)return!this.lexer.state.inLink&&/^<a /i.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(t){const r=this.rules.inline.link.exec(t);if(r){const n=r[2].trim();
vendor: 4,661 bytes, line 91
91if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;const s=xi(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{const s=K5(r[2],"()");if(s>-1){const u=(r[0].indexOf("!")===0?5:4)+r[1].length+s;r[2]=r[2].substring(0,s),r[0]=r[0].substring(0,u).trim(),r[3]=""}}let i=r[2],a="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],a=s[3])}else a=r[3]?r[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(this.options.pedantic&&!/>$/.test(n)?i=i.slice(1):i=i.slice(1,-1)),ld(r,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer)}}reflink(t,r){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const i=(n[2]||n[1]).replace(/\s+/g," "),a=r[i.toLowerCase()];if(!a){const s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return ld(n,a,n[0],this.lexer)}}emStrong(t,r,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const s=[...i[0]].length-1;let o,u,f=s,l=0;const c=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,r=r.slice(-1*t.length+s);(i=c.exec(r))!=null;){if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!o)continue;if(u=[...o].length,i[3]||i[4]){f+=u;continue}else if((i[5]||i[6])&&s%3&&!((s+u)%3)){l+=u;continue}if(f-=u,f>0)continue;u=Math.min(u,u+f+l);const h=[...i[0]][0].length,d=t.slice(0,s+i.index+h+u);if(Math.min(s,u)%2){const y=d.slice(1,-1);return{type:"em",raw:d,text:y,tokens:this.lexer.inlineTokens(y)}}const g=d.slice(2,-2);return{type:"strong",raw:d,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(/\n/g," ");const i=/[^ ]/.test(n),a=/^ /.test(n)&&/ $/.test(n);return i&&a&&(n=n.substring(1,n.length-1)),n=de(n,!0),{type:"codespan",raw:r[0],text:n}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t){const r=this.rules.inline.autolink.exec(t);if(r){let n,i;return r[2]==="@"?(n=de(r[1]),i="mailto:"+n):(n=de(r[1]),i=n),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n,i;let r;if(r=this.rules.inline.url.exec(t)){let a,s;if(r[2]==="@")a=de(r[0]),s="mailto:"+a;else{let o;do o=r[0],r[0]=(i=(n=this.rules.inline._backpedal.exec(r[0]))==null?void 0:n[0])!=null?i:"";while(o!==r[0]);a=de(r[0]),r[1]==="www."?s="http://"+r[0]:s=r[0]}return{type:"link",raw:r[0],text:a,href:s,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(t){const r=this.rules.inline.text.exec(t);if(r){let n;return this.lexer.state.inRawBlock?n=r[0]:n=de(r[0]),{type:"text",raw:r[0],text:n}}}}const J5=/^(?:[ \t]*(?:\n|$))+/,t8=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,e8=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ta=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,r8=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,eg=/(?:[*+-]|\d{1,9}[.)])/,rg=wt(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,eg).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),If=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,n8=/^[^\n]+/,Nf=/(?!\s*\])(?:\\.|[^\[\]\\])+/,i8=wt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Nf).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),a8=wt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,eg).getRegex(),Gs="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",zf=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,s8=wt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
91)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",zf).replace("tag",Gs).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ng=wt(If).replace("hr",ta).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Gs).getRegex(),o8=wt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ng).getRegex(),$f={blockquote:o8,code:t8,def:i8,fences:e8,heading:r8,hr:ta,html:s8,lheading:rg,list:a8,newline:J5,paragraph:ng,table:Oi,text:n8},cd=wt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ta).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Gs).getRegex(),u8={...$f,table:cd,paragraph:wt(If).replace("hr",ta).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",cd).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Gs).getRegex()},f8={...$f,html:wt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",zf).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Oi,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:wt(If).replace("hr",ta).replace("heading",` *#{1,6} *[^ 92]`).replace("lheading",rg).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ig=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,l8=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ag=/^( {2,}|\\)\n(?!\s*$)/,c8=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,ea="\\p{P}\\p{S}",h8=wt(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,ea).getRegex(),d8=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,v8=wt(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,ea).getRegex(),p8=wt("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,ea).getRegex(),g8=wt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,ea).getRegex(),x8=wt(/\\([punct])/,"gu").replace(/punct/g,ea).getRegex(),_8=wt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),m8=wt(zf).replace("(?:-->|$)","-->").getRegex(),y8=wt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",m8).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),cs=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,b8=wt(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",cs).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),sg=wt(/^!?\[(label)\]\[(ref)\]/).replace("label",cs).replace("ref",Nf).getRegex(),og=wt(/^!?\[(ref)\](?:\[\])?/).replace("ref",Nf).getRegex(),w8=wt("reflink|nolink(?!\\()","g").replace("reflink",sg).replace("nolink",og).getRegex(),Hf={_backpedal:Oi,anyPunctuation:x8,autolink:_8,blockSkip:d8,br:ag,code:l8,del:Oi,emStrongLDelim:v8,emStrongRDelimAst:p8,emStrongRDelimUnd:g8,escape:ig,link:b8,nolink:og,punctuation:h8,reflink:sg,reflinkSearch:w8,tag:y8,text:c8,url:Oi},E8={...Hf,link:wt(/^!?\[(label)\]\((.*?)\)/).replace("label",cs).getRegex(),reflink:wt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",cs).getRegex()},Ru={...Hf,escape:wt(ig).replace("])","~|])").getRegex(),url:wt(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},C8={...Ru,br:wt(ag).replace("{2,}","*").getRegex(),text:wt(Ru.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Da={normal:$f,gfm:u8,pedantic:f8},_i={normal:Hf,gfm:Ru,breaks:C8,pedantic:E8};
vendor: 6,005 bytes, lines 92-102
92class Ce{constructor(t){Ct(this,"tokens");Ct(this,"options");Ct(this,"state");Ct(this,"tokenizer");Ct(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||En,this.options.tokenizer=this.options.tokenizer||new ls,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={block:Da.normal,inline:_i.normal};this.options.pedantic?(r.block=Da.pedantic,r.inline=_i.pedantic):this.options.gfm&&(r.block=Da.gfm,this.options.breaks?r.inline=_i.breaks:r.inline=_i.gfm),this.tokenizer.rules=r}static get rules(){return{block:Da,inline:_i}}static lex(t,r){return new Ce(r).lex(t)}static lexInline(t,r){return new Ce(r).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,` 93`),this.blockTokens(t,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){const n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){this.options.pedantic&&(t=t.replace(/\t/g," ").replace(/^ +$/gm,""));let i,a,s;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(o=>(i=o.call({lexer:this},t,r))?(t=t.substring(i.raw.length),r.push(i),!0):!1))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),i.raw.length===1&&r.length>0?r[r.length-1].raw+=` 94`:r.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),a=r[r.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=` 95`+i.raw,a.text+=` 96`+i.text,this.inlineQueue[this.inlineQueue.length-1].src=a.text):r.push(i);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),a=r[r.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=` 97`+i.raw,a.text+=` 98`+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=a.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),r.push(i);continue}if(s=t,this.options.extensions&&this.options.extensions.startBlock){let o=1/0;const u=t.slice(1);let f;this.options.extensions.startBlock.forEach(l=>{f=l.call({lexer:this},u),typeof f=="number"&&f>=0&&(o=Math.min(o,f))}),o<1/0&&o>=0&&(s=t.substring(0,o+1))}if(this.state.top&&(i=this.tokenizer.paragraph(s))){a=r[r.length-1],n&&(a==null?void 0:a.type)==="paragraph"?(a.raw+=` 99`+i.raw,a.text+=` 100`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):r.push(i),n=s.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),a=r[r.length-1],a&&a.type==="text"?(a.raw+=` 101`+i.raw,a.text+=` 102`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):r.push(i);continue}if(t){const o="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){let n,i,a,s=t,o,u,f;if(this.tokens.links){const l=Object.keys(this.tokens.links);if(l.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)l.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,o.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(u||(f=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(l=>(n=l.call({lexer:this},t,r))?(t=t.substring(n.raw.length),r.push(n),!0):!1))){if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),i=r[r.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length),i=r[r.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(n=this.tokenizer.emStrong(t,s,f)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.del(t)){t=t.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.autolink(t)){t=t.substring(n.raw.length),r.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t))){t=t.substring(n.raw.length),r.push(n);continue}if(a=t,this.options.extensions&&this.options.extensions.startInline){let l=1/0;const c=t.slice(1);let h;this.options.extensions.startInline.forEach(d=>{h=d.call({lexer:this},c),typeof h=="number"&&h>=0&&(l=Math.min(l,h))}),l<1/0&&l>=0&&(a=t.substring(0,l+1))}if(n=this.tokenizer.inlineText(a)){t=t.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(f=n.raw.slice(-1)),u=!0,i=r[r.length-1],i&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):r.push(n);continue}if(t){const l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return r}}
vendor: 5,255 bytes, lines 102-121
102class hs{constructor(t){Ct(this,"options");Ct(this,"parser");this.options=t||En}space(t){return""}code({text:t,lang:r,escaped:n}){var s;const i=(s=(r||"").match(/^\S*/))==null?void 0:s[0],a=t.replace(/\n$/,"")+` 103`;return i?'<pre><code class="language-'+de(i)+'">'+(n?a:de(a,!0))+`</code></pre> 104`:"<pre><code>"+(n?a:de(a,!0))+`</code></pre> 105`}blockquote({tokens:t}){return`<blockquote> 106${this.parser.parse(t)}</blockquote> 107`}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}> 108`}hr(t){return`<hr> 109`}list(t){const r=t.ordered,n=t.start;let i="";for(let o=0;o<t.items.length;o++){const u=t.items[o];i+=this.listitem(u)}const a=r?"ol":"ul",s=r&&n!==1?' start="'+n+'"':"";return"<"+a+s+`> 110`+i+"</"+a+`> 111`}listitem(t){let r="";if(t.task){const n=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&t.tokens[0].type==="paragraph"?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=n+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):r+=n+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`<li>${r}</li> 112`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p> 113`}table(t){let r="",n="";for(let a=0;a<t.header.length;a++)n+=this.tablecell(t.header[a]);r+=this.tablerow({text:n});let i="";for(let a=0;a<t.rows.length;a++){const s=t.rows[a];n="";for(let o=0;o<s.length;o++)n+=this.tablecell(s[o]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table> 114<thead> 115`+r+`</thead> 116`+i+`</table> 117`}tablerow({text:t}){return`<tr> 118${t}</tr> 119`}tablecell(t){const r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}> 120`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${t}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:r,tokens:n}){const i=this.parser.parseInline(n),a=ud(t);if(a===null)return i;t=a;let s='<a href="'+t+'"';return r&&(s+=' title="'+r+'"'),s+=">"+i+"</a>",s}image({href:t,title:r,text:n}){const i=ud(t);if(i===null)return n;t=i;let a=`<img src="${t}" alt="${n}"`;return r&&(a+=` title="${r}"`),a+=">",a}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):t.text}}class Uf{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class Ae{constructor(t){Ct(this,"options");Ct(this,"renderer");Ct(this,"textRenderer");this.options=t||En,this.options.renderer=this.options.renderer||new hs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Uf}static parse(t,r){return new Ae(r).parse(t)}static parseInline(t,r){return new Ae(r).parseInline(t)}parse(t,r=!0){let n="";for(let i=0;i<t.length;i++){const a=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){const o=a,u=this.options.extensions.renderers[o.type].call({parser:this},o);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(o.type)){n+=u||"";continue}}const s=a;switch(s.type){case"space":{n+=this.renderer.space(s);continue}case"hr":{n+=this.renderer.hr(s);continue}case"heading":{n+=this.renderer.heading(s);continue}case"code":{n+=this.renderer.code(s);continue}case"table":{n+=this.renderer.table(s);continue}case"blockquote":{n+=this.renderer.blockquote(s);continue}case"list":{n+=this.renderer.list(s);continue}case"html":{n+=this.renderer.html(s);continue}case"paragraph":{n+=this.renderer.paragraph(s);continue}case"text":{let o=s,u=this.renderer.text(o);for(;i+1<t.length&&t[i+1].type==="text";)o=t[++i],u+=` 121`+this.renderer.text(o);r?n+=this.renderer.paragraph({type:"paragraph",raw:u,text:u,tokens:[{type:"text",raw:u,text:u}]}):n+=u;continue}default:{const o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return n}parseInline(t,r){r=r||this.renderer;let n="";for(let i=0;i<t.length;i++){const a=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){const o=this.options.extensions.renderers[a.type].call({parser:this},a);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){n+=o||"";continue}}const s=a;switch(s.type){case"escape":{n+=r.text(s);break}case"html":{n+=r.html(s);break}case"link":{n+=r.link(s);break}case"image":{n+=r.image(s);break}case"strong":{n+=r.strong(s);break}case"em":{n+=r.em(s);break}case"codespan":{n+=r.codespan(s);break}case"br":{n+=r.br(s);break}case"del":{n+=r.del(s);break}case"text":{n+=r.text(s);break}default:{const o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return n}}
vendor: 1,709 bytes, line 121
121class Ri{constructor(t){Ct(this,"options");Ct(this,"block");this.options=t||En}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Ce.lex:Ce.lexInline}provideParser(){return this.block?Ae.parse:Ae.parseInline}}Ct(Ri,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class A8{constructor(...t){Ct(this,"defaults",Mf());Ct(this,"options",this.setOptions);Ct(this,"parse",this.parseMarkdown(!0));Ct(this,"parseInline",this.parseMarkdown(!1));Ct(this,"Parser",Ae);Ct(this,"Renderer",hs);Ct(this,"TextRenderer",Uf);Ct(this,"Lexer",Ce);Ct(this,"Tokenizer",ls);Ct(this,"Hooks",Ri);this.use(...t)}walkTokens(t,r){var i,a;let n=[];for(const s of t)switch(n=n.concat(r.call(this,s)),s.type){case"table":{const o=s;for(const u of o.header)n=n.concat(this.walkTokens(u.tokens,r));for(const u of o.rows)for(const f of u)n=n.concat(this.walkTokens(f.tokens,r));break}case"list":{const o=s;n=n.concat(this.walkTokens(o.items,r));break}default:{const o=s;(a=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&a[o.type]?this.defaults.extensions.childTokens[o.type].forEach(u=>{const f=o[u].flat(1/0);n=n.concat(this.walkTokens(f,r))}):o.tokens&&(n=n.concat(this.walkTokens(o.tokens,r)))}}return n}use(...t){const r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){const s=r.renderers[a.name];s?r.renderers[a.name]=function(...o){let u=a.renderer.apply(this,o);return u===!1&&(u=s.apply(this,o)),u}:r.renderers[a.name]=a.renderer}
vendor: 4,465 bytes, lines 121-130
121if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const s=r[a.level];s?s.unshift(a.tokenizer):r[a.level]=[a.tokenizer],a.start&&(a.level==="block"?r.startBlock?r.startBlock.push(a.start):r.startBlock=[a.start]:a.level==="inline"&&(r.startInline?r.startInline.push(a.start):r.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(r.childTokens[a.name]=a.childTokens)}),i.extensions=r),n.renderer){const a=this.defaults.renderer||new hs(this.defaults);for(const s in n.renderer){if(!(s in a))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;const o=s,u=n.renderer[o],f=a[o];a[o]=(...l)=>{let c=u.apply(a,l);return c===!1&&(c=f.apply(a,l)),c||""}}i.renderer=a}if(n.tokenizer){const a=this.defaults.tokenizer||new ls(this.defaults);for(const s in n.tokenizer){if(!(s in a))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const o=s,u=n.tokenizer[o],f=a[o];a[o]=(...l)=>{let c=u.apply(a,l);return c===!1&&(c=f.apply(a,l)),c}}i.tokenizer=a}if(n.hooks){const a=this.defaults.hooks||new Ri;for(const s in n.hooks){if(!(s in a))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;const o=s,u=n.hooks[o],f=a[o];Ri.passThroughHooks.has(s)?a[o]=l=>{if(this.defaults.async)return Promise.resolve(u.call(a,l)).then(h=>f.call(a,h));const c=u.call(a,l);return f.call(a,c)}:a[o]=(...l)=>{let c=u.apply(a,l);return c===!1&&(c=f.apply(a,l)),c}}i.hooks=a}if(n.walkTokens){const a=this.defaults.walkTokens,s=n.walkTokens;i.walkTokens=function(o){let u=[];return u.push(s.call(this,o)),a&&(u=u.concat(a.call(this,o))),u}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Ce.lex(t,r!=null?r:this.defaults)}parser(t,r){return Ae.parse(t,r!=null?r:this.defaults)}parseMarkdown(t){return(n,i)=>{const a={...i},s={...this.defaults,...a},o=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&a.async===!1)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return o(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=t);const u=s.hooks?s.hooks.provideLexer():t?Ce.lex:Ce.lexInline,f=s.hooks?s.hooks.provideParser():t?Ae.parse:Ae.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(n):n).then(l=>u(l,s)).then(l=>s.hooks?s.hooks.processAllTokens(l):l).then(l=>s.walkTokens?Promise.all(this.walkTokens(l,s.walkTokens)).then(()=>l):l).then(l=>f(l,s)).then(l=>s.hooks?s.hooks.postprocess(l):l).catch(o);try{s.hooks&&(n=s.hooks.preprocess(n));let l=u(n,s);s.hooks&&(l=s.hooks.processAllTokens(l)),s.walkTokens&&this.walkTokens(l,s.walkTokens);let c=f(l,s);return s.hooks&&(c=s.hooks.postprocess(c)),c}catch(l){return o(l)}}}onError(t,r){return n=>{if(n.message+=` 122Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+de(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}}const _n=new A8;function yt(e,t){return _n.parse(e,t)}yt.options=yt.setOptions=function(e){return _n.setOptions(e),yt.defaults=_n.defaults,Q1(yt.defaults),yt};yt.getDefaults=Mf;yt.defaults=En;yt.use=function(...e){return _n.use(...e),yt.defaults=_n.defaults,Q1(yt.defaults),yt};yt.walkTokens=function(e,t){return _n.walkTokens(e,t)};yt.parseInline=_n.parseInline;yt.Parser=Ae;yt.parser=Ae.parse;yt.Renderer=hs;yt.TextRenderer=Uf;yt.Lexer=Ce;yt.lexer=Ce.lex;yt.Tokenizer=ls;yt.Hooks=Ri;yt.parse=yt;yt.options;yt.setOptions;yt.use;yt.walkTokens;yt.parseInline;Ae.parse;Ce.lex;/*! 123 * Compressor.js v1.2.1 124 * https://fengyuanchen.github.io/compressorjs 125 * 126 * Copyright 2018-present Chen Fengyuan 127 * Released under the MIT license 128 * 129 * Date: 2023-02-28T14:09:41.732Z 130 */function hd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ka(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
vendor: 8,811 bytes, line 130
130t%2?hd(Object(r),!0).forEach(function(n){D8(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function S8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ug(n.key),n)}}function T8(e,t,r){return t&&dd(e.prototype,t),r&&dd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function D8(e,t,r){return t=ug(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(){return ds=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ds.apply(this,arguments)}function k8(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ug(e){var t=k8(e,"string");return typeof t=="symbol"?t:String(t)}var fg={exports:{}};(function(e){typeof window>"u"||function(t){var r=t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype,n=t.Blob&&function(){try{return Boolean(new Blob)}catch{return!1}}(),i=n&&t.Uint8Array&&function(){try{return new Blob([new Uint8Array(100)]).size===100}catch{return!1}}(),a=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder,s=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,o=(n||a)&&t.atob&&t.ArrayBuffer&&t.Uint8Array&&function(u){var f,l,c,h,d,g,y,v,p;if(f=u.match(s),!f)throw new Error("invalid data URI");for(l=f[2]?f[1]:"text/plain"+(f[3]||";charset=US-ASCII"),c=!!f[4],h=u.slice(f[0].length),c?d=atob(h):d=decodeURIComponent(h),g=new ArrayBuffer(d.length),y=new Uint8Array(g),v=0;v<d.length;v+=1)y[v]=d.charCodeAt(v);return n?new Blob([i?y:g],{type:l}):(p=new a,p.append(g),p.getBlob(l))};t.HTMLCanvasElement&&!r.toBlob&&(r.mozGetAsFile?r.toBlob=function(u,f,l){var c=this;setTimeout(function(){l&&r.toDataURL&&o?u(o(c.toDataURL(f,l))):u(c.mozGetAsFile("blob",f))})}:r.toDataURL&&o&&(r.msToBlob?r.toBlob=function(u,f,l){var c=this;setTimeout(function(){(f&&f!=="image/png"||l)&&r.toDataURL&&o?u(o(c.toDataURL(f,l))):u(c.msToBlob(f))})}:r.toBlob=function(u,f,l){var c=this;setTimeout(function(){u(o(c.toDataURL(f,l)))})})),e.exports?e.exports=o:t.dataURLtoBlob=o}(window)})(fg);var vd=fg.exports,B8=function(t){return typeof Blob>"u"?!1:t instanceof Blob||Object.prototype.toString.call(t)==="[object Blob]"},pd={strict:!0,checkOrientation:!0,retainExif:!1,maxWidth:1/0,maxHeight:1/0,minWidth:0,minHeight:0,width:void 0,height:void 0,resize:"none",quality:.8,mimeType:"auto",convertTypes:["image/png"],convertSize:5e6,beforeDraw:null,drew:null,success:null,error:null},F8=typeof window<"u"&&typeof window.document<"u",Tr=F8?window:{},vs=function(t){return t>0&&t<1/0},O8=Array.prototype.slice;function jf(e){return Array.from?Array.from(e):O8.call(e)}var R8=/^image\/.+$/;function Lu(e){return R8.test(e)}function L8(e){var t=Lu(e)?e.substr(6):"";return t==="jpeg"&&(t="jpg"),".".concat(t)}var lg=String.fromCharCode;function P8(e,t,r){var n="",i;for(r+=t,i=t;i<r;i+=1)n+=lg(e.getUint8(i));return n}var M8=Tr.btoa;function gd(e,t){for(var r=[],n=8192,i=new Uint8Array(e);i.length>0;)r.push(lg.apply(null,jf(i.subarray(0,n)))),i=i.subarray(n);return"data:".concat(t,";base64,").concat(M8(r.join("")))}function I8(e){var t=new DataView(e),r;try{var n,i,a;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(var s=t.byteLength,o=2;o+1<s;){if(t.getUint8(o)===255&&t.getUint8(o+1)===225){i=o;break}o+=1}if(i){var u=i+4,f=i+10;if(P8(t,u,4)==="Exif"){var l=t.getUint16(f);if(n=l===18761,(n||l===19789)&&t.getUint16(f+2,n)===42){var c=t.getUint32(f+4,n);c>=8&&(a=f+c)}}}if(a){var h=t.getUint16(a,n),d,g;for(g=0;g<h;g+=1)if(d=a+g*12+2,t.getUint16(d,n)===274){d+=8,r=t.getUint16(d,n),t.setUint16(d,1,n);break}}}catch{r=1}return r}function N8(e){var t=0,r=1,n=1;switch(e){case 2:r=-1;break;case 3:t=-180;break;case 4:n=-1;break;case 5:t=90,n=-1;break;case 6:t=90;break;case 7:t=90,r=-1;break;case 8:t=-90;break}return{rotate:t,scaleX:r,scaleY:n}}var z8=/\.\d*(?:0|9){12}\d*$/;function xd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return z8.test(e)?Math.round(e*t)/t:e}function mi(e){var t=e.aspectRatio,r=e.height,n=e.width,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none",a=vs(n),s=vs(r);if(a&&s){var o=r*t;(i==="contain"||i==="none")&&o>n||i==="cover"&&o<n?r=n/t:n=r*t}else a?r=n/t:s&&(n=r*t);return{width:n,height:r}}function $8(e){for(var t=jf(new Uint8Array(e)),r=t.length,n=[],i=0;i+3<r;){var a=t[i],s=t[i+1];if(a===255&&s===218)break;if(a===255&&s===216)i+=2;else{var o=t[i+2]*256+t[i+3],u=i+o+2,f=t.slice(i,u);n.push(f),i=u}}return n.reduce(function(l,c){return c[0]===255&&c[1]===225?l.concat(c):l},[])}function H8(e,t){var r=jf(new Uint8Array(e));if(r[2]!==255||r[3]!==224)return e;var n=r[4]*256+r[5],i=[255,216].concat(t,r.slice(4+n));return new Uint8Array(i)}var U8=Tr.ArrayBuffer,H0=Tr.FileReader,tn=Tr.URL||Tr.webkitURL,j8=/\.\w+$/,W8=Tr.Compressor,gC=function(){function e(t,r){S8(this,e),this.file=t,this.exif=[],this.image=new Image,this.options=ka(ka({},pd),r),this.aborted=!1,this.result=null,this.init()}return T8(e,[{key:"init",value:function(){var r=this,n=this.file,i=this.options;if(!B8(n)){this.fail(new Error("The first argument must be a File or Blob object."));return}var a=n.type;if(!Lu(a)){this.fail(new Error("The first argument must be an image File or Blob object."));return}if(!tn||!H0){this.fail(new Error("The current browser does not support image compression."));return}U8||(i.checkOrientation=!1,i.retainExif=!1);var s=a==="image/jpeg",o=s&&i.checkOrientation,u=s&&i.retainExif;if(tn&&!o&&!u)this.load({url:tn.createObjectURL(n)});else{var f=new H0;this.reader=f,f.onload=function(l){var c=l.target,h=c.result,d={},g=1;o&&(g=I8(h),g>1&&ds(d,N8(g))),u&&(r.exif=$8(h)),o||u?!tn||g>1?d.url=gd(h,a):d.url=tn.createObjectURL(n):d.url=h,r.load(d)},f.onabort=function(){r.fail(new Error("Aborted to read the image with FileReader."))},f.onerror=function(){r.fail(new Error("Failed to read the image with FileReader."))},f.onloadend=function(){r.reader=null},o||u?f.readAsArrayBuffer(n):f.readAsDataURL(n)}}},{key:"load",value:function(r){var n=this,i=this.file,a=this.image;a.onload=function(){n.draw(ka(ka({},r),{},{naturalWidth:a.naturalWidth,naturalHeight:a.naturalHeight}))},a.onabort=function(){n.fail(new Error("Aborted to load the image."))},a.onerror=function(){n.fail(new Error("Failed to load the image."))},Tr.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Tr.navigator.userAgent)&&(a.crossOrigin="anonymous"),a.alt=i.name,a.src=r.url}},{key:"draw",value:function(r){var n=this,i=r.naturalWidth,a=r.naturalHeight,s=r.rotate,o=s===void 0?0:s,u=r.scaleX,f=u===void 0?1:u,l=r.scaleY,c=l===void 0?1:l,h=this.file,d=this.image,g=this.options,y=document.createElement("canvas"),v=y.getContext("2d"),p=Math.abs(o)%180===90,m=(g.resize==="contain"||g.resize==="cover")&&vs(g.width)&&vs(g.height),x=Math.max(g.maxWidth,0)||1/0,_=Math.max(g.maxHeight,0)||1/0,b=Math.max(g.minWidth,0)||0,w=Math.max(g.minHeight,0)||0,C=i/a,A=g.width,k=g.height;if(p){var D=[_,x];x=D[0],_=D[1];var F=[w,b];b=F[0],w=F[1];var T=[k,A];A=T[0],k=T[1]}m&&(C=A/k);var R=mi({aspectRatio:C,width:x,height:_},"contain");x=R.width,_=R.height;var E=mi({aspectRatio:C,width:b,height:w},"cover");if(b=E.width,w=E.height,m){var z=mi({aspectRatio:C,width:A,height:k},g.resize);A=z.width,k=z.height}else{var W=mi({aspectRatio:C,width:A,height:k}),q=W.width;A=q===void 0?i:q;var G=W.height;k=G===void 0?a:G}A=Math.floor(xd(Math.min(Math.max(A,b),x))),k=Math.floor(xd(Math.min(Math.max(k,w),_)));var Y=-A/2,Z=-k/2,I=A,P=k,j=[];if(m){var $=0,X=0,tt=i,nt=a,et=mi({aspectRatio:C,width:i,height:a},{contain:"cover",cover:"contain"}[g.resize]);tt=et.width,nt=et.height,$=(i-tt)/2,X=(a-nt)/2,j.push($,X,tt,nt)}if(j.push(Y,Z,I,P),p){var at=[k,A];A=at[0],k=at[1]}y.width=A,y.height=k,Lu(g.mimeType)||(g.mimeType=h.type);var ot="transparent";h.size>g.convertSize&&g.convertTypes.indexOf(g.mimeType)>=0&&(g.mimeType="image/jpeg");var rt=g.mimeType==="image/jpeg";if(rt&&(ot="#fff"),v.fillStyle=ot,v.fillRect(0,0,A,k),g.beforeDraw&&g.beforeDraw.call(this,v,y),!this.aborted&&(v.save(),v.translate(A/2,k/2),v.rotate(o*Math.PI/180),v.scale(f,c),v.drawImage.apply(v,[d].concat(j)),v.restore(),g.drew&&g.drew.call(this,v,y),!this.aborted)){var ut=function(S){if(!n.aborted){var Q=function(U){return n.done({naturalWi
130dth:i,naturalHeight:a,result:U})};if(S&&rt&&g.retainExif&&n.exif&&n.exif.length>0){var H=function(U){return Q(vd(gd(H8(U,n.exif),g.mimeType)))};if(S.arrayBuffer)S.arrayBuffer().then(H).catch(function(){n.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))});else{var M=new H0;n.reader=M,M.onload=function(L){var U=L.target;H(U.result)},M.onabort=function(){n.fail(new Error("Aborted to read the compressed image with FileReader."))},M.onerror=function(){n.fail(new Error("Failed to read the compressed image with FileReader."))},M.onloadend=function(){n.reader=null},M.readAsArrayBuffer(S)}}else Q(S)}};y.toBlob?y.toBlob(ut,g.mimeType,g.quality):ut(vd(y.toDataURL(g.mimeType,g.quality)))}}},{key:"done",value:function(r){var n=r.naturalWidth,i=r.naturalHeight,a=r.result,s=this.file,o=this.image,u=this.options;if(tn&&o.src.indexOf("blob:")===0&&tn.revokeObjectURL(o.src),a)if(u.strict&&!u.retainExif&&a.size>s.size&&u.mimeType===s.type&&!(u.width>n||u.height>i||u.minWidth>n||u.minHeight>i||u.maxWidth<n||u.maxHeight<i))a=s;else{var f=new Date;a.lastModified=f.getTime(),a.lastModifiedDate=f,a.name=s.name,a.name&&a.type!==s.type&&(a.name=a.name.replace(j8,L8(a.type)))}else a=s;this.result=a,u.success&&u.success.call(this,a)}},{key:"fail",value:function(r){var n=this.options;if(n.error)n.error.call(this,r);else throw r}},{key:"abort",value:function(){this.aborted||(this.aborted=!0,this.reader?this.reader.abort():this.image.complete?this.fail(new Error("The compression process has been aborted.")):(this.image.onload=null,this.image.onabort()))}}],[{key:"noConflict",value:function(){return window.Compressor=W8,e}},{key:"setDefaults",value:function(r){ds(pd,r)}}]),e}(),_d={exports:{}};/** @license 131 * eventsource.js 132 * Available under MIT License (MIT) 133 * https://github.com/Yaffle/EventSource/ 134 */(function(e,t){(function(r){var n=r.setTimeout,i=r.clearTimeout,a=r.XMLHttpRequest,s=r.XDomainRequest,o=r.ActiveXObject,u=r.EventSource,f=r.document,l=r.Promise,c=r.fetch,h=r.Response,d=r.TextDecoder,g=r.TextEncoder,y=r.AbortController;if(typeof window<"u"&&typeof f<"u"&&!("readyState"in f)&&f.body==null&&(f.readyState="loading",window.addEventListener("load",function(H){f.readyState="complete"},!1)),a==null&&o!=null&&(a=function(){return new o("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(H){function M(){}return M.prototype=H,new M}),Date.now||(Date.now=function(){return new Date().getTime()}),y==null){var v=c;c=function(H,M){var L=M.signal;return v(H,{headers:M.headers,credentials:M.credentials,cache:M.cache}).then(function(U){var B=U.body.getReader();return L._reader=B,L._aborted&&L._reader.cancel(),{status:U.status,statusText:U.statusText,headers:U.headers,body:{getReader:function(){return B}}}})},y=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function p(){this.bitsNeeded=0,this.codePoint=0}p.prototype.decode=function(H){function M(K,it,st){if(st===1)return K>=128>>it&&K<<it<=2047;if(st===2)return K>=2048>>it&&K<<it<=55295||K>=57344>>it&&K<<it<=65535;if(st===3)return K>=65536>>it&&K<<it<=1114111;throw new Error}function L(K,it){if(K===6*1)return it>>6>15?3:it>31?2:1;if(K===6*2)return it>15?3:2;if(K===6*3)return 3;throw new Error}for(var U=65533,B="",O=this.bitsNeeded,N=this.codePoint,V=0;V<H.length;V+=1){var J=H[V];O!==0&&(J<128||J>191||!M(N<<6|J&63,O-6,L(O,N)))&&(O=0,N=U,B+=String.fromCharCode(N)),O===0?(J>=0&&J<=127?(O=0,N=J):J>=192&&J<=223?(O=6*1,N=J&31):J>=224&&J<=239?(O=6*2,N=J&15):J>=240&&J<=247?(O=6*3,N=J&7):(O=0,N=U),O!==0&&!M(N,O,L(O,N))&&(O=0,N=U)):(O-=6,N=N<<6|J&63),O===0&&(N<=65535?B+=String.fromCharCode(N):(B+=String.fromCharCode(55296+(N-65535-1>>10)),B+=String.fromCharCode(56320+(N-65535-1&1023))))}return this.bitsNeeded=O,this.codePoint=N,B};var m=function(){try{return new d().decode(new g().encode("test"),{stream:!0})==="test"}catch(H){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+H)}return!1};(d==null||g==null||!m())&&(d=p);var x=function(){};function _(H){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=x,this.onload=x,this.onerror=x,this.onreadystatechange=x,this._contentType="",this._xhr=H,this._sendTimeout=0,this._abort=x}_.prototype.open=function(H,M){this._abort(!0);var L=this,U=this._xhr,B=1,O=0;this._abort=function(st){L._sendTimeout!==0&&(i(L._sendTimeout),L._sendTimeout=0),(B===1||B===2||B===3)&&(B=4,U.onload=x,U.onerror=x,U.onabort=x,U.onprogress=x,U.onreadystatechange=x,U.abort(),O!==0&&(i(O),O=0),st||(L.readyState=4,L.onabort(null),L.onreadystatechange())),B=0};var N=function(){if(B===1){var st=0,ft="",At=void 0;if("contentType"in U)st=200,ft="OK",At=U.contentType;else try{st=U.status,ft=U.statusText,At=U.getResponseHeader("Content-Type")}catch{st=0,ft="",At=void 0}st!==0&&(B=2,L.readyState=2,L.status=st,L.statusText=ft,L._contentType=At,L.onreadystatechange())}},V=function(){if(N(),B===2||B===3){B=3;var st="";try{st=U.responseText}catch{}L.readyState=3,L.responseText=st,L.onprogress()}},J=function(st,ft){if((ft==null||ft.preventDefault==null)&&(ft={preventDefault:x}),V(),B===1||B===2||B===3){if(B=4,O!==0&&(i(O),O=0),L.readyState=4,st==="load")L.onload(ft);
134else if(st==="error")L.onerror(ft);else if(st==="abort")L.onabort(ft);else throw new TypeError;L.onreadystatechange()}},K=function(st){U!=null&&(U.readyState===4?(!("onload"in U)||!("onerror"in U)||!("onabort"in U))&&J(U.responseText===""?"error":"load",st):U.readyState===3?"onprogress"in U||V():U.readyState===2&&N())},it=function(){O=n(function(){it()},500),U.readyState===3&&V()};"onload"in U&&(U.onload=function(st){J("load",st)}),"onerror"in U&&(U.onerror=function(st){J("error",st)}),"onabort"in U&&(U.onabort=function(st){J("abort",st)}),"onprogress"in U&&(U.onprogress=V),"onreadystatechange"in U&&(U.onreadystatechange=function(st){K(st)}),("contentType"in U||!("ontimeout"in a.prototype))&&(M+=(M.indexOf("?")===-1?"?":"&")+"padding=true"),U.open(H,M,!0),"readyState"in U&&(O=n(function(){it()},0))},_.prototype.abort=function(){this._abort(!1)},_.prototype.getResponseHeader=function(H){return this._contentType},_.prototype.setRequestHeader=function(H,M){var L=this._xhr;"setRequestHeader"in L&&L.setRequestHeader(H,M)},_.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},_.prototype.send=function(){if((!("ontimeout"in a.prototype)||!("sendAsBinary"in a.prototype)&&!("mozAnon"in a.prototype))&&f!=null&&f.readyState!=null&&f.readyState!=="complete"){var H=this;H._sendTimeout=n(function(){H._sendTimeout=0,H.send()},4);return}var M=this._xhr;"withCredentials"in M&&(M.withCredentials=this.withCredentials);try{M.send(void 0)}catch(L){throw L}};function b(H){return H.replace(/[A-Z]/g,function(M){return String.fromCharCode(M.charCodeAt(0)+32)})}function w(H){for(var M=Object.create(null),L=H.split(`\r 135`),U=0;U<L.length;U+=1){var B=L[U],O=B.split(": "),N=O.shift(),V=O.join(": ");M[b(N)]=V}this._map=M}w.prototype.get=function(H){return this._map[b(H)]},a!=null&&a.HEADERS_RECEIVED==null&&(a.HEADERS_RECEIVED=2);function C(){}C.prototype.open=function(H,M,L,U,B,O,N){H.open("GET",B);var V=0;H.onprogress=function(){var K=H.responseText,it=K.slice(V);V+=it.length,L(it)},H.onerror=function(K){K.preventDefault(),U(new Error("NetworkError"))},H.onload=function(){U(null)},H.onabort=function(){U(null)},H.onreadystatechange=function(){if(H.readyState===a.HEADERS_RECEIVED){var K=H.status,it=H.statusText,st=H.getResponseHeader("Content-Type"),ft=H.getAllResponseHeaders();M(K,it,st,new w(ft))}},H.withCredentials=O;for(var J in N)Object.prototype.hasOwnProperty.call(N,J)&&H.setRequestHeader(J,N[J]);return H.send(),H};function A(H){this._headers=H}A.prototype.get=function(H){return this._headers.get(H)};function k(){}k.prototype.open=function(H,M,L,U,B,O,N){var V=null,J=new y,K=J.signal,it=new d;return c(B,{headers:N,credentials:O?"include":"same-origin",signal:K,cache:"no-store"}).then(function(st){return V=st.body.getReader(),M(st.status,st.statusText,st.headers.get("Content-Type"),new A(st.headers)),new l(function(ft,At){var ae=function(){V.read().then(function(xt){if(xt.done)ft(void 0);else{var Et=it.decode(xt.value,{stream:!0});L(Et),ae()}}).catch(function(xt){At(xt)})};ae()})}).catch(function(st){if(st.name!=="AbortError")return st}).then(function(st){U(st)}),{abort:function(){V!=null&&V.cancel(),J.abort()}}};function D(){this._listeners=Object.create(null)}function F(H){n(function(){throw H},0)}D.prototype.dispatchEvent=function(H){H.target=this;var M=this._listeners[H.type];if(M!=null)for(var L=M.length,U=0;U<L;U+=1){var B=M[U];try{typeof B.handleEvent=="function"?B.handleEvent(H):B.call(this,H)}catch(O){F(O)}}},D.prototype.addEventListener=function(H,M){H=String(H);var L=this._listeners,U=L[H];U==null&&(U=[],L[H]=U);for(var B=!1,O=0;O<U.length;O+=1)U[O]===M&&(B=!0);B||U.push(M)},D.prototype.removeEventListener=function(H,M){H=String(H);var L=this._listeners,U=L[H];if(U!=null){for(var B=[],O=0;O<U.length;O+=1)U[O]!==M&&B.push(U[O]);B.length===0?delete L[H]:L[H]=B}};function T(H){this.type=H,this.target=void 0}function R(H,M){T.call(this,H),this.data=M.data,this.lastEventId=M.lastEventId}R.prototype=Object.create(T.prototype);function E(H,M){T.call(this,H),this.status=M.status,this.statusText=M.statusText,this.headers=M.headers}E.prototype=Object.create(T.prototype);function z(H,M){T.call(this,H),this.error=M.error}z.prototype=Object.create(T.prototype);var W=-1,q=0,G=1,Y=2,Z=-1,I=0,P=1,j=2,$=3,X=/^text\/event\-stream(;.*)?$/i,tt=1e3,nt=18e6,et=function(H,M){var L=H==null?M:parseInt(H,10);return L!==L&&(L=M),at(L)},at=function(H){return Math.min(Math.max(H,tt),nt)},ot=function(H,M,L){try{typeof M=="function"&&M.call(H,L)}catch(U){F(U)}};function rt(H,M){D.call(this),M=M||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,S(this,H,M)}function ut(){return a!=null&&"withCredentials"in a.prototype||s==null?new a:new s}var ct=c!=null&&h!=null&&"body"in h.prototype;function S(H,M,L){M=String(M);var U=Boolean(L.withCredentials),B=L.lastEventIdQueryParameterName||"lastEventId",O=at(1e3),N=et(L.heartbeatTimeout,45e3),V="",J=O,K=!1,it=0,st=L.headers||{},ft=L.Transport,At=ct&&ft==null?void 0:new _(ft!=null?new ft:ut()),ae=ft!=null&&typeof ft!="string"?new ft:At==null?new k:new C,xt=void 0,Et=0,vt=W,se="",Te="",Bt="",Qe="",Lt=I,Or=0,_e=0,Cn=function(Ft,Ot,Qt,Gt){if(vt===q)if(Ft===200&&Qt!=null&&X.test(Qt)){vt=G,K=Date.now(),J=O,H.readyState=G;var qt=new E("open",{status:Ft,statusText:Ot,headers:Gt});H.dispatchEvent(qt),ot(H,H.onopen,qt)}else{var Pt="";Ft!==200?(Ot&&(Ot=Ot.replace(/\s+/g," ")),Pt="EventSource's response has a status "+Ft+" "+Ot+" that is not 200. Aborting the connection."):Pt="EventSource's response has a Content-Type specifying an unsupported type: "+(Qt==null?"-":Qt.replace(/\s+/g," "))+". Aborting the connection.",ui();var qt=new E("error",{status:Ft,statusText:Ot,headers:Gt});H.dispatchEvent(qt),ot(H,H.onerror,qt),console.error(Pt)}},Ne=function(Ft){if(vt===G){for(var Ot=-1,Qt=0;Qt<Ft.length;Qt+=1){var Gt=Ft.charCodeAt(Qt);(Gt===` 136`.charCodeAt(0)||Gt==="\r".charCodeAt(0))&&(Ot=Qt)}var qt=(Ot!==-1?Qe:"")+Ft.slice(0,Ot+1);Qe=(Ot===-1?Qe:"")+Ft.slice(Ot+1),Ft!==""&&(K=Date.now(),it+=Ft.length);for(var Pt=0;Pt<qt.length;Pt+=1){var Gt=qt.charCodeAt(Pt);if(Lt===Z&&Gt===` 137`.charCodeAt(0))Lt=I;
137else if(Lt===Z&&(Lt=I),Gt==="\r".charCodeAt(0)||Gt===` 138`.charCodeAt(0)){if(Lt!==I){Lt===P&&(_e=Pt+1);var Dt=qt.slice(Or,_e-1),Ut=qt.slice(_e+(_e<Pt&&qt.charCodeAt(_e)===" ".charCodeAt(0)?1:0),Pt);Dt==="data"?(se+=` 139`,se+=Ut):Dt==="id"?Te=Ut:Dt==="event"?Bt=Ut:Dt==="retry"?(O=et(Ut,O),J=O):Dt==="heartbeatTimeout"&&(N=et(Ut,N),Et!==0&&(i(Et),Et=n(function(){Rr()},N)))}if(Lt===I){if(se!==""){V=Te,Bt===""&&(Bt="message");var tr=new R(Bt,{data:se.slice(1),lastEventId:Te});if(H.dispatchEvent(tr),Bt==="open"?ot(H,H.onopen,tr):Bt==="message"?ot(H,H.onmessage,tr):Bt==="error"&&ot(H,H.onerror,tr),vt===Y)return}se="",Bt=""}Lt=Gt==="\r".charCodeAt(0)?Z:I}else Lt===I&&(Or=Pt,Lt=P),Lt===P?Gt===":".charCodeAt(0)&&(_e=Pt+1,Lt=j):Lt===j&&(Lt=$)}}},Je=function(Ft){if(vt===G||vt===q){vt=W,Et!==0&&(i(Et),Et=0),Et=n(function(){Rr()},J),J=at(Math.min(O*16,J*2)),H.readyState=q;var Ot=new z("error",{error:Ft});H.dispatchEvent(Ot),ot(H,H.onerror,Ot),Ft!=null&&console.error(Ft)}},ui=function(){vt=Y,xt!=null&&(xt.abort(),xt=void 0),Et!==0&&(i(Et),Et=0),H.readyState=Y},Rr=function(){if(Et=0,vt!==W){if(!K&&xt!=null)Je(new Error("No activity within "+N+" milliseconds. "+(vt===q?"No response received.":it+" chars received.")+" Reconnecting.")),xt!=null&&(xt.abort(),xt=void 0);else{var Ft=Math.max((K||Date.now())+N-Date.now(),1);K=!1,Et=n(function(){Rr()},Ft)}return}K=!1,it=0,Et=n(function(){Rr()},N),vt=q,se="",Bt="",Te=V,Qe="",Or=0,_e=0,Lt=I;var Ot=M;if(M.slice(0,5)!=="data:"&&M.slice(0,5)!=="blob:"&&V!==""){var Qt=M.indexOf("?");Ot=Qt===-1?M:M.slice(0,Qt+1)+M.slice(Qt+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Ut,tr){return tr===B?"":Ut}),Ot+=(M.indexOf("?")===-1?"?":"&")+B+"="+encodeURIComponent(V)}var Gt=H.withCredentials,qt={};qt.Accept="text/event-stream";var Pt=H.headers;if(Pt!=null)for(var Dt in Pt)Object.prototype.hasOwnProperty.call(Pt,Dt)&&(qt[Dt]=Pt[Dt]);try{xt=ae.open(At,Cn,Ne,Je,Ot,Gt,qt)}catch(Ut){throw ui(),Ut}};H.url=M,H.readyState=q,H.withCredentials=U,H.headers=st,H._close=ui,Rr()}rt.prototype=Object.create(D.prototype),rt.prototype.CONNECTING=q,rt.prototype.OPEN=G,rt.prototype.CLOSED=Y,rt.prototype.close=function(){this._close()},rt.CONNECTING=q,rt.OPEN=G,rt.CLOSED=Y,rt.prototype.withCredentials=void 0;var Q=u;a!=null&&(u==null||!("withCredentials"in u.prototype))&&(Q=rt),function(H){{var M=H(t);M!==void 0&&(e.exports=M)}}(function(H){H.EventSourcePolyfill=rt,H.NativeEventSource=u,H.EventSource=Q})})(typeof globalThis>"u"?typeof window<"u"?window:typeof self<"u"?self:lt:globalThis)}
vendor: 11,587 bytes, lines 139-150
139)(_d,_d.exports);var cg={exports:{}};/*! 140 141JSZip v3.10.1 - A JavaScript class for generating and reading zip files 142<http://stuartk.com/jszip> 143 144(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> 145Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. 146 147JSZip uses the library pako released under the MIT license : 148https://github.com/nodeca/pako/blob/main/LICENSE 149*/(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,i,a){function s(f,l){if(!i[f]){if(!n[f]){var c=typeof Ai=="function"&&Ai;if(!l&&c)return c(f,!0);if(o)return o(f,!0);var h=new Error("Cannot find module '"+f+"'");throw h.code="MODULE_NOT_FOUND",h}var d=i[f]={exports:{}};n[f][0].call(d.exports,function(g){var y=n[f][1][g];return s(y||g)},d,d.exports,r,n,i,a)}return i[f].exports}for(var o=typeof Ai=="function"&&Ai,u=0;u<a.length;u++)s(a[u]);return s}({1:[function(r,n,i){var a=r("./utils"),s=r("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(u){for(var f,l,c,h,d,g,y,v=[],p=0,m=u.length,x=m,_=a.getTypeOf(u)!=="string";p<u.length;)x=m-p,c=_?(f=u[p++],l=p<m?u[p++]:0,p<m?u[p++]:0):(f=u.charCodeAt(p++),l=p<m?u.charCodeAt(p++):0,p<m?u.charCodeAt(p++):0),h=f>>2,d=(3&f)<<4|l>>4,g=1<x?(15&l)<<2|c>>6:64,y=2<x?63&c:64,v.push(o.charAt(h)+o.charAt(d)+o.charAt(g)+o.charAt(y));return v.join("")},i.decode=function(u){var f,l,c,h,d,g,y=0,v=0,p="data:";if(u.substr(0,p.length)===p)throw new Error("Invalid base64 input, it looks like a data url.");var m,x=3*(u=u.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(u.charAt(u.length-1)===o.charAt(64)&&x--,u.charAt(u.length-2)===o.charAt(64)&&x--,x%1!=0)throw new Error("Invalid base64 input, bad content length.");for(m=s.uint8array?new Uint8Array(0|x):new Array(0|x);y<u.length;)f=o.indexOf(u.charAt(y++))<<2|(h=o.indexOf(u.charAt(y++)))>>4,l=(15&h)<<4|(d=o.indexOf(u.charAt(y++)))>>2,c=(3&d)<<6|(g=o.indexOf(u.charAt(y++))),m[v++]=f,d!==64&&(m[v++]=l),g!==64&&(m[v++]=c);return m}},{"./support":30,"./utils":32}],2:[function(r,n,i){var a=r("./external"),s=r("./stream/DataWorker"),o=r("./stream/Crc32Probe"),u=r("./stream/DataLengthProbe");function f(l,c,h,d,g){this.compressedSize=l,this.uncompressedSize=c,this.crc32=h,this.compression=d,this.compressedContent=g}f.prototype={getContentWorker:function(){var l=new s(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),c=this;return l.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),l},getCompressedWorker:function(){return new s(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},f.createWorkerFrom=function(l,c,h){return l.pipe(new o).pipe(new u("uncompressedSize")).pipe(c.compressWorker(h)).pipe(new u("compressedSize")).withStreamInfo("compression",c)},n.exports=f},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(r,n,i){var a=r("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},i.DEFLATE=r("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(r,n,i){var a=r("./utils"),s=function(){for(var o,u=[],f=0;f<256;f++){o=f;for(var l=0;l<8;l++)o=1&o?3988292384^o>>>1:o>>>1;u[f]=o}return u}();n.exports=function(o,u){return o!==void 0&&o.length?a.getTypeOf(o)!=="string"?function(f,l,c,h){var d=s,g=h+c;f^=-1;for(var y=h;y<g;y++)f=f>>>8^d[255&(f^l[y])];return-1^f}(0|u,o,o.length,0):function(f,l,c,h){var d=s,g=h+c;f^=-1;for(var y=h;y<g;y++)f=f>>>8^d[255&(f^l.charCodeAt(y))];return-1^f}(0|u,o,o.length,0):0}},{"./utils":32}],5:[function(r,n,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(r,n,i){var a=null;a=typeof Promise<"u"?Promise:r("lie"),n.exports={Promise:a}},{lie:37}],7:[function(r,n,i){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=r("pako"),o=r("./utils"),u=r("./stream/GenericWorker"),f=a?"uint8array":"array";function l(c,h){u.call(this,"FlateWorker/"+c),this._pako=null,this._pakoAction=c,this._pakoOptions=h,this.meta={}}i.magic="\b\0",o.inherits(l,u),l.prototype.processChunk=function(c){this.meta=c.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(f,c.data),!1)},l.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var c=this;this._pako.onData=function(h){c.push({data:h,meta:c.meta})}},i.compressWorker=function(c){return new l("Deflate",c)},i.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(r,n,i){function a(d,g){var y,v="";for(y=0;y<g;y++)v+=String.fromCharCode(255&d),d>>>=8;return v}function s(d,g,y,v,p,m){var x,_,b=d.file,w=d.compression,C=m!==f.utf8encode,A=o.transformTo("string",m(b.name)),k=o.transformTo("string",f.utf8encode(b.name)),D=b.comment,F=o.transformTo("string",m(D)),T=o.transformTo("string",f.utf8encode(D)),R=k.length!==b.name.length,E=T.length!==D.length,z="",W="",q="",G=b.dir,Y=b.date,Z={crc32:0,compressedSize:0,uncompressedSize:0};g&&!y||(Z.crc32=d.crc32,Z.compressedSize=d.compressedSize,Z.uncompressedSize=d.uncompressedSize);var I=0;g&&(I|=8),C||!R&&!E||(I|=2048);var P=0,j=0;G&&(P|=16),p==="UNIX"?(j=798,P|=function(X,tt){var nt=X;return X||(nt=tt?16893:33204),(65535&nt)<<16}(b.unixPermissions,G)):(j=20,P|=function(X){return 63&(X||0)}(b.dosPermissions)),x=Y.getUTCHours(),x<<=6,x|=Y.getUTCMinutes(),x<<=5,x|=Y.getUTCSeconds()/2,_=Y.getUTCFullYear()-1980,_<<=4,_|=Y.getUTCMonth()+1,_<<=5,_|=Y.getUTCDate(),R&&(W=a(1,1)+a(l(A),4)+k,z+="up"+a(W.length,2)+W),E&&(q=a(1,1)+a(l(F),4)+T,z+="uc"+a(q.length,2)+q);var $="";return $+=` 150\0`,$+=a(I,2),$+=w.magic,$+=a(x,2),$+=a(_,2),$+=a(Z.crc32,4),$+=a(Z.compressedSize,4),$+=a(Z.uncompressedSize,4),$+=a(A.length,2),$+=a(z.length,2),{fileRecord:c.LOCAL_FILE_HEADER+$+A+z,dirRecord:c.CENTRAL_FILE_HEADER+a(j,2)+$+a(F.length,2)+"\0\0\0\0"+a(P,4)+a(v,4)+A+z+F}}var o=r("../utils"),u=r("../stream/GenericWorker"),f=r("../utf8"),l=r("../crc32"),c=r("../signature");function h(d,g,y,v){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=g,this.zipPlatform=y,this.encodeFileName=v,this.streamFiles=d,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(h,u),h.prototype.push=function(d){var g=d.meta.percent||0,y=this.entriesCount,v=this._sources.length;this.accumulate?this.contentBuffer.push(d):(this.bytesWritten+=d.data.length,u.prototype.push.call(this,{data:d.data,meta:{currentFile:this.currentFile,percent:y?(g+100*(y-v-1))/y:100}}))},h.prototype.openedSource=function(d){this.currentSourceOffset=this.bytesWritten,this.currentFile=d.file.name;var g=this.streamFiles&&!d.file.dir;if(g){var y=s(d,g,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:y.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(d){this.accumulate=!1;var g=this.streamFiles&&!d.file.dir,y=s(d,g,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(y.dirRecord),g)this.push({data:function(v){return c.DATA_DESCRIPTOR+a(v.crc32,4)+a(v.compressedSize,4)+a(v.uncompressedSize,4)}(d),meta:{percent:100}});else for(this.push({data:y.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var d=this.bytesWritten,g=0;g<this.dirRecords.length;g++)this.push({data:this.dirRecords[g],meta:{percent:100}});var y=this.bytesWritten-d,v=function(p,m,x,_,b){var w=o.transformTo("string",b(_));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(p,2)+a(p,2)+a(m,4)+a(x,4)+a(w.length,2)+w}(this.dirRecords.length,y,d,this.zipComment,this.encodeFileName);this.push({data:v,meta:{percent:100}})},h.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},h.prototype.registerPrevious=function(d){this._sources.push(d);var g=this;return d.on("data",function(y){g.processChunk(y)}),d.on("end",function(){g.closedSource(g.previous.streamInfo),g._sources.length?g.prepareNextSource():g.end()}),d.on("error",function(y){g.error(y)}),this},h.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},h.prototype.error=function(d){var g=this._sources;if(!u.prototype.error.call(this,d))return!1;for(var y=0;y<g.length;y++)try{g[y].error(d)}catch{}return!0},h.prototype.lock=function(){u.prototype.lock.call(this);for(var d=this._sources,g=0;g<d.length;g++)d[g].lock()},n.exports=h},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(r,n,i){var a=r("../compressions"),s=r("./ZipFileWorker");i.generateWorker=function(o,u,f){var l=new s(u.streamFiles,f,u.platform,u.encodeFileName),c=0;try{o.forEach(function(h,d){c++;var g=function(m,x){var _=m||x,b=a[_];if(!b)throw new Error(_+" is not a valid compression method !");return b}(d.options.compression,u.compression),y=d.options.compressionOptions||u.compressionOptions||{},v=d.dir,p=d.date;d._compressWorker(g,y).withStreamInfo("file",{name:h,dir:v,date:p,comment:d.comment||"",unixPermissions:d.unixPermissions,dosPermissions:d.dosPermissions}).pipe(l)}),l.entriesCount=c}catch(h){l.error(h)}return l}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(r,n,i){function a(){if(!(this instanceof a))return new a;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new a;for(var o in this)typeof this[o]!="function"&&(s[o]=this[o]);return s}}(a.prototype=r("./object")).loadAsync=r("./load"),a.support=r("./support"),a.defaults=r("./defaults"),a.version="3.10.1",a.loadAsync=function(s,o){return new a().loadAsync(s,o)},a.external=r("./external"),n.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(r,n,i){var a=r("./utils"),s=r("./external"),o=r("./utf8"),u=r("./zipEntries"),f=r("./stream/Crc32Probe"),l=r("./nodejsUtils");function c(h){return new s.Promise(function(d,g){var y=h.decompressed.getContentWorker().pipe(new f);y.on("error",function(v){g(v)}).on("end",function(){y.streamInfo.crc32!==h.decompressed.crc32?g(new Error("Corrupted zip : CRC32 mismatch")):d()}).resume()})}n.exports=function(h,d){var g=this;return d=a.extend(d||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(h)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip f
150ile",h,!0,d.optimizedBinaryString,d.base64).then(function(y){var v=new u(d);return v.load(y),v}).then(function(y){var v=[s.Promise.resolve(y)],p=y.files;if(d.checkCRC32)for(var m=0;m<p.length;m++)v.push(c(p[m]));return s.Promise.all(v)}).then(function(y){for(var v=y.shift(),p=v.files,m=0;m<p.length;m++){var x=p[m],_=x.fileNameStr,b=a.resolve(x.fileNameStr);g.file(b,x.decompressed,{binary:!0,optimizedBinaryString:!0,date:x.date,dir:x.dir,comment:x.fileCommentStr.length?x.fileCommentStr:null,unixPermissions:x.unixPermissions,dosPermissions:x.dosPermissions,createFolders:d.createFolders}),x.dir||(g.file(b).unsafeOriginalName=_)}return v.zipComment.length&&(g.comment=v.zipComment),g})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(r,n,i){var a=r("../utils"),s=r("../stream/GenericWorker");function o(u,f){s.call(this,"Nodejs stream input adapter for "+u),this._upstreamEnded=!1,this._bindStream(f)}a.inherits(o,s),o.prototype._bindStream=function(u){var f=this;(this._stream=u).pause(),u.on("data",function(l){f.push({data:l,meta:{percent:0}})}).on("error",function(l){f.isPaused?this.generatedError=l:f.error(l)}).on("end",function(){f.isPaused?f._upstreamEnded=!0:f.end()})},o.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},n.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(r,n,i){var a=r("readable-stream").Readable;function s(o,u,f){a.call(this,u),this._helper=o;var l=this;o.on("data",function(c,h){l.push(c)||l._helper.pause(),f&&f(h)}).on("error",function(c){l.emit("error",c)}).on("end",function(){l.push(null)})}r("../utils").inherits(s,a),s.prototype._read=function(){this._helper.resume()},n.exports=s},{"../utils":32,"readable-stream":16}],14:[function(r,n,i){n.exports={isNode:typeof Buffer<"u",newBufferFrom:function(a,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,s);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,s)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var s=new Buffer(a);return s.fill(0),s},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(r,n,i){function a(b,w,C){var A,k=o.getTypeOf(w),D=o.extend(C||{},l);D.date=D.date||new Date,D.compression!==null&&(D.compression=D.compression.toUpperCase()),typeof D.unixPermissions=="string"&&(D.unixPermissions=parseInt(D.unixPermissions,8)),D.unixPermissions&&16384&D.unixPermissions&&(D.dir=!0),D.dosPermissions&&16&D.dosPermissions&&(D.dir=!0),D.dir&&(b=p(b)),D.createFolders&&(A=v(b))&&m.call(this,A,!0);var F=k==="string"&&D.binary===!1&&D.base64===!1;C&&C.binary!==void 0||(D.binary=!F),(w instanceof c&&w.uncompressedSize===0||D.dir||!w||w.length===0)&&(D.base64=!1,D.binary=!0,w="",D.compression="STORE",k="string");var T=null;T=w instanceof c||w instanceof u?w:g.isNode&&g.isStream(w)?new y(b,w):o.prepareContent(b,w,D.binary,D.optimizedBinaryString,D.base64);var R=new h(b,T,D);this.files[b]=R}var s=r("./utf8"),o=r("./utils"),u=r("./stream/GenericWorker"),f=r("./stream/StreamHelper"),l=r("./defaults"),c=r("./compressedObject"),h=r("./zipObject"),d=r("./generate"),g=r("./nodejsUtils"),y=r("./nodejs/NodejsStreamInputAdapter"),v=function(b){b.slice(-1)==="/"&&(b=b.substring(0,b.length-1));var w=b.lastIndexOf("/");return 0<w?b.substring(0,w):""},p=function(b){return b.slice(-1)!=="/"&&(b+="/"),b},m=function(b,w){return w=w!==void 0?w:l.createFolders,b=p(b),this.files[b]||a.call(this,b,null,{dir:!0,createFolders:w}),this.files[b]};function x(b){return Object.prototype.toString.call(b)==="[object RegExp]"}var _={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(b){var w,C,A;for(w in this.files)A=this.files[w],(C=w.slice(this.root.length,w.length))&&w.slice(0,this.root.length)===this.root&&b(C,A)},filter:function(b){var w=[];return this.forEach(function(C,A){b(C,A)&&w.push(A)}),w},file:function(b,w,C){if(arguments.length!==1)return b=this.root+b,a.call(this,b,w,C),this;if(x(b)){var A=b;return this.filter(function(D,F){return!F.dir&&A.test(D)})}var k=this.files[this.root+b];return k&&!k.dir?k:null},folder:function(b){if(!b)return this;if(x(b))return this.filter(function(k,D){return D.dir&&b.test(k)});var w=this.root+b,C=m.call(this,w),A=this.clone();return A.root=C.name,A},remove:function(b){b=this.root+b;var w=this.files[b];if(w||(b.slice(-1)!=="/"&&(b+="/"),w=this.files[b]),w&&!w.dir)delete this.files[b];else for(var C=this.filter(function(k,D){return D.name.slice(0,b.length)===b}),A=0;A<C.length;A++)delete this.files[C[A].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")}
vendor: 79,947 bytes, line 150
150,generateInternalStream:function(b){var w,C={};try{if((C=o.extend(b||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=C.type.toLowerCase(),C.compression=C.compression.toUpperCase(),C.type==="binarystring"&&(C.type="string"),!C.type)throw new Error("No output type specified.");o.checkSupport(C.type),C.platform!=="darwin"&&C.platform!=="freebsd"&&C.platform!=="linux"&&C.platform!=="sunos"||(C.platform="UNIX"),C.platform==="win32"&&(C.platform="DOS");var A=C.comment||this.comment||"";w=d.generateWorker(this,C,A)}catch(k){(w=new u("error")).error(k)}return new f(w,C.type||"string",C.mimeType)},generateAsync:function(b,w){return this.generateInternalStream(b).accumulate(w)},generateNodeStream:function(b,w){return(b=b||{}).type||(b.type="nodebuffer"),this.generateInternalStream(b).toNodejsStream(w)}};n.exports=_},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(r,n,i){n.exports=r("stream")},{stream:void 0}],17:[function(r,n,i){var a=r("./DataReader");function s(o){a.call(this,o);for(var u=0;u<this.data.length;u++)o[u]=255&o[u]}r("../utils").inherits(s,a),s.prototype.byteAt=function(o){return this.data[this.zero+o]},s.prototype.lastIndexOfSignature=function(o){for(var u=o.charCodeAt(0),f=o.charCodeAt(1),l=o.charCodeAt(2),c=o.charCodeAt(3),h=this.length-4;0<=h;--h)if(this.data[h]===u&&this.data[h+1]===f&&this.data[h+2]===l&&this.data[h+3]===c)return h-this.zero;return-1},s.prototype.readAndCheckSignature=function(o){var u=o.charCodeAt(0),f=o.charCodeAt(1),l=o.charCodeAt(2),c=o.charCodeAt(3),h=this.readData(4);return u===h[0]&&f===h[1]&&l===h[2]&&c===h[3]},s.prototype.readData=function(o){if(this.checkOffset(o),o===0)return[];var u=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,u},n.exports=s},{"../utils":32,"./DataReader":18}],18:[function(r,n,i){var a=r("../utils");function s(o){this.data=o,this.length=o.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(o){this.checkIndex(this.index+o)},checkIndex:function(o){if(this.length<this.zero+o||o<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+o+"). Corrupted zip ?")},setIndex:function(o){this.checkIndex(o),this.index=o},skip:function(o){this.setIndex(this.index+o)},byteAt:function(){},readInt:function(o){var u,f=0;for(this.checkOffset(o),u=this.index+o-1;u>=this.index;u--)f=(f<<8)+this.byteAt(u);return this.index+=o,f},readString:function(o){return a.transformTo("string",this.readData(o))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var o=this.readInt(4);return new Date(Date.UTC(1980+(o>>25&127),(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(31&o)<<1))}},n.exports=s},{"../utils":32}],19:[function(r,n,i){var a=r("./Uint8ArrayReader");function s(o){a.call(this,o)}r("../utils").inherits(s,a),s.prototype.readData=function(o){this.checkOffset(o);var u=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,u},n.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(r,n,i){var a=r("./DataReader");function s(o){a.call(this,o)}r("../utils").inherits(s,a),s.prototype.byteAt=function(o){return this.data.charCodeAt(this.zero+o)},s.prototype.lastIndexOfSignature=function(o){return this.data.lastIndexOf(o)-this.zero},s.prototype.readAndCheckSignature=function(o){return o===this.readData(4)},s.prototype.readData=function(o){this.checkOffset(o);var u=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,u},n.exports=s},{"../utils":32,"./DataReader":18}],21:[function(r,n,i){var a=r("./ArrayReader");function s(o){a.call(this,o)}r("../utils").inherits(s,a),s.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var u=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,u},n.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(r,n,i){var a=r("../utils"),s=r("../support"),o=r("./ArrayReader"),u=r("./StringReader"),f=r("./NodeBufferReader"),l=r("./Uint8ArrayReader");n.exports=function(c){var h=a.getTypeOf(c);return a.checkSupport(h),h!=="string"||s.uint8array?h==="nodebuffer"?new f(c):s.uint8array?new l(a.transformTo("uint8array",c)):new o(a.transformTo("array",c)):new u(c)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(r,n,i){i.LOCAL_FILE_HEADER="PK��",i.CENTRAL_FILE_HEADER="PK��",i.CENTRAL_DIRECTORY_END="PK��",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK�\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK��",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(r,n,i){var a=r("./GenericWorker"),s=r("../utils");function o(u){a.call(this,"ConvertWorker to "+u),this.destType=u}s.inherits(o,a),o.prototype.processChunk=function(u){this.push({data:s.transformTo(this.destType,u.data),meta:u.meta})},n.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(r,n,i){var a=r("./GenericWorker"),s=r("../crc32");function o(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r("../utils").inherits(o,a),o.prototype.processChunk=function(u){this.streamInfo.crc32=s(u.data,this.streamInfo.crc32||0),this.push(u)},n.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(r,n,i){var a=r("../utils"),s=r("./GenericWorker");function o(u){s.call(this,"DataLengthProbe for "+u),this.propName=u,this.withStreamInfo(u,0)}a.inherits(o,s),o.prototype.processChunk=function(u){if(u){var f=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=f+u.data.length}s.prototype.processChunk.call(this,u)},n.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(r,n,i){var a=r("../utils"),s=r("./GenericWorker");function o(u){s.call(this,"DataWorker");var f=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,u.then(function(l){f.dataIsReady=!0,f.data=l,f.max=l&&l.length||0,f.type=a.getTypeOf(l),f.isPaused||f._tickAndRepeat()},function(l){f.error(l)})}a.inherits(o,s),o.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var u=null,f=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":u=this.data.substring(this.index,f);break;case"uint8array":u=this.data.subarray(this.index,f);break;case"array":case"nodebuffer":u=this.data.slice(this.index,f)}return this.index=f,this.push({data:u,meta:{percent:this.max?this.index/this.max*100:0}})},n.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(r,n,i){function a(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}a.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,o){return this._listeners[s].push(o),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,o){if(this._listeners[s])for(var u=0;u<this._listeners[s].length;u++)this._listeners[s][u].call(this,o)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var o=this;return s.on("data",function(u){o.processChunk(u)}),s.on("end",function(){o.end()}),s.on("error",function(u){o.error(u)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,o){return this.extraStreamInfo[s]=o,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},n.exports=a},{}],29:[function(r,n,i){var a=r("../utils"),s=r("./ConvertWorker"),o=r("./GenericWorker"),u=r("../base64"),f=r("../support"),l=r("../external"),c=null;if(f.nodestream)try{c=r("../nodejs/NodejsStreamOutputAdapter")}catch{}function h(g,y){return new l.Promise(function(v,p){var m=[],x=g._internalType,_=g._outputType,b=g._mimeType;g.on("data",function(w,C){m.push(w),y&&y(C)}).on("error",function(w){m=[],p(w)}).on("end",function(){try{var w=function(C,A,k){switch(C){case"blob":return a.newBlob(a.transformTo("arraybuffer",A),k);case"base64":return u.encode(A);default:return a.transformTo(C,A)}}(_,function(C,A){var k,D=0,F=null,T=0;for(k=0;k<A.length;k++)T+=A[k].length;switch(C){case"string":return A.join("");case"array":return Array.prototype.concat.apply([],A);case"uint8array":for(F=new Uint8Array(T),k=0;k<A.length;k++)F.set(A[k],D),D+=A[k].length;return F;case"nodebuffer":return Buffer.concat(A);default:throw new Error("concat : unsupported type '"+C+"'")}}(x,m),b);v(w)}catch(C){p(C)}m=[]}).resume()})}function d(g,y,v){var p=y;switch(y){case"blob":case"arraybuffer":p="uint8array";break;case"base64":p="string"}try{this._internalType=p,this._outputType=y,this._mimeType=v,a.checkSupport(p),this._worker=g.pipe(new s(p)),g.lock()}catch(m){this._worker=new o("error"),this._worker.error(m)}}d.prototype={accumulate:function(g){return h(this,g)},on:function(g,y){var v=this;return g==="data"?this._worker.on(g,function(p){y.call(v,p.data,p.meta)}):this._worker.on(g,function(){a.delay(y,arguments,v)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(g){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:this._outputType!=="nodebuffer"},g)}},n.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(r,n,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var a=new ArrayBuffer(0);try{i.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(a),i.blob=s.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!r("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(r,n,i){for(var a=r("./utils"),s=r("./support"),o=r("./nodejsUtils"),u=r("./stream/GenericWorker"),f=new Array(256),l=0;l<256;l++)f[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;f[254]=f[254]=1;function c(){u.call(this,"utf-8 decode"),this.leftOver=null}function h(){u.call(this,"utf-8 encode")}i.utf8encode=function(d){return s.nodebuffer?o.newBufferFrom(d,"utf-8"):function(g){var y,v,p,m,x,_=g.length,b=0;for(m=0;m<_;m++)(64512&(v=g.charCodeAt(m)))==55296&&m+1<_&&(64512&(p=g.charCodeAt(m+1)))==56320&&(v=65536+(v-55296<<10)+(p-56320),m++),b+=v<128?1:v<2048?2:v<65536?3:4;for(y=s.uint8array?new Uint8Array(b):new Array(b),m=x=0;x<b;m++)(64512&(v=g.charCodeAt(m)))==55296&&m+1<_&&(64512&(p=g.charCodeAt(m+1)))==56320&&(v=65536+(v-55296<<10)+(p-56320),m++),v<128?y[x++]=v:(v<2048?y[x++]=192|v>>>6:(v<65536?y[x++]=224|v>>>12:(y[x++]=240|v>>>18,y[x++]=128|v>>>12&63),y[x++]=128|v>>>6&63),y[x++]=128|63&v);return y}(d)},i.utf8decode=function(d){return s.nodebuffer?a.transformTo("nodebuffer",d).toString("utf-8"):function(g){var y,v,p,m,x=g.length,_=new Array(2*x);for(y=v=0;y<x;)if((p=g[y++])<128)_[v++]=p;else if(4<(m=f[p]))_[v++]=65533,y+=m-1;else{for(p&=m===2?31:m===3?15:7;1<m&&y<x;)p=p<<6|63&g[y++],m--;1<m?_[v++]=65533:p<65536?_[v++]=p:(p-=65536,_[v++]=55296|p>>10&1023,_[v++]=56320|1023&p)}return _.length!==v&&(_.subarray?_=_.subarray(0,v):_.length=v),a.applyFromCharCode(_)}(d=a.transformTo(s.uint8array?"uint8array":"array",d))},a.inherits(c,u),c.prototype.processChunk=function(d){var g=a.transformTo(s.uint8array?"uint8array":"array",d.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var y=g;(g=new Uint8Array(y.length+this.leftOver.length)).set(this.leftOver,0),g.set(y,this.leftOver.length)}else g=this.leftOver.concat(g);this.leftOver=null}var v=function(m,x){var _;for((x=x||m.length)>m.length&&(x=m.length),_=x-1;0<=_&&(192&m[_])==128;)_--;return _<0||_===0?x:_+f[m[_]]>x?_:x}(g),p=g;v!==g.length&&(s.uint8array?(p=g.subarray(0,v),this.leftOver=g.subarray(v,g.length)):(p=g.slice(0,v),this.leftOver=g.slice(v,g.length))),this.push({data:i.utf8decode(p),meta:d.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=c,a.inherits(h,u),h.prototype.processChunk=function(d){this.push({data:i.utf8encode(d.data),meta:d.meta})},i.Utf8EncodeWorker=h},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(r,n,i){var a=r("./support"),s=r("./base64"),o=r("./nodejsUtils"),u=r("./external");function f(y){return y}function l(y,v){for(var p=0;p<y.length;++p)v[p]=255&y.charCodeAt(p);return v}r("setimmediate"),i.newBlob=function(y,v){i.checkSupport("blob");try{return new Blob([y],{type:v})}catch{try{var p=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return p.append(y),p.getBlob(v)}catch{throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(y,v,p){var m=[],x=0,_=y.length;if(_<=p)return String.fromCharCode.apply(null,y);for(;x<_;)v==="array"||v==="nodebuffer"?m.push(String.fromCharCode.apply(null,y.slice(x,Math.min(x+p,_)))):m.push(String.fromCharCode.apply(null,y.subarray(x,Math.min(x+p,_)))),x+=p;return m.join("")},stringifyByChar:function(y){for(var v="",p=0;p<y.length;p++)v+=String.fromCharCode(y[p]);return v},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,o.allocBuffer(1)).length===1}catch{return!1}}()}};function h(y){var v=65536,p=i.getTypeOf(y),m=!0;if(p==="uint8array"?m=c.applyCanBeUsed.uint8array:p==="nodebuffer"&&(m=c.applyCanBeUsed.nodebuffer),m)for(;1<v;)try{return c.stringifyByChunk(y,p,v)}catch{v=Math.floor(v/2)}return c.stringifyByChar(y)}function d(y,v){for(var p=0;p<y.length;p++)v[p]=y[p];return v}i.applyFromCharCode=h;var g={};g.string={string:f,array:function(y){return l(y,new Array(y.length))},arraybuffer:function(y){return g.string.uint8array(y).buffer},uint8array:function(y){return l(y,new Uint8Array(y.length))},nodebuffer:function(y){return l(y,o.allocBuffer(y.length))}},g.array={string:h,array:f,arraybuffer:function(y){return new Uint8Array(y).buffer},uint8array:function(y){return new Uint8Array(y)},nodebuffer:function(y){return o.newBufferFrom(y)}},g.arraybuffer={string:function(y){return h(new Uint8Array(y))},array:function(y){return d(new Uint8Array(y),new Array(y.byteLength))},arraybuffer:f,uint8array:function(y){return new Uint8Array(y)},nodebuffer:function(y){return o.newBufferFrom(new Uint8Array(y))}},g.uint8array={string:h,array:function(y){return d(y,new Array(y.length))},arraybuffer:function(y){return y.buffer},uint8array:f,nodebuffer:function(y){return o.newBufferFrom(y)}},g.nodebuffer={string:h,array:function(y){return d(y,new Array(y.length))},arraybuffer:function(y){return g.nodebuffer.uint8array(y).buffer},uint8array:function(y){return d(y,new Uint8Array(y.length))},nodebuffer:f},i.transformTo=function(y,v){if(v=v||"",!y)return v;i.checkSupport(y);var p=i.getTypeOf(v);return g[p][y](v)},i.resolve=function(y){for(var v=y.split("/"),p=[],m=0;m<v.length;m++){var x=v[m];x==="."||x===""&&m!==0&&m!==v.length-1||(x===".."?p.pop():p.push(x))}return p.join("/")},i.getTypeOf=function(y){return typeof y=="string"?"string":Object.prototype.toString.call(y)==="[object Array]"?"array":a.nodebuffer&&o.isBuffer(y)?"nodebuffer":a.uint8array&&y instanceof Uint8Array?"uint8array":a.arraybuffer&&y instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(y){if(!a[y.toLowerCase()])throw new Error(y+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(y){var v,p,m="";for(p=0;p<(y||"").length;p++)m+="\\x"+((v=y.charCodeAt(p))<16?"0":"")+v.toString(16).toUpperCase();return m},i.delay=function(y,v,p){setImmediate(function(){y.apply(p||null,v||[])})},i.inherits=function(y,v){function p(){}p.prototype=v.prototype,y.prototype=new p},i.extend=function(){var y,v,p={};for(y=0;y<arguments.length;y++)for(v in arguments[y])Object.prototype.hasOwnProperty.call(arguments[y],v)&&p[v]===void 0&&(p[v]=arguments[y][v]);return p},i.prepareContent=function(y,v,p,m,x){return u.Promise.resolve(v).then(function(_){return a.blob&&(_ instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(_))!==-1)&&typeof FileReader<"u"?new u.Promise(function(b,w){var C=new FileReader;C.onload=function(A){b(A.target.result)},C.onerror=function(A){w(A.target.error)},C.readAsArrayBuffer(_)}):_}).then(function(_){var b=i.getTypeOf(_);return b?(b==="arraybuffer"?_=i.transformTo("uint8array",_):b==="string"&&(x?_=s.decode(_):p&&m!==!0&&(_=function(w){return l(w,a.uint8array?new Uint8Array(w.length):new Array(w.length))}(_))),_):u.Promise.reject(new Error("Can't read the data of '"+y+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(r,n,i){var a=r("./reader/readerFor"),s=r("./utils"),o=r("./signature"),u=r("./zipEntry"),f=r("./support");function l(c){this.files=[],this.loadOptions=c}l.prototype={checkSignature:function(c){if(!this.reader.readAndCheckSignature(c)){this.reader.index-=4;var h=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(h)+", expected "+s.pretty(c)+")")}},isSignature:function(c,h){var d=this.reader.index;this.reader.setIndex(c);var g=this.reader.readString(4)===h;return this.reader.setIndex(d),g},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var c=this.reader.readData(this.zipCommentLength),h=f.uint8array?"uint8array":"array",d=s.transformTo(h,c);this.zipComment=this.loadOptions.decodeFileName(d)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var c,h,d,g=this.zip64EndOfCentralSize-44;0<g;)c=this.reader.readInt(2),h=this.reader.readInt(4),d=this.reader.readData(h),this.zip64ExtensibleData[c]={id:c,length:h,value:d}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var c,h;for(c=0;c<this.files.length;c++)h=this.files[c],this.reader.setIndex(h.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),h.readLocalPart(this.reader),h.handleUTF8(),h.processAttributes()},readCentralDir:function(){var c;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(c=new u({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(c);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var c=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(c<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(c);var h=c;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(c=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(c),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var d=this.centralDirOffset+this.centralDirSize;this.zip64&&(d+=20,d+=12+this.zip64EndOfCentralSize);var g=h-d;if(0<g)this.isSignature(h,o.CENTRAL_FILE_HEADER)||(this.reader.zero=g);else if(g<0)throw new Error("Corrupted zip: missing "+Math.abs(g)+" bytes.")},prepareReader:function(c){this.reader=a(c)},load:function(c){this.prepareReader(c),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},n.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(r,n,i){var a=r("./reader/readerFor"),s=r("./utils"),o=r("./compressedObject"),u=r("./crc32"),f=r("./utf8"),l=r("./compressions"),c=r("./support");function h(d,g){this.options=d,this.loadOptions=g}h.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(d){var g,y;if(d.skip(22),this.fileNameLength=d.readInt(2),y=d.readInt(2),this.fileName=d.readData(this.fileNameLength),d.skip(y),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((g=function(v){for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)&&l[p].magic===v)return l[p];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,g,d.readData(this.compressedSize))},readCentralPart:function(d){this.versionMadeBy=d.readInt(2),d.skip(2),this.bitFlag=d.readInt(2),this.compressionMethod=d.readString(2),this.date=d.readDate(),this.crc32=d.readInt(4),this.compressedSize=d.readInt(4),this.uncompressedSize=d.readInt(4);var g=d.readInt(2);if(this.extraFieldsLength=d.readInt(2),this.fileCommentLength=d.readInt(2),this.diskNumberStart=d.readInt(2),this.internalFileAttributes=d.readInt(2),this.externalFileAttributes=d.readInt(4),this.localHeaderOffset=d.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");d.skip(g),this.readExtraFields(d),this.parseZIP64ExtraField(d),this.fileComment=d.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var d=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),d==0&&(this.dosPermissions=63&this.externalFileAttributes),d==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var d=a(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=d.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=d.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=d.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=d.readInt(4))}},readExtraFields:function(d){var g,y,v,p=d.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});d.index+4<p;)g=d.readInt(2),y=d.readInt(2),v=d.readData(y),this.extraFields[g]={id:g,length:y,value:v};d.setIndex(p)},handleUTF8:function(){var d=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=f.utf8decode(this.fileName),this.fileCommentStr=f.utf8decode(this.fileComment);else{var g=this.findExtraFieldUnicodePath();if(g!==null)this.fileNameStr=g;else{var y=s.transformTo(d,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(y)}var v=this.findExtraFieldUnicodeComment();if(v!==null)this.fileCommentStr=v;else{var p=s.transformTo(d,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(p)}}},findExtraFieldUnicodePath:function(){var d=this.extraFields[28789];if(d){var g=a(d.value);return g.readInt(1)!==1||u(this.fileName)!==g.readInt(4)?null:f.utf8decode(g.readData(d.length-5))}return null},findExtraFieldUnicodeComment:function(){var d=this.extraFields[25461];if(d){var g=a(d.value);return g.readInt(1)!==1||u(this.fileComment)!==g.readInt(4)?null:f.utf8decode(g.readData(d.length-5))}return null}},n.exports=h},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(r,n,i){function a(g,y,v){this.name=g,this.dir=v.dir,this.date=v.date,this.comment=v.comment,this.unixPermissions=v.unixPermissions,this.dosPermissions=v.dosPermissions,this._data=y,this._dataBinary=v.binary,this.options={compression:v.compression,compressionOptions:v.compressionOptions}}var s=r("./stream/StreamHelper"),o=r("./stream/DataWorker"),u=r("./utf8"),f=r("./compressedObject"),l=r("./stream/GenericWorker");a.prototype={internalStream:function(g){var y=null,v="string";try{if(!g)throw new Error("No output type specified.");var p=(v=g.toLowerCase())==="string"||v==="text";v!=="binarystring"&&v!=="text"||(v="string"),y=this._decompressWorker();var m=!this._dataBinary;m&&!p&&(y=y.pipe(new u.Utf8EncodeWorker)),!m&&p&&(y=y.pipe(new u.Utf8DecodeWorker))}catch(x){(y=new l("error")).error(x)}return new s(y,v,"")},async:function(g,y){return this.internalStream(g).accumulate(y)},nodeStream:function(g,y){return this.internalStream(g||"nodebuffer").toNodejsStream(y)},_compressWorker:function(g,y){if(this._data instanceof f&&this._data.compression.magic===g.magic)return this._data.getCompressedWorker();var v=this._decompressWorker();return this._dataBinary||(v=v.pipe(new u.Utf8EncodeWorker)),f.createWorkerFrom(v,g,y)},_decompressWorker:function(){return this._data instanceof f?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],h=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<c.length;d++)a.prototype[c[d]]=h;n.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(r,n,i){(function(a){var s,o,u=a.MutationObserver||a.WebKitMutationObserver;if(u){var f=0,l=new u(g),c=a.document.createTextNode("");l.observe(c,{characterData:!0}),s=function(){c.data=f=++f%2}}else if(a.setImmediate||a.MessageChannel===void 0)s="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var y=a.document.createElement("script");y.onreadystatechange=function(){g(),y.onreadystatechange=null,y.parentNode.removeChild(y),y=null},a.document.documentElement.appendChild(y)}:function(){setTimeout(g,0)};else{var h=new a.MessageChannel;h.port1.onmessage=g,s=function(){h.port2.postMessage(0)}}var d=[];function g(){var y,v;o=!0;for(var p=d.length;p;){for(v=d,d=[],y=-1;++y<p;)v[y]();p=d.length}o=!1}n.exports=function(y){d.push(y)!==1||o||s()}}).call(this,typeof lt<"u"?lt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(r,n,i){var a=r("immediate");function s(){}var o={},u=["REJECTED"],f=["FULFILLED"],l=["PENDING"];function c(p){if(typeof p!="function")throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,p!==s&&y(this,p)}function h(p,m,x){this.promise=p,typeof m=="function"&&(this.onFulfilled=m,this.callFulfilled=this.otherCallFulfilled),typeof x=="function"&&(this.onRejected=x,this.callRejected=this.otherCallRejected)}function d(p,m,x){a(function(){var _;try{_=m(x)}catch(b){return o.reject(p,b)}_===p?o.reject(p,new TypeError("Cannot resolve promise with itself")):o.resolve(p,_)})}function g(p){var m=p&&p.then;if(p&&(typeof p=="object"||typeof p=="function")&&typeof m=="function")return function(){m.apply(p,arguments)}}function y(p,m){var x=!1;function _(C){x||(x=!0,o.reject(p,C))}function b(C){x||(x=!0,o.resolve(p,C))}var w=v(function(){m(b,_)});w.status==="error"&&_(w.value)}function v(p,m){var x={};try{x.value=p(m),x.status="success"}catch(_){x.status="error",x.value=_}return x}(n.exports=c).prototype.finally=function(p){if(typeof p!="function")return this;var m=this.constructor;return this.then(function(x){return m.resolve(p()).then(function(){return x})},function(x){return m.resolve(p()).then(function(){throw x})})},c.prototype.catch=function(p){return this.then(null,p)},c.prototype.then=function(p,m){if(typeof p!="function"&&this.state===f||typeof m!="function"&&this.state===u)return this;var x=new this.constructor(s);return this.state!==l?d(x,this.state===f?p:m,this.outcome):this.queue.push(new h(x,p,m)),x},h.prototype.callFulfilled=function(p){o.resolve(this.promise,p)},h.prototype.otherCallFulfilled=function(p){d(this.promise,this.onFulfilled,p)},h.prototype.callRejected=function(p){o.reject(this.promise,p)},h.prototype.otherCallRejected=function(p){d(this.promise,this.onRejected,p)},o.resolve=function(p,m){var x=v(g,m);if(x.status==="error")return o.reject(p,x.value);var _=x.value;if(_)y(p,_);else{p.state=f,p.outcome=m;for(var b=-1,w=p.queue.length;++b<w;)p.queue[b].callFulfilled(m)}return p},o.reject=function(p,m){p.state=u,p.outcome=m;for(var x=-1,_=p.queue.length;++x<_;)p.queue[x].callRejected(m);return p},c.resolve=function(p){return p instanceof this?p:o.resolve(new this(s),p)},c.reject=function(p){var m=new this(s);return o.reject(m,p)},c.all=function(p){var m=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var x=p.length,_=!1;if(!x)return this.resolve([]);for(var b=new Array(x),w=0,C=-1,A=new this(s);++C<x;)k(p[C],C);return A;function k(D,F){m.resolve(D).then(function(T){b[F]=T,++w!==x||_||(_=!0,o.resolve(A,b))},function(T){_||(_=!0,o.reject(A,T))})}},c.race=function(p){var m=this;if(Object.prototype.toString.call(p)!=="[object Array]")return this.reject(new TypeError("must be an array"));var x=p.length,_=!1;if(!x)return this.resolve([]);for(var b=-1,w=new this(s);++b<x;)C=p[b],m.resolve(C).then(function(A){_||(_=!0,o.resolve(w,A))},function(A){_||(_=!0,o.reject(w,A))});var C;return w}},{immediate:36}],38:[function(r,n,i){var a={};(0,r("./lib/utils/common").assign)(a,r("./lib/deflate"),r("./lib/inflate"),r("./lib/zlib/constants")),n.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(r,n,i){var a=r("./zlib/deflate"),s=r("./utils/common"),o=r("./utils/strings"),u=r("./zlib/messages"),f=r("./zlib/zstream"),l=Object.prototype.toString,c=0,h=-1,d=0,g=8;function y(p){if(!(this instanceof y))return new y(p);this.options=s.assign({level:h,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},p||{});var m=this.options;m.raw&&0<m.windowBits?m.windowBits=-m.windowBits:m.gzip&&0<m.windowBits&&m.windowBits<16&&(m.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var x=a.deflateInit2(this.strm,m.level,m.method,m.windowBits,m.memLevel,m.strategy);if(x!==c)throw new Error(u[x]);if(m.header&&a.deflateSetHeader(this.strm,m.header),m.dictionary){var _;if(_=typeof m.dictionary=="string"?o.string2buf(m.dictionary):l.call(m.dictionary)==="[object ArrayBuffer]"?new Uint8Array(m.dictionary):m.dictionary,(x=a.deflateSetDictionary(this.strm,_))!==c)throw new Error(u[x]);this._dict_set=!0}}function v(p,m){var x=new y(m);if(x.push(p,!0),x.err)throw x.msg||u[x.err];return x.result}y.prototype.push=function(p,m){var x,_,b=this.strm,w=this.options.chunkSize;if(this.ended)return!1;_=m===~~m?m:m===!0?4:0,typeof p=="string"?b.input=o.string2buf(p):l.call(p)==="[object ArrayBuffer]"?b.input=new Uint8Array(p):b.input=p,b.next_in=0,b.avail_in=b.input.length;do{if(b.avail_out===0&&(b.output=new s.Buf8(w),b.next_out=0,b.avail_out=w),(x=a.deflate(b,_))!==1&&x!==c)return this.onEnd(x),!(this.ended=!0);b.avail_out!==0&&(b.avail_in!==0||_!==4&&_!==2)||(this.options.to==="string"?this.onData(o.buf2binstring(s.shrinkBuf(b.output,b.next_out))):this.onData(s.shrinkBuf(b.output,b.next_out)))}while((0<b.avail_in||b.avail_out===0)&&x!==1);return _===4?(x=a.deflateEnd(this.strm),this.onEnd(x),this.ended=!0,x===c):_!==2||(this.onEnd(c),!(b.avail_out=0))},y.prototype.onData=function(p){this.chunks.push(p)},y.prototype.onEnd=function(p){p===c&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=p,this.msg=this.strm.msg},i.Deflate=y,i.deflate=v,i.deflateRaw=function(p,m){return(m=m||{}).raw=!0,v(p,m)},i.gzip=function(p,m){return(m=m||{}).gzip=!0,v(p,m)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(r,n,i){var a=r("./zlib/inflate"),s=r("./utils/common"),o=r("./utils/strings"),u=r("./zlib/constants"),f=r("./zlib/messages"),l=r("./zlib/zstream"),c=r("./zlib/gzheader"),h=Object.prototype.toString;function d(y){if(!(this instanceof d))return new d(y);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},y||{});var v=this.options;v.raw&&0<=v.windowBits&&v.windowBits<16&&(v.windowBits=-v.windowBits,v.windowBits===0&&(v.windowBits=-15)),!(0<=v.windowBits&&v.windowBits<16)||y&&y.windowBits||(v.windowBits+=32),15<v.windowBits&&v.windowBits<48&&(15&v.windowBits)==0&&(v.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var p=a.inflateInit2(this.strm,v.windowBits);if(p!==u.Z_OK)throw new Error(f[p]);this.header=new c,a.inflateGetHeader(this.strm,this.header)}function g(y,v){var p=new d(v);if(p.push(y,!0),p.err)throw p.msg||f[p.err];return p.result}d.prototype.push=function(y,v){var p,m,x,_,b,w,C=this.strm,A=this.options.chunkSize,k=this.options.dictionary,D=!1;if(this.ended)return!1;m=v===~~v?v:v===!0?u.Z_FINISH:u.Z_NO_FLUSH,typeof y=="string"?C.input=o.binstring2buf(y):h.call(y)==="[object ArrayBuffer]"?C.input=new Uint8Array(y):C.input=y,C.next_in=0,C.avail_in=C.input.length;do{if(C.avail_out===0&&(C.output=new s.Buf8(A),C.next_out=0,C.avail_out=A),(p=a.inflate(C,u.Z_NO_FLUSH))===u.Z_NEED_DICT&&k&&(w=typeof k=="string"?o.string2buf(k):h.call(k)==="[object ArrayBuffer]"?new Uint8Array(k):k,p=a.inflateSetDictionary(this.strm,w)),p===u.Z_BUF_ERROR&&D===!0&&(p=u.Z_OK,D=!1),p!==u.Z_STREAM_END&&p!==u.Z_OK)return this.onEnd(p),!(this.ended=!0);C.next_out&&(C.avail_out!==0&&p!==u.Z_STREAM_END&&(C.avail_in!==0||m!==u.Z_FINISH&&m!==u.Z_SYNC_FLUSH)||(this.options.to==="string"?(x=o.utf8border(C.output,C.next_out),_=C.next_out-x,b=o.buf2string(C.output,x),C.next_out=_,C.avail_out=A-_,_&&s.arraySet(C.output,C.output,x,_,0),this.onData(b)):this.onData(s.shrinkBuf(C.output,C.next_out)))),C.avail_in===0&&C.avail_out===0&&(D=!0)}while((0<C.avail_in||C.avail_out===0)&&p!==u.Z_STREAM_END);return p===u.Z_STREAM_END&&(m=u.Z_FINISH),m===u.Z_FINISH?(p=a.inflateEnd(this.strm),this.onEnd(p),this.ended=!0,p===u.Z_OK):m!==u.Z_SYNC_FLUSH||(this.onEnd(u.Z_OK),!(C.avail_out=0))},d.prototype.onData=function(y){this.chunks.push(y)},d.prototype.onEnd=function(y){y===u.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg},i.Inflate=d,i.inflate=g,i.inflateRaw=function(y,v){return(v=v||{}).raw=!0,g(y,v)},i.ungzip=g},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(r,n,i){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(u){for(var f=Array.prototype.slice.call(arguments,1);f.length;){var l=f.shift();if(l){if(typeof l!="object")throw new TypeError(l+"must be non-object");for(var c in l)l.hasOwnProperty(c)&&(u[c]=l[c])}}return u},i.shrinkBuf=function(u,f){return u.length===f?u:u.subarray?u.subarray(0,f):(u.length=f,u)};var s={arraySet:function(u,f,l,c,h){if(f.subarray&&u.subarray)u.set(f.subarray(l,l+c),h);else for(var d=0;d<c;d++)u[h+d]=f[l+d]},flattenChunks:function(u){var f,l,c,h,d,g;for(f=c=0,l=u.length;f<l;f++)c+=u[f].length;for(g=new Uint8Array(c),f=h=0,l=u.length;f<l;f++)d=u[f],g.set(d,h),h+=d.length;return g}},o={arraySet:function(u,f,l,c,h){for(var d=0;d<c;d++)u[h+d]=f[l+d]},flattenChunks:function(u){return[].concat.apply([],u)}};i.setTyped=function(u){u?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,s)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,o))},i.setTyped(a)},{}],42:[function(r,n,i){var a=r("./common"),s=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{o=!1}for(var u=new a.Buf8(256),f=0;f<256;f++)u[f]=252<=f?6:248<=f?5:240<=f?4:224<=f?3:192<=f?2:1;function l(c,h){if(h<65537&&(c.subarray&&o||!c.subarray&&s))return String.fromCharCode.apply(null,a.shrinkBuf(c,h));for(var d="",g=0;g<h;g++)d+=String.fromCharCode(c[g]);return d}u[254]=u[254]=1,i.string2buf=function(c){var h,d,g,y,v,p=c.length,m=0;for(y=0;y<p;y++)(64512&(d=c.charCodeAt(y)))==55296&&y+1<p&&(64512&(g=c.charCodeAt(y+1)))==56320&&(d=65536+(d-55296<<10)+(g-56320),y++),m+=d<128?1:d<2048?2:d<65536?3:4;for(h=new a.Buf8(m),y=v=0;v<m;y++)(64512&(d=c.charCodeAt(y)))==55296&&y+1<p&&(64512&(g=c.charCodeAt(y+1)))==56320&&(d=65536+(d-55296<<10)+(g-56320),y++),d<128?h[v++]=d:(d<2048?h[v++]=192|d>>>6:(d<65536?h[v++]=224|d>>>12:(h[v++]=240|d>>>18,h[v++]=128|d>>>12&63),h[v++]=128|d>>>6&63),h[v++]=128|63&d);return h},i.buf2binstring=function(c){return l(c,c.length)},i.binstring2buf=function(c){for(var h=new a.Buf8(c.length),d=0,g=h.length;d<g;d++)h[d]=c.charCodeAt(d);return h},i.buf2string=function(c,h){var d,g,y,v,p=h||c.length,m=new Array(2*p);for(d=g=0;d<p;)if((y=c[d++])<128)m[g++]=y;else if(4<(v=u[y]))m[g++]=65533,d+=v-1;else{for(y&=v===2?31:v===3?15:7;1<v&&d<p;)y=y<<6|63&c[d++],v--;1<v?m[g++]=65533:y<65536?m[g++]=y:(y-=65536,m[g++]=55296|y>>10&1023,m[g++]=56320|1023&y)}return l(m,g)},i.utf8border=function(c,h){var d;for((h=h||c.length)>c.length&&(h=c.length),d=h-1;0<=d&&(192&c[d])==128;)d--;return d<0||d===0?h:d+u[c[d]]>h?d:h}},{"./common":41}],43:[function(r,n,i){n.exports=function(a,s,o,u){for(var f=65535&a|0,l=a>>>16&65535|0,c=0;o!==0;){for(o-=c=2e3<o?2e3:o;l=l+(f=f+s[u++]|0)|0,--c;);f%=65521,l%=65521}return f|l<<16|0}},{}],44:[function(r,n,i){n.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(r,n,i){var a=function(){for(var s,o=[],u=0;u<256;u++){s=u;for(var f=0;f<8;f++)s=1&s?3988292384^s>>>1:s>>>1;o[u]=s}return o}();n.exports=function(s,o,u,f){var l=a,c=f+u;s^=-1;for(var h=f;h<c;h++)s=s>>>8^l[255&(s^o[h])];return-1^s}},{}],46:[function(r,n,i){var a,s=r("../utils/common"),o=r("./trees"),u=r("./adler32"),f=r("./crc32"),l=r("./messages"),c=0,h=4,d=0,g=-2,y=-1,v=4,p=2,m=8,x=9,_=286,b=30,w=19,C=2*_+1,A=15,k=3,D=258,F=D+k+1,T=42,R=113,E=1,z=2,W=3,q=4;function G(S,Q){return S.msg=l[Q],Q}function Y(S){return(S<<1)-(4<S?9:0)}function Z(S){for(var Q=S.length;0<=--Q;)S[Q]=0}function I(S){var Q=S.state,H=Q.pending;H>S.avail_out&&(H=S.avail_out),H!==0&&(s.arraySet(S.output,Q.pending_buf,Q.pending_out,H,S.next_out),S.next_out+=H,Q.pending_out+=H,S.total_out+=H,S.avail_out-=H,Q.pending-=H,Q.pending===0&&(Q.pending_out=0))}function P(S,Q){o._tr_flush_block(S,0<=S.block_start?S.block_start:-1,S.strstart-S.block_start,Q),S.block_start=S.strstart,I(S.strm)}function j(S,Q){S.pending_buf[S.pending++]=Q}function $(S,Q){S.pending_buf[S.pending++]=Q>>>8&255,S.pending_buf[S.pending++]=255&Q}function X(S,Q){var H,M,L=S.max_chain_length,U=S.strstart,B=S.prev_length,O=S.nice_match,N=S.strstart>S.w_size-F?S.strstart-(S.w_size-F):0,V=S.window,J=S.w_mask,K=S.prev,it=S.strstart+D,st=V[U+B-1],ft=V[U+B];S.prev_length>=S.good_match&&(L>>=2),O>S.lookahead&&(O=S.lookahead);do if(V[(H=Q)+B]===ft&&V[H+B-1]===st&&V[H]===V[U]&&V[++H]===V[U+1]){U+=2,H++;do;while(V[++U]===V[++H]&&V[++U]===V[++H]&&V[++U]===V[++H]&&V[++U]===V[++H]&&V[++U]===V[++H]&&V[++U]===V[++H]&&V[++U]===V[++H]&&V[++U]===V[++H]&&U<it);if(M=D-(it-U),U=it-D,B<M){if(S.match_start=Q,O<=(B=M))break;st=V[U+B-1],ft=V[U+B]}}while((Q=K[Q&J])>N&&--L!=0);return B<=S.lookahead?B:S.lookahead}function tt(S){var Q,H,M,L,U,B,O,N,V,J,K=S.w_size;do{if(L=S.window_size-S.lookahead-S.strstart,S.strstart>=K+(K-F)){for(s.arraySet(S.window,S.window,K,K,0),S.match_start-=K,S.strstart-=K,S.block_start-=K,Q=H=S.hash_size;M=S.head[--Q],S.head[Q]=K<=M?M-K:0,--H;);for(Q=H=K;M=S.prev[--Q],S.prev[Q]=K<=M?M-K:0,--H;);L+=K}if(S.strm.avail_in===0)break;if(B=S.strm,O=S.window,N=S.strstart+S.lookahead,V=L,J=void 0,J=B.avail_in,V<J&&(J=V),H=J===0?0:(B.avail_in-=J,s.arraySet(O,B.input,B.next_in,J,N),B.state.wrap===1?B.adler=u(B.adler,O,J,N):B.state.wrap===2&&(B.adler=f(B.adler,O,J,N)),B.next_in+=J,B.total_in+=J,J),S.lookahead+=H,S.lookahead+S.insert>=k)for(U=S.strstart-S.insert,S.ins_h=S.window[U],S.ins_h=(S.ins_h<<S.hash_shift^S.window[U+1])&S.hash_mask;S.insert&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[U+k-1])&S.hash_mask,S.prev[U&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=U,U++,S.insert--,!(S.lookahead+S.insert<k)););}while(S.lookahead<F&&S.strm.avail_in!==0)}function nt(S,Q){for(var H,M;;){if(S.lookahead<F){if(tt(S),S.lookahead<F&&Q===c)return E;if(S.lookahead===0)break}if(H=0,S.lookahead>=k&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+k-1])&S.hash_mask,H=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),H!==0&&S.strstart-H<=S.w_size-F&&(S.match_length=X(S,H)),S.match_length>=k)if(M=o._tr_tally(S,S.strstart-S.match_start,S.match_length-k),S.lookahead-=S.match_length,S.match_length<=S.max_lazy_match&&S.lookahead>=k){for(S.match_length--;S.strstart++,S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+k-1])&S.hash_mask,H=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart,--S.match_length!=0;);S.strstart++}else S.strstart+=S.match_length,S.match_length=0,S.ins_h=S.window[S.strstart],S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+1])&S.hash_mask;else M=o._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++;if(M&&(P(S,!1),S.strm.avail_out===0))return E}return S.insert=S.strstart<k-1?S.strstart:k-1,Q===h?(P(S,!0),S.strm.avail_out===0?W:q):S.last_lit&&(P(S,!1),S.strm.avail_out===0)?E:z}function et(S,Q){for(var H,M,L;;){if(S.lookahead<F){if(tt(S),S.lookahead<F&&Q===c)return E;if(S.lookahead===0)break}if(H=0,S.lookahead>=k&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+k-1])&S.hash_mask,H=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),S.prev_length=S.match_length,S.prev_match=S.match_start,S.match_length=k-1,H!==0&&S.prev_length<S.max_lazy_match&&S.strstart-H<=S.w_size-F&&(S.match_length=X(S,H),S.match_length<=5&&(S.strategy===1||S.match_length===k&&4096<S.strstart-S.match_start)&&(S.match_length=k-1)),S.prev_length>=k&&S.match_length<=S.prev_length){for(L=S.strstart+S.lookahead-k,M=o._tr_tally(S,S.strstart-1-S.prev_match,S.prev_length-k),S.lookahead-=S.prev_length-1,S.prev_length-=2;++S.strstart<=L&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+k-1])&S.hash_mask,H=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),--S.prev_length!=0;);if(S.match_available=0,S.match_length=k-1,S.strstart++,M&&(P(S,!1),S.strm.avail_out===0))return E}else if(S.match_available){if((M=o._tr_tally(S,0,S.window[S.strstart-1]))&&P(S,!1),S.strstart++,S.lookahead--,S.strm.avail_out===0)return E}else S.match_available=1,S.strstart++,S.lookahead--}return S.match_available&&(M=o._tr_tally(S,0,S.window[S.strstart-1]),S.match_available=0),S.insert=S.strstart<k-1?S.strstart:k-1,Q===h?(P(S,!0),S.strm.avail_out===0?W:q):S.last_lit&&(P(S,!1),S.strm.avail_out===0)?E:z}function at(S,Q,H,M,L){this.good_length=S,this.max_lazy=Q,this.nice_length=H,this.max_chain=M,this.func=L}function ot(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=m,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*C),this.dyn_dtree=new s.Buf16(2*(2*b+1)),this.bl_tree=new s.Buf16(2*(2*w+1)),Z(this.dyn_ltree),Z(this.dyn_dtree),Z(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(A+1),this.heap=new s.Buf16(2*_+1),Z(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*_+1),Z(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function rt(S){var Q;return S&&S.state?(S.total_in=S.total_out=0,S.data_type=p,(Q=S.state).pending=0,Q.pending_out=0,Q.wrap<0&&(Q.wrap=-Q.wrap),Q.status=Q.wrap?T:R,S.adler=Q.wrap===2?0:1,Q.last_flush=c,o._tr_init(Q),d):G(S,g)}function ut(S){var Q=rt(S);return Q===d&&function(H){H.window_size=2*H.w_size,Z(H.head),H.max_lazy_match=a[H.level].max_lazy,H.good_match=a[H.level].good_length,H.nice_match=a[H.level].nice_length,H.max_chain_length=a[H.level].max_chain,H.strstart=0,H.block_start=0,H.lookahead=0,H.insert=0,H.match_length=H.prev_length=k-1,H.match_available=0,H.ins_h=0}(S.state),Q}function ct(S,Q,H,M,L,U){if(!S)return g;var B=1;if(Q===y&&(Q=6),M<0?(B=0,M=-M):15<M&&(B=2,M-=16),L<1||x<L||H!==m||M<8||15<M||Q<0||9<Q||U<0||v<U)return G(S,g);M===8&&(M=9);var O=new ot;return(S.state=O).strm=S,O.wrap=B,O.gzhead=null,O.w_bits=M,O.w_size=1<<O.w_bits,O.w_mask=O.w_size-1,O.hash_bits=L+7,O.hash_size=1<<O.hash_bits,O.hash_mask=O.hash_size-1,O.hash_shift=~~((O.hash_bits+k-1)/k),O.window=new s.Buf8(2*O.w_size),O.head=new s.Buf16(O.hash_size),O.prev=new s.Buf16(O.w_size),O.lit_bufsize=1<<L+6,O.pending_buf_size=4*O.lit_bufsize,O.pending_buf=new s.Buf8(O.pending_buf_size),O.d_buf=1*O.lit_bufsize,O.l_buf=3*O.lit_bufsize,O.level=Q,O.strategy=U,O.method=H,ut(S)}a=[new at(0,0,0,0,function(S,Q){var H=65535;for(H>S.pending_buf_size-5&&(H=S.pending_buf_size-5);;){if(S.lookahead<=1){if(tt(S),S.lookahead===0&&Q===c)return E;if(S.lookahead===0)break}S.strstart+=S.lookahead,S.lookahead=0;var M=S.block_start+H;if((S.strstart===0||S.strstart>=M)&&(S.lookahead=S.strstart-M,S.strstart=M,P(S,!1),S.strm.avail_out===0)||S.strstart-S.block_start>=S.w_size-F&&(P(S,!1),S.strm.avail_out===0))return E}return S.insert=0,Q===h?(P(S,!0),S.strm.avail_out===0?W:q):(S.strstart>S.block_start&&(P(S,!1),S.strm.avail_out),E)}),new at(4,4,8,4,nt),new at(4,5,16,8,nt),new at(4,6,32,32,nt),new at(4,4,16,16,et),new at(8,16,32,32,et),new at(8,16,128,128,et),new at(8,32,128,256,et),new at(32,128,258,1024,et),new at(32,258,258,4096,et)],i.deflateInit=function(S,Q){return ct(S,Q,m,15,8,0)},i.deflateInit2=ct,i.deflateReset=ut,i.deflateResetKeep=rt,i.deflateSetHeader=function(S,Q){return S&&S.state?S.state.wrap!==2?g:(S.state.gzhead=Q,d):g},i.deflate=function(S,Q){var H,M,L,U;if(!S||!S.state||5<Q||Q<0)return S?G(S,g):g;if(M=S.state,!S.output||!S.input&&S.avail_in!==0||M.status===666&&Q!==h)return G(S,S.avail_out===0?-5:g);if(M.strm=S,H=M.last_flush,M.last_flush=Q,M.status===T)if(M.wrap===2)S.adler=0,j(M,31),j(M,139),j(M,8),M.gzhead?(j(M,(M.gzhead.text?1:0)+(M.gzhead.hcrc?2:0)+(M.gzhead.extra?4:0)+(M.gzhead.name?8:0)+(M.gzhead.comment?16:0)),j(M,255&M.gzhead.time),j(M,M.gzhead.time>>8&255),j(M,M.gzhead.time>>16&255),j(M,M.gzhead.time>>24&255),j(M,M.level===9?2:2<=M.strategy||M.level<2?4:0),j(M,255&M.gzhead.os),M.gzhead.extra&&M.gzhead.extra.length&&(j(M,255&M.gzhead.extra.length),j(M,M.gzhead.extra.length>>8&255)),M.gzhead.hcrc&&(S.adler=f(S.adler,M.pending_buf,M.pending,0)),M.gzindex=0,M.status=69):(j(M,0),j(M,0),j(M,0),j(M,0),j(M,0),j(M,M.level===9?2:2<=M.strategy||M.level<2?4:0),j(M,3),M.status=R);else{var B=m+(M.w_bits-8<<4)<<8;B|=(2<=M.strategy||M.level<2?0:M.level<6?1:M.level===6?2:3)<<6,M.strstart!==0&&(B|=32),B+=31-B%31,M.status=R,$(M,B),M.strstart!==0&&($(M,S.adler>>>16),$(M,65535&S.adler)),S.adler=1}if(M.status===69)if(M.gzhead.extra){for(L=M.pending;M.gzindex<(65535&M.gzhead.extra.length)&&(M.pending!==M.pending_buf_size||(M.gzhead.hcrc&&M.pending>L&&(S.adler=f(S.adler,M.pending_buf,M.pending-L,L)),I(S),L=M.pending,M.pending!==M.pending_buf_size));)j(M,255&M.gzhead.extra[M.gzindex]),M.gzindex++;M.gzhead.hcrc&&M.pending>L&&(S.adler=f(S.adler,M.pending_buf,M.pending-L,L)),M.gzindex===M.gzhead.extra.length&&(M.gzindex=0,M.status=73)}else M.status=73;if(M.status===73)if(M.gzhead.name){L=M.pending;do{if(M.pending===M.pending_buf_size&&(M.gzhead.hcrc&&M.pending>L&&(S.adler=f(S.adler,M.pending_buf,M.pending-L,L)),I(S),L=M.pending,M.pending===M.pending_buf_size)){U=1;break}U=M.gzindex<M.gzhead.name.length?255&M.gzhead.name.charCodeAt(M.gzindex++):0,j(M,U)}while(U!==0);M.gzhead.hcrc&&M.pending>L&&(S.adler=f(S.adler,M.pending_buf,M.pending-L,L)),U===0&&(M.gzindex=0,M.status=91)}else M.status=91;if(M.status===91)if(M.gzhead.comment){L=M.pending;do{if(M.pending===M.pending_buf_size&&(M.gzhead.hcrc&&M.pending>L&&(S.adler=f(S.adler,M.pending_buf,M.pending-L,L)),I(S),L=M.pending,M.pending===M.pending_buf_size)){U=1;break}U=M.gzindex<M.gzhead.comment.length?255&M.gzhead.comment.charCodeAt(M.gzindex++):0,j(M,U)}while(U!==0);M.gzhead.hcrc&&M.pending>L&&(S.adler=f(S.adler,M.pending_buf,M.pending-L,L)),U===0&&(M.status=103)}else M.status=103;if(M.status===103&&(M.gzhead.hcrc?(M.pending+2>M.pending_buf_size&&I(S),M.pending+2<=M.pending_buf_size&&(j(M,255&S.adler),j(M,S.adler>>8&255),S.adler=0,M.status=R)):M.status=R),M.pending!==0){if(I(S),S.avail_out===0)return M.last_flush=-1,d}else if(S.avail_in===0&&Y(Q)<=Y(H)&&Q!==h)return G(S,-5);if(M.status===666&&S.avail_in!==0)return G(S,-5);if(S.avail_in!==0||M.lookahead!==0||Q!==c&&M.status!==666){var O=M.strategy===2?function(N,V){for(var J;;){if(N.lookahead===0&&(tt(N),N.lookahead===0)){if(V===c)return E;break}if(N.match_length=0,J=o._tr_tally(N,0,N.window[N.strstart]),N.lookahead--,N.strstart++,J&&(P(N,!1),N.strm.avail_out===0))return E}return N.insert=0,V===h?(P(N,!0),N.strm.avail_out===0?W:q):N.last_lit&&(P(N,!1),N.strm.avail_out===0)?E:z}(M,Q):M.strategy===3?function(N,V){for(var J,K,it,st,ft=N.window;;){if(N.lookahead<=D){if(tt(N),N.lookahead<=D&&V===c)return E;if(N.lookahead===0)break}if(N.match_length=0,N.lookahead>=k&&0<N.strstart&&(K=ft[it=N.strstart-1])===ft[++it]&&K===ft[++it]&&K===ft[++it]){st=N.strstart+D;do;while(K===ft[++it]&&K===ft[++it]&&K===ft[++it]&&K===ft[++it]&&K===ft[++it]&&K===ft[++it]&&K===ft[++it]&&K===ft[++it]&&it<st);N.match_length=D-(st-it),N.match_length>N.lookahead&&(N.match_length=N.lookahead)}if(N.match_length>=k?(J=o._tr_tally(N,1,N.match_length-k),N.lookahead-=N.match_length,N.strstart+=N.match_length,N.match_length=0):(J=o._tr_tally(N,0,N.window[N.strstart]),N.lookahead--,N.strstart++),J&&(P(N,!1),N.strm.avail_out===0))return E}return N.insert=0,V===h?(P(N,!0),N.strm.avail_out===0?W:q):N.last_lit&&(P(N,!1),N.strm.avail_out===0)?E:z}(M,Q):a[M.level].func(M,Q);if(O!==W&&O!==q||(M.status=666),O===E||O===W)return S.avail_out===0&&(M.last_flush=-1),d;if(O===z&&(Q===1?o._tr_align(M):Q!==5&&(o._tr_stored_block(M,0,0,!1),Q===3&&(Z(M.head),M.lookahead===0&&(M.strstart=0,M.block_start=0,M.insert=0))),I(S),S.avail_out===0))return M.last_flush=-1,d}return Q!==h?d:M.wrap<=0?1:(M.wrap===2?(j(M,255&S.adler),j(M,S.adler>>8&255),j(M,S.adler>>16&255),j(M,S.adler>>24&255),j(M,255&S.total_in),j(M,S.total_in>>8&255),j(M,S.total_in>>16&255),j(M,S.total_in>>24&255)):($(M,S.adler>>>16),$(M,65535&S.adler)),I(S),0<M.wrap&&(M.wrap=-M.wrap),M.pending!==0?d:1)},i.deflateEnd=function(S){var Q;return S&&S.state?(Q=S.state.status)!==T&&Q!==69&&Q!==73&&Q!==91&&Q!==103&&Q!==R&&Q!==666?G(S,g):(S.state=null,Q===R?G(S,-3):d):g},i.deflateSetDictionary=function(S,Q){var H,M,L,U,B,O,N,V,J=Q.length;if(!S||!S.state||(U=(H=S.state).wrap)===2||U===1&&H.status!==T||H.lookahead)return g;for(U===1&&(S.adler=u(S.adler,Q,J,0)),H.wrap=0,J>=H.w_size&&(U===0&&(Z(H.head),H.strstart=0,H.block_start=0,H.insert=0),V=new s.Buf8(H.w_size),s.arraySet(V,Q,J-H.w_size,H.w_size,0),Q=V,J=H.w_size),B=S.avail_in,O=S.next_in,N=S.input,S.avail_in=J,S.next_in=0,S.input=Q,tt(H);H.lookahead>=k;){for(M=H.strstart,L=H.lookahead-(k-1);H.ins_h=(H.ins_h<<H.hash_shift^H.window[M+k-1])&H.hash_mask,H.prev[M&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=M,M++,--L;);H.strstart=M,H.lookahead=k-1,tt(H)}return H.strstart+=H.lookahead,H.block_start=H.strstart,H.insert=H.lookahead,H.lookahead=0,H.match_length=H.prev_length=k-1,H.match_available=0,S.next_in=O,S.input=N,S.avail_in=B,H.wrap=U,d},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(r,n,i){n.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(r,n,i){n.exports=function(a,s){var o,u,f,l,c,h,d,g,y,v,p,m,x,_,b,w,C,A,k,D,F,T,R,E,z;o=a.state,u=a.next_in,E=a.input,f=u+(a.avail_in-5),l=a.next_out,z=a.output,c=l-(s-a.avail_out),h=l+(a.avail_out-257),d=o.dmax,g=o.wsize,y=o.whave,v=o.wnext,p=o.window,m=o.hold,x=o.bits,_=o.lencode,b=o.distcode,w=(1<<o.lenbits)-1,C=(1<<o.distbits)-1;t:do{x<15&&(m+=E[u++]<<x,x+=8,m+=E[u++]<<x,x+=8),A=_[m&w];e:for(;;){if(m>>>=k=A>>>24,x-=k,(k=A>>>16&255)===0)z[l++]=65535&A;else{if(!(16&k)){if((64&k)==0){A=_[(65535&A)+(m&(1<<k)-1)];continue e}if(32&k){o.mode=12;break t}a.msg="invalid literal/length code",o.mode=30;break t}D=65535&A,(k&=15)&&(x<k&&(m+=E[u++]<<x,x+=8),D+=m&(1<<k)-1,m>>>=k,x-=k),x<15&&(m+=E[u++]<<x,x+=8,m+=E[u++]<<x,x+=8),A=b[m&C];r:for(;;){if(m>>>=k=A>>>24,x-=k,!(16&(k=A>>>16&255))){if((64&k)==0){A=b[(65535&A)+(m&(1<<k)-1)];continue r}a.msg="invalid distance code",o.mode=30;break t}if(F=65535&A,x<(k&=15)&&(m+=E[u++]<<x,(x+=8)<k&&(m+=E[u++]<<x,x+=8)),d<(F+=m&(1<<k)-1)){a.msg="invalid distance too far back",o.mode=30;break t}if(m>>>=k,x-=k,(k=l-c)<F){if(y<(k=F-k)&&o.sane){a.msg="invalid distance too far back",o.mode=30;break t}if(R=p,(T=0)===v){if(T+=g-k,k<D){for(D-=k;z[l++]=p[T++],--k;);T=l-F,R=z}}else if(v<k){if(T+=g+v-k,(k-=v)<D){for(D-=k;z[l++]=p[T++],--k;);if(T=0,v<D){for(D-=k=v;z[l++]=p[T++],--k;);T=l-F,R=z}}}else if(T+=v-k,k<D){for(D-=k;z[l++]=p[T++],--k;);T=l-F,R=z}for(;2<D;)z[l++]=R[T++],z[l++]=R[T++],z[l++]=R[T++],D-=3;D&&(z[l++]=R[T++],1<D&&(z[l++]=R[T++]))}else{for(T=l-F;z[l++]=z[T++],z[l++]=z[T++],z[l++]=z[T++],2<(D-=3););D&&(z[l++]=z[T++],1<D&&(z[l++]=z[T++]))}break}}break}}while(u<f&&l<h);u-=D=x>>3,m&=(1<<(x-=D<<3))-1,a.next_in=u,a.next_out=l,a.avail_in=u<f?f-u+5:5-(u-f),a.avail_out=l<h?h-l+257:257-(l-h),o.hold=m,o.bits=x}},{}],49:[function(r,n,i){var a=r("../utils/common"),s=r("./adler32"),o=r("./crc32"),u=r("./inffast"),f=r("./inftrees"),l=1,c=2,h=0,d=-2,g=1,y=852,v=592;function p(T){return(T>>>24&255)+(T>>>8&65280)+((65280&T)<<8)+((255&T)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function x(T){var R;return T&&T.state?(R=T.state,T.total_in=T.total_out=R.total=0,T.msg="",R.wrap&&(T.adler=1&R.wrap),R.mode=g,R.last=0,R.havedict=0,R.dmax=32768,R.head=null,R.hold=0,R.bits=0,R.lencode=R.lendyn=new a.Buf32(y),R.distcode=R.distdyn=new a.Buf32(v),R.sane=1,R.back=-1,h):d}function _(T){var R;return T&&T.state?((R=T.state).wsize=0,R.whave=0,R.wnext=0,x(T)):d}function b(T,R){var E,z;return T&&T.state?(z=T.state,R<0?(E=0,R=-R):(E=1+(R>>4),R<48&&(R&=15)),R&&(R<8||15<R)?d:(z.window!==null&&z.wbits!==R&&(z.window=null),z.wrap=E,z.wbits=R,_(T))):d}function w(T,R){var E,z;return T?(z=new m,(T.state=z).window=null,(E=b(T,R))!==h&&(T.state=null),E):d}var C,A,k=!0;function D(T){if(k){var R;for(C=new a.Buf32(512),A=new a.Buf32(32),R=0;R<144;)T.lens[R++]=8;for(;R<256;)T.lens[R++]=9;for(;R<280;)T.lens[R++]=7;for(;R<288;)T.lens[R++]=8;for(f(l,T.lens,0,288,C,0,T.work,{bits:9}),R=0;R<32;)T.lens[R++]=5;f(c,T.lens,0,32,A,0,T.work,{bits:5}),k=!1}T.lencode=C,T.lenbits=9,T.distcode=A,T.distbits=5}function F(T,R,E,z){var W,q=T.state;return q.window===null&&(q.wsize=1<<q.wbits,q.wnext=0,q.whave=0,q.window=new a.Buf8(q.wsize)),z>=q.wsize?(a.arraySet(q.window,R,E-q.wsize,q.wsize,0),q.wnext=0,q.whave=q.wsize):(z<(W=q.wsize-q.wnext)&&(W=z),a.arraySet(q.window,R,E-z,W,q.wnext),(z-=W)?(a.arraySet(q.window,R,E-z,z,0),q.wnext=z,q.whave=q.wsize):(q.wnext+=W,q.wnext===q.wsize&&(q.wnext=0),q.whave<q.wsize&&(q.whave+=W))),0}i.inflateReset=_,i.inflateReset2=b,i.inflateResetKeep=x,i.inflateInit=function(T){return w(T,15)},i.inflateInit2=w,i.inflate=function(T,R){var E,z,W,q,G,Y,Z,I,P,j,$,X,tt,nt,et,at,ot,rt,ut,ct,S,Q,H,M,L=0,U=new a.Buf8(4),B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!T||!T.state||!T.output||!T.input&&T.avail_in!==0)return d;(E=T.state).mode===12&&(E.mode=13),G=T.next_out,W=T.output,Z=T.avail_out,q=T.next_in,z=T.input,Y=T.avail_in,I=E.hold,P=E.bits,j=Y,$=Z,Q=h;t:for(;;)switch(E.mode){case g:if(E.wrap===0){E.mode=13;break}for(;P<16;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if(2&E.wrap&&I===35615){U[E.check=0]=255&I,U[1]=I>>>8&255,E.check=o(E.check,U,2,0),P=I=0,E.mode=2;break}if(E.flags=0,E.head&&(E.head.done=!1),!(1&E.wrap)||(((255&I)<<8)+(I>>8))%31){T.msg="incorrect header check",E.mode=30;break}if((15&I)!=8){T.msg="unknown compression method",E.mode=30;break}if(P-=4,S=8+(15&(I>>>=4)),E.wbits===0)E.wbits=S;else if(S>E.wbits){T.msg="invalid window size",E.mode=30;break}E.dmax=1<<S,T.adler=E.check=1,E.mode=512&I?10:12,P=I=0;break;case 2:for(;P<16;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if(E.flags=I,(255&E.flags)!=8){T.msg="unknown compression method",E.mode=30;break}if(57344&E.flags){T.msg="unknown header flags set",E.mode=30;break}E.head&&(E.head.text=I>>8&1),512&E.flags&&(U[0]=255&I,U[1]=I>>>8&255,E.check=o(E.check,U,2,0)),P=I=0,E.mode=3;case 3:for(;P<32;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}E.head&&(E.head.time=I),512&E.flags&&(U[0]=255&I,U[1]=I>>>8&255,U[2]=I>>>16&255,U[3]=I>>>24&255,E.check=o(E.check,U,4,0)),P=I=0,E.mode=4;case 4:for(;P<16;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}E.head&&(E.head.xflags=255&I,E.head.os=I>>8),512&E.flags&&(U[0]=255&I,U[1]=I>>>8&255,E.check=o(E.check,U,2,0)),P=I=0,E.mode=5;case 5:if(1024&E.flags){for(;P<16;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}E.length=I,E.head&&(E.head.extra_len=I),512&E.flags&&(U[0]=255&I,U[1]=I>>>8&255,E.check=o(E.check,U,2,0)),P=I=0}else E.head&&(E.head.extra=null);E.mode=6;case 6:if(1024&E.flags&&(Y<(X=E.length)&&(X=Y),X&&(E.head&&(S=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Array(E.head.extra_len)),a.arraySet(E.head.extra,z,q,X,S)),512&E.flags&&(E.check=o(E.check,z,X,q)),Y-=X,q+=X,E.length-=X),E.length))break t;E.length=0,E.mode=7;case 7:if(2048&E.flags){if(Y===0)break t;for(X=0;S=z[q+X++],E.head&&S&&E.length<65536&&(E.head.name+=String.fromCharCode(S)),S&&X<Y;);if(512&E.flags&&(E.check=o(E.check,z,X,q)),Y-=X,q+=X,S)break t}else E.head&&(E.head.name=null);E.length=0,E.mode=8;case 8:if(4096&E.flags){if(Y===0)break t;for(X=0;S=z[q+X++],E.head&&S&&E.length<65536&&(E.head.comment+=String.fromCharCode(S)),S&&X<Y;);if(512&E.flags&&(E.check=o(E.check,z,X,q)),Y-=X,q+=X,S)break t}else E.head&&(E.head.comment=null);E.mode=9;case 9:if(512&E.flags){for(;P<16;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if(I!==(65535&E.check)){T.msg="header crc mismatch",E.mode=30;break}P=I=0}E.head&&(E.head.hcrc=E.flags>>9&1,E.head.done=!0),T.adler=E.check=0,E.mode=12;break;case 10:for(;P<32;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}T.adler=E.check=p(I),P=I=0,E.mode=11;case 11:if(E.havedict===0)return T.next_out=G,T.avail_out=Z,T.next_in=q,T.avail_in=Y,E.hold=I,E.bits=P,2;T.adler=E.check=1,E.mode=12;case 12:if(R===5||R===6)break t;case 13:if(E.last){I>>>=7&P,P-=7&P,E.mode=27;break}for(;P<3;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}switch(E.last=1&I,P-=1,3&(I>>>=1)){case 0:E.mode=14;break;case 1:if(D(E),E.mode=20,R!==6)break;I>>>=2,P-=2;break t;case 2:E.mode=17;break;case 3:T.msg="invalid block type",E.mode=30}I>>>=2,P-=2;break;case 14:for(I>>>=7&P,P-=7&P;P<32;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if((65535&I)!=(I>>>16^65535)){T.msg="invalid stored block lengths",E.mode=30;break}if(E.length=65535&I,P=I=0,E.mode=15,R===6)break t;case 15:E.mode=16;case 16:if(X=E.length){if(Y<X&&(X=Y),Z<X&&(X=Z),X===0)break t;a.arraySet(W,z,q,X,G),Y-=X,q+=X,Z-=X,G+=X,E.length-=X;break}E.mode=12;break;case 17:for(;P<14;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if(E.nlen=257+(31&I),I>>>=5,P-=5,E.ndist=1+(31&I),I>>>=5,P-=5,E.ncode=4+(15&I),I>>>=4,P-=4,286<E.nlen||30<E.ndist){T.msg="too many length or distance symbols",E.mode=30;break}E.have=0,E.mode=18;case 18:for(;E.have<E.ncode;){for(;P<3;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}E.lens[B[E.have++]]=7&I,I>>>=3,P-=3}for(;E.have<19;)E.lens[B[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,H={bits:E.lenbits},Q=f(0,E.lens,0,19,E.lencode,0,E.work,H),E.lenbits=H.bits,Q){T.msg="invalid code lengths set",E.mode=30;break}E.have=0,E.mode=19;case 19:for(;E.have<E.nlen+E.ndist;){for(;at=(L=E.lencode[I&(1<<E.lenbits)-1])>>>16&255,ot=65535&L,!((et=L>>>24)<=P);){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if(ot<16)I>>>=et,P-=et,E.lens[E.have++]=ot;else{if(ot===16){for(M=et+2;P<M;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if(I>>>=et,P-=et,E.have===0){T.msg="invalid bit length repeat",E.mode=30;break}S=E.lens[E.have-1],X=3+(3&I),I>>>=2,P-=2}else if(ot===17){for(M=et+3;P<M;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}P-=et,S=0,X=3+(7&(I>>>=et)),I>>>=3,P-=3}else{for(M=et+7;P<M;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}P-=et,S=0,X=11+(127&(I>>>=et)),I>>>=7,P-=7}if(E.have+X>E.nlen+E.ndist){T.msg="invalid bit length repeat",E.mode=30;break}for(;X--;)E.lens[E.have++]=S}}if(E.mode===30)break;if(E.lens[256]===0){T.msg="invalid code -- missing end-of-block",E.mode=30;break}if(E.lenbits=9,H={bits:E.lenbits},Q=f(l,E.lens,0,E.nlen,E.lencode,0,E.work,H),E.lenbits=H.bits,Q){T.msg="invalid literal/lengths set",E.mode=30;break}if(E.distbits=6,E.distcode=E.distdyn,H={bits:E.distbits},Q=f(c,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,H),E.distbits=H.bits,Q){T.msg="invalid distances set",E.mode=30;break}if(E.mode=20,R===6)break t;case 20:E.mode=21;case 21:if(6<=Y&&258<=Z){T.next_out=G,T.avail_out=Z,T.next_in=q,T.avail_in=Y,E.hold=I,E.bits=P,u(T,$),G=T.next_out,W=T.output,Z=T.avail_out,q=T.next_in,z=T.input,Y=T.avail_in,I=E.hold,P=E.bits,E.mode===12&&(E.back=-1);break}for(E.back=0;at=(L=E.lencode[I&(1<<E.lenbits)-1])>>>16&255,ot=65535&L,!((et=L>>>24)<=P);){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if(at&&(240&at)==0){for(rt=et,ut=at,ct=ot;at=(L=E.lencode[ct+((I&(1<<rt+ut)-1)>>rt)])>>>16&255,ot=65535&L,!(rt+(et=L>>>24)<=P);){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}I>>>=rt,P-=rt,E.back+=rt}if(I>>>=et,P-=et,E.back+=et,E.length=ot,at===0){E.mode=26;break}if(32&at){E.back=-1,E.mode=12;break}if(64&at){T.msg="invalid literal/length code",E.mode=30;break}E.extra=15&at,E.mode=22;case 22:if(E.extra){for(M=E.extra;P<M;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}E.length+=I&(1<<E.extra)-1,I>>>=E.extra,P-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=23;case 23:for(;at=(L=E.distcode[I&(1<<E.distbits)-1])>>>16&255,ot=65535&L,!((et=L>>>24)<=P);){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if((240&at)==0){for(rt=et,ut=at,ct=ot;at=(L=E.distcode[ct+((I&(1<<rt+ut)-1)>>rt)])>>>16&255,ot=65535&L,!(rt+(et=L>>>24)<=P);){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}I>>>=rt,P-=rt,E.back+=rt}if(I>>>=et,P-=et,E.back+=et,64&at){T.msg="invalid distance code",E.mode=30;break}E.offset=ot,E.extra=15&at,E.mode=24;case 24:if(E.extra){for(M=E.extra;P<M;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}E.offset+=I&(1<<E.extra)-1,I>>>=E.extra,P-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){T.msg="invalid distance too far back",E.mode=30;break}E.mode=25;case 25:if(Z===0)break t;if(X=$-Z,E.offset>X){if((X=E.offset-X)>E.whave&&E.sane){T.msg="invalid distance too far back",E.mode=30;break}tt=X>E.wnext?(X-=E.wnext,E.wsize-X):E.wnext-X,X>E.length&&(X=E.length),nt=E.window}else nt=W,tt=G-E.offset,X=E.length;for(Z<X&&(X=Z),Z-=X,E.length-=X;W[G++]=nt[tt++],--X;);E.length===0&&(E.mode=21);break;case 26:if(Z===0)break t;W[G++]=E.length,Z--,E.mode=21;break;case 27:if(E.wrap){for(;P<32;){if(Y===0)break t;Y--,I|=z[q++]<<P,P+=8}if($-=Z,T.total_out+=$,E.total+=$,$&&(T.adler=E.check=E.flags?o(E.check,W,$,G-$):s(E.check,W,$,G-$)),$=Z,(E.flags?I:p(I))!==E.check){T.msg="incorrect data check",E.mode=30;break}P=I=0}E.mode=28;case 28:if(E.wrap&&E.flags){for(;P<32;){if(Y===0)break t;Y--,I+=z[q++]<<P,P+=8}if(I!==(4294967295&E.total)){T.msg="incorrect length check",E.mode=30;break}P=I=0}E.mode=29;case 29:Q=1;break t;case 30:Q=-3;break t;case 31:return-4;case 32:default:return d}return T.next_out=G,T.avail_out=Z,T.next_in=q,T.avail_in=Y,E.hold=I,E.bits=P,(E.wsize||$!==T.avail_out&&E.mode<30&&(E.mode<27||R!==4))&&F(T,T.output,T.next_out,$-T.avail_out)?(E.mode=31,-4):(j-=T.avail_in,$-=T.avail_out,T.total_in+=j,T.total_out+=$,E.total+=$,E.wrap&&$&&(T.adler=E.check=E.flags?o(E.check,W,$,T.next_out-$):s(E.check,W,$,T.next_out-$)),T.data_type=E.bits+(E.last?64:0)+(E.mode===12?128:0)+(E.mode===20||E.mode===15?256:0),(j==0&&$===0||R===4)&&Q===h&&(Q=-5),Q)},i.inflateEnd=function(T){if(!T||!T.state)return d;var R=T.state;return R.window&&(R.window=null),T.state=null,h},i.inflateGetHeader=function(T,R){var E;return T&&T.state?(2&(E=T.state).wrap)==0?d:((E.head=R).done=!1,h):d},i.inflateSetDictionary=function(T,R){var E,z=R.length;return T&&T.state?(E=T.state).wrap!==0&&E.mode!==11?d:E.mode===11&&s(1,R,z,0)!==E.check?-3:F(T,R,z,z)?(E.mode=31,-4):(E.havedict=1,h):d},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(r,n,i){var a=r("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],u=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],f=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];n.exports=function(l,c,h,d,g,y,v,p){var m,x,_,b,w,C,A,k,D,F=p.bits,T=0,R=0,E=0,z=0,W=0,q=0,G=0,Y=0,Z=0,I=0,P=null,j=0,$=new a.Buf16(16),X=new a.Buf16(16),tt=null,nt=0;for(T=0;T<=15;T++)$[T]=0;for(R=0;R<d;R++)$[c[h+R]]++;for(W=F,z=15;1<=z&&$[z]===0;z--);if(z<W&&(W=z),z===0)return g[y++]=20971520,g[y++]=20971520,p.bits=1,0;for(E=1;E<z&&$[E]===0;E++);for(W<E&&(W=E),T=Y=1;T<=15;T++)if(Y<<=1,(Y-=$[T])<0)return-1;if(0<Y&&(l===0||z!==1))return-1;for(X[1]=0,T=1;T<15;T++)X[T+1]=X[T]+$[T];for(R=0;R<d;R++)c[h+R]!==0&&(v[X[c[h+R]]++]=R);if(C=l===0?(P=tt=v,19):l===1?(P=s,j-=257,tt=o,nt-=257,256):(P=u,tt=f,-1),T=E,w=y,G=R=I=0,_=-1,b=(Z=1<<(q=W))-1,l===1&&852<Z||l===2&&592<Z)return 1;for(;;){for(A=T-G,D=v[R]<C?(k=0,v[R]):v[R]>C?(k=tt[nt+v[R]],P[j+v[R]]):(k=96,0),m=1<<T-G,E=x=1<<q;g[w+(I>>G)+(x-=m)]=A<<24|k<<16|D|0,x!==0;);for(m=1<<T-1;I&m;)m>>=1;if(m!==0?(I&=m-1,I+=m):I=0,R++,--$[T]==0){if(T===z)break;T=c[h+v[R]]}if(W<T&&(I&b)!==_){for(G===0&&(G=W),w+=E,Y=1<<(q=T-G);q+G<z&&!((Y-=$[q+G])<=0);)q++,Y<<=1;if(Z+=1<<q,l===1&&852<Z||l===2&&592<Z)return 1;g[_=I&b]=W<<24|q<<16|w-y|0}}return I!==0&&(g[w+I]=T-G<<24|64<<16|0),p.bits=W,0}},{"../utils/common":41}],51:[function(r,n,i){n.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(r,n,i){var a=r("../utils/common"),s=0,o=1;function u(L){for(var U=L.length;0<=--U;)L[U]=0}var f=0,l=29,c=256,h=c+1+l,d=30,g=19,y=2*h+1,v=15,p=16,m=7,x=256,_=16,b=17,w=18,C=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],A=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],F=new Array(2*(h+2));u(F);var T=new Array(2*d);u(T);var R=new Array(512);u(R);var E=new Array(256);u(E);var z=new Array(l);u(z);var W,q,G,Y=new Array(d);function Z(L,U,B,O,N){this.static_tree=L,this.extra_bits=U,this.extra_base=B,this.elems=O,this.max_length=N,this.has_stree=L&&L.length}function I(L,U){this.dyn_tree=L,this.max_code=0,this.stat_desc=U}function P(L){return L<256?R[L]:R[256+(L>>>7)]}function j(L,U){L.pending_buf[L.pending++]=255&U,L.pending_buf[L.pending++]=U>>>8&255}function $(L,U,B){L.bi_valid>p-B?(L.bi_buf|=U<<L.bi_valid&65535,j(L,L.bi_buf),L.bi_buf=U>>p-L.bi_valid,L.bi_valid+=B-p):(L.bi_buf|=U<<L.bi_valid&65535,L.bi_valid+=B)}function X(L,U,B){$(L,B[2*U],B[2*U+1])}function tt(L,U){for(var B=0;B|=1&L,L>>>=1,B<<=1,0<--U;);return B>>>1}function nt(L,U,B){var O,N,V=new Array(v+1),J=0;for(O=1;O<=v;O++)V[O]=J=J+B[O-1]<<1;for(N=0;N<=U;N++){var K=L[2*N+1];K!==0&&(L[2*N]=tt(V[K]++,K))}}function et(L){var U;for(U=0;U<h;U++)L.dyn_ltree[2*U]=0;for(U=0;U<d;U++)L.dyn_dtree[2*U]=0;for(U=0;U<g;U++)L.bl_tree[2*U]=0;L.dyn_ltree[2*x]=1,L.opt_len=L.static_len=0,L.last_lit=L.matches=0}function at(L){8<L.bi_valid?j(L,L.bi_buf):0<L.bi_valid&&(L.pending_buf[L.pending++]=L.bi_buf),L.bi_buf=0,L.bi_valid=0}function ot(L,U,B,O){var N=2*U,V=2*B;return L[N]<L[V]||L[N]===L[V]&&O[U]<=O[B]}function rt(L,U,B){for(var O=L.heap[B],N=B<<1;N<=L.heap_len&&(N<L.heap_len&&ot(U,L.heap[N+1],L.heap[N],L.depth)&&N++,!ot(U,O,L.heap[N],L.depth));)L.heap[B]=L.heap[N],B=N,N<<=1;L.heap[B]=O}function ut(L,U,B){var O,N,V,J,K=0;if(L.last_lit!==0)for(;O=L.pending_buf[L.d_buf+2*K]<<8|L.pending_buf[L.d_buf+2*K+1],N=L.pending_buf[L.l_buf+K],K++,O===0?X(L,N,U):(X(L,(V=E[N])+c+1,U),(J=C[V])!==0&&$(L,N-=z[V],J),X(L,V=P(--O),B),(J=A[V])!==0&&$(L,O-=Y[V],J)),K<L.last_lit;);X(L,x,U)}function ct(L,U){var B,O,N,V=U.dyn_tree,J=U.stat_desc.static_tree,K=U.stat_desc.has_stree,it=U.stat_desc.elems,st=-1;for(L.heap_len=0,L.heap_max=y,B=0;B<it;B++)V[2*B]!==0?(L.heap[++L.heap_len]=st=B,L.depth[B]=0):V[2*B+1]=0;for(;L.heap_len<2;)V[2*(N=L.heap[++L.heap_len]=st<2?++st:0)]=1,L.depth[N]=0,L.opt_len--,K&&(L.static_len-=J[2*N+1]);for(U.max_code=st,B=L.heap_len>>1;1<=B;B--)rt(L,V,B);for(N=it;B=L.heap[1],L.heap[1]=L.heap[L.heap_len--],rt(L,V,1),O=L.heap[1],L.heap[--L.heap_max]=B,L.heap[--L.heap_max]=O,V[2*N]=V[2*B]+V[2*O],L.depth[N]=(L.depth[B]>=L.depth[O]?L.depth[B]:L.depth[O])+1,V[2*B+1]=V[2*O+1]=N,L.heap[1]=N++,rt(L,V,1),2<=L.heap_len;);L.heap[--L.heap_max]=L.heap[1],function(ft,At){var ae,xt,Et,vt,se,Te,Bt=At.dyn_tree,Qe=At.max_code,Lt=At.stat_desc.static_tree,Or=At.stat_desc.has_stree,_e=At.stat_desc.extra_bits,Cn=At.stat_desc.extra_base,Ne=At.stat_desc.max_length,Je=0;for(vt=0;vt<=v;vt++)ft.bl_count[vt]=0;for(Bt[2*ft.heap[ft.heap_max]+1]=0,ae=ft.heap_max+1;ae<y;ae++)Ne<(vt=Bt[2*Bt[2*(xt=ft.heap[ae])+1]+1]+1)&&(vt=Ne,Je++),Bt[2*xt+1]=vt,Qe<xt||(ft.bl_count[vt]++,se=0,Cn<=xt&&(se=_e[xt-Cn]),Te=Bt[2*xt],ft.opt_len+=Te*(vt+se),Or&&(ft.static_len+=Te*(Lt[2*xt+1]+se)));if(Je!==0){do{for(vt=Ne-1;ft.bl_count[vt]===0;)vt--;ft.bl_count[vt]--,ft.bl_count[vt+1]+=2,ft.bl_count[Ne]--,Je-=2}while(0<Je);for(vt=Ne;vt!==0;vt--)for(xt=ft.bl_count[vt];xt!==0;)Qe<(Et=ft.heap[--ae])||(Bt[2*Et+1]!==vt&&(ft.opt_len+=(vt-Bt[2*Et+1])*Bt[2*Et],Bt[2*Et+1]=vt),xt--)}}(L,U),nt(V,st,L.bl_count)}function S(L,U,B){var O,N,V=-1,J=U[1],K=0,it=7,st=4;for(J===0&&(it=138,st=3),U[2*(B+1)+1]=65535,O=0;O<=B;O++)N=J,J=U[2*(O+1)+1],++K<it&&N===J||(K<st?L.bl_tree[2*N]+=K:N!==0?(N!==V&&L.bl_tree[2*N]++,L.bl_tree[2*_]++):K<=10?L.bl_tree[2*b]++:L.bl_tree[2*w]++,V=N,st=(K=0)===J?(it=138,3):N===J?(it=6,3):(it=7,4))}function Q(L,U,B){var O,N,V=-1,J=U[1],K=0,it=7,st=4;for(J===0&&(it=138,st=3),O=0;O<=B;O++)if(N=J,J=U[2*(O+1)+1],!(++K<it&&N===J)){if(K<st)for(;X(L,N,L.bl_tree),--K!=0;);else N!==0?(N!==V&&(X(L,N,L.bl_tree),K--),X(L,_,L.bl_tree),$(L,K-3,2)):K<=10?(X(L,b,L.bl_tree),$(L,K-3,3)):(X(L,w,L.bl_tree),$(L,K-11,7));V=N,st=(K=0)===J?(it=138,3):N===J?(it=6,3):(it=7,4)}}u(Y);var H=!1;function M(L,U,B,O){$(L,(f<<1)+(O?1:0),3),function(N,V,J,K){at(N),K&&(j(N,J),j(N,~J)),a.arraySet(N.pending_buf,N.window,V,J,N.pending),N.pending+=J}(L,U,B,!0)}i._tr_init=function(L){H||(function(){var U,B,O,N,V,J=new Array(v+1);for(N=O=0;N<l-1;N++)for(z[N]=O,U=0;U<1<<C[N];U++)E[O++]=N;for(E[O-1]=N,N=V=0;N<16;N++)for(Y[N]=V,U=0;U<1<<A[N];U++)R[V++]=N;for(V>>=7;N<d;N++)for(Y[N]=V<<7,U=0;U<1<<A[N]-7;U++)R[256+V++]=N;for(B=0;B<=v;B++)J[B]=0;for(U=0;U<=143;)F[2*U+1]=8,U++,J[8]++;for(;U<=255;)F[2*U+1]=9,U++,J[9]++;for(;U<=279;)F[2*U+1]=7,U++,J[7]++;for(;U<=287;)F[2*U+1]=8,U++,J[8]++;for(nt(F,h+1,J),U=0;U<d;U++)T[2*U+1]=5,T[2*U]=tt(U,5);W=new Z(F,C,c+1,h,v),q=new Z(T,A,0,d,v),G=new Z(new Array(0),k,0,g,m)}(),H=!0),L.l_desc=new I(L.dyn_ltree,W),L.d_desc=new I(L.dyn_dtree,q),L.bl_desc=new I(L.bl_tree,G),L.bi_buf=0,L.bi_valid=0,et(L)},i._tr_stored_block=M,i._tr_flush_block=function(L,U,B,O){var N,V,J=0;0<L.level?(L.strm.data_type===2&&(L.strm.data_type=function(K){var it,st=4093624447;for(it=0;it<=31;it++,st>>>=1)if(1&st&&K.dyn_ltree[2*it]!==0)return s;if(K.dyn_ltree[18]!==0||K.dyn_ltree[20]!==0||K.dyn_ltree[26]!==0)return o;for(it=32;it<c;it++)if(K.dyn_ltree[2*it]!==0)return o;return s}(L)),ct(L,L.l_desc),ct(L,L.d_desc),J=function(K){var it;for(S(K,K.dyn_ltree,K.l_desc.max_code),S(K,K.dyn_dtree,K.d_desc.max_code),ct(K,K.bl_desc),it=g-1;3<=it&&K.bl_tree[2*D[it]+1]===0;it--);return K.opt_len+=3*(it+1)+5+5+4,it}(L),N=L.opt_len+3+7>>>3,(V=L.static_len+3+7>>>3)<=N&&(N=V)):N=V=B+5,B+4<=N&&U!==-1?M(L,U,B,O):L.strategy===4||V===N?($(L,2+(O?1:0),3),ut(L,F,T)):($(L,4+(O?1:0),3),function(K,it,st,ft){var At;for($(K,it-257,5),$(K,st-1,5),$(K,ft-4,4),At=0;At<ft;At++)$(K,K.bl_tree[2*D[At]+1],3);Q(K,K.dyn_ltree,it-1),Q(K,K.dyn_dtree,st-1)}(L,L.l_desc.max_code+1,L.d_desc.max_code+1,J+1),ut(L,L.dyn_ltree,L.dyn_dtree)),et(L),O&&at(L)},i._tr_tally=function(L,U,B){return L.pending_buf[L.d_buf+2*L.last_lit]=U>>>8&255,L.pending_buf[L.d_buf+2*L.last_lit+1]=255&U,L.pending_buf[L.l_buf+L.last_lit]=255&B,L.last_lit++,U===0?L.dyn_ltree[2*B]++:(L.matches++,U--,L.dyn_ltree[2*(E[B]+c+1)]++,L.dyn_dtree[2*P(U)]++),L.last_lit===L.lit_bufsize-1},i._tr_align=function(L){$(L,2,3),X(L,x,F),function(U){U.bi_valid===16?(j(U,U.bi_buf),U.bi_buf=0,U.bi_valid=0):8<=U.bi_valid&&(U.pending_buf[U.pending++]=255&U.bi_buf,U.bi_buf>>=8,U.bi_valid-=8)}(L)}},{"../utils/common":41}],53:[function(r,n,i){n.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(r,n,i){(function(a){(function(s,o){if(!s.setImmediate){var u,f,l,c,h=1,d={},g=!1,y=s.document,v=Object.getPrototypeOf&&Object.getPrototypeOf(s);v=v&&v.setTimeout?v:s,u={}.toString.call(s.process)==="[object process]"?function(_){process.nextTick(function(){m(_)})}:function(){if(s.postMessage&&!s.importScripts){var _=!0,b=s.onmessage;return s.onmessage=function(){_=!1},s.postMessage("","*"),s.onmessage=b,_}}()?(c="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",x,!1):s.attachEvent("onmessage",x),function(_){s.postMessage(c+_,"*")}):s.MessageChannel?((l=new MessageChannel).port1.onmessage=function(_){m(_.data)},function(_){l.port2.postMessage(_)}):y&&"onreadystatechange"in y.createElement("script")?(f=y.documentElement,function(_){var b=y.createElement("script");b.onreadystatechange=function(){m(_),b.onreadystatechange=null,f.removeChild(b),b=null},f.appendChild(b)}):function(_){setTimeout(m,0,_)},v.setImmediate=function(_){typeof _!="function"&&(_=new Function(""+_));for(var b=new Array(arguments.length-1),w=0;w<b.length;w++)b[w]=arguments[w+1];var C={callback:_,args:b};return d[h]=C,u(h),h++},v.clearImmediate=p}function p(_){delete d[_]}function m(_){if(g)setTimeout(m,0,_);else{var b=d[_];if(b){g=!0;try{(function(w){var C=w.callback,A=w.args;switch(A.length){case 0:C();break;case 1:C(A[0]);break;case 2:C(A[0],A[1]);break;case 3:C(A[0],A[1],A[2]);break;default:C.apply(o,A)}})(b)}finally{p(_),g=!1}}}}
150function x(_){_.source===s&&typeof _.data=="string"&&_.data.indexOf(c)===0&&m(+_.data.slice(c.length))}})(typeof self>"u"?a===void 0?this:a:self)}).call(this,typeof lt<"u"?lt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(cg);const xC=cg.exports,md={prod:"checkout.airwallex.com",demo:"checkout-demo.airwallex.com",staging:"checkout-staging.airwallex.com",dev:"checkout-dev.airwallex.com",local:"localhost:3000"},q8=e=>`https://${md[e]||md.prod}`,Pu="/assets/elements.bundle.min.js?version=1.131.0",Y8=e=>{const t=document.createElement("script");t.src=`${e}${Pu}`,t.crossOrigin="anonymous";const r=document.head||document.body;if(!r)throw new Error("Airwallex payment scripts requires a <head> or <body> html element in order to be loaded.");return r.appendChild(t),t},_C=async e=>{if(typeof window>"u")return null;if(window.Airwallex)return window.Airwallex;let t=0;const r=async()=>{const n=document.querySelector(`script[src="${Pu}"], script[src="${Pu}/"]`)||Y8(q8((e==null?void 0:e.env)||"prod"));return new Promise((i,a)=>{n.addEventListener("load",()=>{window.Airwallex?(window.Airwallex.init(e),i(window.Airwallex)):a(new Error("Failed to load Airwallex on load event"))}),n.addEventListener("error",()=>{a(new Error("Failed to load Airwallex scripts")),n.remove&&n.remove()})})};for(;t<3;)try{return await r()}catch{t++,await new Promise(i=>window.setTimeout(i,500))}return null},mC=(e,t)=>window.Airwallex?window.Airwallex.createElement(e,t):(console.error("Please loadAirwallex() before createElement();"),null);var je=Cr.CMD;function Xn(e,t){return Math.abs(e-t)<1e-5}function Mu(e){var t=e.data,r=e.len(),n=[],i,a=0,s=0,o=0,u=0;function f(R,E){i&&i.length>2&&n.push(i),i=[R,E]}function l(R,E,z,W){Xn(R,z)&&Xn(E,W)||i.push(R,E,z,W,z,W)}function c(R,E,z,W,q,G){var Y=Math.abs(E-R),Z=Math.tan(Y/4)*4/3,I=E<R?-1:1,P=Math.cos(R),j=Math.sin(R),$=Math.cos(E),X=Math.sin(E),tt=P*q+z,nt=j*G+W,et=$*q+z,at=X*G+W,ot=q*Z*I,rt=G*Z*I;i.push(tt-ot*j,nt+rt*P,et+ot*X,at-rt*$,et,at)}for(var h,d,g,y,v=0;v<r;){var p=t[v++],m=v===1;switch(m&&(a=t[v],s=t[v+1],o=a,u=s,(p===je.L||p===je.C||p===je.Q)&&(i=[o,u])),p){case je.M:a=o=t[v++],s=u=t[v++
150],f(o,u);break;case je.L:h=t[v++],d=t[v++],l(a,s,h,d),a=h,s=d;break;case je.C:i.push(t[v++],t[v++],t[v++],t[v++],a=t[v++],s=t[v++]);break;case je.Q:h=t[v++],d=t[v++],g=t[v++],y=t[v++],i.push(a+2/3*(h-a),s+2/3*(d-s),g+2/3*(h-g),y+2/3*(d-y),g,y),a=g,s=y;break;case je.A:var x=t[v++],_=t[v++],b=t[v++],w=t[v++],C=t[v++],A=t[v++]+C;v+=1;var k=!t[v++];h=Math.cos(C)*b+x,d=Math.sin(C)*w+_,m?(o=h,u=d,f(o,u)):l(a,s,h,d),a=Math.cos(A)*b+x,s=Math.sin(A)*w+_;for(var D=(k?-1:1)*Math.PI/2,F=C;k?F>A:F<A;F+=D){var T=k?Math.max(F+D,A):Math.min(F+D,A);c(F,T,x,_,b,w)}break;case je.R:o=a=t[v++],u=s=t[v++],h=o+t[v++],d=u+t[v++],f(h,u),l(h,u,h,d),l(h,d,o,d),l(o,d,o,u),l(o,u,h,u);break;case je.Z:i&&l(a,s,o,u),a=o,s=u;break}}return i&&i.length>2&&n.push(i),n}function Iu(e,t,r,n,i,a,s,o,u,f){if(Xn(e,r)&&Xn(t,n)&&Xn(i,s)&&Xn(a,o)){u.push(s,o);return}var l=2/f,c=l*l,h=s-e,d=o-t,g=Math.sqrt(h*h+d*d);h/=g,d/=g;var y=r-e,v=n-t,p=i-s,m=a-o,x=y*y+v*v,_=p*p+m*m;if(x<c&&_<c){u.push(s,o);return}var b=h*y+d*v,w=-h*p-d*m,C=x-b*b,A=_-w*w;if(C<c&&b>=0&&A<c&&w>=0){u.push(s,o);return}var k=[],D=[];Er(e,r,i,s,.5,k),Er(t,n,a,o,.5,D),Iu(k[0],D[0],k[1],D[1],k[2],D[2],k[3],D[3],u,f),Iu(k[4],D[4],k[5],D[5],k[6],D[6],k[7],D[7],u,f)}function G8(e,t){var r=Mu(e),n=[];t=t||1;for(var i=0;i<r.length;i++){var a=r[i],s=[],o=a[0],u=a[1];s.push(o,u);for(var f=2;f<a.length;){var l=a[f++],c=a[f++],h=a[f++],d=a[f++],g=a[f++],y=a[f++];Iu(o,u,l,c,h,d,g,y,s,t),o=g,u=y}n.push(s)}return n}function hg(e,t,r){var n=e[t],i=e[1-t],a=Math.abs(n/i),s=Math.ceil(Math.sqrt(a*r)),o=Math.floor(r/s);o===0&&(o=1,s=r);for(var u=[],f=0;f<s;f++)u.push(o);var l=s*o,c=r-l;if(c>0)for(var f=0;f<c;f++)u[f%s]+=1;return u}function yd(e,t,r){for(var n=e.r0,i=e.r,a=e.startAngle,s=e.endAngle,o=Math.abs(s-a),u=o*i,f=i-n,l=u>Math.abs(f),c=hg([u,f],l?0:1,t),h=(l?o:f)/c.length,d=0;d<c.length;d++)for(var g=(l?f:o)/c[d],y=0;y<c[d];y++){var v={};l?(v.startAngle=a+h*d,v.endAngle=a+h*(d+1),v.r0=n+g*y,v.r=n+g*(y+1)):(v.startAngle=a+g*y,v.endAngle=a+g*(y+1),v.r0=n+h*d,v.r=n+h*(d+1)),v.clockwise=e.clockwise,v.cx=e.cx,v.cy=e.cy,r.push(v)}}function X8(e,t,r){for(var n=e.width,i=e.height,a=n>i,s=hg([n,i],a?0:1,t),o=a?"width":"height",u=a?"height":"width",f=a?"x":"y",l=a?"y":"x",c=e[o]/s.length,h=0;h<s.length;h++)for(var d=e[u]/s[h],g=0;g<s[h];g++){var y={};y[f]=h*c,y[l]=g*d,y[o]=c,y[u]=d,y.x+=e.x,y.y+=e.y,r.push(y)}}function bd(e,t,r,n){return e*n-r*t}function V8(e,t,r,n,i,a,s,o){var u=r-e,f=n-t,l=s-i,c=o-a,h=bd(l,c,u,f);if(Math.abs(h)<1e-6)return null;var d=e-i,g=t-a,y=bd(d,g,l,c)/h;return y<0||y>1?null:new gt(y*u+e,y*f+t)}function Z8(e,t,r){var n=new gt;gt.sub(n,r,t),n.normalize();var i=new gt;gt.sub(i,e,t);var a=i.dot(n);return a}function Ln(e,t){var r=e[e.length-1];r&&r[0]===t[0]&&r[1]===t[1]||e.push(t)}function K8(e,t,r){for(var n=e.length,i=[],a=0;a<n;a++){var s=e[a],o=e[(a+1)%n],u=V8(s[0],s[1],o[0],o[1],t.x,t.y,r.x,r.y);u&&i.push({projPt:Z8(u,t,r),pt:u,idx:a})}if(i.length<2)return[{points:e},{points:e}];i.sort(function(v,p){return v.projPt-p.projPt});var f=i[0],l=i[i.length-1];if(l.idx<f.idx){var c=f;f=l,l=c}for(var h=[f.pt.x,f.pt.y],d=[l.pt.x,l.pt.y],g=[h],y=[d],a=f.idx+1;a<=l.idx;a++)Ln(g,e[a].slice());Ln(g,d),Ln(g,h);for(var a=l.idx+1;a<=f.idx+n;a++)Ln(y,e[a%n].slice());return Ln(y,h),Ln(y,d),[{points:g},{points:y}]}function wd(e){var t=e.points,r=[],n=[];
150Lv(t,r,n);var i=new kt(r[0],r[1],n[0]-r[0],n[1]-r[1]),a=i.width,s=i.height,o=i.x,u=i.y,f=new gt,l=new gt;return a>s?(f.x=l.x=o+a/2,f.y=u,l.y=u+s):(f.y=l.y=u+s/2,f.x=o,l.x=o+a),K8(t,f,l)}function ps(e,t,r,n){if(r===1)n.push(t);else{var i=Math.floor(r/2),a=e(t);ps(e,a[0],i,n),ps(e,a[1],r-i,n)}return n}function Q8(e,t){for(var r=[],n=0;n<t;n++)r.push(Yv(e));return r}function J8(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function t3(e){for(var t=[],r=0;r<e.length;)t.push([e[r++],e[r++]]);return t}function e3(e,t){var r=[],n=e.shape,i;switch(e.type){case"rect":X8(n,t,r),i=Qa;break;case"sector":yd(n,t,r),i=ql;break;case"circle":yd({r0:0,r:n.r,startAngle:0,endAngle:Math.PI*2,cx:n.cx,cy:n.cy},t,r),i=ql;break;default:var a=e.getComputedTransform(),s=a?Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])):1,o=It(G8(e.getUpdatedPathProxy(),s),function(p){return t3(p)}),u=o.length;if(u===0)ps(wd,{points:o[0]},t,r);else if(u===t)for(var f=0;f<u;f++)r.push({points:o[f]});else{var l=0,c=It(o,function(p){var m=[],x=[];Lv(p,m,x);var _=(x[1]-m[1])*(x[0]-m[0]);return l+=_,{poly:p,area:_}});c.sort(function(p,m){return m.area-p.area});for(var h=t,f=0;f<u;f++){var d=c[f];if(h<=0)break;var g=f===u-1?h:Math.ceil(d.area/l*t);g<0||(ps(wd,{points:d.poly},g,r),h-=g)}}i=tp;break}if(!i)return Q8(e,t);for(var y=[],f=0;f<r.length;f++){var v=new i;v.setShape(r[f]),J8(e,v),y.push(v)}return y}function r3(e,t){var r=e.length,n=t.length;if(r===n)return[e,t];for(var i=[],a=[],s=r<n?e:t,o=Math.min(r,n),u=Math.abs(n-r)/6,f=(o-2)/6,l=Math.ceil(u/f)+1,c=[s[0],s[1]],h=u,d=2;d<o;){var g=s[d-2],y=s[d-1],v=s[d++],p=s[d++],m=s[d++],x=s[d++],_=s[d++],b=s[d++];if(h<=0){c.push(v,p,m,x,_,b);continue}for(var w=Math.min(h,l-1)+1,C=1;C<=w;C++){var A=C/w;Er(g,v,m,_,A,i),Er(y,p,x,b,A,a),g=i[3],y=a[3],c.push(i[1],a[1],i[2],a[2],g,y),v=i[5],p=a[5],m=i[6],x=a[6]}h-=w-1}return s===e?[c,t]:[e,c]}function Ed(e,t){for(var r=e.length,n=e[r-2],i=e[r-1],a=[],s=0;s<t.length;)a[s++]=n,a[s++]=i;return a}function n3(e,t){for(var r,n,i,a=[],s=[],o=0;o<Math.max(e.length,t.length);o++){var u=e[o],f=t[o],l=void 0,c=void 0;u?f?(r=r3(u,f),l=r[0],c=r[1],n=l,i=c):(c=Ed(i||u,u),l=u):(l=Ed(n||f,f),c=f),a.push(l),s.push(c)}return[a,s]}function Cd(e){for(var t=0,r=0,n=0,i=e.length,a=0,s=i-2;a<i;s=a,a+=2){var o=e[s],u=e[s+1],f=e[a],l=e[a+1],c=o*l-f*u;t+=c,r+=(o+f)*c,n+=(u+l)*c}return t===0?[e[0]||0,e[1]||0]:[r/t/3,n/t/3,t]}function i3(e,t,r,n){for(var i=(e.length-2)/6,a=1/0,s=0,o=e.length,u=o-2,f=0;f<i;f++){for(var l=f*6,c=0,h=0;h<o;h+=2){var d=h===0?l:(l+h-2)%u+2,g=e[d]-r[0],y=e[d+1]-r[1],v=t[h]-n[0],p=t[h+1]-n[1],m=v-g,x=p-y;c+=m*m+x*x}c<a&&(a=c,s=f)}return s}function a3(e){for(var t=[],r=e.length,n=0;n<r;n+=2)t[n]=e[r-n-2],t[n+1]=e[r-n-1];return t}function s3(e,t,r,n){for(var i=[],a,s=0;s<e.length;s++){var o=e[s],u=t[s],f=Cd(o),l=Cd(u);a==null&&(a=f[2]<0!=l[2]<0);var c=[],h=[],d=0,g=1/0,y=[],v=o.length;a&&(o=a3(o));for(var p=i3(o,u,f,l)*6,m=v-2,x=0;x<m;x+=2){var _=(p+x)%m+2;c[x+2]=o[_]-f[0],c[x+3]=o[_+1]-f[1]}if(c[0]=o[p]-f[0],c[1]=o[p+1]-f[1],r>0)for(var b=n/r,w=-n/2;w<=n/2;w+=b){for(var C=Math.sin(w),A=Math.cos(w),k=0,x=0;x<o.length;x+=2){var D=c[x],F=c[x+1],T=u[x]-l[0],R=u[x+1]-l[1],E=T*A-R*C,z=T*C+R*A;y[x]=E,y[x+1]=z;var W=E-D,q=z-F;k+=W*W+q*q}if(k<g){g=k,d=w;for(var G=0;G<y.length;G++)h[G]=y[G]}}else for(var Y=0;Y<v;Y+=2)h[Y]=u[Y]-l[0],h[Y+1]=u[Y+1]-l[1];i.push({from:c,to:h,fromCp:f,toCp:l,rotation:-d})}return i}function Nu(e){return e.__isCombineMorphing}var dg="__mOriginal_";function gs(e,t,r){var n=dg+t,i=e[n]||e[t];e[n]||(e[n]=e[t]);var a=r.replace,s=r.after,o=r.before;e[t]=function(){var u=arguments,f;return o&&o.apply(this,u),a?f=a.apply(this,u):f=i.apply(this,u),s&&s.apply(this,u),f}}function Li(e,t){var r=dg+t;e[r]&&(e[t]=e[r],e[r]=null)}function Ad(e,t){for(var r=0;r<e.length;r++)for(var n=e[r],i=0;i<n.length;){var a=n[i],s=n[i+1];n[i++]=t[0]*a+t[2]*s+t[4],n[i++]=t[1]*a+t[3]*s+t[5]}}function vg(e,t){var r=e.getUpdatedPathProxy(),n=t.getUpdatedPathProxy(),i=n3(Mu(r),Mu(n)),a=i[0],s=i[1],o=e.getComputedTransform(),u=t.getComputedTransform();function f(){this.transform=null}o&&Ad(a,o),u&&Ad(s,u),gs(t,"updateTransform",{replace:f}),t.transform=null;var l=s3(a,s,10,Math.PI),c=[];gs(t,"buildPath",{replace:function(h){for(var d=t.__morphT,g=1-d,y=[],v=0;v<l.length;v++){var p=l[v],m=p.from,x=p.to,_=p.rotation*d,b=p.fromCp,w=p.toCp,C=Math.sin(_),A=Math.cos(_);Kx(y,b,w,d);for(var k=0;k<m.length;k+=2){var D=m[k],F=m[k+1],T=x[k],R=x[k+1],E=D*g+T*d,z=F*g+R*d;c[k]=E*A-z*C+y[0],c[k+1]=E*C+z*A+y[1]}var W=c[0],q=c[1];h.moveTo(W,q);for(var k=2;k<m.length;){var T=c[k++],R=c[k++],G=c[k++],Y=c[k++],Z=c[k++],I=c[k++];W===T&&q===R&&G===Z&&Y===I?h.lineTo(Z,I):h.bezierCurveTo(T,R,G,Y,Z,I),W=Z,q=I}}}})}function pg(e,t,r){if(!e||!t)return t;var n=r.done,i=r.during;vg(e,t),t.__morphT=0;function a(){Li(t,"buildPath"),Li(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return t.animateTo({__morphT:1},Se({during:function(s){t.dirtyShape(),i&&i(s)},done:function(){a(),n&&n()}},r)),t}function o3(e,t,r,n,i,a){var s=16;e=i===r?0:Math.round(32767*(e-r)/(i-r)),t=a===n?0:Math.round(32767*(t-n)/(a-n));for(var o=0,u,f=(1<<s)/2;f>0;f/=2){var l=0,c=0;(e&f)>0&&(l=1),(t&f)>0&&(c=1),o+=f*f*(3*l^c),c===0&&(l===1&&(e=f-1-e,t=f-1-t),u=e,e=t,t=u)}return o}function xs(e){var t=1/0,r=1/0,n=-1/0,i=-1/0,a=It(e,function(o){var u=o.getBoundingRect
150(),f=o.getComputedTransform(),l=u.x+u.width/2+(f?f[4]:0),c=u.y+u.height/2+(f?f[5]:0);return t=Math.min(l,t),r=Math.min(c,r),n=Math.max(l,n),i=Math.max(c,i),[l,c]}),s=It(a,function(o,u){return{cp:o,z:o3(o[0],o[1],t,r,n,i),path:e[u]}});return s.sort(function(o,u){return o.z-u.z}).map(function(o){return o.path})}function gg(e){return e3(e.path,e.count)}function zu(){return{fromIndividuals:[],toIndividuals:[],count:0}}function yC(e,t,r){var n=[];function i(b){for(var w=0;w<b.length;w++){var C=b[w];Nu(C)?i(C.childrenRef()):C instanceof Nt&&n.push(C)}}i(e);var a=n.length;if(!a)return zu();var s=r.dividePath||gg,o=s({path:t,count:a});if(o.length!==a)return console.error("Invalid morphing: unmatched splitted path"),zu();n=xs(n),o=xs(o);for(var u=r.done,f=r.during,l=r.individualDelay,c=new ef,h=0;h<a;h++){var d=n[h],g=o[h];g.parent=t,g.copyTransform(c),l||vg(d,g)}t.__isCombineMorphing=!0,t.childrenRef=function(){return o};function y(b){for(var w=0;w<o.length;w++)o[w].addSelfToZr(b)}gs(t,"addSelfToZr",{after:function(b){y(b)}}),gs(t,"removeSelfFromZr",{after:function(b){for(var w=0;w<o.length;w++)o[w].removeSelfFromZr(b)}});function v(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,Li(t,"addSelfToZr"),Li(t,"removeSelfFromZr")}var p=o.length;if(l)for(var m=p,x=function(){m--,m===0&&(v(),u&&u())},h=0;h<p;h++){var _=l?Se({delay:(r.delay||0)+l(h,p,n[h],o[h]),done:x},r):r;pg(n[h],o[h],_)}else t.__morphT=0,t.animateTo({__morphT:1},Se({during:function(b){for(var w=0;w<p;w++){var C=o[w];C.__morphT=t.__morphT,C.dirtyShape()}f&&f(b)},done:function(){v();for(var b=0;b<e.length;b++)Li(e[b],"updateTransform");u&&u()}},r));return t.__zr&&y(t.__zr),{fromIndividuals:n,toIndividuals:o,count:p}}function bC(e,t,r){var n=t.length,i=[],a=r.dividePath||gg;function s(d){for(var g=0;g<d.length;g++){var y=d[g];Nu(y)?s(y.childrenRef()):y instanceof Nt&&i.push(y)}}if(Nu(e)){s(e.childrenRef());var o=i.length;if(o<n)for(var u=0,f=o;f<n;f++)i.push(Yv(i[u++%o]));i.length=n}else{i=a({path:e,count:n});for(var l=e.getComputedTransform(),f=0;f<i.length;f++)i[f].setLocalTransform(l);if(i.length!==n)return console.error("Invalid morphing: unmatched splitted path"),zu()}i=xs(i),t=xs(t);for(var c=r.individualDelay,f=0;f<n;f++){var h=c?Se({delay:(r.delay||0)+c(f,n,i[f],t[f])},r):r;pg(i[f],t[f],h)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}export{Ly as $,p3 as A,St as B,j_ as C,Rt as D,qa as E,Se as F,yy as G,Y3 as H,oy as I,uy as J,Yn as K,p_ as L,ki as M,ef as N,g_ as O,Nt as P,x3 as Q,Di as R,Wd as S,Uu as T,wy as U,Cy as V,ql as W,G3 as X,tp as Y,Qi as Z,bt as _,Gf as a,rC as a$,Qa as a0,Iy as a1,X3 as a2,V3 as a3,q3 as a4,In as a5,W3 as a6,K3 as a7,Hy as a8,Wy as a9,Zd as aA,zi as aB,zx as aC,U3 as aD,J3 as aE,Un as aF,jn as aG,dm as aH,Cr as aI,Vx as aJ,Kx as aK,L_ as aL,F_ as aM,ga as aN,tC as aO,eC as aP,hv as aQ,Yt as aR,N3 as aS,Hm as aT,Ba as aU,T3 as aV,rv as aW,w3 as aX,P3 as aY,h_ as aZ,J2 as a_,Yy as aa,kt as ab,Z3 as ac,gt as ad,Hn as ae,$n as af,vn as ag,Vd as ah,s_ as ai,$x as aj,C3 as ak,Ix as al,G0 as am,E3 as an,D3 as ao,B3 as ap,fn as aq,vm as ar,Q3 as as,Ts as at,Xi as au,c2 as av,si as aw,H3 as ax,D_ as ay,j3 as az,d3 as b,ub as b0,Ki as b1,ev as b2,ln as b3,F3 as b4,y3 as b5,Lv as b6,J0 as b7,nv as b8,I3 as b9,S3 as bA,nC as bB,iC as bC,Nu as bD,pg as bE,yC as bF,bC as bG,Yv as bH,aC as bI,sC as bJ,uC as bK,oC as bL,pC as bM,lC as bN,cC as bO,hC as bP,dC as bQ,fC as bR,vC as bS,gC as bT,yt as bU,_d as bV,xC as bW,_C as bX,mC as bY,Zi as ba,Le as bb,z3 as bc,$3 as bd,Wx as be,Xx as bf,Vs as bg,ai as bh,qx as bi,Yx as bj,O3 as bk,R3 as bl,Ga as bm,Vt as bn,Vn as bo,M3 as bp,fl as bq,kn as br,Wm as bs,cl as bt,Ni as bu,Ra as bv,X0 as bw,l_ as bx,Be as by,L3 as bz,h3 as c,c3 as d,g3 as e,_3 as f,hx as g,Ze as h,l3 as i,k3 as j,Kt as k,qe as l,It as m,Zf as n,sr as o,Si as p,A3 as q,Cs as r,m3 as s,Jn as t,Zt as u,b3 as v,v3 as w,mt as x,Vi as y,Ve as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.