{"version":3,"file":"ConfirmOverlay.js","names":["defineDs","m","ConfirmOverlay","className","dictionary","class","prop","render","dismiss","href","header","body","onclick","confirm"],"sources":["DanskeSpil/Domain/Lotto/Scripts/Templates/ConfirmOverlay.js"],"sourcesContent":["defineDs('DanskeSpil/Domain/Lotto/Scripts/Templates/ConfirmOverlay',\r\n [\r\n 'Shared/Framework/Mithril/Scripts/Core/Mithril'\r\n ],\r\n function (m) {\r\n\r\n // Context:\r\n var ConfirmOverlay = function (className, dictionary) {\r\n\r\n // Return:\r\n return {\r\n class: m.prop(className),\r\n\r\n render: function (dismiss) {\r\n return m('div', { class: this.class() }, [\r\n m('div', { class: 'pannel' }, [\r\n m('div', { class: 'icon-wrapper' }, [\r\n m('svg', { class: 'icon' }, m('use', { href: '/Components/DanskeSpil/Domain/NumberGames/Graphics/SpriteSheets/NumberGamesTabsNavigationIcons.svg#info-icon' }))\r\n ]),\r\n m('h2', { class: 'headline' }, dictionary.header),\r\n m('p', { class: 'text' }, dictionary.body),\r\n m('div', { class: 'buttons' }, [\r\n m('button', {\r\n class: 'btn button-confirm',\r\n onclick: dismiss,\r\n }, dictionary.confirm)\r\n ])\r\n ])\r\n ]);\r\n }\r\n };\r\n };\r\n\r\n // Public functions:\r\n return ConfirmOverlay;\r\n\r\n });\r\n"],"mappings":"AAAAA,QAAQ,CAAC,0DAA0D,EACjE,CACE,+CAA+C,CAChD,EACD,UAAUC,CAAC,EAAE;EAEX;EACA,IAAIC,cAAc,GAAG,SAAAA,CAAUC,SAAS,EAAEC,UAAU,EAAE;IAEpD;IACA,OAAO;MACLC,KAAK,EAAEJ,CAAC,CAACK,IAAI,CAACH,SAAS,CAAC;MAExBI,MAAM,EAAE,SAAAA,CAAUC,OAAO,EAAE;QACzB,OAAOP,CAAC,CAAC,KAAK,EAAE;UAAEI,KAAK,EAAE,IAAI,CAACA,KAAK,CAAC;QAAE,CAAC,EAAE,CACvCJ,CAAC,CAAC,KAAK,EAAE;UAAEI,KAAK,EAAE;QA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