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YAAW5D,EAAAA,EAAA,GAC5BiC,OAAOgD,aAAarB,aAAe,IACnCF,EAAQE,aAEY,MAAMsB,EAAiB,GAC9BA,EAAe,mEAAqE,CAC5FrB,EAAGA,IAAMC,EAAQ,MACjBqB,GAAI,yCAEpBlD,OAAOgD,aAAehD,OAAOgD,cAAgB,GAC7ChD,OAAOgD,aAAaC,eAAclF,EAAAA,EAAA,GACPiC,OAAOgD,aAAaC,gBAAkB,IACtCA,UCnF3BE,EAAOC,QAAU7H,cCAjB4H,EAAOC,QAAUC","sources":["webpack://mattressfirm/./src/actions/social-icons-state.action.ts?1e1b","webpack://mattressfirm/./src/modules/mfrm-social-icons/mfrm-social-icons.tsx?3bf3","webpack://mattressfirm/./src/modules/mfrm-social-icons/components/toast.tsx?08eb","webpack://mattressfirm/./src/modules/mfrm-social-icons/mfrm-social-icons.view.tsx?2d42","webpack://mattressfirm/./lib/mfrm-social-icons/module-registration.js?9eeb","webpack://mattressfirm/external var \"React\"?0d3b","webpack://mattressfirm/external var \"ReactDOM\"?853b"],"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 { CacheType, createObservableDataAction, IAction, IActionContext, IActionInput, IAny, ICreateActionContext, IGeneric } from '@msdyn365-commerce/core';\r\nexport interface ISocialIconState {\r\n copyLinkClick: boolean;\r\n}\r\n\r\n/**\r\n * SocialIconsState Input Action\r\n */\r\nexport class SocialIconsStateInput implements IActionInput {\r\n public getCacheKey = () => `SocialIconsState`;\r\n public getCacheObjectType = () => 'SocialIconsState';\r\n public dataCacheType = (): CacheType => 'request';\r\n}\r\n\r\n// Create a data model here or import one to capture the response of the action\r\nexport async function socialIconStateAction(input: SocialIconsStateInput, ctx: IActionContext): Promise {\r\n return { copyLinkClick: false };\r\n}\r\n\r\n/**\r\n * Use this function to create the input required to make the action call\r\n */\r\nconst createInput = (inputData: ICreateActionContext>): IActionInput => {\r\n return new SocialIconsStateInput();\r\n};\r\n\r\nexport default createObservableDataAction({\r\n action: >socialIconStateAction,\r\n // Give your data action a unique id\r\n id: 'SocialIconsState',\r\n input: createInput\r\n});\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\nimport { getPayloadObject, getTelemetryAttributes, getTelemetryObject, IModuleProps, INodeProps, IPayLoad, ITelemetryContent, onTelemetryClick } from '@msdyn365-commerce-modules/utilities';\r\nimport * as Msdyn365 from '@msdyn365-commerce/core';\r\nimport * as React from 'react';\r\nimport classnames from 'classnames';\r\n\r\nimport { IMfrmSocialIconsProps } from './mfrm-social-icons.props.autogenerated';\r\nimport { IMfrmSocialIconsData } from './mfrm-social-icons.data';\r\n\r\nexport interface IMfrmSocialIconsViewProps extends IMfrmSocialIconsProps {\r\n iconText: React.ReactNode;\r\n image?: React.ReactNode;\r\n Link: INodeProps;\r\n SocialIcon: IModuleProps;\r\n}\r\n\r\n/**\r\n *\r\n * MfrmSocialIcons component\r\n * @extends {React.PureComponent>}\r\n */\r\nclass MfrmSocialIcons extends React.PureComponent> {\r\n private readonly telemetryContent: ITelemetryContent;\r\n\r\n private readonly payLoad: IPayLoad;\r\n\r\n private attributes: Msdyn365.IDictionary | undefined;\r\n\r\n constructor(props: IMfrmSocialIconsProps) {\r\n super(props);\r\n this.telemetryContent = getTelemetryObject(this.props.context.request.telemetryPageName!,\r\n this.props.friendlyName,\r\n this.props.telemetry);\r\n\r\n // Construct telemetry attribute to render\r\n this.payLoad = getPayloadObject('click', this.telemetryContent, '', '');\r\n }\r\n\r\n public render(): JSX.Element | null {\r\n const {\r\n text,\r\n image,\r\n link,\r\n className\r\n } = this.props.config;\r\n\r\n const iconText = text ? text : '';\r\n this.payLoad.contentAction.etext = iconText;\r\n this.attributes = getTelemetryAttributes(this.telemetryContent, this.payLoad);\r\n\r\n const imageProps = {\r\n gridSettings: this.props.context.request.gridSettings || {},\r\n imageSettings: image && image.imageSettings\r\n };\r\n\r\n const iconImage = image && (\r\n \r\n );\r\n\r\n if (\r\n !iconText &&\r\n !iconImage\r\n ) {\r\n this.props.context.telemetry.warning(\r\n 'MFRM Social Icons content is empty, module wont render.'\r\n );\r\n return null;\r\n }\r\n\r\n const MfrmSocialIconsViewProps = {\r\n ...this.props,\r\n iconText: this._createText(text!),\r\n image: iconImage,\r\n SocialIcon: {\r\n moduleProps: this.props,\r\n className: classnames('mfrm-social', className)\r\n },\r\n Link: link && link.linkUrl && link.linkUrl.destinationUrl && {\r\n tag: 'a',\r\n role: 'link',\r\n className: 'mfrm-social__link',\r\n href: link.linkUrl.destinationUrl,\r\n title: iconText,\r\n target: link.openInNewTab ? '_blank' : '_self',\r\n onClick: onTelemetryClick(this.telemetryContent, this.payLoad, iconText),\r\n ...this.attributes\r\n }\r\n };\r\n\r\n return this.props.renderView(MfrmSocialIconsViewProps) as React.ReactElement;\r\n }\r\n\r\n public handleTextChange = (event: Msdyn365.ContentEditableEvent) => this.props.config.text = event.target.value;\r\n\r\n private _createText(text: string): React.ReactNode | null {\r\n if (!text) {\r\n return null;\r\n }\r\n return (\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default MfrmSocialIcons;\r\n","import React, { useEffect } from \"react\";\r\n\r\ninterface IToastProps {\r\n closeToast: boolean,\r\n updateShowToast: (arg: boolean) => void;\r\n}\r\n\r\nconst Toast: React.FC = ({ closeToast, updateShowToast }) => {\r\n useEffect(() => {\r\n updateShowToast(closeToast);\r\n }, [closeToast]);\r\n\r\n if(!closeToast) {\r\n return <>;\r\n } else {\r\n return (\r\n
\r\n

Copied to clipboard

\r\n \r\n
\r\n );\r\n }\r\n};\r\n\r\nexport default Toast;","/*!\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 MsDyn365 from '@msdyn365-commerce/core';\r\nimport { Module, Node } from '@msdyn365-commerce-modules/utilities';\r\nimport * as React from 'react';\r\nimport { IMfrmSocialIconsViewProps } from './mfrm-social-icons';\r\nimport Toast from './components/toast';\r\nimport { SocialIconsStateInput } from '../../actions/social-icons-state.action';\r\n\r\nexport default (props: IMfrmSocialIconsViewProps) => {\r\n const {\r\n iconText,\r\n image,\r\n Link,\r\n SocialIcon\r\n } = props;\r\n\r\n const { text } = props.config;\r\n\r\n //Modify image width for Facebook\r\n const socialIconFacebook = ((text?.toLowerCase() === 'facebook') ? 'social-media-icon-facebook' : '');\r\n const classes = `mfrm-social__image ${socialIconFacebook}`;\r\n\r\n //Managing state for opening and closing Toast indicator\r\n const [showToast, setShowToast] = React.useState(false);\r\n const [copyLinkClicked, setCopyLinkClicked] = React.useState(false);\r\n const updateShowToast = (closeToast: boolean):void => {\r\n setShowToast(closeToast);\r\n };\r\n\r\n function copyLink() {\r\n const el = document.createElement(\"input\");\r\n el.value = window.location.href;\r\n document.body.appendChild(el);\r\n el.select();\r\n document.execCommand(\"copy\");\r\n document.body.removeChild(el);\r\n setShowToast(true);\r\n setTimeout(()=> setShowToast(false), 7.5*1000);\r\n props.context.actionContext.update(new SocialIconsStateInput(), {copyLinkClick: true});\r\n\r\n if(MsDyn365.isBrowser && 'utag' in window && !copyLinkClicked) {\r\n // @ts-ignore\r\n utag.link({\r\n event: \"social-copy-link-button-click\",\r\n event_category: \"mfrm social icons module\",\r\n event_action: \"copy link to clipboard button click\",\r\n event_noninteraction: \"false\"\r\n });\r\n }\r\n setCopyLinkClicked(true);\r\n }\r\n\r\n function socialClick() {\r\n if (MsDyn365.isBrowser) {\r\n if ('utag' in window) {\r\n if(props.data.copyLinkClickState.result?.copyLinkClick) {\r\n // @ts-ignore\r\n utag.link({\r\n event: \"outbound-social-link-click\",\r\n event_category: \"mfrm social icons module\",\r\n event_action: \"social click with copied link\",\r\n event_label: `to: ${Link.href}`,\r\n event_noninteraction: \"false\"\r\n });\r\n } else {\r\n // @ts-ignore\r\n utag.link({\r\n event: \"outbound-social-link-click\",\r\n event_category: \"mfrm social icons module\",\r\n event_action: \"social click\",\r\n event_label: `to: ${Link.href}`,\r\n event_noninteraction: \"false\"\r\n });\r\n }\r\n }\r\n window.open(Link.href,Link.target);\r\n }\r\n }\r\n\r\n React.useEffect(() => {\r\n props.context.actionContext.update(new SocialIconsStateInput(), {copyLinkClick: false});\r\n }, []);\r\n\r\n if(Link){\r\n return (\r\n socialClick()}>\r\n \r\n
\r\n {image}\r\n
\r\n
\r\n

{iconText}

\r\n
\r\n
\r\n
\r\n
\r\n );\r\n } else {\r\n return (\r\n \r\n
copyLink()}>\r\n
\r\n {image}\r\n
\r\n
\r\n

{iconText}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n );\r\n }\r\n};\r\n","const binding = { modules: {}, dataActions: {} };\n\n const registerActionId = (actionPath) => {\n if (binding.dataActions[actionPath] &&\n binding.dataActions[actionPath].default &&\n binding.dataActions[actionPath].default.prototype &&\n binding.dataActions[actionPath].default.prototype.id) {\n binding.dataActions[binding.dataActions[actionPath].default.prototype.id] = binding.dataActions[actionPath];\n } else {\n Object.keys(binding.dataActions[actionPath] || {}).forEach(exportName => {\n if (binding.dataActions[actionPath][exportName] &&\n binding.dataActions[actionPath][exportName].prototype &&\n binding.dataActions[actionPath][exportName].prototype.Action) {\n binding.dataActions[binding.dataActions[actionPath][exportName].prototype.id] = binding.dataActions[actionPath][exportName];\n }\n })\n }\n };\n\n const registerSanitizedActionPath = (sanitizedActionPath, dataAction) => {\n if (process.env.NODE_ENV === 'development') {\n if (!dataAction.default) {\n throw new Error('Data action path does not have a default export');\n }\n if (!(dataAction.default.prototype.id && binding.dataActions[dataAction.default.prototype.id]) || !binding.dataActions[sanitizedActionPath]) {\n binding.dataActions[sanitizedActionPath] = dataAction;\n }\n } else {\n binding.dataActions[sanitizedActionPath] = dataAction;\n if (!binding.dataActions[sanitizedActionPath].default) {\n throw new Error('Data action path ' + sanitizedActionPath + ' does not have a default export');\n }\n binding.dataActions[sanitizedActionPath].default.prototype.RegistrationId = sanitizedActionPath;\n if (binding.dataActions[sanitizedActionPath].default.prototype.id) {\n binding.dataActions[binding.dataActions[sanitizedActionPath].default.prototype.id] = sanitizedActionPath;\n }\n }\n };\n \n\n (binding.modules['mfrm-social-icons'] = {\n c: () => require('partner/modules/mfrm-social-icons/mfrm-social-icons.tsx'),\n $type: 'contentModule',\n da: [{name:'copyLinkClickState', path:'actions/social-icons-state.action', runOn: 0}],\n \n iNM: false,\n ns: '__local__',\n n: 'mfrm-social-icons',\n p: '__local__',\n \n pdp: '',\n \n \n md: 'src/modules/mfrm-social-icons'\n });\n \n\n {\n const sanitizedActionPath = 'actions/social-icons-state.action';\n let dataAction = require('partner/actions/social-icons-state.action');\n registerSanitizedActionPath(sanitizedActionPath, dataAction);\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|mfrm-social-icons|mfrm-social-icons'] = {\n c: () => require('partner/modules/mfrm-social-icons/mfrm-social-icons.view.tsx'),\n cn: '__local__-__local__-mfrm-social-icons'\n };\nwindow.__bindings__ = window.__bindings__ || {};\nwindow.__bindings__.viewDictionary = {\n ...window.__bindings__.viewDictionary || {},\n ...viewDictionary\n };","module.exports = React;","module.exports = ReactDOM;"],"names":["SocialIconsStateInput","constructor","getCacheKey","getCacheObjectType","dataCacheType","async","socialIconStateAction","input","ctx","copyLinkClick","createObservableDataAction","action","id","inputData","MfrmSocialIcons","React","props","super","handleTextChange","event","this","config","text","target","value","telemetryContent","getTelemetryObject","context","request","telemetryPageName","friendlyName","telemetry","payLoad","getPayloadObject","render","image","link","className","iconText","contentAction","etext","attributes","getTelemetryAttributes","imageProps","gridSettings","imageSettings","iconImage","Msdyn365","Object","assign","editProps","key","requestContext","warning","MfrmSocialIconsViewProps","_objectSpread","_createText","SocialIcon","moduleProps","classnames","Link","linkUrl","destinationUrl","tag","role","href","title","openInNewTab","onClick","onTelemetryClick","renderView","onEdit","_ref","closeToast","updateShowToast","useEffect","classes","toLowerCase","showToast","setShowToast","copyLinkClicked","setCopyLinkClicked","actionContext","update","Module","MsDyn365","isBrowser","_props$data$copyLinkC","window","data","copyLinkClickState","result","utag","event_category","event_action","event_label","event_noninteraction","open","socialClick","Node","tabIndex","el","document","createElement","location","body","appendChild","select","execCommand","removeChild","setTimeout","copyLink","Toast","binding","modules","dataActions","c","require","$type","da","name","path","runOn","iNM","ns","n","p","pdp","md","registerSanitizedActionPath","sanitizedActionPath","dataAction","default","Error","prototype","RegistrationId","__bindings__","viewDictionary","cn","module","exports","ReactDOM"],"sourceRoot":""}