"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1932],{1932:(e,t,r)=>{r.d(t,{ht:()=>q,jM:()=>$});var n=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),i=Symbol.for("immer-state");function c(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var s=Object.getPrototypeOf;function a(e){return!!e&&!!e[i]}function u(e){return!!e&&(_(e)||Array.isArray(e)||!!e[o]||!!e.constructor?.[o]||h(e)||b(e))}var f=Object.prototype.constructor.toString();function _(e){if(!e||"object"!=typeof e)return!1;const t=s(e);if(null===t)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===f}function l(e,t){0===p(e)?Reflect.ownKeys(e).forEach((r=>{t(r,e[r],e)})):e.forEach(((r,n)=>t(n,r,e)))}function p(e){const t=e[i];return t?t.type_:Array.isArray(e)?1:h(e)?2:b(e)?3:0}function y(e,t){return 2===p(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function d(e,t,r){const n=p(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function h(e){return e instanceof Map}function b(e){return e instanceof Set}function m(e){return e.copy_||e.base_}function v(e,t){if(h(e))return new Map(e);if(b(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=_(e);if(!0===t||"class_only"===t&&!r){const t=Object.getOwnPropertyDescriptors(e);delete t[i];let r=Reflect.ownKeys(t);for(let n=0;n1&&(e.set=e.add=e.clear=e.delete=S),Object.freeze(e),t&&Object.entries(e).forEach((([e,t])=>P(t,!0)))),e}function S(){c(2)}function g(e){return Object.isFrozen(e)}var w,O={};function z(e){const t=O[e];return t||c(0),t}function A(){return w}function D(e,t){t&&(z("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function j(e){F(e),e.drafts_.forEach(E),e.drafts_=null}function F(e){e===w&&(w=e.parent_)}function C(e){return w={drafts_:[],parent_:w,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function E(e){const t=e[i];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function M(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return void 0!==e&&e!==r?(r[i].modified_&&(j(t),c(4)),u(e)&&(e=L(t,e),t.parent_||K(t,e)),t.patches_&&z("Patches").generateReplacementPatches_(r[i].base_,e,t.patches_,t.inversePatches_)):e=L(t,r,[]),j(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==n?e:void 0}function L(e,t,r){if(g(t))return t;const n=t[i];if(!n)return l(t,((o,i)=>N(e,n,t,o,i,r))),t;if(n.scope_!==e)return t;if(!n.modified_)return K(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const t=n.copy_;let o=t,i=!1;3===n.type_&&(o=new Set(t),t.clear(),i=!0),l(o,((o,c)=>N(e,n,t,o,c,r,i))),K(e,t,!1),r&&e.patches_&&z("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function N(e,t,r,n,o,i,c){if(a(o)){const c=L(e,o,i&&t&&3!==t.type_&&!y(t.assigned_,n)?i.concat(n):void 0);if(d(r,n,c),!a(c))return;e.canAutoFreeze_=!1}else c&&r.add(o);if(u(o)&&!g(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;L(e,o),t&&t.scope_.parent_||"symbol"==typeof n||!Object.prototype.propertyIsEnumerable.call(r,n)||K(e,o)}}function K(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&P(t,r)}var k={get(e,t){if(t===i)return e;const r=m(e);if(!y(r,t))return function(e,t,r){const n=x(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}(e,r,t);const n=r[t];return e.finalized_||!u(n)?n:n===U(e.base_,t)?(B(e),e.copy_[t]=H(n,e)):n},has:(e,t)=>t in m(e),ownKeys:e=>Reflect.ownKeys(m(e)),set(e,t,r){const n=x(m(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const n=U(m(e),t),s=n?.[i];if(s&&s.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(((o=r)===(c=n)?0!==o||1/o==1/c:o!=o&&c!=c)&&(void 0!==r||y(e.base_,t)))return!0;B(e),W(e)}var o,c;return e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==U(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,B(e),W(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const r=m(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){c(11)},getPrototypeOf:e=>s(e.base_),setPrototypeOf(){c(12)}},R={};function U(e,t){const r=e[i];return(r?m(r):e)[t]}function x(e,t){if(!(t in e))return;let r=s(e);for(;r;){const e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=s(r)}}function W(e){e.modified_||(e.modified_=!0,e.parent_&&W(e.parent_))}function B(e){e.copy_||(e.copy_=v(e.base_,e.scope_.immer_.useStrictShallowCopy_))}l(k,((e,t)=>{R[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),R.deleteProperty=function(e,t){return R.set.call(this,e,t,void 0)},R.set=function(e,t,r){return k.set.call(this,e[0],t,r,e[0])};function H(e,t){const r=h(e)?z("MapSet").proxyMap_(e,t):b(e)?z("MapSet").proxySet_(e,t):function(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:A(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,i=k;r&&(o=[n],i=R);const{revoke:c,proxy:s}=Proxy.revocable(o,i);return n.draft_=s,n.revoke_=c,s}(e,t);return(t?t.scope_:A()).drafts_.push(r),r}function I(e){if(!u(e)||g(e))return e;const t=e[i];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=v(e,t.scope_.immer_.useStrictShallowCopy_)}else r=v(e,!0);return l(r,((e,t)=>{d(r,e,I(t))})),t&&(t.finalized_=!1),r}var X=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{if("function"==typeof e&&"function"!=typeof t){const r=t;t=e;const n=this;return function(e=r,...o){return n.produce(e,(e=>t.call(this,e,...o)))}}let o;if("function"!=typeof t&&c(6),void 0!==r&&"function"!=typeof r&&c(7),u(e)){const n=C(this),i=H(e,void 0);let c=!0;try{o=t(i),c=!1}finally{c?j(n):F(n)}return D(n,r),M(o,n)}if(!e||"object"!=typeof e){if(o=t(e),void 0===o&&(o=e),o===n&&(o=void 0),this.autoFreeze_&&P(o,!0),r){const t=[],n=[];z("Patches").generateReplacementPatches_(e,o,t,n),r(t,n)}return o}c(1)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...r)=>this.produceWithPatches(t,(t=>e(t,...r)));let r,n;return[this.produce(e,t,((e,t)=>{r=e,n=t})),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){u(e)||c(8),a(e)&&(e=function(e){a(e)||c(10);return I(e)}(e));const t=C(this),r=H(e,void 0);return r[i].isManual_=!0,F(t),r}finishDraft(e,t){const r=e&&e[i];r&&r.isManual_||c(9);const{scope_:n}=r;return D(n,t),M(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 n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));const n=z("Patches").applyPatches_;return a(e)?n(e,t):this.produce(e,(e=>n(e,t)))}},$=X.produce,q=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X));X.setUseStrictShallowCopy.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X),X.finishDraft.bind(X)}}]); //# sourceMappingURL=1932.0992be1f.js.map