@openremote/or-gauge 1.3.0-snapshot.20250117163435 → 1.3.0-snapshot.20250120082100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +9 -9
- package/dist/umd/index.js +9 -9
- package/dist/umd/index.orbundle.js +7 -7
- package/lib/index.d.ts +2 -8
- package/lib/index.js +6 -6
- package/lib/index.js.map +1 -1
- package/package.json +7 -7
- package/component.stories.js +0 -63
package/dist/umd/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("ORModel"),require("ORCore"),require("ORTranslate"),require("ORIcon")):"function"==typeof define&&define.amd?define(["ORModel","ORCore","ORTranslate","ORIcon"],n):"object"==typeof exports?exports.ORGauge=n(require("ORModel"),require("ORCore"),require("ORTranslate"),require("ORIcon")):t.ORGauge=n(t.ORModel,t.ORCore,t.ORTranslate,t.ORIcon)}(self,((t,n,e,r)=>(()=>{var i={68:function(t,n,e){var r;(function(){var i,o,u,s,a,l,c,h,f,p,d,v,g=[].slice,_={}.hasOwnProperty,y=function(t,n){for(var e in n)_.call(n,e)&&(t[e]=n[e]);function r(){this.constructor=t}return r.prototype=n.prototype,t.prototype=new r,t.__super__=n.prototype,t},m=[].indexOf||function(t){for(var n=0,e=this.length;n<e;n++)if(n in this&&this[n]===t)return n;return-1};!function(){var t,n,e,r,i,o,u;for(e=0,i=(u=["ms","moz","webkit","o"]).length;e<i&&(o=u[e],!window.requestAnimationFrame);e++)window.requestAnimationFrame=window[o+"RequestAnimationFrame"],window.cancelAnimationFrame=window[o+"CancelAnimationFrame"]||window[o+"CancelRequestAnimationFrame"];t=null,r=0,n={},requestAnimationFrame?window.cancelAnimationFrame||(t=window.requestAnimationFrame,window.requestAnimationFrame=function(e,i){var o;return o=++r,t((function(){if(!n[o])return e()}),i),o},window.cancelAnimationFrame=function(t){return n[t]=!0}):(window.requestAnimationFrame=function(t,n){var e,r,i,o;return e=(new Date).getTime(),o=Math.max(0,16-(e-i)),r=window.setTimeout((function(){return t(e+o)}),o),i=e+o,r},window.cancelAnimationFrame=function(t){return clearTimeout(t)})}(),v=function(t){var n,e;for(t-=3600*(n=Math.floor(t/3600))+60*(e=Math.floor((t-3600*n)/60)),t+="",e+="";e.length<2;)e="0"+e;for(;t.length<2;)t="0"+t;return(n=n?n+":":"")+e+":"+t},p=function(){var t,n,e;return e=(n=1<=arguments.length?g.call(arguments,0):[])[0],t=n[1],h(e.toFixed(t))},d=function(t,n){var e,r,i;for(e in r={},t)_.call(t,e)&&(i=t[e],r[e]=i);for(e in n)_.call(n,e)&&(i=n[e],r[e]=i);return r},h=function(t){var n,e,r,i;for(r=(e=(t+="").split("."))[0],i="",e.length>1&&(i="."+e[1]),n=/(\d+)(\d{3})/;n.test(r);)r=r.replace(n,"$1,$2");return r+i},f=function(t){return"#"===t.charAt(0)?t.substring(1,7):t},o=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return y(n,t),n.prototype.displayScale=1,n.prototype.forceUpdate=!0,n.prototype.setTextField=function(t,n){return this.textField=t instanceof l?t:new l(t,n)},n.prototype.setMinValue=function(t,n){var e,r,i,o,u;if(this.minValue=t,null==n&&(n=!0),n){for(this.displayedValue=this.minValue,u=[],r=0,i=(o=this.gp||[]).length;r<i;r++)e=o[r],u.push(e.displayedValue=this.minValue);return u}},n.prototype.setOptions=function(t){return null==t&&(t=null),this.options=d(this.options,t),this.textField&&(this.textField.el.style.fontSize=t.fontSize+"px"),this.options.angle>.5&&(this.options.angle=.5),this.configDisplayScale(),this},n.prototype.configDisplayScale=function(){var t,n,e,r,i;return r=this.displayScale,!1===this.options.highDpiSupport?delete this.displayScale:(n=window.devicePixelRatio||1,t=this.ctx.webkitBackingStorePixelRatio||this.ctx.mozBackingStorePixelRatio||this.ctx.msBackingStorePixelRatio||this.ctx.oBackingStorePixelRatio||this.ctx.backingStorePixelRatio||1,this.displayScale=n/t),this.displayScale!==r&&(i=this.canvas.G__width||this.canvas.width,e=this.canvas.G__height||this.canvas.height,this.canvas.width=i*this.displayScale,this.canvas.height=e*this.displayScale,this.canvas.style.width=i+"px",this.canvas.style.height=e+"px",this.canvas.G__width=i,this.canvas.G__height=e),this},n.prototype.parseValue=function(t){return t=parseFloat(t)||Number(t),isFinite(t)?t:0},n}(c=function(){function t(t,n){null==t&&(t=!0),this.clear=null==n||n,t&&AnimationUpdater.add(this)}return t.prototype.animationSpeed=32,t.prototype.update=function(t){var n;return null==t&&(t=!1),!(!t&&this.displayedValue===this.value||(this.ctx&&this.clear&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),n=this.value-this.displayedValue,Math.abs(n/this.animationSpeed)<=.001?this.displayedValue=this.value:this.displayedValue=this.displayedValue+n/this.animationSpeed,this.render(),0))},t}()),l=function(){function t(t,n){this.el=t,this.fractionDigits=n}return t.prototype.render=function(t){return this.el.innerHTML=p(t.displayedValue,this.fractionDigits)},t}(),function(t){function n(t,e){if(this.elem=t,this.text=null!=e&&e,n.__super__.constructor.call(this),void 0===this.elem)throw new Error("The element isn't defined.");this.value=1*this.elem.innerHTML,this.text&&(this.value=0)}y(n,t),n.prototype.displayedValue=0,n.prototype.value=0,n.prototype.setVal=function(t){return this.value=1*t},n.prototype.render=function(){var t;return t=this.text?v(this.displayedValue.toFixed(0)):h(p(this.displayedValue)),this.elem.innerHTML=t}}(c),a=function(t){function n(t){if(this.gauge=t,void 0===this.gauge)throw new Error("The element isn't defined.");this.ctx=this.gauge.ctx,this.canvas=this.gauge.canvas,n.__super__.constructor.call(this,!1,!1),this.setOptions()}return y(n,t),n.prototype.displayedValue=0,n.prototype.value=0,n.prototype.options={strokeWidth:.035,length:.1,color:"#000000",iconPath:null,iconScale:1,iconAngle:0},n.prototype.img=null,n.prototype.setOptions=function(t){if(null==t&&(t=null),this.options=d(this.options,t),this.length=2*this.gauge.radius*this.gauge.options.radiusScale*this.options.length,this.strokeWidth=this.canvas.height*this.options.strokeWidth,this.maxValue=this.gauge.maxValue,this.minValue=this.gauge.minValue,this.animationSpeed=this.gauge.animationSpeed,this.options.angle=this.gauge.options.angle,this.options.iconPath)return this.img=new Image,this.img.src=this.options.iconPath},n.prototype.render=function(){var t,n,e,r,i,o,u,s,a;if(t=this.gauge.getAngle.call(this,this.displayedValue),s=Math.round(this.length*Math.cos(t)),a=Math.round(this.length*Math.sin(t)),o=Math.round(this.strokeWidth*Math.cos(t-Math.PI/2)),u=Math.round(this.strokeWidth*Math.sin(t-Math.PI/2)),n=Math.round(this.strokeWidth*Math.cos(t+Math.PI/2)),e=Math.round(this.strokeWidth*Math.sin(t+Math.PI/2)),this.ctx.beginPath(),this.ctx.fillStyle=this.options.color,this.ctx.arc(0,0,this.strokeWidth,0,2*Math.PI,!1),this.ctx.fill(),this.ctx.beginPath(),this.ctx.moveTo(o,u),this.ctx.lineTo(s,a),this.ctx.lineTo(n,e),this.ctx.fill(),this.img)return r=Math.round(this.img.width*this.options.iconScale),i=Math.round(this.img.height*this.options.iconScale),this.ctx.save(),this.ctx.translate(s,a),this.ctx.rotate(t+Math.PI/180*(90+this.options.iconAngle)),this.ctx.drawImage(this.img,-r/2,-i/2,r,i),this.ctx.restore()},n}(c),function(){function t(t){this.elem=t}t.prototype.updateValues=function(t){return this.value=t[0],this.maxValue=t[1],this.avgValue=t[2],this.render()},t.prototype.render=function(){var t,n;return this.textField&&this.textField.text(p(this.value)),0===this.maxValue&&(this.maxValue=2*this.avgValue),n=this.value/this.maxValue*100,t=this.avgValue/this.maxValue*100,$(".bar-value",this.elem).css({width:n+"%"}),$(".typical-value",this.elem).css({width:t+"%"})}}(),s=function(t){function n(t){var e,r;this.canvas=t,n.__super__.constructor.call(this),this.percentColors=null,"undefined"!=typeof G_vmlCanvasManager&&(this.canvas=window.G_vmlCanvasManager.initElement(this.canvas)),this.ctx=this.canvas.getContext("2d"),e=this.canvas.clientHeight,r=this.canvas.clientWidth,this.canvas.height=e,this.canvas.width=r,this.gp=[new a(this)],this.setOptions()}return y(n,t),n.prototype.elem=null,n.prototype.value=[20],n.prototype.maxValue=80,n.prototype.minValue=0,n.prototype.displayedAngle=0,n.prototype.displayedValue=0,n.prototype.lineWidth=40,n.prototype.paddingTop=.1,n.prototype.paddingBottom=.1,n.prototype.percentColors=null,n.prototype.options={colorStart:"#6fadcf",colorStop:void 0,gradientType:0,strokeColor:"#e0e0e0",pointer:{length:.8,strokeWidth:.035,iconScale:1},angle:.15,lineWidth:.44,radiusScale:1,fontSize:40,limitMax:!1,limitMin:!1},n.prototype.setOptions=function(t){var e,r,i,o,u;for(null==t&&(t=null),n.__super__.setOptions.call(this,t),this.configPercentColors(),this.extraPadding=0,this.options.angle<0&&(o=Math.PI*(1+this.options.angle),this.extraPadding=Math.sin(o)),this.availableHeight=this.canvas.height*(1-this.paddingTop-this.paddingBottom),this.lineWidth=this.availableHeight*this.options.lineWidth,this.radius=(this.availableHeight-this.lineWidth/2)/(1+this.extraPadding),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),r=0,i=(u=this.gp).length;r<i;r++)(e=u[r]).setOptions(this.options.pointer),e.render();return this.render(),this},n.prototype.configPercentColors=function(){var t,n,e,r,i,o,u;if(this.percentColors=null,void 0!==this.options.percentColors){for(this.percentColors=new Array,o=[],e=r=0,i=this.options.percentColors.length-1;0<=i?r<=i:r>=i;e=0<=i?++r:--r)u=parseInt(f(this.options.percentColors[e][1]).substring(0,2),16),n=parseInt(f(this.options.percentColors[e][1]).substring(2,4),16),t=parseInt(f(this.options.percentColors[e][1]).substring(4,6),16),o.push(this.percentColors[e]={pct:this.options.percentColors[e][0],color:{r:u,g:n,b:t}});return o}},n.prototype.set=function(t){var n,e,r,i,o,u,s,l,c;for(t instanceof Array||(t=[t]),e=r=0,s=t.length-1;0<=s?r<=s:r>=s;e=0<=s?++r:--r)t[e]=this.parseValue(t[e]);if(t.length>this.gp.length)for(e=i=0,l=t.length-this.gp.length;0<=l?i<l:i>l;e=0<=l?++i:--i)(n=new a(this)).setOptions(this.options.pointer),this.gp.push(n);else t.length<this.gp.length&&(this.gp=this.gp.slice(this.gp.length-t.length));for(e=0,u=0,o=t.length;u<o;u++)(c=t[u])>this.maxValue?this.options.limitMax?c=this.maxValue:this.maxValue=c+1:c<this.minValue&&(this.options.limitMin?c=this.minValue:this.minValue=c-1),this.gp[e].value=c,this.gp[e++].setOptions({minValue:this.minValue,maxValue:this.maxValue,angle:this.options.angle});return this.value=Math.max(Math.min(t[t.length-1],this.maxValue),this.minValue),AnimationUpdater.add(this),AnimationUpdater.run(this.forceUpdate),this.forceUpdate=!1},n.prototype.getAngle=function(t){return(1+this.options.angle)*Math.PI+(t-this.minValue)/(this.maxValue-this.minValue)*(1-2*this.options.angle)*Math.PI},n.prototype.getColorForPercentage=function(t,n){var e,r,i,o,u,s,a;if(0===t)e=this.percentColors[0].color;else for(e=this.percentColors[this.percentColors.length-1].color,i=o=0,s=this.percentColors.length-1;0<=s?o<=s:o>=s;i=0<=s?++o:--o)if(t<=this.percentColors[i].pct){!0===n?(a=this.percentColors[i-1]||this.percentColors[0],r=this.percentColors[i],u=(t-a.pct)/(r.pct-a.pct),e={r:Math.floor(a.color.r*(1-u)+r.color.r*u),g:Math.floor(a.color.g*(1-u)+r.color.g*u),b:Math.floor(a.color.b*(1-u)+r.color.b*u)}):e=this.percentColors[i].color;break}return"rgb("+[e.r,e.g,e.b].join(",")+")"},n.prototype.getColorForValue=function(t,n){var e;return e=(t-this.minValue)/(this.maxValue-this.minValue),this.getColorForPercentage(e,n)},n.prototype.renderStaticLabels=function(t,n,e,r){var i,o,u,s,a,l,c,h,f,d;for(this.ctx.save(),this.ctx.translate(n,e),l=/\d+\.?\d?/,a=(i=t.font||"10px Times").match(l)[0],h=i.slice(a.length),o=parseFloat(a)*this.displayScale,this.ctx.font=o+h,this.ctx.fillStyle=t.color||"#000000",this.ctx.textBaseline="bottom",this.ctx.textAlign="center",u=0,s=(c=t.labels).length;u<s;u++)void 0!==(d=c[u]).label?(!this.options.limitMin||d>=this.minValue)&&(!this.options.limitMax||d<=this.maxValue)&&(a=(i=d.font||t.font).match(l)[0],h=i.slice(a.length),o=parseFloat(a)*this.displayScale,this.ctx.font=o+h,f=this.getAngle(d.label)-3*Math.PI/2,this.ctx.rotate(f),this.ctx.fillText(p(d.label,t.fractionDigits),0,-r-this.lineWidth/2),this.ctx.rotate(-f)):(!this.options.limitMin||d>=this.minValue)&&(!this.options.limitMax||d<=this.maxValue)&&(f=this.getAngle(d)-3*Math.PI/2,this.ctx.rotate(f),this.ctx.fillText(p(d,t.fractionDigits),0,-r-this.lineWidth/2),this.ctx.rotate(-f));return this.ctx.restore()},n.prototype.renderTicks=function(t,n,e,r){var i,o,u,s,a,l,c,h,f,p,d,v,g,_,y,m,x,b,w,A;if(t!=={}){for(l=t.divisions||0,b=t.subDivisions||0,u=t.divColor||"#fff",_=t.subColor||"#fff",s=t.divLength||.7,m=t.subLength||.2,f=parseFloat(this.maxValue)-parseFloat(this.minValue),p=parseFloat(f)/parseFloat(t.divisions),y=parseFloat(p)/parseFloat(t.subDivisions),i=parseFloat(this.minValue),o=0+y,a=(h=f/400)*(t.divWidth||1),x=h*(t.subWidth||1),v=[],w=c=0,d=l+1;c<d;w=c+=1)this.ctx.lineWidth=this.lineWidth*s,g=this.lineWidth/2*(1-s),A=this.radius*this.options.radiusScale+g,this.ctx.strokeStyle=u,this.ctx.beginPath(),this.ctx.arc(0,0,A,this.getAngle(i-a),this.getAngle(i+a),!1),this.ctx.stroke(),o=i+y,i+=p,w!==t.divisions&&b>0?v.push(function(){var t,n,e;for(e=[],t=0,n=b-1;t<n;t+=1)this.ctx.lineWidth=this.lineWidth*m,g=this.lineWidth/2*(1-m),A=this.radius*this.options.radiusScale+g,this.ctx.strokeStyle=_,this.ctx.beginPath(),this.ctx.arc(0,0,A,this.getAngle(o-x),this.getAngle(o+x),!1),this.ctx.stroke(),e.push(o+=y);return e}.call(this)):v.push(void 0);return v}},n.prototype.render=function(){var t,n,e,r,i,o,u,s,a,l,c,h,f,p,d,v;if(d=this.canvas.width/2,e=this.canvas.height*this.paddingTop+this.availableHeight-(this.radius+this.lineWidth/2)*this.extraPadding,t=this.getAngle(this.displayedValue),this.textField&&this.textField.render(this),this.ctx.lineCap="butt",l=this.radius*this.options.radiusScale,this.options.staticLabels&&this.renderStaticLabels(this.options.staticLabels,d,e,l),this.options.staticZones)for(this.ctx.save(),this.ctx.translate(d,e),this.ctx.lineWidth=this.lineWidth,r=0,o=(c=this.options.staticZones).length;r<o;r++)a=(v=c[r]).min,this.options.limitMin&&a<this.minValue&&(a=this.minValue),s=v.max,this.options.limitMax&&s>this.maxValue&&(s=this.maxValue),p=this.radius*this.options.radiusScale,v.height&&(this.ctx.lineWidth=this.lineWidth*v.height,f=this.lineWidth/2*(v.offset||1-v.height),p=this.radius*this.options.radiusScale+f),this.ctx.strokeStyle=v.strokeStyle,this.ctx.beginPath(),this.ctx.arc(0,0,p,this.getAngle(a),this.getAngle(s),!1),this.ctx.stroke();else void 0!==this.options.customFillStyle?n=this.options.customFillStyle(this):null!==this.percentColors?n=this.getColorForValue(this.displayedValue,this.options.generateGradient):void 0!==this.options.colorStop?((n=0===this.options.gradientType?this.ctx.createRadialGradient(d,e,9,d,e,70):this.ctx.createLinearGradient(0,0,d,0)).addColorStop(0,this.options.colorStart),n.addColorStop(1,this.options.colorStop)):n=this.options.colorStart,this.ctx.strokeStyle=n,this.ctx.beginPath(),this.ctx.arc(d,e,l,(1+this.options.angle)*Math.PI,t,!1),this.ctx.lineWidth=this.lineWidth,this.ctx.stroke(),this.ctx.strokeStyle=this.options.strokeColor,this.ctx.beginPath(),this.ctx.arc(d,e,l,t,(2-this.options.angle)*Math.PI,!1),this.ctx.stroke(),this.ctx.save(),this.ctx.translate(d,e);for(this.options.renderTicks&&this.renderTicks(this.options.renderTicks,d,e,l),this.ctx.restore(),this.ctx.translate(d,e),i=0,u=(h=this.gp).length;i<u;i++)h[i].update(!0);return this.ctx.translate(-d,-e)},n}(o),i=function(t){function n(t){this.canvas=t,n.__super__.constructor.call(this),"undefined"!=typeof G_vmlCanvasManager&&(this.canvas=window.G_vmlCanvasManager.initElement(this.canvas)),this.ctx=this.canvas.getContext("2d"),this.setOptions(),this.render()}return y(n,t),n.prototype.lineWidth=15,n.prototype.displayedValue=0,n.prototype.value=33,n.prototype.maxValue=80,n.prototype.minValue=0,n.prototype.options={lineWidth:.1,colorStart:"#6f6ea0",colorStop:"#c0c0db",strokeColor:"#eeeeee",shadowColor:"#d5d5d5",angle:.35,radiusScale:1},n.prototype.getAngle=function(t){return(1-this.options.angle)*Math.PI+(t-this.minValue)/(this.maxValue-this.minValue)*(2+this.options.angle-(1-this.options.angle))*Math.PI},n.prototype.setOptions=function(t){return null==t&&(t=null),n.__super__.setOptions.call(this,t),this.lineWidth=this.canvas.height*this.options.lineWidth,this.radius=this.options.radiusScale*(this.canvas.height/2-this.lineWidth/2),this},n.prototype.set=function(t){return this.value=this.parseValue(t),this.value>this.maxValue?this.options.limitMax?this.value=this.maxValue:this.maxValue=this.value:this.value<this.minValue&&(this.options.limitMin?this.value=this.minValue:this.minValue=this.value),AnimationUpdater.add(this),AnimationUpdater.run(this.forceUpdate),this.forceUpdate=!1},n.prototype.render=function(){var t,n,e,r;return t=this.getAngle(this.displayedValue),r=this.canvas.width/2,e=this.canvas.height/2,this.textField&&this.textField.render(this),(n=this.ctx.createRadialGradient(r,e,39,r,e,70)).addColorStop(0,this.options.colorStart),n.addColorStop(1,this.options.colorStop),this.radius,this.lineWidth,this.radius,this.lineWidth,this.ctx.strokeStyle=this.options.strokeColor,this.ctx.beginPath(),this.ctx.arc(r,e,this.radius,(1-this.options.angle)*Math.PI,(2+this.options.angle)*Math.PI,!1),this.ctx.lineWidth=this.lineWidth,this.ctx.lineCap="round",this.ctx.stroke(),this.ctx.strokeStyle=n,this.ctx.beginPath(),this.ctx.arc(r,e,this.radius,(1-this.options.angle)*Math.PI,t,!1),this.ctx.stroke()},n}(o),u=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return y(n,t),n.prototype.strokeGradient=function(t,n,e,r){var i;return(i=this.ctx.createRadialGradient(t,n,e,t,n,r)).addColorStop(0,this.options.shadowColor),i.addColorStop(.12,this.options._orgStrokeColor),i.addColorStop(.88,this.options._orgStrokeColor),i.addColorStop(1,this.options.shadowColor),i},n.prototype.setOptions=function(t){var e,r,i,o;return null==t&&(t=null),n.__super__.setOptions.call(this,t),o=this.canvas.width/2,e=this.canvas.height/2,r=this.radius-this.lineWidth/2,i=this.radius+this.lineWidth/2,this.options._orgStrokeColor=this.options.strokeColor,this.options.strokeColor=this.strokeGradient(o,e,r,i),this},n}(i),window.AnimationUpdater={elements:[],animId:null,addAll:function(t){var n,e,r,i;for(i=[],e=0,r=t.length;e<r;e++)n=t[e],i.push(AnimationUpdater.elements.push(n));return i},add:function(t){if(m.call(AnimationUpdater.elements,t)<0)return AnimationUpdater.elements.push(t)},run:function(t){var n,e,r,i,o,u,s;if(null==t&&(t=!1),isFinite(parseFloat(t))||!0===t){for(n=!0,s=[],r=e=0,o=(u=AnimationUpdater.elements).length;e<o;r=++e)u[r].update(!0===t)?n=!1:s.push(r);for(i=s.length-1;i>=0;i+=-1)r=s[i],AnimationUpdater.elements.splice(r,1);return AnimationUpdater.animId=n?null:requestAnimationFrame(AnimationUpdater.run)}if(!1===t)return!0===AnimationUpdater.animId&&cancelAnimationFrame(AnimationUpdater.animId),AnimationUpdater.animId=requestAnimationFrame(AnimationUpdater.run)}},"function"==typeof window.define&&null!=window.define.amd?void 0===(r=function(){return{Gauge:s,Donut:u,BaseDonut:i,TextRenderer:l}}.call(n,e,n,t))||(t.exports=r):null!=t.exports?t.exports={Gauge:s,Donut:u,BaseDonut:i,TextRenderer:l}:(window.Gauge=s,window.Donut=u,window.BaseDonut=i,window.TextRenderer=l)}).call(this)},944:function(t,n,e){var r;t=e.nmd(t),function(){var i,o="Expected a function",u="__lodash_hash_undefined__",s="__lodash_placeholder__",a=32,l=128,c=1/0,h=9007199254740991,f=NaN,p=4294967295,d=[["ary",l],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",a],["partialRight",64],["rearg",256]],v="[object Arguments]",g="[object Array]",_="[object Boolean]",y="[object Date]",m="[object Error]",x="[object Function]",b="[object GeneratorFunction]",w="[object Map]",A="[object Number]",$="[object Object]",S="[object Promise]",C="[object RegExp]",E="[object Set]",k="[object String]",O="[object Symbol]",R="[object WeakMap]",M="[object ArrayBuffer]",j="[object DataView]",P="[object Float32Array]",V="[object Float64Array]",U="[object Int8Array]",I="[object Int16Array]",T="[object Int32Array]",z="[object Uint8Array]",W="[object Uint8ClampedArray]",F="[object Uint16Array]",L="[object Uint32Array]",D=/\b__p \+= '';/g,N=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,H=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(H.source),Z=RegExp(q.source),K=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nt=/[\\^$.*+?()[\]{}|]/g,et=RegExp(nt.source),rt=/^\s+/,it=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ut=/\{\n\/\* \[wrapped with (.+)\] \*/,st=/,? & /,at=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,lt=/[()=,{}\[\]\/\s]/,ct=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ft=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,dt=/^0b[01]+$/i,vt=/^\[object .+?Constructor\]$/,gt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mt=/($^)/,xt=/['\n\r\u2028\u2029\\]/g,bt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\u2700-\\u27bf",$t="a-z\\xdf-\\xf6\\xf8-\\xff",St="A-Z\\xc0-\\xd6\\xd8-\\xde",Ct="\\ufe0e\\ufe0f",Et="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",kt="["+bt+"]",Ot="["+Et+"]",Rt="["+wt+"]",Mt="\\d+",jt="["+At+"]",Pt="["+$t+"]",Vt="[^"+bt+Et+Mt+At+$t+St+"]",Ut="\\ud83c[\\udffb-\\udfff]",It="[^"+bt+"]",Tt="(?:\\ud83c[\\udde6-\\uddff]){2}",zt="[\\ud800-\\udbff][\\udc00-\\udfff]",Wt="["+St+"]",Ft="\\u200d",Lt="(?:"+Pt+"|"+Vt+")",Dt="(?:"+Wt+"|"+Vt+")",Nt="(?:['’](?:d|ll|m|re|s|t|ve))?",Bt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ht="(?:"+Rt+"|"+Ut+")?",qt="["+Ct+"]?",Gt=qt+Ht+"(?:"+Ft+"(?:"+[It,Tt,zt].join("|")+")"+qt+Ht+")*",Zt="(?:"+[jt,Tt,zt].join("|")+")"+Gt,Kt="(?:"+[It+Rt+"?",Rt,Tt,zt,kt].join("|")+")",Jt=RegExp("['’]","g"),Yt=RegExp(Rt,"g"),Qt=RegExp(Ut+"(?="+Ut+")|"+Kt+Gt,"g"),Xt=RegExp([Wt+"?"+Pt+"+"+Nt+"(?="+[Ot,Wt,"$"].join("|")+")",Dt+"+"+Bt+"(?="+[Ot,Wt+Lt,"$"].join("|")+")",Wt+"?"+Lt+"+"+Nt,Wt+"+"+Bt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Zt].join("|"),"g"),tn=RegExp("["+Ft+bt+wt+Ct+"]"),nn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,en=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rn=-1,on={};on[P]=on[V]=on[U]=on[I]=on[T]=on[z]=on[W]=on[F]=on[L]=!0,on[v]=on[g]=on[M]=on[_]=on[j]=on[y]=on[m]=on[x]=on[w]=on[A]=on[$]=on[C]=on[E]=on[k]=on[R]=!1;var un={};un[v]=un[g]=un[M]=un[j]=un[_]=un[y]=un[P]=un[V]=un[U]=un[I]=un[T]=un[w]=un[A]=un[$]=un[C]=un[E]=un[k]=un[O]=un[z]=un[W]=un[F]=un[L]=!0,un[m]=un[x]=un[R]=!1;var sn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},an=parseFloat,ln=parseInt,cn="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,hn="object"==typeof self&&self&&self.Object===Object&&self,fn=cn||hn||Function("return this")(),pn=n&&!n.nodeType&&n,dn=pn&&t&&!t.nodeType&&t,vn=dn&&dn.exports===pn,gn=vn&&cn.process,_n=function(){try{return dn&&dn.require&&dn.require("util").types||gn&&gn.binding&&gn.binding("util")}catch(t){}}(),yn=_n&&_n.isArrayBuffer,mn=_n&&_n.isDate,xn=_n&&_n.isMap,bn=_n&&_n.isRegExp,wn=_n&&_n.isSet,An=_n&&_n.isTypedArray;function $n(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function Sn(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(r,u,e(u),t)}return r}function Cn(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==n(t[e],e,t););return t}function En(t,n){for(var e=null==t?0:t.length;e--&&!1!==n(t[e],e,t););return t}function kn(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function On(t,n){for(var e=-1,r=null==t?0:t.length,i=0,o=[];++e<r;){var u=t[e];n(u,e,t)&&(o[i++]=u)}return o}function Rn(t,n){return!(null==t||!t.length)&&Fn(t,n,0)>-1}function Mn(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}function jn(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}function Pn(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}function Vn(t,n,e,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(e=t[++i]);++i<o;)e=n(e,t[i],i,t);return e}function Un(t,n,e,r){var i=null==t?0:t.length;for(r&&i&&(e=t[--i]);i--;)e=n(e,t[i],i,t);return e}function In(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}var Tn=Bn("length");function zn(t,n,e){var r;return e(t,(function(t,e,i){if(n(t,e,i))return r=e,!1})),r}function Wn(t,n,e,r){for(var i=t.length,o=e+(r?1:-1);r?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Fn(t,n,e){return n==n?function(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}(t,n,e):Wn(t,Dn,e)}function Ln(t,n,e,r){for(var i=e-1,o=t.length;++i<o;)if(r(t[i],n))return i;return-1}function Dn(t){return t!=t}function Nn(t,n){var e=null==t?0:t.length;return e?Gn(t,n)/e:f}function Bn(t){return function(n){return null==n?i:n[t]}}function Hn(t){return function(n){return null==t?i:t[n]}}function qn(t,n,e,r,i){return i(t,(function(t,i,o){e=r?(r=!1,t):n(e,t,i,o)})),e}function Gn(t,n){for(var e,r=-1,o=t.length;++r<o;){var u=n(t[r]);u!==i&&(e=e===i?u:e+u)}return e}function Zn(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function Kn(t){return t?t.slice(0,fe(t)+1).replace(rt,""):t}function Jn(t){return function(n){return t(n)}}function Yn(t,n){return jn(n,(function(n){return t[n]}))}function Qn(t,n){return t.has(n)}function Xn(t,n){for(var e=-1,r=t.length;++e<r&&Fn(n,t[e],0)>-1;);return e}function te(t,n){for(var e=t.length;e--&&Fn(n,t[e],0)>-1;);return e}var ne=Hn({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ee=Hn({"&":"&","<":"<",">":">",'"':""","'":"'"});function re(t){return"\\"+sn[t]}function ie(t){return tn.test(t)}function oe(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function ue(t,n){return function(e){return t(n(e))}}function se(t,n){for(var e=-1,r=t.length,i=0,o=[];++e<r;){var u=t[e];u!==n&&u!==s||(t[e]=s,o[i++]=e)}return o}function ae(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}function le(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=[t,t]})),e}function ce(t){return ie(t)?function(t){for(var n=Qt.lastIndex=0;Qt.test(t);)++n;return n}(t):Tn(t)}function he(t){return ie(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.split("")}(t)}function fe(t){for(var n=t.length;n--&&it.test(t.charAt(n)););return n}var pe=Hn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),de=function t(n){var e,r=(n=null==n?fn:de.defaults(fn.Object(),n,de.pick(fn,en))).Array,it=n.Date,bt=n.Error,wt=n.Function,At=n.Math,$t=n.Object,St=n.RegExp,Ct=n.String,Et=n.TypeError,kt=r.prototype,Ot=wt.prototype,Rt=$t.prototype,Mt=n["__core-js_shared__"],jt=Ot.toString,Pt=Rt.hasOwnProperty,Vt=0,Ut=(e=/[^.]+$/.exec(Mt&&Mt.keys&&Mt.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",It=Rt.toString,Tt=jt.call($t),zt=fn._,Wt=St("^"+jt.call(Pt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ft=vn?n.Buffer:i,Lt=n.Symbol,Dt=n.Uint8Array,Nt=Ft?Ft.allocUnsafe:i,Bt=ue($t.getPrototypeOf,$t),Ht=$t.create,qt=Rt.propertyIsEnumerable,Gt=kt.splice,Zt=Lt?Lt.isConcatSpreadable:i,Kt=Lt?Lt.iterator:i,Qt=Lt?Lt.toStringTag:i,tn=function(){try{var t=ao($t,"defineProperty");return t({},"",{}),t}catch(t){}}(),sn=n.clearTimeout!==fn.clearTimeout&&n.clearTimeout,cn=it&&it.now!==fn.Date.now&&it.now,hn=n.setTimeout!==fn.setTimeout&&n.setTimeout,pn=At.ceil,dn=At.floor,gn=$t.getOwnPropertySymbols,_n=Ft?Ft.isBuffer:i,Tn=n.isFinite,Hn=kt.join,ve=ue($t.keys,$t),ge=At.max,_e=At.min,ye=it.now,me=n.parseInt,xe=At.random,be=kt.reverse,we=ao(n,"DataView"),Ae=ao(n,"Map"),$e=ao(n,"Promise"),Se=ao(n,"Set"),Ce=ao(n,"WeakMap"),Ee=ao($t,"create"),ke=Ce&&new Ce,Oe={},Re=To(we),Me=To(Ae),je=To($e),Pe=To(Se),Ve=To(Ce),Ue=Lt?Lt.prototype:i,Ie=Ue?Ue.valueOf:i,Te=Ue?Ue.toString:i;function ze(t){if(ts(t)&&!Nu(t)&&!(t instanceof De)){if(t instanceof Le)return t;if(Pt.call(t,"__wrapped__"))return zo(t)}return new Le(t)}var We=function(){function t(){}return function(n){if(!Xu(n))return{};if(Ht)return Ht(n);t.prototype=n;var e=new t;return t.prototype=i,e}}();function Fe(){}function Le(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}function De(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Ne(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Be(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function He(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function qe(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new He;++n<e;)this.add(t[n])}function Ge(t){var n=this.__data__=new Be(t);this.size=n.size}function Ze(t,n){var e=Nu(t),r=!e&&Du(t),i=!e&&!r&&Gu(t),o=!e&&!r&&!i&&as(t),u=e||r||i||o,s=u?Zn(t.length,Ct):[],a=s.length;for(var l in t)!n&&!Pt.call(t,l)||u&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||go(l,a))||s.push(l);return s}function Ke(t){var n=t.length;return n?t[Hr(0,n-1)]:i}function Je(t,n){return jo(Ci(t),or(n,0,t.length))}function Ye(t){return jo(Ci(t))}function Qe(t,n,e){(e!==i&&!Wu(t[n],e)||e===i&&!(n in t))&&rr(t,n,e)}function Xe(t,n,e){var r=t[n];Pt.call(t,n)&&Wu(r,e)&&(e!==i||n in t)||rr(t,n,e)}function tr(t,n){for(var e=t.length;e--;)if(Wu(t[e][0],n))return e;return-1}function nr(t,n,e,r){return cr(t,(function(t,i,o){n(r,t,e(t),o)})),r}function er(t,n){return t&&Ei(n,Rs(n),t)}function rr(t,n,e){"__proto__"==n&&tn?tn(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function ir(t,n){for(var e=-1,o=n.length,u=r(o),s=null==t;++e<o;)u[e]=s?i:Ss(t,n[e]);return u}function or(t,n,e){return t==t&&(e!==i&&(t=t<=e?t:e),n!==i&&(t=t>=n?t:n)),t}function ur(t,n,e,r,o,u){var s,a=1&n,l=2&n,c=4&n;if(e&&(s=o?e(t,r,o,u):e(t)),s!==i)return s;if(!Xu(t))return t;var h=Nu(t);if(h){if(s=function(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&Pt.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!a)return Ci(t,s)}else{var f=ho(t),p=f==x||f==b;if(Gu(t))return xi(t,a);if(f==$||f==v||p&&!o){if(s=l||p?{}:po(t),!a)return l?function(t,n){return Ei(t,co(t),n)}(t,function(t,n){return t&&Ei(n,Ms(n),t)}(s,t)):function(t,n){return Ei(t,lo(t),n)}(t,er(s,t))}else{if(!un[f])return o?t:{};s=function(t,n,e){var r,i=t.constructor;switch(n){case M:return bi(t);case _:case y:return new i(+t);case j:return function(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case P:case V:case U:case I:case T:case z:case W:case F:case L:return wi(t,e);case w:return new i;case A:case k:return new i(t);case C:return function(t){var n=new t.constructor(t.source,ft.exec(t));return n.lastIndex=t.lastIndex,n}(t);case E:return new i;case O:return r=t,Ie?$t(Ie.call(r)):{}}}(t,f,a)}}u||(u=new Ge);var d=u.get(t);if(d)return d;u.set(t,s),os(t)?t.forEach((function(r){s.add(ur(r,n,e,r,t,u))})):ns(t)&&t.forEach((function(r,i){s.set(i,ur(r,n,e,i,t,u))}));var g=h?i:(c?l?no:to:l?Ms:Rs)(t);return Cn(g||t,(function(r,i){g&&(r=t[i=r]),Xe(s,i,ur(r,n,e,i,t,u))})),s}function sr(t,n,e){var r=e.length;if(null==t)return!r;for(t=$t(t);r--;){var o=e[r],u=n[o],s=t[o];if(s===i&&!(o in t)||!u(s))return!1}return!0}function ar(t,n,e){if("function"!=typeof t)throw new Et(o);return ko((function(){t.apply(i,e)}),n)}function lr(t,n,e,r){var i=-1,o=Rn,u=!0,s=t.length,a=[],l=n.length;if(!s)return a;e&&(n=jn(n,Jn(e))),r?(o=Mn,u=!1):n.length>=200&&(o=Qn,u=!1,n=new qe(n));t:for(;++i<s;){var c=t[i],h=null==e?c:e(c);if(c=r||0!==c?c:0,u&&h==h){for(var f=l;f--;)if(n[f]===h)continue t;a.push(c)}else o(n,h,r)||a.push(c)}return a}ze.templateSettings={escape:K,evaluate:J,interpolate:Y,variable:"",imports:{_:ze}},ze.prototype=Fe.prototype,ze.prototype.constructor=ze,Le.prototype=We(Fe.prototype),Le.prototype.constructor=Le,De.prototype=We(Fe.prototype),De.prototype.constructor=De,Ne.prototype.clear=function(){this.__data__=Ee?Ee(null):{},this.size=0},Ne.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Ne.prototype.get=function(t){var n=this.__data__;if(Ee){var e=n[t];return e===u?i:e}return Pt.call(n,t)?n[t]:i},Ne.prototype.has=function(t){var n=this.__data__;return Ee?n[t]!==i:Pt.call(n,t)},Ne.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Ee&&n===i?u:n,this},Be.prototype.clear=function(){this.__data__=[],this.size=0},Be.prototype.delete=function(t){var n=this.__data__,e=tr(n,t);return!(e<0||(e==n.length-1?n.pop():Gt.call(n,e,1),--this.size,0))},Be.prototype.get=function(t){var n=this.__data__,e=tr(n,t);return e<0?i:n[e][1]},Be.prototype.has=function(t){return tr(this.__data__,t)>-1},Be.prototype.set=function(t,n){var e=this.__data__,r=tr(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},He.prototype.clear=function(){this.size=0,this.__data__={hash:new Ne,map:new(Ae||Be),string:new Ne}},He.prototype.delete=function(t){var n=uo(this,t).delete(t);return this.size-=n?1:0,n},He.prototype.get=function(t){return uo(this,t).get(t)},He.prototype.has=function(t){return uo(this,t).has(t)},He.prototype.set=function(t,n){var e=uo(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},qe.prototype.add=qe.prototype.push=function(t){return this.__data__.set(t,u),this},qe.prototype.has=function(t){return this.__data__.has(t)},Ge.prototype.clear=function(){this.__data__=new Be,this.size=0},Ge.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Ge.prototype.get=function(t){return this.__data__.get(t)},Ge.prototype.has=function(t){return this.__data__.has(t)},Ge.prototype.set=function(t,n){var e=this.__data__;if(e instanceof Be){var r=e.__data__;if(!Ae||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new He(r)}return e.set(t,n),this.size=e.size,this};var cr=Ri(yr),hr=Ri(mr,!0);function fr(t,n){var e=!0;return cr(t,(function(t,r,i){return e=!!n(t,r,i)})),e}function pr(t,n,e){for(var r=-1,o=t.length;++r<o;){var u=t[r],s=n(u);if(null!=s&&(a===i?s==s&&!ss(s):e(s,a)))var a=s,l=u}return l}function dr(t,n){var e=[];return cr(t,(function(t,r,i){n(t,r,i)&&e.push(t)})),e}function vr(t,n,e,r,i){var o=-1,u=t.length;for(e||(e=vo),i||(i=[]);++o<u;){var s=t[o];n>0&&e(s)?n>1?vr(s,n-1,e,r,i):Pn(i,s):r||(i[i.length]=s)}return i}var gr=Mi(),_r=Mi(!0);function yr(t,n){return t&&gr(t,n,Rs)}function mr(t,n){return t&&_r(t,n,Rs)}function xr(t,n){return On(n,(function(n){return Ju(t[n])}))}function br(t,n){for(var e=0,r=(n=gi(n,t)).length;null!=t&&e<r;)t=t[Io(n[e++])];return e&&e==r?t:i}function wr(t,n,e){var r=n(t);return Nu(t)?r:Pn(r,e(t))}function Ar(t){return null==t?t===i?"[object Undefined]":"[object Null]":Qt&&Qt in $t(t)?function(t){var n=Pt.call(t,Qt),e=t[Qt];try{t[Qt]=i;var r=!0}catch(t){}var o=It.call(t);return r&&(n?t[Qt]=e:delete t[Qt]),o}(t):function(t){return It.call(t)}(t)}function $r(t,n){return t>n}function Sr(t,n){return null!=t&&Pt.call(t,n)}function Cr(t,n){return null!=t&&n in $t(t)}function Er(t,n,e){for(var o=e?Mn:Rn,u=t[0].length,s=t.length,a=s,l=r(s),c=1/0,h=[];a--;){var f=t[a];a&&n&&(f=jn(f,Jn(n))),c=_e(f.length,c),l[a]=!e&&(n||u>=120&&f.length>=120)?new qe(a&&f):i}f=t[0];var p=-1,d=l[0];t:for(;++p<u&&h.length<c;){var v=f[p],g=n?n(v):v;if(v=e||0!==v?v:0,!(d?Qn(d,g):o(h,g,e))){for(a=s;--a;){var _=l[a];if(!(_?Qn(_,g):o(t[a],g,e)))continue t}d&&d.push(g),h.push(v)}}return h}function kr(t,n,e){var r=null==(t=So(t,n=gi(n,t)))?t:t[Io(Ko(n))];return null==r?i:$n(r,t,e)}function Or(t){return ts(t)&&Ar(t)==v}function Rr(t,n,e,r,o){return t===n||(null==t||null==n||!ts(t)&&!ts(n)?t!=t&&n!=n:function(t,n,e,r,o,u){var s=Nu(t),a=Nu(n),l=s?g:ho(t),c=a?g:ho(n),h=(l=l==v?$:l)==$,f=(c=c==v?$:c)==$,p=l==c;if(p&&Gu(t)){if(!Gu(n))return!1;s=!0,h=!1}if(p&&!h)return u||(u=new Ge),s||as(t)?Qi(t,n,e,r,o,u):function(t,n,e,r,i,o,u){switch(e){case j:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case M:return!(t.byteLength!=n.byteLength||!o(new Dt(t),new Dt(n)));case _:case y:case A:return Wu(+t,+n);case m:return t.name==n.name&&t.message==n.message;case C:case k:return t==n+"";case w:var s=oe;case E:var a=1&r;if(s||(s=ae),t.size!=n.size&&!a)return!1;var l=u.get(t);if(l)return l==n;r|=2,u.set(t,n);var c=Qi(s(t),s(n),r,i,o,u);return u.delete(t),c;case O:if(Ie)return Ie.call(t)==Ie.call(n)}return!1}(t,n,l,e,r,o,u);if(!(1&e)){var d=h&&Pt.call(t,"__wrapped__"),x=f&&Pt.call(n,"__wrapped__");if(d||x){var b=d?t.value():t,S=x?n.value():n;return u||(u=new Ge),o(b,S,e,r,u)}}return!!p&&(u||(u=new Ge),function(t,n,e,r,o,u){var s=1&e,a=to(t),l=a.length;if(l!=to(n).length&&!s)return!1;for(var c=l;c--;){var h=a[c];if(!(s?h in n:Pt.call(n,h)))return!1}var f=u.get(t),p=u.get(n);if(f&&p)return f==n&&p==t;var d=!0;u.set(t,n),u.set(n,t);for(var v=s;++c<l;){var g=t[h=a[c]],_=n[h];if(r)var y=s?r(_,g,h,n,t,u):r(g,_,h,t,n,u);if(!(y===i?g===_||o(g,_,e,r,u):y)){d=!1;break}v||(v="constructor"==h)}if(d&&!v){var m=t.constructor,x=n.constructor;m==x||!("constructor"in t)||!("constructor"in n)||"function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x||(d=!1)}return u.delete(t),u.delete(n),d}(t,n,e,r,o,u))}(t,n,e,r,Rr,o))}function Mr(t,n,e,r){var o=e.length,u=o,s=!r;if(null==t)return!u;for(t=$t(t);o--;){var a=e[o];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<u;){var l=(a=e[o])[0],c=t[l],h=a[1];if(s&&a[2]){if(c===i&&!(l in t))return!1}else{var f=new Ge;if(r)var p=r(c,h,l,t,n,f);if(!(p===i?Rr(h,c,3,r,f):p))return!1}}return!0}function jr(t){return!(!Xu(t)||(n=t,Ut&&Ut in n))&&(Ju(t)?Wt:vt).test(To(t));var n}function Pr(t){return"function"==typeof t?t:null==t?ea:"object"==typeof t?Nu(t)?zr(t[0],t[1]):Tr(t):ha(t)}function Vr(t){if(!bo(t))return ve(t);var n=[];for(var e in $t(t))Pt.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Ur(t,n){return t<n}function Ir(t,n){var e=-1,i=Hu(t)?r(t.length):[];return cr(t,(function(t,r,o){i[++e]=n(t,r,o)})),i}function Tr(t){var n=so(t);return 1==n.length&&n[0][2]?Ao(n[0][0],n[0][1]):function(e){return e===t||Mr(e,t,n)}}function zr(t,n){return yo(t)&&wo(n)?Ao(Io(t),n):function(e){var r=Ss(e,t);return r===i&&r===n?Cs(e,t):Rr(n,r,3)}}function Wr(t,n,e,r,o){t!==n&&gr(n,(function(u,s){if(o||(o=new Ge),Xu(u))!function(t,n,e,r,o,u,s){var a=Co(t,e),l=Co(n,e),c=s.get(l);if(c)Qe(t,e,c);else{var h=u?u(a,l,e+"",t,n,s):i,f=h===i;if(f){var p=Nu(l),d=!p&&Gu(l),v=!p&&!d&&as(l);h=l,p||d||v?Nu(a)?h=a:qu(a)?h=Ci(a):d?(f=!1,h=xi(l,!0)):v?(f=!1,h=wi(l,!0)):h=[]:rs(l)||Du(l)?(h=a,Du(a)?h=gs(a):Xu(a)&&!Ju(a)||(h=po(l))):f=!1}f&&(s.set(l,h),o(h,l,r,u,s),s.delete(l)),Qe(t,e,h)}}(t,n,s,e,Wr,r,o);else{var a=r?r(Co(t,s),u,s+"",t,n,o):i;a===i&&(a=u),Qe(t,s,a)}}),Ms)}function Fr(t,n){var e=t.length;if(e)return go(n+=n<0?e:0,e)?t[n]:i}function Lr(t,n,e){n=n.length?jn(n,(function(t){return Nu(t)?function(n){return br(n,1===t.length?t[0]:t)}:t})):[ea];var r=-1;n=jn(n,Jn(oo()));var i=Ir(t,(function(t,e,i){var o=jn(n,(function(n){return n(t)}));return{criteria:o,index:++r,value:t}}));return function(t,n){var r=t.length;for(t.sort((function(t,n){return function(t,n,e){for(var r=-1,i=t.criteria,o=n.criteria,u=i.length,s=e.length;++r<u;){var a=Ai(i[r],o[r]);if(a)return r>=s?a:a*("desc"==e[r]?-1:1)}return t.index-n.index}(t,n,e)}));r--;)t[r]=t[r].value;return t}(i)}function Dr(t,n,e){for(var r=-1,i=n.length,o={};++r<i;){var u=n[r],s=br(t,u);e(s,u)&&Jr(o,gi(u,t),s)}return o}function Nr(t,n,e,r){var i=r?Ln:Fn,o=-1,u=n.length,s=t;for(t===n&&(n=Ci(n)),e&&(s=jn(t,Jn(e)));++o<u;)for(var a=0,l=n[o],c=e?e(l):l;(a=i(s,c,a,r))>-1;)s!==t&&Gt.call(s,a,1),Gt.call(t,a,1);return t}function Br(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==o){var o=i;go(i)?Gt.call(t,i,1):ai(t,i)}}return t}function Hr(t,n){return t+dn(xe()*(n-t+1))}function qr(t,n){var e="";if(!t||n<1||n>h)return e;do{n%2&&(e+=t),(n=dn(n/2))&&(t+=t)}while(n);return e}function Gr(t,n){return Oo($o(t,n,ea),t+"")}function Zr(t){return Ke(Ws(t))}function Kr(t,n){var e=Ws(t);return jo(e,or(n,0,e.length))}function Jr(t,n,e,r){if(!Xu(t))return t;for(var o=-1,u=(n=gi(n,t)).length,s=u-1,a=t;null!=a&&++o<u;){var l=Io(n[o]),c=e;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(o!=s){var h=a[l];(c=r?r(h,l,a):i)===i&&(c=Xu(h)?h:go(n[o+1])?[]:{})}Xe(a,l,c),a=a[l]}return t}var Yr=ke?function(t,n){return ke.set(t,n),t}:ea,Qr=tn?function(t,n){return tn(t,"toString",{configurable:!0,enumerable:!1,value:Xs(n),writable:!0})}:ea;function Xr(t){return jo(Ws(t))}function ti(t,n,e){var i=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(e=e>o?o:e)<0&&(e+=o),o=n>e?0:e-n>>>0,n>>>=0;for(var u=r(o);++i<o;)u[i]=t[i+n];return u}function ni(t,n){var e;return cr(t,(function(t,r,i){return!(e=n(t,r,i))})),!!e}function ei(t,n,e){var r=0,i=null==t?r:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;r<i;){var o=r+i>>>1,u=t[o];null!==u&&!ss(u)&&(e?u<=n:u<n)?r=o+1:i=o}return i}return ri(t,n,ea,e)}function ri(t,n,e,r){var o=0,u=null==t?0:t.length;if(0===u)return 0;for(var s=(n=e(n))!=n,a=null===n,l=ss(n),c=n===i;o<u;){var h=dn((o+u)/2),f=e(t[h]),p=f!==i,d=null===f,v=f==f,g=ss(f);if(s)var _=r||v;else _=c?v&&(r||p):a?v&&p&&(r||!d):l?v&&p&&!d&&(r||!g):!d&&!g&&(r?f<=n:f<n);_?o=h+1:u=h}return _e(u,4294967294)}function ii(t,n){for(var e=-1,r=t.length,i=0,o=[];++e<r;){var u=t[e],s=n?n(u):u;if(!e||!Wu(s,a)){var a=s;o[i++]=0===u?0:u}}return o}function oi(t){return"number"==typeof t?t:ss(t)?f:+t}function ui(t){if("string"==typeof t)return t;if(Nu(t))return jn(t,ui)+"";if(ss(t))return Te?Te.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function si(t,n,e){var r=-1,i=Rn,o=t.length,u=!0,s=[],a=s;if(e)u=!1,i=Mn;else if(o>=200){var l=n?null:qi(t);if(l)return ae(l);u=!1,i=Qn,a=new qe}else a=n?[]:s;t:for(;++r<o;){var c=t[r],h=n?n(c):c;if(c=e||0!==c?c:0,u&&h==h){for(var f=a.length;f--;)if(a[f]===h)continue t;n&&a.push(h),s.push(c)}else i(a,h,e)||(a!==s&&a.push(h),s.push(c))}return s}function ai(t,n){return null==(t=So(t,n=gi(n,t)))||delete t[Io(Ko(n))]}function li(t,n,e,r){return Jr(t,n,e(br(t,n)),r)}function ci(t,n,e,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&n(t[o],o,t););return e?ti(t,r?0:o,r?o+1:i):ti(t,r?o+1:0,r?i:o)}function hi(t,n){var e=t;return e instanceof De&&(e=e.value()),Vn(n,(function(t,n){return n.func.apply(n.thisArg,Pn([t],n.args))}),e)}function fi(t,n,e){var i=t.length;if(i<2)return i?si(t[0]):[];for(var o=-1,u=r(i);++o<i;)for(var s=t[o],a=-1;++a<i;)a!=o&&(u[o]=lr(u[o]||s,t[a],n,e));return si(vr(u,1),n,e)}function pi(t,n,e){for(var r=-1,o=t.length,u=n.length,s={};++r<o;){var a=r<u?n[r]:i;e(s,t[r],a)}return s}function di(t){return qu(t)?t:[]}function vi(t){return"function"==typeof t?t:ea}function gi(t,n){return Nu(t)?t:yo(t,n)?[t]:Uo(_s(t))}var _i=Gr;function yi(t,n,e){var r=t.length;return e=e===i?r:e,!n&&e>=r?t:ti(t,n,e)}var mi=sn||function(t){return fn.clearTimeout(t)};function xi(t,n){if(n)return t.slice();var e=t.length,r=Nt?Nt(e):new t.constructor(e);return t.copy(r),r}function bi(t){var n=new t.constructor(t.byteLength);return new Dt(n).set(new Dt(t)),n}function wi(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function Ai(t,n){if(t!==n){var e=t!==i,r=null===t,o=t==t,u=ss(t),s=n!==i,a=null===n,l=n==n,c=ss(n);if(!a&&!c&&!u&&t>n||u&&s&&l&&!a&&!c||r&&s&&l||!e&&l||!o)return 1;if(!r&&!u&&!c&&t<n||c&&e&&o&&!r&&!u||a&&e&&o||!s&&o||!l)return-1}return 0}function $i(t,n,e,i){for(var o=-1,u=t.length,s=e.length,a=-1,l=n.length,c=ge(u-s,0),h=r(l+c),f=!i;++a<l;)h[a]=n[a];for(;++o<s;)(f||o<u)&&(h[e[o]]=t[o]);for(;c--;)h[a++]=t[o++];return h}function Si(t,n,e,i){for(var o=-1,u=t.length,s=-1,a=e.length,l=-1,c=n.length,h=ge(u-a,0),f=r(h+c),p=!i;++o<h;)f[o]=t[o];for(var d=o;++l<c;)f[d+l]=n[l];for(;++s<a;)(p||o<u)&&(f[d+e[s]]=t[o++]);return f}function Ci(t,n){var e=-1,i=t.length;for(n||(n=r(i));++e<i;)n[e]=t[e];return n}function Ei(t,n,e,r){var o=!e;e||(e={});for(var u=-1,s=n.length;++u<s;){var a=n[u],l=r?r(e[a],t[a],a,e,t):i;l===i&&(l=t[a]),o?rr(e,a,l):Xe(e,a,l)}return e}function ki(t,n){return function(e,r){var i=Nu(e)?Sn:nr,o=n?n():{};return i(e,t,oo(r,2),o)}}function Oi(t){return Gr((function(n,e){var r=-1,o=e.length,u=o>1?e[o-1]:i,s=o>2?e[2]:i;for(u=t.length>3&&"function"==typeof u?(o--,u):i,s&&_o(e[0],e[1],s)&&(u=o<3?i:u,o=1),n=$t(n);++r<o;){var a=e[r];a&&t(n,a,r,u)}return n}))}function Ri(t,n){return function(e,r){if(null==e)return e;if(!Hu(e))return t(e,r);for(var i=e.length,o=n?i:-1,u=$t(e);(n?o--:++o<i)&&!1!==r(u[o],o,u););return e}}function Mi(t){return function(n,e,r){for(var i=-1,o=$t(n),u=r(n),s=u.length;s--;){var a=u[t?s:++i];if(!1===e(o[a],a,o))break}return n}}function ji(t){return function(n){var e=ie(n=_s(n))?he(n):i,r=e?e[0]:n.charAt(0),o=e?yi(e,1).join(""):n.slice(1);return r[t]()+o}}function Pi(t){return function(n){return Vn(Js(Ds(n).replace(Jt,"")),t,"")}}function Vi(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=We(t.prototype),r=t.apply(e,n);return Xu(r)?r:e}}function Ui(t){return function(n,e,r){var o=$t(n);if(!Hu(n)){var u=oo(e,3);n=Rs(n),e=function(t){return u(o[t],t,o)}}var s=t(n,e,r);return s>-1?o[u?n[s]:s]:i}}function Ii(t){return Xi((function(n){var e=n.length,r=e,u=Le.prototype.thru;for(t&&n.reverse();r--;){var s=n[r];if("function"!=typeof s)throw new Et(o);if(u&&!a&&"wrapper"==ro(s))var a=new Le([],!0)}for(r=a?r:e;++r<e;){var l=ro(s=n[r]),c="wrapper"==l?eo(s):i;a=c&&mo(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[ro(c[0])].apply(a,c[3]):1==s.length&&mo(s)?a[l]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&Nu(r))return a.plant(r).value();for(var i=0,o=e?n[i].apply(this,t):r;++i<e;)o=n[i].call(this,o);return o}}))}function Ti(t,n,e,o,u,s,a,c,h,f){var p=n&l,d=1&n,v=2&n,g=24&n,_=512&n,y=v?i:Vi(t);return function l(){for(var m=arguments.length,x=r(m),b=m;b--;)x[b]=arguments[b];if(g)var w=io(l),A=function(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}(x,w);if(o&&(x=$i(x,o,u,g)),s&&(x=Si(x,s,a,g)),m-=A,g&&m<f){var $=se(x,w);return Bi(t,n,Ti,l.placeholder,e,x,$,c,h,f-m)}var S=d?e:this,C=v?S[t]:t;return m=x.length,c?x=function(t,n){for(var e=t.length,r=_e(n.length,e),o=Ci(t);r--;){var u=n[r];t[r]=go(u,e)?o[u]:i}return t}(x,c):_&&m>1&&x.reverse(),p&&h<m&&(x.length=h),this&&this!==fn&&this instanceof l&&(C=y||Vi(C)),C.apply(S,x)}}function zi(t,n){return function(e,r){return function(t,n,e,r){return yr(t,(function(t,i,o){n(r,e(t),i,o)})),r}(e,t,n(r),{})}}function Wi(t,n){return function(e,r){var o;if(e===i&&r===i)return n;if(e!==i&&(o=e),r!==i){if(o===i)return r;"string"==typeof e||"string"==typeof r?(e=ui(e),r=ui(r)):(e=oi(e),r=oi(r)),o=t(e,r)}return o}}function Fi(t){return Xi((function(n){return n=jn(n,Jn(oo())),Gr((function(e){var r=this;return t(n,(function(t){return $n(t,r,e)}))}))}))}function Li(t,n){var e=(n=n===i?" ":ui(n)).length;if(e<2)return e?qr(n,t):n;var r=qr(n,pn(t/ce(n)));return ie(n)?yi(he(r),0,t).join(""):r.slice(0,t)}function Di(t){return function(n,e,o){return o&&"number"!=typeof o&&_o(n,e,o)&&(e=o=i),n=fs(n),e===i?(e=n,n=0):e=fs(e),function(t,n,e,i){for(var o=-1,u=ge(pn((n-t)/(e||1)),0),s=r(u);u--;)s[i?u:++o]=t,t+=e;return s}(n,e,o=o===i?n<e?1:-1:fs(o),t)}}function Ni(t){return function(n,e){return"string"==typeof n&&"string"==typeof e||(n=vs(n),e=vs(e)),t(n,e)}}function Bi(t,n,e,r,o,u,s,l,c,h){var f=8&n;n|=f?a:64,4&(n&=~(f?64:a))||(n&=-4);var p=[t,n,o,f?u:i,f?s:i,f?i:u,f?i:s,l,c,h],d=e.apply(i,p);return mo(t)&&Eo(d,p),d.placeholder=r,Ro(d,t,n)}function Hi(t){var n=At[t];return function(t,e){if(t=vs(t),(e=null==e?0:_e(ps(e),292))&&Tn(t)){var r=(_s(t)+"e").split("e");return+((r=(_s(n(r[0]+"e"+(+r[1]+e)))+"e").split("e"))[0]+"e"+(+r[1]-e))}return n(t)}}var qi=Se&&1/ae(new Se([,-0]))[1]==c?function(t){return new Se(t)}:sa;function Gi(t){return function(n){var e=ho(n);return e==w?oe(n):e==E?le(n):function(t,n){return jn(n,(function(n){return[n,t[n]]}))}(n,t(n))}}function Zi(t,n,e,u,c,h,f,p){var d=2&n;if(!d&&"function"!=typeof t)throw new Et(o);var v=u?u.length:0;if(v||(n&=-97,u=c=i),f=f===i?f:ge(ps(f),0),p=p===i?p:ps(p),v-=c?c.length:0,64&n){var g=u,_=c;u=c=i}var y=d?i:eo(t),m=[t,n,e,u,c,g,_,h,f,p];if(y&&function(t,n){var e=t[1],r=n[1],i=e|r,o=i<131,u=r==l&&8==e||r==l&&256==e&&t[7].length<=n[8]||384==r&&n[7].length<=n[8]&&8==e;if(!o&&!u)return t;1&r&&(t[2]=n[2],i|=1&e?0:4);var a=n[3];if(a){var c=t[3];t[3]=c?$i(c,a,n[4]):a,t[4]=c?se(t[3],s):n[4]}(a=n[5])&&(c=t[5],t[5]=c?Si(c,a,n[6]):a,t[6]=c?se(t[5],s):n[6]),(a=n[7])&&(t[7]=a),r&l&&(t[8]=null==t[8]?n[8]:_e(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(m,y),t=m[0],n=m[1],e=m[2],u=m[3],c=m[4],!(p=m[9]=m[9]===i?d?0:t.length:ge(m[9]-v,0))&&24&n&&(n&=-25),n&&1!=n)x=8==n||16==n?function(t,n,e){var o=Vi(t);return function u(){for(var s=arguments.length,a=r(s),l=s,c=io(u);l--;)a[l]=arguments[l];var h=s<3&&a[0]!==c&&a[s-1]!==c?[]:se(a,c);return(s-=h.length)<e?Bi(t,n,Ti,u.placeholder,i,a,h,i,i,e-s):$n(this&&this!==fn&&this instanceof u?o:t,this,a)}}(t,n,p):n!=a&&33!=n||c.length?Ti.apply(i,m):function(t,n,e,i){var o=1&n,u=Vi(t);return function n(){for(var s=-1,a=arguments.length,l=-1,c=i.length,h=r(c+a),f=this&&this!==fn&&this instanceof n?u:t;++l<c;)h[l]=i[l];for(;a--;)h[l++]=arguments[++s];return $n(f,o?e:this,h)}}(t,n,e,u);else var x=function(t,n,e){var r=1&n,i=Vi(t);return function n(){return(this&&this!==fn&&this instanceof n?i:t).apply(r?e:this,arguments)}}(t,n,e);return Ro((y?Yr:Eo)(x,m),t,n)}function Ki(t,n,e,r){return t===i||Wu(t,Rt[e])&&!Pt.call(r,e)?n:t}function Ji(t,n,e,r,o,u){return Xu(t)&&Xu(n)&&(u.set(n,t),Wr(t,n,i,Ji,u),u.delete(n)),t}function Yi(t){return rs(t)?i:t}function Qi(t,n,e,r,o,u){var s=1&e,a=t.length,l=n.length;if(a!=l&&!(s&&l>a))return!1;var c=u.get(t),h=u.get(n);if(c&&h)return c==n&&h==t;var f=-1,p=!0,d=2&e?new qe:i;for(u.set(t,n),u.set(n,t);++f<a;){var v=t[f],g=n[f];if(r)var _=s?r(g,v,f,n,t,u):r(v,g,f,t,n,u);if(_!==i){if(_)continue;p=!1;break}if(d){if(!In(n,(function(t,n){if(!Qn(d,n)&&(v===t||o(v,t,e,r,u)))return d.push(n)}))){p=!1;break}}else if(v!==g&&!o(v,g,e,r,u)){p=!1;break}}return u.delete(t),u.delete(n),p}function Xi(t){return Oo($o(t,i,Bo),t+"")}function to(t){return wr(t,Rs,lo)}function no(t){return wr(t,Ms,co)}var eo=ke?function(t){return ke.get(t)}:sa;function ro(t){for(var n=t.name+"",e=Oe[n],r=Pt.call(Oe,n)?e.length:0;r--;){var i=e[r],o=i.func;if(null==o||o==t)return i.name}return n}function io(t){return(Pt.call(ze,"placeholder")?ze:t).placeholder}function oo(){var t=ze.iteratee||ra;return t=t===ra?Pr:t,arguments.length?t(arguments[0],arguments[1]):t}function uo(t,n){var e,r,i=t.__data__;return("string"==(r=typeof(e=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?i["string"==typeof n?"string":"hash"]:i.map}function so(t){for(var n=Rs(t),e=n.length;e--;){var r=n[e],i=t[r];n[e]=[r,i,wo(i)]}return n}function ao(t,n){var e=function(t,n){return null==t?i:t[n]}(t,n);return jr(e)?e:i}var lo=gn?function(t){return null==t?[]:(t=$t(t),On(gn(t),(function(n){return qt.call(t,n)})))}:da,co=gn?function(t){for(var n=[];t;)Pn(n,lo(t)),t=Bt(t);return n}:da,ho=Ar;function fo(t,n,e){for(var r=-1,i=(n=gi(n,t)).length,o=!1;++r<i;){var u=Io(n[r]);if(!(o=null!=t&&e(t,u)))break;t=t[u]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Qu(i)&&go(u,i)&&(Nu(t)||Du(t))}function po(t){return"function"!=typeof t.constructor||bo(t)?{}:We(Bt(t))}function vo(t){return Nu(t)||Du(t)||!!(Zt&&t&&t[Zt])}function go(t,n){var e=typeof t;return!!(n=null==n?h:n)&&("number"==e||"symbol"!=e&&_t.test(t))&&t>-1&&t%1==0&&t<n}function _o(t,n,e){if(!Xu(e))return!1;var r=typeof n;return!!("number"==r?Hu(e)&&go(n,e.length):"string"==r&&n in e)&&Wu(e[n],t)}function yo(t,n){if(Nu(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!ss(t))||X.test(t)||!Q.test(t)||null!=n&&t in $t(n)}function mo(t){var n=ro(t),e=ze[n];if("function"!=typeof e||!(n in De.prototype))return!1;if(t===e)return!0;var r=eo(e);return!!r&&t===r[0]}(we&&ho(new we(new ArrayBuffer(1)))!=j||Ae&&ho(new Ae)!=w||$e&&ho($e.resolve())!=S||Se&&ho(new Se)!=E||Ce&&ho(new Ce)!=R)&&(ho=function(t){var n=Ar(t),e=n==$?t.constructor:i,r=e?To(e):"";if(r)switch(r){case Re:return j;case Me:return w;case je:return S;case Pe:return E;case Ve:return R}return n});var xo=Mt?Ju:va;function bo(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||Rt)}function wo(t){return t==t&&!Xu(t)}function Ao(t,n){return function(e){return null!=e&&e[t]===n&&(n!==i||t in $t(e))}}function $o(t,n,e){return n=ge(n===i?t.length-1:n,0),function(){for(var i=arguments,o=-1,u=ge(i.length-n,0),s=r(u);++o<u;)s[o]=i[n+o];o=-1;for(var a=r(n+1);++o<n;)a[o]=i[o];return a[n]=e(s),$n(t,this,a)}}function So(t,n){return n.length<2?t:br(t,ti(n,0,-1))}function Co(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}var Eo=Mo(Yr),ko=hn||function(t,n){return fn.setTimeout(t,n)},Oo=Mo(Qr);function Ro(t,n,e){var r=n+"";return Oo(t,function(t,n){var e=n.length;if(!e)return t;var r=e-1;return n[r]=(e>1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return Cn(d,(function(e){var r="_."+e[0];n&e[1]&&!Rn(t,r)&&t.push(r)})),t.sort()}(function(t){var n=t.match(ut);return n?n[1].split(st):[]}(r),e)))}function Mo(t){var n=0,e=0;return function(){var r=ye(),o=16-(r-e);if(e=r,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(i,arguments)}}function jo(t,n){var e=-1,r=t.length,o=r-1;for(n=n===i?r:n;++e<n;){var u=Hr(e,o),s=t[u];t[u]=t[e],t[e]=s}return t.length=n,t}var Po,Vo,Uo=(Po=Pu((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(tt,(function(t,e,r,i){n.push(r?i.replace(ct,"$1"):e||t)})),n}),(function(t){return 500===Vo.size&&Vo.clear(),t})),Vo=Po.cache,Po);function Io(t){if("string"==typeof t||ss(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function To(t){if(null!=t){try{return jt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function zo(t){if(t instanceof De)return t.clone();var n=new Le(t.__wrapped__,t.__chain__);return n.__actions__=Ci(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}var Wo=Gr((function(t,n){return qu(t)?lr(t,vr(n,1,qu,!0)):[]})),Fo=Gr((function(t,n){var e=Ko(n);return qu(e)&&(e=i),qu(t)?lr(t,vr(n,1,qu,!0),oo(e,2)):[]})),Lo=Gr((function(t,n){var e=Ko(n);return qu(e)&&(e=i),qu(t)?lr(t,vr(n,1,qu,!0),i,e):[]}));function Do(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:ps(e);return i<0&&(i=ge(r+i,0)),Wn(t,oo(n,3),i)}function No(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return e!==i&&(o=ps(e),o=e<0?ge(r+o,0):_e(o,r-1)),Wn(t,oo(n,3),o,!0)}function Bo(t){return null!=t&&t.length?vr(t,1):[]}function Ho(t){return t&&t.length?t[0]:i}var qo=Gr((function(t){var n=jn(t,di);return n.length&&n[0]===t[0]?Er(n):[]})),Go=Gr((function(t){var n=Ko(t),e=jn(t,di);return n===Ko(e)?n=i:e.pop(),e.length&&e[0]===t[0]?Er(e,oo(n,2)):[]})),Zo=Gr((function(t){var n=Ko(t),e=jn(t,di);return(n="function"==typeof n?n:i)&&e.pop(),e.length&&e[0]===t[0]?Er(e,i,n):[]}));function Ko(t){var n=null==t?0:t.length;return n?t[n-1]:i}var Jo=Gr(Yo);function Yo(t,n){return t&&t.length&&n&&n.length?Nr(t,n):t}var Qo=Xi((function(t,n){var e=null==t?0:t.length,r=ir(t,n);return Br(t,jn(n,(function(t){return go(t,e)?+t:t})).sort(Ai)),r}));function Xo(t){return null==t?t:be.call(t)}var tu=Gr((function(t){return si(vr(t,1,qu,!0))})),nu=Gr((function(t){var n=Ko(t);return qu(n)&&(n=i),si(vr(t,1,qu,!0),oo(n,2))})),eu=Gr((function(t){var n=Ko(t);return n="function"==typeof n?n:i,si(vr(t,1,qu,!0),i,n)}));function ru(t){if(!t||!t.length)return[];var n=0;return t=On(t,(function(t){if(qu(t))return n=ge(t.length,n),!0})),Zn(n,(function(n){return jn(t,Bn(n))}))}function iu(t,n){if(!t||!t.length)return[];var e=ru(t);return null==n?e:jn(e,(function(t){return $n(n,i,t)}))}var ou=Gr((function(t,n){return qu(t)?lr(t,n):[]})),uu=Gr((function(t){return fi(On(t,qu))})),su=Gr((function(t){var n=Ko(t);return qu(n)&&(n=i),fi(On(t,qu),oo(n,2))})),au=Gr((function(t){var n=Ko(t);return n="function"==typeof n?n:i,fi(On(t,qu),i,n)})),lu=Gr(ru),cu=Gr((function(t){var n=t.length,e=n>1?t[n-1]:i;return e="function"==typeof e?(t.pop(),e):i,iu(t,e)}));function hu(t){var n=ze(t);return n.__chain__=!0,n}function fu(t,n){return n(t)}var pu=Xi((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,o=function(n){return ir(n,t)};return!(n>1||this.__actions__.length)&&r instanceof De&&go(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:fu,args:[o],thisArg:i}),new Le(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(i),t}))):this.thru(o)})),du=ki((function(t,n,e){Pt.call(t,e)?++t[e]:rr(t,e,1)})),vu=Ui(Do),gu=Ui(No);function _u(t,n){return(Nu(t)?Cn:cr)(t,oo(n,3))}function yu(t,n){return(Nu(t)?En:hr)(t,oo(n,3))}var mu=ki((function(t,n,e){Pt.call(t,e)?t[e].push(n):rr(t,e,[n])})),xu=Gr((function(t,n,e){var i=-1,o="function"==typeof n,u=Hu(t)?r(t.length):[];return cr(t,(function(t){u[++i]=o?$n(n,t,e):kr(t,n,e)})),u})),bu=ki((function(t,n,e){rr(t,e,n)}));function wu(t,n){return(Nu(t)?jn:Ir)(t,oo(n,3))}var Au=ki((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),$u=Gr((function(t,n){if(null==t)return[];var e=n.length;return e>1&&_o(t,n[0],n[1])?n=[]:e>2&&_o(n[0],n[1],n[2])&&(n=[n[0]]),Lr(t,vr(n,1),[])})),Su=cn||function(){return fn.Date.now()};function Cu(t,n,e){return n=e?i:n,n=t&&null==n?t.length:n,Zi(t,l,i,i,i,i,n)}function Eu(t,n){var e;if("function"!=typeof n)throw new Et(o);return t=ps(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=i),e}}var ku=Gr((function(t,n,e){var r=1;if(e.length){var i=se(e,io(ku));r|=a}return Zi(t,r,n,e,i)})),Ou=Gr((function(t,n,e){var r=3;if(e.length){var i=se(e,io(Ou));r|=a}return Zi(n,r,t,e,i)}));function Ru(t,n,e){var r,u,s,a,l,c,h=0,f=!1,p=!1,d=!0;if("function"!=typeof t)throw new Et(o);function v(n){var e=r,o=u;return r=u=i,h=n,a=t.apply(o,e)}function g(t){var e=t-c;return c===i||e>=n||e<0||p&&t-h>=s}function _(){var t=Su();if(g(t))return y(t);l=ko(_,function(t){var e=n-(t-c);return p?_e(e,s-(t-h)):e}(t))}function y(t){return l=i,d&&r?v(t):(r=u=i,a)}function m(){var t=Su(),e=g(t);if(r=arguments,u=this,c=t,e){if(l===i)return function(t){return h=t,l=ko(_,n),f?v(t):a}(c);if(p)return mi(l),l=ko(_,n),v(c)}return l===i&&(l=ko(_,n)),a}return n=vs(n)||0,Xu(e)&&(f=!!e.leading,s=(p="maxWait"in e)?ge(vs(e.maxWait)||0,n):s,d="trailing"in e?!!e.trailing:d),m.cancel=function(){l!==i&&mi(l),h=0,r=c=u=l=i},m.flush=function(){return l===i?a:y(Su())},m}var Mu=Gr((function(t,n){return ar(t,1,n)})),ju=Gr((function(t,n,e){return ar(t,vs(n)||0,e)}));function Pu(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new Et(o);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var u=t.apply(this,r);return e.cache=o.set(i,u)||o,u};return e.cache=new(Pu.Cache||He),e}function Vu(t){if("function"!=typeof t)throw new Et(o);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}Pu.Cache=He;var Uu=_i((function(t,n){var e=(n=1==n.length&&Nu(n[0])?jn(n[0],Jn(oo())):jn(vr(n,1),Jn(oo()))).length;return Gr((function(r){for(var i=-1,o=_e(r.length,e);++i<o;)r[i]=n[i].call(this,r[i]);return $n(t,this,r)}))})),Iu=Gr((function(t,n){var e=se(n,io(Iu));return Zi(t,a,i,n,e)})),Tu=Gr((function(t,n){var e=se(n,io(Tu));return Zi(t,64,i,n,e)})),zu=Xi((function(t,n){return Zi(t,256,i,i,i,n)}));function Wu(t,n){return t===n||t!=t&&n!=n}var Fu=Ni($r),Lu=Ni((function(t,n){return t>=n})),Du=Or(function(){return arguments}())?Or:function(t){return ts(t)&&Pt.call(t,"callee")&&!qt.call(t,"callee")},Nu=r.isArray,Bu=yn?Jn(yn):function(t){return ts(t)&&Ar(t)==M};function Hu(t){return null!=t&&Qu(t.length)&&!Ju(t)}function qu(t){return ts(t)&&Hu(t)}var Gu=_n||va,Zu=mn?Jn(mn):function(t){return ts(t)&&Ar(t)==y};function Ku(t){if(!ts(t))return!1;var n=Ar(t);return n==m||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!rs(t)}function Ju(t){if(!Xu(t))return!1;var n=Ar(t);return n==x||n==b||"[object AsyncFunction]"==n||"[object Proxy]"==n}function Yu(t){return"number"==typeof t&&t==ps(t)}function Qu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function Xu(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function ts(t){return null!=t&&"object"==typeof t}var ns=xn?Jn(xn):function(t){return ts(t)&&ho(t)==w};function es(t){return"number"==typeof t||ts(t)&&Ar(t)==A}function rs(t){if(!ts(t)||Ar(t)!=$)return!1;var n=Bt(t);if(null===n)return!0;var e=Pt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&jt.call(e)==Tt}var is=bn?Jn(bn):function(t){return ts(t)&&Ar(t)==C},os=wn?Jn(wn):function(t){return ts(t)&&ho(t)==E};function us(t){return"string"==typeof t||!Nu(t)&&ts(t)&&Ar(t)==k}function ss(t){return"symbol"==typeof t||ts(t)&&Ar(t)==O}var as=An?Jn(An):function(t){return ts(t)&&Qu(t.length)&&!!on[Ar(t)]},ls=Ni(Ur),cs=Ni((function(t,n){return t<=n}));function hs(t){if(!t)return[];if(Hu(t))return us(t)?he(t):Ci(t);if(Kt&&t[Kt])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Kt]());var n=ho(t);return(n==w?oe:n==E?ae:Ws)(t)}function fs(t){return t?(t=vs(t))===c||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ps(t){var n=fs(t),e=n%1;return n==n?e?n-e:n:0}function ds(t){return t?or(ps(t),0,p):0}function vs(t){if("number"==typeof t)return t;if(ss(t))return f;if(Xu(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Xu(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=Kn(t);var e=dt.test(t);return e||gt.test(t)?ln(t.slice(2),e?2:8):pt.test(t)?f:+t}function gs(t){return Ei(t,Ms(t))}function _s(t){return null==t?"":ui(t)}var ys=Oi((function(t,n){if(bo(n)||Hu(n))Ei(n,Rs(n),t);else for(var e in n)Pt.call(n,e)&&Xe(t,e,n[e])})),ms=Oi((function(t,n){Ei(n,Ms(n),t)})),xs=Oi((function(t,n,e,r){Ei(n,Ms(n),t,r)})),bs=Oi((function(t,n,e,r){Ei(n,Rs(n),t,r)})),ws=Xi(ir),As=Gr((function(t,n){t=$t(t);var e=-1,r=n.length,o=r>2?n[2]:i;for(o&&_o(n[0],n[1],o)&&(r=1);++e<r;)for(var u=n[e],s=Ms(u),a=-1,l=s.length;++a<l;){var c=s[a],h=t[c];(h===i||Wu(h,Rt[c])&&!Pt.call(t,c))&&(t[c]=u[c])}return t})),$s=Gr((function(t){return t.push(i,Ji),$n(Ps,i,t)}));function Ss(t,n,e){var r=null==t?i:br(t,n);return r===i?e:r}function Cs(t,n){return null!=t&&fo(t,n,Cr)}var Es=zi((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=It.call(n)),t[n]=e}),Xs(ea)),ks=zi((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=It.call(n)),Pt.call(t,n)?t[n].push(e):t[n]=[e]}),oo),Os=Gr(kr);function Rs(t){return Hu(t)?Ze(t):Vr(t)}function Ms(t){return Hu(t)?Ze(t,!0):function(t){if(!Xu(t))return function(t){var n=[];if(null!=t)for(var e in $t(t))n.push(e);return n}(t);var n=bo(t),e=[];for(var r in t)("constructor"!=r||!n&&Pt.call(t,r))&&e.push(r);return e}(t)}var js=Oi((function(t,n,e){Wr(t,n,e)})),Ps=Oi((function(t,n,e,r){Wr(t,n,e,r)})),Vs=Xi((function(t,n){var e={};if(null==t)return e;var r=!1;n=jn(n,(function(n){return n=gi(n,t),r||(r=n.length>1),n})),Ei(t,no(t),e),r&&(e=ur(e,7,Yi));for(var i=n.length;i--;)ai(e,n[i]);return e})),Us=Xi((function(t,n){return null==t?{}:function(t,n){return Dr(t,n,(function(n,e){return Cs(t,e)}))}(t,n)}));function Is(t,n){if(null==t)return{};var e=jn(no(t),(function(t){return[t]}));return n=oo(n),Dr(t,e,(function(t,e){return n(t,e[0])}))}var Ts=Gi(Rs),zs=Gi(Ms);function Ws(t){return null==t?[]:Yn(t,Rs(t))}var Fs=Pi((function(t,n,e){return n=n.toLowerCase(),t+(e?Ls(n):n)}));function Ls(t){return Ks(_s(t).toLowerCase())}function Ds(t){return(t=_s(t))&&t.replace(yt,ne).replace(Yt,"")}var Ns=Pi((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),Bs=Pi((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),Hs=ji("toLowerCase"),qs=Pi((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()})),Gs=Pi((function(t,n,e){return t+(e?" ":"")+Ks(n)})),Zs=Pi((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Ks=ji("toUpperCase");function Js(t,n,e){return t=_s(t),(n=e?i:n)===i?function(t){return nn.test(t)}(t)?function(t){return t.match(Xt)||[]}(t):function(t){return t.match(at)||[]}(t):t.match(n)||[]}var Ys=Gr((function(t,n){try{return $n(t,i,n)}catch(t){return Ku(t)?t:new bt(t)}})),Qs=Xi((function(t,n){return Cn(n,(function(n){n=Io(n),rr(t,n,ku(t[n],t))})),t}));function Xs(t){return function(){return t}}var ta=Ii(),na=Ii(!0);function ea(t){return t}function ra(t){return Pr("function"==typeof t?t:ur(t,1))}var ia=Gr((function(t,n){return function(e){return kr(e,t,n)}})),oa=Gr((function(t,n){return function(e){return kr(t,e,n)}}));function ua(t,n,e){var r=Rs(n),i=xr(n,r);null!=e||Xu(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=xr(n,Rs(n)));var o=!(Xu(e)&&"chain"in e&&!e.chain),u=Ju(t);return Cn(i,(function(e){var r=n[e];t[e]=r,u&&(t.prototype[e]=function(){var n=this.__chain__;if(o||n){var e=t(this.__wrapped__);return(e.__actions__=Ci(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,Pn([this.value()],arguments))})})),t}function sa(){}var aa=Fi(jn),la=Fi(kn),ca=Fi(In);function ha(t){return yo(t)?Bn(Io(t)):function(t){return function(n){return br(n,t)}}(t)}var fa=Di(),pa=Di(!0);function da(){return[]}function va(){return!1}var ga,_a=Wi((function(t,n){return t+n}),0),ya=Hi("ceil"),ma=Wi((function(t,n){return t/n}),1),xa=Hi("floor"),ba=Wi((function(t,n){return t*n}),1),wa=Hi("round"),Aa=Wi((function(t,n){return t-n}),0);return ze.after=function(t,n){if("function"!=typeof n)throw new Et(o);return t=ps(t),function(){if(--t<1)return n.apply(this,arguments)}},ze.ary=Cu,ze.assign=ys,ze.assignIn=ms,ze.assignInWith=xs,ze.assignWith=bs,ze.at=ws,ze.before=Eu,ze.bind=ku,ze.bindAll=Qs,ze.bindKey=Ou,ze.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Nu(t)?t:[t]},ze.chain=hu,ze.chunk=function(t,n,e){n=(e?_o(t,n,e):n===i)?1:ge(ps(n),0);var o=null==t?0:t.length;if(!o||n<1)return[];for(var u=0,s=0,a=r(pn(o/n));u<o;)a[s++]=ti(t,u,u+=n);return a},ze.compact=function(t){for(var n=-1,e=null==t?0:t.length,r=0,i=[];++n<e;){var o=t[n];o&&(i[r++]=o)}return i},ze.concat=function(){var t=arguments.length;if(!t)return[];for(var n=r(t-1),e=arguments[0],i=t;i--;)n[i-1]=arguments[i];return Pn(Nu(e)?Ci(e):[e],vr(n,1))},ze.cond=function(t){var n=null==t?0:t.length,e=oo();return t=n?jn(t,(function(t){if("function"!=typeof t[1])throw new Et(o);return[e(t[0]),t[1]]})):[],Gr((function(e){for(var r=-1;++r<n;){var i=t[r];if($n(i[0],this,e))return $n(i[1],this,e)}}))},ze.conforms=function(t){return function(t){var n=Rs(t);return function(e){return sr(e,t,n)}}(ur(t,1))},ze.constant=Xs,ze.countBy=du,ze.create=function(t,n){var e=We(t);return null==n?e:er(e,n)},ze.curry=function t(n,e,r){var o=Zi(n,8,i,i,i,i,i,e=r?i:e);return o.placeholder=t.placeholder,o},ze.curryRight=function t(n,e,r){var o=Zi(n,16,i,i,i,i,i,e=r?i:e);return o.placeholder=t.placeholder,o},ze.debounce=Ru,ze.defaults=As,ze.defaultsDeep=$s,ze.defer=Mu,ze.delay=ju,ze.difference=Wo,ze.differenceBy=Fo,ze.differenceWith=Lo,ze.drop=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=e||n===i?1:ps(n))<0?0:n,r):[]},ze.dropRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,0,(n=r-(n=e||n===i?1:ps(n)))<0?0:n):[]},ze.dropRightWhile=function(t,n){return t&&t.length?ci(t,oo(n,3),!0,!0):[]},ze.dropWhile=function(t,n){return t&&t.length?ci(t,oo(n,3),!0):[]},ze.fill=function(t,n,e,r){var o=null==t?0:t.length;return o?(e&&"number"!=typeof e&&_o(t,n,e)&&(e=0,r=o),function(t,n,e,r){var o=t.length;for((e=ps(e))<0&&(e=-e>o?0:o+e),(r=r===i||r>o?o:ps(r))<0&&(r+=o),r=e>r?0:ds(r);e<r;)t[e++]=n;return t}(t,n,e,r)):[]},ze.filter=function(t,n){return(Nu(t)?On:dr)(t,oo(n,3))},ze.flatMap=function(t,n){return vr(wu(t,n),1)},ze.flatMapDeep=function(t,n){return vr(wu(t,n),c)},ze.flatMapDepth=function(t,n,e){return e=e===i?1:ps(e),vr(wu(t,n),e)},ze.flatten=Bo,ze.flattenDeep=function(t){return null!=t&&t.length?vr(t,c):[]},ze.flattenDepth=function(t,n){return null!=t&&t.length?vr(t,n=n===i?1:ps(n)):[]},ze.flip=function(t){return Zi(t,512)},ze.flow=ta,ze.flowRight=na,ze.fromPairs=function(t){for(var n=-1,e=null==t?0:t.length,r={};++n<e;){var i=t[n];r[i[0]]=i[1]}return r},ze.functions=function(t){return null==t?[]:xr(t,Rs(t))},ze.functionsIn=function(t){return null==t?[]:xr(t,Ms(t))},ze.groupBy=mu,ze.initial=function(t){return null!=t&&t.length?ti(t,0,-1):[]},ze.intersection=qo,ze.intersectionBy=Go,ze.intersectionWith=Zo,ze.invert=Es,ze.invertBy=ks,ze.invokeMap=xu,ze.iteratee=ra,ze.keyBy=bu,ze.keys=Rs,ze.keysIn=Ms,ze.map=wu,ze.mapKeys=function(t,n){var e={};return n=oo(n,3),yr(t,(function(t,r,i){rr(e,n(t,r,i),t)})),e},ze.mapValues=function(t,n){var e={};return n=oo(n,3),yr(t,(function(t,r,i){rr(e,r,n(t,r,i))})),e},ze.matches=function(t){return Tr(ur(t,1))},ze.matchesProperty=function(t,n){return zr(t,ur(n,1))},ze.memoize=Pu,ze.merge=js,ze.mergeWith=Ps,ze.method=ia,ze.methodOf=oa,ze.mixin=ua,ze.negate=Vu,ze.nthArg=function(t){return t=ps(t),Gr((function(n){return Fr(n,t)}))},ze.omit=Vs,ze.omitBy=function(t,n){return Is(t,Vu(oo(n)))},ze.once=function(t){return Eu(2,t)},ze.orderBy=function(t,n,e,r){return null==t?[]:(Nu(n)||(n=null==n?[]:[n]),Nu(e=r?i:e)||(e=null==e?[]:[e]),Lr(t,n,e))},ze.over=aa,ze.overArgs=Uu,ze.overEvery=la,ze.overSome=ca,ze.partial=Iu,ze.partialRight=Tu,ze.partition=Au,ze.pick=Us,ze.pickBy=Is,ze.property=ha,ze.propertyOf=function(t){return function(n){return null==t?i:br(t,n)}},ze.pull=Jo,ze.pullAll=Yo,ze.pullAllBy=function(t,n,e){return t&&t.length&&n&&n.length?Nr(t,n,oo(e,2)):t},ze.pullAllWith=function(t,n,e){return t&&t.length&&n&&n.length?Nr(t,n,i,e):t},ze.pullAt=Qo,ze.range=fa,ze.rangeRight=pa,ze.rearg=zu,ze.reject=function(t,n){return(Nu(t)?On:dr)(t,Vu(oo(n,3)))},ze.remove=function(t,n){var e=[];if(!t||!t.length)return e;var r=-1,i=[],o=t.length;for(n=oo(n,3);++r<o;){var u=t[r];n(u,r,t)&&(e.push(u),i.push(r))}return Br(t,i),e},ze.rest=function(t,n){if("function"!=typeof t)throw new Et(o);return Gr(t,n=n===i?n:ps(n))},ze.reverse=Xo,ze.sampleSize=function(t,n,e){return n=(e?_o(t,n,e):n===i)?1:ps(n),(Nu(t)?Je:Kr)(t,n)},ze.set=function(t,n,e){return null==t?t:Jr(t,n,e)},ze.setWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:Jr(t,n,e,r)},ze.shuffle=function(t){return(Nu(t)?Ye:Xr)(t)},ze.slice=function(t,n,e){var r=null==t?0:t.length;return r?(e&&"number"!=typeof e&&_o(t,n,e)?(n=0,e=r):(n=null==n?0:ps(n),e=e===i?r:ps(e)),ti(t,n,e)):[]},ze.sortBy=$u,ze.sortedUniq=function(t){return t&&t.length?ii(t):[]},ze.sortedUniqBy=function(t,n){return t&&t.length?ii(t,oo(n,2)):[]},ze.split=function(t,n,e){return e&&"number"!=typeof e&&_o(t,n,e)&&(n=e=i),(e=e===i?p:e>>>0)?(t=_s(t))&&("string"==typeof n||null!=n&&!is(n))&&!(n=ui(n))&&ie(t)?yi(he(t),0,e):t.split(n,e):[]},ze.spread=function(t,n){if("function"!=typeof t)throw new Et(o);return n=null==n?0:ge(ps(n),0),Gr((function(e){var r=e[n],i=yi(e,0,n);return r&&Pn(i,r),$n(t,this,i)}))},ze.tail=function(t){var n=null==t?0:t.length;return n?ti(t,1,n):[]},ze.take=function(t,n,e){return t&&t.length?ti(t,0,(n=e||n===i?1:ps(n))<0?0:n):[]},ze.takeRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=r-(n=e||n===i?1:ps(n)))<0?0:n,r):[]},ze.takeRightWhile=function(t,n){return t&&t.length?ci(t,oo(n,3),!1,!0):[]},ze.takeWhile=function(t,n){return t&&t.length?ci(t,oo(n,3)):[]},ze.tap=function(t,n){return n(t),t},ze.throttle=function(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new Et(o);return Xu(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Ru(t,n,{leading:r,maxWait:n,trailing:i})},ze.thru=fu,ze.toArray=hs,ze.toPairs=Ts,ze.toPairsIn=zs,ze.toPath=function(t){return Nu(t)?jn(t,Io):ss(t)?[t]:Ci(Uo(_s(t)))},ze.toPlainObject=gs,ze.transform=function(t,n,e){var r=Nu(t),i=r||Gu(t)||as(t);if(n=oo(n,4),null==e){var o=t&&t.constructor;e=i?r?new o:[]:Xu(t)&&Ju(o)?We(Bt(t)):{}}return(i?Cn:yr)(t,(function(t,r,i){return n(e,t,r,i)})),e},ze.unary=function(t){return Cu(t,1)},ze.union=tu,ze.unionBy=nu,ze.unionWith=eu,ze.uniq=function(t){return t&&t.length?si(t):[]},ze.uniqBy=function(t,n){return t&&t.length?si(t,oo(n,2)):[]},ze.uniqWith=function(t,n){return n="function"==typeof n?n:i,t&&t.length?si(t,i,n):[]},ze.unset=function(t,n){return null==t||ai(t,n)},ze.unzip=ru,ze.unzipWith=iu,ze.update=function(t,n,e){return null==t?t:li(t,n,vi(e))},ze.updateWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:li(t,n,vi(e),r)},ze.values=Ws,ze.valuesIn=function(t){return null==t?[]:Yn(t,Ms(t))},ze.without=ou,ze.words=Js,ze.wrap=function(t,n){return Iu(vi(n),t)},ze.xor=uu,ze.xorBy=su,ze.xorWith=au,ze.zip=lu,ze.zipObject=function(t,n){return pi(t||[],n||[],Xe)},ze.zipObjectDeep=function(t,n){return pi(t||[],n||[],Jr)},ze.zipWith=cu,ze.entries=Ts,ze.entriesIn=zs,ze.extend=ms,ze.extendWith=xs,ua(ze,ze),ze.add=_a,ze.attempt=Ys,ze.camelCase=Fs,ze.capitalize=Ls,ze.ceil=ya,ze.clamp=function(t,n,e){return e===i&&(e=n,n=i),e!==i&&(e=(e=vs(e))==e?e:0),n!==i&&(n=(n=vs(n))==n?n:0),or(vs(t),n,e)},ze.clone=function(t){return ur(t,4)},ze.cloneDeep=function(t){return ur(t,5)},ze.cloneDeepWith=function(t,n){return ur(t,5,n="function"==typeof n?n:i)},ze.cloneWith=function(t,n){return ur(t,4,n="function"==typeof n?n:i)},ze.conformsTo=function(t,n){return null==n||sr(t,n,Rs(n))},ze.deburr=Ds,ze.defaultTo=function(t,n){return null==t||t!=t?n:t},ze.divide=ma,ze.endsWith=function(t,n,e){t=_s(t),n=ui(n);var r=t.length,o=e=e===i?r:or(ps(e),0,r);return(e-=n.length)>=0&&t.slice(e,o)==n},ze.eq=Wu,ze.escape=function(t){return(t=_s(t))&&Z.test(t)?t.replace(q,ee):t},ze.escapeRegExp=function(t){return(t=_s(t))&&et.test(t)?t.replace(nt,"\\$&"):t},ze.every=function(t,n,e){var r=Nu(t)?kn:fr;return e&&_o(t,n,e)&&(n=i),r(t,oo(n,3))},ze.find=vu,ze.findIndex=Do,ze.findKey=function(t,n){return zn(t,oo(n,3),yr)},ze.findLast=gu,ze.findLastIndex=No,ze.findLastKey=function(t,n){return zn(t,oo(n,3),mr)},ze.floor=xa,ze.forEach=_u,ze.forEachRight=yu,ze.forIn=function(t,n){return null==t?t:gr(t,oo(n,3),Ms)},ze.forInRight=function(t,n){return null==t?t:_r(t,oo(n,3),Ms)},ze.forOwn=function(t,n){return t&&yr(t,oo(n,3))},ze.forOwnRight=function(t,n){return t&&mr(t,oo(n,3))},ze.get=Ss,ze.gt=Fu,ze.gte=Lu,ze.has=function(t,n){return null!=t&&fo(t,n,Sr)},ze.hasIn=Cs,ze.head=Ho,ze.identity=ea,ze.includes=function(t,n,e,r){t=Hu(t)?t:Ws(t),e=e&&!r?ps(e):0;var i=t.length;return e<0&&(e=ge(i+e,0)),us(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&Fn(t,n,e)>-1},ze.indexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:ps(e);return i<0&&(i=ge(r+i,0)),Fn(t,n,i)},ze.inRange=function(t,n,e){return n=fs(n),e===i?(e=n,n=0):e=fs(e),function(t,n,e){return t>=_e(n,e)&&t<ge(n,e)}(t=vs(t),n,e)},ze.invoke=Os,ze.isArguments=Du,ze.isArray=Nu,ze.isArrayBuffer=Bu,ze.isArrayLike=Hu,ze.isArrayLikeObject=qu,ze.isBoolean=function(t){return!0===t||!1===t||ts(t)&&Ar(t)==_},ze.isBuffer=Gu,ze.isDate=Zu,ze.isElement=function(t){return ts(t)&&1===t.nodeType&&!rs(t)},ze.isEmpty=function(t){if(null==t)return!0;if(Hu(t)&&(Nu(t)||"string"==typeof t||"function"==typeof t.splice||Gu(t)||as(t)||Du(t)))return!t.length;var n=ho(t);if(n==w||n==E)return!t.size;if(bo(t))return!Vr(t).length;for(var e in t)if(Pt.call(t,e))return!1;return!0},ze.isEqual=function(t,n){return Rr(t,n)},ze.isEqualWith=function(t,n,e){var r=(e="function"==typeof e?e:i)?e(t,n):i;return r===i?Rr(t,n,i,e):!!r},ze.isError=Ku,ze.isFinite=function(t){return"number"==typeof t&&Tn(t)},ze.isFunction=Ju,ze.isInteger=Yu,ze.isLength=Qu,ze.isMap=ns,ze.isMatch=function(t,n){return t===n||Mr(t,n,so(n))},ze.isMatchWith=function(t,n,e){return e="function"==typeof e?e:i,Mr(t,n,so(n),e)},ze.isNaN=function(t){return es(t)&&t!=+t},ze.isNative=function(t){if(xo(t))throw new bt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jr(t)},ze.isNil=function(t){return null==t},ze.isNull=function(t){return null===t},ze.isNumber=es,ze.isObject=Xu,ze.isObjectLike=ts,ze.isPlainObject=rs,ze.isRegExp=is,ze.isSafeInteger=function(t){return Yu(t)&&t>=-9007199254740991&&t<=h},ze.isSet=os,ze.isString=us,ze.isSymbol=ss,ze.isTypedArray=as,ze.isUndefined=function(t){return t===i},ze.isWeakMap=function(t){return ts(t)&&ho(t)==R},ze.isWeakSet=function(t){return ts(t)&&"[object WeakSet]"==Ar(t)},ze.join=function(t,n){return null==t?"":Hn.call(t,n)},ze.kebabCase=Ns,ze.last=Ko,ze.lastIndexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r;return e!==i&&(o=(o=ps(e))<0?ge(r+o,0):_e(o,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,o):Wn(t,Dn,o,!0)},ze.lowerCase=Bs,ze.lowerFirst=Hs,ze.lt=ls,ze.lte=cs,ze.max=function(t){return t&&t.length?pr(t,ea,$r):i},ze.maxBy=function(t,n){return t&&t.length?pr(t,oo(n,2),$r):i},ze.mean=function(t){return Nn(t,ea)},ze.meanBy=function(t,n){return Nn(t,oo(n,2))},ze.min=function(t){return t&&t.length?pr(t,ea,Ur):i},ze.minBy=function(t,n){return t&&t.length?pr(t,oo(n,2),Ur):i},ze.stubArray=da,ze.stubFalse=va,ze.stubObject=function(){return{}},ze.stubString=function(){return""},ze.stubTrue=function(){return!0},ze.multiply=ba,ze.nth=function(t,n){return t&&t.length?Fr(t,ps(n)):i},ze.noConflict=function(){return fn._===this&&(fn._=zt),this},ze.noop=sa,ze.now=Su,ze.pad=function(t,n,e){t=_s(t);var r=(n=ps(n))?ce(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return Li(dn(i),e)+t+Li(pn(i),e)},ze.padEnd=function(t,n,e){t=_s(t);var r=(n=ps(n))?ce(t):0;return n&&r<n?t+Li(n-r,e):t},ze.padStart=function(t,n,e){t=_s(t);var r=(n=ps(n))?ce(t):0;return n&&r<n?Li(n-r,e)+t:t},ze.parseInt=function(t,n,e){return e||null==n?n=0:n&&(n=+n),me(_s(t).replace(rt,""),n||0)},ze.random=function(t,n,e){if(e&&"boolean"!=typeof e&&_o(t,n,e)&&(n=e=i),e===i&&("boolean"==typeof n?(e=n,n=i):"boolean"==typeof t&&(e=t,t=i)),t===i&&n===i?(t=0,n=1):(t=fs(t),n===i?(n=t,t=0):n=fs(n)),t>n){var r=t;t=n,n=r}if(e||t%1||n%1){var o=xe();return _e(t+o*(n-t+an("1e-"+((o+"").length-1))),n)}return Hr(t,n)},ze.reduce=function(t,n,e){var r=Nu(t)?Vn:qn,i=arguments.length<3;return r(t,oo(n,4),e,i,cr)},ze.reduceRight=function(t,n,e){var r=Nu(t)?Un:qn,i=arguments.length<3;return r(t,oo(n,4),e,i,hr)},ze.repeat=function(t,n,e){return n=(e?_o(t,n,e):n===i)?1:ps(n),qr(_s(t),n)},ze.replace=function(){var t=arguments,n=_s(t[0]);return t.length<3?n:n.replace(t[1],t[2])},ze.result=function(t,n,e){var r=-1,o=(n=gi(n,t)).length;for(o||(o=1,t=i);++r<o;){var u=null==t?i:t[Io(n[r])];u===i&&(r=o,u=e),t=Ju(u)?u.call(t):u}return t},ze.round=wa,ze.runInContext=t,ze.sample=function(t){return(Nu(t)?Ke:Zr)(t)},ze.size=function(t){if(null==t)return 0;if(Hu(t))return us(t)?ce(t):t.length;var n=ho(t);return n==w||n==E?t.size:Vr(t).length},ze.snakeCase=qs,ze.some=function(t,n,e){var r=Nu(t)?In:ni;return e&&_o(t,n,e)&&(n=i),r(t,oo(n,3))},ze.sortedIndex=function(t,n){return ei(t,n)},ze.sortedIndexBy=function(t,n,e){return ri(t,n,oo(e,2))},ze.sortedIndexOf=function(t,n){var e=null==t?0:t.length;if(e){var r=ei(t,n);if(r<e&&Wu(t[r],n))return r}return-1},ze.sortedLastIndex=function(t,n){return ei(t,n,!0)},ze.sortedLastIndexBy=function(t,n,e){return ri(t,n,oo(e,2),!0)},ze.sortedLastIndexOf=function(t,n){if(null!=t&&t.length){var e=ei(t,n,!0)-1;if(Wu(t[e],n))return e}return-1},ze.startCase=Gs,ze.startsWith=function(t,n,e){return t=_s(t),e=null==e?0:or(ps(e),0,t.length),n=ui(n),t.slice(e,e+n.length)==n},ze.subtract=Aa,ze.sum=function(t){return t&&t.length?Gn(t,ea):0},ze.sumBy=function(t,n){return t&&t.length?Gn(t,oo(n,2)):0},ze.template=function(t,n,e){var r=ze.templateSettings;e&&_o(t,n,e)&&(n=i),t=_s(t),n=xs({},n,r,Ki);var o,u,s=xs({},n.imports,r.imports,Ki),a=Rs(s),l=Yn(s,a),c=0,h=n.interpolate||mt,f="__p += '",p=St((n.escape||mt).source+"|"+h.source+"|"+(h===Y?ht:mt).source+"|"+(n.evaluate||mt).source+"|$","g"),d="//# sourceURL="+(Pt.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+"\n";t.replace(p,(function(n,e,r,i,s,a){return r||(r=i),f+=t.slice(c,a).replace(xt,re),e&&(o=!0,f+="' +\n__e("+e+") +\n'"),s&&(u=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=a+n.length,n})),f+="';\n";var v=Pt.call(n,"variable")&&n.variable;if(v){if(lt.test(v))throw new bt("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(u?f.replace(D,""):f).replace(N,"$1").replace(B,"$1;"),f="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Ys((function(){return wt(a,d+"return "+f).apply(i,l)}));if(g.source=f,Ku(g))throw g;return g},ze.times=function(t,n){if((t=ps(t))<1||t>h)return[];var e=p,r=_e(t,p);n=oo(n),t-=p;for(var i=Zn(r,n);++e<t;)n(e);return i},ze.toFinite=fs,ze.toInteger=ps,ze.toLength=ds,ze.toLower=function(t){return _s(t).toLowerCase()},ze.toNumber=vs,ze.toSafeInteger=function(t){return t?or(ps(t),-9007199254740991,h):0===t?t:0},ze.toString=_s,ze.toUpper=function(t){return _s(t).toUpperCase()},ze.trim=function(t,n,e){if((t=_s(t))&&(e||n===i))return Kn(t);if(!t||!(n=ui(n)))return t;var r=he(t),o=he(n);return yi(r,Xn(r,o),te(r,o)+1).join("")},ze.trimEnd=function(t,n,e){if((t=_s(t))&&(e||n===i))return t.slice(0,fe(t)+1);if(!t||!(n=ui(n)))return t;var r=he(t);return yi(r,0,te(r,he(n))+1).join("")},ze.trimStart=function(t,n,e){if((t=_s(t))&&(e||n===i))return t.replace(rt,"");if(!t||!(n=ui(n)))return t;var r=he(t);return yi(r,Xn(r,he(n))).join("")},ze.truncate=function(t,n){var e=30,r="...";if(Xu(n)){var o="separator"in n?n.separator:o;e="length"in n?ps(n.length):e,r="omission"in n?ui(n.omission):r}var u=(t=_s(t)).length;if(ie(t)){var s=he(t);u=s.length}if(e>=u)return t;var a=e-ce(r);if(a<1)return r;var l=s?yi(s,0,a).join(""):t.slice(0,a);if(o===i)return l+r;if(s&&(a+=l.length-a),is(o)){if(t.slice(a).search(o)){var c,h=l;for(o.global||(o=St(o.source,_s(ft.exec(o))+"g")),o.lastIndex=0;c=o.exec(h);)var f=c.index;l=l.slice(0,f===i?a:f)}}else if(t.indexOf(ui(o),a)!=a){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+r},ze.unescape=function(t){return(t=_s(t))&&G.test(t)?t.replace(H,pe):t},ze.uniqueId=function(t){var n=++Vt;return _s(t)+n},ze.upperCase=Zs,ze.upperFirst=Ks,ze.each=_u,ze.eachRight=yu,ze.first=Ho,ua(ze,(ga={},yr(ze,(function(t,n){Pt.call(ze.prototype,n)||(ga[n]=t)})),ga),{chain:!1}),ze.VERSION="4.17.21",Cn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){ze[t].placeholder=ze})),Cn(["drop","take"],(function(t,n){De.prototype[t]=function(e){e=e===i?1:ge(ps(e),0);var r=this.__filtered__&&!n?new De(this):this.clone();return r.__filtered__?r.__takeCount__=_e(e,r.__takeCount__):r.__views__.push({size:_e(e,p),type:t+(r.__dir__<0?"Right":"")}),r},De.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Cn(["filter","map","takeWhile"],(function(t,n){var e=n+1,r=1==e||3==e;De.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:oo(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}})),Cn(["head","last"],(function(t,n){var e="take"+(n?"Right":"");De.prototype[t]=function(){return this[e](1).value()[0]}})),Cn(["initial","tail"],(function(t,n){var e="drop"+(n?"":"Right");De.prototype[t]=function(){return this.__filtered__?new De(this):this[e](1)}})),De.prototype.compact=function(){return this.filter(ea)},De.prototype.find=function(t){return this.filter(t).head()},De.prototype.findLast=function(t){return this.reverse().find(t)},De.prototype.invokeMap=Gr((function(t,n){return"function"==typeof t?new De(this):this.map((function(e){return kr(e,t,n)}))})),De.prototype.reject=function(t){return this.filter(Vu(oo(t)))},De.prototype.slice=function(t,n){t=ps(t);var e=this;return e.__filtered__&&(t>0||n<0)?new De(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==i&&(e=(n=ps(n))<0?e.dropRight(-n):e.take(n-t)),e)},De.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},De.prototype.toArray=function(){return this.take(p)},yr(De.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),o=ze[r?"take"+("last"==n?"Right":""):n],u=r||/^find/.test(n);o&&(ze.prototype[n]=function(){var n=this.__wrapped__,s=r?[1]:arguments,a=n instanceof De,l=s[0],c=a||Nu(n),h=function(t){var n=o.apply(ze,Pn([t],s));return r&&f?n[0]:n};c&&e&&"function"==typeof l&&1!=l.length&&(a=c=!1);var f=this.__chain__,p=!!this.__actions__.length,d=u&&!f,v=a&&!p;if(!u&&c){n=v?n:new De(this);var g=t.apply(n,s);return g.__actions__.push({func:fu,args:[h],thisArg:i}),new Le(g,f)}return d&&v?t.apply(this,s):(g=this.thru(h),d?r?g.value()[0]:g.value():g)})})),Cn(["pop","push","shift","sort","splice","unshift"],(function(t){var n=kt[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);ze.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(Nu(i)?i:[],t)}return this[e]((function(e){return n.apply(Nu(e)?e:[],t)}))}})),yr(De.prototype,(function(t,n){var e=ze[n];if(e){var r=e.name+"";Pt.call(Oe,r)||(Oe[r]=[]),Oe[r].push({name:n,func:e})}})),Oe[Ti(i,2).name]=[{name:"wrapper",func:i}],De.prototype.clone=function(){var t=new De(this.__wrapped__);return t.__actions__=Ci(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ci(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ci(this.__views__),t},De.prototype.reverse=function(){if(this.__filtered__){var t=new De(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},De.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=Nu(t),r=n<0,i=e?t.length:0,o=function(t,n,e){for(var r=-1,i=e.length;++r<i;){var o=e[r],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=_e(n,t+u);break;case"takeRight":t=ge(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,s=o.end,a=s-u,l=r?s:u-1,c=this.__iteratees__,h=c.length,f=0,p=_e(a,this.__takeCount__);if(!e||!r&&i==a&&p==a)return hi(t,this.__actions__);var d=[];t:for(;a--&&f<p;){for(var v=-1,g=t[l+=n];++v<h;){var _=c[v],y=_.iteratee,m=_.type,x=y(g);if(2==m)g=x;else if(!x){if(1==m)continue t;break t}}d[f++]=g}return d},ze.prototype.at=pu,ze.prototype.chain=function(){return hu(this)},ze.prototype.commit=function(){return new Le(this.value(),this.__chain__)},ze.prototype.next=function(){this.__values__===i&&(this.__values__=hs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},ze.prototype.plant=function(t){for(var n,e=this;e instanceof Fe;){var r=zo(e);r.__index__=0,r.__values__=i,n?o.__wrapped__=r:n=r;var o=r;e=e.__wrapped__}return o.__wrapped__=t,n},ze.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof De){var n=t;return this.__actions__.length&&(n=new De(this)),(n=n.reverse()).__actions__.push({func:fu,args:[Xo],thisArg:i}),new Le(n,this.__chain__)}return this.thru(Xo)},ze.prototype.toJSON=ze.prototype.valueOf=ze.prototype.value=function(){return hi(this.__wrapped__,this.__actions__)},ze.prototype.first=ze.prototype.head,Kt&&(ze.prototype[Kt]=function(){return this}),ze}();fn._=de,(r=function(){return de}.call(n,e,n,t))===i||(t.exports=r)}.call(this)},154:t=>{"use strict";t.exports=n},488:t=>{"use strict";t.exports=r},472:n=>{"use strict";n.exports=t},848:t=>{"use strict";t.exports=e}},o={};function u(t){var n=o[t];if(void 0!==n)return n.exports;var e=o[t]={id:t,loaded:!1,exports:{}};return i[t].call(e.exports,e,e.exports,u),e.loaded=!0,e.exports}u.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return u.d(n,{a:n}),n},u.d=(t,n)=>{for(var e in n)u.o(n,e)&&!u.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),u.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),u.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var s={};return(()=>{"use strict";u.r(s),u.d(s,{OrGauge:()=>xt});const t=window,n=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e=Symbol(),r=new WeakMap;class i{constructor(t,n,r){if(this._$cssResult$=!0,r!==e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=n}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const n=void 0!==e&&1===e.length;n&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&r.set(e,t))}return t}toString(){return this.cssText}}const o=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let n="";for(const e of t.cssRules)n+=e.cssText;return(t=>new i("string"==typeof t?t:t+"",void 0,e))(n)})(t):t;var a;const l=window,c=l.trustedTypes,h=c?c.emptyScript:"",f=l.reactiveElementPolyfillSupport,p={toAttribute(t,n){switch(n){case Boolean:t=t?h:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,n){let e=t;switch(n){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},d=(t,n)=>n!==t&&(n==n||t==t),v={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:d},g="finalized";class _ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var n;this.finalize(),(null!==(n=this.h)&&void 0!==n?n:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((n,e)=>{const r=this._$Ep(e,n);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,n=v){if(n.state&&(n.attribute=!1),this.finalize(),this.elementProperties.set(t,n),!n.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,n);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,n,e){return{get(){return this[n]},set(r){const i=this[t];this[n]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||v}static finalize(){if(this.hasOwnProperty(g))return!1;this[g]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,n=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of n)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const n=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)n.unshift(o(t))}else void 0!==t&&n.push(o(t));return n}static _$Ep(t,n){const e=n.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var n,e;(null!==(n=this._$ES)&&void 0!==n?n:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var n;null===(n=this._$ES)||void 0===n||n.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,n)=>{this.hasOwnProperty(n)&&(this._$Ei.set(n,this[n]),delete this[n])}))}createRenderRoot(){var e;const r=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,r)=>{n?e.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):r.forEach((n=>{const r=document.createElement("style"),i=t.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=n.cssText,e.appendChild(r)}))})(r,this.constructor.elementStyles),r}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var n;return null===(n=t.hostConnected)||void 0===n?void 0:n.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var n;return null===(n=t.hostDisconnected)||void 0===n?void 0:n.call(t)}))}attributeChangedCallback(t,n,e){this._$AK(t,e)}_$EO(t,n,e=v){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const o=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:p).toAttribute(n,e.type);this._$El=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$El=null}}_$AK(t,n){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:p;this._$El=i,this[i]=o.fromAttribute(n,t.type),this._$El=null}}requestUpdate(t,n,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||d)(this[t],n)?(this._$AL.has(t)||this._$AL.set(t,n),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,n)=>this[n]=t)),this._$Ei=void 0);let n=!1;const e=this._$AL;try{n=this.shouldUpdate(e),n?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var n;return null===(n=t.hostUpdate)||void 0===n?void 0:n.call(t)})),this.update(e)):this._$Ek()}catch(t){throw n=!1,this._$Ek(),t}n&&this._$AE(e)}willUpdate(t){}_$AE(t){var n;null===(n=this._$ES)||void 0===n||n.forEach((t=>{var n;return null===(n=t.hostUpdated)||void 0===n?void 0:n.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,n)=>this._$EO(n,this[n],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}var y;_[g]=!0,_.elementProperties=new Map,_.elementStyles=[],_.shadowRootOptions={mode:"open"},null==f||f({ReactiveElement:_}),(null!==(a=l.reactiveElementVersions)&&void 0!==a?a:l.reactiveElementVersions=[]).push("1.6.3");const m=window,x=m.trustedTypes,b=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,w="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,$="?"+A,S=`<${$}>`,C=document,E=()=>C.createComment(""),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,R="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,P=/>/g,V=RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,I=/"/g,T=/^(?:script|style|textarea|title)$/i,z=t=>(n,...e)=>({_$litType$:t,strings:n,values:e}),W=z(1),F=(z(2),Symbol.for("lit-noChange")),L=Symbol.for("lit-nothing"),D=new WeakMap,N=C.createTreeWalker(C,129,null,!1);function B(t,n){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==b?b.createHTML(n):n}const H=(t,n)=>{const e=t.length-1,r=[];let i,o=2===n?"<svg>":"",u=M;for(let n=0;n<e;n++){const e=t[n];let s,a,l=-1,c=0;for(;c<e.length&&(u.lastIndex=c,a=u.exec(e),null!==a);)c=u.lastIndex,u===M?"!--"===a[1]?u=j:void 0!==a[1]?u=P:void 0!==a[2]?(T.test(a[2])&&(i=RegExp("</"+a[2],"g")),u=V):void 0!==a[3]&&(u=V):u===V?">"===a[0]?(u=null!=i?i:M,l=-1):void 0===a[1]?l=-2:(l=u.lastIndex-a[2].length,s=a[1],u=void 0===a[3]?V:'"'===a[3]?I:U):u===I||u===U?u=V:u===j||u===P?u=M:(u=V,i=void 0);const h=u===V&&t[n+1].startsWith("/>")?" ":"";o+=u===M?e+S:l>=0?(r.push(s),e.slice(0,l)+w+e.slice(l)+A+h):e+A+(-2===l?(r.push(void 0),n):h)}return[B(t,o+(t[e]||"<?>")+(2===n?"</svg>":"")),r]};class q{constructor({strings:t,_$litType$:n},e){let r;this.parts=[];let i=0,o=0;const u=t.length-1,s=this.parts,[a,l]=H(t,n);if(this.el=q.createElement(a,e),N.currentNode=this.el.content,2===n){const t=this.el.content,n=t.firstChild;n.remove(),t.append(...n.childNodes)}for(;null!==(r=N.nextNode())&&s.length<u;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const n of r.getAttributeNames())if(n.endsWith(w)||n.startsWith(A)){const e=l[o++];if(t.push(n),void 0!==e){const t=r.getAttribute(e.toLowerCase()+w).split(A),n=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:n[2],strings:t,ctor:"."===n[1]?Y:"?"===n[1]?X:"@"===n[1]?tt:J})}else s.push({type:6,index:i})}for(const n of t)r.removeAttribute(n)}if(T.test(r.tagName)){const t=r.textContent.split(A),n=t.length-1;if(n>0){r.textContent=x?x.emptyScript:"";for(let e=0;e<n;e++)r.append(t[e],E()),N.nextNode(),s.push({type:2,index:++i});r.append(t[n],E())}}}else if(8===r.nodeType)if(r.data===$)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(A,t+1));)s.push({type:7,index:i}),t+=A.length-1}i++}}static createElement(t,n){const e=C.createElement("template");return e.innerHTML=t,e}}function G(t,n,e=t,r){var i,o,u,s;if(n===F)return n;let a=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const l=k(n)?void 0:n._$litDirective$;return(null==a?void 0:a.constructor)!==l&&(null===(o=null==a?void 0:a._$AO)||void 0===o||o.call(a,!1),void 0===l?a=void 0:(a=new l(t),a._$AT(t,e,r)),void 0!==r?(null!==(u=(s=e)._$Co)&&void 0!==u?u:s._$Co=[])[r]=a:e._$Cl=a),void 0!==a&&(n=G(t,a._$AS(t,n.values),a,r)),n}class Z{constructor(t,n){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var n;const{el:{content:e},parts:r}=this._$AD,i=(null!==(n=null==t?void 0:t.creationScope)&&void 0!==n?n:C).importNode(e,!0);N.currentNode=i;let o=N.nextNode(),u=0,s=0,a=r[0];for(;void 0!==a;){if(u===a.index){let n;2===a.type?n=new K(o,o.nextSibling,this,t):1===a.type?n=new a.ctor(o,a.name,a.strings,this,t):6===a.type&&(n=new nt(o,this,t)),this._$AV.push(n),a=r[++s]}u!==(null==a?void 0:a.index)&&(o=N.nextNode(),u++)}return N.currentNode=C,i}v(t){let n=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,n),n+=e.strings.length-2):e._$AI(t[n])),n++}}class K{constructor(t,n,e,r){var i;this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,n;return null!==(n=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==n?n:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const n=this._$AM;return void 0!==n&&11===(null==t?void 0:t.nodeType)&&(t=n.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,n=this){t=G(this,t,n),k(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==F&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>O(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==L&&k(this._$AH)?this._$AA.nextSibling.data=t:this.$(C.createTextNode(t)),this._$AH=t}g(t){var n;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=q.createElement(B(r.h,r.h[0]),this.options)),r);if((null===(n=this._$AH)||void 0===n?void 0:n._$AD)===i)this._$AH.v(e);else{const t=new Z(i,this),n=t.u(this.options);t.v(e),this.$(n),this._$AH=t}}_$AC(t){let n=D.get(t.strings);return void 0===n&&D.set(t.strings,n=new q(t)),n}T(t){O(this._$AH)||(this._$AH=[],this._$AR());const n=this._$AH;let e,r=0;for(const i of t)r===n.length?n.push(e=new K(this.k(E()),this.k(E()),this,this.options)):e=n[r],e._$AI(i),r++;r<n.length&&(this._$AR(e&&e._$AB.nextSibling,r),n.length=r)}_$AR(t=this._$AA.nextSibling,n){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,n);t&&t!==this._$AB;){const n=t.nextSibling;t.remove(),t=n}}setConnected(t){var n;void 0===this._$AM&&(this._$Cp=t,null===(n=this._$AP)||void 0===n||n.call(this,t))}}class J{constructor(t,n,e,r,i){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=n,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=L}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,n=this,e,r){const i=this.strings;let o=!1;if(void 0===i)t=G(this,t,n,0),o=!k(t)||t!==this._$AH&&t!==F,o&&(this._$AH=t);else{const r=t;let u,s;for(t=i[0],u=0;u<i.length-1;u++)s=G(this,r[e+u],n,u),s===F&&(s=this._$AH[u]),o||(o=!k(s)||s!==this._$AH[u]),s===L?t=L:t!==L&&(t+=(null!=s?s:"")+i[u+1]),this._$AH[u]=s}o&&!r&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends J{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}}const Q=x?x.emptyScript:"";class X extends J{constructor(){super(...arguments),this.type=4}j(t){t&&t!==L?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class tt extends J{constructor(t,n,e,r,i){super(t,n,e,r,i),this.type=5}_$AI(t,n=this){var e;if((t=null!==(e=G(this,t,n,0))&&void 0!==e?e:L)===F)return;const r=this._$AH,i=t===L&&r!==L||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==L&&(r===L||i);i&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var n,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(n=this.options)||void 0===n?void 0:n.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class nt{constructor(t,n,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){G(this,t)}}const et=m.litHtmlPolyfillSupport;var rt,it;null==et||et(q,K),(null!==(y=m.litHtmlVersions)&&void 0!==y?y:m.litHtmlVersions=[]).push("2.8.0");class ot extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,n;const e=super.createRenderRoot();return null!==(t=(n=this.renderOptions).renderBefore)&&void 0!==t||(n.renderBefore=e.firstChild),e}update(t){const n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,n,e)=>{var r,i;const o=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:n;let u=o._$litPart$;if(void 0===u){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;o._$litPart$=u=new K(n.insertBefore(E(),t),t,void 0,null!=e?e:{})}return u._$AI(t),u})(n,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return F}}ot.finalized=!0,ot._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:ot});const ut=globalThis.litElementPolyfillSupport;null==ut||ut({LitElement:ot}),(null!==(it=globalThis.litElementVersions)&&void 0!==it?it:globalThis.litElementVersions=[]).push("3.3.3");const st=(t,n)=>"method"===n.kind&&n.descriptor&&!("value"in n.descriptor)?{...n,finisher(e){e.createProperty(n.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:n.key,initializer(){"function"==typeof n.initializer&&(this[n.key]=n.initializer.call(this))},finisher(e){e.createProperty(n.key,t)}};function at(t){return(n,e)=>void 0!==e?((t,n,e)=>{n.constructor.createProperty(e,t)})(t,n,e):st(t,n)}function lt(t,n){return(({finisher:t,descriptor:n})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,o=null!=n?{kind:"method",placement:"prototype",key:r,descriptor:n(e.key)}:{...e,key:r};return null!=t&&(o.finisher=function(n){t(n,r)}),o}{const i=e.constructor;void 0!==n&&Object.defineProperty(e,r,n(r)),null==t||t(i,r)}})({descriptor:e=>{const r={get(){var n,e;return null!==(e=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(n){const n="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[n]&&(this[n]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[n]}}return r}})}var ct;null===(ct=window.HTMLSlotElement)||void 0===ct||ct.prototype.assignedElements;var ht=u(472),ft=u(68),pt=u(154),dt=u.n(pt),vt=u(848),gt=u(944),_t=u(488),yt=function(t,n,e,r){var i,o=arguments.length,u=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,n,e,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(u=(o<3?i(u):o>3?i(n,e,u):i(n,e))||u);return o>3&&u&&Object.defineProperty(n,e,u),u};const mt=((t,...n)=>{const r=1===t.length?t[0]:n.reduce(((n,e,r)=>n+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new i(r,t,e)})`
|
|
2
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("ORModel"),require("ORCore"),require("ORTranslate"),require("ORIcon")):"function"==typeof define&&define.amd?define(["ORModel","ORCore","ORTranslate","ORIcon"],n):"object"==typeof exports?exports.ORGauge=n(require("ORModel"),require("ORCore"),require("ORTranslate"),require("ORIcon")):t.ORGauge=n(t.ORModel,t.ORCore,t.ORTranslate,t.ORIcon)}(self,((t,n,e,r)=>(()=>{var i={68:function(t,n,e){var r;(function(){var i,o,u,s,a,l,c,h,f,p,d,v,g=[].slice,_={}.hasOwnProperty,y=function(t,n){for(var e in n)_.call(n,e)&&(t[e]=n[e]);function r(){this.constructor=t}return r.prototype=n.prototype,t.prototype=new r,t.__super__=n.prototype,t},m=[].indexOf||function(t){for(var n=0,e=this.length;n<e;n++)if(n in this&&this[n]===t)return n;return-1};!function(){var t,n,e,r,i,o,u;for(e=0,i=(u=["ms","moz","webkit","o"]).length;e<i&&(o=u[e],!window.requestAnimationFrame);e++)window.requestAnimationFrame=window[o+"RequestAnimationFrame"],window.cancelAnimationFrame=window[o+"CancelAnimationFrame"]||window[o+"CancelRequestAnimationFrame"];t=null,r=0,n={},requestAnimationFrame?window.cancelAnimationFrame||(t=window.requestAnimationFrame,window.requestAnimationFrame=function(e,i){var o;return o=++r,t((function(){if(!n[o])return e()}),i),o},window.cancelAnimationFrame=function(t){return n[t]=!0}):(window.requestAnimationFrame=function(t,n){var e,r,i,o;return e=(new Date).getTime(),o=Math.max(0,16-(e-i)),r=window.setTimeout((function(){return t(e+o)}),o),i=e+o,r},window.cancelAnimationFrame=function(t){return clearTimeout(t)})}(),v=function(t){var n,e;for(t-=3600*(n=Math.floor(t/3600))+60*(e=Math.floor((t-3600*n)/60)),t+="",e+="";e.length<2;)e="0"+e;for(;t.length<2;)t="0"+t;return(n=n?n+":":"")+e+":"+t},p=function(){var t,n,e;return e=(n=1<=arguments.length?g.call(arguments,0):[])[0],t=n[1],h(e.toFixed(t))},d=function(t,n){var e,r,i;for(e in r={},t)_.call(t,e)&&(i=t[e],r[e]=i);for(e in n)_.call(n,e)&&(i=n[e],r[e]=i);return r},h=function(t){var n,e,r,i;for(r=(e=(t+="").split("."))[0],i="",e.length>1&&(i="."+e[1]),n=/(\d+)(\d{3})/;n.test(r);)r=r.replace(n,"$1,$2");return r+i},f=function(t){return"#"===t.charAt(0)?t.substring(1,7):t},o=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return y(n,t),n.prototype.displayScale=1,n.prototype.forceUpdate=!0,n.prototype.setTextField=function(t,n){return this.textField=t instanceof l?t:new l(t,n)},n.prototype.setMinValue=function(t,n){var e,r,i,o,u;if(this.minValue=t,null==n&&(n=!0),n){for(this.displayedValue=this.minValue,u=[],r=0,i=(o=this.gp||[]).length;r<i;r++)e=o[r],u.push(e.displayedValue=this.minValue);return u}},n.prototype.setOptions=function(t){return null==t&&(t=null),this.options=d(this.options,t),this.textField&&(this.textField.el.style.fontSize=t.fontSize+"px"),this.options.angle>.5&&(this.options.angle=.5),this.configDisplayScale(),this},n.prototype.configDisplayScale=function(){var t,n,e,r,i;return r=this.displayScale,!1===this.options.highDpiSupport?delete this.displayScale:(n=window.devicePixelRatio||1,t=this.ctx.webkitBackingStorePixelRatio||this.ctx.mozBackingStorePixelRatio||this.ctx.msBackingStorePixelRatio||this.ctx.oBackingStorePixelRatio||this.ctx.backingStorePixelRatio||1,this.displayScale=n/t),this.displayScale!==r&&(i=this.canvas.G__width||this.canvas.width,e=this.canvas.G__height||this.canvas.height,this.canvas.width=i*this.displayScale,this.canvas.height=e*this.displayScale,this.canvas.style.width=i+"px",this.canvas.style.height=e+"px",this.canvas.G__width=i,this.canvas.G__height=e),this},n.prototype.parseValue=function(t){return t=parseFloat(t)||Number(t),isFinite(t)?t:0},n}(c=function(){function t(t,n){null==t&&(t=!0),this.clear=null==n||n,t&&AnimationUpdater.add(this)}return t.prototype.animationSpeed=32,t.prototype.update=function(t){var n;return null==t&&(t=!1),!(!t&&this.displayedValue===this.value||(this.ctx&&this.clear&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),n=this.value-this.displayedValue,Math.abs(n/this.animationSpeed)<=.001?this.displayedValue=this.value:this.displayedValue=this.displayedValue+n/this.animationSpeed,this.render(),0))},t}()),l=function(){function t(t,n){this.el=t,this.fractionDigits=n}return t.prototype.render=function(t){return this.el.innerHTML=p(t.displayedValue,this.fractionDigits)},t}(),function(t){function n(t,e){if(this.elem=t,this.text=null!=e&&e,n.__super__.constructor.call(this),void 0===this.elem)throw new Error("The element isn't defined.");this.value=1*this.elem.innerHTML,this.text&&(this.value=0)}y(n,t),n.prototype.displayedValue=0,n.prototype.value=0,n.prototype.setVal=function(t){return this.value=1*t},n.prototype.render=function(){var t;return t=this.text?v(this.displayedValue.toFixed(0)):h(p(this.displayedValue)),this.elem.innerHTML=t}}(c),a=function(t){function n(t){if(this.gauge=t,void 0===this.gauge)throw new Error("The element isn't defined.");this.ctx=this.gauge.ctx,this.canvas=this.gauge.canvas,n.__super__.constructor.call(this,!1,!1),this.setOptions()}return y(n,t),n.prototype.displayedValue=0,n.prototype.value=0,n.prototype.options={strokeWidth:.035,length:.1,color:"#000000",iconPath:null,iconScale:1,iconAngle:0},n.prototype.img=null,n.prototype.setOptions=function(t){if(null==t&&(t=null),this.options=d(this.options,t),this.length=2*this.gauge.radius*this.gauge.options.radiusScale*this.options.length,this.strokeWidth=this.canvas.height*this.options.strokeWidth,this.maxValue=this.gauge.maxValue,this.minValue=this.gauge.minValue,this.animationSpeed=this.gauge.animationSpeed,this.options.angle=this.gauge.options.angle,this.options.iconPath)return this.img=new Image,this.img.src=this.options.iconPath},n.prototype.render=function(){var t,n,e,r,i,o,u,s,a;if(t=this.gauge.getAngle.call(this,this.displayedValue),s=Math.round(this.length*Math.cos(t)),a=Math.round(this.length*Math.sin(t)),o=Math.round(this.strokeWidth*Math.cos(t-Math.PI/2)),u=Math.round(this.strokeWidth*Math.sin(t-Math.PI/2)),n=Math.round(this.strokeWidth*Math.cos(t+Math.PI/2)),e=Math.round(this.strokeWidth*Math.sin(t+Math.PI/2)),this.ctx.beginPath(),this.ctx.fillStyle=this.options.color,this.ctx.arc(0,0,this.strokeWidth,0,2*Math.PI,!1),this.ctx.fill(),this.ctx.beginPath(),this.ctx.moveTo(o,u),this.ctx.lineTo(s,a),this.ctx.lineTo(n,e),this.ctx.fill(),this.img)return r=Math.round(this.img.width*this.options.iconScale),i=Math.round(this.img.height*this.options.iconScale),this.ctx.save(),this.ctx.translate(s,a),this.ctx.rotate(t+Math.PI/180*(90+this.options.iconAngle)),this.ctx.drawImage(this.img,-r/2,-i/2,r,i),this.ctx.restore()},n}(c),function(){function t(t){this.elem=t}t.prototype.updateValues=function(t){return this.value=t[0],this.maxValue=t[1],this.avgValue=t[2],this.render()},t.prototype.render=function(){var t,n;return this.textField&&this.textField.text(p(this.value)),0===this.maxValue&&(this.maxValue=2*this.avgValue),n=this.value/this.maxValue*100,t=this.avgValue/this.maxValue*100,$(".bar-value",this.elem).css({width:n+"%"}),$(".typical-value",this.elem).css({width:t+"%"})}}(),s=function(t){function n(t){var e,r;this.canvas=t,n.__super__.constructor.call(this),this.percentColors=null,"undefined"!=typeof G_vmlCanvasManager&&(this.canvas=window.G_vmlCanvasManager.initElement(this.canvas)),this.ctx=this.canvas.getContext("2d"),e=this.canvas.clientHeight,r=this.canvas.clientWidth,this.canvas.height=e,this.canvas.width=r,this.gp=[new a(this)],this.setOptions()}return y(n,t),n.prototype.elem=null,n.prototype.value=[20],n.prototype.maxValue=80,n.prototype.minValue=0,n.prototype.displayedAngle=0,n.prototype.displayedValue=0,n.prototype.lineWidth=40,n.prototype.paddingTop=.1,n.prototype.paddingBottom=.1,n.prototype.percentColors=null,n.prototype.options={colorStart:"#6fadcf",colorStop:void 0,gradientType:0,strokeColor:"#e0e0e0",pointer:{length:.8,strokeWidth:.035,iconScale:1},angle:.15,lineWidth:.44,radiusScale:1,fontSize:40,limitMax:!1,limitMin:!1},n.prototype.setOptions=function(t){var e,r,i,o,u;for(null==t&&(t=null),n.__super__.setOptions.call(this,t),this.configPercentColors(),this.extraPadding=0,this.options.angle<0&&(o=Math.PI*(1+this.options.angle),this.extraPadding=Math.sin(o)),this.availableHeight=this.canvas.height*(1-this.paddingTop-this.paddingBottom),this.lineWidth=this.availableHeight*this.options.lineWidth,this.radius=(this.availableHeight-this.lineWidth/2)/(1+this.extraPadding),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),r=0,i=(u=this.gp).length;r<i;r++)(e=u[r]).setOptions(this.options.pointer),e.render();return this.render(),this},n.prototype.configPercentColors=function(){var t,n,e,r,i,o,u;if(this.percentColors=null,void 0!==this.options.percentColors){for(this.percentColors=new Array,o=[],e=r=0,i=this.options.percentColors.length-1;0<=i?r<=i:r>=i;e=0<=i?++r:--r)u=parseInt(f(this.options.percentColors[e][1]).substring(0,2),16),n=parseInt(f(this.options.percentColors[e][1]).substring(2,4),16),t=parseInt(f(this.options.percentColors[e][1]).substring(4,6),16),o.push(this.percentColors[e]={pct:this.options.percentColors[e][0],color:{r:u,g:n,b:t}});return o}},n.prototype.set=function(t){var n,e,r,i,o,u,s,l,c;for(t instanceof Array||(t=[t]),e=r=0,s=t.length-1;0<=s?r<=s:r>=s;e=0<=s?++r:--r)t[e]=this.parseValue(t[e]);if(t.length>this.gp.length)for(e=i=0,l=t.length-this.gp.length;0<=l?i<l:i>l;e=0<=l?++i:--i)(n=new a(this)).setOptions(this.options.pointer),this.gp.push(n);else t.length<this.gp.length&&(this.gp=this.gp.slice(this.gp.length-t.length));for(e=0,u=0,o=t.length;u<o;u++)(c=t[u])>this.maxValue?this.options.limitMax?c=this.maxValue:this.maxValue=c+1:c<this.minValue&&(this.options.limitMin?c=this.minValue:this.minValue=c-1),this.gp[e].value=c,this.gp[e++].setOptions({minValue:this.minValue,maxValue:this.maxValue,angle:this.options.angle});return this.value=Math.max(Math.min(t[t.length-1],this.maxValue),this.minValue),AnimationUpdater.add(this),AnimationUpdater.run(this.forceUpdate),this.forceUpdate=!1},n.prototype.getAngle=function(t){return(1+this.options.angle)*Math.PI+(t-this.minValue)/(this.maxValue-this.minValue)*(1-2*this.options.angle)*Math.PI},n.prototype.getColorForPercentage=function(t,n){var e,r,i,o,u,s,a;if(0===t)e=this.percentColors[0].color;else for(e=this.percentColors[this.percentColors.length-1].color,i=o=0,s=this.percentColors.length-1;0<=s?o<=s:o>=s;i=0<=s?++o:--o)if(t<=this.percentColors[i].pct){!0===n?(a=this.percentColors[i-1]||this.percentColors[0],r=this.percentColors[i],u=(t-a.pct)/(r.pct-a.pct),e={r:Math.floor(a.color.r*(1-u)+r.color.r*u),g:Math.floor(a.color.g*(1-u)+r.color.g*u),b:Math.floor(a.color.b*(1-u)+r.color.b*u)}):e=this.percentColors[i].color;break}return"rgb("+[e.r,e.g,e.b].join(",")+")"},n.prototype.getColorForValue=function(t,n){var e;return e=(t-this.minValue)/(this.maxValue-this.minValue),this.getColorForPercentage(e,n)},n.prototype.renderStaticLabels=function(t,n,e,r){var i,o,u,s,a,l,c,h,f,d;for(this.ctx.save(),this.ctx.translate(n,e),l=/\d+\.?\d?/,a=(i=t.font||"10px Times").match(l)[0],h=i.slice(a.length),o=parseFloat(a)*this.displayScale,this.ctx.font=o+h,this.ctx.fillStyle=t.color||"#000000",this.ctx.textBaseline="bottom",this.ctx.textAlign="center",u=0,s=(c=t.labels).length;u<s;u++)void 0!==(d=c[u]).label?(!this.options.limitMin||d>=this.minValue)&&(!this.options.limitMax||d<=this.maxValue)&&(a=(i=d.font||t.font).match(l)[0],h=i.slice(a.length),o=parseFloat(a)*this.displayScale,this.ctx.font=o+h,f=this.getAngle(d.label)-3*Math.PI/2,this.ctx.rotate(f),this.ctx.fillText(p(d.label,t.fractionDigits),0,-r-this.lineWidth/2),this.ctx.rotate(-f)):(!this.options.limitMin||d>=this.minValue)&&(!this.options.limitMax||d<=this.maxValue)&&(f=this.getAngle(d)-3*Math.PI/2,this.ctx.rotate(f),this.ctx.fillText(p(d,t.fractionDigits),0,-r-this.lineWidth/2),this.ctx.rotate(-f));return this.ctx.restore()},n.prototype.renderTicks=function(t,n,e,r){var i,o,u,s,a,l,c,h,f,p,d,v,g,_,y,m,x,b,w,A;if(t!=={}){for(l=t.divisions||0,b=t.subDivisions||0,u=t.divColor||"#fff",_=t.subColor||"#fff",s=t.divLength||.7,m=t.subLength||.2,f=parseFloat(this.maxValue)-parseFloat(this.minValue),p=parseFloat(f)/parseFloat(t.divisions),y=parseFloat(p)/parseFloat(t.subDivisions),i=parseFloat(this.minValue),o=0+y,a=(h=f/400)*(t.divWidth||1),x=h*(t.subWidth||1),v=[],w=c=0,d=l+1;c<d;w=c+=1)this.ctx.lineWidth=this.lineWidth*s,g=this.lineWidth/2*(1-s),A=this.radius*this.options.radiusScale+g,this.ctx.strokeStyle=u,this.ctx.beginPath(),this.ctx.arc(0,0,A,this.getAngle(i-a),this.getAngle(i+a),!1),this.ctx.stroke(),o=i+y,i+=p,w!==t.divisions&&b>0?v.push(function(){var t,n,e;for(e=[],t=0,n=b-1;t<n;t+=1)this.ctx.lineWidth=this.lineWidth*m,g=this.lineWidth/2*(1-m),A=this.radius*this.options.radiusScale+g,this.ctx.strokeStyle=_,this.ctx.beginPath(),this.ctx.arc(0,0,A,this.getAngle(o-x),this.getAngle(o+x),!1),this.ctx.stroke(),e.push(o+=y);return e}.call(this)):v.push(void 0);return v}},n.prototype.render=function(){var t,n,e,r,i,o,u,s,a,l,c,h,f,p,d,v;if(d=this.canvas.width/2,e=this.canvas.height*this.paddingTop+this.availableHeight-(this.radius+this.lineWidth/2)*this.extraPadding,t=this.getAngle(this.displayedValue),this.textField&&this.textField.render(this),this.ctx.lineCap="butt",l=this.radius*this.options.radiusScale,this.options.staticLabels&&this.renderStaticLabels(this.options.staticLabels,d,e,l),this.options.staticZones)for(this.ctx.save(),this.ctx.translate(d,e),this.ctx.lineWidth=this.lineWidth,r=0,o=(c=this.options.staticZones).length;r<o;r++)a=(v=c[r]).min,this.options.limitMin&&a<this.minValue&&(a=this.minValue),s=v.max,this.options.limitMax&&s>this.maxValue&&(s=this.maxValue),p=this.radius*this.options.radiusScale,v.height&&(this.ctx.lineWidth=this.lineWidth*v.height,f=this.lineWidth/2*(v.offset||1-v.height),p=this.radius*this.options.radiusScale+f),this.ctx.strokeStyle=v.strokeStyle,this.ctx.beginPath(),this.ctx.arc(0,0,p,this.getAngle(a),this.getAngle(s),!1),this.ctx.stroke();else void 0!==this.options.customFillStyle?n=this.options.customFillStyle(this):null!==this.percentColors?n=this.getColorForValue(this.displayedValue,this.options.generateGradient):void 0!==this.options.colorStop?((n=0===this.options.gradientType?this.ctx.createRadialGradient(d,e,9,d,e,70):this.ctx.createLinearGradient(0,0,d,0)).addColorStop(0,this.options.colorStart),n.addColorStop(1,this.options.colorStop)):n=this.options.colorStart,this.ctx.strokeStyle=n,this.ctx.beginPath(),this.ctx.arc(d,e,l,(1+this.options.angle)*Math.PI,t,!1),this.ctx.lineWidth=this.lineWidth,this.ctx.stroke(),this.ctx.strokeStyle=this.options.strokeColor,this.ctx.beginPath(),this.ctx.arc(d,e,l,t,(2-this.options.angle)*Math.PI,!1),this.ctx.stroke(),this.ctx.save(),this.ctx.translate(d,e);for(this.options.renderTicks&&this.renderTicks(this.options.renderTicks,d,e,l),this.ctx.restore(),this.ctx.translate(d,e),i=0,u=(h=this.gp).length;i<u;i++)h[i].update(!0);return this.ctx.translate(-d,-e)},n}(o),i=function(t){function n(t){this.canvas=t,n.__super__.constructor.call(this),"undefined"!=typeof G_vmlCanvasManager&&(this.canvas=window.G_vmlCanvasManager.initElement(this.canvas)),this.ctx=this.canvas.getContext("2d"),this.setOptions(),this.render()}return y(n,t),n.prototype.lineWidth=15,n.prototype.displayedValue=0,n.prototype.value=33,n.prototype.maxValue=80,n.prototype.minValue=0,n.prototype.options={lineWidth:.1,colorStart:"#6f6ea0",colorStop:"#c0c0db",strokeColor:"#eeeeee",shadowColor:"#d5d5d5",angle:.35,radiusScale:1},n.prototype.getAngle=function(t){return(1-this.options.angle)*Math.PI+(t-this.minValue)/(this.maxValue-this.minValue)*(2+this.options.angle-(1-this.options.angle))*Math.PI},n.prototype.setOptions=function(t){return null==t&&(t=null),n.__super__.setOptions.call(this,t),this.lineWidth=this.canvas.height*this.options.lineWidth,this.radius=this.options.radiusScale*(this.canvas.height/2-this.lineWidth/2),this},n.prototype.set=function(t){return this.value=this.parseValue(t),this.value>this.maxValue?this.options.limitMax?this.value=this.maxValue:this.maxValue=this.value:this.value<this.minValue&&(this.options.limitMin?this.value=this.minValue:this.minValue=this.value),AnimationUpdater.add(this),AnimationUpdater.run(this.forceUpdate),this.forceUpdate=!1},n.prototype.render=function(){var t,n,e,r;return t=this.getAngle(this.displayedValue),r=this.canvas.width/2,e=this.canvas.height/2,this.textField&&this.textField.render(this),(n=this.ctx.createRadialGradient(r,e,39,r,e,70)).addColorStop(0,this.options.colorStart),n.addColorStop(1,this.options.colorStop),this.radius,this.lineWidth,this.radius,this.lineWidth,this.ctx.strokeStyle=this.options.strokeColor,this.ctx.beginPath(),this.ctx.arc(r,e,this.radius,(1-this.options.angle)*Math.PI,(2+this.options.angle)*Math.PI,!1),this.ctx.lineWidth=this.lineWidth,this.ctx.lineCap="round",this.ctx.stroke(),this.ctx.strokeStyle=n,this.ctx.beginPath(),this.ctx.arc(r,e,this.radius,(1-this.options.angle)*Math.PI,t,!1),this.ctx.stroke()},n}(o),u=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return y(n,t),n.prototype.strokeGradient=function(t,n,e,r){var i;return(i=this.ctx.createRadialGradient(t,n,e,t,n,r)).addColorStop(0,this.options.shadowColor),i.addColorStop(.12,this.options._orgStrokeColor),i.addColorStop(.88,this.options._orgStrokeColor),i.addColorStop(1,this.options.shadowColor),i},n.prototype.setOptions=function(t){var e,r,i,o;return null==t&&(t=null),n.__super__.setOptions.call(this,t),o=this.canvas.width/2,e=this.canvas.height/2,r=this.radius-this.lineWidth/2,i=this.radius+this.lineWidth/2,this.options._orgStrokeColor=this.options.strokeColor,this.options.strokeColor=this.strokeGradient(o,e,r,i),this},n}(i),window.AnimationUpdater={elements:[],animId:null,addAll:function(t){var n,e,r,i;for(i=[],e=0,r=t.length;e<r;e++)n=t[e],i.push(AnimationUpdater.elements.push(n));return i},add:function(t){if(m.call(AnimationUpdater.elements,t)<0)return AnimationUpdater.elements.push(t)},run:function(t){var n,e,r,i,o,u,s;if(null==t&&(t=!1),isFinite(parseFloat(t))||!0===t){for(n=!0,s=[],r=e=0,o=(u=AnimationUpdater.elements).length;e<o;r=++e)u[r].update(!0===t)?n=!1:s.push(r);for(i=s.length-1;i>=0;i+=-1)r=s[i],AnimationUpdater.elements.splice(r,1);return AnimationUpdater.animId=n?null:requestAnimationFrame(AnimationUpdater.run)}if(!1===t)return!0===AnimationUpdater.animId&&cancelAnimationFrame(AnimationUpdater.animId),AnimationUpdater.animId=requestAnimationFrame(AnimationUpdater.run)}},"function"==typeof window.define&&null!=window.define.amd?void 0===(r=function(){return{Gauge:s,Donut:u,BaseDonut:i,TextRenderer:l}}.call(n,e,n,t))||(t.exports=r):null!=t.exports?t.exports={Gauge:s,Donut:u,BaseDonut:i,TextRenderer:l}:(window.Gauge=s,window.Donut=u,window.BaseDonut=i,window.TextRenderer=l)}).call(this)},944:function(t,n,e){var r;t=e.nmd(t),function(){var i,o="Expected a function",u="__lodash_hash_undefined__",s="__lodash_placeholder__",a=32,l=128,c=1/0,h=9007199254740991,f=NaN,p=4294967295,d=[["ary",l],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",a],["partialRight",64],["rearg",256]],v="[object Arguments]",g="[object Array]",_="[object Boolean]",y="[object Date]",m="[object Error]",x="[object Function]",b="[object GeneratorFunction]",w="[object Map]",A="[object Number]",$="[object Object]",S="[object Promise]",C="[object RegExp]",E="[object Set]",k="[object String]",O="[object Symbol]",R="[object WeakMap]",M="[object ArrayBuffer]",j="[object DataView]",P="[object Float32Array]",V="[object Float64Array]",U="[object Int8Array]",I="[object Int16Array]",T="[object Int32Array]",z="[object Uint8Array]",W="[object Uint8ClampedArray]",F="[object Uint16Array]",L="[object Uint32Array]",D=/\b__p \+= '';/g,N=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,H=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(H.source),Z=RegExp(q.source),K=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nt=/[\\^$.*+?()[\]{}|]/g,et=RegExp(nt.source),rt=/^\s+/,it=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ut=/\{\n\/\* \[wrapped with (.+)\] \*/,st=/,? & /,at=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,lt=/[()=,{}\[\]\/\s]/,ct=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ft=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,dt=/^0b[01]+$/i,vt=/^\[object .+?Constructor\]$/,gt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mt=/($^)/,xt=/['\n\r\u2028\u2029\\]/g,bt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\u2700-\\u27bf",$t="a-z\\xdf-\\xf6\\xf8-\\xff",St="A-Z\\xc0-\\xd6\\xd8-\\xde",Ct="\\ufe0e\\ufe0f",Et="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",kt="["+bt+"]",Ot="["+Et+"]",Rt="["+wt+"]",Mt="\\d+",jt="["+At+"]",Pt="["+$t+"]",Vt="[^"+bt+Et+Mt+At+$t+St+"]",Ut="\\ud83c[\\udffb-\\udfff]",It="[^"+bt+"]",Tt="(?:\\ud83c[\\udde6-\\uddff]){2}",zt="[\\ud800-\\udbff][\\udc00-\\udfff]",Wt="["+St+"]",Ft="\\u200d",Lt="(?:"+Pt+"|"+Vt+")",Dt="(?:"+Wt+"|"+Vt+")",Nt="(?:['’](?:d|ll|m|re|s|t|ve))?",Bt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ht="(?:"+Rt+"|"+Ut+")?",qt="["+Ct+"]?",Gt=qt+Ht+"(?:"+Ft+"(?:"+[It,Tt,zt].join("|")+")"+qt+Ht+")*",Zt="(?:"+[jt,Tt,zt].join("|")+")"+Gt,Kt="(?:"+[It+Rt+"?",Rt,Tt,zt,kt].join("|")+")",Jt=RegExp("['’]","g"),Yt=RegExp(Rt,"g"),Qt=RegExp(Ut+"(?="+Ut+")|"+Kt+Gt,"g"),Xt=RegExp([Wt+"?"+Pt+"+"+Nt+"(?="+[Ot,Wt,"$"].join("|")+")",Dt+"+"+Bt+"(?="+[Ot,Wt+Lt,"$"].join("|")+")",Wt+"?"+Lt+"+"+Nt,Wt+"+"+Bt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Zt].join("|"),"g"),tn=RegExp("["+Ft+bt+wt+Ct+"]"),nn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,en=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rn=-1,on={};on[P]=on[V]=on[U]=on[I]=on[T]=on[z]=on[W]=on[F]=on[L]=!0,on[v]=on[g]=on[M]=on[_]=on[j]=on[y]=on[m]=on[x]=on[w]=on[A]=on[$]=on[C]=on[E]=on[k]=on[R]=!1;var un={};un[v]=un[g]=un[M]=un[j]=un[_]=un[y]=un[P]=un[V]=un[U]=un[I]=un[T]=un[w]=un[A]=un[$]=un[C]=un[E]=un[k]=un[O]=un[z]=un[W]=un[F]=un[L]=!0,un[m]=un[x]=un[R]=!1;var sn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},an=parseFloat,ln=parseInt,cn="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,hn="object"==typeof self&&self&&self.Object===Object&&self,fn=cn||hn||Function("return this")(),pn=n&&!n.nodeType&&n,dn=pn&&t&&!t.nodeType&&t,vn=dn&&dn.exports===pn,gn=vn&&cn.process,_n=function(){try{return dn&&dn.require&&dn.require("util").types||gn&&gn.binding&&gn.binding("util")}catch(t){}}(),yn=_n&&_n.isArrayBuffer,mn=_n&&_n.isDate,xn=_n&&_n.isMap,bn=_n&&_n.isRegExp,wn=_n&&_n.isSet,An=_n&&_n.isTypedArray;function $n(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function Sn(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(r,u,e(u),t)}return r}function Cn(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==n(t[e],e,t););return t}function En(t,n){for(var e=null==t?0:t.length;e--&&!1!==n(t[e],e,t););return t}function kn(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function On(t,n){for(var e=-1,r=null==t?0:t.length,i=0,o=[];++e<r;){var u=t[e];n(u,e,t)&&(o[i++]=u)}return o}function Rn(t,n){return!(null==t||!t.length)&&Fn(t,n,0)>-1}function Mn(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}function jn(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}function Pn(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}function Vn(t,n,e,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(e=t[++i]);++i<o;)e=n(e,t[i],i,t);return e}function Un(t,n,e,r){var i=null==t?0:t.length;for(r&&i&&(e=t[--i]);i--;)e=n(e,t[i],i,t);return e}function In(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}var Tn=Bn("length");function zn(t,n,e){var r;return e(t,(function(t,e,i){if(n(t,e,i))return r=e,!1})),r}function Wn(t,n,e,r){for(var i=t.length,o=e+(r?1:-1);r?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function Fn(t,n,e){return n==n?function(t,n,e){for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}(t,n,e):Wn(t,Dn,e)}function Ln(t,n,e,r){for(var i=e-1,o=t.length;++i<o;)if(r(t[i],n))return i;return-1}function Dn(t){return t!=t}function Nn(t,n){var e=null==t?0:t.length;return e?Gn(t,n)/e:f}function Bn(t){return function(n){return null==n?i:n[t]}}function Hn(t){return function(n){return null==t?i:t[n]}}function qn(t,n,e,r,i){return i(t,(function(t,i,o){e=r?(r=!1,t):n(e,t,i,o)})),e}function Gn(t,n){for(var e,r=-1,o=t.length;++r<o;){var u=n(t[r]);u!==i&&(e=e===i?u:e+u)}return e}function Zn(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function Kn(t){return t?t.slice(0,fe(t)+1).replace(rt,""):t}function Jn(t){return function(n){return t(n)}}function Yn(t,n){return jn(n,(function(n){return t[n]}))}function Qn(t,n){return t.has(n)}function Xn(t,n){for(var e=-1,r=t.length;++e<r&&Fn(n,t[e],0)>-1;);return e}function te(t,n){for(var e=t.length;e--&&Fn(n,t[e],0)>-1;);return e}var ne=Hn({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ee=Hn({"&":"&","<":"<",">":">",'"':""","'":"'"});function re(t){return"\\"+sn[t]}function ie(t){return tn.test(t)}function oe(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function ue(t,n){return function(e){return t(n(e))}}function se(t,n){for(var e=-1,r=t.length,i=0,o=[];++e<r;){var u=t[e];u!==n&&u!==s||(t[e]=s,o[i++]=e)}return o}function ae(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}function le(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=[t,t]})),e}function ce(t){return ie(t)?function(t){for(var n=Qt.lastIndex=0;Qt.test(t);)++n;return n}(t):Tn(t)}function he(t){return ie(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.split("")}(t)}function fe(t){for(var n=t.length;n--&&it.test(t.charAt(n)););return n}var pe=Hn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),de=function t(n){var e,r=(n=null==n?fn:de.defaults(fn.Object(),n,de.pick(fn,en))).Array,it=n.Date,bt=n.Error,wt=n.Function,At=n.Math,$t=n.Object,St=n.RegExp,Ct=n.String,Et=n.TypeError,kt=r.prototype,Ot=wt.prototype,Rt=$t.prototype,Mt=n["__core-js_shared__"],jt=Ot.toString,Pt=Rt.hasOwnProperty,Vt=0,Ut=(e=/[^.]+$/.exec(Mt&&Mt.keys&&Mt.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",It=Rt.toString,Tt=jt.call($t),zt=fn._,Wt=St("^"+jt.call(Pt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ft=vn?n.Buffer:i,Lt=n.Symbol,Dt=n.Uint8Array,Nt=Ft?Ft.allocUnsafe:i,Bt=ue($t.getPrototypeOf,$t),Ht=$t.create,qt=Rt.propertyIsEnumerable,Gt=kt.splice,Zt=Lt?Lt.isConcatSpreadable:i,Kt=Lt?Lt.iterator:i,Qt=Lt?Lt.toStringTag:i,tn=function(){try{var t=ao($t,"defineProperty");return t({},"",{}),t}catch(t){}}(),sn=n.clearTimeout!==fn.clearTimeout&&n.clearTimeout,cn=it&&it.now!==fn.Date.now&&it.now,hn=n.setTimeout!==fn.setTimeout&&n.setTimeout,pn=At.ceil,dn=At.floor,gn=$t.getOwnPropertySymbols,_n=Ft?Ft.isBuffer:i,Tn=n.isFinite,Hn=kt.join,ve=ue($t.keys,$t),ge=At.max,_e=At.min,ye=it.now,me=n.parseInt,xe=At.random,be=kt.reverse,we=ao(n,"DataView"),Ae=ao(n,"Map"),$e=ao(n,"Promise"),Se=ao(n,"Set"),Ce=ao(n,"WeakMap"),Ee=ao($t,"create"),ke=Ce&&new Ce,Oe={},Re=To(we),Me=To(Ae),je=To($e),Pe=To(Se),Ve=To(Ce),Ue=Lt?Lt.prototype:i,Ie=Ue?Ue.valueOf:i,Te=Ue?Ue.toString:i;function ze(t){if(ts(t)&&!Nu(t)&&!(t instanceof De)){if(t instanceof Le)return t;if(Pt.call(t,"__wrapped__"))return zo(t)}return new Le(t)}var We=function(){function t(){}return function(n){if(!Xu(n))return{};if(Ht)return Ht(n);t.prototype=n;var e=new t;return t.prototype=i,e}}();function Fe(){}function Le(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}function De(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Ne(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Be(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function He(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function qe(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new He;++n<e;)this.add(t[n])}function Ge(t){var n=this.__data__=new Be(t);this.size=n.size}function Ze(t,n){var e=Nu(t),r=!e&&Du(t),i=!e&&!r&&Gu(t),o=!e&&!r&&!i&&as(t),u=e||r||i||o,s=u?Zn(t.length,Ct):[],a=s.length;for(var l in t)!n&&!Pt.call(t,l)||u&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||go(l,a))||s.push(l);return s}function Ke(t){var n=t.length;return n?t[Hr(0,n-1)]:i}function Je(t,n){return jo(Ci(t),or(n,0,t.length))}function Ye(t){return jo(Ci(t))}function Qe(t,n,e){(e!==i&&!Wu(t[n],e)||e===i&&!(n in t))&&rr(t,n,e)}function Xe(t,n,e){var r=t[n];Pt.call(t,n)&&Wu(r,e)&&(e!==i||n in t)||rr(t,n,e)}function tr(t,n){for(var e=t.length;e--;)if(Wu(t[e][0],n))return e;return-1}function nr(t,n,e,r){return cr(t,(function(t,i,o){n(r,t,e(t),o)})),r}function er(t,n){return t&&Ei(n,Rs(n),t)}function rr(t,n,e){"__proto__"==n&&tn?tn(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function ir(t,n){for(var e=-1,o=n.length,u=r(o),s=null==t;++e<o;)u[e]=s?i:Ss(t,n[e]);return u}function or(t,n,e){return t==t&&(e!==i&&(t=t<=e?t:e),n!==i&&(t=t>=n?t:n)),t}function ur(t,n,e,r,o,u){var s,a=1&n,l=2&n,c=4&n;if(e&&(s=o?e(t,r,o,u):e(t)),s!==i)return s;if(!Xu(t))return t;var h=Nu(t);if(h){if(s=function(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&Pt.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!a)return Ci(t,s)}else{var f=ho(t),p=f==x||f==b;if(Gu(t))return xi(t,a);if(f==$||f==v||p&&!o){if(s=l||p?{}:po(t),!a)return l?function(t,n){return Ei(t,co(t),n)}(t,function(t,n){return t&&Ei(n,Ms(n),t)}(s,t)):function(t,n){return Ei(t,lo(t),n)}(t,er(s,t))}else{if(!un[f])return o?t:{};s=function(t,n,e){var r,i=t.constructor;switch(n){case M:return bi(t);case _:case y:return new i(+t);case j:return function(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case P:case V:case U:case I:case T:case z:case W:case F:case L:return wi(t,e);case w:return new i;case A:case k:return new i(t);case C:return function(t){var n=new t.constructor(t.source,ft.exec(t));return n.lastIndex=t.lastIndex,n}(t);case E:return new i;case O:return r=t,Ie?$t(Ie.call(r)):{}}}(t,f,a)}}u||(u=new Ge);var d=u.get(t);if(d)return d;u.set(t,s),os(t)?t.forEach((function(r){s.add(ur(r,n,e,r,t,u))})):ns(t)&&t.forEach((function(r,i){s.set(i,ur(r,n,e,i,t,u))}));var g=h?i:(c?l?no:to:l?Ms:Rs)(t);return Cn(g||t,(function(r,i){g&&(r=t[i=r]),Xe(s,i,ur(r,n,e,i,t,u))})),s}function sr(t,n,e){var r=e.length;if(null==t)return!r;for(t=$t(t);r--;){var o=e[r],u=n[o],s=t[o];if(s===i&&!(o in t)||!u(s))return!1}return!0}function ar(t,n,e){if("function"!=typeof t)throw new Et(o);return ko((function(){t.apply(i,e)}),n)}function lr(t,n,e,r){var i=-1,o=Rn,u=!0,s=t.length,a=[],l=n.length;if(!s)return a;e&&(n=jn(n,Jn(e))),r?(o=Mn,u=!1):n.length>=200&&(o=Qn,u=!1,n=new qe(n));t:for(;++i<s;){var c=t[i],h=null==e?c:e(c);if(c=r||0!==c?c:0,u&&h==h){for(var f=l;f--;)if(n[f]===h)continue t;a.push(c)}else o(n,h,r)||a.push(c)}return a}ze.templateSettings={escape:K,evaluate:J,interpolate:Y,variable:"",imports:{_:ze}},ze.prototype=Fe.prototype,ze.prototype.constructor=ze,Le.prototype=We(Fe.prototype),Le.prototype.constructor=Le,De.prototype=We(Fe.prototype),De.prototype.constructor=De,Ne.prototype.clear=function(){this.__data__=Ee?Ee(null):{},this.size=0},Ne.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Ne.prototype.get=function(t){var n=this.__data__;if(Ee){var e=n[t];return e===u?i:e}return Pt.call(n,t)?n[t]:i},Ne.prototype.has=function(t){var n=this.__data__;return Ee?n[t]!==i:Pt.call(n,t)},Ne.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Ee&&n===i?u:n,this},Be.prototype.clear=function(){this.__data__=[],this.size=0},Be.prototype.delete=function(t){var n=this.__data__,e=tr(n,t);return!(e<0||(e==n.length-1?n.pop():Gt.call(n,e,1),--this.size,0))},Be.prototype.get=function(t){var n=this.__data__,e=tr(n,t);return e<0?i:n[e][1]},Be.prototype.has=function(t){return tr(this.__data__,t)>-1},Be.prototype.set=function(t,n){var e=this.__data__,r=tr(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},He.prototype.clear=function(){this.size=0,this.__data__={hash:new Ne,map:new(Ae||Be),string:new Ne}},He.prototype.delete=function(t){var n=uo(this,t).delete(t);return this.size-=n?1:0,n},He.prototype.get=function(t){return uo(this,t).get(t)},He.prototype.has=function(t){return uo(this,t).has(t)},He.prototype.set=function(t,n){var e=uo(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},qe.prototype.add=qe.prototype.push=function(t){return this.__data__.set(t,u),this},qe.prototype.has=function(t){return this.__data__.has(t)},Ge.prototype.clear=function(){this.__data__=new Be,this.size=0},Ge.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Ge.prototype.get=function(t){return this.__data__.get(t)},Ge.prototype.has=function(t){return this.__data__.has(t)},Ge.prototype.set=function(t,n){var e=this.__data__;if(e instanceof Be){var r=e.__data__;if(!Ae||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new He(r)}return e.set(t,n),this.size=e.size,this};var cr=Ri(yr),hr=Ri(mr,!0);function fr(t,n){var e=!0;return cr(t,(function(t,r,i){return e=!!n(t,r,i)})),e}function pr(t,n,e){for(var r=-1,o=t.length;++r<o;){var u=t[r],s=n(u);if(null!=s&&(a===i?s==s&&!ss(s):e(s,a)))var a=s,l=u}return l}function dr(t,n){var e=[];return cr(t,(function(t,r,i){n(t,r,i)&&e.push(t)})),e}function vr(t,n,e,r,i){var o=-1,u=t.length;for(e||(e=vo),i||(i=[]);++o<u;){var s=t[o];n>0&&e(s)?n>1?vr(s,n-1,e,r,i):Pn(i,s):r||(i[i.length]=s)}return i}var gr=Mi(),_r=Mi(!0);function yr(t,n){return t&&gr(t,n,Rs)}function mr(t,n){return t&&_r(t,n,Rs)}function xr(t,n){return On(n,(function(n){return Ju(t[n])}))}function br(t,n){for(var e=0,r=(n=gi(n,t)).length;null!=t&&e<r;)t=t[Io(n[e++])];return e&&e==r?t:i}function wr(t,n,e){var r=n(t);return Nu(t)?r:Pn(r,e(t))}function Ar(t){return null==t?t===i?"[object Undefined]":"[object Null]":Qt&&Qt in $t(t)?function(t){var n=Pt.call(t,Qt),e=t[Qt];try{t[Qt]=i;var r=!0}catch(t){}var o=It.call(t);return r&&(n?t[Qt]=e:delete t[Qt]),o}(t):function(t){return It.call(t)}(t)}function $r(t,n){return t>n}function Sr(t,n){return null!=t&&Pt.call(t,n)}function Cr(t,n){return null!=t&&n in $t(t)}function Er(t,n,e){for(var o=e?Mn:Rn,u=t[0].length,s=t.length,a=s,l=r(s),c=1/0,h=[];a--;){var f=t[a];a&&n&&(f=jn(f,Jn(n))),c=_e(f.length,c),l[a]=!e&&(n||u>=120&&f.length>=120)?new qe(a&&f):i}f=t[0];var p=-1,d=l[0];t:for(;++p<u&&h.length<c;){var v=f[p],g=n?n(v):v;if(v=e||0!==v?v:0,!(d?Qn(d,g):o(h,g,e))){for(a=s;--a;){var _=l[a];if(!(_?Qn(_,g):o(t[a],g,e)))continue t}d&&d.push(g),h.push(v)}}return h}function kr(t,n,e){var r=null==(t=So(t,n=gi(n,t)))?t:t[Io(Ko(n))];return null==r?i:$n(r,t,e)}function Or(t){return ts(t)&&Ar(t)==v}function Rr(t,n,e,r,o){return t===n||(null==t||null==n||!ts(t)&&!ts(n)?t!=t&&n!=n:function(t,n,e,r,o,u){var s=Nu(t),a=Nu(n),l=s?g:ho(t),c=a?g:ho(n),h=(l=l==v?$:l)==$,f=(c=c==v?$:c)==$,p=l==c;if(p&&Gu(t)){if(!Gu(n))return!1;s=!0,h=!1}if(p&&!h)return u||(u=new Ge),s||as(t)?Qi(t,n,e,r,o,u):function(t,n,e,r,i,o,u){switch(e){case j:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case M:return!(t.byteLength!=n.byteLength||!o(new Dt(t),new Dt(n)));case _:case y:case A:return Wu(+t,+n);case m:return t.name==n.name&&t.message==n.message;case C:case k:return t==n+"";case w:var s=oe;case E:var a=1&r;if(s||(s=ae),t.size!=n.size&&!a)return!1;var l=u.get(t);if(l)return l==n;r|=2,u.set(t,n);var c=Qi(s(t),s(n),r,i,o,u);return u.delete(t),c;case O:if(Ie)return Ie.call(t)==Ie.call(n)}return!1}(t,n,l,e,r,o,u);if(!(1&e)){var d=h&&Pt.call(t,"__wrapped__"),x=f&&Pt.call(n,"__wrapped__");if(d||x){var b=d?t.value():t,S=x?n.value():n;return u||(u=new Ge),o(b,S,e,r,u)}}return!!p&&(u||(u=new Ge),function(t,n,e,r,o,u){var s=1&e,a=to(t),l=a.length;if(l!=to(n).length&&!s)return!1;for(var c=l;c--;){var h=a[c];if(!(s?h in n:Pt.call(n,h)))return!1}var f=u.get(t),p=u.get(n);if(f&&p)return f==n&&p==t;var d=!0;u.set(t,n),u.set(n,t);for(var v=s;++c<l;){var g=t[h=a[c]],_=n[h];if(r)var y=s?r(_,g,h,n,t,u):r(g,_,h,t,n,u);if(!(y===i?g===_||o(g,_,e,r,u):y)){d=!1;break}v||(v="constructor"==h)}if(d&&!v){var m=t.constructor,x=n.constructor;m==x||!("constructor"in t)||!("constructor"in n)||"function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x||(d=!1)}return u.delete(t),u.delete(n),d}(t,n,e,r,o,u))}(t,n,e,r,Rr,o))}function Mr(t,n,e,r){var o=e.length,u=o,s=!r;if(null==t)return!u;for(t=$t(t);o--;){var a=e[o];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<u;){var l=(a=e[o])[0],c=t[l],h=a[1];if(s&&a[2]){if(c===i&&!(l in t))return!1}else{var f=new Ge;if(r)var p=r(c,h,l,t,n,f);if(!(p===i?Rr(h,c,3,r,f):p))return!1}}return!0}function jr(t){return!(!Xu(t)||(n=t,Ut&&Ut in n))&&(Ju(t)?Wt:vt).test(To(t));var n}function Pr(t){return"function"==typeof t?t:null==t?ea:"object"==typeof t?Nu(t)?zr(t[0],t[1]):Tr(t):ha(t)}function Vr(t){if(!bo(t))return ve(t);var n=[];for(var e in $t(t))Pt.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Ur(t,n){return t<n}function Ir(t,n){var e=-1,i=Hu(t)?r(t.length):[];return cr(t,(function(t,r,o){i[++e]=n(t,r,o)})),i}function Tr(t){var n=so(t);return 1==n.length&&n[0][2]?Ao(n[0][0],n[0][1]):function(e){return e===t||Mr(e,t,n)}}function zr(t,n){return yo(t)&&wo(n)?Ao(Io(t),n):function(e){var r=Ss(e,t);return r===i&&r===n?Cs(e,t):Rr(n,r,3)}}function Wr(t,n,e,r,o){t!==n&&gr(n,(function(u,s){if(o||(o=new Ge),Xu(u))!function(t,n,e,r,o,u,s){var a=Co(t,e),l=Co(n,e),c=s.get(l);if(c)Qe(t,e,c);else{var h=u?u(a,l,e+"",t,n,s):i,f=h===i;if(f){var p=Nu(l),d=!p&&Gu(l),v=!p&&!d&&as(l);h=l,p||d||v?Nu(a)?h=a:qu(a)?h=Ci(a):d?(f=!1,h=xi(l,!0)):v?(f=!1,h=wi(l,!0)):h=[]:rs(l)||Du(l)?(h=a,Du(a)?h=gs(a):Xu(a)&&!Ju(a)||(h=po(l))):f=!1}f&&(s.set(l,h),o(h,l,r,u,s),s.delete(l)),Qe(t,e,h)}}(t,n,s,e,Wr,r,o);else{var a=r?r(Co(t,s),u,s+"",t,n,o):i;a===i&&(a=u),Qe(t,s,a)}}),Ms)}function Fr(t,n){var e=t.length;if(e)return go(n+=n<0?e:0,e)?t[n]:i}function Lr(t,n,e){n=n.length?jn(n,(function(t){return Nu(t)?function(n){return br(n,1===t.length?t[0]:t)}:t})):[ea];var r=-1;n=jn(n,Jn(oo()));var i=Ir(t,(function(t,e,i){var o=jn(n,(function(n){return n(t)}));return{criteria:o,index:++r,value:t}}));return function(t,n){var r=t.length;for(t.sort((function(t,n){return function(t,n,e){for(var r=-1,i=t.criteria,o=n.criteria,u=i.length,s=e.length;++r<u;){var a=Ai(i[r],o[r]);if(a)return r>=s?a:a*("desc"==e[r]?-1:1)}return t.index-n.index}(t,n,e)}));r--;)t[r]=t[r].value;return t}(i)}function Dr(t,n,e){for(var r=-1,i=n.length,o={};++r<i;){var u=n[r],s=br(t,u);e(s,u)&&Jr(o,gi(u,t),s)}return o}function Nr(t,n,e,r){var i=r?Ln:Fn,o=-1,u=n.length,s=t;for(t===n&&(n=Ci(n)),e&&(s=jn(t,Jn(e)));++o<u;)for(var a=0,l=n[o],c=e?e(l):l;(a=i(s,c,a,r))>-1;)s!==t&&Gt.call(s,a,1),Gt.call(t,a,1);return t}function Br(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==o){var o=i;go(i)?Gt.call(t,i,1):ai(t,i)}}return t}function Hr(t,n){return t+dn(xe()*(n-t+1))}function qr(t,n){var e="";if(!t||n<1||n>h)return e;do{n%2&&(e+=t),(n=dn(n/2))&&(t+=t)}while(n);return e}function Gr(t,n){return Oo($o(t,n,ea),t+"")}function Zr(t){return Ke(Ws(t))}function Kr(t,n){var e=Ws(t);return jo(e,or(n,0,e.length))}function Jr(t,n,e,r){if(!Xu(t))return t;for(var o=-1,u=(n=gi(n,t)).length,s=u-1,a=t;null!=a&&++o<u;){var l=Io(n[o]),c=e;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(o!=s){var h=a[l];(c=r?r(h,l,a):i)===i&&(c=Xu(h)?h:go(n[o+1])?[]:{})}Xe(a,l,c),a=a[l]}return t}var Yr=ke?function(t,n){return ke.set(t,n),t}:ea,Qr=tn?function(t,n){return tn(t,"toString",{configurable:!0,enumerable:!1,value:Xs(n),writable:!0})}:ea;function Xr(t){return jo(Ws(t))}function ti(t,n,e){var i=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(e=e>o?o:e)<0&&(e+=o),o=n>e?0:e-n>>>0,n>>>=0;for(var u=r(o);++i<o;)u[i]=t[i+n];return u}function ni(t,n){var e;return cr(t,(function(t,r,i){return!(e=n(t,r,i))})),!!e}function ei(t,n,e){var r=0,i=null==t?r:t.length;if("number"==typeof n&&n==n&&i<=2147483647){for(;r<i;){var o=r+i>>>1,u=t[o];null!==u&&!ss(u)&&(e?u<=n:u<n)?r=o+1:i=o}return i}return ri(t,n,ea,e)}function ri(t,n,e,r){var o=0,u=null==t?0:t.length;if(0===u)return 0;for(var s=(n=e(n))!=n,a=null===n,l=ss(n),c=n===i;o<u;){var h=dn((o+u)/2),f=e(t[h]),p=f!==i,d=null===f,v=f==f,g=ss(f);if(s)var _=r||v;else _=c?v&&(r||p):a?v&&p&&(r||!d):l?v&&p&&!d&&(r||!g):!d&&!g&&(r?f<=n:f<n);_?o=h+1:u=h}return _e(u,4294967294)}function ii(t,n){for(var e=-1,r=t.length,i=0,o=[];++e<r;){var u=t[e],s=n?n(u):u;if(!e||!Wu(s,a)){var a=s;o[i++]=0===u?0:u}}return o}function oi(t){return"number"==typeof t?t:ss(t)?f:+t}function ui(t){if("string"==typeof t)return t;if(Nu(t))return jn(t,ui)+"";if(ss(t))return Te?Te.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function si(t,n,e){var r=-1,i=Rn,o=t.length,u=!0,s=[],a=s;if(e)u=!1,i=Mn;else if(o>=200){var l=n?null:qi(t);if(l)return ae(l);u=!1,i=Qn,a=new qe}else a=n?[]:s;t:for(;++r<o;){var c=t[r],h=n?n(c):c;if(c=e||0!==c?c:0,u&&h==h){for(var f=a.length;f--;)if(a[f]===h)continue t;n&&a.push(h),s.push(c)}else i(a,h,e)||(a!==s&&a.push(h),s.push(c))}return s}function ai(t,n){return null==(t=So(t,n=gi(n,t)))||delete t[Io(Ko(n))]}function li(t,n,e,r){return Jr(t,n,e(br(t,n)),r)}function ci(t,n,e,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&n(t[o],o,t););return e?ti(t,r?0:o,r?o+1:i):ti(t,r?o+1:0,r?i:o)}function hi(t,n){var e=t;return e instanceof De&&(e=e.value()),Vn(n,(function(t,n){return n.func.apply(n.thisArg,Pn([t],n.args))}),e)}function fi(t,n,e){var i=t.length;if(i<2)return i?si(t[0]):[];for(var o=-1,u=r(i);++o<i;)for(var s=t[o],a=-1;++a<i;)a!=o&&(u[o]=lr(u[o]||s,t[a],n,e));return si(vr(u,1),n,e)}function pi(t,n,e){for(var r=-1,o=t.length,u=n.length,s={};++r<o;){var a=r<u?n[r]:i;e(s,t[r],a)}return s}function di(t){return qu(t)?t:[]}function vi(t){return"function"==typeof t?t:ea}function gi(t,n){return Nu(t)?t:yo(t,n)?[t]:Uo(_s(t))}var _i=Gr;function yi(t,n,e){var r=t.length;return e=e===i?r:e,!n&&e>=r?t:ti(t,n,e)}var mi=sn||function(t){return fn.clearTimeout(t)};function xi(t,n){if(n)return t.slice();var e=t.length,r=Nt?Nt(e):new t.constructor(e);return t.copy(r),r}function bi(t){var n=new t.constructor(t.byteLength);return new Dt(n).set(new Dt(t)),n}function wi(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function Ai(t,n){if(t!==n){var e=t!==i,r=null===t,o=t==t,u=ss(t),s=n!==i,a=null===n,l=n==n,c=ss(n);if(!a&&!c&&!u&&t>n||u&&s&&l&&!a&&!c||r&&s&&l||!e&&l||!o)return 1;if(!r&&!u&&!c&&t<n||c&&e&&o&&!r&&!u||a&&e&&o||!s&&o||!l)return-1}return 0}function $i(t,n,e,i){for(var o=-1,u=t.length,s=e.length,a=-1,l=n.length,c=ge(u-s,0),h=r(l+c),f=!i;++a<l;)h[a]=n[a];for(;++o<s;)(f||o<u)&&(h[e[o]]=t[o]);for(;c--;)h[a++]=t[o++];return h}function Si(t,n,e,i){for(var o=-1,u=t.length,s=-1,a=e.length,l=-1,c=n.length,h=ge(u-a,0),f=r(h+c),p=!i;++o<h;)f[o]=t[o];for(var d=o;++l<c;)f[d+l]=n[l];for(;++s<a;)(p||o<u)&&(f[d+e[s]]=t[o++]);return f}function Ci(t,n){var e=-1,i=t.length;for(n||(n=r(i));++e<i;)n[e]=t[e];return n}function Ei(t,n,e,r){var o=!e;e||(e={});for(var u=-1,s=n.length;++u<s;){var a=n[u],l=r?r(e[a],t[a],a,e,t):i;l===i&&(l=t[a]),o?rr(e,a,l):Xe(e,a,l)}return e}function ki(t,n){return function(e,r){var i=Nu(e)?Sn:nr,o=n?n():{};return i(e,t,oo(r,2),o)}}function Oi(t){return Gr((function(n,e){var r=-1,o=e.length,u=o>1?e[o-1]:i,s=o>2?e[2]:i;for(u=t.length>3&&"function"==typeof u?(o--,u):i,s&&_o(e[0],e[1],s)&&(u=o<3?i:u,o=1),n=$t(n);++r<o;){var a=e[r];a&&t(n,a,r,u)}return n}))}function Ri(t,n){return function(e,r){if(null==e)return e;if(!Hu(e))return t(e,r);for(var i=e.length,o=n?i:-1,u=$t(e);(n?o--:++o<i)&&!1!==r(u[o],o,u););return e}}function Mi(t){return function(n,e,r){for(var i=-1,o=$t(n),u=r(n),s=u.length;s--;){var a=u[t?s:++i];if(!1===e(o[a],a,o))break}return n}}function ji(t){return function(n){var e=ie(n=_s(n))?he(n):i,r=e?e[0]:n.charAt(0),o=e?yi(e,1).join(""):n.slice(1);return r[t]()+o}}function Pi(t){return function(n){return Vn(Js(Ds(n).replace(Jt,"")),t,"")}}function Vi(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=We(t.prototype),r=t.apply(e,n);return Xu(r)?r:e}}function Ui(t){return function(n,e,r){var o=$t(n);if(!Hu(n)){var u=oo(e,3);n=Rs(n),e=function(t){return u(o[t],t,o)}}var s=t(n,e,r);return s>-1?o[u?n[s]:s]:i}}function Ii(t){return Xi((function(n){var e=n.length,r=e,u=Le.prototype.thru;for(t&&n.reverse();r--;){var s=n[r];if("function"!=typeof s)throw new Et(o);if(u&&!a&&"wrapper"==ro(s))var a=new Le([],!0)}for(r=a?r:e;++r<e;){var l=ro(s=n[r]),c="wrapper"==l?eo(s):i;a=c&&mo(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[ro(c[0])].apply(a,c[3]):1==s.length&&mo(s)?a[l]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&Nu(r))return a.plant(r).value();for(var i=0,o=e?n[i].apply(this,t):r;++i<e;)o=n[i].call(this,o);return o}}))}function Ti(t,n,e,o,u,s,a,c,h,f){var p=n&l,d=1&n,v=2&n,g=24&n,_=512&n,y=v?i:Vi(t);return function l(){for(var m=arguments.length,x=r(m),b=m;b--;)x[b]=arguments[b];if(g)var w=io(l),A=function(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}(x,w);if(o&&(x=$i(x,o,u,g)),s&&(x=Si(x,s,a,g)),m-=A,g&&m<f){var $=se(x,w);return Bi(t,n,Ti,l.placeholder,e,x,$,c,h,f-m)}var S=d?e:this,C=v?S[t]:t;return m=x.length,c?x=function(t,n){for(var e=t.length,r=_e(n.length,e),o=Ci(t);r--;){var u=n[r];t[r]=go(u,e)?o[u]:i}return t}(x,c):_&&m>1&&x.reverse(),p&&h<m&&(x.length=h),this&&this!==fn&&this instanceof l&&(C=y||Vi(C)),C.apply(S,x)}}function zi(t,n){return function(e,r){return function(t,n,e,r){return yr(t,(function(t,i,o){n(r,e(t),i,o)})),r}(e,t,n(r),{})}}function Wi(t,n){return function(e,r){var o;if(e===i&&r===i)return n;if(e!==i&&(o=e),r!==i){if(o===i)return r;"string"==typeof e||"string"==typeof r?(e=ui(e),r=ui(r)):(e=oi(e),r=oi(r)),o=t(e,r)}return o}}function Fi(t){return Xi((function(n){return n=jn(n,Jn(oo())),Gr((function(e){var r=this;return t(n,(function(t){return $n(t,r,e)}))}))}))}function Li(t,n){var e=(n=n===i?" ":ui(n)).length;if(e<2)return e?qr(n,t):n;var r=qr(n,pn(t/ce(n)));return ie(n)?yi(he(r),0,t).join(""):r.slice(0,t)}function Di(t){return function(n,e,o){return o&&"number"!=typeof o&&_o(n,e,o)&&(e=o=i),n=fs(n),e===i?(e=n,n=0):e=fs(e),function(t,n,e,i){for(var o=-1,u=ge(pn((n-t)/(e||1)),0),s=r(u);u--;)s[i?u:++o]=t,t+=e;return s}(n,e,o=o===i?n<e?1:-1:fs(o),t)}}function Ni(t){return function(n,e){return"string"==typeof n&&"string"==typeof e||(n=vs(n),e=vs(e)),t(n,e)}}function Bi(t,n,e,r,o,u,s,l,c,h){var f=8&n;n|=f?a:64,4&(n&=~(f?64:a))||(n&=-4);var p=[t,n,o,f?u:i,f?s:i,f?i:u,f?i:s,l,c,h],d=e.apply(i,p);return mo(t)&&Eo(d,p),d.placeholder=r,Ro(d,t,n)}function Hi(t){var n=At[t];return function(t,e){if(t=vs(t),(e=null==e?0:_e(ps(e),292))&&Tn(t)){var r=(_s(t)+"e").split("e");return+((r=(_s(n(r[0]+"e"+(+r[1]+e)))+"e").split("e"))[0]+"e"+(+r[1]-e))}return n(t)}}var qi=Se&&1/ae(new Se([,-0]))[1]==c?function(t){return new Se(t)}:sa;function Gi(t){return function(n){var e=ho(n);return e==w?oe(n):e==E?le(n):function(t,n){return jn(n,(function(n){return[n,t[n]]}))}(n,t(n))}}function Zi(t,n,e,u,c,h,f,p){var d=2&n;if(!d&&"function"!=typeof t)throw new Et(o);var v=u?u.length:0;if(v||(n&=-97,u=c=i),f=f===i?f:ge(ps(f),0),p=p===i?p:ps(p),v-=c?c.length:0,64&n){var g=u,_=c;u=c=i}var y=d?i:eo(t),m=[t,n,e,u,c,g,_,h,f,p];if(y&&function(t,n){var e=t[1],r=n[1],i=e|r,o=i<131,u=r==l&&8==e||r==l&&256==e&&t[7].length<=n[8]||384==r&&n[7].length<=n[8]&&8==e;if(!o&&!u)return t;1&r&&(t[2]=n[2],i|=1&e?0:4);var a=n[3];if(a){var c=t[3];t[3]=c?$i(c,a,n[4]):a,t[4]=c?se(t[3],s):n[4]}(a=n[5])&&(c=t[5],t[5]=c?Si(c,a,n[6]):a,t[6]=c?se(t[5],s):n[6]),(a=n[7])&&(t[7]=a),r&l&&(t[8]=null==t[8]?n[8]:_e(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i}(m,y),t=m[0],n=m[1],e=m[2],u=m[3],c=m[4],!(p=m[9]=m[9]===i?d?0:t.length:ge(m[9]-v,0))&&24&n&&(n&=-25),n&&1!=n)x=8==n||16==n?function(t,n,e){var o=Vi(t);return function u(){for(var s=arguments.length,a=r(s),l=s,c=io(u);l--;)a[l]=arguments[l];var h=s<3&&a[0]!==c&&a[s-1]!==c?[]:se(a,c);return(s-=h.length)<e?Bi(t,n,Ti,u.placeholder,i,a,h,i,i,e-s):$n(this&&this!==fn&&this instanceof u?o:t,this,a)}}(t,n,p):n!=a&&33!=n||c.length?Ti.apply(i,m):function(t,n,e,i){var o=1&n,u=Vi(t);return function n(){for(var s=-1,a=arguments.length,l=-1,c=i.length,h=r(c+a),f=this&&this!==fn&&this instanceof n?u:t;++l<c;)h[l]=i[l];for(;a--;)h[l++]=arguments[++s];return $n(f,o?e:this,h)}}(t,n,e,u);else var x=function(t,n,e){var r=1&n,i=Vi(t);return function n(){return(this&&this!==fn&&this instanceof n?i:t).apply(r?e:this,arguments)}}(t,n,e);return Ro((y?Yr:Eo)(x,m),t,n)}function Ki(t,n,e,r){return t===i||Wu(t,Rt[e])&&!Pt.call(r,e)?n:t}function Ji(t,n,e,r,o,u){return Xu(t)&&Xu(n)&&(u.set(n,t),Wr(t,n,i,Ji,u),u.delete(n)),t}function Yi(t){return rs(t)?i:t}function Qi(t,n,e,r,o,u){var s=1&e,a=t.length,l=n.length;if(a!=l&&!(s&&l>a))return!1;var c=u.get(t),h=u.get(n);if(c&&h)return c==n&&h==t;var f=-1,p=!0,d=2&e?new qe:i;for(u.set(t,n),u.set(n,t);++f<a;){var v=t[f],g=n[f];if(r)var _=s?r(g,v,f,n,t,u):r(v,g,f,t,n,u);if(_!==i){if(_)continue;p=!1;break}if(d){if(!In(n,(function(t,n){if(!Qn(d,n)&&(v===t||o(v,t,e,r,u)))return d.push(n)}))){p=!1;break}}else if(v!==g&&!o(v,g,e,r,u)){p=!1;break}}return u.delete(t),u.delete(n),p}function Xi(t){return Oo($o(t,i,Bo),t+"")}function to(t){return wr(t,Rs,lo)}function no(t){return wr(t,Ms,co)}var eo=ke?function(t){return ke.get(t)}:sa;function ro(t){for(var n=t.name+"",e=Oe[n],r=Pt.call(Oe,n)?e.length:0;r--;){var i=e[r],o=i.func;if(null==o||o==t)return i.name}return n}function io(t){return(Pt.call(ze,"placeholder")?ze:t).placeholder}function oo(){var t=ze.iteratee||ra;return t=t===ra?Pr:t,arguments.length?t(arguments[0],arguments[1]):t}function uo(t,n){var e,r,i=t.__data__;return("string"==(r=typeof(e=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?i["string"==typeof n?"string":"hash"]:i.map}function so(t){for(var n=Rs(t),e=n.length;e--;){var r=n[e],i=t[r];n[e]=[r,i,wo(i)]}return n}function ao(t,n){var e=function(t,n){return null==t?i:t[n]}(t,n);return jr(e)?e:i}var lo=gn?function(t){return null==t?[]:(t=$t(t),On(gn(t),(function(n){return qt.call(t,n)})))}:da,co=gn?function(t){for(var n=[];t;)Pn(n,lo(t)),t=Bt(t);return n}:da,ho=Ar;function fo(t,n,e){for(var r=-1,i=(n=gi(n,t)).length,o=!1;++r<i;){var u=Io(n[r]);if(!(o=null!=t&&e(t,u)))break;t=t[u]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Qu(i)&&go(u,i)&&(Nu(t)||Du(t))}function po(t){return"function"!=typeof t.constructor||bo(t)?{}:We(Bt(t))}function vo(t){return Nu(t)||Du(t)||!!(Zt&&t&&t[Zt])}function go(t,n){var e=typeof t;return!!(n=null==n?h:n)&&("number"==e||"symbol"!=e&&_t.test(t))&&t>-1&&t%1==0&&t<n}function _o(t,n,e){if(!Xu(e))return!1;var r=typeof n;return!!("number"==r?Hu(e)&&go(n,e.length):"string"==r&&n in e)&&Wu(e[n],t)}function yo(t,n){if(Nu(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!ss(t))||X.test(t)||!Q.test(t)||null!=n&&t in $t(n)}function mo(t){var n=ro(t),e=ze[n];if("function"!=typeof e||!(n in De.prototype))return!1;if(t===e)return!0;var r=eo(e);return!!r&&t===r[0]}(we&&ho(new we(new ArrayBuffer(1)))!=j||Ae&&ho(new Ae)!=w||$e&&ho($e.resolve())!=S||Se&&ho(new Se)!=E||Ce&&ho(new Ce)!=R)&&(ho=function(t){var n=Ar(t),e=n==$?t.constructor:i,r=e?To(e):"";if(r)switch(r){case Re:return j;case Me:return w;case je:return S;case Pe:return E;case Ve:return R}return n});var xo=Mt?Ju:va;function bo(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||Rt)}function wo(t){return t==t&&!Xu(t)}function Ao(t,n){return function(e){return null!=e&&e[t]===n&&(n!==i||t in $t(e))}}function $o(t,n,e){return n=ge(n===i?t.length-1:n,0),function(){for(var i=arguments,o=-1,u=ge(i.length-n,0),s=r(u);++o<u;)s[o]=i[n+o];o=-1;for(var a=r(n+1);++o<n;)a[o]=i[o];return a[n]=e(s),$n(t,this,a)}}function So(t,n){return n.length<2?t:br(t,ti(n,0,-1))}function Co(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}var Eo=Mo(Yr),ko=hn||function(t,n){return fn.setTimeout(t,n)},Oo=Mo(Qr);function Ro(t,n,e){var r=n+"";return Oo(t,function(t,n){var e=n.length;if(!e)return t;var r=e-1;return n[r]=(e>1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return Cn(d,(function(e){var r="_."+e[0];n&e[1]&&!Rn(t,r)&&t.push(r)})),t.sort()}(function(t){var n=t.match(ut);return n?n[1].split(st):[]}(r),e)))}function Mo(t){var n=0,e=0;return function(){var r=ye(),o=16-(r-e);if(e=r,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(i,arguments)}}function jo(t,n){var e=-1,r=t.length,o=r-1;for(n=n===i?r:n;++e<n;){var u=Hr(e,o),s=t[u];t[u]=t[e],t[e]=s}return t.length=n,t}var Po,Vo,Uo=(Po=Pu((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(tt,(function(t,e,r,i){n.push(r?i.replace(ct,"$1"):e||t)})),n}),(function(t){return 500===Vo.size&&Vo.clear(),t})),Vo=Po.cache,Po);function Io(t){if("string"==typeof t||ss(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function To(t){if(null!=t){try{return jt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function zo(t){if(t instanceof De)return t.clone();var n=new Le(t.__wrapped__,t.__chain__);return n.__actions__=Ci(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}var Wo=Gr((function(t,n){return qu(t)?lr(t,vr(n,1,qu,!0)):[]})),Fo=Gr((function(t,n){var e=Ko(n);return qu(e)&&(e=i),qu(t)?lr(t,vr(n,1,qu,!0),oo(e,2)):[]})),Lo=Gr((function(t,n){var e=Ko(n);return qu(e)&&(e=i),qu(t)?lr(t,vr(n,1,qu,!0),i,e):[]}));function Do(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:ps(e);return i<0&&(i=ge(r+i,0)),Wn(t,oo(n,3),i)}function No(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return e!==i&&(o=ps(e),o=e<0?ge(r+o,0):_e(o,r-1)),Wn(t,oo(n,3),o,!0)}function Bo(t){return null!=t&&t.length?vr(t,1):[]}function Ho(t){return t&&t.length?t[0]:i}var qo=Gr((function(t){var n=jn(t,di);return n.length&&n[0]===t[0]?Er(n):[]})),Go=Gr((function(t){var n=Ko(t),e=jn(t,di);return n===Ko(e)?n=i:e.pop(),e.length&&e[0]===t[0]?Er(e,oo(n,2)):[]})),Zo=Gr((function(t){var n=Ko(t),e=jn(t,di);return(n="function"==typeof n?n:i)&&e.pop(),e.length&&e[0]===t[0]?Er(e,i,n):[]}));function Ko(t){var n=null==t?0:t.length;return n?t[n-1]:i}var Jo=Gr(Yo);function Yo(t,n){return t&&t.length&&n&&n.length?Nr(t,n):t}var Qo=Xi((function(t,n){var e=null==t?0:t.length,r=ir(t,n);return Br(t,jn(n,(function(t){return go(t,e)?+t:t})).sort(Ai)),r}));function Xo(t){return null==t?t:be.call(t)}var tu=Gr((function(t){return si(vr(t,1,qu,!0))})),nu=Gr((function(t){var n=Ko(t);return qu(n)&&(n=i),si(vr(t,1,qu,!0),oo(n,2))})),eu=Gr((function(t){var n=Ko(t);return n="function"==typeof n?n:i,si(vr(t,1,qu,!0),i,n)}));function ru(t){if(!t||!t.length)return[];var n=0;return t=On(t,(function(t){if(qu(t))return n=ge(t.length,n),!0})),Zn(n,(function(n){return jn(t,Bn(n))}))}function iu(t,n){if(!t||!t.length)return[];var e=ru(t);return null==n?e:jn(e,(function(t){return $n(n,i,t)}))}var ou=Gr((function(t,n){return qu(t)?lr(t,n):[]})),uu=Gr((function(t){return fi(On(t,qu))})),su=Gr((function(t){var n=Ko(t);return qu(n)&&(n=i),fi(On(t,qu),oo(n,2))})),au=Gr((function(t){var n=Ko(t);return n="function"==typeof n?n:i,fi(On(t,qu),i,n)})),lu=Gr(ru),cu=Gr((function(t){var n=t.length,e=n>1?t[n-1]:i;return e="function"==typeof e?(t.pop(),e):i,iu(t,e)}));function hu(t){var n=ze(t);return n.__chain__=!0,n}function fu(t,n){return n(t)}var pu=Xi((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,o=function(n){return ir(n,t)};return!(n>1||this.__actions__.length)&&r instanceof De&&go(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:fu,args:[o],thisArg:i}),new Le(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(i),t}))):this.thru(o)})),du=ki((function(t,n,e){Pt.call(t,e)?++t[e]:rr(t,e,1)})),vu=Ui(Do),gu=Ui(No);function _u(t,n){return(Nu(t)?Cn:cr)(t,oo(n,3))}function yu(t,n){return(Nu(t)?En:hr)(t,oo(n,3))}var mu=ki((function(t,n,e){Pt.call(t,e)?t[e].push(n):rr(t,e,[n])})),xu=Gr((function(t,n,e){var i=-1,o="function"==typeof n,u=Hu(t)?r(t.length):[];return cr(t,(function(t){u[++i]=o?$n(n,t,e):kr(t,n,e)})),u})),bu=ki((function(t,n,e){rr(t,e,n)}));function wu(t,n){return(Nu(t)?jn:Ir)(t,oo(n,3))}var Au=ki((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),$u=Gr((function(t,n){if(null==t)return[];var e=n.length;return e>1&&_o(t,n[0],n[1])?n=[]:e>2&&_o(n[0],n[1],n[2])&&(n=[n[0]]),Lr(t,vr(n,1),[])})),Su=cn||function(){return fn.Date.now()};function Cu(t,n,e){return n=e?i:n,n=t&&null==n?t.length:n,Zi(t,l,i,i,i,i,n)}function Eu(t,n){var e;if("function"!=typeof n)throw new Et(o);return t=ps(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=i),e}}var ku=Gr((function(t,n,e){var r=1;if(e.length){var i=se(e,io(ku));r|=a}return Zi(t,r,n,e,i)})),Ou=Gr((function(t,n,e){var r=3;if(e.length){var i=se(e,io(Ou));r|=a}return Zi(n,r,t,e,i)}));function Ru(t,n,e){var r,u,s,a,l,c,h=0,f=!1,p=!1,d=!0;if("function"!=typeof t)throw new Et(o);function v(n){var e=r,o=u;return r=u=i,h=n,a=t.apply(o,e)}function g(t){var e=t-c;return c===i||e>=n||e<0||p&&t-h>=s}function _(){var t=Su();if(g(t))return y(t);l=ko(_,function(t){var e=n-(t-c);return p?_e(e,s-(t-h)):e}(t))}function y(t){return l=i,d&&r?v(t):(r=u=i,a)}function m(){var t=Su(),e=g(t);if(r=arguments,u=this,c=t,e){if(l===i)return function(t){return h=t,l=ko(_,n),f?v(t):a}(c);if(p)return mi(l),l=ko(_,n),v(c)}return l===i&&(l=ko(_,n)),a}return n=vs(n)||0,Xu(e)&&(f=!!e.leading,s=(p="maxWait"in e)?ge(vs(e.maxWait)||0,n):s,d="trailing"in e?!!e.trailing:d),m.cancel=function(){l!==i&&mi(l),h=0,r=c=u=l=i},m.flush=function(){return l===i?a:y(Su())},m}var Mu=Gr((function(t,n){return ar(t,1,n)})),ju=Gr((function(t,n,e){return ar(t,vs(n)||0,e)}));function Pu(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new Et(o);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var u=t.apply(this,r);return e.cache=o.set(i,u)||o,u};return e.cache=new(Pu.Cache||He),e}function Vu(t){if("function"!=typeof t)throw new Et(o);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}Pu.Cache=He;var Uu=_i((function(t,n){var e=(n=1==n.length&&Nu(n[0])?jn(n[0],Jn(oo())):jn(vr(n,1),Jn(oo()))).length;return Gr((function(r){for(var i=-1,o=_e(r.length,e);++i<o;)r[i]=n[i].call(this,r[i]);return $n(t,this,r)}))})),Iu=Gr((function(t,n){var e=se(n,io(Iu));return Zi(t,a,i,n,e)})),Tu=Gr((function(t,n){var e=se(n,io(Tu));return Zi(t,64,i,n,e)})),zu=Xi((function(t,n){return Zi(t,256,i,i,i,n)}));function Wu(t,n){return t===n||t!=t&&n!=n}var Fu=Ni($r),Lu=Ni((function(t,n){return t>=n})),Du=Or(function(){return arguments}())?Or:function(t){return ts(t)&&Pt.call(t,"callee")&&!qt.call(t,"callee")},Nu=r.isArray,Bu=yn?Jn(yn):function(t){return ts(t)&&Ar(t)==M};function Hu(t){return null!=t&&Qu(t.length)&&!Ju(t)}function qu(t){return ts(t)&&Hu(t)}var Gu=_n||va,Zu=mn?Jn(mn):function(t){return ts(t)&&Ar(t)==y};function Ku(t){if(!ts(t))return!1;var n=Ar(t);return n==m||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!rs(t)}function Ju(t){if(!Xu(t))return!1;var n=Ar(t);return n==x||n==b||"[object AsyncFunction]"==n||"[object Proxy]"==n}function Yu(t){return"number"==typeof t&&t==ps(t)}function Qu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function Xu(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function ts(t){return null!=t&&"object"==typeof t}var ns=xn?Jn(xn):function(t){return ts(t)&&ho(t)==w};function es(t){return"number"==typeof t||ts(t)&&Ar(t)==A}function rs(t){if(!ts(t)||Ar(t)!=$)return!1;var n=Bt(t);if(null===n)return!0;var e=Pt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&jt.call(e)==Tt}var is=bn?Jn(bn):function(t){return ts(t)&&Ar(t)==C},os=wn?Jn(wn):function(t){return ts(t)&&ho(t)==E};function us(t){return"string"==typeof t||!Nu(t)&&ts(t)&&Ar(t)==k}function ss(t){return"symbol"==typeof t||ts(t)&&Ar(t)==O}var as=An?Jn(An):function(t){return ts(t)&&Qu(t.length)&&!!on[Ar(t)]},ls=Ni(Ur),cs=Ni((function(t,n){return t<=n}));function hs(t){if(!t)return[];if(Hu(t))return us(t)?he(t):Ci(t);if(Kt&&t[Kt])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Kt]());var n=ho(t);return(n==w?oe:n==E?ae:Ws)(t)}function fs(t){return t?(t=vs(t))===c||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ps(t){var n=fs(t),e=n%1;return n==n?e?n-e:n:0}function ds(t){return t?or(ps(t),0,p):0}function vs(t){if("number"==typeof t)return t;if(ss(t))return f;if(Xu(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Xu(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=Kn(t);var e=dt.test(t);return e||gt.test(t)?ln(t.slice(2),e?2:8):pt.test(t)?f:+t}function gs(t){return Ei(t,Ms(t))}function _s(t){return null==t?"":ui(t)}var ys=Oi((function(t,n){if(bo(n)||Hu(n))Ei(n,Rs(n),t);else for(var e in n)Pt.call(n,e)&&Xe(t,e,n[e])})),ms=Oi((function(t,n){Ei(n,Ms(n),t)})),xs=Oi((function(t,n,e,r){Ei(n,Ms(n),t,r)})),bs=Oi((function(t,n,e,r){Ei(n,Rs(n),t,r)})),ws=Xi(ir),As=Gr((function(t,n){t=$t(t);var e=-1,r=n.length,o=r>2?n[2]:i;for(o&&_o(n[0],n[1],o)&&(r=1);++e<r;)for(var u=n[e],s=Ms(u),a=-1,l=s.length;++a<l;){var c=s[a],h=t[c];(h===i||Wu(h,Rt[c])&&!Pt.call(t,c))&&(t[c]=u[c])}return t})),$s=Gr((function(t){return t.push(i,Ji),$n(Ps,i,t)}));function Ss(t,n,e){var r=null==t?i:br(t,n);return r===i?e:r}function Cs(t,n){return null!=t&&fo(t,n,Cr)}var Es=zi((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=It.call(n)),t[n]=e}),Xs(ea)),ks=zi((function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=It.call(n)),Pt.call(t,n)?t[n].push(e):t[n]=[e]}),oo),Os=Gr(kr);function Rs(t){return Hu(t)?Ze(t):Vr(t)}function Ms(t){return Hu(t)?Ze(t,!0):function(t){if(!Xu(t))return function(t){var n=[];if(null!=t)for(var e in $t(t))n.push(e);return n}(t);var n=bo(t),e=[];for(var r in t)("constructor"!=r||!n&&Pt.call(t,r))&&e.push(r);return e}(t)}var js=Oi((function(t,n,e){Wr(t,n,e)})),Ps=Oi((function(t,n,e,r){Wr(t,n,e,r)})),Vs=Xi((function(t,n){var e={};if(null==t)return e;var r=!1;n=jn(n,(function(n){return n=gi(n,t),r||(r=n.length>1),n})),Ei(t,no(t),e),r&&(e=ur(e,7,Yi));for(var i=n.length;i--;)ai(e,n[i]);return e})),Us=Xi((function(t,n){return null==t?{}:function(t,n){return Dr(t,n,(function(n,e){return Cs(t,e)}))}(t,n)}));function Is(t,n){if(null==t)return{};var e=jn(no(t),(function(t){return[t]}));return n=oo(n),Dr(t,e,(function(t,e){return n(t,e[0])}))}var Ts=Gi(Rs),zs=Gi(Ms);function Ws(t){return null==t?[]:Yn(t,Rs(t))}var Fs=Pi((function(t,n,e){return n=n.toLowerCase(),t+(e?Ls(n):n)}));function Ls(t){return Ks(_s(t).toLowerCase())}function Ds(t){return(t=_s(t))&&t.replace(yt,ne).replace(Yt,"")}var Ns=Pi((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),Bs=Pi((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),Hs=ji("toLowerCase"),qs=Pi((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()})),Gs=Pi((function(t,n,e){return t+(e?" ":"")+Ks(n)})),Zs=Pi((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Ks=ji("toUpperCase");function Js(t,n,e){return t=_s(t),(n=e?i:n)===i?function(t){return nn.test(t)}(t)?function(t){return t.match(Xt)||[]}(t):function(t){return t.match(at)||[]}(t):t.match(n)||[]}var Ys=Gr((function(t,n){try{return $n(t,i,n)}catch(t){return Ku(t)?t:new bt(t)}})),Qs=Xi((function(t,n){return Cn(n,(function(n){n=Io(n),rr(t,n,ku(t[n],t))})),t}));function Xs(t){return function(){return t}}var ta=Ii(),na=Ii(!0);function ea(t){return t}function ra(t){return Pr("function"==typeof t?t:ur(t,1))}var ia=Gr((function(t,n){return function(e){return kr(e,t,n)}})),oa=Gr((function(t,n){return function(e){return kr(t,e,n)}}));function ua(t,n,e){var r=Rs(n),i=xr(n,r);null!=e||Xu(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=xr(n,Rs(n)));var o=!(Xu(e)&&"chain"in e&&!e.chain),u=Ju(t);return Cn(i,(function(e){var r=n[e];t[e]=r,u&&(t.prototype[e]=function(){var n=this.__chain__;if(o||n){var e=t(this.__wrapped__);return(e.__actions__=Ci(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,Pn([this.value()],arguments))})})),t}function sa(){}var aa=Fi(jn),la=Fi(kn),ca=Fi(In);function ha(t){return yo(t)?Bn(Io(t)):function(t){return function(n){return br(n,t)}}(t)}var fa=Di(),pa=Di(!0);function da(){return[]}function va(){return!1}var ga,_a=Wi((function(t,n){return t+n}),0),ya=Hi("ceil"),ma=Wi((function(t,n){return t/n}),1),xa=Hi("floor"),ba=Wi((function(t,n){return t*n}),1),wa=Hi("round"),Aa=Wi((function(t,n){return t-n}),0);return ze.after=function(t,n){if("function"!=typeof n)throw new Et(o);return t=ps(t),function(){if(--t<1)return n.apply(this,arguments)}},ze.ary=Cu,ze.assign=ys,ze.assignIn=ms,ze.assignInWith=xs,ze.assignWith=bs,ze.at=ws,ze.before=Eu,ze.bind=ku,ze.bindAll=Qs,ze.bindKey=Ou,ze.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Nu(t)?t:[t]},ze.chain=hu,ze.chunk=function(t,n,e){n=(e?_o(t,n,e):n===i)?1:ge(ps(n),0);var o=null==t?0:t.length;if(!o||n<1)return[];for(var u=0,s=0,a=r(pn(o/n));u<o;)a[s++]=ti(t,u,u+=n);return a},ze.compact=function(t){for(var n=-1,e=null==t?0:t.length,r=0,i=[];++n<e;){var o=t[n];o&&(i[r++]=o)}return i},ze.concat=function(){var t=arguments.length;if(!t)return[];for(var n=r(t-1),e=arguments[0],i=t;i--;)n[i-1]=arguments[i];return Pn(Nu(e)?Ci(e):[e],vr(n,1))},ze.cond=function(t){var n=null==t?0:t.length,e=oo();return t=n?jn(t,(function(t){if("function"!=typeof t[1])throw new Et(o);return[e(t[0]),t[1]]})):[],Gr((function(e){for(var r=-1;++r<n;){var i=t[r];if($n(i[0],this,e))return $n(i[1],this,e)}}))},ze.conforms=function(t){return function(t){var n=Rs(t);return function(e){return sr(e,t,n)}}(ur(t,1))},ze.constant=Xs,ze.countBy=du,ze.create=function(t,n){var e=We(t);return null==n?e:er(e,n)},ze.curry=function t(n,e,r){var o=Zi(n,8,i,i,i,i,i,e=r?i:e);return o.placeholder=t.placeholder,o},ze.curryRight=function t(n,e,r){var o=Zi(n,16,i,i,i,i,i,e=r?i:e);return o.placeholder=t.placeholder,o},ze.debounce=Ru,ze.defaults=As,ze.defaultsDeep=$s,ze.defer=Mu,ze.delay=ju,ze.difference=Wo,ze.differenceBy=Fo,ze.differenceWith=Lo,ze.drop=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=e||n===i?1:ps(n))<0?0:n,r):[]},ze.dropRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,0,(n=r-(n=e||n===i?1:ps(n)))<0?0:n):[]},ze.dropRightWhile=function(t,n){return t&&t.length?ci(t,oo(n,3),!0,!0):[]},ze.dropWhile=function(t,n){return t&&t.length?ci(t,oo(n,3),!0):[]},ze.fill=function(t,n,e,r){var o=null==t?0:t.length;return o?(e&&"number"!=typeof e&&_o(t,n,e)&&(e=0,r=o),function(t,n,e,r){var o=t.length;for((e=ps(e))<0&&(e=-e>o?0:o+e),(r=r===i||r>o?o:ps(r))<0&&(r+=o),r=e>r?0:ds(r);e<r;)t[e++]=n;return t}(t,n,e,r)):[]},ze.filter=function(t,n){return(Nu(t)?On:dr)(t,oo(n,3))},ze.flatMap=function(t,n){return vr(wu(t,n),1)},ze.flatMapDeep=function(t,n){return vr(wu(t,n),c)},ze.flatMapDepth=function(t,n,e){return e=e===i?1:ps(e),vr(wu(t,n),e)},ze.flatten=Bo,ze.flattenDeep=function(t){return null!=t&&t.length?vr(t,c):[]},ze.flattenDepth=function(t,n){return null!=t&&t.length?vr(t,n=n===i?1:ps(n)):[]},ze.flip=function(t){return Zi(t,512)},ze.flow=ta,ze.flowRight=na,ze.fromPairs=function(t){for(var n=-1,e=null==t?0:t.length,r={};++n<e;){var i=t[n];r[i[0]]=i[1]}return r},ze.functions=function(t){return null==t?[]:xr(t,Rs(t))},ze.functionsIn=function(t){return null==t?[]:xr(t,Ms(t))},ze.groupBy=mu,ze.initial=function(t){return null!=t&&t.length?ti(t,0,-1):[]},ze.intersection=qo,ze.intersectionBy=Go,ze.intersectionWith=Zo,ze.invert=Es,ze.invertBy=ks,ze.invokeMap=xu,ze.iteratee=ra,ze.keyBy=bu,ze.keys=Rs,ze.keysIn=Ms,ze.map=wu,ze.mapKeys=function(t,n){var e={};return n=oo(n,3),yr(t,(function(t,r,i){rr(e,n(t,r,i),t)})),e},ze.mapValues=function(t,n){var e={};return n=oo(n,3),yr(t,(function(t,r,i){rr(e,r,n(t,r,i))})),e},ze.matches=function(t){return Tr(ur(t,1))},ze.matchesProperty=function(t,n){return zr(t,ur(n,1))},ze.memoize=Pu,ze.merge=js,ze.mergeWith=Ps,ze.method=ia,ze.methodOf=oa,ze.mixin=ua,ze.negate=Vu,ze.nthArg=function(t){return t=ps(t),Gr((function(n){return Fr(n,t)}))},ze.omit=Vs,ze.omitBy=function(t,n){return Is(t,Vu(oo(n)))},ze.once=function(t){return Eu(2,t)},ze.orderBy=function(t,n,e,r){return null==t?[]:(Nu(n)||(n=null==n?[]:[n]),Nu(e=r?i:e)||(e=null==e?[]:[e]),Lr(t,n,e))},ze.over=aa,ze.overArgs=Uu,ze.overEvery=la,ze.overSome=ca,ze.partial=Iu,ze.partialRight=Tu,ze.partition=Au,ze.pick=Us,ze.pickBy=Is,ze.property=ha,ze.propertyOf=function(t){return function(n){return null==t?i:br(t,n)}},ze.pull=Jo,ze.pullAll=Yo,ze.pullAllBy=function(t,n,e){return t&&t.length&&n&&n.length?Nr(t,n,oo(e,2)):t},ze.pullAllWith=function(t,n,e){return t&&t.length&&n&&n.length?Nr(t,n,i,e):t},ze.pullAt=Qo,ze.range=fa,ze.rangeRight=pa,ze.rearg=zu,ze.reject=function(t,n){return(Nu(t)?On:dr)(t,Vu(oo(n,3)))},ze.remove=function(t,n){var e=[];if(!t||!t.length)return e;var r=-1,i=[],o=t.length;for(n=oo(n,3);++r<o;){var u=t[r];n(u,r,t)&&(e.push(u),i.push(r))}return Br(t,i),e},ze.rest=function(t,n){if("function"!=typeof t)throw new Et(o);return Gr(t,n=n===i?n:ps(n))},ze.reverse=Xo,ze.sampleSize=function(t,n,e){return n=(e?_o(t,n,e):n===i)?1:ps(n),(Nu(t)?Je:Kr)(t,n)},ze.set=function(t,n,e){return null==t?t:Jr(t,n,e)},ze.setWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:Jr(t,n,e,r)},ze.shuffle=function(t){return(Nu(t)?Ye:Xr)(t)},ze.slice=function(t,n,e){var r=null==t?0:t.length;return r?(e&&"number"!=typeof e&&_o(t,n,e)?(n=0,e=r):(n=null==n?0:ps(n),e=e===i?r:ps(e)),ti(t,n,e)):[]},ze.sortBy=$u,ze.sortedUniq=function(t){return t&&t.length?ii(t):[]},ze.sortedUniqBy=function(t,n){return t&&t.length?ii(t,oo(n,2)):[]},ze.split=function(t,n,e){return e&&"number"!=typeof e&&_o(t,n,e)&&(n=e=i),(e=e===i?p:e>>>0)?(t=_s(t))&&("string"==typeof n||null!=n&&!is(n))&&!(n=ui(n))&&ie(t)?yi(he(t),0,e):t.split(n,e):[]},ze.spread=function(t,n){if("function"!=typeof t)throw new Et(o);return n=null==n?0:ge(ps(n),0),Gr((function(e){var r=e[n],i=yi(e,0,n);return r&&Pn(i,r),$n(t,this,i)}))},ze.tail=function(t){var n=null==t?0:t.length;return n?ti(t,1,n):[]},ze.take=function(t,n,e){return t&&t.length?ti(t,0,(n=e||n===i?1:ps(n))<0?0:n):[]},ze.takeRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=r-(n=e||n===i?1:ps(n)))<0?0:n,r):[]},ze.takeRightWhile=function(t,n){return t&&t.length?ci(t,oo(n,3),!1,!0):[]},ze.takeWhile=function(t,n){return t&&t.length?ci(t,oo(n,3)):[]},ze.tap=function(t,n){return n(t),t},ze.throttle=function(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new Et(o);return Xu(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Ru(t,n,{leading:r,maxWait:n,trailing:i})},ze.thru=fu,ze.toArray=hs,ze.toPairs=Ts,ze.toPairsIn=zs,ze.toPath=function(t){return Nu(t)?jn(t,Io):ss(t)?[t]:Ci(Uo(_s(t)))},ze.toPlainObject=gs,ze.transform=function(t,n,e){var r=Nu(t),i=r||Gu(t)||as(t);if(n=oo(n,4),null==e){var o=t&&t.constructor;e=i?r?new o:[]:Xu(t)&&Ju(o)?We(Bt(t)):{}}return(i?Cn:yr)(t,(function(t,r,i){return n(e,t,r,i)})),e},ze.unary=function(t){return Cu(t,1)},ze.union=tu,ze.unionBy=nu,ze.unionWith=eu,ze.uniq=function(t){return t&&t.length?si(t):[]},ze.uniqBy=function(t,n){return t&&t.length?si(t,oo(n,2)):[]},ze.uniqWith=function(t,n){return n="function"==typeof n?n:i,t&&t.length?si(t,i,n):[]},ze.unset=function(t,n){return null==t||ai(t,n)},ze.unzip=ru,ze.unzipWith=iu,ze.update=function(t,n,e){return null==t?t:li(t,n,vi(e))},ze.updateWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:li(t,n,vi(e),r)},ze.values=Ws,ze.valuesIn=function(t){return null==t?[]:Yn(t,Ms(t))},ze.without=ou,ze.words=Js,ze.wrap=function(t,n){return Iu(vi(n),t)},ze.xor=uu,ze.xorBy=su,ze.xorWith=au,ze.zip=lu,ze.zipObject=function(t,n){return pi(t||[],n||[],Xe)},ze.zipObjectDeep=function(t,n){return pi(t||[],n||[],Jr)},ze.zipWith=cu,ze.entries=Ts,ze.entriesIn=zs,ze.extend=ms,ze.extendWith=xs,ua(ze,ze),ze.add=_a,ze.attempt=Ys,ze.camelCase=Fs,ze.capitalize=Ls,ze.ceil=ya,ze.clamp=function(t,n,e){return e===i&&(e=n,n=i),e!==i&&(e=(e=vs(e))==e?e:0),n!==i&&(n=(n=vs(n))==n?n:0),or(vs(t),n,e)},ze.clone=function(t){return ur(t,4)},ze.cloneDeep=function(t){return ur(t,5)},ze.cloneDeepWith=function(t,n){return ur(t,5,n="function"==typeof n?n:i)},ze.cloneWith=function(t,n){return ur(t,4,n="function"==typeof n?n:i)},ze.conformsTo=function(t,n){return null==n||sr(t,n,Rs(n))},ze.deburr=Ds,ze.defaultTo=function(t,n){return null==t||t!=t?n:t},ze.divide=ma,ze.endsWith=function(t,n,e){t=_s(t),n=ui(n);var r=t.length,o=e=e===i?r:or(ps(e),0,r);return(e-=n.length)>=0&&t.slice(e,o)==n},ze.eq=Wu,ze.escape=function(t){return(t=_s(t))&&Z.test(t)?t.replace(q,ee):t},ze.escapeRegExp=function(t){return(t=_s(t))&&et.test(t)?t.replace(nt,"\\$&"):t},ze.every=function(t,n,e){var r=Nu(t)?kn:fr;return e&&_o(t,n,e)&&(n=i),r(t,oo(n,3))},ze.find=vu,ze.findIndex=Do,ze.findKey=function(t,n){return zn(t,oo(n,3),yr)},ze.findLast=gu,ze.findLastIndex=No,ze.findLastKey=function(t,n){return zn(t,oo(n,3),mr)},ze.floor=xa,ze.forEach=_u,ze.forEachRight=yu,ze.forIn=function(t,n){return null==t?t:gr(t,oo(n,3),Ms)},ze.forInRight=function(t,n){return null==t?t:_r(t,oo(n,3),Ms)},ze.forOwn=function(t,n){return t&&yr(t,oo(n,3))},ze.forOwnRight=function(t,n){return t&&mr(t,oo(n,3))},ze.get=Ss,ze.gt=Fu,ze.gte=Lu,ze.has=function(t,n){return null!=t&&fo(t,n,Sr)},ze.hasIn=Cs,ze.head=Ho,ze.identity=ea,ze.includes=function(t,n,e,r){t=Hu(t)?t:Ws(t),e=e&&!r?ps(e):0;var i=t.length;return e<0&&(e=ge(i+e,0)),us(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&Fn(t,n,e)>-1},ze.indexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:ps(e);return i<0&&(i=ge(r+i,0)),Fn(t,n,i)},ze.inRange=function(t,n,e){return n=fs(n),e===i?(e=n,n=0):e=fs(e),function(t,n,e){return t>=_e(n,e)&&t<ge(n,e)}(t=vs(t),n,e)},ze.invoke=Os,ze.isArguments=Du,ze.isArray=Nu,ze.isArrayBuffer=Bu,ze.isArrayLike=Hu,ze.isArrayLikeObject=qu,ze.isBoolean=function(t){return!0===t||!1===t||ts(t)&&Ar(t)==_},ze.isBuffer=Gu,ze.isDate=Zu,ze.isElement=function(t){return ts(t)&&1===t.nodeType&&!rs(t)},ze.isEmpty=function(t){if(null==t)return!0;if(Hu(t)&&(Nu(t)||"string"==typeof t||"function"==typeof t.splice||Gu(t)||as(t)||Du(t)))return!t.length;var n=ho(t);if(n==w||n==E)return!t.size;if(bo(t))return!Vr(t).length;for(var e in t)if(Pt.call(t,e))return!1;return!0},ze.isEqual=function(t,n){return Rr(t,n)},ze.isEqualWith=function(t,n,e){var r=(e="function"==typeof e?e:i)?e(t,n):i;return r===i?Rr(t,n,i,e):!!r},ze.isError=Ku,ze.isFinite=function(t){return"number"==typeof t&&Tn(t)},ze.isFunction=Ju,ze.isInteger=Yu,ze.isLength=Qu,ze.isMap=ns,ze.isMatch=function(t,n){return t===n||Mr(t,n,so(n))},ze.isMatchWith=function(t,n,e){return e="function"==typeof e?e:i,Mr(t,n,so(n),e)},ze.isNaN=function(t){return es(t)&&t!=+t},ze.isNative=function(t){if(xo(t))throw new bt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jr(t)},ze.isNil=function(t){return null==t},ze.isNull=function(t){return null===t},ze.isNumber=es,ze.isObject=Xu,ze.isObjectLike=ts,ze.isPlainObject=rs,ze.isRegExp=is,ze.isSafeInteger=function(t){return Yu(t)&&t>=-9007199254740991&&t<=h},ze.isSet=os,ze.isString=us,ze.isSymbol=ss,ze.isTypedArray=as,ze.isUndefined=function(t){return t===i},ze.isWeakMap=function(t){return ts(t)&&ho(t)==R},ze.isWeakSet=function(t){return ts(t)&&"[object WeakSet]"==Ar(t)},ze.join=function(t,n){return null==t?"":Hn.call(t,n)},ze.kebabCase=Ns,ze.last=Ko,ze.lastIndexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r;return e!==i&&(o=(o=ps(e))<0?ge(r+o,0):_e(o,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,o):Wn(t,Dn,o,!0)},ze.lowerCase=Bs,ze.lowerFirst=Hs,ze.lt=ls,ze.lte=cs,ze.max=function(t){return t&&t.length?pr(t,ea,$r):i},ze.maxBy=function(t,n){return t&&t.length?pr(t,oo(n,2),$r):i},ze.mean=function(t){return Nn(t,ea)},ze.meanBy=function(t,n){return Nn(t,oo(n,2))},ze.min=function(t){return t&&t.length?pr(t,ea,Ur):i},ze.minBy=function(t,n){return t&&t.length?pr(t,oo(n,2),Ur):i},ze.stubArray=da,ze.stubFalse=va,ze.stubObject=function(){return{}},ze.stubString=function(){return""},ze.stubTrue=function(){return!0},ze.multiply=ba,ze.nth=function(t,n){return t&&t.length?Fr(t,ps(n)):i},ze.noConflict=function(){return fn._===this&&(fn._=zt),this},ze.noop=sa,ze.now=Su,ze.pad=function(t,n,e){t=_s(t);var r=(n=ps(n))?ce(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return Li(dn(i),e)+t+Li(pn(i),e)},ze.padEnd=function(t,n,e){t=_s(t);var r=(n=ps(n))?ce(t):0;return n&&r<n?t+Li(n-r,e):t},ze.padStart=function(t,n,e){t=_s(t);var r=(n=ps(n))?ce(t):0;return n&&r<n?Li(n-r,e)+t:t},ze.parseInt=function(t,n,e){return e||null==n?n=0:n&&(n=+n),me(_s(t).replace(rt,""),n||0)},ze.random=function(t,n,e){if(e&&"boolean"!=typeof e&&_o(t,n,e)&&(n=e=i),e===i&&("boolean"==typeof n?(e=n,n=i):"boolean"==typeof t&&(e=t,t=i)),t===i&&n===i?(t=0,n=1):(t=fs(t),n===i?(n=t,t=0):n=fs(n)),t>n){var r=t;t=n,n=r}if(e||t%1||n%1){var o=xe();return _e(t+o*(n-t+an("1e-"+((o+"").length-1))),n)}return Hr(t,n)},ze.reduce=function(t,n,e){var r=Nu(t)?Vn:qn,i=arguments.length<3;return r(t,oo(n,4),e,i,cr)},ze.reduceRight=function(t,n,e){var r=Nu(t)?Un:qn,i=arguments.length<3;return r(t,oo(n,4),e,i,hr)},ze.repeat=function(t,n,e){return n=(e?_o(t,n,e):n===i)?1:ps(n),qr(_s(t),n)},ze.replace=function(){var t=arguments,n=_s(t[0]);return t.length<3?n:n.replace(t[1],t[2])},ze.result=function(t,n,e){var r=-1,o=(n=gi(n,t)).length;for(o||(o=1,t=i);++r<o;){var u=null==t?i:t[Io(n[r])];u===i&&(r=o,u=e),t=Ju(u)?u.call(t):u}return t},ze.round=wa,ze.runInContext=t,ze.sample=function(t){return(Nu(t)?Ke:Zr)(t)},ze.size=function(t){if(null==t)return 0;if(Hu(t))return us(t)?ce(t):t.length;var n=ho(t);return n==w||n==E?t.size:Vr(t).length},ze.snakeCase=qs,ze.some=function(t,n,e){var r=Nu(t)?In:ni;return e&&_o(t,n,e)&&(n=i),r(t,oo(n,3))},ze.sortedIndex=function(t,n){return ei(t,n)},ze.sortedIndexBy=function(t,n,e){return ri(t,n,oo(e,2))},ze.sortedIndexOf=function(t,n){var e=null==t?0:t.length;if(e){var r=ei(t,n);if(r<e&&Wu(t[r],n))return r}return-1},ze.sortedLastIndex=function(t,n){return ei(t,n,!0)},ze.sortedLastIndexBy=function(t,n,e){return ri(t,n,oo(e,2),!0)},ze.sortedLastIndexOf=function(t,n){if(null!=t&&t.length){var e=ei(t,n,!0)-1;if(Wu(t[e],n))return e}return-1},ze.startCase=Gs,ze.startsWith=function(t,n,e){return t=_s(t),e=null==e?0:or(ps(e),0,t.length),n=ui(n),t.slice(e,e+n.length)==n},ze.subtract=Aa,ze.sum=function(t){return t&&t.length?Gn(t,ea):0},ze.sumBy=function(t,n){return t&&t.length?Gn(t,oo(n,2)):0},ze.template=function(t,n,e){var r=ze.templateSettings;e&&_o(t,n,e)&&(n=i),t=_s(t),n=xs({},n,r,Ki);var o,u,s=xs({},n.imports,r.imports,Ki),a=Rs(s),l=Yn(s,a),c=0,h=n.interpolate||mt,f="__p += '",p=St((n.escape||mt).source+"|"+h.source+"|"+(h===Y?ht:mt).source+"|"+(n.evaluate||mt).source+"|$","g"),d="//# sourceURL="+(Pt.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+"\n";t.replace(p,(function(n,e,r,i,s,a){return r||(r=i),f+=t.slice(c,a).replace(xt,re),e&&(o=!0,f+="' +\n__e("+e+") +\n'"),s&&(u=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=a+n.length,n})),f+="';\n";var v=Pt.call(n,"variable")&&n.variable;if(v){if(lt.test(v))throw new bt("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(u?f.replace(D,""):f).replace(N,"$1").replace(B,"$1;"),f="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Ys((function(){return wt(a,d+"return "+f).apply(i,l)}));if(g.source=f,Ku(g))throw g;return g},ze.times=function(t,n){if((t=ps(t))<1||t>h)return[];var e=p,r=_e(t,p);n=oo(n),t-=p;for(var i=Zn(r,n);++e<t;)n(e);return i},ze.toFinite=fs,ze.toInteger=ps,ze.toLength=ds,ze.toLower=function(t){return _s(t).toLowerCase()},ze.toNumber=vs,ze.toSafeInteger=function(t){return t?or(ps(t),-9007199254740991,h):0===t?t:0},ze.toString=_s,ze.toUpper=function(t){return _s(t).toUpperCase()},ze.trim=function(t,n,e){if((t=_s(t))&&(e||n===i))return Kn(t);if(!t||!(n=ui(n)))return t;var r=he(t),o=he(n);return yi(r,Xn(r,o),te(r,o)+1).join("")},ze.trimEnd=function(t,n,e){if((t=_s(t))&&(e||n===i))return t.slice(0,fe(t)+1);if(!t||!(n=ui(n)))return t;var r=he(t);return yi(r,0,te(r,he(n))+1).join("")},ze.trimStart=function(t,n,e){if((t=_s(t))&&(e||n===i))return t.replace(rt,"");if(!t||!(n=ui(n)))return t;var r=he(t);return yi(r,Xn(r,he(n))).join("")},ze.truncate=function(t,n){var e=30,r="...";if(Xu(n)){var o="separator"in n?n.separator:o;e="length"in n?ps(n.length):e,r="omission"in n?ui(n.omission):r}var u=(t=_s(t)).length;if(ie(t)){var s=he(t);u=s.length}if(e>=u)return t;var a=e-ce(r);if(a<1)return r;var l=s?yi(s,0,a).join(""):t.slice(0,a);if(o===i)return l+r;if(s&&(a+=l.length-a),is(o)){if(t.slice(a).search(o)){var c,h=l;for(o.global||(o=St(o.source,_s(ft.exec(o))+"g")),o.lastIndex=0;c=o.exec(h);)var f=c.index;l=l.slice(0,f===i?a:f)}}else if(t.indexOf(ui(o),a)!=a){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+r},ze.unescape=function(t){return(t=_s(t))&&G.test(t)?t.replace(H,pe):t},ze.uniqueId=function(t){var n=++Vt;return _s(t)+n},ze.upperCase=Zs,ze.upperFirst=Ks,ze.each=_u,ze.eachRight=yu,ze.first=Ho,ua(ze,(ga={},yr(ze,(function(t,n){Pt.call(ze.prototype,n)||(ga[n]=t)})),ga),{chain:!1}),ze.VERSION="4.17.21",Cn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){ze[t].placeholder=ze})),Cn(["drop","take"],(function(t,n){De.prototype[t]=function(e){e=e===i?1:ge(ps(e),0);var r=this.__filtered__&&!n?new De(this):this.clone();return r.__filtered__?r.__takeCount__=_e(e,r.__takeCount__):r.__views__.push({size:_e(e,p),type:t+(r.__dir__<0?"Right":"")}),r},De.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Cn(["filter","map","takeWhile"],(function(t,n){var e=n+1,r=1==e||3==e;De.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:oo(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}})),Cn(["head","last"],(function(t,n){var e="take"+(n?"Right":"");De.prototype[t]=function(){return this[e](1).value()[0]}})),Cn(["initial","tail"],(function(t,n){var e="drop"+(n?"":"Right");De.prototype[t]=function(){return this.__filtered__?new De(this):this[e](1)}})),De.prototype.compact=function(){return this.filter(ea)},De.prototype.find=function(t){return this.filter(t).head()},De.prototype.findLast=function(t){return this.reverse().find(t)},De.prototype.invokeMap=Gr((function(t,n){return"function"==typeof t?new De(this):this.map((function(e){return kr(e,t,n)}))})),De.prototype.reject=function(t){return this.filter(Vu(oo(t)))},De.prototype.slice=function(t,n){t=ps(t);var e=this;return e.__filtered__&&(t>0||n<0)?new De(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==i&&(e=(n=ps(n))<0?e.dropRight(-n):e.take(n-t)),e)},De.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},De.prototype.toArray=function(){return this.take(p)},yr(De.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),o=ze[r?"take"+("last"==n?"Right":""):n],u=r||/^find/.test(n);o&&(ze.prototype[n]=function(){var n=this.__wrapped__,s=r?[1]:arguments,a=n instanceof De,l=s[0],c=a||Nu(n),h=function(t){var n=o.apply(ze,Pn([t],s));return r&&f?n[0]:n};c&&e&&"function"==typeof l&&1!=l.length&&(a=c=!1);var f=this.__chain__,p=!!this.__actions__.length,d=u&&!f,v=a&&!p;if(!u&&c){n=v?n:new De(this);var g=t.apply(n,s);return g.__actions__.push({func:fu,args:[h],thisArg:i}),new Le(g,f)}return d&&v?t.apply(this,s):(g=this.thru(h),d?r?g.value()[0]:g.value():g)})})),Cn(["pop","push","shift","sort","splice","unshift"],(function(t){var n=kt[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);ze.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(Nu(i)?i:[],t)}return this[e]((function(e){return n.apply(Nu(e)?e:[],t)}))}})),yr(De.prototype,(function(t,n){var e=ze[n];if(e){var r=e.name+"";Pt.call(Oe,r)||(Oe[r]=[]),Oe[r].push({name:n,func:e})}})),Oe[Ti(i,2).name]=[{name:"wrapper",func:i}],De.prototype.clone=function(){var t=new De(this.__wrapped__);return t.__actions__=Ci(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ci(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ci(this.__views__),t},De.prototype.reverse=function(){if(this.__filtered__){var t=new De(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},De.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=Nu(t),r=n<0,i=e?t.length:0,o=function(t,n,e){for(var r=-1,i=e.length;++r<i;){var o=e[r],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=_e(n,t+u);break;case"takeRight":t=ge(t,n-u)}}return{start:t,end:n}}(0,i,this.__views__),u=o.start,s=o.end,a=s-u,l=r?s:u-1,c=this.__iteratees__,h=c.length,f=0,p=_e(a,this.__takeCount__);if(!e||!r&&i==a&&p==a)return hi(t,this.__actions__);var d=[];t:for(;a--&&f<p;){for(var v=-1,g=t[l+=n];++v<h;){var _=c[v],y=_.iteratee,m=_.type,x=y(g);if(2==m)g=x;else if(!x){if(1==m)continue t;break t}}d[f++]=g}return d},ze.prototype.at=pu,ze.prototype.chain=function(){return hu(this)},ze.prototype.commit=function(){return new Le(this.value(),this.__chain__)},ze.prototype.next=function(){this.__values__===i&&(this.__values__=hs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},ze.prototype.plant=function(t){for(var n,e=this;e instanceof Fe;){var r=zo(e);r.__index__=0,r.__values__=i,n?o.__wrapped__=r:n=r;var o=r;e=e.__wrapped__}return o.__wrapped__=t,n},ze.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof De){var n=t;return this.__actions__.length&&(n=new De(this)),(n=n.reverse()).__actions__.push({func:fu,args:[Xo],thisArg:i}),new Le(n,this.__chain__)}return this.thru(Xo)},ze.prototype.toJSON=ze.prototype.valueOf=ze.prototype.value=function(){return hi(this.__wrapped__,this.__actions__)},ze.prototype.first=ze.prototype.head,Kt&&(ze.prototype[Kt]=function(){return this}),ze}();fn._=de,(r=function(){return de}.call(n,e,n,t))===i||(t.exports=r)}.call(this)},154:t=>{"use strict";t.exports=n},488:t=>{"use strict";t.exports=r},472:n=>{"use strict";n.exports=t},848:t=>{"use strict";t.exports=e}},o={};function u(t){var n=o[t];if(void 0!==n)return n.exports;var e=o[t]={id:t,loaded:!1,exports:{}};return i[t].call(e.exports,e,e.exports,u),e.loaded=!0,e.exports}u.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return u.d(n,{a:n}),n},u.d=(t,n)=>{for(var e in n)u.o(n,e)&&!u.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),u.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),u.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var s={};return(()=>{"use strict";u.r(s),u.d(s,{OrGauge:()=>wt});const t=window,n=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e=Symbol(),r=new WeakMap;class i{constructor(t,n,r){if(this._$cssResult$=!0,r!==e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=n}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const n=void 0!==e&&1===e.length;n&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&r.set(e,t))}return t}toString(){return this.cssText}}const o=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let n="";for(const e of t.cssRules)n+=e.cssText;return(t=>new i("string"==typeof t?t:t+"",void 0,e))(n)})(t):t;var a;const l=window,c=l.trustedTypes,h=c?c.emptyScript:"",f=l.reactiveElementPolyfillSupport,p={toAttribute(t,n){switch(n){case Boolean:t=t?h:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,n){let e=t;switch(n){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},d=(t,n)=>n!==t&&(n==n||t==t),v={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:d},g="finalized";class _ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var n;this.finalize(),(null!==(n=this.h)&&void 0!==n?n:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((n,e)=>{const r=this._$Ep(e,n);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,n=v){if(n.state&&(n.attribute=!1),this.finalize(),this.elementProperties.set(t,n),!n.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,n);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,n,e){return{get(){return this[n]},set(r){const i=this[t];this[n]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||v}static finalize(){if(this.hasOwnProperty(g))return!1;this[g]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,n=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of n)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const n=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)n.unshift(o(t))}else void 0!==t&&n.push(o(t));return n}static _$Ep(t,n){const e=n.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var n,e;(null!==(n=this._$ES)&&void 0!==n?n:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var n;null===(n=this._$ES)||void 0===n||n.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,n)=>{this.hasOwnProperty(n)&&(this._$Ei.set(n,this[n]),delete this[n])}))}createRenderRoot(){var e;const r=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,r)=>{n?e.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):r.forEach((n=>{const r=document.createElement("style"),i=t.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=n.cssText,e.appendChild(r)}))})(r,this.constructor.elementStyles),r}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var n;return null===(n=t.hostConnected)||void 0===n?void 0:n.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var n;return null===(n=t.hostDisconnected)||void 0===n?void 0:n.call(t)}))}attributeChangedCallback(t,n,e){this._$AK(t,e)}_$EO(t,n,e=v){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const o=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:p).toAttribute(n,e.type);this._$El=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$El=null}}_$AK(t,n){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:p;this._$El=i,this[i]=o.fromAttribute(n,t.type),this._$El=null}}requestUpdate(t,n,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||d)(this[t],n)?(this._$AL.has(t)||this._$AL.set(t,n),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,n)=>this[n]=t)),this._$Ei=void 0);let n=!1;const e=this._$AL;try{n=this.shouldUpdate(e),n?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var n;return null===(n=t.hostUpdate)||void 0===n?void 0:n.call(t)})),this.update(e)):this._$Ek()}catch(t){throw n=!1,this._$Ek(),t}n&&this._$AE(e)}willUpdate(t){}_$AE(t){var n;null===(n=this._$ES)||void 0===n||n.forEach((t=>{var n;return null===(n=t.hostUpdated)||void 0===n?void 0:n.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,n)=>this._$EO(n,this[n],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}var y;_[g]=!0,_.elementProperties=new Map,_.elementStyles=[],_.shadowRootOptions={mode:"open"},null==f||f({ReactiveElement:_}),(null!==(a=l.reactiveElementVersions)&&void 0!==a?a:l.reactiveElementVersions=[]).push("1.6.3");const m=window,x=m.trustedTypes,b=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,w="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,$="?"+A,S=`<${$}>`,C=document,E=()=>C.createComment(""),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,R="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,P=/>/g,V=RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,I=/"/g,T=/^(?:script|style|textarea|title)$/i,z=t=>(n,...e)=>({_$litType$:t,strings:n,values:e}),W=z(1),F=(z(2),Symbol.for("lit-noChange")),L=Symbol.for("lit-nothing"),D=new WeakMap,N=C.createTreeWalker(C,129,null,!1);function B(t,n){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==b?b.createHTML(n):n}const H=(t,n)=>{const e=t.length-1,r=[];let i,o=2===n?"<svg>":"",u=M;for(let n=0;n<e;n++){const e=t[n];let s,a,l=-1,c=0;for(;c<e.length&&(u.lastIndex=c,a=u.exec(e),null!==a);)c=u.lastIndex,u===M?"!--"===a[1]?u=j:void 0!==a[1]?u=P:void 0!==a[2]?(T.test(a[2])&&(i=RegExp("</"+a[2],"g")),u=V):void 0!==a[3]&&(u=V):u===V?">"===a[0]?(u=null!=i?i:M,l=-1):void 0===a[1]?l=-2:(l=u.lastIndex-a[2].length,s=a[1],u=void 0===a[3]?V:'"'===a[3]?I:U):u===I||u===U?u=V:u===j||u===P?u=M:(u=V,i=void 0);const h=u===V&&t[n+1].startsWith("/>")?" ":"";o+=u===M?e+S:l>=0?(r.push(s),e.slice(0,l)+w+e.slice(l)+A+h):e+A+(-2===l?(r.push(void 0),n):h)}return[B(t,o+(t[e]||"<?>")+(2===n?"</svg>":"")),r]};class q{constructor({strings:t,_$litType$:n},e){let r;this.parts=[];let i=0,o=0;const u=t.length-1,s=this.parts,[a,l]=H(t,n);if(this.el=q.createElement(a,e),N.currentNode=this.el.content,2===n){const t=this.el.content,n=t.firstChild;n.remove(),t.append(...n.childNodes)}for(;null!==(r=N.nextNode())&&s.length<u;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const n of r.getAttributeNames())if(n.endsWith(w)||n.startsWith(A)){const e=l[o++];if(t.push(n),void 0!==e){const t=r.getAttribute(e.toLowerCase()+w).split(A),n=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:n[2],strings:t,ctor:"."===n[1]?Y:"?"===n[1]?X:"@"===n[1]?tt:J})}else s.push({type:6,index:i})}for(const n of t)r.removeAttribute(n)}if(T.test(r.tagName)){const t=r.textContent.split(A),n=t.length-1;if(n>0){r.textContent=x?x.emptyScript:"";for(let e=0;e<n;e++)r.append(t[e],E()),N.nextNode(),s.push({type:2,index:++i});r.append(t[n],E())}}}else if(8===r.nodeType)if(r.data===$)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(A,t+1));)s.push({type:7,index:i}),t+=A.length-1}i++}}static createElement(t,n){const e=C.createElement("template");return e.innerHTML=t,e}}function G(t,n,e=t,r){var i,o,u,s;if(n===F)return n;let a=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const l=k(n)?void 0:n._$litDirective$;return(null==a?void 0:a.constructor)!==l&&(null===(o=null==a?void 0:a._$AO)||void 0===o||o.call(a,!1),void 0===l?a=void 0:(a=new l(t),a._$AT(t,e,r)),void 0!==r?(null!==(u=(s=e)._$Co)&&void 0!==u?u:s._$Co=[])[r]=a:e._$Cl=a),void 0!==a&&(n=G(t,a._$AS(t,n.values),a,r)),n}class Z{constructor(t,n){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var n;const{el:{content:e},parts:r}=this._$AD,i=(null!==(n=null==t?void 0:t.creationScope)&&void 0!==n?n:C).importNode(e,!0);N.currentNode=i;let o=N.nextNode(),u=0,s=0,a=r[0];for(;void 0!==a;){if(u===a.index){let n;2===a.type?n=new K(o,o.nextSibling,this,t):1===a.type?n=new a.ctor(o,a.name,a.strings,this,t):6===a.type&&(n=new nt(o,this,t)),this._$AV.push(n),a=r[++s]}u!==(null==a?void 0:a.index)&&(o=N.nextNode(),u++)}return N.currentNode=C,i}v(t){let n=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,n),n+=e.strings.length-2):e._$AI(t[n])),n++}}class K{constructor(t,n,e,r){var i;this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,n;return null!==(n=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==n?n:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const n=this._$AM;return void 0!==n&&11===(null==t?void 0:t.nodeType)&&(t=n.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,n=this){t=G(this,t,n),k(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==F&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>O(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==L&&k(this._$AH)?this._$AA.nextSibling.data=t:this.$(C.createTextNode(t)),this._$AH=t}g(t){var n;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=q.createElement(B(r.h,r.h[0]),this.options)),r);if((null===(n=this._$AH)||void 0===n?void 0:n._$AD)===i)this._$AH.v(e);else{const t=new Z(i,this),n=t.u(this.options);t.v(e),this.$(n),this._$AH=t}}_$AC(t){let n=D.get(t.strings);return void 0===n&&D.set(t.strings,n=new q(t)),n}T(t){O(this._$AH)||(this._$AH=[],this._$AR());const n=this._$AH;let e,r=0;for(const i of t)r===n.length?n.push(e=new K(this.k(E()),this.k(E()),this,this.options)):e=n[r],e._$AI(i),r++;r<n.length&&(this._$AR(e&&e._$AB.nextSibling,r),n.length=r)}_$AR(t=this._$AA.nextSibling,n){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,n);t&&t!==this._$AB;){const n=t.nextSibling;t.remove(),t=n}}setConnected(t){var n;void 0===this._$AM&&(this._$Cp=t,null===(n=this._$AP)||void 0===n||n.call(this,t))}}class J{constructor(t,n,e,r,i){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=n,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=L}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,n=this,e,r){const i=this.strings;let o=!1;if(void 0===i)t=G(this,t,n,0),o=!k(t)||t!==this._$AH&&t!==F,o&&(this._$AH=t);else{const r=t;let u,s;for(t=i[0],u=0;u<i.length-1;u++)s=G(this,r[e+u],n,u),s===F&&(s=this._$AH[u]),o||(o=!k(s)||s!==this._$AH[u]),s===L?t=L:t!==L&&(t+=(null!=s?s:"")+i[u+1]),this._$AH[u]=s}o&&!r&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends J{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}}const Q=x?x.emptyScript:"";class X extends J{constructor(){super(...arguments),this.type=4}j(t){t&&t!==L?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class tt extends J{constructor(t,n,e,r,i){super(t,n,e,r,i),this.type=5}_$AI(t,n=this){var e;if((t=null!==(e=G(this,t,n,0))&&void 0!==e?e:L)===F)return;const r=this._$AH,i=t===L&&r!==L||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==L&&(r===L||i);i&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var n,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(n=this.options)||void 0===n?void 0:n.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class nt{constructor(t,n,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){G(this,t)}}const et=m.litHtmlPolyfillSupport;var rt,it;null==et||et(q,K),(null!==(y=m.litHtmlVersions)&&void 0!==y?y:m.litHtmlVersions=[]).push("2.8.0");class ot extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,n;const e=super.createRenderRoot();return null!==(t=(n=this.renderOptions).renderBefore)&&void 0!==t||(n.renderBefore=e.firstChild),e}update(t){const n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,n,e)=>{var r,i;const o=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:n;let u=o._$litPart$;if(void 0===u){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;o._$litPart$=u=new K(n.insertBefore(E(),t),t,void 0,null!=e?e:{})}return u._$AI(t),u})(n,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return F}}ot.finalized=!0,ot._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:ot});const ut=globalThis.litElementPolyfillSupport;null==ut||ut({LitElement:ot}),(null!==(it=globalThis.litElementVersions)&&void 0!==it?it:globalThis.litElementVersions=[]).push("3.3.3");const st=(t,n)=>"method"===n.kind&&n.descriptor&&!("value"in n.descriptor)?{...n,finisher(e){e.createProperty(n.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:n.key,initializer(){"function"==typeof n.initializer&&(this[n.key]=n.initializer.call(this))},finisher(e){e.createProperty(n.key,t)}},at=(t,n,e)=>{n.constructor.createProperty(e,t)};function lt(t){return(n,e)=>void 0!==e?at(t,n,e):st(t,n)}function ct(t){return lt({...t,state:!0})}function ht(t,n){return(({finisher:t,descriptor:n})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,o=null!=n?{kind:"method",placement:"prototype",key:r,descriptor:n(e.key)}:{...e,key:r};return null!=t&&(o.finisher=function(n){t(n,r)}),o}{const i=e.constructor;void 0!==n&&Object.defineProperty(e,r,n(r)),null==t||t(i,r)}})({descriptor:e=>{const r={get(){var n,e;return null!==(e=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(n){const n="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[n]&&(this[n]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[n]}}return r}})}var ft;null===(ft=window.HTMLSlotElement)||void 0===ft||ft.prototype.assignedElements;var pt=u(472),dt=u(68),vt=u(154),gt=u.n(vt),_t=u(848),yt=u(944),mt=u(488),xt=function(t,n,e,r){var i,o=arguments.length,u=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,n,e,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(u=(o<3?i(u):o>3?i(n,e,u):i(n,e))||u);return o>3&&u&&Object.defineProperty(n,e,u),u};const bt=((t,...n)=>{const r=1===t.length?t[0]:n.reduce(((n,e,r)=>n+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new i(r,t,e)})`
|
|
3
3
|
:host {
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
@@ -72,24 +72,24 @@
|
|
|
72
72
|
.main-number.unknown, .main-number-unit.unknown {
|
|
73
73
|
font-size: unset;
|
|
74
74
|
}
|
|
75
|
-
`;let
|
|
75
|
+
`;let wt=class extends ot{static get styles(){return[bt]}constructor(){super(),this.decimals=0,this.loading=!1,this.config||(this.config=this.getDefaultConfig()),this.updateComplete.then((()=>{this.resizeObserver=new ResizeObserver((0,yt.debounce)((t=>{const n=t[0].contentRect;this.gaugeSize={width:n.width,height:n.height},this.updateComplete.then((()=>{this.setupGauge()}))}),200)),this.resizeObserver.observe(this._wrapperElem)}))}willUpdate(t){if(t.has("assetAttribute")){const t=this.assetAttribute[1],n=pt.AssetModelUtil.getAttributeDescriptor(t.name,this.asset.type);this.unit=vt.Util.resolveUnits(vt.Util.getAttributeUnits(t,n,this.asset.type)),this.value=null!=t.value?t.value:NaN}}updated(t){var n,e,r,i;t.has("value")&&(null===(n=this.gauge)||void 0===n||n.set(null!=this.value?this.value:NaN)),t.has("attrRef")&&(this.attrRef?this.loadData(this.attrRef):(this.assetAttribute=void 0,this.value=void 0)),t.has("min")&&null!=this.min&&this.gauge&&(this.gauge.setMinValue(this.min),this.gauge.set(null!=this.value?this.value:NaN)),t.has("max")&&null!=this.max&&this.gauge&&(this.gauge.maxValue=this.max,this.gauge.set(null!=this.value?this.value:NaN)),t.has("thresholds")&&this.thresholds&&(this.config.options.staticZones=[],this.thresholds.sort(((t,n)=>t[0]<n[0]?-1:1)).forEach(((t,n)=>{var e,r,i;const o=t[0],u=this.thresholds[n+1]?this.thresholds[n+1][0]:this.max,s={strokeStyle:t[1],min:this.min&&o&&this.min>o?this.min:this.max&&o&&this.max<o?this.max:o,max:this.max&&u&&this.max<u?this.max:this.min&&u&&this.min>u?this.min:u};null===(i=null===(r=null===(e=this.config)||void 0===e?void 0:e.options)||void 0===r?void 0:r.staticZones)||void 0===i||i.push(s)})),this.min&&(null===(r=null===(e=this.config)||void 0===e?void 0:e.options)||void 0===r?void 0:r.staticZones)&&(this.config.options.staticZones[0].min=this.min),this.gauge&&this.gauge.setOptions(null===(i=this.config)||void 0===i?void 0:i.options))}setupGauge(){var t;this.gauge=new dt.Gauge(this._gaugeElem),this.gauge.setOptions(null===(t=this.config)||void 0===t?void 0:t.options),this.gauge.maxValue=this.max?this.max:100,this.gauge.setMinValue(this.min?this.min:0),this.gauge.animationSpeed=1,this.gauge.set(null!=this.value?this.value:NaN),null==this.value&&this.attrRef&&this.loadData(this.attrRef)}getGaugeWidth(t,n=!0){if(!t)return"unset";const e=t.width,r=1.5*(n?t.height-this._detailsElem.clientHeight:t.height);return Math.min(e,r)+"px"}shouldShowLabel(t){return t.width>70&&t.height>100}getLabelSize(t){return t<120?"s":t<240?"m":t<320?"l":"xl"}render(){const t=null!=this.value?+this.value.toFixed(this.decimals):NaN,n=!this.gaugeSize||this.shouldShowLabel(this.gaugeSize),e=n&&this.gaugeSize?this.getLabelSize(this.gaugeSize.width):"unknown",r=this.getGaugeWidth(this.gaugeSize,n);return W`
|
|
76
76
|
<div style="position: relative; height: 100%; width: 100%;">
|
|
77
77
|
<div id="chart-wrapper" style="display: ${this.loading?"none":"flex"};">
|
|
78
|
-
<div id="chart-container" style="flex: 0 0 0; width: ${
|
|
78
|
+
<div id="chart-container" style="flex: 0 0 0; width: ${r};">
|
|
79
79
|
<canvas id="chart"></canvas>
|
|
80
80
|
</div>
|
|
81
81
|
<div id="details-container">
|
|
82
|
-
${
|
|
82
|
+
${n?W`
|
|
83
83
|
<div class="mainvalue-wrapper">
|
|
84
|
-
<span class="main-number-icon">${this.asset?(0,
|
|
85
|
-
<span class="main-number ${
|
|
86
|
-
<span class="main-number-unit ${
|
|
84
|
+
<span class="main-number-icon">${this.asset?(0,mt.getAssetDescriptorIconTemplate)(pt.AssetModelUtil.getAssetDescriptor(this.asset.type)):""}</span>
|
|
85
|
+
<span class="main-number ${e}">${t}</span>
|
|
86
|
+
<span class="main-number-unit ${e}">${this.unit?this.unit:""}</span>
|
|
87
87
|
</div>
|
|
88
88
|
`:void 0}
|
|
89
89
|
</div>
|
|
90
90
|
</div>
|
|
91
91
|
</div>
|
|
92
92
|
${this.loading?W`
|
|
93
|
-
<span>${
|
|
93
|
+
<span>${_t.i18next.t("loading")}</span>
|
|
94
94
|
`:void 0}
|
|
95
|
-
`}loadData(t){return function(t,n,e,r){return new(e||(e=Promise))((function(i,o){function u(t){try{a(r.next(t))}catch(t){o(t)}}function s(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var n;t.done?i(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(u,s)}a((r=r.apply(t,n||[])).next())}))}(this,void 0,void 0,(function*(){const n=(yield
|
|
95
|
+
`}loadData(t){return function(t,n,e,r){return new(e||(e=Promise))((function(i,o){function u(t){try{a(r.next(t))}catch(t){o(t)}}function s(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var n;t.done?i(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(u,s)}a((r=r.apply(t,n||[])).next())}))}(this,void 0,void 0,(function*(){const n=(yield gt().rest.api.AssetResource.queryAssets({ids:[t.id]})).data,e=[t].map((t=>{const e=n.findIndex((n=>n.id===t.id)),r=e>=0?n[e]:void 0;return r&&r.attributes?[e,r.attributes[t.name]]:void 0})).filter((t=>!!t));this.asset=n[0],this.assetAttribute=e[0]}))}getDefaultConfig(){return{attributeRef:void 0,options:{angle:0,lineWidth:.4,radiusScale:1,pointer:{length:.5,strokeWidth:.035,color:"#000000"},staticZones:[],limitMax:!0,limitMin:!0,colorStart:"#000000",colorStop:"#707070",strokeColor:"#ABCDEF",generateGradient:!1,highDpiSupport:!0}}}};var At;xt([lt({type:Object})],wt.prototype,"attrRef",void 0),xt([lt({type:Object})],wt.prototype,"asset",void 0),xt([lt({type:Object})],wt.prototype,"assetAttribute",void 0),xt([lt()],wt.prototype,"value",void 0),xt([lt()],wt.prototype,"decimals",void 0),xt([lt()],wt.prototype,"unit",void 0),xt([lt()],wt.prototype,"min",void 0),xt([lt()],wt.prototype,"max",void 0),xt([lt()],wt.prototype,"thresholds",void 0),xt([lt()],wt.prototype,"config",void 0),xt([lt({type:String})],wt.prototype,"realm",void 0),xt([ct()],wt.prototype,"loading",void 0),xt([ct()],wt.prototype,"gauge",void 0),xt([ct()],wt.prototype,"gaugeSize",void 0),xt([ht("#chart")],wt.prototype,"_gaugeElem",void 0),xt([ht("#chart-wrapper")],wt.prototype,"_wrapperElem",void 0),xt([ht("#details-container")],wt.prototype,"_detailsElem",void 0),wt=xt([(At="or-gauge",t=>"function"==typeof t?((t,n)=>(customElements.define(t,n),n))(At,t):((t,n)=>{const{kind:e,elements:r}=n;return{kind:e,elements:r,finisher(n){customElements.define(t,n)}}})(At,t))],wt)})(),s})()));
|