{"version":3,"sources":["webpack:///./node_modules/inferno-create-element/dist/index.esm.js"],"names":["isNullOrUndef","o","isString","isUndefined","componentHooks","onComponentDidMount","onComponentDidUpdate","onComponentShouldUpdate","onComponentWillMount","onComponentWillUnmount","onComponentWillUpdate","createElement","type","props","_children","children","newProps","arguments$1","arguments","ref","key","className","flags","childLen","length","prop$1","prop"],"mappings":"4HAAA,kDAEA,SAASA,EAAcC,GACnB,YAAa,IAANA,GAAsB,OAANA,EAE3B,SAASC,EAASD,GACd,MAAoB,kBAANA,EAElB,SAASE,EAAYF,GACjB,YAAa,IAANA,EAGX,IAAIG,EAAiB,CACjBC,oBAAqB,EACrBC,qBAAsB,EACtBC,wBAAyB,EACzBC,qBAAsB,EACtBC,uBAAwB,EACxBC,sBAAuB,GAE3B,SAASC,EAAcC,EAAMC,EAAOC,GAChC,IACIC,EAKAC,EANAC,EAAcC,UAEdC,EAAM,KACNC,EAAM,KACNC,EAAY,KACZC,EAAQ,EAERC,EAAWL,UAAUM,OAAS,EAClC,GAAiB,IAAbD,EACAR,EAAWD,OAEV,GAAIS,EAAW,EAAG,CACnBR,EAAW,GACX,MAAOQ,KAAa,EAChBR,EAASQ,GAAYN,EAAYM,EAAW,GAGpD,IAAIrB,EAASU,GA0BR,CAQD,GAPAU,EAAQ,EACHnB,EAAYY,KACRF,IACDA,EAAQ,IAEZA,EAAME,SAAWA,IAEhBf,EAAca,GAEf,IAAK,IAAIY,KADTT,EAAW,GACQH,EACA,QAAXY,EACAL,EAAMP,EAAMO,IAEI,QAAXK,EACLN,EAAMN,EAAMM,IAEoB,IAA3Bf,EAAeqB,IACfN,IACDA,EAAM,IAEVA,EAAIM,GAAUZ,EAAMY,IAGpBT,EAASS,GAAUZ,EAAMY,GAIrC,OAAO,eAAqBH,EAAOV,EAAMI,EAAUI,EAAKD,GApDxD,GADAG,EAAQ,eAAwBV,IAC3BZ,EAAca,GAEf,IAAK,IAAIa,KADTV,EAAW,GACMH,EACA,cAATa,GAAiC,UAATA,EACxBL,EAAYR,EAAMa,GAEJ,QAATA,EACLN,EAAMP,EAAMO,IAEE,aAATM,GAAuBvB,EAAYY,GACxCA,EAAWF,EAAME,SAEH,QAATW,EACLP,EAAMN,EAAMM,KAGC,oBAATO,IACAJ,GAAS,MAEbN,EAASU,GAAQb,EAAMa,IAmCvC,OAAY,KAARJ,EACO,eAA4B,IAAbC,EAAiB,CAACR,GAAYA,EAAU,EAAyBK,GAEpF,eAAYE,EAAOV,EAAMS,EAAWN,EAAU,EAAyBC,EAAUI,EAAKD","file":"js/npm.inferno-create-element.98e5035b.js","sourcesContent":["import { getFlagsForElementVnode, createComponentVNode, createFragment, createVNode } from 'inferno';\n\nfunction isNullOrUndef(o) {\n return o === void 0 || o === null;\n}\nfunction isString(o) {\n return typeof o === 'string';\n}\nfunction isUndefined(o) {\n return o === void 0;\n}\n\nvar componentHooks = {\n onComponentDidMount: 1,\n onComponentDidUpdate: 1,\n onComponentShouldUpdate: 1,\n onComponentWillMount: 1,\n onComponentWillUnmount: 1,\n onComponentWillUpdate: 1\n};\nfunction createElement(type, props, _children) {\n var arguments$1 = arguments;\n var children;\n var ref = null;\n var key = null;\n var className = null;\n var flags = 0;\n var newProps;\n var childLen = arguments.length - 2;\n if (childLen === 1) {\n children = _children;\n }\n else if (childLen > 1) {\n children = [];\n while (childLen-- > 0) {\n children[childLen] = arguments$1[childLen + 2];\n }\n }\n if (isString(type)) {\n flags = getFlagsForElementVnode(type);\n if (!isNullOrUndef(props)) {\n newProps = {};\n for (var prop in props) {\n if (prop === 'className' || prop === 'class') {\n className = props[prop];\n }\n else if (prop === 'key') {\n key = props.key;\n }\n else if (prop === 'children' && isUndefined(children)) {\n children = props.children; // always favour children args over props\n }\n else if (prop === 'ref') {\n ref = props.ref;\n }\n else {\n if (prop === 'contenteditable') {\n flags |= 4096 /* ContentEditable */;\n }\n newProps[prop] = props[prop];\n }\n }\n }\n }\n else {\n flags = 2 /* ComponentUnknown */;\n if (!isUndefined(children)) {\n if (!props) {\n props = {};\n }\n props.children = children;\n }\n if (!isNullOrUndef(props)) {\n newProps = {};\n for (var prop$1 in props) {\n if (prop$1 === 'key') {\n key = props.key;\n }\n else if (prop$1 === 'ref') {\n ref = props.ref;\n }\n else if (componentHooks[prop$1] === 1) {\n if (!ref) {\n ref = {};\n }\n ref[prop$1] = props[prop$1];\n }\n else {\n newProps[prop$1] = props[prop$1];\n }\n }\n }\n return createComponentVNode(flags, type, newProps, key, ref);\n }\n if (flags & 8192 /* Fragment */) {\n return createFragment(childLen === 1 ? [children] : children, 0 /* UnknownChildren */, key);\n }\n return createVNode(flags, type, className, children, 0 /* UnknownChildren */, newProps, key, ref);\n}\n\nexport { createElement };\n"],"sourceRoot":""}