You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
830 KiB

6 months ago
"use strict";(self.webpackChunksvg_path_editor=self.webpackChunksvg_path_editor||[]).push([[792],{125:()=>{let gt=null,ua=!1,bc=1;const li=Symbol("SIGNAL");function ge(t){const n=gt;return gt=t,n}const qh={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Yh(t){if(ua)throw new Error("");if(null===gt)return;gt.consumerOnSignalRead(t);const n=gt.nextProducerIndex++;Pr(gt),n<gt.producerNode.length&&gt.producerNode[n]!==t&&ha(gt)&&vc(gt.producerNode[n],gt.producerIndexOfThis[n]),gt.producerNode[n]!==t&&(gt.producerNode[n]=t,gt.producerIndexOfThis[n]=ha(gt)?Ev(t,gt,n):0),gt.producerLastReadVersion[n]=t.version}function bv(t){if((!ha(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==bc)){if(!t.producerMustRecompute(t)&&!Xh(t))return t.dirty=!1,void(t.lastCleanEpoch=bc);t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=bc}}function vv(t){if(void 0===t.liveConsumerNode)return;const n=ua;ua=!0;try{for(const e of t.liveConsumerNode)e.dirty||wv(e)}finally{ua=n}}function yv(){return!1!==gt?.consumerAllowSignalWrites}function wv(t){t.dirty=!0,vv(t),t.consumerMarkedDirty?.(t)}function xv(t){return t&&(t.nextProducerIndex=0),ge(t)}function Cv(t,n){if(ge(n),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(ha(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)vc(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Xh(t){Pr(t);for(let n=0;n<t.producerNode.length;n++){const e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(bv(e),i!==e.version))return!0}return!1}function Dv(t){if(Pr(t),ha(t))for(let n=0;n<t.producerNode.length;n++)vc(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Ev(t,n,e){if(kv(t),Pr(t),0===t.liveConsumerNode.length)for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=Ev(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function vc(t,n){if(kv(t),Pr(t),1===t.liveConsumerNode.length)for(let i=0;i<t.producerNode.length;i++)vc(t.producerNode[i],t.producerIndexOfThis[i]);const e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){const i=t.liveConsumerIndexOfThis[n],o=t.liveConsumerNode[n];Pr(o),o.producerIndexOfThis[i]=n}}function ha(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Pr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function kv(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}let Mv=function E1(){throw new Error};function Iv(){Mv()}let Zh=null;function Tv(t,n){yv()||Iv(),t.equal(t.value,n)||(t.value=n,function S1(t){t.version++,function x1(){bc++}(),vv(t),Zh?.()}(t))}const T1={...qh,equal:function gv(t,n){return Object.is(t,n)},value:void 0};const Kh=()=>{},R1={...qh,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Kh};function Ce(t){return"function"==typeof t}function Sv(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Qh=Sv(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function yc(t,n){if(t){const e=t.