{"version":3,"file":"main.Btk0r1.js","sources":["theme-116/virtual:theme","theme-116/discourse/connectors/discovery-below/connectors-foot-note.hbs","theme-116/discourse/connectors/discovery-below/connectors-foot-note.js","theme-116/virtual:entrypoint:main"],"sourcesContent":["import { getObjectForTheme } from \"discourse/lib/theme-settings-store\";\n\nexport const settings = getObjectForTheme(116);\n\nexport function themePrefix(key) {\n  return `theme_translations.116.${key}`;\n}\n","{{#if displayfootNoteTopics}}\n    <div class=\"connectors-foot-note-wrapper\">\n        Software AG and all Software AG products are either trademarks or registered trademarks of Software AG. Other\n        product and company names mentioned herein may be the trademarks of their respective owners.\n    </div>\n{{/if}}","import { withPluginApi } from \"discourse/lib/plugin-api\";\n\nexport default {\n    \n    setupComponent(args, component) {\n\n        if (component.isView) {\n            withPluginApi(\"0.8.9\", (api) => {\n\n                api.onPageChange((url, title) => {\n                    if (url.indexOf(\"/c/webmethods-cloudstreams-connectors/\") > -1){\n                        // on page change, check if url matches\n                        // if your homepage isn't /latest change this to /categories\n                        \n                        $('html').addClass('connectors-foot-note'); // add a class to the HTML tag for easy CSS targetting\n\n                        component.set('displayfootNoteTopics', true); // we'll use this later to show our template\n\n                    } \n                    else {\n                        // If the page doesn't match the urls above, do this:\n\n                        $('html').removeClass('connectors-foot-note'); // Remove our custom class\n\n                        component.set('displayfootNoteTopics', false); // Don't display our customization\n                    }\n                });\n            });\n        }\n    }\n}","import * as Mod1 from \"./discourse/connectors/discovery-below/connectors-foot-note.hbs\";\nimport * as Mod2 from \"./discourse/connectors/discovery-below/connectors-foot-note.js\";\nconst compatModules = {\n  \"discourse/templates/connectors/discovery-below/connectors-foot-note\": Mod1,\n  \"discourse/connectors/discovery-below/connectors-foot-note\": Mod2,\n};\nexport default compatModules;\n"],"names":["getObjectForTheme","connectorsFootNote$1","createTemplateFactory","id","block","moduleName","scope","deprecationsHelper","isStrictMode","deprecated","url","connectorsFootNote","setupComponent","args","component","isView","withPluginApi","api","onPageChange","title","indexOf","$","addClass","set","removeClass","compatModules","Mod1"],"mappings":";AAEwBA,EAAkB;ACA5B,IAAAC,EAAAC,EAAA,CAAAC,GAAA,KAAAC,MAAA,+8BAAAC,WAAA,0EAAAC,MAAAA,KAAAC,GAAAC,cAAA;AAGAC,EACE,4JACA,CACEN,GAAI,0BACJO,IAAK;gDCPvBC,EAAe,CAEXC,cAAAA,CAAeC,EAAMC,GAEbA,EAAUC,QACVC,EAAc,QAAUC,IAEpBA,EAAIC,aAAa,CAACR,EAAKS,KACfT,EAAIU,QAAQ,2CAA4C,GAIxDC,EAAE,QAAQC,SAAS,wBAEnBR,EAAUS,IAAI,yBAAyB,KAMvCF,EAAE,QAAQG,YAAY,wBAEtBV,EAAUS,IAAI,yBAAyB,OAK3D;AC3BC,MAACE,EAAgB,CACpB,sEAAuEC,EACvE;"}