{"version":3,"file":"@react-dnd-CTMLonzE.js","sources":["../../node_modules/@react-dnd/invariant/dist/index.js","../../node_modules/@react-dnd/shallowequal/dist/index.js"],"sourcesContent":["/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */ export function invariant(condition, format, ...args) {\n if (isProduction()) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, function() {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n error.framesToPop = 1 // we don't care about invariant's own frame\n ;\n throw error;\n }\n}\nfunction isProduction() {\n return typeof process !== 'undefined' && process.env['NODE_ENV'] === 'production';\n}\n\n//# sourceMappingURL=index.js.map","export function shallowEqual(objA, objB, compare, compareContext) {\n let compareResult = compare ? compare.call(compareContext, objA, objB) : void 0;\n if (compareResult !== void 0) {\n return !!compareResult;\n }\n if (objA === objB) {\n return true;\n }\n if (typeof objA !== 'object' || !objA || typeof objB !== 'object' || !objB) {\n return false;\n }\n const keysA = Object.keys(objA);\n const keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) {\n return false;\n }\n const bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n // Test for A's keys different from B.\n for(let idx = 0; idx < keysA.length; idx++){\n const key = keysA[idx];\n if (!bHasOwnProperty(key)) {\n return false;\n }\n const valueA = objA[key];\n const valueB = objB[key];\n compareResult = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n if (compareResult === false || compareResult === void 0 && valueA !== valueB) {\n return false;\n }\n }\n return true;\n}\n\n//# sourceMappingURL=index.js.map"],"names":["invariant","condition","format","args","process","Error","error","argIndex","replace","name","framesToPop","shallowEqual","objA","objB","compare","compareContext","compareResult","keysA","Object","keys","keysB","length","bHasOwnProperty","prototype","hasOwnProperty","bind","idx","key","valueA","valueB"],"mappings":"AASoB,SAAAA,EAAUC,EAAWC,KAAWC,GAChD,GAsB0B,oBAAZC,cArBK,IAAXF,EACM,MAAA,IAAIG,MAAM,gDAGxB,IAAKJ,EAAW,CACR,IAAAK,EACJ,QAAe,IAAXJ,EACQI,EAAA,IAAID,MAAM,qIACf,CACH,IAAIE,EAAW,EACfD,EAAQ,IAAID,MAAMH,EAAOM,QAAQ,OAAO,WACpC,OAAOL,EAAKI,IACf,KACDD,EAAMG,KAAO,qBACjB,CAGM,MAFNH,EAAMI,YAAc,EAEdJ,CACV,CACJ,CC9BO,SAASK,EAAaC,EAAMC,EAAMC,EAASC,GAC9C,IAAIC,EACJ,QAAsB,IAAlBA,EACA,QAASA,EAEb,GAAIJ,IAASC,EACF,OAAA,EAEP,GAAgB,iBAATD,IAAsBA,GAAwB,iBAATC,IAAsBA,EAC3D,OAAA,EAEL,MAAAI,EAAQC,OAAOC,KAAKP,GACpBQ,EAAQF,OAAOC,KAAKN,GACtB,GAAAI,EAAMI,SAAWD,EAAMC,OAChB,OAAA,EAEX,MAAMC,EAAkBJ,OAAOK,UAAUC,eAAeC,KAAKZ,GAE7D,IAAA,IAAQa,EAAM,EAAGA,EAAMT,EAAMI,OAAQK,IAAM,CACjC,MAAAC,EAAMV,EAAMS,GACd,IAACJ,EAAgBK,GACV,OAAA,EAEL,MAAAC,EAAShB,EAAKe,GACdE,EAAShB,EAAKc,GAEpB,GAD8EX,OAAA,GACxD,IAAlBA,QAA6C,IAAlBA,GAA4BY,IAAWC,EAC3D,OAAA,CAEd,CACM,OAAA,CACX","x_google_ignoreList":[0,1]}