1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7575],{7575:(t,e,i)=>{i.d(e,{a:()=>y});var r=i(14035),n=i(64123),s=i(88285),a=i(58284),o=i(63030),h=i(71834),l=i(57669),_=i(83273),d=i(72316);function p(t,e,i){var r=d.yh.createCanvas(),n=e.getWidth(),s=e.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=n+"px",a.height=s+"px",r.setAttribute("data-zr-dom-id",t)),r.width=n*i,r.height=s*i,r}var c=function(t){function e(e,i,s){var a,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,s=s||r.Y5,"string"==typeof e?a=p(e,i,s):n.isObject(e)&&(e=(a=e).id),o.id=e,o.dom=a;var h=a.style;return h&&(n.disableUserSelect(a),a.onselectstart=function(){return!1},h.padding="0",h.margin="0",h.borderWidth="0"),o.painter=i,o.dpr=s,o}return(0,s.C6)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=p("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,i,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var n,s=[],a=this.maxRepaintRectCount,o=!1,h=new l.A(0,0,0,0);function d(t){if(!(!t.isFinite()||t.isZero()))if(0===s.length){var e=new l.A(0,0,0,0);e.copy(t),s.push(e)}else{for(var i=!1,r=1/0,n=0,_=0;_<s.length;++_){var d=s[_];if(d.intersect(t)){var p=new l.A(0,0,0,0);p.copy(d),p.union(t),s[_]=p,i=!0;break}if(o){h.copy(t),h.union(d);var c=t.width*t.height,u=d.width*d.height,f=h.width*h.height-c-u;f<r&&(r=f,n=_)}}if(o&&(s[n].union(t),i=!0),!i){var e=new l.A(0,0,0,0);e.copy(t),s.push(e)}o||(o=s.length>=a)}}for(var p=this.__startIndex;p<this.__endIndex;++p){var c=t[p];if(c){var u=c.shouldBePainted(i,r,!0,!0),f=c.__isRendered&&(c.__dirty&_.M||!u)?c.getPrevPaintRect():null;f&&d(f);var v=u&&(c.__dirty&_.M||!c.__isRendered)?c.getPaintRect():null;v&&d(v)}}for(var p=this.__prevStartIndex;p<this.__prevEndIndex;++p){var c=e[p],u=c&&c.shouldBePainted(i,r,!0,!0);if(c&&(!u||!c.__zr)&&c.__isRendered){var f=c.getPrevPaintRect();f&&d(f)}}do{n=!1;for(var p=0;p<s.length;){if(s[p].isZero()){s.splice(p,1);continue}for(var y=p+1;y<s.length;)s[p].intersect(s[y])?(n=!0,s[p].union(s[y]),s.splice(y,1)):y++;p++}}while(n);return this._paintRects=s,s},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var i=this.dpr,r=this.dom,n=r.style,s=this.domBack;n&&(n.width=t+"px",n.height=e+"px"),r.width=t*i,r.height=e*i,s&&(s.width=t*i,s.height=e*i,1!==i&&this.ctxBack.scale(i,i))},e.prototype.clear=function(t,e,i){var r=this.dom,s=this.ctx,a=r.width,l=r.height;e=e||this.clearColor;var _=this.motionBlur&&!t,d=this.lastFrameAlpha,p=this.dpr,c=this;_&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,a/p,l/p));var u=this.domBack;function f(t,i,r,a){if(s.clearRect(t,i,r,a),e&&"transparent"!==e){var l=void 0;n.isGradientObject(e)?(l=(e.global||e.__width===r&&e.__height===a)&&e.__canvasGradient||(0,o.Ff)(s,e,{x:0,y:0,width:r,height:a}),e.__canvasGradient=l,e.__width=r,e.__height=a):n.isImagePatternObject(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,l=(0,h.ZQ)(s,e,{dirty:function(){c.setUnpainted(),c.painter.refresh()}})),s.save(),s.fillStyle=l||e,s.fillRect(t,i,r,a),s.restore()}_&&(s.save(),s.globalAlpha=d,s.drawImage(u,t,i,r,a),s.restore())}!i||_?f(0,0,a,l):i.length&&n.each(i,function(t){f(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(a.A),u=i(51520),f=i(27170),v=function(){function t(t,e,i,s){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=n.extend({},i||{}),this.dpr=i.devicePixelRatio||r.Y5,this._singleCanvas=a,this.root=t,t.style&&(n.disableUserSelect(t),t.innerHTML=""),this.storage=e;var h=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(a){var _=t.width,d=t.height;null!=i.width&&(_=i.width),null!=i.height&&(d=i.height),this.dpr=i.devicePixelRatio||1,t.width=_*this.dpr,t.height=d*this.dpr,this._width=_,this._height=d;var p=new c(t,this,this.dpr);p.__builtin__=!0,p.initContext(),l[314159]=p,p.zlevel=314159,h.push(314159),this._domRoot=t}else{this._width=(0,o.YC)(t,0,i),this._height=(0,o.YC)(t,1,i);var u,f,v,y=this._domRoot=(u=this._width,f=this._height,(v=document.createElement("div")).style.cssText=["position:relative","width:"+u+"px","height:"+f+"px","padding:0;margin:0;border-width:0"].join(";")+";",v);t.appendChild(y)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),i=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,i,t,this._redrawId);for(var n=0;n<r.length;n++){var s=r[n],a=this._layers[s];if(!a.__builtin__&&a.refresh){var o=0===n?this._backgroundColor:null;a.refresh(o)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e,i=t.length,r=this._hoverlayer;if(r&&r.clear(),i){for(var n={inHover:!0,viewWidth:this._width,viewHeight:this._height},s=0;s<i;s++){var a=t[s];a.__inHover&&(r||(r=this._hoverlayer=this.getLayer(1e5)),e||(e=r.ctx).save(),(0,h.V$)(e,a,n,s===i-1))}
1e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,h.Xi)(t,e)},t.prototype._paintList=function(t,e,i,r){if(this._redrawId===r){i=i||!1,this._updateLayerStatus(t);var n=this._doPaintList(t,e,i),s=n.finished,a=n.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),s)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var o=this;(0,u.A)(function(){o._paintList(t,e,i,r)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer(function(r){r.virtual&&t.drawImage(r.dom,0,0,e,i)})},t.prototype._doPaintList=function(t,e,i){for(var r=this,s=[],a=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var h=this._zlevelList[o],l=this._layers[h];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||i)&&s.push(l)}for(var _=!0,d=!1,p=this,c=0;c<s.length;c++)!function(n){var o,h=s[n],l=h.ctx,c=a&&h.createRepaintRects(t,e,p._width,p._height),u=i?h.__startIndex:h.__drawIndex,f=!i&&h.incremental&&Date.now,v=f&&Date.now(),y=h.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(h.__startIndex===h.__endIndex)h.clear(!1,y,c);else if(u===h.__startIndex){var g=t[u];g.incremental&&g.notClear&&!i||h.clear(!1,y,c)}-1===u&&(console.error("For some unknown reason. drawIndex is -1"),u=h.__startIndex);var x=function(e){var i={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(o=u;o<h.__endIndex;o++){var n=t[o];if(n.__inHover&&(d=!0),r._doPaintEl(n,h,a,e,i,o===h.__endIndex-1),f&&Date.now()-v>15)break}i.prevElClipPaths&&l.restore()};if(c)if(0===c.length)o=h.__endIndex;else for(var w=p.dpr,m=0;m<c.length;++m){var L=c[m];l.save(),l.beginPath(),l.rect(L.x*w,L.y*w,L.width*w,L.height*w),l.clip(),x(L),l.restore()}else l.save(),x(),l.restore();h.__drawIndex=o,h.__drawIndex<h.__endIndex&&(_=!1)}(c);return f.A.wxa&&n.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:_,needsRefreshHover:d}},t.prototype._doPaintEl=function(t,e,i,r,n,s){var a=e.ctx;if(i){var o=t.getPaintRect();(!r||o&&o.intersect(r))&&((0,h.V$)(a,t,n,s),t.setPrevPaintRect(o))}else(0,h.V$)(a,t,n,s)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var i=this._layers[t];return i||((i=new c("zr_"+t,this,this.dpr)).zlevel=t,i.__builtin__=!0,this._layerConfig[t]?n.merge(i,this._layerConfig[t],!0):this._layerConfig[t-.01]&&n.merge(i,this._layerConfig[t-.01],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},t.prototype.insertLayer=function(t,e){var i=this._layers,r=this._zlevelList,n=r.length,s=this._domRoot,a=null,o=-1;if(!i[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh&&1)){if(n>0&&t>r[0]){for(o=0;o<n-1&&(!(r[o]<t)||!(r[o+1]>t));o++);a=i[r[o]]}if(r.splice(o+1,0,t),i[t]=e,!e.virtual)if(a){var h=a.dom;h.nextSibling?s.insertBefore(e.dom,h.nextSibling):s.appendChild(e.dom)}else s.firstChild?s.insertBefore(e.dom,s.firstChild):s.appendChild(e.dom);e.painter||(e.painter=this)}}},t.prototype.eachLayer=function(t,e){for(var i=this._zlevelList,r=0;r<i.length;r++){var n=i[r];t.call(e,this._layers[n],n)}},t.prototype.eachBuiltinLayer=function(t,e){for(var i=this._zlevelList,r=0;r<i.length;r++){var n=i[r],s=this._layers[n];s.__builtin__&&t.call(e,s,n)}},t.prototype.eachOtherLayer=function(t,e){for(var i=this._zlevelList,r=0;r<i.length;r++){var n=i[r],s=this._layers[n];s.__builtin__||t.call(e,s,n)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var i,r,s=1;s<t.length;s++){var a=t[s];if(a.zlevel!==t[s-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var o=null,h=0;for(r=0;r<t.length;r++){var a=t[r],l=a.zlevel,d=void 0;i!==l&&(i=l,h=0),a.incremental?((d=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,h=1):d=this.getLayer(l+.01*(h>0),this._needsManuallyCompositing),d.__builtin__||n.logError("ZLevel "+l+" has been used by unkown layer "+d.id),d!==o&&(d.__used=!0,d.__startIndex!==r&&(d.__dirty=!0),d.__startIndex=r,d.incremental?d.__drawIndex=-1:d.__drawIndex=r,e(r),o=d),a.__dirty&_.M&&!a.__inHover&&(d.__dirty=!0,d.incremental&&d.__drawIndex<0&&(d.__drawIndex=r))}e(r),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()}
1,t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,n.each(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var i=this._layerConfig;i[t]?n.merge(i[t],e,!0):i[t]=e;for(var r=0;r<this._zlevelList.length;r++){var s=this._zlevelList[r];if(s===t||s===t+.01){var a=this._layers[s];n.merge(a,i[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,i=this._zlevelList,r=e[t];r&&(r.dom.parentNode.removeChild(r.dom),delete e[t],i.splice(n.indexOf(i,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var i=this._domRoot;i.style.display="none";var r=this._opts,n=this.root;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=(0,o.YC)(n,0,r),e=(0,o.YC)(n,1,r),i.style.display="",this._width!==t||e!==this._height){for(var s in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(s)&&this._layers[s].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new c("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var i=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var r=e.dom.width,n=e.dom.height;this.eachLayer(function(t){t.__builtin__?i.drawImage(t.dom,0,0,r,n):t.renderToCanvas&&(i.save(),t.renderToCanvas(i),i.restore())})}else for(var s={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),o=0,l=a.length;o<l;o++){var _=a[o];(0,h.V$)(i,_,s,o===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function y(t){t.registerPainter("canvas",v)}}}]);
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.