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,yDAAAA,GAAA,0JAAAA,EAAA,6FAAAA,GAAA,mIAAAA,IAAA,+RAAAA,IAAA,gLAOSG,EAAkB,KAAEC,EAAqB,KAShD,OAPAC,EAAAA,EAAAA,YAAU,WATZ,SAUI,UAAC,wGACkC,qCAA0B,gBAAnDC,EAAM,EAANA,OAAQC,EAAM,EAANA,OAChBN,EAAS,CAAEO,OAAQ,OAAQF,OAAAA,EAAQC,OAAAA,IAAS,0CAZlD,gLAcE,GAAG,CAACN,KAGF,iCACE,UAAC,KAAM,CACLQ,MAAO,CAAEC,WAAY,OAAQC,OAAQ,QACrCC,QAAS,kBAAMR,GAAsB,EAAK,EAAC,WAE3C,SAACS,EAAA,EAAI,CACHC,KAAK,OACLC,UAAWC,EAAAA,OACX,oBAEHb,IACC,SAAClB,EAAc,CAACgC,UAAW,kBAAMb,GAAsB,EAAM,MAIrE,4DC9BIc,QAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,qQAAsQ,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,iDAAiD,MAAQ,GAAG,SAAW,yIAAyI,eAAiB,CAAC,sOAAsO,WAAa,MAE/xBH,EAAwBI,OAAS,CAChC,KAAQ,wBAET","sources":["webpack:///./src/Sources/Demo/Dialogs/DemoHelpDialog.js","webpack:///./src/Sources/Demo/style.module.css?ff7f","webpack:///./src/Sources/Demo/Picker.js","webpack:///./src/Sources/Demo/style.module.css"],"sourcesContent":["import Link from '../../../Common/Link'\nimport DialogBox from '../../../Common/DialogBox'\nimport Modal from '../../../Common/Modal'\n\nexport default function DemoHelpDialog (props) {\n const demoRepoUrl = 'https://github.com/nickcoutsos/keymap-editor-demo-crkbd/'\n const templateUrl = 'https://github.com/nickcoutsos/keymap-editor-demo-crkbd/generate'\n const demoLink = GitHub Repo\n\n return (\n \n \n

Keymap Editor Demo

\n

\n Welcome! This demo keyboard is provided to let you experiment with the\n keymap editor before setting up your own repository.\n

\n

Features

\n \n

What's next?

\n

\n If you like the editor, try integrating with your own GitHub hosted\n keyboard config. Use it as a\n template for your own, or just read through the {demoLink} for\n this keyboard to learn what to apply to your existing keyboard.\n

\n
\n
\n )\n}\n","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./style.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./style.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { useEffect, useState } from 'react'\nimport Icon from '../../Common/Icon'\n\nimport { Button } from '../Controls'\nimport DemoHelpDialog from './Dialogs/DemoHelpDialog'\nimport styles from './style.module.css'\n\nfunction DemoPicker ({ onSelect }) {\n const [showDemoHelpDialog, setShowDemoHelpDialog] = useState(false)\n\n useEffect(() => {\n (async function () {\n const { layout, keymap } = await import('./data/demo.json')\n onSelect({ source: 'demo', layout, keymap })\n })()\n }, [onSelect])\n\n return (\n <>\n setShowDemoHelpDialog(true)}\n >\n What is this?\n \n {showDemoHelpDialog && (\n setShowDemoHelpDialog(false)} />\n )}\n \n )\n}\n\nexport default DemoPicker\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".QkewNzGagIbndi3rJpKm {\\n border: none;\\n cursor: pointer;\\n color: white;\\n background: #248;\\n border-radius: 100%;\\n width: 24px;\\n height: 24px;\\n line-height: 24px;\\n text-align: center;\\n}\\n.QkewNzGagIbndi3rJpKm:hover {\\n background: #48F;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/Sources/Demo/style.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,mBAAmB;EACnB,WAAW;EACX,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;AACpB;AACA;EACE,gBAAgB;AAClB\",\"sourcesContent\":[\".help {\\n border: none;\\n cursor: pointer;\\n color: white;\\n background: #248;\\n border-radius: 100%;\\n width: 24px;\\n height: 24px;\\n line-height: 24px;\\n text-align: center;\\n}\\n.help:hover {\\n background: #48F;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"help\": \"QkewNzGagIbndi3rJpKm\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n"],"names":["DemoHelpDialog","props","demoLink","Link","href","external","Modal","DialogBox","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","i","onSelect","useState","showDemoHelpDialog","setShowDemoHelpDialog","useEffect","layout","keymap","source","style","background","border","onClick","Icon","name","className","styles","onDismiss","___CSS_LOADER_EXPORT___","push","module","id","locals"],"sourceRoot":""}