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.
1 lines
1.7 KiB
1 lines
1.7 KiB
{"ast":null,"code":"var isProduction = process.env.NODE_ENV === 'production';\nvar prefix = 'Invariant failed';\n\nfunction invariant(condition, message) {\n if (condition) {\n return;\n }\n\n if (isProduction) {\n throw new Error(prefix);\n }\n\n var provided = typeof message === 'function' ? message() : message;\n var value = provided ? prefix + \": \" + provided : prefix;\n throw new Error(value);\n}\n\nexport { invariant as default };","map":{"version":3,"names":["isProduction","process","env","NODE_ENV","prefix","invariant","condition","message","Error","provided","value","default"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/tiny-invariant/dist/tiny-invariant.esm.js"],"sourcesContent":["var isProduction = process.env.NODE_ENV === 'production';\nvar prefix = 'Invariant failed';\nfunction invariant(condition, message) {\n if (condition) {\n return;\n }\n if (isProduction) {\n throw new Error(prefix);\n }\n var provided = typeof message === 'function' ? message() : message;\n var value = provided ? prefix + \": \" + provided : prefix;\n throw new Error(value);\n}\n\nexport { invariant as default };\n"],"mappings":"AAAA,IAAIA,YAAY,GAAGC,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,YAA5C;AACA,IAAIC,MAAM,GAAG,kBAAb;;AACA,SAASC,SAAT,CAAmBC,SAAnB,EAA8BC,OAA9B,EAAuC;EACnC,IAAID,SAAJ,EAAe;IACX;EACH;;EACD,IAAIN,YAAJ,EAAkB;IACd,MAAM,IAAIQ,KAAJ,CAAUJ,MAAV,CAAN;EACH;;EACD,IAAIK,QAAQ,GAAG,OAAOF,OAAP,KAAmB,UAAnB,GAAgCA,OAAO,EAAvC,GAA4CA,OAA3D;EACA,IAAIG,KAAK,GAAGD,QAAQ,GAAGL,MAAM,GAAG,IAAT,GAAgBK,QAAnB,GAA8BL,MAAlD;EACA,MAAM,IAAII,KAAJ,CAAUE,KAAV,CAAN;AACH;;AAED,SAASL,SAAS,IAAIM,OAAtB"},"metadata":{},"sourceType":"module"} |