@car-cutter/next-webplayer 3.1.1 → 3.1.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.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use client";"use strict";var P=Object.create;var C=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var r=Object.getPrototypeOf,t=Object.prototype.hasOwnProperty;var S=(_,T,N,I)=>{if(T&&typeof T=="object"||typeof T=="function")for(let O of V(T))!t.call(_,O)&&O!==N&&C(_,O,{get:()=>T[O],enumerable:!(I=L(T,O))||I.enumerable});return _};var e=(_,T,N)=>(N=_!=null?P(r(_)):{},S(T||!_||!_.__esModule?C(N,"default",{value:_,enumerable:!0}):N,_));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("next/dynamic"),E=require("./utils-BpzJysIS.cjs"),o=A(()=>import("@car-cutter/react-webplayer").then(_=>_.WebPlayer),{ssr:!1}),s=A(()=>import("@car-cutter/react-webplayer").then(_=>_.WebPlayerCustomMedia),{ssr:!1}),D=A(()=>import("@car-cutter/react-webplayer").then(_=>_.WebPlayerIcon),{ssr:!1});exports.ANALYTICS_EVENT_IDENTIFY=E.ANALYTICS_EVENT_IDENTIFY;exports.ANALYTICS_EVENT_PAGE=E.ANALYTICS_EVENT_PAGE;exports.ANALYTICS_EVENT_TRACK=E.ANALYTICS_EVENT_TRACK;exports.DEFAULT_EVENT_PREFIX=E.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=E.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=E.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=E.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=E.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=E.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=E.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=E.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=E.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=E.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=E.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=E.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG;exports.WEB_PLAYER_ICON_WC_TAG=E.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=E.WEB_PLAYER_WC_TAG;exports.generateCompositionUrl=E.generateCompositionUrl;exports.WebPlayer=o;exports.WebPlayerCustomMedia=s;exports.WebPlayerIcon=D;
1
+ "use client";"use strict";var C=Object.create;var L=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var V=Object.getPrototypeOf,r=Object.prototype.hasOwnProperty;var t=(_,T,N,I)=>{if(T&&typeof T=="object"||typeof T=="function")for(let O of S(T))!r.call(_,O)&&O!==N&&L(_,O,{get:()=>T[O],enumerable:!(I=P(T,O))||I.enumerable});return _};var A=(_,T,N)=>(N=_!=null?C(V(_)):{},t(T||!_||!_.__esModule?L(N,"default",{value:_,enumerable:!0}):N,_));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("next/dynamic"),E=require("./utils-Dz2dQmYW.cjs"),R=e(()=>import("@car-cutter/react-webplayer").then(_=>_.WebPlayer),{ssr:!1}),o=e(()=>import("@car-cutter/react-webplayer").then(_=>_.WebPlayerCustomMedia),{ssr:!1}),D=e(()=>import("@car-cutter/react-webplayer").then(_=>_.WebPlayerIcon),{ssr:!1});exports.ANALYTICS_EVENT_DISPLAY=E.ANALYTICS_EVENT_DISPLAY;exports.ANALYTICS_EVENT_ERROR=E.ANALYTICS_EVENT_ERROR;exports.ANALYTICS_EVENT_INTERACTION=E.ANALYTICS_EVENT_INTERACTION;exports.ANALYTICS_EVENT_LOAD=E.ANALYTICS_EVENT_LOAD;exports.DEFAULT_EVENT_PREFIX=E.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=E.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=E.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=E.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=E.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=E.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=E.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=E.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=E.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=E.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=E.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=E.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG;exports.WEB_PLAYER_ICON_WC_TAG=E.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=E.WEB_PLAYER_WC_TAG;exports.generateCompositionUrl=E.generateCompositionUrl;exports.WebPlayer=R;exports.WebPlayerCustomMedia=o;exports.WebPlayerIcon=D;
package/dist/index.d.ts CHANGED
@@ -4,11 +4,13 @@ import { WebPlayerCustomMediaProps } from '@car-cutter/react-webplayer';
4
4
  import { WebPlayerIconProps } from '@car-cutter/react-webplayer';
5
5
  import { WebPlayerProps } from '@car-cutter/react-webplayer';
6
6
 
7
- export declare const ANALYTICS_EVENT_IDENTIFY = "analytics-identify";
7
+ export declare const ANALYTICS_EVENT_DISPLAY = "analytics-display";
8
8
 
9
- export declare const ANALYTICS_EVENT_PAGE = "analytics-page";
9
+ export declare const ANALYTICS_EVENT_ERROR = "analytics-error";
10
10
 
11
- export declare const ANALYTICS_EVENT_TRACK = "analytics-track";
11
+ export declare const ANALYTICS_EVENT_INTERACTION = "analytics-interaction";
12
+
13
+ export declare const ANALYTICS_EVENT_LOAD = "analytics-load";
12
14
 
13
15
  declare type AspectRatio = `${number}:${number}`;
14
16
 
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import _ from "next/dynamic";
3
- import { A, a as r, b as o, D as I, E as t, c as C, d as P, e as L, f as V, g as n, h as W, i as l, j as D, k as S, W as i, l as m, m as M, n as R } from "./utils-dyeaNVPi.js";
4
- const T = _(
3
+ import { A, a as I, b as o, c as r, D as C, E as L, d as t, e as P, f as V, g as S, h as n, i as D, j as R, k as W, l, W as i, m, n as M, o as Y } from "./utils-WyCmTZH1.js";
4
+ const s = _(
5
5
  () => import("@car-cutter/react-webplayer").then((E) => E.WebPlayer),
6
6
  { ssr: !1 }
7
7
  ), a = _(
@@ -12,25 +12,26 @@ const T = _(
12
12
  { ssr: !1 }
13
13
  );
14
14
  export {
15
- A as ANALYTICS_EVENT_IDENTIFY,
16
- r as ANALYTICS_EVENT_PAGE,
17
- o as ANALYTICS_EVENT_TRACK,
18
- I as DEFAULT_EVENT_PREFIX,
19
- t as EVENT_COMPOSITION_LOADED,
20
- C as EVENT_COMPOSITION_LOADING,
15
+ A as ANALYTICS_EVENT_DISPLAY,
16
+ I as ANALYTICS_EVENT_ERROR,
17
+ o as ANALYTICS_EVENT_INTERACTION,
18
+ r as ANALYTICS_EVENT_LOAD,
19
+ C as DEFAULT_EVENT_PREFIX,
20
+ L as EVENT_COMPOSITION_LOADED,
21
+ t as EVENT_COMPOSITION_LOADING,
21
22
  P as EVENT_COMPOSITION_LOAD_ERROR,
22
- L as EVENT_EXTEND_MODE_OFF,
23
- V as EVENT_EXTEND_MODE_ON,
23
+ V as EVENT_EXTEND_MODE_OFF,
24
+ S as EVENT_EXTEND_MODE_ON,
24
25
  n as EVENT_GALLERY_CLOSE,
25
- W as EVENT_GALLERY_OPEN,
26
- l as EVENT_HOTSPOTS_OFF,
27
- D as EVENT_HOTSPOTS_ON,
28
- S as EVENT_ITEM_CHANGE,
26
+ D as EVENT_GALLERY_OPEN,
27
+ R as EVENT_HOTSPOTS_OFF,
28
+ W as EVENT_HOTSPOTS_ON,
29
+ l as EVENT_ITEM_CHANGE,
29
30
  i as WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,
30
31
  m as WEB_PLAYER_ICON_WC_TAG,
31
32
  M as WEB_PLAYER_WC_TAG,
32
- T as WebPlayer,
33
+ s as WebPlayer,
33
34
  a as WebPlayerCustomMedia,
34
35
  N as WebPlayerIcon,
35
- R as generateCompositionUrl
36
+ Y as generateCompositionUrl
36
37
  };
package/dist/legacy.cjs CHANGED
@@ -1 +1 @@
1
- "use client";"use strict";var P=Object.create;var C=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var r=Object.getPrototypeOf,t=Object.prototype.hasOwnProperty;var S=(_,T,N,I)=>{if(T&&typeof T=="object"||typeof T=="function")for(let O of V(T))!t.call(_,O)&&O!==N&&C(_,O,{get:()=>T[O],enumerable:!(I=L(T,O))||I.enumerable});return _};var e=(_,T,N)=>(N=_!=null?P(r(_)):{},S(T||!_||!_.__esModule?C(N,"default",{value:_,enumerable:!0}):N,_));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("next/dynamic"),E=require("./utils-BpzJysIS.cjs"),o=A(()=>import("@car-cutter/react-webplayer/legacy").then(_=>_.WebPlayer),{ssr:!1}),s=A(()=>import("@car-cutter/react-webplayer/legacy").then(_=>_.WebPlayerCustomMedia),{ssr:!1}),D=A(()=>import("@car-cutter/react-webplayer/legacy").then(_=>_.WebPlayerIcon),{ssr:!1});exports.ANALYTICS_EVENT_IDENTIFY=E.ANALYTICS_EVENT_IDENTIFY;exports.ANALYTICS_EVENT_PAGE=E.ANALYTICS_EVENT_PAGE;exports.ANALYTICS_EVENT_TRACK=E.ANALYTICS_EVENT_TRACK;exports.DEFAULT_EVENT_PREFIX=E.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=E.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=E.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=E.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=E.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=E.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=E.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=E.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=E.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=E.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=E.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=E.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG;exports.WEB_PLAYER_ICON_WC_TAG=E.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=E.WEB_PLAYER_WC_TAG;exports.generateCompositionUrl=E.generateCompositionUrl;exports.WebPlayer=o;exports.WebPlayerCustomMedia=s;exports.WebPlayerIcon=D;
1
+ "use client";"use strict";var C=Object.create;var L=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var V=Object.getPrototypeOf,r=Object.prototype.hasOwnProperty;var t=(_,T,N,I)=>{if(T&&typeof T=="object"||typeof T=="function")for(let O of S(T))!r.call(_,O)&&O!==N&&L(_,O,{get:()=>T[O],enumerable:!(I=P(T,O))||I.enumerable});return _};var A=(_,T,N)=>(N=_!=null?C(V(_)):{},t(T||!_||!_.__esModule?L(N,"default",{value:_,enumerable:!0}):N,_));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("next/dynamic"),E=require("./utils-Dz2dQmYW.cjs"),R=e(()=>import("@car-cutter/react-webplayer/legacy").then(_=>_.WebPlayer),{ssr:!1}),o=e(()=>import("@car-cutter/react-webplayer/legacy").then(_=>_.WebPlayerCustomMedia),{ssr:!1}),D=e(()=>import("@car-cutter/react-webplayer/legacy").then(_=>_.WebPlayerIcon),{ssr:!1});exports.ANALYTICS_EVENT_DISPLAY=E.ANALYTICS_EVENT_DISPLAY;exports.ANALYTICS_EVENT_ERROR=E.ANALYTICS_EVENT_ERROR;exports.ANALYTICS_EVENT_INTERACTION=E.ANALYTICS_EVENT_INTERACTION;exports.ANALYTICS_EVENT_LOAD=E.ANALYTICS_EVENT_LOAD;exports.DEFAULT_EVENT_PREFIX=E.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=E.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=E.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=E.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=E.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=E.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=E.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=E.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=E.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=E.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=E.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=E.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG;exports.WEB_PLAYER_ICON_WC_TAG=E.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=E.WEB_PLAYER_WC_TAG;exports.generateCompositionUrl=E.generateCompositionUrl;exports.WebPlayer=R;exports.WebPlayerCustomMedia=o;exports.WebPlayerIcon=D;
package/dist/legacy.d.ts CHANGED
@@ -7,11 +7,13 @@ import { WebPlayerIconProps as WebPlayerIconProps_2 } from '@car-cutter/react-we
7
7
  import { WebPlayerProps } from '@car-cutter/react-webplayer';
8
8
  import { WebPlayerProps as WebPlayerProps_2 } from '@car-cutter/react-webplayer/legacy';
9
9
 
10
- export declare const ANALYTICS_EVENT_IDENTIFY = "analytics-identify";
10
+ export declare const ANALYTICS_EVENT_DISPLAY = "analytics-display";
11
11
 
12
- export declare const ANALYTICS_EVENT_PAGE = "analytics-page";
12
+ export declare const ANALYTICS_EVENT_ERROR = "analytics-error";
13
13
 
14
- export declare const ANALYTICS_EVENT_TRACK = "analytics-track";
14
+ export declare const ANALYTICS_EVENT_INTERACTION = "analytics-interaction";
15
+
16
+ export declare const ANALYTICS_EVENT_LOAD = "analytics-load";
15
17
 
16
18
  declare type AspectRatio = `${number}:${number}`;
17
19
 
package/dist/legacy.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import _ from "next/dynamic";
3
- import { A, a as r, b as o, D as I, E as t, c as C, d as P, e as L, f as V, g as n, h as W, i as l, j as D, k as S, W as i, l as m, m as M, n as R } from "./utils-dyeaNVPi.js";
4
- const T = _(
3
+ import { A, a as I, b as o, c as r, D as C, E as L, d as t, e as P, f as V, g as S, h as n, i as D, j as R, k as W, l, W as i, m, n as M, o as Y } from "./utils-WyCmTZH1.js";
4
+ const s = _(
5
5
  () => import("@car-cutter/react-webplayer/legacy").then((E) => E.WebPlayer),
6
6
  { ssr: !1 }
7
7
  ), a = _(
@@ -14,25 +14,26 @@ const T = _(
14
14
  { ssr: !1 }
15
15
  );
16
16
  export {
17
- A as ANALYTICS_EVENT_IDENTIFY,
18
- r as ANALYTICS_EVENT_PAGE,
19
- o as ANALYTICS_EVENT_TRACK,
20
- I as DEFAULT_EVENT_PREFIX,
21
- t as EVENT_COMPOSITION_LOADED,
22
- C as EVENT_COMPOSITION_LOADING,
17
+ A as ANALYTICS_EVENT_DISPLAY,
18
+ I as ANALYTICS_EVENT_ERROR,
19
+ o as ANALYTICS_EVENT_INTERACTION,
20
+ r as ANALYTICS_EVENT_LOAD,
21
+ C as DEFAULT_EVENT_PREFIX,
22
+ L as EVENT_COMPOSITION_LOADED,
23
+ t as EVENT_COMPOSITION_LOADING,
23
24
  P as EVENT_COMPOSITION_LOAD_ERROR,
24
- L as EVENT_EXTEND_MODE_OFF,
25
- V as EVENT_EXTEND_MODE_ON,
25
+ V as EVENT_EXTEND_MODE_OFF,
26
+ S as EVENT_EXTEND_MODE_ON,
26
27
  n as EVENT_GALLERY_CLOSE,
27
- W as EVENT_GALLERY_OPEN,
28
- l as EVENT_HOTSPOTS_OFF,
29
- D as EVENT_HOTSPOTS_ON,
30
- S as EVENT_ITEM_CHANGE,
28
+ D as EVENT_GALLERY_OPEN,
29
+ R as EVENT_HOTSPOTS_OFF,
30
+ W as EVENT_HOTSPOTS_ON,
31
+ l as EVENT_ITEM_CHANGE,
31
32
  i as WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,
32
33
  m as WEB_PLAYER_ICON_WC_TAG,
33
34
  M as WEB_PLAYER_WC_TAG,
34
- T as WebPlayer,
35
+ s as WebPlayer,
35
36
  a as WebPlayerCustomMedia,
36
37
  N as WebPlayerIcon,
37
- R as generateCompositionUrl
38
+ Y as generateCompositionUrl
38
39
  };
@@ -0,0 +1 @@
1
+ "use strict";const T="cc-webplayer",N="cc-webplayer-custom-media",o="cc-webplayer-icon",O="composition-loading",A="composition-loaded",t="composition-load-error",c="item-change",n="extend-mode-on",s="extend-mode-off",I="hotspots-on",L="hotspots-off",e="gallery-open",C="gallery-close",V="analytics-load",S="analytics-display",a="analytics-interaction",R="analytics-error",i="cc-webplayer:";function D(E,_){return`https://cdn.car-cutter.com/gallery/${E}/${_}/composition_v3.json`}exports.ANALYTICS_EVENT_DISPLAY=S;exports.ANALYTICS_EVENT_ERROR=R;exports.ANALYTICS_EVENT_INTERACTION=a;exports.ANALYTICS_EVENT_LOAD=V;exports.DEFAULT_EVENT_PREFIX=i;exports.EVENT_COMPOSITION_LOADED=A;exports.EVENT_COMPOSITION_LOADING=O;exports.EVENT_COMPOSITION_LOAD_ERROR=t;exports.EVENT_EXTEND_MODE_OFF=s;exports.EVENT_EXTEND_MODE_ON=n;exports.EVENT_GALLERY_CLOSE=C;exports.EVENT_GALLERY_OPEN=e;exports.EVENT_HOTSPOTS_OFF=L;exports.EVENT_HOTSPOTS_ON=I;exports.EVENT_ITEM_CHANGE=c;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=N;exports.WEB_PLAYER_ICON_WC_TAG=o;exports.WEB_PLAYER_WC_TAG=T;exports.generateCompositionUrl=D;
@@ -0,0 +1,25 @@
1
+ const s = "cc-webplayer", _ = "cc-webplayer-custom-media", a = "cc-webplayer-icon", c = "composition-loading", t = "composition-loaded", n = "composition-load-error", T = "item-change", e = "extend-mode-on", N = "extend-mode-off", O = "hotspots-on", A = "hotspots-off", i = "gallery-open", l = "gallery-close", r = "analytics-load", I = "analytics-display", L = "analytics-interaction", C = "analytics-error", p = "cc-webplayer:";
2
+ function V(o, E) {
3
+ return `https://cdn.car-cutter.com/gallery/${o}/${E}/composition_v3.json`;
4
+ }
5
+ export {
6
+ I as A,
7
+ p as D,
8
+ t as E,
9
+ _ as W,
10
+ C as a,
11
+ L as b,
12
+ r as c,
13
+ c as d,
14
+ n as e,
15
+ N as f,
16
+ e as g,
17
+ l as h,
18
+ i,
19
+ A as j,
20
+ O as k,
21
+ T as l,
22
+ a as m,
23
+ s as n,
24
+ V as o
25
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@car-cutter/next-webplayer",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "license": "Apache-2.0",
5
5
  "author": {
6
6
  "name": "CarCutter",
@@ -45,7 +45,7 @@
45
45
  "analyze": "vite-bundle-visualizer"
46
46
  },
47
47
  "dependencies": {
48
- "@car-cutter/react-webplayer": "3.1.1"
48
+ "@car-cutter/react-webplayer": "3.1.2"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "next": ">=10"
@@ -53,13 +53,13 @@
53
53
  "devDependencies": {
54
54
  "@car-cutter/eslint-config": "*",
55
55
  "@car-cutter/typescript-config": "*",
56
- "@vitejs/plugin-react": "^4.3.1",
56
+ "@vitejs/plugin-react": "^5.0.0",
57
57
  "browserslist": "^4.23.3",
58
58
  "browserslist-to-esbuild": "^2.1.1",
59
59
  "eslint": "^8.57.0",
60
60
  "rollup-preserve-directives": "^1.1.1",
61
61
  "typescript": "^5.5.4",
62
- "vite": "^5.4.21",
62
+ "vite": "^6.2.0",
63
63
  "vite-bundle-visualizer": "^1.2.1",
64
64
  "vite-plugin-dts": "^4.2.1"
65
65
  },
@@ -1 +0,0 @@
1
- "use strict";const T="cc-webplayer",N="cc-webplayer-custom-media",o="cc-webplayer-icon",O="composition-loading",t="composition-loaded",A="composition-load-error",c="item-change",n="extend-mode-on",s="extend-mode-off",e="hotspots-on",I="hotspots-off",C="gallery-open",L="gallery-close",V="analytics-identify",S="analytics-page",a="analytics-track",i="cc-webplayer:";function D(E,_){return`https://cdn.car-cutter.com/gallery/${E}/${_}/composition_v3.json`}exports.ANALYTICS_EVENT_IDENTIFY=V;exports.ANALYTICS_EVENT_PAGE=S;exports.ANALYTICS_EVENT_TRACK=a;exports.DEFAULT_EVENT_PREFIX=i;exports.EVENT_COMPOSITION_LOADED=t;exports.EVENT_COMPOSITION_LOADING=O;exports.EVENT_COMPOSITION_LOAD_ERROR=A;exports.EVENT_EXTEND_MODE_OFF=s;exports.EVENT_EXTEND_MODE_ON=n;exports.EVENT_GALLERY_CLOSE=L;exports.EVENT_GALLERY_OPEN=C;exports.EVENT_HOTSPOTS_OFF=I;exports.EVENT_HOTSPOTS_ON=e;exports.EVENT_ITEM_CHANGE=c;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=N;exports.WEB_PLAYER_ICON_WC_TAG=o;exports.WEB_PLAYER_WC_TAG=T;exports.generateCompositionUrl=D;
@@ -1,24 +0,0 @@
1
- const s = "cc-webplayer", _ = "cc-webplayer-custom-media", c = "cc-webplayer-icon", t = "composition-loading", a = "composition-loaded", n = "composition-load-error", T = "item-change", e = "extend-mode-on", N = "extend-mode-off", O = "hotspots-on", A = "hotspots-off", i = "gallery-open", l = "gallery-close", r = "analytics-identify", I = "analytics-page", p = "analytics-track", C = "cc-webplayer:";
2
- function L(o, E) {
3
- return `https://cdn.car-cutter.com/gallery/${o}/${E}/composition_v3.json`;
4
- }
5
- export {
6
- r as A,
7
- C as D,
8
- a as E,
9
- _ as W,
10
- I as a,
11
- p as b,
12
- t as c,
13
- n as d,
14
- N as e,
15
- e as f,
16
- l as g,
17
- i as h,
18
- A as i,
19
- O as j,
20
- T as k,
21
- c as l,
22
- s as m,
23
- L as n
24
- };