From ea94c69fa801035cfd2948ecfc483e3473e812d3 Mon Sep 17 00:00:00 2001 From: Amr Wagdy Date: Sat, 6 Nov 2021 19:05:21 +0200 Subject: [PATCH] chore: build v2.7.1 --- CHANGELOG.md | 2 +- README.md | 2 +- build/js-cloudimage-360-view.min.js | 6 +++--- examples/src/index.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db51c65..49e582f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ Types of changes: - ... ------------- -## 2.7.1 - 2020-11-05 +## 2.7.1 - 2020-11-06 ### Added - click to reset mouse zoom - show 360 logo after play once diff --git a/README.md b/README.md index ba6cd71..05b038a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Release](https://img.shields.io/badge/release-v2.7.0-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases) +[![Release](https://img.shields.io/badge/release-v2.7.1-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Scaleflex team](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg)](https://www.scaleflex.it/en/home) diff --git a/build/js-cloudimage-360-view.min.js b/build/js-cloudimage-360-view.min.js index b52b7dc..2f85114 100644 --- a/build/js-cloudimage-360-view.min.js +++ b/build/js-cloudimage-360-view.min.js @@ -1,11 +1,11 @@ /*! * - * js-cloudimage-360-view v2.7.0 + * js-cloudimage-360-view v2.7.1 * https://github.com/scaleflex/js-cloudimage-360-view * * Copyright (c) 2019 scaleflex * Released under the MIT license * - * Date: 2021-11-04T09:38:06.828Z + * Date: 2021-11-06T16:53:33.951Z * - */!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=39)}([function(t,e,i){(function(e){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,i(43))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var n=i(23),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},function(t,e,i){var n=i(1);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){var n=i(3),o=i(6),s=i(18);t.exports=n?function(t,e,i){return o.f(t,e,s(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(3),o=i(24),s=i(7),r=i(22),a=Object.defineProperty;e.f=n?a:function(t,e,i){if(s(t),e=r(e,!0),s(i),o)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(4);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,i){var n=i(0),o=i(17).f,s=i(5),r=i(45),a=i(10),c=i(49),h=i(55);t.exports=function(t,e){var i,l,u,d,f,v=t.target,m=t.global,p=t.stat;if(i=m?n:p?n[v]||a(v,{}):(n[v]||{}).prototype)for(l in e){if(d=e[l],u=t.noTargetGet?(f=o(i,l))&&f.value:i[l],!h(m?l:v+(p?".":"#")+l,t.forced)&&void 0!==u){if(typeof d==typeof u)continue;c(d,u)}(t.sham||u&&u.sham)&&s(d,"sham",!0),r(i,l,d,t)}}},function(t,e,i){var n=i(19),o=i(21);t.exports=function(t){return n(o(t))}},function(t,e,i){var n=i(0),o=i(5);t.exports=function(t,e){try{o(n,t,e)}catch(i){n[t]=e}return e}},function(t,e,i){var n=i(0),o=i(10),s=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=s},function(t,e){t.exports={}},function(t,e,i){var n=i(51),o=i(0),s=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t])||s(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,i){var n=i(0),o=i(28),s=i(2),r=i(29),a=i(36),c=i(61),h=o("wks"),l=n.Symbol,u=c?l:l&&l.withoutSetter||r;t.exports=function(t){return s(h,t)&&(a||"string"==typeof h[t])||(a&&s(l,t)?h[t]=l[t]:h[t]=u("Symbol."+t)),h[t]}},function(t,e,i){var n=i(0),o=i(35),s=Function.call;t.exports=function(t,e,i){return o(s,n[t].prototype[e],i)}},function(t,e,i){var n=i(3),o=i(44),s=i(18),r=i(9),a=i(22),c=i(2),h=i(24),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=r(t),e=a(e,!0),h)try{return l(t,e)}catch(t){}if(c(t,e))return s(!o.f.call(t,e),t[e])}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){var n=i(1),o=i(20),s="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s.call(t,""):Object(t)}:Object},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,i){var n=i(4);t.exports=function(t,e){if(!n(t))return t;var i,o;if(e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;if("function"==typeof(i=t.valueOf)&&!n(o=i.call(t)))return o;if(!e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,i){var n=i(21);t.exports=function(t){return Object(n(t))}},function(t,e,i){var n=i(3),o=i(1),s=i(25);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},function(t,e,i){var n=i(0),o=i(4),s=n.document,r=o(s)&&o(s.createElement);t.exports=function(t){return r?s.createElement(t):{}}},function(t,e,i){var n=i(11),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,i){var n=i(28),o=i(29),s=n("keys");t.exports=function(t){return s[t]||(s[t]=o(t))}},function(t,e,i){var n=i(48),o=i(11);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.13.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++i+n).toString(36)}},function(t,e,i){var n=i(2),o=i(9),s=i(31).indexOf,r=i(12);t.exports=function(t,e){var i,a=o(t),c=0,h=[];for(i in a)!n(r,i)&&n(a,i)&&h.push(i);for(;e.length>c;)n(a,i=e[c++])&&(~s(h,i)||h.push(i));return h}},function(t,e,i){var n=i(9),o=i(32),s=i(53),r=function(t){return function(e,i,r){var a,c=n(e),h=o(c.length),l=s(r,h);if(t&&i!=i){for(;h>l;)if((a=c[l++])!=a)return!0}else for(;h>l;l++)if((t||l in c)&&c[l]===i)return t||l||0;return!t&&-1}};t.exports={includes:r(!0),indexOf:r(!1)}},function(t,e,i){var n=i(33),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,i){var n=i(35),o=i(19),s=i(23),r=i(32),a=i(58),c=[].push,h=function(t){var e=1==t,i=2==t,h=3==t,l=4==t,u=6==t,d=7==t,f=5==t||u;return function(v,m,p,g){for(var y,I,w=s(v),b=o(w),x=n(m,p,3),S=r(b.length),E=0,O=g||a,T=e?O(v,S):i||d?O(v,0):void 0;S>E;E++)if((f||E in b)&&(I=x(y=b[E],E,w),t))if(e)T[E]=I;else if(I)switch(t){case 3:return!0;case 5:return y;case 6:return E;case 2:c.call(T,y)}else switch(t){case 4:return!1;case 7:c.call(T,y)}return u?-1:h||l?l:T}};t.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterOut:h(7)}},function(t,e,i){var n=i(57);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,i){var n=i(37),o=i(1);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(t,e,i){var n,o,s=i(0),r=i(60),a=s.process,c=a&&a.versions,h=c&&c.v8;h?o=(n=h.split("."))[0]<4?1:n[0]+n[1]:r&&(!(n=r.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=r.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.TO_START_POINTER_ZOOM={SCROLL_TO_START:"scroll",CLICK_TO_START:"click"},e.MOUSE_LEAVE_ACTIONS={RESET_ZOOM:"resetZoom"},e.ORIENTATIONS={X:"x-axis",Y:"y-axis",CENTER:"center"},e.AUTOPLAY_BEHAVIOR={SPIN_X:"spin-x",SPIN_Y:"spin-y",SPIN_XY:"spin-xy",SPIN_YX:"spin-yx"},e.ORGINAL_SIZE_REGEX=/width=\d+|w=\d+|h=\d+|&width=\d+|&w=\d+|&h=\d+|func=\w+|\?$/g,e.AND_SYMBOL_REGEX=/\?&/g},function(t,e,i){"use strict";i(40),i(63),i(67);var n,o=i(75),s=(n=o)&&n.__esModule?n:{default:n};function r(){var t=[],e=document.querySelectorAll(".cloudimage-360:not(.initialized)");[].slice.call(e).forEach((function(e){t.push(new s.default(e))})),window.CI360._viewers=t}function a(){return!(window.CI360._viewers&&window.CI360._viewers.length>0)}window.CI360=window.CI360||{},window.CI360.init=r,window.CI360.destroy=function(){a()||(window.CI360._viewers.forEach((function(t){t.destroy()})),window.CI360._viewers=[])},window.CI360.getActiveIndexByID=function(t){if(!a()){var e=window.CI360._viewers.filter((function(e){return e.id===t}))[0];return e&&e.activeImage-1}},window.CI360.notInitOnLoad||r()},function(t,e,i){var n=i(41);t.exports=n},function(t,e,i){i(42);var n=i(16);t.exports=n("Array","forEach")},function(t,e,i){"use strict";var n=i(8),o=i(56);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,s=o&&!n.call({1:2},1);e.f=s?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,i){var n=i(0),o=i(5),s=i(2),r=i(10),a=i(26),c=i(46),h=c.get,l=c.enforce,u=String(String).split("String");(t.exports=function(t,e,i,a){var c,h=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||s(i,"name")||o(i,"name",e),(c=l(i)).source||(c.source=u.join("string"==typeof e?e:""))),t!==n?(h?!f&&t[e]&&(d=!0):delete t[e],d?t[e]=i:o(t,e,i)):d?t[e]=i:r(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&h(this).source||a(this)}))},function(t,e,i){var n,o,s,r=i(47),a=i(0),c=i(4),h=i(5),l=i(2),u=i(11),d=i(27),f=i(12),v=a.WeakMap;if(r||u.state){var m=u.state||(u.state=new v),p=m.get,g=m.has,y=m.set;n=function(t,e){if(g.call(m,t))throw new TypeError("Object already initialized");return e.facade=t,y.call(m,t,e),e},o=function(t){return p.call(m,t)||{}},s=function(t){return g.call(m,t)}}else{var I=d("state");f[I]=!0,n=function(t,e){if(l(t,I))throw new TypeError("Object already initialized");return e.facade=t,h(t,I,e),e},o=function(t){return l(t,I)?t[I]:{}},s=function(t){return l(t,I)}}t.exports={set:n,get:o,has:s,enforce:function(t){return s(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!c(e)||(i=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}}},function(t,e,i){var n=i(0),o=i(26),s=n.WeakMap;t.exports="function"==typeof s&&/native code/.test(o(s))},function(t,e){t.exports=!1},function(t,e,i){var n=i(2),o=i(50),s=i(17),r=i(6);t.exports=function(t,e){for(var i=o(e),a=r.f,c=s.f,h=0;h1?arguments[1]:void 0)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,i){var n=i(4),o=i(59),s=i(15)("species");t.exports=function(t,e){var i;return o(t)&&("function"!=typeof(i=t.constructor)||i!==Array&&!o(i.prototype)?n(i)&&null===(i=i[s])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===e?0:e)}},function(t,e,i){var n=i(20);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){var n=i(13);t.exports=n("navigator","userAgent")||""},function(t,e,i){var n=i(36);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,i){"use strict";var n=i(1);t.exports=function(t,e){var i=[][t];return!!i&&n((function(){i.call(null,e||function(){throw 1},1)}))}},function(t,e,i){var n=i(64);t.exports=n},function(t,e,i){i(65);var n=i(16);t.exports=n("Array","filter")},function(t,e,i){"use strict";var n=i(8),o=i(34).filter;n({target:"Array",proto:!0,forced:!i(66)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,i){var n=i(1),o=i(15),s=i(37),r=o("species");t.exports=function(t){return s>=51||!n((function(){var e=[];return(e.constructor={})[r]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,i){var n=i(68);t.exports=n},function(t,e,i){i(69);var n=i(16);t.exports=n("Array","includes")},function(t,e,i){"use strict";var n=i(8),o=i(31).includes,s=i(70);n({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},function(t,e,i){var n=i(15),o=i(71),s=i(6),r=n("unscopables"),a=Array.prototype;null==a[r]&&s.f(a,r,{configurable:!0,value:o(null)}),t.exports=function(t){a[r][t]=!0}},function(t,e,i){var n,o=i(7),s=i(72),r=i(14),a=i(12),c=i(74),h=i(25),l=i(27),u=l("IE_PROTO"),d=function(){},f=function(t){return"