{"_id":"@alexandar9/iv-viewer","_rev":"8-7ca584ec910e8a380576c56a3c4b0cd1","name":"@alexandar9/iv-viewer","dist-tags":{"latest":"2.2.5-b"},"versions":{"2.2.0":{"name":"@alexandar9/iv-viewer","version":"2.2.0","description":"A zooming and panning plugin inspired by google photos for your web images.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/Alexandar9/iv-viewer.git"},"keywords":["image","zooming","panning","google","photos"],"author":{"name":"Alexandar"},"license":"MIT","bugs":{"url":"https://github.com/Alexandar9/iv-viewer/issues"},"homepage":"https://github.com/Alexandar9/iv-viewer#readme","scripts":{"start":"yarn copy-assets & parcel example/index.html --out-dir temp","copy-assets":"cp -R example/ temp","bundle":"cross-env yarn compile & yarn build-css & yarn bundle-dist","bundle-dist":"cross-env rollup -c rollup.config.js","build-css":"node build-css.js","compile":"cross-env NODE_ENV=production babel src --out-dir lib"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.3.4","all-contributors-cli":"^6.9.1","babel-eslint":"^9.0.0","cross-env":"^5.2.0","cssnano":"^4.1.10","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","parcel-bundler":"^1.11.0","rollup":"^1.4.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-filesize":"^6.0.1","rollup-plugin-license":"^0.8.1","rollup-plugin-uglify":"^6.0.2","sass":"^1.17.0"},"gitHead":"aba77aa6260c3fac7a0fc69c286b8222ae840bff","_id":"@alexandar9/iv-viewer@2.2.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-i1nHsg1ElKkgxcAht+yzzhv6ACDnZnkvR/cG4beX4JtsrS9dkv2Zt23zqgParw1c93UsgDctpbUTx+Ke9/VA1Q==","shasum":"cd275e372424c4949fb9a3fe87fd76141a08b71b","tarball":"https://registry.npmjs.org/@alexandar9/iv-viewer/-/iv-viewer-2.2.0.tgz","fileCount":26,"unpackedSize":252324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIgnhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoz3A/8DegvY7yGh6Rb6nh7sRF47hrgfQfi/qABonKduzHvxncRNexp\r\nlJIs5fbt8I0ytIAp7c+rBBgVX+fvWinL+mTw/IW5poncta9OTMDH5m39Ya4Q\r\n7/KDEiDQxXJGojzHp7A51iKvHrqAmV1l3K0QMciMeyuL7VHe4L53ObSKE6Ws\r\nt2KzqC6FUcnKftf0k73jskxNntMNKbvLQNuVW9OqBlS8WOXwHzH7puMnPyTK\r\n7r6t71rO01IicApuoqT0MKhWfv8gA3uD+MvNmIuZ38adtklc0tYy7Y7qtp37\r\nZ/xp1oOL207F5uvwX35VIHNAWjVs1KtK0U+t64s3GDfrFYJIlga7xnPy4iHC\r\njUj60A7RwNvx+LemOKVBTIAKJPtCLJyxvshXjpbgLTqp69dV0GCthWXH/8S/\r\nIeF2PWhH7LsjYNgsieghfEM0By9DLnXvzKtcE3VbwHyLKB6wNHvi9B0vbpWs\r\n9wrF4WHb+9xmxhVkpcYwZhrFRD0BMTDILCmQTzdir2WQw/jx2BCJ1JSTDK0h\r\nG7uoeWy/ISNzYBYNQwR8l30/FwSZUvkC6kmuyv4yAuCJdw9py19EpL6Botv0\r\n3vt1nBLwV8zEWp4FMthC7dlXanKYSY3bfLBLsVjJd9aMpP9ZnuUhEngG6Hi+\r\nwEcCjR+o8w+CHq0LhS8roj9JNrthvpQSpGc=\r\n=OHz3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT6B+6vwwzcasUyJS8ixFgKxBf4xW4SMymgNzMWD6btAIhANYF6XR8cIyPumdaSjeLZaoHGd6JsNDXlvfOvWBiB1+N"}]},"_npmUser":{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"},"directories":{},"maintainers":[{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iv-viewer_2.2.0_1646397921261_0.7087218551427987"},"_hasShrinkwrap":false},"2.2.1":{"name":"@alexandar9/iv-viewer","version":"2.2.1","description":"A zooming and panning plugin inspired by google photos for your web images.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/Alexandar9/iv-viewer.git"},"keywords":["image","zooming","panning","google","photos"],"author":{"name":"Alexandar"},"license":"MIT","bugs":{"url":"https://github.com/Alexandar9/iv-viewer/issues"},"homepage":"https://github.com/Alexandar9/iv-viewer#readme","scripts":{"start":"yarn copy-assets & parcel example/index.html --out-dir temp","copy-assets":"cp -R example/ temp","bundle":"cross-env yarn compile & yarn build-css & yarn bundle-dist","bundle-dist":"cross-env rollup -c rollup.config.js","build-css":"node build-css.js","compile":"cross-env NODE_ENV=production babel src --out-dir lib"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.3.4","all-contributors-cli":"^6.9.1","babel-eslint":"^9.0.0","cross-env":"^5.2.0","cssnano":"^4.1.10","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","parcel-bundler":"^1.11.0","rollup":"^1.4.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-filesize":"^6.0.1","rollup-plugin-license":"^0.8.1","rollup-plugin-uglify":"^6.0.2","sass":"^1.17.0"},"gitHead":"1fe27b2cf78228c651e62c800b6e110678f279b8","_id":"@alexandar9/iv-viewer@2.2.1","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-dexDT3WGoQ9mVueszXh3m/BuZAx3WuolCyFomgNMdd2DciQKGGUnlfOUyt+I097vU3UcLcIbF8DCFmM+/im+aQ==","shasum":"dc07bc77ec53ab7879d767c5f8fb64915fa038fa","tarball":"https://registry.npmjs.org/@alexandar9/iv-viewer/-/iv-viewer-2.2.1.tgz","fileCount":26,"unpackedSize":249769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIjP2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4WxAAnfSKOqoPDd3gI3c5d56iaGxdEhVnYr96BK3zbokVp5fNQEHS\r\nK6zX1bGTJjbFOX3CwxxCN1CVsvqBCPR8r9tI5V310dScEADEUslqZ9omjWKJ\r\nQD9Dyq6uIA/vfE4BA+ow6BzpaUNDOmrL8THihrgRwh0rwj+9KPw+MsYkcOO0\r\ngU553MFV+TIG9qpm1pX9U/mjDNdj/bYlqB6j01Q2tnw8hMO4lBc3T35CtTAy\r\nQPpTc0bCyoPPeq+rMa0aTCEnNXCuqUmcvIxqz7MJpP6JKLBJFMIfbR+I0lO3\r\nEYkr4cilC61GXmUYOzQfBplyrC7wIG2xdbARvewuwpvwdvZjm24WQ3yZVsSR\r\nAPoYh1BFxyN1H/lwwjtkMQYzVL5a0xI+aknWW6jdLN7M4kyuDiclc7T3vtIB\r\nrEcj0IgHUlu0be6aCPz9LFBpcvdm7Fsg2txyo8Wb+zBddPSrWMuBbmToT+d9\r\nc2JAWwYk+2XKYQX1+352VW1h7QHAstHfaGPk1gha0qmaBjynmYshbYdXAE5c\r\n1QV87kcqkZq4Q3xrA2Y/x4CZO8MdcHcv8XGFLdfIPn191ICK7TDGNuP8Oi3v\r\nuwZ/k4Ynw2JKa7jn9OckVqsNCy/VhyRXlpiRiDjTqWWg96qqL9qkRafFuqFs\r\nIFrZWd3kO96xP/M5eNFrbIbTwCa8PVPTO+Q=\r\n=v4lZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEY0KzzTgF8TqSEVAjIU2qPFtL6rm7O2pHOJeEdPyC7ZAiA5pozjZqyOb3RXbovNcF0GIq2+T3qcTpgLyXCYq2nVKw=="}]},"_npmUser":{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"},"directories":{},"maintainers":[{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iv-viewer_2.2.1_1646408694480_0.7396682154647349"},"_hasShrinkwrap":false},"2.2.2":{"name":"@alexandar9/iv-viewer","version":"2.2.2","description":"A zooming and panning plugin inspired by google photos for your web images.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/Alexandar9/iv-viewer.git"},"keywords":["image","zooming","panning","google","photos"],"author":{"name":"Alexandar"},"license":"MIT","bugs":{"url":"https://github.com/Alexandar9/iv-viewer/issues"},"homepage":"https://github.com/Alexandar9/iv-viewer#readme","scripts":{"start":"yarn copy-assets & parcel example/index.html --out-dir temp","copy-assets":"cp -R example/ temp","bundle":"cross-env yarn compile & yarn build-css & yarn bundle-dist","bundle-dist":"cross-env rollup -c -w rollup.config.js","build-css":"node build-css.js","compile":"cross-env NODE_ENV=production babel src --out-dir lib"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.3.4","all-contributors-cli":"^6.9.1","babel-eslint":"^9.0.0","cross-env":"^5.2.0","cssnano":"^4.1.10","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","parcel-bundler":"^1.11.0","rollup":"^1.4.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-filesize":"^6.0.1","rollup-plugin-license":"^0.8.1","rollup-plugin-uglify":"^6.0.2","sass":"^1.17.0"},"gitHead":"ee2894880c9370d2b9ee3951cdae1b1486a58ad6","_id":"@alexandar9/iv-viewer@2.2.2","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-urClyB/Bc94VYixBDNyMrCDLxKBT6yhGRo2Q7emHhPKxClkhZuvFc3IWbwSUgu2NSDNKUFNMgQ3eLdVd6QwJXQ==","shasum":"b2691905fa1d806dd5756dcfd83ea8b9cf02a349","tarball":"https://registry.npmjs.org/@alexandar9/iv-viewer/-/iv-viewer-2.2.2.tgz","fileCount":26,"unpackedSize":281191,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOdD2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/Pw/+PYyTUuP0WRVhvNJ5n0Z21qRd96DKstMLTZqYjy8gd5RNnVP3\r\n5hgWRpO/8WXBCuIULJMXzvlO26rsvuawa80JxPgL2/TWUjB8RG0qF4nx88jb\r\nllQLnJVThaVnxVJTFjBwuObTr7gbXKgxzYzkO8faJBvkM6PeD3LA7hrVnpGb\r\nmsm1yr0WgTs6zuepj4rPKkue3bEmRSxOlXCtRquLudysqJ3gxeLntY0jCzcY\r\nbRMfVdCAkt0UqA6cEyvM9nTX8QEDz1+YBJdjooTQjoZbIhpn1mKwWfsZlHEl\r\nrgyLoxyb8JCR/xgH6b1gJo8opQ7BkfYP2GNPOHo5Ym28W3gejBOcv3dIFtcP\r\nHOdMEL6e3KxkR2GdhhJd0FTaeG5Xu+7eYhdqm9zwvjvzSth75YJr04G+98K7\r\nR7mL02mTUMOvSdxaMCk4UNVpPlCoXFa+kJwwJBfCT+63TbGeXN3rUEYCZ01B\r\npKjKddplWv7UhLnulmz+1JOq9hvsiurtQuaEV+Txb+Y5XSKUZKnplOak512x\r\nMFnlWEmTdWpE/kDdRzrRyb9lPgabiyQ5Y07KbOa7QPARiHW+HEDJfwzfVZtr\r\nYO/q8bla74gESjIlfPHK/HwA43AkgsEvmde9oFfpTMQPjxUgOV4DA1YPdKZF\r\nQxC2zK5MEmH+uW2CXWbj+wnC46lf9VESNBM=\r\n=dXfQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+iWciMlb7Ctxwo8teVH/dekGNKWTHTRukAbJsj8eAUAiEA2bZoH7ymmCQ4Ts1TZnDU9P0Gk4/qH/tkEHYYxf8xqmY="}]},"_npmUser":{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"},"directories":{},"maintainers":[{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iv-viewer_2.2.2_1647956213992_0.00757905761483002"},"_hasShrinkwrap":false},"2.2.3":{"name":"@alexandar9/iv-viewer","version":"2.2.3","description":"A zooming and panning plugin inspired by google photos for your web images.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/Alexandar9/iv-viewer.git"},"keywords":["image","zooming","panning","google","photos"],"author":{"name":"Alexandar"},"license":"MIT","bugs":{"url":"https://github.com/Alexandar9/iv-viewer/issues"},"homepage":"https://github.com/Alexandar9/iv-viewer#readme","scripts":{"start":"yarn copy-assets & parcel example/index.html --out-dir temp","copy-assets":"cp -R example/ temp","bundle":"cross-env yarn compile & yarn build-css & yarn bundle-dist","bundle-dist":"cross-env rollup -c -w rollup.config.js","build-css":"node build-css.js","compile":"cross-env NODE_ENV=production babel src --out-dir lib"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.3.4","all-contributors-cli":"^6.9.1","babel-eslint":"^9.0.0","cross-env":"^5.2.0","cssnano":"^4.1.10","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","parcel-bundler":"^1.11.0","rollup":"^1.4.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-filesize":"^6.0.1","rollup-plugin-license":"^0.8.1","rollup-plugin-uglify":"^6.0.2","sass":"^1.17.0"},"gitHead":"ee2894880c9370d2b9ee3951cdae1b1486a58ad6","_id":"@alexandar9/iv-viewer@2.2.3","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-wJLZJwfwbMnt1e8ifOSY6yzNjjvuhNkRJGm2prsojAApiSh3FYDOaYpJMd8vjsRTTmStV5bqm+yj0CJjoeu7PQ==","shasum":"c37b779d6fdbb6d71b47ff2b4017c14611963f0e","tarball":"https://registry.npmjs.org/@alexandar9/iv-viewer/-/iv-viewer-2.2.3.tgz","fileCount":26,"unpackedSize":281932,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOd2oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpynw//WDGBnfwmHacv+kXpsRcD4uDILCRrOkq6QMomKv6PzY7klGXR\r\n4W/W7BFtmnkQlPyMKugHB9Bd2X0sbgysKEy+8MwYvY7CyBY8BCJtMMzobWXR\r\n6cUvwBLzDzfUshSAStav6Ti15Svim/sgPP5u+L72+lHmjT2X9i+bMmUe1y4x\r\nlxz00p2viErdh3qy8rqabbXRsYR5cno+cDvk+B4jG7tMgmftWbYI1v6uCu4V\r\nzl1emHn0gamUuZ50CZ1vNN4bl4GO4+maNG/aaCKw8mB15DDjjfzHnbFu9yoa\r\nKoa22qfGRGu+ELxQmbb2Hilc2o1tIo/UTxfg2N9W3Mc3FrFu6Lx/RqMFSt5O\r\nlvGcnQkV8iRwMDSMbwY02OhoCpZ9TcePBBqb/bxgua7qgOl/M+q8AL4M28+s\r\ns9sJheRY/mG3nFtNGHNYvwFhFLmv85vWeTj/mw3amhx7dCLWX3eDLlz6YOsg\r\nBtkA9I8hDQB/Gz2E5JWcUSHI1tx5GT5l/8JEPwWpMMwXiZGk+7ywtQZNDV7U\r\nsCHmiesYYCyy4zf2B0i406TFFxR1u30pzGmVkiAQTfVL7gjAfJDXN30R8aze\r\ntKqICGGQggUwucjF0Kvij72OM2RTJQSrSfAYsotgJF0WY1i30Q/0bWQlyrlq\r\n2VwTuRgewSBOOjYfVeJEELCnt7Ucp9cSIns=\r\n=vU6X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMC/gvNUdBir3VtzpEr4KS5uCWacCkLTI7Ap3YNXZBBAiA+whFNc3ZV9wZ9i4i9i7elTWu4yU7pTwiNKMCpba/23g=="}]},"_npmUser":{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"},"directories":{},"maintainers":[{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iv-viewer_2.2.3_1647959463870_0.4377518230863089"},"_hasShrinkwrap":false},"2.2.4":{"name":"@alexandar9/iv-viewer","version":"2.2.4","description":"A zooming and panning plugin inspired by google photos for your web images.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/Alexandar9/iv-viewer.git"},"keywords":["image","zooming","panning","google","photos"],"author":{"name":"Alexandar"},"license":"MIT","bugs":{"url":"https://github.com/Alexandar9/iv-viewer/issues"},"homepage":"https://github.com/Alexandar9/iv-viewer#readme","scripts":{"start":"yarn copy-assets & parcel example/index.html --out-dir temp","copy-assets":"cp -R example/ temp","bundle":"cross-env yarn compile & yarn build-css & yarn bundle-dist","bundle-dist":"cross-env rollup -c -w rollup.config.js","build-css":"node build-css.js","compile":"cross-env NODE_ENV=production babel src --out-dir lib"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.3.4","all-contributors-cli":"^6.9.1","babel-eslint":"^9.0.0","cross-env":"^5.2.0","cssnano":"^4.1.10","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","parcel-bundler":"^1.11.0","rollup":"^1.4.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-filesize":"^6.0.1","rollup-plugin-license":"^0.8.1","rollup-plugin-uglify":"^6.0.2","sass":"^1.17.0"},"gitHead":"ee2894880c9370d2b9ee3951cdae1b1486a58ad6","_id":"@alexandar9/iv-viewer@2.2.4","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-u0UNuD33NTkq812hq7xT2gaR24LU74VRJMJj2Kwh9RrT+XzHbtuJIPOIL9qVX5qzJT/o2CRr7SX2IM+CToCahQ==","shasum":"14749b69e640c1680c4f31dad5f3d1ff51313c7a","tarball":"https://registry.npmjs.org/@alexandar9/iv-viewer/-/iv-viewer-2.2.4.tgz","fileCount":26,"unpackedSize":266999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO005ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCXQ/6A4GVFkN/7cES5qfU8fEYSveurUAdIEnLbhz8O/gynME0YJ1T\r\ntzxgBaueuHQlKdTeNn6Pt07oLo3pVOHkQhGm4Et4AEoP2lzx41uVhX2XDM5X\r\nY5pj38HH38RorsMOwLYx1DWFFP3B0LRTJxzcacHj2fkuyWRrH9Q3U8ez4yZp\r\nZz/JJ6Y+SebYUJYbaIL4iSoIegnBctYhip2SIPW61c1plLGd6oyh1aTof2Zp\r\nhCim/1CQusfDdFOiO8qE6MvUx3Rl/M4ZSPccBYMEsFP09tq5+dLh9yDobyiF\r\nDDHnPmmPS97s0fqIV19e1ms3qIr4Efv/1rUFTuW2bpuvWFpoUIdL2UQV/auy\r\nYPnZXdqrZl1P6pFIg6uAwpD30sDsGKEh9DYjrq8IHzaczXsoBYWmaehQthIM\r\nGyow+/dWuF7Cl7SOZPk3Zr3D2SkrbF/gSB+SSURaqYoaCb6rsdZf//Oe/Y+j\r\nrFJNOndsdQah0Nt+fCiHrLCbAY8FxfD9lJC4t4T3rUUtUxXYDz8g3B9QDsdN\r\nm75cupTq0/p+9PTzERdQLlo7HKO0MZJ/TQGmfHZUgq0EKY8jGD3ImIG/ss6e\r\nnXKwSxCUhIsNbbjbtutEeWpQprQJEXnZ5Tnm4NSaERRATTLIWxo0TWeQIGEc\r\nZ7SjmIp7ZkQEiBxspydneB6JbyNiMWBFEus=\r\n=sLWQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtkFV3CiwNi1v4poKtTrluFHEMEn5tD/NP20uHtPs93gIgZedIcm2lXByB+7gwJUOS7ABG/VpeRblZ9waZw/XOhqA="}]},"_npmUser":{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"},"directories":{},"maintainers":[{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iv-viewer_2.2.4_1648053561183_0.8121393529645418"},"_hasShrinkwrap":false},"2.2.5":{"name":"@alexandar9/iv-viewer","version":"2.2.5","description":"A zooming and panning plugin inspired by google photos for your web images.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/Alexandar9/iv-viewer.git"},"keywords":["image","zooming","panning","google","photos"],"author":{"name":"Alexandar"},"license":"MIT","bugs":{"url":"https://github.com/Alexandar9/iv-viewer/issues"},"homepage":"https://github.com/Alexandar9/iv-viewer#readme","scripts":{"start":"yarn copy-assets & parcel example/index.html --out-dir temp","copy-assets":"cp -R example/ temp","bundle":"cross-env yarn compile & yarn build-css & yarn bundle-dist","bundle-dist":"cross-env rollup -c -w rollup.config.js","build-css":"node build-css.js","compile":"cross-env NODE_ENV=production babel src --out-dir lib"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.3.4","all-contributors-cli":"^6.9.1","babel-eslint":"^9.0.0","cross-env":"^5.2.0","cssnano":"^4.1.10","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","parcel-bundler":"^1.11.0","rollup":"^1.4.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-filesize":"^6.0.1","rollup-plugin-license":"^0.8.1","rollup-plugin-uglify":"^6.0.2","sass":"^1.17.0"},"gitHead":"ee2894880c9370d2b9ee3951cdae1b1486a58ad6","_id":"@alexandar9/iv-viewer@2.2.5","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-LFcAWq3Y62hXmvlkvI/nz2O+6loSB2vsZCuY3F9YuPsR0yuCII6d4+CT13qJhBwXjYD5vABs4oDgUJQom25kAQ==","shasum":"77912e2bc089b7d7503236443b7edb2daaa47192","tarball":"https://registry.npmjs.org/@alexandar9/iv-viewer/-/iv-viewer-2.2.5.tgz","fileCount":26,"unpackedSize":267656,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH46dIyxly2Zjyti25w1+q0QlHfZSqPtSsB0vYV1u2iQAiALCrCIQjCa/9sryfdBTjMLHF7nPtEoe6Oy4F8GLb+b7w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRt1PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmFA//Wd4wh/wXDEtGfKICmgDDlWZ+taJgoGL+NxBEPtqsNyvyc6UY\r\ntFoYs/0NMoJjuItH0z3vknIebI4WD8aMrASKfTYLVnmsOzSXaDEllP6urX1w\r\nveGbqCBnQfbPAy/IhqJDbrEYOe0QHy3aud442iPG9tdKlhwM7AdR51noiS4o\r\nr5yv9m2r7qk8UFHdde1pRAqbqpaYc6JKYyiCZVQC5MEmUH4/ZM8pngkWlS1c\r\n/pYYIi7vi8xbD6Rb6fmj7UOv0Xkpdsp3dHqxuj0nFJHmgTrac7GEqNoi/4xz\r\npOkPBoN4VixJMVw4ys1cfqXyD4ML9GP+vQZsCR7ANMkAf39sOTVcxS4jYFEp\r\nLdVghjoP/Aw00Q+xhNpwmYycPoy0gfuu+ldhv7RzlTRtyzg4HRdm0pEjjJ7M\r\nRk68kpFVHFxNv91CSVjgxBhR4lhqLemNHdGXw8u1ZVtl2pZpqhJSbonpGWCg\r\n1i/PbsVtnxphXclzumVZAizc8ub4i9F3vZOX1Y4/wXD9Brz8yqc9jk3AoaCa\r\nhYve1xK9+9R1eVsisdEmqsQiG1VxLHbXxo8yWwWrN5EMSuSwjLaJY8ibSiCH\r\n6zFVHRaM8+LQYxxxENKtEixc/kTEVCAaVBQTxllHHr2IdxQdu0GAVOC5bctI\r\nyW9HSypnjPPXaCFY2BL7oTAanT3RNwtR0g4=\r\n=EaBM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"},"directories":{},"maintainers":[{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iv-viewer_2.2.5_1648811342849_0.16805570059747454"},"_hasShrinkwrap":false},"2.2.5-a":{"name":"@alexandar9/iv-viewer","version":"2.2.5-a","description":"A zooming and panning plugin inspired by google photos for your web images.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/Alexandar9/iv-viewer.git"},"keywords":["image","zooming","panning","google","photos"],"author":{"name":"Alexandar"},"license":"MIT","bugs":{"url":"https://github.com/Alexandar9/iv-viewer/issues"},"homepage":"https://github.com/Alexandar9/iv-viewer#readme","scripts":{"start":"yarn copy-assets & parcel example/index.html --out-dir temp","copy-assets":"cp -R example/ temp","bundle":"cross-env yarn compile & yarn build-css & yarn bundle-dist","bundle-dist":"cross-env rollup -c -w rollup.config.js","build-css":"node build-css.js","compile":"cross-env NODE_ENV=production babel src --out-dir lib"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.3.4","all-contributors-cli":"^6.9.1","babel-eslint":"^9.0.0","cross-env":"^5.2.0","cssnano":"^4.1.10","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","parcel-bundler":"^1.11.0","rollup":"^1.4.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-filesize":"^6.0.1","rollup-plugin-license":"^0.8.1","rollup-plugin-uglify":"^6.0.2","sass":"^1.17.0"},"gitHead":"ee2894880c9370d2b9ee3951cdae1b1486a58ad6","_id":"@alexandar9/iv-viewer@2.2.5-a","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-9oML6DPSnYE9nfjVFJgQ9n9nlWpNgtfAWInukH+ebiYMLadyti2+o3VCoFKMOSmTdg2qo+Ez7hNvqQprN5Ae/Q==","shasum":"7a1c62d65f3b5cafe3a7c4b545dc3b15747c0a4c","tarball":"https://registry.npmjs.org/@alexandar9/iv-viewer/-/iv-viewer-2.2.5-a.tgz","fileCount":26,"unpackedSize":267787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKc3PE15agXSa8h6sBkxwxZA11OCPj7KOxwVR7uLeVPAIgZ6MejjdU27ymX4AQP0emABZJ77KCA+mWowCQ4vR63Jg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRuQ6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrP3g//Qd3tznwyUe9yZU5p48dbVP7uaIls8U1cy4KWBr0hijP+y5VR\r\n1Z7ChunWeKSobLKjkEPF5qdC0IuUe+AUWGIG13Xdc7Q2S/SAPjT9SWQTUbY/\r\n456syHQGTp33yoUMpmfJVa7TEGFeEV37mupCh9lbLxfKdWIf28Baq4QQXEIi\r\n1dmJ7n1HAjhU0yVX0kjrG6SnYcLFe0Iupzz2Bu8yC6vgeMR6a+8a/ulr5rLZ\r\nBCSNnk7hKTcTX/JGQlqzVbe0BADIlTp/kigWbZu/IvNGp+nPQKW7mCZJg2Zx\r\n1zK51uWMd/ST5o4JTuhPqJebQKl9BMIY0/z4Mvbvqoic13xGHi9qgtEsT/fW\r\nKjGheOPMmTvS3xbYiBILI91J9wr2rpLWHM1fxl2md2/RPmUBLAZ5dM8JM+6U\r\ny8+Mn8ACQzuZ4V4D6Mg3v1Wv6mJt64f1gK+3+bd96K5rYPOLAH1FDT0fSw7u\r\nUbLs9rbNqaIDVY9bUPRAnPvWHaFvfU69p/nqMcqmnkZJVqVF8rbZUejvDk+V\r\nccn6y+9N1lJ6jZxEIih7FPkEUfgpwADRma1h/9Y9RqxlJ+flFBmJo0epXWer\r\nDpid1EeneK/Uc2dGoQeOPE2j91XvGWaA6UApR5SmLUg4u/17KETYU5pdJHV/\r\nmemG1yIdCEXlQjK3n5HDxziylV2d4LfyFy8=\r\n=JgDC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"},"directories":{},"maintainers":[{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iv-viewer_2.2.5-a_1648813114335_0.08590040672124677"},"_hasShrinkwrap":false},"2.2.5-b":{"name":"@alexandar9/iv-viewer","version":"2.2.5-b","description":"A zooming and panning plugin inspired by google photos for your web images.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/Alexandar9/iv-viewer.git"},"keywords":["image","zooming","panning","google","photos"],"author":{"name":"Alexandar"},"license":"MIT","bugs":{"url":"https://github.com/Alexandar9/iv-viewer/issues"},"homepage":"https://github.com/Alexandar9/iv-viewer#readme","scripts":{"start":"yarn copy-assets & parcel example/index.html --out-dir temp","copy-assets":"cp -R example/ temp","bundle":"cross-env yarn compile & yarn build-css & yarn bundle-dist","bundle-dist":"cross-env rollup -c -w rollup.config.js","build-css":"node build-css.js","compile":"cross-env NODE_ENV=production babel src --out-dir lib"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.3.4","all-contributors-cli":"^6.9.1","babel-eslint":"^9.0.0","cross-env":"^5.2.0","cssnano":"^4.1.10","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","parcel-bundler":"^1.11.0","rollup":"^1.4.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-filesize":"^6.0.1","rollup-plugin-license":"^0.8.1","rollup-plugin-uglify":"^6.0.2","sass":"^1.17.0"},"gitHead":"ee2894880c9370d2b9ee3951cdae1b1486a58ad6","_id":"@alexandar9/iv-viewer@2.2.5-b","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-NMlWIW4uFn8KhPjB9b8NUMYj04s542dfC7sxDwpYKidtHC+KeSY3qWETpTk3dIKM7dRToBZ6AJ5tOpr9LfGv1g==","shasum":"887f1c8c6d66f7e96e31190a73e065a7aa039256","tarball":"https://registry.npmjs.org/@alexandar9/iv-viewer/-/iv-viewer-2.2.5-b.tgz","fileCount":26,"unpackedSize":267609,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFD1cLnXvrZgCLdKMgMDY+DJDclRv4jruUZ+gJWjG3R4AiB/UBp2xT3zwa59W5cJqW0AKHrS416p5Bchh80ui05KDw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRvKXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphPg//TiBR5UAS73v/f/qkgwhFhlH9TxVOTfoMmOE0Nw5GFxFIL2pB\r\nAe/6nSL4pTjJ1kWzaFRE/9B6KJJiBbjwEaqX0cGm3wXrd0wFHULNGpfst3Ss\r\nB6v/zbh8zmROxsXFzSCEb8fXUPkplNCIpSa0z5sfSS8T4BT4zm+H6quQr7GI\r\nlviII3CqoyxRK4l9DUwAs4NUi2tRfT3GW4rAw+bbbWE0C5Tw786GsUFfdqq4\r\nPkh4UomnX3aE0+DLZklGt5N120Qvnez6PlyfZIOrYQmt8zc5zWuw5DYtar8n\r\nSwFLZfDPTrUuiv/w6LykXnQDB8D1Vif+DJBEm+c63utOGChDtcn7SZQL9lp0\r\ngTwb2kMNjJLcygxFMZRTrQU9hTlXRyIcJL0vIhvQr7OBAbIb1FTzJ3YOFR66\r\ncYsFQTH3q5XjngLWVoyG+nz9GWZ/bT79gLmqcX7X35DWxYa1F4Kr0tzto+Q9\r\nvJCAXNMeNPy1DkHP3be1vIJQPNPL19js6mEulRH/X2dc4wAxPl1zFMWuKQB3\r\nZE7fmq4eiYKdt7NDlEUsJNhM2QLZD5g4Z+7USB2livhgr3AZfkoo2k6tFwf6\r\nRUageS5KFcSVfhsxmsgoUnfvB6khTWYVcaqoI81jJVZ2orzGXt/yjLBpFZcd\r\ngKhyzsT2IZ2h6lH+0zqvGzh/tclbmepEH04=\r\n=S1Ew\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"},"directories":{},"maintainers":[{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iv-viewer_2.2.5-b_1648816791746_0.9816370283223153"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-04T12:45:21.006Z","2.2.0":"2022-03-04T12:45:21.479Z","modified":"2022-04-04T12:38:59.799Z","2.2.1":"2022-03-04T15:44:54.665Z","2.2.2":"2022-03-22T13:36:54.192Z","2.2.3":"2022-03-22T14:31:04.060Z","2.2.4":"2022-03-23T16:39:21.396Z","2.2.5":"2022-04-01T11:09:03.024Z","2.2.5-a":"2022-04-01T11:38:34.537Z","2.2.5-b":"2022-04-01T12:39:51.913Z"},"maintainers":[{"name":"alexandar93","email":"aleksandar.petrovic@itcentar.rs"}],"description":"A zooming and panning plugin inspired by google photos for your web images.","homepage":"https://github.com/Alexandar9/iv-viewer#readme","keywords":["image","zooming","panning","google","photos"],"repository":{"type":"git","url":"git+https://github.com/Alexandar9/iv-viewer.git"},"author":{"name":"Alexandar"},"bugs":{"url":"https://github.com/Alexandar9/iv-viewer/issues"},"license":"MIT","readme":"# iv-viewer (FORKED)\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)\r\nA zooming and panning plugin inspired by google photos for your web images.\r\n\r\n### Features\r\n\r\n<ul>\r\n    <li>Smooth dragging and panning of images.</li>\r\n    <li>Support touch devices.</li>\r\n    <li>Double tap to zoom in/zoom out.</li>\r\n    <li>Pinch in/out to control zoom.</li>\r\n    <li>Snap view for better panning and zooming experience.</li>\r\n    <li>Allow quick display of loaded image then loading of high quality image progressively.</li>\r\n    <li>Exposed API to control zoom programmatically.</li>\r\n    <li>Custom Events to listen for the state changes.</li>\r\n</ul>\r\n\r\n![alt tag](assets/imageviewer.jpg)\r\n\r\n### Install\r\n\r\nThrough npm\r\n\r\n```\r\nnpm install iv-viewer --save\r\n```\r\n\r\nOr get compiled development and production version (css and js) from ./dist\r\n\r\n### Usage\r\n\r\nImport ImageViewer and it's style.\r\n\r\n```js\r\nimport ImageViewer from \"iv-viewer\";\r\n\r\n// or\r\nconst ImageViewer = require(\"iv-viewer\").default;\r\n\r\n// Import css\r\nimport \"iv-viewer/dist/iv-viewer.css\";\r\n```\r\n\r\nYou can choose to import css file inside your scss/less files.\r\n\r\nYou can also use the standalone UMD build by including dist/iv-viewer.js and dist/iv-viewer.css in your page.\r\n\r\n```html\r\n<script src=\"https://unpkg.com/iv-viewer/dist/iv-viewer.js\"></script>\r\n\r\n<link rel=\"stylesheet\" href=\"https://unpkg.com/iv-viewer/dist/iv-viewer.css\" />\r\n```\r\n\r\n### Three different modes\r\n\r\n#### Full-Screen Mode\r\n\r\nIf you want to show images in full screen, with predefined styles. You can use FullScreenViewer.\r\n\r\n```js\r\nimport { FullScreenViewer } from \"iv-viewer\";\r\n\r\nconst viewer = new FullScreenViewer(options); // check options section for supported options\r\n\r\nviewer.show(\"images/low-res-img\", \"images/hi-res-img\"); //second option is optional. Check better image loading section\r\n```\r\n\r\n#### Container Mode\r\n\r\nIf you have your own container to show images (you might have custom layout or gallery), you can use image-viewer in a container mode.\r\n\r\n```html\r\n<div id=\"image-container\"></div>\r\n```\r\n\r\n```js\r\nimport ImageViewer from \"iv-viewer\";\r\n\r\nconst container = document.querySelector(\"#image-container\");\r\nconst viewer = new ImageViewer(container, options); //check options section for supported options\r\n\r\nviewer.load(\"images/low-res-img\", \"images/hi-res-img\"); //second option is optional. Check better image loading section\r\n```\r\n\r\n#### Image Mode\r\n\r\nIf you just want to add zoom and pan gesture to your images in a image-viewer style, you can use image-viewer in image mode.\r\n\r\n```html\r\n<img id=\"image\" src=\"image.png\" data-high-res-src=\"hi-res-image.png\" />\r\n```\r\n\r\n```js\r\nimport ImageViewer from \"iv-viewer\";\r\n\r\nconst image = document.querySelector(\"#image\");\r\nconst viewer = new ImageViewer(image, options); // check options section for supported options\r\n```\r\n\r\n### Options\r\n\r\n| Option           | Allowed Value        | Default | Description                                                                                                                                                                     |\r\n| ---------------- | -------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\r\n| zoomValue        | number in percentage | 100     | It defines the initial zoom value of the image.                                                                                                                                 |\r\n| maxZoom          | number in percentage | 500     | It defines the max limit for the zoom value of the image.                                                                                                                       |\r\n| snapView         | boolean              | true    | If true will show snap view.                                                                                                                                                    |\r\n| refreshOnResize  | boolean              | true    | Defines whether to refresh the viewer on resize of window. This is available only for Container and Image mode. On FullScreen mode it will refresh on window resize by default. |\r\n| zoomOnMouseWheel | boolean              | true    | Defines weather to allow zoom with mouse scroll or not.                                                                                                                         |\r\n| hasZoomButtons   | boolean              | true    | Defines weather to add zoom buttons or not                                                                                                                                      |\r\n| zoomStep         | number               | 50      | The number of which the zoom should increase/decrease when the buttons are clicked                                                                                              |\r\n| listeners        | object               | null    | multiple useful callbacks that could use in-order to get the current state of the viewer                                                                                        |\r\n\r\n### The Listeners\r\n\r\nThere are multiple listeners you can register with each viewer instance\r\n\r\n```js\r\nimport ImageViewer from \"iv-viewer\";\r\n\r\nconst viewer = new ImageViewer(element, {\r\n  listeners: {\r\n    onInit: callback(data), // called when the instance is initiated\r\n    onDestroy: callback(), // called when the instance is destroyed\r\n    onImageLoaded: callback(data), // called on image load\r\n    onZoomChange: callback(data), // called on zoom in/out\r\n  },\r\n});\r\n```\r\n\r\n### Callback Data\r\n\r\nThe data passed to each callback is very useful, it contains the current instance with more info that you can use to react to the instance state\r\n\r\n| Option     | dataType    | Description                                                                |\r\n| ---------- | ----------- | -------------------------------------------------------------------------- |\r\n| container  | HTMLElement | The current container of the viewer                                        |\r\n| snapView   | HTMLElement | The snap view element in the viewer                                        |\r\n| zoomValue  | Number      | The current zoom value                                                     |\r\n| reachedMin | boolean     | A boolean value that determine if the zoom value reached the initial zoom. |\r\n| reachedMax | boolean     | A boolean value that determine if the zoom value reached the maximum zoom. |\r\n| instance   | ImageViewer | The current instance which contains all other info if needed               |\r\n\r\n### API (ImageViewer)\r\n\r\nCreating an instance\r\n\r\n```js\r\nimport ImageViewer from \"iv-viewer\";\r\n\r\nconst viewer = new ImageViewer(element, options);\r\n```\r\n\r\nHere the first argument is the element, which can be container where viewer will be loaded, or it can be a image in which case viewer will be initialized in a image mode.\r\n\r\nYou can also pass a selector directly instead of a DOM element.\r\n\r\n```js\r\nconst viewer = new ImageViewer(\"#element\", options);\r\n```\r\n\r\nSecond argument is to provide configuration options for the ImageViewer. This argument is optional.\r\n\r\n#### Instance methods\r\n\r\n**load(imgSrc, highResImg)**\r\n\r\nLoad an image to the viewer. You can pass two different resolution of the image as first and second argument (optional). See why do you need it at [better image loading](#better-image-loading) section.\r\n\r\n```js\r\nviewer.load(\"image.png\", \"hi-res-image.png\");\r\n```\r\n\r\nNote that this is just required for the container mode, as in image mode you can just use `src` and `data-high-res-src` attribute and the image will load by itself. See [image mode](#image-mode) example\r\n\r\n**zoom(zoomValue, point)**\r\n\r\nzoomValue: A percentage value to which you want to zoom the image.\r\n\r\npoint(optional): Point {x, y} is the coordinate of the container which would act as the center for the zoom. If not defined, it will take the center of the container as the zooming point.\r\n\r\n```js\r\nviewer.zoom(300, { x: 500, y: 500 });\r\n```\r\n\r\n**resetZoom()**\r\n\r\nReset zoom to the default or provided initial zoomValue.\r\n\r\n```js\r\nviewer.resetZoom();\r\n```\r\n\r\n**refresh()**\r\n\r\nMethod to manually refresh the viewer. It will reset the zoom and pan. It will also recalculate the dimension of container, window and image in case if that is changed.\r\n\r\n```js\r\nviewer.refresh();\r\n```\r\n\r\n**destroy()**\r\n\r\nDestroys the plugin instance and unbind all events. It will also reset the container or the image(if ImageViewer is used in image mode). It returns null which you should assign to viewer variable to completely free up memory.\r\n\r\n```js\r\nviewer = viewer.destroy();\r\n```\r\n\r\n### API (FullScreenViewer)\r\n\r\nFullScreenViewer is extended from ImageViewer. So it shares the same ImageViewer api along with some FullScreenViewer API.\r\n\r\nCreating an instance\r\n\r\n```js\r\nimport { FullScreenViewer } from \"iv-viewer\";\r\n\r\nconst viewer = new FullScreenViewer(options);\r\n```\r\n\r\nUnlike ImageViewer you don't have to pass container for the viewer as it will be initialized in pre-defined full screen container.\r\n\r\nFirst argument is to provide configuration options for the FullScreenViewer. This argument is optional.\r\n\r\n#### Instance methods (FullScreenViewer)\r\n\r\nFullScreenViewer inherits all the instance method of ImageViewer. In additional to that it has following methods.\r\n\r\n**show(imgSrc, highResImg)**\r\n\r\nShow the full screen viewer with passed image on the show method. You can pass two different resolution of the image as first and second argument (optional). See why do you need it at [better image loading](#better-image-loading) section.\r\n\r\n```js\r\nviewer.show(\"image.png\", \"hi-res-image.png\");\r\n```\r\n\r\n**hide()**\r\n\r\nHide/Close the fullScreen viewer.\r\n\r\n```js\r\nviewer.hide();\r\n```\r\n\r\n### Better image loading\r\n\r\nTo improve the perceived experience, it is always recommended to show the already loaded image or the low quality image on the viewer and let the ImageViewer load high quality image in parallel.\r\n\r\nIt will also try to preview the high quality image while it's loading so it will give a progressive loading effect.\r\n\r\nImageViewer provides api to do this.\r\nContainer mode\r\n\r\n```js\r\nviewer.load(\"image.png\", \"hi-res-image.png\");\r\n```\r\n\r\nFullScreen mode\r\n\r\n```js\r\nviewer.show(\"image.png\", \"hi-res-image.png\");\r\n```\r\n\r\nImage Mode\r\n\r\n```html\r\n<img id=\"image\" src=\"image.png\" data-high-res-src=\"hi-res-image.png\" />\r\n```\r\n\r\nIn all of the above example it will first try to display the first image and then load the second image (if passed) in parallel.\r\n\r\nThe second image is optional, which you should pass when you feel you can improve the image loading experience by first showing low quality image and then progressively update it with high quality image.\r\n\r\n### Demo\r\n\r\ncodesandbox preview link: [https://8ypwzryom0.codesandbox.io/](https://8ypwzryom0.codesandbox.io/)\r\n\r\ncodesandbox link: [https://codesandbox.io/s/8ypwzryom0](https://codesandbox.io/s/8ypwzryom0)\r\n\r\n### Like this\r\n\r\n[:star: this repo](https://github.com/s-yadav/iv-viewer)\r\n\r\n### Major updates\r\n\r\n#### v2.1.0\r\n\r\n- It's a complete rewrite of ImageViewer with no jQuery requirement in ES6.\r\n- While the options and instance method are same the way you use a ImageViewer and FullScreenView is changed. The v1 API will no longer be supported.\r\n- Published on the npm. V1 was not available on npm.\r\n- Changed the package name to iv-viewer. image-viewer name was not available on npm.\r\n- Added some listeners\r\n- Added zoom in/out buttons\r\n- Some SCSS variable for easier overrides.\r\n\r\n## Contributors ✨\r\n\r\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore-start -->\r\n<!-- markdownlint-disable -->\r\n<table>\r\n  <tr>\r\n    <td align=\"center\"><a href=\"http://mozillians.org/en-US/u/ruchikabgosain/\"><img src=\"https://avatars2.githubusercontent.com/u/30324532?v=4\" width=\"100px;\" alt=\"Ruchika\"/><br /><sub><b>Ruchika</b></sub></a><br /><a href=\"https://github.com/s-yadav/iv-viewer/commits?author=ruchikabgosain\" title=\"Documentation\">📖</a></td>\r\n    <td align=\"center\"><a href=\"https://twitter.com/_syadav\"><img src=\"https://avatars1.githubusercontent.com/u/3096766?v=4\" width=\"100px;\" alt=\"Sudhanshu Yadav\"/><br /><sub><b>Sudhanshu Yadav</b></sub></a><br /><a href=\"https://github.com/s-yadav/iv-viewer/commits?author=s-yadav\" title=\"Documentation\">📖</a></td>\r\n    <td align=\"center\"><a href=\"https://hockeycommunity.com\"><img src=\"https://avatars0.githubusercontent.com/u/2039539?v=4\" width=\"100px;\" alt=\"Amrit Kahlon\"/><br /><sub><b>Amrit Kahlon</b></sub></a><br /><a href=\"https://github.com/s-yadav/iv-viewer/commits?author=amritk\" title=\"Documentation\">📖</a></td>\r\n    <td align=\"center\"><a href=\"https://github.com/10000\"><img src=\"https://avatars2.githubusercontent.com/u/3347256?v=4\" width=\"100px;\" alt=\"10000\"/><br /><sub><b>10000</b></sub></a><br /><a href=\"https://github.com/s-yadav/iv-viewer/commits?author=10000\" title=\"Documentation\">📖</a></td>\r\n  </tr>\r\n</table>\r\n\r\n<!-- markdownlint-enable -->\r\n<!-- prettier-ignore-end -->\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md"}