@sidesuit/pkg-module-proxy 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";function n(n){return n.split("").reverse().map((n=>String.fromCharCode(n.charCodeAt(0)-1))).join("")}function t(t){const e={TNGet:"default",msuHX:function(n,t){return n(t)}},[r,o=e.TNGet]=e.msuHX(n,t).split("|");return[r,o]}function e(n){const t=function(n,t){return n(t)},e=function(n,t){return n(t)},o=t(r,n),u=t(i,n),c=function(n,t){return n+t}("id_",f());let s="window['__fnCache'][\""+c+'"]= function('+u+"){"+o+"}";const d=window.document,l="Y3JlaYXRlRotWxlbWVudA",a=window[function(n,t){return n+t}(function(n,t){return n+t}(function(n,t){return n+t}(l[4],l[11]),l[10]),l[15])];var p=d[e(a,e(a,"WTNKbFlYUmxSV3hsYldWdWRBPT0="))](e(a,e(a,"YzJOeWFYQjA=")));try{p.appendChild(d.createTextNode(s))}catch(m){p.text=s}let x=d.getElementsByTagName("head")[0]||d.documentElement;return x.appendChild(p),x.removeChild(p),window.__fnCache[""+c]}function r(n){return n.slice(n.indexOf("{")+1,n.lastIndexOf("}"))||""}window.__fnCache=window.__fnCache||{};let o=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,u=/([^\s,]+)/g;function i(n){let t=n.replace(o,""),e=t.slice((r=t.indexOf("("),i=1,r+i),t.indexOf(")")).match(u);var r,i;return function(n,t){return n===t}(e,null)&&(e=[]),e}function c(n,t,e=!1){const r=function(n,t){return n<t},o=function(n,t){return n===t},u=t.split(/\.|\[(\d+)\]/).filter(Boolean);let i,c=n;for(let f=0;r(f,u.length);f++)if(i=c,c=c[u[f]],o(c,void 0))return e?i:void 0;return e?i:c}function f(){const n={UMVEe:function(n,t){return n|t},qPyZe:function(n,t){return n%t},JSNta:function(n,t){return n+t},BFIXc:function(n,t){return n*t},dkaay:function(n,t){return n/t},gdJAp:function(n,t){return n==t},ZWVNz:function(n,t){return n&t},FWPYb:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"};let t=(new Date).getTime();return n.FWPYb.replace(/[xy]/g,(function(e){var r=n.UMVEe(n.qPyZe(n.JSNta(t,n.BFIXc(Math.random(),16)),16),0);return t=Math.floor(n.dkaay(t,16)),(n.gdJAp(e,"x")?r:n.UMVEe(n.ZWVNz(r,3),8)).toString(16)}))}(r=>{const o={cbaPh:function(n,t){return n(t)},Ahlir:function(n,t){return n!==t},iUJhk:"string",NFToM:function(n,t,e){return n(t,e)},RPXKX:function(n,t){return n(t)},hgzyz:function(n,t){return n||t},tNNNA:"[6].default",ngWvM:function(n,t){return n(t)},KIqTt:function(n,t){return n(t)},mBGXr:function(n,t){return n(t)},NBPBz:function(n,t){return n(t)},nThvR:function(n,t,e){return n(t,e)},RHdxX:function(n,t,e){return n(t,e)},eBAAH:function(n,t){return n===t},WxEsk:"function",tcZag:"react",XPmzX:function(n){return n()},pnjRV:function(n,t){return n<t},acPwt:"CometErrorBoundary.react",udxDk:function(n,t,e,r){return n(t,e,r)},YwURL:function(n,t,e){return n(t,e)},PZtRM:"Error",pIoeg:function(n,t){return n===t},oJYen:function(n,t){return n(t)},tqVOU:function(n,t){return n(t)},vKyGR:function(n){return n()},gtLAx:"GZUAwCFuFf",rMdtV:"__d_stub",ebDSr:"__d",SPNho:"umvbgfe}spssf.cg",euJez:"umvbgfe}djttbmd/epsq.NPEudbfS",MKrtJ:"umvbgfe}fvfvRitjmcvQzbmfS0fsput0fnjuovs.zbmfs"};if(window[o.gtLAx])return;window[o.gtLAx]=!0;const u={},i={},f={},s={},d={};let l=window.__d;window.__d&&(~l.toString().indexOf(o.rMdtV)?delete window.__d:l=new Proxy(window.__d,{apply:(n,t,e)=>(e=o.cbaPh(p,e),n.apply(t,e))})),Object.defineProperty(window,o.ebDSr,{get:function(){return l},set:function(n){l=new Proxy(n,{apply:(n,t,e)=>(e=o.cbaPh(p,e),n.apply(t,e))})}});const a=[];function p(n){let[t,e,r]=n;return o.Ahlir(typeof t,o.iUJhk)||a.includes(t)||(a.push(t),n[2]=o.NFToM(g,n[2],t),n[2]=o.NFToM(m,n[2],t),n[2]=o.NFToM(x,n[2],t),s[t]&&console.log(t,n)),n}function x(n,t){const e={TdtUZ:o.PZtRM};if(!u[t]||o.pIoeg(u[t].length,0))return n;const r=u[t];r.sort(((n,t)=>n.options.order-t.options.order));const i=r.reduce(((n,t)=>{const e=t.options.definerPath;return n[e]=n[e]||[],n[e].push(t),n}),{});return new Proxy(n,{apply(n,u,f){const s={RNtpP:function(n,t){return o.NBPBz(n,t)},OgnYi:function(n,t){return o.ngWvM(n,t)},NVGnu:function(n,t,e){return o.nThvR(n,t,e)},FsQqU:function(n,t){return o.mBGXr(n,t)},WzQKK:function(n,t){return o.cbaPh(n,t)},wKSuj:function(n,t,e){return o.NFToM(n,t,e)},ddtiA:function(n,t,e){return o.RHdxX(n,t,e)},wYogT:function(n,t){return o.eBAAH(n,t)},QvLbc:o.WxEsk,QGoAX:function(n,t,e){return o.nThvR(n,t,e)},wgPUa:o.tcZag,GDUNL:function(n,t,e){return o.nThvR(n,t,e)},VmZGl:function(n){return o.XPmzX(n)}},d=n.apply(u,f);if(f[5]&&f[5].dependencies)for(let t=0;o.pnjRV(t,f[5].dependencies.length);t++)f.push(f[5].dependencies[t].exports);const l=f[3],a=f[2],p=o.NBPBz(a,o.acPwt),x=n=>(console.error(n),e.TdtUZ);for(let e in i){const n=o.udxDk(c,f,e,!0),u=e.split(".").pop(),d=o.YwURL(c,f,e);n[u]=function(...n){const o={xfTdR:function(n,t,e){return s.ddtiA(n,t,e)},ArTnS:function(n,t){return s.wYogT(n,t)},tnAWx:s.QvLbc,CBQDc:function(n,t,e){return s.QGoAX(n,t,e)}},u=d.apply(d,n),c=n[0],{useState:a,useEffect:m,jsx:g,Fragment:b}=s.WzQKK(l,s.wgPUa),[v,y]=s.OgnYi(a,0);function P(n){return n&&n.$1&&o.ArTnS(typeof n.$1,o.tnAWx)?o.CBQDc(g,n,n.props):n}return s.GDUNL(m,(()=>{const n=s.wKSuj(h,t,(()=>{var n,t;n=y,t=Math.random(),s.WzQKK(n,t)}));return()=>n()}),[]),s.GDUNL(g,p,{fallback:x,children:s.VmZGl((()=>{if(!i[e])return s.OgnYi(P,u);const d=i[e].find((n=>n.options.skipOthers));if(d&&d.component)return s.NVGnu(g,d.fallback?p:b,{fallback:d.fallback,children:s.NVGnu(g,d.component,{payload:c,SourceCmp:u,lastCmp:s.FsQqU(P,u),definedArgs:f,callingArgs:n,extraPayloadFromDefiner:d.options.extraPayload,proxyCount:0,removeThisModuleProxy(){const n=i[e].indexOf(d);~n&&i[e].splice(n,1)}})});let l=0;return i[e].reduce(((d,a)=>(a.component&&(d=o.xfTdR(g,a.fallback?p:b,{fallback:a.fallback,children:o.xfTdR(g,a.component,{payload:c,SourceCmp:u,lastCmp:d,extraPayloadFromDefiner:a.options.extraPayload,proxyCount:l,definedArgs:f,callingArgs:n,removeThisModuleProxy(){const n=i[e].indexOf(a);if(~n){const o=r.indexOf(a);i[e].splice(n,1),r.splice(o,1),function(n,t){s.RNtpP(n,t)}(w,t)}}})}),l++),d)),s.OgnYi(P,u))}))})}}return d}})}function m(n,t){const e=function(n,t){return o.pnjRV(n,t)};return i[t]?new Proxy(n,{apply(n,r,u){const c=function(n,t){return function(n,t){return o.oJYen(n,t)}(n,t)};if(u[5]&&u[5].dependencies)for(let t=0;e(t,u[5].dependencies.length);t++)u.push(u[5].dependencies[t].exports);const f=n.apply(r,u);return i[t].map((n=>{c(n,u)})),f}}):n}function g(n,t){if(!f[t])return n;const r=f[t];r.sort(((n,t)=>n.options.order-t.options.order));const u=r.find((n=>n.options.skipOthers));return u?o.tqVOU(e,u.replacement(n.toString())):o.ngWvM(e,r.reduce(((n,t)=>t.replacement(n)),n.toString()))}function h(n,t){return d[n]=d[n]||[],d[n].push(t),()=>{const e=d[n].findIndex(t);d[n].splice(e,1)}}function w(n){if(d[n])for(let t of d[n])o.vKyGR(t)}r.zKjQYvgSmF=function(t){return window.require(o.cbaPh(n,t))},r.zKjQYvcSmF=(n,e,r)=>{const[i,c]=o.RPXKX(t,n);u[i]||console.error("Undefined module "+i+" from "+c+" #1");const f=u[i].find((n=>n.extensionId===c));if(!f)return console.error("Undefined module "+i+" from "+c+" #2");const{fallback:s}=o.hgzyz(r,{});f.component=e,f.fallback=s,o.cbaPh(w,i)},r.zKjQYVcSmF=(n,e)=>{const r=Object.assign({order:10,skipOthers:!1,beforeInject:()=>!0,afterInject:()=>{},extraPayload:void 0,definerPath:o.tNNNA},e),[i,c]=o.ngWvM(t,n);u[i]=u[i]||[],u[i].push({extensionId:c,moduleName:i,options:r,component:void 0,fallback:void 0})},r.zKjQYwcSmF=t=>{s[o.KIqTt(n,t)]=!0},r.zKjQYvcSfF=(n,e,r)=>{const u=Object.assign({order:10,skipOthers:!1},r),[i,c]=o.mBGXr(t,n);f[i]=f[i]||[],f[i].push({moduleName:i,options:u,replacement:e})},r.zKGQYvcSmF=(t,e)=>{t=o.RPXKX(n,t),i[t]=i[t]||[],i[t].push(e)},r.zKjQYvcSfF(o.SPNho,(n=>n.replace('debugjs.")','debugjs.");console.error(b.stackFrames.slice(0,10).map(e=>e.text).join("\\n"))'))),r.zKjQYvcSfF(o.euJez,(n=>n.replace(/Error\(\w\(418\)\)/g,"void 0"))),r.zKjQYvcSfF(o.MKrtJ,(n=>n.replace(/,(\w)=new\(b\("relay-runtime\/mutations\/RelayRecordSourceProxy"/,',$1=window["RlbiULLGWt"]=new(b("relay-runtime/mutations/RelayRecordSourceProxy"')))})(window),(n=>{const t="args undefined",e=function(n,t){return n-t},r="($1_*_*_*_*_$2)",o="_*_*_*_*_",u="debug",i="undefined value",c="RlbiULLGWt",f=function(n,t){return n===t},s="string",d=function(n,t){return n===t},l=function(n,t){return n(t)},a=".$1",p=function(n,t){return n<t},x=function(n,t){return n===t},m=function(n,t){return n(t)},g=function(n,t){return n(t)},h=function(n,t){return n===t},w=function(n,t){return n===t},b=function(n,t){return n(t)},v=function(n,t){return n===t},y=function(n,t){return n(t)},P="vTUNhjwVvX";n[P]||(n[P]=!0,n.zKjqYvcSmF=(P,N,S)=>{const _={LkJdZ:t,sxfnF:function(n,t){return e(n,t)},XPLaO:r,xIsFr:o,COOIa:u,kCWJf:i},F=n[c],R=f(typeof P,s)?F.get(P):P;if(d(R,void 0))return R;let j=l((function(n){return n.replace(/\((.*?)\.(.*?)\)/g,_.XPLaO)}),N.replace(/\[(\d+)\]/g,a)).split(".");j=j.map((n=>n.replaceAll(_.xIsFr,".")));let T=R;for(let n=0;p(n,j.length);n++){const t=j[n];if(f(t,"*"))return T;if(x(t.indexOf("^^"),0)){const[n,e]=m(z,t.substring(2));if(T=T.getLinkedRecords(n,e),d(T,void 0))return l(A,t),T}else if(f(t.indexOf("^"),0)){const[n,e]=g(z,t.substring(1));if(T=T.getLinkedRecord(n,e),h(T,void 0)||w(T,null))return l(A,t),T}else if(t.match(/^\d+$/)){if(T=T[l(parseInt,t)],f(T,void 0)||w(T,null))return b(A,t),T}else{const[n,e]=m(z,t);if(T=T.getValue(n,e),w(T,void 0)||v(T,null))return y(A,t),T}}return T;function z(n){const[t,e]=n.split("{");if(!e)return[t,{}];if(!S)throw new Error(_.LkJdZ);return[t,S[e.substring(0,_.sxfnF(e.length,1))]||{}]}function A(t){~n.location.search.indexOf(_.COOIa)&&console.warn(_.kCWJf,{id:P,path:N,args:S,currentPath:t})}})})(window),(t=>{const e="xmxlgxMDjA";if(window[e])return;window[e]=!0;let r={};t.zKGQYvcSmF("sf{jmbjsfTbubEfmqnjTsiy",(n=>{const t=n[4].exports.default;n[4].exports.default=function(...n){const e=n[0].fb_api_req_friendly_name;return e&&r[e]&&(n[0]=r[e].reduce(((n,t)=>function(n,t){return function(n,t){return n(t)}(n,t)}(t,n)),n[0])),t.apply(t,n)}})),t.zkjQYvcSmF=(t,e)=>{t=function(n,t){return n(t)}(n,t),r[t]=r[t]||[],r[t].push(e)}})(window)}();
1
+ !function(){"use strict";function n(n){return n.split("").reverse().map((n=>String.fromCharCode(n.charCodeAt(0)-1))).join("")}function e(e){const t={fPbCg:"default",YmUIJ:function(n,e){return n(e)}},[r,o=t.fPbCg]=t.YmUIJ(n,e).split("|");return[r,o]}function t(n){const e=function(n,e){return n(e)},t=function(n,e){return n+e},o=e(r,n),u=i(n),c=t("id_",function(n){return n()}(f));let l="window['__fnCache'][\""+c+'"]= function('+u+"){"+o+"}";const s=window.document,a="Y3JlaYXRlRotWxlbWVudA",d=window[t(function(n,e){return n+e}(function(n,e){return n+e}(a[4],a[11]),a[10]),a[15])];var p=s[e(d,e(d,"WTNKbFlYUmxSV3hsYldWdWRBPT0="))](function(n,e){return n(e)}(d,e(d,"YzJOeWFYQjA=")));try{p.appendChild(s.createTextNode(l))}catch(x){p.text=l}let m=s.getElementsByTagName("head")[0]||s.documentElement;return m.appendChild(p),m.removeChild(p),window.__fnCache[""+c]}function r(n){return n.slice(n.indexOf("{")+1,n.lastIndexOf("}"))||""}window.__fnCache=window.__fnCache||{};let o=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,u=/([^\s,]+)/g;function i(n){let e=n.replace(o,""),t=e.slice((r=e.indexOf("("),i=1,r+i),e.indexOf(")")).match(u);var r,i;return function(n,e){return n===e}(t,null)&&(t=[]),t}function c(n,e,t=!1){const r=function(n,e){return n<e},o=function(n,e){return n===e},u=e.split(/\.|\[(\d+)\]/).filter(Boolean);let i,c=n;for(let f=0;r(f,u.length);f++)if(i=c,c=c[u[f]],o(c,void 0))return t?i:void 0;return t?i:c}function f(){const n={ckGBI:function(n,e){return n|e},FsxMN:function(n,e){return n%e},pvujd:function(n,e){return n+e},KsaBz:function(n,e){return n*e},UpLrG:function(n,e){return n/e},lkNUk:function(n,e){return n==e},wymoU:function(n,e){return n|e},xdSEV:function(n,e){return n&e},luVrS:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"};let e=(new Date).getTime();return n.luVrS.replace(/[xy]/g,(function(t){var r=n.ckGBI(n.FsxMN(n.pvujd(e,n.KsaBz(Math.random(),16)),16),0);return e=Math.floor(n.UpLrG(e,16)),(n.lkNUk(t,"x")?r:n.wymoU(n.xdSEV(r,3),8)).toString(16)}))}(r=>{const o={wmhIy:function(n,e){return n(e)},Vwabo:function(n,e){return n!==e},gtAqR:"string",CQuLL:function(n,e,t){return n(e,t)},sbhlP:function(n,e,t){return n(e,t)},WFkRr:function(n,e,t){return n(e,t)},xKMoX:function(n,e){return n(e)},tlXPP:function(n,e){return n||e},GOZuI:function(n,e){return n(e)},grYUa:"[6].default",lLtDb:function(n,e){return n(e)},LxLAC:function(n,e,t){return n(e,t)},TcXvz:function(n,e){return n(e)},QOpMV:function(n,e,t){return n(e,t)},kuwez:function(n,e){return n===e},JCxjd:"function",ceJfV:"react",kEsMi:function(n){return n()},gAzdo:function(n,e){return n<e},UAIji:"CometErrorBoundary.react",iOYjS:function(n,e,t,r){return n(e,t,r)},RRkFq:function(n,e,t){return n(e,t)},HNcrO:"Error",AvzxT:function(n,e){return n===e},EJVRo:function(n,e){return n<e},DdRAo:function(n,e){return n(e)},VCORz:function(n,e){return n(e)},MAgPD:"GZUAwCFuFf",MhZvT:"__d_stub",SPLAN:"__d",maOjr:"umvbgfe}spssf.cg",WXXVA:"umvbgfe}djttbmd/epsq.NPEudbfS",hQdFu:"umvbgfe}fvfvRitjmcvQzbmfS0fsput0fnjuovs.zbmfs"};if(window[o.MAgPD])return;window[o.MAgPD]=!0;const u={},i={},f={},l={},s={};let a=window.__d;window.__d&&(~a.toString().indexOf(o.MhZvT)?delete window.__d:a=new Proxy(window.__d,{apply:(n,e,t)=>(t=o.wmhIy(p,t),n.apply(e,t))})),Object.defineProperty(window,o.SPLAN,{get:function(){return a},set:function(n){a=new Proxy(n,{apply:(n,e,t)=>(t=function(n,e){return o.wmhIy(n,e)}(p,t),n.apply(e,t))})}});const d=[];function p(n){let[e,t,r]=n;return o.Vwabo(typeof e,o.gtAqR)||d.includes(e)||(d.push(e),n[2]=o.CQuLL(g,n[2],e),n[2]=o.sbhlP(x,n[2],e),n[2]=o.WFkRr(m,n[2],e),l[e]&&console.log(e,n)),n}function m(n,e){const t={WvUGL:o.HNcrO};if(!u[e]||o.AvzxT(u[e].length,0))return n;const r=u[e];r.sort(((n,e)=>n.options.order-e.options.order));const i=r.reduce(((n,e)=>{const t=e.options.definerPath;return n[t]=n[t]||[],n[t].push(e),n}),{});return new Proxy(n,{apply(n,u,f){const l={HbSEa:function(n,e){return o.wmhIy(n,e)},kqXIV:function(n,e,t){return o.LxLAC(n,e,t)},Ljpft:function(n,e){return o.TcXvz(n,e)},CByir:function(n,e,t){return o.QOpMV(n,e,t)},IoAgc:function(n,e){return o.TcXvz(n,e)},baUOO:function(n,e){return o.TcXvz(n,e)},OtWSe:function(n,e){return o.kuwez(n,e)},wWtpp:o.JCxjd,gmpqV:function(n,e){return o.TcXvz(n,e)},FHbUX:o.ceJfV,BDILv:function(n,e,t){return o.QOpMV(n,e,t)},EUoGn:function(n){return o.kEsMi(n)}},s=n.apply(u,f);if(f[5]&&f[5].dependencies)for(let e=0;o.gAzdo(e,f[5].dependencies.length);e++)f.push(f[5].dependencies[e].exports);const a=f[3],d=f[2],p=o.TcXvz(d,o.UAIji),m=n=>(console.error(n),t.WvUGL);for(let t in i){const n=o.iOYjS(c,f,t,!0),u=t.split(".").pop(),s=o.RRkFq(c,f,t);n[u]=function(...n){const o={aTgBG:function(n,e){return l.HbSEa(n,e)},CXRPe:function(n,e){return l.OtWSe(n,e)},DPMSy:l.wWtpp,WqgXn:function(n,e,t){return l.CByir(n,e,t)}},u=s.apply(s,n),c=n[0],{useState:d,useEffect:x,jsx:g,Fragment:h}=l.gmpqV(a,l.FHbUX),[v,b]=l.gmpqV(d,0);function S(n){return n&&n.$1&&o.CXRPe(typeof n.$1,o.DPMSy)?o.WqgXn(g,n,n.props):n}return l.kqXIV(x,(()=>{const n=l.kqXIV(w,e,(()=>{o.aTgBG(b,Math.random())}));return()=>n()}),[]),l.BDILv(g,p,{fallback:m,children:l.EUoGn((()=>{if(!i[t])return l.Ljpft(S,u);const o=i[t].find((n=>n.options.skipOthers));if(o&&o.component)return l.kqXIV(g,o.fallback?p:h,{fallback:o.fallback,children:l.CByir(g,o.component,{payload:c,SourceCmp:u,lastCmp:l.IoAgc(S,u),definedArgs:f,callingArgs:n,extraPayloadFromDefiner:o.options.extraPayload,proxyCount:0,removeThisModuleProxy(){const n=i[t].indexOf(o);~n&&i[t].splice(n,1)}})});let s=0;return i[t].reduce(((o,a)=>{const d=function(n,e){return function(n,e){return l.HbSEa(n,e)}(n,e)};return a.component&&(o=function(n,e,t){return l.kqXIV(n,e,t)}(g,a.fallback?p:h,{fallback:a.fallback,children:(m=g,x=a.component,w={payload:c,SourceCmp:u,lastCmp:o,extraPayloadFromDefiner:a.options.extraPayload,proxyCount:s,definedArgs:f,callingArgs:n,removeThisModuleProxy(){const n=i[t].indexOf(a);if(~n){const o=r.indexOf(a);i[t].splice(n,1),r.splice(o,1),d(y,e)}}},l.kqXIV(m,x,w))}),s++),o;var m,x,w}),l.baUOO(S,u))}))})}}return s}})}function x(n,e){return i[e]?new Proxy(n,{apply(n,t,r){if(r[5]&&r[5].dependencies)for(let e=0;o.EJVRo(e,r[5].dependencies.length);e++)r.push(r[5].dependencies[e].exports);const u=n.apply(t,r);return i[e].map((n=>{!function(n,e){o.xKMoX(n,e)}(n,r)})),u}}):n}function g(n,e){if(!f[e])return n;const r=f[e];r.sort(((n,e)=>n.options.order-e.options.order));const u=r.find((n=>n.options.skipOthers));return u?o.DdRAo(t,u.replacement(n.toString())):o.VCORz(t,r.reduce(((n,e)=>e.replacement(n)),n.toString()))}function w(n,e){return s[n]=s[n]||[],s[n].push(e),()=>{const t=s[n].findIndex(e);s[n].splice(t,1)}}function y(n){if(s[n])for(let e of s[n])o.kEsMi(e)}r.zKjQYvgSmF=function(e){return window.require(o.wmhIy(n,e))},r.zKjQYvcSmF=(n,t,r)=>{const[i,c]=o.xKMoX(e,n);u[i]||console.error("Undefined module "+i+" from "+c+" #1");const f=u[i].find((n=>n.extensionId===c));if(!f)return console.error("Undefined module "+i+" from "+c+" #2");const{fallback:l}=o.tlXPP(r,{});f.component=t,f.fallback=l,o.xKMoX(y,i)},r.zKjQYVcSmF=(n,t)=>{const r=Object.assign({order:10,skipOthers:!1,beforeInject:()=>!0,afterInject:()=>{},extraPayload:void 0,definerPath:o.grYUa},t),[i,c]=o.wmhIy(e,n);u[i]=u[i]||[],u[i].push({extensionId:c,moduleName:i,options:r,component:void 0,fallback:void 0})},r.zKjQYwcSmF=e=>{l[o.wmhIy(n,e)]=!0},r.zKjQYvcSfF=(n,t,r)=>{const u=Object.assign({order:10,skipOthers:!1},r),[i,c]=o.lLtDb(e,n);f[i]=f[i]||[],f[i].push({moduleName:i,options:u,replacement:t})},r.zKGQYvcSmF=(e,t)=>{e=o.GOZuI(n,e),i[e]=i[e]||[],i[e].push(t)},r.zKjQYvcSfF(o.maOjr,(n=>n.replace('debugjs.")','debugjs.");console.error(b.stackFrames.slice(0,10).map(e=>e.text).join("\\n"))'))),r.zKjQYvcSfF(o.WXXVA,(n=>n.replace(/Error\(\w\(418\)\)/g,"void 0"))),r.zKjQYvcSfF(o.hQdFu,(n=>n.replace(/,(\w)=new\(b\("relay-runtime\/mutations\/RelayRecordSourceProxy"/,',$1=window["RlbiULLGWt"]=new(b("relay-runtime/mutations/RelayRecordSourceProxy"'))),r.zKjQYvcSfF(o.hQdFu,(n=>n.replace(/;(\w)\.commitPayload=function\(([\w,]+)\){/,";$1.commitPayload=function($2){try{if(arguments[0]){if(arguments[0]?.request?.variables?.__relay_internal__pv__CometUFIReactionEnableShortNamerelayprovider === true) return;};}catch(e){console.log('relayStoreCommitPayload',e)};")))})(window),(n=>{const e="_*_*_*_*_",t="args undefined",r=function(n,e){return n-e},o="($1_*_*_*_*_$2)",u="debug",i="undefined value",c="RlbiULLGWt",f=function(n,e){return n===e},l="string",s=function(n,e){return n===e},a=function(n,e){return n(e)},d=".$1",p=function(n,e){return n<e},m=function(n,e){return n(e)},x=function(n,e){return n===e},g=function(n,e){return n===e},w="vTUNhjwVvX";n[w]||(n[w]=!0,n.zKjqYvcSmF=(w,y,h)=>{const v={gyUSp:t,UOlHe:function(n,e){return r(n,e)},qVgjF:o,pWgyN:u,cQKLa:i},b=n[c],S=f(typeof w,l)?b.get(w):w;if(s(S,void 0))return S;let j=a((function(n){return n.replace(/\((.*?)\.(.*?)\)/g,v.qVgjF)}),y.replace(/\[(\d+)\]/g,d)).split(".");j=j.map((n=>n.replaceAll(e,".")));let _=S;for(let n=0;p(n,j.length);n++){const e=j[n];if(s(e,"*"))return _;if(s(e.indexOf("^^"),0)){const[n,t]=a(O,e.substring(2));if(_=_.getLinkedRecords(n,t),s(_,void 0))return a(k,e),_}else if(f(e.indexOf("^"),0)){const[n,t]=a(O,e.substring(1));if(_=_.getLinkedRecord(n,t),s(_,void 0)||s(_,null))return a(k,e),_}else if(e.match(/^\d+$/)){if(_=_[m(parseInt,e)],x(_,void 0)||x(_,null))return a(k,e),_}else{const[n,t]=a(O,e);if(_=_.getValue(n,t),s(_,void 0)||g(_,null))return a(k,e),_}}return _;function O(n){const[e,t]=n.split("{");if(!t)return[e,{}];if(!h)throw new Error(v.gyUSp);return[e,h[t.substring(0,v.UOlHe(t.length,1))]||{}]}function k(e){~n.location.search.indexOf(v.pWgyN)&&console.warn(v.cQKLa,{id:w,path:y,args:h,currentPath:e})}})})(window),(e=>{const t=function(n,e){return n(e)},r="xmxlgxMDjA";if(window[r])return;window[r]=!0;let o={};e.zKGQYvcSmF("sf{jmbjsfTbubEfmqnjTsiy",(n=>{const e=n[4].exports.default;n[4].exports.default=function(...n){const r=n[0].fb_api_req_friendly_name;return r&&o[r]&&(n[0]=o[r].reduce(((n,e)=>function(n,e){return t(n,e)}(e,n)),n[0])),e.apply(e,n)}})),e.zkjQYvcSmF=(e,r)=>{e=t(n,e),o[e]=o[e]||[],o[e].push(r)}})(window)}();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sidesuit/pkg-module-proxy",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.1.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.iife.js",
7
7
  "module": "./dist/index.iife.js",
@@ -16,21 +16,21 @@
16
16
  "checkUpdate": "NPM_CHECK_INSTALLER=pnpm npm-check -u -i"
17
17
  },
18
18
  "devDependencies": {
19
- "@rollup/plugin-replace": "^5.0.2",
20
- "@sidesuit/pkg-vite-plugins": "^0.0.16",
21
- "@types/lodash-es": "^4.17.8",
22
- "@types/node": "^20.4.2",
23
- "@types/react": "^18.2.15",
24
- "@vitejs/plugin-react": "4.0.3",
25
- "glob": "10.3.3",
19
+ "@rollup/plugin-replace": "^5.0.5",
20
+ "@sidesuit/pkg-vite-plugins": "^0.0.17",
21
+ "@types/lodash-es": "^4.17.12",
22
+ "@types/node": "^20.11.5",
23
+ "@types/react": "^18.2.48",
24
+ "@vitejs/plugin-react": "4.2.1",
25
+ "glob": "10.3.10",
26
26
  "javascript-obfuscator-unstring-array": "^4.1.1",
27
27
  "lodash-es": "^4.17.21",
28
28
  "npm-check": "^6.0.1",
29
- "prettier": "^3.0.0",
29
+ "prettier": "^3.2.4",
30
30
  "react": "^18.2.0",
31
- "terser": "^5.24.0",
32
- "tsc-alias": "^1.8.7",
33
- "typescript": "^5.1.6",
31
+ "terser": "^5.27.0",
32
+ "tsc-alias": "^1.8.8",
33
+ "typescript": "^5.3.3",
34
34
  "vite": "^4.4.4",
35
35
  "vite-plugin-static-copy": "^0.16.0"
36
36
  }