{"version":3,"file":"Feedback.min.js","sources":["Feedback.js"],"sourcesContent":["(function (w, $) {\r\n const assetId = '~/Controls/MsForm/Feedback.min.js';\r\n\r\n if (!w.umwAssets || !w.umwAssets[assetId]) {\r\n console.error('No context found for ' + assetId);\r\n return;\r\n }\r\n\r\n for (let ctx of w.umwAssets[assetId]) {\r\n $(function() {\r\n // Setup notifications\r\n const $sentSummaryContainer = $('#' + ctx.pnlSentId);\r\n const sentSummaryHtml = $sentSummaryContainer.html();\r\n\r\n if ($sentSummaryContainer.length === 1 && sentSummaryHtml) {\r\n window.PubSub.publish('notification.success',\r\n {\r\n timeout: false,\r\n text: sentSummaryHtml\r\n });\r\n $sentSummaryContainer.remove();\r\n }\r\n });\r\n }\r\n})(window, jQuery);"],"names":["w","$","assetId","umwAssets","let","ctx","$sentSummaryContainer","pnlSentId","sentSummaryHtml","html","length","window","PubSub","publish","timeout","text","remove","console","error","jQuery"],"mappings":"CAAA,SAAWA,EAAGC,GACV,IAAMC,EAAU,oCAEhB,GAAKF,EAAEG,WAAcH,EAAEG,UAAUD,GAKjC,IAAKE,IAAIC,KAAOL,EAAEG,UAAUD,GACxBD,EAAE,WAEE,MAAMK,EAAwBL,EAAE,IAAMI,EAAIE,WAC1C,IAAMC,EAAkBF,EAAsBG,OAET,IAAjCH,EAAsBI,QAAgBF,IACtCG,OAAOC,OAAOC,QAAQ,uBAClB,CACIC,SAAS,EACTC,KAAMP,IAEdF,EAAsBU,iBAhB9BC,QAAQC,MAAM,wBAA0BhB,GAJhD,CAwBGS,OAAQQ"}