"use strict";var $u=Object.create;var rt=Object.defineProperty;var Lu=Object.getOwnPropertyDescriptor;var Nu=Object.getOwnPropertyNames;var Iu=Object.getPrototypeOf,Mu=Object.prototype.hasOwnProperty;var xu=(e,t,n)=>t in e?rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Pu=(e,t)=>{for(var n in t)rt(e,n,{get:t[n],enumerable:!0})},Zn=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Nu(t))!Mu.call(e,s)&&s!==n&&rt(e,s,{get:()=>t[s],enumerable:!(i=Lu(t,s))||i.enumerable});return e};var Jn=(e,t,n)=>(n=e!=null?$u(Iu(e)):{},Zn(t||!e||!e.__esModule?rt(n,"default",{value:e,enumerable:!0}):n,e)),Du=e=>Zn(rt({},"__esModule",{value:!0}),e);var ve=(e,t,n)=>xu(e,typeof t!="symbol"?t+"":t,n);var Be=oe((Fc,er)=>{(()=>{"use strict";var e={};(()=>{var t=e;Object.defineProperty(t,"__esModule",{value:!0}),t.getType=n,t.isPrimitive=void 0;function n(s){if(s===void 0)return"undefined";if(s===null)return"null";if(Array.isArray(s))return"array";if(typeof s=="boolean")return"boolean";if(typeof s=="function")return"function";if(typeof s=="number")return"number";if(typeof s=="string")return"string";if(typeof s=="bigint")return"bigint";if(typeof s=="object")return s.constructor===RegExp?"regexp":s.constructor===Map?"map":s.constructor===Set?"set":s.constructor===Date?"date":"object";if(typeof s=="symbol")return"symbol";throw new Error(`value of unknown type: ${s}`)}let i=s=>Object(s)!==s;t.isPrimitive=i})(),er.exports=e})()});var ze=oe((Uc,tr)=>{(()=>{"use strict";var e={"./src/immutableUtils.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.isImmutableList=_,r.isImmutableOrderedKeyed=m,r.isImmutableOrderedSet=A,r.isImmutableRecord=p,r.isImmutableUnorderedKeyed=v,r.isImmutableUnorderedSet=N;let o="@@__IMMUTABLE_KEYED__@@",c="@@__IMMUTABLE_SET__@@",g="@@__IMMUTABLE_LIST__@@",u="@@__IMMUTABLE_ORDERED__@@",E="@@__IMMUTABLE_RECORD__@@";function L(b){return b!=null&&typeof b=="object"&&!Array.isArray(b)}function v(b){return!!(b&&L(b)&&b[o]&&!b[u])}function N(b){return!!(b&&L(b)&&b[c]&&!b[u])}function _(b){return!!(b&&L(b)&&b[g])}function m(b){return!!(b&&L(b)&&b[o]&&b[u])}function A(b){return!!(b&&L(b)&&b[c]&&b[u])}function p(b){return!!(b&&L(b)&&b[E])}}),"./src/index.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0});var c={equals:!0,isA:!0};Object.defineProperty(r,"equals",{enumerable:!0,get:function(){return g.equals}}),Object.defineProperty(r,"isA",{enumerable:!0,get:function(){return g.isA}});var g=o("./src/jasmineUtils.ts"),u=o("./src/utils.ts");Object.keys(u).forEach(function(E){E==="default"||E==="__esModule"||Object.prototype.hasOwnProperty.call(c,E)||E in r&&r[E]===u[E]||Object.defineProperty(r,E,{enumerable:!0,get:function(){return u[E]}})})}),"./src/jasmineUtils.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.equals=void 0,r.isA=v;let o=(_,m,A,p)=>(A=A||[],u(_,m,[],[],A,p));r.equals=o;function c(_){return!!_&&v("Function",_.asymmetricMatch)}function g(_,m){let A=c(_),p=c(m);if(!(A&&p)){if(A)return _.asymmetricMatch(m);if(p)return m.asymmetricMatch(_)}}function u(_,m,A,p,b,a){let h=!0,l=g(_,m);if(l!==void 0)return l;let y={equals:o};for(let x of b){let T=x.call(y,_,m,b);if(T!==void 0)return T}if(_ instanceof Error&&m instanceof Error)return _.message===m.message;if(Object.is(_,m))return!0;if(_===null||m===null)return!1;let $=Object.prototype.toString.call(_);if($!==Object.prototype.toString.call(m))return!1;switch($){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof _!=typeof m||typeof _!="object"&&typeof m!="object"?!1:Object.is(_.valueOf(),m.valueOf());case"[object Date]":return+_==+m;case"[object RegExp]":return _.source===m.source&&_.flags===m.flags;case"[object URL]":return _.href===m.href}if(typeof _!="object"||typeof m!="object")return!1;if(N(_)&&N(m))return _.isEqualNode(m);let C=A.length;for(;C--;){if(A[C]===_)return p[C]===m;if(p[C]===m)return!1}if(A.push(_),p.push(m),a&&$==="[object Array]"&&_.length!==m.length)return!1;let S=E(_,L),R,I=E(m,L);if(!a){for(let x=0;x!==I.length;++x)R=I[x],(c(m[R])||m[R]===void 0)&&!L(_,R)&&S.push(R);for(let x=0;x!==S.length;++x)R=S[x],(c(_[R])||_[R]===void 0)&&!L(m,R)&&I.push(R)}let j=S.length;if(I.length!==j)return!1;for(;j--;)if(R=S[j],a?h=L(m,R)&&u(_[R],m[R],A,p,b,a):h=(L(m,R)||c(_[R])||_[R]===void 0)&&u(_[R],m[R],A,p,b,a),!h)return!1;return A.pop(),p.pop(),h}function E(_,m){let A=[];for(let p in _)m(_,p)&&A.push(p);return[...A,...Object.getOwnPropertySymbols(_).filter(p=>Object.getOwnPropertyDescriptor(_,p).enumerable)]}function L(_,m){return Object.prototype.hasOwnProperty.call(_,m)}function v(_,m){return Object.prototype.toString.apply(m)===`[object ${_}]`}function N(_){return _!==null&&typeof _=="object"&&typeof _.nodeType=="number"&&typeof _.nodeName=="string"&&typeof _.isEqualNode=="function"}}),"./src/utils.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.arrayBufferEquality=void 0,r.emptyObject=x,r.typeEquality=r.subsetEquality=r.sparseArrayEquality=r.pathAsArray=r.partition=r.iterableEquality=r.isOneline=r.isError=r.getPath=r.getObjectSubset=r.getObjectKeys=void 0;var c=Be(),g=o("./src/immutableUtils.ts"),u=o("./src/jasmineUtils.ts"),E=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol;let L=(d,w)=>!d||typeof d!="object"||d===Object.prototype?!1:Object.prototype.hasOwnProperty.call(d,w)||L(Object.getPrototypeOf(d),w),v=d=>[...Object.keys(d),...Object.getOwnPropertySymbols(d).filter(w=>{var P;return(P=Object.getOwnPropertyDescriptor(d,w))==null?void 0:P.enumerable})];r.getObjectKeys=v;let N=(d,w)=>{if(Array.isArray(w)||(w=I(w)),w.length>0){let P=w.length===1,k=w[0],G=d[k];if(!P&&G==null)return{hasEndProp:!1,lastTraversedObject:d,traversedPath:[]};let W=N(G,w.slice(1));return W.lastTraversedObject===null&&(W.lastTraversedObject=d),W.traversedPath.unshift(k),P&&(W.endPropIsDefined=!(0,c.isPrimitive)(d)&&k in d,W.hasEndProp=G!==void 0||W.endPropIsDefined,W.hasEndProp||W.traversedPath.shift()),W}return{lastTraversedObject:null,traversedPath:[],value:d}};r.getPath=N;let _=(d,w,P=[],k=new WeakMap)=>{if(Array.isArray(d)){if(Array.isArray(w)&&w.length===d.length)return w.map((G,W)=>_(d[W],G,P))}else{if(d instanceof Date)return d;if(a(d)&&a(w)){if((0,u.equals)(d,w,[...P,p,l]))return w;let G={};k.set(d,G);for(let W of v(d).filter(se=>L(w,se)))G[W]=k.has(d[W])?k.get(d[W]):_(d[W],w[W],P,k);if(v(G).length>0)return G}}return d};r.getObjectSubset=_;let m=E.iterator,A=d=>!!(d!=null&&d[m]),p=(d,w,P=[],k=[],G=[])=>{if(typeof d!="object"||typeof w!="object"||Array.isArray(d)||Array.isArray(w)||ArrayBuffer.isView(d)||ArrayBuffer.isView(w)||!A(d)||!A(w))return;if(d.constructor!==w.constructor)return!1;let W=k.length;for(;W--;)if(k[W]===d)return G[W]===w;k.push(d),G.push(w);let se=(q,Y)=>p(q,Y,[...ue],[...k],[...G]),ue=[...P.filter(q=>q!==p),se];if(d.size!==void 0){if(d.size!==w.size)return!1;if((0,u.isA)("Set",d)||(0,g.isImmutableUnorderedSet)(d)){let q=!0;for(let Y of d)if(!w.has(Y)){let ie=!1;for(let X of w)(0,u.equals)(Y,X,ue)===!0&&(ie=!0);if(ie===!1){q=!1;break}}return k.pop(),G.pop(),q}else if((0,u.isA)("Map",d)||(0,g.isImmutableUnorderedKeyed)(d)){let q=!0;for(let Y of d)if(!w.has(Y[0])||!(0,u.equals)(Y[1],w.get(Y[0]),ue)){let ie=!1;for(let X of w){let z=(0,u.equals)(Y[0],X[0],ue),Z=!1;z===!0&&(Z=(0,u.equals)(Y[1],X[1],ue)),Z===!0&&(ie=!0)}if(ie===!1){q=!1;break}}return k.pop(),G.pop(),q}}let ee=w[m]();for(let q of d){let Y=ee.next();if(Y.done||!(0,u.equals)(q,Y.value,ue))return!1}if(!ee.next().done)return!1;if(!(0,g.isImmutableList)(d)&&!(0,g.isImmutableOrderedKeyed)(d)&&!(0,g.isImmutableOrderedSet)(d)&&!(0,g.isImmutableRecord)(d)){let q=b(d),Y=b(w);if(!(0,u.equals)(q,Y))return!1}return k.pop(),G.pop(),!0};r.iterableEquality=p;let b=d=>a(d)?[...Object.getOwnPropertySymbols(d).filter(P=>P!==E.iterator).map(P=>[P,d[P]]),...Object.entries(d)]:[],a=d=>d!==null&&typeof d=="object",h=d=>a(d)&&!(d instanceof Error)&&!Array.isArray(d)&&!(d instanceof Date)&&!(d instanceof Set)&&!(d instanceof Map),l=(d,w,P=[])=>{let k=P.filter(W=>W!==l),G=(W=new WeakMap)=>(se,ue)=>{if(!h(ue)||W.has(ue))return;W.set(ue,!0);let ee=v(ue).every(q=>{if(h(ue[q])&&W.has(ue[q]))return(0,u.equals)(se[q],ue[q],k);let Y=se!=null&&L(se,q)&&(0,u.equals)(se[q],ue[q],[...k,G(W)]);return W.delete(ue[q]),Y});return W.delete(ue),ee};return G()(d,w)};r.subsetEquality=l;let y=(d,w)=>{if(!(d==null||w==null||d.constructor===w.constructor||Array.isArray(d)&&Array.isArray(w)))return!1};r.typeEquality=y;let $=(d,w)=>{let P=d,k=w;if(C(d)&&C(w)?(P=new DataView(d),k=new DataView(w)):ArrayBuffer.isView(d)&&ArrayBuffer.isView(w)&&(P=new DataView(d.buffer,d.byteOffset,d.byteLength),k=new DataView(w.buffer,w.byteOffset,w.byteLength)),P instanceof DataView&&k instanceof DataView){if(P.byteLength!==k.byteLength)return!1;for(let G=0;G
0&&this.pushSubstring(a)}else this.pushDiff(_)}moveLinesTo(_){this.isLineEmpty()||this.pushLine(),_.push(...this.lines),this.lines.length=0}}class E{constructor(_,m){ve(this,"deleteBuffer");ve(this,"insertBuffer");ve(this,"lines");this.deleteBuffer=_,this.insertBuffer=m,this.lines=[]}pushDiffCommonLine(_){this.lines.push(_)}pushDiffChangeLines(_){let m=_[1].length===0;(!m||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(_),(!m||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(_)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(_){let m=_[0],A=_[1];if(A.includes(`
`)){let p=A.split(`
`),b=p.length-1;for(let[a,h]of p.entries())if(a===0){let l=new c.Diff(m,h);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else a0&&this.pushDiffChangeLines(new c.Diff(m,h))}else this.pushDiffChangeLines(_)}getLines(){return this.flushChangeLines(),this.lines}}let L=(N,_)=>{let m=new u(c.DIFF_DELETE,_),A=new u(c.DIFF_INSERT,_),p=new E(m,A);for(let b of N)switch(b[0]){case c.DIFF_DELETE:m.align(b);break;case c.DIFF_INSERT:A.align(b);break;default:p.align(b)}return p.getLines()};var v=r.default=L}),"./src/joinAlignedDiffs.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.joinAlignedDiffsNoExpand=r.joinAlignedDiffsExpand=void 0;var c=o("./src/cleanupSemantic.ts");let g=(A,p)=>A.replace(/\s+$/,b=>p(b)),u=(A,p,b,a,h,l)=>A.length===0?a===" "?p&&l.length>0?b(`${a} ${l}`):"":b(a):b(`${a} ${g(A,h)}`),E=(A,p,{aColor:b,aIndicator:a,changeLineTrailingSpaceColor:h,emptyFirstOrLastLinePlaceholder:l})=>u(A,p,b,a,h,l),L=(A,p,{bColor:b,bIndicator:a,changeLineTrailingSpaceColor:h,emptyFirstOrLastLinePlaceholder:l})=>u(A,p,b,a,h,l),v=(A,p,{commonColor:b,commonIndicator:a,commonLineTrailingSpaceColor:h,emptyFirstOrLastLinePlaceholder:l})=>u(A,p,b,a,h,l),N=(A,p,b,a,{patchColor:h})=>h(`@@ -${A+1},${p-A} +${b+1},${a-b} @@`),_=(A,p)=>{let b=A.length,a=p.contextLines,h=a+a,l=b,y=!1,$=0,C=0;for(;C!==b;){let G=C;for(;C!==b&&A[C][0]===c.DIFF_EQUAL;)C+=1;if(G!==C)if(G===0)C>a&&(l-=C-a,y=!0);else if(C===b){let W=C-G;W>a&&(l-=W-a,y=!0)}else{let W=C-G;W>h&&(l-=W-h,$+=1)}for(;C!==b&&A[C][0]!==c.DIFF_EQUAL;)C+=1}let S=$!==0||y;$!==0?l+=$+1:y&&(l+=1);let R=l-1,I=[],j=0;S&&I.push("");let x=0,T=0,f=0,d=0,w=G=>{let W=I.length;I.push(v(G,W===0||W===R,p)),f+=1,d+=1},P=G=>{let W=I.length;I.push(E(G,W===0||W===R,p)),f+=1},k=G=>{let W=I.length;I.push(L(G,W===0||W===R,p)),d+=1};for(C=0;C!==b;){let G=C;for(;C!==b&&A[C][0]===c.DIFF_EQUAL;)C+=1;if(G!==C)if(G===0){C>a&&(G=C-a,x=G,T=G,f=x,d=T);for(let W=G;W!==C;W+=1)w(A[W][1])}else if(C===b){let W=C-G>a?G+a:C;for(let se=G;se!==W;se+=1)w(A[se][1])}else{let W=C-G;if(W>h){let se=G+a;for(let ee=G;ee!==se;ee+=1)w(A[ee][1]);I[j]=N(x,f,T,d,p),j=I.length,I.push("");let ue=W-h;x=f+ue,T=d+ue,f=x,d=T;for(let ee=C-a;ee!==C;ee+=1)w(A[ee][1])}else for(let se=G;se!==C;se+=1)w(A[se][1])}for(;C!==b&&A[C][0]===c.DIFF_DELETE;)P(A[C][1]),C+=1;for(;C!==b&&A[C][0]===c.DIFF_INSERT;)k(A[C][1]),C+=1}return S&&(I[j]=N(x,f,T,d,p)),I.join(`
`)};r.joinAlignedDiffsNoExpand=_;let m=(A,p)=>A.map((b,a,h)=>{let l=b[1],y=a===0||a===h.length-1;switch(b[0]){case c.DIFF_DELETE:return E(l,y,p);case c.DIFF_INSERT:return L(l,y,p);default:return v(l,y,p)}}).join(`
`);r.joinAlignedDiffsExpand=m}),"./src/normalizeDiffOptions.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.normalizeDiffOptions=r.noColor=void 0;var o=c(qe());function c(_){return _&&_.__esModule?_:{default:_}}let g=_=>_;r.noColor=g;let u=5,E={aAnnotation:"Expected",aColor:o.default.green,aIndicator:"-",bAnnotation:"Received",bColor:o.default.red,bIndicator:"+",changeColor:o.default.inverse,changeLineTrailingSpaceColor:g,commonColor:o.default.dim,commonIndicator:" ",commonLineTrailingSpaceColor:g,compareKeys:void 0,contextLines:u,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:o.default.yellow},L=_=>_&&typeof _=="function"?_:E.compareKeys,v=_=>typeof _=="number"&&Number.isSafeInteger(_)&&_>=0?_:u,N=(_={})=>({...E,..._,compareKeys:L(_.compareKeys),contextLines:v(_.contextLines)});r.normalizeDiffOptions=N}),"./src/printDiffs.ts":((s,r,o)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.diffStringsUnified=r.diffStringsRaw=void 0;var c=o("./src/cleanupSemantic.ts"),g=o("./src/diffLines.ts"),u=v(o("./src/diffStrings.ts")),E=v(o("./src/getAlignedDiffs.ts")),L=o("./src/normalizeDiffOptions.ts");function v(A){return A&&A.__esModule?A:{default:A}}let N=(A,p)=>{if(p){let b=A.length-1;return A.some((a,h)=>a[0]===c.DIFF_EQUAL&&(h!==b||a[1]!==`
`))}return A.some(b=>b[0]===c.DIFF_EQUAL)},_=(A,p,b)=>{if(A!==p&&A.length>0&&p.length>0){let a=A.includes(`
`)||p.includes(`
`),h=m(a?`${A}
`:A,a?`${p}
`:p,!0);if(N(h,a)){let l=(0,L.normalizeDiffOptions)(b),y=(0,E.default)(h,l.changeColor);return(0,g.printDiffLines)(y,l)}}return(0,g.diffLinesUnified)(A.split(`
`),p.split(`
`),b)};r.diffStringsUnified=_;let m=(A,p,b)=>{let a=(0,u.default)(A,p);return b&&(0,c.cleanupSemantic)(a),a};r.diffStringsRaw=m})},t={};function n(s){var r=t[s];if(r!==void 0)return r.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,n),o.exports}var i={};(()=>{var s=i;Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"DIFF_DELETE",{enumerable:!0,get:function(){return g.DIFF_DELETE}}),Object.defineProperty(s,"DIFF_EQUAL",{enumerable:!0,get:function(){return g.DIFF_EQUAL}}),Object.defineProperty(s,"DIFF_INSERT",{enumerable:!0,get:function(){return g.DIFF_INSERT}}),Object.defineProperty(s,"Diff",{enumerable:!0,get:function(){return g.Diff}}),s.diff=R,Object.defineProperty(s,"diffLinesRaw",{enumerable:!0,get:function(){return E.diffLinesRaw}}),Object.defineProperty(s,"diffLinesUnified",{enumerable:!0,get:function(){return E.diffLinesUnified}}),Object.defineProperty(s,"diffLinesUnified2",{enumerable:!0,get:function(){return E.diffLinesUnified2}}),Object.defineProperty(s,"diffStringsRaw",{enumerable:!0,get:function(){return N.diffStringsRaw}}),Object.defineProperty(s,"diffStringsUnified",{enumerable:!0,get:function(){return N.diffStringsUnified}});var r=_(qe()),o=Be(),c=st(),g=n("./src/cleanupSemantic.ts"),u=n("./src/constants.ts"),E=n("./src/diffLines.ts"),L=n("./src/escapeControlCharacters.ts"),v=n("./src/normalizeDiffOptions.ts"),N=n("./src/printDiffs.ts");function _(w){return w&&w.__esModule?w:{default:w}}var m=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol;let A=(w,P)=>{let{commonColor:k}=(0,v.normalizeDiffOptions)(P);return k(w)},{AsymmetricMatcher:p,DOMCollection:b,DOMElement:a,Immutable:h,ReactElement:l,ReactTestComponent:y}=c.plugins,$=[y,l,a,b,h,p],C={plugins:$},S={callToJSON:!1,maxDepth:10,plugins:$};function R(w,P,k){if(Object.is(w,P))return A(u.NO_DIFF_MESSAGE,k);let G=(0,o.getType)(w),W=G,se=!1;if(G==="object"&&typeof w.asymmetricMatch=="function"){if(w.$$typeof!==m.for("jest.asymmetricMatcher")||typeof w.getExpectedType!="function")return null;W=w.getExpectedType(),se=W==="string"}if(W!==(0,o.getType)(P))return` Comparing two different types of values. Expected ${r.default.green(W)} but received ${r.default.red((0,o.getType)(P))}.`;if(se)return null;switch(G){case"string":return(0,E.diffLinesUnified)((0,L.escapeControlCharacters)(w).split(`
`),(0,L.escapeControlCharacters)(P).split(`
`),k);case"boolean":case"number":return I(w,P,k);case"map":return T(j(w),j(P),k);case"set":return T(x(w),x(P),k);default:return T(w,P,k)}}function I(w,P,k){let G=(0,c.format)(w,C),W=(0,c.format)(P,C);return G===W?A(u.NO_DIFF_MESSAGE,k):(0,E.diffLinesUnified)(G.split(`
`),W.split(`
`),k)}function j(w){return new Map([...w].sort())}function x(w){return new Set([...w].sort())}function T(w,P,k){let G,W=!1;try{let ue=f(C,k);G=d(w,P,ue,k)}catch{W=!0}let se=A(u.NO_DIFF_MESSAGE,k);if(G===void 0||G===se){let ue=f(S,k);G=d(w,P,ue,k),G!==se&&!W&&(G=`${A(u.SIMILAR_MESSAGE,k)}
${G}`)}return G}function f(w,P){let{compareKeys:k}=(0,v.normalizeDiffOptions)(P);return{...w,compareKeys:k}}function d(w,P,k,G){let W={...k,indent:0},se=(0,c.format)(w,W),ue=(0,c.format)(P,W);if(se===ue)return A(u.NO_DIFF_MESSAGE,G);{let ee=(0,c.format)(w,k),q=(0,c.format)(P,k);return(0,E.diffLinesUnified2)(ee.split(`
`),q.split(`
`),se.split(`
`),ue.split(`
`),G)}}})(),Gr.exports=i})()});var je=oe((ol,Kr)=>{(()=>{"use strict";var e={"./src/Replaceable.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=Be();let c=new Set(["map","array","object"]);class g{constructor(E){ve(this,"object");ve(this,"type");if(this.object=E,this.type=(0,o.getType)(E),!c.has(this.type))throw new Error(`Type ${this.type} is not support in Replaceable!`)}static isReplaceable(E,L){let v=(0,o.getType)(E),N=(0,o.getType)(L);return v===N&&c.has(v)}forEach(E){if(this.type==="object"){let L=Object.getOwnPropertyDescriptors(this.object);for(let v of[...Object.keys(L),...Object.getOwnPropertySymbols(L)].filter(N=>L[N].enumerable))E(this.object[v],v,this.object)}else this.object.forEach(E)}get(E){return this.type==="map"?this.object.get(E):this.object[E]}set(E,L){this.type==="map"?this.object.set(E,L):this.object[E]=L}}r.default=g}),"./src/deepCyclicCopyReplaceable.ts":((s,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SERIALIZABLE_PROPERTIES=void 0,r.default=v;var o=st(),c=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol;let g=[Array,Date,Float32Array,Float64Array,Int16Array,Int32Array,Int8Array,Map,Set,RegExp,Uint16Array,Uint32Array,Uint8Array,Uint8ClampedArray];typeof Buffer!="undefined"&&g.push(Buffer),typeof Window!="undefined"&&g.push(Window);let u=r.SERIALIZABLE_PROPERTIES=c.for("@jest/serializableProperties"),E=p=>g.includes(p.constructor),L=p=>p.constructor===Map;function v(p,b=new WeakMap){return typeof p!="object"||p===null?p:b.has(p)?b.get(p):Array.isArray(p)?_(p,b):L(p)?m(p,b):E(p)?p:o.plugins.DOMElement.test(p)?p.cloneNode(!0):N(p,b)}function N(p,b){let a=Object.create(Object.getPrototypeOf(p)),h={},l=p;do{let $=A(l);if($===void 0)h=Object.assign(Object.create(null),Object.getOwnPropertyDescriptors(l),h);else for(let C of $)h[C]||(h[C]=Object.getOwnPropertyDescriptor(l,C))}while((l=Object.getPrototypeOf(l))&&l!==Object.getPrototypeOf({}));b.set(p,a);let y=[...Object.keys(h),...Object.getOwnPropertySymbols(h)].reduce(($,C)=>{let S=h[C].enumerable;return $[C]={configurable:!0,enumerable:S,value:v(p[C],b),writable:!0},$},Object.create(null));return Object.defineProperties(a,y)}function _(p,b){let a=new(Object.getPrototypeOf(p)).constructor(p.length),h=p.length;b.set(p,a);for(let l=0;le)return!1;if(n+=t[i+1],n>=e)return!0}return!1}function Hs(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&ta.test(String.fromCharCode(e)):Ln(e,Ds)}function js(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&na.test(String.fromCharCode(e)):Ln(e,Ds)||Ln(e,ra)}function sa(e){let t=!0;for(let n=0;n1&&c.count.pop(),c.count.push(E.count[0]),c.string=c.pattern+li(c.count),o=u+1;continue}n.isPadded&&(L=va(u,n,i)),E.string=L+E.pattern+li(E.count),r.push(E),o=u+1,c=E}return r}function Pn(e,t,n,i,s){let r=[];for(let o of e){let{string:c}=o;!i&&!oi(t,"string",c)&&r.push(n+c),i&&oi(t,"string",c)&&r.push(n+c)}return r}function Ra(e,t){let n=[];for(let i=0;i