cloudinary-video-player 2.0.2-edge.2 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/chapters.js +6 -509
  2. package/dist/chapters.light.js +6 -509
  3. package/dist/chapters.light.min.js +1 -1
  4. package/dist/chapters.min.js +1 -1
  5. package/dist/cld-video-player.css +1161 -0
  6. package/dist/cld-video-player.js +120 -84
  7. package/dist/cld-video-player.light.css +1161 -0
  8. package/dist/cld-video-player.light.js +120 -84
  9. package/dist/cld-video-player.light.min.css +1 -1
  10. package/dist/cld-video-player.light.min.js +1 -1
  11. package/dist/cld-video-player.min.css +1 -1
  12. package/dist/cld-video-player.min.js +1 -1
  13. package/dist/ima.js +6 -611
  14. package/dist/ima.light.js +6 -620
  15. package/dist/ima.light.min.js +1 -1
  16. package/dist/ima.min.js +1 -1
  17. package/dist/interaction-areas.js +6 -516
  18. package/dist/interaction-areas.light.js +6 -516
  19. package/dist/interaction-areas.light.min.js +1 -1
  20. package/dist/interaction-areas.min.js +1 -1
  21. package/dist/node_modules_lodash_throttle_js.js +449 -0
  22. package/dist/node_modules_lodash_throttle_js.light.js +449 -0
  23. package/dist/playlist.js +130 -549
  24. package/dist/playlist.light.js +130 -549
  25. package/dist/playlist.light.min.js +1 -1
  26. package/dist/playlist.min.js +1 -1
  27. package/dist/recommendations-overlay.js +6 -617
  28. package/dist/recommendations-overlay.light.js +6 -617
  29. package/dist/recommendations-overlay.light.min.js +1 -1
  30. package/dist/recommendations-overlay.min.js +1 -1
  31. package/dist/shoppable.js +7 -742
  32. package/dist/shoppable.light.js +7 -742
  33. package/dist/shoppable.light.min.js +1 -1
  34. package/dist/shoppable.min.js +1 -1
  35. package/lib/all.js +1 -1
  36. package/lib/chapters.js +1 -1
  37. package/lib/cld-video-player.js +1 -1
  38. package/lib/cld-video-player.min.css +10 -1
  39. package/lib/ima.js +1 -1
  40. package/lib/interaction-areas.js +1 -1
  41. package/lib/playlist.js +1 -1
  42. package/lib/recommendations-overlay.js +1 -1
  43. package/lib/shoppable.js +1 -1
  44. package/lib/videoPlayer.js +1 -1
  45. package/lib/videoPlayerWithProfile.js +1 -1
  46. package/package.json +1 -2
  47. package/dist/473.light.min.js +0 -2
  48. package/dist/473.min.js +0 -2
  49. package/dist/node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_sourceMaps_j-64c8cd.js +0 -530
  50. package/dist/node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_sourceMaps_j-64c8cd.light.js +0 -530
  51. package/lib/473.js +0 -2
  52. package/lib/all.min.css +0 -12
  53. package/lib/videoPlayer.min.css +0 -12
  54. package/lib/videoPlayerWithProfile.min.css +0 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudinary-video-player",
3
- "version": "2.0.2-edge.2",
3
+ "version": "2.0.2",
4
4
  "description": "Cloudinary Video Player",
5
5
  "author": "Cloudinary",
6
6
  "license": "MIT",
@@ -120,7 +120,6 @@
120
120
  "sass-loader": "^14.1.1",
121
121
  "semver": "^7.6.0",
122
122
  "shx": "^0.3.4",
123
- "style-loader": "^4.0.0",
124
123
  "terser-webpack-plugin": "^5.3.10",
125
124
  "url-loader": "^4.1.1",
126
125
  "webpack": "^5.91.0",
@@ -1,2 +0,0 @@
1
- (self.cloudinaryVideoPlayerChunkLoading=self.cloudinaryVideoPlayerChunkLoading||[]).push([[473],{278:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var u=this[c][0];null!=u&&(a[u]=!0)}for(var s=0;s<t.length;s++){var f=[].concat(t[s]);r&&a[f[0]]||(void 0!==i&&(void 0===f[5]||(f[1]="@layer".concat(f[5].length>0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=i),n&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=n):f[2]=n),o&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=o):f[4]="".concat(o)),e.push(f))}},e}},4942:t=>{"use strict";t.exports=function(t){var e=t[1],n=t[3];if(!n)return e;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[e].concat([i]).join("\n")}return[e].join("\n")}},8812:(t,e,n)=>{var r=n(2140),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},2140:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},6177:(t,e,n)=>{var r=n(8953),o=n(3664),i=n(5378),a=Math.max,c=Math.min;t.exports=function(t,e,n){var u,s,f,p,l,d,v=0,m=!1,h=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var n=u,r=s;return u=s=void 0,v=e,p=t.apply(r,n)}function x(t){var n=t-d;return void 0===d||n>=e||n<0||h&&t-v>=f}function b(){var t=o();if(x(t))return T(t);l=setTimeout(b,function(t){var n=e-(t-d);return h?c(n,f-(t-v)):n}(t))}function T(t){return l=void 0,y&&u?g(t):(u=s=void 0,p)}function w(){var t=o(),n=x(t);if(u=arguments,s=this,d=t,n){if(void 0===l)return function(t){return v=t,l=setTimeout(b,e),m?g(t):p}(d);if(h)return clearTimeout(l),l=setTimeout(b,e),g(d)}return void 0===l&&(l=setTimeout(b,e)),p}return e=i(e)||0,r(n)&&(m=!!n.leading,f=(h="maxWait"in n)?a(i(n.maxWait)||0,e):f,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==l&&clearTimeout(l),v=0,u=d=s=l=void 0},w.flush=function(){return void 0===l?p:T(o())},w}},3664:(t,e,n)=>{var r=n(1433);t.exports=function(){return r.Date.now()}},2858:(t,e,n)=>{var r=n(6177),o=n(8953);t.exports=function(t,e,n){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:i,maxWait:e,trailing:a})}},5378:(t,e,n)=>{var r=n(8812),o=n(8953),i=n(5414),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||u.test(t)?s(t.slice(2),n?2:8):a.test(t)?NaN:+t}},5292:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var i={},a=[],c=0;c<t.length;c++){var u=t[c],s=r.base?u[0]+r.base:u[0],f=i[s]||0,p="".concat(s," ").concat(f);i[s]=f+1;var l=n(p),d={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==l)e[l].references++,e[l].updater(d);else{var v=o(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:v,references:1})}a.push(p)}return a}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var i=r(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<i.length;a++){var c=n(i[a]);e[c].references--}for(var u=r(t,o),s=0;s<i.length;s++){var f=n(i[s]);0===e[f].references&&(e[f].updater(),e.splice(f,1))}i=u}}},9383:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9088:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},6884:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},9893:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},7997:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}}}]);
2
- //# sourceMappingURL=473.light.min.js.map
package/dist/473.min.js DELETED
@@ -1,2 +0,0 @@
1
- (self.cloudinaryVideoPlayerChunkLoading=self.cloudinaryVideoPlayerChunkLoading||[]).push([[473],{278:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var u=this[c][0];null!=u&&(a[u]=!0)}for(var s=0;s<t.length;s++){var f=[].concat(t[s]);r&&a[f[0]]||(void 0!==i&&(void 0===f[5]||(f[1]="@layer".concat(f[5].length>0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=i),n&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=n):f[2]=n),o&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=o):f[4]="".concat(o)),e.push(f))}},e}},4942:t=>{"use strict";t.exports=function(t){var e=t[1],n=t[3];if(!n)return e;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[e].concat([i]).join("\n")}return[e].join("\n")}},8812:(t,e,n)=>{var r=n(2140),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},2140:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},6177:(t,e,n)=>{var r=n(8953),o=n(3664),i=n(5378),a=Math.max,c=Math.min;t.exports=function(t,e,n){var u,s,f,p,l,d,v=0,m=!1,h=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var n=u,r=s;return u=s=void 0,v=e,p=t.apply(r,n)}function x(t){var n=t-d;return void 0===d||n>=e||n<0||h&&t-v>=f}function b(){var t=o();if(x(t))return T(t);l=setTimeout(b,function(t){var n=e-(t-d);return h?c(n,f-(t-v)):n}(t))}function T(t){return l=void 0,y&&u?g(t):(u=s=void 0,p)}function w(){var t=o(),n=x(t);if(u=arguments,s=this,d=t,n){if(void 0===l)return function(t){return v=t,l=setTimeout(b,e),m?g(t):p}(d);if(h)return clearTimeout(l),l=setTimeout(b,e),g(d)}return void 0===l&&(l=setTimeout(b,e)),p}return e=i(e)||0,r(n)&&(m=!!n.leading,f=(h="maxWait"in n)?a(i(n.maxWait)||0,e):f,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==l&&clearTimeout(l),v=0,u=d=s=l=void 0},w.flush=function(){return void 0===l?p:T(o())},w}},3664:(t,e,n)=>{var r=n(1433);t.exports=function(){return r.Date.now()}},2858:(t,e,n)=>{var r=n(6177),o=n(8953);t.exports=function(t,e,n){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:i,maxWait:e,trailing:a})}},5378:(t,e,n)=>{var r=n(8812),o=n(8953),i=n(5414),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||u.test(t)?s(t.slice(2),n?2:8):a.test(t)?NaN:+t}},5292:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var i={},a=[],c=0;c<t.length;c++){var u=t[c],s=r.base?u[0]+r.base:u[0],f=i[s]||0,p="".concat(s," ").concat(f);i[s]=f+1;var l=n(p),d={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==l)e[l].references++,e[l].updater(d);else{var v=o(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:v,references:1})}a.push(p)}return a}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var i=r(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<i.length;a++){var c=n(i[a]);e[c].references--}for(var u=r(t,o),s=0;s<i.length;s++){var f=n(i[s]);0===e[f].references&&(e[f].updater(),e.splice(f,1))}i=u}}},9383:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9088:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},6884:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},9893:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},7997:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}}}]);
2
- //# sourceMappingURL=473.min.js.map
@@ -1,530 +0,0 @@
1
- (self["cloudinaryVideoPlayerChunkLoading"] = self["cloudinaryVideoPlayerChunkLoading"] || []).push([["node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_sourceMaps_j-64c8cd"],{
2
-
3
- /***/ "../node_modules/css-loader/dist/runtime/api.js":
4
- /*!******************************************************!*\
5
- !*** ../node_modules/css-loader/dist/runtime/api.js ***!
6
- \******************************************************/
7
- /***/ ((module) => {
8
-
9
- "use strict";
10
-
11
-
12
- /*
13
- MIT License http://www.opensource.org/licenses/mit-license.php
14
- Author Tobias Koppers @sokra
15
- */
16
- module.exports = function (cssWithMappingToString) {
17
- var list = [];
18
-
19
- // return the list of modules as css string
20
- list.toString = function toString() {
21
- return this.map(function (item) {
22
- var content = "";
23
- var needLayer = typeof item[5] !== "undefined";
24
- if (item[4]) {
25
- content += "@supports (".concat(item[4], ") {");
26
- }
27
- if (item[2]) {
28
- content += "@media ".concat(item[2], " {");
29
- }
30
- if (needLayer) {
31
- content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
32
- }
33
- content += cssWithMappingToString(item);
34
- if (needLayer) {
35
- content += "}";
36
- }
37
- if (item[2]) {
38
- content += "}";
39
- }
40
- if (item[4]) {
41
- content += "}";
42
- }
43
- return content;
44
- }).join("");
45
- };
46
-
47
- // import a list of modules into the list
48
- list.i = function i(modules, media, dedupe, supports, layer) {
49
- if (typeof modules === "string") {
50
- modules = [[null, modules, undefined]];
51
- }
52
- var alreadyImportedModules = {};
53
- if (dedupe) {
54
- for (var k = 0; k < this.length; k++) {
55
- var id = this[k][0];
56
- if (id != null) {
57
- alreadyImportedModules[id] = true;
58
- }
59
- }
60
- }
61
- for (var _k = 0; _k < modules.length; _k++) {
62
- var item = [].concat(modules[_k]);
63
- if (dedupe && alreadyImportedModules[item[0]]) {
64
- continue;
65
- }
66
- if (typeof layer !== "undefined") {
67
- if (typeof item[5] === "undefined") {
68
- item[5] = layer;
69
- } else {
70
- item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
71
- item[5] = layer;
72
- }
73
- }
74
- if (media) {
75
- if (!item[2]) {
76
- item[2] = media;
77
- } else {
78
- item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
79
- item[2] = media;
80
- }
81
- }
82
- if (supports) {
83
- if (!item[4]) {
84
- item[4] = "".concat(supports);
85
- } else {
86
- item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
87
- item[4] = supports;
88
- }
89
- }
90
- list.push(item);
91
- }
92
- };
93
- return list;
94
- };
95
-
96
- /***/ }),
97
-
98
- /***/ "../node_modules/css-loader/dist/runtime/sourceMaps.js":
99
- /*!*************************************************************!*\
100
- !*** ../node_modules/css-loader/dist/runtime/sourceMaps.js ***!
101
- \*************************************************************/
102
- /***/ ((module) => {
103
-
104
- "use strict";
105
-
106
-
107
- module.exports = function (item) {
108
- var content = item[1];
109
- var cssMapping = item[3];
110
- if (!cssMapping) {
111
- return content;
112
- }
113
- if (typeof btoa === "function") {
114
- var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
115
- var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
116
- var sourceMapping = "/*# ".concat(data, " */");
117
- return [content].concat([sourceMapping]).join("\n");
118
- }
119
- return [content].join("\n");
120
- };
121
-
122
- /***/ }),
123
-
124
- /***/ "../node_modules/lodash/_baseTrim.js":
125
- /*!*******************************************!*\
126
- !*** ../node_modules/lodash/_baseTrim.js ***!
127
- \*******************************************/
128
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
129
-
130
- var trimmedEndIndex = __webpack_require__(/*! ./_trimmedEndIndex */ "../node_modules/lodash/_trimmedEndIndex.js");
131
-
132
- /** Used to match leading whitespace. */
133
- var reTrimStart = /^\s+/;
134
-
135
- /**
136
- * The base implementation of `_.trim`.
137
- *
138
- * @private
139
- * @param {string} string The string to trim.
140
- * @returns {string} Returns the trimmed string.
141
- */
142
- function baseTrim(string) {
143
- return string
144
- ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
145
- : string;
146
- }
147
-
148
- module.exports = baseTrim;
149
-
150
-
151
- /***/ }),
152
-
153
- /***/ "../node_modules/lodash/_trimmedEndIndex.js":
154
- /*!**************************************************!*\
155
- !*** ../node_modules/lodash/_trimmedEndIndex.js ***!
156
- \**************************************************/
157
- /***/ ((module) => {
158
-
159
- /** Used to match a single whitespace character. */
160
- var reWhitespace = /\s/;
161
-
162
- /**
163
- * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
164
- * character of `string`.
165
- *
166
- * @private
167
- * @param {string} string The string to inspect.
168
- * @returns {number} Returns the index of the last non-whitespace character.
169
- */
170
- function trimmedEndIndex(string) {
171
- var index = string.length;
172
-
173
- while (index-- && reWhitespace.test(string.charAt(index))) {}
174
- return index;
175
- }
176
-
177
- module.exports = trimmedEndIndex;
178
-
179
-
180
- /***/ }),
181
-
182
- /***/ "../node_modules/lodash/toNumber.js":
183
- /*!******************************************!*\
184
- !*** ../node_modules/lodash/toNumber.js ***!
185
- \******************************************/
186
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
187
-
188
- var baseTrim = __webpack_require__(/*! ./_baseTrim */ "../node_modules/lodash/_baseTrim.js"),
189
- isObject = __webpack_require__(/*! ./isObject */ "../node_modules/lodash/isObject.js"),
190
- isSymbol = __webpack_require__(/*! ./isSymbol */ "../node_modules/lodash/isSymbol.js");
191
-
192
- /** Used as references for various `Number` constants. */
193
- var NAN = 0 / 0;
194
-
195
- /** Used to detect bad signed hexadecimal string values. */
196
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
197
-
198
- /** Used to detect binary string values. */
199
- var reIsBinary = /^0b[01]+$/i;
200
-
201
- /** Used to detect octal string values. */
202
- var reIsOctal = /^0o[0-7]+$/i;
203
-
204
- /** Built-in method references without a dependency on `root`. */
205
- var freeParseInt = parseInt;
206
-
207
- /**
208
- * Converts `value` to a number.
209
- *
210
- * @static
211
- * @memberOf _
212
- * @since 4.0.0
213
- * @category Lang
214
- * @param {*} value The value to process.
215
- * @returns {number} Returns the number.
216
- * @example
217
- *
218
- * _.toNumber(3.2);
219
- * // => 3.2
220
- *
221
- * _.toNumber(Number.MIN_VALUE);
222
- * // => 5e-324
223
- *
224
- * _.toNumber(Infinity);
225
- * // => Infinity
226
- *
227
- * _.toNumber('3.2');
228
- * // => 3.2
229
- */
230
- function toNumber(value) {
231
- if (typeof value == 'number') {
232
- return value;
233
- }
234
- if (isSymbol(value)) {
235
- return NAN;
236
- }
237
- if (isObject(value)) {
238
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
239
- value = isObject(other) ? (other + '') : other;
240
- }
241
- if (typeof value != 'string') {
242
- return value === 0 ? value : +value;
243
- }
244
- value = baseTrim(value);
245
- var isBinary = reIsBinary.test(value);
246
- return (isBinary || reIsOctal.test(value))
247
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
248
- : (reIsBadHex.test(value) ? NAN : +value);
249
- }
250
-
251
- module.exports = toNumber;
252
-
253
-
254
- /***/ }),
255
-
256
- /***/ "../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
257
- /*!*****************************************************************************!*\
258
- !*** ../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
259
- \*****************************************************************************/
260
- /***/ ((module) => {
261
-
262
- "use strict";
263
-
264
-
265
- var stylesInDOM = [];
266
- function getIndexByIdentifier(identifier) {
267
- var result = -1;
268
- for (var i = 0; i < stylesInDOM.length; i++) {
269
- if (stylesInDOM[i].identifier === identifier) {
270
- result = i;
271
- break;
272
- }
273
- }
274
- return result;
275
- }
276
- function modulesToDom(list, options) {
277
- var idCountMap = {};
278
- var identifiers = [];
279
- for (var i = 0; i < list.length; i++) {
280
- var item = list[i];
281
- var id = options.base ? item[0] + options.base : item[0];
282
- var count = idCountMap[id] || 0;
283
- var identifier = "".concat(id, " ").concat(count);
284
- idCountMap[id] = count + 1;
285
- var indexByIdentifier = getIndexByIdentifier(identifier);
286
- var obj = {
287
- css: item[1],
288
- media: item[2],
289
- sourceMap: item[3],
290
- supports: item[4],
291
- layer: item[5]
292
- };
293
- if (indexByIdentifier !== -1) {
294
- stylesInDOM[indexByIdentifier].references++;
295
- stylesInDOM[indexByIdentifier].updater(obj);
296
- } else {
297
- var updater = addElementStyle(obj, options);
298
- options.byIndex = i;
299
- stylesInDOM.splice(i, 0, {
300
- identifier: identifier,
301
- updater: updater,
302
- references: 1
303
- });
304
- }
305
- identifiers.push(identifier);
306
- }
307
- return identifiers;
308
- }
309
- function addElementStyle(obj, options) {
310
- var api = options.domAPI(options);
311
- api.update(obj);
312
- var updater = function updater(newObj) {
313
- if (newObj) {
314
- if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
315
- return;
316
- }
317
- api.update(obj = newObj);
318
- } else {
319
- api.remove();
320
- }
321
- };
322
- return updater;
323
- }
324
- module.exports = function (list, options) {
325
- options = options || {};
326
- list = list || [];
327
- var lastIdentifiers = modulesToDom(list, options);
328
- return function update(newList) {
329
- newList = newList || [];
330
- for (var i = 0; i < lastIdentifiers.length; i++) {
331
- var identifier = lastIdentifiers[i];
332
- var index = getIndexByIdentifier(identifier);
333
- stylesInDOM[index].references--;
334
- }
335
- var newLastIdentifiers = modulesToDom(newList, options);
336
- for (var _i = 0; _i < lastIdentifiers.length; _i++) {
337
- var _identifier = lastIdentifiers[_i];
338
- var _index = getIndexByIdentifier(_identifier);
339
- if (stylesInDOM[_index].references === 0) {
340
- stylesInDOM[_index].updater();
341
- stylesInDOM.splice(_index, 1);
342
- }
343
- }
344
- lastIdentifiers = newLastIdentifiers;
345
- };
346
- };
347
-
348
- /***/ }),
349
-
350
- /***/ "../node_modules/style-loader/dist/runtime/insertBySelector.js":
351
- /*!*********************************************************************!*\
352
- !*** ../node_modules/style-loader/dist/runtime/insertBySelector.js ***!
353
- \*********************************************************************/
354
- /***/ ((module) => {
355
-
356
- "use strict";
357
-
358
-
359
- var memo = {};
360
-
361
- /* istanbul ignore next */
362
- function getTarget(target) {
363
- if (typeof memo[target] === "undefined") {
364
- var styleTarget = document.querySelector(target);
365
-
366
- // Special case to return head of iframe instead of iframe itself
367
- if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
368
- try {
369
- // This will throw an exception if access to iframe is blocked
370
- // due to cross-origin restrictions
371
- styleTarget = styleTarget.contentDocument.head;
372
- } catch (e) {
373
- // istanbul ignore next
374
- styleTarget = null;
375
- }
376
- }
377
- memo[target] = styleTarget;
378
- }
379
- return memo[target];
380
- }
381
-
382
- /* istanbul ignore next */
383
- function insertBySelector(insert, style) {
384
- var target = getTarget(insert);
385
- if (!target) {
386
- throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
387
- }
388
- target.appendChild(style);
389
- }
390
- module.exports = insertBySelector;
391
-
392
- /***/ }),
393
-
394
- /***/ "../node_modules/style-loader/dist/runtime/insertStyleElement.js":
395
- /*!***********************************************************************!*\
396
- !*** ../node_modules/style-loader/dist/runtime/insertStyleElement.js ***!
397
- \***********************************************************************/
398
- /***/ ((module) => {
399
-
400
- "use strict";
401
-
402
-
403
- /* istanbul ignore next */
404
- function insertStyleElement(options) {
405
- var element = document.createElement("style");
406
- options.setAttributes(element, options.attributes);
407
- options.insert(element, options.options);
408
- return element;
409
- }
410
- module.exports = insertStyleElement;
411
-
412
- /***/ }),
413
-
414
- /***/ "../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js":
415
- /*!***********************************************************************************!*\
416
- !*** ../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***!
417
- \***********************************************************************************/
418
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
419
-
420
- "use strict";
421
-
422
-
423
- /* istanbul ignore next */
424
- function setAttributesWithoutAttributes(styleElement) {
425
- var nonce = true ? __webpack_require__.nc : 0;
426
- if (nonce) {
427
- styleElement.setAttribute("nonce", nonce);
428
- }
429
- }
430
- module.exports = setAttributesWithoutAttributes;
431
-
432
- /***/ }),
433
-
434
- /***/ "../node_modules/style-loader/dist/runtime/styleDomAPI.js":
435
- /*!****************************************************************!*\
436
- !*** ../node_modules/style-loader/dist/runtime/styleDomAPI.js ***!
437
- \****************************************************************/
438
- /***/ ((module) => {
439
-
440
- "use strict";
441
-
442
-
443
- /* istanbul ignore next */
444
- function apply(styleElement, options, obj) {
445
- var css = "";
446
- if (obj.supports) {
447
- css += "@supports (".concat(obj.supports, ") {");
448
- }
449
- if (obj.media) {
450
- css += "@media ".concat(obj.media, " {");
451
- }
452
- var needLayer = typeof obj.layer !== "undefined";
453
- if (needLayer) {
454
- css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
455
- }
456
- css += obj.css;
457
- if (needLayer) {
458
- css += "}";
459
- }
460
- if (obj.media) {
461
- css += "}";
462
- }
463
- if (obj.supports) {
464
- css += "}";
465
- }
466
- var sourceMap = obj.sourceMap;
467
- if (sourceMap && typeof btoa !== "undefined") {
468
- css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
469
- }
470
-
471
- // For old IE
472
- /* istanbul ignore if */
473
- options.styleTagTransform(css, styleElement, options.options);
474
- }
475
- function removeStyleElement(styleElement) {
476
- // istanbul ignore if
477
- if (styleElement.parentNode === null) {
478
- return false;
479
- }
480
- styleElement.parentNode.removeChild(styleElement);
481
- }
482
-
483
- /* istanbul ignore next */
484
- function domAPI(options) {
485
- if (typeof document === "undefined") {
486
- return {
487
- update: function update() {},
488
- remove: function remove() {}
489
- };
490
- }
491
- var styleElement = options.insertStyleElement(options);
492
- return {
493
- update: function update(obj) {
494
- apply(styleElement, options, obj);
495
- },
496
- remove: function remove() {
497
- removeStyleElement(styleElement);
498
- }
499
- };
500
- }
501
- module.exports = domAPI;
502
-
503
- /***/ }),
504
-
505
- /***/ "../node_modules/style-loader/dist/runtime/styleTagTransform.js":
506
- /*!**********************************************************************!*\
507
- !*** ../node_modules/style-loader/dist/runtime/styleTagTransform.js ***!
508
- \**********************************************************************/
509
- /***/ ((module) => {
510
-
511
- "use strict";
512
-
513
-
514
- /* istanbul ignore next */
515
- function styleTagTransform(css, styleElement) {
516
- if (styleElement.styleSheet) {
517
- styleElement.styleSheet.cssText = css;
518
- } else {
519
- while (styleElement.firstChild) {
520
- styleElement.removeChild(styleElement.firstChild);
521
- }
522
- styleElement.appendChild(document.createTextNode(css));
523
- }
524
- }
525
- module.exports = styleTagTransform;
526
-
527
- /***/ })
528
-
529
- }]);
530
- //# sourceMappingURL=node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_sourceMaps_j-64c8cd.js.map