{"_id":"photoswipe-dynamic-caption-plugin","_rev":"8-a54dda7d9ddf04396dd35b13a5b9a6b5","name":"photoswipe-dynamic-caption-plugin","dist-tags":{"latest":"1.2.7"},"versions":{"1.1.0":{"name":"photoswipe-dynamic-caption-plugin","version":"1.1.0","description":"A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.","main":"photoswipe-dynamic-caption-plugin.esm.js","style":"photoswipe-dynamic-caption-plugin.css","type":"module","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin.git"},"keywords":["photoswipe","caption"],"author":{"name":"Dmytro Semenov"},"license":"MIT","bugs":{"url":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/issues"},"homepage":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme","gitHead":"1e48126703d00afd41d5070d427580d5be1c2fa9","_id":"photoswipe-dynamic-caption-plugin@1.1.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-SbB9NwV0ejFr44K5bUw9CtD81jv3ii+BfH8+0a3sWefrpSzfi3D9pKw8D4qLXKC2pdTR8g+ZvdRWPkE9X8t7cg==","shasum":"c9c4eed74cd60291c00ae4e056c849e50d5c5b66","tarball":"https://registry.npmjs.org/photoswipe-dynamic-caption-plugin/-/photoswipe-dynamic-caption-plugin-1.1.0.tgz","fileCount":7,"unpackedSize":29721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLt+YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvpxAAnQz8Rb2a+o3dhk2gOqhVDVjYUIENGgS0KGd9zU63wscKRRG2\r\nVnYiVW01J+0TlbvATr/X2erBfuxw5NUAreeBYbVb/3/A+iY8dizaIFHR1geV\r\n4vT6mUjSsjBaZ5p1fZlFAJBn9PlBSs0/1akXjZgqv8xZrpXQHUC4eEJ9XrTD\r\nT0NqYN6n+GuK0cTcgXqmseFXudx2ZXZ9hrQ1ThLb83fUyT9YkuN0hhL3PqzU\r\nnyse0GvACaQVdRMMuY0iw5QRcJSfv4jNCc3UiHpPClllAlfTjAM/SajwSvti\r\nM8wqxN2GfycYUiXrfpwFOmUaRJ04r+2q9YtZUiZJMp2kchcRM/hzheXHFID6\r\nFgkyMwYoH3Why0+wSqxOXrYISW5hiNdUw4Z0n30sNLGzQ15n9TE19ScIBsQ5\r\ni3jVupjVO6UhazBBbFNtvSoX5wqxzL4jSQfCjswtM7tOM+n55peFY20HiUX2\r\novKqzNpbzM4Lq45DgaCU1zo/Pc8aoWYWkyEuT3Xrk1ow3RDEym2fkqdD8r5x\r\nS7Ibgujct4eXMr0IxmS+WgzuWnUj+rljdJwR9jo+NDACt5VsIoWf+3+qioXv\r\nx6knIwytMmPmOu63iWocxvuwXFuUSgWU3R6ZwaG+ZRVGxx+zK+zLsvSROFoP\r\nEy0SQjibBsN1kFSYIbIQ94RjC9NOceHS2wA=\r\n=CuG3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrYoFMUyTtOkAmA5hv/v99Yze5Yta72wvJDLSgVJS3QgIhAJaSF9vwNkVOHOhjUb4HZPgQzzeQtZy5AUNlsPMeqeAo"}]},"_npmUser":{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"},"directories":{},"maintainers":[{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/photoswipe-dynamic-caption-plugin_1.1.0_1647239063807_0.18133705497708807"},"_hasShrinkwrap":false},"1.1.1":{"name":"photoswipe-dynamic-caption-plugin","version":"1.1.1","description":"A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.","main":"photoswipe-dynamic-caption-plugin.esm.js","style":"photoswipe-dynamic-caption-plugin.css","type":"module","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin.git"},"keywords":["photoswipe","caption"],"author":{"name":"Dmytro Semenov"},"license":"MIT","bugs":{"url":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/issues"},"homepage":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme","gitHead":"2b50236daa6feea2f08546fb42c4d9e67ebf3b75","_id":"photoswipe-dynamic-caption-plugin@1.1.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-uP0e8udjkevikEKcq2HrYOsWvjlfc5MKZcjjbVNQpfPPrK1ovnc+lGIKpnGzm4VBRXCg08WOaWrN6BACOMssYA==","shasum":"17d7155991141818a27a06978f480de2cb1686cf","tarball":"https://registry.npmjs.org/photoswipe-dynamic-caption-plugin/-/photoswipe-dynamic-caption-plugin-1.1.1.tgz","fileCount":7,"unpackedSize":30544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO3aJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqqaw//SG2a92KKYPiShof+puQCJ/Alu2Y0qfGpWJ9F3JLl7C3q8nLN\r\n4MAp4ctPVEmkmIcQUkLQB3lRi0VGrzCOpjpO3U2as6c12cfcGyZ+g27/amru\r\nOJyM4dK3P2PFVqvw8fbwVSZASRRaK6AAyDq1T7kNUVlfJZ1zwSFnoJUFiBmJ\r\nnknvQr29EJergjpUoxVTtwtcM8eMAtbbU/Gm/6ta6S/bzWbSuQExr6vn2ckw\r\nPTPynXBqJ5gubo546FpGMmo7cvzXBVHLZmOQlKJlzhC5OgywZyWIr7eHMbjD\r\nvqv8YK3/c4mduqpCrC/LCNugbAxMsGCZQXJDCCVQtc84qXzKev11M5D0R8fE\r\nBNoACYuISlvQZmAIvsnR9jTdL/52WIFvHJMHONOIvnqfNZiOvAEvWiDtkybF\r\nrs7ehLMw56/gPhAPTnN98/e+ak3oXCCoIySbRST4UF4Jm+n0p4x6MuOa/uon\r\noljEwZSHBdrNTePAiYkg41ZjU74aa3YFA3WKtd8ZlaUnqODZXMVEOHSKdnVu\r\notdU3s3rQSAhZbjrku/EbuVccuqMgpw9bpTw3Ty9bese+AmeJIDSTheBwb/C\r\n4Pk1ZpD9uRNn+VfHHNwyvMokGGvB/7BNJjzgSJQhf1jcWZa0gPjjnzu/5HOt\r\noi+Qs0SIQ4dkhtu169rIGnd08zZGkcMKrq0=\r\n=aPzm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6sRin83B38X6cUEfJOWzcWGdNXUNEY6iBKLpdU5eq8AiEAl5BQkhnLmArmYW1Remb4dxDHMD+RqZnHOZpLKEvK7y4="}]},"_npmUser":{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"},"directories":{},"maintainers":[{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/photoswipe-dynamic-caption-plugin_1.1.1_1648064137577_0.336327523877223"},"_hasShrinkwrap":false},"1.2.0":{"name":"photoswipe-dynamic-caption-plugin","version":"1.2.0","description":"A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.","main":"photoswipe-dynamic-caption-plugin.esm.js","style":"photoswipe-dynamic-caption-plugin.css","type":"module","exports":{".":"./photoswipe-dynamic-caption-plugin.esm.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin.git"},"keywords":["photoswipe","caption"],"author":{"name":"Dmytro Semenov"},"license":"MIT","bugs":{"url":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/issues"},"homepage":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme","gitHead":"8788f0e819d5d16ef95d4b2eddad9c113ddc4553","_id":"photoswipe-dynamic-caption-plugin@1.2.0","_nodeVersion":"16.15.1","_npmVersion":"8.9.0","dist":{"integrity":"sha512-CGZUcjjTzCDhd38EXtQ8ttO0+GBEIRHpxTqub3fWdmSgX9xd/0tAw4S8IwUPR/MJ/EaeqbpMBjSYWijk7tAbhQ==","shasum":"34d0bb90b2ddd5bbc7217508bbbca2f763ee3253","tarball":"https://registry.npmjs.org/photoswipe-dynamic-caption-plugin/-/photoswipe-dynamic-caption-plugin-1.2.0.tgz","fileCount":7,"unpackedSize":31030,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDr9rQDJTGkbFb3SCea59QEr206Ni4WsdTFoqQ4zefIFQIhALo9f3AasbtMkYFCYr3bLldzfgHCufHWukaULDKyq1q9"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2lG0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6Mw/+LtkE12j3Hx6FhQ6e9R48/lvfmdrIYCkOrWypkkyWc9R/J1kD\r\nB7o20hqmrY40E+E7fbIXm10hFwY2k4Ze/CzVUoT/bBcuYt7yOlI7QRCS8Ee1\r\nghHWI6xbbMgBmz5Jzdl/nMTX5N64rgB7PakSbRpWRkZE2gOWF+XY32f5Kgtp\r\nfqIsKYxrhmGmDuTQaE5Gu8/TGLXMqHHpJqUVH5+++xfDftQpbFcfEG59Ul+N\r\nexJp4JeBYBmRK1J7T2tmO65+Y9I2QbcSqzp1KYFSfqKtzTqhLdbG3NRvVv9D\r\n1ZAvhAgd/y3dVIHGf+10+4S/+P2G0JjQxQSwDD3TdvtZ32a43iwTE8yxEsS+\r\n7wfwJ5PN+1wthjYh6CNmTpKmKdVrDeY7Mlk9wCNpAGVTZDjLycrLdnIi7VDZ\r\n0E8/GhFH5YAUoEx297rokZoCgjSEngZtPa7ZLxjlZfgzVnCBOoQCGQWS42Ar\r\nu0mgCLdc7uGRjQ2X8+A0GlqYqQRRixmGCHrLiEyxOc+tW4rwETn2awG0g/3i\r\nr+zTq0DOKpzTgf0u7NM8NRL3TYV0IiIHpSqJ+NW0zNycLWxqMAr9RoSZyMxm\r\nVjYlIGEr9rHWnYfSM0Jrkov84+7wdWUjni+FAcQ54aSd44ndkOoESRYna0GB\r\nf7L32PSiKRHC9B+vnXpvEB0Hb0wB//G/O5g=\r\n=W0d+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"},"directories":{},"maintainers":[{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/photoswipe-dynamic-caption-plugin_1.2.0_1658474931937_0.7993436073208935"},"_hasShrinkwrap":false},"1.2.1":{"name":"photoswipe-dynamic-caption-plugin","version":"1.2.1","description":"A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.","main":"photoswipe-dynamic-caption-plugin.esm.js","style":"photoswipe-dynamic-caption-plugin.css","type":"module","exports":{".":"./photoswipe-dynamic-caption-plugin.esm.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin.git"},"keywords":["photoswipe","caption"],"author":{"name":"Dmytro Semenov"},"license":"MIT","bugs":{"url":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/issues"},"homepage":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme","gitHead":"c5bd9d36972abdfcf04eb3829255fafcff08f482","_id":"photoswipe-dynamic-caption-plugin@1.2.1","_nodeVersion":"16.15.1","_npmVersion":"8.9.0","dist":{"integrity":"sha512-ldtgOLEka9mmOi9fGuFb3vRk4Zy2RCmT4Dz3xuBhqrdeSB/dAx5W0JN2LWGCKNIQyQZtYevIFgl+beGr3GT8QQ==","shasum":"bf175bbd9da91293bed3919d84ffc9feba0b353b","tarball":"https://registry.npmjs.org/photoswipe-dynamic-caption-plugin/-/photoswipe-dynamic-caption-plugin-1.2.1.tgz","fileCount":7,"unpackedSize":31129,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRSQI+H2uIxR9QkObmOz3FfgxTulLPJniJr4lWmBm52wIgIbCKsFxeeiT5Zq81l9DKBEguzfYzu1xv09D3FWD5rZ0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2lPWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOXA//dFw75SNeF5l2C1+GfZC1LOwA5Z4X76pWEtZ9Bj6XOH+ijDjh\r\nwbBKFK8KZVzgs0l2M0udbmZ64Nyv/GpsdaKAVbcb+ufEnyCeXu8Y0/piQ2JR\r\nhyJRKyO+Gw4dvB3myiT4YtmlYRLkQSteyM1GBleC2yYfs9h9lWtA5U1p+Gw5\r\nFMPujdkMhZRfT3KOAVW4rWo7dffAbTo67LB93ElyGwrFDNaL+ccHaYg9/LQV\r\nYMS27aKbQoEcvDqxdodKxNuHMKeRuaJ5XNQ+pVFmQS1FzVJ4QpHeJ/qto3Rb\r\nLp3NGBZ063uibYCcmh60mI03iydsW79qhWuW3BBfMn7UeAel7dDmas8VyHub\r\noy85nxbeDEull23+iPNwSe1aiBQEFvburhiEhYu3UdPk2sjiNjNgK0qcuSD0\r\nd2DsGxreeUG369EwIU82c0mUn4dMw4A9mGX9csPgywUk7sJN7i79Fot7d51g\r\nR8ANb7GJqxP2uVoRn6oDjRqLWAjce3v6ccD5cHWvCUHWqniR307627BOaFNx\r\nc7nRDetIUY5UhtaRpksxBYK/wlrcUItAqFfxkF9WS2XURu1J4Z3/5vPSf1Cw\r\nWRgyIgCTPas2aZiFza1pRv/Csdw+KUkC8d0onLYEnKB2wyuRTp22ZfSVCkOx\r\nHRfaW0U1GRdSTAx9DrFqBQj2XruIbbKdKgI=\r\n=CFml\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"},"directories":{},"maintainers":[{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/photoswipe-dynamic-caption-plugin_1.2.1_1658475478669_0.5289859899225946"},"_hasShrinkwrap":false},"1.2.2":{"name":"photoswipe-dynamic-caption-plugin","version":"1.2.2","description":"A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.","main":"photoswipe-dynamic-caption-plugin.esm.js","style":"photoswipe-dynamic-caption-plugin.css","type":"module","exports":{".":"./photoswipe-dynamic-caption-plugin.esm.js"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin.git"},"keywords":["photoswipe","caption"],"author":{"name":"Dmytro Semenov"},"license":"MIT","bugs":{"url":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/issues"},"homepage":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme","gitHead":"8f5997d0d545ce7950db19c16a581e628d270240","_id":"photoswipe-dynamic-caption-plugin@1.2.2","_nodeVersion":"16.15.1","_npmVersion":"8.9.0","dist":{"integrity":"sha512-2wJGdVc5zhCyUtQAbPoYndMxuFuiUhmpFS2LJLv0/YQmrYK8xgeSp8g//443/ayJrCRPf+qjtILr5wfWRQwRRw==","shasum":"7b593b0905c0fba7310780fbc1649cd7ed6050ca","tarball":"https://registry.npmjs.org/photoswipe-dynamic-caption-plugin/-/photoswipe-dynamic-caption-plugin-1.2.2.tgz","fileCount":7,"unpackedSize":31247,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZ6+1pnhuP/sqknFP9K4vo4MSlFoKMbC7kBAxumRVsLAiEA1G8C0ybyH2/3E1mbq+mDjogW16VvYplpo327aTYaP1U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi23X5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpwrhAAiRwv9dznQ5Z+wiWiodb5psyi1pQJz2oBYF603pKQNjswJnjH\r\n9lNXacZVZwqYeeHTlejr59Z8tC9mntY+KytxiCKJV+a7N9f1iUw+bSM9glHq\r\nTMQDuhHjrJHkHch0qIu9aaYau/w11bjuR95hZsBpeOhojMAxNCIaqBgsg/e0\r\ndIaeAGDonvYdKO3ge+VTtvIchkymZXvMGGdUQ/n/47Grpn9F1oGqf0Q43JdT\r\nNaCMHwWBA1GNyN3HqGNxA2z9CQVr7vuZ5A8BLCuo6m0AdMoVNA317MV5LgFJ\r\nmJ420a4WaXbCyG+x82BPtr1gNLYPSI2KuKVEuJmbw5Qs9QSHvid4HkcbvrgC\r\n3WZCJfo6xDcgqDyek6ohg1rS5DrXTRcFEasB7FVWD//wsuo4OtPOMXsWaPrd\r\n7hzPrG4tUgEtYByNDw0fSSrYnRwz6Ym7GvojOgkh53LSnJQL1OgEImNhtXDf\r\nLTw+lBRZJqm+yCMXRC/9MllsBqg57XqYTprQDmN2EKsMTU6hOHIiOd1pKKpx\r\n6Awl2VOjvyHJ9AITen/IJnLU8+nDTqxh9dy7QtqgKHePDBWwEa/2gKdLSN0c\r\ndiHyb4DFQQvNBCT/dueg3cAINCUTaK7ICrUWFwIKERYjbHePwBlqR/a2NyqD\r\nRRRr8aZYeVy4dk/cAlU67MFWFNUlJ1bPw7g=\r\n=Fy1c\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"},"directories":{},"maintainers":[{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/photoswipe-dynamic-caption-plugin_1.2.2_1658549753153_0.301318632883268"},"_hasShrinkwrap":false},"1.2.3":{"name":"photoswipe-dynamic-caption-plugin","version":"1.2.3","description":"A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.","main":"photoswipe-dynamic-caption-plugin.esm.js","style":"photoswipe-dynamic-caption-plugin.css","type":"module","exports":{".":"./photoswipe-dynamic-caption-plugin.esm.js","./photoswipe-dynamic-caption-plugin.css":"./photoswipe-dynamic-caption-plugin.css"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin.git"},"keywords":["photoswipe","caption"],"author":{"name":"Dmytro Semenov"},"license":"MIT","bugs":{"url":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/issues"},"homepage":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme","gitHead":"9dc357ce32ee0b2c2ae00c6e6ae743b2665af34e","_id":"photoswipe-dynamic-caption-plugin@1.2.3","_nodeVersion":"16.15.1","_npmVersion":"8.9.0","dist":{"integrity":"sha512-24Bpxu10VeMQ1ddmme8ilnF7J9jl9j9GRnNWQJJfzM2TMxg41XgMt6IfVTOAqITt2q9SajNL6mut49NdrAeo2Q==","shasum":"939bc46a9b03dad019d2aa42e0b7f574097d9c25","tarball":"https://registry.npmjs.org/photoswipe-dynamic-caption-plugin/-/photoswipe-dynamic-caption-plugin-1.2.3.tgz","fileCount":7,"unpackedSize":31338,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWMPLn0J/AYxQRF/hH9f78+LzR1ZZN8AYybYihg1vMKgIhAPmlBl1Fub8w1c+tP1fBvggR26UGkR8XRqCAvW3vkdGL"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3TpzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpeNBAAmXFFP9cHXlSMvG+uvYo5BHSUrf+u8cZ4lxLBgd150aUP+6vE\r\nNGELoe/aligOIlZcoB8NFuAYjLCpnEwmB757FNpz2ejRwXcAlgGog8+znY7T\r\n8togZefEF69lVFq7Qhy8lwGTqjoico6BW8DuQ84wmaCkRdE2NfWe/V9ZZlQ1\r\ndyVabGc5+VPcd2j3DPlFxLEfvA2JmyAsXkpG5cZaePdxrvBciT4aBIsWfv/z\r\nPr2luGtWgtCL4kFh+8FcriBTqdm7/Z9fY7Kb/BmRMpQhrrELhE78PNm9/Pin\r\nkhQ1aEqE347GWW8OQ+JAu/3oc0zuNleEteeCW8F/vQ17tvDCpEnE8yZi4yzj\r\nGvPDVFuFfyQ6SHIKy9JjaeuuMwAfgn9CkCbKei4HZTqI1Zh79ZflX7az86EN\r\n1ascOBxfQA2Q0pIsUux9AtFpwDR/T+mcFMp0yjxYU/zk64vhJk1fDFr8lcwN\r\n2SpbahmAMwjMOO79rdSYRUfYs9NvfFcpChEZ8z5sIe4QZNpbpAnCqMKN24QG\r\n8Sng/8u0GbQsPpGS1K3dDDudM5119SFTFbfCtt1EfCToy3aoqGd54HHg4xrd\r\nM18g/Vc265zqKCcEa4cPN+ckYZd3Z3t/EDgtEVEjtdiEeHX+VWV2qlnLQ+c0\r\nARhbJhC774rhWduCPitFG+nJcLWyTUjYggY=\r\n=1Ljj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"},"directories":{},"maintainers":[{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/photoswipe-dynamic-caption-plugin_1.2.3_1658665586934_0.7881056762725911"},"_hasShrinkwrap":false},"1.2.4":{"name":"photoswipe-dynamic-caption-plugin","version":"1.2.4","description":"A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.","main":"photoswipe-dynamic-caption-plugin.esm.js","style":"photoswipe-dynamic-caption-plugin.css","type":"module","exports":{".":"./photoswipe-dynamic-caption-plugin.esm.js","./photoswipe-dynamic-caption-plugin.css":"./photoswipe-dynamic-caption-plugin.css"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin.git"},"keywords":["photoswipe","caption"],"author":{"name":"Dmytro Semenov"},"license":"MIT","bugs":{"url":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/issues"},"homepage":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme","gitHead":"326b884df7b5a25741c011b95d81ecb9aff79217","_id":"photoswipe-dynamic-caption-plugin@1.2.4","_nodeVersion":"16.15.1","_npmVersion":"8.9.0","dist":{"integrity":"sha512-7gPO8BHnOGZ0nXVhziltDqe7cAhDmaolGaU6LC3vggi4dcTHJBsGnxuqpk2EXw6vJ/JOeS0MqyGGUXupYbZk5w==","shasum":"51488139550776a03436333ad9158786e3e0e21c","tarball":"https://registry.npmjs.org/photoswipe-dynamic-caption-plugin/-/photoswipe-dynamic-caption-plugin-1.2.4.tgz","fileCount":7,"unpackedSize":31469,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVGH59MFK1dmimfQdFzZQgT7wqEgR+P3L1FLBeXSny+AiAuLfkK2kv+ZMl8yYsSiEt2he9NNj0dF5zk0hP3CEIGPQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi35yKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2bg/+K67z4OkUSdyTVsFO6kEAGLj8VK6acoZFm89aLiaIpywD30XK\r\nCiAwajJj3VnMeefaBB0G8loZONiwzmkmBFJXs9L4vx856JAyXYhco/Cc+8IP\r\nmDLa3t7b0dy5qi5CJ0XEwL8hZU0oulImPFJdFGp1MG7UMY3j7aoFnqUtC716\r\nfjTPNdsdK+no1EZxanqwaaYazswfhgKZ3IusKM81qrKw1jhOI4fjsOG6qoJo\r\nOlZgKzGi78pdVjJQjlQ5e3qFT88r2FaeEbJRrq6aUrlZXD0XAvpbDxrgjqza\r\ntG0SNEs9nJ1ziK1qfRjuSVjZkr9FF39Zg9D5YTidpjkfbs6cT57N4MYSNKag\r\nsUSwxUdkFA8bV0mhrSd68GlNm7BIs1OLV273xjeq4pmhWE190gWmC+XnbD98\r\nT3v9MyNsTwoEFL5Gf2wkWTnM9Y+oe4Gt9wWDkILq7bc809bzkWPMl8mAomRf\r\nsQ0mVhAWGX7zx1nz0QbFguavAAwXfLovpQQcablOfnV7MBv78WMZzWlqeMBY\r\nFFV9cgoC+RzKNKw8F4j2Fbp5RSESoBOnP4d+WmU2I2zKBjL8p2qXV215ssHh\r\nu/mZC/9Jff1DE4F97MKPFmAXfoODLRNNnujukozU/m6ibCUIjEyfBFwY9D1P\r\nbbKHXuvHrcHCNVZCZPCvclwzKuzgqaI7ZA4=\r\n=Z51y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"},"directories":{},"maintainers":[{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/photoswipe-dynamic-caption-plugin_1.2.4_1658821769916_0.7829556639180497"},"_hasShrinkwrap":false},"1.2.7":{"name":"photoswipe-dynamic-caption-plugin","version":"1.2.7","description":"A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.","main":"photoswipe-dynamic-caption-plugin.esm.js","style":"photoswipe-dynamic-caption-plugin.css","type":"module","exports":{".":"./photoswipe-dynamic-caption-plugin.esm.js","./photoswipe-dynamic-caption-plugin.css":"./photoswipe-dynamic-caption-plugin.css"},"devDependencies":{"@babel/core":"^7.18.0","@babel/eslint-parser":"^7.17.0","@babel/plugin-syntax-class-properties":"^7.12.13","rollup":"^2.46.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-terser":"^7.0.2"},"scripts":{"build":"rollup --config rollup.config.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin.git"},"keywords":["photoswipe","caption"],"author":{"name":"Dmytro Semenov"},"license":"MIT","bugs":{"url":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/issues"},"homepage":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme","gitHead":"b54b52dd39508a934385f30c529a59090ced0ce5","_id":"photoswipe-dynamic-caption-plugin@1.2.7","_nodeVersion":"16.15.1","_npmVersion":"8.9.0","dist":{"integrity":"sha512-5XXdXLf2381nwe7KqQvcyStiUBi9TitYXppUQTrzPwYAi4lZsmWNnNKMclM7I4QGlX6fXo42v3bgb6rlK9pY1Q==","shasum":"53aa5059f1c4dccc8aa36196ff3e09baa5e537c2","tarball":"https://registry.npmjs.org/photoswipe-dynamic-caption-plugin/-/photoswipe-dynamic-caption-plugin-1.2.7.tgz","fileCount":10,"unpackedSize":47639,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICUScw3kWxbykQwg8ZDEDukr8jddJ+6zSck5fj/DCQmJAiEAjZ5t+YHP1tsxS9pqV5+fnIIopJAJT3NtdY354LhJe2U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKD9AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeZRAAilje9YWntjxYefZNn1VCIA7umwyHXiBLY7oDgjY11S78x1Ww\r\ngsUwx1T4cOhn4LMFWNw/zbC6sXDT3aiaVilJxKxVJXee8S3J12jI+QdyCuIi\r\nteJ8h2b+QCEcUDSB4m5H3g/aQSkyDmwvwtJr2X+unGzn+4qW1lybJDh3Etxo\r\nYnL+iuz26u/SmAq8nBCWgb1+P9yr2xKvpM2EEdYK3cQr0RG9++WaD8d/CABD\r\nt8PZpDQIi5tto5eaQZXeB8v7CiFG5pd4JBZPa5olbsZTKFfYjxCE/CQSlpWx\r\nOAzaGke3aFpzyhr+Qx1S4mGEjaUhHDOCS9J/Z3ALr2VBeQePZtuCRAVY9JAP\r\nLh8bl/8HXg8iXCnbUnQNeNUvNW102lq79WmSzFNBbt2GDtQSjHk1KMA6Wh9l\r\nxzJlIJaX4oEE414wXBOGgYzG7ZNEvP1hrQNtMwXL133AfFCp6RJi9VbEOTrx\r\nCDKdpq/L/l8NMVJkaW/E4QJnS5m+W7x2ClNaahGxgrnUYdwQMfeohMh2ZC80\r\nPJY0TrlQAN2pTJlLtb/fjgAYd3nlfEItWO4xz6jNjM99k7l7qAQGJ41EKdU4\r\nWEis+BT8o3GjzWv467uwcffHY+v55P8lKj/vrOmt8nCBKWOqJjl8+3tAUCnq\r\nSfmxy5EBIKROpuKyltEmZ+meiVxRhmYWnKg=\r\n=Tc01\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"},"directories":{},"maintainers":[{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/photoswipe-dynamic-caption-plugin_1.2.7_1663582015976_0.7558819817009823"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-14T06:24:23.806Z","1.1.0":"2022-03-14T06:24:24.006Z","modified":"2022-09-19T10:06:56.218Z","1.1.1":"2022-03-23T19:35:37.757Z","1.2.0":"2022-07-22T07:28:52.228Z","1.2.1":"2022-07-22T07:37:58.808Z","1.2.2":"2022-07-23T04:15:53.403Z","1.2.3":"2022-07-24T12:26:27.118Z","1.2.4":"2022-07-26T07:49:30.133Z","1.2.7":"2022-09-19T10:06:56.147Z"},"maintainers":[{"name":"dimsemenov","email":"diiiimaaaa@gmail.com"}],"description":"A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.","homepage":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme","keywords":["photoswipe","caption"],"repository":{"type":"git","url":"git+https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin.git"},"author":{"name":"Dmytro Semenov"},"bugs":{"url":"https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/issues"},"license":"MIT","readme":"## Dynamic caption plugin for [PhotoSwipe](https://photoswipe.com/) v5\r\n\r\n**[> Plugin demo <](https://dimsemenov.github.io/photoswipe-dynamic-caption-plugin/)**\r\n\r\n\r\nThe plugin can automatically position the text below or aside depending on the available space. For small to medium sized captions. And only for images with the default `fit` scale mode.\r\n\r\nFor accessibility, make sure that important captions are always available without PhotoSwipe  - either use an `alt` attribute on thumbnails or `aria-labelledby`.\r\n\r\n### Intiailization\r\n\r\nThe plugin has a single JS file `photoswipe-dynamic-caption-plugin.esm.js` (UMD version is in the `dist/` folder) and a single CSS file `photoswipe-dynamic-caption-plugin.css`. Include them directly or via with npm:\r\n\r\n```\r\nnpm i photoswipe-dynamic-caption-plugin --save\r\n```\r\n\r\nIt can be initialized like this:\r\n\r\n```html\r\n<script type=\"module\">\r\nimport PhotoSwipeLightbox from 'photoswipe/dist/photoswipe-lightbox.esm.js';\r\n// or 'photoswipe-dynamic-caption-plugin' if using package manager\r\nimport PhotoSwipeDynamicCaption from 'https://unpkg.com/photoswipe-dynamic-caption-plugin/photoswipe-dynamic-caption-plugin.esm.js';\r\n\r\nconst lightbox = new PhotoSwipeLightbox({\r\n  gallerySelector: '#gallery',\r\n  childSelector: '.pswp-gallery__item',\r\n  pswpModule: () => import('photoswipe/dist/photoswipe.esm.js'),\r\n\r\n  // Optional padding for images,\r\n  // note that this is an option of PhotoSwipe, not a plugin\r\n  paddingFn: (viewportSize) => {\r\n    return {\r\n      top: 30, bottom: 30, left: 70, right: 70\r\n    }\r\n  },\r\n});\r\n\r\nconst captionPlugin = new PhotoSwipeDynamicCaption(lightbox, {\r\n  // Plugins options, for example:\r\n  type: 'auto',\r\n});\r\n\r\n// make sure you init photoswipe core after plugins are added\r\nlightbox.init();\r\n</script>\r\n```\r\n\r\n```html\r\n<link rel=\"stylesheet\" href=\"https://unpkg.com/photoswipe-dynamic-caption-plugin/photoswipe-dynamic-caption-plugin.css\">\r\n```\r\n\r\nAlso refer the source of the demo page - [index.html](https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin/blob/main/index.html).\r\n\r\n### Plugin options\r\n\r\n#### `captionContent: '.pswp-caption-content'`\r\n\r\nUsed to retrieve caption content.\r\n\r\nCan be a selector of the element from which caption content will be retrieved, if the element is not found - the plugin will try to use the thumbnail image `alt` attribute.\r\n\r\n```html\r\n<a href=\"path/to/large-image.jpg\" data-pswp-width=\"1024\" data-pswp-height=\"768\">\r\n  <img src=\"path/to/thumbnail.jpg\" alt=\"\" />\r\n  <span class=\"pswp-caption-content\">Caption content</span>\r\n</a>\r\n```\r\n\r\nOr a function that should return caption content. For example:\r\n \r\n```js\r\ncaptionContent: (slide) => {\r\n  return slide.data.element.querySelector('img').getAttribute('alt');\r\n}\r\n```\r\n\r\n#### `type: 'auto'`\r\n\r\nPosition type of the caption, can be 'auto', 'below', or 'aside'.\r\n\r\n- 'below' - caption will always be place below the image\r\n- 'aside' - caption will always be placed to the right side of the image\r\n- 'auto'  - the plugin will try to automatically determine the best position (depending on available space)\r\n\r\n#### `mobileLayoutBreakpoint: 600`\r\n\r\nMaximum window width at which mobile layout should be used, or a function that should return true if mobile layout should be used. For example:\r\n  \r\n```js\r\nmobileLayoutBreakpoint: (pswp, captionPlugin) => {\r\n  return (window.innerWidth < 750);\r\n}\r\n```\r\n\r\n#### `horizontalEdgeThreshold: 20`\r\n\r\nWhen caption `x` position is less than this value, it'll get class `pswp__dynamic-caption--on-hor-edge`. You may use it to apply different styling, such as horizontal padding.\r\n\r\n\r\n#### `mobileCaptionOverlapRatio: 0.3`\r\n\r\nA ratio defines the amount of horizontal empty space before the mobile caption switches to \"overlap\" layout. For example, if it's set to 0.3 - the caption will start overlapping the image when more than 30% of horizontal space is not occupied by an image. If you set it to 0 - the caption will always overlap. If you set it to 1 - the caption will always shift the image (unless it's taller than viewport).\r\n\r\n\r\n\r\n#### verticallyCenterImage: false\r\n\r\nIf enabled, the image will always be vertically centered in the remaining space between caption and the rest of viewport.  If set to false (default value) - the image will lift up only if caption does not fit below.\r\n\r\n\r\n### Styling\r\n\r\nThe caption has class `pswp__dynamic-caption`.\r\n\r\nIt can be in one of these states:\r\n\r\n- Below the main image - `pswp__dynamic-caption--below`.\r\n- Right side of the main image - `pswp__dynamic-caption--aside`.\r\n- \"Mobile\" (by default just pinned to bottom) - `pswp__dynamic-caption--mobile`\r\n\r\nIf the caption is near left horizontal edge - it gets class `pswp__dynamic-caption--on-hor-edge`.\r\n\r\nFeel free to adjust styles in the plugin CSS file (and use media queries if you need):\r\n\r\n```css\r\n.pswp__dynamic-caption--aside {\r\n  max-width: 300px;\r\n  padding: 20px 15px 20px 20px;\r\n  margin-top: 70px;\r\n}\r\n.pswp__dynamic-caption--below {\r\n  max-width: 700px;\r\n  padding: 15px 0 0;\r\n}\r\n.pswp__dynamic-caption--mobile {\r\n  background: rgba(0, 0, 0, 0.5);\r\n  padding: 10px 15px;\r\n}\r\n```\r\n\r\n\r\n\r\n### How 'auto' positioning works\r\n\r\n- Check if there is more horizontal or vertical free space around the image.\r\n- If there is more free vertical space:\r\n  - Set caption width to the width of the image \r\n  - Add `pswp__dynamic-caption--below` class, so size can also be adjusted via CSS.\r\n  - Measure caption height.\r\n  - Check if caption will fit without any adjustments of image position.\r\n    - If it does - just show the caption below the image.\r\n    - If it doesn't - reduce pan area height by the height of caption.\r\n- If there is more horizontal space:\r\n  - Add `pswp__dynamic-caption--aside` class, so size can be adjusted via CSS.\r\n  - Measure caption width.\r\n  - Check if caption will fit on the right side without any adjustments of image position.\r\n    - If it does - just show the caption aside of the image.\r\n    - If it doesn't - reduce pan area width by the width of caption.\r\n\r\nIf `mobileLayoutBreakpoint` requirements are met:\r\n\r\n  - Measure caption height when it occupies 100% width.\r\n  - Reduce pan area height to fit the caption below the image.\r\n  - Check amount of free horizontal space after the adjustment.\r\n  - If there is too much horizontal space (`mobileCaptionOverlapRatio`) - just overlap the caption and keep the image at the default position.\r\n\r\n## Changelog\r\n\r\n### 1.2.0\r\n\r\n- Requires PhotoSwipe 5.3.0.\r\n- Caption now moves with the slide when dragged (instead of fading in and out).\r\n- Each slide now has a separate DOM element (before there was only a single caption element that changed content).\r\n- No longer uses temporary caption to measure size.\r\n- You may now access caption and its data via `dynamicCaption` property of a slide. For example `pswp.currSlide.dynamicCaption`.\r\n\r\n\r\n### 1.1.0\r\n\r\n- No longer adjusts main image padding. If you need to dynamically change padding based on the screen size - use PhotoSwipe option `paddingFn` (introduced in 5.1.61)\r\n- Caption receives class `pswp__dynamic-caption--on-hor-edge` when it's on horizontal edge (`x` position is less than threshold). Added option `horizontalEdgeThreshold` to control this.\r\n- Reworked mobile layout. Now the caption tries to not overlap the main image if there is an empty space below. Added option `mobileCaptionOverlapRatio` to control this.\r\n\r\n\r\n","readmeFilename":"README.md"}