D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
share
/
grafana
/
public
/
build
/
Filename :
1109.d6020becd75a9e74e939.js
back
Copy
"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[1109],{11109:(ve,le,_e)=>{_e.d(le,{Uy:()=>Se});var $=Symbol.for("immer-nothing"),N=Symbol.for("immer-draftable"),_=Symbol.for("immer-state"),Oe=[];function P(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var C=Object.getPrototypeOf;function M(e){return!!e&&!!e[_]}function D(e){return e?re(e)||Array.isArray(e)||!!e[N]||!!e.constructor?.[N]||T(e)||U(e):!1}var de=Object.prototype.constructor.toString();function re(e){if(!e||typeof e!="object")return!1;const t=C(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===de}function Ae(e){return M(e)||P(15,e),e[_].base_}function E(e,t){k(e)===0?Object.entries(e).forEach(([r,n])=>{t(r,n,e)}):e.forEach((r,n)=>t(n,r,e))}function k(e){const t=e[_];return t?t.type_:Array.isArray(e)?1:T(e)?2:U(e)?3:0}function I(e,t){return k(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function q(e,t){return k(e)===2?e.get(t):e[t]}function ne(e,t,r){const n=k(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function he(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function T(e){return e instanceof Map}function U(e){return e instanceof Set}function z(e){return e.copy_||e.base_}function Q(e,t){if(T(e))return new Map(e);if(U(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&re(e))return C(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[_];let n=Reflect.ownKeys(r);for(let o=0;o<n.length;o++){const u=n[o],a=r[u];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[u]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[u]})}return Object.create(C(e),r)}function Y(e,t=!1){return G(e)||M(e)||!D(e)||(k(e)>1&&(e.set=e.add=e.clear=e.delete=pe),Object.freeze(e),t&&E(e,(r,n)=>Y(n,!0),!0)),e}function pe(){P(2)}function G(e){return Object.isFrozen(e)}var Z={};function x(e){const t=Z[e];return t||P(0,e),t}function ie(e,t){Z[e]||(Z[e]=t)}var W;function H(){return W}function ye(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function se(e,t){t&&(x("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function L(e){V(e),e.drafts_.forEach(ge),e.drafts_=null}function V(e){e===W&&(W=e.parent_)}function oe(e){return W=ye(W,e)}function ge(e){const t=e[_];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ce(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[_].modified_&&(L(t),P(4)),D(e)&&(e=J(t,e),t.parent_||X(t,e)),t.patches_&&x("Patches").generateReplacementPatches_(r[_].base_,e,t.patches_,t.inversePatches_)):e=J(t,r,[]),L(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==$?e:void 0}function J(e,t,r){if(G(t))return t;const n=t[_];if(!n)return E(t,(o,u)=>fe(e,n,t,o,u,r),!0),t;if(n.scope_!==e)return t;if(!n.modified_)return X(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const o=n.copy_;let u=o,a=!1;n.type_===3&&(u=new Set(o),o.clear(),a=!0),E(u,(c,i)=>fe(e,n,o,c,i,r,a)),X(e,o,!1),r&&e.patches_&&x("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function fe(e,t,r,n,o,u,a){if(M(o)){const c=u&&t&&t.type_!==3&&!I(t.assigned_,n)?u.concat(n):void 0,i=J(e,o,c);if(ne(r,n,i),M(i))e.canAutoFreeze_=!1;else return}else a&&r.add(o);if(D(o)&&!G(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;J(e,o),(!t||!t.scope_.parent_)&&X(e,o)}}function X(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Y(t,r)}function me(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:H(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,u=j;r&&(o=[n],u=B);const{revoke:a,proxy:c}=Proxy.revocable(o,u);return n.draft_=c,n.revoke_=a,c}var j={get(e,t){if(t===_)return e;const r=z(e);if(!I(r,t))return we(e,r,t);const n=r[t];return e.finalized_||!D(n)?n:n===ee(e.base_,t)?(te(e),e.copy_[t]=K(n,e)):n},has(e,t){return t in z(e)},ownKeys(e){return Reflect.ownKeys(z(e))},set(e,t,r){const n=ae(z(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const o=ee(z(e),t),u=o?.[_];if(u&&u.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(he(r,o)&&(r!==void 0||I(e.base_,t)))return!0;te(e),b(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return ee(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,te(e),b(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=z(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){P(11)},getPrototypeOf(e){return C(e.base_)},setPrototypeOf(){P(12)}},B={};E(j,(e,t)=>{B[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),B.deleteProperty=function(e,t){return B.set.call(this,e,t,void 0)},B.set=function(e,t,r){return j.set.call(this,e[0],t,r,e[0])};function ee(e,t){const r=e[_];return(r?z(r):e)[t]}function we(e,t,r){const n=ae(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}function ae(e,t){if(!(t in e))return;let r=C(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=C(r)}}function b(e){e.modified_||(e.modified_=!0,e.parent_&&b(e.parent_))}function te(e){e.copy_||(e.copy_=Q(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Pe=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const u=r;r=t;const a=this;return function(i=u,...s){return a.produce(i,d=>r.call(this,d,...s))}}typeof r!="function"&&P(6),n!==void 0&&typeof n!="function"&&P(7);let o;if(D(t)){const u=oe(this),a=K(t,void 0);let c=!0;try{o=r(a),c=!1}finally{c?L(u):V(u)}return se(u,n),ce(o,u)}else if(!t||typeof t!="object"){if(o=r(t),o===void 0&&(o=t),o===$&&(o=void 0),this.autoFreeze_&&Y(o,!0),n){const u=[],a=[];x("Patches").generateReplacementPatches_(t,o,u,a),n(u,a)}return o}else P(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...c)=>this.produceWithPatches(a,i=>t(i,...c));let n,o;return[this.produce(t,r,(a,c)=>{n=a,o=c}),n,o]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){D(e)||P(8),M(e)&&(e=ze(e));const t=oe(this),r=K(e,void 0);return r[_].isManual_=!0,V(t),r}finishDraft(e,t){const r=e&&e[_];(!r||!r.isManual_)&&P(9);const{scope_:n}=r;return se(n,t),ce(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const o=t[r];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}r>-1&&(t=t.slice(r+1));const n=x("Patches").applyPatches_;return M(e)?n(e,t):this.produce(e,o=>n(o,t))}};function K(e,t){const r=T(e)?x("MapSet").proxyMap_(e,t):U(e)?x("MapSet").proxySet_(e,t):me(e,t);return(t?t.scope_:H()).drafts_.push(r),r}function ze(e){return M(e)||P(10,e),ue(e)}function ue(e){if(!D(e)||G(e))return e;const t=e[_];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Q(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Q(e,!0);return E(r,(n,o)=>{ne(r,n,ue(o))}),t&&(t.finalized_=!1),r}function De(){const t="replace",r="add",n="remove";function o(f,w,p,g){switch(f.type_){case 0:case 2:return a(f,w,p,g);case 1:return u(f,w,p,g);case 3:return c(f,w,p,g)}}function u(f,w,p,g){let{base_:S,assigned_:y}=f,m=f.copy_;m.length<S.length&&([S,m]=[m,S],[p,g]=[g,p]);for(let l=0;l<S.length;l++)if(y[l]&&m[l]!==S[l]){const h=w.concat([l]);p.push({op:t,path:h,value:v(m[l])}),g.push({op:t,path:h,value:v(S[l])})}for(let l=S.length;l<m.length;l++){const h=w.concat([l]);p.push({op:r,path:h,value:v(m[l])})}for(let l=m.length-1;S.length<=l;--l){const h=w.concat([l]);g.push({op:n,path:h})}}function a(f,w,p,g){const{base_:S,copy_:y}=f;E(f.assigned_,(m,l)=>{const h=q(S,m),R=q(y,m),F=l?I(S,m)?t:r:n;if(h===R&&F===t)return;const O=w.concat(m);p.push(F===n?{op:F,path:O}:{op:F,path:O,value:R}),g.push(F===r?{op:n,path:O}:F===n?{op:r,path:O,value:v(h)}:{op:t,path:O,value:v(h)})})}function c(f,w,p,g){let{base_:S,copy_:y}=f,m=0;S.forEach(l=>{if(!y.has(l)){const h=w.concat([m]);p.push({op:n,path:h,value:l}),g.unshift({op:r,path:h,value:l})}m++}),m=0,y.forEach(l=>{if(!S.has(l)){const h=w.concat([m]);p.push({op:r,path:h,value:l}),g.unshift({op:n,path:h,value:l})}m++})}function i(f,w,p,g){p.push({op:t,path:[],value:w===$?void 0:w}),g.push({op:t,path:[],value:f})}function s(f,w){return w.forEach(p=>{const{path:g,op:S}=p;let y=f;for(let R=0;R<g.length-1;R++){const F=k(y);let O=g[R];typeof O!="string"&&typeof O!="number"&&(O=""+O),(F===0||F===1)&&(O==="__proto__"||O==="constructor")&&P(16+3),typeof y=="function"&&O==="prototype"&&P(16+3),y=q(y,O),typeof y!="object"&&P(16+2,g.join("/"))}const m=k(y),l=d(p.value),h=g[g.length-1];switch(S){case t:switch(m){case 2:return y.set(h,l);case 3:P(16);default:return y[h]=l}case r:switch(m){case 1:return h==="-"?y.push(l):y.splice(h,0,l);case 2:return y.set(h,l);case 3:return y.add(l);default:return y[h]=l}case n:switch(m){case 1:return y.splice(h,1);case 2:return y.delete(h);case 3:return y.delete(p.value);default:return delete y[h]}default:P(16+1,S)}}),f}function d(f){if(!D(f))return f;if(Array.isArray(f))return f.map(d);if(T(f))return new Map(Array.from(f.entries()).map(([p,g])=>[p,d(g)]));if(U(f))return new Set(Array.from(f).map(d));const w=Object.create(C(f));for(const p in f)w[p]=d(f[p]);return I(f,N)&&(w[N]=f[N]),w}function v(f){return M(f)?d(f):f}ie("Patches",{applyPatches_:s,generatePatches_:o,generateReplacementPatches_:i})}function be(){class e extends Map{constructor(i,s){super(),this[_]={type_:2,parent_:s,scope_:s?s.scope_:H(),modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:i,draft_:this,isManual_:!1,revoked_:!1}}get size(){return z(this[_]).size}has(i){return z(this[_]).has(i)}set(i,s){const d=this[_];return a(d),(!z(d).has(i)||z(d).get(i)!==s)&&(r(d),b(d),d.assigned_.set(i,!0),d.copy_.set(i,s),d.assigned_.set(i,!0)),this}delete(i){if(!this.has(i))return!1;const s=this[_];return a(s),r(s),b(s),s.base_.has(i)?s.assigned_.set(i,!1):s.assigned_.delete(i),s.copy_.delete(i),!0}clear(){const i=this[_];a(i),z(i).size&&(r(i),b(i),i.assigned_=new Map,E(i.base_,s=>{i.assigned_.set(s,!1)}),i.copy_.clear())}forEach(i,s){const d=this[_];z(d).forEach((v,f,w)=>{i.call(s,this.get(f),f,this)})}get(i){const s=this[_];a(s);const d=z(s).get(i);if(s.finalized_||!D(d)||d!==s.base_.get(i))return d;const v=K(d,s);return r(s),s.copy_.set(i,v),v}keys(){return z(this[_]).keys()}values(){const i=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{const s=i.next();return s.done?s:{done:!1,value:this.get(s.value)}}}}entries(){const i=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{const s=i.next();if(s.done)return s;const d=this.get(s.value);return{done:!1,value:[s.value,d]}}}}[Symbol.iterator](){return this.entries()}}function t(c,i){return new e(c,i)}function r(c){c.copy_||(c.assigned_=new Map,c.copy_=new Map(c.base_))}class n extends Set{constructor(i,s){super(),this[_]={type_:3,parent_:s,scope_:s?s.scope_:H(),modified_:!1,finalized_:!1,copy_:void 0,base_:i,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return z(this[_]).size}has(i){const s=this[_];return a(s),s.copy_?!!(s.copy_.has(i)||s.drafts_.has(i)&&s.copy_.has(s.drafts_.get(i))):s.base_.has(i)}add(i){const s=this[_];return a(s),this.has(i)||(u(s),b(s),s.copy_.add(i)),this}delete(i){if(!this.has(i))return!1;const s=this[_];return a(s),u(s),b(s),s.copy_.delete(i)||(s.drafts_.has(i)?s.copy_.delete(s.drafts_.get(i)):!1)}clear(){const i=this[_];a(i),z(i).size&&(u(i),b(i),i.copy_.clear())}values(){const i=this[_];return a(i),u(i),i.copy_.values()}entries(){const i=this[_];return a(i),u(i),i.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(i,s){const d=this.values();let v=d.next();for(;!v.done;)i.call(s,v.value,v.value,this),v=d.next()}}function o(c,i){return new n(c,i)}function u(c){c.copy_||(c.copy_=new Set,c.base_.forEach(i=>{if(D(i)){const s=K(i,c);c.drafts_.set(i,s),c.copy_.add(s)}else c.copy_.add(i)}))}function a(c){c.revoked_&&P(3,JSON.stringify(z(c)))}ie("MapSet",{proxyMap_:t,proxySet_:o})}var A=new Pe,Se=A.produce,Fe=A.produceWithPatches.bind(A),Me=A.setAutoFreeze.bind(A),Ce=A.setUseStrictShallowCopy.bind(A),Ee=A.applyPatches.bind(A),ke=A.createDraft.bind(A),xe=A.finishDraft.bind(A);function Re(e){return e}function Ne(e){return e}}}]); //# sourceMappingURL=1109.d6020becd75a9e74e939.js.map