{"version":3,"file":"static/js/f326835228ed16a1f764.bundle.js","mappings":";4KAiBA,MAAMA,UAA2BC,EAAAA,cACtBC,SACH,OAAOC,KAAKC,MAAMC,WAAWF,KAAKC,QAI1C,mECfA,QAAgBA,IACZ,MACIE,QAAQ,oBAAEC,GACVC,SACIC,SACIC,MAAM,gBAAEC,KAGhBC,OAAO,gBAAEC,EAAe,cAAEC,IAC1BV,EACJ,OACIH,EAAAA,cAAA,WACKU,IAAmBG,MAAAA,OAAa,EAAbA,EAAeC,SAAUD,EAAcE,KAAI,CAACC,EAAMC,IAAQjB,EAAAA,cAAA,OAAKkB,IAAKD,GAAMD,KAC5FN,GAAoBJ,EAAyF,KAAnEM,MAAAA,OAAe,EAAfA,EAAiBG,KAAI,CAACC,EAAMC,IAAQjB,EAAAA,cAAA,OAAKkB,IAAKD,GAAMD,4mBCrB5G,MAAMG,EAAU,CAAEC,QAAS,GAAIC,YAAa,IAEvCF,EAAQC,QAAQ,wBAA0B,CACvCE,EAAGA,IAAMC,EAAQ,MACjBC,MAAO,kBACPC,GAAI,GAEJC,KAAK,EACLC,GAAI,YACJC,EAAG,uBACHC,EAAG,YAEHC,IAAK,GAGLC,GAAI,oCAKRC,OAAOC,aAAeD,OAAOC,cAAgB,GAC7CD,OAAOC,aAAab,QAAOc,EAAAA,EAAA,GACpBF,OAAOC,aAAab,SAAW,IAC/BD,EAAQC,SAGXY,OAAOC,aAAaZ,YAAWa,EAAAA,EAAA,GAC5BF,OAAOC,aAAaZ,aAAe,IACnCF,EAAQE,aAEY,MAAMc,EAAiB,GAC9BA,EAAe,yEAA2E,CAClGb,EAAGA,IAAMC,EAAQ,MACjBa,GAAI,4CAEpBJ,OAAOC,aAAeD,OAAOC,cAAgB,GAC7CD,OAAOC,aAAaE,eAAcD,EAAAA,EAAA,GACPF,OAAOC,aAAaE,gBAAkB,IACtCA,UCtC3BE,EAAOC,QAAUtC","sources":["webpack://Msdyn365.Commerce.Online/./src/modules/eve-secure-container/eve-secure-container.tsx?9024","webpack://Msdyn365.Commerce.Online/./src/modules/eve-secure-container/eve-secure-container.view.tsx?cd20","webpack://Msdyn365.Commerce.Online/./lib/eve-secure-container/module-registration.js?9c20","webpack://Msdyn365.Commerce.Online/external var \"React\"?0d3b"],"sourcesContent":["/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as React from 'react';\r\n\r\nimport { IEveSecureContainerData } from './eve-secure-container.data';\r\nimport { IEveSecureContainerProps } from './eve-secure-container.props.autogenerated';\r\n\r\nexport interface IEveSecureContainerViewProps extends IEveSecureContainerProps {}\r\n\r\n/**\r\n *\r\n * EveSecureContainer component\r\n * @extends {React.PureComponent>}\r\n */\r\nclass EveSecureContainer extends React.PureComponent> {\r\n public render(): JSX.Element | null {\r\n return this.props.renderView(this.props);\r\n }\r\n}\r\n\r\nexport default EveSecureContainer;\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as React from 'react';\r\nimport { IEveSecureContainerViewProps } from './eve-secure-container';\r\n\r\nexport default (props: IEveSecureContainerViewProps) => {\r\n const {\r\n config: { hideUnauthenticated },\r\n context: {\r\n request: {\r\n user: { isAuthenticated }\r\n }\r\n },\r\n slots: { unauthenticated, authenticated }\r\n } = props;\r\n return (\r\n
\r\n {isAuthenticated && authenticated?.length && authenticated.map((node, idx) =>
{node}
)}\r\n {!isAuthenticated || !hideUnauthenticated ? unauthenticated?.map((node, idx) =>
{node}
) : null}\r\n
\r\n );\r\n};\r\n","const binding = { modules: {}, dataActions: {} };\n\n (binding.modules['eve-secure-container'] = {\n c: () => require('partner/modules/eve-secure-container/eve-secure-container.tsx'),\n $type: 'containerModule',\n da: [],\n \n iNM: false,\n ns: '__local__',\n n: 'eve-secure-container',\n p: '__local__',\n \n pdp: '',\n \n \n md: 'src/modules/eve-secure-container'\n });\n \n\n \n window.__bindings__ = window.__bindings__ || {};\n window.__bindings__.modules = {\n ...window.__bindings__.modules || {},\n ...binding.modules\n };\n \n window.__bindings__.dataActions = {\n ...window.__bindings__.dataActions || {},\n ...binding.dataActions\n };\n export const viewDictionary = {};\n viewDictionary['__local__|__local__|modules|eve-secure-container|eve-secure-container'] = {\n c: () => require('partner/modules/eve-secure-container/eve-secure-container.view.tsx'),\n cn: '__local__-__local__-eve-secure-container'\n };\nwindow.__bindings__ = window.__bindings__ || {};\nwindow.__bindings__.viewDictionary = {\n ...window.__bindings__.viewDictionary || {},\n ...viewDictionary\n };","module.exports = React;"],"names":["EveSecureContainer","React","render","this","props","renderView","config","hideUnauthenticated","context","request","user","isAuthenticated","slots","unauthenticated","authenticated","length","map","node","idx","key","binding","modules","dataActions","c","require","$type","da","iNM","ns","n","p","pdp","md","window","__bindings__","_objectSpread","viewDictionary","cn","module","exports"],"sourceRoot":""}