@storybook/sveltekit 10.1.0-alpha.9 → 10.1.0-beta.1

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.
@@ -0,0 +1,9 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: !0 });
5
+ };
6
+
7
+ export {
8
+ __export
9
+ };
@@ -0,0 +1,34 @@
1
+ import {
2
+ __export
3
+ } from "./chunk-4BE7D4DS.js";
4
+
5
+ // src/preview.ts
6
+ var preview_exports = {};
7
+ __export(preview_exports, {
8
+ beforeEach: () => beforeEach,
9
+ decorators: () => decorators
10
+ });
11
+ import MockProvider from "@storybook/sveltekit/internal/MockProvider.svelte";
12
+ import {
13
+ setAppStateNavigating,
14
+ setAppStatePage,
15
+ setAppStateUpdated
16
+ } from "@storybook/sveltekit/internal/mocks/app/state.svelte.js";
17
+ var svelteKitMocksDecorator = (Story, ctx) => {
18
+ let svelteKitParameters = ctx.parameters?.sveltekit_experimental ?? {};
19
+ return {
20
+ Component: MockProvider,
21
+ props: {
22
+ svelteKitParameters
23
+ }
24
+ };
25
+ }, decorators = [svelteKitMocksDecorator], beforeEach = async (ctx) => {
26
+ let svelteKitParameters = ctx.parameters?.sveltekit_experimental ?? {};
27
+ setAppStatePage(svelteKitParameters?.state?.page), setAppStateNavigating(svelteKitParameters?.state?.navigating), setAppStateUpdated(svelteKitParameters?.state?.updated);
28
+ };
29
+
30
+ export {
31
+ decorators,
32
+ beforeEach,
33
+ preview_exports
34
+ };
@@ -1,23 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_gko2926rw5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gko2926rw5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gko2926rw5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wsjo3x71wv from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wsjo3x71wv from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wsjo3x71wv from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gko2926rw5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gko2926rw5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gko2926rw5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wsjo3x71wv.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wsjo3x71wv.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wsjo3x71wv.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import {
13
- __name
14
- } from "./chunk-BOVMD2S6.js";
15
12
 
16
13
  // src/plugins/mock-sveltekit-stores.ts
17
14
  function mockSveltekitStores() {
18
15
  return {
19
16
  name: "storybook:sveltekit-mock-stores",
20
- config: /* @__PURE__ */ __name(() => ({
17
+ config: () => ({
21
18
  resolve: {
22
19
  alias: {
23
20
  "$app/forms": "@storybook/sveltekit/internal/mocks/app/forms",
@@ -26,10 +23,9 @@ function mockSveltekitStores() {
26
23
  "$app/stores": "@storybook/sveltekit/internal/mocks/app/stores"
27
24
  }
28
25
  }
29
- }), "config")
26
+ })
30
27
  };
31
28
  }
32
- __name(mockSveltekitStores, "mockSveltekitStores");
33
29
 
34
30
  export {
35
31
  mockSveltekitStores
package/dist/index.js CHANGED
@@ -1,9 +1,7 @@
1
1
  import {
2
2
  preview_exports
3
- } from "./_browser-chunks/chunk-Q3EHWMWT.js";
4
- import {
5
- __name
6
- } from "./_browser-chunks/chunk-JFJ5UJ7Q.js";
3
+ } from "./_browser-chunks/chunk-EB5JBDJD.js";
4
+ import "./_browser-chunks/chunk-4BE7D4DS.js";
7
5
 
8
6
  // src/index.ts
9
7
  export * from "@storybook/svelte";
@@ -16,12 +14,10 @@ import {
16
14
  setDefaultProjectAnnotations
17
15
  } from "storybook/preview-api";
18
16
  function setProjectAnnotations(projectAnnotations) {
19
- setDefaultProjectAnnotations(INTERNAL_DEFAULT_PROJECT_ANNOTATIONS);
20
- return originalSetProjectAnnotations(
17
+ return setDefaultProjectAnnotations(INTERNAL_DEFAULT_PROJECT_ANNOTATIONS), originalSetProjectAnnotations(
21
18
  projectAnnotations
22
19
  );
23
20
  }
24
- __name(setProjectAnnotations, "setProjectAnnotations");
25
21
  var INTERNAL_DEFAULT_PROJECT_ANNOTATIONS = composeConfigs([
26
22
  svelteAnnotations,
27
23
  preview_exports
@@ -1,31 +1,24 @@
1
- import {
2
- __name
3
- } from "../../_browser-chunks/chunk-JFJ5UJ7Q.js";
1
+ import "../../_browser-chunks/chunk-4BE7D4DS.js";
4
2
 
5
3
  // src/mocks/app/forms.ts
6
4
  function enhance(form) {
7
- const listener = /* @__PURE__ */ __name((...args) => {
8
- const e = args[0];
9
- e.preventDefault();
10
- const event = new CustomEvent("storybook:enhance", {
5
+ let listener = (...args) => {
6
+ args[0].preventDefault();
7
+ let event = new CustomEvent("storybook:enhance", {
11
8
  detail: args
12
9
  });
13
10
  window.dispatchEvent(event);
14
- }, "listener");
15
- form.addEventListener("submit", listener);
16
- return {
11
+ };
12
+ return form.addEventListener("submit", listener), {
17
13
  destroy() {
18
14
  form.removeEventListener("submit", listener);
19
15
  }
20
16
  };
21
17
  }
22
- __name(enhance, "enhance");
23
18
  function applyAction() {
24
19
  }
25
- __name(applyAction, "applyAction");
26
20
  function deserialize() {
27
21
  }
28
- __name(deserialize, "deserialize");
29
22
  export {
30
23
  applyAction,
31
24
  deserialize,
@@ -1,70 +1,54 @@
1
- import {
2
- __name
3
- } from "../../_browser-chunks/chunk-JFJ5UJ7Q.js";
1
+ import "../../_browser-chunks/chunk-4BE7D4DS.js";
4
2
 
5
3
  // src/mocks/app/navigation.ts
6
4
  import { getContext, onMount, setContext } from "svelte";
7
5
  async function goto(...args) {
8
- const event = new CustomEvent("storybook:goto", {
6
+ let event = new CustomEvent("storybook:goto", {
9
7
  detail: args
10
8
  });
11
9
  window.dispatchEvent(event);
12
10
  }
13
- __name(goto, "goto");
14
11
  function setAfterNavigateArgument(afterNavigateArgs) {
15
12
  setContext("after-navigate-args", afterNavigateArgs);
16
13
  }
17
- __name(setAfterNavigateArgument, "setAfterNavigateArgument");
18
14
  function afterNavigate(cb) {
19
- const argument = getContext("after-navigate-args");
15
+ let argument = getContext("after-navigate-args");
20
16
  onMount(() => {
21
- if (cb && cb instanceof Function) {
22
- cb(argument);
23
- }
17
+ cb && cb instanceof Function && cb(argument);
24
18
  });
25
19
  }
26
- __name(afterNavigate, "afterNavigate");
27
20
  function onNavigate() {
28
21
  }
29
- __name(onNavigate, "onNavigate");
30
22
  function beforeNavigate() {
31
23
  }
32
- __name(beforeNavigate, "beforeNavigate");
33
24
  function disableScrollHandling() {
34
25
  }
35
- __name(disableScrollHandling, "disableScrollHandling");
36
26
  async function invalidate(...args) {
37
- const event = new CustomEvent("storybook:invalidate", {
27
+ let event = new CustomEvent("storybook:invalidate", {
38
28
  detail: args
39
29
  });
40
30
  window.dispatchEvent(event);
41
31
  }
42
- __name(invalidate, "invalidate");
43
32
  async function invalidateAll() {
44
- const event = new CustomEvent("storybook:invalidateAll");
33
+ let event = new CustomEvent("storybook:invalidateAll");
45
34
  window.dispatchEvent(event);
46
35
  }
47
- __name(invalidateAll, "invalidateAll");
48
36
  function preloadCode() {
49
37
  }
50
- __name(preloadCode, "preloadCode");
51
38
  function preloadData() {
52
39
  }
53
- __name(preloadData, "preloadData");
54
40
  async function pushState(...args) {
55
- const event = new CustomEvent("storybook:pushState", {
41
+ let event = new CustomEvent("storybook:pushState", {
56
42
  detail: args
57
43
  });
58
44
  window.dispatchEvent(event);
59
45
  }
60
- __name(pushState, "pushState");
61
46
  async function replaceState(...args) {
62
- const event = new CustomEvent("storybook:replaceState", {
47
+ let event = new CustomEvent("storybook:replaceState", {
63
48
  detail: args
64
49
  });
65
50
  window.dispatchEvent(event);
66
51
  }
67
- __name(replaceState, "replaceState");
68
52
  export {
69
53
  afterNavigate,
70
54
  beforeNavigate,
@@ -1,6 +1,4 @@
1
- import {
2
- __name
3
- } from "../../_browser-chunks/chunk-JFJ5UJ7Q.js";
1
+ import "../../_browser-chunks/chunk-4BE7D4DS.js";
4
2
 
5
3
  // src/mocks/app/stores.ts
6
4
  import { getContext, setContext } from "svelte";
@@ -8,9 +6,8 @@ function createMockedStore(contextName) {
8
6
  return [
9
7
  {
10
8
  subscribe(runner) {
11
- const page2 = getContext(contextName);
12
- runner(page2);
13
- return () => {
9
+ let page2 = getContext(contextName);
10
+ return runner(page2), () => {
14
11
  };
15
12
  }
16
13
  },
@@ -19,10 +16,7 @@ function createMockedStore(contextName) {
19
16
  }
20
17
  ];
21
18
  }
22
- __name(createMockedStore, "createMockedStore");
23
- var [page, setAppStoresPage] = createMockedStore("page-ctx");
24
- var [navigating, setAppStoresNavigating] = createMockedStore("navigating-ctx");
25
- var [updated, setAppStoresUpdated] = createMockedStore("updated-ctx");
19
+ var [page, setAppStoresPage] = createMockedStore("page-ctx"), [navigating, setAppStoresNavigating] = createMockedStore("navigating-ctx"), [updated, setAppStoresUpdated] = createMockedStore("updated-ctx");
26
20
  updated.check = () => {
27
21
  };
28
22
  function getStores() {
@@ -32,7 +26,6 @@ function getStores() {
32
26
  updated
33
27
  };
34
28
  }
35
- __name(getStores, "getStores");
36
29
  export {
37
30
  getStores,
38
31
  navigating,
@@ -1,23 +1,19 @@
1
- import CJS_COMPAT_NODE_URL_gko2926rw5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gko2926rw5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gko2926rw5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wsjo3x71wv from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wsjo3x71wv from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wsjo3x71wv from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gko2926rw5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gko2926rw5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gko2926rw5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wsjo3x71wv.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wsjo3x71wv.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wsjo3x71wv.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import {
13
- __name
14
- } from "../_node-chunks/chunk-BOVMD2S6.js";
15
12
 
16
13
  // src/node/index.ts
17
14
  function defineMain(config) {
18
15
  return config;
19
16
  }
20
- __name(defineMain, "defineMain");
21
17
  export {
22
18
  defineMain
23
19
  };
package/dist/preset.js CHANGED
@@ -1,20 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_gko2926rw5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gko2926rw5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gko2926rw5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wsjo3x71wv from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wsjo3x71wv from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wsjo3x71wv from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gko2926rw5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gko2926rw5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gko2926rw5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wsjo3x71wv.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wsjo3x71wv.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wsjo3x71wv.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  mockSveltekitStores
14
- } from "./_node-chunks/chunk-EFHCFWOK.js";
15
- import {
16
- __name
17
- } from "./_node-chunks/chunk-BOVMD2S6.js";
14
+ } from "./_node-chunks/chunk-WXJKULSD.js";
18
15
 
19
16
  // src/preset.ts
20
17
  import { fileURLToPath } from "node:url";
@@ -27,24 +24,19 @@ function configOverrides() {
27
24
  // SvelteKit sets SSR, we need it to be false when building
28
25
  name: "storybook:sveltekit-overrides",
29
26
  apply: "build",
30
- config: /* @__PURE__ */ __name(() => {
31
- return { build: { ssr: false } };
32
- }, "config")
27
+ config: () => ({ build: { ssr: !1 } })
33
28
  };
34
29
  }
35
- __name(configOverrides, "configOverrides");
36
30
 
37
31
  // src/preset.ts
38
32
  var core = {
39
33
  builder: import.meta.resolve("@storybook/builder-vite"),
40
34
  renderer: import.meta.resolve("@storybook/svelte/preset")
41
- };
42
- var previewAnnotations = /* @__PURE__ */ __name((entry = []) => [
35
+ }, previewAnnotations = (entry = []) => [
43
36
  ...entry,
44
37
  fileURLToPath(import.meta.resolve("@storybook/sveltekit/preview"))
45
- ], "previewAnnotations");
46
- var viteFinal = /* @__PURE__ */ __name(async (config, options) => {
47
- const baseConfig = await svelteViteFinal(config, options);
38
+ ], viteFinal = async (config, options) => {
39
+ let baseConfig = await svelteViteFinal(config, options);
48
40
  return {
49
41
  ...baseConfig,
50
42
  plugins: [
@@ -57,8 +49,7 @@ var viteFinal = /* @__PURE__ */ __name(async (config, options) => {
57
49
  mockSveltekitStores()
58
50
  ]
59
51
  };
60
- }, "viteFinal");
61
- var optimizeViteDeps = [
52
+ }, optimizeViteDeps = [
62
53
  "@storybook/sveltekit/internal/mocks/app/forms",
63
54
  "@storybook/sveltekit/internal/mocks/app/navigation",
64
55
  "@storybook/sveltekit/internal/mocks/app/stores",
package/dist/preview.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  beforeEach,
3
3
  decorators
4
- } from "./_browser-chunks/chunk-Q3EHWMWT.js";
5
- import "./_browser-chunks/chunk-JFJ5UJ7Q.js";
4
+ } from "./_browser-chunks/chunk-EB5JBDJD.js";
5
+ import "./_browser-chunks/chunk-4BE7D4DS.js";
6
6
  export {
7
7
  beforeEach,
8
8
  decorators
@@ -1,25 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_gko2926rw5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gko2926rw5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gko2926rw5h from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wsjo3x71wv from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wsjo3x71wv from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wsjo3x71wv from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gko2926rw5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gko2926rw5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gko2926rw5h.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wsjo3x71wv.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wsjo3x71wv.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wsjo3x71wv.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  mockSveltekitStores
14
- } from "./_node-chunks/chunk-EFHCFWOK.js";
15
- import {
16
- __name
17
- } from "./_node-chunks/chunk-BOVMD2S6.js";
14
+ } from "./_node-chunks/chunk-WXJKULSD.js";
18
15
 
19
16
  // src/vite-plugin.ts
20
- var storybookSveltekitPlugin = /* @__PURE__ */ __name(() => {
21
- return [mockSveltekitStores()];
22
- }, "storybookSveltekitPlugin");
17
+ var storybookSveltekitPlugin = () => [mockSveltekitStores()];
23
18
  export {
24
19
  storybookSveltekitPlugin
25
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/sveltekit",
3
- "version": "10.1.0-alpha.9",
3
+ "version": "10.1.0-beta.1",
4
4
  "description": "Storybook for SvelteKit: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -59,9 +59,9 @@
59
59
  "prep": "jiti ../../../scripts/build/build-package.ts"
60
60
  },
61
61
  "dependencies": {
62
- "@storybook/builder-vite": "10.1.0-alpha.9",
63
- "@storybook/svelte": "10.1.0-alpha.9",
64
- "@storybook/svelte-vite": "10.1.0-alpha.9"
62
+ "@storybook/builder-vite": "10.1.0-beta.1",
63
+ "@storybook/svelte": "10.1.0-beta.1",
64
+ "@storybook/svelte-vite": "10.1.0-beta.1"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/node": "^22.0.0",
@@ -69,12 +69,12 @@
69
69
  "vite": "^7.0.4"
70
70
  },
71
71
  "peerDependencies": {
72
- "storybook": "^10.1.0-alpha.9",
72
+ "storybook": "^10.1.0-beta.1",
73
73
  "svelte": "^5.0.0",
74
74
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  },
79
- "gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae16"
79
+ "gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae1l"
80
80
  }
@@ -1,11 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- var __export = (target, all) => {
4
- for (var name in all)
5
- __defProp(target, name, { get: all[name], enumerable: true });
6
- };
7
-
8
- export {
9
- __name,
10
- __export
11
- };
@@ -1,39 +0,0 @@
1
- import {
2
- __export,
3
- __name
4
- } from "./chunk-JFJ5UJ7Q.js";
5
-
6
- // src/preview.ts
7
- var preview_exports = {};
8
- __export(preview_exports, {
9
- beforeEach: () => beforeEach,
10
- decorators: () => decorators
11
- });
12
- import MockProvider from "@storybook/sveltekit/internal/MockProvider.svelte";
13
- import {
14
- setAppStateNavigating,
15
- setAppStatePage,
16
- setAppStateUpdated
17
- } from "@storybook/sveltekit/internal/mocks/app/state.svelte.js";
18
- var svelteKitMocksDecorator = /* @__PURE__ */ __name((Story, ctx) => {
19
- const svelteKitParameters = ctx.parameters?.sveltekit_experimental ?? {};
20
- return {
21
- Component: MockProvider,
22
- props: {
23
- svelteKitParameters
24
- }
25
- };
26
- }, "svelteKitMocksDecorator");
27
- var decorators = [svelteKitMocksDecorator];
28
- var beforeEach = /* @__PURE__ */ __name(async (ctx) => {
29
- const svelteKitParameters = ctx.parameters?.sveltekit_experimental ?? {};
30
- setAppStatePage(svelteKitParameters?.state?.page);
31
- setAppStateNavigating(svelteKitParameters?.state?.navigating);
32
- setAppStateUpdated(svelteKitParameters?.state?.updated);
33
- }, "beforeEach");
34
-
35
- export {
36
- decorators,
37
- beforeEach,
38
- preview_exports
39
- };
@@ -1,17 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_gko2926rw5h from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gko2926rw5h from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gko2926rw5h from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_gko2926rw5h.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gko2926rw5h.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gko2926rw5h.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- var __defProp = Object.defineProperty;
13
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
14
-
15
- export {
16
- __name
17
- };