{"_id":"@financial-times/o-comment-ui","_rev":"31-4a947d72c2015c98f0c5ed7041954d6f","name":"@financial-times/o-comment-ui","dist-tags":{"latest":"5.0.3"},"versions":{"4.3.0":{"name":"@financial-times/o-comment-ui","version":"4.3.0","keywords":["origami","component","ft"],"_id":"@financial-times/o-comment-ui@4.3.0","maintainers":[{"name":"chee","email":"chee@snoot.club"},{"name":"briggsc","email":"charlie.briggs@bbc.co.uk"},{"name":"the-ft","email":"strategic.products+npm@ft.com"},{"name":"quarterto","email":"matt@153.io"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"}],"dist":{"shasum":"75729a183e84790cb56be832a064f9f81a893387","tarball":"https://registry.npmjs.org/@financial-times/o-comment-ui/-/o-comment-ui-4.3.0.tgz","fileCount":92,"integrity":"sha512-Esg7HWSudPTWRKepZ/YCV5qd1J7gt+7zsFcp8RwSniMHHwfbInvRNNg5EKxhNbVtcCFxgZ+Al9/uBFSjTw4FWw==","signatures":[{"sig":"MEUCIF6QRw9o+ov5lmun8gkCds38/Nj/VGO/F6Al2oPy7kWhAiEA3jeXHJ0zpE0HIIMFg2WuI1nGY3IHOo3e6/BIEHG1jdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbEivCRA9TVsSAnZWagAABYgQAJvj3t5ZntZ97LyqPwNe\nZgaGk9+UPNB84H40Fe7C0epSez068uxJUptn6BaQZS/YtFoamADrfhekzcH/\ntjjyWoJd1v0v5HR4OVXYGYMf5AChREbtkE0JIElUrF5NMhNtKcuC629i+UFS\nl/MAD8qs7o3TmFrD/pRW2ExRlkBde+0OzbSzkguqxAWxuf3qE/du/u3iE/yv\nbe5p2G49x8BH9zYHxRyNVHjz7A8uS+e1zdcxU4ot1oe7tU7+pT/4/eufEDoR\nL4e9hvU//9ReItTpFpbrPo+jp9ALp31+eyP5fjnEjpZs1CGJUkF0APhg+9vB\ns10CNOlG2yeT0KVXOSdflHgieULgKmByNL9J8HLXgKlxvqTF5ZsHjTQkUdUL\nrYluekAk6Sq1rJrrnQmb/2tKvC0mvPVhS5WvKHNENieCoGcjR3QyA3X9qeai\nRnlEtwiH1jyEdtOaL133WuUMxs5lTEimdQh1fYU8K5oWxrZo1jO9Rx4nS8Xa\n/WPmJGW4OiSNf0aQT/ImciXMsq0MDk7hJ0FwcRKQcP8dONBS/t6Dk5rplIT3\noZfceZRJrPLgqQso+nCtLZyPCWvVxp3y4tQGfj1pIUgb0dgY6aVL1i0M43Sq\nbDCJ9ELLTremO0+aCCzxInayFkVcosqKJTJ1SI+aa2iykSr36mNMy3W63BC8\nUdMh\r\n=PQEb\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","gitHead":"e0793284a0f094abaff96ee8ae8aa119a3bb00a1","scripts":{},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"component":"o-comment-ui","_npmVersion":"6.4.1","description":"JavaScript module which incorporates common UI elements of the FT commenting system like dialogs, forms, common parts of a commenting widget with DOM manipulation and a unified way to load it.","directories":{},"_nodeVersion":"10.15.1","dependencies":{"hogan.js":"^3.0.2","@financial-times/o-fonts":"^3.0.0","@financial-times/o-icons":">=4.0.0 <6","@financial-times/o-assets":">=2.0.0 <4","@financial-times/o-colors":"^4.0.0","@financial-times/o-overlay":"^2.0.0","@financial-times/o-comment-utilities":"^2.2.0"},"eslintIgnore":["browser.js","dist/"],"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/o-comment-ui_4.3.0_1550600367117_0.5448960217911738","host":"s3://npm-registry-packages"}},"5.0.0-beta.1":{"name":"@financial-times/o-comment-ui","version":"5.0.0-beta.1","keywords":["origami","component","ft"],"_id":"@financial-times/o-comment-ui@5.0.0-beta.1","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"axgy","email":"a@ax.gy"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"briggsc","email":"charlie.briggs@bbc.co.uk"},{"name":"chee","email":"chee@snoot.club"},{"name":"conor-mullen","email":"conor.mullen@ft.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"notlee","email":"lee@leemoody.co.uk"},{"name":"quarterto","email":"bren@153.io"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"tatiana.stantonian","email":"tatiana.stantonian@ft.com"},{"name":"the-ft","email":"strategic.products+npm@ft.com"}],"dist":{"shasum":"57e3c86202b3aff0b9384f6bb5d963aca2132886","tarball":"https://registry.npmjs.org/@financial-times/o-comment-ui/-/o-comment-ui-5.0.0-beta.1.tgz","fileCount":91,"integrity":"sha512-gfdBsNEe4SdAEeRoafjpZVLz37ATasy7szA5qlejwy5hiivTyyfkWUvO5zQ7qUTru/XfPFiqHn1KOmGkX0lwjQ==","signatures":[{"sig":"MEUCIQC2xmFffQ7TUJylpMBqQaZajLh4HsOgM/Pcp2xxpqDFcgIgImXIGHANwpkES2mfy+df3u+owS3Q242dntiWPpnGZFw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd28wdCRA9TVsSAnZWagAAihgP/3r+/n6kVhgq+JhZwVF7\nUjcOEUFqr9E4Gakjsc9SM2BmMfruAkUNWBD4OPhOpi+nQU4ddpknB8yzwpaO\nPMxw1cXArMoXy1jNKcy6guMgrWhEp0BM99lhSj9joy3E5L9omkWT92CBsbch\nNfWMlCk8/9W9QU6FQU4i/MtThjnDZVIARzsqF6Fi17j5MSK4oxU7HXrZqGt4\n3HuOw0583C2wSgZABn75yHRGSzUoDi67jgL16Vy4xLIw35/d8TCAt4FxRRII\ntq3na2DHBa6hm5SiYe4zH4CBXWLVmOu+kKMI3Sw0y40Q+MgUs3/EcjhfACBq\nHIE6aSfl7LYQSrHV/l3MIK4cMuoR3foxTsVPwlJpWAWsJmttrzStj6+gE8EA\nrob0wevecJbjVbWQ5XKUIwqsJikiiAuXJVWeJHXobs0GGgS4DkpIUFedzokZ\nwsYVR1LuSURyj4O3gcW4ZNwiRJkZ04vfKz3s6zkNvp5ahNs5MAi9Ri5KUi5Y\nXCGKRx6LGpRWH0jM2gK+cfldInnqCPn7g4E3c6ROwlXEAEkSN/VKoM6hlhoQ\nqHKBZuLaW+YeEZRHdcZLbM5h6AoL8k6LABZlQmtf/bDA4sbaKDEgX7hDMICy\nTcX0osfhE0NgEUH3bgVh4/ejRkvPXxNooNwAI83my5cs4W79IrkC6dNjxfwG\nTi/j\r\n=MTkh\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","gitHead":"c35b0785338ad2831a9bd376fec245b91bf809cf","scripts":{},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"component":"o-comment-ui","_npmVersion":"6.11.3","description":"📢 **The commenting platform for ft.com, the app, interactive graphics & alphaville is currently being replaced. Please speak to the [Comments team](https://github.com/orgs/Financial-Times/teams/comments) if you intend to start using this component or whi","directories":{},"_nodeVersion":"10.17.0","dependencies":{"hogan.js":"^3.0.2","@financial-times/o-fonts":"^4.0.0","@financial-times/o-icons":"^6.0.0","@financial-times/o-assets":"^3.4.2","@financial-times/o-colors":"^5.0.2","@financial-times/o-overlay":"^3.0.0","@financial-times/o-comment-utilities":"^2.2.0"},"eslintIgnore":["browser.js","dist/"],"_hasShrinkwrap":false,"devDependencies":{"origami-ci-tools":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/o-comment-ui_5.0.0-beta.1_1574685725103_0.7382393244848886","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@financial-times/o-comment-ui","version":"5.0.0","keywords":["origami","component","ft"],"_id":"@financial-times/o-comment-ui@5.0.0","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"axgy","email":"a@ax.gy"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"briggsc","email":"charlie.briggs@bbc.co.uk"},{"name":"chee","email":"chee@snoot.club"},{"name":"conor-mullen","email":"conor.mullen@ft.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"notlee","email":"lee@leemoody.co.uk"},{"name":"quarterto","email":"bren@153.io"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"tatiana.stantonian","email":"tatiana.stantonian@ft.com"},{"name":"the-ft","email":"strategic.products+npm@ft.com"}],"dist":{"shasum":"62085f6c04133a4b151d79457a54bdb8e9dd24a6","tarball":"https://registry.npmjs.org/@financial-times/o-comment-ui/-/o-comment-ui-5.0.0.tgz","fileCount":91,"integrity":"sha512-LbaMOWSssZcEhcfP2QasBtw9o2klvkeojjWVEDdXaahwQqtNch6eEkb6yvbpcH+iVn2znYmWZ2s+AeUsiEm1Nw==","signatures":[{"sig":"MEUCIDPn3tk1kG6LjIuRH7KER/NniMqyBdDlRswnfE3ZI5GBAiEAxspAalG331dicKQlVCLaVUQ0xeToN9dIwXI2GbC8jkc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd28yjCRA9TVsSAnZWagAAZbQP/jZQ8iPpULRs8LB8ZOBL\n7Eo/wuumboxLpam4iOTwYaJ41njlC/RXjypbPMwmcfi4J7R3gspZPYY12Z8u\nK3IcBoroOTemLlZSmfukaUnIiiaEpUnRm6/8+N9wuYw9mPsP1F4jAk2gzvyB\nTjVYVV/OVDolPS9jzedVpPY5fEK3zjuj/qNT1Uyw5BXeFvm9Fa5IVUuxO+TO\njNlyjJIxrAHdxACFspy8p2ab4dSf1uwem18VhulEC4XfQjSwigvT8dofPxAw\niQfTs2Lcr0Zh8X5oQC+vW5ejDI1g6gNGnj8hfNEqg/qCK7JOnwXCLFbJBaDz\nOQfcQxljwdFbS1INbreztq7I8nnIvopAnlr9xZQOkGMm1BjI8vEMXW+rC1CM\n4FVZIyU/pBlcQyUJXXSgJSljCe3Ybb3J1W3VKkb4PsuqsNe5v3nKPlu7FSjw\nDHTBuV2Mo+XsqARJz2deoAC3O4GH70Zd9QhWCHiB4JxKIBBwVoelLDvnKRCp\n18c4Qr5bqHmhKXu4oc3zXPH0mML8tUK9z0pL6xe4YcB4H5n/kPwkgKdYw+c/\nCYuR5TvzNa6jQ+Ct8aTMo7MemjqOOoWXPCZjDNae3LU0+hLHN8bUu+06EnQB\nM8aqrDEe4Dd08EGSmtD/sGXpf8V1R1rH9qCalpEYoUHny1AHHWGTvBOq5yUl\npXPy\r\n=5XW+\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","gitHead":"c35b0785338ad2831a9bd376fec245b91bf809cf","scripts":{},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"component":"o-comment-ui","_npmVersion":"6.11.3","description":"📢 **The commenting platform for ft.com, the app, interactive graphics & alphaville is currently being replaced. Please speak to the [Comments team](https://github.com/orgs/Financial-Times/teams/comments) if you intend to start using this component or whi","directories":{},"_nodeVersion":"10.17.0","dependencies":{"hogan.js":"^3.0.2","@financial-times/o-fonts":"^4.0.0","@financial-times/o-icons":"^6.0.0","@financial-times/o-assets":"^3.4.2","@financial-times/o-colors":"^5.0.2","@financial-times/o-overlay":"^3.0.0","@financial-times/o-comment-utilities":"^2.2.0"},"eslintIgnore":["browser.js","dist/"],"_hasShrinkwrap":false,"devDependencies":{"origami-ci-tools":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/o-comment-ui_5.0.0_1574685859211_0.08220460611136238","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"@financial-times/o-comment-ui","version":"5.0.1","keywords":["origami","component","ft"],"_id":"@financial-times/o-comment-ui@5.0.1","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"axgy","email":"a@ax.gy"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"briggsc","email":"charlie.briggs@bbc.co.uk"},{"name":"chee","email":"chee@snoot.club"},{"name":"conor-mullen","email":"conor.mullen@ft.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"notlee","email":"lee@leemoody.co.uk"},{"name":"quarterto","email":"bren@153.io"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"tatiana.stantonian","email":"tatiana.stantonian@ft.com"},{"name":"the-ft","email":"strategic.products+npm@ft.com"}],"dist":{"shasum":"c4f48679214a1a794b04410368b4945b21c384b8","tarball":"https://registry.npmjs.org/@financial-times/o-comment-ui/-/o-comment-ui-5.0.1.tgz","fileCount":91,"integrity":"sha512-NHNHytNH5SJFb6GNNHivT82cgM99HfTqrJ2IvuP8KlBaNbDUj3r5zNRTjnC85Dp0zkJ+FKtoHyNsIS7evyYU2g==","signatures":[{"sig":"MEUCIFBHN5VQCrRrOP3yPCaTqJx4LEvwjv15OCp+S++HpTVPAiEA9Ur3aN6jKUqB/W8Gk6F5BHPvaHk/GhVJFM6XD6mhDw0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeD0NsCRA9TVsSAnZWagAAJmAP+wZEWlbY1ZUCmqcYPZJF\nRq9xVGdozn9aJUX6jxpcluM5OJZPu2RsaKfaDEb0qgZO9NDh1VxnzA/8nzws\ngy5dTHo53jZvANXX1qweE0gHAcN0ONeXN/IGgNKA23qm/WQQbrFFIz72R2vX\niTWjB4XmlAGWbtdDr/buUKRNV25EgsWJUp3hI+bKMoVNN+LsPuKHwv3Ne32g\nZfrGavO/70XLvmhvEcvY/gSqIKl68qd4cNUr+Q0zaDjexmj5x71Pi5CDPQ3c\nkFtMOSF3JaW8QG5KbbLg9ZWlC6iqTPzWx9fl1aX4gU53ncvOc2s7Ve3+QL+l\nXoNYTIiIcptZVdBXIVOOgO8xOzM3dv5rGiBnv2vkEFhiUQbMQDungCv5f8Tq\nLoJy9sfLjcaLr1JCohBtluFM99+zLTVmAkL490lX9crphnJDgeXSeAlbgU4+\n8sSUffQQvLLS5ovAiEUkshzfKpqkxykg2yN5TXX6JpmKDLR88x7Sa9vUJCrI\noxIT0rnhtBNOcLqtc+ahcMNSx7uUyYhrvad17O3teo4enS7XWP3UNB0BuKvl\n1Ge2M4Uywj1XjSsCI0M6z3Ny+pC51639096bJ7V+vUYK9JmXGILkAKt/usoC\n+xnSWMcOFjHPoH8E8M7hT6Le1b+E5nnqTYc5r2ca/kHx/XhQOxe6k9v5sitg\nWhTc\r\n=qTsJ\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","gitHead":"07e09f5ce44de2dd57466a673ba3d7448b03eb18","scripts":{},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"component":"o-comment-ui","_npmVersion":"6.13.4","description":"📢 **The commenting platform for ft.com, the app, interactive graphics & alphaville is currently being replaced. Please speak to the [Comments team](https://github.com/orgs/Financial-Times/teams/comments) if you intend to start using this component or whi","directories":{},"_nodeVersion":"10.18.0","dependencies":{"hogan.js":"^3.0.2","@financial-times/o-fonts":"^4.0.0","@financial-times/o-icons":"^6.0.0","@financial-times/o-assets":"^3.4.2","@financial-times/o-colors":"^5.0.2","@financial-times/o-overlay":"^3.0.0","@financial-times/o-comment-utilities":"^2.2.0"},"eslintIgnore":["browser.js","dist/"],"_hasShrinkwrap":false,"devDependencies":{"origami-ci-tools":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/o-comment-ui_5.0.1_1578058603957_0.5119161786176636","host":"s3://npm-registry-packages"}},"5.0.2":{"name":"@financial-times/o-comment-ui","version":"5.0.2","keywords":["origami","component","ft"],"_id":"@financial-times/o-comment-ui@5.0.2","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"axgy","email":"a@ax.gy"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"briggsc","email":"charlie.briggs@bbc.co.uk"},{"name":"chee","email":"chee@snoot.club"},{"name":"conor-mullen","email":"conor.mullen@ft.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"notlee","email":"lee@leemoody.co.uk"},{"name":"quarterto","email":"bren@153.io"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"tatiana.stantonian","email":"tatiana.stantonian@ft.com"},{"name":"the-ft","email":"strategic.products+npm@ft.com"}],"dist":{"shasum":"cb9dc52d072a83a615badaf3ed962db3ef066fc7","tarball":"https://registry.npmjs.org/@financial-times/o-comment-ui/-/o-comment-ui-5.0.2.tgz","fileCount":91,"integrity":"sha512-sPFpccJsiElvAxwxIGdt0EgbglHHiAjSs+QRTQIJ81ix+2tRCtHEsOSD2q2rzWsrvIKiVbt6EX+iZYgcF9LH1g==","signatures":[{"sig":"MEYCIQDGWFPoJyXxdOAg/ryRq3prajtbm1ypDokGRJaqfjTt2AIhAL4N5jYR5iFt4W7JgTf5nm/51GHjOvTe/ra2LCuMKMCD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeD0a0CRA9TVsSAnZWagAAsw4P/0iCV/Zyo7A+oRP3rNow\nXajP6FL84MUhTYP7/rZMIMje8xCdvcLq+Vni7JMzPLsulrCgZVHLBppOL1k6\nB91Q0bLa6Ihtilo6bk4fuAKsOq32+hhbSNV5kHb4eikDHHcU43jyletoKLml\no9ofRQ0/x9qSwOCISA4Ap4087UKYaY13Cb4ZA+DVwFOopwzur1pOgHDbtZXk\npDVBpMPwPliRkGubbKdSTEItq6I6sPQ2xXuJ6gNqc/5xmgZEDMWFqZM8h19S\n8+3AU9RgsRwWYt+guW2PUSLqS+SUGMohaCSpSP1JSu99v/wbhdpc3NDanMr5\nwqax5geuLWOsjA5waOk5FIWz+R03eRQQaJiAMpc1q8hrynqJfpJE/ib0F5eQ\nyYnuFh989zdgkEl2iAsuSQk5P4rbTkPkzdNaMZVLNz9RjGavn0cMiiCzM5J+\nrtovi/T2Tg5gjXgKbu0aMtHtQ1RY8ZmlAalr+/7lXgeHtxlUyWD/eDyzkC79\n5xwvTQgYe/W7oGQp4scK7/wnxIGct4t0Cql5xSIUZoj++p5lX2mZZbS6e7JY\nYtUWDO8CuE7lLkoLQDnXzHD04DF8v4Bejf00YbMSLiqGNhYPZtByHlWwN7sb\nQ9bJ84FSGotCgQM/KcgUC/M3M2/cHwKlYHsD9Z6sAOHi4BSmiGPkheRSkH9F\ntLFJ\r\n=cWPn\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","gitHead":"2ab1bc39e43f719ddf2b0990bf2f4bad8f8a7038","scripts":{},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"component":"o-comment-ui","_npmVersion":"6.13.4","description":"📢 **The commenting platform for ft.com, the app, interactive graphics & alphaville is currently being replaced. Please speak to the [Comments team](https://github.com/orgs/Financial-Times/teams/comments) if you intend to start using this component or whi","directories":{},"_nodeVersion":"10.18.0","dependencies":{"hogan.js":"^3.0.2","@financial-times/o-fonts":"^4.0.0","@financial-times/o-icons":"^6.0.0","@financial-times/o-assets":"^3.4.2","@financial-times/o-colors":"^5.0.2","@financial-times/o-overlay":"^3.0.0","@financial-times/o-comment-utilities":"^2.2.0"},"eslintIgnore":["browser.js","dist/"],"_hasShrinkwrap":false,"devDependencies":{"origami-ci-tools":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/o-comment-ui_5.0.2_1578059443982_0.3783083699536438","host":"s3://npm-registry-packages"}},"5.0.3":{"name":"@financial-times/o-comment-ui","version":"5.0.3","keywords":["origami","component","ft"],"_id":"@financial-times/o-comment-ui@5.0.3","maintainers":[{"name":"aendrew","email":"aendrew@aendrew.com"},{"name":"axgy","email":"a@ax.gy"},{"name":"bobhaslett","email":"bob.haslett@ft.com"},{"name":"briggsc","email":"charlie.briggs@bbc.co.uk"},{"name":"chee","email":"chee@snoot.club"},{"name":"conor-mullen","email":"conor.mullen@ft.com"},{"name":"ft-internal-products","email":"ip.engineering@ft.com"},{"name":"i-like-robots","email":"matt+npm@maketea.co.uk"},{"name":"jakedchampion","email":"me@jakechampion.name"},{"name":"joannaskao","email":"joannaskao@gmail.com"},{"name":"mattandrews","email":"matt@mattandre.ws"},{"name":"notlee","email":"lee@leemoody.co.uk"},{"name":"quarterto","email":"bren@153.io"},{"name":"robinmarr-ft","email":"robin.marr@ft.com"},{"name":"rowanmanning","email":"accounts@rowanmanning.co.uk"},{"name":"sdbernard","email":"steve.bernard@ft.com"},{"name":"tatiana.stantonian","email":"tatiana.stantonian@ft.com"},{"name":"the-ft","email":"strategic.products+npm@ft.com"}],"homepage":"https://github.com/Financial-Times/o-comment-ui#readme","bugs":{"url":"https://github.com/Financial-Times/o-comment-ui/issues"},"dist":{"shasum":"57e68be8ebbd8248ffac36161c4670b68040dec8","tarball":"https://registry.npmjs.org/@financial-times/o-comment-ui/-/o-comment-ui-5.0.3.tgz","fileCount":92,"integrity":"sha512-ZDHcFTKsnGa9CcJ67LHJjKlncBfoOWXHrhZyfx8Fouso03isfEeqVr2V38u/ZlOcsTuzogeXSxl29CDtzjjfLg==","signatures":[{"sig":"MEUCIQCwQMrfoLSAmIfo2B+AW3X3lvbqer6Yw4JjDZe3tYssegIgf46tJ82fJfy3ywkQOZSu3KFp1UA+Jq8ia6tGl0FQ+c0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2HHcCRA9TVsSAnZWagAA5EkP/0rIms+uk5t73ZGNTL2h\nLAqtSBt/DpBV9hQLuhlMFjhV7kr1YWh4Hp/6ndW2FXeWjdIBTNutsHK/0/zw\nqkufNQZJPDzjW9mRPirW0pmDPJmAfcR7w+elWnJipdJe+pYOmK3qALPoxtL+\nvrO4XVmdI4wVu2Myrf7QnuzntBO4dFW8noVw9oIN9JM+y2lNMsolbnamDY9b\nPCuSFbSK4HDmQada4+QkvRpZS0bHKAOwR2vCZIl2F2e3iQ0Bps0tU114nPdg\nc9ysAAeYbtuaNiN2H2Ga+2jNe9lZVdtJXKkAlGrp+U1gmfaj7LAWZUED+xZm\nRbTDuQJgA0H/N+TEEgL/8SV4p0b8hTaAaXrmRfyS0N5ud7XwebVYjgUFAQ0X\nHltHogfqbsp7WK33bDzQyf6D+duGcbbwJnS2Ph9h7k9lAXjJx0t0MCFLqOsn\nD5fC4OuOJMJE0GsxZqHA3TknFCyOn31Y+bmjcLESXN8wZFrdu6vEx3OCpAQ8\nIEK2mFCe3WRW1NUIRhtMkhYyh2Bn64Xo7Gg2RGauXczRJTgmAD9zQtCXaX3z\nGJSfP5tURSI7KrIC7iR+2Cjjibxv2XB+vEIWF5jajR8j28uadqfx6IiXkPJC\nnOQDv72scQd/PuraqK4jNGx8EPJ7UfrTDz0GtnDMVLovmZHGZRssni8ZqnqI\nXoxX\r\n=5wWc\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"browser.js","gitHead":"6009cd94ef9a4affb2221533fc1c8a840ec7f43d","scripts":{},"_npmUser":{"name":"the-ft","email":"strategic.products+npm@ft.com"},"component":"o-comment-ui","repository":{"url":"git+ssh://git@github.com/Financial-Times/o-comment-ui.git","type":"git"},"_npmVersion":"6.13.4","description":"📢 **The commenting platform for ft.com, the app, interactive graphics & alphaville is currently being replaced. Please speak to the [Comments team](https://github.com/orgs/Financial-Times/teams/comments) if you intend to start using this component or whi","directories":{},"_nodeVersion":"10.19.0","dependencies":{"hogan.js":"^3.0.2","@financial-times/o-fonts":"^4.0.0","@financial-times/o-icons":"^6.0.0","@financial-times/o-assets":"^3.4.2","@financial-times/o-colors":"^5.0.2","@financial-times/o-overlay":"^3.0.0","@financial-times/o-comment-utilities":"^2.2.0"},"eslintIgnore":["browser.js","dist/"],"_hasShrinkwrap":false,"devDependencies":{"origami-ci-tools":"^1.0.0","eslint-config-origami-component":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/o-comment-ui_5.0.3_1585049980754_0.11174683376279693","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-02-19T18:19:26.983Z","modified":"2026-06-23T15:53:51.519Z","4.3.0":"2019-02-19T18:19:27.267Z","5.0.0-beta.1":"2019-11-25T12:42:05.231Z","5.0.0":"2019-11-25T12:44:19.323Z","5.0.1":"2020-01-03T13:36:44.108Z","5.0.2":"2020-01-03T13:50:44.154Z","5.0.3":"2020-03-24T11:39:40.871Z"},"bugs":{"url":"https://github.com/Financial-Times/o-comment-ui/issues"},"homepage":"https://github.com/Financial-Times/o-comment-ui#readme","keywords":["origami","component","ft"],"repository":{"url":"git+ssh://git@github.com/Financial-Times/o-comment-ui.git","type":"git"},"description":"📢 **The commenting platform for ft.com, the app, interactive graphics & alphaville is currently being replaced. Please speak to the [Comments team](https://github.com/orgs/Financial-Times/teams/comments) if you intend to start using this component or whi","maintainers":[{"email":"code.management@ft.com","name":"the-ft"},{"email":"info+npm@rowanmanning.com","name":"rowanmanning"},{"email":"yay@chee.party","name":"chee"},{"email":"a@ax.gy","name":"alexwilson"},{"email":"howdy@aendra.com","name":"aendra"},{"email":"emma.lewis@ft.com","name":"emmalewis"},{"email":"lee@leemoody.co.uk","name":"notlee"},{"email":"hamza.samih@ft.com","name":"hamza.samih"},{"email":"robert.boulton@ft.com","name":"robertboulton"},{"email":"leila.micollier@ft.com","name":"leila.micollier"},{"email":"rob.godfrey@ft.com","name":"robgodfrey"}],"readme":"# o-comment-ui [![Build Status](https://travis-ci.org/Financial-Times/o-comment-ui.svg?branch=master)](https://travis-ci.org/Financial-Times/o-comment-ui) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](#licence)\n\n📢 **The commenting platform for ft.com, the app, interactive graphics & alphaville is currently being replaced. Please speak to the [Comments team](https://github.com/orgs/Financial-Times/teams/comments) if you intend to start using this component or which to make any changes to it.**\n\nJavaScript module which incorporates common UI elements of the FT commenting system like dialogs, forms, common parts of a commenting widget with DOM manipulation and a unified way to load it.\n\n## Contents\n\n * <a href=\"#jsapi\">JavaScript API</a>\n     * <a href=\"#widget\">Widget</a>\n     * <a href=\"#widgetui\">Widget UI</a>\n     * <a href=\"#dialogs\">Dialogs</a>\n     * <a href=\"#templates\">Templates</a>\n     * <a href=\"#i18n\">Internationalization</a>\n     * <a href=\"#logging\">Logging</a>\n * <a href=\"#sassapi\">Sass API</a>\n     * <a href=\"#fontfamily\">Font family</a>\n * <a href=\"#browser\">Browser support</a>\n * <a href=\"#core\">Core/enhanced experience</a>\n\n## <div id=\"jsapi\"></div> JavaScript API\n### <div id=\"widget\"></div> Widget\nWidget is responsible to coordinate getting initialization data, initializing the Ui. While this class implements some of the basic functionality (handling errors, loading timeout), it should be extended by providing an implementation for getting the initialization data.\n\n#### Constructor\n\n```javascript\nnew oCommentUi.Widget(config);\n```\n\nTo create an instance, you need to provide a configuration object. This should have the following structure:\n\n##### Mandatory fields:\n\n- articleId: ID of the article, any string\n- url: canonical URL of the page\n- title: Title of the page\n\n##### Optional fields:\n\n - timeout: Period of time after a timeout is triggered. Default is 15000 ms (15 sec). Its value should be given in milliseconds (ms).\n\n#### Example\n\n```javascript\nnew oCommentUi.Widget(el, {\n    articleId: 'e113c91c-10d9-11e4-812b-00144feabdc0',\n    url: 'http://www.ft.com/cms/s/0/e113c91c-10d9-11e4-812b-00144feabdc0.html',\n    title: 'Rolls-Royce seeks to catch-up with rivals on margins - FT.com'\n});\n```\n\n#### Final methods\n###### init\nThis method will initiate the process of loading the initialization data that are needed to render the widget and the rendering of the UI. This method uses hook methods which are not implemented in this module, but should be implemented in the module that extends it.\n`init` will handle errors of the process of loading the widget, also timeout if an error is not available.\n\nThis method can be called once on an instance (calling it multiple types will have no effect).\n\n#### Abstract methods (not implemented in this module)\n###### loadInitData\nThis method is responsible for gathering data that is needed to initialize the widget (e.g. metadata, site ID, comments, etc.).\n\n###### render\nThis method is responsible for rendering the UI of the widget on the page. Render is called when the initialization process is done.\nThis method is called using the data gathered during the init process:\n\n```javascript\nthis.render(initData);\n```\n\n\n#### Methods that can be overriden (they have default implementation)\n###### onError\nThis method is responsible to handle any error that appears during the initialization.\n\n```javascript\nthis.onError(errorObject);\n```\n\nThe default implementation clears out the container of the widget and shows the unavailable message template (available using the template object).\n\n###### onTimeout\nThis method is responsible to handle the case when within a given time the loading isn't finished and no error appeared.\n\nThe default implementation clears out the container of the widget and shows the unavailable message template (available using the template object).\n\n\n#### Extend\nExtending of the `Widget` can be done in the following way:\n\n```javascript\nvar WidgetExtend = function () {\n    oCommentUi.Widget.apply(this, arguments);\n}\noCommentUi.Widget.__extend(WidgetExtend, {eventNamespace}, {classNamespace});\n```\n\nExample from `o-comments`:\n\n```javascript\nvar Widget = function () {\n    oCommentUi.Widget.apply(this, arguments);\n}\noCommentUi.Widget.__extend(Widget, 'oComments', 'o-comments');\n```\n\n\n### <div id=\"widgetui\"></div> Widget UI\nThis class is responsible to handle the UI part of a commenting widget. An instance of this is created within an instance of the `Widget`.\nWhile this implementation has predefined methods, it can be extended with particular UI methods.\n\n#### Constructor\n```javascript\nnew oCommentUi.WidgetUi(widgetContainer);\n```\n\nWhere `widgetContainer` should be a DOM element in which the widget is loaded.\n\n#### Methods\n###### scrollToWidget\nScrolls the page to the widget. A callback function is called when the scroll finished (optional).\n\n###### addNotAvailableMessage\nInserts message when comments is not available, either because of the web services or Livefyre.\n\n###### clearContainer\nClears the container's content.\n\n#### Extend\nExtending of Widget can be done in the following way:\n\n```javascript\nvar WidgetUiExtend = function () {\n    oCommentUi.WidgetUi.apply(this, arguments);\n}\noCommentUi.WidgetUi.extend(WidgetUiExtend);\n```\n\n\n\n### <div id=\"dialogs\"></div> Dialogs\nGeneric Ui functionality which is common across all istances of the comments. These are mostly dialogs which show on the page and are unrelated to the Widget's container or widget instance.\n\nThe features are available on the following object:\n\n```javascript\noCommentUi.userDialogs\n```\n\n#### Methods\n###### showSetPseudonymDialog\nShows a dialog for setting the initial pseudonym (shown when the user doesn't have a pseudonym set).\n\n```javascript\noCommentUi.userDialogs.showSetPseudonymDialog({\n    submit: function (formData, callback) {\n        // called when the form is submitted\n    },\n    close: function () {\n        // called when the dialog is closed by a user action\n    }\n});\n```\n\n###### showSettingsDialog\nSettings dialog where the user can change its pseudonym or email preferences.\n\n```javascript\noCommentUi.userDialogs.showSettingsDialog({\n        displayName: 'currentPseudonym',\n        settings: {\n            emaillikes: 'never'\n        }\n    },\n    {\n        submit: function (formData, callback) {\n            // called when the form is submitted\n        },\n        close: function () {\n            // called when the dialog is closed by a user action\n        }\n    });\n```\n\n###### showEmailAlertDialog\nShows a dialog which reminds the user to save its email preferences if he/she didn't do so.\n\n```javascript\ncommentUi.userDialogs.showEmailAlertDialog({\n    submit: function (formData, callback) {\n        // called when the form is submitted\n    },\n    close: function () {\n        // called when the dialog is closed by a user action\n    }\n});\n```\n\n###### showInactivityMessage\nShows a dialog with a sign in link to re-login after a session expire.\n\n```javascript\ncommentUi.userDialogs.showInactivityMessage({\n    submit: function (formData, callback) {\n        // called when the form is submitted\n    },\n    close: function () {\n        // called when the dialog is closed by a user action\n    }\n});\n```\n\n#### Parameters\nAll functions of `userDialogs` has the same callback parameter structure, which should be an object with the following fields:\n\n###### submit\n<strong>Required.</strong> Function that is called when the form is submitted. As parameters the form data is provided (serialized into an object of key-value pairs), and a callback which should be called with either an error message (if an error occurred) or without parameters if submission is successful.\nExample:\n\n```javascript\ncallbacks.submit({\n    formKey: 'formValue'\n}, function (err) {\n    if (err) {\n        // show the error message, leave the dialog open\n        return;\n    }\n\n    // success, close the dialog\n}\n});\n```\n###### close\nOptional. Function that is called when the dialog is closed.\n\n\n### <div id=\"templates\"></div> Templates\nThis contains common Mustache templates which are compiled and can be rendered with custom data.\n\nThe templates are available on the following object:\n\n```javascript\noCommentUi.templates\n```\n\nTemplates that are available:\n\n###### unavailableTemplate\nMessage that appears when an error occured or loading the widget takes longer than the timeout period. It has a default style added.\n\nParameters:\n\n- message: message to show. By default i18n.unavailable is used to render within the WidgetUi.\n\n###### termsAndGuidelinesTemplate\nTerms and guidelines message with default style.\nRequires no parameters to render.\n\n###### commentingSettingsLink\nLink that is used for changing user settings.\n\nParameters:\n\n- label: Label of the link. i18n.commentingSettings can be used for it.\n\n###### clearLine\nClearfix. Separates rows horizontally that have float.\n\nThese templates can be overriden on a global level.\n\n\n### <div id=\"i18n\"></div> Internationalization\nInternationalization is responsible to provide common messages/texts that are used within the commenting application.\n\nThe strings are available on the following object:\n\n```javascript\noCommentUi.i18n\n```\n\nIt exposes the following:\n###### texts\nContains generic messages:\n\n- unavailable: Message that is shown when the widget is unavailable\n- changePseudonymError: Generic error when changing the pseudonym fails and no error message is coming from the server.\n- genericError: Generic error message.\n- commetingSettings: label of the commenting settings link \"Commenting settings\".\n\n###### serviceMessageOverrides\nSome error messages that come from the web services are not very user friendly. These messages are mapped to more user friendly versions that can be shown to the user.\n\n### <div id=\"logging\"></div> Logging\nLogging can be enabled for debugging purposes. It logs using the global 'console' if available (if not, nothing happens and it degrades gracefully).\nBy default logging is disabled.\n\n##### oChat.enableLogging()\nThis method enables logging of the module.\n\n##### oChat.disableLogging()\nThis method disables logging of the module.\n\n##### oChat.setLoggingLevel(level)\nThis method sets the logging level. This could be a number from 0 to 4 (where 0 is debug, 4 is error), or a string from the available methods of 'console' (debug, log, info, warn, error).\nDefault is 3 (warn).\n\n## <div id=\"sassapi\"></div> Sass API\n### <div id=\"fontfamily\"></div> Font-family\nThere is a default font-family set for o-comment-ui: `MetricWeb, serif`\n*Please note that the font itself is not loaded by this module, this should be done by the product.*\n\nIn order to override the default font, set a value for the following variable:\n\n```scss\n$o-comment-ui-font-family: font1, font2;\n```\n\nIn order to suppress downloading the web fonts set the following variable\n\n```scss\n$o-comment-ui-include-fonts: false;\n```\n\n## <div id=\"browser\"></div> Browser support\nWorks in accordance with our [support policy](https://docs.google.com/a/ft.com/document/d/1dX92MPm9ZNY2jqFidWf_E6V4S6pLkydjcPmk5F989YI/edit)\n\n## <div id=\"core\"></div> Core/Enhanced Experience\nOnly the enhanced experience offers any kind of commenting functionality. Core functionality will be added in due course.\n","readmeFilename":"README.md"}