D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
grafana
/
public
/
build
/
Filename :
1107.ffbf603d3628c7f49f69.js
back
Copy
(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[1107],{34990:function(Oe,hr,se){(function(U,m){Oe.exports=m(se(27702),se(89949))})(this,function(U,m){"use strict";function Ne(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function Pe(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if(t!=="default"){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var _e=Ne(U),Se=Pe(U),a={React:void 0,options:void 0,origCreateElement:void 0,origCreateFactory:void 0,origCloneElement:void 0,componentsMap:new WeakMap,ownerDataMap:new WeakMap,hooksPerRender:[]};function fe(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function x(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?fe(Object(t),!0).forEach(function(n){R(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fe(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function F(e){"@babel/helpers - typeof";return F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},F(e)}function be(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function ue(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ce(e,r,t){return r&&ue(e.prototype,r),t&&ue(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function R(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Te(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&B(e,r)}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},O(e)}function B(e,r){return B=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B(e,r)}function xe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function je(e,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return G(e)}function He(e){var r=xe();return function(){var n=O(e),o;if(r){var i=O(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return je(this,o)}}function Fe(e,r){for(;!Object.prototype.hasOwnProperty.call(e,r)&&(e=O(e),e!==null););return e}function P(){return typeof Reflect<"u"&&Reflect.get?P=Reflect.get:P=function(r,t,n){var o=Fe(r,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?r:n):i.value}},P.apply(this,arguments)}function Y(e,r){return Me(e)||Ie(e,r)||V(e,r)||Ue()}function g(e){return Ye(e)||We(e)||V(e)||Le()}function Ye(e){if(Array.isArray(e))return A(e)}function Me(e){if(Array.isArray(e))return e}function We(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ie(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n=[],o=!0,i=!1,s,f;try{for(t=t.call(e);!(o=(s=t.next()).done)&&(n.push(s.value),!(r&&n.length===r));o=!0);}catch(u){i=!0,f=u}finally{try{!o&&t.return!=null&&t.return()}finally{if(i)throw f}}return n}}function V(e,r){if(e){if(typeof e=="string")return A(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return A(e,r)}}function A(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Le(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Be(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=V(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,f;return{s:function(){t=t.call(e)},n:function(){var u=t.next();return i=u.done,u},e:function(u){s=!0,f=u},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(s)throw f}}}}var E,l={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function",same:"same"},ce=(E={},R(E,l.different,"different objects"),R(E,l.deepEquals,"different objects that are equal by value"),R(E,l.date,"different date objects with the same value"),R(E,l.regex,"different regular expressions with the same value"),R(E,l.reactElement,"different React elements (remember that the <jsx/> syntax always produces a *NEW* immutable React element so a component that receives <jsx/> as props always re-renders)"),R(E,l.function,"different functions with the same name"),R(E,l.same,"same objects by ref (===)"),E),pe=typeof Symbol=="function"&&Symbol.for,Ge=pe?Symbol.for("react.memo"):60115,Ve=pe?Symbol.for("react.forward_ref"):60112,Ae=Number(_e.default.version.split(".")[0])||0,$e=Ae>=18?8:1,qe=typeof Element<"u",ze=typeof Symbol=="function"&&Symbol.for,Je=ze?Symbol.for("react.element"):60103,le=function(r){return r.$$typeof===Je};function y(e,r,t,n,o){return t.push({diffType:o,pathString:n,prevValue:e,nextValue:r}),o!==l.different}function Qe(e,r){return!!Object.getOwnPropertyDescriptor(e,r).get}var $=new WeakMap;function j(e,r,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",o=arguments.length>4?arguments[4]:void 0,i=o.detailed;if(e===r)return i&&y(e,r,t,n,l.same),!0;if(!e||!r)return y(e,r,t,n,l.different);if(m.isArray(e)&&m.isArray(r)){var s=e.length;if(s!==r.length)return y(g(e),g(r),t,n,l.different);for(var f=[],u=0,p=s;p--;p>0){var c=j(e[p],r[p],f,"".concat(n,"[").concat(p,"]"),{detailed:i});c&&u++}return(i||u!==s)&&t.push.apply(t,f),u===s?y(g(e),g(r),t,n,l.deepEquals):y(g(e),g(r),t,n,l.different)}if(m.isSet(e)&&m.isSet(r)){if(e.size!==r.size)return y(new Set(e),new Set(r),t,n,l.different);var d=Be(e),h;try{for(d.s();!(h=d.n()).done;){var v=h.value;if(!r.has(v))return y(new Set(e),new Set(r),t,n,l.different)}}catch(L){d.e(L)}finally{d.f()}return y(new Set(e),new Set(r),t,n,l.deepEquals)}if(m.isDate(e)&&m.isDate(r))return e.getTime()===r.getTime()?y(new Date(e),new Date(r),t,n,l.date):y(new Date(e),new Date(r),t,n,l.different);if(m.isRegExp(e)&&m.isRegExp(r))return e.toString()===r.toString()?y(e,r,t,n,l.regex):y(e,r,t,n,l.different);if(qe&&e instanceof Element&&r instanceof Element)return y(e,r,t,n,l.different);if(le(e)&&le(r)){if(e.type!==r.type)return y(e,r,t,n,l.different);var w=j(e.props,r.props,[],"".concat(n,".props"),{detailed:i});return w?y(e,r,t,n,l.reactElement):y(e,r,t,n,l.different)}if(m.isFunction(e)&&m.isFunction(r)){if(e.name!==r.name)return y(e,r,t,n,l.different);var k=$.get(e),D=$.get(r);if(k&&D){var C=j(k.deps,D.deps,t,"".concat(n,":parent-hook-").concat(k.hookName,"-deps"),{detailed:i});return C?y(e,r,t,n,l.function):y(e,r,t,n,l.different)}return y(e,r,t,n,l.function)}if(F(e)==="object"&&F(r)==="object"&&Object.getPrototypeOf(e)===Object.getPrototypeOf(r)){var T=Object.getOwnPropertyNames(e),De=Object.getOwnPropertyNames(r),re=m.uniq([].concat(g(T),g(De))),M=m.isPlainObject(e)?x({},e):e,W=m.isPlainObject(r)?x({},r):r;if(re.length!==T.length||re.length!==De.length)return y(M,W,t,n,l.different);for(var te=re.filter(function(L){return!(L==="stack"&&m.isError(e)||Qe(e,L))}),I=te.length,ne=I;ne--;ne>0)if(!m.has(r,te[ne]))return y(M,W,t,n,l.different);for(var Ee=[],oe=0,ae=I;ae--;ae>0){var ie=te[ae],vr=j(e[ie],r[ie],Ee,"".concat(n,".").concat(ie),{detailed:i});vr&&oe++}return(i||oe!==I)&&t.push.apply(t,Ee),oe===I?y(M,W,t,n,l.deepEquals):y(M,W,t,n,l.different)}return y(e,r,t,n,l.different)}function q(e,r,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=n.detailed,i=o===void 0?!1:o;try{var s=[];return j(e,r,s,t,{detailed:i}),s}catch(f){if(f.message&&f.message.match(/stack|recursion/i)||f.number===-2146828260)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",f.name,f.message),!1;throw f}}function Xe(e,r,t){var n=t.pathString,o=t.consoleLog,i=q(e,r,n,{detailed:!0}),s=Math.max.apply(Math,g(i.map(function(f){return f.pathString.length})))+2;Object.entries(m.groupBy(m.sortBy(i,"pathString"),"diffType")).forEach(function(f){var u=Y(f,2),p=u[0],c=u[1];o("%c".concat(ce[p],":"),"text-decoration: underline; color: blue;"),c.forEach(function(d){o("".concat(d.pathString,":").padEnd(s," "),d.prevValue)})})}var z="http://bit.ly/wdyr02",Ze="http://bit.ly/wdyr3",Ke=!1;function er(e,r){if(Ke)return!1;if(a.options.logOnDifferentValues||r.whyDidYouRender&&r.whyDidYouRender.logOnDifferentValues)return!0;var t=e.propsDifferences&&e.propsDifferences.some(function(n){return n.diffType===l.different})||e.stateDifferences&&e.stateDifferences.some(function(n){return n.diffType===l.different})||e.hookDifferences&&e.hookDifferences.some(function(n){return n.diffType===l.different});return!t}function _(e){var r=e.Component,t=e.displayName,n=e.hookName,o=e.prefixMessage,i=e.diffObjType,s=e.differences,f=e.values;s&&s.length>0?(a.options.consoleLog(R({},t,r),"".concat(o," of ").concat(i," changes:")),s.forEach(function(u){var p=u.pathString,c=u.diffType,d=u.prevValue,h=u.nextValue;function v(){Xe(d,h,{pathString:p,consoleLog:a.options.consoleLog})}a.options.consoleGroup("%c".concat(i==="hook"?"[hook ".concat(n," result]"):"".concat(i,"."),"%c").concat(p,"%c"),"color:".concat(a.options.diffNameColor,";"),"color:".concat(a.options.diffPathColor,";"),"color:default;"),a.options.consoleLog("".concat(ce[c],". (more info at ").concat(n?Ze:z,")")),a.options.consoleLog(R({},"prev ".concat(p),d),"!==",R({},"next ".concat(p),h)),c===l.deepEquals&&a.options.consoleLog({"For detailed diff, right click the following fn, save as global, and run: ":v}),a.options.consoleGroupEnd()})):s&&(a.options.consoleLog(R({},t,r),"".concat(o," the ").concat(i," object itself changed but its values are all equal."),i==="props"?"This could have been avoided by making the component pure, or by preventing its father from re-rendering.":"This usually means this component called setState when no changes in its state actually occurred.","More info at ".concat(z)),a.options.consoleLog("prev ".concat(i,":"),f.prev," !== ",f.next,":next ".concat(i)))}function de(e){var r=e.Component,t=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,s=e.prevHook,f=e.nextProps,u=e.nextState,p=e.nextHook,c=e.reason;if(er(c,r,a.options)){a.options.consoleGroup("%c".concat(t),"color: ".concat(a.options.titleColor,";"));var d="Re-rendered because";if(c.propsDifferences&&(_({Component:r,displayName:t,prefixMessage:d,diffObjType:"props",differences:c.propsDifferences,values:{prev:o,next:f}}),d="And because"),c.stateDifferences&&_({Component:r,displayName:t,prefixMessage:d,diffObjType:"state",differences:c.stateDifferences,values:{prev:i,next:u}}),c.hookDifferences&&_({Component:r,displayName:t,prefixMessage:d,diffObjType:"hook",differences:c.hookDifferences,values:{prev:s,next:p},hookName:n}),c.propsDifferences&&c.ownerDifferences){var h=a.ownerDataMap.get(o),v=a.ownerDataMap.get(f);a.options.consoleGroup("Rendered by ".concat(v.displayName));var w="Re-rendered because";c.ownerDifferences.propsDifferences&&(_({Component:v.Component,displayName:v.displayName,prefixMessage:w,diffObjType:"props",differences:c.ownerDifferences.propsDifferences,values:{prev:h.props,next:v.props}}),w="And because"),c.ownerDifferences.stateDifferences&&_({Component:v.Component,displayName:v.displayName,prefixMessage:w,diffObjType:"state",differences:c.ownerDifferences.stateDifferences,values:{prev:h.state,next:v.state}}),c.ownerDifferences.hookDifferences&&c.ownerDifferences.hookDifferences.forEach(function(k,D){var C=k.hookName,T=k.differences;return _({Component:v.Component,displayName:v.displayName,prefixMessage:w,diffObjType:"hook",differences:T,values:{prev:h.hooks[D].result,next:v.hooks[D].result},hookName:C})}),a.options.consoleGroupEnd()}!c.propsDifferences&&!c.stateDifferences&&!c.hookDifferences&&a.options.consoleLog(R({},t,r),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(z)),a.options.consoleGroupEnd()}}function rr(e){return de}var tr=function(){};function nr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=console.group,t=console.groupEnd;e.collapseGroups?r=console.groupCollapsed:e.onlyLogs&&(r=console.log,t=tr);var n=e.notifier||rr("hotReloadBufferMs"in e?e.hotReloadBufferMs:500);return x({include:null,exclude:null,notifier:n,onlyLogs:!1,consoleLog:console.log,consoleGroup:r,consoleGroupEnd:t,logOnDifferentValues:!1,logOwnerReasons:!0,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red",trackExtraHooks:[],trackAllPureComponents:!1},e)}function N(e){return e.displayName||e.name||e.type&&N(e.type)||e.render&&N(e.render)||(m.isString(e)?e:"Unknown")}function J(e){return e.defaultProps||e.type&&J(e.type)||e.render&&J(e.render)||{}}var me={};function S(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=t.shallow,o=n===void 0?!0:n;if(e===r)return!1;if(!o)return q(e,r);var i=e||me,s=r||me,f=Object.keys(x(x({},i),s));return m.reduce(f,function(u,p){var c=q(i[p],s[p],p);return c&&(u=[].concat(g(u),g(c))),u},[])}function or(e){var r=e.prevOwnerData,t=e.nextOwnerData;if(!r||!t)return!1;var n=r.hooks.length===t.hooks.length*2?r.hooks.slice(r.hooks.length/2):r.hooks,o=n.map(function(i,s){var f=i.hookName,u=i.result;return{hookName:f,differences:S(u,t.hooks[s].result,{shallow:!1})}});return{propsDifferences:S(r.props,t.props),stateDifferences:S(r.state,t.state),hookDifferences:o.length>0?o:!1}}function ar(e,r,t,n,o,i){var s=a.ownerDataMap.get(e),f=a.ownerDataMap.get(n);return{propsDifferences:S(e,n),stateDifferences:S(r,o),hookDifferences:S(t,i,{shallow:!1}),ownerDifferences:or({prevOwnerData:s,nextOwnerData:f})}}function Q(e){var r=e.Component,t=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,s=e.prevHook,f=e.nextProps,u=e.nextState,p=e.nextHook;return{Component:r,displayName:t,hookName:n,prevProps:o,prevState:i,prevHook:s,nextProps:f,nextState:u,nextHook:p,reason:ar(o,i,s,f,u,p)}}function ir(e){for(var r=e&&(e._reactInternalFiber||e._reactInternals);r;){if(r.mode&$e)return!0;r=r.return}return!1}function ye(e){return e.prototype&&!!e.prototype.isReactComponent}function H(e){return e.$$typeof===Ge}function X(e){return e.$$typeof===Ve}function sr(e){return a.options.include&&a.options.include.length>0&&a.options.include.some(function(r){return r.test(e)})}function fr(e){return a.options.exclude&&a.options.exclude.length>0&&a.options.exclude.some(function(r){return r.test(e)})}function ve(e,r){var t=r.isHookChange,n=N(e);return fr(n)||e.whyDidYouRender===!1||t&&e.whyDidYouRender&&e.whyDidYouRender.trackHooks===!1?!1:!!(e.whyDidYouRender||a.options.trackAllPureComponents&&(e&&e.prototype instanceof a.React.PureComponent||H(e))||sr(n))}function he(e,r){var t=r.displayName,n=r.defaultProps,o=function(i){Te(f,i);var s=He(f);function f(u,p){var c,d;be(this,f),d=s.call(this,u,p),d._WDYR={renderNumber:0};var h=P((c=G(d),O(f.prototype)),"render",c)||d.render,v=h!==e.prototype.render;return v&&(d.render=function(){return f.prototype.render.apply(G(d)),h()}),d}return Ce(f,[{key:"render",value:function(){if(this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=ir(this)),!(this._WDYR.isStrictMode&&this._WDYR.renderNumber%2===1)){if(this._WDYR.prevProps){var p=Q({Component:e,displayName:t,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state});a.options.notifier(p)}this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state}return P(O(f.prototype),"render",this)?P(O(f.prototype),"render",this).call(this):null}}]),f}(e);try{o.displayName=t}catch{}return o.defaultProps=n,m.defaults(o,e),o}var ur=function(r){return function(t){return a.React.createElement(r,t)}};function Z(e,r){var t=r.isPure,n=r.displayName,o=r.defaultProps,i=typeof e=="string"?ur(e):e;function s(){var f=arguments[0],u=a.React.useRef(),p=u.current;if(u.current=f,p){var c=Q({Component:i,displayName:n,prevProps:p,nextProps:f}),d=!c.reason.propsDifferences||t&&c.reason.propsDifferences.length===0;d||a.options.notifier(c)}return i.apply(void 0,arguments)}try{s.displayName=n}catch{}return s.defaultProps=o,s.ComponentForHooksTracking=i,m.defaults(s,i),s}function ge(e,r){var t=r.displayName,n=r.defaultProps,o=e.type,i=ye(o),s=X(o),f=H(o),u=s?o.render:o,p=i?he(u,{displayName:t,defaultProps:n}):f?ge(u,{displayName:t,defaultProps:n}):Z(u,{displayName:t,isPure:!0});try{p.displayName=N(u)}catch{}p.ComponentForHooksTracking=e,m.defaults(p,u);var c=a.React.memo(s?a.React.forwardRef(p):p,e.compare);try{c.displayName=t}catch{}return c.defaultProps=n,m.defaults(c,e),c}function cr(e,r){var t=r.displayName,n=r.defaultProps,o=e.render,i=H(o),s=i?o.type:o,f=Z(s,{isPure:i,displayName:t});f.displayName=N(s),f.ComponentForHooksTracking=s,m.defaults(f,s);var u=a.React.forwardRef(i?a.React.memo(f,o.compare):f);try{u.displayName=t}catch{}return u.defaultProps=n,m.defaults(u,e),u}var Re=Symbol("initial-hook-value");function pr(e,r,t){var n=r.path,o=n?m.get(t,n):t,i=a.React.useRef(!0),s=a.hooksPerRender[0]&&a.hooksPerRender[0].renderNumberForTheHook!==i.current;s&&(a.hooksPerRender=[]),a.hooksPerRender.push({hookName:e,result:o,renderNumberForTheHook:i.current}),i.current++;var f=a.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED&&a.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current,u=a.React.useRef(Re);if(!f)return t;var p=f.type.ComponentForHooksTracking||f.type,c=N(p),d=ve(p,{isHookChange:!0});if(!d)return t;var h=u.current;if(u.current=t,h!==Re){var v=Q({Component:p,displayName:c,hookName:e,prevHook:n?m.get(h,n):h,nextHook:o});v.reason.hookDifferences&&a.options.notifier(v)}return t}function lr(e,r){var t=r.displayName,n=r.defaultProps;return H(e)?ge(e,{displayName:t,defaultProps:n}):X(e)?cr(e,{displayName:t,defaultProps:n}):ye(e)?he(e,{displayName:t,defaultProps:n}):Z(e,{displayName:t,defaultProps:n,isPure:!1})}function dr(e,r){var t=r.displayName,n=r.defaultProps;if(a.componentsMap.has(e))return a.componentsMap.get(e);var o=lr(e,{displayName:t,defaultProps:n});return a.componentsMap.set(e,o),o}function K(e){if(!e)return!1;if(H(e))return K(e.type);if(X(e))return K(e.render);if(typeof e=="function")return!0}var ke={useState:{path:"0"},useReducer:{path:"0"},useContext:void 0,useMemo:{dependenciesPath:"1",dontReport:!0},useCallback:{dependenciesPath:"1",dontReport:!0}};function ee(e){var r=a.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(r){var t=r.type.ComponentForHooksTracking||r.type,n=N(t),o={};a.options.getAdditionalOwnerData&&(o=a.options.getAdditionalOwnerData(e)),a.ownerDataMap.set(e.props,{Component:t,displayName:n,props:r.pendingProps,state:r.stateNode?r.stateNode.state:null,hooks:a.hooksPerRender,additionalOwnerData:o})}}function mr(){var e=null;a.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED&&Object.defineProperty(a.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,"current",{get:function(){return e},set:function(t){e=t,a.hooksPerRender=[]}})}function yr(){var e=!!a.React.useState;if(a.options.trackHooks&&e){var r=Object.entries(ke).map(function(n){var o=Y(n,2),i=o[0],s=o[1];return[a.React,i,s]}),t=[].concat(g(r),g(a.options.trackExtraHooks));t.forEach(function(n){var o=Y(n,3),i=o[0],s=o[1],f=o[2],u=f===void 0?{}:f,p=i[s],c=s[0].toUpperCase()+s.slice(1),d=function(){for(var v=arguments.length,w=new Array(v),k=0;k<v;k++)w[k]=arguments[k];var D=p.call.apply(p,[this].concat(w)),C=u.dependenciesPath,T=u.dontReport;return C&&m.isFunction(D)&&$.set(D,{hookName:s,deps:m.get(w,C)}),T||pr(s,u,D),D};Object.defineProperty(d,"name",{value:c,writable:!1}),Object.assign(d,{originalHook:p}),i[s]=d})}}function we(e){var r=K(e)&&ve(e,{isHookChange:!1});if(!r)return null;var t=e&&e.whyDidYouRender&&e.whyDidYouRender.customName||N(e),n=J(e),o=dr(e,{displayName:t,defaultProps:n});return o}function b(e,r){if(!e.isWDYR)return Object.assign(a,{React:e,options:nr(r),origCreateElement:e.createElement,origCreateFactory:e.createFactory,origCloneElement:e.cloneElement,componentsMap:new WeakMap}),mr(),e.createElement=function(t){for(var n=we(t),o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];if(n)try{var f=a.origCreateElement.apply(e,[n].concat(i));return a.options.logOwnerReasons&&ee(f),f}catch(u){a.options.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{error:u,componentNameOrComponent:t,rest:i,options:a.options}})}return a.origCreateElement.apply(e,[t].concat(i))},Object.assign(e.createElement,a.origCreateElement),e.createFactory=function(t){var n=e.createElement.bind(null,t);return n.type=t,n},Object.assign(e.createFactory,a.origCreateFactory),e.cloneElement=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var i=a.origCloneElement.apply(e,n);return a.options.logOwnerReasons&&ee(i),i},Object.assign(e.cloneElement,a.origCloneElement),yr(),e.isWDYR=!0,e.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(e,{createElement:a.origCreateElement,createFactory:a.origCreateFactory,cloneElement:a.origCloneElement}),a.componentsMap=null;var t=[].concat(g(Object.keys(ke).map(function(n){return[e,n]})),g(a.options.trackExtraHooks));t.forEach(function(n){var o=Y(n,2),i=o[0],s=o[1];i[s].originalHook&&(i[s]=i[s].originalHook)}),delete e.__REVERT_WHY_DID_YOU_RENDER__,delete e.isWDYR},e}return b.defaultNotifier=de,b.wdyrStore=a,b.storeOwnerData=ee,b.getWDYRType=we,Object.assign(b,Se),b})}}]); //# sourceMappingURL=1107.ffbf603d3628c7f49f69.js.map